var EntryScapeRegistry;
/******/ (() => { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({

/***/ "./node_modules/.pnpm/@date-io+moment@2.17.0_moment@2.30.1/node_modules/@date-io/moment/build/index.esm.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@date-io+moment@2.17.0_moment@2.30.1/node_modules/@date-io/moment/build/index.esm.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ MomentUtils)
/* harmony export */ });
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);


const defaultFormats = {
    normalDateWithWeekday: "ddd, MMM D",
    normalDate: "D MMMM",
    shortDate: "MMM D",
    monthAndDate: "MMMM D",
    dayOfMonth: "D",
    year: "YYYY",
    month: "MMMM",
    monthShort: "MMM",
    monthAndYear: "MMMM YYYY",
    weekday: "dddd",
    weekdayShort: "ddd",
    minutes: "mm",
    hours12h: "hh",
    hours24h: "HH",
    seconds: "ss",
    fullTime: "LT",
    fullTime12h: "hh:mm A",
    fullTime24h: "HH:mm",
    fullDate: "ll",
    fullDateWithWeekday: "dddd, LL",
    fullDateTime: "lll",
    fullDateTime12h: "ll hh:mm A",
    fullDateTime24h: "ll HH:mm",
    keyboardDate: "L",
    keyboardDateTime: "L LT",
    keyboardDateTime12h: "L hh:mm A",
    keyboardDateTime24h: "L HH:mm",
};
class MomentUtils {
    constructor({ locale, formats, instance } = {}) {
        this.lib = "moment";
        this.is12HourCycleInCurrentLocale = () => {
            return /A|a/.test(this.moment.localeData(this.getCurrentLocaleCode()).longDateFormat("LT"));
        };
        this.getFormatHelperText = (format) => {
            var _a, _b;
            // @see https://github.com/moment/moment/blob/develop/src/lib/format/format.js#L6
            const localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g;
            return ((_b = (_a = format
                .match(localFormattingTokens)) === null || _a === void 0 ? void 0 : _a.map((token) => {
                const firstCharacter = token[0];
                if (firstCharacter === "L" || firstCharacter === ";") {
                    return this.moment
                        .localeData(this.getCurrentLocaleCode())
                        .longDateFormat(token);
                }
                return token;
            }).join("").replace(/a/gi, "(a|p)m").toLocaleLowerCase()) !== null && _b !== void 0 ? _b : format);
        };
        this.getCurrentLocaleCode = () => {
            return this.locale || this.moment.locale();
        };
        this.parseISO = (isoString) => {
            return this.moment(isoString, true);
        };
        this.toISO = (value) => {
            return value.toISOString();
        };
        this.parse = (value, format) => {
            if (value === "") {
                return null;
            }
            if (this.locale) {
                return this.moment(value, format, this.locale, true);
            }
            return this.moment(value, format, true);
        };
        this.date = (value) => {
            if (value === null) {
                return null;
            }
            const moment = this.moment(value);
            if (this.locale) {
                moment.locale(this.locale);
            }
            return moment;
        };
        this.toJsDate = (value) => {
            return value.toDate();
        };
        this.isValid = (value) => {
            return this.moment(value).isValid();
        };
        this.isNull = (date) => {
            return date === null;
        };
        this.getDiff = (date, comparing, unit) => {
            if (!this.moment(comparing).isValid()) {
                return 0;
            }
            return date.diff(comparing, unit);
        };
        this.isAfter = (date, value) => {
            return date.isAfter(value);
        };
        this.isBefore = (date, value) => {
            return date.isBefore(value);
        };
        this.isAfterDay = (date, value) => {
            return date.isAfter(value, "day");
        };
        this.isBeforeDay = (date, value) => {
            return date.isBefore(value, "day");
        };
        this.isBeforeMonth = (date, value) => {
            return date.isBefore(value, "month");
        };
        this.isAfterMonth = (date, value) => {
            return date.isAfter(value, "month");
        };
        this.isBeforeYear = (date, value) => {
            return date.isBefore(value, "year");
        };
        this.isAfterYear = (date, value) => {
            return date.isAfter(value, "year");
        };
        this.startOfDay = (date) => {
            return date.clone().startOf("day");
        };
        this.endOfDay = (date) => {
            return date.clone().endOf("day");
        };
        this.format = (date, formatKey) => {
            return this.formatByString(date, this.formats[formatKey]);
        };
        this.formatByString = (date, formatString) => {
            const clonedDate = date.clone();
            if (this.locale) {
                clonedDate.locale(this.locale);
            }
            return clonedDate.format(formatString);
        };
        this.formatNumber = (numberToFormat) => {
            return numberToFormat;
        };
        this.getHours = (date) => {
            return date.get("hours");
        };
        this.addSeconds = (date, count) => {
            return count < 0
                ? date.clone().subtract(Math.abs(count), "seconds")
                : date.clone().add(count, "seconds");
        };
        this.addMinutes = (date, count) => {
            return count < 0
                ? date.clone().subtract(Math.abs(count), "minutes")
                : date.clone().add(count, "minutes");
        };
        this.addHours = (date, count) => {
            return count < 0
                ? date.clone().subtract(Math.abs(count), "hours")
                : date.clone().add(count, "hours");
        };
        this.addDays = (date, count) => {
            return count < 0
                ? date.clone().subtract(Math.abs(count), "days")
                : date.clone().add(count, "days");
        };
        this.addWeeks = (date, count) => {
            return count < 0
                ? date.clone().subtract(Math.abs(count), "weeks")
                : date.clone().add(count, "weeks");
        };
        this.addMonths = (date, count) => {
            return count < 0
                ? date.clone().subtract(Math.abs(count), "months")
                : date.clone().add(count, "months");
        };
        this.addYears = (date, count) => {
            return count < 0
                ? date.clone().subtract(Math.abs(count), "years")
                : date.clone().add(count, "years");
        };
        this.setHours = (date, count) => {
            return date.clone().hours(count);
        };
        this.getMinutes = (date) => {
            return date.get("minutes");
        };
        this.setMinutes = (date, count) => {
            return date.clone().minutes(count);
        };
        this.getSeconds = (date) => {
            return date.get("seconds");
        };
        this.setSeconds = (date, count) => {
            return date.clone().seconds(count);
        };
        this.getMonth = (date) => {
            return date.get("month");
        };
        this.getDaysInMonth = (date) => {
            return date.daysInMonth();
        };
        this.isSameDay = (date, comparing) => {
            return date.isSame(comparing, "day");
        };
        this.isSameMonth = (date, comparing) => {
            return date.isSame(comparing, "month");
        };
        this.isSameYear = (date, comparing) => {
            return date.isSame(comparing, "year");
        };
        this.isSameHour = (date, comparing) => {
            return date.isSame(comparing, "hour");
        };
        this.setMonth = (date, count) => {
            return date.clone().month(count);
        };
        this.getMeridiemText = (ampm) => {
            if (this.is12HourCycleInCurrentLocale()) {
                // AM/PM translation only possible in those who have 12 hour cycle in locale.
                return this.moment
                    .localeData(this.getCurrentLocaleCode())
                    .meridiem(ampm === "am" ? 0 : 13, 0, false);
            }
            return ampm === "am" ? "AM" : "PM"; // fallback for de, ru, ...etc
        };
        this.startOfYear = (date) => {
            return date.clone().startOf("year");
        };
        this.endOfYear = (date) => {
            return date.clone().endOf("year");
        };
        this.startOfMonth = (date) => {
            return date.clone().startOf("month");
        };
        this.endOfMonth = (date) => {
            return date.clone().endOf("month");
        };
        this.startOfWeek = (date) => {
            return date.clone().startOf("week");
        };
        this.endOfWeek = (date) => {
            return date.clone().endOf("week");
        };
        this.getNextMonth = (date) => {
            return date.clone().add(1, "month");
        };
        this.getPreviousMonth = (date) => {
            return date.clone().subtract(1, "month");
        };
        this.getMonthArray = (date) => {
            const firstMonth = date.clone().startOf("year");
            const monthArray = [firstMonth];
            while (monthArray.length < 12) {
                const prevMonth = monthArray[monthArray.length - 1];
                monthArray.push(this.getNextMonth(prevMonth));
            }
            return monthArray;
        };
        this.getYear = (date) => {
            return date.get("year");
        };
        this.setYear = (date, year) => {
            return date.clone().set("year", year);
        };
        this.getDate = (date) => {
            return date.get("date");
        };
        this.setDate = (date, year) => {
            return date.clone().set("date", year);
        };
        this.mergeDateAndTime = (date, time) => {
            return date.hour(time.hour()).minute(time.minute()).second(time.second());
        };
        this.getWeekdays = () => {
            return this.moment.weekdaysShort(true);
        };
        this.isEqual = (value, comparing) => {
            if (value === null && comparing === null) {
                return true;
            }
            return this.moment(value).isSame(comparing);
        };
        this.getWeekArray = (date) => {
            const start = date.clone().startOf("month").startOf("week");
            const end = date.clone().endOf("month").endOf("week");
            let count = 0;
            let current = start;
            const nestedWeeks = [];
            while (current.isBefore(end)) {
                const weekNumber = Math.floor(count / 7);
                nestedWeeks[weekNumber] = nestedWeeks[weekNumber] || [];
                nestedWeeks[weekNumber].push(current);
                current = current.clone().add(1, "day");
                count += 1;
            }
            return nestedWeeks;
        };
        this.getYearRange = (start, end) => {
            const startDate = this.moment(start).startOf("year");
            const endDate = this.moment(end).endOf("year");
            const years = [];
            let current = startDate;
            while (current.isBefore(endDate)) {
                years.push(current);
                current = current.clone().add(1, "year");
            }
            return years;
        };
        this.isWithinRange = (date, [start, end]) => {
            return date.isBetween(start, end, null, "[]");
        };
        this.moment = instance || (moment__WEBPACK_IMPORTED_MODULE_0___default());
        this.locale = locale;
        this.formats = Object.assign({}, defaultFormats, formats);
    }
}




/***/ },

/***/ "./node_modules/.pnpm/@emotion+cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js"
/*!*****************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js ***!
  \*****************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createCache)
/* harmony export */ });
/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js");
/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! stylis */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js");
/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! stylis */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js");
/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! stylis */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js");
/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! stylis */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js");
/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! stylis */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js");
/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! stylis */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js");
/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/.pnpm/@emotion+weak-memoize@0.4.0/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js");
/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js");





var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
  var previous = 0;
  var character = 0;

  while (true) {
    previous = character;
    character = (0,stylis__WEBPACK_IMPORTED_MODULE_4__.peek)(); // &\f

    if (previous === 38 && character === 12) {
      points[index] = 1;
    }

    if ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.token)(character)) {
      break;
    }

    (0,stylis__WEBPACK_IMPORTED_MODULE_4__.next)();
  }

  return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.slice)(begin, stylis__WEBPACK_IMPORTED_MODULE_4__.position);
};

var toRules = function toRules(parsed, points) {
  // pretend we've started with a comma
  var index = -1;
  var character = 44;

  do {
    switch ((0,stylis__WEBPACK_IMPORTED_MODULE_4__.token)(character)) {
      case 0:
        // &\f
        if (character === 38 && (0,stylis__WEBPACK_IMPORTED_MODULE_4__.peek)() === 12) {
          // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
          // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
          // and when it should just concatenate the outer and inner selectors
          // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
          points[index] = 1;
        }

        parsed[index] += identifierWithPointTracking(stylis__WEBPACK_IMPORTED_MODULE_4__.position - 1, points, index);
        break;

      case 2:
        parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_4__.delimit)(character);
        break;

      case 4:
        // comma
        if (character === 44) {
          // colon
          parsed[++index] = (0,stylis__WEBPACK_IMPORTED_MODULE_4__.peek)() === 58 ? '&\f' : '';
          points[index] = parsed[index].length;
          break;
        }

      // fallthrough

      default:
        parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_2__.from)(character);
    }
  } while (character = (0,stylis__WEBPACK_IMPORTED_MODULE_4__.next)());

  return parsed;
};

var getRules = function getRules(value, points) {
  return (0,stylis__WEBPACK_IMPORTED_MODULE_4__.dealloc)(toRules((0,stylis__WEBPACK_IMPORTED_MODULE_4__.alloc)(value), points));
}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11


var fixedElements = /* #__PURE__ */new WeakMap();
var compat = function compat(element) {
  if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
  // negative .length indicates that this rule has been already prefixed
  element.length < 1) {
    return;
  }

  var value = element.value;
  var parent = element.parent;
  var isImplicitRule = element.column === parent.column && element.line === parent.line;

  while (parent.type !== 'rule') {
    parent = parent.parent;
    if (!parent) return;
  } // short-circuit for the simplest case


  if (element.props.length === 1 && value.charCodeAt(0) !== 58
  /* colon */
  && !fixedElements.get(parent)) {
    return;
  } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
  // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"


  if (isImplicitRule) {
    return;
  }

  fixedElements.set(element, true);
  var points = [];
  var rules = getRules(value, points);
  var parentRules = parent.props;

  for (var i = 0, k = 0; i < rules.length; i++) {
    for (var j = 0; j < parentRules.length; j++, k++) {
      element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
    }
  }
};
var removeLabel = function removeLabel(element) {
  if (element.type === 'decl') {
    var value = element.value;

    if ( // charcode for l
    value.charCodeAt(0) === 108 && // charcode for b
    value.charCodeAt(2) === 98) {
      // this ignores label
      element["return"] = '';
      element.value = '';
    }
  }
};
var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';

var isIgnoringComment = function isIgnoringComment(element) {
  return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
};

var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
  return function (element, index, children) {
    if (element.type !== 'rule' || cache.compat) return;
    var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);

    if (unsafePseudoClasses) {
      var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
      //
      // considering this input:
      // .a {
      //   .b /* comm */ {}
      //   color: hotpink;
      // }
      // we get output corresponding to this:
      // .a {
      //   & {
      //     /* comm */
      //     color: hotpink;
      //   }
      //   .b {}
      // }

      var commentContainer = isNested ? element.parent.children : // global rule at the root level
      children;

      for (var i = commentContainer.length - 1; i >= 0; i--) {
        var node = commentContainer[i];

        if (node.line < element.line) {
          break;
        } // it is quite weird but comments are *usually* put at `column: element.column - 1`
        // so we seek *from the end* for the node that is earlier than the rule's `element` and check that
        // this will also match inputs like this:
        // .a {
        //   /* comm */
        //   .b {}
        // }
        //
        // but that is fine
        //
        // it would be the easiest to change the placement of the comment to be the first child of the rule:
        // .a {
        //   .b { /* comm */ }
        // }
        // with such inputs we wouldn't have to search for the comment at all
        // TODO: consider changing this comment placement in the next major version


        if (node.column < element.column) {
          if (isIgnoringComment(node)) {
            return;
          }

          break;
        }
      }

      unsafePseudoClasses.forEach(function (unsafePseudoClass) {
        console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
      });
    }
  };
};

var isImportRule = function isImportRule(element) {
  return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
};

var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
  for (var i = index - 1; i >= 0; i--) {
    if (!isImportRule(children[i])) {
      return true;
    }
  }

  return false;
}; // use this to remove incorrect elements from further processing
// so they don't get handed to the `sheet` (or anything else)
// as that could potentially lead to additional logs which in turn could be overhelming to the user


var nullifyElement = function nullifyElement(element) {
  element.type = '';
  element.value = '';
  element["return"] = '';
  element.children = '';
  element.props = '';
};

var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
  if (!isImportRule(element)) {
    return;
  }

  if (element.parent) {
    console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
    nullifyElement(element);
  } else if (isPrependedWithRegularRules(index, children)) {
    console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
    nullifyElement(element);
  }
};

/* eslint-disable no-fallthrough */

function prefix(value, length) {
  switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.hash)(value, length)) {
    // color-adjust
    case 5103:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'print-' + value + value;
    // 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 stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value;
    // appearance, user-select, transform, hyphens, text-size-adjust

    case 5349:
    case 4246:
    case 4810:
    case 6968:
    case 2756:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + value + value;
    // flex, flex-direction

    case 6828:
    case 4268:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + value + value;
    // order

    case 6165:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-' + value + value;
    // align-items

    case 5187:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(\w+).+(:[^]+)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-$1$2' + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-$1$2') + value;
    // align-self

    case 5443:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-item-' + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /flex-|-self/, '') + value;
    // align-content

    case 4675:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-line-pack' + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /align-content|flex-|-self/, '') + value;
    // flex-shrink

    case 5548:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'shrink', 'negative') + value;
    // flex-basis

    case 5292:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'basis', 'preferred-size') + value;
    // flex-grow

    case 6060:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-' + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, '-grow', '') + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'grow', 'positive') + value;
    // transition

    case 4554:
      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /([^-])(transform)/g, '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2') + value;
    // cursor

    case 6187:
      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(zoom-|grab)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), /(image-set)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), value, '') + value;
    // background, background-image

    case 5495:
    case 3959:
      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(image-set\([^]*)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1' + '$`$1');
    // justify-content

    case 4968:
      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+:)(flex-)?(.*)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-pack:$3' + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value;
    // (margin|padding)-inline-(start|end)

    case 4095:
    case 3583:
    case 4068:
    case 2532:
      return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+)-inline(.+)/, stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1$2') + value;
    // (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:
      // stretch, max-content, min-content, fill-available
      if ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.strlen)(value) - 1 - length > 6) switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 1)) {
        // (m)ax-content, (m)in-content
        case 109:
          // -
          if ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 4) !== 45) break;
        // (f)ill-available, (f)it-content

        case 102:
          return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2-$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
        // (s)tretch

        case 115:
          return ~(0,stylis__WEBPACK_IMPORTED_MODULE_2__.indexof)(value, 'stretch') ? prefix((0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, 'stretch', 'fill-available'), length) + value : value;
      }
      break;
    // position: sticky

    case 4949:
      // (s)ticky?
      if ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 1) !== 115) break;
    // display: (flex|inline-flex)

    case 6444:
      switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, (0,stylis__WEBPACK_IMPORTED_MODULE_2__.strlen)(value) - 3 - (~(0,stylis__WEBPACK_IMPORTED_MODULE_2__.indexof)(value, '!important') && 10))) {
        // stic(k)y
        case 107:
          return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, ':', ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT) + value;
        // (inline-)?fl(e)x

        case 101:
          return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2$3' + '$1' + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + '$2box$3') + value;
      }

      break;
    // writing-mode

    case 5936:
      switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.charat)(value, length + 11)) {
        // vertical-l(r)
        case 114:
          return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
        // vertical-r(l)

        case 108:
          return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
        // horizontal(-)tb

        case 45:
          return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
      }

      return stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + stylis__WEBPACK_IMPORTED_MODULE_1__.MS + value + value;
  }

  return value;
}

var prefixer = function prefixer(element, index, children, callback) {
  if (element.length > -1) if (!element["return"]) switch (element.type) {
    case stylis__WEBPACK_IMPORTED_MODULE_1__.DECLARATION:
      element["return"] = prefix(element.value, element.length);
      break;

    case stylis__WEBPACK_IMPORTED_MODULE_1__.KEYFRAMES:
      return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
        value: (0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(element.value, '@', '@' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT)
      })], callback);

    case stylis__WEBPACK_IMPORTED_MODULE_1__.RULESET:
      if (element.length) return (0,stylis__WEBPACK_IMPORTED_MODULE_2__.combine)(element.props, function (value) {
        switch ((0,stylis__WEBPACK_IMPORTED_MODULE_2__.match)(value, /(::plac\w+|:read-\w+)/)) {
          // :read-(only|write)
          case ':read-only':
          case ':read-write':
            return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(read-\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1')]
            })], callback);
          // :placeholder

          case '::placeholder':
            return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)([(0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'input-$1')]
            }), (0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(plac\w+)/, ':' + stylis__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1')]
            }), (0,stylis__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {
              props: [(0,stylis__WEBPACK_IMPORTED_MODULE_2__.replace)(value, /:(plac\w+)/, stylis__WEBPACK_IMPORTED_MODULE_1__.MS + 'input-$1')]
            })], callback);
        }

        return '';
      });
  }
};

var defaultStylisPlugins = [prefixer];
var getSourceMap;

{
  var sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;

  getSourceMap = function getSourceMap(styles) {
    var matches = styles.match(sourceMapPattern);
    if (!matches) return;
    return matches[matches.length - 1];
  };
}

var createCache = function createCache(options) {
  var key = options.key;

  if (!key) {
    throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
  }

  if (key === 'css') {
    var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
    // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
    // note this very very intentionally targets all style elements regardless of the key to ensure
    // that creating a cache works inside of render of a React component

    Array.prototype.forEach.call(ssrStyles, function (node) {
      // we want to only move elements which have a space in the data-emotion attribute value
      // because that indicates that it is an Emotion 11 server-side rendered style elements
      // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
      // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
      // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
      // will not result in the Emotion 10 styles being destroyed
      var dataEmotionAttribute = node.getAttribute('data-emotion');

      if (dataEmotionAttribute.indexOf(' ') === -1) {
        return;
      }

      document.head.appendChild(node);
      node.setAttribute('data-s', '');
    });
  }

  var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;

  {
    if (/[^a-z-]/.test(key)) {
      throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
    }
  }

  var inserted = {};
  var container;
  var nodesToHydrate = [];

  {
    container = options.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^=\"" + key + " \"]"), function (node) {
      var attrib = node.getAttribute("data-emotion").split(' ');

      for (var i = 1; i < attrib.length; i++) {
        inserted[attrib[i]] = true;
      }

      nodesToHydrate.push(node);
    });
  }

  var _insert;

  var omnipresentPlugins = [compat, removeLabel];

  {
    omnipresentPlugins.push(createUnsafeSelectorsAlarm({
      get compat() {
        return cache.compat;
      }

    }), incorrectImportAlarm);
  }

  {
    var currentSheet;
    var finalizingPlugins = [stylis__WEBPACK_IMPORTED_MODULE_5__.stringify, function (element) {
      if (!element.root) {
        if (element["return"]) {
          currentSheet.insert(element["return"]);
        } else if (element.value && element.type !== stylis__WEBPACK_IMPORTED_MODULE_1__.COMMENT) {
          // insert empty rule in non-production environments
          // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
          currentSheet.insert(element.value + "{}");
        }
      }
    } ];
    var serializer = (0,stylis__WEBPACK_IMPORTED_MODULE_6__.middleware)(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));

    var stylis = function stylis(styles) {
      return (0,stylis__WEBPACK_IMPORTED_MODULE_5__.serialize)((0,stylis__WEBPACK_IMPORTED_MODULE_3__.compile)(styles), serializer);
    };

    _insert = function insert(selector, serialized, sheet, shouldCache) {
      currentSheet = sheet;

      if (getSourceMap) {
        var sourceMap = getSourceMap(serialized.styles);

        if (sourceMap) {
          currentSheet = {
            insert: function insert(rule) {
              sheet.insert(rule + sourceMap);
            }
          };
        }
      }

      stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);

      if (shouldCache) {
        cache.inserted[serialized.name] = true;
      }
    };
  }

  var cache = {
    key: key,
    sheet: new _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__.StyleSheet({
      key: key,
      container: container,
      nonce: options.nonce,
      speedy: options.speedy,
      prepend: options.prepend,
      insertionPoint: options.insertionPoint
    }),
    nonce: options.nonce,
    inserted: inserted,
    registered: {},
    insert: _insert
  };
  cache.sheet.hydrate(nodesToHydrate);
  return cache;
};




/***/ },

/***/ "./node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ murmur2)
/* harmony export */ });
/* eslint-disable */
// Inspired by https://github.com/garycourt/murmurhash-js
// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
function murmur2(str) {
  // 'm' and 'r' are mixing constants generated offline.
  // They're not really 'magic', they just happen to work well.
  // const m = 0x5bd1e995;
  // const r = 24;
  // Initialize the hash
  var h = 0; // Mix 4 bytes at a time into the hash

  var k,
      i = 0,
      len = str.length;

  for (; len >= 4; ++i, len -= 4) {
    k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
    k =
    /* Math.imul(k, m): */
    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
    k ^=
    /* k >>> r: */
    k >>> 24;
    h =
    /* Math.imul(k, m): */
    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
    /* Math.imul(h, m): */
    (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
  } // Handle the last few bytes of the input array


  switch (len) {
    case 3:
      h ^= (str.charCodeAt(i + 2) & 0xff) << 16;

    case 2:
      h ^= (str.charCodeAt(i + 1) & 0xff) << 8;

    case 1:
      h ^= str.charCodeAt(i) & 0xff;
      h =
      /* Math.imul(h, m): */
      (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
  } // Do a few final mixes of the hash to ensure the last few
  // bytes are well-incorporated.


  h ^= h >>> 13;
  h =
  /* Math.imul(h, m): */
  (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
  return ((h ^ h >>> 15) >>> 0).toString(36);
}




/***/ },

/***/ "./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"
/*!*******************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js ***!
  \*******************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isPropValid)
/* harmony export */ });
/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js");


// eslint-disable-next-line no-undef
var reactPropsRegex = /^((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|popover|popoverTarget|popoverTargetAction|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)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23

var isPropValid = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__["default"])(function (prop) {
  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
  /* o */
  && prop.charCodeAt(1) === 110
  /* n */
  && prop.charCodeAt(2) < 91;
}
/* Z+1 */
);




/***/ },

/***/ "./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ memoize)
/* harmony export */ });
function memoize(fn) {
  var cache = Object.create(null);
  return function (arg) {
    if (cache[arg] === undefined) cache[arg] = fn(arg);
    return cache[arg];
  };
}




/***/ },

/***/ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js"
/*!*********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js ***!
  \*********************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ hoistNonReactStatics)
/* harmony export */ });
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__);


// this file isolates this package that is not tree-shakeable
// and if this module doesn't actually contain any logic of its own
// then Rollup just use 'hoist-non-react-statics' directly in other chunks

var hoistNonReactStatics = (function (targetComponent, sourceComponent) {
  return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default()(targetComponent, sourceComponent);
});




/***/ },

/***/ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js"
/*!**************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js ***!
  \**************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   C: () => (/* binding */ CacheProvider),
/* harmony export */   E: () => (/* binding */ Emotion$1),
/* harmony export */   T: () => (/* binding */ ThemeContext),
/* harmony export */   _: () => (/* binding */ __unsafe_useEmotionCache),
/* harmony export */   a: () => (/* binding */ ThemeProvider),
/* harmony export */   b: () => (/* binding */ withTheme),
/* harmony export */   c: () => (/* binding */ createEmotionProps),
/* harmony export */   h: () => (/* binding */ hasOwn),
/* harmony export */   u: () => (/* binding */ useTheme),
/* harmony export */   w: () => (/* binding */ withEmotionCache)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/.pnpm/@emotion+cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/.pnpm/@emotion+weak-memoize@0.4.0/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js");
/* harmony import */ var _isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js");
/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");










var EmotionCacheContext = /* #__PURE__ */react__WEBPACK_IMPORTED_MODULE_0__.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 !== 'undefined' ? /* #__PURE__ */(0,_emotion_cache__WEBPACK_IMPORTED_MODULE_1__["default"])({
  key: 'css'
}) : null);

{
  EmotionCacheContext.displayName = 'EmotionCacheContext';
}

var CacheProvider = EmotionCacheContext.Provider;
var __unsafe_useEmotionCache = function useEmotionCache() {
  return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EmotionCacheContext);
};

var withEmotionCache = function withEmotionCache(func) {
  return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (props, ref) {
    // the cache will never be null in the browser
    var cache = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EmotionCacheContext);
    return func(props, cache, ref);
  });
};

var ThemeContext = /* #__PURE__ */react__WEBPACK_IMPORTED_MODULE_0__.createContext({});

{
  ThemeContext.displayName = 'EmotionThemeContext';
}

var useTheme = function useTheme() {
  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext);
};

var getTheme = function getTheme(outerTheme, theme) {
  if (typeof theme === 'function') {
    var mergedTheme = theme(outerTheme);

    if ((mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {
      throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');
    }

    return mergedTheme;
  }

  if ((theme == null || typeof theme !== 'object' || Array.isArray(theme))) {
    throw new Error('[ThemeProvider] Please make your theme prop a plain object');
  }

  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, outerTheme, theme);
};

var createCacheWithTheme = /* #__PURE__ */(0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__["default"])(function (outerTheme) {
  return (0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__["default"])(function (theme) {
    return getTheme(outerTheme, theme);
  });
});
var ThemeProvider = function ThemeProvider(props) {
  var theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext);

  if (props.theme !== theme) {
    theme = createCacheWithTheme(theme)(props.theme);
  }

  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ThemeContext.Provider, {
    value: theme
  }, props.children);
};
function withTheme(Component) {
  var componentName = Component.displayName || Component.name || 'Component';
  var WithTheme = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function render(props, ref) {
    var theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext);
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
      theme: theme,
      ref: ref
    }, props));
  });
  WithTheme.displayName = "WithTheme(" + componentName + ")";
  return (0,_isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_4__["default"])(WithTheme, Component);
}

var hasOwn = {}.hasOwnProperty;

var getLastPart = function getLastPart(functionName) {
  // The match may be something like 'Object.createEmotionProps' or
  // 'Loader.prototype.render'
  var parts = functionName.split('.');
  return parts[parts.length - 1];
};

var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
  // V8
  var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
  if (match) return getLastPart(match[1]); // Safari / Firefox

  match = /^([A-Za-z0-9$.]+)@/.exec(line);
  if (match) return getLastPart(match[1]);
  return undefined;
};

var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
// identifiers, thus we only need to replace what is a valid character for JS,
// but not for CSS.

var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
  return identifier.replace(/\$/g, '-');
};

var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
  if (!stackTrace) return undefined;
  var lines = stackTrace.split('\n');

  for (var i = 0; i < lines.length; i++) {
    var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"

    if (!functionName) continue; // If we reach one of these, we have gone too far and should quit

    if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
    // uppercase letter

    if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
  }

  return undefined;
};

var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
var createEmotionProps = function createEmotionProps(type, props) {
  if (typeof props.css === 'string' && // check if there is a css declaration
  props.css.indexOf(':') !== -1) {
    throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + props.css + "`");
  }

  var newProps = {};

  for (var _key in props) {
    if (hasOwn.call(props, _key)) {
      newProps[_key] = props[_key];
    }
  }

  newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
  // - It causes hydration warnings when using Safari and SSR
  // - It can degrade performance if there are a huge number of elements
  //
  // Even if the flag is set, we still don't compute the label if it has already
  // been determined by the Babel plugin.

  if (typeof globalThis !== 'undefined' && !!globalThis.EMOTION_RUNTIME_AUTO_LABEL && !!props.css && (typeof props.css !== 'object' || !('name' in props.css) || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
    var label = getLabelFromStackTrace(new Error().stack);
    if (label) newProps[labelPropName] = label;
  }

  return newProps;
};

var Insertion = function Insertion(_ref) {
  var cache = _ref.cache,
      serialized = _ref.serialized,
      isStringTag = _ref.isStringTag;
  (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_5__.registerStyles)(cache, serialized, isStringTag);
  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_7__.useInsertionEffectAlwaysWithSyncFallback)(function () {
    return (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_5__.insertStyles)(cache, serialized, isStringTag);
  });

  return null;
};

var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
  // not passing the registered cache to serializeStyles because it would
  // make certain babel optimisations not possible

  if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
    cssProp = cache.registered[cssProp];
  }

  var WrappedComponent = props[typePropName];
  var registeredStyles = [cssProp];
  var className = '';

  if (typeof props.className === 'string') {
    className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_5__.getRegisteredStyles)(cache.registered, registeredStyles, props.className);
  } else if (props.className != null) {
    className = props.className + " ";
  }

  var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_6__.serializeStyles)(registeredStyles, undefined, react__WEBPACK_IMPORTED_MODULE_0__.useContext(ThemeContext));

  if (serialized.name.indexOf('-') === -1) {
    var labelFromStack = props[labelPropName];

    if (labelFromStack) {
      serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_6__.serializeStyles)([serialized, 'label:' + labelFromStack + ';']);
    }
  }

  className += cache.key + "-" + serialized.name;
  var newProps = {};

  for (var _key2 in props) {
    if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (_key2 !== labelPropName)) {
      newProps[_key2] = props[_key2];
    }
  }

  newProps.className = className;

  if (ref) {
    newProps.ref = ref;
  }

  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Insertion, {
    cache: cache,
    serialized: serialized,
    isStringTag: typeof WrappedComponent === 'string'
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(WrappedComponent, newProps));
});

{
  Emotion.displayName = 'EmotionCssPropInternal';
}

var Emotion$1 = Emotion;




/***/ },

/***/ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js"
/*!***************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js ***!
  \***************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CacheProvider: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.C),
/* harmony export */   ClassNames: () => (/* binding */ ClassNames),
/* harmony export */   Global: () => (/* binding */ Global),
/* harmony export */   ThemeContext: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T),
/* harmony export */   ThemeProvider: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.a),
/* harmony export */   __unsafe_useEmotionCache: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__._),
/* harmony export */   createElement: () => (/* binding */ jsx),
/* harmony export */   css: () => (/* binding */ css),
/* harmony export */   jsx: () => (/* binding */ jsx),
/* harmony export */   keyframes: () => (/* binding */ keyframes),
/* harmony export */   useTheme: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.u),
/* harmony export */   withEmotionCache: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w),
/* harmony export */   withTheme: () => (/* reexport safe */ _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.b)
/* harmony export */ });
/* harmony import */ var _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./emotion-element-489459f2.browser.development.esm.js */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/.pnpm/@emotion+cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js");
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/.pnpm/@emotion+weak-memoize@0.4.0/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js");
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_8__);












var isDevelopment = true;

var pkg = {
	name: "@emotion/react",
	version: "11.14.0",
	main: "dist/emotion-react.cjs.js",
	module: "dist/emotion-react.esm.js",
	types: "dist/emotion-react.cjs.d.ts",
	exports: {
		".": {
			types: {
				"import": "./dist/emotion-react.cjs.mjs",
				"default": "./dist/emotion-react.cjs.js"
			},
			development: {
				"edge-light": {
					module: "./dist/emotion-react.development.edge-light.esm.js",
					"import": "./dist/emotion-react.development.edge-light.cjs.mjs",
					"default": "./dist/emotion-react.development.edge-light.cjs.js"
				},
				worker: {
					module: "./dist/emotion-react.development.edge-light.esm.js",
					"import": "./dist/emotion-react.development.edge-light.cjs.mjs",
					"default": "./dist/emotion-react.development.edge-light.cjs.js"
				},
				workerd: {
					module: "./dist/emotion-react.development.edge-light.esm.js",
					"import": "./dist/emotion-react.development.edge-light.cjs.mjs",
					"default": "./dist/emotion-react.development.edge-light.cjs.js"
				},
				browser: {
					module: "./dist/emotion-react.browser.development.esm.js",
					"import": "./dist/emotion-react.browser.development.cjs.mjs",
					"default": "./dist/emotion-react.browser.development.cjs.js"
				},
				module: "./dist/emotion-react.development.esm.js",
				"import": "./dist/emotion-react.development.cjs.mjs",
				"default": "./dist/emotion-react.development.cjs.js"
			},
			"edge-light": {
				module: "./dist/emotion-react.edge-light.esm.js",
				"import": "./dist/emotion-react.edge-light.cjs.mjs",
				"default": "./dist/emotion-react.edge-light.cjs.js"
			},
			worker: {
				module: "./dist/emotion-react.edge-light.esm.js",
				"import": "./dist/emotion-react.edge-light.cjs.mjs",
				"default": "./dist/emotion-react.edge-light.cjs.js"
			},
			workerd: {
				module: "./dist/emotion-react.edge-light.esm.js",
				"import": "./dist/emotion-react.edge-light.cjs.mjs",
				"default": "./dist/emotion-react.edge-light.cjs.js"
			},
			browser: {
				module: "./dist/emotion-react.browser.esm.js",
				"import": "./dist/emotion-react.browser.cjs.mjs",
				"default": "./dist/emotion-react.browser.cjs.js"
			},
			module: "./dist/emotion-react.esm.js",
			"import": "./dist/emotion-react.cjs.mjs",
			"default": "./dist/emotion-react.cjs.js"
		},
		"./jsx-runtime": {
			types: {
				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
			},
			development: {
				"edge-light": {
					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js",
					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs",
					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js"
				},
				worker: {
					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js",
					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs",
					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js"
				},
				workerd: {
					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js",
					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.mjs",
					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js"
				},
				browser: {
					module: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js",
					"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.mjs",
					"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.js"
				},
				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.development.esm.js",
				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.mjs",
				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.js"
			},
			"edge-light": {
				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js",
				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs",
				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js"
			},
			worker: {
				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js",
				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs",
				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js"
			},
			workerd: {
				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js",
				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.mjs",
				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js"
			},
			browser: {
				module: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
				"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.mjs",
				"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js"
			},
			module: "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js",
			"import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
			"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
		},
		"./_isolated-hnrs": {
			types: {
				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
			},
			development: {
				"edge-light": {
					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js",
					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs",
					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js"
				},
				worker: {
					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js",
					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs",
					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js"
				},
				workerd: {
					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.esm.js",
					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.mjs",
					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.edge-light.cjs.js"
				},
				browser: {
					module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.esm.js",
					"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.mjs",
					"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.development.cjs.js"
				},
				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.esm.js",
				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.mjs",
				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.development.cjs.js"
			},
			"edge-light": {
				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js",
				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs",
				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js"
			},
			worker: {
				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js",
				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs",
				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js"
			},
			workerd: {
				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.esm.js",
				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.mjs",
				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.edge-light.cjs.js"
			},
			browser: {
				module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
				"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.mjs",
				"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.js"
			},
			module: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js",
			"import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
			"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
		},
		"./jsx-dev-runtime": {
			types: {
				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
			},
			development: {
				"edge-light": {
					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js",
					"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs",
					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js"
				},
				worker: {
					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js",
					"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs",
					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js"
				},
				workerd: {
					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js",
					"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.mjs",
					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js"
				},
				browser: {
					module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.esm.js",
					"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.mjs",
					"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.js"
				},
				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.esm.js",
				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.mjs",
				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.js"
			},
			"edge-light": {
				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js",
				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs",
				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js"
			},
			worker: {
				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js",
				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs",
				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js"
			},
			workerd: {
				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js",
				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.mjs",
				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js"
			},
			browser: {
				module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
				"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.mjs",
				"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js"
			},
			module: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js",
			"import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
			"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
		},
		"./package.json": "./package.json",
		"./types/css-prop": "./types/css-prop.d.ts",
		"./macro": {
			types: {
				"import": "./macro.d.mts",
				"default": "./macro.d.ts"
			},
			"default": "./macro.js"
		}
	},
	imports: {
		"#is-development": {
			development: "./src/conditions/true.ts",
			"default": "./src/conditions/false.ts"
		},
		"#is-browser": {
			"edge-light": "./src/conditions/false.ts",
			workerd: "./src/conditions/false.ts",
			worker: "./src/conditions/false.ts",
			browser: "./src/conditions/true.ts",
			"default": "./src/conditions/is-browser.ts"
		}
	},
	files: [
		"src",
		"dist",
		"jsx-runtime",
		"jsx-dev-runtime",
		"_isolated-hnrs",
		"types/css-prop.d.ts",
		"macro.*"
	],
	sideEffects: false,
	author: "Emotion Contributors",
	license: "MIT",
	scripts: {
		"test:typescript": "dtslint types"
	},
	dependencies: {
		"@babel/runtime": "^7.18.3",
		"@emotion/babel-plugin": "^11.13.5",
		"@emotion/cache": "^11.14.0",
		"@emotion/serialize": "^1.3.3",
		"@emotion/use-insertion-effect-with-fallbacks": "^1.2.0",
		"@emotion/utils": "^1.4.2",
		"@emotion/weak-memoize": "^0.4.0",
		"hoist-non-react-statics": "^3.3.1"
	},
	peerDependencies: {
		react: ">=16.8.0"
	},
	peerDependenciesMeta: {
		"@types/react": {
			optional: true
		}
	},
	devDependencies: {
		"@definitelytyped/dtslint": "0.0.112",
		"@emotion/css": "11.13.5",
		"@emotion/css-prettifier": "1.2.0",
		"@emotion/server": "11.11.0",
		"@emotion/styled": "11.14.0",
		"@types/hoist-non-react-statics": "^3.3.5",
		"html-tag-names": "^1.1.2",
		react: "16.14.0",
		"svg-tag-names": "^1.1.1",
		typescript: "^5.4.5"
	},
	repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
	publishConfig: {
		access: "public"
	},
	"umd:main": "dist/emotion-react.umd.min.js",
	preconstruct: {
		entrypoints: [
			"./index.ts",
			"./jsx-runtime.ts",
			"./jsx-dev-runtime.ts",
			"./_isolated-hnrs.ts"
		],
		umdName: "emotionReact",
		exports: {
			extra: {
				"./types/css-prop": "./types/css-prop.d.ts",
				"./macro": {
					types: {
						"import": "./macro.d.mts",
						"default": "./macro.d.ts"
					},
					"default": "./macro.js"
				}
			}
		}
	}
};

var jsx = function jsx(type, props) {
  // eslint-disable-next-line prefer-rest-params
  var args = arguments;

  if (props == null || !_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.h.call(props, 'css')) {
    return react__WEBPACK_IMPORTED_MODULE_1__.createElement.apply(undefined, args);
  }

  var argsLength = args.length;
  var createElementArgArray = new Array(argsLength);
  createElementArgArray[0] = _emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.E;
  createElementArgArray[1] = (0,_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.c)(type, props);

  for (var i = 2; i < argsLength; i++) {
    createElementArgArray[i] = args[i];
  }

  return react__WEBPACK_IMPORTED_MODULE_1__.createElement.apply(null, createElementArgArray);
};

(function (_jsx) {
  var JSX;

  (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
})(jsx || (jsx = {}));

var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
// initial client-side render from SSR, use place of hydrating tag

var Global = /* #__PURE__ */(0,_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w)(function (props, cache) {
  if (!warnedAboutCssPropForGlobal && ( // check for className as well since the user is
  // probably using the custom createElement which
  // means it will be turned into a className prop
  // I don't really want to add it to the type since it shouldn't be used
  'className' in props && props.className || 'css' in props && props.css)) {
    console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
    warnedAboutCssPropForGlobal = true;
  }

  var styles = props.styles;
  var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)([styles], undefined, react__WEBPACK_IMPORTED_MODULE_1__.useContext(_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T));
  // but it is based on a constant that will never change at runtime
  // it's effectively like having two implementations and switching them out
  // so it's not actually breaking anything


  var sheetRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef();
  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectWithLayoutFallback)(function () {
    var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675

    var sheet = new cache.sheet.constructor({
      key: key,
      nonce: cache.sheet.nonce,
      container: cache.sheet.container,
      speedy: cache.sheet.isSpeedy
    });
    var rehydrating = false;
    var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");

    if (cache.sheet.tags.length) {
      sheet.before = cache.sheet.tags[0];
    }

    if (node !== null) {
      rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s

      node.setAttribute('data-emotion', key);
      sheet.hydrate([node]);
    }

    sheetRef.current = [sheet, rehydrating];
    return function () {
      sheet.flush();
    };
  }, [cache]);
  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectWithLayoutFallback)(function () {
    var sheetRefCurrent = sheetRef.current;
    var sheet = sheetRefCurrent[0],
        rehydrating = sheetRefCurrent[1];

    if (rehydrating) {
      sheetRefCurrent[1] = false;
      return;
    }

    if (serialized.next !== undefined) {
      // insert keyframes
      (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.insertStyles)(cache, serialized.next, true);
    }

    if (sheet.tags.length) {
      // if this doesn't exist then it will be null so the style element will be appended
      var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
      sheet.before = element;
      sheet.flush();
    }

    cache.insert("", serialized, sheet, false);
  }, [cache, serialized.name]);
  return null;
});

{
  Global.displayName = 'EmotionGlobal';
}

function css() {
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
    args[_key] = arguments[_key];
  }

  return (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)(args);
}

function keyframes() {
  var insertable = css.apply(void 0, arguments);
  var name = "animation-" + insertable.name;
  return {
    name: name,
    styles: "@keyframes " + name + "{" + insertable.styles + "}",
    anim: 1,
    toString: function toString() {
      return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
    }
  };
}

var classnames = function classnames(args) {
  var len = args.length;
  var i = 0;
  var cls = '';

  for (; i < len; i++) {
    var arg = args[i];
    if (arg == null) continue;
    var toAdd = void 0;

    switch (typeof arg) {
      case 'boolean':
        break;

      case 'object':
        {
          if (Array.isArray(arg)) {
            toAdd = classnames(arg);
          } else {
            if (arg.styles !== undefined && arg.name !== undefined) {
              console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component.');
            }

            toAdd = '';

            for (var k in arg) {
              if (arg[k] && k) {
                toAdd && (toAdd += ' ');
                toAdd += k;
              }
            }
          }

          break;
        }

      default:
        {
          toAdd = arg;
        }
    }

    if (toAdd) {
      cls && (cls += ' ');
      cls += toAdd;
    }
  }

  return cls;
};

function merge(registered, css, className) {
  var registeredStyles = [];
  var rawClassName = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.getRegisteredStyles)(registered, registeredStyles, className);

  if (registeredStyles.length < 2) {
    return className;
  }

  return rawClassName + css(registeredStyles);
}

var Insertion = function Insertion(_ref) {
  var cache = _ref.cache,
      serializedArr = _ref.serializedArr;
  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectAlwaysWithSyncFallback)(function () {

    for (var i = 0; i < serializedArr.length; i++) {
      (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.insertStyles)(cache, serializedArr[i], false);
    }
  });

  return null;
};

var ClassNames = /* #__PURE__ */(0,_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.w)(function (props, cache) {
  var hasRendered = false;
  var serializedArr = [];

  var css = function css() {
    if (hasRendered && isDevelopment) {
      throw new Error('css can only be used during render');
    }

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_4__.serializeStyles)(args, cache.registered);
    serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`

    (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_2__.registerStyles)(cache, serialized, false);
    return cache.key + "-" + serialized.name;
  };

  var cx = function cx() {
    if (hasRendered && isDevelopment) {
      throw new Error('cx can only be used during render');
    }

    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
      args[_key2] = arguments[_key2];
    }

    return merge(cache.registered, css, classnames(args));
  };

  var content = {
    css: css,
    cx: cx,
    theme: react__WEBPACK_IMPORTED_MODULE_1__.useContext(_emotion_element_489459f2_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__.T)
  };
  var ele = props.children(content);
  hasRendered = true;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Insertion, {
    cache: cache,
    serializedArr: serializedArr
  }), ele);
});

{
  ClassNames.displayName = 'EmotionClassNames';
}

{
  var isBrowser = typeof document !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked

  var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';

  if (isBrowser && !isTestEnv) {
    // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
    var globalContext = typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
    : isBrowser ? window : __webpack_require__.g;
    var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";

    if (globalContext[globalKey]) {
      console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');
    }

    globalContext[globalKey] = true;
  }
}




/***/ },

/***/ "./node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js"
/*!*******************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js ***!
  \*******************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   serializeStyles: () => (/* binding */ serializeStyles)
/* harmony export */ });
/* harmony import */ var _emotion_hash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/hash */ "./node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js");
/* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/unitless */ "./node_modules/.pnpm/@emotion+unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js");
/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js");




var isDevelopment = true;

var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
var hyphenateRegex = /[A-Z]|^ms/g;
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;

var isCustomProperty = function isCustomProperty(property) {
  return property.charCodeAt(1) === 45;
};

var isProcessableValue = function isProcessableValue(value) {
  return value != null && typeof value !== 'boolean';
};

var processStyleName = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_2__["default"])(function (styleName) {
  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
});

var processStyleValue = function processStyleValue(key, value) {
  switch (key) {
    case 'animation':
    case 'animationName':
      {
        if (typeof value === 'string') {
          return value.replace(animationRegex, function (match, p1, p2) {
            cursor = {
              name: p1,
              styles: p2,
              next: cursor
            };
            return p1;
          });
        }
      }
  }

  if (_emotion_unitless__WEBPACK_IMPORTED_MODULE_1__["default"][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
    return value + 'px';
  }

  return value;
};

{
  var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
  var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
  var oldProcessStyleValue = processStyleValue;
  var msPattern = /^-ms-/;
  var hyphenPattern = /-(.)/g;
  var hyphenatedCache = {};

  processStyleValue = function processStyleValue(key, value) {
    if (key === 'content') {
      if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
        throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
      }
    }

    var processed = oldProcessStyleValue(key, value);

    if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
      hyphenatedCache[key] = true;
      console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
        return _char.toUpperCase();
      }) + "?");
    }

    return processed;
  };
}

var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';

function handleInterpolation(mergedProps, registered, interpolation) {
  if (interpolation == null) {
    return '';
  }

  var componentSelector = interpolation;

  if (componentSelector.__emotion_styles !== undefined) {
    if (String(componentSelector) === 'NO_COMPONENT_SELECTOR') {
      throw new Error(noComponentSelectorMessage);
    }

    return componentSelector;
  }

  switch (typeof interpolation) {
    case 'boolean':
      {
        return '';
      }

    case 'object':
      {
        var keyframes = interpolation;

        if (keyframes.anim === 1) {
          cursor = {
            name: keyframes.name,
            styles: keyframes.styles,
            next: cursor
          };
          return keyframes.name;
        }

        var serializedStyles = interpolation;

        if (serializedStyles.styles !== undefined) {
          var next = serializedStyles.next;

          if (next !== undefined) {
            // not the most efficient thing ever but this is a pretty rare case
            // and there will be very few iterations of this generally
            while (next !== undefined) {
              cursor = {
                name: next.name,
                styles: next.styles,
                next: cursor
              };
              next = next.next;
            }
          }

          var styles = serializedStyles.styles + ";";
          return styles;
        }

        return createStringFromObject(mergedProps, registered, interpolation);
      }

    case 'function':
      {
        if (mergedProps !== undefined) {
          var previousCursor = cursor;
          var result = interpolation(mergedProps);
          cursor = previousCursor;
          return handleInterpolation(mergedProps, registered, result);
        } else {
          console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
        }

        break;
      }

    case 'string':
      {
        var matched = [];
        var replaced = interpolation.replace(animationRegex, function (_match, _p1, p2) {
          var fakeVarName = "animation" + matched.length;
          matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
          return "${" + fakeVarName + "}";
        });

        if (matched.length) {
          console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join('\n') + "\n\nYou should wrap it with `css` like this:\n\ncss`" + replaced + "`");
        }
      }

      break;
  } // finalize string values (regular strings and functions interpolated into css calls)


  var asString = interpolation;

  if (registered == null) {
    return asString;
  }

  var cached = registered[asString];
  return cached !== undefined ? cached : asString;
}

function createStringFromObject(mergedProps, registered, obj) {
  var string = '';

  if (Array.isArray(obj)) {
    for (var i = 0; i < obj.length; i++) {
      string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
    }
  } else {
    for (var key in obj) {
      var value = obj[key];

      if (typeof value !== 'object') {
        var asString = value;

        if (registered != null && registered[asString] !== undefined) {
          string += key + "{" + registered[asString] + "}";
        } else if (isProcessableValue(asString)) {
          string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
        }
      } else {
        if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {
          throw new Error(noComponentSelectorMessage);
        }

        if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
          for (var _i = 0; _i < value.length; _i++) {
            if (isProcessableValue(value[_i])) {
              string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
            }
          }
        } else {
          var interpolated = handleInterpolation(mergedProps, registered, value);

          switch (key) {
            case 'animation':
            case 'animationName':
              {
                string += processStyleName(key) + ":" + interpolated + ";";
                break;
              }

            default:
              {
                if (key === 'undefined') {
                  console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
                }

                string += key + "{" + interpolated + "}";
              }
          }
        }
      }
    }
  }

  return string;
}

var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
// keyframes are stored on the SerializedStyles object as a linked list

var cursor;
function serializeStyles(args, registered, mergedProps) {
  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
    return args[0];
  }

  var stringMode = true;
  var styles = '';
  cursor = undefined;
  var strings = args[0];

  if (strings == null || strings.raw === undefined) {
    stringMode = false;
    styles += handleInterpolation(mergedProps, registered, strings);
  } else {
    var asTemplateStringsArr = strings;

    if (asTemplateStringsArr[0] === undefined) {
      console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
    }

    styles += asTemplateStringsArr[0];
  } // we start at 1 since we've already handled the first arg


  for (var i = 1; i < args.length; i++) {
    styles += handleInterpolation(mergedProps, registered, args[i]);

    if (stringMode) {
      var templateStringsArr = strings;

      if (templateStringsArr[i] === undefined) {
        console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
      }

      styles += templateStringsArr[i];
    }
  } // using a global regex with .exec is stateful so lastIndex has to be reset each time


  labelPattern.lastIndex = 0;
  var identifierName = '';
  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5

  while ((match = labelPattern.exec(styles)) !== null) {
    identifierName += '-' + match[1];
  }

  var name = (0,_emotion_hash__WEBPACK_IMPORTED_MODULE_0__["default"])(styles) + identifierName;

  {
    var devStyles = {
      name: name,
      styles: styles,
      next: cursor,
      toString: function toString() {
        return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
      }
    };
    return devStyles;
  }
}




/***/ },

/***/ "./node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js ***!
  \*******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   StyleSheet: () => (/* binding */ StyleSheet)
/* harmony export */ });
var isDevelopment = true;

/*

Based off glamor's StyleSheet, thanks Sunil ❤️

high performance StyleSheet for css-in-js systems

- uses multiple style tags behind the scenes for millions of rules
- uses `insertRule` for appending in production for *much* faster performance

// usage

import { StyleSheet } from '@emotion/sheet'

let styleSheet = new StyleSheet({ key: '', container: document.head })

styleSheet.insert('#box { border: 1px solid red; }')
- appends a css rule into the stylesheet

styleSheet.flush()
- empties the stylesheet of all its contents

*/

function sheetForTag(tag) {
  if (tag.sheet) {
    return tag.sheet;
  } // this weirdness brought to you by firefox

  /* istanbul ignore next */


  for (var i = 0; i < document.styleSheets.length; i++) {
    if (document.styleSheets[i].ownerNode === tag) {
      return document.styleSheets[i];
    }
  } // this function should always return with a value
  // TS can't understand it though so we make it stop complaining here


  return undefined;
}

function createStyleElement(options) {
  var tag = document.createElement('style');
  tag.setAttribute('data-emotion', options.key);

  if (options.nonce !== undefined) {
    tag.setAttribute('nonce', options.nonce);
  }

  tag.appendChild(document.createTextNode(''));
  tag.setAttribute('data-s', '');
  return tag;
}

var StyleSheet = /*#__PURE__*/function () {
  // Using Node instead of HTMLElement since container may be a ShadowRoot
  function StyleSheet(options) {
    var _this = this;

    this._insertTag = function (tag) {
      var before;

      if (_this.tags.length === 0) {
        if (_this.insertionPoint) {
          before = _this.insertionPoint.nextSibling;
        } else if (_this.prepend) {
          before = _this.container.firstChild;
        } else {
          before = _this.before;
        }
      } else {
        before = _this.tags[_this.tags.length - 1].nextSibling;
      }

      _this.container.insertBefore(tag, before);

      _this.tags.push(tag);
    };

    this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy;
    this.tags = [];
    this.ctr = 0;
    this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets

    this.key = options.key;
    this.container = options.container;
    this.prepend = options.prepend;
    this.insertionPoint = options.insertionPoint;
    this.before = null;
  }

  var _proto = StyleSheet.prototype;

  _proto.hydrate = function hydrate(nodes) {
    nodes.forEach(this._insertTag);
  };

  _proto.insert = function insert(rule) {
    // the max length is how many rules we have per style tag, it's 65000 in speedy mode
    // it's 1 in dev because we insert source maps that map a single rule to a location
    // and you can only have one source map per style tag
    if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
      this._insertTag(createStyleElement(this));
    }

    var tag = this.tags[this.tags.length - 1];

    {
      var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;

      if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
        // this would only cause problem in speedy mode
        // but we don't want enabling speedy to affect the observable behavior
        // so we report this error at all times
        console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
      }

      this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
    }

    if (this.isSpeedy) {
      var sheet = sheetForTag(tag);

      try {
        // this is the ultrafast version, works across browsers
        // the big drawback is that the css won't be editable in devtools
        sheet.insertRule(rule, sheet.cssRules.length);
      } catch (e) {
        if (!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
          console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
        }
      }
    } else {
      tag.appendChild(document.createTextNode(rule));
    }

    this.ctr++;
  };

  _proto.flush = function flush() {
    this.tags.forEach(function (tag) {
      var _tag$parentNode;

      return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
    });
    this.tags = [];
    this.ctr = 0;

    {
      this._alreadyInsertedOrderInsensitiveRule = false;
    }
  };

  return StyleSheet;
}();




/***/ },

/***/ "./node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@types+react@19.2.17_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@types+react@19.2.17_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createStyled)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/react */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/is-prop-valid */ "./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js");








var isDevelopment = true;

var testOmitPropsOnStringTag = _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_6__["default"];

var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
  return key !== 'theme';
};

var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
  return typeof tag === 'string' && // 96 is one less than the char code
  // for "a" so this is checking that
  // it's a lowercase character
  tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
};
var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
  var shouldForwardProp;

  if (options) {
    var optionsShouldForwardProp = options.shouldForwardProp;
    shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
      return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
    } : optionsShouldForwardProp;
  }

  if (typeof shouldForwardProp !== 'function' && isReal) {
    shouldForwardProp = tag.__emotion_forwardProp;
  }

  return shouldForwardProp;
};

var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";

var Insertion = function Insertion(_ref) {
  var cache = _ref.cache,
      serialized = _ref.serialized,
      isStringTag = _ref.isStringTag;
  (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.registerStyles)(cache, serialized, isStringTag);
  (0,_emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__.useInsertionEffectAlwaysWithSyncFallback)(function () {
    return (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.insertStyles)(cache, serialized, isStringTag);
  });

  return null;
};

var createStyled = function createStyled(tag, options) {
  {
    if (tag === undefined) {
      throw new Error('You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.');
    }
  }

  var isReal = tag.__emotion_real === tag;
  var baseTag = isReal && tag.__emotion_base || tag;
  var identifierName;
  var targetClassName;

  if (options !== undefined) {
    identifierName = options.label;
    targetClassName = options.target;
  }

  var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
  var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
  var shouldUseAs = !defaultShouldForwardProp('as');
  return function () {
    // eslint-disable-next-line prefer-rest-params
    var args = arguments;
    var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];

    if (identifierName !== undefined) {
      styles.push("label:" + identifierName + ";");
    }

    if (args[0] == null || args[0].raw === undefined) {
      // eslint-disable-next-line prefer-spread
      styles.push.apply(styles, args);
    } else {
      var templateStringsArr = args[0];

      if (templateStringsArr[0] === undefined) {
        console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
      }

      styles.push(templateStringsArr[0]);
      var len = args.length;
      var i = 1;

      for (; i < len; i++) {
        if (templateStringsArr[i] === undefined) {
          console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
        }

        styles.push(args[i], templateStringsArr[i]);
      }
    }

    var Styled = (0,_emotion_react__WEBPACK_IMPORTED_MODULE_1__.w)(function (props, cache, ref) {
      var FinalTag = shouldUseAs && props.as || baseTag;
      var className = '';
      var classInterpolations = [];
      var mergedProps = props;

      if (props.theme == null) {
        mergedProps = {};

        for (var key in props) {
          mergedProps[key] = props[key];
        }

        mergedProps.theme = react__WEBPACK_IMPORTED_MODULE_5__.useContext(_emotion_react__WEBPACK_IMPORTED_MODULE_1__.T);
      }

      if (typeof props.className === 'string') {
        className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.getRegisteredStyles)(cache.registered, classInterpolations, props.className);
      } else if (props.className != null) {
        className = props.className + " ";
      }

      var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_2__.serializeStyles)(styles.concat(classInterpolations), cache.registered, mergedProps);
      className += cache.key + "-" + serialized.name;

      if (targetClassName !== undefined) {
        className += " " + targetClassName;
      }

      var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
      var newProps = {};

      for (var _key in props) {
        if (shouldUseAs && _key === 'as') continue;

        if (finalShouldForwardProp(_key)) {
          newProps[_key] = props[_key];
        }
      }

      newProps.className = className;

      if (ref) {
        newProps.ref = ref;
      }

      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(react__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(Insertion, {
        cache: cache,
        serialized: serialized,
        isStringTag: typeof FinalTag === 'string'
      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(FinalTag, newProps));
    });
    Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
    Styled.defaultProps = tag.defaultProps;
    Styled.__emotion_real = Styled;
    Styled.__emotion_base = baseTag;
    Styled.__emotion_styles = styles;
    Styled.__emotion_forwardProp = shouldForwardProp;
    Object.defineProperty(Styled, 'toString', {
      value: function value() {
        if (targetClassName === undefined && isDevelopment) {
          return 'NO_COMPONENT_SELECTOR';
        }

        return "." + targetClassName;
      }
    });

    Styled.withComponent = function (nextTag, nextOptions) {
      var newStyled = createStyled(nextTag, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, nextOptions, {
        shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
      }));
      return newStyled.apply(void 0, styles);
    };

    return Styled;
  };
};




/***/ },

/***/ "./node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@types+react@19.2.17_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@types+react@19.2.17_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ styled)
/* harmony export */ });
/* harmony import */ var _base_dist_emotion_styled_base_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base/dist/emotion-styled-base.browser.development.esm.js */ "./node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@types+react@19.2.17_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js");
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
/* harmony import */ var _emotion_use_insertion_effect_with_fallbacks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/use-insertion-effect-with-fallbacks */ "./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js");
/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/is-prop-valid */ "./node_modules/.pnpm/@emotion+is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js");









var tags = ['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'];

// bind it to avoid mutating the original function
var styled = _base_dist_emotion_styled_base_browser_development_esm_js__WEBPACK_IMPORTED_MODULE_0__["default"].bind(null);
tags.forEach(function (tagName) {
  styled[tagName] = styled(tagName);
});




/***/ },

/***/ "./node_modules/.pnpm/@emotion+unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ unitlessKeys)
/* harmony export */ });
var unitlessKeys = {
  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
};




/***/ },

/***/ "./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useInsertionEffectAlwaysWithSyncFallback: () => (/* binding */ useInsertionEffectAlwaysWithSyncFallback),
/* harmony export */   useInsertionEffectWithLayoutFallback: () => (/* binding */ useInsertionEffectWithLayoutFallback)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);


var syncFallback = function syncFallback(create) {
  return create();
};

var useInsertionEffect = react__WEBPACK_IMPORTED_MODULE_0__['useInsertion' + 'Effect'] ? react__WEBPACK_IMPORTED_MODULE_0__['useInsertion' + 'Effect'] : false;
var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
var useInsertionEffectWithLayoutFallback = useInsertionEffect || react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect;




/***/ },

/***/ "./node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getRegisteredStyles: () => (/* binding */ getRegisteredStyles),
/* harmony export */   insertStyles: () => (/* binding */ insertStyles),
/* harmony export */   registerStyles: () => (/* binding */ registerStyles)
/* harmony export */ });
var isBrowser = true;

function getRegisteredStyles(registered, registeredStyles, classNames) {
  var rawClassName = '';
  classNames.split(' ').forEach(function (className) {
    if (registered[className] !== undefined) {
      registeredStyles.push(registered[className] + ";");
    } else if (className) {
      rawClassName += className + " ";
    }
  });
  return rawClassName;
}
var registerStyles = function registerStyles(cache, serialized, isStringTag) {
  var className = cache.key + "-" + serialized.name;

  if ( // we only need to add the styles to the registered cache if the
  // class name could be used further down
  // the tree but if it's a string tag, we know it won't
  // so we don't have to add it to registered cache.
  // this improves memory usage since we can avoid storing the whole style string
  (isStringTag === 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
  isBrowser === false ) && cache.registered[className] === undefined) {
    cache.registered[className] = serialized.styles;
  }
};
var insertStyles = function insertStyles(cache, serialized, isStringTag) {
  registerStyles(cache, serialized, isStringTag);
  var className = cache.key + "-" + serialized.name;

  if (cache.inserted[serialized.name] === undefined) {
    var current = serialized;

    do {
      cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);

      current = current.next;
    } while (current !== undefined);
  }
};




/***/ },

/***/ "./node_modules/.pnpm/@emotion+weak-memoize@0.4.0/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"
/*!****************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@emotion+weak-memoize@0.4.0/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js ***!
  \****************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ weakMemoize)
/* harmony export */ });
var weakMemoize = function weakMemoize(func) {
  var cache = new WeakMap();
  return function (arg) {
    if (cache.has(arg)) {
      // Use non-null assertion because we just checked that the cache `has` it
      // This allows us to remove `undefined` from the return value
      return cache.get(arg);
    }

    var ret = func(arg);
    cache.set(arg, ret);
    return ret;
  };
};




/***/ },

/***/ "./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/ThemeProvider/nested.js"
/*!***************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/ThemeProvider/nested.js ***!
  \***************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const hasSymbol = typeof Symbol === 'function' && Symbol.for;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');

/***/ },

/***/ "./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/useTheme/ThemeContext.js"
/*!****************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/useTheme/ThemeContext.js ***!
  \****************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
'use client';


const ThemeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  ThemeContext.displayName = 'ThemeContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ThemeContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/useTheme/useTheme.js"
/*!************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/useTheme/useTheme.js ***!
  \************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useTheme)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _ThemeContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ThemeContext.js */ "./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/useTheme/ThemeContext.js");


function useTheme() {
  const theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_ThemeContext_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
  if (true) {
    // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
    react__WEBPACK_IMPORTED_MODULE_0__.useDebugValue(theme);
  }
  return theme;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/StylesProvider/StylesProvider.js"
/*!******************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/StylesProvider/StylesProvider.js ***!
  \******************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   StylesContext: () => (/* binding */ StylesContext),
/* harmony export */   "default": () => (/* binding */ StylesProvider),
/* harmony export */   sheetsManager: () => (/* binding */ defaultSheetsManager)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js");
/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! jss */ "./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js");
/* harmony import */ var _createGenerateClassName_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../createGenerateClassName/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js");
/* harmony import */ var _jssPreset_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../jssPreset/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/jssPreset/jssPreset.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';








// Default JSS instance.

const defaultJSS = (0,jss__WEBPACK_IMPORTED_MODULE_3__.create)((0,_jssPreset_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])());

// Use a singleton or the provided one by the context.
//
// The counter-based approach doesn't tolerate any mistake.
// It's much safer to use the same counter everywhere.
const defaultGenerateClassName = (0,_createGenerateClassName_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])();
const defaultSheetsManager = new Map();
// Exported for test purposes

const defaultOptions = {
  disableGeneration: false,
  generateClassName: defaultGenerateClassName,
  jss: defaultJSS,
  sheetsCache: null,
  sheetsManager: defaultSheetsManager,
  sheetsRegistry: null
};
const StylesContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(defaultOptions);
if (true) {
  StylesContext.displayName = 'StylesContext';
}
let injectFirstNode;
function StylesProvider(props) {
  const {
    children,
    injectFirst = false,
    disableGeneration = false,
    ...localOptions
  } = props;
  const outerOptions = react__WEBPACK_IMPORTED_MODULE_0__.useContext(StylesContext);
  const {
    generateClassName,
    jss,
    serverGenerateClassName,
    sheetsCache,
    sheetsManager,
    sheetsRegistry
  } = {
    ...outerOptions,
    ...localOptions
  };
  if (true) {
    if (injectFirst && localOptions.jss) {
      console.error('MUI: You cannot use the jss and injectFirst props at the same time.');
    }
  }
  const value = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    const context = {
      disableGeneration,
      generateClassName,
      jss,
      serverGenerateClassName,
      sheetsCache,
      sheetsManager,
      sheetsRegistry
    };
    if (true) {
      if (typeof window === 'undefined' && !context.sheetsManager) {
        console.error('MUI: You need to use the ServerStyleSheets API when rendering on the server.');
      }
    }
    if (true) {
      if (context.jss.options.insertionPoint && injectFirst) {
        console.error('MUI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time.');
      }
    }
    if (!context.jss.options.insertionPoint && injectFirst && typeof window !== 'undefined') {
      if (!injectFirstNode) {
        const head = document.head;
        // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- injectFirstNode is called inside callback
        injectFirstNode = document.createComment('mui-inject-first');
        head.insertBefore(injectFirstNode, head.firstChild);
      }
      context.jss = (0,jss__WEBPACK_IMPORTED_MODULE_3__.create)({
        plugins: (0,_jssPreset_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])().plugins,
        insertionPoint: injectFirstNode
      });
    }
    return context;
  }, [injectFirst, disableGeneration, generateClassName, jss, serverGenerateClassName, sheetsCache, sheetsManager, sheetsRegistry]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(StylesContext.Provider, {
    value: value,
    children: children
  });
}
 true ? StylesProvider.propTypes = {
  /**
   * Your component tree.
   */
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  /**
   * You can disable the generation of the styles with this option.
   * It can be useful when traversing the React tree outside of the HTML
   * rendering step on the server.
   * Let's say you are using react-apollo to extract all
   * the queries made by the interface server-side - you can significantly speed up the traversal with this prop.
   */
  disableGeneration: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  /**
   * JSS's class name generator.
   */
  generateClassName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  /**
   * By default, the styles are injected last in the <head> element of the page.
   * As a result, they gain more specificity than any other style sheet.
   * If you want to override MUI's styles, set this prop.
   */
  injectFirst: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  /**
   * JSS's instance.
   */
  jss: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
  /**
   * @ignore
   */
  serverGenerateClassName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  /**
   * @ignore
   *
   * Beta feature.
   *
   * Cache for the sheets.
   */
  sheetsCache: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
  /**
   * @ignore
   *
   * The sheetsManager is used to deduplicate style sheet injection in the page.
   * It's deduplicating using the (theme, styles) couple.
   * On the server, you should provide a new instance for each request.
   */
  sheetsManager: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
  /**
   * @ignore
   *
   * Collect the sheets.
   */
  sheetsRegistry: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)
} : 0;
if (true) {
   true ? StylesProvider.propTypes = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(StylesProvider.propTypes) : 0;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js"
/*!************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js ***!
  \************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createGenerateClassName)
/* harmony export */ });
/* harmony import */ var _mui_private_theming_ThemeProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/private-theming/ThemeProvider */ "./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/ThemeProvider/nested.js");


/**
 * This is the list of the style rule name we use as drop in replacement for the built-in
 * pseudo classes (:checked, :disabled, :focused, etc.).
 *
 * Why do they exist in the first place?
 * These classes are used at a specificity of 2.
 * It allows them to override previously defined styles as well as
 * being untouched by simple user overrides.
 */
const stateClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];

// Returns a function which generates unique class names based on counters.
// When new generator function is created, rule counter is reset.
// We need to reset the rule counter for SSR for each request.
//
// It's inspired by
// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js
function createGenerateClassName(options = {}) {
  const {
    disableGlobal = false,
    productionPrefix = 'jss',
    seed = ''
  } = options;
  const seedPrefix = seed === '' ? '' : `${seed}-`;
  let ruleCounter = 0;
  const getNextCounterId = () => {
    ruleCounter += 1;
    if (true) {
      if (ruleCounter >= 1e10) {
        console.warn(['MUI: You might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));
      }
    }
    return ruleCounter;
  };
  return (rule, styleSheet) => {
    const name = styleSheet.options.name;

    // Is a global static MUI style?
    if (name && name.startsWith('Mui') && !styleSheet.options.link && !disableGlobal) {
      // We can use a shorthand class name, we never use the keys to style the components.
      if (stateClasses.includes(rule.key)) {
        return `Mui-${rule.key}`;
      }
      const prefix = `${seedPrefix}${name}-${rule.key}`;
      if (!styleSheet.options.theme[_mui_private_theming_ThemeProvider__WEBPACK_IMPORTED_MODULE_0__["default"]] || seed !== '') {
        return prefix;
      }
      return `${prefix}-${getNextCounterId()}`;
    }
    if (false) // removed by dead control flow
{}
    const suffix = `${rule.key}-${getNextCounterId()}`;

    // Help with debuggability.
    if (styleSheet.options.classNamePrefix) {
      return `${seedPrefix}${styleSheet.options.classNamePrefix}-${suffix}`;
    }
    return `${seedPrefix}${suffix}`;
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js"
/*!**********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js ***!
  \**********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getStylesCreator)
/* harmony export */ });
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _propsToClassKey_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../propsToClassKey/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js");
/* harmony import */ var _noopTheme_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./noopTheme.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getStylesCreator/noopTheme.js");



function getStylesCreator(stylesOrCreator) {
  const themingEnabled = typeof stylesOrCreator === 'function';
  if (true) {
    if (typeof stylesOrCreator !== 'object' && !themingEnabled) {
      console.error(['MUI: The `styles` argument provided is invalid.', 'You need to provide a function generating the styles or a styles object.'].join('\n'));
    }
  }
  return {
    create: (theme, name) => {
      let styles;
      try {
        styles = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
      } catch (err) {
        if (true) {
          if (themingEnabled === true && theme === _noopTheme_js__WEBPACK_IMPORTED_MODULE_2__["default"]) {
            // TODO: prepend error message/name instead
            console.error(['MUI: The `styles` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
          }
        }
        throw err;
      }
      if (!name || !theme.components || !theme.components[name] || !theme.components[name].styleOverrides && !theme.components[name].variants) {
        return styles;
      }
      const overrides = theme.components[name].styleOverrides || {};
      const variants = theme.components[name].variants || [];
      const stylesWithOverrides = {
        ...styles
      };
      Object.keys(overrides).forEach(key => {
        if (true) {
          if (!stylesWithOverrides[key]) {
            console.warn(['MUI: You are trying to override a style that does not exist.', `Fix the \`${key}\` key of \`theme.components.${name}.styleOverrides\`.`, '', `If you intentionally wanted to add a new key, please use the theme.components[${name}].variants option.`].join('\n'));
          }
        }
        stylesWithOverrides[key] = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(stylesWithOverrides[key] || {}, overrides[key]);
      });
      variants.forEach(definition => {
        const classKey = (0,_propsToClassKey_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(definition.props);
        stylesWithOverrides[classKey] = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(stylesWithOverrides[classKey] || {}, definition.style);
      });
      return stylesWithOverrides;
    },
    options: {}
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getStylesCreator/noopTheme.js"
/*!***************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getStylesCreator/noopTheme.js ***!
  \***************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
// We use the same empty object to ref count the styles that don't need a theme object.
const noopTheme = {};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (noopTheme);

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getThemeProps/getThemeProps.js"
/*!****************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getThemeProps/getThemeProps.js ***!
  \****************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getThemeProps)
/* harmony export */ });
function getThemeProps(params) {
  const {
    theme,
    name,
    props
  } = params;
  if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
    return props;
  }
  const output = {
    ...props
  };

  // Resolve default props, code borrow from React source.
  // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221
  const defaultProps = theme.components[name].defaultProps;
  let propName;
  for (propName in defaultProps) {
    if (output[propName] === undefined) {
      output[propName] = defaultProps[propName];
    }
  }
  return output;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/jssPreset/jssPreset.js"
/*!********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/jssPreset/jssPreset.js ***!
  \********************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ jssPreset)
/* harmony export */ });
/* harmony import */ var jss_plugin_rule_value_function__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss-plugin-rule-value-function */ "./node_modules/.pnpm/jss-plugin-rule-value-function@10.10.0/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js");
/* harmony import */ var jss_plugin_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss-plugin-global */ "./node_modules/.pnpm/jss-plugin-global@10.10.0/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js");
/* harmony import */ var jss_plugin_nested__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! jss-plugin-nested */ "./node_modules/.pnpm/jss-plugin-nested@10.10.0/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js");
/* harmony import */ var jss_plugin_camel_case__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! jss-plugin-camel-case */ "./node_modules/.pnpm/jss-plugin-camel-case@10.10.0/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js");
/* harmony import */ var jss_plugin_default_unit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! jss-plugin-default-unit */ "./node_modules/.pnpm/jss-plugin-default-unit@10.10.0/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js");
/* harmony import */ var jss_plugin_vendor_prefixer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! jss-plugin-vendor-prefixer */ "./node_modules/.pnpm/jss-plugin-vendor-prefixer@10.10.0/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js");
/* harmony import */ var jss_plugin_props_sort__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! jss-plugin-props-sort */ "./node_modules/.pnpm/jss-plugin-props-sort@10.10.0/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js");








// Subset of jss-preset-default with only the plugins the MUI components are using.
function jssPreset() {
  return {
    plugins: [(0,jss_plugin_rule_value_function__WEBPACK_IMPORTED_MODULE_0__["default"])(), (0,jss_plugin_global__WEBPACK_IMPORTED_MODULE_1__["default"])(), (0,jss_plugin_nested__WEBPACK_IMPORTED_MODULE_2__["default"])(), (0,jss_plugin_camel_case__WEBPACK_IMPORTED_MODULE_3__["default"])(), (0,jss_plugin_default_unit__WEBPACK_IMPORTED_MODULE_4__["default"])(),
    // Disable the vendor prefixer server-side, it does nothing.
    // This way, we can get a performance boost.
    // In the documentation, we are using `autoprefixer` to solve this problem.
    typeof window === 'undefined' ? null : (0,jss_plugin_vendor_prefixer__WEBPACK_IMPORTED_MODULE_5__["default"])(), (0,jss_plugin_props_sort__WEBPACK_IMPORTED_MODULE_6__["default"])()]
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/indexCounter.js"
/*!************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/indexCounter.js ***!
  \************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   increment: () => (/* binding */ increment)
/* harmony export */ });
/* eslint-disable import/prefer-default-export */
// Global index counter to preserve source order.
// We create the style sheet during the creation of the component,
// children are handled after the parents, so the order of style elements would be parent->child.
// It is a problem though when a parent passes a className
// which needs to override any child's styles.
// StyleSheet of the child has a higher specificity, because of the source order.
// So our solution is to render sheets them in the reverse order child->sheet, so
// that parent has a higher specificity.
let indexCounter = -1e9;
function increment() {
  indexCounter += 1;
  if (true) {
    if (indexCounter >= 0) {
      console.warn(['MUI: You might have a memory leak.', 'The indexCounter is not supposed to grow that much.'].join('\n'));
    }
  }
  return indexCounter;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/makeStyles.js"
/*!**********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/makeStyles.js ***!
  \**********************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ makeStyles)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ "./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js");
/* harmony import */ var _mergeClasses_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../mergeClasses/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/mergeClasses/mergeClasses.js");
/* harmony import */ var _multiKeyStore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./multiKeyStore.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/multiKeyStore.js");
/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/useTheme/index.js");
/* harmony import */ var _StylesProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../StylesProvider/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/StylesProvider/StylesProvider.js");
/* harmony import */ var _indexCounter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./indexCounter.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/indexCounter.js");
/* harmony import */ var _getStylesCreator_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../getStylesCreator/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js");
/* harmony import */ var _getStylesCreator_noopTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../getStylesCreator/noopTheme.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getStylesCreator/noopTheme.js");
'use client';










function getClasses({
  state,
  stylesOptions
}, classes, Component) {
  if (stylesOptions.disableGeneration) {
    return classes || {};
  }
  if (!state.cacheClasses) {
    state.cacheClasses = {
      // Cache for the finalized classes value.
      value: null,
      // Cache for the last used classes prop pointer.
      lastProp: null,
      // Cache for the last used rendered classes pointer.
      lastJSS: {}
    };
  }

  // Tracks if either the rendered classes or classes prop has changed,
  // requiring the generation of a new finalized classes object.
  let generate = false;
  if (state.classes !== state.cacheClasses.lastJSS) {
    state.cacheClasses.lastJSS = state.classes;
    generate = true;
  }
  if (classes !== state.cacheClasses.lastProp) {
    state.cacheClasses.lastProp = classes;
    generate = true;
  }
  if (generate) {
    state.cacheClasses.value = (0,_mergeClasses_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
      baseClasses: state.cacheClasses.lastJSS,
      newClasses: classes,
      Component
    });
  }
  return state.cacheClasses.value;
}
function attach({
  state,
  theme,
  stylesOptions,
  stylesCreator,
  name
}, props) {
  if (stylesOptions.disableGeneration) {
    return;
  }
  let sheetManager = _multiKeyStore_js__WEBPACK_IMPORTED_MODULE_3__["default"].get(stylesOptions.sheetsManager, stylesCreator, theme);
  if (!sheetManager) {
    sheetManager = {
      refs: 0,
      staticSheet: null,
      dynamicStyles: null
    };
    _multiKeyStore_js__WEBPACK_IMPORTED_MODULE_3__["default"].set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
  }
  const options = {
    ...stylesCreator.options,
    ...stylesOptions,
    theme,
    flip: typeof stylesOptions.flip === 'boolean' ? stylesOptions.flip : theme.direction === 'rtl'
  };
  options.generateId = options.serverGenerateClassName || options.generateClassName;
  const sheetsRegistry = stylesOptions.sheetsRegistry;
  if (sheetManager.refs === 0) {
    let staticSheet;
    if (stylesOptions.sheetsCache) {
      staticSheet = _multiKeyStore_js__WEBPACK_IMPORTED_MODULE_3__["default"].get(stylesOptions.sheetsCache, stylesCreator, theme);
    }
    const styles = stylesCreator.create(theme, name);
    if (!staticSheet) {
      staticSheet = stylesOptions.jss.createStyleSheet(styles, {
        link: false,
        ...options
      });
      staticSheet.attach();
      if (stylesOptions.sheetsCache) {
        _multiKeyStore_js__WEBPACK_IMPORTED_MODULE_3__["default"].set(stylesOptions.sheetsCache, stylesCreator, theme, staticSheet);
      }
    }
    if (sheetsRegistry) {
      sheetsRegistry.add(staticSheet);
    }
    sheetManager.staticSheet = staticSheet;
    sheetManager.dynamicStyles = (0,jss__WEBPACK_IMPORTED_MODULE_1__.getDynamicStyles)(styles);
  }
  if (sheetManager.dynamicStyles) {
    const dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, {
      link: true,
      ...options
    });
    dynamicSheet.update(props);
    dynamicSheet.attach();
    state.dynamicSheet = dynamicSheet;
    state.classes = (0,_mergeClasses_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
      baseClasses: sheetManager.staticSheet.classes,
      newClasses: dynamicSheet.classes
    });
    if (sheetsRegistry) {
      sheetsRegistry.add(dynamicSheet);
    }
  } else {
    state.classes = sheetManager.staticSheet.classes;
  }
  sheetManager.refs += 1;
}
function update({
  state
}, props) {
  if (state.dynamicSheet) {
    state.dynamicSheet.update(props);
  }
}
function detach({
  state,
  theme,
  stylesOptions,
  stylesCreator
}) {
  if (stylesOptions.disableGeneration) {
    return;
  }
  const sheetManager = _multiKeyStore_js__WEBPACK_IMPORTED_MODULE_3__["default"].get(stylesOptions.sheetsManager, stylesCreator, theme);
  sheetManager.refs -= 1;
  const sheetsRegistry = stylesOptions.sheetsRegistry;
  if (sheetManager.refs === 0) {
    _multiKeyStore_js__WEBPACK_IMPORTED_MODULE_3__["default"].delete(stylesOptions.sheetsManager, stylesCreator, theme);
    stylesOptions.jss.removeStyleSheet(sheetManager.staticSheet);
    if (sheetsRegistry) {
      sheetsRegistry.remove(sheetManager.staticSheet);
    }
  }
  if (state.dynamicSheet) {
    stylesOptions.jss.removeStyleSheet(state.dynamicSheet);
    if (sheetsRegistry) {
      sheetsRegistry.remove(state.dynamicSheet);
    }
  }
}
function useSynchronousEffect(func, values) {
  const key = react__WEBPACK_IMPORTED_MODULE_0__.useRef([]);
  let output;

  // Store "generation" key. Just returns a new object every time
  // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
  const currentKey = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({}), values); // eslint-disable-line react-hooks/exhaustive-deps

  // "the first render", or "memo dropped the value"
  if (key.current !== currentKey) {
    key.current = currentKey;
    output = func();
  }
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => () => {
    if (output) {
      output();
    }
  }, [currentKey] // eslint-disable-line react-hooks/exhaustive-deps
  );
}
function makeStyles(stylesOrCreator, options = {}) {
  const {
    // alias for classNamePrefix, if provided will listen to theme (required for theme.components[name].styleOverrides)
    name,
    // Help with debuggability.
    classNamePrefix: classNamePrefixOption,
    Component,
    defaultTheme = _getStylesCreator_noopTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"],
    ...stylesOptions2
  } = options;
  const stylesCreator = (0,_getStylesCreator_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(stylesOrCreator);
  const classNamePrefix = name || classNamePrefixOption || 'makeStyles';
  stylesCreator.options = {
    index: (0,_indexCounter_js__WEBPACK_IMPORTED_MODULE_6__.increment)(),
    name,
    meta: classNamePrefix,
    classNamePrefix
  };
  const useStyles = (props = {}) => {
    const theme = (0,_useTheme_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])() || defaultTheme;
    const stylesOptions = {
      ...react__WEBPACK_IMPORTED_MODULE_0__.useContext(_StylesProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.StylesContext),
      ...stylesOptions2
    };
    const instance = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
    const shouldUpdate = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
    useSynchronousEffect(() => {
      const current = {
        name,
        state: {},
        stylesCreator,
        stylesOptions,
        theme
      };
      attach(current, props);
      shouldUpdate.current = false;
      instance.current = current;
      return () => {
        detach(current);
      };
    }, [theme, stylesCreator]);
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (shouldUpdate.current) {
        update(instance.current, props);
      }
      shouldUpdate.current = true;
    });
    const classes = getClasses(instance.current, props.classes, Component);
    if (true) {
      // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
      // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes
      react__WEBPACK_IMPORTED_MODULE_0__.useDebugValue(classes);
    }
    if (true) {
      const supportedComponents = ['MuiAvatar', 'MuiBadge', 'MuiButton', 'MuiButtonGroup', 'MuiChip', 'MuiDivider', 'MuiFab', 'MuiPaper', 'MuiToolbar', 'MuiTypography', 'MuiAlert', 'MuiPagination', 'MuiPaginationItem', 'MuiSkeleton', 'MuiTimelineDot'];
      if (name && supportedComponents.includes(name) && props.variant && !classes[props.variant]) {
        console.error([`MUI: You are using a variant value \`${props.variant}\` for which you didn't define styles.`, `Please create a new variant matcher in your theme for this variant. To learn more about matchers visit https://mui.com/r/custom-component-variants.`].join('\n'));
      }
    }
    return classes;
  };
  return useStyles;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/multiKeyStore.js"
/*!*************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/multiKeyStore.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
// Used https://github.com/thinkloop/multi-key-cache as inspiration

const multiKeyStore = {
  set: (cache, key1, key2, value) => {
    let subCache = cache.get(key1);
    if (!subCache) {
      subCache = new Map();
      cache.set(key1, subCache);
    }
    subCache.set(key2, value);
  },
  get: (cache, key1, key2) => {
    const subCache = cache.get(key1);
    return subCache ? subCache.get(key2) : undefined;
  },
  delete: (cache, key1, key2) => {
    const subCache = cache.get(key1);
    subCache.delete(key2);
  }
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (multiKeyStore);

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/mergeClasses/mergeClasses.js"
/*!**************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/mergeClasses/mergeClasses.js ***!
  \**************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ mergeClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js");

function mergeClasses(options = {}) {
  const {
    baseClasses,
    newClasses,
    Component
  } = options;
  if (!newClasses) {
    return baseClasses;
  }
  const nextClasses = {
    ...baseClasses
  };
  if (true) {
    if (typeof newClasses === 'string') {
      console.error([`MUI: The value \`${newClasses}\` ` + `provided to the classes prop of ${(0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(Component)} is incorrect.`, 'You might want to use the className prop instead.'].join('\n'));
      return baseClasses;
    }
  }
  Object.keys(newClasses).forEach(key => {
    if (true) {
      if (!baseClasses[key] && newClasses[key]) {
        console.error([`MUI: The key \`${key}\` ` + `provided to the classes prop is not implemented in ${(0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(Component)}.`, `You can only override one of the following: ${Object.keys(baseClasses).join(',')}.`].join('\n'));
      }
      if (newClasses[key] && typeof newClasses[key] !== 'string') {
        console.error([`MUI: The key \`${key}\` ` + `provided to the classes prop is not valid for ${(0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(Component)}.`, `You need to provide a non empty string instead of: ${newClasses[key]}.`].join('\n'));
      }
    }
    if (newClasses[key]) {
      nextClasses[key] = `${baseClasses[key]} ${newClasses[key]}`;
    }
  });
  return nextClasses;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js"
/*!********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/propsToClassKey/propsToClassKey.js ***!
  \********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ propsToClassKey)
/* harmony export */ });
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js");

function isEmpty(string) {
  return string.length === 0;
}

/**
 * Generates string classKey based on the properties provided. It starts with the
 * variant if defined, and then it appends all other properties in alphabetical order.
 * @param {object} props - the properties for which the classKey should be created
 */
function propsToClassKey(props) {
  const {
    variant,
    ...other
  } = props;
  let classKey = variant || '';
  Object.keys(other).sort().forEach(key => {
    if (key === 'color') {
      classKey += isEmpty(classKey) ? props[key] : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(props[key]);
    } else {
      classKey += `${isEmpty(classKey) ? key : (0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(key)}${(0,_mui_utils__WEBPACK_IMPORTED_MODULE_0__["default"])(props[key].toString())}`;
    }
  });
  return classKey;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/useTheme/index.js"
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/useTheme/index.js ***!
  \***************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useTheme)
/* harmony export */ });
/* harmony import */ var _mui_private_theming_useTheme__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/private-theming/useTheme */ "./node_modules/.pnpm/@mui+private-theming@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/useTheme/useTheme.js");

function useTheme() {
  const privateTheme = (0,_mui_private_theming_useTheme__WEBPACK_IMPORTED_MODULE_0__["default"])();
  return privateTheme?.$$material ?? privateTheme;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/withStyles/withStyles.js"
/*!**********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/withStyles/withStyles.js ***!
  \**********************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js");
/* harmony import */ var _makeStyles_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../makeStyles/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/makeStyles.js");
/* harmony import */ var _getThemeProps_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../getThemeProps/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/getThemeProps/getThemeProps.js");
/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/useTheme/index.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");








// Link a style sheet with a component.
// It does not modify the component passed to it;
// instead, it returns a new component, with a `classes` property.

const withStyles = (stylesOrCreator, options = {}) => Component => {
  const {
    defaultTheme,
    withTheme = false,
    name,
    ...stylesOptions
  } = options;
  if (true) {
    if (Component === undefined) {
      throw new Error(['You are calling withStyles(styles)(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\n'));
    }
  }
  let classNamePrefix = name;
  if (true) {
    if (!name) {
      // Provide a better DX outside production.
      const displayName = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__["default"])(Component);
      if (displayName !== undefined) {
        classNamePrefix = displayName;
      }
    }
  }
  const useStyles = (0,_makeStyles_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(stylesOrCreator, {
    defaultTheme,
    Component,
    name: name || Component.displayName,
    classNamePrefix,
    ...stylesOptions
  });
  const WithStyles = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function WithStyles(props, ref) {
    const {
      classes: classesProp,
      ...other
    } = props;
    // The wrapper receives only user supplied props, which could be a subset of
    // the actual props Component might receive due to merging with defaultProps.
    // So copying it here would give us the same result in the wrapper as well.
    const classes = useStyles({
      ...Component.defaultProps,
      ...props
    });
    let theme;
    let more = other;
    if (typeof name === 'string' || withTheme) {
      // name and withTheme are invariant in the outer scope
      // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
      // eslint-disable-next-line react-hooks/rules-of-hooks
      theme = (0,_useTheme_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])() || defaultTheme;
      if (name) {
        more = (0,_getThemeProps_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])({
          theme,
          name,
          props: other
        });
      }

      // Provide the theme to the wrapped component.
      // So we don't have to use the `withTheme()` Higher-order Component.
      if (withTheme && !more.theme) {
        more.theme = theme;
      }
    }
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(Component, {
      ref: ref,
      classes: classes,
      ...more
    });
  });
   true ? WithStyles.propTypes = {
    /**
     * Override or extend the styles applied to the component.
     */
    classes: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)
  } : 0;
  if (true) {
    WithStyles.displayName = `WithStyles(${(0,_mui_utils__WEBPACK_IMPORTED_MODULE_3__["default"])(Component)})`;
  }
  hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default()(WithStyles, Component);
  if (true) {
    // Exposed for test purposes.
    WithStyles.Naked = Component;
    WithStyles.options = options;
    WithStyles.useStyles = useStyles;
  }
  return WithStyles;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withStyles);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js"
/*!***********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js ***!
  \***********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ HTMLElementType)
/* harmony export */ });
function HTMLElementType(props, propName, componentName, location, propFullName) {
  if (false) // removed by dead control flow
{}
  const propValue = props[propName];
  const safePropName = propFullName || propName;
  if (propValue == null) {
    return null;
  }
  if (propValue && propValue.nodeType !== 1) {
    return new Error(`Invalid ${location} \`${safePropName}\` supplied to \`${componentName}\`. ` + `Expected an HTMLElement.`);
  }
  return null;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js"
/*!*********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js ***!
  \*********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ chainPropTypes)
/* harmony export */ });
function chainPropTypes(propType1, propType2) {
  if (false) // removed by dead control flow
{}
  return function validate(...args) {
    return propType1(...args) || propType2(...args);
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js"
/*!*********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js ***!
  \*********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ composeClasses)
/* harmony export */ });
function composeClasses(slots, getUtilityClass, classes = undefined) {
  const output = {};
  Object.keys(slots).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
  slot => {
    output[slot] = slots[slot].reduce((acc, key) => {
      if (key) {
        const utilityClass = getUtilityClass(key);
        if (utilityClass !== '') {
          acc.push(utilityClass);
        }
        if (classes && classes[key]) {
          acc.push(classes[key]);
        }
      }
      return acc;
    }, []).join(' ');
  });
  return output;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js"
/*!*******************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js ***!
  \*******************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useControlled)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
'use client';

/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */

function useControlled({
  controlled,
  default: defaultProp,
  name,
  state = 'value'
}) {
  // isControlled is ignored in the hook dependency lists as it should never change.
  const {
    current: isControlled
  } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(controlled !== undefined);
  const [valueState, setValue] = react__WEBPACK_IMPORTED_MODULE_0__.useState(defaultProp);
  const value = isControlled ? controlled : valueState;
  if (true) {
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (isControlled !== (controlled !== undefined)) {
        console.error([`MUI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", 'More info: https://fb.me/react-controlled-components'].join('\n'));
      }
    }, [state, name, controlled]);
    const {
      current: defaultValue
    } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(defaultProp);
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (!isControlled && !Object.is(defaultValue, defaultProp)) {
        console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\n'));
      }
    }, [JSON.stringify(defaultProp)]);
  }
  const setValueIfUncontrolled = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newValue => {
    if (!isControlled) {
      setValue(newValue);
    }
  }, []);
  return [value, setValueIfUncontrolled];
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js"
/*!***************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js ***!
  \***************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
'use client';



/**
 * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
 * This is useful for effects that are only needed for client-side rendering but not for SSR.
 *
 * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
 * and confirm it doesn't apply to your use-case.
 */
const useEnhancedEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEnhancedEffect);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js"
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js ***!
  \*************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
'use client';




/**
 * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
 * See RFC in https://github.com/reactjs/rfcs/pull/220
 */

function useEventCallback(fn) {
  const ref = react__WEBPACK_IMPORTED_MODULE_0__.useRef(fn);
  (0,_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__["default"])(() => {
    ref.current = fn;
  });
  return react__WEBPACK_IMPORTED_MODULE_0__.useRef((...args) =>
  // @ts-expect-error hide `this`
  (0, ref.current)(...args)).current;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEventCallback);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js"
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js ***!
  \***************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useId)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
'use client';


let globalId = 0;
function useGlobalId(idOverride) {
  const [defaultId, setDefaultId] = react__WEBPACK_IMPORTED_MODULE_0__.useState(idOverride);
  const id = idOverride || defaultId;
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (defaultId == null) {
      // Fallback to this default id when possible.
      // Use the incrementing value for client-side rendering only.
      // We can't use it server-side.
      // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem
      globalId += 1;
      setDefaultId(`mui-${globalId}`);
    }
  }, [defaultId]);
  return id;
}

// downstream bundlers may remove unnecessary concatenation, but won't remove toString call -- Workaround for https://github.com/webpack/webpack/issues/14814
const maybeReactUseId = react__WEBPACK_IMPORTED_MODULE_0__['useId'.toString()];
/**
 *
 * @example <div id={useId()} />
 * @param idOverride
 * @returns {string}
 */
function useId(idOverride) {
  if (maybeReactUseId !== undefined) {
    const reactId = maybeReactUseId();
    return idOverride != null ? idOverride : reactId;
  }
  // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.
  return useGlobalId(idOverride);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js"
/*!************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js ***!
  \************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ capitalize)
/* harmony export */ });

// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
//
// A strict capitalization should uppercase the first letter of each word in the sentence.
// We only handle the first word.
function capitalize(string) {
  if (typeof string !== 'string') {
    throw new Error( true ? 'MUI: `capitalize(string)` expects a string argument.' : 0);
  }
  return string.charAt(0).toUpperCase() + string.slice(1);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js"
/*!**********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js ***!
  \**********************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ deepmerge),
/* harmony export */   isPlainObject: () => (/* binding */ isPlainObject)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");



// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
function isPlainObject(item) {
  if (typeof item !== 'object' || item === null) {
    return false;
  }
  const prototype = Object.getPrototypeOf(item);
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
}
function deepClone(source) {
  if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(source) || (0,react_is__WEBPACK_IMPORTED_MODULE_1__.isValidElementType)(source) || !isPlainObject(source)) {
    return source;
  }
  const output = {};
  Object.keys(source).forEach(key => {
    output[key] = deepClone(source[key]);
  });
  return output;
}

/**
 * Merge objects deeply.
 * It will shallow copy React elements.
 *
 * If `options.clone` is set to `false` the source object will be merged directly into the target object.
 *
 * @example
 * ```ts
 * deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
 * // => { a: { b: 1, c: 2 }, d: 4 }
 * ````
 *
 * @param target The target object.
 * @param source The source object.
 * @param options The merge options.
 * @param options.clone Set to `false` to merge the source object directly into the target object.
 * @returns The merged object.
 */
function deepmerge(target, source, options = {
  clone: true
}) {
  const output = options.clone ? {
    ...target
  } : target;
  if (isPlainObject(target) && isPlainObject(source)) {
    Object.keys(source).forEach(key => {
      if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(source[key]) || (0,react_is__WEBPACK_IMPORTED_MODULE_1__.isValidElementType)(source[key])) {
        output[key] = source[key];
      } else if (isPlainObject(source[key]) &&
      // Avoid prototype pollution
      Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
        // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
        output[key] = deepmerge(target[key], source[key], options);
      } else if (options.clone) {
        output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
      } else {
        output[key] = source[key];
      }
    });
  }
  return output;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js"
/*!**********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js ***!
  \**********************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ exactProp)
/* harmony export */ });
// This module is based on https://github.com/airbnb/prop-types-exact repository.
// However, in order to reduce the number of dependencies and to remove some extra safe checks
// the module was forked.

const specialProperty = 'exact-prop: \u200b';
function exactProp(propTypes) {
  if (false) // removed by dead control flow
{}
  return {
    ...propTypes,
    [specialProperty]: props => {
      const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));
      if (unsupportedProps.length > 0) {
        return new Error(`The following props are not supported: ${unsupportedProps.map(prop => `\`${prop}\``).join(', ')}. Please remove them.`);
      }
      return null;
    }
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js"
/*!********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@6.4.9_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js ***!
  \********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getDisplayName)
/* harmony export */ });
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");

function getFunctionComponentName(Component, fallback = '') {
  return Component.displayName || Component.name || fallback;
}
function getWrappedName(outerType, innerType, wrapperName) {
  const functionName = getFunctionComponentName(innerType);
  return outerType.displayName || (functionName !== '' ? `${wrapperName}(${functionName})` : wrapperName);
}

/**
 * cherry-pick from
 * https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js
 * originally forked from recompose/getDisplayName
 */
function getDisplayName(Component) {
  if (Component == null) {
    return undefined;
  }
  if (typeof Component === 'string') {
    return Component;
  }
  if (typeof Component === 'function') {
    return getFunctionComponentName(Component, 'Component');
  }

  // TypeScript can't have components as objects but they exist in the form of `memo` or `Suspense`
  if (typeof Component === 'object') {
    switch (Component.$$typeof) {
      case react_is__WEBPACK_IMPORTED_MODULE_0__.ForwardRef:
        return getWrappedName(Component, Component.render, 'ForwardRef');
      case react_is__WEBPACK_IMPORTED_MODULE_0__.Memo:
        return getWrappedName(Component, Component.type, 'memo');
      default:
        return undefined;
    }
  }
  return undefined;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/DataGrid.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/DataGrid.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DataGrid: () => (/* binding */ DataGrid)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridRoot.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridBody.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridErrorHandler.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridFooterPlaceholder.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridHeaderPlaceholder.js");
/* harmony import */ var _context_GridContextProvider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../context/GridContextProvider */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/context/GridContextProvider.js");
/* harmony import */ var _useDataGridComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./useDataGridComponent */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/useDataGridComponent.js");
/* harmony import */ var _useDataGridProps__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./useDataGridProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/useDataGridProps.js");
/* harmony import */ var _components_DataGridVirtualScroller__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../components/DataGridVirtualScroller */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/DataGridVirtualScroller.js");
/* harmony import */ var _components_DataGridColumnHeaders__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../components/DataGridColumnHeaders */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/DataGridColumnHeaders.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");











const DataGridRaw = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function DataGrid(inProps, ref) {
  const props = (0,_useDataGridProps__WEBPACK_IMPORTED_MODULE_10__.useDataGridProps)(inProps);
  const apiRef = (0,_useDataGridComponent__WEBPACK_IMPORTED_MODULE_9__.useDataGridComponent)(props);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_context_GridContextProvider__WEBPACK_IMPORTED_MODULE_8__.GridContextProvider, {
    apiRef: apiRef,
    props: props,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components__WEBPACK_IMPORTED_MODULE_3__.GridRoot, {
      className: props.className,
      style: props.style,
      sx: props.sx,
      ref: ref,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(_components__WEBPACK_IMPORTED_MODULE_5__.GridErrorHandler, {
        children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.GridHeaderPlaceholder, {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components__WEBPACK_IMPORTED_MODULE_4__.GridBody, {
          ColumnHeadersComponent: _components_DataGridColumnHeaders__WEBPACK_IMPORTED_MODULE_12__.DataGridColumnHeaders,
          VirtualScrollerComponent: _components_DataGridVirtualScroller__WEBPACK_IMPORTED_MODULE_11__.DataGridVirtualScroller
        }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components__WEBPACK_IMPORTED_MODULE_6__.GridFooterPlaceholder, {})]
      })
    })
  });
});
const DataGrid = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.memo(DataGridRaw);
DataGridRaw.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * The label of the grid.
   */
  'aria-label': (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),

  /**
   * The id of the element containing a label for the grid.
   */
  'aria-labelledby': (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),

  /**
   * If `true`, the grid height is dynamic and follow the number of rows in the grid.
   * @default false
   */
  autoHeight: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar.
   * @default false
   */
  autoPageSize: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * Controls the modes of the cells.
   */
  cellModesModel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * If `true`, the grid get a first column with a checkbox that allows to select rows.
   * @default false
   */
  checkboxSelection: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * Override or extend the styles applied to the component.
   */
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Number of extra columns to be rendered before/after the visible slice.
   * @default 3
   */
  columnBuffer: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  columnGroupingModel: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)),

  /**
   * Set of columns of type [[GridColumns]].
   */
  columns: (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__["default"])((prop_types__WEBPACK_IMPORTED_MODULE_1___default().array).isRequired, props => {
    // @ts-ignore because otherwise `build:api` doesn't work
    if (props.columns && props.columns.some(column => column.resizable)) {
      return new Error([`MUI: \`column.resizable = true\` is not a valid prop.`, 'Column resizing is not available in the MIT version.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
    }

    return null;
  }),

  /**
   * Number of rows from the `columnBuffer` that can be visible before a new slice is rendered.
   * @default 3
   */
  columnThreshold: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * Extend native column types with your new column types.
   */
  columnTypes: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Set the column visibility model of the grid.
   * If defined, the grid will ignore the `hide` property in [[GridColDef]].
   */
  columnVisibilityModel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Overrideable components.
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Overrideable components props dynamically passed to the component at rendering.
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Set the density of the grid.
   * @default "standard"
   */
  density: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['comfortable', 'compact', 'standard']),

  /**
   * If `true`, column filters are disabled.
   * @default false
   */
  disableColumnFilter: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the column menu is disabled.
   * @default false
   */
  disableColumnMenu: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, hiding/showing columns is disabled.
   * @default false
   */
  disableColumnSelector: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the density selector is disabled.
   * @default false
   */
  disableDensitySelector: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, rows will not be extended to fill the full width of the grid container.
   * @default false
   */
  disableExtendRowFullWidth: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, modification to a cell will not be discarded if the mode is changed from "edit" to "view" while processing props.
   * @default false
   */
  disableIgnoreModificationsIfProcessingProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the selection on click on a row or cell is disabled.
   * @default false
   */
  disableSelectionOnClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the virtualization is disabled.
   * @default false
   */
  disableVirtualization: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * Controls whether to use the cell or row editing.
   * @default "cell"
   */
  editMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['cell', 'row']),

  /**
   * Set the edit rows model of the grid.
   */
  editRowsModel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * An error that will turn the grid into its error state and display the error component.
   */
  error: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any),

  /**
   * Features under development.
   * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
   */
  experimentalFeatures: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    columnGrouping: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
    newEditingApi: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
    preventCommitWhileValidating: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
    warnIfFocusStateIsNotSynced: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
  }),

  /**
   * Filtering can be processed on the server or client-side.
   * Set it to 'server' if you would like to handle filtering on the server-side.
   * @default "client"
   */
  filterMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['client', 'server']),

  /**
   * Set the filter model of the grid.
   */
  filterModel: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
      columnField: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
      id: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)]),
      operatorValue: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
      value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any)
    })).isRequired,
    linkOperator: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['and', 'or']),
    quickFilterLogicOperator: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['and', 'or']),
    quickFilterValues: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().array)
  }),

  /**
   * Function that applies CSS classes dynamically on cells.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @returns {string} The CSS class to apply to the cell.
   */
  getCellClassName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Function that returns the element to render in row detail.
   * @param {GridRowParams} params With all properties from [[GridRowParams]].
   * @returns {JSX.Element} The row detail element.
   */
  getDetailPanelContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Function that returns the estimated height for a row.
   * Only works if dynamic row height is used.
   * Once the row height is measured this value is discarded.
   * @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].
   * @returns {number | null} The estimated row height value. If `null` or `undefined` then the default row height, based on the density, is applied.
   */
  getEstimatedRowHeight: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Function that applies CSS classes dynamically on rows.
   * @param {GridRowClassNameParams} params With all properties from [[GridRowClassNameParams]].
   * @returns {string} The CSS class to apply to the row.
   */
  getRowClassName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Function that sets the row height per row.
   * @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].
   * @returns {GridRowHeightReturnValue} The row height value. If `null` or `undefined` then the default row height is applied. If "auto" then the row height is calculated based on the content.
   */
  getRowHeight: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Return the id of a given [[GridRowModel]].
   */
  getRowId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Function that allows to specify the spacing between rows.
   * @param {GridRowSpacingParams} params With all properties from [[GridRowSpacingParams]].
   * @returns {GridRowSpacing} The row spacing values.
   */
  getRowSpacing: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Set the height in pixel of the column headers in the grid.
   * @default 56
   */
  headerHeight: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * If `true`, the footer component is hidden.
   * @default false
   */
  hideFooter: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the pagination component in the footer is hidden.
   * @default false
   */
  hideFooterPagination: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the selected row count in the footer is hidden.
   * @default false
   */
  hideFooterSelectedRowCount: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * The initial state of the DataGrid.
   * The data in it will be set in the state on initialization but will not be controlled.
   * If one of the data in `initialState` is also being controlled, then the control state wins.
   */
  initialState: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Callback fired when a cell is rendered, returns true if the cell is editable.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @returns {boolean} A boolean indicating if the cell is editable.
   */
  isCellEditable: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Determines if a row can be selected.
   * @param {GridRowParams} params With all properties from [[GridRowParams]].
   * @returns {boolean} A boolean indicating if the cell is selectable.
   */
  isRowSelectable: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * If `true`, the selection model will retain selected rows that do not exist.
   * Useful when using server side pagination and row selections need to be retained
   * when changing pages.
   * @default false
   */
  keepNonExistentRowsSelected: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, a  loading overlay is displayed.
   */
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * Set the locale text of the grid.
   * You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
   */
  localeText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Pass a custom logger in the components that implements the [[Logger]] interface.
   * @default console
   */
  logger: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    debug: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
    error: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
    info: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
    warn: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired
  }),

  /**
   * Allows to pass the logging level or false to turn off logging.
   * @default "error" ("warn" in dev mode)
   */
  logLevel: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['debug', 'error', 'info', 'warn', false]),

  /**
   * Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute).
   */
  nonce: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),

  /**
   * Callback fired when any cell is clicked.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onCellClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a double click event comes from a cell element.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onCellDoubleClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the cell changes are committed.
   * @param {GridCellEditCommitParams} params With all properties from [[GridCellEditCommitParams]].
   * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onCellEditCommit: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the cell turns to edit mode.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.
   */
  onCellEditStart: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the cell turns to view mode.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.
   */
  onCellEditStop: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a cell loses focus.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @param {MuiEvent<MuiBaseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onCellFocusOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a keydown event comes from a cell element.
   * @param {GridCellParams} params With all properties from [[GridCellParams]].
   * @param {MuiEvent<React.KeyboardEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onCellKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the `cellModesModel` prop changes.
   * @param {GridCellModesModel} cellModesModel Object containig which cells are in "edit" mode.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onCellModesModelChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a click event comes from a column header element.
   * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnHeaderClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a double click event comes from a column header element.
   * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnHeaderDoubleClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a mouse enter event comes from a column header element.
   * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnHeaderEnter: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a mouse leave event comes from a column header element.
   * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnHeaderLeave: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a mouseout event comes from a column header element.
   * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnHeaderOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a mouseover event comes from a column header element.
   * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnHeaderOver: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a column is reordered.
   * @param {GridColumnOrderChangeParams} params With all properties from [[GridColumnOrderChangeParams]].
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnOrderChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a column visibility changes.
   * Only works when no `columnVisibilityModel` is provided and if we change the visibility of a single column at a time.
   * @param {GridColumnVisibilityChangeParams} params With all properties from [[GridColumnVisibilityChangeParams]].
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   * @deprecated Use `onColumnVisibilityModelChange` instead.
   */
  onColumnVisibilityChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the column visibility model changes.
   * @param {GridColumnVisibilityModel} model The new model.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onColumnVisibilityModelChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the edit cell value changes.
   * @param {GridEditCellPropsParams} params With all properties from [[GridEditCellPropsParams]].
   * @param {MuiEvent<React.SyntheticEvent>} event The event that caused this prop to be called.
   * @param {GridCallbackDetails} details Additional details for this callback.
   * @deprecated use `preProcessEditCellProps` from the [`GridColDef`](/x/api/data-grid/grid-col-def/)
   */
  onEditCellPropsChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the `editRowsModel` changes.
   * @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]].
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onEditRowsModelChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when an exception is thrown in the grid.
   * @param {any} args The arguments passed to the `showError` call.
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onError: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the Filter model changes before the filters are applied.
   * @param {GridFilterModel} model With all properties from [[GridFilterModel]].
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onFilterModelChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the menu is closed.
   * @param {GridMenuParams} params With all properties from [[GridMenuParams]].
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onMenuClose: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the menu is opened.
   * @param {GridMenuParams} params With all properties from [[GridMenuParams]].
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onMenuOpen: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the current page has changed.
   * @param {number} page Index of the page displayed on the Grid.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onPageChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the page size has changed.
   * @param {number} pageSize Size of the page displayed on the Grid.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onPageSizeChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the preferences panel is closed.
   * @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onPreferencePanelClose: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the preferences panel is opened.
   * @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onPreferencePanelOpen: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback called when `processRowUpdate` throws an error or rejects.
   * @param {any} error The error thrown.
   */
  onProcessRowUpdateError: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the grid is resized.
   * @param {ElementSize} containerSize With all properties from [[ElementSize]].
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onResize: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a row is clicked.
   * Not called if the target clicked is an interactive element added by the built-in columns.
   * @param {GridRowParams} params With all properties from [[GridRowParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onRowClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when a double click event comes from a row container element.
   * @param {GridRowParams} params With all properties from [[RowParams]].
   * @param {MuiEvent<React.MouseEvent>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onRowDoubleClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the row changes are committed.
   * @param {GridRowId} id The row id.
   * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.
   */
  onRowEditCommit: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the row turns to edit mode.
   * @param {GridRowParams} params With all properties from [[GridRowParams]].
   * @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.
   */
  onRowEditStart: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the row turns to view mode.
   * @param {GridRowParams} params With all properties from [[GridRowParams]].
   * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.
   */
  onRowEditStop: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the `rowModesModel` prop changes.
   * @param {GridRowModesModel} rowModesModel Object containig which rows are in "edit" mode.
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onRowModesModelChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the selection state of one or multiple rows changes.
   * @param {GridSelectionModel} selectionModel With all the row ids [[GridSelectionModel]].
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onSelectionModelChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the sort model changes before a column is sorted.
   * @param {GridSortModel} model With all properties from [[GridSortModel]].
   * @param {GridCallbackDetails} details Additional details for this callback.
   */
  onSortModelChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Callback fired when the state of the grid is updated.
   * @param {GridState} state The new state.
   * @param {MuiEvent<{}>} event The event object.
   * @param {GridCallbackDetails} details Additional details for this callback.
   * @ignore - do not document.
   */
  onStateChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * The zero-based index of the current page.
   * @default 0
   */
  page: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * Set the number of rows in one page.
   * If some of the rows have children (for instance in the tree data), this number represents the amount of top level rows wanted on each page.
   * @default 100
   */
  pageSize: (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__["default"])((prop_types__WEBPACK_IMPORTED_MODULE_1___default().number), props => {
    if (props.pageSize && props.pageSize > _useDataGridProps__WEBPACK_IMPORTED_MODULE_10__.MAX_PAGE_SIZE) {
      return new Error([`MUI: \`<DataGrid pageSize={${props.pageSize}} />\` is not a valid prop.`, `Only page size below ${_useDataGridProps__WEBPACK_IMPORTED_MODULE_10__.MAX_PAGE_SIZE} is available in the MIT version.`, '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
    }

    return null;
  }),
  pagination: props => {
    if (props.pagination === false) {
      return new Error(['MUI: `<DataGrid pagination={false} />` is not a valid prop.', 'Infinite scrolling is not available in the MIT version.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to disable the pagination.'].join('\n'));
    }

    return null;
  },

  /**
   * Pagination can be processed on the server or client-side.
   * Set it to 'client' if you would like to handle the pagination on the client-side.
   * Set it to 'server' if you would like to handle the pagination on the server-side.
   * @default "client"
   */
  paginationMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['client', 'server']),

  /**
   * Callback called before updating a row with new values in the row and cell editing.
   * Only applied if `props.experimentalFeatures.newEditingApi: true`.
   * @template R
   * @param {R} newRow Row object with the new values.
   * @param {R} oldRow Row object with the old values.
   * @returns {Promise<R> | R} The final values to update the row.
   */
  processRowUpdate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),

  /**
   * Number of extra rows to be rendered before/after the visible slice.
   * @default 3
   */
  rowBuffer: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * Set the total number of rows, if it is different from the length of the value `rows` prop.
   * If some rows have children (for instance in the tree data), this number represents the amount of top level rows.
   */
  rowCount: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * Set the height in pixel of a row in the grid.
   * @default 52
   */
  rowHeight: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * Controls the modes of the rows.
   */
  rowModesModel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),

  /**
   * Set of rows of type [[GridRowsProp]].
   */
  rows: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)).isRequired,

  /**
   * Sets the type of space between rows added by `getRowSpacing`.
   * @default "margin"
   */
  rowSpacingType: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['border', 'margin']),

  /**
   * Select the pageSize dynamically using the component UI.
   * @default [25, 50, 100]
   */
  rowsPerPageOptions: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)),

  /**
   * Number of rows from the `rowBuffer` that can be visible before a new slice is rendered.
   * @default 3
   */
  rowThreshold: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * Override the height/width of the grid inner scrollbar.
   */
  scrollbarSize: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),

  /**
   * Set the selection model of the grid.
   */
  selectionModel: (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().array)]), props => {
    if (!props.checkboxSelection && Array.isArray(props.selectionModel) && props.selectionModel.length > 1) {
      return new Error([`MUI: \`<DataGrid selectionModel={${JSON.stringify(props.selectionModel)}} />\` is not a valid prop.`, 'selectionModel can only be of 1 item in DataGrid.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock multiple selection.'].join('\n'));
    }

    return null;
  }),

  /**
   * If `true`, the right border of the cells are displayed.
   * @default false
   */
  showCellRightBorder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * If `true`, the right border of the column headers are displayed.
   * @default false
   */
  showColumnRightBorder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),

  /**
   * Sorting can be processed on the server or client-side.
   * Set it to 'client' if you would like to handle sorting on the client-side.
   * Set it to 'server' if you would like to handle sorting on the server-side.
   * @default "client"
   */
  sortingMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['client', 'server']),

  /**
   * The order of the sorting sequence.
   * @default ['asc', 'desc', null]
   */
  sortingOrder: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['asc', 'desc'])),

  /**
   * Set the sort model of the grid.
   */
  sortModel: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    field: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
    sort: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['asc', 'desc'])
  })),

  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)])
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/useDataGridComponent.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/useDataGridComponent.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useDataGridComponent: () => (/* binding */ useDataGridComponent)
/* harmony export */ });
/* harmony import */ var _hooks_core_useGridInitialization__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/core/useGridInitialization */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridInitialization.js");
/* harmony import */ var _hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/utils/useGridInitializeState */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridInitializeState.js");
/* harmony import */ var _hooks_features_clipboard_useGridClipboard__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/features/clipboard/useGridClipboard */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/clipboard/useGridClipboard.js");
/* harmony import */ var _hooks_features_columnMenu_useGridColumnMenu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/features/columnMenu/useGridColumnMenu */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnMenu/useGridColumnMenu.js");
/* harmony import */ var _hooks_features_columns_useGridColumns__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks/features/columns/useGridColumns */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/useGridColumns.js");
/* harmony import */ var _hooks_features_density_useGridDensity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/features/density/useGridDensity */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/useGridDensity.js");
/* harmony import */ var _hooks_features_export_useGridCsvExport__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/features/export/useGridCsvExport */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/useGridCsvExport.js");
/* harmony import */ var _hooks_features_export_useGridPrintExport__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/features/export/useGridPrintExport */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/useGridPrintExport.js");
/* harmony import */ var _hooks_features_filter_useGridFilter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/features/filter/useGridFilter */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/useGridFilter.js");
/* harmony import */ var _hooks_features_focus_useGridFocus__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../hooks/features/focus/useGridFocus */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/useGridFocus.js");
/* harmony import */ var _hooks_features_keyboardNavigation_useGridKeyboardNavigation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/features/keyboardNavigation/useGridKeyboardNavigation */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js");
/* harmony import */ var _hooks_features_pagination_useGridPagination__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../hooks/features/pagination/useGridPagination */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPagination.js");
/* harmony import */ var _hooks_features_preferencesPanel_useGridPreferencesPanel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../hooks/features/preferencesPanel/useGridPreferencesPanel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/useGridPreferencesPanel.js");
/* harmony import */ var _hooks_features_editRows_useGridEditing_old__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../hooks/features/editRows/useGridEditing.old */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridEditing.old.js");
/* harmony import */ var _hooks_features_editRows_useGridEditing_new__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../hooks/features/editRows/useGridEditing.new */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridEditing.new.js");
/* harmony import */ var _hooks_features_rows_useGridRows__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../hooks/features/rows/useGridRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRows.js");
/* harmony import */ var _hooks_features_rows_useGridRowsPreProcessors__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../hooks/features/rows/useGridRowsPreProcessors */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRowsPreProcessors.js");
/* harmony import */ var _hooks_features_rows_useGridParamsApi__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../hooks/features/rows/useGridParamsApi */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridParamsApi.js");
/* harmony import */ var _hooks_features_selection_useGridSelection__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../hooks/features/selection/useGridSelection */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/useGridSelection.js");
/* harmony import */ var _hooks_features_selection_useGridSelectionPreProcessors__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../hooks/features/selection/useGridSelectionPreProcessors */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/useGridSelectionPreProcessors.js");
/* harmony import */ var _hooks_features_sorting_useGridSorting__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../hooks/features/sorting/useGridSorting */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/useGridSorting.js");
/* harmony import */ var _hooks_features_scroll_useGridScroll__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../hooks/features/scroll/useGridScroll */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/scroll/useGridScroll.js");
/* harmony import */ var _hooks_features_events_useGridEvents__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../hooks/features/events/useGridEvents */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/events/useGridEvents.js");
/* harmony import */ var _hooks_features_dimensions_useGridDimensions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../hooks/features/dimensions/useGridDimensions */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/dimensions/useGridDimensions.js");
/* harmony import */ var _hooks_features_rows_useGridRowsMeta__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../hooks/features/rows/useGridRowsMeta */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRowsMeta.js");
/* harmony import */ var _hooks_features_statePersistence_useGridStatePersistence__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../hooks/features/statePersistence/useGridStatePersistence */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/statePersistence/useGridStatePersistence.js");
/* harmony import */ var _hooks_features_columns_useGridColumnSpanning__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../hooks/features/columns/useGridColumnSpanning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/useGridColumnSpanning.js");
/* harmony import */ var _hooks_features_columnGrouping_useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../hooks/features/columnGrouping/useGridColumnGrouping */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGrouping.js");
/* harmony import */ var _hooks_features_columnGrouping_useGridColumnGroupingPreProcessors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../hooks/features/columnGrouping/useGridColumnGroupingPreProcessors */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGroupingPreProcessors.js");





























const useDataGridComponent = props => {
  var _props$experimentalFe, _props$experimentalFe2;

  const apiRef = (0,_hooks_core_useGridInitialization__WEBPACK_IMPORTED_MODULE_0__.useGridInitialization)(undefined, props);
  /**
   * Register all pre-processors called during state initialization here.
   */

  (0,_hooks_features_columnGrouping_useGridColumnGroupingPreProcessors__WEBPACK_IMPORTED_MODULE_28__.useGridColumnGroupingPreProcessors)(apiRef, props);
  (0,_hooks_features_selection_useGridSelectionPreProcessors__WEBPACK_IMPORTED_MODULE_19__.useGridSelectionPreProcessors)(apiRef, props);
  (0,_hooks_features_rows_useGridRowsPreProcessors__WEBPACK_IMPORTED_MODULE_16__.useGridRowsPreProcessors)(apiRef);
  /**
   * Register all state initializers here.
   */

  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_selection_useGridSelection__WEBPACK_IMPORTED_MODULE_18__.selectionStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_columns_useGridColumns__WEBPACK_IMPORTED_MODULE_4__.columnsStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_columnGrouping_useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_27__.columnGroupsStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_rows_useGridRows__WEBPACK_IMPORTED_MODULE_15__.rowsStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)((_props$experimentalFe = props.experimentalFeatures) != null && _props$experimentalFe.newEditingApi ? _hooks_features_editRows_useGridEditing_new__WEBPACK_IMPORTED_MODULE_14__.editingStateInitializer : _hooks_features_editRows_useGridEditing_old__WEBPACK_IMPORTED_MODULE_13__.editingStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_focus_useGridFocus__WEBPACK_IMPORTED_MODULE_9__.focusStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_sorting_useGridSorting__WEBPACK_IMPORTED_MODULE_20__.sortingStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_preferencesPanel_useGridPreferencesPanel__WEBPACK_IMPORTED_MODULE_12__.preferencePanelStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_filter_useGridFilter__WEBPACK_IMPORTED_MODULE_8__.filterStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_density_useGridDensity__WEBPACK_IMPORTED_MODULE_5__.densityStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_pagination_useGridPagination__WEBPACK_IMPORTED_MODULE_11__.paginationStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_rows_useGridRowsMeta__WEBPACK_IMPORTED_MODULE_24__.rowsMetaStateInitializer, apiRef, props);
  (0,_hooks_utils_useGridInitializeState__WEBPACK_IMPORTED_MODULE_1__.useGridInitializeState)(_hooks_features_columnMenu_useGridColumnMenu__WEBPACK_IMPORTED_MODULE_3__.columnMenuStateInitializer, apiRef, props);
  (0,_hooks_features_keyboardNavigation_useGridKeyboardNavigation__WEBPACK_IMPORTED_MODULE_10__.useGridKeyboardNavigation)(apiRef, props);
  (0,_hooks_features_selection_useGridSelection__WEBPACK_IMPORTED_MODULE_18__.useGridSelection)(apiRef, props);
  (0,_hooks_features_columns_useGridColumns__WEBPACK_IMPORTED_MODULE_4__.useGridColumns)(apiRef, props);
  (0,_hooks_features_rows_useGridRows__WEBPACK_IMPORTED_MODULE_15__.useGridRows)(apiRef, props);
  (0,_hooks_features_rows_useGridParamsApi__WEBPACK_IMPORTED_MODULE_17__.useGridParamsApi)(apiRef);
  (0,_hooks_features_columns_useGridColumnSpanning__WEBPACK_IMPORTED_MODULE_26__.useGridColumnSpanning)(apiRef);
  (0,_hooks_features_columnGrouping_useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_27__.useGridColumnGrouping)(apiRef, props);
  const useGridEditing = (_props$experimentalFe2 = props.experimentalFeatures) != null && _props$experimentalFe2.newEditingApi ? _hooks_features_editRows_useGridEditing_new__WEBPACK_IMPORTED_MODULE_14__.useGridEditing : _hooks_features_editRows_useGridEditing_old__WEBPACK_IMPORTED_MODULE_13__.useGridEditing;
  useGridEditing(apiRef, props);
  (0,_hooks_features_focus_useGridFocus__WEBPACK_IMPORTED_MODULE_9__.useGridFocus)(apiRef, props);
  (0,_hooks_features_preferencesPanel_useGridPreferencesPanel__WEBPACK_IMPORTED_MODULE_12__.useGridPreferencesPanel)(apiRef, props);
  (0,_hooks_features_filter_useGridFilter__WEBPACK_IMPORTED_MODULE_8__.useGridFilter)(apiRef, props);
  (0,_hooks_features_sorting_useGridSorting__WEBPACK_IMPORTED_MODULE_20__.useGridSorting)(apiRef, props);
  (0,_hooks_features_density_useGridDensity__WEBPACK_IMPORTED_MODULE_5__.useGridDensity)(apiRef, props);
  (0,_hooks_features_pagination_useGridPagination__WEBPACK_IMPORTED_MODULE_11__.useGridPagination)(apiRef, props);
  (0,_hooks_features_rows_useGridRowsMeta__WEBPACK_IMPORTED_MODULE_24__.useGridRowsMeta)(apiRef, props);
  (0,_hooks_features_scroll_useGridScroll__WEBPACK_IMPORTED_MODULE_21__.useGridScroll)(apiRef, props);
  (0,_hooks_features_columnMenu_useGridColumnMenu__WEBPACK_IMPORTED_MODULE_3__.useGridColumnMenu)(apiRef);
  (0,_hooks_features_export_useGridCsvExport__WEBPACK_IMPORTED_MODULE_6__.useGridCsvExport)(apiRef);
  (0,_hooks_features_export_useGridPrintExport__WEBPACK_IMPORTED_MODULE_7__.useGridPrintExport)(apiRef, props);
  (0,_hooks_features_clipboard_useGridClipboard__WEBPACK_IMPORTED_MODULE_2__.useGridClipboard)(apiRef);
  (0,_hooks_features_dimensions_useGridDimensions__WEBPACK_IMPORTED_MODULE_23__.useGridDimensions)(apiRef, props);
  (0,_hooks_features_events_useGridEvents__WEBPACK_IMPORTED_MODULE_22__.useGridEvents)(apiRef, props);
  (0,_hooks_features_statePersistence_useGridStatePersistence__WEBPACK_IMPORTED_MODULE_25__.useGridStatePersistence)(apiRef);
  return apiRef;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/useDataGridProps.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/useDataGridProps.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DATA_GRID_PROPS_DEFAULT_VALUES: () => (/* binding */ DATA_GRID_PROPS_DEFAULT_VALUES),
/* harmony export */   MAX_PAGE_SIZE: () => (/* binding */ MAX_PAGE_SIZE),
/* harmony export */   useDataGridProps: () => (/* binding */ useDataGridProps)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constants */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/localeTextConstants.js");
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/defaultGridSlotsComponents.js");
/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../models */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../models */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFeatureMode.js");
/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../models */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridDensity.js");





const DATA_GRID_FORCED_PROPS = {
  apiRef: undefined,
  disableMultipleColumnsFiltering: true,
  disableMultipleColumnsSorting: true,
  disableMultipleSelection: true,
  throttleRowsMs: undefined,
  hideFooterRowCount: false,
  pagination: true,
  checkboxSelectionVisibleOnly: false,
  disableColumnReorder: true,
  disableColumnResize: true,
  keepColumnPositionIfDraggedOutside: false,
  signature: 'DataGrid'
};
const MAX_PAGE_SIZE = 100;
/**
 * The default values of `DataGridPropsWithDefaultValues` to inject in the props of DataGrid.
 */

const DATA_GRID_PROPS_DEFAULT_VALUES = {
  autoHeight: false,
  autoPageSize: false,
  checkboxSelection: false,
  checkboxSelectionVisibleOnly: false,
  columnBuffer: 3,
  rowBuffer: 3,
  columnThreshold: 3,
  rowThreshold: 3,
  density: _models__WEBPACK_IMPORTED_MODULE_7__.GridDensityTypes.Standard,
  disableExtendRowFullWidth: false,
  disableColumnFilter: false,
  disableColumnMenu: false,
  disableColumnSelector: false,
  disableDensitySelector: false,
  disableMultipleColumnsFiltering: false,
  disableMultipleSelection: false,
  disableMultipleColumnsSorting: false,
  disableSelectionOnClick: false,
  disableVirtualization: false,
  disableIgnoreModificationsIfProcessingProps: false,
  editMode: _models__WEBPACK_IMPORTED_MODULE_5__.GridEditModes.Cell,
  filterMode: _models__WEBPACK_IMPORTED_MODULE_6__.GridFeatureModeConstant.client,
  headerHeight: 56,
  hideFooter: false,
  hideFooterPagination: false,
  hideFooterRowCount: false,
  hideFooterSelectedRowCount: false,
  logger: console,
  logLevel:  false ? 0 : 'warn',
  pagination: false,
  paginationMode: _models__WEBPACK_IMPORTED_MODULE_6__.GridFeatureModeConstant.client,
  rowHeight: 52,
  rowsPerPageOptions: [25, 50, 100],
  rowSpacingType: 'margin',
  showCellRightBorder: false,
  showColumnRightBorder: false,
  sortingOrder: ['asc', 'desc', null],
  sortingMode: _models__WEBPACK_IMPORTED_MODULE_6__.GridFeatureModeConstant.client,
  throttleRowsMs: 0,
  disableColumnReorder: false,
  disableColumnResize: false,
  keepNonExistentRowsSelected: false,
  keepColumnPositionIfDraggedOutside: false
};
const useDataGridProps = inProps => {
  if (inProps.pageSize > MAX_PAGE_SIZE) {
    throw new Error(`'props.pageSize' cannot exceed 100 in DataGrid.`);
  }

  const themedProps = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_2__["default"])({
    props: inProps,
    name: 'MuiDataGrid'
  });
  const localeText = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _constants__WEBPACK_IMPORTED_MODULE_3__.GRID_DEFAULT_LOCALE_TEXT, themedProps.localeText), [themedProps.localeText]);
  const components = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    const overrides = themedProps.components;

    if (!overrides) {
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _constants__WEBPACK_IMPORTED_MODULE_4__.DATA_GRID_DEFAULT_SLOTS_COMPONENTS);
    }

    const mergedComponents = {};
    Object.entries(_constants__WEBPACK_IMPORTED_MODULE_4__.DATA_GRID_DEFAULT_SLOTS_COMPONENTS).forEach(([key, defaultComponent]) => {
      mergedComponents[key] = overrides[key] === undefined ? defaultComponent : overrides[key];
    });
    return mergedComponents;
  }, [themedProps.components]);
  return react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, DATA_GRID_PROPS_DEFAULT_VALUES, themedProps, {
    localeText,
    components
  }, DATA_GRID_FORCED_PROPS), [themedProps, localeText, components]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridActionsColDef.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridActionsColDef.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_ACTIONS_COLUMN_TYPE: () => (/* binding */ GRID_ACTIONS_COLUMN_TYPE),
/* harmony export */   GRID_ACTIONS_COL_DEF: () => (/* binding */ GRID_ACTIONS_COL_DEF)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _gridStringColDef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./gridStringColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js");
/* harmony import */ var _components_cell_GridActionsCell__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/cell/GridActionsCell */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridActionsCell.js");



const GRID_ACTIONS_COLUMN_TYPE = 'actions';
const GRID_ACTIONS_COL_DEF = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _gridStringColDef__WEBPACK_IMPORTED_MODULE_1__.GRID_STRING_COL_DEF, {
  sortable: false,
  filterable: false,
  // @ts-ignore
  aggregable: false,
  width: 100,
  align: 'center',
  headerAlign: 'center',
  headerName: '',
  disableColumnMenu: true,
  disableExport: true,
  renderCell: _components_cell_GridActionsCell__WEBPACK_IMPORTED_MODULE_2__.renderActionsCell,
  getApplyQuickFilterFn: undefined
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridBooleanColDef.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridBooleanColDef.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_BOOLEAN_COL_DEF: () => (/* binding */ GRID_BOOLEAN_COL_DEF)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _gridStringColDef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./gridStringColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js");
/* harmony import */ var _components_cell_GridBooleanCell__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/cell/GridBooleanCell */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridBooleanCell.js");
/* harmony import */ var _components_cell_GridEditBooleanCell__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components/cell/GridEditBooleanCell */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditBooleanCell.js");
/* harmony import */ var _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks/features/sorting/gridSortingUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingUtils.js");
/* harmony import */ var _gridBooleanOperators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./gridBooleanOperators */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridBooleanOperators.js");







function gridBooleanFormatter({
  value,
  api
}) {
  return value ? api.getLocaleText('booleanCellTrueLabel') : api.getLocaleText('booleanCellFalseLabel');
}

const GRID_BOOLEAN_COL_DEF = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _gridStringColDef__WEBPACK_IMPORTED_MODULE_1__.GRID_STRING_COL_DEF, {
  type: 'boolean',
  align: 'center',
  headerAlign: 'center',
  renderCell: _components_cell_GridBooleanCell__WEBPACK_IMPORTED_MODULE_2__.renderBooleanCell,
  renderEditCell: _components_cell_GridEditBooleanCell__WEBPACK_IMPORTED_MODULE_3__.renderEditBooleanCell,
  sortComparator: _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_4__.gridNumberComparator,
  valueFormatter: gridBooleanFormatter,
  filterOperators: (0,_gridBooleanOperators__WEBPACK_IMPORTED_MODULE_5__.getGridBooleanOperators)(),
  getApplyQuickFilterFn: undefined,
  // @ts-ignore
  aggregable: false
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridBooleanOperators.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridBooleanOperators.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getGridBooleanOperators: () => (/* binding */ getGridBooleanOperators)
/* harmony export */ });
/* harmony import */ var _components_panel_filterPanel_GridFilterInputBoolean__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputBoolean */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputBoolean.js");

const getGridBooleanOperators = () => [{
  value: 'is',
  getApplyFilterFn: filterItem => {
    if (!filterItem.value) {
      return null;
    }

    const valueAsBoolean = filterItem.value === 'true';
    return ({
      value
    }) => {
      return Boolean(value) === valueAsBoolean;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputBoolean__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputBoolean
}];

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridCheckboxSelectionColDef.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridCheckboxSelectionColDef.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_CHECKBOX_SELECTION_COL_DEF: () => (/* binding */ GRID_CHECKBOX_SELECTION_COL_DEF),
/* harmony export */   GRID_CHECKBOX_SELECTION_FIELD: () => (/* binding */ GRID_CHECKBOX_SELECTION_FIELD)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _components_columnSelection_GridCellCheckboxRenderer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/columnSelection/GridCellCheckboxRenderer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnSelection/GridCellCheckboxRenderer.js");
/* harmony import */ var _components_columnSelection_GridHeaderCheckbox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components/columnSelection/GridHeaderCheckbox */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnSelection/GridHeaderCheckbox.js");
/* harmony import */ var _hooks_features_selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks/features/selection/gridSelectionSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/gridSelectionSelector.js");
/* harmony import */ var _gridBooleanColDef__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./gridBooleanColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridBooleanColDef.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");







const GRID_CHECKBOX_SELECTION_FIELD = '__check__';
const GRID_CHECKBOX_SELECTION_COL_DEF = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _gridBooleanColDef__WEBPACK_IMPORTED_MODULE_5__.GRID_BOOLEAN_COL_DEF, {
  field: GRID_CHECKBOX_SELECTION_FIELD,
  type: 'checkboxSelection',
  width: 50,
  resizable: false,
  sortable: false,
  filterable: false,
  // @ts-ignore
  aggregable: false,
  disableColumnMenu: true,
  disableReorder: true,
  disableExport: true,
  getApplyQuickFilterFn: undefined,
  valueGetter: params => {
    const selectionLookup = (0,_hooks_features_selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_4__.selectedIdsLookupSelector)(params.api.state, params.api.instanceId);
    return selectionLookup[params.id] !== undefined;
  },
  renderHeader: params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_columnSelection_GridHeaderCheckbox__WEBPACK_IMPORTED_MODULE_3__.GridHeaderCheckbox, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params)),
  renderCell: params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_columnSelection_GridCellCheckboxRenderer__WEBPACK_IMPORTED_MODULE_2__.GridCellCheckboxRenderer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params))
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDateColDef.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDateColDef.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_DATETIME_COL_DEF: () => (/* binding */ GRID_DATETIME_COL_DEF),
/* harmony export */   GRID_DATE_COL_DEF: () => (/* binding */ GRID_DATE_COL_DEF),
/* harmony export */   gridDateFormatter: () => (/* binding */ gridDateFormatter),
/* harmony export */   gridDateTimeFormatter: () => (/* binding */ gridDateTimeFormatter)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/features/sorting/gridSortingUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingUtils.js");
/* harmony import */ var _gridDateOperators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gridDateOperators */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDateOperators.js");
/* harmony import */ var _gridStringColDef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gridStringColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js");
/* harmony import */ var _components_cell_GridEditDateCell__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/cell/GridEditDateCell */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditDateCell.js");





function gridDateFormatter({
  value
}) {
  if (value instanceof Date) {
    return value.toLocaleDateString();
  }

  return value != null ? value : '';
}
function gridDateTimeFormatter({
  value
}) {
  if (value instanceof Date) {
    return value.toLocaleString();
  }

  return value != null ? value : '';
}
const GRID_DATE_COL_DEF = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _gridStringColDef__WEBPACK_IMPORTED_MODULE_3__.GRID_STRING_COL_DEF, {
  type: 'date',
  sortComparator: _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_1__.gridDateComparator,
  valueFormatter: gridDateFormatter,
  filterOperators: (0,_gridDateOperators__WEBPACK_IMPORTED_MODULE_2__.getGridDateOperators)(),
  renderEditCell: _components_cell_GridEditDateCell__WEBPACK_IMPORTED_MODULE_4__.renderEditDateCell,
  getApplyQuickFilterFn: undefined
});
const GRID_DATETIME_COL_DEF = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _gridStringColDef__WEBPACK_IMPORTED_MODULE_3__.GRID_STRING_COL_DEF, {
  type: 'dateTime',
  sortComparator: _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_1__.gridDateComparator,
  valueFormatter: gridDateTimeFormatter,
  filterOperators: (0,_gridDateOperators__WEBPACK_IMPORTED_MODULE_2__.getGridDateOperators)(true),
  renderEditCell: _components_cell_GridEditDateCell__WEBPACK_IMPORTED_MODULE_4__.renderEditDateCell,
  getApplyQuickFilterFn: undefined
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDateOperators.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDateOperators.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getGridDateOperators: () => (/* binding */ getGridDateOperators)
/* harmony export */ });
/* harmony import */ var _components_panel_filterPanel_GridFilterInputDate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputDate */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputDate.js");

const dateRegex = /(\d+)-(\d+)-(\d+)/;
const dateTimeRegex = /(\d+)-(\d+)-(\d+)T(\d+):(\d+)/;

function buildApplyFilterFn(filterItem, compareFn, showTime, keepHours) {
  if (!filterItem.value) {
    return null;
  }

  const [year, month, day, hour, minute] = filterItem.value.match(showTime ? dateTimeRegex : dateRegex).slice(1).map(Number);
  const time = new Date(year, month - 1, day, hour || 0, minute || 0).getTime();
  return ({
    value
  }) => {
    if (!value) {
      return false;
    }

    const valueAsDate = value instanceof Date ? value : new Date(value.toString());

    if (keepHours) {
      return compareFn(valueAsDate.getTime(), time);
    } // Make a copy of the date to not reset the hours in the original object


    const dateCopy = value instanceof Date ? new Date(valueAsDate) : valueAsDate;
    const timeToCompare = dateCopy.setHours(showTime ? valueAsDate.getHours() : 0, showTime ? valueAsDate.getMinutes() : 0, 0, 0);
    return compareFn(timeToCompare, time);
  };
}

const getGridDateOperators = showTime => [{
  value: 'is',
  getApplyFilterFn: filterItem => {
    return buildApplyFilterFn(filterItem, (value1, value2) => value1 === value2, showTime);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputDate__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputDate,
  InputComponentProps: {
    type: showTime ? 'datetime-local' : 'date'
  }
}, {
  value: 'not',
  getApplyFilterFn: filterItem => {
    return buildApplyFilterFn(filterItem, (value1, value2) => value1 !== value2, showTime);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputDate__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputDate,
  InputComponentProps: {
    type: showTime ? 'datetime-local' : 'date'
  }
}, {
  value: 'after',
  getApplyFilterFn: filterItem => {
    return buildApplyFilterFn(filterItem, (value1, value2) => value1 > value2, showTime);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputDate__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputDate,
  InputComponentProps: {
    type: showTime ? 'datetime-local' : 'date'
  }
}, {
  value: 'onOrAfter',
  getApplyFilterFn: filterItem => {
    return buildApplyFilterFn(filterItem, (value1, value2) => value1 >= value2, showTime);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputDate__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputDate,
  InputComponentProps: {
    type: showTime ? 'datetime-local' : 'date'
  }
}, {
  value: 'before',
  getApplyFilterFn: filterItem => {
    return buildApplyFilterFn(filterItem, (value1, value2) => value1 < value2, showTime, !showTime);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputDate__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputDate,
  InputComponentProps: {
    type: showTime ? 'datetime-local' : 'date'
  }
}, {
  value: 'onOrBefore',
  getApplyFilterFn: filterItem => {
    return buildApplyFilterFn(filterItem, (value1, value2) => value1 <= value2, showTime);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputDate__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputDate,
  InputComponentProps: {
    type: showTime ? 'datetime-local' : 'date'
  }
}, {
  value: 'isEmpty',
  getApplyFilterFn: () => {
    return ({
      value
    }) => {
      return value == null;
    };
  },
  requiresFilterValue: false
}, {
  value: 'isNotEmpty',
  getApplyFilterFn: () => {
    return ({
      value
    }) => {
      return value != null;
    };
  },
  requiresFilterValue: false
}];

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDefaultColumnTypes.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDefaultColumnTypes.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DEFAULT_GRID_COL_TYPE_KEY: () => (/* binding */ DEFAULT_GRID_COL_TYPE_KEY),
/* harmony export */   getGridDefaultColumnTypes: () => (/* binding */ getGridDefaultColumnTypes)
/* harmony export */ });
/* harmony import */ var _gridStringColDef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gridStringColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js");
/* harmony import */ var _gridNumericColDef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./gridNumericColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridNumericColDef.js");
/* harmony import */ var _gridDateColDef__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gridDateColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDateColDef.js");
/* harmony import */ var _gridBooleanColDef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gridBooleanColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridBooleanColDef.js");
/* harmony import */ var _gridSingleSelectColDef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gridSingleSelectColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridSingleSelectColDef.js");
/* harmony import */ var _gridActionsColDef__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./gridActionsColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridActionsColDef.js");






const DEFAULT_GRID_COL_TYPE_KEY = '__default__';
const getGridDefaultColumnTypes = () => {
  const nativeColumnTypes = {
    string: _gridStringColDef__WEBPACK_IMPORTED_MODULE_0__.GRID_STRING_COL_DEF,
    number: _gridNumericColDef__WEBPACK_IMPORTED_MODULE_1__.GRID_NUMERIC_COL_DEF,
    date: _gridDateColDef__WEBPACK_IMPORTED_MODULE_2__.GRID_DATE_COL_DEF,
    dateTime: _gridDateColDef__WEBPACK_IMPORTED_MODULE_2__.GRID_DATETIME_COL_DEF,
    boolean: _gridBooleanColDef__WEBPACK_IMPORTED_MODULE_3__.GRID_BOOLEAN_COL_DEF,
    singleSelect: _gridSingleSelectColDef__WEBPACK_IMPORTED_MODULE_4__.GRID_SINGLE_SELECT_COL_DEF,
    [_gridActionsColDef__WEBPACK_IMPORTED_MODULE_5__.GRID_ACTIONS_COLUMN_TYPE]: _gridActionsColDef__WEBPACK_IMPORTED_MODULE_5__.GRID_ACTIONS_COL_DEF,
    [DEFAULT_GRID_COL_TYPE_KEY]: _gridStringColDef__WEBPACK_IMPORTED_MODULE_0__.GRID_STRING_COL_DEF
  };
  return nativeColumnTypes;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridNumericColDef.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridNumericColDef.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_NUMERIC_COL_DEF: () => (/* binding */ GRID_NUMERIC_COL_DEF)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/features/sorting/gridSortingUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingUtils.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _gridNumericOperators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gridNumericOperators */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridNumericOperators.js");
/* harmony import */ var _gridStringColDef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gridStringColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js");





const GRID_NUMERIC_COL_DEF = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _gridStringColDef__WEBPACK_IMPORTED_MODULE_4__.GRID_STRING_COL_DEF, {
  type: 'number',
  align: 'right',
  headerAlign: 'right',
  sortComparator: _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_1__.gridNumberComparator,
  valueParser: value => value === '' ? null : Number(value),
  valueFormatter: ({
    value
  }) => (0,_utils_utils__WEBPACK_IMPORTED_MODULE_2__.isNumber)(value) ? value.toLocaleString() : value || '',
  filterOperators: (0,_gridNumericOperators__WEBPACK_IMPORTED_MODULE_3__.getGridNumericOperators)(),
  getApplyQuickFilterFn: _gridNumericOperators__WEBPACK_IMPORTED_MODULE_3__.getGridNumericQuickFilterFn
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridNumericOperators.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridNumericOperators.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getGridNumericColumnOperators: () => (/* binding */ getGridNumericColumnOperators),
/* harmony export */   getGridNumericOperators: () => (/* binding */ getGridNumericOperators),
/* harmony export */   getGridNumericQuickFilterFn: () => (/* binding */ getGridNumericQuickFilterFn)
/* harmony export */ });
/* harmony import */ var _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputValue.js");
/* harmony import */ var _components_panel_filterPanel_GridFilterInputMultipleValue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputMultipleValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleValue.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");




const parseNumericValue = value => {
  if (value == null) {
    return null;
  }

  return Number(value);
};

const getGridNumericQuickFilterFn = value => {
  if (value == null || Number.isNaN(value) || value === '') {
    return null;
  }

  return ({
    value: columnValue
  }) => {
    return parseNumericValue(columnValue) === parseNumericValue(value);
  };
};
const getGridNumericOperators = () => [{
  label: '=',
  value: '=',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || Number.isNaN(filterItem.value)) {
      return null;
    }

    return ({
      value
    }) => {
      return parseNumericValue(value) === filterItem.value;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue,
  InputComponentProps: {
    type: 'number'
  }
}, {
  label: '!=',
  value: '!=',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || Number.isNaN(filterItem.value)) {
      return null;
    }

    return ({
      value
    }) => {
      return parseNumericValue(value) !== filterItem.value;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue,
  InputComponentProps: {
    type: 'number'
  }
}, {
  label: '>',
  value: '>',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || Number.isNaN(filterItem.value)) {
      return null;
    }

    return ({
      value
    }) => {
      if (value == null) {
        return false;
      }

      return parseNumericValue(value) > filterItem.value;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue,
  InputComponentProps: {
    type: 'number'
  }
}, {
  label: '>=',
  value: '>=',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || Number.isNaN(filterItem.value)) {
      return null;
    }

    return ({
      value
    }) => {
      if (value == null) {
        return false;
      }

      return parseNumericValue(value) >= filterItem.value;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue,
  InputComponentProps: {
    type: 'number'
  }
}, {
  label: '<',
  value: '<',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || Number.isNaN(filterItem.value)) {
      return null;
    }

    return ({
      value
    }) => {
      if (value == null) {
        return false;
      }

      return parseNumericValue(value) < filterItem.value;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue,
  InputComponentProps: {
    type: 'number'
  }
}, {
  label: '<=',
  value: '<=',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || Number.isNaN(filterItem.value)) {
      return null;
    }

    return ({
      value
    }) => {
      if (value == null) {
        return false;
      }

      return parseNumericValue(value) <= filterItem.value;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue,
  InputComponentProps: {
    type: 'number'
  }
}, {
  value: 'isEmpty',
  getApplyFilterFn: () => {
    return ({
      value
    }) => {
      return value == null;
    };
  },
  requiresFilterValue: false
}, {
  value: 'isNotEmpty',
  getApplyFilterFn: () => {
    return ({
      value
    }) => {
      return value != null;
    };
  },
  requiresFilterValue: false
}, {
  value: 'isAnyOf',
  getApplyFilterFn: filterItem => {
    if (!Array.isArray(filterItem.value) || filterItem.value.length === 0) {
      return null;
    }

    return ({
      value
    }) => {
      return value != null && filterItem.value.includes(Number(value));
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputMultipleValue__WEBPACK_IMPORTED_MODULE_1__.GridFilterInputMultipleValue,
  InputComponentProps: {
    type: 'number'
  }
}];
/**
 * @deprecated Use `getGridNumericOperators` instead.
 */

const getGridNumericColumnOperators = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_2__.wrapWithWarningOnCall)(getGridNumericOperators, ['MUI: The method getGridNumericColumnOperators is deprecated and will be removed in the next major version.', 'Use getGridNumericOperators instead.']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridSingleSelectColDef.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridSingleSelectColDef.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_SINGLE_SELECT_COL_DEF: () => (/* binding */ GRID_SINGLE_SELECT_COL_DEF)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _gridStringColDef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./gridStringColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js");
/* harmony import */ var _components_cell_GridEditSingleSelectCell__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/cell/GridEditSingleSelectCell */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditSingleSelectCell.js");
/* harmony import */ var _gridSingleSelectOperators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gridSingleSelectOperators */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridSingleSelectOperators.js");




const GRID_SINGLE_SELECT_COL_DEF = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _gridStringColDef__WEBPACK_IMPORTED_MODULE_1__.GRID_STRING_COL_DEF, {
  type: 'singleSelect',
  renderEditCell: _components_cell_GridEditSingleSelectCell__WEBPACK_IMPORTED_MODULE_2__.renderEditSingleSelectCell,
  filterOperators: (0,_gridSingleSelectOperators__WEBPACK_IMPORTED_MODULE_3__.getGridSingleSelectOperators)(),
  getApplyQuickFilterFn: _gridSingleSelectOperators__WEBPACK_IMPORTED_MODULE_3__.getGridSingleSelectQuickFilterFn
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridSingleSelectOperators.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridSingleSelectOperators.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getGridSingleSelectOperators: () => (/* binding */ getGridSingleSelectOperators),
/* harmony export */   getGridSingleSelectQuickFilterFn: () => (/* binding */ getGridSingleSelectQuickFilterFn)
/* harmony export */ });
/* harmony import */ var _components_panel_filterPanel_GridFilterInputSingleSelect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputSingleSelect */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputSingleSelect.js");
/* harmony import */ var _components_panel_filterPanel_GridFilterInputMultipleSingleSelect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputMultipleSingleSelect */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js");



const parseObjectValue = value => {
  if (value == null || typeof value !== 'object') {
    return value;
  }

  return value.value;
};

const getGridSingleSelectQuickFilterFn = (value, column, apiRef) => {
  if (!value) {
    return null;
  }

  const {
    valueOptions,
    valueFormatter,
    field
  } = column;
  const potentialValues = [parseObjectValue(value).toString()];
  const iterableColumnValues = typeof valueOptions === 'function' ? valueOptions({
    field
  }) : valueOptions || [];

  if (iterableColumnValues) {
    iterableColumnValues.forEach(option => {
      // for each valueOption, check if the formatted value
      let optionValue;
      let optionLabel;

      if (typeof option === 'object') {
        optionValue = option.value;
        optionLabel = option.label;
      } else {
        optionValue = option;

        if (valueFormatter) {
          optionLabel = valueFormatter({
            value: option,
            field,
            api: apiRef.current
          });
        } else {
          optionLabel = option;
        }
      }

      if (optionLabel.slice(0, value.length).toLowerCase() === value.toLowerCase()) {
        if (!potentialValues.includes(optionValue)) {
          potentialValues.push(optionValue.toString());
        }
      }
    });
  }

  return ({
    value: columnValue
  }) => {
    return columnValue != null ? potentialValues.includes(parseObjectValue(columnValue).toString()) : false;
  };
};
const getGridSingleSelectOperators = () => [{
  value: 'is',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || filterItem.value === '') {
      return null;
    }

    return ({
      value
    }) => parseObjectValue(value) === parseObjectValue(filterItem.value);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputSingleSelect__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputSingleSelect
}, {
  value: 'not',
  getApplyFilterFn: filterItem => {
    if (filterItem.value == null || filterItem.value === '') {
      return null;
    }

    return ({
      value
    }) => parseObjectValue(value) !== parseObjectValue(filterItem.value);
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputSingleSelect__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputSingleSelect
}, {
  value: 'isAnyOf',
  getApplyFilterFn: filterItem => {
    if (!Array.isArray(filterItem.value) || filterItem.value.length === 0) {
      return null;
    }

    const filterItemValues = filterItem.value.map(parseObjectValue);
    return ({
      value
    }) => filterItemValues.includes(parseObjectValue(value));
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputMultipleSingleSelect__WEBPACK_IMPORTED_MODULE_1__.GridFilterInputMultipleSingleSelect
}];

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringColDef.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_STRING_COL_DEF: () => (/* binding */ GRID_STRING_COL_DEF)
/* harmony export */ });
/* harmony import */ var _components_cell_GridEditInputCell__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/cell/GridEditInputCell */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditInputCell.js");
/* harmony import */ var _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/features/sorting/gridSortingUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingUtils.js");
/* harmony import */ var _gridStringOperators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gridStringOperators */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringOperators.js");



/**
 * TODO: Move pro and premium properties outside of this Community file
 */

const GRID_STRING_COL_DEF = {
  width: 100,
  minWidth: 50,
  maxWidth: Infinity,
  hide: false,
  hideable: true,
  sortable: true,
  resizable: true,
  filterable: true,
  groupable: true,
  pinnable: true,
  // @ts-ignore
  aggregable: true,
  editable: false,
  sortComparator: _hooks_features_sorting_gridSortingUtils__WEBPACK_IMPORTED_MODULE_1__.gridStringOrNumberComparator,
  type: 'string',
  align: 'left',
  filterOperators: (0,_gridStringOperators__WEBPACK_IMPORTED_MODULE_2__.getGridStringOperators)(),
  renderEditCell: _components_cell_GridEditInputCell__WEBPACK_IMPORTED_MODULE_0__.renderEditInputCell,
  getApplyQuickFilterFn: _gridStringOperators__WEBPACK_IMPORTED_MODULE_2__.getGridStringQuickFilterFn
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringOperators.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridStringOperators.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getGridStringOperators: () => (/* binding */ getGridStringOperators),
/* harmony export */   getGridStringQuickFilterFn: () => (/* binding */ getGridStringQuickFilterFn)
/* harmony export */ });
/* harmony import */ var _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputValue.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _components_panel_filterPanel_GridFilterInputMultipleValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/panel/filterPanel/GridFilterInputMultipleValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleValue.js");



const getGridStringQuickFilterFn = value => {
  if (!value) {
    return null;
  }

  const filterRegex = new RegExp((0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.escapeRegExp)(value), 'i');
  return ({
    value: columnValue
  }) => {
    return columnValue != null ? filterRegex.test(columnValue.toString()) : false;
  };
};
const getGridStringOperators = (disableTrim = false) => [{
  value: 'contains',
  getApplyFilterFn: filterItem => {
    if (!filterItem.value) {
      return null;
    }

    const filterItemValue = disableTrim ? filterItem.value : filterItem.value.trim();
    const filterRegex = new RegExp((0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.escapeRegExp)(filterItemValue), 'i');
    return ({
      value
    }) => {
      return value != null ? filterRegex.test(value.toString()) : false;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue
}, {
  value: 'equals',
  getApplyFilterFn: filterItem => {
    if (!filterItem.value) {
      return null;
    }

    const filterItemValue = disableTrim ? filterItem.value : filterItem.value.trim();
    const collator = new Intl.Collator(undefined, {
      sensitivity: 'base',
      usage: 'search'
    });
    return ({
      value
    }) => {
      return value != null ? collator.compare(filterItemValue, value.toString()) === 0 : false;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue
}, {
  value: 'startsWith',
  getApplyFilterFn: filterItem => {
    if (!filterItem.value) {
      return null;
    }

    const filterItemValue = disableTrim ? filterItem.value : filterItem.value.trim();
    const filterRegex = new RegExp(`^${(0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.escapeRegExp)(filterItemValue)}.*$`, 'i');
    return ({
      value
    }) => {
      return value != null ? filterRegex.test(value.toString()) : false;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue
}, {
  value: 'endsWith',
  getApplyFilterFn: filterItem => {
    if (!filterItem.value) {
      return null;
    }

    const filterItemValue = disableTrim ? filterItem.value : filterItem.value.trim();
    const filterRegex = new RegExp(`.*${(0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.escapeRegExp)(filterItemValue)}$`, 'i');
    return ({
      value
    }) => {
      return value != null ? filterRegex.test(value.toString()) : false;
    };
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_0__.GridFilterInputValue
}, {
  value: 'isEmpty',
  getApplyFilterFn: () => {
    return ({
      value
    }) => {
      return value === '' || value == null;
    };
  },
  requiresFilterValue: false
}, {
  value: 'isNotEmpty',
  getApplyFilterFn: () => {
    return ({
      value
    }) => {
      return value !== '' && value != null;
    };
  },
  requiresFilterValue: false
}, {
  value: 'isAnyOf',
  getApplyFilterFn: filterItem => {
    if (!Array.isArray(filterItem.value) || filterItem.value.length === 0) {
      return null;
    }

    const filterItemValue = disableTrim ? filterItem.value : filterItem.value.map(val => val.trim());
    const collator = new Intl.Collator(undefined, {
      sensitivity: 'base',
      usage: 'search'
    });
    return ({
      value
    }) => value != null ? filterItemValue.some(filterValue => {
      return collator.compare(filterValue, value.toString() || '') === 0;
    }) : false;
  },
  InputComponent: _components_panel_filterPanel_GridFilterInputMultipleValue__WEBPACK_IMPORTED_MODULE_2__.GridFilterInputMultipleValue
}];

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/DataGridColumnHeaders.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/DataGridColumnHeaders.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DataGridColumnHeaders: () => (/* binding */ DataGridColumnHeaders)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _hooks_features_columnHeaders_useGridColumnHeaders__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/features/columnHeaders/useGridColumnHeaders */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnHeaders/useGridColumnHeaders.js");
/* harmony import */ var _GridScrollArea__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./GridScrollArea */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridScrollArea.js");
/* harmony import */ var _columnHeaders_GridColumnHeaders__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./columnHeaders/GridColumnHeaders */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaders.js");
/* harmony import */ var _columnHeaders_GridColumnHeadersInner__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./columnHeaders/GridColumnHeadersInner */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeadersInner.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["innerRef", "className"];







const DataGridColumnHeaders = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridColumnsHeader(props, ref) {
  const {
    innerRef
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const {
    isDragging,
    getRootProps,
    getInnerProps,
    getColumnHeaders,
    getColumnGroupHeaders
  } = (0,_hooks_features_columnHeaders_useGridColumnHeaders__WEBPACK_IMPORTED_MODULE_3__.useGridColumnHeaders)({
    innerRef
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_columnHeaders_GridColumnHeaders__WEBPACK_IMPORTED_MODULE_5__.GridColumnHeaders, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, getRootProps(other), {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_GridScrollArea__WEBPACK_IMPORTED_MODULE_4__.GridScrollArea, {
      scrollDirection: "left"
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_columnHeaders_GridColumnHeadersInner__WEBPACK_IMPORTED_MODULE_6__.GridColumnHeadersInner, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      isDragging: isDragging
    }, getInnerProps(), {
      children: [getColumnGroupHeaders(), getColumnHeaders()]
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_GridScrollArea__WEBPACK_IMPORTED_MODULE_4__.GridScrollArea, {
      scrollDirection: "right"
    })]
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/DataGridVirtualScroller.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/DataGridVirtualScroller.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DataGridVirtualScroller: () => (/* binding */ DataGridVirtualScroller)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _virtualization_GridVirtualScroller__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./virtualization/GridVirtualScroller */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScroller.js");
/* harmony import */ var _virtualization_GridVirtualScrollerContent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./virtualization/GridVirtualScrollerContent */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScrollerContent.js");
/* harmony import */ var _virtualization_GridVirtualScrollerRenderZone__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./virtualization/GridVirtualScrollerRenderZone */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScrollerRenderZone.js");
/* harmony import */ var _hooks_features_virtualization_useGridVirtualScroller__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/features/virtualization/useGridVirtualScroller */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/virtualization/useGridVirtualScroller.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "disableVirtualization"];






const DataGridVirtualScroller = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function DataGridVirtualScroller(props, ref) {
  const {
    className,
    disableVirtualization
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const {
    getRootProps,
    getContentProps,
    getRenderZoneProps,
    getRows
  } = (0,_hooks_features_virtualization_useGridVirtualScroller__WEBPACK_IMPORTED_MODULE_6__.useGridVirtualScroller)({
    ref,
    disableVirtualization
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_virtualization_GridVirtualScroller__WEBPACK_IMPORTED_MODULE_3__.GridVirtualScroller, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    className: className
  }, getRootProps(other), {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_virtualization_GridVirtualScrollerContent__WEBPACK_IMPORTED_MODULE_4__.GridVirtualScrollerContent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, getContentProps(), {
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_virtualization_GridVirtualScrollerRenderZone__WEBPACK_IMPORTED_MODULE_5__.GridVirtualScrollerRenderZone, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, getRenderZoneProps(), {
        children: getRows()
      }))
    }))
  }));
});


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/ErrorBoundary.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/ErrorBoundary.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorBoundary: () => (/* binding */ ErrorBoundary)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

class ErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
  static getDerivedStateFromError(error) {
    // Update state so the next render will show the fallback UI.
    return {
      hasError: true,
      error
    };
  }

  componentDidCatch(error, errorInfo) {
    if (this.props.api.current) {
      this.logError(error); // Allows to trigger the Error event and all listener can run on Error

      this.props.api.current.showError({
        error,
        errorInfo
      });
    }
  }

  logError(error, errorInfo) {
    this.props.logger.error(`An unexpected error occurred. Error: ${error && error.message}. `, error, errorInfo);
  }

  render() {
    var _this$state;

    if (this.props.hasError || (_this$state = this.state) != null && _this$state.hasError) {
      // You can render any custom fallback UI
      return this.props.render(this.state);
    }

    return this.props.children;
  }

}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/ErrorOverlay.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/ErrorOverlay.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorOverlay: () => (/* binding */ ErrorOverlay)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _containers_GridOverlay__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./containers/GridOverlay */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridOverlay.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/features/density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["error", "hasError", "errorInfo"];






// TODO v6: rename to GridErrorOverlay
const ErrorOverlay = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function ErrorOverlay(props, ref) {
  const {
    error
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__.useGridApiContext)();
  const defaultLabel = apiRef.current.getLocaleText('errorOverlayDefaultLabel');
  const rowHeight = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_6__.gridDensityRowHeightSelector);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_containers_GridOverlay__WEBPACK_IMPORTED_MODULE_4__.GridOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    sx: {
      width: '100%',
      minHeight: 2 * rowHeight
    }
  }, other, {
    children: (error == null ? void 0 : error.message) || defaultLabel
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridApiContext.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridApiContext.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridApiContext: () => (/* binding */ GridApiContext)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const GridApiContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);

if (true) {
  GridApiContext.displayName = 'GridApiContext';
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridAutoSizer.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridAutoSizer.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridAutoSizer: () => (/* binding */ GridAutoSizer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _lib_createDetectElementResize__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../lib/createDetectElementResize */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/lib/createDetectElementResize/index.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["children", "defaultHeight", "defaultWidth", "disableHeight", "disableWidth", "nonce", "onResize", "style"];



 // TODO replace with https://caniuse.com/resizeobserver.


const GridAutoSizer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function AutoSizer(props, ref) {
  const {
    children,
    defaultHeight = null,
    defaultWidth = null,
    disableHeight = false,
    disableWidth = false,
    nonce,
    onResize,
    style
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const [state, setState] = react__WEBPACK_IMPORTED_MODULE_2__.useState({
    height: defaultHeight,
    width: defaultWidth
  });
  const rootRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const parentElement = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const handleResize = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])(() => {
    // Guard against AutoSizer component being removed from the DOM immediately after being added.
    // This can result in invalid style values which can result in NaN values if we don't handle them.
    // See issue #150 for more context.
    if (parentElement.current) {
      const height = parentElement.current.offsetHeight || 0;
      const width = parentElement.current.offsetWidth || 0;
      const win = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(parentElement.current);
      const computedStyle = win.getComputedStyle(parentElement.current);
      const paddingLeft = parseInt(computedStyle.paddingLeft, 10) || 0;
      const paddingRight = parseInt(computedStyle.paddingRight, 10) || 0;
      const paddingTop = parseInt(computedStyle.paddingTop, 10) || 0;
      const paddingBottom = parseInt(computedStyle.paddingBottom, 10) || 0;
      const newHeight = height - paddingTop - paddingBottom;
      const newWidth = width - paddingLeft - paddingRight;

      if (!disableHeight && state.height !== newHeight || !disableWidth && state.width !== newWidth) {
        setState({
          height: newHeight,
          width: newWidth
        });

        if (onResize) {
          onResize({
            height: newHeight,
            width: newWidth
          });
        }
      }
    }
  });
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(() => {
    var _parentElement$curren;

    parentElement.current = rootRef.current.parentElement;

    if (!parentElement) {
      return undefined;
    }

    const win = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])((_parentElement$curren = parentElement.current) != null ? _parentElement$curren : undefined);
    const detectElementResize = (0,_lib_createDetectElementResize__WEBPACK_IMPORTED_MODULE_8__["default"])(nonce, win);
    detectElementResize.addResizeListener(parentElement.current, handleResize);
    handleResize();
    return () => {
      detectElementResize.removeResizeListener(parentElement.current, handleResize);
    };
  }, [nonce, handleResize]); // Outer div should not force width/height since that may prevent containers from shrinking.
  // Inner component should overflow and use calculated width/height.
  // See issue #68 for more information.

  const outerStyle = {
    overflow: 'visible'
  };
  const childParams = {};

  if (!disableHeight) {
    outerStyle.height = 0;
    childParams.height = state.height;
  }

  if (!disableWidth) {
    outerStyle.width = 0;
    childParams.width = state.width;
  }

  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(rootRef, ref);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: handleRef,
    style: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, outerStyle, style)
  }, other, {
    children: state.height === null && state.width === null ? null : children(childParams)
  }));
});
 true ? GridAutoSizer.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Function responsible for rendering children.
   * @param {AutoSizerSize} size The grid's size.
   * @returns {React.ReactNode} The children to render.
   */
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Default height to use for initial render; useful for SSR.
   * @default null
   */
  defaultHeight: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),

  /**
   * Default width to use for initial render; useful for SSR.
   * @default null
   */
  defaultWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),

  /**
   * If `true`, disable dynamic :height property.
   * @default false
   */
  disableHeight: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, disable dynamic :width property.
   * @default false
   */
  disableWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Nonce of the inlined stylesheet for Content Security Policy.
   */
  nonce: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Callback to be invoked on-resize.
   * @param {AutoSizerSize} size The grid's size.
   */
  onResize: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridFooter.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridFooter.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFooter: () => (/* binding */ GridFooter)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks/features/rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _hooks_features_selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/features/selection/gridSelectionSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/gridSelectionSelector.js");
/* harmony import */ var _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/features/filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _GridRowCount__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./GridRowCount */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridRowCount.js");
/* harmony import */ var _GridSelectedRowCount__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./GridSelectedRowCount */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridSelectedRowCount.js");
/* harmony import */ var _containers_GridFooterContainer__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./containers/GridFooterContainer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridFooterContainer.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");














const GridFooter = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridFooter(props, ref) {
  var _rootProps$components;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__.useGridRootProps)();
  const totalTopLevelRowCount = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridTopLevelRowCountSelector);
  const selectedRowCount = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_5__.selectedGridRowsCountSelector);
  const visibleTopLevelRowCount = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_6__.gridVisibleTopLevelRowCountSelector);
  const selectedRowCountElement = !rootProps.hideFooterSelectedRowCount && selectedRowCount > 0 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_GridSelectedRowCount__WEBPACK_IMPORTED_MODULE_9__.GridSelectedRowCount, {
    selectedRowCount: selectedRowCount
  }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {});
  const rowCountElement = !rootProps.hideFooterRowCount && !rootProps.pagination ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_GridRowCount__WEBPACK_IMPORTED_MODULE_8__.GridRowCount, {
    rowCount: totalTopLevelRowCount,
    visibleRowCount: visibleTopLevelRowCount
  }) : null;

  const paginationElement = rootProps.pagination && !rootProps.hideFooterPagination && rootProps.components.Pagination && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(rootProps.components.Pagination, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.pagination));

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(_containers_GridFooterContainer__WEBPACK_IMPORTED_MODULE_10__.GridFooterContainer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, props, {
    children: [selectedRowCountElement, rowCountElement, paginationElement]
  }));
});
 true ? GridFooter.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridHeader.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridHeader.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridHeader: () => (/* binding */ GridHeader)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");





const GridHeader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridHeader(props, ref) {
  var _rootProps$components, _rootProps$components2;

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_2__.useGridRootProps)();
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, props, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(rootProps.components.PreferencesPanel, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.preferencesPanel)), rootProps.components.Toolbar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(rootProps.components.Toolbar, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.toolbar))]
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridLoadingOverlay.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridLoadingOverlay.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridLoadingOverlay: () => (/* binding */ GridLoadingOverlay)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _containers_GridOverlay__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./containers/GridOverlay */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridOverlay.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");






const GridLoadingOverlay = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridLoadingOverlay(props, ref) {
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_containers_GridOverlay__WEBPACK_IMPORTED_MODULE_4__.GridOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, props, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_3__["default"], {})
  }));
});
 true ? GridLoadingOverlay.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridNoResultsOverlay.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridNoResultsOverlay.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridNoResultsOverlay: () => (/* binding */ GridNoResultsOverlay)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _containers_GridOverlay__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./containers/GridOverlay */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridOverlay.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");





const GridNoResultsOverlay = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridNoResultsOverlay(props, ref) {
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__.useGridApiContext)();
  const noResultsOverlayLabel = apiRef.current.getLocaleText('noResultsOverlayLabel');
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_containers_GridOverlay__WEBPACK_IMPORTED_MODULE_3__.GridOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, props, {
    children: noResultsOverlayLabel
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridNoRowsOverlay.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridNoRowsOverlay.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridNoRowsOverlay: () => (/* binding */ GridNoRowsOverlay)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _containers_GridOverlay__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./containers/GridOverlay */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridOverlay.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");






const GridNoRowsOverlay = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridNoRowsOverlay(props, ref) {
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__.useGridApiContext)();
  const noRowsLabel = apiRef.current.getLocaleText('noRowsLabel');
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_containers_GridOverlay__WEBPACK_IMPORTED_MODULE_4__.GridOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, props, {
    children: noRowsLabel
  }));
});
 true ? GridNoRowsOverlay.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridPagination.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridPagination.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPagination: () => (/* binding */ GridPagination)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_TablePagination__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TablePagination */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/TablePagination.js");
/* harmony import */ var _mui_material_TablePagination__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TablePagination */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/tablePaginationClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_features_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/features/pagination/gridPaginationSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");









const GridPaginationRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(_mui_material_TablePagination__WEBPACK_IMPORTED_MODULE_2__["default"])(({
  theme
}) => ({
  [`& .${_mui_material_TablePagination__WEBPACK_IMPORTED_MODULE_3__["default"].selectLabel}`]: {
    display: 'none',
    [theme.breakpoints.up('sm')]: {
      display: 'block'
    }
  },
  [`& .${_mui_material_TablePagination__WEBPACK_IMPORTED_MODULE_3__["default"].input}`]: {
    display: 'none',
    [theme.breakpoints.up('sm')]: {
      display: 'inline-flex'
    }
  }
}));
const GridPagination = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridPagination(props, ref) {
  var _rootProps$rowsPerPag;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const paginationState = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _hooks_features_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_8__.gridPaginationSelector);
  const lastPage = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => Math.floor(paginationState.rowCount / (paginationState.pageSize || 1)), [paginationState.rowCount, paginationState.pageSize]);
  const handlePageSizeChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(event => {
    const newPageSize = Number(event.target.value);
    apiRef.current.setPageSize(newPageSize);
  }, [apiRef]);
  const handlePageChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((event, page) => {
    apiRef.current.setPage(page);
  }, [apiRef]);

  if (true) {
    var _rootProps$pageSize;

    // eslint-disable-next-line react-hooks/rules-of-hooks
    const warnedOnceMissingPageSizeInRowsPerPageOptions = react__WEBPACK_IMPORTED_MODULE_1__.useRef(false);

    if (!warnedOnceMissingPageSizeInRowsPerPageOptions.current && !rootProps.autoPageSize && !rootProps.rowsPerPageOptions.includes((_rootProps$pageSize = rootProps.pageSize) != null ? _rootProps$pageSize : paginationState.pageSize)) {
      var _rootProps$pageSize2;

      console.warn([`MUI: The page size \`${(_rootProps$pageSize2 = rootProps.pageSize) != null ? _rootProps$pageSize2 : paginationState.pageSize}\` is not preset in the \`rowsPerPageOptions\``, `Add it to show the pagination select.`].join('\n'));
      warnedOnceMissingPageSizeInRowsPerPageOptions.current = true;
    }
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridPaginationRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    component: "div",
    count: paginationState.rowCount,
    page: paginationState.page <= lastPage ? paginationState.page : lastPage,
    rowsPerPageOptions: (_rootProps$rowsPerPag = rootProps.rowsPerPageOptions) != null && _rootProps$rowsPerPag.includes(paginationState.pageSize) ? rootProps.rowsPerPageOptions : [],
    rowsPerPage: paginationState.pageSize,
    onPageChange: handlePageChange,
    onRowsPerPageChange: handlePageSizeChange
  }, apiRef.current.getLocaleText('MuiTablePagination'), props));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridRow.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridRow.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridRow: () => (/* binding */ GridRow)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../hooks/features/columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../hooks/utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _utils_domUtils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/domUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/domUtils.js");
/* harmony import */ var _colDef_gridCheckboxSelectionColDef__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../colDef/gridCheckboxSelectionColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridCheckboxSelectionColDef.js");
/* harmony import */ var _colDef_gridActionsColDef__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../colDef/gridActionsColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridActionsColDef.js");
/* harmony import */ var _constants_gridDetailPanelToggleField__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../constants/gridDetailPanelToggleField */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridDetailPanelToggleField.js");
/* harmony import */ var _hooks_features_sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../hooks/features/sorting/gridSortingSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js");
/* harmony import */ var _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../hooks/features/rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../hooks/features/density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["selected", "rowId", "row", "index", "style", "position", "rowHeight", "className", "visibleColumns", "renderedColumns", "containerWidth", "firstColumnToRender", "lastColumnToRender", "cellFocus", "cellTabIndex", "editRowsState", "isLastVisible", "onClick", "onDoubleClick", "onMouseEnter", "onMouseLeave"],
      _excluded2 = ["changeReason"];






















const useUtilityClasses = ownerState => {
  const {
    editable,
    editing,
    selected,
    isLastVisible,
    rowHeight,
    classes
  } = ownerState;
  const slots = {
    root: ['row', selected && 'selected', editable && 'row--editable', editing && 'row--editing', isLastVisible && 'row--lastVisible', rowHeight === 'auto' && 'row--dynamicHeight']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.getDataGridUtilityClass, classes);
};

const EmptyCell = ({
  width
}) => {
  if (!width) {
    return null;
  }

  const style = {
    width
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", {
    className: "MuiDataGrid-cell",
    style: style
  }); // TODO change to .MuiDataGrid-emptyCell or .MuiDataGrid-rowFiller
};

const GridRow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridRow(props, refProp) {
  var _apiRef$current$getRo;

  const {
    selected,
    rowId,
    row,
    index,
    style: styleProp,
    position,
    rowHeight,
    className,
    visibleColumns,
    renderedColumns,
    containerWidth,
    firstColumnToRender,
    cellFocus,
    cellTabIndex,
    editRowsState,
    isLastVisible = false,
    onClick,
    onDoubleClick,
    onMouseEnter,
    onMouseLeave
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__.useGridApiContext)();
  const ref = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_10__.useGridRootProps)();
  const currentPage = (0,_hooks_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_13__.useGridVisibleRows)(apiRef, rootProps);
  const columnsTotalWidth = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__.useGridSelector)(apiRef, _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_11__.gridColumnsTotalWidthSelector);
  const sortModel = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__.useGridSelector)(apiRef, _hooks_features_sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_18__.gridSortModelSelector);
  const treeDepth = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__.useGridSelector)(apiRef, _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_19__.gridRowTreeDepthSelector);
  const headerGroupingMaxDepth = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_20__.gridDensityHeaderGroupingMaxDepthSelector);
  const handleRef = (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(ref, refProp);
  const ariaRowIndex = index + headerGroupingMaxDepth + 2; // 1 for the header row and 1 as it's 1-based

  const {
    hasScrollX,
    hasScrollY
  } = (_apiRef$current$getRo = apiRef.current.getRootDimensions()) != null ? _apiRef$current$getRo : {
    hasScrollX: false,
    hasScrollY: false
  };
  const ownerState = {
    selected,
    isLastVisible,
    classes: rootProps.classes,
    editing: apiRef.current.getRowMode(rowId) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_7__.GridRowModes.Edit,
    editable: rootProps.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_7__.GridEditModes.Row,
    rowHeight
  };
  const classes = useUtilityClasses(ownerState);
  react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(() => {
    if (rowHeight === 'auto' && ref.current && typeof ResizeObserver === 'undefined') {
      // Fallback for IE
      apiRef.current.unstable_storeRowHeightMeasurement(rowId, ref.current.clientHeight, position);
    }
  }, [apiRef, rowHeight, rowId, position]);
  react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(() => {
    if (currentPage.range) {
      // The index prop is relative to the rows from all pages. As example, the index prop of the
      // first row is 5 if pageSize=5 and page=1. However, the index used by the virtualization
      // doesn't care about pagination and considers the rows from the current page only, so the
      // first row always has index=0. We need to subtract the index of the first row to make it
      // compatible with the index used by the virtualization.
      const rowIndex = apiRef.current.getRowIndexRelativeToVisibleRows(rowId); // pinned rows are not part of the visible rows

      if (rowIndex != null) {
        apiRef.current.unstable_setLastMeasuredRowIndex(rowIndex);
      }
    }

    const rootElement = ref.current;
    const hasFixedHeight = rowHeight !== 'auto';

    if (!rootElement || hasFixedHeight || typeof ResizeObserver === 'undefined') {
      return undefined;
    }

    const resizeObserver = new ResizeObserver(entries => {
      const [entry] = entries;
      const height = entry.borderBoxSize && entry.borderBoxSize.length > 0 ? entry.borderBoxSize[0].blockSize : entry.contentRect.height;
      apiRef.current.unstable_storeRowHeightMeasurement(rowId, height, position);
    });
    resizeObserver.observe(rootElement);
    return () => resizeObserver.disconnect();
  }, [apiRef, currentPage.range, index, rowHeight, rowId, position]);
  const publish = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((eventName, propHandler) => event => {
    // Ignore portal
    // The target is not an element when triggered by a Select inside the cell
    // See https://github.com/mui/material-ui/issues/10534
    if (event.target.nodeType === 1 && !event.currentTarget.contains(event.target)) {
      return;
    } // The row might have been deleted


    if (!apiRef.current.getRow(rowId)) {
      return;
    }

    apiRef.current.publishEvent(eventName, apiRef.current.getRowParams(rowId), event);

    if (propHandler) {
      propHandler(event);
    }
  }, [apiRef, rowId]);
  const publishClick = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    const cell = (0,_utils_domUtils__WEBPACK_IMPORTED_MODULE_14__.findParentElementFromClassName)(event.target, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.gridClasses.cell);
    const field = cell == null ? void 0 : cell.getAttribute('data-field'); // Check if the field is available because the cell that fills the empty
    // space of the row has no field.

    if (field) {
      // User clicked in the checkbox added by checkboxSelection
      if (field === _colDef_gridCheckboxSelectionColDef__WEBPACK_IMPORTED_MODULE_15__.GRID_CHECKBOX_SELECTION_COL_DEF.field) {
        return;
      } // User opened a detail panel


      if (field === _constants_gridDetailPanelToggleField__WEBPACK_IMPORTED_MODULE_17__.GRID_DETAIL_PANEL_TOGGLE_FIELD) {
        return;
      } // User reorders a row


      if (field === '__reorder__') {
        return;
      } // User is editing a cell


      if (apiRef.current.getCellMode(rowId, field) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_7__.GridCellModes.Edit) {
        return;
      } // User clicked a button from the "actions" column type


      const column = apiRef.current.getColumn(field);

      if (column.type === _colDef_gridActionsColDef__WEBPACK_IMPORTED_MODULE_16__.GRID_ACTIONS_COLUMN_TYPE) {
        return;
      }
    }

    publish('rowClick', onClick)(event);
  }, [apiRef, onClick, publish, rowId]);
  const getCell = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((column, cellProps) => {
    var _rootProps$components;

    const cellParams = apiRef.current.getCellParams(rowId, column.field);
    const classNames = [];
    const disableDragEvents = rootProps.disableColumnReorder && column.disableReorder || !rootProps.rowReordering && !!sortModel.length && treeDepth > 1 && Object.keys(editRowsState).length > 0;

    if (column.cellClassName) {
      classNames.push((0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(typeof column.cellClassName === 'function' ? column.cellClassName(cellParams) : column.cellClassName));
    }

    const editCellState = editRowsState[rowId] ? editRowsState[rowId][column.field] : null;
    let content = null;

    if (editCellState == null && column.renderCell) {
      var _rootProps$classes;

      content = column.renderCell((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, cellParams, {
        api: apiRef.current
      })); // TODO move to GridCell

      classNames.push((0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(_constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.gridClasses['cell--withRenderer'], (_rootProps$classes = rootProps.classes) == null ? void 0 : _rootProps$classes['cell--withRenderer']));
    }

    if (editCellState != null && column.renderEditCell) {
      var _rootProps$classes2;

      let updatedRow = row;

      if (apiRef.current.unstable_getRowWithUpdatedValues) {
        // Only the new editing API has this method
        updatedRow = apiRef.current.unstable_getRowWithUpdatedValues(rowId, column.field);
      }

      const editCellStateRest = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(editCellState, _excluded2);

      const params = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, cellParams, {
        row: updatedRow
      }, editCellStateRest, {
        api: apiRef.current
      });

      content = column.renderEditCell(params); // TODO move to GridCell

      classNames.push((0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(_constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.gridClasses['cell--editing'], (_rootProps$classes2 = rootProps.classes) == null ? void 0 : _rootProps$classes2['cell--editing']));
    }

    if (rootProps.getCellClassName) {
      // TODO move to GridCell
      classNames.push(rootProps.getCellClassName(cellParams));
    }

    const hasFocus = cellFocus !== null && cellFocus.id === rowId && cellFocus.field === column.field;
    const tabIndex = cellTabIndex !== null && cellTabIndex.id === rowId && cellTabIndex.field === column.field && cellParams.cellMode === 'view' ? 0 : -1;
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(rootProps.components.Cell, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      value: cellParams.value,
      field: column.field,
      width: cellProps.width,
      rowId: rowId,
      height: rowHeight,
      showRightBorder: cellProps.showRightBorder,
      formattedValue: cellParams.formattedValue,
      align: column.align || 'left',
      cellMode: cellParams.cellMode,
      colIndex: cellProps.indexRelativeToAllColumns,
      isEditable: cellParams.isEditable,
      hasFocus: hasFocus,
      tabIndex: tabIndex,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classNames),
      colSpan: cellProps.colSpan,
      disableDragEvents: disableDragEvents
    }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.cell, {
      children: content
    }), column.field);
  }, [apiRef, cellTabIndex, editRowsState, cellFocus, rootProps, row, rowHeight, rowId, treeDepth, sortModel.length]);
  const sizes = apiRef.current.unstable_getRowInternalSizes(rowId);
  let minHeight = rowHeight;

  if (minHeight === 'auto' && sizes) {
    let numberOfBaseSizes = 0;
    const maximumSize = Object.entries(sizes).reduce((acc, [key, size]) => {
      const isBaseHeight = /^base[A-Z]/.test(key);

      if (!isBaseHeight) {
        return acc;
      }

      numberOfBaseSizes += 1;

      if (size > acc) {
        return size;
      }

      return acc;
    }, 0);

    if (maximumSize > 0 && numberOfBaseSizes > 1) {
      minHeight = maximumSize;
    }
  }

  const style = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, styleProp, {
    maxHeight: rowHeight === 'auto' ? 'none' : rowHeight,
    // max-height doesn't support "auto"
    minHeight
  });

  if (sizes != null && sizes.spacingTop) {
    const property = rootProps.rowSpacingType === 'border' ? 'borderTopWidth' : 'marginTop';
    style[property] = sizes.spacingTop;
  }

  if (sizes != null && sizes.spacingBottom) {
    const property = rootProps.rowSpacingType === 'border' ? 'borderBottomWidth' : 'marginBottom';
    let propertyValue = style[property]; // avoid overriding existing value

    if (typeof propertyValue !== 'number') {
      propertyValue = parseInt(propertyValue || '0', 10);
    }

    propertyValue += sizes.spacingBottom;
    style[property] = propertyValue;
  }

  const rowClassNames = apiRef.current.unstable_applyPipeProcessors('rowClassName', [], rowId);

  if (typeof rootProps.getRowClassName === 'function') {
    var _currentPage$range;

    const indexRelativeToCurrentPage = index - (((_currentPage$range = currentPage.range) == null ? void 0 : _currentPage$range.firstRowIndex) || 0);

    const rowParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, apiRef.current.getRowParams(rowId), {
      isFirstVisible: indexRelativeToCurrentPage === 0,
      isLastVisible: indexRelativeToCurrentPage === currentPage.rows.length - 1,
      indexRelativeToCurrentPage
    });

    rowClassNames.push(rootProps.getRowClassName(rowParams));
  }

  const randomNumber = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_21__.randomNumberBetween)(10000, 20, 80);
  const cells = [];

  for (let i = 0; i < renderedColumns.length; i += 1) {
    const column = renderedColumns[i];
    const indexRelativeToAllColumns = firstColumnToRender + i;
    const isLastColumn = indexRelativeToAllColumns === visibleColumns.length - 1;
    const removeLastBorderRight = isLastColumn && hasScrollX && !hasScrollY;
    const showRightBorder = !isLastColumn ? rootProps.showCellRightBorder : !removeLastBorderRight && rootProps.disableExtendRowFullWidth;
    const cellColSpanInfo = apiRef.current.unstable_getCellColSpanInfo(rowId, indexRelativeToAllColumns);

    if (cellColSpanInfo && !cellColSpanInfo.spannedByColSpan) {
      if (row) {
        const {
          colSpan,
          width
        } = cellColSpanInfo.cellProps;
        const cellProps = {
          width,
          colSpan,
          showRightBorder,
          indexRelativeToAllColumns
        };
        cells.push(getCell(column, cellProps));
      } else {
        const {
          width
        } = cellColSpanInfo.cellProps;
        const contentWidth = Math.round(randomNumber());
        cells.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(rootProps.components.SkeletonCell, {
          width: width,
          contentWidth: contentWidth,
          field: column.field,
          align: column.align
        }, column.field));
      }
    }
  }

  const emptyCellWidth = containerWidth - columnsTotalWidth;
  const eventHandlers = row ? {
    onClick: publishClick,
    onDoubleClick: publish('rowDoubleClick', onDoubleClick),
    onMouseEnter: publish('rowMouseEnter', onMouseEnter),
    onMouseLeave: publish('rowMouseLeave', onMouseLeave)
  } : null;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: handleRef,
    "data-id": rowId,
    "data-rowindex": index,
    role: "row",
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(...rowClassNames, classes.root, className),
    "aria-rowindex": ariaRowIndex,
    "aria-selected": selected,
    style: style
  }, eventHandlers, other, {
    children: [cells, emptyCellWidth > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(EmptyCell, {
      width: emptyCellWidth
    })]
  }));
});
 true ? GridRow.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  cellFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  cellTabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  containerWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  editRowsState: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,
  firstColumnToRender: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,

  /**
   * Index of the row in the whole sorted and filtered dataset.
   * If some rows above have expanded children, this index also take those children into account.
   */
  index: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  isLastVisible: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  lastColumnToRender: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  position: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['center', 'left', 'right']).isRequired,
  renderedColumns: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)).isRequired,
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  rowHeight: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['auto']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number)]).isRequired,
  rowId: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,
  selected: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,
  visibleColumns: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridRowCount.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridRowCount.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridRowCount: () => (/* binding */ GridRowCount)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "rowCount", "visibleRowCount"];










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['rowCount']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridRowCountRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'RowCount',
  overridesResolver: (props, styles) => styles.rowCount
})(({
  theme
}) => ({
  alignItems: 'center',
  display: 'flex',
  margin: theme.spacing(0, 2)
}));
const GridRowCount = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridRowCount(props, ref) {
  const {
    className,
    rowCount,
    visibleRowCount
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const ownerState = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const classes = useUtilityClasses(ownerState);

  if (rowCount === 0) {
    return null;
  }

  const text = visibleRowCount < rowCount ? apiRef.current.getLocaleText('footerTotalVisibleRows')(visibleRowCount, rowCount) : rowCount.toLocaleString();
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(GridRowCountRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: ownerState
  }, other, {
    children: [apiRef.current.getLocaleText('footerTotalRows'), " ", text]
  }));
});
 true ? GridRowCount.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  rowCount: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),
  visibleRowCount: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridScrollArea.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridScrollArea.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridScrollArea: () => (/* binding */ GridScrollArea)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _hooks_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/features/density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");













const CLIFF = 1;
const SLOP = 1.5;

const useUtilityClasses = ownerState => {
  const {
    scrollDirection,
    classes
  } = ownerState;
  const slots = {
    root: ['scrollArea', `scrollArea--${scrollDirection}`]
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridScrollAreaRawRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'ScrollArea',
  overridesResolver: (props, styles) => [{
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.gridClasses['scrollArea--left']}`]: styles['scrollArea--left']
  }, {
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.gridClasses['scrollArea--right']}`]: styles['scrollArea--right']
  }, styles.scrollArea]
})(() => ({
  position: 'absolute',
  top: 0,
  zIndex: 101,
  width: 20,
  bottom: 0,
  [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.gridClasses['scrollArea--left']}`]: {
    left: 0
  },
  [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.gridClasses['scrollArea--right']}`]: {
    right: 0
  }
}));

function GridScrollAreaRaw(props) {
  const {
    scrollDirection
  } = props;
  const rootRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const timeout = react__WEBPACK_IMPORTED_MODULE_1__.useRef();
  const [dragging, setDragging] = react__WEBPACK_IMPORTED_MODULE_1__.useState(false);
  const height = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_10__.gridDensityHeaderHeightSelector);
  const scrollPosition = react__WEBPACK_IMPORTED_MODULE_1__.useRef({
    left: 0,
    top: 0
  });
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rootProps, {
    scrollDirection
  });

  const classes = useUtilityClasses(ownerState);
  const handleScrolling = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(newScrollPosition => {
    scrollPosition.current = newScrollPosition;
  }, []);
  const handleDragOver = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(event => {
    let offset;

    if (scrollDirection === 'left') {
      offset = event.clientX - rootRef.current.getBoundingClientRect().right;
    } else if (scrollDirection === 'right') {
      offset = Math.max(1, event.clientX - rootRef.current.getBoundingClientRect().left);
    } else {
      throw new Error('MUI: Wrong drag direction');
    }

    offset = (offset - CLIFF) * SLOP + CLIFF;
    clearTimeout(timeout.current); // Avoid freeze and inertia.

    timeout.current = setTimeout(() => {
      apiRef.current.scroll({
        left: scrollPosition.current.left + offset,
        top: scrollPosition.current.top
      });
    });
  }, [scrollDirection, apiRef]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    return () => {
      clearTimeout(timeout.current);
    };
  }, []);
  const toggleDragging = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    setDragging(prevDragging => !prevDragging);
  }, []);
  (0,_hooks_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_6__.useGridApiEventHandler)(apiRef, 'rowsScroll', handleScrolling);
  (0,_hooks_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_6__.useGridApiEventHandler)(apiRef, 'columnHeaderDragStart', toggleDragging);
  (0,_hooks_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_6__.useGridApiEventHandler)(apiRef, 'columnHeaderDragEnd', toggleDragging);
  return dragging ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(GridScrollAreaRawRoot, {
    ref: rootRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root),
    ownerState: ownerState,
    onDragOver: handleDragOver,
    style: {
      height
    }
  }) : null;
}

 true ? GridScrollAreaRaw.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  scrollDirection: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['left', 'right']).isRequired
} : 0;
const GridScrollArea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.memo(GridScrollAreaRaw);


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridSelectedRowCount.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridSelectedRowCount.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridSelectedRowCount: () => (/* binding */ GridSelectedRowCount)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "selectedRowCount"];










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['selectedRowCount']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridSelectedRowCountRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'SelectedRowCount',
  overridesResolver: (props, styles) => styles.selectedRowCount
})(({
  theme
}) => ({
  alignItems: 'center',
  display: 'flex',
  margin: theme.spacing(0, 2),
  visibility: 'hidden',
  width: 0,
  height: 0,
  [theme.breakpoints.up('sm')]: {
    visibility: 'visible',
    width: 'auto',
    height: 'auto'
  }
}));
const GridSelectedRowCount = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridSelectedRowCount(props, ref) {
  const {
    className,
    selectedRowCount
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const ownerState = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const classes = useUtilityClasses(ownerState);
  const rowSelectedText = apiRef.current.getLocaleText('footerRowSelected')(selectedRowCount);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(GridSelectedRowCountRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: ownerState
  }, other, {
    children: rowSelectedText
  }));
});
 true ? GridSelectedRowCount.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  selectedRowCount: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridBody.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridBody.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridBody: () => (/* binding */ GridBody)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _containers_GridMainContainer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../containers/GridMainContainer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridMainContainer.js");
/* harmony import */ var _GridAutoSizer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../GridAutoSizer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridAutoSizer.js");
/* harmony import */ var _GridOverlays__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GridOverlays */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridOverlays.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/features/density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");












function GridBody(props) {
  const {
    children,
    VirtualScrollerComponent,
    ColumnHeadersComponent
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();
  const totalHeaderHeight = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_8__.gridDensityTotalHeaderHeightSelector);
  const [isVirtualizationDisabled, setIsVirtualizationDisabled] = react__WEBPACK_IMPORTED_MODULE_0__.useState(rootProps.disableVirtualization);
  const disableVirtualization = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    setIsVirtualizationDisabled(true);
  }, []);
  const enableVirtualization = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    setIsVirtualizationDisabled(false);
  }, []);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    setIsVirtualizationDisabled(rootProps.disableVirtualization);
  }, [rootProps.disableVirtualization]); // The `useGridApiMethod` hook can't be used here, because it only installs the
  // method if it doesn't exist yet. Once installed, it's never updated again.
  // This break the methods above, since their closure comes from the first time
  // they were installed. Which means that calling `setIsVirtualizationDisabled`
  // will trigger a re-render, but it won't update the state. That can be solved
  // by migrating the virtualization status to the global state.

  apiRef.current.unstable_disableVirtualization = disableVirtualization;
  apiRef.current.unstable_enableVirtualization = enableVirtualization;
  const columnHeadersRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const columnsContainerRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const windowRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const renderingZoneRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  apiRef.current.columnHeadersContainerElementRef = columnsContainerRef;
  apiRef.current.columnHeadersElementRef = columnHeadersRef;
  apiRef.current.windowRef = windowRef; // TODO rename, it's not attached to the window anymore

  apiRef.current.renderingZoneRef = renderingZoneRef; // TODO remove, nobody should have access to internal parts of the virtualization

  const handleResize = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(size => {
    apiRef.current.publishEvent('resize', size);
  }, [apiRef]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_containers_GridMainContainer__WEBPACK_IMPORTED_MODULE_3__.GridMainContainer, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_GridOverlays__WEBPACK_IMPORTED_MODULE_5__.GridOverlays, {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ColumnHeadersComponent, {
      ref: columnsContainerRef,
      innerRef: columnHeadersRef
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_GridAutoSizer__WEBPACK_IMPORTED_MODULE_4__.GridAutoSizer, {
      nonce: rootProps.nonce,
      disableHeight: rootProps.autoHeight,
      onResize: handleResize,
      children: size => {
        const style = {
          width: size.width,
          // If `autoHeight` is on, there will be no height value.
          // In this case, let the container to grow whatever it needs.
          height: size.height ? size.height - totalHeaderHeight : 'auto',
          marginTop: totalHeaderHeight
        };
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(VirtualScrollerComponent, {
          ref: windowRef,
          style: style,
          disableVirtualization: isVirtualizationDisabled
        });
      }
    }), children]
  });
}

 true ? GridBody.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  ColumnHeadersComponent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().elementType).isRequired,
  VirtualScrollerComponent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().elementType).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridErrorHandler.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridErrorHandler.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridErrorHandler: () => (/* binding */ GridErrorHandler)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _containers_GridMainContainer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../containers/GridMainContainer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridMainContainer.js");
/* harmony import */ var _ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ErrorBoundary */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/ErrorBoundary.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");










function GridErrorHandler(props) {
  const {
    children
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__.useGridApiContext)();
  const logger = (0,_hooks_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_4__.useGridLogger)(apiRef, 'GridErrorHandler');
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const errorState = apiRef.current.state.error;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__.ErrorBoundary, {
    hasError: errorState != null,
    api: apiRef,
    logger: logger,
    render: errorProps => {
      var _rootProps$components;

      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_containers_GridMainContainer__WEBPACK_IMPORTED_MODULE_5__.GridMainContainer, {
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(rootProps.components.ErrorOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, errorProps, errorState, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.errorOverlay))
      });
    },
    children: children
  });
}

 true ? GridErrorHandler.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridFooterPlaceholder.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridFooterPlaceholder.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFooterPlaceholder: () => (/* binding */ GridFooterPlaceholder)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");





function GridFooterPlaceholder() {
  var _rootProps$components;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_3__.useGridRootProps)();
  const footerRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  apiRef.current.footerRef = footerRef;

  if (rootProps.hideFooter) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", {
    ref: footerRef,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(rootProps.components.Footer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.footer))
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridHeaderPlaceholder.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridHeaderPlaceholder.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridHeaderPlaceholder: () => (/* binding */ GridHeaderPlaceholder)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");





function GridHeaderPlaceholder() {
  var _rootProps$components;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_2__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_3__.useGridRootProps)();
  const headerRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  apiRef.current.headerRef = headerRef;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", {
    ref: headerRef,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(rootProps.components.Header, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.header))
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridOverlays.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/base/GridOverlays.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridOverlays: () => (/* binding */ GridOverlays)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/features/filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/features/rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/features/density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");











function GridOverlayWrapper(props) {
  var _viewportInnerSize$he, _viewportInnerSize$wi;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const totalHeaderHeight = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_8__.gridDensityTotalHeaderHeightSelector);
  const [viewportInnerSize, setViewportInnerSize] = react__WEBPACK_IMPORTED_MODULE_1__.useState(() => {
    var _apiRef$current$getRo, _apiRef$current$getRo2;

    return (_apiRef$current$getRo = (_apiRef$current$getRo2 = apiRef.current.getRootDimensions()) == null ? void 0 : _apiRef$current$getRo2.viewportInnerSize) != null ? _apiRef$current$getRo : null;
  });
  const handleViewportSizeChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    var _apiRef$current$getRo3, _apiRef$current$getRo4;

    setViewportInnerSize((_apiRef$current$getRo3 = (_apiRef$current$getRo4 = apiRef.current.getRootDimensions()) == null ? void 0 : _apiRef$current$getRo4.viewportInnerSize) != null ? _apiRef$current$getRo3 : null);
  }, [apiRef]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(() => {
    return apiRef.current.subscribeEvent('viewportInnerSizeChange', handleViewportSizeChange);
  }, [apiRef, handleViewportSizeChange]);
  let height = (_viewportInnerSize$he = viewportInnerSize == null ? void 0 : viewportInnerSize.height) != null ? _viewportInnerSize$he : 0;

  if (rootProps.autoHeight && height === 0) {
    height = 'auto';
  }

  if (!viewportInnerSize) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    style: {
      height,
      width: (_viewportInnerSize$wi = viewportInnerSize == null ? void 0 : viewportInnerSize.width) != null ? _viewportInnerSize$wi : 0,
      position: 'absolute',
      top: totalHeaderHeight,
      bottom: height === 'auto' ? 0 : undefined
    }
  }, props));
}

function GridOverlays() {
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const totalRowCount = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_5__.gridRowCountSelector);
  const visibleRowCount = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_4__.gridVisibleRowCountSelector);
  const loading = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_5__.gridRowsLoadingSelector);
  const showNoRowsOverlay = !loading && totalRowCount === 0;
  const showNoResultsOverlay = !loading && totalRowCount > 0 && visibleRowCount === 0;
  let overlay = null;

  if (showNoRowsOverlay) {
    var _rootProps$components;

    overlay = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(rootProps.components.NoRowsOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.noRowsOverlay));
  }

  if (showNoResultsOverlay) {
    var _rootProps$components2;

    overlay = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(rootProps.components.NoResultsOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.noResultsOverlay));
  }

  if (loading) {
    var _rootProps$components3;

    overlay = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(rootProps.components.LoadingOverlay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_rootProps$components3 = rootProps.componentsProps) == null ? void 0 : _rootProps$components3.loadingOverlay));
  }

  if (overlay === null) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridOverlayWrapper, {
    children: overlay
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridActionsCell.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridActionsCell.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridActionsCell: () => (/* binding */ GridActionsCell),
/* harmony export */   renderActionsCell: () => (/* binding */ renderActionsCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/MenuList */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuList/MenuList.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _menu_GridMenu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../menu/GridMenu */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/GridMenu.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["colDef", "id", "api", "hasFocus", "isEditable", "field", "value", "formattedValue", "row", "rowNode", "cellMode", "getValue", "tabIndex", "position", "focusElementRef"];












const hasActions = colDef => typeof colDef.getActions === 'function';

const GridActionsCell = props => {
  const {
    colDef,
    id,
    hasFocus,
    tabIndex,
    position = 'bottom-end',
    focusElementRef
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const [focusedButtonIndex, setFocusedButtonIndex] = react__WEBPACK_IMPORTED_MODULE_2__.useState(-1);
  const [open, setOpen] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__.useGridApiContext)();
  const rootRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const buttonRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const ignoreCallToFocus = react__WEBPACK_IMPORTED_MODULE_2__.useRef(false);
  const touchRippleRefs = react__WEBPACK_IMPORTED_MODULE_2__.useRef({});
  const menuId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const buttonId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(() => {
    if (!hasFocus) {
      Object.entries(touchRippleRefs.current).forEach(([index, ref]) => {
        ref == null ? void 0 : ref.stop({}, () => {
          delete touchRippleRefs.current[index];
        });
      });
    }
  }, [hasFocus]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (focusedButtonIndex < 0 || !rootRef.current) {
      return;
    }

    if (focusedButtonIndex >= rootRef.current.children.length) {
      return;
    }

    const child = rootRef.current.children[focusedButtonIndex];
    child.focus({
      preventScroll: true
    });
  }, [focusedButtonIndex]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (!hasFocus) {
      setFocusedButtonIndex(-1);
      ignoreCallToFocus.current = false;
    }
  }, [hasFocus]);
  react__WEBPACK_IMPORTED_MODULE_2__.useImperativeHandle(focusElementRef, () => ({
    focus() {
      // If ignoreCallToFocus is true, then one of the buttons was clicked and the focus is already set
      if (!ignoreCallToFocus.current) {
        setFocusedButtonIndex(0);
      }
    }

  }), []);

  if (!hasActions(colDef)) {
    throw new Error('MUI: Missing the `getActions` property in the `GridColDef`.');
  }

  const options = colDef.getActions(apiRef.current.getRowParams(id));
  const iconButtons = options.filter(option => !option.props.showInMenu);
  const menuButtons = options.filter(option => option.props.showInMenu);
  const numberOfButtons = iconButtons.length + (menuButtons.length ? 1 : 0);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (focusedButtonIndex >= numberOfButtons) {
      setFocusedButtonIndex(numberOfButtons - 1);
    }
  }, [focusedButtonIndex, numberOfButtons]);

  const showMenu = () => {
    setOpen(true);
    setFocusedButtonIndex(numberOfButtons - 1);
    ignoreCallToFocus.current = true;
  };

  const hideMenu = () => {
    setOpen(false);
  };

  const handleTouchRippleRef = index => instance => {
    touchRippleRefs.current[index] = instance;
  };

  const handleButtonClick = (index, onClick) => event => {
    setFocusedButtonIndex(index);
    ignoreCallToFocus.current = true;

    if (onClick) {
      onClick(event);
    }
  };

  const handleRootKeyDown = event => {
    if (numberOfButtons <= 1) {
      return;
    }

    let newIndex = focusedButtonIndex;

    if (event.key === 'ArrowRight') {
      newIndex += 1;
    } else if (event.key === 'ArrowLeft') {
      newIndex -= 1;
    }

    if (newIndex < 0 || newIndex >= numberOfButtons) {
      return; // We're already in the first or last item = do nothing and let the grid listen the event
    }

    if (newIndex !== focusedButtonIndex) {
      event.preventDefault(); // Prevent scrolling

      event.stopPropagation(); // Don't stop propagation for other keys, e.g. ArrowUp

      setFocusedButtonIndex(newIndex);
    }
  };

  const handleListKeyDown = event => {
    if (event.key === 'Tab') {
      event.preventDefault();
    }

    if (['Tab', 'Enter', 'Escape'].includes(event.key)) {
      hideMenu();
    }
  };

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    role: "menu",
    ref: rootRef,
    tabIndex: -1,
    className: _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.actionsCell,
    onKeyDown: handleRootKeyDown
  }, other, {
    children: [iconButtons.map((button, index) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.cloneElement(button, {
      key: index,
      touchRippleRef: handleTouchRippleRef(index),
      onClick: handleButtonClick(index, button.props.onClick),
      tabIndex: focusedButtonIndex === index ? tabIndex : -1
    })), menuButtons.length > 0 && buttonId && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_4__["default"], {
      ref: buttonRef,
      id: buttonId,
      "aria-label": apiRef.current.getLocaleText('actionsCellMore'),
      "aria-controls": menuId,
      "aria-expanded": open ? 'true' : undefined,
      "aria-haspopup": "true",
      role: "menuitem",
      size: "small",
      onClick: showMenu,
      touchRippleRef: handleTouchRippleRef(buttonId),
      tabIndex: focusedButtonIndex === iconButtons.length ? tabIndex : -1,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(rootProps.components.MoreActionsIcon, {
        fontSize: "small"
      })
    }), menuButtons.length > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_menu_GridMenu__WEBPACK_IMPORTED_MODULE_8__.GridMenu, {
      onClickAway: hideMenu,
      onClick: hideMenu,
      open: open,
      target: buttonRef.current,
      position: position,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__["default"], {
        id: menuId,
        className: _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.menuList,
        onKeyDown: handleListKeyDown,
        "aria-labelledby": buttonId,
        variant: "menu",
        autoFocusItem: true,
        children: menuButtons.map((button, index) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.cloneElement(button, {
          key: index
        }))
      })
    })]
  }));
};

 true ? GridActionsCell.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * GridApi that let you manipulate the grid.
   * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`)
   */
  api: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The mode of the cell.
   */
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']).isRequired,

  /**
   * The column of the row that the current cell belongs to.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * The column field of the cell that triggered the event.
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,

  /**
   * A ref allowing to set imperative focus.
   * It can be passed to the element that should receive focus.
   * @ignore - do not document.
   */
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      focus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
    })
  })]),
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Get the cell value of a row and field.
   * @param {GridRowId} id The row id.
   * @param {string} field The field.
   * @returns {any} The cell value.
   * @deprecated Use `params.row` to directly access the fields you want instead.
   */
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * If true, the cell is the active element.
   */
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * The grid row id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,

  /**
   * If true, the cell is editable.
   */
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  position: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),

  /**
   * The row model of the row that the current cell belongs to.
   */
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The node of the row that the current cell belongs to.
   */
  rowNode: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * the tabIndex value.
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]).isRequired,
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;

const renderActionsCell = params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(GridActionsCell, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params));

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridBooleanCell.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridBooleanCell.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridBooleanCell: () => (/* binding */ GridBooleanCell),
/* harmony export */   renderBooleanCell: () => (/* binding */ renderBooleanCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "hasFocus", "tabIndex", "getValue"];








const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['booleanCell']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_5__.getDataGridUtilityClass, classes);
};

const GridBooleanCellRaw = props => {
  const {
    value
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();
  const ownerState = {
    classes: rootProps.classes
  };
  const classes = useUtilityClasses(ownerState);
  const Icon = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => value ? rootProps.components.BooleanCellTrueIcon : rootProps.components.BooleanCellFalseIcon, [rootProps.components.BooleanCellFalseIcon, rootProps.components.BooleanCellTrueIcon, value]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(Icon, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    fontSize: "small",
    className: classes.root,
    titleAccess: apiRef.current.getLocaleText(value ? 'booleanCellTrueLabel' : 'booleanCellFalseLabel'),
    "data-value": Boolean(value)
  }, other));
};

 true ? GridBooleanCellRaw.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * GridApi that let you manipulate the grid.
   * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`)
   */
  api: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The mode of the cell.
   */
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']).isRequired,

  /**
   * The column of the row that the current cell belongs to.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * The column field of the cell that triggered the event.
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,

  /**
   * A ref allowing to set imperative focus.
   * It can be passed to the element that should receive focus.
   * @ignore - do not document.
   */
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      focus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
    })
  })]),

  /**
   * The cell value formatted with the column valueFormatter.
   */
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Get the cell value of a row and field.
   * @param {GridRowId} id The row id.
   * @param {string} field The field.
   * @returns {any} The cell value.
   * @deprecated Use `params.row` to directly access the fields you want instead.
   */
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * If true, the cell is the active element.
   */
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * The grid row id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,

  /**
   * If true, the cell is editable.
   */
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * The row model of the row that the current cell belongs to.
   */
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The node of the row that the current cell belongs to.
   */
  rowNode: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * the tabIndex value.
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]).isRequired,

  /**
   * The cell value.
   * If the column has `valueGetter`, use `params.row` to directly access the fields.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;
const GridBooleanCell = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.memo(GridBooleanCellRaw);

const renderBooleanCell = params => {
  if (params.rowNode.isAutoGenerated) {
    return '';
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(GridBooleanCell, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params));
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridCell.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridCell.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridCell: () => (/* binding */ GridCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../models */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["align", "children", "colIndex", "colDef", "cellMode", "field", "formattedValue", "hasFocus", "height", "isEditable", "rowId", "tabIndex", "value", "width", "className", "showRightBorder", "extendRowFullWidth", "row", "colSpan", "disableDragEvents", "onClick", "onDoubleClick", "onMouseDown", "onMouseUp", "onKeyDown", "onDragEnter", "onDragOver"];

/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */











// Based on https://stackoverflow.com/a/59518678
let cachedSupportsPreventScroll;

function doesSupportPreventScroll() {
  if (cachedSupportsPreventScroll === undefined) {
    document.createElement('div').focus({
      get preventScroll() {
        cachedSupportsPreventScroll = true;
        return false;
      }

    });
  }

  return cachedSupportsPreventScroll;
}

const useUtilityClasses = ownerState => {
  const {
    align,
    showRightBorder,
    isEditable,
    classes
  } = ownerState;
  const slots = {
    root: ['cell', `cell--text${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])(align)}`, isEditable && 'cell--editable', showRightBorder && 'withBorder'],
    content: ['cellContent']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

let warnedOnce = false;

function GridCell(props) {
  var _rootProps$experiment;

  const {
    align,
    children,
    colIndex,
    cellMode,
    field,
    formattedValue,
    hasFocus,
    height,
    isEditable,
    rowId,
    tabIndex,
    value,
    width,
    className,
    showRightBorder,
    colSpan,
    disableDragEvents,
    onClick,
    onDoubleClick,
    onMouseDown,
    onMouseUp,
    onKeyDown,
    onDragEnter,
    onDragOver
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const valueToRender = formattedValue == null ? value : formattedValue;
  const cellRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const focusElementRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__.useGridRootProps)();
  const ownerState = {
    align,
    showRightBorder,
    isEditable,
    classes: rootProps.classes
  };
  const classes = useUtilityClasses(ownerState);
  const publishMouseUp = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(eventName => event => {
    const params = apiRef.current.getCellParams(rowId, field || '');
    apiRef.current.publishEvent(eventName, params, event);

    if (onMouseUp) {
      onMouseUp(event);
    }
  }, [apiRef, field, onMouseUp, rowId]);
  const publishMouseDown = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(eventName => event => {
    const params = apiRef.current.getCellParams(rowId, field || '');
    apiRef.current.publishEvent(eventName, params, event);

    if (onMouseDown) {
      onMouseDown(event);
    }
  }, [apiRef, field, onMouseDown, rowId]);
  const publish = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((eventName, propHandler) => event => {
    // Ignore portal
    if (!event.currentTarget.contains(event.target)) {
      return;
    } // The row might have been deleted during the click


    if (!apiRef.current.getRow(rowId)) {
      return;
    }

    const params = apiRef.current.getCellParams(rowId, field || '');
    apiRef.current.publishEvent(eventName, params, event);

    if (propHandler) {
      propHandler(event);
    }
  }, [apiRef, field, rowId]);
  const style = {
    minWidth: width,
    maxWidth: width,
    minHeight: height,
    maxHeight: height === 'auto' ? 'none' : height // max-height doesn't support "auto"

  };
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (!hasFocus || cellMode === _models__WEBPACK_IMPORTED_MODULE_9__.GridCellModes.Edit) {
      return;
    }

    const doc = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(apiRef.current.rootElementRef.current);

    if (cellRef.current && !cellRef.current.contains(doc.activeElement)) {
      const focusableElement = cellRef.current.querySelector('[tabindex="0"]');
      const elementToFocus = focusElementRef.current || focusableElement || cellRef.current;

      if (doesSupportPreventScroll()) {
        elementToFocus.focus({
          preventScroll: true
        });
      } else {
        const scrollPosition = apiRef.current.getScrollPosition();
        elementToFocus.focus();
        apiRef.current.scroll(scrollPosition);
      }
    }
  }, [hasFocus, cellMode, apiRef]);
  let handleFocus = other.onFocus;

  if (false) // removed by dead control flow
{}

  const column = apiRef.current.getColumn(field);
  const managesOwnFocus = column.type === 'actions';

  const renderChildren = () => {
    if (children == null) {
      const valueString = valueToRender == null ? void 0 : valueToRender.toString();
      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
        title: valueString,
        className: classes.content,
        children: valueString
      });
    }

    if ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.isValidElement(children) && managesOwnFocus) {
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.cloneElement(children, {
        focusElementRef
      });
    }

    return children;
  };

  const draggableEventHandlers = disableDragEvents ? null : {
    onDragEnter: publish('cellDragEnter', onDragEnter),
    onDragOver: publish('cellDragOver', onDragOver)
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: cellRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
    role: "cell",
    "data-field": field,
    "data-colindex": colIndex,
    "aria-colindex": colIndex + 1,
    "aria-colspan": colSpan,
    style: style,
    tabIndex: (cellMode === 'view' || !isEditable) && !managesOwnFocus ? tabIndex : -1,
    onClick: publish('cellClick', onClick),
    onDoubleClick: publish('cellDoubleClick', onDoubleClick),
    onMouseDown: publishMouseDown('cellMouseDown'),
    onMouseUp: publishMouseUp('cellMouseUp'),
    onKeyDown: publish('cellKeyDown', onKeyDown)
  }, draggableEventHandlers, other, {
    onFocus: handleFocus,
    children: renderChildren()
  }));
}

 true ? GridCell.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  align: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['center', 'left', 'right']).isRequired,
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  colIndex: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  colSpan: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),
  disableDragEvents: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  height: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['auto']), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number)]).isRequired,
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onDoubleClick: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onDragEnter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onDragOver: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onMouseDown: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onMouseUp: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  rowId: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,
  showRightBorder: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]).isRequired,
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),
  width: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditBooleanCell.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditBooleanCell.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridEditBooleanCell: () => (/* binding */ GridEditBooleanCell),
/* harmony export */   renderEditBooleanCell: () => (/* binding */ renderEditBooleanCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "className", "getValue", "hasFocus", "isValidating", "isProcessingProps", "error", "onValueChange"];










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['editBooleanCell']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

function GridEditBooleanCell(props) {
  var _rootProps$components;

  const {
    id: idProp,
    value,
    field,
    className,
    hasFocus,
    onValueChange
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__.useGridApiContext)();
  const inputRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const id = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const [valueState, setValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState(value);
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const ownerState = {
    classes: rootProps.classes
  };
  const classes = useUtilityClasses(ownerState);
  const handleChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(async event => {
    const newValue = event.target.checked;

    if (onValueChange) {
      await onValueChange(event, newValue);
    }

    setValueState(newValue);
    await apiRef.current.setEditCellValue({
      id: idProp,
      field,
      value: newValue
    }, event);
  }, [apiRef, field, idProp, onValueChange]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    setValueState(value);
  }, [value]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])(() => {
    if (hasFocus) {
      inputRef.current.focus();
    }
  }, [hasFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("label", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    htmlFor: id,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className)
  }, other, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(rootProps.components.BaseCheckbox, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      id: id,
      inputRef: inputRef,
      checked: Boolean(valueState),
      onChange: handleChange,
      size: "small"
    }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseCheckbox))
  }));
}

 true ? GridEditBooleanCell.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * GridApi that let you manipulate the grid.
   * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`)
   */
  api: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The mode of the cell.
   */
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']).isRequired,
  changeReason: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['debouncedSetEditCellValue', 'setEditCellValue']),

  /**
   * The column of the row that the current cell belongs to.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * The column field of the cell that triggered the event.
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,

  /**
   * The cell value formatted with the column valueFormatter.
   */
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Get the cell value of a row and field.
   * @param {GridRowId} id The row id.
   * @param {string} field The field.
   * @returns {any} The cell value.
   * @deprecated Use `params.row` to directly access the fields you want instead.
   */
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * If true, the cell is the active element.
   */
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * The grid row id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,

  /**
   * If true, the cell is editable.
   */
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isProcessingProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isValidating: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Callback called when the value is changed by the user.
   * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
   * @param {boolean} newValue The value that is going to be passed to `apiRef.current.setEditCellValue`.
   * @returns {Promise<void> | void} A promise to be awaited before calling `apiRef.current.setEditCellValue`
   */
  onValueChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * The row model of the row that the current cell belongs to.
   */
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The node of the row that the current cell belongs to.
   */
  rowNode: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * the tabIndex value.
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]).isRequired,

  /**
   * The cell value.
   * If the column has `valueGetter`, use `params.row` to directly access the fields.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;

const renderEditBooleanCell = params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(GridEditBooleanCell, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params));

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditDateCell.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditDateCell.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridEditDateCell: () => (/* binding */ GridEditDateCell),
/* harmony export */   renderEditDateCell: () => (/* binding */ renderEditDateCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _mui_material_InputBase__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/InputBase */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "getValue", "inputProps", "isValidating", "isProcessingProps", "onValueChange"];










const StyledInputBase = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])(_mui_material_InputBase__WEBPACK_IMPORTED_MODULE_6__["default"])({
  fontSize: 'inherit'
});

const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['editInputCell']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

function GridEditDateCell(props) {
  const {
    id,
    value: valueProp,
    field,
    colDef,
    hasFocus,
    inputProps,
    onValueChange
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const isDateTime = colDef.type === 'dateTime';
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__.useGridApiContext)();
  const inputRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef();
  const valueTransformed = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    let parsedDate;

    if (valueProp == null) {
      parsedDate = null;
    } else if (valueProp instanceof Date) {
      parsedDate = valueProp;
    } else {
      parsedDate = new Date((valueProp != null ? valueProp : '').toString());
    }

    let formattedDate;

    if (parsedDate == null || Number.isNaN(parsedDate.getTime())) {
      formattedDate = '';
    } else {
      const localDate = new Date(parsedDate.getTime() - parsedDate.getTimezoneOffset() * 60 * 1000);
      formattedDate = localDate.toISOString().substr(0, isDateTime ? 16 : 10);
    }

    return {
      parsed: parsedDate,
      formatted: formattedDate
    };
  }, [valueProp, isDateTime]);
  const [valueState, setValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState(valueTransformed);
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const ownerState = {
    classes: rootProps.classes
  };
  const classes = useUtilityClasses(ownerState);
  const handleChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(async event => {
    const newFormattedDate = event.target.value;
    let newParsedDate;

    if (newFormattedDate === '') {
      newParsedDate = null;
    } else {
      const [date, time] = newFormattedDate.split('T');
      const [year, month, day] = date.split('-');
      newParsedDate = new Date();
      newParsedDate.setFullYear(Number(year), Number(month) - 1, Number(day));
      newParsedDate.setHours(0, 0, 0, 0);

      if (time) {
        const [hours, minutes] = time.split(':');
        newParsedDate.setHours(Number(hours), Number(minutes), 0, 0);
      }
    }

    if (onValueChange) {
      await onValueChange(event, newParsedDate);
    }

    setValueState({
      parsed: newParsedDate,
      formatted: newFormattedDate
    });
    apiRef.current.setEditCellValue({
      id,
      field,
      value: newParsedDate
    }, event);
  }, [apiRef, field, id, onValueChange]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    setValueState(state => {
      var _valueTransformed$par, _state$parsed;

      if (valueTransformed.parsed !== state.parsed && ((_valueTransformed$par = valueTransformed.parsed) == null ? void 0 : _valueTransformed$par.getTime()) !== ((_state$parsed = state.parsed) == null ? void 0 : _state$parsed.getTime())) {
        return valueTransformed;
      }

      return state;
    });
  }, [valueTransformed]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(() => {
    if (hasFocus) {
      inputRef.current.focus();
    }
  }, [hasFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(StyledInputBase, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    inputRef: inputRef,
    fullWidth: true,
    className: classes.root,
    type: isDateTime ? 'datetime-local' : 'date',
    inputProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      max: isDateTime ? '9999-12-31T23:59' : '9999-12-31'
    }, inputProps),
    value: valueState.formatted,
    onChange: handleChange
  }, other));
}

 true ? GridEditDateCell.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * GridApi that let you manipulate the grid.
   * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`)
   */
  api: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The mode of the cell.
   */
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']).isRequired,
  changeReason: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['debouncedSetEditCellValue', 'setEditCellValue']),

  /**
   * The column of the row that the current cell belongs to.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * The column field of the cell that triggered the event.
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,

  /**
   * The cell value formatted with the column valueFormatter.
   */
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Get the cell value of a row and field.
   * @param {GridRowId} id The row id.
   * @param {string} field The field.
   * @returns {any} The cell value.
   * @deprecated Use `params.row` to directly access the fields you want instead.
   */
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * If true, the cell is the active element.
   */
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * The grid row id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,

  /**
   * If true, the cell is editable.
   */
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isProcessingProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isValidating: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Callback called when the value is changed by the user.
   * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
   * @param {Date | null} newValue The value that is going to be passed to `apiRef.current.setEditCellValue`.
   * @returns {Promise<void> | void} A promise to be awaited before calling `apiRef.current.setEditCellValue`
   */
  onValueChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * The row model of the row that the current cell belongs to.
   */
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The node of the row that the current cell belongs to.
   */
  rowNode: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * the tabIndex value.
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]).isRequired,

  /**
   * The cell value.
   * If the column has `valueGetter`, use `params.row` to directly access the fields.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;

const renderEditDateCell = params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(GridEditDateCell, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params));

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditInputCell.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditInputCell.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridEditInputCell: () => (/* binding */ GridEditInputCell),
/* harmony export */   renderEditInputCell: () => (/* binding */ renderEditInputCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material_InputBase__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/InputBase */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _icons_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../icons/index */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js");
/* harmony import */ var _panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../panel/filterPanel/GridFilterInputValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputValue.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "getValue", "isValidating", "debounceMs", "isProcessingProps", "onValueChange"];













const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['editInputCell']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridEditInputCellRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_mui_material_InputBase__WEBPACK_IMPORTED_MODULE_7__["default"], {
  name: 'MuiDataGrid',
  slot: 'EditInputCell',
  overridesResolver: (props, styles) => styles.editInputCell
})(({
  theme
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, theme.typography.body2, {
  padding: '1px 0',
  '& input': {
    padding: '0 16px',
    height: '100%'
  }
}));
const GridEditInputCell = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef((props, ref) => {
  var _rootProps$experiment, _rootProps$experiment3;

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();

  const {
    id,
    value,
    field,
    colDef,
    hasFocus,
    debounceMs = (_rootProps$experiment = rootProps.experimentalFeatures) != null && _rootProps$experiment.newEditingApi ? 200 : _panel_filterPanel_GridFilterInputValue__WEBPACK_IMPORTED_MODULE_11__.SUBMIT_FILTER_STROKE_TIME,
    isProcessingProps,
    onValueChange
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_12__.useGridApiContext)();
  const inputRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef();
  const [valueState, setValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState(value);
  const classes = useUtilityClasses(rootProps);
  const handleChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(async event => {
    var _rootProps$experiment2;

    const newValue = event.target.value;

    if (onValueChange) {
      await onValueChange(event, newValue);
    }

    const column = apiRef.current.getColumn(field);
    let parsedValue = newValue;

    if (column.valueParser && (_rootProps$experiment2 = rootProps.experimentalFeatures) != null && _rootProps$experiment2.newEditingApi) {
      parsedValue = column.valueParser(newValue, apiRef.current.getCellParams(id, field));
    }

    setValueState(parsedValue);
    apiRef.current.setEditCellValue({
      id,
      field,
      value: parsedValue,
      debounceMs,
      unstable_skipValueParser: true
    }, event);
  }, [apiRef, debounceMs, field, id, onValueChange, (_rootProps$experiment3 = rootProps.experimentalFeatures) == null ? void 0 : _rootProps$experiment3.newEditingApi]);
  const meta = apiRef.current.unstable_getEditCellMeta ? apiRef.current.unstable_getEditCellMeta(id, field) : {};
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (meta.changeReason !== 'debouncedSetEditCellValue') {
      setValueState(value);
    }
  }, [meta.changeReason, value]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(() => {
    if (hasFocus) {
      inputRef.current.focus();
    }
  }, [hasFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(GridEditInputCellRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    ref: ref,
    inputRef: inputRef,
    className: classes.root,
    ownerState: rootProps,
    fullWidth: true,
    type: colDef.type === 'number' ? colDef.type : 'text',
    value: valueState != null ? valueState : '',
    onChange: handleChange,
    endAdornment: isProcessingProps ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_icons_index__WEBPACK_IMPORTED_MODULE_10__.GridLoadIcon, {}) : undefined
  }, other));
});
 true ? GridEditInputCell.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * GridApi that let you manipulate the grid.
   * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`)
   */
  api: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * The mode of the cell.
   */
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']),
  changeReason: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['debouncedSetEditCellValue', 'setEditCellValue']),

  /**
   * The column of the row that the current cell belongs to.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  debounceMs: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),

  /**
   * The column field of the cell that triggered the event.
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * The cell value formatted with the column valueFormatter.
   */
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Get the cell value of a row and field.
   * @param {GridRowId} id The row id.
   * @param {string} field The field.
   * @returns {any} The cell value.
   * @deprecated Use `params.row` to directly access the fields you want instead.
   */
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If true, the cell is the active element.
   */
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * The grid row id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),

  /**
   * If true, the cell is editable.
   */
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isProcessingProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isValidating: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Callback called when the value is changed by the user.
   * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
   * @param {Date | null} newValue The value that is going to be passed to `apiRef.current.setEditCellValue`.
   * @returns {Promise<void> | void} A promise to be awaited before calling `apiRef.current.setEditCellValue`
   */
  onValueChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * The row model of the row that the current cell belongs to.
   */
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * The node of the row that the current cell belongs to.
   */
  rowNode: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * the tabIndex value.
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]),

  /**
   * The cell value.
   * If the column has `valueGetter`, use `params.row` to directly access the fields.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;

const renderEditInputCell = params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(GridEditInputCell, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, params));

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditSingleSelectCell.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridEditSingleSelectCell.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridEditSingleSelectCell: () => (/* binding */ GridEditSingleSelectCell),
/* harmony export */   renderEditSingleSelectCell: () => (/* binding */ renderEditSingleSelectCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _panel_filterPanel_filterPanelUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../panel/filterPanel/filterPanelUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/filterPanelUtils.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "className", "getValue", "hasFocus", "isValidating", "isProcessingProps", "error", "onValueChange", "initialOpen"];











const renderSingleSelectOptions = (option, OptionComponent) => {
  const isOptionTypeObject = typeof option === 'object';
  const key = isOptionTypeObject ? option.value : option;
  const value = isOptionTypeObject ? option.value : option;
  const content = isOptionTypeObject ? option.label : option;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(OptionComponent, {
    value: value,
    children: content
  }, key);
};

function isKeyboardEvent(event) {
  return !!event.key;
}

function GridEditSingleSelectCell(props) {
  var _rootProps$components, _baseSelectProps$nati, _rootProps$components2;

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();

  const {
    id,
    value,
    api,
    field,
    row,
    colDef,
    hasFocus,
    error,
    onValueChange,
    initialOpen = rootProps.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_8__.GridEditModes.Cell
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__.useGridApiContext)();
  const ref = react__WEBPACK_IMPORTED_MODULE_2__.useRef();
  const inputRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef();
  const [open, setOpen] = react__WEBPACK_IMPORTED_MODULE_2__.useState(initialOpen);
  const baseSelectProps = ((_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseSelect) || {};
  const isSelectNative = (_baseSelectProps$nati = baseSelectProps.native) != null ? _baseSelectProps$nati : false;
  let valueOptionsFormatted;

  if (typeof colDef.valueOptions === 'function') {
    valueOptionsFormatted = colDef.valueOptions({
      id,
      row,
      field
    });
  } else {
    valueOptionsFormatted = colDef.valueOptions;
  }

  if (colDef.valueFormatter) {
    valueOptionsFormatted = valueOptionsFormatted.map(option => {
      if (typeof option === 'object') {
        return option;
      }

      const params = {
        field,
        api,
        value: option
      };
      return {
        value: option,
        label: String(colDef.valueFormatter(params))
      };
    });
  }

  const handleChange = async event => {
    var _rootProps$experiment;

    setOpen(false);
    const target = event.target; // NativeSelect casts the value to a string.

    const formattedTargetValue = (0,_panel_filterPanel_filterPanelUtils__WEBPACK_IMPORTED_MODULE_9__.getValueFromValueOptions)(target.value, valueOptionsFormatted);

    if (onValueChange) {
      await onValueChange(event, formattedTargetValue);
    }

    const isValid = await apiRef.current.setEditCellValue({
      id,
      field,
      value: formattedTargetValue
    }, event);

    if ((_rootProps$experiment = rootProps.experimentalFeatures) != null && _rootProps$experiment.newEditingApi) {
      return;
    } // We use isValid === false because the default return is undefined which evaluates to true with !isValid


    if (rootProps.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_8__.GridEditModes.Row || isValid === false) {
      return;
    }

    const canCommit = await Promise.resolve(apiRef.current.commitCellChange({
      id,
      field
    }, event));

    if (canCommit) {
      apiRef.current.setCellMode(id, field, 'view');

      if (event.key) {
        // TODO v6: remove once we stop ignoring events fired from portals
        const params = apiRef.current.getCellParams(id, field);
        apiRef.current.publishEvent('cellNavigationKeyDown', params, event);
      }
    }
  };

  const handleClose = (event, reason) => {
    if (rootProps.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_8__.GridEditModes.Row) {
      setOpen(false);
      return;
    }

    if (reason === 'backdropClick' || (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isEscapeKey)(event.key)) {
      var _rootProps$experiment2;

      if ((_rootProps$experiment2 = rootProps.experimentalFeatures) != null && _rootProps$experiment2.newEditingApi) {
        apiRef.current.stopCellEditMode({
          id,
          field,
          ignoreModifications: true
        });
      } else {
        apiRef.current.setCellMode(id, field, 'view');
      }
    }
  };

  const handleOpen = event => {
    if (isKeyboardEvent(event) && event.key === 'Enter') {
      return;
    }

    setOpen(true);
  };

  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
    if (hasFocus) {
      inputRef.current.focus();
    }
  }, [hasFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(rootProps.components.BaseSelect, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    inputRef: inputRef,
    value: value,
    onChange: handleChange,
    open: open,
    onOpen: handleOpen,
    MenuProps: {
      onClose: handleClose
    },
    error: error,
    native: isSelectNative,
    fullWidth: true
  }, other, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.baseSelect, {
    children: valueOptionsFormatted.map(valueOptions => renderSingleSelectOptions(valueOptions, isSelectNative ? 'option' : _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_5__["default"]))
  }));
}

 true ? GridEditSingleSelectCell.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * GridApi that let you manipulate the grid.
   * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`)
   */
  api: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The mode of the cell.
   */
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']).isRequired,
  changeReason: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['debouncedSetEditCellValue', 'setEditCellValue']),

  /**
   * The column of the row that the current cell belongs to.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * The column field of the cell that triggered the event.
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,

  /**
   * The cell value formatted with the column valueFormatter.
   */
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Get the cell value of a row and field.
   * @param {GridRowId} id The row id.
   * @param {string} field The field.
   * @returns {any} The cell value.
   * @deprecated Use `params.row` to directly access the fields you want instead.
   */
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * If true, the cell is the active element.
   */
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * The grid row id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,

  /**
   * If true, the select opens by default.
   */
  initialOpen: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If true, the cell is editable.
   */
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isProcessingProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isValidating: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Callback called when the value is changed by the user.
   * @param {SelectChangeEvent<any>} event The event source of the callback.
   * @param {any} newValue The value that is going to be passed to `apiRef.current.setEditCellValue`.
   * @returns {Promise<void> | void} A promise to be awaited before calling `apiRef.current.setEditCellValue`
   */
  onValueChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * The row model of the row that the current cell belongs to.
   */
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The node of the row that the current cell belongs to.
   */
  rowNode: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * the tabIndex value.
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]).isRequired,

  /**
   * The cell value.
   * If the column has `valueGetter`, use `params.row` to directly access the fields.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;

const renderEditSingleSelectCell = params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(GridEditSingleSelectCell, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params));

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridSkeletonCell.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridSkeletonCell.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridSkeletonCell: () => (/* binding */ GridSkeletonCell)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_Skeleton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Skeleton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Skeleton/Skeleton.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["field", "align", "width", "contentWidth"];









const useUtilityClasses = ownerState => {
  const {
    align,
    classes
  } = ownerState;
  const slots = {
    root: ['cell', 'cellSkeleton', `cell--text${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(align)}`]
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

function GridSkeletonCell(props) {
  const {
    align,
    width,
    contentWidth
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const ownerState = {
    classes: rootProps.classes,
    align
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    className: classes.root,
    style: {
      width
    }
  }, other, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_mui_material_Skeleton__WEBPACK_IMPORTED_MODULE_4__["default"], {
      width: `${contentWidth}%`
    })
  }));
}

 true ? GridSkeletonCell.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  align: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
  contentWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
  width: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/ColumnHeaderMenuIcon.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/ColumnHeaderMenuIcon.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ColumnHeaderMenuIcon: () => (/* binding */ ColumnHeaderMenuIcon)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");









const useUtilityClasses = ownerState => {
  const {
    classes,
    open
  } = ownerState;
  const slots = {
    root: ['menuIcon', open && 'menuOpen'],
    button: ['menuIconButton']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_5__.getDataGridUtilityClass, classes);
};

const ColumnHeaderMenuIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.memo(props => {
  const {
    column,
    open,
    columnMenuId,
    columnMenuButtonId,
    iconButtonRef
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_4__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
    classes: rootProps.classes
  });

  const classes = useUtilityClasses(ownerState);
  const handleMenuIconClick = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(event => {
    event.preventDefault();
    event.stopPropagation();
    apiRef.current.toggleColumnMenu(column.field);
  }, [apiRef, column.field]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", {
    className: classes.root,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__["default"], {
      ref: iconButtonRef,
      tabIndex: -1,
      className: classes.button,
      "aria-label": apiRef.current.getLocaleText('columnMenuLabel'),
      title: apiRef.current.getLocaleText('columnMenuLabel'),
      size: "small",
      onClick: handleMenuIconClick,
      "aria-expanded": open ? 'true' : undefined,
      "aria-haspopup": "true",
      "aria-controls": columnMenuId,
      id: columnMenuButtonId,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(rootProps.components.ColumnMenuIcon, {
        fontSize: "small"
      })
    })
  });
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnGroupHeader.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnGroupHeader.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnGroupHeader: () => (/* binding */ GridColumnGroupHeader)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_features_columnGrouping_gridColumnGroupsSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/features/columnGrouping/gridColumnGroupsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/gridColumnGroupsSelector.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _GridGenericColumnHeaderItem__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./GridGenericColumnHeaderItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridGenericColumnHeaderItem.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");












const useUtilityClasses = ownerState => {
  const {
    classes,
    headerAlign,
    isDragging,
    showRightBorder,
    showColumnBorder,
    groupId
  } = ownerState;
  const slots = {
    root: ['columnHeader', headerAlign === 'left' && 'columnHeader--alignLeft', headerAlign === 'center' && 'columnHeader--alignCenter', headerAlign === 'right' && 'columnHeader--alignRight', isDragging && 'columnHeader--moving', showRightBorder && 'withBorder', showColumnBorder && 'columnHeader--showColumnBorder', groupId === null ? 'columnHeader--emptyGroup' : 'columnHeader--filledGroup'],
    draggableContainer: ['columnHeaderDraggableContainer'],
    titleContainer: ['columnHeaderTitleContainer'],
    titleContainerContent: ['columnHeaderTitleContainerContent']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_4__.getDataGridUtilityClass, classes);
};

function GridColumnGroupHeader(props) {
  var _apiRef$current$getRo, _columnGroupsLookup$g;

  const {
    groupId,
    width,
    depth,
    maxDepth,
    fields,
    height,
    colIndex,
    isLastColumn,
    extendRowFullWidth
  } = props;
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_5__.useGridRootProps)();
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const columnGroupsLookup = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _hooks_features_columnGrouping_gridColumnGroupsSelector__WEBPACK_IMPORTED_MODULE_6__.gridColumnGroupsLookupSelector);
  const {
    hasScrollX,
    hasScrollY
  } = (_apiRef$current$getRo = apiRef.current.getRootDimensions()) != null ? _apiRef$current$getRo : {
    hasScrollX: false,
    hasScrollY: false
  };
  const group = groupId ? columnGroupsLookup[groupId] : {};
  const {
    headerName = groupId != null ? groupId : '',
    description = '',
    headerAlign = undefined
  } = group;
  let headerComponent;
  const render = groupId && ((_columnGroupsLookup$g = columnGroupsLookup[groupId]) == null ? void 0 : _columnGroupsLookup$g.renderHeaderGroup);
  const renderParams = {
    groupId,
    headerName,
    description,
    depth,
    maxDepth,
    fields,
    colIndex,
    isLastColumn
  };

  if (groupId && render) {
    headerComponent = render(renderParams);
  }

  const removeLastBorderRight = isLastColumn && hasScrollX && !hasScrollY;
  const showRightBorder = !isLastColumn ? rootProps.showColumnRightBorder : !removeLastBorderRight && !extendRowFullWidth;
  const showColumnBorder = rootProps.showColumnRightBorder;

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
    classes: rootProps.classes,
    showRightBorder,
    showColumnBorder,
    headerAlign,
    depth,
    isDragging: false
  });

  const label = headerName != null ? headerName : groupId;
  const id = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_2__["default"])();
  const elementId = groupId === null ? `empty-group-cell-${id}` : groupId;
  const classes = useUtilityClasses(ownerState);
  const headerClassName = typeof group.headerClassName === 'function' ? group.headerClassName(renderParams) : group.headerClassName;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_GridGenericColumnHeaderItem__WEBPACK_IMPORTED_MODULE_9__.GridGenericColumnHeaderItem, {
    classes: classes,
    columnMenuOpen: false,
    colIndex: colIndex,
    height: height,
    isResizing: false,
    sortDirection: null,
    hasFocus: false,
    tabIndex: -1,
    isDraggable: false,
    headerComponent: headerComponent,
    headerClassName: headerClassName,
    description: description,
    elementId: elementId,
    width: width,
    columnMenuIconButton: null,
    columnTitleIconButtons: null,
    resizable: false,
    label: label,
    "aria-colspan": fields.length // The fields are wrapped between |-...-| to avoid confusion between fields "id" and "id2" when using selector data-fields~=
    ,
    "data-fields": `|-${fields.join('-|-')}-|`,
    disableHeaderSeparator: true
  });
}



/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderFilterIconButton.js"
/*!************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderFilterIconButton.js ***!
  \************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeaderFilterIconButton: () => (/* binding */ GridColumnHeaderFilterIconButton)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_Badge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Badge */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var _hooks_features_preferencesPanel_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/features/preferencesPanel/gridPreferencePanelSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelSelector.js");
/* harmony import */ var _hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/features/preferencesPanel/gridPreferencePanelsValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _GridIconButtonContainer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./GridIconButtonContainer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridIconButtonContainer.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    icon: ['filterIcon']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.getDataGridUtilityClass, classes);
};

function GridColumnHeaderFilterIconButton(props) {
  var _rootProps$components;

  const {
    counter,
    field,
    onClick
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_10__.useGridRootProps)();

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
    classes: rootProps.classes
  });

  const classes = useUtilityClasses(ownerState);
  const toggleFilter = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(event => {
    event.preventDefault();
    event.stopPropagation();
    const {
      open,
      openedPanelValue
    } = (0,_hooks_features_preferencesPanel_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_6__.gridPreferencePanelStateSelector)(apiRef.current.state);

    if (open && openedPanelValue === _hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_7__.GridPreferencePanelsValue.filters) {
      apiRef.current.hideFilterPanel();
    } else {
      apiRef.current.showFilterPanel();
    }

    if (onClick) {
      onClick(apiRef.current.getColumnHeaderParams(field), event);
    }
  }, [apiRef, field, onClick]);

  if (!counter) {
    return null;
  }

  const iconButton = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onClick: toggleFilter,
    color: "default",
    "aria-label": apiRef.current.getLocaleText('columnHeaderFiltersLabel'),
    size: "small",
    tabIndex: -1,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(rootProps.components.ColumnFilteredIcon, {
      className: classes.icon,
      fontSize: "small"
    })
  });

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(rootProps.components.BaseTooltip, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    title: apiRef.current.getLocaleText('columnHeaderFiltersTooltipActive')(counter),
    enterDelay: 1000
  }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseTooltip, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(_GridIconButtonContainer__WEBPACK_IMPORTED_MODULE_11__.GridIconButtonContainer, {
      children: [counter > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_mui_material_Badge__WEBPACK_IMPORTED_MODULE_5__["default"], {
        badgeContent: counter,
        color: "default",
        children: iconButton
      }), counter === 1 && iconButton]
    })
  }));
}

 true ? GridColumnHeaderFilterIconButton.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  counter: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  field: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderItem.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderItem.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeaderItem: () => (/* binding */ GridColumnHeaderItem)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _GridColumnHeaderSortIcon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./GridColumnHeaderSortIcon */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderSortIcon.js");
/* harmony import */ var _ColumnHeaderMenuIcon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ColumnHeaderMenuIcon */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/ColumnHeaderMenuIcon.js");
/* harmony import */ var _menu_columnMenu_GridColumnHeaderMenu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../menu/columnMenu/GridColumnHeaderMenu */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnHeaderMenu.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _GridGenericColumnHeaderItem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./GridGenericColumnHeaderItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridGenericColumnHeaderItem.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");















const useUtilityClasses = ownerState => {
  const {
    column,
    classes,
    isDragging,
    sortDirection,
    showRightBorder,
    filterItemsCounter
  } = ownerState;
  const isColumnSorted = sortDirection != null;
  const isColumnFiltered = filterItemsCounter != null && filterItemsCounter > 0; // todo refactor to a prop on col isNumeric or ?? ie: coltype===price wont work

  const isColumnNumeric = column.type === 'number';
  const slots = {
    root: ['columnHeader', column.headerAlign === 'left' && 'columnHeader--alignLeft', column.headerAlign === 'center' && 'columnHeader--alignCenter', column.headerAlign === 'right' && 'columnHeader--alignRight', column.sortable && 'columnHeader--sortable', isDragging && 'columnHeader--moving', isColumnSorted && 'columnHeader--sorted', isColumnFiltered && 'columnHeader--filtered', isColumnNumeric && 'columnHeader--numeric', showRightBorder && 'withBorder'],
    draggableContainer: ['columnHeaderDraggableContainer'],
    titleContainer: ['columnHeaderTitleContainer'],
    titleContainerContent: ['columnHeaderTitleContainerContent']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.getDataGridUtilityClass, classes);
};

function GridColumnHeaderItem(props) {
  var _apiRef$current$getRo, _rootProps$components, _column$sortingOrder, _rootProps$components2, _column$headerName;

  const {
    column,
    columnMenuOpen,
    colIndex,
    headerHeight,
    isResizing,
    isLastColumn,
    sortDirection,
    sortIndex,
    filterItemsCounter,
    hasFocus,
    tabIndex,
    extendRowFullWidth,
    disableReorder,
    separatorSide
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_10__.useGridRootProps)();
  const headerCellRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const columnMenuId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const columnMenuButtonId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const iconButtonRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const [showColumnMenuIcon, setShowColumnMenuIcon] = react__WEBPACK_IMPORTED_MODULE_1__.useState(columnMenuOpen);
  const {
    hasScrollX,
    hasScrollY
  } = (_apiRef$current$getRo = apiRef.current.getRootDimensions()) != null ? _apiRef$current$getRo : {
    hasScrollX: false,
    hasScrollY: false
  };
  const isDraggable = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => !rootProps.disableColumnReorder && !disableReorder && !column.disableReorder, [rootProps.disableColumnReorder, disableReorder, column.disableReorder]);
  let headerComponent;

  if (column.renderHeader) {
    headerComponent = column.renderHeader(apiRef.current.getColumnHeaderParams(column.field));
  }

  const removeLastBorderRight = isLastColumn && hasScrollX && !hasScrollY;
  const showRightBorder = !isLastColumn ? rootProps.showColumnRightBorder : !removeLastBorderRight && !extendRowFullWidth;

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
    classes: rootProps.classes,
    showRightBorder
  });

  const classes = useUtilityClasses(ownerState);
  const publish = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(eventName => event => {
    // Ignore portal
    // See https://github.com/mui/mui-x/issues/1721
    if (!event.currentTarget.contains(event.target)) {
      return;
    }

    apiRef.current.publishEvent(eventName, apiRef.current.getColumnHeaderParams(column.field), event);
  }, [apiRef, column.field]);
  const mouseEventsHandlers = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({
    onClick: publish('columnHeaderClick'),
    onDoubleClick: publish('columnHeaderDoubleClick'),
    onMouseOver: publish('columnHeaderOver'),
    // TODO remove as it's not used
    onMouseOut: publish('columnHeaderOut'),
    // TODO remove as it's not used
    onMouseEnter: publish('columnHeaderEnter'),
    // TODO remove as it's not used
    onMouseLeave: publish('columnHeaderLeave'),
    // TODO remove as it's not used
    onKeyDown: publish('columnHeaderKeyDown'),
    onFocus: publish('columnHeaderFocus'),
    onBlur: publish('columnHeaderBlur')
  }), [publish]);
  const draggableEventHandlers = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => isDraggable ? {
    onDragStart: publish('columnHeaderDragStart'),
    onDragEnter: publish('columnHeaderDragEnter'),
    onDragOver: publish('columnHeaderDragOver'),
    onDragEnd: publish('columnHeaderDragEnd')
  } : {}, [isDraggable, publish]);
  const columnHeaderSeparatorProps = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({
    onMouseDown: publish('columnSeparatorMouseDown')
  }), [publish]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (!showColumnMenuIcon) {
      setShowColumnMenuIcon(columnMenuOpen);
    }
  }, [showColumnMenuIcon, columnMenuOpen]);
  const handleExited = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    setShowColumnMenuIcon(false);
  }, []);

  const columnMenuIconButton = !rootProps.disableColumnMenu && !column.disableColumnMenu && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_ColumnHeaderMenuIcon__WEBPACK_IMPORTED_MODULE_7__.ColumnHeaderMenuIcon, {
    column: column,
    columnMenuId: columnMenuId,
    columnMenuButtonId: columnMenuButtonId,
    open: showColumnMenuIcon,
    iconButtonRef: iconButtonRef
  });

  const columnMenu = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_menu_columnMenu_GridColumnHeaderMenu__WEBPACK_IMPORTED_MODULE_8__.GridColumnHeaderMenu, {
    columnMenuId: columnMenuId,
    columnMenuButtonId: columnMenuButtonId,
    field: column.field,
    open: columnMenuOpen,
    target: iconButtonRef.current,
    ContentComponent: rootProps.components.ColumnMenu,
    contentComponentProps: (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.columnMenu,
    onExited: handleExited
  });

  const sortingOrder = (_column$sortingOrder = column.sortingOrder) != null ? _column$sortingOrder : rootProps.sortingOrder;

  const columnTitleIconButtons = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, {
    children: [!rootProps.disableColumnFilter && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(rootProps.components.ColumnHeaderFilterIconButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      field: column.field,
      counter: filterItemsCounter
    }, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.columnHeaderFilterIconButton)), column.sortable && !column.hideSortIcons && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_GridColumnHeaderSortIcon__WEBPACK_IMPORTED_MODULE_6__.GridColumnHeaderSortIcon, {
      direction: sortDirection,
      index: sortIndex,
      sortingOrder: sortingOrder
    })]
  });

  react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect(() => {
    const columnMenuState = apiRef.current.state.columnMenu;

    if (hasFocus && !columnMenuState.open) {
      const focusableElement = headerCellRef.current.querySelector('[tabindex="0"]');
      const elementToFocus = focusableElement || headerCellRef.current;
      elementToFocus == null ? void 0 : elementToFocus.focus();
      apiRef.current.columnHeadersContainerElementRef.current.scrollLeft = 0;
    }
  }, [apiRef, hasFocus]);
  const headerClassName = typeof column.headerClassName === 'function' ? column.headerClassName({
    field: column.field,
    colDef: column
  }) : column.headerClassName;
  const label = (_column$headerName = column.headerName) != null ? _column$headerName : column.field;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_GridGenericColumnHeaderItem__WEBPACK_IMPORTED_MODULE_11__.GridGenericColumnHeaderItem, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: headerCellRef,
    classes: classes,
    columnMenuOpen: columnMenuOpen,
    colIndex: colIndex,
    height: headerHeight,
    isResizing: isResizing,
    sortDirection: sortDirection,
    hasFocus: hasFocus,
    tabIndex: tabIndex,
    separatorSide: separatorSide,
    isDraggable: isDraggable,
    headerComponent: headerComponent,
    description: column.description,
    elementId: column.field,
    width: column.computedWidth,
    columnMenuIconButton: columnMenuIconButton,
    columnTitleIconButtons: columnTitleIconButtons,
    headerClassName: headerClassName,
    label: label,
    resizable: !rootProps.disableColumnResize && !!column.resizable,
    "data-field": column.field,
    columnMenu: columnMenu,
    draggableContainerProps: draggableEventHandlers,
    columnHeaderSeparatorProps: columnHeaderSeparatorProps
  }, mouseEventsHandlers));
}

 true ? GridColumnHeaderItem.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  colIndex: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number).isRequired,
  column: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object).isRequired,
  columnMenuOpen: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  disableReorder: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  extendRowFullWidth: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  filterItemsCounter: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  headerHeight: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number).isRequired,
  isDragging: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  isLastColumn: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  isResizing: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  separatorSide: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['left', 'right']),
  sortDirection: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['asc', 'desc']),
  sortIndex: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf([-1, 0]).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderSeparator.js"
/*!*****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderSeparator.js ***!
  \*****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeaderSeparator: () => (/* binding */ GridColumnHeaderSeparator),
/* harmony export */   GridColumnHeaderSeparatorSides: () => (/* binding */ GridColumnHeaderSeparatorSides)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["resizable", "resizing", "height", "side"];







var GridColumnHeaderSeparatorSides;

(function (GridColumnHeaderSeparatorSides) {
  GridColumnHeaderSeparatorSides["Left"] = "left";
  GridColumnHeaderSeparatorSides["Right"] = "right";
})(GridColumnHeaderSeparatorSides || (GridColumnHeaderSeparatorSides = {}));

const useUtilityClasses = ownerState => {
  const {
    resizable,
    resizing,
    classes,
    side
  } = ownerState;
  const slots = {
    root: ['columnSeparator', resizable && 'columnSeparator--resizable', resizing && 'columnSeparator--resizing', side && `columnSeparator--side${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(side)}`],
    icon: ['iconSeparator']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.getDataGridUtilityClass, classes);
};

function GridColumnHeaderSeparatorRaw(props) {
  const {
    height,
    side = GridColumnHeaderSeparatorSides.Right
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
    side,
    classes: rootProps.classes
  });

  const classes = useUtilityClasses(ownerState);
  const stopClick = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    event.preventDefault();
    event.stopPropagation();
  }, []);
  return (
    /*#__PURE__*/
    // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
    (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      className: classes.root,
      style: {
        minHeight: height,
        opacity: rootProps.showColumnRightBorder ? 0 : 1
      }
    }, other, {
      onClick: stopClick,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(rootProps.components.ColumnResizeIcon, {
        className: classes.icon
      })
    }))
  );
}

const GridColumnHeaderSeparator = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.memo(GridColumnHeaderSeparatorRaw);
 true ? GridColumnHeaderSeparatorRaw.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  height: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  resizable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,
  resizing: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,
  side: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['left', 'right'])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderSortIcon.js"
/*!****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderSortIcon.js ***!
  \****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeaderSortIcon: () => (/* binding */ GridColumnHeaderSortIcon)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_Badge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Badge */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _GridIconButtonContainer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./GridIconButtonContainer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridIconButtonContainer.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");













const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    icon: ['sortIcon']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

function getIcon(icons, direction, className, sortingOrder) {
  let Icon;
  const iconProps = {};

  if (direction === 'asc') {
    Icon = icons.ColumnSortedAscendingIcon;
  } else if (direction === 'desc') {
    Icon = icons.ColumnSortedDescendingIcon;
  } else {
    Icon = icons.ColumnUnsortedIcon;
    iconProps.sortingOrder = sortingOrder;
  }

  return Icon ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(Icon, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    fontSize: "small",
    className: className
  }, iconProps)) : null;
}

function GridColumnHeaderSortIconRaw(props) {
  const {
    direction,
    index,
    sortingOrder
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
    classes: rootProps.classes
  });

  const classes = useUtilityClasses(ownerState);
  const iconElement = getIcon(rootProps.components, direction, classes.icon, sortingOrder);

  if (!iconElement) {
    return null;
  }

  const iconButton = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__["default"], {
    tabIndex: -1,
    "aria-label": apiRef.current.getLocaleText('columnHeaderSortIconLabel'),
    title: apiRef.current.getLocaleText('columnHeaderSortIconLabel'),
    size: "small",
    children: iconElement
  });

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_GridIconButtonContainer__WEBPACK_IMPORTED_MODULE_9__.GridIconButtonContainer, {
    children: [index != null && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_mui_material_Badge__WEBPACK_IMPORTED_MODULE_4__["default"], {
      badgeContent: index,
      color: "default",
      children: iconButton
    }), index == null && iconButton]
  });
}

const GridColumnHeaderSortIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.memo(GridColumnHeaderSortIconRaw);
 true ? GridColumnHeaderSortIconRaw.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  direction: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['asc', 'desc']),
  index: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  sortingOrder: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['asc', 'desc'])).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderTitle.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderTitle.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeaderTitle: () => (/* binding */ GridColumnHeaderTitle)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_domUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/domUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/domUtils.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['columnHeaderTitle']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridColumnHeaderTitleRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'ColumnHeaderTitle',
  overridesResolver: (props, styles) => styles.columnHeaderTitle
})(({
  theme
}) => ({
  textOverflow: 'ellipsis',
  overflow: 'hidden',
  whiteSpace: 'nowrap',
  fontWeight: theme.typography.fontWeightMedium
}));
const ColumnHeaderInnerTitle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function ColumnHeaderInnerTitle(props, ref) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(GridColumnHeaderTitleRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: rootProps
  }, other));
});

// No React.memo here as if we display the sort icon, we need to recalculate the isOver
function GridColumnHeaderTitle(props) {
  var _rootProps$components;

  const {
    label,
    description,
    columnWidth
  } = props;
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const titleRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const [tooltip, setTooltip] = react__WEBPACK_IMPORTED_MODULE_2__.useState('');
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (!description && titleRef && titleRef.current) {
      const isOver = (0,_utils_domUtils__WEBPACK_IMPORTED_MODULE_7__.isOverflown)(titleRef.current);

      if (isOver) {
        setTooltip(label);
      } else {
        setTooltip('');
      }
    }
  }, [titleRef, columnWidth, description, label]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(rootProps.components.BaseTooltip, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    title: description || tooltip
  }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseTooltip, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(ColumnHeaderInnerTitle, {
      ref: titleRef,
      children: label
    })
  }));
}

 true ? GridColumnHeaderTitle.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  columnWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number).isRequired,
  description: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaders.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaders.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeaders: () => (/* binding */ GridColumnHeaders)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];








const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['columnHeaders']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const GridColumnHeadersRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'ColumnHeaders',
  overridesResolver: (props, styles) => styles.columnHeaders
})(({
  theme
}) => {
  const borderColor = theme.palette.mode === 'light' ? (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__.lighten)((0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__.alpha)(theme.palette.divider, 1), 0.88) : (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__.darken)((0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__.alpha)(theme.palette.divider, 1), 0.68);
  return {
    position: 'absolute',
    top: 0,
    left: 0,
    right: 0,
    overflow: 'hidden',
    display: 'flex',
    alignItems: 'center',
    boxSizing: 'border-box',
    borderBottom: `1px solid ${borderColor}`,
    borderTopLeftRadius: theme.shape.borderRadius,
    borderTopRightRadius: theme.shape.borderRadius
  };
});
const GridColumnHeaders = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridColumnHeaders(props, ref) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridColumnHeadersRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(className, classes.root),
    ownerState: rootProps
  }, other));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeadersInner.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeadersInner.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeadersInner: () => (/* binding */ GridColumnHeadersInner)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["isDragging", "className"];









const useUtilityClasses = ownerState => {
  const {
    isDragging,
    hasScrollX,
    classes
  } = ownerState;
  const slots = {
    root: ['columnHeadersInner', isDragging && 'columnHeaderDropZone', hasScrollX && 'columnHeadersInner--scrollable']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.getDataGridUtilityClass, classes);
};

const GridColumnHeadersInnerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'columnHeadersInner',
  overridesResolver: (props, styles) => [{
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.gridClasses.columnHeaderDropZone}`]: styles.columnHeaderDropZone
  }, styles.columnHeadersInner]
})(() => ({
  display: 'flex',
  alignItems: 'flex-start',
  flexDirection: 'column',
  [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.gridClasses.columnHeaderDropZone} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.gridClasses.columnHeaderDraggableContainer}`]: {
    cursor: 'move'
  },
  [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.gridClasses['columnHeadersInner--scrollable']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.gridClasses.columnHeader}:last-child`]: {
    borderRight: 'none'
  }
}));
const GridColumnHeadersInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridColumnHeadersInner(props, ref) {
  var _apiRef$current$getRo, _apiRef$current$getRo2;

  const {
    isDragging,
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rootProps, {
    isDragging,
    hasScrollX: (_apiRef$current$getRo = (_apiRef$current$getRo2 = apiRef.current.getRootDimensions()) == null ? void 0 : _apiRef$current$getRo2.hasScrollX) != null ? _apiRef$current$getRo : false
  });

  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridColumnHeadersInnerRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(className, classes.root),
    ownerState: ownerState
  }, other));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnUnsortedIcon.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnUnsortedIcon.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnUnsortedIcon: () => (/* binding */ GridColumnUnsortedIcon)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["sortingOrder"];



const GridColumnUnsortedIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.memo(function GridColumnHeaderSortIcon(props) {
  const {
    sortingOrder
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_3__.useGridRootProps)();
  const [nextSortDirection] = sortingOrder;
  const Icon = nextSortDirection === 'asc' ? rootProps.components.ColumnSortedAscendingIcon : rootProps.components.ColumnSortedDescendingIcon;
  return Icon ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(Icon, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, other)) : null;
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridGenericColumnHeaderItem.js"
/*!*******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridGenericColumnHeaderItem.js ***!
  \*******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridGenericColumnHeaderItem: () => (/* binding */ GridGenericColumnHeaderItem)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _GridColumnHeaderTitle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./GridColumnHeaderTitle */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderTitle.js");
/* harmony import */ var _GridColumnHeaderSeparator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./GridColumnHeaderSeparator */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderSeparator.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["classes", "columnMenuOpen", "colIndex", "height", "isResizing", "sortDirection", "hasFocus", "tabIndex", "separatorSide", "isDraggable", "headerComponent", "description", "elementId", "width", "columnMenuIconButton", "columnMenu", "columnTitleIconButtons", "headerClassName", "label", "resizable", "draggableContainerProps", "columnHeaderSeparatorProps", "disableHeaderSeparator"];









const GridGenericColumnHeaderItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridGenericColumnHeaderItem(props, ref) {
  const {
    classes,
    columnMenuOpen,
    colIndex,
    height,
    isResizing,
    sortDirection,
    hasFocus,
    tabIndex,
    separatorSide,
    isDraggable,
    headerComponent,
    description,
    width,
    columnMenuIconButton = null,
    columnMenu = null,
    columnTitleIconButtons = null,
    headerClassName,
    label,
    resizable,
    draggableContainerProps,
    columnHeaderSeparatorProps,
    disableHeaderSeparator
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();
  const headerCellRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const [showColumnMenuIcon, setShowColumnMenuIcon] = react__WEBPACK_IMPORTED_MODULE_2__.useState(columnMenuOpen);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(headerCellRef, ref);
  let ariaSort = 'none';

  if (sortDirection != null) {
    ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';
  }

  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (!showColumnMenuIcon) {
      setShowColumnMenuIcon(columnMenuOpen);
    }
  }, [showColumnMenuIcon, columnMenuOpen]);
  react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(() => {
    const columnMenuState = apiRef.current.state.columnMenu;

    if (hasFocus && !columnMenuState.open) {
      const focusableElement = headerCellRef.current.querySelector('[tabindex="0"]');
      const elementToFocus = focusableElement || headerCellRef.current;
      elementToFocus == null ? void 0 : elementToFocus.focus();
      apiRef.current.columnHeadersContainerElementRef.current.scrollLeft = 0;
    }
  }, [apiRef, hasFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: handleRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, headerClassName),
    style: {
      height,
      width,
      minWidth: width,
      maxWidth: width
    },
    role: "columnheader",
    tabIndex: tabIndex,
    "aria-colindex": colIndex + 1,
    "aria-sort": ariaSort,
    "aria-label": headerComponent == null ? label : undefined
  }, other, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      className: classes.draggableContainer,
      draggable: isDraggable
    }, draggableContainerProps, {
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", {
        className: classes.titleContainer,
        children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
          className: classes.titleContainerContent,
          children: headerComponent !== undefined ? headerComponent : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_GridColumnHeaderTitle__WEBPACK_IMPORTED_MODULE_6__.GridColumnHeaderTitle, {
            label: label,
            description: description,
            columnWidth: width
          })
        }), columnTitleIconButtons]
      }), columnMenuIconButton]
    })), !disableHeaderSeparator && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_GridColumnHeaderSeparator__WEBPACK_IMPORTED_MODULE_7__.GridColumnHeaderSeparator, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      resizable: !rootProps.disableColumnResize && !!resizable,
      resizing: isResizing,
      height: height,
      side: separatorSide
    }, columnHeaderSeparatorProps)), columnMenu]
  }));
});


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridIconButtonContainer.js"
/*!***************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridIconButtonContainer.js ***!
  \***************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridIconButtonContainer: () => (/* binding */ GridIconButtonContainer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];








const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['iconButtonContainer']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.getDataGridUtilityClass, classes);
};

const GridIconButtonContainerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'IconButtonContainer',
  overridesResolver: (props, styles) => styles.iconButtonContainer
})(() => ({
  display: 'flex',
  visibility: 'hidden',
  width: 0
}));
const GridIconButtonContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridIconButtonContainer(props, ref) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(GridIconButtonContainerRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ownerState: rootProps
  }, other));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnSelection/GridCellCheckboxRenderer.js"
/*!******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnSelection/GridCellCheckboxRenderer.js ***!
  \******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridCellCheckboxForwardRef: () => (/* binding */ GridCellCheckboxForwardRef),
/* harmony export */   GridCellCheckboxRenderer: () => (/* binding */ GridCellCheckboxRenderer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["field", "id", "value", "formattedValue", "row", "rowNode", "colDef", "isEditable", "cellMode", "hasFocus", "tabIndex", "getValue", "api"];










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['checkboxInput']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.getDataGridUtilityClass, classes);
};

const GridCellCheckboxForwardRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridCellCheckboxRenderer(props, ref) {
  var _rootProps$components;

  const {
    field,
    id,
    value: isChecked,
    rowNode,
    hasFocus,
    tabIndex
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();
  const ownerState = {
    classes: rootProps.classes
  };
  const classes = useUtilityClasses(ownerState);
  const checkboxElement = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const rippleRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef();
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(checkboxElement, ref);
  const element = apiRef.current.getCellElement(id, field);

  const handleChange = event => {
    const params = {
      value: event.target.checked,
      id
    };
    apiRef.current.publishEvent('rowSelectionCheckboxChange', params, event);
  };

  react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(() => {
    if (tabIndex === 0 && element) {
      element.tabIndex = -1;
    }
  }, [element, tabIndex]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (hasFocus) {
      var _checkboxElement$curr;

      const input = (_checkboxElement$curr = checkboxElement.current) == null ? void 0 : _checkboxElement$curr.querySelector('input');
      input == null ? void 0 : input.focus({
        preventScroll: true
      });
    } else if (rippleRef.current) {
      // Only available in @mui/material v5.4.1 or later
      rippleRef.current.stop({});
    }
  }, [hasFocus]);
  const handleKeyDown = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isSpaceKey)(event.key)) {
      event.stopPropagation();
    }

    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isNavigationKey)(event.key) && !event.shiftKey) {
      apiRef.current.publishEvent('cellNavigationKeyDown', props, event);
    }
  }, [apiRef, props]);

  if (rowNode.position === 'footer') {
    return null;
  }

  const isSelectable = apiRef.current.isRowSelectable(id);
  const label = apiRef.current.getLocaleText(isChecked ? 'checkboxSelectionUnselectRow' : 'checkboxSelectionSelectRow');

  if (rowNode.isPinned) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(rootProps.components.BaseCheckbox, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: handleRef,
    tabIndex: tabIndex,
    checked: isChecked,
    onChange: handleChange,
    className: classes.root,
    inputProps: {
      'aria-label': label
    },
    onKeyDown: handleKeyDown,
    disabled: !isSelectable,
    touchRippleRef: rippleRef
  }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseCheckbox, other));
});
 true ? GridCellCheckboxForwardRef.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * GridApi that let you manipulate the grid.
   * @deprecated Use the `apiRef` returned by `useGridApiContext` or `useGridApiRef` (only available in `@mui/x-data-grid-pro`)
   */
  api: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The mode of the cell.
   */
  cellMode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'view']).isRequired,

  /**
   * The column of the row that the current cell belongs to.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * The column field of the cell that triggered the event.
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,

  /**
   * A ref allowing to set imperative focus.
   * It can be passed to the element that should receive focus.
   * @ignore - do not document.
   */
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      focus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
    })
  })]),

  /**
   * The cell value formatted with the column valueFormatter.
   */
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Get the cell value of a row and field.
   * @param {GridRowId} id The row id.
   * @param {string} field The field.
   * @returns {any} The cell value.
   * @deprecated Use `params.row` to directly access the fields you want instead.
   */
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * If true, the cell is the active element.
   */
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * The grid row id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]).isRequired,

  /**
   * If true, the cell is editable.
   */
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * The row model of the row that the current cell belongs to.
   */
  row: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * The node of the row that the current cell belongs to.
   */
  rowNode: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * the tabIndex value.
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf([-1, 0]).isRequired,

  /**
   * The cell value.
   * If the column has `valueGetter`, use `params.row` to directly access the fields.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;

const GridCellCheckboxRenderer = GridCellCheckboxForwardRef;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnSelection/GridHeaderCheckbox.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnSelection/GridHeaderCheckbox.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridHeaderCheckbox: () => (/* binding */ GridHeaderCheckbox)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/features/focus/gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _hooks_features_selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/features/selection/gridSelectionSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/gridSelectionSelector.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/features/filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _hooks_features_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../hooks/features/pagination/gridPaginationSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["field", "colDef"];














const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['checkboxInput']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_10__.getDataGridUtilityClass, classes);
};

const GridHeaderCheckbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridHeaderCheckbox(props, ref) {
  var _rootProps$components;

  const other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_9__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__.useGridRootProps)();
  const ownerState = {
    classes: rootProps.classes
  };
  const classes = useUtilityClasses(ownerState);
  const tabIndexState = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _hooks_features_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_6__.gridTabIndexColumnHeaderSelector);
  const selection = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _hooks_features_selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_7__.gridSelectionStateSelector);
  const visibleRowIds = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_12__.gridVisibleSortedRowIdsSelector);
  const paginatedVisibleRowIds = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _hooks_features_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_13__.gridPaginatedVisibleSortedGridRowIdsSelector);
  const filteredSelection = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (typeof rootProps.isRowSelectable !== 'function') {
      return selection;
    }

    return selection.filter(id => {
      // The row might have been deleted
      if (!apiRef.current.getRow(id)) {
        return false;
      }

      return rootProps.isRowSelectable(apiRef.current.getRowParams(id));
    });
  }, [apiRef, rootProps.isRowSelectable, selection]); // All the rows that could be selected / unselected by toggling this checkbox

  const selectionCandidates = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    const rowIds = !rootProps.pagination || !rootProps.checkboxSelectionVisibleOnly ? visibleRowIds : paginatedVisibleRowIds; // Convert to an object to make O(1) checking if a row exists or not
    // TODO create selector that returns visibleRowIds/paginatedVisibleRowIds as an object

    return rowIds.reduce((acc, id) => {
      acc[id] = true;
      return acc;
    }, {});
  }, [rootProps.pagination, rootProps.checkboxSelectionVisibleOnly, paginatedVisibleRowIds, visibleRowIds]); // Amount of rows selected and that are visible in the current page

  const currentSelectionSize = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => filteredSelection.filter(id => selectionCandidates[id]).length, [filteredSelection, selectionCandidates]);
  const isIndeterminate = currentSelectionSize > 0 && currentSelectionSize < Object.keys(selectionCandidates).length;
  const isChecked = currentSelectionSize > 0;

  const handleChange = event => {
    const params = {
      value: event.target.checked
    };
    apiRef.current.publishEvent('headerSelectionCheckboxChange', params);
  };

  const tabIndex = tabIndexState !== null && tabIndexState.field === props.field ? 0 : -1;
  react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(() => {
    const element = apiRef.current.getColumnHeaderElement(props.field);

    if (tabIndex === 0 && element) {
      element.tabIndex = -1;
    }
  }, [tabIndex, apiRef, props.field]);
  const handleKeyDown = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    if (event.key === ' ') {
      // imperative toggle the checkbox because Space is disable by some preventDefault
      apiRef.current.publishEvent('headerSelectionCheckboxChange', {
        value: !isChecked
      });
    } // TODO v6 remove columnHeaderNavigationKeyDown events which are not used internally anymore


    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_8__.isNavigationKey)(event.key) && !event.shiftKey) {
      apiRef.current.publishEvent('columnHeaderNavigationKeyDown', props, event);
    }
  }, [apiRef, props, isChecked]);
  const handleSelectionChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => {
    forceUpdate(p => !p);
  }, []);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    return apiRef.current.subscribeEvent('selectionChange', handleSelectionChange);
  }, [apiRef, handleSelectionChange]);
  const label = apiRef.current.getLocaleText(isChecked ? 'checkboxSelectionUnselectAllRows' : 'checkboxSelectionSelectAllRows');
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(rootProps.components.BaseCheckbox, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    indeterminate: isIndeterminate,
    checked: isChecked,
    onChange: handleChange,
    className: classes.root,
    inputProps: {
      'aria-label': label
    },
    tabIndex: tabIndex,
    onKeyDown: handleKeyDown
  }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseCheckbox, other));
});
 true ? GridHeaderCheckbox.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * The column of the current header component.
   */
  colDef: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,

  /**
   * The column field of the column that triggered the event
   */
  field: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridFooterContainer.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridFooterContainer.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFooterContainer: () => (/* binding */ GridFooterContainer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['footerContainer']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridFooterContainerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'FooterContainer',
  overridesResolver: (props, styles) => styles.footerContainer
})(({
  theme
}) => {
  const borderColor = theme.palette.mode === 'light' ? (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__.lighten)((0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__.alpha)(theme.palette.divider, 1), 0.88) : (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__.darken)((0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__.alpha)(theme.palette.divider, 1), 0.68);
  return {
    display: 'flex',
    justifyContent: 'space-between',
    alignItems: 'center',
    minHeight: 52,
    // Match TablePagination min height
    borderTop: `1px solid ${borderColor}`
  };
});
const GridFooterContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridFooterContainer(props, ref) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(GridFooterContainerRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: rootProps
  }, other));
});
 true ? GridFooterContainer.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridMainContainer.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridMainContainer.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridMainContainer: () => (/* binding */ GridMainContainer)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");







const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['main']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.getDataGridUtilityClass, classes);
};

const GridMainContainerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_2__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'Main',
  overridesResolver: (props, styles) => styles.main
})(() => ({
  position: 'relative',
  flexGrow: 1,
  display: 'flex',
  flexDirection: 'column',
  overflow: 'hidden'
}));
function GridMainContainer(props) {
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(GridMainContainerRoot, {
    className: classes.root,
    ownerState: rootProps,
    children: props.children
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridOverlay.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridOverlay.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridOverlay: () => (/* binding */ GridOverlay)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['overlay']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridOverlayRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'Overlay',
  overridesResolver: (props, styles) => styles.overlay
})(({
  theme
}) => ({
  position: 'absolute',
  top: 0,
  zIndex: 4,
  // should be above pinned columns, pinned rows and detail panel
  width: '100%',
  height: '100%',
  pointerEvents: 'none',
  display: 'flex',
  alignSelf: 'center',
  alignItems: 'center',
  justifyContent: 'center',
  backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__.alpha)(theme.palette.background.default, theme.palette.action.disabledOpacity)
}));
const GridOverlay = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridOverlay(props, ref) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(GridOverlayRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: rootProps
  }, other));
});
 true ? GridOverlay.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridRoot.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridRoot.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridRoot: () => (/* binding */ GridRoot)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _GridRootStyles__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./GridRootStyles */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridRootStyles.js");
/* harmony import */ var _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/features/columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../hooks/features/density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../hooks/features/rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["children", "className"];















const useUtilityClasses = ownerState => {
  const {
    autoHeight,
    density,
    classes
  } = ownerState;
  const slots = {
    root: ['root', autoHeight && 'autoHeight', `root--density${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(density)}`]
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_14__.getDataGridUtilityClass, classes);
};

const GridRoot = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridRoot(props, ref) {
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_13__.useGridRootProps)();

  const {
    children,
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_12__.useGridApiContext)();
  const visibleColumns = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__.useGridSelector)(apiRef, _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_10__.gridVisibleColumnDefinitionsSelector);
  const totalRowCount = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__.useGridSelector)(apiRef, _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_16__.gridRowCountSelector);
  const densityValue = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_15__.gridDensityValueSelector);
  const headerGroupingMaxDepth = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_15__.gridDensityHeaderGroupingMaxDepthSelector);
  const rootContainerRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(rootContainerRef, ref);
  const pinnedRowsCount = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_11__.useGridSelector)(apiRef, _hooks_features_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_16__.gridPinnedRowsCountSelector);

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rootProps, {
    density: densityValue
  });

  const classes = useUtilityClasses(ownerState);
  apiRef.current.rootElementRef = rootContainerRef; // Our implementation of <NoSsr />

  const [mountedState, setMountedState] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])(() => {
    setMountedState(true);
  }, []);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])(() => {
    if (mountedState) {
      apiRef.current.unstable_updateGridDimensionsRef();
    }
  }, [apiRef, mountedState]);

  if (!mountedState) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_GridRootStyles__WEBPACK_IMPORTED_MODULE_9__.GridRootStyles, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: handleRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
    ownerState: ownerState,
    role: "grid",
    "aria-colcount": visibleColumns.length,
    "aria-rowcount": headerGroupingMaxDepth + 1 + pinnedRowsCount + totalRowCount,
    "aria-multiselectable": !rootProps.disableMultipleSelection,
    "aria-label": rootProps['aria-label'],
    "aria-labelledby": rootProps['aria-labelledby']
  }, other, {
    children: children
  }));
});
 true ? GridRoot.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridRootStyles.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridRootStyles.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridRootStyles: () => (/* binding */ GridRootStyles)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");



const GridRootStyles = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_2__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'Root',
  overridesResolver: (props, styles) => [{
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.autoHeight}`]: styles.autoHeight
  }, {
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.aggregationColumnHeader}`]: styles.aggregationColumnHeader
  }, {
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['aggregationColumnHeader--alignLeft']}`]: styles['aggregationColumnHeader--alignLeft']
  }, {
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['aggregationColumnHeader--alignCenter']}`]: styles['aggregationColumnHeader--alignCenter']
  }, {
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['aggregationColumnHeader--alignRight']}`]: styles['aggregationColumnHeader--alignRight']
  }, {
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.aggregationColumnHeaderLabel}`]: styles.aggregationColumnHeaderLabel
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.editBooleanCell}`]: styles.editBooleanCell
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--editing']}`]: styles['cell--editing']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--textCenter']}`]: styles['cell--textCenter']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--textLeft']}`]: styles['cell--textLeft']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--textRight']}`]: styles['cell--textRight']
  }, // TODO v6: Remove
  {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--withRenderer']}`]: styles['cell--withRenderer']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}`]: styles.cell
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cellContent}`]: styles.cellContent
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cellCheckbox}`]: styles.cellCheckbox
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cellSkeleton}`]: styles.cellSkeleton
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.checkboxInput}`]: styles.checkboxInput
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignCenter']}`]: styles['columnHeader--alignCenter']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignLeft']}`]: styles['columnHeader--alignLeft']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignRight']}`]: styles['columnHeader--alignRight']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--dragging']}`]: styles['columnHeader--dragging']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--moving']}`]: styles['columnHeader--moving']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--numeric']}`]: styles['columnHeader--numeric']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--sortable']}`]: styles['columnHeader--sortable']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--sorted']}`]: styles['columnHeader--sorted']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}`]: styles.columnHeader
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderCheckbox}`]: styles.columnHeaderCheckbox
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderDraggableContainer}`]: styles.columnHeaderDraggableContainer
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderTitleContainer}`]: styles.columnHeaderTitleContainer
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnSeparator--resizable']}`]: styles['columnSeparator--resizable']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnSeparator--resizing']}`]: styles['columnSeparator--resizing']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnSeparator}`]: styles.columnSeparator
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.filterIcon}`]: styles.filterIcon
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.iconSeparator}`]: styles.iconSeparator
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIcon}`]: styles.menuIcon
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIconButton}`]: styles.menuIconButton
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuOpen}`]: styles.menuOpen
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuList}`]: styles.menuList
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--editable']}`]: styles['row--editable']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--editing']}`]: styles['row--editing']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--dragging']}`]: styles['row--dragging']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.row}`]: styles.row
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.rowReorderCellPlaceholder}`]: styles.rowReorderCellPlaceholder
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.rowReorderCell}`]: styles.rowReorderCell
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['rowReorderCell--draggable']}`]: styles['rowReorderCell--draggable']
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.sortIcon}`]: styles.sortIcon
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.withBorder}`]: styles.withBorder
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.treeDataGroupingCell}`]: styles.treeDataGroupingCell
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.treeDataGroupingCellToggle}`]: styles.treeDataGroupingCellToggle
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.detailPanelToggleCell}`]: styles.detailPanelToggleCell
  }, {
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['detailPanelToggleCell--expanded']}`]: styles['detailPanelToggleCell--expanded']
  }, styles.root]
})(({
  theme
}) => {
  const borderColor = theme.palette.mode === 'light' ? (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.lighten)((0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.alpha)(theme.palette.divider, 1), 0.88) : (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.darken)((0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.alpha)(theme.palette.divider, 1), 0.68);

  const gridStyle = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    flex: 1,
    boxSizing: 'border-box',
    position: 'relative',
    border: `1px solid ${borderColor}`,
    borderRadius: theme.shape.borderRadius,
    color: theme.palette.text.primary
  }, theme.typography.body2, {
    outline: 'none',
    height: '100%',
    display: 'flex',
    flexDirection: 'column',
    [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.autoHeight}`]: {
      height: 'auto',
      [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--lastVisible']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}`]: {
        borderBottomColor: 'transparent'
      }
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['virtualScrollerContent--overflowed']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--lastVisible']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}`]: {
      borderBottomColor: 'transparent'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}`]: {
      WebkitTapHighlightColor: 'transparent',
      lineHeight: null,
      padding: '0 10px',
      boxSizing: 'border-box'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}:focus-within, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}:focus-within`]: {
      outline: `solid ${(0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.alpha)(theme.palette.primary.main, 0.5)} 1px`,
      outlineWidth: 1,
      outlineOffset: -1
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}:focus, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}:focus`]: {
      outline: `solid ${theme.palette.primary.main} 1px`
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderCheckbox}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cellCheckbox}`]: {
      padding: 0,
      justifyContent: 'center',
      alignItems: 'center'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}`]: {
      position: 'relative',
      display: 'flex',
      alignItems: 'center'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--sorted']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.iconButtonContainer}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--filtered']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.iconButtonContainer}`]: {
      visibility: 'visible',
      width: 'auto'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}:not(.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--sorted']}) .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.sortIcon}`]: {
      opacity: 0,
      transition: theme.transitions.create(['opacity'], {
        duration: theme.transitions.duration.shorter
      })
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}:not(.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--sorted']}):hover .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.sortIcon}`]: {
      opacity: 0.5
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderTitleContainer}`]: {
      display: 'flex',
      alignItems: 'center',
      minWidth: 0,
      flex: 1,
      whiteSpace: 'nowrap',
      overflow: 'hidden'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderTitleContainerContent}`]: {
      overflow: 'hidden',
      display: 'flex',
      alignItems: 'center'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--filledGroup']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderTitleContainer}`]: {
      borderBottom: `solid ${borderColor} 1px`,
      boxSizing: 'border-box'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--filledGroup']}.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--showColumnBorder']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderTitleContainer}`]: {
      borderBottom: `none`
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--filledGroup']}.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--showColumnBorder']}`]: {
      borderBottom: `solid ${borderColor} 1px`,
      boxSizing: 'border-box'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.sortIcon}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.filterIcon}`]: {
      fontSize: 'inherit'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--sortable']}`]: {
      cursor: 'pointer'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignCenter']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderTitleContainer}`]: {
      justifyContent: 'center'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignRight']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderDraggableContainer}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignRight']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderTitleContainer}`]: {
      flexDirection: 'row-reverse'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignCenter']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIcon}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignRight']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIcon}`]: {
      marginRight: 'auto',
      marginLeft: -6
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignRight']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIcon}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--alignRight']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIcon}`]: {
      marginRight: 'auto',
      marginLeft: -10
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--moving']}`]: {
      backgroundColor: theme.palette.action.hover
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnSeparator}`]: {
      position: 'absolute',
      zIndex: 100,
      display: 'flex',
      flexDirection: 'column',
      justifyContent: 'center',
      color: borderColor
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnSeparator--sideLeft']}`]: {
      left: -12
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnSeparator--sideRight']}`]: {
      right: -12
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnSeparator--resizable']}`]: {
      cursor: 'col-resize',
      touchAction: 'none',
      '&:hover': {
        color: theme.palette.text.primary,
        // Reset on touch devices, it doesn't add specificity
        '@media (hover: none)': {
          color: borderColor
        }
      },
      [`&.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnSeparator--resizing']}`]: {
        color: theme.palette.text.primary
      },
      '& svg': {
        pointerEvents: 'none'
      }
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.iconSeparator}`]: {
      color: 'inherit'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIcon}`]: {
      width: 0,
      visibility: 'hidden',
      fontSize: 20,
      marginRight: -10,
      display: 'flex',
      alignItems: 'center'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeader}:hover`]: {
      [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.iconButtonContainer}`]: {
        visibility: 'visible',
        width: 'auto'
      },
      [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuIcon}`]: {
        width: 'auto',
        visibility: 'visible'
      }
    },
    [`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.menuOpen}`]: {
      visibility: 'visible',
      width: 'auto'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.row}`]: {
      display: 'flex',
      width: 'fit-content',
      breakInside: 'avoid',
      // Avoid the row to be broken in two different print pages.
      '&:hover, &.Mui-hovered': {
        backgroundColor: theme.palette.action.hover,
        // Reset on touch devices, it doesn't add specificity
        '@media (hover: none)': {
          backgroundColor: 'transparent'
        }
      },
      '&.Mui-selected': {
        backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity),
        '&:hover, &.Mui-hovered': {
          backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
          // Reset on touch devices, it doesn't add specificity
          '@media (hover: none)': {
            backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity)
          }
        }
      }
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}`]: {
      display: 'flex',
      alignItems: 'center',
      borderBottom: `1px solid ${borderColor}`
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.row}:not(.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--dynamicHeight']}) > .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}`]: {
      overflow: 'hidden',
      whiteSpace: 'nowrap'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cellContent}`]: {
      overflow: 'hidden',
      textOverflow: 'ellipsis'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--editing']}`]: {
      padding: 1,
      display: 'flex',
      boxShadow: theme.shadows[2],
      backgroundColor: theme.palette.background.paper,
      '&:focus-within': {
        outline: `solid ${theme.palette.primary.main} 1px`,
        outlineOffset: '-1px'
      }
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--editing']}`]: {
      boxShadow: theme.shadows[2]
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--editing']} .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.cell}`]: {
      boxShadow: theme.shadows[0],
      backgroundColor: theme.palette.background.paper
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.editBooleanCell}`]: {
      display: 'flex',
      height: '100%',
      width: '100%',
      alignItems: 'center',
      justifyContent: 'center'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.booleanCell}[data-value="true"]`]: {
      color: theme.palette.text.secondary
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.booleanCell}[data-value="false"]`]: {
      color: theme.palette.text.disabled
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.actionsCell}`]: {
      display: 'inline-flex',
      alignItems: 'center',
      gridGap: theme.spacing(1)
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.rowReorderCell}`]: {
      display: 'inline-flex',
      flex: 1,
      alignItems: 'center',
      justifyContent: 'center',
      opacity: theme.palette.action.disabledOpacity
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['rowReorderCell--draggable']}`]: {
      cursor: 'move',
      opacity: 1
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.rowReorderCellContainer}`]: {
      padding: 0,
      alignItems: 'stretch'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.withBorder}`]: {
      borderRight: `1px solid ${borderColor}`
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--textLeft']}`]: {
      justifyContent: 'flex-start'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--textRight']}`]: {
      justifyContent: 'flex-end'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['cell--textCenter']}`]: {
      justifyContent: 'center'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.columnHeaderDraggableContainer}`]: {
      display: 'flex',
      width: '100%',
      height: '100%'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.rowReorderCellPlaceholder}`]: {
      display: 'none'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['columnHeader--dragging']}, & .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--dragging']}`]: {
      background: theme.palette.background.paper,
      padding: '0 12px',
      borderRadius: theme.shape.borderRadius,
      opacity: theme.palette.action.disabledOpacity
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses['row--dragging']}`]: {
      background: theme.palette.background.paper,
      padding: '0 12px',
      borderRadius: theme.shape.borderRadius,
      opacity: theme.palette.action.disabledOpacity,
      [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.rowReorderCellPlaceholder}`]: {
        display: 'flex'
      }
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.treeDataGroupingCell}`]: {
      display: 'flex',
      alignItems: 'center',
      width: '100%'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.treeDataGroupingCellToggle}`]: {
      flex: '0 0 28px',
      alignSelf: 'stretch',
      marginRight: theme.spacing(2)
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.groupingCriteriaCell}`]: {
      display: 'flex',
      alignItems: 'center',
      width: '100%'
    },
    [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_3__.gridClasses.groupingCriteriaCellToggle}`]: {
      flex: '0 0 28px',
      alignSelf: 'stretch',
      marginRight: theme.spacing(2)
    }
  });

  return gridStyle;
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridToolbarContainer.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridToolbarContainer.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridToolbarContainer: () => (/* binding */ GridToolbarContainer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "children"];









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['toolbarContainer']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const GridToolbarContainerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'ToolbarContainer',
  overridesResolver: (props, styles) => styles.toolbarContainer
})(({
  theme
}) => ({
  display: 'flex',
  alignItems: 'center',
  flexWrap: 'wrap',
  padding: theme.spacing(0.5, 0.5, 0)
}));
const GridToolbarContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridToolbarContainer(props, ref) {
  const {
    className,
    children
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);

  if (!children) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridToolbarContainerRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
    ownerState: rootProps
  }, other, {
    children: children
  }));
});
 true ? GridToolbarContainer.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridAddIcon: () => (/* binding */ GridAddIcon),
/* harmony export */   GridArrowDownwardIcon: () => (/* binding */ GridArrowDownwardIcon),
/* harmony export */   GridArrowUpwardIcon: () => (/* binding */ GridArrowUpwardIcon),
/* harmony export */   GridCheckCircleIcon: () => (/* binding */ GridCheckCircleIcon),
/* harmony export */   GridCheckIcon: () => (/* binding */ GridCheckIcon),
/* harmony export */   GridCloseIcon: () => (/* binding */ GridCloseIcon),
/* harmony export */   GridColumnIcon: () => (/* binding */ GridColumnIcon),
/* harmony export */   GridDragIcon: () => (/* binding */ GridDragIcon),
/* harmony export */   GridExpandMoreIcon: () => (/* binding */ GridExpandMoreIcon),
/* harmony export */   GridFilterAltIcon: () => (/* binding */ GridFilterAltIcon),
/* harmony export */   GridFilterListIcon: () => (/* binding */ GridFilterListIcon),
/* harmony export */   GridKeyboardArrowRight: () => (/* binding */ GridKeyboardArrowRight),
/* harmony export */   GridLoadIcon: () => (/* binding */ GridLoadIcon),
/* harmony export */   GridMenuIcon: () => (/* binding */ GridMenuIcon),
/* harmony export */   GridMoreVertIcon: () => (/* binding */ GridMoreVertIcon),
/* harmony export */   GridRemoveIcon: () => (/* binding */ GridRemoveIcon),
/* harmony export */   GridSaveAltIcon: () => (/* binding */ GridSaveAltIcon),
/* harmony export */   GridSearchIcon: () => (/* binding */ GridSearchIcon),
/* harmony export */   GridSeparatorIcon: () => (/* binding */ GridSeparatorIcon),
/* harmony export */   GridTableRowsIcon: () => (/* binding */ GridTableRowsIcon),
/* harmony export */   GridTripleDotsVerticalIcon: () => (/* binding */ GridTripleDotsVerticalIcon),
/* harmony export */   GridViewHeadlineIcon: () => (/* binding */ GridViewHeadlineIcon),
/* harmony export */   GridViewStreamIcon: () => (/* binding */ GridViewStreamIcon)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");



const GridArrowUpwardIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"
}), 'ArrowUpward');
const GridArrowDownwardIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
}), 'ArrowDownward');
const GridKeyboardArrowRight = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"
}), 'KeyboardArrowRight');
const GridExpandMoreIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
}), 'ExpandMore');
const GridFilterListIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"
}), 'FilterList');
const GridFilterAltIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"
}), 'FilterAlt');
const GridSearchIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
}), 'Search');
const GridMenuIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
}), 'Menu');
const GridCheckCircleIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
}), 'CheckCircle');
const GridColumnIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"
}), 'ColumnIcon');
const GridSeparatorIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M11 19V5h2v14z"
}), 'Separator');
const GridViewHeadlineIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"
}), 'ViewHeadline');
const GridTableRowsIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"
}), 'TableRows');
const GridViewStreamIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M4 18h17v-6H4v6zM4 5v6h17V5H4z"
}), 'ViewStream');
const GridTripleDotsVerticalIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
}), 'TripleDotsVertical');
const GridCloseIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.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');
const GridAddIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
}), 'Add');
const GridRemoveIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M19 13H5v-2h14v2z"
}), 'Remove');
const GridLoadIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"
}), 'Load');
const GridDragIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
}), 'Drag');
const GridSaveAltIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"
}), 'SaveAlt');
const GridCheckIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
}), 'Check');
const GridMoreVertIcon = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
}), 'MoreVert');

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/GridMenu.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/GridMenu.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridMenu: () => (/* binding */ GridMenu)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/ClickAwayListener */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ClickAwayListener/ClickAwayListener.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_Grow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Grow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grow/Grow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Popper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Popper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["open", "target", "onClickAway", "children", "position", "className", "onExited"];















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['menu']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_12__.getDataGridUtilityClass, classes);
};

const GridMenuRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_10__["default"])(_mui_material_Popper__WEBPACK_IMPORTED_MODULE_9__["default"], {
  name: 'MuiDataGrid',
  slot: 'Menu',
  overridesResolver: (props, styles) => styles.menu
})(({
  theme
}) => ({
  zIndex: theme.zIndex.modal,
  [`& .${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_12__.gridClasses.menuList}`]: {
    outline: 0
  }
}));
const transformOrigin = {
  'bottom-start': 'top left',
  'bottom-end': 'top right'
};

const GridMenu = props => {
  var _rootProps$components;

  const {
    open,
    target,
    onClickAway,
    children,
    position,
    className,
    onExited
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_14__.useGridApiContext)();
  const prevTarget = react__WEBPACK_IMPORTED_MODULE_2__.useRef(target);
  const prevOpen = react__WEBPACK_IMPORTED_MODULE_2__.useRef(open);
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_13__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (prevOpen.current && prevTarget.current) {
      prevTarget.current.focus();
    } // Emit menuOpen or menuClose events


    const eventName = open ? 'menuOpen' : 'menuClose';
    apiRef.current.publishEvent(eventName, {
      target
    });
    prevOpen.current = open;
    prevTarget.current = target;
  }, [apiRef, open, target]);

  const handleExited = popperOnExited => node => {
    if (popperOnExited) {
      popperOnExited();
    }

    if (onExited) {
      onExited(node);
    }
  };

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(GridMenuRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    as: rootProps.components.BasePopper,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
    ownerState: rootProps,
    open: open,
    anchorEl: target,
    transition: true,
    placement: position
  }, other, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.basePopper, {
    children: ({
      TransitionProps,
      placement
    }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_5__.ClickAwayListener, {
      onClickAway: onClickAway,
      mouseEvent: "onMouseDown",
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_mui_material_Grow__WEBPACK_IMPORTED_MODULE_7__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, TransitionProps, {
        style: {
          transformOrigin: transformOrigin[placement]
        },
        onExited: handleExited(TransitionProps == null ? void 0 : TransitionProps.onExited),
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__["default"], {
          children: children
        })
      }))
    })
  }));
};

 true ? GridMenu.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
  onClickAway: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  onExited: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true`, the component is shown.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,
  position: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
  target: _mui_utils__WEBPACK_IMPORTED_MODULE_11__["default"]
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnHeaderMenu.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnHeaderMenu.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnHeaderMenu: () => (/* binding */ GridColumnHeaderMenu)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _GridMenu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../GridMenu */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/GridMenu.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");








function GridColumnHeaderMenu({
  columnMenuId,
  columnMenuButtonId,
  ContentComponent,
  contentComponentProps,
  field,
  open,
  target,
  onExited
}) {
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_4__.useGridApiContext)();
  const currentColumn = apiRef.current.getColumn(field);
  const hideMenu = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(event => {
    // Prevent triggering the sorting
    event.stopPropagation();
    apiRef.current.hideColumnMenu();
  }, [apiRef]);

  if (!target) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GridMenu__WEBPACK_IMPORTED_MODULE_5__.GridMenu, {
    placement: `bottom-${currentColumn.align === 'right' ? 'start' : 'end'}`,
    open: open,
    target: target,
    onClickAway: hideMenu,
    onExited: onExited,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ContentComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      currentColumn: currentColumn,
      hideMenu: hideMenu,
      open: open,
      id: columnMenuId,
      labelledby: columnMenuButtonId
    }, contentComponentProps))
  });
}

 true ? GridColumnHeaderMenu.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  columnMenuButtonId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  columnMenuId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  ContentComponent: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().elementType).isRequired,
  contentComponentProps: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any),
  field: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
  onExited: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  open: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  target: _mui_utils__WEBPACK_IMPORTED_MODULE_3__["default"]
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnMenu.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnMenu.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnMenu: () => (/* binding */ GridColumnMenu)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _GridColumnMenuContainer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./GridColumnMenuContainer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnMenuContainer.js");
/* harmony import */ var _GridColumnsMenuItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./GridColumnsMenuItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnsMenuItem.js");
/* harmony import */ var _GridFilterMenuItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GridFilterMenuItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridFilterMenuItem.js");
/* harmony import */ var _HideGridColMenuItem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./HideGridColMenuItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/HideGridColMenuItem.js");
/* harmony import */ var _SortGridMenuItems__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SortGridMenuItems */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/SortGridMenuItems.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");










const GridColumnMenu = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridColumnMenu(props, ref) {
  const {
    hideMenu,
    currentColumn
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_8__.useGridApiContext)();
  const defaultButtons = [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_SortGridMenuItems__WEBPACK_IMPORTED_MODULE_7__.SortGridMenuItems, {
    onClick: hideMenu,
    column: currentColumn
  }),
  /*#__PURE__*/
  // TODO update types to allow `onClick` and `column` to be optional
  (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_GridFilterMenuItem__WEBPACK_IMPORTED_MODULE_5__.GridFilterMenuItem, {
    onClick: hideMenu,
    column: currentColumn
  }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_HideGridColMenuItem__WEBPACK_IMPORTED_MODULE_6__.HideGridColMenuItem, {
    onClick: hideMenu,
    column: currentColumn
  }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_GridColumnsMenuItem__WEBPACK_IMPORTED_MODULE_4__.GridColumnsMenuItem, {
    onClick: hideMenu,
    column: currentColumn
  })];
  const preProcessedButtons = apiRef.current.unstable_applyPipeProcessors('columnMenu', defaultButtons, currentColumn);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_GridColumnMenuContainer__WEBPACK_IMPORTED_MODULE_3__.GridColumnMenuContainer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, props, {
    children: preProcessedButtons.map((button, index) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.cloneElement(button, {
      key: index,
      onClick: hideMenu,
      column: currentColumn
    }))
  }));
});
 true ? GridColumnMenu.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  currentColumn: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object).isRequired,
  hideMenu: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  id: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  labelledby: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  open: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnMenuContainer.js"
/*!*****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnMenuContainer.js ***!
  \*****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnMenuContainer: () => (/* binding */ GridColumnMenuContainer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/MenuList */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuList/MenuList.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["hideMenu", "currentColumn", "open", "id", "labelledby", "className", "children"];







const GridColumnMenuContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.forwardRef(function GridColumnMenuContainer(props, ref) {
  const {
    hideMenu,
    open,
    id,
    labelledby,
    className,
    children
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const handleListKeyDown = react__WEBPACK_IMPORTED_MODULE_4__.useCallback(event => {
    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isTabKey)(event.key)) {
      event.preventDefault();
    }

    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isHideMenuKey)(event.key)) {
      hideMenu(event);
    }
  }, [hideMenu]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    id: id,
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.menuList, className),
    "aria-labelledby": labelledby,
    onKeyDown: handleListKeyDown,
    autoFocus: open
  }, other, {
    children: children
  }));
});
 true ? GridColumnMenuContainer.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  currentColumn: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired,
  hideMenu: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  id: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  labelledby: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnsMenuItem.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnsMenuItem.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnsMenuItem: () => (/* binding */ GridColumnsMenuItem)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../hooks/features/preferencesPanel/gridPreferencePanelsValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");








const GridColumnsMenuItem = props => {
  const {
    onClick
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_4__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_5__.useGridRootProps)();
  const showColumns = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    onClick(event);
    apiRef.current.showPreferences(_hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_3__.GridPreferencePanelsValue.columns);
  }, [apiRef, onClick]);

  if (rootProps.disableColumnSelector) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], {
    onClick: showColumns,
    children: apiRef.current.getLocaleText('columnMenuShowColumns')
  });
};

 true ? GridColumnsMenuItem.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  column: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object).isRequired,
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridFilterMenuItem.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridFilterMenuItem.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterMenuItem: () => (/* binding */ GridFilterMenuItem)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");







const GridFilterMenuItem = props => {
  const {
    column,
    onClick
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__.useGridRootProps)();
  const showFilter = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    onClick(event);
    apiRef.current.showFilterPanel(column == null ? void 0 : column.field);
  }, [apiRef, column == null ? void 0 : column.field, onClick]);

  if (rootProps.disableColumnFilter || !(column != null && column.filterable)) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], {
    onClick: showFilter,
    children: apiRef.current.getLocaleText('columnMenuFilter')
  });
};

 true ? GridFilterMenuItem.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  column: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object).isRequired,
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/HideGridColMenuItem.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/HideGridColMenuItem.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   HideGridColMenuItem: () => (/* binding */ HideGridColMenuItem)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_features_columns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../hooks/features/columns */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");








const HideGridColMenuItem = props => {
  const {
    column,
    onClick
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_3__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__.useGridRootProps)();
  const timeoutRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const visibleColumns = (0,_hooks_features_columns__WEBPACK_IMPORTED_MODULE_5__.gridVisibleColumnDefinitionsSelector)(apiRef);
  const columnsWithMenu = visibleColumns.filter(col => col.disableColumnMenu !== true); // do not allow to hide the last column with menu

  const disabled = columnsWithMenu.length === 1;
  const toggleColumn = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    /**
     * Disabled `MenuItem` would trigger `click` event
     * after imperative `.click()` call on HTML element.
     * Also, click is triggered in testing environment as well.
     */
    if (disabled) {
      return;
    }

    onClick(event); // time for the transition

    timeoutRef.current = setTimeout(() => {
      apiRef.current.setColumnVisibility(column == null ? void 0 : column.field, false);
    }, 100);
  }, [apiRef, column == null ? void 0 : column.field, onClick, disabled]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    return () => clearTimeout(timeoutRef.current);
  }, []);

  if (rootProps.disableColumnSelector) {
    return null;
  }

  if (column.hideable === false) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], {
    onClick: toggleColumn,
    disabled: disabled,
    children: apiRef.current.getLocaleText('columnMenuHideColumn')
  });
};

 true ? HideGridColMenuItem.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  column: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object).isRequired,
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/SortGridMenuItems.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/SortGridMenuItems.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SortGridMenuItems: () => (/* binding */ SortGridMenuItems)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../hooks/features/sorting/gridSortingSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");










function SortGridMenuItems(props) {
  var _column$sortingOrder;

  const {
    column,
    onClick
  } = props;
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__.useGridApiContext)();
  const sortModel = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_4__.gridSortModelSelector);
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();
  const sortingOrder = (_column$sortingOrder = column.sortingOrder) != null ? _column$sortingOrder : rootProps.sortingOrder;
  const sortDirection = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    if (!column) {
      return null;
    }

    const sortItem = sortModel.find(item => item.field === column.field);
    return sortItem == null ? void 0 : sortItem.sort;
  }, [column, sortModel]);
  const onSortMenuItemClick = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    onClick(event);
    const direction = event.currentTarget.getAttribute('data-value') || null;
    apiRef.current.sortColumn(column, direction);
  }, [apiRef, column, onClick]);

  if (!column || !column.sortable) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [sortingOrder.includes(null) ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], {
      onClick: onSortMenuItemClick,
      disabled: sortDirection == null,
      children: apiRef.current.getLocaleText('columnMenuUnsort')
    }) : null, sortingOrder.includes('asc') ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], {
      onClick: onSortMenuItemClick,
      "data-value": "asc",
      disabled: sortDirection === 'asc',
      children: apiRef.current.getLocaleText('columnMenuSortAsc')
    }) : null, sortingOrder.includes('desc') ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], {
      onClick: onSortMenuItemClick,
      "data-value": "desc",
      disabled: sortDirection === 'desc',
      children: apiRef.current.getLocaleText('columnMenuSortDesc')
    }) : null]
  });
}

 true ? SortGridMenuItems.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  column: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object).isRequired,
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridColumnsPanel.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridColumnsPanel.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridColumnsPanel: () => (/* binding */ GridColumnsPanel)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_Switch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/Switch */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/switchClasses.js");
/* harmony import */ var _mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/FormControlLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/features/columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../icons */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js");
/* harmony import */ var _GridPanelContent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./GridPanelContent */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelContent.js");
/* harmony import */ var _GridPanelFooter__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./GridPanelFooter */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelFooter.js");
/* harmony import */ var _GridPanelHeader__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./GridPanelHeader */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelHeader.js");
/* harmony import */ var _GridPanelWrapper__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./GridPanelWrapper */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelWrapper.js");
/* harmony import */ var _constants_envConstants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../constants/envConstants */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/envConstants.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["sort", "searchPredicate", "autoFocusSearchField"];





















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['columnsPanel'],
    columnsPanelRow: ['columnsPanelRow']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_19__.getDataGridUtilityClass, classes);
};

const GridColumnsPanelRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'ColumnsPanel',
  overridesResolver: (props, styles) => styles.columnsPanel
})({
  padding: '8px 0px 8px 8px'
});
const GridColumnsPanelRowRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'ColumnsPanelRow',
  overridesResolver: (props, styles) => styles.columnsPanelRow
})(({
  theme
}) => ({
  display: 'flex',
  justifyContent: 'space-between',
  padding: '1px 8px 1px 7px',
  [`& .${_mui_material_Switch__WEBPACK_IMPORTED_MODULE_6__["default"].root}`]: {
    marginRight: theme.spacing(0.5)
  }
}));
const GridIconButtonRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_8__["default"])(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__["default"])({
  justifyContent: 'flex-end'
});
const collator = new Intl.Collator();

const defaultSearchPredicate = (column, searchValue) => {
  return (column.headerName || column.field).toLowerCase().indexOf(searchValue) > -1;
};

function GridColumnsPanel(props) {
  var _rootProps$components, _rootProps$components3, _rootProps$components4;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_11__.useGridApiContext)();
  const searchInputRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const columns = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_10__.useGridSelector)(apiRef, _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__.gridColumnDefinitionsSelector);
  const columnVisibilityModel = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_10__.useGridSelector)(apiRef, _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__.gridColumnVisibilityModelSelector);
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_18__.useGridRootProps)();
  const [searchValue, setSearchValue] = react__WEBPACK_IMPORTED_MODULE_2__.useState('');
  const classes = useUtilityClasses(rootProps);

  const {
    sort,
    searchPredicate = defaultSearchPredicate,
    autoFocusSearchField = true
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const sortedColumns = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    switch (sort) {
      case 'asc':
        return [...columns].sort((a, b) => collator.compare(a.headerName || a.field, b.headerName || b.field));

      case 'desc':
        return [...columns].sort((a, b) => -collator.compare(a.headerName || a.field, b.headerName || b.field));

      default:
        return columns;
    }
  }, [columns, sort]);

  const toggleColumn = event => {
    const {
      name: field
    } = event.target;
    apiRef.current.setColumnVisibility(field, columnVisibilityModel[field] === false);
  };

  const toggleAllColumns = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(isVisible => {
    if (apiRef.current.unstable_caches.columns.isUsingColumnVisibilityModel) {
      const currentModel = (0,_hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__.gridColumnVisibilityModelSelector)(apiRef);

      const newModel = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, currentModel);

      columns.forEach(col => {
        if (col.hideable) {
          if (isVisible) {
            // delete the key from the model instead of setting it to `true`
            delete newModel[col.field];
          } else {
            newModel[col.field] = false;
          }
        }
      });
      return apiRef.current.setColumnVisibilityModel(newModel);
    } // TODO v6: Remove


    return apiRef.current.updateColumns(columns.map(col => {
      if (col.hideable !== false) {
        return {
          field: col.field,
          hide: !isVisible
        };
      }

      return col;
    }));
  }, [apiRef, columns]);
  const handleSearchValueChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    setSearchValue(event.target.value);
  }, []);
  const currentColumns = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (!searchValue) {
      return sortedColumns;
    }

    const searchValueToCheck = searchValue.toLowerCase();
    return sortedColumns.filter(column => searchPredicate(column, searchValueToCheck));
  }, [sortedColumns, searchValue, searchPredicate]);
  const firstSwitchRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (autoFocusSearchField) {
      searchInputRef.current.focus();
    } else if (firstSwitchRef.current && typeof firstSwitchRef.current.focus === 'function') {
      firstSwitchRef.current.focus();
    }
  }, [autoFocusSearchField]);
  let firstHideableColumnFound = false;

  const isFirstHideableColumn = column => {
    if (firstHideableColumnFound === false && column.hideable !== false) {
      firstHideableColumnFound = true;
      return true;
    }

    return false;
  };

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(_GridPanelWrapper__WEBPACK_IMPORTED_MODULE_16__.GridPanelWrapper, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, other, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(_GridPanelHeader__WEBPACK_IMPORTED_MODULE_15__.GridPanelHeader, {
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(rootProps.components.BaseTextField, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        label: apiRef.current.getLocaleText('columnsPanelTextFieldLabel'),
        placeholder: apiRef.current.getLocaleText('columnsPanelTextFieldPlaceholder'),
        inputRef: searchInputRef,
        value: searchValue,
        onChange: handleSearchValueChange,
        variant: "standard",
        fullWidth: true
      }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseTextField))
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(_GridPanelContent__WEBPACK_IMPORTED_MODULE_13__.GridPanelContent, {
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(GridColumnsPanelRoot, {
        className: classes.root,
        ownerState: rootProps,
        children: currentColumns.map(column => {
          var _rootProps$components2;

          return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(GridColumnsPanelRowRoot, {
            className: classes.columnsPanelRow,
            ownerState: rootProps,
            children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_7__["default"], {
              control: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(rootProps.components.BaseSwitch, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
                disabled: column.hideable === false,
                checked: columnVisibilityModel[column.field] !== false,
                onClick: toggleColumn,
                name: column.field,
                size: "small",
                inputRef: isFirstHideableColumn(column) ? firstSwitchRef : undefined
              }, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.baseSwitch)),
              label: column.headerName || column.field
            }), !rootProps.disableColumnReorder && _constants_envConstants__WEBPACK_IMPORTED_MODULE_17__.GRID_EXPERIMENTAL_ENABLED && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(GridIconButtonRoot, {
              draggable: true,
              "aria-label": apiRef.current.getLocaleText('columnsPanelDragIconLabel'),
              title: apiRef.current.getLocaleText('columnsPanelDragIconLabel'),
              size: "small",
              disabled: true,
              children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_12__.GridDragIcon, {})
            })]
          }, column.field);
        })
      })
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(_GridPanelFooter__WEBPACK_IMPORTED_MODULE_14__.GridPanelFooter, {
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(rootProps.components.BaseButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        onClick: () => toggleAllColumns(false)
      }, (_rootProps$components3 = rootProps.componentsProps) == null ? void 0 : _rootProps$components3.baseButton, {
        children: apiRef.current.getLocaleText('columnsPanelHideAllButton')
      })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(rootProps.components.BaseButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        onClick: () => toggleAllColumns(true)
      }, (_rootProps$components4 = rootProps.componentsProps) == null ? void 0 : _rootProps$components4.baseButton, {
        children: apiRef.current.getLocaleText('columnsPanelShowAllButton')
      }))]
    })]
  }));
}

 true ? GridColumnsPanel.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  autoFocusSearchField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  searchPredicate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    TrapFocus: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().element).isRequired,
      disableAutoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
      disableEnforceFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
      disableRestoreFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
      getTabbable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
      isEnabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
      open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired
    })
  }),
  sort: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['asc', 'desc'])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanel.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanel.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPanel: () => (/* binding */ GridPanel),
/* harmony export */   gridPanelClasses: () => (/* binding */ gridPanelClasses)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/ClickAwayListener */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ClickAwayListener/ClickAwayListener.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Popper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Popper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["children", "className", "classes"];












const gridPanelClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])('MuiDataGrid', ['panel', 'paper']);
const GridPanelRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_Popper__WEBPACK_IMPORTED_MODULE_9__["default"], {
  name: 'MuiDataGrid',
  slot: 'Panel',
  overridesResolver: (props, styles) => styles.panel
})(({
  theme
}) => ({
  zIndex: theme.zIndex.modal
}));
const GridPaperRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDataGrid',
  slot: 'Paper',
  overridesResolver: (props, styles) => styles.paper
})(({
  theme
}) => ({
  backgroundColor: theme.palette.background.paper,
  minWidth: 300,
  maxHeight: 450,
  display: 'flex'
}));
const GridPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef((props, ref) => {
  var _apiRef$current$colum;

  const {
    children,
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_10__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_12__.useGridRootProps)();
  const classes = gridPanelClasses;
  const [isPlaced, setIsPlaced] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  const handleClickAway = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => {
    apiRef.current.hidePreferences();
  }, [apiRef]);
  const handleKeyDown = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_11__.isEscapeKey)(event.key)) {
      apiRef.current.hidePreferences();
    }
  }, [apiRef]);
  const modifiers = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => [{
    name: 'flip',
    enabled: false
  }, {
    name: 'isPlaced',
    enabled: true,
    phase: 'main',
    fn: () => {
      setIsPlaced(true);
    },
    effect: () => () => {
      setIsPlaced(false);
    }
  }], []);
  const anchorEl = (_apiRef$current$colum = apiRef.current.columnHeadersContainerElementRef) == null ? void 0 : _apiRef$current$colum.current;

  if (!anchorEl) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(GridPanelRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    placement: "bottom-start",
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.panel),
    ownerState: rootProps,
    anchorEl: anchorEl,
    modifiers: modifiers
  }, other, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_7__.ClickAwayListener, {
      mouseEvent: "onMouseUp",
      onClickAway: handleClickAway,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(GridPaperRoot, {
        className: classes.paper,
        ownerState: rootProps,
        elevation: 8,
        onKeyDown: handleKeyDown,
        children: isPlaced && children
      })
    })
  }));
});
 true ? GridPanel.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Override or extend the styles applied to the component.
   */
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * If `true`, the component is shown.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelContent.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelContent.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPanelContent: () => (/* binding */ GridPanelContent)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['panelContent']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const GridPanelContentRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'PanelContent',
  overridesResolver: (props, styles) => styles.panelContent
})({
  display: 'flex',
  flexDirection: 'column',
  overflow: 'auto',
  flex: '1 1',
  maxHeight: 400
});

function GridPanelContent(props) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridPanelContentRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
    ownerState: rootProps
  }, other));
}

 true ? GridPanelContent.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelFooter.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelFooter.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPanelFooter: () => (/* binding */ GridPanelFooter)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['panelFooter']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const GridPanelFooterRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'PanelFooter',
  overridesResolver: (props, styles) => styles.panelFooter
})(({
  theme
}) => ({
  padding: theme.spacing(0.5),
  display: 'flex',
  justifyContent: 'space-between'
}));

function GridPanelFooter(props) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridPanelFooterRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
    ownerState: rootProps
  }, other));
}

 true ? GridPanelFooter.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelHeader.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelHeader.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPanelHeader: () => (/* binding */ GridPanelHeader)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['panelHeader']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const GridPanelHeaderRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'PanelHeader',
  overridesResolver: (props, styles) => styles.panelHeader
})(({
  theme
}) => ({
  padding: theme.spacing(1)
}));

function GridPanelHeader(props) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_8__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(GridPanelHeaderRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
    ownerState: rootProps
  }, other));
}

 true ? GridPanelHeader.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelWrapper.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelWrapper.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPanelWrapper: () => (/* binding */ GridPanelWrapper)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_Unstable_TrapFocus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Unstable_TrapFocus */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "slotProps"];










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['panelWrapper']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_8__.getDataGridUtilityClass, classes);
};

const GridPanelWrapperRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'PanelWrapper',
  overridesResolver: (props, styles) => styles.panelWrapper
})({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
  '&:focus': {
    outline: 0
  }
});

const isEnabled = () => true;

const GridPanelWrapper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridPanelWrapper(props, ref) {
  const {
    className,
    slotProps = {}
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_mui_material_Unstable_TrapFocus__WEBPACK_IMPORTED_MODULE_5__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    open: true,
    disableEnforceFocus: true,
    isEnabled: isEnabled
  }, slotProps.TrapFocus, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(GridPanelWrapperRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      ref: ref,
      tabIndex: -1,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(className, classes.root),
      ownerState: rootProps
    }, other))
  }));
});
 true ? GridPanelWrapper.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    TrapFocus: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().element).isRequired,
      disableAutoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
      disableEnforceFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
      disableRestoreFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
      getTabbable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
      isEnabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
      open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired
    })
  })
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPreferencesPanel.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPreferencesPanel.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPreferencesPanel: () => (/* binding */ GridPreferencesPanel)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/features/columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_preferencesPanel_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/features/preferencesPanel/gridPreferencePanelSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelSelector.js");
/* harmony import */ var _hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/features/preferencesPanel/gridPreferencePanelsValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");









const GridPreferencesPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function GridPreferencesPanel(props, ref) {
  var _preferencePanelState, _rootProps$components, _rootProps$components2;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const columns = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__.gridColumnDefinitionsSelector);
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const preferencePanelState = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_preferencesPanel_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_4__.gridPreferencePanelStateSelector);
  const panelContent = apiRef.current.unstable_applyPipeProcessors('preferencePanel', null, (_preferencePanelState = preferencePanelState.openedPanelValue) != null ? _preferencePanelState : _hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_5__.GridPreferencePanelsValue.filters);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(rootProps.components.Panel, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    as: rootProps.components.BasePopper,
    open: columns.length > 0 && preferencePanelState.open
  }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.panel, props, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.basePopper, {
    children: panelContent
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterForm.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterForm.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterForm: () => (/* binding */ GridFilterForm)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/InputLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/FormControl */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../hooks/features/columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../models/gridFilterItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFilterItem.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["item", "hasMultipleFilters", "deleteFilter", "applyFilterChanges", "multiFilterOperator", "showMultiFilterOperators", "disableMultiFilterOperator", "applyMultiFilterOperatorChanges", "focusElementRef", "linkOperators", "columnsSort", "deleteIconProps", "linkOperatorInputProps", "operatorInputProps", "columnInputProps", "valueInputProps", "children"],
      _excluded2 = ["InputComponentProps"];



















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['filterForm'],
    deleteIcon: ['filterFormDeleteIcon'],
    linkOperatorInput: ['filterFormLinkOperatorInput'],
    columnInput: ['filterFormColumnInput'],
    operatorInput: ['filterFormOperatorInput'],
    valueInput: ['filterFormValueInput']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_18__.getDataGridUtilityClass, classes);
};

const GridFilterFormRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'FilterForm',
  overridesResolver: (props, styles) => styles.filterForm
})(({
  theme
}) => ({
  display: 'flex',
  padding: theme.spacing(1)
}));
const FilterFormDeleteIcon = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDataGrid',
  slot: 'FilterFormDeleteIcon',
  overridesResolver: (_, styles) => styles.filterFormDeleteIcon
})(({
  theme
}) => ({
  flexShrink: 0,
  justifyContent: 'flex-end',
  marginRight: theme.spacing(0.5),
  marginBottom: theme.spacing(0.2)
}));
const FilterFormLinkOperatorInput = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDataGrid',
  slot: 'FilterFormLinkOperatorInput',
  overridesResolver: (_, styles) => styles.filterFormLinkOperatorInput
})({
  minWidth: 55,
  marginRight: 5,
  justifyContent: 'end'
});
const FilterFormColumnInput = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDataGrid',
  slot: 'FilterFormColumnInput',
  overridesResolver: (_, styles) => styles.filterFormColumnInput
})({
  width: 150
});
const FilterFormOperatorInput = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDataGrid',
  slot: 'FilterFormOperatorInput',
  overridesResolver: (_, styles) => styles.filterFormOperatorInput
})({
  width: 120
});
const FilterFormValueInput = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDataGrid',
  slot: 'FilterFormValueInput',
  overridesResolver: (_, styles) => styles.filterFormValueInput
})({
  width: 190
});

const getLinkOperatorLocaleKey = linkOperator => {
  switch (linkOperator) {
    case _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__.GridLinkOperator.And:
      return 'filterPanelOperatorAnd';

    case _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__.GridLinkOperator.Or:
      return 'filterPanelOperatorOr';

    default:
      throw new Error('MUI: Invalid `linkOperator` property in the `GridFilterPanel`.');
  }
};

const getColumnLabel = col => col.headerName || col.field;

const collator = new Intl.Collator();
const GridFilterForm = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridFilterForm(props, ref) {
  var _rootProps$components, _rootProps$components2, _baseSelectProps$nati, _rootProps$components3, _rootProps$components4, _rootProps$components5, _currentColumn$filter2;

  const {
    item,
    hasMultipleFilters,
    deleteFilter,
    applyFilterChanges,
    multiFilterOperator,
    showMultiFilterOperators,
    disableMultiFilterOperator,
    applyMultiFilterOperatorChanges,
    focusElementRef,
    linkOperators = [_models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__.GridLinkOperator.And, _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__.GridLinkOperator.Or],
    columnsSort,
    deleteIconProps = {},
    linkOperatorInputProps = {},
    operatorInputProps = {},
    columnInputProps = {},
    valueInputProps = {}
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_16__.useGridApiContext)();
  const filterableColumns = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_14__.useGridSelector)(apiRef, _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_13__.gridFilterableColumnDefinitionsSelector);
  const columnSelectId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const columnSelectLabelId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const operatorSelectId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const operatorSelectLabelId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_17__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  const valueRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const filterSelectorRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const hasLinkOperatorColumn = hasMultipleFilters && linkOperators.length > 0;
  const baseFormControlProps = ((_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseFormControl) || {};
  const baseSelectProps = ((_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.baseSelect) || {};
  const isBaseSelectNative = (_baseSelectProps$nati = baseSelectProps.native) != null ? _baseSelectProps$nati : true;
  const OptionComponent = isBaseSelectNative ? 'option' : _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_6__["default"];

  const {
    InputComponentProps
  } = valueInputProps,
        valueInputPropsOther = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(valueInputProps, _excluded2);

  const sortedFilterableColumns = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    switch (columnsSort) {
      case 'asc':
        return filterableColumns.sort((a, b) => collator.compare(getColumnLabel(a), getColumnLabel(b)));

      case 'desc':
        return filterableColumns.sort((a, b) => -collator.compare(getColumnLabel(a), getColumnLabel(b)));

      default:
        return filterableColumns;
    }
  }, [filterableColumns, columnsSort]);
  const currentColumn = item.columnField ? apiRef.current.getColumn(item.columnField) : null;
  const currentOperator = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    var _currentColumn$filter;

    if (!item.operatorValue || !currentColumn) {
      return null;
    }

    return (_currentColumn$filter = currentColumn.filterOperators) == null ? void 0 : _currentColumn$filter.find(operator => operator.value === item.operatorValue);
  }, [item, currentColumn]);
  const changeColumn = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    const columnField = event.target.value;
    const column = apiRef.current.getColumn(columnField);

    if (column.field === currentColumn.field) {
      // column did not change
      return;
    } // try to keep the same operator when column change


    const newOperator = column.filterOperators.find(operator => operator.value === item.operatorValue) || column.filterOperators[0]; // Erase filter value if the input component is modified

    const eraseItemValue = !newOperator.InputComponent || newOperator.InputComponent !== (currentOperator == null ? void 0 : currentOperator.InputComponent);
    applyFilterChanges((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
      columnField,
      operatorValue: newOperator.value,
      value: eraseItemValue ? undefined : item.value
    }));
  }, [apiRef, applyFilterChanges, item, currentColumn, currentOperator]);
  const changeOperator = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    const operatorValue = event.target.value;
    const newOperator = currentColumn == null ? void 0 : currentColumn.filterOperators.find(operator => operator.value === operatorValue);
    const eraseItemValue = !(newOperator != null && newOperator.InputComponent) || (newOperator == null ? void 0 : newOperator.InputComponent) !== (currentOperator == null ? void 0 : currentOperator.InputComponent);
    applyFilterChanges((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
      operatorValue,
      value: eraseItemValue ? undefined : item.value
    }));
  }, [applyFilterChanges, item, currentColumn, currentOperator]);
  const changeLinkOperator = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    const linkOperator = event.target.value === _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__.GridLinkOperator.And.toString() ? _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__.GridLinkOperator.And : _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_15__.GridLinkOperator.Or;
    applyMultiFilterOperatorChanges(linkOperator);
  }, [applyMultiFilterOperatorChanges]);

  const handleDeleteFilter = () => {
    if (rootProps.disableMultipleColumnsFiltering) {
      if (item.value === undefined) {
        deleteFilter(item);
      } else {
        // TODO v6: simplify the behavior by always remove the filter form
        applyFilterChanges((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
          value: undefined
        }));
      }
    } else {
      deleteFilter(item);
    }
  };

  react__WEBPACK_IMPORTED_MODULE_2__.useImperativeHandle(focusElementRef, () => ({
    focus: () => {
      if (currentOperator != null && currentOperator.InputComponent) {
        var _valueRef$current;

        valueRef == null ? void 0 : (_valueRef$current = valueRef.current) == null ? void 0 : _valueRef$current.focus();
      } else {
        filterSelectorRef.current.focus();
      }
    }
  }), [currentOperator]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(GridFilterFormRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: classes.root,
    ownerState: rootProps
  }, other, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(FilterFormDeleteIcon, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      variant: "standard",
      as: rootProps.components.BaseFormControl
    }, baseFormControlProps, deleteIconProps, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_12__["default"])(classes.deleteIcon, baseFormControlProps.className, deleteIconProps.className),
      ownerState: rootProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__["default"], {
        "aria-label": apiRef.current.getLocaleText('filterPanelDeleteIconLabel'),
        title: apiRef.current.getLocaleText('filterPanelDeleteIconLabel'),
        onClick: handleDeleteFilter,
        size: "small",
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(rootProps.components.FilterPanelDeleteIcon, {
          fontSize: "small"
        })
      })
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(FilterFormLinkOperatorInput, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      variant: "standard",
      as: rootProps.components.BaseFormControl
    }, baseFormControlProps, linkOperatorInputProps, {
      sx: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        display: hasLinkOperatorColumn ? 'flex' : 'none',
        visibility: showMultiFilterOperators ? 'visible' : 'hidden'
      }, baseFormControlProps.sx || {}, linkOperatorInputProps.sx || {}),
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_12__["default"])(classes.linkOperatorInput, baseFormControlProps.className, linkOperatorInputProps.className),
      ownerState: rootProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(rootProps.components.BaseSelect, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        inputProps: {
          'aria-label': apiRef.current.getLocaleText('filterPanelLinkOperator')
        },
        value: multiFilterOperator,
        onChange: changeLinkOperator,
        disabled: !!disableMultiFilterOperator || linkOperators.length === 1,
        native: isBaseSelectNative
      }, (_rootProps$components3 = rootProps.componentsProps) == null ? void 0 : _rootProps$components3.baseSelect, {
        children: linkOperators.map(linkOperator => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(OptionComponent, {
          value: linkOperator.toString(),
          children: apiRef.current.getLocaleText(getLinkOperatorLocaleKey(linkOperator))
        }, linkOperator.toString()))
      }))
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(FilterFormColumnInput, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      variant: "standard",
      as: rootProps.components.BaseFormControl
    }, baseFormControlProps, columnInputProps, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_12__["default"])(classes.columnInput, baseFormControlProps.className, columnInputProps.className),
      ownerState: rootProps,
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(_mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_7__["default"], {
        htmlFor: columnSelectId,
        id: columnSelectLabelId,
        children: apiRef.current.getLocaleText('filterPanelColumns')
      }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(rootProps.components.BaseSelect, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        labelId: columnSelectLabelId,
        id: columnSelectId,
        label: apiRef.current.getLocaleText('filterPanelColumns'),
        value: item.columnField || '',
        onChange: changeColumn,
        native: isBaseSelectNative
      }, (_rootProps$components4 = rootProps.componentsProps) == null ? void 0 : _rootProps$components4.baseSelect, {
        children: sortedFilterableColumns.map(col => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(OptionComponent, {
          value: col.field,
          children: getColumnLabel(col)
        }, col.field))
      }))]
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(FilterFormOperatorInput, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      variant: "standard",
      as: rootProps.components.BaseFormControl
    }, baseFormControlProps, operatorInputProps, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_12__["default"])(classes.operatorInput, baseFormControlProps.className, operatorInputProps.className),
      ownerState: rootProps,
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(_mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_7__["default"], {
        htmlFor: operatorSelectId,
        id: operatorSelectLabelId,
        children: apiRef.current.getLocaleText('filterPanelOperators')
      }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(rootProps.components.BaseSelect, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        labelId: operatorSelectLabelId,
        label: apiRef.current.getLocaleText('filterPanelOperators'),
        id: operatorSelectId,
        value: item.operatorValue,
        onChange: changeOperator,
        native: isBaseSelectNative,
        inputRef: filterSelectorRef
      }, (_rootProps$components5 = rootProps.componentsProps) == null ? void 0 : _rootProps$components5.baseSelect, {
        children: currentColumn == null ? void 0 : (_currentColumn$filter2 = currentColumn.filterOperators) == null ? void 0 : _currentColumn$filter2.map(operator => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(OptionComponent, {
          value: operator.value,
          children: operator.label || apiRef.current.getLocaleText(`filterOperator${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_9__["default"])(operator.value)}`)
        }, operator.value))
      }))]
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(FilterFormValueInput, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      variant: "standard",
      as: rootProps.components.BaseFormControl
    }, baseFormControlProps, valueInputPropsOther, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_12__["default"])(classes.valueInput, baseFormControlProps.className, valueInputPropsOther.className),
      ownerState: rootProps,
      children: currentOperator != null && currentOperator.InputComponent ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(currentOperator.InputComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        apiRef: apiRef,
        item: item,
        applyValue: applyFilterChanges,
        focusElementRef: valueRef
      }, currentOperator.InputComponentProps, InputComponentProps)) : null
    }))]
  }));
});
 true ? GridFilterForm.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Callback called when the operator, column field or value is changed.
   * @param {GridFilterItem} item The updated [[GridFilterItem]].
   */
  applyFilterChanges: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Callback called when the logic operator is changed.
   * @param {GridLinkOperator} operator The new logic operator.
   */
  applyMultiFilterOperatorChanges: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * @ignore - do not document.
   */
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Props passed to the column input component.
   * @default {}
   */
  columnInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Changes how the options in the columns selector should be ordered.
   * If not specified, the order is derived from the `columns` prop.
   */
  columnsSort: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['asc', 'desc']),

  /**
   * Callback called when the delete button is clicked.
   * @param {GridFilterItem} item The deleted [[GridFilterItem]].
   */
  deleteFilter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Props passed to the delete icon.
   * @default {}
   */
  deleteIconProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * If `true`, disables the logic operator field but still renders it.
   */
  disableMultiFilterOperator: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * A ref allowing to set imperative focus.
   * It can be passed to the el
   */
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),

  /**
   * If `true`, the logic operator field is rendered.
   * The field will be invisible if `showMultiFilterOperators` is also `true`.
   */
  hasMultipleFilters: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * The [[GridFilterItem]] representing this form.
   */
  item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    columnField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
    id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
    operatorValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
  }).isRequired,

  /**
   * Props passed to the logic operator input component.
   * @default {}
   */
  linkOperatorInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Sets the available logic operators.
   * @default [GridLinkOperator.And, GridLinkOperator.Or]
   */
  linkOperators: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['and', 'or']).isRequired),

  /**
   * The current logic operator applied.
   */
  multiFilterOperator: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['and', 'or']),

  /**
   * Props passed to the operator input component.
   * @default {}
   */
  operatorInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * If `true`, the logic operator field is visible.
   */
  showMultiFilterOperators: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props passed to the value input component.
   * @default {}
   */
  valueInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputBoolean.js"
/*!******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputBoolean.js ***!
  \******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterInputBoolean: () => (/* binding */ GridFilterInputBoolean)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["item", "applyValue", "apiRef", "focusElementRef"];





function GridFilterInputBoolean(props) {
  var _rootProps$components, _baseSelectProps$nati, _rootProps$components2, _rootProps$components3;

  const {
    item,
    applyValue,
    apiRef,
    focusElementRef
  } = props,
        others = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const [filterValueState, setFilterValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState(item.value || '');
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_4__.useGridRootProps)();
  const baseSelectProps = ((_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseSelect) || {};
  const isSelectNative = (_baseSelectProps$nati = baseSelectProps.native) != null ? _baseSelectProps$nati : true;
  const OptionComponent = isSelectNative ? 'option' : _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_3__["default"];
  const onFilterChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    const value = event.target.value;
    setFilterValueState(value);
    applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
      value
    }));
  }, [applyValue, item]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    setFilterValueState(item.value || '');
  }, [item.value]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(rootProps.components.BaseTextField, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    label: apiRef.current.getLocaleText('filterPanelInputLabel'),
    value: filterValueState,
    onChange: onFilterChange,
    select: true,
    variant: "standard",
    SelectProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      native: isSelectNative,
      displayEmpty: true
    }, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.baseSelect),
    InputLabelProps: {
      shrink: true
    },
    inputRef: focusElementRef
  }, others, (_rootProps$components3 = rootProps.componentsProps) == null ? void 0 : _rootProps$components3.baseTextField, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(OptionComponent, {
      value: "",
      children: apiRef.current.getLocaleText('filterValueAny')
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(OptionComponent, {
      value: "true",
      children: apiRef.current.getLocaleText('filterValueTrue')
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(OptionComponent, {
      value: "false",
      children: apiRef.current.getLocaleText('filterValueFalse')
    })]
  }));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputDate.js"
/*!***************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputDate.js ***!
  \***************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterInputDate: () => (/* binding */ GridFilterInputDate),
/* harmony export */   SUBMIT_FILTER_DATE_STROKE_TIME: () => (/* binding */ SUBMIT_FILTER_DATE_STROKE_TIME)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../icons */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "InputProps"];






const SUBMIT_FILTER_DATE_STROKE_TIME = 500;

function GridFilterInputDate(props) {
  var _item$value, _rootProps$components;

  const {
    item,
    applyValue,
    type,
    apiRef,
    focusElementRef,
    InputProps
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const filterTimeout = react__WEBPACK_IMPORTED_MODULE_2__.useRef();
  const [filterValueState, setFilterValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState((_item$value = item.value) != null ? _item$value : '');
  const [applying, setIsApplying] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  const id = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();
  const onFilterChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    const value = event.target.value;
    clearTimeout(filterTimeout.current);
    setFilterValueState(String(value));
    setIsApplying(true);
    filterTimeout.current = setTimeout(() => {
      applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
        value
      }));
      setIsApplying(false);
    }, SUBMIT_FILTER_DATE_STROKE_TIME);
  }, [applyValue, item]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    return () => {
      clearTimeout(filterTimeout.current);
    };
  }, []);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    var _item$value2;

    const itemValue = (_item$value2 = item.value) != null ? _item$value2 : '';
    setFilterValueState(String(itemValue));
  }, [item.value]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(rootProps.components.BaseTextField, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    id: id,
    label: apiRef.current.getLocaleText('filterPanelInputLabel'),
    placeholder: apiRef.current.getLocaleText('filterPanelInputPlaceholder'),
    value: filterValueState,
    onChange: onFilterChange,
    variant: "standard",
    type: type || 'text',
    InputLabelProps: {
      shrink: true
    },
    inputRef: focusElementRef,
    InputProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, applying ? {
      endAdornment: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_5__.GridLoadIcon, {})
    } : {}, InputProps, {
      inputProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        max: type === 'datetime-local' ? '9999-12-31T23:59' : '9999-12-31'
      }, InputProps == null ? void 0 : InputProps.inputProps)
    })
  }, other, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseTextField));
}

 true ? GridFilterInputDate.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  apiRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired
  }).isRequired,
  applyValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),
  item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    columnField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
    id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
    operatorValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
  }).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js"
/*!*******************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js ***!
  \*******************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterInputMultipleSingleSelect: () => (/* binding */ GridFilterInputMultipleSingleSelect)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Autocomplete */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useAutocomplete/useAutocomplete.js");
/* harmony import */ var _mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Autocomplete */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/Autocomplete.js");
/* harmony import */ var _mui_material_Chip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/Chip */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./filterPanelUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/filterPanelUtils.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "color", "error", "helperText", "size", "variant"];









const isOptionEqualToValue = (option, value) => (0,_filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__.getValueFromOption)(option) === (0,_filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__.getValueFromOption)(value);

const filter = (0,_mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_4__.createFilterOptions)();

function GridFilterInputMultipleSingleSelect(props) {
  const {
    item,
    applyValue,
    apiRef,
    focusElementRef,
    color,
    error,
    helperText,
    size,
    variant = 'standard'
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const TextFieldProps = {
    color,
    error,
    helperText,
    size,
    variant
  };
  const id = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const resolvedColumn = item.columnField ? apiRef.current.getColumn(item.columnField) : null;
  const resolvedValueOptions = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (!(resolvedColumn != null && resolvedColumn.valueOptions)) {
      return [];
    }

    if (typeof resolvedColumn.valueOptions === 'function') {
      return resolvedColumn.valueOptions({
        field: resolvedColumn.field
      });
    }

    return resolvedColumn.valueOptions;
  }, [resolvedColumn]);
  const resolvedFormattedValueOptions = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    return resolvedValueOptions == null ? void 0 : resolvedValueOptions.map(_filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__.getValueFromOption);
  }, [resolvedValueOptions]);
  const {
    valueFormatter,
    field
  } = apiRef.current.getColumn(item.columnField);

  const filterValueOptionFormatter = option => {
    if (typeof option === 'object') {
      return option.label;
    }

    return valueFormatter && option !== '' ? valueFormatter({
      value: option,
      field,
      api: apiRef.current
    }) : option;
  }; // The value is computed from the item.value and used directly
  // If it was done by a useEffect/useState, the Autocomplete could receive incoherent value and options


  const filterValues = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (!Array.isArray(item.value)) {
      return [];
    }

    if (resolvedValueOptions !== undefined) {
      const itemValueIndexes = item.value.map(element => {
        // get the index matching between values and valueOptions
        const formattedElement = (0,_filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__.getValueFromOption)(element);
        const index = (resolvedFormattedValueOptions == null ? void 0 : resolvedFormattedValueOptions.findIndex(formatedOption => formatedOption === formattedElement)) || 0;
        return index;
      });
      return itemValueIndexes.filter(index => index >= 0).map(index => resolvedValueOptions[index]);
    }

    return item.value;
  }, [item.value, resolvedValueOptions, resolvedFormattedValueOptions]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (!Array.isArray(item.value) || filterValues.length !== item.value.length) {
      // update the state if the filter value has been cleaned by the component
      applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
        value: filterValues.map(_filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__.getValueFromOption)
      }));
    }
  }, [item, filterValues, applyValue]);
  const handleChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((event, value) => {
    applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
      value: [...value.map(_filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__.getValueFromOption)]
    }));
  }, [applyValue, item]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_5__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    multiple: true,
    options: resolvedValueOptions,
    isOptionEqualToValue: isOptionEqualToValue,
    filterOptions: filter,
    id: id,
    value: filterValues,
    onChange: handleChange,
    renderTags: (value, getTagProps) => value.map((option, index) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_mui_material_Chip__WEBPACK_IMPORTED_MODULE_6__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      variant: "outlined",
      size: "small",
      label: filterValueOptionFormatter(option)
    }, getTagProps({
      index
    })))),
    renderInput: params => {
      var _rootProps$components;

      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(rootProps.components.BaseTextField, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
        label: apiRef.current.getLocaleText('filterPanelInputLabel'),
        placeholder: apiRef.current.getLocaleText('filterPanelInputPlaceholder'),
        InputLabelProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params.InputLabelProps, {
          shrink: true
        }),
        inputRef: focusElementRef,
        type: "singleSelect"
      }, TextFieldProps, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseTextField));
    }
  }, other));
}

 true ? GridFilterInputMultipleSingleSelect.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  apiRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired
  }).isRequired,
  applyValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),
  item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    columnField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
    id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
    operatorValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
  }).isRequired,
  type: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['singleSelect'])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleValue.js"
/*!************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputMultipleValue.js ***!
  \************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterInputMultipleValue: () => (/* binding */ GridFilterInputMultipleValue)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Autocomplete */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/Autocomplete.js");
/* harmony import */ var _mui_material_Chip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Chip */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "color", "error", "helperText", "size", "variant"];








function GridFilterInputMultipleValue(props) {
  const {
    item,
    applyValue,
    type,
    apiRef,
    focusElementRef,
    color,
    error,
    helperText,
    size,
    variant
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const TextFieldProps = {
    color,
    error,
    helperText,
    size,
    variant
  };
  const [filterValueState, setFilterValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState(item.value || []);
  const id = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    var _item$value;

    const itemValue = (_item$value = item.value) != null ? _item$value : [];
    setFilterValueState(itemValue.map(String));
  }, [item.value]);
  const handleChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((event, value) => {
    setFilterValueState(value.map(String));
    applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
      value: [...value]
    }));
  }, [applyValue, item]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_4__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    multiple: true,
    freeSolo: true,
    options: [],
    filterOptions: (options, params) => {
      const {
        inputValue
      } = params;
      return inputValue == null || inputValue === '' ? [] : [inputValue];
    },
    id: id,
    value: filterValueState,
    onChange: handleChange,
    renderTags: (value, getTagProps) => value.map((option, index) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_mui_material_Chip__WEBPACK_IMPORTED_MODULE_5__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      variant: "outlined",
      size: "small",
      label: option
    }, getTagProps({
      index
    })))),
    renderInput: params => {
      var _rootProps$components;

      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(rootProps.components.BaseTextField, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
        label: apiRef.current.getLocaleText('filterPanelInputLabel'),
        placeholder: apiRef.current.getLocaleText('filterPanelInputPlaceholder'),
        InputLabelProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params.InputLabelProps, {
          shrink: true
        }),
        inputRef: focusElementRef,
        type: type || 'text'
      }, TextFieldProps, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseTextField));
    }
  }, other));
}

 true ? GridFilterInputMultipleValue.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  apiRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired
  }).isRequired,
  applyValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),
  item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    columnField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
    id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
    operatorValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
  }).isRequired,
  type: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['number', 'text'])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputSingleSelect.js"
/*!***********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputSingleSelect.js ***!
  \***********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterInputSingleSelect: () => (/* binding */ GridFilterInputSingleSelect)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _filterPanelUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./filterPanelUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/filterPanelUtils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef"];








const renderSingleSelectOptions = ({
  valueOptions,
  valueFormatter,
  field
}, api, OptionComponent) => {
  const iterableColumnValues = typeof valueOptions === 'function' ? ['', ...valueOptions({
    field
  })] : ['', ...(valueOptions || [])];
  return iterableColumnValues.map(option => {
    const isOptionTypeObject = typeof option === 'object';
    const key = isOptionTypeObject ? option.value : option;
    const value = isOptionTypeObject ? option.value : option;
    const formattedValue = valueFormatter && option !== '' ? valueFormatter({
      value: option,
      field,
      api
    }) : option;
    const content = isOptionTypeObject ? option.label : formattedValue;
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(OptionComponent, {
      value: value,
      children: content
    }, key);
  });
};

function GridFilterInputSingleSelect(props) {
  var _item$value, _rootProps$components, _baseSelectProps$nati, _rootProps$components2, _rootProps$components3;

  const {
    item,
    applyValue,
    type,
    apiRef,
    focusElementRef
  } = props,
        others = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const [filterValueState, setFilterValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState((_item$value = item.value) != null ? _item$value : '');
  const id = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();
  const baseSelectProps = ((_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseSelect) || {};
  const isSelectNative = (_baseSelectProps$nati = baseSelectProps.native) != null ? _baseSelectProps$nati : true;
  const currentColumn = item.columnField ? apiRef.current.getColumn(item.columnField) : null;
  const currentValueOptions = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (currentColumn === null) {
      return undefined;
    }

    return typeof currentColumn.valueOptions === 'function' ? currentColumn.valueOptions({
      field: currentColumn.field
    }) : currentColumn.valueOptions;
  }, [currentColumn]);
  const onFilterChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    let value = event.target.value; // NativeSelect casts the value to a string.

    value = (0,_filterPanelUtils__WEBPACK_IMPORTED_MODULE_7__.getValueFromValueOptions)(value, currentValueOptions);
    setFilterValueState(String(value));
    applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
      value
    }));
  }, [applyValue, item, currentValueOptions]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    var _itemValue;

    let itemValue;

    if (currentValueOptions !== undefined) {
      // sanitize if valueOptions are provided
      itemValue = (0,_filterPanelUtils__WEBPACK_IMPORTED_MODULE_7__.getValueFromValueOptions)(item.value, currentValueOptions);

      if (itemValue !== item.value) {
        applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
          value: itemValue
        }));
        return;
      }
    } else {
      itemValue = item.value;
    }

    itemValue = (_itemValue = itemValue) != null ? _itemValue : '';
    setFilterValueState(String(itemValue));
  }, [item, currentValueOptions, applyValue]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(rootProps.components.BaseTextField, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    id: id,
    label: apiRef.current.getLocaleText('filterPanelInputLabel'),
    placeholder: apiRef.current.getLocaleText('filterPanelInputPlaceholder'),
    value: filterValueState,
    onChange: onFilterChange,
    variant: "standard",
    type: type || 'text',
    InputLabelProps: {
      shrink: true
    },
    inputRef: focusElementRef,
    select: true,
    SelectProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      native: isSelectNative
    }, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.baseSelect)
  }, others, (_rootProps$components3 = rootProps.componentsProps) == null ? void 0 : _rootProps$components3.baseTextField, {
    children: renderSingleSelectOptions(apiRef.current.getColumn(item.columnField), apiRef.current, isSelectNative ? 'option' : _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_5__["default"])
  }));
}

 true ? GridFilterInputSingleSelect.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  apiRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired
  }).isRequired,
  applyValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),
  item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    columnField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
    id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
    operatorValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
  }).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputValue.js"
/*!****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterInputValue.js ***!
  \****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterInputValue: () => (/* binding */ GridFilterInputValue),
/* harmony export */   SUBMIT_FILTER_STROKE_TIME: () => (/* binding */ SUBMIT_FILTER_STROKE_TIME)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../icons */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./filterPanelUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/filterPanelUtils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef"];








const warnedOnce = {};

function warnDeprecatedTypeSupport(type) {
  console.warn([`MUI: Using GridFilterInputValue with a "${type}" column is deprecated.`, 'Use GridFilterInputSingleSelect instead.'].join('\n'));
  warnedOnce[type] = true;
}

const renderSingleSelectOptions = ({
  valueOptions,
  valueFormatter,
  field
}, api, OptionComponent) => {
  const iterableColumnValues = typeof valueOptions === 'function' ? ['', ...valueOptions({
    field
  })] : ['', ...(valueOptions || [])];
  return iterableColumnValues.map(option => {
    const isOptionTypeObject = typeof option === 'object';
    const key = isOptionTypeObject ? option.value : option;
    const value = isOptionTypeObject ? option.value : option;
    const formattedValue = valueFormatter && option !== '' ? valueFormatter({
      value: option,
      field,
      api
    }) : option;
    const content = isOptionTypeObject ? option.label : formattedValue;
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(OptionComponent, {
      value: value,
      children: content
    }, key);
  });
};

const SUBMIT_FILTER_STROKE_TIME = 500;

function GridFilterInputValue(props) {
  var _item$value, _rootProps$components, _baseSelectProps$nati, _rootProps$components2, _rootProps$components3;

  const {
    item,
    applyValue,
    type,
    apiRef,
    focusElementRef
  } = props,
        others = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  if ( true && ['date', 'datetime-local', 'singleSelect'].includes(type) && !warnedOnce[type]) {
    warnDeprecatedTypeSupport(type);
  }

  const filterTimeout = react__WEBPACK_IMPORTED_MODULE_2__.useRef();
  const [filterValueState, setFilterValueState] = react__WEBPACK_IMPORTED_MODULE_2__.useState((_item$value = item.value) != null ? _item$value : '');
  const [applying, setIsApplying] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  const id = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const baseSelectProps = ((_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseSelect) || {};
  const isSelectNative = (_baseSelectProps$nati = baseSelectProps.native) != null ? _baseSelectProps$nati : true;
  const singleSelectProps = type === 'singleSelect' ? {
    select: true,
    SelectProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      native: isSelectNative
    }, (_rootProps$components2 = rootProps.componentsProps) == null ? void 0 : _rootProps$components2.baseSelect),
    children: renderSingleSelectOptions(apiRef.current.getColumn(item.columnField), apiRef.current, isSelectNative ? 'option' : _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_5__["default"])
  } : {};
  const onFilterChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(event => {
    let value = event.target.value; // NativeSelect casts the value to a string.

    if (type === 'singleSelect') {
      const column = apiRef.current.getColumn(item.columnField);
      const columnValueOptions = typeof column.valueOptions === 'function' ? column.valueOptions({
        field: column.field
      }) : column.valueOptions;
      value = (0,_filterPanelUtils__WEBPACK_IMPORTED_MODULE_8__.getValueFromValueOptions)(value, columnValueOptions);
    }

    clearTimeout(filterTimeout.current);
    setFilterValueState(String(value));
    setIsApplying(true); // TODO singleSelect doesn't debounce

    filterTimeout.current = setTimeout(() => {
      applyValue((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item, {
        value
      }));
      setIsApplying(false);
    }, SUBMIT_FILTER_STROKE_TIME);
  }, [apiRef, applyValue, item, type]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    return () => {
      clearTimeout(filterTimeout.current);
    };
  }, []);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    var _item$value2;

    const itemValue = (_item$value2 = item.value) != null ? _item$value2 : '';
    setFilterValueState(String(itemValue));
  }, [item.value]);
  const InputProps = applying ? {
    endAdornment: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.GridLoadIcon, {})
  } : others.InputProps;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(rootProps.components.BaseTextField, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    id: id,
    label: apiRef.current.getLocaleText('filterPanelInputLabel'),
    placeholder: apiRef.current.getLocaleText('filterPanelInputPlaceholder'),
    value: filterValueState,
    onChange: onFilterChange,
    variant: "standard",
    type: type || 'text',
    InputProps: InputProps,
    InputLabelProps: {
      shrink: true
    },
    inputRef: focusElementRef
  }, singleSelectProps, others, (_rootProps$components3 = rootProps.componentsProps) == null ? void 0 : _rootProps$components3.baseTextField));
}

 true ? GridFilterInputValue.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  apiRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object).isRequired
  }).isRequired,
  applyValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  focusElementRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),
  item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    columnField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
    id: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
    operatorValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
  }).isRequired
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterPanel.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterPanel.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFilterPanel: () => (/* binding */ GridFilterPanel)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../models/gridFilterItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFilterItem.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../icons */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js");
/* harmony import */ var _GridPanelContent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../GridPanelContent */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelContent.js");
/* harmony import */ var _GridPanelFooter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../GridPanelFooter */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelFooter.js");
/* harmony import */ var _GridPanelWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../GridPanelWrapper */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanelWrapper.js");
/* harmony import */ var _GridFilterForm__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./GridFilterForm */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterForm.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../hooks/features/filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../hooks/features/columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["linkOperators", "columnsSort", "filterFormProps", "children"];















const GridFilterPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridFilterPanel(props, ref) {
  var _rootProps$components;

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_11__.useGridRootProps)();
  const filterModel = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__.useGridSelector)(apiRef, _hooks_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_13__.gridFilterModelSelector);
  const filterableColumns = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__.useGridSelector)(apiRef, _hooks_features_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_14__.gridFilterableColumnDefinitionsSelector);
  const lastFilterRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);

  const {
    linkOperators = [_models_gridFilterItem__WEBPACK_IMPORTED_MODULE_4__.GridLinkOperator.And, _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_4__.GridLinkOperator.Or],
    columnsSort,
    filterFormProps
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const applyFilter = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(item => {
    apiRef.current.upsertFilterItem(item);
  }, [apiRef]);
  const applyFilterLinkOperator = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(operator => {
    apiRef.current.setFilterLinkOperator(operator);
  }, [apiRef]);
  const getDefaultItem = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => {
    const firstColumnWithOperator = filterableColumns.find(colDef => {
      var _colDef$filterOperato;

      return (_colDef$filterOperato = colDef.filterOperators) == null ? void 0 : _colDef$filterOperato.length;
    });

    if (!firstColumnWithOperator) {
      return null;
    }

    return {
      columnField: firstColumnWithOperator.field,
      operatorValue: firstColumnWithOperator.filterOperators[0].value,
      id: Math.round(Math.random() * 1e5)
    };
  }, [filterableColumns]);
  const items = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (filterModel.items.length) {
      return filterModel.items;
    }

    const defaultItem = getDefaultItem();
    return defaultItem ? [defaultItem] : [];
  }, [filterModel.items, getDefaultItem]);
  const hasMultipleFilters = items.length > 1;

  const addNewFilter = () => {
    const defaultItem = getDefaultItem();

    if (!defaultItem) {
      return;
    }

    apiRef.current.upsertFilterItems([...items, defaultItem]);
  };

  const deleteFilter = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(item => {
    const shouldCloseFilterPanel = items.length === 1;
    apiRef.current.deleteFilterItem(item);

    if (shouldCloseFilterPanel) {
      apiRef.current.hideFilterPanel();
    }
  }, [apiRef, items.length]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (linkOperators.length > 0 && filterModel.linkOperator && !linkOperators.includes(filterModel.linkOperator)) {
      applyFilterLinkOperator(linkOperators[0]);
    }
  }, [linkOperators, applyFilterLinkOperator, filterModel.linkOperator]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (items.length > 0) {
      lastFilterRef.current.focus();
    }
  }, [items.length]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(_GridPanelWrapper__WEBPACK_IMPORTED_MODULE_9__.GridPanelWrapper, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref
  }, other, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_GridPanelContent__WEBPACK_IMPORTED_MODULE_7__.GridPanelContent, {
      children: items.map((item, index) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_GridFilterForm__WEBPACK_IMPORTED_MODULE_10__.GridFilterForm, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        item: item,
        applyFilterChanges: applyFilter,
        deleteFilter: deleteFilter,
        hasMultipleFilters: hasMultipleFilters,
        showMultiFilterOperators: index > 0,
        multiFilterOperator: filterModel.linkOperator,
        disableMultiFilterOperator: index !== 1,
        applyMultiFilterOperatorChanges: applyFilterLinkOperator,
        focusElementRef: index === items.length - 1 ? lastFilterRef : null,
        linkOperators: linkOperators,
        columnsSort: columnsSort
      }, filterFormProps), item.id == null ? index : item.id))
    }), !rootProps.disableMultipleColumnsFiltering && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_GridPanelFooter__WEBPACK_IMPORTED_MODULE_8__.GridPanelFooter, {
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(rootProps.components.BaseButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        onClick: addNewFilter,
        startIcon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.GridAddIcon, {})
      }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseButton, {
        children: apiRef.current.getLocaleText('filterPanelAddFilter')
      }))
    })]
  }));
});
 true ? GridFilterPanel.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * @ignore - do not document.
   */
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Changes how the options in the columns selector should be ordered.
   * If not specified, the order is derived from the `columns` prop.
   */
  columnsSort: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['asc', 'desc']),

  /**
   * Props passed to each filter form.
   */
  filterFormProps: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    columnInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),
    columnsSort: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['asc', 'desc']),
    deleteIconProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),
    linkOperatorInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),
    operatorInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),
    valueInputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any)
  }),

  /**
   * Sets the available logic operators.
   * @default [GridLinkOperator.And, GridLinkOperator.Or]
   */
  linkOperators: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['and', 'or']).isRequired),

  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/filterPanelUtils.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/filterPanelUtils.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getValueFromOption: () => (/* binding */ getValueFromOption),
/* harmony export */   getValueFromValueOptions: () => (/* binding */ getValueFromValueOptions)
/* harmony export */ });
function getValueFromOption(option) {
  if (typeof option === 'object' && option !== null) {
    return option.value;
  }

  return option;
}
function getValueFromValueOptions(value, valueOptions) {
  if (valueOptions === undefined) {
    return undefined;
  }

  const result = valueOptions.find(option => {
    const optionValue = getValueFromOption(option);
    return String(optionValue) === String(value);
  });
  return getValueFromOption(result);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarColumnsButton.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarColumnsButton.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridToolbarColumnsButton: () => (/* binding */ GridToolbarColumnsButton)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _hooks_features_preferencesPanel_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../hooks/features/preferencesPanel/gridPreferencePanelSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelSelector.js");
/* harmony import */ var _hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/features/preferencesPanel/gridPreferencePanelsValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["onClick"];







const GridToolbarColumnsButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridToolbarColumnsButton(props, ref) {
  var _rootProps$components;

  const {
    onClick
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const {
    open,
    openedPanelValue
  } = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _hooks_features_preferencesPanel_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_4__.gridPreferencePanelStateSelector);

  const showColumns = event => {
    if (open && openedPanelValue === _hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_5__.GridPreferencePanelsValue.columns) {
      apiRef.current.hidePreferences();
    } else {
      apiRef.current.showPreferences(_hooks_features_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_5__.GridPreferencePanelsValue.columns);
    }

    onClick == null ? void 0 : onClick(event);
  }; // Disable the button if the corresponding is disabled


  if (rootProps.disableColumnSelector) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(rootProps.components.BaseButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    size: "small",
    "aria-label": apiRef.current.getLocaleText('toolbarColumnsLabel'),
    startIcon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(rootProps.components.ColumnSelectorIcon, {})
  }, other, {
    onClick: showColumns
  }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseButton, {
    children: apiRef.current.getLocaleText('toolbarColumns')
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarDensitySelector.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarDensitySelector.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridToolbarDensitySelector: () => (/* binding */ GridToolbarDensitySelector)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/MenuList */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuList/MenuList.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/ListItemIcon */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js");
/* harmony import */ var _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../hooks/features/density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _models_gridDensity__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../models/gridDensity */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridDensity.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _menu_GridMenu__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../menu/GridMenu */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/GridMenu.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["onClick"];















const GridToolbarDensitySelector = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridToolbarDensitySelector(props, ref) {
  var _rootProps$components;

  const {
    onClick
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_11__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_14__.useGridRootProps)();
  const densityValue = (0,_hooks_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_12__.useGridSelector)(apiRef, _hooks_features_density_densitySelector__WEBPACK_IMPORTED_MODULE_8__.gridDensityValueSelector);
  const densityButtonId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const densityMenuId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const [open, setOpen] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  const buttonRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(ref, buttonRef);
  const densityOptions = [{
    icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(rootProps.components.DensityCompactIcon, {}),
    label: apiRef.current.getLocaleText('toolbarDensityCompact'),
    value: _models_gridDensity__WEBPACK_IMPORTED_MODULE_9__.GridDensityTypes.Compact
  }, {
    icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(rootProps.components.DensityStandardIcon, {}),
    label: apiRef.current.getLocaleText('toolbarDensityStandard'),
    value: _models_gridDensity__WEBPACK_IMPORTED_MODULE_9__.GridDensityTypes.Standard
  }, {
    icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(rootProps.components.DensityComfortableIcon, {}),
    label: apiRef.current.getLocaleText('toolbarDensityComfortable'),
    value: _models_gridDensity__WEBPACK_IMPORTED_MODULE_9__.GridDensityTypes.Comfortable
  }];
  const startIcon = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    switch (densityValue) {
      case _models_gridDensity__WEBPACK_IMPORTED_MODULE_9__.GridDensityTypes.Compact:
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(rootProps.components.DensityCompactIcon, {});

      case _models_gridDensity__WEBPACK_IMPORTED_MODULE_9__.GridDensityTypes.Comfortable:
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(rootProps.components.DensityComfortableIcon, {});

      default:
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(rootProps.components.DensityStandardIcon, {});
    }
  }, [densityValue, rootProps]);

  const handleDensitySelectorOpen = event => {
    setOpen(prevOpen => !prevOpen);
    onClick == null ? void 0 : onClick(event);
  };

  const handleDensitySelectorClickAway = event => {
    var _buttonRef$current;

    if (buttonRef.current === event.target || // if user clicked on the icon
    (_buttonRef$current = buttonRef.current) != null && _buttonRef$current.contains(event.target)) {
      return;
    }

    setOpen(false);
  };

  const handleDensityUpdate = newDensity => {
    apiRef.current.setDensity(newDensity);
    setOpen(false);
  };

  const handleListKeyDown = event => {
    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_10__.isTabKey)(event.key)) {
      event.preventDefault();
    }

    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_10__.isHideMenuKey)(event.key)) {
      setOpen(false);
    }
  }; // Disable the button if the corresponding is disabled


  if (rootProps.disableDensitySelector) {
    return null;
  }

  const densityElements = densityOptions.map((option, index) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_6__["default"], {
    onClick: () => handleDensityUpdate(option.value),
    selected: option.value === densityValue,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_7__["default"], {
      children: option.icon
    }), option.label]
  }, index));
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(rootProps.components.BaseButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      ref: handleRef,
      size: "small",
      startIcon: startIcon,
      "aria-label": apiRef.current.getLocaleText('toolbarDensityLabel'),
      "aria-expanded": open ? 'true' : undefined,
      "aria-haspopup": "menu",
      "aria-controls": densityMenuId,
      id: densityButtonId
    }, other, {
      onClick: handleDensitySelectorOpen
    }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseButton, {
      children: apiRef.current.getLocaleText('toolbarDensity')
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_menu_GridMenu__WEBPACK_IMPORTED_MODULE_13__.GridMenu, {
      open: open,
      target: buttonRef.current,
      onClickAway: handleDensitySelectorClickAway,
      position: "bottom-start",
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__["default"], {
        id: densityMenuId,
        className: _constants_gridClasses__WEBPACK_IMPORTED_MODULE_15__.gridClasses.menuList,
        "aria-labelledby": densityButtonId,
        onKeyDown: handleListKeyDown,
        autoFocusItem: open,
        children: densityElements
      })
    })]
  });
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarExport.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarExport.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridCsvExportMenuItem: () => (/* binding */ GridCsvExportMenuItem),
/* harmony export */   GridPrintExportMenuItem: () => (/* binding */ GridPrintExportMenuItem),
/* harmony export */   GridToolbarExport: () => (/* binding */ GridToolbarExport)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _GridToolbarExportContainer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./GridToolbarExportContainer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarExportContainer.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["hideMenu", "options"],
      _excluded2 = ["hideMenu", "options"],
      _excluded3 = ["csvOptions", "printOptions", "excelOptions"];






const GridCsvExportMenuItem = props => {
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__.useGridApiContext)();

  const {
    hideMenu,
    options
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_4__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    onClick: () => {
      apiRef.current.exportDataAsCsv(options);
      hideMenu == null ? void 0 : hideMenu();
    }
  }, other, {
    children: apiRef.current.getLocaleText('toolbarExportCSV')
  }));
};
const GridPrintExportMenuItem = props => {
  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__.useGridApiContext)();

  const {
    hideMenu,
    options
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded2);

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_4__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    onClick: () => {
      apiRef.current.exportDataAsPrint(options);
      hideMenu == null ? void 0 : hideMenu();
    }
  }, other, {
    children: apiRef.current.getLocaleText('toolbarExportPrint')
  }));
};
const GridToolbarExport = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridToolbarExport(props, ref) {
  const {
    csvOptions = {},
    printOptions = {},
    excelOptions
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded3);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_5__.useGridApiContext)();
  const preProcessedButtons = apiRef.current.unstable_applyPipeProcessors('exportMenu', [], {
    excelOptions,
    csvOptions,
    printOptions
  }).sort((a, b) => a.componentName > b.componentName ? 1 : -1);

  if (preProcessedButtons.length === 0) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_GridToolbarExportContainer__WEBPACK_IMPORTED_MODULE_6__.GridToolbarExportContainer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, other, {
    ref: ref,
    children: preProcessedButtons.map((button, index) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.cloneElement(button.component, {
      key: index
    }))
  }));
});
 true ? GridToolbarExport.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  csvOptions: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  printOptions: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)
} : 0;


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarExportContainer.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarExportContainer.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridToolbarExportContainer: () => (/* binding */ GridToolbarExportContainer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/MenuList */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuList/MenuList.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _menu_GridMenu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../menu/GridMenu */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/GridMenu.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["children", "onClick"];










const GridToolbarExportContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridToolbarExportContainer(props, ref) {
  var _rootProps$components;

  const {
    children,
    onClick
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const apiRef = (0,_hooks_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_7__.useGridApiContext)();
  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_9__.useGridRootProps)();
  const buttonId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const menuId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const [open, setOpen] = react__WEBPACK_IMPORTED_MODULE_2__.useState(false);
  const buttonRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(ref, buttonRef);

  const handleMenuOpen = event => {
    setOpen(prevOpen => !prevOpen);
    onClick == null ? void 0 : onClick(event);
  };

  const handleMenuClose = () => setOpen(false);

  const handleListKeyDown = event => {
    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isTabKey)(event.key)) {
      event.preventDefault();
    }

    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isHideMenuKey)(event.key)) {
      handleMenuClose();
    }
  };

  const handleMenuClickAway = event => {
    var _buttonRef$current;

    if (buttonRef.current === event.target || // if user clicked on the icon
    (_buttonRef$current = buttonRef.current) != null && _buttonRef$current.contains(event.target)) {
      return;
    }

    setOpen(false);
  };

  if (children == null) {
    return null;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(rootProps.components.BaseButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      ref: handleRef,
      size: "small",
      startIcon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(rootProps.components.ExportIcon, {}),
      "aria-expanded": open ? 'true' : undefined,
      "aria-label": apiRef.current.getLocaleText('toolbarExportLabel'),
      "aria-haspopup": "menu",
      "aria-labelledby": menuId,
      id: buttonId
    }, other, {
      onClick: handleMenuOpen
    }, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseButton, {
      children: apiRef.current.getLocaleText('toolbarExport')
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_menu_GridMenu__WEBPACK_IMPORTED_MODULE_8__.GridMenu, {
      open: open,
      target: buttonRef.current,
      onClickAway: handleMenuClickAway,
      position: "bottom-start",
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_mui_material_MenuList__WEBPACK_IMPORTED_MODULE_5__["default"], {
        id: menuId,
        className: _constants_gridClasses__WEBPACK_IMPORTED_MODULE_10__.gridClasses.menuList,
        "aria-labelledby": buttonId,
        onKeyDown: handleListKeyDown,
        autoFocusItem: open,
        children: react__WEBPACK_IMPORTED_MODULE_2__.Children.map(children, child => {
          if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.isValidElement(child)) {
            return child;
          }

          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.cloneElement(child, {
            hideMenu: handleMenuClose
          });
        })
      })
    })]
  });
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScroller.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScroller.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridVirtualScroller: () => (/* binding */ GridVirtualScroller)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];








const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['virtualScroller']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const VirtualScrollerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'VirtualScroller',
  overridesResolver: (props, styles) => styles.virtualScroller
})({
  overflow: 'auto',
  // See https://github.com/mui/mui-x/issues/4360
  position: 'relative',
  '@media print': {
    overflow: 'hidden'
  }
});
const GridVirtualScroller = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridVirtualScroller(props, ref) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(VirtualScrollerRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ownerState: rootProps
  }, other));
});


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScrollerContent.js"
/*!*******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScrollerContent.js ***!
  \*******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridVirtualScrollerContent: () => (/* binding */ GridVirtualScrollerContent)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "style"];








const useUtilityClasses = ownerState => {
  const {
    classes,
    overflowedContent
  } = ownerState;
  const slots = {
    root: ['virtualScrollerContent', overflowedContent && 'virtualScrollerContent--overflowed']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const VirtualScrollerContentRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'VirtualScrollerContent',
  overridesResolver: (props, styles) => styles.virtualScrollerContent
})({});
const GridVirtualScrollerContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridVirtualScrollerContent(props, ref) {
  const {
    className,
    style
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rootProps, {
    overflowedContent: !rootProps.autoHeight && (style == null ? void 0 : style.minHeight) === 'auto'
  });

  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(VirtualScrollerContentRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ownerState: ownerState,
    style: style
  }, other));
});


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScrollerRenderZone.js"
/*!**********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/virtualization/GridVirtualScrollerRenderZone.js ***!
  \**********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridVirtualScrollerRenderZone: () => (/* binding */ GridVirtualScrollerRenderZone)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className"];








const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['virtualScrollerRenderZone']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.getDataGridUtilityClass, classes);
};

const VirtualScrollerRenderZoneRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'VirtualScrollerRenderZone',
  overridesResolver: (props, styles) => styles.virtualScrollerRenderZone
})({
  position: 'absolute',
  display: 'flex',
  // Prevents margin collapsing when using `getRowSpacing`
  flexDirection: 'column'
});
const GridVirtualScrollerRenderZone = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function GridVirtualScrollerRenderZone(props, ref) {
  const {
    className
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const rootProps = (0,_hooks_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_6__.useGridRootProps)();
  const classes = useUtilityClasses(rootProps);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(VirtualScrollerRenderZoneRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ownerState: rootProps
  }, other));
});


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/defaultGridSlotsComponents.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/defaultGridSlotsComponents.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DATA_GRID_DEFAULT_SLOTS_COMPONENTS: () => (/* binding */ DATA_GRID_DEFAULT_SLOTS_COMPONENTS)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Checkbox */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/FormControl */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material_Select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Select */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material_Switch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Switch */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/Switch.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Tooltip */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/Tooltip.js");
/* harmony import */ var _mui_material_Popper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Popper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridCell.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridColumnsPanel.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPanel.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderFilterIconButton.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/menu/columnMenu/GridColumnMenu.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/icons/index.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/filterPanel/GridFilterPanel.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/panel/GridPreferencesPanel.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/cell/GridSkeletonCell.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridFooter.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridHeader.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridLoadingOverlay.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridNoRowsOverlay.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridPagination.js");
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../components */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridRow.js");
/* harmony import */ var _components_columnHeaders_GridColumnUnsortedIcon__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../components/columnHeaders/GridColumnUnsortedIcon */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnUnsortedIcon.js");
/* harmony import */ var _components_ErrorOverlay__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../components/ErrorOverlay */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/ErrorOverlay.js");
/* harmony import */ var _components_GridNoResultsOverlay__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../components/GridNoResultsOverlay */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridNoResultsOverlay.js");













const DEFAULT_GRID_ICON_SLOTS_COMPONENTS = {
  BooleanCellTrueIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridCheckIcon,
  BooleanCellFalseIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridCloseIcon,
  ColumnMenuIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridTripleDotsVerticalIcon,
  OpenFilterButtonIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridFilterListIcon,
  FilterPanelDeleteIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridCloseIcon,
  ColumnFilteredIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridFilterAltIcon,
  ColumnSelectorIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridColumnIcon,
  ColumnUnsortedIcon: _components_columnHeaders_GridColumnUnsortedIcon__WEBPACK_IMPORTED_MODULE_24__.GridColumnUnsortedIcon,
  ColumnSortedAscendingIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridArrowUpwardIcon,
  ColumnSortedDescendingIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridArrowDownwardIcon,
  ColumnResizeIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridSeparatorIcon,
  DensityCompactIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridViewHeadlineIcon,
  DensityStandardIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridTableRowsIcon,
  DensityComfortableIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridViewStreamIcon,
  ExportIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridSaveAltIcon,
  MoreActionsIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridMoreVertIcon,
  TreeDataCollapseIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridExpandMoreIcon,
  TreeDataExpandIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridKeyboardArrowRight,
  GroupingCriteriaCollapseIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridExpandMoreIcon,
  GroupingCriteriaExpandIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridKeyboardArrowRight,
  DetailPanelExpandIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridAddIcon,
  DetailPanelCollapseIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridRemoveIcon,
  RowReorderIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridDragIcon,
  QuickFilterIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridSearchIcon,
  QuickFilterClearIcon: _components__WEBPACK_IMPORTED_MODULE_14__.GridCloseIcon
};
/**
 * TODO: Differentiate community and pro value and interface
 */

const DATA_GRID_DEFAULT_SLOTS_COMPONENTS = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, DEFAULT_GRID_ICON_SLOTS_COMPONENTS, {
  BaseCheckbox: _mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_1__["default"],
  BaseTextField: _mui_material_TextField__WEBPACK_IMPORTED_MODULE_2__["default"],
  BaseFormControl: _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_3__["default"],
  BaseSelect: _mui_material_Select__WEBPACK_IMPORTED_MODULE_4__["default"],
  BaseSwitch: _mui_material_Switch__WEBPACK_IMPORTED_MODULE_5__["default"],
  BaseButton: _mui_material_Button__WEBPACK_IMPORTED_MODULE_6__["default"],
  BaseTooltip: _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"],
  BasePopper: _mui_material_Popper__WEBPACK_IMPORTED_MODULE_8__["default"],
  Cell: _components__WEBPACK_IMPORTED_MODULE_9__.GridCell,
  SkeletonCell: _components__WEBPACK_IMPORTED_MODULE_17__.GridSkeletonCell,
  ColumnHeaderFilterIconButton: _components__WEBPACK_IMPORTED_MODULE_12__.GridColumnHeaderFilterIconButton,
  ColumnMenu: _components__WEBPACK_IMPORTED_MODULE_13__.GridColumnMenu,
  ErrorOverlay: _components_ErrorOverlay__WEBPACK_IMPORTED_MODULE_25__.ErrorOverlay,
  Footer: _components__WEBPACK_IMPORTED_MODULE_18__.GridFooter,
  Header: _components__WEBPACK_IMPORTED_MODULE_19__.GridHeader,
  Toolbar: null,
  PreferencesPanel: _components__WEBPACK_IMPORTED_MODULE_16__.GridPreferencesPanel,
  LoadingOverlay: _components__WEBPACK_IMPORTED_MODULE_20__.GridLoadingOverlay,
  NoResultsOverlay: _components_GridNoResultsOverlay__WEBPACK_IMPORTED_MODULE_26__.GridNoResultsOverlay,
  NoRowsOverlay: _components__WEBPACK_IMPORTED_MODULE_21__.GridNoRowsOverlay,
  Pagination: _components__WEBPACK_IMPORTED_MODULE_22__.GridPagination,
  FilterPanel: _components__WEBPACK_IMPORTED_MODULE_15__.GridFilterPanel,
  ColumnsPanel: _components__WEBPACK_IMPORTED_MODULE_10__.GridColumnsPanel,
  Panel: _components__WEBPACK_IMPORTED_MODULE_11__.GridPanel,
  Row: _components__WEBPACK_IMPORTED_MODULE_23__.GridRow
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/envConstants.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/envConstants.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_EXPERIMENTAL_ENABLED: () => (/* binding */ GRID_EXPERIMENTAL_ENABLED)
/* harmony export */ });
// A guide to feature toggling (deprecated)
//
// The feature toggle is:
// - independent from the NODE_ENV
// - isn't pruning code in production, as the objective is to eventually ship the code.
// - doesn't allow to cherry-pick which feature to enable
//
// By default, the experimental features are only enabled in:
// - the local environment
// - the pull request previews
//
// Reviewers can force the value with the local storage and the GRID_EXPERIMENTAL_ENABLED key:
// - 'true' => force it to be enabled
// - 'false' => force it to be disabled
//
// Developers (users) are discouraged to enable the experimental feature by setting the GRID_EXPERIMENTAL_ENABLED env.
// Instead, prefer exposing experimental APIs, for instance, a prop or a new `unstable_` module.
const GRID_EXPERIMENTAL_ENABLED = false;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getDataGridUtilityClass: () => (/* binding */ getDataGridUtilityClass),
/* harmony export */   gridClasses: () => (/* binding */ gridClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getDataGridUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDataGrid', slot);
}
const gridClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDataGrid', ['actionsCell', 'aggregationColumnHeader', 'aggregationColumnHeader--alignLeft', 'aggregationColumnHeader--alignCenter', 'aggregationColumnHeader--alignRight', 'autoHeight', 'booleanCell', 'cell--editable', 'cell--editing', 'cell--textCenter', 'cell--textLeft', 'cell--textRight', 'cell--withRenderer', 'cell', 'cellContent', 'cellCheckbox', 'cellSkeleton', 'checkboxInput', 'columnHeader--alignCenter', 'columnHeader--alignLeft', 'columnHeader--alignRight', 'columnHeader--dragging', 'columnHeader--moving', 'columnHeader--numeric', 'columnHeader--sortable', 'columnHeader--sorted', 'columnHeader--filtered', 'columnHeader', 'columnHeaderCheckbox', 'columnHeaderDraggableContainer', 'columnHeaderDropZone', 'columnHeaderTitle', 'columnHeaderTitleContainer', 'columnHeaderTitleContainerContent', 'columnGroupHeader', 'columnHeader--filledGroup', 'columnHeader--emptyGroup', 'columnHeader--showColumnBorder', 'columnHeaders', 'columnHeadersInner', 'columnHeadersInner--scrollable', 'columnSeparator--resizable', 'columnSeparator--resizing', 'columnSeparator--sideLeft', 'columnSeparator--sideRight', 'columnSeparator', 'columnsPanel', 'columnsPanelRow', 'detailPanel', 'detailPanels', 'detailPanelToggleCell', 'detailPanelToggleCell--expanded', 'footerCell', 'panel', 'panelHeader', 'panelWrapper', 'panelContent', 'panelFooter', 'paper', 'editBooleanCell', 'editInputCell', 'filterForm', 'filterFormDeleteIcon', 'filterFormLinkOperatorInput', 'filterFormColumnInput', 'filterFormOperatorInput', 'filterFormValueInput', 'filterIcon', 'footerContainer', 'iconButtonContainer', 'iconSeparator', 'main', 'menu', 'menuIcon', 'menuIconButton', 'menuOpen', 'menuList', 'overlay', 'root', 'root--densityStandard', 'root--densityComfortable', 'root--densityCompact', 'row', 'row--editable', 'row--editing', 'row--lastVisible', 'row--dragging', 'row--dynamicHeight', 'row--detailPanelExpanded', 'rowReorderCellPlaceholder', 'rowCount', 'rowReorderCellContainer', 'rowReorderCell', 'rowReorderCell--draggable', 'scrollArea--left', 'scrollArea--right', 'scrollArea', 'selectedRowCount', 'sortIcon', 'toolbarContainer', 'toolbarFilterList', 'virtualScroller', 'virtualScrollerContent', 'virtualScrollerContent--overflowed', 'virtualScrollerRenderZone', 'pinnedColumns', 'pinnedColumns--left', 'pinnedColumns--right', 'pinnedColumnHeaders', 'pinnedColumnHeaders--left', 'pinnedColumnHeaders--right', 'withBorder', 'treeDataGroupingCell', 'treeDataGroupingCellToggle', 'groupingCriteriaCell', 'groupingCriteriaCellToggle', 'pinnedRows', 'pinnedRows--top', 'pinnedRows--bottom', 'pinnedRowsRenderZone']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridDetailPanelToggleField.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridDetailPanelToggleField.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_DETAIL_PANEL_TOGGLE_FIELD: () => (/* binding */ GRID_DETAIL_PANEL_TOGGLE_FIELD)
/* harmony export */ });
// Can't import from pro package - hence duplication
const GRID_DETAIL_PANEL_TOGGLE_FIELD = '__detail_panel_toggle__';

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/localeTextConstants.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/localeTextConstants.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_DEFAULT_LOCALE_TEXT: () => (/* binding */ GRID_DEFAULT_LOCALE_TEXT)
/* harmony export */ });
const GRID_DEFAULT_LOCALE_TEXT = {
  // Root
  noRowsLabel: 'No rows',
  noResultsOverlayLabel: 'No results found.',
  errorOverlayDefaultLabel: 'An error occurred.',
  // Density selector toolbar button text
  toolbarDensity: 'Density',
  toolbarDensityLabel: 'Density',
  toolbarDensityCompact: 'Compact',
  toolbarDensityStandard: 'Standard',
  toolbarDensityComfortable: 'Comfortable',
  // Columns selector toolbar button text
  toolbarColumns: 'Columns',
  toolbarColumnsLabel: 'Select columns',
  // Filters toolbar button text
  toolbarFilters: 'Filters',
  toolbarFiltersLabel: 'Show filters',
  toolbarFiltersTooltipHide: 'Hide filters',
  toolbarFiltersTooltipShow: 'Show filters',
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} active filters` : `${count} active filter`,
  // Quick filter toolbar field
  toolbarQuickFilterPlaceholder: 'Search…',
  toolbarQuickFilterLabel: 'Search',
  toolbarQuickFilterDeleteIconLabel: 'Clear',
  // Export selector toolbar button text
  toolbarExport: 'Export',
  toolbarExportLabel: 'Export',
  toolbarExportCSV: 'Download as CSV',
  toolbarExportPrint: 'Print',
  toolbarExportExcel: 'Download as Excel',
  // Columns panel text
  columnsPanelTextFieldLabel: 'Find column',
  columnsPanelTextFieldPlaceholder: 'Column title',
  columnsPanelDragIconLabel: 'Reorder column',
  columnsPanelShowAllButton: 'Show all',
  columnsPanelHideAllButton: 'Hide all',
  // Filter panel text
  filterPanelAddFilter: 'Add filter',
  filterPanelDeleteIconLabel: 'Delete',
  filterPanelLinkOperator: 'Logic operator',
  filterPanelOperators: 'Operator',
  // TODO v6: rename to filterPanelOperator
  filterPanelOperatorAnd: 'And',
  filterPanelOperatorOr: 'Or',
  filterPanelColumns: 'Columns',
  filterPanelInputLabel: 'Value',
  filterPanelInputPlaceholder: 'Filter value',
  // Filter operators text
  filterOperatorContains: 'contains',
  filterOperatorEquals: 'equals',
  filterOperatorStartsWith: 'starts with',
  filterOperatorEndsWith: 'ends with',
  filterOperatorIs: 'is',
  filterOperatorNot: 'is not',
  filterOperatorAfter: 'is after',
  filterOperatorOnOrAfter: 'is on or after',
  filterOperatorBefore: 'is before',
  filterOperatorOnOrBefore: 'is on or before',
  filterOperatorIsEmpty: 'is empty',
  filterOperatorIsNotEmpty: 'is not empty',
  filterOperatorIsAnyOf: 'is any of',
  // Filter values text
  filterValueAny: 'any',
  filterValueTrue: 'true',
  filterValueFalse: 'false',
  // Column menu text
  columnMenuLabel: 'Menu',
  columnMenuShowColumns: 'Show columns',
  columnMenuFilter: 'Filter',
  columnMenuHideColumn: 'Hide',
  columnMenuUnsort: 'Unsort',
  columnMenuSortAsc: 'Sort by ASC',
  columnMenuSortDesc: 'Sort by DESC',
  // Column header text
  columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} active filters` : `${count} active filter`,
  columnHeaderFiltersLabel: 'Show filters',
  columnHeaderSortIconLabel: 'Sort',
  // Rows selected footer text
  footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} rows selected` : `${count.toLocaleString()} row selected`,
  // Total row amount footer text
  footerTotalRows: 'Total Rows:',
  // Total visible row amount footer text
  footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} of ${totalCount.toLocaleString()}`,
  // Checkbox selection text
  checkboxSelectionHeaderName: 'Checkbox selection',
  checkboxSelectionSelectAllRows: 'Select all rows',
  checkboxSelectionUnselectAllRows: 'Unselect all rows',
  checkboxSelectionSelectRow: 'Select row',
  checkboxSelectionUnselectRow: 'Unselect row',
  // Boolean cell text
  booleanCellTrueLabel: 'yes',
  booleanCellFalseLabel: 'no',
  // Actions cell more text
  actionsCellMore: 'more',
  // Column pinning text
  pinToLeft: 'Pin to left',
  pinToRight: 'Pin to right',
  unpin: 'Unpin',
  // Tree Data
  treeDataGroupingHeaderName: 'Group',
  treeDataExpand: 'see children',
  treeDataCollapse: 'hide children',
  // Grouping columns
  groupingColumnHeaderName: 'Group',
  groupColumn: name => `Group by ${name}`,
  unGroupColumn: name => `Stop grouping by ${name}`,
  // Master/detail
  detailPanelToggle: 'Detail panel toggle',
  expandDetailPanel: 'Expand',
  collapseDetailPanel: 'Collapse',
  // Used core components translation keys
  MuiTablePagination: {},
  // Row reordering text
  rowReorderingHeaderName: 'Row reordering',
  // Aggregation
  aggregationMenuItemHeader: 'Aggregation',
  aggregationFunctionLabelSum: 'sum',
  aggregationFunctionLabelAvg: 'avg',
  aggregationFunctionLabelMin: 'min',
  aggregationFunctionLabelMax: 'max',
  aggregationFunctionLabelSize: 'size'
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/context/GridContextProvider.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/context/GridContextProvider.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridContextProvider: () => (/* binding */ GridContextProvider)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _components_GridApiContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/GridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridApiContext.js");
/* harmony import */ var _GridRootPropsContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GridRootPropsContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/context/GridRootPropsContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");




const GridContextProvider = ({
  apiRef,
  props,
  children
}) => {
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_GridRootPropsContext__WEBPACK_IMPORTED_MODULE_2__.GridRootPropsContext.Provider, {
    value: props,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_components_GridApiContext__WEBPACK_IMPORTED_MODULE_1__.GridApiContext.Provider, {
      value: apiRef,
      children: children
    })
  });
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/context/GridRootPropsContext.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/context/GridRootPropsContext.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridRootPropsContext: () => (/* binding */ GridRootPropsContext)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const GridRootPropsContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);

if (true) {
  GridRootPropsContext.displayName = 'GridRootPropsContext';
}



/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridPipeProcessing.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridPipeProcessing.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridPipeProcessing: () => (/* binding */ useGridPipeProcessing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toPropertyKey */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");





/**
 * Implement the Pipeline Pattern
 *
 * More information and detailed example in (TODO add link to technical doc when ready)
 *
 * Some plugins contains custom logic to enrich data provided by other plugins or components.
 * For instance, the row grouping plugin needs to add / remove the grouping columns when the grid columns are updated.
 *
 * =====================================================================================================================
 *
 * The plugin containing the custom logic must use:
 *
 * - `useGridRegisterPipeProcessor` to register their processor.
 *
 * - `apiRef.current.unstable_requestPipeProcessorsApplication` to imperatively re-apply a group.
 *   This method should be used in last resort.
 *   Most of the time, the application should be triggered by an update on the deps of the processor.
 *
 * =====================================================================================================================
 *
 * The plugin or component that needs to enrich its data must use:
 *
 * - `apiRef.current.unstable_applyPipeProcessors` to run in chain all the processors of a given group.
 *
 * - `useGridRegisterPipeApplier` to re-apply the whole pipe when requested.
 *   The applier will be called when:
 *   * a processor is registered.
 *   * `apiRef.current.unstable_requestPipeProcessorsApplication` is called for the given group.
 */
const useGridPipeProcessing = apiRef => {
  const processorsCache = react__WEBPACK_IMPORTED_MODULE_2__.useRef({});
  const runAppliers = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(groupCache => {
    if (!groupCache) {
      return;
    }

    Object.values(groupCache.appliers).forEach(callback => {
      callback();
    });
  }, []);
  const registerPipeProcessor = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((group, id, processor) => {
    if (!processorsCache.current[group]) {
      processorsCache.current[group] = {
        processors: new Map(),
        appliers: {}
      };
    }

    const groupCache = processorsCache.current[group];
    const oldProcessor = groupCache.processors.get(id);

    if (oldProcessor !== processor) {
      groupCache.processors.set(id, processor);
      runAppliers(groupCache);
    }

    return () => {
      processorsCache.current[group].processors.set(id, null);
    };
  }, [runAppliers]);
  const registerPipeApplier = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((group, id, applier) => {
    if (!processorsCache.current[group]) {
      processorsCache.current[group] = {
        processors: new Map(),
        appliers: {}
      };
    }

    processorsCache.current[group].appliers[id] = applier;
    return () => {
      const _appliers = processorsCache.current[group].appliers,
            otherAppliers = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_appliers, [id].map(_babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_1__["default"]));

      processorsCache.current[group].appliers = otherAppliers;
    };
  }, []);
  const requestPipeProcessorsApplication = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(group => {
    const groupCache = processorsCache.current[group];
    runAppliers(groupCache);
  }, [runAppliers]);
  const applyPipeProcessors = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((...args) => {
    const [group, value, context] = args;

    if (!processorsCache.current[group]) {
      return value;
    }

    const preProcessors = Array.from(processorsCache.current[group].processors.values());
    return preProcessors.reduce((acc, preProcessor) => {
      if (!preProcessor) {
        return acc;
      }

      return preProcessor(acc, context);
    }, value);
  }, []);
  const preProcessingApi = {
    unstable_registerPipeProcessor: registerPipeProcessor,
    unstable_registerPipeApplier: registerPipeApplier,
    unstable_requestPipeProcessorsApplication: requestPipeProcessorsApplication,
    unstable_applyPipeProcessors: applyPipeProcessors
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, preProcessingApi, 'GridPipeProcessingApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js"
/*!*******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js ***!
  \*******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridRegisterPipeApplier: () => (/* binding */ useGridRegisterPipeApplier)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_useFirstRender__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/useFirstRender */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useFirstRender.js");


const useGridRegisterPipeApplier = (apiRef, group, callback) => {
  const cleanup = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const id = react__WEBPACK_IMPORTED_MODULE_0__.useRef(`mui-${Math.round(Math.random() * 1e9)}`);
  const registerPreProcessor = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    cleanup.current = apiRef.current.unstable_registerPipeApplier(group, id.current, callback);
  }, [apiRef, callback, group]);
  (0,_utils_useFirstRender__WEBPACK_IMPORTED_MODULE_1__.useFirstRender)(() => {
    registerPreProcessor();
  });
  const isFirstRender = react__WEBPACK_IMPORTED_MODULE_0__.useRef(true);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (isFirstRender.current) {
      isFirstRender.current = false;
    } else {
      registerPreProcessor();
    }

    return () => {
      if (cleanup.current) {
        cleanup.current();
        cleanup.current = null;
      }
    };
  }, [registerPreProcessor]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js"
/*!*********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js ***!
  \*********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridRegisterPipeProcessor: () => (/* binding */ useGridRegisterPipeProcessor)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_useFirstRender__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/useFirstRender */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useFirstRender.js");


const useGridRegisterPipeProcessor = (apiRef, group, callback) => {
  const cleanup = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const id = react__WEBPACK_IMPORTED_MODULE_0__.useRef(`mui-${Math.round(Math.random() * 1e9)}`);
  const registerPreProcessor = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    cleanup.current = apiRef.current.unstable_registerPipeProcessor(group, id.current, callback);
  }, [apiRef, callback, group]);
  (0,_utils_useFirstRender__WEBPACK_IMPORTED_MODULE_1__.useFirstRender)(() => {
    registerPreProcessor();
  });
  const isFirstRender = react__WEBPACK_IMPORTED_MODULE_0__.useRef(true);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (isFirstRender.current) {
      isFirstRender.current = false;
    } else {
      registerPreProcessor();
    }

    return () => {
      if (cleanup.current) {
        cleanup.current();
        cleanup.current = null;
      }
    };
  }, [registerPreProcessor]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js"
/*!*****************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js ***!
  \*****************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridRegisterStrategyProcessor: () => (/* binding */ useGridRegisterStrategyProcessor)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_useFirstRender__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/useFirstRender */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useFirstRender.js");


const useGridRegisterStrategyProcessor = (apiRef, strategyName, group, processor) => {
  const registerPreProcessor = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    apiRef.current.unstable_registerStrategyProcessor(strategyName, group, processor);
  }, [apiRef, processor, group, strategyName]);
  (0,_utils_useFirstRender__WEBPACK_IMPORTED_MODULE_1__.useFirstRender)(() => {
    registerPreProcessor();
  });
  const isFirstRender = react__WEBPACK_IMPORTED_MODULE_0__.useRef(true);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (isFirstRender.current) {
      isFirstRender.current = false;
    } else {
      registerPreProcessor();
    }
  }, [registerPreProcessor]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridStrategyProcessing.js"
/*!**********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridStrategyProcessing.js ***!
  \**********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_DEFAULT_STRATEGY: () => (/* binding */ GRID_DEFAULT_STRATEGY),
/* harmony export */   GRID_STRATEGIES_PROCESSORS: () => (/* binding */ GRID_STRATEGIES_PROCESSORS),
/* harmony export */   useGridStrategyProcessing: () => (/* binding */ useGridStrategyProcessing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toPropertyKey */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");




const GRID_DEFAULT_STRATEGY = 'none';
const GRID_STRATEGIES_PROCESSORS = {
  rowTreeCreation: 'rowTree',
  filtering: 'rowTree',
  sorting: 'rowTree'
};

/**
 * Implements a variant of the Strategy Pattern (see https://en.wikipedia.org/wiki/Strategy_pattern)
 *
 * More information and detailed example in (TODO add link to technical doc when ready)
 *
 * Some plugins contains custom logic that must only be applied if the right strategy is active.
 * For instance, the row grouping plugin has a custom filtering algorithm.
 * This algorithm must be applied by the filtering plugin if the row grouping is the current way of grouping rows,
 * but not if the tree data is the current way of grouping rows.
 *
 * =====================================================================================================================
 *
 * The plugin containing the custom logic must use:
 *
 * - `useGridRegisterStrategyProcessor` to register their processor.
 *   When the processor of the active strategy changes, it will fire `"activeStrategyProcessorChange"` to re-apply the processor.
 *
 * - `apiRef.current.unstable_setStrategyAvailability` to tell if their strategy can be used.
 *
 * =====================================================================================================================
 *
 * The plugin or component that needs to apply the custom logic of the current strategy must use:
 *
 * - `apiRef.current.unstable_applyStrategyProcessor` to run the processor of the active strategy for a given processor name.
 *
 * - the "strategyAvailabilityChange" event to update something when the active strategy changes.
 *    Warning: Be careful not to apply the processor several times.
 *    For instance "rowsSet" is fired by `useGridRows` whenever the active strategy changes.
 *    So listening to both would most likely run your logic twice.
 *
 * - The "activeStrategyProcessorChange" event to update something when the processor of the active strategy changes.
 *
 * =====================================================================================================================
 *
 * Each processor name is part of a strategy group which can only have one active strategy at the time.
 * For now, there is only one strategy group named `rowTree` which customize
 * - row tree creation algorithm.
 * - sorting algorithm.
 * - filtering algorithm.
 */
const useGridStrategyProcessing = apiRef => {
  const availableStrategies = react__WEBPACK_IMPORTED_MODULE_2__.useRef(new Map());
  const strategiesCache = react__WEBPACK_IMPORTED_MODULE_2__.useRef({});
  const registerStrategyProcessor = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((strategyName, processorName, processor) => {
    const cleanup = () => {
      const _ref = strategiesCache.current[processorName],
            otherProcessors = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, [strategyName].map(_babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_1__["default"]));

      strategiesCache.current[processorName] = otherProcessors;
    };

    if (!strategiesCache.current[processorName]) {
      strategiesCache.current[processorName] = {};
    }

    const groupPreProcessors = strategiesCache.current[processorName];
    const previousProcessor = groupPreProcessors[strategyName];
    groupPreProcessors[strategyName] = processor;

    if (!previousProcessor || previousProcessor === processor) {
      return cleanup;
    }

    if (strategyName === apiRef.current.unstable_getActiveStrategy(GRID_STRATEGIES_PROCESSORS[processorName])) {
      apiRef.current.publishEvent('activeStrategyProcessorChange', processorName);
    }

    return cleanup;
  }, [apiRef]);
  const applyStrategyProcessor = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((processorName, params) => {
    const activeStrategy = apiRef.current.unstable_getActiveStrategy(GRID_STRATEGIES_PROCESSORS[processorName]);

    if (activeStrategy == null) {
      throw new Error("Can't apply a strategy processor before defining an active strategy");
    }

    const groupCache = strategiesCache.current[processorName];

    if (!groupCache || !groupCache[activeStrategy]) {
      throw new Error(`No processor found for processor "${processorName}" on strategy "${activeStrategy}"`);
    }

    const processor = groupCache[activeStrategy];
    return processor(params);
  }, [apiRef]);
  const getActiveStrategy = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(strategyGroup => {
    var _availableStrategyEnt;

    const strategyEntries = Array.from(availableStrategies.current.entries());
    const availableStrategyEntry = strategyEntries.find(([, strategy]) => {
      if (strategy.group !== strategyGroup) {
        return false;
      }

      return strategy.isAvailable();
    });
    return (_availableStrategyEnt = availableStrategyEntry == null ? void 0 : availableStrategyEntry[0]) != null ? _availableStrategyEnt : GRID_DEFAULT_STRATEGY;
  }, []);
  const setStrategyAvailability = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((strategyGroup, strategyName, isAvailable) => {
    availableStrategies.current.set(strategyName, {
      group: strategyGroup,
      isAvailable
    });
    apiRef.current.publishEvent('strategyAvailabilityChange');
  }, [apiRef]);
  const strategyProcessingApi = {
    unstable_registerStrategyProcessor: registerStrategyProcessor,
    unstable_applyStrategyProcessor: applyStrategyProcessor,
    unstable_getActiveStrategy: getActiveStrategy,
    unstable_setStrategyAvailability: setStrategyAvailability
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, strategyProcessingApi, 'GridStrategyProcessing');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridApiInitialization.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridApiInitialization.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridApiInitialization: () => (/* binding */ useGridApiInitialization)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_EventManager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/EventManager */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/EventManager.js");
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");






const isSyntheticEvent = event => {
  return event.isPropagationStopped !== undefined;
};

let globalId = 0;
function useGridApiInitialization(inputApiRef, props) {
  const apiRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();

  if (!apiRef.current) {
    apiRef.current = {
      unstable_eventManager: new _utils_EventManager__WEBPACK_IMPORTED_MODULE_3__.EventManager(),
      unstable_caches: {},
      state: {},
      instanceId: globalId
    };
    globalId += 1;
  }

  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(inputApiRef, () => apiRef.current, [apiRef]);
  const publishEvent = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((...args) => {
    const [name, params, event = {}] = args;
    event.defaultMuiPrevented = false;

    if (isSyntheticEvent(event) && event.isPropagationStopped()) {
      return;
    }

    const details = props.signature === _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.GridSignature.DataGridPro ? {
      api: apiRef.current
    } : {};
    apiRef.current.unstable_eventManager.emit(name, params, event, details);
  }, [apiRef, props.signature]);
  const subscribeEvent = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((event, handler, options) => {
    apiRef.current.unstable_eventManager.on(event, handler, options);
    const api = apiRef.current;
    return () => {
      api.unstable_eventManager.removeListener(event, handler);
    };
  }, [apiRef]);
  const showError = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(args => {
    apiRef.current.publishEvent('componentError', args);
  }, [apiRef]);
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_1__.useGridApiMethod)(apiRef, {
    subscribeEvent,
    publishEvent,
    showError
  }, 'GridCoreApi');
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    const api = apiRef.current;
    return () => {
      (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_4__.unstable_resetCreateSelectorCache)(api.instanceId);
      api.publishEvent('unmount');
    };
  }, [apiRef]);
  return apiRef;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridErrorHandler.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridErrorHandler.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridErrorHandler: () => (/* binding */ useGridErrorHandler)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");



function useGridErrorHandler(apiRef, props) {
  const handleError = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(args => {
    // We are handling error here, to set up the handler as early as possible and be able to catch error thrown at init time.
    apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
      error: args
    }));
  }, [apiRef]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (props.error) {
      handleError({
        error: props.error
      });
    } else {
      handleError(null);
    }
  }, [handleError, props.error]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'componentError', handleError);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridInitialization.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridInitialization.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridInitialization: () => (/* binding */ useGridInitialization)
/* harmony export */ });
/* harmony import */ var _useGridLoggerFactory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useGridLoggerFactory */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridLoggerFactory.js");
/* harmony import */ var _useGridApiInitialization__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useGridApiInitialization */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridApiInitialization.js");
/* harmony import */ var _useGridErrorHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useGridErrorHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridErrorHandler.js");
/* harmony import */ var _useGridLocaleText__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useGridLocaleText */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridLocaleText.js");
/* harmony import */ var _pipeProcessing__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridPipeProcessing.js");
/* harmony import */ var _strategyProcessing__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./strategyProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridStrategyProcessing.js");
/* harmony import */ var _useGridStateInitialization__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useGridStateInitialization */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridStateInitialization.js");







/**
 * Initialize the technical pieces of the DataGrid (logger, state, ...) that any DataGrid implementation needs
 */

const useGridInitialization = (inputApiRef, props) => {
  const apiRef = (0,_useGridApiInitialization__WEBPACK_IMPORTED_MODULE_1__.useGridApiInitialization)(inputApiRef, props);
  (0,_useGridLoggerFactory__WEBPACK_IMPORTED_MODULE_0__.useGridLoggerFactory)(apiRef, props);
  (0,_useGridErrorHandler__WEBPACK_IMPORTED_MODULE_2__.useGridErrorHandler)(apiRef, props);
  (0,_useGridStateInitialization__WEBPACK_IMPORTED_MODULE_6__.useGridStateInitialization)(apiRef, props);
  (0,_pipeProcessing__WEBPACK_IMPORTED_MODULE_4__.useGridPipeProcessing)(apiRef);
  (0,_strategyProcessing__WEBPACK_IMPORTED_MODULE_5__.useGridStrategyProcessing)(apiRef);
  (0,_useGridLocaleText__WEBPACK_IMPORTED_MODULE_3__.useGridLocaleText)(apiRef, props);
  return apiRef;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridLocaleText.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridLocaleText.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridLocaleText: () => (/* binding */ useGridLocaleText)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const useGridLocaleText = (apiRef, props) => {
  const getLocaleText = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(key => {
    if (props.localeText[key] == null) {
      throw new Error(`Missing translation for key ${key}.`);
    }

    return props.localeText[key];
  }, [props.localeText]);
  apiRef.current.getLocaleText = getLocaleText;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridLoggerFactory.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridLoggerFactory.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridLoggerFactory: () => (/* binding */ useGridLoggerFactory)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");


const forceDebug = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.localStorageAvailable)() && window.localStorage.getItem('DEBUG') != null;

const noop = () => {};

const noopLogger = {
  debug: noop,
  info: noop,
  warn: noop,
  error: noop
};
const LOG_LEVELS = ['debug', 'info', 'warn', 'error'];

function getAppender(name, logLevel, appender = console) {
  const minLogLevelIdx = LOG_LEVELS.indexOf(logLevel);

  if (minLogLevelIdx === -1) {
    throw new Error(`MUI: Log level ${logLevel} not recognized.`);
  }

  const logger = LOG_LEVELS.reduce((loggerObj, method, idx) => {
    if (idx >= minLogLevelIdx) {
      loggerObj[method] = (...args) => {
        const [message, ...other] = args;
        appender[method](`MUI: ${name} - ${message}`, ...other);
      };
    } else {
      loggerObj[method] = noop;
    }

    return loggerObj;
  }, {});
  return logger;
}

const useGridLoggerFactory = (apiRef, props) => {
  apiRef.current.getLogger = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(name => {
    if (forceDebug) {
      return getAppender(name, 'debug', props.logger);
    }

    if (!props.logLevel) {
      return noopLogger;
    }

    return getAppender(name, props.logLevel.toString(), props.logger);
  }, [props.logLevel, props.logger]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridStateInitialization.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/useGridStateInitialization.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridStateInitialization: () => (/* binding */ useGridStateInitialization)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");


const _excluded = ["stateId"];




const useGridStateInitialization = (apiRef, props) => {
  const controlStateMapRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef({});
  const [, rawForceUpdate] = react__WEBPACK_IMPORTED_MODULE_2__.useState();
  const registerControlState = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(controlStateItem => {
    const {
      stateId
    } = controlStateItem,
          others = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(controlStateItem, _excluded);

    controlStateMapRef.current[stateId] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, others, {
      stateId
    });
  }, []);
  const setState = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((state, reason) => {
    let newState;

    if ((0,_utils_utils__WEBPACK_IMPORTED_MODULE_5__.isFunction)(state)) {
      newState = state(apiRef.current.state);
    } else {
      newState = state;
    }

    if (apiRef.current.state === newState) {
      return false;
    }

    let ignoreSetState = false; // Apply the control state constraints

    const updatedControlStateIds = [];
    Object.keys(controlStateMapRef.current).forEach(stateId => {
      const controlState = controlStateMapRef.current[stateId];
      const oldSubState = controlState.stateSelector(apiRef.current.state, apiRef.current.instanceId);
      const newSubState = controlState.stateSelector(newState, apiRef.current.instanceId);

      if (newSubState === oldSubState) {
        return;
      }

      updatedControlStateIds.push({
        stateId: controlState.stateId,
        hasPropChanged: newSubState !== controlState.propModel
      }); // The state is controlled, the prop should always win

      if (controlState.propModel !== undefined && newSubState !== controlState.propModel) {
        ignoreSetState = true;
      }
    });

    if (updatedControlStateIds.length > 1) {
      // Each hook modify its own state, and it should not leak
      // Events are here to forward to other hooks and apply changes.
      // You are trying to update several states in a no isolated way.
      throw new Error(`You're not allowed to update several sub-state in one transaction. You already updated ${updatedControlStateIds[0].stateId}, therefore, you're not allowed to update ${updatedControlStateIds.map(el => el.stateId).join(', ')} in the same transaction.`);
    }

    if (!ignoreSetState) {
      // We always assign it as we mutate rows for perf reason.
      apiRef.current.state = newState;

      if (apiRef.current.publishEvent) {
        apiRef.current.publishEvent('stateChange', newState);
      }
    }

    if (updatedControlStateIds.length === 1) {
      const {
        stateId,
        hasPropChanged
      } = updatedControlStateIds[0];
      const controlState = controlStateMapRef.current[stateId];
      const model = controlState.stateSelector(newState, apiRef.current.instanceId);

      if (controlState.propOnChange && hasPropChanged) {
        const details = props.signature === _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.GridSignature.DataGridPro ? {
          api: apiRef.current,
          reason
        } : {
          reason
        };
        controlState.propOnChange(model, details);
      }

      if (!ignoreSetState) {
        apiRef.current.publishEvent(controlState.changeEvent, model, {
          reason
        });
      }
    }

    return !ignoreSetState;
  }, [apiRef, props.signature]);
  const updateControlState = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((key, state, reason) => {
    return apiRef.current.setState(previousState => {
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, previousState, {
        [key]: state(previousState[key])
      });
    }, reason);
  }, [apiRef]);
  const forceUpdate = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => rawForceUpdate(() => apiRef.current.state), [apiRef]);
  const stateApi = {
    setState,
    forceUpdate,
    unstable_updateControlState: updateControlState,
    unstable_registerControlState: registerControlState
  };
  (0,_utils__WEBPACK_IMPORTED_MODULE_4__.useGridApiMethod)(apiRef, stateApi, 'GridStateApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/clipboard/useGridClipboard.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/clipboard/useGridClipboard.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridClipboard: () => (/* binding */ useGridClipboard)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridNativeEventListener.js");



function writeToClipboardPolyfill(data) {
  const span = document.createElement('span');
  span.style.whiteSpace = 'pre';
  span.style.userSelect = 'all';
  span.style.opacity = '0px';
  span.textContent = data;
  document.body.appendChild(span);
  const range = document.createRange();
  range.selectNode(span);
  const selection = window.getSelection();
  selection.removeAllRanges();
  selection.addRange(range);

  try {
    document.execCommand('copy');
  } finally {
    document.body.removeChild(span);
  }
}

function hasNativeSelection(element) {
  var _window$getSelection;

  if (((_window$getSelection = window.getSelection()) == null ? void 0 : _window$getSelection.toString()) !== '') {
    return true;
  }

  if (!element) {
    return false;
  }

  if ((element.selectionEnd || 0) - (element.selectionStart || 0) > 0) {
    return true;
  }

  return false;
}
/**
 * @requires useGridCsvExport (method)
 * @requires useGridSelection (method)
 */


const useGridClipboard = apiRef => {
  const copySelectedRowsToClipboard = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((includeHeaders = false) => {
    if (apiRef.current.getSelectedRows().size === 0) {
      return;
    }

    const data = apiRef.current.getDataAsCsv({
      includeHeaders,
      delimiter: '\t'
    });

    if (navigator.clipboard) {
      navigator.clipboard.writeText(data).catch(() => {
        writeToClipboardPolyfill(data);
      });
    } else {
      writeToClipboardPolyfill(data);
    }
  }, [apiRef]);
  const handleKeydown = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    const isModifierKeyPressed = event.ctrlKey || event.metaKey || event.altKey; // event.key === 'c' is not enough as alt+c can lead to ©, ç, or other characters on macOS.
    // event.code === 'KeyC' is not enough as event.code assume a QWERTY keyboard layout which would
    // be wrong with a Dvorak keyboard (as if pressing J).

    if (String.fromCharCode(event.keyCode) !== 'C' || !isModifierKeyPressed) {
      return;
    } // Do nothing if there's a native selection


    if (hasNativeSelection(event.target)) {
      return;
    }

    apiRef.current.unstable_copySelectedRowsToClipboard(event.altKey);
  }, [apiRef]);
  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridNativeEventListener)(apiRef, apiRef.current.rootElementRef, 'keydown', handleKeydown);
  const clipboardApi = {
    unstable_copySelectedRowsToClipboard: copySelectedRowsToClipboard
  };
  (0,_utils__WEBPACK_IMPORTED_MODULE_1__.useGridApiMethod)(apiRef, clipboardApi, 'GridClipboardApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/gridColumnGroupsSelector.js"
/*!*********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/gridColumnGroupsSelector.js ***!
  \*********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridColumnGroupingSelector: () => (/* binding */ gridColumnGroupingSelector),
/* harmony export */   gridColumnGroupsLookupSelector: () => (/* binding */ gridColumnGroupsLookupSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");


/**
 * @category ColumnGrouping
 * @ignore - do not document.
 */
const gridColumnGroupingSelector = state => state.columnGrouping;
const gridColumnGroupsLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnGroupingSelector, columnGrouping => columnGrouping.lookup);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGrouping.js"
/*!******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGrouping.js ***!
  \******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   columnGroupsStateInitializer: () => (/* binding */ columnGroupsStateInitializer),
/* harmony export */   hasGroupPath: () => (/* binding */ hasGroupPath),
/* harmony export */   unwrapGroupingColumnModel: () => (/* binding */ unwrapGroupingColumnModel),
/* harmony export */   useGridColumnGrouping: () => (/* binding */ useGridColumnGrouping)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _models_gridColumnGrouping__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../models/gridColumnGrouping */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridColumnGrouping.js");
/* harmony import */ var _gridColumnGroupsSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gridColumnGroupsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/gridColumnGroupsSelector.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");


const _excluded = ["groupId", "children"];





function hasGroupPath(lookupElement) {
  return lookupElement.groupPath !== undefined;
}

// This is the recurrence function that help writing `unwrapGroupingColumnModel()`
const recurrentUnwrapGroupingColumnModel = (columnGroupNode, parents, unwrappedGroupingModelToComplet) => {
  if ((0,_models_gridColumnGrouping__WEBPACK_IMPORTED_MODULE_3__.isLeaf)(columnGroupNode)) {
    if (unwrappedGroupingModelToComplet[columnGroupNode.field] !== undefined) {
      throw new Error([`MUI: columnGroupingModel contains duplicated field`, `column field ${columnGroupNode.field} occurrs two times in the grouping model:`, `- ${unwrappedGroupingModelToComplet[columnGroupNode.field].join(' > ')}`, `- ${parents.join(' > ')}`].join('\n'));
    }

    unwrappedGroupingModelToComplet[columnGroupNode.field] = parents;
    return;
  }

  const {
    groupId,
    children
  } = columnGroupNode;
  children.forEach(child => {
    recurrentUnwrapGroupingColumnModel(child, [...parents, groupId], unwrappedGroupingModelToComplet);
  });
};
/**
 * This is a function that provide for each column the array of its parents.
 * Parents are ordered from the root to the leaf.
 * @param columnGroupingModel The model such as provided in DataGrid props
 * @returns An object `{[field]: groupIds}` where `groupIds` is the parents of the column `field`
 */


const unwrapGroupingColumnModel = columnGroupingModel => {
  if (!columnGroupingModel) {
    return {};
  }

  const unwrappedSubTree = {};
  columnGroupingModel.forEach(columnGroupNode => {
    recurrentUnwrapGroupingColumnModel(columnGroupNode, [], unwrappedSubTree);
  });
  return unwrappedSubTree;
};

const createGroupLookup = columnGroupingModel => {
  let groupLookup = {};
  columnGroupingModel.forEach(node => {
    if ((0,_models_gridColumnGrouping__WEBPACK_IMPORTED_MODULE_3__.isLeaf)(node)) {
      return;
    }

    const {
      groupId,
      children
    } = node,
          other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(node, _excluded);

    if (!groupId) {
      throw new Error('MUI: An element of the columnGroupingModel does not have either `field` or `groupId`.');
    }

    if (!children) {
      console.warn(`MUI: group groupId=${groupId} has no children.`);
    }

    const groupParam = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, other, {
      groupId
    });

    const subTreeLookup = createGroupLookup(children);

    if (subTreeLookup[groupId] !== undefined || groupLookup[groupId] !== undefined) {
      throw new Error(`MUI: The groupId ${groupId} is used multiple times in the columnGroupingModel.`);
    }

    groupLookup = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, groupLookup, subTreeLookup, {
      [groupId]: groupParam
    });
  });
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, groupLookup);
};

const columnGroupsStateInitializer = (state, props) => {
  var _props$columnGrouping;

  const groupLookup = createGroupLookup((_props$columnGrouping = props.columnGroupingModel) != null ? _props$columnGrouping : []);
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    columnGrouping: {
      lookup: groupLookup,
      groupCollapsedModel: {}
    }
  });
};
/**
 * @requires useGridColumns (method, event)
 * @requires useGridParamsApi (method)
 */

const useGridColumnGrouping = (apiRef, props) => {
  var _props$experimentalFe2;

  /**
   * API METHODS
   */
  const getColumnGroupPath = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(field => {
    var _columnLookup$field$g, _columnLookup$field;

    const columnLookup = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_5__.gridColumnLookupSelector)(apiRef);
    return (_columnLookup$field$g = (_columnLookup$field = columnLookup[field]) == null ? void 0 : _columnLookup$field.groupPath) != null ? _columnLookup$field$g : [];
  }, [apiRef]);
  const getAllGroupDetails = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => {
    const columnGroupLookup = (0,_gridColumnGroupsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnGroupsLookupSelector)(apiRef);
    return columnGroupLookup;
  }, [apiRef]);
  const columnGroupingApi = {
    unstable_getColumnGroupPath: getColumnGroupPath,
    unstable_getAllGroupDetails: getAllGroupDetails
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_6__.useGridApiMethod)(apiRef, columnGroupingApi, 'GridColumnGroupingApi');
  /**
   * EFFECTS
   */
  // The effect does not track any value defined synchronously during the 1st render by hooks called after `useGridColumns`
  // As a consequence, the state generated by the 1st run of this useEffect will always be equal to the initialization one

  const isFirstRender = react__WEBPACK_IMPORTED_MODULE_2__.useRef(true);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    var _props$experimentalFe, _props$columnGrouping2;

    if (isFirstRender.current) {
      isFirstRender.current = false;
      return;
    }

    if (!((_props$experimentalFe = props.experimentalFeatures) != null && _props$experimentalFe.columnGrouping)) {
      return;
    }

    const groupLookup = createGroupLookup((_props$columnGrouping2 = props.columnGroupingModel) != null ? _props$columnGrouping2 : []);
    apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
      columnGrouping: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.columnGrouping, {
        lookup: groupLookup
      })
    }));
  }, [apiRef, props.columnGroupingModel, (_props$experimentalFe2 = props.experimentalFeatures) == null ? void 0 : _props$experimentalFe2.columnGrouping]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGroupingPreProcessors.js"
/*!*******************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGroupingPreProcessors.js ***!
  \*******************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridColumnGroupingPreProcessors: () => (/* binding */ useGridColumnGroupingPreProcessors)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./useGridColumnGrouping */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGrouping.js");





const useGridColumnGroupingPreProcessors = (apiRef, props) => {
  var _props$experimentalFe2;

  const addHeaderGroups = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(columnsState => {
    var _props$experimentalFe;

    if (!((_props$experimentalFe = props.experimentalFeatures) != null && _props$experimentalFe.columnGrouping)) {
      return columnsState;
    }

    const unwrappedGroupingModel = (0,_useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_4__.unwrapGroupingColumnModel)(props.columnGroupingModel);
    columnsState.all.forEach(field => {
      var _unwrappedGroupingMod, _unwrappedGroupingMod2;

      const newGroupPath = (_unwrappedGroupingMod = unwrappedGroupingModel[field]) != null ? _unwrappedGroupingMod : [];
      const lookupElement = columnsState.lookup[field];

      if ((0,_useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_4__.hasGroupPath)(lookupElement) && (0,_utils_utils__WEBPACK_IMPORTED_MODULE_3__.isDeepEqual)(newGroupPath, lookupElement == null ? void 0 : lookupElement.groupPath)) {
        // Avoid modifying the pointer to allow shadow comparison in https://github.com/mui/mui-x/blob/f90afbf10a1264ee8b453d7549dd7cdd6110a4ed/packages/grid/x-data-grid/src/hooks/features/columns/gridColumnsUtils.ts#L446:L453
        return;
      }

      columnsState.lookup[field] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, columnsState.lookup[field], {
        groupPath: (_unwrappedGroupingMod2 = unwrappedGroupingModel[field]) != null ? _unwrappedGroupingMod2 : []
      });
    });
    return columnsState;
  }, [props.columnGroupingModel, (_props$experimentalFe2 = props.experimentalFeatures) == null ? void 0 : _props$experimentalFe2.columnGrouping]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_2__.useGridRegisterPipeProcessor)(apiRef, 'hydrateColumns', addHeaderGroups);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnHeaders/useGridColumnHeaders.js"
/*!****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnHeaders/useGridColumnHeaders.js ***!
  \****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridColumnHeaders: () => (/* binding */ useGridColumnHeaders)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! reselect */ "./node_modules/.pnpm/reselect@4.1.8/node_modules/reselect/es/defaultMemoize.js");
/* harmony import */ var _utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../focus/gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _density_densitySelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../sorting/gridSortingSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js");
/* harmony import */ var _columnMenu_columnMenuSelector__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../columnMenu/columnMenuSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnMenu/columnMenuSelector.js");
/* harmony import */ var _utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _components_columnHeaders_GridColumnHeaderItem__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../components/columnHeaders/GridColumnHeaderItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnHeaderItem.js");
/* harmony import */ var _columns_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../columns/gridColumnsUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsUtils.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _virtualization_useGridVirtualScroller__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../virtualization/useGridVirtualScroller */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/virtualization/useGridVirtualScroller.js");
/* harmony import */ var _components_columnHeaders_GridColumnGroupHeader__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../components/columnHeaders/GridColumnGroupHeader */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/columnHeaders/GridColumnGroupHeader.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");























// TODO: add the possibility to switch this value if needed for customization
const MERGE_EMPTY_CELLS = true;
const GridColumnHeaderRow = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiDataGrid',
  slot: 'ColumnHeaderRow',
  overridesResolver: (props, styles) => styles.columnHeaderRow
})(() => ({
  display: 'flex'
}));

function isUIEvent(event) {
  return !!event.target;
}

const useGridColumnHeaders = props => {
  const {
    innerRef: innerRefProp,
    minColumnIndex = 0
  } = props;
  const [dragCol, setDragCol] = react__WEBPACK_IMPORTED_MODULE_1__.useState('');
  const [resizeCol, setResizeCol] = react__WEBPACK_IMPORTED_MODULE_1__.useState('');
  const apiRef = (0,_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const visibleColumns = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_8__.gridVisibleColumnDefinitionsSelector);
  const columnPositions = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_8__.gridColumnPositionsSelector);
  const tabIndexState = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_9__.gridTabIndexColumnHeaderSelector);
  const cellTabIndexState = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_9__.gridTabIndexCellSelector);
  const columnHeaderFocus = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_9__.gridFocusColumnHeaderSelector);
  const headerHeight = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _density_densitySelector__WEBPACK_IMPORTED_MODULE_10__.gridDensityHeaderHeightSelector);
  const headerGroupingMaxDepth = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _density_densitySelector__WEBPACK_IMPORTED_MODULE_10__.gridDensityHeaderGroupingMaxDepthSelector);
  const totalHeaderHeight = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _density_densitySelector__WEBPACK_IMPORTED_MODULE_10__.gridDensityTotalHeaderHeightSelector);
  const filterColumnLookup = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_11__.gridFilterActiveItemsLookupSelector);
  const sortColumnLookup = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_12__.gridSortColumnLookupSelector);
  const columnMenuState = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _columnMenu_columnMenuSelector__WEBPACK_IMPORTED_MODULE_13__.gridColumnMenuSelector);
  const rootProps = (0,_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_14__.useGridRootProps)();
  const innerRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const handleInnerRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_3__["default"])(innerRefProp, innerRef);
  const [renderContext, setRenderContext] = react__WEBPACK_IMPORTED_MODULE_1__.useState(null);
  const prevRenderContext = react__WEBPACK_IMPORTED_MODULE_1__.useRef(renderContext);
  const prevScrollLeft = react__WEBPACK_IMPORTED_MODULE_1__.useRef(0);
  const currentPage = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_18__.useGridVisibleRows)(apiRef, rootProps);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    apiRef.current.columnHeadersContainerElementRef.current.scrollLeft = 0;
  }, [apiRef]); // memoize `getFirstColumnIndexToRender`, since it's called on scroll

  const getFirstColumnIndexToRenderRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef((0,reselect__WEBPACK_IMPORTED_MODULE_5__.defaultMemoize)(_columns_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_17__.getFirstColumnIndexToRender, {
    equalityCheck: (a, b) => ['firstColumnIndex', 'minColumnIndex', 'columnBuffer'].every(key => a[key] === b[key])
  }));
  const updateInnerPosition = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(nextRenderContext => {
    const [firstRowToRender, lastRowToRender] = (0,_virtualization_useGridVirtualScroller__WEBPACK_IMPORTED_MODULE_19__.getRenderableIndexes)({
      firstIndex: nextRenderContext.firstRowIndex,
      lastIndex: nextRenderContext.lastRowIndex,
      minFirstIndex: 0,
      maxLastIndex: currentPage.rows.length,
      buffer: rootProps.rowBuffer
    });
    const firstColumnToRender = getFirstColumnIndexToRenderRef.current({
      firstColumnIndex: nextRenderContext.firstColumnIndex,
      minColumnIndex,
      columnBuffer: rootProps.columnBuffer,
      firstRowToRender,
      lastRowToRender,
      apiRef,
      visibleRows: currentPage.rows
    });
    const offset = firstColumnToRender > 0 ? prevScrollLeft.current - columnPositions[firstColumnToRender] : prevScrollLeft.current;
    innerRef.current.style.transform = `translate3d(${-offset}px, 0px, 0px)`;
  }, [columnPositions, minColumnIndex, rootProps.columnBuffer, apiRef, currentPage.rows, rootProps.rowBuffer]);
  react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect(() => {
    if (renderContext) {
      updateInnerPosition(renderContext);
    }
  }, [renderContext, updateInnerPosition]);
  const handleScroll = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(({
    left,
    renderContext: nextRenderContext = null
  }, event) => {
    var _prevRenderContext$cu, _prevRenderContext$cu2;

    if (!innerRef.current) {
      return;
    } // Ignore vertical scroll.
    // Excepts the first event which sets the previous render context.


    if (prevScrollLeft.current === left && ((_prevRenderContext$cu = prevRenderContext.current) == null ? void 0 : _prevRenderContext$cu.firstColumnIndex) === (nextRenderContext == null ? void 0 : nextRenderContext.firstColumnIndex) && ((_prevRenderContext$cu2 = prevRenderContext.current) == null ? void 0 : _prevRenderContext$cu2.lastColumnIndex) === (nextRenderContext == null ? void 0 : nextRenderContext.lastColumnIndex)) {
      return;
    }

    prevScrollLeft.current = left; // We can only update the position when we guarantee that the render context has been
    // rendered. This is achieved using ReactDOM.flushSync or when the context doesn't change.

    let canUpdateInnerPosition = false;

    if (nextRenderContext !== prevRenderContext.current || !prevRenderContext.current) {
      // ReactDOM.flushSync cannot be called on `scroll` events fired inside effects
      if (isUIEvent(event)) {
        // To prevent flickering, the inner position can only be updated after the new context has
        // been rendered. ReactDOM.flushSync ensures that the state changes will happen before
        // updating the position.
        react_dom__WEBPACK_IMPORTED_MODULE_2__.flushSync(() => {
          setRenderContext(nextRenderContext);
        });
        canUpdateInnerPosition = true;
      } else {
        setRenderContext(nextRenderContext);
      }

      prevRenderContext.current = nextRenderContext;
    } else {
      canUpdateInnerPosition = true;
    } // Pass directly the render context to avoid waiting for the next render


    if (nextRenderContext && canUpdateInnerPosition) {
      updateInnerPosition(nextRenderContext);
    }
  }, [updateInnerPosition]);
  const handleColumnResizeStart = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => setResizeCol(params.field), []);
  const handleColumnResizeStop = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => setResizeCol(''), []);
  const handleColumnReorderStart = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => setDragCol(params.field), []);
  const handleColumnReorderStop = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => setDragCol(''), []);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_15__.useGridApiEventHandler)(apiRef, 'columnResizeStart', handleColumnResizeStart);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_15__.useGridApiEventHandler)(apiRef, 'columnResizeStop', handleColumnResizeStop);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_15__.useGridApiEventHandler)(apiRef, 'columnHeaderDragStart', handleColumnReorderStart);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_15__.useGridApiEventHandler)(apiRef, 'columnHeaderDragEnd', handleColumnReorderStop);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_15__.useGridApiEventHandler)(apiRef, 'rowsScroll', handleScroll); // Helper for computation common between getColumnHeaders and getColumnGroupHeaders

  const getColumnsToRender = params => {
    const {
      renderContext: nextRenderContext = renderContext,
      minFirstColumn = minColumnIndex,
      maxLastColumn = visibleColumns.length
    } = params || {};

    if (!nextRenderContext) {
      return null;
    }

    const [firstRowToRender, lastRowToRender] = (0,_virtualization_useGridVirtualScroller__WEBPACK_IMPORTED_MODULE_19__.getRenderableIndexes)({
      firstIndex: nextRenderContext.firstRowIndex,
      lastIndex: nextRenderContext.lastRowIndex,
      minFirstIndex: 0,
      maxLastIndex: currentPage.rows.length,
      buffer: rootProps.rowBuffer
    });
    const firstColumnToRender = getFirstColumnIndexToRenderRef.current({
      firstColumnIndex: nextRenderContext.firstColumnIndex,
      minColumnIndex: minFirstColumn,
      columnBuffer: rootProps.columnBuffer,
      apiRef,
      firstRowToRender,
      lastRowToRender,
      visibleRows: currentPage.rows
    });
    const lastColumnToRender = Math.min(nextRenderContext.lastColumnIndex + rootProps.columnBuffer, maxLastColumn);
    const renderedColumns = visibleColumns.slice(firstColumnToRender, lastColumnToRender);
    return {
      renderedColumns,
      firstColumnToRender,
      lastColumnToRender,
      minFirstColumn,
      maxLastColumn
    };
  };

  const getColumnHeaders = (params, other = {}) => {
    const columnsToRender = getColumnsToRender(params);

    if (columnsToRender == null) {
      return null;
    }

    const {
      renderedColumns,
      firstColumnToRender
    } = columnsToRender;
    const columns = [];

    for (let i = 0; i < renderedColumns.length; i += 1) {
      const column = renderedColumns[i];
      const columnIndex = firstColumnToRender + i;
      const isFirstColumn = columnIndex === 0;
      const hasTabbableElement = !(tabIndexState === null && cellTabIndexState === null);
      const tabIndex = tabIndexState !== null && tabIndexState.field === column.field || isFirstColumn && !hasTabbableElement ? 0 : -1;
      const hasFocus = columnHeaderFocus !== null && columnHeaderFocus.field === column.field;
      const open = columnMenuState.open && columnMenuState.field === column.field;
      columns.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(_components_columnHeaders_GridColumnHeaderItem__WEBPACK_IMPORTED_MODULE_16__.GridColumnHeaderItem, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, sortColumnLookup[column.field], {
        columnMenuOpen: open,
        filterItemsCounter: filterColumnLookup[column.field] && filterColumnLookup[column.field].length,
        headerHeight: headerHeight,
        isDragging: column.field === dragCol,
        column: column,
        colIndex: columnIndex,
        isResizing: resizeCol === column.field,
        isLastColumn: columnIndex === visibleColumns.length - 1,
        extendRowFullWidth: !rootProps.disableExtendRowFullWidth,
        hasFocus: hasFocus,
        tabIndex: tabIndex
      }, other), column.field));
    }

    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(GridColumnHeaderRow, {
      role: "row",
      "aria-rowindex": headerGroupingMaxDepth + 1,
      ownerState: rootProps,
      children: columns
    });
  };

  const getParents = (path = [], depth) => path.slice(0, depth + 1);

  const getColumnGroupHeaders = params => {
    if (headerGroupingMaxDepth === 0) {
      return null;
    }

    const columnsToRender = getColumnsToRender(params);

    if (columnsToRender == null || columnsToRender.renderedColumns.length === 0) {
      return null;
    }

    const {
      renderedColumns,
      firstColumnToRender,
      lastColumnToRender,
      maxLastColumn
    } = columnsToRender;
    const columns = [];
    const headerToRender = [];

    for (let depth = 0; depth < headerGroupingMaxDepth; depth += 1) {
      var _visibleColumns$first, _visibleColumns$first2, _visibleColumns$first3;

      // Initialize the header line with a grouping item containing all the columns on the left of the virtualization which are in the same group as the first group to render
      const initialHeader = [];
      let leftOverflow = 0;
      let columnIndex = firstColumnToRender - 1;
      const firstColumnToRenderGroup = (_visibleColumns$first = visibleColumns[firstColumnToRender]) == null ? void 0 : (_visibleColumns$first2 = _visibleColumns$first.groupPath) == null ? void 0 : _visibleColumns$first2[depth]; // The array of parent is used to manage empty grouping cell
      // When two empty grouping cell are next to each other, we merge them if the belong to the same group.

      const firstColumnToRenderGroupParents = getParents((_visibleColumns$first3 = visibleColumns[firstColumnToRender]) == null ? void 0 : _visibleColumns$first3.groupPath, depth);

      while (firstColumnToRenderGroup !== null && columnIndex >= minColumnIndex && (_visibleColumns$colum = visibleColumns[columnIndex]) != null && _visibleColumns$colum.groupPath && (0,_utils_utils__WEBPACK_IMPORTED_MODULE_21__.isDeepEqual)(getParents((_visibleColumns$colum2 = visibleColumns[columnIndex]) == null ? void 0 : _visibleColumns$colum2.groupPath, depth), firstColumnToRenderGroupParents)) {
        var _visibleColumns$colum, _visibleColumns$colum2, _column$computedWidth;

        const column = visibleColumns[columnIndex];
        leftOverflow += (_column$computedWidth = column.computedWidth) != null ? _column$computedWidth : 0;

        if (initialHeader.length === 0) {
          var _column$computedWidth2;

          initialHeader.push({
            width: (_column$computedWidth2 = column.computedWidth) != null ? _column$computedWidth2 : 0,
            fields: [column.field],
            groupId: firstColumnToRenderGroup,
            groupParents: firstColumnToRenderGroupParents,
            colIndex: columnIndex
          });
        } else {
          var _column$computedWidth3;

          initialHeader[0].width += (_column$computedWidth3 = column.computedWidth) != null ? _column$computedWidth3 : 0;
          initialHeader[0].fields.push(column.field);
          initialHeader[0].colIndex = columnIndex;
        }

        columnIndex -= 1;
      }

      const depthInfo = renderedColumns.reduce((aggregated, column, i) => {
        var _column$computedWidth7;

        const lastItem = aggregated[aggregated.length - 1];

        if (column.groupPath && column.groupPath.length > depth) {
          var _column$computedWidth5;

          if (lastItem && lastItem.groupId === column.groupPath[depth]) {
            var _column$computedWidth4;

            // Merge with the previous columns
            return [...aggregated.slice(0, aggregated.length - 1), (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, lastItem, {
              width: lastItem.width + ((_column$computedWidth4 = column.computedWidth) != null ? _column$computedWidth4 : 0),
              fields: [...lastItem.fields, column.field]
            })];
          } // Create a new grouping


          return [...aggregated, {
            groupId: column.groupPath[depth],
            groupParents: getParents(column.groupPath, depth),
            width: (_column$computedWidth5 = column.computedWidth) != null ? _column$computedWidth5 : 0,
            fields: [column.field],
            colIndex: firstColumnToRender + i
          }];
        }

        if (MERGE_EMPTY_CELLS && lastItem && lastItem.groupId === null && (0,_utils_utils__WEBPACK_IMPORTED_MODULE_21__.isDeepEqual)(getParents(column.groupPath, depth), lastItem.groupParents)) {
          var _column$computedWidth6;

          // We merge with previous column
          return [...aggregated.slice(0, aggregated.length - 1), (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, lastItem, {
            width: lastItem.width + ((_column$computedWidth6 = column.computedWidth) != null ? _column$computedWidth6 : 0),
            fields: [...lastItem.fields, column.field]
          })];
        } // We create new empty cell


        return [...aggregated, {
          groupId: null,
          groupParents: getParents(column.groupPath, depth),
          width: (_column$computedWidth7 = column.computedWidth) != null ? _column$computedWidth7 : 0,
          fields: [column.field],
          colIndex: firstColumnToRender + i
        }];
      }, initialHeader);
      columnIndex = lastColumnToRender;
      const lastColumnToRenderGroup = depthInfo[depthInfo.length - 1].groupId;

      while (lastColumnToRenderGroup !== null && columnIndex < maxLastColumn && (_visibleColumns$colum3 = visibleColumns[columnIndex]) != null && _visibleColumns$colum3.groupPath && ((_visibleColumns$colum4 = visibleColumns[columnIndex]) == null ? void 0 : (_visibleColumns$colum5 = _visibleColumns$colum4.groupPath) == null ? void 0 : _visibleColumns$colum5[depth]) === lastColumnToRenderGroup) {
        var _visibleColumns$colum3, _visibleColumns$colum4, _visibleColumns$colum5, _column$computedWidth8;

        const column = visibleColumns[columnIndex];
        depthInfo[depthInfo.length - 1].width += (_column$computedWidth8 = column.computedWidth) != null ? _column$computedWidth8 : 0;
        depthInfo[depthInfo.length - 1].fields.push(column.field);
        columnIndex += 1;
      }

      headerToRender.push({
        leftOverflow,
        elements: [...depthInfo]
      });
    }

    headerToRender.forEach((depthInfo, depthIndex) => {
      columns.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(GridColumnHeaderRow, {
        style: {
          height: `${headerHeight}px`,
          transform: `translateX(-${depthInfo.leftOverflow}px)`
        },
        role: "row",
        "aria-rowindex": depthIndex + 1,
        ownerState: rootProps,
        children: depthInfo.elements.map(({
          groupId,
          width,
          fields,
          colIndex
        }, groupIndex) => {
          return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(_components_columnHeaders_GridColumnGroupHeader__WEBPACK_IMPORTED_MODULE_20__.GridColumnGroupHeader, {
            groupId: groupId,
            width: width,
            fields: fields,
            colIndex: colIndex,
            depth: depthIndex,
            isLastColumn: colIndex === visibleColumns.length - fields.length,
            extendRowFullWidth: !rootProps.disableExtendRowFullWidth,
            maxDepth: headerToRender.length,
            height: headerHeight
          }, groupIndex);
        })
      }, depthIndex));
    });
    return columns;
  };

  const rootStyle = {
    minHeight: totalHeaderHeight,
    maxHeight: totalHeaderHeight,
    lineHeight: `${headerHeight}px`
  };
  return {
    renderContext,
    getColumnHeaders,
    getColumnGroupHeaders,
    isDragging: !!dragCol,
    getRootProps: (other = {}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      style: rootStyle
    }, other),
    getInnerProps: () => ({
      ref: handleInnerRef,
      role: 'rowgroup'
    })
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnMenu/columnMenuSelector.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnMenu/columnMenuSelector.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridColumnMenuSelector: () => (/* binding */ gridColumnMenuSelector)
/* harmony export */ });
const gridColumnMenuSelector = state => state.columnMenu;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnMenu/useGridColumnMenu.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnMenu/useGridColumnMenu.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   columnMenuStateInitializer: () => (/* binding */ columnMenuStateInitializer),
/* harmony export */   useGridColumnMenu: () => (/* binding */ useGridColumnMenu)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _columnMenuSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./columnMenuSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnMenu/columnMenuSelector.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");





const columnMenuStateInitializer = state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  columnMenu: {
    open: false
  }
});
/**
 * @requires useGridColumnResize (event)
 * @requires useGridInfiniteLoader (event)
 */

const useGridColumnMenu = apiRef => {
  const logger = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.useGridLogger)(apiRef, 'useGridColumnMenu');
  /**
   * API METHODS
   */

  const showColumnMenu = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(field => {
    const shouldUpdate = apiRef.current.setState(state => {
      if (state.columnMenu.open && state.columnMenu.field === field) {
        return state;
      }

      logger.debug('Opening Column Menu');
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        columnMenu: {
          open: true,
          field
        }
      });
    });

    if (shouldUpdate) {
      apiRef.current.hidePreferences();
      apiRef.current.forceUpdate();
    }
  }, [apiRef, logger]);
  const hideColumnMenu = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    const shouldUpdate = apiRef.current.setState(state => {
      if (!state.columnMenu.open && state.columnMenu.field === undefined) {
        return state;
      }

      logger.debug('Hiding Column Menu');
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        columnMenu: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.columnMenu, {
          open: false,
          field: undefined
        })
      });
    });

    if (shouldUpdate) {
      apiRef.current.forceUpdate();
    }
  }, [apiRef, logger]);
  const toggleColumnMenu = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(field => {
    logger.debug('Toggle Column Menu');
    const columnMenu = (0,_columnMenuSelector__WEBPACK_IMPORTED_MODULE_5__.gridColumnMenuSelector)(apiRef.current.state);

    if (!columnMenu.open || columnMenu.field !== field) {
      showColumnMenu(field);
    } else {
      hideColumnMenu();
    }
  }, [apiRef, logger, showColumnMenu, hideColumnMenu]);
  const columnMenuApi = {
    showColumnMenu,
    hideColumnMenu,
    toggleColumnMenu
  };
  (0,_utils__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, columnMenuApi, 'GridColumnMenuApi');
  /**
   * EVENTS
   */

  const handleColumnHeaderFocus = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    // Check if the column menu button received focus
    if (!event.target.classList.contains(_constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.gridClasses.menuIconButton)) {
      return;
    } // Check if there's an element which lost focus


    if (!event.relatedTarget) {
      return;
    } // `true` if the focus was on the column menu itself, not on any item


    const columnMenuLostFocus = event.relatedTarget.classList.contains(_constants_gridClasses__WEBPACK_IMPORTED_MODULE_6__.gridClasses.menuList); // `true` if the focus was on an item from the column menu

    const columnMenuItemLostFocus = event.relatedTarget.getAttribute('role') === 'menuitem';

    if (columnMenuLostFocus || columnMenuItemLostFocus) {
      apiRef.current.setColumnHeaderFocus(params.field);
    }
  }, [apiRef]);
  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'columnResizeStart', hideColumnMenu);
  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'columnHeaderFocus', handleColumnHeaderFocus);
  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'virtualScrollerWheel', apiRef.current.hideColumnMenu);
  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'virtualScrollerTouchMove', apiRef.current.hideColumnMenu);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   allGridColumnsFieldsSelector: () => (/* binding */ allGridColumnsFieldsSelector),
/* harmony export */   allGridColumnsSelector: () => (/* binding */ allGridColumnsSelector),
/* harmony export */   filterableGridColumnsIdsSelector: () => (/* binding */ filterableGridColumnsIdsSelector),
/* harmony export */   filterableGridColumnsSelector: () => (/* binding */ filterableGridColumnsSelector),
/* harmony export */   gridColumnDefinitionsSelector: () => (/* binding */ gridColumnDefinitionsSelector),
/* harmony export */   gridColumnFieldsSelector: () => (/* binding */ gridColumnFieldsSelector),
/* harmony export */   gridColumnLookupSelector: () => (/* binding */ gridColumnLookupSelector),
/* harmony export */   gridColumnPositionsSelector: () => (/* binding */ gridColumnPositionsSelector),
/* harmony export */   gridColumnVisibilityModelSelector: () => (/* binding */ gridColumnVisibilityModelSelector),
/* harmony export */   gridColumnsMetaSelector: () => (/* binding */ gridColumnsMetaSelector),
/* harmony export */   gridColumnsSelector: () => (/* binding */ gridColumnsSelector),
/* harmony export */   gridColumnsTotalWidthSelector: () => (/* binding */ gridColumnsTotalWidthSelector),
/* harmony export */   gridFilterableColumnDefinitionsSelector: () => (/* binding */ gridFilterableColumnDefinitionsSelector),
/* harmony export */   gridFilterableColumnLookupSelector: () => (/* binding */ gridFilterableColumnLookupSelector),
/* harmony export */   gridVisibleColumnDefinitionsSelector: () => (/* binding */ gridVisibleColumnDefinitionsSelector),
/* harmony export */   gridVisibleColumnFieldsSelector: () => (/* binding */ gridVisibleColumnFieldsSelector),
/* harmony export */   visibleGridColumnsLengthSelector: () => (/* binding */ visibleGridColumnsLengthSelector),
/* harmony export */   visibleGridColumnsSelector: () => (/* binding */ visibleGridColumnsSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");


/**
 * @category Columns
 * @deprecated Use the selector returning exactly the value you are looking for.
 * @ignore - do not document.
 * TODO v6: Rename `gridColumnsStateSelector`
 */

const gridColumnsSelector = state => state.columns;
/**
 * Get the field of each column.
 * @category Columns
 */

const gridColumnFieldsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnsSelector, columnsState => columnsState.all);
/**
 * Get the columns as a lookup (an object containing the field for keys and the definition for values).
 * @category Columns
 */

const gridColumnLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnsSelector, columnsState => columnsState.lookup);
/**
 * Get the columns as an array.
 * @category Columns
 */

const gridColumnDefinitionsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnFieldsSelector, gridColumnLookupSelector, (allFields, lookup) => allFields.map(field => lookup[field]));
/**
 * Get the column visibility model, containing the visibility status of each column.
 * If a column is not registered in the model, it is visible.
 * @category Visible Columns
 */

const gridColumnVisibilityModelSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnsSelector, columnsState => columnsState.columnVisibilityModel);
/**
 * Get the visible columns as a lookup (an object containing the field for keys and the definition for values).
 * @category Visible Columns
 */

const gridVisibleColumnDefinitionsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnDefinitionsSelector, gridColumnVisibilityModelSelector, (columns, columnVisibilityModel) => columns.filter(column => columnVisibilityModel[column.field] !== false));
/**
 * Get the field of each visible column.
 * @category Visible Columns
 */

const gridVisibleColumnFieldsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleColumnDefinitionsSelector, visibleColumns => visibleColumns.map(column => column.field));
/**
 * Get the left position in pixel of each visible columns relative to the left of the first column.
 * @category Visible Columns
 */

const gridColumnPositionsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleColumnDefinitionsSelector, visibleColumns => {
  const positions = [];
  let currentPosition = 0;

  for (let i = 0; i < visibleColumns.length; i += 1) {
    positions.push(currentPosition);
    currentPosition += visibleColumns[i].computedWidth;
  }

  return positions;
});
/**
 * Get the summed width of all the visible columns.
 * @category Visible Columns
 */

const gridColumnsTotalWidthSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleColumnDefinitionsSelector, gridColumnPositionsSelector, (visibleColumns, positions) => {
  const colCount = visibleColumns.length;

  if (colCount === 0) {
    return 0;
  }

  return positions[colCount - 1] + visibleColumns[colCount - 1].computedWidth;
});
/**
 * Get the filterable columns as an array.
 * @category Columns
 */

const gridFilterableColumnDefinitionsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnDefinitionsSelector, columns => columns.filter(col => col.filterable));
/**
 * Get the filterable columns as a lookup (an object containing the field for keys and the definition for values).
 * @category Columns
 */

const gridFilterableColumnLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnDefinitionsSelector, columns => columns.reduce((acc, col) => {
  if (col.filterable) {
    acc[col.field] = col;
  }

  return acc;
}, {}));
/**
 * @category Columns
 * @deprecated Use `gridColumnFieldsSelector` instead.
 * @ignore - do not document.
 */

const allGridColumnsFieldsSelector = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.wrapWithWarningOnCall)(gridColumnFieldsSelector, ['MUI: The method allGridColumnsFieldsSelector is deprecated and will be removed in the next major version.', 'Use gridColumnFieldsSelector instead']);
/**
 * @category Columns
 * @deprecated Use `gridColumnDefinitionsSelector` instead.
 * @ignore - do not document.
 */

const allGridColumnsSelector = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.wrapWithWarningOnCall)(gridColumnDefinitionsSelector, ['MUI: The method allGridColumnsSelector is deprecated and will be removed in the next major version.', 'Use gridColumnDefinitionsSelector instead']);
/**
 * @category Visible Columns
 * @deprecated Use `gridVisibleColumnDefinitionsSelector` instead.
 * @ignore - do not document.
 */

const visibleGridColumnsSelector = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.wrapWithWarningOnCall)(gridVisibleColumnDefinitionsSelector, ['MUI: The method visibleGridColumnsSelector is deprecated and will be removed in the next major version.', 'Use gridVisibleColumnDefinitionsSelector instead']);
/**
 * @category Columns
 * @deprecated Use `gridFilterableColumnDefinitionsSelector` instead.
 * @ignore - do not document.
 */

const filterableGridColumnsSelector = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.wrapWithWarningOnCall)(gridFilterableColumnDefinitionsSelector, ['MUI: The method filterableGridColumnsSelector is deprecated and will be removed in the next major version.', 'Use gridFilterableColumnDefinitionsSelector instead']);
/**
 * @category Columns
 * @deprecated Use `gridFilterableColumnLookupSelector` instead (not the same return format).
 * @ignore - do not document.
 */

const filterableGridColumnsIdsSelector = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.wrapWithWarningOnCall)((0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterableColumnDefinitionsSelector, columns => columns.map(col => col.field)), ['MUI: The method filterableGridColumnsIdsSelector is deprecated and will be removed in the next major version.', 'Use gridFilterableColumnDefinitionsSelector instead.', 'The return format is now a lookup, if you want to get the same output as before, use the following code:', '', 'const lookup = gridFilterableColumnLookupSelector(apiRef);', 'const fields = gridColumnFieldsSelector(apiRef).filter(field => lookup[field]);']);
/**
 * Get the amount of visible columns.
 * @category Visible Columns
 * @deprecated Use the length of the array returned by `gridVisibleColumnDefinitionsSelector` instead.
 * @ignore - do not document.
 */

const visibleGridColumnsLengthSelector = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.wrapWithWarningOnCall)((0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleColumnDefinitionsSelector, visibleColumns => visibleColumns.length), ['MUI: The method visibleGridColumnsLengthSelector is deprecated and will be removed in the next major version.', 'Use the length of the array returned by gridVisibleColumnDefinitionsSelector instead.']);
/**
 * @category Visible Columns
 * @deprecated Use `gridColumnsTotalWidthSelector` or `gridColumnPositionsSelector` instead.
 * @ignore - do not document.
 */

const gridColumnsMetaSelector = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.wrapWithWarningOnCall)((0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridColumnPositionsSelector, gridColumnsTotalWidthSelector, (positions, totalWidth) => ({
  totalWidth,
  positions
})), ['MUI: The method gridColumnsMetaSelector is deprecated and will be removed in the next major version.', 'Use gridColumnsTotalWidthSelector or gridColumnPositionsSelector instead']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsUtils.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsUtils.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   COLUMNS_DIMENSION_PROPERTIES: () => (/* binding */ COLUMNS_DIMENSION_PROPERTIES),
/* harmony export */   applyInitialState: () => (/* binding */ applyInitialState),
/* harmony export */   computeColumnTypes: () => (/* binding */ computeColumnTypes),
/* harmony export */   computeFlexColumnsWidth: () => (/* binding */ computeFlexColumnsWidth),
/* harmony export */   createColumnsState: () => (/* binding */ createColumnsState),
/* harmony export */   getFirstColumnIndexToRender: () => (/* binding */ getFirstColumnIndexToRender),
/* harmony export */   getFirstNonSpannedColumnToRender: () => (/* binding */ getFirstNonSpannedColumnToRender),
/* harmony export */   getGridColDef: () => (/* binding */ getGridColDef),
/* harmony export */   hydrateColumnsWidth: () => (/* binding */ hydrateColumnsWidth),
/* harmony export */   mergeColumnsState: () => (/* binding */ mergeColumnsState)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _colDef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../colDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridDefaultColumnTypes.js");
/* harmony import */ var _gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");




const COLUMNS_DIMENSION_PROPERTIES = ['maxWidth', 'minWidth', 'width', 'flex'];
const computeColumnTypes = (customColumnTypes = {}) => {
  const mergedColumnTypes = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (0,_colDef__WEBPACK_IMPORTED_MODULE_1__.getGridDefaultColumnTypes)());

  Object.entries(customColumnTypes).forEach(([colType, colTypeDef]) => {
    if (mergedColumnTypes[colType]) {
      mergedColumnTypes[colType] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, mergedColumnTypes[colType], colTypeDef);
    } else {
      mergedColumnTypes[colType] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, mergedColumnTypes[colTypeDef.extendType || _colDef__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_GRID_COL_TYPE_KEY], colTypeDef);
    }
  });
  return mergedColumnTypes;
};
/**
 * Computes width for flex columns.
 * Based on CSS Flexbox specification:
 * https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths
 */

function computeFlexColumnsWidth({
  initialFreeSpace,
  totalFlexUnits,
  flexColumns
}) {
  const flexColumnsLookup = {
    all: {},
    frozenFields: [],
    freeze: field => {
      const value = flexColumnsLookup.all[field];

      if (value && value.frozen !== true) {
        flexColumnsLookup.all[field].frozen = true;
        flexColumnsLookup.frozenFields.push(field);
      }
    }
  }; // Step 5 of https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths

  function loopOverFlexItems() {
    // 5a: If all the flex items on the line are frozen, free space has been distributed.
    if (flexColumnsLookup.frozenFields.length === flexColumns.length) {
      return;
    }

    const violationsLookup = {
      min: {},
      max: {}
    };
    let remainingFreeSpace = initialFreeSpace;
    let flexUnits = totalFlexUnits;
    let totalViolation = 0; // 5b: Calculate the remaining free space

    flexColumnsLookup.frozenFields.forEach(field => {
      remainingFreeSpace -= flexColumnsLookup.all[field].computedWidth;
      flexUnits -= flexColumnsLookup.all[field].flex;
    });

    for (let i = 0; i < flexColumns.length; i += 1) {
      const column = flexColumns[i];

      if (flexColumnsLookup.all[column.field] && flexColumnsLookup.all[column.field].frozen === true) {
        // eslint-disable-next-line no-continue
        continue;
      } // 5c: Distribute remaining free space proportional to the flex factors


      const widthPerFlexUnit = remainingFreeSpace / flexUnits;
      let computedWidth = widthPerFlexUnit * column.flex; // 5d: Fix min/max violations

      if (computedWidth < column.minWidth) {
        totalViolation += column.minWidth - computedWidth;
        computedWidth = column.minWidth;
        violationsLookup.min[column.field] = true;
      } else if (computedWidth > column.maxWidth) {
        totalViolation += column.maxWidth - computedWidth;
        computedWidth = column.maxWidth;
        violationsLookup.max[column.field] = true;
      }

      flexColumnsLookup.all[column.field] = {
        frozen: false,
        computedWidth,
        flex: column.flex
      };
    } // 5e: Freeze over-flexed items


    if (totalViolation < 0) {
      // Freeze all the items with max violations
      Object.keys(violationsLookup.max).forEach(field => {
        flexColumnsLookup.freeze(field);
      });
    } else if (totalViolation > 0) {
      // Freeze all the items with min violations
      Object.keys(violationsLookup.min).forEach(field => {
        flexColumnsLookup.freeze(field);
      });
    } else {
      // Freeze all items
      flexColumns.forEach(({
        field
      }) => {
        flexColumnsLookup.freeze(field);
      });
    } // 5f: Return to the start of this loop


    loopOverFlexItems();
  }

  loopOverFlexItems();
  return flexColumnsLookup.all;
}
/**
 * Compute the `computedWidth` (ie: the width the column should have during rendering) based on the `width` / `flex` / `minWidth` / `maxWidth` properties of `GridColDef`.
 * The columns already have been merged with there `type` default values for `minWidth`, `maxWidth` and `width`, thus the `!` for those properties below.
 * TODO: Unit test this function in depth and only keep basic cases for the whole grid testing.
 * TODO: Improve the `GridColDef` typing to reflect the fact that `minWidth` / `maxWidth` and `width` can't be null after the merge with the `type` default values.
 */

const hydrateColumnsWidth = (rawState, viewportInnerWidth) => {
  const columnsLookup = {};
  let totalFlexUnits = 0;
  let widthAllocatedBeforeFlex = 0;
  const flexColumns = []; // For the non-flex columns, compute their width
  // For the flex columns, compute there minimum width and how much width must be allocated during the flex allocation

  rawState.all.forEach(columnField => {
    const newColumn = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rawState.lookup[columnField]);

    if (rawState.columnVisibilityModel[columnField] === false) {
      newColumn.computedWidth = 0;
    } else {
      let computedWidth;

      if (newColumn.flex && newColumn.flex > 0) {
        totalFlexUnits += newColumn.flex;
        computedWidth = 0;
        flexColumns.push(newColumn);
      } else {
        computedWidth = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_3__.clamp)(newColumn.width, newColumn.minWidth, newColumn.maxWidth);
      }

      widthAllocatedBeforeFlex += computedWidth;
      newColumn.computedWidth = computedWidth;
    }

    columnsLookup[columnField] = newColumn;
  });
  const initialFreeSpace = Math.max(viewportInnerWidth - widthAllocatedBeforeFlex, 0); // Allocate the remaining space to the flex columns

  if (totalFlexUnits > 0 && viewportInnerWidth > 0) {
    const computedColumnWidths = computeFlexColumnsWidth({
      initialFreeSpace,
      totalFlexUnits,
      flexColumns
    });
    Object.keys(computedColumnWidths).forEach(field => {
      columnsLookup[field].computedWidth = computedColumnWidths[field].computedWidth;
    });
  }

  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rawState, {
    lookup: columnsLookup
  });
};
let columnTypeWarnedOnce = false;
/**
 * Apply the order and the dimensions of the initial state.
 * The columns not registered in `orderedFields` will be placed after the imported columns.
 */

const applyInitialState = (columnsState, initialState) => {
  if (!initialState) {
    return columnsState;
  }

  const {
    orderedFields = [],
    dimensions = {}
  } = initialState;
  const columnsWithUpdatedDimensions = Object.keys(dimensions);

  if (columnsWithUpdatedDimensions.length === 0 && orderedFields.length === 0) {
    return columnsState;
  }

  const orderedFieldsLookup = {};
  const cleanOrderedFields = [];

  for (let i = 0; i < orderedFields.length; i += 1) {
    const field = orderedFields[i]; // Ignores the fields in the initialState that matches no field on the current column state

    if (columnsState.lookup[field]) {
      orderedFieldsLookup[field] = true;
      cleanOrderedFields.push(field);
    }
  }

  const newOrderedFields = cleanOrderedFields.length === 0 ? columnsState.all : [...cleanOrderedFields, ...columnsState.all.filter(field => !orderedFieldsLookup[field])];

  const newColumnLookup = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, columnsState.lookup);

  for (let i = 0; i < columnsWithUpdatedDimensions.length; i += 1) {
    const field = columnsWithUpdatedDimensions[i];

    const newColDef = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, newColumnLookup[field], {
      hasBeenResized: true
    });

    Object.entries(dimensions[field]).forEach(([key, value]) => {
      newColDef[key] = value === -1 ? Infinity : value;
    });
    newColumnLookup[field] = newColDef;
  }

  const newColumnsState = {
    all: newOrderedFields,
    lookup: newColumnLookup
  };
  return newColumnsState;
};
/**
 * @deprecated Should have been internal only, you can inline the logic.
 */

const getGridColDef = (columnTypes, type) => {
  if (!type) {
    return columnTypes[_colDef__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_GRID_COL_TYPE_KEY];
  }

  if (true) {
    if (!columnTypeWarnedOnce && !columnTypes[type]) {
      console.warn([`MUI: The column type "${type}" you are using is not supported.`, `Column type "string" is being used instead.`].join('\n'));
      columnTypeWarnedOnce = true;
    }
  }

  if (!columnTypes[type]) {
    return columnTypes[_colDef__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_GRID_COL_TYPE_KEY];
  }

  return columnTypes[type];
};
const createColumnsState = ({
  apiRef,
  columnsToUpsert,
  initialState,
  columnTypes,
  currentColumnVisibilityModel = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__.gridColumnVisibilityModelSelector)(apiRef),
  shouldRegenColumnVisibilityModelFromColumns,
  keepOnlyColumnsToUpsert = false
}) => {
  var _apiRef$current$getRo, _apiRef$current$getRo2, _apiRef$current, _apiRef$current$getRo3;

  const isInsideStateInitializer = !apiRef.current.state.columns;
  let columnsStateWithoutColumnVisibilityModel;

  if (isInsideStateInitializer) {
    columnsStateWithoutColumnVisibilityModel = {
      all: [],
      lookup: {}
    };
  } else {
    const currentState = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__.gridColumnsSelector)(apiRef.current.state);
    columnsStateWithoutColumnVisibilityModel = {
      all: keepOnlyColumnsToUpsert ? [] : [...currentState.all],
      lookup: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, currentState.lookup) // Will be cleaned later if keepOnlyColumnsToUpsert=true

    };
  }

  let columnsToKeep = {};

  if (keepOnlyColumnsToUpsert && !isInsideStateInitializer) {
    columnsToKeep = Object.keys(columnsStateWithoutColumnVisibilityModel.lookup).reduce((acc, key) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, acc, {
      [key]: false
    }), {});
  }

  const columnsToUpsertLookup = {};
  columnsToUpsert.forEach(newColumn => {
    const {
      field
    } = newColumn;
    columnsToUpsertLookup[field] = true;
    columnsToKeep[field] = true;
    let existingState = columnsStateWithoutColumnVisibilityModel.lookup[field];

    if (existingState == null) {
      // New Column
      existingState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, getGridColDef(columnTypes, newColumn.type), {
        // TODO v6: Inline `getGridColDef`
        field,
        hasBeenResized: false
      });
      columnsStateWithoutColumnVisibilityModel.all.push(field);
    } else if (keepOnlyColumnsToUpsert) {
      columnsStateWithoutColumnVisibilityModel.all.push(field);
    }

    let hasBeenResized = existingState.hasBeenResized;
    COLUMNS_DIMENSION_PROPERTIES.forEach(key => {
      if (newColumn[key] !== undefined) {
        hasBeenResized = true;

        if (newColumn[key] === -1) {
          newColumn[key] = Infinity;
        }
      }
    });
    columnsStateWithoutColumnVisibilityModel.lookup[field] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, existingState, {
      hide: newColumn.hide == null ? false : newColumn.hide
    }, newColumn, {
      hasBeenResized
    });
  });

  if (keepOnlyColumnsToUpsert && !isInsideStateInitializer) {
    Object.keys(columnsStateWithoutColumnVisibilityModel.lookup).forEach(field => {
      if (!columnsToKeep[field]) {
        delete columnsStateWithoutColumnVisibilityModel.lookup[field];
      }
    });
  }

  const columnsLookupBeforePreProcessing = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, columnsStateWithoutColumnVisibilityModel.lookup);

  const columnsStateWithPreProcessing = apiRef.current.unstable_applyPipeProcessors('hydrateColumns', columnsStateWithoutColumnVisibilityModel); // TODO v6: remove the sync between the columns `hide` option and the model.

  let columnVisibilityModel = {};

  if (shouldRegenColumnVisibilityModelFromColumns) {
    let hasModelChanged = false;

    const newColumnVisibilityModel = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, currentColumnVisibilityModel);

    if (isInsideStateInitializer) {
      columnsStateWithPreProcessing.all.forEach(field => {
        newColumnVisibilityModel[field] = !columnsStateWithoutColumnVisibilityModel.lookup[field].hide;
      });
    } else if (keepOnlyColumnsToUpsert) {
      // At this point, `keepOnlyColumnsToUpsert` has a new meaning: keep the columns
      // passed via `columnToUpsert` + columns added by the pre-processors. We do the following
      // cleanup because a given column may have been removed from the `columns` prop but it still
      // exists in the state.
      Object.keys(newColumnVisibilityModel).forEach(field => {
        if (!columnsStateWithPreProcessing.lookup[field]) {
          delete newColumnVisibilityModel[field];
          hasModelChanged = true;
        }
      });
    }

    columnsStateWithPreProcessing.all.forEach(field => {
      // If neither the `columnsToUpsert` nor the pre-processors updated the column,
      // Then we don't want to update the visibility status of the column in the model.
      if (!columnsToUpsertLookup[field] && columnsLookupBeforePreProcessing[field] === columnsStateWithPreProcessing.lookup[field]) {
        return;
      } // We always assume that a column not in the model is visible by default. However, there's an
      // edge case where the column is not in the model but it also doesn't exist in the `columns`
      // prop, meaning that the column is being added. In that case, we assume that the column was
      // not visible before for it be added to the model.


      let isVisibleBefore = currentColumnVisibilityModel[field];

      if (isVisibleBefore === undefined) {
        if (isInsideStateInitializer) {
          isVisibleBefore = true;
        } else {
          const currentState = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__.gridColumnsSelector)(apiRef.current.state);
          isVisibleBefore = !!currentState.lookup[field];
        }
      }

      const isVisibleAfter = !columnsStateWithPreProcessing.lookup[field].hide;

      if (isVisibleAfter !== isVisibleBefore) {
        hasModelChanged = true;
        newColumnVisibilityModel[field] = isVisibleAfter;
      }
    });

    if (hasModelChanged || isInsideStateInitializer) {
      columnVisibilityModel = newColumnVisibilityModel;
    } else {
      columnVisibilityModel = currentColumnVisibilityModel;
    }
  } else {
    columnVisibilityModel = currentColumnVisibilityModel;
  }

  const columnsStateWithPortableColumns = applyInitialState(columnsStateWithPreProcessing, initialState);

  const columnsState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, columnsStateWithPortableColumns, {
    columnVisibilityModel
  });

  return hydrateColumnsWidth(columnsState, (_apiRef$current$getRo = (_apiRef$current$getRo2 = (_apiRef$current = apiRef.current).getRootDimensions) == null ? void 0 : (_apiRef$current$getRo3 = _apiRef$current$getRo2.call(_apiRef$current)) == null ? void 0 : _apiRef$current$getRo3.viewportInnerSize.width) != null ? _apiRef$current$getRo : 0);
};
const mergeColumnsState = columnsState => state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  columns: columnsState
});
function getFirstNonSpannedColumnToRender({
  firstColumnToRender,
  apiRef,
  firstRowToRender,
  lastRowToRender,
  visibleRows
}) {
  let firstNonSpannedColumnToRender = firstColumnToRender;

  for (let i = firstRowToRender; i < lastRowToRender; i += 1) {
    const row = visibleRows[i];

    if (row) {
      const rowId = visibleRows[i].id;
      const cellColSpanInfo = apiRef.current.unstable_getCellColSpanInfo(rowId, firstColumnToRender);

      if (cellColSpanInfo && cellColSpanInfo.spannedByColSpan) {
        firstNonSpannedColumnToRender = cellColSpanInfo.leftVisibleCellIndex;
      }
    }
  }

  return firstNonSpannedColumnToRender;
}
function getFirstColumnIndexToRender({
  firstColumnIndex,
  minColumnIndex,
  columnBuffer,
  firstRowToRender,
  lastRowToRender,
  apiRef,
  visibleRows
}) {
  const initialFirstColumnToRender = Math.max(firstColumnIndex - columnBuffer, minColumnIndex);
  const firstColumnToRender = getFirstNonSpannedColumnToRender({
    firstColumnToRender: initialFirstColumnToRender,
    apiRef,
    firstRowToRender,
    lastRowToRender,
    visibleRows
  });
  return firstColumnToRender;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/useGridColumnSpanning.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/useGridColumnSpanning.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridColumnSpanning: () => (/* binding */ useGridColumnSpanning)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");




/**
 * @requires useGridColumns (method, event)
 * @requires useGridParamsApi (method)
 */
const useGridColumnSpanning = apiRef => {
  const lookup = react__WEBPACK_IMPORTED_MODULE_0__.useRef({});
  const setCellColSpanInfo = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((rowId, columnIndex, cellColSpanInfo) => {
    const sizes = lookup.current;

    if (!sizes[rowId]) {
      sizes[rowId] = {};
    }

    sizes[rowId][columnIndex] = cellColSpanInfo;
  }, []);
  const getCellColSpanInfo = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((rowId, columnIndex) => {
    var _lookup$current$rowId;

    return (_lookup$current$rowId = lookup.current[rowId]) == null ? void 0 : _lookup$current$rowId[columnIndex];
  }, []); // Calculate `colSpan` for the cell.

  const calculateCellColSpan = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(params => {
    const {
      columnIndex,
      rowId,
      minFirstColumnIndex,
      maxLastColumnIndex,
      columns
    } = params;
    const columnsLength = columns.length;
    const column = columns[columnIndex];
    const colSpan = typeof column.colSpan === 'function' ? column.colSpan(apiRef.current.getCellParams(rowId, column.field)) : column.colSpan;

    if (!colSpan || colSpan === 1) {
      setCellColSpanInfo(rowId, columnIndex, {
        spannedByColSpan: false,
        cellProps: {
          colSpan: 1,
          width: column.computedWidth
        }
      });
      return {
        colSpan: 1
      };
    }

    let width = column.computedWidth;

    for (let j = 1; j < colSpan; j += 1) {
      const nextColumnIndex = columnIndex + j; // Cells should be spanned only within their column section (left-pinned, right-pinned and unpinned).

      if (nextColumnIndex >= minFirstColumnIndex && nextColumnIndex < maxLastColumnIndex) {
        const nextColumn = columns[nextColumnIndex];
        width += nextColumn.computedWidth;
        setCellColSpanInfo(rowId, columnIndex + j, {
          spannedByColSpan: true,
          rightVisibleCellIndex: Math.min(columnIndex + colSpan, columnsLength - 1),
          leftVisibleCellIndex: columnIndex
        });
      }

      setCellColSpanInfo(rowId, columnIndex, {
        spannedByColSpan: false,
        cellProps: {
          colSpan,
          width
        }
      });
    }

    return {
      colSpan
    };
  }, [apiRef, setCellColSpanInfo]); // Calculate `colSpan` for each cell in the row

  const calculateColSpan = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(({
    rowId,
    minFirstColumn,
    maxLastColumn,
    columns
  }) => {
    for (let i = minFirstColumn; i < maxLastColumn; i += 1) {
      const cellProps = calculateCellColSpan({
        columnIndex: i,
        rowId,
        minFirstColumnIndex: minFirstColumn,
        maxLastColumnIndex: maxLastColumn,
        columns
      });

      if (cellProps.colSpan > 1) {
        i += cellProps.colSpan - 1;
      }
    }
  }, [calculateCellColSpan]);
  const columnSpanningApi = {
    unstable_getCellColSpanInfo: getCellColSpanInfo,
    unstable_calculateColSpan: calculateColSpan
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_1__.useGridApiMethod)(apiRef, columnSpanningApi, 'GridColumnSpanningAPI');
  const handleColumnReorderChange = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    // `colSpan` needs to be recalculated after column reordering
    lookup.current = {};
  }, []);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'columnOrderChange', handleColumnReorderChange);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/useGridColumns.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/useGridColumns.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   columnsStateInitializer: () => (/* binding */ columnsStateInitializer),
/* harmony export */   useGridColumns: () => (/* binding */ useGridColumns)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js");
/* harmony import */ var _gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./gridColumnsUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsUtils.js");
/* harmony import */ var _preferencesPanel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../preferencesPanel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");










const columnsStateInitializer = (state, props, apiRef) => {
  var _props$initialState, _props$initialState$c, _props$initialState2, _ref, _props$columnVisibili, _props$initialState3, _props$initialState3$;

  const isUsingColumnVisibilityModel = !!props.columnVisibilityModel || !!((_props$initialState = props.initialState) != null && (_props$initialState$c = _props$initialState.columns) != null && _props$initialState$c.columnVisibilityModel);
  apiRef.current.unstable_caches.columns = {
    isUsingColumnVisibilityModel
  };
  const columnsTypes = (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.computeColumnTypes)(props.columnTypes);
  const columnsState = (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.createColumnsState)({
    apiRef,
    columnTypes: columnsTypes,
    columnsToUpsert: props.columns,
    initialState: (_props$initialState2 = props.initialState) == null ? void 0 : _props$initialState2.columns,
    shouldRegenColumnVisibilityModelFromColumns: !isUsingColumnVisibilityModel,
    currentColumnVisibilityModel: (_ref = (_props$columnVisibili = props.columnVisibilityModel) != null ? _props$columnVisibili : (_props$initialState3 = props.initialState) == null ? void 0 : (_props$initialState3$ = _props$initialState3.columns) == null ? void 0 : _props$initialState3$.columnVisibilityModel) != null ? _ref : {},
    keepOnlyColumnsToUpsert: true
  });
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    columns: columnsState
  });
};
/**
 * @requires useGridParamsApi (method)
 * @requires useGridDimensions (method, event) - can be after
 * TODO: Impossible priority - useGridParamsApi also needs to be after useGridColumns
 */

function useGridColumns(apiRef, props) {
  var _props$initialState5, _props$componentsProp2;

  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__.useGridLogger)(apiRef, 'useGridColumns');
  const columnTypes = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.computeColumnTypes)(props.columnTypes), [props.columnTypes]);
  const previousColumnsProp = react__WEBPACK_IMPORTED_MODULE_1__.useRef(props.columns);
  const previousColumnTypesProp = react__WEBPACK_IMPORTED_MODULE_1__.useRef(columnTypes);
  apiRef.current.unstable_registerControlState({
    stateId: 'visibleColumns',
    propModel: props.columnVisibilityModel,
    propOnChange: props.onColumnVisibilityModelChange,
    stateSelector: _gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnVisibilityModelSelector,
    changeEvent: 'columnVisibilityModelChange'
  });
  const setGridColumnsState = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(columnsState => {
    logger.debug('Updating columns state.');
    apiRef.current.setState((0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.mergeColumnsState)(columnsState));
    apiRef.current.forceUpdate();
    apiRef.current.publishEvent('columnsChange', columnsState.all);
  }, [logger, apiRef]);
  /**
   * API METHODS
   */

  const getColumn = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(field => (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnLookupSelector)(apiRef)[field], [apiRef]);
  const getAllColumns = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnDefinitionsSelector)(apiRef), [apiRef]);
  const getVisibleColumns = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridVisibleColumnDefinitionsSelector)(apiRef), [apiRef]);
  const getColumnsMeta = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnsMetaSelector)(apiRef), [apiRef]);
  const getColumnIndex = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((field, useVisibleColumns = true) => {
    const columns = useVisibleColumns ? (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridVisibleColumnDefinitionsSelector)(apiRef) : (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnDefinitionsSelector)(apiRef);
    return columns.findIndex(col => col.field === field);
  }, [apiRef]);
  const getColumnPosition = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(field => {
    const index = getColumnIndex(field);
    return (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnPositionsSelector)(apiRef)[index];
  }, [apiRef, getColumnIndex]);
  const setColumnVisibilityModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(model => {
    const currentModel = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnVisibilityModelSelector)(apiRef);

    if (currentModel !== model) {
      apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        columns: (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.createColumnsState)({
          apiRef,
          columnTypes,
          columnsToUpsert: [],
          initialState: undefined,
          shouldRegenColumnVisibilityModelFromColumns: false,
          currentColumnVisibilityModel: model,
          keepOnlyColumnsToUpsert: false
        })
      }));
      apiRef.current.forceUpdate();
    }
  }, [apiRef, columnTypes]);
  const updateColumns = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(columns => {
    const columnsState = (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.createColumnsState)({
      apiRef,
      columnTypes,
      columnsToUpsert: columns,
      initialState: undefined,
      shouldRegenColumnVisibilityModelFromColumns: true,
      keepOnlyColumnsToUpsert: false
    });
    setGridColumnsState(columnsState);
  }, [apiRef, setGridColumnsState, columnTypes]);
  const updateColumn = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(column => apiRef.current.updateColumns([column]), [apiRef]);
  const setColumnVisibility = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((field, isVisible) => {
    // We keep updating the `hide` option of `GridColDef` when not controlling the model to avoid any breaking change.
    // `updateColumns` take care of updating the model itself if needs be.
    // TODO v6: stop using the `hide` field even when the model is not defined
    if (apiRef.current.unstable_caches.columns.isUsingColumnVisibilityModel) {
      var _columnVisibilityMode;

      const columnVisibilityModel = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnVisibilityModelSelector)(apiRef);
      const isCurrentlyVisible = (_columnVisibilityMode = columnVisibilityModel[field]) != null ? _columnVisibilityMode : true;

      if (isVisible !== isCurrentlyVisible) {
        const newModel = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, columnVisibilityModel, {
          [field]: isVisible
        });

        apiRef.current.setColumnVisibilityModel(newModel);
      }
    } else {
      const column = apiRef.current.getColumn(field);

      const newColumn = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, column, {
        hide: !isVisible
      });

      apiRef.current.updateColumns([newColumn]);
      const params = {
        field,
        colDef: newColumn,
        isVisible
      };
      apiRef.current.publishEvent('columnVisibilityChange', params);
    }
  }, [apiRef]);
  const setColumnIndex = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((field, targetIndexPosition) => {
    const allColumns = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnFieldsSelector)(apiRef);
    const oldIndexPosition = allColumns.findIndex(col => col === field);

    if (oldIndexPosition === targetIndexPosition) {
      return;
    }

    logger.debug(`Moving column ${field} to index ${targetIndexPosition}`);
    const updatedColumns = [...allColumns];
    const fieldRemoved = updatedColumns.splice(oldIndexPosition, 1)[0];
    updatedColumns.splice(targetIndexPosition, 0, fieldRemoved);
    setGridColumnsState((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnsSelector)(apiRef.current.state), {
      all: updatedColumns
    }));
    const params = {
      field,
      element: apiRef.current.getColumnHeaderElement(field),
      colDef: apiRef.current.getColumn(field),
      targetIndex: targetIndexPosition,
      oldIndex: oldIndexPosition
    };
    apiRef.current.publishEvent('columnOrderChange', params);
  }, [apiRef, logger, setGridColumnsState]);
  const setColumnWidth = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((field, width) => {
    logger.debug(`Updating column ${field} width to ${width}`);
    const column = apiRef.current.getColumn(field);

    const newColumn = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, column, {
      width
    });

    apiRef.current.updateColumns([newColumn]);
    apiRef.current.publishEvent('columnWidthChange', {
      element: apiRef.current.getColumnHeaderElement(field),
      colDef: newColumn,
      width
    });
  }, [apiRef, logger]);
  const columnApi = {
    getColumn,
    getAllColumns,
    getColumnIndex,
    getColumnPosition,
    getVisibleColumns,
    getColumnsMeta,
    updateColumn,
    updateColumns,
    setColumnVisibilityModel,
    setColumnVisibility,
    setColumnIndex,
    setColumnWidth
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__.useGridApiMethod)(apiRef, columnApi, 'GridColumnApi');
  /**
   * PRE-PROCESSING
   */

  const stateExportPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((prevState, context) => {
    const columnsStateToExport = {};

    if (apiRef.current.unstable_caches.columns.isUsingColumnVisibilityModel) {
      var _props$initialState$c2, _props$initialState4, _props$initialState4$;

      const columnVisibilityModelToExport = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnVisibilityModelSelector)(apiRef);
      const shouldExportColumnVisibilityModel = // Always export if the `exportOnlyDirtyModels` property is activated
      !context.exportOnlyDirtyModels || // Always export if the model is controlled
      props.columnVisibilityModel != null || // Always export if the model has been initialized
      // TODO v6 Do a nullish check instead to export even if the initial model equals "{}"
      Object.keys((_props$initialState$c2 = (_props$initialState4 = props.initialState) == null ? void 0 : (_props$initialState4$ = _props$initialState4.columns) == null ? void 0 : _props$initialState4$.columnVisibilityModel) != null ? _props$initialState$c2 : {}).length > 0 || // Always export if the model is not empty
      Object.keys(columnVisibilityModelToExport).length > 0;

      if (shouldExportColumnVisibilityModel) {
        columnsStateToExport.columnVisibilityModel = columnVisibilityModelToExport;
      }
    }

    columnsStateToExport.orderedFields = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnFieldsSelector)(apiRef);
    const columns = (0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnDefinitionsSelector)(apiRef);
    const dimensions = {};
    columns.forEach(colDef => {
      if (colDef.hasBeenResized) {
        const colDefDimensions = {};
        _gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.COLUMNS_DIMENSION_PROPERTIES.forEach(propertyName => {
          let propertyValue = colDef[propertyName];

          if (propertyValue === Infinity) {
            propertyValue = -1;
          }

          colDefDimensions[propertyName] = propertyValue;
        });
        dimensions[colDef.field] = colDefDimensions;
      }
    });

    if (Object.keys(dimensions).length > 0) {
      columnsStateToExport.dimensions = dimensions;
    }

    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState, {
      columns: columnsStateToExport
    });
  }, [apiRef, props.columnVisibilityModel, (_props$initialState5 = props.initialState) == null ? void 0 : _props$initialState5.columns]);
  const stateRestorePreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, context) => {
    var _context$stateToResto;

    const columnVisibilityModelToImport = apiRef.current.unstable_caches.columns.isUsingColumnVisibilityModel ? (_context$stateToResto = context.stateToRestore.columns) == null ? void 0 : _context$stateToResto.columnVisibilityModel : undefined;
    const initialState = context.stateToRestore.columns;

    if (columnVisibilityModelToImport == null && initialState == null) {
      return params;
    }

    const columnsState = (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.createColumnsState)({
      apiRef,
      columnTypes,
      columnsToUpsert: [],
      initialState,
      shouldRegenColumnVisibilityModelFromColumns: !apiRef.current.unstable_caches.columns.isUsingColumnVisibilityModel,
      currentColumnVisibilityModel: columnVisibilityModelToImport,
      keepOnlyColumnsToUpsert: false
    });
    apiRef.current.setState((0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.mergeColumnsState)(columnsState));

    if (initialState != null) {
      apiRef.current.publishEvent('columnsChange', columnsState.all);
    }

    return params;
  }, [apiRef, columnTypes]);
  const preferencePanelPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((initialValue, value) => {
    if (value === _preferencesPanel__WEBPACK_IMPORTED_MODULE_9__.GridPreferencePanelsValue.columns) {
      var _props$componentsProp;

      const ColumnsPanel = props.components.ColumnsPanel;
      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(ColumnsPanel, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_props$componentsProp = props.componentsProps) == null ? void 0 : _props$componentsProp.columnsPanel));
    }

    return initialValue;
  }, [props.components.ColumnsPanel, (_props$componentsProp2 = props.componentsProps) == null ? void 0 : _props$componentsProp2.columnsPanel]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_6__.useGridRegisterPipeProcessor)(apiRef, 'exportState', stateExportPreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_6__.useGridRegisterPipeProcessor)(apiRef, 'restoreState', stateRestorePreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_6__.useGridRegisterPipeProcessor)(apiRef, 'preferencePanel', preferencePanelPreProcessing);
  /**
   * EVENTS
   */

  const prevInnerWidth = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);

  const handleGridSizeChange = viewportInnerSize => {
    if (prevInnerWidth.current !== viewportInnerSize.width) {
      prevInnerWidth.current = viewportInnerSize.width;
      setGridColumnsState((0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.hydrateColumnsWidth)((0,_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_4__.gridColumnsSelector)(apiRef.current.state), viewportInnerSize.width));
    }
  };

  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'viewportInnerSizeChange', handleGridSizeChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiOptionHandler)(apiRef, 'columnVisibilityChange', props.onColumnVisibilityChange);
  /**
   * APPLIERS
   */

  const hydrateColumns = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    logger.info(`Columns pipe processing have changed, regenerating the columns`);
    const columnsState = (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.createColumnsState)({
      apiRef,
      columnTypes,
      columnsToUpsert: [],
      initialState: undefined,
      shouldRegenColumnVisibilityModelFromColumns: !apiRef.current.unstable_caches.columns.isUsingColumnVisibilityModel,
      keepOnlyColumnsToUpsert: false
    });
    setGridColumnsState(columnsState);
  }, [apiRef, logger, setGridColumnsState, columnTypes]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_7__.useGridRegisterPipeApplier)(apiRef, 'hydrateColumns', hydrateColumns);
  /**
   * EFFECTS
   */
  // The effect do not track any value defined synchronously during the 1st render by hooks called after `useGridColumns`
  // As a consequence, the state generated by the 1st run of this useEffect will always be equal to the initialization one

  const isFirstRender = react__WEBPACK_IMPORTED_MODULE_1__.useRef(true);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (isFirstRender.current) {
      isFirstRender.current = false;
      return;
    }

    logger.info(`GridColumns have changed, new length ${props.columns.length}`);

    if (previousColumnsProp.current === props.columns && previousColumnTypesProp.current === columnTypes) {
      return;
    }

    const columnsState = (0,_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_8__.createColumnsState)({
      apiRef,
      columnTypes,
      initialState: undefined,
      // If the user provides a model, we don't want to set it in the state here because it has it's dedicated `useEffect` which calls `setColumnVisibilityModel`
      shouldRegenColumnVisibilityModelFromColumns: !apiRef.current.unstable_caches.columns.isUsingColumnVisibilityModel,
      columnsToUpsert: props.columns,
      keepOnlyColumnsToUpsert: true
    });
    previousColumnsProp.current = props.columns;
    previousColumnTypesProp.current = columnTypes;
    setGridColumnsState(columnsState);
  }, [logger, apiRef, setGridColumnsState, props.columns, columnTypes]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (props.columnVisibilityModel !== undefined) {
      apiRef.current.setColumnVisibilityModel(props.columnVisibilityModel);
    }
  }, [apiRef, logger, props.columnVisibilityModel]);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridDensityFactorSelector: () => (/* binding */ gridDensityFactorSelector),
/* harmony export */   gridDensityHeaderGroupingMaxDepthSelector: () => (/* binding */ gridDensityHeaderGroupingMaxDepthSelector),
/* harmony export */   gridDensityHeaderHeightSelector: () => (/* binding */ gridDensityHeaderHeightSelector),
/* harmony export */   gridDensityRowHeightSelector: () => (/* binding */ gridDensityRowHeightSelector),
/* harmony export */   gridDensitySelector: () => (/* binding */ gridDensitySelector),
/* harmony export */   gridDensityTotalHeaderHeightSelector: () => (/* binding */ gridDensityTotalHeaderHeightSelector),
/* harmony export */   gridDensityValueSelector: () => (/* binding */ gridDensityValueSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");

const gridDensitySelector = state => state.density;
const gridDensityValueSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridDensitySelector, density => density.value);
const gridDensityRowHeightSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridDensitySelector, density => density.rowHeight);
const gridDensityHeaderHeightSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridDensitySelector, density => density.headerHeight);
const gridDensityHeaderGroupingMaxDepthSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridDensitySelector, density => density.headerGroupingMaxDepth);
const gridDensityFactorSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridDensitySelector, density => density.factor);
const gridDensityTotalHeaderHeightSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridDensitySelector, density => density.headerHeight * (1 + density.headerGroupingMaxDepth));

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/useGridDensity.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/useGridDensity.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   COMFORTABLE_DENSITY_FACTOR: () => (/* binding */ COMFORTABLE_DENSITY_FACTOR),
/* harmony export */   COMPACT_DENSITY_FACTOR: () => (/* binding */ COMPACT_DENSITY_FACTOR),
/* harmony export */   densityStateInitializer: () => (/* binding */ densityStateInitializer),
/* harmony export */   useGridDensity: () => (/* binding */ useGridDensity)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _models_gridDensity__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../models/gridDensity */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridDensity.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _densitySelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _columns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../columns */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _columnGrouping_useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../columnGrouping/useGridColumnGrouping */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columnGrouping/useGridColumnGrouping.js");










const COMPACT_DENSITY_FACTOR = 0.7;
const COMFORTABLE_DENSITY_FACTOR = 1.3; // TODO v6: revise keeping headerHeight and rowHeight in state

const getUpdatedDensityState = (newDensity, newHeaderHeight, newRowHeight, newMaxDepth) => {
  switch (newDensity) {
    case _models_gridDensity__WEBPACK_IMPORTED_MODULE_2__.GridDensityTypes.Compact:
      return {
        value: newDensity,
        headerHeight: Math.floor(newHeaderHeight * COMPACT_DENSITY_FACTOR),
        rowHeight: Math.floor(newRowHeight * COMPACT_DENSITY_FACTOR),
        headerGroupingMaxDepth: newMaxDepth,
        factor: COMPACT_DENSITY_FACTOR
      };

    case _models_gridDensity__WEBPACK_IMPORTED_MODULE_2__.GridDensityTypes.Comfortable:
      return {
        value: newDensity,
        headerHeight: Math.floor(newHeaderHeight * COMFORTABLE_DENSITY_FACTOR),
        rowHeight: Math.floor(newRowHeight * COMFORTABLE_DENSITY_FACTOR),
        headerGroupingMaxDepth: newMaxDepth,
        factor: COMFORTABLE_DENSITY_FACTOR
      };

    default:
      return {
        value: newDensity,
        headerHeight: newHeaderHeight,
        rowHeight: newRowHeight,
        headerGroupingMaxDepth: newMaxDepth,
        factor: 1
      };
  }
};

const densityStateInitializer = (state, props) => {
  // TODO: think about improving this initialization. Could it be done in the useColumn initializer?
  // TODO: manage to remove ts-ignore
  let maxDepth;

  if (props.columnGroupingModel == null || Object.keys(props.columnGroupingModel).length === 0) {
    maxDepth = 0;
  } else {
    const unwrappedGroupingColumnModel = (0,_columnGrouping_useGridColumnGrouping__WEBPACK_IMPORTED_MODULE_9__.unwrapGroupingColumnModel)(props.columnGroupingModel);
    const columnsState = state.columns;
    const visibleColumns = columnsState.all.filter(field => columnsState.columnVisibilityModel[field] !== false);

    if (visibleColumns.length === 0) {
      maxDepth = 0;
    } else {
      maxDepth = Math.max(...visibleColumns.map(field => {
        var _unwrappedGroupingCol, _unwrappedGroupingCol2;

        return (_unwrappedGroupingCol = (_unwrappedGroupingCol2 = unwrappedGroupingColumnModel[field]) == null ? void 0 : _unwrappedGroupingCol2.length) != null ? _unwrappedGroupingCol : 0;
      }));
    }
  }

  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    density: getUpdatedDensityState(props.density, props.headerHeight, props.rowHeight, maxDepth)
  });
};
const useGridDensity = (apiRef, props) => {
  const visibleColumns = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_7__.useGridSelector)(apiRef, _columns__WEBPACK_IMPORTED_MODULE_8__.gridVisibleColumnDefinitionsSelector);
  const maxDepth = visibleColumns.length > 0 ? Math.max(...visibleColumns.map(column => {
    var _column$groupPath$len, _column$groupPath;

    return (_column$groupPath$len = (_column$groupPath = column.groupPath) == null ? void 0 : _column$groupPath.length) != null ? _column$groupPath$len : 0;
  })) : 0;
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__.useGridLogger)(apiRef, 'useDensity');
  const setDensity = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((newDensity, newHeaderHeight = props.headerHeight, newRowHeight = props.rowHeight, newMaxDepth = maxDepth) => {
    logger.debug(`Set grid density to ${newDensity}`);
    apiRef.current.setState(state => {
      const currentDensityState = (0,_densitySelector__WEBPACK_IMPORTED_MODULE_5__.gridDensitySelector)(state);
      const newDensityState = getUpdatedDensityState(newDensity, newHeaderHeight, newRowHeight, newMaxDepth);

      if ((0,_utils_utils__WEBPACK_IMPORTED_MODULE_6__.isDeepEqual)(currentDensityState, newDensityState)) {
        return state;
      }

      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        density: newDensityState
      });
    });
    apiRef.current.forceUpdate();
  }, [logger, apiRef, props.headerHeight, props.rowHeight, maxDepth]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    apiRef.current.setDensity(props.density, props.headerHeight, props.rowHeight, maxDepth);
  }, [apiRef, props.density, props.rowHeight, props.headerHeight, maxDepth]);
  const densityApi = {
    setDensity
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_4__.useGridApiMethod)(apiRef, densityApi, 'GridDensityApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/dimensions/useGridDimensions.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/dimensions/useGridDimensions.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridDimensions: () => (/* binding */ useGridDimensions)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _columns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../columns */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _density__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../density */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../rows/gridRowsMetaSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsMetaSelector.js");
/* harmony import */ var _rows_gridRowsUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../rows/gridRowsUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsUtils.js");











const isTestEnvironment = "development" === 'test';

const hasScroll = ({
  content,
  container,
  scrollBarSize
}) => {
  const hasScrollXIfNoYScrollBar = content.width > container.width;
  const hasScrollYIfNoXScrollBar = content.height > container.height;
  let hasScrollX = false;
  let hasScrollY = false;

  if (hasScrollXIfNoYScrollBar || hasScrollYIfNoXScrollBar) {
    hasScrollX = hasScrollXIfNoYScrollBar;
    hasScrollY = content.height + (hasScrollX ? scrollBarSize : 0) > container.height; // We recalculate the scroll x to consider the size of the y scrollbar.

    if (hasScrollY) {
      hasScrollX = content.width + scrollBarSize > container.width;
    }
  }

  return {
    hasScrollX,
    hasScrollY
  };
};

function useGridDimensions(apiRef, props) {
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_6__.useGridLogger)(apiRef, 'useResizeContainer');
  const errorShown = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const rootDimensionsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const fullDimensionsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const rowsMeta = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.useGridSelector)(apiRef, _rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_11__.gridRowsMetaSelector);
  const totalHeaderHeight = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.useGridSelector)(apiRef, _density__WEBPACK_IMPORTED_MODULE_8__.gridDensityTotalHeaderHeightSelector);
  const updateGridDimensionsRef = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    var _apiRef$current$rootE;

    const rootElement = (_apiRef$current$rootE = apiRef.current.rootElementRef) == null ? void 0 : _apiRef$current$rootE.current;
    const columnsTotalWidth = (0,_columns__WEBPACK_IMPORTED_MODULE_7__.gridColumnsTotalWidthSelector)(apiRef);
    const pinnedRowsHeight = (0,_rows_gridRowsUtils__WEBPACK_IMPORTED_MODULE_12__.calculatePinnedRowsHeight)(apiRef);

    if (!rootDimensionsRef.current) {
      return;
    }

    let scrollBarSize;

    if (props.scrollbarSize != null) {
      scrollBarSize = props.scrollbarSize;
    } else if (!columnsTotalWidth || !rootElement) {
      scrollBarSize = 0;
    } else {
      const doc = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(rootElement);
      const scrollDiv = doc.createElement('div');
      scrollDiv.style.width = '99px';
      scrollDiv.style.height = '99px';
      scrollDiv.style.position = 'absolute';
      scrollDiv.style.overflow = 'scroll';
      scrollDiv.className = 'scrollDiv';
      rootElement.appendChild(scrollDiv);
      scrollBarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;
      rootElement.removeChild(scrollDiv);
    }

    let viewportOuterSize;
    let hasScrollX;
    let hasScrollY;

    if (props.autoHeight) {
      hasScrollY = false;
      hasScrollX = Math.round(columnsTotalWidth) > rootDimensionsRef.current.width;
      viewportOuterSize = {
        width: rootDimensionsRef.current.width,
        height: rowsMeta.currentPageTotalHeight + (hasScrollX ? scrollBarSize : 0)
      };
    } else {
      viewportOuterSize = {
        width: rootDimensionsRef.current.width,
        height: rootDimensionsRef.current.height - totalHeaderHeight
      };
      const scrollInformation = hasScroll({
        content: {
          width: Math.round(columnsTotalWidth),
          height: rowsMeta.currentPageTotalHeight
        },
        container: {
          width: viewportOuterSize.width,
          height: viewportOuterSize.height - pinnedRowsHeight.top - pinnedRowsHeight.bottom
        },
        scrollBarSize
      });
      hasScrollY = scrollInformation.hasScrollY;
      hasScrollX = scrollInformation.hasScrollX;
    }

    const viewportInnerSize = {
      width: viewportOuterSize.width - (hasScrollY ? scrollBarSize : 0),
      height: viewportOuterSize.height - (hasScrollX ? scrollBarSize : 0)
    };
    const newFullDimensions = {
      viewportOuterSize,
      viewportInnerSize,
      hasScrollX,
      hasScrollY,
      scrollBarSize
    };
    const prevDimensions = fullDimensionsRef.current;
    fullDimensionsRef.current = newFullDimensions;

    if (newFullDimensions.viewportInnerSize.width !== (prevDimensions == null ? void 0 : prevDimensions.viewportInnerSize.width) || newFullDimensions.viewportInnerSize.height !== (prevDimensions == null ? void 0 : prevDimensions.viewportInnerSize.height)) {
      apiRef.current.publishEvent('viewportInnerSizeChange', newFullDimensions.viewportInnerSize);
    }
  }, [apiRef, props.scrollbarSize, props.autoHeight, totalHeaderHeight, rowsMeta.currentPageTotalHeight]);
  const resize = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    updateGridDimensionsRef();
    apiRef.current.publishEvent('debouncedResize', rootDimensionsRef.current);
  }, [apiRef, updateGridDimensionsRef]);
  const getRootDimensions = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => fullDimensionsRef.current, []);
  const getViewportPageSize = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    const dimensions = apiRef.current.getRootDimensions();

    if (!dimensions) {
      return 0;
    }

    const currentPage = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_10__.getVisibleRows)(apiRef, {
      pagination: props.pagination,
      paginationMode: props.paginationMode
    }); // TODO: Use a combination of scrollTop, dimensions.viewportInnerSize.height and rowsMeta.possitions
    // to find out the maximum number of rows that can fit in the visible part of the grid

    if (props.getRowHeight) {
      const renderContext = apiRef.current.unstable_getRenderContext();
      const viewportPageSize = renderContext.lastRowIndex - renderContext.firstRowIndex;
      return Math.min(viewportPageSize - 1, currentPage.rows.length);
    }

    const maximumPageSizeWithoutScrollBar = Math.floor(dimensions.viewportInnerSize.height / (0,_density__WEBPACK_IMPORTED_MODULE_8__.gridDensityRowHeightSelector)(apiRef));
    return Math.min(maximumPageSizeWithoutScrollBar, currentPage.rows.length);
  }, [apiRef, props.pagination, props.paginationMode, props.getRowHeight]);
  const dimensionsApi = {
    resize,
    getRootDimensions,
    unstable_getViewportPageSize: getViewportPageSize,
    unstable_updateGridDimensionsRef: updateGridDimensionsRef
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_5__.useGridApiMethod)(apiRef, dimensionsApi, 'GridDimensionsApi');
  const debounceResize = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])(resize, 60), [resize]);
  const isFirstSizing = react__WEBPACK_IMPORTED_MODULE_0__.useRef(true);
  const handleResize = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(size => {
    rootDimensionsRef.current = size; // jsdom has no layout capabilities

    const isJSDOM = /jsdom/.test(window.navigator.userAgent);

    if (size.height === 0 && !errorShown.current && !props.autoHeight && !isJSDOM) {
      logger.error(['The parent DOM element of the data grid has an empty height.', 'Please make sure that this element has an intrinsic height.', 'The grid displays with a height of 0px.', '', 'More details: https://mui.com/r/x-data-grid-no-dimensions.'].join('\n'));
      errorShown.current = true;
    }

    if (size.width === 0 && !errorShown.current && !isJSDOM) {
      logger.error(['The parent DOM element of the data grid has an empty width.', 'Please make sure that this element has an intrinsic width.', 'The grid displays with a width of 0px.', '', 'More details: https://mui.com/r/x-data-grid-no-dimensions.'].join('\n'));
      errorShown.current = true;
    }

    if (isTestEnvironment) {
      // We don't need to debounce the resize for tests.
      resize();
      isFirstSizing.current = false;
      return;
    }

    if (isFirstSizing.current) {
      // We want to initialize the grid dimensions as soon as possible to avoid flickering
      resize();
      isFirstSizing.current = false;
      return;
    }

    debounceResize();
  }, [props.autoHeight, debounceResize, logger, resize]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_3__["default"])(() => updateGridDimensionsRef(), [updateGridDimensionsRef]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiOptionHandler)(apiRef, 'sortedRowsSet', updateGridDimensionsRef);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiOptionHandler)(apiRef, 'pageChange', updateGridDimensionsRef);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiOptionHandler)(apiRef, 'pageSizeChange', updateGridDimensionsRef);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiOptionHandler)(apiRef, 'columnsChange', updateGridDimensionsRef);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiEventHandler)(apiRef, 'resize', handleResize);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiOptionHandler)(apiRef, 'debouncedResize', props.onResize);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridEditRowsStateSelector: () => (/* binding */ gridEditRowsStateSelector)
/* harmony export */ });
// TODO v6: rename to gridEditingStateSelector
const gridEditRowsStateSelector = state => state.editRows;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridCellEditing.new.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridCellEditing.new.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridCellEditing: () => (/* binding */ useGridCellEditing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toPropertyKey */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./gridEditRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../models/params/gridEditCellParams */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/params/gridEditCellParams.js");



const _excluded = ["id", "field"],
      _excluded2 = ["id", "field"];











const missingOnProcessRowUpdateErrorWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_10__.buildWarning)(['MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see http://mui.com/components/data-grid/editing/#persistence.'], 'error');
const useGridCellEditing = (apiRef, props) => {
  const [cellModesModel, setCellModesModel] = react__WEBPACK_IMPORTED_MODULE_3__.useState({});
  const cellModesModelRef = react__WEBPACK_IMPORTED_MODULE_3__.useRef(cellModesModel);
  const prevCellModesModel = react__WEBPACK_IMPORTED_MODULE_3__.useRef({});
  const {
    processRowUpdate,
    onProcessRowUpdateError,
    cellModesModel: cellModesModelProp,
    onCellModesModelChange,
    signature
  } = props;

  const runIfEditModeIsCell = callback => (...args) => {
    if (props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridEditModes.Cell) {
      callback(...args);
    }
  };

  const throwIfNotEditable = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field) => {
    const params = apiRef.current.getCellParams(id, field);

    if (!apiRef.current.isCellEditable(params)) {
      throw new Error(`MUI: The cell with id=${id} and field=${field} is not editable.`);
    }
  }, [apiRef]);
  const throwIfNotInMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field, mode) => {
    if (apiRef.current.getCellMode(id, field) !== mode) {
      throw new Error(`MUI: The cell with id=${id} and field=${field} is not in ${mode} mode.`);
    }
  }, [apiRef]);
  const handleCellDoubleClick = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((params, event) => {
    if (!params.isEditable) {
      return;
    }

    if (params.cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit) {
      return;
    }

    const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, params, {
      reason: _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStartReasons.cellDoubleClick
    });

    apiRef.current.publishEvent('cellEditStart', newParams, event);
  }, [apiRef]);
  const handleCellFocusOut = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((params, event) => {
    if (params.cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View) {
      return;
    }

    if (apiRef.current.getCellMode(params.id, params.field) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View) {
      return;
    }

    const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, params, {
      reason: _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.cellFocusOut
    });

    apiRef.current.publishEvent('cellEditStop', newParams, event);
  }, [apiRef]);
  const handleCellKeyDown = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((params, event) => {
    if (params.cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit) {
      // Wait until IME is settled for Asian languages like Japanese and Chinese
      // TODO: `event.which` is depricated but this is a temporary workaround
      if (event.which === 229) {
        return;
      }

      let reason;

      if (event.key === 'Escape') {
        reason = _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.escapeKeyDown;
      } else if (event.key === 'Enter') {
        reason = _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.enterKeyDown;
      } else if (event.key === 'Tab') {
        reason = event.shiftKey ? _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.shiftTabKeyDown : _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.tabKeyDown;
        event.preventDefault(); // Prevent going to the next element in the tab sequence
      }

      if (reason) {
        const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, params, {
          reason
        });

        apiRef.current.publishEvent('cellEditStop', newParams, event);
      }
    } else if (params.isEditable) {
      let reason;

      if (event.key === ' ' && event.shiftKey) {
        return; // Shift + Space is used to select the row
      }

      if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_9__.isPrintableKey)(event)) {
        reason = _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStartReasons.printableKeyDown;
      } else if ((event.ctrlKey || event.metaKey) && event.key === 'v') {
        reason = _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStartReasons.printableKeyDown;
      } else if (event.key === 'Enter') {
        reason = _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStartReasons.enterKeyDown;
      } else if (event.key === 'Delete' || event.key === 'Backspace') {
        // Delete on Windows, Backspace on macOS
        reason = _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStartReasons.deleteKeyDown;
      }

      if (reason) {
        const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, params, {
          reason,
          key: event.key
        });

        apiRef.current.publishEvent('cellEditStart', newParams, event);
      }
    }
  }, [apiRef]);
  const handleCellEditStart = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id,
      field,
      reason,
      key
    } = params;
    const startCellEditModeParams = {
      id,
      field
    };

    if (reason === _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStartReasons.printableKeyDown) {
      if (react__WEBPACK_IMPORTED_MODULE_3__.version.startsWith('18')) {
        startCellEditModeParams.initialValue = key; // In React 17, cleaning the input is enough
      } else {
        startCellEditModeParams.deleteValue = true;
      }
    } else if (reason === _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStartReasons.deleteKeyDown) {
      startCellEditModeParams.deleteValue = true;
    }

    apiRef.current.startCellEditMode(startCellEditModeParams);
  }, [apiRef]);
  const handleCellEditStop = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id,
      field,
      reason
    } = params;
    apiRef.current.unstable_runPendingEditCellValueMutation(id, field);
    let cellToFocusAfter;

    if (reason === _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.enterKeyDown) {
      cellToFocusAfter = 'below';
    } else if (reason === _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.tabKeyDown) {
      cellToFocusAfter = 'right';
    } else if (reason === _models_params_gridEditCellParams__WEBPACK_IMPORTED_MODULE_13__.GridCellEditStopReasons.shiftTabKeyDown) {
      cellToFocusAfter = 'left';
    }

    let ignoreModifications = reason === 'escapeKeyDown';
    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);

    if (editingState[id][field].isProcessingProps && !props.disableIgnoreModificationsIfProcessingProps) {
      // The user wants to stop editing the cell but we can't wait for the props to be processed.
      // In this case, discard the modifications.
      ignoreModifications = true;
    }

    apiRef.current.stopCellEditMode({
      id,
      field,
      ignoreModifications,
      cellToFocusAfter
    });
  }, [apiRef, props.disableIgnoreModificationsIfProcessingProps]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellDoubleClick', runIfEditModeIsCell(handleCellDoubleClick));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellFocusOut', runIfEditModeIsCell(handleCellFocusOut));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellKeyDown', runIfEditModeIsCell(handleCellKeyDown));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellEditStart', runIfEditModeIsCell(handleCellEditStart));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellEditStop', runIfEditModeIsCell(handleCellEditStop));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiOptionHandler)(apiRef, 'cellEditStart', props.onCellEditStart);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiOptionHandler)(apiRef, 'cellEditStop', props.onCellEditStop);
  const getCellMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field) => {
    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    const isEditing = editingState[id] && editingState[id][field];
    return isEditing ? _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit : _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View;
  }, [apiRef]);
  const updateCellModesModel = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(newModel => {
    const isNewModelDifferentFromProp = newModel !== props.cellModesModel;

    if (onCellModesModelChange && isNewModelDifferentFromProp) {
      const details = signature === _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.GridSignature.DataGridPro ? {
        api: apiRef.current
      } : {};
      onCellModesModelChange(newModel, details);
    }

    if (props.cellModesModel && isNewModelDifferentFromProp) {
      return; // The prop always win
    }

    setCellModesModel(newModel);
    cellModesModelRef.current = newModel;
    apiRef.current.publishEvent('cellModesModelChange', newModel);
  });
  const updateFieldInCellModesModel = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field, newProps) => {
    // We use the ref because it always contain the up-to-date value, different from the state
    // that needs a rerender to reflect the new value
    const newModel = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, cellModesModelRef.current);

    if (newProps !== null) {
      newModel[id] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newModel[id], {
        [field]: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newProps)
      });
    } else {
      const _newModel$id = newModel[id],
            otherFields = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_newModel$id, [field].map(_babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_1__["default"])); // Ensure that we have a new object, not a reference


      newModel[id] = otherFields;

      if (Object.keys(newModel[id]).length === 0) {
        delete newModel[id];
      }
    }

    updateCellModesModel(newModel);
  }, [updateCellModesModel]);
  const updateOrDeleteFieldState = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field, newProps) => {
    apiRef.current.setState(state => {
      const newEditingState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state.editRows);

      if (newProps !== null) {
        newEditingState[id] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newEditingState[id], {
          [field]: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newProps)
        });
      } else {
        delete newEditingState[id][field];

        if (Object.keys(newEditingState[id]).length === 0) {
          delete newEditingState[id];
        }
      }

      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state, {
        editRows: newEditingState
      });
    });
    apiRef.current.forceUpdate();
  }, [apiRef]);
  const startCellEditMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id,
      field
    } = params,
          other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(params, _excluded);

    throwIfNotEditable(id, field);
    throwIfNotInMode(id, field, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View);
    updateFieldInCellModesModel(id, field, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
      mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit
    }, other));
  }, [throwIfNotEditable, throwIfNotInMode, updateFieldInCellModesModel]);
  const updateStateToStartCellEditMode = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(params => {
    const {
      id,
      field,
      deleteValue,
      initialValue
    } = params;
    let newValue = apiRef.current.getCellValue(id, field);

    if (deleteValue || initialValue) {
      newValue = deleteValue ? '' : initialValue;
    }

    const newProps = {
      value: newValue,
      error: false,
      isProcessingProps: false
    };
    updateOrDeleteFieldState(id, field, newProps);
    apiRef.current.setCellFocus(id, field);
  });
  const stopCellEditMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id,
      field
    } = params,
          other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(params, _excluded2);

    throwIfNotInMode(id, field, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit);
    updateFieldInCellModesModel(id, field, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
      mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View
    }, other));
  }, [throwIfNotInMode, updateFieldInCellModesModel]);
  const updateStateToStopCellEditMode = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(async params => {
    const {
      id,
      field,
      ignoreModifications,
      cellToFocusAfter = 'none'
    } = params;
    throwIfNotInMode(id, field, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit);
    apiRef.current.unstable_runPendingEditCellValueMutation(id, field);

    const finishCellEditMode = () => {
      updateOrDeleteFieldState(id, field, null);
      updateFieldInCellModesModel(id, field, null);

      if (cellToFocusAfter !== 'none') {
        apiRef.current.unstable_moveFocusToRelativeCell(id, field, cellToFocusAfter);
      }
    };

    if (ignoreModifications) {
      finishCellEditMode();
      return;
    }

    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    const {
      error,
      isProcessingProps
    } = editingState[id][field];

    if (error || isProcessingProps) {
      // Attempt to change cell mode to "view" was not successful
      // Update previous mode to allow another attempt
      prevCellModesModel.current[id][field].mode = _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit; // Revert the mode in the cellModesModel prop back to "edit"

      updateFieldInCellModesModel(id, field, {
        mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit
      });
      return;
    }

    const rowUpdate = apiRef.current.unstable_getRowWithUpdatedValuesFromCellEditing(id, field);

    if (processRowUpdate) {
      const handleError = errorThrown => {
        prevCellModesModel.current[id][field].mode = _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit; // Revert the mode in the cellModesModel prop back to "edit"

        updateFieldInCellModesModel(id, field, {
          mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit
        });

        if (onProcessRowUpdateError) {
          onProcessRowUpdateError(errorThrown);
        } else {
          missingOnProcessRowUpdateErrorWarning();
        }
      };

      try {
        const row = apiRef.current.getRow(id);
        Promise.resolve(processRowUpdate(rowUpdate, row)).then(finalRowUpdate => {
          apiRef.current.updateRows([finalRowUpdate]);
          finishCellEditMode();
        }).catch(handleError);
      } catch (errorThrown) {
        handleError(errorThrown);
      }
    } else {
      apiRef.current.updateRows([rowUpdate]);
      finishCellEditMode();
    }
  });
  const setCellEditingEditCellValue = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(async params => {
    var _editingState$id, _editingState$id$fiel;

    const {
      id,
      field,
      value,
      debounceMs,
      unstable_skipValueParser: skipValueParser
    } = params;
    throwIfNotEditable(id, field);
    throwIfNotInMode(id, field, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit);
    const column = apiRef.current.getColumn(field);
    const row = apiRef.current.getRow(id);
    let parsedValue = value;

    if (column.valueParser && !skipValueParser) {
      parsedValue = column.valueParser(value, apiRef.current.getCellParams(id, field));
    }

    let editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);

    let newProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, editingState[id][field], {
      value: parsedValue,
      changeReason: debounceMs ? 'debouncedSetEditCellValue' : 'setEditCellValue'
    });

    if (column.preProcessEditCellProps) {
      const hasChanged = value !== editingState[id][field].value;
      newProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newProps, {
        isProcessingProps: true
      });
      updateOrDeleteFieldState(id, field, newProps);
      newProps = await Promise.resolve(column.preProcessEditCellProps({
        id,
        row,
        props: newProps,
        hasChanged
      }));
    } // Check again if the cell is in edit mode because the user may have
    // discarded the changes while the props were being processed.


    if (apiRef.current.getCellMode(id, field) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View) {
      return false;
    }

    editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    newProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newProps, {
      isProcessingProps: false
    }); // We don't update the value with the one coming from the props pre-processing
    // because when the promise resolves it may be already outdated. The only
    // exception to this rule is when there's no pre-processing.

    newProps.value = column.preProcessEditCellProps ? editingState[id][field].value : parsedValue;
    updateOrDeleteFieldState(id, field, newProps);
    editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    return !((_editingState$id = editingState[id]) != null && (_editingState$id$fiel = _editingState$id[field]) != null && _editingState$id$fiel.error);
  }, [apiRef, throwIfNotEditable, throwIfNotInMode, updateOrDeleteFieldState]);
  const getRowWithUpdatedValuesFromCellEditing = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field) => {
    const column = apiRef.current.getColumn(field);
    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    const {
      value
    } = editingState[id][field];
    const row = apiRef.current.getRow(id);
    return column.valueSetter ? column.valueSetter({
      value,
      row
    }) : (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, row, {
      [field]: value
    });
  }, [apiRef]);
  const editingApi = {
    getCellMode,
    startCellEditMode,
    stopCellEditMode,
    unstable_setCellEditingEditCellValue: setCellEditingEditCellValue,
    unstable_getRowWithUpdatedValuesFromCellEditing: getRowWithUpdatedValuesFromCellEditing
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_7__.useGridApiMethod)(apiRef, editingApi, 'EditingApi');
  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(() => {
    if (cellModesModelProp) {
      updateCellModesModel(cellModesModelProp);
    }
  }, [cellModesModelProp, updateCellModesModel]);
  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(() => {
    const idToIdLookup = (0,_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_11__.gridRowsIdToIdLookupSelector)(apiRef); // Update the ref here because updateStateToStopCellEditMode may change it later

    const copyOfPrevCellModes = prevCellModesModel.current;
    prevCellModesModel.current = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_12__.deepClone)(cellModesModel); // Do a deep-clone because the attributes might be changed later

    Object.entries(cellModesModel).forEach(([id, fields]) => {
      Object.entries(fields).forEach(([field, params]) => {
        var _copyOfPrevCellModes$, _copyOfPrevCellModes$2, _idToIdLookup$id;

        const prevMode = ((_copyOfPrevCellModes$ = copyOfPrevCellModes[id]) == null ? void 0 : (_copyOfPrevCellModes$2 = _copyOfPrevCellModes$[field]) == null ? void 0 : _copyOfPrevCellModes$2.mode) || _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View;
        const originalId = (_idToIdLookup$id = idToIdLookup[id]) != null ? _idToIdLookup$id : id;

        if (params.mode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit && prevMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View) {
          updateStateToStartCellEditMode((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
            id: originalId,
            field
          }, params));
        } else if (params.mode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.View && prevMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridCellModes.Edit) {
          updateStateToStopCellEditMode((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
            id: originalId,
            field
          }, params));
        }
      });
    });
  }, [apiRef, cellModesModel, updateStateToStartCellEditMode, updateStateToStopCellEditMode]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridCellEditing.old.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridCellEditing.old.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useCellEditing: () => (/* binding */ useCellEditing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../focus/gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./gridEditRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js");











function isPromise(promise) {
  return typeof promise.then === 'function';
}

const useCellEditing = (apiRef, props) => {
  var _props$experimentalFe2;

  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_6__.useGridLogger)(apiRef, 'useGridEditRows');

  const buildCallback = callback => (...args) => {
    if (props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridEditModes.Cell) {
      callback(...args);
    }
  };

  const setCellMode = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field, mode) => {
    if (apiRef.current.getCellMode(id, field) === mode) {
      return;
    }

    logger.debug(`Switching cell id: ${id} field: ${field} to mode: ${mode}`);
    apiRef.current.setState(state => {
      const newEditRowsState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.editRows);

      newEditRowsState[id] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, newEditRowsState[id]);

      if (mode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.Edit) {
        newEditRowsState[id][field] = {
          value: apiRef.current.getCellValue(id, field)
        };
      } else {
        delete newEditRowsState[id][field];

        if (!Object.keys(newEditRowsState[id]).length) {
          delete newEditRowsState[id];
        }
      }

      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        editRows: newEditRowsState
      });
    });
    apiRef.current.forceUpdate();
    apiRef.current.publishEvent('cellModeChange', apiRef.current.getCellParams(id, field));
  }, [apiRef, logger]);
  const getCellMode = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field) => {
    const editRowsState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_9__.gridEditRowsStateSelector)(apiRef.current.state);
    const isEditing = editRowsState[id] && editRowsState[id][field];
    return isEditing ? _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.Edit : _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.View;
  }, [apiRef]); // TODO v6: it should always return a promise

  const commitCellChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event = {}) => {
    var _props$experimentalFe;

    const {
      id,
      field
    } = params;
    apiRef.current.unstable_runPendingEditCellValueMutation(id, field);
    const model = apiRef.current.getEditRowsModel();

    if (!model[id] || !model[id][field]) {
      throw new Error(`MUI: Cell at id: ${id} and field: ${field} is not in edit mode.`);
    }

    const editCellProps = model[id][field];
    const column = apiRef.current.getColumn(field);
    const row = apiRef.current.getRow(id);

    if ((_props$experimentalFe = props.experimentalFeatures) != null && _props$experimentalFe.preventCommitWhileValidating) {
      const cellProps = model[id][field];

      if (cellProps.isValidating || cellProps.error) {
        return false;
      }
    }

    const commitParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
      value: editCellProps.value
    });

    let hasError = !!editCellProps.error;

    if (!hasError && typeof column.preProcessEditCellProps === 'function') {
      const result = column.preProcessEditCellProps({
        id,
        row,
        props: editCellProps
      });

      if (isPromise(result)) {
        return result.then(newEditCellProps => {
          apiRef.current.unstable_setEditCellProps({
            id,
            field,
            props: newEditCellProps
          });

          if (newEditCellProps.error) {
            return false;
          }

          apiRef.current.publishEvent('cellEditCommit', commitParams, event);
          return true;
        });
      }

      apiRef.current.unstable_setEditCellProps({
        id,
        field,
        props: result
      });
      hasError = !!result.error;
    }

    if (!hasError) {
      apiRef.current.publishEvent('cellEditCommit', commitParams, event);
      return true;
    }

    return false;
  }, [apiRef, (_props$experimentalFe2 = props.experimentalFeatures) == null ? void 0 : _props$experimentalFe2.preventCommitWhileValidating]);
  const setCellEditingEditCellValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const column = apiRef.current.getColumn(params.field);
    const row = apiRef.current.getRow(params.id);
    return new Promise(resolve => {
      let newEditCellProps = {
        value: params.value
      };
      const model = apiRef.current.getEditRowsModel();
      const editCellProps = model[params.id][params.field];

      if (typeof column.preProcessEditCellProps !== 'function') {
        apiRef.current.unstable_setEditCellProps((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
          props: newEditCellProps
        }));
        resolve(true);
        return;
      } // setEditCellProps runs the value parser and returns the updated props


      newEditCellProps = apiRef.current.unstable_setEditCellProps((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
        props: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, editCellProps, {
          isValidating: true
        })
      }));
      Promise.resolve(column.preProcessEditCellProps({
        id: params.id,
        row,
        props: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, newEditCellProps, {
          value: apiRef.current.unstable_parseValue(params.id, params.field, params.value)
        })
      })).then(newEditCellPropsProcessed => {
        apiRef.current.unstable_setEditCellProps((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
          props: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, newEditCellPropsProcessed, {
            isValidating: false
          })
        }));
        resolve(!newEditCellPropsProcessed.error);
      });
    });
  }, [apiRef]);
  const cellEditingApi = {
    setCellMode,
    getCellMode,
    commitCellChange,
    unstable_setCellEditingEditCellValue: setCellEditingEditCellValue
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_8__.useGridApiMethod)(apiRef, cellEditingApi, 'EditRowApi');
  const handleCellKeyDown = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(async (params, event) => {
    // Wait until IME is settled for Asian languages like Japanese and Chinese
    // TODO: `event.which` is depricated but this is a temporary workaround
    if (event.which === 229) {
      return;
    }

    const {
      id,
      field,
      cellMode,
      isEditable
    } = params;

    if (!isEditable) {
      return;
    }

    const isEditMode = cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.Edit;
    const isModifierKeyPressed = event.ctrlKey || event.metaKey || event.altKey;

    if (!isEditMode && (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isCellEnterEditModeKeys)(event) && !isModifierKeyPressed && !(event.key === ' ' && event.shiftKey)) {
      apiRef.current.publishEvent('cellEditStart', params, event);
    }

    if (!isEditMode && (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isDeleteKeys)(event.key)) {
      apiRef.current.setEditCellValue({
        id,
        field,
        value: ''
      });
      apiRef.current.commitCellChange({
        id,
        field
      }, event);
      apiRef.current.publishEvent('cellEditStop', params, event);
    }

    if (isEditMode && (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isCellEditCommitKeys)(event.key)) {
      const commitParams = {
        id,
        field
      };
      const isValid = await apiRef.current.commitCellChange(commitParams, event);

      if (!isValid) {
        return;
      }
    }

    if (isEditMode && (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isCellExitEditModeKeys)(event.key)) {
      apiRef.current.publishEvent('cellEditStop', params, event);
    }
  }, [apiRef]);
  const handleCellDoubleClick = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    if (!params.isEditable) {
      return;
    }

    apiRef.current.publishEvent('cellEditStart', params, event);
  }, [apiRef]);

  const commitPropsAndExit = async (params, event) => {
    if (params.cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.View) {
      return;
    }

    await apiRef.current.commitCellChange(params, event);
    apiRef.current.publishEvent('cellEditStop', params, event);
  };

  const handleCellFocusOut = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])((params, event) => {
    commitPropsAndExit(params, event);
  });
  const handleColumnHeaderDragStart = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(() => {
    const cell = (0,_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__.gridFocusCellSelector)(apiRef);

    if (!cell) {
      return;
    }

    const params = apiRef.current.getCellParams(cell.id, cell.field);
    commitPropsAndExit(params, {});
  });
  const handleCellEditStart = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    if (!params.isEditable) {
      return;
    }

    apiRef.current.setCellMode(params.id, params.field, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.Edit);

    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isKeyboardEvent)(event) && (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isPrintableKey)(event)) {
      apiRef.current.unstable_setEditCellProps({
        id: params.id,
        field: params.field,
        props: {
          value: ''
        }
      });
    }
  }, [apiRef]);
  const handleCellEditStop = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    apiRef.current.setCellMode(params.id, params.field, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.View);

    if (!(0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isKeyboardEvent)(event)) {
      return;
    }

    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isCellEditCommitKeys)(event.key)) {
      apiRef.current.publishEvent('cellNavigationKeyDown', params, event);
      return;
    }

    if (event.key === 'Escape' || (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_5__.isDeleteKeys)(event.key)) {
      apiRef.current.setCellFocus(params.id, params.field);
    }
  }, [apiRef]);
  const handleCellEditCommit = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const {
      id,
      field
    } = params;
    const model = apiRef.current.getEditRowsModel();
    const {
      value
    } = model[id][field];
    logger.debug(`Setting cell id: ${id} field: ${field} to value: ${value == null ? void 0 : value.toString()}`);
    const row = apiRef.current.getRow(id);

    if (row) {
      const column = apiRef.current.getColumn(params.field);

      let rowUpdate = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, row, {
        [field]: value
      });

      if (column.valueSetter) {
        rowUpdate = column.valueSetter({
          row,
          value
        });
      }

      apiRef.current.updateRows([rowUpdate]);
    }
  }, [apiRef, logger]);
  const handleEditCellPropsChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const row = apiRef.current.getRow(params.id);
    const column = apiRef.current.getColumn(params.field);
    const editCellProps = column.preProcessEditCellProps ? column.preProcessEditCellProps({
      id: params.id,
      row,
      props: params.props
    }) : params.props;

    if (isPromise(editCellProps)) {
      editCellProps.then(newEditCellProps => {
        apiRef.current.unstable_setEditCellProps((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
          props: newEditCellProps
        }));
      });
    } else {
      apiRef.current.unstable_setEditCellProps((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
        props: editCellProps
      }));
    }
  }, [apiRef]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellKeyDown', buildCallback(handleCellKeyDown));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellDoubleClick', buildCallback(handleCellDoubleClick));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellFocusOut', buildCallback(handleCellFocusOut));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'columnHeaderDragStart', buildCallback(handleColumnHeaderDragStart));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellEditStart', buildCallback(handleCellEditStart));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellEditStop', buildCallback(handleCellEditStop));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellEditCommit', buildCallback(handleCellEditCommit));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'editCellPropsChange', buildCallback(handleEditCellPropsChange));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiOptionHandler)(apiRef, 'cellEditCommit', props.onCellEditCommit);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiOptionHandler)(apiRef, 'cellEditStart', props.onCellEditStart);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiOptionHandler)(apiRef, 'cellEditStop', props.onCellEditStop);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridEditing.new.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridEditing.new.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   editingStateInitializer: () => (/* binding */ editingStateInitializer),
/* harmony export */   useGridEditing: () => (/* binding */ useGridEditing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _useGridCellEditing_new__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useGridCellEditing.new */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridCellEditing.new.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _useGridRowEditing_new__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./useGridRowEditing.new */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridRowEditing.new.js");
/* harmony import */ var _gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./gridEditRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js");







const editingStateInitializer = state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  editRows: {}
});
const useGridEditing = (apiRef, props) => {
  (0,_useGridCellEditing_new__WEBPACK_IMPORTED_MODULE_3__.useGridCellEditing)(apiRef, props);
  (0,_useGridRowEditing_new__WEBPACK_IMPORTED_MODULE_5__.useGridRowEditing)(apiRef, props);
  const debounceMap = react__WEBPACK_IMPORTED_MODULE_1__.useRef({});
  const {
    isCellEditable: isCellEditableProp
  } = props;
  const isCellEditable = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    if (params.rowNode.isAutoGenerated) {
      return false;
    }

    if (!params.colDef.editable) {
      return false;
    }

    if (!params.colDef.renderEditCell) {
      return false;
    }

    if (isCellEditableProp) {
      return isCellEditableProp(params);
    }

    if (params.rowNode.isPinned) {
      return false;
    }

    return true;
  }, [isCellEditableProp]);

  const maybeDebounce = (id, field, debounceMs, callback) => {
    if (!debounceMs) {
      callback();
      return;
    }

    if (!debounceMap.current[id]) {
      debounceMap.current[id] = {};
    }

    if (debounceMap.current[id][field]) {
      const [timeout] = debounceMap.current[id][field];
      clearTimeout(timeout);
    } // To run the callback immediatelly without waiting the timeout


    const runImmediately = () => {
      const [timeout] = debounceMap.current[id][field];
      clearTimeout(timeout);
      callback();
      delete debounceMap.current[id][field];
    };

    const timeout = setTimeout(() => {
      callback();
      delete debounceMap.current[id][field];
    }, debounceMs);
    debounceMap.current[id][field] = [timeout, runImmediately];
  };

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    const debounces = debounceMap.current;
    return () => {
      Object.entries(debounces).forEach(([id, fields]) => {
        Object.keys(fields).forEach(field => {
          const [timeout] = debounces[id][field];
          clearTimeout(timeout);
          delete debounces[id][field];
        });
      });
    };
  }, []);
  const runPendingEditCellValueMutation = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field) => {
    if (!debounceMap.current[id]) {
      return;
    }

    if (!field) {
      Object.keys(debounceMap.current[id]).forEach(debouncedField => {
        const [, runCallback] = debounceMap.current[id][debouncedField];
        runCallback();
      });
    } else if (debounceMap.current[id][field]) {
      const [, runCallback] = debounceMap.current[id][field];
      runCallback();
    }
  }, []);
  const setEditCellValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const {
      id,
      field,
      debounceMs
    } = params;
    return new Promise(resolve => {
      maybeDebounce(id, field, debounceMs, async () => {
        const setEditCellValueToCall = props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridEditModes.Row ? apiRef.current.unstable_setRowEditingEditCellValue : apiRef.current.unstable_setCellEditingEditCellValue; // Check if the cell is in edit mode
        // By the time this callback runs the user may have cancelled the editing

        if (apiRef.current.getCellMode(id, field) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.Edit) {
          const result = await setEditCellValueToCall(params);
          resolve(result);
        }
      });
    });
  }, [apiRef, props.editMode]);
  const getRowWithUpdatedValues = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field) => {
    return props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridEditModes.Cell ? apiRef.current.unstable_getRowWithUpdatedValuesFromCellEditing(id, field) : apiRef.current.unstable_getRowWithUpdatedValuesFromRowEditing(id);
  }, [apiRef, props.editMode]);
  const getEditCellMeta = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field) => {
    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_6__.gridEditRowsStateSelector)(apiRef.current.state);
    return {
      changeReason: editingState[id][field].changeReason
    };
  }, [apiRef]);
  const editingSharedApi = {
    isCellEditable,
    setEditCellValue,
    unstable_runPendingEditCellValueMutation: runPendingEditCellValueMutation,
    unstable_getRowWithUpdatedValues: getRowWithUpdatedValues,
    unstable_getEditCellMeta: getEditCellMeta
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__.useGridApiMethod)(apiRef, editingSharedApi, 'EditingApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridEditing.old.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridEditing.old.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   editingStateInitializer: () => (/* binding */ editingStateInitializer),
/* harmony export */   useGridEditing: () => (/* binding */ useGridEditing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./gridEditRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js");
/* harmony import */ var _useGridCellEditing_old__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./useGridCellEditing.old */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridCellEditing.old.js");
/* harmony import */ var _useGridRowEditing_old__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./useGridRowEditing.old */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridRowEditing.old.js");









const editingStateInitializer = state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  editRows: {}
});
/**
 * @requires useGridFocus - can be after, async only
 * @requires useGridParamsApi (method)
 * @requires useGridColumns (state)
 */

function useGridEditing(apiRef, props) {
  var _props$experimentalFe2;

  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_5__.useGridLogger)(apiRef, 'useGridEditRows');
  (0,_useGridCellEditing_old__WEBPACK_IMPORTED_MODULE_7__.useCellEditing)(apiRef, props);
  (0,_useGridRowEditing_old__WEBPACK_IMPORTED_MODULE_8__.useGridRowEditing)(apiRef, props);
  const debounceMap = react__WEBPACK_IMPORTED_MODULE_1__.useRef({});
  apiRef.current.unstable_registerControlState({
    stateId: 'editRows',
    propModel: props.editRowsModel,
    propOnChange: props.onEditRowsModelChange,
    stateSelector: _gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_6__.gridEditRowsStateSelector,
    changeEvent: 'editRowsModelChange'
  });
  const isCellEditable = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => !params.rowNode.isAutoGenerated && !params.rowNode.isPinned && !!params.colDef.editable && !!params.colDef.renderEditCell && (!props.isCellEditable || props.isCellEditable(params)), // eslint-disable-next-line react-hooks/exhaustive-deps
  [props.isCellEditable]);

  const maybeDebounce = (id, field, debounceMs, callback) => {
    if (!debounceMs) {
      callback();
      return;
    }

    if (!debounceMap.current[id]) {
      debounceMap.current[id] = {};
    }

    if (debounceMap.current[id][field]) {
      const [timeout] = debounceMap.current[id][field];
      clearTimeout(timeout);
    }

    const callbackToRunImmediately = () => {
      callback();
      const [timeout] = debounceMap.current[id][field];
      clearTimeout(timeout);
      delete debounceMap.current[id][field];
    };

    const timeout = setTimeout(() => {
      callback();
      delete debounceMap.current[id][field];
    }, debounceMs);
    debounceMap.current[id][field] = [timeout, callbackToRunImmediately];
  };

  const runPendingEditCellValueMutation = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field) => {
    if (!debounceMap.current[id]) {
      return;
    }

    if (!field) {
      Object.keys(debounceMap.current[id]).forEach(debouncedField => {
        const [, callback] = debounceMap.current[id][debouncedField];
        callback();
      });
    } else if (debounceMap.current[id][field]) {
      const [, callback] = debounceMap.current[id][field];
      callback();
    }
  }, []);
  const setEditCellValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event = {}) => {
    maybeDebounce(params.id, params.field, params.debounceMs, () => {
      var _props$experimentalFe;

      if ((_props$experimentalFe = props.experimentalFeatures) != null && _props$experimentalFe.preventCommitWhileValidating) {
        if (props.editMode === 'row') {
          return apiRef.current.unstable_setRowEditingEditCellValue(params);
        }

        return apiRef.current.unstable_setCellEditingEditCellValue(params);
      }

      const newParams = {
        id: params.id,
        field: params.field,
        props: {
          value: params.value
        }
      };
      return apiRef.current.publishEvent('editCellPropsChange', newParams, event);
    });
  }, [apiRef, props.editMode, (_props$experimentalFe2 = props.experimentalFeatures) == null ? void 0 : _props$experimentalFe2.preventCommitWhileValidating]);
  const parseValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field, value) => {
    const column = apiRef.current.getColumn(field);
    return column.valueParser ? column.valueParser(value, apiRef.current.getCellParams(id, field)) : value;
  }, [apiRef]);
  const setEditCellProps = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const {
      id,
      field,
      props: editProps
    } = params;
    logger.debug(`Setting cell props on id: ${id} field: ${field}`);
    apiRef.current.setState(state => {
      const editRowsModel = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.editRows);

      editRowsModel[id] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.editRows[id]);
      editRowsModel[id][field] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, editProps, {
        value: parseValue(id, field, editProps.value)
      });
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        editRows: editRowsModel
      });
    });
    apiRef.current.forceUpdate();
    const editRowsState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_6__.gridEditRowsStateSelector)(apiRef.current.state);
    return editRowsState[id][field];
  }, [apiRef, logger, parseValue]);
  const setEditRowsModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(model => {
    const currentModel = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_6__.gridEditRowsStateSelector)(apiRef.current.state);

    if (currentModel !== model) {
      logger.debug(`Setting editRows model`);
      apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        editRows: model
      }));
      apiRef.current.forceUpdate();
    }
  }, [apiRef, logger]);
  const getEditRowsModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_6__.gridEditRowsStateSelector)(apiRef.current.state), [apiRef]);
  const preventTextSelection = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    const isMoreThanOneClick = event.detail > 1;

    if (params.isEditable && params.cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_2__.GridCellModes.View && isMoreThanOneClick) {
      // If we click more than one time, then we prevent the default behavior of selecting the text cell.
      event.preventDefault();
    }
  }, []);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellMouseDown', preventTextSelection);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiOptionHandler)(apiRef, 'editCellPropsChange', props.onEditCellPropsChange); // TODO v6: remove, use `preProcessEditCellProps` instead

  const editingSharedApi = {
    isCellEditable,
    setEditRowsModel,
    getEditRowsModel,
    setEditCellValue,
    unstable_setEditCellProps: setEditCellProps,
    unstable_parseValue: parseValue,
    unstable_runPendingEditCellValueMutation: runPendingEditCellValueMutation
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_4__.useGridApiMethod)(apiRef, editingSharedApi, 'EditRowApi');
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (props.editRowsModel !== undefined) {
      apiRef.current.setEditRowsModel(props.editRowsModel);
    }
  }, [apiRef, props.editRowsModel]);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridRowEditing.new.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridRowEditing.new.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridRowEditing: () => (/* binding */ useGridRowEditing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toPropertyKey */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./gridEditRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../models/params/gridRowParams */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/params/gridRowParams.js");



const _excluded = ["id"],
      _excluded2 = ["id"];












const missingOnProcessRowUpdateErrorWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_11__.buildWarning)(['MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see http://mui.com/components/data-grid/editing/#persistence.'], 'error');
const useGridRowEditing = (apiRef, props) => {
  const [rowModesModel, setRowModesModel] = react__WEBPACK_IMPORTED_MODULE_3__.useState({});
  const rowModesModelRef = react__WEBPACK_IMPORTED_MODULE_3__.useRef(rowModesModel);
  const prevRowModesModel = react__WEBPACK_IMPORTED_MODULE_3__.useRef({});
  const focusTimeout = react__WEBPACK_IMPORTED_MODULE_3__.useRef(null);
  const nextFocusedCell = react__WEBPACK_IMPORTED_MODULE_3__.useRef(null);
  const {
    processRowUpdate,
    onProcessRowUpdateError,
    rowModesModel: rowModesModelProp,
    onRowModesModelChange,
    signature
  } = props;

  const runIfEditModeIsRow = callback => (...args) => {
    if (props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridEditModes.Row) {
      callback(...args);
    }
  };

  const throwIfNotEditable = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field) => {
    const params = apiRef.current.getCellParams(id, field);

    if (!apiRef.current.isCellEditable(params)) {
      throw new Error(`MUI: The cell with id=${id} and field=${field} is not editable.`);
    }
  }, [apiRef]);
  const throwIfNotInMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, mode) => {
    if (apiRef.current.getRowMode(id) !== mode) {
      throw new Error(`MUI: The row with id=${id} is not in ${mode} mode.`);
    }
  }, [apiRef]);
  const handleCellDoubleClick = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((params, event) => {
    if (!params.isEditable) {
      return;
    }

    if (apiRef.current.getRowMode(params.id) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit) {
      return;
    }

    const rowParams = apiRef.current.getRowParams(params.id);

    const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, rowParams, {
      field: params.field,
      reason: _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStartReasons.cellDoubleClick
    });

    apiRef.current.publishEvent('rowEditStart', newParams, event);
  }, [apiRef]);
  const handleCellFocusIn = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    nextFocusedCell.current = params;
  }, []);
  const handleCellFocusOut = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((params, event) => {
    if (!params.isEditable) {
      return;
    }

    if (apiRef.current.getRowMode(params.id) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View) {
      return;
    } // The mechanism to detect if we can stop editing a row is different from
    // the cell editing. Instead of triggering it when clicking outside a cell,
    // we must check if another cell in the same row was not clicked. To achieve
    // that, first we keep track of all cells that gained focus. When a cell loses
    // focus we check if the next cell that received focus is from a different row.


    nextFocusedCell.current = null;
    focusTimeout.current = setTimeout(() => {
      var _nextFocusedCell$curr;

      focusTimeout.current = null;

      if (((_nextFocusedCell$curr = nextFocusedCell.current) == null ? void 0 : _nextFocusedCell$curr.id) !== params.id) {
        // The row might have been deleted during the click
        if (!apiRef.current.getRow(params.id)) {
          return;
        } // The row may already changed its mode


        if (apiRef.current.getRowMode(params.id) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View) {
          return;
        }

        const rowParams = apiRef.current.getRowParams(params.id);

        const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, rowParams, {
          field: params.field,
          reason: _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.rowFocusOut
        });

        apiRef.current.publishEvent('rowEditStop', newParams, event);
      }
    });
  }, [apiRef]);
  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(() => {
    return () => {
      clearTimeout(focusTimeout.current);
    };
  }, []);
  const handleCellKeyDown = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((params, event) => {
    if (params.cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit) {
      // Wait until IME is settled for Asian languages like Japanese and Chinese
      // TODO: `event.which` is depricated but this is a temporary workaround
      if (event.which === 229) {
        return;
      }

      let reason;

      if (event.key === 'Escape') {
        reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.escapeKeyDown;
      } else if (event.key === 'Enter') {
        reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.enterKeyDown;
      } else if (event.key === 'Tab') {
        const columnFields = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_10__.gridColumnFieldsSelector)(apiRef).filter(field => apiRef.current.isCellEditable(apiRef.current.getCellParams(params.id, field)));

        if (event.shiftKey) {
          if (params.field === columnFields[0]) {
            // Exit if user pressed Shift+Tab on the first field
            reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.shiftTabKeyDown;
          }
        } else if (params.field === columnFields[columnFields.length - 1]) {
          // Exit if user pressed Tab on the last field
          reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.tabKeyDown;
        }

        if (reason) {
          event.preventDefault(); // Prevent going to the next element in the tab sequence
        }
      }

      if (reason) {
        const rowParams = apiRef.current.getRowParams(params.id);

        const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, rowParams, {
          reason,
          field: params.field
        });

        apiRef.current.publishEvent('rowEditStop', newParams, event);
      }
    } else if (params.isEditable) {
      let reason;

      if (event.key === ' ' && event.shiftKey) {
        return; // Shift + Space is used to select the row
      }

      if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_9__.isPrintableKey)(event)) {
        reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStartReasons.printableKeyDown;
      } else if ((event.ctrlKey || event.metaKey) && event.key === 'v') {
        reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStartReasons.printableKeyDown;
      } else if (event.key === 'Enter') {
        reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStartReasons.enterKeyDown;
      } else if (event.key === 'Delete' || event.key === 'Backspace') {
        // Delete on Windows, Backspace on macOS
        reason = _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStartReasons.deleteKeyDown;
      }

      if (reason) {
        const rowParams = apiRef.current.getRowParams(params.id);

        const newParams = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, rowParams, {
          field: params.field,
          key: event.key,
          reason
        });

        apiRef.current.publishEvent('rowEditStart', newParams, event);
      }
    }
  }, [apiRef]);
  const handleRowEditStart = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id,
      field,
      reason,
      key
    } = params;
    const startRowEditModeParams = {
      id,
      fieldToFocus: field
    };

    if (reason === _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStartReasons.printableKeyDown) {
      if (react__WEBPACK_IMPORTED_MODULE_3__.version.startsWith('18')) {
        startRowEditModeParams.initialValue = key; // In React 17, cleaning the input is enough
      } else {
        startRowEditModeParams.deleteValue = !!field;
      }
    } else if (reason === _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStartReasons.deleteKeyDown) {
      startRowEditModeParams.deleteValue = !!field;
    }

    apiRef.current.startRowEditMode(startRowEditModeParams);
  }, [apiRef]);
  const handleRowEditStop = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id,
      reason,
      field
    } = params;
    apiRef.current.unstable_runPendingEditCellValueMutation(id);
    let cellToFocusAfter;

    if (reason === _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.enterKeyDown) {
      cellToFocusAfter = 'below';
    } else if (reason === _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.tabKeyDown) {
      cellToFocusAfter = 'right';
    } else if (reason === _models_params_gridRowParams__WEBPACK_IMPORTED_MODULE_14__.GridRowEditStopReasons.shiftTabKeyDown) {
      cellToFocusAfter = 'left';
    }

    let ignoreModifications = reason === 'escapeKeyDown';
    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);

    if (!ignoreModifications && !props.disableIgnoreModificationsIfProcessingProps) {
      // The user wants to stop editing the cell but we can't wait for the props to be processed.
      // In this case, discard the modifications if any field is processing its props.
      ignoreModifications = Object.values(editingState[id]).some(fieldProps => {
        return fieldProps.isProcessingProps;
      });
    }

    apiRef.current.stopRowEditMode({
      id,
      ignoreModifications,
      field,
      cellToFocusAfter
    });
  }, [apiRef, props.disableIgnoreModificationsIfProcessingProps]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellDoubleClick', runIfEditModeIsRow(handleCellDoubleClick));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellFocusIn', runIfEditModeIsRow(handleCellFocusIn));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellFocusOut', runIfEditModeIsRow(handleCellFocusOut));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellKeyDown', runIfEditModeIsRow(handleCellKeyDown));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'rowEditStart', runIfEditModeIsRow(handleRowEditStart));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'rowEditStop', runIfEditModeIsRow(handleRowEditStop));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiOptionHandler)(apiRef, 'rowEditStart', props.onRowEditStart);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiOptionHandler)(apiRef, 'rowEditStop', props.onRowEditStop);
  const getRowMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(id => {
    if (props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridEditModes.Cell) {
      return _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View;
    }

    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    const isEditing = editingState[id] && Object.keys(editingState[id]).length > 0;
    return isEditing ? _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit : _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View;
  }, [apiRef, props.editMode]);
  const updateRowModesModel = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(newModel => {
    const isNewModelDifferentFromProp = newModel !== props.rowModesModel;

    if (onRowModesModelChange && isNewModelDifferentFromProp) {
      const details = signature === _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.GridSignature.DataGridPro ? {
        api: apiRef.current
      } : {};
      onRowModesModelChange(newModel, details);
    }

    if (props.rowModesModel && isNewModelDifferentFromProp) {
      return; // The prop always win
    }

    setRowModesModel(newModel);
    rowModesModelRef.current = newModel;
    apiRef.current.publishEvent('rowModesModelChange', newModel);
  });
  const updateRowInRowModesModel = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, newProps) => {
    const newModel = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, rowModesModelRef.current);

    if (newProps !== null) {
      newModel[id] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newProps);
    } else {
      delete newModel[id];
    }

    updateRowModesModel(newModel);
  }, [updateRowModesModel]);
  const updateOrDeleteRowState = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, newProps) => {
    apiRef.current.setState(state => {
      const newEditingState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state.editRows);

      if (newProps !== null) {
        newEditingState[id] = newProps;
      } else {
        delete newEditingState[id];
      }

      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state, {
        editRows: newEditingState
      });
    });
    apiRef.current.forceUpdate();
  }, [apiRef]);
  const updateOrDeleteFieldState = react__WEBPACK_IMPORTED_MODULE_3__.useCallback((id, field, newProps) => {
    apiRef.current.setState(state => {
      const newEditingState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state.editRows);

      if (newProps !== null) {
        newEditingState[id] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newEditingState[id], {
          [field]: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newProps)
        });
      } else {
        delete newEditingState[id][field];

        if (Object.keys(newEditingState[id]).length === 0) {
          delete newEditingState[id];
        }
      }

      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, state, {
        editRows: newEditingState
      });
    });
    apiRef.current.forceUpdate();
  }, [apiRef]);
  const startRowEditMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id
    } = params,
          other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(params, _excluded);

    throwIfNotInMode(id, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View);
    updateRowInRowModesModel(id, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
      mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit
    }, other));
  }, [throwIfNotInMode, updateRowInRowModesModel]);
  const updateStateToStartRowEditMode = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(params => {
    const {
      id,
      fieldToFocus,
      deleteValue,
      initialValue
    } = params;
    const columnFields = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_10__.gridColumnFieldsSelector)(apiRef);
    const newProps = columnFields.reduce((acc, field) => {
      const cellParams = apiRef.current.getCellParams(id, field);

      if (!cellParams.isEditable) {
        return acc;
      }

      let newValue = apiRef.current.getCellValue(id, field);

      if (fieldToFocus === field && (deleteValue || initialValue)) {
        newValue = deleteValue ? '' : initialValue;
      }

      acc[field] = {
        value: newValue,
        error: false,
        isProcessingProps: false
      };
      return acc;
    }, {});
    updateOrDeleteRowState(id, newProps);

    if (fieldToFocus) {
      apiRef.current.setCellFocus(id, fieldToFocus);
    }
  });
  const stopRowEditMode = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id
    } = params,
          other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(params, _excluded2);

    throwIfNotInMode(id, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit);
    updateRowInRowModesModel(id, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
      mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View
    }, other));
  }, [throwIfNotInMode, updateRowInRowModesModel]);
  const updateStateToStopRowEditMode = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(params => {
    const {
      id,
      ignoreModifications,
      field: focusedField,
      cellToFocusAfter = 'none'
    } = params;
    apiRef.current.unstable_runPendingEditCellValueMutation(id);

    const finishRowEditMode = () => {
      if (cellToFocusAfter !== 'none' && focusedField) {
        apiRef.current.unstable_moveFocusToRelativeCell(id, focusedField, cellToFocusAfter);
      }

      updateOrDeleteRowState(id, null);
      updateRowInRowModesModel(id, null);
    };

    if (ignoreModifications) {
      finishRowEditMode();
      return;
    }

    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    const row = apiRef.current.getRow(id);
    const isSomeFieldProcessingProps = Object.values(editingState[id]).some(fieldProps => fieldProps.isProcessingProps);

    if (isSomeFieldProcessingProps) {
      prevRowModesModel.current[id].mode = _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit;
      return;
    }

    const hasSomeFieldWithError = Object.values(editingState[id]).some(fieldProps => fieldProps.error);

    if (hasSomeFieldWithError) {
      prevRowModesModel.current[id].mode = _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit; // Revert the mode in the rowModesModel prop back to "edit"

      updateRowInRowModesModel(id, {
        mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit
      });
      return;
    }

    const rowUpdate = apiRef.current.unstable_getRowWithUpdatedValuesFromRowEditing(id);

    if (processRowUpdate) {
      const handleError = errorThrown => {
        prevRowModesModel.current[id].mode = _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit; // Revert the mode in the rowModesModel prop back to "edit"

        updateRowInRowModesModel(id, {
          mode: _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit
        });

        if (onProcessRowUpdateError) {
          onProcessRowUpdateError(errorThrown);
        } else {
          missingOnProcessRowUpdateErrorWarning();
        }
      };

      try {
        Promise.resolve(processRowUpdate(rowUpdate, row)).then(finalRowUpdate => {
          apiRef.current.updateRows([finalRowUpdate]);
          finishRowEditMode();
        }).catch(handleError);
      } catch (errorThrown) {
        handleError(errorThrown);
      }
    } else {
      apiRef.current.updateRows([rowUpdate]);
      finishRowEditMode();
    }
  });
  const setRowEditingEditCellValue = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(params => {
    const {
      id,
      field,
      value,
      debounceMs,
      unstable_skipValueParser: skipValueParser
    } = params;
    throwIfNotEditable(id, field);
    const column = apiRef.current.getColumn(field);
    const row = apiRef.current.getRow(id);
    let parsedValue = value;

    if (column.valueParser && !skipValueParser) {
      parsedValue = column.valueParser(value, apiRef.current.getCellParams(id, field));
    }

    let editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);

    let newProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, editingState[id][field], {
      value: parsedValue,
      changeReason: debounceMs ? 'debouncedSetEditCellValue' : 'setEditCellValue'
    });

    if (!column.preProcessEditCellProps) {
      updateOrDeleteFieldState(id, field, newProps);
    }

    return new Promise(resolve => {
      const promises = [];

      if (column.preProcessEditCellProps) {
        const hasChanged = newProps.value !== editingState[id][field].value;
        newProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, newProps, {
          isProcessingProps: true
        });
        updateOrDeleteFieldState(id, field, newProps);

        const _editingState$id = editingState[id],
              otherFieldsProps = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_editingState$id, [field].map(_babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_0__["default"]));

        const promise = Promise.resolve(column.preProcessEditCellProps({
          id,
          row,
          props: newProps,
          hasChanged,
          otherFieldsProps
        })).then(processedProps => {
          // Check again if the row is in edit mode because the user may have
          // discarded the changes while the props were being processed.
          if (apiRef.current.getRowMode(id) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View) {
            resolve(false);
            return;
          }

          editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
          processedProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, processedProps, {
            isProcessingProps: false
          }); // We don't reuse the value from the props pre-processing because when the
          // promise resolves it may be already outdated. The only exception to this rule
          // is when there's no pre-processing.

          processedProps.value = column.preProcessEditCellProps ? editingState[id][field].value : parsedValue;
          updateOrDeleteFieldState(id, field, processedProps);
        });
        promises.push(promise);
      }

      Object.entries(editingState[id]).forEach(([thisField, fieldProps]) => {
        if (thisField === field) {
          return;
        }

        const fieldColumn = apiRef.current.getColumn(thisField);

        if (!fieldColumn.preProcessEditCellProps) {
          return;
        }

        fieldProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, fieldProps, {
          isProcessingProps: true
        });
        updateOrDeleteFieldState(id, thisField, fieldProps);
        editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);

        const _editingState$id2 = editingState[id],
              otherFieldsProps = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_editingState$id2, [thisField].map(_babel_runtime_helpers_esm_toPropertyKey__WEBPACK_IMPORTED_MODULE_0__["default"]));

        const promise = Promise.resolve(fieldColumn.preProcessEditCellProps({
          id,
          row,
          props: fieldProps,
          hasChanged: false,
          otherFieldsProps
        })).then(processedProps => {
          // Check again if the row is in edit mode because the user may have
          // discarded the changes while the props were being processed.
          if (apiRef.current.getRowMode(id) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View) {
            resolve(false);
            return;
          }

          processedProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, processedProps, {
            isProcessingProps: false
          });
          updateOrDeleteFieldState(id, thisField, processedProps);
        });
        promises.push(promise);
      });
      Promise.all(promises).then(() => {
        if (apiRef.current.getRowMode(id) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit) {
          editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
          resolve(!editingState[id][field].error);
        } else {
          resolve(false);
        }
      });
    });
  }, [apiRef, throwIfNotEditable, updateOrDeleteFieldState]);
  const getRowWithUpdatedValuesFromRowEditing = react__WEBPACK_IMPORTED_MODULE_3__.useCallback(id => {
    const editingState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_8__.gridEditRowsStateSelector)(apiRef.current.state);
    const row = apiRef.current.getRow(id);

    let rowUpdate = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({}, row);

    Object.entries(editingState[id]).forEach(([field, fieldProps]) => {
      const column = apiRef.current.getColumn(field);

      if (column.valueSetter) {
        rowUpdate = column.valueSetter({
          value: fieldProps.value,
          row: rowUpdate
        });
      } else {
        rowUpdate[field] = fieldProps.value;
      }
    });
    return rowUpdate;
  }, [apiRef]);
  const editingApi = {
    getRowMode,
    startRowEditMode,
    stopRowEditMode,
    unstable_setRowEditingEditCellValue: setRowEditingEditCellValue,
    unstable_getRowWithUpdatedValuesFromRowEditing: getRowWithUpdatedValuesFromRowEditing
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_7__.useGridApiMethod)(apiRef, editingApi, 'EditingApi');
  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(() => {
    if (rowModesModelProp) {
      updateRowModesModel(rowModesModelProp);
    }
  }, [rowModesModelProp, updateRowModesModel]);
  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(() => {
    const idToIdLookup = (0,_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_12__.gridRowsIdToIdLookupSelector)(apiRef); // Update the ref here because updateStateToStopRowEditMode may change it later

    const copyOfPrevRowModesModel = prevRowModesModel.current;
    prevRowModesModel.current = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_13__.deepClone)(rowModesModel); // Do a deep-clone because the attributes might be changed later

    Object.entries(rowModesModel).forEach(([id, params]) => {
      var _copyOfPrevRowModesMo, _idToIdLookup$id;

      const prevMode = ((_copyOfPrevRowModesMo = copyOfPrevRowModesModel[id]) == null ? void 0 : _copyOfPrevRowModesMo.mode) || _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View;
      const originalId = (_idToIdLookup$id = idToIdLookup[id]) != null ? _idToIdLookup$id : id;

      if (params.mode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit && prevMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View) {
        updateStateToStartRowEditMode((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
          id: originalId
        }, params));
      } else if (params.mode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.View && prevMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_6__.GridRowModes.Edit) {
        updateStateToStopRowEditMode((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__["default"])({
          id: originalId
        }, params));
      }
    });
  }, [apiRef, rowModesModel, updateStateToStartRowEditMode, updateStateToStopRowEditMode]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridRowEditing.old.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/useGridRowEditing.old.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridRowEditing: () => (/* binding */ useGridRowEditing)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./gridEditRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js");
/* harmony import */ var _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../focus/gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");










const useGridRowEditing = (apiRef, props) => {
  var _props$experimentalFe2, _props$experimentalFe4;

  const focusTimeout = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const nextFocusedCell = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const columns = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_6__.gridColumnDefinitionsSelector);

  const buildCallback = callback => (...args) => {
    if (props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridEditModes.Row) {
      callback(...args);
    }
  };

  const setRowMode = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, mode) => {
    if (mode === apiRef.current.getRowMode(id)) {
      return;
    }

    apiRef.current.setState(state => {
      const newEditRowsState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.editRows);

      if (mode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridRowModes.Edit) {
        newEditRowsState[id] = {};
        columns.forEach(column => {
          const cellParams = apiRef.current.getCellParams(id, column.field);

          if (cellParams.isEditable) {
            newEditRowsState[id][column.field] = {
              value: cellParams.value
            };
          }
        });
      } else {
        delete newEditRowsState[id];
      }

      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        editRows: newEditRowsState
      });
    });
    apiRef.current.forceUpdate();
  }, [apiRef, columns]);
  const getRowMode = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => {
    if (props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridEditModes.Cell) {
      return _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridRowModes.View;
    }

    const editRowsState = (0,_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_7__.gridEditRowsStateSelector)(apiRef.current.state);
    return editRowsState[id] ? _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridRowModes.Edit : _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridRowModes.View;
  }, [apiRef, props.editMode]);
  const commitRowChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, event = {}) => {
    var _props$experimentalFe;

    if (props.editMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridEditModes.Cell) {
      throw new Error(`MUI: You can't commit changes when the edit mode is 'cell'.`);
    }

    apiRef.current.unstable_runPendingEditCellValueMutation(id);
    const model = apiRef.current.getEditRowsModel();
    const editRowProps = model[id];

    if (!editRowProps) {
      throw new Error(`MUI: Row at id: ${id} is not being edited.`);
    }

    if ((_props$experimentalFe = props.experimentalFeatures) != null && _props$experimentalFe.preventCommitWhileValidating) {
      const isValid = Object.keys(editRowProps).reduce((acc, field) => {
        return acc && !editRowProps[field].isValidating && !editRowProps[field].error;
      }, true);

      if (!isValid) {
        return false;
      }
    }

    const hasFieldWithError = Object.values(editRowProps).some(value => !!value.error);

    if (hasFieldWithError) {
      return false;
    }

    const fieldsWithValidator = Object.keys(editRowProps).filter(field => {
      const column = apiRef.current.getColumn(field);
      return typeof column.preProcessEditCellProps === 'function';
    });

    if (fieldsWithValidator.length > 0) {
      const row = apiRef.current.getRow(id);
      const validatorErrors = fieldsWithValidator.map(async field => {
        const column = apiRef.current.getColumn(field);
        const newEditCellProps = await Promise.resolve(column.preProcessEditCellProps({
          id,
          row,
          props: editRowProps[field]
        }));
        apiRef.current.unstable_setEditCellProps({
          id,
          field,
          props: newEditCellProps
        });
        return newEditCellProps.error;
      });
      return Promise.all(validatorErrors).then(errors => {
        if (errors.some(error => !!error)) {
          return false;
        }

        apiRef.current.publishEvent('rowEditCommit', id, event);
        return true;
      });
    }

    apiRef.current.publishEvent('rowEditCommit', id, event);
    return true;
  }, [apiRef, props.editMode, (_props$experimentalFe2 = props.experimentalFeatures) == null ? void 0 : _props$experimentalFe2.preventCommitWhileValidating]);
  const setRowEditingEditCellValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const model = apiRef.current.getEditRowsModel();
    const editRow = model[params.id];
    const row = apiRef.current.getRow(params.id);
    let isValid = true;
    return new Promise(resolve => {
      Object.keys(editRow).forEach(async field => {
        const column = apiRef.current.getColumn(field);
        let editCellProps = field === params.field ? {
          value: params.value
        } : editRow[field]; // setEditCellProps runs the value parser and returns the updated props

        editCellProps = apiRef.current.unstable_setEditCellProps({
          id: params.id,
          field,
          props: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, editCellProps, {
            isValidating: true
          })
        });

        if (column.preProcessEditCellProps) {
          editCellProps = await Promise.resolve(column.preProcessEditCellProps({
            id: params.id,
            row,
            props: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, editCellProps, {
              value: field === params.field ? apiRef.current.unstable_parseValue(params.id, field, params.value) : editCellProps.value
            })
          }));
        }

        if (editCellProps.error) {
          isValid = false;
        }

        apiRef.current.unstable_setEditCellProps({
          id: params.id,
          field,
          props: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, editCellProps, {
            isValidating: false
          })
        });
      });
      resolve(isValid);
    });
  }, [apiRef]);
  const rowEditingApi = {
    setRowMode,
    getRowMode,
    commitRowChange,
    unstable_setRowEditingEditCellValue: setRowEditingEditCellValue
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, rowEditingApi, 'EditRowApi');
  const handleCellKeyDown = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(async (params, event) => {
    // Wait until IME is settled for Asian languages like Japanese and Chinese
    // TODO: `event.which` is depricated but this is a temporary workaround
    if (event.which === 229) {
      return;
    }

    const {
      cellMode,
      isEditable
    } = params;

    if (!isEditable) {
      return;
    }

    const isEditMode = cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.Edit;
    const rowParams = apiRef.current.getRowParams(params.id);

    if (isEditMode) {
      if (event.key === 'Enter') {
        var _props$experimentalFe3;

        // TODO: check the return before firing 'rowEditStop'
        // On cell editing, it won't exits the edit mode with error
        const isValid = await apiRef.current.commitRowChange(params.id);

        if (!isValid && (_props$experimentalFe3 = props.experimentalFeatures) != null && _props$experimentalFe3.preventCommitWhileValidating) {
          return;
        }

        apiRef.current.publishEvent('rowEditStop', rowParams, event);
      } else if (event.key === 'Escape') {
        apiRef.current.publishEvent('rowEditStop', rowParams, event);
      }
    } else if (event.key === 'Enter') {
      apiRef.current.publishEvent('rowEditStart', rowParams, event);
    }
  }, [apiRef, (_props$experimentalFe4 = props.experimentalFeatures) == null ? void 0 : _props$experimentalFe4.preventCommitWhileValidating]);
  const handleCellDoubleClick = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    if (!params.isEditable) {
      return;
    }

    const rowParams = apiRef.current.getRowParams(params.id);
    apiRef.current.publishEvent('rowEditStart', rowParams, event);
  }, [apiRef]);
  const handleEditCellPropsChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const row = apiRef.current.getRow(params.id);
    const model = apiRef.current.getEditRowsModel();
    const editRow = model[params.id];
    Object.keys(editRow).forEach(async field => {
      const column = apiRef.current.getColumn(field);

      if (column.preProcessEditCellProps) {
        const editCellProps = field === params.field ? params.props : editRow[field];
        const newEditCellProps = await Promise.resolve(column.preProcessEditCellProps({
          id: params.id,
          row,
          props: editCellProps
        }));
        apiRef.current.unstable_setEditCellProps({
          id: params.id,
          field,
          props: newEditCellProps
        });
      } else if (field === params.field) {
        apiRef.current.unstable_setEditCellProps(params);
      }
    });
  }, [apiRef]);
  const handleRowEditStart = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    apiRef.current.setRowMode(params.id, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridRowModes.Edit);
  }, [apiRef]);
  const handleRowEditStop = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    apiRef.current.setRowMode(params.id, _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridRowModes.View);

    if (event.key === 'Enter') {
      apiRef.current.publishEvent('cellNavigationKeyDown', params, event);
    }
  }, [apiRef]);
  const handleRowEditCommit = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => {
    const model = apiRef.current.getEditRowsModel();
    const editRow = model[id];

    if (!editRow) {
      throw new Error(`MUI: Row at id: ${id} is not being edited.`);
    }

    const row = apiRef.current.getRow(id);

    if (row) {
      let rowUpdate = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, row);

      Object.keys(editRow).forEach(field => {
        const column = apiRef.current.getColumn(field);
        const value = editRow[field].value;

        if (column.valueSetter) {
          rowUpdate = column.valueSetter({
            row: rowUpdate,
            value
          });
        } else {
          rowUpdate[field] = value;
        }
      });
      apiRef.current.updateRows([rowUpdate]);
    }
  }, [apiRef]);
  const handleCellFocusIn = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    nextFocusedCell.current = params;
  }, []);

  const commitPropsAndExit = async (params, event) => {
    if (params.cellMode === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_4__.GridCellModes.View) {
      return;
    }

    nextFocusedCell.current = null;
    focusTimeout.current = setTimeout(async () => {
      var _nextFocusedCell$curr;

      if (((_nextFocusedCell$curr = nextFocusedCell.current) == null ? void 0 : _nextFocusedCell$curr.id) !== params.id) {
        await apiRef.current.commitRowChange(params.id, event);
        const rowParams = apiRef.current.getRowParams(params.id);
        apiRef.current.publishEvent('rowEditStop', rowParams, event);
      }
    });
  };

  const handleCellFocusOut = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])((params, event) => {
    commitPropsAndExit(params, event);
  });
  const handleColumnHeaderDragStart = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(() => {
    const cell = (0,_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_8__.gridFocusCellSelector)(apiRef);

    if (!cell) {
      return;
    }

    const params = apiRef.current.getCellParams(cell.id, cell.field);
    commitPropsAndExit(params, {});
  });
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'cellKeyDown', buildCallback(handleCellKeyDown));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'cellDoubleClick', buildCallback(handleCellDoubleClick));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'editCellPropsChange', buildCallback(handleEditCellPropsChange));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'rowEditStart', buildCallback(handleRowEditStart));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'rowEditStop', buildCallback(handleRowEditStop));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'rowEditCommit', buildCallback(handleRowEditCommit));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'cellFocusIn', buildCallback(handleCellFocusIn));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'cellFocusOut', buildCallback(handleCellFocusOut));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiEventHandler)(apiRef, 'columnHeaderDragStart', buildCallback(handleColumnHeaderDragStart));
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiOptionHandler)(apiRef, 'rowEditCommit', props.onRowEditCommit);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiOptionHandler)(apiRef, 'rowEditStart', props.onRowEditStart);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_9__.useGridApiOptionHandler)(apiRef, 'rowEditStop', props.onRowEditStop);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/events/useGridEvents.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/events/useGridEvents.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridEvents: () => (/* binding */ useGridEvents)
/* harmony export */ });
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");


/**
 * @requires useGridFocus (event) - can be after, async only
 * @requires useGridColumns (event) - can be after, async only
 */
function useGridEvents(apiRef, props) {
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'columnHeaderClick', props.onColumnHeaderClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'columnHeaderDoubleClick', props.onColumnHeaderDoubleClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'columnHeaderOver', props.onColumnHeaderOver);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'columnHeaderOut', props.onColumnHeaderOut);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'columnHeaderEnter', props.onColumnHeaderEnter);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'columnHeaderLeave', props.onColumnHeaderLeave);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'columnOrderChange', props.onColumnOrderChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'cellClick', props.onCellClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'cellDoubleClick', props.onCellDoubleClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'cellKeyDown', props.onCellKeyDown);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'cellFocusOut', props.onCellFocusOut);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'preferencePanelClose', props.onPreferencePanelClose);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'preferencePanelOpen', props.onPreferencePanelOpen);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'menuOpen', props.onMenuOpen);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'menuClose', props.onMenuClose);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'rowDoubleClick', props.onRowDoubleClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'rowClick', props.onRowClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'componentError', props.onError);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_0__.useGridApiOptionHandler)(apiRef, 'stateChange', props.onStateChange);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/serializers/csvSerializer.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/serializers/csvSerializer.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   buildCSV: () => (/* binding */ buildCSV)
/* harmony export */ });
/* harmony import */ var _colDef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../colDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridCheckboxSelectionColDef.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");



const serializeCellValue = (value, delimiterCharacter) => {
  if (typeof value === 'string') {
    const formattedValue = value.replace(/"/g, '""'); // Make sure value containing delimiter or line break won't be split into multiple rows

    if ([delimiterCharacter, '\n', '\r'].some(delimiter => formattedValue.includes(delimiter))) {
      return `"${formattedValue}"`;
    }

    return formattedValue;
  }

  return value;
};

const objectFormattedValueWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.buildWarning)(['MUI: When the value of a field is an object or a `renderCell` is provided, the CSV export might not display the value correctly.', 'You can provide a `valueFormatter` with a string representation to be used.']);

const serializeRow = (id, columns, getCellParams, delimiterCharacter) => columns.map(column => {
  const cellParams = getCellParams(id, column.field);

  if (true) {
    if (String(cellParams.formattedValue) === '[object Object]') {
      objectFormattedValueWarning();
    }
  }

  return serializeCellValue(cellParams.formattedValue, delimiterCharacter);
});

function buildCSV(options) {
  const {
    columns,
    rowIds,
    getCellParams,
    delimiterCharacter,
    includeHeaders
  } = options;
  const CSVBody = rowIds.reduce((acc, id) => `${acc}${serializeRow(id, columns, getCellParams, delimiterCharacter).join(delimiterCharacter)}\r\n`, '').trim();

  if (!includeHeaders) {
    return CSVBody;
  }

  const CSVHead = `${columns.filter(column => column.field !== _colDef__WEBPACK_IMPORTED_MODULE_0__.GRID_CHECKBOX_SELECTION_COL_DEF.field).map(column => serializeCellValue(column.headerName || column.field, delimiterCharacter)).join(delimiterCharacter)}\r\n`;
  return `${CSVHead}${CSVBody}`.trim();
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/useGridCsvExport.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/useGridCsvExport.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridCsvExport: () => (/* binding */ useGridCsvExport)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _utils_exportAs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../utils/exportAs */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/exportAs.js");
/* harmony import */ var _serializers_csvSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./serializers/csvSerializer */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/serializers/csvSerializer.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/utils.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _components_toolbar_GridToolbarExport__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../components/toolbar/GridToolbarExport */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarExport.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");








/**
 * @requires useGridColumns (state)
 * @requires useGridFilter (state)
 * @requires useGridSorting (state)
 * @requires useGridSelection (state)
 * @requires useGridParamsApi (method)
 */


const useGridCsvExport = apiRef => {
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_2__.useGridLogger)(apiRef, 'useGridCsvExport');
  const getDataAsCsv = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((options = {}) => {
    var _options$getRowsToExp, _options$includeHeade;

    logger.debug(`Get data as CSV`);
    const exportedColumns = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getColumnsToExport)({
      apiRef,
      options
    });
    const getRowsToExport = (_options$getRowsToExp = options.getRowsToExport) != null ? _options$getRowsToExp : _utils__WEBPACK_IMPORTED_MODULE_5__.defaultGetRowsToExport;
    const exportedRowIds = getRowsToExport({
      apiRef
    });
    return (0,_serializers_csvSerializer__WEBPACK_IMPORTED_MODULE_4__.buildCSV)({
      columns: exportedColumns,
      rowIds: exportedRowIds,
      getCellParams: apiRef.current.getCellParams,
      delimiterCharacter: options.delimiter || ',',
      includeHeaders: (_options$includeHeade = options.includeHeaders) != null ? _options$includeHeade : true
    });
  }, [logger, apiRef]);
  const exportDataAsCsv = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(options => {
    logger.debug(`Export data as CSV`);
    const csv = getDataAsCsv(options);
    const blob = new Blob([options != null && options.utf8WithBom ? new Uint8Array([0xef, 0xbb, 0xbf]) : '', csv], {
      type: 'text/csv'
    });
    (0,_utils_exportAs__WEBPACK_IMPORTED_MODULE_3__.exportAs)(blob, 'csv', options == null ? void 0 : options.fileName);
  }, [logger, getDataAsCsv]);
  const csvExportApi = {
    getDataAsCsv,
    exportDataAsCsv
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_1__.useGridApiMethod)(apiRef, csvExportApi, 'GridCsvExportApi');
  /**
   * PRE-PROCESSING
   */

  const addExportMenuButtons = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((initialValue, options) => {
    var _options$csvOptions;

    if ((_options$csvOptions = options.csvOptions) != null && _options$csvOptions.disableToolbarButton) {
      return initialValue;
    }

    return [...initialValue, {
      component: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_components_toolbar_GridToolbarExport__WEBPACK_IMPORTED_MODULE_7__.GridCsvExportMenuItem, {
        options: options.csvOptions
      }),
      componentName: 'csvExport'
    }];
  }, []);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_6__.useGridRegisterPipeProcessor)(apiRef, 'exportMenu', addExportMenuButtons);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/useGridPrintExport.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/useGridPrintExport.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridPrintExport: () => (/* binding */ useGridPrintExport)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _density_densitySelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../rows/gridRowsMetaSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsMetaSelector.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/utils.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _components_toolbar_GridToolbarExport__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../components/toolbar/GridToolbarExport */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarExport.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");















function raf() {
  return new Promise(resolve => {
    requestAnimationFrame(() => {
      resolve();
    });
  });
}

function getChromeVersion() {
  const raw = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);
  return raw ? parseInt(raw[2], 10) : null;
}

/**
 * @requires useGridColumns (state)
 * @requires useGridFilter (state)
 * @requires useGridSorting (state)
 * @requires useGridParamsApi (method)
 */
const useGridPrintExport = (apiRef, props) => {
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__.useGridLogger)(apiRef, 'useGridPrintExport');
  const doc = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const previousGridState = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const previousColumnVisibility = react__WEBPACK_IMPORTED_MODULE_1__.useRef({});
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    doc.current = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(apiRef.current.rootElementRef.current);
  }, [apiRef]); // Returns a promise because updateColumns triggers state update and
  // the new state needs to be in place before the grid can be sized correctly

  const updateGridColumnsForPrint = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((fields, allColumns) => new Promise(resolve => {
    // TODO remove unused Promise
    if (!fields && !allColumns) {
      resolve();
      return;
    }

    const exportedColumnFields = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getColumnsToExport)({
      apiRef,
      options: {
        fields,
        allColumns
      }
    }).map(column => column.field);
    const columns = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_5__.gridColumnDefinitionsSelector)(apiRef);
    const newColumnVisibilityModel = {};
    columns.forEach(column => {
      newColumnVisibilityModel[column.field] = exportedColumnFields.includes(column.field);
    });
    apiRef.current.setColumnVisibilityModel(newColumnVisibilityModel);
    resolve();
  }), [apiRef]); // TODO move outside of this scope and remove React.useCallback

  const buildPrintWindow = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(title => {
    const iframeEl = document.createElement('iframe');
    iframeEl.style.position = 'absolute';
    iframeEl.style.width = '0px';
    iframeEl.style.height = '0px';
    iframeEl.title = title || document.title;
    return iframeEl;
  }, []);
  const handlePrintWindowLoad = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((printWindow, options) => {
    var _querySelector, _querySelector2;

    const normalizeOptions = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      copyStyles: true,
      hideToolbar: false,
      hideFooter: false
    }, options);

    const printDoc = printWindow.contentDocument;

    if (!printDoc) {
      return;
    }

    const totalHeaderHeight = (0,_density_densitySelector__WEBPACK_IMPORTED_MODULE_6__.gridDensityTotalHeaderHeightSelector)(apiRef);
    const rowsMeta = (0,_rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_9__.gridRowsMetaSelector)(apiRef.current.state);
    const gridRootElement = apiRef.current.rootElementRef.current;
    const gridClone = gridRootElement.cloneNode(true);
    const gridCloneViewport = gridClone.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.virtualScroller}`); // Expand the viewport window to prevent clipping

    gridCloneViewport.style.height = 'auto';
    gridCloneViewport.style.width = 'auto';
    gridCloneViewport.parentElement.style.width = 'auto';
    gridCloneViewport.parentElement.style.height = 'auto'; // Allow to overflow to not hide the border of the last row

    const gridMain = gridClone.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.main}`);
    gridMain.style.overflow = 'visible';
    const chromeVersion = getChromeVersion();

    if (chromeVersion && chromeVersion >= 108) {
      // See https://support.google.com/chrome/thread/191619088?hl=en&msgid=193009642
      gridClone.style.contain = 'size';
    }

    const columnHeaders = gridClone.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.columnHeaders}`);
    const columnHeadersInner = columnHeaders.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.columnHeadersInner}`);
    columnHeadersInner.style.width = '100%';
    let gridToolbarElementHeight = ((_querySelector = gridRootElement.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.toolbarContainer}`)) == null ? void 0 : _querySelector.clientHeight) || 0;
    let gridFooterElementHeight = ((_querySelector2 = gridRootElement.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.footerContainer}`)) == null ? void 0 : _querySelector2.clientHeight) || 0;

    if (normalizeOptions.hideToolbar) {
      var _gridClone$querySelec;

      (_gridClone$querySelec = gridClone.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.toolbarContainer}`)) == null ? void 0 : _gridClone$querySelec.remove();
      gridToolbarElementHeight = 0;
    }

    if (normalizeOptions.hideFooter) {
      var _gridClone$querySelec2;

      (_gridClone$querySelec2 = gridClone.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.footerContainer}`)) == null ? void 0 : _gridClone$querySelec2.remove();
      gridFooterElementHeight = 0;
    } // Expand container height to accommodate all rows


    gridClone.style.height = `${rowsMeta.currentPageTotalHeight + totalHeaderHeight + gridToolbarElementHeight + gridFooterElementHeight}px`; // printDoc.body.appendChild(gridClone); should be enough but a clone isolation bug in Safari
    // prevents us to do it

    const container = document.createElement('div');
    container.appendChild(gridClone);
    printDoc.body.innerHTML = container.innerHTML;
    const defaultPageStyle = typeof normalizeOptions.pageStyle === 'function' ? normalizeOptions.pageStyle() : normalizeOptions.pageStyle;

    if (typeof defaultPageStyle === 'string') {
      // TODO custom styles should always win
      const styleElement = printDoc.createElement('style');
      styleElement.appendChild(printDoc.createTextNode(defaultPageStyle));
      printDoc.head.appendChild(styleElement);
    }

    if (normalizeOptions.bodyClassName) {
      printDoc.body.classList.add(...normalizeOptions.bodyClassName.split(' '));
    }

    if (normalizeOptions.copyStyles) {
      const headStyleElements = doc.current.querySelectorAll("style, link[rel='stylesheet']");

      for (let i = 0; i < headStyleElements.length; i += 1) {
        const node = headStyleElements[i];

        if (node.tagName === 'STYLE') {
          const newHeadStyleElements = printDoc.createElement(node.tagName);
          const sheet = node.sheet;

          if (sheet) {
            let styleCSS = ''; // NOTE: for-of is not supported by IE

            for (let j = 0; j < sheet.cssRules.length; j += 1) {
              if (typeof sheet.cssRules[j].cssText === 'string') {
                styleCSS += `${sheet.cssRules[j].cssText}\r\n`;
              }
            }

            newHeadStyleElements.appendChild(printDoc.createTextNode(styleCSS));
            printDoc.head.appendChild(newHeadStyleElements);
          }
        } else if (node.getAttribute('href')) {
          // If `href` tag is empty, avoid loading these links
          const newHeadStyleElements = printDoc.createElement(node.tagName);

          for (let j = 0; j < node.attributes.length; j += 1) {
            const attr = node.attributes[j];

            if (attr) {
              newHeadStyleElements.setAttribute(attr.nodeName, attr.nodeValue || '');
            }
          }

          printDoc.head.appendChild(newHeadStyleElements);
        }
      }
    } // Trigger print


    if (true) {
      printWindow.contentWindow.print();
    }
  }, [apiRef, doc]);
  const handlePrintWindowAfterPrint = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(printWindow => {
    var _previousGridState$cu, _previousGridState$cu2;

    // Remove the print iframe
    doc.current.body.removeChild(printWindow); // Revert grid to previous state

    apiRef.current.restoreState(previousGridState.current || {});

    if (!((_previousGridState$cu = previousGridState.current) != null && (_previousGridState$cu2 = _previousGridState$cu.columns) != null && _previousGridState$cu2.columnVisibilityModel)) {
      // if the apiRef.current.exportState(); did not exported the column visibility, we update it
      apiRef.current.setColumnVisibilityModel(previousColumnVisibility.current);
    }

    apiRef.current.unstable_enableVirtualization(); // Clear local state

    previousGridState.current = null;
    previousColumnVisibility.current = {};
  }, [apiRef]);
  const exportDataAsPrint = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(async options => {
    logger.debug(`Export data as Print`);

    if (!apiRef.current.rootElementRef.current) {
      throw new Error('MUI: No grid root element available.');
    }

    previousGridState.current = apiRef.current.exportState(); // It appends that the visibility model is not exported, especially if columnVisibility is not controlled

    previousColumnVisibility.current = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_5__.gridColumnVisibilityModelSelector)(apiRef);

    if (props.pagination) {
      const visibleRowCount = (0,_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_4__.gridVisibleRowCountSelector)(apiRef);
      apiRef.current.setPageSize(visibleRowCount);
    }

    await updateGridColumnsForPrint(options == null ? void 0 : options.fields, options == null ? void 0 : options.allColumns);
    apiRef.current.unstable_disableVirtualization();
    await raf(); // wait for the state changes to take action

    const printWindow = buildPrintWindow(options == null ? void 0 : options.fileName);

    if (false) // removed by dead control flow
{} else {
      printWindow.onload = () => {
        handlePrintWindowLoad(printWindow, options);
        const mediaQueryList = printWindow.contentWindow.matchMedia('print');
        mediaQueryList.addEventListener('change', mql => {
          const isAfterPrint = mql.matches === false;

          if (isAfterPrint) {
            handlePrintWindowAfterPrint(printWindow);
          }
        });
      };

      doc.current.body.appendChild(printWindow);
    }
  }, [props, logger, apiRef, buildPrintWindow, handlePrintWindowLoad, handlePrintWindowAfterPrint, updateGridColumnsForPrint]);
  const printExportApi = {
    exportDataAsPrint
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_8__.useGridApiMethod)(apiRef, printExportApi, 'GridPrintExportApi');
  /**
   * PRE-PROCESSING
   */

  const addExportMenuButtons = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((initialValue, options) => {
    var _options$printOptions;

    if ((_options$printOptions = options.printOptions) != null && _options$printOptions.disableToolbarButton) {
      return initialValue;
    }

    return [...initialValue, {
      component: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_components_toolbar_GridToolbarExport__WEBPACK_IMPORTED_MODULE_12__.GridPrintExportMenuItem, {
        options: options.printOptions
      }),
      componentName: 'printExport'
    }];
  }, []);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_11__.useGridRegisterPipeProcessor)(apiRef, 'exportMenu', addExportMenuButtons);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/utils.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/export/utils.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   defaultGetRowsToExport: () => (/* binding */ defaultGetRowsToExport),
/* harmony export */   getColumnsToExport: () => (/* binding */ getColumnsToExport)
/* harmony export */ });
/* harmony import */ var _columns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../columns */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../filter */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");



const getColumnsToExport = ({
  apiRef,
  options
}) => {
  const columns = (0,_columns__WEBPACK_IMPORTED_MODULE_0__.gridColumnDefinitionsSelector)(apiRef);

  if (options.fields) {
    return options.fields.map(field => columns.find(column => column.field === field)).filter(column => !!column);
  }

  const validColumns = options.allColumns ? columns : (0,_columns__WEBPACK_IMPORTED_MODULE_0__.gridVisibleColumnDefinitionsSelector)(apiRef);
  return validColumns.filter(column => !column.disableExport);
};
const defaultGetRowsToExport = ({
  apiRef
}) => {
  var _pinnedRows$top, _pinnedRows$bottom;

  const filteredSortedRowIds = (0,_filter__WEBPACK_IMPORTED_MODULE_1__.gridFilteredSortedRowIdsSelector)(apiRef);
  const rowTree = (0,_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__.gridRowTreeSelector)(apiRef);
  const selectedRows = apiRef.current.getSelectedRows();
  const bodyRows = filteredSortedRowIds.filter(id => {
    var _rowTree$id$position;

    return ((_rowTree$id$position = rowTree[id].position) != null ? _rowTree$id$position : 'body') === 'body';
  });
  const pinnedRows = (0,_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__.gridPinnedRowsSelector)(apiRef);
  const topPinnedRowsIds = (pinnedRows == null ? void 0 : (_pinnedRows$top = pinnedRows.top) == null ? void 0 : _pinnedRows$top.map(row => row.id)) || [];
  const bottomPinnedRowsIds = (pinnedRows == null ? void 0 : (_pinnedRows$bottom = pinnedRows.bottom) == null ? void 0 : _pinnedRows$bottom.map(row => row.id)) || [];
  bodyRows.unshift(...topPinnedRowsIds);
  bodyRows.push(...bottomPinnedRowsIds);

  if (selectedRows.size > 0) {
    return bodyRows.filter(id => selectedRows.has(id));
  }

  return bodyRows;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridFilterActiveItemsLookupSelector: () => (/* binding */ gridFilterActiveItemsLookupSelector),
/* harmony export */   gridFilterActiveItemsSelector: () => (/* binding */ gridFilterActiveItemsSelector),
/* harmony export */   gridFilterModelSelector: () => (/* binding */ gridFilterModelSelector),
/* harmony export */   gridFilterStateSelector: () => (/* binding */ gridFilterStateSelector),
/* harmony export */   gridFilteredDescendantCountLookupSelector: () => (/* binding */ gridFilteredDescendantCountLookupSelector),
/* harmony export */   gridFilteredRowsLookupSelector: () => (/* binding */ gridFilteredRowsLookupSelector),
/* harmony export */   gridFilteredSortedRowEntriesSelector: () => (/* binding */ gridFilteredSortedRowEntriesSelector),
/* harmony export */   gridFilteredSortedRowIdsSelector: () => (/* binding */ gridFilteredSortedRowIdsSelector),
/* harmony export */   gridQuickFilterValuesSelector: () => (/* binding */ gridQuickFilterValuesSelector),
/* harmony export */   gridVisibleRowCountSelector: () => (/* binding */ gridVisibleRowCountSelector),
/* harmony export */   gridVisibleRowsLookupSelector: () => (/* binding */ gridVisibleRowsLookupSelector),
/* harmony export */   gridVisibleRowsSelector: () => (/* binding */ gridVisibleRowsSelector),
/* harmony export */   gridVisibleSortedRowEntriesSelector: () => (/* binding */ gridVisibleSortedRowEntriesSelector),
/* harmony export */   gridVisibleSortedRowIdsSelector: () => (/* binding */ gridVisibleSortedRowIdsSelector),
/* harmony export */   gridVisibleSortedTopLevelRowEntriesSelector: () => (/* binding */ gridVisibleSortedTopLevelRowEntriesSelector),
/* harmony export */   gridVisibleTopLevelRowCountSelector: () => (/* binding */ gridVisibleTopLevelRowCountSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");
/* harmony import */ var _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sorting/gridSortingSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");




/**
 * @category Filtering
 */

const gridFilterStateSelector = state => state.filter;
/**
 * Get the current filter model.
 * @category Filtering
 */

const gridFilterModelSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterStateSelector, filterState => filterState.filterModel);
/**
 * Get the current quick filter values.
 * @category Filtering
 */

const gridQuickFilterValuesSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterModelSelector, filterModel => filterModel.quickFilterValues);
/**
 * @category Filtering
 * @ignore - do not document.
 */

const gridVisibleRowsLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterStateSelector, filterState => filterState.visibleRowsLookup);
/**
 * @category Filtering
 * @ignore - do not document.
 */

const gridFilteredRowsLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterStateSelector, filterState => filterState.filteredRowsLookup);
/**
 * @category Filtering
 * @ignore - do not document.
 */

const gridFilteredDescendantCountLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterStateSelector, filterState => filterState.filteredDescendantCountLookup);
/**
 * Get the id and the model of the rows accessible after the filtering process.
 * Does not contain the collapsed children.
 * @category Filtering
 */

const gridVisibleSortedRowEntriesSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleRowsLookupSelector, _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_1__.gridSortedRowEntriesSelector, (visibleRowsLookup, sortedRows) => sortedRows.filter(row => visibleRowsLookup[row.id] !== false));
/**
 * Get the id of the rows accessible after the filtering process.
 * Does not contain the collapsed children.
 * @category Filtering
 */

const gridVisibleSortedRowIdsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleSortedRowEntriesSelector, visibleSortedRowEntries => visibleSortedRowEntries.map(row => row.id));
/**
 * Get the id and the model of the rows accessible after the filtering process.
 * Contains the collapsed children.
 * @category Filtering
 */

const gridFilteredSortedRowEntriesSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilteredRowsLookupSelector, _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_1__.gridSortedRowEntriesSelector, (filteredRowsLookup, sortedRows) => sortedRows.filter(row => filteredRowsLookup[row.id] !== false));
/**
 * Get the id of the rows accessible after the filtering process.
 * Contains the collapsed children.
 * @category Filtering
 */

const gridFilteredSortedRowIdsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilteredSortedRowEntriesSelector, filteredSortedRowEntries => filteredSortedRowEntries.map(row => row.id));
/**
 * @category Filtering
 * @deprecated Use `gridVisibleSortedRowIdsSelector` instead
 * @ignore - do not document.
 * TODO: Add deprecation warning once we have the new selectors without the "visible" keyword.
 */

const gridVisibleRowsSelector = gridVisibleSortedRowIdsSelector;
/**
 * Get the id and the model of the top level rows accessible after the filtering process.
 * @category Filtering
 */

const gridVisibleSortedTopLevelRowEntriesSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleSortedRowEntriesSelector, _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_3__.gridRowTreeSelector, _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_3__.gridRowTreeDepthSelector, (visibleSortedRows, rowTree, rowTreeDepth) => {
  if (rowTreeDepth < 2) {
    return visibleSortedRows;
  }

  return visibleSortedRows.filter(row => {
    var _rowTree$row$id;

    return ((_rowTree$row$id = rowTree[row.id]) == null ? void 0 : _rowTree$row$id.depth) === 0;
  });
});
/**
 * Get the amount of rows accessible after the filtering process.
 * @category Filtering
 */

const gridVisibleRowCountSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleSortedRowEntriesSelector, visibleSortedRows => visibleSortedRows.length);
/**
 * Get the amount of top level rows accessible after the filtering process.
 * @category Filtering
 */

const gridVisibleTopLevelRowCountSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridVisibleSortedTopLevelRowEntriesSelector, visibleSortedTopLevelRows => visibleSortedTopLevelRows.length);
/**
 * @category Filtering
 * @ignore - do not document.
 */

const gridFilterActiveItemsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterModelSelector, _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__.gridColumnLookupSelector, (filterModel, columnLookup) => {
  var _filterModel$items;

  return (_filterModel$items = filterModel.items) == null ? void 0 : _filterModel$items.filter(item => {
    var _column$filterOperato, _item$value;

    if (!item.columnField) {
      return false;
    }

    const column = columnLookup[item.columnField];

    if (!(column != null && column.filterOperators) || (column == null ? void 0 : (_column$filterOperato = column.filterOperators) == null ? void 0 : _column$filterOperato.length) === 0) {
      return false;
    }

    const filterOperator = column.filterOperators.find(operator => operator.value === item.operatorValue);

    if (!filterOperator) {
      return false;
    }

    return !filterOperator.InputComponent || item.value != null && ((_item$value = item.value) == null ? void 0 : _item$value.toString()) !== '';
  });
});

/**
 * @category Filtering
 * @ignore - do not document.
 */
const gridFilterActiveItemsLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFilterActiveItemsSelector, activeFilters => {
  const result = activeFilters.reduce((res, filterItem) => {
    if (!res[filterItem.columnField]) {
      res[filterItem.columnField] = [filterItem];
    } else {
      res[filterItem.columnField].push(filterItem);
    }

    return res;
  }, {});
  return result;
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterState.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterState.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getDefaultGridFilterModel: () => (/* binding */ getDefaultGridFilterModel)
/* harmony export */ });
/* harmony import */ var _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../models/gridFilterItem */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFilterItem.js");

const getDefaultGridFilterModel = () => ({
  items: [],
  linkOperator: _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_0__.GridLinkOperator.And,
  quickFilterValues: [],
  quickFilterLogicOperator: _models_gridFilterItem__WEBPACK_IMPORTED_MODULE_0__.GridLinkOperator.And
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterUtils.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterUtils.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   buildAggregatedFilterApplier: () => (/* binding */ buildAggregatedFilterApplier),
/* harmony export */   buildAggregatedFilterItemsApplier: () => (/* binding */ buildAggregatedFilterItemsApplier),
/* harmony export */   buildAggregatedQuickFilterApplier: () => (/* binding */ buildAggregatedQuickFilterApplier),
/* harmony export */   cleanFilterItem: () => (/* binding */ cleanFilterItem),
/* harmony export */   mergeStateWithFilterModel: () => (/* binding */ mergeStateWithFilterModel),
/* harmony export */   passFilterLogic: () => (/* binding */ passFilterLogic),
/* harmony export */   sanitizeFilterModel: () => (/* binding */ sanitizeFilterModel)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../models */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFilterItem.js");
/* harmony import */ var _gridFilterState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gridFilterState */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterState.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");
/* harmony import */ var _columns__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../columns */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");






/**
 * Adds default values to the optional fields of a filter items.
 * @param {GridFilterItem} item The raw filter item.
 * @param {React.MutableRefObject<GridApiCommunity>} apiRef The API of the grid.
 * @return {GridFilterItem} The clean filter item with an uniq ID and an always-defined operatorValue.
 * TODO: Make the typing reflect the different between GridFilterInputItem and GridFilterItem.
 */
const cleanFilterItem = (item, apiRef) => {
  const cleanItem = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, item);

  if (cleanItem.id == null) {
    cleanItem.id = Math.round(Math.random() * 1e5);
  }

  if (cleanItem.operatorValue == null) {
    // Selects a default operator
    // We don't use `apiRef.current.getColumn` because it is not ready during state initialization
    const column = (0,_columns__WEBPACK_IMPORTED_MODULE_4__.gridColumnLookupSelector)(apiRef)[cleanItem.columnField];
    cleanItem.operatorValue = column && column.filterOperators[0].value;
  }

  return cleanItem;
};
const filterModelDisableMultiColumnsFilteringWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_3__.buildWarning)(['MUI: The `filterModel` can only contain a single item when the `disableMultipleColumnsFiltering` prop is set to `true`.', 'If you are using the community version of the `DataGrid`, this prop is always `true`.'], 'error');
const filterModelMissingItemIdWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_3__.buildWarning)("MUI: The 'id' field is required on `filterModel.items` when you use multiple filters.", 'error');
const filterModelMissingItemOperatorWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_3__.buildWarning)(['MUI: One of your filtering item have no `operatorValue` provided.', 'This property will become required on `@mui/x-data-grid@6.X`.']);
const sanitizeFilterModel = (model, disableMultipleColumnsFiltering, apiRef) => {
  const hasSeveralItems = model.items.length > 1;
  let items;

  if (hasSeveralItems && disableMultipleColumnsFiltering) {
    filterModelDisableMultiColumnsFilteringWarning();
    items = [model.items[0]];
  } else {
    items = model.items;
  }

  const hasItemsWithoutIds = hasSeveralItems && items.some(item => item.id == null);
  const hasItemWithoutOperator = items.some(item => item.operatorValue == null);

  if (hasItemsWithoutIds) {
    filterModelMissingItemIdWarning();
  }

  if (hasItemWithoutOperator) {
    filterModelMissingItemOperatorWarning();
  }

  if (hasItemWithoutOperator || hasItemsWithoutIds) {
    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, model, {
      items: items.map(item => cleanFilterItem(item, apiRef))
    });
  }

  if (model.items !== items) {
    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, model, {
      items
    });
  }

  return model;
};
const mergeStateWithFilterModel = (filterModel, disableMultipleColumnsFiltering, apiRef) => filteringState => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filteringState, {
  filterModel: sanitizeFilterModel(filterModel, disableMultipleColumnsFiltering, apiRef)
});

const getFilterCallbackFromItem = (filterItem, apiRef) => {
  if (!filterItem.columnField || !filterItem.operatorValue) {
    return null;
  }

  const column = apiRef.current.getColumn(filterItem.columnField);

  if (!column) {
    return null;
  }

  let parsedValue;

  if (column.valueParser) {
    var _filterItem$value;

    const parser = column.valueParser;
    parsedValue = Array.isArray(filterItem.value) ? (_filterItem$value = filterItem.value) == null ? void 0 : _filterItem$value.map(x => parser(x)) : parser(filterItem.value);
  } else {
    parsedValue = filterItem.value;
  }

  const newFilterItem = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterItem, {
    value: parsedValue
  });

  const filterOperators = column.filterOperators;

  if (!(filterOperators != null && filterOperators.length)) {
    throw new Error(`MUI: No filter operators found for column '${column.field}'.`);
  }

  const filterOperator = filterOperators.find(operator => operator.value === newFilterItem.operatorValue);

  if (!filterOperator) {
    throw new Error(`MUI: No filter operator found for column '${column.field}' and operator value '${newFilterItem.operatorValue}'.`);
  }

  const applyFilterOnRow = filterOperator.getApplyFilterFn(newFilterItem, column);

  if (typeof applyFilterOnRow !== 'function') {
    return null;
  }

  const fn = rowId => {
    const cellParams = apiRef.current.getCellParams(rowId, newFilterItem.columnField);
    return applyFilterOnRow(cellParams);
  };

  return {
    fn,
    item: newFilterItem
  };
};
/**
 * Generates a method to easily check if a row is matching the current filter model.
 * @param {GridFilterModel} filterModel The model with which we want to filter the rows.
 * @param {React.MutableRefObject<GridApiCommunity>} apiRef The API of the grid.
 * @returns {GridAggregatedFilterItemApplier | null} A method that checks if a row is matching the current filter model. If `null`, we consider that all the rows are matching the filters.
 */


const buildAggregatedFilterItemsApplier = (filterModel, apiRef) => {
  const {
    items
  } = filterModel;
  const appliers = items.map(item => getFilterCallbackFromItem(item, apiRef)).filter(callback => !!callback);

  if (appliers.length === 0) {
    return null;
  }

  return (rowId, shouldApplyFilter) => {
    const resultPerItemId = {};
    const filteredAppliers = shouldApplyFilter ? appliers.filter(applier => shouldApplyFilter(applier.item.columnField)) : appliers;
    filteredAppliers.forEach(applier => {
      resultPerItemId[applier.item.id] = applier.fn(rowId);
    });
    return resultPerItemId;
  };
};
/**
 * Generates a method to easily check if a row is matching the current quick filter.
 * @param {any[]} values The model with which we want to filter the rows.
 * @param {React.MutableRefObject<GridApiCommunity>} apiRef The API of the grid.
 * @returns {GridAggregatedFilterItemApplier | null} A method that checks if a row is matching the current filter model. If `null`, we consider that all the rows are matching the filters.
 */

const buildAggregatedQuickFilterApplier = (filterModel, apiRef) => {
  const {
    quickFilterValues = []
  } = filterModel;

  if (quickFilterValues.length === 0) {
    return null;
  }

  const columnsFields = (0,_columns__WEBPACK_IMPORTED_MODULE_4__.gridColumnFieldsSelector)(apiRef);
  const appliersPerColumnField = {};
  columnsFields.forEach(field => {
    const column = apiRef.current.getColumn(field);
    const getApplyQuickFilterFn = column == null ? void 0 : column.getApplyQuickFilterFn;

    if (!getApplyQuickFilterFn) {
      return;
    }

    appliersPerColumnField[field] = quickFilterValues.map(value => getApplyQuickFilterFn(value, column, apiRef));
  }); // If some value does not have an applier we ignore them

  const sanitizedQuickFilterValues = quickFilterValues.filter((value, index) => Object.keys(appliersPerColumnField).some(field => appliersPerColumnField[field][index] != null));

  if (sanitizedQuickFilterValues.length === 0) {
    return null;
  }

  return (rowId, shouldApplyFilter) => {
    const usedCellParams = {};
    const columnsFieldsToFilter = [];
    Object.keys(appliersPerColumnField).forEach(columnField => {
      if (!shouldApplyFilter || shouldApplyFilter(columnField)) {
        usedCellParams[columnField] = apiRef.current.getCellParams(rowId, columnField);
        columnsFieldsToFilter.push(columnField);
      }
    });
    const quickFilterValueResult = {};
    sanitizedQuickFilterValues.forEach((value, index) => {
      const isPassing = columnsFieldsToFilter.some(field => {
        var _appliersPerColumnFie, _appliersPerColumnFie2;

        if (appliersPerColumnField[field][index] == null) {
          return false;
        }

        return (_appliersPerColumnFie = (_appliersPerColumnFie2 = appliersPerColumnField[field])[index]) == null ? void 0 : _appliersPerColumnFie.call(_appliersPerColumnFie2, usedCellParams[field]);
      });
      quickFilterValueResult[value] = isPassing;
    });
    return quickFilterValueResult;
  };
};
const buildAggregatedFilterApplier = (filterModel, apiRef) => {
  const isRowMatchingFilterItems = buildAggregatedFilterItemsApplier(filterModel, apiRef);
  const isRowMatchingQuickFilter = buildAggregatedQuickFilterApplier(filterModel, apiRef);
  return (rowId, shouldApplyFilter) => ({
    passingFilterItems: isRowMatchingFilterItems && isRowMatchingFilterItems(rowId, shouldApplyFilter),
    passingQuickFilterValues: isRowMatchingQuickFilter && isRowMatchingQuickFilter(rowId, shouldApplyFilter)
  });
};
const passFilterLogic = (allFilterItemResults, allQuickFilterResults, filterModel, apiRef) => {
  var _filterModel$quickFil, _filterModel$linkOper;

  const cleanedFilterItems = filterModel.items.filter(item => getFilterCallbackFromItem(item, apiRef) !== null);
  const cleanedAllFilterItemResults = allFilterItemResults.filter(result => result != null);
  const cleanedAllQuickFilterResults = allQuickFilterResults.filter(result => result != null); // Defaultize operators

  const quickFilterLogicOperator = (_filterModel$quickFil = filterModel.quickFilterLogicOperator) != null ? _filterModel$quickFil : (0,_gridFilterState__WEBPACK_IMPORTED_MODULE_2__.getDefaultGridFilterModel)().quickFilterLogicOperator;
  const linkOperator = (_filterModel$linkOper = filterModel.linkOperator) != null ? _filterModel$linkOper : (0,_gridFilterState__WEBPACK_IMPORTED_MODULE_2__.getDefaultGridFilterModel)().linkOperator; // get result for filter items model

  if (cleanedAllFilterItemResults.length > 0) {
    // Return true if the item pass with one of the rows
    const filterItemPredicate = item => {
      return cleanedAllFilterItemResults.some(filterItemResult => filterItemResult[item.id]);
    };

    if (linkOperator === _models__WEBPACK_IMPORTED_MODULE_1__.GridLinkOperator.And) {
      const passesAllFilters = cleanedFilterItems.every(filterItemPredicate);

      if (!passesAllFilters) {
        return false;
      }
    } else {
      const passesSomeFilters = cleanedFilterItems.some(filterItemPredicate);

      if (!passesSomeFilters) {
        return false;
      }
    }
  } // get result for quick filter model


  if (cleanedAllQuickFilterResults.length > 0 && filterModel.quickFilterValues != null) {
    // Return true if the item pass with one of the rows
    const quickFilterValuePredicate = value => {
      return cleanedAllQuickFilterResults.some(quickFilterValueResult => quickFilterValueResult[value]);
    };

    if (quickFilterLogicOperator === _models__WEBPACK_IMPORTED_MODULE_1__.GridLinkOperator.And) {
      const passesAllQuickFilterValues = filterModel.quickFilterValues.every(quickFilterValuePredicate);

      if (!passesAllQuickFilterValues) {
        return false;
      }
    } else {
      const passesSomeQuickFilterValues = filterModel.quickFilterValues.some(quickFilterValuePredicate);

      if (!passesSomeQuickFilterValues) {
        return false;
      }
    }
  }

  return true;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/useGridFilter.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/useGridFilter.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   filterStateInitializer: () => (/* binding */ filterStateInitializer),
/* harmony export */   useGridFilter: () => (/* binding */ useGridFilter)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _models_gridFeatureMode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../models/gridFeatureMode */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFeatureMode.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../preferencesPanel/gridPreferencePanelsValue */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js");
/* harmony import */ var _gridFilterState__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./gridFilterState */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterState.js");
/* harmony import */ var _gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _utils_useFirstRender__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/useFirstRender */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useFirstRender.js");
/* harmony import */ var _rows__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../rows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../core/strategyProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js");
/* harmony import */ var _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../core/strategyProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridStrategyProcessing.js");
/* harmony import */ var _gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./gridFilterUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterUtils.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");

















const filterStateInitializer = (state, props, apiRef) => {
  var _ref, _props$filterModel, _props$initialState, _props$initialState$f;

  const filterModel = (_ref = (_props$filterModel = props.filterModel) != null ? _props$filterModel : (_props$initialState = props.initialState) == null ? void 0 : (_props$initialState$f = _props$initialState.filter) == null ? void 0 : _props$initialState$f.filterModel) != null ? _ref : (0,_gridFilterState__WEBPACK_IMPORTED_MODULE_8__.getDefaultGridFilterModel)();
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    filter: {
      filterModel: (0,_gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__.sanitizeFilterModel)(filterModel, props.disableMultipleColumnsFiltering, apiRef),
      visibleRowsLookup: {},
      filteredDescendantCountLookup: {}
    }
  });
};
/**
 * @requires useGridColumns (method, event)
 * @requires useGridParamsApi (method)
 * @requires useGridRows (event)
 */

const useGridFilter = (apiRef, props) => {
  var _props$initialState3, _props$initialState3$, _props$componentsProp2;

  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_5__.useGridLogger)(apiRef, 'useGridFilter');
  apiRef.current.unstable_registerControlState({
    stateId: 'filter',
    propModel: props.filterModel,
    propOnChange: props.onFilterModelChange,
    stateSelector: _gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector,
    changeEvent: 'filterModelChange'
  });
  const updateFilteredRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    apiRef.current.setState(state => {
      const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(state, apiRef.current.instanceId);
      const isRowMatchingFilters = props.filterMode === _models_gridFeatureMode__WEBPACK_IMPORTED_MODULE_2__.GridFeatureModeConstant.client ? (0,_gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__.buildAggregatedFilterApplier)(filterModel, apiRef) : null;
      const filteringResult = apiRef.current.unstable_applyStrategyProcessor('filtering', {
        isRowMatchingFilters,
        filterModel: filterModel != null ? filterModel : (0,_gridFilterState__WEBPACK_IMPORTED_MODULE_8__.getDefaultGridFilterModel)()
      });
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        filter: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.filter, filteringResult)
      });
    });
    apiRef.current.publishEvent('filteredRowsSet');
  }, [props.filterMode, apiRef]);
  /**
   * API METHODS
   */

  const applyFilters = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    updateFilteredRows();
    apiRef.current.forceUpdate();
  }, [apiRef, updateFilteredRows]);
  const upsertFilterItem = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(item => {
    const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);
    const items = [...filterModel.items];
    const itemIndex = items.findIndex(filterItem => filterItem.id === item.id);

    if (itemIndex === -1) {
      items.push(item);
    } else {
      items[itemIndex] = item;
    }

    apiRef.current.setFilterModel((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterModel, {
      items
    }), 'upsertFilterItem');
  }, [apiRef]);
  const upsertFilterItems = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(items => {
    const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);
    const existingItems = [...filterModel.items];
    items.forEach(item => {
      const itemIndex = items.findIndex(filterItem => filterItem.id === item.id);

      if (itemIndex === -1) {
        existingItems.push(item);
      } else {
        existingItems[itemIndex] = item;
      }
    });
    apiRef.current.setFilterModel((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterModel, {
      items
    }), 'upsertFilterItems');
  }, [apiRef]);
  const deleteFilterItem = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(itemToDelete => {
    const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);
    const items = filterModel.items.filter(item => item.id !== itemToDelete.id);

    if (items.length === filterModel.items.length) {
      return;
    }

    apiRef.current.setFilterModel((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterModel, {
      items
    }), 'deleteFilterItem');
  }, [apiRef]);
  const showFilterPanel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(targetColumnField => {
    logger.debug('Displaying filter panel');

    if (targetColumnField) {
      const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);
      const filterItemsWithValue = filterModel.items.filter(item => {
        var _column$filterOperato;

        if (item.value !== undefined) {
          return true;
        }

        const column = apiRef.current.getColumn(item.columnField);
        const filterOperator = (_column$filterOperato = column.filterOperators) == null ? void 0 : _column$filterOperato.find(operator => operator.value === item.operatorValue);
        const requiresFilterValue = typeof (filterOperator == null ? void 0 : filterOperator.requiresFilterValue) === 'undefined' ? true : filterOperator == null ? void 0 : filterOperator.requiresFilterValue; // Operators like `isEmpty` don't have and don't require `item.value`.
        // So we don't want to remove them from the filter model if `item.value === undefined`.
        // See https://github.com/mui/mui-x/issues/5402

        if (requiresFilterValue) {
          return false;
        }

        return true;
      });
      let newFilterItems;
      const filterItemOnTarget = filterItemsWithValue.find(item => item.columnField === targetColumnField);

      if (filterItemOnTarget) {
        newFilterItems = filterItemsWithValue;
      } else if (props.disableMultipleColumnsFiltering) {
        newFilterItems = [(0,_gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__.cleanFilterItem)({
          columnField: targetColumnField
        }, apiRef)];
      } else {
        newFilterItems = [...filterItemsWithValue, (0,_gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__.cleanFilterItem)({
          columnField: targetColumnField
        }, apiRef)];
      }

      apiRef.current.setFilterModel((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterModel, {
        items: newFilterItems
      }));
    }

    apiRef.current.showPreferences(_preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_7__.GridPreferencePanelsValue.filters);
  }, [apiRef, logger, props.disableMultipleColumnsFiltering]);
  const hideFilterPanel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    logger.debug('Hiding filter panel');
    apiRef.current.hidePreferences();
  }, [apiRef, logger]);
  const setFilterLinkOperator = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(linkOperator => {
    const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);

    if (filterModel.linkOperator === linkOperator) {
      return;
    }

    apiRef.current.setFilterModel((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterModel, {
      linkOperator
    }), 'changeLogicOperator');
  }, [apiRef]);
  const setQuickFilterValues = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(values => {
    const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);

    if ((0,_utils_utils__WEBPACK_IMPORTED_MODULE_16__.isDeepEqual)(filterModel.quickFilterValues, values)) {
      return;
    }

    apiRef.current.setFilterModel((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterModel, {
      quickFilterValues: [...values]
    }));
  }, [apiRef]);
  const setFilterModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((model, reason) => {
    const currentModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);

    if (currentModel !== model) {
      logger.debug('Setting filter model');
      apiRef.current.unstable_updateControlState('filter', (0,_gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__.mergeStateWithFilterModel)(model, props.disableMultipleColumnsFiltering, apiRef), reason);
      apiRef.current.unstable_applyFilters();
    }
  }, [apiRef, logger, props.disableMultipleColumnsFiltering]);
  const getVisibleRowModels = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    const visibleSortedRows = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridVisibleSortedRowEntriesSelector)(apiRef);
    return new Map(visibleSortedRows.map(row => [row.id, row.model]));
  }, [apiRef]);
  const filterApi = {
    setFilterLinkOperator,
    unstable_applyFilters: applyFilters,
    deleteFilterItem,
    upsertFilterItem,
    upsertFilterItems,
    setFilterModel,
    showFilterPanel,
    hideFilterPanel,
    getVisibleRowModels,
    setQuickFilterValues
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_4__.useGridApiMethod)(apiRef, filterApi, 'GridFilterApi');
  /**
   * PRE-PROCESSING
   */

  const stateExportPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((prevState, context) => {
    var _props$initialState2, _props$initialState2$;

    const filterModelToExport = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);
    const shouldExportFilterModel = // Always export if the `exportOnlyDirtyModels` property is activated
    !context.exportOnlyDirtyModels || // Always export if the model is controlled
    props.filterModel != null || // Always export if the model has been initialized
    ((_props$initialState2 = props.initialState) == null ? void 0 : (_props$initialState2$ = _props$initialState2.filter) == null ? void 0 : _props$initialState2$.filterModel) != null || // Export if the model is not equal to the default value
    !(0,_utils_utils__WEBPACK_IMPORTED_MODULE_16__.isDeepEqual)(filterModelToExport, (0,_gridFilterState__WEBPACK_IMPORTED_MODULE_8__.getDefaultGridFilterModel)());

    if (!shouldExportFilterModel) {
      return prevState;
    }

    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState, {
      filter: {
        filterModel: filterModelToExport
      }
    });
  }, [apiRef, props.filterModel, (_props$initialState3 = props.initialState) == null ? void 0 : (_props$initialState3$ = _props$initialState3.filter) == null ? void 0 : _props$initialState3$.filterModel]);
  const stateRestorePreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, context) => {
    var _context$stateToResto;

    const filterModel = (_context$stateToResto = context.stateToRestore.filter) == null ? void 0 : _context$stateToResto.filterModel;

    if (filterModel == null) {
      return params;
    }

    apiRef.current.unstable_updateControlState('filter', (0,_gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__.mergeStateWithFilterModel)(filterModel, props.disableMultipleColumnsFiltering, apiRef), 'restoreState');
    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
      callbacks: [...params.callbacks, apiRef.current.unstable_applyFilters]
    });
  }, [apiRef, props.disableMultipleColumnsFiltering]);
  const preferencePanelPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((initialValue, value) => {
    if (value === _preferencesPanel_gridPreferencePanelsValue__WEBPACK_IMPORTED_MODULE_7__.GridPreferencePanelsValue.filters) {
      var _props$componentsProp;

      const FilterPanel = props.components.FilterPanel;
      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(FilterPanel, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (_props$componentsProp = props.componentsProps) == null ? void 0 : _props$componentsProp.filterPanel));
    }

    return initialValue;
  }, [props.components.FilterPanel, (_props$componentsProp2 = props.componentsProps) == null ? void 0 : _props$componentsProp2.filterPanel]);
  const flatFilteringMethod = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    if (props.filterMode === _models_gridFeatureMode__WEBPACK_IMPORTED_MODULE_2__.GridFeatureModeConstant.client && params.isRowMatchingFilters) {
      const rowIds = (0,_rows__WEBPACK_IMPORTED_MODULE_11__.gridRowIdsSelector)(apiRef);
      const filteredRowsLookup = {};

      for (let i = 0; i < rowIds.length; i += 1) {
        const rowId = rowIds[i];
        let isRowPassing;

        if (typeof rowId === 'string' && rowId.startsWith('auto-generated-group-footer')) {
          isRowPassing = true;
        } else {
          const {
            passingFilterItems,
            passingQuickFilterValues
          } = params.isRowMatchingFilters(rowId);
          isRowPassing = (0,_gridFilterUtils__WEBPACK_IMPORTED_MODULE_15__.passFilterLogic)([passingFilterItems], [passingQuickFilterValues], params.filterModel, apiRef);
        }

        filteredRowsLookup[rowId] = isRowPassing;
      }

      return {
        filteredRowsLookup,
        // For flat tree, the `visibleRowsLookup` and the `filteredRowsLookup` since no row is collapsed.
        visibleRowsLookup: filteredRowsLookup,
        filteredDescendantCountLookup: {}
      };
    }

    return {
      visibleRowsLookup: {},
      filteredRowsLookup: {},
      filteredDescendantCountLookup: {}
    };
  }, [apiRef, props.filterMode]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_12__.useGridRegisterPipeProcessor)(apiRef, 'exportState', stateExportPreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_12__.useGridRegisterPipeProcessor)(apiRef, 'restoreState', stateRestorePreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_12__.useGridRegisterPipeProcessor)(apiRef, 'preferencePanel', preferencePanelPreProcessing);
  (0,_core_strategyProcessing__WEBPACK_IMPORTED_MODULE_13__.useGridRegisterStrategyProcessor)(apiRef, _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_14__.GRID_DEFAULT_STRATEGY, 'filtering', flatFilteringMethod);
  /**
   * EVENTS
   */

  const handleColumnsChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    logger.debug('onColUpdated - GridColumns changed, applying filters');
    const filterModel = (0,_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridFilterModelSelector)(apiRef);
    const filterableColumnsLookup = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_6__.gridFilterableColumnLookupSelector)(apiRef);
    const newFilterItems = filterModel.items.filter(item => item.columnField && filterableColumnsLookup[item.columnField]);

    if (newFilterItems.length < filterModel.items.length) {
      apiRef.current.setFilterModel((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, filterModel, {
        items: newFilterItems
      }));
    }
  }, [apiRef, logger]);
  const handleStrategyProcessorChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(methodName => {
    if (methodName === 'filtering') {
      apiRef.current.unstable_applyFilters();
    }
  }, [apiRef]); // Do not call `apiRef.current.forceUpdate` to avoid re-render before updating the sorted rows.
  // Otherwise, the state is not consistent during the render

  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'rowsSet', updateFilteredRows);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'rowExpansionChange', apiRef.current.unstable_applyFilters);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'columnsChange', handleColumnsChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'activeStrategyProcessorChange', handleStrategyProcessorChange);
  /**
   * 1ST RENDER
   */

  (0,_utils_useFirstRender__WEBPACK_IMPORTED_MODULE_10__.useFirstRender)(() => {
    apiRef.current.unstable_applyFilters();
  });
  /**
   * EFFECTS
   */

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (props.filterModel !== undefined) {
      apiRef.current.setFilterModel(props.filterModel);
    }
  }, [apiRef, logger, props.filterModel]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridFocusCellSelector: () => (/* binding */ gridFocusCellSelector),
/* harmony export */   gridFocusColumnHeaderSelector: () => (/* binding */ gridFocusColumnHeaderSelector),
/* harmony export */   gridFocusStateSelector: () => (/* binding */ gridFocusStateSelector),
/* harmony export */   gridTabIndexCellSelector: () => (/* binding */ gridTabIndexCellSelector),
/* harmony export */   gridTabIndexColumnHeaderSelector: () => (/* binding */ gridTabIndexColumnHeaderSelector),
/* harmony export */   gridTabIndexStateSelector: () => (/* binding */ gridTabIndexStateSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");

const gridFocusStateSelector = state => state.focus;
const gridFocusCellSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFocusStateSelector, focusState => focusState.cell);
const gridFocusColumnHeaderSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridFocusStateSelector, focusState => focusState.columnHeader);
const gridTabIndexStateSelector = state => state.tabIndex;
const gridTabIndexCellSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridTabIndexStateSelector, state => state.cell);
const gridTabIndexColumnHeaderSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridTabIndexStateSelector, state => state.columnHeader);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/useGridFocus.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/useGridFocus.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   focusStateInitializer: () => (/* binding */ focusStateInitializer),
/* harmony export */   useGridFocus: () => (/* binding */ useGridFocus)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");











const focusStateInitializer = state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  focus: {
    cell: null,
    columnHeader: null
  },
  tabIndex: {
    cell: null,
    columnHeader: null
  }
});
/**
 * @requires useGridParamsApi (method)
 * @requires useGridRows (method)
 * @requires useGridEditing (event)
 */

const useGridFocus = (apiRef, props) => {
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_4__.useGridLogger)(apiRef, 'useGridFocus');
  const lastClickedCell = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const publishCellFocusOut = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((cell, event) => {
    if (cell) {
      // The row might have been deleted
      if (apiRef.current.getRow(cell.id)) {
        apiRef.current.publishEvent('cellFocusOut', apiRef.current.getCellParams(cell.id, cell.field), event);
      }
    }
  }, [apiRef]);
  const setCellFocus = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field) => {
    const focusedCell = (0,_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__.gridFocusCellSelector)(apiRef);

    if ((focusedCell == null ? void 0 : focusedCell.id) === id && (focusedCell == null ? void 0 : focusedCell.field) === field) {
      return;
    }

    apiRef.current.setState(state => {
      logger.debug(`Focusing on cell with id=${id} and field=${field}`);
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        tabIndex: {
          cell: {
            id,
            field
          },
          columnHeader: null
        },
        focus: {
          cell: {
            id,
            field
          },
          columnHeader: null
        }
      });
    });
    apiRef.current.forceUpdate(); // The row might have been deleted

    if (!apiRef.current.getRow(id)) {
      return;
    }

    if (focusedCell) {
      // There's a focused cell but another cell was clicked
      // Publishes an event to notify that the focus was lost
      publishCellFocusOut(focusedCell, {});
    }

    apiRef.current.publishEvent('cellFocusIn', apiRef.current.getCellParams(id, field));
  }, [apiRef, logger, publishCellFocusOut]);
  const setColumnHeaderFocus = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((field, event = {}) => {
    const cell = (0,_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__.gridFocusCellSelector)(apiRef);
    publishCellFocusOut(cell, event);
    apiRef.current.setState(state => {
      logger.debug(`Focusing on column header with colIndex=${field}`);
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        tabIndex: {
          columnHeader: {
            field
          },
          cell: null
        },
        focus: {
          columnHeader: {
            field
          },
          cell: null
        }
      });
    });
    apiRef.current.forceUpdate();
  }, [apiRef, logger, publishCellFocusOut]);
  const moveFocusToRelativeCell = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, field, direction) => {
    let columnIndexToFocus = apiRef.current.getColumnIndex(field);
    let rowIndexToFocus = apiRef.current.getRowIndexRelativeToVisibleRows(id);
    const visibleColumns = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_8__.gridVisibleColumnDefinitionsSelector)(apiRef);

    if (direction === 'right') {
      columnIndexToFocus += 1;
    } else if (direction === 'left') {
      columnIndexToFocus -= 1;
    } else {
      rowIndexToFocus += 1;
    }

    const currentPage = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_9__.getVisibleRows)(apiRef, {
      pagination: props.pagination,
      paginationMode: props.paginationMode
    });

    if (columnIndexToFocus >= visibleColumns.length) {
      // Go to next row if we are after the last column
      rowIndexToFocus += 1;

      if (rowIndexToFocus < currentPage.rows.length) {
        // Go to first column of the next row if there's one more row
        columnIndexToFocus = 0;
      }
    } else if (columnIndexToFocus < 0) {
      // Go to previous row if we are before the first column
      rowIndexToFocus -= 1;

      if (rowIndexToFocus >= 0) {
        // Go to last column of the previous if there's one more row
        columnIndexToFocus = visibleColumns.length - 1;
      }
    }

    rowIndexToFocus = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_10__.clamp)(rowIndexToFocus, 0, currentPage.rows.length - 1);
    const rowToFocus = currentPage.rows[rowIndexToFocus];
    const colSpanInfo = apiRef.current.unstable_getCellColSpanInfo(rowToFocus.id, columnIndexToFocus);

    if (colSpanInfo && colSpanInfo.spannedByColSpan) {
      if (direction === 'left' || direction === 'below') {
        columnIndexToFocus = colSpanInfo.leftVisibleCellIndex;
      } else if (direction === 'right') {
        columnIndexToFocus = colSpanInfo.rightVisibleCellIndex;
      }
    }

    columnIndexToFocus = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_10__.clamp)(columnIndexToFocus, 0, visibleColumns.length - 1);
    const columnToFocus = visibleColumns[columnIndexToFocus];
    apiRef.current.setCellFocus(rowToFocus.id, columnToFocus.field);
  }, [apiRef, props.pagination, props.paginationMode]);
  const handleCellDoubleClick = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(({
    id,
    field
  }) => {
    apiRef.current.setCellFocus(id, field);
  }, [apiRef]);
  const handleCellKeyDown = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    // GRID_CELL_NAVIGATION_KEY_DOWN handles the focus on Enter, Tab and navigation keys
    if (event.key === 'Enter' || event.key === 'Tab' || (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_6__.isNavigationKey)(event.key)) {
      return;
    }

    apiRef.current.setCellFocus(params.id, params.field);
  }, [apiRef]);
  const handleColumnHeaderFocus = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(({
    field
  }, event) => {
    if (event.target !== event.currentTarget) {
      return;
    }

    apiRef.current.setColumnHeaderFocus(field, event);
  }, [apiRef]);
  const handleBlur = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    logger.debug(`Clearing focus`);
    apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
      focus: {
        cell: null,
        columnHeader: null
      }
    }));
  }, [logger, apiRef]);
  const handleCellMouseDown = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    lastClickedCell.current = params;
  }, []);
  const handleDocumentClick = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(event => {
    const cellParams = lastClickedCell.current;
    lastClickedCell.current = null;
    const focusedCell = (0,_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__.gridFocusCellSelector)(apiRef);

    if (!focusedCell) {
      if (cellParams) {
        apiRef.current.setCellFocus(cellParams.id, cellParams.field);
      }

      return;
    }

    if ((cellParams == null ? void 0 : cellParams.id) === focusedCell.id && (cellParams == null ? void 0 : cellParams.field) === focusedCell.field) {
      return;
    }

    const cellElement = apiRef.current.getCellElement(focusedCell.id, focusedCell.field);

    if (cellElement != null && cellElement.contains(event.target)) {
      return;
    }

    if (cellParams) {
      apiRef.current.setCellFocus(cellParams.id, cellParams.field);
    } else {
      apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        focus: {
          cell: null,
          columnHeader: null
        }
      }));
      apiRef.current.forceUpdate(); // There's a focused cell but another element (not a cell) was clicked
      // Publishes an event to notify that the focus was lost

      publishCellFocusOut(focusedCell, event);
    }
  }, [apiRef, publishCellFocusOut]);
  const handleCellModeChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    if (params.cellMode === 'view') {
      return;
    }

    const cell = (0,_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__.gridFocusCellSelector)(apiRef);

    if ((cell == null ? void 0 : cell.id) !== params.id || (cell == null ? void 0 : cell.field) !== params.field) {
      apiRef.current.setCellFocus(params.id, params.field);
    }
  }, [apiRef]);
  const handleRowSet = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    const cell = (0,_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_7__.gridFocusCellSelector)(apiRef); // If the focused cell is in a row which does not exist anymore, then remove the focus

    if (cell && !apiRef.current.getRow(cell.id)) {
      apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        focus: {
          cell: null,
          columnHeader: null
        }
      }));
    }
  }, [apiRef]);
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, {
    setCellFocus,
    setColumnHeaderFocus,
    unstable_moveFocusToRelativeCell: moveFocusToRelativeCell
  }, 'GridFocusApi');
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    const doc = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(apiRef.current.rootElementRef.current);
    doc.addEventListener('click', handleDocumentClick);
    return () => {
      doc.removeEventListener('click', handleDocumentClick);
    };
  }, [apiRef, handleDocumentClick]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'columnHeaderBlur', handleBlur);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellDoubleClick', handleCellDoubleClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellMouseDown', handleCellMouseDown);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellKeyDown', handleCellKeyDown);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'cellModeChange', handleCellModeChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'columnHeaderFocus', handleColumnHeaderFocus);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'rowsSet', handleRowSet);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js"
/*!**************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js ***!
  \**************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridKeyboardNavigation: () => (/* binding */ useGridKeyboardNavigation)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _colDef_gridCheckboxSelectionColDef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../colDef/gridCheckboxSelectionColDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridCheckboxSelectionColDef.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _constants_gridDetailPanelToggleField__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../constants/gridDetailPanelToggleField */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridDetailPanelToggleField.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");













function enrichPageRowsWithPinnedRows(apiRef, rows) {
  const pinnedRows = (0,_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_11__.gridPinnedRowsSelector)(apiRef) || {};
  return [...(pinnedRows.top || []), ...rows, ...(pinnedRows.bottom || [])];
}
/**
 * @requires useGridSorting (method) - can be after
 * @requires useGridFilter (state) - can be after
 * @requires useGridColumns (state, method) - can be after
 * @requires useGridDimensions (method) - can be after
 * @requires useGridFocus (method) - can be after
 * @requires useGridScroll (method) - can be after
 * @requires useGridColumnSpanning (method) - can be after
 */


const useGridKeyboardNavigation = (apiRef, props) => {
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_2__.useGridLogger)(apiRef, 'useGridKeyboardNavigation');
  const initialCurrentPageRows = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_5__.useGridVisibleRows)(apiRef, props).rows;
  const currentPageRows = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => enrichPageRowsWithPinnedRows(apiRef, initialCurrentPageRows), [apiRef, initialCurrentPageRows]);
  /**
   * @param {number} colIndex Index of the column to focus
   * @param {number} rowIndex index of the row to focus
   * @param {string} closestColumnToUse Which closest column cell to use when the cell is spanned by `colSpan`.
   * TODO replace with apiRef.current.unstable_moveFocusToRelativeCell()
   */

  const goToCell = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((colIndex, rowId, closestColumnToUse = 'left') => {
    const visibleSortedRows = (0,_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_4__.gridVisibleSortedRowEntriesSelector)(apiRef);
    const nextCellColSpanInfo = apiRef.current.unstable_getCellColSpanInfo(rowId, colIndex);

    if (nextCellColSpanInfo && nextCellColSpanInfo.spannedByColSpan) {
      if (closestColumnToUse === 'left') {
        colIndex = nextCellColSpanInfo.leftVisibleCellIndex;
      } else if (closestColumnToUse === 'right') {
        colIndex = nextCellColSpanInfo.rightVisibleCellIndex;
      }
    } // `scrollToIndexes` requires a rowIndex relative to all visible rows.
    // Those rows do not include pinned rows, but pinned rows do not need scroll anyway.


    const rowIndexRelativeToAllRows = visibleSortedRows.findIndex(row => row.id === rowId);
    logger.debug(`Navigating to cell row ${rowIndexRelativeToAllRows}, col ${colIndex}`);
    apiRef.current.scrollToIndexes({
      colIndex,
      rowIndex: rowIndexRelativeToAllRows
    });
    const field = apiRef.current.getVisibleColumns()[colIndex].field;
    apiRef.current.setCellFocus(rowId, field);
  }, [apiRef, logger]);
  const goToHeader = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((colIndex, event) => {
    logger.debug(`Navigating to header col ${colIndex}`);
    apiRef.current.scrollToIndexes({
      colIndex
    });
    const field = apiRef.current.getVisibleColumns()[colIndex].field;
    apiRef.current.setColumnHeaderFocus(field, event);
  }, [apiRef, logger]);
  const getRowIdFromIndex = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(rowIndex => {
    return currentPageRows[rowIndex].id;
  }, [currentPageRows]);
  const handleCellNavigationKeyDown = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((params, event) => {
    const dimensions = apiRef.current.getRootDimensions();

    if (currentPageRows.length === 0 || !dimensions) {
      return;
    }

    const viewportPageSize = apiRef.current.unstable_getViewportPageSize();
    const colIndexBefore = params.field ? apiRef.current.getColumnIndex(params.field) : 0;
    const rowIndexBefore = currentPageRows.findIndex(row => row.id === params.id);
    const firstRowIndexInPage = 0;
    const lastRowIndexInPage = currentPageRows.length - 1;
    const firstColIndex = 0;
    const lastColIndex = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_1__.gridVisibleColumnDefinitionsSelector)(apiRef).length - 1;
    let shouldPreventDefault = true;

    switch (event.key) {
      case 'ArrowDown':
      case 'Enter':
        {
          // TODO v6: Remove Enter case because `cellNavigationKeyDown` is not fired by the new editing API
          // "Enter" is only triggered by the row / cell editing feature
          if (rowIndexBefore < lastRowIndexInPage) {
            goToCell(colIndexBefore, getRowIdFromIndex(rowIndexBefore + 1));
          }

          break;
        }

      case 'ArrowUp':
        {
          if (rowIndexBefore > firstRowIndexInPage) {
            goToCell(colIndexBefore, getRowIdFromIndex(rowIndexBefore - 1));
          } else {
            goToHeader(colIndexBefore, event);
          }

          break;
        }

      case 'ArrowRight':
        {
          if (colIndexBefore < lastColIndex) {
            goToCell(colIndexBefore + 1, getRowIdFromIndex(rowIndexBefore), 'right');
          }

          break;
        }

      case 'ArrowLeft':
        {
          if (colIndexBefore > firstColIndex) {
            goToCell(colIndexBefore - 1, getRowIdFromIndex(rowIndexBefore));
          }

          break;
        }

      case 'Tab':
        {
          // "Tab" is only triggered by the row / cell editing feature
          if (event.shiftKey && colIndexBefore > firstColIndex) {
            goToCell(colIndexBefore - 1, getRowIdFromIndex(rowIndexBefore), 'left');
          } else if (!event.shiftKey && colIndexBefore < lastColIndex) {
            goToCell(colIndexBefore + 1, getRowIdFromIndex(rowIndexBefore), 'right');
          }

          break;
        }

      case ' ':
        {
          const field = params.field;

          if (field === _constants_gridDetailPanelToggleField__WEBPACK_IMPORTED_MODULE_10__.GRID_DETAIL_PANEL_TOGGLE_FIELD) {
            break;
          }

          const colDef = params.colDef;

          if (colDef && colDef.type === 'treeDataGroup') {
            break;
          }

          if (!event.shiftKey && rowIndexBefore < lastRowIndexInPage) {
            goToCell(colIndexBefore, getRowIdFromIndex(Math.min(rowIndexBefore + viewportPageSize, lastRowIndexInPage)));
          }

          break;
        }

      case 'PageDown':
        {
          if (rowIndexBefore < lastRowIndexInPage) {
            goToCell(colIndexBefore, getRowIdFromIndex(Math.min(rowIndexBefore + viewportPageSize, lastRowIndexInPage)));
          }

          break;
        }

      case 'PageUp':
        {
          // Go to the first row before going to header
          const nextRowIndex = Math.max(rowIndexBefore - viewportPageSize, firstRowIndexInPage);

          if (nextRowIndex !== rowIndexBefore && nextRowIndex >= firstRowIndexInPage) {
            goToCell(colIndexBefore, getRowIdFromIndex(nextRowIndex));
          } else {
            goToHeader(colIndexBefore, event);
          }

          break;
        }

      case 'Home':
        {
          if (event.ctrlKey || event.metaKey || event.shiftKey) {
            goToCell(firstColIndex, getRowIdFromIndex(firstRowIndexInPage));
          } else {
            goToCell(firstColIndex, getRowIdFromIndex(rowIndexBefore));
          }

          break;
        }

      case 'End':
        {
          if (event.ctrlKey || event.metaKey || event.shiftKey) {
            goToCell(lastColIndex, getRowIdFromIndex(lastRowIndexInPage));
          } else {
            goToCell(lastColIndex, getRowIdFromIndex(rowIndexBefore));
          }

          break;
        }

      default:
        {
          shouldPreventDefault = false;
        }
    }

    if (shouldPreventDefault) {
      event.preventDefault();
    }
  }, [apiRef, currentPageRows, goToCell, goToHeader, getRowIdFromIndex]);
  const handleColumnHeaderKeyDown = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((params, event) => {
    const headerTitleNode = event.currentTarget.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_7__.gridClasses.columnHeaderTitleContainerContent}`);
    const isFromInsideContent = !!headerTitleNode && headerTitleNode.contains(event.target);

    if (isFromInsideContent && params.field !== _colDef_gridCheckboxSelectionColDef__WEBPACK_IMPORTED_MODULE_6__.GRID_CHECKBOX_SELECTION_COL_DEF.field) {
      // When focus is on a nested input, keyboard events have no effect to avoid conflicts with native events.
      // There is one exception for the checkBoxHeader
      return;
    }

    const dimensions = apiRef.current.getRootDimensions();

    if (!dimensions) {
      return;
    }

    const viewportPageSize = apiRef.current.unstable_getViewportPageSize();
    const colIndexBefore = params.field ? apiRef.current.getColumnIndex(params.field) : 0;
    const firstRowIndexInPage = 0;
    const lastRowIndexInPage = currentPageRows.length - 1;
    const firstColIndex = 0;
    const lastColIndex = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_1__.gridVisibleColumnDefinitionsSelector)(apiRef).length - 1;
    let shouldPreventDefault = true;

    switch (event.key) {
      case 'ArrowDown':
        {
          if (firstRowIndexInPage !== null) {
            goToCell(colIndexBefore, getRowIdFromIndex(firstRowIndexInPage));
          }

          break;
        }

      case 'ArrowRight':
        {
          if (colIndexBefore < lastColIndex) {
            goToHeader(colIndexBefore + 1, event);
          }

          break;
        }

      case 'ArrowLeft':
        {
          if (colIndexBefore > firstColIndex) {
            goToHeader(colIndexBefore - 1, event);
          }

          break;
        }

      case 'PageDown':
        {
          if (firstRowIndexInPage !== null && lastRowIndexInPage !== null) {
            goToCell(colIndexBefore, getRowIdFromIndex(Math.min(firstRowIndexInPage + viewportPageSize, lastRowIndexInPage)));
          }

          break;
        }

      case 'Home':
        {
          goToHeader(firstColIndex, event);
          break;
        }

      case 'End':
        {
          goToHeader(lastColIndex, event);
          break;
        }

      case 'Enter':
        {
          if (event.ctrlKey || event.metaKey) {
            apiRef.current.toggleColumnMenu(params.field);
          }

          break;
        }

      case ' ':
        {
          // prevent Space event from scrolling
          break;
        }

      default:
        {
          shouldPreventDefault = false;
        }
    }

    if (shouldPreventDefault) {
      event.preventDefault();
    }
  }, [apiRef, currentPageRows, goToCell, goToHeader, getRowIdFromIndex]);
  const handleCellKeyDown = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((params, event) => {
    // Ignore portal
    if (!event.currentTarget.contains(event.target)) {
      return;
    } // Get the most recent params because the cell mode may have changed by another listener


    const cellParams = apiRef.current.getCellParams(params.id, params.field);

    if (cellParams.cellMode !== _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_8__.GridCellModes.Edit && (0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_9__.isNavigationKey)(event.key)) {
      apiRef.current.publishEvent('cellNavigationKeyDown', cellParams, event);
    }
  }, [apiRef]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellNavigationKeyDown', handleCellNavigationKeyDown);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'columnHeaderKeyDown', handleColumnHeaderKeyDown);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_3__.useGridApiEventHandler)(apiRef, 'cellKeyDown', handleCellKeyDown);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js"
/*!***************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js ***!
  \***************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridPageCountSelector: () => (/* binding */ gridPageCountSelector),
/* harmony export */   gridPageSelector: () => (/* binding */ gridPageSelector),
/* harmony export */   gridPageSizeSelector: () => (/* binding */ gridPageSizeSelector),
/* harmony export */   gridPaginatedVisibleSortedGridRowEntriesSelector: () => (/* binding */ gridPaginatedVisibleSortedGridRowEntriesSelector),
/* harmony export */   gridPaginatedVisibleSortedGridRowIdsSelector: () => (/* binding */ gridPaginatedVisibleSortedGridRowIdsSelector),
/* harmony export */   gridPaginationRowRangeSelector: () => (/* binding */ gridPaginationRowRangeSelector),
/* harmony export */   gridPaginationSelector: () => (/* binding */ gridPaginationSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");



/**
 * @category Pagination
 * @ignore - do not document.
 */

const gridPaginationSelector = state => state.pagination;
/**
 * Get the index of the page to render if the pagination is enabled
 * @category Pagination
 */

const gridPageSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridPaginationSelector, pagination => pagination.page);
/**
 * Get the maximum amount of rows to display on a single page if the pagination is enabled
 * @category Pagination
 */

const gridPageSizeSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridPaginationSelector, pagination => pagination.pageSize);
/**
 * Get the amount of pages needed to display all the rows if the pagination is enabled
 * @category Pagination
 */

const gridPageCountSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridPaginationSelector, pagination => pagination.pageCount);
/**
 * Get the index of the first and the last row to include in the current page if the pagination is enabled.
 * @category Pagination
 */

const gridPaginationRowRangeSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridPaginationSelector, _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__.gridRowTreeSelector, _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__.gridRowTreeDepthSelector, _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_1__.gridVisibleSortedRowEntriesSelector, _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_1__.gridVisibleSortedTopLevelRowEntriesSelector, (pagination, rowTree, rowTreeDepth, visibleSortedRowEntries, visibleSortedTopLevelRowEntries) => {
  const visibleTopLevelRowCount = visibleSortedTopLevelRowEntries.length;
  const topLevelFirstRowIndex = Math.min(pagination.pageSize * pagination.page, visibleTopLevelRowCount - 1);
  const topLevelLastRowIndex = Math.min(topLevelFirstRowIndex + pagination.pageSize - 1, visibleTopLevelRowCount - 1); // The range contains no element

  if (topLevelFirstRowIndex === -1 || topLevelLastRowIndex === -1) {
    return null;
  } // The tree is flat, there is no need to look for children


  if (rowTreeDepth < 2) {
    return {
      firstRowIndex: topLevelFirstRowIndex,
      lastRowIndex: topLevelLastRowIndex
    };
  }

  const topLevelFirstRow = visibleSortedTopLevelRowEntries[topLevelFirstRowIndex];
  const topLevelRowsInCurrentPageCount = topLevelLastRowIndex - topLevelFirstRowIndex + 1;
  const firstRowIndex = visibleSortedRowEntries.findIndex(row => row.id === topLevelFirstRow.id);
  let lastRowIndex = firstRowIndex;
  let topLevelRowAdded = 0;

  while (lastRowIndex < visibleSortedRowEntries.length && topLevelRowAdded <= topLevelRowsInCurrentPageCount) {
    const row = visibleSortedRowEntries[lastRowIndex];
    const depth = rowTree[row.id].depth;

    if (topLevelRowAdded < topLevelRowsInCurrentPageCount || depth > 0) {
      lastRowIndex += 1;
    }

    if (depth === 0) {
      topLevelRowAdded += 1;
    }
  }

  return {
    firstRowIndex,
    lastRowIndex: lastRowIndex - 1
  };
});
/**
 * Get the id and the model of each row to include in the current page if the pagination is enabled.
 * @category Pagination
 */

const gridPaginatedVisibleSortedGridRowEntriesSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_1__.gridVisibleSortedRowEntriesSelector, gridPaginationRowRangeSelector, (visibleSortedRowEntries, paginationRange) => {
  if (!paginationRange) {
    return [];
  }

  return visibleSortedRowEntries.slice(paginationRange.firstRowIndex, paginationRange.lastRowIndex + 1);
});
/**
 * Get the id of each row to include in the current page if the pagination is enabled.
 * @category Pagination
 */

const gridPaginatedVisibleSortedGridRowIdsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_1__.gridVisibleSortedRowIdsSelector, gridPaginationRowRangeSelector, (visibleSortedRowIds, paginationRange) => {
  if (!paginationRange) {
    return [];
  }

  return visibleSortedRowIds.slice(paginationRange.firstRowIndex, paginationRange.lastRowIndex + 1);
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPage.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPage.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPageCount: () => (/* binding */ getPageCount),
/* harmony export */   useGridPage: () => (/* binding */ useGridPage)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../filter */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _gridPaginationSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./gridPaginationSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");







const getPageCount = (rowCount, pageSize) => {
  if (pageSize > 0 && rowCount > 0) {
    return Math.ceil(rowCount / pageSize);
  }

  return 0;
};

const applyValidPage = paginationState => {
  if (!paginationState.pageCount) {
    return paginationState;
  }

  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, paginationState, {
    page: Math.max(Math.min(paginationState.page, paginationState.pageCount - 1), 0)
  });
};

const mergeStateWithPage = page => state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  pagination: applyValidPage((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.pagination, {
    page
  }))
});

const noRowCountInServerMode = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_9__.buildWarning)(["MUI: the 'rowCount' prop is undefined while using paginationMode='server'", 'For more detail, see http://mui.com/components/data-grid/pagination/#basic-implementation'], 'error');
/**
 * @requires useGridPageSize (event)
 */

const useGridPage = (apiRef, props) => {
  var _props$initialState2, _props$initialState2$;

  const logger = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.useGridLogger)(apiRef, 'useGridPage');
  const visibleTopLevelRowCount = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _filter__WEBPACK_IMPORTED_MODULE_6__.gridVisibleTopLevelRowCountSelector);
  apiRef.current.unstable_registerControlState({
    stateId: 'page',
    propModel: props.page,
    propOnChange: props.onPageChange,
    stateSelector: _gridPaginationSelector__WEBPACK_IMPORTED_MODULE_7__.gridPageSelector,
    changeEvent: 'pageChange'
  });
  /**
   * API METHODS
   */

  const setPage = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(page => {
    logger.debug(`Setting page to ${page}`);
    apiRef.current.setState(mergeStateWithPage(page));
    apiRef.current.forceUpdate();
  }, [apiRef, logger]);
  const pageApi = {
    setPage
  };
  (0,_utils__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, pageApi, 'GridPageApi');
  /**
   * PRE-PROCESSING
   */

  const stateExportPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((prevState, context) => {
    var _props$initialState, _props$initialState$p;

    const pageToExport = (0,_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_7__.gridPageSelector)(apiRef);
    const shouldExportPage = // Always export if the `exportOnlyDirtyModels` property is activated
    !context.exportOnlyDirtyModels || // Always export if the page is controlled
    props.page != null || // Always export if the page has been initialized
    ((_props$initialState = props.initialState) == null ? void 0 : (_props$initialState$p = _props$initialState.pagination) == null ? void 0 : _props$initialState$p.page) != null || // Export if the page is not equal to the default value
    pageToExport !== 0;

    if (!shouldExportPage) {
      return prevState;
    }

    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState, {
      pagination: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState.pagination, {
        page: pageToExport
      })
    });
  }, [apiRef, props.page, (_props$initialState2 = props.initialState) == null ? void 0 : (_props$initialState2$ = _props$initialState2.pagination) == null ? void 0 : _props$initialState2$.page]);
  const stateRestorePreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, context) => {
    var _context$stateToResto, _context$stateToResto2;

    // We apply the constraint even if the page did not change in case the pageSize changed.
    const page = (_context$stateToResto = (_context$stateToResto2 = context.stateToRestore.pagination) == null ? void 0 : _context$stateToResto2.page) != null ? _context$stateToResto : (0,_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_7__.gridPageSelector)(apiRef);
    apiRef.current.setState(mergeStateWithPage(page));
    return params;
  }, [apiRef]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_8__.useGridRegisterPipeProcessor)(apiRef, 'exportState', stateExportPreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_8__.useGridRegisterPipeProcessor)(apiRef, 'restoreState', stateRestorePreProcessing);
  /**
   * EVENTS
   */

  const handlePageSizeChange = pageSize => {
    apiRef.current.setState(state => {
      const pageCount = getPageCount(state.pagination.rowCount, pageSize);
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        pagination: applyValidPage((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.pagination, {
          pageCount,
          page: state.pagination.page
        }))
      });
    });
    apiRef.current.forceUpdate();
  };

  const handlePageChange = () => apiRef.current.scrollToIndexes({
    rowIndex: (0,_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_7__.gridPageSelector)(apiRef) * (0,_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_7__.gridPageSizeSelector)(apiRef)
  });

  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'pageSizeChange', handlePageSizeChange);
  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'pageChange', handlePageChange);
  /**
   * EFFECTS
   */

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (true) {
      if (props.paginationMode === 'server' && props.rowCount == null) {
        noRowCountInServerMode();
      }
    }
  }, [props.rowCount, props.paginationMode]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    apiRef.current.setState(state => {
      const rowCount = props.rowCount !== undefined ? props.rowCount : visibleTopLevelRowCount;
      const pageCount = getPageCount(rowCount, state.pagination.pageSize);
      const page = props.page == null ? state.pagination.page : props.page;
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        pagination: applyValidPage((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.pagination, {
          page,
          rowCount,
          pageCount
        }))
      });
    });
    apiRef.current.forceUpdate();
  }, [visibleTopLevelRowCount, props.rowCount, props.page, props.paginationMode, apiRef]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPageSize.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPageSize.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   defaultPageSize: () => (/* binding */ defaultPageSize),
/* harmony export */   useGridPageSize: () => (/* binding */ useGridPageSize)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _gridPaginationSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./gridPaginationSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var _density__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../density */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _rows_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../rows/gridRowsUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsUtils.js");







const defaultPageSize = autoPageSize => autoPageSize ? 0 : 100;

const mergeStateWithPageSize = pageSize => state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  pagination: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.pagination, {
    pageSize
  })
});
/**
 * @requires useGridDimensions (event) - can be after
 */


const useGridPageSize = (apiRef, props) => {
  var _props$initialState2, _props$initialState2$;

  const logger = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.useGridLogger)(apiRef, 'useGridPageSize');
  const rowHeight = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.useGridSelector)(apiRef, _density__WEBPACK_IMPORTED_MODULE_7__.gridDensityRowHeightSelector);
  apiRef.current.unstable_registerControlState({
    stateId: 'pageSize',
    propModel: props.pageSize,
    propOnChange: props.onPageSizeChange,
    stateSelector: _gridPaginationSelector__WEBPACK_IMPORTED_MODULE_6__.gridPageSizeSelector,
    changeEvent: 'pageSizeChange'
  });
  /**
   * API METHODS
   */

  const setPageSize = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(pageSize => {
    if (pageSize === (0,_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_6__.gridPageSizeSelector)(apiRef)) {
      return;
    }

    logger.debug(`Setting page size to ${pageSize}`);
    apiRef.current.setState(mergeStateWithPageSize(pageSize));
    apiRef.current.forceUpdate();
  }, [apiRef, logger]);
  const pageSizeApi = {
    setPageSize
  };
  (0,_utils__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, pageSizeApi, 'GridPageSizeApi');
  /**
   * PRE-PROCESSING
   */

  const stateExportPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((prevState, context) => {
    var _props$initialState, _props$initialState$p;

    const pageSizeToExport = (0,_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_6__.gridPageSizeSelector)(apiRef);
    const shouldExportPageSize = // Always export if the `exportOnlyDirtyModels` property is activated
    !context.exportOnlyDirtyModels || // Always export if the page size is controlled
    props.pageSize != null || // Always export if the page size has been initialized
    ((_props$initialState = props.initialState) == null ? void 0 : (_props$initialState$p = _props$initialState.pagination) == null ? void 0 : _props$initialState$p.pageSize) != null || // Export if the page size is not equal to the default value
    pageSizeToExport !== defaultPageSize(props.autoPageSize);

    if (!shouldExportPageSize) {
      return prevState;
    }

    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState, {
      pagination: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState.pagination, {
        pageSize: pageSizeToExport
      })
    });
  }, [apiRef, props.pageSize, (_props$initialState2 = props.initialState) == null ? void 0 : (_props$initialState2$ = _props$initialState2.pagination) == null ? void 0 : _props$initialState2$.pageSize, props.autoPageSize]);
  /**
   * TODO: Add error if `prop.autoHeight = true`
   */

  const stateRestorePreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, context) => {
    var _context$stateToResto;

    const pageSize = (_context$stateToResto = context.stateToRestore.pagination) == null ? void 0 : _context$stateToResto.pageSize;

    if (pageSize != null) {
      apiRef.current.setState(mergeStateWithPageSize(pageSize));
    }

    return params;
  }, [apiRef]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_8__.useGridRegisterPipeProcessor)(apiRef, 'exportState', stateExportPreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_8__.useGridRegisterPipeProcessor)(apiRef, 'restoreState', stateRestorePreProcessing);
  /**
   * EVENTS
   */

  const handleUpdateAutoPageSize = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    const dimensions = apiRef.current.getRootDimensions();

    if (!props.autoPageSize || !dimensions) {
      return;
    }

    const pinnedRowsHeight = (0,_rows_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.calculatePinnedRowsHeight)(apiRef);
    const maximumPageSizeWithoutScrollBar = Math.floor((dimensions.viewportInnerSize.height - pinnedRowsHeight.top - pinnedRowsHeight.bottom) / rowHeight);
    apiRef.current.setPageSize(maximumPageSizeWithoutScrollBar);
  }, [apiRef, props.autoPageSize, rowHeight]);
  (0,_utils__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'viewportInnerSizeChange', handleUpdateAutoPageSize);
  /**
   * EFFECTS
   */

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (props.pageSize != null && !props.autoPageSize) {
      apiRef.current.setPageSize(props.pageSize);
    }
  }, [apiRef, props.autoPageSize, props.pageSize]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    handleUpdateAutoPageSize();
  }, [handleUpdateAutoPageSize]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPagination.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPagination.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   paginationStateInitializer: () => (/* binding */ paginationStateInitializer),
/* harmony export */   useGridPagination: () => (/* binding */ useGridPagination)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _useGridPageSize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useGridPageSize */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPageSize.js");
/* harmony import */ var _useGridPage__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useGridPage */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/useGridPage.js");



const paginationStateInitializer = (state, props) => {
  var _props$initialState, _props$initialState$p, _ref, _props$page, _props$initialState2, _props$initialState2$, _props$rowCount, _props$rowCount2;

  let pageSize;

  if (props.pageSize != null) {
    pageSize = props.pageSize;
  } else if (((_props$initialState = props.initialState) == null ? void 0 : (_props$initialState$p = _props$initialState.pagination) == null ? void 0 : _props$initialState$p.pageSize) != null) {
    pageSize = props.initialState.pagination.pageSize;
  } else {
    pageSize = (0,_useGridPageSize__WEBPACK_IMPORTED_MODULE_1__.defaultPageSize)(props.autoPageSize);
  }

  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    pagination: {
      pageSize,
      page: (_ref = (_props$page = props.page) != null ? _props$page : (_props$initialState2 = props.initialState) == null ? void 0 : (_props$initialState2$ = _props$initialState2.pagination) == null ? void 0 : _props$initialState2$.page) != null ? _ref : 0,
      pageCount: (0,_useGridPage__WEBPACK_IMPORTED_MODULE_2__.getPageCount)((_props$rowCount = props.rowCount) != null ? _props$rowCount : 0, pageSize),
      rowCount: (_props$rowCount2 = props.rowCount) != null ? _props$rowCount2 : 0
    }
  });
};
/**
 * @requires useGridFilter (state)
 * @requires useGridDimensions (event) - can be after
 */

const useGridPagination = (apiRef, props) => {
  (0,_useGridPageSize__WEBPACK_IMPORTED_MODULE_1__.useGridPageSize)(apiRef, props);
  (0,_useGridPage__WEBPACK_IMPORTED_MODULE_2__.useGridPage)(apiRef, props);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelSelector.js"
/*!**************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelSelector.js ***!
  \**************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridPreferencePanelStateSelector: () => (/* binding */ gridPreferencePanelStateSelector)
/* harmony export */ });
const gridPreferencePanelStateSelector = state => state.preferencePanel;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js"
/*!************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelsValue.js ***!
  \************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridPreferencePanelsValue: () => (/* binding */ GridPreferencePanelsValue)
/* harmony export */ });
var GridPreferencePanelsValue;

(function (GridPreferencePanelsValue) {
  GridPreferencePanelsValue["filters"] = "filters";
  GridPreferencePanelsValue["columns"] = "columns";
})(GridPreferencePanelsValue || (GridPreferencePanelsValue = {}));



/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/useGridPreferencesPanel.js"
/*!**********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/useGridPreferencesPanel.js ***!
  \**********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   preferencePanelStateInitializer: () => (/* binding */ preferencePanelStateInitializer),
/* harmony export */   useGridPreferencesPanel: () => (/* binding */ useGridPreferencesPanel)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./gridPreferencePanelSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/preferencesPanel/gridPreferencePanelSelector.js");






const preferencePanelStateInitializer = (state, props) => {
  var _props$initialState$p, _props$initialState;

  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    preferencePanel: (_props$initialState$p = (_props$initialState = props.initialState) == null ? void 0 : _props$initialState.preferencePanel) != null ? _props$initialState$p : {
      open: false
    }
  });
};
/**
 * TODO: Add a single `setPreferencePanel` method to avoid multiple `setState`
 */

const useGridPreferencesPanel = (apiRef, props) => {
  var _props$initialState3;

  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__.useGridLogger)(apiRef, 'useGridPreferencesPanel');
  const hideTimeout = react__WEBPACK_IMPORTED_MODULE_1__.useRef();
  const immediateTimeout = react__WEBPACK_IMPORTED_MODULE_1__.useRef();
  /**
   * API METHODS
   */

  const hidePreferences = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    logger.debug('Hiding Preferences Panel');
    const preferencePanelState = (0,_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_5__.gridPreferencePanelStateSelector)(apiRef.current.state);

    if (preferencePanelState.openedPanelValue) {
      apiRef.current.publishEvent('preferencePanelClose', {
        openedPanelValue: preferencePanelState.openedPanelValue
      });
    }

    apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
      preferencePanel: {
        open: false
      }
    }));
    apiRef.current.forceUpdate();
  }, [apiRef, logger]); // This is to prevent the preferences from closing when you open a select box or another panel,
  // The issue is in MUI core V4 => Fixed in V5

  const doNotHidePanel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    immediateTimeout.current = setTimeout(() => clearTimeout(hideTimeout.current), 0);
  }, []); // This is a hack for the issue with Core V4, by delaying hiding the panel on the clickAwayListener,
  // we can cancel the action if the trigger element still need the panel...

  const hidePreferencesDelayed = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    hideTimeout.current = setTimeout(hidePreferences, 100);
  }, [hidePreferences]);
  const showPreferences = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(newValue => {
    logger.debug('Opening Preferences Panel');
    doNotHidePanel();
    apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
      preferencePanel: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.preferencePanel, {
        open: true,
        openedPanelValue: newValue
      })
    }));
    apiRef.current.publishEvent('preferencePanelOpen', {
      openedPanelValue: newValue
    });
    apiRef.current.forceUpdate();
  }, [logger, doNotHidePanel, apiRef]);
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__.useGridApiMethod)(apiRef, {
    showPreferences,
    hidePreferences: hidePreferencesDelayed
  }, 'ColumnMenuApi');
  /**
   * PRE-PROCESSING
   */

  const stateExportPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((prevState, context) => {
    var _props$initialState2;

    const preferencePanelToExport = (0,_gridPreferencePanelSelector__WEBPACK_IMPORTED_MODULE_5__.gridPreferencePanelStateSelector)(apiRef.current.state);
    const shouldExportPreferencePanel = // Always export if the `exportOnlyDirtyModels` property is activated
    !context.exportOnlyDirtyModels || // Always export if the panel was initialized
    ((_props$initialState2 = props.initialState) == null ? void 0 : _props$initialState2.preferencePanel) != null || // Always export if the panel is opened
    preferencePanelToExport.open;

    if (!shouldExportPreferencePanel) {
      return prevState;
    }

    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState, {
      preferencePanel: preferencePanelToExport
    });
  }, [apiRef, (_props$initialState3 = props.initialState) == null ? void 0 : _props$initialState3.preferencePanel]);
  const stateRestorePreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, context) => {
    const preferencePanel = context.stateToRestore.preferencePanel;

    if (preferencePanel != null) {
      apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        preferencePanel
      }));
    }

    return params;
  }, [apiRef]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_4__.useGridRegisterPipeProcessor)(apiRef, 'exportState', stateExportPreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_4__.useGridRegisterPipeProcessor)(apiRef, 'restoreState', stateRestorePreProcessing);
  /**
   * EFFECTS
   */

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    return () => {
      clearTimeout(hideTimeout.current);
      clearTimeout(immediateTimeout.current);
    };
  }, []);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsMetaSelector.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsMetaSelector.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridRowsMetaSelector: () => (/* binding */ gridRowsMetaSelector)
/* harmony export */ });
const gridRowsMetaSelector = state => state.rowsMeta;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridAdditionalRowGroupsSelector: () => (/* binding */ gridAdditionalRowGroupsSelector),
/* harmony export */   gridPinnedRowsCountSelector: () => (/* binding */ gridPinnedRowsCountSelector),
/* harmony export */   gridPinnedRowsSelector: () => (/* binding */ gridPinnedRowsSelector),
/* harmony export */   gridRowCountSelector: () => (/* binding */ gridRowCountSelector),
/* harmony export */   gridRowGroupingNameSelector: () => (/* binding */ gridRowGroupingNameSelector),
/* harmony export */   gridRowIdsSelector: () => (/* binding */ gridRowIdsSelector),
/* harmony export */   gridRowTreeDepthSelector: () => (/* binding */ gridRowTreeDepthSelector),
/* harmony export */   gridRowTreeSelector: () => (/* binding */ gridRowTreeSelector),
/* harmony export */   gridRowsIdToIdLookupSelector: () => (/* binding */ gridRowsIdToIdLookupSelector),
/* harmony export */   gridRowsLoadingSelector: () => (/* binding */ gridRowsLoadingSelector),
/* harmony export */   gridRowsLookupSelector: () => (/* binding */ gridRowsLookupSelector),
/* harmony export */   gridRowsStateSelector: () => (/* binding */ gridRowsStateSelector),
/* harmony export */   gridTopLevelRowCountSelector: () => (/* binding */ gridTopLevelRowCountSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");

const gridRowsStateSelector = state => state.rows;
const gridRowCountSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.totalRowCount);
const gridRowsLoadingSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.loading);
const gridTopLevelRowCountSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.totalTopLevelRowCount);
const gridRowsLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.idRowsLookup);
const gridRowsIdToIdLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.idToIdLookup);
const gridRowTreeSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.tree);
const gridRowGroupingNameSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.groupingName);
const gridRowTreeDepthSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.treeDepth);
const gridRowIdsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows.ids);
/**
 * @ignore - do not document.
 */

const gridAdditionalRowGroupsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridRowsStateSelector, rows => rows == null ? void 0 : rows.additionalRowGroups);
/**
 * @ignore - do not document.
 */

const gridPinnedRowsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridAdditionalRowGroupsSelector, additionalRowGroups => additionalRowGroups == null ? void 0 : additionalRowGroups.pinnedRows);
/**
 * @ignore - do not document.
 */

const gridPinnedRowsCountSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridPinnedRowsSelector, pinnedRows => {
  var _pinnedRows$top, _pinnedRows$bottom;

  return ((pinnedRows == null ? void 0 : (_pinnedRows$top = pinnedRows.top) == null ? void 0 : _pinnedRows$top.length) || 0) + ((pinnedRows == null ? void 0 : (_pinnedRows$bottom = pinnedRows.bottom) == null ? void 0 : _pinnedRows$bottom.length) || 0);
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsUtils.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsUtils.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   calculatePinnedRowsHeight: () => (/* binding */ calculatePinnedRowsHeight),
/* harmony export */   checkGridRowIdIsValid: () => (/* binding */ checkGridRowIdIsValid),
/* harmony export */   createRowsInternalCache: () => (/* binding */ createRowsInternalCache),
/* harmony export */   getRowIdFromRowModel: () => (/* binding */ getRowIdFromRowModel),
/* harmony export */   getRowsStateFromCache: () => (/* binding */ getRowsStateFromCache),
/* harmony export */   getTreeNodeDescendants: () => (/* binding */ getTreeNodeDescendants)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");


const _excluded = ["rowsBeforePartialUpdates"];

/**
 * A helper function to check if the id provided is valid.
 * @param {GridRowId} id Id as [[GridRowId]].
 * @param {GridRowModel | Partial<GridRowModel>} row Row as [[GridRowModel]].
 * @param {string} detailErrorMessage A custom error message to display for invalid IDs
 */

function checkGridRowIdIsValid(id, row, detailErrorMessage = 'A row was provided without id in the rows prop:') {
  if (id == null) {
    throw new Error(['MUI: The data grid component requires all rows to have a unique `id` property.', 'Alternatively, you can use the `getRowId` prop to specify a custom id for each row.', detailErrorMessage, JSON.stringify(row)].join('\n'));
  }
}
const getRowIdFromRowModel = (rowModel, getRowId, detailErrorMessage) => {
  const id = getRowId ? getRowId(rowModel) : rowModel.id;
  checkGridRowIdIsValid(id, rowModel, detailErrorMessage);
  return id;
};
const createRowsInternalCache = ({
  rows,
  getRowId,
  loading,
  rowCount
}) => {
  const cache = {
    rowsBeforePartialUpdates: rows,
    loadingPropBeforePartialUpdates: loading,
    rowCountPropBeforePartialUpdates: rowCount,
    idRowsLookup: {},
    idToIdLookup: {},
    ids: []
  };

  for (let i = 0; i < rows.length; i += 1) {
    const row = rows[i];
    const id = getRowIdFromRowModel(row, getRowId);
    cache.idRowsLookup[id] = row;
    cache.idToIdLookup[id] = id;
    cache.ids.push(id);
  }

  return cache;
};
const getRowsStateFromCache = ({
  apiRef,
  previousTree,
  rowCountProp,
  loadingProp
}) => {
  const _apiRef$current$unsta = apiRef.current.unstable_caches.rows,
        cacheForGrouping = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_apiRef$current$unsta, _excluded);

  const rowCount = rowCountProp != null ? rowCountProp : 0;
  const groupingResponse = apiRef.current.unstable_applyStrategyProcessor('rowTreeCreation', (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, cacheForGrouping, {
    previousTree
  }));
  const processedGroupingResponse = apiRef.current.unstable_applyPipeProcessors('hydrateRows', groupingResponse);
  const dataTopLevelRowCount = processedGroupingResponse.treeDepth === 1 ? processedGroupingResponse.ids.length : Object.values(processedGroupingResponse.tree).filter(node => node.parent == null && !node.isPinned).length;
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, processedGroupingResponse, {
    groupingResponseBeforeRowHydration: groupingResponse,
    loading: loadingProp,
    totalRowCount: Math.max(rowCount, processedGroupingResponse.ids.length),
    totalTopLevelRowCount: Math.max(rowCount, dataTopLevelRowCount)
  });
};
const getTreeNodeDescendants = (tree, parentId, skipAutoGeneratedRows) => {
  var _tree$parentId;

  const children = (_tree$parentId = tree[parentId]) == null ? void 0 : _tree$parentId.children;

  if (children == null) {
    return [];
  }

  const validDescendants = [];

  for (let i = 0; i < children.length; i += 1) {
    const child = children[i];
    const childNode = tree[child];

    if (!skipAutoGeneratedRows || !childNode.isAutoGenerated) {
      validDescendants.push(child);
    }

    validDescendants.push(...getTreeNodeDescendants(tree, childNode.id, skipAutoGeneratedRows));
  }

  return validDescendants;
};
function calculatePinnedRowsHeight(apiRef) {
  var _pinnedRows$top, _pinnedRows$bottom;

  const pinnedRows = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_2__.gridPinnedRowsSelector)(apiRef);
  const topPinnedRowsHeight = (pinnedRows == null ? void 0 : (_pinnedRows$top = pinnedRows.top) == null ? void 0 : _pinnedRows$top.reduce((acc, value) => {
    acc += apiRef.current.unstable_getRowHeight(value.id);
    return acc;
  }, 0)) || 0;
  const bottomPinnedRowsHeight = (pinnedRows == null ? void 0 : (_pinnedRows$bottom = pinnedRows.bottom) == null ? void 0 : _pinnedRows$bottom.reduce((acc, value) => {
    acc += apiRef.current.unstable_getRowHeight(value.id);
    return acc;
  }, 0)) || 0;
  return {
    top: topPinnedRowsHeight,
    bottom: bottomPinnedRowsHeight
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridParamsApi.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridParamsApi.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridParamsApi: () => (/* binding */ useGridParamsApi)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_domUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../utils/domUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/domUtils.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../focus/gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");





let warnedOnceMissingColumn = false;

function warnMissingColumn(field) {
  console.warn([`MUI: You are calling getValue('${field}') but the column \`${field}\` is not defined.`, `Instead, you can access the data from \`params.row.${field}\`.`].join('\n'));
  warnedOnceMissingColumn = true;
}

const getCellValueWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_4__.buildWarning)([`MUI: You are calling getValue. This method is deprecated and will be removed in the next major version.`, 'Instead, you can access the data from `params.row`.']);
/**
 * @requires useGridColumns (method)
 * @requires useGridRows (method)
 * @requires useGridFocus (state)
 * @requires useGridEditing (method)
 * TODO: Impossible priority - useGridEditing also needs to be after useGridParamsApi
 * TODO: Impossible priority - useGridFocus also needs to be after useGridParamsApi
 */

function useGridParamsApi(apiRef) {
  const getColumnHeaderParams = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(field => ({
    field,
    colDef: apiRef.current.getColumn(field)
  }), [apiRef]);
  /**
   * We want to remove the `getValue` param from `getRowParams`, `getCellParams` and `getBaseCellParams`
   */

  const getCellValueWithDeprecationWarning = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((...args) => {
    if (true) {
      getCellValueWarning();
    }

    return apiRef.current.getCellValue(...args);
  }, [apiRef]);
  const getRowParams = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(id => {
    const row = apiRef.current.getRow(id);

    if (!row) {
      throw new Error(`No row with id #${id} found`);
    }

    const params = {
      id,
      columns: apiRef.current.getAllColumns(),
      row,
      // TODO v6: remove
      getValue: getCellValueWithDeprecationWarning
    };
    return params;
  }, [apiRef, getCellValueWithDeprecationWarning]);
  const getBaseCellParams = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((id, field) => {
    const row = apiRef.current.getRow(id);
    const rowNode = apiRef.current.getRowNode(id);

    if (!row || !rowNode) {
      throw new Error(`No row with id #${id} found`);
    }

    const cellFocus = (0,_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_3__.gridFocusCellSelector)(apiRef);
    const cellTabIndex = (0,_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_3__.gridTabIndexCellSelector)(apiRef);
    const params = {
      id,
      field,
      row,
      rowNode,
      value: row[field],
      colDef: apiRef.current.getColumn(field),
      cellMode: apiRef.current.getCellMode(id, field),
      // TODO v6: remove
      getValue: getCellValueWithDeprecationWarning,
      api: apiRef.current,
      hasFocus: cellFocus !== null && cellFocus.field === field && cellFocus.id === id,
      tabIndex: cellTabIndex && cellTabIndex.field === field && cellTabIndex.id === id ? 0 : -1
    };
    return params;
  }, [apiRef, getCellValueWithDeprecationWarning]);
  const getCellParams = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((id, field) => {
    const colDef = apiRef.current.getColumn(field);
    const value = apiRef.current.getCellValue(id, field);
    const row = apiRef.current.getRow(id);
    const rowNode = apiRef.current.getRowNode(id);

    if (!row || !rowNode) {
      throw new Error(`No row with id #${id} found`);
    }

    const cellFocus = (0,_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_3__.gridFocusCellSelector)(apiRef);
    const cellTabIndex = (0,_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_3__.gridTabIndexCellSelector)(apiRef);
    const params = {
      id,
      field,
      row,
      rowNode,
      colDef,
      cellMode: apiRef.current.getCellMode(id, field),
      // TODO v6: remove
      getValue: getCellValueWithDeprecationWarning,
      hasFocus: cellFocus !== null && cellFocus.field === field && cellFocus.id === id,
      tabIndex: cellTabIndex && cellTabIndex.field === field && cellTabIndex.id === id ? 0 : -1,
      value,
      formattedValue: value
    };

    if (colDef && colDef.valueFormatter) {
      params.formattedValue = colDef.valueFormatter({
        id,
        field: params.field,
        value: params.value,
        api: apiRef.current
      });
    }

    params.isEditable = colDef && apiRef.current.isCellEditable(params);
    return params;
  }, [apiRef, getCellValueWithDeprecationWarning]);
  const getCellValue = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((id, field) => {
    const colDef = apiRef.current.getColumn(field);

    if (true) {
      if (!colDef && !warnedOnceMissingColumn) {
        warnMissingColumn(field);
      }
    }

    if (!colDef || !colDef.valueGetter) {
      const rowModel = apiRef.current.getRow(id);

      if (!rowModel) {
        throw new Error(`No row with id #${id} found`);
      }

      return rowModel[field];
    }

    return colDef.valueGetter(getBaseCellParams(id, field));
  }, [apiRef, getBaseCellParams]);
  const getColumnHeaderElement = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(field => {
    if (!apiRef.current.rootElementRef.current) {
      return null;
    }

    return (0,_utils_domUtils__WEBPACK_IMPORTED_MODULE_1__.getGridColumnHeaderElement)(apiRef.current.rootElementRef.current, field);
  }, [apiRef]);
  const getRowElement = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(id => {
    if (!apiRef.current.rootElementRef.current) {
      return null;
    }

    return (0,_utils_domUtils__WEBPACK_IMPORTED_MODULE_1__.getGridRowElement)(apiRef.current.rootElementRef.current, id);
  }, [apiRef]);
  const getCellElement = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((id, field) => {
    if (!apiRef.current.rootElementRef.current) {
      return null;
    }

    return (0,_utils_domUtils__WEBPACK_IMPORTED_MODULE_1__.getGridCellElement)(apiRef.current.rootElementRef.current, {
      id,
      field
    });
  }, [apiRef]);
  const paramsApi = {
    getCellValue,
    getCellParams,
    getCellElement,
    getRowParams,
    getRowElement,
    getColumnHeaderParams,
    getColumnHeaderElement
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__.useGridApiMethod)(apiRef, paramsApi, 'GridParamsApi');
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRows.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRows.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   rowsStateInitializer: () => (/* binding */ rowsStateInitializer),
/* harmony export */   useGridRows: () => (/* binding */ useGridRows)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../sorting/gridSortingSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./gridRowsUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsUtils.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js");











const rowsStateInitializer = (state, props, apiRef) => {
  apiRef.current.unstable_caches.rows = (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.createRowsInternalCache)({
    rows: props.rows,
    getRowId: props.getRowId,
    loading: props.loading,
    rowCount: props.rowCount
  });
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    rows: (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.getRowsStateFromCache)({
      apiRef,
      previousTree: null,
      rowCountProp: props.rowCount,
      loadingProp: props.loading
    })
  });
};
const useGridRows = (apiRef, props) => {
  if (true) {
    try {
      // Freeze the `rows` prop so developers have a fast failure if they try to use Array.prototype.push().
      Object.freeze(props.rows);
    } catch (error) {// Sometimes, it's impossible to freeze, so we give up on it.
    }
  }

  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_3__.useGridLogger)(apiRef, 'useGridRows');
  const currentPage = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_6__.useGridVisibleRows)(apiRef, props);
  const lastUpdateMs = react__WEBPACK_IMPORTED_MODULE_1__.useRef(Date.now());
  const timeout = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const getRow = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => {
    var _ref;

    return (_ref = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowsLookupSelector)(apiRef)[id]) != null ? _ref : null;
  }, [apiRef]);
  const lookup = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => currentPage.rows.reduce((acc, {
    id
  }, index) => {
    acc[id] = index;
    return acc;
  }, {}), [currentPage.rows]);
  const throttledRowsChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((newCache, throttle) => {
    const run = () => {
      timeout.current = null;
      lastUpdateMs.current = Date.now();
      apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        rows: (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.getRowsStateFromCache)({
          apiRef,
          previousTree: (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowTreeSelector)(apiRef),
          rowCountProp: props.rowCount,
          loadingProp: props.loading
        })
      }));
      apiRef.current.publishEvent('rowsSet');
      apiRef.current.forceUpdate();
    };

    if (timeout.current) {
      clearTimeout(timeout.current);
      timeout.current = null;
    }

    apiRef.current.unstable_caches.rows = newCache;

    if (!throttle) {
      run();
      return;
    }

    const throttleRemainingTimeMs = props.throttleRowsMs - (Date.now() - lastUpdateMs.current);

    if (throttleRemainingTimeMs > 0) {
      timeout.current = setTimeout(run, throttleRemainingTimeMs);
      return;
    }

    run();
  }, [props.throttleRowsMs, props.rowCount, props.loading, apiRef]);
  /**
   * API METHODS
   */

  const setRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(rows => {
    logger.debug(`Updating all rows, new length ${rows.length}`);
    const cache = (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.createRowsInternalCache)({
      rows,
      getRowId: props.getRowId,
      loading: props.loading,
      rowCount: props.rowCount
    });
    const prevCache = apiRef.current.unstable_caches.rows;
    cache.rowsBeforePartialUpdates = prevCache.rowsBeforePartialUpdates;
    throttledRowsChange(cache, true);
  }, [logger, props.getRowId, props.loading, props.rowCount, throttledRowsChange, apiRef]);
  const updateRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(updates => {
    if (props.signature === _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.GridSignature.DataGrid && updates.length > 1) {
      // TODO: Add test with direct call to `apiRef.current.updateRows` in DataGrid after enabling the `apiRef` on the free plan.
      throw new Error(["MUI: You can't update several rows at once in `apiRef.current.updateRows` on the DataGrid.", 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
    } // we remove duplicate updates. A server can batch updates, and send several updates for the same row in one fn call.


    const uniqueUpdates = new Map();
    updates.forEach(update => {
      const id = (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.getRowIdFromRowModel)(update, props.getRowId, 'A row was provided without id when calling updateRows():');

      if (uniqueUpdates.has(id)) {
        uniqueUpdates.set(id, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, uniqueUpdates.get(id), update));
      } else {
        uniqueUpdates.set(id, update);
      }
    });
    const deletedRowIds = [];
    const prevCache = apiRef.current.unstable_caches.rows;
    const newCache = {
      rowsBeforePartialUpdates: prevCache.rowsBeforePartialUpdates,
      loadingPropBeforePartialUpdates: prevCache.loadingPropBeforePartialUpdates,
      rowCountPropBeforePartialUpdates: prevCache.rowCountPropBeforePartialUpdates,
      idRowsLookup: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevCache.idRowsLookup),
      idToIdLookup: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevCache.idToIdLookup),
      ids: [...prevCache.ids]
    };
    uniqueUpdates.forEach((partialRow, id) => {
      // eslint-disable-next-line no-underscore-dangle
      if (partialRow._action === 'delete') {
        delete newCache.idRowsLookup[id];
        delete newCache.idToIdLookup[id];
        deletedRowIds.push(id);
        return;
      }

      const oldRow = apiRef.current.getRow(id);

      if (!oldRow) {
        newCache.idRowsLookup[id] = partialRow;
        newCache.idToIdLookup[id] = id;
        newCache.ids.push(id);
        return;
      }

      newCache.idRowsLookup[id] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, apiRef.current.getRow(id), partialRow);
    });

    if (deletedRowIds.length > 0) {
      newCache.ids = newCache.ids.filter(id => !deletedRowIds.includes(id));
    }

    throttledRowsChange(newCache, true);
  }, [props.signature, props.getRowId, throttledRowsChange, apiRef]);
  const getRowModels = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    const allRows = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowIdsSelector)(apiRef);
    const idRowsLookup = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowsLookupSelector)(apiRef);
    return new Map(allRows.map(id => [id, idRowsLookup[id]]));
  }, [apiRef]);
  const getRowsCount = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowCountSelector)(apiRef), [apiRef]);
  const getAllRowIds = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowIdsSelector)(apiRef), [apiRef]);
  const getRowIndexRelativeToVisibleRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => lookup[id], [lookup]);
  const setRowChildrenExpansion = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, isExpanded) => {
    const currentNode = apiRef.current.getRowNode(id);

    if (!currentNode) {
      throw new Error(`MUI: No row with id #${id} found`);
    }

    const newNode = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, currentNode, {
      childrenExpanded: isExpanded
    });

    apiRef.current.setState(state => {
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        rows: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows, {
          tree: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows.tree, {
            [id]: newNode
          })
        })
      });
    });
    apiRef.current.forceUpdate();
    apiRef.current.publishEvent('rowExpansionChange', newNode);
  }, [apiRef]);
  const getRowNode = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => {
    var _gridRowTreeSelector$;

    return (_gridRowTreeSelector$ = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowTreeSelector)(apiRef)[id]) != null ? _gridRowTreeSelector$ : null;
  }, [apiRef]);
  const getRowGroupChildren = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(({
    skipAutoGeneratedRows = true,
    groupId,
    applySorting,
    applyFiltering
  }) => {
    const tree = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowTreeSelector)(apiRef);
    let children;

    if (applySorting) {
      const groupNode = tree[groupId];

      if (!groupNode) {
        return [];
      }

      const sortedRowIds = (0,_sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_7__.gridSortedRowIdsSelector)(apiRef);
      children = [];
      const startIndex = sortedRowIds.findIndex(id => id === groupId) + 1;

      for (let index = startIndex; index < sortedRowIds.length && tree[sortedRowIds[index]].depth > groupNode.depth; index += 1) {
        const id = sortedRowIds[index];
        const node = tree[id];

        if (!skipAutoGeneratedRows || !node.isAutoGenerated) {
          children.push(id);
        }
      }
    } else {
      children = (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.getTreeNodeDescendants)(tree, groupId, skipAutoGeneratedRows);
    }

    if (applyFiltering) {
      const filteredRowsLookup = (0,_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_8__.gridFilteredRowsLookupSelector)(apiRef);
      children = children.filter(childId => filteredRowsLookup[childId] !== false);
    }

    return children;
  }, [apiRef]);
  const setRowIndex = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((rowId, targetIndex) => {
    const allRows = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowIdsSelector)(apiRef);
    const oldIndex = allRows.findIndex(row => row === rowId);

    if (oldIndex === -1 || oldIndex === targetIndex) {
      return;
    }

    logger.debug(`Moving row ${rowId} to index ${targetIndex}`);
    const updatedRows = [...allRows];
    updatedRows.splice(targetIndex, 0, updatedRows.splice(oldIndex, 1)[0]);
    apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
      rows: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows, {
        ids: updatedRows
      })
    }));
    apiRef.current.unstable_caches.rows.ids = updatedRows;
    apiRef.current.publishEvent('rowsSet');
  }, [apiRef, logger]);
  const replaceRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((firstRowToRender, newRows) => {
    if (props.signature === _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.GridSignature.DataGrid && newRows.length > 1) {
      throw new Error(["MUI: You can't replace rows using `apiRef.current.unstable_replaceRows` on the DataGrid.", 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\n'));
    }

    if (newRows.length === 0) {
      return;
    }

    const allRows = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowIdsSelector)(apiRef);
    const updatedRows = [...allRows];
    const idRowsLookup = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowsLookupSelector)(apiRef);
    const idToIdLookup = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowsIdToIdLookupSelector)(apiRef);
    const tree = (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowTreeSelector)(apiRef);

    const updatedIdRowsLookup = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, idRowsLookup);

    const updatedIdToIdLookup = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, idToIdLookup);

    const updatedTree = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, tree);

    const newRowEntries = newRows.map(newRowModel => {
      const rowId = (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.getRowIdFromRowModel)(newRowModel, props.getRowId, 'A row was provided without id when calling replaceRows().');
      return {
        id: rowId,
        model: newRowModel
      };
    });
    newRowEntries.forEach((row, index) => {
      const [replacedRowId] = updatedRows.splice(firstRowToRender + index, 1, row.id);
      delete updatedIdRowsLookup[replacedRowId];
      delete updatedIdToIdLookup[replacedRowId];
      delete updatedTree[replacedRowId];
    });
    newRowEntries.forEach(row => {
      const rowTreeNodeConfig = {
        id: row.id,
        parent: null,
        depth: 0,
        groupingKey: null,
        groupingField: null
      };
      updatedIdRowsLookup[row.id] = row.model;
      updatedIdToIdLookup[row.id] = row.id;
      updatedTree[row.id] = rowTreeNodeConfig;
    });
    apiRef.current.unstable_caches.rows.idRowsLookup = updatedIdRowsLookup;
    apiRef.current.unstable_caches.rows.idToIdLookup = updatedIdToIdLookup;
    apiRef.current.unstable_caches.rows.ids = updatedRows;
    apiRef.current.setState(state => {
      const newRowsState = {
        idRowsLookup: updatedIdRowsLookup,
        idToIdLookup: updatedIdToIdLookup,
        tree: updatedTree,
        ids: updatedRows
      };
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        rows: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows, newRowsState, {
          groupingResponseBeforeRowHydration: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows.groupingResponseBeforeRowHydration, newRowsState)
        })
      });
    });
    apiRef.current.publishEvent('rowsSet');
  }, [apiRef, props.signature, props.getRowId]);
  const rowApi = {
    getRow,
    getRowModels,
    getRowsCount,
    getAllRowIds,
    setRows,
    setRowIndex,
    updateRows,
    setRowChildrenExpansion,
    getRowNode,
    getRowIndexRelativeToVisibleRows,
    getRowGroupChildren,
    unstable_replaceRows: replaceRows
  };
  /**
   * EVENTS
   */

  const groupRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    logger.info(`Row grouping pre-processing have changed, regenerating the row tree`);
    let cache;

    if (apiRef.current.unstable_caches.rows.rowsBeforePartialUpdates === props.rows) {
      // The `props.rows` did not change since the last row grouping
      // We can use the current rows cache which contains the partial updates done recently.
      cache = apiRef.current.unstable_caches.rows;
    } else {
      // The `props.rows` has changed since the last row grouping
      // We must use the new `props.rows` on the new grouping
      // This occurs because this event is triggered before the `useEffect` on the rows when both the grouping pre-processing and the rows changes on the same render
      cache = (0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.createRowsInternalCache)({
        rows: props.rows,
        getRowId: props.getRowId,
        loading: props.loading,
        rowCount: props.rowCount
      });
    }

    throttledRowsChange(cache, false);
  }, [logger, apiRef, props.rows, props.getRowId, props.loading, props.rowCount, throttledRowsChange]);
  const handleStrategyProcessorChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(methodName => {
    if (methodName === 'rowTreeCreation') {
      groupRows();
    }
  }, [groupRows]);
  const handleStrategyActivityChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    // `rowTreeCreation` is the only processor ran when `strategyAvailabilityChange` is fired.
    // All the other processors listen to `rowsSet` which will be published by the `groupRows` method below.
    if (apiRef.current.unstable_getActiveStrategy('rowTree') !== (0,_gridRowsSelector__WEBPACK_IMPORTED_MODULE_4__.gridRowGroupingNameSelector)(apiRef)) {
      groupRows();
    }
  }, [apiRef, groupRows]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'activeStrategyProcessorChange', handleStrategyProcessorChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_5__.useGridApiEventHandler)(apiRef, 'strategyAvailabilityChange', handleStrategyActivityChange);
  /**
   * APPLIERS
   */

  const applyHydrateRowsProcessor = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
      rows: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows, apiRef.current.unstable_applyPipeProcessors('hydrateRows', state.rows.groupingResponseBeforeRowHydration))
    }));
    apiRef.current.publishEvent('rowsSet');
    apiRef.current.forceUpdate();
  }, [apiRef]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_10__.useGridRegisterPipeApplier)(apiRef, 'hydrateRows', applyHydrateRowsProcessor);
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_2__.useGridApiMethod)(apiRef, rowApi, 'GridRowApi');
  /**
   * EFFECTS
   */

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    return () => {
      if (timeout.current !== null) {
        clearTimeout(timeout.current);
      }
    };
  }, []); // The effect do not track any value defined synchronously during the 1st render by hooks called after `useGridRows`
  // As a consequence, the state generated by the 1st run of this useEffect will always be equal to the initialization one

  const isFirstRender = react__WEBPACK_IMPORTED_MODULE_1__.useRef(true);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (isFirstRender.current) {
      isFirstRender.current = false;
      return;
    }

    const areNewRowsAlreadyInState = apiRef.current.unstable_caches.rows.rowsBeforePartialUpdates === props.rows;
    const isNewLoadingAlreadyInState = apiRef.current.unstable_caches.rows.loadingPropBeforePartialUpdates === props.loading;
    const isNewRowCountAlreadyInState = apiRef.current.unstable_caches.rows.rowCountPropBeforePartialUpdates === props.rowCount; // The new rows have already been applied (most likely in the `'rowGroupsPreProcessingChange'` listener)

    if (areNewRowsAlreadyInState) {
      // If the loading prop has changed, we need to update its value in the state because it won't be done by `throttledRowsChange`
      if (!isNewLoadingAlreadyInState) {
        apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
          rows: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows, {
            loading: props.loading
          })
        }));
        apiRef.current.unstable_caches.rows.loadingPropBeforePartialUpdates = props.loading;
        apiRef.current.forceUpdate();
      }

      if (!isNewRowCountAlreadyInState) {
        apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
          rows: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.rows, {
            totalRowCount: Math.max(props.rowCount || 0, state.rows.totalRowCount),
            totalTopLevelRowCount: Math.max(props.rowCount || 0, state.rows.totalTopLevelRowCount)
          })
        }));
        apiRef.current.unstable_caches.rows.rowCountPropBeforePartialUpdates = props.rowCount;
        apiRef.current.forceUpdate();
      }

      return;
    }

    logger.debug(`Updating all rows, new length ${props.rows.length}`);
    throttledRowsChange((0,_gridRowsUtils__WEBPACK_IMPORTED_MODULE_9__.createRowsInternalCache)({
      rows: props.rows,
      getRowId: props.getRowId,
      loading: props.loading,
      rowCount: props.rowCount
    }), false);
  }, [props.rows, props.rowCount, props.getRowId, props.loading, logger, throttledRowsChange, apiRef]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRowsMeta.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRowsMeta.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   rowsMetaStateInitializer: () => (/* binding */ rowsMetaStateInitializer),
/* harmony export */   useGridRowsMeta: () => (/* binding */ useGridRowsMeta)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _density_densitySelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../pagination/gridPaginationSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../sorting/gridSortingSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js");
/* harmony import */ var _gridRowsSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");












const rowsMetaStateInitializer = state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  rowsMeta: {
    currentPageTotalHeight: 0,
    positions: []
  }
});
/**
 * @requires useGridPageSize (method)
 * @requires useGridPage (method)
 */

const useGridRowsMeta = (apiRef, props) => {
  const {
    getRowHeight: getRowHeightProp,
    getRowSpacing,
    getEstimatedRowHeight
  } = props;
  const rowsHeightLookup = react__WEBPACK_IMPORTED_MODULE_1__.useRef({}); // Inspired by https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/utils/CellSizeAndPositionManager.js

  const lastMeasuredRowIndex = react__WEBPACK_IMPORTED_MODULE_1__.useRef(-1);
  const hasRowWithAutoHeight = react__WEBPACK_IMPORTED_MODULE_1__.useRef(false);
  const rowHeightFromDensity = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_6__.useGridSelector)(apiRef, _density_densitySelector__WEBPACK_IMPORTED_MODULE_7__.gridDensityRowHeightSelector);
  const filterState = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_6__.useGridSelector)(apiRef, _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_8__.gridFilterStateSelector);
  const paginationState = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_6__.useGridSelector)(apiRef, _pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_9__.gridPaginationSelector);
  const sortingState = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_6__.useGridSelector)(apiRef, _sorting_gridSortingSelector__WEBPACK_IMPORTED_MODULE_10__.gridSortingStateSelector);
  const currentPage = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_4__.useGridVisibleRows)(apiRef, props);
  const pinnedRows = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_6__.useGridSelector)(apiRef, _gridRowsSelector__WEBPACK_IMPORTED_MODULE_12__.gridPinnedRowsSelector);
  const hydrateRowsMeta = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    var _pinnedRows$top, _pinnedRows$bottom;

    hasRowWithAutoHeight.current = false;
    const densityFactor = (0,_density_densitySelector__WEBPACK_IMPORTED_MODULE_7__.gridDensityFactorSelector)(apiRef.current.state, apiRef.current.instanceId);

    const calculateRowProcessedSizes = row => {
      if (!rowsHeightLookup.current[row.id]) {
        rowsHeightLookup.current[row.id] = {
          sizes: {
            baseCenter: rowHeightFromDensity
          },
          isResized: false,
          autoHeight: false,
          needsFirstMeasurement: true // Assume all rows will need to be measured by default

        };
      }

      const {
        isResized,
        needsFirstMeasurement,
        sizes
      } = rowsHeightLookup.current[row.id];
      let baseRowHeight = rowHeightFromDensity;
      const existingBaseRowHeight = sizes.baseCenter;

      if (isResized) {
        // Do not recalculate resized row height and use the value from the lookup
        baseRowHeight = existingBaseRowHeight;
      } else if (getRowHeightProp) {
        const rowHeightFromUser = getRowHeightProp((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, row, {
          densityFactor
        }));

        if (rowHeightFromUser === 'auto') {
          if (needsFirstMeasurement) {
            const estimatedRowHeight = getEstimatedRowHeight ? getEstimatedRowHeight((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, row, {
              densityFactor
            })) : rowHeightFromDensity; // If the row was not measured yet use the estimated row height

            baseRowHeight = estimatedRowHeight != null ? estimatedRowHeight : rowHeightFromDensity;
          } else {
            baseRowHeight = existingBaseRowHeight;
          }

          hasRowWithAutoHeight.current = true;
          rowsHeightLookup.current[row.id].autoHeight = true;
        } else {
          // Default back to base rowHeight if getRowHeight returns null or undefined.
          baseRowHeight = rowHeightFromUser != null ? rowHeightFromUser : rowHeightFromDensity;
          rowsHeightLookup.current[row.id].needsFirstMeasurement = false;
          rowsHeightLookup.current[row.id].autoHeight = false;
        }
      } else {
        rowsHeightLookup.current[row.id].needsFirstMeasurement = false;
      }

      const existingBaseSizes = Object.entries(sizes).reduce((acc, [key, size]) => {
        if (/^base[A-Z]/.test(key)) {
          acc[key] = size;
        }

        return acc;
      }, {}); // We use an object to make simple to check if a height is already added or not

      const initialHeights = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, existingBaseSizes, {
        baseCenter: baseRowHeight
      });

      if (getRowSpacing) {
        var _spacing$top, _spacing$bottom;

        const indexRelativeToCurrentPage = apiRef.current.getRowIndexRelativeToVisibleRows(row.id);
        const spacing = getRowSpacing((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, row, {
          isFirstVisible: indexRelativeToCurrentPage === 0,
          isLastVisible: indexRelativeToCurrentPage === currentPage.rows.length - 1,
          indexRelativeToCurrentPage
        }));
        initialHeights.spacingTop = (_spacing$top = spacing.top) != null ? _spacing$top : 0;
        initialHeights.spacingBottom = (_spacing$bottom = spacing.bottom) != null ? _spacing$bottom : 0;
      }

      const processedSizes = apiRef.current.unstable_applyPipeProcessors('rowHeight', initialHeights, row);
      rowsHeightLookup.current[row.id].sizes = processedSizes;
      return processedSizes;
    };

    const positions = [];
    const currentPageTotalHeight = currentPage.rows.reduce((acc, row) => {
      positions.push(acc);
      let maximumBaseSize = 0;
      let otherSizes = 0;
      const processedSizes = calculateRowProcessedSizes(row);
      Object.entries(processedSizes).forEach(([size, value]) => {
        if (/^base[A-Z]/.test(size)) {
          maximumBaseSize = value > maximumBaseSize ? value : maximumBaseSize;
        } else {
          otherSizes += value;
        }
      });
      return acc + maximumBaseSize + otherSizes;
    }, 0);
    pinnedRows == null ? void 0 : (_pinnedRows$top = pinnedRows.top) == null ? void 0 : _pinnedRows$top.forEach(row => {
      calculateRowProcessedSizes(row);
    });
    pinnedRows == null ? void 0 : (_pinnedRows$bottom = pinnedRows.bottom) == null ? void 0 : _pinnedRows$bottom.forEach(row => {
      calculateRowProcessedSizes(row);
    });
    apiRef.current.setState(state => {
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        rowsMeta: {
          currentPageTotalHeight,
          positions
        }
      });
    });

    if (!hasRowWithAutoHeight.current) {
      // No row has height=auto, so all rows are already measured
      lastMeasuredRowIndex.current = Infinity;
    }

    apiRef.current.forceUpdate();
  }, [apiRef, currentPage.rows, rowHeightFromDensity, getRowHeightProp, getRowSpacing, getEstimatedRowHeight, pinnedRows]);
  const getRowHeight = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(rowId => {
    const height = rowsHeightLookup.current[rowId];
    return height ? height.sizes.baseCenter : rowHeightFromDensity;
  }, [rowHeightFromDensity]);

  const getRowInternalSizes = rowId => {
    var _rowsHeightLookup$cur;

    return (_rowsHeightLookup$cur = rowsHeightLookup.current[rowId]) == null ? void 0 : _rowsHeightLookup$cur.sizes;
  };

  const setRowHeight = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, height) => {
    rowsHeightLookup.current[id].sizes.baseCenter = height;
    rowsHeightLookup.current[id].isResized = true;
    rowsHeightLookup.current[id].needsFirstMeasurement = false;
    hydrateRowsMeta();
  }, [hydrateRowsMeta]);
  const debouncedHydrateRowsMeta = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_3__["default"])(hydrateRowsMeta), [hydrateRowsMeta]);
  const storeMeasuredRowHeight = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, height, position) => {
    if (!rowsHeightLookup.current[id] || !rowsHeightLookup.current[id].autoHeight) {
      return;
    } // Only trigger hydration if the value is different, otherwise we trigger a loop


    const needsHydration = rowsHeightLookup.current[id].sizes[`base${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(position)}`] !== height;
    rowsHeightLookup.current[id].needsFirstMeasurement = false;
    rowsHeightLookup.current[id].sizes[`base${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(position)}`] = height;

    if (needsHydration) {
      debouncedHydrateRowsMeta();
    }
  }, [debouncedHydrateRowsMeta]);
  const rowHasAutoHeight = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => {
    var _rowsHeightLookup$cur2;

    return ((_rowsHeightLookup$cur2 = rowsHeightLookup.current[id]) == null ? void 0 : _rowsHeightLookup$cur2.autoHeight) || false;
  }, []);
  const getLastMeasuredRowIndex = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    return lastMeasuredRowIndex.current;
  }, []);
  const setLastMeasuredRowIndex = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(index => {
    if (hasRowWithAutoHeight.current && index > lastMeasuredRowIndex.current) {
      lastMeasuredRowIndex.current = index;
    }
  }, []);
  const resetRowHeights = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    rowsHeightLookup.current = {};
    hydrateRowsMeta();
  }, [hydrateRowsMeta]); // The effect is used to build the rows meta data - currentPageTotalHeight and positions.
  // Because of variable row height this is needed for the virtualization

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    hydrateRowsMeta();
  }, [rowHeightFromDensity, filterState, paginationState, sortingState, hydrateRowsMeta]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_11__.useGridRegisterPipeApplier)(apiRef, 'rowHeight', hydrateRowsMeta);
  const rowsMetaApi = {
    unstable_getLastMeasuredRowIndex: getLastMeasuredRowIndex,
    unstable_setLastMeasuredRowIndex: setLastMeasuredRowIndex,
    unstable_rowHasAutoHeight: rowHasAutoHeight,
    unstable_getRowHeight: getRowHeight,
    unstable_getRowInternalSizes: getRowInternalSizes,
    unstable_setRowHeight: setRowHeight,
    unstable_storeRowHeightMeasurement: storeMeasuredRowHeight,
    resetRowHeights
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_5__.useGridApiMethod)(apiRef, rowsMetaApi, 'GridRowsMetaApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRowsPreProcessors.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/useGridRowsPreProcessors.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridRowsPreProcessors: () => (/* binding */ useGridRowsPreProcessors)
/* harmony export */ });
/* harmony import */ var _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../core/strategyProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js");
/* harmony import */ var _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../core/strategyProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridStrategyProcessing.js");


const flatRowTreeCreationMethod = ({
  ids,
  idRowsLookup,
  idToIdLookup,
  previousTree
}) => {
  const tree = {};

  for (let i = 0; i < ids.length; i += 1) {
    const rowId = ids[i];

    if (previousTree && previousTree[rowId] && previousTree[rowId].depth === 0 && previousTree[rowId].parent == null && // pinned row can be unpinned
    !previousTree[rowId].isPinned) {
      tree[rowId] = previousTree[rowId];
    } else {
      tree[rowId] = {
        id: rowId,
        depth: 0,
        parent: null,
        groupingKey: '',
        groupingField: null
      };
    }
  }

  return {
    groupingName: _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_1__.GRID_DEFAULT_STRATEGY,
    tree,
    treeDepth: 1,
    idRowsLookup,
    idToIdLookup,
    ids
  };
};

const useGridRowsPreProcessors = apiRef => {
  (0,_core_strategyProcessing__WEBPACK_IMPORTED_MODULE_0__.useGridRegisterStrategyProcessor)(apiRef, _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_1__.GRID_DEFAULT_STRATEGY, 'rowTreeCreation', flatRowTreeCreationMethod);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/scroll/useGridScroll.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/scroll/useGridScroll.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridScroll: () => (/* binding */ useGridScroll)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../pagination/gridPaginationSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../rows/gridRowsMetaSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsMetaSelector.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");









 // Logic copied from https://www.w3.org/TR/wai-aria-practices/examples/listbox/js/listbox.js
// Similar to https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView

function scrollIntoView(dimensions) {
  const {
    clientHeight,
    scrollTop,
    offsetHeight,
    offsetTop
  } = dimensions;
  const elementBottom = offsetTop + offsetHeight; // Always scroll to top when cell is higher than viewport to avoid scroll jump
  // See https://github.com/mui/mui-x/issues/4513 and https://github.com/mui/mui-x/issues/4514

  if (offsetHeight > clientHeight) {
    return offsetTop;
  }

  if (elementBottom - clientHeight > scrollTop) {
    return elementBottom - clientHeight;
  }

  if (offsetTop < scrollTop) {
    return offsetTop;
  }

  return undefined;
}
/**
 * @requires useGridPagination (state) - can be after, async only
 * @requires useGridColumns (state) - can be after, async only
 * @requires useGridRows (state) - can be after, async only
 * @requires useGridRowsMeta (state) - can be after, async only
 * @requires useGridFilter (state)
 * @requires useGridColumnSpanning (method)
 */


const useGridScroll = (apiRef, props) => {
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_1__.useGridLogger)(apiRef, 'useGridScroll');
  const colRef = apiRef.current.columnHeadersElementRef;
  const windowRef = apiRef.current.windowRef;
  const visibleSortedRows = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_3__.useGridSelector)(apiRef, _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_8__.gridVisibleSortedRowEntriesSelector);
  const scrollToIndexes = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(params => {
    const totalRowCount = (0,_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_5__.gridRowCountSelector)(apiRef);
    const visibleColumns = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__.gridVisibleColumnDefinitionsSelector)(apiRef);
    const scrollToHeader = params.rowIndex == null;

    if (!scrollToHeader && totalRowCount === 0 || visibleColumns.length === 0) {
      return false;
    }

    logger.debug(`Scrolling to cell at row ${params.rowIndex}, col: ${params.colIndex} `);
    let scrollCoordinates = {};

    if (params.colIndex != null) {
      const columnPositions = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_2__.gridColumnPositionsSelector)(apiRef);
      let cellWidth;

      if (typeof params.rowIndex !== 'undefined') {
        var _visibleSortedRows$pa;

        const rowId = (_visibleSortedRows$pa = visibleSortedRows[params.rowIndex]) == null ? void 0 : _visibleSortedRows$pa.id;
        const cellColSpanInfo = apiRef.current.unstable_getCellColSpanInfo(rowId, params.colIndex);

        if (cellColSpanInfo && !cellColSpanInfo.spannedByColSpan) {
          cellWidth = cellColSpanInfo.cellProps.width;
        }
      }

      if (typeof cellWidth === 'undefined') {
        cellWidth = visibleColumns[params.colIndex].computedWidth;
      }

      scrollCoordinates.left = scrollIntoView({
        clientHeight: windowRef.current.clientWidth,
        scrollTop: windowRef.current.scrollLeft,
        offsetHeight: cellWidth,
        offsetTop: columnPositions[params.colIndex]
      });
    }

    if (params.rowIndex != null) {
      var _querySelector, _querySelector2;

      const rowsMeta = (0,_rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_6__.gridRowsMetaSelector)(apiRef.current.state);
      const page = (0,_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_4__.gridPageSelector)(apiRef);
      const pageSize = (0,_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_4__.gridPageSizeSelector)(apiRef);
      const elementIndex = !props.pagination ? params.rowIndex : params.rowIndex - page * pageSize;
      const targetOffsetHeight = rowsMeta.positions[elementIndex + 1] ? rowsMeta.positions[elementIndex + 1] - rowsMeta.positions[elementIndex] : rowsMeta.currentPageTotalHeight - rowsMeta.positions[elementIndex];
      const topPinnedRowsHeight = ((_querySelector = windowRef.current.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.gridClasses['pinnedRows--top']}`)) == null ? void 0 : _querySelector.clientHeight) || 0;
      const bottomPinnedRowsHeight = ((_querySelector2 = windowRef.current.querySelector(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_9__.gridClasses['pinnedRows--bottom']}`)) == null ? void 0 : _querySelector2.clientHeight) || 0;
      scrollCoordinates.top = scrollIntoView({
        clientHeight: windowRef.current.clientHeight - topPinnedRowsHeight - bottomPinnedRowsHeight,
        scrollTop: windowRef.current.scrollTop,
        offsetHeight: targetOffsetHeight,
        offsetTop: rowsMeta.positions[elementIndex]
      });
    }

    scrollCoordinates = apiRef.current.unstable_applyPipeProcessors('scrollToIndexes', scrollCoordinates, params);

    if (typeof scrollCoordinates.left !== undefined || typeof scrollCoordinates.top !== undefined) {
      apiRef.current.scroll(scrollCoordinates);
      return true;
    }

    return false;
  }, [logger, apiRef, windowRef, props.pagination, visibleSortedRows]);
  const scroll = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(params => {
    if (windowRef.current && params.left != null && colRef.current) {
      colRef.current.scrollLeft = params.left;
      windowRef.current.scrollLeft = params.left;
      logger.debug(`Scrolling left: ${params.left}`);
    }

    if (windowRef.current && params.top != null) {
      windowRef.current.scrollTop = params.top;
      logger.debug(`Scrolling top: ${params.top}`);
    }

    logger.debug(`Scrolling, updating container, and viewport`);
  }, [windowRef, colRef, logger]);
  const getScrollPosition = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (!(windowRef != null && windowRef.current)) {
      return {
        top: 0,
        left: 0
      };
    }

    return {
      top: windowRef.current.scrollTop,
      left: windowRef.current.scrollLeft
    };
  }, [windowRef]);
  const scrollApi = {
    scroll,
    scrollToIndexes,
    getScrollPosition
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_7__.useGridApiMethod)(apiRef, scrollApi, 'GridScrollApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/gridSelectionSelector.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/gridSelectionSelector.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridSelectionStateSelector: () => (/* binding */ gridSelectionStateSelector),
/* harmony export */   selectedGridRowsCountSelector: () => (/* binding */ selectedGridRowsCountSelector),
/* harmony export */   selectedGridRowsSelector: () => (/* binding */ selectedGridRowsSelector),
/* harmony export */   selectedIdsLookupSelector: () => (/* binding */ selectedIdsLookupSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");


const gridSelectionStateSelector = state => state.selection;
const selectedGridRowsCountSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridSelectionStateSelector, selection => selection.length);
const selectedGridRowsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridSelectionStateSelector, _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_1__.gridRowsLookupSelector, (selectedRows, rowsLookup) => new Map(selectedRows.map(id => [id, rowsLookup[id]])));
const selectedIdsLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridSelectionStateSelector, selection => selection.reduce((lookup, rowId) => {
  lookup[rowId] = rowId;
  return lookup;
}, {}));

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/useGridSelection.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/useGridSelection.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   selectionStateInitializer: () => (/* binding */ selectionStateInitializer),
/* harmony export */   useGridSelection: () => (/* binding */ useGridSelection)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./gridSelectionSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/gridSelectionSelector.js");
/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../pagination */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../focus/gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");
/* harmony import */ var _colDef__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../colDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridActionsColDef.js");
/* harmony import */ var _colDef__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../colDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridCheckboxSelectionColDef.js");
/* harmony import */ var _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../models/gridEditRowModel */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _constants_gridDetailPanelToggleField__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../constants/gridDetailPanelToggleField */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridDetailPanelToggleField.js");
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");

















const getSelectionModelPropValue = (selectionModelProp, prevSelectionModel) => {
  if (selectionModelProp == null) {
    return selectionModelProp;
  }

  if (Array.isArray(selectionModelProp)) {
    return selectionModelProp;
  }

  if (prevSelectionModel && prevSelectionModel[0] === selectionModelProp) {
    return prevSelectionModel;
  }

  return [selectionModelProp];
};

const selectionStateInitializer = (state, props) => {
  var _getSelectionModelPro;

  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    selection: (_getSelectionModelPro = getSelectionModelPropValue(props.selectionModel)) != null ? _getSelectionModelPro : []
  });
};
/**
 * @requires useGridRows (state, method) - can be after
 * @requires useGridParamsApi (method) - can be after
 * @requires useGridFocus (state) - can be after
 * @requires useGridKeyboardNavigation (`cellKeyDown` event must first be consumed by it)
 */

const useGridSelection = (apiRef, props) => {
  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_4__.useGridLogger)(apiRef, 'useGridSelection');
  const propSelectionModel = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    return getSelectionModelPropValue(props.selectionModel, (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector)(apiRef.current.state));
  }, [apiRef, props.selectionModel]);
  const lastRowToggled = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  apiRef.current.unstable_registerControlState({
    stateId: 'selection',
    propModel: propSelectionModel,
    propOnChange: props.onSelectionModelChange,
    stateSelector: _gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector,
    changeEvent: 'selectionChange'
  });
  const {
    checkboxSelection,
    disableMultipleSelection,
    disableSelectionOnClick,
    pagination,
    paginationMode,
    isRowSelectable: propIsRowSelectable
  } = props;
  const canHaveMultipleSelection = !disableMultipleSelection || checkboxSelection;
  const visibleRows = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_14__.useGridVisibleRows)(apiRef, props);
  const expandMouseRowRangeSelection = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => {
    var _lastRowToggled$curre;

    let endId = id;
    const startId = (_lastRowToggled$curre = lastRowToggled.current) != null ? _lastRowToggled$curre : id;
    const isSelected = apiRef.current.isRowSelected(id);

    if (isSelected) {
      const visibleRowIds = (0,_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridVisibleSortedRowIdsSelector)(apiRef);
      const startIndex = visibleRowIds.findIndex(rowId => rowId === startId);
      const endIndex = visibleRowIds.findIndex(rowId => rowId === endId);

      if (startIndex === endIndex) {
        return;
      }

      if (startIndex > endIndex) {
        endId = visibleRowIds[endIndex + 1];
      } else {
        endId = visibleRowIds[endIndex - 1];
      }
    }

    lastRowToggled.current = id;
    apiRef.current.selectRowRange({
      startId,
      endId
    }, !isSelected);
  }, [apiRef]);
  /**
   * API METHODS
   */

  const setSelectionModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(model => {
    const currentModel = (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector)(apiRef.current.state);

    if (currentModel !== model) {
      logger.debug(`Setting selection model`);
      apiRef.current.setState(state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        selection: model
      }));
      apiRef.current.forceUpdate();
    }
  }, [apiRef, logger]);
  const isRowSelected = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector)(apiRef.current.state).includes(id), [apiRef]);
  const isRowSelectable = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => {
    if (propIsRowSelectable && !propIsRowSelectable(apiRef.current.getRowParams(id))) {
      return false;
    }

    const rowNode = apiRef.current.getRowNode(id);

    if ((rowNode == null ? void 0 : rowNode.position) === 'footer' || rowNode != null && rowNode.isPinned) {
      return false;
    }

    return true;
  }, [apiRef, propIsRowSelectable]);
  const getSelectedRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.selectedGridRowsSelector)(apiRef), [apiRef]);
  const selectRow = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, isSelected = true, resetSelection = false) => {
    if (!apiRef.current.isRowSelectable(id)) {
      return;
    }

    lastRowToggled.current = id;

    if (resetSelection) {
      logger.debug(`Setting selection for row ${id}`);
      apiRef.current.setSelectionModel(isSelected ? [id] : []);
    } else {
      logger.debug(`Toggling selection for row ${id}`);
      const selection = (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector)(apiRef.current.state);
      const newSelection = selection.filter(el => el !== id);

      if (isSelected) {
        newSelection.push(id);
      }

      const isSelectionValid = newSelection.length < 2 || canHaveMultipleSelection;

      if (isSelectionValid) {
        apiRef.current.setSelectionModel(newSelection);
      }
    }
  }, [apiRef, logger, canHaveMultipleSelection]);
  const selectRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((ids, isSelected = true, resetSelection = false) => {
    logger.debug(`Setting selection for several rows`);
    const selectableIds = ids.filter(id => apiRef.current.isRowSelectable(id));
    let newSelection;

    if (resetSelection) {
      newSelection = isSelected ? selectableIds : [];
    } else {
      // We clone the existing object to avoid mutating the same object returned by the selector to others part of the project
      const selectionLookup = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.selectedIdsLookupSelector)(apiRef));

      selectableIds.forEach(id => {
        if (isSelected) {
          selectionLookup[id] = id;
        } else {
          delete selectionLookup[id];
        }
      });
      newSelection = Object.values(selectionLookup);
    }

    const isSelectionValid = newSelection.length < 2 || canHaveMultipleSelection;

    if (isSelectionValid) {
      apiRef.current.setSelectionModel(newSelection);
    }
  }, [apiRef, logger, canHaveMultipleSelection]);
  const selectRowRange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(({
    startId,
    endId
  }, isSelected = true, resetSelection) => {
    if (!apiRef.current.getRow(startId) || !apiRef.current.getRow(endId)) {
      return;
    }

    logger.debug(`Expanding selection from row ${startId} to row ${endId}`); // Using rows from all pages allow to select a range across several pages

    const allPagesRowIds = (0,_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridVisibleSortedRowIdsSelector)(apiRef);
    const startIndex = allPagesRowIds.indexOf(startId);
    const endIndex = allPagesRowIds.indexOf(endId);
    const [start, end] = startIndex > endIndex ? [endIndex, startIndex] : [startIndex, endIndex];
    const rowsBetweenStartAndEnd = allPagesRowIds.slice(start, end + 1);
    apiRef.current.selectRows(rowsBetweenStartAndEnd, isSelected, resetSelection);
  }, [apiRef, logger]);
  const selectionApi = {
    selectRow,
    selectRows,
    selectRowRange,
    setSelectionModel,
    getSelectedRows,
    isRowSelected,
    isRowSelectable
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_3__.useGridApiMethod)(apiRef, selectionApi, 'GridSelectionApi');
  /**
   * EVENTS
   */

  const removeOutdatedSelection = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    if (props.keepNonExistentRowsSelected) {
      return;
    }

    const currentSelection = (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector)(apiRef.current.state);
    const rowsLookup = (0,_rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_5__.gridRowsLookupSelector)(apiRef); // We clone the existing object to avoid mutating the same object returned by the selector to others part of the project

    const selectionLookup = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.selectedIdsLookupSelector)(apiRef));

    let hasChanged = false;
    currentSelection.forEach(id => {
      if (!rowsLookup[id]) {
        delete selectionLookup[id];
        hasChanged = true;
      }
    });

    if (hasChanged) {
      apiRef.current.setSelectionModel(Object.values(selectionLookup));
    }
  }, [apiRef, props.keepNonExistentRowsSelected]);
  const handleSingleRowSelection = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((id, event) => {
    const hasCtrlKey = event.metaKey || event.ctrlKey; // multiple selection is only allowed if:
    // - it is a checkboxSelection
    // - it is a keyboard selection
    // - Ctrl is pressed

    const isMultipleSelectionDisabled = !checkboxSelection && !hasCtrlKey && !(0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_13__.isKeyboardEvent)(event);
    const resetSelection = !canHaveMultipleSelection || isMultipleSelectionDisabled;
    const isSelected = apiRef.current.isRowSelected(id);

    if (resetSelection) {
      apiRef.current.selectRow(id, !isMultipleSelectionDisabled ? !isSelected : true, true);
    } else {
      apiRef.current.selectRow(id, !isSelected, false);
    }
  }, [apiRef, canHaveMultipleSelection, checkboxSelection]);
  const handleRowClick = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    var _closest;

    if (disableSelectionOnClick) {
      return;
    }

    const field = (_closest = event.target.closest(`.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_16__.gridClasses.cell}`)) == null ? void 0 : _closest.getAttribute('data-field');

    if (field === _colDef__WEBPACK_IMPORTED_MODULE_11__.GRID_CHECKBOX_SELECTION_COL_DEF.field) {
      // click on checkbox should not trigger row selection
      return;
    }

    if (field === _constants_gridDetailPanelToggleField__WEBPACK_IMPORTED_MODULE_15__.GRID_DETAIL_PANEL_TOGGLE_FIELD) {
      // click to open the detail panel should not select the row
      return;
    }

    if (field) {
      const column = apiRef.current.getColumn(field);

      if (column.type === _colDef__WEBPACK_IMPORTED_MODULE_10__.GRID_ACTIONS_COLUMN_TYPE) {
        return;
      }
    }

    const rowNode = apiRef.current.getRowNode(params.id);

    if (rowNode.isPinned) {
      return;
    }

    if (event.shiftKey && (canHaveMultipleSelection || checkboxSelection)) {
      expandMouseRowRangeSelection(params.id);
    } else {
      handleSingleRowSelection(params.id, event);
    }
  }, [disableSelectionOnClick, canHaveMultipleSelection, checkboxSelection, apiRef, expandMouseRowRangeSelection, handleSingleRowSelection]);
  const preventSelectionOnShift = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    if (canHaveMultipleSelection && event.shiftKey) {
      var _window$getSelection;

      (_window$getSelection = window.getSelection()) == null ? void 0 : _window$getSelection.removeAllRanges();
    }
  }, [canHaveMultipleSelection]);
  const handleRowSelectionCheckboxChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    if (event.nativeEvent.shiftKey) {
      expandMouseRowRangeSelection(params.id);
    } else {
      apiRef.current.selectRow(params.id, params.value);
    }
  }, [apiRef, expandMouseRowRangeSelection]);
  const handleHeaderSelectionCheckboxChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const shouldLimitSelectionToCurrentPage = props.checkboxSelectionVisibleOnly && props.pagination;
    const rowsToBeSelected = shouldLimitSelectionToCurrentPage ? (0,_pagination__WEBPACK_IMPORTED_MODULE_7__.gridPaginatedVisibleSortedGridRowIdsSelector)(apiRef) : (0,_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_9__.gridVisibleSortedRowIdsSelector)(apiRef);
    apiRef.current.selectRows(rowsToBeSelected, params.value);
  }, [apiRef, props.checkboxSelectionVisibleOnly, props.pagination]);
  const handleCellKeyDown = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, event) => {
    // Get the most recent cell mode because it may have been changed by another listener
    if (apiRef.current.getCellMode(params.id, params.field) === _models_gridEditRowModel__WEBPACK_IMPORTED_MODULE_12__.GridCellModes.Edit) {
      return;
    } // Ignore portal
    // Do not apply shortcuts if the focus is not on the cell root component


    if (!event.currentTarget.contains(event.target)) {
      return;
    }

    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_13__.isNavigationKey)(event.key) && event.shiftKey) {
      // The cell that has focus after the keyboard navigation
      const focusCell = (0,_focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_8__.gridFocusCellSelector)(apiRef);

      if (focusCell && focusCell.id !== params.id) {
        event.preventDefault();
        const isNextRowSelected = apiRef.current.isRowSelected(focusCell.id);

        if (!canHaveMultipleSelection) {
          apiRef.current.selectRow(focusCell.id, !isNextRowSelected, true);
          return;
        }

        const newRowIndex = apiRef.current.getRowIndexRelativeToVisibleRows(focusCell.id);
        const previousRowIndex = apiRef.current.getRowIndexRelativeToVisibleRows(params.id);
        let start;
        let end;

        if (newRowIndex > previousRowIndex) {
          if (isNextRowSelected) {
            // We are navigating to the bottom of the page and adding selected rows
            start = previousRowIndex;
            end = newRowIndex - 1;
          } else {
            // We are navigating to the bottom of the page and removing selected rows
            start = previousRowIndex;
            end = newRowIndex;
          }
        } else {
          // eslint-disable-next-line no-lonely-if
          if (isNextRowSelected) {
            // We are navigating to the top of the page and removing selected rows
            start = newRowIndex + 1;
            end = previousRowIndex;
          } else {
            // We are navigating to the top of the page and adding selected rows
            start = newRowIndex;
            end = previousRowIndex;
          }
        }

        const rowsBetweenStartAndEnd = visibleRows.rows.slice(start, end + 1).map(row => row.id);
        apiRef.current.selectRows(rowsBetweenStartAndEnd, !isNextRowSelected);
        return;
      }
    }

    if (event.key === ' ' && event.shiftKey) {
      event.preventDefault();
      handleSingleRowSelection(params.id, event);
      return;
    }

    if (event.key.toLowerCase() === 'a' && (event.ctrlKey || event.metaKey)) {
      event.preventDefault();
      selectRows(apiRef.current.getAllRowIds(), true);
    }
  }, [apiRef, handleSingleRowSelection, selectRows, visibleRows.rows, canHaveMultipleSelection]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'sortedRowsSet', removeOutdatedSelection);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'rowClick', handleRowClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'rowSelectionCheckboxChange', handleRowSelectionCheckboxChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'headerSelectionCheckboxChange', handleHeaderSelectionCheckboxChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'cellMouseDown', preventSelectionOnShift);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_2__.useGridApiEventHandler)(apiRef, 'cellKeyDown', handleCellKeyDown);
  /**
   * EFFECTS
   */

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (propSelectionModel !== undefined) {
      apiRef.current.setSelectionModel(propSelectionModel);
    }
  }, [apiRef, propSelectionModel]);
  const isStateControlled = propSelectionModel != null;
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (isStateControlled) {
      return;
    } // props.isRowSelectable changed


    const currentSelection = (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector)(apiRef.current.state);

    if (isRowSelectable) {
      const newSelection = currentSelection.filter(id => isRowSelectable(id));

      if (newSelection.length < currentSelection.length) {
        apiRef.current.setSelectionModel(newSelection);
      }
    }
  }, [apiRef, isRowSelectable, isStateControlled]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    const currentSelection = (0,_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_6__.gridSelectionStateSelector)(apiRef.current.state);

    if (!canHaveMultipleSelection && currentSelection.length > 1) {
      const {
        rows: currentPageRows
      } = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_14__.getVisibleRows)(apiRef, {
        pagination,
        paginationMode
      });
      const currentPageRowsLookup = currentPageRows.reduce((acc, {
        id
      }) => {
        acc[id] = true;
        return acc;
      }, {});
      const firstSelectableRow = currentSelection.find(id => {
        let isSelectable = true;

        if (isRowSelectable) {
          isSelectable = isRowSelectable(id);
        }

        return isSelectable && currentPageRowsLookup[id]; // Check if the row is in the current page
      });
      apiRef.current.setSelectionModel(firstSelectableRow !== undefined ? [firstSelectableRow] : []);
    }
  }, [apiRef, canHaveMultipleSelection, checkboxSelection, disableMultipleSelection, isRowSelectable, pagination, paginationMode]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/useGridSelectionPreProcessors.js"
/*!*********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/useGridSelectionPreProcessors.js ***!
  \*********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridSelectionPreProcessors: () => (/* binding */ useGridSelectionPreProcessors)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../constants */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");
/* harmony import */ var _colDef__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../colDef */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/colDef/gridCheckboxSelectionColDef.js");







const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  return react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    const slots = {
      cellCheckbox: ['cellCheckbox'],
      columnHeaderCheckbox: ['columnHeaderCheckbox']
    };
    return (0,_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"])(slots, _constants__WEBPACK_IMPORTED_MODULE_4__.getDataGridUtilityClass, classes);
  }, [classes]);
};

const useGridSelectionPreProcessors = (apiRef, props) => {
  const ownerState = {
    classes: props.classes
  };
  const classes = useUtilityClasses(ownerState);
  const updateSelectionColumn = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(columnsState => {
    const selectionColumn = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_COL_DEF, {
      cellClassName: classes.cellCheckbox,
      headerClassName: classes.columnHeaderCheckbox,
      headerName: apiRef.current.getLocaleText('checkboxSelectionHeaderName')
    });

    const shouldHaveSelectionColumn = props.checkboxSelection;
    const haveSelectionColumn = columnsState.lookup[_colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_FIELD] != null;

    if (shouldHaveSelectionColumn && !haveSelectionColumn) {
      columnsState.lookup[_colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_FIELD] = selectionColumn;
      columnsState.all = [_colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_FIELD, ...columnsState.all];
    } else if (!shouldHaveSelectionColumn && haveSelectionColumn) {
      delete columnsState.lookup[_colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_FIELD];
      columnsState.all = columnsState.all.filter(field => field !== _colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_FIELD);
    } else if (shouldHaveSelectionColumn && haveSelectionColumn) {
      columnsState.lookup[_colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_FIELD] = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, selectionColumn, columnsState.lookup[_colDef__WEBPACK_IMPORTED_MODULE_5__.GRID_CHECKBOX_SELECTION_FIELD]);
    }

    return columnsState;
  }, [apiRef, classes, props.checkboxSelection]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_3__.useGridRegisterPipeProcessor)(apiRef, 'hydrateColumns', updateSelectionColumn);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   gridSortColumnLookupSelector: () => (/* binding */ gridSortColumnLookupSelector),
/* harmony export */   gridSortModelSelector: () => (/* binding */ gridSortModelSelector),
/* harmony export */   gridSortedRowEntriesSelector: () => (/* binding */ gridSortedRowEntriesSelector),
/* harmony export */   gridSortedRowIdsSelector: () => (/* binding */ gridSortedRowIdsSelector),
/* harmony export */   gridSortingStateSelector: () => (/* binding */ gridSortingStateSelector)
/* harmony export */ });
/* harmony import */ var _utils_createSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../utils/createSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js");
/* harmony import */ var _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rows/gridRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");


/**
 * @category Sorting
 * @ignore - do not document.
 */

const gridSortingStateSelector = state => state.sorting;
/**
 * Get the id of the rows after the sorting process.
 * @category Sorting
 */

const gridSortedRowIdsSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridSortingStateSelector, sortingState => sortingState.sortedRows);
/**
 * Get the id and the model of the rows after the sorting process.
 * @category Sorting
 */

const gridSortedRowEntriesSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridSortedRowIdsSelector, _rows_gridRowsSelector__WEBPACK_IMPORTED_MODULE_1__.gridRowsLookupSelector, (sortedIds, idRowsLookup) => sortedIds.map(id => ({
  id,
  model: idRowsLookup[id]
})));
/**
 * Get the current sorting model.
 * @category Sorting
 */

const gridSortModelSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridSortingStateSelector, sorting => sorting.sortModel);

/**
 * @category Sorting
 * @ignore - do not document.
 */
const gridSortColumnLookupSelector = (0,_utils_createSelector__WEBPACK_IMPORTED_MODULE_0__.createSelector)(gridSortModelSelector, sortModel => {
  const result = sortModel.reduce((res, sortItem, index) => {
    res[sortItem.field] = {
      sortDirection: sortItem.sort,
      sortIndex: sortModel.length > 1 ? index + 1 : undefined
    };
    return res;
  }, {});
  return result;
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingUtils.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingUtils.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   buildAggregatedSortingApplier: () => (/* binding */ buildAggregatedSortingApplier),
/* harmony export */   getNextGridSortDirection: () => (/* binding */ getNextGridSortDirection),
/* harmony export */   gridDateComparator: () => (/* binding */ gridDateComparator),
/* harmony export */   gridNumberComparator: () => (/* binding */ gridNumberComparator),
/* harmony export */   gridStringOrNumberComparator: () => (/* binding */ gridStringOrNumberComparator),
/* harmony export */   mergeStateWithSortModel: () => (/* binding */ mergeStateWithSortModel),
/* harmony export */   sanitizeSortModel: () => (/* binding */ sanitizeSortModel)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");


const sortModelDisableMultiColumnsSortingWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_1__.buildWarning)(['MUI: The `sortModel` can only contain a single item when the `disableMultipleColumnsSorting` prop is set to `true`.', 'If you are using the community version of the `DataGrid`, this prop is always `true`.'], 'error');
const sanitizeSortModel = (model, disableMultipleColumnsSorting) => {
  if (disableMultipleColumnsSorting && model.length > 1) {
    sortModelDisableMultiColumnsSortingWarning();
    return [model[0]];
  }

  return model;
};
const mergeStateWithSortModel = (sortModel, disableMultipleColumnsSorting) => state => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
  sorting: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.sorting, {
    sortModel: sanitizeSortModel(sortModel, disableMultipleColumnsSorting)
  })
});

const isDesc = direction => direction === 'desc';
/**
 * Transform an item of the sorting model into a method comparing two rows.
 * @param {GridSortItem} sortItem The sort item we want to apply.
 * @param {React.MutableRefObject<GridApiCommunity>} apiRef The API of the grid.
 * @returns {GridParsedSortItem | null} The parsed sort item. Returns `null` is the sort item is not valid.
 */


const parseSortItem = (sortItem, apiRef) => {
  const column = apiRef.current.getColumn(sortItem.field);

  if (!column) {
    return null;
  }

  const comparator = isDesc(sortItem.sort) ? (...args) => -1 * column.sortComparator(...args) : column.sortComparator;

  const getSortCellParams = id => ({
    id,
    field: column.field,
    rowNode: apiRef.current.getRowNode(id),
    value: apiRef.current.getCellValue(id, column.field),
    api: apiRef.current
  });

  return {
    getSortCellParams,
    comparator
  };
};

/**
 * Compare two rows according to a list of valid sort items.
 * The `row1Params` and `row2Params` must have the same length as `parsedSortItems`,
 * and each of their index must contain the `GridSortCellParams` of the sort item with the same index.
 * @param {GridParsedSortItem[]} parsedSortItems All the sort items with which we want to compare the rows.
 * @param {GridRowAggregatedSortingParams} row1 The node and params of the 1st row for each sort item.
 * @param {GridRowAggregatedSortingParams} row2 The node and params of the 2nd row for each sort item.
 */
const compareRows = (parsedSortItems, row1, row2) => {
  return parsedSortItems.reduce((res, item, index) => {
    if (res !== 0) {
      // return the results of the first comparator which distinguish the two rows
      return res;
    }

    const sortCellParams1 = row1.params[index];
    const sortCellParams2 = row2.params[index];
    res = item.comparator(sortCellParams1.value, sortCellParams2.value, sortCellParams1, sortCellParams2);
    return res;
  }, 0);
};
/**
 * Generates a method to easily sort a list of rows according to the current sort model.
 * @param {GridSortModel} sortModel The model with which we want to sort the rows.
 * @param {React.MutableRefObject<GridApiCommunity>} apiRef The API of the grid.
 * @returns {GridSortingModelApplier | null} A method that generates a list of sorted row ids from a list of rows according to the current sort model. If `null`, we consider that the rows should remain in the order there were provided.
 */


const buildAggregatedSortingApplier = (sortModel, apiRef) => {
  const comparatorList = sortModel.map(item => parseSortItem(item, apiRef)).filter(comparator => !!comparator);

  if (comparatorList.length === 0) {
    return null;
  }

  return rowList => rowList.map(node => ({
    node,
    params: comparatorList.map(el => el.getSortCellParams(node.id))
  })).sort((a, b) => compareRows(comparatorList, a, b)).map(row => row.node.id);
};
const getNextGridSortDirection = (sortingOrder, current) => {
  const currentIdx = sortingOrder.indexOf(current);

  if (!current || currentIdx === -1 || currentIdx + 1 === sortingOrder.length) {
    return sortingOrder[0];
  }

  return sortingOrder[currentIdx + 1];
};

const gridNillComparator = (v1, v2) => {
  if (v1 == null && v2 != null) {
    return -1;
  }

  if (v2 == null && v1 != null) {
    return 1;
  }

  if (v1 == null && v2 == null) {
    return 0;
  }

  return null;
};

const collator = new Intl.Collator();
const gridStringOrNumberComparator = (value1, value2) => {
  const nillResult = gridNillComparator(value1, value2);

  if (nillResult !== null) {
    return nillResult;
  }

  if (typeof value1 === 'string') {
    return collator.compare(value1.toString(), value2.toString());
  }

  return value1 - value2;
};
const gridNumberComparator = (value1, value2) => {
  const nillResult = gridNillComparator(value1, value2);

  if (nillResult !== null) {
    return nillResult;
  }

  return Number(value1) - Number(value2);
};
const gridDateComparator = (value1, value2) => {
  const nillResult = gridNillComparator(value1, value2);

  if (nillResult !== null) {
    return nillResult;
  }

  if (value1 > value2) {
    return 1;
  }

  if (value1 < value2) {
    return -1;
  }

  return 0;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/useGridSorting.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/useGridSorting.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sortingStateInitializer: () => (/* binding */ sortingStateInitializer),
/* harmony export */   useGridSorting: () => (/* binding */ useGridSorting)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _models_gridFeatureMode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../models/gridFeatureMode */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFeatureMode.js");
/* harmony import */ var _utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../utils/keyboardUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/useGridApiMethod */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");
/* harmony import */ var _utils_useGridLogger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./gridSortingSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingSelector.js");
/* harmony import */ var _rows__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../rows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsSelector.js");
/* harmony import */ var _utils_useFirstRender__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/useFirstRender */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useFirstRender.js");
/* harmony import */ var _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../core/strategyProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js");
/* harmony import */ var _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../core/strategyProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/strategyProcessing/useGridStrategyProcessing.js");
/* harmony import */ var _gridSortingUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./gridSortingUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/sorting/gridSortingUtils.js");
/* harmony import */ var _core_pipeProcessing__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../core/pipeProcessing */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js");














const sortingStateInitializer = (state, props) => {
  var _ref, _props$sortModel, _props$initialState, _props$initialState$s;

  const sortModel = (_ref = (_props$sortModel = props.sortModel) != null ? _props$sortModel : (_props$initialState = props.initialState) == null ? void 0 : (_props$initialState$s = _props$initialState.sorting) == null ? void 0 : _props$initialState$s.sortModel) != null ? _ref : [];
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
    sorting: {
      sortModel: (0,_gridSortingUtils__WEBPACK_IMPORTED_MODULE_13__.sanitizeSortModel)(sortModel, props.disableMultipleColumnsSorting),
      sortedRows: []
    }
  });
};
/**
 * @requires useGridRows (event)
 * @requires useGridColumns (event)
 */

const useGridSorting = (apiRef, props) => {
  var _props$initialState3, _props$initialState3$;

  const logger = (0,_utils_useGridLogger__WEBPACK_IMPORTED_MODULE_6__.useGridLogger)(apiRef, 'useGridSorting');
  apiRef.current.unstable_registerControlState({
    stateId: 'sortModel',
    propModel: props.sortModel,
    propOnChange: props.onSortModelChange,
    stateSelector: _gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector,
    changeEvent: 'sortModelChange'
  });
  const upsertSortModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((field, sortItem) => {
    const sortModel = (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector)(apiRef);
    const existingIdx = sortModel.findIndex(c => c.field === field);
    let newSortModel = [...sortModel];

    if (existingIdx > -1) {
      if (!sortItem) {
        newSortModel.splice(existingIdx, 1);
      } else {
        newSortModel.splice(existingIdx, 1, sortItem);
      }
    } else {
      newSortModel = [...sortModel, sortItem];
    }

    return newSortModel;
  }, [apiRef]);
  const createSortItem = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((col, directionOverride) => {
    var _col$sortingOrder2;

    const sortModel = (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector)(apiRef);
    const existing = sortModel.find(c => c.field === col.field);

    if (existing) {
      var _col$sortingOrder;

      const nextSort = directionOverride === undefined ? (0,_gridSortingUtils__WEBPACK_IMPORTED_MODULE_13__.getNextGridSortDirection)((_col$sortingOrder = col.sortingOrder) != null ? _col$sortingOrder : props.sortingOrder, existing.sort) : directionOverride;
      return nextSort == null ? undefined : (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, existing, {
        sort: nextSort
      });
    }

    return {
      field: col.field,
      sort: directionOverride === undefined ? (0,_gridSortingUtils__WEBPACK_IMPORTED_MODULE_13__.getNextGridSortDirection)((_col$sortingOrder2 = col.sortingOrder) != null ? _col$sortingOrder2 : props.sortingOrder) : directionOverride
    };
  }, [apiRef, props.sortingOrder]);
  /**
   * API METHODS
   */

  const applySorting = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    apiRef.current.setState(state => {
      if (props.sortingMode === _models_gridFeatureMode__WEBPACK_IMPORTED_MODULE_2__.GridFeatureModeConstant.server) {
        logger.debug('Skipping sorting rows as sortingMode = server');
        return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
          sorting: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.sorting, {
            sortedRows: (0,_rows__WEBPACK_IMPORTED_MODULE_9__.gridRowIdsSelector)(state, apiRef.current.instanceId)
          })
        });
      }

      const sortModel = (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector)(state, apiRef.current.instanceId);
      const sortRowList = (0,_gridSortingUtils__WEBPACK_IMPORTED_MODULE_13__.buildAggregatedSortingApplier)(sortModel, apiRef);
      const sortedRows = apiRef.current.unstable_applyStrategyProcessor('sorting', {
        sortRowList
      });
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        sorting: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state.sorting, {
          sortedRows
        })
      });
    });
    apiRef.current.publishEvent('sortedRowsSet');
    apiRef.current.forceUpdate();
  }, [apiRef, logger, props.sortingMode]);
  const setSortModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(model => {
    const currentModel = (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector)(apiRef);

    if (currentModel !== model) {
      logger.debug(`Setting sort model`);
      apiRef.current.setState((0,_gridSortingUtils__WEBPACK_IMPORTED_MODULE_13__.mergeStateWithSortModel)(model, props.disableMultipleColumnsSorting));
      apiRef.current.forceUpdate();
      apiRef.current.applySorting();
    }
  }, [apiRef, logger, props.disableMultipleColumnsSorting]);
  const sortColumn = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((column, direction, allowMultipleSorting) => {
    if (!column.sortable) {
      return;
    }

    const sortItem = createSortItem(column, direction);
    let sortModel;

    if (!allowMultipleSorting || props.disableMultipleColumnsSorting) {
      sortModel = !sortItem ? [] : [sortItem];
    } else {
      sortModel = upsertSortModel(column.field, sortItem);
    }

    apiRef.current.setSortModel(sortModel);
  }, [apiRef, upsertSortModel, createSortItem, props.disableMultipleColumnsSorting]);
  const getSortModel = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector)(apiRef), [apiRef]);
  const getSortedRows = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    const sortedRows = (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortedRowEntriesSelector)(apiRef);
    return sortedRows.map(row => row.model);
  }, [apiRef]);
  const getSortedRowIds = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortedRowIdsSelector)(apiRef), [apiRef]);
  const getRowIndex = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(id => apiRef.current.getSortedRowIds().indexOf(id), [apiRef]);
  const getRowIdFromRowIndex = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(index => apiRef.current.getSortedRowIds()[index], [apiRef]);
  const sortApi = {
    getSortModel,
    getSortedRows,
    getSortedRowIds,
    getRowIndex,
    getRowIdFromRowIndex,
    setSortModel,
    sortColumn,
    applySorting
  };
  (0,_utils_useGridApiMethod__WEBPACK_IMPORTED_MODULE_5__.useGridApiMethod)(apiRef, sortApi, 'GridSortApi');
  /**
   * PRE-PROCESSING
   */

  const stateExportPreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((prevState, context) => {
    var _props$initialState2, _props$initialState2$;

    const sortModelToExport = (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector)(apiRef);
    const shouldExportSortModel = // Always export if the `exportOnlyDirtyModels` property is activated
    !context.exportOnlyDirtyModels || // Always export if the model is controlled
    props.sortModel != null || // Always export if the model has been initialized
    ((_props$initialState2 = props.initialState) == null ? void 0 : (_props$initialState2$ = _props$initialState2.sorting) == null ? void 0 : _props$initialState2$.sortModel) != null || // Export if the model is not empty
    sortModelToExport.length > 0;

    if (!shouldExportSortModel) {
      return prevState;
    }

    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevState, {
      sorting: {
        sortModel: sortModelToExport
      }
    });
  }, [apiRef, props.sortModel, (_props$initialState3 = props.initialState) == null ? void 0 : (_props$initialState3$ = _props$initialState3.sorting) == null ? void 0 : _props$initialState3$.sortModel]);
  const stateRestorePreProcessing = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((params, context) => {
    var _context$stateToResto;

    const sortModel = (_context$stateToResto = context.stateToRestore.sorting) == null ? void 0 : _context$stateToResto.sortModel;

    if (sortModel == null) {
      return params;
    }

    apiRef.current.setState((0,_gridSortingUtils__WEBPACK_IMPORTED_MODULE_13__.mergeStateWithSortModel)(sortModel, props.disableMultipleColumnsSorting));
    return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, params, {
      callbacks: [...params.callbacks, apiRef.current.applySorting]
    });
  }, [apiRef, props.disableMultipleColumnsSorting]);
  const flatSortingMethod = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    const rowTree = (0,_rows__WEBPACK_IMPORTED_MODULE_9__.gridRowTreeSelector)(apiRef);

    if (!params.sortRowList) {
      const bodyRowIds = [];
      const footerRowIds = [];
      (0,_rows__WEBPACK_IMPORTED_MODULE_9__.gridRowIdsSelector)(apiRef).forEach(rowId => {
        if (rowTree[rowId].isPinned) {
          return;
        }

        if (rowTree[rowId].position === 'footer') {
          footerRowIds.push(rowId);
        } else {
          bodyRowIds.push(rowId);
        }
      });
      return [...bodyRowIds, ...footerRowIds];
    }

    const bodyRows = [];
    const footerRowIds = [];
    Object.values(rowTree).forEach(rowNode => {
      if (rowNode.isPinned) {
        return;
      }

      if (rowNode.position === 'footer') {
        footerRowIds.push(rowNode.id);
      } else {
        bodyRows.push(rowNode);
      }
    });
    return [...params.sortRowList(bodyRows), ...footerRowIds];
  }, [apiRef]);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_14__.useGridRegisterPipeProcessor)(apiRef, 'exportState', stateExportPreProcessing);
  (0,_core_pipeProcessing__WEBPACK_IMPORTED_MODULE_14__.useGridRegisterPipeProcessor)(apiRef, 'restoreState', stateRestorePreProcessing);
  (0,_core_strategyProcessing__WEBPACK_IMPORTED_MODULE_11__.useGridRegisterStrategyProcessor)(apiRef, _core_strategyProcessing__WEBPACK_IMPORTED_MODULE_12__.GRID_DEFAULT_STRATEGY, 'sorting', flatSortingMethod);
  /**
   * EVENTS
   */

  const handleColumnHeaderClick = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(({
    colDef
  }, event) => {
    const allowMultipleSorting = event.shiftKey || event.metaKey || event.ctrlKey;
    sortColumn(colDef, undefined, allowMultipleSorting);
  }, [sortColumn]);
  const handleColumnHeaderKeyDown = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(({
    colDef
  }, event) => {
    // Ctrl + Enter opens the column menu
    if ((0,_utils_keyboardUtils__WEBPACK_IMPORTED_MODULE_3__.isEnterKey)(event.key) && !event.ctrlKey && !event.metaKey) {
      sortColumn(colDef, undefined, event.shiftKey);
    }
  }, [sortColumn]);
  const handleColumnsChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    // When the columns change we check that the sorted columns are still part of the dataset
    const sortModel = (0,_gridSortingSelector__WEBPACK_IMPORTED_MODULE_8__.gridSortModelSelector)(apiRef);
    const latestColumns = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_7__.gridColumnLookupSelector)(apiRef);

    if (sortModel.length > 0) {
      const newModel = sortModel.filter(sortItem => latestColumns[sortItem.field]);

      if (newModel.length < sortModel.length) {
        apiRef.current.setSortModel(newModel);
      }
    }
  }, [apiRef]);
  const handleStrategyProcessorChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(methodName => {
    if (methodName === 'sorting') {
      apiRef.current.applySorting();
    }
  }, [apiRef]);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiEventHandler)(apiRef, 'columnHeaderClick', handleColumnHeaderClick);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiEventHandler)(apiRef, 'columnHeaderKeyDown', handleColumnHeaderKeyDown);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiEventHandler)(apiRef, 'rowsSet', apiRef.current.applySorting);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiEventHandler)(apiRef, 'columnsChange', handleColumnsChange);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_4__.useGridApiEventHandler)(apiRef, 'activeStrategyProcessorChange', handleStrategyProcessorChange);
  /**
   * 1ST RENDER
   */

  (0,_utils_useFirstRender__WEBPACK_IMPORTED_MODULE_10__.useFirstRender)(() => {
    apiRef.current.applySorting();
  });
  /**
   * EFFECTS
   */

  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (props.sortModel !== undefined) {
      apiRef.current.setSortModel(props.sortModel);
    }
  }, [apiRef, props.sortModel]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/statePersistence/useGridStatePersistence.js"
/*!**********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/statePersistence/useGridStatePersistence.js ***!
  \**********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridStatePersistence: () => (/* binding */ useGridStatePersistence)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js");


const useGridStatePersistence = apiRef => {
  const exportState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((params = {}) => {
    const stateToExport = apiRef.current.unstable_applyPipeProcessors('exportState', {}, params);
    return stateToExport;
  }, [apiRef]);
  const restoreState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(stateToRestore => {
    const response = apiRef.current.unstable_applyPipeProcessors('restoreState', {
      callbacks: []
    }, {
      stateToRestore
    });
    response.callbacks.forEach(callback => {
      callback();
    });
    apiRef.current.forceUpdate();
  }, [apiRef]);
  const statePersistenceApi = {
    exportState,
    restoreState
  };
  (0,_utils__WEBPACK_IMPORTED_MODULE_1__.useGridApiMethod)(apiRef, statePersistenceApi, 'GridStatePersistenceApi');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/virtualization/useGridVirtualScroller.js"
/*!*******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/virtualization/useGridVirtualScroller.js ***!
  \*******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   binarySearch: () => (/* binding */ binarySearch),
/* harmony export */   getRenderableIndexes: () => (/* binding */ getRenderableIndexes),
/* harmony export */   useGridVirtualScroller: () => (/* binding */ useGridVirtualScroller)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/useGridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js");
/* harmony import */ var _utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/useGridRootProps */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js");
/* harmony import */ var _utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/useGridSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js");
/* harmony import */ var _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../columns/gridColumnsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsSelector.js");
/* harmony import */ var _density_densitySelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../density/densitySelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/density/densitySelector.js");
/* harmony import */ var _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../focus/gridFocusStateSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/focus/gridFocusStateSelector.js");
/* harmony import */ var _editRows_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../editRows/gridEditRowsSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/editRows/gridEditRowsSelector.js");
/* harmony import */ var _utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../utils/useGridVisibleRows */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js");
/* harmony import */ var _utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../utils/useGridApiEventHandler */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../selection/gridSelectionSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/selection/gridSelectionSelector.js");
/* harmony import */ var _rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../rows/gridRowsMetaSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/rows/gridRowsMetaSelector.js");
/* harmony import */ var _columns_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../columns/gridColumnsUtils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/columns/gridColumnsUtils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["style"];















 // Uses binary search to avoid looping through all possible positions


function binarySearch(offset, positions, sliceStart = 0, sliceEnd = positions.length) {
  if (positions.length <= 0) {
    return -1;
  }

  if (sliceStart >= sliceEnd) {
    return sliceStart;
  }

  const pivot = sliceStart + Math.floor((sliceEnd - sliceStart) / 2);
  const itemOffset = positions[pivot];
  return offset <= itemOffset ? binarySearch(offset, positions, sliceStart, pivot) : binarySearch(offset, positions, pivot + 1, sliceEnd);
}

function exponentialSearch(offset, positions, index) {
  let interval = 1;

  while (index < positions.length && positions[index] < offset) {
    index += interval;
    interval *= 2;
  }

  return binarySearch(offset, positions, Math.floor(index / 2), Math.min(index, positions.length));
}

const getRenderableIndexes = ({
  firstIndex,
  lastIndex,
  buffer,
  minFirstIndex,
  maxLastIndex
}) => {
  return [(0,_utils_utils__WEBPACK_IMPORTED_MODULE_15__.clamp)(firstIndex - buffer, minFirstIndex, maxLastIndex), (0,_utils_utils__WEBPACK_IMPORTED_MODULE_15__.clamp)(lastIndex + buffer, minFirstIndex, maxLastIndex)];
};

const areRenderContextsEqual = (context1, context2) => {
  if (context1 === context2) {
    return true;
  }

  return context1.firstRowIndex === context2.firstRowIndex && context1.lastRowIndex === context2.lastRowIndex && context1.firstColumnIndex === context2.firstColumnIndex && context1.lastColumnIndex === context2.lastColumnIndex;
};

const useGridVirtualScroller = props => {
  var _currentPage$range3, _currentPage$range4;

  const apiRef = (0,_utils_useGridApiContext__WEBPACK_IMPORTED_MODULE_6__.useGridApiContext)();
  const rootProps = (0,_utils_useGridRootProps__WEBPACK_IMPORTED_MODULE_7__.useGridRootProps)();
  const visibleColumns = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__.gridVisibleColumnDefinitionsSelector);
  const {
    ref,
    disableVirtualization,
    onRenderZonePositioning,
    renderZoneMinColumnIndex = 0,
    renderZoneMaxColumnIndex = visibleColumns.length,
    getRowProps
  } = props;
  const columnPositions = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__.gridColumnPositionsSelector);
  const columnsTotalWidth = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__.gridColumnsTotalWidthSelector);
  const rowHeight = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _density_densitySelector__WEBPACK_IMPORTED_MODULE_10__.gridDensityRowHeightSelector);
  const cellFocus = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_11__.gridFocusCellSelector);
  const cellTabIndex = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _focus_gridFocusStateSelector__WEBPACK_IMPORTED_MODULE_11__.gridTabIndexCellSelector);
  const rowsMeta = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_17__.gridRowsMetaSelector);
  const editRowsState = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _editRows_gridEditRowsSelector__WEBPACK_IMPORTED_MODULE_12__.gridEditRowsStateSelector);
  const selectedRowsLookup = (0,_utils_useGridSelector__WEBPACK_IMPORTED_MODULE_8__.useGridSelector)(apiRef, _selection_gridSelectionSelector__WEBPACK_IMPORTED_MODULE_16__.selectedIdsLookupSelector);
  const currentPage = (0,_utils_useGridVisibleRows__WEBPACK_IMPORTED_MODULE_13__.useGridVisibleRows)(apiRef, rootProps);
  const renderZoneRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const rootRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(ref, rootRef);
  const [renderContext, setRenderContext] = react__WEBPACK_IMPORTED_MODULE_2__.useState(null);
  const prevRenderContext = react__WEBPACK_IMPORTED_MODULE_2__.useRef(renderContext);
  const scrollPosition = react__WEBPACK_IMPORTED_MODULE_2__.useRef({
    top: 0,
    left: 0
  });
  const [containerDimensions, setContainerDimensions] = react__WEBPACK_IMPORTED_MODULE_2__.useState({
    width: null,
    height: null
  });
  const prevTotalWidth = react__WEBPACK_IMPORTED_MODULE_2__.useRef(columnsTotalWidth);
  const getNearestIndexToRender = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(offset => {
    var _currentPage$range, _currentPage$range2;

    const lastMeasuredIndexRelativeToAllRows = apiRef.current.unstable_getLastMeasuredRowIndex();
    let allRowsMeasured = lastMeasuredIndexRelativeToAllRows === Infinity;

    if ((_currentPage$range = currentPage.range) != null && _currentPage$range.lastRowIndex && !allRowsMeasured) {
      // Check if all rows in this page are already measured
      allRowsMeasured = lastMeasuredIndexRelativeToAllRows >= currentPage.range.lastRowIndex;
    }

    const lastMeasuredIndexRelativeToCurrentPage = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_15__.clamp)(lastMeasuredIndexRelativeToAllRows - (((_currentPage$range2 = currentPage.range) == null ? void 0 : _currentPage$range2.firstRowIndex) || 0), 0, rowsMeta.positions.length);

    if (allRowsMeasured || rowsMeta.positions[lastMeasuredIndexRelativeToCurrentPage] >= offset) {
      // If all rows were measured (when no row has "auto" as height) or all rows before the offset
      // were measured, then use a binary search because it's faster.
      return binarySearch(offset, rowsMeta.positions);
    } // Otherwise, use an exponential search.
    // If rows have "auto" as height, their positions will be based on estimated heights.
    // In this case, we can skip several steps until we find a position higher than the offset.
    // Inspired by https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/utils/CellSizeAndPositionManager.js


    return exponentialSearch(offset, rowsMeta.positions, lastMeasuredIndexRelativeToCurrentPage);
  }, [apiRef, (_currentPage$range3 = currentPage.range) == null ? void 0 : _currentPage$range3.firstRowIndex, (_currentPage$range4 = currentPage.range) == null ? void 0 : _currentPage$range4.lastRowIndex, rowsMeta.positions]);
  const computeRenderContext = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => {
    if (disableVirtualization) {
      return {
        firstRowIndex: 0,
        lastRowIndex: currentPage.rows.length,
        firstColumnIndex: 0,
        lastColumnIndex: visibleColumns.length
      };
    }

    const {
      top,
      left
    } = scrollPosition.current; // Clamp the value because the search may return an index out of bounds.
    // In the last index, this is not needed because Array.slice doesn't include it.

    const firstRowIndex = Math.min(getNearestIndexToRender(top), rowsMeta.positions.length - 1);
    const lastRowIndex = rootProps.autoHeight ? firstRowIndex + currentPage.rows.length : getNearestIndexToRender(top + containerDimensions.height);
    let hasRowWithAutoHeight = false;
    let firstColumnIndex = 0;
    let lastColumnIndex = columnPositions.length;
    const [firstRowToRender, lastRowToRender] = getRenderableIndexes({
      firstIndex: firstRowIndex,
      lastIndex: lastRowIndex,
      minFirstIndex: 0,
      maxLastIndex: currentPage.rows.length,
      buffer: rootProps.rowBuffer
    });

    for (let i = firstRowToRender; i < lastRowToRender && !hasRowWithAutoHeight; i += 1) {
      const row = currentPage.rows[i];
      hasRowWithAutoHeight = apiRef.current.unstable_rowHasAutoHeight(row.id);
    }

    if (!hasRowWithAutoHeight) {
      firstColumnIndex = binarySearch(left, columnPositions);
      lastColumnIndex = binarySearch(left + containerDimensions.width, columnPositions);
    }

    return {
      firstRowIndex,
      lastRowIndex,
      firstColumnIndex,
      lastColumnIndex
    };
  }, [disableVirtualization, getNearestIndexToRender, rowsMeta.positions.length, rootProps.autoHeight, rootProps.rowBuffer, currentPage.rows, columnPositions, visibleColumns.length, apiRef, containerDimensions]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
    if (disableVirtualization) {
      renderZoneRef.current.style.transform = `translate3d(0px, 0px, 0px)`;
    } else {
      // TODO a scroll reset should not be necessary
      rootRef.current.scrollLeft = 0;
      rootRef.current.scrollTop = 0;
    }
  }, [disableVirtualization]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
    setContainerDimensions({
      width: rootRef.current.clientWidth,
      height: rootRef.current.clientHeight
    });
  }, [rowsMeta.currentPageTotalHeight]);
  const handleResize = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(params => {
    setContainerDimensions({
      width: params.width,
      height: params.height
    });
  }, []);
  (0,_utils_useGridApiEventHandler__WEBPACK_IMPORTED_MODULE_14__.useGridApiEventHandler)(apiRef, 'resize', handleResize);
  const updateRenderZonePosition = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(nextRenderContext => {
    const [firstRowToRender, lastRowToRender] = getRenderableIndexes({
      firstIndex: nextRenderContext.firstRowIndex,
      lastIndex: nextRenderContext.lastRowIndex,
      minFirstIndex: 0,
      maxLastIndex: currentPage.rows.length,
      buffer: rootProps.rowBuffer
    });
    const [initialFirstColumnToRender] = getRenderableIndexes({
      firstIndex: nextRenderContext.firstColumnIndex,
      lastIndex: nextRenderContext.lastColumnIndex,
      minFirstIndex: renderZoneMinColumnIndex,
      maxLastIndex: renderZoneMaxColumnIndex,
      buffer: rootProps.columnBuffer
    });
    const firstColumnToRender = (0,_columns_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_18__.getFirstNonSpannedColumnToRender)({
      firstColumnToRender: initialFirstColumnToRender,
      apiRef,
      firstRowToRender,
      lastRowToRender,
      visibleRows: currentPage.rows
    });
    const top = (0,_rows_gridRowsMetaSelector__WEBPACK_IMPORTED_MODULE_17__.gridRowsMetaSelector)(apiRef.current.state).positions[firstRowToRender];
    const left = (0,_columns_gridColumnsSelector__WEBPACK_IMPORTED_MODULE_9__.gridColumnPositionsSelector)(apiRef)[firstColumnToRender]; // Call directly the selector because it might be outdated when this method is called

    renderZoneRef.current.style.transform = `translate3d(${left}px, ${top}px, 0px)`;

    if (typeof onRenderZonePositioning === 'function') {
      onRenderZonePositioning({
        top,
        left
      });
    }
  }, [apiRef, currentPage.rows, onRenderZonePositioning, renderZoneMinColumnIndex, renderZoneMaxColumnIndex, rootProps.columnBuffer, rootProps.rowBuffer]);
  const updateRenderContext = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(nextRenderContext => {
    if (prevRenderContext.current && areRenderContextsEqual(nextRenderContext, prevRenderContext.current)) {
      updateRenderZonePosition(nextRenderContext);
      return;
    }

    setRenderContext(nextRenderContext);
    updateRenderZonePosition(nextRenderContext);
    const [firstRowToRender, lastRowToRender] = getRenderableIndexes({
      firstIndex: nextRenderContext.firstRowIndex,
      lastIndex: nextRenderContext.lastRowIndex,
      minFirstIndex: 0,
      maxLastIndex: currentPage.rows.length,
      buffer: rootProps.rowBuffer
    });
    apiRef.current.publishEvent('renderedRowsIntervalChange', {
      firstRowToRender,
      lastRowToRender
    });
    prevRenderContext.current = nextRenderContext;
  }, [apiRef, setRenderContext, prevRenderContext, currentPage.rows.length, rootProps.rowBuffer, updateRenderZonePosition]);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
    if (containerDimensions.width == null) {
      return;
    }

    const initialRenderContext = computeRenderContext();
    updateRenderContext(initialRenderContext);
    const {
      top,
      left
    } = scrollPosition.current;
    const params = {
      top,
      left,
      renderContext: initialRenderContext
    };
    apiRef.current.publishEvent('rowsScroll', params);
  }, [apiRef, computeRenderContext, containerDimensions.width, updateRenderContext]);

  const handleScroll = event => {
    const {
      scrollTop,
      scrollLeft
    } = event.currentTarget;
    scrollPosition.current.top = scrollTop;
    scrollPosition.current.left = scrollLeft; // On iOS and macOS, negative offsets are possible when swiping past the start

    if (scrollLeft < 0 || scrollTop < 0 || !prevRenderContext.current) {
      return;
    } // When virtualization is disabled, the context never changes during scroll


    const nextRenderContext = disableVirtualization ? prevRenderContext.current : computeRenderContext();
    const topRowsScrolledSincePreviousRender = Math.abs(nextRenderContext.firstRowIndex - prevRenderContext.current.firstRowIndex);
    const bottomRowsScrolledSincePreviousRender = Math.abs(nextRenderContext.lastRowIndex - prevRenderContext.current.lastRowIndex);
    const topColumnsScrolledSincePreviousRender = Math.abs(nextRenderContext.firstColumnIndex - prevRenderContext.current.firstColumnIndex);
    const bottomColumnsScrolledSincePreviousRender = Math.abs(nextRenderContext.lastColumnIndex - prevRenderContext.current.lastColumnIndex);
    const shouldSetState = topRowsScrolledSincePreviousRender >= rootProps.rowThreshold || bottomRowsScrolledSincePreviousRender >= rootProps.rowThreshold || topColumnsScrolledSincePreviousRender >= rootProps.columnThreshold || bottomColumnsScrolledSincePreviousRender >= rootProps.columnThreshold || prevTotalWidth.current !== columnsTotalWidth; // TODO v6: rename event to a wider name, it's not only fired for row scrolling

    apiRef.current.publishEvent('rowsScroll', {
      top: scrollTop,
      left: scrollLeft,
      renderContext: shouldSetState ? nextRenderContext : prevRenderContext.current
    }, event);

    if (shouldSetState) {
      // Prevents batching render context changes
      react_dom__WEBPACK_IMPORTED_MODULE_3__.flushSync(() => {
        updateRenderContext(nextRenderContext);
      });
      prevTotalWidth.current = columnsTotalWidth;
    }
  };

  const handleWheel = event => {
    apiRef.current.publishEvent('virtualScrollerWheel', {}, event);
  };

  const handleTouchMove = event => {
    apiRef.current.publishEvent('virtualScrollerTouchMove', {}, event);
  };

  const getRows = (params = {
    renderContext
  }) => {
    const {
      renderContext: nextRenderContext,
      minFirstColumn = renderZoneMinColumnIndex,
      maxLastColumn = renderZoneMaxColumnIndex,
      availableSpace = containerDimensions.width,
      rowIndexOffset = 0,
      position = 'center'
    } = params;

    if (!nextRenderContext || availableSpace == null) {
      return null;
    }

    const rowBuffer = !disableVirtualization ? rootProps.rowBuffer : 0;
    const columnBuffer = !disableVirtualization ? rootProps.columnBuffer : 0;
    const [firstRowToRender, lastRowToRender] = getRenderableIndexes({
      firstIndex: nextRenderContext.firstRowIndex,
      lastIndex: nextRenderContext.lastRowIndex,
      minFirstIndex: 0,
      maxLastIndex: currentPage.rows.length,
      buffer: rowBuffer
    });
    const renderedRows = [];

    if (params.rows) {
      params.rows.forEach(row => {
        renderedRows.push(row);
        apiRef.current.unstable_calculateColSpan({
          rowId: row.id,
          minFirstColumn,
          maxLastColumn,
          columns: visibleColumns
        });
      });
    } else {
      if (!currentPage.range) {
        return null;
      }

      for (let i = firstRowToRender; i < lastRowToRender; i += 1) {
        const row = currentPage.rows[i];
        renderedRows.push(row);
        apiRef.current.unstable_calculateColSpan({
          rowId: row.id,
          minFirstColumn,
          maxLastColumn,
          columns: visibleColumns
        });
      }
    }

    const [initialFirstColumnToRender, lastColumnToRender] = getRenderableIndexes({
      firstIndex: nextRenderContext.firstColumnIndex,
      lastIndex: nextRenderContext.lastColumnIndex,
      minFirstIndex: minFirstColumn,
      maxLastIndex: maxLastColumn,
      buffer: columnBuffer
    });
    const firstColumnToRender = (0,_columns_gridColumnsUtils__WEBPACK_IMPORTED_MODULE_18__.getFirstNonSpannedColumnToRender)({
      firstColumnToRender: initialFirstColumnToRender,
      apiRef,
      firstRowToRender,
      lastRowToRender,
      visibleRows: currentPage.rows
    });
    const renderedColumns = visibleColumns.slice(firstColumnToRender, lastColumnToRender);
    const rows = [];

    for (let i = 0; i < renderedRows.length; i += 1) {
      var _currentPage$range5, _rootProps$components;

      const {
        id,
        model
      } = renderedRows[i];
      const lastVisibleRowIndex = firstRowToRender + i === currentPage.rows.length - 1;
      const baseRowHeight = !apiRef.current.unstable_rowHasAutoHeight(id) ? apiRef.current.unstable_getRowHeight(id) : 'auto';
      let isSelected;

      if (selectedRowsLookup[id] == null) {
        isSelected = false;
      } else {
        isSelected = apiRef.current.isRowSelectable(id);
      }

      rows.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(rootProps.components.Row, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
        row: model,
        rowId: id,
        rowHeight: baseRowHeight,
        cellFocus: cellFocus // TODO move to inside the row
        ,
        cellTabIndex: cellTabIndex // TODO move to inside the row
        ,
        editRowsState: editRowsState // TODO move to inside the row
        ,
        renderedColumns: renderedColumns,
        visibleColumns: visibleColumns,
        firstColumnToRender: firstColumnToRender,
        lastColumnToRender: lastColumnToRender,
        selected: isSelected,
        index: rowIndexOffset + ((currentPage == null ? void 0 : (_currentPage$range5 = currentPage.range) == null ? void 0 : _currentPage$range5.firstRowIndex) || 0) + firstRowToRender + i,
        containerWidth: availableSpace,
        isLastVisible: lastVisibleRowIndex,
        position: position
      }, typeof getRowProps === 'function' ? getRowProps(id, model) : {}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.row), id));
    }

    return rows;
  };

  const needsHorizontalScrollbar = containerDimensions.width && columnsTotalWidth > containerDimensions.width;
  const contentSize = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    // In cases where the columns exceed the available width,
    // the horizontal scrollbar should be shown even when there're no rows.
    // Keeping 1px as minimum height ensures that the scrollbar will visible if necessary.
    const height = Math.max(rowsMeta.currentPageTotalHeight, 1);
    let shouldExtendContent = false;

    if (rootRef != null && rootRef.current && height <= (rootRef == null ? void 0 : rootRef.current.clientHeight)) {
      shouldExtendContent = true;
    }

    const size = {
      width: needsHorizontalScrollbar ? columnsTotalWidth : 'auto',
      height,
      minHeight: shouldExtendContent ? '100%' : 'auto'
    };

    if (rootProps.autoHeight && currentPage.rows.length === 0) {
      size.height = 2 * rowHeight; // Give room to show the overlay when there's no row.
    }

    return size;
  }, [rootRef, columnsTotalWidth, rowsMeta.currentPageTotalHeight, currentPage.rows.length, needsHorizontalScrollbar, rootProps.autoHeight, rowHeight]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    apiRef.current.publishEvent('virtualScrollerContentSizeChange');
  }, [apiRef, contentSize]);

  if (rootProps.autoHeight && currentPage.rows.length === 0) {
    contentSize.height = 2 * rowHeight; // Give room to show the overlay when there no rows.
  }

  const rootStyle = {};

  if (!needsHorizontalScrollbar) {
    rootStyle.overflowX = 'hidden';
  }

  if (rootProps.autoHeight) {
    rootStyle.overflowY = 'hidden';
  }

  const getRenderContext = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => {
    return prevRenderContext.current;
  }, []);
  apiRef.current.unstable_getRenderContext = getRenderContext;
  return {
    renderContext,
    updateRenderZonePosition,
    getRows,
    getRootProps: (_ref = {}) => {
      let {
        style = {}
      } = _ref,
          other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, _excluded);

      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
        ref: handleRef,
        onScroll: handleScroll,
        onWheel: handleWheel,
        onTouchMove: handleTouchMove,
        style: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, style, rootStyle)
      }, other);
    },
    getContentProps: ({
      style = {}
    } = {}) => ({
      style: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, style, contentSize)
    }),
    getRenderZoneProps: () => ({
      ref: renderZoneRef
    })
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useFirstRender.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useFirstRender.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useFirstRender: () => (/* binding */ useFirstRender)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const useFirstRender = callback => {
  const isFirstRender = react__WEBPACK_IMPORTED_MODULE_0__.useRef(true);

  if (isFirstRender.current) {
    isFirstRender.current = false;
    callback();
  }
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiContext.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridApiContext: () => (/* binding */ useGridApiContext)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _components_GridApiContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../components/GridApiContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/GridApiContext.js");


function useGridApiContext() {
  const apiRef = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_components_GridApiContext__WEBPACK_IMPORTED_MODULE_1__.GridApiContext);

  if (apiRef === undefined) {
    throw new Error(['MUI: Could not find the data grid context.', 'It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.', 'This can also happen if you are bundling multiple versions of the data grid.'].join('\n'));
  }

  return apiRef;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiEventHandler.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridSignature: () => (/* binding */ GridSignature),
/* harmony export */   createUseGridApiEventHandler: () => (/* binding */ createUseGridApiEventHandler),
/* harmony export */   unstable_resetCleanupTracking: () => (/* binding */ unstable_resetCleanupTracking),
/* harmony export */   useGridApiEventHandler: () => (/* binding */ useGridApiEventHandler),
/* harmony export */   useGridApiOptionHandler: () => (/* binding */ useGridApiOptionHandler)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_cleanupTracking_TimerBasedCleanupTracking__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/cleanupTracking/TimerBasedCleanupTracking */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/cleanupTracking/TimerBasedCleanupTracking.js");
/* harmony import */ var _utils_cleanupTracking_FinalizationRegistryBasedCleanupTracking__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js");




/**
 * Signal to the underlying logic what version of the public component API
 * of the data grid is exposed.
 */
var GridSignature;

(function (GridSignature) {
  GridSignature["DataGrid"] = "DataGrid";
  GridSignature["DataGridPro"] = "DataGridPro";
})(GridSignature || (GridSignature = {}));

// We use class to make it easier to detect in heap snapshots by name
class ObjectToBeRetainedByReact {} // Based on https://github.com/Bnaya/use-dispose-uncommitted/blob/main/src/finalization-registry-based-impl.ts
// Check https://github.com/facebook/react/issues/15317 to get more information


function createUseGridApiEventHandler(registryContainer) {
  let cleanupTokensCounter = 0;
  return function useGridApiEventHandler(apiRef, eventName, handler, options) {
    if (registryContainer.registry === null) {
      registryContainer.registry = typeof FinalizationRegistry !== 'undefined' ? new _utils_cleanupTracking_FinalizationRegistryBasedCleanupTracking__WEBPACK_IMPORTED_MODULE_2__.FinalizationRegistryBasedCleanupTracking() : new _utils_cleanupTracking_TimerBasedCleanupTracking__WEBPACK_IMPORTED_MODULE_1__.TimerBasedCleanupTracking();
    }

    const [objectRetainedByReact] = react__WEBPACK_IMPORTED_MODULE_0__.useState(new ObjectToBeRetainedByReact());
    const subscription = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
    const handlerRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
    handlerRef.current = handler;
    const cleanupTokenRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);

    if (!subscription.current && handlerRef.current) {
      const enhancedHandler = (params, event, details) => {
        if (!event.defaultMuiPrevented) {
          var _handlerRef$current;

          (_handlerRef$current = handlerRef.current) == null ? void 0 : _handlerRef$current.call(handlerRef, params, event, details);
        }
      };

      subscription.current = apiRef.current.subscribeEvent(eventName, enhancedHandler, options);
      cleanupTokensCounter += 1;
      cleanupTokenRef.current = {
        cleanupToken: cleanupTokensCounter
      };
      registryContainer.registry.register(objectRetainedByReact, // The callback below will be called once this reference stops being retained
      () => {
        var _subscription$current;

        (_subscription$current = subscription.current) == null ? void 0 : _subscription$current.call(subscription);
        subscription.current = null;
        cleanupTokenRef.current = null;
      }, cleanupTokenRef.current);
    } else if (!handlerRef.current && subscription.current) {
      subscription.current();
      subscription.current = null;

      if (cleanupTokenRef.current) {
        registryContainer.registry.unregister(cleanupTokenRef.current);
        cleanupTokenRef.current = null;
      }
    }

    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (!subscription.current && handlerRef.current) {
        const enhancedHandler = (params, event, details) => {
          if (!event.defaultMuiPrevented) {
            var _handlerRef$current2;

            (_handlerRef$current2 = handlerRef.current) == null ? void 0 : _handlerRef$current2.call(handlerRef, params, event, details);
          }
        };

        subscription.current = apiRef.current.subscribeEvent(eventName, enhancedHandler, options);
      }

      if (cleanupTokenRef.current && registryContainer.registry) {
        // If the effect was called, it means that this render was committed
        // so we can trust the cleanup function to remove the listener.
        registryContainer.registry.unregister(cleanupTokenRef.current);
        cleanupTokenRef.current = null;
      }

      return () => {
        var _subscription$current2;

        (_subscription$current2 = subscription.current) == null ? void 0 : _subscription$current2.call(subscription);
        subscription.current = null;
      };
    }, [apiRef, eventName, options]);
  };
}
const registryContainer = {
  registry: null
}; // TODO: move to @mui/x-data-grid/internals
// eslint-disable-next-line @typescript-eslint/naming-convention

const unstable_resetCleanupTracking = () => {
  var _registryContainer$re;

  (_registryContainer$re = registryContainer.registry) == null ? void 0 : _registryContainer$re.reset();
  registryContainer.registry = null;
};
const useGridApiEventHandler = createUseGridApiEventHandler(registryContainer);
const optionsSubscriberOptions = {
  isFirst: true
};
function useGridApiOptionHandler(apiRef, eventName, handler) {
  // Validate that only one per event name?
  useGridApiEventHandler(apiRef, eventName, handler, optionsSubscriberOptions);
}


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridApiMethod.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridApiMethod: () => (/* binding */ useGridApiMethod)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

function useGridApiMethod(apiRef, apiMethods, // TODO: Remove `apiName
// eslint-disable-next-line @typescript-eslint/no-unused-vars
apiName) {
  const apiMethodsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(apiMethods);
  const [apiMethodsNames] = react__WEBPACK_IMPORTED_MODULE_0__.useState(Object.keys(apiMethods));
  const installMethods = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (!apiRef.current) {
      return;
    }

    apiMethodsNames.forEach(methodName => {
      if (!apiRef.current.hasOwnProperty(methodName)) {
        apiRef.current[methodName] = (...args) => apiMethodsRef.current[methodName](...args);
      }
    });
  }, [apiMethodsNames, apiRef]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    apiMethodsRef.current = apiMethods;
  }, [apiMethods]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    installMethods();
  }, [installMethods]);
  installMethods();
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridInitializeState.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridInitializeState.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridInitializeState: () => (/* binding */ useGridInitializeState)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const useGridInitializeState = (initializer, apiRef, props) => {
  const isInitialized = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);

  if (!isInitialized.current) {
    apiRef.current.state = initializer(apiRef.current.state, props, apiRef);
    isInitialized.current = true;
  }
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridLogger: () => (/* binding */ useGridLogger)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

function useGridLogger(apiRef, name) {
  const logger = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);

  if (logger.current) {
    return logger.current;
  }

  const newLogger = apiRef.current.getLogger(name);
  logger.current = newLogger;
  return newLogger;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridNativeEventListener.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridNativeEventListener.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridNativeEventListener: () => (/* binding */ useGridNativeEventListener)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/utils */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js");
/* harmony import */ var _useGridLogger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useGridLogger */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridLogger.js");



const useGridNativeEventListener = (apiRef, ref, eventName, handler, options) => {
  const logger = (0,_useGridLogger__WEBPACK_IMPORTED_MODULE_2__.useGridLogger)(apiRef, 'useNativeEventListener');
  const [added, setAdded] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const handlerRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(handler);
  const wrapHandler = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    return handlerRef.current && handlerRef.current(event);
  }, []);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    handlerRef.current = handler;
  }, [handler]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    let targetElement;

    if ((0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.isFunction)(ref)) {
      targetElement = ref();
    } else {
      targetElement = ref && ref.current ? ref.current : null;
    }

    if (targetElement && eventName && !added) {
      logger.debug(`Binding native ${eventName} event`);
      targetElement.addEventListener(eventName, wrapHandler, options);
      const boundElem = targetElement;
      setAdded(true);

      const unsubscribe = () => {
        logger.debug(`Clearing native ${eventName} event`);
        boundElem.removeEventListener(eventName, wrapHandler, options);
      };

      apiRef.current.subscribeEvent('unmount', unsubscribe);
    }
  }, [ref, wrapHandler, eventName, added, logger, options, apiRef]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridRootProps.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridRootProps: () => (/* binding */ useGridRootProps)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _context_GridRootPropsContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../context/GridRootPropsContext */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/context/GridRootPropsContext.js");


const useGridRootProps = () => {
  const contextValue = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_context_GridRootPropsContext__WEBPACK_IMPORTED_MODULE_1__.GridRootPropsContext);

  if (!contextValue) {
    throw new Error('MUI: useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component.');
  }

  return contextValue;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridSelector.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useGridSelector: () => (/* binding */ useGridSelector)
/* harmony export */ });
/* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");


function isOutputSelector(selector) {
  return selector.acceptsApiRef;
}

const stateNotInitializedWarning = (0,_utils_warning__WEBPACK_IMPORTED_MODULE_0__.buildWarning)(['MUI: `useGridSelector` has been called before the initialization of the state.', 'This hook can only be used inside the context of the grid.']);
const useGridSelector = (apiRef, selector) => {
  if (true) {
    if (!apiRef.current.state) {
      stateNotInitializedWarning();
    }
  }

  if (isOutputSelector(selector)) {
    return selector(apiRef);
  }

  return selector(apiRef.current.state);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/utils/useGridVisibleRows.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getVisibleRows: () => (/* binding */ getVisibleRows),
/* harmony export */   useGridVisibleRows: () => (/* binding */ useGridVisibleRows)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _features_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../features/pagination/gridPaginationSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/pagination/gridPaginationSelector.js");
/* harmony import */ var _features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../features/filter/gridFilterSelector */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/hooks/features/filter/gridFilterSelector.js");



const getVisibleRows = (apiRef, props) => {
  let rows;
  let range;

  if (props.pagination && props.paginationMode === 'client') {
    range = (0,_features_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_1__.gridPaginationRowRangeSelector)(apiRef);
    rows = (0,_features_pagination_gridPaginationSelector__WEBPACK_IMPORTED_MODULE_1__.gridPaginatedVisibleSortedGridRowEntriesSelector)(apiRef);
  } else {
    rows = (0,_features_filter_gridFilterSelector__WEBPACK_IMPORTED_MODULE_2__.gridVisibleSortedRowEntriesSelector)(apiRef);

    if (rows.length === 0) {
      range = null;
    } else {
      range = {
        firstRowIndex: 0,
        lastRowIndex: rows.length - 1
      };
    }
  }

  return {
    rows,
    range
  };
};
/**
 * Computes the list of rows that are reachable by scroll.
 * Depending on whether pagination is enabled, it will return the rows in the current page.
 * - If the pagination is disabled or in server mode, it equals all the visible rows.
 * - If the row tree has several layers, it contains up to `state.pageSize` top level rows and all their descendants.
 * - If the row tree is flat, it only contains up to `state.pageSize` rows.
 */

const useGridVisibleRows = (apiRef, props) => {
  const response = getVisibleRows(apiRef, props);
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    rows: response.rows,
    range: response.range
  }), [response.rows, response.range]);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/lib/createDetectElementResize/index.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/lib/createDetectElementResize/index.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createDetectElementResize)
/* harmony export */ });
/**
 * Detect Element Resize.
 * https://github.com/sdecima/javascript-detect-element-resize
 * Sebastian Decima
 *
 * Forked from version 0.5.3; includes the following modifications:
 * 1) Guard against unsafe 'window' and 'document' references (to support SSR).
 * 2) Defer initialization code via a top-level function wrapper (to support SSR).
 * 3) Avoid unnecessary reflows by not measuring size for scroll events bubbling from children.
 * 4) Add nonce for style element.
 *
 * TODO replace with https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver
 * once browser support allows it.
 **/
function createDetectElementResize(nonce, hostWindow) {
  var resetTriggers = function resetTriggers(element) {
    var triggers = element.__resizeTriggers__,
        expand = triggers.firstElementChild,
        contract = triggers.lastElementChild,
        expandChild = expand.firstElementChild;
    contract.scrollLeft = contract.scrollWidth;
    contract.scrollTop = contract.scrollHeight;
    expandChild.style.width = expand.offsetWidth + 1 + 'px';
    expandChild.style.height = expand.offsetHeight + 1 + 'px';
    expand.scrollLeft = expand.scrollWidth;
    expand.scrollTop = expand.scrollHeight;
  };

  var checkTriggers = function checkTriggers(element) {
    return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;
  };

  var scrollListener = function scrollListener(e) {
    // Don't measure (which forces) reflow for scrolls that happen inside of children!
    if (e.target.className.indexOf('contract-trigger') < 0 && e.target.className.indexOf('expand-trigger') < 0) {
      return;
    }

    var element = this;
    resetTriggers(this);

    if (this.__resizeRAF__) {
      hostWindow.cancelAnimationFrame(this.__resizeRAF__);
    }

    this.__resizeRAF__ = hostWindow.requestAnimationFrame(function () {
      if (checkTriggers(element)) {
        element.__resizeLast__.width = element.offsetWidth;
        element.__resizeLast__.height = element.offsetHeight;

        element.__resizeListeners__.forEach(function (fn) {
          fn.call(element, e);
        });
      }
    });
  };
  /* Detect CSS Animations support to detect element display/re-attach */


  var animation = false,
      keyframeprefix = '',
      animationstartevent = 'animationstart',
      domPrefixes = 'Webkit Moz O ms'.split(' '),
      startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),
      pfx = '';
  {
    var elm = document.createElement('fakeelement');

    if (elm.style.animationName !== undefined) {
      animation = true;
    }

    if (animation === false) {
      for (var i = 0; i < domPrefixes.length; i++) {
        if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {
          pfx = domPrefixes[i];
          keyframeprefix = '-' + pfx.toLowerCase() + '-';
          animationstartevent = startEvents[i];
          animation = true;
          break;
        }
      }
    }
  }
  var animationName = 'resizeanim';
  var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';
  var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';

  var createStyles = function createStyles(doc, root) {
    if (!root.getElementById('muiDetectElementResize')) {
      //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
      var css = (animationKeyframes ? animationKeyframes : '') + '.Mui-resizeTriggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.Mui-resizeTriggers, .Mui-resizeTriggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .Mui-resizeTriggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',
          container = root.constructor.name === 'ShadowRoot' ? root : doc.head || doc.getElementsByTagName('head')[0],
          style = doc.createElement('style');
      style.id = 'muiDetectElementResize';
      style.type = 'text/css';

      if (nonce != null) {
        style.setAttribute('nonce', nonce);
      }

      if (style.styleSheet) {
        style.styleSheet.cssText = css;
      } else {
        style.appendChild(doc.createTextNode(css));
      }

      container.appendChild(style);
    }
  };

  var addResizeListener = function addResizeListener(element, fn) {
    if (!element.__resizeTriggers__) {
      var doc = element.ownerDocument;
      var elementStyle = hostWindow.getComputedStyle(element);

      if (elementStyle && elementStyle.position == 'static') {
        element.style.position = 'relative';
      }

      createStyles(doc, element.getRootNode());
      element.__resizeLast__ = {};
      element.__resizeListeners__ = [];
      (element.__resizeTriggers__ = doc.createElement('div')).className = 'Mui-resizeTriggers';
      element.__resizeTriggers__.innerHTML = '<div class="expand-trigger"><div></div></div>' + '<div class="contract-trigger"></div>';
      element.appendChild(element.__resizeTriggers__);
      resetTriggers(element);
      element.addEventListener('scroll', scrollListener, true);
      /* Listen for a css animation to detect element display/re-attach */

      if (animationstartevent) {
        element.__resizeTriggers__.__animationListener__ = function animationListener(e) {
          if (e.animationName == animationName) {
            resetTriggers(element);
          }
        };

        element.__resizeTriggers__.addEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);
      }
    }

    element.__resizeListeners__.push(fn);
  };

  var removeResizeListener = function removeResizeListener(element, fn) {
    element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);

    if (!element.__resizeListeners__.length) {
      element.removeEventListener('scroll', scrollListener, true);

      if (element.__resizeTriggers__.__animationListener__) {
        element.__resizeTriggers__.removeEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);

        element.__resizeTriggers__.__animationListener__ = null;
      }

      try {
        element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);
      } catch (e) {// Preact compat; see developit/preact-compat/issues/228
      }
    }
  };

  return {
    addResizeListener,
    removeResizeListener
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridColumnGrouping.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridColumnGrouping.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   isLeaf: () => (/* binding */ isLeaf)
/* harmony export */ });
function isLeaf(node) {
  return node.field !== undefined;
}
/**
 * A function used to process headerClassName params.
 */

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridDensity.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridDensity.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridDensityTypes: () => (/* binding */ GridDensityTypes)
/* harmony export */ });
/**
 * Available densities.
 */

/**
 * Density enum.
 */
var GridDensityTypes;

(function (GridDensityTypes) {
  GridDensityTypes["Compact"] = "compact";
  GridDensityTypes["Standard"] = "standard";
  GridDensityTypes["Comfortable"] = "comfortable";
})(GridDensityTypes || (GridDensityTypes = {}));



/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridEditRowModel.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridCellModes: () => (/* binding */ GridCellModes),
/* harmony export */   GridEditModes: () => (/* binding */ GridEditModes),
/* harmony export */   GridRowModes: () => (/* binding */ GridRowModes)
/* harmony export */ });
// TODO v6: rename to GridEditingState
var GridEditModes;

(function (GridEditModes) {
  GridEditModes["Cell"] = "cell";
  GridEditModes["Row"] = "row";
})(GridEditModes || (GridEditModes = {}));

var GridCellModes;

(function (GridCellModes) {
  GridCellModes["Edit"] = "edit";
  GridCellModes["View"] = "view";
})(GridCellModes || (GridCellModes = {}));

var GridRowModes;

(function (GridRowModes) {
  GridRowModes["Edit"] = "edit";
  GridRowModes["View"] = "view";
})(GridRowModes || (GridRowModes = {}));



/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFeatureMode.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFeatureMode.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridFeatureModeConstant: () => (/* binding */ GridFeatureModeConstant)
/* harmony export */ });
const GridFeatureModeConstant = {
  client: 'client',
  server: 'server'
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFilterItem.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/gridFilterItem.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridLinkOperator: () => (/* binding */ GridLinkOperator)
/* harmony export */ });
/**
 * Filter item definition interface.
 */
var GridLinkOperator;

(function (GridLinkOperator) {
  GridLinkOperator["And"] = "and";
  GridLinkOperator["Or"] = "or";
})(GridLinkOperator || (GridLinkOperator = {}));



/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/params/gridEditCellParams.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/params/gridEditCellParams.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridCellEditStartReasons: () => (/* binding */ GridCellEditStartReasons),
/* harmony export */   GridCellEditStopReasons: () => (/* binding */ GridCellEditStopReasons)
/* harmony export */ });
// TODO v6 - remove

/**
 * Params passed to `apiRef.current.setEditCellValue`.
 */
// TODO v6 - remove
// TODO v6 - remove
var GridCellEditStartReasons;
/**
 * Params passed to the `cellEditStart` event.
 */

(function (GridCellEditStartReasons) {
  GridCellEditStartReasons["enterKeyDown"] = "enterKeyDown";
  GridCellEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
  GridCellEditStartReasons["printableKeyDown"] = "printableKeyDown";
  GridCellEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
})(GridCellEditStartReasons || (GridCellEditStartReasons = {}));

var GridCellEditStopReasons;
/**
 * Params passed to the `cellEditStop event.
 */

(function (GridCellEditStopReasons) {
  GridCellEditStopReasons["cellFocusOut"] = "cellFocusOut";
  GridCellEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
  GridCellEditStopReasons["enterKeyDown"] = "enterKeyDown";
  GridCellEditStopReasons["tabKeyDown"] = "tabKeyDown";
  GridCellEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
})(GridCellEditStopReasons || (GridCellEditStopReasons = {}));

// https://github.com/mui/mui-x/pull/3738#discussion_r798504277


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/params/gridRowParams.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/models/params/gridRowParams.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GridRowEditStartReasons: () => (/* binding */ GridRowEditStartReasons),
/* harmony export */   GridRowEditStopReasons: () => (/* binding */ GridRowEditStopReasons)
/* harmony export */ });
/**
 * Object passed as parameter in the row callbacks.
 */

/**
 * Object passed as parameter in the row `getRowClassName` callback prop.
 */

/**
 * Object passed as parameter in the row `getRowHeight` callback prop.
 */

/**
 * The getRowHeight return value.
 */
var GridRowEditStartReasons;
/**
 * Params passed to the `rowEditStart` event.
 */

(function (GridRowEditStartReasons) {
  GridRowEditStartReasons["enterKeyDown"] = "enterKeyDown";
  GridRowEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
  GridRowEditStartReasons["printableKeyDown"] = "printableKeyDown";
  GridRowEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
})(GridRowEditStartReasons || (GridRowEditStartReasons = {}));

var GridRowEditStopReasons;

(function (GridRowEditStopReasons) {
  GridRowEditStopReasons["rowFocusOut"] = "rowFocusOut";
  GridRowEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
  GridRowEditStopReasons["enterKeyDown"] = "enterKeyDown";
  GridRowEditStopReasons["tabKeyDown"] = "tabKeyDown";
  GridRowEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
})(GridRowEditStopReasons || (GridRowEditStopReasons = {}));

// https://github.com/mui/mui-x/pull/3738#discussion_r798504277


/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/EventManager.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/EventManager.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EventManager: () => (/* binding */ EventManager)
/* harmony export */ });
// Used https://gist.github.com/mudge/5830382 as a starting point.
// See https://github.com/browserify/events/blob/master/events.js for
// the Node.js (https://nodejs.org/api/events.html) polyfill used by webpack.
class EventManager {
  constructor() {
    this.maxListeners = 10;
    this.warnOnce = false;
    this.events = {};
  }

  on(eventName, listener, options = {}) {
    let collection = this.events[eventName];

    if (!collection) {
      collection = {
        highPriority: new Map(),
        regular: new Map()
      };
      this.events[eventName] = collection;
    }

    if (options.isFirst) {
      collection.highPriority.set(listener, true);
    } else {
      collection.regular.set(listener, true);
    }

    if (true) {
      const collectionSize = collection.highPriority.size + collection.regular.size;

      if (collectionSize > this.maxListeners && !this.warnOnce) {
        this.warnOnce = true;
        console.warn([`Possible EventEmitter memory leak detected. ${collectionSize} ${eventName} listeners added.`, `Use emitter.setMaxListeners() to increase limit.`].join('\n'));
      }
    }
  }

  removeListener(eventName, listener) {
    if (this.events[eventName]) {
      this.events[eventName].regular.delete(listener);
      this.events[eventName].highPriority.delete(listener);
    }
  }

  removeAllListeners() {
    this.events = {};
  }

  emit(eventName, ...args) {
    const collection = this.events[eventName];

    if (!collection) {
      return;
    }

    const highPriorityListeners = Array.from(collection.highPriority.keys());
    const regularListeners = Array.from(collection.regular.keys());

    for (let i = highPriorityListeners.length - 1; i >= 0; i -= 1) {
      const listener = highPriorityListeners[i];

      if (collection.highPriority.has(listener)) {
        listener.apply(this, args);
      }
    }

    for (let i = 0; i < regularListeners.length; i += 1) {
      const listener = regularListeners[i];

      if (collection.regular.has(listener)) {
        listener.apply(this, args);
      }
    }
  }

  once(eventName, listener) {
    // eslint-disable-next-line consistent-this
    const that = this;
    this.on(eventName, function oneTimeListener(...args) {
      that.removeListener(eventName, oneTimeListener);
      listener.apply(that, args);
    });
  }

}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js"
/*!*****************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.js ***!
  \*****************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FinalizationRegistryBasedCleanupTracking: () => (/* binding */ FinalizationRegistryBasedCleanupTracking)
/* harmony export */ });
class FinalizationRegistryBasedCleanupTracking {
  constructor() {
    this.registry = new FinalizationRegistry(unsubscribe => {
      if (typeof unsubscribe === 'function') {
        unsubscribe();
      }
    });
  }

  register(object, unsubscribe, unregisterToken) {
    this.registry.register(object, unsubscribe, unregisterToken);
  }

  unregister(unregisterToken) {
    this.registry.unregister(unregisterToken);
  } // eslint-disable-next-line class-methods-use-this


  reset() {}

}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/cleanupTracking/TimerBasedCleanupTracking.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/cleanupTracking/TimerBasedCleanupTracking.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TimerBasedCleanupTracking: () => (/* binding */ TimerBasedCleanupTracking)
/* harmony export */ });
// If no effect ran after this amount of time, we assume that the render was not committed by React
const CLEANUP_TIMER_LOOP_MILLIS = 1000;
class TimerBasedCleanupTracking {
  constructor(timeout = CLEANUP_TIMER_LOOP_MILLIS) {
    this.timeouts = new Map();
    this.cleanupTimeout = CLEANUP_TIMER_LOOP_MILLIS;
    this.cleanupTimeout = timeout;
  }

  register(object, unsubscribe, unregisterToken) {
    if (!this.timeouts) {
      this.timeouts = new Map();
    }

    const timeout = setTimeout(() => {
      if (typeof unsubscribe === 'function') {
        unsubscribe();
      }

      this.timeouts.delete(unregisterToken.cleanupToken);
    }, this.cleanupTimeout);
    this.timeouts.set(unregisterToken.cleanupToken, timeout);
  }

  unregister(unregisterToken) {
    const timeout = this.timeouts.get(unregisterToken.cleanupToken);

    if (timeout) {
      this.timeouts.delete(unregisterToken.cleanupToken);
      clearTimeout(timeout);
    }
  }

  reset() {
    if (this.timeouts) {
      this.timeouts.forEach((value, key) => {
        this.unregister({
          cleanupToken: key
        });
      });
      this.timeouts = undefined;
    }
  }

}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/createSelector.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createSelector: () => (/* binding */ createSelector),
/* harmony export */   unstable_resetCreateSelectorCache: () => (/* binding */ unstable_resetCreateSelectorCache)
/* harmony export */ });
/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! reselect */ "./node_modules/.pnpm/reselect@4.1.8/node_modules/reselect/es/index.js");
/* harmony import */ var _warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./warning */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js");


const cacheContainer = {
  cache: null
};
const missingInstanceIdWarning = (0,_warning__WEBPACK_IMPORTED_MODULE_1__.buildWarning)(['MUI: A selector was called without passing the instance ID, which may impact the performance of the grid.', 'To fix, call it with `apiRef`, e.g. `mySelector(apiRef)`, or pass the instance ID explicitly, e.g `mySelector(state, apiRef.current.instanceId)`.']);
const createSelector = (...args) => {
  if (cacheContainer.cache === null) {
    cacheContainer.cache = {};
  }

  const selector = (...selectorArgs) => {
    const [stateOrApiRef, instanceId] = selectorArgs;
    const isApiRef = !!stateOrApiRef.current;
    const cacheKey = isApiRef ? stateOrApiRef.current.instanceId : instanceId != null ? instanceId : 'default';
    const state = isApiRef ? stateOrApiRef.current.state : stateOrApiRef;

    if (true) {
      if (cacheKey === 'default') {
        missingInstanceIdWarning();
      }
    }

    if (cacheContainer.cache === null) {
      cacheContainer.cache = {};
    }

    const {
      cache
    } = cacheContainer;

    if (cache[cacheKey] && cache[cacheKey].get(args)) {
      // We pass the cache key because the called selector might have as
      // dependency another selector created with this `createSelector`.
      return cache[cacheKey].get(args)(state, cacheKey);
    }

    const newSelector = (0,reselect__WEBPACK_IMPORTED_MODULE_0__.createSelector)(...args);

    if (!cache[cacheKey]) {
      cache[cacheKey] = new Map();
    }

    cache[cacheKey].set(args, newSelector);
    return newSelector(state, cacheKey);
  }; // We use this property to detect if the selector was created with createSelector
  // or it's only a simple function the receives the state and returns part of it.


  selector.acceptsApiRef = true;
  return selector;
}; // eslint-disable-next-line @typescript-eslint/naming-convention

const unstable_resetCreateSelectorCache = cacheKey => {
  if (typeof cacheKey !== 'undefined') {
    if (cacheContainer.cache && cacheContainer.cache[cacheKey]) {
      delete cacheContainer.cache[cacheKey];
    }
  } else {
    cacheContainer.cache = null;
  }
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/domUtils.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/domUtils.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   findParentElementFromClassName: () => (/* binding */ findParentElementFromClassName),
/* harmony export */   getGridCellElement: () => (/* binding */ getGridCellElement),
/* harmony export */   getGridColumnHeaderElement: () => (/* binding */ getGridColumnHeaderElement),
/* harmony export */   getGridRowElement: () => (/* binding */ getGridRowElement),
/* harmony export */   getRowEl: () => (/* binding */ getRowEl),
/* harmony export */   isGridCellRoot: () => (/* binding */ isGridCellRoot),
/* harmony export */   isGridHeaderCellRoot: () => (/* binding */ isGridHeaderCellRoot),
/* harmony export */   isOverflown: () => (/* binding */ isOverflown)
/* harmony export */ });
/* harmony import */ var _constants_gridClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/gridClasses */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/constants/gridClasses.js");

function isOverflown(element) {
  return element.scrollHeight > element.clientHeight || element.scrollWidth > element.clientWidth;
}
function findParentElementFromClassName(elem, className) {
  return elem.closest(`.${className}`);
}
function getRowEl(cell) {
  if (!cell) {
    return null;
  }

  return findParentElementFromClassName(cell, _constants_gridClasses__WEBPACK_IMPORTED_MODULE_0__.gridClasses.row);
} // TODO remove

function isGridCellRoot(elem) {
  return elem != null && elem.classList.contains(_constants_gridClasses__WEBPACK_IMPORTED_MODULE_0__.gridClasses.cell);
}
function isGridHeaderCellRoot(elem) {
  return elem != null && elem.classList.contains(_constants_gridClasses__WEBPACK_IMPORTED_MODULE_0__.gridClasses.columnHeader);
}

function escapeOperandAttributeSelector(operand) {
  return operand.replace(/["\\]/g, '\\$&');
}

function getGridColumnHeaderElement(root, field) {
  return root.querySelector(`[role="columnheader"][data-field="${escapeOperandAttributeSelector(field)}"]`);
}

function getGridRowElementSelector(id) {
  return `.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_0__.gridClasses.row}[data-id="${escapeOperandAttributeSelector(String(id))}"]`;
}

function getGridRowElement(root, id) {
  return root.querySelector(getGridRowElementSelector(id));
}
function getGridCellElement(root, {
  id,
  field
}) {
  const rowSelector = getGridRowElementSelector(id);
  const cellSelector = `.${_constants_gridClasses__WEBPACK_IMPORTED_MODULE_0__.gridClasses.cell}[data-field="${escapeOperandAttributeSelector(field)}"]`;
  const selector = `${rowSelector} ${cellSelector}`;
  return root.querySelector(selector);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/exportAs.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/exportAs.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   exportAs: () => (/* binding */ exportAs)
/* harmony export */ });
/**
 * I have hesitated to use https://github.com/eligrey/FileSaver.js.
 * If we get bug reports that this project solves, we should consider using it.
 *
 * Related resources.
 * https://blog.logrocket.com/programmatic-file-downloads-in-the-browser-9a5186298d5c/
 * https://github.com/mbrn/filefy/blob/ec4ed0b7415d93be7158c23029f2ea1fa0b8e2d9/src/core/BaseBuilder.ts
 * https://unpkg.com/browse/@progress/kendo-file-saver@1.0.7/dist/es/save-as.js
 * https://github.com/ag-grid/ag-grid/blob/9565c219b6210aa85fa833c929d0728f9d163a91/community-modules/csv-export/src/csvExport/downloader.ts
 */
function exportAs(blob, extension = 'csv', filename = document.title || 'untitled') {
  const fullName = `${filename}.${extension}`; // Test download attribute first
  // https://github.com/eligrey/FileSaver.js/issues/193

  if ('download' in HTMLAnchorElement.prototype) {
    // Create an object URL for the blob object
    const url = URL.createObjectURL(blob); // Create a new anchor element

    const a = document.createElement('a');
    a.href = url;
    a.download = fullName; // Programmatically trigger a click on the anchor element
    // Useful if you want the download to happen automatically
    // Without attaching the anchor element to the DOM

    a.click(); // https://github.com/eligrey/FileSaver.js/issues/205

    setTimeout(() => {
      URL.revokeObjectURL(url);
    });
    return;
  }

  throw new Error('MUI: exportAs not supported');
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/keyboardUtils.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GRID_CELL_EDIT_COMMIT_KEYS: () => (/* binding */ GRID_CELL_EDIT_COMMIT_KEYS),
/* harmony export */   GRID_CELL_EXIT_EDIT_MODE_KEYS: () => (/* binding */ GRID_CELL_EXIT_EDIT_MODE_KEYS),
/* harmony export */   GRID_MULTIPLE_SELECTION_KEYS: () => (/* binding */ GRID_MULTIPLE_SELECTION_KEYS),
/* harmony export */   isArrowKeys: () => (/* binding */ isArrowKeys),
/* harmony export */   isCellEditCommitKeys: () => (/* binding */ isCellEditCommitKeys),
/* harmony export */   isCellEnterEditModeKeys: () => (/* binding */ isCellEnterEditModeKeys),
/* harmony export */   isCellExitEditModeKeys: () => (/* binding */ isCellExitEditModeKeys),
/* harmony export */   isDeleteKeys: () => (/* binding */ isDeleteKeys),
/* harmony export */   isEnterKey: () => (/* binding */ isEnterKey),
/* harmony export */   isEscapeKey: () => (/* binding */ isEscapeKey),
/* harmony export */   isHideMenuKey: () => (/* binding */ isHideMenuKey),
/* harmony export */   isHomeOrEndKeys: () => (/* binding */ isHomeOrEndKeys),
/* harmony export */   isKeyboardEvent: () => (/* binding */ isKeyboardEvent),
/* harmony export */   isMultipleKey: () => (/* binding */ isMultipleKey),
/* harmony export */   isNavigationKey: () => (/* binding */ isNavigationKey),
/* harmony export */   isPageKeys: () => (/* binding */ isPageKeys),
/* harmony export */   isPrintableKey: () => (/* binding */ isPrintableKey),
/* harmony export */   isSpaceKey: () => (/* binding */ isSpaceKey),
/* harmony export */   isTabKey: () => (/* binding */ isTabKey)
/* harmony export */ });
const isEscapeKey = key => key === 'Escape'; // TODO remove

const isEnterKey = key => key === 'Enter'; // TODO remove

const isTabKey = key => key === 'Tab'; // TODO remove

const isSpaceKey = key => key === ' ';
const isArrowKeys = key => key.indexOf('Arrow') === 0;
const isHomeOrEndKeys = key => key === 'Home' || key === 'End';
const isPageKeys = key => key.indexOf('Page') === 0;
const isDeleteKeys = key => key === 'Delete' || key === 'Backspace'; // Non printable keys have a name, e.g. "ArrowRight", see the whole list:
// https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
// We need to ignore shortcuts, for example: select all:
// - Windows: Ctrl+A, event.ctrlKey is true
// - macOS: ⌘ Command+A, event.metaKey is true

function isPrintableKey(event) {
  return event.key.length === 1 && event.ctrlKey === false && event.metaKey === false;
}
const GRID_MULTIPLE_SELECTION_KEYS = ['Meta', 'Control', 'Shift'];
const GRID_CELL_EXIT_EDIT_MODE_KEYS = ['Enter', 'Escape', 'Tab'];
const GRID_CELL_EDIT_COMMIT_KEYS = ['Enter', 'Tab'];
const isMultipleKey = key => GRID_MULTIPLE_SELECTION_KEYS.indexOf(key) > -1;
const isCellEnterEditModeKeys = event => isEnterKey(event.key) || isDeleteKeys(event.key) || isPrintableKey(event);
const isCellExitEditModeKeys = key => GRID_CELL_EXIT_EDIT_MODE_KEYS.indexOf(key) > -1;
const isCellEditCommitKeys = key => GRID_CELL_EDIT_COMMIT_KEYS.indexOf(key) > -1;
const isNavigationKey = key => isHomeOrEndKeys(key) || isArrowKeys(key) || isPageKeys(key) || isSpaceKey(key);
const isKeyboardEvent = event => !!event.key;
const isHideMenuKey = key => isTabKey(key) || isEscapeKey(key);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/utils.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clamp: () => (/* binding */ clamp),
/* harmony export */   deepClone: () => (/* binding */ deepClone),
/* harmony export */   escapeRegExp: () => (/* binding */ escapeRegExp),
/* harmony export */   isDeepEqual: () => (/* binding */ isDeepEqual),
/* harmony export */   isFunction: () => (/* binding */ isFunction),
/* harmony export */   isNumber: () => (/* binding */ isNumber),
/* harmony export */   isObject: () => (/* binding */ isObject),
/* harmony export */   localStorageAvailable: () => (/* binding */ localStorageAvailable),
/* harmony export */   randomNumberBetween: () => (/* binding */ randomNumberBetween)
/* harmony export */ });
function isNumber(value) {
  return typeof value === 'number';
}
function isFunction(value) {
  return typeof value === 'function';
}
function isObject(value) {
  return typeof value === 'object' && value !== null;
}
function localStorageAvailable() {
  try {
    // Incognito mode might reject access to the localStorage for security reasons.
    // window isn't defined on Node.js
    // https://stackoverflow.com/questions/16427636/check-if-localstorage-is-available
    const key = '__some_random_key_you_are_not_going_to_use__';
    window.localStorage.setItem(key, key);
    window.localStorage.removeItem(key);
    return true;
  } catch (err) {
    return false;
  }
}
function escapeRegExp(value) {
  return value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
}
/**
 * Follows the CSS specification behavior for min and max
 * If min > max, then the min have priority
 */

const clamp = (value, min, max) => Math.max(min, Math.min(max, value));
/**
 * Based on `fast-deep-equal`
 *
 *  MIT License
 *
 * Copyright (c) 2017 Evgeny Poberezkin
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 * We only type the public interface to avoid dozens of `as` in the function.
 */

function isDeepEqual(a, b) {
  if (a === b) {
    return true;
  }

  if (a && b && typeof a === 'object' && typeof b === 'object') {
    if (a.constructor !== b.constructor) {
      return false;
    }

    if (Array.isArray(a)) {
      const length = a.length;

      if (length !== b.length) {
        return false;
      }

      for (let i = 0; i < length; i += 1) {
        if (!isDeepEqual(a[i], b[i])) {
          return false;
        }
      }

      return true;
    }

    if (a instanceof Map && b instanceof Map) {
      if (a.size !== b.size) {
        return false;
      }

      const entriesA = Array.from(a.entries());

      for (let i = 0; i < entriesA.length; i += 1) {
        if (!b.has(entriesA[i][0])) {
          return false;
        }
      }

      for (let i = 0; i < entriesA.length; i += 1) {
        const entryA = entriesA[i];

        if (!isDeepEqual(entryA[1], b.get(entryA[0]))) {
          return false;
        }
      }

      return true;
    }

    if (a instanceof Set && b instanceof Set) {
      if (a.size !== b.size) {
        return false;
      }

      const entries = Array.from(a.entries());

      for (let i = 0; i < entries.length; i += 1) {
        if (!b.has(entries[i][0])) {
          return false;
        }
      }

      return true;
    }

    if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
      const length = a.length;

      if (length !== b.length) {
        return false;
      }

      for (let i = 0; i < length; i += 1) {
        if (a[i] !== b[i]) {
          return false;
        }
      }

      return true;
    }

    if (a.constructor === RegExp) {
      return a.source === b.source && a.flags === b.flags;
    }

    if (a.valueOf !== Object.prototype.valueOf) {
      return a.valueOf() === b.valueOf();
    }

    if (a.toString !== Object.prototype.toString) {
      return a.toString() === b.toString();
    }

    const keys = Object.keys(a);
    const length = keys.length;

    if (length !== Object.keys(b).length) {
      return false;
    }

    for (let i = 0; i < length; i += 1) {
      if (!Object.prototype.hasOwnProperty.call(b, keys[i])) {
        return false;
      }
    }

    for (let i = 0; i < length; i += 1) {
      const key = keys[i];

      if (!isDeepEqual(a[key], b[key])) {
        return false;
      }
    }

    return true;
  } // true if both NaN, false otherwise
  // eslint-disable-next-line no-self-compare


  return a !== a && b !== b;
} // Pseudo random number. See https://stackoverflow.com/a/47593316

function mulberry32(a) {
  return () => {
    /* eslint-disable */
    let t = a += 0x6d2b79f5;
    t = Math.imul(t ^ t >>> 15, t | 1);
    t ^= t + Math.imul(t ^ t >>> 7, t | 61);
    return ((t ^ t >>> 14) >>> 0) / 4294967296;
    /* eslint-enable */
  };
}

function randomNumberBetween(seed, min, max) {
  const random = mulberry32(seed);
  return () => min + (max - min) * random();
}
function deepClone(obj) {
  if (typeof structuredClone === 'function') {
    return structuredClone(obj);
  }

  return JSON.parse(JSON.stringify(obj));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/utils/warning.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   buildWarning: () => (/* binding */ buildWarning),
/* harmony export */   wrapWithWarningOnCall: () => (/* binding */ wrapWithWarningOnCall)
/* harmony export */ });
const buildWarning = (message, gravity = 'warning') => {
  let alreadyWarned = false;
  const cleanMessage = Array.isArray(message) ? message.join('\n') : message;
  return () => {
    if (!alreadyWarned) {
      alreadyWarned = true;

      if (gravity === 'error') {
        console.error(cleanMessage);
      } else {
        console.warn(cleanMessage);
      }
    }
  };
};
const wrapWithWarningOnCall = (method, message) => {
  if (false) // removed by dead control flow
{}

  const warning = buildWarning(message);
  return (...args) => {
    warning();
    return method(...args);
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/CalendarPicker.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/CalendarPicker.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CalendarPicker: () => (/* binding */ CalendarPicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _MonthPicker_MonthPicker__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../MonthPicker/MonthPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/MonthPicker.js");
/* harmony import */ var _useCalendarState__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./useCalendarState */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/useCalendarState.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _PickersFadeTransitionGroup__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./PickersFadeTransitionGroup */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersFadeTransitionGroup.js");
/* harmony import */ var _DayPicker__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./DayPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/DayPicker.js");
/* harmony import */ var _internals_hooks_useViews__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../internals/hooks/useViews */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useViews.js");
/* harmony import */ var _PickersCalendarHeader__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./PickersCalendarHeader */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersCalendarHeader.js");
/* harmony import */ var _YearPicker_YearPicker__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../YearPicker/YearPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/YearPicker.js");
/* harmony import */ var _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../internals/utils/date-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js");
/* harmony import */ var _internals_components_PickerViewRoot__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../internals/components/PickerViewRoot */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickerViewRoot/PickerViewRoot.js");
/* harmony import */ var _internals_utils_defaultReduceAnimations__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../internals/utils/defaultReduceAnimations */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/defaultReduceAnimations.js");
/* harmony import */ var _calendarPickerClasses__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./calendarPickerClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/calendarPickerClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["autoFocus", "onViewChange", "date", "disableFuture", "disablePast", "defaultCalendarMonth", "onChange", "onYearChange", "onMonthChange", "reduceAnimations", "shouldDisableDate", "shouldDisableMonth", "shouldDisableYear", "view", "views", "openTo", "className", "disabled", "readOnly", "minDate", "maxDate", "disableHighlightToday", "focusedView", "onFocusedViewChange", "classes"];





















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    viewTransitionContainer: ['viewTransitionContainer']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"])(slots, _calendarPickerClasses__WEBPACK_IMPORTED_MODULE_22__.getCalendarPickerUtilityClass, classes);
};

function useCalendarPickerDefaultizedProps(props, name) {
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_13__.useUtils)();
  const defaultDates = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_13__.useDefaultDates)();
  const themeProps = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])({
    props,
    name
  });
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    loading: false,
    disablePast: false,
    disableFuture: false,
    openTo: 'day',
    views: ['year', 'day'],
    reduceAnimations: _internals_utils_defaultReduceAnimations__WEBPACK_IMPORTED_MODULE_21__.defaultReduceAnimations,
    renderLoading: () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
      children: "..."
    })
  }, themeProps, {
    minDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_19__.parseNonNullablePickerDate)(utils, themeProps.minDate, defaultDates.minDate),
    maxDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_19__.parseNonNullablePickerDate)(utils, themeProps.maxDate, defaultDates.maxDate)
  });
}

const CalendarPickerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_internals_components_PickerViewRoot__WEBPACK_IMPORTED_MODULE_20__.PickerViewRoot, {
  name: 'MuiCalendarPicker',
  slot: 'Root',
  overridesResolver: (props, styles) => styles.root
})({
  display: 'flex',
  flexDirection: 'column'
});
const CalendarPickerViewTransitionContainer = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_PickersFadeTransitionGroup__WEBPACK_IMPORTED_MODULE_14__.PickersFadeTransitionGroup, {
  name: 'MuiCalendarPicker',
  slot: 'ViewTransitionContainer',
  overridesResolver: (props, styles) => styles.viewTransitionContainer
})({});

/**
 *
 * Demos:
 *
 * - [Date Picker](https://mui.com/x/react-date-pickers/date-picker/)
 *
 * API:
 *
 * - [CalendarPicker API](https://mui.com/x/api/date-pickers/calendar-picker/)
 */
const CalendarPicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function CalendarPicker(inProps, ref) {
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_13__.useUtils)();
  const id = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const props = useCalendarPickerDefaultizedProps(inProps, 'MuiCalendarPicker');

  const {
    autoFocus,
    onViewChange,
    date,
    disableFuture,
    disablePast,
    defaultCalendarMonth,
    onChange,
    onYearChange,
    onMonthChange,
    reduceAnimations,
    shouldDisableDate,
    shouldDisableMonth,
    shouldDisableYear,
    view,
    views,
    openTo,
    className,
    disabled,
    readOnly,
    minDate,
    maxDate,
    disableHighlightToday,
    focusedView,
    onFocusedViewChange
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const {
    openView,
    setOpenView,
    openNext
  } = (0,_internals_hooks_useViews__WEBPACK_IMPORTED_MODULE_16__.useViews)({
    view,
    views,
    openTo,
    onChange,
    onViewChange
  });
  const {
    calendarState,
    changeFocusedDay,
    changeMonth,
    handleChangeMonth,
    isDateDisabled,
    onMonthSwitchingAnimationEnd
  } = (0,_useCalendarState__WEBPACK_IMPORTED_MODULE_12__.useCalendarState)({
    date,
    defaultCalendarMonth,
    reduceAnimations,
    onMonthChange,
    minDate,
    maxDate,
    shouldDisableDate,
    disablePast,
    disableFuture
  });
  const handleDateMonthChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((newDate, selectionState) => {
    const startOfMonth = utils.startOfMonth(newDate);
    const endOfMonth = utils.endOfMonth(newDate);
    const closestEnabledDate = isDateDisabled(newDate) ? (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_19__.findClosestEnabledDate)({
      utils,
      date: newDate,
      minDate: utils.isBefore(minDate, startOfMonth) ? startOfMonth : minDate,
      maxDate: utils.isAfter(maxDate, endOfMonth) ? endOfMonth : maxDate,
      disablePast,
      disableFuture,
      isDateDisabled
    }) : newDate;

    if (closestEnabledDate) {
      onChange(closestEnabledDate, selectionState);
      onMonthChange == null ? void 0 : onMonthChange(startOfMonth);
    } else {
      openNext();
      changeMonth(startOfMonth);
    }

    changeFocusedDay(closestEnabledDate, true);
  }, [changeFocusedDay, disableFuture, disablePast, isDateDisabled, maxDate, minDate, onChange, onMonthChange, changeMonth, openNext, utils]);
  const handleDateYearChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((newDate, selectionState) => {
    const startOfYear = utils.startOfYear(newDate);
    const endOfYear = utils.endOfYear(newDate);
    const closestEnabledDate = isDateDisabled(newDate) ? (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_19__.findClosestEnabledDate)({
      utils,
      date: newDate,
      minDate: utils.isBefore(minDate, startOfYear) ? startOfYear : minDate,
      maxDate: utils.isAfter(maxDate, endOfYear) ? endOfYear : maxDate,
      disablePast,
      disableFuture,
      isDateDisabled
    }) : newDate;

    if (closestEnabledDate) {
      onChange(closestEnabledDate, selectionState);
      onYearChange == null ? void 0 : onYearChange(closestEnabledDate);
    } else {
      openNext();
      changeMonth(startOfYear);
    }

    changeFocusedDay(closestEnabledDate, true);
  }, [changeFocusedDay, disableFuture, disablePast, isDateDisabled, maxDate, minDate, onChange, onYearChange, openNext, utils, changeMonth]);
  const onSelectedDayChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((day, isFinish) => {
    if (date && day) {
      // If there is a date already selected, then we want to keep its time
      return onChange(utils.mergeDateAndTime(day, date), isFinish);
    }

    return onChange(day, isFinish);
  }, [utils, date, onChange]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (date) {
      changeMonth(date);
    }
  }, [date]); // eslint-disable-line

  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  const baseDateValidationProps = {
    disablePast,
    disableFuture,
    maxDate,
    minDate
  }; // When disabled, limit the view to the selected date

  const minDateWithDisabled = disabled && date || minDate;
  const maxDateWithDisabled = disabled && date || maxDate;
  const commonViewProps = {
    disableHighlightToday,
    readOnly,
    disabled
  };
  const gridLabelId = `${id}-grid-label`;
  const [internalFocusedView, setInternalFocusedView] = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_9__["default"])({
    name: 'DayPicker',
    state: 'focusedView',
    controlled: focusedView,
    default: autoFocus ? openView : null
  });
  const hasFocus = internalFocusedView !== null;
  const handleFocusedViewChange = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_10__["default"])(eventView => newHasFocus => {
    if (onFocusedViewChange) {
      // Use the calendar or clock logic
      onFocusedViewChange(eventView)(newHasFocus);
      return;
    } // If alone, do the local modifications


    if (newHasFocus) {
      setInternalFocusedView(eventView);
    } else {
      setInternalFocusedView(prevView => prevView === eventView ? null : prevView);
    }
  });
  const prevOpenViewRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(openView);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    // Set focus to the button when switching from a view to another
    if (prevOpenViewRef.current === openView) {
      return;
    }

    prevOpenViewRef.current = openView;
    handleFocusedViewChange(openView)(true);
  }, [openView, handleFocusedViewChange]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(CalendarPickerRoot, {
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: ownerState,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_PickersCalendarHeader__WEBPACK_IMPORTED_MODULE_17__.PickersCalendarHeader, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, other, {
      views: views,
      openView: openView,
      currentMonth: calendarState.currentMonth,
      onViewChange: setOpenView,
      onMonthChange: (newMonth, direction) => handleChangeMonth({
        newMonth,
        direction
      }),
      minDate: minDateWithDisabled,
      maxDate: maxDateWithDisabled,
      disabled: disabled,
      disablePast: disablePast,
      disableFuture: disableFuture,
      reduceAnimations: reduceAnimations,
      labelId: gridLabelId
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(CalendarPickerViewTransitionContainer, {
      reduceAnimations: reduceAnimations,
      className: classes.viewTransitionContainer,
      transKey: openView,
      ownerState: ownerState,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
        children: [openView === 'year' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_YearPicker_YearPicker__WEBPACK_IMPORTED_MODULE_18__.YearPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, other, baseDateValidationProps, commonViewProps, {
          autoFocus: autoFocus,
          date: date,
          onChange: handleDateYearChange,
          shouldDisableYear: shouldDisableYear,
          hasFocus: hasFocus,
          onFocusedViewChange: handleFocusedViewChange('year')
        })), openView === 'month' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_MonthPicker_MonthPicker__WEBPACK_IMPORTED_MODULE_11__.MonthPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, baseDateValidationProps, commonViewProps, {
          autoFocus: autoFocus,
          hasFocus: hasFocus,
          className: className,
          date: date,
          onChange: handleDateMonthChange,
          shouldDisableMonth: shouldDisableMonth,
          onFocusedViewChange: handleFocusedViewChange('month')
        })), openView === 'day' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_DayPicker__WEBPACK_IMPORTED_MODULE_15__.DayPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, other, calendarState, baseDateValidationProps, commonViewProps, {
          autoFocus: autoFocus,
          onMonthSwitchingAnimationEnd: onMonthSwitchingAnimationEnd,
          onFocusedDayChange: changeFocusedDay,
          reduceAnimations: reduceAnimations,
          selectedDays: [date],
          onSelectedDaysChange: onSelectedDayChange,
          shouldDisableDate: shouldDisableDate,
          hasFocus: hasFocus,
          onFocusedViewChange: handleFocusedViewChange('day'),
          gridLabelId: gridLabelId
        }))]
      })
    })]
  });
});
 true ? CalendarPicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  date: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Formats the day of week displayed in the calendar header.
   * @param {string} day The day of week provided by the adapter's method `getWeekdays`.
   * @returns {string} The name to display.
   * @default (day) => day.charAt(0).toUpperCase()
   */
  dayOfWeekFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Default calendar month displayed when `value={null}`.
   */
  defaultCalendarMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` future days are disabled.
   * @default false
   */
  disableFuture: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, today's date is rendering without highlighting with circle.
   * @default false
   */
  disableHighlightToday: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` past days are disabled.
   * @default false
   */
  disablePast: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  focusedView: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']),

  /**
   * Get aria-label text for switching between views button.
   * @param {CalendarPickerView} currentView The view from which we want to get the button text.
   * @returns {string} The label of the view.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  getViewSwitchingButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Left arrow icon aria-label text.
   * @deprecated
   */
  leftArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * If `true` renders `LoadingComponent` in calendar instead of calendar view.
   * Can be used to preload information and show it in calendar.
   * @default false
   */
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Maximal selectable date. @DateIOType
   */
  maxDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Minimal selectable date. @DateIOType
   */
  minDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Callback fired on date change
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  onFocusedViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback firing on month change @DateIOType.
   * @template TDate
   * @param {TDate} month The new month.
   * @returns {void|Promise} -
   */
  onMonthChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired on view change.
   * @param {CalendarPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback firing on year change @DateIOType.
   * @template TDate
   * @param {TDate} year The new year.
   */
  onYearChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Initially open view.
   * @default 'day'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable heavy animations.
   * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
   */
  reduceAnimations: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Custom renderer for day. Check the [PickersDay](https://mui.com/x/api/date-pickers/pickers-day/) component.
   * @template TDate
   * @param {TDate} day The day to render.
   * @param {Array<TDate | null>} selectedDays The days currently selected.
   * @param {PickersDayProps<TDate>} pickersDayProps The props of the day to render.
   * @returns {JSX.Element} The element representing the day.
   */
  renderDay: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Component displaying when passed `loading` true.
   * @returns {React.ReactNode} The node to render when loading.
   * @default () => <span data-mui-test="loading-progress">...</span>
   */
  renderLoading: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Right arrow icon aria-label text.
   * @deprecated
   */
  rightArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Disable specific date. @DateIOType
   * @template TDate
   * @param {TDate} day The date to test.
   * @returns {boolean} Returns `true` if the date should be disabled.
   */
  shouldDisableDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Disable specific months dynamically.
   * Works like `shouldDisableDate` but for month selection view @DateIOType.
   * @template TDate
   * @param {TDate} month The month to check.
   * @returns {boolean} If `true` the month will be disabled.
   */
  shouldDisableMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Disable specific years dynamically.
   * Works like `shouldDisableDate` but for year selection view @DateIOType.
   * @template TDate
   * @param {TDate} year The year to test.
   * @returns {boolean} Returns `true` if the year should be disabled.
   */
  shouldDisableYear: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true`, days that have `outsideCurrentMonth={true}` are displayed.
   * @default false
   */
  showDaysOutsideCurrentMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Controlled open view.
   */
  view: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']),

  /**
   * Views for calendar picker.
   * @default ['year', 'day']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/DayPicker.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/DayPicker.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DayPicker: () => (/* binding */ DayPicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _PickersDay_PickersDay__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../PickersDay/PickersDay */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersDay/PickersDay.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/constants/dimensions */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/constants/dimensions.js");
/* harmony import */ var _PickersSlideTransition__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./PickersSlideTransition */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersSlideTransition.js");
/* harmony import */ var _internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internals/hooks/validation/useDateValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateValidation.js");
/* harmony import */ var _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internals/utils/date-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js");
/* harmony import */ var _dayPickerClasses__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./dayPickerClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/dayPickerClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");

















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    header: ['header'],
    weekDayLabel: ['weekDayLabel'],
    loadingContainer: ['loadingContainer'],
    slideTransition: ['slideTransition'],
    monthContainer: ['monthContainer'],
    weekContainer: ['weekContainer']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _dayPickerClasses__WEBPACK_IMPORTED_MODULE_14__.getDayPickerUtilityClass, classes);
};

const defaultDayOfWeekFormatter = day => day.charAt(0).toUpperCase();

const weeksContainerHeight = (_internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_10__.DAY_SIZE + _internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_10__.DAY_MARGIN * 2) * 6;
const PickersCalendarDayHeader = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDayPicker',
  slot: 'Header',
  overridesResolver: (_, styles) => styles.header
})({
  display: 'flex',
  justifyContent: 'center',
  alignItems: 'center'
});
const PickersCalendarWeekDayLabel = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__["default"], {
  name: 'MuiDayPicker',
  slot: 'WeekDayLabel',
  overridesResolver: (_, styles) => styles.weekDayLabel
})(({
  theme
}) => ({
  width: 36,
  height: 40,
  margin: '0 2px',
  textAlign: 'center',
  display: 'flex',
  justifyContent: 'center',
  alignItems: 'center',
  color: theme.palette.text.secondary
}));
const PickersCalendarLoadingContainer = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDayPicker',
  slot: 'LoadingContainer',
  overridesResolver: (_, styles) => styles.loadingContainer
})({
  display: 'flex',
  justifyContent: 'center',
  alignItems: 'center',
  minHeight: weeksContainerHeight
});
const PickersCalendarSlideTransition = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_PickersSlideTransition__WEBPACK_IMPORTED_MODULE_11__.PickersSlideTransition, {
  name: 'MuiDayPicker',
  slot: 'SlideTransition',
  overridesResolver: (_, styles) => styles.slideTransition
})({
  minHeight: weeksContainerHeight
});
const PickersCalendarWeekContainer = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDayPicker',
  slot: 'MonthContainer',
  overridesResolver: (_, styles) => styles.monthContainer
})({
  overflow: 'hidden'
});
const PickersCalendarWeek = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiDayPicker',
  slot: 'WeekContainer',
  overridesResolver: (_, styles) => styles.weekContainer
})({
  margin: `${_internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_10__.DAY_MARGIN}px 0`,
  display: 'flex',
  justifyContent: 'center'
});
/**
 * @ignore - do not document.
 */

function DayPicker(inProps) {
  const now = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_9__.useNow)();
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_9__.useUtils)();
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props: inProps,
    name: 'MuiDayPicker'
  });
  const classes = useUtilityClasses(props);
  const {
    onFocusedDayChange,
    className,
    currentMonth,
    selectedDays,
    disabled,
    disableHighlightToday,
    focusedDay,
    isMonthSwitchingAnimating,
    loading,
    onSelectedDaysChange,
    onMonthSwitchingAnimationEnd,
    readOnly,
    reduceAnimations,
    renderDay,
    renderLoading = () => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)("span", {
      children: "..."
    }),
    showDaysOutsideCurrentMonth,
    slideDirection,
    TransitionProps,
    disablePast,
    disableFuture,
    minDate,
    maxDate,
    shouldDisableDate,
    dayOfWeekFormatter = defaultDayOfWeekFormatter,
    hasFocus,
    onFocusedViewChange,
    gridLabelId
  } = props;
  const isDateDisabled = (0,_internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_12__.useIsDayDisabled)({
    shouldDisableDate,
    minDate,
    maxDate,
    disablePast,
    disableFuture
  });
  const [internalFocusedDay, setInternalFocusedDay] = react__WEBPACK_IMPORTED_MODULE_1__.useState(() => focusedDay || now);
  const changeHasFocus = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(newHasFocus => {
    if (onFocusedViewChange) {
      onFocusedViewChange(newHasFocus);
    }
  }, [onFocusedViewChange]);
  const handleDaySelect = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((day, isFinish = 'finish') => {
    if (readOnly) {
      return;
    }

    onSelectedDaysChange(day, isFinish);
  }, [onSelectedDaysChange, readOnly]);
  const focusDay = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(day => {
    if (!isDateDisabled(day)) {
      onFocusedDayChange(day);
      setInternalFocusedDay(day);
      changeHasFocus(true);
    }
  }, [isDateDisabled, onFocusedDayChange, changeHasFocus]);
  const theme = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])();

  function handleKeyDown(event, day) {
    switch (event.key) {
      case 'ArrowUp':
        focusDay(utils.addDays(day, -7));
        event.preventDefault();
        break;

      case 'ArrowDown':
        focusDay(utils.addDays(day, 7));
        event.preventDefault();
        break;

      case 'ArrowLeft':
        {
          const newFocusedDayDefault = utils.addDays(day, theme.direction === 'ltr' ? -1 : 1);
          const nextAvailableMonth = theme.direction === 'ltr' ? utils.getPreviousMonth(day) : utils.getNextMonth(day);
          const closestDayToFocus = (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_13__.findClosestEnabledDate)({
            utils,
            date: newFocusedDayDefault,
            minDate: theme.direction === 'ltr' ? utils.startOfMonth(nextAvailableMonth) : newFocusedDayDefault,
            maxDate: theme.direction === 'ltr' ? newFocusedDayDefault : utils.endOfMonth(nextAvailableMonth),
            isDateDisabled
          });
          focusDay(closestDayToFocus || newFocusedDayDefault);
          event.preventDefault();
          break;
        }

      case 'ArrowRight':
        {
          const newFocusedDayDefault = utils.addDays(day, theme.direction === 'ltr' ? 1 : -1);
          const nextAvailableMonth = theme.direction === 'ltr' ? utils.getNextMonth(day) : utils.getPreviousMonth(day);
          const closestDayToFocus = (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_13__.findClosestEnabledDate)({
            utils,
            date: newFocusedDayDefault,
            minDate: theme.direction === 'ltr' ? newFocusedDayDefault : utils.startOfMonth(nextAvailableMonth),
            maxDate: theme.direction === 'ltr' ? utils.endOfMonth(nextAvailableMonth) : newFocusedDayDefault,
            isDateDisabled
          });
          focusDay(closestDayToFocus || newFocusedDayDefault);
          event.preventDefault();
          break;
        }

      case 'Home':
        focusDay(utils.startOfWeek(day));
        event.preventDefault();
        break;

      case 'End':
        focusDay(utils.endOfWeek(day));
        event.preventDefault();
        break;

      case 'PageUp':
        focusDay(utils.getNextMonth(day));
        event.preventDefault();
        break;

      case 'PageDown':
        focusDay(utils.getPreviousMonth(day));
        event.preventDefault();
        break;

      default:
        break;
    }
  }

  function handleFocus(event, day) {
    focusDay(day);
  }

  function handleBlur(event, day) {
    if (hasFocus && utils.isSameDay(internalFocusedDay, day)) {
      changeHasFocus(false);
    }
  }

  const currentMonthNumber = utils.getMonth(currentMonth);
  const validSelectedDays = selectedDays.filter(day => !!day).map(day => utils.startOfDay(day)); // need a new ref whenever the `key` of the transition changes: http://reactcommunity.org/react-transition-group/transition/#Transition-prop-nodeRef.

  const transitionKey = currentMonthNumber; // eslint-disable-next-line react-hooks/exhaustive-deps

  const slideNodeRef = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createRef(), [transitionKey]);
  const startOfCurrentWeek = utils.startOfWeek(now);
  const focusableDay = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    const startOfMonth = utils.startOfMonth(currentMonth);
    const endOfMonth = utils.endOfMonth(currentMonth);

    if (isDateDisabled(internalFocusedDay) || utils.isAfterDay(internalFocusedDay, endOfMonth) || utils.isBeforeDay(internalFocusedDay, startOfMonth)) {
      return (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_13__.findClosestEnabledDate)({
        utils,
        date: internalFocusedDay,
        minDate: startOfMonth,
        maxDate: endOfMonth,
        disablePast,
        disableFuture,
        isDateDisabled
      });
    }

    return internalFocusedDay;
  }, [currentMonth, disableFuture, disablePast, internalFocusedDay, isDateDisabled, utils]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)("div", {
    role: "grid",
    "aria-labelledby": gridLabelId,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersCalendarDayHeader, {
      role: "row",
      className: classes.header,
      children: utils.getWeekdays().map((day, i) => {
        var _dayOfWeekFormatter;

        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersCalendarWeekDayLabel, {
          variant: "caption",
          role: "columnheader",
          "aria-label": utils.format(utils.addDays(startOfCurrentWeek, i), 'weekday'),
          className: classes.weekDayLabel,
          children: (_dayOfWeekFormatter = dayOfWeekFormatter == null ? void 0 : dayOfWeekFormatter(day)) != null ? _dayOfWeekFormatter : day
        }, day + i.toString());
      })
    }), loading ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersCalendarLoadingContainer, {
      className: classes.loadingContainer,
      children: renderLoading()
    }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersCalendarSlideTransition, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      transKey: transitionKey,
      onExited: onMonthSwitchingAnimationEnd,
      reduceAnimations: reduceAnimations,
      slideDirection: slideDirection,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_7__["default"])(className, classes.slideTransition)
    }, TransitionProps, {
      nodeRef: slideNodeRef,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersCalendarWeekContainer, {
        ref: slideNodeRef,
        role: "rowgroup",
        className: classes.monthContainer,
        children: utils.getWeekArray(currentMonth).map(week => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersCalendarWeek, {
          role: "row",
          className: classes.weekContainer,
          children: week.map(day => {
            const isFocusableDay = focusableDay !== null && utils.isSameDay(day, focusableDay);
            const isSelected = validSelectedDays.some(selectedDay => utils.isSameDay(selectedDay, day));
            const isToday = utils.isSameDay(day, now);
            const pickersDayProps = {
              key: day == null ? void 0 : day.toString(),
              day,
              isAnimating: isMonthSwitchingAnimating,
              disabled: disabled || isDateDisabled(day),
              autoFocus: hasFocus && isFocusableDay,
              today: isToday,
              outsideCurrentMonth: utils.getMonth(day) !== currentMonthNumber,
              selected: isSelected,
              disableHighlightToday,
              showDaysOutsideCurrentMonth,
              onKeyDown: handleKeyDown,
              onFocus: handleFocus,
              onBlur: handleBlur,
              onDaySelect: handleDaySelect,
              tabIndex: isFocusableDay ? 0 : -1,
              role: 'gridcell',
              'aria-selected': isSelected
            };

            if (isToday) {
              pickersDayProps['aria-current'] = 'date';
            }

            return renderDay ? renderDay(day, validSelectedDays, pickersDayProps) : /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.createElement)(_PickersDay_PickersDay__WEBPACK_IMPORTED_MODULE_8__.PickersDay, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, pickersDayProps, {
              key: pickersDayProps.key
            }));
          })
        }, `week-${week[0]}`))
      })
    }))]
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersCalendarHeader.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersCalendarHeader.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersCalendarHeader: () => (/* binding */ PickersCalendarHeader)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_Fade__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Fade */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _PickersFadeTransitionGroup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./PickersFadeTransitionGroup */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersFadeTransitionGroup.js");
/* harmony import */ var _internals_components_icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/components/icons */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/icons/index.js");
/* harmony import */ var _internals_components_PickersArrowSwitcher__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/components/PickersArrowSwitcher */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersArrowSwitcher.js");
/* harmony import */ var _internals_hooks_date_helpers_hooks__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../internals/hooks/date-helpers-hooks */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/date-helpers-hooks.js");
/* harmony import */ var _internals_utils_warning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internals/utils/warning */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/warning.js");
/* harmony import */ var _pickersCalendarHeaderClasses__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./pickersCalendarHeaderClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersCalendarHeaderClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    labelContainer: ['labelContainer'],
    label: ['label'],
    switchViewButton: ['switchViewButton'],
    switchViewIcon: ['switchViewIcon']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _pickersCalendarHeaderClasses__WEBPACK_IMPORTED_MODULE_13__.getPickersCalendarHeaderUtilityClass, classes);
};

const PickersCalendarHeaderRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiPickersCalendarHeader',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})({
  display: 'flex',
  alignItems: 'center',
  marginTop: 16,
  marginBottom: 8,
  paddingLeft: 24,
  paddingRight: 12,
  // prevent jumping in safari
  maxHeight: 30,
  minHeight: 30
});
const PickersCalendarHeaderLabelContainer = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiPickersCalendarHeader',
  slot: 'LabelContainer',
  overridesResolver: (_, styles) => styles.labelContainer
})(({
  theme
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  display: 'flex',
  maxHeight: 30,
  overflow: 'hidden',
  alignItems: 'center',
  cursor: 'pointer',
  marginRight: 'auto'
}, theme.typography.body1, {
  fontWeight: theme.typography.fontWeightMedium
}));
const PickersCalendarHeaderLabel = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiPickersCalendarHeader',
  slot: 'Label',
  overridesResolver: (_, styles) => styles.label
})({
  marginRight: 6
});
const PickersCalendarHeaderSwitchViewButton = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_6__["default"], {
  name: 'MuiPickersCalendarHeader',
  slot: 'SwitchViewButton',
  overridesResolver: (_, styles) => styles.switchViewButton
})({
  marginRight: 'auto'
});
const PickersCalendarHeaderSwitchViewIcon = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(_internals_components_icons__WEBPACK_IMPORTED_MODULE_9__.ArrowDropDown, {
  name: 'MuiPickersCalendarHeader',
  slot: 'SwitchViewIcon',
  overridesResolver: (_, styles) => styles.switchViewIcon
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  willChange: 'transform',
  transition: theme.transitions.create('transform'),
  transform: 'rotate(0deg)'
}, ownerState.openView === 'year' && {
  transform: 'rotate(180deg)'
}));
const deprecatedPropsWarning = (0,_internals_utils_warning__WEBPACK_IMPORTED_MODULE_12__.buildDeprecatedPropsWarning)('Props for translation are deprecated. See https://mui.com/x/react-date-pickers/localization for more information.');
/**
 * @ignore - do not document.
 */

function PickersCalendarHeader(inProps) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])({
    props: inProps,
    name: 'MuiPickersCalendarHeader'
  });
  const {
    components = {},
    componentsProps = {},
    currentMonth: month,
    disabled,
    disableFuture,
    disablePast,
    getViewSwitchingButtonText: getViewSwitchingButtonTextProp,
    leftArrowButtonText: leftArrowButtonTextProp,
    maxDate,
    minDate,
    onMonthChange,
    onViewChange,
    openView: currentView,
    reduceAnimations,
    rightArrowButtonText: rightArrowButtonTextProp,
    views,
    labelId
  } = props;
  deprecatedPropsWarning({
    leftArrowButtonText: leftArrowButtonTextProp,
    rightArrowButtonText: rightArrowButtonTextProp,
    getViewSwitchingButtonText: getViewSwitchingButtonTextProp
  });
  const localeText = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_7__.useLocaleText)();
  const leftArrowButtonText = leftArrowButtonTextProp != null ? leftArrowButtonTextProp : localeText.previousMonth;
  const rightArrowButtonText = rightArrowButtonTextProp != null ? rightArrowButtonTextProp : localeText.nextMonth;
  const getViewSwitchingButtonText = getViewSwitchingButtonTextProp != null ? getViewSwitchingButtonTextProp : localeText.calendarViewSwitchingButtonAriaLabel;
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_7__.useUtils)();
  const classes = useUtilityClasses(props);
  const switchViewButtonProps = componentsProps.switchViewButton || {};

  const selectNextMonth = () => onMonthChange(utils.getNextMonth(month), 'left');

  const selectPreviousMonth = () => onMonthChange(utils.getPreviousMonth(month), 'right');

  const isNextMonthDisabled = (0,_internals_hooks_date_helpers_hooks__WEBPACK_IMPORTED_MODULE_11__.useNextMonthDisabled)(month, {
    disableFuture,
    maxDate
  });
  const isPreviousMonthDisabled = (0,_internals_hooks_date_helpers_hooks__WEBPACK_IMPORTED_MODULE_11__.usePreviousMonthDisabled)(month, {
    disablePast,
    minDate
  });

  const handleToggleView = () => {
    if (views.length === 1 || !onViewChange || disabled) {
      return;
    }

    if (views.length === 2) {
      onViewChange(views.find(view => view !== currentView) || views[0]);
    } else {
      // switching only between first 2
      const nextIndexToOpen = views.indexOf(currentView) !== 0 ? 0 : 1;
      onViewChange(views[nextIndexToOpen]);
    }
  }; // No need to display more information


  if (views.length === 1 && views[0] === 'year') {
    return null;
  }

  const ownerState = props;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(PickersCalendarHeaderRoot, {
    ownerState: ownerState,
    className: classes.root,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(PickersCalendarHeaderLabelContainer, {
      role: "presentation",
      onClick: handleToggleView,
      ownerState: ownerState // putting this on the label item element below breaks when using transition
      ,
      "aria-live": "polite",
      className: classes.labelContainer,
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_PickersFadeTransitionGroup__WEBPACK_IMPORTED_MODULE_8__.PickersFadeTransitionGroup, {
        reduceAnimations: reduceAnimations,
        transKey: utils.format(month, 'monthAndYear'),
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(PickersCalendarHeaderLabel, {
          id: labelId,
          ownerState: ownerState,
          className: classes.label,
          children: utils.format(month, 'monthAndYear')
        })
      }), views.length > 1 && !disabled && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(PickersCalendarHeaderSwitchViewButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        size: "small",
        as: components.SwitchViewButton,
        "aria-label": getViewSwitchingButtonText(currentView),
        className: classes.switchViewButton
      }, switchViewButtonProps, {
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(PickersCalendarHeaderSwitchViewIcon, {
          as: components.SwitchViewIcon,
          ownerState: ownerState,
          className: classes.switchViewIcon
        })
      }))]
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_mui_material_Fade__WEBPACK_IMPORTED_MODULE_2__["default"], {
      in: currentView === 'day',
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_internals_components_PickersArrowSwitcher__WEBPACK_IMPORTED_MODULE_10__.PickersArrowSwitcher, {
        leftArrowButtonText: leftArrowButtonText,
        rightArrowButtonText: rightArrowButtonText,
        components: components,
        componentsProps: componentsProps,
        onLeftClick: selectPreviousMonth,
        onRightClick: selectNextMonth,
        isLeftDisabled: isPreviousMonthDisabled,
        isRightDisabled: isNextMonthDisabled
      })
    })]
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersFadeTransitionGroup.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersFadeTransitionGroup.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersFadeTransitionGroup: () => (/* binding */ PickersFadeTransitionGroup)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_Fade__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Fade */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.js");
/* harmony import */ var _pickersFadeTransitionGroupClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pickersFadeTransitionGroupClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersFadeTransitionGroupClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _pickersFadeTransitionGroupClasses__WEBPACK_IMPORTED_MODULE_7__.getPickersFadeTransitionGroupUtilityClass, classes);
};

const animationDuration = 500;
const PickersFadeTransitionGroupRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(react_transition_group__WEBPACK_IMPORTED_MODULE_6__["default"], {
  name: 'MuiPickersFadeTransitionGroup',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})({
  display: 'block',
  position: 'relative'
});
/**
 * @ignore - do not document.
 */

function PickersFadeTransitionGroup(inProps) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])({
    props: inProps,
    name: 'MuiPickersFadeTransitionGroup'
  });
  const {
    children,
    className,
    reduceAnimations,
    transKey
  } = props;
  const classes = useUtilityClasses(props);

  if (reduceAnimations) {
    return children;
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(PickersFadeTransitionGroupRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(classes.root, className),
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_mui_material_Fade__WEBPACK_IMPORTED_MODULE_2__["default"], {
      appear: false,
      mountOnEnter: true,
      unmountOnExit: true,
      timeout: {
        appear: animationDuration,
        enter: animationDuration / 2,
        exit: 0
      },
      children: children
    }, transKey)
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersSlideTransition.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/PickersSlideTransition.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersSlideTransition: () => (/* binding */ PickersSlideTransition),
/* harmony export */   slideAnimationDuration: () => (/* binding */ slideAnimationDuration)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/CSSTransition.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.js");
/* harmony import */ var _pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./pickersSlideTransitionClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersSlideTransitionClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["children", "className", "reduceAnimations", "slideDirection", "transKey"];








const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.getPickersSlideTransitionUtilityClass, classes);
};

const slideAnimationDuration = 350;
const PickersSlideTransitionRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(react_transition_group__WEBPACK_IMPORTED_MODULE_7__["default"], {
  name: 'PrivatePickersSlideTransition',
  slot: 'Root',
  overridesResolver: (_, styles) => [styles.root, {
    [`.${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideEnter-left']}`]: styles['slideEnter-left']
  }, {
    [`.${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideEnter-right']}`]: styles['slideEnter-right']
  }, {
    [`.${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses.slideEnterActive}`]: styles.slideEnterActive
  }, {
    [`.${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses.slideExit}`]: styles.slideExit
  }, {
    [`.${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideExitActiveLeft-left']}`]: styles['slideExitActiveLeft-left']
  }, {
    [`.${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideExitActiveLeft-right']}`]: styles['slideExitActiveLeft-right']
  }]
})(({
  theme
}) => {
  const slideTransition = theme.transitions.create('transform', {
    duration: slideAnimationDuration,
    easing: 'cubic-bezier(0.35, 0.8, 0.4, 1)'
  });
  return {
    display: 'block',
    position: 'relative',
    overflowX: 'hidden',
    '& > *': {
      position: 'absolute',
      top: 0,
      right: 0,
      left: 0
    },
    [`& .${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideEnter-left']}`]: {
      willChange: 'transform',
      transform: 'translate(100%)',
      zIndex: 1
    },
    [`& .${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideEnter-right']}`]: {
      willChange: 'transform',
      transform: 'translate(-100%)',
      zIndex: 1
    },
    [`& .${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses.slideEnterActive}`]: {
      transform: 'translate(0%)',
      transition: slideTransition
    },
    [`& .${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses.slideExit}`]: {
      transform: 'translate(0%)'
    },
    [`& .${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideExitActiveLeft-left']}`]: {
      willChange: 'transform',
      transform: 'translate(-100%)',
      transition: slideTransition,
      zIndex: 0
    },
    [`& .${_pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses['slideExitActiveLeft-right']}`]: {
      willChange: 'transform',
      transform: 'translate(100%)',
      transition: slideTransition,
      zIndex: 0
    }
  };
});
/**
 * @ignore - do not document.
 */

const PickersSlideTransition = props => {
  // TODO v6: add 'useThemeProps' once the component class names are aligned
  const {
    children,
    className,
    reduceAnimations,
    slideDirection,
    transKey
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const classes = useUtilityClasses(props);

  if (reduceAnimations) {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
      children: children
    });
  }

  const transitionClasses = {
    exit: _pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses.slideExit,
    enterActive: _pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses.slideEnterActive,
    enter: _pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses[`slideEnter-${slideDirection}`],
    exitActive: _pickersSlideTransitionClasses__WEBPACK_IMPORTED_MODULE_8__.pickersSlideTransitionClasses[`slideExitActiveLeft-${slideDirection}`]
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(PickersSlideTransitionRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    childFactory: element => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.cloneElement(element, {
      classNames: transitionClasses
    }),
    role: "presentation",
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(react_transition_group__WEBPACK_IMPORTED_MODULE_6__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      mountOnEnter: true,
      unmountOnExit: true,
      timeout: slideAnimationDuration,
      classNames: transitionClasses
    }, other, {
      children: children
    }), transKey)
  });
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/calendarPickerClasses.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/calendarPickerClasses.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   calendarPickerClasses: () => (/* binding */ calendarPickerClasses),
/* harmony export */   getCalendarPickerUtilityClass: () => (/* binding */ getCalendarPickerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

const getCalendarPickerUtilityClass = slot => (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCalendarPicker', slot);
const calendarPickerClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCalendarPicker', ['root', 'viewTransitionContainer']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/dayPickerClasses.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/dayPickerClasses.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   dayPickerClasses: () => (/* binding */ dayPickerClasses),
/* harmony export */   getDayPickerUtilityClass: () => (/* binding */ getDayPickerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

const getDayPickerUtilityClass = slot => (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDayPicker', slot);
const dayPickerClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDayPicker', ['header', 'weekDayLabel', 'loadingContainer', 'slideTransition', 'monthContainer', 'weekContainer']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersCalendarHeaderClasses.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersCalendarHeaderClasses.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersCalendarHeaderUtilityClass: () => (/* binding */ getPickersCalendarHeaderUtilityClass),
/* harmony export */   pickersCalendarHeaderClasses: () => (/* binding */ pickersCalendarHeaderClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

const getPickersCalendarHeaderUtilityClass = slot => (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPickersCalendarHeader', slot);
const pickersCalendarHeaderClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPickersCalendarHeader', ['root', 'labelContainer', 'label', 'switchViewButton', 'switchViewIcon']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersFadeTransitionGroupClasses.js"
/*!******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersFadeTransitionGroupClasses.js ***!
  \******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersFadeTransitionGroupUtilityClass: () => (/* binding */ getPickersFadeTransitionGroupUtilityClass),
/* harmony export */   pickersFadeTransitionGroupClasses: () => (/* binding */ pickersFadeTransitionGroupClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

const getPickersFadeTransitionGroupUtilityClass = slot => (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPickersFadeTransitionGroup', slot);
const pickersFadeTransitionGroupClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPickersFadeTransitionGroup', ['root']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersSlideTransitionClasses.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/pickersSlideTransitionClasses.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersSlideTransitionUtilityClass: () => (/* binding */ getPickersSlideTransitionUtilityClass),
/* harmony export */   pickersSlideTransitionClasses: () => (/* binding */ pickersSlideTransitionClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

const getPickersSlideTransitionUtilityClass = slot => // TODO v6: Rename 'PrivatePickersSlideTransition' to 'MuiPickersSlideTransition' to follow convention
(0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('PrivatePickersSlideTransition', slot);
const pickersSlideTransitionClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])( // TODO v6: Rename 'PrivatePickersSlideTransition' to 'MuiPickersSlideTransition' to follow convention
'PrivatePickersSlideTransition', ['root', 'slideEnter-left', 'slideEnter-right', 'slideEnterActive', 'slideExit', 'slideExitActiveLeft-left', 'slideExitActiveLeft-right']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/useCalendarState.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/useCalendarState.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createCalendarStateReducer: () => (/* binding */ createCalendarStateReducer),
/* harmony export */   useCalendarState: () => (/* binding */ useCalendarState)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internals/hooks/validation/useDateValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateValidation.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");




const createCalendarStateReducer = (reduceAnimations, disableSwitchToMonthOnDayFocus, utils) => (state, action) => {
  switch (action.type) {
    case 'changeMonth':
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        slideDirection: action.direction,
        currentMonth: action.newMonth,
        isMonthSwitchingAnimating: !reduceAnimations
      });

    case 'finishMonthSwitchingAnimation':
      return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
        isMonthSwitchingAnimating: false
      });

    case 'changeFocusedDay':
      {
        if (state.focusedDay != null && action.focusedDay != null && utils.isSameDay(action.focusedDay, state.focusedDay)) {
          return state;
        }

        const needMonthSwitch = action.focusedDay != null && !disableSwitchToMonthOnDayFocus && !utils.isSameMonth(state.currentMonth, action.focusedDay);
        return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, state, {
          focusedDay: action.focusedDay,
          isMonthSwitchingAnimating: needMonthSwitch && !reduceAnimations && !action.withoutMonthSwitchingAnimation,
          currentMonth: needMonthSwitch ? utils.startOfMonth(action.focusedDay) : state.currentMonth,
          slideDirection: action.focusedDay != null && utils.isAfterDay(action.focusedDay, state.currentMonth) ? 'left' : 'right'
        });
      }

    default:
      throw new Error('missing support');
  }
};
const useCalendarState = ({
  date,
  defaultCalendarMonth,
  disableFuture,
  disablePast,
  disableSwitchToMonthOnDayFocus = false,
  maxDate,
  minDate,
  onMonthChange,
  reduceAnimations,
  shouldDisableDate
}) => {
  var _ref;

  const now = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_3__.useNow)();
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_3__.useUtils)();
  const reducerFn = react__WEBPACK_IMPORTED_MODULE_1__.useRef(createCalendarStateReducer(Boolean(reduceAnimations), disableSwitchToMonthOnDayFocus, utils)).current;
  const [calendarState, dispatch] = react__WEBPACK_IMPORTED_MODULE_1__.useReducer(reducerFn, {
    isMonthSwitchingAnimating: false,
    focusedDay: date || now,
    currentMonth: utils.startOfMonth((_ref = date != null ? date : defaultCalendarMonth) != null ? _ref : now),
    slideDirection: 'left'
  });
  const handleChangeMonth = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(payload => {
    dispatch((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      type: 'changeMonth'
    }, payload));

    if (onMonthChange) {
      onMonthChange(payload.newMonth);
    }
  }, [onMonthChange]);
  const changeMonth = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(newDate => {
    const newDateRequested = newDate != null ? newDate : now;

    if (utils.isSameMonth(newDateRequested, calendarState.currentMonth)) {
      return;
    }

    handleChangeMonth({
      newMonth: utils.startOfMonth(newDateRequested),
      direction: utils.isAfterDay(newDateRequested, calendarState.currentMonth) ? 'left' : 'right'
    });
  }, [calendarState.currentMonth, handleChangeMonth, now, utils]);
  const isDateDisabled = (0,_internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_2__.useIsDayDisabled)({
    shouldDisableDate,
    minDate,
    maxDate,
    disableFuture,
    disablePast
  });
  const onMonthSwitchingAnimationEnd = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(() => {
    dispatch({
      type: 'finishMonthSwitchingAnimation'
    });
  }, []);
  const changeFocusedDay = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((newFocusedDate, withoutMonthSwitchingAnimation) => {
    if (!isDateDisabled(newFocusedDate)) {
      dispatch({
        type: 'changeFocusedDay',
        focusedDay: newFocusedDate,
        withoutMonthSwitchingAnimation
      });
    }
  }, [isDateDisabled]);
  return {
    calendarState,
    changeMonth,
    changeFocusedDay,
    isDateDisabled,
    onMonthSwitchingAnimationEnd,
    handleChangeMonth
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/Clock.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/Clock.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Clock: () => (/* binding */ Clock)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _ClockPointer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ClockPointer */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockPointer.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../internals/components/wrappers/WrapperVariantContext */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js");
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/shared.js");
/* harmony import */ var _clockClasses__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./clockClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    clock: ['clock'],
    wrapper: ['wrapper'],
    squareMask: ['squareMask'],
    pin: ['pin'],
    amButton: ['amButton'],
    pmButton: ['pmButton']
  };
  return (0,_mui_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(slots, _clockClasses__WEBPACK_IMPORTED_MODULE_13__.getClockUtilityClass, classes);
};

const ClockRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiClock',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})(({
  theme
}) => ({
  display: 'flex',
  justifyContent: 'center',
  alignItems: 'center',
  margin: theme.spacing(2)
}));
const ClockClock = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiClock',
  slot: 'Clock',
  overridesResolver: (_, styles) => styles.clock
})({
  backgroundColor: 'rgba(0,0,0,.07)',
  borderRadius: '50%',
  height: 220,
  width: 220,
  flexShrink: 0,
  position: 'relative',
  pointerEvents: 'none'
});
const ClockWrapper = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiClock',
  slot: 'Wrapper',
  overridesResolver: (_, styles) => styles.wrapper
})({
  '&:focus': {
    outline: 'none'
  }
});
const ClockSquareMask = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiClock',
  slot: 'SquareMask',
  overridesResolver: (_, styles) => styles.squareMask
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  width: '100%',
  height: '100%',
  position: 'absolute',
  pointerEvents: 'auto',
  outline: 0,
  // Disable scroll capabilities.
  touchAction: 'none',
  userSelect: 'none'
}, ownerState.disabled ? {} : {
  '@media (pointer: fine)': {
    cursor: 'pointer',
    borderRadius: '50%'
  },
  '&:active': {
    cursor: 'move'
  }
}));
const ClockPin = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiClock',
  slot: 'Pin',
  overridesResolver: (_, styles) => styles.pin
})(({
  theme
}) => ({
  width: 6,
  height: 6,
  borderRadius: '50%',
  backgroundColor: theme.palette.primary.main,
  position: 'absolute',
  top: '50%',
  left: '50%',
  transform: 'translate(-50%, -50%)'
}));
const ClockAmButton = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__["default"], {
  name: 'MuiClock',
  slot: 'AmButton',
  overridesResolver: (_, styles) => styles.amButton
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  zIndex: 1,
  position: 'absolute',
  bottom: ownerState.ampmInClock ? 64 : 8,
  left: 8
}, ownerState.meridiemMode === 'am' && {
  backgroundColor: theme.palette.primary.main,
  color: theme.palette.primary.contrastText,
  '&:hover': {
    backgroundColor: theme.palette.primary.light
  }
}));
const ClockPmButton = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__["default"], {
  name: 'MuiClock',
  slot: 'PmButton',
  overridesResolver: (_, styles) => styles.pmButton
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  zIndex: 1,
  position: 'absolute',
  bottom: ownerState.ampmInClock ? 64 : 8,
  right: 8
}, ownerState.meridiemMode === 'pm' && {
  backgroundColor: theme.palette.primary.main,
  color: theme.palette.primary.contrastText,
  '&:hover': {
    backgroundColor: theme.palette.primary.light
  }
}));
/**
 * @ignore - internal component.
 */

function Clock(inProps) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])({
    props: inProps,
    name: 'MuiClock'
  });
  const {
    ampm,
    ampmInClock,
    autoFocus,
    children,
    date,
    getClockLabelText,
    handleMeridiemChange,
    isTimeDisabled,
    meridiemMode,
    minutesStep = 1,
    onChange,
    selectedId,
    type,
    value,
    disabled,
    readOnly,
    className
  } = props;
  const ownerState = props;
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_10__.useUtils)();
  const wrapperVariant = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_11__.WrapperVariantContext);
  const isMoving = react__WEBPACK_IMPORTED_MODULE_1__.useRef(false);
  const classes = useUtilityClasses(ownerState);
  const isSelectedTimeDisabled = isTimeDisabled(value, type);
  const isPointerInner = !ampm && type === 'hours' && (value < 1 || value > 12);

  const handleValueChange = (newValue, isFinish) => {
    if (disabled || readOnly) {
      return;
    }

    if (isTimeDisabled(newValue, type)) {
      return;
    }

    onChange(newValue, isFinish);
  };

  const setTime = (event, isFinish) => {
    let {
      offsetX,
      offsetY
    } = event;

    if (offsetX === undefined) {
      const rect = event.target.getBoundingClientRect();
      offsetX = event.changedTouches[0].clientX - rect.left;
      offsetY = event.changedTouches[0].clientY - rect.top;
    }

    const newSelectedValue = type === 'seconds' || type === 'minutes' ? (0,_shared__WEBPACK_IMPORTED_MODULE_12__.getMinutes)(offsetX, offsetY, minutesStep) : (0,_shared__WEBPACK_IMPORTED_MODULE_12__.getHours)(offsetX, offsetY, Boolean(ampm));
    handleValueChange(newSelectedValue, isFinish);
  };

  const handleTouchMove = event => {
    isMoving.current = true;
    setTime(event, 'shallow');
  };

  const handleTouchEnd = event => {
    if (isMoving.current) {
      setTime(event, 'finish');
      isMoving.current = false;
    }
  };

  const handleMouseMove = event => {
    // event.buttons & PRIMARY_MOUSE_BUTTON
    if (event.buttons > 0) {
      setTime(event.nativeEvent, 'shallow');
    }
  };

  const handleMouseUp = event => {
    if (isMoving.current) {
      isMoving.current = false;
    }

    setTime(event.nativeEvent, 'finish');
  };

  const hasSelected = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    if (type === 'hours') {
      return true;
    }

    return value % 5 === 0;
  }, [type, value]);
  const keyboardControlStep = type === 'minutes' ? minutesStep : 1;
  const listboxRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null); // Since this is rendered when a Popper is opened we can't use passive effects.
  // Focusing in passive effects in Popper causes scroll jump.

  (0,_mui_utils__WEBPACK_IMPORTED_MODULE_8__["default"])(() => {
    if (autoFocus) {
      // The ref not being resolved would be a bug in MUI.
      listboxRef.current.focus();
    }
  }, [autoFocus]);

  const handleKeyDown = event => {
    // TODO: Why this early exit?
    if (isMoving.current) {
      return;
    }

    switch (event.key) {
      case 'Home':
        // annulate both hours and minutes
        handleValueChange(0, 'partial');
        event.preventDefault();
        break;

      case 'End':
        handleValueChange(type === 'minutes' ? 59 : 23, 'partial');
        event.preventDefault();
        break;

      case 'ArrowUp':
        handleValueChange(value + keyboardControlStep, 'partial');
        event.preventDefault();
        break;

      case 'ArrowDown':
        handleValueChange(value - keyboardControlStep, 'partial');
        event.preventDefault();
        break;

      default: // do nothing

    }
  };

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(ClockRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className, classes.root),
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(ClockClock, {
      className: classes.clock,
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ClockSquareMask, {
        onTouchMove: handleTouchMove,
        onTouchEnd: handleTouchEnd,
        onMouseUp: handleMouseUp,
        onMouseMove: handleMouseMove,
        ownerState: {
          disabled
        },
        className: classes.squareMask
      }), !isSelectedTimeDisabled && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, {
        children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ClockPin, {
          className: classes.pin
        }), date && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ClockPointer__WEBPACK_IMPORTED_MODULE_9__.ClockPointer, {
          type: type,
          value: value,
          isInner: isPointerInner,
          hasSelected: hasSelected
        })]
      }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ClockWrapper, {
        "aria-activedescendant": selectedId,
        "aria-label": getClockLabelText(type, date, utils),
        ref: listboxRef,
        role: "listbox",
        onKeyDown: handleKeyDown,
        tabIndex: 0,
        className: classes.wrapper,
        children: children
      })]
    }), ampm && (wrapperVariant === 'desktop' || ampmInClock) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, {
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ClockAmButton, {
        onClick: readOnly ? undefined : () => handleMeridiemChange('am'),
        disabled: disabled || meridiemMode === null,
        ownerState: ownerState,
        className: classes.amButton,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__["default"], {
          variant: "caption",
          children: "AM"
        })
      }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ClockPmButton, {
        disabled: disabled || meridiemMode === null,
        onClick: readOnly ? undefined : () => handleMeridiemChange('pm'),
        ownerState: ownerState,
        className: classes.pmButton,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__["default"], {
          variant: "caption",
          children: "PM"
        })
      })]
    })]
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockNumber.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockNumber.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClockNumber: () => (/* binding */ ClockNumber)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/shared.js");
/* harmony import */ var _clockNumberClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./clockNumberClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockNumberClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "disabled", "index", "inner", "label", "selected"];








const useUtilityClasses = ownerState => {
  const {
    classes,
    selected,
    disabled
  } = ownerState;
  const slots = {
    root: ['root', selected && 'selected', disabled && 'disabled']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _clockNumberClasses__WEBPACK_IMPORTED_MODULE_8__.getClockNumberUtilityClass, classes);
};

const ClockNumberRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('span', {
  name: 'MuiClockNumber',
  slot: 'Root',
  overridesResolver: (_, styles) => [styles.root, {
    [`&.${_clockNumberClasses__WEBPACK_IMPORTED_MODULE_8__.clockNumberClasses.disabled}`]: styles.disabled
  }, {
    [`&.${_clockNumberClasses__WEBPACK_IMPORTED_MODULE_8__.clockNumberClasses.selected}`]: styles.selected
  }]
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  height: _shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_HOUR_WIDTH,
  width: _shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_HOUR_WIDTH,
  position: 'absolute',
  left: `calc((100% - ${_shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_HOUR_WIDTH}px) / 2)`,
  display: 'inline-flex',
  justifyContent: 'center',
  alignItems: 'center',
  borderRadius: '50%',
  color: theme.palette.text.primary,
  fontFamily: theme.typography.fontFamily,
  '&:focused': {
    backgroundColor: theme.palette.background.paper
  },
  [`&.${_clockNumberClasses__WEBPACK_IMPORTED_MODULE_8__.clockNumberClasses.selected}`]: {
    color: theme.palette.primary.contrastText
  },
  [`&.${_clockNumberClasses__WEBPACK_IMPORTED_MODULE_8__.clockNumberClasses.disabled}`]: {
    pointerEvents: 'none',
    color: theme.palette.text.disabled
  }
}, ownerState.inner && (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, theme.typography.body2, {
  color: theme.palette.text.secondary
})));
/**
 * @ignore - internal component.
 */

function ClockNumber(inProps) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props: inProps,
    name: 'MuiClockNumber'
  });

  const {
    className,
    disabled,
    index,
    inner,
    label,
    selected
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  const angle = index % 12 / 12 * Math.PI * 2 - Math.PI / 2;
  const length = (_shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_WIDTH - _shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_HOUR_WIDTH - 2) / 2 * (inner ? 0.65 : 1);
  const x = Math.round(Math.cos(angle) * length);
  const y = Math.round(Math.sin(angle) * length);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ClockNumberRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(className, classes.root),
    "aria-disabled": disabled ? true : undefined,
    "aria-selected": selected ? true : undefined,
    role: "option",
    style: {
      transform: `translate(${x}px, ${y + (_shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_WIDTH - _shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_HOUR_WIDTH) / 2}px`
    },
    ownerState: ownerState
  }, other, {
    children: label
  }));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockNumbers.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockNumbers.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getHourNumbers: () => (/* binding */ getHourNumbers),
/* harmony export */   getMinutesNumbers: () => (/* binding */ getMinutesNumbers)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _ClockNumber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClockNumber */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockNumber.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");




/**
 * @ignore - internal component.
 */
const getHourNumbers = ({
  ampm,
  date,
  getClockNumberText,
  isDisabled,
  selectedId,
  utils
}) => {
  const currentHours = date ? utils.getHours(date) : null;
  const hourNumbers = [];
  const startHour = ampm ? 1 : 0;
  const endHour = ampm ? 12 : 23;

  const isSelected = hour => {
    if (currentHours === null) {
      return false;
    }

    if (ampm) {
      if (hour === 12) {
        return currentHours === 12 || currentHours === 0;
      }

      return currentHours === hour || currentHours - 12 === hour;
    }

    return currentHours === hour;
  };

  for (let hour = startHour; hour <= endHour; hour += 1) {
    let label = hour.toString();

    if (hour === 0) {
      label = '00';
    }

    const inner = !ampm && (hour === 0 || hour > 12);
    label = utils.formatNumber(label);
    const selected = isSelected(hour);
    hourNumbers.push( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_ClockNumber__WEBPACK_IMPORTED_MODULE_1__.ClockNumber, {
      id: selected ? selectedId : undefined,
      index: hour,
      inner: inner,
      selected: selected,
      disabled: isDisabled(hour),
      label: label,
      "aria-label": getClockNumberText(label)
    }, hour));
  }

  return hourNumbers;
};
const getMinutesNumbers = ({
  utils,
  value,
  isDisabled,
  getClockNumberText,
  selectedId
}) => {
  const f = utils.formatNumber;
  return [[5, f('05')], [10, f('10')], [15, f('15')], [20, f('20')], [25, f('25')], [30, f('30')], [35, f('35')], [40, f('40')], [45, f('45')], [50, f('50')], [55, f('55')], [0, f('00')]].map(([numberValue, label], index) => {
    const selected = numberValue === value;
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_ClockNumber__WEBPACK_IMPORTED_MODULE_1__.ClockNumber, {
      label: label,
      id: selected ? selectedId : undefined,
      index: index + 1,
      inner: false,
      disabled: isDisabled(numberValue),
      selected: selected,
      "aria-label": getClockNumberText(label)
    }, numberValue);
  });
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockPicker.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockPicker.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClockPicker: () => (/* binding */ ClockPicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Clock__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Clock */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/Clock.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_utils_warning__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/utils/warning */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/warning.js");
/* harmony import */ var _ClockNumbers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ClockNumbers */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockNumbers.js");
/* harmony import */ var _internals_components_PickersArrowSwitcher__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internals/components/PickersArrowSwitcher */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersArrowSwitcher.js");
/* harmony import */ var _internals_utils_time_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internals/utils/time-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/time-utils.js");
/* harmony import */ var _internals_hooks_useViews__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../internals/hooks/useViews */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useViews.js");
/* harmony import */ var _internals_hooks_date_helpers_hooks__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../internals/hooks/date-helpers-hooks */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/date-helpers-hooks.js");
/* harmony import */ var _clockPickerClasses__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./clockPickerClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockPickerClasses.js");
/* harmony import */ var _internals_components_PickerViewRoot__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../internals/components/PickerViewRoot */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickerViewRoot/PickerViewRoot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");




















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    arrowSwitcher: ['arrowSwitcher']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"])(slots, _clockPickerClasses__WEBPACK_IMPORTED_MODULE_16__.getClockPickerUtilityClass, classes);
};

const ClockPickerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_internals_components_PickerViewRoot__WEBPACK_IMPORTED_MODULE_17__.PickerViewRoot, {
  name: 'MuiClockPicker',
  slot: 'Root',
  overridesResolver: (props, styles) => styles.root
})({
  display: 'flex',
  flexDirection: 'column'
});
const ClockPickerArrowSwitcher = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_internals_components_PickersArrowSwitcher__WEBPACK_IMPORTED_MODULE_12__.PickersArrowSwitcher, {
  name: 'MuiClockPicker',
  slot: 'ArrowSwitcher',
  overridesResolver: (props, styles) => styles.arrowSwitcher
})({
  position: 'absolute',
  right: 12,
  top: 15
});
const deprecatedPropsWarning = (0,_internals_utils_warning__WEBPACK_IMPORTED_MODULE_10__.buildDeprecatedPropsWarning)('Props for translation are deprecated. See https://mui.com/x/react-date-pickers/localization for more information.');
/**
 *
 * API:
 *
 * - [ClockPicker API](https://mui.com/x/api/date-pickers/clock-picker/)
 */

const ClockPicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function ClockPicker(inProps, ref) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])({
    props: inProps,
    name: 'MuiClockPicker'
  });
  const {
    ampm = false,
    ampmInClock = false,
    autoFocus,
    components,
    componentsProps,
    date,
    disableIgnoringDatePartForTimeValidation,
    getClockLabelText: getClockLabelTextProp,
    getHoursClockNumberText: getHoursClockNumberTextProp,
    getMinutesClockNumberText: getMinutesClockNumberTextProp,
    getSecondsClockNumberText: getSecondsClockNumberTextProp,
    leftArrowButtonText: leftArrowButtonTextProp,
    maxTime,
    minTime,
    minutesStep = 1,
    rightArrowButtonText: rightArrowButtonTextProp,
    shouldDisableTime,
    showViewSwitcher,
    onChange,
    view,
    views = ['hours', 'minutes'],
    openTo,
    onViewChange,
    className,
    disabled,
    readOnly
  } = props;
  deprecatedPropsWarning({
    leftArrowButtonText: leftArrowButtonTextProp,
    rightArrowButtonText: rightArrowButtonTextProp,
    getClockLabelText: getClockLabelTextProp,
    getHoursClockNumberText: getHoursClockNumberTextProp,
    getMinutesClockNumberText: getMinutesClockNumberTextProp,
    getSecondsClockNumberText: getSecondsClockNumberTextProp
  });
  const localeText = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_9__.useLocaleText)();
  const leftArrowButtonText = leftArrowButtonTextProp != null ? leftArrowButtonTextProp : localeText.openPreviousView;
  const rightArrowButtonText = rightArrowButtonTextProp != null ? rightArrowButtonTextProp : localeText.openNextView;
  const getClockLabelText = getClockLabelTextProp != null ? getClockLabelTextProp : localeText.clockLabelText;
  const getHoursClockNumberText = getHoursClockNumberTextProp != null ? getHoursClockNumberTextProp : localeText.hoursClockNumberText;
  const getMinutesClockNumberText = getMinutesClockNumberTextProp != null ? getMinutesClockNumberTextProp : localeText.minutesClockNumberText;
  const getSecondsClockNumberText = getSecondsClockNumberTextProp != null ? getSecondsClockNumberTextProp : localeText.secondsClockNumberText;
  const {
    openView,
    setOpenView,
    nextView,
    previousView,
    handleChangeAndOpenNext
  } = (0,_internals_hooks_useViews__WEBPACK_IMPORTED_MODULE_14__.useViews)({
    view,
    views,
    openTo,
    onViewChange,
    onChange
  });
  const now = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_9__.useNow)();
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_9__.useUtils)();
  const dateOrMidnight = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => date || utils.setSeconds(utils.setMinutes(utils.setHours(now, 0), 0), 0), [date, now, utils]);
  const {
    meridiemMode,
    handleMeridiemChange
  } = (0,_internals_hooks_date_helpers_hooks__WEBPACK_IMPORTED_MODULE_15__.useMeridiemMode)(dateOrMidnight, ampm, handleChangeAndOpenNext);
  const isTimeDisabled = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((rawValue, viewType) => {
    const isAfter = (0,_internals_utils_time_utils__WEBPACK_IMPORTED_MODULE_13__.createIsAfterIgnoreDatePart)(disableIgnoringDatePartForTimeValidation, utils);

    const containsValidTime = ({
      start,
      end
    }) => {
      if (minTime && isAfter(minTime, end)) {
        return false;
      }

      if (maxTime && isAfter(start, maxTime)) {
        return false;
      }

      return true;
    };

    const isValidValue = (value, step = 1) => {
      if (value % step !== 0) {
        return false;
      }

      if (shouldDisableTime) {
        return !shouldDisableTime(value, viewType);
      }

      return true;
    };

    switch (viewType) {
      case 'hours':
        {
          const value = (0,_internals_utils_time_utils__WEBPACK_IMPORTED_MODULE_13__.convertValueToMeridiem)(rawValue, meridiemMode, ampm);
          const dateWithNewHours = utils.setHours(dateOrMidnight, value);
          const start = utils.setSeconds(utils.setMinutes(dateWithNewHours, 0), 0);
          const end = utils.setSeconds(utils.setMinutes(dateWithNewHours, 59), 59);
          return !containsValidTime({
            start,
            end
          }) || !isValidValue(value);
        }

      case 'minutes':
        {
          const dateWithNewMinutes = utils.setMinutes(dateOrMidnight, rawValue);
          const start = utils.setSeconds(dateWithNewMinutes, 0);
          const end = utils.setSeconds(dateWithNewMinutes, 59);
          return !containsValidTime({
            start,
            end
          }) || !isValidValue(rawValue, minutesStep);
        }

      case 'seconds':
        {
          const dateWithNewSeconds = utils.setSeconds(dateOrMidnight, rawValue);
          const start = dateWithNewSeconds;
          const end = dateWithNewSeconds;
          return !containsValidTime({
            start,
            end
          }) || !isValidValue(rawValue);
        }

      default:
        throw new Error('not supported');
    }
  }, [ampm, dateOrMidnight, disableIgnoringDatePartForTimeValidation, maxTime, meridiemMode, minTime, minutesStep, shouldDisableTime, utils]);
  const selectedId = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const viewProps = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    switch (openView) {
      case 'hours':
        {
          const handleHoursChange = (value, isFinish) => {
            const valueWithMeridiem = (0,_internals_utils_time_utils__WEBPACK_IMPORTED_MODULE_13__.convertValueToMeridiem)(value, meridiemMode, ampm);
            handleChangeAndOpenNext(utils.setHours(dateOrMidnight, valueWithMeridiem), isFinish);
          };

          return {
            onChange: handleHoursChange,
            value: utils.getHours(dateOrMidnight),
            children: (0,_ClockNumbers__WEBPACK_IMPORTED_MODULE_11__.getHourNumbers)({
              date,
              utils,
              ampm,
              onChange: handleHoursChange,
              getClockNumberText: getHoursClockNumberText,
              isDisabled: value => disabled || isTimeDisabled(value, 'hours'),
              selectedId
            })
          };
        }

      case 'minutes':
        {
          const minutesValue = utils.getMinutes(dateOrMidnight);

          const handleMinutesChange = (value, isFinish) => {
            handleChangeAndOpenNext(utils.setMinutes(dateOrMidnight, value), isFinish);
          };

          return {
            value: minutesValue,
            onChange: handleMinutesChange,
            children: (0,_ClockNumbers__WEBPACK_IMPORTED_MODULE_11__.getMinutesNumbers)({
              utils,
              value: minutesValue,
              onChange: handleMinutesChange,
              getClockNumberText: getMinutesClockNumberText,
              isDisabled: value => disabled || isTimeDisabled(value, 'minutes'),
              selectedId
            })
          };
        }

      case 'seconds':
        {
          const secondsValue = utils.getSeconds(dateOrMidnight);

          const handleSecondsChange = (value, isFinish) => {
            handleChangeAndOpenNext(utils.setSeconds(dateOrMidnight, value), isFinish);
          };

          return {
            value: secondsValue,
            onChange: handleSecondsChange,
            children: (0,_ClockNumbers__WEBPACK_IMPORTED_MODULE_11__.getMinutesNumbers)({
              utils,
              value: secondsValue,
              onChange: handleSecondsChange,
              getClockNumberText: getSecondsClockNumberText,
              isDisabled: value => disabled || isTimeDisabled(value, 'seconds'),
              selectedId
            })
          };
        }

      default:
        throw new Error('You must provide the type for ClockView');
    }
  }, [openView, utils, date, ampm, getHoursClockNumberText, getMinutesClockNumberText, getSecondsClockNumberText, meridiemMode, handleChangeAndOpenNext, dateOrMidnight, isTimeDisabled, selectedId, disabled]);
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(ClockPickerRoot, {
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    children: [showViewSwitcher && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(ClockPickerArrowSwitcher, {
      className: classes.arrowSwitcher,
      leftArrowButtonText: leftArrowButtonText,
      rightArrowButtonText: rightArrowButtonText,
      components: components,
      componentsProps: componentsProps,
      onLeftClick: () => setOpenView(previousView),
      onRightClick: () => setOpenView(nextView),
      isLeftDisabled: !previousView,
      isRightDisabled: !nextView,
      ownerState: ownerState
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_Clock__WEBPACK_IMPORTED_MODULE_8__.Clock, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      autoFocus: autoFocus,
      date: date,
      ampmInClock: ampmInClock,
      type: openView,
      ampm: ampm,
      getClockLabelText: getClockLabelText,
      minutesStep: minutesStep,
      isTimeDisabled: isTimeDisabled,
      meridiemMode: meridiemMode,
      handleMeridiemChange: handleMeridiemChange,
      selectedId: selectedId,
      disabled: disabled,
      readOnly: readOnly
    }, viewProps))]
  });
});
 true ? ClockPicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * 12h/24h view for hour selection clock.
   * @default false
   */
  ampm: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Display ampm controls under the clock (instead of in the toolbar).
   * @default false
   */
  ampmInClock: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Set to `true` if focus should be moved to clock picker.
   */
  autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Override or extend the styles applied to the component.
   */
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Selected date @DateIOType.
   */
  date: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Do not ignore date part when validating min/max time.
   * @default false
   */
  disableIgnoringDatePartForTimeValidation: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Accessible text that helps user to understand which time and view is selected.
   * @template TDate
   * @param {ClockPickerView} view The current view rendered.
   * @param {TDate | null} time The current time.
   * @param {MuiPickersAdapter<TDate>} adapter The current date adapter.
   * @returns {string} The clock label.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   * @default <TDate extends any>(
   *   view: ClockView,
   *   time: TDate | null,
   *   adapter: MuiPickersAdapter<TDate>,
   * ) =>
   *   `Select ${view}. ${
   *     time === null ? 'No time selected' : `Selected time is ${adapter.format(time, 'fullTime')}`
   *   }`
   */
  getClockLabelText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Get clock number aria-text for hours.
   * @param {string} hours The hours to format.
   * @returns {string} the formatted hours text.
   * @default (hours: string) => `${hours} hours`
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  getHoursClockNumberText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Get clock number aria-text for minutes.
   * @param {string} minutes The minutes to format.
   * @returns {string} the formatted minutes text.
   * @default (minutes: string) => `${minutes} minutes`
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  getMinutesClockNumberText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Get clock number aria-text for seconds.
   * @param {string} seconds The seconds to format.
   * @returns {string} the formatted seconds text.
   * @default (seconds: string) => `${seconds} seconds`
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  getSecondsClockNumberText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Left arrow icon aria-label text.
   * @default 'open previous view'
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  leftArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Max time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  maxTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Min time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  minTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Step over minutes.
   * @default 1
   */
  minutesStep: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),

  /**
   * On change callback @DateIOType.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Callback fired on view change.
   * @param {ClockPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Initially open view.
   * @default 'hours'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['hours', 'minutes', 'seconds']),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Right arrow icon aria-label text.
   * @default 'open next view'
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  rightArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Dynamically check if time is disabled or not.
   * If returns `false` appropriate time point will ot be acceptable.
   * @param {number} timeValue The value to check.
   * @param {ClockPickerView} clockType The clock type of the timeValue.
   * @returns {boolean} Returns `true` if the time should be disabled
   */
  shouldDisableTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  showViewSwitcher: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Controlled open view.
   */
  view: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['hours', 'minutes', 'seconds']),

  /**
   * Views for calendar picker.
   * @default ['hours', 'minutes']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['hours', 'minutes', 'seconds']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockPointer.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockPointer.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClockPointer: () => (/* binding */ ClockPointer)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/shared.js");
/* harmony import */ var _clockPointerClasses__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./clockPointerClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockPointerClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "hasSelected", "isInner", "type", "value"];








const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    thumb: ['thumb']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _clockPointerClasses__WEBPACK_IMPORTED_MODULE_8__.getClockPointerUtilityClass, classes);
};

const ClockPointerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiClockPointer',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  width: 2,
  backgroundColor: theme.palette.primary.main,
  position: 'absolute',
  left: 'calc(50% - 1px)',
  bottom: '50%',
  transformOrigin: 'center bottom 0px'
}, ownerState.shouldAnimate && {
  transition: theme.transitions.create(['transform', 'height'])
}));
const ClockPointerThumb = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiClockPointer',
  slot: 'Thumb',
  overridesResolver: (_, styles) => styles.thumb
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  width: 4,
  height: 4,
  backgroundColor: theme.palette.primary.contrastText,
  borderRadius: '50%',
  position: 'absolute',
  top: -21,
  left: `calc(50% - ${_shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_HOUR_WIDTH / 2}px)`,
  border: `${(_shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_HOUR_WIDTH - 4) / 2}px solid ${theme.palette.primary.main}`,
  boxSizing: 'content-box'
}, ownerState.hasSelected && {
  backgroundColor: theme.palette.primary.main
}));
/**
 * @ignore - internal component.
 */

function ClockPointer(inProps) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props: inProps,
    name: 'MuiClockPointer'
  });

  const {
    className,
    isInner,
    type,
    value
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const previousType = react__WEBPACK_IMPORTED_MODULE_2__.useRef(type);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    previousType.current = type;
  }, [type]);

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, props, {
    shouldAnimate: previousType.current !== type
  });

  const classes = useUtilityClasses(ownerState);

  const getAngleStyle = () => {
    const max = type === 'hours' ? 12 : 60;
    let angle = 360 / max * value;

    if (type === 'hours' && value > 12) {
      angle -= 360; // round up angle to max 360 degrees
    }

    return {
      height: Math.round((isInner ? 0.26 : 0.4) * _shared__WEBPACK_IMPORTED_MODULE_7__.CLOCK_WIDTH),
      transform: `rotateZ(${angle}deg)`
    };
  };

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ClockPointerRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    style: getAngleStyle(),
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(className, classes.root),
    ownerState: ownerState
  }, other, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ClockPointerThumb, {
      ownerState: ownerState,
      className: classes.thumb
    })
  }));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clockClasses: () => (/* binding */ clockClasses),
/* harmony export */   getClockUtilityClass: () => (/* binding */ getClockUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getClockUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiClock', slot);
}
const clockClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiClock', ['root', 'clock', 'wrapper', 'squareMask', 'pin', 'amButton', 'pmButton']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockNumberClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockNumberClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clockNumberClasses: () => (/* binding */ clockNumberClasses),
/* harmony export */   getClockNumberUtilityClass: () => (/* binding */ getClockNumberUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getClockNumberUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiClockNumber', slot);
}
const clockNumberClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiClockNumber', ['root', 'selected', 'disabled']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockPickerClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockPickerClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clockPickerClasses: () => (/* binding */ clockPickerClasses),
/* harmony export */   getClockPickerUtilityClass: () => (/* binding */ getClockPickerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getClockPickerUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiClockPicker', slot);
}
const clockPickerClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiClockPicker', ['root', 'arrowSwitcher']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockPointerClasses.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/clockPointerClasses.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clockPointerClasses: () => (/* binding */ clockPointerClasses),
/* harmony export */   getClockPointerUtilityClass: () => (/* binding */ getClockPointerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getClockPointerUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiClockPointer', slot);
}
const clockPointerClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiClockPointer', ['root', 'thumb']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/shared.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/shared.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CLOCK_HOUR_WIDTH: () => (/* binding */ CLOCK_HOUR_WIDTH),
/* harmony export */   CLOCK_WIDTH: () => (/* binding */ CLOCK_WIDTH),
/* harmony export */   getHours: () => (/* binding */ getHours),
/* harmony export */   getMinutes: () => (/* binding */ getMinutes)
/* harmony export */ });
const CLOCK_WIDTH = 220;
const CLOCK_HOUR_WIDTH = 36;
const clockCenter = {
  x: CLOCK_WIDTH / 2,
  y: CLOCK_WIDTH / 2
};
const baseClockPoint = {
  x: clockCenter.x,
  y: 0
};
const cx = baseClockPoint.x - clockCenter.x;
const cy = baseClockPoint.y - clockCenter.y;

const rad2deg = rad => rad * (180 / Math.PI);

const getAngleValue = (step, offsetX, offsetY) => {
  const x = offsetX - clockCenter.x;
  const y = offsetY - clockCenter.y;
  const atan = Math.atan2(cx, cy) - Math.atan2(x, y);
  let deg = rad2deg(atan);
  deg = Math.round(deg / step) * step;
  deg %= 360;
  const value = Math.floor(deg / step) || 0;
  const delta = x ** 2 + y ** 2;
  const distance = Math.sqrt(delta);
  return {
    value,
    distance
  };
};

const getMinutes = (offsetX, offsetY, step = 1) => {
  const angleStep = step * 6;
  let {
    value
  } = getAngleValue(angleStep, offsetX, offsetY);
  value = value * step % 60;
  return value;
};
const getHours = (offsetX, offsetY, ampm) => {
  const {
    value,
    distance
  } = getAngleValue(30, offsetX, offsetY);
  let hour = value || 12;

  if (!ampm) {
    if (distance < CLOCK_WIDTH / 2 - CLOCK_HOUR_WIDTH) {
      hour += 12;
      hour %= 24;
    }
  } else {
    hour %= 12;
  }

  return hour;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/DatePicker.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/DatePicker.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DatePicker: () => (/* binding */ DatePicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_useMediaQuery__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/useMediaQuery */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useMediaQuery/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _DesktopDatePicker__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DesktopDatePicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DesktopDatePicker/DesktopDatePicker.js");
/* harmony import */ var _MobileDatePicker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../MobileDatePicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MobileDatePicker/MobileDatePicker.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["desktopModeMediaQuery", "DialogProps", "PopperProps", "TransitionComponent"];








/**
 *
 * Demos:
 *
 * - [Date Picker](https://mui.com/x/react-date-pickers/date-picker/)
 * - [Pickers](https://mui.com/x/react-date-pickers/)
 *
 * API:
 *
 * - [DatePicker API](https://mui.com/x/api/date-pickers/date-picker/)
 */
const DatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function DatePicker(inProps, ref) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])({
    props: inProps,
    name: 'MuiDatePicker'
  });

  const {
    desktopModeMediaQuery = '@media (pointer: fine)',
    DialogProps,
    PopperProps,
    TransitionComponent
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded); // defaults to `true` in environments where `window.matchMedia` would not be available (i.e. test/jsdom)


  const isDesktop = (0,_mui_material_useMediaQuery__WEBPACK_IMPORTED_MODULE_4__["default"])(desktopModeMediaQuery, {
    defaultMatches: true
  });

  if (isDesktop) {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_DesktopDatePicker__WEBPACK_IMPORTED_MODULE_6__.DesktopDatePicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      ref: ref,
      PopperProps: PopperProps,
      TransitionComponent: TransitionComponent
    }, other));
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_MobileDatePicker__WEBPACK_IMPORTED_MODULE_7__.MobileDatePicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    DialogProps: DialogProps
  }, other));
});
 true ? DatePicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Regular expression to detect "accepted" symbols.
   * @default /\dap/gi
   */
  acceptRegex: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(RegExp),
  autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),

  /**
   * className applied to the root component.
   */
  className: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * If `true` the popup or dialog will immediately close after submitting full date.
   * @default `true` for Desktop, `false` for Mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
   */
  closeOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Formats the day of week displayed in the calendar header.
   * @param {string} day The day of week provided by the adapter's method `getWeekdays`.
   * @returns {string} The name to display.
   * @default (day) => day.charAt(0).toUpperCase()
   */
  dayOfWeekFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Default calendar month displayed when `value={null}`.
   */
  defaultCalendarMonth: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().any),

  /**
   * CSS media query when `Mobile` mode will be changed to `Desktop`.
   * @default '@media (pointer: fine)'
   * @example '@media (min-width: 720px)' or theme.breakpoints.up("sm")
   */
  desktopModeMediaQuery: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * Props applied to the [`Dialog`](https://mui.com/material-ui/api/dialog/) element.
   */
  DialogProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * If `true` future days are disabled.
   * @default false
   */
  disableFuture: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * If `true`, today's date is rendering without highlighting with circle.
   * @default false
   */
  disableHighlightToday: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.
   * @default false
   */
  disableMaskedInput: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Do not render open picker button (renders only text field with validation).
   * @default false
   */
  disableOpenPicker: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * If `true` past days are disabled.
   * @default false
   */
  disablePast: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType
   * @template TInputDate, TDate
   * @param {TInputDate} date The date from which we want to add an aria-text.
   * @param {MuiPickersAdapter<TDate>} utils The utils to manipulate the date.
   * @returns {string} The aria-text to render inside the dialog.
   * @default (date, utils) => `Choose date, selected date is ${utils.format(utils.date(date), 'fullDate')}`
   */
  getOpenDialogAriaText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Get aria-label text for switching between views button.
   * @param {CalendarPickerView} currentView The view from which we want to get the button text.
   * @returns {string} The label of the view.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  getViewSwitchingButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  ignoreInvalidInputs: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Props to pass to keyboard input adornment.
   */
  InputAdornmentProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Format string.
   */
  inputFormat: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  InputProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Pass a ref to the `input` element.
   */
  inputRef: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().func), prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object)
  })]),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),

  /**
   * Left arrow icon aria-label text.
   * @deprecated
   */
  leftArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * If `true` renders `LoadingComponent` in calendar instead of calendar view.
   * Can be used to preload information and show it in calendar.
   * @default false
   */
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Custom mask. Can be used to override generate from format. (e.g. `__/__/____ __:__` or `__/__/____ __:__ _M`).
   */
  mask: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * Maximal selectable date. @DateIOType
   */
  maxDate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().any),

  /**
   * Minimal selectable date. @DateIOType
   */
  minDate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().any),

  /**
   * Callback fired when date is accepted @DateIOType.
   * @template TValue
   * @param {TValue} value The value that was just accepted.
   */
  onAccept: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback fired when the value (the selected date) changes @DateIOType.
   * @template TValue
   * @param {TValue} value The new parsed value.
   * @param {string} keyboardInputValue The current value of the keyboard input.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,

  /**
   * Callback fired when the popup requests to be closed.
   * Use in controlled mode (see open).
   */
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback that fired when input value or new `value` prop validation returns **new** validation error (or value is valid after error).
   * In case of validation error detected `reason` prop return non-null value and `TextField` must be displayed in `error` state.
   * This can be used to render appropriate form error.
   *
   * [Read the guide](https://next.material-ui-pickers.dev/guides/forms) about form integration and error displaying.
   * @DateIOType
   *
   * @template TError, TInputValue
   * @param {TError} reason The reason why the current value is not valid.
   * @param {TInputValue} value The invalid value.
   */
  onError: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback firing on month change @DateIOType.
   * @template TDate
   * @param {TDate} month The new month.
   * @returns {void|Promise} -
   */
  onMonthChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback fired when the popup requests to be opened.
   * Use in controlled mode (see open).
   */
  onOpen: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback fired on view change.
   * @param {CalendarPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback firing on year change @DateIOType.
   * @template TDate
   * @param {TDate} year The new year.
   */
  onYearChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Control the popup or dialog open state.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Props to pass to keyboard adornment button.
   */
  OpenPickerButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * First view to show.
   * Must be a valid option from `views` list
   * @default 'day'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(['day', 'month', 'year']),

  /**
   * Force rendering in particular orientation.
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(['landscape', 'portrait']),

  /**
   * Paper props passed down to [Paper](https://mui.com/material-ui/api/paper/) component.
   */
  PaperProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Popper props passed down to [Popper](https://mui.com/material-ui/api/popper/) component.
   */
  PopperProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Disable heavy animations.
   * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
   */
  reduceAnimations: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Custom renderer for day. Check the [PickersDay](https://mui.com/x/api/date-pickers/pickers-day/) component.
   * @template TDate
   * @param {TDate} day The day to render.
   * @param {Array<TDate | null>} selectedDays The days currently selected.
   * @param {PickersDayProps<TDate>} pickersDayProps The props of the day to render.
   * @returns {JSX.Element} The element representing the day.
   */
  renderDay: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * The `renderInput` prop allows you to customize the rendered input.
   * The `props` argument of this render prop contains props of [TextField](https://mui.com/material-ui/api/text-field/#props) that you need to forward.
   * Pay specific attention to the `ref` and `inputProps` keys.
   * @example ```jsx
   * renderInput={props => <TextField {...props} />}
   * ````
   * @param {MuiTextFieldPropsType} props The props of the input.
   * @returns {React.ReactNode} The node to render as the input.
   */
  renderInput: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,

  /**
   * Component displaying when passed `loading` true.
   * @returns {React.ReactNode} The node to render when loading.
   * @default () => <span data-mui-test="loading-progress">...</span>
   */
  renderLoading: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Custom formatter to be passed into Rifm component.
   * @param {string} str The un-formatted string.
   * @returns {string} The formatted string.
   */
  rifmFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Right arrow icon aria-label text.
   * @deprecated
   */
  rightArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * Disable specific date. @DateIOType
   * @template TDate
   * @param {TDate} day The date to test.
   * @returns {boolean} Returns `true` if the date should be disabled.
   */
  shouldDisableDate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Disable specific months dynamically.
   * Works like `shouldDisableDate` but for month selection view @DateIOType.
   * @template TDate
   * @param {TDate} month The month to check.
   * @returns {boolean} If `true` the month will be disabled.
   */
  shouldDisableMonth: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Disable specific years dynamically.
   * Works like `shouldDisableDate` but for year selection view @DateIOType.
   * @template TDate
   * @param {TDate} year The year to test.
   * @returns {boolean} Returns `true` if the year should be disabled.
   */
  shouldDisableYear: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * If `true`, days that have `outsideCurrentMonth={true}` are displayed.
   * @default false
   */
  showDaysOutsideCurrentMonth: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * If `true`, show the toolbar even in desktop mode.
   */
  showToolbar: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Component that will replace default toolbar renderer.
   * @default DatePickerToolbar
   */
  ToolbarComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().elementType),

  /**
   * Date format, that is displaying in toolbar.
   */
  toolbarFormat: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * Mobile picker date value placeholder, displaying if `value` === `null`.
   * @default '–'
   */
  toolbarPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),

  /**
   * Mobile picker title, displaying in the toolbar.
   * @default 'Select date'
   */
  toolbarTitle: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),

  /**
   * Custom component for popper [Transition](https://mui.com/material-ui/transitions/#transitioncomponent-prop).
   */
  TransitionComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().elementType),

  /**
   * The value of the picker.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().any),

  /**
   * Array of views to show.
   * @default ['year', 'day']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(['day', 'month', 'year']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DatePickerToolbar: () => (/* binding */ DatePickerToolbar)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _internals_components_PickersToolbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internals/components/PickersToolbar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbar.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/shared.js");
/* harmony import */ var _datePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./datePickerToolbarClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/datePickerToolbarClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["parsedValue", "isLandscape", "isMobileKeyboardViewOpen", "onChange", "toggleMobileKeyboardView", "toolbarFormat", "toolbarPlaceholder", "toolbarTitle", "views"];










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    title: ['title']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _datePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_10__.getDatePickerToolbarUtilityClass, classes);
};

const DatePickerToolbarRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_internals_components_PickersToolbar__WEBPACK_IMPORTED_MODULE_7__.PickersToolbar, {
  name: 'MuiDatePickerToolbar',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})({});
const DatePickerToolbarTitle = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_3__["default"], {
  name: 'MuiDatePickerToolbar',
  slot: 'Title',
  overridesResolver: (_, styles) => styles.title
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, ownerState.isLandscape && {
  margin: 'auto 16px auto auto'
}));

/**
 * @ignore - internal component.
 */
const DatePickerToolbar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function DatePickerToolbar(inProps, ref) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props: inProps,
    name: 'MuiDatePickerToolbar'
  });

  const {
    parsedValue,
    isLandscape,
    isMobileKeyboardViewOpen,
    toggleMobileKeyboardView,
    toolbarFormat,
    toolbarPlaceholder = '––',
    toolbarTitle: toolbarTitleProp,
    views
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_8__.useUtils)();
  const localeText = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_8__.useLocaleText)();
  const classes = useUtilityClasses(props);
  const toolbarTitle = toolbarTitleProp != null ? toolbarTitleProp : localeText.datePickerDefaultToolbarTitle;
  const dateText = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (!parsedValue) {
      return toolbarPlaceholder;
    }

    if (toolbarFormat) {
      return utils.formatByString(parsedValue, toolbarFormat);
    }

    if ((0,_shared__WEBPACK_IMPORTED_MODULE_9__.isYearOnlyView)(views)) {
      return utils.format(parsedValue, 'year');
    }

    if ((0,_shared__WEBPACK_IMPORTED_MODULE_9__.isYearAndMonthViews)(views)) {
      return utils.format(parsedValue, 'month');
    } // Little localization hack (Google is doing the same for android native pickers):
    // For english localization it is convenient to include weekday into the date "Mon, Jun 1".
    // For other locales using strings like "June 1", without weekday.


    return /en/.test(utils.getCurrentLocaleCode()) ? utils.format(parsedValue, 'normalDateWithWeekday') : utils.format(parsedValue, 'normalDate');
  }, [parsedValue, toolbarFormat, toolbarPlaceholder, utils, views]);
  const ownerState = props;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(DatePickerToolbarRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    ref: ref,
    toolbarTitle: toolbarTitle,
    isMobileKeyboardViewOpen: isMobileKeyboardViewOpen,
    toggleMobileKeyboardView: toggleMobileKeyboardView,
    isLandscape: isLandscape,
    className: classes.root
  }, other, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(DatePickerToolbarTitle, {
      variant: "h4",
      align: isLandscape ? 'left' : 'center',
      ownerState: ownerState,
      className: classes.title,
      children: dateText
    })
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/datePickerToolbarClasses.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/datePickerToolbarClasses.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   datePickerToolbarClasses: () => (/* binding */ datePickerToolbarClasses),
/* harmony export */   getDatePickerToolbarUtilityClass: () => (/* binding */ getDatePickerToolbarUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getDatePickerToolbarUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDatePickerToolbar', slot);
}
const datePickerToolbarClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDatePickerToolbar', ['root', 'title']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/shared.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/shared.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   datePickerValueManager: () => (/* binding */ datePickerValueManager),
/* harmony export */   isYearAndMonthViews: () => (/* binding */ isYearAndMonthViews),
/* harmony export */   isYearOnlyView: () => (/* binding */ isYearOnlyView),
/* harmony export */   useDatePickerDefaultizedProps: () => (/* binding */ useDatePickerDefaultizedProps)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../internals/utils/date-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js");




const isYearOnlyView = views => views.length === 1 && views[0] === 'year';
const isYearAndMonthViews = views => views.length === 2 && views.indexOf('month') !== -1 && views.indexOf('year') !== -1;

const getFormatAndMaskByViews = (views, utils) => {
  if (isYearOnlyView(views)) {
    return {
      inputFormat: utils.formats.year
    };
  }

  if (isYearAndMonthViews(views)) {
    return {
      disableMaskedInput: true,
      inputFormat: utils.formats.monthAndYear
    };
  }

  return {
    inputFormat: utils.formats.keyboardDate
  };
};

function useDatePickerDefaultizedProps(props, name) {
  var _themeProps$views;

  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_2__.useUtils)();
  const defaultDates = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_2__.useDefaultDates)(); // This is technically unsound if the type parameters appear in optional props.
  // Optional props can be filled by `useThemeProps` with types that don't match the type parameters.

  const themeProps = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__["default"])({
    props,
    name
  });
  const views = (_themeProps$views = themeProps.views) != null ? _themeProps$views : ['year', 'day'];
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    openTo: 'day',
    disableFuture: false,
    disablePast: false
  }, getFormatAndMaskByViews(views, utils), themeProps, {
    views,
    minDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_3__.parseNonNullablePickerDate)(utils, themeProps.minDate, defaultDates.minDate),
    maxDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_3__.parseNonNullablePickerDate)(utils, themeProps.maxDate, defaultDates.maxDate)
  });
}
const datePickerValueManager = {
  emptyValue: null,
  getTodayValue: utils => utils.date(),
  parseInput: _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_3__.parsePickerInputValue,
  areValuesEqual: (utils, a, b) => utils.isEqual(a, b)
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DesktopDatePicker/DesktopDatePicker.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DesktopDatePicker/DesktopDatePicker.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DesktopDatePicker: () => (/* binding */ DesktopDatePicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _DatePicker_shared__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../DatePicker/shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/shared.js");
/* harmony import */ var _DatePicker_DatePickerToolbar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DatePicker/DatePickerToolbar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar.js");
/* harmony import */ var _internals_components_wrappers_DesktopWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internals/components/wrappers/DesktopWrapper */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/DesktopWrapper.js");
/* harmony import */ var _internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internals/components/CalendarOrClockPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.js");
/* harmony import */ var _internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internals/hooks/validation/useDateValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateValidation.js");
/* harmony import */ var _internals_components_KeyboardDateInput__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/components/KeyboardDateInput */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/KeyboardDateInput.js");
/* harmony import */ var _internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/hooks/usePickerState */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/usePickerState.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["onChange", "PopperProps", "PaperProps", "ToolbarComponent", "TransitionComponent", "value", "components", "componentsProps"];











/**
 *
 * Demos:
 *
 * - [Date Picker](https://mui.com/x/react-date-pickers/date-picker/)
 *
 * API:
 *
 * - [DesktopDatePicker API](https://mui.com/x/api/date-pickers/desktop-date-picker/)
 */
const DesktopDatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function DesktopDatePicker(inProps, ref) {
  const props = (0,_DatePicker_shared__WEBPACK_IMPORTED_MODULE_4__.useDatePickerDefaultizedProps)(inProps, 'MuiDesktopDatePicker');
  const validationError = (0,_internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_8__.useDateValidation)(props) !== null;
  const {
    pickerProps,
    inputProps,
    wrapperProps
  } = (0,_internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__.usePickerState)(props, _DatePicker_shared__WEBPACK_IMPORTED_MODULE_4__.datePickerValueManager);

  const {
    PopperProps,
    PaperProps,
    ToolbarComponent = _DatePicker_DatePickerToolbar__WEBPACK_IMPORTED_MODULE_5__.DatePickerToolbar,
    TransitionComponent,
    components,
    componentsProps
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const AllDateInputProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, inputProps, other, {
    components,
    componentsProps,
    ref,
    validationError
  });

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_wrappers_DesktopWrapper__WEBPACK_IMPORTED_MODULE_6__.DesktopWrapper, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, wrapperProps, {
    DateInputProps: AllDateInputProps,
    KeyboardDateInputComponent: _internals_components_KeyboardDateInput__WEBPACK_IMPORTED_MODULE_9__.KeyboardDateInput,
    PopperProps: PopperProps,
    PaperProps: PaperProps,
    TransitionComponent: TransitionComponent,
    components: components,
    componentsProps: componentsProps,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__.CalendarOrClockPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, pickerProps, {
      autoFocus: true,
      toolbarTitle: props.label || props.toolbarTitle,
      ToolbarComponent: ToolbarComponent,
      DateInputProps: AllDateInputProps,
      components: components,
      componentsProps: componentsProps
    }, other))
  }));
});
 true ? DesktopDatePicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Regular expression to detect "accepted" symbols.
   * @default /\dap/gi
   */
  acceptRegex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(RegExp),
  autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * className applied to the root component.
   */
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * If `true` the popup or dialog will immediately close after submitting full date.
   * @default `true` for Desktop, `false` for Mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
   */
  closeOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Formats the day of week displayed in the calendar header.
   * @param {string} day The day of week provided by the adapter's method `getWeekdays`.
   * @returns {string} The name to display.
   * @default (day) => day.charAt(0).toUpperCase()
   */
  dayOfWeekFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Default calendar month displayed when `value={null}`.
   */
  defaultCalendarMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` future days are disabled.
   * @default false
   */
  disableFuture: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, today's date is rendering without highlighting with circle.
   * @default false
   */
  disableHighlightToday: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.
   * @default false
   */
  disableMaskedInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Do not render open picker button (renders only text field with validation).
   * @default false
   */
  disableOpenPicker: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` past days are disabled.
   * @default false
   */
  disablePast: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType
   * @template TInputDate, TDate
   * @param {TInputDate} date The date from which we want to add an aria-text.
   * @param {MuiPickersAdapter<TDate>} utils The utils to manipulate the date.
   * @returns {string} The aria-text to render inside the dialog.
   * @default (date, utils) => `Choose date, selected date is ${utils.format(utils.date(date), 'fullDate')}`
   */
  getOpenDialogAriaText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Get aria-label text for switching between views button.
   * @param {CalendarPickerView} currentView The view from which we want to get the button text.
   * @returns {string} The label of the view.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  getViewSwitchingButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  ignoreInvalidInputs: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard input adornment.
   */
  InputAdornmentProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Format string.
   */
  inputFormat: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  InputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Pass a ref to the `input` element.
   */
  inputRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)
  })]),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Left arrow icon aria-label text.
   * @deprecated
   */
  leftArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * If `true` renders `LoadingComponent` in calendar instead of calendar view.
   * Can be used to preload information and show it in calendar.
   * @default false
   */
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Custom mask. Can be used to override generate from format. (e.g. `__/__/____ __:__` or `__/__/____ __:__ _M`).
   */
  mask: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Maximal selectable date. @DateIOType
   */
  maxDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Minimal selectable date. @DateIOType
   */
  minDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Callback fired when date is accepted @DateIOType.
   * @template TValue
   * @param {TValue} value The value that was just accepted.
   */
  onAccept: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the value (the selected date) changes @DateIOType.
   * @template TValue
   * @param {TValue} value The new parsed value.
   * @param {string} keyboardInputValue The current value of the keyboard input.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Callback fired when the popup requests to be closed.
   * Use in controlled mode (see open).
   */
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback that fired when input value or new `value` prop validation returns **new** validation error (or value is valid after error).
   * In case of validation error detected `reason` prop return non-null value and `TextField` must be displayed in `error` state.
   * This can be used to render appropriate form error.
   *
   * [Read the guide](https://next.material-ui-pickers.dev/guides/forms) about form integration and error displaying.
   * @DateIOType
   *
   * @template TError, TInputValue
   * @param {TError} reason The reason why the current value is not valid.
   * @param {TInputValue} value The invalid value.
   */
  onError: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback firing on month change @DateIOType.
   * @template TDate
   * @param {TDate} month The new month.
   * @returns {void|Promise} -
   */
  onMonthChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the popup requests to be opened.
   * Use in controlled mode (see open).
   */
  onOpen: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired on view change.
   * @param {CalendarPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback firing on year change @DateIOType.
   * @template TDate
   * @param {TDate} year The new year.
   */
  onYearChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Control the popup or dialog open state.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard adornment button.
   */
  OpenPickerButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * First view to show.
   * Must be a valid option from `views` list
   * @default 'day'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']),

  /**
   * Force rendering in particular orientation.
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['landscape', 'portrait']),

  /**
   * Paper props passed down to [Paper](https://mui.com/material-ui/api/paper/) component.
   */
  PaperProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Popper props passed down to [Popper](https://mui.com/material-ui/api/popper/) component.
   */
  PopperProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable heavy animations.
   * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
   */
  reduceAnimations: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Custom renderer for day. Check the [PickersDay](https://mui.com/x/api/date-pickers/pickers-day/) component.
   * @template TDate
   * @param {TDate} day The day to render.
   * @param {Array<TDate | null>} selectedDays The days currently selected.
   * @param {PickersDayProps<TDate>} pickersDayProps The props of the day to render.
   * @returns {JSX.Element} The element representing the day.
   */
  renderDay: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * The `renderInput` prop allows you to customize the rendered input.
   * The `props` argument of this render prop contains props of [TextField](https://mui.com/material-ui/api/text-field/#props) that you need to forward.
   * Pay specific attention to the `ref` and `inputProps` keys.
   * @example ```jsx
   * renderInput={props => <TextField {...props} />}
   * ````
   * @param {MuiTextFieldPropsType} props The props of the input.
   * @returns {React.ReactNode} The node to render as the input.
   */
  renderInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Component displaying when passed `loading` true.
   * @returns {React.ReactNode} The node to render when loading.
   * @default () => <span data-mui-test="loading-progress">...</span>
   */
  renderLoading: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Custom formatter to be passed into Rifm component.
   * @param {string} str The un-formatted string.
   * @returns {string} The formatted string.
   */
  rifmFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Right arrow icon aria-label text.
   * @deprecated
   */
  rightArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Disable specific date. @DateIOType
   * @template TDate
   * @param {TDate} day The date to test.
   * @returns {boolean} Returns `true` if the date should be disabled.
   */
  shouldDisableDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Disable specific months dynamically.
   * Works like `shouldDisableDate` but for month selection view @DateIOType.
   * @template TDate
   * @param {TDate} month The month to check.
   * @returns {boolean} If `true` the month will be disabled.
   */
  shouldDisableMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Disable specific years dynamically.
   * Works like `shouldDisableDate` but for year selection view @DateIOType.
   * @template TDate
   * @param {TDate} year The year to test.
   * @returns {boolean} Returns `true` if the year should be disabled.
   */
  shouldDisableYear: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true`, days that have `outsideCurrentMonth={true}` are displayed.
   * @default false
   */
  showDaysOutsideCurrentMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, show the toolbar even in desktop mode.
   */
  showToolbar: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Component that will replace default toolbar renderer.
   * @default DatePickerToolbar
   */
  ToolbarComponent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),

  /**
   * Date format, that is displaying in toolbar.
   */
  toolbarFormat: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Mobile picker date value placeholder, displaying if `value` === `null`.
   * @default '–'
   */
  toolbarPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Mobile picker title, displaying in the toolbar.
   * @default 'Select date'
   */
  toolbarTitle: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Custom component for popper [Transition](https://mui.com/material-ui/transitions/#transitioncomponent-prop).
   */
  TransitionComponent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),

  /**
   * The value of the picker.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Array of views to show.
   * @default ['year', 'day']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DesktopTimePicker/DesktopTimePicker.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DesktopTimePicker/DesktopTimePicker.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DesktopTimePicker: () => (/* binding */ DesktopTimePicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _TimePicker_shared__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../TimePicker/shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/shared.js");
/* harmony import */ var _TimePicker_TimePickerToolbar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../TimePicker/TimePickerToolbar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar.js");
/* harmony import */ var _internals_components_wrappers_DesktopWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internals/components/wrappers/DesktopWrapper */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/DesktopWrapper.js");
/* harmony import */ var _internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internals/components/CalendarOrClockPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.js");
/* harmony import */ var _internals_hooks_validation_useTimeValidation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internals/hooks/validation/useTimeValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useTimeValidation.js");
/* harmony import */ var _internals_components_KeyboardDateInput__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/components/KeyboardDateInput */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/KeyboardDateInput.js");
/* harmony import */ var _internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/hooks/usePickerState */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/usePickerState.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["onChange", "PaperProps", "PopperProps", "ToolbarComponent", "TransitionComponent", "value", "components", "componentsProps"];











/**
 *
 * Demos:
 *
 * - [Time Picker](https://mui.com/x/react-date-pickers/time-picker/)
 *
 * API:
 *
 * - [DesktopTimePicker API](https://mui.com/x/api/date-pickers/desktop-time-picker/)
 */
const DesktopTimePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function DesktopTimePicker(inProps, ref) {
  const props = (0,_TimePicker_shared__WEBPACK_IMPORTED_MODULE_4__.useTimePickerDefaultizedProps)(inProps, 'MuiDesktopTimePicker');
  const validationError = (0,_internals_hooks_validation_useTimeValidation__WEBPACK_IMPORTED_MODULE_8__.useTimeValidation)(props) !== null;
  const {
    pickerProps,
    inputProps,
    wrapperProps
  } = (0,_internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__.usePickerState)(props, _TimePicker_shared__WEBPACK_IMPORTED_MODULE_4__.timePickerValueManager);

  const {
    PaperProps,
    PopperProps,
    ToolbarComponent = _TimePicker_TimePickerToolbar__WEBPACK_IMPORTED_MODULE_5__.TimePickerToolbar,
    TransitionComponent,
    components,
    componentsProps
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const DateInputProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, inputProps, other, {
    components,
    componentsProps,
    ref,
    validationError
  });

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_wrappers_DesktopWrapper__WEBPACK_IMPORTED_MODULE_6__.DesktopWrapper, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, wrapperProps, {
    DateInputProps: DateInputProps,
    KeyboardDateInputComponent: _internals_components_KeyboardDateInput__WEBPACK_IMPORTED_MODULE_9__.KeyboardDateInput,
    PopperProps: PopperProps,
    PaperProps: PaperProps,
    TransitionComponent: TransitionComponent,
    components: components,
    componentsProps: componentsProps,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__.CalendarOrClockPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, pickerProps, {
      autoFocus: true,
      toolbarTitle: props.label || props.toolbarTitle,
      ToolbarComponent: ToolbarComponent,
      DateInputProps: DateInputProps,
      components: components,
      componentsProps: componentsProps
    }, other))
  }));
});
 true ? DesktopTimePicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Regular expression to detect "accepted" symbols.
   * @default /\dap/gi
   */
  acceptRegex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(RegExp),

  /**
   * 12h/24h view for hour selection clock.
   * @default `utils.is12HourCycleInCurrentLocale()`
   */
  ampm: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Display ampm controls under the clock (instead of in the toolbar).
   * @default false
   */
  ampmInClock: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * className applied to the root component.
   */
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * If `true` the popup or dialog will immediately close after submitting full date.
   * @default `true` for Desktop, `false` for Mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
   */
  closeOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Do not ignore date part when validating min/max time.
   * @default false
   */
  disableIgnoringDatePartForTimeValidation: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.
   * @default false
   */
  disableMaskedInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Do not render open picker button (renders only text field with validation).
   * @default false
   */
  disableOpenPicker: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Accessible text that helps user to understand which time and view is selected.
   * @template TDate
   * @param {ClockPickerView} view The current view rendered.
   * @param {TDate | null} time The current time.
   * @param {MuiPickersAdapter<TDate>} adapter The current date adapter.
   * @returns {string} The clock label.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   * @default <TDate extends any>(
   *   view: ClockView,
   *   time: TDate | null,
   *   adapter: MuiPickersAdapter<TDate>,
   * ) =>
   *   `Select ${view}. ${
   *     time === null ? 'No time selected' : `Selected time is ${adapter.format(time, 'fullTime')}`
   *   }`
   */
  getClockLabelText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType
   * @template TInputDate, TDate
   * @param {TInputDate} date The date from which we want to add an aria-text.
   * @param {MuiPickersAdapter<TDate>} utils The utils to manipulate the date.
   * @returns {string} The aria-text to render inside the dialog.
   * @default (date, utils) => `Choose date, selected date is ${utils.format(utils.date(date), 'fullDate')}`
   */
  getOpenDialogAriaText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  ignoreInvalidInputs: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard input adornment.
   */
  InputAdornmentProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Format string.
   */
  inputFormat: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  InputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Pass a ref to the `input` element.
   */
  inputRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)
  })]),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Custom mask. Can be used to override generate from format. (e.g. `__/__/____ __:__` or `__/__/____ __:__ _M`).
   */
  mask: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Max time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  maxTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Min time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  minTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Step over minutes.
   * @default 1
   */
  minutesStep: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),

  /**
   * Callback fired when date is accepted @DateIOType.
   * @template TValue
   * @param {TValue} value The value that was just accepted.
   */
  onAccept: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the value (the selected date) changes @DateIOType.
   * @template TValue
   * @param {TValue} value The new parsed value.
   * @param {string} keyboardInputValue The current value of the keyboard input.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Callback fired when the popup requests to be closed.
   * Use in controlled mode (see open).
   */
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback that fired when input value or new `value` prop validation returns **new** validation error (or value is valid after error).
   * In case of validation error detected `reason` prop return non-null value and `TextField` must be displayed in `error` state.
   * This can be used to render appropriate form error.
   *
   * [Read the guide](https://next.material-ui-pickers.dev/guides/forms) about form integration and error displaying.
   * @DateIOType
   *
   * @template TError, TInputValue
   * @param {TError} reason The reason why the current value is not valid.
   * @param {TInputValue} value The invalid value.
   */
  onError: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the popup requests to be opened.
   * Use in controlled mode (see open).
   */
  onOpen: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired on view change.
   * @param {ClockPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Control the popup or dialog open state.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard adornment button.
   */
  OpenPickerButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * First view to show.
   * Must be a valid option from `views` list
   * @default 'hours'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['hours', 'minutes', 'seconds']),

  /**
   * Force rendering in particular orientation.
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['landscape', 'portrait']),

  /**
   * Paper props passed down to [Paper](https://mui.com/material-ui/api/paper/) component.
   */
  PaperProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Popper props passed down to [Popper](https://mui.com/material-ui/api/popper/) component.
   */
  PopperProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * The `renderInput` prop allows you to customize the rendered input.
   * The `props` argument of this render prop contains props of [TextField](https://mui.com/material-ui/api/text-field/#props) that you need to forward.
   * Pay specific attention to the `ref` and `inputProps` keys.
   * @example ```jsx
   * renderInput={props => <TextField {...props} />}
   * ````
   * @param {MuiTextFieldPropsType} props The props of the input.
   * @returns {React.ReactNode} The node to render as the input.
   */
  renderInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Custom formatter to be passed into Rifm component.
   * @param {string} str The un-formatted string.
   * @returns {string} The formatted string.
   */
  rifmFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Dynamically check if time is disabled or not.
   * If returns `false` appropriate time point will ot be acceptable.
   * @param {number} timeValue The value to check.
   * @param {ClockPickerView} clockType The clock type of the timeValue.
   * @returns {boolean} Returns `true` if the time should be disabled
   */
  shouldDisableTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true`, show the toolbar even in desktop mode.
   */
  showToolbar: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Component that will replace default toolbar renderer.
   * @default TimePickerToolbar
   */
  ToolbarComponent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),

  /**
   * Mobile picker title, displaying in the toolbar.
   * @default 'Select time'
   */
  toolbarTitle: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Custom component for popper [Transition](https://mui.com/material-ui/transitions/#transitioncomponent-prop).
   */
  TransitionComponent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),

  /**
   * The value of the picker.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Array of views to show.
   * @default ['hours', 'minutes']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['hours', 'minutes', 'seconds']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LocalizationProvider: () => (/* binding */ LocalizationProvider),
/* harmony export */   MuiPickersAdapterContext: () => (/* binding */ MuiPickersAdapterContext)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _locales__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../locales */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/locales/enUS.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");






const MuiPickersAdapterContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createContext(null);

if (true) {
  MuiPickersAdapterContext.displayName = 'MuiPickersAdapterContext';
}

let warnedOnce = false;
/**
 * @ignore - do not document.
 */

function LocalizationProvider(inProps) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])({
    props: inProps,
    name: 'MuiLocalizationProvider'
  });
  const {
    children,
    dateAdapter: Utils,
    dateFormats,
    dateLibInstance,
    locale,
    adapterLocale,
    localeText
  } = props;

  if (true) {
    if (!warnedOnce && locale !== undefined) {
      warnedOnce = true;
      console.warn("LocalizationProvider's prop `locale` is deprecated and replaced by `adapterLocale`");
    }
  }

  const utils = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => new Utils({
    locale: adapterLocale != null ? adapterLocale : locale,
    formats: dateFormats,
    instance: dateLibInstance
  }), [Utils, locale, adapterLocale, dateFormats, dateLibInstance]);
  const defaultDates = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    return {
      minDate: utils.date('1900-01-01T00:00:00.000'),
      maxDate: utils.date('2099-12-31T00:00:00.000')
    };
  }, [utils]);
  const contextValue = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    return {
      utils,
      defaultDates,
      localeText: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _locales__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_LOCALE, localeText != null ? localeText : {})
    };
  }, [defaultDates, utils, localeText]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(MuiPickersAdapterContext.Provider, {
    value: contextValue,
    children: children
  });
}
 true ? LocalizationProvider.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Locale for the date library you are using
   */
  adapterLocale: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)]),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),

  /**
   * DateIO adapter class function
   */
  dateAdapter: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,

  /**
   * Formats that are used for any child pickers
   */
  dateFormats: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    dayOfMonth: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullDate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullDateTime: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullDateTime12h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullDateTime24h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullDateWithWeekday: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullTime: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullTime12h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    fullTime24h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    hours12h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    hours24h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    keyboardDate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    keyboardDateTime: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    keyboardDateTime12h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    keyboardDateTime24h: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    minutes: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    month: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    monthAndDate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    monthAndYear: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    monthShort: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    normalDate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    normalDateWithWeekday: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    seconds: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    shortDate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    weekday: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    weekdayShort: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    year: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
  }),

  /**
   * Date library instance you are using, if it has some global overrides
   * ```jsx
   * dateLibInstance={momentTimeZone}
   * ```
   */
  dateLibInstance: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any),

  /**
   * Locale for the date library you are using
   * @deprecated Use `adapterLocale` instead
   */
  locale: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)]),

  /**
   * Locale for components texts
   */
  localeText: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MobileDatePicker/MobileDatePicker.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MobileDatePicker/MobileDatePicker.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MobileDatePicker: () => (/* binding */ MobileDatePicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _DatePicker_shared__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../DatePicker/shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/shared.js");
/* harmony import */ var _DatePicker_DatePickerToolbar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DatePicker/DatePickerToolbar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar.js");
/* harmony import */ var _internals_components_wrappers_MobileWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internals/components/wrappers/MobileWrapper */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/MobileWrapper.js");
/* harmony import */ var _internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internals/components/CalendarOrClockPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.js");
/* harmony import */ var _internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internals/hooks/validation/useDateValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateValidation.js");
/* harmony import */ var _internals_components_PureDateInput__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/components/PureDateInput */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PureDateInput.js");
/* harmony import */ var _internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/hooks/usePickerState */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/usePickerState.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["ToolbarComponent", "value", "onChange", "components", "componentsProps"];











/**
 *
 * Demos:
 *
 * - [Date Picker](https://mui.com/x/react-date-pickers/date-picker/)
 *
 * API:
 *
 * - [MobileDatePicker API](https://mui.com/x/api/date-pickers/mobile-date-picker/)
 */
const MobileDatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function MobileDatePicker(inProps, ref) {
  const props = (0,_DatePicker_shared__WEBPACK_IMPORTED_MODULE_4__.useDatePickerDefaultizedProps)(inProps, 'MuiMobileDatePicker');
  const validationError = (0,_internals_hooks_validation_useDateValidation__WEBPACK_IMPORTED_MODULE_8__.useDateValidation)(props) !== null;
  const {
    pickerProps,
    inputProps,
    wrapperProps
  } = (0,_internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__.usePickerState)(props, _DatePicker_shared__WEBPACK_IMPORTED_MODULE_4__.datePickerValueManager); // Note that we are passing down all the value without spread.
  // It saves us >1kb gzip and make any prop available automatically on any level down.

  const {
    ToolbarComponent = _DatePicker_DatePickerToolbar__WEBPACK_IMPORTED_MODULE_5__.DatePickerToolbar,
    components,
    componentsProps
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const DateInputProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, inputProps, other, {
    components,
    componentsProps,
    ref,
    validationError
  });

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_wrappers_MobileWrapper__WEBPACK_IMPORTED_MODULE_6__.MobileWrapper, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, other, wrapperProps, {
    DateInputProps: DateInputProps,
    PureDateInputComponent: _internals_components_PureDateInput__WEBPACK_IMPORTED_MODULE_9__.PureDateInput,
    components: components,
    componentsProps: componentsProps,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__.CalendarOrClockPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, pickerProps, {
      autoFocus: true,
      toolbarTitle: props.label || props.toolbarTitle,
      ToolbarComponent: ToolbarComponent,
      DateInputProps: DateInputProps,
      components: components,
      componentsProps: componentsProps
    }, other))
  }));
});
 true ? MobileDatePicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Regular expression to detect "accepted" symbols.
   * @default /\dap/gi
   */
  acceptRegex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(RegExp),
  autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * className applied to the root component.
   */
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * If `true` the popup or dialog will immediately close after submitting full date.
   * @default `true` for Desktop, `false` for Mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
   */
  closeOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Formats the day of week displayed in the calendar header.
   * @param {string} day The day of week provided by the adapter's method `getWeekdays`.
   * @returns {string} The name to display.
   * @default (day) => day.charAt(0).toUpperCase()
   */
  dayOfWeekFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Default calendar month displayed when `value={null}`.
   */
  defaultCalendarMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Props applied to the [`Dialog`](https://mui.com/material-ui/api/dialog/) element.
   */
  DialogProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` future days are disabled.
   * @default false
   */
  disableFuture: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, today's date is rendering without highlighting with circle.
   * @default false
   */
  disableHighlightToday: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.
   * @default false
   */
  disableMaskedInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Do not render open picker button (renders only text field with validation).
   * @default false
   */
  disableOpenPicker: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` past days are disabled.
   * @default false
   */
  disablePast: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType
   * @template TInputDate, TDate
   * @param {TInputDate} date The date from which we want to add an aria-text.
   * @param {MuiPickersAdapter<TDate>} utils The utils to manipulate the date.
   * @returns {string} The aria-text to render inside the dialog.
   * @default (date, utils) => `Choose date, selected date is ${utils.format(utils.date(date), 'fullDate')}`
   */
  getOpenDialogAriaText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Get aria-label text for switching between views button.
   * @param {CalendarPickerView} currentView The view from which we want to get the button text.
   * @returns {string} The label of the view.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   */
  getViewSwitchingButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  ignoreInvalidInputs: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard input adornment.
   */
  InputAdornmentProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Format string.
   */
  inputFormat: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  InputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Pass a ref to the `input` element.
   */
  inputRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)
  })]),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Left arrow icon aria-label text.
   * @deprecated
   */
  leftArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * If `true` renders `LoadingComponent` in calendar instead of calendar view.
   * Can be used to preload information and show it in calendar.
   * @default false
   */
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Custom mask. Can be used to override generate from format. (e.g. `__/__/____ __:__` or `__/__/____ __:__ _M`).
   */
  mask: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Maximal selectable date. @DateIOType
   */
  maxDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Minimal selectable date. @DateIOType
   */
  minDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Callback fired when date is accepted @DateIOType.
   * @template TValue
   * @param {TValue} value The value that was just accepted.
   */
  onAccept: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the value (the selected date) changes @DateIOType.
   * @template TValue
   * @param {TValue} value The new parsed value.
   * @param {string} keyboardInputValue The current value of the keyboard input.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Callback fired when the popup requests to be closed.
   * Use in controlled mode (see open).
   */
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback that fired when input value or new `value` prop validation returns **new** validation error (or value is valid after error).
   * In case of validation error detected `reason` prop return non-null value and `TextField` must be displayed in `error` state.
   * This can be used to render appropriate form error.
   *
   * [Read the guide](https://next.material-ui-pickers.dev/guides/forms) about form integration and error displaying.
   * @DateIOType
   *
   * @template TError, TInputValue
   * @param {TError} reason The reason why the current value is not valid.
   * @param {TInputValue} value The invalid value.
   */
  onError: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback firing on month change @DateIOType.
   * @template TDate
   * @param {TDate} month The new month.
   * @returns {void|Promise} -
   */
  onMonthChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the popup requests to be opened.
   * Use in controlled mode (see open).
   */
  onOpen: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired on view change.
   * @param {CalendarPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback firing on year change @DateIOType.
   * @template TDate
   * @param {TDate} year The new year.
   */
  onYearChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Control the popup or dialog open state.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard adornment button.
   */
  OpenPickerButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * First view to show.
   * Must be a valid option from `views` list
   * @default 'day'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']),

  /**
   * Force rendering in particular orientation.
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['landscape', 'portrait']),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable heavy animations.
   * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
   */
  reduceAnimations: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Custom renderer for day. Check the [PickersDay](https://mui.com/x/api/date-pickers/pickers-day/) component.
   * @template TDate
   * @param {TDate} day The day to render.
   * @param {Array<TDate | null>} selectedDays The days currently selected.
   * @param {PickersDayProps<TDate>} pickersDayProps The props of the day to render.
   * @returns {JSX.Element} The element representing the day.
   */
  renderDay: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * The `renderInput` prop allows you to customize the rendered input.
   * The `props` argument of this render prop contains props of [TextField](https://mui.com/material-ui/api/text-field/#props) that you need to forward.
   * Pay specific attention to the `ref` and `inputProps` keys.
   * @example ```jsx
   * renderInput={props => <TextField {...props} />}
   * ````
   * @param {MuiTextFieldPropsType} props The props of the input.
   * @returns {React.ReactNode} The node to render as the input.
   */
  renderInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Component displaying when passed `loading` true.
   * @returns {React.ReactNode} The node to render when loading.
   * @default () => <span data-mui-test="loading-progress">...</span>
   */
  renderLoading: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Custom formatter to be passed into Rifm component.
   * @param {string} str The un-formatted string.
   * @returns {string} The formatted string.
   */
  rifmFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Right arrow icon aria-label text.
   * @deprecated
   */
  rightArrowButtonText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Disable specific date. @DateIOType
   * @template TDate
   * @param {TDate} day The date to test.
   * @returns {boolean} Returns `true` if the date should be disabled.
   */
  shouldDisableDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Disable specific months dynamically.
   * Works like `shouldDisableDate` but for month selection view @DateIOType.
   * @template TDate
   * @param {TDate} month The month to check.
   * @returns {boolean} If `true` the month will be disabled.
   */
  shouldDisableMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Disable specific years dynamically.
   * Works like `shouldDisableDate` but for year selection view @DateIOType.
   * @template TDate
   * @param {TDate} year The year to test.
   * @returns {boolean} Returns `true` if the year should be disabled.
   */
  shouldDisableYear: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true`, days that have `outsideCurrentMonth={true}` are displayed.
   * @default false
   */
  showDaysOutsideCurrentMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, show the toolbar even in desktop mode.
   */
  showToolbar: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Component that will replace default toolbar renderer.
   * @default DatePickerToolbar
   */
  ToolbarComponent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),

  /**
   * Date format, that is displaying in toolbar.
   */
  toolbarFormat: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Mobile picker date value placeholder, displaying if `value` === `null`.
   * @default '–'
   */
  toolbarPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Mobile picker title, displaying in the toolbar.
   * @default 'Select date'
   */
  toolbarTitle: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * The value of the picker.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Array of views to show.
   * @default ['year', 'day']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['day', 'month', 'year']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MobileTimePicker/MobileTimePicker.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MobileTimePicker/MobileTimePicker.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MobileTimePicker: () => (/* binding */ MobileTimePicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _TimePicker_shared__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../TimePicker/shared */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/shared.js");
/* harmony import */ var _TimePicker_TimePickerToolbar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../TimePicker/TimePickerToolbar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar.js");
/* harmony import */ var _internals_components_wrappers_MobileWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internals/components/wrappers/MobileWrapper */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/MobileWrapper.js");
/* harmony import */ var _internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internals/components/CalendarOrClockPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.js");
/* harmony import */ var _internals_hooks_validation_useTimeValidation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internals/hooks/validation/useTimeValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useTimeValidation.js");
/* harmony import */ var _internals_components_PureDateInput__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/components/PureDateInput */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PureDateInput.js");
/* harmony import */ var _internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/hooks/usePickerState */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/usePickerState.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["ToolbarComponent", "value", "onChange", "components", "componentsProps"];











/**
 *
 * Demos:
 *
 * - [Time Picker](https://mui.com/x/react-date-pickers/time-picker/)
 *
 * API:
 *
 * - [MobileTimePicker API](https://mui.com/x/api/date-pickers/mobile-time-picker/)
 */
const MobileTimePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function MobileTimePicker(inProps, ref) {
  const props = (0,_TimePicker_shared__WEBPACK_IMPORTED_MODULE_4__.useTimePickerDefaultizedProps)(inProps, 'MuiMobileTimePicker');
  const validationError = (0,_internals_hooks_validation_useTimeValidation__WEBPACK_IMPORTED_MODULE_8__.useTimeValidation)(props) !== null;
  const {
    pickerProps,
    inputProps,
    wrapperProps
  } = (0,_internals_hooks_usePickerState__WEBPACK_IMPORTED_MODULE_10__.usePickerState)(props, _TimePicker_shared__WEBPACK_IMPORTED_MODULE_4__.timePickerValueManager); // Note that we are passing down all the value without spread.
  // It saves us >1kb gzip and make any prop available automatically on any level down.

  const {
    ToolbarComponent = _TimePicker_TimePickerToolbar__WEBPACK_IMPORTED_MODULE_5__.TimePickerToolbar,
    components,
    componentsProps
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const DateInputProps = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, inputProps, other, {
    components,
    componentsProps,
    ref,
    validationError
  });

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_wrappers_MobileWrapper__WEBPACK_IMPORTED_MODULE_6__.MobileWrapper, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, other, wrapperProps, {
    DateInputProps: DateInputProps,
    PureDateInputComponent: _internals_components_PureDateInput__WEBPACK_IMPORTED_MODULE_9__.PureDateInput,
    components: components,
    componentsProps: componentsProps,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_internals_components_CalendarOrClockPicker__WEBPACK_IMPORTED_MODULE_7__.CalendarOrClockPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, pickerProps, {
      autoFocus: true,
      toolbarTitle: props.label || props.toolbarTitle,
      ToolbarComponent: ToolbarComponent,
      DateInputProps: DateInputProps,
      components: components,
      componentsProps: componentsProps
    }, other))
  }));
});
 true ? MobileTimePicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Regular expression to detect "accepted" symbols.
   * @default /\dap/gi
   */
  acceptRegex: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(RegExp),

  /**
   * 12h/24h view for hour selection clock.
   * @default `utils.is12HourCycleInCurrentLocale()`
   */
  ampm: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Display ampm controls under the clock (instead of in the toolbar).
   * @default false
   */
  ampmInClock: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * className applied to the root component.
   */
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * If `true` the popup or dialog will immediately close after submitting full date.
   * @default `true` for Desktop, `false` for Mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
   */
  closeOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Props applied to the [`Dialog`](https://mui.com/material-ui/api/dialog/) element.
   */
  DialogProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Do not ignore date part when validating min/max time.
   * @default false
   */
  disableIgnoringDatePartForTimeValidation: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.
   * @default false
   */
  disableMaskedInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Do not render open picker button (renders only text field with validation).
   * @default false
   */
  disableOpenPicker: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Accessible text that helps user to understand which time and view is selected.
   * @template TDate
   * @param {ClockPickerView} view The current view rendered.
   * @param {TDate | null} time The current time.
   * @param {MuiPickersAdapter<TDate>} adapter The current date adapter.
   * @returns {string} The clock label.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   * @default <TDate extends any>(
   *   view: ClockView,
   *   time: TDate | null,
   *   adapter: MuiPickersAdapter<TDate>,
   * ) =>
   *   `Select ${view}. ${
   *     time === null ? 'No time selected' : `Selected time is ${adapter.format(time, 'fullTime')}`
   *   }`
   */
  getClockLabelText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType
   * @template TInputDate, TDate
   * @param {TInputDate} date The date from which we want to add an aria-text.
   * @param {MuiPickersAdapter<TDate>} utils The utils to manipulate the date.
   * @returns {string} The aria-text to render inside the dialog.
   * @default (date, utils) => `Choose date, selected date is ${utils.format(utils.date(date), 'fullDate')}`
   */
  getOpenDialogAriaText: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  ignoreInvalidInputs: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard input adornment.
   */
  InputAdornmentProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Format string.
   */
  inputFormat: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  InputProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * Pass a ref to the `input` element.
   */
  inputRef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)
  })]),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * Custom mask. Can be used to override generate from format. (e.g. `__/__/____ __:__` or `__/__/____ __:__ _M`).
   */
  mask: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Max time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  maxTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Min time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  minTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Step over minutes.
   * @default 1
   */
  minutesStep: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),

  /**
   * Callback fired when date is accepted @DateIOType.
   * @template TValue
   * @param {TValue} value The value that was just accepted.
   */
  onAccept: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the value (the selected date) changes @DateIOType.
   * @template TValue
   * @param {TValue} value The new parsed value.
   * @param {string} keyboardInputValue The current value of the keyboard input.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Callback fired when the popup requests to be closed.
   * Use in controlled mode (see open).
   */
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback that fired when input value or new `value` prop validation returns **new** validation error (or value is valid after error).
   * In case of validation error detected `reason` prop return non-null value and `TextField` must be displayed in `error` state.
   * This can be used to render appropriate form error.
   *
   * [Read the guide](https://next.material-ui-pickers.dev/guides/forms) about form integration and error displaying.
   * @DateIOType
   *
   * @template TError, TInputValue
   * @param {TError} reason The reason why the current value is not valid.
   * @param {TInputValue} value The invalid value.
   */
  onError: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired when the popup requests to be opened.
   * Use in controlled mode (see open).
   */
  onOpen: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Callback fired on view change.
   * @param {ClockPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Control the popup or dialog open state.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Props to pass to keyboard adornment button.
   */
  OpenPickerButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * First view to show.
   * Must be a valid option from `views` list
   * @default 'hours'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['hours', 'minutes', 'seconds']),

  /**
   * Force rendering in particular orientation.
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['landscape', 'portrait']),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * The `renderInput` prop allows you to customize the rendered input.
   * The `props` argument of this render prop contains props of [TextField](https://mui.com/material-ui/api/text-field/#props) that you need to forward.
   * Pay specific attention to the `ref` and `inputProps` keys.
   * @example ```jsx
   * renderInput={props => <TextField {...props} />}
   * ````
   * @param {MuiTextFieldPropsType} props The props of the input.
   * @returns {React.ReactNode} The node to render as the input.
   */
  renderInput: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,

  /**
   * Custom formatter to be passed into Rifm component.
   * @param {string} str The un-formatted string.
   * @returns {string} The formatted string.
   */
  rifmFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * Dynamically check if time is disabled or not.
   * If returns `false` appropriate time point will ot be acceptable.
   * @param {number} timeValue The value to check.
   * @param {ClockPickerView} clockType The clock type of the timeValue.
   * @returns {boolean} Returns `true` if the time should be disabled
   */
  shouldDisableTime: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true`, show the toolbar even in desktop mode.
   */
  showToolbar: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Component that will replace default toolbar renderer.
   * @default TimePickerToolbar
   */
  ToolbarComponent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),

  /**
   * Mobile picker title, displaying in the toolbar.
   * @default 'Select time'
   */
  toolbarTitle: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),

  /**
   * The value of the picker.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Array of views to show.
   * @default ['hours', 'minutes']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['hours', 'minutes', 'seconds']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/MonthPicker.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/MonthPicker.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MonthPicker: () => (/* binding */ MonthPicker),
/* harmony export */   useMonthPickerDefaultizedProps: () => (/* binding */ useMonthPickerDefaultizedProps)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _PickersMonth__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./PickersMonth */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/PickersMonth.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _monthPickerClasses__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./monthPickerClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/monthPickerClasses.js");
/* harmony import */ var _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../internals/utils/date-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "date", "disabled", "disableFuture", "disablePast", "maxDate", "minDate", "onChange", "shouldDisableMonth", "readOnly", "disableHighlightToday", "autoFocus", "onMonthFocus", "hasFocus", "onFocusedViewChange"];












const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"])(slots, _monthPickerClasses__WEBPACK_IMPORTED_MODULE_13__.getMonthPickerUtilityClass, classes);
};

function useMonthPickerDefaultizedProps(props, name) {
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__.useUtils)();
  const defaultDates = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__.useDefaultDates)();
  const themeProps = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])({
    props,
    name
  });
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    disableFuture: false,
    disablePast: false
  }, themeProps, {
    minDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_14__.parseNonNullablePickerDate)(utils, themeProps.minDate, defaultDates.minDate),
    maxDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_14__.parseNonNullablePickerDate)(utils, themeProps.maxDate, defaultDates.maxDate)
  });
}
const MonthPickerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiMonthPicker',
  slot: 'Root',
  overridesResolver: (props, styles) => styles.root
})({
  width: 310,
  display: 'flex',
  flexWrap: 'wrap',
  alignContent: 'stretch',
  margin: '0 4px'
});
const MonthPicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function MonthPicker(inProps, ref) {
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__.useUtils)();
  const now = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__.useNow)();
  const props = useMonthPickerDefaultizedProps(inProps, 'MuiMonthPicker');

  const {
    className,
    date,
    disabled,
    disableFuture,
    disablePast,
    maxDate,
    minDate,
    onChange,
    shouldDisableMonth,
    readOnly,
    disableHighlightToday,
    autoFocus = false,
    onMonthFocus,
    hasFocus,
    onFocusedViewChange
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  const theme = (0,_mui_system__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const selectedDateOrStartOfMonth = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => date != null ? date : utils.startOfMonth(now), [now, utils, date]);
  const selectedMonth = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
    if (date != null) {
      return utils.getMonth(date);
    }

    if (disableHighlightToday) {
      return null;
    }

    return utils.getMonth(now);
  }, [now, date, utils, disableHighlightToday]);
  const [focusedMonth, setFocusedMonth] = react__WEBPACK_IMPORTED_MODULE_2__.useState(() => selectedMonth || utils.getMonth(now));
  const isMonthDisabled = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(month => {
    const firstEnabledMonth = utils.startOfMonth(disablePast && utils.isAfter(now, minDate) ? now : minDate);
    const lastEnabledMonth = utils.startOfMonth(disableFuture && utils.isBefore(now, maxDate) ? now : maxDate);

    if (utils.isBefore(month, firstEnabledMonth)) {
      return true;
    }

    if (utils.isAfter(month, lastEnabledMonth)) {
      return true;
    }

    if (!shouldDisableMonth) {
      return false;
    }

    return shouldDisableMonth(month);
  }, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableMonth, utils]);

  const onMonthSelect = month => {
    if (readOnly) {
      return;
    }

    const newDate = utils.setMonth(selectedDateOrStartOfMonth, month);
    onChange(newDate, 'finish');
  };

  const [internalHasFocus, setInternalHasFocus] = (0,_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"])({
    name: 'MonthPicker',
    state: 'hasFocus',
    controlled: hasFocus,
    default: autoFocus
  });
  const changeHasFocus = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(newHasFocus => {
    setInternalHasFocus(newHasFocus);

    if (onFocusedViewChange) {
      onFocusedViewChange(newHasFocus);
    }
  }, [setInternalHasFocus, onFocusedViewChange]);
  const focusMonth = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(month => {
    if (!isMonthDisabled(utils.setMonth(selectedDateOrStartOfMonth, month))) {
      setFocusedMonth(month);
      changeHasFocus(true);

      if (onMonthFocus) {
        onMonthFocus(month);
      }
    }
  }, [isMonthDisabled, utils, selectedDateOrStartOfMonth, changeHasFocus, onMonthFocus]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    setFocusedMonth(prevFocusedMonth => selectedMonth !== null && prevFocusedMonth !== selectedMonth ? selectedMonth : prevFocusedMonth);
  }, [selectedMonth]);
  const handleKeyDown = (0,_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"])(event => {
    const monthsInYear = 12;
    const monthsInRow = 3;

    switch (event.key) {
      case 'ArrowUp':
        focusMonth((monthsInYear + focusedMonth - monthsInRow) % monthsInYear);
        event.preventDefault();
        break;

      case 'ArrowDown':
        focusMonth((monthsInYear + focusedMonth + monthsInRow) % monthsInYear);
        event.preventDefault();
        break;

      case 'ArrowLeft':
        focusMonth((monthsInYear + focusedMonth + (theme.direction === 'ltr' ? -1 : 1)) % monthsInYear);
        event.preventDefault();
        break;

      case 'ArrowRight':
        focusMonth((monthsInYear + focusedMonth + (theme.direction === 'ltr' ? 1 : -1)) % monthsInYear);
        event.preventDefault();
        break;

      default:
        break;
    }
  });
  const handleMonthFocus = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((event, month) => {
    focusMonth(month);
  }, [focusMonth]);
  const handleMonthBlur = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(() => {
    changeHasFocus(false);
  }, [changeHasFocus]);
  const currentMonthNumber = utils.getMonth(now);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(MonthPickerRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: ownerState,
    onKeyDown: handleKeyDown
  }, other, {
    children: utils.getMonthArray(selectedDateOrStartOfMonth).map(month => {
      const monthNumber = utils.getMonth(month);
      const monthText = utils.format(month, 'monthShort');
      const isDisabled = disabled || isMonthDisabled(month);
      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_PickersMonth__WEBPACK_IMPORTED_MODULE_11__.PickersMonth, {
        value: monthNumber,
        selected: monthNumber === selectedMonth,
        tabIndex: monthNumber === focusedMonth && !isDisabled ? 0 : -1,
        hasFocus: internalHasFocus && monthNumber === focusedMonth,
        onSelect: onMonthSelect,
        onFocus: handleMonthFocus,
        onBlur: handleMonthBlur,
        disabled: isDisabled,
        "aria-current": currentMonthNumber === monthNumber ? 'date' : undefined,
        children: monthText
      }, monthText);
    })
  }));
});
 true ? MonthPicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Override or extend the styles applied to the component.
   */
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * className applied to the root element.
   */
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),

  /**
   * Date value for the MonthPicker
   */
  date: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * If `true` picker is disabled
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` future days are disabled.
   * @default false
   */
  disableFuture: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, today's date is rendering without highlighting with circle.
   * @default false
   */
  disableHighlightToday: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true` past days are disabled.
   * @default false
   */
  disablePast: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Maximal selectable date. @DateIOType
   */
  maxDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Minimal selectable date. @DateIOType
   */
  minDate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any),

  /**
   * Callback fired on date change.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  onFocusedViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onMonthFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true` picker is readonly
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * Disable specific months dynamically.
   * Works like `shouldDisableDate` but for month selection view @DateIOType.
   * @template TDate
   * @param {TDate} month The month to check.
   * @returns {boolean} If `true` the month will be disabled.
   */
  shouldDisableMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)])
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/PickersMonth.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/PickersMonth.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersMonth: () => (/* binding */ PickersMonth)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _internals_utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internals/utils/utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js");
/* harmony import */ var _pickersMonthClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./pickersMonthClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/pickersMonthClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["disabled", "onSelect", "selected", "value", "tabIndex", "hasFocus", "onFocus", "onBlur"];









const useUtilityClasses = ownerState => {
  const {
    classes,
    selected
  } = ownerState;
  const slots = {
    root: ['root', selected && 'selected']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _pickersMonthClasses__WEBPACK_IMPORTED_MODULE_9__.getPickersMonthUtilityClass, classes);
};

const PickersMonthRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_3__["default"], {
  name: 'PrivatePickersMonth',
  slot: 'Root',
  overridesResolver: (_, styles) => [styles.root, {
    [`&.${_pickersMonthClasses__WEBPACK_IMPORTED_MODULE_9__.pickersMonthClasses.selected}`]: styles.selected
  }]
})(({
  theme
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  flex: '1 0 33.33%',
  display: 'flex',
  alignItems: 'center',
  justifyContent: 'center',
  color: 'unset',
  backgroundColor: 'transparent',
  border: 0,
  outline: 0
}, theme.typography.subtitle1, {
  margin: '8px 0',
  height: 36,
  borderRadius: 18,
  cursor: 'pointer',
  '&:focus, &:hover': {
    backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__.alpha)(theme.palette.action.active, theme.palette.action.hoverOpacity)
  },
  '&:disabled': {
    pointerEvents: 'none',
    color: theme.palette.text.secondary
  },
  [`&.${_pickersMonthClasses__WEBPACK_IMPORTED_MODULE_9__.pickersMonthClasses.selected}`]: {
    color: theme.palette.primary.contrastText,
    backgroundColor: theme.palette.primary.main,
    '&:focus, &:hover': {
      backgroundColor: theme.palette.primary.dark
    }
  }
}));

const noop = () => {};
/**
 * @ignore - do not document.
 */


const PickersMonth = props => {
  // TODO v6 add 'useThemeProps' once the component class names are aligned
  const {
    disabled,
    onSelect,
    selected,
    value,
    tabIndex,
    hasFocus,
    onFocus = noop,
    onBlur = noop
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const classes = useUtilityClasses(props);

  const handleSelection = () => {
    onSelect(value);
  };

  const ref = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(() => {
    if (hasFocus) {
      var _ref$current;

      (_ref$current = ref.current) == null ? void 0 : _ref$current.focus();
    }
  }, [hasFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(PickersMonthRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    ref: ref,
    component: "button",
    type: "button",
    className: classes.root,
    tabIndex: tabIndex,
    onClick: handleSelection,
    onKeyDown: (0,_internals_utils_utils__WEBPACK_IMPORTED_MODULE_8__.onSpaceOrEnter)(handleSelection),
    color: selected ? 'primary' : undefined,
    variant: selected ? 'h5' : 'subtitle1',
    disabled: disabled,
    onFocus: event => onFocus(event, value),
    onBlur: event => onBlur(event, value)
  }, other));
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/monthPickerClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/monthPickerClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getMonthPickerUtilityClass: () => (/* binding */ getMonthPickerUtilityClass),
/* harmony export */   monthPickerClasses: () => (/* binding */ monthPickerClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getMonthPickerUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiMonthPicker', slot);
}
const monthPickerClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiMonthPicker', ['root']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/pickersMonthClasses.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MonthPicker/pickersMonthClasses.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersMonthUtilityClass: () => (/* binding */ getPickersMonthUtilityClass),
/* harmony export */   pickersMonthClasses: () => (/* binding */ pickersMonthClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getPickersMonthUtilityClass(slot) {
  // TODO v6 Rename 'PrivatePickersMonth' to 'MuiPickersMonth' to follow convention
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('PrivatePickersMonth', slot);
}
const pickersMonthClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])( // TODO v6 Rename 'PrivatePickersMonth' to 'MuiPickersMonth' to follow convention
'PrivatePickersMonth', ['root', 'selected']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersActionBar: () => (/* binding */ PickersActionBar)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/DialogActions */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internals/components/wrappers/WrapperVariantContext */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["onAccept", "onClear", "onCancel", "onSetToday", "actions"];






const PickersActionBar = props => {
  const {
    onAccept,
    onClear,
    onCancel,
    onSetToday,
    actions
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const wrapperVariant = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_6__.WrapperVariantContext);
  const localeText = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_5__.useLocaleText)();
  const actionsArray = typeof actions === 'function' ? actions(wrapperVariant) : actions;

  if (actionsArray == null || actionsArray.length === 0) {
    return null;
  }

  const buttons = actionsArray == null ? void 0 : actionsArray.map(actionType => {
    switch (actionType) {
      case 'clear':
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_Button__WEBPACK_IMPORTED_MODULE_3__["default"], {
          onClick: onClear,
          children: localeText.clearButtonLabel
        }, actionType);

      case 'cancel':
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_Button__WEBPACK_IMPORTED_MODULE_3__["default"], {
          onClick: onCancel,
          children: localeText.cancelButtonLabel
        }, actionType);

      case 'accept':
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_Button__WEBPACK_IMPORTED_MODULE_3__["default"], {
          onClick: onAccept,
          children: localeText.okButtonLabel
        }, actionType);

      case 'today':
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_Button__WEBPACK_IMPORTED_MODULE_3__["default"], {
          onClick: onSetToday,
          children: localeText.todayButtonLabel
        }, actionType);

      default:
        return null;
    }
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_4__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, other, {
    children: buttons
  }));
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersDay/PickersDay.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersDay/PickersDay.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersDay: () => (/* binding */ PickersDay),
/* harmony export */   areDayPropsEqual: () => (/* binding */ areDayPropsEqual)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/ButtonBase */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internals/constants/dimensions */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/constants/dimensions.js");
/* harmony import */ var _pickersDayClasses__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./pickersDayClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersDay/pickersDayClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["autoFocus", "className", "day", "disabled", "disableHighlightToday", "disableMargin", "hidden", "isAnimating", "onClick", "onDaySelect", "onFocus", "onBlur", "onKeyDown", "onMouseDown", "outsideCurrentMonth", "selected", "showDaysOutsideCurrentMonth", "children", "today"];













const useUtilityClasses = ownerState => {
  const {
    selected,
    disableMargin,
    disableHighlightToday,
    today,
    disabled,
    outsideCurrentMonth,
    showDaysOutsideCurrentMonth,
    classes
  } = ownerState;
  const slots = {
    root: ['root', selected && 'selected', disabled && 'disabled', !disableMargin && 'dayWithMargin', !disableHighlightToday && today && 'today', outsideCurrentMonth && showDaysOutsideCurrentMonth && 'dayOutsideMonth', outsideCurrentMonth && !showDaysOutsideCurrentMonth && 'hiddenDaySpacingFiller'],
    hiddenDaySpacingFiller: ['hiddenDaySpacingFiller']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"])(slots, _pickersDayClasses__WEBPACK_IMPORTED_MODULE_14__.getPickersDayUtilityClass, classes);
};

const styleArg = ({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, theme.typography.caption, {
  width: _internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_13__.DAY_SIZE,
  height: _internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_13__.DAY_SIZE,
  borderRadius: '50%',
  padding: 0,
  // background required here to prevent collides with the other days when animating with transition group
  backgroundColor: theme.palette.background.paper,
  color: theme.palette.text.primary,
  '&:hover': {
    backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_8__.alpha)(theme.palette.action.active, theme.palette.action.hoverOpacity)
  },
  '&:focus': {
    backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_8__.alpha)(theme.palette.action.active, theme.palette.action.hoverOpacity),
    [`&.${_pickersDayClasses__WEBPACK_IMPORTED_MODULE_14__.pickersDayClasses.selected}`]: {
      willChange: 'background-color',
      backgroundColor: theme.palette.primary.dark
    }
  },
  [`&.${_pickersDayClasses__WEBPACK_IMPORTED_MODULE_14__.pickersDayClasses.selected}`]: {
    color: theme.palette.primary.contrastText,
    backgroundColor: theme.palette.primary.main,
    fontWeight: theme.typography.fontWeightMedium,
    transition: theme.transitions.create('background-color', {
      duration: theme.transitions.duration.short
    }),
    '&:hover': {
      willChange: 'background-color',
      backgroundColor: theme.palette.primary.dark
    }
  },
  [`&.${_pickersDayClasses__WEBPACK_IMPORTED_MODULE_14__.pickersDayClasses.disabled}`]: {
    color: theme.palette.text.disabled
  }
}, !ownerState.disableMargin && {
  margin: `0 ${_internals_constants_dimensions__WEBPACK_IMPORTED_MODULE_13__.DAY_MARGIN}px`
}, ownerState.outsideCurrentMonth && ownerState.showDaysOutsideCurrentMonth && {
  color: theme.palette.text.secondary
}, !ownerState.disableHighlightToday && ownerState.today && {
  [`&:not(.${_pickersDayClasses__WEBPACK_IMPORTED_MODULE_14__.pickersDayClasses.selected})`]: {
    border: `1px solid ${theme.palette.text.secondary}`
  }
});

const overridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.root, !ownerState.disableMargin && styles.dayWithMargin, !ownerState.disableHighlightToday && ownerState.today && styles.today, !ownerState.outsideCurrentMonth && ownerState.showDaysOutsideCurrentMonth && styles.dayOutsideMonth, ownerState.outsideCurrentMonth && !ownerState.showDaysOutsideCurrentMonth && styles.hiddenDaySpacingFiller];
};

const PickersDayRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_10__["default"])(_mui_material_ButtonBase__WEBPACK_IMPORTED_MODULE_5__["default"], {
  name: 'MuiPickersDay',
  slot: 'Root',
  overridesResolver
})(styleArg);
const PickersDayFiller = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_10__["default"])('div', {
  name: 'MuiPickersDay',
  slot: 'Root',
  overridesResolver
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, styleArg({
  theme,
  ownerState
}), {
  // visibility: 'hidden' does not work here as it hides the element from screen readers as well
  opacity: 0,
  pointerEvents: 'none'
}));

const noop = () => {};

const PickersDayRaw = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function PickersDay(inProps, forwardedRef) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_9__["default"])({
    props: inProps,
    name: 'MuiPickersDay'
  });

  const {
    autoFocus = false,
    className,
    day,
    disabled = false,
    disableHighlightToday = false,
    disableMargin = false,
    isAnimating,
    onClick,
    onDaySelect,
    onFocus = noop,
    onBlur = noop,
    onKeyDown = noop,
    onMouseDown,
    outsideCurrentMonth,
    selected = false,
    showDaysOutsideCurrentMonth = false,
    children,
    today: isToday = false
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, props, {
    autoFocus,
    disabled,
    disableHighlightToday,
    disableMargin,
    selected,
    showDaysOutsideCurrentMonth,
    today: isToday
  });

  const classes = useUtilityClasses(ownerState);
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__.useUtils)();
  const ref = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_11__["default"])(ref, forwardedRef); // Since this is rendered when a Popper is opened we can't use passive effects.
  // Focusing in passive effects in Popper causes scroll jump.

  (0,_mui_utils__WEBPACK_IMPORTED_MODULE_6__["default"])(() => {
    if (autoFocus && !disabled && !isAnimating && !outsideCurrentMonth) {
      // ref.current being null would be a bug in MUI
      ref.current.focus();
    }
  }, [autoFocus, disabled, isAnimating, outsideCurrentMonth]); // For day outside of current month, move focus from mouseDown to mouseUp
  // Goal: have the onClick ends before sliding to the new month

  const handleMouseDown = event => {
    if (onMouseDown) {
      onMouseDown(event);
    }

    if (outsideCurrentMonth) {
      event.preventDefault();
    }
  };

  const handleClick = event => {
    if (!disabled) {
      onDaySelect(day, 'finish');
    }

    if (outsideCurrentMonth) {
      event.currentTarget.focus();
    }

    if (onClick) {
      onClick(event);
    }
  };

  if (outsideCurrentMonth && !showDaysOutsideCurrentMonth) {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersDayFiller, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, classes.hiddenDaySpacingFiller, className),
      ownerState: ownerState,
      role: other.role
    });
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(PickersDayRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: handleRef,
    centerRipple: true,
    disabled: disabled,
    tabIndex: selected ? 0 : -1,
    onKeyDown: event => onKeyDown(event, day),
    onFocus: event => onFocus(event, day),
    onBlur: event => onBlur(event, day),
    onClick: handleClick,
    onMouseDown: handleMouseDown
  }, other, {
    children: !children ? utils.format(day, 'dayOfMonth') : children
  }));
});
const areDayPropsEqual = (prevProps, nextProps) => {
  return prevProps.autoFocus === nextProps.autoFocus && prevProps.isAnimating === nextProps.isAnimating && prevProps.today === nextProps.today && prevProps.disabled === nextProps.disabled && prevProps.selected === nextProps.selected && prevProps.disableMargin === nextProps.disableMargin && prevProps.showDaysOutsideCurrentMonth === nextProps.showDaysOutsideCurrentMonth && prevProps.disableHighlightToday === nextProps.disableHighlightToday && prevProps.className === nextProps.className && prevProps.sx === nextProps.sx && prevProps.outsideCurrentMonth === nextProps.outsideCurrentMonth && prevProps.onFocus === nextProps.onFocus && prevProps.onBlur === nextProps.onBlur && prevProps.onDaySelect === nextProps.onDaySelect;
};
 true ? PickersDayRaw.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Override or extend the styles applied to the component.
   */
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),

  /**
   * The date to show.
   */
  day: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().any).isRequired,

  /**
   * If `true`, renders as disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, today's date is rendering without highlighting with circle.
   * @default false
   */
  disableHighlightToday: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, days are rendering without margin. Useful for displaying linked range of days.
   * @default false
   */
  disableMargin: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  isAnimating: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  onBlur: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onDaySelect: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  onFocus: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onKeyDown: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * If `true`, day is outside of month and will be hidden.
   */
  outsideCurrentMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool).isRequired,

  /**
   * If `true`, renders as selected.
   * @default false
   */
  selected: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * If `true`, days that have `outsideCurrentMonth={true}` are displayed.
   * @default false
   */
  showDaysOutsideCurrentMonth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),

  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)])), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object)]),

  /**
   * If `true`, renders as today date.
   * @default false
   */
  today: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
} : 0;
/**
 *
 * Demos:
 *
 * - [Date Picker](https://mui.com/x/react-date-pickers/date-picker/)
 *
 * API:
 *
 * - [PickersDay API](https://mui.com/x/api/date-pickers/pickers-day/)
 */

const PickersDay = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.memo(PickersDayRaw, areDayPropsEqual);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersDay/pickersDayClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersDay/pickersDayClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersDayUtilityClass: () => (/* binding */ getPickersDayUtilityClass),
/* harmony export */   pickersDayClasses: () => (/* binding */ pickersDayClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getPickersDayUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPickersDay', slot);
}
const pickersDayClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPickersDay', ['root', 'dayWithMargin', 'dayOutsideMonth', 'hiddenDaySpacingFiller', 'today', 'selected', 'disabled']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/TimePicker.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/TimePicker.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TimePicker: () => (/* binding */ TimePicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_useMediaQuery__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/useMediaQuery */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useMediaQuery/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _DesktopTimePicker__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DesktopTimePicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DesktopTimePicker/DesktopTimePicker.js");
/* harmony import */ var _MobileTimePicker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../MobileTimePicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/MobileTimePicker/MobileTimePicker.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["desktopModeMediaQuery", "DialogProps", "PopperProps", "TransitionComponent"];








/**
 *
 * Demos:
 *
 * - [Pickers](https://mui.com/x/react-date-pickers/)
 * - [Time Picker](https://mui.com/x/react-date-pickers/time-picker/)
 *
 * API:
 *
 * - [TimePicker API](https://mui.com/x/api/date-pickers/time-picker/)
 */
const TimePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function TimePicker(inProps, ref) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])({
    props: inProps,
    name: 'MuiTimePicker'
  });

  const {
    desktopModeMediaQuery = '@media (pointer: fine)',
    DialogProps,
    PopperProps,
    TransitionComponent
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded); // defaults to `true` in environments where `window.matchMedia` would not be available (i.e. test/jsdom)


  const isDesktop = (0,_mui_material_useMediaQuery__WEBPACK_IMPORTED_MODULE_4__["default"])(desktopModeMediaQuery, {
    defaultMatches: true
  });

  if (isDesktop) {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_DesktopTimePicker__WEBPACK_IMPORTED_MODULE_6__.DesktopTimePicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      ref: ref,
      PopperProps: PopperProps,
      TransitionComponent: TransitionComponent
    }, other));
  }

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_MobileTimePicker__WEBPACK_IMPORTED_MODULE_7__.MobileTimePicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    DialogProps: DialogProps
  }, other));
});
 true ? TimePicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------

  /**
   * Regular expression to detect "accepted" symbols.
   * @default /\dap/gi
   */
  acceptRegex: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(RegExp),

  /**
   * 12h/24h view for hour selection clock.
   * @default `utils.is12HourCycleInCurrentLocale()`
   */
  ampm: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Display ampm controls under the clock (instead of in the toolbar).
   * @default false
   */
  ampmInClock: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),

  /**
   * className applied to the root component.
   */
  className: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * If `true` the popup or dialog will immediately close after submitting full date.
   * @default `true` for Desktop, `false` for Mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
   */
  closeOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Overrideable components.
   * @default {}
   */
  components: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * The props used for each component slot.
   * @default {}
   */
  componentsProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * CSS media query when `Mobile` mode will be changed to `Desktop`.
   * @default '@media (pointer: fine)'
   * @example '@media (min-width: 720px)' or theme.breakpoints.up("sm")
   */
  desktopModeMediaQuery: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * Props applied to the [`Dialog`](https://mui.com/material-ui/api/dialog/) element.
   */
  DialogProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * If `true`, the picker and text field are disabled.
   * @default false
   */
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Do not ignore date part when validating min/max time.
   * @default false
   */
  disableIgnoringDatePartForTimeValidation: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.
   * @default false
   */
  disableMaskedInput: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Do not render open picker button (renders only text field with validation).
   * @default false
   */
  disableOpenPicker: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Accessible text that helps user to understand which time and view is selected.
   * @template TDate
   * @param {ClockPickerView} view The current view rendered.
   * @param {TDate | null} time The current time.
   * @param {MuiPickersAdapter<TDate>} adapter The current date adapter.
   * @returns {string} The clock label.
   * @deprecated Use the `localeText` prop of `LocalizationProvider` instead, see https://mui.com/x/react-date-pickers/localization/.
   * @default <TDate extends any>(
   *   view: ClockView,
   *   time: TDate | null,
   *   adapter: MuiPickersAdapter<TDate>,
   * ) =>
   *   `Select ${view}. ${
   *     time === null ? 'No time selected' : `Selected time is ${adapter.format(time, 'fullTime')}`
   *   }`
   */
  getClockLabelText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType
   * @template TInputDate, TDate
   * @param {TInputDate} date The date from which we want to add an aria-text.
   * @param {MuiPickersAdapter<TDate>} utils The utils to manipulate the date.
   * @returns {string} The aria-text to render inside the dialog.
   * @default (date, utils) => `Choose date, selected date is ${utils.format(utils.date(date), 'fullDate')}`
   */
  getOpenDialogAriaText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  ignoreInvalidInputs: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Props to pass to keyboard input adornment.
   */
  InputAdornmentProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Format string.
   */
  inputFormat: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  InputProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Pass a ref to the `input` element.
   */
  inputRef: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().func), prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    current: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object)
  })]),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),

  /**
   * Custom mask. Can be used to override generate from format. (e.g. `__/__/____ __:__` or `__/__/____ __:__ _M`).
   */
  mask: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),

  /**
   * Max time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  maxTime: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().any),

  /**
   * Min time acceptable time.
   * For input validation date part of passed object will be ignored if `disableIgnoringDatePartForTimeValidation` not specified.
   */
  minTime: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().any),

  /**
   * Step over minutes.
   * @default 1
   */
  minutesStep: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),

  /**
   * Callback fired when date is accepted @DateIOType.
   * @template TValue
   * @param {TValue} value The value that was just accepted.
   */
  onAccept: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback fired when the value (the selected date) changes @DateIOType.
   * @template TValue
   * @param {TValue} value The new parsed value.
   * @param {string} keyboardInputValue The current value of the keyboard input.
   */
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,

  /**
   * Callback fired when the popup requests to be closed.
   * Use in controlled mode (see open).
   */
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback that fired when input value or new `value` prop validation returns **new** validation error (or value is valid after error).
   * In case of validation error detected `reason` prop return non-null value and `TextField` must be displayed in `error` state.
   * This can be used to render appropriate form error.
   *
   * [Read the guide](https://next.material-ui-pickers.dev/guides/forms) about form integration and error displaying.
   * @DateIOType
   *
   * @template TError, TInputValue
   * @param {TError} reason The reason why the current value is not valid.
   * @param {TInputValue} value The invalid value.
   */
  onError: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback fired when the popup requests to be opened.
   * Use in controlled mode (see open).
   */
  onOpen: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Callback fired on view change.
   * @param {ClockPickerView} view The new view.
   */
  onViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Control the popup or dialog open state.
   */
  open: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Props to pass to keyboard adornment button.
   */
  OpenPickerButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * First view to show.
   * Must be a valid option from `views` list
   * @default 'hours'
   */
  openTo: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(['hours', 'minutes', 'seconds']),

  /**
   * Force rendering in particular orientation.
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(['landscape', 'portrait']),

  /**
   * Paper props passed down to [Paper](https://mui.com/material-ui/api/paper/) component.
   */
  PaperProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Popper props passed down to [Popper](https://mui.com/material-ui/api/popper/) component.
   */
  PopperProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object),

  /**
   * Make picker read only.
   * @default false
   */
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * The `renderInput` prop allows you to customize the rendered input.
   * The `props` argument of this render prop contains props of [TextField](https://mui.com/material-ui/api/text-field/#props) that you need to forward.
   * Pay specific attention to the `ref` and `inputProps` keys.
   * @example ```jsx
   * renderInput={props => <TextField {...props} />}
   * ````
   * @param {MuiTextFieldPropsType} props The props of the input.
   * @returns {React.ReactNode} The node to render as the input.
   */
  renderInput: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,

  /**
   * Custom formatter to be passed into Rifm component.
   * @param {string} str The un-formatted string.
   * @returns {string} The formatted string.
   */
  rifmFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * Dynamically check if time is disabled or not.
   * If returns `false` appropriate time point will ot be acceptable.
   * @param {number} timeValue The value to check.
   * @param {ClockPickerView} clockType The clock type of the timeValue.
   * @returns {boolean} Returns `true` if the time should be disabled
   */
  shouldDisableTime: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),

  /**
   * If `true`, show the toolbar even in desktop mode.
   */
  showToolbar: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),

  /**
   * Component that will replace default toolbar renderer.
   * @default TimePickerToolbar
   */
  ToolbarComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().elementType),

  /**
   * Mobile picker title, displaying in the toolbar.
   * @default 'Select time'
   */
  toolbarTitle: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),

  /**
   * Custom component for popper [Transition](https://mui.com/material-ui/transitions/#transitioncomponent-prop).
   */
  TransitionComponent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().elementType),

  /**
   * The value of the picker.
   */
  value: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().any),

  /**
   * Array of views to show.
   * @default ['hours', 'minutes']
   */
  views: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf(['hours', 'minutes', 'seconds']).isRequired)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TimePickerToolbar: () => (/* binding */ TimePickerToolbar)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _internals_components_PickersToolbarText__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internals/components/PickersToolbarText */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbarText.js");
/* harmony import */ var _internals_components_PickersToolbarButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internals/components/PickersToolbarButton */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbarButton.js");
/* harmony import */ var _internals_components_PickersToolbar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/components/PickersToolbar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbar.js");
/* harmony import */ var _internals_components_pickersToolbarClasses__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internals/components/pickersToolbarClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarClasses.js");
/* harmony import */ var _internals_utils_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../internals/utils/utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_hooks_date_helpers_hooks__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internals/hooks/date-helpers-hooks */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/date-helpers-hooks.js");
/* harmony import */ var _timePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./timePickerToolbarClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/timePickerToolbarClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["ampm", "ampmInClock", "parsedValue", "isLandscape", "isMobileKeyboardViewOpen", "onChange", "openView", "setOpenView", "toggleMobileKeyboardView", "toolbarTitle", "views", "disabled", "readOnly"];














const useUtilityClasses = ownerState => {
  const {
    theme,
    isLandscape,
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    separator: ['separator'],
    hourMinuteLabel: ['hourMinuteLabel', isLandscape && 'hourMinuteLabelLandscape', theme.direction === 'rtl' && 'hourMinuteLabelReverse'],
    ampmSelection: ['ampmSelection', isLandscape && 'ampmLandscape'],
    ampmLabel: ['ampmLabel']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _timePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_14__.getTimePickerToolbarUtilityClass, classes);
};

const TimePickerToolbarRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_internals_components_PickersToolbar__WEBPACK_IMPORTED_MODULE_9__.PickersToolbar, {
  name: 'MuiTimePickerToolbar',
  slot: 'Root',
  overridesResolver: (props, styles) => styles.root
})({
  [`& .${_internals_components_pickersToolbarClasses__WEBPACK_IMPORTED_MODULE_10__.pickersToolbarClasses.penIconButtonLandscape}`]: {
    marginTop: 'auto'
  }
});
const TimePickerToolbarSeparator = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_internals_components_PickersToolbarText__WEBPACK_IMPORTED_MODULE_7__.PickersToolbarText, {
  name: 'MuiTimePickerToolbar',
  slot: 'Separator',
  overridesResolver: (props, styles) => styles.separator
})({
  outline: 0,
  margin: '0 4px 0 2px',
  cursor: 'default'
});
const TimePickerToolbarHourMinuteLabel = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiTimePickerToolbar',
  slot: 'HourMinuteLabel',
  overridesResolver: (props, styles) => [{
    [`&.${_timePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_14__.timePickerToolbarClasses.hourMinuteLabelLandscape}`]: styles.hourMinuteLabelLandscape,
    [`&.${_timePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_14__.timePickerToolbarClasses.hourMinuteLabelReverse}`]: styles.hourMinuteLabelReverse
  }, styles.hourMinuteLabel]
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  display: 'flex',
  justifyContent: 'flex-end',
  alignItems: 'flex-end'
}, ownerState.isLandscape && {
  marginTop: 'auto'
}, theme.direction === 'rtl' && {
  flexDirection: 'row-reverse'
}));
const TimePickerToolbarAmPmSelection = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiTimePickerToolbar',
  slot: 'AmPmSelection',
  overridesResolver: (props, styles) => [{
    [`.${_timePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_14__.timePickerToolbarClasses.ampmLabel}`]: styles.ampmLabel
  }, {
    [`&.${_timePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_14__.timePickerToolbarClasses.ampmLandscape}`]: styles.ampmLandscape
  }, styles.ampmSelection]
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  display: 'flex',
  flexDirection: 'column',
  marginRight: 'auto',
  marginLeft: 12
}, ownerState.isLandscape && {
  margin: '4px 0 auto',
  flexDirection: 'row',
  justifyContent: 'space-around',
  flexBasis: '100%'
}, {
  [`& .${_timePickerToolbarClasses__WEBPACK_IMPORTED_MODULE_14__.timePickerToolbarClasses.ampmLabel}`]: {
    fontSize: 17
  }
}));
/**
 * @ignore - internal component.
 */

function TimePickerToolbar(inProps) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props: inProps,
    name: 'MuiTimePickerToolbar'
  });

  const {
    ampm,
    ampmInClock,
    parsedValue,
    isLandscape,
    isMobileKeyboardViewOpen,
    onChange,
    openView,
    setOpenView,
    toggleMobileKeyboardView,
    toolbarTitle: toolbarTitleProp,
    views,
    disabled,
    readOnly
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__.useUtils)();
  const localeText = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_12__.useLocaleText)();
  const toolbarTitle = toolbarTitleProp != null ? toolbarTitleProp : localeText.timePickerDefaultToolbarTitle;
  const theme = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const showAmPmControl = Boolean(ampm && !ampmInClock);
  const {
    meridiemMode,
    handleMeridiemChange
  } = (0,_internals_hooks_date_helpers_hooks__WEBPACK_IMPORTED_MODULE_13__.useMeridiemMode)(parsedValue, ampm, onChange);

  const formatHours = time => ampm ? utils.format(time, 'hours12h') : utils.format(time, 'hours24h');

  const ownerState = props;
  const classes = useUtilityClasses((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, ownerState, {
    theme
  }));

  const separator = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(TimePickerToolbarSeparator, {
    tabIndex: -1,
    value: ":",
    variant: "h3",
    selected: false,
    className: classes.separator
  });

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(TimePickerToolbarRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    viewType: "clock",
    landscapeDirection: "row",
    toolbarTitle: toolbarTitle,
    isLandscape: isLandscape,
    isMobileKeyboardViewOpen: isMobileKeyboardViewOpen,
    toggleMobileKeyboardView: toggleMobileKeyboardView,
    ownerState: ownerState,
    className: classes.root
  }, other, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(TimePickerToolbarHourMinuteLabel, {
      className: classes.hourMinuteLabel,
      ownerState: ownerState,
      children: [(0,_internals_utils_utils__WEBPACK_IMPORTED_MODULE_11__.arrayIncludes)(views, 'hours') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_internals_components_PickersToolbarButton__WEBPACK_IMPORTED_MODULE_8__.PickersToolbarButton, {
        tabIndex: -1,
        variant: "h3",
        onClick: () => setOpenView('hours'),
        selected: openView === 'hours',
        value: parsedValue ? formatHours(parsedValue) : '--'
      }), (0,_internals_utils_utils__WEBPACK_IMPORTED_MODULE_11__.arrayIncludes)(views, ['hours', 'minutes']) && separator, (0,_internals_utils_utils__WEBPACK_IMPORTED_MODULE_11__.arrayIncludes)(views, 'minutes') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_internals_components_PickersToolbarButton__WEBPACK_IMPORTED_MODULE_8__.PickersToolbarButton, {
        tabIndex: -1,
        variant: "h3",
        onClick: () => setOpenView('minutes'),
        selected: openView === 'minutes',
        value: parsedValue ? utils.format(parsedValue, 'minutes') : '--'
      }), (0,_internals_utils_utils__WEBPACK_IMPORTED_MODULE_11__.arrayIncludes)(views, ['minutes', 'seconds']) && separator, (0,_internals_utils_utils__WEBPACK_IMPORTED_MODULE_11__.arrayIncludes)(views, 'seconds') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_internals_components_PickersToolbarButton__WEBPACK_IMPORTED_MODULE_8__.PickersToolbarButton, {
        variant: "h3",
        onClick: () => setOpenView('seconds'),
        selected: openView === 'seconds',
        value: parsedValue ? utils.format(parsedValue, 'seconds') : '--'
      })]
    }), showAmPmControl && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(TimePickerToolbarAmPmSelection, {
      className: classes.ampmSelection,
      ownerState: ownerState,
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_internals_components_PickersToolbarButton__WEBPACK_IMPORTED_MODULE_8__.PickersToolbarButton, {
        disableRipple: true,
        variant: "subtitle2",
        selected: meridiemMode === 'am',
        typographyClassName: classes.ampmLabel,
        value: utils.getMeridiemText('am'),
        onClick: readOnly ? undefined : () => handleMeridiemChange('am'),
        disabled: disabled
      }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_internals_components_PickersToolbarButton__WEBPACK_IMPORTED_MODULE_8__.PickersToolbarButton, {
        disableRipple: true,
        variant: "subtitle2",
        selected: meridiemMode === 'pm',
        typographyClassName: classes.ampmLabel,
        value: utils.getMeridiemText('pm'),
        onClick: readOnly ? undefined : () => handleMeridiemChange('pm'),
        disabled: disabled
      })]
    })]
  }));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/shared.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/shared.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   timePickerValueManager: () => (/* binding */ timePickerValueManager),
/* harmony export */   useTimePickerDefaultizedProps: () => (/* binding */ useTimePickerDefaultizedProps)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _internals_components_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internals/components/icons */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/icons/index.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../internals/utils/date-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js");





function useTimePickerDefaultizedProps(props, name) {
  var _themeProps$ampm;

  // This is technically unsound if the type parameters appear in optional props.
  // Optional props can be filled by `useThemeProps` with types that don't match the type parameters.
  const themeProps = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__["default"])({
    props,
    name
  });
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_3__.useUtils)();
  const ampm = (_themeProps$ampm = themeProps.ampm) != null ? _themeProps$ampm : utils.is12HourCycleInCurrentLocale();
  const localeText = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_3__.useLocaleText)();
  const getOpenDialogAriaText = localeText.openTimePickerDialogue;
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ampm,
    openTo: 'hours',
    views: ['hours', 'minutes'],
    acceptRegex: ampm ? /[\dapAP]/gi : /\d/gi,
    disableMaskedInput: false,
    getOpenDialogAriaText,
    inputFormat: ampm ? utils.formats.fullTime12h : utils.formats.fullTime24h
  }, themeProps, {
    components: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      OpenPickerIcon: _internals_components_icons__WEBPACK_IMPORTED_MODULE_2__.Clock
    }, themeProps.components)
  });
}
const timePickerValueManager = {
  emptyValue: null,
  parseInput: _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_4__.parsePickerInputValue,
  getTodayValue: utils => utils.date(),
  areValuesEqual: (utils, a, b) => utils.isEqual(a, b),
  valueReducer: (utils, lastValidValue, newValue) => {
    if (!lastValidValue || !utils.isValid(newValue)) {
      return newValue;
    }

    return utils.mergeDateAndTime(lastValidValue, newValue);
  }
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/timePickerToolbarClasses.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/timePickerToolbarClasses.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getTimePickerToolbarUtilityClass: () => (/* binding */ getTimePickerToolbarUtilityClass),
/* harmony export */   timePickerToolbarClasses: () => (/* binding */ timePickerToolbarClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getTimePickerToolbarUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTimePickerToolbar', slot);
}
const timePickerToolbarClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTimePickerToolbar', ['root', 'separator', 'hourMinuteLabel', 'hourMinuteLabelLandscape', 'hourMinuteLabelReverse', 'ampmSelection', 'ampmLandscape', 'ampmLabel']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/PickersYear.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/PickersYear.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersYear: () => (/* binding */ PickersYear)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internals/components/wrappers/WrapperVariantContext */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js");
/* harmony import */ var _pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./pickersYearClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/pickersYearClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["autoFocus", "className", "children", "disabled", "onClick", "onKeyDown", "value", "tabIndex", "onFocus", "onBlur"];









const useUtilityClasses = ownerState => {
  const {
    wrapperVariant,
    disabled,
    selected,
    classes
  } = ownerState;
  const slots = {
    root: ['root', wrapperVariant && `mode${(0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_4__["default"])(wrapperVariant)}`],
    yearButton: ['yearButton', disabled && 'disabled', selected && 'selected']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"])(slots, _pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__.getPickersYearUtilityClass, classes);
};

const PickersYearRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'PrivatePickersYear',
  slot: 'Root',
  overridesResolver: (_, styles) => [styles.root, {
    [`&.${_pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__.pickersYearClasses.modeDesktop}`]: styles.modeDesktop
  }, {
    [`&.${_pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__.pickersYearClasses.modeMobile}`]: styles.modeMobile
  }]
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  flexBasis: '33.3%',
  display: 'flex',
  alignItems: 'center',
  justifyContent: 'center'
}, (ownerState == null ? void 0 : ownerState.wrapperVariant) === 'desktop' && {
  flexBasis: '25%'
}));
const PickersYearButton = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('button', {
  name: 'PrivatePickersYear',
  slot: 'Button',
  overridesResolver: (_, styles) => [styles.button, {
    [`&.${_pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__.pickersYearClasses.disabled}`]: styles.disabled
  }, {
    [`&.${_pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__.pickersYearClasses.selected}`]: styles.selected
  }]
})(({
  theme
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  color: 'unset',
  backgroundColor: 'transparent',
  border: 0,
  outline: 0
}, theme.typography.subtitle1, {
  margin: '8px 0',
  height: 36,
  width: 72,
  borderRadius: 18,
  cursor: 'pointer',
  '&:focus, &:hover': {
    backgroundColor: (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__.alpha)(theme.palette.action.active, theme.palette.action.hoverOpacity)
  },
  [`&.${_pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__.pickersYearClasses.disabled}`]: {
    color: theme.palette.text.secondary
  },
  [`&.${_pickersYearClasses__WEBPACK_IMPORTED_MODULE_10__.pickersYearClasses.selected}`]: {
    color: theme.palette.primary.contrastText,
    backgroundColor: theme.palette.primary.main,
    '&:focus, &:hover': {
      backgroundColor: theme.palette.primary.dark
    }
  }
}));

const noop = () => {};
/**
 * @ignore - internal component.
 */


const PickersYear = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function PickersYear(props, forwardedRef) {
  // TODO v6: add 'useThemeProps' once the component class names are aligned
  const {
    autoFocus,
    className,
    children,
    disabled,
    onClick,
    onKeyDown,
    value,
    tabIndex,
    onFocus = noop,
    onBlur = noop
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const ref = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const refHandle = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_5__["default"])(ref, forwardedRef);
  const wrapperVariant = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_9__.WrapperVariantContext);

  const ownerState = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, props, {
    wrapperVariant
  });

  const classes = useUtilityClasses(ownerState); // We can't forward the `autoFocus` to the button because it is a native button, not a MUI Button

  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (autoFocus) {
      // `ref.current` being `null` would be a bug in MUI.
      ref.current.focus();
    }
  }, [autoFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(PickersYearRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ownerState: ownerState,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(PickersYearButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
      ref: refHandle,
      disabled: disabled,
      type: "button",
      tabIndex: disabled ? -1 : tabIndex,
      onClick: event => onClick(event, value),
      onKeyDown: event => onKeyDown(event, value),
      onFocus: event => onFocus(event, value),
      onBlur: event => onBlur(event, value),
      className: classes.yearButton,
      ownerState: ownerState
    }, other, {
      children: children
    }))
  });
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/YearPicker.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/YearPicker.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   YearPicker: () => (/* binding */ YearPicker)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js");
/* harmony import */ var _PickersYear__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./PickersYear */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/PickersYear.js");
/* harmony import */ var _internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../internals/hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internals/components/wrappers/WrapperVariantContext */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js");
/* harmony import */ var _yearPickerClasses__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./yearPickerClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/yearPickerClasses.js");
/* harmony import */ var _internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../internals/utils/date-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _yearPickerClasses__WEBPACK_IMPORTED_MODULE_13__.getYearPickerUtilityClass, classes);
};

function useYearPickerDefaultizedProps(props, name) {
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_11__.useUtils)();
  const defaultDates = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_11__.useDefaultDates)();
  const themeProps = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props,
    name
  });
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    disablePast: false,
    disableFuture: false
  }, themeProps, {
    minDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_14__.parseNonNullablePickerDate)(utils, themeProps.minDate, defaultDates.minDate),
    maxDate: (0,_internals_utils_date_utils__WEBPACK_IMPORTED_MODULE_14__.parseNonNullablePickerDate)(utils, themeProps.maxDate, defaultDates.maxDate)
  });
}

const YearPickerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiYearPicker',
  slot: 'Root',
  overridesResolver: (props, styles) => styles.root
})({
  display: 'flex',
  flexDirection: 'row',
  flexWrap: 'wrap',
  overflowY: 'auto',
  height: '100%',
  padding: '0 4px',
  maxHeight: '304px'
});
const YearPicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function YearPicker(inProps, ref) {
  const now = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_11__.useNow)();
  const theme = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const utils = (0,_internals_hooks_useUtils__WEBPACK_IMPORTED_MODULE_11__.useUtils)();
  const props = useYearPickerDefaultizedProps(inProps, 'MuiYearPicker');
  const {
    autoFocus,
    className,
    date,
    disabled,
    disableFuture,
    disablePast,
    maxDate,
    minDate,
    onChange,
    readOnly,
    shouldDisableYear,
    disableHighlightToday,
    onYearFocus,
    hasFocus,
    onFocusedViewChange
  } = props;
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  const selectedDateOrStartOfYear = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => date != null ? date : utils.startOfYear(now), [now, utils, date]);
  const currentYear = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    if (date != null) {
      return utils.getYear(date);
    }

    if (disableHighlightToday) {
      return null;
    }

    return utils.getYear(now);
  }, [now, date, utils, disableHighlightToday]);
  const wrapperVariant = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_internals_components_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_12__.WrapperVariantContext);
  const selectedYearRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const [focusedYear, setFocusedYear] = react__WEBPACK_IMPORTED_MODULE_1__.useState(() => currentYear || utils.getYear(now));
  const [internalHasFocus, setInternalHasFocus] = (0,_mui_utils__WEBPACK_IMPORTED_MODULE_9__["default"])({
    name: 'YearPicker',
    state: 'hasFocus',
    controlled: hasFocus,
    default: autoFocus
  });
  const changeHasFocus = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(newHasFocus => {
    setInternalHasFocus(newHasFocus);

    if (onFocusedViewChange) {
      onFocusedViewChange(newHasFocus);
    }
  }, [setInternalHasFocus, onFocusedViewChange]);
  const isYearDisabled = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(dateToValidate => {
    if (disablePast && utils.isBeforeYear(dateToValidate, now)) {
      return true;
    }

    if (disableFuture && utils.isAfterYear(dateToValidate, now)) {
      return true;
    }

    if (minDate && utils.isBeforeYear(dateToValidate, minDate)) {
      return true;
    }

    if (maxDate && utils.isAfterYear(dateToValidate, maxDate)) {
      return true;
    }

    if (shouldDisableYear && shouldDisableYear(dateToValidate)) {
      return true;
    }

    return false;
  }, [disableFuture, disablePast, maxDate, minDate, now, shouldDisableYear, utils]);

  const handleYearSelection = (event, year, isFinish = 'finish') => {
    if (readOnly) {
      return;
    }

    const newDate = utils.setYear(selectedDateOrStartOfYear, year);
    onChange(newDate, isFinish);
  };

  const focusYear = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(year => {
    if (!isYearDisabled(utils.setYear(selectedDateOrStartOfYear, year))) {
      setFocusedYear(year);
      changeHasFocus(true);
      onYearFocus == null ? void 0 : onYearFocus(year);
    }
  }, [isYearDisabled, utils, selectedDateOrStartOfYear, changeHasFocus, onYearFocus]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    setFocusedYear(prevFocusedYear => currentYear !== null && prevFocusedYear !== currentYear ? currentYear : prevFocusedYear);
  }, [currentYear]);
  const yearsInRow = wrapperVariant === 'desktop' ? 4 : 3;
  const handleKeyDown = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((event, year) => {
    switch (event.key) {
      case 'ArrowUp':
        focusYear(year - yearsInRow);
        event.preventDefault();
        break;

      case 'ArrowDown':
        focusYear(year + yearsInRow);
        event.preventDefault();
        break;

      case 'ArrowLeft':
        focusYear(year + (theme.direction === 'ltr' ? -1 : 1));
        event.preventDefault();
        break;

      case 'ArrowRight':
        focusYear(year + (theme.direction === 'ltr' ? 1 : -1));
        event.preventDefault();
        break;

      default:
        break;
    }
  }, [focusYear, theme.direction, yearsInRow]);
  const handleFocus = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((event, year) => {
    focusYear(year);
  }, [focusYear]);
  const handleBlur = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((event, year) => {
    if (focusedYear === year) {
      changeHasFocus(false);
    }
  }, [focusedYear, changeHasFocus]);
  const nowYear = utils.getYear(now);
  const scrollerRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_8__["default"])(ref, scrollerRef);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (autoFocus || scrollerRef.current === null) {
      return;
    }

    const tabbableButton = scrollerRef.current.querySelector('[tabindex="0"]');

    if (!tabbableButton) {
      return;
    } // Taken from useScroll in x-data-grid, but vertically centered


    const offsetHeight = tabbableButton.offsetHeight;
    const offsetTop = tabbableButton.offsetTop;
    const clientHeight = scrollerRef.current.clientHeight;
    const scrollTop = scrollerRef.current.scrollTop;
    const elementBottom = offsetTop + offsetHeight;

    if (offsetHeight > clientHeight || offsetTop < scrollTop) {
      // Button already visible
      return;
    }

    scrollerRef.current.scrollTop = elementBottom - clientHeight / 2 - offsetHeight / 2;
  }, [autoFocus]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(YearPickerRoot, {
    ref: handleRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_7__["default"])(classes.root, className),
    ownerState: ownerState,
    children: utils.getYearRange(minDate, maxDate).map(year => {
      const yearNumber = utils.getYear(year);
      const selected = yearNumber === currentYear;
      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_PickersYear__WEBPACK_IMPORTED_MODULE_10__.PickersYear, {
        selected: selected,
        value: yearNumber,
        onClick: handleYearSelection,
        onKeyDown: handleKeyDown,
        autoFocus: internalHasFocus && yearNumber === focusedYear,
        ref: selected ? selectedYearRef : undefined,
        disabled: disabled || isYearDisabled(year),
        tabIndex: yearNumber === focusedYear ? 0 : -1,
        onFocus: handleFocus,
        onBlur: handleBlur,
        "aria-current": nowYear === yearNumber ? 'date' : undefined,
        children: utils.format(year, 'year')
      }, utils.format(year, 'year'));
    })
  });
});
 true ? YearPicker.propTypes = {
  // ----------------------------- Warning --------------------------------
  // | These PropTypes are generated from the TypeScript type definitions |
  // | To update them edit the TypeScript types and run "yarn proptypes"  |
  // ----------------------------------------------------------------------
  autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  date: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * If `true` future days are disabled.
   * @default false
   */
  disableFuture: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * If `true`, today's date is rendering without highlighting with circle.
   * @default false
   */
  disableHighlightToday: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * If `true` past days are disabled.
   * @default false
   */
  disablePast: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  hasFocus: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * Maximal selectable date. @DateIOType
   */
  maxDate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any),

  /**
   * Minimal selectable date. @DateIOType
   */
  minDate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  onFocusedDayChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  onFocusedViewChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  onYearFocus: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  readOnly: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * Disable specific years dynamically.
   * Works like `shouldDisableDate` but for year selection view @DateIOType.
   * @template TDate
   * @param {TDate} year The year to test.
   * @returns {boolean} Returns `true` if the year should be disabled.
   */
  shouldDisableYear: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/pickersYearClasses.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/pickersYearClasses.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersYearUtilityClass: () => (/* binding */ getPickersYearUtilityClass),
/* harmony export */   pickersYearClasses: () => (/* binding */ pickersYearClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getPickersYearUtilityClass(slot) {
  // TODO v6: Rename 'PrivatePickersYear' to 'MuiPickersYear' to follow convention
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('PrivatePickersYear', slot);
} // TODO v6: Rename 'PrivatePickersYear' to 'MuiPickersYear' to follow convention

const pickersYearClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('PrivatePickersYear', ['root', 'modeDesktop', 'modeMobile', 'yearButton', 'selected', 'disabled']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/yearPickerClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/YearPicker/yearPickerClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getYearPickerUtilityClass: () => (/* binding */ getYearPickerUtilityClass),
/* harmony export */   yearPickerClasses: () => (/* binding */ yearPickerClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getYearPickerUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiYearPicker', slot);
}
const yearPickerClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiYearPicker', ['root']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.js"
/*!**********************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/CalendarOrClockPicker.js ***!
  \**********************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CalendarOrClockPicker: () => (/* binding */ CalendarOrClockPicker),
/* harmony export */   MobileKeyboardInputView: () => (/* binding */ MobileKeyboardInputView)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _hooks_useViews__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/useViews */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useViews.js");
/* harmony import */ var _ClockPicker_ClockPicker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../ClockPicker/ClockPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/ClockPicker/ClockPicker.js");
/* harmony import */ var _CalendarPicker_CalendarPicker__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../CalendarPicker/CalendarPicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/CalendarPicker/CalendarPicker.js");
/* harmony import */ var _KeyboardDateInput__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../KeyboardDateInput */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/KeyboardDateInput.js");
/* harmony import */ var _hooks_useIsLandscape__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../hooks/useIsLandscape */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useIsLandscape.js");
/* harmony import */ var _wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../wrappers/WrapperVariantContext */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js");
/* harmony import */ var _PickerViewRoot__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../PickerViewRoot */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickerViewRoot/PickerViewRoot.js");
/* harmony import */ var _useFocusManagement__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./useFocusManagement */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/useFocusManagement.js");
/* harmony import */ var _calendarOrClockPickerClasses__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./calendarOrClockPickerClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/calendarOrClockPickerClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["autoFocus", "className", "parsedValue", "DateInputProps", "isMobileKeyboardViewOpen", "onDateChange", "onViewChange", "openTo", "orientation", "showToolbar", "toggleMobileKeyboardView", "ToolbarComponent", "toolbarFormat", "toolbarPlaceholder", "toolbarTitle", "views", "dateRangeIcon", "timeIcon", "hideTabs", "classes"];















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    mobileKeyboardInputView: ['mobileKeyboardInputView']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _calendarOrClockPickerClasses__WEBPACK_IMPORTED_MODULE_14__.getCalendarOrClockPickerUtilityClass, classes);
};

const MobileKeyboardInputView = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiCalendarOrClockPicker',
  slot: 'MobileKeyboardInputView',
  overridesResolver: (_, styles) => styles.mobileKeyboardInputView
})({
  padding: '16px 24px'
});
const PickerRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiCalendarOrClockPicker',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  display: 'flex',
  flexDirection: 'column'
}, ownerState.isLandscape && {
  flexDirection: 'row'
}));
const MobileKeyboardTextFieldProps = {
  fullWidth: true
};

const isDatePickerView = view => view === 'year' || view === 'month' || view === 'day';

const isTimePickerView = view => view === 'hours' || view === 'minutes' || view === 'seconds';

let warnedOnceNotValidOpenTo = false;
function CalendarOrClockPicker(inProps) {
  var _other$components, _other$componentsProp;

  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"])({
    props: inProps,
    name: 'MuiCalendarOrClockPicker'
  });

  const {
    autoFocus,
    parsedValue,
    DateInputProps,
    isMobileKeyboardViewOpen,
    onDateChange,
    onViewChange,
    openTo,
    orientation,
    showToolbar,
    toggleMobileKeyboardView,
    ToolbarComponent = () => null,
    toolbarFormat,
    toolbarPlaceholder,
    toolbarTitle,
    views,
    dateRangeIcon,
    timeIcon,
    hideTabs
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const TabsComponent = (_other$components = other.components) == null ? void 0 : _other$components.Tabs;
  const isLandscape = (0,_hooks_useIsLandscape__WEBPACK_IMPORTED_MODULE_10__.useIsLandscape)(views, orientation);
  const wrapperVariant = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_wrappers_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_11__.WrapperVariantContext);
  const classes = useUtilityClasses(props);
  const toShowToolbar = showToolbar != null ? showToolbar : wrapperVariant !== 'desktop';
  const showTabs = !hideTabs && typeof window !== 'undefined' && window.innerHeight > 667;
  const handleDateChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback((newDate, selectionState) => {
    onDateChange(newDate, wrapperVariant, selectionState);
  }, [onDateChange, wrapperVariant]);
  const handleViewChange = react__WEBPACK_IMPORTED_MODULE_2__.useCallback(newView => {
    if (isMobileKeyboardViewOpen) {
      toggleMobileKeyboardView();
    }

    if (onViewChange) {
      onViewChange(newView);
    }
  }, [isMobileKeyboardViewOpen, onViewChange, toggleMobileKeyboardView]);

  if (true) {
    if (!warnedOnceNotValidOpenTo && !views.includes(openTo)) {
      console.warn(`MUI: \`openTo="${openTo}"\` is not a valid prop.`, `It must be an element of \`views=["${views.join('", "')}"]\`.`);
      warnedOnceNotValidOpenTo = true;
    }
  }

  const {
    openView,
    setOpenView,
    handleChangeAndOpenNext
  } = (0,_hooks_useViews__WEBPACK_IMPORTED_MODULE_6__.useViews)({
    view: undefined,
    views,
    openTo,
    onChange: handleDateChange,
    onViewChange: handleViewChange
  });
  const {
    focusedView,
    setFocusedView
  } = (0,_useFocusManagement__WEBPACK_IMPORTED_MODULE_13__.useFocusManagement)({
    autoFocus,
    openView
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(PickerRoot, {
    ownerState: {
      isLandscape
    },
    className: classes.root,
    children: [toShowToolbar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(ToolbarComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, other, {
      views: views,
      isLandscape: isLandscape,
      parsedValue: parsedValue,
      onChange: handleDateChange,
      setOpenView: setOpenView,
      openView: openView,
      toolbarTitle: toolbarTitle,
      toolbarFormat: toolbarFormat,
      toolbarPlaceholder: toolbarPlaceholder,
      isMobileKeyboardViewOpen: isMobileKeyboardViewOpen,
      toggleMobileKeyboardView: toggleMobileKeyboardView
    })), showTabs && !!TabsComponent && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(TabsComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
      dateRangeIcon: dateRangeIcon,
      timeIcon: timeIcon,
      view: openView,
      onChange: setOpenView
    }, (_other$componentsProp = other.componentsProps) == null ? void 0 : _other$componentsProp.tabs)), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_PickerViewRoot__WEBPACK_IMPORTED_MODULE_12__.PickerViewRoot, {
      children: isMobileKeyboardViewOpen ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(MobileKeyboardInputView, {
        className: classes.mobileKeyboardInputView,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_KeyboardDateInput__WEBPACK_IMPORTED_MODULE_9__.KeyboardDateInput, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, DateInputProps, {
          ignoreInvalidInputs: true,
          disableOpenPicker: true,
          TextFieldProps: MobileKeyboardTextFieldProps
        }))
      }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
        children: [isDatePickerView(openView) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_CalendarPicker_CalendarPicker__WEBPACK_IMPORTED_MODULE_8__.CalendarPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
          autoFocus: autoFocus,
          date: parsedValue,
          onViewChange: setOpenView,
          onChange: handleChangeAndOpenNext,
          view: openView // Unclear why the predicate `isDatePickerView` does not imply the casted type
          ,
          views: views.filter(isDatePickerView),
          focusedView: focusedView,
          onFocusedViewChange: setFocusedView
        }, other)), isTimePickerView(openView) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_ClockPicker_ClockPicker__WEBPACK_IMPORTED_MODULE_7__.ClockPicker, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, other, {
          autoFocus: autoFocus,
          date: parsedValue,
          view: openView // Unclear why the predicate `isDatePickerView` does not imply the casted type
          ,
          views: views.filter(isTimePickerView),
          onChange: handleChangeAndOpenNext,
          onViewChange: setOpenView,
          showViewSwitcher: wrapperVariant === 'desktop'
        }))]
      })
    })]
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/calendarOrClockPickerClasses.js"
/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/calendarOrClockPickerClasses.js ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   calendarOrClockPickerClasses: () => (/* binding */ calendarOrClockPickerClasses),
/* harmony export */   getCalendarOrClockPickerUtilityClass: () => (/* binding */ getCalendarOrClockPickerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getCalendarOrClockPickerUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCalendarOrClockPicker', slot);
}
const calendarOrClockPickerClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCalendarOrClockPicker', ['root', 'mobileKeyboardInputView']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/useFocusManagement.js"
/*!*******************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/CalendarOrClockPicker/useFocusManagement.js ***!
  \*******************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useFocusManagement: () => (/* binding */ useFocusManagement)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const useFocusManagement = ({
  autoFocus,
  openView
}) => {
  const [focusedView, setFocusedView] = react__WEBPACK_IMPORTED_MODULE_0__.useState(autoFocus ? openView : null);
  const setFocusedViewCallback = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(view => newHasFocus => {
    if (newHasFocus) {
      setFocusedView(view);
    } else {
      setFocusedView(prevFocusedView => view === prevFocusedView ? null : prevFocusedView);
    }
  }, []);
  return {
    focusedView,
    setFocusedView: setFocusedViewCallback
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/KeyboardDateInput.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/KeyboardDateInput.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   KeyboardDateInput: () => (/* binding */ KeyboardDateInput)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_InputAdornment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/InputAdornment */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _hooks_useUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./icons */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/icons/index.js");
/* harmony import */ var _hooks_useMaskedInput__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/useMaskedInput */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useMaskedInput.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "components", "disableOpenPicker", "getOpenDialogAriaText", "InputAdornmentProps", "InputProps", "inputRef", "openPicker", "OpenPickerButtonProps", "renderInput"];







const KeyboardDateInput = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function KeyboardDateInput(props, ref) {
  const {
    className,
    components = {},
    disableOpenPicker,
    getOpenDialogAriaText: getOpenDialogAriaTextProp,
    InputAdornmentProps,
    InputProps,
    inputRef,
    openPicker,
    OpenPickerButtonProps,
    renderInput
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const localeText = (0,_hooks_useUtils__WEBPACK_IMPORTED_MODULE_5__.useLocaleText)();
  const getOpenDialogAriaText = getOpenDialogAriaTextProp != null ? getOpenDialogAriaTextProp : localeText.openDatePickerDialogue;
  const utils = (0,_hooks_useUtils__WEBPACK_IMPORTED_MODULE_5__.useUtils)();
  const textFieldProps = (0,_hooks_useMaskedInput__WEBPACK_IMPORTED_MODULE_7__.useMaskedInput)(other);
  const adornmentPosition = (InputAdornmentProps == null ? void 0 : InputAdornmentProps.position) || 'end';
  const OpenPickerIcon = components.OpenPickerIcon || _icons__WEBPACK_IMPORTED_MODULE_6__.Calendar;
  return renderInput((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref,
    inputRef,
    className
  }, textFieldProps, {
    InputProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, InputProps, {
      [`${adornmentPosition}Adornment`]: disableOpenPicker ? undefined : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_mui_material_InputAdornment__WEBPACK_IMPORTED_MODULE_4__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
        position: adornmentPosition
      }, InputAdornmentProps, {
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_3__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
          edge: adornmentPosition,
          disabled: other.disabled || other.readOnly,
          "aria-label": getOpenDialogAriaText(other.rawValue, utils)
        }, OpenPickerButtonProps, {
          onClick: openPicker,
          children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(OpenPickerIcon, {})
        }))
      }))
    })
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickerViewRoot/PickerViewRoot.js"
/*!********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickerViewRoot/PickerViewRoot.js ***!
  \********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickerViewRoot: () => (/* binding */ PickerViewRoot)
/* harmony export */ });
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_dimensions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/dimensions */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/constants/dimensions.js");


const PickerViewRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_0__["default"])('div')({
  overflowX: 'hidden',
  width: _constants_dimensions__WEBPACK_IMPORTED_MODULE_1__.DIALOG_WIDTH,
  maxHeight: _constants_dimensions__WEBPACK_IMPORTED_MODULE_1__.VIEW_HEIGHT,
  display: 'flex',
  flexDirection: 'column',
  margin: '0 auto'
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersArrowSwitcher.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersArrowSwitcher.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersArrowSwitcher: () => (/* binding */ PickersArrowSwitcher)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./icons */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/icons/index.js");
/* harmony import */ var _pickersArrowSwitcherClasses__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./pickersArrowSwitcherClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersArrowSwitcherClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["children", "className", "components", "componentsProps", "isLeftDisabled", "isLeftHidden", "isRightDisabled", "isRightHidden", "leftArrowButtonText", "onLeftClick", "onRightClick", "rightArrowButtonText"];











const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    spacer: ['spacer'],
    button: ['button']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"])(slots, _pickersArrowSwitcherClasses__WEBPACK_IMPORTED_MODULE_11__.getPickersArrowSwitcherUtilityClass, classes);
};

const PickersArrowSwitcherRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiPickersArrowSwitcher',
  slot: 'Root',
  overridesResolver: (props, styles) => styles.root
})({
  display: 'flex'
});
const PickersArrowSwitcherSpacer = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiPickersArrowSwitcher',
  slot: 'Spacer',
  overridesResolver: (props, styles) => styles.spacer
})(({
  theme
}) => ({
  width: theme.spacing(3)
}));
const PickersArrowSwitcherButton = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_9__["default"], {
  name: 'MuiPickersArrowSwitcher',
  slot: 'Button',
  overridesResolver: (props, styles) => styles.button
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, ownerState.hidden && {
  visibility: 'hidden'
}));
const PickersArrowSwitcher = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function PickersArrowSwitcher(inProps, ref) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])({
    props: inProps,
    name: 'MuiPickersArrowSwitcher'
  });

  const {
    children,
    className,
    components,
    componentsProps,
    isLeftDisabled,
    isLeftHidden,
    isRightDisabled,
    isRightHidden,
    leftArrowButtonText,
    onLeftClick,
    onRightClick,
    rightArrowButtonText
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(props, _excluded);

  const theme = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const isRtl = theme.direction === 'rtl';
  const leftArrowButtonProps = (componentsProps == null ? void 0 : componentsProps.leftArrowButton) || {};
  const LeftArrowIcon = (components == null ? void 0 : components.LeftArrowIcon) || _icons__WEBPACK_IMPORTED_MODULE_10__.ArrowLeft;
  const rightArrowButtonProps = (componentsProps == null ? void 0 : componentsProps.rightArrowButton) || {};
  const RightArrowIcon = (components == null ? void 0 : components.RightArrowIcon) || _icons__WEBPACK_IMPORTED_MODULE_10__.ArrowRight;
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(PickersArrowSwitcherRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ownerState: ownerState
  }, other, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(PickersArrowSwitcherButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
      as: components == null ? void 0 : components.LeftArrowButton,
      size: "small",
      "aria-label": leftArrowButtonText,
      title: leftArrowButtonText,
      disabled: isLeftDisabled,
      edge: "end",
      onClick: onLeftClick
    }, leftArrowButtonProps, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.button, leftArrowButtonProps.className),
      ownerState: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, ownerState, leftArrowButtonProps, {
        hidden: isLeftHidden
      }),
      children: isRtl ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(RightArrowIcon, {}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(LeftArrowIcon, {})
    })), children ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__["default"], {
      variant: "subtitle1",
      component: "span",
      children: children
    }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(PickersArrowSwitcherSpacer, {
      className: classes.spacer,
      ownerState: ownerState
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(PickersArrowSwitcherButton, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
      as: components == null ? void 0 : components.RightArrowButton,
      size: "small",
      "aria-label": rightArrowButtonText,
      title: rightArrowButtonText,
      edge: "start",
      disabled: isRightDisabled,
      onClick: onRightClick
    }, rightArrowButtonProps, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.button, rightArrowButtonProps.className),
      ownerState: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, ownerState, rightArrowButtonProps, {
        hidden: isRightHidden
      }),
      children: isRtl ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(LeftArrowIcon, {}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(RightArrowIcon, {})
    }))]
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersModalDialog.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersModalDialog.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersModalDialog: () => (/* binding */ PickersModalDialog)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/DialogContent */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material_Dialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Dialog */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material_Dialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Dialog */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/dialogClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _constants_dimensions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../constants/dimensions */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/constants/dimensions.js");
/* harmony import */ var _PickersActionBar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../PickersActionBar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");









const PickersModalDialogRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_3__["default"])({
  [`& .${_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_4__["default"].container}`]: {
    outline: 0
  },
  [`& .${_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_4__["default"].paper}`]: {
    outline: 0,
    minWidth: _constants_dimensions__WEBPACK_IMPORTED_MODULE_6__.DIALOG_WIDTH
  }
});
const PickersModalDialogContent = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_2__["default"])({
  '&:first-of-type': {
    padding: 0
  }
});
const PickersModalDialog = props => {
  var _components$ActionBar;

  const {
    children,
    DialogProps = {},
    onAccept,
    onClear,
    onDismiss,
    onCancel,
    onSetToday,
    open,
    components,
    componentsProps
  } = props;
  const ActionBar = (_components$ActionBar = components == null ? void 0 : components.ActionBar) != null ? _components$ActionBar : _PickersActionBar__WEBPACK_IMPORTED_MODULE_7__.PickersActionBar;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(PickersModalDialogRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    open: open,
    onClose: onDismiss
  }, DialogProps, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(PickersModalDialogContent, {
      children: children
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(ActionBar, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      onAccept: onAccept,
      onClear: onClear,
      onCancel: onCancel,
      onSetToday: onSetToday,
      actions: ['cancel', 'accept']
    }, componentsProps == null ? void 0 : componentsProps.actionBar))]
  }));
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersPopper.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersPopper.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersPopper: () => (/* binding */ PickersPopper)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_Grow__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Grow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grow/Grow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Popper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Popper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js");
/* harmony import */ var _mui_material_Unstable_TrapFocus__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/Unstable_TrapFocus */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _PickersActionBar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../PickersActionBar */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar.js");
/* harmony import */ var _pickersPopperClasses__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./pickersPopperClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersPopperClasses.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["onClick", "onTouchStart"];














const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    paper: ['paper']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"])(slots, _pickersPopperClasses__WEBPACK_IMPORTED_MODULE_14__.getPickersPopperUtilityClass, classes);
};

const PickersPopperRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(_mui_material_Popper__WEBPACK_IMPORTED_MODULE_5__["default"], {
  name: 'MuiPickersPopper',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})(({
  theme
}) => ({
  zIndex: theme.zIndex.modal
}));
const PickersPopperPaper = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(_mui_material_Paper__WEBPACK_IMPORTED_MODULE_4__["default"], {
  name: 'MuiPickersPopper',
  slot: 'Paper',
  overridesResolver: (_, styles) => styles.paper
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
  transformOrigin: 'top center',
  outline: 0
}, ownerState.placement === 'top' && {
  transformOrigin: 'bottom center'
}));

function clickedRootScrollbar(event, doc) {
  return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
}

/**
 * Based on @mui/material/ClickAwayListener without the customization.
 * We can probably strip away even more since children won't be portaled.
 * @param {boolean} active Only listen to clicks when the popper is opened.
 * @param {(event: MouseEvent | TouchEvent) => void} onClickAway The callback to call when clicking outside the popper.
 * @returns {Array} The ref and event handler to listen to the outside clicks.
 */
function useClickAwayListener(active, onClickAway) {
  const movedRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(false);
  const syntheticEventRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(false);
  const nodeRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const activatedRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(false);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (!active) {
      return undefined;
    } // Ensure that this hook is not "activated" synchronously.
    // https://github.com/facebook/react/issues/20074


    function armClickAwayListener() {
      activatedRef.current = true;
    }

    document.addEventListener('mousedown', armClickAwayListener, true);
    document.addEventListener('touchstart', armClickAwayListener, true);
    return () => {
      document.removeEventListener('mousedown', armClickAwayListener, true);
      document.removeEventListener('touchstart', armClickAwayListener, true);
      activatedRef.current = false;
    };
  }, [active]); // The handler doesn't take event.defaultPrevented into account:
  //
  // event.preventDefault() is meant to stop default behaviors like
  // clicking a checkbox to check it, hitting a button to submit a form,
  // and hitting left arrow to move the cursor in a text input etc.
  // Only special HTML elements have these default behaviors.

  const handleClickAway = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_8__["default"])(event => {
    if (!activatedRef.current) {
      return;
    } // Given developers can stop the propagation of the synthetic event,
    // we can only be confident with a positive value.


    const insideReactTree = syntheticEventRef.current;
    syntheticEventRef.current = false;
    const doc = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind
    // 2. The child might render null.
    // 3. Behave like a blur listener.

    if (!nodeRef.current || // is a TouchEvent?
    'clientX' in event && clickedRootScrollbar(event, doc)) {
      return;
    } // Do not act if user performed touchmove


    if (movedRef.current) {
      movedRef.current = false;
      return;
    }

    let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js

    if (event.composedPath) {
      insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;
    } else {
      insideDOM = !doc.documentElement.contains(event.target) || nodeRef.current.contains(event.target);
    }

    if (!insideDOM && !insideReactTree) {
      onClickAway(event);
    }
  }); // Keep track of mouse/touch events that bubbled up through the portal.

  const handleSynthetic = () => {
    syntheticEventRef.current = true;
  };

  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (active) {
      const doc = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(nodeRef.current);

      const handleTouchMove = () => {
        movedRef.current = true;
      };

      doc.addEventListener('touchstart', handleClickAway);
      doc.addEventListener('touchmove', handleTouchMove);
      return () => {
        doc.removeEventListener('touchstart', handleClickAway);
        doc.removeEventListener('touchmove', handleTouchMove);
      };
    }

    return undefined;
  }, [active, handleClickAway]);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    // TODO This behavior is not tested automatically
    // It's unclear whether this is due to different update semantics in test (batched in act() vs discrete on click).
    // Or if this is a timing related issues due to different Transition components
    // Once we get rid of all the manual scheduling (e.g. setTimeout(update, 0)) we can revisit this code+test.
    if (active) {
      const doc = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_7__["default"])(nodeRef.current);
      doc.addEventListener('click', handleClickAway);
      return () => {
        doc.removeEventListener('click', handleClickAway); // cleanup `handleClickAway`

        syntheticEventRef.current = false;
      };
    }

    return undefined;
  }, [active, handleClickAway]);
  return [nodeRef, handleSynthetic, handleSynthetic];
}

function PickersPopper(inProps) {
  var _components$ActionBar;

  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_10__["default"])({
    props: inProps,
    name: 'MuiPickersPopper'
  });
  const {
    anchorEl,
    children,
    containerRef = null,
    onBlur,
    onClose,
    onClear,
    onAccept,
    onCancel,
    onSetToday,
    open,
    PopperProps,
    role,
    TransitionComponent = _mui_material_Grow__WEBPACK_IMPORTED_MODULE_3__["default"],
    TrapFocusProps,
    PaperProps = {},
    components,
    componentsProps
  } = props;
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    function handleKeyDown(nativeEvent) {
      // IE11, Edge (prior to using Bink?) use 'Esc'
      if (open && (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc')) {
        onClose();
      }
    }

    document.addEventListener('keydown', handleKeyDown);
    return () => {
      document.removeEventListener('keydown', handleKeyDown);
    };
  }, [onClose, open]);
  const lastFocusedElementRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(() => {
    if (role === 'tooltip') {
      return;
    }

    if (open) {
      lastFocusedElementRef.current = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_15__.getActiveElement)(document);
    } else if (lastFocusedElementRef.current && lastFocusedElementRef.current instanceof HTMLElement) {
      // make sure the button is flushed with updated label, before returning focus to it
      // avoids issue, where screen reader could fail to announce selected date after selection
      setTimeout(() => {
        if (lastFocusedElementRef.current instanceof HTMLElement) {
          lastFocusedElementRef.current.focus();
        }
      });
    }
  }, [open, role]);
  const [clickAwayRef, onPaperClick, onPaperTouchStart] = useClickAwayListener(open, onBlur != null ? onBlur : onClose);
  const paperRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
  const handleRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_9__["default"])(paperRef, containerRef);
  const handlePaperRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_9__["default"])(handleRef, clickAwayRef);
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);

  const {
    onClick: onPaperClickProp,
    onTouchStart: onPaperTouchStartProp
  } = PaperProps,
        otherPaperProps = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(PaperProps, _excluded);

  const handleKeyDown = event => {
    if (event.key === 'Escape') {
      // stop the propagation to avoid closing parent modal
      event.stopPropagation();
      onClose();
    }
  };

  const ActionBar = (_components$ActionBar = components == null ? void 0 : components.ActionBar) != null ? _components$ActionBar : _PickersActionBar__WEBPACK_IMPORTED_MODULE_13__.PickersActionBar;
  const PaperContent = (components == null ? void 0 : components.PaperContent) || react__WEBPACK_IMPORTED_MODULE_2__.Fragment;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(PickersPopperRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
    transition: true,
    role: role,
    open: open,
    anchorEl: anchorEl,
    onKeyDown: handleKeyDown,
    className: classes.root
  }, PopperProps, {
    children: ({
      TransitionProps,
      placement
    }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(_mui_material_Unstable_TrapFocus__WEBPACK_IMPORTED_MODULE_6__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
      open: open,
      disableAutoFocus: true // pickers are managing focus position manually
      // without this prop the focus is returned to the button before `aria-label` is updated
      // which would force screen readers to read too old label
      ,
      disableRestoreFocus: true,
      disableEnforceFocus: role === 'tooltip',
      isEnabled: () => true
    }, TrapFocusProps, {
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(TransitionComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, TransitionProps, {
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(PickersPopperPaper, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
          tabIndex: -1,
          elevation: 8,
          ref: handlePaperRef,
          onClick: event => {
            onPaperClick(event);

            if (onPaperClickProp) {
              onPaperClickProp(event);
            }
          },
          onTouchStart: event => {
            onPaperTouchStart(event);

            if (onPaperTouchStartProp) {
              onPaperTouchStartProp(event);
            }
          },
          ownerState: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, ownerState, {
            placement
          }),
          className: classes.paper
        }, otherPaperProps, {
          children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsxs)(PaperContent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, componentsProps == null ? void 0 : componentsProps.paperContent, {
            children: [children, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(ActionBar, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({
              onAccept: onAccept,
              onClear: onClear,
              onCancel: onCancel,
              onSetToday: onSetToday,
              actions: []
            }, componentsProps == null ? void 0 : componentsProps.actionBar))]
          }))
        }))
      }))
    }))
  }));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbar.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbar.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersToolbar: () => (/* binding */ PickersToolbar)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_Grid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Grid */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./icons */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/icons/index.js");
/* harmony import */ var _hooks_useUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _pickersToolbarClasses__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./pickersToolbarClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");














const useUtilityClasses = ownerState => {
  const {
    classes,
    isLandscape
  } = ownerState;
  const slots = {
    root: ['root'],
    content: ['content'],
    penIconButton: ['penIconButton', isLandscape && 'penIconButtonLandscape']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"])(slots, _pickersToolbarClasses__WEBPACK_IMPORTED_MODULE_11__.getPickersToolbarUtilityClass, classes);
};

const PickersToolbarRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiPickersToolbar',
  slot: 'Root',
  overridesResolver: (props, styles) => styles.root
})(({
  theme,
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  display: 'flex',
  flexDirection: 'column',
  alignItems: 'flex-start',
  justifyContent: 'space-between',
  padding: theme.spacing(2, 3)
}, ownerState.isLandscape && {
  height: 'auto',
  maxWidth: 160,
  padding: 16,
  justifyContent: 'flex-start',
  flexWrap: 'wrap'
}));
const PickersToolbarContent = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])(_mui_material_Grid__WEBPACK_IMPORTED_MODULE_3__["default"], {
  name: 'MuiPickersToolbar',
  slot: 'Content',
  overridesResolver: (props, styles) => styles.content
})(({
  ownerState
}) => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
  flex: 1
}, !ownerState.isLandscape && {
  alignItems: 'center'
}));
const PickersToolbarPenIconButton = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_7__["default"])(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_5__["default"], {
  name: 'MuiPickersToolbar',
  slot: 'PenIconButton',
  overridesResolver: (props, styles) => [{
    [`&.${_pickersToolbarClasses__WEBPACK_IMPORTED_MODULE_11__.pickersToolbarClasses.penIconButtonLandscape}`]: styles.penIconButtonLandscape
  }, styles.penIconButton]
})({});

const getViewTypeIcon = viewType => viewType === 'clock' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_9__.Clock, {
  color: "inherit"
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_9__.Calendar, {
  color: "inherit"
});

const PickersToolbar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function PickersToolbar(inProps, ref) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])({
    props: inProps,
    name: 'MuiPickersToolbar'
  });
  const {
    children,
    className,
    getMobileKeyboardInputViewButtonText,
    isLandscape,
    isMobileKeyboardViewOpen,
    landscapeDirection = 'column',
    toggleMobileKeyboardView,
    toolbarTitle,
    viewType = 'calendar'
  } = props;
  const ownerState = props;
  const localeText = (0,_hooks_useUtils__WEBPACK_IMPORTED_MODULE_10__.useLocaleText)();
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(PickersToolbarRoot, {
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__["default"], {
      color: "text.secondary",
      variant: "overline",
      children: toolbarTitle
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(PickersToolbarContent, {
      container: true,
      justifyContent: "space-between",
      className: classes.content,
      ownerState: ownerState,
      direction: isLandscape ? landscapeDirection : 'row',
      alignItems: isLandscape ? 'flex-start' : 'flex-end',
      children: [children, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(PickersToolbarPenIconButton, {
        onClick: toggleMobileKeyboardView,
        className: classes.penIconButton,
        ownerState: ownerState,
        color: "inherit",
        "aria-label": getMobileKeyboardInputViewButtonText ? getMobileKeyboardInputViewButtonText(isMobileKeyboardViewOpen, viewType) : localeText.inputModeToggleButtonAriaLabel(isMobileKeyboardViewOpen, viewType),
        children: isMobileKeyboardViewOpen ? getViewTypeIcon(viewType) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_9__.Pen, {
          color: "inherit"
        })
      })]
    })]
  });
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbarButton.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbarButton.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersToolbarButton: () => (/* binding */ PickersToolbarButton)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _PickersToolbarText__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./PickersToolbarText */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbarText.js");
/* harmony import */ var _pickersToolbarClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./pickersToolbarClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["align", "className", "selected", "typographyClassName", "value", "variant"];









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"])(slots, _pickersToolbarClasses__WEBPACK_IMPORTED_MODULE_9__.getPickersToolbarUtilityClass, classes);
};

const PickersToolbarButtonRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_6__["default"])(_mui_material_Button__WEBPACK_IMPORTED_MODULE_4__["default"], {
  name: 'MuiPickersToolbarButton',
  slot: 'Root',
  overridesResolver: (_, styles) => styles.root
})({
  padding: 0,
  minWidth: 16,
  textTransform: 'none'
});
const PickersToolbarButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function PickersToolbarButton(inProps, ref) {
  const props = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])({
    props: inProps,
    name: 'MuiPickersToolbarButton'
  });

  const {
    align,
    className,
    selected,
    typographyClassName,
    value,
    variant
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const classes = useUtilityClasses(props);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(PickersToolbarButtonRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    variant: "text",
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(className, classes.root)
  }, other, {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_PickersToolbarText__WEBPACK_IMPORTED_MODULE_8__.PickersToolbarText, {
      align: align,
      className: typographyClassName,
      variant: variant,
      value: value,
      selected: selected
    })
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbarText.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersToolbarText.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PickersToolbarText: () => (/* binding */ PickersToolbarText)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _pickersToolbarTextClasses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pickersToolbarTextClasses */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarTextClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["className", "selected", "value"];








const useUtilityClasses = ownerState => {
  const {
    classes,
    selected
  } = ownerState;
  const slots = {
    root: ['root', selected && 'selected']
  };
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _pickersToolbarTextClasses__WEBPACK_IMPORTED_MODULE_7__.getPickersToolbarTextUtilityClass, classes);
};

const PickersToolbarTextRoot = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_5__["default"])(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_4__["default"], {
  name: 'PrivatePickersToolbarText',
  slot: 'Root',
  overridesResolver: (_, styles) => [styles.root, {
    [`&.${_pickersToolbarTextClasses__WEBPACK_IMPORTED_MODULE_7__.pickersToolbarTextClasses.selected}`]: styles.selected
  }]
})(({
  theme
}) => ({
  transition: theme.transitions.create('color'),
  color: theme.palette.text.secondary,
  [`&.${_pickersToolbarTextClasses__WEBPACK_IMPORTED_MODULE_7__.pickersToolbarTextClasses.selected}`]: {
    color: theme.palette.text.primary
  }
}));
const PickersToolbarText = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function PickersToolbarText(props, ref) {
  // TODO v6: add 'useThemeProps' once the component class names are aligned
  const {
    className,
    value
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  const classes = useUtilityClasses(props);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(PickersToolbarTextRoot, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(className, classes.root),
    component: "span"
  }, other, {
    children: value
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PureDateInput.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PureDateInput.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PureDateInput: () => (/* binding */ PureDateInput)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js");
/* harmony import */ var _hooks_useUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks/useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _utils_text_field_helper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/text-field-helper */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/text-field-helper.js");






// TODO: why is this called "Pure*" when it's not memoized? Does "Pure" mean "readonly"?
const PureDateInput = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(function PureDateInput(props, ref) {
  const {
    disabled,
    getOpenDialogAriaText: getOpenDialogAriaTextProp,
    inputFormat,
    InputProps,
    inputRef,
    label,
    openPicker: onOpen,
    rawValue,
    renderInput,
    TextFieldProps = {},
    validationError,
    className
  } = props;
  const localeText = (0,_hooks_useUtils__WEBPACK_IMPORTED_MODULE_4__.useLocaleText)(); // The prop can not be deprecated
  // Default is "Choose date, ...", but time pickers override it with "Choose time, ..."

  const getOpenDialogAriaText = getOpenDialogAriaTextProp != null ? getOpenDialogAriaTextProp : localeText.openDatePickerDialogue;
  const utils = (0,_hooks_useUtils__WEBPACK_IMPORTED_MODULE_4__.useUtils)();
  const PureDateInputProps = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, InputProps, {
    readOnly: true
  }), [InputProps]);
  const inputValue = (0,_utils_text_field_helper__WEBPACK_IMPORTED_MODULE_5__.getDisplayDate)(utils, rawValue, inputFormat);
  const handleOnClick = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(event => {
    event.stopPropagation();
    onOpen();
  });
  return renderInput((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    label,
    disabled,
    ref,
    inputRef,
    error: validationError,
    InputProps: PureDateInputProps,
    className
  }, !props.readOnly && !props.disabled && {
    onClick: handleOnClick
  }, {
    inputProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      disabled,
      readOnly: true,
      'aria-readonly': true,
      'aria-label': getOpenDialogAriaText(rawValue, utils),
      value: inputValue
    }, !props.readOnly && {
      onClick: handleOnClick
    }, {
      onKeyDown: (0,_utils_utils__WEBPACK_IMPORTED_MODULE_3__.onSpaceOrEnter)(onOpen)
    })
  }, TextFieldProps));
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/icons/index.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/icons/index.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ArrowDropDown: () => (/* binding */ ArrowDropDown),
/* harmony export */   ArrowLeft: () => (/* binding */ ArrowLeft),
/* harmony export */   ArrowRight: () => (/* binding */ ArrowRight),
/* harmony export */   Calendar: () => (/* binding */ Calendar),
/* harmony export */   Clock: () => (/* binding */ Clock),
/* harmony export */   DateRange: () => (/* binding */ DateRange),
/* harmony export */   Pen: () => (/* binding */ Pen),
/* harmony export */   Time: () => (/* binding */ Time)
/* harmony export */ });
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


/**
 * @ignore - internal component.
 */



const ArrowDropDown = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M7 10l5 5 5-5z"
}), 'ArrowDropDown');
/**
 * @ignore - internal component.
 */

const ArrowLeft = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"
}), 'ArrowLeft');
/**
 * @ignore - internal component.
 */

const ArrowRight = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"
}), 'ArrowRight');
/**
 * @ignore - internal component.
 */

const Calendar = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"
}), 'Calendar');
/**
 * @ignore - internal component.
 */

const Clock = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, {
  children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
    d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
  }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
    d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
  })]
}), 'Clock');
/**
 * @ignore - internal component.
 */

const DateRange = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"
}), 'DateRange');
/**
 * @ignore - internal component.
 */

const Pen = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
  d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
}), 'Pen');
/**
 * @ignore - internal component.
 */

const Time = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_0__["default"])( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, {
  children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
    d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
  }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("path", {
    d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
  })]
}), 'Time');

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersArrowSwitcherClasses.js"
/*!******************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersArrowSwitcherClasses.js ***!
  \******************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersArrowSwitcherUtilityClass: () => (/* binding */ getPickersArrowSwitcherUtilityClass),
/* harmony export */   pickersArrowSwitcherClasses: () => (/* binding */ pickersArrowSwitcherClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getPickersArrowSwitcherUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPickersArrowSwitcher', slot);
}
const pickersArrowSwitcherClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPickersArrowSwitcher', ['root', 'spacer', 'button']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersPopperClasses.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersPopperClasses.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersPopperUtilityClass: () => (/* binding */ getPickersPopperUtilityClass),
/* harmony export */   pickersPopperClasses: () => (/* binding */ pickersPopperClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getPickersPopperUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPickersPopper', slot);
}
const pickersPopperClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPickersPopper', ['root', 'paper']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarClasses.js"
/*!************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarClasses.js ***!
  \************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersToolbarUtilityClass: () => (/* binding */ getPickersToolbarUtilityClass),
/* harmony export */   pickersToolbarClasses: () => (/* binding */ pickersToolbarClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getPickersToolbarUtilityClass(slot) {
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPickersToolbar', slot);
}
const pickersToolbarClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPickersToolbar', ['root', 'content', 'penIconButton', 'penIconButtonLandscape']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarTextClasses.js"
/*!****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/pickersToolbarTextClasses.js ***!
  \****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersToolbarTextUtilityClass: () => (/* binding */ getPickersToolbarTextUtilityClass),
/* harmony export */   pickersToolbarTextClasses: () => (/* binding */ pickersToolbarTextClasses)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

function getPickersToolbarTextUtilityClass(slot) {
  // TODO v6: Rename 'PrivatePickersToolbarText' to 'MuiPickersToolbarText' to follow convention
  return (0,_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"])('PrivatePickersToolbarText', slot);
} // TODO v6: Rename 'PrivatePickersToolbarText' to 'MuiPickersToolbarText' to follow convention

const pickersToolbarTextClasses = (0,_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"])('PrivatePickersToolbarText', ['root', 'selected']);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/DesktopWrapper.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/DesktopWrapper.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DesktopWrapper: () => (/* binding */ DesktopWrapper)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _WrapperVariantContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./WrapperVariantContext */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js");
/* harmony import */ var _PickersPopper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../PickersPopper */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersPopper.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");







function DesktopWrapper(props) {
  const {
    children,
    DateInputProps,
    KeyboardDateInputComponent,
    onClear,
    onDismiss,
    onCancel,
    onAccept,
    onSetToday,
    open,
    PopperProps,
    PaperProps,
    TransitionComponent,
    components,
    componentsProps
  } = props;
  const ownInputRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef(null);
  const inputRef = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_2__["default"])(DateInputProps.inputRef, ownInputRef);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_3__.WrapperVariantContext.Provider, {
    value: "desktop",
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(KeyboardDateInputComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, DateInputProps, {
      inputRef: inputRef
    })), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_PickersPopper__WEBPACK_IMPORTED_MODULE_4__.PickersPopper, {
      role: "dialog",
      open: open,
      anchorEl: ownInputRef.current,
      TransitionComponent: TransitionComponent,
      PopperProps: PopperProps,
      PaperProps: PaperProps,
      onClose: onDismiss,
      onCancel: onCancel,
      onClear: onClear,
      onAccept: onAccept,
      onSetToday: onSetToday,
      components: components,
      componentsProps: componentsProps,
      children: children
    })]
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/MobileWrapper.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/MobileWrapper.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MobileWrapper: () => (/* binding */ MobileWrapper)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _WrapperVariantContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./WrapperVariantContext */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js");
/* harmony import */ var _PickersModalDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../PickersModalDialog */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/PickersModalDialog.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


const _excluded = ["children", "DateInputProps", "DialogProps", "onAccept", "onClear", "onDismiss", "onCancel", "onSetToday", "open", "PureDateInputComponent", "components", "componentsProps"];





function MobileWrapper(props) {
  const {
    children,
    DateInputProps,
    DialogProps,
    onAccept,
    onClear,
    onDismiss,
    onCancel,
    onSetToday,
    open,
    PureDateInputComponent,
    components,
    componentsProps
  } = props,
        other = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);

  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_WrapperVariantContext__WEBPACK_IMPORTED_MODULE_3__.WrapperVariantContext.Provider, {
    value: "mobile",
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(PureDateInputComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      components: components
    }, other, DateInputProps)), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_PickersModalDialog__WEBPACK_IMPORTED_MODULE_4__.PickersModalDialog, {
      DialogProps: DialogProps,
      onAccept: onAccept,
      onClear: onClear,
      onDismiss: onDismiss,
      onCancel: onCancel,
      onSetToday: onSetToday,
      open: open,
      components: components,
      componentsProps: componentsProps,
      children: children
    })]
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js"
/*!*********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/components/wrappers/WrapperVariantContext.js ***!
  \*********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   WrapperVariantContext: () => (/* binding */ WrapperVariantContext)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);


/**
 * TODO consider getting rid from wrapper variant
 * @ignore - internal component.
 */
const WrapperVariantContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/constants/dimensions.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/constants/dimensions.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DAY_MARGIN: () => (/* binding */ DAY_MARGIN),
/* harmony export */   DAY_SIZE: () => (/* binding */ DAY_SIZE),
/* harmony export */   DIALOG_WIDTH: () => (/* binding */ DIALOG_WIDTH),
/* harmony export */   VIEW_HEIGHT: () => (/* binding */ VIEW_HEIGHT)
/* harmony export */ });
const DAY_SIZE = 36;
const DAY_MARGIN = 2;
const DIALOG_WIDTH = 320;
const VIEW_HEIGHT = 358;

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/date-helpers-hooks.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/date-helpers-hooks.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useMeridiemMode: () => (/* binding */ useMeridiemMode),
/* harmony export */   useNextMonthDisabled: () => (/* binding */ useNextMonthDisabled),
/* harmony export */   usePreviousMonthDisabled: () => (/* binding */ usePreviousMonthDisabled)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _useUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _utils_time_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/time-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/time-utils.js");



function useNextMonthDisabled(month, {
  disableFuture,
  maxDate
}) {
  const utils = (0,_useUtils__WEBPACK_IMPORTED_MODULE_1__.useUtils)();
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    const now = utils.date();
    const lastEnabledMonth = utils.startOfMonth(disableFuture && utils.isBefore(now, maxDate) ? now : maxDate);
    return !utils.isAfter(lastEnabledMonth, month);
  }, [disableFuture, maxDate, month, utils]);
}
function usePreviousMonthDisabled(month, {
  disablePast,
  minDate
}) {
  const utils = (0,_useUtils__WEBPACK_IMPORTED_MODULE_1__.useUtils)();
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    const now = utils.date();
    const firstEnabledMonth = utils.startOfMonth(disablePast && utils.isAfter(now, minDate) ? now : minDate);
    return !utils.isBefore(firstEnabledMonth, month);
  }, [disablePast, minDate, month, utils]);
}
function useMeridiemMode(date, ampm, onChange) {
  const utils = (0,_useUtils__WEBPACK_IMPORTED_MODULE_1__.useUtils)();
  const meridiemMode = (0,_utils_time_utils__WEBPACK_IMPORTED_MODULE_2__.getMeridiem)(date, utils);
  const handleMeridiemChange = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(mode => {
    const timeWithMeridiem = date == null ? null : (0,_utils_time_utils__WEBPACK_IMPORTED_MODULE_2__.convertToMeridiem)(date, mode, Boolean(ampm), utils);
    onChange(timeWithMeridiem, 'partial');
  }, [ampm, date, onChange, utils]);
  return {
    meridiemMode,
    handleMeridiemChange
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useIsLandscape.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useIsLandscape.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useIsLandscape: () => (/* binding */ useIsLandscape)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils */ "./node_modules/.pnpm/@mui+utils@5.17.1_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js");




function getOrientation() {
  if (typeof window === 'undefined') {
    return 'portrait';
  }

  if (window.screen && window.screen.orientation && window.screen.orientation.angle) {
    return Math.abs(window.screen.orientation.angle) === 90 ? 'landscape' : 'portrait';
  } // Support IOS safari


  if (window.orientation) {
    return Math.abs(Number(window.orientation)) === 90 ? 'landscape' : 'portrait';
  }

  return 'portrait';
}

const useIsLandscape = (views, customOrientation) => {
  const [orientation, setOrientation] = react__WEBPACK_IMPORTED_MODULE_0__.useState(getOrientation);
  (0,_mui_utils__WEBPACK_IMPORTED_MODULE_1__["default"])(() => {
    const eventHandler = () => {
      setOrientation(getOrientation());
    };

    window.addEventListener('orientationchange', eventHandler);
    return () => {
      window.removeEventListener('orientationchange', eventHandler);
    };
  }, []);

  if ((0,_utils_utils__WEBPACK_IMPORTED_MODULE_2__.arrayIncludes)(views, ['hours', 'minutes', 'seconds'])) {
    // could not display 13:34:44 in landscape mode
    return false;
  }

  const orientationToUse = customOrientation || orientation;
  return orientationToUse === 'landscape';
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useMaskedInput.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useMaskedInput.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useMaskedInput: () => (/* binding */ useMaskedInput)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var rifm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rifm */ "./node_modules/.pnpm/rifm@0.12.1_react@18.3.1/node_modules/rifm/dist/rifm.esm.js");
/* harmony import */ var _useUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _utils_text_field_helper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/text-field-helper */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/text-field-helper.js");





const useMaskedInput = ({
  acceptRegex = /[\d]/gi,
  disabled,
  disableMaskedInput,
  ignoreInvalidInputs,
  inputFormat,
  inputProps,
  label,
  mask,
  onChange,
  rawValue,
  readOnly,
  rifmFormatter,
  TextFieldProps,
  validationError
}) => {
  const utils = (0,_useUtils__WEBPACK_IMPORTED_MODULE_3__.useUtils)();
  const formatHelperText = utils.getFormatHelperText(inputFormat);
  const {
    shouldUseMaskedInput,
    maskToUse
  } = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => {
    // formatting of dates is a quite slow thing, so do not make useless .format calls
    if (disableMaskedInput) {
      return {
        shouldUseMaskedInput: false,
        maskToUse: ''
      };
    }

    const computedMaskToUse = (0,_utils_text_field_helper__WEBPACK_IMPORTED_MODULE_4__.getMaskFromCurrentFormat)(mask, inputFormat, acceptRegex, utils);
    return {
      shouldUseMaskedInput: (0,_utils_text_field_helper__WEBPACK_IMPORTED_MODULE_4__.checkMaskIsValidForCurrentFormat)(computedMaskToUse, inputFormat, acceptRegex, utils),
      maskToUse: computedMaskToUse
    };
  }, [acceptRegex, disableMaskedInput, inputFormat, mask, utils]);
  const formatter = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => shouldUseMaskedInput && maskToUse ? (0,_utils_text_field_helper__WEBPACK_IMPORTED_MODULE_4__.maskedDateFormatter)(maskToUse, acceptRegex) : st => st, [acceptRegex, maskToUse, shouldUseMaskedInput]); // TODO: Implement with controlled vs uncontrolled `rawValue`

  const parsedValue = rawValue === null ? null : utils.date(rawValue); // Track the value of the input

  const [innerInputValue, setInnerInputValue] = react__WEBPACK_IMPORTED_MODULE_1__.useState(parsedValue); // control the input text

  const [innerDisplayedInputValue, setInnerDisplayedInputValue] = react__WEBPACK_IMPORTED_MODULE_1__.useState((0,_utils_text_field_helper__WEBPACK_IMPORTED_MODULE_4__.getDisplayDate)(utils, rawValue, inputFormat)); // Inspired from autocomplete: https://github.com/mui/material-ui/blob/2c89d036dc2e16f100528f161600dffc83241768/packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.js#L185:L201

  const prevRawValue = react__WEBPACK_IMPORTED_MODULE_1__.useRef();
  const prevLocale = react__WEBPACK_IMPORTED_MODULE_1__.useRef(utils.locale);
  const prevInputFormat = react__WEBPACK_IMPORTED_MODULE_1__.useRef(inputFormat);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    const rawValueHasChanged = rawValue !== prevRawValue.current;
    const localeHasChanged = utils.locale !== prevLocale.current;
    const inputFormatHasChanged = inputFormat !== prevInputFormat.current;
    prevRawValue.current = rawValue;
    prevLocale.current = utils.locale;
    prevInputFormat.current = inputFormat;

    if (!rawValueHasChanged && !localeHasChanged && !inputFormatHasChanged) {
      return;
    }

    const newParsedValue = rawValue === null ? null : utils.date(rawValue);
    const isAcceptedValue = rawValue === null || utils.isValid(newParsedValue);
    let innerEqualsParsed = innerInputValue === null && newParsedValue === null; // equal by being both null

    if (innerInputValue !== null && newParsedValue !== null) {
      const areEqual = utils.isEqual(innerInputValue, newParsedValue);

      if (areEqual) {
        innerEqualsParsed = true;
      } else {
        const diff = Math.abs(utils.getDiff(innerInputValue, newParsedValue)); // diff in ms

        innerEqualsParsed = diff === 0 ? areEqual // if no diff, use equal to test the time-zone
        : diff < 1000; // accept a difference bellow 1s
      }
    }

    if (!localeHasChanged && !inputFormatHasChanged && (!isAcceptedValue || innerEqualsParsed)) {
      return;
    } // When dev set a new valid value, we trust them


    const newDisplayDate = (0,_utils_text_field_helper__WEBPACK_IMPORTED_MODULE_4__.getDisplayDate)(utils, rawValue, inputFormat);
    setInnerInputValue(newParsedValue);
    setInnerDisplayedInputValue(newDisplayDate);
  }, [utils, rawValue, inputFormat, innerInputValue]);

  const handleChange = text => {
    const finalString = text === '' || text === mask ? '' : text;
    setInnerDisplayedInputValue(finalString);
    const date = finalString === null ? null : utils.parse(finalString, inputFormat);

    if (ignoreInvalidInputs && !utils.isValid(date)) {
      return;
    }

    setInnerInputValue(date);
    onChange(date, finalString || undefined);
  };

  const rifmProps = (0,rifm__WEBPACK_IMPORTED_MODULE_2__.useRifm)({
    value: innerDisplayedInputValue,
    onChange: handleChange,
    format: rifmFormatter || formatter
  });
  const inputStateArgs = shouldUseMaskedInput ? rifmProps : {
    value: innerDisplayedInputValue,
    onChange: event => {
      handleChange(event.currentTarget.value);
    }
  };
  return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
    label,
    disabled,
    error: validationError,
    inputProps: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, inputStateArgs, {
      disabled,
      placeholder: formatHelperText,
      readOnly,
      type: shouldUseMaskedInput ? 'tel' : 'text'
    }, inputProps)
  }, TextFieldProps);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useOpenState.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useOpenState.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useOpenState: () => (/* binding */ useOpenState)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const useOpenState = ({
  open,
  onOpen,
  onClose
}) => {
  const isControllingOpenProp = react__WEBPACK_IMPORTED_MODULE_0__.useRef(typeof open === 'boolean').current;
  const [openState, setIsOpenState] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false); // It is required to update inner state in useEffect in order to avoid situation when
  // Our component is not mounted yet, but `open` state is set to `true` (e.g. initially opened)

  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (isControllingOpenProp) {
      if (typeof open !== 'boolean') {
        throw new Error('You must not mix controlling and uncontrolled mode for `open` prop');
      }

      setIsOpenState(open);
    }
  }, [isControllingOpenProp, open]);
  const setIsOpen = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newIsOpen => {
    if (!isControllingOpenProp) {
      setIsOpenState(newIsOpen);
    }

    if (newIsOpen && onOpen) {
      onOpen();
    }

    if (!newIsOpen && onClose) {
      onClose();
    }
  }, [isControllingOpenProp, onOpen, onClose]);
  return {
    isOpen: openState,
    setIsOpen
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/usePickerState.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/usePickerState.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   usePickerState: () => (/* binding */ usePickerState)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _useOpenState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useOpenState */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useOpenState.js");
/* harmony import */ var _useUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");




const usePickerState = (props, valueManager) => {
  const {
    onAccept,
    onChange,
    value,
    closeOnSelect
  } = props;
  const utils = (0,_useUtils__WEBPACK_IMPORTED_MODULE_3__.useUtils)();
  const {
    isOpen,
    setIsOpen
  } = (0,_useOpenState__WEBPACK_IMPORTED_MODULE_2__.useOpenState)(props);
  const parsedDateValue = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => valueManager.parseInput(utils, value), [valueManager, utils, value]);
  const [lastValidDateValue, setLastValidDateValue] = react__WEBPACK_IMPORTED_MODULE_1__.useState(parsedDateValue);
  const [dateState, setDateState] = react__WEBPACK_IMPORTED_MODULE_1__.useState(() => ({
    committed: parsedDateValue,
    draft: parsedDateValue,
    resetFallback: parsedDateValue
  }));
  const setDate = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(params => {
    setDateState(prev => {
      switch (params.action) {
        case 'setAll':
        case 'acceptAndClose':
          {
            return {
              draft: params.value,
              committed: params.value,
              resetFallback: params.value
            };
          }

        case 'setCommitted':
          {
            return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prev, {
              draft: params.value,
              committed: params.value
            });
          }

        case 'setDraft':
          {
            return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prev, {
              draft: params.value
            });
          }

        default:
          {
            return prev;
          }
      }
    });

    if (params.forceOnChangeCall || !params.skipOnChangeCall && !valueManager.areValuesEqual(utils, dateState.committed, params.value)) {
      onChange(params.value);
    }

    if (params.action === 'acceptAndClose') {
      setIsOpen(false);

      if (onAccept && !valueManager.areValuesEqual(utils, dateState.resetFallback, params.value)) {
        onAccept(params.value);
      }
    }
  }, [onAccept, onChange, setIsOpen, dateState, utils, valueManager]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (utils.isValid(parsedDateValue)) {
      setLastValidDateValue(parsedDateValue);
    }
  }, [utils, parsedDateValue]);
  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(() => {
    if (isOpen) {
      // Update all dates in state to equal the current prop value
      setDate({
        action: 'setAll',
        value: parsedDateValue,
        skipOnChangeCall: true
      });
    }
  }, [isOpen]); // eslint-disable-line react-hooks/exhaustive-deps
  // Set the draft and committed date to equal the new prop value.

  if (!valueManager.areValuesEqual(utils, dateState.committed, parsedDateValue)) {
    setDate({
      action: 'setCommitted',
      value: parsedDateValue,
      skipOnChangeCall: true
    });
  }

  const wrapperProps = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({
    open: isOpen,
    onClear: () => {
      // Reset all date in state to the empty value and close picker.
      setDate({
        value: valueManager.emptyValue,
        action: 'acceptAndClose',
        // force `onChange` in cases like input (value) === `Invalid date`
        forceOnChangeCall: !valueManager.areValuesEqual(utils, value, valueManager.emptyValue)
      });
    },
    onAccept: () => {
      // Set all date in state to equal the current draft value and close picker.
      setDate({
        value: dateState.draft,
        action: 'acceptAndClose',
        // force `onChange` in cases like input (value) === `Invalid date`
        forceOnChangeCall: !valueManager.areValuesEqual(utils, value, parsedDateValue)
      });
    },
    onDismiss: () => {
      // Set all dates in state to equal the last committed date.
      // e.g. Reset the state to the last committed value.
      setDate({
        value: dateState.committed,
        action: 'acceptAndClose'
      });
    },
    onCancel: () => {
      // Set all dates in state to equal the last accepted date and close picker.
      // e.g. Reset the state to the last accepted value
      setDate({
        value: dateState.resetFallback,
        action: 'acceptAndClose'
      });
    },
    onSetToday: () => {
      // Set all dates in state to equal today and close picker.
      setDate({
        value: valueManager.getTodayValue(utils),
        action: 'acceptAndClose'
      });
    }
  }), [setDate, isOpen, utils, dateState, valueManager, value, parsedDateValue]); // Mobile keyboard view is a special case.
  // When it's open picker should work like closed, because we are just showing text field

  const [isMobileKeyboardViewOpen, setMobileKeyboardViewOpen] = react__WEBPACK_IMPORTED_MODULE_1__.useState(false);
  const pickerProps = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({
    parsedValue: dateState.draft,
    isMobileKeyboardViewOpen,
    toggleMobileKeyboardView: () => setMobileKeyboardViewOpen(!isMobileKeyboardViewOpen),
    onDateChange: (newDate, wrapperVariant, selectionState = 'partial') => {
      switch (selectionState) {
        case 'shallow':
          {
            // Update the `draft` state but do not fire `onChange`
            return setDate({
              action: 'setDraft',
              value: newDate,
              skipOnChangeCall: true
            });
          }

        case 'partial':
          {
            // Update the `draft` state and fire `onChange`
            return setDate({
              action: 'setDraft',
              value: newDate
            });
          }

        case 'finish':
          {
            if (closeOnSelect != null ? closeOnSelect : wrapperVariant === 'desktop') {
              // Set all dates in state to equal the new date and close picker.
              return setDate({
                value: newDate,
                action: 'acceptAndClose'
              });
            } // Updates the `committed` state and fire `onChange`


            return setDate({
              value: newDate,
              action: 'setCommitted'
            });
          }

        default:
          {
            throw new Error('MUI: Invalid selectionState passed to `onDateChange`');
          }
      }
    }
  }), [setDate, isMobileKeyboardViewOpen, dateState.draft, closeOnSelect]);
  const handleInputChange = react__WEBPACK_IMPORTED_MODULE_1__.useCallback((newParsedValue, keyboardInputValue) => {
    const cleanParsedValue = valueManager.valueReducer ? valueManager.valueReducer(utils, lastValidDateValue, newParsedValue) : newParsedValue;
    onChange(cleanParsedValue, keyboardInputValue);
  }, [onChange, valueManager, lastValidDateValue, utils]);
  const inputProps = react__WEBPACK_IMPORTED_MODULE_1__.useMemo(() => ({
    onChange: handleInputChange,
    open: isOpen,
    rawValue: value,
    openPicker: () => setIsOpen(true)
  }), [handleInputChange, isOpen, value, setIsOpen]);
  const pickerState = {
    pickerProps,
    inputProps,
    wrapperProps
  };
  react__WEBPACK_IMPORTED_MODULE_1__.useDebugValue(pickerState, () => ({
    MuiPickerState: {
      dateState,
      other: pickerState
    }
  }));
  return pickerState;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useDefaultDates: () => (/* binding */ useDefaultDates),
/* harmony export */   useLocaleText: () => (/* binding */ useLocaleText),
/* harmony export */   useLocalizationContext: () => (/* binding */ useLocalizationContext),
/* harmony export */   useNow: () => (/* binding */ useNow),
/* harmony export */   useUtils: () => (/* binding */ useUtils)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _LocalizationProvider_LocalizationProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../LocalizationProvider/LocalizationProvider */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider.js");


const useLocalizationContext = () => {
  const localization = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_LocalizationProvider_LocalizationProvider__WEBPACK_IMPORTED_MODULE_1__.MuiPickersAdapterContext);

  if (localization === null) {
    throw new Error('MUI: Can not find utils in context. It looks like you forgot to wrap your component in LocalizationProvider, or pass dateAdapter prop directly.');
  }

  return localization;
};
const useUtils = () => useLocalizationContext().utils;
const useDefaultDates = () => useLocalizationContext().defaultDates;
const useLocaleText = () => useLocalizationContext().localeText;
const useNow = () => {
  const utils = useUtils();
  const now = react__WEBPACK_IMPORTED_MODULE_0__.useRef(utils.date());
  return now.current;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useViews.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useViews.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useViews: () => (/* binding */ useViews)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/utils */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js");



function useViews({
  onChange,
  onViewChange,
  openTo,
  view,
  views
}) {
  var _views, _views2;

  const [openView, setOpenView] = (0,_mui_material_utils__WEBPACK_IMPORTED_MODULE_1__["default"])({
    name: 'Picker',
    state: 'view',
    controlled: view,
    default: openTo && (0,_utils_utils__WEBPACK_IMPORTED_MODULE_2__.arrayIncludes)(views, openTo) ? openTo : views[0]
  });
  const previousView = (_views = views[views.indexOf(openView) - 1]) != null ? _views : null;
  const nextView = (_views2 = views[views.indexOf(openView) + 1]) != null ? _views2 : null;
  const changeView = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newView => {
    setOpenView(newView);

    if (onViewChange) {
      onViewChange(newView);
    }
  }, [setOpenView, onViewChange]);
  const openNext = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (nextView) {
      changeView(nextView);
    }
  }, [nextView, changeView]);
  const handleChangeAndOpenNext = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((date, currentViewSelectionState) => {
    const isSelectionFinishedOnCurrentView = currentViewSelectionState === 'finish';
    const globalSelectionState = isSelectionFinishedOnCurrentView && Boolean(nextView) ? 'partial' : currentViewSelectionState;
    onChange(date, globalSelectionState);

    if (isSelectionFinishedOnCurrentView) {
      openNext();
    }
  }, [nextView, onChange, openNext]);
  return {
    handleChangeAndOpenNext,
    nextView,
    previousView,
    openNext,
    openView,
    setOpenView: changeView
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateValidation.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useDateValidation.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   isSameDateError: () => (/* binding */ isSameDateError),
/* harmony export */   useDateValidation: () => (/* binding */ useDateValidation),
/* harmony export */   useIsDayDisabled: () => (/* binding */ useIsDayDisabled),
/* harmony export */   validateDate: () => (/* binding */ validateDate)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _useValidation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useValidation.js");
/* harmony import */ var _useUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");
/* harmony import */ var _utils_date_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/date-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js");




const validateDate = ({
  props,
  value,
  adapter
}) => {
  const now = adapter.utils.date();
  const date = adapter.utils.date(value);
  const minDate = (0,_utils_date_utils__WEBPACK_IMPORTED_MODULE_3__.parseNonNullablePickerDate)(adapter.utils, props.minDate, adapter.defaultDates.minDate);
  const maxDate = (0,_utils_date_utils__WEBPACK_IMPORTED_MODULE_3__.parseNonNullablePickerDate)(adapter.utils, props.maxDate, adapter.defaultDates.maxDate);

  if (date === null) {
    return null;
  }

  switch (true) {
    case !adapter.utils.isValid(value):
      return 'invalidDate';

    case Boolean(props.shouldDisableDate && props.shouldDisableDate(date)):
      return 'shouldDisableDate';

    case Boolean(props.disableFuture && adapter.utils.isAfterDay(date, now)):
      return 'disableFuture';

    case Boolean(props.disablePast && adapter.utils.isBeforeDay(date, now)):
      return 'disablePast';

    case Boolean(minDate && adapter.utils.isBeforeDay(date, minDate)):
      return 'minDate';

    case Boolean(maxDate && adapter.utils.isAfterDay(date, maxDate)):
      return 'maxDate';

    default:
      return null;
  }
};
const useIsDayDisabled = ({
  shouldDisableDate,
  minDate,
  maxDate,
  disableFuture,
  disablePast
}) => {
  const adapter = (0,_useUtils__WEBPACK_IMPORTED_MODULE_2__.useLocalizationContext)();
  return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(day => validateDate({
    adapter,
    value: day,
    props: {
      shouldDisableDate,
      minDate,
      maxDate,
      disableFuture,
      disablePast
    }
  }) !== null, [adapter, shouldDisableDate, minDate, maxDate, disableFuture, disablePast]);
};
const isSameDateError = (a, b) => a === b;
const useDateValidation = props => (0,_useValidation__WEBPACK_IMPORTED_MODULE_1__.useValidation)(props, validateDate, isSameDateError);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useTimeValidation.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useTimeValidation.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useTimeValidation: () => (/* binding */ useTimeValidation),
/* harmony export */   validateTime: () => (/* binding */ validateTime)
/* harmony export */ });
/* harmony import */ var _utils_time_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/time-utils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/time-utils.js");
/* harmony import */ var _useValidation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useValidation */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useValidation.js");


const validateTime = ({
  adapter,
  value,
  props
}) => {
  const {
    minTime,
    maxTime,
    minutesStep,
    shouldDisableTime,
    disableIgnoringDatePartForTimeValidation
  } = props;
  const date = adapter.utils.date(value);
  const isAfter = (0,_utils_time_utils__WEBPACK_IMPORTED_MODULE_0__.createIsAfterIgnoreDatePart)(disableIgnoringDatePartForTimeValidation, adapter.utils);

  if (value === null) {
    return null;
  }

  switch (true) {
    case !adapter.utils.isValid(value):
      return 'invalidDate';

    case Boolean(minTime && isAfter(minTime, date)):
      return 'minTime';

    case Boolean(maxTime && isAfter(date, maxTime)):
      return 'maxTime';

    case Boolean(shouldDisableTime && shouldDisableTime(adapter.utils.getHours(date), 'hours')):
      return 'shouldDisableTime-hours';

    case Boolean(shouldDisableTime && shouldDisableTime(adapter.utils.getMinutes(date), 'minutes')):
      return 'shouldDisableTime-minutes';

    case Boolean(shouldDisableTime && shouldDisableTime(adapter.utils.getSeconds(date), 'seconds')):
      return 'shouldDisableTime-seconds';

    case Boolean(minutesStep && adapter.utils.getMinutes(date) % minutesStep !== 0):
      return 'minutesStep';

    default:
      return null;
  }
};

const isSameTimeError = (a, b) => a === b;

const useTimeValidation = props => (0,_useValidation__WEBPACK_IMPORTED_MODULE_1__.useValidation)(props, validateTime, isSameTimeError);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useValidation.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/validation/useValidation.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useValidation: () => (/* binding */ useValidation)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _useUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useUtils */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js");


function useValidation(props, validate, isSameError) {
  const {
    value,
    onError
  } = props;
  const adapter = (0,_useUtils__WEBPACK_IMPORTED_MODULE_1__.useLocalizationContext)();
  const previousValidationErrorRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const validationError = validate({
    adapter,
    value,
    props
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (onError && !isSameError(validationError, previousValidationErrorRef.current)) {
      onError(validationError, value);
    }

    previousValidationErrorRef.current = validationError;
  }, [isSameError, onError, previousValidationErrorRef, validationError, value]);
  return validationError;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/date-utils.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   findClosestEnabledDate: () => (/* binding */ findClosestEnabledDate),
/* harmony export */   parseNonNullablePickerDate: () => (/* binding */ parseNonNullablePickerDate),
/* harmony export */   parsePickerInputValue: () => (/* binding */ parsePickerInputValue)
/* harmony export */ });
const findClosestEnabledDate = ({
  date,
  disableFuture,
  disablePast,
  maxDate,
  minDate,
  isDateDisabled,
  utils
}) => {
  const today = utils.startOfDay(utils.date());

  if (disablePast && utils.isBefore(minDate, today)) {
    minDate = today;
  }

  if (disableFuture && utils.isAfter(maxDate, today)) {
    maxDate = today;
  }

  let forward = date;
  let backward = date;

  if (utils.isBefore(date, minDate)) {
    forward = utils.date(minDate);
    backward = null;
  }

  if (utils.isAfter(date, maxDate)) {
    if (backward) {
      backward = utils.date(maxDate);
    }

    forward = null;
  }

  while (forward || backward) {
    if (forward && utils.isAfter(forward, maxDate)) {
      forward = null;
    }

    if (backward && utils.isBefore(backward, minDate)) {
      backward = null;
    }

    if (forward) {
      if (!isDateDisabled(forward)) {
        return forward;
      }

      forward = utils.addDays(forward, 1);
    }

    if (backward) {
      if (!isDateDisabled(backward)) {
        return backward;
      }

      backward = utils.addDays(backward, -1);
    }
  }

  return null;
};
const parsePickerInputValue = (utils, value) => {
  const parsedValue = utils.date(value);
  return utils.isValid(parsedValue) ? parsedValue : null;
};
const parseNonNullablePickerDate = (utils, value, defaultValue) => {
  if (value == null) {
    return defaultValue;
  }

  const parsedValue = utils.date(value);
  const isDateValid = utils.isValid(parsedValue);

  if (isDateValid) {
    return parsedValue;
  }

  return defaultValue;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/defaultReduceAnimations.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/defaultReduceAnimations.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   defaultReduceAnimations: () => (/* binding */ defaultReduceAnimations)
/* harmony export */ });
const defaultReduceAnimations = typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/text-field-helper.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/text-field-helper.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   checkMaskIsValidForCurrentFormat: () => (/* binding */ checkMaskIsValidForCurrentFormat),
/* harmony export */   getDisplayDate: () => (/* binding */ getDisplayDate),
/* harmony export */   getMaskFromCurrentFormat: () => (/* binding */ getMaskFromCurrentFormat),
/* harmony export */   maskedDateFormatter: () => (/* binding */ maskedDateFormatter)
/* harmony export */ });
const getDisplayDate = (utils, rawValue, inputFormat) => {
  const date = utils.date(rawValue);
  const isEmpty = rawValue === null;

  if (isEmpty) {
    return '';
  }

  return utils.isValid(date) ? utils.formatByString( // TODO: should `isValid` narrow `TDate | null` to `NonNullable<TDate>`?
  // Either we allow `TDate | null` to be valid and guard against calling `formatByString` with `null`.
  // Or we ensure `formatByString` is callable with `null`.
  date, inputFormat) : '';
};
const MASK_USER_INPUT_SYMBOL = '_';
const staticDateWith2DigitTokens = '2019-11-21T22:30:00.000';
const staticDateWith1DigitTokens = '2019-01-01T09:00:00.000';
function getMaskFromCurrentFormat(mask, format, acceptRegex, utils) {
  if (mask) {
    return mask;
  }

  const formattedDateWith1Digit = utils.formatByString(utils.date(staticDateWith1DigitTokens), format);
  const inferredFormatPatternWith1Digits = formattedDateWith1Digit.replace(acceptRegex, MASK_USER_INPUT_SYMBOL);
  const inferredFormatPatternWith2Digits = utils.formatByString(utils.date(staticDateWith2DigitTokens), format).replace(acceptRegex, '_');

  if (inferredFormatPatternWith1Digits === inferredFormatPatternWith2Digits) {
    return inferredFormatPatternWith1Digits;
  }

  if (true) {
    console.warn([`Mask does not support numbers with variable length such as 'M'.`, `Either use numbers with fix length or disable mask feature with 'disableMaskedInput' prop`, `Falling down to uncontrolled no-mask input.`].join('\n'));
  }

  return '';
}
function checkMaskIsValidForCurrentFormat(mask, format, acceptRegex, utils) {
  if (!mask) {
    return false;
  }

  const formattedDateWith1Digit = utils.formatByString(utils.date(staticDateWith1DigitTokens), format);
  const inferredFormatPatternWith1Digits = formattedDateWith1Digit.replace(acceptRegex, MASK_USER_INPUT_SYMBOL);
  const inferredFormatPatternWith2Digits = utils.formatByString(utils.date(staticDateWith2DigitTokens), format).replace(acceptRegex, '_');
  const isMaskValid = inferredFormatPatternWith2Digits === inferredFormatPatternWith1Digits && mask === inferredFormatPatternWith2Digits;

  if (!isMaskValid && utils.lib !== 'luxon' && "development" !== 'production') {
    if (format.includes('MMM')) {
      console.warn([`Mask does not support literals such as 'MMM'.`, `Either use numbers with fix length or disable mask feature with 'disableMaskedInput' prop`, `Falling down to uncontrolled no-mask input.`].join('\n'));
    } else if (inferredFormatPatternWith2Digits && inferredFormatPatternWith2Digits !== inferredFormatPatternWith1Digits) {
      console.warn([`Mask does not support numbers with variable length such as 'M'.`, `Either use numbers with fix length or disable mask feature with 'disableMaskedInput' prop`, `Falling down to uncontrolled no-mask input.`].join('\n'));
    } else if (mask) {
      console.warn([`The mask "${mask}" you passed is not valid for the format used ${format}.`, `Falling down to uncontrolled no-mask input.`].join('\n'));
    }
  }

  return isMaskValid;
}
const maskedDateFormatter = (mask, acceptRegexp) => value => {
  let outputCharIndex = 0;
  return value.split('').map((char, inputCharIndex) => {
    acceptRegexp.lastIndex = 0;

    if (outputCharIndex > mask.length - 1) {
      return '';
    }

    const maskChar = mask[outputCharIndex];
    const nextMaskChar = mask[outputCharIndex + 1];
    const acceptedChar = acceptRegexp.test(char) ? char : '';
    const formattedChar = maskChar === MASK_USER_INPUT_SYMBOL ? acceptedChar : maskChar + acceptedChar;
    outputCharIndex += formattedChar.length;
    const isLastCharacter = inputCharIndex === value.length - 1;

    if (isLastCharacter && nextMaskChar && nextMaskChar !== MASK_USER_INPUT_SYMBOL) {
      // when cursor at the end of mask part (e.g. month) prerender next symbol "21" -> "21/"
      return formattedChar ? formattedChar + nextMaskChar : '';
    }

    return formattedChar;
  }).join('');
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/time-utils.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/time-utils.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertToMeridiem: () => (/* binding */ convertToMeridiem),
/* harmony export */   convertValueToMeridiem: () => (/* binding */ convertValueToMeridiem),
/* harmony export */   createIsAfterIgnoreDatePart: () => (/* binding */ createIsAfterIgnoreDatePart),
/* harmony export */   getMeridiem: () => (/* binding */ getMeridiem),
/* harmony export */   getSecondsInDay: () => (/* binding */ getSecondsInDay)
/* harmony export */ });
const getMeridiem = (date, utils) => {
  if (!date) {
    return null;
  }

  return utils.getHours(date) >= 12 ? 'pm' : 'am';
};
const convertValueToMeridiem = (value, meridiem, ampm) => {
  if (ampm) {
    const currentMeridiem = value >= 12 ? 'pm' : 'am';

    if (currentMeridiem !== meridiem) {
      return meridiem === 'am' ? value - 12 : value + 12;
    }
  }

  return value;
};
const convertToMeridiem = (time, meridiem, ampm, utils) => {
  const newHoursAmount = convertValueToMeridiem(utils.getHours(time), meridiem, ampm);
  return utils.setHours(time, newHoursAmount);
};
const getSecondsInDay = (date, utils) => {
  return utils.getHours(date) * 3600 + utils.getMinutes(date) * 60 + utils.getSeconds(date);
};
const createIsAfterIgnoreDatePart = (disableIgnoringDatePartForTimeValidation = false, utils) => (dateLeft, dateRight) => {
  if (disableIgnoringDatePartForTimeValidation) {
    return utils.isAfter(dateLeft, dateRight);
  }

  return getSecondsInDay(dateLeft, utils) > getSecondsInDay(dateRight, utils);
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/utils.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   arrayIncludes: () => (/* binding */ arrayIncludes),
/* harmony export */   doNothing: () => (/* binding */ doNothing),
/* harmony export */   executeInTheNextEventLoopTick: () => (/* binding */ executeInTheNextEventLoopTick),
/* harmony export */   getActiveElement: () => (/* binding */ getActiveElement),
/* harmony export */   onSpaceOrEnter: () => (/* binding */ onSpaceOrEnter)
/* harmony export */ });
/* Use it instead of .includes method for IE support */
function arrayIncludes(array, itemOrItems) {
  if (Array.isArray(itemOrItems)) {
    return itemOrItems.every(item => array.indexOf(item) !== -1);
  }

  return array.indexOf(itemOrItems) !== -1;
}
const onSpaceOrEnter = (innerFn, onFocus) => event => {
  if (event.key === 'Enter' || event.key === ' ') {
    innerFn(event); // prevent any side effects

    event.preventDefault();
    event.stopPropagation();
  }

  if (onFocus) {
    onFocus(event);
  }
};
const executeInTheNextEventLoopTick = fn => {
  setTimeout(fn, 0);
};
const doNothing = () => {}; // https://www.abeautifulsite.net/posts/finding-the-active-element-in-a-shadow-root/

const getActiveElement = (root = document) => {
  const activeEl = root.activeElement;

  if (!activeEl) {
    return null;
  }

  if (activeEl.shadowRoot) {
    return getActiveElement(activeEl.shadowRoot);
  }

  return activeEl;
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/warning.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/internals/utils/warning.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   buildDeprecatedPropsWarning: () => (/* binding */ buildDeprecatedPropsWarning)
/* harmony export */ });
const buildDeprecatedPropsWarning = message => {
  let alreadyWarned = false;

  if (false) // removed by dead control flow
{}

  const cleanMessage = Array.isArray(message) ? message.join('\n') : message;
  return deprecatedProps => {
    const deprecatedKeys = Object.entries(deprecatedProps).filter(([, value]) => value !== undefined).map(([key]) => `- ${key}`);

    if (!alreadyWarned && deprecatedKeys.length > 0) {
      alreadyWarned = true;
      console.warn([cleanMessage, 'deprecated props observed:', ...deprecatedKeys].join('\n'));
    }
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/locales/enUS.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/locales/enUS.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DEFAULT_LOCALE: () => (/* binding */ DEFAULT_LOCALE),
/* harmony export */   enUS: () => (/* binding */ enUS)
/* harmony export */ });
/* harmony import */ var _utils_getPickersLocalization__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/getPickersLocalization */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/locales/utils/getPickersLocalization.js");
 // This object is not Partial<PickersLocaleText> because it is the default values

const enUSPickers = {
  // Calendar navigation
  previousMonth: 'Previous month',
  nextMonth: 'Next month',
  // View navigation
  openPreviousView: 'open previous view',
  openNextView: 'open next view',
  calendarViewSwitchingButtonAriaLabel: view => view === 'year' ? 'year view is open, switch to calendar view' : 'calendar view is open, switch to year view',
  inputModeToggleButtonAriaLabel: (isKeyboardInputOpen, viewType) => isKeyboardInputOpen ? `text input view is open, go to ${viewType} view` : `${viewType} view is open, go to text input view`,
  // DateRange placeholders
  start: 'Start',
  end: 'End',
  // Action bar
  cancelButtonLabel: 'Cancel',
  clearButtonLabel: 'Clear',
  okButtonLabel: 'OK',
  todayButtonLabel: 'Today',
  // Toolbar titles
  datePickerDefaultToolbarTitle: 'Select date',
  dateTimePickerDefaultToolbarTitle: 'Select date & time',
  timePickerDefaultToolbarTitle: 'Select time',
  dateRangePickerDefaultToolbarTitle: 'Select date range',
  // Clock labels
  clockLabelText: (view, time, adapter) => `Select ${view}. ${time === null ? 'No time selected' : `Selected time is ${adapter.format(time, 'fullTime')}`}`,
  hoursClockNumberText: hours => `${hours} hours`,
  minutesClockNumberText: minutes => `${minutes} minutes`,
  secondsClockNumberText: seconds => `${seconds} seconds`,
  // Open picker labels
  openDatePickerDialogue: (rawValue, utils) => rawValue && utils.isValid(utils.date(rawValue)) ? `Choose date, selected date is ${utils.format(utils.date(rawValue), 'fullDate')}` : 'Choose date',
  openTimePickerDialogue: (rawValue, utils) => rawValue && utils.isValid(utils.date(rawValue)) ? `Choose time, selected time is ${utils.format(utils.date(rawValue), 'fullTime')}` : 'Choose time',
  // Table labels
  timeTableLabel: 'pick time',
  dateTableLabel: 'pick date'
};
const DEFAULT_LOCALE = enUSPickers;
const enUS = (0,_utils_getPickersLocalization__WEBPACK_IMPORTED_MODULE_0__.getPickersLocalization)(enUSPickers);

/***/ },

/***/ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/locales/utils/getPickersLocalization.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/locales/utils/getPickersLocalization.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPickersLocalization: () => (/* binding */ getPickersLocalization)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");

const getPickersLocalization = pickersTranslations => {
  return {
    components: {
      MuiLocalizationProvider: {
        defaultProps: {
          localeText: (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, pickersTranslations)
        }
      }
    }
  };
};

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createPopper: () => (/* binding */ createPopper),
/* harmony export */   detectOverflow: () => (/* reexport safe */ _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
/* harmony export */   popperGenerator: () => (/* binding */ popperGenerator)
/* harmony export */ });
/* harmony import */ var _dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom-utils/getCompositeRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js");
/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-utils/getLayoutRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js");
/* harmony import */ var _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dom-utils/listScrollParents.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js");
/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dom-utils/getOffsetParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
/* harmony import */ var _utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/orderModifiers.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.js");
/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/debounce.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.js");
/* harmony import */ var _utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/mergeByName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.js");
/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/detectOverflow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js");
/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dom-utils/instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");









var DEFAULT_OPTIONS = {
  placement: 'bottom',
  modifiers: [],
  strategy: 'absolute'
};

function areValidElements() {
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
    args[_key] = arguments[_key];
  }

  return !args.some(function (element) {
    return !(element && typeof element.getBoundingClientRect === 'function');
  });
}

function popperGenerator(generatorOptions) {
  if (generatorOptions === void 0) {
    generatorOptions = {};
  }

  var _generatorOptions = generatorOptions,
      _generatorOptions$def = _generatorOptions.defaultModifiers,
      defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
      _generatorOptions$def2 = _generatorOptions.defaultOptions,
      defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
  return function createPopper(reference, popper, options) {
    if (options === void 0) {
      options = defaultOptions;
    }

    var state = {
      placement: 'bottom',
      orderedModifiers: [],
      options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
      modifiersData: {},
      elements: {
        reference: reference,
        popper: popper
      },
      attributes: {},
      styles: {}
    };
    var effectCleanupFns = [];
    var isDestroyed = false;
    var instance = {
      state: state,
      setOptions: function setOptions(setOptionsAction) {
        var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
        cleanupModifierEffects();
        state.options = Object.assign({}, defaultOptions, state.options, options);
        state.scrollParents = {
          reference: (0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_8__.isElement)(reference) ? (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__["default"])(reference) : reference.contextElement ? (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__["default"])(reference.contextElement) : [],
          popper: (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__["default"])(popper)
        }; // Orders the modifiers based on their dependencies and `phase`
        // properties

        var orderedModifiers = (0,_utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_4__["default"])((0,_utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_6__["default"])([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers

        state.orderedModifiers = orderedModifiers.filter(function (m) {
          return m.enabled;
        });
        runModifierEffects();
        return instance.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 forceUpdate() {
        if (isDestroyed) {
          return;
        }

        var _state$elements = state.elements,
            reference = _state$elements.reference,
            popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
        // anymore

        if (!areValidElements(reference, popper)) {
          return;
        } // Store the reference and popper rects to be read by modifiers


        state.rects = {
          reference: (0,_dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(reference, (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__["default"])(popper), state.options.strategy === 'fixed'),
          popper: (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__["default"])(popper)
        }; // Modifiers have the ability to reset the current update cycle. The
        // most common use case for this is the `flip` modifier changing the
        // placement, which then needs to re-run all the modifiers, because the
        // logic was previously ran for the previous placement and is therefore
        // stale/incorrect

        state.reset = false;
        state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
        // is filled with the initial data specified by the modifier. This means
        // it doesn't persist and is fresh on each update.
        // To ensure persistent data, use `${name}#persistent`

        state.orderedModifiers.forEach(function (modifier) {
          return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
        });

        for (var index = 0; index < state.orderedModifiers.length; index++) {
          if (state.reset === true) {
            state.reset = false;
            index = -1;
            continue;
          }

          var _state$orderedModifie = state.orderedModifiers[index],
              fn = _state$orderedModifie.fn,
              _state$orderedModifie2 = _state$orderedModifie.options,
              _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
              name = _state$orderedModifie.name;

          if (typeof fn === 'function') {
            state = fn({
              state: state,
              options: _options,
              name: name,
              instance: instance
            }) || state;
          }
        }
      },
      // Async and optimistically optimized update – it will not be executed if
      // not necessary (debounced to run at most once-per-tick)
      update: (0,_utils_debounce_js__WEBPACK_IMPORTED_MODULE_5__["default"])(function () {
        return new Promise(function (resolve) {
          instance.forceUpdate();
          resolve(state);
        });
      }),
      destroy: function destroy() {
        cleanupModifierEffects();
        isDestroyed = true;
      }
    };

    if (!areValidElements(reference, popper)) {
      return instance;
    }

    instance.setOptions(options).then(function (state) {
      if (!isDestroyed && options.onFirstUpdate) {
        options.onFirstUpdate(state);
      }
    }); // Modifiers have the ability to execute arbitrary code before the first
    // update cycle runs. They will be executed in the same order as the update
    // cycle. This is useful when a modifier adds some persistent data that
    // other modifiers need to use, but the modifier is run after the dependent
    // one.

    function runModifierEffects() {
      state.orderedModifiers.forEach(function (_ref) {
        var name = _ref.name,
            _ref$options = _ref.options,
            options = _ref$options === void 0 ? {} : _ref$options,
            effect = _ref.effect;

        if (typeof effect === 'function') {
          var cleanupFn = effect({
            state: state,
            name: name,
            instance: instance,
            options: options
          });

          var noopFn = function noopFn() {};

          effectCleanupFns.push(cleanupFn || noopFn);
        }
      });
    }

    function cleanupModifierEffects() {
      effectCleanupFns.forEach(function (fn) {
        return fn();
      });
      effectCleanupFns = [];
    }

    return instance;
  };
}
var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules



/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ contains)
/* harmony export */ });
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");

function contains(parent, child) {
  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method

  if (parent.contains(child)) {
    return true;
  } // then fallback to custom implementation with Shadow DOM support
  else if (rootNode && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isShadowRoot)(rootNode)) {
      var next = child;

      do {
        if (next && parent.isSameNode(next)) {
          return true;
        } // $FlowFixMe[prop-missing]: need a better way to handle this...


        next = next.parentNode || next.host;
      } while (next);
    } // Give up, the result is false


  return false;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js"
/*!*********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js ***!
  \*********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getBoundingClientRect)
/* harmony export */ });
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js");
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
/* harmony import */ var _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isLayoutViewport.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js");




function getBoundingClientRect(element, includeScale, isFixedStrategy) {
  if (includeScale === void 0) {
    includeScale = false;
  }

  if (isFixedStrategy === void 0) {
    isFixedStrategy = false;
  }

  var clientRect = element.getBoundingClientRect();
  var scaleX = 1;
  var scaleY = 1;

  if (includeScale && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element)) {
    scaleX = element.offsetWidth > 0 ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)(clientRect.width) / element.offsetWidth || 1 : 1;
    scaleY = element.offsetHeight > 0 ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)(clientRect.height) / element.offsetHeight || 1 : 1;
  }

  var _ref = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(element) ? (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element) : window,
      visualViewport = _ref.visualViewport;

  var addVisualOffsets = !(0,_isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__["default"])() && isFixedStrategy;
  var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
  var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
  var width = clientRect.width / scaleX;
  var height = clientRect.height / scaleY;
  return {
    width: width,
    height: height,
    top: y,
    right: x + width,
    bottom: y + height,
    left: x,
    x: x,
    y: y
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getClippingRect)
/* harmony export */ });
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
/* harmony import */ var _getViewportRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getViewportRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js");
/* harmony import */ var _getDocumentRect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getDocumentRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js");
/* harmony import */ var _listScrollParents_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./listScrollParents.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js");
/* harmony import */ var _getOffsetParent_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getOffsetParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./contains.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.js");
/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
/* harmony import */ var _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/rectToClientRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.js");
/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js");















function getInnerBoundingClientRect(element, strategy) {
  var rect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_8__["default"])(element, false, strategy === 'fixed');
  rect.top = rect.top + element.clientTop;
  rect.left = rect.left + element.clientLeft;
  rect.bottom = rect.top + element.clientHeight;
  rect.right = rect.left + element.clientWidth;
  rect.width = element.clientWidth;
  rect.height = element.clientHeight;
  rect.x = rect.left;
  rect.y = rect.top;
  return rect;
}

function getClientRectFromMixedType(element, clippingParent, strategy) {
  return clippingParent === _enums_js__WEBPACK_IMPORTED_MODULE_0__.viewport ? (0,_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__["default"])((0,_getViewportRect_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element, strategy)) : (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__.isElement)(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : (0,_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__["default"])((0,_getDocumentRect_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__["default"])(element)));
} // A "clipping parent" is an overflowable container with the characteristic of
// clipping (or hiding) overflowing elements with a position different from
// `initial`


function getClippingParents(element) {
  var clippingParents = (0,_listScrollParents_js__WEBPACK_IMPORTED_MODULE_3__["default"])((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_9__["default"])(element));
  var canEscapeClipping = ['absolute', 'fixed'].indexOf((0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_6__["default"])(element).position) >= 0;
  var clipperElement = canEscapeClipping && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__.isHTMLElement)(element) ? (0,_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_4__["default"])(element) : element;

  if (!(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__.isElement)(clipperElement)) {
    return [];
  } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414


  return clippingParents.filter(function (clippingParent) {
    return (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__.isElement)(clippingParent) && (0,_contains_js__WEBPACK_IMPORTED_MODULE_10__["default"])(clippingParent, clipperElement) && (0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_11__["default"])(clippingParent) !== 'body';
  });
} // Gets the maximum area that the element is visible in due to any number of
// clipping parents


function getClippingRect(element, boundary, rootBoundary, strategy) {
  var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
  var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
  var firstClippingParent = clippingParents[0];
  var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
    var rect = getClientRectFromMixedType(element, clippingParent, strategy);
    accRect.top = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)(rect.top, accRect.top);
    accRect.right = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)(rect.right, accRect.right);
    accRect.bottom = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)(rect.bottom, accRect.bottom);
    accRect.left = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)(rect.left, accRect.left);
    return accRect;
  }, getClientRectFromMixedType(element, firstClippingParent, strategy));
  clippingRect.width = clippingRect.right - clippingRect.left;
  clippingRect.height = clippingRect.bottom - clippingRect.top;
  clippingRect.x = clippingRect.left;
  clippingRect.y = clippingRect.top;
  return clippingRect;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getCompositeRect)
/* harmony export */ });
/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
/* harmony import */ var _getNodeScroll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getNodeScroll.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js");
/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js");
/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isScrollParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js");
/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js");









function isElementScaled(element) {
  var rect = element.getBoundingClientRect();
  var scaleX = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_7__.round)(rect.width) / element.offsetWidth || 1;
  var scaleY = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_7__.round)(rect.height) / element.offsetHeight || 1;
  return scaleX !== 1 || scaleY !== 1;
} // Returns the composite rect of an element relative to its offsetParent.
// Composite means it takes into account transforms as well as layout.


function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
  if (isFixed === void 0) {
    isFixed = false;
  }

  var isOffsetParentAnElement = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isHTMLElement)(offsetParent);
  var offsetParentIsScaled = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isHTMLElement)(offsetParent) && isElementScaled(offsetParent);
  var documentElement = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__["default"])(offsetParent);
  var rect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(elementOrVirtualElement, offsetParentIsScaled, isFixed);
  var scroll = {
    scrollLeft: 0,
    scrollTop: 0
  };
  var offsets = {
    x: 0,
    y: 0
  };

  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
    if ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__["default"])(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
    (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_6__["default"])(documentElement)) {
      scroll = (0,_getNodeScroll_js__WEBPACK_IMPORTED_MODULE_1__["default"])(offsetParent);
    }

    if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isHTMLElement)(offsetParent)) {
      offsets = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(offsetParent, true);
      offsets.x += offsetParent.clientLeft;
      offsets.y += offsetParent.clientTop;
    } else if (documentElement) {
      offsets.x = (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_4__["default"])(documentElement);
    }
  }

  return {
    x: rect.left + scroll.scrollLeft - offsets.x,
    y: rect.top + scroll.scrollTop - offsets.y,
    width: rect.width,
    height: rect.height
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getComputedStyle)
/* harmony export */ });
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");

function getComputedStyle(element) {
  return (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element).getComputedStyle(element);
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js"
/*!******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js ***!
  \******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getDocumentElement)
/* harmony export */ });
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");

function getDocumentElement(element) {
  // $FlowFixMe[incompatible-return]: assume body is always available
  return (((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
  element.document) || window.document).documentElement;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getDocumentRect)
/* harmony export */ });
/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js");
/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindowScroll.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js");
/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js");




 // Gets the entire size of the scrollable document area, even extending outside
// of the `<html>` and `<body>` rect bounds if horizontally scrollable

function getDocumentRect(element) {
  var _element$ownerDocumen;

  var html = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element);
  var winScroll = (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element);
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
  var width = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_4__.max)(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
  var height = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_4__.max)(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
  var x = -winScroll.scrollLeft + (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element);
  var y = -winScroll.scrollTop;

  if ((0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(body || html).direction === 'rtl') {
    x += (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_4__.max)(html.clientWidth, body ? body.clientWidth : 0) - width;
  }

  return {
    width: width,
    height: height,
    x: x,
    y: y
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js"
/*!********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js ***!
  \********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getHTMLElementScroll)
/* harmony export */ });
function getHTMLElementScroll(element) {
  return {
    scrollLeft: element.scrollLeft,
    scrollTop: element.scrollTop
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getLayoutRect)
/* harmony export */ });
/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
 // Returns the layout rect of an element relative to its offsetParent. Layout
// means it doesn't take into account transforms.

function getLayoutRect(element) {
  var clientRect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element); // Use the clientRect sizes if it's not been transformed.
  // Fixes https://github.com/popperjs/popper-core/issues/1223

  var width = element.offsetWidth;
  var height = element.offsetHeight;

  if (Math.abs(clientRect.width - width) <= 1) {
    width = clientRect.width;
  }

  if (Math.abs(clientRect.height - height) <= 1) {
    height = clientRect.height;
  }

  return {
    x: element.offsetLeft,
    y: element.offsetTop,
    width: width,
    height: height
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getNodeName)
/* harmony export */ });
function getNodeName(element) {
  return element ? (element.nodeName || '').toLowerCase() : null;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getNodeScroll)
/* harmony export */ });
/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindowScroll.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js");
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
/* harmony import */ var _getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getHTMLElementScroll.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js");




function getNodeScroll(node) {
  if (node === (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node) || !(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_2__.isHTMLElement)(node)) {
    return (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node);
  } else {
    return (0,_getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__["default"])(node);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getOffsetParent)
/* harmony export */ });
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
/* harmony import */ var _isTableElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isTableElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js");
/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
/* harmony import */ var _utils_userAgent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/userAgent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.js");








function getTrueOffsetParent(element) {
  if (!(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isHTMLElement)(element) || // https://github.com/popperjs/popper-core/issues/837
  (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element).position === 'fixed') {
    return null;
  }

  return element.offsetParent;
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
// return the containing block


function getContainingBlock(element) {
  var isFirefox = /firefox/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_6__["default"])());
  var isIE = /Trident/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_6__["default"])());

  if (isIE && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isHTMLElement)(element)) {
    // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
    var elementCss = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element);

    if (elementCss.position === 'fixed') {
      return null;
    }
  }

  var currentNode = (0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_5__["default"])(element);

  if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isShadowRoot)(currentNode)) {
    currentNode = currentNode.host;
  }

  while ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isHTMLElement)(currentNode) && ['html', 'body'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__["default"])(currentNode)) < 0) {
    var css = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(currentNode); // This is non-exhaustive but covers the most common CSS properties that
    // create a containing block.
    // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block

    if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
      return currentNode;
    } else {
      currentNode = currentNode.parentNode;
    }
  }

  return null;
} // Gets the closest ancestor positioned element. Handles some edge cases,
// such as table ancestors and cross browser bugs.


function getOffsetParent(element) {
  var window = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element);
  var offsetParent = getTrueOffsetParent(element);

  while (offsetParent && (0,_isTableElement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent) && (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(offsetParent).position === 'static') {
    offsetParent = getTrueOffsetParent(offsetParent);
  }

  if (offsetParent && ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__["default"])(offsetParent) === 'html' || (0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__["default"])(offsetParent) === 'body' && (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(offsetParent).position === 'static')) {
    return window;
  }

  return offsetParent || getContainingBlock(element) || window;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getParentNode)
/* harmony export */ });
/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");



function getParentNode(element) {
  if ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element) === 'html') {
    return element;
  }

  return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
    // $FlowFixMe[incompatible-return]
    // $FlowFixMe[prop-missing]
    element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
    element.parentNode || ( // DOM Element detected
    (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_2__.isShadowRoot)(element) ? element.host : null) || // ShadowRoot detected
    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
    (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element) // fallback

  );
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getScrollParent)
/* harmony export */ });
/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isScrollParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js");
/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");




function getScrollParent(node) {
  if (['html', 'body', '#document'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__["default"])(node)) >= 0) {
    // $FlowFixMe[incompatible-return]: assume body is always available
    return node.ownerDocument.body;
  }

  if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__.isHTMLElement)(node) && (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node)) {
    return node;
  }

  return getScrollParent((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node));
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getViewportRect)
/* harmony export */ });
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js");
/* harmony import */ var _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isLayoutViewport.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js");




function getViewportRect(element, strategy) {
  var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element);
  var html = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element);
  var visualViewport = win.visualViewport;
  var width = html.clientWidth;
  var height = html.clientHeight;
  var x = 0;
  var y = 0;

  if (visualViewport) {
    width = visualViewport.width;
    height = visualViewport.height;
    var layoutViewport = (0,_isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__["default"])();

    if (layoutViewport || !layoutViewport && strategy === 'fixed') {
      x = visualViewport.offsetLeft;
      y = visualViewport.offsetTop;
    }
  }

  return {
    width: width,
    height: height,
    x: x + (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element),
    y: y
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getWindow)
/* harmony export */ });
function getWindow(node) {
  if (node == null) {
    return window;
  }

  if (node.toString() !== '[object Window]') {
    var ownerDocument = node.ownerDocument;
    return ownerDocument ? ownerDocument.defaultView || window : window;
  }

  return node;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getWindowScroll)
/* harmony export */ });
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");

function getWindowScroll(node) {
  var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node);
  var scrollLeft = win.pageXOffset;
  var scrollTop = win.pageYOffset;
  return {
    scrollLeft: scrollLeft,
    scrollTop: scrollTop
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js ***!
  \*******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getWindowScrollBarX)
/* harmony export */ });
/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScroll.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js");



function getWindowScrollBarX(element) {
  // If <html> has a CSS width greater than the viewport, then this will be
  // incorrect for RTL.
  // Popper 1 is broken in this case and never had a bug report so let's assume
  // it's not an issue. I don't think anyone ever specifies width on <html>
  // anyway.
  // Browsers where the left scrollbar doesn't cause an issue report `0` for
  // this (e.g. Edge 2019, IE11, Safari)
  return (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element)).left + (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element).scrollLeft;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   isElement: () => (/* binding */ isElement),
/* harmony export */   isHTMLElement: () => (/* binding */ isHTMLElement),
/* harmony export */   isShadowRoot: () => (/* binding */ isShadowRoot)
/* harmony export */ });
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");


function isElement(node) {
  var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).Element;
  return node instanceof OwnElement || node instanceof Element;
}

function isHTMLElement(node) {
  var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).HTMLElement;
  return node instanceof OwnElement || node instanceof HTMLElement;
}

function isShadowRoot(node) {
  // IE 11 has no ShadowRoot
  if (typeof ShadowRoot === 'undefined') {
    return false;
  }

  var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).ShadowRoot;
  return node instanceof OwnElement || node instanceof ShadowRoot;
}



/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isLayoutViewport)
/* harmony export */ });
/* harmony import */ var _utils_userAgent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/userAgent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.js");

function isLayoutViewport() {
  return !/^((?!chrome|android).)*safari/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_0__["default"])());
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isScrollParent)
/* harmony export */ });
/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getComputedStyle.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");

function isScrollParent(element) {
  // Firefox wants us to check `-x` and `-y` variations as well
  var _getComputedStyle = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element),
      overflow = _getComputedStyle.overflow,
      overflowX = _getComputedStyle.overflowX,
      overflowY = _getComputedStyle.overflowY;

  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isTableElement)
/* harmony export */ });
/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");

function isTableElement(element) {
  return ['table', 'td', 'th'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element)) >= 0;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ listScrollParents)
/* harmony export */ });
/* harmony import */ var _getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getScrollParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js");
/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getParentNode.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js");
/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isScrollParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js");




/*
given a DOM element, return the list of all scroll parents, up the list of ancesors
until we get to the top window object. This list is what we attach scroll listeners
to, because if any of these parent elements scroll, we'll need to re-calculate the
reference element's position.
*/

function listScrollParents(element, list) {
  var _element$ownerDocumen;

  if (list === void 0) {
    list = [];
  }

  var scrollParent = (0,_getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element);
  var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
  var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(scrollParent);
  var target = isBody ? [win].concat(win.visualViewport || [], (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_3__["default"])(scrollParent) ? scrollParent : []) : scrollParent;
  var updatedList = list.concat(target);
  return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
  updatedList.concat(listScrollParents((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_1__["default"])(target)));
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   afterMain: () => (/* binding */ afterMain),
/* harmony export */   afterRead: () => (/* binding */ afterRead),
/* harmony export */   afterWrite: () => (/* binding */ afterWrite),
/* harmony export */   auto: () => (/* binding */ auto),
/* harmony export */   basePlacements: () => (/* binding */ basePlacements),
/* harmony export */   beforeMain: () => (/* binding */ beforeMain),
/* harmony export */   beforeRead: () => (/* binding */ beforeRead),
/* harmony export */   beforeWrite: () => (/* binding */ beforeWrite),
/* harmony export */   bottom: () => (/* binding */ bottom),
/* harmony export */   clippingParents: () => (/* binding */ clippingParents),
/* harmony export */   end: () => (/* binding */ end),
/* harmony export */   left: () => (/* binding */ left),
/* harmony export */   main: () => (/* binding */ main),
/* harmony export */   modifierPhases: () => (/* binding */ modifierPhases),
/* harmony export */   placements: () => (/* binding */ placements),
/* harmony export */   popper: () => (/* binding */ popper),
/* harmony export */   read: () => (/* binding */ read),
/* harmony export */   reference: () => (/* binding */ reference),
/* harmony export */   right: () => (/* binding */ right),
/* harmony export */   start: () => (/* binding */ start),
/* harmony export */   top: () => (/* binding */ top),
/* harmony export */   variationPlacements: () => (/* binding */ variationPlacements),
/* harmony export */   viewport: () => (/* binding */ viewport),
/* harmony export */   write: () => (/* binding */ write)
/* harmony export */ });
var top = 'top';
var bottom = 'bottom';
var right = 'right';
var left = 'left';
var auto = 'auto';
var basePlacements = [top, bottom, right, left];
var start = 'start';
var end = 'end';
var clippingParents = 'clippingParents';
var viewport = 'viewport';
var popper = 'popper';
var reference = 'reference';
var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
  return acc.concat([placement + "-" + start, placement + "-" + end]);
}, []);
var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
  return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
}, []); // modifiers that need to read the DOM

var beforeRead = 'beforeRead';
var read = 'read';
var afterRead = 'afterRead'; // pure-logic modifiers

var beforeMain = 'beforeMain';
var main = 'main';
var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)

var beforeWrite = 'beforeWrite';
var write = 'write';
var afterWrite = 'afterWrite';
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getNodeName.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js");
/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");

 // This modifier takes the styles prepared by the `computeStyles` modifier
// and applies them to the HTMLElements such as popper and arrow

function applyStyles(_ref) {
  var state = _ref.state;
  Object.keys(state.elements).forEach(function (name) {
    var style = state.styles[name] || {};
    var attributes = state.attributes[name] || {};
    var element = state.elements[name]; // arrow is optional + virtual elements

    if (!(0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(element) || !(0,_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element)) {
      return;
    } // Flow doesn't support to extend this property, but it's the most
    // effective way to apply styles to an HTMLElement
    // $FlowFixMe[cannot-write]


    Object.assign(element.style, style);
    Object.keys(attributes).forEach(function (name) {
      var value = attributes[name];

      if (value === false) {
        element.removeAttribute(name);
      } else {
        element.setAttribute(name, value === true ? '' : value);
      }
    });
  });
}

function effect(_ref2) {
  var state = _ref2.state;
  var initialStyles = {
    popper: {
      position: state.options.strategy,
      left: '0',
      top: '0',
      margin: '0'
    },
    arrow: {
      position: 'absolute'
    },
    reference: {}
  };
  Object.assign(state.elements.popper.style, initialStyles.popper);
  state.styles = initialStyles;

  if (state.elements.arrow) {
    Object.assign(state.elements.arrow.style, initialStyles.arrow);
  }

  return function () {
    Object.keys(state.elements).forEach(function (name) {
      var element = state.elements[name];
      var attributes = state.attributes[name] || {};
      var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them

      var style = styleProperties.reduce(function (style, property) {
        style[property] = '';
        return style;
      }, {}); // arrow is optional + virtual elements

      if (!(0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(element) || !(0,_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element)) {
        return;
      }

      Object.assign(element.style, style);
      Object.keys(attributes).forEach(function (attribute) {
        element.removeAttribute(attribute);
      });
    });
  };
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'applyStyles',
  enabled: true,
  phase: 'write',
  fn: applyStyles,
  effect: effect,
  requires: ['computeStyles']
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js");
/* harmony import */ var _dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/contains.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.js");
/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js");
/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/within.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/within.js");
/* harmony import */ var _utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/mergePaddingObject.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js");
/* harmony import */ var _utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/expandToHashMap.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.js");
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");








 // eslint-disable-next-line import/no-unused-modules

var toPaddingObject = function toPaddingObject(padding, state) {
  padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
    placement: state.placement
  })) : padding;
  return (0,_utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_6__["default"])(typeof padding !== 'number' ? padding : (0,_utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_7__["default"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_8__.basePlacements));
};

function arrow(_ref) {
  var _state$modifiersData$;

  var state = _ref.state,
      name = _ref.name,
      options = _ref.options;
  var arrowElement = state.elements.arrow;
  var popperOffsets = state.modifiersData.popperOffsets;
  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(state.placement);
  var axis = (0,_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(basePlacement);
  var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_8__.left, _enums_js__WEBPACK_IMPORTED_MODULE_8__.right].indexOf(basePlacement) >= 0;
  var len = isVertical ? 'height' : 'width';

  if (!arrowElement || !popperOffsets) {
    return;
  }

  var paddingObject = toPaddingObject(options.padding, state);
  var arrowRect = (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__["default"])(arrowElement);
  var minProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_8__.top : _enums_js__WEBPACK_IMPORTED_MODULE_8__.left;
  var maxProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_8__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_8__.right;
  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
  var startDiff = popperOffsets[axis] - state.rects.reference[axis];
  var arrowOffsetParent = (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__["default"])(arrowElement);
  var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
  // outside of the popper bounds

  var min = paddingObject[minProp];
  var max = clientSize - arrowRect[len] - paddingObject[maxProp];
  var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
  var offset = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_5__.within)(min, center, max); // Prevents breaking syntax highlighting...

  var axisProp = axis;
  state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
}

function effect(_ref2) {
  var state = _ref2.state,
      options = _ref2.options;
  var _options$element = options.element,
      arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;

  if (arrowElement == null) {
    return;
  } // CSS selector


  if (typeof arrowElement === 'string') {
    arrowElement = state.elements.popper.querySelector(arrowElement);

    if (!arrowElement) {
      return;
    }
  }

  if (!(0,_dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_2__["default"])(state.elements.popper, arrowElement)) {
    return;
  }

  state.elements.arrow = arrowElement;
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'arrow',
  enabled: true,
  phase: 'main',
  fn: arrow,
  effect: effect,
  requires: ['popperOffsets'],
  requiresIfExists: ['preventOverflow']
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   mapToStyles: () => (/* binding */ mapToStyles)
/* harmony export */ });
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dom-utils/getComputedStyle.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js");
/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/getVariation.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js");
/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js");







 // eslint-disable-next-line import/no-unused-modules

var unsetSides = {
  top: 'auto',
  right: 'auto',
  bottom: 'auto',
  left: 'auto'
}; // Round the offsets to the nearest suitable subpixel based on the DPR.
// Zooming can change the DPR, but it seems to report a value that will
// cleanly divide the values into the appropriate subpixels.

function roundOffsetsByDPR(_ref, win) {
  var x = _ref.x,
      y = _ref.y;
  var dpr = win.devicePixelRatio || 1;
  return {
    x: (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_7__.round)(x * dpr) / dpr || 0,
    y: (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_7__.round)(y * dpr) / dpr || 0
  };
}

function mapToStyles(_ref2) {
  var _Object$assign2;

  var popper = _ref2.popper,
      popperRect = _ref2.popperRect,
      placement = _ref2.placement,
      variation = _ref2.variation,
      offsets = _ref2.offsets,
      position = _ref2.position,
      gpuAcceleration = _ref2.gpuAcceleration,
      adaptive = _ref2.adaptive,
      roundOffsets = _ref2.roundOffsets,
      isFixed = _ref2.isFixed;
  var _offsets$x = offsets.x,
      x = _offsets$x === void 0 ? 0 : _offsets$x,
      _offsets$y = offsets.y,
      y = _offsets$y === void 0 ? 0 : _offsets$y;

  var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
    x: x,
    y: y
  }) : {
    x: x,
    y: y
  };

  x = _ref3.x;
  y = _ref3.y;
  var hasX = offsets.hasOwnProperty('x');
  var hasY = offsets.hasOwnProperty('y');
  var sideX = _enums_js__WEBPACK_IMPORTED_MODULE_0__.left;
  var sideY = _enums_js__WEBPACK_IMPORTED_MODULE_0__.top;
  var win = window;

  if (adaptive) {
    var offsetParent = (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_1__["default"])(popper);
    var heightProp = 'clientHeight';
    var widthProp = 'clientWidth';

    if (offsetParent === (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(popper)) {
      offsetParent = (0,_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(popper);

      if ((0,_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent).position !== 'static' && position === 'absolute') {
        heightProp = 'scrollHeight';
        widthProp = 'scrollWidth';
      }
    } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it


    offsetParent = offsetParent;

    if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__.top || (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__.left || placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__.right) && variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__.end) {
      sideY = _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom;
      var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
      offsetParent[heightProp];
      y -= offsetY - popperRect.height;
      y *= gpuAcceleration ? 1 : -1;
    }

    if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__.left || (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__.top || placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom) && variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__.end) {
      sideX = _enums_js__WEBPACK_IMPORTED_MODULE_0__.right;
      var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
      offsetParent[widthProp];
      x -= offsetX - popperRect.width;
      x *= gpuAcceleration ? 1 : -1;
    }
  }

  var commonStyles = Object.assign({
    position: position
  }, adaptive && unsetSides);

  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
    x: x,
    y: y
  }, (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(popper)) : {
    x: x,
    y: y
  };

  x = _ref4.x;
  y = _ref4.y;

  if (gpuAcceleration) {
    var _Object$assign;

    return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
  }

  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
}

function computeStyles(_ref5) {
  var state = _ref5.state,
      options = _ref5.options;
  var _options$gpuAccelerat = options.gpuAcceleration,
      gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
      _options$adaptive = options.adaptive,
      adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
      _options$roundOffsets = options.roundOffsets,
      roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
  var commonStyles = {
    placement: (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_5__["default"])(state.placement),
    variation: (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state.placement),
    popper: state.elements.popper,
    popperRect: state.rects.popper,
    gpuAcceleration: gpuAcceleration,
    isFixed: state.options.strategy === 'fixed'
  };

  if (state.modifiersData.popperOffsets != null) {
    state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
      offsets: state.modifiersData.popperOffsets,
      position: state.options.strategy,
      adaptive: adaptive,
      roundOffsets: roundOffsets
    })));
  }

  if (state.modifiersData.arrow != null) {
    state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
      offsets: state.modifiersData.arrow,
      position: 'absolute',
      adaptive: false,
      roundOffsets: roundOffsets
    })));
  }

  state.attributes.popper = Object.assign({}, state.attributes.popper, {
    'data-popper-placement': state.placement
  });
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'computeStyles',
  enabled: true,
  phase: 'beforeWrite',
  fn: computeStyles,
  data: {}
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js");
 // eslint-disable-next-line import/no-unused-modules

var passive = {
  passive: true
};

function effect(_ref) {
  var state = _ref.state,
      instance = _ref.instance,
      options = _ref.options;
  var _options$scroll = options.scroll,
      scroll = _options$scroll === void 0 ? true : _options$scroll,
      _options$resize = options.resize,
      resize = _options$resize === void 0 ? true : _options$resize;
  var window = (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(state.elements.popper);
  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);

  if (scroll) {
    scrollParents.forEach(function (scrollParent) {
      scrollParent.addEventListener('scroll', instance.update, passive);
    });
  }

  if (resize) {
    window.addEventListener('resize', instance.update, passive);
  }

  return function () {
    if (scroll) {
      scrollParents.forEach(function (scrollParent) {
        scrollParent.removeEventListener('scroll', instance.update, passive);
      });
    }

    if (resize) {
      window.removeEventListener('resize', instance.update, passive);
    }
  };
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'eventListeners',
  enabled: true,
  phase: 'write',
  fn: function fn() {},
  effect: effect,
  data: {}
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getOppositePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js");
/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
/* harmony import */ var _utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getOppositeVariationPlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js");
/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/detectOverflow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js");
/* harmony import */ var _utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/computeAutoPlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js");
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/getVariation.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js");






 // eslint-disable-next-line import/no-unused-modules

function getExpandedFallbackPlacements(placement) {
  if ((0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__.auto) {
    return [];
  }

  var oppositePlacement = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement);
  return [(0,_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(placement), oppositePlacement, (0,_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(oppositePlacement)];
}

function flip(_ref) {
  var state = _ref.state,
      options = _ref.options,
      name = _ref.name;

  if (state.modifiersData[name]._skip) {
    return;
  }

  var _options$mainAxis = options.mainAxis,
      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
      _options$altAxis = options.altAxis,
      checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
      specifiedFallbackPlacements = options.fallbackPlacements,
      padding = options.padding,
      boundary = options.boundary,
      rootBoundary = options.rootBoundary,
      altBoundary = options.altBoundary,
      _options$flipVariatio = options.flipVariations,
      flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
      allowedAutoPlacements = options.allowedAutoPlacements;
  var preferredPlacement = state.options.placement;
  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(preferredPlacement);
  var isBasePlacement = basePlacement === preferredPlacement;
  var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [(0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
  var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
    return acc.concat((0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__.auto ? (0,_utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(state, {
      placement: placement,
      boundary: boundary,
      rootBoundary: rootBoundary,
      padding: padding,
      flipVariations: flipVariations,
      allowedAutoPlacements: allowedAutoPlacements
    }) : placement);
  }, []);
  var referenceRect = state.rects.reference;
  var popperRect = state.rects.popper;
  var checksMap = new Map();
  var makeFallbackChecks = true;
  var firstFittingPlacement = placements[0];

  for (var i = 0; i < placements.length; i++) {
    var placement = placements[i];

    var _basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement);

    var isStartVariation = (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__.start;
    var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_5__.top, _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom].indexOf(_basePlacement) >= 0;
    var len = isVertical ? 'width' : 'height';
    var overflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_3__["default"])(state, {
      placement: placement,
      boundary: boundary,
      rootBoundary: rootBoundary,
      altBoundary: altBoundary,
      padding: padding
    });
    var mainVariationSide = isVertical ? isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.right : _enums_js__WEBPACK_IMPORTED_MODULE_5__.left : isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_5__.top;

    if (referenceRect[len] > popperRect[len]) {
      mainVariationSide = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(mainVariationSide);
    }

    var altVariationSide = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(mainVariationSide);
    var checks = [];

    if (checkMainAxis) {
      checks.push(overflow[_basePlacement] <= 0);
    }

    if (checkAltAxis) {
      checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
    }

    if (checks.every(function (check) {
      return check;
    })) {
      firstFittingPlacement = placement;
      makeFallbackChecks = false;
      break;
    }

    checksMap.set(placement, checks);
  }

  if (makeFallbackChecks) {
    // `2` may be desired in some cases – research later
    var numberOfChecks = flipVariations ? 3 : 1;

    var _loop = function _loop(_i) {
      var fittingPlacement = placements.find(function (placement) {
        var checks = checksMap.get(placement);

        if (checks) {
          return checks.slice(0, _i).every(function (check) {
            return check;
          });
        }
      });

      if (fittingPlacement) {
        firstFittingPlacement = fittingPlacement;
        return "break";
      }
    };

    for (var _i = numberOfChecks; _i > 0; _i--) {
      var _ret = _loop(_i);

      if (_ret === "break") break;
    }
  }

  if (state.placement !== firstFittingPlacement) {
    state.modifiersData[name]._skip = true;
    state.placement = firstFittingPlacement;
    state.reset = true;
  }
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'flip',
  enabled: true,
  phase: 'main',
  fn: flip,
  requiresIfExists: ['offset'],
  data: {
    _skip: false
  }
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/detectOverflow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js");



function getSideOffsets(overflow, rect, preventedOffsets) {
  if (preventedOffsets === void 0) {
    preventedOffsets = {
      x: 0,
      y: 0
    };
  }

  return {
    top: overflow.top - rect.height - preventedOffsets.y,
    right: overflow.right - rect.width + preventedOffsets.x,
    bottom: overflow.bottom - rect.height + preventedOffsets.y,
    left: overflow.left - rect.width - preventedOffsets.x
  };
}

function isAnySideFullyClipped(overflow) {
  return [_enums_js__WEBPACK_IMPORTED_MODULE_0__.top, _enums_js__WEBPACK_IMPORTED_MODULE_0__.right, _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom, _enums_js__WEBPACK_IMPORTED_MODULE_0__.left].some(function (side) {
    return overflow[side] >= 0;
  });
}

function hide(_ref) {
  var state = _ref.state,
      name = _ref.name;
  var referenceRect = state.rects.reference;
  var popperRect = state.rects.popper;
  var preventedOffsets = state.modifiersData.preventOverflow;
  var referenceOverflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state, {
    elementContext: 'reference'
  });
  var popperAltOverflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state, {
    altBoundary: true
  });
  var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
  var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
  var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
  var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
  state.modifiersData[name] = {
    referenceClippingOffsets: referenceClippingOffsets,
    popperEscapeOffsets: popperEscapeOffsets,
    isReferenceHidden: isReferenceHidden,
    hasPopperEscaped: hasPopperEscaped
  };
  state.attributes.popper = Object.assign({}, state.attributes.popper, {
    'data-popper-reference-hidden': isReferenceHidden,
    'data-popper-escaped': hasPopperEscaped
  });
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'hide',
  enabled: true,
  phase: 'main',
  requiresIfExists: ['preventOverflow'],
  fn: hide
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyStyles: () => (/* reexport safe */ _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   arrow: () => (/* reexport safe */ _arrow_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   computeStyles: () => (/* reexport safe */ _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */   eventListeners: () => (/* reexport safe */ _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
/* harmony export */   flip: () => (/* reexport safe */ _flip_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
/* harmony export */   hide: () => (/* reexport safe */ _hide_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   offset: () => (/* reexport safe */ _offset_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
/* harmony export */   popperOffsets: () => (/* reexport safe */ _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
/* harmony export */   preventOverflow: () => (/* reexport safe */ _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__["default"])
/* harmony export */ });
/* harmony import */ var _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./applyStyles.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js");
/* harmony import */ var _arrow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./arrow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.js");
/* harmony import */ var _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./computeStyles.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js");
/* harmony import */ var _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./eventListeners.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.js");
/* harmony import */ var _flip_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./flip.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.js");
/* harmony import */ var _hide_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hide.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.js");
/* harmony import */ var _offset_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./offset.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.js");
/* harmony import */ var _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./popperOffsets.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js");
/* harmony import */ var _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./preventOverflow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js");










/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   distanceAndSkiddingToXY: () => (/* binding */ distanceAndSkiddingToXY)
/* harmony export */ });
/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");

 // eslint-disable-next-line import/no-unused-modules

function distanceAndSkiddingToXY(placement, rects, offset) {
  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement);
  var invertDistance = [_enums_js__WEBPACK_IMPORTED_MODULE_1__.left, _enums_js__WEBPACK_IMPORTED_MODULE_1__.top].indexOf(basePlacement) >= 0 ? -1 : 1;

  var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
    placement: placement
  })) : offset,
      skidding = _ref[0],
      distance = _ref[1];

  skidding = skidding || 0;
  distance = (distance || 0) * invertDistance;
  return [_enums_js__WEBPACK_IMPORTED_MODULE_1__.left, _enums_js__WEBPACK_IMPORTED_MODULE_1__.right].indexOf(basePlacement) >= 0 ? {
    x: distance,
    y: skidding
  } : {
    x: skidding,
    y: distance
  };
}

function offset(_ref2) {
  var state = _ref2.state,
      options = _ref2.options,
      name = _ref2.name;
  var _options$offset = options.offset,
      offset = _options$offset === void 0 ? [0, 0] : _options$offset;
  var data = _enums_js__WEBPACK_IMPORTED_MODULE_1__.placements.reduce(function (acc, placement) {
    acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
    return acc;
  }, {});
  var _data$state$placement = data[state.placement],
      x = _data$state$placement.x,
      y = _data$state$placement.y;

  if (state.modifiersData.popperOffsets != null) {
    state.modifiersData.popperOffsets.x += x;
    state.modifiersData.popperOffsets.y += y;
  }

  state.modifiersData[name] = data;
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'offset',
  enabled: true,
  phase: 'main',
  requires: ['popperOffsets'],
  fn: offset
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/computeOffsets.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.js");


function popperOffsets(_ref) {
  var state = _ref.state,
      name = _ref.name;
  // Offsets are the actual position the popper needs to have to be
  // properly positioned near its reference element
  // This is the most basic placement, and will be adjusted by
  // the modifiers in the next step
  state.modifiersData[name] = (0,_utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
    reference: state.rects.reference,
    element: state.rects.popper,
    strategy: 'absolute',
    placement: state.placement
  });
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'popperOffsets',
  enabled: true,
  phase: 'read',
  fn: popperOffsets,
  data: {}
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js");
/* harmony import */ var _utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getAltAxis.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.js");
/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/within.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/within.js");
/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js");
/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js");
/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/detectOverflow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js");
/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/getVariation.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js");
/* harmony import */ var _utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/getFreshSideObject.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js");
/* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/math.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js");












function preventOverflow(_ref) {
  var state = _ref.state,
      options = _ref.options,
      name = _ref.name;
  var _options$mainAxis = options.mainAxis,
      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
      _options$altAxis = options.altAxis,
      checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
      boundary = options.boundary,
      rootBoundary = options.rootBoundary,
      altBoundary = options.altBoundary,
      padding = options.padding,
      _options$tether = options.tether,
      tether = _options$tether === void 0 ? true : _options$tether,
      _options$tetherOffset = options.tetherOffset,
      tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
  var overflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__["default"])(state, {
    boundary: boundary,
    rootBoundary: rootBoundary,
    padding: padding,
    altBoundary: altBoundary
  });
  var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state.placement);
  var variation = (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_8__["default"])(state.placement);
  var isBasePlacement = !variation;
  var mainAxis = (0,_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(basePlacement);
  var altAxis = (0,_utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_3__["default"])(mainAxis);
  var popperOffsets = state.modifiersData.popperOffsets;
  var referenceRect = state.rects.reference;
  var popperRect = state.rects.popper;
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
    placement: state.placement
  })) : tetherOffset;
  var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
    mainAxis: tetherOffsetValue,
    altAxis: tetherOffsetValue
  } : Object.assign({
    mainAxis: 0,
    altAxis: 0
  }, tetherOffsetValue);
  var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
  var data = {
    x: 0,
    y: 0
  };

  if (!popperOffsets) {
    return;
  }

  if (checkMainAxis) {
    var _offsetModifierState$;

    var mainSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.top : _enums_js__WEBPACK_IMPORTED_MODULE_0__.left;
    var altSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_0__.right;
    var len = mainAxis === 'y' ? 'height' : 'width';
    var offset = popperOffsets[mainAxis];
    var min = offset + overflow[mainSide];
    var max = offset - overflow[altSide];
    var additive = tether ? -popperRect[len] / 2 : 0;
    var minLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__.start ? referenceRect[len] : popperRect[len];
    var maxLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__.start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
    // outside the reference bounds

    var arrowElement = state.elements.arrow;
    var arrowRect = tether && arrowElement ? (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__["default"])(arrowElement) : {
      width: 0,
      height: 0
    };
    var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : (0,_utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_9__["default"])();
    var arrowPaddingMin = arrowPaddingObject[mainSide];
    var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
    // to include its full size in the calculation. If the reference is small
    // and near the edge of a boundary, the popper can overflow even if the
    // reference is not overflowing as well (e.g. virtual elements with no
    // width or height)

    var arrowLen = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_4__.within)(0, referenceRect[len], arrowRect[len]);
    var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
    var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
    var arrowOffsetParent = state.elements.arrow && (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state.elements.arrow);
    var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
    var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
    var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
    var tetherMax = offset + maxOffset - offsetModifierValue;
    var preventedOffset = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_4__.within)(tether ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_10__.min)(min, tetherMin) : min, offset, tether ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_10__.max)(max, tetherMax) : max);
    popperOffsets[mainAxis] = preventedOffset;
    data[mainAxis] = preventedOffset - offset;
  }

  if (checkAltAxis) {
    var _offsetModifierState$2;

    var _mainSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.top : _enums_js__WEBPACK_IMPORTED_MODULE_0__.left;

    var _altSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_0__.right;

    var _offset = popperOffsets[altAxis];

    var _len = altAxis === 'y' ? 'height' : 'width';

    var _min = _offset + overflow[_mainSide];

    var _max = _offset - overflow[_altSide];

    var isOriginSide = [_enums_js__WEBPACK_IMPORTED_MODULE_0__.top, _enums_js__WEBPACK_IMPORTED_MODULE_0__.left].indexOf(basePlacement) !== -1;

    var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;

    var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;

    var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;

    var _preventedOffset = tether && isOriginSide ? (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_4__.withinMaxClamp)(_tetherMin, _offset, _tetherMax) : (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_4__.within)(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);

    popperOffsets[altAxis] = _preventedOffset;
    data[altAxis] = _preventedOffset - _offset;
  }

  state.modifiersData[name] = data;
} // eslint-disable-next-line import/no-unused-modules


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  name: 'preventOverflow',
  enabled: true,
  phase: 'main',
  fn: preventOverflow,
  requiresIfExists: ['offset']
});

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createPopper: () => (/* binding */ createPopper),
/* harmony export */   defaultModifiers: () => (/* binding */ defaultModifiers),
/* harmony export */   detectOverflow: () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   popperGenerator: () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_0__.popperGenerator)
/* harmony export */ });
/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js");
/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js");
/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.js");
/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js");
/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js");
/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js");





var defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_2__["default"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_3__["default"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_4__["default"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_5__["default"]];
var createPopper = /*#__PURE__*/(0,_createPopper_js__WEBPACK_IMPORTED_MODULE_0__.popperGenerator)({
  defaultModifiers: defaultModifiers
}); // eslint-disable-next-line import/no-unused-modules



/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyStyles: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.applyStyles),
/* harmony export */   arrow: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.arrow),
/* harmony export */   computeStyles: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.computeStyles),
/* harmony export */   createPopper: () => (/* binding */ createPopper),
/* harmony export */   createPopperLite: () => (/* reexport safe */ _popper_lite_js__WEBPACK_IMPORTED_MODULE_11__.createPopper),
/* harmony export */   defaultModifiers: () => (/* binding */ defaultModifiers),
/* harmony export */   detectOverflow: () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   eventListeners: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.eventListeners),
/* harmony export */   flip: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.flip),
/* harmony export */   hide: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.hide),
/* harmony export */   offset: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.offset),
/* harmony export */   popperGenerator: () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_0__.popperGenerator),
/* harmony export */   popperOffsets: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.popperOffsets),
/* harmony export */   preventOverflow: () => (/* reexport safe */ _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__.preventOverflow)
/* harmony export */ });
/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js");
/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createPopper.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js");
/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.js");
/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js");
/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js");
/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js");
/* harmony import */ var _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modifiers/offset.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.js");
/* harmony import */ var _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modifiers/flip.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.js");
/* harmony import */ var _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modifiers/preventOverflow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js");
/* harmony import */ var _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modifiers/arrow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.js");
/* harmony import */ var _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./modifiers/hide.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.js");
/* harmony import */ var _popper_lite_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./popper-lite.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.js");
/* harmony import */ var _modifiers_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./modifiers/index.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.js");










var defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_2__["default"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_3__["default"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_4__["default"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_5__["default"], _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_6__["default"], _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_7__["default"], _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__["default"], _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_9__["default"], _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_10__["default"]];
var createPopper = /*#__PURE__*/(0,_createPopper_js__WEBPACK_IMPORTED_MODULE_0__.popperGenerator)({
  defaultModifiers: defaultModifiers
}); // eslint-disable-next-line import/no-unused-modules

 // eslint-disable-next-line import/no-unused-modules

 // eslint-disable-next-line import/no-unused-modules



/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ computeAutoPlacement)
/* harmony export */ });
/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getVariation.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js");
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
/* harmony import */ var _detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./detectOverflow.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js");
/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getBasePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js");




function computeAutoPlacement(state, options) {
  if (options === void 0) {
    options = {};
  }

  var _options = options,
      placement = _options.placement,
      boundary = _options.boundary,
      rootBoundary = _options.rootBoundary,
      padding = _options.padding,
      flipVariations = _options.flipVariations,
      _options$allowedAutoP = _options.allowedAutoPlacements,
      allowedAutoPlacements = _options$allowedAutoP === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_1__.placements : _options$allowedAutoP;
  var variation = (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement);
  var placements = variation ? flipVariations ? _enums_js__WEBPACK_IMPORTED_MODULE_1__.variationPlacements : _enums_js__WEBPACK_IMPORTED_MODULE_1__.variationPlacements.filter(function (placement) {
    return (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) === variation;
  }) : _enums_js__WEBPACK_IMPORTED_MODULE_1__.basePlacements;
  var allowedPlacements = placements.filter(function (placement) {
    return allowedAutoPlacements.indexOf(placement) >= 0;
  });

  if (allowedPlacements.length === 0) {
    allowedPlacements = placements;
  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...


  var overflows = allowedPlacements.reduce(function (acc, placement) {
    acc[placement] = (0,_detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(state, {
      placement: placement,
      boundary: boundary,
      rootBoundary: rootBoundary,
      padding: padding
    })[(0,_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(placement)];
    return acc;
  }, {});
  return Object.keys(overflows).sort(function (a, b) {
    return overflows[a] - overflows[b];
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ computeOffsets)
/* harmony export */ });
/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBasePlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js");
/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getVariation.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js");
/* harmony import */ var _getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getMainAxisFromPlacement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js");
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");




function computeOffsets(_ref) {
  var reference = _ref.reference,
      element = _ref.element,
      placement = _ref.placement;
  var basePlacement = placement ? (0,_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) : null;
  var variation = placement ? (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement) : null;
  var commonX = reference.x + reference.width / 2 - element.width / 2;
  var commonY = reference.y + reference.height / 2 - element.height / 2;
  var offsets;

  switch (basePlacement) {
    case _enums_js__WEBPACK_IMPORTED_MODULE_3__.top:
      offsets = {
        x: commonX,
        y: reference.y - element.height
      };
      break;

    case _enums_js__WEBPACK_IMPORTED_MODULE_3__.bottom:
      offsets = {
        x: commonX,
        y: reference.y + reference.height
      };
      break;

    case _enums_js__WEBPACK_IMPORTED_MODULE_3__.right:
      offsets = {
        x: reference.x + reference.width,
        y: commonY
      };
      break;

    case _enums_js__WEBPACK_IMPORTED_MODULE_3__.left:
      offsets = {
        x: reference.x - element.width,
        y: commonY
      };
      break;

    default:
      offsets = {
        x: reference.x,
        y: reference.y
      };
  }

  var mainAxis = basePlacement ? (0,_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(basePlacement) : null;

  if (mainAxis != null) {
    var len = mainAxis === 'y' ? 'height' : 'width';

    switch (variation) {
      case _enums_js__WEBPACK_IMPORTED_MODULE_3__.start:
        offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
        break;

      case _enums_js__WEBPACK_IMPORTED_MODULE_3__.end:
        offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
        break;

      default:
    }
  }

  return offsets;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ debounce)
/* harmony export */ });
function debounce(fn) {
  var pending;
  return function () {
    if (!pending) {
      pending = new Promise(function (resolve) {
        Promise.resolve().then(function () {
          pending = undefined;
          resolve(fn());
        });
      });
    }

    return pending;
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ detectOverflow)
/* harmony export */ });
/* harmony import */ var _dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getClippingRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js");
/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js");
/* harmony import */ var _dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getBoundingClientRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js");
/* harmony import */ var _computeOffsets_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./computeOffsets.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.js");
/* harmony import */ var _rectToClientRect_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rectToClientRect.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.js");
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js");
/* harmony import */ var _mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./mergePaddingObject.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js");
/* harmony import */ var _expandToHashMap_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./expandToHashMap.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.js");








 // eslint-disable-next-line import/no-unused-modules

function detectOverflow(state, options) {
  if (options === void 0) {
    options = {};
  }

  var _options = options,
      _options$placement = _options.placement,
      placement = _options$placement === void 0 ? state.placement : _options$placement,
      _options$strategy = _options.strategy,
      strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
      _options$boundary = _options.boundary,
      boundary = _options$boundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.clippingParents : _options$boundary,
      _options$rootBoundary = _options.rootBoundary,
      rootBoundary = _options$rootBoundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.viewport : _options$rootBoundary,
      _options$elementConte = _options.elementContext,
      elementContext = _options$elementConte === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.popper : _options$elementConte,
      _options$altBoundary = _options.altBoundary,
      altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
      _options$padding = _options.padding,
      padding = _options$padding === void 0 ? 0 : _options$padding;
  var paddingObject = (0,_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_7__["default"])(typeof padding !== 'number' ? padding : (0,_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_8__["default"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_5__.basePlacements));
  var altContext = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__.popper ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.reference : _enums_js__WEBPACK_IMPORTED_MODULE_5__.popper;
  var popperRect = state.rects.popper;
  var element = state.elements[altBoundary ? altContext : elementContext];
  var clippingClientRect = (0,_dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_6__.isElement)(element) ? element : element.contextElement || (0,_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state.elements.popper), boundary, rootBoundary, strategy);
  var referenceClientRect = (0,_dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_2__["default"])(state.elements.reference);
  var popperOffsets = (0,_computeOffsets_js__WEBPACK_IMPORTED_MODULE_3__["default"])({
    reference: referenceClientRect,
    element: popperRect,
    strategy: 'absolute',
    placement: placement
  });
  var popperClientRect = (0,_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_4__["default"])(Object.assign({}, popperRect, popperOffsets));
  var elementClientRect = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__.popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
  // 0 or negative = within the clipping rect

  var overflowOffsets = {
    top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
    bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
    left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
    right: elementClientRect.right - clippingClientRect.right + paddingObject.right
  };
  var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element

  if (elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__.popper && offsetData) {
    var offset = offsetData[placement];
    Object.keys(overflowOffsets).forEach(function (key) {
      var multiply = [_enums_js__WEBPACK_IMPORTED_MODULE_5__.right, _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom].indexOf(key) >= 0 ? 1 : -1;
      var axis = [_enums_js__WEBPACK_IMPORTED_MODULE_5__.top, _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom].indexOf(key) >= 0 ? 'y' : 'x';
      overflowOffsets[key] += offset[axis] * multiply;
    });
  }

  return overflowOffsets;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ expandToHashMap)
/* harmony export */ });
function expandToHashMap(value, keys) {
  return keys.reduce(function (hashMap, key) {
    hashMap[key] = value;
    return hashMap;
  }, {});
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getAltAxis)
/* harmony export */ });
function getAltAxis(axis) {
  return axis === 'x' ? 'y' : 'x';
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js"
/*!************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js ***!
  \************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getBasePlacement)
/* harmony export */ });

function getBasePlacement(placement) {
  return placement.split('-')[0];
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getFreshSideObject)
/* harmony export */ });
function getFreshSideObject() {
  return {
    top: 0,
    right: 0,
    bottom: 0,
    left: 0
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js"
/*!********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js ***!
  \********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getMainAxisFromPlacement)
/* harmony export */ });
function getMainAxisFromPlacement(placement) {
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getOppositePlacement)
/* harmony export */ });
var hash = {
  left: 'right',
  right: 'left',
  bottom: 'top',
  top: 'bottom'
};
function getOppositePlacement(placement) {
  return placement.replace(/left|right|bottom|top/g, function (matched) {
    return hash[matched];
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js"
/*!*************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js ***!
  \*************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getOppositeVariationPlacement)
/* harmony export */ });
var hash = {
  start: 'end',
  end: 'start'
};
function getOppositeVariationPlacement(placement) {
  return placement.replace(/start|end/g, function (matched) {
    return hash[matched];
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getVariation)
/* harmony export */ });
function getVariation(placement) {
  return placement.split('-')[1];
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   max: () => (/* binding */ max),
/* harmony export */   min: () => (/* binding */ min),
/* harmony export */   round: () => (/* binding */ round)
/* harmony export */ });
var max = Math.max;
var min = Math.min;
var round = Math.round;

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.js ***!
  \*******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ mergeByName)
/* harmony export */ });
function mergeByName(modifiers) {
  var merged = modifiers.reduce(function (merged, current) {
    var existing = merged[current.name];
    merged[current.name] = existing ? Object.assign({}, existing, current, {
      options: Object.assign({}, existing.options, current.options),
      data: Object.assign({}, existing.data, current.data)
    }) : current;
    return merged;
  }, {}); // IE11 does not support Object.values

  return Object.keys(merged).map(function (key) {
    return merged[key];
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ mergePaddingObject)
/* harmony export */ });
/* harmony import */ var _getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFreshSideObject.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js");

function mergePaddingObject(paddingObject) {
  return Object.assign({}, (0,_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(), paddingObject);
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ orderModifiers)
/* harmony export */ });
/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js");
 // source: https://stackoverflow.com/questions/49875255

function order(modifiers) {
  var map = new Map();
  var visited = new Set();
  var result = [];
  modifiers.forEach(function (modifier) {
    map.set(modifier.name, modifier);
  }); // On visiting object, check for its dependencies and visit them recursively

  function sort(modifier) {
    visited.add(modifier.name);
    var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
    requires.forEach(function (dep) {
      if (!visited.has(dep)) {
        var depModifier = map.get(dep);

        if (depModifier) {
          sort(depModifier);
        }
      }
    });
    result.push(modifier);
  }

  modifiers.forEach(function (modifier) {
    if (!visited.has(modifier.name)) {
      // check for visited object
      sort(modifier);
    }
  });
  return result;
}

function orderModifiers(modifiers) {
  // order based on dependencies
  var orderedModifiers = order(modifiers); // order based on phase

  return _enums_js__WEBPACK_IMPORTED_MODULE_0__.modifierPhases.reduce(function (acc, phase) {
    return acc.concat(orderedModifiers.filter(function (modifier) {
      return modifier.phase === phase;
    }));
  }, []);
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.js"
/*!************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.js ***!
  \************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ rectToClientRect)
/* harmony export */ });
function rectToClientRect(rect) {
  return Object.assign({}, rect, {
    left: rect.x,
    top: rect.y,
    right: rect.x + rect.width,
    bottom: rect.y + rect.height
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getUAString)
/* harmony export */ });
function getUAString() {
  var uaData = navigator.userAgentData;

  if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
    return uaData.brands.map(function (item) {
      return item.brand + "/" + item.version;
    }).join(' ');
  }

  return navigator.userAgent;
}

/***/ },

/***/ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/within.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/within.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   within: () => (/* binding */ within),
/* harmony export */   withinMaxClamp: () => (/* binding */ withinMaxClamp)
/* harmony export */ });
/* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js");

function within(min, value, max) {
  return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.max)(min, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(value, max));
}
function withinMaxClamp(min, value, max) {
  var v = within(min, value, max);
  return v > max ? max : v;
}

/***/ },

/***/ "./node_modules/.pnpm/@remix-run+router@1.23.3/node_modules/@remix-run/router/dist/router.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@remix-run+router@1.23.3/node_modules/@remix-run/router/dist/router.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AbortedDeferredError: () => (/* binding */ AbortedDeferredError),
/* harmony export */   Action: () => (/* binding */ Action),
/* harmony export */   IDLE_BLOCKER: () => (/* binding */ IDLE_BLOCKER),
/* harmony export */   IDLE_FETCHER: () => (/* binding */ IDLE_FETCHER),
/* harmony export */   IDLE_NAVIGATION: () => (/* binding */ IDLE_NAVIGATION),
/* harmony export */   UNSAFE_DEFERRED_SYMBOL: () => (/* binding */ UNSAFE_DEFERRED_SYMBOL),
/* harmony export */   UNSAFE_DeferredData: () => (/* binding */ DeferredData),
/* harmony export */   UNSAFE_ErrorResponseImpl: () => (/* binding */ ErrorResponseImpl),
/* harmony export */   UNSAFE_convertRouteMatchToUiMatch: () => (/* binding */ convertRouteMatchToUiMatch),
/* harmony export */   UNSAFE_convertRoutesToDataRoutes: () => (/* binding */ convertRoutesToDataRoutes),
/* harmony export */   UNSAFE_decodePath: () => (/* binding */ decodePath),
/* harmony export */   UNSAFE_getResolveToMatches: () => (/* binding */ getResolveToMatches),
/* harmony export */   UNSAFE_invariant: () => (/* binding */ invariant),
/* harmony export */   UNSAFE_warning: () => (/* binding */ warning),
/* harmony export */   createBrowserHistory: () => (/* binding */ createBrowserHistory),
/* harmony export */   createHashHistory: () => (/* binding */ createHashHistory),
/* harmony export */   createMemoryHistory: () => (/* binding */ createMemoryHistory),
/* harmony export */   createPath: () => (/* binding */ createPath),
/* harmony export */   createRouter: () => (/* binding */ createRouter),
/* harmony export */   createStaticHandler: () => (/* binding */ createStaticHandler),
/* harmony export */   data: () => (/* binding */ data),
/* harmony export */   defer: () => (/* binding */ defer),
/* harmony export */   generatePath: () => (/* binding */ generatePath),
/* harmony export */   getStaticContextFromError: () => (/* binding */ getStaticContextFromError),
/* harmony export */   getToPathname: () => (/* binding */ getToPathname),
/* harmony export */   isDataWithResponseInit: () => (/* binding */ isDataWithResponseInit),
/* harmony export */   isDeferredData: () => (/* binding */ isDeferredData),
/* harmony export */   isRouteErrorResponse: () => (/* binding */ isRouteErrorResponse),
/* harmony export */   joinPaths: () => (/* binding */ joinPaths),
/* harmony export */   json: () => (/* binding */ json),
/* harmony export */   matchPath: () => (/* binding */ matchPath),
/* harmony export */   matchRoutes: () => (/* binding */ matchRoutes),
/* harmony export */   normalizePathname: () => (/* binding */ normalizePathname),
/* harmony export */   parsePath: () => (/* binding */ parsePath),
/* harmony export */   redirect: () => (/* binding */ redirect),
/* harmony export */   redirectDocument: () => (/* binding */ redirectDocument),
/* harmony export */   replace: () => (/* binding */ replace),
/* harmony export */   resolvePath: () => (/* binding */ resolvePath),
/* harmony export */   resolveTo: () => (/* binding */ resolveTo),
/* harmony export */   stripBasename: () => (/* binding */ stripBasename)
/* harmony export */ });
/**
 * @remix-run/router v1.23.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function _extends() {
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
    for (var e = 1; e < arguments.length; e++) {
      var t = arguments[e];
      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
    }
    return n;
  }, _extends.apply(null, arguments);
}

////////////////////////////////////////////////////////////////////////////////
//#region Types and Constants
////////////////////////////////////////////////////////////////////////////////
/**
 * Actions represent the type of change to a location value.
 */
var Action;
(function (Action) {
  /**
   * A POP indicates a change to an arbitrary index in the history stack, such
   * as a back or forward navigation. It does not describe the direction of the
   * navigation, only that the current index changed.
   *
   * Note: This is the default action for newly created history objects.
   */
  Action["Pop"] = "POP";
  /**
   * A PUSH indicates a new entry being added to the history stack, such as when
   * a link is clicked and a new page loads. When this happens, all subsequent
   * entries in the stack are lost.
   */
  Action["Push"] = "PUSH";
  /**
   * A REPLACE indicates the entry at the current index in the history stack
   * being replaced by a new one.
   */
  Action["Replace"] = "REPLACE";
})(Action || (Action = {}));
const PopStateEventType = "popstate";
/**
 * Memory history stores the current location in memory. It is designed for use
 * in stateful non-browser environments like tests and React Native.
 */
function createMemoryHistory(options) {
  if (options === void 0) {
    options = {};
  }
  let {
    initialEntries = ["/"],
    initialIndex,
    v5Compat = false
  } = options;
  let entries; // Declare so we can access from createMemoryLocation
  entries = initialEntries.map((entry, index) => createMemoryLocation(entry, typeof entry === "string" ? null : entry.state, index === 0 ? "default" : undefined));
  let index = clampIndex(initialIndex == null ? entries.length - 1 : initialIndex);
  let action = Action.Pop;
  let listener = null;
  function clampIndex(n) {
    return Math.min(Math.max(n, 0), entries.length - 1);
  }
  function getCurrentLocation() {
    return entries[index];
  }
  function createMemoryLocation(to, state, key) {
    if (state === void 0) {
      state = null;
    }
    let location = createLocation(entries ? getCurrentLocation().pathname : "/", to, state, key);
    warning(location.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(to));
    return location;
  }
  function createHref(to) {
    return typeof to === "string" ? to : createPath(to);
  }
  let history = {
    get index() {
      return index;
    },
    get action() {
      return action;
    },
    get location() {
      return getCurrentLocation();
    },
    createHref,
    createURL(to) {
      return new URL(createHref(to), "http://localhost");
    },
    encodeLocation(to) {
      let path = typeof to === "string" ? parsePath(to) : to;
      return {
        pathname: path.pathname || "",
        search: path.search || "",
        hash: path.hash || ""
      };
    },
    push(to, state) {
      action = Action.Push;
      let nextLocation = createMemoryLocation(to, state);
      index += 1;
      entries.splice(index, entries.length, nextLocation);
      if (v5Compat && listener) {
        listener({
          action,
          location: nextLocation,
          delta: 1
        });
      }
    },
    replace(to, state) {
      action = Action.Replace;
      let nextLocation = createMemoryLocation(to, state);
      entries[index] = nextLocation;
      if (v5Compat && listener) {
        listener({
          action,
          location: nextLocation,
          delta: 0
        });
      }
    },
    go(delta) {
      action = Action.Pop;
      let nextIndex = clampIndex(index + delta);
      let nextLocation = entries[nextIndex];
      index = nextIndex;
      if (listener) {
        listener({
          action,
          location: nextLocation,
          delta
        });
      }
    },
    listen(fn) {
      listener = fn;
      return () => {
        listener = null;
      };
    }
  };
  return history;
}
/**
 * Browser history stores the location in regular URLs. This is the standard for
 * most web apps, but it requires some configuration on the server to ensure you
 * serve the same app at multiple URLs.
 *
 * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory
 */
function createBrowserHistory(options) {
  if (options === void 0) {
    options = {};
  }
  function createBrowserLocation(window, globalHistory) {
    let {
      pathname,
      search,
      hash
    } = window.location;
    return createLocation("", {
      pathname,
      search,
      hash
    },
    // state defaults to `null` because `window.history.state` does
    globalHistory.state && globalHistory.state.usr || null, globalHistory.state && globalHistory.state.key || "default");
  }
  function createBrowserHref(window, to) {
    return typeof to === "string" ? to : createPath(to);
  }
  return getUrlBasedHistory(createBrowserLocation, createBrowserHref, null, options);
}
/**
 * Hash history stores the location in window.location.hash. This makes it ideal
 * for situations where you don't want to send the location to the server for
 * some reason, either because you do cannot configure it or the URL space is
 * reserved for something else.
 *
 * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory
 */
function createHashHistory(options) {
  if (options === void 0) {
    options = {};
  }
  function createHashLocation(window, globalHistory) {
    let {
      pathname = "/",
      search = "",
      hash = ""
    } = parsePath(window.location.hash.substr(1));
    // Hash URL should always have a leading / just like window.location.pathname
    // does, so if an app ends up at a route like /#something then we add a
    // leading slash so all of our path-matching behaves the same as if it would
    // in a browser router.  This is particularly important when there exists a
    // root splat route (<Route path="*">) since that matches internally against
    // "/*" and we'd expect /#something to 404 in a hash router app.
    if (!pathname.startsWith("/") && !pathname.startsWith(".")) {
      pathname = "/" + pathname;
    }
    return createLocation("", {
      pathname,
      search,
      hash
    },
    // state defaults to `null` because `window.history.state` does
    globalHistory.state && globalHistory.state.usr || null, globalHistory.state && globalHistory.state.key || "default");
  }
  function createHashHref(window, to) {
    let base = window.document.querySelector("base");
    let href = "";
    if (base && base.getAttribute("href")) {
      let url = window.location.href;
      let hashIndex = url.indexOf("#");
      href = hashIndex === -1 ? url : url.slice(0, hashIndex);
    }
    return href + "#" + (typeof to === "string" ? to : createPath(to));
  }
  function validateHashLocation(location, to) {
    warning(location.pathname.charAt(0) === "/", "relative pathnames are not supported in hash history.push(" + JSON.stringify(to) + ")");
  }
  return getUrlBasedHistory(createHashLocation, createHashHref, validateHashLocation, options);
}
function invariant(value, message) {
  if (value === false || value === null || typeof value === "undefined") {
    throw new Error(message);
  }
}
function warning(cond, message) {
  if (!cond) {
    // eslint-disable-next-line no-console
    if (typeof console !== "undefined") console.warn(message);
    try {
      // Welcome to debugging history!
      //
      // This error is thrown as a convenience, so you can more easily
      // find the source for a warning that appears in the console by
      // enabling "pause on exceptions" in your JavaScript debugger.
      throw new Error(message);
      // eslint-disable-next-line no-empty
    } catch (e) {}
  }
}
function createKey() {
  return Math.random().toString(36).substr(2, 8);
}
/**
 * For browser-based histories, we combine the state and key into an object
 */
function getHistoryState(location, index) {
  return {
    usr: location.state,
    key: location.key,
    idx: index
  };
}
/**
 * Creates a Location object with a unique key from the given Path
 */
function createLocation(current, to, state, key) {
  if (state === void 0) {
    state = null;
  }
  let location = _extends({
    pathname: typeof current === "string" ? current : current.pathname,
    search: "",
    hash: ""
  }, typeof to === "string" ? parsePath(to) : to, {
    state,
    // TODO: This could be cleaned up.  push/replace should probably just take
    // full Locations now and avoid the need to run through this flow at all
    // But that's a pretty big refactor to the current test suite so going to
    // keep as is for the time being and just let any incoming keys take precedence
    key: to && to.key || key || createKey()
  });
  return location;
}
/**
 * Creates a string URL path from the given pathname, search, and hash components.
 */
function createPath(_ref) {
  let {
    pathname = "/",
    search = "",
    hash = ""
  } = _ref;
  if (search && search !== "?") pathname += search.charAt(0) === "?" ? search : "?" + search;
  if (hash && hash !== "#") pathname += hash.charAt(0) === "#" ? hash : "#" + hash;
  return pathname;
}
/**
 * Parses a string URL path into its separate pathname, search, and hash components.
 */
function parsePath(path) {
  let parsedPath = {};
  if (path) {
    let hashIndex = path.indexOf("#");
    if (hashIndex >= 0) {
      parsedPath.hash = path.substr(hashIndex);
      path = path.substr(0, hashIndex);
    }
    let searchIndex = path.indexOf("?");
    if (searchIndex >= 0) {
      parsedPath.search = path.substr(searchIndex);
      path = path.substr(0, searchIndex);
    }
    if (path) {
      parsedPath.pathname = path;
    }
  }
  return parsedPath;
}
function getUrlBasedHistory(getLocation, createHref, validateLocation, options) {
  if (options === void 0) {
    options = {};
  }
  let {
    window = document.defaultView,
    v5Compat = false
  } = options;
  let globalHistory = window.history;
  let action = Action.Pop;
  let listener = null;
  let index = getIndex();
  // Index should only be null when we initialize. If not, it's because the
  // user called history.pushState or history.replaceState directly, in which
  // case we should log a warning as it will result in bugs.
  if (index == null) {
    index = 0;
    globalHistory.replaceState(_extends({}, globalHistory.state, {
      idx: index
    }), "");
  }
  function getIndex() {
    let state = globalHistory.state || {
      idx: null
    };
    return state.idx;
  }
  function handlePop() {
    action = Action.Pop;
    let nextIndex = getIndex();
    let delta = nextIndex == null ? null : nextIndex - index;
    index = nextIndex;
    if (listener) {
      listener({
        action,
        location: history.location,
        delta
      });
    }
  }
  function push(to, state) {
    action = Action.Push;
    let location = createLocation(history.location, to, state);
    if (validateLocation) validateLocation(location, to);
    index = getIndex() + 1;
    let historyState = getHistoryState(location, index);
    let url = history.createHref(location);
    // try...catch because iOS limits us to 100 pushState calls :/
    try {
      globalHistory.pushState(historyState, "", url);
    } catch (error) {
      // If the exception is because `state` can't be serialized, let that throw
      // outwards just like a replace call would so the dev knows the cause
      // https://html.spec.whatwg.org/multipage/nav-history-apis.html#shared-history-push/replace-state-steps
      // https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal
      if (error instanceof DOMException && error.name === "DataCloneError") {
        throw error;
      }
      // They are going to lose state here, but there is no real
      // way to warn them about it since the page will refresh...
      window.location.assign(url);
    }
    if (v5Compat && listener) {
      listener({
        action,
        location: history.location,
        delta: 1
      });
    }
  }
  function replace(to, state) {
    action = Action.Replace;
    let location = createLocation(history.location, to, state);
    if (validateLocation) validateLocation(location, to);
    index = getIndex();
    let historyState = getHistoryState(location, index);
    let url = history.createHref(location);
    globalHistory.replaceState(historyState, "", url);
    if (v5Compat && listener) {
      listener({
        action,
        location: history.location,
        delta: 0
      });
    }
  }
  function createURL(to) {
    // window.location.origin is "null" (the literal string value) in Firefox
    // under certain conditions, notably when serving from a local HTML file
    // See https://bugzilla.mozilla.org/show_bug.cgi?id=878297
    let base = window.location.origin !== "null" ? window.location.origin : window.location.href;
    let href = typeof to === "string" ? to : createPath(to);
    // Treating this as a full URL will strip any trailing spaces so we need to
    // pre-encode them since they might be part of a matching splat param from
    // an ancestor route
    href = href.replace(/ $/, "%20");
    invariant(base, "No window.location.(origin|href) available to create URL for href: " + href);
    return new URL(href, base);
  }
  let history = {
    get action() {
      return action;
    },
    get location() {
      return getLocation(window, globalHistory);
    },
    listen(fn) {
      if (listener) {
        throw new Error("A history only accepts one active listener");
      }
      window.addEventListener(PopStateEventType, handlePop);
      listener = fn;
      return () => {
        window.removeEventListener(PopStateEventType, handlePop);
        listener = null;
      };
    },
    createHref(to) {
      return createHref(window, to);
    },
    createURL,
    encodeLocation(to) {
      // Encode a Location the same way window.location would
      let url = createURL(to);
      return {
        pathname: url.pathname,
        search: url.search,
        hash: url.hash
      };
    },
    push,
    replace,
    go(n) {
      return globalHistory.go(n);
    }
  };
  return history;
}
//#endregion

var ResultType;
(function (ResultType) {
  ResultType["data"] = "data";
  ResultType["deferred"] = "deferred";
  ResultType["redirect"] = "redirect";
  ResultType["error"] = "error";
})(ResultType || (ResultType = {}));
const immutableRouteKeys = new Set(["lazy", "caseSensitive", "path", "id", "index", "children"]);
function isIndexRoute(route) {
  return route.index === true;
}
// Walk the route tree generating unique IDs where necessary, so we are working
// solely with AgnosticDataRouteObject's within the Router
function convertRoutesToDataRoutes(routes, mapRouteProperties, parentPath, manifest) {
  if (parentPath === void 0) {
    parentPath = [];
  }
  if (manifest === void 0) {
    manifest = {};
  }
  return routes.map((route, index) => {
    let treePath = [...parentPath, String(index)];
    let id = typeof route.id === "string" ? route.id : treePath.join("-");
    invariant(route.index !== true || !route.children, "Cannot specify children on an index route");
    invariant(!manifest[id], "Found a route id collision on id \"" + id + "\".  Route " + "id's must be globally unique within Data Router usages");
    if (isIndexRoute(route)) {
      let indexRoute = _extends({}, route, mapRouteProperties(route), {
        id
      });
      manifest[id] = indexRoute;
      return indexRoute;
    } else {
      let pathOrLayoutRoute = _extends({}, route, mapRouteProperties(route), {
        id,
        children: undefined
      });
      manifest[id] = pathOrLayoutRoute;
      if (route.children) {
        pathOrLayoutRoute.children = convertRoutesToDataRoutes(route.children, mapRouteProperties, treePath, manifest);
      }
      return pathOrLayoutRoute;
    }
  });
}
/**
 * Matches the given routes to a location and returns the match data.
 *
 * @see https://reactrouter.com/v6/utils/match-routes
 */
function matchRoutes(routes, locationArg, basename) {
  if (basename === void 0) {
    basename = "/";
  }
  return matchRoutesImpl(routes, locationArg, basename, false);
}
function matchRoutesImpl(routes, locationArg, basename, allowPartial) {
  let location = typeof locationArg === "string" ? parsePath(locationArg) : locationArg;
  let pathname = stripBasename(location.pathname || "/", basename);
  if (pathname == null) {
    return null;
  }
  let branches = flattenRoutes(routes);
  rankRouteBranches(branches);
  let matches = null;
  let decoded = decodePath(pathname);
  for (let i = 0; matches == null && i < branches.length; ++i) {
    // Incoming pathnames are generally encoded from either window.location
    // or from router.navigate, but we want to match against the unencoded
    // paths in the route definitions.  Memory router locations won't be
    // encoded here but there also shouldn't be anything to decode so this
    // should be a safe operation.  This avoids needing matchRoutes to be
    // history-aware.
    matches = matchRouteBranch(branches[i], decoded, allowPartial);
  }
  return matches;
}
function convertRouteMatchToUiMatch(match, loaderData) {
  let {
    route,
    pathname,
    params
  } = match;
  return {
    id: route.id,
    pathname,
    params,
    data: loaderData[route.id],
    handle: route.handle
  };
}
function flattenRoutes(routes, branches, parentsMeta, parentPath) {
  if (branches === void 0) {
    branches = [];
  }
  if (parentsMeta === void 0) {
    parentsMeta = [];
  }
  if (parentPath === void 0) {
    parentPath = "";
  }
  let flattenRoute = (route, index, relativePath) => {
    let meta = {
      relativePath: relativePath === undefined ? route.path || "" : relativePath,
      caseSensitive: route.caseSensitive === true,
      childrenIndex: index,
      route
    };
    if (meta.relativePath.startsWith("/")) {
      invariant(meta.relativePath.startsWith(parentPath), "Absolute route path \"" + meta.relativePath + "\" nested under path " + ("\"" + parentPath + "\" is not valid. An absolute child route path ") + "must start with the combined path of all its parent routes.");
      meta.relativePath = meta.relativePath.slice(parentPath.length);
    }
    let path = joinPaths([parentPath, meta.relativePath]);
    let routesMeta = parentsMeta.concat(meta);
    // Add the children before adding this route to the array, so we traverse the
    // route tree depth-first and child routes appear before their parents in
    // the "flattened" version.
    if (route.children && route.children.length > 0) {
      invariant(
      // Our types know better, but runtime JS may not!
      // @ts-expect-error
      route.index !== true, "Index routes must not have child routes. Please remove " + ("all child routes from route path \"" + path + "\"."));
      flattenRoutes(route.children, branches, routesMeta, path);
    }
    // Routes without a path shouldn't ever match by themselves unless they are
    // index routes, so don't add them to the list of possible branches.
    if (route.path == null && !route.index) {
      return;
    }
    branches.push({
      path,
      score: computeScore(path, route.index),
      routesMeta
    });
  };
  routes.forEach((route, index) => {
    var _route$path;
    // coarse-grain check for optional params
    if (route.path === "" || !((_route$path = route.path) != null && _route$path.includes("?"))) {
      flattenRoute(route, index);
    } else {
      for (let exploded of explodeOptionalSegments(route.path)) {
        flattenRoute(route, index, exploded);
      }
    }
  });
  return branches;
}
/**
 * Computes all combinations of optional path segments for a given path,
 * excluding combinations that are ambiguous and of lower priority.
 *
 * For example, `/one/:two?/three/:four?/:five?` explodes to:
 * - `/one/three`
 * - `/one/:two/three`
 * - `/one/three/:four`
 * - `/one/three/:five`
 * - `/one/:two/three/:four`
 * - `/one/:two/three/:five`
 * - `/one/three/:four/:five`
 * - `/one/:two/three/:four/:five`
 */
function explodeOptionalSegments(path) {
  let segments = path.split("/");
  if (segments.length === 0) return [];
  let [first, ...rest] = segments;
  // Optional path segments are denoted by a trailing `?`
  let isOptional = first.endsWith("?");
  // Compute the corresponding required segment: `foo?` -> `foo`
  let required = first.replace(/\?$/, "");
  if (rest.length === 0) {
    // Intepret empty string as omitting an optional segment
    // `["one", "", "three"]` corresponds to omitting `:two` from `/one/:two?/three` -> `/one/three`
    return isOptional ? [required, ""] : [required];
  }
  let restExploded = explodeOptionalSegments(rest.join("/"));
  let result = [];
  // All child paths with the prefix.  Do this for all children before the
  // optional version for all children, so we get consistent ordering where the
  // parent optional aspect is preferred as required.  Otherwise, we can get
  // child sections interspersed where deeper optional segments are higher than
  // parent optional segments, where for example, /:two would explode _earlier_
  // then /:one.  By always including the parent as required _for all children_
  // first, we avoid this issue
  result.push(...restExploded.map(subpath => subpath === "" ? required : [required, subpath].join("/")));
  // Then, if this is an optional value, add all child versions without
  if (isOptional) {
    result.push(...restExploded);
  }
  // for absolute paths, ensure `/` instead of empty segment
  return result.map(exploded => path.startsWith("/") && exploded === "" ? "/" : exploded);
}
function rankRouteBranches(branches) {
  branches.sort((a, b) => a.score !== b.score ? b.score - a.score // Higher score first
  : compareIndexes(a.routesMeta.map(meta => meta.childrenIndex), b.routesMeta.map(meta => meta.childrenIndex)));
}
const paramRe = /^:[\w-]+$/;
const dynamicSegmentValue = 3;
const indexRouteValue = 2;
const emptySegmentValue = 1;
const staticSegmentValue = 10;
const splatPenalty = -2;
const isSplat = s => s === "*";
function computeScore(path, index) {
  let segments = path.split("/");
  let initialScore = segments.length;
  if (segments.some(isSplat)) {
    initialScore += splatPenalty;
  }
  if (index) {
    initialScore += indexRouteValue;
  }
  return segments.filter(s => !isSplat(s)).reduce((score, segment) => score + (paramRe.test(segment) ? dynamicSegmentValue : segment === "" ? emptySegmentValue : staticSegmentValue), initialScore);
}
function compareIndexes(a, b) {
  let siblings = a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]);
  return siblings ?
  // If two routes are siblings, we should try to match the earlier sibling
  // first. This allows people to have fine-grained control over the matching
  // behavior by simply putting routes with identical paths in the order they
  // want them tried.
  a[a.length - 1] - b[b.length - 1] :
  // Otherwise, it doesn't really make sense to rank non-siblings by index,
  // so they sort equally.
  0;
}
function matchRouteBranch(branch, pathname, allowPartial) {
  if (allowPartial === void 0) {
    allowPartial = false;
  }
  let {
    routesMeta
  } = branch;
  let matchedParams = {};
  let matchedPathname = "/";
  let matches = [];
  for (let i = 0; i < routesMeta.length; ++i) {
    let meta = routesMeta[i];
    let end = i === routesMeta.length - 1;
    let remainingPathname = matchedPathname === "/" ? pathname : pathname.slice(matchedPathname.length) || "/";
    let match = matchPath({
      path: meta.relativePath,
      caseSensitive: meta.caseSensitive,
      end
    }, remainingPathname);
    let route = meta.route;
    if (!match && end && allowPartial && !routesMeta[routesMeta.length - 1].route.index) {
      match = matchPath({
        path: meta.relativePath,
        caseSensitive: meta.caseSensitive,
        end: false
      }, remainingPathname);
    }
    if (!match) {
      return null;
    }
    Object.assign(matchedParams, match.params);
    matches.push({
      // TODO: Can this as be avoided?
      params: matchedParams,
      pathname: joinPaths([matchedPathname, match.pathname]),
      pathnameBase: normalizePathname(joinPaths([matchedPathname, match.pathnameBase])),
      route
    });
    if (match.pathnameBase !== "/") {
      matchedPathname = joinPaths([matchedPathname, match.pathnameBase]);
    }
  }
  return matches;
}
/**
 * Returns a path with params interpolated.
 *
 * @see https://reactrouter.com/v6/utils/generate-path
 */
function generatePath(originalPath, params) {
  if (params === void 0) {
    params = {};
  }
  let path = originalPath;
  if (path.endsWith("*") && path !== "*" && !path.endsWith("/*")) {
    warning(false, "Route path \"" + path + "\" will be treated as if it were " + ("\"" + path.replace(/\*$/, "/*") + "\" because the `*` character must ") + "always follow a `/` in the pattern. To get rid of this warning, " + ("please change the route path to \"" + path.replace(/\*$/, "/*") + "\"."));
    path = path.replace(/\*$/, "/*");
  }
  // ensure `/` is added at the beginning if the path is absolute
  const prefix = path.startsWith("/") ? "/" : "";
  const stringify = p => p == null ? "" : typeof p === "string" ? p : String(p);
  const segments = path.split(/\/+/).map((segment, index, array) => {
    const isLastSegment = index === array.length - 1;
    // only apply the splat if it's the last segment
    if (isLastSegment && segment === "*") {
      const star = "*";
      // Apply the splat
      return stringify(params[star]);
    }
    const keyMatch = segment.match(/^:([\w-]+)(\??)$/);
    if (keyMatch) {
      const [, key, optional] = keyMatch;
      let param = params[key];
      invariant(optional === "?" || param != null, "Missing \":" + key + "\" param");
      return stringify(param);
    }
    // Remove any optional markers from optional static segments
    return segment.replace(/\?$/g, "");
  })
  // Remove empty segments
  .filter(segment => !!segment);
  return prefix + segments.join("/");
}
/**
 * Performs pattern matching on a URL pathname and returns information about
 * the match.
 *
 * @see https://reactrouter.com/v6/utils/match-path
 */
function matchPath(pattern, pathname) {
  if (typeof pattern === "string") {
    pattern = {
      path: pattern,
      caseSensitive: false,
      end: true
    };
  }
  let [matcher, compiledParams] = compilePath(pattern.path, pattern.caseSensitive, pattern.end);
  let match = pathname.match(matcher);
  if (!match) return null;
  let matchedPathname = match[0];
  let pathnameBase = matchedPathname.replace(/(.)\/+$/, "$1");
  let captureGroups = match.slice(1);
  let params = compiledParams.reduce((memo, _ref, index) => {
    let {
      paramName,
      isOptional
    } = _ref;
    // We need to compute the pathnameBase here using the raw splat value
    // instead of using params["*"] later because it will be decoded then
    if (paramName === "*") {
      let splatValue = captureGroups[index] || "";
      pathnameBase = matchedPathname.slice(0, matchedPathname.length - splatValue.length).replace(/(.)\/+$/, "$1");
    }
    const value = captureGroups[index];
    if (isOptional && !value) {
      memo[paramName] = undefined;
    } else {
      memo[paramName] = (value || "").replace(/%2F/g, "/");
    }
    return memo;
  }, {});
  return {
    params,
    pathname: matchedPathname,
    pathnameBase,
    pattern
  };
}
function compilePath(path, caseSensitive, end) {
  if (caseSensitive === void 0) {
    caseSensitive = false;
  }
  if (end === void 0) {
    end = true;
  }
  warning(path === "*" || !path.endsWith("*") || path.endsWith("/*"), "Route path \"" + path + "\" will be treated as if it were " + ("\"" + path.replace(/\*$/, "/*") + "\" because the `*` character must ") + "always follow a `/` in the pattern. To get rid of this warning, " + ("please change the route path to \"" + path.replace(/\*$/, "/*") + "\"."));
  let params = [];
  let regexpSource = "^" + path.replace(/\/*\*?$/, "") // Ignore trailing / and /*, we'll handle it below
  .replace(/^\/*/, "/") // Make sure it has a leading /
  .replace(/[\\.*+^${}|()[\]]/g, "\\$&") // Escape special regex chars
  .replace(/\/:([\w-]+)(\?)?/g, (_, paramName, isOptional) => {
    params.push({
      paramName,
      isOptional: isOptional != null
    });
    return isOptional ? "/?([^\\/]+)?" : "/([^\\/]+)";
  });
  if (path.endsWith("*")) {
    params.push({
      paramName: "*"
    });
    regexpSource += path === "*" || path === "/*" ? "(.*)$" // Already matched the initial /, just match the rest
    : "(?:\\/(.+)|\\/*)$"; // Don't include the / in params["*"]
  } else if (end) {
    // When matching to the end, ignore trailing slashes
    regexpSource += "\\/*$";
  } else if (path !== "" && path !== "/") {
    // If our path is non-empty and contains anything beyond an initial slash,
    // then we have _some_ form of path in our regex, so we should expect to
    // match only if we find the end of this path segment.  Look for an optional
    // non-captured trailing slash (to match a portion of the URL) or the end
    // of the path (if we've matched to the end).  We used to do this with a
    // word boundary but that gives false positives on routes like
    // /user-preferences since `-` counts as a word boundary.
    regexpSource += "(?:(?=\\/|$))";
  } else ;
  let matcher = new RegExp(regexpSource, caseSensitive ? undefined : "i");
  return [matcher, params];
}
function decodePath(value) {
  try {
    return value.split("/").map(v => decodeURIComponent(v).replace(/\//g, "%2F")).join("/");
  } catch (error) {
    warning(false, "The URL path \"" + value + "\" could not be decoded because it is is a " + "malformed URL segment. This is probably due to a bad percent " + ("encoding (" + error + ")."));
    return value;
  }
}
/**
 * @private
 */
function stripBasename(pathname, basename) {
  if (basename === "/") return pathname;
  if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) {
    return null;
  }
  // We want to leave trailing slash behavior in the user's control, so if they
  // specify a basename with a trailing slash, we should support it
  let startIndex = basename.endsWith("/") ? basename.length - 1 : basename.length;
  let nextChar = pathname.charAt(startIndex);
  if (nextChar && nextChar !== "/") {
    // pathname does not start with basename/
    return null;
  }
  return pathname.slice(startIndex) || "/";
}
const ABSOLUTE_URL_REGEX$1 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;
const isAbsoluteUrl = url => ABSOLUTE_URL_REGEX$1.test(url);
/**
 * Returns a resolved path object relative to the given pathname.
 *
 * @see https://reactrouter.com/v6/utils/resolve-path
 */
function resolvePath(to, fromPathname) {
  if (fromPathname === void 0) {
    fromPathname = "/";
  }
  let {
    pathname: toPathname,
    search = "",
    hash = ""
  } = typeof to === "string" ? parsePath(to) : to;
  let pathname;
  if (toPathname) {
    if (isAbsoluteUrl(toPathname)) {
      pathname = toPathname;
    } else {
      if (toPathname.includes("//")) {
        let oldPathname = toPathname;
        toPathname = removeDoubleSlashes(toPathname);
        warning(false, "Pathnames cannot have embedded double slashes - normalizing " + (oldPathname + " -> " + toPathname));
      }
      if (toPathname.startsWith("/")) {
        pathname = resolvePathname(toPathname.substring(1), "/");
      } else {
        pathname = resolvePathname(toPathname, fromPathname);
      }
    }
  } else {
    pathname = fromPathname;
  }
  return {
    pathname,
    search: normalizeSearch(search),
    hash: normalizeHash(hash)
  };
}
function resolvePathname(relativePath, fromPathname) {
  let segments = fromPathname.replace(/\/+$/, "").split("/");
  let relativeSegments = relativePath.split("/");
  relativeSegments.forEach(segment => {
    if (segment === "..") {
      // Keep the root "" segment so the pathname starts at /
      if (segments.length > 1) segments.pop();
    } else if (segment !== ".") {
      segments.push(segment);
    }
  });
  return segments.length > 1 ? segments.join("/") : "/";
}
function getInvalidPathError(char, field, dest, path) {
  return "Cannot include a '" + char + "' character in a manually specified " + ("`to." + field + "` field [" + JSON.stringify(path) + "].  Please separate it out to the ") + ("`to." + dest + "` field. Alternatively you may provide the full path as ") + "a string in <Link to=\"...\"> and the router will parse it for you.";
}
/**
 * @private
 *
 * When processing relative navigation we want to ignore ancestor routes that
 * do not contribute to the path, such that index/pathless layout routes don't
 * interfere.
 *
 * For example, when moving a route element into an index route and/or a
 * pathless layout route, relative link behavior contained within should stay
 * the same.  Both of the following examples should link back to the root:
 *
 *   <Route path="/">
 *     <Route path="accounts" element={<Link to=".."}>
 *   </Route>
 *
 *   <Route path="/">
 *     <Route path="accounts">
 *       <Route element={<AccountsLayout />}>       // <-- Does not contribute
 *         <Route index element={<Link to=".."} />  // <-- Does not contribute
 *       </Route
 *     </Route>
 *   </Route>
 */
function getPathContributingMatches(matches) {
  return matches.filter((match, index) => index === 0 || match.route.path && match.route.path.length > 0);
}
// Return the array of pathnames for the current route matches - used to
// generate the routePathnames input for resolveTo()
function getResolveToMatches(matches, v7_relativeSplatPath) {
  let pathMatches = getPathContributingMatches(matches);
  // When v7_relativeSplatPath is enabled, use the full pathname for the leaf
  // match so we include splat values for "." links.  See:
  // https://github.com/remix-run/react-router/issues/11052#issuecomment-1836589329
  if (v7_relativeSplatPath) {
    return pathMatches.map((match, idx) => idx === pathMatches.length - 1 ? match.pathname : match.pathnameBase);
  }
  return pathMatches.map(match => match.pathnameBase);
}
/**
 * @private
 */
function resolveTo(toArg, routePathnames, locationPathname, isPathRelative) {
  if (isPathRelative === void 0) {
    isPathRelative = false;
  }
  let to;
  if (typeof toArg === "string") {
    to = parsePath(toArg);
  } else {
    to = _extends({}, toArg);
    invariant(!to.pathname || !to.pathname.includes("?"), getInvalidPathError("?", "pathname", "search", to));
    invariant(!to.pathname || !to.pathname.includes("#"), getInvalidPathError("#", "pathname", "hash", to));
    invariant(!to.search || !to.search.includes("#"), getInvalidPathError("#", "search", "hash", to));
  }
  let isEmptyPath = toArg === "" || to.pathname === "";
  let toPathname = isEmptyPath ? "/" : to.pathname;
  let from;
  // Routing is relative to the current pathname if explicitly requested.
  //
  // If a pathname is explicitly provided in `to`, it should be relative to the
  // route context. This is explained in `Note on `<Link to>` values` in our
  // migration guide from v5 as a means of disambiguation between `to` values
  // that begin with `/` and those that do not. However, this is problematic for
  // `to` values that do not provide a pathname. `to` can simply be a search or
  // hash string, in which case we should assume that the navigation is relative
  // to the current location's pathname and *not* the route pathname.
  if (toPathname == null) {
    from = locationPathname;
  } else {
    let routePathnameIndex = routePathnames.length - 1;
    // With relative="route" (the default), each leading .. segment means
    // "go up one route" instead of "go up one URL segment".  This is a key
    // difference from how <a href> works and a major reason we call this a
    // "to" value instead of a "href".
    if (!isPathRelative && toPathname.startsWith("..")) {
      let toSegments = toPathname.split("/");
      while (toSegments[0] === "..") {
        toSegments.shift();
        routePathnameIndex -= 1;
      }
      to.pathname = toSegments.join("/");
    }
    from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : "/";
  }
  let path = resolvePath(to, from);
  // Ensure the pathname has a trailing slash if the original "to" had one
  let hasExplicitTrailingSlash = toPathname && toPathname !== "/" && toPathname.endsWith("/");
  // Or if this was a link to the current path which has a trailing slash
  let hasCurrentTrailingSlash = (isEmptyPath || toPathname === ".") && locationPathname.endsWith("/");
  if (!path.pathname.endsWith("/") && (hasExplicitTrailingSlash || hasCurrentTrailingSlash)) {
    path.pathname += "/";
  }
  return path;
}
/**
 * @private
 */
function getToPathname(to) {
  // Empty strings should be treated the same as / paths
  return to === "" || to.pathname === "" ? "/" : typeof to === "string" ? parsePath(to).pathname : to.pathname;
}
const removeDoubleSlashes = path => path.replace(/\/\/+/g, "/");
/**
 * @private
 */
const joinPaths = paths => removeDoubleSlashes(paths.join("/"));
/**
 * @private
 */
const normalizePathname = pathname => pathname.replace(/\/+$/, "").replace(/^\/*/, "/");
/**
 * @private
 */
const normalizeSearch = search => !search || search === "?" ? "" : search.startsWith("?") ? search : "?" + search;
/**
 * @private
 */
const normalizeHash = hash => !hash || hash === "#" ? "" : hash.startsWith("#") ? hash : "#" + hash;
/**
 * This is a shortcut for creating `application/json` responses. Converts `data`
 * to JSON and sets the `Content-Type` header.
 *
 * @deprecated The `json` method is deprecated in favor of returning raw objects.
 * This method will be removed in v7.
 */
const json = function json(data, init) {
  if (init === void 0) {
    init = {};
  }
  let responseInit = typeof init === "number" ? {
    status: init
  } : init;
  let headers = new Headers(responseInit.headers);
  if (!headers.has("Content-Type")) {
    headers.set("Content-Type", "application/json; charset=utf-8");
  }
  return new Response(JSON.stringify(data), _extends({}, responseInit, {
    headers
  }));
};
class DataWithResponseInit {
  constructor(data, init) {
    this.type = "DataWithResponseInit";
    this.data = data;
    this.init = init || null;
  }
}
/**
 * Create "responses" that contain `status`/`headers` without forcing
 * serialization into an actual `Response` - used by Remix single fetch
 */
function data(data, init) {
  return new DataWithResponseInit(data, typeof init === "number" ? {
    status: init
  } : init);
}
class AbortedDeferredError extends Error {}
class DeferredData {
  constructor(data, responseInit) {
    this.pendingKeysSet = new Set();
    this.subscribers = new Set();
    this.deferredKeys = [];
    invariant(data && typeof data === "object" && !Array.isArray(data), "defer() only accepts plain objects");
    // Set up an AbortController + Promise we can race against to exit early
    // cancellation
    let reject;
    this.abortPromise = new Promise((_, r) => reject = r);
    this.controller = new AbortController();
    let onAbort = () => reject(new AbortedDeferredError("Deferred data aborted"));
    this.unlistenAbortSignal = () => this.controller.signal.removeEventListener("abort", onAbort);
    this.controller.signal.addEventListener("abort", onAbort);
    this.data = Object.entries(data).reduce((acc, _ref2) => {
      let [key, value] = _ref2;
      return Object.assign(acc, {
        [key]: this.trackPromise(key, value)
      });
    }, {});
    if (this.done) {
      // All incoming values were resolved
      this.unlistenAbortSignal();
    }
    this.init = responseInit;
  }
  trackPromise(key, value) {
    if (!(value instanceof Promise)) {
      return value;
    }
    this.deferredKeys.push(key);
    this.pendingKeysSet.add(key);
    // We store a little wrapper promise that will be extended with
    // _data/_error props upon resolve/reject
    let promise = Promise.race([value, this.abortPromise]).then(data => this.onSettle(promise, key, undefined, data), error => this.onSettle(promise, key, error));
    // Register rejection listeners to avoid uncaught promise rejections on
    // errors or aborted deferred values
    promise.catch(() => {});
    Object.defineProperty(promise, "_tracked", {
      get: () => true
    });
    return promise;
  }
  onSettle(promise, key, error, data) {
    if (this.controller.signal.aborted && error instanceof AbortedDeferredError) {
      this.unlistenAbortSignal();
      Object.defineProperty(promise, "_error", {
        get: () => error
      });
      return Promise.reject(error);
    }
    this.pendingKeysSet.delete(key);
    if (this.done) {
      // Nothing left to abort!
      this.unlistenAbortSignal();
    }
    // If the promise was resolved/rejected with undefined, we'll throw an error as you
    // should always resolve with a value or null
    if (error === undefined && data === undefined) {
      let undefinedError = new Error("Deferred data for key \"" + key + "\" resolved/rejected with `undefined`, " + "you must resolve/reject with a value or `null`.");
      Object.defineProperty(promise, "_error", {
        get: () => undefinedError
      });
      this.emit(false, key);
      return Promise.reject(undefinedError);
    }
    if (data === undefined) {
      Object.defineProperty(promise, "_error", {
        get: () => error
      });
      this.emit(false, key);
      return Promise.reject(error);
    }
    Object.defineProperty(promise, "_data", {
      get: () => data
    });
    this.emit(false, key);
    return data;
  }
  emit(aborted, settledKey) {
    this.subscribers.forEach(subscriber => subscriber(aborted, settledKey));
  }
  subscribe(fn) {
    this.subscribers.add(fn);
    return () => this.subscribers.delete(fn);
  }
  cancel() {
    this.controller.abort();
    this.pendingKeysSet.forEach((v, k) => this.pendingKeysSet.delete(k));
    this.emit(true);
  }
  async resolveData(signal) {
    let aborted = false;
    if (!this.done) {
      let onAbort = () => this.cancel();
      signal.addEventListener("abort", onAbort);
      aborted = await new Promise(resolve => {
        this.subscribe(aborted => {
          signal.removeEventListener("abort", onAbort);
          if (aborted || this.done) {
            resolve(aborted);
          }
        });
      });
    }
    return aborted;
  }
  get done() {
    return this.pendingKeysSet.size === 0;
  }
  get unwrappedData() {
    invariant(this.data !== null && this.done, "Can only unwrap data on initialized and settled deferreds");
    return Object.entries(this.data).reduce((acc, _ref3) => {
      let [key, value] = _ref3;
      return Object.assign(acc, {
        [key]: unwrapTrackedPromise(value)
      });
    }, {});
  }
  get pendingKeys() {
    return Array.from(this.pendingKeysSet);
  }
}
function isTrackedPromise(value) {
  return value instanceof Promise && value._tracked === true;
}
function unwrapTrackedPromise(value) {
  if (!isTrackedPromise(value)) {
    return value;
  }
  if (value._error) {
    throw value._error;
  }
  return value._data;
}
/**
 * @deprecated The `defer` method is deprecated in favor of returning raw
 * objects. This method will be removed in v7.
 */
const defer = function defer(data, init) {
  if (init === void 0) {
    init = {};
  }
  let responseInit = typeof init === "number" ? {
    status: init
  } : init;
  return new DeferredData(data, responseInit);
};
/**
 * A redirect response. Sets the status code and the `Location` header.
 * Defaults to "302 Found".
 */
const redirect = function redirect(url, init) {
  if (init === void 0) {
    init = 302;
  }
  let responseInit = init;
  if (typeof responseInit === "number") {
    responseInit = {
      status: responseInit
    };
  } else if (typeof responseInit.status === "undefined") {
    responseInit.status = 302;
  }
  let headers = new Headers(responseInit.headers);
  headers.set("Location", url);
  return new Response(null, _extends({}, responseInit, {
    headers
  }));
};
/**
 * A redirect response that will force a document reload to the new location.
 * Sets the status code and the `Location` header.
 * Defaults to "302 Found".
 */
const redirectDocument = (url, init) => {
  let response = redirect(url, init);
  response.headers.set("X-Remix-Reload-Document", "true");
  return response;
};
/**
 * A redirect response that will perform a `history.replaceState` instead of a
 * `history.pushState` for client-side navigation redirects.
 * Sets the status code and the `Location` header.
 * Defaults to "302 Found".
 */
const replace = (url, init) => {
  let response = redirect(url, init);
  response.headers.set("X-Remix-Replace", "true");
  return response;
};
/**
 * @private
 * Utility class we use to hold auto-unwrapped 4xx/5xx Response bodies
 *
 * We don't export the class for public use since it's an implementation
 * detail, but we export the interface above so folks can build their own
 * abstractions around instances via isRouteErrorResponse()
 */
class ErrorResponseImpl {
  constructor(status, statusText, data, internal) {
    if (internal === void 0) {
      internal = false;
    }
    this.status = status;
    this.statusText = statusText || "";
    this.internal = internal;
    if (data instanceof Error) {
      this.data = data.toString();
      this.error = data;
    } else {
      this.data = data;
    }
  }
}
/**
 * Check if the given error is an ErrorResponse generated from a 4xx/5xx
 * Response thrown from an action/loader
 */
function isRouteErrorResponse(error) {
  return error != null && typeof error.status === "number" && typeof error.statusText === "string" && typeof error.internal === "boolean" && "data" in error;
}

const validMutationMethodsArr = ["post", "put", "patch", "delete"];
const validMutationMethods = new Set(validMutationMethodsArr);
const validRequestMethodsArr = ["get", ...validMutationMethodsArr];
const validRequestMethods = new Set(validRequestMethodsArr);
const redirectStatusCodes = new Set([301, 302, 303, 307, 308]);
const redirectPreserveMethodStatusCodes = new Set([307, 308]);
const IDLE_NAVIGATION = {
  state: "idle",
  location: undefined,
  formMethod: undefined,
  formAction: undefined,
  formEncType: undefined,
  formData: undefined,
  json: undefined,
  text: undefined
};
const IDLE_FETCHER = {
  state: "idle",
  data: undefined,
  formMethod: undefined,
  formAction: undefined,
  formEncType: undefined,
  formData: undefined,
  json: undefined,
  text: undefined
};
const IDLE_BLOCKER = {
  state: "unblocked",
  proceed: undefined,
  reset: undefined,
  location: undefined
};
const ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;
const defaultMapRouteProperties = route => ({
  hasErrorBoundary: Boolean(route.hasErrorBoundary)
});
const TRANSITIONS_STORAGE_KEY = "remix-router-transitions";
//#endregion
////////////////////////////////////////////////////////////////////////////////
//#region createRouter
////////////////////////////////////////////////////////////////////////////////
/**
 * Create a router and listen to history POP navigations
 */
function createRouter(init) {
  const routerWindow = init.window ? init.window : typeof window !== "undefined" ? window : undefined;
  const isBrowser = typeof routerWindow !== "undefined" && typeof routerWindow.document !== "undefined" && typeof routerWindow.document.createElement !== "undefined";
  const isServer = !isBrowser;
  invariant(init.routes.length > 0, "You must provide a non-empty routes array to createRouter");
  let mapRouteProperties;
  if (init.mapRouteProperties) {
    mapRouteProperties = init.mapRouteProperties;
  } else if (init.detectErrorBoundary) {
    // If they are still using the deprecated version, wrap it with the new API
    let detectErrorBoundary = init.detectErrorBoundary;
    mapRouteProperties = route => ({
      hasErrorBoundary: detectErrorBoundary(route)
    });
  } else {
    mapRouteProperties = defaultMapRouteProperties;
  }
  // Routes keyed by ID
  let manifest = {};
  // Routes in tree format for matching
  let dataRoutes = convertRoutesToDataRoutes(init.routes, mapRouteProperties, undefined, manifest);
  let inFlightDataRoutes;
  let basename = init.basename || "/";
  let dataStrategyImpl = init.dataStrategy || defaultDataStrategy;
  let patchRoutesOnNavigationImpl = init.patchRoutesOnNavigation;
  // Config driven behavior flags
  let future = _extends({
    v7_fetcherPersist: false,
    v7_normalizeFormMethod: false,
    v7_partialHydration: false,
    v7_prependBasename: false,
    v7_relativeSplatPath: false,
    v7_skipActionErrorRevalidation: false
  }, init.future);
  // Cleanup function for history
  let unlistenHistory = null;
  // Externally-provided functions to call on all state changes
  let subscribers = new Set();
  // Externally-provided object to hold scroll restoration locations during routing
  let savedScrollPositions = null;
  // Externally-provided function to get scroll restoration keys
  let getScrollRestorationKey = null;
  // Externally-provided function to get current scroll position
  let getScrollPosition = null;
  // One-time flag to control the initial hydration scroll restoration.  Because
  // we don't get the saved positions from <ScrollRestoration /> until _after_
  // the initial render, we need to manually trigger a separate updateState to
  // send along the restoreScrollPosition
  // Set to true if we have `hydrationData` since we assume we were SSR'd and that
  // SSR did the initial scroll restoration.
  let initialScrollRestored = init.hydrationData != null;
  let initialMatches = matchRoutes(dataRoutes, init.history.location, basename);
  let initialMatchesIsFOW = false;
  let initialErrors = null;
  if (initialMatches == null && !patchRoutesOnNavigationImpl) {
    // If we do not match a user-provided-route, fall back to the root
    // to allow the error boundary to take over
    let error = getInternalRouterError(404, {
      pathname: init.history.location.pathname
    });
    let {
      matches,
      route
    } = getShortCircuitMatches(dataRoutes);
    initialMatches = matches;
    initialErrors = {
      [route.id]: error
    };
  }
  // In SPA apps, if the user provided a patchRoutesOnNavigation implementation and
  // our initial match is a splat route, clear them out so we run through lazy
  // discovery on hydration in case there's a more accurate lazy route match.
  // In SSR apps (with `hydrationData`), we expect that the server will send
  // up the proper matched routes so we don't want to run lazy discovery on
  // initial hydration and want to hydrate into the splat route.
  if (initialMatches && !init.hydrationData) {
    let fogOfWar = checkFogOfWar(initialMatches, dataRoutes, init.history.location.pathname);
    if (fogOfWar.active) {
      initialMatches = null;
    }
  }
  let initialized;
  if (!initialMatches) {
    initialized = false;
    initialMatches = [];
    // If partial hydration and fog of war is enabled, we will be running
    // `patchRoutesOnNavigation` during hydration so include any partial matches as
    // the initial matches so we can properly render `HydrateFallback`'s
    if (future.v7_partialHydration) {
      let fogOfWar = checkFogOfWar(null, dataRoutes, init.history.location.pathname);
      if (fogOfWar.active && fogOfWar.matches) {
        initialMatchesIsFOW = true;
        initialMatches = fogOfWar.matches;
      }
    }
  } else if (initialMatches.some(m => m.route.lazy)) {
    // All initialMatches need to be loaded before we're ready.  If we have lazy
    // functions around still then we'll need to run them in initialize()
    initialized = false;
  } else if (!initialMatches.some(m => m.route.loader)) {
    // If we've got no loaders to run, then we're good to go
    initialized = true;
  } else if (future.v7_partialHydration) {
    // If partial hydration is enabled, we're initialized so long as we were
    // provided with hydrationData for every route with a loader, and no loaders
    // were marked for explicit hydration
    let loaderData = init.hydrationData ? init.hydrationData.loaderData : null;
    let errors = init.hydrationData ? init.hydrationData.errors : null;
    // If errors exist, don't consider routes below the boundary
    if (errors) {
      let idx = initialMatches.findIndex(m => errors[m.route.id] !== undefined);
      initialized = initialMatches.slice(0, idx + 1).every(m => !shouldLoadRouteOnHydration(m.route, loaderData, errors));
    } else {
      initialized = initialMatches.every(m => !shouldLoadRouteOnHydration(m.route, loaderData, errors));
    }
  } else {
    // Without partial hydration - we're initialized if we were provided any
    // hydrationData - which is expected to be complete
    initialized = init.hydrationData != null;
  }
  let router;
  let state = {
    historyAction: init.history.action,
    location: init.history.location,
    matches: initialMatches,
    initialized,
    navigation: IDLE_NAVIGATION,
    // Don't restore on initial updateState() if we were SSR'd
    restoreScrollPosition: init.hydrationData != null ? false : null,
    preventScrollReset: false,
    revalidation: "idle",
    loaderData: init.hydrationData && init.hydrationData.loaderData || {},
    actionData: init.hydrationData && init.hydrationData.actionData || null,
    errors: init.hydrationData && init.hydrationData.errors || initialErrors,
    fetchers: new Map(),
    blockers: new Map()
  };
  // -- Stateful internal variables to manage navigations --
  // Current navigation in progress (to be committed in completeNavigation)
  let pendingAction = Action.Pop;
  // Should the current navigation prevent the scroll reset if scroll cannot
  // be restored?
  let pendingPreventScrollReset = false;
  // AbortController for the active navigation
  let pendingNavigationController;
  // Should the current navigation enable document.startViewTransition?
  let pendingViewTransitionEnabled = false;
  // Store applied view transitions so we can apply them on POP
  let appliedViewTransitions = new Map();
  // Cleanup function for persisting applied transitions to sessionStorage
  let removePageHideEventListener = null;
  // We use this to avoid touching history in completeNavigation if a
  // revalidation is entirely uninterrupted
  let isUninterruptedRevalidation = false;
  // Use this internal flag to force revalidation of all loaders:
  //  - submissions (completed or interrupted)
  //  - useRevalidator()
  //  - X-Remix-Revalidate (from redirect)
  let isRevalidationRequired = false;
  // Use this internal array to capture routes that require revalidation due
  // to a cancelled deferred on action submission
  let cancelledDeferredRoutes = [];
  // Use this internal array to capture fetcher loads that were cancelled by an
  // action navigation and require revalidation
  let cancelledFetcherLoads = new Set();
  // AbortControllers for any in-flight fetchers
  let fetchControllers = new Map();
  // Track loads based on the order in which they started
  let incrementingLoadId = 0;
  // Track the outstanding pending navigation data load to be compared against
  // the globally incrementing load when a fetcher load lands after a completed
  // navigation
  let pendingNavigationLoadId = -1;
  // Fetchers that triggered data reloads as a result of their actions
  let fetchReloadIds = new Map();
  // Fetchers that triggered redirect navigations
  let fetchRedirectIds = new Set();
  // Most recent href/match for fetcher.load calls for fetchers
  let fetchLoadMatches = new Map();
  // Ref-count mounted fetchers so we know when it's ok to clean them up
  let activeFetchers = new Map();
  // Fetchers that have requested a delete when using v7_fetcherPersist,
  // they'll be officially removed after they return to idle
  let deletedFetchers = new Set();
  // Store DeferredData instances for active route matches.  When a
  // route loader returns defer() we stick one in here.  Then, when a nested
  // promise resolves we update loaderData.  If a new navigation starts we
  // cancel active deferreds for eliminated routes.
  let activeDeferreds = new Map();
  // Store blocker functions in a separate Map outside of router state since
  // we don't need to update UI state if they change
  let blockerFunctions = new Map();
  // Flag to ignore the next history update, so we can revert the URL change on
  // a POP navigation that was blocked by the user without touching router state
  let unblockBlockerHistoryUpdate = undefined;
  // Initialize the router, all side effects should be kicked off from here.
  // Implemented as a Fluent API for ease of:
  //   let router = createRouter(init).initialize();
  function initialize() {
    // If history informs us of a POP navigation, start the navigation but do not update
    // state.  We'll update our own state once the navigation completes
    unlistenHistory = init.history.listen(_ref => {
      let {
        action: historyAction,
        location,
        delta
      } = _ref;
      // Ignore this event if it was just us resetting the URL from a
      // blocked POP navigation
      if (unblockBlockerHistoryUpdate) {
        unblockBlockerHistoryUpdate();
        unblockBlockerHistoryUpdate = undefined;
        return;
      }
      warning(blockerFunctions.size === 0 || delta != null, "You are trying to use a blocker on a POP navigation to a location " + "that was not created by @remix-run/router. This will fail silently in " + "production. This can happen if you are navigating outside the router " + "via `window.history.pushState`/`window.location.hash` instead of using " + "router navigation APIs.  This can also happen if you are using " + "createHashRouter and the user manually changes the URL.");
      let blockerKey = shouldBlockNavigation({
        currentLocation: state.location,
        nextLocation: location,
        historyAction
      });
      if (blockerKey && delta != null) {
        // Restore the URL to match the current UI, but don't update router state
        let nextHistoryUpdatePromise = new Promise(resolve => {
          unblockBlockerHistoryUpdate = resolve;
        });
        init.history.go(delta * -1);
        // Put the blocker into a blocked state
        updateBlocker(blockerKey, {
          state: "blocked",
          location,
          proceed() {
            updateBlocker(blockerKey, {
              state: "proceeding",
              proceed: undefined,
              reset: undefined,
              location
            });
            // Re-do the same POP navigation we just blocked, after the url
            // restoration is also complete.  See:
            // https://github.com/remix-run/react-router/issues/11613
            nextHistoryUpdatePromise.then(() => init.history.go(delta));
          },
          reset() {
            let blockers = new Map(state.blockers);
            blockers.set(blockerKey, IDLE_BLOCKER);
            updateState({
              blockers
            });
          }
        });
        return;
      }
      return startNavigation(historyAction, location);
    });
    if (isBrowser) {
      // FIXME: This feels gross.  How can we cleanup the lines between
      // scrollRestoration/appliedTransitions persistance?
      restoreAppliedTransitions(routerWindow, appliedViewTransitions);
      let _saveAppliedTransitions = () => persistAppliedTransitions(routerWindow, appliedViewTransitions);
      routerWindow.addEventListener("pagehide", _saveAppliedTransitions);
      removePageHideEventListener = () => routerWindow.removeEventListener("pagehide", _saveAppliedTransitions);
    }
    // Kick off initial data load if needed.  Use Pop to avoid modifying history
    // Note we don't do any handling of lazy here.  For SPA's it'll get handled
    // in the normal navigation flow.  For SSR it's expected that lazy modules are
    // resolved prior to router creation since we can't go into a fallbackElement
    // UI for SSR'd apps
    if (!state.initialized) {
      startNavigation(Action.Pop, state.location, {
        initialHydration: true
      });
    }
    return router;
  }
  // Clean up a router and it's side effects
  function dispose() {
    if (unlistenHistory) {
      unlistenHistory();
    }
    if (removePageHideEventListener) {
      removePageHideEventListener();
    }
    subscribers.clear();
    pendingNavigationController && pendingNavigationController.abort();
    state.fetchers.forEach((_, key) => deleteFetcher(key));
    state.blockers.forEach((_, key) => deleteBlocker(key));
  }
  // Subscribe to state updates for the router
  function subscribe(fn) {
    subscribers.add(fn);
    return () => subscribers.delete(fn);
  }
  // Update our state and notify the calling context of the change
  function updateState(newState, opts) {
    if (opts === void 0) {
      opts = {};
    }
    state = _extends({}, state, newState);
    // Prep fetcher cleanup so we can tell the UI which fetcher data entries
    // can be removed
    let completedFetchers = [];
    let deletedFetchersKeys = [];
    if (future.v7_fetcherPersist) {
      state.fetchers.forEach((fetcher, key) => {
        if (fetcher.state === "idle") {
          if (deletedFetchers.has(key)) {
            // Unmounted from the UI and can be totally removed
            deletedFetchersKeys.push(key);
          } else {
            // Returned to idle but still mounted in the UI, so semi-remains for
            // revalidations and such
            completedFetchers.push(key);
          }
        }
      });
    }
    // Remove any lingering deleted fetchers that have already been removed
    // from state.fetchers
    deletedFetchers.forEach(key => {
      if (!state.fetchers.has(key) && !fetchControllers.has(key)) {
        deletedFetchersKeys.push(key);
      }
    });
    // Iterate over a local copy so that if flushSync is used and we end up
    // removing and adding a new subscriber due to the useCallback dependencies,
    // we don't get ourselves into a loop calling the new subscriber immediately
    [...subscribers].forEach(subscriber => subscriber(state, {
      deletedFetchers: deletedFetchersKeys,
      viewTransitionOpts: opts.viewTransitionOpts,
      flushSync: opts.flushSync === true
    }));
    // Remove idle fetchers from state since we only care about in-flight fetchers.
    if (future.v7_fetcherPersist) {
      completedFetchers.forEach(key => state.fetchers.delete(key));
      deletedFetchersKeys.forEach(key => deleteFetcher(key));
    } else {
      // We already called deleteFetcher() on these, can remove them from this
      // Set now that we've handed the keys off to the data layer
      deletedFetchersKeys.forEach(key => deletedFetchers.delete(key));
    }
  }
  // Complete a navigation returning the state.navigation back to the IDLE_NAVIGATION
  // and setting state.[historyAction/location/matches] to the new route.
  // - Location is a required param
  // - Navigation will always be set to IDLE_NAVIGATION
  // - Can pass any other state in newState
  function completeNavigation(location, newState, _temp) {
    var _location$state, _location$state2;
    let {
      flushSync
    } = _temp === void 0 ? {} : _temp;
    // Deduce if we're in a loading/actionReload state:
    // - We have committed actionData in the store
    // - The current navigation was a mutation submission
    // - We're past the submitting state and into the loading state
    // - The location being loaded is not the result of a redirect
    let isActionReload = state.actionData != null && state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && state.navigation.state === "loading" && ((_location$state = location.state) == null ? void 0 : _location$state._isRedirect) !== true;
    let actionData;
    if (newState.actionData) {
      if (Object.keys(newState.actionData).length > 0) {
        actionData = newState.actionData;
      } else {
        // Empty actionData -> clear prior actionData due to an action error
        actionData = null;
      }
    } else if (isActionReload) {
      // Keep the current data if we're wrapping up the action reload
      actionData = state.actionData;
    } else {
      // Clear actionData on any other completed navigations
      actionData = null;
    }
    // Always preserve any existing loaderData from re-used routes
    let loaderData = newState.loaderData ? mergeLoaderData(state.loaderData, newState.loaderData, newState.matches || [], newState.errors) : state.loaderData;
    // On a successful navigation we can assume we got through all blockers
    // so we can start fresh
    let blockers = state.blockers;
    if (blockers.size > 0) {
      blockers = new Map(blockers);
      blockers.forEach((_, k) => blockers.set(k, IDLE_BLOCKER));
    }
    // Always respect the user flag.  Otherwise don't reset on mutation
    // submission navigations unless they redirect
    let preventScrollReset = pendingPreventScrollReset === true || state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && ((_location$state2 = location.state) == null ? void 0 : _location$state2._isRedirect) !== true;
    // Commit any in-flight routes at the end of the HMR revalidation "navigation"
    if (inFlightDataRoutes) {
      dataRoutes = inFlightDataRoutes;
      inFlightDataRoutes = undefined;
    }
    if (isUninterruptedRevalidation) ; else if (pendingAction === Action.Pop) ; else if (pendingAction === Action.Push) {
      init.history.push(location, location.state);
    } else if (pendingAction === Action.Replace) {
      init.history.replace(location, location.state);
    }
    let viewTransitionOpts;
    // On POP, enable transitions if they were enabled on the original navigation
    if (pendingAction === Action.Pop) {
      // Forward takes precedence so they behave like the original navigation
      let priorPaths = appliedViewTransitions.get(state.location.pathname);
      if (priorPaths && priorPaths.has(location.pathname)) {
        viewTransitionOpts = {
          currentLocation: state.location,
          nextLocation: location
        };
      } else if (appliedViewTransitions.has(location.pathname)) {
        // If we don't have a previous forward nav, assume we're popping back to
        // the new location and enable if that location previously enabled
        viewTransitionOpts = {
          currentLocation: location,
          nextLocation: state.location
        };
      }
    } else if (pendingViewTransitionEnabled) {
      // Store the applied transition on PUSH/REPLACE
      let toPaths = appliedViewTransitions.get(state.location.pathname);
      if (toPaths) {
        toPaths.add(location.pathname);
      } else {
        toPaths = new Set([location.pathname]);
        appliedViewTransitions.set(state.location.pathname, toPaths);
      }
      viewTransitionOpts = {
        currentLocation: state.location,
        nextLocation: location
      };
    }
    updateState(_extends({}, newState, {
      actionData,
      loaderData,
      historyAction: pendingAction,
      location,
      initialized: true,
      navigation: IDLE_NAVIGATION,
      revalidation: "idle",
      restoreScrollPosition: getSavedScrollPosition(location, newState.matches || state.matches),
      preventScrollReset,
      blockers
    }), {
      viewTransitionOpts,
      flushSync: flushSync === true
    });
    // Reset stateful navigation vars
    pendingAction = Action.Pop;
    pendingPreventScrollReset = false;
    pendingViewTransitionEnabled = false;
    isUninterruptedRevalidation = false;
    isRevalidationRequired = false;
    cancelledDeferredRoutes = [];
  }
  // Trigger a navigation event, which can either be a numerical POP or a PUSH
  // replace with an optional submission
  async function navigate(to, opts) {
    if (typeof to === "number") {
      init.history.go(to);
      return;
    }
    let normalizedPath = normalizeTo(state.location, state.matches, basename, future.v7_prependBasename, to, future.v7_relativeSplatPath, opts == null ? void 0 : opts.fromRouteId, opts == null ? void 0 : opts.relative);
    let {
      path,
      submission,
      error
    } = normalizeNavigateOptions(future.v7_normalizeFormMethod, false, normalizedPath, opts);
    let currentLocation = state.location;
    let nextLocation = createLocation(state.location, path, opts && opts.state);
    // When using navigate as a PUSH/REPLACE we aren't reading an already-encoded
    // URL from window.location, so we need to encode it here so the behavior
    // remains the same as POP and non-data-router usages.  new URL() does all
    // the same encoding we'd get from a history.pushState/window.location read
    // without having to touch history
    nextLocation = _extends({}, nextLocation, init.history.encodeLocation(nextLocation));
    let userReplace = opts && opts.replace != null ? opts.replace : undefined;
    let historyAction = Action.Push;
    if (userReplace === true) {
      historyAction = Action.Replace;
    } else if (userReplace === false) ; else if (submission != null && isMutationMethod(submission.formMethod) && submission.formAction === state.location.pathname + state.location.search) {
      // By default on submissions to the current location we REPLACE so that
      // users don't have to double-click the back button to get to the prior
      // location.  If the user redirects to a different location from the
      // action/loader this will be ignored and the redirect will be a PUSH
      historyAction = Action.Replace;
    }
    let preventScrollReset = opts && "preventScrollReset" in opts ? opts.preventScrollReset === true : undefined;
    let flushSync = (opts && opts.flushSync) === true;
    let blockerKey = shouldBlockNavigation({
      currentLocation,
      nextLocation,
      historyAction
    });
    if (blockerKey) {
      // Put the blocker into a blocked state
      updateBlocker(blockerKey, {
        state: "blocked",
        location: nextLocation,
        proceed() {
          updateBlocker(blockerKey, {
            state: "proceeding",
            proceed: undefined,
            reset: undefined,
            location: nextLocation
          });
          // Send the same navigation through
          navigate(to, opts);
        },
        reset() {
          let blockers = new Map(state.blockers);
          blockers.set(blockerKey, IDLE_BLOCKER);
          updateState({
            blockers
          });
        }
      });
      return;
    }
    return await startNavigation(historyAction, nextLocation, {
      submission,
      // Send through the formData serialization error if we have one so we can
      // render at the right error boundary after we match routes
      pendingError: error,
      preventScrollReset,
      replace: opts && opts.replace,
      enableViewTransition: opts && opts.viewTransition,
      flushSync
    });
  }
  // Revalidate all current loaders.  If a navigation is in progress or if this
  // is interrupted by a navigation, allow this to "succeed" by calling all
  // loaders during the next loader round
  function revalidate() {
    interruptActiveLoads();
    updateState({
      revalidation: "loading"
    });
    // If we're currently submitting an action, we don't need to start a new
    // navigation, we'll just let the follow up loader execution call all loaders
    if (state.navigation.state === "submitting") {
      return;
    }
    // If we're currently in an idle state, start a new navigation for the current
    // action/location and mark it as uninterrupted, which will skip the history
    // update in completeNavigation
    if (state.navigation.state === "idle") {
      startNavigation(state.historyAction, state.location, {
        startUninterruptedRevalidation: true
      });
      return;
    }
    // Otherwise, if we're currently in a loading state, just start a new
    // navigation to the navigation.location but do not trigger an uninterrupted
    // revalidation so that history correctly updates once the navigation completes
    startNavigation(pendingAction || state.historyAction, state.navigation.location, {
      overrideNavigation: state.navigation,
      // Proxy through any rending view transition
      enableViewTransition: pendingViewTransitionEnabled === true
    });
  }
  // Start a navigation to the given action/location.  Can optionally provide a
  // overrideNavigation which will override the normalLoad in the case of a redirect
  // navigation
  async function startNavigation(historyAction, location, opts) {
    // Abort any in-progress navigations and start a new one. Unset any ongoing
    // uninterrupted revalidations unless told otherwise, since we want this
    // new navigation to update history normally
    pendingNavigationController && pendingNavigationController.abort();
    pendingNavigationController = null;
    pendingAction = historyAction;
    isUninterruptedRevalidation = (opts && opts.startUninterruptedRevalidation) === true;
    // Save the current scroll position every time we start a new navigation,
    // and track whether we should reset scroll on completion
    saveScrollPosition(state.location, state.matches);
    pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;
    pendingViewTransitionEnabled = (opts && opts.enableViewTransition) === true;
    let routesToUse = inFlightDataRoutes || dataRoutes;
    let loadingNavigation = opts && opts.overrideNavigation;
    let matches = opts != null && opts.initialHydration && state.matches && state.matches.length > 0 && !initialMatchesIsFOW ?
    // `matchRoutes()` has already been called if we're in here via `router.initialize()`
    state.matches : matchRoutes(routesToUse, location, basename);
    let flushSync = (opts && opts.flushSync) === true;
    // Short circuit if it's only a hash change and not a revalidation or
    // mutation submission.
    //
    // Ignore on initial page loads because since the initial hydration will always
    // be "same hash".  For example, on /page#hash and submit a <Form method="post">
    // which will default to a navigation to /page
    if (matches && state.initialized && !isRevalidationRequired && isHashChangeOnly(state.location, location) && !(opts && opts.submission && isMutationMethod(opts.submission.formMethod))) {
      completeNavigation(location, {
        matches
      }, {
        flushSync
      });
      return;
    }
    let fogOfWar = checkFogOfWar(matches, routesToUse, location.pathname);
    if (fogOfWar.active && fogOfWar.matches) {
      matches = fogOfWar.matches;
    }
    // Short circuit with a 404 on the root error boundary if we match nothing
    if (!matches) {
      let {
        error,
        notFoundMatches,
        route
      } = handleNavigational404(location.pathname);
      completeNavigation(location, {
        matches: notFoundMatches,
        loaderData: {},
        errors: {
          [route.id]: error
        }
      }, {
        flushSync
      });
      return;
    }
    // Create a controller/Request for this navigation
    pendingNavigationController = new AbortController();
    let request = createClientSideRequest(init.history, location, pendingNavigationController.signal, opts && opts.submission);
    let pendingActionResult;
    if (opts && opts.pendingError) {
      // If we have a pendingError, it means the user attempted a GET submission
      // with binary FormData so assign here and skip to handleLoaders.  That
      // way we handle calling loaders above the boundary etc.  It's not really
      // different from an actionError in that sense.
      pendingActionResult = [findNearestBoundary(matches).route.id, {
        type: ResultType.error,
        error: opts.pendingError
      }];
    } else if (opts && opts.submission && isMutationMethod(opts.submission.formMethod)) {
      // Call action if we received an action submission
      let actionResult = await handleAction(request, location, opts.submission, matches, fogOfWar.active, {
        replace: opts.replace,
        flushSync
      });
      if (actionResult.shortCircuited) {
        return;
      }
      // If we received a 404 from handleAction, it's because we couldn't lazily
      // discover the destination route so we don't want to call loaders
      if (actionResult.pendingActionResult) {
        let [routeId, result] = actionResult.pendingActionResult;
        if (isErrorResult(result) && isRouteErrorResponse(result.error) && result.error.status === 404) {
          pendingNavigationController = null;
          completeNavigation(location, {
            matches: actionResult.matches,
            loaderData: {},
            errors: {
              [routeId]: result.error
            }
          });
          return;
        }
      }
      matches = actionResult.matches || matches;
      pendingActionResult = actionResult.pendingActionResult;
      loadingNavigation = getLoadingNavigation(location, opts.submission);
      flushSync = false;
      // No need to do fog of war matching again on loader execution
      fogOfWar.active = false;
      // Create a GET request for the loaders
      request = createClientSideRequest(init.history, request.url, request.signal);
    }
    // Call loaders
    let {
      shortCircuited,
      matches: updatedMatches,
      loaderData,
      errors
    } = await handleLoaders(request, location, matches, fogOfWar.active, loadingNavigation, opts && opts.submission, opts && opts.fetcherSubmission, opts && opts.replace, opts && opts.initialHydration === true, flushSync, pendingActionResult);
    if (shortCircuited) {
      return;
    }
    // Clean up now that the action/loaders have completed.  Don't clean up if
    // we short circuited because pendingNavigationController will have already
    // been assigned to a new controller for the next navigation
    pendingNavigationController = null;
    completeNavigation(location, _extends({
      matches: updatedMatches || matches
    }, getActionDataForCommit(pendingActionResult), {
      loaderData,
      errors
    }));
  }
  // Call the action matched by the leaf route for this navigation and handle
  // redirects/errors
  async function handleAction(request, location, submission, matches, isFogOfWar, opts) {
    if (opts === void 0) {
      opts = {};
    }
    interruptActiveLoads();
    // Put us in a submitting state
    let navigation = getSubmittingNavigation(location, submission);
    updateState({
      navigation
    }, {
      flushSync: opts.flushSync === true
    });
    if (isFogOfWar) {
      let discoverResult = await discoverRoutes(matches, location.pathname, request.signal);
      if (discoverResult.type === "aborted") {
        return {
          shortCircuited: true
        };
      } else if (discoverResult.type === "error") {
        let boundaryId = findNearestBoundary(discoverResult.partialMatches).route.id;
        return {
          matches: discoverResult.partialMatches,
          pendingActionResult: [boundaryId, {
            type: ResultType.error,
            error: discoverResult.error
          }]
        };
      } else if (!discoverResult.matches) {
        let {
          notFoundMatches,
          error,
          route
        } = handleNavigational404(location.pathname);
        return {
          matches: notFoundMatches,
          pendingActionResult: [route.id, {
            type: ResultType.error,
            error
          }]
        };
      } else {
        matches = discoverResult.matches;
      }
    }
    // Call our action and get the result
    let result;
    let actionMatch = getTargetMatch(matches, location);
    if (!actionMatch.route.action && !actionMatch.route.lazy) {
      result = {
        type: ResultType.error,
        error: getInternalRouterError(405, {
          method: request.method,
          pathname: location.pathname,
          routeId: actionMatch.route.id
        })
      };
    } else {
      let results = await callDataStrategy("action", state, request, [actionMatch], matches, null);
      result = results[actionMatch.route.id];
      if (request.signal.aborted) {
        return {
          shortCircuited: true
        };
      }
    }
    if (isRedirectResult(result)) {
      let replace;
      if (opts && opts.replace != null) {
        replace = opts.replace;
      } else {
        // If the user didn't explicity indicate replace behavior, replace if
        // we redirected to the exact same location we're currently at to avoid
        // double back-buttons
        let location = normalizeRedirectLocation(result.response.headers.get("Location"), new URL(request.url), basename, init.history);
        replace = location === state.location.pathname + state.location.search;
      }
      await startRedirectNavigation(request, result, true, {
        submission,
        replace
      });
      return {
        shortCircuited: true
      };
    }
    if (isDeferredResult(result)) {
      throw getInternalRouterError(400, {
        type: "defer-action"
      });
    }
    if (isErrorResult(result)) {
      // Store off the pending error - we use it to determine which loaders
      // to call and will commit it when we complete the navigation
      let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);
      // By default, all submissions to the current location are REPLACE
      // navigations, but if the action threw an error that'll be rendered in
      // an errorElement, we fall back to PUSH so that the user can use the
      // back button to get back to the pre-submission form location to try
      // again
      if ((opts && opts.replace) !== true) {
        pendingAction = Action.Push;
      }
      return {
        matches,
        pendingActionResult: [boundaryMatch.route.id, result]
      };
    }
    return {
      matches,
      pendingActionResult: [actionMatch.route.id, result]
    };
  }
  // Call all applicable loaders for the given matches, handling redirects,
  // errors, etc.
  async function handleLoaders(request, location, matches, isFogOfWar, overrideNavigation, submission, fetcherSubmission, replace, initialHydration, flushSync, pendingActionResult) {
    // Figure out the right navigation we want to use for data loading
    let loadingNavigation = overrideNavigation || getLoadingNavigation(location, submission);
    // If this was a redirect from an action we don't have a "submission" but
    // we have it on the loading navigation so use that if available
    let activeSubmission = submission || fetcherSubmission || getSubmissionFromNavigation(loadingNavigation);
    // If this is an uninterrupted revalidation, we remain in our current idle
    // state.  If not, we need to switch to our loading state and load data,
    // preserving any new action data or existing action data (in the case of
    // a revalidation interrupting an actionReload)
    // If we have partialHydration enabled, then don't update the state for the
    // initial data load since it's not a "navigation"
    let shouldUpdateNavigationState = !isUninterruptedRevalidation && (!future.v7_partialHydration || !initialHydration);
    // When fog of war is enabled, we enter our `loading` state earlier so we
    // can discover new routes during the `loading` state.  We skip this if
    // we've already run actions since we would have done our matching already.
    // If the children() function threw then, we want to proceed with the
    // partial matches it discovered.
    if (isFogOfWar) {
      if (shouldUpdateNavigationState) {
        let actionData = getUpdatedActionData(pendingActionResult);
        updateState(_extends({
          navigation: loadingNavigation
        }, actionData !== undefined ? {
          actionData
        } : {}), {
          flushSync
        });
      }
      let discoverResult = await discoverRoutes(matches, location.pathname, request.signal);
      if (discoverResult.type === "aborted") {
        return {
          shortCircuited: true
        };
      } else if (discoverResult.type === "error") {
        let boundaryId = findNearestBoundary(discoverResult.partialMatches).route.id;
        return {
          matches: discoverResult.partialMatches,
          loaderData: {},
          errors: {
            [boundaryId]: discoverResult.error
          }
        };
      } else if (!discoverResult.matches) {
        let {
          error,
          notFoundMatches,
          route
        } = handleNavigational404(location.pathname);
        return {
          matches: notFoundMatches,
          loaderData: {},
          errors: {
            [route.id]: error
          }
        };
      } else {
        matches = discoverResult.matches;
      }
    }
    let routesToUse = inFlightDataRoutes || dataRoutes;
    let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(init.history, state, matches, activeSubmission, location, future.v7_partialHydration && initialHydration === true, future.v7_skipActionErrorRevalidation, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, deletedFetchers, fetchLoadMatches, fetchRedirectIds, routesToUse, basename, pendingActionResult);
    // Cancel pending deferreds for no-longer-matched routes or routes we're
    // about to reload.  Note that if this is an action reload we would have
    // already cancelled all pending deferreds so this would be a no-op
    cancelActiveDeferreds(routeId => !(matches && matches.some(m => m.route.id === routeId)) || matchesToLoad && matchesToLoad.some(m => m.route.id === routeId));
    pendingNavigationLoadId = ++incrementingLoadId;
    // Short circuit if we have no loaders to run
    if (matchesToLoad.length === 0 && revalidatingFetchers.length === 0) {
      let updatedFetchers = markFetchRedirectsDone();
      completeNavigation(location, _extends({
        matches,
        loaderData: {},
        // Commit pending error if we're short circuiting
        errors: pendingActionResult && isErrorResult(pendingActionResult[1]) ? {
          [pendingActionResult[0]]: pendingActionResult[1].error
        } : null
      }, getActionDataForCommit(pendingActionResult), updatedFetchers ? {
        fetchers: new Map(state.fetchers)
      } : {}), {
        flushSync
      });
      return {
        shortCircuited: true
      };
    }
    if (shouldUpdateNavigationState) {
      let updates = {};
      if (!isFogOfWar) {
        // Only update navigation/actionNData if we didn't already do it above
        updates.navigation = loadingNavigation;
        let actionData = getUpdatedActionData(pendingActionResult);
        if (actionData !== undefined) {
          updates.actionData = actionData;
        }
      }
      if (revalidatingFetchers.length > 0) {
        updates.fetchers = getUpdatedRevalidatingFetchers(revalidatingFetchers);
      }
      updateState(updates, {
        flushSync
      });
    }
    revalidatingFetchers.forEach(rf => {
      abortFetcher(rf.key);
      if (rf.controller) {
        // Fetchers use an independent AbortController so that aborting a fetcher
        // (via deleteFetcher) does not abort the triggering navigation that
        // triggered the revalidation
        fetchControllers.set(rf.key, rf.controller);
      }
    });
    // Proxy navigation abort through to revalidation fetchers
    let abortPendingFetchRevalidations = () => revalidatingFetchers.forEach(f => abortFetcher(f.key));
    if (pendingNavigationController) {
      pendingNavigationController.signal.addEventListener("abort", abortPendingFetchRevalidations);
    }
    let {
      loaderResults,
      fetcherResults
    } = await callLoadersAndMaybeResolveData(state, matches, matchesToLoad, revalidatingFetchers, request);
    if (request.signal.aborted) {
      return {
        shortCircuited: true
      };
    }
    // Clean up _after_ loaders have completed.  Don't clean up if we short
    // circuited because fetchControllers would have been aborted and
    // reassigned to new controllers for the next navigation
    if (pendingNavigationController) {
      pendingNavigationController.signal.removeEventListener("abort", abortPendingFetchRevalidations);
    }
    revalidatingFetchers.forEach(rf => fetchControllers.delete(rf.key));
    // If any loaders returned a redirect Response, start a new REPLACE navigation
    let redirect = findRedirect(loaderResults);
    if (redirect) {
      await startRedirectNavigation(request, redirect.result, true, {
        replace
      });
      return {
        shortCircuited: true
      };
    }
    redirect = findRedirect(fetcherResults);
    if (redirect) {
      // If this redirect came from a fetcher make sure we mark it in
      // fetchRedirectIds so it doesn't get revalidated on the next set of
      // loader executions
      fetchRedirectIds.add(redirect.key);
      await startRedirectNavigation(request, redirect.result, true, {
        replace
      });
      return {
        shortCircuited: true
      };
    }
    // Process and commit output from loaders
    let {
      loaderData,
      errors
    } = processLoaderData(state, matches, loaderResults, pendingActionResult, revalidatingFetchers, fetcherResults, activeDeferreds);
    // Wire up subscribers to update loaderData as promises settle
    activeDeferreds.forEach((deferredData, routeId) => {
      deferredData.subscribe(aborted => {
        // Note: No need to updateState here since the TrackedPromise on
        // loaderData is stable across resolve/reject
        // Remove this instance if we were aborted or if promises have settled
        if (aborted || deferredData.done) {
          activeDeferreds.delete(routeId);
        }
      });
    });
    // Preserve SSR errors during partial hydration
    if (future.v7_partialHydration && initialHydration && state.errors) {
      errors = _extends({}, state.errors, errors);
    }
    let updatedFetchers = markFetchRedirectsDone();
    let didAbortFetchLoads = abortStaleFetchLoads(pendingNavigationLoadId);
    let shouldUpdateFetchers = updatedFetchers || didAbortFetchLoads || revalidatingFetchers.length > 0;
    return _extends({
      matches,
      loaderData,
      errors
    }, shouldUpdateFetchers ? {
      fetchers: new Map(state.fetchers)
    } : {});
  }
  function getUpdatedActionData(pendingActionResult) {
    if (pendingActionResult && !isErrorResult(pendingActionResult[1])) {
      // This is cast to `any` currently because `RouteData`uses any and it
      // would be a breaking change to use any.
      // TODO: v7 - change `RouteData` to use `unknown` instead of `any`
      return {
        [pendingActionResult[0]]: pendingActionResult[1].data
      };
    } else if (state.actionData) {
      if (Object.keys(state.actionData).length === 0) {
        return null;
      } else {
        return state.actionData;
      }
    }
  }
  function getUpdatedRevalidatingFetchers(revalidatingFetchers) {
    revalidatingFetchers.forEach(rf => {
      let fetcher = state.fetchers.get(rf.key);
      let revalidatingFetcher = getLoadingFetcher(undefined, fetcher ? fetcher.data : undefined);
      state.fetchers.set(rf.key, revalidatingFetcher);
    });
    return new Map(state.fetchers);
  }
  // Trigger a fetcher load/submit for the given fetcher key
  function fetch(key, routeId, href, opts) {
    if (isServer) {
      throw new Error("router.fetch() was called during the server render, but it shouldn't be. " + "You are likely calling a useFetcher() method in the body of your component. " + "Try moving it to a useEffect or a callback.");
    }
    abortFetcher(key);
    let flushSync = (opts && opts.flushSync) === true;
    let routesToUse = inFlightDataRoutes || dataRoutes;
    let normalizedPath = normalizeTo(state.location, state.matches, basename, future.v7_prependBasename, href, future.v7_relativeSplatPath, routeId, opts == null ? void 0 : opts.relative);
    let matches = matchRoutes(routesToUse, normalizedPath, basename);
    let fogOfWar = checkFogOfWar(matches, routesToUse, normalizedPath);
    if (fogOfWar.active && fogOfWar.matches) {
      matches = fogOfWar.matches;
    }
    if (!matches) {
      setFetcherError(key, routeId, getInternalRouterError(404, {
        pathname: normalizedPath
      }), {
        flushSync
      });
      return;
    }
    let {
      path,
      submission,
      error
    } = normalizeNavigateOptions(future.v7_normalizeFormMethod, true, normalizedPath, opts);
    if (error) {
      setFetcherError(key, routeId, error, {
        flushSync
      });
      return;
    }
    let match = getTargetMatch(matches, path);
    let preventScrollReset = (opts && opts.preventScrollReset) === true;
    if (submission && isMutationMethod(submission.formMethod)) {
      handleFetcherAction(key, routeId, path, match, matches, fogOfWar.active, flushSync, preventScrollReset, submission);
      return;
    }
    // Store off the match so we can call it's shouldRevalidate on subsequent
    // revalidations
    fetchLoadMatches.set(key, {
      routeId,
      path
    });
    handleFetcherLoader(key, routeId, path, match, matches, fogOfWar.active, flushSync, preventScrollReset, submission);
  }
  // Call the action for the matched fetcher.submit(), and then handle redirects,
  // errors, and revalidation
  async function handleFetcherAction(key, routeId, path, match, requestMatches, isFogOfWar, flushSync, preventScrollReset, submission) {
    interruptActiveLoads();
    fetchLoadMatches.delete(key);
    function detectAndHandle405Error(m) {
      if (!m.route.action && !m.route.lazy) {
        let error = getInternalRouterError(405, {
          method: submission.formMethod,
          pathname: path,
          routeId: routeId
        });
        setFetcherError(key, routeId, error, {
          flushSync
        });
        return true;
      }
      return false;
    }
    if (!isFogOfWar && detectAndHandle405Error(match)) {
      return;
    }
    // Put this fetcher into it's submitting state
    let existingFetcher = state.fetchers.get(key);
    updateFetcherState(key, getSubmittingFetcher(submission, existingFetcher), {
      flushSync
    });
    let abortController = new AbortController();
    let fetchRequest = createClientSideRequest(init.history, path, abortController.signal, submission);
    if (isFogOfWar) {
      let discoverResult = await discoverRoutes(requestMatches, new URL(fetchRequest.url).pathname, fetchRequest.signal, key);
      if (discoverResult.type === "aborted") {
        return;
      } else if (discoverResult.type === "error") {
        setFetcherError(key, routeId, discoverResult.error, {
          flushSync
        });
        return;
      } else if (!discoverResult.matches) {
        setFetcherError(key, routeId, getInternalRouterError(404, {
          pathname: path
        }), {
          flushSync
        });
        return;
      } else {
        requestMatches = discoverResult.matches;
        match = getTargetMatch(requestMatches, path);
        if (detectAndHandle405Error(match)) {
          return;
        }
      }
    }
    // Call the action for the fetcher
    fetchControllers.set(key, abortController);
    let originatingLoadId = incrementingLoadId;
    let actionResults = await callDataStrategy("action", state, fetchRequest, [match], requestMatches, key);
    let actionResult = actionResults[match.route.id];
    if (fetchRequest.signal.aborted) {
      // We can delete this so long as we weren't aborted by our own fetcher
      // re-submit which would have put _new_ controller is in fetchControllers
      if (fetchControllers.get(key) === abortController) {
        fetchControllers.delete(key);
      }
      return;
    }
    // When using v7_fetcherPersist, we don't want errors bubbling up to the UI
    // or redirects processed for unmounted fetchers so we just revert them to
    // idle
    if (future.v7_fetcherPersist && deletedFetchers.has(key)) {
      if (isRedirectResult(actionResult) || isErrorResult(actionResult)) {
        updateFetcherState(key, getDoneFetcher(undefined));
        return;
      }
      // Let SuccessResult's fall through for revalidation
    } else {
      if (isRedirectResult(actionResult)) {
        fetchControllers.delete(key);
        if (pendingNavigationLoadId > originatingLoadId) {
          // A new navigation was kicked off after our action started, so that
          // should take precedence over this redirect navigation.  We already
          // set isRevalidationRequired so all loaders for the new route should
          // fire unless opted out via shouldRevalidate
          updateFetcherState(key, getDoneFetcher(undefined));
          return;
        } else {
          fetchRedirectIds.add(key);
          updateFetcherState(key, getLoadingFetcher(submission));
          return startRedirectNavigation(fetchRequest, actionResult, false, {
            fetcherSubmission: submission,
            preventScrollReset
          });
        }
      }
      // Process any non-redirect errors thrown
      if (isErrorResult(actionResult)) {
        setFetcherError(key, routeId, actionResult.error);
        return;
      }
    }
    if (isDeferredResult(actionResult)) {
      throw getInternalRouterError(400, {
        type: "defer-action"
      });
    }
    // Start the data load for current matches, or the next location if we're
    // in the middle of a navigation
    let nextLocation = state.navigation.location || state.location;
    let revalidationRequest = createClientSideRequest(init.history, nextLocation, abortController.signal);
    let routesToUse = inFlightDataRoutes || dataRoutes;
    let matches = state.navigation.state !== "idle" ? matchRoutes(routesToUse, state.navigation.location, basename) : state.matches;
    invariant(matches, "Didn't find any matches after fetcher action");
    let loadId = ++incrementingLoadId;
    fetchReloadIds.set(key, loadId);
    let loadFetcher = getLoadingFetcher(submission, actionResult.data);
    state.fetchers.set(key, loadFetcher);
    let [matchesToLoad, revalidatingFetchers] = getMatchesToLoad(init.history, state, matches, submission, nextLocation, false, future.v7_skipActionErrorRevalidation, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, deletedFetchers, fetchLoadMatches, fetchRedirectIds, routesToUse, basename, [match.route.id, actionResult]);
    // Put all revalidating fetchers into the loading state, except for the
    // current fetcher which we want to keep in it's current loading state which
    // contains it's action submission info + action data
    revalidatingFetchers.filter(rf => rf.key !== key).forEach(rf => {
      let staleKey = rf.key;
      let existingFetcher = state.fetchers.get(staleKey);
      let revalidatingFetcher = getLoadingFetcher(undefined, existingFetcher ? existingFetcher.data : undefined);
      state.fetchers.set(staleKey, revalidatingFetcher);
      abortFetcher(staleKey);
      if (rf.controller) {
        fetchControllers.set(staleKey, rf.controller);
      }
    });
    updateState({
      fetchers: new Map(state.fetchers)
    });
    let abortPendingFetchRevalidations = () => revalidatingFetchers.forEach(rf => abortFetcher(rf.key));
    abortController.signal.addEventListener("abort", abortPendingFetchRevalidations);
    let {
      loaderResults,
      fetcherResults
    } = await callLoadersAndMaybeResolveData(state, matches, matchesToLoad, revalidatingFetchers, revalidationRequest);
    if (abortController.signal.aborted) {
      return;
    }
    abortController.signal.removeEventListener("abort", abortPendingFetchRevalidations);
    fetchReloadIds.delete(key);
    fetchControllers.delete(key);
    revalidatingFetchers.forEach(r => fetchControllers.delete(r.key));
    let redirect = findRedirect(loaderResults);
    if (redirect) {
      return startRedirectNavigation(revalidationRequest, redirect.result, false, {
        preventScrollReset
      });
    }
    redirect = findRedirect(fetcherResults);
    if (redirect) {
      // If this redirect came from a fetcher make sure we mark it in
      // fetchRedirectIds so it doesn't get revalidated on the next set of
      // loader executions
      fetchRedirectIds.add(redirect.key);
      return startRedirectNavigation(revalidationRequest, redirect.result, false, {
        preventScrollReset
      });
    }
    // Process and commit output from loaders
    let {
      loaderData,
      errors
    } = processLoaderData(state, matches, loaderResults, undefined, revalidatingFetchers, fetcherResults, activeDeferreds);
    // Since we let revalidations complete even if the submitting fetcher was
    // deleted, only put it back to idle if it hasn't been deleted
    if (state.fetchers.has(key)) {
      let doneFetcher = getDoneFetcher(actionResult.data);
      state.fetchers.set(key, doneFetcher);
    }
    abortStaleFetchLoads(loadId);
    // If we are currently in a navigation loading state and this fetcher is
    // more recent than the navigation, we want the newer data so abort the
    // navigation and complete it with the fetcher data
    if (state.navigation.state === "loading" && loadId > pendingNavigationLoadId) {
      invariant(pendingAction, "Expected pending action");
      pendingNavigationController && pendingNavigationController.abort();
      completeNavigation(state.navigation.location, {
        matches,
        loaderData,
        errors,
        fetchers: new Map(state.fetchers)
      });
    } else {
      // otherwise just update with the fetcher data, preserving any existing
      // loaderData for loaders that did not need to reload.  We have to
      // manually merge here since we aren't going through completeNavigation
      updateState({
        errors,
        loaderData: mergeLoaderData(state.loaderData, loaderData, matches, errors),
        fetchers: new Map(state.fetchers)
      });
      isRevalidationRequired = false;
    }
  }
  // Call the matched loader for fetcher.load(), handling redirects, errors, etc.
  async function handleFetcherLoader(key, routeId, path, match, matches, isFogOfWar, flushSync, preventScrollReset, submission) {
    let existingFetcher = state.fetchers.get(key);
    updateFetcherState(key, getLoadingFetcher(submission, existingFetcher ? existingFetcher.data : undefined), {
      flushSync
    });
    let abortController = new AbortController();
    let fetchRequest = createClientSideRequest(init.history, path, abortController.signal);
    if (isFogOfWar) {
      let discoverResult = await discoverRoutes(matches, new URL(fetchRequest.url).pathname, fetchRequest.signal, key);
      if (discoverResult.type === "aborted") {
        return;
      } else if (discoverResult.type === "error") {
        setFetcherError(key, routeId, discoverResult.error, {
          flushSync
        });
        return;
      } else if (!discoverResult.matches) {
        setFetcherError(key, routeId, getInternalRouterError(404, {
          pathname: path
        }), {
          flushSync
        });
        return;
      } else {
        matches = discoverResult.matches;
        match = getTargetMatch(matches, path);
      }
    }
    // Call the loader for this fetcher route match
    fetchControllers.set(key, abortController);
    let originatingLoadId = incrementingLoadId;
    let results = await callDataStrategy("loader", state, fetchRequest, [match], matches, key);
    let result = results[match.route.id];
    // Deferred isn't supported for fetcher loads, await everything and treat it
    // as a normal load.  resolveDeferredData will return undefined if this
    // fetcher gets aborted, so we just leave result untouched and short circuit
    // below if that happens
    if (isDeferredResult(result)) {
      result = (await resolveDeferredData(result, fetchRequest.signal, true)) || result;
    }
    // We can delete this so long as we weren't aborted by our our own fetcher
    // re-load which would have put _new_ controller is in fetchControllers
    if (fetchControllers.get(key) === abortController) {
      fetchControllers.delete(key);
    }
    if (fetchRequest.signal.aborted) {
      return;
    }
    // We don't want errors bubbling up or redirects followed for unmounted
    // fetchers, so short circuit here if it was removed from the UI
    if (deletedFetchers.has(key)) {
      updateFetcherState(key, getDoneFetcher(undefined));
      return;
    }
    // If the loader threw a redirect Response, start a new REPLACE navigation
    if (isRedirectResult(result)) {
      if (pendingNavigationLoadId > originatingLoadId) {
        // A new navigation was kicked off after our loader started, so that
        // should take precedence over this redirect navigation
        updateFetcherState(key, getDoneFetcher(undefined));
        return;
      } else {
        fetchRedirectIds.add(key);
        await startRedirectNavigation(fetchRequest, result, false, {
          preventScrollReset
        });
        return;
      }
    }
    // Process any non-redirect errors thrown
    if (isErrorResult(result)) {
      setFetcherError(key, routeId, result.error);
      return;
    }
    invariant(!isDeferredResult(result), "Unhandled fetcher deferred data");
    // Put the fetcher back into an idle state
    updateFetcherState(key, getDoneFetcher(result.data));
  }
  /**
   * Utility function to handle redirects returned from an action or loader.
   * Normally, a redirect "replaces" the navigation that triggered it.  So, for
   * example:
   *
   *  - user is on /a
   *  - user clicks a link to /b
   *  - loader for /b redirects to /c
   *
   * In a non-JS app the browser would track the in-flight navigation to /b and
   * then replace it with /c when it encountered the redirect response.  In
   * the end it would only ever update the URL bar with /c.
   *
   * In client-side routing using pushState/replaceState, we aim to emulate
   * this behavior and we also do not update history until the end of the
   * navigation (including processed redirects).  This means that we never
   * actually touch history until we've processed redirects, so we just use
   * the history action from the original navigation (PUSH or REPLACE).
   */
  async function startRedirectNavigation(request, redirect, isNavigation, _temp2) {
    let {
      submission,
      fetcherSubmission,
      preventScrollReset,
      replace
    } = _temp2 === void 0 ? {} : _temp2;
    if (redirect.response.headers.has("X-Remix-Revalidate")) {
      isRevalidationRequired = true;
    }
    let location = redirect.response.headers.get("Location");
    invariant(location, "Expected a Location header on the redirect Response");
    location = normalizeRedirectLocation(location, new URL(request.url), basename, init.history);
    let redirectLocation = createLocation(state.location, location, {
      _isRedirect: true
    });
    if (isBrowser) {
      let isDocumentReload = false;
      if (redirect.response.headers.has("X-Remix-Reload-Document")) {
        // Hard reload if the response contained X-Remix-Reload-Document
        isDocumentReload = true;
      } else if (ABSOLUTE_URL_REGEX.test(location)) {
        const url = init.history.createURL(location);
        isDocumentReload =
        // Hard reload if it's an absolute URL to a new origin
        url.origin !== routerWindow.location.origin ||
        // Hard reload if it's an absolute URL that does not match our basename
        stripBasename(url.pathname, basename) == null;
      }
      if (isDocumentReload) {
        if (replace) {
          routerWindow.location.replace(location);
        } else {
          routerWindow.location.assign(location);
        }
        return;
      }
    }
    // There's no need to abort on redirects, since we don't detect the
    // redirect until the action/loaders have settled
    pendingNavigationController = null;
    let redirectHistoryAction = replace === true || redirect.response.headers.has("X-Remix-Replace") ? Action.Replace : Action.Push;
    // Use the incoming submission if provided, fallback on the active one in
    // state.navigation
    let {
      formMethod,
      formAction,
      formEncType
    } = state.navigation;
    if (!submission && !fetcherSubmission && formMethod && formAction && formEncType) {
      submission = getSubmissionFromNavigation(state.navigation);
    }
    // If this was a 307/308 submission we want to preserve the HTTP method and
    // re-submit the GET/POST/PUT/PATCH/DELETE as a submission navigation to the
    // redirected location
    let activeSubmission = submission || fetcherSubmission;
    if (redirectPreserveMethodStatusCodes.has(redirect.response.status) && activeSubmission && isMutationMethod(activeSubmission.formMethod)) {
      await startNavigation(redirectHistoryAction, redirectLocation, {
        submission: _extends({}, activeSubmission, {
          formAction: location
        }),
        // Preserve these flags across redirects
        preventScrollReset: preventScrollReset || pendingPreventScrollReset,
        enableViewTransition: isNavigation ? pendingViewTransitionEnabled : undefined
      });
    } else {
      // If we have a navigation submission, we will preserve it through the
      // redirect navigation
      let overrideNavigation = getLoadingNavigation(redirectLocation, submission);
      await startNavigation(redirectHistoryAction, redirectLocation, {
        overrideNavigation,
        // Send fetcher submissions through for shouldRevalidate
        fetcherSubmission,
        // Preserve these flags across redirects
        preventScrollReset: preventScrollReset || pendingPreventScrollReset,
        enableViewTransition: isNavigation ? pendingViewTransitionEnabled : undefined
      });
    }
  }
  // Utility wrapper for calling dataStrategy client-side without having to
  // pass around the manifest, mapRouteProperties, etc.
  async function callDataStrategy(type, state, request, matchesToLoad, matches, fetcherKey) {
    let results;
    let dataResults = {};
    try {
      results = await callDataStrategyImpl(dataStrategyImpl, type, state, request, matchesToLoad, matches, fetcherKey, manifest, mapRouteProperties);
    } catch (e) {
      // If the outer dataStrategy method throws, just return the error for all
      // matches - and it'll naturally bubble to the root
      matchesToLoad.forEach(m => {
        dataResults[m.route.id] = {
          type: ResultType.error,
          error: e
        };
      });
      return dataResults;
    }
    for (let [routeId, result] of Object.entries(results)) {
      if (isRedirectDataStrategyResultResult(result)) {
        let response = result.result;
        dataResults[routeId] = {
          type: ResultType.redirect,
          response: normalizeRelativeRoutingRedirectResponse(response, request, routeId, matches, basename, future.v7_relativeSplatPath)
        };
      } else {
        dataResults[routeId] = await convertDataStrategyResultToDataResult(result);
      }
    }
    return dataResults;
  }
  async function callLoadersAndMaybeResolveData(state, matches, matchesToLoad, fetchersToLoad, request) {
    let currentMatches = state.matches;
    // Kick off loaders and fetchers in parallel
    let loaderResultsPromise = callDataStrategy("loader", state, request, matchesToLoad, matches, null);
    let fetcherResultsPromise = Promise.all(fetchersToLoad.map(async f => {
      if (f.matches && f.match && f.controller) {
        let results = await callDataStrategy("loader", state, createClientSideRequest(init.history, f.path, f.controller.signal), [f.match], f.matches, f.key);
        let result = results[f.match.route.id];
        // Fetcher results are keyed by fetcher key from here on out, not routeId
        return {
          [f.key]: result
        };
      } else {
        return Promise.resolve({
          [f.key]: {
            type: ResultType.error,
            error: getInternalRouterError(404, {
              pathname: f.path
            })
          }
        });
      }
    }));
    let loaderResults = await loaderResultsPromise;
    let fetcherResults = (await fetcherResultsPromise).reduce((acc, r) => Object.assign(acc, r), {});
    await Promise.all([resolveNavigationDeferredResults(matches, loaderResults, request.signal, currentMatches, state.loaderData), resolveFetcherDeferredResults(matches, fetcherResults, fetchersToLoad)]);
    return {
      loaderResults,
      fetcherResults
    };
  }
  function interruptActiveLoads() {
    // Every interruption triggers a revalidation
    isRevalidationRequired = true;
    // Cancel pending route-level deferreds and mark cancelled routes for
    // revalidation
    cancelledDeferredRoutes.push(...cancelActiveDeferreds());
    // Abort in-flight fetcher loads
    fetchLoadMatches.forEach((_, key) => {
      if (fetchControllers.has(key)) {
        cancelledFetcherLoads.add(key);
      }
      abortFetcher(key);
    });
  }
  function updateFetcherState(key, fetcher, opts) {
    if (opts === void 0) {
      opts = {};
    }
    state.fetchers.set(key, fetcher);
    updateState({
      fetchers: new Map(state.fetchers)
    }, {
      flushSync: (opts && opts.flushSync) === true
    });
  }
  function setFetcherError(key, routeId, error, opts) {
    if (opts === void 0) {
      opts = {};
    }
    let boundaryMatch = findNearestBoundary(state.matches, routeId);
    deleteFetcher(key);
    updateState({
      errors: {
        [boundaryMatch.route.id]: error
      },
      fetchers: new Map(state.fetchers)
    }, {
      flushSync: (opts && opts.flushSync) === true
    });
  }
  function getFetcher(key) {
    activeFetchers.set(key, (activeFetchers.get(key) || 0) + 1);
    // If this fetcher was previously marked for deletion, unmark it since we
    // have a new instance
    if (deletedFetchers.has(key)) {
      deletedFetchers.delete(key);
    }
    return state.fetchers.get(key) || IDLE_FETCHER;
  }
  function deleteFetcher(key) {
    let fetcher = state.fetchers.get(key);
    // Don't abort the controller if this is a deletion of a fetcher.submit()
    // in it's loading phase since - we don't want to abort the corresponding
    // revalidation and want them to complete and land
    if (fetchControllers.has(key) && !(fetcher && fetcher.state === "loading" && fetchReloadIds.has(key))) {
      abortFetcher(key);
    }
    fetchLoadMatches.delete(key);
    fetchReloadIds.delete(key);
    fetchRedirectIds.delete(key);
    // If we opted into the flag we can clear this now since we're calling
    // deleteFetcher() at the end of updateState() and we've already handed the
    // deleted fetcher keys off to the data layer.
    // If not, we're eagerly calling deleteFetcher() and we need to keep this
    // Set populated until the next updateState call, and we'll clear
    // `deletedFetchers` then
    if (future.v7_fetcherPersist) {
      deletedFetchers.delete(key);
    }
    cancelledFetcherLoads.delete(key);
    state.fetchers.delete(key);
  }
  function deleteFetcherAndUpdateState(key) {
    let count = (activeFetchers.get(key) || 0) - 1;
    if (count <= 0) {
      activeFetchers.delete(key);
      deletedFetchers.add(key);
      if (!future.v7_fetcherPersist) {
        deleteFetcher(key);
      }
    } else {
      activeFetchers.set(key, count);
    }
    updateState({
      fetchers: new Map(state.fetchers)
    });
  }
  function abortFetcher(key) {
    let controller = fetchControllers.get(key);
    if (controller) {
      controller.abort();
      fetchControllers.delete(key);
    }
  }
  function markFetchersDone(keys) {
    for (let key of keys) {
      let fetcher = getFetcher(key);
      let doneFetcher = getDoneFetcher(fetcher.data);
      state.fetchers.set(key, doneFetcher);
    }
  }
  function markFetchRedirectsDone() {
    let doneKeys = [];
    let updatedFetchers = false;
    for (let key of fetchRedirectIds) {
      let fetcher = state.fetchers.get(key);
      invariant(fetcher, "Expected fetcher: " + key);
      if (fetcher.state === "loading") {
        fetchRedirectIds.delete(key);
        doneKeys.push(key);
        updatedFetchers = true;
      }
    }
    markFetchersDone(doneKeys);
    return updatedFetchers;
  }
  function abortStaleFetchLoads(landedId) {
    let yeetedKeys = [];
    for (let [key, id] of fetchReloadIds) {
      if (id < landedId) {
        let fetcher = state.fetchers.get(key);
        invariant(fetcher, "Expected fetcher: " + key);
        if (fetcher.state === "loading") {
          abortFetcher(key);
          fetchReloadIds.delete(key);
          yeetedKeys.push(key);
        }
      }
    }
    markFetchersDone(yeetedKeys);
    return yeetedKeys.length > 0;
  }
  function getBlocker(key, fn) {
    let blocker = state.blockers.get(key) || IDLE_BLOCKER;
    if (blockerFunctions.get(key) !== fn) {
      blockerFunctions.set(key, fn);
    }
    return blocker;
  }
  function deleteBlocker(key) {
    state.blockers.delete(key);
    blockerFunctions.delete(key);
  }
  // Utility function to update blockers, ensuring valid state transitions
  function updateBlocker(key, newBlocker) {
    let blocker = state.blockers.get(key) || IDLE_BLOCKER;
    // Poor mans state machine :)
    // https://mermaid.live/edit#pako:eNqVkc9OwzAMxl8l8nnjAYrEtDIOHEBIgwvKJTReGy3_lDpIqO27k6awMG0XcrLlnz87nwdonESogKXXBuE79rq75XZO3-yHds0RJVuv70YrPlUrCEe2HfrORS3rubqZfuhtpg5C9wk5tZ4VKcRUq88q9Z8RS0-48cE1iHJkL0ugbHuFLus9L6spZy8nX9MP2CNdomVaposqu3fGayT8T8-jJQwhepo_UtpgBQaDEUom04dZhAN1aJBDlUKJBxE1ceB2Smj0Mln-IBW5AFU2dwUiktt_2Qaq2dBfaKdEup85UV7Yd-dKjlnkabl2Pvr0DTkTreM
    invariant(blocker.state === "unblocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "blocked" || blocker.state === "blocked" && newBlocker.state === "proceeding" || blocker.state === "blocked" && newBlocker.state === "unblocked" || blocker.state === "proceeding" && newBlocker.state === "unblocked", "Invalid blocker state transition: " + blocker.state + " -> " + newBlocker.state);
    let blockers = new Map(state.blockers);
    blockers.set(key, newBlocker);
    updateState({
      blockers
    });
  }
  function shouldBlockNavigation(_ref2) {
    let {
      currentLocation,
      nextLocation,
      historyAction
    } = _ref2;
    if (blockerFunctions.size === 0) {
      return;
    }
    // We ony support a single active blocker at the moment since we don't have
    // any compelling use cases for multi-blocker yet
    if (blockerFunctions.size > 1) {
      warning(false, "A router only supports one blocker at a time");
    }
    let entries = Array.from(blockerFunctions.entries());
    let [blockerKey, blockerFunction] = entries[entries.length - 1];
    let blocker = state.blockers.get(blockerKey);
    if (blocker && blocker.state === "proceeding") {
      // If the blocker is currently proceeding, we don't need to re-check
      // it and can let this navigation continue
      return;
    }
    // At this point, we know we're unblocked/blocked so we need to check the
    // user-provided blocker function
    if (blockerFunction({
      currentLocation,
      nextLocation,
      historyAction
    })) {
      return blockerKey;
    }
  }
  function handleNavigational404(pathname) {
    let error = getInternalRouterError(404, {
      pathname
    });
    let routesToUse = inFlightDataRoutes || dataRoutes;
    let {
      matches,
      route
    } = getShortCircuitMatches(routesToUse);
    // Cancel all pending deferred on 404s since we don't keep any routes
    cancelActiveDeferreds();
    return {
      notFoundMatches: matches,
      route,
      error
    };
  }
  function cancelActiveDeferreds(predicate) {
    let cancelledRouteIds = [];
    activeDeferreds.forEach((dfd, routeId) => {
      if (!predicate || predicate(routeId)) {
        // Cancel the deferred - but do not remove from activeDeferreds here -
        // we rely on the subscribers to do that so our tests can assert proper
        // cleanup via _internalActiveDeferreds
        dfd.cancel();
        cancelledRouteIds.push(routeId);
        activeDeferreds.delete(routeId);
      }
    });
    return cancelledRouteIds;
  }
  // Opt in to capturing and reporting scroll positions during navigations,
  // used by the <ScrollRestoration> component
  function enableScrollRestoration(positions, getPosition, getKey) {
    savedScrollPositions = positions;
    getScrollPosition = getPosition;
    getScrollRestorationKey = getKey || null;
    // Perform initial hydration scroll restoration, since we miss the boat on
    // the initial updateState() because we've not yet rendered <ScrollRestoration/>
    // and therefore have no savedScrollPositions available
    if (!initialScrollRestored && state.navigation === IDLE_NAVIGATION) {
      initialScrollRestored = true;
      let y = getSavedScrollPosition(state.location, state.matches);
      if (y != null) {
        updateState({
          restoreScrollPosition: y
        });
      }
    }
    return () => {
      savedScrollPositions = null;
      getScrollPosition = null;
      getScrollRestorationKey = null;
    };
  }
  function getScrollKey(location, matches) {
    if (getScrollRestorationKey) {
      let key = getScrollRestorationKey(location, matches.map(m => convertRouteMatchToUiMatch(m, state.loaderData)));
      return key || location.key;
    }
    return location.key;
  }
  function saveScrollPosition(location, matches) {
    if (savedScrollPositions && getScrollPosition) {
      let key = getScrollKey(location, matches);
      savedScrollPositions[key] = getScrollPosition();
    }
  }
  function getSavedScrollPosition(location, matches) {
    if (savedScrollPositions) {
      let key = getScrollKey(location, matches);
      let y = savedScrollPositions[key];
      if (typeof y === "number") {
        return y;
      }
    }
    return null;
  }
  function checkFogOfWar(matches, routesToUse, pathname) {
    if (patchRoutesOnNavigationImpl) {
      if (!matches) {
        let fogMatches = matchRoutesImpl(routesToUse, pathname, basename, true);
        return {
          active: true,
          matches: fogMatches || []
        };
      } else {
        if (Object.keys(matches[0].params).length > 0) {
          // If we matched a dynamic param or a splat, it might only be because
          // we haven't yet discovered other routes that would match with a
          // higher score.  Call patchRoutesOnNavigation just to be sure
          let partialMatches = matchRoutesImpl(routesToUse, pathname, basename, true);
          return {
            active: true,
            matches: partialMatches
          };
        }
      }
    }
    return {
      active: false,
      matches: null
    };
  }
  async function discoverRoutes(matches, pathname, signal, fetcherKey) {
    if (!patchRoutesOnNavigationImpl) {
      return {
        type: "success",
        matches
      };
    }
    let partialMatches = matches;
    while (true) {
      let isNonHMR = inFlightDataRoutes == null;
      let routesToUse = inFlightDataRoutes || dataRoutes;
      let localManifest = manifest;
      try {
        await patchRoutesOnNavigationImpl({
          signal,
          path: pathname,
          matches: partialMatches,
          fetcherKey,
          patch: (routeId, children) => {
            if (signal.aborted) return;
            patchRoutesImpl(routeId, children, routesToUse, localManifest, mapRouteProperties);
          }
        });
      } catch (e) {
        return {
          type: "error",
          error: e,
          partialMatches
        };
      } finally {
        // If we are not in the middle of an HMR revalidation and we changed the
        // routes, provide a new identity so when we `updateState` at the end of
        // this navigation/fetch `router.routes` will be a new identity and
        // trigger a re-run of memoized `router.routes` dependencies.
        // HMR will already update the identity and reflow when it lands
        // `inFlightDataRoutes` in `completeNavigation`
        if (isNonHMR && !signal.aborted) {
          dataRoutes = [...dataRoutes];
        }
      }
      if (signal.aborted) {
        return {
          type: "aborted"
        };
      }
      let newMatches = matchRoutes(routesToUse, pathname, basename);
      if (newMatches) {
        return {
          type: "success",
          matches: newMatches
        };
      }
      let newPartialMatches = matchRoutesImpl(routesToUse, pathname, basename, true);
      // Avoid loops if the second pass results in the same partial matches
      if (!newPartialMatches || partialMatches.length === newPartialMatches.length && partialMatches.every((m, i) => m.route.id === newPartialMatches[i].route.id)) {
        return {
          type: "success",
          matches: null
        };
      }
      partialMatches = newPartialMatches;
    }
  }
  function _internalSetRoutes(newRoutes) {
    manifest = {};
    inFlightDataRoutes = convertRoutesToDataRoutes(newRoutes, mapRouteProperties, undefined, manifest);
  }
  function patchRoutes(routeId, children) {
    let isNonHMR = inFlightDataRoutes == null;
    let routesToUse = inFlightDataRoutes || dataRoutes;
    patchRoutesImpl(routeId, children, routesToUse, manifest, mapRouteProperties);
    // If we are not in the middle of an HMR revalidation and we changed the
    // routes, provide a new identity and trigger a reflow via `updateState`
    // to re-run memoized `router.routes` dependencies.
    // HMR will already update the identity and reflow when it lands
    // `inFlightDataRoutes` in `completeNavigation`
    if (isNonHMR) {
      dataRoutes = [...dataRoutes];
      updateState({});
    }
  }
  router = {
    get basename() {
      return basename;
    },
    get future() {
      return future;
    },
    get state() {
      return state;
    },
    get routes() {
      return dataRoutes;
    },
    get window() {
      return routerWindow;
    },
    initialize,
    subscribe,
    enableScrollRestoration,
    navigate,
    fetch,
    revalidate,
    // Passthrough to history-aware createHref used by useHref so we get proper
    // hash-aware URLs in DOM paths
    createHref: to => init.history.createHref(to),
    encodeLocation: to => init.history.encodeLocation(to),
    getFetcher,
    deleteFetcher: deleteFetcherAndUpdateState,
    dispose,
    getBlocker,
    deleteBlocker,
    patchRoutes,
    _internalFetchControllers: fetchControllers,
    _internalActiveDeferreds: activeDeferreds,
    // TODO: Remove setRoutes, it's temporary to avoid dealing with
    // updating the tree while validating the update algorithm.
    _internalSetRoutes
  };
  return router;
}
//#endregion
////////////////////////////////////////////////////////////////////////////////
//#region createStaticHandler
////////////////////////////////////////////////////////////////////////////////
const UNSAFE_DEFERRED_SYMBOL = Symbol("deferred");
function createStaticHandler(routes, opts) {
  invariant(routes.length > 0, "You must provide a non-empty routes array to createStaticHandler");
  let manifest = {};
  let basename = (opts ? opts.basename : null) || "/";
  let mapRouteProperties;
  if (opts != null && opts.mapRouteProperties) {
    mapRouteProperties = opts.mapRouteProperties;
  } else if (opts != null && opts.detectErrorBoundary) {
    // If they are still using the deprecated version, wrap it with the new API
    let detectErrorBoundary = opts.detectErrorBoundary;
    mapRouteProperties = route => ({
      hasErrorBoundary: detectErrorBoundary(route)
    });
  } else {
    mapRouteProperties = defaultMapRouteProperties;
  }
  // Config driven behavior flags
  let future = _extends({
    v7_relativeSplatPath: false,
    v7_throwAbortReason: false
  }, opts ? opts.future : null);
  let dataRoutes = convertRoutesToDataRoutes(routes, mapRouteProperties, undefined, manifest);
  /**
   * The query() method is intended for document requests, in which we want to
   * call an optional action and potentially multiple loaders for all nested
   * routes.  It returns a StaticHandlerContext object, which is very similar
   * to the router state (location, loaderData, actionData, errors, etc.) and
   * also adds SSR-specific information such as the statusCode and headers
   * from action/loaders Responses.
   *
   * It _should_ never throw and should report all errors through the
   * returned context.errors object, properly associating errors to their error
   * boundary.  Additionally, it tracks _deepestRenderedBoundaryId which can be
   * used to emulate React error boundaries during SSr by performing a second
   * pass only down to the boundaryId.
   *
   * The one exception where we do not return a StaticHandlerContext is when a
   * redirect response is returned or thrown from any action/loader.  We
   * propagate that out and return the raw Response so the HTTP server can
   * return it directly.
   *
   * - `opts.requestContext` is an optional server context that will be passed
   *   to actions/loaders in the `context` parameter
   * - `opts.skipLoaderErrorBubbling` is an optional parameter that will prevent
   *   the bubbling of errors which allows single-fetch-type implementations
   *   where the client will handle the bubbling and we may need to return data
   *   for the handling route
   */
  async function query(request, _temp3) {
    let {
      requestContext,
      skipLoaderErrorBubbling,
      dataStrategy
    } = _temp3 === void 0 ? {} : _temp3;
    let url = new URL(request.url);
    let method = request.method;
    let location = createLocation("", createPath(url), null, "default");
    let matches = matchRoutes(dataRoutes, location, basename);
    // SSR supports HEAD requests while SPA doesn't
    if (!isValidMethod(method) && method !== "HEAD") {
      let error = getInternalRouterError(405, {
        method
      });
      let {
        matches: methodNotAllowedMatches,
        route
      } = getShortCircuitMatches(dataRoutes);
      return {
        basename,
        location,
        matches: methodNotAllowedMatches,
        loaderData: {},
        actionData: null,
        errors: {
          [route.id]: error
        },
        statusCode: error.status,
        loaderHeaders: {},
        actionHeaders: {},
        activeDeferreds: null
      };
    } else if (!matches) {
      let error = getInternalRouterError(404, {
        pathname: location.pathname
      });
      let {
        matches: notFoundMatches,
        route
      } = getShortCircuitMatches(dataRoutes);
      return {
        basename,
        location,
        matches: notFoundMatches,
        loaderData: {},
        actionData: null,
        errors: {
          [route.id]: error
        },
        statusCode: error.status,
        loaderHeaders: {},
        actionHeaders: {},
        activeDeferreds: null
      };
    }
    let result = await queryImpl(request, location, matches, requestContext, dataStrategy || null, skipLoaderErrorBubbling === true, null);
    if (isResponse(result)) {
      return result;
    }
    // When returning StaticHandlerContext, we patch back in the location here
    // since we need it for React Context.  But this helps keep our submit and
    // loadRouteData operating on a Request instead of a Location
    return _extends({
      location,
      basename
    }, result);
  }
  /**
   * The queryRoute() method is intended for targeted route requests, either
   * for fetch ?_data requests or resource route requests.  In this case, we
   * are only ever calling a single action or loader, and we are returning the
   * returned value directly.  In most cases, this will be a Response returned
   * from the action/loader, but it may be a primitive or other value as well -
   * and in such cases the calling context should handle that accordingly.
   *
   * We do respect the throw/return differentiation, so if an action/loader
   * throws, then this method will throw the value.  This is important so we
   * can do proper boundary identification in Remix where a thrown Response
   * must go to the Catch Boundary but a returned Response is happy-path.
   *
   * One thing to note is that any Router-initiated Errors that make sense
   * to associate with a status code will be thrown as an ErrorResponse
   * instance which include the raw Error, such that the calling context can
   * serialize the error as they see fit while including the proper response
   * code.  Examples here are 404 and 405 errors that occur prior to reaching
   * any user-defined loaders.
   *
   * - `opts.routeId` allows you to specify the specific route handler to call.
   *   If not provided the handler will determine the proper route by matching
   *   against `request.url`
   * - `opts.requestContext` is an optional server context that will be passed
   *    to actions/loaders in the `context` parameter
   */
  async function queryRoute(request, _temp4) {
    let {
      routeId,
      requestContext,
      dataStrategy
    } = _temp4 === void 0 ? {} : _temp4;
    let url = new URL(request.url);
    let method = request.method;
    let location = createLocation("", createPath(url), null, "default");
    let matches = matchRoutes(dataRoutes, location, basename);
    // SSR supports HEAD requests while SPA doesn't
    if (!isValidMethod(method) && method !== "HEAD" && method !== "OPTIONS") {
      throw getInternalRouterError(405, {
        method
      });
    } else if (!matches) {
      throw getInternalRouterError(404, {
        pathname: location.pathname
      });
    }
    let match = routeId ? matches.find(m => m.route.id === routeId) : getTargetMatch(matches, location);
    if (routeId && !match) {
      throw getInternalRouterError(403, {
        pathname: location.pathname,
        routeId
      });
    } else if (!match) {
      // This should never hit I don't think?
      throw getInternalRouterError(404, {
        pathname: location.pathname
      });
    }
    let result = await queryImpl(request, location, matches, requestContext, dataStrategy || null, false, match);
    if (isResponse(result)) {
      return result;
    }
    let error = result.errors ? Object.values(result.errors)[0] : undefined;
    if (error !== undefined) {
      // If we got back result.errors, that means the loader/action threw
      // _something_ that wasn't a Response, but it's not guaranteed/required
      // to be an `instanceof Error` either, so we have to use throw here to
      // preserve the "error" state outside of queryImpl.
      throw error;
    }
    // Pick off the right state value to return
    if (result.actionData) {
      return Object.values(result.actionData)[0];
    }
    if (result.loaderData) {
      var _result$activeDeferre;
      let data = Object.values(result.loaderData)[0];
      if ((_result$activeDeferre = result.activeDeferreds) != null && _result$activeDeferre[match.route.id]) {
        data[UNSAFE_DEFERRED_SYMBOL] = result.activeDeferreds[match.route.id];
      }
      return data;
    }
    return undefined;
  }
  async function queryImpl(request, location, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch) {
    invariant(request.signal, "query()/queryRoute() requests must contain an AbortController signal");
    try {
      if (isMutationMethod(request.method.toLowerCase())) {
        let result = await submit(request, matches, routeMatch || getTargetMatch(matches, location), requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch != null);
        return result;
      }
      let result = await loadRouteData(request, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch);
      return isResponse(result) ? result : _extends({}, result, {
        actionData: null,
        actionHeaders: {}
      });
    } catch (e) {
      // If the user threw/returned a Response in callLoaderOrAction for a
      // `queryRoute` call, we throw the `DataStrategyResult` to bail out early
      // and then return or throw the raw Response here accordingly
      if (isDataStrategyResult(e) && isResponse(e.result)) {
        if (e.type === ResultType.error) {
          throw e.result;
        }
        return e.result;
      }
      // Redirects are always returned since they don't propagate to catch
      // boundaries
      if (isRedirectResponse(e)) {
        return e;
      }
      throw e;
    }
  }
  async function submit(request, matches, actionMatch, requestContext, dataStrategy, skipLoaderErrorBubbling, isRouteRequest) {
    let result;
    if (!actionMatch.route.action && !actionMatch.route.lazy) {
      let error = getInternalRouterError(405, {
        method: request.method,
        pathname: new URL(request.url).pathname,
        routeId: actionMatch.route.id
      });
      if (isRouteRequest) {
        throw error;
      }
      result = {
        type: ResultType.error,
        error
      };
    } else {
      let results = await callDataStrategy("action", request, [actionMatch], matches, isRouteRequest, requestContext, dataStrategy);
      result = results[actionMatch.route.id];
      if (request.signal.aborted) {
        throwStaticHandlerAbortedError(request, isRouteRequest, future);
      }
    }
    if (isRedirectResult(result)) {
      // Uhhhh - this should never happen, we should always throw these from
      // callLoaderOrAction, but the type narrowing here keeps TS happy and we
      // can get back on the "throw all redirect responses" train here should
      // this ever happen :/
      throw new Response(null, {
        status: result.response.status,
        headers: {
          Location: result.response.headers.get("Location")
        }
      });
    }
    if (isDeferredResult(result)) {
      let error = getInternalRouterError(400, {
        type: "defer-action"
      });
      if (isRouteRequest) {
        throw error;
      }
      result = {
        type: ResultType.error,
        error
      };
    }
    if (isRouteRequest) {
      // Note: This should only be non-Response values if we get here, since
      // isRouteRequest should throw any Response received in callLoaderOrAction
      if (isErrorResult(result)) {
        throw result.error;
      }
      return {
        matches: [actionMatch],
        loaderData: {},
        actionData: {
          [actionMatch.route.id]: result.data
        },
        errors: null,
        // Note: statusCode + headers are unused here since queryRoute will
        // return the raw Response or value
        statusCode: 200,
        loaderHeaders: {},
        actionHeaders: {},
        activeDeferreds: null
      };
    }
    // Create a GET request for the loaders
    let loaderRequest = new Request(request.url, {
      headers: request.headers,
      redirect: request.redirect,
      signal: request.signal
    });
    if (isErrorResult(result)) {
      // Store off the pending error - we use it to determine which loaders
      // to call and will commit it when we complete the navigation
      let boundaryMatch = skipLoaderErrorBubbling ? actionMatch : findNearestBoundary(matches, actionMatch.route.id);
      let context = await loadRouteData(loaderRequest, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, null, [boundaryMatch.route.id, result]);
      // action status codes take precedence over loader status codes
      return _extends({}, context, {
        statusCode: isRouteErrorResponse(result.error) ? result.error.status : result.statusCode != null ? result.statusCode : 500,
        actionData: null,
        actionHeaders: _extends({}, result.headers ? {
          [actionMatch.route.id]: result.headers
        } : {})
      });
    }
    let context = await loadRouteData(loaderRequest, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, null);
    return _extends({}, context, {
      actionData: {
        [actionMatch.route.id]: result.data
      }
    }, result.statusCode ? {
      statusCode: result.statusCode
    } : {}, {
      actionHeaders: result.headers ? {
        [actionMatch.route.id]: result.headers
      } : {}
    });
  }
  async function loadRouteData(request, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch, pendingActionResult) {
    let isRouteRequest = routeMatch != null;
    // Short circuit if we have no loaders to run (queryRoute())
    if (isRouteRequest && !(routeMatch != null && routeMatch.route.loader) && !(routeMatch != null && routeMatch.route.lazy)) {
      throw getInternalRouterError(400, {
        method: request.method,
        pathname: new URL(request.url).pathname,
        routeId: routeMatch == null ? void 0 : routeMatch.route.id
      });
    }
    let requestMatches = routeMatch ? [routeMatch] : pendingActionResult && isErrorResult(pendingActionResult[1]) ? getLoaderMatchesUntilBoundary(matches, pendingActionResult[0]) : matches;
    let matchesToLoad = requestMatches.filter(m => m.route.loader || m.route.lazy);
    // Short circuit if we have no loaders to run (query())
    if (matchesToLoad.length === 0) {
      return {
        matches,
        // Add a null for all matched routes for proper revalidation on the client
        loaderData: matches.reduce((acc, m) => Object.assign(acc, {
          [m.route.id]: null
        }), {}),
        errors: pendingActionResult && isErrorResult(pendingActionResult[1]) ? {
          [pendingActionResult[0]]: pendingActionResult[1].error
        } : null,
        statusCode: 200,
        loaderHeaders: {},
        activeDeferreds: null
      };
    }
    let results = await callDataStrategy("loader", request, matchesToLoad, matches, isRouteRequest, requestContext, dataStrategy);
    if (request.signal.aborted) {
      throwStaticHandlerAbortedError(request, isRouteRequest, future);
    }
    // Process and commit output from loaders
    let activeDeferreds = new Map();
    let context = processRouteLoaderData(matches, results, pendingActionResult, activeDeferreds, skipLoaderErrorBubbling);
    // Add a null for any non-loader matches for proper revalidation on the client
    let executedLoaders = new Set(matchesToLoad.map(match => match.route.id));
    matches.forEach(match => {
      if (!executedLoaders.has(match.route.id)) {
        context.loaderData[match.route.id] = null;
      }
    });
    return _extends({}, context, {
      matches,
      activeDeferreds: activeDeferreds.size > 0 ? Object.fromEntries(activeDeferreds.entries()) : null
    });
  }
  // Utility wrapper for calling dataStrategy server-side without having to
  // pass around the manifest, mapRouteProperties, etc.
  async function callDataStrategy(type, request, matchesToLoad, matches, isRouteRequest, requestContext, dataStrategy) {
    let results = await callDataStrategyImpl(dataStrategy || defaultDataStrategy, type, null, request, matchesToLoad, matches, null, manifest, mapRouteProperties, requestContext);
    let dataResults = {};
    await Promise.all(matches.map(async match => {
      if (!(match.route.id in results)) {
        return;
      }
      let result = results[match.route.id];
      if (isRedirectDataStrategyResultResult(result)) {
        let response = result.result;
        // Throw redirects and let the server handle them with an HTTP redirect
        throw normalizeRelativeRoutingRedirectResponse(response, request, match.route.id, matches, basename, future.v7_relativeSplatPath);
      }
      if (isResponse(result.result) && isRouteRequest) {
        // For SSR single-route requests, we want to hand Responses back
        // directly without unwrapping
        throw result;
      }
      dataResults[match.route.id] = await convertDataStrategyResultToDataResult(result);
    }));
    return dataResults;
  }
  return {
    dataRoutes,
    query,
    queryRoute
  };
}
//#endregion
////////////////////////////////////////////////////////////////////////////////
//#region Helpers
////////////////////////////////////////////////////////////////////////////////
/**
 * Given an existing StaticHandlerContext and an error thrown at render time,
 * provide an updated StaticHandlerContext suitable for a second SSR render
 */
function getStaticContextFromError(routes, context, error) {
  let newContext = _extends({}, context, {
    statusCode: isRouteErrorResponse(error) ? error.status : 500,
    errors: {
      [context._deepestRenderedBoundaryId || routes[0].id]: error
    }
  });
  return newContext;
}
function throwStaticHandlerAbortedError(request, isRouteRequest, future) {
  if (future.v7_throwAbortReason && request.signal.reason !== undefined) {
    throw request.signal.reason;
  }
  let method = isRouteRequest ? "queryRoute" : "query";
  throw new Error(method + "() call aborted: " + request.method + " " + request.url);
}
function isSubmissionNavigation(opts) {
  return opts != null && ("formData" in opts && opts.formData != null || "body" in opts && opts.body !== undefined);
}
function normalizeTo(location, matches, basename, prependBasename, to, v7_relativeSplatPath, fromRouteId, relative) {
  let contextualMatches;
  let activeRouteMatch;
  if (fromRouteId) {
    // Grab matches up to the calling route so our route-relative logic is
    // relative to the correct source route
    contextualMatches = [];
    for (let match of matches) {
      contextualMatches.push(match);
      if (match.route.id === fromRouteId) {
        activeRouteMatch = match;
        break;
      }
    }
  } else {
    contextualMatches = matches;
    activeRouteMatch = matches[matches.length - 1];
  }
  // Resolve the relative path
  let path = resolveTo(to ? to : ".", getResolveToMatches(contextualMatches, v7_relativeSplatPath), stripBasename(location.pathname, basename) || location.pathname, relative === "path");
  // When `to` is not specified we inherit search/hash from the current
  // location, unlike when to="." and we just inherit the path.
  // See https://github.com/remix-run/remix/issues/927
  if (to == null) {
    path.search = location.search;
    path.hash = location.hash;
  }
  // Account for `?index` params when routing to the current location
  if ((to == null || to === "" || to === ".") && activeRouteMatch) {
    let nakedIndex = hasNakedIndexQuery(path.search);
    if (activeRouteMatch.route.index && !nakedIndex) {
      // Add one when we're targeting an index route
      path.search = path.search ? path.search.replace(/^\?/, "?index&") : "?index";
    } else if (!activeRouteMatch.route.index && nakedIndex) {
      // Remove existing ones when we're not
      let params = new URLSearchParams(path.search);
      let indexValues = params.getAll("index");
      params.delete("index");
      indexValues.filter(v => v).forEach(v => params.append("index", v));
      let qs = params.toString();
      path.search = qs ? "?" + qs : "";
    }
  }
  // If we're operating within a basename, prepend it to the pathname.  If
  // this is a root navigation, then just use the raw basename which allows
  // the basename to have full control over the presence of a trailing slash
  // on root actions
  if (prependBasename && basename !== "/") {
    path.pathname = path.pathname === "/" ? basename : joinPaths([basename, path.pathname]);
  }
  return createPath(path);
}
// Normalize navigation options by converting formMethod=GET formData objects to
// URLSearchParams so they behave identically to links with query params
function normalizeNavigateOptions(normalizeFormMethod, isFetcher, path, opts) {
  // Return location verbatim on non-submission navigations
  if (!opts || !isSubmissionNavigation(opts)) {
    return {
      path
    };
  }
  if (opts.formMethod && !isValidMethod(opts.formMethod)) {
    return {
      path,
      error: getInternalRouterError(405, {
        method: opts.formMethod
      })
    };
  }
  let getInvalidBodyError = () => ({
    path,
    error: getInternalRouterError(400, {
      type: "invalid-body"
    })
  });
  // Create a Submission on non-GET navigations
  let rawFormMethod = opts.formMethod || "get";
  let formMethod = normalizeFormMethod ? rawFormMethod.toUpperCase() : rawFormMethod.toLowerCase();
  let formAction = stripHashFromPath(path);
  if (opts.body !== undefined) {
    if (opts.formEncType === "text/plain") {
      // text only support POST/PUT/PATCH/DELETE submissions
      if (!isMutationMethod(formMethod)) {
        return getInvalidBodyError();
      }
      let text = typeof opts.body === "string" ? opts.body : opts.body instanceof FormData || opts.body instanceof URLSearchParams ?
      // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#plain-text-form-data
      Array.from(opts.body.entries()).reduce((acc, _ref3) => {
        let [name, value] = _ref3;
        return "" + acc + name + "=" + value + "\n";
      }, "") : String(opts.body);
      return {
        path,
        submission: {
          formMethod,
          formAction,
          formEncType: opts.formEncType,
          formData: undefined,
          json: undefined,
          text
        }
      };
    } else if (opts.formEncType === "application/json") {
      // json only supports POST/PUT/PATCH/DELETE submissions
      if (!isMutationMethod(formMethod)) {
        return getInvalidBodyError();
      }
      try {
        let json = typeof opts.body === "string" ? JSON.parse(opts.body) : opts.body;
        return {
          path,
          submission: {
            formMethod,
            formAction,
            formEncType: opts.formEncType,
            formData: undefined,
            json,
            text: undefined
          }
        };
      } catch (e) {
        return getInvalidBodyError();
      }
    }
  }
  invariant(typeof FormData === "function", "FormData is not available in this environment");
  let searchParams;
  let formData;
  if (opts.formData) {
    searchParams = convertFormDataToSearchParams(opts.formData);
    formData = opts.formData;
  } else if (opts.body instanceof FormData) {
    searchParams = convertFormDataToSearchParams(opts.body);
    formData = opts.body;
  } else if (opts.body instanceof URLSearchParams) {
    searchParams = opts.body;
    formData = convertSearchParamsToFormData(searchParams);
  } else if (opts.body == null) {
    searchParams = new URLSearchParams();
    formData = new FormData();
  } else {
    try {
      searchParams = new URLSearchParams(opts.body);
      formData = convertSearchParamsToFormData(searchParams);
    } catch (e) {
      return getInvalidBodyError();
    }
  }
  let submission = {
    formMethod,
    formAction,
    formEncType: opts && opts.formEncType || "application/x-www-form-urlencoded",
    formData,
    json: undefined,
    text: undefined
  };
  if (isMutationMethod(submission.formMethod)) {
    return {
      path,
      submission
    };
  }
  // Flatten submission onto URLSearchParams for GET submissions
  let parsedPath = parsePath(path);
  // On GET navigation submissions we can drop the ?index param from the
  // resulting location since all loaders will run.  But fetcher GET submissions
  // only run a single loader so we need to preserve any incoming ?index params
  if (isFetcher && parsedPath.search && hasNakedIndexQuery(parsedPath.search)) {
    searchParams.append("index", "");
  }
  parsedPath.search = "?" + searchParams;
  return {
    path: createPath(parsedPath),
    submission
  };
}
// Filter out all routes at/below any caught error as they aren't going to
// render so we don't need to load them
function getLoaderMatchesUntilBoundary(matches, boundaryId, includeBoundary) {
  if (includeBoundary === void 0) {
    includeBoundary = false;
  }
  let index = matches.findIndex(m => m.route.id === boundaryId);
  if (index >= 0) {
    return matches.slice(0, includeBoundary ? index + 1 : index);
  }
  return matches;
}
function getMatchesToLoad(history, state, matches, submission, location, initialHydration, skipActionErrorRevalidation, isRevalidationRequired, cancelledDeferredRoutes, cancelledFetcherLoads, deletedFetchers, fetchLoadMatches, fetchRedirectIds, routesToUse, basename, pendingActionResult) {
  let actionResult = pendingActionResult ? isErrorResult(pendingActionResult[1]) ? pendingActionResult[1].error : pendingActionResult[1].data : undefined;
  let currentUrl = history.createURL(state.location);
  let nextUrl = history.createURL(location);
  // Pick navigation matches that are net-new or qualify for revalidation
  let boundaryMatches = matches;
  if (initialHydration && state.errors) {
    // On initial hydration, only consider matches up to _and including_ the boundary.
    // This is inclusive to handle cases where a server loader ran successfully,
    // a child server loader bubbled up to this route, but this route has
    // `clientLoader.hydrate` so we want to still run the `clientLoader` so that
    // we have a complete version of `loaderData`
    boundaryMatches = getLoaderMatchesUntilBoundary(matches, Object.keys(state.errors)[0], true);
  } else if (pendingActionResult && isErrorResult(pendingActionResult[1])) {
    // If an action threw an error, we call loaders up to, but not including the
    // boundary
    boundaryMatches = getLoaderMatchesUntilBoundary(matches, pendingActionResult[0]);
  }
  // Don't revalidate loaders by default after action 4xx/5xx responses
  // when the flag is enabled.  They can still opt-into revalidation via
  // `shouldRevalidate` via `actionResult`
  let actionStatus = pendingActionResult ? pendingActionResult[1].statusCode : undefined;
  let shouldSkipRevalidation = skipActionErrorRevalidation && actionStatus && actionStatus >= 400;
  let navigationMatches = boundaryMatches.filter((match, index) => {
    let {
      route
    } = match;
    if (route.lazy) {
      // We haven't loaded this route yet so we don't know if it's got a loader!
      return true;
    }
    if (route.loader == null) {
      return false;
    }
    if (initialHydration) {
      return shouldLoadRouteOnHydration(route, state.loaderData, state.errors);
    }
    // Always call the loader on new route instances and pending defer cancellations
    if (isNewLoader(state.loaderData, state.matches[index], match) || cancelledDeferredRoutes.some(id => id === match.route.id)) {
      return true;
    }
    // This is the default implementation for when we revalidate.  If the route
    // provides it's own implementation, then we give them full control but
    // provide this value so they can leverage it if needed after they check
    // their own specific use cases
    let currentRouteMatch = state.matches[index];
    let nextRouteMatch = match;
    return shouldRevalidateLoader(match, _extends({
      currentUrl,
      currentParams: currentRouteMatch.params,
      nextUrl,
      nextParams: nextRouteMatch.params
    }, submission, {
      actionResult,
      actionStatus,
      defaultShouldRevalidate: shouldSkipRevalidation ? false :
      // Forced revalidation due to submission, useRevalidator, or X-Remix-Revalidate
      isRevalidationRequired || currentUrl.pathname + currentUrl.search === nextUrl.pathname + nextUrl.search ||
      // Search params affect all loaders
      currentUrl.search !== nextUrl.search || isNewRouteInstance(currentRouteMatch, nextRouteMatch)
    }));
  });
  // Pick fetcher.loads that need to be revalidated
  let revalidatingFetchers = [];
  fetchLoadMatches.forEach((f, key) => {
    // Don't revalidate:
    //  - on initial hydration (shouldn't be any fetchers then anyway)
    //  - if fetcher won't be present in the subsequent render
    //    - no longer matches the URL (v7_fetcherPersist=false)
    //    - was unmounted but persisted due to v7_fetcherPersist=true
    if (initialHydration || !matches.some(m => m.route.id === f.routeId) || deletedFetchers.has(key)) {
      return;
    }
    let fetcherMatches = matchRoutes(routesToUse, f.path, basename);
    // If the fetcher path no longer matches, push it in with null matches so
    // we can trigger a 404 in callLoadersAndMaybeResolveData.  Note this is
    // currently only a use-case for Remix HMR where the route tree can change
    // at runtime and remove a route previously loaded via a fetcher
    if (!fetcherMatches) {
      revalidatingFetchers.push({
        key,
        routeId: f.routeId,
        path: f.path,
        matches: null,
        match: null,
        controller: null
      });
      return;
    }
    // Revalidating fetchers are decoupled from the route matches since they
    // load from a static href.  They revalidate based on explicit revalidation
    // (submission, useRevalidator, or X-Remix-Revalidate)
    let fetcher = state.fetchers.get(key);
    let fetcherMatch = getTargetMatch(fetcherMatches, f.path);
    let shouldRevalidate = false;
    if (fetchRedirectIds.has(key)) {
      // Never trigger a revalidation of an actively redirecting fetcher
      shouldRevalidate = false;
    } else if (cancelledFetcherLoads.has(key)) {
      // Always mark for revalidation if the fetcher was cancelled
      cancelledFetcherLoads.delete(key);
      shouldRevalidate = true;
    } else if (fetcher && fetcher.state !== "idle" && fetcher.data === undefined) {
      // If the fetcher hasn't ever completed loading yet, then this isn't a
      // revalidation, it would just be a brand new load if an explicit
      // revalidation is required
      shouldRevalidate = isRevalidationRequired;
    } else {
      // Otherwise fall back on any user-defined shouldRevalidate, defaulting
      // to explicit revalidations only
      shouldRevalidate = shouldRevalidateLoader(fetcherMatch, _extends({
        currentUrl,
        currentParams: state.matches[state.matches.length - 1].params,
        nextUrl,
        nextParams: matches[matches.length - 1].params
      }, submission, {
        actionResult,
        actionStatus,
        defaultShouldRevalidate: shouldSkipRevalidation ? false : isRevalidationRequired
      }));
    }
    if (shouldRevalidate) {
      revalidatingFetchers.push({
        key,
        routeId: f.routeId,
        path: f.path,
        matches: fetcherMatches,
        match: fetcherMatch,
        controller: new AbortController()
      });
    }
  });
  return [navigationMatches, revalidatingFetchers];
}
function shouldLoadRouteOnHydration(route, loaderData, errors) {
  // We dunno if we have a loader - gotta find out!
  if (route.lazy) {
    return true;
  }
  // No loader, nothing to initialize
  if (!route.loader) {
    return false;
  }
  let hasData = loaderData != null && loaderData[route.id] !== undefined;
  let hasError = errors != null && errors[route.id] !== undefined;
  // Don't run if we error'd during SSR
  if (!hasData && hasError) {
    return false;
  }
  // Explicitly opting-in to running on hydration
  if (typeof route.loader === "function" && route.loader.hydrate === true) {
    return true;
  }
  // Otherwise, run if we're not yet initialized with anything
  return !hasData && !hasError;
}
function isNewLoader(currentLoaderData, currentMatch, match) {
  let isNew =
  // [a] -> [a, b]
  !currentMatch ||
  // [a, b] -> [a, c]
  match.route.id !== currentMatch.route.id;
  // Handle the case that we don't have data for a re-used route, potentially
  // from a prior error or from a cancelled pending deferred
  let isMissingData = currentLoaderData[match.route.id] === undefined;
  // Always load if this is a net-new route or we don't yet have data
  return isNew || isMissingData;
}
function isNewRouteInstance(currentMatch, match) {
  let currentPath = currentMatch.route.path;
  return (
    // param change for this match, /users/123 -> /users/456
    currentMatch.pathname !== match.pathname ||
    // splat param changed, which is not present in match.path
    // e.g. /files/images/avatar.jpg -> files/finances.xls
    currentPath != null && currentPath.endsWith("*") && currentMatch.params["*"] !== match.params["*"]
  );
}
function shouldRevalidateLoader(loaderMatch, arg) {
  if (loaderMatch.route.shouldRevalidate) {
    let routeChoice = loaderMatch.route.shouldRevalidate(arg);
    if (typeof routeChoice === "boolean") {
      return routeChoice;
    }
  }
  return arg.defaultShouldRevalidate;
}
function patchRoutesImpl(routeId, children, routesToUse, manifest, mapRouteProperties) {
  var _childrenToPatch;
  let childrenToPatch;
  if (routeId) {
    let route = manifest[routeId];
    invariant(route, "No route found to patch children into: routeId = " + routeId);
    if (!route.children) {
      route.children = [];
    }
    childrenToPatch = route.children;
  } else {
    childrenToPatch = routesToUse;
  }
  // Don't patch in routes we already know about so that `patch` is idempotent
  // to simplify user-land code. This is useful because we re-call the
  // `patchRoutesOnNavigation` function for matched routes with params.
  let uniqueChildren = children.filter(newRoute => !childrenToPatch.some(existingRoute => isSameRoute(newRoute, existingRoute)));
  let newRoutes = convertRoutesToDataRoutes(uniqueChildren, mapRouteProperties, [routeId || "_", "patch", String(((_childrenToPatch = childrenToPatch) == null ? void 0 : _childrenToPatch.length) || "0")], manifest);
  childrenToPatch.push(...newRoutes);
}
function isSameRoute(newRoute, existingRoute) {
  // Most optimal check is by id
  if ("id" in newRoute && "id" in existingRoute && newRoute.id === existingRoute.id) {
    return true;
  }
  // Second is by pathing differences
  if (!(newRoute.index === existingRoute.index && newRoute.path === existingRoute.path && newRoute.caseSensitive === existingRoute.caseSensitive)) {
    return false;
  }
  // Pathless layout routes are trickier since we need to check children.
  // If they have no children then they're the same as far as we can tell
  if ((!newRoute.children || newRoute.children.length === 0) && (!existingRoute.children || existingRoute.children.length === 0)) {
    return true;
  }
  // Otherwise, we look to see if every child in the new route is already
  // represented in the existing route's children
  return newRoute.children.every((aChild, i) => {
    var _existingRoute$childr;
    return (_existingRoute$childr = existingRoute.children) == null ? void 0 : _existingRoute$childr.some(bChild => isSameRoute(aChild, bChild));
  });
}
/**
 * Execute route.lazy() methods to lazily load route modules (loader, action,
 * shouldRevalidate) and update the routeManifest in place which shares objects
 * with dataRoutes so those get updated as well.
 */
async function loadLazyRouteModule(route, mapRouteProperties, manifest) {
  if (!route.lazy) {
    return;
  }
  let lazyRoute = await route.lazy();
  // If the lazy route function was executed and removed by another parallel
  // call then we can return - first lazy() to finish wins because the return
  // value of lazy is expected to be static
  if (!route.lazy) {
    return;
  }
  let routeToUpdate = manifest[route.id];
  invariant(routeToUpdate, "No route found in manifest");
  // Update the route in place.  This should be safe because there's no way
  // we could yet be sitting on this route as we can't get there without
  // resolving lazy() first.
  //
  // This is different than the HMR "update" use-case where we may actively be
  // on the route being updated.  The main concern boils down to "does this
  // mutation affect any ongoing navigations or any current state.matches
  // values?".  If not, it should be safe to update in place.
  let routeUpdates = {};
  for (let lazyRouteProperty in lazyRoute) {
    let staticRouteValue = routeToUpdate[lazyRouteProperty];
    let isPropertyStaticallyDefined = staticRouteValue !== undefined &&
    // This property isn't static since it should always be updated based
    // on the route updates
    lazyRouteProperty !== "hasErrorBoundary";
    warning(!isPropertyStaticallyDefined, "Route \"" + routeToUpdate.id + "\" has a static property \"" + lazyRouteProperty + "\" " + "defined but its lazy function is also returning a value for this property. " + ("The lazy route property \"" + lazyRouteProperty + "\" will be ignored."));
    if (!isPropertyStaticallyDefined && !immutableRouteKeys.has(lazyRouteProperty)) {
      routeUpdates[lazyRouteProperty] = lazyRoute[lazyRouteProperty];
    }
  }
  // Mutate the route with the provided updates.  Do this first so we pass
  // the updated version to mapRouteProperties
  Object.assign(routeToUpdate, routeUpdates);
  // Mutate the `hasErrorBoundary` property on the route based on the route
  // updates and remove the `lazy` function so we don't resolve the lazy
  // route again.
  Object.assign(routeToUpdate, _extends({}, mapRouteProperties(routeToUpdate), {
    lazy: undefined
  }));
}
// Default implementation of `dataStrategy` which fetches all loaders in parallel
async function defaultDataStrategy(_ref4) {
  let {
    matches
  } = _ref4;
  let matchesToLoad = matches.filter(m => m.shouldLoad);
  let results = await Promise.all(matchesToLoad.map(m => m.resolve()));
  return results.reduce((acc, result, i) => Object.assign(acc, {
    [matchesToLoad[i].route.id]: result
  }), {});
}
async function callDataStrategyImpl(dataStrategyImpl, type, state, request, matchesToLoad, matches, fetcherKey, manifest, mapRouteProperties, requestContext) {
  let loadRouteDefinitionsPromises = matches.map(m => m.route.lazy ? loadLazyRouteModule(m.route, mapRouteProperties, manifest) : undefined);
  let dsMatches = matches.map((match, i) => {
    let loadRoutePromise = loadRouteDefinitionsPromises[i];
    let shouldLoad = matchesToLoad.some(m => m.route.id === match.route.id);
    // `resolve` encapsulates route.lazy(), executing the loader/action,
    // and mapping return values/thrown errors to a `DataStrategyResult`.  Users
    // can pass a callback to take fine-grained control over the execution
    // of the loader/action
    let resolve = async handlerOverride => {
      if (handlerOverride && request.method === "GET" && (match.route.lazy || match.route.loader)) {
        shouldLoad = true;
      }
      return shouldLoad ? callLoaderOrAction(type, request, match, loadRoutePromise, handlerOverride, requestContext) : Promise.resolve({
        type: ResultType.data,
        result: undefined
      });
    };
    return _extends({}, match, {
      shouldLoad,
      resolve
    });
  });
  // Send all matches here to allow for a middleware-type implementation.
  // handler will be a no-op for unneeded routes and we filter those results
  // back out below.
  let results = await dataStrategyImpl({
    matches: dsMatches,
    request,
    params: matches[0].params,
    fetcherKey,
    context: requestContext
  });
  // Wait for all routes to load here but 'swallow the error since we want
  // it to bubble up from the `await loadRoutePromise` in `callLoaderOrAction` -
  // called from `match.resolve()`
  try {
    await Promise.all(loadRouteDefinitionsPromises);
  } catch (e) {
    // No-op
  }
  return results;
}
// Default logic for calling a loader/action is the user has no specified a dataStrategy
async function callLoaderOrAction(type, request, match, loadRoutePromise, handlerOverride, staticContext) {
  let result;
  let onReject;
  let runHandler = handler => {
    // Setup a promise we can race against so that abort signals short circuit
    let reject;
    // This will never resolve so safe to type it as Promise<DataStrategyResult> to
    // satisfy the function return value
    let abortPromise = new Promise((_, r) => reject = r);
    onReject = () => reject();
    request.signal.addEventListener("abort", onReject);
    let actualHandler = ctx => {
      if (typeof handler !== "function") {
        return Promise.reject(new Error("You cannot call the handler for a route which defines a boolean " + ("\"" + type + "\" [routeId: " + match.route.id + "]")));
      }
      return handler({
        request,
        params: match.params,
        context: staticContext
      }, ...(ctx !== undefined ? [ctx] : []));
    };
    let handlerPromise = (async () => {
      try {
        let val = await (handlerOverride ? handlerOverride(ctx => actualHandler(ctx)) : actualHandler());
        return {
          type: "data",
          result: val
        };
      } catch (e) {
        return {
          type: "error",
          result: e
        };
      }
    })();
    return Promise.race([handlerPromise, abortPromise]);
  };
  try {
    let handler = match.route[type];
    // If we have a route.lazy promise, await that first
    if (loadRoutePromise) {
      if (handler) {
        // Run statically defined handler in parallel with lazy()
        let handlerError;
        let [value] = await Promise.all([
        // If the handler throws, don't let it immediately bubble out,
        // since we need to let the lazy() execution finish so we know if this
        // route has a boundary that can handle the error
        runHandler(handler).catch(e => {
          handlerError = e;
        }), loadRoutePromise]);
        if (handlerError !== undefined) {
          throw handlerError;
        }
        result = value;
      } else {
        // Load lazy route module, then run any returned handler
        await loadRoutePromise;
        handler = match.route[type];
        if (handler) {
          // Handler still runs even if we got interrupted to maintain consistency
          // with un-abortable behavior of handler execution on non-lazy or
          // previously-lazy-loaded routes
          result = await runHandler(handler);
        } else if (type === "action") {
          let url = new URL(request.url);
          let pathname = url.pathname + url.search;
          throw getInternalRouterError(405, {
            method: request.method,
            pathname,
            routeId: match.route.id
          });
        } else {
          // lazy() route has no loader to run.  Short circuit here so we don't
          // hit the invariant below that errors on returning undefined.
          return {
            type: ResultType.data,
            result: undefined
          };
        }
      }
    } else if (!handler) {
      let url = new URL(request.url);
      let pathname = url.pathname + url.search;
      throw getInternalRouterError(404, {
        pathname
      });
    } else {
      result = await runHandler(handler);
    }
    invariant(result.result !== undefined, "You defined " + (type === "action" ? "an action" : "a loader") + " for route " + ("\"" + match.route.id + "\" but didn't return anything from your `" + type + "` ") + "function. Please return a value or `null`.");
  } catch (e) {
    // We should already be catching and converting normal handler executions to
    // DataStrategyResults and returning them, so anything that throws here is an
    // unexpected error we still need to wrap
    return {
      type: ResultType.error,
      result: e
    };
  } finally {
    if (onReject) {
      request.signal.removeEventListener("abort", onReject);
    }
  }
  return result;
}
async function convertDataStrategyResultToDataResult(dataStrategyResult) {
  let {
    result,
    type
  } = dataStrategyResult;
  if (isResponse(result)) {
    let data;
    try {
      let contentType = result.headers.get("Content-Type");
      // Check between word boundaries instead of startsWith() due to the last
      // paragraph of https://httpwg.org/specs/rfc9110.html#field.content-type
      if (contentType && /\bapplication\/json\b/.test(contentType)) {
        if (result.body == null) {
          data = null;
        } else {
          data = await result.json();
        }
      } else {
        data = await result.text();
      }
    } catch (e) {
      return {
        type: ResultType.error,
        error: e
      };
    }
    if (type === ResultType.error) {
      return {
        type: ResultType.error,
        error: new ErrorResponseImpl(result.status, result.statusText, data),
        statusCode: result.status,
        headers: result.headers
      };
    }
    return {
      type: ResultType.data,
      data,
      statusCode: result.status,
      headers: result.headers
    };
  }
  if (type === ResultType.error) {
    if (isDataWithResponseInit(result)) {
      var _result$init3, _result$init4;
      if (result.data instanceof Error) {
        var _result$init, _result$init2;
        return {
          type: ResultType.error,
          error: result.data,
          statusCode: (_result$init = result.init) == null ? void 0 : _result$init.status,
          headers: (_result$init2 = result.init) != null && _result$init2.headers ? new Headers(result.init.headers) : undefined
        };
      }
      // Convert thrown data() to ErrorResponse instances
      return {
        type: ResultType.error,
        error: new ErrorResponseImpl(((_result$init3 = result.init) == null ? void 0 : _result$init3.status) || 500, undefined, result.data),
        statusCode: isRouteErrorResponse(result) ? result.status : undefined,
        headers: (_result$init4 = result.init) != null && _result$init4.headers ? new Headers(result.init.headers) : undefined
      };
    }
    return {
      type: ResultType.error,
      error: result,
      statusCode: isRouteErrorResponse(result) ? result.status : undefined
    };
  }
  if (isDeferredData(result)) {
    var _result$init5, _result$init6;
    return {
      type: ResultType.deferred,
      deferredData: result,
      statusCode: (_result$init5 = result.init) == null ? void 0 : _result$init5.status,
      headers: ((_result$init6 = result.init) == null ? void 0 : _result$init6.headers) && new Headers(result.init.headers)
    };
  }
  if (isDataWithResponseInit(result)) {
    var _result$init7, _result$init8;
    return {
      type: ResultType.data,
      data: result.data,
      statusCode: (_result$init7 = result.init) == null ? void 0 : _result$init7.status,
      headers: (_result$init8 = result.init) != null && _result$init8.headers ? new Headers(result.init.headers) : undefined
    };
  }
  return {
    type: ResultType.data,
    data: result
  };
}
// Support relative routing in internal redirects
function normalizeRelativeRoutingRedirectResponse(response, request, routeId, matches, basename, v7_relativeSplatPath) {
  let location = response.headers.get("Location");
  invariant(location, "Redirects returned/thrown from loaders/actions must have a Location header");
  if (!ABSOLUTE_URL_REGEX.test(location)) {
    let trimmedMatches = matches.slice(0, matches.findIndex(m => m.route.id === routeId) + 1);
    location = normalizeTo(new URL(request.url), trimmedMatches, basename, true, location, v7_relativeSplatPath);
    response.headers.set("Location", location);
  }
  return response;
}
function normalizeRedirectLocation(location, currentUrl, basename, historyInstance) {
  // Match Chrome's behavior:
  // https://github.com/chromium/chromium/blob/216dbeb61db0c667e62082e5f5400a32d6983df3/content/public/common/url_utils.cc#L82
  let invalidProtocols = ["about:", "blob:", "chrome:", "chrome-untrusted:", "content:", "data:", "devtools:", "file:", "filesystem:",
  // eslint-disable-next-line no-script-url
  "javascript:"];
  if (ABSOLUTE_URL_REGEX.test(location)) {
    // Strip off the protocol+origin for same-origin + same-basename absolute redirects
    let normalizedLocation = location;
    let url = normalizedLocation.startsWith("//") ? new URL(currentUrl.protocol + normalizedLocation) : new URL(normalizedLocation);
    if (invalidProtocols.includes(url.protocol)) {
      throw new Error("Invalid redirect location");
    }
    let isSameBasename = stripBasename(url.pathname, basename) != null;
    if (url.origin === currentUrl.origin && isSameBasename) {
      return removeDoubleSlashes(url.pathname) + url.search + url.hash;
    }
  }
  try {
    let url = historyInstance.createURL(location);
    if (invalidProtocols.includes(url.protocol)) {
      throw new Error("Invalid redirect location");
    }
  } catch (e) {}
  return location;
}
// Utility method for creating the Request instances for loaders/actions during
// client-side navigations and fetches.  During SSR we will always have a
// Request instance from the static handler (query/queryRoute)
function createClientSideRequest(history, location, signal, submission) {
  let url = history.createURL(stripHashFromPath(location)).toString();
  let init = {
    signal
  };
  if (submission && isMutationMethod(submission.formMethod)) {
    let {
      formMethod,
      formEncType
    } = submission;
    // Didn't think we needed this but it turns out unlike other methods, patch
    // won't be properly normalized to uppercase and results in a 405 error.
    // See: https://fetch.spec.whatwg.org/#concept-method
    init.method = formMethod.toUpperCase();
    if (formEncType === "application/json") {
      init.headers = new Headers({
        "Content-Type": formEncType
      });
      init.body = JSON.stringify(submission.json);
    } else if (formEncType === "text/plain") {
      // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)
      init.body = submission.text;
    } else if (formEncType === "application/x-www-form-urlencoded" && submission.formData) {
      // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)
      init.body = convertFormDataToSearchParams(submission.formData);
    } else {
      // Content-Type is inferred (https://fetch.spec.whatwg.org/#dom-request)
      init.body = submission.formData;
    }
  }
  return new Request(url, init);
}
function convertFormDataToSearchParams(formData) {
  let searchParams = new URLSearchParams();
  for (let [key, value] of formData.entries()) {
    // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#converting-an-entry-list-to-a-list-of-name-value-pairs
    searchParams.append(key, typeof value === "string" ? value : value.name);
  }
  return searchParams;
}
function convertSearchParamsToFormData(searchParams) {
  let formData = new FormData();
  for (let [key, value] of searchParams.entries()) {
    formData.append(key, value);
  }
  return formData;
}
function processRouteLoaderData(matches, results, pendingActionResult, activeDeferreds, skipLoaderErrorBubbling) {
  // Fill in loaderData/errors from our loaders
  let loaderData = {};
  let errors = null;
  let statusCode;
  let foundError = false;
  let loaderHeaders = {};
  let pendingError = pendingActionResult && isErrorResult(pendingActionResult[1]) ? pendingActionResult[1].error : undefined;
  // Process loader results into state.loaderData/state.errors
  matches.forEach(match => {
    if (!(match.route.id in results)) {
      return;
    }
    let id = match.route.id;
    let result = results[id];
    invariant(!isRedirectResult(result), "Cannot handle redirect results in processLoaderData");
    if (isErrorResult(result)) {
      let error = result.error;
      // If we have a pending action error, we report it at the highest-route
      // that throws a loader error, and then clear it out to indicate that
      // it was consumed
      if (pendingError !== undefined) {
        error = pendingError;
        pendingError = undefined;
      }
      errors = errors || {};
      if (skipLoaderErrorBubbling) {
        errors[id] = error;
      } else {
        // Look upwards from the matched route for the closest ancestor error
        // boundary, defaulting to the root match.  Prefer higher error values
        // if lower errors bubble to the same boundary
        let boundaryMatch = findNearestBoundary(matches, id);
        if (errors[boundaryMatch.route.id] == null) {
          errors[boundaryMatch.route.id] = error;
        }
      }
      // Clear our any prior loaderData for the throwing route
      loaderData[id] = undefined;
      // Once we find our first (highest) error, we set the status code and
      // prevent deeper status codes from overriding
      if (!foundError) {
        foundError = true;
        statusCode = isRouteErrorResponse(result.error) ? result.error.status : 500;
      }
      if (result.headers) {
        loaderHeaders[id] = result.headers;
      }
    } else {
      if (isDeferredResult(result)) {
        activeDeferreds.set(id, result.deferredData);
        loaderData[id] = result.deferredData.data;
        // Error status codes always override success status codes, but if all
        // loaders are successful we take the deepest status code.
        if (result.statusCode != null && result.statusCode !== 200 && !foundError) {
          statusCode = result.statusCode;
        }
        if (result.headers) {
          loaderHeaders[id] = result.headers;
        }
      } else {
        loaderData[id] = result.data;
        // Error status codes always override success status codes, but if all
        // loaders are successful we take the deepest status code.
        if (result.statusCode && result.statusCode !== 200 && !foundError) {
          statusCode = result.statusCode;
        }
        if (result.headers) {
          loaderHeaders[id] = result.headers;
        }
      }
    }
  });
  // If we didn't consume the pending action error (i.e., all loaders
  // resolved), then consume it here.  Also clear out any loaderData for the
  // throwing route
  if (pendingError !== undefined && pendingActionResult) {
    errors = {
      [pendingActionResult[0]]: pendingError
    };
    loaderData[pendingActionResult[0]] = undefined;
  }
  return {
    loaderData,
    errors,
    statusCode: statusCode || 200,
    loaderHeaders
  };
}
function processLoaderData(state, matches, results, pendingActionResult, revalidatingFetchers, fetcherResults, activeDeferreds) {
  let {
    loaderData,
    errors
  } = processRouteLoaderData(matches, results, pendingActionResult, activeDeferreds, false // This method is only called client side so we always want to bubble
  );
  // Process results from our revalidating fetchers
  revalidatingFetchers.forEach(rf => {
    let {
      key,
      match,
      controller
    } = rf;
    let result = fetcherResults[key];
    invariant(result, "Did not find corresponding fetcher result");
    // Process fetcher non-redirect errors
    if (controller && controller.signal.aborted) {
      // Nothing to do for aborted fetchers
      return;
    } else if (isErrorResult(result)) {
      let boundaryMatch = findNearestBoundary(state.matches, match == null ? void 0 : match.route.id);
      if (!(errors && errors[boundaryMatch.route.id])) {
        errors = _extends({}, errors, {
          [boundaryMatch.route.id]: result.error
        });
      }
      state.fetchers.delete(key);
    } else if (isRedirectResult(result)) {
      // Should never get here, redirects should get processed above, but we
      // keep this to type narrow to a success result in the else
      invariant(false, "Unhandled fetcher revalidation redirect");
    } else if (isDeferredResult(result)) {
      // Should never get here, deferred data should be awaited for fetchers
      // in resolveDeferredResults
      invariant(false, "Unhandled fetcher deferred data");
    } else {
      let doneFetcher = getDoneFetcher(result.data);
      state.fetchers.set(key, doneFetcher);
    }
  });
  return {
    loaderData,
    errors
  };
}
function mergeLoaderData(loaderData, newLoaderData, matches, errors) {
  let mergedLoaderData = _extends({}, newLoaderData);
  for (let match of matches) {
    let id = match.route.id;
    if (newLoaderData.hasOwnProperty(id)) {
      if (newLoaderData[id] !== undefined) {
        mergedLoaderData[id] = newLoaderData[id];
      }
    } else if (loaderData[id] !== undefined && match.route.loader) {
      // Preserve existing keys not included in newLoaderData and where a loader
      // wasn't removed by HMR
      mergedLoaderData[id] = loaderData[id];
    }
    if (errors && errors.hasOwnProperty(id)) {
      // Don't keep any loader data below the boundary
      break;
    }
  }
  return mergedLoaderData;
}
function getActionDataForCommit(pendingActionResult) {
  if (!pendingActionResult) {
    return {};
  }
  return isErrorResult(pendingActionResult[1]) ? {
    // Clear out prior actionData on errors
    actionData: {}
  } : {
    actionData: {
      [pendingActionResult[0]]: pendingActionResult[1].data
    }
  };
}
// Find the nearest error boundary, looking upwards from the leaf route (or the
// route specified by routeId) for the closest ancestor error boundary,
// defaulting to the root match
function findNearestBoundary(matches, routeId) {
  let eligibleMatches = routeId ? matches.slice(0, matches.findIndex(m => m.route.id === routeId) + 1) : [...matches];
  return eligibleMatches.reverse().find(m => m.route.hasErrorBoundary === true) || matches[0];
}
function getShortCircuitMatches(routes) {
  // Prefer a root layout route if present, otherwise shim in a route object
  let route = routes.length === 1 ? routes[0] : routes.find(r => r.index || !r.path || r.path === "/") || {
    id: "__shim-error-route__"
  };
  return {
    matches: [{
      params: {},
      pathname: "",
      pathnameBase: "",
      route
    }],
    route
  };
}
function getInternalRouterError(status, _temp5) {
  let {
    pathname,
    routeId,
    method,
    type,
    message
  } = _temp5 === void 0 ? {} : _temp5;
  let statusText = "Unknown Server Error";
  let errorMessage = "Unknown @remix-run/router error";
  if (status === 400) {
    statusText = "Bad Request";
    if (method && pathname && routeId) {
      errorMessage = "You made a " + method + " request to \"" + pathname + "\" but " + ("did not provide a `loader` for route \"" + routeId + "\", ") + "so there is no way to handle the request.";
    } else if (type === "defer-action") {
      errorMessage = "defer() is not supported in actions";
    } else if (type === "invalid-body") {
      errorMessage = "Unable to encode submission body";
    }
  } else if (status === 403) {
    statusText = "Forbidden";
    errorMessage = "Route \"" + routeId + "\" does not match URL \"" + pathname + "\"";
  } else if (status === 404) {
    statusText = "Not Found";
    errorMessage = "No route matches URL \"" + pathname + "\"";
  } else if (status === 405) {
    statusText = "Method Not Allowed";
    if (method && pathname && routeId) {
      errorMessage = "You made a " + method.toUpperCase() + " request to \"" + pathname + "\" but " + ("did not provide an `action` for route \"" + routeId + "\", ") + "so there is no way to handle the request.";
    } else if (method) {
      errorMessage = "Invalid request method \"" + method.toUpperCase() + "\"";
    }
  }
  return new ErrorResponseImpl(status || 500, statusText, new Error(errorMessage), true);
}
// Find any returned redirect errors, starting from the lowest match
function findRedirect(results) {
  let entries = Object.entries(results);
  for (let i = entries.length - 1; i >= 0; i--) {
    let [key, result] = entries[i];
    if (isRedirectResult(result)) {
      return {
        key,
        result
      };
    }
  }
}
function stripHashFromPath(path) {
  let parsedPath = typeof path === "string" ? parsePath(path) : path;
  return createPath(_extends({}, parsedPath, {
    hash: ""
  }));
}
function isHashChangeOnly(a, b) {
  if (a.pathname !== b.pathname || a.search !== b.search) {
    return false;
  }
  if (a.hash === "") {
    // /page -> /page#hash
    return b.hash !== "";
  } else if (a.hash === b.hash) {
    // /page#hash -> /page#hash
    return true;
  } else if (b.hash !== "") {
    // /page#hash -> /page#other
    return true;
  }
  // If the hash is removed the browser will re-perform a request to the server
  // /page#hash -> /page
  return false;
}
function isDataStrategyResult(result) {
  return result != null && typeof result === "object" && "type" in result && "result" in result && (result.type === ResultType.data || result.type === ResultType.error);
}
function isRedirectDataStrategyResultResult(result) {
  return isResponse(result.result) && redirectStatusCodes.has(result.result.status);
}
function isDeferredResult(result) {
  return result.type === ResultType.deferred;
}
function isErrorResult(result) {
  return result.type === ResultType.error;
}
function isRedirectResult(result) {
  return (result && result.type) === ResultType.redirect;
}
function isDataWithResponseInit(value) {
  return typeof value === "object" && value != null && "type" in value && "data" in value && "init" in value && value.type === "DataWithResponseInit";
}
function isDeferredData(value) {
  let deferred = value;
  return deferred && typeof deferred === "object" && typeof deferred.data === "object" && typeof deferred.subscribe === "function" && typeof deferred.cancel === "function" && typeof deferred.resolveData === "function";
}
function isResponse(value) {
  return value != null && typeof value.status === "number" && typeof value.statusText === "string" && typeof value.headers === "object" && typeof value.body !== "undefined";
}
function isRedirectResponse(result) {
  if (!isResponse(result)) {
    return false;
  }
  let status = result.status;
  let location = result.headers.get("Location");
  return status >= 300 && status <= 399 && location != null;
}
function isValidMethod(method) {
  return validRequestMethods.has(method.toLowerCase());
}
function isMutationMethod(method) {
  return validMutationMethods.has(method.toLowerCase());
}
async function resolveNavigationDeferredResults(matches, results, signal, currentMatches, currentLoaderData) {
  let entries = Object.entries(results);
  for (let index = 0; index < entries.length; index++) {
    let [routeId, result] = entries[index];
    let match = matches.find(m => (m == null ? void 0 : m.route.id) === routeId);
    // If we don't have a match, then we can have a deferred result to do
    // anything with.  This is for revalidating fetchers where the route was
    // removed during HMR
    if (!match) {
      continue;
    }
    let currentMatch = currentMatches.find(m => m.route.id === match.route.id);
    let isRevalidatingLoader = currentMatch != null && !isNewRouteInstance(currentMatch, match) && (currentLoaderData && currentLoaderData[match.route.id]) !== undefined;
    if (isDeferredResult(result) && isRevalidatingLoader) {
      // Note: we do not have to touch activeDeferreds here since we race them
      // against the signal in resolveDeferredData and they'll get aborted
      // there if needed
      await resolveDeferredData(result, signal, false).then(result => {
        if (result) {
          results[routeId] = result;
        }
      });
    }
  }
}
async function resolveFetcherDeferredResults(matches, results, revalidatingFetchers) {
  for (let index = 0; index < revalidatingFetchers.length; index++) {
    let {
      key,
      routeId,
      controller
    } = revalidatingFetchers[index];
    let result = results[key];
    let match = matches.find(m => (m == null ? void 0 : m.route.id) === routeId);
    // If we don't have a match, then we can have a deferred result to do
    // anything with.  This is for revalidating fetchers where the route was
    // removed during HMR
    if (!match) {
      continue;
    }
    if (isDeferredResult(result)) {
      // Note: we do not have to touch activeDeferreds here since we race them
      // against the signal in resolveDeferredData and they'll get aborted
      // there if needed
      invariant(controller, "Expected an AbortController for revalidating fetcher deferred result");
      await resolveDeferredData(result, controller.signal, true).then(result => {
        if (result) {
          results[key] = result;
        }
      });
    }
  }
}
async function resolveDeferredData(result, signal, unwrap) {
  if (unwrap === void 0) {
    unwrap = false;
  }
  let aborted = await result.deferredData.resolveData(signal);
  if (aborted) {
    return;
  }
  if (unwrap) {
    try {
      return {
        type: ResultType.data,
        data: result.deferredData.unwrappedData
      };
    } catch (e) {
      // Handle any TrackedPromise._error values encountered while unwrapping
      return {
        type: ResultType.error,
        error: e
      };
    }
  }
  return {
    type: ResultType.data,
    data: result.deferredData.data
  };
}
function hasNakedIndexQuery(search) {
  return new URLSearchParams(search).getAll("index").some(v => v === "");
}
function getTargetMatch(matches, location) {
  let search = typeof location === "string" ? parsePath(location).search : location.search;
  if (matches[matches.length - 1].route.index && hasNakedIndexQuery(search || "")) {
    // Return the leaf index route when index is present
    return matches[matches.length - 1];
  }
  // Otherwise grab the deepest "path contributing" match (ignoring index and
  // pathless layout routes)
  let pathMatches = getPathContributingMatches(matches);
  return pathMatches[pathMatches.length - 1];
}
function getSubmissionFromNavigation(navigation) {
  let {
    formMethod,
    formAction,
    formEncType,
    text,
    formData,
    json
  } = navigation;
  if (!formMethod || !formAction || !formEncType) {
    return;
  }
  if (text != null) {
    return {
      formMethod,
      formAction,
      formEncType,
      formData: undefined,
      json: undefined,
      text
    };
  } else if (formData != null) {
    return {
      formMethod,
      formAction,
      formEncType,
      formData,
      json: undefined,
      text: undefined
    };
  } else if (json !== undefined) {
    return {
      formMethod,
      formAction,
      formEncType,
      formData: undefined,
      json,
      text: undefined
    };
  }
}
function getLoadingNavigation(location, submission) {
  if (submission) {
    let navigation = {
      state: "loading",
      location,
      formMethod: submission.formMethod,
      formAction: submission.formAction,
      formEncType: submission.formEncType,
      formData: submission.formData,
      json: submission.json,
      text: submission.text
    };
    return navigation;
  } else {
    let navigation = {
      state: "loading",
      location,
      formMethod: undefined,
      formAction: undefined,
      formEncType: undefined,
      formData: undefined,
      json: undefined,
      text: undefined
    };
    return navigation;
  }
}
function getSubmittingNavigation(location, submission) {
  let navigation = {
    state: "submitting",
    location,
    formMethod: submission.formMethod,
    formAction: submission.formAction,
    formEncType: submission.formEncType,
    formData: submission.formData,
    json: submission.json,
    text: submission.text
  };
  return navigation;
}
function getLoadingFetcher(submission, data) {
  if (submission) {
    let fetcher = {
      state: "loading",
      formMethod: submission.formMethod,
      formAction: submission.formAction,
      formEncType: submission.formEncType,
      formData: submission.formData,
      json: submission.json,
      text: submission.text,
      data
    };
    return fetcher;
  } else {
    let fetcher = {
      state: "loading",
      formMethod: undefined,
      formAction: undefined,
      formEncType: undefined,
      formData: undefined,
      json: undefined,
      text: undefined,
      data
    };
    return fetcher;
  }
}
function getSubmittingFetcher(submission, existingFetcher) {
  let fetcher = {
    state: "submitting",
    formMethod: submission.formMethod,
    formAction: submission.formAction,
    formEncType: submission.formEncType,
    formData: submission.formData,
    json: submission.json,
    text: submission.text,
    data: existingFetcher ? existingFetcher.data : undefined
  };
  return fetcher;
}
function getDoneFetcher(data) {
  let fetcher = {
    state: "idle",
    formMethod: undefined,
    formAction: undefined,
    formEncType: undefined,
    formData: undefined,
    json: undefined,
    text: undefined,
    data
  };
  return fetcher;
}
function restoreAppliedTransitions(_window, transitions) {
  try {
    let sessionPositions = _window.sessionStorage.getItem(TRANSITIONS_STORAGE_KEY);
    if (sessionPositions) {
      let json = JSON.parse(sessionPositions);
      for (let [k, v] of Object.entries(json || {})) {
        if (v && Array.isArray(v)) {
          transitions.set(k, new Set(v || []));
        }
      }
    }
  } catch (e) {
    // no-op, use default empty object
  }
}
function persistAppliedTransitions(_window, transitions) {
  if (transitions.size > 0) {
    let json = {};
    for (let [k, v] of transitions) {
      json[k] = [...v];
    }
    try {
      _window.sessionStorage.setItem(TRANSITIONS_STORAGE_KEY, JSON.stringify(json));
    } catch (error) {
      warning(false, "Failed to save applied view transitions in sessionStorage (" + error + ").");
    }
  }
}
//#endregion


//# sourceMappingURL=router.js.map


/***/ },

/***/ "./node_modules/.pnpm/@rubensworks+saxes@6.0.1/node_modules/@rubensworks/saxes/saxes.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rubensworks+saxes@6.0.1/node_modules/@rubensworks/saxes/saxes.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.SaxesParser = exports.EVENTS = void 0;
const ed5 = __webpack_require__(/*! xmlchars/xml/1.0/ed5 */ "./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.0/ed5.js");
const ed2 = __webpack_require__(/*! xmlchars/xml/1.1/ed2 */ "./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.1/ed2.js");
const NSed3 = __webpack_require__(/*! xmlchars/xmlns/1.0/ed3 */ "./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xmlns/1.0/ed3.js");
var isS = ed5.isS;
var isChar10 = ed5.isChar;
var isNameStartChar = ed5.isNameStartChar;
var isNameChar = ed5.isNameChar;
var S_LIST = ed5.S_LIST;
var NAME_RE = ed5.NAME_RE;
var isChar11 = ed2.isChar;
var isNCNameStartChar = NSed3.isNCNameStartChar;
var isNCNameChar = NSed3.isNCNameChar;
var NC_NAME_RE = NSed3.NC_NAME_RE;
const XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace";
const XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/";
const rootNS = {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment
    __proto__: null,
    xml: XML_NAMESPACE,
    xmlns: XMLNS_NAMESPACE,
};
const XML_ENTITIES = {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment
    __proto__: null,
    amp: "&",
    gt: ">",
    lt: "<",
    quot: "\"",
    apos: "'",
};
// EOC: end-of-chunk
const EOC = -1;
const NL_LIKE = -2;
const S_BEGIN = 0; // Initial state.
const S_BEGIN_WHITESPACE = 1; // leading whitespace
const S_DOCTYPE = 2; // <!DOCTYPE
const S_DOCTYPE_QUOTE = 3; // <!DOCTYPE "//blah
const S_DTD = 4; // <!DOCTYPE "//blah" [ ...
const S_DTD_QUOTED = 5; // <!DOCTYPE "//blah" [ "foo
const S_DTD_OPEN_WAKA = 6;
const S_DTD_OPEN_WAKA_BANG = 7;
const S_DTD_COMMENT = 8; // <!--
const S_DTD_COMMENT_ENDING = 9; // <!-- blah -
const S_DTD_COMMENT_ENDED = 10; // <!-- blah --
const S_DTD_PI = 11; // <?
const S_DTD_PI_ENDING = 12; // <?hi "there" ?
const S_TEXT = 13; // general stuff
const S_ENTITY = 14; // &amp and such
const S_OPEN_WAKA = 15; // <
const S_OPEN_WAKA_BANG = 16; // <!...
const S_COMMENT = 17; // <!--
const S_COMMENT_ENDING = 18; // <!-- blah -
const S_COMMENT_ENDED = 19; // <!-- blah --
const S_CDATA = 20; // <![CDATA[ something
const S_CDATA_ENDING = 21; // ]
const S_CDATA_ENDING_2 = 22; // ]]
const S_PI_FIRST_CHAR = 23; // <?hi, first char
const S_PI_REST = 24; // <?hi, rest of the name
const S_PI_BODY = 25; // <?hi there
const S_PI_ENDING = 26; // <?hi "there" ?
const S_XML_DECL_NAME_START = 27; // <?xml
const S_XML_DECL_NAME = 28; // <?xml foo
const S_XML_DECL_EQ = 29; // <?xml foo=
const S_XML_DECL_VALUE_START = 30; // <?xml foo=
const S_XML_DECL_VALUE = 31; // <?xml foo="bar"
const S_XML_DECL_SEPARATOR = 32; // <?xml foo="bar"
const S_XML_DECL_ENDING = 33; // <?xml ... ?
const S_OPEN_TAG = 34; // <strong
const S_OPEN_TAG_SLASH = 35; // <strong /
const S_ATTRIB = 36; // <a
const S_ATTRIB_NAME = 37; // <a foo
const S_ATTRIB_NAME_SAW_WHITE = 38; // <a foo _
const S_ATTRIB_VALUE = 39; // <a foo=
const S_ATTRIB_VALUE_QUOTED = 40; // <a foo="bar
const S_ATTRIB_VALUE_CLOSED = 41; // <a foo="bar"
const S_ATTRIB_VALUE_UNQUOTED = 42; // <a foo=bar
const S_CLOSE_TAG = 43; // </a
const S_CLOSE_TAG_SAW_WHITE = 44; // </a   >
const TAB = 9;
const NL = 0xA;
const CR = 0xD;
const SPACE = 0x20;
const BANG = 0x21;
const DQUOTE = 0x22;
const AMP = 0x26;
const SQUOTE = 0x27;
const MINUS = 0x2D;
const FORWARD_SLASH = 0x2F;
const SEMICOLON = 0x3B;
const LESS = 0x3C;
const EQUAL = 0x3D;
const GREATER = 0x3E;
const QUESTION = 0x3F;
const OPEN_BRACKET = 0x5B;
const CLOSE_BRACKET = 0x5D;
const NEL = 0x85;
const LS = 0x2028; // Line Separator
const isQuote = (c) => c === DQUOTE || c === SQUOTE;
const QUOTES = [DQUOTE, SQUOTE];
const DOCTYPE_TERMINATOR = [...QUOTES, OPEN_BRACKET, GREATER];
const DTD_TERMINATOR = [...QUOTES, LESS, CLOSE_BRACKET];
const XML_DECL_NAME_TERMINATOR = [EQUAL, QUESTION, ...S_LIST];
const ATTRIB_VALUE_UNQUOTED_TERMINATOR = [...S_LIST, GREATER, AMP, LESS];
function nsPairCheck(parser, prefix, uri) {
    switch (prefix) {
        case "xml":
            if (uri !== XML_NAMESPACE) {
                parser.fail(`xml prefix must be bound to ${XML_NAMESPACE}.`);
            }
            break;
        case "xmlns":
            if (uri !== XMLNS_NAMESPACE) {
                parser.fail(`xmlns prefix must be bound to ${XMLNS_NAMESPACE}.`);
            }
            break;
        default:
    }
    switch (uri) {
        case XMLNS_NAMESPACE:
            parser.fail(prefix === "" ?
                `the default namespace may not be set to ${uri}.` :
                `may not assign a prefix (even "xmlns") to the URI \
${XMLNS_NAMESPACE}.`);
            break;
        case XML_NAMESPACE:
            switch (prefix) {
                case "xml":
                    // Assinging the XML namespace to "xml" is fine.
                    break;
                case "":
                    parser.fail(`the default namespace may not be set to ${uri}.`);
                    break;
                default:
                    parser.fail("may not assign the xml namespace to another prefix.");
            }
            break;
        default:
    }
}
function nsMappingCheck(parser, mapping) {
    for (const local of Object.keys(mapping)) {
        nsPairCheck(parser, local, mapping[local]);
    }
}
const isNCName = (name) => NC_NAME_RE.test(name);
const isName = (name) => NAME_RE.test(name);
const FORBIDDEN_START = 0;
const FORBIDDEN_BRACKET = 1;
const FORBIDDEN_BRACKET_BRACKET = 2;
/**
 * The list of supported events.
 */
exports.EVENTS = [
    "xmldecl",
    "text",
    "processinginstruction",
    "doctype",
    "comment",
    "opentagstart",
    "attribute",
    "opentag",
    "closetag",
    "cdata",
    "error",
    "end",
    "ready",
];
const EVENT_NAME_TO_HANDLER_NAME = {
    xmldecl: "xmldeclHandler",
    text: "textHandler",
    processinginstruction: "piHandler",
    doctype: "doctypeHandler",
    comment: "commentHandler",
    opentagstart: "openTagStartHandler",
    attribute: "attributeHandler",
    opentag: "openTagHandler",
    closetag: "closeTagHandler",
    cdata: "cdataHandler",
    error: "errorHandler",
    end: "endHandler",
    ready: "readyHandler",
};
// eslint-disable-next-line @typescript-eslint/ban-types
class SaxesParser {
    /**
     * Indicates whether or not the parser is closed. If ``true``, wait for
     * the ``ready`` event to write again.
     */
    get closed() {
        return this._closed;
    }
    /**
     * @param opt The parser options.
     */
    constructor(opt) {
        this.opt = opt !== null && opt !== void 0 ? opt : {};
        this.fragmentOpt = !!this.opt.fragment;
        const xmlnsOpt = this.xmlnsOpt = !!this.opt.xmlns;
        this.trackPosition = this.opt.position !== false;
        this.fileName = this.opt.fileName;
        if (xmlnsOpt) {
            // This is the function we use to perform name checks on PIs and entities.
            // When namespaces are used, colons are not allowed in PI target names or
            // entity names. So the check depends on whether namespaces are used. See:
            //
            // https://www.w3.org/XML/xml-names-19990114-errata.html
            // NE08
            //
            this.nameStartCheck = isNCNameStartChar;
            this.nameCheck = isNCNameChar;
            this.isName = isNCName;
            // eslint-disable-next-line @typescript-eslint/unbound-method
            this.processAttribs = this.processAttribsNS;
            // eslint-disable-next-line @typescript-eslint/unbound-method
            this.pushAttrib = this.pushAttribNS;
            // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment
            this.ns = Object.assign({ __proto__: null }, rootNS);
            const additional = this.opt.additionalNamespaces;
            if (additional != null) {
                nsMappingCheck(this, additional);
                Object.assign(this.ns, additional);
            }
        }
        else {
            this.nameStartCheck = isNameStartChar;
            this.nameCheck = isNameChar;
            this.isName = isName;
            // eslint-disable-next-line @typescript-eslint/unbound-method
            this.processAttribs = this.processAttribsPlain;
            // eslint-disable-next-line @typescript-eslint/unbound-method
            this.pushAttrib = this.pushAttribPlain;
        }
        //
        // The order of the members in this table needs to correspond to the state
        // numbers given to the states that correspond to the methods being recorded
        // here.
        //
        this.stateTable = [
            /* eslint-disable @typescript-eslint/unbound-method */
            this.sBegin,
            this.sBeginWhitespace,
            this.sDoctype,
            this.sDoctypeQuote,
            this.sDTD,
            this.sDTDQuoted,
            this.sDTDOpenWaka,
            this.sDTDOpenWakaBang,
            this.sDTDComment,
            this.sDTDCommentEnding,
            this.sDTDCommentEnded,
            this.sDTDPI,
            this.sDTDPIEnding,
            this.sText,
            this.sEntity,
            this.sOpenWaka,
            this.sOpenWakaBang,
            this.sComment,
            this.sCommentEnding,
            this.sCommentEnded,
            this.sCData,
            this.sCDataEnding,
            this.sCDataEnding2,
            this.sPIFirstChar,
            this.sPIRest,
            this.sPIBody,
            this.sPIEnding,
            this.sXMLDeclNameStart,
            this.sXMLDeclName,
            this.sXMLDeclEq,
            this.sXMLDeclValueStart,
            this.sXMLDeclValue,
            this.sXMLDeclSeparator,
            this.sXMLDeclEnding,
            this.sOpenTag,
            this.sOpenTagSlash,
            this.sAttrib,
            this.sAttribName,
            this.sAttribNameSawWhite,
            this.sAttribValue,
            this.sAttribValueQuoted,
            this.sAttribValueClosed,
            this.sAttribValueUnquoted,
            this.sCloseTag,
            this.sCloseTagSawWhite,
            /* eslint-enable @typescript-eslint/unbound-method */
        ];
        this._init();
    }
    _init() {
        var _a;
        this.openWakaBang = "";
        this.text = "";
        this.name = "";
        this.piTarget = "";
        this.entity = "";
        this.q = null;
        this.tags = [];
        this.tag = null;
        this.topNS = null;
        this.chunk = "";
        this.chunkPosition = 0;
        this.i = 0;
        this.prevI = 0;
        this.carriedFromPrevious = undefined;
        this.forbiddenState = FORBIDDEN_START;
        this.attribList = [];
        // The logic is organized so as to minimize the need to check
        // this.opt.fragment while parsing.
        const { fragmentOpt } = this;
        this.state = fragmentOpt ? S_TEXT : S_BEGIN;
        // We want these to be all true if we are dealing with a fragment.
        this.reportedTextBeforeRoot = this.reportedTextAfterRoot = this.closedRoot =
            this.sawRoot = fragmentOpt;
        // An XML declaration is intially possible only when parsing whole
        // documents.
        this.xmlDeclPossible = !fragmentOpt;
        this.xmlDeclExpects = ["version"];
        this.entityReturnState = undefined;
        let { defaultXMLVersion } = this.opt;
        if (defaultXMLVersion === undefined) {
            if (this.opt.forceXMLVersion === true) {
                throw new Error("forceXMLVersion set but defaultXMLVersion is not set");
            }
            defaultXMLVersion = "1.0";
        }
        this.setXMLVersion(defaultXMLVersion);
        this.positionAtNewLine = 0;
        this.doctype = false;
        this._closed = false;
        this.xmlDecl = {
            version: undefined,
            encoding: undefined,
            standalone: undefined,
        };
        this.line = 1;
        this.column = 0;
        this.ENTITIES = Object.create(XML_ENTITIES);
        (_a = this.readyHandler) === null || _a === void 0 ? void 0 : _a.call(this);
    }
    /**
     * The stream position the parser is currently looking at. This field is
     * zero-based.
     *
     * This field is not based on counting Unicode characters but is to be
     * interpreted as a plain index into a JavaScript string.
     */
    get position() {
        return this.chunkPosition + this.i;
    }
    /**
     * The column number of the next character to be read by the parser.  *
     * This field is zero-based. (The first column in a line is 0.)
     *
     * This field reports the index at which the next character would be in the
     * line if the line were represented as a JavaScript string.  Note that this
     * *can* be different to a count based on the number of *Unicode characters*
     * due to how JavaScript handles astral plane characters.
     *
     * See [[column]] for a number that corresponds to a count of Unicode
     * characters.
     */
    get columnIndex() {
        return this.position - this.positionAtNewLine;
    }
    /**
     * Set an event listener on an event. The parser supports one handler per
     * event type. If you try to set an event handler over an existing handler,
     * the old handler is silently overwritten.
     *
     * @param name The event to listen to.
     *
     * @param handler The handler to set.
     */
    on(name, handler) {
        // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
        this[EVENT_NAME_TO_HANDLER_NAME[name]] = handler;
    }
    /**
     * Unset an event handler.
     *
     * @parma name The event to stop listening to.
     */
    off(name) {
        // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
        this[EVENT_NAME_TO_HANDLER_NAME[name]] = undefined;
    }
    /**
     * Make an error object. The error object will have a message that contains
     * the ``fileName`` option passed at the creation of the parser. If position
     * tracking was turned on, it will also have line and column number
     * information.
     *
     * @param message The message describing the error to report.
     *
     * @returns An error object with a properly formatted message.
     */
    makeError(message) {
        var _a;
        let msg = (_a = this.fileName) !== null && _a !== void 0 ? _a : "";
        if (this.trackPosition) {
            if (msg.length > 0) {
                msg += ":";
            }
            msg += `${this.line}:${this.column}`;
        }
        if (msg.length > 0) {
            msg += ": ";
        }
        return new Error(msg + message);
    }
    /**
     * Report a parsing error. This method is made public so that client code may
     * check for issues that are outside the scope of this project and can report
     * errors.
     *
     * @param message The error to report.
     *
     * @returns this
     */
    fail(message) {
        const err = this.makeError(message);
        const handler = this.errorHandler;
        if (handler === undefined) {
            throw err;
        }
        else {
            handler(err);
        }
        return this;
    }
    /**
     * Write a XML data to the parser.
     *
     * @param chunk The XML data to write.
     *
     * @returns this
     */
    // We do need object for the type here. Yes, it often causes problems
    // but not in this case.
    write(chunk) {
        if (this.closed) {
            return this.fail("cannot write after close; assign an onready handler.");
        }
        let end = false;
        if (chunk === null) {
            // We cannot return immediately because carriedFromPrevious may need
            // processing.
            end = true;
            chunk = "";
        }
        else if (typeof chunk === "object") {
            chunk = chunk.toString();
        }
        // We checked if performing a pre-decomposition of the string into an array
        // of single complete characters (``Array.from(chunk)``) would be faster
        // than the current repeated calls to ``charCodeAt``. As of August 2018, it
        // isn't. (There may be Node-specific code that would perform faster than
        // ``Array.from`` but don't want to be dependent on Node.)
        if (this.carriedFromPrevious !== undefined) {
            // The previous chunk had char we must carry over.
            chunk = `${this.carriedFromPrevious}${chunk}`;
            this.carriedFromPrevious = undefined;
        }
        let limit = chunk.length;
        const lastCode = chunk.charCodeAt(limit - 1);
        if (!end &&
            // A trailing CR or surrogate must be carried over to the next
            // chunk.
            (lastCode === CR || (lastCode >= 0xD800 && lastCode <= 0xDBFF))) {
            // The chunk ends with a character that must be carried over. We cannot
            // know how to handle it until we get the next chunk or the end of the
            // stream. So save it for later.
            this.carriedFromPrevious = chunk[limit - 1];
            limit--;
            chunk = chunk.slice(0, limit);
        }
        const { stateTable } = this;
        this.chunk = chunk;
        this.i = 0;
        while (this.i < limit) {
            // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
            stateTable[this.state].call(this);
        }
        this.chunkPosition += limit;
        return end ? this.end() : this;
    }
    /**
     * Close the current stream. Perform final well-formedness checks and reset
     * the parser tstate.
     *
     * @returns this
     */
    close() {
        return this.write(null);
    }
    /**
     * Get a single code point out of the current chunk. This updates the current
     * position if we do position tracking.
     *
     * This is the algorithm to use for XML 1.0.
     *
     * @returns The character read.
     */
    getCode10() {
        const { chunk, i } = this;
        this.prevI = i;
        // Yes, we do this instead of doing this.i++. Doing it this way, we do not
        // read this.i again, which is a bit faster.
        this.i = i + 1;
        if (i >= chunk.length) {
            return EOC;
        }
        // Using charCodeAt and handling the surrogates ourselves is faster
        // than using codePointAt.
        const code = chunk.charCodeAt(i);
        this.column++;
        if (code < 0xD800) {
            if (code >= SPACE || code === TAB) {
                return code;
            }
            switch (code) {
                case NL:
                    this.line++;
                    this.column = 0;
                    this.positionAtNewLine = this.position;
                    return NL;
                case CR:
                    // We may get NaN if we read past the end of the chunk, which is fine.
                    if (chunk.charCodeAt(i + 1) === NL) {
                        // A \r\n sequence is converted to \n so we have to skip over the
                        // next character. We already know it has a size of 1 so ++ is fine
                        // here.
                        this.i = i + 2;
                    }
                    // Otherwise, a \r is just converted to \n, so we don't have to skip
                    // ahead.
                    // In either case, \r becomes \n.
                    this.line++;
                    this.column = 0;
                    this.positionAtNewLine = this.position;
                    return NL_LIKE;
                default:
                    // If we get here, then code < SPACE and it is not NL CR or TAB.
                    this.fail("disallowed character.");
                    return code;
            }
        }
        if (code > 0xDBFF) {
            // This is a specialized version of isChar10 that takes into account
            // that in this context code > 0xDBFF and code <= 0xFFFF. So it does not
            // test cases that don't need testing.
            if (!(code >= 0xE000 && code <= 0xFFFD)) {
                this.fail("disallowed character.");
            }
            return code;
        }
        const final = 0x10000 + ((code - 0xD800) * 0x400) +
            (chunk.charCodeAt(i + 1) - 0xDC00);
        this.i = i + 2;
        // This is a specialized version of isChar10 that takes into account that in
        // this context necessarily final >= 0x10000.
        if (final > 0x10FFFF) {
            this.fail("disallowed character.");
        }
        return final;
    }
    /**
     * Get a single code point out of the current chunk. This updates the current
     * position if we do position tracking.
     *
     * This is the algorithm to use for XML 1.1.
     *
     * @returns {number} The character read.
     */
    getCode11() {
        const { chunk, i } = this;
        this.prevI = i;
        // Yes, we do this instead of doing this.i++. Doing it this way, we do not
        // read this.i again, which is a bit faster.
        this.i = i + 1;
        if (i >= chunk.length) {
            return EOC;
        }
        // Using charCodeAt and handling the surrogates ourselves is faster
        // than using codePointAt.
        const code = chunk.charCodeAt(i);
        this.column++;
        if (code < 0xD800) {
            if ((code > 0x1F && code < 0x7F) || (code > 0x9F && code !== LS) ||
                code === TAB) {
                return code;
            }
            switch (code) {
                case NL: // 0xA
                    this.line++;
                    this.column = 0;
                    this.positionAtNewLine = this.position;
                    return NL;
                case CR: { // 0xD
                    // We may get NaN if we read past the end of the chunk, which is
                    // fine.
                    const next = chunk.charCodeAt(i + 1);
                    if (next === NL || next === NEL) {
                        // A CR NL or CR NEL sequence is converted to NL so we have to skip
                        // over the next character. We already know it has a size of 1.
                        this.i = i + 2;
                    }
                    // Otherwise, a CR is just converted to NL, no skip.
                }
                /* yes, fall through */
                case NEL: // 0x85
                case LS: // Ox2028
                    this.line++;
                    this.column = 0;
                    this.positionAtNewLine = this.position;
                    return NL_LIKE;
                default:
                    this.fail("disallowed character.");
                    return code;
            }
        }
        if (code > 0xDBFF) {
            // This is a specialized version of isCharAndNotRestricted that takes into
            // account that in this context code > 0xDBFF and code <= 0xFFFF. So it
            // does not test cases that don't need testing.
            if (!(code >= 0xE000 && code <= 0xFFFD)) {
                this.fail("disallowed character.");
            }
            return code;
        }
        const final = 0x10000 + ((code - 0xD800) * 0x400) +
            (chunk.charCodeAt(i + 1) - 0xDC00);
        this.i = i + 2;
        // This is a specialized version of isCharAndNotRestricted that takes into
        // account that in this context necessarily final >= 0x10000.
        if (final > 0x10FFFF) {
            this.fail("disallowed character.");
        }
        return final;
    }
    /**
     * Like ``getCode`` but with the return value normalized so that ``NL`` is
     * returned for ``NL_LIKE``.
     */
    getCodeNorm() {
        const c = this.getCode();
        return c === NL_LIKE ? NL : c;
    }
    unget() {
        this.i = this.prevI;
        this.column--;
    }
    /**
     * Capture characters into a buffer until encountering one of a set of
     * characters.
     *
     * @param chars An array of codepoints. Encountering a character in the array
     * ends the capture. (``chars`` may safely contain ``NL``.)
     *
     * @return The character code that made the capture end, or ``EOC`` if we hit
     * the end of the chunk. The return value cannot be NL_LIKE: NL is returned
     * instead.
     */
    captureTo(chars) {
        let { i: start } = this;
        const { chunk } = this;
        // eslint-disable-next-line no-constant-condition
        while (true) {
            const c = this.getCode();
            const isNLLike = c === NL_LIKE;
            const final = isNLLike ? NL : c;
            if (final === EOC || chars.includes(final)) {
                this.text += chunk.slice(start, this.prevI);
                return final;
            }
            if (isNLLike) {
                this.text += `${chunk.slice(start, this.prevI)}\n`;
                start = this.i;
            }
        }
    }
    /**
     * Capture characters into a buffer until encountering a character.
     *
     * @param char The codepoint that ends the capture. **NOTE ``char`` MAY NOT
     * CONTAIN ``NL``.** Passing ``NL`` will result in buggy behavior.
     *
     * @return ``true`` if we ran into the character. Otherwise, we ran into the
     * end of the current chunk.
     */
    captureToChar(char) {
        let { i: start } = this;
        const { chunk } = this;
        // eslint-disable-next-line no-constant-condition
        while (true) {
            let c = this.getCode();
            switch (c) {
                case NL_LIKE:
                    this.text += `${chunk.slice(start, this.prevI)}\n`;
                    start = this.i;
                    c = NL;
                    break;
                case EOC:
                    this.text += chunk.slice(start);
                    return false;
                default:
            }
            if (c === char) {
                this.text += chunk.slice(start, this.prevI);
                return true;
            }
        }
    }
    /**
     * Capture characters that satisfy ``isNameChar`` into the ``name`` field of
     * this parser.
     *
     * @return The character code that made the test fail, or ``EOC`` if we hit
     * the end of the chunk. The return value cannot be NL_LIKE: NL is returned
     * instead.
     */
    captureNameChars() {
        const { chunk, i: start } = this;
        // eslint-disable-next-line no-constant-condition
        while (true) {
            const c = this.getCode();
            if (c === EOC) {
                this.name += chunk.slice(start);
                return EOC;
            }
            // NL is not a name char so we don't have to test specifically for it.
            if (!isNameChar(c)) {
                this.name += chunk.slice(start, this.prevI);
                return c === NL_LIKE ? NL : c;
            }
        }
    }
    /**
     * Skip white spaces.
     *
     * @return The character that ended the skip, or ``EOC`` if we hit
     * the end of the chunk. The return value cannot be NL_LIKE: NL is returned
     * instead.
     */
    skipSpaces() {
        // eslint-disable-next-line no-constant-condition
        while (true) {
            const c = this.getCodeNorm();
            if (c === EOC || !isS(c)) {
                return c;
            }
        }
    }
    setXMLVersion(version) {
        this.currentXMLVersion = version;
        /*  eslint-disable @typescript-eslint/unbound-method */
        if (version === "1.0") {
            this.isChar = isChar10;
            this.getCode = this.getCode10;
        }
        else {
            this.isChar = isChar11;
            this.getCode = this.getCode11;
        }
        /* eslint-enable @typescript-eslint/unbound-method */
    }
    // STATE ENGINE METHODS
    // This needs to be a state separate from S_BEGIN_WHITESPACE because we want
    // to be sure never to come back to this state later.
    sBegin() {
        // We are essentially peeking at the first character of the chunk. Since
        // S_BEGIN can be in effect only when we start working on the first chunk,
        // the index at which we must look is necessarily 0. Note also that the
        // following test does not depend on decoding surrogates.
        // If the initial character is 0xFEFF, ignore it.
        if (this.chunk.charCodeAt(0) === 0xFEFF) {
            this.i++;
            this.column++;
        }
        this.state = S_BEGIN_WHITESPACE;
    }
    sBeginWhitespace() {
        // We need to know whether we've encountered spaces or not because as soon
        // as we run into a space, an XML declaration is no longer possible. Rather
        // than slow down skipSpaces even in places where we don't care whether it
        // skipped anything or not, we check whether prevI is equal to the value of
        // i from before we skip spaces.
        const iBefore = this.i;
        const c = this.skipSpaces();
        if (this.prevI !== iBefore) {
            this.xmlDeclPossible = false;
        }
        switch (c) {
            case LESS:
                this.state = S_OPEN_WAKA;
                // We could naively call closeText but in this state, it is not normal
                // to have text be filled with any data.
                if (this.text.length !== 0) {
                    throw new Error("no-empty text at start");
                }
                break;
            case EOC:
                break;
            default:
                this.unget();
                this.state = S_TEXT;
                this.xmlDeclPossible = false;
        }
    }
    sDoctype() {
        var _a;
        const c = this.captureTo(DOCTYPE_TERMINATOR);
        switch (c) {
            case GREATER: {
                (_a = this.doctypeHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.text);
                this.text = "";
                this.state = S_TEXT;
                this.doctype = true; // just remember that we saw it.
                break;
            }
            case EOC:
                break;
            default:
                this.text += String.fromCodePoint(c);
                if (c === OPEN_BRACKET) {
                    this.state = S_DTD;
                }
                else if (isQuote(c)) {
                    this.state = S_DOCTYPE_QUOTE;
                    this.q = c;
                }
        }
    }
    sDoctypeQuote() {
        const q = this.q;
        if (this.captureToChar(q)) {
            this.text += String.fromCodePoint(q);
            this.q = null;
            this.state = S_DOCTYPE;
        }
    }
    sDTD() {
        const c = this.captureTo(DTD_TERMINATOR);
        if (c === EOC) {
            return;
        }
        this.text += String.fromCodePoint(c);
        if (c === CLOSE_BRACKET) {
            this.state = S_DOCTYPE;
        }
        else if (c === LESS) {
            this.state = S_DTD_OPEN_WAKA;
        }
        else if (isQuote(c)) {
            this.state = S_DTD_QUOTED;
            this.q = c;
        }
    }
    sDTDQuoted() {
        const q = this.q;
        if (this.captureToChar(q)) {
            this.text += String.fromCodePoint(q);
            this.state = S_DTD;
            this.q = null;
        }
    }
    sDTDOpenWaka() {
        const c = this.getCodeNorm();
        this.text += String.fromCodePoint(c);
        switch (c) {
            case BANG:
                this.state = S_DTD_OPEN_WAKA_BANG;
                this.openWakaBang = "";
                break;
            case QUESTION:
                this.state = S_DTD_PI;
                break;
            default:
                this.state = S_DTD;
        }
    }
    sDTDOpenWakaBang() {
        const char = String.fromCodePoint(this.getCodeNorm());
        const owb = this.openWakaBang += char;
        this.text += char;
        if (owb !== "-") {
            this.state = owb === "--" ? S_DTD_COMMENT : S_DTD;
            this.openWakaBang = "";
        }
    }
    sDTDComment() {
        if (this.captureToChar(MINUS)) {
            this.text += "-";
            this.state = S_DTD_COMMENT_ENDING;
        }
    }
    sDTDCommentEnding() {
        const c = this.getCodeNorm();
        this.text += String.fromCodePoint(c);
        this.state = c === MINUS ? S_DTD_COMMENT_ENDED : S_DTD_COMMENT;
    }
    sDTDCommentEnded() {
        const c = this.getCodeNorm();
        this.text += String.fromCodePoint(c);
        if (c === GREATER) {
            this.state = S_DTD;
        }
        else {
            this.fail("malformed comment.");
            // <!-- blah -- bloo --> will be recorded as
            // a comment of " blah -- bloo "
            this.state = S_DTD_COMMENT;
        }
    }
    sDTDPI() {
        if (this.captureToChar(QUESTION)) {
            this.text += "?";
            this.state = S_DTD_PI_ENDING;
        }
    }
    sDTDPIEnding() {
        const c = this.getCodeNorm();
        this.text += String.fromCodePoint(c);
        if (c === GREATER) {
            this.state = S_DTD;
        }
    }
    sText() {
        //
        // We did try a version of saxes where the S_TEXT state was split in two
        // states: one for text inside the root element, and one for text
        // outside. This was avoiding having to test this.tags.length to decide
        // what implementation to actually use.
        //
        // Peformance testing on gigabyte-size files did not show any advantage to
        // using the two states solution instead of the current one. Conversely, it
        // made the code a bit more complicated elsewhere. For instance, a comment
        // can appear before the root element so when a comment ended it was
        // necessary to determine whether to return to the S_TEXT state or to the
        // new text-outside-root state.
        //
        if (this.tags.length !== 0) {
            this.handleTextInRoot();
        }
        else {
            this.handleTextOutsideRoot();
        }
    }
    sEntity() {
        // This is essentially a specialized version of captureToChar(SEMICOLON...)
        let { i: start } = this;
        const { chunk } = this;
        // eslint-disable-next-line no-labels, no-restricted-syntax
        loop: 
        // eslint-disable-next-line no-constant-condition
        while (true) {
            switch (this.getCode()) {
                case NL_LIKE:
                    this.entity += `${chunk.slice(start, this.prevI)}\n`;
                    start = this.i;
                    break;
                case SEMICOLON: {
                    const { entityReturnState } = this;
                    const entity = this.entity + chunk.slice(start, this.prevI);
                    this.state = entityReturnState;
                    let parsed;
                    if (entity === "") {
                        this.fail("empty entity name.");
                        parsed = "&;";
                    }
                    else {
                        parsed = this.parseEntity(entity);
                        this.entity = "";
                    }
                    if (entityReturnState !== S_TEXT || this.textHandler !== undefined) {
                        this.text += parsed;
                    }
                    // eslint-disable-next-line no-labels
                    break loop;
                }
                case EOC:
                    this.entity += chunk.slice(start);
                    // eslint-disable-next-line no-labels
                    break loop;
                default:
            }
        }
    }
    sOpenWaka() {
        // Reminder: a state handler is called with at least one character
        // available in the current chunk. So the first call to get code inside of
        // a state handler cannot return ``EOC``. That's why we don't test
        // for it.
        const c = this.getCode();
        // either a /, ?, !, or text is coming next.
        if (isNameStartChar(c)) {
            this.state = S_OPEN_TAG;
            this.unget();
            this.xmlDeclPossible = false;
        }
        else {
            switch (c) {
                case FORWARD_SLASH:
                    this.state = S_CLOSE_TAG;
                    this.xmlDeclPossible = false;
                    break;
                case BANG:
                    this.state = S_OPEN_WAKA_BANG;
                    this.openWakaBang = "";
                    this.xmlDeclPossible = false;
                    break;
                case QUESTION:
                    this.state = S_PI_FIRST_CHAR;
                    break;
                default:
                    this.fail("disallowed character in tag name");
                    this.state = S_TEXT;
                    this.xmlDeclPossible = false;
            }
        }
    }
    sOpenWakaBang() {
        this.openWakaBang += String.fromCodePoint(this.getCodeNorm());
        switch (this.openWakaBang) {
            case "[CDATA[":
                if (!this.sawRoot && !this.reportedTextBeforeRoot) {
                    this.fail("text data outside of root node.");
                    this.reportedTextBeforeRoot = true;
                }
                if (this.closedRoot && !this.reportedTextAfterRoot) {
                    this.fail("text data outside of root node.");
                    this.reportedTextAfterRoot = true;
                }
                this.state = S_CDATA;
                this.openWakaBang = "";
                break;
            case "--":
                this.state = S_COMMENT;
                this.openWakaBang = "";
                break;
            case "DOCTYPE":
                this.state = S_DOCTYPE;
                if (this.doctype || this.sawRoot) {
                    this.fail("inappropriately located doctype declaration.");
                }
                this.openWakaBang = "";
                break;
            default:
                // 7 happens to be the maximum length of the string that can possibly
                // match one of the cases above.
                if (this.openWakaBang.length >= 7) {
                    this.fail("incorrect syntax.");
                }
        }
    }
    sComment() {
        if (this.captureToChar(MINUS)) {
            this.state = S_COMMENT_ENDING;
        }
    }
    sCommentEnding() {
        var _a;
        const c = this.getCodeNorm();
        if (c === MINUS) {
            this.state = S_COMMENT_ENDED;
            (_a = this.commentHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.text);
            this.text = "";
        }
        else {
            this.text += `-${String.fromCodePoint(c)}`;
            this.state = S_COMMENT;
        }
    }
    sCommentEnded() {
        const c = this.getCodeNorm();
        if (c !== GREATER) {
            this.fail("malformed comment.");
            // <!-- blah -- bloo --> will be recorded as
            // a comment of " blah -- bloo "
            this.text += `--${String.fromCodePoint(c)}`;
            this.state = S_COMMENT;
        }
        else {
            this.state = S_TEXT;
        }
    }
    sCData() {
        if (this.captureToChar(CLOSE_BRACKET)) {
            this.state = S_CDATA_ENDING;
        }
    }
    sCDataEnding() {
        const c = this.getCodeNorm();
        if (c === CLOSE_BRACKET) {
            this.state = S_CDATA_ENDING_2;
        }
        else {
            this.text += `]${String.fromCodePoint(c)}`;
            this.state = S_CDATA;
        }
    }
    sCDataEnding2() {
        var _a;
        const c = this.getCodeNorm();
        switch (c) {
            case GREATER: {
                (_a = this.cdataHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.text);
                this.text = "";
                this.state = S_TEXT;
                break;
            }
            case CLOSE_BRACKET:
                this.text += "]";
                break;
            default:
                this.text += `]]${String.fromCodePoint(c)}`;
                this.state = S_CDATA;
        }
    }
    // We need this separate state to check the first character fo the pi target
    // with this.nameStartCheck which allows less characters than this.nameCheck.
    sPIFirstChar() {
        const c = this.getCodeNorm();
        // This is first because in the case where the file is well-formed this is
        // the branch taken. We optimize for well-formedness.
        if (this.nameStartCheck(c)) {
            this.piTarget += String.fromCodePoint(c);
            this.state = S_PI_REST;
        }
        else if (c === QUESTION || isS(c)) {
            this.fail("processing instruction without a target.");
            this.state = c === QUESTION ? S_PI_ENDING : S_PI_BODY;
        }
        else {
            this.fail("disallowed character in processing instruction name.");
            this.piTarget += String.fromCodePoint(c);
            this.state = S_PI_REST;
        }
    }
    sPIRest() {
        // Capture characters into a piTarget while ``this.nameCheck`` run on the
        // character read returns true.
        const { chunk, i: start } = this;
        // eslint-disable-next-line no-constant-condition
        while (true) {
            const c = this.getCodeNorm();
            if (c === EOC) {
                this.piTarget += chunk.slice(start);
                return;
            }
            // NL cannot satisfy this.nameCheck so we don't have to test specifically
            // for it.
            if (!this.nameCheck(c)) {
                this.piTarget += chunk.slice(start, this.prevI);
                const isQuestion = c === QUESTION;
                if (isQuestion || isS(c)) {
                    if (this.piTarget === "xml") {
                        if (!this.xmlDeclPossible) {
                            this.fail("an XML declaration must be at the start of the document.");
                        }
                        this.state = isQuestion ? S_XML_DECL_ENDING : S_XML_DECL_NAME_START;
                    }
                    else {
                        this.state = isQuestion ? S_PI_ENDING : S_PI_BODY;
                    }
                }
                else {
                    this.fail("disallowed character in processing instruction name.");
                    this.piTarget += String.fromCodePoint(c);
                }
                break;
            }
        }
    }
    sPIBody() {
        if (this.text.length === 0) {
            const c = this.getCodeNorm();
            if (c === QUESTION) {
                this.state = S_PI_ENDING;
            }
            else if (!isS(c)) {
                this.text = String.fromCodePoint(c);
            }
        }
        // The question mark character is not valid inside any of the XML
        // declaration name/value pairs.
        else if (this.captureToChar(QUESTION)) {
            this.state = S_PI_ENDING;
        }
    }
    sPIEnding() {
        var _a;
        const c = this.getCodeNorm();
        if (c === GREATER) {
            const { piTarget } = this;
            if (piTarget.toLowerCase() === "xml") {
                this.fail("the XML declaration must appear at the start of the document.");
            }
            (_a = this.piHandler) === null || _a === void 0 ? void 0 : _a.call(this, {
                target: piTarget,
                body: this.text,
            });
            this.piTarget = this.text = "";
            this.state = S_TEXT;
        }
        else if (c === QUESTION) {
            // We ran into ?? as part of a processing instruction. We initially took
            // the first ? as a sign that the PI was ending, but it is not. So we have
            // to add it to the body but we take the new ? as a sign that the PI is
            // ending.
            this.text += "?";
        }
        else {
            this.text += `?${String.fromCodePoint(c)}`;
            this.state = S_PI_BODY;
        }
        this.xmlDeclPossible = false;
    }
    sXMLDeclNameStart() {
        const c = this.skipSpaces();
        // The question mark character is not valid inside any of the XML
        // declaration name/value pairs.
        if (c === QUESTION) {
            // It is valid to go to S_XML_DECL_ENDING from this state.
            this.state = S_XML_DECL_ENDING;
            return;
        }
        if (c !== EOC) {
            this.state = S_XML_DECL_NAME;
            this.name = String.fromCodePoint(c);
        }
    }
    sXMLDeclName() {
        const c = this.captureTo(XML_DECL_NAME_TERMINATOR);
        // The question mark character is not valid inside any of the XML
        // declaration name/value pairs.
        if (c === QUESTION) {
            this.state = S_XML_DECL_ENDING;
            this.name += this.text;
            this.text = "";
            this.fail("XML declaration is incomplete.");
            return;
        }
        if (!(isS(c) || c === EQUAL)) {
            return;
        }
        this.name += this.text;
        this.text = "";
        if (!this.xmlDeclExpects.includes(this.name)) {
            switch (this.name.length) {
                case 0:
                    this.fail("did not expect any more name/value pairs.");
                    break;
                case 1:
                    this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);
                    break;
                default:
                    this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`);
            }
        }
        this.state = c === EQUAL ? S_XML_DECL_VALUE_START : S_XML_DECL_EQ;
    }
    sXMLDeclEq() {
        const c = this.getCodeNorm();
        // The question mark character is not valid inside any of the XML
        // declaration name/value pairs.
        if (c === QUESTION) {
            this.state = S_XML_DECL_ENDING;
            this.fail("XML declaration is incomplete.");
            return;
        }
        if (isS(c)) {
            return;
        }
        if (c !== EQUAL) {
            this.fail("value required.");
        }
        this.state = S_XML_DECL_VALUE_START;
    }
    sXMLDeclValueStart() {
        const c = this.getCodeNorm();
        // The question mark character is not valid inside any of the XML
        // declaration name/value pairs.
        if (c === QUESTION) {
            this.state = S_XML_DECL_ENDING;
            this.fail("XML declaration is incomplete.");
            return;
        }
        if (isS(c)) {
            return;
        }
        if (!isQuote(c)) {
            this.fail("value must be quoted.");
            this.q = SPACE;
        }
        else {
            this.q = c;
        }
        this.state = S_XML_DECL_VALUE;
    }
    sXMLDeclValue() {
        const c = this.captureTo([this.q, QUESTION]);
        // The question mark character is not valid inside any of the XML
        // declaration name/value pairs.
        if (c === QUESTION) {
            this.state = S_XML_DECL_ENDING;
            this.text = "";
            this.fail("XML declaration is incomplete.");
            return;
        }
        if (c === EOC) {
            return;
        }
        const value = this.text;
        this.text = "";
        switch (this.name) {
            case "version": {
                this.xmlDeclExpects = ["encoding", "standalone"];
                const version = value;
                this.xmlDecl.version = version;
                // This is the test specified by XML 1.0 but it is fine for XML 1.1.
                if (!/^1\.[0-9]+$/.test(version)) {
                    this.fail("version number must match /^1\\.[0-9]+$/.");
                }
                // When forceXMLVersion is set, the XML declaration is ignored.
                else if (!this.opt.forceXMLVersion) {
                    this.setXMLVersion(version);
                }
                break;
            }
            case "encoding":
                if (!/^[A-Za-z][A-Za-z0-9._-]*$/.test(value)) {
                    this.fail("encoding value must match \
/^[A-Za-z0-9][A-Za-z0-9._-]*$/.");
                }
                this.xmlDeclExpects = ["standalone"];
                this.xmlDecl.encoding = value;
                break;
            case "standalone":
                if (value !== "yes" && value !== "no") {
                    this.fail("standalone value must match \"yes\" or \"no\".");
                }
                this.xmlDeclExpects = [];
                this.xmlDecl.standalone = value;
                break;
            default:
            // We don't need to raise an error here since we've already raised one
            // when checking what name was expected.
        }
        this.name = "";
        this.state = S_XML_DECL_SEPARATOR;
    }
    sXMLDeclSeparator() {
        const c = this.getCodeNorm();
        // The question mark character is not valid inside any of the XML
        // declaration name/value pairs.
        if (c === QUESTION) {
            // It is valid to go to S_XML_DECL_ENDING from this state.
            this.state = S_XML_DECL_ENDING;
            return;
        }
        if (!isS(c)) {
            this.fail("whitespace required.");
            this.unget();
        }
        this.state = S_XML_DECL_NAME_START;
    }
    sXMLDeclEnding() {
        var _a;
        const c = this.getCodeNorm();
        if (c === GREATER) {
            if (this.piTarget !== "xml") {
                this.fail("processing instructions are not allowed before root.");
            }
            else if (this.name !== "version" &&
                this.xmlDeclExpects.includes("version")) {
                this.fail("XML declaration must contain a version.");
            }
            (_a = this.xmldeclHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.xmlDecl);
            this.name = "";
            this.piTarget = this.text = "";
            this.state = S_TEXT;
        }
        else {
            // We got here because the previous character was a ?, but the question
            // mark character is not valid inside any of the XML declaration
            // name/value pairs.
            this.fail("The character ? is disallowed anywhere in XML declarations.");
        }
        this.xmlDeclPossible = false;
    }
    sOpenTag() {
        var _a;
        const c = this.captureNameChars();
        if (c === EOC) {
            return;
        }
        const tag = this.tag = {
            name: this.name,
            attributes: Object.create(null),
        };
        this.name = "";
        if (this.xmlnsOpt) {
            this.topNS = tag.ns = Object.create(null);
        }
        (_a = this.openTagStartHandler) === null || _a === void 0 ? void 0 : _a.call(this, tag);
        this.sawRoot = true;
        if (!this.fragmentOpt && this.closedRoot) {
            this.fail("documents may contain only one root.");
        }
        switch (c) {
            case GREATER:
                this.openTag();
                break;
            case FORWARD_SLASH:
                this.state = S_OPEN_TAG_SLASH;
                break;
            default:
                if (!isS(c)) {
                    this.fail("disallowed character in tag name.");
                }
                this.state = S_ATTRIB;
        }
    }
    sOpenTagSlash() {
        if (this.getCode() === GREATER) {
            this.openSelfClosingTag();
        }
        else {
            this.fail("forward-slash in opening tag not followed by >.");
            this.state = S_ATTRIB;
        }
    }
    sAttrib() {
        const c = this.skipSpaces();
        if (c === EOC) {
            return;
        }
        if (isNameStartChar(c)) {
            this.unget();
            this.state = S_ATTRIB_NAME;
        }
        else if (c === GREATER) {
            this.openTag();
        }
        else if (c === FORWARD_SLASH) {
            this.state = S_OPEN_TAG_SLASH;
        }
        else {
            this.fail("disallowed character in attribute name.");
        }
    }
    sAttribName() {
        const c = this.captureNameChars();
        if (c === EQUAL) {
            this.state = S_ATTRIB_VALUE;
        }
        else if (isS(c)) {
            this.state = S_ATTRIB_NAME_SAW_WHITE;
        }
        else if (c === GREATER) {
            this.fail("attribute without value.");
            this.pushAttrib(this.name, this.name);
            this.name = this.text = "";
            this.openTag();
        }
        else if (c !== EOC) {
            this.fail("disallowed character in attribute name.");
        }
    }
    sAttribNameSawWhite() {
        const c = this.skipSpaces();
        switch (c) {
            case EOC:
                return;
            case EQUAL:
                this.state = S_ATTRIB_VALUE;
                break;
            default:
                this.fail("attribute without value.");
                // Should we do this???
                // this.tag.attributes[this.name] = "";
                this.text = "";
                this.name = "";
                if (c === GREATER) {
                    this.openTag();
                }
                else if (isNameStartChar(c)) {
                    this.unget();
                    this.state = S_ATTRIB_NAME;
                }
                else {
                    this.fail("disallowed character in attribute name.");
                    this.state = S_ATTRIB;
                }
        }
    }
    sAttribValue() {
        const c = this.getCodeNorm();
        if (isQuote(c)) {
            this.q = c;
            this.state = S_ATTRIB_VALUE_QUOTED;
        }
        else if (!isS(c)) {
            this.fail("unquoted attribute value.");
            this.state = S_ATTRIB_VALUE_UNQUOTED;
            this.unget();
        }
    }
    sAttribValueQuoted() {
        // We deliberately do not use captureTo here. The specialized code we use
        // here is faster than using captureTo.
        const { q, chunk } = this;
        let { i: start } = this;
        // eslint-disable-next-line no-constant-condition
        while (true) {
            switch (this.getCode()) {
                case q:
                    this.pushAttrib(this.name, this.text + chunk.slice(start, this.prevI));
                    this.name = this.text = "";
                    this.q = null;
                    this.state = S_ATTRIB_VALUE_CLOSED;
                    return;
                case AMP:
                    this.text += chunk.slice(start, this.prevI);
                    this.state = S_ENTITY;
                    this.entityReturnState = S_ATTRIB_VALUE_QUOTED;
                    return;
                case NL:
                case NL_LIKE:
                case TAB:
                    this.text += `${chunk.slice(start, this.prevI)} `;
                    start = this.i;
                    break;
                case LESS:
                    this.text += chunk.slice(start, this.prevI);
                    this.fail("disallowed character.");
                    return;
                case EOC:
                    this.text += chunk.slice(start);
                    return;
                default:
            }
        }
    }
    sAttribValueClosed() {
        const c = this.getCodeNorm();
        if (isS(c)) {
            this.state = S_ATTRIB;
        }
        else if (c === GREATER) {
            this.openTag();
        }
        else if (c === FORWARD_SLASH) {
            this.state = S_OPEN_TAG_SLASH;
        }
        else if (isNameStartChar(c)) {
            this.fail("no whitespace between attributes.");
            this.unget();
            this.state = S_ATTRIB_NAME;
        }
        else {
            this.fail("disallowed character in attribute name.");
        }
    }
    sAttribValueUnquoted() {
        // We don't do anything regarding EOL or space handling for unquoted
        // attributes. We already have failed by the time we get here, and the
        // contract that saxes upholds states that upon failure, it is not safe to
        // rely on the data passed to event handlers (other than
        // ``onerror``). Passing "bad" data is not a problem.
        const c = this.captureTo(ATTRIB_VALUE_UNQUOTED_TERMINATOR);
        switch (c) {
            case AMP:
                this.state = S_ENTITY;
                this.entityReturnState = S_ATTRIB_VALUE_UNQUOTED;
                break;
            case LESS:
                this.fail("disallowed character.");
                break;
            case EOC:
                break;
            default:
                if (this.text.includes("]]>")) {
                    this.fail("the string \"]]>\" is disallowed in char data.");
                }
                this.pushAttrib(this.name, this.text);
                this.name = this.text = "";
                if (c === GREATER) {
                    this.openTag();
                }
                else {
                    this.state = S_ATTRIB;
                }
        }
    }
    sCloseTag() {
        const c = this.captureNameChars();
        if (c === GREATER) {
            this.closeTag();
        }
        else if (isS(c)) {
            this.state = S_CLOSE_TAG_SAW_WHITE;
        }
        else if (c !== EOC) {
            this.fail("disallowed character in closing tag.");
        }
    }
    sCloseTagSawWhite() {
        switch (this.skipSpaces()) {
            case GREATER:
                this.closeTag();
                break;
            case EOC:
                break;
            default:
                this.fail("disallowed character in closing tag.");
        }
    }
    // END OF STATE ENGINE METHODS
    handleTextInRoot() {
        // This is essentially a specialized version of captureTo which is optimized
        // for performing the ]]> check. A previous version of this code, checked
        // ``this.text`` for the presence of ]]>. It simplified the code but was
        // very costly when character data contained a lot of entities to be parsed.
        //
        // Since we are using a specialized loop, we also keep track of the presence
        // of ]]> in text data. The sequence ]]> is forbidden to appear as-is.
        //
        let { i: start, forbiddenState } = this;
        const { chunk, textHandler: handler } = this;
        // eslint-disable-next-line no-labels, no-restricted-syntax
        scanLoop: 
        // eslint-disable-next-line no-constant-condition
        while (true) {
            switch (this.getCode()) {
                case LESS: {
                    this.state = S_OPEN_WAKA;
                    if (handler !== undefined) {
                        const { text } = this;
                        const slice = chunk.slice(start, this.prevI);
                        if (text.length !== 0) {
                            handler(text + slice);
                            this.text = "";
                        }
                        else if (slice.length !== 0) {
                            handler(slice);
                        }
                    }
                    forbiddenState = FORBIDDEN_START;
                    // eslint-disable-next-line no-labels
                    break scanLoop;
                }
                case AMP:
                    this.state = S_ENTITY;
                    this.entityReturnState = S_TEXT;
                    if (handler !== undefined) {
                        this.text += chunk.slice(start, this.prevI);
                    }
                    forbiddenState = FORBIDDEN_START;
                    // eslint-disable-next-line no-labels
                    break scanLoop;
                case CLOSE_BRACKET:
                    switch (forbiddenState) {
                        case FORBIDDEN_START:
                            forbiddenState = FORBIDDEN_BRACKET;
                            break;
                        case FORBIDDEN_BRACKET:
                            forbiddenState = FORBIDDEN_BRACKET_BRACKET;
                            break;
                        case FORBIDDEN_BRACKET_BRACKET:
                            break;
                        default:
                            throw new Error("impossible state");
                    }
                    break;
                case GREATER:
                    if (forbiddenState === FORBIDDEN_BRACKET_BRACKET) {
                        this.fail("the string \"]]>\" is disallowed in char data.");
                    }
                    forbiddenState = FORBIDDEN_START;
                    break;
                case NL_LIKE:
                    if (handler !== undefined) {
                        this.text += `${chunk.slice(start, this.prevI)}\n`;
                    }
                    start = this.i;
                    forbiddenState = FORBIDDEN_START;
                    break;
                case EOC:
                    if (handler !== undefined) {
                        this.text += chunk.slice(start);
                    }
                    // eslint-disable-next-line no-labels
                    break scanLoop;
                default:
                    forbiddenState = FORBIDDEN_START;
            }
        }
        this.forbiddenState = forbiddenState;
    }
    handleTextOutsideRoot() {
        // This is essentially a specialized version of captureTo which is optimized
        // for a specialized task. We keep track of the presence of non-space
        // characters in the text since these are errors when appearing outside the
        // document root element.
        let { i: start } = this;
        const { chunk, textHandler: handler } = this;
        let nonSpace = false;
        // eslint-disable-next-line no-labels, no-restricted-syntax
        outRootLoop: 
        // eslint-disable-next-line no-constant-condition
        while (true) {
            const code = this.getCode();
            switch (code) {
                case LESS: {
                    this.state = S_OPEN_WAKA;
                    if (handler !== undefined) {
                        const { text } = this;
                        const slice = chunk.slice(start, this.prevI);
                        if (text.length !== 0) {
                            handler(text + slice);
                            this.text = "";
                        }
                        else if (slice.length !== 0) {
                            handler(slice);
                        }
                    }
                    // eslint-disable-next-line no-labels
                    break outRootLoop;
                }
                case AMP:
                    this.state = S_ENTITY;
                    this.entityReturnState = S_TEXT;
                    if (handler !== undefined) {
                        this.text += chunk.slice(start, this.prevI);
                    }
                    nonSpace = true;
                    // eslint-disable-next-line no-labels
                    break outRootLoop;
                case NL_LIKE:
                    if (handler !== undefined) {
                        this.text += `${chunk.slice(start, this.prevI)}\n`;
                    }
                    start = this.i;
                    break;
                case EOC:
                    if (handler !== undefined) {
                        this.text += chunk.slice(start);
                    }
                    // eslint-disable-next-line no-labels
                    break outRootLoop;
                default:
                    if (!isS(code)) {
                        nonSpace = true;
                    }
            }
        }
        if (!nonSpace) {
            return;
        }
        // We use the reportedTextBeforeRoot and reportedTextAfterRoot flags
        // to avoid reporting errors for every single character that is out of
        // place.
        if (!this.sawRoot && !this.reportedTextBeforeRoot) {
            this.fail("text data outside of root node.");
            this.reportedTextBeforeRoot = true;
        }
        if (this.closedRoot && !this.reportedTextAfterRoot) {
            this.fail("text data outside of root node.");
            this.reportedTextAfterRoot = true;
        }
    }
    pushAttribNS(name, value) {
        var _a;
        const { prefix, local } = this.qname(name);
        const attr = { name, prefix, local, value };
        this.attribList.push(attr);
        (_a = this.attributeHandler) === null || _a === void 0 ? void 0 : _a.call(this, attr);
        if (prefix === "xmlns") {
            const trimmed = value.trim();
            if (this.currentXMLVersion === "1.0" && trimmed === "") {
                this.fail("invalid attempt to undefine prefix in XML 1.0");
            }
            this.topNS[local] = trimmed;
            nsPairCheck(this, local, trimmed);
        }
        else if (name === "xmlns") {
            const trimmed = value.trim();
            this.topNS[""] = trimmed;
            nsPairCheck(this, "", trimmed);
        }
    }
    pushAttribPlain(name, value) {
        var _a;
        const attr = { name, value };
        this.attribList.push(attr);
        (_a = this.attributeHandler) === null || _a === void 0 ? void 0 : _a.call(this, attr);
    }
    /**
     * End parsing. This performs final well-formedness checks and resets the
     * parser to a clean state.
     *
     * @returns this
     */
    end() {
        var _a, _b;
        if (!this.sawRoot) {
            this.fail("document must contain a root element.");
        }
        const { tags } = this;
        while (tags.length > 0) {
            const tag = tags.pop();
            this.fail(`unclosed tag: ${tag.name}`);
        }
        if ((this.state !== S_BEGIN) && (this.state !== S_TEXT)) {
            this.fail("unexpected end.");
        }
        const { text } = this;
        if (text.length !== 0) {
            (_a = this.textHandler) === null || _a === void 0 ? void 0 : _a.call(this, text);
            this.text = "";
        }
        this._closed = true;
        (_b = this.endHandler) === null || _b === void 0 ? void 0 : _b.call(this);
        this._init();
        return this;
    }
    /**
     * Resolve a namespace prefix.
     *
     * @param prefix The prefix to resolve.
     *
     * @returns The namespace URI or ``undefined`` if the prefix is not defined.
     */
    resolve(prefix) {
        var _a, _b;
        let uri = this.topNS[prefix];
        if (uri !== undefined) {
            return uri;
        }
        const { tags } = this;
        for (let index = tags.length - 1; index >= 0; index--) {
            uri = tags[index].ns[prefix];
            if (uri !== undefined) {
                return uri;
            }
        }
        uri = this.ns[prefix];
        if (uri !== undefined) {
            return uri;
        }
        return (_b = (_a = this.opt).resolvePrefix) === null || _b === void 0 ? void 0 : _b.call(_a, prefix);
    }
    /**
     * Parse a qname into its prefix and local name parts.
     *
     * @param name The name to parse
     *
     * @returns
     */
    qname(name) {
        // This is faster than using name.split(":").
        const colon = name.indexOf(":");
        if (colon === -1) {
            return { prefix: "", local: name };
        }
        const local = name.slice(colon + 1);
        const prefix = name.slice(0, colon);
        if (prefix === "" || local === "" || local.includes(":")) {
            this.fail(`malformed name: ${name}.`);
        }
        return { prefix, local };
    }
    processAttribsNS() {
        var _a;
        const { attribList } = this;
        const tag = this.tag;
        {
            // add namespace info to tag
            const { prefix, local } = this.qname(tag.name);
            tag.prefix = prefix;
            tag.local = local;
            const uri = tag.uri = (_a = this.resolve(prefix)) !== null && _a !== void 0 ? _a : "";
            if (prefix !== "") {
                if (prefix === "xmlns") {
                    this.fail("tags may not have \"xmlns\" as prefix.");
                }
                if (uri === "") {
                    this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`);
                    tag.uri = prefix;
                }
            }
        }
        if (attribList.length === 0) {
            return;
        }
        const { attributes } = tag;
        const seen = new Set();
        // Note: do not apply default ns to attributes:
        //   http://www.w3.org/TR/REC-xml-names/#defaulting
        for (const attr of attribList) {
            const { name, prefix, local } = attr;
            let uri;
            let eqname;
            if (prefix === "") {
                uri = name === "xmlns" ? XMLNS_NAMESPACE : "";
                eqname = name;
            }
            else {
                uri = this.resolve(prefix);
                // if there's any attributes with an undefined namespace,
                // then fail on them now.
                if (uri === undefined) {
                    this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`);
                    uri = prefix;
                }
                eqname = `{${uri}}${local}`;
            }
            if (seen.has(eqname)) {
                this.fail(`duplicate attribute: ${eqname}.`);
            }
            seen.add(eqname);
            attr.uri = uri;
            attributes[name] = attr;
        }
        this.attribList = [];
    }
    processAttribsPlain() {
        const { attribList } = this;
        // eslint-disable-next-line prefer-destructuring
        const attributes = this.tag.attributes;
        for (const { name, value } of attribList) {
            if (attributes[name] !== undefined) {
                this.fail(`duplicate attribute: ${name}.`);
            }
            attributes[name] = value;
        }
        this.attribList = [];
    }
    /**
     * Handle a complete open tag. This parser code calls this once it has seen
     * the whole tag. This method checks for well-formeness and then emits
     * ``onopentag``.
     */
    openTag() {
        var _a;
        this.processAttribs();
        const { tags } = this;
        const tag = this.tag;
        tag.isSelfClosing = false;
        // There cannot be any pending text here due to the onopentagstart that was
        // necessarily emitted before we get here. So we do not check text.
        (_a = this.openTagHandler) === null || _a === void 0 ? void 0 : _a.call(this, tag);
        tags.push(tag);
        this.state = S_TEXT;
        this.name = "";
    }
    /**
     * Handle a complete self-closing tag. This parser code calls this once it has
     * seen the whole tag. This method checks for well-formeness and then emits
     * ``onopentag`` and ``onclosetag``.
     */
    openSelfClosingTag() {
        var _a, _b, _c;
        this.processAttribs();
        const { tags } = this;
        const tag = this.tag;
        tag.isSelfClosing = true;
        // There cannot be any pending text here due to the onopentagstart that was
        // necessarily emitted before we get here. So we do not check text.
        (_a = this.openTagHandler) === null || _a === void 0 ? void 0 : _a.call(this, tag);
        (_b = this.closeTagHandler) === null || _b === void 0 ? void 0 : _b.call(this, tag);
        const top = this.tag = (_c = tags[tags.length - 1]) !== null && _c !== void 0 ? _c : null;
        if (top === null) {
            this.closedRoot = true;
        }
        this.state = S_TEXT;
        this.name = "";
    }
    /**
     * Handle a complete close tag. This parser code calls this once it has seen
     * the whole tag. This method checks for well-formeness and then emits
     * ``onclosetag``.
     */
    closeTag() {
        const { tags, name } = this;
        // Our state after this will be S_TEXT, no matter what, and we can clear
        // tagName now.
        this.state = S_TEXT;
        this.name = "";
        if (name === "") {
            this.fail("weird empty close tag.");
            this.text += "</>";
            return;
        }
        const handler = this.closeTagHandler;
        let l = tags.length;
        while (l-- > 0) {
            const tag = this.tag = tags.pop();
            this.topNS = tag.ns;
            handler === null || handler === void 0 ? void 0 : handler(tag);
            if (tag.name === name) {
                break;
            }
            this.fail("unexpected close tag.");
        }
        if (l === 0) {
            this.closedRoot = true;
        }
        else if (l < 0) {
            this.fail(`unmatched closing tag: ${name}.`);
            this.text += `</${name}>`;
        }
    }
    /**
     * Resolves an entity. Makes any necessary well-formedness checks.
     *
     * @param entity The entity to resolve.
     *
     * @returns The parsed entity.
     */
    parseEntity(entity) {
        // startsWith would be significantly slower for this test.
        if (entity[0] !== "#") {
            const defined = this.ENTITIES[entity];
            if (defined !== undefined) {
                return defined;
            }
            this.fail(this.isName(entity) ? "undefined entity." :
                "disallowed character in entity name.");
            return `&${entity};`;
        }
        let num = NaN;
        if (entity[1] === "x" && /^#x[0-9a-f]+$/i.test(entity)) {
            num = parseInt(entity.slice(2), 16);
        }
        else if (/^#[0-9]+$/.test(entity)) {
            num = parseInt(entity.slice(1), 10);
        }
        // The character reference is required to match the CHAR production.
        if (!this.isChar(num)) {
            this.fail("malformed character entity.");
            return `&${entity};`;
        }
        return String.fromCodePoint(num);
    }
}
exports.SaxesParser = SaxesParser;
//# sourceMappingURL=saxes.js.map

/***/ },

/***/ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/conventions.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/conventions.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";


/**
 * Ponyfill for `Array.prototype.find` which is only available in ES6 runtimes.
 *
 * Works with anything that has a `length` property and index access properties, including NodeList.
 *
 * @template {unknown} T
 * @param {Array<T> | ({length:number, [number]: T})} list
 * @param {function (item: T, index: number, list:Array<T> | ({length:number, [number]: T})):boolean} predicate
 * @param {Partial<Pick<ArrayConstructor['prototype'], 'find'>>?} ac `Array.prototype` by default,
 * 				allows injecting a custom implementation in tests
 * @returns {T | undefined}
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
 * @see https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.find
 */
function find(list, predicate, ac) {
	if (ac === undefined) {
		ac = Array.prototype;
	}
	if (list && typeof ac.find === 'function') {
		return ac.find.call(list, predicate);
	}
	for (var i = 0; i < list.length; i++) {
		if (Object.prototype.hasOwnProperty.call(list, i)) {
			var item = list[i];
			if (predicate.call(undefined, item, i, list)) {
				return item;
			}
		}
	}
}

/**
 * "Shallow freezes" an object to render it immutable.
 * Uses `Object.freeze` if available,
 * otherwise the immutability is only in the type.
 *
 * Is used to create "enum like" objects.
 *
 * @template T
 * @param {T} object the object to freeze
 * @param {Pick<ObjectConstructor, 'freeze'> = Object} oc `Object` by default,
 * 				allows to inject custom object constructor for tests
 * @returns {Readonly<T>}
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze
 */
function freeze(object, oc) {
	if (oc === undefined) {
		oc = Object
	}
	return oc && typeof oc.freeze === 'function' ? oc.freeze(object) : object
}

/**
 * Since we can not rely on `Object.assign` we provide a simplified version
 * that is sufficient for our needs.
 *
 * @param {Object} target
 * @param {Object | null | undefined} source
 *
 * @returns {Object} target
 * @throws TypeError if target is not an object
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
 * @see https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-object.assign
 */
function assign(target, source) {
	if (target === null || typeof target !== 'object') {
		throw new TypeError('target is not an object')
	}
	for (var key in source) {
		if (Object.prototype.hasOwnProperty.call(source, key)) {
			target[key] = source[key]
		}
	}
	return target
}

/**
 * All mime types that are allowed as input to `DOMParser.parseFromString`
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#Argument02 MDN
 * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparsersupportedtype WHATWG HTML Spec
 * @see DOMParser.prototype.parseFromString
 */
var MIME_TYPE = freeze({
	/**
	 * `text/html`, the only mime type that triggers treating an XML document as HTML.
	 *
	 * @see DOMParser.SupportedType.isHTML
	 * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration
	 * @see https://en.wikipedia.org/wiki/HTML Wikipedia
	 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN
	 * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec
	 */
	HTML: 'text/html',

	/**
	 * Helper method to check a mime type if it indicates an HTML document
	 *
	 * @param {string} [value]
	 * @returns {boolean}
	 *
	 * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration
	 * @see https://en.wikipedia.org/wiki/HTML Wikipedia
	 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN
	 * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring 	 */
	isHTML: function (value) {
		return value === MIME_TYPE.HTML
	},

	/**
	 * `application/xml`, the standard mime type for XML documents.
	 *
	 * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration
	 * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303
	 * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia
	 */
	XML_APPLICATION: 'application/xml',

	/**
	 * `text/html`, an alias for `application/xml`.
	 *
	 * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303
	 * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration
	 * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia
	 */
	XML_TEXT: 'text/xml',

	/**
	 * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,
	 * but is parsed as an XML document.
	 *
	 * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration
	 * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec
	 * @see https://en.wikipedia.org/wiki/XHTML Wikipedia
	 */
	XML_XHTML_APPLICATION: 'application/xhtml+xml',

	/**
	 * `image/svg+xml`,
	 *
	 * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration
	 * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1
	 * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia
	 */
	XML_SVG_IMAGE: 'image/svg+xml',
})

/**
 * Namespaces that are used in this code base.
 *
 * @see http://www.w3.org/TR/REC-xml-names
 */
var NAMESPACE = freeze({
	/**
	 * The XHTML namespace.
	 *
	 * @see http://www.w3.org/1999/xhtml
	 */
	HTML: 'http://www.w3.org/1999/xhtml',

	/**
	 * Checks if `uri` equals `NAMESPACE.HTML`.
	 *
	 * @param {string} [uri]
	 *
	 * @see NAMESPACE.HTML
	 */
	isHTML: function (uri) {
		return uri === NAMESPACE.HTML
	},

	/**
	 * The SVG namespace.
	 *
	 * @see http://www.w3.org/2000/svg
	 */
	SVG: 'http://www.w3.org/2000/svg',

	/**
	 * The `xml:` namespace.
	 *
	 * @see http://www.w3.org/XML/1998/namespace
	 */
	XML: 'http://www.w3.org/XML/1998/namespace',

	/**
	 * The `xmlns:` namespace
	 *
	 * @see https://www.w3.org/2000/xmlns/
	 */
	XMLNS: 'http://www.w3.org/2000/xmlns/',
})

exports.assign = assign;
exports.find = find;
exports.freeze = freeze;
exports.MIME_TYPE = MIME_TYPE;
exports.NAMESPACE = NAMESPACE;


/***/ },

/***/ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/dom-parser.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/dom-parser.js ***!
  \************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

var conventions = __webpack_require__(/*! ./conventions */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/conventions.js");
var dom = __webpack_require__(/*! ./dom */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/dom.js")
var entities = __webpack_require__(/*! ./entities */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/entities.js");
var sax = __webpack_require__(/*! ./sax */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/sax.js");

var DOMImplementation = dom.DOMImplementation;

var NAMESPACE = conventions.NAMESPACE;

var ParseError = sax.ParseError;
var XMLReader = sax.XMLReader;

/**
 * Normalizes line ending according to https://www.w3.org/TR/xml11/#sec-line-ends:
 *
 * > XML parsed entities are often stored in computer files which,
 * > for editing convenience, are organized into lines.
 * > These lines are typically separated by some combination
 * > of the characters CARRIAGE RETURN (#xD) and LINE FEED (#xA).
 * >
 * > To simplify the tasks of applications, the XML processor must behave
 * > as if it normalized all line breaks in external parsed entities (including the document entity)
 * > on input, before parsing, by translating all of the following to a single #xA character:
 * >
 * > 1. the two-character sequence #xD #xA
 * > 2. the two-character sequence #xD #x85
 * > 3. the single character #x85
 * > 4. the single character #x2028
 * > 5. any #xD character that is not immediately followed by #xA or #x85.
 *
 * @param {string} input
 * @returns {string}
 */
function normalizeLineEndings(input) {
	return input
		.replace(/\r[\n\u0085]/g, '\n')
		.replace(/[\r\u0085\u2028]/g, '\n')
}

/**
 * @typedef Locator
 * @property {number} [columnNumber]
 * @property {number} [lineNumber]
 */

/**
 * @typedef DOMParserOptions
 * @property {DOMHandler} [domBuilder]
 * @property {Function} [errorHandler]
 * @property {(string) => string} [normalizeLineEndings] used to replace line endings before parsing
 * 						defaults to `normalizeLineEndings`
 * @property {Locator} [locator]
 * @property {Record<string, string>} [xmlns]
 *
 * @see normalizeLineEndings
 */

/**
 * The DOMParser interface provides the ability to parse XML or HTML source code
 * from a string into a DOM `Document`.
 *
 * _xmldom is different from the spec in that it allows an `options` parameter,
 * to override the default behavior._
 *
 * @param {DOMParserOptions} [options]
 * @constructor
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser
 * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization
 */
function DOMParser(options){
	this.options = options ||{locator:{}};
}

DOMParser.prototype.parseFromString = function(source,mimeType){
	var options = this.options;
	var sax =  new XMLReader();
	var domBuilder = options.domBuilder || new DOMHandler();//contentHandler and LexicalHandler
	var errorHandler = options.errorHandler;
	var locator = options.locator;
	var defaultNSMap = options.xmlns||{};
	var isHTML = /\/x?html?$/.test(mimeType);//mimeType.toLowerCase().indexOf('html') > -1;
  	var entityMap = isHTML ? entities.HTML_ENTITIES : entities.XML_ENTITIES;
	if(locator){
		domBuilder.setDocumentLocator(locator)
	}

	sax.errorHandler = buildErrorHandler(errorHandler,domBuilder,locator);
	sax.domBuilder = options.domBuilder || domBuilder;
	if(isHTML){
		defaultNSMap[''] = NAMESPACE.HTML;
	}
	defaultNSMap.xml = defaultNSMap.xml || NAMESPACE.XML;
	var normalize = options.normalizeLineEndings || normalizeLineEndings;
	if (source && typeof source === 'string') {
		sax.parse(
			normalize(source),
			defaultNSMap,
			entityMap
		)
	} else {
		sax.errorHandler.error('invalid doc source')
	}
	return domBuilder.doc;
}
function buildErrorHandler(errorImpl,domBuilder,locator){
	if(!errorImpl){
		if(domBuilder instanceof DOMHandler){
			return domBuilder;
		}
		errorImpl = domBuilder ;
	}
	var errorHandler = {}
	var isCallback = errorImpl instanceof Function;
	locator = locator||{}
	function build(key){
		var fn = errorImpl[key];
		if(!fn && isCallback){
			fn = errorImpl.length == 2?function(msg){errorImpl(key,msg)}:errorImpl;
		}
		errorHandler[key] = fn && function(msg){
			fn('[xmldom '+key+']\t'+msg+_locator(locator));
		}||function(){};
	}
	build('warning');
	build('error');
	build('fatalError');
	return errorHandler;
}

//console.log('#\n\n\n\n\n\n\n####')
/**
 * +ContentHandler+ErrorHandler
 * +LexicalHandler+EntityResolver2
 * -DeclHandler-DTDHandler
 *
 * DefaultHandler:EntityResolver, DTDHandler, ContentHandler, ErrorHandler
 * DefaultHandler2:DefaultHandler,LexicalHandler, DeclHandler, EntityResolver2
 * @link http://www.saxproject.org/apidoc/org/xml/sax/helpers/DefaultHandler.html
 */
function DOMHandler() {
    this.cdata = false;
}
function position(locator,node){
	node.lineNumber = locator.lineNumber;
	node.columnNumber = locator.columnNumber;
}
/**
 * @see org.xml.sax.ContentHandler#startDocument
 * @link http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html
 */
DOMHandler.prototype = {
	startDocument : function() {
    	this.doc = new DOMImplementation().createDocument(null, null, null);
    	if (this.locator) {
        	this.doc.documentURI = this.locator.systemId;
    	}
	},
	startElement:function(namespaceURI, localName, qName, attrs) {
		var doc = this.doc;
	    var el = doc.createElementNS(namespaceURI, qName||localName);
	    var len = attrs.length;
	    appendElement(this, el);
	    this.currentElement = el;

		this.locator && position(this.locator,el)
	    for (var i = 0 ; i < len; i++) {
	        var namespaceURI = attrs.getURI(i);
	        var value = attrs.getValue(i);
	        var qName = attrs.getQName(i);
			var attr = doc.createAttributeNS(namespaceURI, qName);
			this.locator &&position(attrs.getLocator(i),attr);
			attr.value = attr.nodeValue = value;
			el.setAttributeNode(attr)
	    }
	},
	endElement:function(namespaceURI, localName, qName) {
		var current = this.currentElement
		var tagName = current.tagName;
		this.currentElement = current.parentNode;
	},
	startPrefixMapping:function(prefix, uri) {
	},
	endPrefixMapping:function(prefix) {
	},
	processingInstruction:function(target, data) {
	    var ins = this.doc.createProcessingInstruction(target, data);
	    this.locator && position(this.locator,ins)
	    appendElement(this, ins);
	},
	ignorableWhitespace:function(ch, start, length) {
	},
	characters:function(chars, start, length) {
		chars = _toString.apply(this,arguments)
		//console.log(chars)
		if(chars){
			if (this.cdata) {
				var charNode = this.doc.createCDATASection(chars);
			} else {
				var charNode = this.doc.createTextNode(chars);
			}
			if(this.currentElement){
				this.currentElement.appendChild(charNode);
			}else if(/^\s*$/.test(chars)){
				this.doc.appendChild(charNode);
				//process xml
			}
			this.locator && position(this.locator,charNode)
		}
	},
	skippedEntity:function(name) {
	},
	endDocument:function() {
		this.doc.normalize();
	},
	setDocumentLocator:function (locator) {
	    if(this.locator = locator){// && !('lineNumber' in locator)){
	    	locator.lineNumber = 0;
	    }
	},
	//LexicalHandler
	comment:function(chars, start, length) {
		chars = _toString.apply(this,arguments)
	    var comm = this.doc.createComment(chars);
	    this.locator && position(this.locator,comm)
	    appendElement(this, comm);
	},

	startCDATA:function() {
	    //used in characters() methods
	    this.cdata = true;
	},
	endCDATA:function() {
	    this.cdata = false;
	},

	startDTD:function(name, publicId, systemId) {
		var impl = this.doc.implementation;
	    if (impl && impl.createDocumentType) {
	        var dt = impl.createDocumentType(name, publicId, systemId);
	        this.locator && position(this.locator,dt)
	        appendElement(this, dt);
					this.doc.doctype = dt;
	    }
	},
	/**
	 * @see org.xml.sax.ErrorHandler
	 * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html
	 */
	warning:function(error) {
		console.warn('[xmldom warning]\t'+error,_locator(this.locator));
	},
	error:function(error) {
		console.error('[xmldom error]\t'+error,_locator(this.locator));
	},
	fatalError:function(error) {
		throw new ParseError(error, this.locator);
	}
}
function _locator(l){
	if(l){
		return '\n@'+(l.systemId ||'')+'#[line:'+l.lineNumber+',col:'+l.columnNumber+']'
	}
}
function _toString(chars,start,length){
	if(typeof chars == 'string'){
		return chars.substr(start,length)
	}else{//java sax connect width xmldom on rhino(what about: "? && !(chars instanceof String)")
		if(chars.length >= start+length || start){
			return new java.lang.String(chars,start,length)+'';
		}
		return chars;
	}
}

/*
 * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/LexicalHandler.html
 * used method of org.xml.sax.ext.LexicalHandler:
 *  #comment(chars, start, length)
 *  #startCDATA()
 *  #endCDATA()
 *  #startDTD(name, publicId, systemId)
 *
 *
 * IGNORED method of org.xml.sax.ext.LexicalHandler:
 *  #endDTD()
 *  #startEntity(name)
 *  #endEntity(name)
 *
 *
 * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/DeclHandler.html
 * IGNORED method of org.xml.sax.ext.DeclHandler
 * 	#attributeDecl(eName, aName, type, mode, value)
 *  #elementDecl(name, model)
 *  #externalEntityDecl(name, publicId, systemId)
 *  #internalEntityDecl(name, value)
 * @link http://www.saxproject.org/apidoc/org/xml/sax/ext/EntityResolver2.html
 * IGNORED method of org.xml.sax.EntityResolver2
 *  #resolveEntity(String name,String publicId,String baseURI,String systemId)
 *  #resolveEntity(publicId, systemId)
 *  #getExternalSubset(name, baseURI)
 * @link http://www.saxproject.org/apidoc/org/xml/sax/DTDHandler.html
 * IGNORED method of org.xml.sax.DTDHandler
 *  #notationDecl(name, publicId, systemId) {};
 *  #unparsedEntityDecl(name, publicId, systemId, notationName) {};
 */
"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(key){
	DOMHandler.prototype[key] = function(){return null}
})

/* Private static helpers treated below as private instance methods, so don't need to add these to the public API; we might use a Relator to also get rid of non-standard public properties */
function appendElement (hander,node) {
    if (!hander.currentElement) {
        hander.doc.appendChild(node);
    } else {
        hander.currentElement.appendChild(node);
    }
}//appendChild and setAttributeNS are preformance key

exports.__DOMHandler = DOMHandler;
exports.normalizeLineEndings = normalizeLineEndings;
exports.DOMParser = DOMParser;


/***/ },

/***/ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/dom.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/dom.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

var conventions = __webpack_require__(/*! ./conventions */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/conventions.js");

var find = conventions.find;
var NAMESPACE = conventions.NAMESPACE;

/**
 * A prerequisite for `[].filter`, to drop elements that are empty
 * @param {string} input
 * @returns {boolean}
 */
function notEmptyString (input) {
	return input !== ''
}
/**
 * @see https://infra.spec.whatwg.org/#split-on-ascii-whitespace
 * @see https://infra.spec.whatwg.org/#ascii-whitespace
 *
 * @param {string} input
 * @returns {string[]} (can be empty)
 */
function splitOnASCIIWhitespace(input) {
	// U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, U+0020 SPACE
	return input ? input.split(/[\t\n\f\r ]+/).filter(notEmptyString) : []
}

/**
 * Adds element as a key to current if it is not already present.
 *
 * @param {Record<string, boolean | undefined>} current
 * @param {string} element
 * @returns {Record<string, boolean | undefined>}
 */
function orderedSetReducer (current, element) {
	if (!current.hasOwnProperty(element)) {
		current[element] = true;
	}
	return current;
}

/**
 * @see https://infra.spec.whatwg.org/#ordered-set
 * @param {string} input
 * @returns {string[]}
 */
function toOrderedSet(input) {
	if (!input) return [];
	var list = splitOnASCIIWhitespace(input);
	return Object.keys(list.reduce(orderedSetReducer, {}))
}

/**
 * Uses `list.indexOf` to implement something like `Array.prototype.includes`,
 * which we can not rely on being available.
 *
 * @param {any[]} list
 * @returns {function(any): boolean}
 */
function arrayIncludes (list) {
	return function(element) {
		return list && list.indexOf(element) !== -1;
	}
}

function copy(src,dest){
	for(var p in src){
		if (Object.prototype.hasOwnProperty.call(src, p)) {
			dest[p] = src[p];
		}
	}
}

/**
^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));?
^\w+\.prototype\.([_\w]+)\s*=\s*(\S.*?(?=[;\r\n]));?
 */
function _extends(Class,Super){
	var pt = Class.prototype;
	if(!(pt instanceof Super)){
		function t(){};
		t.prototype = Super.prototype;
		t = new t();
		copy(pt,t);
		Class.prototype = pt = t;
	}
	if(pt.constructor != Class){
		if(typeof Class != 'function'){
			console.error("unknown Class:"+Class)
		}
		pt.constructor = Class
	}
}

// Node Types
var NodeType = {}
var ELEMENT_NODE                = NodeType.ELEMENT_NODE                = 1;
var ATTRIBUTE_NODE              = NodeType.ATTRIBUTE_NODE              = 2;
var TEXT_NODE                   = NodeType.TEXT_NODE                   = 3;
var CDATA_SECTION_NODE          = NodeType.CDATA_SECTION_NODE          = 4;
var ENTITY_REFERENCE_NODE       = NodeType.ENTITY_REFERENCE_NODE       = 5;
var ENTITY_NODE                 = NodeType.ENTITY_NODE                 = 6;
var PROCESSING_INSTRUCTION_NODE = NodeType.PROCESSING_INSTRUCTION_NODE = 7;
var COMMENT_NODE                = NodeType.COMMENT_NODE                = 8;
var DOCUMENT_NODE               = NodeType.DOCUMENT_NODE               = 9;
var DOCUMENT_TYPE_NODE          = NodeType.DOCUMENT_TYPE_NODE          = 10;
var DOCUMENT_FRAGMENT_NODE      = NodeType.DOCUMENT_FRAGMENT_NODE      = 11;
var NOTATION_NODE               = NodeType.NOTATION_NODE               = 12;

// ExceptionCode
var ExceptionCode = {}
var ExceptionMessage = {};
var INDEX_SIZE_ERR              = ExceptionCode.INDEX_SIZE_ERR              = ((ExceptionMessage[1]="Index size error"),1);
var DOMSTRING_SIZE_ERR          = ExceptionCode.DOMSTRING_SIZE_ERR          = ((ExceptionMessage[2]="DOMString size error"),2);
var HIERARCHY_REQUEST_ERR       = ExceptionCode.HIERARCHY_REQUEST_ERR       = ((ExceptionMessage[3]="Hierarchy request error"),3);
var WRONG_DOCUMENT_ERR          = ExceptionCode.WRONG_DOCUMENT_ERR          = ((ExceptionMessage[4]="Wrong document"),4);
var INVALID_CHARACTER_ERR       = ExceptionCode.INVALID_CHARACTER_ERR       = ((ExceptionMessage[5]="Invalid character"),5);
var NO_DATA_ALLOWED_ERR         = ExceptionCode.NO_DATA_ALLOWED_ERR         = ((ExceptionMessage[6]="No data allowed"),6);
var NO_MODIFICATION_ALLOWED_ERR = ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ((ExceptionMessage[7]="No modification allowed"),7);
var NOT_FOUND_ERR               = ExceptionCode.NOT_FOUND_ERR               = ((ExceptionMessage[8]="Not found"),8);
var NOT_SUPPORTED_ERR           = ExceptionCode.NOT_SUPPORTED_ERR           = ((ExceptionMessage[9]="Not supported"),9);
var INUSE_ATTRIBUTE_ERR         = ExceptionCode.INUSE_ATTRIBUTE_ERR         = ((ExceptionMessage[10]="Attribute in use"),10);
//level2
var INVALID_STATE_ERR        	= ExceptionCode.INVALID_STATE_ERR        	= ((ExceptionMessage[11]="Invalid state"),11);
var SYNTAX_ERR               	= ExceptionCode.SYNTAX_ERR               	= ((ExceptionMessage[12]="Syntax error"),12);
var INVALID_MODIFICATION_ERR 	= ExceptionCode.INVALID_MODIFICATION_ERR 	= ((ExceptionMessage[13]="Invalid modification"),13);
var NAMESPACE_ERR            	= ExceptionCode.NAMESPACE_ERR           	= ((ExceptionMessage[14]="Invalid namespace"),14);
var INVALID_ACCESS_ERR       	= ExceptionCode.INVALID_ACCESS_ERR      	= ((ExceptionMessage[15]="Invalid access"),15);

/**
 * DOM Level 2
 * Object DOMException
 * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html
 * @see http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html
 */
function DOMException(code, message) {
	if(message instanceof Error){
		var error = message;
	}else{
		error = this;
		Error.call(this, ExceptionMessage[code]);
		this.message = ExceptionMessage[code];
		if(Error.captureStackTrace) Error.captureStackTrace(this, DOMException);
	}
	error.code = code;
	if(message) this.message = this.message + ": " + message;
	return error;
};
DOMException.prototype = Error.prototype;
copy(ExceptionCode,DOMException)

/**
 * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177
 * The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.
 * The items in the NodeList are accessible via an integral index, starting from 0.
 */
function NodeList() {
};
NodeList.prototype = {
	/**
	 * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
	 * @standard level1
	 */
	length:0,
	/**
	 * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
	 * @standard level1
	 * @param index  unsigned long
	 *   Index into the collection.
	 * @return Node
	 * 	The node at the indexth position in the NodeList, or null if that is not a valid index.
	 */
	item: function(index) {
		return index >= 0 && index < this.length ? this[index] : null;
	},
	toString:function(isHTML,nodeFilter,options){
		var requireWellFormed = !!options && !!options.requireWellFormed;
		for(var buf = [], i = 0;i<this.length;i++){
			serializeToString(this[i],buf,isHTML,nodeFilter,null,requireWellFormed);
		}
		return buf.join('');
	},
	/**
	 * @private
	 * @param {function (Node):boolean} predicate
	 * @returns {Node[]}
	 */
	filter: function (predicate) {
		return Array.prototype.filter.call(this, predicate);
	},
	/**
	 * @private
	 * @param {Node} item
	 * @returns {number}
	 */
	indexOf: function (item) {
		return Array.prototype.indexOf.call(this, item);
	},
};

function LiveNodeList(node,refresh){
	this._node = node;
	this._refresh = refresh
	_updateLiveList(this);
}
function _updateLiveList(list){
	var inc = list._node._inc || list._node.ownerDocument._inc;
	if (list._inc !== inc) {
		var ls = list._refresh(list._node);
		__set__(list,'length',ls.length);
		if (!list.$$length || ls.length < list.$$length) {
			for (var i = ls.length; i in list; i++) {
				if (Object.prototype.hasOwnProperty.call(list, i)) {
					delete list[i];
				}
			}
		}
		copy(ls,list);
		list._inc = inc;
	}
}
LiveNodeList.prototype.item = function(i){
	_updateLiveList(this);
	return this[i] || null;
}

_extends(LiveNodeList,NodeList);

/**
 * Objects implementing the NamedNodeMap interface are used
 * to represent collections of nodes that can be accessed by name.
 * Note that NamedNodeMap does not inherit from NodeList;
 * NamedNodeMaps are not maintained in any particular order.
 * Objects contained in an object implementing NamedNodeMap may also be accessed by an ordinal index,
 * but this is simply to allow convenient enumeration of the contents of a NamedNodeMap,
 * and does not imply that the DOM specifies an order to these Nodes.
 * NamedNodeMap objects in the DOM are live.
 * used for attributes or DocumentType entities
 */
function NamedNodeMap() {
};

function _findNodeIndex(list,node){
	var i = list.length;
	while(i--){
		if(list[i] === node){return i}
	}
}

function _addNamedNode(el,list,newAttr,oldAttr){
	if(oldAttr){
		list[_findNodeIndex(list,oldAttr)] = newAttr;
	}else{
		list[list.length++] = newAttr;
	}
	if(el){
		newAttr.ownerElement = el;
		var doc = el.ownerDocument;
		if(doc){
			oldAttr && _onRemoveAttribute(doc,el,oldAttr);
			_onAddAttribute(doc,el,newAttr);
		}
	}
}
function _removeNamedNode(el,list,attr){
	//console.log('remove attr:'+attr)
	var i = _findNodeIndex(list,attr);
	if(i>=0){
		var lastIndex = list.length-1
		while(i<lastIndex){
			list[i] = list[++i]
		}
		list.length = lastIndex;
		if(el){
			var doc = el.ownerDocument;
			if(doc){
				_onRemoveAttribute(doc,el,attr);
				attr.ownerElement = null;
			}
		}
	}else{
		throw new DOMException(NOT_FOUND_ERR,new Error(el.tagName+'@'+attr))
	}
}
NamedNodeMap.prototype = {
	length:0,
	item:NodeList.prototype.item,
	getNamedItem: function(key) {
//		if(key.indexOf(':')>0 || key == 'xmlns'){
//			return null;
//		}
		//console.log()
		var i = this.length;
		while(i--){
			var attr = this[i];
			//console.log(attr.nodeName,key)
			if(attr.nodeName == key){
				return attr;
			}
		}
	},
	setNamedItem: function(attr) {
		var el = attr.ownerElement;
		if(el && el!=this._ownerElement){
			throw new DOMException(INUSE_ATTRIBUTE_ERR);
		}
		var oldAttr = this.getNamedItem(attr.nodeName);
		_addNamedNode(this._ownerElement,this,attr,oldAttr);
		return oldAttr;
	},
	/* returns Node */
	setNamedItemNS: function(attr) {// raises: WRONG_DOCUMENT_ERR,NO_MODIFICATION_ALLOWED_ERR,INUSE_ATTRIBUTE_ERR
		var el = attr.ownerElement, oldAttr;
		if(el && el!=this._ownerElement){
			throw new DOMException(INUSE_ATTRIBUTE_ERR);
		}
		oldAttr = this.getNamedItemNS(attr.namespaceURI,attr.localName);
		_addNamedNode(this._ownerElement,this,attr,oldAttr);
		return oldAttr;
	},

	/* returns Node */
	removeNamedItem: function(key) {
		var attr = this.getNamedItem(key);
		_removeNamedNode(this._ownerElement,this,attr);
		return attr;


	},// raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR

	//for level2
	removeNamedItemNS:function(namespaceURI,localName){
		var attr = this.getNamedItemNS(namespaceURI,localName);
		_removeNamedNode(this._ownerElement,this,attr);
		return attr;
	},
	getNamedItemNS: function(namespaceURI, localName) {
		var i = this.length;
		while(i--){
			var node = this[i];
			if(node.localName == localName && node.namespaceURI == namespaceURI){
				return node;
			}
		}
		return null;
	}
};

/**
 * The DOMImplementation interface represents an object providing methods
 * which are not dependent on any particular document.
 * Such an object is returned by the `Document.implementation` property.
 *
 * __The individual methods describe the differences compared to the specs.__
 *
 * @constructor
 *
 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation MDN
 * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490 DOM Level 1 Core (Initial)
 * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-102161490 DOM Level 2 Core
 * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-102161490 DOM Level 3 Core
 * @see https://dom.spec.whatwg.org/#domimplementation DOM Living Standard
 */
function DOMImplementation() {
}

DOMImplementation.prototype = {
	/**
	 * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
	 * The different implementations fairly diverged in what kind of features were reported.
	 * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.
	 *
	 * @deprecated It is deprecated and modern browsers return true in all cases.
	 *
	 * @param {string} feature
	 * @param {string} [version]
	 * @returns {boolean} always true
	 *
	 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN
	 * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core
	 * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard
	 */
	hasFeature: function(feature, version) {
			return true;
	},
	/**
	 * Creates an XML Document object of the specified type with its document element.
	 *
	 * __It behaves slightly different from the description in the living standard__:
	 * - There is no interface/class `XMLDocument`, it returns a `Document` instance.
	 * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.
	 * - this implementation is not validating names or qualified names
	 *   (when parsing XML strings, the SAX parser takes care of that)
	 *
	 * @param {string|null} namespaceURI
	 * @param {string} qualifiedName
	 * @param {DocumentType=null} doctype
	 * @returns {Document}
	 *
	 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN
	 * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)
	 * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument  DOM Level 2 Core
	 *
	 * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
	 * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
	 * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
	 */
	createDocument: function(namespaceURI,  qualifiedName, doctype){
		var doc = new Document();
		doc.implementation = this;
		doc.childNodes = new NodeList();
		doc.doctype = doctype || null;
		if (doctype){
			doc.appendChild(doctype);
		}
		if (qualifiedName){
			var root = doc.createElementNS(namespaceURI, qualifiedName);
			doc.appendChild(root);
		}
		return doc;
	},
	/**
	 * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.
	 *
	 * __This implementation differs from the specification:__
	 * - this implementation is not validating names or qualified names
	 *   (when parsing XML strings, the SAX parser takes care of that)
	 *
	 * Note: `internalSubset` can only be introduced via a direct property write to `node.internalSubset` after creation.
	 * Creation-time validation of `publicId`, `systemId` is not enforced.
	 * The serializer-level check covers all mutation vectors, including direct property writes.
	 * `internalSubset` is only serialized as `[ ... ]` when both `publicId` and `systemId` are
	 * absent (empty or `'.'`) — if either external identifier is present, `internalSubset` is
	 * silently omitted from the serialized output.
	 *
	 * @param {string} qualifiedName
	 * @param {string} [publicId]
	 * The external subset public identifier. Stored verbatim including surrounding quotes.
	 * When serialized with `requireWellFormed: true` (via the 4th-parameter options object),
	 * throws `DOMException` with code `INVALID_STATE_ERR` if the value is non-empty and does
	 * not match the XML `PubidLiteral` production (W3C DOM Parsing §3.2.1.3; XML 1.0 [12]).
	 * @param {string} [systemId]
	 * The external subset system identifier. Stored verbatim including surrounding quotes.
	 * When serialized with `requireWellFormed: true`, throws `DOMException` with code
	 * `INVALID_STATE_ERR` if the value is non-empty and does not match the XML `SystemLiteral`
	 * production (W3C DOM Parsing §3.2.1.3; XML 1.0 [11]).
	 * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation
	 * 				  or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`
	 *
	 * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN
	 * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core
	 * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard
	 *
	 * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
	 * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
	 * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
	 */
	createDocumentType: function(qualifiedName, publicId, systemId){
		var node = new DocumentType();
		node.name = qualifiedName;
		node.nodeName = qualifiedName;
		node.publicId = publicId || '';
		node.systemId = systemId || '';

		return node;
	}
};


/**
 * @see http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247
 */

function Node() {
};

Node.prototype = {
	firstChild : null,
	lastChild : null,
	previousSibling : null,
	nextSibling : null,
	attributes : null,
	parentNode : null,
	childNodes : null,
	ownerDocument : null,
	nodeValue : null,
	namespaceURI : null,
	prefix : null,
	localName : null,
	// Modified in DOM Level 2:
	insertBefore:function(newChild, refChild){//raises
		return _insertBefore(this,newChild,refChild);
	},
	replaceChild:function(newChild, oldChild){//raises
		_insertBefore(this, newChild,oldChild, assertPreReplacementValidityInDocument);
		if(oldChild){
			this.removeChild(oldChild);
		}
	},
	removeChild:function(oldChild){
		return _removeChild(this,oldChild);
	},
	appendChild:function(newChild){
		return this.insertBefore(newChild,null);
	},
	hasChildNodes:function(){
		return this.firstChild != null;
	},
	cloneNode:function(deep){
		return cloneNode(this.ownerDocument||this,this,deep);
	},
	// Modified in DOM Level 2:
	/**
	 * Puts the specified node and all of its subtree into a "normalized" form. In a normalized
	 * subtree, no text nodes in the subtree are empty and there are no adjacent text nodes.
	 *
	 * Specifically, this method merges any adjacent text nodes (i.e., nodes for which `nodeType`
	 * is `TEXT_NODE`) into a single node with the combined data. It also removes any empty text
	 * nodes.
	 *
	 * This method iteratively traverses all child nodes to normalize all descendant nodes within
	 * the subtree.
	 *
	 * @throws {DOMException}
	 * May throw a DOMException if operations within removeChild or appendData (which are
	 * potentially invoked in this method) do not meet their specific constraints.
	 * @see {@link Node.removeChild}
	 * @see {@link CharacterData.appendData}
	 * @see ../docs/walk-dom.md.
	 */
	normalize: function () {
		walkDOM(this, null, {
			enter: function (node) {
				// Merge adjacent text children of node before walkDOM schedules them.
				// walkDOM reads lastChild/previousSibling after enter returns, so the
				// surviving post-merge children are what it descends into.
				var child = node.firstChild;
				while (child) {
					var next = child.nextSibling;
					if (next !== null && next.nodeType === TEXT_NODE && child.nodeType === TEXT_NODE) {
						node.removeChild(next);
						child.appendData(next.data);
						// Do not advance child: re-check new nextSibling for another text run
					} else {
						child = next;
					}
				}
				return true; // descend into surviving children
			},
		});
	},
  	// Introduced in DOM Level 2:
	isSupported:function(feature, version){
		return this.ownerDocument.implementation.hasFeature(feature,version);
	},
    // Introduced in DOM Level 2:
    hasAttributes:function(){
    	return this.attributes.length>0;
    },
	/**
	 * Look up the prefix associated to the given namespace URI, starting from this node.
	 * **The default namespace declarations are ignored by this method.**
	 * See Namespace Prefix Lookup for details on the algorithm used by this method.
	 *
	 * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._
	 *
	 * @param {string | null} namespaceURI
	 * @returns {string | null}
	 * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix
	 * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo
	 * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix
	 * @see https://github.com/xmldom/xmldom/issues/322
	 */
    lookupPrefix:function(namespaceURI){
    	var el = this;
    	while(el){
    		var map = el._nsMap;
    		//console.dir(map)
    		if(map){
    			for(var n in map){
						if (Object.prototype.hasOwnProperty.call(map, n) && map[n] === namespaceURI) {
							return n;
						}
    			}
    		}
    		el = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;
    	}
    	return null;
    },
    // Introduced in DOM Level 3:
    lookupNamespaceURI:function(prefix){
    	var el = this;
    	while(el){
    		var map = el._nsMap;
    		//console.dir(map)
    		if(map){
    			if(Object.prototype.hasOwnProperty.call(map, prefix)){
    				return map[prefix] ;
    			}
    		}
    		el = el.nodeType == ATTRIBUTE_NODE?el.ownerDocument : el.parentNode;
    	}
    	return null;
    },
    // Introduced in DOM Level 3:
    isDefaultNamespace:function(namespaceURI){
    	var prefix = this.lookupPrefix(namespaceURI);
    	return prefix == null;
    }
};


function _xmlEncoder(c){
	return c == '<' && '&lt;' ||
         c == '>' && '&gt;' ||
         c == '&' && '&amp;' ||
         c == '"' && '&quot;' ||
         '&#'+c.charCodeAt()+';'
}


copy(NodeType,Node);
copy(NodeType,Node.prototype);

/**
 * @param {Node} node
 * Root of the subtree to visit.
 * @param {function(Node): boolean} callback
 * Called for each node in depth-first pre-order. Return a truthy value to stop traversal early.
 * @return {boolean} `true` if traversal was aborted by the callback, `false` otherwise.
 */
function _visitNode(node, callback) {
	return walkDOM(node, null, { enter: function (n) { return callback(n) ? walkDOM.STOP : true; } }) === walkDOM.STOP;
}

/**
 * Depth-first pre/post-order DOM tree walker.
 *
 * Visits every node in the subtree rooted at `node`. For each node:
 *
 * 1. Calls `callbacks.enter(node, context)` before descending into the node's children. The
 * return value becomes the `context` passed to each child's `enter` call and to the matching
 * `exit` call.
 * 2. If `enter` returns `null` or `undefined`, the node's children are skipped;
 * sibling traversal continues normally.
 * 3. If `enter` returns `walkDOM.STOP`, the entire traversal is aborted immediately — no
 * further `enter` or `exit` calls are made.
 * 4. `lastChild` and `previousSibling` are read **after** `enter` returns, so `enter` may
 * safely modify the node's own child list before the walker descends. Modifying siblings of
 * the current node or any other part of the tree produces unpredictable results: nodes already
 * queued on the stack are visited regardless of DOM changes, and newly inserted nodes outside
 * the current child list are never visited.
 * 5. Calls `callbacks.exit(node, context)` (if provided) after all of a node's children have
 * been visited, passing the same `context` that `enter`
 * returned for that node.
 *
 * This implementation uses an explicit stack and does not recurse — it is safe on arbitrarily
 * deep trees.
 *
 * @param {Node} node
 * Root of the subtree to walk.
 * @param {*} context
 * Initial context value passed to the root node's `enter`.
 * @param {{ enter: function(Node, *): *, exit?: function(Node, *): void }} callbacks
 * @returns {void | walkDOM.STOP}
 * @see ../docs/walk-dom.md.
 */
function walkDOM(node, context, callbacks) {
	// Each stack frame is {node, context, phase}:
	//   walkDOM.ENTER — call enter, then push children
	//   walkDOM.EXIT  — call exit
	var stack = [{ node: node, context: context, phase: walkDOM.ENTER }];
	while (stack.length > 0) {
		var frame = stack.pop();
		if (frame.phase === walkDOM.ENTER) {
			var childContext = callbacks.enter(frame.node, frame.context);
			if (childContext === walkDOM.STOP) {
				return walkDOM.STOP;
			}
			// Push exit frame before children so it fires after all children are processed (Last In First Out)
			stack.push({ node: frame.node, context: childContext, phase: walkDOM.EXIT });
			if (childContext === null || childContext === undefined) {
				continue; // skip children
			}
			// lastChild is read after enter returns, so enter may modify the child list.
			var child = frame.node.lastChild;
			// Traverse from lastChild backwards so that pushing onto the stack
			// naturally yields firstChild on top (processed first).
			while (child) {
				stack.push({ node: child, context: childContext, phase: walkDOM.ENTER });
				child = child.previousSibling;
			}
		} else {
			// frame.phase === walkDOM.EXIT
			if (callbacks.exit) {
				callbacks.exit(frame.node, frame.context);
			}
		}
	}
}

/**
 * Sentinel value returned from a `walkDOM` `enter` callback to abort the entire traversal
 * immediately.
 *
 * @type {symbol}
 */
walkDOM.STOP = Symbol('walkDOM.STOP');
/**
 * Phase constant for a stack frame that has not yet been visited.
 * The `enter` callback is called and children are scheduled.
 *
 * @type {number}
 */
walkDOM.ENTER = 0;
/**
 * Phase constant for a stack frame whose subtree has been fully visited.
 * The `exit` callback is called.
 *
 * @type {number}
 */
walkDOM.EXIT = 1;

function Document(){
	this.ownerDocument = this;
}

function _onAddAttribute(doc,el,newAttr){
	doc && doc._inc++;
	var ns = newAttr.namespaceURI ;
	if(ns === NAMESPACE.XMLNS){
		//update namespace
		el._nsMap[newAttr.prefix?newAttr.localName:''] = newAttr.value
	}
}

function _onRemoveAttribute(doc,el,newAttr,remove){
	doc && doc._inc++;
	var ns = newAttr.namespaceURI ;
	if(ns === NAMESPACE.XMLNS){
		//update namespace
		delete el._nsMap[newAttr.prefix?newAttr.localName:'']
	}
}

/**
 * Updates `el.childNodes`, updating the indexed items and it's `length`.
 * Passing `newChild` means it will be appended.
 * Otherwise it's assumed that an item has been removed,
 * and `el.firstNode` and it's `.nextSibling` are used
 * to walk the current list of child nodes.
 *
 * @param {Document} doc
 * @param {Node} el
 * @param {Node} [newChild]
 * @private
 */
function _onUpdateChild (doc, el, newChild) {
	if(doc && doc._inc){
		doc._inc++;
		//update childNodes
		var cs = el.childNodes;
		if (newChild) {
			cs[cs.length++] = newChild;
		} else {
			var child = el.firstChild;
			var i = 0;
			while (child) {
				cs[i++] = child;
				child = child.nextSibling;
			}
			cs.length = i;
			delete cs[cs.length];
		}
	}
}

/**
 * Removes the connections between `parentNode` and `child`
 * and any existing `child.previousSibling` or `child.nextSibling`.
 *
 * @see https://github.com/xmldom/xmldom/issues/135
 * @see https://github.com/xmldom/xmldom/issues/145
 *
 * @param {Node} parentNode
 * @param {Node} child
 * @returns {Node} the child that was removed.
 * @private
 */
function _removeChild (parentNode, child) {
	var previous = child.previousSibling;
	var next = child.nextSibling;
	if (previous) {
		previous.nextSibling = next;
	} else {
		parentNode.firstChild = next;
	}
	if (next) {
		next.previousSibling = previous;
	} else {
		parentNode.lastChild = previous;
	}
	child.parentNode = null;
	child.previousSibling = null;
	child.nextSibling = null;
	_onUpdateChild(parentNode.ownerDocument, parentNode);
	return child;
}

/**
 * Returns `true` if `node` can be a parent for insertion.
 * @param {Node} node
 * @returns {boolean}
 */
function hasValidParentNodeType(node) {
	return (
		node &&
		(node.nodeType === Node.DOCUMENT_NODE || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === Node.ELEMENT_NODE)
	);
}

/**
 * Returns `true` if `node` can be inserted according to it's `nodeType`.
 * @param {Node} node
 * @returns {boolean}
 */
function hasInsertableNodeType(node) {
	return (
		node &&
		(isElementNode(node) ||
			isTextNode(node) ||
			isDocTypeNode(node) ||
			node.nodeType === Node.DOCUMENT_FRAGMENT_NODE ||
			node.nodeType === Node.COMMENT_NODE ||
			node.nodeType === Node.PROCESSING_INSTRUCTION_NODE)
	);
}

/**
 * Returns true if `node` is a DOCTYPE node
 * @param {Node} node
 * @returns {boolean}
 */
function isDocTypeNode(node) {
	return node && node.nodeType === Node.DOCUMENT_TYPE_NODE;
}

/**
 * Returns true if the node is an element
 * @param {Node} node
 * @returns {boolean}
 */
function isElementNode(node) {
	return node && node.nodeType === Node.ELEMENT_NODE;
}
/**
 * Returns true if `node` is a text node
 * @param {Node} node
 * @returns {boolean}
 */
function isTextNode(node) {
	return node && node.nodeType === Node.TEXT_NODE;
}

/**
 * Check if en element node can be inserted before `child`, or at the end if child is falsy,
 * according to the presence and position of a doctype node on the same level.
 *
 * @param {Document} doc The document node
 * @param {Node} child the node that would become the nextSibling if the element would be inserted
 * @returns {boolean} `true` if an element can be inserted before child
 * @private
 * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
 */
function isElementInsertionPossible(doc, child) {
	var parentChildNodes = doc.childNodes || [];
	if (find(parentChildNodes, isElementNode) || isDocTypeNode(child)) {
		return false;
	}
	var docTypeNode = find(parentChildNodes, isDocTypeNode);
	return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));
}

/**
 * Check if en element node can be inserted before `child`, or at the end if child is falsy,
 * according to the presence and position of a doctype node on the same level.
 *
 * @param {Node} doc The document node
 * @param {Node} child the node that would become the nextSibling if the element would be inserted
 * @returns {boolean} `true` if an element can be inserted before child
 * @private
 * https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
 */
function isElementReplacementPossible(doc, child) {
	var parentChildNodes = doc.childNodes || [];

	function hasElementChildThatIsNotChild(node) {
		return isElementNode(node) && node !== child;
	}

	if (find(parentChildNodes, hasElementChildThatIsNotChild)) {
		return false;
	}
	var docTypeNode = find(parentChildNodes, isDocTypeNode);
	return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));
}

/**
 * @private
 * Steps 1-5 of the checks before inserting and before replacing a child are the same.
 *
 * @param {Node} parent the parent node to insert `node` into
 * @param {Node} node the node to insert
 * @param {Node=} child the node that should become the `nextSibling` of `node`
 * @returns {Node}
 * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
 * @throws DOMException if `child` is provided but is not a child of `parent`.
 * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
 * @see https://dom.spec.whatwg.org/#concept-node-replace
 */
function assertPreInsertionValidity1to5(parent, node, child) {
	// 1. If `parent` is not a Document, DocumentFragment, or Element node, then throw a "HierarchyRequestError" DOMException.
	if (!hasValidParentNodeType(parent)) {
		throw new DOMException(HIERARCHY_REQUEST_ERR, 'Unexpected parent node type ' + parent.nodeType);
	}
	// 2. If `node` is a host-including inclusive ancestor of `parent`, then throw a "HierarchyRequestError" DOMException.
	// not implemented!
	// 3. If `child` is non-null and its parent is not `parent`, then throw a "NotFoundError" DOMException.
	if (child && child.parentNode !== parent) {
		throw new DOMException(NOT_FOUND_ERR, 'child not in parent');
	}
	if (
		// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException.
		!hasInsertableNodeType(node) ||
		// 5. If either `node` is a Text node and `parent` is a document,
		// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0
		// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)
		// or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException.
		(isDocTypeNode(node) && parent.nodeType !== Node.DOCUMENT_NODE)
	) {
		throw new DOMException(
			HIERARCHY_REQUEST_ERR,
			'Unexpected node type ' + node.nodeType + ' for parent node type ' + parent.nodeType
		);
	}
}

/**
 * @private
 * Step 6 of the checks before inserting and before replacing a child are different.
 *
 * @param {Document} parent the parent node to insert `node` into
 * @param {Node} node the node to insert
 * @param {Node | undefined} child the node that should become the `nextSibling` of `node`
 * @returns {Node}
 * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
 * @throws DOMException if `child` is provided but is not a child of `parent`.
 * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
 * @see https://dom.spec.whatwg.org/#concept-node-replace
 */
function assertPreInsertionValidityInDocument(parent, node, child) {
	var parentChildNodes = parent.childNodes || [];
	var nodeChildNodes = node.childNodes || [];

	// DocumentFragment
	if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
		var nodeChildElements = nodeChildNodes.filter(isElementNode);
		// If node has more than one element child or has a Text node child.
		if (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');
		}
		// Otherwise, if `node` has one element child and either `parent` has an element child,
		// `child` is a doctype, or `child` is non-null and a doctype is following `child`.
		if (nodeChildElements.length === 1 && !isElementInsertionPossible(parent, child)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');
		}
	}
	// Element
	if (isElementNode(node)) {
		// `parent` has an element child, `child` is a doctype,
		// or `child` is non-null and a doctype is following `child`.
		if (!isElementInsertionPossible(parent, child)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');
		}
	}
	// DocumentType
	if (isDocTypeNode(node)) {
		// `parent` has a doctype child,
		if (find(parentChildNodes, isDocTypeNode)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');
		}
		var parentElementChild = find(parentChildNodes, isElementNode);
		// `child` is non-null and an element is preceding `child`,
		if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');
		}
		// or `child` is null and `parent` has an element child.
		if (!child && parentElementChild) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can not be appended since element is present');
		}
	}
}

/**
 * @private
 * Step 6 of the checks before inserting and before replacing a child are different.
 *
 * @param {Document} parent the parent node to insert `node` into
 * @param {Node} node the node to insert
 * @param {Node | undefined} child the node that should become the `nextSibling` of `node`
 * @returns {Node}
 * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
 * @throws DOMException if `child` is provided but is not a child of `parent`.
 * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
 * @see https://dom.spec.whatwg.org/#concept-node-replace
 */
function assertPreReplacementValidityInDocument(parent, node, child) {
	var parentChildNodes = parent.childNodes || [];
	var nodeChildNodes = node.childNodes || [];

	// DocumentFragment
	if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
		var nodeChildElements = nodeChildNodes.filter(isElementNode);
		// If `node` has more than one element child or has a Text node child.
		if (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'More than one element or text in fragment');
		}
		// Otherwise, if `node` has one element child and either `parent` has an element child that is not `child` or a doctype is following `child`.
		if (nodeChildElements.length === 1 && !isElementReplacementPossible(parent, child)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Element in fragment can not be inserted before doctype');
		}
	}
	// Element
	if (isElementNode(node)) {
		// `parent` has an element child that is not `child` or a doctype is following `child`.
		if (!isElementReplacementPossible(parent, child)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one element can be added and only after doctype');
		}
	}
	// DocumentType
	if (isDocTypeNode(node)) {
		function hasDoctypeChildThatIsNotChild(node) {
			return isDocTypeNode(node) && node !== child;
		}

		// `parent` has a doctype child that is not `child`,
		if (find(parentChildNodes, hasDoctypeChildThatIsNotChild)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Only one doctype is allowed');
		}
		var parentElementChild = find(parentChildNodes, isElementNode);
		// or an element is preceding `child`.
		if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {
			throw new DOMException(HIERARCHY_REQUEST_ERR, 'Doctype can only be inserted before an element');
		}
	}
}

/**
 * @private
 * @param {Node} parent the parent node to insert `node` into
 * @param {Node} node the node to insert
 * @param {Node=} child the node that should become the `nextSibling` of `node`
 * @returns {Node}
 * @throws DOMException for several node combinations that would create a DOM that is not well-formed.
 * @throws DOMException if `child` is provided but is not a child of `parent`.
 * @see https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity
 */
function _insertBefore(parent, node, child, _inDocumentAssertion) {
	// To ensure pre-insertion validity of a node into a parent before a child, run these steps:
	assertPreInsertionValidity1to5(parent, node, child);

	// If parent is a document, and any of the statements below, switched on the interface node implements,
	// are true, then throw a "HierarchyRequestError" DOMException.
	if (parent.nodeType === Node.DOCUMENT_NODE) {
		(_inDocumentAssertion || assertPreInsertionValidityInDocument)(parent, node, child);
	}

	var cp = node.parentNode;
	if(cp){
		cp.removeChild(node);//remove and update
	}
	if(node.nodeType === DOCUMENT_FRAGMENT_NODE){
		var newFirst = node.firstChild;
		if (newFirst == null) {
			return node;
		}
		var newLast = node.lastChild;
	}else{
		newFirst = newLast = node;
	}
	var pre = child ? child.previousSibling : parent.lastChild;

	newFirst.previousSibling = pre;
	newLast.nextSibling = child;


	if(pre){
		pre.nextSibling = newFirst;
	}else{
		parent.firstChild = newFirst;
	}
	if(child == null){
		parent.lastChild = newLast;
	}else{
		child.previousSibling = newLast;
	}
	do{
		newFirst.parentNode = parent;
		// Update ownerDocument for each node being inserted
		var targetDoc = parent.ownerDocument || parent;
		_updateOwnerDocument(newFirst, targetDoc);
	}while(newFirst !== newLast && (newFirst= newFirst.nextSibling))
	_onUpdateChild(parent.ownerDocument||parent, parent);
	//console.log(parent.lastChild.nextSibling == null)
	if (node.nodeType == DOCUMENT_FRAGMENT_NODE) {
		node.firstChild = node.lastChild = null;
	}
	return node;
}

/**
 * Recursively updates the ownerDocument property for a node and all its descendants
 * @param {Node} node
 * @param {Document} newOwnerDocument
 * @private
 */
function _updateOwnerDocument(node, newOwnerDocument) {
	if (node.ownerDocument === newOwnerDocument) {
		return;
	}
	
	node.ownerDocument = newOwnerDocument;
	
	// Update attributes if this is an element
	if (node.nodeType === ELEMENT_NODE && node.attributes) {
		for (var i = 0; i < node.attributes.length; i++) {
			var attr = node.attributes.item(i);
			if (attr) {
				attr.ownerDocument = newOwnerDocument;
			}
		}
	}
	
	// Recursively update child nodes
	var child = node.firstChild;
	while (child) {
		_updateOwnerDocument(child, newOwnerDocument);
		child = child.nextSibling;
	}
}

/**
 * Appends `newChild` to `parentNode`.
 * If `newChild` is already connected to a `parentNode` it is first removed from it.
 *
 * @see https://github.com/xmldom/xmldom/issues/135
 * @see https://github.com/xmldom/xmldom/issues/145
 * @param {Node} parentNode
 * @param {Node} newChild
 * @returns {Node}
 * @private
 */
function _appendSingleChild (parentNode, newChild) {
	if (newChild.parentNode) {
		newChild.parentNode.removeChild(newChild);
	}
	newChild.parentNode = parentNode;
	newChild.previousSibling = parentNode.lastChild;
	newChild.nextSibling = null;
	if (newChild.previousSibling) {
		newChild.previousSibling.nextSibling = newChild;
	} else {
		parentNode.firstChild = newChild;
	}
	parentNode.lastChild = newChild;
	_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);
	
	// Update ownerDocument for the new child and all its descendants
	var targetDoc = parentNode.ownerDocument || parentNode;
	_updateOwnerDocument(newChild, targetDoc);
	
	return newChild;
}

Document.prototype = {
	//implementation : null,
	nodeName :  '#document',
	nodeType :  DOCUMENT_NODE,
	/**
	 * The DocumentType node of the document.
	 *
	 * @readonly
	 * @type DocumentType
	 */
	doctype :  null,
	documentElement :  null,
	_inc : 1,

	insertBefore :  function(newChild, refChild){//raises
		if(newChild.nodeType == DOCUMENT_FRAGMENT_NODE){
			var child = newChild.firstChild;
			while(child){
				var next = child.nextSibling;
				this.insertBefore(child,refChild);
				child = next;
			}
			return newChild;
		}
		_insertBefore(this, newChild, refChild);
		_updateOwnerDocument(newChild, this);
		if (this.documentElement === null && newChild.nodeType === ELEMENT_NODE) {
			this.documentElement = newChild;
		}

		return newChild;
	},
	removeChild :  function(oldChild){
		if(this.documentElement == oldChild){
			this.documentElement = null;
		}
		return _removeChild(this,oldChild);
	},
	replaceChild: function (newChild, oldChild) {
		//raises
		_insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);
		_updateOwnerDocument(newChild, this);
		if (oldChild) {
			this.removeChild(oldChild);
		}
		if (isElementNode(newChild)) {
			this.documentElement = newChild;
		}
	},
	// Introduced in DOM Level 2:
	importNode : function(importedNode,deep){
		return importNode(this,importedNode,deep);
	},
	// Introduced in DOM Level 2:
	getElementById :	function(id){
		var rtv = null;
		_visitNode(this.documentElement,function(node){
			if(node.nodeType == ELEMENT_NODE){
				if(node.getAttribute('id') == id){
					rtv = node;
					return true;
				}
			}
		})
		return rtv;
	},

	/**
	 * The `getElementsByClassName` method of `Document` interface returns an array-like object
	 * of all child elements which have **all** of the given class name(s).
	 *
	 * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.
	 *
	 *
	 * Warning: This is a live LiveNodeList.
	 * Changes in the DOM will reflect in the array as the changes occur.
	 * If an element selected by this array no longer qualifies for the selector,
	 * it will automatically be removed. Be aware of this for iteration purposes.
	 *
	 * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace
	 *
	 * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName
	 * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname
	 */
	getElementsByClassName: function(classNames) {
		var classNamesSet = toOrderedSet(classNames)
		return new LiveNodeList(this, function(base) {
			var ls = [];
			if (classNamesSet.length > 0) {
				_visitNode(base.documentElement, function(node) {
					if(node !== base && node.nodeType === ELEMENT_NODE) {
						var nodeClassNames = node.getAttribute('class')
						// can be null if the attribute does not exist
						if (nodeClassNames) {
							// before splitting and iterating just compare them for the most common case
							var matches = classNames === nodeClassNames;
							if (!matches) {
								var nodeClassNamesSet = toOrderedSet(nodeClassNames)
								matches = classNamesSet.every(arrayIncludes(nodeClassNamesSet))
							}
							if(matches) {
								ls.push(node);
							}
						}
					}
				});
			}
			return ls;
		});
	},

	//document factory method:
	createElement :	function(tagName){
		var node = new Element();
		node.ownerDocument = this;
		node.nodeName = tagName;
		node.tagName = tagName;
		node.localName = tagName;
		node.childNodes = new NodeList();
		var attrs	= node.attributes = new NamedNodeMap();
		attrs._ownerElement = node;
		return node;
	},
	createDocumentFragment :	function(){
		var node = new DocumentFragment();
		node.ownerDocument = this;
		node.childNodes = new NodeList();
		return node;
	},
	createTextNode :	function(data){
		var node = new Text();
		node.ownerDocument = this;
		node.appendData(data)
		return node;
	},
	createComment :	function(data){
		var node = new Comment();
		node.ownerDocument = this;
		node.appendData(data)
		return node;
	},
	/**
	 * Returns a new CDATASection node whose data is `data`.
	 *
	 * __This implementation differs from the specification:__
	 * - calling this method on an HTML document does not throw `NotSupportedError`.
	 *
	 * @param {string} data
	 * @returns {CDATASection}
	 * @throws DOMException with code `INVALID_CHARACTER_ERR` if `data` contains `"]]>"`.
	 * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection
	 * @see https://dom.spec.whatwg.org/#dom-document-createcdatasection
	 */
	createCDATASection :	function(data){
		if (data.indexOf(']]>') !== -1) {
			throw new DOMException(INVALID_CHARACTER_ERR, 'data contains "]]>"');
		}
		var node = new CDATASection();
		node.ownerDocument = this;
		node.appendData(data)
		return node;
	},
	/**
	 * Returns a ProcessingInstruction node whose target is target and data is data.
	 *
	 * __This implementation differs from the specification:__
	 * - it does not do any input validation on the arguments and doesn't throw "InvalidCharacterError".
	 *
	 * Note: When the resulting document is serialized with `requireWellFormed: true`, the
	 * serializer throws with code `INVALID_STATE_ERR` if `.data` contains `?>` (W3C DOM Parsing
	 * §3.2.1.7). Without that option the data is emitted verbatim.
	 *
	 * @param {string} target
	 * @param {string} data
	 * @returns {ProcessingInstruction}
	 * @see https://developer.mozilla.org/docs/Web/API/Document/createProcessingInstruction
	 * @see https://dom.spec.whatwg.org/#dom-document-createprocessinginstruction
	 * @see https://www.w3.org/TR/DOM-Parsing/#dfn-concept-serialize-xml §3.2.1.7
	 */
	createProcessingInstruction :	function(target,data){
		var node = new ProcessingInstruction();
		node.ownerDocument = this;
		node.tagName = node.nodeName = node.target = target;
		node.nodeValue = node.data = data;
		return node;
	},
	createAttribute :	function(name){
		var node = new Attr();
		node.ownerDocument	= this;
		node.name = name;
		node.nodeName	= name;
		node.localName = name;
		node.specified = true;
		return node;
	},
	createEntityReference :	function(name){
		var node = new EntityReference();
		node.ownerDocument	= this;
		node.nodeName	= name;
		return node;
	},
	// Introduced in DOM Level 2:
	createElementNS :	function(namespaceURI,qualifiedName){
		var node = new Element();
		var pl = qualifiedName.split(':');
		var attrs	= node.attributes = new NamedNodeMap();
		node.childNodes = new NodeList();
		node.ownerDocument = this;
		node.nodeName = qualifiedName;
		node.tagName = qualifiedName;
		node.namespaceURI = namespaceURI;
		if(pl.length == 2){
			node.prefix = pl[0];
			node.localName = pl[1];
		}else{
			//el.prefix = null;
			node.localName = qualifiedName;
		}
		attrs._ownerElement = node;
		return node;
	},
	// Introduced in DOM Level 2:
	createAttributeNS :	function(namespaceURI,qualifiedName){
		var node = new Attr();
		var pl = qualifiedName.split(':');
		node.ownerDocument = this;
		node.nodeName = qualifiedName;
		node.name = qualifiedName;
		node.namespaceURI = namespaceURI;
		node.specified = true;
		if(pl.length == 2){
			node.prefix = pl[0];
			node.localName = pl[1];
		}else{
			//el.prefix = null;
			node.localName = qualifiedName;
		}
		return node;
	}
};
_extends(Document,Node);


function Element() {
	this._nsMap = {};
};
Element.prototype = {
	nodeType : ELEMENT_NODE,
	hasAttribute : function(name){
		return this.getAttributeNode(name)!=null;
	},
	getAttribute : function(name){
		var attr = this.getAttributeNode(name);
		return attr && attr.value || '';
	},
	getAttributeNode : function(name){
		return this.attributes.getNamedItem(name);
	},
	setAttribute : function(name, value){
		var attr = this.ownerDocument.createAttribute(name);
		attr.value = attr.nodeValue = "" + value;
		this.setAttributeNode(attr)
	},
	removeAttribute : function(name){
		var attr = this.getAttributeNode(name)
		attr && this.removeAttributeNode(attr);
	},

	//four real opeartion method
	appendChild:function(newChild){
		if(newChild.nodeType === DOCUMENT_FRAGMENT_NODE){
			return this.insertBefore(newChild,null);
		}else{
			return _appendSingleChild(this,newChild);
		}
	},
	setAttributeNode : function(newAttr){
		return this.attributes.setNamedItem(newAttr);
	},
	setAttributeNodeNS : function(newAttr){
		return this.attributes.setNamedItemNS(newAttr);
	},
	removeAttributeNode : function(oldAttr){
		//console.log(this == oldAttr.ownerElement)
		return this.attributes.removeNamedItem(oldAttr.nodeName);
	},
	//get real attribute name,and remove it by removeAttributeNode
	removeAttributeNS : function(namespaceURI, localName){
		var old = this.getAttributeNodeNS(namespaceURI, localName);
		old && this.removeAttributeNode(old);
	},

	hasAttributeNS : function(namespaceURI, localName){
		return this.getAttributeNodeNS(namespaceURI, localName)!=null;
	},
	getAttributeNS : function(namespaceURI, localName){
		var attr = this.getAttributeNodeNS(namespaceURI, localName);
		return attr && attr.value || '';
	},
	setAttributeNS : function(namespaceURI, qualifiedName, value){
		var attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);
		attr.value = attr.nodeValue = "" + value;
		this.setAttributeNode(attr)
	},
	getAttributeNodeNS : function(namespaceURI, localName){
		return this.attributes.getNamedItemNS(namespaceURI, localName);
	},

	getElementsByTagName : function(tagName){
		return new LiveNodeList(this,function(base){
			var ls = [];
			_visitNode(base,function(node){
				if(node !== base && node.nodeType == ELEMENT_NODE && (tagName === '*' || node.tagName == tagName)){
					ls.push(node);
				}
			});
			return ls;
		});
	},
	getElementsByTagNameNS : function(namespaceURI, localName){
		return new LiveNodeList(this,function(base){
			var ls = [];
			_visitNode(base,function(node){
				if(node !== base && node.nodeType === ELEMENT_NODE && (namespaceURI === '*' || node.namespaceURI === namespaceURI) && (localName === '*' || node.localName == localName)){
					ls.push(node);
				}
			});
			return ls;

		});
	}
};
Document.prototype.getElementsByTagName = Element.prototype.getElementsByTagName;
Document.prototype.getElementsByTagNameNS = Element.prototype.getElementsByTagNameNS;


_extends(Element,Node);
function Attr() {
};
Attr.prototype.nodeType = ATTRIBUTE_NODE;
_extends(Attr,Node);


function CharacterData() {
};
CharacterData.prototype = {
	data : '',
	substringData : function(offset, count) {
		return this.data.substring(offset, offset+count);
	},
	appendData: function(text) {
		text = this.data+text;
		this.nodeValue = this.data = text;
		this.length = text.length;
	},
	insertData: function(offset,text) {
		this.replaceData(offset,0,text);

	},
	appendChild:function(newChild){
		throw new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR])
	},
	deleteData: function(offset, count) {
		this.replaceData(offset,count,"");
	},
	replaceData: function(offset, count, text) {
		var start = this.data.substring(0,offset);
		var end = this.data.substring(offset+count);
		text = start + text + end;
		this.nodeValue = this.data = text;
		this.length = text.length;
	}
}
_extends(CharacterData,Node);
function Text() {
};
Text.prototype = {
	nodeName : "#text",
	nodeType : TEXT_NODE,
	splitText : function(offset) {
		var text = this.data;
		var newText = text.substring(offset);
		text = text.substring(0, offset);
		this.data = this.nodeValue = text;
		this.length = text.length;
		var newNode = this.ownerDocument.createTextNode(newText);
		if(this.parentNode){
			this.parentNode.insertBefore(newNode, this.nextSibling);
		}
		return newNode;
	}
}
_extends(Text,CharacterData);
function Comment() {
};
Comment.prototype = {
	nodeName : "#comment",
	nodeType : COMMENT_NODE
}
_extends(Comment,CharacterData);

function CDATASection() {
};
CDATASection.prototype = {
	nodeName : "#cdata-section",
	nodeType : CDATA_SECTION_NODE
}
_extends(CDATASection,CharacterData);


/**
 * Represents a DocumentType node (the `<!DOCTYPE ...>` declaration).
 *
 * `publicId`, `systemId`, and `internalSubset` are plain own-property assignments.
 * xmldom does not enforce the `readonly` constraint declared by the WHATWG DOM spec —
 * direct property writes succeed silently. Values are serialized verbatim when
 * `requireWellFormed` is false (the default). When the serializer is invoked with
 * `requireWellFormed: true` (via the 4th-parameter options object), it validates each
 * field and throws `DOMException` with code `INVALID_STATE_ERR` on invalid values.
 *
 * @class
 * @see https://developer.mozilla.org/en-US/docs/Web/API/DocumentType MDN
 */
function DocumentType() {
};
DocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;
_extends(DocumentType,Node);

function Notation() {
};
Notation.prototype.nodeType = NOTATION_NODE;
_extends(Notation,Node);

function Entity() {
};
Entity.prototype.nodeType = ENTITY_NODE;
_extends(Entity,Node);

function EntityReference() {
};
EntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;
_extends(EntityReference,Node);

function DocumentFragment() {
};
DocumentFragment.prototype.nodeName =	"#document-fragment";
DocumentFragment.prototype.nodeType =	DOCUMENT_FRAGMENT_NODE;
_extends(DocumentFragment,Node);


function ProcessingInstruction() {
}
ProcessingInstruction.prototype.nodeType = PROCESSING_INSTRUCTION_NODE;
_extends(ProcessingInstruction,Node);
function XMLSerializer(){}
/**
 * Returns the result of serializing `node` to XML.
 *
 * When `options.requireWellFormed` is `true`, the serializer throws for content that would
 * produce ill-formed XML.
 *
 * __This implementation differs from the specification:__
 * - CDATASection nodes whose data contains `]]>` are serialized by splitting the section
 *   at each `]]>` occurrence (following W3C DOM Level 3 Core `split-cdata-sections`
 *   default behaviour) unless `requireWellFormed` is `true`.
 * - when `requireWellFormed` is `true`, `DOMException` with code `INVALID_STATE_ERR`
 *   is only thrown to prevent injection vectors, not for all the spec mandated checks.
 *
 * @param {Node} node
 * @param {boolean} [isHtml]
 * @param {function} [nodeFilter]
 * @param {Object} [options]
 * @param {boolean} [options.requireWellFormed=false]
 * When `true`, throws for content that would produce ill-formed XML.
 * @returns {string}
 * @throws {DOMException}
 * With code `INVALID_STATE_ERR` when `requireWellFormed` is `true` and:
 * - a CDATASection node's data contains `"]]>"`,
 * - a Comment node's data contains `"-->"` (bare `"--"` does not throw on this branch),
 * - a ProcessingInstruction's data contains `"?>"`,
 * - a DocumentType's `publicId` is non-empty and does not match the XML `PubidLiteral`
 *   production,
 * - a DocumentType's `systemId` is non-empty and does not match the XML `SystemLiteral`
 *   production, or
 * - a DocumentType's `internalSubset` contains `"]>"`.
 * Note: xmldom does not enforce `readonly` on DocumentType fields — direct property
 * writes succeed and are covered by the serializer-level checks above.
 * @see https://html.spec.whatwg.org/#dom-xmlserializer-serializetostring
 * @see https://w3c.github.io/DOM-Parsing/#xml-serialization
 * @see https://github.com/w3c/DOM-Parsing/issues/84
 */
XMLSerializer.prototype.serializeToString = function(node,isHtml,nodeFilter,options){
	return nodeSerializeToString.call(node,isHtml,nodeFilter,options);
}
Node.prototype.toString = nodeSerializeToString;
function nodeSerializeToString(isHtml,nodeFilter,options){
	var requireWellFormed = !!options && !!options.requireWellFormed;
	var buf = [];
	var refNode = this.nodeType == 9 && this.documentElement || this;
	var prefix = refNode.prefix;
	var uri = refNode.namespaceURI;

	if(uri && prefix == null){
		//console.log(prefix)
		var prefix = refNode.lookupPrefix(uri);
		if(prefix == null){
			//isHTML = true;
			var visibleNamespaces=[
			{namespace:uri,prefix:null}
			//{namespace:uri,prefix:''}
			]
		}
	}
	serializeToString(this,buf,isHtml,nodeFilter,visibleNamespaces,requireWellFormed);
	//console.log('###',this.nodeType,uri,prefix,buf.join(''))
	return buf.join('');
}

function needNamespaceDefine(node, isHTML, visibleNamespaces) {
	var prefix = node.prefix || '';
	var uri = node.namespaceURI;
	// According to [Namespaces in XML 1.0](https://www.w3.org/TR/REC-xml-names/#ns-using) ,
	// and more specifically https://www.w3.org/TR/REC-xml-names/#nsc-NoPrefixUndecl :
	// > In a namespace declaration for a prefix [...], the attribute value MUST NOT be empty.
	// in a similar manner [Namespaces in XML 1.1](https://www.w3.org/TR/xml-names11/#ns-using)
	// and more specifically https://www.w3.org/TR/xml-names11/#nsc-NSDeclared :
	// > [...] Furthermore, the attribute value [...] must not be an empty string.
	// so serializing empty namespace value like xmlns:ds="" would produce an invalid XML document.
	if (!uri) {
		return false;
	}
	if (prefix === "xml" && uri === NAMESPACE.XML || uri === NAMESPACE.XMLNS) {
		return false;
	}

	var i = visibleNamespaces.length
	while (i--) {
		var ns = visibleNamespaces[i];
		// get namespace prefix
		if (ns.prefix === prefix) {
			return ns.namespace !== uri;
		}
	}
	return true;
}
/**
 * Well-formed constraint: No < in Attribute Values
 * > The replacement text of any entity referred to directly or indirectly
 * > in an attribute value must not contain a <.
 * @see https://www.w3.org/TR/xml11/#CleanAttrVals
 * @see https://www.w3.org/TR/xml11/#NT-AttValue
 *
 * Literal whitespace other than space that appear in attribute values
 * are serialized as their entity references, so they will be preserved.
 * (In contrast to whitespace literals in the input which are normalized to spaces)
 * @see https://www.w3.org/TR/xml11/#AVNormalize
 * @see https://w3c.github.io/DOM-Parsing/#serializing-an-element-s-attributes
 */
function addSerializedAttribute(buf, qualifiedName, value) {
	buf.push(' ', qualifiedName, '="', value.replace(/[<>&"\t\n\r]/g, _xmlEncoder), '"')
}

function serializeToString(node, buf, isHTML, nodeFilter, visibleNamespaces, requireWellFormed) {
	if (!visibleNamespaces) {
		visibleNamespaces = [];
	}
	walkDOM(node, { ns: visibleNamespaces, isHTML: isHTML }, {
		enter: function (n, ctx) {
			var ns = ctx.ns;
			var html = ctx.isHTML;

			if (nodeFilter) {
				n = nodeFilter(n);
				if (n) {
					if (typeof n == 'string') {
						buf.push(n);
						return null;
					}
				} else {
					return null;
				}
			}

			switch (n.nodeType) {
				case ELEMENT_NODE:
					var attrs = n.attributes;
					var len = attrs.length;
					var nodeName = n.tagName;

					html = NAMESPACE.isHTML(n.namespaceURI) || html;

					var prefixedNodeName = nodeName;
					if (!html && !n.prefix && n.namespaceURI) {
						var defaultNS;
						// lookup current default ns from `xmlns` attribute
						for (var ai = 0; ai < attrs.length; ai++) {
							if (attrs.item(ai).name === 'xmlns') {
								defaultNS = attrs.item(ai).value;
								break;
							}
						}
						if (!defaultNS) {
							// lookup current default ns in visibleNamespaces
							for (var nsi = ns.length - 1; nsi >= 0; nsi--) {
								var nsEntry = ns[nsi];
								if (nsEntry.prefix === '' && nsEntry.namespace === n.namespaceURI) {
									defaultNS = nsEntry.namespace;
									break;
								}
							}
						}
						if (defaultNS !== n.namespaceURI) {
							for (var nsi = ns.length - 1; nsi >= 0; nsi--) {
								var nsEntry = ns[nsi];
								if (nsEntry.namespace === n.namespaceURI) {
									if (nsEntry.prefix) {
										prefixedNodeName = nsEntry.prefix + ':' + nodeName;
									}
									break;
								}
							}
						}
					}

					buf.push('<', prefixedNodeName);

					// Build a fresh namespace snapshot for this element's children.
					// The slice prevents sibling elements from inheriting each other's declarations.
					var childNs = ns.slice();
					for (var i = 0; i < len; i++) {
						var attr = attrs.item(i);
						if (attr.prefix == 'xmlns') {
							childNs.push({ prefix: attr.localName, namespace: attr.value });
						} else if (attr.nodeName == 'xmlns') {
							childNs.push({ prefix: '', namespace: attr.value });
						}
					}

					for (var i = 0; i < len; i++) {
						var attr = attrs.item(i);
						if (needNamespaceDefine(attr, html, childNs)) {
							var attrPrefix = attr.prefix || '';
							var uri = attr.namespaceURI;
							addSerializedAttribute(buf, attrPrefix ? 'xmlns:' + attrPrefix : 'xmlns', uri);
							childNs.push({ prefix: attrPrefix, namespace: uri });
						}
						// Apply nodeFilter and serialize the attribute.
						var filteredAttr = nodeFilter ? nodeFilter(attr) : attr;
						if (filteredAttr) {
							if (typeof filteredAttr === 'string') {
								buf.push(filteredAttr);
							} else {
								addSerializedAttribute(buf, filteredAttr.name, filteredAttr.value);
							}
						}
					}

					// add namespace for current node
					if (nodeName === prefixedNodeName && needNamespaceDefine(n, html, childNs)) {
						var nodePrefix = n.prefix || '';
						var uri = n.namespaceURI;
						addSerializedAttribute(buf, nodePrefix ? 'xmlns:' + nodePrefix : 'xmlns', uri);
						childNs.push({ prefix: nodePrefix, namespace: uri });
					}

					var child = n.firstChild;
					if (child || html && !/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)) {
						buf.push('>');
						if (html && /^script$/i.test(nodeName)) {
							// Inline serialization for <script> children; return null to skip walkDOM descent.
							while (child) {
								if (child.data) {
									buf.push(child.data);
								} else {
									serializeToString(child, buf, html, nodeFilter, childNs.slice(), requireWellFormed);
								}
								child = child.nextSibling;
							}
							buf.push('</', nodeName, '>');
							return null;
						}
						// Return child context; walkDOM descends and exit emits the closing tag.
						return { ns: childNs, isHTML: html, tag: prefixedNodeName };
					} else {
						buf.push('/>');
						return null;
					}

				case DOCUMENT_NODE:
				case DOCUMENT_FRAGMENT_NODE:
					// Descend into children; exit is a no-op (tag is null).
					return { ns: ns.slice(), isHTML: html, tag: null };

				case ATTRIBUTE_NODE:
					addSerializedAttribute(buf, n.name, n.value);
					return null;

				case TEXT_NODE:
					/**
					 * The ampersand character (&) and the left angle bracket (<) must not appear in their literal form,
					 * except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section.
					 * If they are needed elsewhere, they must be escaped using either numeric character references or the strings
					 * `&amp;` and `&lt;` respectively.
					 * The right angle bracket (>) may be represented using the string " &gt; ", and must, for compatibility,
					 * be escaped using either `&gt;` or a character reference when it appears in the string `]]>` in content,
					 * when that string is not marking the end of a CDATA section.
					 *
					 * In the content of elements, character data is any string of characters
					 * which does not contain the start-delimiter of any markup
					 * and does not include the CDATA-section-close delimiter, `]]>`.
					 *
					 * @see https://www.w3.org/TR/xml/#NT-CharData
					 * @see https://w3c.github.io/DOM-Parsing/#xml-serializing-a-text-node
					 */
					buf.push(n.data.replace(/[<&>]/g, _xmlEncoder));
					return null;

				case CDATA_SECTION_NODE:
					if (requireWellFormed && n.data.indexOf(']]>') !== -1) {
						throw new DOMException(INVALID_STATE_ERR, 'The CDATASection data contains "]]>"');
					}
					buf.push('<![CDATA[', n.data.replace(/]]>/g, ']]]]><![CDATA[>'), ']]>');
					return null;

				case COMMENT_NODE:
					if (requireWellFormed && n.data.indexOf('-->') !== -1) {
						throw new DOMException(INVALID_STATE_ERR, 'The comment node data contains "-->"');
					}
					buf.push('<!--', n.data, '-->');
					return null;

				case DOCUMENT_TYPE_NODE:
					if (requireWellFormed) {
						if (n.publicId && !/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(n.publicId)) {
							throw new DOMException(INVALID_STATE_ERR, 'DocumentType publicId is not a valid PubidLiteral');
						}
						if (n.systemId && !/^("[^"]*"|'[^']*')$/.test(n.systemId)) {
							throw new DOMException(INVALID_STATE_ERR, 'DocumentType systemId is not a valid SystemLiteral');
						}
						if (n.internalSubset && n.internalSubset.indexOf(']>') !== -1) {
							throw new DOMException(INVALID_STATE_ERR, 'DocumentType internalSubset contains "]>"');
						}
					}
					var pubid = n.publicId;
					var sysid = n.systemId;
					buf.push('<!DOCTYPE ', n.name);
					if (pubid) {
						buf.push(' PUBLIC ', pubid);
						if (sysid && sysid != '.') {
							buf.push(' ', sysid);
						}
						buf.push('>');
					} else if (sysid && sysid != '.') {
						buf.push(' SYSTEM ', sysid, '>');
					} else {
						var sub = n.internalSubset;
						if (sub) {
							buf.push(' [', sub, ']');
						}
						buf.push('>');
					}
					return null;

				case PROCESSING_INSTRUCTION_NODE:
					if (requireWellFormed && n.data.indexOf('?>') !== -1) {
						throw new DOMException(INVALID_STATE_ERR, 'The ProcessingInstruction data contains "?>"');
					}
					buf.push('<?', n.target, ' ', n.data, '?>');
					return null;

				case ENTITY_REFERENCE_NODE:
					buf.push('&', n.nodeName, ';');
					return null;

				//case ENTITY_NODE:
				//case NOTATION_NODE:
				default:
					buf.push('??', n.nodeName);
					return null;
			}
		},
		exit: function (n, childCtx) {
			if (childCtx && childCtx.tag) {
				buf.push('</', childCtx.tag, '>');
			}
		},
	});
}
/**
 * Imports a node from a different document into `doc`, creating a new copy.
 * Delegates to {@link walkDOM} for traversal. Each node in the subtree is shallow-cloned,
 * stamped with `doc` as its `ownerDocument`, and detached (`parentNode` set to `null`).
 * Children are imported recursively when `deep` is `true`; for {@link Attr} nodes `deep` is
 * always forced to `true`
 * because an attribute's value lives in a child text node.
 *
 * @param {Document} doc
 * The document that will own the imported node.
 * @param {Node} node
 * The node to import.
 * @param {boolean} deep
 * If `true`, descendants are imported recursively.
 * @returns {Node}
 * The newly imported node, now owned by `doc`.
 */
function importNode(doc, node, deep) {
	var destRoot;
	walkDOM(node, null, {
		enter: function (srcNode, destParent) {
			// Shallow-clone the node and stamp it into the target document.
			var destNode = srcNode.cloneNode(false);
			destNode.ownerDocument = doc;
			destNode.parentNode = null;
			// capture as the root of the imported subtree or attach to parent.
			if (destParent === null) {
				destRoot = destNode;
			} else {
				destParent.appendChild(destNode);
			}
			// ATTRIBUTE_NODE must always be imported deeply: its value lives in a child text node.
			var shouldDeep = srcNode.nodeType === ATTRIBUTE_NODE || deep;
			return shouldDeep ? destNode : null;
		},
	});
	return destRoot;
}
//
//var _relationMap = {firstChild:1,lastChild:1,previousSibling:1,nextSibling:1,
//					attributes:1,childNodes:1,parentNode:1,documentElement:1,doctype,};
function cloneNode(doc, node, deep) {
	var destRoot;
	walkDOM(node, null, {
		enter: function (srcNode, destParent) {
			// 1. Create a blank node of the same type and copy all scalar own properties.
			var destNode = new srcNode.constructor();
			for (var n in srcNode) {
				if (Object.prototype.hasOwnProperty.call(srcNode, n)) {
					var v = srcNode[n];
					if (typeof v != 'object') {
						if (v != destNode[n]) {
							destNode[n] = v;
						}
					}
				}
			}
			if (srcNode.childNodes) {
				destNode.childNodes = new NodeList();
			}
			destNode.ownerDocument = doc;
			// 2. Handle node-type-specific setup.
			//    Attributes are not DOM children, so they are cloned inline here
			//    rather than by walkDOM descent.
			//    ATTRIBUTE_NODE forces deep=true so its own children are walked.
			var shouldDeep = deep;
			switch (destNode.nodeType) {
				case ELEMENT_NODE:
					var attrs = srcNode.attributes;
					var attrs2 = (destNode.attributes = new NamedNodeMap());
					var len = attrs.length;
					attrs2._ownerElement = destNode;
					for (var i = 0; i < len; i++) {
						destNode.setAttributeNode(cloneNode(doc, attrs.item(i), true));
					}
					break;
				case ATTRIBUTE_NODE:
					shouldDeep = true;
			}
			// 3. Attach to parent, or capture as the root of the cloned subtree.
			if (destParent !== null) {
				destParent.appendChild(destNode);
			} else {
				destRoot = destNode;
			}
			// 4. Return destNode as the context for children (causes walkDOM to descend),
			//    or null to skip children (shallow clone).
			return shouldDeep ? destNode : null;
		},
	});
	return destRoot;
}

function __set__(object,key,value){
	object[key] = value
}
//do dynamic
try{
	if(Object.defineProperty){
		Object.defineProperty(LiveNodeList.prototype,'length',{
			get:function(){
				_updateLiveList(this);
				return this.$$length;
			}
		});

		/**
		 * The text content of this node and its descendants.
		 *
		 * Setting `textContent` on an element or document fragment replaces all child nodes with a
		 * single text node; on other nodes it sets `data`, `value`, and `nodeValue` directly.
		 *
		 * @type {string | null}
		 * @see {@link https://dom.spec.whatwg.org/#dom-node-textcontent}
		 */
		Object.defineProperty(Node.prototype, 'textContent', {
			get: function () {
				if (this.nodeType === ELEMENT_NODE || this.nodeType === DOCUMENT_FRAGMENT_NODE) {
					var buf = [];
					walkDOM(this, null, {
						enter: function (n) {
							if (n.nodeType === ELEMENT_NODE || n.nodeType === DOCUMENT_FRAGMENT_NODE) {
								return true; // enter children
							}
							if (n.nodeType === PROCESSING_INSTRUCTION_NODE || n.nodeType === COMMENT_NODE) {
								return null; // excluded from text content
							}
							buf.push(n.nodeValue);
						},
					});
					return buf.join('');
				}
				return this.nodeValue;
			},

			set: function (data) {
				switch (this.nodeType) {
					case ELEMENT_NODE:
					case DOCUMENT_FRAGMENT_NODE:
						while (this.firstChild) {
							this.removeChild(this.firstChild);
						}
						if (data || String(data)) {
							this.appendChild(this.ownerDocument.createTextNode(data));
						}
						break;

					default:
						this.data = data;
						this.value = data;
						this.nodeValue = data;
				}
			},
		})

		__set__ = function(object,key,value){
			//console.log(value)
			object['$$'+key] = value
		}
	}
}catch(e){//ie8
}

//if(typeof require == 'function'){
	exports.DocumentType = DocumentType;
	exports.DOMException = DOMException;
	exports.DOMImplementation = DOMImplementation;
	exports.Element = Element;
	exports.Node = Node;
	exports.NodeList = NodeList;
	exports.walkDOM = walkDOM;
	exports.XMLSerializer = XMLSerializer;
//}


/***/ },

/***/ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/entities.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/entities.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";


var freeze = (__webpack_require__(/*! ./conventions */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/conventions.js").freeze);

/**
 * The entities that are predefined in every XML document.
 *
 * @see https://www.w3.org/TR/2006/REC-xml11-20060816/#sec-predefined-ent W3C XML 1.1
 * @see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-predefined-ent W3C XML 1.0
 * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML Wikipedia
 */
exports.XML_ENTITIES = freeze({
	amp: '&',
	apos: "'",
	gt: '>',
	lt: '<',
	quot: '"',
});

/**
 * A map of all entities that are detected in an HTML document.
 * They contain all entries from `XML_ENTITIES`.
 *
 * @see XML_ENTITIES
 * @see DOMParser.parseFromString
 * @see DOMImplementation.prototype.createHTMLDocument
 * @see https://html.spec.whatwg.org/#named-character-references WHATWG HTML(5) Spec
 * @see https://html.spec.whatwg.org/entities.json JSON
 * @see https://www.w3.org/TR/xml-entity-names/ W3C XML Entity Names
 * @see https://www.w3.org/TR/html4/sgml/entities.html W3C HTML4/SGML
 * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML Wikipedia (HTML)
 * @see https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Entities_representing_special_characters_in_XHTML Wikpedia (XHTML)
 */
exports.HTML_ENTITIES = freeze({
	Aacute: '\u00C1',
	aacute: '\u00E1',
	Abreve: '\u0102',
	abreve: '\u0103',
	ac: '\u223E',
	acd: '\u223F',
	acE: '\u223E\u0333',
	Acirc: '\u00C2',
	acirc: '\u00E2',
	acute: '\u00B4',
	Acy: '\u0410',
	acy: '\u0430',
	AElig: '\u00C6',
	aelig: '\u00E6',
	af: '\u2061',
	Afr: '\uD835\uDD04',
	afr: '\uD835\uDD1E',
	Agrave: '\u00C0',
	agrave: '\u00E0',
	alefsym: '\u2135',
	aleph: '\u2135',
	Alpha: '\u0391',
	alpha: '\u03B1',
	Amacr: '\u0100',
	amacr: '\u0101',
	amalg: '\u2A3F',
	AMP: '\u0026',
	amp: '\u0026',
	And: '\u2A53',
	and: '\u2227',
	andand: '\u2A55',
	andd: '\u2A5C',
	andslope: '\u2A58',
	andv: '\u2A5A',
	ang: '\u2220',
	ange: '\u29A4',
	angle: '\u2220',
	angmsd: '\u2221',
	angmsdaa: '\u29A8',
	angmsdab: '\u29A9',
	angmsdac: '\u29AA',
	angmsdad: '\u29AB',
	angmsdae: '\u29AC',
	angmsdaf: '\u29AD',
	angmsdag: '\u29AE',
	angmsdah: '\u29AF',
	angrt: '\u221F',
	angrtvb: '\u22BE',
	angrtvbd: '\u299D',
	angsph: '\u2222',
	angst: '\u00C5',
	angzarr: '\u237C',
	Aogon: '\u0104',
	aogon: '\u0105',
	Aopf: '\uD835\uDD38',
	aopf: '\uD835\uDD52',
	ap: '\u2248',
	apacir: '\u2A6F',
	apE: '\u2A70',
	ape: '\u224A',
	apid: '\u224B',
	apos: '\u0027',
	ApplyFunction: '\u2061',
	approx: '\u2248',
	approxeq: '\u224A',
	Aring: '\u00C5',
	aring: '\u00E5',
	Ascr: '\uD835\uDC9C',
	ascr: '\uD835\uDCB6',
	Assign: '\u2254',
	ast: '\u002A',
	asymp: '\u2248',
	asympeq: '\u224D',
	Atilde: '\u00C3',
	atilde: '\u00E3',
	Auml: '\u00C4',
	auml: '\u00E4',
	awconint: '\u2233',
	awint: '\u2A11',
	backcong: '\u224C',
	backepsilon: '\u03F6',
	backprime: '\u2035',
	backsim: '\u223D',
	backsimeq: '\u22CD',
	Backslash: '\u2216',
	Barv: '\u2AE7',
	barvee: '\u22BD',
	Barwed: '\u2306',
	barwed: '\u2305',
	barwedge: '\u2305',
	bbrk: '\u23B5',
	bbrktbrk: '\u23B6',
	bcong: '\u224C',
	Bcy: '\u0411',
	bcy: '\u0431',
	bdquo: '\u201E',
	becaus: '\u2235',
	Because: '\u2235',
	because: '\u2235',
	bemptyv: '\u29B0',
	bepsi: '\u03F6',
	bernou: '\u212C',
	Bernoullis: '\u212C',
	Beta: '\u0392',
	beta: '\u03B2',
	beth: '\u2136',
	between: '\u226C',
	Bfr: '\uD835\uDD05',
	bfr: '\uD835\uDD1F',
	bigcap: '\u22C2',
	bigcirc: '\u25EF',
	bigcup: '\u22C3',
	bigodot: '\u2A00',
	bigoplus: '\u2A01',
	bigotimes: '\u2A02',
	bigsqcup: '\u2A06',
	bigstar: '\u2605',
	bigtriangledown: '\u25BD',
	bigtriangleup: '\u25B3',
	biguplus: '\u2A04',
	bigvee: '\u22C1',
	bigwedge: '\u22C0',
	bkarow: '\u290D',
	blacklozenge: '\u29EB',
	blacksquare: '\u25AA',
	blacktriangle: '\u25B4',
	blacktriangledown: '\u25BE',
	blacktriangleleft: '\u25C2',
	blacktriangleright: '\u25B8',
	blank: '\u2423',
	blk12: '\u2592',
	blk14: '\u2591',
	blk34: '\u2593',
	block: '\u2588',
	bne: '\u003D\u20E5',
	bnequiv: '\u2261\u20E5',
	bNot: '\u2AED',
	bnot: '\u2310',
	Bopf: '\uD835\uDD39',
	bopf: '\uD835\uDD53',
	bot: '\u22A5',
	bottom: '\u22A5',
	bowtie: '\u22C8',
	boxbox: '\u29C9',
	boxDL: '\u2557',
	boxDl: '\u2556',
	boxdL: '\u2555',
	boxdl: '\u2510',
	boxDR: '\u2554',
	boxDr: '\u2553',
	boxdR: '\u2552',
	boxdr: '\u250C',
	boxH: '\u2550',
	boxh: '\u2500',
	boxHD: '\u2566',
	boxHd: '\u2564',
	boxhD: '\u2565',
	boxhd: '\u252C',
	boxHU: '\u2569',
	boxHu: '\u2567',
	boxhU: '\u2568',
	boxhu: '\u2534',
	boxminus: '\u229F',
	boxplus: '\u229E',
	boxtimes: '\u22A0',
	boxUL: '\u255D',
	boxUl: '\u255C',
	boxuL: '\u255B',
	boxul: '\u2518',
	boxUR: '\u255A',
	boxUr: '\u2559',
	boxuR: '\u2558',
	boxur: '\u2514',
	boxV: '\u2551',
	boxv: '\u2502',
	boxVH: '\u256C',
	boxVh: '\u256B',
	boxvH: '\u256A',
	boxvh: '\u253C',
	boxVL: '\u2563',
	boxVl: '\u2562',
	boxvL: '\u2561',
	boxvl: '\u2524',
	boxVR: '\u2560',
	boxVr: '\u255F',
	boxvR: '\u255E',
	boxvr: '\u251C',
	bprime: '\u2035',
	Breve: '\u02D8',
	breve: '\u02D8',
	brvbar: '\u00A6',
	Bscr: '\u212C',
	bscr: '\uD835\uDCB7',
	bsemi: '\u204F',
	bsim: '\u223D',
	bsime: '\u22CD',
	bsol: '\u005C',
	bsolb: '\u29C5',
	bsolhsub: '\u27C8',
	bull: '\u2022',
	bullet: '\u2022',
	bump: '\u224E',
	bumpE: '\u2AAE',
	bumpe: '\u224F',
	Bumpeq: '\u224E',
	bumpeq: '\u224F',
	Cacute: '\u0106',
	cacute: '\u0107',
	Cap: '\u22D2',
	cap: '\u2229',
	capand: '\u2A44',
	capbrcup: '\u2A49',
	capcap: '\u2A4B',
	capcup: '\u2A47',
	capdot: '\u2A40',
	CapitalDifferentialD: '\u2145',
	caps: '\u2229\uFE00',
	caret: '\u2041',
	caron: '\u02C7',
	Cayleys: '\u212D',
	ccaps: '\u2A4D',
	Ccaron: '\u010C',
	ccaron: '\u010D',
	Ccedil: '\u00C7',
	ccedil: '\u00E7',
	Ccirc: '\u0108',
	ccirc: '\u0109',
	Cconint: '\u2230',
	ccups: '\u2A4C',
	ccupssm: '\u2A50',
	Cdot: '\u010A',
	cdot: '\u010B',
	cedil: '\u00B8',
	Cedilla: '\u00B8',
	cemptyv: '\u29B2',
	cent: '\u00A2',
	CenterDot: '\u00B7',
	centerdot: '\u00B7',
	Cfr: '\u212D',
	cfr: '\uD835\uDD20',
	CHcy: '\u0427',
	chcy: '\u0447',
	check: '\u2713',
	checkmark: '\u2713',
	Chi: '\u03A7',
	chi: '\u03C7',
	cir: '\u25CB',
	circ: '\u02C6',
	circeq: '\u2257',
	circlearrowleft: '\u21BA',
	circlearrowright: '\u21BB',
	circledast: '\u229B',
	circledcirc: '\u229A',
	circleddash: '\u229D',
	CircleDot: '\u2299',
	circledR: '\u00AE',
	circledS: '\u24C8',
	CircleMinus: '\u2296',
	CirclePlus: '\u2295',
	CircleTimes: '\u2297',
	cirE: '\u29C3',
	cire: '\u2257',
	cirfnint: '\u2A10',
	cirmid: '\u2AEF',
	cirscir: '\u29C2',
	ClockwiseContourIntegral: '\u2232',
	CloseCurlyDoubleQuote: '\u201D',
	CloseCurlyQuote: '\u2019',
	clubs: '\u2663',
	clubsuit: '\u2663',
	Colon: '\u2237',
	colon: '\u003A',
	Colone: '\u2A74',
	colone: '\u2254',
	coloneq: '\u2254',
	comma: '\u002C',
	commat: '\u0040',
	comp: '\u2201',
	compfn: '\u2218',
	complement: '\u2201',
	complexes: '\u2102',
	cong: '\u2245',
	congdot: '\u2A6D',
	Congruent: '\u2261',
	Conint: '\u222F',
	conint: '\u222E',
	ContourIntegral: '\u222E',
	Copf: '\u2102',
	copf: '\uD835\uDD54',
	coprod: '\u2210',
	Coproduct: '\u2210',
	COPY: '\u00A9',
	copy: '\u00A9',
	copysr: '\u2117',
	CounterClockwiseContourIntegral: '\u2233',
	crarr: '\u21B5',
	Cross: '\u2A2F',
	cross: '\u2717',
	Cscr: '\uD835\uDC9E',
	cscr: '\uD835\uDCB8',
	csub: '\u2ACF',
	csube: '\u2AD1',
	csup: '\u2AD0',
	csupe: '\u2AD2',
	ctdot: '\u22EF',
	cudarrl: '\u2938',
	cudarrr: '\u2935',
	cuepr: '\u22DE',
	cuesc: '\u22DF',
	cularr: '\u21B6',
	cularrp: '\u293D',
	Cup: '\u22D3',
	cup: '\u222A',
	cupbrcap: '\u2A48',
	CupCap: '\u224D',
	cupcap: '\u2A46',
	cupcup: '\u2A4A',
	cupdot: '\u228D',
	cupor: '\u2A45',
	cups: '\u222A\uFE00',
	curarr: '\u21B7',
	curarrm: '\u293C',
	curlyeqprec: '\u22DE',
	curlyeqsucc: '\u22DF',
	curlyvee: '\u22CE',
	curlywedge: '\u22CF',
	curren: '\u00A4',
	curvearrowleft: '\u21B6',
	curvearrowright: '\u21B7',
	cuvee: '\u22CE',
	cuwed: '\u22CF',
	cwconint: '\u2232',
	cwint: '\u2231',
	cylcty: '\u232D',
	Dagger: '\u2021',
	dagger: '\u2020',
	daleth: '\u2138',
	Darr: '\u21A1',
	dArr: '\u21D3',
	darr: '\u2193',
	dash: '\u2010',
	Dashv: '\u2AE4',
	dashv: '\u22A3',
	dbkarow: '\u290F',
	dblac: '\u02DD',
	Dcaron: '\u010E',
	dcaron: '\u010F',
	Dcy: '\u0414',
	dcy: '\u0434',
	DD: '\u2145',
	dd: '\u2146',
	ddagger: '\u2021',
	ddarr: '\u21CA',
	DDotrahd: '\u2911',
	ddotseq: '\u2A77',
	deg: '\u00B0',
	Del: '\u2207',
	Delta: '\u0394',
	delta: '\u03B4',
	demptyv: '\u29B1',
	dfisht: '\u297F',
	Dfr: '\uD835\uDD07',
	dfr: '\uD835\uDD21',
	dHar: '\u2965',
	dharl: '\u21C3',
	dharr: '\u21C2',
	DiacriticalAcute: '\u00B4',
	DiacriticalDot: '\u02D9',
	DiacriticalDoubleAcute: '\u02DD',
	DiacriticalGrave: '\u0060',
	DiacriticalTilde: '\u02DC',
	diam: '\u22C4',
	Diamond: '\u22C4',
	diamond: '\u22C4',
	diamondsuit: '\u2666',
	diams: '\u2666',
	die: '\u00A8',
	DifferentialD: '\u2146',
	digamma: '\u03DD',
	disin: '\u22F2',
	div: '\u00F7',
	divide: '\u00F7',
	divideontimes: '\u22C7',
	divonx: '\u22C7',
	DJcy: '\u0402',
	djcy: '\u0452',
	dlcorn: '\u231E',
	dlcrop: '\u230D',
	dollar: '\u0024',
	Dopf: '\uD835\uDD3B',
	dopf: '\uD835\uDD55',
	Dot: '\u00A8',
	dot: '\u02D9',
	DotDot: '\u20DC',
	doteq: '\u2250',
	doteqdot: '\u2251',
	DotEqual: '\u2250',
	dotminus: '\u2238',
	dotplus: '\u2214',
	dotsquare: '\u22A1',
	doublebarwedge: '\u2306',
	DoubleContourIntegral: '\u222F',
	DoubleDot: '\u00A8',
	DoubleDownArrow: '\u21D3',
	DoubleLeftArrow: '\u21D0',
	DoubleLeftRightArrow: '\u21D4',
	DoubleLeftTee: '\u2AE4',
	DoubleLongLeftArrow: '\u27F8',
	DoubleLongLeftRightArrow: '\u27FA',
	DoubleLongRightArrow: '\u27F9',
	DoubleRightArrow: '\u21D2',
	DoubleRightTee: '\u22A8',
	DoubleUpArrow: '\u21D1',
	DoubleUpDownArrow: '\u21D5',
	DoubleVerticalBar: '\u2225',
	DownArrow: '\u2193',
	Downarrow: '\u21D3',
	downarrow: '\u2193',
	DownArrowBar: '\u2913',
	DownArrowUpArrow: '\u21F5',
	DownBreve: '\u0311',
	downdownarrows: '\u21CA',
	downharpoonleft: '\u21C3',
	downharpoonright: '\u21C2',
	DownLeftRightVector: '\u2950',
	DownLeftTeeVector: '\u295E',
	DownLeftVector: '\u21BD',
	DownLeftVectorBar: '\u2956',
	DownRightTeeVector: '\u295F',
	DownRightVector: '\u21C1',
	DownRightVectorBar: '\u2957',
	DownTee: '\u22A4',
	DownTeeArrow: '\u21A7',
	drbkarow: '\u2910',
	drcorn: '\u231F',
	drcrop: '\u230C',
	Dscr: '\uD835\uDC9F',
	dscr: '\uD835\uDCB9',
	DScy: '\u0405',
	dscy: '\u0455',
	dsol: '\u29F6',
	Dstrok: '\u0110',
	dstrok: '\u0111',
	dtdot: '\u22F1',
	dtri: '\u25BF',
	dtrif: '\u25BE',
	duarr: '\u21F5',
	duhar: '\u296F',
	dwangle: '\u29A6',
	DZcy: '\u040F',
	dzcy: '\u045F',
	dzigrarr: '\u27FF',
	Eacute: '\u00C9',
	eacute: '\u00E9',
	easter: '\u2A6E',
	Ecaron: '\u011A',
	ecaron: '\u011B',
	ecir: '\u2256',
	Ecirc: '\u00CA',
	ecirc: '\u00EA',
	ecolon: '\u2255',
	Ecy: '\u042D',
	ecy: '\u044D',
	eDDot: '\u2A77',
	Edot: '\u0116',
	eDot: '\u2251',
	edot: '\u0117',
	ee: '\u2147',
	efDot: '\u2252',
	Efr: '\uD835\uDD08',
	efr: '\uD835\uDD22',
	eg: '\u2A9A',
	Egrave: '\u00C8',
	egrave: '\u00E8',
	egs: '\u2A96',
	egsdot: '\u2A98',
	el: '\u2A99',
	Element: '\u2208',
	elinters: '\u23E7',
	ell: '\u2113',
	els: '\u2A95',
	elsdot: '\u2A97',
	Emacr: '\u0112',
	emacr: '\u0113',
	empty: '\u2205',
	emptyset: '\u2205',
	EmptySmallSquare: '\u25FB',
	emptyv: '\u2205',
	EmptyVerySmallSquare: '\u25AB',
	emsp: '\u2003',
	emsp13: '\u2004',
	emsp14: '\u2005',
	ENG: '\u014A',
	eng: '\u014B',
	ensp: '\u2002',
	Eogon: '\u0118',
	eogon: '\u0119',
	Eopf: '\uD835\uDD3C',
	eopf: '\uD835\uDD56',
	epar: '\u22D5',
	eparsl: '\u29E3',
	eplus: '\u2A71',
	epsi: '\u03B5',
	Epsilon: '\u0395',
	epsilon: '\u03B5',
	epsiv: '\u03F5',
	eqcirc: '\u2256',
	eqcolon: '\u2255',
	eqsim: '\u2242',
	eqslantgtr: '\u2A96',
	eqslantless: '\u2A95',
	Equal: '\u2A75',
	equals: '\u003D',
	EqualTilde: '\u2242',
	equest: '\u225F',
	Equilibrium: '\u21CC',
	equiv: '\u2261',
	equivDD: '\u2A78',
	eqvparsl: '\u29E5',
	erarr: '\u2971',
	erDot: '\u2253',
	Escr: '\u2130',
	escr: '\u212F',
	esdot: '\u2250',
	Esim: '\u2A73',
	esim: '\u2242',
	Eta: '\u0397',
	eta: '\u03B7',
	ETH: '\u00D0',
	eth: '\u00F0',
	Euml: '\u00CB',
	euml: '\u00EB',
	euro: '\u20AC',
	excl: '\u0021',
	exist: '\u2203',
	Exists: '\u2203',
	expectation: '\u2130',
	ExponentialE: '\u2147',
	exponentiale: '\u2147',
	fallingdotseq: '\u2252',
	Fcy: '\u0424',
	fcy: '\u0444',
	female: '\u2640',
	ffilig: '\uFB03',
	fflig: '\uFB00',
	ffllig: '\uFB04',
	Ffr: '\uD835\uDD09',
	ffr: '\uD835\uDD23',
	filig: '\uFB01',
	FilledSmallSquare: '\u25FC',
	FilledVerySmallSquare: '\u25AA',
	fjlig: '\u0066\u006A',
	flat: '\u266D',
	fllig: '\uFB02',
	fltns: '\u25B1',
	fnof: '\u0192',
	Fopf: '\uD835\uDD3D',
	fopf: '\uD835\uDD57',
	ForAll: '\u2200',
	forall: '\u2200',
	fork: '\u22D4',
	forkv: '\u2AD9',
	Fouriertrf: '\u2131',
	fpartint: '\u2A0D',
	frac12: '\u00BD',
	frac13: '\u2153',
	frac14: '\u00BC',
	frac15: '\u2155',
	frac16: '\u2159',
	frac18: '\u215B',
	frac23: '\u2154',
	frac25: '\u2156',
	frac34: '\u00BE',
	frac35: '\u2157',
	frac38: '\u215C',
	frac45: '\u2158',
	frac56: '\u215A',
	frac58: '\u215D',
	frac78: '\u215E',
	frasl: '\u2044',
	frown: '\u2322',
	Fscr: '\u2131',
	fscr: '\uD835\uDCBB',
	gacute: '\u01F5',
	Gamma: '\u0393',
	gamma: '\u03B3',
	Gammad: '\u03DC',
	gammad: '\u03DD',
	gap: '\u2A86',
	Gbreve: '\u011E',
	gbreve: '\u011F',
	Gcedil: '\u0122',
	Gcirc: '\u011C',
	gcirc: '\u011D',
	Gcy: '\u0413',
	gcy: '\u0433',
	Gdot: '\u0120',
	gdot: '\u0121',
	gE: '\u2267',
	ge: '\u2265',
	gEl: '\u2A8C',
	gel: '\u22DB',
	geq: '\u2265',
	geqq: '\u2267',
	geqslant: '\u2A7E',
	ges: '\u2A7E',
	gescc: '\u2AA9',
	gesdot: '\u2A80',
	gesdoto: '\u2A82',
	gesdotol: '\u2A84',
	gesl: '\u22DB\uFE00',
	gesles: '\u2A94',
	Gfr: '\uD835\uDD0A',
	gfr: '\uD835\uDD24',
	Gg: '\u22D9',
	gg: '\u226B',
	ggg: '\u22D9',
	gimel: '\u2137',
	GJcy: '\u0403',
	gjcy: '\u0453',
	gl: '\u2277',
	gla: '\u2AA5',
	glE: '\u2A92',
	glj: '\u2AA4',
	gnap: '\u2A8A',
	gnapprox: '\u2A8A',
	gnE: '\u2269',
	gne: '\u2A88',
	gneq: '\u2A88',
	gneqq: '\u2269',
	gnsim: '\u22E7',
	Gopf: '\uD835\uDD3E',
	gopf: '\uD835\uDD58',
	grave: '\u0060',
	GreaterEqual: '\u2265',
	GreaterEqualLess: '\u22DB',
	GreaterFullEqual: '\u2267',
	GreaterGreater: '\u2AA2',
	GreaterLess: '\u2277',
	GreaterSlantEqual: '\u2A7E',
	GreaterTilde: '\u2273',
	Gscr: '\uD835\uDCA2',
	gscr: '\u210A',
	gsim: '\u2273',
	gsime: '\u2A8E',
	gsiml: '\u2A90',
	Gt: '\u226B',
	GT: '\u003E',
	gt: '\u003E',
	gtcc: '\u2AA7',
	gtcir: '\u2A7A',
	gtdot: '\u22D7',
	gtlPar: '\u2995',
	gtquest: '\u2A7C',
	gtrapprox: '\u2A86',
	gtrarr: '\u2978',
	gtrdot: '\u22D7',
	gtreqless: '\u22DB',
	gtreqqless: '\u2A8C',
	gtrless: '\u2277',
	gtrsim: '\u2273',
	gvertneqq: '\u2269\uFE00',
	gvnE: '\u2269\uFE00',
	Hacek: '\u02C7',
	hairsp: '\u200A',
	half: '\u00BD',
	hamilt: '\u210B',
	HARDcy: '\u042A',
	hardcy: '\u044A',
	hArr: '\u21D4',
	harr: '\u2194',
	harrcir: '\u2948',
	harrw: '\u21AD',
	Hat: '\u005E',
	hbar: '\u210F',
	Hcirc: '\u0124',
	hcirc: '\u0125',
	hearts: '\u2665',
	heartsuit: '\u2665',
	hellip: '\u2026',
	hercon: '\u22B9',
	Hfr: '\u210C',
	hfr: '\uD835\uDD25',
	HilbertSpace: '\u210B',
	hksearow: '\u2925',
	hkswarow: '\u2926',
	hoarr: '\u21FF',
	homtht: '\u223B',
	hookleftarrow: '\u21A9',
	hookrightarrow: '\u21AA',
	Hopf: '\u210D',
	hopf: '\uD835\uDD59',
	horbar: '\u2015',
	HorizontalLine: '\u2500',
	Hscr: '\u210B',
	hscr: '\uD835\uDCBD',
	hslash: '\u210F',
	Hstrok: '\u0126',
	hstrok: '\u0127',
	HumpDownHump: '\u224E',
	HumpEqual: '\u224F',
	hybull: '\u2043',
	hyphen: '\u2010',
	Iacute: '\u00CD',
	iacute: '\u00ED',
	ic: '\u2063',
	Icirc: '\u00CE',
	icirc: '\u00EE',
	Icy: '\u0418',
	icy: '\u0438',
	Idot: '\u0130',
	IEcy: '\u0415',
	iecy: '\u0435',
	iexcl: '\u00A1',
	iff: '\u21D4',
	Ifr: '\u2111',
	ifr: '\uD835\uDD26',
	Igrave: '\u00CC',
	igrave: '\u00EC',
	ii: '\u2148',
	iiiint: '\u2A0C',
	iiint: '\u222D',
	iinfin: '\u29DC',
	iiota: '\u2129',
	IJlig: '\u0132',
	ijlig: '\u0133',
	Im: '\u2111',
	Imacr: '\u012A',
	imacr: '\u012B',
	image: '\u2111',
	ImaginaryI: '\u2148',
	imagline: '\u2110',
	imagpart: '\u2111',
	imath: '\u0131',
	imof: '\u22B7',
	imped: '\u01B5',
	Implies: '\u21D2',
	in: '\u2208',
	incare: '\u2105',
	infin: '\u221E',
	infintie: '\u29DD',
	inodot: '\u0131',
	Int: '\u222C',
	int: '\u222B',
	intcal: '\u22BA',
	integers: '\u2124',
	Integral: '\u222B',
	intercal: '\u22BA',
	Intersection: '\u22C2',
	intlarhk: '\u2A17',
	intprod: '\u2A3C',
	InvisibleComma: '\u2063',
	InvisibleTimes: '\u2062',
	IOcy: '\u0401',
	iocy: '\u0451',
	Iogon: '\u012E',
	iogon: '\u012F',
	Iopf: '\uD835\uDD40',
	iopf: '\uD835\uDD5A',
	Iota: '\u0399',
	iota: '\u03B9',
	iprod: '\u2A3C',
	iquest: '\u00BF',
	Iscr: '\u2110',
	iscr: '\uD835\uDCBE',
	isin: '\u2208',
	isindot: '\u22F5',
	isinE: '\u22F9',
	isins: '\u22F4',
	isinsv: '\u22F3',
	isinv: '\u2208',
	it: '\u2062',
	Itilde: '\u0128',
	itilde: '\u0129',
	Iukcy: '\u0406',
	iukcy: '\u0456',
	Iuml: '\u00CF',
	iuml: '\u00EF',
	Jcirc: '\u0134',
	jcirc: '\u0135',
	Jcy: '\u0419',
	jcy: '\u0439',
	Jfr: '\uD835\uDD0D',
	jfr: '\uD835\uDD27',
	jmath: '\u0237',
	Jopf: '\uD835\uDD41',
	jopf: '\uD835\uDD5B',
	Jscr: '\uD835\uDCA5',
	jscr: '\uD835\uDCBF',
	Jsercy: '\u0408',
	jsercy: '\u0458',
	Jukcy: '\u0404',
	jukcy: '\u0454',
	Kappa: '\u039A',
	kappa: '\u03BA',
	kappav: '\u03F0',
	Kcedil: '\u0136',
	kcedil: '\u0137',
	Kcy: '\u041A',
	kcy: '\u043A',
	Kfr: '\uD835\uDD0E',
	kfr: '\uD835\uDD28',
	kgreen: '\u0138',
	KHcy: '\u0425',
	khcy: '\u0445',
	KJcy: '\u040C',
	kjcy: '\u045C',
	Kopf: '\uD835\uDD42',
	kopf: '\uD835\uDD5C',
	Kscr: '\uD835\uDCA6',
	kscr: '\uD835\uDCC0',
	lAarr: '\u21DA',
	Lacute: '\u0139',
	lacute: '\u013A',
	laemptyv: '\u29B4',
	lagran: '\u2112',
	Lambda: '\u039B',
	lambda: '\u03BB',
	Lang: '\u27EA',
	lang: '\u27E8',
	langd: '\u2991',
	langle: '\u27E8',
	lap: '\u2A85',
	Laplacetrf: '\u2112',
	laquo: '\u00AB',
	Larr: '\u219E',
	lArr: '\u21D0',
	larr: '\u2190',
	larrb: '\u21E4',
	larrbfs: '\u291F',
	larrfs: '\u291D',
	larrhk: '\u21A9',
	larrlp: '\u21AB',
	larrpl: '\u2939',
	larrsim: '\u2973',
	larrtl: '\u21A2',
	lat: '\u2AAB',
	lAtail: '\u291B',
	latail: '\u2919',
	late: '\u2AAD',
	lates: '\u2AAD\uFE00',
	lBarr: '\u290E',
	lbarr: '\u290C',
	lbbrk: '\u2772',
	lbrace: '\u007B',
	lbrack: '\u005B',
	lbrke: '\u298B',
	lbrksld: '\u298F',
	lbrkslu: '\u298D',
	Lcaron: '\u013D',
	lcaron: '\u013E',
	Lcedil: '\u013B',
	lcedil: '\u013C',
	lceil: '\u2308',
	lcub: '\u007B',
	Lcy: '\u041B',
	lcy: '\u043B',
	ldca: '\u2936',
	ldquo: '\u201C',
	ldquor: '\u201E',
	ldrdhar: '\u2967',
	ldrushar: '\u294B',
	ldsh: '\u21B2',
	lE: '\u2266',
	le: '\u2264',
	LeftAngleBracket: '\u27E8',
	LeftArrow: '\u2190',
	Leftarrow: '\u21D0',
	leftarrow: '\u2190',
	LeftArrowBar: '\u21E4',
	LeftArrowRightArrow: '\u21C6',
	leftarrowtail: '\u21A2',
	LeftCeiling: '\u2308',
	LeftDoubleBracket: '\u27E6',
	LeftDownTeeVector: '\u2961',
	LeftDownVector: '\u21C3',
	LeftDownVectorBar: '\u2959',
	LeftFloor: '\u230A',
	leftharpoondown: '\u21BD',
	leftharpoonup: '\u21BC',
	leftleftarrows: '\u21C7',
	LeftRightArrow: '\u2194',
	Leftrightarrow: '\u21D4',
	leftrightarrow: '\u2194',
	leftrightarrows: '\u21C6',
	leftrightharpoons: '\u21CB',
	leftrightsquigarrow: '\u21AD',
	LeftRightVector: '\u294E',
	LeftTee: '\u22A3',
	LeftTeeArrow: '\u21A4',
	LeftTeeVector: '\u295A',
	leftthreetimes: '\u22CB',
	LeftTriangle: '\u22B2',
	LeftTriangleBar: '\u29CF',
	LeftTriangleEqual: '\u22B4',
	LeftUpDownVector: '\u2951',
	LeftUpTeeVector: '\u2960',
	LeftUpVector: '\u21BF',
	LeftUpVectorBar: '\u2958',
	LeftVector: '\u21BC',
	LeftVectorBar: '\u2952',
	lEg: '\u2A8B',
	leg: '\u22DA',
	leq: '\u2264',
	leqq: '\u2266',
	leqslant: '\u2A7D',
	les: '\u2A7D',
	lescc: '\u2AA8',
	lesdot: '\u2A7F',
	lesdoto: '\u2A81',
	lesdotor: '\u2A83',
	lesg: '\u22DA\uFE00',
	lesges: '\u2A93',
	lessapprox: '\u2A85',
	lessdot: '\u22D6',
	lesseqgtr: '\u22DA',
	lesseqqgtr: '\u2A8B',
	LessEqualGreater: '\u22DA',
	LessFullEqual: '\u2266',
	LessGreater: '\u2276',
	lessgtr: '\u2276',
	LessLess: '\u2AA1',
	lesssim: '\u2272',
	LessSlantEqual: '\u2A7D',
	LessTilde: '\u2272',
	lfisht: '\u297C',
	lfloor: '\u230A',
	Lfr: '\uD835\uDD0F',
	lfr: '\uD835\uDD29',
	lg: '\u2276',
	lgE: '\u2A91',
	lHar: '\u2962',
	lhard: '\u21BD',
	lharu: '\u21BC',
	lharul: '\u296A',
	lhblk: '\u2584',
	LJcy: '\u0409',
	ljcy: '\u0459',
	Ll: '\u22D8',
	ll: '\u226A',
	llarr: '\u21C7',
	llcorner: '\u231E',
	Lleftarrow: '\u21DA',
	llhard: '\u296B',
	lltri: '\u25FA',
	Lmidot: '\u013F',
	lmidot: '\u0140',
	lmoust: '\u23B0',
	lmoustache: '\u23B0',
	lnap: '\u2A89',
	lnapprox: '\u2A89',
	lnE: '\u2268',
	lne: '\u2A87',
	lneq: '\u2A87',
	lneqq: '\u2268',
	lnsim: '\u22E6',
	loang: '\u27EC',
	loarr: '\u21FD',
	lobrk: '\u27E6',
	LongLeftArrow: '\u27F5',
	Longleftarrow: '\u27F8',
	longleftarrow: '\u27F5',
	LongLeftRightArrow: '\u27F7',
	Longleftrightarrow: '\u27FA',
	longleftrightarrow: '\u27F7',
	longmapsto: '\u27FC',
	LongRightArrow: '\u27F6',
	Longrightarrow: '\u27F9',
	longrightarrow: '\u27F6',
	looparrowleft: '\u21AB',
	looparrowright: '\u21AC',
	lopar: '\u2985',
	Lopf: '\uD835\uDD43',
	lopf: '\uD835\uDD5D',
	loplus: '\u2A2D',
	lotimes: '\u2A34',
	lowast: '\u2217',
	lowbar: '\u005F',
	LowerLeftArrow: '\u2199',
	LowerRightArrow: '\u2198',
	loz: '\u25CA',
	lozenge: '\u25CA',
	lozf: '\u29EB',
	lpar: '\u0028',
	lparlt: '\u2993',
	lrarr: '\u21C6',
	lrcorner: '\u231F',
	lrhar: '\u21CB',
	lrhard: '\u296D',
	lrm: '\u200E',
	lrtri: '\u22BF',
	lsaquo: '\u2039',
	Lscr: '\u2112',
	lscr: '\uD835\uDCC1',
	Lsh: '\u21B0',
	lsh: '\u21B0',
	lsim: '\u2272',
	lsime: '\u2A8D',
	lsimg: '\u2A8F',
	lsqb: '\u005B',
	lsquo: '\u2018',
	lsquor: '\u201A',
	Lstrok: '\u0141',
	lstrok: '\u0142',
	Lt: '\u226A',
	LT: '\u003C',
	lt: '\u003C',
	ltcc: '\u2AA6',
	ltcir: '\u2A79',
	ltdot: '\u22D6',
	lthree: '\u22CB',
	ltimes: '\u22C9',
	ltlarr: '\u2976',
	ltquest: '\u2A7B',
	ltri: '\u25C3',
	ltrie: '\u22B4',
	ltrif: '\u25C2',
	ltrPar: '\u2996',
	lurdshar: '\u294A',
	luruhar: '\u2966',
	lvertneqq: '\u2268\uFE00',
	lvnE: '\u2268\uFE00',
	macr: '\u00AF',
	male: '\u2642',
	malt: '\u2720',
	maltese: '\u2720',
	Map: '\u2905',
	map: '\u21A6',
	mapsto: '\u21A6',
	mapstodown: '\u21A7',
	mapstoleft: '\u21A4',
	mapstoup: '\u21A5',
	marker: '\u25AE',
	mcomma: '\u2A29',
	Mcy: '\u041C',
	mcy: '\u043C',
	mdash: '\u2014',
	mDDot: '\u223A',
	measuredangle: '\u2221',
	MediumSpace: '\u205F',
	Mellintrf: '\u2133',
	Mfr: '\uD835\uDD10',
	mfr: '\uD835\uDD2A',
	mho: '\u2127',
	micro: '\u00B5',
	mid: '\u2223',
	midast: '\u002A',
	midcir: '\u2AF0',
	middot: '\u00B7',
	minus: '\u2212',
	minusb: '\u229F',
	minusd: '\u2238',
	minusdu: '\u2A2A',
	MinusPlus: '\u2213',
	mlcp: '\u2ADB',
	mldr: '\u2026',
	mnplus: '\u2213',
	models: '\u22A7',
	Mopf: '\uD835\uDD44',
	mopf: '\uD835\uDD5E',
	mp: '\u2213',
	Mscr: '\u2133',
	mscr: '\uD835\uDCC2',
	mstpos: '\u223E',
	Mu: '\u039C',
	mu: '\u03BC',
	multimap: '\u22B8',
	mumap: '\u22B8',
	nabla: '\u2207',
	Nacute: '\u0143',
	nacute: '\u0144',
	nang: '\u2220\u20D2',
	nap: '\u2249',
	napE: '\u2A70\u0338',
	napid: '\u224B\u0338',
	napos: '\u0149',
	napprox: '\u2249',
	natur: '\u266E',
	natural: '\u266E',
	naturals: '\u2115',
	nbsp: '\u00A0',
	nbump: '\u224E\u0338',
	nbumpe: '\u224F\u0338',
	ncap: '\u2A43',
	Ncaron: '\u0147',
	ncaron: '\u0148',
	Ncedil: '\u0145',
	ncedil: '\u0146',
	ncong: '\u2247',
	ncongdot: '\u2A6D\u0338',
	ncup: '\u2A42',
	Ncy: '\u041D',
	ncy: '\u043D',
	ndash: '\u2013',
	ne: '\u2260',
	nearhk: '\u2924',
	neArr: '\u21D7',
	nearr: '\u2197',
	nearrow: '\u2197',
	nedot: '\u2250\u0338',
	NegativeMediumSpace: '\u200B',
	NegativeThickSpace: '\u200B',
	NegativeThinSpace: '\u200B',
	NegativeVeryThinSpace: '\u200B',
	nequiv: '\u2262',
	nesear: '\u2928',
	nesim: '\u2242\u0338',
	NestedGreaterGreater: '\u226B',
	NestedLessLess: '\u226A',
	NewLine: '\u000A',
	nexist: '\u2204',
	nexists: '\u2204',
	Nfr: '\uD835\uDD11',
	nfr: '\uD835\uDD2B',
	ngE: '\u2267\u0338',
	nge: '\u2271',
	ngeq: '\u2271',
	ngeqq: '\u2267\u0338',
	ngeqslant: '\u2A7E\u0338',
	nges: '\u2A7E\u0338',
	nGg: '\u22D9\u0338',
	ngsim: '\u2275',
	nGt: '\u226B\u20D2',
	ngt: '\u226F',
	ngtr: '\u226F',
	nGtv: '\u226B\u0338',
	nhArr: '\u21CE',
	nharr: '\u21AE',
	nhpar: '\u2AF2',
	ni: '\u220B',
	nis: '\u22FC',
	nisd: '\u22FA',
	niv: '\u220B',
	NJcy: '\u040A',
	njcy: '\u045A',
	nlArr: '\u21CD',
	nlarr: '\u219A',
	nldr: '\u2025',
	nlE: '\u2266\u0338',
	nle: '\u2270',
	nLeftarrow: '\u21CD',
	nleftarrow: '\u219A',
	nLeftrightarrow: '\u21CE',
	nleftrightarrow: '\u21AE',
	nleq: '\u2270',
	nleqq: '\u2266\u0338',
	nleqslant: '\u2A7D\u0338',
	nles: '\u2A7D\u0338',
	nless: '\u226E',
	nLl: '\u22D8\u0338',
	nlsim: '\u2274',
	nLt: '\u226A\u20D2',
	nlt: '\u226E',
	nltri: '\u22EA',
	nltrie: '\u22EC',
	nLtv: '\u226A\u0338',
	nmid: '\u2224',
	NoBreak: '\u2060',
	NonBreakingSpace: '\u00A0',
	Nopf: '\u2115',
	nopf: '\uD835\uDD5F',
	Not: '\u2AEC',
	not: '\u00AC',
	NotCongruent: '\u2262',
	NotCupCap: '\u226D',
	NotDoubleVerticalBar: '\u2226',
	NotElement: '\u2209',
	NotEqual: '\u2260',
	NotEqualTilde: '\u2242\u0338',
	NotExists: '\u2204',
	NotGreater: '\u226F',
	NotGreaterEqual: '\u2271',
	NotGreaterFullEqual: '\u2267\u0338',
	NotGreaterGreater: '\u226B\u0338',
	NotGreaterLess: '\u2279',
	NotGreaterSlantEqual: '\u2A7E\u0338',
	NotGreaterTilde: '\u2275',
	NotHumpDownHump: '\u224E\u0338',
	NotHumpEqual: '\u224F\u0338',
	notin: '\u2209',
	notindot: '\u22F5\u0338',
	notinE: '\u22F9\u0338',
	notinva: '\u2209',
	notinvb: '\u22F7',
	notinvc: '\u22F6',
	NotLeftTriangle: '\u22EA',
	NotLeftTriangleBar: '\u29CF\u0338',
	NotLeftTriangleEqual: '\u22EC',
	NotLess: '\u226E',
	NotLessEqual: '\u2270',
	NotLessGreater: '\u2278',
	NotLessLess: '\u226A\u0338',
	NotLessSlantEqual: '\u2A7D\u0338',
	NotLessTilde: '\u2274',
	NotNestedGreaterGreater: '\u2AA2\u0338',
	NotNestedLessLess: '\u2AA1\u0338',
	notni: '\u220C',
	notniva: '\u220C',
	notnivb: '\u22FE',
	notnivc: '\u22FD',
	NotPrecedes: '\u2280',
	NotPrecedesEqual: '\u2AAF\u0338',
	NotPrecedesSlantEqual: '\u22E0',
	NotReverseElement: '\u220C',
	NotRightTriangle: '\u22EB',
	NotRightTriangleBar: '\u29D0\u0338',
	NotRightTriangleEqual: '\u22ED',
	NotSquareSubset: '\u228F\u0338',
	NotSquareSubsetEqual: '\u22E2',
	NotSquareSuperset: '\u2290\u0338',
	NotSquareSupersetEqual: '\u22E3',
	NotSubset: '\u2282\u20D2',
	NotSubsetEqual: '\u2288',
	NotSucceeds: '\u2281',
	NotSucceedsEqual: '\u2AB0\u0338',
	NotSucceedsSlantEqual: '\u22E1',
	NotSucceedsTilde: '\u227F\u0338',
	NotSuperset: '\u2283\u20D2',
	NotSupersetEqual: '\u2289',
	NotTilde: '\u2241',
	NotTildeEqual: '\u2244',
	NotTildeFullEqual: '\u2247',
	NotTildeTilde: '\u2249',
	NotVerticalBar: '\u2224',
	npar: '\u2226',
	nparallel: '\u2226',
	nparsl: '\u2AFD\u20E5',
	npart: '\u2202\u0338',
	npolint: '\u2A14',
	npr: '\u2280',
	nprcue: '\u22E0',
	npre: '\u2AAF\u0338',
	nprec: '\u2280',
	npreceq: '\u2AAF\u0338',
	nrArr: '\u21CF',
	nrarr: '\u219B',
	nrarrc: '\u2933\u0338',
	nrarrw: '\u219D\u0338',
	nRightarrow: '\u21CF',
	nrightarrow: '\u219B',
	nrtri: '\u22EB',
	nrtrie: '\u22ED',
	nsc: '\u2281',
	nsccue: '\u22E1',
	nsce: '\u2AB0\u0338',
	Nscr: '\uD835\uDCA9',
	nscr: '\uD835\uDCC3',
	nshortmid: '\u2224',
	nshortparallel: '\u2226',
	nsim: '\u2241',
	nsime: '\u2244',
	nsimeq: '\u2244',
	nsmid: '\u2224',
	nspar: '\u2226',
	nsqsube: '\u22E2',
	nsqsupe: '\u22E3',
	nsub: '\u2284',
	nsubE: '\u2AC5\u0338',
	nsube: '\u2288',
	nsubset: '\u2282\u20D2',
	nsubseteq: '\u2288',
	nsubseteqq: '\u2AC5\u0338',
	nsucc: '\u2281',
	nsucceq: '\u2AB0\u0338',
	nsup: '\u2285',
	nsupE: '\u2AC6\u0338',
	nsupe: '\u2289',
	nsupset: '\u2283\u20D2',
	nsupseteq: '\u2289',
	nsupseteqq: '\u2AC6\u0338',
	ntgl: '\u2279',
	Ntilde: '\u00D1',
	ntilde: '\u00F1',
	ntlg: '\u2278',
	ntriangleleft: '\u22EA',
	ntrianglelefteq: '\u22EC',
	ntriangleright: '\u22EB',
	ntrianglerighteq: '\u22ED',
	Nu: '\u039D',
	nu: '\u03BD',
	num: '\u0023',
	numero: '\u2116',
	numsp: '\u2007',
	nvap: '\u224D\u20D2',
	nVDash: '\u22AF',
	nVdash: '\u22AE',
	nvDash: '\u22AD',
	nvdash: '\u22AC',
	nvge: '\u2265\u20D2',
	nvgt: '\u003E\u20D2',
	nvHarr: '\u2904',
	nvinfin: '\u29DE',
	nvlArr: '\u2902',
	nvle: '\u2264\u20D2',
	nvlt: '\u003C\u20D2',
	nvltrie: '\u22B4\u20D2',
	nvrArr: '\u2903',
	nvrtrie: '\u22B5\u20D2',
	nvsim: '\u223C\u20D2',
	nwarhk: '\u2923',
	nwArr: '\u21D6',
	nwarr: '\u2196',
	nwarrow: '\u2196',
	nwnear: '\u2927',
	Oacute: '\u00D3',
	oacute: '\u00F3',
	oast: '\u229B',
	ocir: '\u229A',
	Ocirc: '\u00D4',
	ocirc: '\u00F4',
	Ocy: '\u041E',
	ocy: '\u043E',
	odash: '\u229D',
	Odblac: '\u0150',
	odblac: '\u0151',
	odiv: '\u2A38',
	odot: '\u2299',
	odsold: '\u29BC',
	OElig: '\u0152',
	oelig: '\u0153',
	ofcir: '\u29BF',
	Ofr: '\uD835\uDD12',
	ofr: '\uD835\uDD2C',
	ogon: '\u02DB',
	Ograve: '\u00D2',
	ograve: '\u00F2',
	ogt: '\u29C1',
	ohbar: '\u29B5',
	ohm: '\u03A9',
	oint: '\u222E',
	olarr: '\u21BA',
	olcir: '\u29BE',
	olcross: '\u29BB',
	oline: '\u203E',
	olt: '\u29C0',
	Omacr: '\u014C',
	omacr: '\u014D',
	Omega: '\u03A9',
	omega: '\u03C9',
	Omicron: '\u039F',
	omicron: '\u03BF',
	omid: '\u29B6',
	ominus: '\u2296',
	Oopf: '\uD835\uDD46',
	oopf: '\uD835\uDD60',
	opar: '\u29B7',
	OpenCurlyDoubleQuote: '\u201C',
	OpenCurlyQuote: '\u2018',
	operp: '\u29B9',
	oplus: '\u2295',
	Or: '\u2A54',
	or: '\u2228',
	orarr: '\u21BB',
	ord: '\u2A5D',
	order: '\u2134',
	orderof: '\u2134',
	ordf: '\u00AA',
	ordm: '\u00BA',
	origof: '\u22B6',
	oror: '\u2A56',
	orslope: '\u2A57',
	orv: '\u2A5B',
	oS: '\u24C8',
	Oscr: '\uD835\uDCAA',
	oscr: '\u2134',
	Oslash: '\u00D8',
	oslash: '\u00F8',
	osol: '\u2298',
	Otilde: '\u00D5',
	otilde: '\u00F5',
	Otimes: '\u2A37',
	otimes: '\u2297',
	otimesas: '\u2A36',
	Ouml: '\u00D6',
	ouml: '\u00F6',
	ovbar: '\u233D',
	OverBar: '\u203E',
	OverBrace: '\u23DE',
	OverBracket: '\u23B4',
	OverParenthesis: '\u23DC',
	par: '\u2225',
	para: '\u00B6',
	parallel: '\u2225',
	parsim: '\u2AF3',
	parsl: '\u2AFD',
	part: '\u2202',
	PartialD: '\u2202',
	Pcy: '\u041F',
	pcy: '\u043F',
	percnt: '\u0025',
	period: '\u002E',
	permil: '\u2030',
	perp: '\u22A5',
	pertenk: '\u2031',
	Pfr: '\uD835\uDD13',
	pfr: '\uD835\uDD2D',
	Phi: '\u03A6',
	phi: '\u03C6',
	phiv: '\u03D5',
	phmmat: '\u2133',
	phone: '\u260E',
	Pi: '\u03A0',
	pi: '\u03C0',
	pitchfork: '\u22D4',
	piv: '\u03D6',
	planck: '\u210F',
	planckh: '\u210E',
	plankv: '\u210F',
	plus: '\u002B',
	plusacir: '\u2A23',
	plusb: '\u229E',
	pluscir: '\u2A22',
	plusdo: '\u2214',
	plusdu: '\u2A25',
	pluse: '\u2A72',
	PlusMinus: '\u00B1',
	plusmn: '\u00B1',
	plussim: '\u2A26',
	plustwo: '\u2A27',
	pm: '\u00B1',
	Poincareplane: '\u210C',
	pointint: '\u2A15',
	Popf: '\u2119',
	popf: '\uD835\uDD61',
	pound: '\u00A3',
	Pr: '\u2ABB',
	pr: '\u227A',
	prap: '\u2AB7',
	prcue: '\u227C',
	prE: '\u2AB3',
	pre: '\u2AAF',
	prec: '\u227A',
	precapprox: '\u2AB7',
	preccurlyeq: '\u227C',
	Precedes: '\u227A',
	PrecedesEqual: '\u2AAF',
	PrecedesSlantEqual: '\u227C',
	PrecedesTilde: '\u227E',
	preceq: '\u2AAF',
	precnapprox: '\u2AB9',
	precneqq: '\u2AB5',
	precnsim: '\u22E8',
	precsim: '\u227E',
	Prime: '\u2033',
	prime: '\u2032',
	primes: '\u2119',
	prnap: '\u2AB9',
	prnE: '\u2AB5',
	prnsim: '\u22E8',
	prod: '\u220F',
	Product: '\u220F',
	profalar: '\u232E',
	profline: '\u2312',
	profsurf: '\u2313',
	prop: '\u221D',
	Proportion: '\u2237',
	Proportional: '\u221D',
	propto: '\u221D',
	prsim: '\u227E',
	prurel: '\u22B0',
	Pscr: '\uD835\uDCAB',
	pscr: '\uD835\uDCC5',
	Psi: '\u03A8',
	psi: '\u03C8',
	puncsp: '\u2008',
	Qfr: '\uD835\uDD14',
	qfr: '\uD835\uDD2E',
	qint: '\u2A0C',
	Qopf: '\u211A',
	qopf: '\uD835\uDD62',
	qprime: '\u2057',
	Qscr: '\uD835\uDCAC',
	qscr: '\uD835\uDCC6',
	quaternions: '\u210D',
	quatint: '\u2A16',
	quest: '\u003F',
	questeq: '\u225F',
	QUOT: '\u0022',
	quot: '\u0022',
	rAarr: '\u21DB',
	race: '\u223D\u0331',
	Racute: '\u0154',
	racute: '\u0155',
	radic: '\u221A',
	raemptyv: '\u29B3',
	Rang: '\u27EB',
	rang: '\u27E9',
	rangd: '\u2992',
	range: '\u29A5',
	rangle: '\u27E9',
	raquo: '\u00BB',
	Rarr: '\u21A0',
	rArr: '\u21D2',
	rarr: '\u2192',
	rarrap: '\u2975',
	rarrb: '\u21E5',
	rarrbfs: '\u2920',
	rarrc: '\u2933',
	rarrfs: '\u291E',
	rarrhk: '\u21AA',
	rarrlp: '\u21AC',
	rarrpl: '\u2945',
	rarrsim: '\u2974',
	Rarrtl: '\u2916',
	rarrtl: '\u21A3',
	rarrw: '\u219D',
	rAtail: '\u291C',
	ratail: '\u291A',
	ratio: '\u2236',
	rationals: '\u211A',
	RBarr: '\u2910',
	rBarr: '\u290F',
	rbarr: '\u290D',
	rbbrk: '\u2773',
	rbrace: '\u007D',
	rbrack: '\u005D',
	rbrke: '\u298C',
	rbrksld: '\u298E',
	rbrkslu: '\u2990',
	Rcaron: '\u0158',
	rcaron: '\u0159',
	Rcedil: '\u0156',
	rcedil: '\u0157',
	rceil: '\u2309',
	rcub: '\u007D',
	Rcy: '\u0420',
	rcy: '\u0440',
	rdca: '\u2937',
	rdldhar: '\u2969',
	rdquo: '\u201D',
	rdquor: '\u201D',
	rdsh: '\u21B3',
	Re: '\u211C',
	real: '\u211C',
	realine: '\u211B',
	realpart: '\u211C',
	reals: '\u211D',
	rect: '\u25AD',
	REG: '\u00AE',
	reg: '\u00AE',
	ReverseElement: '\u220B',
	ReverseEquilibrium: '\u21CB',
	ReverseUpEquilibrium: '\u296F',
	rfisht: '\u297D',
	rfloor: '\u230B',
	Rfr: '\u211C',
	rfr: '\uD835\uDD2F',
	rHar: '\u2964',
	rhard: '\u21C1',
	rharu: '\u21C0',
	rharul: '\u296C',
	Rho: '\u03A1',
	rho: '\u03C1',
	rhov: '\u03F1',
	RightAngleBracket: '\u27E9',
	RightArrow: '\u2192',
	Rightarrow: '\u21D2',
	rightarrow: '\u2192',
	RightArrowBar: '\u21E5',
	RightArrowLeftArrow: '\u21C4',
	rightarrowtail: '\u21A3',
	RightCeiling: '\u2309',
	RightDoubleBracket: '\u27E7',
	RightDownTeeVector: '\u295D',
	RightDownVector: '\u21C2',
	RightDownVectorBar: '\u2955',
	RightFloor: '\u230B',
	rightharpoondown: '\u21C1',
	rightharpoonup: '\u21C0',
	rightleftarrows: '\u21C4',
	rightleftharpoons: '\u21CC',
	rightrightarrows: '\u21C9',
	rightsquigarrow: '\u219D',
	RightTee: '\u22A2',
	RightTeeArrow: '\u21A6',
	RightTeeVector: '\u295B',
	rightthreetimes: '\u22CC',
	RightTriangle: '\u22B3',
	RightTriangleBar: '\u29D0',
	RightTriangleEqual: '\u22B5',
	RightUpDownVector: '\u294F',
	RightUpTeeVector: '\u295C',
	RightUpVector: '\u21BE',
	RightUpVectorBar: '\u2954',
	RightVector: '\u21C0',
	RightVectorBar: '\u2953',
	ring: '\u02DA',
	risingdotseq: '\u2253',
	rlarr: '\u21C4',
	rlhar: '\u21CC',
	rlm: '\u200F',
	rmoust: '\u23B1',
	rmoustache: '\u23B1',
	rnmid: '\u2AEE',
	roang: '\u27ED',
	roarr: '\u21FE',
	robrk: '\u27E7',
	ropar: '\u2986',
	Ropf: '\u211D',
	ropf: '\uD835\uDD63',
	roplus: '\u2A2E',
	rotimes: '\u2A35',
	RoundImplies: '\u2970',
	rpar: '\u0029',
	rpargt: '\u2994',
	rppolint: '\u2A12',
	rrarr: '\u21C9',
	Rrightarrow: '\u21DB',
	rsaquo: '\u203A',
	Rscr: '\u211B',
	rscr: '\uD835\uDCC7',
	Rsh: '\u21B1',
	rsh: '\u21B1',
	rsqb: '\u005D',
	rsquo: '\u2019',
	rsquor: '\u2019',
	rthree: '\u22CC',
	rtimes: '\u22CA',
	rtri: '\u25B9',
	rtrie: '\u22B5',
	rtrif: '\u25B8',
	rtriltri: '\u29CE',
	RuleDelayed: '\u29F4',
	ruluhar: '\u2968',
	rx: '\u211E',
	Sacute: '\u015A',
	sacute: '\u015B',
	sbquo: '\u201A',
	Sc: '\u2ABC',
	sc: '\u227B',
	scap: '\u2AB8',
	Scaron: '\u0160',
	scaron: '\u0161',
	sccue: '\u227D',
	scE: '\u2AB4',
	sce: '\u2AB0',
	Scedil: '\u015E',
	scedil: '\u015F',
	Scirc: '\u015C',
	scirc: '\u015D',
	scnap: '\u2ABA',
	scnE: '\u2AB6',
	scnsim: '\u22E9',
	scpolint: '\u2A13',
	scsim: '\u227F',
	Scy: '\u0421',
	scy: '\u0441',
	sdot: '\u22C5',
	sdotb: '\u22A1',
	sdote: '\u2A66',
	searhk: '\u2925',
	seArr: '\u21D8',
	searr: '\u2198',
	searrow: '\u2198',
	sect: '\u00A7',
	semi: '\u003B',
	seswar: '\u2929',
	setminus: '\u2216',
	setmn: '\u2216',
	sext: '\u2736',
	Sfr: '\uD835\uDD16',
	sfr: '\uD835\uDD30',
	sfrown: '\u2322',
	sharp: '\u266F',
	SHCHcy: '\u0429',
	shchcy: '\u0449',
	SHcy: '\u0428',
	shcy: '\u0448',
	ShortDownArrow: '\u2193',
	ShortLeftArrow: '\u2190',
	shortmid: '\u2223',
	shortparallel: '\u2225',
	ShortRightArrow: '\u2192',
	ShortUpArrow: '\u2191',
	shy: '\u00AD',
	Sigma: '\u03A3',
	sigma: '\u03C3',
	sigmaf: '\u03C2',
	sigmav: '\u03C2',
	sim: '\u223C',
	simdot: '\u2A6A',
	sime: '\u2243',
	simeq: '\u2243',
	simg: '\u2A9E',
	simgE: '\u2AA0',
	siml: '\u2A9D',
	simlE: '\u2A9F',
	simne: '\u2246',
	simplus: '\u2A24',
	simrarr: '\u2972',
	slarr: '\u2190',
	SmallCircle: '\u2218',
	smallsetminus: '\u2216',
	smashp: '\u2A33',
	smeparsl: '\u29E4',
	smid: '\u2223',
	smile: '\u2323',
	smt: '\u2AAA',
	smte: '\u2AAC',
	smtes: '\u2AAC\uFE00',
	SOFTcy: '\u042C',
	softcy: '\u044C',
	sol: '\u002F',
	solb: '\u29C4',
	solbar: '\u233F',
	Sopf: '\uD835\uDD4A',
	sopf: '\uD835\uDD64',
	spades: '\u2660',
	spadesuit: '\u2660',
	spar: '\u2225',
	sqcap: '\u2293',
	sqcaps: '\u2293\uFE00',
	sqcup: '\u2294',
	sqcups: '\u2294\uFE00',
	Sqrt: '\u221A',
	sqsub: '\u228F',
	sqsube: '\u2291',
	sqsubset: '\u228F',
	sqsubseteq: '\u2291',
	sqsup: '\u2290',
	sqsupe: '\u2292',
	sqsupset: '\u2290',
	sqsupseteq: '\u2292',
	squ: '\u25A1',
	Square: '\u25A1',
	square: '\u25A1',
	SquareIntersection: '\u2293',
	SquareSubset: '\u228F',
	SquareSubsetEqual: '\u2291',
	SquareSuperset: '\u2290',
	SquareSupersetEqual: '\u2292',
	SquareUnion: '\u2294',
	squarf: '\u25AA',
	squf: '\u25AA',
	srarr: '\u2192',
	Sscr: '\uD835\uDCAE',
	sscr: '\uD835\uDCC8',
	ssetmn: '\u2216',
	ssmile: '\u2323',
	sstarf: '\u22C6',
	Star: '\u22C6',
	star: '\u2606',
	starf: '\u2605',
	straightepsilon: '\u03F5',
	straightphi: '\u03D5',
	strns: '\u00AF',
	Sub: '\u22D0',
	sub: '\u2282',
	subdot: '\u2ABD',
	subE: '\u2AC5',
	sube: '\u2286',
	subedot: '\u2AC3',
	submult: '\u2AC1',
	subnE: '\u2ACB',
	subne: '\u228A',
	subplus: '\u2ABF',
	subrarr: '\u2979',
	Subset: '\u22D0',
	subset: '\u2282',
	subseteq: '\u2286',
	subseteqq: '\u2AC5',
	SubsetEqual: '\u2286',
	subsetneq: '\u228A',
	subsetneqq: '\u2ACB',
	subsim: '\u2AC7',
	subsub: '\u2AD5',
	subsup: '\u2AD3',
	succ: '\u227B',
	succapprox: '\u2AB8',
	succcurlyeq: '\u227D',
	Succeeds: '\u227B',
	SucceedsEqual: '\u2AB0',
	SucceedsSlantEqual: '\u227D',
	SucceedsTilde: '\u227F',
	succeq: '\u2AB0',
	succnapprox: '\u2ABA',
	succneqq: '\u2AB6',
	succnsim: '\u22E9',
	succsim: '\u227F',
	SuchThat: '\u220B',
	Sum: '\u2211',
	sum: '\u2211',
	sung: '\u266A',
	Sup: '\u22D1',
	sup: '\u2283',
	sup1: '\u00B9',
	sup2: '\u00B2',
	sup3: '\u00B3',
	supdot: '\u2ABE',
	supdsub: '\u2AD8',
	supE: '\u2AC6',
	supe: '\u2287',
	supedot: '\u2AC4',
	Superset: '\u2283',
	SupersetEqual: '\u2287',
	suphsol: '\u27C9',
	suphsub: '\u2AD7',
	suplarr: '\u297B',
	supmult: '\u2AC2',
	supnE: '\u2ACC',
	supne: '\u228B',
	supplus: '\u2AC0',
	Supset: '\u22D1',
	supset: '\u2283',
	supseteq: '\u2287',
	supseteqq: '\u2AC6',
	supsetneq: '\u228B',
	supsetneqq: '\u2ACC',
	supsim: '\u2AC8',
	supsub: '\u2AD4',
	supsup: '\u2AD6',
	swarhk: '\u2926',
	swArr: '\u21D9',
	swarr: '\u2199',
	swarrow: '\u2199',
	swnwar: '\u292A',
	szlig: '\u00DF',
	Tab: '\u0009',
	target: '\u2316',
	Tau: '\u03A4',
	tau: '\u03C4',
	tbrk: '\u23B4',
	Tcaron: '\u0164',
	tcaron: '\u0165',
	Tcedil: '\u0162',
	tcedil: '\u0163',
	Tcy: '\u0422',
	tcy: '\u0442',
	tdot: '\u20DB',
	telrec: '\u2315',
	Tfr: '\uD835\uDD17',
	tfr: '\uD835\uDD31',
	there4: '\u2234',
	Therefore: '\u2234',
	therefore: '\u2234',
	Theta: '\u0398',
	theta: '\u03B8',
	thetasym: '\u03D1',
	thetav: '\u03D1',
	thickapprox: '\u2248',
	thicksim: '\u223C',
	ThickSpace: '\u205F\u200A',
	thinsp: '\u2009',
	ThinSpace: '\u2009',
	thkap: '\u2248',
	thksim: '\u223C',
	THORN: '\u00DE',
	thorn: '\u00FE',
	Tilde: '\u223C',
	tilde: '\u02DC',
	TildeEqual: '\u2243',
	TildeFullEqual: '\u2245',
	TildeTilde: '\u2248',
	times: '\u00D7',
	timesb: '\u22A0',
	timesbar: '\u2A31',
	timesd: '\u2A30',
	tint: '\u222D',
	toea: '\u2928',
	top: '\u22A4',
	topbot: '\u2336',
	topcir: '\u2AF1',
	Topf: '\uD835\uDD4B',
	topf: '\uD835\uDD65',
	topfork: '\u2ADA',
	tosa: '\u2929',
	tprime: '\u2034',
	TRADE: '\u2122',
	trade: '\u2122',
	triangle: '\u25B5',
	triangledown: '\u25BF',
	triangleleft: '\u25C3',
	trianglelefteq: '\u22B4',
	triangleq: '\u225C',
	triangleright: '\u25B9',
	trianglerighteq: '\u22B5',
	tridot: '\u25EC',
	trie: '\u225C',
	triminus: '\u2A3A',
	TripleDot: '\u20DB',
	triplus: '\u2A39',
	trisb: '\u29CD',
	tritime: '\u2A3B',
	trpezium: '\u23E2',
	Tscr: '\uD835\uDCAF',
	tscr: '\uD835\uDCC9',
	TScy: '\u0426',
	tscy: '\u0446',
	TSHcy: '\u040B',
	tshcy: '\u045B',
	Tstrok: '\u0166',
	tstrok: '\u0167',
	twixt: '\u226C',
	twoheadleftarrow: '\u219E',
	twoheadrightarrow: '\u21A0',
	Uacute: '\u00DA',
	uacute: '\u00FA',
	Uarr: '\u219F',
	uArr: '\u21D1',
	uarr: '\u2191',
	Uarrocir: '\u2949',
	Ubrcy: '\u040E',
	ubrcy: '\u045E',
	Ubreve: '\u016C',
	ubreve: '\u016D',
	Ucirc: '\u00DB',
	ucirc: '\u00FB',
	Ucy: '\u0423',
	ucy: '\u0443',
	udarr: '\u21C5',
	Udblac: '\u0170',
	udblac: '\u0171',
	udhar: '\u296E',
	ufisht: '\u297E',
	Ufr: '\uD835\uDD18',
	ufr: '\uD835\uDD32',
	Ugrave: '\u00D9',
	ugrave: '\u00F9',
	uHar: '\u2963',
	uharl: '\u21BF',
	uharr: '\u21BE',
	uhblk: '\u2580',
	ulcorn: '\u231C',
	ulcorner: '\u231C',
	ulcrop: '\u230F',
	ultri: '\u25F8',
	Umacr: '\u016A',
	umacr: '\u016B',
	uml: '\u00A8',
	UnderBar: '\u005F',
	UnderBrace: '\u23DF',
	UnderBracket: '\u23B5',
	UnderParenthesis: '\u23DD',
	Union: '\u22C3',
	UnionPlus: '\u228E',
	Uogon: '\u0172',
	uogon: '\u0173',
	Uopf: '\uD835\uDD4C',
	uopf: '\uD835\uDD66',
	UpArrow: '\u2191',
	Uparrow: '\u21D1',
	uparrow: '\u2191',
	UpArrowBar: '\u2912',
	UpArrowDownArrow: '\u21C5',
	UpDownArrow: '\u2195',
	Updownarrow: '\u21D5',
	updownarrow: '\u2195',
	UpEquilibrium: '\u296E',
	upharpoonleft: '\u21BF',
	upharpoonright: '\u21BE',
	uplus: '\u228E',
	UpperLeftArrow: '\u2196',
	UpperRightArrow: '\u2197',
	Upsi: '\u03D2',
	upsi: '\u03C5',
	upsih: '\u03D2',
	Upsilon: '\u03A5',
	upsilon: '\u03C5',
	UpTee: '\u22A5',
	UpTeeArrow: '\u21A5',
	upuparrows: '\u21C8',
	urcorn: '\u231D',
	urcorner: '\u231D',
	urcrop: '\u230E',
	Uring: '\u016E',
	uring: '\u016F',
	urtri: '\u25F9',
	Uscr: '\uD835\uDCB0',
	uscr: '\uD835\uDCCA',
	utdot: '\u22F0',
	Utilde: '\u0168',
	utilde: '\u0169',
	utri: '\u25B5',
	utrif: '\u25B4',
	uuarr: '\u21C8',
	Uuml: '\u00DC',
	uuml: '\u00FC',
	uwangle: '\u29A7',
	vangrt: '\u299C',
	varepsilon: '\u03F5',
	varkappa: '\u03F0',
	varnothing: '\u2205',
	varphi: '\u03D5',
	varpi: '\u03D6',
	varpropto: '\u221D',
	vArr: '\u21D5',
	varr: '\u2195',
	varrho: '\u03F1',
	varsigma: '\u03C2',
	varsubsetneq: '\u228A\uFE00',
	varsubsetneqq: '\u2ACB\uFE00',
	varsupsetneq: '\u228B\uFE00',
	varsupsetneqq: '\u2ACC\uFE00',
	vartheta: '\u03D1',
	vartriangleleft: '\u22B2',
	vartriangleright: '\u22B3',
	Vbar: '\u2AEB',
	vBar: '\u2AE8',
	vBarv: '\u2AE9',
	Vcy: '\u0412',
	vcy: '\u0432',
	VDash: '\u22AB',
	Vdash: '\u22A9',
	vDash: '\u22A8',
	vdash: '\u22A2',
	Vdashl: '\u2AE6',
	Vee: '\u22C1',
	vee: '\u2228',
	veebar: '\u22BB',
	veeeq: '\u225A',
	vellip: '\u22EE',
	Verbar: '\u2016',
	verbar: '\u007C',
	Vert: '\u2016',
	vert: '\u007C',
	VerticalBar: '\u2223',
	VerticalLine: '\u007C',
	VerticalSeparator: '\u2758',
	VerticalTilde: '\u2240',
	VeryThinSpace: '\u200A',
	Vfr: '\uD835\uDD19',
	vfr: '\uD835\uDD33',
	vltri: '\u22B2',
	vnsub: '\u2282\u20D2',
	vnsup: '\u2283\u20D2',
	Vopf: '\uD835\uDD4D',
	vopf: '\uD835\uDD67',
	vprop: '\u221D',
	vrtri: '\u22B3',
	Vscr: '\uD835\uDCB1',
	vscr: '\uD835\uDCCB',
	vsubnE: '\u2ACB\uFE00',
	vsubne: '\u228A\uFE00',
	vsupnE: '\u2ACC\uFE00',
	vsupne: '\u228B\uFE00',
	Vvdash: '\u22AA',
	vzigzag: '\u299A',
	Wcirc: '\u0174',
	wcirc: '\u0175',
	wedbar: '\u2A5F',
	Wedge: '\u22C0',
	wedge: '\u2227',
	wedgeq: '\u2259',
	weierp: '\u2118',
	Wfr: '\uD835\uDD1A',
	wfr: '\uD835\uDD34',
	Wopf: '\uD835\uDD4E',
	wopf: '\uD835\uDD68',
	wp: '\u2118',
	wr: '\u2240',
	wreath: '\u2240',
	Wscr: '\uD835\uDCB2',
	wscr: '\uD835\uDCCC',
	xcap: '\u22C2',
	xcirc: '\u25EF',
	xcup: '\u22C3',
	xdtri: '\u25BD',
	Xfr: '\uD835\uDD1B',
	xfr: '\uD835\uDD35',
	xhArr: '\u27FA',
	xharr: '\u27F7',
	Xi: '\u039E',
	xi: '\u03BE',
	xlArr: '\u27F8',
	xlarr: '\u27F5',
	xmap: '\u27FC',
	xnis: '\u22FB',
	xodot: '\u2A00',
	Xopf: '\uD835\uDD4F',
	xopf: '\uD835\uDD69',
	xoplus: '\u2A01',
	xotime: '\u2A02',
	xrArr: '\u27F9',
	xrarr: '\u27F6',
	Xscr: '\uD835\uDCB3',
	xscr: '\uD835\uDCCD',
	xsqcup: '\u2A06',
	xuplus: '\u2A04',
	xutri: '\u25B3',
	xvee: '\u22C1',
	xwedge: '\u22C0',
	Yacute: '\u00DD',
	yacute: '\u00FD',
	YAcy: '\u042F',
	yacy: '\u044F',
	Ycirc: '\u0176',
	ycirc: '\u0177',
	Ycy: '\u042B',
	ycy: '\u044B',
	yen: '\u00A5',
	Yfr: '\uD835\uDD1C',
	yfr: '\uD835\uDD36',
	YIcy: '\u0407',
	yicy: '\u0457',
	Yopf: '\uD835\uDD50',
	yopf: '\uD835\uDD6A',
	Yscr: '\uD835\uDCB4',
	yscr: '\uD835\uDCCE',
	YUcy: '\u042E',
	yucy: '\u044E',
	Yuml: '\u0178',
	yuml: '\u00FF',
	Zacute: '\u0179',
	zacute: '\u017A',
	Zcaron: '\u017D',
	zcaron: '\u017E',
	Zcy: '\u0417',
	zcy: '\u0437',
	Zdot: '\u017B',
	zdot: '\u017C',
	zeetrf: '\u2128',
	ZeroWidthSpace: '\u200B',
	Zeta: '\u0396',
	zeta: '\u03B6',
	Zfr: '\u2128',
	zfr: '\uD835\uDD37',
	ZHcy: '\u0416',
	zhcy: '\u0436',
	zigrarr: '\u21DD',
	Zopf: '\u2124',
	zopf: '\uD835\uDD6B',
	Zscr: '\uD835\uDCB5',
	zscr: '\uD835\uDCCF',
	zwj: '\u200D',
	zwnj: '\u200C',
});

/**
 * @deprecated use `HTML_ENTITIES` instead
 * @see HTML_ENTITIES
 */
exports.entityMap = exports.HTML_ENTITIES;


/***/ },

/***/ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/index.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/index.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

var dom = __webpack_require__(/*! ./dom */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/dom.js")
exports.DOMImplementation = dom.DOMImplementation
exports.XMLSerializer = dom.XMLSerializer
exports.DOMParser = __webpack_require__(/*! ./dom-parser */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser


/***/ },

/***/ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/sax.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/sax.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

var NAMESPACE = (__webpack_require__(/*! ./conventions */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE);

//[4]   	NameStartChar	   ::=   	":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
//[4a]   	NameChar	   ::=   	NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
//[5]   	Name	   ::=   	NameStartChar (NameChar)*
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]///\u10000-\uEFFFF
var nameChar = new RegExp("[\\-\\.0-9"+nameStartChar.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
var tagNamePattern = new RegExp('^'+nameStartChar.source+nameChar.source+'*(?:\:'+nameStartChar.source+nameChar.source+'*)?$');
//var tagNamePattern = /^[a-zA-Z_][\w\-\.]*(?:\:[a-zA-Z_][\w\-\.]*)?$/
//var handlers = 'resolveEntity,getExternalSubset,characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping,notationDecl,unparsedEntityDecl,error,fatalError,warning,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,comment,endCDATA,endDTD,endEntity,startCDATA,startDTD,startEntity'.split(',')

//S_TAG,	S_ATTR,	S_EQ,	S_ATTR_NOQUOT_VALUE
//S_ATTR_SPACE,	S_ATTR_END,	S_TAG_SPACE, S_TAG_CLOSE
var S_TAG = 0;//tag name offerring
var S_ATTR = 1;//attr name offerring
var S_ATTR_SPACE=2;//attr name end and space offer
var S_EQ = 3;//=space?
var S_ATTR_NOQUOT_VALUE = 4;//attr value(no quot value only)
var S_ATTR_END = 5;//attr value end and no space(quot end)
var S_TAG_SPACE = 6;//(attr value end || tag end ) && (space offer)
var S_TAG_CLOSE = 7;//closed el<el />

/**
 * Creates an error that will not be caught by XMLReader aka the SAX parser.
 *
 * @param {string} message
 * @param {any?} locator Optional, can provide details about the location in the source
 * @constructor
 */
function ParseError(message, locator) {
	this.message = message
	this.locator = locator
	if(Error.captureStackTrace) Error.captureStackTrace(this, ParseError);
}
ParseError.prototype = new Error();
ParseError.prototype.name = ParseError.name

function XMLReader(){

}

XMLReader.prototype = {
	parse:function(source,defaultNSMap,entityMap){
		var domBuilder = this.domBuilder;
		domBuilder.startDocument();
		_copy(defaultNSMap ,defaultNSMap = {})
		parse(source,defaultNSMap,entityMap,
				domBuilder,this.errorHandler);
		domBuilder.endDocument();
	}
}
function parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){
	function fixedFromCharCode(code) {
		// String.prototype.fromCharCode does not supports
		// > 2 bytes unicode chars directly
		if (code > 0xffff) {
			code -= 0x10000;
			var surrogate1 = 0xd800 + (code >> 10)
				, surrogate2 = 0xdc00 + (code & 0x3ff);

			return String.fromCharCode(surrogate1, surrogate2);
		} else {
			return String.fromCharCode(code);
		}
	}
	function entityReplacer(a){
		var k = a.slice(1,-1);
		if (Object.hasOwnProperty.call(entityMap, k)) {
			return entityMap[k];
		}else if(k.charAt(0) === '#'){
			return fixedFromCharCode(parseInt(k.substr(1).replace('x','0x')))
		}else{
			errorHandler.error('entity not found:'+a);
			return a;
		}
	}
	function appendText(end){//has some bugs
		if(end>start){
			var xt = source.substring(start,end).replace(/&#?\w+;/g,entityReplacer);
			locator&&position(start);
			domBuilder.characters(xt,0,end-start);
			start = end
		}
	}
	function position(p,m){
		while(p>=lineEnd && (m = linePattern.exec(source))){
			lineStart = m.index;
			lineEnd = lineStart + m[0].length;
			locator.lineNumber++;
			//console.log('line++:',locator,startPos,endPos)
		}
		locator.columnNumber = p-lineStart+1;
	}
	var lineStart = 0;
	var lineEnd = 0;
	var linePattern = /.*(?:\r\n?|\n)|.*$/g
	var locator = domBuilder.locator;

	var parseStack = [{currentNSMap:defaultNSMapCopy}]
	var closeMap = {};
	var start = 0;
	while(true){
		try{
			var tagStart = source.indexOf('<',start);
			if(tagStart<0){
				if(!source.substr(start).match(/^\s*$/)){
					var doc = domBuilder.doc;
	    			var text = doc.createTextNode(source.substr(start));
	    			doc.appendChild(text);
	    			domBuilder.currentElement = text;
				}
				return;
			}
			if(tagStart>start){
				appendText(tagStart);
			}
			switch(source.charAt(tagStart+1)){
			case '/':
				var end = source.indexOf('>',tagStart+3);
				var tagName = source.substring(tagStart + 2, end).replace(/[ \t\n\r]+$/g, '');
				var config = parseStack.pop();
				if(end<0){

	        		tagName = source.substring(tagStart+2).replace(/[\s<].*/,'');
	        		errorHandler.error("end tag name: "+tagName+' is not complete:'+config.tagName);
	        		end = tagStart+1+tagName.length;
	        	}else if(tagName.match(/\s</)){
	        		tagName = tagName.replace(/[\s<].*/,'');
	        		errorHandler.error("end tag name: "+tagName+' maybe not complete');
	        		end = tagStart+1+tagName.length;
				}
				var localNSMap = config.localNSMap;
				var endMatch = config.tagName == tagName;
				var endIgnoreCaseMach = endMatch || config.tagName&&config.tagName.toLowerCase() == tagName.toLowerCase()
		        if(endIgnoreCaseMach){
		        	domBuilder.endElement(config.uri,config.localName,tagName);
					if(localNSMap){
						for (var prefix in localNSMap) {
							if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {
								domBuilder.endPrefixMapping(prefix);
							}
						}
					}
					if(!endMatch){
		            	errorHandler.fatalError("end tag name: "+tagName+' is not match the current start tagName:'+config.tagName ); // No known test case
					}
		        }else{
		        	parseStack.push(config)
		        }

				end++;
				break;
				// end elment
			case '?':// <?...?>
				locator&&position(tagStart);
				end = parseInstruction(source,tagStart,domBuilder);
				break;
			case '!':// <!doctype,<![CDATA,<!--
				locator&&position(tagStart);
				end = parseDCC(source,tagStart,domBuilder,errorHandler);
				break;
			default:
				locator&&position(tagStart);
				var el = new ElementAttributes();
				var currentNSMap = parseStack[parseStack.length-1].currentNSMap;
				//elStartEnd
				var end = parseElementStartPart(source,tagStart,el,currentNSMap,entityReplacer,errorHandler);
				var len = el.length;


				if(!el.closed && fixSelfClosed(source,end,el.tagName,closeMap)){
					el.closed = true;
					if(!entityMap.nbsp){
						errorHandler.warning('unclosed xml attribute');
					}
				}
				if(locator && len){
					var locator2 = copyLocator(locator,{});
					//try{//attribute position fixed
					for(var i = 0;i<len;i++){
						var a = el[i];
						position(a.offset);
						a.locator = copyLocator(locator,{});
					}
					domBuilder.locator = locator2
					if(appendElement(el,domBuilder,currentNSMap)){
						parseStack.push(el)
					}
					domBuilder.locator = locator;
				}else{
					if(appendElement(el,domBuilder,currentNSMap)){
						parseStack.push(el)
					}
				}

				if (NAMESPACE.isHTML(el.uri) && !el.closed) {
					end = parseHtmlSpecialContent(source,end,el.tagName,entityReplacer,domBuilder)
				} else {
					end++;
				}
			}
		}catch(e){
			if (e instanceof ParseError) {
				throw e;
			}
			errorHandler.error('element parse error: '+e)
			end = -1;
		}
		if(end>start){
			start = end;
		}else{
			//TODO: 这里有可能sax回退，有位置错误风险
			appendText(Math.max(tagStart,start)+1);
		}
	}
}
function copyLocator(f,t){
	t.lineNumber = f.lineNumber;
	t.columnNumber = f.columnNumber;
	return t;
}

/**
 * @see #appendElement(source,elStartEnd,el,selfClosed,entityReplacer,domBuilder,parseStack);
 * @return end of the elementStartPart(end of elementEndPart for selfClosed el)
 */
function parseElementStartPart(source,start,el,currentNSMap,entityReplacer,errorHandler){

	/**
	 * @param {string} qname
	 * @param {string} value
	 * @param {number} startIndex
	 */
	function addAttribute(qname, value, startIndex) {
		if (el.attributeNames.hasOwnProperty(qname)) {
			errorHandler.fatalError('Attribute ' + qname + ' redefined')
		}
		el.addValue(
			qname,
			// @see https://www.w3.org/TR/xml/#AVNormalize
			// since the xmldom sax parser does not "interpret" DTD the following is not implemented:
			// - recursive replacement of (DTD) entity references
			// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA
			value.replace(/[\t\n\r]/g, ' ').replace(/&#?\w+;/g, entityReplacer),
			startIndex
		)
	}
	var attrName;
	var value;
	var p = ++start;
	var s = S_TAG;//status
	while(true){
		var c = source.charAt(p);
		switch(c){
		case '=':
			if(s === S_ATTR){//attrName
				attrName = source.slice(start,p);
				s = S_EQ;
			}else if(s === S_ATTR_SPACE){
				s = S_EQ;
			}else{
				//fatalError: equal must after attrName or space after attrName
				throw new Error('attribute equal must after attrName'); // No known test case
			}
			break;
		case '\'':
		case '"':
			if(s === S_EQ || s === S_ATTR //|| s == S_ATTR_SPACE
				){//equal
				if(s === S_ATTR){
					errorHandler.warning('attribute value must after "="')
					attrName = source.slice(start,p)
				}
				start = p+1;
				p = source.indexOf(c,start)
				if(p>0){
					value = source.slice(start, p);
					addAttribute(attrName, value, start-1);
					s = S_ATTR_END;
				}else{
					//fatalError: no end quot match
					throw new Error('attribute value no end \''+c+'\' match');
				}
			}else if(s == S_ATTR_NOQUOT_VALUE){
				value = source.slice(start, p);
				addAttribute(attrName, value, start);
				errorHandler.warning('attribute "'+attrName+'" missed start quot('+c+')!!');
				start = p+1;
				s = S_ATTR_END
			}else{
				//fatalError: no equal before
				throw new Error('attribute value must after "="'); // No known test case
			}
			break;
		case '/':
			switch(s){
			case S_TAG:
				el.setTagName(source.slice(start,p));
			case S_ATTR_END:
			case S_TAG_SPACE:
			case S_TAG_CLOSE:
				s =S_TAG_CLOSE;
				el.closed = true;
			case S_ATTR_NOQUOT_VALUE:
			case S_ATTR:
				break;
				case S_ATTR_SPACE:
					el.closed = true;
				break;
			//case S_EQ:
			default:
				throw new Error("attribute invalid close char('/')") // No known test case
			}
			break;
		case ''://end document
			errorHandler.error('unexpected end of input');
			if(s == S_TAG){
				el.setTagName(source.slice(start,p));
			}
			return p;
		case '>':
			switch(s){
			case S_TAG:
				el.setTagName(source.slice(start,p));
			case S_ATTR_END:
			case S_TAG_SPACE:
			case S_TAG_CLOSE:
				break;//normal
			case S_ATTR_NOQUOT_VALUE://Compatible state
			case S_ATTR:
				value = source.slice(start,p);
				if(value.slice(-1) === '/'){
					el.closed  = true;
					value = value.slice(0,-1)
				}
			case S_ATTR_SPACE:
				if(s === S_ATTR_SPACE){
					value = attrName;
				}
				if(s == S_ATTR_NOQUOT_VALUE){
					errorHandler.warning('attribute "'+value+'" missed quot(")!');
					addAttribute(attrName, value, start)
				}else{
					if(!NAMESPACE.isHTML(currentNSMap['']) || !value.match(/^(?:disabled|checked|selected)$/i)){
						errorHandler.warning('attribute "'+value+'" missed value!! "'+value+'" instead!!')
					}
					addAttribute(value, value, start)
				}
				break;
			case S_EQ:
				throw new Error('attribute value missed!!');
			}
//			console.log(tagName,tagNamePattern,tagNamePattern.test(tagName))
			return p;
		/*xml space '\x20' | #x9 | #xD | #xA; */
		case '\u0080':
			c = ' ';
		default:
			if(c<= ' '){//space
				switch(s){
				case S_TAG:
					el.setTagName(source.slice(start,p));//tagName
					s = S_TAG_SPACE;
					break;
				case S_ATTR:
					attrName = source.slice(start,p)
					s = S_ATTR_SPACE;
					break;
				case S_ATTR_NOQUOT_VALUE:
					var value = source.slice(start, p);
					errorHandler.warning('attribute "'+value+'" missed quot(")!!');
					addAttribute(attrName, value, start)
				case S_ATTR_END:
					s = S_TAG_SPACE;
					break;
				//case S_TAG_SPACE:
				//case S_EQ:
				//case S_ATTR_SPACE:
				//	void();break;
				//case S_TAG_CLOSE:
					//ignore warning
				}
			}else{//not space
//S_TAG,	S_ATTR,	S_EQ,	S_ATTR_NOQUOT_VALUE
//S_ATTR_SPACE,	S_ATTR_END,	S_TAG_SPACE, S_TAG_CLOSE
				switch(s){
				//case S_TAG:void();break;
				//case S_ATTR:void();break;
				//case S_ATTR_NOQUOT_VALUE:void();break;
				case S_ATTR_SPACE:
					var tagName =  el.tagName;
					if (!NAMESPACE.isHTML(currentNSMap['']) || !attrName.match(/^(?:disabled|checked|selected)$/i)) {
						errorHandler.warning('attribute "'+attrName+'" missed value!! "'+attrName+'" instead2!!')
					}
					addAttribute(attrName, attrName, start);
					start = p;
					s = S_ATTR;
					break;
				case S_ATTR_END:
					errorHandler.warning('attribute space is required"'+attrName+'"!!')
				case S_TAG_SPACE:
					s = S_ATTR;
					start = p;
					break;
				case S_EQ:
					s = S_ATTR_NOQUOT_VALUE;
					start = p;
					break;
				case S_TAG_CLOSE:
					throw new Error("elements closed character '/' and '>' must be connected to");
				}
			}
		}//end outer switch
		//console.log('p++',p)
		p++;
	}
}
/**
 * @return true if has new namespace define
 */
function appendElement(el,domBuilder,currentNSMap){
	var tagName = el.tagName;
	var localNSMap = null;
	//var currentNSMap = parseStack[parseStack.length-1].currentNSMap;
	var i = el.length;
	while(i--){
		var a = el[i];
		var qName = a.qName;
		var value = a.value;
		var nsp = qName.indexOf(':');
		if(nsp>0){
			var prefix = a.prefix = qName.slice(0,nsp);
			var localName = qName.slice(nsp+1);
			var nsPrefix = prefix === 'xmlns' && localName
		}else{
			localName = qName;
			prefix = null
			nsPrefix = qName === 'xmlns' && ''
		}
		//can not set prefix,because prefix !== ''
		a.localName = localName ;
		//prefix == null for no ns prefix attribute
		if(nsPrefix !== false){//hack!!
			if(localNSMap == null){
				localNSMap = {}
				//console.log(currentNSMap,0)
				_copy(currentNSMap,currentNSMap={})
				//console.log(currentNSMap,1)
			}
			currentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;
			a.uri = NAMESPACE.XMLNS
			domBuilder.startPrefixMapping(nsPrefix, value)
		}
	}
	var i = el.length;
	while(i--){
		a = el[i];
		var prefix = a.prefix;
		if(prefix){//no prefix attribute has no namespace
			if(prefix === 'xml'){
				a.uri = NAMESPACE.XML;
			}if(prefix !== 'xmlns'){
				a.uri = currentNSMap[prefix || '']

				//{console.log('###'+a.qName,domBuilder.locator.systemId+'',currentNSMap,a.uri)}
			}
		}
	}
	var nsp = tagName.indexOf(':');
	if(nsp>0){
		prefix = el.prefix = tagName.slice(0,nsp);
		localName = el.localName = tagName.slice(nsp+1);
	}else{
		prefix = null;//important!!
		localName = el.localName = tagName;
	}
	//no prefix element has default namespace
	var ns = el.uri = currentNSMap[prefix || ''];
	domBuilder.startElement(ns,localName,tagName,el);
	//endPrefixMapping and startPrefixMapping have not any help for dom builder
	//localNSMap = null
	if(el.closed){
		domBuilder.endElement(ns,localName,tagName);
		if(localNSMap){
			for (prefix in localNSMap) {
				if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {
					domBuilder.endPrefixMapping(prefix);
				}
			}
		}
	}else{
		el.currentNSMap = currentNSMap;
		el.localNSMap = localNSMap;
		//parseStack.push(el);
		return true;
	}
}
function parseHtmlSpecialContent(source,elStartEnd,tagName,entityReplacer,domBuilder){
	if(/^(?:script|textarea)$/i.test(tagName)){
		var elEndStart =  source.indexOf('</'+tagName+'>',elStartEnd);
		var text = source.substring(elStartEnd+1,elEndStart);
		if(/[&<]/.test(text)){
			if(/^script$/i.test(tagName)){
				//if(!/\]\]>/.test(text)){
					//lexHandler.startCDATA();
					domBuilder.characters(text,0,text.length);
					//lexHandler.endCDATA();
					return elEndStart;
				//}
			}//}else{//text area
				text = text.replace(/&#?\w+;/g,entityReplacer);
				domBuilder.characters(text,0,text.length);
				return elEndStart;
			//}

		}
	}
	return elStartEnd+1;
}
function fixSelfClosed(source,elStartEnd,tagName,closeMap){
	//if(tagName in closeMap){
	var pos = closeMap[tagName];
	if(pos == null){
		//console.log(tagName)
		pos =  source.lastIndexOf('</'+tagName+'>')
		if(pos<elStartEnd){//忘记闭合
			pos = source.lastIndexOf('</'+tagName)
		}
		closeMap[tagName] =pos
	}
	return pos<elStartEnd;
	//}
}

function _copy (source, target) {
	for (var n in source) {
		if (Object.prototype.hasOwnProperty.call(source, n)) {
			target[n] = source[n];
		}
	}
}

function parseDCC(source,start,domBuilder,errorHandler){//sure start with '<!'
	var next= source.charAt(start+2)
	switch(next){
	case '-':
		if(source.charAt(start + 3) === '-'){
			var end = source.indexOf('-->',start+4);
			//append comment source.substring(4,end)//<!--
			if(end>start){
				domBuilder.comment(source,start+4,end-start-4);
				return end+3;
			}else{
				errorHandler.error("Unclosed comment");
				return -1;
			}
		}else{
			//error
			return -1;
		}
	default:
		if(source.substr(start+3,6) == 'CDATA['){
			var end = source.indexOf(']]>',start+9);
			domBuilder.startCDATA();
			domBuilder.characters(source,start+9,end-start-9);
			domBuilder.endCDATA()
			return end+3;
		}
		//<!DOCTYPE
		//startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
		var matchs = split(source,start);
		var len = matchs.length;
		if(len>1 && /!doctype/i.test(matchs[0][0])){
			var name = matchs[1][0];
			var pubid = false;
			var sysid = false;
			if(len>3){
				if(/^public$/i.test(matchs[2][0])){
					pubid = matchs[3][0];
					sysid = len>4 && matchs[4][0];
				}else if(/^system$/i.test(matchs[2][0])){
					sysid = matchs[3][0];
				}
			}
			var lastMatch = matchs[len-1]
			domBuilder.startDTD(name, pubid, sysid);
			domBuilder.endDTD();

			return lastMatch.index+lastMatch[0].length
		}
	}
	return -1;
}



function parseInstruction(source,start,domBuilder){
	var end = source.indexOf('?>',start);
	if(end){
		var match = source.substring(start,end).match(/^<\?(\S*)\s*([\s\S]*?)$/);
		if(match){
			var len = match[0].length;
			domBuilder.processingInstruction(match[1], match[2]) ;
			return end+2;
		}else{//error
			return -1;
		}
	}
	return -1;
}

function ElementAttributes(){
	this.attributeNames = {}
}
ElementAttributes.prototype = {
	setTagName:function(tagName){
		if(!tagNamePattern.test(tagName)){
			throw new Error('invalid tagName:'+tagName)
		}
		this.tagName = tagName
	},
	addValue:function(qName, value, offset) {
		if(!tagNamePattern.test(qName)){
			throw new Error('invalid attribute:'+qName)
		}
		this.attributeNames[qName] = this.length;
		this[this.length++] = {qName:qName,value:value,offset:offset}
	},
	length:0,
	getLocalName:function(i){return this[i].localName},
	getLocator:function(i){return this[i].locator},
	getQName:function(i){return this[i].qName},
	getURI:function(i){return this[i].uri},
	getValue:function(i){return this[i].value}
//	,getIndex:function(uri, localName)){
//		if(localName){
//
//		}else{
//			var qName = uri
//		}
//	},
//	getValue:function(){return this.getValue(this.getIndex.apply(this,arguments))},
//	getType:function(uri,localName){}
//	getType:function(i){},
}



function split(source,start){
	var match;
	var buf = [];
	var reg = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
	reg.lastIndex = start;
	reg.exec(source);//skip <
	while(match = reg.exec(source)){
		buf.push(match);
		if(match[1])return buf;
	}
}

exports.XMLReader = XMLReader;
exports.ParseError = ParseError;


/***/ },

/***/ "./node_modules/.pnpm/abort-controller@3.0.0/node_modules/abort-controller/browser.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/abort-controller@3.0.0/node_modules/abort-controller/browser.js ***!
  \********************************************************************************************/
(module) {

"use strict";
/*globals self, window */


/*eslint-disable @mysticatea/prettier */
const { AbortController, AbortSignal } =
    typeof self !== "undefined" ? self :
    typeof window !== "undefined" ? window :
    /* otherwise */ undefined
/*eslint-enable @mysticatea/prettier */

module.exports = AbortController
module.exports.AbortSignal = AbortSignal
module.exports["default"] = AbortController


/***/ },

/***/ "./app/registry/config/config.js"
/*!***************************************!*\
  !*** ./app/registry/config/config.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getApplicationConfigs: () => (/* binding */ getApplicationConfigs),
/* harmony export */   getInstanceConfigs: () => (/* binding */ getInstanceConfigs)
/* harmony export */ });
/* harmony import */ var admin_config_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! admin/config/config */ "./modules/admin/config/config.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var commons_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/config */ "./modules/commons/config.js");
/* harmony import */ var status_config_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! status/config/config */ "./modules/status/config/config.js");
/* harmony import */ var workbench_config_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! workbench/config/config */ "./modules/workbench/config/config.js");
/* harmony import */ var commons_util_ConfigStore__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/ConfigStore */ "./modules/commons/util/ConfigStore.js");
/* harmony import */ var search_config_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! search/config/config */ "./modules/search/config/config.js");
/* harmony import */ var harvest_config_config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! harvest/config/config */ "./modules/harvest/config/config.js");



// import harvestConfig from 'harvest/config/config';

// import toolkitConfig from 'toolkit/config/config';





/**
 * Customer config - can override other configs
 *
 * @ignore
 */
const instanceConfigs = [window.__entryscape_config, window.__entryscape_config_dev || {}];

/**
 * @module registry
 * @description Configuration for the Registry application
 */

const applicationConfigs = [commons_config__WEBPACK_IMPORTED_MODULE_2__["default"], admin_config_config__WEBPACK_IMPORTED_MODULE_0__["default"], catalog_config_config__WEBPACK_IMPORTED_MODULE_1__["default"], workbench_config_config__WEBPACK_IMPORTED_MODULE_4__["default"],
//  harvestConfig,
status_config_config__WEBPACK_IMPORTED_MODULE_3__["default"],
//  toolkitConfig,
search_config_config__WEBPACK_IMPORTED_MODULE_6__["default"], {
  theme: {
    /**
     * @type {string}
     * @memberof module:registry
     */
    appName: 'Registry',
    /**
     * Start page banner. Contains header, description text, icon, and a link
     * to the Getting Started guide.
     *
     * @type {object}
     * @memberof module:registry
     */
    startBanner: {
      header: {
        en: 'EntryScape Registry',
        sv: 'EntryScape Registry',
        de: 'EntryScape Registry'
      },
      text: {
        en: 'EntryScape Registry provides the technical foundation for data portals and offers tools to support publication processes.',
        sv: 'EntryScape Registry utgör den tekniska grunden för dataportaler och tillhandahåller verktyg för att stödja publiceringsprocesser.',
        de: 'EntryScape Registry bildet die technische Grundlage für Dataportale und stellt Werkzeuge bereit um Veröffentlichungsprozesse zu unterstützen.'
      },
      icon: '',
      details: {
        buttonLabel: {
          en: 'Get started',
          sv: 'Kom igång',
          de: 'Anfangen'
        },
        header: {
          en: 'Getting started guide',
          sv: 'Kom-igång guide',
          de: 'Erste Schritte'
        },
        path: '/theme/assets/gettingstarted'
      }
    },
    /**
     * Expand the reports filter by default
     *
     * @type {boolean}
     * @memberof module:registry
     */
    expandReportsFilter: true
  },
  registry: {
    /**
     * RDF types that must have at least one instance in harvested data.
     * Validation fails if any of these types has zero instances in the graph.
     *
     * @type {string[]}
     * @memberof module:registry
     */
    mandatoryValidationTypes: ['dcat:Catalog', 'dcat:Dataset'],
    /**
     * ID of the default harvesting recipe used when creating new pipelines.
     *
     * @type {string}
     * @memberof module:registry
     */
    defaultRecipe: 'dcat-recipe',
    /**
     * Harvesting recipes. Each recipe defines a sequence of transforms
     * (e.g. fetch, validate, merge) that process harvested data. Other than the
     * default, recipes have to be tied to specific project types.
     *
     * @type {Array<{id: string, tags: Array, transforms: Array}>}
     * @memberof module:registry
     */
    recipes: [{
      id: 'dcat-recipe',
      tags: ['opendata'],
      transforms: [{
        type: 'empty'
      }, {
        type: 'check',
        args: {
          source: ''
        }
      }, {
        type: 'fetch',
        args: {
          source: {
            value: '',
            required: true,
            visible: true,
            label: {
              en: 'Harvesting source',
              sv: 'Skördningskälla',
              de: 'Harvestingquelle'
            },
            helperText: {
              en: 'Web address of the DCAT file, e.g. https://my.org/dcat.rdf',
              sv: 'Webbadress till DCAT-filen, t.ex. https://my.org/dcat.rdf',
              de: 'Webadresse der DCAT-Datei, z.B. https://my.org/dcat.rdf'
            },
            pattern: {
              value: '^https?://\\S+$',
              error: {
                en: 'Must be a valid URL',
                sv: 'Måste vara en giltig URL',
                de: 'Muss eine gültige Webadresse sein'
              }
            }
          }
        }
      }, {
        type: 'validate',
        args: {
          profile: 'dcat_ap_se'
        }
      }, {
        type: 'merge',
        args: {}
      }]
    }],
    /**
     * Can be used on the link check view definition to exclude it.
     * E.g. disabled: !config.registry?.includeLinkCheckReport
     *
     * @type {boolean}
     * @memberof module:registry
     */
    includeLinkCheckReport: false,
    /**
     * Determines whether or which filters are visible in registry. Using a boolean
     * shows/hides all filters, while an array containing the names of the filters
     * to exclude can also be provided.
     *
     * @type {boolean|string[]}
     * @memberof module:registry
     */
    excludeFilters: false,
    /**
     * Path to an RDF file containing the example for Toolkit's catalog.
     * Must not start with a slash. Defaults to `toolkitExample.rdf` from static.
     *
     * @type {string}
     * @memberof module:registry
     */
    toolkitExamplePath: ''
  },
  /**
   * Entity type overrides for Registry. Removes module restrictions and overviews
   * for most entity types since Registry doesn't use per-entry overview pages.
   *
   * @type {Array<object>}
   * @ignore
   */
  entitytypes: [{
    name: 'distribution',
    module: null,
    overview: null
  }, {
    name: 'dataset',
    module: null,
    overview: null
  }, {
    name: 'datasetSeries',
    module: null,
    overview: null
  }, {
    name: 'catalog',
    module: null,
    overview: null
  }, {
    name: 'contactPoint',
    module: null,
    overview: null
  }, {
    name: 'publisher',
    module: null,
    overview: null
  }, {
    name: 'datasetDocument',
    module: null,
    overview: null
  }, {
    name: 'dataService',
    module: null,
    overview: null
  }, {
    name: 'pipeline',
    label: {
      en: 'Pipeline'
    },
    rdfType: 'http://entrystore.org/terms/Pipeline',
    matchSource: 'entry',
    // default is to try matching on the metadata instead
    module: ['register'],
    overview: harvest_config_config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_OVERVIEW_NAME
  }]
}];
const getInstanceConfigs = () => {
  return instanceConfigs;
};
const getApplicationConfigs = () => {
  return applicationConfigs;
};
const config = new commons_util_ConfigStore__WEBPACK_IMPORTED_MODULE_5__["default"]();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (config);

/***/ },

/***/ "./app/registry/config/site.js"
/*!*************************************!*\
  !*** ./app/registry/config/site.js ***!
  \*************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var admin_config_site__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! admin/config/site */ "./modules/admin/config/site.js");
/* harmony import */ var catalog_config_site__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/config/site */ "./modules/catalog/config/site.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_auth_Signin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/auth/Signin */ "./modules/commons/auth/Signin/index.js");
/* harmony import */ var commons_auth_Signup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/auth/Signup */ "./modules/commons/auth/Signup/index.js");
/* harmony import */ var commons_version__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/version */ "./modules/commons/version/index.js");
/* harmony import */ var harvest_config_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! harvest/config/site */ "./modules/harvest/config/site.js");
/* harmony import */ var commons_start__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/start */ "./modules/commons/start/index.js");
/* harmony import */ var status_config_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! status/config/site */ "./modules/status/config/site.js");
/* harmony import */ var toolkit_config_site__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! toolkit/config/site */ "./modules/toolkit/config/site.js");
/* harmony import */ var workbench_config_site__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! workbench/config/site */ "./modules/workbench/config/site.js");
/* harmony import */ var search_config_site__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! search/config/site */ "./modules/search/config/site.js");
/* harmony import */ var commons_Layout__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/Layout */ "./modules/commons/Layout/index.js");













const siteConfigs = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_2__.merge)(admin_config_site__WEBPACK_IMPORTED_MODULE_0__["default"], catalog_config_site__WEBPACK_IMPORTED_MODULE_1__["default"], workbench_config_site__WEBPACK_IMPORTED_MODULE_10__["default"], status_config_site__WEBPACK_IMPORTED_MODULE_8__["default"], toolkit_config_site__WEBPACK_IMPORTED_MODULE_9__["default"], harvest_config_site__WEBPACK_IMPORTED_MODULE_6__["default"], search_config_site__WEBPACK_IMPORTED_MODULE_11__["default"], {
  signinView: 'signin',
  permissionView: 'permission',
  startView: 'start',
  signupView: 'signup',
  sidebar: {
    wide: false,
    always: true,
    replaceTabs: true
  },
  moduleList: ['status', 'search', 'register', 'toolkit', 'admin'],
  modules: [{
    name: 'search',
    productName: {
      en: 'Search',
      sv: 'Sök',
      de: 'Suche'
    },
    startView: 'search__list',
    title: {
      en: 'Search',
      sv: 'Sök',
      de: 'Suche'
    },
    sidebar: true,
    text: {
      en: 'Search and view entities that have been successfully harvested',
      sv: 'Sök efter och visa entiteter som har skördats',
      de: 'Suchen und Anzeigen von geharvesten Objekten'
    }
  }, {
    // @todo needed? should be imported by adminConfig
    name: 'admin',
    productName: {
      en: 'Admin',
      sv: 'Admin',
      de: 'Admin'
    },
    title: {
      en: 'Admini\u00ADstration',
      sv: 'Admini\u00ADstrera',
      de: 'Verwaltung'
    },
    faClass: 'cogs',
    startView: 'admin__users',
    sidebar: true,
    restrictTo: 'admin',
    text: {
      sv: 'Administrera projekt, användare och grupper',
      en: 'Manage projects, users and groups',
      de: 'Verwaltung von Projekten, Benutzern und Gruppen'
    }
  }],
  views: [{
    name: 'start',
    class: commons_start__WEBPACK_IMPORTED_MODULE_7__["default"],
    title: {
      en: 'Start',
      sv: 'Start',
      da: 'Start',
      de: 'Start'
    },
    route: '/start',
    public: true
  }, {
    name: 'signin',
    title: {
      en: 'Sign in',
      sv: 'Logga in',
      da: 'Login',
      de: 'Anmelden'
    },
    class: commons_auth_Signin__WEBPACK_IMPORTED_MODULE_3__["default"],
    route: '/signin',
    layout: commons_Layout__WEBPACK_IMPORTED_MODULE_12__.SINGLE_COLUMN_LAYOUT,
    public: true
  }, {
    name: 'signup',
    title: {
      en: 'Create account',
      sv: 'Skapa konto',
      de: 'Konto erstellen'
    },
    class: commons_auth_Signup__WEBPACK_IMPORTED_MODULE_4__["default"],
    route: '/signup',
    layout: commons_Layout__WEBPACK_IMPORTED_MODULE_12__.SINGLE_COLUMN_LAYOUT,
    public: true
  }, {
    name: 'version',
    title: {
      en: 'version'
    },
    class: commons_version__WEBPACK_IMPORTED_MODULE_5__["default"],
    route: '/version',
    restrictTo: 'admin'
  }]
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_2__.merge)(siteConfigs, __entryscape_config.site || {}));

/***/ },

/***/ "./app/registry/defaults.js"
/*!**********************************!*\
  !*** ./app/registry/defaults.js ***!
  \**********************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var admin_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/defaults */ "./modules/admin/defaults.js");
/* harmony import */ var catalog_defaults__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/defaults */ "./modules/catalog/defaults.js");
/* harmony import */ var workbench_defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! workbench/defaults */ "./modules/workbench/defaults.js");
/* harmony import */ var commons_defaults__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/defaults */ "./modules/commons/defaults.js");
/* harmony import */ var _config_site__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config/site */ "./app/registry/config/site.js");




 // TODO HACK this needs to be before '../config/site' in order for namespaces to be set in registry

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (async () => {
  await (0,commons_defaults__WEBPACK_IMPORTED_MODULE_4__["default"])(_config_site__WEBPACK_IMPORTED_MODULE_5__["default"]);
  (0,catalog_defaults__WEBPACK_IMPORTED_MODULE_2__["default"])();
  (0,admin_defaults__WEBPACK_IMPORTED_MODULE_1__["default"])();
  (0,workbench_defaults__WEBPACK_IMPORTED_MODULE_3__["default"])();
});

/***/ },

/***/ "./modules/admin/config/config.js"
/*!****************************************!*\
  !*** ./modules/admin/config/config.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * @module admin
 * @description Configuration for the Admin module
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  admin: {
    /**
     * Make advanced admin features visible to users with admin permission
     *
     * @type {boolean}
     * @memberof module:admin
     * @default true
     */
    advancedAdminVisibleForAdminGroup: true,
    /**
     * Enable the migrate entity types button.
     *
     * @type {boolean}
     * @memberof module:admin
     * @default false
     */
    enableTypeStoreMigration: false,
    /**
     * Decide whether personal projects should be included when creating a new user.
     *
     * @type {boolean}
     * @memberof module:admin
     * @default false
     */
    includePersonalProject: false
  }
});

/***/ },

/***/ "./modules/admin/config/site.js"
/*!**************************************!*\
  !*** ./modules/admin/config/site.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var admin_users_UsersView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! admin/users/UsersView */ "./modules/admin/users/UsersView/index.js");
/* harmony import */ var admin_groups_GroupsView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/groups/GroupsView */ "./modules/admin/groups/GroupsView/index.js");
/* harmony import */ var admin_projects_ProjectsView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! admin/projects/ProjectsView */ "./modules/admin/projects/ProjectsView/index.js");
/* harmony import */ var admin_configs_entitytypes_EntityTypeView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! admin/configs/entitytypes/EntityTypeView */ "./modules/admin/configs/entitytypes/EntityTypeView/index.js");
/* harmony import */ var admin_configs_projecttypes_ProjectTypeView__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! admin/configs/projecttypes/ProjectTypeView */ "./modules/admin/configs/projecttypes/ProjectTypeView/index.js");
/* harmony import */ var admin_users_UserOverview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! admin/users/UserOverview */ "./modules/admin/users/UserOverview/index.js");
/* harmony import */ var admin_groups_GroupOverview__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! admin/groups/GroupOverview */ "./modules/admin/groups/GroupOverview/index.js");
/* harmony import */ var admin_projects_ProjectOverview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! admin/projects/ProjectOverview */ "./modules/admin/projects/ProjectOverview/index.js");
/* harmony import */ var admin_configs_projecttypes_ProjectTypeOverview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! admin/configs/projecttypes/ProjectTypeOverview */ "./modules/admin/configs/projecttypes/ProjectTypeOverview/index.js");
/* harmony import */ var admin_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/utils */ "./modules/admin/utils/index.js");










/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  modules: [{
    name: 'admin',
    productName: {
      en: 'Admin',
      sv: 'Admin',
      de: 'Admin'
    },
    faClass: 'cogs',
    restrictTo: 'admin',
    startView: 'admin__users',
    sidebar: true,
    getLayoutProps: admin_utils__WEBPACK_IMPORTED_MODULE_9__.getSecondaryNavViewsForAdmin,
    checkPermission: admin_utils__WEBPACK_IMPORTED_MODULE_9__.checkPermission
  }],
  views: [{
    name: 'admin__users',
    class: admin_users_UsersView__WEBPACK_IMPORTED_MODULE_0__["default"],
    faClass: 'user',
    title: {
      en: 'Users',
      sv: 'Användare',
      de: 'Benutzer'
    },
    route: '/admin/users',
    parent: 'admin',
    module: 'admin'
  }, {
    name: 'admin__users__user',
    class: admin_users_UserOverview__WEBPACK_IMPORTED_MODULE_5__["default"],
    title: {
      en: 'User',
      sv: 'Användare',
      de: 'Benutzer'
    },
    route: '/admin/:contextId/users/:entryId/overview',
    parent: 'admin_overview',
    matchRoute: '/admin/users',
    module: 'admin'
  }, {
    name: 'admin__groups',
    class: admin_groups_GroupsView__WEBPACK_IMPORTED_MODULE_1__["default"],
    faClass: 'users',
    title: {
      en: 'Groups',
      sv: 'Grupper',
      de: 'Gruppen'
    },
    route: '/admin/groups',
    parent: 'admin',
    module: 'admin',
    restrictTo: 'advancedAdmin'
  }, {
    name: 'admin__groups__group',
    class: admin_groups_GroupOverview__WEBPACK_IMPORTED_MODULE_6__["default"],
    title: {
      en: 'Group',
      sv: 'Grupp',
      de: 'Gruppe'
    },
    route: '/admin/:contextId/groups/:entryId/overview',
    parent: 'admin_overview',
    matchRoute: '/admin/groups',
    module: 'admin'
  }, {
    name: 'admin__projects',
    class: admin_projects_ProjectsView__WEBPACK_IMPORTED_MODULE_2__["default"],
    faClass: 'building',
    title: {
      en: 'Projects',
      sv: 'Projekt',
      de: 'Projekte'
    },
    route: '/admin/projects',
    parent: 'admin',
    module: 'admin',
    restrictTo: 'advancedAdmin'
  }, {
    name: 'admin__projects__project',
    class: admin_projects_ProjectOverview__WEBPACK_IMPORTED_MODULE_7__["default"],
    title: {
      en: 'Project',
      sv: 'Projekt',
      de: 'Projekt'
    },
    route: '/admin/:contextId/projects/:entryId/overview',
    parent: 'admin_overview',
    matchRoute: '/admin/projects',
    module: 'admin'
  }, {
    name: 'admin__entitytypes',
    class: admin_configs_entitytypes_EntityTypeView__WEBPACK_IMPORTED_MODULE_3__["default"],
    faClass: 'building',
    title: {
      en: 'Entity types',
      sv: 'Entitetstyper',
      de: 'Objekttypen'
    },
    route: '/admin/entitytypes',
    parent: 'admin',
    module: 'admin',
    restrictTo: 'advancedAdmin'
  }, {
    name: 'admin__projecttypes',
    class: admin_configs_projecttypes_ProjectTypeView__WEBPACK_IMPORTED_MODULE_4__["default"],
    faClass: 'building',
    title: {
      en: 'Project types',
      sv: 'Projekttyper',
      de: 'Projekttypen'
    },
    route: '/admin/projecttypes',
    parent: 'admin',
    module: 'admin',
    restrictTo: 'advancedAdmin',
    navbar: false
  }, {
    name: 'admin__projecttypes__projecttype',
    class: admin_configs_projecttypes_ProjectTypeOverview__WEBPACK_IMPORTED_MODULE_8__["default"],
    title: {
      en: 'Project type',
      sv: 'Projekttyp',
      de: 'Projekttyp'
    },
    route: '/admin/:contextId/projecttypes/:entryId/overview',
    matchRoute: '/admin/projecttypes',
    parent: 'admin_overview',
    module: 'admin'
  }]
});

/***/ },

/***/ "./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.js"
/*!****************************************************************************!*\
  !*** ./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConstraintEditor: () => (/* binding */ ConstraintEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _mui_icons_material_ArrowDownward__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material/ArrowDownward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDownward.js");
/* harmony import */ var _mui_icons_material_ArrowUpward__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/ArrowUpward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowUpward.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var models_utils_constraint__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! models/utils/constraint */ "./modules/models/utils/constraint.js");
/* harmony import */ var models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! models/utils/namespaceChoices */ "./modules/models/utils/namespaceChoices.js");
/* harmony import */ var _ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ConstraintEditor.scss */ "./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "blankNodeId", "graph", "onChange", "dispatch", "size", "error", "helperText"],
  _excluded2 = ["property", "blankNodeId", "onChange", "graph", "dispatch", "size", "error", "helperText"];


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }















const ConstraintValuesEdit = _ref => {
  let {
      property,
      blankNodeId,
      graph,
      onChange,
      dispatch,
      size,
      error,
      helperText
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)([(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_12___default()), (commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  const {
    addField,
    fieldGroup,
    labelId,
    removeField,
    moveField,
    updateValue
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.useOrderedFieldsEdit)({
    name: fieldsProps.name,
    property: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_PROPERTY_CONSTRAINT_VALUE,
    resourceURI: blankNodeId,
    graph,
    dispatch,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.URI,
    orderProperty: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_PROPERTY_ORDER
  });
  const fields = fieldGroup.getFields();
  const update = (field, value) => {
    updateValue(field, value);
    onChange();
  };
  const remove = field => {
    removeField(field);
    onChange();
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Fields, _extends({
    labelId: labelId,
    addField: addField
  }, fieldsProps, {
    label: t('constraintObjectLabel')
  }), fields.map((field, index) => {
    const hasError = error || field.hasError();
    const fieldErrorText = field.hasError() && t(field.getError());
    const errorText = helperText || fieldErrorText;
    return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Field, {
      key: field.getId(),
      size: fields.length,
      onRemove: () => remove(field),
      onClear: () => update(field, '')
    }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.TextField, {
      xs: 8,
      size: size,
      onChange: _ref2 => {
        let {
          target
        } = _ref2;
        return update(field, target.value);
      },
      value: field.getValue(),
      label: "",
      error: hasError,
      helperText: hasError ? errorText : ''
    }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      size: {
        xs: 4
      }
    }, field.getOrder() > 1 ? /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.FieldControlButton, {
      marginLeft: "0",
      tooltip: t('moveUpTooltip'),
      onClick: () => moveField(field, index, index - 1)
    }, /*#__PURE__*/React.createElement(_mui_icons_material_ArrowUpward__WEBPACK_IMPORTED_MODULE_7__["default"], null)) : null, field.getOrder() < fields.length ? /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.FieldControlButton, {
      marginLeft: "0",
      tooltip: t('moveDownTooltip'),
      onClick: () => moveField(field, index, index + 1)
    }, /*#__PURE__*/React.createElement(_mui_icons_material_ArrowDownward__WEBPACK_IMPORTED_MODULE_6__["default"], null)) : null));
  }));
};
ConstraintValuesEdit.propTypes = {
  size: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  blankNodeId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
const ConstraintPropertyEdit = _ref3 => {
  let {
      property,
      blankNodeId,
      onChange,
      graph,
      dispatch,
      size,
      error,
      helperText
    } = _ref3,
    fieldsProps = _objectWithoutProperties(_ref3, _excluded2);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  const {
    fields,
    labelId,
    updateValue
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    graph,
    resourceURI: blankNodeId,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.URI,
    dispatch
  });
  const [[namespaceKey, namespaceValue], setNamespace] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_15__.getNamespace)(fields[0]));
  const namespaceKeyError = error && !namespaceKey;
  const namespaceValueError = error && !namespaceValue;
  const [namespaceKeyErrorText, namespaceValueErrorText] = (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_14__.getErrorTexts)(helperText, [namespaceKeyError, namespaceValueError]);
  const updateNamespaceKey = _ref4 => {
    let {
      target
    } = _ref4;
    const {
      value: newNamespaceKey
    } = target;
    setNamespace(_ref5 => {
      let [, currentNamespaceValue] = _ref5;
      return [newNamespaceKey, currentNamespaceValue];
    });
    updateValue(fields[0], (0,models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_15__.getFullURI)(newNamespaceKey, namespaceValue));
    onChange();
  };
  const updateNamespaceValue = _ref6 => {
    let {
      target
    } = _ref6;
    const {
      value: newNamespaceValue
    } = target;
    setNamespace(_ref7 => {
      let [currentNamespaceKey] = _ref7;
      return [currentNamespaceKey, newNamespaceValue];
    });
    updateValue(fields[0], (0,models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_15__.getFullURI)(namespaceKey, newNamespaceValue));
    onChange();
  };
  const clear = () => {
    setNamespace(['', '']);
    updateValue(fields[0], '');
    onChange();
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Fields, _extends({
    max: 1,
    labelId: labelId,
    label: t('constraintPropertyLabel')
  }, fieldsProps), /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Field, {
    size: 1,
    onClear: clear,
    spacing: 2
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Select, {
    xs: 3,
    labelId: `namespace-edit-${property}`,
    value: namespaceKey,
    choices: (0,models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_15__.getNamespaceChoices)(),
    onChange: updateNamespaceKey,
    size: size,
    label: t('namespaceLabel'),
    error: namespaceKeyError,
    helperText: namespaceKeyErrorText
  }), /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.TextField, {
    xs: 5,
    size: size,
    onChange: updateNamespaceValue,
    value: namespaceValue,
    label: t('localNameLabel'),
    error: namespaceValueError,
    helperText: namespaceValueErrorText
  })));
};
ConstraintPropertyEdit.propTypes = {
  size: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  blankNodeId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
const ConstraintEditor = _ref8 => {
  let {
    name,
    size,
    property,
    graph,
    resourceURI,
    dispatch
  } = _ref8;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)([(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13___default()), (admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_12___default())]);
  const {
    fieldGroup,
    labelId,
    addField
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.useBlankEdit)({
    name,
    property,
    graph,
    resourceURI,
    dispatch,
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_CONSTRAINT,
    validate: models_utils_constraint__WEBPACK_IMPORTED_MODULE_14__.validateConstraint
  });
  const fields = fieldGroup.getFields();
  const handleChange = field => {
    const [prop, value] = (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_14__.findConstraint)(graph, field);
    if (!prop && !value && field.isAsserted()) {
      field.setAsserted(false);
    }
    if ((prop || value) && !field.isAsserted()) {
      field.setAsserted(true);
    }
    if (field.getStatus() !== 'initial') {
      field.validate();
    }
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Fields, {
    labelId: labelId,
    label: t('constraintsLabel'),
    addField: addField
  }, fields.map(field => {
    return /*#__PURE__*/React.createElement("div", {
      key: field.getId(),
      className: "esadConstraintEditor"
    }, /*#__PURE__*/React.createElement(ConstraintPropertyEdit, {
      property: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_PROPERTY_CONSTRAINT_PROPERTY,
      blankNodeId: field.getBlankNodeId(),
      graph: graph,
      size: size,
      onChange: () => handleChange(field),
      dispatch: dispatch,
      error: field.getError() === models_utils_constraint__WEBPACK_IMPORTED_MODULE_14__.MISSING_PROPERTY,
      helperText: field.getError() === models_utils_constraint__WEBPACK_IMPORTED_MODULE_14__.MISSING_PROPERTY ? t(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.MISSING_VALUE) : ''
    }), /*#__PURE__*/React.createElement(ConstraintValuesEdit, {
      property: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_PROPERTY_CONSTRAINT_VALUE,
      graph: graph,
      blankNodeId: field.getBlankNodeId(),
      size: size,
      onChange: () => handleChange(field),
      dispatch: dispatch,
      error: field.getError() === commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.MISSING_VALUE,
      helperText: field.getError() === commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.MISSING_VALUE ? t(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.MISSING_VALUE) : ''
    }));
  }));
};
ConstraintEditor.propTypes = {
  name: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};

/***/ },

/***/ "./modules/admin/configs/editors/ConstraintEditor/index.js"
/*!*****************************************************************!*\
  !*** ./modules/admin/configs/editors/ConstraintEditor/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConstraintEditor: () => (/* reexport safe */ _ConstraintEditor__WEBPACK_IMPORTED_MODULE_0__.ConstraintEditor)
/* harmony export */ });
/* harmony import */ var _ConstraintEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstraintEditor */ "./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeCreateDialog/EntityTypeCreateDialog.js"
/*!********************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeCreateDialog/EntityTypeCreateDialog.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var admin_configs_types_TypeCreateDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/configs/types/TypeCreateDialog */ "./modules/admin/configs/types/TypeCreateDialog/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! admin/nls/esadEntityType.nls */ "./modules/admin/nls/esadEntityType.nls");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var admin_configs_utils_configQuery__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/configs/utils/configQuery */ "./modules/admin/configs/utils/configQuery.js");
/* harmony import */ var _EntityTypeForm__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../EntityTypeForm */ "./modules/admin/configs/entitytypes/EntityTypeForm/index.js");
/* harmony import */ var _utils_editorFields__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/editorFields */ "./modules/admin/configs/entitytypes/utils/editorFields.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const NLS_BUNDLES = [(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_6___default()), (admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_7___default())];
const CreateEntityTypeDialog = _ref => {
  let {
    closeDialog,
    entityTypeEntries
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)(NLS_BUNDLES);
  const context = (0,admin_configs_utils_configQuery__WEBPACK_IMPORTED_MODULE_9__.getConfigContext)();
  const prototypeEntry = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
    return context.newEntry();
  }, [context]);
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.EditorProvider, {
    entry: prototypeEntry
  }, /*#__PURE__*/React.createElement(admin_configs_types_TypeCreateDialog__WEBPACK_IMPORTED_MODULE_1__["default"], {
    title: t('createHeader'),
    closeDialog: closeDialog,
    rdfTypes: [admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_8__.RDF_CLASS_ENTITY_TYPE, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_8__.RDF_CLASS_CUSTOM_ENTITY_TYPE],
    nlsBundles: NLS_BUNDLES,
    fields: _utils_editorFields__WEBPACK_IMPORTED_MODULE_11__.editorFields
  }, /*#__PURE__*/React.createElement(_EntityTypeForm__WEBPACK_IMPORTED_MODULE_10__["default"], {
    entityTypeEntries: entityTypeEntries,
    nlsBundles: NLS_BUNDLES
  })));
};
CreateEntityTypeDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired,
  entityTypeEntries: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateEntityTypeDialog);

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeCreateDialog/index.js"
/*!***************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeCreateDialog/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeCreateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeCreateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeCreateDialog */ "./modules/admin/configs/entitytypes/EntityTypeCreateDialog/EntityTypeCreateDialog.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeEditDialog/EntityTypeEditDialog.js"
/*!****************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeEditDialog/EntityTypeEditDialog.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var admin_configs_types_TypeEditDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/configs/types/TypeEditDialog */ "./modules/admin/configs/types/TypeEditDialog/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _EntityTypeForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../EntityTypeForm */ "./modules/admin/configs/entitytypes/EntityTypeForm/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const EntityTypeEditDialog = _ref => {
  let {
    closeDialog,
    entry,
    entityTypeEntries,
    onEdit
  } = _ref;
  const {
    nlsBundles
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListView)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.EditorProvider, {
    entry: entry
  }, /*#__PURE__*/React.createElement(admin_configs_types_TypeEditDialog__WEBPACK_IMPORTED_MODULE_1__["default"], {
    title: t('editHeader'),
    closeDialog: closeDialog,
    nlsBundles: nlsBundles,
    onEdit: onEdit
  }, /*#__PURE__*/React.createElement(_EntityTypeForm__WEBPACK_IMPORTED_MODULE_6__["default"], {
    entityTypeEntries: entityTypeEntries,
    nlsBundles: nlsBundles
  })));
};
EntityTypeEditDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired,
  onEdit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  entityTypeEntries: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntityTypeEditDialog);

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeEditDialog/index.js"
/*!*************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeEditDialog/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeEditDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeEditDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeEditDialog */ "./modules/admin/configs/entitytypes/EntityTypeEditDialog/EntityTypeEditDialog.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeEntryList/EntityTypeEntryList.js"
/*!**************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeEntryList/EntityTypeEntryList.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_common_SegmentedControlTabs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/SegmentedControlTabs */ "./modules/commons/components/common/SegmentedControlTabs/index.js");
/* harmony import */ var _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material/Settings */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js");
/* harmony import */ var _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/icons-material/Widgets */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Widgets.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! admin/nls/esadEntityType.nls */ "./modules/admin/nls/esadEntityType.nls");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../utils/entityTypeQuery */ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./actions */ "./modules/admin/configs/entitytypes/EntityTypeEntryList/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["typeConfigToGraph"],
  _excluded2 = ["nlsKeyLabel"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
























const NLS_BUNDLES = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default()), (admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_17___default()), (admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_18___default())];
const SEARCH_FIELDS = ['label'];
const EntityTypeEntryList = _ref => {
  let {
    entityTypeEntries,
    status,
    listProps
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)(NLS_BUNDLES);
  const [{
    search
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useListModel)();
  const [selectedFilterTab, setSelectedFilterTab] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__.ENTITY_TYPE_CUSTOM);
  const filteredEntityTypes = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    return status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__.RESOLVED ? (0,_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_22__.getEntityTypesByFilter)(entityTypeEntries, selectedFilterTab) : null;
  }, [entityTypeEntries, selectedFilterTab, status]);
  const {
    result: entityTypes,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useListQuery)({
    items: filteredEntityTypes,
    searchFields: SEARCH_FIELDS
  });
  const filterTabs = [{
    label: t('customFilterLabel'),
    value: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__.ENTITY_TYPE_CUSTOM
  }, {
    label: t('builtinFilterLabel'),
    value: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__.ENTITY_TYPE_BUILTIN
  }];
  const handleSelectTab = selectedTab => {
    setSelectedFilterTab(selectedTab);
    if (selectedTab === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__.ENTITY_TYPE_BUILTIN) {
      dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.SORT,
        value: {
          field: 'label',
          order: 'desc'
        }
      });
      return;
    }
    dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.SORT,
      value: {
        field: 'modified',
        order: 'desc'
      }
    });
  };
  const defaultActions = [{
    id: commons_actions__WEBPACK_IMPORTED_MODULE_10__.ACTION_CREATE_ID,
    element: /*#__PURE__*/React.createElement(_actions__WEBPACK_IMPORTED_MODULE_23__.CreateEntryButton, {
      status: status,
      entityTypeEntries: entityTypeEntries,
      key: commons_actions__WEBPACK_IMPORTED_MODULE_10__.ACTION_CREATE_ID
    })
  }];
  const listActions = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useFilterListActions)({
    listActions: defaultActions,
    listActionsProps: {},
    excludeActions: listProps.excludeActions,
    nlsBundles: NLS_BUNDLES
  });
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListView, {
    status: status,
    search: search,
    size: size,
    nlsBundles: NLS_BUNDLES
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListActions, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListSearch, null), /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.RefreshButton, null), listActions.map(_ref2 => {
    let {
      element
    } = _ref2;
    return element;
  })), status !== 'pending' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_SegmentedControlTabs__WEBPACK_IMPORTED_MODULE_11__["default"], {
    items: filterTabs,
    selected: selectedFilterTab,
    onSelect: handleSelectTab
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListHeader, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListHeaderItemText, {
    xs: 1,
    text: ""
  }), selectedFilterTab === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__.ENTITY_TYPE_BUILTIN ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListHeaderItemSort, {
    xs: 7,
    sortBy: "label",
    text: t('labelListHeader')
  }) : /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListHeaderItemText, {
    xs: 7
  }), selectedFilterTab === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__.ENTITY_TYPE_CUSTOM ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListHeaderItemSort, {
    sortBy: "modified",
    text: t('modifiedListHeader')
  }) : null)) : null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.List, null, entityTypes.map(entityType => {
    const {
      id,
      label,
      type,
      entry
    } = entityType;
    const isBuiltin = type === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_19__.ENTITY_TYPE_BUILTIN;
    const {
        typeConfigToGraph
      } = _actions__WEBPACK_IMPORTED_MODULE_23__.presenterAction,
      infoProps = _objectWithoutProperties(_actions__WEBPACK_IMPORTED_MODULE_23__.presenterAction, _excluded);
    const typeInfoAction = _objectSpread(_objectSpread({}, infoProps), {}, {
      entry: entityType.entry,
      title: t(infoProps.nlsKeyLabel),
      nlsBundles: NLS_BUNDLES
    }, typeConfigToGraph({
      entry,
      config: entityType.config
    }));
    const actionsMenuItems = _actions__WEBPACK_IMPORTED_MODULE_23__.rowActions.filter(_ref3 => {
      let {
        isVisible
      } = _ref3;
      return isVisible(entityType);
    }).map(_ref4 => {
      let {
          nlsKeyLabel
        } = _ref4,
        action = _objectWithoutProperties(_ref4, _excluded2);
      return {
        label: t(nlsKeyLabel),
        icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_10__.getIconFromActionId)(action.id),
        action: _objectSpread(_objectSpread({}, action), {}, {
          entry,
          entityTypeEntries
        })
      };
    });
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItem, {
      key: id
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemIcon, {
      Icon: isBuiltin ? _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_12__["default"] : _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_13__["default"],
      tooltip: isBuiltin ? t('builtinLabel') : t('customLabel')
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemText, {
      xs: isBuiltin ? 9 : 7,
      primary: label
    }), !isBuiltin ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemText, {
      secondary: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_20__.getShortModifiedDate)(entry),
      xs: 2
    }) : null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemActionIconButton, {
      title: t(_actions__WEBPACK_IMPORTED_MODULE_23__.presenterAction.nlsKeyLabel),
      action: typeInfoAction,
      xs: 1
    }, /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_14__["default"], null)), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemOpenMenuButton, null), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ActionsMenu, {
      items: actionsMenuItems
    }));
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListPagination, null));
};
EntityTypeEntryList.propTypes = {
  entityTypeEntries: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry)),
  status: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntityTypeEntryList);

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeEntryList/actions.js"
/*!**************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeEntryList/actions.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CreateEntryButton: () => (/* binding */ CreateEntryButton),
/* harmony export */   presenterAction: () => (/* binding */ presenterAction),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var _mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/icons-material/Add */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! admin/nls/esadEntityType.nls */ "./modules/admin/nls/esadEntityType.nls");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/actions/actionIds */ "./modules/commons/actions/actionIds.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var _utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/entityTypePresenters */ "./modules/admin/configs/entitytypes/utils/entityTypePresenters.js");
/* harmony import */ var _EntityTypeCreateDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../EntityTypeCreateDialog */ "./modules/admin/configs/entitytypes/EntityTypeCreateDialog/index.js");
/* harmony import */ var _EntityTypeEditDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../EntityTypeEditDialog */ "./modules/admin/configs/entitytypes/EntityTypeEditDialog/index.js");
/* harmony import */ var _EntityTypeRemoveDialog_EntityTypeRemoveDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../EntityTypeRemoveDialog/EntityTypeRemoveDialog */ "./modules/admin/configs/entitytypes/EntityTypeRemoveDialog/EntityTypeRemoveDialog.js");
/* harmony import */ var _utils_exporters__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../utils/exporters */ "./modules/admin/configs/utils/exporters.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const presenterAction = {
  Dialog: commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_8__["default"],
  fields: _utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_10__.fieldPresenters,
  typeConfigToGraph: _ref => {
    let {
      entry,
      config
    } = _ref;
    return (0,_utils_exporters__WEBPACK_IMPORTED_MODULE_14__.typeConfigToGraph)({
      entry,
      typeConfig: config,
      idPrefix: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_6__.ENTITY_TYPE_ID_PREFIX,
      fields: _utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_10__.fieldPresenters
    });
  },
  nlsKeyLabel: 'typeInfoDialogTitle'
};
const rowActions = [{
  id: commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_7__.ACTION_EDIT_ID,
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__.withListRerender)(_EntityTypeEditDialog__WEBPACK_IMPORTED_MODULE_12__["default"], 'onEdit'),
  isVisible: _ref2 => {
    let {
      type
    } = _ref2;
    return type === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_6__.ENTITY_TYPE_CUSTOM;
  },
  nlsKeyLabel: 'editEntry'
}, {
  id: commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_7__.ACTION_REMOVE_ID,
  Dialog: _EntityTypeRemoveDialog_EntityTypeRemoveDialog__WEBPACK_IMPORTED_MODULE_13__["default"],
  isVisible: _ref3 => {
    let {
      type
    } = _ref3;
    return type === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_6__.ENTITY_TYPE_CUSTOM;
  },
  nlsKeyLabel: 'removeEntryLabel'
}];
const CreateEntryButton = _ref4 => {
  let {
    entityTypeEntries,
    status
  } = _ref4;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)((admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_3___default()));
  if (status === 'resolved') {
    return /*#__PURE__*/React.createElement(commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_9__["default"], {
      label: t('addLabel'),
      tooltip: t('addTooltip'),
      icon: /*#__PURE__*/React.createElement(_mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_0__["default"], null),
      action: {
        Dialog: _EntityTypeCreateDialog__WEBPACK_IMPORTED_MODULE_11__["default"],
        entityTypeEntries
      }
    });
  }
  return null;
};
CreateEntryButton.propTypes = {
  entityTypeEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry)),
  status: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeEntryList/index.js"
/*!************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeEntryList/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeEntryList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeEntryList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeEntryList */ "./modules/admin/configs/entitytypes/EntityTypeEntryList/EntityTypeEntryList.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeForm/EntityTypeForm.js"
/*!****************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeForm/EntityTypeForm.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _utils_editorFields__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/editorFields */ "./modules/admin/configs/entitytypes/utils/editorFields.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const EntityTypeForm = _ref => {
  let {
    entityTypeEntries,
    nlsBundles
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundles);
  const [showAdvanced, setShowAdvanced] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_4__.Form, {
    fields: _utils_editorFields__WEBPACK_IMPORTED_MODULE_11__.editorFields,
    size: "small",
    nlsBundles: nlsBundles
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    sx: {
      width: '100%',
      marginTop: '48px',
      marginBottom: '8px'
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    sx: {
      marginBottom: '8px'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "text",
    sx: {
      paddingLeft: 0
    },
    onClick: () => setShowAdvanced(!showAdvanced)
  }, showAdvanced ? translate('hideAdvancedLabel') : translate('showAdvancedLabel'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    in: showAdvanced,
    timeout: "auto",
    unmountOnExit: true
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_4__.Form, {
    fields: _utils_editorFields__WEBPACK_IMPORTED_MODULE_11__.advancedEditorFields,
    size: "small",
    entityTypeEntries: entityTypeEntries,
    nlsBundles: nlsBundles
  })));
};
EntityTypeForm.propTypes = {
  entityTypeEntries: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__.Entry)),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntityTypeForm);

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeForm/index.js"
/*!*******************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeForm/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeForm__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeForm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeForm */ "./modules/admin/configs/entitytypes/EntityTypeForm/EntityTypeForm.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeInstanceList/EntityTypeInstanceList.js"
/*!********************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeInstanceList/EntityTypeInstanceList.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/actions/actionIds */ "./modules/commons/actions/actionIds.js");
/* harmony import */ var _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material/Settings */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js");
/* harmony import */ var _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/Widgets */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Widgets.js");
/* harmony import */ var _mui_icons_material_CloudUpload__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material/CloudUpload */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CloudUpload.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! admin/nls/esadEntityType.nls */ "./modules/admin/nls/esadEntityType.nls");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/buttons/Button */ "./modules/commons/components/buttons/Button/index.js");
/* harmony import */ var _utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../utils/entityTypePresenters */ "./modules/admin/configs/entitytypes/utils/entityTypePresenters.js");
/* harmony import */ var _utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../utils/entityTypeQuery */ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js");
/* harmony import */ var _utils_exporters__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../utils/exporters */ "./modules/admin/configs/utils/exporters.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }





/* eslint-disable react/jsx-props-no-spreading */




















const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default()), (admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_14___default()), (admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_15___default())];
const SEARCH_FIELDS = ['label'];
const MigrateEntityTypesButton = onMigrate => {
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)(nlsBundles);
  if (!config__WEBPACK_IMPORTED_MODULE_19__["default"].get('admin.enableTypeStoreMigration')) return null;
  return /*#__PURE__*/React.createElement(commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_21__["default"], {
    label: t('migrateToStoreLabel'),
    icon: /*#__PURE__*/React.createElement(_mui_icons_material_CloudUpload__WEBPACK_IMPORTED_MODULE_11__["default"], null),
    onClick: () => runAsync((0,_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_23__.migrateEntityTypesToStore)().then(() => onMigrate())),
    isVisible: true
  });
};
const EntityTypeInstanceList = _ref => {
  let {
    onMigrate,
    listProps
  } = _ref;
  const [{
    search
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)(nlsBundles);
  const {
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])();
  const [selectedEntityType, setSelectedEntityType] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const instanceAndBuiltinEntityTypes = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    return (0,_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_23__.getInstanceAndBuiltinEntityTypes)();
  }, []);
  const {
    result: entityTypes,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListQuery)({
    items: instanceAndBuiltinEntityTypes,
    searchFields: SEARCH_FIELDS
  });
  const defaultActions = [{
    id: commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_8__.ACTION_MIGRATE_ID,
    element: /*#__PURE__*/React.createElement(MigrateEntityTypesButton, {
      key: commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_8__.ACTION_MIGRATE_ID,
      onMigrate: onMigrate
    })
  }];
  const listActions = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useFilterListActions)({
    listActions: defaultActions,
    listActionsProps: {},
    excludeActions: listProps.excludeActions,
    nlsBundles
  });
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListView, {
    status: status,
    search: search,
    size: size,
    nlsBundles: nlsBundles
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListActions, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListSearch, null), listActions.map(_ref2 => {
    let {
      element
    } = _ref2;
    return element;
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListHeader, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListHeaderItemText, {
    xs: 1,
    text: ""
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListHeaderItemSort, {
    xs: 11,
    sortBy: "label",
    text: t('labelListHeader')
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.List, null, entityTypes.map(entityType => {
    const {
      id,
      label,
      type
    } = entityType;
    const isBuiltin = type === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_18__.ENTITY_TYPE_BUILTIN;
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItem, {
      key: id
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemIcon, {
      Icon: isBuiltin ? _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_9__["default"] : _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_10__["default"],
      tooltip: isBuiltin ? t('builtinFilterLabel') : t('customFilterLabel')
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemText, {
      xs: 9,
      primary: label || id
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemIconButton, {
      icon: /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_12__["default"], null),
      xs: 2,
      justifyContent: "flex-end",
      onClick: () => setSelectedEntityType(entityType),
      title: t('showTypeInfoDialogTitle')
    }));
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListPagination, null), selectedEntityType ? /*#__PURE__*/React.createElement(commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_20__["default"], _extends({
    fields: _utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_22__.fieldPresenters,
    title: t('typeInfoDialogTitle'),
    entryLabel: selectedEntityType.label,
    closeDialog: () => setSelectedEntityType(null),
    nlsBundles: nlsBundles
  }, (0,_utils_exporters__WEBPACK_IMPORTED_MODULE_24__.typeConfigToGraph)({
    entry: selectedEntityType.entry,
    typeConfig: selectedEntityType.config,
    idPrefix: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_18__.ENTITY_TYPE_ID_PREFIX,
    fields: _utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_22__.fieldPresenters
  }))) : null);
};
EntityTypeInstanceList.propTypes = {
  onMigrate: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProvider)(EntityTypeInstanceList, () => ({
  sort: {
    field: 'label',
    order: 'asc'
  }
})));

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeInstanceList/index.js"
/*!***************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeInstanceList/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeInstanceList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeInstanceList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeInstanceList */ "./modules/admin/configs/entitytypes/EntityTypeInstanceList/EntityTypeInstanceList.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeRemoveDialog/EntityTypeRemoveDialog.js"
/*!********************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeRemoveDialog/EntityTypeRemoveDialog.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const EntityTypeRemoveDialog = _ref => {
  let {
    entry,
    closeDialog
  } = _ref;
  const {
    nlsBundles
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.useListView)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_1__["default"], {
    nlsBundles: nlsBundles,
    entry: entry,
    closeDialog: closeDialog,
    removeSuccessMessage: t('removeCustomEntityTypeSuccess'),
    removeFailMessage: t('removeCustomEntityTypeFail')
  });
};
EntityTypeRemoveDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntityTypeRemoveDialog);

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeChooser/EntityTypeChooser.js"
/*!*********************************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeChooser/EntityTypeChooser.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/Settings */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js");
/* harmony import */ var _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material/Widgets */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Widgets.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! admin/nls/esadEntityType.nls */ "./modules/admin/nls/esadEntityType.nls");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_components_EntryListView_lists_UsersList_actions__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/EntryListView/lists/UsersList/actions */ "./modules/commons/components/EntryListView/lists/UsersList/actions.js");
/* harmony import */ var _utils_exporters__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../utils/exporters */ "./modules/admin/configs/utils/exporters.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }





/* eslint-disable react/jsx-props-no-spreading */

















const NLS_BUNDLES = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default()), (admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_18___default()), (admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19___default())];
const SEARCH_FIELDS = ['label'];
const EntityTypeChooser = _ref => {
  let {
    onSelect,
    entityTypes,
    closeDialog,
    presenters
  } = _ref;
  const [entityTypeInfo, setEntityTypeInfo] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(NLS_BUNDLES);
  const [{
    search
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.useListModel)();
  const {
    result: entityTypeListItems,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.useListQuery)({
    items: entityTypes,
    searchFields: SEARCH_FIELDS
  });
  const handleSelectEntityType = id => {
    onSelect(id);
    closeDialog();
  };
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__["default"], {
    id: "select-entitytype-chooser",
    closeDialog: closeDialog,
    closeDialogButtonLabel: t('close'),
    title: t('selectEntityTypeTitle'),
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    maxWidth: "924px"
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListView, {
    status: "resolved",
    search: search,
    size: size,
    nlsBundles: NLS_BUNDLES
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListActions, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListSearch, null), /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.RefreshButton, null)), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListHeader, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListHeaderItemText, {
    xs: 1,
    text: ""
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListHeaderItemSort, {
    xs: 11,
    sortBy: "label",
    text: t('labelListHeader')
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.List, null, entityTypeListItems.map(entityTypeListItem => {
    const {
      id,
      label,
      type
    } = entityTypeListItem;
    const isBuiltin = type === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_20__.ENTITY_TYPE_BUILTIN;
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListItem, {
      key: id
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListItemIcon, {
      Icon: isBuiltin ? _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_10__["default"] : _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_11__["default"],
      tooltip: isBuiltin ? t('builtinLabel') : t('customLabel')
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListItemText, {
      xs: 8,
      primary: label
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListItemAction, {
      xs: 2
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListItemIconButton, {
      onClick: () => setEntityTypeInfo(entityTypeListItem),
      title: t('showTypeInfoDialogTitle')
    }, /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_9__["default"], null))), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListItemAction, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      variant: "text",
      onClick: () => handleSelectEntityType(id)
    }, t('selectEntityTypeLabel'))));
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListPagination, null), entityTypeInfo ? /*#__PURE__*/React.createElement(commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_15__["default"], _extends({
    entry: entityTypeInfo.entry,
    fields: presenters,
    title: t('typeInfoDialogTitle'),
    closeDialog: () => setEntityTypeInfo(null),
    nlsBundles: commons_components_EntryListView_lists_UsersList_actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles
  }, (0,_utils_exporters__WEBPACK_IMPORTED_MODULE_22__.typeConfigToGraph)({
    entry: entityTypeInfo.entry,
    typeConfig: entityTypeInfo.config,
    idPrefix: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_20__.ENTITY_TYPE_ID_PREFIX,
    fields: presenters
  }))) : null)));
};
EntityTypeChooser.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func).isRequired,
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func).isRequired,
  entityTypes: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
    label: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
    type: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)
  })),
  presenters: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.withListModelProvider)(EntityTypeChooser, () => ({
  sort: {
    field: 'label',
    order: 'asc'
  }
})));

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeChooser/index.js"
/*!*********************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeChooser/index.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeChooser__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeChooser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeChooser */ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeChooser/EntityTypeChooser.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeSelectEditor.js"
/*!********************************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeSelectEditor.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntityTypeSelectEditor: () => (/* binding */ EntityTypeSelectEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/nls/esadEntityType.nls */ "./modules/admin/nls/esadEntityType.nls");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/types/utils/uri */ "./modules/commons/types/utils/uri.js");
/* harmony import */ var admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! admin/configs/entitytypes/utils/entityTypeQuery */ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js");
/* harmony import */ var _EntityTypeChooser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./EntityTypeChooser */ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeChooser/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }















const EntityTypeSelectEditor = _ref => {
  let {
    graph,
    resourceURI,
    property,
    label,
    mandatory,
    entityTypeEntries,
    dialogProps
  } = _ref;
  const entityTypes = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    return (0,admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_13__.getEntityTypesByFilter)(entityTypeEntries);
  }, [entityTypeEntries]);
  const [selectedEntityType, setSelectedEntityType] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(entityTypes.find(entityType => (0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_12__.nameToURI)(entityType.id, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_11__.CONFIG_CONTEXT) === graph.findFirstValue(resourceURI, property)));
  const [showEntityTypeChooser, setShowEntityTypeChooser] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const onSelect = entityTypeId => {
    graph.findAndRemove(resourceURI, property);
    graph.add(resourceURI, property, (0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_12__.nameToURI)(entityTypeId, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_11__.CONFIG_CONTEXT));
    setSelectedEntityType(entityTypes.find(entityType => entityType.id === entityTypeId));
  };
  const onClear = () => {
    graph.findAndRemove(resourceURI, property);
    setSelectedEntityType('');
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__.Fields, {
    required: mandatory,
    labelId: "select-entitytype-editor",
    label: label,
    max: 1
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__.Field, {
    size: 1,
    disabled: !selectedEntityType,
    onClear: onClear
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__.TextField, {
    disabled: true,
    required: mandatory,
    xs: 8,
    inputProps: {
      'aria-labelledby': 'select-entitytype-editor'
    },
    size: "small",
    value: selectedEntityType ? selectedEntityType.label : ''
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    size: {
      xs: 4
    }
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__.SearchButton, {
    tooltip: t('selectEntityTypeTooltip'),
    onClick: () => setShowEntityTypeChooser(true)
  }))), showEntityTypeChooser ? /*#__PURE__*/React.createElement(_EntityTypeChooser__WEBPACK_IMPORTED_MODULE_14__["default"], _extends({
    closeDialog: () => {
      setShowEntityTypeChooser(false);
    },
    onSelect: onSelect,
    entityTypes: entityTypes
  }, dialogProps)) : null);
};
EntityTypeSelectEditor.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  entityTypeEntries: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry)),
  dialogProps: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
};

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/index.js"
/*!***************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeSelectEditor/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntityTypeSelectEditor: () => (/* reexport safe */ _EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_0__.EntityTypeSelectEditor)
/* harmony export */ });
/* harmony import */ var _EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeSelectEditor */ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/EntityTypeSelectEditor.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeView/EntityTypeView.js"
/*!****************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeView/EntityTypeView.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var _EntityTypeInstanceList__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../EntityTypeInstanceList */ "./modules/admin/configs/entitytypes/EntityTypeInstanceList/index.js");
/* harmony import */ var _EntityTypeEntryList__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../EntityTypeEntryList */ "./modules/admin/configs/entitytypes/EntityTypeEntryList/index.js");
/* harmony import */ var _utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/entityTypeQuery */ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









// By default entity type entries are shown.
// Instance entity types are shown if defined and there are no entity type entries.
const EntityTypeListView = _ref => {
  let {
    listProps
  } = _ref;
  const [{
    refreshCount
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.useListModel)();
  const {
    entries: entityTypeEntries,
    status,
    isLoading
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.useFetchEntries)({
    fetchEntries: _utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_7__.getEntityTypeEntries,
    refreshCount
  });
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_4__["default"], null);
  if (!(entityTypeEntries !== null && entityTypeEntries !== void 0 && entityTypeEntries.length) || config__WEBPACK_IMPORTED_MODULE_3__["default"].get('admin.enableEntrystoreConfigurations') === false) return /*#__PURE__*/React.createElement(_EntityTypeInstanceList__WEBPACK_IMPORTED_MODULE_5__["default"], {
    onMigrate: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.REFRESH
    }),
    listProps: listProps
  });
  return /*#__PURE__*/React.createElement(_EntityTypeEntryList__WEBPACK_IMPORTED_MODULE_6__["default"], {
    entityTypeEntries: entityTypeEntries,
    status: status,
    listProps: listProps
  });
};
EntityTypeListView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.withListModelProvider)(EntityTypeListView));

/***/ },

/***/ "./modules/admin/configs/entitytypes/EntityTypeView/index.js"
/*!*******************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/EntityTypeView/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeView */ "./modules/admin/configs/entitytypes/EntityTypeView/EntityTypeView.js");


/***/ },

/***/ "./modules/admin/configs/entitytypes/utils/editorFields.js"
/*!*****************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/utils/editorFields.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   advancedEditorFields: () => (/* binding */ advancedEditorFields),
/* harmony export */   editorFields: () => (/* binding */ editorFields)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var _editors_ConstraintEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../editors/ConstraintEditor */ "./modules/admin/configs/editors/ConstraintEditor/index.js");
/* harmony import */ var _EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../EntityTypeSelectEditor */ "./modules/admin/configs/entitytypes/EntityTypeSelectEditor/index.js");
/* harmony import */ var _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fieldDefinitions */ "./modules/admin/configs/entitytypes/utils/fieldDefinitions.js");
/* harmony import */ var _entityTypePresenters__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./entityTypePresenters */ "./modules/admin/configs/entitytypes/utils/entityTypePresenters.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





const editorFields = [_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.label), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.description), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.template), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.constraints), {}, {
  Editor: _editors_ConstraintEditor__WEBPACK_IMPORTED_MODULE_2__.ConstraintEditor
}), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.createOptions), {}, {
  editors: [_fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.includeInternal, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.inlineCreation, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.includeFile, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.includeLink]
})];
const advancedEditorFields = [_objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.module), {}, {
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.SelectEditor
}), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.templateLevel), {}, {
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.RadioEditor
}), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.useWith), {}, {
  Editor: _EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_3__.EntityTypeSelectEditor,
  dialogProps: {
    presenters: _entityTypePresenters__WEBPACK_IMPORTED_MODULE_5__.fieldPresenters
  }
}), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.refines), {}, {
  Editor: _EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_3__.EntityTypeSelectEditor,
  dialogProps: {
    presenters: _entityTypePresenters__WEBPACK_IMPORTED_MODULE_5__.fieldPresenters
  }
}), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.context), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.restrictTo), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.allContexts), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.publishControl), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.global), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.main), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.uriPattern), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.iconId), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.searchProps), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_4__.storeConfig), {}, {
  editors: [{
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.LANGUAGE_LITERAL,
    property: 'dcterms:title',
    labelNlsKey: 'labelLabel'
  }, {
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.URI,
    property: 'dcterms:source',
    max: 1,
    labelNlsKey: 'endpointLabel'
  }]
})];

/***/ },

/***/ "./modules/admin/configs/entitytypes/utils/entityTypePresenters.js"
/*!*************************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/utils/entityTypePresenters.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   fieldPresenters: () => (/* binding */ fieldPresenters)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _types_presenters_Constraints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../types/presenters/Constraints */ "./modules/admin/configs/types/presenters/Constraints/index.js");
/* harmony import */ var _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fieldDefinitions */ "./modules/admin/configs/entitytypes/utils/fieldDefinitions.js");
/* harmony import */ var _types_presenters_StoreConfigPresenter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../types/presenters/StoreConfigPresenter */ "./modules/admin/configs/types/presenters/StoreConfigPresenter/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



const fieldPresenters = [_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.label), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.template), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.description), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.rdfType), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.constraints), {}, {
  Presenter: _types_presenters_Constraints__WEBPACK_IMPORTED_MODULE_1__.Constraints
}), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.module), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.includeInternal), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.inlineCreation), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.includeFile), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.includeLink), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.iconId), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.useWith), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.refines), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.templateLevel), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.publishControl), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.searchProps), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.allContexts), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.context), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.uriPattern), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.restrictTo), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.global), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.main), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.storeConfig), {}, {
  Presenter: _types_presenters_StoreConfigPresenter__WEBPACK_IMPORTED_MODULE_3__.StoreConfigPresenter
})];

/***/ },

/***/ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js"
/*!********************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/utils/entityTypeQuery.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getEntityTypeEntries: () => (/* binding */ getEntityTypeEntries),
/* harmony export */   getEntityTypesByFilter: () => (/* binding */ getEntityTypesByFilter),
/* harmony export */   getInstanceAndBuiltinEntityTypes: () => (/* binding */ getInstanceAndBuiltinEntityTypes),
/* harmony export */   getInstanceEntityTypes: () => (/* binding */ getInstanceEntityTypes),
/* harmony export */   getOverriddenBuiltinEntityTypes: () => (/* binding */ getOverriddenBuiltinEntityTypes),
/* harmony export */   hasInstanceEntityTypes: () => (/* binding */ hasInstanceEntityTypes),
/* harmony export */   migrateEntityTypesToStore: () => (/* binding */ migrateEntityTypesToStore)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var admin_configs_utils_configQuery__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/configs/utils/configQuery */ "./modules/admin/configs/utils/configQuery.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var _fieldDefinitions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./fieldDefinitions */ "./modules/admin/configs/entitytypes/utils/fieldDefinitions.js");














/**
 * Get entity types defined in instance config
 *
 * @returns {object[]}
 */
const getInstanceEntityTypes = () => {
  return commons_registry__WEBPACK_IMPORTED_MODULE_5__["default"].getInstanceConfig().entitytypes || [];
};

/**
 * Checks for entity types defined in instance config.
 *
 * @returns {boolean}
 */
const hasInstanceEntityTypes = () => {
  return Boolean(getInstanceEntityTypes().length);
};

/**
 * Merges entity types defined in instance and application config. A type
 * prop is added.
 *
 * @returns {object[]}
 */
const getInstanceAndBuiltinEntityTypes = () => {
  const systemEntityTypeIds = commons_registry__WEBPACK_IMPORTED_MODULE_5__["default"].getApplicationConfig().entitytypes.map(_ref => {
    let {
      name
    } = _ref;
    return name;
  });
  const entityTypes = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entitytypes');
  return entityTypes.map(entityType => {
    return {
      id: entityType.name,
      label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_7__.localize)(entityType.label),
      type: systemEntityTypeIds.includes(entityType.name) ? admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_BUILTIN : admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_CUSTOM,
      config: entityType
    };
  });
};

/**
 * Finds overridden builtin entity types, by comparing instance and
 * builtin entity types. An builtin entity type is overridden if there's
 * an instance entity type with matching name.
 *
 * @returns {object[]}
 */
const getOverriddenBuiltinEntityTypes = () => {
  const instanceEntityTypes = commons_registry__WEBPACK_IMPORTED_MODULE_5__["default"].getInstanceConfig().entitytypes || [];
  const builtinEntityTypeNames = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_11__.getBuiltinEntityTypeNames)();
  return instanceEntityTypes.filter(instanceEntityType => {
    return builtinEntityTypeNames.includes(instanceEntityType.name);
  });
};

/**
 * Finds custom entity types, by comparing instance and builtin entity
 * types. It's a custom instance entity type if there's no builtin entity
 * type with matching name.
 *
 * @returns {object[]}
 */
const getCustomInstanceEntityTypes = () => {
  const builtinEntityTypeNames = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_11__.getBuiltinEntityTypeNames)();
  const instanceEntityTypes = commons_registry__WEBPACK_IMPORTED_MODULE_5__["default"].getInstanceConfig().entitytypes || [];
  return instanceEntityTypes.filter(instanceEntityType => {
    return !builtinEntityTypeNames.includes(instanceEntityType.name);
  });
};

/**
 * Migrates overridden builtin entity types and custom entity types from
 * instance config. Only overridden values for builtin entity types are
 * migrated.
 *
 * @returns {Entry[]}
 */
const migrateEntityTypesToStore = async () => {
  const overriddenEntityTypes = getOverriddenBuiltinEntityTypes();
  const customInstanceEntityTypes = getCustomInstanceEntityTypes();
  const entityTypeEntries = await (0,admin_configs_utils_configQuery__WEBPACK_IMPORTED_MODULE_9__.migrateTypesToStore)({
    types: [...overriddenEntityTypes, ...customInstanceEntityTypes],
    idPrefix: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_ID_PREFIX,
    fieldDefinitions: _fieldDefinitions__WEBPACK_IMPORTED_MODULE_12__,
    rdfType: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.RDF_CLASS_ENTITY_TYPE
  });
  return entityTypeEntries;
};

/**
 * @returns {Promise<object[]>}
 */
const getEntityTypeEntries = () => {
  return (0,admin_configs_utils_configQuery__WEBPACK_IMPORTED_MODULE_9__.getConfigEntries)({
    rdfType: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.RDF_CLASS_ENTITY_TYPE
  });
};

/**
 * Extracts builtin entity types. If an builtin entity type has a
 * matching entry it means it's overridden.
 *
 * @param {Entry[]} entityTypeEntries
 * @returns {object[]}
 */
const getBuiltinEntityTypes = entityTypeEntries => {
  const builtinEntityTypeConfigs = commons_registry__WEBPACK_IMPORTED_MODULE_5__["default"].getApplicationConfig().entitytypes;
  const builtinEntityTypes = builtinEntityTypeConfigs.map(builtinEntityTypeConfig => {
    const {
      name,
      label
    } = builtinEntityTypeConfig;
    const id = `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_ID_PREFIX}-${name}`;
    const builtinEntityTypeEntry = entityTypeEntries.find(entityTypeEntry => entityTypeEntry.getId() === id);
    if (builtinEntityTypeEntry) {
      return {
        id,
        label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getLabel)(builtinEntityTypeEntry) || (0,commons_locale__WEBPACK_IMPORTED_MODULE_7__.localize)(label),
        entry: builtinEntityTypeEntry,
        type: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_BUILTIN,
        config: builtinEntityTypeConfig
      };
    }
    return {
      id,
      label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_7__.localize)(label),
      type: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_BUILTIN,
      config: builtinEntityTypeConfig
    };
  });
  return builtinEntityTypes;
};

/**
 * Extracts custom entity types from array of entity type entries. If there's no
 * matching builtin entity type, it's a custom entity type.
 *
 * @param {Entry[]} entityTypeEntries
 * @returns {object[]}
 */
const getCustomEntityTypes = entityTypeEntries => {
  // exlude builtin entity types
  const builtinEntityTypeConfigs = commons_registry__WEBPACK_IMPORTED_MODULE_5__["default"].getApplicationConfig().entitytypes;
  const customEntityTypesEntries = entityTypeEntries.filter(entityTypeEntry => !builtinEntityTypeConfigs.find(_ref2 => {
    let {
      name
    } = _ref2;
    return entityTypeEntry.getId() === `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_ID_PREFIX}-${name}`;
  }));
  return customEntityTypesEntries.map(customEntityTypeEntry => ({
    id: customEntityTypeEntry.getId(),
    label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getLabel)(customEntityTypeEntry),
    type: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_CUSTOM,
    entry: customEntityTypeEntry
  }));
};

/**
 * Filters entity types on type
 *
 * @param {Entry[]} entityTypeEntries
 * @param {string} typeOfEntityType
 * @returns {Entry[]}
 */
const getEntityTypesByFilter = (entityTypeEntries, typeOfEntityType) => {
  if (!entityTypeEntries) return [];
  if (typeOfEntityType === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_BUILTIN) return getBuiltinEntityTypes(entityTypeEntries);
  if (typeOfEntityType === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_CUSTOM) return getCustomEntityTypes(entityTypeEntries);
  return [...getBuiltinEntityTypes(entityTypeEntries), ...getCustomEntityTypes(entityTypeEntries)];
};

/***/ },

/***/ "./modules/admin/configs/entitytypes/utils/fieldDefinitions.js"
/*!*********************************************************************!*\
  !*** ./modules/admin/configs/entitytypes/utils/fieldDefinitions.js ***!
  \*********************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   allContexts: () => (/* binding */ allContexts),
/* harmony export */   constraints: () => (/* binding */ constraints),
/* harmony export */   context: () => (/* binding */ context),
/* harmony export */   createOptions: () => (/* binding */ createOptions),
/* harmony export */   description: () => (/* binding */ description),
/* harmony export */   faClass: () => (/* binding */ faClass),
/* harmony export */   global: () => (/* binding */ global),
/* harmony export */   iconId: () => (/* binding */ iconId),
/* harmony export */   includeFile: () => (/* binding */ includeFile),
/* harmony export */   includeInternal: () => (/* binding */ includeInternal),
/* harmony export */   includeLink: () => (/* binding */ includeLink),
/* harmony export */   inlineCreation: () => (/* binding */ inlineCreation),
/* harmony export */   label: () => (/* binding */ label),
/* harmony export */   main: () => (/* binding */ main),
/* harmony export */   module: () => (/* binding */ module),
/* harmony export */   publishControl: () => (/* binding */ publishControl),
/* harmony export */   rdfType: () => (/* binding */ rdfType),
/* harmony export */   refines: () => (/* binding */ refines),
/* harmony export */   restrictTo: () => (/* binding */ restrictTo),
/* harmony export */   searchProps: () => (/* binding */ searchProps),
/* harmony export */   storeConfig: () => (/* binding */ storeConfig),
/* harmony export */   template: () => (/* binding */ template),
/* harmony export */   templateLevel: () => (/* binding */ templateLevel),
/* harmony export */   uriPattern: () => (/* binding */ uriPattern),
/* harmony export */   useWith: () => (/* binding */ useWith)
/* harmony export */ });
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/configs/utils/exporters */ "./modules/admin/configs/utils/exporters.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");



const template = {
  name: 'template',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LITERAL,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:template`,
  labelNlsKey: 'templateLabel',
  mandatory: true,
  max: 1
};
const label = {
  name: 'label',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LANGUAGE_LITERAL,
  property: 'dcterms:title',
  labelNlsKey: 'labelLabel',
  mandatory: true
};
const rdfType = {
  name: 'rdfType',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.BLANK,
  property: `rfs:constraint`,
  toGraph: admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_1__.addConstraintFromRdfType,
  labelNlsKey: 'rdfTypeLabel',
  hidden: true
};
const constraints = {
  name: 'constraints',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.BLANK,
  property: `rfs:constraint`,
  toGraph: admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_1__.addConstraints,
  labelNlsKey: 'constraintsLabel',
  max: 1
};
const description = {
  name: 'description',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LANGUAGE_LITERAL,
  property: 'dcterms:description',
  labelNlsKey: 'descriptionLabel'
};
const module = {
  name: 'module',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LITERAL,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:module`,
  choices: [{
    value: 'catalog',
    label: {
      en: 'Catalog'
    }
  }, {
    value: 'workbench',
    label: {
      en: 'Workbench'
    }
  }, {
    value: 'toolkit',
    label: {
      en: 'Toolkit'
    }
  }, {
    value: 'terms',
    label: {
      en: 'Terms'
    }
  }, {
    value: 'admin',
    label: {
      en: 'Admin'
    }
  }, {
    value: 'models',
    label: {
      en: 'Models'
    }
  }],
  labelNlsKey: 'moduleLabel'
};
const includeInternal = {
  name: 'includeInternal',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:includeInternal`,
  labelNlsKey: 'includeInternalLabel'
};
const inlineCreation = {
  name: 'inlineCreation',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:inlineCreation`,
  labelNlsKey: 'inlineCreationLabel'
};
const includeFile = {
  name: 'includeFile',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:includeFile`,
  labelNlsKey: 'includeFileLabel'
};
const includeLink = {
  name: 'includeLink',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:includeLink`,
  labelNlsKey: 'includeLinkLabel'
};
const createOptions = {
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.GROUP,
  property: 'createOptions',
  direction: 'row',
  labelNlsKey: 'createOptionsLabel',
  max: 1
};

// faClass is renamed to iconId
const faClass = {
  name: 'faClass',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LITERAL,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:iconId`,
  max: 1
};
const iconId = {
  name: 'iconId',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LITERAL,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:iconId`,
  labelNlsKey: 'iconIdLabel',
  max: 1
};
const useWith = {
  name: 'useWidth',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.URI,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:useWith`,
  toGraph: admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_1__.addURIFromName,
  labelNlsKey: 'useWithLabel',
  max: 1
};
const refines = {
  name: 'refines',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.URI,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:refines`,
  toGraph: admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_1__.addURIFromName,
  labelNlsKey: 'refinesLabel',
  max: 1
};
const templateLevel = {
  name: 'templateLevel',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LITERAL,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:templateLevel`,
  labelNlsKey: 'templateLevelLabel',
  choices: [{
    value: 'mandatory',
    label: {
      en: 'Mandatory'
    }
  }, {
    value: 'recommended',
    label: {
      en: 'Recommended'
    }
  }, {
    value: 'optional',
    label: {
      en: 'Optional'
    }
  }],
  row: true,
  max: 1
};
const publishControl = {
  name: 'publishControl',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:publishControl`,
  labelNlsKey: 'publishControlLabel'
};
const searchProps = {
  name: 'searchProps',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.URI,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:searchProps`,
  labelNlsKey: 'searchPropsLabel'
};
const allContexts = {
  name: 'allContexts',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:allContexts`,
  labelNlsKey: 'allContextsLabel',
  max: 1
};
const context = {
  name: 'context',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.URI,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:context`,
  labelNlsKey: 'contextLabel'
};
const uriPattern = {
  name: 'uriPattern',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.LITERAL,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:uriPattern`,
  labelNlsKey: 'uriPatternLabel',
  max: 1
};
const restrictTo = {
  name: 'restrictTo',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.URI,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:restrictTo`,
  labelNlsKey: 'restrictToLabel',
  max: 1
};
const global = {
  name: 'global',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:global`,
  labelNlsKey: 'globalLabel'
};
const main = {
  name: 'main',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL,
  datatype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:main`,
  labelNlsKey: 'mainLabel',
  max: 1
};
const storeConfig = {
  name: 'storeConfig',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.BLANK,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:storeConfig`,
  labelNlsKey: 'storeConfigLabel',
  toGraph: admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_1__.addStoreConfig,
  max: 1
};

/***/ },

/***/ "./modules/admin/configs/projecttypes/EntityTypeSelectDialog/EntityTypeSelectDialog.js"
/*!*********************************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/EntityTypeSelectDialog/EntityTypeSelectDialog.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/filters/utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material/Settings */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js");
/* harmony import */ var _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material/Widgets */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Widgets.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! admin/nls/esadEntityTypeSelect.nls */ "./modules/admin/nls/esadEntityTypeSelect.nls");
/* harmony import */ var admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! admin/nls/esadEntityType.nls */ "./modules/admin/nls/esadEntityType.nls");
/* harmony import */ var admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! admin/nls/esadProjectType.nls */ "./modules/admin/nls/esadProjectType.nls");
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! admin/configs/entitytypes/utils/entityTypeQuery */ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js");
/* harmony import */ var admin_configs_entitytypes_utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! admin/configs/entitytypes/utils/entityTypePresenters */ "./modules/admin/configs/entitytypes/utils/entityTypePresenters.js");
/* harmony import */ var admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! admin/configs/utils/exporters */ "./modules/admin/configs/utils/exporters.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

























const nlsBundles = [(admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_20___default()), (admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_19___default()), (admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_22___default()), (admin_nls_esadEntityType_nls__WEBPACK_IMPORTED_MODULE_21___default())];
const SEARCH_FIELDS = ['label'];
const EntityTypeSelectDialog = _ref => {
  let {
    selection,
    closeDialog,
    onSelect,
    isDisabled
  } = _ref;
  const [selectedEntityTypes, setSelectedEntityTypes] = (0,react__WEBPACK_IMPORTED_MODULE_14__.useState)(selection);
  const [showAllEntityTypes, setShowAllEntityTypes] = (0,react__WEBPACK_IMPORTED_MODULE_14__.useState)(true);
  const [{
    search,
    refreshCount
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const {
    entries: entityTypeEntries,
    status
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useFetchEntries)({
    fetchEntries: admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_23__.getEntityTypeEntries,
    refreshCount
  });
  const instanceAndBuiltinEntityTypes = (0,react__WEBPACK_IMPORTED_MODULE_14__.useMemo)(() => {
    return (0,admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_23__.getEntityTypesByFilter)(entityTypeEntries);
  }, [entityTypeEntries]);
  const {
    result: entityTypes,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListQuery)({
    items: showAllEntityTypes ? instanceAndBuiltinEntityTypes : selectedEntityTypes,
    searchFields: SEARCH_FIELDS
  });
  const _onChange = (event, entityType) => {
    const {
      checked
    } = event.target;
    if (checked) {
      setSelectedEntityTypes([...selectedEntityTypes, entityType]);
    } else {
      setSelectedEntityTypes(selectedEntityTypes.filter(item => item.id !== entityType.id));
    }
  };
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)(nlsBundles);
  const presenterAction = {
    Dialog: commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_17__["default"],
    idPrefix: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__.ENTITY_TYPE_ID_PREFIX,
    fields: admin_configs_entitytypes_utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_24__.fieldPresenters,
    nlsKeyLabel: 'typeInfoDialogTitle',
    nlsBundles
  };
  const selectAction = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    onClick: () => onSelect(selectedEntityTypes)
  }, translate('entityTypeSelectDialogButtonLabel'));
  const onShowAllToggle = () => {
    setShowAllEntityTypes(!showAllEntityTypes);
    dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.PAGINATE,
      value: 0
    });
  };
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    title: translate('entityTypeSelectDialogTitle'),
    maxWidth: "lg",
    fixedHeight: true,
    closeDialog: closeDialog,
    actions: selectAction
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListView, {
    search: search,
    size: size,
    nlsBundles: nlsBundles,
    status: size === 0 && status === 'resolved' ? 'idle' : status
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListActions, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListSearch, null), /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__.RefreshButton, null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    sx: {
      marginLeft: 'auto'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    disabled: showAllEntityTypes && !selectedEntityTypes.length,
    variant: "text",
    onClick: onShowAllToggle
  }, showAllEntityTypes ? translate('showSelectedLabel') : translate('showAllLabel')))), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.List, {
    renderPlaceholder: Placeholder => /*#__PURE__*/React.createElement(Placeholder, {
      label: translate((0,commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_8__.getNoResultsNLS)(Boolean(search), !showAllEntityTypes), search)
    })
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListHeader, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListHeaderItemText, {
    xs: 1,
    text: ""
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListHeaderItemSort, {
    xs: 11,
    sortBy: "label",
    text: translate('labelListHeader')
  })), entityTypes.map(entityType => {
    const {
      id,
      label,
      type,
      entry
    } = entityType;
    const disabled = isDisabled(id);
    const isBuiltin = type === admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__.ENTITY_TYPE_BUILTIN;
    const title = translate(presenterAction.nlsKeyLabel);
    const typeInfoAction = _objectSpread(_objectSpread({}, presenterAction), {}, {
      entry,
      title
    }, (0,admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_25__.typeConfigToGraph)({
      entry,
      typeConfig: entityType.config,
      idPrefix: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__.ENTITY_TYPE_ID_PREFIX,
      fields: admin_configs_entitytypes_utils_entityTypePresenters__WEBPACK_IMPORTED_MODULE_24__.fieldPresenters
    }));
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItem, {
      key: id
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemIcon, {
      Icon: isBuiltin ? _mui_icons_material_Settings__WEBPACK_IMPORTED_MODULE_11__["default"] : _mui_icons_material_Widgets__WEBPACK_IMPORTED_MODULE_12__["default"],
      tooltip: isBuiltin ? translate('builtinLabel') : translate('customLabel')
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemText, {
      xs: 8,
      primary: label
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemActionIconButton, {
      title: translate(presenterAction.nlsKeyLabel),
      action: typeInfoAction,
      xs: 2
    }, /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_13__["default"], null)), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemCheckbox, {
      ariaLabel: label,
      checked: Boolean(selectedEntityTypes.find(item => item.id === entityType.id)),
      disabled: disabled,
      onChange: event => _onChange(event, entityType),
      tooltip: disabled ? translate('disabledSelectionTooltip') : null
    }));
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListPagination, null)));
};
EntityTypeSelectDialog.propTypes = {
  selection: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})).isRequired,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  isDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProvider)(EntityTypeSelectDialog, () => ({
  sort: {
    field: 'label',
    order: 'asc'
  }
})));

/***/ },

/***/ "./modules/admin/configs/projecttypes/EntityTypeSelectDialog/index.js"
/*!****************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/EntityTypeSelectDialog/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityTypeSelectDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeSelectDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeSelectDialog */ "./modules/admin/configs/projecttypes/EntityTypeSelectDialog/EntityTypeSelectDialog.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/EntityTypeSelectEditor/EntityTypeSelectEditor.js"
/*!*********************************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/EntityTypeSelectEditor/EntityTypeSelectEditor.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! admin/nls/esadEntityTypeSelect.nls */ "./modules/admin/nls/esadEntityTypeSelect.nls");
/* harmony import */ var admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/types/utils/uri */ "./modules/commons/types/utils/uri.js");
/* harmony import */ var admin_configs_projecttypes_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! admin/configs/projecttypes/utils/fieldDefinitions */ "./modules/admin/configs/projecttypes/utils/fieldDefinitions.js");
/* harmony import */ var admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! admin/configs/entitytypes/utils/entityTypeQuery */ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js");
/* harmony import */ var commons_components_forms_editors_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/forms/editors/hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _EntityTypeSelectDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../EntityTypeSelectDialog */ "./modules/admin/configs/projecttypes/EntityTypeSelectDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




















const NLS_BUNDLES = [(admin_nls_esadEntityTypeSelect_nls__WEBPACK_IMPORTED_MODULE_11___default()), (commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_12___default())];
const EntityTypeSelectEditor = _ref => {
  let {
    name,
    nodetype,
    graph,
    resourceURI,
    property,
    label,
    mandatory,
    dispatch
  } = _ref;
  const {
    fields,
    error,
    labelId,
    addField,
    removeField,
    updateValue
  } = (0,commons_components_forms_editors_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_19__.useFieldsEdit)({
    name,
    property,
    nodetype,
    graph,
    resourceURI,
    mandatory,
    dispatch,
    insertEmptyField: false
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(NLS_BUNDLES);
  const [showEntityTypeSelectDialog, setShowEntityTypeSelectDialog] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const selectedResourceURIs = fields.map(field => field.getValue());
  const disabledResourceURIs = graph.find(resourceURI, property === admin_configs_projecttypes_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_17__.optional.property ? admin_configs_projecttypes_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_17__.defaults.property : admin_configs_projecttypes_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_17__.optional.property).map(statement => statement.getValue());
  const [{
    refreshCount
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.useListModel)();
  const {
    entries: entityTypeEntries,
    status
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.useFetchEntries)({
    fetchEntries: admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_18__.getEntityTypeEntries,
    refreshCount
  });
  const instanceAndBuiltinEntityTypes = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => {
    return status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__.RESOLVED ? (0,admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_18__.getEntityTypesByFilter)(entityTypeEntries) : null;
  }, [entityTypeEntries, status]);
  const {
    result: entityTypes,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.useListQuery)({
    items: instanceAndBuiltinEntityTypes,
    searchFields: []
  });
  const selectedEntityTypes = entityTypes.filter(entityType => selectedResourceURIs.includes((0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_16__.nameToURI)(entityType.id, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__.CONFIG_CONTEXT)));
  const _onSelect = selection => {
    fields.forEach(fieldToRemove => removeField(fieldToRemove));
    selection.forEach(entityType => {
      const field = addField();
      updateValue(field, (0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_16__.nameToURI)(entityType.id, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__.CONFIG_CONTEXT));
    });
  };
  const isDisabled = entityTypeId => disabledResourceURIs.includes((0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_16__.nameToURI)(entityTypeId, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_15__.CONFIG_CONTEXT));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_13__.Fields, {
    mandatory: mandatory,
    labelId: labelId,
    label: label,
    max: 1
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.ListView, {
    status: status,
    size: size,
    renderPlaceholder: () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      sx: {
        fontStyle: 'italic'
      }
    }, translate('selectionListPlaceholder')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      variant: "text",
      onClick: () => setShowEntityTypeSelectDialog(true),
      sx: {
        paddingLeft: 0,
        paddingRight: 0
      }
    }, translate('addSelectionLabel')))
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.List, null, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_13__.SelectionListItem, {
    translate: translate,
    label: translate('selectionListLabel'),
    onClick: () => setShowEntityTypeSelectDialog(true),
    selection: selectedEntityTypes,
    disabled: status !== 'resolved'
  }))), error ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    error: true
  }, translate(error)) : null), showEntityTypeSelectDialog ? /*#__PURE__*/React.createElement(_EntityTypeSelectDialog__WEBPACK_IMPORTED_MODULE_21__["default"], {
    closeDialog: () => {
      setShowEntityTypeSelectDialog(false);
    },
    onSelect: selection => {
      _onSelect(selection);
      setShowEntityTypeSelectDialog(false);
    },
    isDisabled: isDisabled,
    selection: selectedEntityTypes
  }) : null);
};
EntityTypeSelectEditor.propTypes = {
  name: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string).isRequired,
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.withListModelProvider)(EntityTypeSelectEditor, () => ({
  sort: {
    field: 'label',
    order: 'asc'
  }
})));

/***/ },

/***/ "./modules/admin/configs/projecttypes/EntityTypeSelectEditor/index.js"
/*!****************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/EntityTypeSelectEditor/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntityTypeSelectEditor: () => (/* reexport safe */ _EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityTypeSelectEditor */ "./modules/admin/configs/projecttypes/EntityTypeSelectEditor/EntityTypeSelectEditor.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeCreateDialog/ProjectTypeCreateDialog.js"
/*!***********************************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeCreateDialog/ProjectTypeCreateDialog.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var admin_configs_types_TypeCreateDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! admin/configs/types/TypeCreateDialog */ "./modules/admin/configs/types/TypeCreateDialog/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! admin/nls/esadProjectType.nls */ "./modules/admin/nls/esadProjectType.nls");
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var admin_configs_utils_configQuery__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! admin/configs/utils/configQuery */ "./modules/admin/configs/utils/configQuery.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _ProjectTypeForm__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ProjectTypeForm */ "./modules/admin/configs/projecttypes/ProjectTypeForm/index.js");
/* harmony import */ var _utils_editorFields__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/editorFields */ "./modules/admin/configs/projecttypes/utils/editorFields.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const NLS_BUNDLES = [(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7___default()), (admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_8___default())];
const CreateProjectTypeDialog = _ref => {
  let {
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(NLS_BUNDLES);
  const [prototypeEntry, setPrototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)();
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    runAsync((0,admin_configs_utils_configQuery__WEBPACK_IMPORTED_MODULE_10__.getOrCreateConfigContextEntry)().then(contextEntry => {
      const context = contextEntry.getResource(true);
      setPrototypeEntry(context.newEntry());
    }));
  }, [setPrototypeEntry, runAsync]);
  return prototypeEntry ? /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_4__.EditorProvider, {
    entry: prototypeEntry
  }, /*#__PURE__*/React.createElement(admin_configs_types_TypeCreateDialog__WEBPACK_IMPORTED_MODULE_3__["default"], {
    title: translate('createHeader'),
    closeDialog: closeDialog,
    rdfTypes: [admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_9__.RDF_CLASS_PROJECT_TYPE],
    nlsBundles: NLS_BUNDLES,
    fields: _utils_editorFields__WEBPACK_IMPORTED_MODULE_13__.editorFields
  }, /*#__PURE__*/React.createElement(_ProjectTypeForm__WEBPACK_IMPORTED_MODULE_12__["default"], {
    nlsBundles: NLS_BUNDLES
  }))) : null;
};
CreateProjectTypeDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateProjectTypeDialog);

/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeCreateDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeCreateDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeCreateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeCreateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeCreateDialog */ "./modules/admin/configs/projecttypes/ProjectTypeCreateDialog/ProjectTypeCreateDialog.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeEditDialog/ProjectTypeEditDialog.js"
/*!*******************************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeEditDialog/ProjectTypeEditDialog.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var admin_configs_types_TypeEditDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/configs/types/TypeEditDialog */ "./modules/admin/configs/types/TypeEditDialog/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _utils_editorFields__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/editorFields */ "./modules/admin/configs/projecttypes/utils/editorFields.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const ProjectTypeEditDialog = _ref => {
  let {
    closeDialog,
    entry,
    onEdit,
    nlsBundles
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.EditorProvider, {
    entry: entry
  }, /*#__PURE__*/React.createElement(admin_configs_types_TypeEditDialog__WEBPACK_IMPORTED_MODULE_1__["default"], {
    title: t('editHeader'),
    closeDialog: closeDialog,
    nlsBundles: nlsBundles,
    fields: _utils_editorFields__WEBPACK_IMPORTED_MODULE_5__.editorFields,
    onEdit: onEdit
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.Form, {
    fields: _utils_editorFields__WEBPACK_IMPORTED_MODULE_5__.editorFields,
    size: "small",
    nlsBundles: nlsBundles
  })));
};
ProjectTypeEditDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired,
  onEdit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProjectTypeEditDialog);

/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeEditDialog/index.js"
/*!***************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeEditDialog/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeEditDialog */ "./modules/admin/configs/projecttypes/ProjectTypeEditDialog/ProjectTypeEditDialog.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeForm/ProjectTypeForm.js"
/*!*******************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeForm/ProjectTypeForm.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _utils_editorFields__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/editorFields */ "./modules/admin/configs/projecttypes/utils/editorFields.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const ProjectTypeForm = _ref => {
  let {
    nlsBundles
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_0__.Form, {
    nlsBundles: nlsBundles,
    fields: _utils_editorFields__WEBPACK_IMPORTED_MODULE_2__.editorFields,
    size: "small"
  });
};
ProjectTypeForm.propTypes = {
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_1__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProjectTypeForm);

/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeForm/index.js"
/*!*********************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeForm/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeForm__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeForm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeForm */ "./modules/admin/configs/projecttypes/ProjectTypeForm/ProjectTypeForm.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeOverview/ProjectTypeOverview.js"
/*!***************************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeOverview/ProjectTypeOverview.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! admin/nls/esadContext.nls */ "./modules/admin/nls/esadContext.nls");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! admin/nls/esadProjectType.nls */ "./modules/admin/nls/esadProjectType.nls");
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./actions */ "./modules/admin/configs/projecttypes/ProjectTypeOverview/actions.js");
/* harmony import */ var _utils_projectTypePresenters__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils/projectTypePresenters */ "./modules/admin/configs/projecttypes/utils/projectTypePresenters.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_11___default()), (admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_12___default()), (admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_13___default()), (admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const ProjectTypeOverview = () => {
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_3__.useEntry)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)(nlsBundles);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_10__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_5__.getViewDefFromName)('admin__projecttypes__projecttype');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_19__.localize)(viewDefinition.title);
  const descriptionItems = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_15__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_8__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_16__["default"], {
    backLabel: t('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_15__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_18__["default"],
      getProps: () => ({
        action: {
          fields: _utils_projectTypePresenters__WEBPACK_IMPORTED_MODULE_21__.fieldPresenters
        }
      })
    }),
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_20__.sidebarActions,
    returnTo: "/admin/projecttypes"
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.withOverviewModelProvider)(ProjectTypeOverview));

/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeOverview/actions.js"
/*!***************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeOverview/actions.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   rowActions: () => (/* binding */ rowActions),
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var _ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ProjectTypeEditDialog */ "./modules/admin/configs/projecttypes/ProjectTypeEditDialog/index.js");
/* harmony import */ var _ProjectTypeRemoveDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ProjectTypeRemoveDialog */ "./modules/admin/configs/projecttypes/ProjectTypeRemoveDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_2__.withOverviewRefresh)(_ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_3__["default"], 'onEdit'),
  getProps: () => ({
    action: {
      formTemplateId: 'esc:Group'
    }
  })
}), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  Dialog: _ProjectTypeRemoveDialog__WEBPACK_IMPORTED_MODULE_4__["default"]
})];
const rowActions = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS];

/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeOverview/index.js"
/*!*************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeOverview/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeOverview */ "./modules/admin/configs/projecttypes/ProjectTypeOverview/ProjectTypeOverview.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeRemoveDialog/ProjectTypeRemoveDialog.js"
/*!***********************************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeRemoveDialog/ProjectTypeRemoveDialog.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



const ProjectTypeRemoveDialog = props => {
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__["default"])();
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({}, props, {
    onRemoveCallback: () => navigate((0,commons_util_site__WEBPACK_IMPORTED_MODULE_3__.getPathFromViewName)('admin__projecttypes'))
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProjectTypeRemoveDialog);

/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeRemoveDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeRemoveDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeRemoveDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeRemoveDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeRemoveDialog */ "./modules/admin/configs/projecttypes/ProjectTypeRemoveDialog/ProjectTypeRemoveDialog.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeView/ProjectTypeView.js"
/*!*******************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeView/ProjectTypeView.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_solr_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/solr/context */ "./modules/commons/util/solr/context.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var _utils_projectTypePresenters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/projectTypePresenters */ "./modules/admin/configs/projecttypes/utils/projectTypePresenters.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./actions */ "./modules/admin/configs/projecttypes/ProjectTypeView/actions.js");
/* harmony import */ var _ProjectTypeEditDialog_ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../ProjectTypeEditDialog/ProjectTypeEditDialog */ "./modules/admin/configs/projecttypes/ProjectTypeEditDialog/ProjectTypeEditDialog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
















const ProjectTypeView = () => {
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__.useUserState)();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const [query] = (0,commons_util_solr_context__WEBPACK_IMPORTED_MODULE_6__.getSearchQuery)({
      rdfType: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_7__.RDF_CLASS_PROJECT_TYPE,
      contextType: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_7__.CONFIG_CONTEXT
    }, {
      userEntry,
      userInfo
    });
    return query;
  }, [userEntry, userInfo]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.useSolrQuery)({
    createQuery
  });
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.EntryListView
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, queryResults, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_14__.nlsBundles,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_14__.listActions,
    listActionsProps: {
      userEntry,
      userInfo
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.TITLE_COLUMN), {}, {
      xs: 8
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_10__.LIST_ACTION_INFO), {}, {
        Dialog: commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_12__["default"],
        fields: _utils_projectTypePresenters__WEBPACK_IMPORTED_MODULE_13__.fieldPresenters
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_10__.LIST_ACTION_EDIT), {}, {
        Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.withListRerender)(_ProjectTypeEditDialog_ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_15__["default"], 'onEdit')
      })]
    })],
    getListItemProps: _ref => {
      let {
        entry
      } = _ref;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_11__.getPathFromViewName)('admin__projecttypes__projecttype', {
          entryId: entry.getId(),
          contextId: entry.getContext().getId()
        })
      };
    }
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.withListModelProviderAndLocation)(ProjectTypeView));

/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeView/actions.js"
/*!***********************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeView/actions.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   presenterAction: () => (/* binding */ presenterAction),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/actions/actionIds */ "./modules/commons/actions/actionIds.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! admin/nls/esadProjectType.nls */ "./modules/admin/nls/esadProjectType.nls");
/* harmony import */ var admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _ProjectTypeCreateDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ProjectTypeCreateDialog */ "./modules/admin/configs/projecttypes/ProjectTypeCreateDialog/index.js");
/* harmony import */ var _ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../ProjectTypeEditDialog */ "./modules/admin/configs/projecttypes/ProjectTypeEditDialog/index.js");
/* harmony import */ var _utils_projectTypePresenters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/projectTypePresenters */ "./modules/admin/configs/projecttypes/utils/projectTypePresenters.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const nlsBundles = [(admin_nls_esadProjectType_nls__WEBPACK_IMPORTED_MODULE_5___default()), (admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_7___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default())];
const listActions = [{
  id: 'create',
  Dialog: _ProjectTypeCreateDialog__WEBPACK_IMPORTED_MODULE_10__["default"],
  labelNlsKey: 'addLabel',
  tooltipNlsKey: 'addTooltip'
}];
const presenterAction = {
  id: commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_3__.ACTION_INFO_ID,
  Dialog: commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_8__["default"],
  idPrefix: admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_4__.PROJECT_TYPE_ID_PREFIX,
  fields: _utils_projectTypePresenters__WEBPACK_IMPORTED_MODULE_12__.fieldPresenters,
  labelNlsKey: 'infoEntry',
  nlsBundles
};
const rowActions = [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__.LIST_ACTION_EDIT), {}, {
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListRerender)(_ProjectTypeEditDialog__WEBPACK_IMPORTED_MODULE_11__["default"], 'onEdit')
}), commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__.LIST_ACTION_REVISIONS, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__.LIST_ACTION_REMOVE), {}, {
  Dialog: commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_1__["default"]
})];


/***/ },

/***/ "./modules/admin/configs/projecttypes/ProjectTypeView/index.js"
/*!*********************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/ProjectTypeView/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeView */ "./modules/admin/configs/projecttypes/ProjectTypeView/ProjectTypeView.js");


/***/ },

/***/ "./modules/admin/configs/projecttypes/utils/editorFields.js"
/*!******************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/utils/editorFields.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   editorFields: () => (/* binding */ editorFields)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var admin_configs_projecttypes_EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/configs/projecttypes/EntityTypeSelectEditor */ "./modules/admin/configs/projecttypes/EntityTypeSelectEditor/index.js");
/* harmony import */ var _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fieldDefinitions */ "./modules/admin/configs/projecttypes/utils/fieldDefinitions.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


const editorFields = [_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.label), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.description), _objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.module), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.defaults), {}, {
  Editor: admin_configs_projecttypes_EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_1__.EntityTypeSelectEditor
}), _objectSpread(_objectSpread({}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_2__.optional), {}, {
  Editor: admin_configs_projecttypes_EntityTypeSelectEditor__WEBPACK_IMPORTED_MODULE_1__.EntityTypeSelectEditor
})];

/***/ },

/***/ "./modules/admin/configs/projecttypes/utils/fieldDefinitions.js"
/*!**********************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/utils/fieldDefinitions.js ***!
  \**********************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   defaults: () => (/* binding */ defaults),
/* harmony export */   description: () => (/* binding */ description),
/* harmony export */   label: () => (/* binding */ label),
/* harmony export */   module: () => (/* binding */ module),
/* harmony export */   optional: () => (/* binding */ optional)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/utils/uri */ "./modules/commons/types/utils/uri.js");
/* harmony import */ var admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! admin/configs/entitytypes/utils/entityTypeQuery */ "./modules/admin/configs/entitytypes/utils/entityTypeQuery.js");







const label = {
  name: 'label',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.LANGUAGE_LITERAL,
  property: 'dcterms:title',
  labelNlsKey: 'labelLabel',
  mandatory: true
};
const description = {
  name: 'description',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.LANGUAGE_LITERAL,
  property: 'dcterms:description',
  labelNlsKey: 'descriptionLabel'
};
const module = {
  name: 'module',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.LITERAL,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:module`,
  choices: [{
    value: 'catalog',
    label: {
      en: 'Catalog'
    }
  }, {
    value: 'workbench',
    label: {
      en: 'Workbench'
    }
  }, {
    value: 'toolkit',
    label: {
      en: 'Toolkit'
    }
  }, {
    value: 'terms',
    label: {
      en: 'Terms'
    }
  }, {
    value: 'admin',
    label: {
      en: 'Admin'
    }
  }, {
    value: 'models',
    label: {
      en: 'Models'
    }
  }],
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.SelectEditor,
  labelNlsKey: 'moduleLabel'
};
const getValueFromEntityTypes = async _ref => {
  let {
    graph,
    resourceURI,
    property
  } = _ref;
  const selectedResourceURIs = graph.find(resourceURI, property).map(statement => statement.getValue());
  const entries = await commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystoreUtil.loadEntriesByResourceURIs(selectedResourceURIs, null, true);
  const instanceAndBuiltinEntityTypes = (0,admin_configs_entitytypes_utils_entityTypeQuery__WEBPACK_IMPORTED_MODULE_6__.getInstanceAndBuiltinEntityTypes)();
  return entries.map((entry, index) => {
    if (entry) {
      const entryLabel = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__.getLabel)(entry);
      if (entryLabel) {
        return entryLabel;
      }
    }
    const found = instanceAndBuiltinEntityTypes.find(entityType => (0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_5__.nameToURI)(`${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.ENTITY_TYPE_ID_PREFIX}-${entityType.id}`, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_CONTEXT) === selectedResourceURIs[index]);
    if (found) {
      return found.label;
    }
    return selectedResourceURIs[index];
  }).join(', ');
};
const defaults = {
  name: 'default-et',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.URI,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:default`,
  labelNlsKey: 'defaultEntityTypesLabel',
  mandatory: true,
  direct: false,
  getValue: getValueFromEntityTypes
};
const optional = {
  name: 'optional-et',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_1__.URI,
  property: `${admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_2__.CONFIG_NAMESPACE}:optional`,
  labelNlsKey: 'optioinalEntityTypesLabel',
  direct: false,
  getValue: getValueFromEntityTypes
};

/***/ },

/***/ "./modules/admin/configs/projecttypes/utils/projectTypePresenters.js"
/*!***************************************************************************!*\
  !*** ./modules/admin/configs/projecttypes/utils/projectTypePresenters.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   fieldPresenters: () => (/* binding */ fieldPresenters)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _fieldDefinitions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fieldDefinitions */ "./modules/admin/configs/projecttypes/utils/fieldDefinitions.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

const presenterNames = ['label', 'description', 'module', 'defaults', 'optional'];
const fieldPresenters = presenterNames.map(name => _objectSpread({
  name
}, _fieldDefinitions__WEBPACK_IMPORTED_MODULE_1__[name]));

/***/ },

/***/ "./modules/admin/configs/types/TypeCreateDialog/TypeCreateDialog.js"
/*!**************************************************************************!*\
  !*** ./modules/admin/configs/types/TypeCreateDialog/TypeCreateDialog.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
















const TypeCreateDialog = _ref => {
  let {
    closeDialog,
    title,
    fields,
    rdfTypes,
    nlsBundles,
    children
  } = _ref;
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useListModel)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(nlsBundles);
  const [canSubmit, setCanSubmit] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const {
    runAsync,
    status,
    error: createError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const {
    entry: prototypeEntry,
    graph,
    resourceURI,
    fieldSet
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__.useEditorContext)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_7__.useSnackbar)();
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_15__.useConfirmCloseAction)(closeDialog);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!graph) return;
    graph.onChange = () => setCanSubmit(true);
  }, [graph, resourceURI, fields]);
  const dispatchEntryCreated = () => dispatch({
    type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.CREATE
  });
  const createEntry = async () => {
    const errors = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_10__.validateFieldSet)(fieldSet);
    if (errors.length) {
      return;
    }
    for (const rdfType of rdfTypes) {
      graph.add(resourceURI, 'rdf:type', rdfType);
    }
    prototypeEntry.setMetadata(graph);
    runAsync(prototypeEntry.commit().then(() => {
      closeDialog();
      dispatchEntryCreated();
      addSnackbar({
        message: translate('createCustomEntityTypeSuccess')
      });
    }).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_14__.ErrorWithMessage(translate('createCustomEntityTypeFail'), error);
    }));
  };
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_12__["default"], {
    onClick: createEntry,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__.PENDING,
    disabled: !canSubmit
  }, translate('createButtonLabel'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "create-type-dialog",
    title: title,
    actions: actions,
    closeDialog: () => confirmClose(canSubmit)
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__["default"], null, children)), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_13__.ErrorCatcher, {
    error: createError
  }));
};
TypeCreateDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  fields: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  rdfTypes: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType,
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TypeCreateDialog);

/***/ },

/***/ "./modules/admin/configs/types/TypeCreateDialog/index.js"
/*!***************************************************************!*\
  !*** ./modules/admin/configs/types/TypeCreateDialog/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _TypeCreateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _TypeCreateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TypeCreateDialog */ "./modules/admin/configs/types/TypeCreateDialog/TypeCreateDialog.js");


/***/ },

/***/ "./modules/admin/configs/types/TypeEditDialog/TypeEditDialog.js"
/*!**********************************************************************!*\
  !*** ./modules/admin/configs/types/TypeEditDialog/TypeEditDialog.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const TypeEditDialog = _ref => {
  let {
    closeDialog,
    title,
    nlsBundles,
    children,
    onEdit = () => {}
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(nlsBundles);
  const [canSubmit, setCanSubmit] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const {
    runAsync,
    error: editError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const {
    entry,
    graph,
    resourceURI,
    validate
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.useEditorContext)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_11__.useSnackbar)();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!graph) return;
    graph.onChange = () => setCanSubmit(true);
  }, [graph, resourceURI]);
  const saveChanges = async () => {
    const errors = validate();
    if (errors.length) {
      return;
    }
    entry.setMetadata(graph);
    runAsync(entry.commitMetadata().then(() => {
      closeDialog();
      onEdit();
      addSnackbar({
        type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_11__.SUCCESS_EDIT
      });
    }).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_13__.ErrorWithMessage(translate('editCustomEntityTypeFail'), error);
    }));
  };
  const actions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    onClick: () => saveChanges(),
    disabled: !canSubmit
  }, translate('saveButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "edit-type-dialog",
    title: title,
    actions: actions,
    closeDialog: closeDialog
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__["default"], null, children)), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_12__.ErrorCatcher, {
    error: editError
  }));
};
TypeEditDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  title: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType,
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
  onEdit: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TypeEditDialog);

/***/ },

/***/ "./modules/admin/configs/types/TypeEditDialog/index.js"
/*!*************************************************************!*\
  !*** ./modules/admin/configs/types/TypeEditDialog/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _TypeEditDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _TypeEditDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TypeEditDialog */ "./modules/admin/configs/types/TypeEditDialog/TypeEditDialog.js");


/***/ },

/***/ "./modules/admin/configs/types/presenters/Constraints/Constraints.js"
/*!***************************************************************************!*\
  !*** ./modules/admin/configs/types/presenters/Constraints/Constraints.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Constraints: () => (/* binding */ Constraints)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _Constraints_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Constraints.scss */ "./modules/admin/configs/types/presenters/Constraints/Constraints.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "children"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }












/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {object}
 */
const getConstraints = (graph, resourceURI) => {
  const statements = graph.find(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_CONSTRAINT);
  const constraints = statements.map(statement => {
    const blankNodeId = statement.getValue();

    // constraint property
    const constraintProperty = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_CONSTRAINT_PROPERTY);
    const valueStatements = graph.find(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_CONSTRAINT_VALUE);

    // constraint values
    const constraintValues = valueStatements.map(valueStatement => {
      const valueBlankNodeId = valueStatement.getValue();
      const order = graph.findFirstValue(valueBlankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_ORDER);
      const value = graph.findFirstValue(valueBlankNodeId, 'rdf:value');
      return {
        value,
        order
      };
    }).sort((_ref, _ref2) => {
      let {
        order: firstOrder
      } = _ref;
      let {
        order: secondOrder
      } = _ref2;
      return firstOrder - secondOrder;
    }).map(_ref3 => {
      let {
        value
      } = _ref3;
      return value;
    }).join(', ');
    return {
      property: constraintProperty,
      values: constraintValues
    };
  });
  return constraints;
};
const Constraint = _ref4 => {
  let {
    property,
    values
  } = _ref4;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "esadConstraint"
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_8__.FieldsLabel, {
    alignItems: "start",
    label: `${translate('constraintPropertyLabel')}: `
  }, /*#__PURE__*/React.createElement("span", {
    className: "esadConstraint__value"
  }, property)), /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_8__.FieldsLabel, {
    alignItems: "start",
    label: `${translate('constraintObjectLabel')}: `
  }, /*#__PURE__*/React.createElement("span", {
    className: "esadConstraint__value"
  }, values)));
};
Constraint.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  values: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().array)])
};
const Constraints = _ref5 => {
  let {
      graph,
      resourceURI,
      children
    } = _ref5,
    fieldsProps = _objectWithoutProperties(_ref5, _excluded);
  const constraints = getConstraints(graph, resourceURI);
  return constraints ?
  /*#__PURE__*/
  // eslint-disable-next-line react/jsx-props-no-spreading
  React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_8__.Fields, fieldsProps, constraints.map(_ref6 => {
    let {
      property,
      values
    } = _ref6;
    return /*#__PURE__*/React.createElement(Constraint, {
      key: property,
      property: property,
      values: values
    });
  }), children) : null;
};
Constraints.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};

/***/ },

/***/ "./modules/admin/configs/types/presenters/Constraints/index.js"
/*!*********************************************************************!*\
  !*** ./modules/admin/configs/types/presenters/Constraints/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Constraints: () => (/* reexport safe */ _Constraints__WEBPACK_IMPORTED_MODULE_0__.Constraints)
/* harmony export */ });
/* harmony import */ var _Constraints__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Constraints */ "./modules/admin/configs/types/presenters/Constraints/Constraints.js");


/***/ },

/***/ "./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.js"
/*!*********************************************************************************************!*\
  !*** ./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   StoreConfig: () => (/* binding */ StoreConfig),
/* harmony export */   StoreConfigPresenter: () => (/* binding */ StoreConfigPresenter)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! admin/nls/esadType.nls */ "./modules/admin/nls/esadType.nls");
/* harmony import */ var admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _StoreConfigPresenter_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./StoreConfigPresenter.scss */ "./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.scss");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "property"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








/**
 * @param {object} params
 * @param {Graph} params.graph
 * @param {string} params.resourceURI
 * @param {string} params.property
 * @returns {Array<object>}
 */
const getValues = _ref => {
  let {
    graph,
    resourceURI,
    property
  } = _ref;
  const blankNodeIds = graph.find(resourceURI, property).map(statement => statement.getValue());
  return blankNodeIds.map(blankNodeId => {
    const endpoint = graph.findFirstValue(blankNodeId, 'dcterms:source');
    return {
      blankNodeId,
      endpoint
    };
  });
};
const StoreConfig = _ref2 => {
  let {
    graph,
    blankNodeId,
    endpoint
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((admin_nls_esadType_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "esadStoreConfig"
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__.FieldsLabel, {
    alignItems: "start",
    label: `${translate('labelsLabel')}: `
  }), /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteral, {
    graph: graph,
    resourceURI: blankNodeId,
    property: "dcterms:title"
  }), /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__.FieldsLabel, {
    alignItems: "start",
    label: `${translate('endpointLabel')}: `
  }, /*#__PURE__*/React.createElement("span", {
    className: "esadStoreConfig__value"
  }, endpoint)));
};
StoreConfig.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  blankNodeId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  endpoint: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const StoreConfigPresenter = _ref3 => {
  let {
      graph,
      resourceURI,
      property
    } = _ref3,
    fieldsProps = _objectWithoutProperties(_ref3, _excluded);
  const values = getValues({
    graph,
    resourceURI,
    property
  });
  return values.length ? /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__.Fields, fieldsProps, values.map(value => {
    return /*#__PURE__*/React.createElement(StoreConfig, _extends({
      key: value.endpoint
    }, value, {
      graph: graph
    }));
  })) : null;
};
StoreConfigPresenter.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/admin/configs/types/presenters/StoreConfigPresenter/index.js"
/*!******************************************************************************!*\
  !*** ./modules/admin/configs/types/presenters/StoreConfigPresenter/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   StoreConfig: () => (/* reexport safe */ _StoreConfigPresenter__WEBPACK_IMPORTED_MODULE_0__.StoreConfig),
/* harmony export */   StoreConfigPresenter: () => (/* reexport safe */ _StoreConfigPresenter__WEBPACK_IMPORTED_MODULE_0__.StoreConfigPresenter)
/* harmony export */ });
/* harmony import */ var _StoreConfigPresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./StoreConfigPresenter */ "./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.js");


/***/ },

/***/ "./modules/admin/configs/utils/configQuery.js"
/*!****************************************************!*\
  !*** ./modules/admin/configs/utils/configQuery.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getConfigContext: () => (/* binding */ getConfigContext),
/* harmony export */   getConfigEntries: () => (/* binding */ getConfigEntries),
/* harmony export */   getOrCreateConfigContextEntry: () => (/* binding */ getOrCreateConfigContextEntry),
/* harmony export */   migrateTypesToStore: () => (/* binding */ migrateTypesToStore),
/* harmony export */   typeToPrototypeEntry: () => (/* binding */ typeToPrototypeEntry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _exporters__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./exporters */ "./modules/admin/configs/utils/exporters.js");
/* harmony import */ var _namespace__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./namespace */ "./modules/admin/configs/utils/namespace.js");
const _excluded = ["name"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





/**
 * @returns {Context}
 */
const getConfigContext = () => {
  return commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.getContextById(_namespace__WEBPACK_IMPORTED_MODULE_7__.CONFIG_CONTEXT);
};

/**
 * Get config context entry
 *
 * @returns {Promise<Entry>}
 */
const getConfigContextEntry = () => {
  return getConfigContext().getEntry();
};

/**
 * Get the config context entry or create it, if it doesn't exist.
 *
 * @returns {Promise<Entry>}
 */
const getOrCreateConfigContextEntry = () => {
  return getConfigContextEntry().then(null, () => {
    const prototypeEntry = commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.newContext(_namespace__WEBPACK_IMPORTED_MODULE_7__.CONFIG_CONTEXT, _namespace__WEBPACK_IMPORTED_MODULE_7__.CONFIG_CONTEXT);
    const entryInfo = prototypeEntry.getEntryInfo();
    const acl = entryInfo.getACL(true);
    acl.rread.push('_users');
    acl.mread.push('_users');
    entryInfo.setACL(acl);
    return prototypeEntry.commit();
  });
};

/**
 * Converts a type object to a type prototype entry. Exports each property in
 * type object to metadata graph by finding matching exporter from field
 * definitions.
 *
 * @param {*} prototypeEntryOptions
 * @returns {Entry}
 */
const typeToPrototypeEntry = _ref => {
  let {
    context,
    idPrefix,
    type,
    fieldDefinitions,
    rdfType
  } = _ref;
  const {
      name
    } = type,
    typeConfig = _objectWithoutProperties(type, _excluded);

  // create prototype entry
  const prototypeEntry = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.PrototypeEntry(context, idPrefix ? `${idPrefix}-${name}` : name);
  const graph = prototypeEntry.getMetadata();
  const resourceURI = prototypeEntry.getResourceURI();

  // add rdf type to prototype
  const rdfTypes = Array.isArray(rdfType) ? rdfType : [rdfType];
  for (const rdfTypeValue of rdfTypes) {
    graph.add(resourceURI, 'rdf:type', rdfTypeValue);
  }

  // add each type property to metadata
  const typeKeyValues = Object.entries(typeConfig);
  for (const [key, value] of typeKeyValues) {
    const fieldDefinition = fieldDefinitions[key];
    const exportPropertyToGraph = (0,_exporters__WEBPACK_IMPORTED_MODULE_6__.getExporter)(fieldDefinition);
    if (exportPropertyToGraph) {
      exportPropertyToGraph(_objectSpread({
        graph,
        resourceURI,
        value
      }, fieldDefinition));
    }
  }
  return prototypeEntry;
};

/**
 * Converts array of type objects to type entries.
 *
 * @param {*} typeMigrationOptions
 * @returns {Promise<Entry[]>}
 */
const migrateTypesToStore = async _ref2 => {
  let {
    types,
    idPrefix,
    fieldDefinitions,
    rdfType
  } = _ref2;
  const contextEntry = await getOrCreateConfigContextEntry();
  const context = contextEntry.getResource(true);
  const prototypeEntries = types.map(type => {
    return typeToPrototypeEntry({
      context,
      idPrefix,
      type,
      rdfType,
      fieldDefinitions
    });
  });
  const typeEntries = [];
  for (const prototypeEntry of prototypeEntries) {
    const typeEntry = await prototypeEntry.commit().then(null, () => {
      throw new Error('Something went wrong while migrating type to store');
    });
    typeEntries.push(typeEntry);
  }
  return typeEntries;
};

/**
 * @param {{rdfType: string}} queryOptions
 * @returns {Promise<object[]>}
 */
const getConfigEntries = async _ref3 => {
  let {
    rdfType
  } = _ref3;
  let context;
  try {
    context = await getConfigContextEntry();
  } catch (_error) {
    console.log('Config context entry not found');
    return;
  }
  return commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.newSolrQuery().context(context).rdfType(rdfType).getEntries().then(entries => {
    return {
      entries,
      size: entries.length
    };
  });
};

/***/ },

/***/ "./modules/admin/configs/utils/exporters.js"
/*!**************************************************!*\
  !*** ./modules/admin/configs/utils/exporters.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addConstraintFromRdfType: () => (/* binding */ addConstraintFromRdfType),
/* harmony export */   addConstraints: () => (/* binding */ addConstraints),
/* harmony export */   addDatatype: () => (/* binding */ addDatatype),
/* harmony export */   addLanguageLiteral: () => (/* binding */ addLanguageLiteral),
/* harmony export */   addLiteral: () => (/* binding */ addLiteral),
/* harmony export */   addStoreConfig: () => (/* binding */ addStoreConfig),
/* harmony export */   addURI: () => (/* binding */ addURI),
/* harmony export */   addURIFromName: () => (/* binding */ addURIFromName),
/* harmony export */   getExporter: () => (/* binding */ getExporter),
/* harmony export */   typeConfigToGraph: () => (/* binding */ typeConfigToGraph)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/utils/uri */ "./modules/commons/types/utils/uri.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var _namespace__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./namespace */ "./modules/admin/configs/utils/namespace.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addLiteral = _ref => {
  let {
    graph,
    resourceURI,
    property,
    value
  } = _ref;
  graph.addL(resourceURI, property, value);
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addURI = _ref2 => {
  let {
    graph,
    resourceURI,
    property,
    value
  } = _ref2;
  graph.add(resourceURI, property, value);
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addDatatype = _ref3 => {
  let {
    graph,
    resourceURI,
    property,
    value,
    datatype
  } = _ref3;
  graph.addD(resourceURI, property, `${value}`, datatype);
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addLanguageLiteral = _ref4 => {
  let {
    graph,
    resourceURI,
    property,
    value: languageValues
  } = _ref4;
  if (!languageValues) return graph;
  const languageKeyValues = Object.entries(languageValues);
  for (const [lang, value] of languageKeyValues) {
    graph.add(resourceURI, property, {
      type: 'literal',
      value,
      lang
    });
  }
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addURIFromName = _ref5 => {
  let {
    graph,
    resourceURI,
    property,
    value
  } = _ref5;
  const refinesURI = (0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_5__.nameToURI)(`${_namespace__WEBPACK_IMPORTED_MODULE_7__.ENTITY_TYPE_ID_PREFIX}-${value}`, 'config');
  addURI({
    graph,
    resourceURI,
    property,
    value: refinesURI
  });
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addStoreConfig = _ref6 => {
  let {
    graph,
    resourceURI,
    property,
    value
  } = _ref6;
  const {
    label,
    endpoint
  } = value;
  const blankNodeId = graph.add(resourceURI, property).getValue();
  addLanguageLiteral({
    graph,
    resourceURI: blankNodeId,
    property: 'dcterms:title',
    value: label
  });
  addURI({
    graph,
    resourceURI: blankNodeId,
    property: 'dcterms:source',
    value: endpoint
  });
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addConstraint = _ref7 => {
  let {
    graph,
    resourceURI,
    property,
    values
  } = _ref7;
  const blankNodeId = graph.add(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_CONSTRAINT).getValue();

  // Add constraint property
  graph.add(blankNodeId, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_TYPE_CONSTRAINT);
  graph.add(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_CONSTRAINT_PROPERTY, property);

  // Add constraint values
  values.forEach((value, index) => {
    const valueBlankId = graph.add(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_CONSTRAINT_VALUE).getValue();
    graph.add(valueBlankId, 'rdf:value', value === null ? models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_CONSTRAINT_NULL_URI : value // some constraints uses null to express match
    );
    graph.addD(valueBlankId, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_ORDER, `${index + 1}`, 'xsd:integer');
  });
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Graph}
 */
const addConstraints = _ref8 => {
  let {
    graph,
    resourceURI,
    value: constraintsValue
  } = _ref8;
  const constraintKeyValues = Object.entries(constraintsValue);
  for (const [property, value] of constraintKeyValues) {
    const values = Array.isArray(value) ? value : [value];
    addConstraint({
      graph,
      resourceURI,
      property,
      values
    });
  }
  return graph;
};
const addConstraintFromRdfType = _ref9 => {
  let {
    graph,
    resourceURI,
    value
  } = _ref9;
  const rdfTypeValues = Array.isArray(value) ? value : [value];
  addConstraint({
    graph,
    resourceURI,
    property: 'rdf:type',
    values: rdfTypeValues
  });
  return graph;
};

/**
 * @param {Object} fieldDefinition
 * @returns {Function|undefined}
 */
const getExporter = function getExporter() {
  let fieldDefinition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  const {
    nodetype,
    toGraph
  } = fieldDefinition;
  if (toGraph) return toGraph;
  if (!nodetype) return;
  switch (nodetype) {
    case commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_6__.URI:
      return addURI;
    case commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_6__.LITERAL:
      return addLiteral;
    case commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_6__.LANGUAGE_LITERAL:
      return addLanguageLiteral;
    case commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_6__.DATATYPE_LITERAL:
      return addDatatype;
    default:
      console.error('Unknown type for converter');
      break;
  }
};

/**
 * @param {Object} exportOptions
 * @returns {Object}
 */
const typeConfigToGraph = _ref0 => {
  let {
    entry,
    typeConfig,
    fields,
    idPrefix
  } = _ref0;
  if (!typeConfig) return {};
  const graph = entry ? new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(entry.getMetadata().exportRDFJSON()) : new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph();
  const resourceURI = entry ? entry.getResourceURI() : (0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_5__.nameToURI)(`${idPrefix}-${typeConfig.name}`, 'config');

  // add type configuration to graph
  const typeConfigKeyValues = Object.entries(typeConfig);
  typeConfigKeyValues.forEach(_ref1 => {
    let [key, value] = _ref1;
    const fieldDefinition = fields.find(_ref10 => {
      let {
        name
      } = _ref10;
      return name === key;
    });
    if (!fieldDefinition) return;
    const {
      property
    } = fieldDefinition;

    // don't add type config if property found in entry
    if (graph.findFirstValue(resourceURI, property)) return;
    const exportToGraph = getExporter(fieldDefinition);
    if (exportToGraph) {
      exportToGraph(_objectSpread({
        graph,
        resourceURI,
        value
      }, fieldDefinition));
    }
  });
  return {
    graph,
    resourceURI
  };
};

/***/ },

/***/ "./modules/admin/configs/utils/namespace.js"
/*!**************************************************!*\
  !*** ./modules/admin/configs/utils/namespace.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CONFIG_CONTEXT: () => (/* binding */ CONFIG_CONTEXT),
/* harmony export */   CONFIG_NAMESPACE: () => (/* binding */ CONFIG_NAMESPACE),
/* harmony export */   ENTITY_TYPE_BUILTIN: () => (/* binding */ ENTITY_TYPE_BUILTIN),
/* harmony export */   ENTITY_TYPE_CUSTOM: () => (/* binding */ ENTITY_TYPE_CUSTOM),
/* harmony export */   ENTITY_TYPE_ID_PREFIX: () => (/* binding */ ENTITY_TYPE_ID_PREFIX),
/* harmony export */   PROJECT_TYPE_ID_PREFIX: () => (/* binding */ PROJECT_TYPE_ID_PREFIX),
/* harmony export */   RDF_CLASS_CUSTOM_ENTITY_TYPE: () => (/* binding */ RDF_CLASS_CUSTOM_ENTITY_TYPE),
/* harmony export */   RDF_CLASS_ENTITY_TYPE: () => (/* binding */ RDF_CLASS_ENTITY_TYPE),
/* harmony export */   RDF_CLASS_PROJECT_TYPE: () => (/* binding */ RDF_CLASS_PROJECT_TYPE)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");

const CONFIG_NAMESPACE = 'escfg';
const CONFIG_CONTEXT = 'config';
_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.namespaces.add(CONFIG_NAMESPACE, `http://entryscape.com/terms/${CONFIG_CONTEXT}/`);
const RDF_CLASS_ENTITY_TYPE = `${CONFIG_NAMESPACE}:EntityType`;
const RDF_CLASS_CUSTOM_ENTITY_TYPE = `${CONFIG_NAMESPACE}:EntityType`;
const ENTITY_TYPE_ID_PREFIX = '_et';
const ENTITY_TYPE_BUILTIN = 'builtin';
const ENTITY_TYPE_CUSTOM = 'custom';
const PROJECT_TYPE_ID_PREFIX = '_pt';
const RDF_CLASS_PROJECT_TYPE = `${CONFIG_NAMESPACE}:ProjectType`;

/***/ },

/***/ "./modules/admin/defaults.js"
/*!***********************************!*\
  !*** ./modules/admin/defaults.js ***!
  \***********************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => {
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.namespaces.add('esterms', 'http://entryscape.com/terms/');
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.namespaces.add('dcat', 'http://www.w3.org/ns/dcat#');
});

/***/ },

/***/ "./modules/admin/groups/GroupOverview/GroupOverview.js"
/*!*************************************************************!*\
  !*** ./modules/admin/groups/GroupOverview/GroupOverview.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! admin/nls/esadGroup.nls */ "./modules/admin/nls/esadGroup.nls");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./actions */ "./modules/admin/groups/GroupOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















const nlsBundles = [(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_7___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_13___default())];
const GroupOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundles);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_16__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_12__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getViewDefFromName)('admin__groups__group');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(viewDefinition.title);
  const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getRenderName)(entry) || translate('unnamedWorkspace', entry.getId());
  const descriptionItems = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_14__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_10__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getRenderName)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_15__["default"], _extends({}, overviewProps, {
    backLabel: translate('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_14__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_17__["default"],
      formTemplateId: 'esc:Group'
    }),
    headerActionParams: {
      formTemplateId: 'esc:Group'
    },
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_19__.sidebarActions,
    sidebarProps: {
      formTemplateId: 'esc:Group'
    },
    returnTo: "/admin/groups",
    headerLabel: label
  }));
};
GroupOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_16__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_16__.withOverviewModelProvider)(GroupOverview));

/***/ },

/***/ "./modules/admin/groups/GroupOverview/actions.js"
/*!*******************************************************!*\
  !*** ./modules/admin/groups/GroupOverview/actions.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js");
/* harmony import */ var _dialogs_RemoveDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dialogs/RemoveDialog */ "./modules/admin/groups/dialogs/RemoveDialog.js");
/* harmony import */ var _dialogs_MembersDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dialogs/MembersDialog */ "./modules/admin/groups/dialogs/MembersDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  getProps: () => ({
    action: {
      formTemplateId: 'esc:Group'
    }
  })
}), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, {
  id: 'members',
  Dialog: _dialogs_MembersDialog__WEBPACK_IMPORTED_MODULE_4__["default"],
  labelNlsKey: 'memberList',
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_2__["default"], null)
}, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveDialog__WEBPACK_IMPORTED_MODULE_3__["default"]
})];

/***/ },

/***/ "./modules/admin/groups/GroupOverview/index.js"
/*!*****************************************************!*\
  !*** ./modules/admin/groups/GroupOverview/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _GroupOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _GroupOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GroupOverview */ "./modules/admin/groups/GroupOverview/GroupOverview.js");


/***/ },

/***/ "./modules/admin/groups/GroupsView/GroupsView.js"
/*!*******************************************************!*\
  !*** ./modules/admin/groups/GroupsView/GroupsView.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var admin_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! admin/utils */ "./modules/admin/utils/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./actions */ "./modules/admin/groups/GroupsView/actions.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

















const entryType = _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.types.ET_LOCAL;
const graphType = _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.types.GT_GROUP;
const resourceType = 'InformationResource'; // types.RT_INFORMATIONRESOURCE); // TODO: in entrystore-js

const GroupsView = _ref => {
  let {
    listProps
  } = _ref;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__.useUserState)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_16__.nlsBundles);
  const entryTypeName = t('createEntryName');
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(() => {
    const [query] = (0,commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_6__.getSearchQuery)({
      entryType,
      graphType,
      resourceType
    }, {
      userEntry,
      userInfo
    });
    return query;
  }, [userEntry, userInfo]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.useSolrQuery)({
    createQuery,
    applyQueryParams: admin_utils__WEBPACK_IMPORTED_MODULE_13__.applyUsersGroupParams
  });
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.EntryListView, _extends({}, queryResults, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_16__.nlsBundles,
    listPlaceholderProps: {
      primaryText: t('emptyMessageWithName', entryTypeName)
    },
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_14__.getPathFromViewName)('admin__groups__group', {
          entryId: entry.getId(),
          contextId: '_principals'
        })
      };
    },
    listActions: _actions__WEBPACK_IMPORTED_MODULE_16__.listActions,
    listActionsProps: {
      nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_16__.nlsBundles
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.TITLE_COLUMN), {}, {
      xs: 8,
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__.getRenderName)(entry) || t('unnamedWorkspace', entry.getId())
        };
      }
    }), _objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.MODIFIED_COLUMN), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__.LIST_ACTION_INFO), {}, {
        formTemplateId: 'esc:Group',
        Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_15__["default"]
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__.LIST_ACTION_EDIT), {}, {
        formTemplateId: 'esc:Group'
      })]
    })]
  }));
};
GroupsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProviderAndLocation)(GroupsView));

/***/ },

/***/ "./modules/admin/groups/GroupsView/actions.js"
/*!****************************************************!*\
  !*** ./modules/admin/groups/GroupsView/actions.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LIST_ACTION_GROUPS_ID: () => (/* binding */ LIST_ACTION_GROUPS_ID),
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! admin/nls/esadGroup.nls */ "./modules/admin/nls/esadGroup.nls");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _dialogs_CreateDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dialogs/CreateDialog */ "./modules/admin/groups/dialogs/CreateDialog.js");
/* harmony import */ var _dialogs_RemoveDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dialogs/RemoveDialog */ "./modules/admin/groups/dialogs/RemoveDialog.js");
/* harmony import */ var _dialogs_MembersDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dialogs/MembersDialog */ "./modules/admin/groups/dialogs/MembersDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const LIST_ACTION_GROUPS_ID = 'groups';
const nlsBundles = [(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_2___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_3___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default())];
const listActions = [{
  id: 'create',
  Dialog: _dialogs_CreateDialog__WEBPACK_IMPORTED_MODULE_5__["default"],
  labelNlsKey: 'createButton',
  tooltipNlsKey: 'actionTooltip'
}];
const rowActions = [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_EDIT), {}, {
  formTemplateId: 'esc:Group'
}), commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_REVISIONS, {
  id: commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_SHARING_SETTINGS,
  Dialog: '',
  isVisible: () => false,
  labelNlsKey: 'groupACL'
}, {
  id: LIST_ACTION_GROUPS_ID,
  Dialog: _dialogs_MembersDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  labelNlsKey: 'memberList'
}, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveDialog__WEBPACK_IMPORTED_MODULE_6__["default"]
})];


/***/ },

/***/ "./modules/admin/groups/GroupsView/index.js"
/*!**************************************************!*\
  !*** ./modules/admin/groups/GroupsView/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _GroupsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _GroupsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GroupsView */ "./modules/admin/groups/GroupsView/GroupsView.js");


/***/ },

/***/ "./modules/admin/groups/dialogs/CreateDialog.js"
/*!******************************************************!*\
  !*** ./modules/admin/groups/dialogs/CreateDialog.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! admin/nls/esadGroup.nls */ "./modules/admin/nls/esadGroup.nls");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var _handler__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./handler */ "./modules/admin/groups/dialogs/handler.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















const CreateDialog = _ref => {
  let {
    closeDialog
  } = _ref;
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.useListModel)();
  const {
    runAsync,
    status,
    error: createError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__["default"])();
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(true);
  const [timer, setTimer] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(null);
  const [formError, setFormError] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(null);
  const [groupName, setGroupName] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({
    value: '',
    error: null,
    isValid: true
  });
  const [entryId, setEntryId] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({
    value: '',
    error: null,
    isValid: true
  });
  const [fullGroupName, setFullGroupName] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({
    value: '',
    error: null
  });
  const [showAdvancedOptions, setShowAdvancedOptions] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const [buttonDisabled, setButtonDisabled] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(true);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_15__.useSnackbar)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)((admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_20__.useConfirmCloseAction)(closeDialog);
  const close = () => confirmClose(!pristine);
  const handleChange = (state, set) => e => {
    set(_objectSpread(_objectSpread({}, state), {}, {
      value: e.target.value
    }));
    if (e.target.id === 'fullGroupName') {
      setPristine(false);
    }
  };
  const handleBlur = function handleBlur(state, set) {
    let isRequired = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
    return () => {
      const trimmedValue = state.value.trim();
      set(_objectSpread(_objectSpread({}, state), {}, {
        value: trimmedValue
      }, isRequired && {
        error: trimmedValue ? null : 'required'
      }));
    };
  };
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    const trimmedGroupName = groupName.value.trim();
    if (trimmedGroupName) {
      if (timer) {
        clearTimeout(timer);
        setTimer(null);
      }
      const t = setTimeout(() => (0,_handler__WEBPACK_IMPORTED_MODULE_21__.groupNameSearch)(trimmedGroupName).then(result => {
        setGroupName(state => _objectSpread(_objectSpread({}, state), {}, {
          isValid: !result,
          error: result
        }));
      }), 300);
      setTimer(t);
    }
    setGroupName(state => _objectSpread(_objectSpread({}, state), {}, {
      isValid: true,
      error: null
    }));
  }, [groupName.value]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    const trimmedEntryId = entryId.value.trim();
    if (trimmedEntryId) {
      if (timer) {
        clearTimeout(timer);
        setTimer(null);
      }
      const t = setTimeout(() => (0,_handler__WEBPACK_IMPORTED_MODULE_21__.entryIdSearch)(trimmedEntryId).then(result => {
        setEntryId(state => _objectSpread(_objectSpread({}, state), {}, {
          isValid: !result,
          error: result
        }));
      }), 300);
      setTimer(t);
    }
    setEntryId(state => _objectSpread(_objectSpread({}, state), {}, {
      isValid: true,
      error: null
    }));
  }, [entryId.value]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    const trimmedFullGroupName = fullGroupName.value.trim();
    if (trimmedFullGroupName && !pristine) {
      if (groupName.isValid && entryId.isValid) {
        setButtonDisabled(false);
      } else {
        setButtonDisabled(true);
      }
    } else {
      setButtonDisabled(true);
    }
  }, [fullGroupName.value, groupName.isValid, entryId.isValid]);
  const handleShowAdvancedOptions = () => {
    setShowAdvancedOptions(!showAdvancedOptions);
    setGroupName(state => _objectSpread(_objectSpread({}, state), {}, {
      value: '',
      isValid: true
    }));
    setEntryId(state => _objectSpread(_objectSpread({}, state), {}, {
      value: '',
      isValid: true
    }));
  };
  const handleSaveForm = async () => {
    if (groupName.isValid && entryId.isValid && fullGroupName.value.trim()) {
      const {
        value: name
      } = groupName;
      const {
        value: id
      } = entryId;
      const {
        value: fullName
      } = fullGroupName;
      return (0,_handler__WEBPACK_IMPORTED_MODULE_21__.createGroupEntry)({
        name,
        id,
        fullName
      }).then(closeDialog).then(() => {
        setPristine(true);
        clearTimeout(timer);
        setTimer(null);
      }).then(() => dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.CREATE
      })).then(() => addSnackbar({
        message: translate('createGroupSuccess')
      })).catch(err => {
        throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_19__.ErrorWithMessage(translate('createGroupFail'), err);
      });
    }
  };
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_17__["default"], {
    onClick: () => runAsync(handleSaveForm()),
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__.PENDING,
    disabled: buttonDisabled
  }, translate('createGroupButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__["default"], {
    id: "create-entry",
    title: translate('createGroupHeader'),
    actions: dialogActions,
    closeDialog: close,
    alert: formError ? {
      message: translate(formError),
      setMessage: setFormError
    } : undefined,
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement("form", {
    autoComplete: "off",
    onSubmit: event => event.preventDefault()
  }, showAdvancedOptions && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "groupName",
    label: translate('createGroupname'),
    value: groupName.value,
    placeholder: translate('createGroupnamePlaceholder'),
    onChange: handleChange(groupName, setGroupName),
    onBlur: handleBlur(groupName, setGroupName),
    error: !groupName.isValid,
    helperText: groupName.error && translate(`${groupName.error}`)
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "entryId",
    label: translate('createEntryId'),
    value: entryId.value,
    placeholder: translate('createEntryIdPlaceholder'),
    onChange: handleChange(entryId, setEntryId),
    onBlur: handleBlur(entryId, setEntryId),
    error: !entryId.isValid,
    helperText: entryId.error && translate(`${entryId.error}`)
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "fullGroupName",
    label: translate('createFullname'),
    value: fullGroupName.value,
    placeholder: translate('createFullnamePlaceholder'),
    onChange: handleChange(fullGroupName, setFullGroupName),
    onBlur: handleBlur(fullGroupName, setFullGroupName, true),
    error: !pristine && !fullGroupName.value.trim(),
    helperText: !pristine && !fullGroupName.value.trim() && 'Name required',
    required: true
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      checked: showAdvancedOptions,
      onChange: handleShowAdvancedOptions,
      inputProps: {
        'aria-label': translate('advancedOptionsCheckbox')
      }
    }),
    label: translate('advancedOptionsCheckbox')
  })))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_18__.ErrorCatcher, {
    error: createError
  }));
};
CreateDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDialog);

/***/ },

/***/ "./modules/admin/groups/dialogs/MembersDialog/MembersDialog.js"
/*!*********************************************************************!*\
  !*** ./modules/admin/groups/dialogs/MembersDialog/MembersDialog.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! admin/nls/esadGroup.nls */ "./modules/admin/nls/esadGroup.nls");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_EntryListView_lists_UsersList__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/lists/UsersList */ "./modules/commons/components/EntryListView/lists/UsersList/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const MembersDialog = _ref => {
  let {
    entry: groupEntry,
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)([(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_4___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_5___default())]);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_2__["default"], {
    id: "members-dialog",
    title: translate('memberHeader', (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getRenderName)(groupEntry)),
    closeDialog: closeDialog,
    closeDialogButtonLabel: translate('close')
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_3__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_EntryListView_lists_UsersList__WEBPACK_IMPORTED_MODULE_8__["default"], {
    groupEntry: groupEntry,
    messages: {
      removeSuccessMessage: translate('removeSuccessMessage'),
      removeFailMessage: translate('removeFailMessage')
    },
    viewPlaceholderProps: {
      label: translate('emptyMessageMembers'),
      variant: 'dialog'
    }
  })));
};
MembersDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MembersDialog);

/***/ },

/***/ "./modules/admin/groups/dialogs/MembersDialog/index.js"
/*!*************************************************************!*\
  !*** ./modules/admin/groups/dialogs/MembersDialog/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _MembersDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _MembersDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MembersDialog */ "./modules/admin/groups/dialogs/MembersDialog/MembersDialog.js");


/***/ },

/***/ "./modules/admin/groups/dialogs/RemoveDialog.js"
/*!******************************************************!*\
  !*** ./modules/admin/groups/dialogs/RemoveDialog.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "actionParams", "nlsBundles", "closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









const RemoveDialog = _ref => {
  let {
      entry,
      actionParams,
      nlsBundles,
      closeDialog
    } = _ref,
    restProps = _objectWithoutProperties(_ref, _excluded);
  const {
    openMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_4__.useMainDialog)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(nlsBundles);
  const groupName = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getRenderName)(entry) || entry.getId();
  const {
    goBack
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const confirmRemoveHomeContext = async homeContextId => {
    try {
      const context = commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getContextById(homeContextId);
      const homeContextEntry = await context.getEntry();
      if (homeContextEntry) {
        openMainDialog({
          content: t('removeHomecontext', (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getRenderName)(homeContextEntry) || homeContextEntry.getId()),
          actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_5__.ConfirmAction, {
            onDone: () => homeContextEntry.del(),
            affirmLabel: t('confirmRemoveHomecontext'),
            rejectLabel: t('cancelRemoveHomecontext')
          })
        });
      }
    } catch (error) {
      console.error(error);
    }
  };
  const onRemove = async () => {
    const entryResource = entry.getResource(true);
    const homeContextId = entryResource.getHomeContext();
    if (homeContextId) {
      await confirmRemoveHomeContext(homeContextId);
    }
    try {
      await entry.del();
    } catch (error) {
      openMainDialog({
        content: t('failedRemoveGroup'),
        actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_5__.AcknowledgeAction, {
          onDone: closeDialog
        })
      });
      console.error(error);
    }
  };
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({}, restProps, {
    closeDialog: closeDialog,
    onRemove: onRemove,
    onRemoveCallback: goBack,
    removeConfirmMessage: t('removeGroupMessage', groupName)
  }));
};
RemoveDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.nlsBundlesPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveDialog);

/***/ },

/***/ "./modules/admin/groups/dialogs/handler.js"
/*!*************************************************!*\
  !*** ./modules/admin/groups/dialogs/handler.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createGroupEntry: () => (/* binding */ createGroupEntry),
/* harmony export */   entryIdSearch: () => (/* binding */ entryIdSearch),
/* harmony export */   groupNameSearch: () => (/* binding */ groupNameSearch)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");




const validate = text => {
  const re = /([A-Z]|\s)/g;
  return re.test(text);
};

/**
 * Searches for a given group name
 *
 * @param {string} groupName
 * @returns {string|null}
 */
const groupNameSearch = async groupName => {
  if (validate(groupName)) {
    return 'nameMalformed';
  }
  return commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getREST().get(`${commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getBaseURI()}_principals?entryname=${groupName.toLowerCase()}`).then(data => {
    return data.length > 0 ? 'nameTaken' : null;
  });
};

/**
 * Searches for a given entryId
 *
 * @param {string} entryId
 * @returns {string|null}
 */
const entryIdSearch = async entryId => {
  if (validate(entryId)) {
    return 'entryIdMalformed';
  }
  const sq = await commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.newSolrQuery().uri(`${commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getBaseURI()}_principals/entry/${entryId}`).limit(1).list();
  return sq.getEntries().then(entries => {
    return entries.length > 0 ? 'entryIdTaken' : null;
  });
};
const createGroupEntry = async _ref => {
  let {
    name,
    id,
    fullName
  } = _ref;
  let prototypeEntry;
  if (!id) {
    if (!name) {
      prototypeEntry = commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.newGroup();
    } else {
      prototypeEntry = commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.newGroup(name);
    }
  } else {
    const groupName = name || null;
    prototypeEntry = commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.newGroup(groupName, id);
  }
  if (prototypeEntry) {
    const md = prototypeEntry.getMetadata();
    md.add(prototypeEntry.getResourceURI(), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.expand('foaf:name'), {
      type: 'literal',
      value: fullName
    });
  }
  return prototypeEntry.commit();
};


/***/ },

/***/ "./modules/admin/projects/ProjectOverview/ProjectOverview.js"
/*!*******************************************************************!*\
  !*** ./modules/admin/projects/ProjectOverview/ProjectOverview.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! admin/nls/esadContext.nls */ "./modules/admin/nls/esadContext.nls");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./actions */ "./modules/admin/projects/ProjectOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12___default()), (admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_13___default())];
const ProjectOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)(nlsBundles);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_16__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_11__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getViewDefFromName)('admin__projects__project');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(viewDefinition.title);
  const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getRenderName)(entry) || translate('unnamedWorkspace', entry.getId());
  const descriptionItems = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_14__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_9__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getRenderName)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_15__["default"], _extends({}, overviewProps, {
    backLabel: translate('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_14__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_17__["default"],
      formTemplateId: 'esc:Context'
    }),
    headerActionParams: {
      formTemplateId: 'esc:Context'
    },
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_19__.sidebarActions,
    sidebarProps: {
      formTemplateId: 'esc:Context'
    },
    returnTo: "/admin/projects",
    headerLabel: label
  }));
};
ProjectOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_16__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_16__.withOverviewModelProvider)(ProjectOverview));

/***/ },

/***/ "./modules/admin/projects/ProjectOverview/actions.js"
/*!***********************************************************!*\
  !*** ./modules/admin/projects/ProjectOverview/actions.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Autorenew.js");
/* harmony import */ var _ProjectsView_dialogs_ReindexProjectDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ProjectsView/dialogs/ReindexProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/ReindexProjectDialog/index.js");
/* harmony import */ var _ProjectsView_dialogs_RemoveProjectDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ProjectsView/dialogs/RemoveProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/RemoveProjectDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  getProps: () => ({
    action: {
      formTemplateId: 'esc:Context'
    }
  })
}), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, {
  id: 'reindex',
  Dialog: _ProjectsView_dialogs_ReindexProjectDialog__WEBPACK_IMPORTED_MODULE_3__["default"],
  labelNlsKey: 'projectReindex',
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_2__["default"], null)
}, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  Dialog: _ProjectsView_dialogs_RemoveProjectDialog__WEBPACK_IMPORTED_MODULE_4__["default"]
})];

/***/ },

/***/ "./modules/admin/projects/ProjectOverview/index.js"
/*!*********************************************************!*\
  !*** ./modules/admin/projects/ProjectOverview/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectOverview */ "./modules/admin/projects/ProjectOverview/ProjectOverview.js");


/***/ },

/***/ "./modules/admin/projects/ProjectsView/ProjectsView.js"
/*!*************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/ProjectsView.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./actions */ "./modules/admin/projects/ProjectsView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
















const ProjectsView = _ref => {
  let {
    listProps
  } = _ref;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_9__.useUserState)();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const [query] = (0,commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_10__.getSearchQuery)({
      entryType: _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.ET_LOCAL,
      graphType: _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_CONTEXT,
      resourceType: 'InformationResource'
    }, {
      userEntry,
      userInfo
    });
    return query;
  }, [userEntry, userInfo]);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_15__.nlsBundles);
  const entryTypeName = translate('createEntryName');
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_5__.useSolrQuery)({
    createQuery
  });
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_5__.EntryListView, _extends({}, queryResults, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_15__.nlsBundles,
    viewPlaceholderProps: {
      label: translate('emptyMessageWithName', entryTypeName)
    },
    listActions: _actions__WEBPACK_IMPORTED_MODULE_15__.listActions,
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_13__.getPathFromViewName)('admin__projects__project', {
          entryId: entry.getId(),
          contextId: entry.getContext().getId()
        })
      };
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_5__.TITLE_COLUMN), {}, {
      xs: 8,
      sortBy: commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_5__.TITLE_SORT,
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getRenderName)(entry) || translate('unnamedWorkspace', entry.getId())
        };
      }
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_5__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_5__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_6__.LIST_ACTION_INFO), {}, {
        Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_14__["default"],
        formTemplateId: 'esc:Context'
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_6__.LIST_ACTION_EDIT), {}, {
        formTemplateId: 'esc:Context'
      })]
    })]
  }));
};
ProjectsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProviderAndLocation)(ProjectsView));

/***/ },

/***/ "./modules/admin/projects/ProjectsView/actions.js"
/*!********************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/actions.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! admin/nls/esadContext.nls */ "./modules/admin/nls/esadContext.nls");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var _dialogs_RemoveProjectDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dialogs/RemoveProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/RemoveProjectDialog/index.js");
/* harmony import */ var _dialogs_CreateProjectDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./dialogs/CreateProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/CreateProjectDialog/index.js");
/* harmony import */ var _dialogs_ReindexProjectDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dialogs/ReindexProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/ReindexProjectDialog/index.js");
/* harmony import */ var _dialogs_UpgradeProjectToPremiumDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./dialogs/UpgradeProjectToPremiumDialog */ "./modules/admin/projects/ProjectsView/dialogs/UpgradeProjectToPremiumDialog/index.js");
/* harmony import */ var _dialogs_DowngradeProjectFromPremiumDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./dialogs/DowngradeProjectFromPremiumDialog */ "./modules/admin/projects/ProjectsView/dialogs/DowngradeProjectFromPremiumDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }










const LIST_ACTION_MAKE_PREMIUM_ID = 'upgradeToPremium';
const LIST_ACTION_REMOVE_PREMIUM_ID = 'downgradeFromPremium';
const LIST_ACTION_REINDEX_ID = 'reindex';
const nlsBundles = [(admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_2___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4___default())];
const listActions = [{
  id: 'create',
  Dialog: _dialogs_CreateProjectDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  labelNlsKey: 'createButton',
  tooltipNlsKey: 'actionTooltip'
}];
const rowActions = [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_EDIT), {}, {
  formTemplateId: 'esc:Context'
}), commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_REVISIONS, {
  id: LIST_ACTION_REINDEX_ID,
  Dialog: _dialogs_ReindexProjectDialog__WEBPACK_IMPORTED_MODULE_8__["default"],
  labelNlsKey: 'projectReindex'
}, {
  id: commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_SHARING_SETTINGS,
  Dialog: '',
  isVisible: () => false,
  // no restriction when we develop sharing settings for admin
  labelNlsKey: 'contextACL'
}, {
  id: LIST_ACTION_MAKE_PREMIUM_ID,
  Dialog: _dialogs_UpgradeProjectToPremiumDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
  isVisible: _ref => {
    let {
      entry: contextEntry
    } = _ref;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_5__.premiumContextsEnabled)() && !(0,commons_util_context__WEBPACK_IMPORTED_MODULE_5__.isContextPremium)(contextEntry);
  },
  labelNlsKey: 'makePremium'
}, {
  id: LIST_ACTION_REMOVE_PREMIUM_ID,
  Dialog: _dialogs_DowngradeProjectFromPremiumDialog__WEBPACK_IMPORTED_MODULE_10__["default"],
  isVisible: _ref2 => {
    let {
      entry: contextEntry
    } = _ref2;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_5__.premiumContextsEnabled)() && (0,commons_util_context__WEBPACK_IMPORTED_MODULE_5__.isContextPremium)(contextEntry);
  },
  labelNlsKey: 'unmakePremium'
}, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveProjectDialog__WEBPACK_IMPORTED_MODULE_6__["default"]
})];

/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/CreateProjectDialog/CreateProjectDialog.js"
/*!************************************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/CreateProjectDialog/CreateProjectDialog.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! admin/nls/esadContext.nls */ "./modules/admin/nls/esadContext.nls");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




















const CreateProjectDialog = _ref => {
  let {
    closeDialog
  } = _ref;
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_6__.useListModel)();
  const [contextName, setContextName] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const [entryId, setEntryId] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const [fullname, setFullname] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const [contextErrorMsg, setContextErrorMsg] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const [EntryErrorMsg, setEntryErrorMsg] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const [advancedOption, setAdvancedOption] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const [contextTimer, setContextTimer] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const [entryIdTimer, setEntryIdTimer] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_15___default()));
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_16__.useSnackbar)();
  const {
    runAsync,
    status,
    error: createError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])();
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_21__.useConfirmCloseAction)(closeDialog);
  const close = () => confirmClose(fullname !== '' || contextName !== '' || entryId !== '');
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!advancedOption) {
      setContextName('');
      setEntryId('');
      setContextErrorMsg('');
      setEntryErrorMsg('');
    }
  }, [advancedOption]);
  const contextNameValidation = async () => {
    let isValid = true;
    setContextErrorMsg('');
    if (contextName.trim()) {
      try {
        const data = await commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getREST().get(`${commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getBaseURI()}_contexts?entryname=${contextName}`);
        if (data.length > 0) {
          setContextErrorMsg('contextnameTaken');
          isValid = false;
        }
      } catch (e) {
        console.log(e);
      }
    }
    return isValid;
  };
  const entryIdValidation = async () => {
    let isValid = true;
    setEntryErrorMsg('');
    if (entryId.trim()) {
      try {
        const data = await commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getREST().get(`${commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getBaseURI()}_contexts/entry/${entryId}`);
        if (Object.keys(data).length > 0) {
          setEntryErrorMsg('entryIdTaken');
          isValid = false;
        }
      } catch (e) {
        console.log(e);
      }
    }
    return isValid;
  };
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (contextName) {
      if (contextTimer) {
        clearTimeout(contextTimer);
      }
      const time = setTimeout(contextNameValidation, 300);
      setContextTimer(time);
    }
  }, [contextName]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (entryId) {
      if (entryIdTimer) {
        clearTimeout(entryIdTimer);
      }
      const time = setTimeout(entryIdValidation, 300);
      setEntryIdTimer(time);
    }
  }, [entryId]);
  const submitHandler = async () => {
    // handle submit before calling onBlur on a field
    const trimmedFullname = fullname.trim();
    const trimmedContextName = contextName.trim();
    const trimmedEntryId = entryId.trim();
    const contextEntry = commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.newContext(trimmedContextName, trimmedEntryId || undefined);
    const language = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_14__.i18n.getLocale();
    const metadata = contextEntry.getMetadata();
    metadata.addL(contextEntry.getResourceURI(), 'dcterms:title', trimmedFullname, language);
    return contextEntry.commit().then(closeDialog).then(() => {
      clearTimeout(contextTimer);
      clearTimeout(entryIdTimer);
      setContextTimer(null);
      setEntryIdTimer(null);
    }).then(() => {
      dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_6__.CREATE
      });
      addSnackbar({
        message: translate('createProjectSuccess')
      });
    }).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_20__.ErrorWithMessage(translate('createProjectFail'), error);
    });
  };
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_18__["default"], {
    onClick: () => runAsync(submitHandler()),
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__.PENDING,
    disabled: !fullname || !!EntryErrorMsg || !!contextErrorMsg
  }, translate('createButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__["default"], {
    id: "create-entry",
    title: translate('newContextnameHeader'),
    actions: dialogActions,
    closeDialog: close,
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement("form", {
    autoComplete: "off"
  }, advancedOption && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "contextName",
    label: translate('createContextname'),
    placeholder: translate('setNamePlaceholder'),
    variant: "filled",
    value: contextName,
    onChange: event => {
      setContextName(event.target.value);
      setContextErrorMsg('');
    },
    onBlur: event => setContextName(event.target.value.trim()),
    error: !!contextErrorMsg,
    helperText: !!contextErrorMsg && translate(contextErrorMsg)
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "entryId",
    label: translate('createEntryId'),
    placeholder: translate('createEntryIdPlaceholder'),
    variant: "filled",
    value: entryId,
    onChange: event => {
      setEntryId(event.target.value);
      setEntryErrorMsg('');
    },
    onBlur: event => setEntryId(event.target.value.trim()),
    error: !!EntryErrorMsg,
    helperText: !!EntryErrorMsg && translate(EntryErrorMsg)
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "fullname",
    label: translate('createFullname'),
    placeholder: translate('createFullnamePlaceholder'),
    variant: "filled",
    value: fullname,
    onChange: event => {
      setFullname(event.target.value);
    },
    onBlur: event => setFullname(event.target.value.trim())
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      color: "default",
      inputProps: {
        'aria-label': translate('advancedOptions')
      },
      onClick: () => setAdvancedOption(!advancedOption)
    }),
    label: translate('advancedOptions')
  })))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_19__.ErrorCatcher, {
    error: createError
  }));
};
CreateProjectDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateProjectDialog);

/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/CreateProjectDialog/index.js"
/*!**********************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/CreateProjectDialog/index.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateProjectDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateProjectDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/CreateProjectDialog/CreateProjectDialog.js");


/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/DowngradeProjectFromPremiumDialog/DowngradeProjectFromPremiumDialog.js"
/*!****************************************************************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/DowngradeProjectFromPremiumDialog/DowngradeProjectFromPremiumDialog.js ***!
  \****************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/nls/esadContext.nls */ "./modules/admin/nls/esadContext.nls");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");











const DowngradeProjectFromPremiumDialog = _ref => {
  let {
    entry: contextEntry
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListModel)();
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])(null);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_7__.useSnackbar)();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    runAsync((0,commons_util_context__WEBPACK_IMPORTED_MODULE_10__.downgradeContextFromPremium)(contextEntry).then(() => {
      dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.REFRESH
      });
      addSnackbar({
        message: translate('downgradeFromPremiumNotification')
      });
    }));
  }, [addSnackbar, contextEntry, dispatch, runAsync, translate]);
  return null;
};
DowngradeProjectFromPremiumDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DowngradeProjectFromPremiumDialog);

/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/DowngradeProjectFromPremiumDialog/index.js"
/*!************************************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/DowngradeProjectFromPremiumDialog/index.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DowngradeProjectFromPremiumDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DowngradeProjectFromPremiumDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DowngradeProjectFromPremiumDialog */ "./modules/admin/projects/ProjectsView/dialogs/DowngradeProjectFromPremiumDialog/DowngradeProjectFromPremiumDialog.js");


/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/ReindexProjectDialog/ReindexProjectDialog.js"
/*!**************************************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/ReindexProjectDialog/ReindexProjectDialog.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const ReindexDialog = _ref => {
  let {
    entry,
    closeDialog,
    nlsBundles
  } = _ref;
  const [statusError, setStatusError] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundles);
  const handleClose = () => {
    closeDialog();
    setStatusError(false);
  };
  const triggerReindex = async () => {
    const url = `${commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.getBaseURI()}management/solr`;
    try {
      const response = await fetch(url, {
        credentials: 'include',
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({
          command: 'reindex',
          context: entry.getURI()
        })
      });
      if (response.status !== 202) {
        setStatusError(true);
      } else {
        handleClose();
      }
    } catch (error) {
      setStatusError(true);
      console.error(error);
    }
  };
  const actions = /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_5__["default"], {
    autoFocus: true,
    onClick: () => triggerReindex()
  }, translate('projectReindex'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_9__["default"], {
    id: "reindex-entry",
    closeDialog: () => handleClose(),
    actions: actions,
    maxWidth: "xs",
    alert: statusError ? {
      message: translate('reindexError')
    } : {
      message: null
    }
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_8__["default"], {
    xs: 10
  }, /*#__PURE__*/React.createElement("div", null, translate('reindexConfirmationQuestionNLS')))));
};
ReindexDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired,
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ReindexDialog);

/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/ReindexProjectDialog/index.js"
/*!***********************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/ReindexProjectDialog/index.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ReindexProjectDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ReindexProjectDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ReindexProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/ReindexProjectDialog/ReindexProjectDialog.js");


/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/RemoveProjectDialog/RemoveProjectDialog.js"
/*!************************************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/RemoveProjectDialog/RemoveProjectDialog.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "nlsBundles", "closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










const RemoveDialog = _ref => {
  let {
      entry,
      nlsBundles,
      closeDialog
    } = _ref,
    restProps = _objectWithoutProperties(_ref, _excluded);
  const {
    openMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_5__.useMainDialog)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  const projectName = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getRenderName)(entry) || entry.getId();
  const {
    goBack
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const confirmRemoveAssociatedGroup = async groupEntry => {
    openMainDialog({
      content: translate('confirmGroupInProject', (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getRenderName)(groupEntry) || groupEntry.getId()),
      actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_6__.ConfirmAction, {
        onDone: () => groupEntry.del(),
        affirmLabel: translate('confirmRemove'),
        rejectLabel: translate('cancelRemove')
      })
    });
  };
  const onRemove = async () => {
    try {
      const entryId = entry.getId();
      const context = commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.getContextById(entryId);
      const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.getGroupWithHomeContext)(context);
      if (groupEntry) {
        await confirmRemoveAssociatedGroup(groupEntry);
      }
      await entry.del();
    } catch (error) {
      openMainDialog({
        content: translate('failedRemoveContext'),
        actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_6__.AcknowledgeAction, {
          onDone: closeDialog
        })
      });
      console.error(error);
    }
  };
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_11__["default"], _extends({}, restProps, {
    closeDialog: closeDialog,
    onRemove: onRemove,
    onRemoveCallback: goBack,
    removeConfirmMessage: translate('removeContextMessage', projectName)
  }));
};
RemoveDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveDialog);

/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/RemoveProjectDialog/index.js"
/*!**********************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/RemoveProjectDialog/index.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveProjectDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveProjectDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveProjectDialog */ "./modules/admin/projects/ProjectsView/dialogs/RemoveProjectDialog/RemoveProjectDialog.js");


/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/UpgradeProjectToPremiumDialog/UpgradeProjectToPremiumDialog.js"
/*!********************************************************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/UpgradeProjectToPremiumDialog/UpgradeProjectToPremiumDialog.js ***!
  \********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/nls/esadContext.nls */ "./modules/admin/nls/esadContext.nls");
/* harmony import */ var admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");











const UpgradeProjectToPremiumDialog = _ref => {
  let {
    entry: contextEntry
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((admin_nls_esadContext_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListModel)();
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])(null);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_7__.useSnackbar)();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    runAsync((0,commons_util_context__WEBPACK_IMPORTED_MODULE_10__.upgradeContextToPremium)(contextEntry).then(() => {
      dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.REFRESH
      });
      addSnackbar({
        message: translate('upgradeToPremiumNotification')
      });
    }));
  }, [addSnackbar, contextEntry, dispatch, runAsync, translate]);
  return null;
};
UpgradeProjectToPremiumDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UpgradeProjectToPremiumDialog);

/***/ },

/***/ "./modules/admin/projects/ProjectsView/dialogs/UpgradeProjectToPremiumDialog/index.js"
/*!********************************************************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/dialogs/UpgradeProjectToPremiumDialog/index.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UpgradeProjectToPremiumDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UpgradeProjectToPremiumDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UpgradeProjectToPremiumDialog */ "./modules/admin/projects/ProjectsView/dialogs/UpgradeProjectToPremiumDialog/UpgradeProjectToPremiumDialog.js");


/***/ },

/***/ "./modules/admin/projects/ProjectsView/index.js"
/*!******************************************************!*\
  !*** ./modules/admin/projects/ProjectsView/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectsView */ "./modules/admin/projects/ProjectsView/ProjectsView.js");


/***/ },

/***/ "./modules/admin/users/UserOverview/UserOverview.js"
/*!**********************************************************!*\
  !*** ./modules/admin/users/UserOverview/UserOverview.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./actions */ "./modules/admin/users/UserOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const nlsBundles = [(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const DISABLED_TAG = {
  id: 'disabledTag',
  labelNlsKey: 'disabledTag',
  nlsBundles: (admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8___default()),
  isVisible: entry => (0,commons_util_user__WEBPACK_IMPORTED_MODULE_20__.getIsUserDisabled)(entry)
};
const UserOverview = _ref => {
  var _getLabel;
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_5__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundles);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_13__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_7__.getViewDefFromName)('admin__users__user');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_19__.localize)(viewDefinition.title);
  const descriptionItems = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_15__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_11__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_16__["default"], _extends({}, overviewProps, {
    backLabel: translate('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_15__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_18__["default"]
    }),
    headerActionParams: {
      formTemplateId: 'esc:User'
    },
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_21__.sidebarActions,
    sidebarProps: {
      formTemplateId: 'esc:User'
    },
    returnTo: "/admin/users",
    headerLabel: ((_getLabel = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getLabel)(entry)) === null || _getLabel === void 0 ? void 0 : _getLabel.trim()) || (0,commons_util_user__WEBPACK_IMPORTED_MODULE_20__.getUserRenderName)(entry),
    tags: [DISABLED_TAG]
  }));
};
UserOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.withOverviewModelProvider)(UserOverview));

/***/ },

/***/ "./modules/admin/users/UserOverview/actions.js"
/*!*****************************************************!*\
  !*** ./modules/admin/users/UserOverview/actions.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountCircle.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOpen.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAdd.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAddDisabled.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _UsersView_dialogs_ChangeUsernameDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../UsersView/dialogs/ChangeUsernameDialog */ "./modules/admin/users/UsersView/dialogs/ChangeUsernameDialog/index.js");
/* harmony import */ var _UsersView_dialogs_DisableUserDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../UsersView/dialogs/DisableUserDialog */ "./modules/admin/users/UsersView/dialogs/DisableUserDialog/index.js");
/* harmony import */ var _UsersView_dialogs_ChangePasswordDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../UsersView/dialogs/ChangePasswordDialog */ "./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/index.js");
/* harmony import */ var _UsersView_dialogs_GroupMembershipsDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../UsersView/dialogs/GroupMembershipsDialog */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/index.js");
/* harmony import */ var _UsersView_dialogs_UpgradeUserToPremiumDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../UsersView/dialogs/UpgradeUserToPremiumDialog */ "./modules/admin/users/UsersView/dialogs/UpgradeUserToPremiumDialog/index.js");
/* harmony import */ var _UsersView_dialogs_DowngradeUserFromPremiumDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../UsersView/dialogs/DowngradeUserFromPremiumDialog */ "./modules/admin/users/UsersView/dialogs/DowngradeUserFromPremiumDialog/index.js");
/* harmony import */ var _utils_user__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/user */ "./modules/admin/users/utils/user.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const ACTION_CHANGE_USERNAME_ID = 'username';
const ACTION_CHANGE_PASSWORD_ID = 'password';
const ACTION_GROUPS_ID = 'groups';
const ACTION_ENABLE_USER_ID = 'enable-user';
const ACTION_DISABLE_USER_ID = 'disable-user';
const ACTION_MAKE_PREMIUM_ID = 'upgradeToPremium';
const ACTION_REMOVE_PREMIUM_ID = 'downgradeFromPremium';
const canChangeUserStatus = entry => entry.canAdministerEntry();
const canChangeUserStatusAndIsEnabled = _ref => {
  let {
    entry
  } = _ref;
  return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isRegularUser)(entry) && canChangeUserStatus(entry) && (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isUserEnabled)(entry);
};
const canChangeUserStatusAndIsDisabled = _ref2 => {
  let {
    entry
  } = _ref2;
  return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isRegularUser)(entry) && canChangeUserStatus(entry) && (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isUserDisabled)(entry);
};
const handleUserEntryEdit = entry => {
  (0,_utils_user__WEBPACK_IMPORTED_MODULE_16__.replaceNameWithFirstAndLastName)(entry);
  return entry.commitMetadata();
};
const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  getProps: () => ({
    action: {
      formTemplateId: 'esc:User',
      onEntryEdit: handleUserEntryEdit
    }
  })
}), {
  id: ACTION_CHANGE_USERNAME_ID,
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_8__.withOverviewRefresh)(_UsersView_dialogs_ChangeUsernameDialog__WEBPACK_IMPORTED_MODULE_10__["default"], 'onCreate'),
  labelNlsKey: 'changeUsername',
  isVisible: _ref3 => {
    let {
      entry
    } = _ref3;
    return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isRegularUser)(entry);
  },
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"], null)
}, {
  id: ACTION_CHANGE_PASSWORD_ID,
  Dialog: _UsersView_dialogs_ChangePasswordDialog__WEBPACK_IMPORTED_MODULE_12__["default"],
  labelNlsKey: 'setPassword',
  isVisible: _ref4 => {
    let {
      entry
    } = _ref4;
    return !(0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isGuest)(entry);
  },
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null)
}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, {
  id: ACTION_GROUPS_ID,
  Dialog: _UsersView_dialogs_GroupMembershipsDialog__WEBPACK_IMPORTED_MODULE_13__["default"],
  labelNlsKey: 'groupsList',
  isVisible: _ref5 => {
    let {
      entry
    } = _ref5;
    return !(0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isAdmin)(entry);
  },
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], null)
}, {
  id: ACTION_ENABLE_USER_ID,
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_8__.withOverviewRefresh)(_UsersView_dialogs_DisableUserDialog__WEBPACK_IMPORTED_MODULE_11__["default"], 'onStatusChange'),
  isVisible: canChangeUserStatusAndIsDisabled,
  labelNlsKey: 'userStatusEnable',
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null)
}, {
  id: ACTION_DISABLE_USER_ID,
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_8__.withOverviewRefresh)(_UsersView_dialogs_DisableUserDialog__WEBPACK_IMPORTED_MODULE_11__["default"], 'onStatusChange'),
  isVisible: canChangeUserStatusAndIsEnabled,
  labelNlsKey: 'userStatusDisable',
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null)
}, {
  id: ACTION_MAKE_PREMIUM_ID,
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_8__.withOverviewRefresh)(_UsersView_dialogs_UpgradeUserToPremiumDialog__WEBPACK_IMPORTED_MODULE_14__["default"], 'onUpgrade'),
  isVisible: _ref6 => {
    let {
      entry
    } = _ref6;
    return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isRegularUser)(entry) && (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isPremiumConfigured)() && !(0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isUserPremium)(entry);
  },
  labelNlsKey: 'addToPremiumGroup'
}, {
  id: ACTION_REMOVE_PREMIUM_ID,
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_8__.withOverviewRefresh)(_UsersView_dialogs_DowngradeUserFromPremiumDialog__WEBPACK_IMPORTED_MODULE_15__["default"], 'onDowngrade'),
  isVisible: _ref7 => {
    let {
      entry
    } = _ref7;
    return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isRegularUser)(entry) && (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isPremiumConfigured)() && (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isUserPremium)(entry);
  },
  labelNlsKey: 'removeFromPremiumGroup',
  tooltipNlsKey: 'removeFromPremiumGroup'
}, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  isVisible: _ref8 => {
    let {
      entry
    } = _ref8;
    return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.isRegularUser)(entry);
  },
  getProps: _ref9 => {
    let {
      entry,
      translate
    } = _ref9;
    return {
      action: {
        removeConfirmMessage: translate('removeUserMessage', (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_9__.getRenderName)(entry) || entry.getId())
      }
    };
  }
})];

/***/ },

/***/ "./modules/admin/users/UserOverview/index.js"
/*!***************************************************!*\
  !*** ./modules/admin/users/UserOverview/index.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UserOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UserOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserOverview */ "./modules/admin/users/UserOverview/UserOverview.js");


/***/ },

/***/ "./modules/admin/users/UsersView/UsersView.js"
/*!****************************************************!*\
  !*** ./modules/admin/users/UsersView/UsersView.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_icons_material_PersonAddDisabled__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material/PersonAddDisabled */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAddDisabled.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./actions */ "./modules/admin/users/UsersView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


















const UsersList = _ref => {
  let {
    listProps
  } = _ref;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__.useUserState)();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const [query] = (0,commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_11__.getSearchQuery)({
      entryType: _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.types.ET_LOCAL,
      graphType: _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.types.GT_USER,
      resourceType: 'InformationResource'
    }, {
      userEntry,
      userInfo
    });
    return query;
  }, [userEntry, userInfo]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.useSolrQuery)({
    createQuery,
    applyQueryParams: commons_util_solr__WEBPACK_IMPORTED_MODULE_14__.applyTitleOrUsernameParams
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles);
  const entryTypeName = translate('createEntryName');
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.EntryListView, _extends({}, queryResults, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles,
    viewPlaceholderProps: {
      label: translate('emptyMessageWithName', entryTypeName)
    },
    listActions: _actions__WEBPACK_IMPORTED_MODULE_17__.listActions,
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_15__.getPathFromViewName)('admin__users__user', {
          entryId: entry.getId(),
          contextId: '_principals'
        })
      };
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.TITLE_COLUMN), {}, {
      xs: 8,
      sortBy: commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.TITLE_SORT,
      direction: 'row',
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          primary: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.getUserRenderName)(entry),
          secondary: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.getIsUserDisabled)(entry) ? /*#__PURE__*/React.createElement(_mui_icons_material_PersonAddDisabled__WEBPACK_IMPORTED_MODULE_6__["default"], {
            title: translate('userStatusDisabled')
          }) : null
        };
      }
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_INFO), {}, {
        formTemplateId: 'esc:User',
        Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_16__["default"]
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_EDIT), {}, {
        formTemplateId: 'esc:User'
      })]
    })]
  }));
};
UsersList.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListModelProviderAndLocation)(UsersList));

/***/ },

/***/ "./modules/admin/users/UsersView/actions.js"
/*!**************************************************!*\
  !*** ./modules/admin/users/UsersView/actions.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   USER_EDIT_ACTION: () => (/* binding */ USER_EDIT_ACTION),
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _dialogs_CreateUserDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dialogs/CreateUserDialog */ "./modules/admin/users/UsersView/dialogs/CreateUserDialog/index.js");
/* harmony import */ var _utils_user__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/user */ "./modules/admin/users/utils/user.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const handleUserEntryEdit = entry => {
  (0,_utils_user__WEBPACK_IMPORTED_MODULE_6__.replaceNameWithFirstAndLastName)(entry);
  return entry.commitMetadata();
};
const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default()), (admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_2___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_4___default())];
const listActions = [{
  id: 'create',
  Dialog: _dialogs_CreateUserDialog__WEBPACK_IMPORTED_MODULE_5__["default"],
  labelNlsKey: 'createButton',
  tooltipNlsKey: 'actionTooltip'
}];
const USER_EDIT_ACTION = _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_EDIT), {}, {
  formTemplateId: 'esc:User',
  onEntryEdit: handleUserEntryEdit
});

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/ChangePasswordDialog.js"
/*!********************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/ChangePasswordDialog.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VisibilityOff.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/nls/escoSignin.nls */ "./modules/commons/nls/escoSignin.nls");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_auth_usePassword__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/auth/usePassword */ "./modules/commons/auth/usePassword.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./style.scss */ "./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/style.scss");























const ChangePasswordDialog = _ref => {
  let {
    entry: userEntry,
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)([(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_17___default()), (commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_18___default())]);
  const {
    password,
    passwordError,
    isPasswordVisible,
    handleChangePassword,
    togglePasswordVisibility,
    passwordConfirmation,
    passwordConfirmationError,
    isPasswordConfirmationVisible,
    handleChangePasswordConfirmation,
    togglePasswordConfirmationVisibility,
    currentPassword,
    handleChangeCurrentPassword,
    isCurrentPasswordVisible,
    toggleCurrentVisibility
  } = (0,commons_auth_usePassword__WEBPACK_IMPORTED_MODULE_19__["default"])();
  const {
    userEntry: currentUserEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__.useUserState)();
  const {
    runAsync,
    error: changeError,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__["default"])();
  const hasAdministratorRights = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_15__.hasAdminRights)(currentUserEntry);
  const isChangingOwnPassword = userEntry === currentUserEntry;
  const showCurrentPassword = !hasAdministratorRights || hasAdministratorRights && isChangingOwnPassword;
  const [currentPasswordError, setCurrentPasswordError] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const hasValidPassAndConfirmation = password && !passwordError && passwordConfirmation && !passwordConfirmationError;
  const canSave = showCurrentPassword ? hasValidPassAndConfirmation && currentPassword && !currentPasswordError : hasValidPassAndConfirmation;
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_24__.useSnackbar)();
  const confirmPasswordChange = () => {
    return addSnackbar({
      message: translate('setPasswordSuccess')
    });
  };
  const handleSave = () => {
    const formData = {
      password: password.trim()
    };
    if (showCurrentPassword) formData.currentPassword = currentPassword.trim();
    return userEntry.getResource().then(resourceEntry => commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.getREST().put(resourceEntry.getResourceURI(), JSON.stringify(formData))).then(closeDialog).then(confirmPasswordChange).catch(error => {
      if ((error === null || error === void 0 ? void 0 : error.status) === 403) {
        setCurrentPasswordError(true);
      } else throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_21__.ErrorWithMessage(translate('setPasswordError'), error);
    });
  };
  const actions = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_23__["default"], {
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__.PENDING,
    disabled: !canSave,
    onClick: () => runAsync(handleSave())
  }, translate('setPasswordButton'));
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement((react__WEBPACK_IMPORTED_MODULE_3___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__["default"], {
    id: "change-password",
    title: translate('setPasswordHeader'),
    actions: actions,
    closeDialog: closeDialog,
    maxWidth: "sm"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__["default"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("form", {
    autoComplete: "on"
  }, showCurrentPassword ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    autoComplete: "current-password",
    autoFocus: true,
    id: "current-password-input",
    "aria-describedby": "current-password-input",
    label: translate('currentPassword'),
    error: Boolean(currentPasswordError),
    helperText: currentPasswordError ? translate('currentPasswordError') : null,
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      setCurrentPasswordError(false);
      handleChangeCurrentPassword(target.value);
    },
    type: isCurrentPasswordVisible ? 'text' : 'password',
    required: true,
    InputProps: {
      endAdornment: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
        position: "end"
      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_12__["default"], {
        title: translate('passwordVisibility')
      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
        "aria-label": translate('passwordVisibility'),
        onClick: toggleCurrentVisibility,
        onMouseDown: e => e.preventDefault()
      }, isCurrentPasswordVisible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"], null) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"], null))))
    }
  }) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    autoComplete: "new-password",
    autoFocus: !showCurrentPassword,
    error: Boolean(passwordError),
    id: "password-input",
    "aria-describedby": "password-input",
    label: translate('resetToNewPassword'),
    helperText: passwordError,
    onChange: _ref3 => {
      let {
        target
      } = _ref3;
      return handleChangePassword(target.value);
    },
    type: isPasswordVisible ? 'text' : 'password',
    required: true,
    InputProps: {
      endAdornment: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
        position: "end"
      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_12__["default"], {
        title: translate('passwordVisibility')
      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
        "aria-label": translate('passwordVisibility'),
        onClick: togglePasswordVisibility,
        onMouseDown: e => e.preventDefault()
      }, isPasswordVisible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"], null) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"], null))))
    }
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    autoComplete: "new-password",
    error: Boolean(passwordConfirmationError),
    id: "password-confirm-input",
    "aria-describedby": "password-confirm-input",
    label: translate('confirmPassword'),
    helperText: passwordConfirmationError,
    onChange: _ref4 => {
      let {
        target
      } = _ref4;
      return handleChangePasswordConfirmation(target.value);
    },
    type: isPasswordConfirmationVisible ? 'text' : 'password',
    required: true,
    InputProps: {
      endAdornment: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
        position: "end"
      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_12__["default"], {
        title: translate('passwordVisibility')
      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
        "aria-label": translate('passwordVisibility'),
        onClick: togglePasswordConfirmationVisibility,
        onMouseDown: e => e.preventDefault()
      }, isPasswordConfirmationVisible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"], null) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"], null))))
    }
  })))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_20__.ErrorCatcher, {
    error: changeError
  }));
};
ChangePasswordDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    getResource: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired
  }).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ChangePasswordDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ChangePasswordDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ChangePasswordDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChangePasswordDialog */ "./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/ChangePasswordDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/ChangeUsernameDialog/ChangeUsernameDialog.js"
/*!********************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/ChangeUsernameDialog/ChangeUsernameDialog.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const ChangeUsernameDialog = _ref => {
  let {
    entry,
    closeDialog,
    onCreate
  } = _ref;
  const [username, setUsername] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('');
  const [newUsername, setNewUsername] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('');
  const [hasUsernameError, setUsernameError] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const {
    runAsync,
    error: changeError,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    entry.getResource().then(userEntry => {
      setUsername(userEntry.getName());
    });
  }, []);
  const handleUsernameChange = e => {
    setNewUsername(e.target.value); // update UI
    (0,commons_util_user__WEBPACK_IMPORTED_MODULE_8__.isUsernameInUse)(e.target.value).then(setUsernameError); // check if new username is already used
    // TODO use some debounce hook
  };
  const saveNewUsername = () => {
    return entry.getResource().then(user => user.setName(newUsername)).then(onCreate).then(closeDialog).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_11__.ErrorWithMessage(translate('changeUsernameFail'), error);
    });
  };
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__["default"], {
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__.PENDING,
    onClick: () => runAsync(saveNewUsername()),
    disabled: username === newUsername || newUsername.length < 2 || hasUsernameError
  }, translate('changeUsernameButton') /* TODO nls too long for this UI */);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_9__["default"], {
    id: "change-username",
    title: translate('changeUsernameHeader'),
    actions: actions,
    closeDialog: closeDialog,
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_5__["default"], null, /*#__PURE__*/React.createElement("form", {
    noValidate: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    id: "current-username",
    label: translate('currentUsernameLabel'),
    type: "email",
    disabled: true,
    value: username
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    error: hasUsernameError,
    helperText: hasUsernameError ? translate('usernameTaken') : '',
    id: "new-username",
    label: translate('changeUsernameLabel'),
    type: "email",
    value: newUsername,
    onChange: handleUsernameChange
  })))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_10__.ErrorCatcher, {
    error: changeError
  }));
};
ChangeUsernameDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape(),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ChangeUsernameDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/ChangeUsernameDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/ChangeUsernameDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ChangeUsernameDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ChangeUsernameDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChangeUsernameDialog */ "./modules/admin/users/UsersView/dialogs/ChangeUsernameDialog/ChangeUsernameDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/CreateUserDialog/CreateUserDialog.js"
/*!************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/CreateUserDialog/CreateUserDialog.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const validateUsername = async username => {
  const trimmedValue = username.value.trim();
  if (!username.isPristine && !trimmedValue) return 'usernameRequired';
  if (trimmedValue.split(' ').length > 1) return 'usernameHasSpaces';
  return commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.getREST().get(`${commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.getBaseURI()}_principals?entryname=${trimmedValue.toLowerCase()}`).then(data => {
    if (data.length > 0) return 'usernameTaken';
    return null;
  });
};
const validateFirstname = firstname => {
  const trimmedFirstname = firstname.value.trim();
  return !firstname.isPristine && !trimmedFirstname ? 'firstnameRequired' : null;
};
const validateLastname = lastname => {
  const trimmedLastname = lastname.value.trim();
  return !lastname.isPristine && !trimmedLastname ? 'lastnameRequired' : null;
};
const CreateUserDialog = _ref => {
  let {
    closeDialog
  } = _ref;
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.useListModel)();
  const {
    runAsync,
    error: createError,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const [username, setUsername] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({
    value: '',
    error: null,
    isPristine: true
  });
  const [firstname, setFirstname] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({
    value: '',
    error: null,
    isPristine: true
  });
  const [lastname, setLastname] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({
    value: '',
    error: null,
    isPristine: true
  });
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_23__.useConfirmCloseAction)(closeDialog);
  const close = () => confirmClose(!username.isPristine || !firstname.isPristine || !lastname.isPristine);
  const [context, setContext] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const includePersonalProject = config__WEBPACK_IMPORTED_MODULE_18__["default"].get('admin.includePersonalProject');
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_19__.useSnackbar)();
  const update = (state, set) => event => {
    set(_objectSpread(_objectSpread({}, state), {}, {
      isPristine: false,
      value: event.target.value
    }));
  };
  const handleBlur = (state, set) => () => {
    const trimmedValue = state.value.trim();
    set(_objectSpread(_objectSpread({}, state), {}, {
      value: trimmedValue
    }));
  };
  const handleUsernameChange = event => {
    setUsername(prev => _objectSpread(_objectSpread({}, prev), {}, {
      isPristine: false,
      value: event.target.value
    }));
  };
  const handleUsernameBlur = () => {
    setUsername(prev => _objectSpread(_objectSpread({}, prev), {}, {
      value: prev.value.trim()
    }));
  };
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (!firstname.isPristine) {
      const firstnameError = validateFirstname(firstname);
      setFirstname(firstnameState => _objectSpread(_objectSpread({}, firstnameState), {}, {
        error: firstnameError ? translate(firstnameError) : null
      }));
    }
    if (!lastname.isPristine) {
      const lastnameError = validateLastname(lastname);
      setLastname(s => _objectSpread(_objectSpread({}, s), {}, {
        error: lastnameError ? translate(lastnameError) : null
      }));
    }
  }, [firstname.value, lastname.value, translate]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (username.isPristine) return;
    const timer = setTimeout(() => {
      validateUsername(username).then(e => setUsername(prev => _objectSpread(_objectSpread({}, prev), {}, {
        error: e ? translate(e) : null
      })));
    }, 500);
    return () => clearTimeout(timer);
  }, [username.value, username.isPristine, translate]);
  const hasNoErrors = username.error === null && firstname.error === null && lastname.error === null;
  const isNotPristine = !username.isPristine && !firstname.isPristine && !lastname.isPristine;
  const canSubmit = hasNoErrors && isNotPristine && username.value.trim() && firstname.value.trim() && lastname.value.trim();
  const dispatchEntryCreated = () => {
    dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.CREATE
    });
  };
  const handleSubmit = () => {
    if (!canSubmit) return;
    let userEntry;
    let contextEntry;
    const pue = commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.newUser(username.value);
    const md = pue.getMetadata();
    const resURI = pue.getResourceURI();
    const usersURI = commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.getResourceURI('_principals', '_users');
    md.add(pue.getResourceURI(), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand('foaf:givenName'), {
      type: 'literal',
      value: firstname.value
    });
    md.add(pue.getResourceURI(), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand('foaf:familyName'), {
      type: 'literal',
      value: lastname.value
    });
    md.add(pue.getResourceURI(), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand('foaf:name'), {
      type: 'literal',
      value: `${firstname.value} ${lastname.value}`
    });
    pue.getEntryInfo().setACL({
      mread: [usersURI],
      mwrite: [resURI],
      rwrite: [resURI]
    });
    return pue.commit().then(ue => {
      userEntry = ue;
      if (context) {
        const cpe = commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.newContext();
        cpe.getEntryInfo().setACL({
          admin: [userEntry.getResourceURI()]
        });
        return cpe.commit();
      }
      return userEntry;
    }).then(ce => {
      contextEntry = ce;
      if (context) {
        return userEntry.getResource(true).setHomeContext(contextEntry.getId()).then(() => {
          contextEntry.setRefreshNeeded();
          return contextEntry.refresh();
        });
      }
      return ce;
    }).then(() => {
      closeDialog();
      dispatchEntryCreated();
      addSnackbar({
        message: translate('createUserSuccess')
      });
    }).catch(error => {
      if (userEntry) userEntry.del();
      if (contextEntry) contextEntry.del();
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_21__.ErrorWithMessage(translate('createUserFail'), error);
    });
  };
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_17__["default"], {
    success: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__.RESOLVED,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__.PENDING,
    onClick: () => runAsync(handleSubmit()),
    disabled: !canSubmit
  }, translate('createUserButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "create-user",
    title: translate('createUserHeader'),
    actions: actions,
    closeDialog: close,
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_13__["default"], null, /*#__PURE__*/React.createElement("form", {
    noValidate: true,
    onSubmit: () => canSubmit && runAsync(handleSubmit())
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    placeholder: translate('createUsernamePlaceholder'),
    error: username.error && !username.isPristine,
    helperText: username.error ? username.error : translate('createUsernameHelptext'),
    id: "username",
    label: translate('createUsername'),
    value: username.value,
    onChange: handleUsernameChange,
    onBlur: handleUsernameBlur,
    required: true
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    placeholder: translate('createFirstnamePlaceholder'),
    error: firstname.error && !firstname.isPristine,
    helperText: firstname.error ? firstname.error : '',
    id: "firstname",
    label: translate('createFirstname'),
    value: firstname.value,
    onChange: update(firstname, setFirstname),
    onBlur: handleBlur(firstname, setFirstname),
    required: true
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    placeholder: translate('createLastnamePlaceholder'),
    error: lastname.error && !lastname.isPristine,
    helperText: lastname.error ? lastname.error : '',
    id: "lastname",
    label: translate('createLastname'),
    value: lastname.value,
    onChange: update(lastname, setLastname),
    onBlur: handleBlur(lastname, setLastname),
    required: true
  }), includePersonalProject ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
      color: "primary"
    }),
    label: translate('createContextWithUser'),
    labelPlacement: "start",
    onChange: () => setContext(!context),
    checked: context
  }) : null))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_20__.ErrorCatcher, {
    error: createError
  }));
};
CreateUserDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateUserDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/CreateUserDialog/index.js"
/*!*************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/CreateUserDialog/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateUserDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateUserDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateUserDialog */ "./modules/admin/users/UsersView/dialogs/CreateUserDialog/CreateUserDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/DisableUserDialog/DisableUserDialog.js"
/*!**************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/DisableUserDialog/DisableUserDialog.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var admin_users_hooks_useUserStatus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! admin/users/hooks/useUserStatus */ "./modules/admin/users/hooks/useUserStatus.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const DisableUserDialog = _ref => {
  let {
    entry,
    isOpen,
    closeDialog,
    onStatusChange
  } = _ref;
  const [isUserDisabled, toggleUserStatus] = (0,admin_users_hooks_useUserStatus__WEBPACK_IMPORTED_MODULE_8__["default"])(entry);
  const handleUserStatusChange = () => {
    toggleUserStatus().then(() => {
      closeDialog();
      onStatusChange();
    });
  };
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  const dialogActions = /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_3__["default"], {
    onClick: handleUserStatusChange
  }, isUserDisabled ? t('enableUserButtonLabel') : t('disableUserButtonLabel'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "change-user-status-dialog",
    open: isOpen,
    closeDialog: closeDialog,
    actions: dialogActions,
    "aria-labelledby": "change-user-status-dialog-title",
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_4__["default"], {
    xs: 10,
    justifyContent: "flex-start",
    alignItems: "flex-start"
  }, isUserDisabled ? t('userStatusEnableConfirmation') : t('userStatusDisableConfirmation')));
};
DisableUserDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape().isRequired,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  onStatusChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  isOpen: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DisableUserDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/DisableUserDialog/index.js"
/*!**************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/DisableUserDialog/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DisableUserDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DisableUserDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DisableUserDialog */ "./modules/admin/users/UsersView/dialogs/DisableUserDialog/DisableUserDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/DowngradeUserFromPremiumDialog/DowngradeUserFromPremiumDialog.js"
/*!****************************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/DowngradeUserFromPremiumDialog/DowngradeUserFromPremiumDialog.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");










const DowngradeUserFromPremiumDialog = _ref => {
  let {
    entry: userEntry,
    onDowngrade
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])(null);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__.useSnackbar)();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    runAsync((0,commons_util_user__WEBPACK_IMPORTED_MODULE_9__.downgradeUserFromPremium)(userEntry).then(() => {
      onDowngrade();
      addSnackbar({
        message: translate('downgradeFromPremiumNotification')
      });
    }));
  }, [addSnackbar, onDowngrade, runAsync, translate, userEntry]);
  return null;
};
DowngradeUserFromPremiumDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  onDowngrade: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DowngradeUserFromPremiumDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/DowngradeUserFromPremiumDialog/index.js"
/*!***************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/DowngradeUserFromPremiumDialog/index.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DowngradeUserFromPremiumDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DowngradeUserFromPremiumDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DowngradeUserFromPremiumDialog */ "./modules/admin/users/UsersView/dialogs/DowngradeUserFromPremiumDialog/DowngradeUserFromPremiumDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/AddUserToGroupDialog.js"
/*!*******************************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/AddUserToGroupDialog.js ***!
  \*******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! admin/utils */ "./modules/admin/utils/index.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./actions */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


















const entryType = _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.ET_LOCAL;
const graphType = _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_GROUP;
const resourceType = 'InformationResource';
const GroupList = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.withListModelProvider)(_ref => {
  let {
    userEntry,
    closeDialog,
    updateList,
    userGroupIds
  } = _ref;
  const [selectError, setSelectError] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_16__["default"])(selectError);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => {
    const [query] = (0,commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_9__.getSearchQuery)({
      entryType,
      graphType,
      resourceType
    });
    return query;
  }, []);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.useSolrQuery)({
    createQuery,
    applyQueryParams: admin_utils__WEBPACK_IMPORTED_MODULE_15__.applyUsersGroupParams
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles);
  const handleSelectUser = async groupEntry => groupEntry.getResource(true).addEntry(userEntry).then(() => {
    userEntry.setRefreshNeeded();
    return userEntry.refresh();
  }).then(() => {
    updateList();
    closeDialog();
  }).catch(error => setSelectError(error));
  const getSelectEntryProps = _ref2 => {
    let {
      entry: groupEntry
    } = _ref2;
    const disabled = Boolean(userGroupIds.find(userGroupId => userGroupId === groupEntry.getId()));
    return {
      onClick: () => handleSelectUser(groupEntry),
      disabled,
      label: disabled ? translate('selectedEntityLabel') : translate('selectEntity')
    };
  };
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.EntryListView
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, queryResults, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles,
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.TITLE_COLUMN), {}, {
      xs: 8,
      getProps: _ref3 => {
        let {
          entry: groupEntry
        } = _ref3;
        return {
          primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getRenderName)(groupEntry) || translate('unnamedWorkspace', groupEntry.getId())
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.MODIFIED_COLUMN), {}, {
      xs: 3
    }), {
      id: 'select-entry',
      xs: 1,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.ListItemButton,
      getProps: getSelectEntryProps
    }]
  }));
});
GroupList.propTypes = {
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  updateList: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  userGroupIds: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_5___default().string))
};
const AddUserToGroupDialog = _ref4 => {
  let {
    closeDialog,
    userEntry,
    updateList,
    userGroupIds
  } = _ref4;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "select-group-dialog",
    closeDialog: closeDialog,
    title: translate('selectGroup'),
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(GroupList, {
    userEntry: userEntry,
    closeDialog: closeDialog,
    updateList: updateList,
    userGroupIds: userGroupIds
  })));
};
AddUserToGroupDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  updateList: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  userGroupIds: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_5___default().string))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddUserToGroupDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/actions.js"
/*!******************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/actions.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! admin/nls/esadGroup.nls */ "./modules/admin/nls/esadGroup.nls");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__);


const nlsBundles = [(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default())];

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/index.js"
/*!****************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/index.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddUserToGroupDialog */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/AddUserToGroupDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/GroupMembershipsDialog.js"
/*!************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/GroupMembershipsDialog.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _mui_icons_material_Delete__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material/Delete */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Delete.js");
/* harmony import */ var _RemoveUserDialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./RemoveUserDialog */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/RemoveUserDialog/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./actions */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















const GroupsList = _ref => {
  let {
    userEntry
  } = _ref;
  const {
    data: groupItems,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.useListModel)();
  const userGroupIds = (groupItems === null || groupItems === void 0 ? void 0 : groupItems.map(_ref2 => {
    let {
      entry
    } = _ref2;
    return entry.getId();
  })) || [];
  const {
    size,
    result: groupItemsInPage
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.useListQuery)({
    items: groupItems
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_19__.nlsBundles);
  const getTitle = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(entry => (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_9__.getRenderName)(entry) || translate('unnamedWorkspace', entry.getId()), [translate]);
  const getGroupItems = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(async () => {
    const usersGroupURI = commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntryURI('_principals', commons_util_userIds__WEBPACK_IMPORTED_MODULE_10__.USERS_ENTRY_ID);
    const groupURIs = userEntry.getParentGroups().filter(groupURI => groupURI !== usersGroupURI);
    return Promise.all(groupURIs.map(groupURI => commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntry(groupURI))).then(groupEntries => groupEntries.map(entry => ({
      entry,
      title: getTitle(entry)
    })));
  }, [userEntry, getTitle]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    runAsync(getGroupItems());
  }, [runAsync, getGroupItems]);
  const updateList = () => {
    runAsync(getGroupItems().then(entries => {
      dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.REFRESH
      });
      return entries;
    }));
  };
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.EntryListView, {
    entries: groupItemsInPage.map(_ref3 => {
      let {
        entry
      } = _ref3;
      return entry;
    }),
    status: status,
    size: size,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_19__.nlsBundles,
    includeDefaultListActions: false,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_19__.listActions,
    listActionsProps: {
      userEntry,
      updateList,
      userGroupIds
    },
    getListItemProps: _ref4 => {
      let {
        entry
      } = _ref4;
      return {
        action: _objectSpread(_objectSpread({}, _actions__WEBPACK_IMPORTED_MODULE_19__.presenterAction), {}, {
          entry
        })
      };
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.TITLE_COLUMN), {}, {
      xs: 8,
      sortBy: commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.TITLE_SORT,
      getProps: _ref5 => {
        let {
          entry
        } = _ref5;
        return {
          primary: getTitle(entry)
        };
      }
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__.LIST_ACTION_INFO), {}, {
        getProps: _ref6 => {
          let {
            entry
          } = _ref6;
          return {
            entry,
            nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_19__.nlsBundles,
            formTemplateId: 'esc:Group'
          };
        }
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__.LIST_ACTION_REMOVE), {}, {
        icon: /*#__PURE__*/React.createElement(_mui_icons_material_Delete__WEBPACK_IMPORTED_MODULE_17__["default"], null),
        getProps: _ref7 => {
          let {
            entry
          } = _ref7;
          return {
            Dialog: _RemoveUserDialog__WEBPACK_IMPORTED_MODULE_18__["default"],
            entry,
            userEntry,
            nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_19__.nlsBundles,
            updateList
          };
        }
      })]
    })]
  });
};
GroupsList.propTypes = {
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape().isRequired
};
const GroupMembershipsDialog = _ref8 => {
  let {
    entry,
    closeDialog
  } = _ref8;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_19__.nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__["default"], {
    id: "group-membership",
    closeDialog: closeDialog,
    title: t('groupHeader', {
      user: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_9__.getRenderName)(entry)
    }),
    closeDialogButtonLabel: t('close')
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListModelProvider, null, /*#__PURE__*/React.createElement(GroupsList, {
    userEntry: entry
  }))));
};
GroupMembershipsDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GroupMembershipsDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/RemoveUserDialog/RemoveUserDialog.js"
/*!***********************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/RemoveUserDialog/RemoveUserDialog.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "userEntry", "updateList", "nlsBundles", "closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










const removeUserFromGroup = async (groupEntry, userEntry) => {
  await groupEntry.getResource(true).removeEntry(userEntry);
};
const RemoveUserDialog = _ref => {
  let {
      entry: groupEntry,
      userEntry,
      updateList,
      nlsBundles,
      closeDialog
    } = _ref,
    restProps = _objectWithoutProperties(_ref, _excluded);
  const {
    openMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_7__.useMainDialog)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(nlsBundles);
  const isManager = groupEntry.getEntryInfo().getACL().admin.includes(userEntry.getResourceURI());
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (isManager) {
      openMainDialog({
        content: t('removeManager'),
        actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_9__.AcknowledgeAction, {
          onDone: closeDialog
        }),
        onBackdropClick: closeDialog
      });
    }
  }, [isManager, closeDialog, openMainDialog, t]);
  const onRemove = async () => {
    await removeUserFromGroup(groupEntry, userEntry);
    await userEntry.setRefreshNeeded(true);
    await userEntry.refresh();
    updateList();
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, !isManager ? /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({}, restProps, {
    onRemove: onRemove,
    closeDialog: closeDialog,
    removeConfirmMessage: t('removeGroupFromUser')
  })) : null);
};
RemoveUserDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType,
  actions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  updateList: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  userGroupIds: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveUserDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/RemoveUserDialog/index.js"
/*!************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/RemoveUserDialog/index.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveUserDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveUserDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveUserDialog */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/RemoveUserDialog/RemoveUserDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/actions.js"
/*!*********************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/actions.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   presenterAction: () => (/* binding */ presenterAction)
/* harmony export */ });
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! admin/nls/esadGroup.nls */ "./modules/admin/nls/esadGroup.nls");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AddUserToGroupDialog */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/AddUserToGroupDialog/index.js");






const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default()), (admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_0___default()), (admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_1___default())];
const listActions = [{
  id: 'add-user',
  Dialog: _AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_5__["default"],
  labelNlsKey: 'addUserToGroupNLS'
}];
const presenterAction = {
  id: 'info',
  Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_3__["default"],
  isVisible: _ref => {
    let {
      entry
    } = _ref;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.canReadMetadata)(entry);
  },
  labelNlsKey: 'infoEntry',
  formTemplateId: 'esc:Group'
};

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _GroupMembershipsDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _GroupMembershipsDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GroupMembershipsDialog */ "./modules/admin/users/UsersView/dialogs/GroupMembershipsDialog/GroupMembershipsDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/UpgradeUserToPremiumDialog/UpgradeUserToPremiumDialog.js"
/*!********************************************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/UpgradeUserToPremiumDialog/UpgradeUserToPremiumDialog.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");










const UpgradeUserToPremiumDialog = _ref => {
  let {
    entry: userEntry,
    onUpgrade
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])(null);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__.useSnackbar)();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    runAsync((0,commons_util_user__WEBPACK_IMPORTED_MODULE_9__.upgradeUserToPremium)(userEntry).then(() => {
      onUpgrade();
      addSnackbar({
        message: translate('upgradeToPremiumNotification')
      });
    }));
  }, [addSnackbar, onUpgrade, runAsync, translate, userEntry]);
  return null;
};
UpgradeUserToPremiumDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  onUpgrade: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UpgradeUserToPremiumDialog);

/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/UpgradeUserToPremiumDialog/index.js"
/*!***********************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/UpgradeUserToPremiumDialog/index.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UpgradeUserToPremiumDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UpgradeUserToPremiumDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UpgradeUserToPremiumDialog */ "./modules/admin/users/UsersView/dialogs/UpgradeUserToPremiumDialog/UpgradeUserToPremiumDialog.js");


/***/ },

/***/ "./modules/admin/users/UsersView/index.js"
/*!************************************************!*\
  !*** ./modules/admin/users/UsersView/index.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UsersView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UsersView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UsersView */ "./modules/admin/users/UsersView/UsersView.js");


/***/ },

/***/ "./modules/admin/users/hooks/useUserStatus.js"
/*!****************************************************!*\
  !*** ./modules/admin/users/hooks/useUserStatus.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");






/**
 * Manages a user's status (enabled/disabled)
 * @param {Entry} userEntry
 * @returns {[boolean, function]}
 */
const useUserStatus = userEntry => {
  const [isUserDisabled, setUserStatus] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,commons_util_user__WEBPACK_IMPORTED_MODULE_4__.getIsUserDisabled)(userEntry));
  const toggleUserStatus = async () => {
    const newUserStatus = !isUserDisabled;
    const userResource = await userEntry.getResource();
    await userResource.setDisabled(newUserStatus);
    setUserStatus(newUserStatus);
  };
  return [isUserDisabled, toggleUserStatus];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useUserStatus);

/***/ },

/***/ "./modules/admin/users/utils/user.js"
/*!*******************************************!*\
  !*** ./modules/admin/users/utils/user.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   replaceNameWithFirstAndLastName: () => (/* binding */ replaceNameWithFirstAndLastName)
/* harmony export */ });
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");



/**
 *
 * @param {Entry} entry
 */
const replaceNameWithFirstAndLastName = entry => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_0__.spreadEntry)(entry);
  const firstname = metadata.findFirstValue(resourceURI, 'foaf:givenName');
  const lastname = metadata.findFirstValue(resourceURI, 'foaf:familyName');
  metadata.findAndRemove(resourceURI, 'foaf:name');
  metadata.addL(resourceURI, 'foaf:name', `${firstname} ${lastname}`);
};

/***/ },

/***/ "./modules/admin/utils/index.js"
/*!**************************************!*\
  !*** ./modules/admin/utils/index.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyUsersGroupParams: () => (/* binding */ applyUsersGroupParams),
/* harmony export */   checkPermission: () => (/* binding */ checkPermission),
/* harmony export */   getSecondaryNavViewsForAdmin: () => (/* binding */ getSecondaryNavViewsForAdmin)
/* harmony export */ });
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");






/**
 *
 * @param {object} query
 * @param {object} queryParams
 * @returns {undefined}
 */
const applyUsersGroupParams = (query, queryParams) => {
  (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_2__.applyQueryParams)(query, queryParams);
  query.uri(commons_store__WEBPACK_IMPORTED_MODULE_0__.entrystore.getEntryURI('_principals', commons_util_userIds__WEBPACK_IMPORTED_MODULE_1__.USERS_ENTRY_ID), 'not');
};

/**
 *
 * @returns {object[]}
 */
const getSecondaryNavViewsForAdmin = () => {
  return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_3__.getSubviewsOfView)('admin');
};

/**
 * Admin module-specific view permission check
 *
 * @param {string} userPermission
 * @param {string} restrictTo
 * @param {boolean} hasPermission - non-module-specific checks result
 * @returns {boolean}
 */
const checkPermission = (userPermission, restrictTo, hasPermission) => {
  if (userPermission === 'admin' && restrictTo === 'advancedAdmin') {
    return config__WEBPACK_IMPORTED_MODULE_4__["default"].get('admin.advancedAdminVisibleForAdminGroup');
  }
  return hasPermission;
};

/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/CatalogOverview.js"
/*!*********************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/CatalogOverview.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/nls/escaOverview.nls */ "./modules/catalog/nls/escaOverview.nls");
/* harmony import */ var catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_forms_presenters_Fields__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/forms/presenters/Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var catalog_utils_react_catalog__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! catalog/utils/react/catalog */ "./modules/catalog/utils/react/catalog.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_components_overview_utils_contextOverview__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/overview/utils/contextOverview */ "./modules/commons/components/overview/utils/contextOverview.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/types/utils/uri */ "./modules/commons/types/utils/uri.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! commons/components/Loader/Loader */ "./modules/commons/components/Loader/Loader.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_36__);
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _datasets_queries__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../datasets/queries */ "./modules/catalog/datasets/queries.js");
/* harmony import */ var _components_Statistics__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./components/Statistics */ "./modules/catalog/catalogs/CatalogOverview/components/Statistics/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./actions */ "./modules/catalog/catalogs/CatalogOverview/actions.js");
/* harmony import */ var _utils_catalog__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../utils/catalog */ "./modules/catalog/catalogs/utils/catalog.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../tags */ "./modules/catalog/catalogs/tags.js");
/* harmony import */ var _SubcatalogList__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./SubcatalogList */ "./modules/catalog/catalogs/CatalogOverview/SubcatalogList/index.js");
/* harmony import */ var _useGetParentCatalogs__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./useGetParentCatalogs */ "./modules/catalog/catalogs/CatalogOverview/useGetParentCatalogs.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

















































const _renderPrimaryContent = (catalogEntry, parentCatalogs, translate) => {
  if (!parentCatalogs.length) return null; // defaults to just the description

  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_forms_presenters_Fields__WEBPACK_IMPORTED_MODULE_21__.Fields, {
    label: translate('overviewParentCatalog'),
    inline: true
  }, parentCatalogs.map((parentEntry, index) => {
    const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_38__.getLabel)(parentEntry);
    const parentCatalogPath = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_39__.getPathFromViewName)(catalog_config_config__WEBPACK_IMPORTED_MODULE_30__.CATALOG_OVERVIEW_NAME, {
      contextId: parentEntry.getContext().getId()
    });
    return /*#__PURE__*/React.createElement(react__WEBPACK_IMPORTED_MODULE_6__.Fragment, {
      key: parentCatalogPath
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      component: react_router_dom__WEBPACK_IMPORTED_MODULE_7__.Link,
      to: parentCatalogPath
    }, label), index < parentCatalogs.length - 1 ? ', ' : '');
  })), /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.OverviewDescription, {
    label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_38__.getDescription)(catalogEntry)
  }));
};
const nlsBundles = [(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16___default()), (catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_15___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default()), (catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_14___default()), (catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_18___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_36___default())];

/**
 * Returns catalog specific counting queries when applicable
 *
 * @param {Context} _context
 * @param {EntityType} entityType
 * @returns {number}
 */
const getCatalogCountQuery = (_context, entityType) => {
  if (entityType.get('name') !== 'dataset') return null;
  return _datasets_queries__WEBPACK_IMPORTED_MODULE_42__.getCountQuery;
};

/**
 * Checks whether any of the entity types or the entity types they refine
 * correspond to the statistics shown in the graph.
 *
 * @param {EntityType} entityTypes
 * @returns {boolean}
 */
const getHasStatsTypes = function getHasStatsTypes() {
  let entityTypes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  if (!entityTypes.length) return false;
  const statsTypeNames = ['datasetDocument', 'distribution'];
  const hasStatsTypes = entityTypes.some(entityType => statsTypeNames.includes(entityType.get('name')));
  const statsTypesUris = statsTypeNames.map(typeName => (0,commons_types_utils_uri__WEBPACK_IMPORTED_MODULE_29__.nameToURI)(typeName, 'entitytypes'));
  const refinedTypeUris = entityTypes.map(type => type.get('refines'));
  const refinesStatsTypes = statsTypesUris.filter(uri => refinedTypeUris.includes(uri));
  return hasStatsTypes || refinesStatsTypes;
};
const CatalogOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const {
    userInfo,
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__.useUserState)();
  const {
    data: state,
    runAsync,
    error,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_22__["default"])({
    data: {}
  });
  const {
    goBackToListView
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_31__["default"])();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_26__["default"])(error);
  const viewParams = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_8__.useParams)();
  const viewParamsRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(viewParams);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_11__.useESContext)();
  const [isPublic] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_23__["default"])(catalog_utils_react_catalog__WEBPACK_IMPORTED_MODULE_24__.isCatalogPublic, context);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const parentCatalogs = (0,_useGetParentCatalogs__WEBPACK_IMPORTED_MODULE_48__["default"])(state.entry);
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_40__["default"])();
  const confirmUnpublish = async catalogEntry => {
    const apiDistributions = await (0,_utils_catalog__WEBPACK_IMPORTED_MODULE_45__.getApiDistributions)(catalogEntry.getContext());
    if (!apiDistributions.length) {
      return true;
    }
    return getConfirmationDialog({
      content: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_37__.renderHtmlString)(translate('apiExistsToUnpublishCatalog'))
    });
  };
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.useOverviewModel)();
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    const getCatalogEntry = async () => {
      const catalogEntry = await commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystoreUtil.getEntryByType('dcat:Catalog', context);
      return catalogEntry;
    };
    runAsync(getCatalogEntry().then(catalogEntry => {
      return (0,commons_components_overview_utils_contextOverview__WEBPACK_IMPORTED_MODULE_27__["default"])(viewParamsRef.current, catalogEntry, context, translate, userInfo, getCatalogCountQuery);
    }));
  }, [context, runAsync, translate, userInfo, refreshCount]);
  const descriptionItems = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.DESCRIPTION_CREATED, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.DESCRIPTION_UPDATED, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.DESCRIPTION_PROJECT_TYPE), {}, {
    getValues: () => {
      var _state$projectType;
      return state !== null && state !== void 0 && state.projectType ? [(0,commons_locale__WEBPACK_IMPORTED_MODULE_33__.localize)(state === null || state === void 0 || (_state$projectType = state.projectType) === null || _state$projectType === void 0 ? void 0 : _state$projectType.getLabel())] : [translate('defaultProjectType')];
    }
  })];
  const handleRemove = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => {
    goBackToListView(catalog_config_config__WEBPACK_IMPORTED_MODULE_30__.CATALOGS_LISTVIEW);
  }, [goBackToListView]);
  const showStatistics = config__WEBPACK_IMPORTED_MODULE_25__["default"].get('catalog.includeStatistics') && isPublic && getHasStatsTypes(state === null || state === void 0 ? void 0 : state.entityTypes);
  const catalogEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_41__["default"].getByName('catalog');
  const relations = (catalogEntityType === null || catalogEntityType === void 0 ? void 0 : catalogEntityType.getRelations()) || [];
  const subcatalogRelation = relations.find(_ref2 => {
    let {
      type,
      property
    } = _ref2;
    return type === 'aggregation' && property === 'dcterms:hasPart';
  });
  const showSubcatalogs = Boolean(subcatalogRelation && (catalogEntityType === null || catalogEntityType === void 0 ? void 0 : catalogEntityType.get('allContexts')));
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_35__["default"], null);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__["default"], _extends({
    backLabel: translate('backTitle'),
    entry: state.entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    rowActions: state.rowActions,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_44__.sidebarActions,
    sidebarProps: {
      userEntry,
      userInfo,
      context,
      onRemove: handleRemove,
      confirmUnpublish
    },
    tags: [_tags__WEBPACK_IMPORTED_MODULE_46__.PARENT_CATALOG_TAG],
    renderPrimaryContent: () => _renderPrimaryContent(state.entry, parentCatalogs, translate)
  }, overviewProps), showSubcatalogs && /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.OverviewSection, null, /*#__PURE__*/React.createElement(_SubcatalogList__WEBPACK_IMPORTED_MODULE_47__["default"], {
    entry: state.entry,
    catalogEntryParents: parentCatalogs,
    relation: subcatalogRelation
  })), showStatistics ? /*#__PURE__*/React.createElement(_components_Statistics__WEBPACK_IMPORTED_MODULE_43__["default"], null) : null);
};
CatalogOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.withOverviewModelProvider)(CatalogOverview));

/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/SubcatalogList/SubcatalogList.js"
/*!***********************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/SubcatalogList/SubcatalogList.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/esnext.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js");
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LinkOff.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_components_EntityOverview_AggregationList__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/EntityOverview/AggregationList */ "./modules/commons/components/EntityOverview/AggregationList/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_util_solr_context__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/solr/context */ "./modules/commons/util/solr/context.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_EntityOverview_dialogs_SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/EntityOverview/dialogs/SearchOrCreateDialog */ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/index.js");
/* harmony import */ var commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/components/EntityOverview/dialogs/DisconnectDialog */ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/index.js");
/* harmony import */ var commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/components/OverviewLinkIcon */ "./modules/commons/components/OverviewLinkIcon.js");
/* harmony import */ var _utils_catalog__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../utils/catalog */ "./modules/catalog/catalogs/utils/catalog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }































const ROWS_PER_PAGE = 5;
const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18___default()), (catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19___default())];

/**
 * Loads the catalog context entries for editing permissions
 *
 * @param {Entry[]} entries
 * @returns {Entry[]}
 */
const loadContextEntriesCallback = async entries => {
  await Promise.allSettled(entries.map(entry => entry.getContext().getEntry()));
  return entries;
};
const SubcatalogList = _ref => {
  let {
    entry: catalogEntry,
    catalogEntryParents = [],
    relation
  } = _ref;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__.useUserState)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_13__.useESContext)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)(nlsBundles);
  const {
    data: getCatalogsQuery,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_26__["default"])();
  const catalogEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_22__["default"].getByName('catalog');
  const {
    subItems: subcatalogs,
    size,
    status,
    label: listHeader,
    refreshSubEntities,
    afterCreateSubEntry
  } = (0,commons_components_EntityOverview_AggregationList__WEBPACK_IMPORTED_MODULE_15__.useAggregationList)({
    parentEntry: catalogEntry,
    relation,
    entityType: catalogEntityType,
    context: null,
    getCreateProps: () => {},
    translate,
    callback: loadContextEntriesCallback
  });
  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => {
    const excludeContextIds = [context.getId(), ...catalogEntryParents.map(catalog => catalog.getContext().getId())];
    const buildQuery = async () => {
      let allowedContextIds = null;
      if (!userInfo.hasAdminRights) {
        const contextEntries = await (0,commons_util_solr_context__WEBPACK_IMPORTED_MODULE_24__.applyContextParamsForUser)(commons_store__WEBPACK_IMPORTED_MODULE_21__.entrystore.newSolrQuery(), {
          userEntry,
          contextType: commons_util_context__WEBPACK_IMPORTED_MODULE_23__.CONTEXT_TYPE_CATALOG
        }).list().getAllEntries();
        allowedContextIds = contextEntries.map(entry => entry.getId()).filter(id => !excludeContextIds.includes(id));
      }
      return () => {
        const query = commons_store__WEBPACK_IMPORTED_MODULE_21__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.RDF_TYPE_CATALOG);
        if (allowedContextIds) {
          // Empty array would skip the context filter, so use a non-existent ID to ensure zero results
          query.context(allowedContextIds.length > 0 ? allowedContextIds : ['__none__']);
        } else {
          query.context(excludeContextIds, true);
        }
        return query;
      };
    };
    runAsync(buildQuery());
  }, [userEntry, userInfo, runAsync, context, catalogEntryParents]);
  const getListItemProps = _ref2 => {
    let {
      entry: subcatalog
    } = _ref2;
    const path = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_27__.getPathFromViewName)('catalog__overview', {
      contextId: subcatalog.getContext().getId(),
      entryId: subcatalog.getId(),
      entityName: catalogEntityType.get('name')
    });
    return {
      to: (0,commons_util_context__WEBPACK_IMPORTED_MODULE_23__.canEditContextMetadata)(subcatalog, userEntry, true) ? path : null
    };
  };
  const searchAction = {
    id: 'search-dialog',
    highlightId: 'listAddSubcatalog',
    Dialog: commons_components_EntityOverview_dialogs_SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_28__["default"],
    icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null),
    tooltip: translate('addOrCreateRelationTitle'),
    disabled: !getCatalogsQuery
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.OverviewListHeader, {
    heading: (0,commons_locale__WEBPACK_IMPORTED_MODULE_16__.localize)(listHeader),
    action: searchAction,
    actionParams: {
      nlsBundles,
      actionParams: {
        entityType: catalogEntityType,
        afterCreate: afterCreateSubEntry,
        relation,
        refreshSubEntities,
        entry: catalogEntry,
        nlsBundles,
        disableCreateActions: true,
        getQuery: getCatalogsQuery,
        filters: []
      }
    }
  }), /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.EntryListView, {
    items: subcatalogs,
    size: size,
    status: status,
    nlsBundles: nlsBundles,
    includeDefaultListActions: false,
    includeHeader: false,
    includePagination: size > ROWS_PER_PAGE,
    renderViewPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.OverviewListPlaceholder, {
      label: translate('relationsListPlaceholder')
    }),
    getListItemProps: getListItemProps,
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.ACTIONS_GROUP_COLUMN), {}, {
      xs: 3,
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__.LIST_ACTION_INFO), {}, {
        getProps: _ref3 => {
          let {
            entry
          } = _ref3;
          return {
            entry,
            entityType: catalogEntityType
          };
        }
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__.LIST_ACTION_EDIT), {}, {
        getProps: _ref4 => {
          let {
            entry
          } = _ref4;
          return {
            entry,
            parentEntry: catalogEntry,
            title: translate('editEntry'),
            isVisible: _ref5 => {
              let {
                entry
              } = _ref5;
              return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_23__.canEditContextMetadata)(entry, userEntry, true);
            },
            filterPredicates: _utils_catalog__WEBPACK_IMPORTED_MODULE_31__.CATALOG_EDIT_FILTER_PREDICATES
          };
        }
      }), {
        id: 'disconnect',
        icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
          "data-highlight-id": "listActionRemoveLink"
        }),
        labelNlsKey: 'disconnectActionTooltip',
        Dialog: commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_29__["default"],
        getProps: _ref6 => {
          let {
            entry
          } = _ref6;
          return {
            id: 'disconnect',
            entry,
            parentEntry: catalogEntry,
            relation,
            refresh: refreshSubEntities,
            disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.canWriteMetadata)(catalogEntry)
          };
        }
      }]
    }), {
      id: 'overviewLinkIcon',
      Component: commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_30__["default"],
      getProps: getListItemProps
    }]
  }));
};
SubcatalogList.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.entryPropType,
  catalogEntryParents: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.entryPropType),
  relation: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    type: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object)
  }).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProvider)(SubcatalogList, () => ({
  limit: ROWS_PER_PAGE
})));

/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/SubcatalogList/index.js"
/*!**************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/SubcatalogList/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SubcatalogList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SubcatalogList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SubcatalogList */ "./modules/catalog/catalogs/CatalogOverview/SubcatalogList/SubcatalogList.js");


/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/actions.js"
/*!*************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/actions.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_types_dialogs_ProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/types/dialogs/ProjectTypeChangeDialog */ "./modules/commons/types/dialogs/ProjectTypeChangeDialog/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_overview_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/overview/hooks/useOverviewModel */ "./modules/commons/components/overview/hooks/useOverviewModel.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_overview_dialogs_OverviewEditContextDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/overview/dialogs/OverviewEditContextDialog */ "./modules/commons/components/overview/dialogs/OverviewEditContextDialog/index.js");
/* harmony import */ var commons_components_toggles_PublishContextToggle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/toggles/PublishContextToggle */ "./modules/commons/components/toggles/PublishContextToggle/index.js");
/* harmony import */ var catalog_catalogs_dialogs_RemoveCatalogDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/catalogs/dialogs/RemoveCatalogDialog */ "./modules/catalog/catalogs/dialogs/RemoveCatalogDialog/index.js");
/* harmony import */ var _dialogs_EmbedDialog_index__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../dialogs/EmbedDialog/index */ "./modules/catalog/catalogs/dialogs/EmbedDialog/index.js");
/* harmony import */ var _utils_catalog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/catalog */ "./modules/catalog/catalogs/utils/catalog.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }













const canEditProjectType = (entry, userEntry, userInfo) => {
  if (!userInfo) return false;
  return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.canEditContextMetadata)(entry, userEntry, true) && commons_types_Lookup__WEBPACK_IMPORTED_MODULE_5__["default"].getProjectTypeOptions(userInfo).length;
};
const isExemptFromRestrictions = (userEntry, contextEntry) => (0,commons_util_user__WEBPACK_IMPORTED_MODULE_4__.hasAdminRights)(userEntry) || config__WEBPACK_IMPORTED_MODULE_8__["default"].get('catalog.includeEmbeddOption') || (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.isContextPremium)(contextEntry);
const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  Dialog: commons_components_overview_dialogs_OverviewEditContextDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
  isVisible: _ref => {
    let {
      entry,
      userEntry
    } = _ref;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.canEditContextMetadata)(entry, userEntry, true);
  },
  getProps: () => ({
    action: {
      filterPredicates: _utils_catalog__WEBPACK_IMPORTED_MODULE_13__.CATALOG_EDIT_FILTER_PREDICATES
    }
  })
}), _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS), {}, {
  isVisible: _ref2 => {
    let {
      entry,
      userEntry
    } = _ref2;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.canEditContextMetadata)(entry, userEntry, true);
  },
  getProps: () => ({
    action: {
      excludeProperties: ['dcat:dataset']
    }
  })
}), {
  id: 'change-projecttype',
  Dialog: (0,commons_components_overview_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_6__.withOverviewRefresh)(commons_types_dialogs_ProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_3__["default"], 'onChange'),
  labelNlsKey: 'changeProjectTypeLabel',
  isVisible: _ref3 => {
    let {
      entry,
      userEntry,
      userInfo
    } = _ref3;
    return canEditProjectType(entry, userEntry, userInfo);
  }
}, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__.LIST_ACTION_SHARING_SETTINGS), {}, {
  labelNlsKey: 'catalogMember',
  getProps: () => ({
    action: {
      sharingSettingsRestrictionPath: () => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('catalog.disallowCatalogCollaborationDialog')
    }
  }),
  highlightId: 'overviewActionSharing'
}), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__.LIST_ACTION_DOWNLOAD), {}, {
  labelNlsKey: 'catalogExport',
  getProps: () => ({
    action: {
      profile: 'dcat'
    }
  }),
  highlightId: 'overviewActionDownload'
}), {
  id: 'embed',
  Dialog: _dialogs_EmbedDialog_index__WEBPACK_IMPORTED_MODULE_12__["default"],
  labelNlsKey: 'catalogEmbed',
  isVisible: _ref4 => {
    let {
      entry,
      userEntry
    } = _ref4;
    const contextEntry = entry.getContext().getEntry(true);
    return isExemptFromRestrictions(userEntry, contextEntry);
  },
  highlightId: 'overviewActionEmbed'
}, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  isVisible: _ref5 => {
    let {
      entry,
      userEntry
    } = _ref5;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.canEditContextMetadata)(entry, userEntry, true);
  },
  Dialog: catalog_catalogs_dialogs_RemoveCatalogDialog__WEBPACK_IMPORTED_MODULE_11__["default"]
}), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_DIVIDER, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_PUBLISH), {}, {
  Component: commons_components_toggles_PublishContextToggle__WEBPACK_IMPORTED_MODULE_10__["default"],
  getProps: _ref6 => {
    let {
      entry,
      translate
    } = _ref6;
    return {
      entry,
      translate
    };
  },
  nlsKeys: {
    publishedTooltip: 'publicCatalogTitle',
    privateTooltip: 'privateCatalogTitle',
    noAccess: 'catalogSharingNoAccess'
  }
})];


/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.js"
/*!**********************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _ListItem_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListItem.scss */ "./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


const ListItem = props => {
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    disableGutters: true,
    classes: {
      root: 'escaOverviewListItem'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    classes: {
      root: 'escaOverviewListItemText__root',
      primary: 'escaOverviewListItemText__primary',
      secondary: 'escaOverviewListItemText__secondary'
    }
  }, props)));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItem);

/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/components/ListItem/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/components/ListItem/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListItem__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItem */ "./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.js");


/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.js"
/*!**************************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/nls/escaOverview.nls */ "./modules/catalog/nls/escaOverview.nls");
/* harmony import */ var catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_chart_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/chart/ChartPlaceholder */ "./modules/commons/components/chart/ChartPlaceholder/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/chart/Time */ "./modules/commons/components/chart/Time/index.js");
/* harmony import */ var catalog_catalogs_CatalogOverview_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/catalogs/CatalogOverview/util */ "./modules/catalog/catalogs/CatalogOverview/util.js");
/* harmony import */ var _ListItem__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ListItem */ "./modules/catalog/catalogs/CatalogOverview/components/ListItem/index.js");
/* harmony import */ var _Statistics_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Statistics.scss */ "./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const Statistics = () => {
  var _chartData$bar$datase;
  const [loading, setLoading] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(true);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_3__.useESContext)();
  const {
    data: chartData,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__["default"])(null);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)([(catalog_nls_escaOverview_nls__WEBPACK_IMPORTED_MODULE_6___default()), (catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_5___default())]);
  const stopLoading = () => {
    setLoading(false);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    runAsync((0,catalog_catalogs_CatalogOverview_util__WEBPACK_IMPORTED_MODULE_11__.getStatisticsData)(context, t, stopLoading));
  }, [context, runAsync, t]);
  return /*#__PURE__*/React.createElement("div", {
    className: "escaOverviewStats",
    "data-highlight-id": "overviewStatistics"
  }, /*#__PURE__*/React.createElement("h2", {
    className: "escaOverviewStats__header"
  }, t('statsCatalogOverviewTitle')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    classes: {
      root: 'escaOverviewStats__list'
    },
    disablePadding: true
  }, /*#__PURE__*/React.createElement(_ListItem__WEBPACK_IMPORTED_MODULE_12__["default"], {
    primary: t('statsCatalogOverviewChartFileLabel'),
    secondary: chartData !== null && chartData !== void 0 && chartData.fileTotalCount ? chartData.fileTotalCount : '-'
  }), /*#__PURE__*/React.createElement(_ListItem__WEBPACK_IMPORTED_MODULE_12__["default"], {
    primary: t('statsCatalogOverviewChartAPILabel'),
    secondary: chartData !== null && chartData !== void 0 && chartData.apiTotalCount ? chartData.apiTotalCount : '-'
  })), chartData !== null && chartData !== void 0 && (_chartData$bar$datase = chartData.bar.datasets) !== null && _chartData$bar$datase !== void 0 && _chartData$bar$datase.length ? /*#__PURE__*/React.createElement(commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_10__["default"], {
    data: chartData.bar,
    dimensions: {
      height: '306px',
      width: '100%'
    }
  }) : /*#__PURE__*/React.createElement(commons_components_chart_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_7__["default"], {
    label: t('statsChartPlaceholder'),
    loading: loading
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Statistics);

/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/components/Statistics/index.js"
/*!*********************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/components/Statistics/index.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Statistics__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Statistics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Statistics */ "./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.js");


/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/index.js"
/*!***********************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CatalogOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CatalogOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CatalogOverview */ "./modules/catalog/catalogs/CatalogOverview/CatalogOverview.js");


/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/useGetParentCatalogs.js"
/*!**************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/useGetParentCatalogs.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");




const useGetParentCatalogs = catalogEntry => {
  const {
    data: parentCatalogs,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__["default"])({
    data: []
  });
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    if (status !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__.IDLE) return;
    if (!catalogEntry) return;
    runAsync(commons_store__WEBPACK_IMPORTED_MODULE_1__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.RDF_TYPE_CATALOG).uriProperty('dcterms:hasPart', catalogEntry.getResourceURI()).list().getEntries());
  }, [catalogEntry, runAsync, status]);
  return parentCatalogs;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetParentCatalogs);

/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/util.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/util.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getStatisticsData: () => (/* binding */ getStatisticsData)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_statistics_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/statistics/api */ "./modules/commons/statistics/api.js");
/* harmony import */ var catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/statistics/utils/distribution */ "./modules/catalog/statistics/utils/distribution.js");









/**
 * Get top statistics for a specific time. Used here only with specific dates
 *
 * @param {Context} context
 * @param {object} timeRangeDay
 * @returns {Promise<*>}
 */
const getCatalogStatistics = (context, timeRangeDay) => commons_statistics_api__WEBPACK_IMPORTED_MODULE_6__["default"].getTopStatistics(context.getId(), catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_7__.RESOURCE_TYPE_ALL, timeRangeDay);

/**
 * Sum downloads of api/file or both
 *
 * @param {object[]} results
 * @param {null|String} type
 * @returns {number}
 */
const sumTotalCountFromResult = function sumTotalCountFromResult(results) {
  let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  return results.reduce((totalCount, res) => {
    if (type === null || type === res.type) {
      return totalCount + res.count;
    }
    return totalCount;
  }, 0);
};

/**
 * Get statistics for catalog in the last 7 days
 *
 * @param {Context} context
 * @param {Function} translate
 * @param {Function} callback
 * @returns {Promise<{bar: {datasets: Array}, doughnut: {datasets: {data: number[], label: *}[], labels: *[]}}>}
 */
const getStatisticsData = async (context, translate, callback) => {
  // prepare data structures and api calls
  const barData = {
    datasets: []
  };
  const today = new Date();
  const timeRanges = [];
  for (let i = 0; i < 7; i++) {
    const date = new Date();
    date.setDate(today.getDate() - i);
    timeRanges.push({
      year: date.getFullYear(),
      month: date.getMonth(),
      // month is zero indexed
      date: date.getDate()
    });
  }

  // make api call and calculate results
  const dataPointsFiles = [];
  const dataPointsAPI = [];
  let fileTotalCount = 0;
  let apiTotalCount = 0;
  const results = await Promise.all(timeRanges.map(timeRange => getCatalogStatistics(context, timeRange)));
  results.forEach((result, idx) => {
    const fileCount = sumTotalCountFromResult(result, catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_7__.RESOURCE_TYPE_FILE);
    const apiCount = sumTotalCountFromResult(result, catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_7__.RESOURCE_TYPE_API);
    const timeRange = timeRanges[idx];
    dataPointsFiles.push({
      x: new Date(timeRange.year, timeRange.month, timeRange.date),
      y: fileCount
    });
    dataPointsAPI.push({
      x: new Date(timeRange.year, timeRange.month, timeRange.date),
      y: apiCount
    });
    fileTotalCount += fileCount;
    apiTotalCount += apiCount;
  });

  // populate the data structures for the charts
  if (fileTotalCount || apiTotalCount) {
    // at least some data, not all 0
    barData.datasets.push({
      data: dataPointsFiles,
      label: translate('statsCatalogOverviewChartFileLabel')
    });
    barData.datasets.push({
      data: dataPointsAPI,
      label: translate('statsCatalogOverviewChartAPILabel')
    });
  }
  callback();
  return {
    bar: barData,
    fileTotalCount,
    apiTotalCount
  };
};

/***/ },

/***/ "./modules/catalog/catalogs/CatalogsView/CatalogsView.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogsView/CatalogsView.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_solr_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/solr/context */ "./modules/commons/util/solr/context.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_utils_catalog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/utils/catalog */ "./modules/catalog/utils/catalog.js");
/* harmony import */ var commons_components_EntryListView_utils_queryCallbacks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/EntryListView/utils/queryCallbacks */ "./modules/commons/components/EntryListView/utils/queryCallbacks.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListEditContextDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListEditContextDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditContextDialog/index.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var _filterDefinitions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../filterDefinitions */ "./modules/catalog/catalogs/filterDefinitions.js");
/* harmony import */ var _utils_catalog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils/catalog */ "./modules/catalog/catalogs/utils/catalog.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./actions */ "./modules/catalog/catalogs/CatalogsView/actions.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../tags */ "./modules/catalog/catalogs/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["applyFilters", "hasFilters"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



















const CatalogsView = _ref => {
  let {
    listProps
  } = _ref;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_3__.useUserState)();
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_16__["default"])([_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__.PARENT_CATALOG_FILTER]),
    {
      applyFilters,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const queryParams = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => {
    const queryTypeParams = {
      rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_CATALOG,
      contextType: commons_util_context__WEBPACK_IMPORTED_MODULE_5__.CONTEXT_TYPE_CATALOG
    };
    return _objectSpread(_objectSpread({}, (0,commons_util_solr_context__WEBPACK_IMPORTED_MODULE_4__.getContextSearchQuery)(queryTypeParams, {
      userEntry,
      userInfo
    })), {}, {
      callback: commons_components_EntryListView_utils_queryCallbacks__WEBPACK_IMPORTED_MODULE_14__.getContextEntriesCallback,
      applyFilters
    });
  }, [applyFilters, userEntry, userInfo]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.useSolrQuery)(queryParams);
  const catalogStartView = config__WEBPACK_IMPORTED_MODULE_11__["default"].get('catalog.startView');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_19__.nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.EntryListView, _extends({}, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_19__.nlsBundles,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_19__.listActions,
    listActionsProps: {
      userEntry,
      userInfo,
      numberOfCatalogs: queryResults.size
    },
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_10__.getPathFromViewName)(catalogStartView, {
          contextId: entry.getContext().getId()
        })
      };
    },
    viewPlaceholderProps: {
      label: !(0,catalog_utils_catalog__WEBPACK_IMPORTED_MODULE_13__.isUserAllowedCatalogCreation)(userEntry, userInfo) ? translate('emptyListWithNoAccessWarning') : null
    },
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.STATUS_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          entry,
          publicTooltip: translate('publicCatalogTitle'),
          privateTooltip: translate('privateCatalogTitle')
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.TITLE_COLUMN), {}, {
      xs: 7,
      tags: [_tags__WEBPACK_IMPORTED_MODULE_20__.PARENT_CATALOG_TAG]
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__.LIST_ACTION_INFO, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__.LIST_ACTION_EDIT), {}, {
        isVisible: _ref4 => {
          let {
            entry
          } = _ref4;
          return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_5__.canEditContextMetadata)(entry, userEntry);
        },
        Dialog: commons_components_EntryListView_dialogs_ListEditContextDialog__WEBPACK_IMPORTED_MODULE_15__["default"],
        filterPredicates: _utils_catalog__WEBPACK_IMPORTED_MODULE_18__.CATALOG_EDIT_FILTER_PREDICATES
      })]
    })]
  }, queryResults));
};
CatalogsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProviderAndLocation)(CatalogsView));

/***/ },

/***/ "./modules/catalog/catalogs/CatalogsView/actions.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogsView/actions.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var catalog_utils_catalog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/utils/catalog */ "./modules/catalog/utils/catalog.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _dialogs_CreateDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dialogs/CreateDialog */ "./modules/catalog/catalogs/dialogs/CreateDialog.js");




const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_2___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default())];
const listActions = [{
  id: 'create',
  Dialog: _dialogs_CreateDialog__WEBPACK_IMPORTED_MODULE_3__["default"],
  isVisible: _ref => {
    let {
      userEntry,
      userInfo
    } = _ref;
    return (0,catalog_utils_catalog__WEBPACK_IMPORTED_MODULE_0__.isUserAllowedCatalogCreation)(userEntry, userInfo);
  },
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'actionTooltip',
  highlightId: 'listActionCreate'
}];

/***/ },

/***/ "./modules/catalog/catalogs/CatalogsView/index.js"
/*!********************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogsView/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CatalogsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CatalogsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CatalogsView */ "./modules/catalog/catalogs/CatalogsView/CatalogsView.js");


/***/ },

/***/ "./modules/catalog/catalogs/dialogs/CreateDialog.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/catalogs/dialogs/CreateDialog.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/rdforms/RdformsDialogFormWrapper */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsValidation */ "./modules/commons/components/rdforms/hooks/useRDFormsValidation.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var catalog_catalogs_utils_catalog__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! catalog/catalogs/utils/catalog */ "./modules/catalog/catalogs/utils/catalog.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/types/ProjectTypeChooser */ "./modules/commons/types/ProjectTypeChooser/index.js");
/* harmony import */ var commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/hooks/useRestrictionDialog */ "./modules/commons/hooks/useRestrictionDialog.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/hooks/useRdformsContext */ "./modules/commons/hooks/useRdformsContext.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _useCatalogRestriction__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../useCatalogRestriction */ "./modules/catalog/catalogs/useCatalogRestriction.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["numberOfCatalogs", "closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

































const PUBLISHER_PROPERTY = 'http://purl.org/dc/terms/publisher';
const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_19___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5___default())];
const createPrototypes = async () => {
  const contextEntry = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newContext();
  const context = contextEntry.getPrototypeContext();
  const catalogEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_31__.createEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CATALOG);
  catalogEntry.add('rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CATALOG);
  return {
    contextEntry,
    context,
    catalogEntry
  };
};
const isInputValid = inputValue => !!inputValue.trim().length;
const CreateDialog = _ref => {
  let {
      numberOfCatalogs,
      closeDialog
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_6__.useConfirmCloseAction)(closeDialog);
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_21__.useUserState)();
  const [selectedProjectType, setSelectedProjectType] = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)('');
  const {
    runAsync: runCreateAsync,
    data: {
      contextEntry,
      context,
      catalogEntry
    }
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_27__["default"])({
    data: {}
  });
  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => {
    runCreateAsync(createPrototypes());
  }, [selectedProjectType, runCreateAsync]);
  const [publisher, setPublisher] = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)({
    value: '',
    pristine: true
  });
  const {
    runAsync,
    status,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_27__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)(nlsBundles);
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const updateParentList = () => dispatch({
    type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.CREATE
  });
  const projectTypes = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(() => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_25__["default"].getProjectTypeOptions(userInfo), [userInfo]);
  const projectType = projectTypes.find(type => type.getId() === selectedProjectType);
  const defaultEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_25__["default"].getEntityTypeByRdfType(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_26__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CATALOG), 'catalog');
  const matchingEntityTypeTemplateId = (projectType ? commons_types_Lookup__WEBPACK_IMPORTED_MODULE_25__["default"].getPrimaryForRdfType(projectType, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_26__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CATALOG)) || defaultEntityType : defaultEntityType).template().getId();
  const createWithPublisher = !config__WEBPACK_IMPORTED_MODULE_16__["default"].get('catalog.createWithoutPublisher');
  const publisherEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_25__["default"].getByName('publisher');
  const allContexts = publisherEntityType.get('allContexts');
  const createWithTemplatePublisher = Boolean(createWithPublisher && allContexts);
  const createWithCustomPublisher = createWithPublisher && !createWithTemplatePublisher;
  const [filterPredicates] = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)({
    [PUBLISHER_PROPERTY]: !createWithTemplatePublisher
  });
  const {
    editor,
    EditorComponent,
    graph,
    setButtonDisabled,
    buttonDisabled
  } = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_6__.useCreateEntryState)({
    entry: catalogEntry,
    formTemplateId: matchingEntityTypeTemplateId,
    filterPredicates
  });
  const {
    formErrorMessage,
    setFormErrorMessage,
    checkFormErrors
  } = (0,commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_14__.useRDFormsValidation)({
    editor
  });
  const {
    isRestricted,
    contentPath
  } = (0,_useCatalogRestriction__WEBPACK_IMPORTED_MODULE_32__["default"])(numberOfCatalogs);
  (0,commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_23__["default"])({
    open: isRestricted,
    contentPath,
    callback: closeDialog
  });
  const close = () => confirmClose(!buttonDisabled || !publisher.pristine);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_24__.useSnackbar)();
  const showSnackbar = () => {
    addSnackbar({
      message: translate('createCatalogSuccess')
    });
  };
  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(() => {
    if (graph) {
      graph.onChange = () => {
        setButtonDisabled(false);
        setFormErrorMessage(null);
      };
    }
  }, [graph, setButtonDisabled, setFormErrorMessage, checkFormErrors]);
  const handleCreate = () => {
    const excludeCallback = createWithCustomPublisher || !createWithPublisher ? formError => (formError === null || formError === void 0 ? void 0 : formError.item.getProperty()) !== _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_26__.namespaces.expand(PUBLISHER_PROPERTY) : null;
    if (checkFormErrors(excludeCallback).length > 0) return;
    runAsync((0,catalog_catalogs_utils_catalog__WEBPACK_IMPORTED_MODULE_20__.createCatalogEntry)({
      contextEntry,
      catalogEntry,
      createWithCustomPublisher,
      graph,
      publisher,
      userEntry,
      userInfo,
      projectType: selectedProjectType
    }).then(() => {
      updateParentList();
      closeDialog();
      showSnackbar();
    }));
  };
  const isFormValid = () => {
    if (createWithCustomPublisher) {
      return !buttonDisabled && isInputValid(publisher.value);
    }
    return !buttonDisabled;
  };
  const handleProjectTypeChange = newProjectType => {
    setButtonDisabled(true);
    setPublisher({
      value: '',
      pristine: true
    });
    setSelectedProjectType(newProjectType);
  };
  const isDisabled = !isFormValid() || buttonDisabled;
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__["default"], {
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_27__.PENDING,
    onClick: handleCreate,
    disabled: isDisabled
  }, translate('createButtonLabel'));
  if (isRestricted) return null;
  return catalogEntry ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_30__.ESContextProvider, {
    context: context,
    contextEntry: contextEntry
  }, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__["default"], _extends({
    id: "create-entry",
    title: translate('createCatalogHeader'),
    actions: dialogActions,
    closeDialog: close,
    maxWidth: "md"
  }, props, {
    alert: formErrorMessage ? {
      message: formErrorMessage,
      setMessage: setFormErrorMessage
    } : undefined
  }), /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_12__.RdformsDialogContent, null, /*#__PURE__*/React.createElement(commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_22__["default"], {
    onChangeProjectType: handleProjectTypeChange,
    selectedId: selectedProjectType,
    userInfo: userInfo,
    sx: {
      pb: '12px'
    }
  }), editor && /*#__PURE__*/React.createElement(EditorComponent, null), createWithCustomPublisher && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_18__["default"], {
    id: "create-catalog-publisher",
    label: translate('createAgentName'),
    value: publisher.value,
    onChange: event => {
      setPublisher({
        value: event.target.value,
        pristine: false
      });
    },
    placeholder: translate('createAgentNamePlaceholder'),
    error: !publisher.pristine && !isInputValid(publisher.value),
    helperText: !publisher.pristine && !isInputValid(publisher.value) ? translate('publisherRequired') : '',
    required: createWithPublisher
  })))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_28__.ErrorCatcher, {
    error: error
  })) : null;
};
CreateDialog.propTypes = {
  numberOfCatalogs: (prop_types__WEBPACK_IMPORTED_MODULE_17___default().number),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_17___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_29__.withRdformsContextProvider)(CreateDialog));

/***/ },

/***/ "./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.js"
/*!*********************************************************************!*\
  !*** ./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material_Alert__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/Alert */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/FormControl */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/FormControlLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material_FormGroup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/FormGroup */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material/InputLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material_Radio__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material/Radio */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/Radio.js");
/* harmony import */ var _mui_material_RadioGroup__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material/RadioGroup */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroup.js");
/* harmony import */ var _mui_material_Select__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material/Select */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material/Checkbox */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material_ContentCopy__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material/ContentCopy */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentCopy.js");
/* harmony import */ var _mui_icons_material_HelpOutline__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/icons-material/HelpOutline */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HelpOutline.js");
/* harmony import */ var _mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @mui/icons-material/OpenInNew */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var catalog_nls_escaEmbed_nls__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! catalog/nls/escaEmbed.nls */ "./modules/catalog/nls/escaEmbed.nls");
/* harmony import */ var catalog_nls_escaEmbed_nls__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaEmbed_nls__WEBPACK_IMPORTED_MODULE_23__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_30__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./buildEmbedSnippet */ "./modules/catalog/catalogs/dialogs/EmbedDialog/buildEmbedSnippet.js");
/* harmony import */ var _EmbedDialog_scss__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./EmbedDialog.scss */ "./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


































const LAYOUT_OPTIONS = [{
  value: 'datasetListLayout',
  nlsKey: 'layoutList'
}, {
  value: 'datasetSimpleSearchLayout',
  nlsKey: 'layoutSearchable'
}, {
  value: 'datasetMultiSearchLayout',
  nlsKey: 'layoutTypeahead'
}, {
  value: 'datasetFacetSearchLayout',
  nlsKey: 'layoutFaceted'
}, {
  value: 'datasetCompactFacetSearchLayout',
  nlsKey: 'layoutCompactFaceted'
}];
const LANGUAGE_OPTIONS = [{
  value: 'en',
  nlsKey: 'languageEn'
}, {
  value: 'sv',
  nlsKey: 'languageSv'
}, {
  value: 'de',
  nlsKey: 'languageDe'
}, {
  value: 'it',
  nlsKey: 'languageIt'
}];
const HelpTooltip = _ref => {
  let {
    title
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_25__["default"], {
    title: title
  }, /*#__PURE__*/React.createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_11__["default"], {
    size: "small",
    "aria-label": title,
    className: "escaEmbedDialog__helpIcon"
  }, /*#__PURE__*/React.createElement(_mui_icons_material_HelpOutline__WEBPACK_IMPORTED_MODULE_21__["default"], null)));
};
HelpTooltip.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const CheckboxOption = _ref2 => {
  let {
    checked,
    onChange: _onChange,
    label,
    help
  } = _ref2;
  return /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__checkboxOption"
  }, /*#__PURE__*/React.createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "escaEmbedDialog__checkboxOptionLabel",
    control: /*#__PURE__*/React.createElement(_mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_17__["default"], {
      size: "small",
      className: "escaEmbedDialog__checkbox",
      checked: checked,
      onChange: event => _onChange(event.target.checked)
    }),
    label: label,
    slotProps: {
      typography: {
        variant: 'body2'
      }
    }
  }), /*#__PURE__*/React.createElement(HelpTooltip, {
    title: help
  }));
};
CheckboxOption.propTypes = {
  checked: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  help: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const SnippetBlock = _ref3 => {
  let {
    heading,
    snippet,
    copyLabel,
    onCopy,
    disabled
  } = _ref3;
  const copyButton = /*#__PURE__*/React.createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_11__["default"], {
    size: "small",
    color: "primary",
    "aria-label": copyLabel,
    onClick: onCopy,
    disabled: disabled
  }, /*#__PURE__*/React.createElement(_mui_icons_material_ContentCopy__WEBPACK_IMPORTED_MODULE_20__["default"], {
    fontSize: "small"
  }));
  return /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__snippetBlock"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__snippetHeader"
  }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_19__["default"], {
    variant: "h4",
    component: "h3",
    className: "escaEmbedDialog__sectionHeading"
  }, heading), disabled ? copyButton : /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_25__["default"], {
    title: copyLabel
  }, copyButton)), /*#__PURE__*/React.createElement("pre", {
    className: "escaEmbedDialog__snippetCode"
  }, /*#__PURE__*/React.createElement("code", null, snippet)));
};
SnippetBlock.propTypes = {
  heading: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  snippet: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  copyLabel: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  onCopy: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool)
};
const EmbedDialog = _ref4 => {
  let {
    entry,
    closeDialog
  } = _ref4;
  const [currentLanguage] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_27__.useLanguage)();
  const initialLanguage = LANGUAGE_OPTIONS.some(_ref5 => {
    let {
      value
    } = _ref5;
    return value === currentLanguage;
  }) ? currentLanguage : 'en';
  const [snippetConfig, setSnippetConfig] = (0,react__WEBPACK_IMPORTED_MODULE_30__.useState)({
    layout: 'datasetListLayout',
    language: initialLanguage,
    visualizations: 'none',
    sorting: false,
    services: false,
    extras: false,
    dataPreview: false,
    seo: true,
    detailsPageUrl: '/dataset/'
  });
  const updateSnippetConfig = patch => setSnippetConfig(prev => _objectSpread(_objectSpread({}, prev), patch));
  const {
    layout,
    language,
    visualizations,
    sorting,
    services,
    extras,
    dataPreview,
    seo,
    detailsPageUrl
  } = snippetConfig;
  const contextId = entry.getContext().getId();
  const entryStoreUrl = config__WEBPACK_IMPORTED_MODULE_31__["default"].get('entrystore.repository');
  const blocks = config__WEBPACK_IMPORTED_MODULE_31__["default"].get('entryscape.blocks');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_26__.useTranslation)((catalog_nls_escaEmbed_nls__WEBPACK_IMPORTED_MODULE_23___default()));
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_28__.useSnackbar)();
  const copyToClipboard = async text => {
    try {
      await navigator.clipboard.writeText(text);
      addSnackbar({
        message: translate('copiedMessage')
      });
    } catch (_unused) {
      addSnackbar({
        message: translate('copyFailedMessage')
      });
    }
  };
  const snippetParams = _objectSpread(_objectSpread({}, snippetConfig), {}, {
    entryStoreUrl,
    contextId,
    blocks
  });
  const pageSnippet = (0,_buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__.buildSnippet)(snippetParams);
  const toolPreviewUrl = (0,_buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__.buildToolPreviewUrl)(snippetParams);
  const detailsSnippet = !(0,_buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__.isListLayout)(layout) ? (0,_buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__.buildDetailsPageSnippet)(snippetParams) : null;
  const detailsPageUrlMissing = !(0,_buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__.isListLayout)(layout) && !detailsPageUrl.trim();
  const actions = /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_7__["default"], {
    href: toolPreviewUrl,
    target: "_blank",
    rel: "noopener noreferrer",
    disabled: detailsPageUrlMissing,
    endIcon: /*#__PURE__*/React.createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_22__["default"], null)
  }, translate('previewButton'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_24__["default"], {
    closeDialog: closeDialog,
    title: `${translate('embedHeader')} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_29__.getLabel)(entry)}`,
    id: "edit-embed",
    actions: actions,
    fixedHeight: true
  }, /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__columns"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__options"
  }, /*#__PURE__*/React.createElement(_mui_material_FormGroup__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_19__["default"], {
    variant: "h4",
    component: "h3",
    className: "escaEmbedDialog__sectionHeading"
  }, translate('configureHeading')), /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__fieldRow"
  }, /*#__PURE__*/React.createElement(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
    fullWidth: true,
    size: "small",
    margin: "dense"
  }, /*#__PURE__*/React.createElement(_mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_12__["default"], {
    id: "embed-language-label"
  }, translate('languageLabel')), /*#__PURE__*/React.createElement(_mui_material_Select__WEBPACK_IMPORTED_MODULE_16__["default"], {
    labelId: "embed-language-label",
    value: language,
    label: translate('languageLabel'),
    onChange: event => updateSnippetConfig({
      language: event.target.value
    })
  }, LANGUAGE_OPTIONS.map(_ref6 => {
    let {
      value,
      nlsKey
    } = _ref6;
    return /*#__PURE__*/React.createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_13__["default"], {
      key: value,
      value: value
    }, translate(nlsKey));
  }))), /*#__PURE__*/React.createElement(HelpTooltip, {
    title: translate('languageHelp')
  })), /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__fieldRow"
  }, /*#__PURE__*/React.createElement(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
    fullWidth: true,
    size: "small",
    margin: "dense"
  }, /*#__PURE__*/React.createElement(_mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_12__["default"], {
    id: "embed-layout-label"
  }, translate('layoutLabel')), /*#__PURE__*/React.createElement(_mui_material_Select__WEBPACK_IMPORTED_MODULE_16__["default"], {
    labelId: "embed-layout-label",
    value: layout,
    label: translate('layoutLabel'),
    onChange: event => updateSnippetConfig({
      layout: event.target.value
    })
  }, LAYOUT_OPTIONS.map(_ref7 => {
    let {
      value,
      nlsKey
    } = _ref7;
    return /*#__PURE__*/React.createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_13__["default"], {
      key: value,
      value: value
    }, translate(nlsKey));
  }))), /*#__PURE__*/React.createElement(HelpTooltip, {
    title: translate('layoutHelp')
  })), !(0,_buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__.isListLayout)(layout) ? /*#__PURE__*/React.createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_18__["default"], {
    fullWidth: true,
    size: "small",
    margin: "dense",
    required: true,
    error: detailsPageUrlMissing,
    label: translate('detailsPageLabel'),
    helperText: detailsPageUrlMissing ? translate('detailsPageRequired') : translate('detailsPageHelp'),
    value: detailsPageUrl,
    onChange: event => updateSnippetConfig({
      detailsPageUrl: event.target.value
    })
  }) : null, /*#__PURE__*/React.createElement(CheckboxOption, {
    checked: seo,
    onChange: checked => updateSnippetConfig({
      seo: checked
    }),
    label: translate('seoLabel'),
    help: translate('seoHelp')
  }), /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_19__["default"], {
    variant: "h4",
    component: "h3",
    className: "escaEmbedDialog__sectionHeading"
  }, translate('includeHeading')), /*#__PURE__*/React.createElement(CheckboxOption, {
    checked: visualizations !== 'none',
    onChange: checked => updateSnippetConfig({
      visualizations: checked ? 'list' : 'none'
    }),
    label: translate('visualizationsLabel'),
    help: translate('visualizationsHelp')
  }), visualizations !== 'none' ? /*#__PURE__*/React.createElement(_mui_material_RadioGroup__WEBPACK_IMPORTED_MODULE_15__["default"], {
    value: visualizations,
    onChange: event => updateSnippetConfig({
      visualizations: event.target.value
    }),
    className: "escaEmbedDialog__radioGroup"
  }, /*#__PURE__*/React.createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_9__["default"], {
    value: "list",
    control: /*#__PURE__*/React.createElement(_mui_material_Radio__WEBPACK_IMPORTED_MODULE_14__["default"], {
      size: "small",
      className: "escaEmbedDialog__radio"
    }),
    label: translate('vizList'),
    slotProps: {
      typography: {
        variant: 'body2'
      }
    }
  }), /*#__PURE__*/React.createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_9__["default"], {
    value: "tabbed",
    control: /*#__PURE__*/React.createElement(_mui_material_Radio__WEBPACK_IMPORTED_MODULE_14__["default"], {
      size: "small",
      className: "escaEmbedDialog__radio"
    }),
    label: translate('vizTabbed'),
    slotProps: {
      typography: {
        variant: 'body2'
      }
    }
  })) : null, !(0,_buildEmbedSnippet__WEBPACK_IMPORTED_MODULE_32__.isListLayout)(layout) ? /*#__PURE__*/React.createElement(CheckboxOption, {
    checked: sorting,
    onChange: checked => updateSnippetConfig({
      sorting: checked
    }),
    label: translate('sortingLabel'),
    help: translate('sortingHelp')
  }) : null, /*#__PURE__*/React.createElement(CheckboxOption, {
    checked: services,
    onChange: checked => updateSnippetConfig({
      services: checked
    }),
    label: translate('servicesLabel'),
    help: translate('servicesHelp')
  }), /*#__PURE__*/React.createElement(CheckboxOption, {
    checked: extras,
    onChange: checked => updateSnippetConfig({
      extras: checked
    }),
    label: translate('extrasLabel'),
    help: translate('extrasHelp')
  }), /*#__PURE__*/React.createElement(CheckboxOption, {
    checked: dataPreview,
    onChange: checked => updateSnippetConfig({
      dataPreview: checked
    }),
    label: translate('dataPreviewLabel'),
    help: translate('dataPreviewHelp')
  }))), /*#__PURE__*/React.createElement("div", {
    className: "escaEmbedDialog__snippets"
  }, /*#__PURE__*/React.createElement(SnippetBlock, {
    heading: translate('pageSnippet'),
    snippet: pageSnippet,
    copyLabel: translate('copyButton'),
    onCopy: () => copyToClipboard(pageSnippet),
    disabled: detailsPageUrlMissing
  }), detailsSnippet ? /*#__PURE__*/React.createElement(SnippetBlock, {
    heading: translate('detailsPageSnippet'),
    snippet: detailsSnippet,
    copyLabel: translate('copyButton'),
    onCopy: () => copyToClipboard(detailsSnippet)
  }) : null, /*#__PURE__*/React.createElement(_mui_material_Alert__WEBPACK_IMPORTED_MODULE_6__["default"], {
    severity: "info"
  }, translate('embedTroubleshootingAlert')))));
};
EmbedDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    getContext: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EmbedDialog);

/***/ },

/***/ "./modules/catalog/catalogs/dialogs/EmbedDialog/buildEmbedSnippet.js"
/*!***************************************************************************!*\
  !*** ./modules/catalog/catalogs/dialogs/EmbedDialog/buildEmbedSnippet.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   buildDetailsPageSnippet: () => (/* binding */ buildDetailsPageSnippet),
/* harmony export */   buildSnippet: () => (/* binding */ buildSnippet),
/* harmony export */   buildToolPreviewUrl: () => (/* binding */ buildToolPreviewUrl),
/* harmony export */   isListLayout: () => (/* binding */ isListLayout)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6__);







/**
 * Whether a layout renders inline on a single page. Every other layout needs a
 * separate dataset details page, so callers branch on this.
 *
 * @param {string} layout - A `data-entryscape` layout value, e.g. 'datasetListLayout'
 * @returns {boolean}
 */
const isListLayout = layout => layout === 'datasetListLayout';

/**
 * Serializes one `[key, value]` pair into an HTML attribute. Values containing
 * double quotes (e.g. the JSON in data-entryscape-clicks) are single-quoted so
 * the markup stays valid.
 *
 * @param {[string, string|boolean]} entry
 * @returns {string} e.g. `key="value"` or `key='{"a": "b"}'`
 */
const formatAttribute = _ref => {
  let [key, value] = _ref;
  return String(value).includes('"') ? `${key}='${value}'` : `${key}="${value}"`;
};

/**
 * Serializes an attribute map into an HTML attribute string, dropping entries
 * whose value is `false` or `undefined` — the convention these builders use to
 * omit optional flags.
 *
 * @param {{[key: string]: string|boolean|undefined}} attributes
 * @returns {string}
 */
const buildAttributes = attributes => Object.entries(attributes).filter(_ref2 => {
  let [, value] = _ref2;
  return value !== false && value !== undefined;
}).map(formatAttribute).join('\n     ');

/**
 * Builds the two loader scripts an embed needs: the localized opendata
 * extension (which defines the dataset* blocks) followed by the core blocks
 * runtime that boots them.
 *
 * @param {string} language - Selects the opendata extension bundle, e.g. 'en'
 * @param {object} blocks - From config `entryscape.blocks`
 * @param {string} blocks.baseUrl - CDN base for the blocks app and extensions
 * @param {string} blocks.version - Major version segment in the script paths
 * @returns {string}
 */
const buildScriptTags = (language, _ref3) => {
  let {
    baseUrl,
    version
  } = _ref3;
  return [`<script src="${baseUrl}/blocks-ext/${version}/opendata/opendata-${language}.js"></script>`, `<script src="${baseUrl}/blocks/${version}/app.js"></script>`].join('\n');
};

/**
 * Builds the embed snippet for the main list/search page: a config div, the
 * selected layout block, and the loader scripts.
 *
 * @param {object} params
 * @param {string} params.layout - The `data-entryscape` layout block value
 * @param {string} params.language
 * @param {string} params.entryStoreUrl
 * @param {string} params.contextId
 * @param {'none'|'list'|'tabbed'} params.visualizations - Where visualizations render, if at all
 * @param {boolean} params.sorting - Sorting dropdown; ignored for the list layout
 * @param {boolean} params.services
 * @param {boolean} params.extras
 * @param {boolean} params.dataPreview
 * @param {boolean} params.seo - Mirror paging in the URL for indexable detail pages
 * @param {string} params.detailsPageUrl - Relative details-page URL; wired as click-through for non-list layouts
 * @param {object} params.blocks - From config `entryscape.blocks` (see buildScriptTags)
 * @returns {string} The HTML snippet
 */
const buildSnippet = _ref4 => {
  let {
    layout,
    language,
    entryStoreUrl,
    contextId,
    visualizations,
    sorting,
    services,
    extras,
    dataPreview,
    seo,
    detailsPageUrl,
    blocks
  } = _ref4;
  const configAttributes = {
    'data-entryscape': 'config',
    'data-entryscape-strict-standard-html': 'true',
    'data-entryscape-entrystore': entryStoreUrl,
    'data-entryscape-context': contextId
  };
  if (!isListLayout(layout) && detailsPageUrl.trim()) {
    configAttributes['data-entryscape-clicks'] = JSON.stringify({
      dataset: detailsPageUrl.trim()
    });
  }
  if (seo) {
    configAttributes['data-entryscape-url-query-parameters'] = 'true';
  }
  const blockAttributes = {
    'data-entryscape': layout,
    'data-entryscape-include-visualizations': visualizations === 'list' || undefined,
    'data-entryscape-include-tabbed-visualizations': visualizations === 'tabbed' || undefined,
    'data-entryscape-include-sorting': !isListLayout(layout) && sorting || undefined,
    'data-entryscape-include-services': services || undefined,
    'data-entryscape-include-extras': extras || undefined,
    'data-entryscape-include-data-preview': dataPreview || undefined,
    'data-entryscape-page-in-url': seo || undefined
  };
  const configDiv = `<div ${buildAttributes(configAttributes)}></div>`;
  const blockDiv = `<div ${buildAttributes(blockAttributes)}></div>`;
  return `${configDiv}\n${blockDiv}\n${buildScriptTags(language, blocks)}`;
};

/**
 * Builds the embed snippet for the dataset details page: a config div and a
 * `datasetView` block. The dataset is resolved from the page URL at runtime, so
 * no entry is pinned here.
 *
 * @param {object} params
 * @param {string} params.language
 * @param {string} params.entryStoreUrl
 * @param {string} params.contextId
 * @param {'none'|'list'|'tabbed'} params.visualizations
 * @param {boolean} params.extras
 * @param {boolean} params.dataPreview
 * @param {object} params.blocks - From config `entryscape.blocks` (see buildScriptTags)
 * @returns {string} The HTML snippet
 */
const buildDetailsPageSnippet = _ref5 => {
  let {
    language,
    entryStoreUrl,
    contextId,
    visualizations,
    extras,
    dataPreview,
    blocks
  } = _ref5;
  const configDiv = `<div ${buildAttributes({
    'data-entryscape': 'config',
    'data-entryscape-strict-standard-html': 'true',
    'data-entryscape-entrystore': entryStoreUrl,
    'data-entryscape-context': contextId
  })}></div>`;
  const blockDiv = `<div ${buildAttributes({
    'data-entryscape': 'datasetView',
    'data-entryscape-include-visualizations': visualizations === 'list' || undefined,
    'data-entryscape-include-tabbed-visualizations': visualizations === 'tabbed' || undefined,
    'data-entryscape-include-extras': extras || undefined,
    'data-entryscape-include-data-preview': dataPreview || undefined
  })}></div>`;
  return `${configDiv}\n${blockDiv}\n${buildScriptTags(language, blocks)}`;
};
const DOCS_BASE_URL = 'https://docs.entryscape.com';
const boolParam = value => value ? 'true' : 'false';

/**
 * Builds a link to the external EntryScape Blocks opendata tool on the docs
 * site, pre-filled to render a live preview of the configured embed. We link
 * out instead of previewing in an in-app iframe so Blocks runs on its own
 * origin and isn't subject to the embedding page's CSP.
 *
 * The tool derives the EntryStore and context from the `storeUrl` path
 * (`${origin}/store/` and a regex-extracted context), so the catalog context is
 * encoded as `/store/catalog/${contextId}`. The tool page exists only in
 * English, so the path is always `/en/`; the preview content language is the
 * `lang` query parameter.
 *
 * @param {object} params
 * @param {string} params.layout - The `data-entryscape` layout block value
 * @param {string} params.language - Embed (Blocks) preview language, sent as `lang`
 * @param {string} params.entryStoreUrl - EntryStore URL; its origin seeds the tool's store URL
 * @param {string} params.contextId - Catalog context, encoded into the store URL path
 * @param {'none'|'list'|'tabbed'} params.visualizations
 * @param {boolean} params.sorting
 * @param {boolean} params.services
 * @param {boolean} params.extras
 * @param {boolean} params.dataPreview
 * @param {boolean} params.seo
 * @param {string} params.detailsPageUrl - Relative details-page URL, passed as the click-through
 * @returns {string}
 */
const buildToolPreviewUrl = _ref6 => {
  let {
    layout,
    language,
    entryStoreUrl,
    contextId,
    visualizations,
    sorting,
    services,
    extras,
    dataPreview,
    seo,
    detailsPageUrl
  } = _ref6;
  const isList = isListLayout(layout);
  const {
    origin
  } = new URL(entryStoreUrl);
  const params = new URLSearchParams({
    lang: language,
    storeUrl: `${origin}/store/catalog/${contextId}`,
    block: layout,
    viz: boolParam(visualizations !== 'none'),
    tabbedViz: boolParam(visualizations === 'tabbed'),
    services: boolParam(services),
    extras: boolParam(extras),
    preview: boolParam(dataPreview),
    seo: boolParam(seo),
    sorting: boolParam(!isList && sorting),
    clicks: isList ? '' : detailsPageUrl.trim(),
    clickBlock: 'datasetView',
    clickViz: boolParam(visualizations !== 'none'),
    clickTabbedViz: boolParam(visualizations === 'tabbed'),
    clickExtras: boolParam(extras),
    clickPreview: boolParam(dataPreview)
  });
  return `${DOCS_BASE_URL}/en/blocks/opendata/tool/?${params}`;
};

/***/ },

/***/ "./modules/catalog/catalogs/dialogs/EmbedDialog/index.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/catalogs/dialogs/EmbedDialog/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EmbedDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EmbedDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EmbedDialog */ "./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.js");


/***/ },

/***/ "./modules/catalog/catalogs/dialogs/RemoveCatalogDialog/RemoveCatalogDialog.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/catalogs/dialogs/RemoveCatalogDialog/RemoveCatalogDialog.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.finally.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.finally.js");
/* harmony import */ var core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_catalogs_utils_catalog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/catalogs/utils/catalog */ "./modules/catalog/catalogs/utils/catalog.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");















const RemoveCatalogDialog = _ref => {
  let {
    entry: catalogEntry,
    closeDialog,
    onRemove
  } = _ref;
  const {
    getConfirmationDialog,
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__.useUserState)();
  const context = catalogEntry.getContext();
  const [apiDistributions] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_7__["default"])(catalog_catalogs_utils_catalog__WEBPACK_IMPORTED_MODULE_10__.getApiDistributions, context);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__.useSnackbar)();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!apiDistributions) {
      return;
    }
    if (apiDistributions.length) {
      getAcknowledgeDialog({
        content: translate('confirmRemoveCatalogWithApiDistributions')
      }).then(() => closeDialog());
      return;
    }
    getConfirmationDialog({
      content: translate('confirmRemoveCatalog')
    }).then(proceed => {
      if (!proceed) {
        return;
      }
      (0,commons_util_context__WEBPACK_IMPORTED_MODULE_11__.deleteContext)(catalogEntry, userEntry).then(() => {
        addSnackbar({
          message: translate('removeSnackbarMessage')
        });
        onRemove();
      });
    }).catch(err => {
      console.error(err);
      addSnackbar({
        message: translate('removeFailSnackbarMessage'),
        type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__.ERROR
      });
    }).finally(() => {
      closeDialog();
    });
  }, [apiDistributions, catalogEntry, closeDialog, context, onRemove, getAcknowledgeDialog, getConfirmationDialog, translate, userEntry, addSnackbar]);
  return null;
};
RemoveCatalogDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveCatalogDialog);

/***/ },

/***/ "./modules/catalog/catalogs/dialogs/RemoveCatalogDialog/index.js"
/*!***********************************************************************!*\
  !*** ./modules/catalog/catalogs/dialogs/RemoveCatalogDialog/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveCatalogDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveCatalogDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveCatalogDialog */ "./modules/catalog/catalogs/dialogs/RemoveCatalogDialog/RemoveCatalogDialog.js");


/***/ },

/***/ "./modules/catalog/catalogs/filterDefinitions.js"
/*!*******************************************************!*\
  !*** ./modules/catalog/catalogs/filterDefinitions.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PARENT_CATALOG_FILTER: () => (/* binding */ PARENT_CATALOG_FILTER)
/* harmony export */ });
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");

const PARENT_CATALOG_FILTER = {
  id: 'parent-catalog-filter',
  type: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_0__.CHECKBOX,
  headerNlsKey: 'parentCatalogFilterHeader',
  applyFilterParams: (query, filter) => {
    const selected = filter.getSelected();
    if (selected === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_0__.ANY) return query;
    return query.uriProperty('dcterms:hasPart', '*');
  },
  items: [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_0__.ANY_FILTER_ITEM, {
    value: 'parentCatalog'
  }]
};

/***/ },

/***/ "./modules/catalog/catalogs/tags.js"
/*!******************************************!*\
  !*** ./modules/catalog/catalogs/tags.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PARENT_CATALOG_TAG: () => (/* binding */ PARENT_CATALOG_TAG)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils_catalog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/catalog */ "./modules/catalog/catalogs/utils/catalog.js");


const PARENT_CATALOG_TAG = {
  id: 'parentCatalogTag',
  labelNlsKey: 'parentCatalogTag',
  nlsBundles: (catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_0___default()),
  isVisible: entry => (0,_utils_catalog__WEBPACK_IMPORTED_MODULE_1__.isParentCatalog)(entry)
};

/***/ },

/***/ "./modules/catalog/catalogs/useCatalogRestriction.js"
/*!***********************************************************!*\
  !*** ./modules/catalog/catalogs/useCatalogRestriction.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");



const useCatalogRestriction = numberOfCatalogs => {
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_1__.useUserState)();
  const isExemptFromRestrictions = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.hasUserPermission)(userEntry, [commons_util_user__WEBPACK_IMPORTED_MODULE_2__.PREMIUM, commons_util_user__WEBPACK_IMPORTED_MODULE_2__.ADMIN_RIGHTS]);
  if (isExemptFromRestrictions) return {
    isRestricted: false
  };
  const catalogLimit = config__WEBPACK_IMPORTED_MODULE_0__["default"].get('catalog.catalogLimit');
  const pathToCatalogLimitContent = config__WEBPACK_IMPORTED_MODULE_0__["default"].get('catalog.catalogLimitDialog');
  const isRestricted = catalogLimit && numberOfCatalogs >= catalogLimit || catalogLimit === 0;
  return {
    isRestricted,
    contentPath: pathToCatalogLimitContent
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCatalogRestriction);

/***/ },

/***/ "./modules/catalog/catalogs/utils/catalog.js"
/*!***************************************************!*\
  !*** ./modules/catalog/catalogs/utils/catalog.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CATALOG_EDIT_FILTER_PREDICATES: () => (/* binding */ CATALOG_EDIT_FILTER_PREDICATES),
/* harmony export */   createCatalogEntry: () => (/* binding */ createCatalogEntry),
/* harmony export */   createPublisher: () => (/* binding */ createPublisher),
/* harmony export */   getApiDistributions: () => (/* binding */ getApiDistributions),
/* harmony export */   isParentCatalog: () => (/* binding */ isParentCatalog)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");









const CATALOG_EDIT_FILTER_PREDICATES = {
  'dcterms:hasPart': true
};
const createPublisher = async (context, publisher) => {
  const publisherEntry = context.newNamedEntry();
  const publisherResourceURI = publisherEntry.getResourceURI();
  const language = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_2__.i18n.getLocale();
  const publisherMetadata = publisherEntry.getMetadata();
  publisherMetadata.add(publisherResourceURI, 'rdf:type', 'foaf:Agent');
  publisherMetadata.addL(publisherResourceURI, 'foaf:name', publisher.value.trim(), language);
  return publisherEntry.commit();
};

// Make the context a esterms:CatalogContext
const updateHomeContextEntryInfo = async (contextEntry, groupEntry, projectType) => {
  try {
    const homeContextEntryInfo = contextEntry.getEntryInfo();
    const homeContextResourceURI = contextEntry.getResourceURI();
    homeContextEntryInfo.getGraph().add(homeContextResourceURI, 'rdf:type', 'esterms:CatalogContext');

    // If project type is set, add it to entryinfo
    if (projectType) {
      homeContextEntryInfo.getGraph().add(homeContextResourceURI, _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_PROJECTTYPE, projectType);
    }

    // access to homecontext metadata by default.
    const acl = homeContextEntryInfo.getACL(true);
    acl.mread.push(groupEntry.getId());
    homeContextEntryInfo.setACL(acl);
    await homeContextEntryInfo.commit();
  } catch (error) {
    throw Error(`There was some error while trying to set access to the home context metadata ${error}`);
  }
};

/**
 *
 * @param {object} catalogCreateOptions
 * @returns {Promise}
 */
const createCatalogEntry = async _ref => {
  let {
    contextEntry: prototypeContextEntry,
    catalogEntry: prototypeCatalogEntry,
    userEntry,
    userInfo,
    projectType,
    createWithCustomPublisher,
    publisher,
    graph
  } = _ref;
  try {
    prototypeCatalogEntry.setMetadata(graph);
    const {
      contextEntry,
      groupEntry,
      initialEntries
    } = await prototypeContextEntry.createGroupAndContext();
    const homeContextId = groupEntry.getResource(true).getHomeContext();
    const homeContext = commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.getContextById(homeContextId);
    const catalogEntry = initialEntries.find(entry => (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_8__.isType)(entry.getMetadata(), entry.getResourceURI(), commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_TYPE_CATALOG));
    if (createWithCustomPublisher) {
      const publisherEntry = await createPublisher(homeContext, publisher);
      catalogEntry.add('dcterms:publisher', publisherEntry.getResourceURI());
      await catalogEntry.commitMetadata();
    }
    await (0,commons_util_context__WEBPACK_IMPORTED_MODULE_5__.updateContextTitle)(catalogEntry);
    userEntry.setRefreshNeeded();
    userEntry.refresh();
    await updateHomeContextEntryInfo(contextEntry, groupEntry, projectType);
    if (!userInfo.hasAdminRights) {
      (0,commons_util_context__WEBPACK_IMPORTED_MODULE_5__.setGroupIdForContext)(homeContextId, groupEntry.getId());
    }
  } catch (error) {
    throw Error(`Failed to create catalog: ${error}`);
  }
};

/**
 * Checks whether a context (catalog) has api distributions
 *
 * @param {Context} context
 * @returns {Promise}
 */
const getApiDistributions = context => commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.newSolrQuery().context(context).rdfType('dcat:Distribution').uriProperty('dcterms:source', '*').limit(1).list().getEntries();

/**
 *
 * @param {Entry} catalogEntry
 * @returns {boolean}
 */
const isParentCatalog = catalogEntry => {
  const hasPartStatements = catalogEntry.getMetadata().find(catalogEntry.getResourceURI(), 'dcterms:hasPart');
  return hasPartStatements.length > 0;
};

/***/ },

/***/ "./modules/catalog/config/config.js"
/*!******************************************!*\
  !*** ./modules/catalog/config/config.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CATALOGS_LISTVIEW: () => (/* binding */ CATALOGS_LISTVIEW),
/* harmony export */   CATALOG_ENTITY_OVERVIEW_NAME: () => (/* binding */ CATALOG_ENTITY_OVERVIEW_NAME),
/* harmony export */   CATALOG_OVERVIEW_NAME: () => (/* binding */ CATALOG_OVERVIEW_NAME),
/* harmony export */   CONTACTS_LISTVIEW: () => (/* binding */ CONTACTS_LISTVIEW),
/* harmony export */   CONTACT_OVERVIEW_NAME: () => (/* binding */ CONTACT_OVERVIEW_NAME),
/* harmony export */   DATASERVICES_LISTVIEW: () => (/* binding */ DATASERVICES_LISTVIEW),
/* harmony export */   DATASETS_LISTVIEW: () => (/* binding */ DATASETS_LISTVIEW),
/* harmony export */   DATASET_OVERVIEW_NAME: () => (/* binding */ DATASET_OVERVIEW_NAME),
/* harmony export */   DATA_SERVICE_OVERVIEW_NAME: () => (/* binding */ DATA_SERVICE_OVERVIEW_NAME),
/* harmony export */   DOCUMENTS_LISTVIEW: () => (/* binding */ DOCUMENTS_LISTVIEW),
/* harmony export */   DOCUMENT_OVERVIEW_NAME: () => (/* binding */ DOCUMENT_OVERVIEW_NAME),
/* harmony export */   IDEAS_LISTVIEW: () => (/* binding */ IDEAS_LISTVIEW),
/* harmony export */   IDEA_OVERVIEW_NAME: () => (/* binding */ IDEA_OVERVIEW_NAME),
/* harmony export */   PUBLISHERS_LISTVIEW: () => (/* binding */ PUBLISHERS_LISTVIEW),
/* harmony export */   PUBLISHER_OVERVIEW_NAME: () => (/* binding */ PUBLISHER_OVERVIEW_NAME),
/* harmony export */   SHOWCASES_LISTVIEW: () => (/* binding */ SHOWCASES_LISTVIEW),
/* harmony export */   SHOWCASE_OVERVIEW_NAME: () => (/* binding */ SHOWCASE_OVERVIEW_NAME),
/* harmony export */   SUGGESTIONS_LISTVIEW: () => (/* binding */ SUGGESTIONS_LISTVIEW),
/* harmony export */   SUGGESTION_OVERVIEW_NAME: () => (/* binding */ SUGGESTION_OVERVIEW_NAME),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const CATALOGS_LISTVIEW = 'catalog__list';
const SUGGESTIONS_LISTVIEW = 'catalog__suggestions';
const DATASETS_LISTVIEW = 'catalog__datasets';
const DATASERVICES_LISTVIEW = 'catalog__dataservices';
const SHOWCASES_LISTVIEW = 'catalog__showcases';
const IDEAS_LISTVIEW = 'catalog__ideas';
const PUBLISHERS_LISTVIEW = 'catalog__publishers';
const CONTACTS_LISTVIEW = 'catalog__contacts';
const DOCUMENTS_LISTVIEW = 'catalog__documents';
const CATALOG_OVERVIEW_NAME = 'catalog__overview';
const SUGGESTION_OVERVIEW_NAME = 'catalog__suggestions__suggestion';
const DATASET_OVERVIEW_NAME = 'catalog__datasets__dataset';
const DATA_SERVICE_OVERVIEW_NAME = 'catalog__dataservices__dataservice';
const SHOWCASE_OVERVIEW_NAME = 'catalog__showcases__showcase';
const IDEA_OVERVIEW_NAME = 'catalog__ideas__idea';
const PUBLISHER_OVERVIEW_NAME = 'catalog__publishers__publisher';
const CONTACT_OVERVIEW_NAME = 'catalog__contacts__contact';
const DOCUMENT_OVERVIEW_NAME = 'catalog__documents__document';
const CATALOG_ENTITY_OVERVIEW_NAME = 'catalog__entities__type__overview';

/**
 * @module catalog
 * @description Configuration for the Catalog module
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  catalog: {
    /**
     * Allows file:// scheme URIs in link inputs and URL validation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    allowFileURI: false,
    /**
     * RDForms catalog template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'catalog' entity type.
     */
    catalogTemplateId: undefined,
    /**
     * RDForms dataset template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'catalog' entity type.
     */
    datasetTemplateId: undefined,
    /**
     * RDForms distribution template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'datasettemplate' entity type.
     */
    distributionTemplateId: undefined,
    /**
     * RDForms contact point template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'contactPoint' entity type.
     */
    contactPointTemplateId: 'dcat:contactPoint',
    /**
     * RDForms document template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'datasetDocument' entity type.
     */
    documentTemplateId: 'esc:Documentish',
    /**
     * RDForms contact template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'contactPoint' entity type.
     */
    contactTemplateId: 'dcat:contactPoint',
    /**
     * RDForms agent template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'publisher' entity type.
     */
    agentTemplateId: 'dcat:foaf:Agent',
    /**
     * RDForms template id for dataservices
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'dataService' entity type.
     */
    dataServiceTemplateId: 'dcat:DataService',
    /**
     * RDForms result template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'datasetResult' entity type.
     */
    datasetResultTemplateId: 'esc:Results',
    /**
     * RDForms idea template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'datasetIdea' entity type.
     */
    datasetIdeaTemplateId: 'esc:Ideas',
    /**
     * RDForms suggestion template id
     *
     * @type {string}
     * @memberof module:catalog
     * @deprecated Configured via 'catalogSuggestion' entity type.
     */
    suggestionTemplateId: 'esc:Suggestion',
    /**
     * RDForms format template id
     *
     * @type {string}
     * @memberof module:catalog
     * @default 'dcat:format-group_di'
     */
    formatTemplateId: 'dcat:format-group_di',
    // default rdf types

    /**
     * Default RDF agent type that will be used on creation of publisher.
     *
     * @type {string}
     * @memberof module:catalog
     * @default 'foaf:Agent'
     */
    defaultAgentType: 'foaf:Agent',
    /**
     * Specifies who is allowed to create catalogs. Usually set to a group's entry ID.
     *
     * @type {string}
     * @memberof module:catalog
     * @default '_users'
     */
    catalogCreationAllowedFor: '_users',
    /**
     * Specifies who may (un)publish datasets
     *
     * @type {string}
     * @memberof module:catalog
     * @default '_users'
     */
    publishDatasetAllowedFor: '_users',
    // feature toggles

    /**
     * Include/exclude download action in catalog list row
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeExportOption: true,
    /**
     * Include/exclude embed action in catalog list row
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeEmbeddOption: true,
    /**
     * Include/exclude publisher view in the secondary navigation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includePublishers: true,
    /**
     * Include/exclude contact view in the secondary navigation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeContacts: true,
    /**
     * Include/exclude document view in the secondary navigation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeDocuments: true,
    /**
     * Include showcase view in secondary navigation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeShowcases: true,
    /**
     * Include ideas view in secondary navigation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeIdeas: true,
    /**
     * Include statistics in catalog overview
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeStatistics: true,
    /**
     * Enables table view
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeTableView: true,
    /**
     * Experimental table view feature to show RDForms section groups as columns
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    sectionFormsAsColsTableView: false,
    /**
     * Include suggestions/preparations view in secondary navigation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includePreparations: true,
    /**
     * Enable dataset visualizations
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    includeVisualizations: false,
    /**
     * Enables map service visualizations. Currently WMS is supported.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    includeMapServiceVisualizations: false,
    /**
     * Enables option to create dataset or distribution from a data service. On creation, metadata
     * from the service will be carried over to the dataset and/or distribution. This requires that
     * the data service has `conformsTo` set to a supported uri, for example identifier for WMS.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    includeCreateByService: false,
    /**
     * Include overview/statistics view in secondary navigation
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    includeOverview: true,
    /**
     * Enables dataset series.
     * Note that includeSubSeries is required to also include sub series.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     * @see {@link module:catalog.includeSubSeries}
     */
    includeDatasetSeries: true,
    /**
     * Enables dataset sub series.
     * Note that includeDatasetSeries must be enabled.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @see {@link module:catalog.includeDatasetSeries}
     * @default false
     */
    includeSubSeries: false,
    /**
     * Determines whether or which filters are visible in catalog. Using a boolean shows/hides
     * all filters, while an array containing the names of the filters to exclude can
     * also be provided.
     *
     * @type {boolean|string[]}
     * @memberof module:catalog
     * @default false
     */
    excludeFilters: false,
    /**
     * View to load when entering a catalog
     *
     * @type {string}
     * @memberof module:catalog
     * @default 'catalog__overview'
     */
    startView: 'catalog__overview',
    /**
     * Filter out catalogs with no datasets from search results
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default true
     */
    excludeEmptyCatalogsInSearch: true,
    /**
     * Enable PSI (Public Sector Information) switch for datasets.
     * Not to be mixed up with {@link module:catalog.includeInternalPublish}.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    allowInternalDatasetPublish: false,
    /**
     * Enable internal publish switch for datasets. Internally published datasets are available for
     * all logged in users.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    includeInternalPublish: false,
    /**
     * Display list item counts by default
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    includeListSizeByDefault: false,
    /**
     * Allows to create a catalog without a publisher.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    createWithoutPublisher: false,
    /**
     * Empty string works as no limit
     *
     * @type {string|number}
     * @memberof module:catalog
     * @default ''
     */
    catalogLimit: '',
    /**
     * Shown when catalog creation limit is reached.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:catalog
     * @default ''
     */
    catalogLimitDialog: '',
    /**
     * Empty string works as no limit
     *
     * @type {string|number}
     * @memberof module:catalog
     * @default ''
     */
    datasetLimit: '',
    /**
     * Shown when dataset creation limit is reached.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:catalog
     * @default ''
     */
    datasetLimitDialog: '',
    /**
     * Shown when catalog publishing is not allowed.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:catalog
     * @default ''
     */
    disallowCatalogPublishingDialog: '',
    /**
     * Shown when catalog collaboration is not allowed.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:catalog
     * @default ''
     */
    disallowCatalogCollaborationDialog: '',
    /**
     * Shown when file upload for distributions is not allowed.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:catalog
     * @default ''
     */
    disallowFileuploadDistributionDialog: '',
    /**
     * Option to hide Link/File tabs if only links should be used when creating distributions.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    excludeFileuploadDistribution: false,
    /**
     * Determines whether to use the JSON URI from the EU publication office Named Authority List
     * as the generated API format.
     *
     * @type {boolean}
     * @memberof module:catalog
     * @default false
     */
    generatedApiFormatAsNAL: false,
    /**
     * Max file size restriction for creating API from file.
     *
     * @type {number}
     * @memberof module:catalog
     * @default 25000000
     */
    maxFileSizeForAPI: 25000000,
    /**
     * Main configuration for remote dataset templates. Its value should be a string corresponding
     * to an entrystore URI. Used both as:
     * 1. a flag to enable or disable the dataset templates functionality
     * 2. the remote endpoint that's queried for the template entries
     *
     * @type {string}
     * @memberof module:catalog
     * @see {@link module:catalog.datasetTemplateDefaultCatalog}
     * @example datasetTemplateEndpoint: 'https://assets.entryscape.com/store'
     * @default ''
     */
    datasetTemplateEndpoint: '',
    /**
     * Specifies a default template catalog with its value being the catalog's ID.
     * If set, users only see dataset templates belonging to that specific catalog, without the
     * ability to change.
     *
     * @type {string}
     * @memberof module:catalog
     * @see {@link module:catalog.datasetTemplateEndpoint}
     * @example datasetTemplateDefaultCatalog: '1'
     * @default ''
     */
    datasetTemplateDefaultCatalog: '',
    /**
     * Default RDF type used to query dataset templates.
     *
     * @type {string}
     * @memberof module:catalog
     * @default 'esterms:DatasetTemplate'
     */
    datasetTemplateRDFType: 'esterms:DatasetTemplate',
    /**
     * Default RDF type used to query catalog templates.
     *
     * @type {string}
     * @memberof module:catalog
     * @default 'esterms:CatalogTemplate'
     */
    catalogTemplateRDFType: 'esterms:CatalogTemplate',
    /**
     * URL to a JSON file with help drawer configuration
     *
     * @type {string}
     * @memberof module:catalog
     */
    help: `https://docs.entryscape.com/help/${"3.20"}/catalog.json`,
    /**
     * The suggestion checklist consists of a `name` (task name), `shortLabel` (title),
     * `label` (short description), `description` (detailed description) and `mandatory`.
     * The labels and descriptions are provided in different languages.
     *
     * @type {object[]}
     * @memberof module:catalog
     */
    checklist: [{
      name: 'noPrivacyIssues',
      shortLabel: {
        en: 'Privacy',
        sv: 'Sekretess',
        da: 'Fortrolig',
        de: 'Datenschutz'
      },
      label: {
        sv: 'Inga sekretessbelagda eller personuppgifter ingår i datamängden',
        da: 'Datasættet indeholder ikke fortrolige eller personlige information',
        en: 'The dataset does not contain confidential or personal information',
        de: 'Der Datensatz beinhaltet keine vertraulichen oder persönlichen Informationen'
      },
      description: {
        sv: 'Om genomgång av datamängd visat på hinder iform av sekretessbelagd information eller personuppgifter så redovisas detta som kommentarer på datamängden. Eventuella alternativ för publicering av delar av datamängden ska också redovisas.',
        da: 'Hvis gennemgangen af datasættet frembringer forhindringer såsom fortrolighed eller personlige informationinformation skal dette dokumenteres som kommentarer på datasættet. Et eventuelt alternativ er publicering af dele af datasættet skal også beskrives i kommentarerne.',
        en: 'If the review of the dataset revealed obstacles such as confidential or personal information this is documented as comments on the dataset. Possible alternatives such as partial publication of the dataset should also be presented as comments.',
        de: 'Falls beim Durchsehen des Datensatzes Hürden wie vertrauliche oder persönliche Informationen offenlegt werden, werden diese als Kommentar am Datensatz dokumentiert. Mögliche Alternativen wie eine teilweise Veröffentlichung des Datensatzes können ebenfalls als Kommentare dargestellt werden.'
      },
      mandatory: true
    }, {
      name: 'clearLicense',
      shortLabel: {
        en: 'License',
        sv: 'Upphovsrätt',
        da: 'Uphavsrett',
        de: 'Lizenz'
      },
      label: {
        sv: 'Upphovsrätten är klargjord',
        da: 'Ophavsretten er sikret',
        en: 'Copyright is cleared',
        de: 'Urheberrecht ist geklärt'
      },
      description: {
        sv: 'Det upphovsrättskydd som gäller för datamängden har klargjorts. Om erkännande krävs i samband med vidarutnyttjande är det också viktigt att det tydliggörs, redovisa i så fall ägare av upphovsrätten och annan relevant information i en kommentar på datamängden.',
        da: 'Den ophavsret og ejerrettigheder på datasættet som er sikret. Hvis anerkendelse af ophavsret eller rettighedsejer er nødvendig i forbindelse med genbrug eller videreanvendelse, er det vigtigt at navnet på rettighedsindehaveratt samt andre relevante informationer er beskrevet i kommentarerne.',
        en: 'The copyright and ownership rights of the dataset have been cleared. If recognition is required in connection with re-use, it is important that the name of the copyright holder and other relevant information are provided as comments.',
        de: 'Das Urheberrecht und die Eigentümerrechte des Datensatzes wurden geklärt. Falls Wiedererkennung benötigt wird in Verbindung mit der Wiederverwendung, ist es wichtig, dass der Name des Urheberrechtsinhabers und andere relevante Informationen als Kommentare bereitgestellt werden.'
      },
      mandatory: true
    }, {
      name: 'clearOwnership',
      shortLabel: {
        en: 'Ownership',
        sv: 'Ägarskap',
        da: 'Ejendom',
        de: 'Eigentum'
      },
      label: {
        sv: 'Dataägare i organisationen är identifierad',
        da: 'Dataejere indenfor organisationen er identificeret',
        en: 'Data owner within the organization is identified',
        de: 'Eigentümer der Daten innerhalb der Organisation ist identifiziert'
      },
      description: {
        sv: 'Ansvar för datamängden i organisationen är känd. Kontaktpunkt, i form av en person eller funktionsadress lämnas som kommentar på datamängden.',
        da: 'Ansvar for datasættet i organisationen er kendt. Kontaktpunkt, i form af en person eller funktionspostkasse beskrives i kommentarerne på datasættet.',
        en: 'The responsible for the dataset is known within the organization. The contact point, in the form of an email address, should be provided as comment on the dataset.',
        de: 'Die Verantwortlichen für den Datensatz sind innerhalb der Organisation bekannt. Der Kontakt in Form einer E-Mail-Adresse sollte als Kommentar im Datensatz bereitgestellt werden.'
      },
      mandatory: true
    }, {
      name: 'digitallyAccessible',
      shortLabel: {
        en: 'Digital',
        sv: 'Digitalt',
        da: 'Digitald',
        de: 'Digital'
      },
      label: {
        sv: 'Datamängden är tillgänglig digitalt',
        da: 'Datasættet er tilgængeligt digitalt',
        en: 'The dataset can be digitally accessed',
        de: 'Auf den Datensatz kann digital zugegriffen werden'
      },
      description: {
        sv: 'Datamängden finns tillgänglig i kända format. Hur man kommer åt datamängden i respektive format är också klargjort.',
        da: 'Datasættet findes tilgængeligt i kendte formatter. Det er gjort tydeligt hvordan man får adgang til datasættets respektive formatter.',
        en: "The dataset is available in known formats. It is clear how the dataset's respective formats can be accessed.",
        de: 'Der Datensatz ist in verschiedenen Formaten verfügbar. Es ist klar wie auf die entsprechenden Formate zugegriffen werden kann.'
      }
    }, {
      name: 'addedValue',
      shortLabel: {
        en: 'Added value',
        sv: 'Mervärde',
        da: 'Merværdi',
        de: 'Mehrwert'
      },
      label: {
        sv: 'Publicering av datamängden innebär ett tydligt mervärde',
        da: 'Publicering af datasættet har en tydelig merværdi',
        en: 'The publication of the dataset implies a clear added value',
        de: 'Die Veröffentlichung des Datensatzes stellt einen Mehrwert dar'
      },
      description: {
        sv: 'Datamängden medför ökad transparens, innovation eller effektivisering. Effektivisering omfattar förbättringar inom såväl den egna organisationen som externt.',
        da: 'Datasættet medfører øget transparens, innovation eller effektivisering. Effektivisering omfatter forbedringer både indenfor egen organisation såvel som udenfor.',
        en: 'The dataset contributes to increased transparency, innovation or efficiency. Efficiency includes improvements both within the own organization as well as externally.',
        de: 'Der Datensatz trägt zu steigender Transparenz, Innovation oder Effizienz bei. Effizienz beinhaltet Verbesserungen innerhalb der Organisation als auch externer Art.'
      }
    }, {
      name: 'demand',
      shortLabel: {
        en: 'Demand',
        sv: 'Efterfråga',
        da: 'Efterspørgsel',
        de: 'Nachfrage'
      },
      label: {
        sv: 'Datamängden är efterfrågad',
        da: 'Datasættet er efterspurgt',
        en: 'The dataset is sought after',
        de: 'Nach dem Datensatz wird gesucht'
      },
      description: {
        sv: 'Datamängden är efterfrågad antingen inom den egna organisationen eller externt. Detta innebär att minst en målgrupp till datamängden är identifierad.',
        da: 'Datasættet er efterspurgt indenfor egen organisation eller udenfor. Dette indebærer at der er identificeret mindst en målgruppe til datasættet.',
        en: 'The dataset is sought after within the own organization or externally. This means that at least one target group for the dataset has been identified.',
        de: 'Nach dem Datensatz wird innerhalb der Organisation oder von externer Seite aus gesucht. Das bedeutet das mindestens eine Zielgruppe für den Datensatz identifiziert wurde.'
      }
    }, {
      name: 'formatDemand',
      shortLabel: {
        en: 'Formats',
        sv: 'Format',
        da: 'Formatter',
        de: 'Formate'
      },
      label: {
        sv: 'Efterfrågade format eller protokoll stöds',
        da: 'Efterspurgte formatter eller protokoller er understøttet',
        en: 'Requested formats or protocols are supported',
        de: 'Angefragte Formate oder Protokolle werden unterstützt'
      },
      description: {
        sv: 'Datamängden är tillgänglig i de format och protokoll som efterfrågas. Om nya format efterfrågats görs en kommentar om vilka på datamängden, t.ex. om API önskas för målgruppen.',
        da: 'Datasættet er tilgængeligt i de formatter og protokoller som er efterspurgt. Det skal registreres som kommentarer hvis yderligere formatter eller protokoller er efterspurgt, f.eks. hvis et API er efterspurgt af en specifik målgruppe.',
        en: 'The dataset is available in the formats and protocols that have been requested. It should be noted as a comment if additional formats or protocols are requested, e.g., if an API is requested by a target group.',
        de: 'Der Datensatz ist verfügbar in den Formaten und Protokollen die angefragt wurden. Es sollte eine Notiz als Kommentar gemacht werden, falls zusätzliche Formate oder Protokolle angefragt werden, zum Beispiel falls eine API durch eine Zielgruppe angefragt wurde.'
      }
    }, {
      name: 'addedCost',
      shortLabel: {
        en: 'Cost',
        sv: 'Kostnader',
        da: 'Omkostninger',
        de: 'Kosten'
      },
      label: {
        sv: 'Resurser, kostnader och effektiviseringar är kända',
        da: 'Resurser, omkostninger og effektiviseringar er kendte',
        en: 'Resources, costs and increased efficiency are known',
        de: 'Ressourcen, Kosten und eine ansteigende Effizienz sind bekannt'
      },
      description: {
        sv: 'Resurser för publicering och eventuella engångskostnader är kända och sammanvägda med eventuell intern effektivisering. Nya kostnader för framtagning eller underhåll av datamängd lämnas som kommentar.',
        da: 'Nødvendigte resurser or publicering og eventuelle engangsomkostninger er kendte vurderet i forhold til mulige forbedringer af intern effektivitet. Yderligere omkostninger for at bevare eller vedligeholde datasættet er registreret i en kommentar.',
        en: 'Resources for publication and any one-time costs are known and weighted with possible improvements of internal efficiency. Additional costs for obtaining or maintaining the dataset are provided as comment.',
        de: 'Ressourcen zum Veröffentlichen und alle einmaligen Kosten sind bekannt und gewichtet nach möglichen Verbesserungen der internen Effizienz. Zusätzliche Kosten zum Erhalt oder Pflege des Datensatzes werden als Kommentar zur Verfügung gestellt.'
      }
    }, {
      name: 'maintenancePlan',
      shortLabel: {
        en: 'Maintenance',
        sv: 'Underhåll',
        da: 'Vedligehold',
        de: 'Pflege'
      },
      label: {
        sv: 'Plan för underhåll av datamängden finns',
        da: 'Plan for vedligehold af datasættet findes',
        en: 'A plan for maintenance of the dataset is available',
        de: 'Ein Konzept für die Pflege des Datensatzes ist verfügbar'
      },
      description: {
        sv: 'Plan och metod för underhåll av datamängden i den frekvens som krävs är undersökt och klargjort.',
        da: 'Plan og metode for vedligeholdelse af datasættet i den frekvens som er påkrævet er undersøgt og tydeliggjort.',
        en: 'Plan and method for maintenance of the dataset in the required frequency have been investigated and clarified.',
        de: 'Konzept und Methode für die Pflege des Datensatzes in der benötigten Frequenz sind untersucht und geklärt wurden.'
      }
    }]
  },
  /** @ignore */
  itemstore: {
    /**
     * Names of available choosers
     *
     * @type {string[]}
     */
    choosers: ['EntryChooser', 'GeonamesChooser', 'GeoChooser'],
    /**
     * Map projections in order of importance
     *
     * @type {object[]}
     */
    projections: [{
      code: 'EPSG:3006',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3007',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3008',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=13.5 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3009',
      boundingBox: [-16.1, 32.88, 40.18, 84.17],
      definition: '+proj=tmerc +lat_0=0 +lon_0=15 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3010',
      boundingBox: [-16.1, 32.88, 40.18, 84.17],
      definition: '+proj=tmerc +lat_0=0 +lon_0=16.5 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3011',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=18 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3012',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=14.25 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3013',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=15.75 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3014',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=17.25 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3015',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=18.75 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3016',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=20.25 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3017',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=21.75 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3018',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=23.25 +k=1 +x_0=150000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3019',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=11.30827777777778 +k=1 +x_0=1500000 +y_0=0 +ellps=bessel +towgs84=414.1,41.3,603.1,-0.855,2.141,-7.023,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3020',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=13.55827777777778 +k=1 +x_0=1500000 +y_0=0 +ellps=bessel +towgs84=414.1,41.3,603.1,-0.855,2.141,-7.023,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3021',
      boundingBox: [10.03, 54.96, 24.17, 69.07],
      definition: '+proj=tmerc +lat_0=0 +lon_0=15.80827777777778 +k=1 +x_0=1500000 +y_0=0 +ellps=bessel +towgs84=414.1,41.3,603.1,-0.855,2.141,-7.023,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:3034',
      boundingBox: [-16.1, 32.88, 40.18, 84.17],
      definition: '+proj=lcc +lat_1=35 +lat_2=65 +lat_0=52 +lon_0=10 +x_0=4000000 +y_0=2800000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:31467',
      boundingBox: [5.87, 47.27, 13.84, 55.09],
      definition: '+proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=3500000 +y_0=0 +ellps=bessel +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:31468',
      boundingBox: [5.87, 47.27, 13.84, 55.09],
      definition: '+proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=4500000 +y_0=0 +ellps=bessel +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +units=m +axis=neu +no_defs'
    }, {
      code: 'EPSG:25833',
      boundingBox: [-16.1, 32.88, 40.18, 84.17],
      definition: '+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +axis=enu +no_defs'
    }]
  },
  /**
   * Specifies the different types of entities,
   * sets their name,
   * which module they belong to,
   * the CSS class of their icon,
   * and various options like adding files or link and the possibility for inline creation.
   *
   * @type {object[]}
   * @ignore
   */
  entitytypes: [{
    name: 'publisher',
    label: {
      en: 'Publisher',
      sv: 'Utgivare',
      de: 'Herausgeber'
    },
    rdfType: ['http://xmlns.com/foaf/0.1/Agent', 'http://xmlns.com/foaf/0.1/Person', 'http://xmlns.com/foaf/0.1/Organization'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:foaf:Agent',
    includeInternal: true,
    // TODO will this exist after migration, if yes in what form?
    includeFile: false,
    includeLink: false,
    inlineCreation: true,
    faClass: 'users',
    listview: PUBLISHERS_LISTVIEW,
    overview: PUBLISHER_OVERVIEW_NAME
  }, {
    name: 'contactPoint',
    label: {
      en: 'Contact point',
      sv: 'Kontakt',
      de: 'Kontakt'
    },
    rdfType: ['http://www.w3.org/2006/vcard/ns#Individual', 'http://www.w3.org/2006/vcard/ns#Organization', 'http://www.w3.org/2006/vcard/ns#Kind'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:contactPoint',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: true,
    faClass: 'phone',
    listview: CONTACTS_LISTVIEW,
    overview: CONTACT_OVERVIEW_NAME,
    draftsEnabled: true
  }, {
    name: 'dataset',
    label: {
      en: 'Dataset',
      sv: 'Datamängd',
      de: 'Datensatz'
    },
    main: true,
    rdfType: ['http://www.w3.org/ns/dcat#Dataset'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:Dataset',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    faClass: 'cubes',
    listview: DATASETS_LISTVIEW,
    overview: DATASET_OVERVIEW_NAME,
    draftsEnabled: true
  }, {
    name: 'datasetSeries',
    label: {
      en: 'Dataset series',
      sv: 'Datamängdsserie',
      de: 'Datensatzserie'
    },
    rdfType: ['http://www.w3.org/ns/dcat#DatasetSeries'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:DatasetSeries',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    listview: DATASETS_LISTVIEW,
    overview: DATASET_OVERVIEW_NAME,
    draftsEnabled: true,
    hideFromOverview: true
  }, {
    name: 'dataService',
    label: {
      en: 'Data service',
      sv: 'Datatjänst',
      de: 'Datendienst'
    },
    rdfType: ['http://www.w3.org/ns/dcat#DataService'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:DataService',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    faClass: 'exchange-alt',
    listview: DATASERVICES_LISTVIEW,
    overview: DATA_SERVICE_OVERVIEW_NAME,
    draftsEnabled: true
  }, {
    name: 'distribution',
    label: {
      en: 'Distribution',
      sv: 'Distribution',
      de: 'Distribution'
    },
    rdfType: ['http://www.w3.org/ns/dcat#Distribution'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:Distribution',
    useWith: 'dataset',
    useWithProperty: 'http://www.w3.org/ns/dcat#distribution',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    overview: DATASET_OVERVIEW_NAME
  }, {
    name: 'catalog',
    label: {
      en: 'Catalog',
      sv: 'Katalog',
      de: 'Katalog'
    },
    rdfType: ['http://www.w3.org/ns/dcat#Catalog'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:Catalog',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    overview: CATALOG_OVERVIEW_NAME,
    allContexts: true,
    relations: [{
      entityType: 'catalog',
      type: 'aggregation',
      property: 'dcterms:hasPart',
      label: {
        en: 'Subcatalogs',
        sv: 'Underkataloger',
        de: 'Unterkataloge'
      }
    }]
  }, {
    name: 'datasetResult',
    label: {
      en: 'Showcase',
      sv: 'Showcase',
      de: 'Showcase'
    },
    rdfType: ['http://entryscape.com/terms/Result'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'esc:Results',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    faClass: 'gem',
    listview: SHOWCASES_LISTVIEW,
    overview: SHOWCASE_OVERVIEW_NAME,
    draftsEnabled: true
  }, {
    name: 'datasetIdea',
    label: {
      en: 'Idea',
      sv: 'Idé',
      de: 'Idee'
    },
    rdfType: ['http://entryscape.com/terms/Idea'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'esc:Ideas',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    faClass: 'lightbulb',
    listview: IDEAS_LISTVIEW,
    overview: IDEA_OVERVIEW_NAME,
    draftsEnabled: true
  }, {
    name: 'catalogSuggestion',
    label: {
      en: 'Suggestion',
      sv: 'Förslag',
      de: 'Vorschlag'
    },
    rdfType: ['http://entryscape.com/terms/Suggestion'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'esc:Suggestion',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    listview: SUGGESTIONS_LISTVIEW,
    overview: SUGGESTION_OVERVIEW_NAME,
    relations: [{
      entityType: 'dataset',
      type: 'aggregation',
      property: 'dcterms:references',
      label: {
        en: 'Datasets',
        sv: 'Datamängder',
        de: 'Datensätze'
      }
    }]
  }, {
    uniqueURIScope: 'entitytypeContextScope',
    name: 'datasetDocument',
    label: {
      en: 'Document',
      sv: 'Dokument',
      de: 'Dokument'
    },
    rdfType: ['foaf:Document', 'dcterms:LicenseDocument', 'dcterms:Standard', 'prof:Profile'],
    mainModule: 'catalog',
    module: 'catalog',
    template: 'esc:Documentish',
    externalTemplate: 'prof:Profile',
    complementaryTemplate: 'esc:complementaryDocumentish',
    includeInternal: false,
    includeFile: true,
    includeLink: true,
    inlineCreation: true,
    faClass: 'file',
    listview: DOCUMENTS_LISTVIEW,
    overview: DOCUMENT_OVERVIEW_NAME
  }, {
    name: 'datasettemplate',
    label: {
      en: 'Dataset Template',
      sv: 'Datamängdsmall',
      de: 'Datensatzvorlage'
    },
    rdfType: 'http://entryscape.com/terms/DatasetTemplate',
    mainModule: 'catalog',
    module: 'catalog',
    template: 'dcat:Dataset',
    includeInternal: true,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    faClass: 'cubes'
  }, {
    name: 'distributionFile',
    label: {
      en: 'Distribution file',
      sv: 'Distributionsfilen',
      de: 'Distributionsdatei'
    },
    rdfType: 'http://entryscape.com/terms/File',
    mainModule: 'catalog',
    module: 'catalog',
    template: 'esc:File',
    includeInternal: false,
    includeFile: true,
    includeLink: false,
    inlineCreation: false,
    faClass: 'file'
  }, {
    name: 'visualization',
    label: {
      en: 'Visualization',
      sv: 'Visualisering',
      de: 'Visualisierung'
    },
    rdfType: 'http://entryscape.com/terms/visualization/Visualization',
    mainModule: 'catalog',
    module: 'catalog',
    template: 'esc:context',
    useWith: 'dataset',
    useWithProperty: 'http://schema.org/diagram',
    includeInternal: false,
    includeFile: false,
    includeLink: false,
    inlineCreation: false,
    overview: DATASET_OVERVIEW_NAME
  }]
});

/***/ },

/***/ "./modules/catalog/config/site.js"
/*!****************************************!*\
  !*** ./modules/catalog/config/site.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var catalog_catalogs_CatalogsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/catalogs/CatalogsView */ "./modules/catalog/catalogs/CatalogsView/index.js");
/* harmony import */ var catalog_datasets_DatasetsView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/datasets/DatasetsView */ "./modules/catalog/datasets/DatasetsView/index.js");
/* harmony import */ var catalog_showcases_ShowcasesView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/showcases/ShowcasesView */ "./modules/catalog/showcases/ShowcasesView/index.js");
/* harmony import */ var catalog_ideas_IdeasView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/ideas/IdeasView */ "./modules/catalog/ideas/IdeasView/index.js");
/* harmony import */ var catalog_contacts_ContactsView__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/contacts/ContactsView */ "./modules/catalog/contacts/ContactsView/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/datasets/DatasetOverview */ "./modules/catalog/datasets/DatasetOverview/index.js");
/* harmony import */ var catalog_publishers_PublisherOverview__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/publishers/PublisherOverview */ "./modules/catalog/publishers/PublisherOverview/index.js");
/* harmony import */ var catalog_suggestions_SuggestionOverview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/suggestions/SuggestionOverview */ "./modules/catalog/suggestions/SuggestionOverview/index.js");
/* harmony import */ var catalog_dataServices_DataServiceOverview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/dataServices/DataServiceOverview */ "./modules/catalog/dataServices/DataServiceOverview/index.js");
/* harmony import */ var catalog_showcases_ShowcaseOverview__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/showcases/ShowcaseOverview */ "./modules/catalog/showcases/ShowcaseOverview/index.js");
/* harmony import */ var catalog_contacts_ContactOverview__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/contacts/ContactOverview */ "./modules/catalog/contacts/ContactOverview/index.js");
/* harmony import */ var catalog_ideas_IdeaOverview__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/ideas/IdeaOverview */ "./modules/catalog/ideas/IdeaOverview/index.js");
/* harmony import */ var catalog_documents_DocumentOverview__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/documents/DocumentOverview */ "./modules/catalog/documents/DocumentOverview/index.js");
/* harmony import */ var catalog_datasets_preview__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/datasets/preview */ "./modules/catalog/datasets/preview/index.js");
/* harmony import */ var catalog_dataServices_DataServicesView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/dataServices/DataServicesView */ "./modules/catalog/dataServices/DataServicesView/index.js");
/* harmony import */ var catalog_catalogs_CatalogOverview__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/catalogs/CatalogOverview */ "./modules/catalog/catalogs/CatalogOverview/index.js");
/* harmony import */ var catalog_publishers_PublishersView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! catalog/publishers/PublishersView */ "./modules/catalog/publishers/PublishersView/index.js");
/* harmony import */ var catalog_suggestions_SuggestionsView__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/suggestions/SuggestionsView */ "./modules/catalog/suggestions/SuggestionsView/index.js");
/* harmony import */ var catalog_documents_DocumentsView__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/documents/DocumentsView */ "./modules/catalog/documents/DocumentsView/index.js");
/* harmony import */ var catalog_statistics__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/statistics */ "./modules/catalog/statistics/index.js");
/* harmony import */ var commons_components_views_EntityListView__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/views/EntityListView */ "./modules/commons/components/views/EntityListView/index.js");
/* harmony import */ var commons_components_EntityOverview__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/EntityOverview */ "./modules/commons/components/EntityOverview/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./config */ "./modules/catalog/config/config.js");
























/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  modules: [{
    name: 'catalog',
    productName: {
      en: 'Catalog',
      sv: 'Catalog',
      de: 'Catalog'
    },
    faClass: 'archive',
    startView: 'catalog__list',
    // compulsory
    sidebar: true,
    getLayoutProps: commons_util_site__WEBPACK_IMPORTED_MODULE_22__.getSecondaryNavViewsFromEntityTypes
  }],
  views: [{
    name: _config__WEBPACK_IMPORTED_MODULE_23__.CATALOGS_LISTVIEW,
    class: catalog_catalogs_CatalogsView__WEBPACK_IMPORTED_MODULE_0__["default"],
    title: {
      en: 'Catalogs',
      sv: 'Kataloger',
      da: 'Kataloger',
      de: 'Kataloge'
    },
    constructorParams: {
      rowClickView: _config__WEBPACK_IMPORTED_MODULE_23__.CATALOG_OVERVIEW_NAME
    },
    faClass: 'archive',
    route: '/catalog',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.CATALOG_OVERVIEW_NAME,
    title: {
      en: 'Overview',
      sv: 'Översikt',
      de: 'Überblick'
    },
    class: catalog_catalogs_CatalogOverview__WEBPACK_IMPORTED_MODULE_15__["default"],
    faClass: 'eye',
    route: '/catalog/:contextId/overview',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.SUGGESTIONS_LISTVIEW,
    title: {
      en: 'Sug\u00ADges\u00ADtions',
      sv: 'För\u00ADslag',
      de: 'Vor\u00ADschlä\u00ADge'
    },
    class: catalog_suggestions_SuggestionsView__WEBPACK_IMPORTED_MODULE_17__["default"],
    faClass: 'tasks',
    route: '/catalog/:contextId/suggestions',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.SUGGESTION_OVERVIEW_NAME,
    class: catalog_suggestions_SuggestionOverview__WEBPACK_IMPORTED_MODULE_7__["default"],
    title: {
      en: 'Sug\u00ADges\u00ADtion',
      //  TODO: translate singular
      sv: 'För\u00ADslag',
      de: 'Vor\u00ADschlä\u00ADge'
    },
    route: '/catalog/:contextId/suggestions/:entryId/overview',
    parent: 'catalog__suggestions',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.DATASETS_LISTVIEW,
    class: catalog_datasets_DatasetsView__WEBPACK_IMPORTED_MODULE_1__["default"],
    faClass: 'cubes',
    title: {
      en: 'Datasets',
      sv: 'Data\u00ADmängder',
      da: 'Datasæt',
      de: 'Daten\u00ADsätze'
    },
    constructorParams: {
      createAndRemoveDistributions: true
    },
    route: '/catalog/:contextId/datasets',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.DATASET_OVERVIEW_NAME,
    class: catalog_datasets_DatasetOverview__WEBPACK_IMPORTED_MODULE_5__["default"],
    faClass: 'cubes',
    title: {
      en: 'Dataset',
      sv: 'Data\u00ADmängd',
      da: 'Datasæt',
      de: 'Daten\u00ADsatz'
    },
    constructorParams: {
      createAndRemoveDistributions: true
    },
    route: '/catalog/:contextId/datasets/:entryId/overview',
    parent: 'catalog__datasets',
    module: 'catalog'
  }, {
    name: 'catalog__datasets__preview',
    class: catalog_datasets_preview__WEBPACK_IMPORTED_MODULE_13__["default"],
    title: {
      en: 'Dataset',
      sv: 'Data\u00ADmängd',
      da: 'Datasæt',
      de: 'Daten\u00ADsatz'
    },
    route: '/catalog/:contextId/datasets/:entryId',
    parent: 'catalog__datasets__dataset',
    module: 'catalog',
    public: true
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.DATASERVICES_LISTVIEW,
    title: {
      en: 'Data services',
      sv: 'Datatjänster',
      de: 'Datendienste'
    },
    class: catalog_dataServices_DataServicesView__WEBPACK_IMPORTED_MODULE_14__["default"],
    faClass: 'exchange-alt',
    route: '/catalog/:contextId/dataservices',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.DATA_SERVICE_OVERVIEW_NAME,
    class: catalog_dataServices_DataServiceOverview__WEBPACK_IMPORTED_MODULE_8__["default"],
    title: {
      en: 'Data service',
      //  TODO: translate singular
      sv: 'Datatjänster',
      de: 'Datendienste'
    },
    route: '/catalog/:contextId/dataservices/:entryId/overview',
    parent: 'catalog__dataservices',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.SHOWCASES_LISTVIEW,
    title: {
      en: 'Showcases',
      sv: 'Showcases',
      da: 'Showcases',
      de: 'Showcases'
    },
    class: catalog_showcases_ShowcasesView__WEBPACK_IMPORTED_MODULE_2__["default"],
    faClass: 'gem',
    route: '/catalog/:contextId/showcases',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.SHOWCASE_OVERVIEW_NAME,
    class: catalog_showcases_ShowcaseOverview__WEBPACK_IMPORTED_MODULE_9__["default"],
    title: {
      en: 'Showcase',
      sv: 'Showcase',
      de: 'Showcase'
    },
    route: '/catalog/:contextId/showcases/:entryId/overview',
    parent: 'catalog__showcases',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.IDEAS_LISTVIEW,
    title: {
      en: 'Ideas',
      sv: 'Idéer',
      da: 'Ideer',
      de: 'Ideen'
    },
    class: catalog_ideas_IdeasView__WEBPACK_IMPORTED_MODULE_3__["default"],
    faClass: 'lightbulb',
    route: '/catalog/:contextId/ideas',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.IDEA_OVERVIEW_NAME,
    class: catalog_ideas_IdeaOverview__WEBPACK_IMPORTED_MODULE_11__["default"],
    title: {
      en: 'Ideas',
      //  TODO: translate singular
      sv: 'Idéer',
      da: 'Ideer',
      de: 'Ideen'
    },
    route: '/catalog/:contextId/ideas/:entryId/overview',
    parent: 'catalog__ideas',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.PUBLISHERS_LISTVIEW,
    class: catalog_publishers_PublishersView__WEBPACK_IMPORTED_MODULE_16__["default"],
    faClass: 'users',
    title: {
      en: 'Publishers',
      sv: 'Organisa\u00ADtioner',
      da: 'Organisa\u00ADtioner',
      de: 'Heraus\u00ADgeber'
    },
    constructorParams: {
      publishers: true,
      contacts: false
    },
    route: '/catalog/:contextId/publishers',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.PUBLISHER_OVERVIEW_NAME,
    class: catalog_publishers_PublisherOverview__WEBPACK_IMPORTED_MODULE_6__["default"],
    title: {
      en: 'Publisher',
      sv: 'Organisa\u00ADtioner',
      da: 'Organisa\u00ADtioner',
      de: 'Heraus\u00ADgeber'
    },
    route: '/catalog/:contextId/publishers/:entryId/overview',
    parent: 'catalog__publishers',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.CONTACTS_LISTVIEW,
    class: catalog_contacts_ContactsView__WEBPACK_IMPORTED_MODULE_4__["default"],
    faClass: 'phone',
    title: {
      en: 'Contacts',
      sv: 'Kontakter',
      da: 'Kontakter',
      de: 'Kontakte'
    },
    constructorParams: {
      publishers: false,
      contacts: true
    },
    route: '/catalog/:contextId/contacts',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.CONTACT_OVERVIEW_NAME,
    class: catalog_contacts_ContactOverview__WEBPACK_IMPORTED_MODULE_10__["default"],
    title: {
      en: 'Contact',
      //  TODO: translate singular
      sv: 'Kontakter',
      da: 'Kontakter',
      de: 'Kontakte'
    },
    route: '/catalog/:contextId/contacts/:entryId/overview',
    parent: 'catalog__contacts',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.DOCUMENTS_LISTVIEW,
    class: catalog_documents_DocumentsView__WEBPACK_IMPORTED_MODULE_18__["default"],
    faClass: 'file',
    title: {
      en: 'Documents',
      sv: 'Dokument',
      de: 'Dokumente'
    },
    route: '/catalog/:contextId/documents',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.DOCUMENT_OVERVIEW_NAME,
    class: catalog_documents_DocumentOverview__WEBPACK_IMPORTED_MODULE_12__["default"],
    title: {
      en: 'Document',
      //  TODO: translate singular
      sv: 'Dokument',
      de: 'Dokumente'
    },
    route: '/catalog/:contextId/documents/:entryId/overview',
    parent: 'catalog__documents',
    module: 'catalog'
  }, {
    name: 'catalog__entities__type',
    class: commons_components_views_EntityListView__WEBPACK_IMPORTED_MODULE_20__["default"],
    title: {
      en: 'Entities',
      sv: 'Entiteter',
      de: 'Objekte'
    },
    route: '/catalog/:contextId/:entityName',
    parent: 'catalog__list',
    module: 'catalog'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_23__.CATALOG_ENTITY_OVERVIEW_NAME,
    class: commons_components_EntityOverview__WEBPACK_IMPORTED_MODULE_21__["default"],
    title: {
      en: 'Entity',
      sv: 'Entitet',
      de: 'Objekt'
    },
    route: '/catalog/:contextId/:entityName/:entryId/overview',
    parent: 'catalog__entities__type',
    module: 'catalog'
  }, {
    name: 'catalog__statistics',
    title: {
      en: 'Statistics',
      sv: 'Statistik',
      de: 'Statistik'
    },
    class: catalog_statistics__WEBPACK_IMPORTED_MODULE_19__["default"],
    // StatisticsView,
    faClass: 'chart-bar',
    route: '/catalog/:contextId/statistics',
    parent: 'catalog__list',
    module: 'catalog'
  }]
});

/***/ },

/***/ "./modules/catalog/contacts/ContactOverview/ContactOverview.js"
/*!*********************************************************************!*\
  !*** ./modules/catalog/contacts/ContactOverview/ContactOverview.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaContacts.nls */ "./modules/catalog/nls/escaContacts.nls");
/* harmony import */ var catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./actions */ "./modules/catalog/contacts/ContactOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
























const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default())];
const ContactOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getViewDefFromName)('catalog__contacts__contact');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_22__.localize)(viewDefinition.title);
  const descriptionItems = [{
    id: 'catalog',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_6__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__["default"], _extends({}, overviewProps, {
    backLabel: t('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_21__["default"]
    }),
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_23__.sidebarActions
  }));
};
ContactOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.withOverviewModelProvider)(ContactOverview));

/***/ },

/***/ "./modules/catalog/contacts/ContactOverview/actions.js"
/*!*************************************************************!*\
  !*** ./modules/catalog/contacts/ContactOverview/actions.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

const sidebarActions = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  getProps: () => ({
    action: {
      checkReferences: true
    }
  })
})];


/***/ },

/***/ "./modules/catalog/contacts/ContactOverview/index.js"
/*!***********************************************************!*\
  !*** ./modules/catalog/contacts/ContactOverview/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ContactOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ContactOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContactOverview */ "./modules/catalog/contacts/ContactOverview/ContactOverview.js");


/***/ },

/***/ "./modules/catalog/contacts/ContactsView/ContactsView.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/contacts/ContactsView/ContactsView.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_components_filters_hooks_useRestrictedContextPlaceholder__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/filters/hooks/useRestrictedContextPlaceholder */ "./modules/commons/components/filters/hooks/useRestrictedContextPlaceholder.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./actions */ "./modules/catalog/contacts/ContactsView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "isLoading", "hasFilters"],
  _excluded2 = ["callbackResults"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const getAllContextsEnabled = () => {
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getByName('contactPoint');
  return Boolean(entityType === null || entityType === void 0 ? void 0 : entityType.get('allContexts'));
};
const ContactsView = _ref => {
  let {
    listProps
  } = _ref;
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.useListModel)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__.useESContext)();
  const contextId = context.getId();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles);
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getByName('contactPoint');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_19__.getDraftsEnabled)(entityType);
  const includeContextFilter = getAllContextsEnabled();
  const filters = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => [...(includeContextFilter && !showTableView ? [_objectSpread(_objectSpread({}, commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__.CONTEXT_CHECKBOX_FILTER), {}, {
    headerNlsKey: 'contextFilterHeaderCatalog',
    loadItems: () => [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__.ANY_FILTER_ITEM, {
      value: contextId
    }],
    defaultValue: contextId,
    initialSelection: contextId
  })] : []), ...(draftsEnabled ? [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__.DRAFT_STATUS_FILTER] : [])], [includeContextFilter, draftsEnabled, contextId, showTableView]);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__["default"])(filters, _actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const query = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CONTACT);
    if (!includeContextFilter) query.context(context);
    return query;
  }, [context, includeContextFilter]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.useSolrQuery)({
      createQuery,
      applyFilters,
      wait: isLoading,
      callback: includeContextFilter ? commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.getContextEntriesCallback : commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.getItemsCallback
    }),
    {
      callbackResults: items = []
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded2);
  const {
    shouldShowCustomPlaceholder,
    handleSelectAllContexts
  } = (0,commons_components_filters_hooks_useRestrictedContextPlaceholder__WEBPACK_IMPORTED_MODULE_16__["default"])({
    filterProps,
    includeContextFilter,
    contextId,
    queryResults,
    dispatch
  });
  const getTitleWithContextProps = _ref2 => {
    let {
      entry
    } = _ref2;
    if (contextId === entry.getContext().getId()) {
      return {
        primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getFullLengthLabel)(entry)
      };
    }
    return {
      primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getFullLengthLabel)(entry),
      secondary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getFullLengthLabel)(entry.getContext().getEntry(true))
    };
  };
  const getCanAccessOverview = entry => {
    const overviewName = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_19__.getOverviewName)(entityType);
    return Boolean(overviewName && entry.canAdministerEntry());
  };
  return showTableView ? /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_10__["default"], {
    setTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.TOGGLE_TABLEVIEW
    }),
    rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CONTACT,
    templateId: commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getByName('contactPoint').complementaryTemplateId()
  }) : /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.EntryListView, _extends({}, queryResults, listProps, {
    items: items,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    getListItemProps: _ref3 => {
      let {
        entry
      } = _ref3;
      return getCanAccessOverview(entry) ? {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_11__.getPathFromViewName)('catalog__contacts__contact', {
          contextId: entry.getContext().getId(),
          entryId: entry.getId()
        })
      } : {
        tooltip: translate('noAccessTooltip')
      };
    },
    listPlaceholderProps: shouldShowCustomPlaceholder ? {
      label: translate('noContactsInCatalog'),
      children: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        onClick: handleSelectAllContexts,
        sx: {
          marginTop: '-24px'
        }
      }, translate('showContactsFromAllCatalogs'))
    } : undefined,
    includeTableView: true,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_21__.listActions,
    listActionsProps: {
      nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.STATUS_COLUMN), {}, {
      getProps: _ref4 => {
        let {
          entry,
          translate
        } = _ref4;
        return {
          entry,
          draftsEnabled,
          publicTooltip: translate('publicTitle'),
          privateTooltip: translate('privateTitle')
        };
      }
    }), includeContextFilter ? _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.TITLE_WITH_CONTEXT_COLUMN), {}, {
      getProps: getTitleWithContextProps
    }) : _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__.LIST_ACTION_INFO, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__.LIST_ACTION_EDIT), {}, {
        isVisible: _ref5 => {
          let {
            entry
          } = _ref5;
          return entry.canAdministerEntry();
        }
      })]
    })]
  }));
};
ContactsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.withListModelProviderAndLocation)(ContactsView, () => ({
  showFilters: getAllContextsEnabled()
})));

/***/ },

/***/ "./modules/catalog/contacts/ContactsView/actions.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/contacts/ContactsView/actions.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var catalog_contacts_dialogs_CreateContactsDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/contacts/dialogs/CreateContactsDialog */ "./modules/catalog/contacts/dialogs/CreateContactsDialog/index.js");
/* harmony import */ var catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaContacts.nls */ "./modules/catalog/nls/escaContacts.nls");
/* harmony import */ var catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");




const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default()), (catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_1___default())];
const listActions = [{
  id: 'create',
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__.withListRefresh)(catalog_contacts_dialogs_CreateContactsDialog__WEBPACK_IMPORTED_MODULE_0__["default"], 'onCreate'),
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'actionTooltipContact',
  highlightId: 'listActionCreate'
}];


/***/ },

/***/ "./modules/catalog/contacts/ContactsView/index.js"
/*!********************************************************!*\
  !*** ./modules/catalog/contacts/ContactsView/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ContactsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ContactsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContactsView */ "./modules/catalog/contacts/ContactsView/ContactsView.js");


/***/ },

/***/ "./modules/catalog/contacts/dialogs/CreateContactsDialog/CreateContactsDialog.js"
/*!***************************************************************************************!*\
  !*** ./modules/catalog/contacts/dialogs/CreateContactsDialog/CreateContactsDialog.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/nls/escaContacts.nls */ "./modules/catalog/nls/escaContacts.nls");
/* harmony import */ var catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["onCreate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }















/**
 *
 * @param {Context} context
 * @returns {Entry}
 */
const createPrototypeEntry = context => {
  const [, defaultRdfContactType] = commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CONTACT;
  const prototypeEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_4__.createEntry)(context, defaultRdfContactType);
  prototypeEntry.getMetadata().add(prototypeEntry.getResourceURI(), 'rdf:type', defaultRdfContactType);
  return prototypeEntry;
};
const CreateContactsDialog = _ref => {
  let {
      onCreate
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((catalog_nls_escaContacts_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_12__.useSnackbar)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__.useESContext)();
  const [prototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(() => createPrototypeEntry(context));
  return /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({}, props, {
    entry: prototypeEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_9__.LEVEL_RECOMMENDED,
    createHeaderLabel: translate('createContactpointHeader'),
    onEntryEdit: () => {
      onCreate();
      addSnackbar({
        message: translate('createContactSuccess')
      });
    }
  }));
};
CreateContactsDialog.propTypes = {
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateContactsDialog);

/***/ },

/***/ "./modules/catalog/contacts/dialogs/CreateContactsDialog/index.js"
/*!************************************************************************!*\
  !*** ./modules/catalog/contacts/dialogs/CreateContactsDialog/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateContactsDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateContactsDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateContactsDialog */ "./modules/catalog/contacts/dialogs/CreateContactsDialog/CreateContactsDialog.js");


/***/ },

/***/ "./modules/catalog/dataServices/DataServiceOverview/DataServiceOverview.js"
/*!*********************************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServiceOverview/DataServiceOverview.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/nls/escaServices.nls */ "./modules/catalog/nls/escaServices.nls");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");
/* harmony import */ var catalog_hooks_usePublishStatus__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! catalog/hooks/usePublishStatus */ "./modules/catalog/hooks/usePublishStatus.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./actions */ "./modules/catalog/dataServices/DataServiceOverview/actions.js");
/* harmony import */ var _DatasetList_DatasetList__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./DatasetList/DatasetList */ "./modules/catalog/dataServices/DataServiceOverview/DatasetList/DatasetList.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





























const nlsBundles = [(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_19___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13___default())];
const DataServiceOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_5__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)(nlsBundles);
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_15__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_8__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_22__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_18__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_17__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_9__.getViewDefFromName)('catalog__dataservices__dataservice');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_24__.localize)(viewDefinition.title);
  const hasPSIValue = !(0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_25__.isEntryPSI)(entry);
  const includeInternalPublish = !hasPSIValue && config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.includeInternalPublish');
  const includePSISwitch = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.allowInternalDatasetPublish');
  const [dataServiceStatus, updateStatus] = (0,catalog_hooks_usePublishStatus__WEBPACK_IMPORTED_MODULE_26__["default"])(entry);
  const descriptionItems = [{
    id: 'catalog',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_20__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_16__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_21__["default"], _extends({}, overviewProps, {
    backLabel: translate('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_20__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_23__["default"]
    }),
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_27__.sidebarActions,
    sidebarProps: {
      translate,
      catalogEntry,
      dataServiceStatus,
      onChange: updateStatus,
      includeInternalPublish,
      includePSISwitch
    }
  }), /*#__PURE__*/React.createElement(_DatasetList_DatasetList__WEBPACK_IMPORTED_MODULE_28__["default"], null));
};
DataServiceOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_22__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_22__.withOverviewModelProvider)(DataServiceOverview));

/***/ },

/***/ "./modules/catalog/dataServices/DataServiceOverview/DatasetList/DatasetList.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServiceOverview/DatasetList/DatasetList.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/chunk.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/uniq.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var catalog_nls_escaCatalogSearch_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/nls/escaCatalogSearch.nls */ "./modules/catalog/nls/escaCatalogSearch.nls");
/* harmony import */ var catalog_nls_escaCatalogSearch_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalogSearch_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
























const nlsBundles = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14___default()), (catalog_nls_escaCatalogSearch_nls__WEBPACK_IMPORTED_MODULE_15___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default())];
const SEARCH_FIELDS = ['label'];

/**
 * get all entries typed as distribution
 * and with the dcat:accessService property pointing to the dataservice,
 * and within the same context
 *
 * @param {object} dataserviceEntry
 * @returns {Promise<Array>} distributionEntries
 */
const getDistributionEntries = dataserviceEntry => {
  const resourceURI = dataserviceEntry.getResourceURI();
  const distributionEntries = commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_13__.RDF_TYPE_DISTRIBUTION).uriProperty('dcat:accessService', resourceURI).list().getEntries();
  return distributionEntries;
};

/**
 * @param {object} dataserviceEntry
 * @returns {Promise<Array>} datasetEntries
 */
const getRelatedDatasets = async dataserviceEntry => {
  const statements = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_13__.findResourceStatements)(dataserviceEntry, 'dcat:servesDataset');
  const servesDatasetURIs = statements.map(statement => statement.getValue());
  if (!servesDatasetURIs.length) return [];
  const local = await commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystoreUtil.loadEntriesByResourceURIs(servesDatasetURIs, undefined, true);
  return local.filter(Boolean);
};

/**
 * @param {object} dataserviceEntry
 * @returns {Promise} datasetEntries
 */
const getDatasetEntries = async dataserviceEntry => {
  const distributions = await getDistributionEntries(dataserviceEntry);
  const batchSize = 50;
  const datasetEntries = [];
  if (distributions.length > 50) {
    return {
      entries: [],
      exceededLimit: true
    };
  }
  const batchDistributionEntries = (0,lodash_es__WEBPACK_IMPORTED_MODULE_8__["default"])(distributions, batchSize);
  const batchEntriesPromises = batchDistributionEntries.map(batch => {
    const batchUris = batch.map(entry => entry.getResourceURI());
    return commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_13__.RDF_TYPE_DATASET).context(batch[0].getContext()).uriProperty('dcat:distribution', batchUris).list().getEntries();
  });
  const batchEntries = await Promise.all(batchEntriesPromises);
  datasetEntries.push(...batchEntries.flat());
  const relatedDatasets = await getRelatedDatasets(dataserviceEntry);
  const allLinkedDatasets = [...datasetEntries, ...relatedDatasets];
  return {
    entries: (0,lodash_es__WEBPACK_IMPORTED_MODULE_9__["default"])(allLinkedDatasets).map(entry => ({
      entry
    })),
    exceededLimit: false
  };
};
const DatasetList = () => {
  const dataserviceEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_21__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.useTranslation)(nlsBundles);
  const {
    runAsync,
    data: datasetItems,
    error,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_24__.useOverviewModel)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_20__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    runAsync(getDatasetEntries(dataserviceEntry));
  }, [runAsync, dataserviceEntry, refreshCount]);
  const listQueries = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.useListQuery)({
    items: datasetItems && datasetItems.entries,
    searchFields: SEARCH_FIELDS
  });
  const entries = listQueries === null || listQueries === void 0 ? void 0 : listQueries.result.map(_ref => {
    let {
      entry
    } = _ref;
    return entry;
  });
  const reshapedListQueries = _objectSpread(_objectSpread({}, listQueries), {}, {
    entries,
    exceededLimit: datasetItems && datasetItems.exceededLimit
  });
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_23__.OverviewListHeader, {
    heading: translate('datasetsHeading')
  }), /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.EntryListView, _extends({}, reshapedListQueries, {
    status: status,
    nlsBundles: nlsBundles,
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_10__.getPathFromViewName)('catalog__datasets__dataset', {
          contextId: entry.getContext().getId(),
          entryId: entry.getId()
        })
      };
    },
    includeDefaultListActions: false,
    includeHeader: false,
    renderViewPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_24__.OverviewListPlaceholder, {
      label: datasetItems && datasetItems.exceededLimit ? translate('tooManyConnectedDatasets') : translate('datasetsListPlaceholder')
    }),
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.TITLE_COLUMN), {}, {
      xs: 8
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_19__.LIST_ACTION_INFO, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_19__.LIST_ACTION_EDIT]
    })]
  })));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.withListModelProvider)(DatasetList));

/***/ },

/***/ "./modules/catalog/dataServices/DataServiceOverview/PublishDataService.js"
/*!********************************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServiceOverview/PublishDataService.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DataServicePSISwitch: () => (/* binding */ DataServicePSISwitch),
/* harmony export */   PublishDataService: () => (/* binding */ PublishDataService),
/* harmony export */   PublishDataServiceInternal: () => (/* binding */ PublishDataServiceInternal)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/overview/OverviewSidebarToggle */ "./modules/commons/components/overview/OverviewSidebarToggle/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PublicOff.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnLock.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");
/* harmony import */ var catalog_hooks_useIsPSI__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/hooks/useIsPSI */ "./modules/catalog/hooks/useIsPSI.js");
/* harmony import */ var _hooks_useDataServicePublish__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./hooks/useDataServicePublish */ "./modules/catalog/dataServices/DataServiceOverview/hooks/useDataServicePublish.js");
/* harmony import */ var _hooks_useDataServiceInternalPublish__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./hooks/useDataServiceInternalPublish */ "./modules/catalog/dataServices/DataServiceOverview/hooks/useDataServiceInternalPublish.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













const PublishDataServiceInternal = _ref => {
  let {
    entry,
    translate,
    dataServiceStatus,
    onChange
  } = _ref;
  const {
    toggleIsInternallyPublished,
    isLoading
  } = (0,_hooks_useDataServiceInternalPublish__WEBPACK_IMPORTED_MODULE_15__["default"])({
    entry,
    dataServiceStatus,
    onChange
  });
  const {
    isInternallyPublished,
    isPublished
  } = dataServiceStatus;
  const isDraft = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.isDraftEntry)(entry);
  const draftLabel = isDraft ? translate('draftDisabledDataserviceTitle') : null;
  const publishLabel = isPublished ? translate('internalPublishDisabled') : translate('internalPublishTitle');
  const switchTooltipLabel = draftLabel || publishLabel;
  const isDisabled = isDraft || isLoading || isPublished || !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.canWriteMetadata)(entry);
  return /*#__PURE__*/React.createElement(commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onChange: toggleIsInternallyPublished,
    isChecked: isInternallyPublished || isPublished,
    disabled: isDisabled,
    primaryLabel: translate('internalPublishStatus'),
    highlightId: "overviewInternalPublish",
    switchTooltipLabel: switchTooltipLabel,
    secondaryLabel: isInternallyPublished || isPublished ? translate('publishedStatus') : translate('unpublishedStatus'),
    icon: isInternallyPublished || isPublished ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null)
  });
};
PublishDataServiceInternal.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  dataServiceStatus: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    isDraft: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isPublished: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isInternallyPublished: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
  })
};
const PublishDataService = _ref2 => {
  let {
    entry,
    catalogEntry,
    translate,
    dataServiceStatus,
    includeInternalPublish,
    onChange
  } = _ref2;
  const {
    triggerAnimation
  } = (0,commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_12__.useAnimation)();
  const onChangeWithAnimation = (params, domNode) => {
    onChange(params);
    if (params.isPublished && domNode) {
      triggerAnimation(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_12__.BALLOON, {
        ref: {
          current: domNode
        },
        uniqueId: entry.getId()
      });
    }
  };
  const {
    toggleIsPublished,
    isLoading
  } = (0,_hooks_useDataServicePublish__WEBPACK_IMPORTED_MODULE_14__["default"])({
    entry,
    dataServiceStatus,
    onChange: onChangeWithAnimation
  });
  const {
    isPublished
  } = dataServiceStatus;
  const isDraft = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.isDraftEntry)(entry);
  const draftLabel = isDraft ? translate('draftDisabledDataserviceTitle') : null;
  const isCatalogPublic = catalogEntry === null || catalogEntry === void 0 ? void 0 : catalogEntry.isPublic();
  const catalogPublicLabel = !isCatalogPublic ? translate('privateDisabledServiceTitle') : null;
  const publishLabel = isPublished ? translate('publicServiceTitle') : translate('privateServiceTitle');
  const switchTooltipLabel = draftLabel || catalogPublicLabel || publishLabel;
  const isDisabled = isDraft || !catalogEntry || !isCatalogPublic || isLoading;
  return /*#__PURE__*/React.createElement(commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onChange: toggleIsPublished,
    isChecked: isPublished,
    disabled: isDisabled,
    primaryLabel: includeInternalPublish ? translate('externalPublishStatus') : translate('publishedTitle'),
    secondaryLabel: isPublished ? translate('publishedStatus') : translate('unpublishedStatus'),
    icon: isPublished ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null),
    highlightId: "overviewPublish",
    switchTooltipLabel: switchTooltipLabel
  });
};
PublishDataService.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  catalogEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  includeInternalPublish: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  dataServiceStatus: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    isDraft: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isPublished: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
  })
};
const DataServicePSISwitch = _ref3 => {
  let {
    entry,
    translate,
    onChange
  } = _ref3;
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const [isPSI, toggleIsPSI] = (0,catalog_hooks_useIsPSI__WEBPACK_IMPORTED_MODULE_13__["default"])(entry);
  const handlePSIChange = async () => {
    const proceed = await getConfirmationDialog({
      content: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_11__.renderHtmlString)(translate('togglePsiDataServicePrompt')),
      rejectLabel: translate('cancel'),
      affirmLabel: translate('ok')
    });
    if (!proceed) return;
    await toggleIsPSI();
    onChange();
  };
  return /*#__PURE__*/React.createElement(commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onChange: handlePSIChange,
    isChecked: isPSI,
    disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.canWriteMetadata)(entry),
    primaryLabel: translate('psiDataServiceLabel'),
    highlightId: "overviewPsi",
    secondaryLabel: isPSI ? translate('activeTitle') : translate('inactiveTitle'),
    listItemTextTooltipLabel: translate('psiDataServiceTooltip'),
    icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null)
  });
};
DataServicePSISwitch.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};

/***/ },

/***/ "./modules/catalog/dataServices/DataServiceOverview/actions.js"
/*!*********************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServiceOverview/actions.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var _dialogs_RemoveDataServiceDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dialogs/RemoveDataServiceDialog */ "./modules/catalog/dataServices/dialogs/RemoveDataServiceDialog/index.js");
/* harmony import */ var _PublishDataService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./PublishDataService */ "./modules/catalog/dataServices/DataServiceOverview/PublishDataService.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




const sidebarActions = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveDataServiceDialog__WEBPACK_IMPORTED_MODULE_3__["default"]
}), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_DIVIDER, {
  id: 'internal-publish',
  Component: _PublishDataService__WEBPACK_IMPORTED_MODULE_4__.PublishDataServiceInternal,
  isVisible: _ref => {
    let {
      includeInternalPublish
    } = _ref;
    return includeInternalPublish;
  },
  getProps: _ref2 => {
    let {
      entry,
      translate,
      dataServiceStatus,
      onChange
    } = _ref2;
    return {
      entry,
      translate,
      dataServiceStatus,
      onChange
    };
  }
}, {
  id: 'publish',
  Component: _PublishDataService__WEBPACK_IMPORTED_MODULE_4__.PublishDataService,
  getProps: _ref3 => {
    let {
      entry,
      catalogEntry,
      translate,
      dataServiceStatus,
      includeInternalPublish,
      onChange
    } = _ref3;
    return {
      entry,
      catalogEntry,
      translate,
      dataServiceStatus,
      includeInternalPublish,
      onChange
    };
  }
}, {
  id: 'psi',
  Component: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_2__.withOverviewRefresh)(_PublishDataService__WEBPACK_IMPORTED_MODULE_4__.DataServicePSISwitch, 'onChange'),
  isVisible: _ref4 => {
    let {
      includePSISwitch,
      includeInternalPublish
    } = _ref4;
    return includePSISwitch && !includeInternalPublish;
  },
  getProps: _ref5 => {
    let {
      translate,
      entry
    } = _ref5;
    return {
      translate,
      entry
    };
  }
}];


/***/ },

/***/ "./modules/catalog/dataServices/DataServiceOverview/hooks/useDataServiceInternalPublish.js"
/*!*************************************************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServiceOverview/hooks/useDataServiceInternalPublish.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaServices.nls */ "./modules/catalog/nls/escaServices.nls");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/hooks/usePublishToggle */ "./modules/catalog/hooks/usePublishToggle.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");



const useDataServiceInternalPublish = _ref => {
  let {
    entry,
    dataServiceStatus,
    onChange: _onChange
  } = _ref;
  const {
    isInternallyPublished
  } = dataServiceStatus;
  const getSuccessMessage = (newValue, translate) => translate(newValue ? 'publishDataServiceSuccess' : 'unpublishDataServiceSuccess');
  const getErrorMessage = (currentValue, translate) => translate(currentValue ? 'unpublishDataServiceFail' : 'publishDataServiceFail');
  const toggleFn = _ref2 => {
    let {
      entry
    } = _ref2;
    return isInternallyPublished ? (0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_2__.unpublishInternally)(entry) : (0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_2__.publishInternally)(entry);
  };
  const {
    toggle: toggleIsInternallyPublished,
    isLoading
  } = (0,catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_1__["default"])({
    entry,
    nlsBundles: (catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0___default()),
    currentValue: isInternallyPublished,
    onChange: newValue => _onChange({
      isInternallyPublished: newValue
    }),
    noAccessNls: 'dataServiceSharingNoAccess',
    toggleFn,
    getSuccessMessage,
    getErrorMessage
  });
  return {
    toggleIsInternallyPublished,
    isLoading
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDataServiceInternalPublish);

/***/ },

/***/ "./modules/catalog/dataServices/DataServiceOverview/hooks/useDataServicePublish.js"
/*!*****************************************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServiceOverview/hooks/useDataServicePublish.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaServices.nls */ "./modules/catalog/nls/escaServices.nls");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/hooks/usePublishToggle */ "./modules/catalog/hooks/usePublishToggle.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");



const useDataServicePublish = _ref => {
  let {
    entry,
    dataServiceStatus,
    onChange: _onChange
  } = _ref;
  const {
    isPublished
  } = dataServiceStatus;
  const getSuccessMessage = (newValue, translate) => translate(newValue ? 'publishDataServiceSuccess' : 'unpublishDataServiceSuccess');
  const getErrorMessage = (currentValue, translate) => translate(currentValue ? 'unpublishDataServiceFail' : 'publishDataServiceFail');
  const toggleFn = _ref2 => {
    let {
      entry,
      groupEntry
    } = _ref2;
    return isPublished ? (0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_2__.unpublish)(entry, groupEntry) : (0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_2__.publish)(entry);
  };
  const {
    toggle: toggleIsPublished,
    isLoading
  } = (0,catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_1__["default"])({
    entry,
    nlsBundles: (catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_0___default()),
    currentValue: isPublished,
    onChange: (newValue, domNode) => _onChange({
      isPublished: newValue,
      isInternallyPublished: newValue
    }, domNode),
    noAccessNls: 'dataServiceSharingNoAccess',
    toggleFn,
    getSuccessMessage,
    getErrorMessage
  });
  return {
    toggleIsPublished,
    isLoading
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDataServicePublish);

/***/ },

/***/ "./modules/catalog/dataServices/DataServiceOverview/index.js"
/*!*******************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServiceOverview/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DataServiceOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DataServiceOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DataServiceOverview */ "./modules/catalog/dataServices/DataServiceOverview/DataServiceOverview.js");


/***/ },

/***/ "./modules/catalog/dataServices/DataServicesView/DataServicesView.js"
/*!***************************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServicesView/DataServicesView.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/nls/escaServices.nls */ "./modules/catalog/nls/escaServices.nls");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./actions */ "./modules/catalog/dataServices/DataServicesView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["applyFilters", "isLoading", "hasFilters"];


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
















const FILTERS = [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__.DRAFT_STATUS_FILTER, commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__.HVD_FILTER];
const NLS_BUNDLES = [(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_8___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default())];
const DataServicesListView = _ref => {
  let {
    listProps
  } = _ref;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__.useESContext)();
  const dataserviceEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getByName('dataService');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_18__.getDraftsEnabled)(dataserviceEntityType);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_17__["default"])(FILTERS, NLS_BUNDLES),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.RDF_TYPE_DATASERVICE).context(context), [context]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.useSolrQuery)({
    createQuery,
    applyFilters,
    wait: isLoading
  });
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.EntryListView, _extends({}, queryResults, listProps, {
    nlsBundles: NLS_BUNDLES,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_11__.getPathFromViewName)('catalog__dataservices__dataservice', {
          contextId: context.getId(),
          entryId: entry.getId()
        })
      };
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.STATUS_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry,
          translate
        } = _ref3;
        return {
          entry,
          draftsEnabled,
          publicTooltip: translate('publicServiceTitle'),
          privateTooltip: translate('privateServiceTitle')
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__.LIST_ACTION_INFO, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__.LIST_ACTION_EDIT]
    })],
    includeTableView: true,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_19__.listActions,
    listActionsProps: {
      nlsBundles: NLS_BUNDLES
    }
  }));
};
DataServicesListView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.listPropsPropType
};
const DataServicesView = _ref4 => {
  let {
    listProps
  } = _ref4;
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.useListModel)();
  return showTableView ? /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_7__["default"], {
    setTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.TOGGLE_TABLEVIEW
    }),
    rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.RDF_TYPE_DATASERVICE,
    templateId: commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getByName('dataService').complementaryTemplateId(),
    filterScheme: FILTERS,
    nlsBundles: NLS_BUNDLES
  }) : /*#__PURE__*/React.createElement(DataServicesListView, {
    listProps: listProps
  });
};
DataServicesView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.withListModelProviderAndLocation)(DataServicesView));

/***/ },

/***/ "./modules/catalog/dataServices/DataServicesView/actions.js"
/*!******************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServicesView/actions.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions)
/* harmony export */ });
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _dialogs_CreateDataServiceDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dialogs/CreateDataServiceDialog */ "./modules/catalog/dataServices/dialogs/CreateDataServiceDialog/index.js");


const listActions = [{
  id: 'create',
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__.withListRefresh)(_dialogs_CreateDataServiceDialog__WEBPACK_IMPORTED_MODULE_1__["default"], 'onCreate'),
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'actionTooltip',
  highlightId: 'listActionCreate'
}];

/***/ },

/***/ "./modules/catalog/dataServices/DataServicesView/index.js"
/*!****************************************************************!*\
  !*** ./modules/catalog/dataServices/DataServicesView/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DataServicesView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DataServicesView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DataServicesView */ "./modules/catalog/dataServices/DataServicesView/DataServicesView.js");


/***/ },

/***/ "./modules/catalog/dataServices/dialogs/CreateDataServiceDialog/CreateDataServiceDialog.js"
/*!*************************************************************************************************!*\
  !*** ./modules/catalog/dataServices/dialogs/CreateDataServiceDialog/CreateDataServiceDialog.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_dataServices_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/dataServices/utils */ "./modules/catalog/dataServices/utils.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_dataServices__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/dataServices */ "./modules/catalog/datasets/DatasetOverview/utils/dataServices.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/nls/escaServices.nls */ "./modules/catalog/nls/escaServices.nls");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["onCreate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








// eslint-disable-next-line max-len





const CreateDataServiceDialog = _ref => {
  let {
      onCreate
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)((catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_15___default()));
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    data: prototypeEntry,
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__["default"])(null);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_16__.useSnackbar)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_13__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    runAsync((0,catalog_dataServices_utils__WEBPACK_IMPORTED_MODULE_9__.createPrototypeDataServiceEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASERVICE));
  }, [context, runAsync]);
  const handleCreateEntry = async (dataServicePrototypeEntry, graph) => {
    const dataServiceEntry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.commitMetadata)(dataServicePrototypeEntry, graph);
    await (0,catalog_datasets_DatasetOverview_utils_dataServices__WEBPACK_IMPORTED_MODULE_10__.updateCatalogWithDataService)(dataServiceEntry);
    onCreate();
    addSnackbar({
      message: translate('createSuccessMessage')
    });
    return dataServiceEntry;
  };
  return prototypeEntry ? /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_12__["default"]
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, props, {
    entry: prototypeEntry,
    createEntry: handleCreateEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_11__.LEVEL_MANDATORY,
    createHeaderLabel: translate('createHeader')
  })) : null;
};
CreateDataServiceDialog.propTypes = {
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDataServiceDialog);

/***/ },

/***/ "./modules/catalog/dataServices/dialogs/CreateDataServiceDialog/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/catalog/dataServices/dialogs/CreateDataServiceDialog/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDataServiceDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDataServiceDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDataServiceDialog */ "./modules/catalog/dataServices/dialogs/CreateDataServiceDialog/CreateDataServiceDialog.js");


/***/ },

/***/ "./modules/catalog/dataServices/dialogs/RemoveDataServiceDialog/RemoveDataServiceDialog.js"
/*!*************************************************************************************************!*\
  !*** ./modules/catalog/dataServices/dialogs/RemoveDataServiceDialog/RemoveDataServiceDialog.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/nls/escaServices.nls */ "./modules/catalog/nls/escaServices.nls");
/* harmony import */ var catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/references/useCheckReferences */ "./modules/commons/hooks/references/useCheckReferences.js");
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var commons_errors_DialogFallbackComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/errors/DialogFallbackComponent */ "./modules/commons/errors/DialogFallbackComponent/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../utils */ "./modules/catalog/dataServices/utils.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }














const RemoveDataServiceDialog = _ref => {
  let {
      entry: dataserviceEntry,
      closeDialog
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  const {
    goBack
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const ignoreCallback = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(entry => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_14__.checkHasProperty)(entry, 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_14__.RDF_TYPE_CATALOG), []);
  const {
    references,
    checkReferencesStatus
  } = (0,commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_10__["default"])({
    entry: dataserviceEntry,
    nlsBundles: [(catalog_nls_escaServices_nls__WEBPACK_IMPORTED_MODULE_7___default())],
    callback: closeDialog,
    ignoreCallback
  });
  const handleRemove = async () => {
    try {
      await (0,_utils__WEBPACK_IMPORTED_MODULE_15__.removeDataService)(dataserviceEntry);
      goBack();
    } catch (error) {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_9__.ErrorWithMessage(translate('unableToRemoveDataservice'), error);
    }
  };
  if (checkReferencesStatus !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__.RESOLVED || references.length !== 0) return null;
  return /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_11__["default"], {
    FallbackComponent: commons_errors_DialogFallbackComponent__WEBPACK_IMPORTED_MODULE_13__["default"],
    onReset: closeDialog
  }, /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_12__["default"], _extends({}, rest, {
    onRemove: handleRemove,
    closeDialog: closeDialog
  })));
};
RemoveDataServiceDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveDataServiceDialog);

/***/ },

/***/ "./modules/catalog/dataServices/dialogs/RemoveDataServiceDialog/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/catalog/dataServices/dialogs/RemoveDataServiceDialog/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveDataServiceDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveDataServiceDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveDataServiceDialog */ "./modules/catalog/dataServices/dialogs/RemoveDataServiceDialog/RemoveDataServiceDialog.js");


/***/ },

/***/ "./modules/catalog/dataServices/utils.js"
/*!***********************************************!*\
  !*** ./modules/catalog/dataServices/utils.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createPrototypeDataServiceEntry: () => (/* binding */ createPrototypeDataServiceEntry),
/* harmony export */   removeDataService: () => (/* binding */ removeDataService)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");







/**
 * Create a dataservice prototype
 *
 * @param {Context} context
 * @param {string} rdfType
 * @returns {Entry}
 */
const createPrototypeDataServiceEntry = async (context, rdfType) => {
  const dataServicePrototype = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.createEntry)(context, rdfType);
  const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.getGroupWithHomeContext)(dataServicePrototype.getContext());
  await (0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_5__.unpublish)(dataServicePrototype, groupEntry, {
    commit: false
  });
  const metadata = dataServicePrototype.getMetadata();
  metadata.add(dataServicePrototype.getResourceURI(), 'rdf:type', rdfType, true);
  return dataServicePrototype;
};

/**
 *
 * @param {Entry} entry - data service entry
 * @returns {Promise<Entry>}
 */
const removeDataService = async entry => {
  await entry.del();
  const resourceURI = entry.getResourceURI();
  const catalog = await commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystoreUtil.getEntryByType('dcat:Catalog', entry.getContext());
  catalog.getMetadata().findAndRemove(null, commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_DATASERVICE, {
    value: resourceURI,
    type: 'uri'
  });
  return catalog.commitMetadata();
};

/***/ },

/***/ "./modules/catalog/datasetTemplates/DatasetLinkedDataBrowserDialog.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/datasetTemplates/DatasetLinkedDataBrowserDialog.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/datasetTemplates/useGetDatasetTemplateEntry */ "./modules/catalog/datasetTemplates/useGetDatasetTemplateEntry.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_rdforms_DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/rdforms/DatasetTemplateMetadataPresenter */ "./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.js");
const _excluded = ["entry"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




// eslint-disable-next-line max-len

// eslint-disable-next-line max-len

const DatasetLinkedDataBrowserDialog = _ref => {
  let {
      entry
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const [datasetTemplateEntry] = (0,catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_5__["default"])(entry);
  const renderDatasetPresenter = _ref2 => {
    let {
      templateId,
      initiallyExpanded,
      stackIndex
    } = _ref2;
    return datasetTemplateEntry && stackIndex === 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(commons_components_rdforms_DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_7__["default"], {
      initiallyExpanded: initiallyExpanded,
      entry: datasetTemplateEntry,
      externalTemplateId: templateId,
      alternativeClass: "escoMetadataExpandableAreaButton",
      collapseClasses: {
        root: 'escoMetadataExpandableArea'
      }
    }) : null;
  };
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(commons_components_LinkedDataBrowserDialog_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({}, rest, {
    entry: entry,
    renderPresenter: renderDatasetPresenter
  }));
};
DatasetLinkedDataBrowserDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DatasetLinkedDataBrowserDialog);

/***/ },

/***/ "./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.js"
/*!***************************************************************************************************!*\
  !*** ./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasetTemplates/reducer */ "./modules/catalog/datasetTemplates/reducer.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _DatasetTemplateListFilters_scss__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./DatasetTemplateListFilters.scss */ "./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }













const DatasetTemplateListFilters = _ref => {
  let {
    includeCatalogFilter,
    selectedCatalogId,
    catalogEntries = [],
    categories,
    setCategories,
    selectedCategory,
    filtersDispatch
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)([(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_10___default())]);
  const [, listModelDispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.useListModel)();
  const handleCatalogChange = event => {
    filtersDispatch({
      type: catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_14__.CHANGE_CATALOG,
      value: event.target.value
    });
    listModelDispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.PAGINATE,
      value: 0
    });
  };
  const handleCategoryChange = event => {
    filtersDispatch({
      type: catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_14__.CHANGE_CATEGORY,
      value: event.target.value
    });
    listModelDispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.PAGINATE,
      value: 0
    });
  };
  const handleClear = () => {
    if (includeCatalogFilter) setCategories([]);
    filtersDispatch({
      type: catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_14__.RESET
    });
    listModelDispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.RESET,
      value: _objectSpread(_objectSpread({}, commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.LIST_MODEL_DEFAULT_VALUE), {}, {
        sort: {
          field: 'title',
          order: 'asc'
        }
      })
    });
  };
  return /*#__PURE__*/React.createElement("div", {
    className: "escaDatasetTemplate__filters"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "filled",
    margin: "none",
    fullWidth: true,
    className: `escaDatasetTemplate__formControl ${includeCatalogFilter ? 'escaDatasetTemplate__catalogFormControl' : 'escaDatasetTemplate__catalogFormControl--hidden'}`
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "context-select-label"
  }, translate('contextSelect')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    inputProps: {
      'aria-labelledby': 'context-select-label'
    },
    value: selectedCatalogId,
    onChange: handleCatalogChange,
    autoWidth: true,
    disabled: !includeCatalogFilter
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    value: ""
  }, /*#__PURE__*/React.createElement("em", null, translate('selectDefault'))), catalogEntries.map(catalogEntry => {
    const id = catalogEntry.getContext().getId();
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      key: id,
      value: id
    }, (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getLabel)(catalogEntry));
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "filled",
    margin: "none",
    fullWidth: true,
    className: "escaDatasetTemplate__formControl"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "category-select-label"
  }, translate('categorySelect')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    inputProps: {
      'aria-labelledby': 'category-select-label'
    },
    value: selectedCategory,
    onChange: handleCategoryChange,
    disabled: !categories.length
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    value: ""
  }, /*#__PURE__*/React.createElement("em", null, translate('selectDefault'))), categories.map(_ref2 => {
    let {
      label,
      value
    } = _ref2;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      key: value,
      value: value
    }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_13__.localize)(label));
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "text",
    onClick: handleClear
  }, translate('clearFilters')));
};
DatasetTemplateListFilters.propTypes = {
  includeCatalogFilter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  selectedCatalogId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  catalogEntries: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__.Entry)),
  categories: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    value: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    label: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
  })),
  setCategories: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  selectedCategory: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  filtersDispatch: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DatasetTemplateListFilters);

/***/ },

/***/ "./modules/catalog/datasetTemplates/DatasetTemplateListFilters/index.js"
/*!******************************************************************************!*\
  !*** ./modules/catalog/datasetTemplates/DatasetTemplateListFilters/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetTemplateListFilters__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetTemplateListFilters__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetTemplateListFilters */ "./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.js");


/***/ },

/***/ "./modules/catalog/datasetTemplates/reducer.js"
/*!*****************************************************!*\
  !*** ./modules/catalog/datasetTemplates/reducer.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CHANGE_CATALOG: () => (/* binding */ CHANGE_CATALOG),
/* harmony export */   CHANGE_CATEGORY: () => (/* binding */ CHANGE_CATEGORY),
/* harmony export */   RESET: () => (/* binding */ RESET),
/* harmony export */   getInitialState: () => (/* binding */ getInitialState),
/* harmony export */   reducer: () => (/* binding */ reducer)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

const RESET = 'LIST_RESET';
const CHANGE_CATEGORY = 'CHANGE_CATEGORY';
const CHANGE_CATALOG = 'CHANGE_CATALOG';
const getInitialState = () => {
  return {
    category: '',
    context: config__WEBPACK_IMPORTED_MODULE_1__["default"].get('catalog.datasetTemplateDefaultCatalog')
  };
};
const reducer = (state, action) => {
  switch (action.type) {
    case CHANGE_CATEGORY:
      return _objectSpread(_objectSpread({}, state), {}, {
        category: action.value,
        page: 0
      });
    case CHANGE_CATALOG:
      return _objectSpread(_objectSpread({}, state), {}, {
        context: action.value,
        category: '',
        page: 0
      });
    case RESET:
      return _objectSpread({}, getInitialState());
    default:
      return state;
  }
};


/***/ },

/***/ "./modules/catalog/datasetTemplates/useCatalogs.js"
/*!*********************************************************!*\
  !*** ./modules/catalog/datasetTemplates/useCatalogs.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/datasetTemplates/util */ "./modules/catalog/datasetTemplates/util.js");




const useCatalogs = datasetTemplateEntrystore => {
  const [catalogEntries] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_2__["default"])(catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_3__.fetchCatalogs, datasetTemplateEntrystore);
  return catalogEntries || [];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCatalogs);

/***/ },

/***/ "./modules/catalog/datasetTemplates/useCategories.js"
/*!***********************************************************!*\
  !*** ./modules/catalog/datasetTemplates/useCategories.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasetTemplates/reducer */ "./modules/catalog/datasetTemplates/reducer.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/datasetTemplates/util */ "./modules/catalog/datasetTemplates/util.js");







const useCategories = (datasetTemplateEntrystore, selectedCatalogEntry, filtersDispatch) => {
  const [categories, setCategories] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)([]);
  const {
    data: categoriesData,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!selectedCatalogEntry) return;
    const taxonomyURI = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_3__.getThemeTaxonomy)(selectedCatalogEntry);
    filtersDispatch({
      type: catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_4__.CHANGE_CATEGORY,
      value: ''
    });
    runAsync((0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_6__.fetchCategories)(datasetTemplateEntrystore, taxonomyURI, selectedCatalogEntry));
  }, [datasetTemplateEntrystore, filtersDispatch, runAsync, selectedCatalogEntry]);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!categoriesData || status !== 'resolved') return;
    setCategories(categoriesData);
  }, [categoriesData, status]);
  return [categories, setCategories];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCategories);

/***/ },

/***/ "./modules/catalog/datasetTemplates/useGetDatasetTemplateEntry.js"
/*!************************************************************************!*\
  !*** ./modules/catalog/datasetTemplates/useGetDatasetTemplateEntry.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");





const fetchDatasetTemplateEntry = async (resourceURI, storeURI) => {
  if (!storeURI) {
    return null;
  }
  const datasetTemplateEntrystore = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.EntryStore(storeURI);
  datasetTemplateEntrystore.getREST().disableJSONP();
  datasetTemplateEntrystore.getREST().disableCredentials();
  const searchList = datasetTemplateEntrystore.newSolrQuery().resource(resourceURI).limit(1).list();
  const entries = await searchList.getEntries();
  return entries[0];
};
const useGetDatasetTemplateEntry = entry => {
  const {
    data: datasetTemplateEntry,
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__["default"])(null);
  const datasetTemplateStoreURI = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.datasetTemplateEndpoint');
  const basedOnURI = entry.getMetadata().findFirstValue(entry.getResourceURI(), 'esterms:basedOn');
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (basedOnURI) {
      runAsync(fetchDatasetTemplateEntry(basedOnURI, datasetTemplateStoreURI));
    }
  }, [basedOnURI, runAsync, datasetTemplateStoreURI]);
  return [datasetTemplateEntry, basedOnURI ? status : 'resolved'];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetDatasetTemplateEntry);

/***/ },

/***/ "./modules/catalog/datasetTemplates/util.js"
/*!**************************************************!*\
  !*** ./modules/catalog/datasetTemplates/util.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createDatasetTemplateQuery: () => (/* binding */ createDatasetTemplateQuery),
/* harmony export */   createSuggestionFromDatasetTemplate: () => (/* binding */ createSuggestionFromDatasetTemplate),
/* harmony export */   fetchCatalogs: () => (/* binding */ fetchCatalogs),
/* harmony export */   fetchCategories: () => (/* binding */ fetchCategories),
/* harmony export */   fetchConcepts: () => (/* binding */ fetchConcepts),
/* harmony export */   fetchTemplates: () => (/* binding */ fetchTemplates),
/* harmony export */   getCategoriesFromConcepts: () => (/* binding */ getCategoriesFromConcepts),
/* harmony export */   getDatasetTemplateStore: () => (/* binding */ getDatasetTemplateStore),
/* harmony export */   getDatasetsBasedOnTemplates: () => (/* binding */ getDatasetsBasedOnTemplates),
/* harmony export */   getMetadataFromDatasetTemplate: () => (/* binding */ getMetadataFromDatasetTemplate),
/* harmony export */   getSuggestionsBasedOnTemplates: () => (/* binding */ getSuggestionsBasedOnTemplates)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");










const DEFAULT_THEME_URI = 'http://publications.europa.eu/resource/authority/data-theme';

/**
 *
 * @param {Entry} datasetTemplateEntry
 * @param {Context} context
 * @returns {Promise}
 */
const createSuggestionFromDatasetTemplate = (datasetTemplateEntry, context) => {
  const {
    metadata: templateMetadata,
    resourceURI: templateResourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.spreadEntry)(datasetTemplateEntry);
  const datasetTemplateTitles = templateMetadata.find(templateResourceURI, 'dcterms:title');
  const datasetTemplateDescriptions = templateMetadata.find(templateResourceURI, 'dcterms:description');
  const newSuggestionEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.createEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_SUGGESTION);
  const {
    metadata: newSuggestionMetadata,
    resourceURI: newSuggestionResourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.spreadEntry)(newSuggestionEntry);
  newSuggestionEntry.getEntryInfo().getGraph().add(newSuggestionEntry.getURI(), 'store:status', commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_STATUS_INVESTIGATING);
  newSuggestionMetadata.add(newSuggestionEntry.getResourceURI(), 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_SUGGESTION);
  datasetTemplateTitles.forEach(titleStatement => {
    newSuggestionMetadata.addL(newSuggestionResourceURI, 'dcterms:title', titleStatement.getValue(), titleStatement.getLanguage());
  });
  datasetTemplateDescriptions.forEach(descriptionStatement => {
    newSuggestionMetadata.addL(newSuggestionResourceURI, 'dcterms:description', descriptionStatement.getValue(), descriptionStatement.getLanguage());
  });
  newSuggestionMetadata.add(newSuggestionResourceURI, 'esterms:basedOn', templateResourceURI);
  return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.getGroupWithHomeContext)(newSuggestionEntry.getContext()).then(groupEntry => {
    const entryInformation = newSuggestionEntry.getEntryInfo();
    const accessControl = entryInformation.getACL(true);
    accessControl.admin.push(groupEntry.getId());
    entryInformation.setACL(accessControl);
    return newSuggestionEntry.commit();
  });
};

/**
 *
 * @param {Context} context
 * @returns {Promise}
 */
const getSuggestionsBasedOnTemplates = async context => commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().rdfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_SUGGESTION]).uriProperty('esterms:basedOn', '*').context(context).list().getEntries();

/**
 *
 * @param {Context} context
 * @returns {Promise}
 */
const getDatasetsBasedOnTemplates = async context => commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().rdfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASET]).uriProperty('esterms:basedOn', '*').context(context).list().getEntries();

/**
 *
 * @param {Entry} templateEntry
 * @param {Entry} newEntry
 * @returns {Graph}
 */
const getMetadataFromDatasetTemplate = (templateEntry, newEntry) => {
  const newEntryResourceURI = newEntry.getResourceURI();
  const newEntryMetadata = templateEntry.getMetadata().clone().replaceURI(templateEntry.getResourceURI(), newEntryResourceURI);
  newEntryMetadata.add(newEntryResourceURI, 'esterms:basedOn', templateEntry.getResourceURI());
  const extraTemplatePropertyRelation = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.extraTemplatePropertyRelation');
  if (extraTemplatePropertyRelation) {
    newEntryMetadata.add(newEntryResourceURI, extraTemplatePropertyRelation, templateEntry.getResourceURI());
  }
  newEntryMetadata.findAndRemove(newEntryResourceURI, 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASET_TEMPLATE);
  newEntryMetadata.findAndRemove(newEntryResourceURI, 'dcat:contactPoint');
  newEntryMetadata.findAndRemove(newEntryResourceURI, 'foaf:page');
  newEntryMetadata.findAndRemove(newEntryResourceURI, 'dcterms:publisher');

  // since the metadata is cloned from template, rdf type needs to be readded
  newEntryMetadata.add(newEntryResourceURI, 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASET);
  return newEntryMetadata;
};

/**
 *
 * @param {Entry[]} conceptEntries
 * @returns {object[]}
 */
const getCategoriesFromConcepts = conceptEntries => {
  if (!conceptEntries) return [];
  return conceptEntries.map(contextEntry => {
    const metadata = contextEntry.getMetadata();
    const labelStatements = metadata.find(null, 'skos:prefLabel');
    const labelsByLanguage = labelStatements.reduce((accumulatorObject, statement) => {
      accumulatorObject[statement.getLanguage()] = statement.getValue();
      return accumulatorObject;
    }, {});
    return {
      label: labelsByLanguage,
      value: contextEntry.getResourceURI()
    };
  });
};

/**
 * Fetches concepts belonging to a terminology.
 *
 * @param {EntryStore} remoteEntryStore
 * @param {string} terminologyURI
 * @param {Entry} catalogEntry
 * @returns {Promise}
 */
const fetchConcepts = (remoteEntryStore, terminologyURI, catalogEntry) => {
  const language = catalogEntry ? catalogEntry.getMetadata().findFirstValue(null, 'dcterms:language') : '';
  const sortOrder = `title.${(0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_9__.languageUriToIsoCode)(language)}+asc`;
  return remoteEntryStore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CONCEPT).uriProperty('skos:inScheme', terminologyURI).sort(sortOrder).list().getAllEntries();
};

/**
 * Fetches dataset templates.
 *
 * @param {object} queryProperties
 * @param {EntryStore} queryProperties.store
 * @param {Entry} queryProperties.selectedCatalogEntry
 * @param {string} queryProperties.selectedCategory
 * @param {string} queryProperties.searchQuery
 * @param {number} queryProperties.page
 * @param {number} queryProperties.offset
 * @param {number} queryProperties.limit
 * @returns {Promise} A promise that resolves to an object containing an array of entries and the results' size
 */
const fetchTemplates = async _ref => {
  let {
    store,
    selectedCatalogEntry,
    selectedCategory,
    searchQuery,
    page,
    offset,
    limit
  } = _ref;
  const catalogRURI = selectedCatalogEntry ? selectedCatalogEntry.getContext().getResourceURI() : null;
  const language = selectedCatalogEntry ? selectedCatalogEntry.getMetadata().findFirstValue(null, 'dcterms:language') : '';
  const sortOrder = `title.${(0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_9__.languageUriToIsoCode)(language)}+asc`;
  const datasetTemplateRDFType = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.datasetTemplateRDFType');
  const query = store.newSolrQuery().rdfType([datasetTemplateRDFType]).context(catalogRURI).sort(sortOrder).limit(limit).publicRead(true);
  if (selectedCategory) query.uriProperty('dcat:theme', selectedCategory);
  if (searchQuery) query.title(searchQuery);
  const searchList = query.list();
  const queryPage = page % 10 === 9 ? Math.floor(page / 10) : offset / limit;
  const entries = await searchList.getEntries(queryPage);
  return {
    entries,
    size: searchList.getSize()
  };
};

/**
 * Fetches dataset template categories. These can be either the default DCAT theme
 * taxonomy categories, or concepts belonging to a terminology.
 *
 * @param {EntryStore} store
 * @param {string} taxonomyURI
 * @param {Entry} catalogEntry
 * @returns {Promise} - A promise that resolves to an array of objects containing a string URI 'value', and a localization object 'label'
 */
const fetchCategories = async (store, taxonomyURI, catalogEntry) => {
  if (!taxonomyURI || taxonomyURI === DEFAULT_THEME_URI) {
    return (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_9__.getDefaultThemeLabels)();
  }
  return fetchConcepts(store, taxonomyURI, catalogEntry).then(conceptEntries => getCategoriesFromConcepts(conceptEntries));
};

/**
 * Fetches catalogs.
 *
 * @param {EntryStore} store
 * @returns {Promise}
 */
const fetchCatalogs = async store => store.newSolrQuery().rdfType(config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.catalogTemplateRDFType')).publicRead(true).list().getEntries();

/**
 * Get the configurable dataset templates entrystore.
 *
 * @returns {EntryStore}
 */
const getDatasetTemplateStore = () => {
  const datasetTemplateStoreURI = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.datasetTemplateEndpoint');
  const store = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.EntryStore(datasetTemplateStoreURI);
  store.getREST().disableJSONP();
  store.getREST().disableCredentials();
  return store;
};

/**
 *
 * @param {EntryStore} store
 * @param {Entry} catalogEntry
 * @param {string} theme
 * @returns {SolrQuery}
 */
const createDatasetTemplateQuery = (store, catalogEntry, theme) => {
  const catalogRURI = catalogEntry ? catalogEntry.getContext().getResourceURI() : null;
  const datasetTemplateRDFType = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.datasetTemplateRDFType');
  const query = store.newSolrQuery().rdfType([datasetTemplateRDFType]).context(catalogRURI).limit(50).publicRead(true);
  if (theme) query.uriProperty('dcat:theme', theme);
  return query;
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DatasetOverview.js"
/*!*********************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DatasetOverview.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizations */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var _DistributionList__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./DistributionList */ "./modules/catalog/datasets/DatasetOverview/DistributionList/index.js");
/* harmony import */ var _VisualizationList__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./VisualizationList */ "./modules/catalog/datasets/DatasetOverview/VisualizationList/index.js");
/* harmony import */ var _SuggestionList__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./SuggestionList */ "./modules/catalog/datasets/DatasetOverview/SuggestionList/index.js");
/* harmony import */ var _useDatasetOverviewCommons__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./useDatasetOverviewCommons */ "./modules/catalog/datasets/DatasetOverview/useDatasetOverviewCommons.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../tags */ "./modules/catalog/datasets/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const DatasetOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const {
    entry,
    descriptionItems,
    sidebarActions,
    rowActions,
    includeSuggestions,
    backLabel,
    renderPrimaryContent
  } = (0,_useDatasetOverviewCommons__WEBPACK_IMPORTED_MODULE_12__["default"])();
  return /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_4__.VisualizationsProvider, {
    datasetEntry: entry
  }, /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({}, overviewProps, {
    backLabel: backLabel,
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_7__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__["default"]
    }),
    entry: entry,
    nlsBundles: _useDatasetOverviewCommons__WEBPACK_IMPORTED_MODULE_12__.nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: sidebarActions,
    rowActions: rowActions,
    renderPrimaryContent: renderPrimaryContent,
    tags: [_tags__WEBPACK_IMPORTED_MODULE_13__.TEMPLATE_TAG, commons_components_tags__WEBPACK_IMPORTED_MODULE_8__.LOCKED_TAG]
  }), /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_6__.OverviewSection, null, /*#__PURE__*/React.createElement(_DistributionList__WEBPACK_IMPORTED_MODULE_9__["default"], {
    entry: entry
  })), config__WEBPACK_IMPORTED_MODULE_3__["default"].get('catalog.includeVisualizations') && /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_6__.OverviewSection, null, /*#__PURE__*/React.createElement(_VisualizationList__WEBPACK_IMPORTED_MODULE_10__["default"], {
    entry: entry
  })), includeSuggestions ? /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_6__.OverviewSection, null, /*#__PURE__*/React.createElement(_SuggestionList__WEBPACK_IMPORTED_MODULE_11__["default"], {
    entry: entry
  })) : null));
};
DatasetOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_6__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DatasetOverview);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DatasetSearchOrCreateDialog/DatasetSearchOrCreateDialog.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DatasetSearchOrCreateDialog/DatasetSearchOrCreateDialog.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! catalog/datasetTemplates/DatasetLinkedDataBrowserDialog */ "./modules/catalog/datasetTemplates/DatasetLinkedDataBrowserDialog.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/buttons/MultiCreateButton */ "./modules/commons/components/buttons/MultiCreateButton/index.js");
/* harmony import */ var _dialogs_CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../dialogs/CreateDatasetDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetDialog/index.js");
/* harmony import */ var _dialogs_SelectDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../dialogs/SelectDatasetTemplateDialog */ "./modules/catalog/datasets/dialogs/SelectDatasetTemplateDialog/index.js");
/* harmony import */ var _dialogs_CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../dialogs/CreateDatasetSeriesDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/index.js");
/* harmony import */ var _dialogs_ManageSeriesDialog_util__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../dialogs/ManageSeriesDialog/util */ "./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/util.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../utils */ "./modules/catalog/datasets/utils.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../tags */ "./modules/catalog/datasets/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















// eslint-disable-next-line max-len











const defaultNlsBundles = [(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_15___default())];
const DatasetSearchOrCreateDialog = _ref => {
  let {
    actionParams: {
      refreshDatasets,
      numberOfDatasets,
      nlsBundles: optionalNlsBundles = []
    },
    closeDialog
  } = _ref;
  const nlsBundles = [...optionalNlsBundles, ...defaultNlsBundles];
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)(nlsBundles);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_20__.useESContext)();
  const seriesEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_21__.useEntry)();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.useListModel)();
  const [hasConnected, setHasConnected] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const includeSubSeries = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('catalog.includeSubSeries');
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_17__.entrystore.newSolrQuery().rdfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_19__.RDF_TYPE_DATASET, ...(includeSubSeries ? [commons_util_entry__WEBPACK_IMPORTED_MODULE_19__.RDF_TYPE_DATASET_SERIES] : [])]).uri(seriesEntry.getURI(), true).context(context), [context, seriesEntry, includeSubSeries]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.useSolrQuery)({
    createQuery
  });
  const getConnectButtonProps = _ref2 => {
    let {
      entry: datasetEntry,
      translate: t
    } = _ref2;
    const relationStatements = datasetEntry.getMetadata().find(null, 'dcat:inSeries', seriesEntry.getResourceURI());
    const connected = Boolean(relationStatements.length);
    const onClick = async () => {
      await (0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_18__.addRelationToParent)(datasetEntry, seriesEntry, 'dcat:inSeries').then(() => {
        dispatch({
          type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.REFRESH
        });
        setHasConnected(true);
      });
    };
    return {
      disabled: connected,
      children: connected ? t('connectedButtonLabel') : t('connectButtonLabel'),
      variant: 'text',
      onClick,
      justifyContent: 'center'
    };
  };
  const handleClose = () => {
    closeDialog();
    if (hasConnected) refreshDatasets();
  };
  const onCreate = async datasetEntry => {
    // is called in create dataset dialog and create entry by template (without a param)
    if (!datasetEntry) return;
    await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_19__.refreshEntry)(datasetEntry);
    datasetEntry.getMetadata().add(datasetEntry.getResourceURI(), 'dcat:inSeries', seriesEntry.getResourceURI());
    await datasetEntry.commitMetadata();
  };
  const afterCreateEntry = () => {
    refreshDatasets();
    handleClose();
  };
  const datasetTemplatesEnabled = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('catalog.datasetTemplateEndpoint');
  const datasetSeriesEnabled = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('catalog.includeDatasetSeries');
  const isMultiCreate = datasetTemplatesEnabled || datasetSeriesEnabled && includeSubSeries;
  const listActions = [_objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_11__.ACTION_CREATE), {}, {
    Component: commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_26__["default"],
    tooltipNlsKey: isMultiCreate ? 'createButtonTooltipWithSubSeries' : 'actionTooltip',
    items: [{
      id: 'create',
      Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListRefresh)(_dialogs_CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_27__["default"], 'onCreate'),
      labelNlsKey: 'createDatasetButton'
    }, {
      id: 'create-from-dataset-template',
      Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListRefresh)(_dialogs_SelectDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_28__["default"], 'onCreate'),
      labelNlsKey: 'createFromTemplateButton',
      isVisible: () => datasetTemplatesEnabled
    }, {
      id: 'create-dataset-series',
      Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListRefresh)(_dialogs_CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_29__["default"], 'onCreate'),
      labelNlsKey: 'createSeriesButton',
      isVisible: () => datasetSeriesEnabled
    }]
  })];
  const prototypeCallback = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(prototypeEntry => (0,_utils__WEBPACK_IMPORTED_MODULE_31__.isDatasetSeries)(prototypeEntry) ? (0,_dialogs_ManageSeriesDialog_util__WEBPACK_IMPORTED_MODULE_30__.createProtoSeriesFromDatasetCallback)(seriesEntry, prototypeEntry) : (0,_dialogs_ManageSeriesDialog_util__WEBPACK_IMPORTED_MODULE_30__.createProtoDatasetFromSeriesCallback)(seriesEntry, prototypeEntry), [seriesEntry]);
  const actionParams = {
    tooltip: translate(includeSubSeries ? 'createButtonTooltipWithSubSeries' : 'createButtonTooltip'),
    numberOfDatasets,
    refreshDatasets: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.REFRESH
    }),
    prototypeCallback
  };
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_24__["default"].getByName('dataset');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_25__.getDraftsEnabled)(entityType);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_23__["default"], {
    id: "search-or-create-dialog",
    title: translate('searchOrCreateDialogTitle'),
    closeDialog: handleClose,
    closeDialogButtonLabel: translate('close'),
    maxWidth: "md",
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_16__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.EntryListView, _extends({}, queryResults, {
    nlsBundles: nlsBundles,
    listActions: listActions,
    listActionsProps: {
      onCreate,
      afterCreateEntry,
      nlsBundles,
      actionParams
    },
    viewPlaceholderProps: _objectSpread({}, (includeSubSeries || datasetTemplatesEnabled) && {
      label: translate('emptyListWarningSeriesEnabled')
    }),
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.STATUS_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          entry,
          draftsEnabled,
          nlsBundles
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.TITLE_COLUMN), {}, {
      xs: 6,
      tags: _tags__WEBPACK_IMPORTED_MODULE_32__.SERIES_TAG
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.INFO_COLUMN), {}, {
      getProps: _ref4 => {
        let {
          entry,
          translate: t
        } = _ref4;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__.LIST_ACTION_INFO), {}, {
            entry,
            nlsBundles,
            Dialog: catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__["default"]
          }),
          title: t('infoEntry')
        };
      }
    }), {
      id: 'connect',
      xs: 2,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItemButtonAction,
      ButtonComponent: _mui_material__WEBPACK_IMPORTED_MODULE_8__["default"],
      getProps: getConnectButtonProps
    }]
  }))));
};
DatasetSearchOrCreateDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    refreshDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    numberOfDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),
    nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.nlsBundlesPropType
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListModelProvider)(DatasetSearchOrCreateDialog));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DatasetSearchOrCreateDialog/index.js"
/*!***************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DatasetSearchOrCreateDialog/index.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetSearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetSearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetSearchOrCreateDialog */ "./modules/catalog/datasets/DatasetOverview/DatasetSearchOrCreateDialog/DatasetSearchOrCreateDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DatasetSeriesOverview.js"
/*!***************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DatasetSeriesOverview.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizations */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var _SuggestionList__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SuggestionList */ "./modules/catalog/datasets/DatasetOverview/SuggestionList/index.js");
/* harmony import */ var _useDatasetOverviewCommons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./useDatasetOverviewCommons */ "./modules/catalog/datasets/DatasetOverview/useDatasetOverviewCommons.js");
/* harmony import */ var _DatasetsInSeriesList__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./DatasetsInSeriesList */ "./modules/catalog/datasets/DatasetOverview/DatasetsInSeriesList/index.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../tags */ "./modules/catalog/datasets/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }










const DatasetSeriesOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const {
    entry,
    descriptionItems,
    sidebarActions,
    rowActions,
    includeSuggestions,
    backLabel,
    renderPrimaryContent
  } = (0,_useDatasetOverviewCommons__WEBPACK_IMPORTED_MODULE_9__["default"])();
  return /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_3__.VisualizationsProvider, {
    datasetEntry: entry
  }, /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({}, overviewProps, {
    backLabel: backLabel,
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_6__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__["default"]
    }),
    entry: entry,
    nlsBundles: _useDatasetOverviewCommons__WEBPACK_IMPORTED_MODULE_9__.nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: sidebarActions,
    rowActions: rowActions,
    tags: [_tags__WEBPACK_IMPORTED_MODULE_11__.SERIES_TAG, _tags__WEBPACK_IMPORTED_MODULE_11__.TEMPLATE_TAG, commons_components_tags__WEBPACK_IMPORTED_MODULE_7__.LOCKED_TAG],
    renderPrimaryContent: renderPrimaryContent
  }), /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_5__.OverviewSection, null, /*#__PURE__*/React.createElement(_DatasetsInSeriesList__WEBPACK_IMPORTED_MODULE_10__["default"], null)), includeSuggestions ? /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_5__.OverviewSection, null, /*#__PURE__*/React.createElement(_SuggestionList__WEBPACK_IMPORTED_MODULE_8__["default"], {
    entry: entry
  })) : null));
};
DatasetSeriesOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_5__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_5__.withOverviewModelProvider)(DatasetSeriesOverview));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DatasetsInSeriesList/DatasetsInSeriesList.js"
/*!***********************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DatasetsInSeriesList/DatasetsInSeriesList.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView/listItems/EntryListItemText */ "./modules/commons/components/EntryListView/listItems/EntryListItemText/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/OverviewLinkIcon */ "./modules/commons/components/OverviewLinkIcon.js");
/* harmony import */ var catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! catalog/datasetTemplates/DatasetLinkedDataBrowserDialog */ "./modules/catalog/datasetTemplates/DatasetLinkedDataBrowserDialog.js");
/* harmony import */ var commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/components/EntityOverview/dialogs/DisconnectDialog */ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/index.js");
/* harmony import */ var catalog_datasets_tags__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! catalog/datasets/tags */ "./modules/catalog/datasets/tags.js");
/* harmony import */ var _DatasetSearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../DatasetSearchOrCreateDialog */ "./modules/catalog/datasets/DatasetOverview/DatasetSearchOrCreateDialog/index.js");
/* harmony import */ var _dialogs_RemoveDatasetDialog_RemoveDatasetDialog__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../dialogs/RemoveDatasetDialog/RemoveDatasetDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/RemoveDatasetDialog/RemoveDatasetDialog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




























// eslint-disable-next-line max-len





const ROWS_PER_PAGE = 5;
const NLS_BUNDLES = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18___default())];
const DatasetsInSeriesList = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)(NLS_BUNDLES);
  const seriesEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_25__.useEntry)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_24__.useESContext)();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useListModel)();
  const refreshDatasets = () => dispatch({
    type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.REFRESH
  });
  const includeSubSeries = config__WEBPACK_IMPORTED_MODULE_9__["default"].get('catalog.includeSubSeries');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_17__.getDraftsEnabled)(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__["default"].getByName('dataset'));
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_20__.entrystore.newSolrQuery().rdfType(includeSubSeries ? [commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.RDF_TYPE_DATASET, commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.RDF_TYPE_DATASET_SERIES] : commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.RDF_TYPE_DATASET).uriProperty('dcat:inSeries', seriesEntry.getResourceURI()).context(context), [context, seriesEntry, includeSubSeries]);
  const {
    entries: datasetEntries,
    size,
    search,
    status
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useSolrSearch)({
    createQuery
  });
  const actions = [{
    id: 'disconnect',
    Dialog: commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_30__["default"],
    isVisible: _ref => {
      let {
        entry
      } = _ref;
      return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.canWriteMetadata)(entry);
    },
    labelNlsKey: 'disconnectMenuItemLabel'
  }, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__.LIST_ACTION_REVISIONS, _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_14__.ACTION_REMOVE), {}, {
    isVisible: _ref2 => {
      let {
        entry
      } = _ref2;
      return !entry.isPublic();
    },
    Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListRefresh)(_dialogs_RemoveDatasetDialog_RemoveDatasetDialog__WEBPACK_IMPORTED_MODULE_33__["default"], 'onRemove'),
    removeConfirmMessage: translate('removeDatasetQuestion'),
    stopNavigation: true
  })];
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_26__.OverviewListHeader, {
    heading: translate('seriesOverviewDatasets'),
    nlsBundles: NLS_BUNDLES,
    action: {
      icon: /*#__PURE__*/React.createElement(commons_actions__WEBPACK_IMPORTED_MODULE_14__.SearchAndCreateIcon, null),
      Dialog: _DatasetSearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_32__["default"],
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.canWriteMetadata)(seriesEntry) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.isLocked)(seriesEntry),
      tooltip: includeSubSeries ? translate('addOrCreateRelationTitleWithSeries') : translate('addOrCreateRelationTitle')
    },
    actionParams: {
      actionParams: {
        refreshDatasets,
        numberOfDatasets: datasetEntries.length,
        nlsBundles: NLS_BUNDLES
      }
    }
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListView, {
    size: size,
    search: search,
    nlsBundles: NLS_BUNDLES,
    status: status,
    renderPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_27__.OverviewListPlaceholder, {
      label: translate('relationsListPlaceholder')
    })
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.List, {
    renderLoader: Loader => /*#__PURE__*/React.createElement(Loader, {
      height: "10vh"
    })
  }, datasetEntries.map(datasetEntry => {
    const to = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.getPathFromViewName)(catalog_config_config__WEBPACK_IMPORTED_MODULE_8__.DATASET_OVERVIEW_NAME, {
      contextId: datasetEntry.getContext().getId(),
      entryId: datasetEntry.getId()
    });
    const actionsMenuItems = actions.filter(_ref3 => {
      let {
        isVisible
      } = _ref3;
      return isVisible ? isVisible({
        entry: datasetEntry
      }) : true;
    }).map(action => ({
      label: translate(action.labelNlsKey),
      icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_14__.getIconFromActionId)(action.id),
      action: _objectSpread(_objectSpread({}, action), {}, {
        refresh: refreshDatasets,
        nlsBundles: NLS_BUNDLES,
        // dataset as parent for the disconnect dialog
        parentEntry: datasetEntry,
        entry: seriesEntry,
        relation: {
          property: 'dcat:inSeries'
        },
        // for remove dataset dialog
        isPublished: datasetEntry.isPublic(),
        datasetEntry
      })
    }));
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItem, {
      key: datasetEntry.getId(),
      to: to
    }, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.ListStatusIcon, {
      entry: datasetEntry,
      draftsEnabled: draftsEnabled,
      publicTooltip: translate('publicDatasetTitle'),
      privateTooltip: translate('privateDatasetTitle'),
      internalTooltip: translate('internallyPublishedTitle'),
      tooltipNlsKey: "draftTooltip"
    }), /*#__PURE__*/React.createElement(commons_components_EntryListView_listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_12__["default"], {
      xs: 6,
      tags: catalog_datasets_tags__WEBPACK_IMPORTED_MODULE_31__.SERIES_TAG,
      entry: datasetEntry,
      translate: translate
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemText, {
      xs: 2,
      secondary: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_23__.getShortModifiedDate)(datasetEntry)
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemActionIconButton, {
      title: translate('infoEntry'),
      action: {
        Dialog: catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_29__["default"],
        entry: datasetEntry
      },
      xs: 1
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null)), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemActionIconButton, {
      title: translate('editEntry'),
      action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__.LIST_ACTION_EDIT), {}, {
        entry: datasetEntry
      }),
      xs: 1,
      disabled: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.isLocked)(seriesEntry)
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null)), !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.isLocked)(seriesEntry) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemOpenMenuButton, {
      xs: 1
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ActionsMenu, {
      items: actionsMenuItems
    })), /*#__PURE__*/React.createElement(commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_28__["default"], {
      to: to
    }));
  })), size > ROWS_PER_PAGE ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListPagination, null) : null));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProvider)(DatasetsInSeriesList, () => ({
  limit: ROWS_PER_PAGE
})));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DatasetsInSeriesList/index.js"
/*!********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DatasetsInSeriesList/index.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetsInSeriesList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetsInSeriesList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetsInSeriesList */ "./modules/catalog/datasets/DatasetOverview/DatasetsInSeriesList/DatasetsInSeriesList.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/DistributionList.js"
/*!***************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/DistributionList.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/esnext.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js");
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView_listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView/listItems/EntryListItemText */ "./modules/commons/components/EntryListView/listItems/EntryListItemText/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/nls/escaFiles.nls */ "./modules/catalog/nls/escaFiles.nls");
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/nls/escaManageFiles.nls */ "./modules/catalog/nls/escaManageFiles.nls");
/* harmony import */ var catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/buttons/MultiCreateButton */ "./modules/commons/components/buttons/MultiCreateButton/index.js");
/* harmony import */ var _utils_distributions__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _dialogs_CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../dialogs/CreateDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/index.js");
/* harmony import */ var _dialogs_CreateDistributionFromServiceDialog__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../dialogs/CreateDistributionFromServiceDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionFromServiceDialog/index.js");
/* harmony import */ var _dialogs_EditDistributionDialog__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./dialogs/EditDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditDistributionDialog/index.js");
/* harmony import */ var _hooks_useDistributions__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../hooks/useDistributions */ "./modules/catalog/datasets/DatasetOverview/hooks/useDistributions.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./actions */ "./modules/catalog/datasets/DatasetOverview/DistributionList/actions.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./tags */ "./modules/catalog/datasets/DatasetOverview/DistributionList/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
































const NLS_BUNDLES = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_13___default()), (catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_15___default()), (catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_14___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default())];

/**
 *
 * @param {Entry[]} distributionEntries
 * @returns {object[]}
 */
const getFileInfoCallback = async distributionEntries => {
  if (!(distributionEntries !== null && distributionEntries !== void 0 && distributionEntries.length)) return [];
  const getFileInfoPromises = distributionEntries.map(entry => (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.getDistributionFilesInfo)(entry));
  const filesInfo = await Promise.allSettled(getFileInfoPromises).then(settledPromises => settledPromises.filter(_ref => {
    let {
      status
    } = _ref;
    return status === 'fulfilled';
  })).then(settledPromises => settledPromises.map(_ref2 => {
    let {
      value
    } = _ref2;
    return value;
  }));
  const distributionItems = distributionEntries === null || distributionEntries === void 0 ? void 0 : distributionEntries.map(entry => {
    if (!(0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.checkIsFileDistribution)(entry)) return {
      entry
    };
    const entryFilesInfo = filesInfo.find(fileInfo => {
      var _fileInfo$;
      const accessURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_18__.getResourceURI)(entry, 'dcat:accessURL');
      const downloadURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_18__.getResourceURI)(entry, 'dcat:downloadURL');
      return [accessURI, downloadURI].includes((_fileInfo$ = fileInfo[0]) === null || _fileInfo$ === void 0 ? void 0 : _fileInfo$.resourceURI);
    });
    return {
      entry,
      fileNotFound: (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.checkFileNotFound)(entryFilesInfo)
    };
  });
  return distributionItems;
};
const DistributionList = _ref3 => {
  var _distributionItems$le;
  let {
    entry: datasetEntry
  } = _ref3;
  const [distributionItems, refreshDistributions, status] = (0,_hooks_useDistributions__WEBPACK_IMPORTED_MODULE_29__["default"])(datasetEntry, getFileInfoCallback);
  const {
    data: apiDistributionSourceURIs,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__["default"])({
    data: []
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    runAsync((0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.getAPIDistributionSourceURIs)(datasetEntry));
  }, [datasetEntry, runAsync, distributionItems]);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_21__.OverviewListHeader, {
    heading: translate('distributionsTitle'),
    action: {
      id: 'create',
      Component: commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_24__["default"],
      items: [{
        id: 'create-distribution',
        Dialog: _dialogs_CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_26__["default"],
        labelNlsKey: 'createDistributionButton'
      }, {
        id: 'create-distribution-from-service',
        Dialog: _dialogs_CreateDistributionFromServiceDialog__WEBPACK_IMPORTED_MODULE_27__["default"],
        labelNlsKey: 'createDistributionFromServiceButton',
        isVisible: () => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('catalog.includeCreateByService')
      }],
      tooltip: translate('addDistributionTitle'),
      highlightId: 'distributionsListCreate',
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_18__.canWriteMetadata)(datasetEntry) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_18__.isLocked)(datasetEntry)
    },
    actionParams: {
      nlsBundles: NLS_BUNDLES,
      actionParams: {
        datasetEntry,
        refreshDistributions
      }
    },
    highlightId: "distributionsListHeader"
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListView, {
    size: (_distributionItems$le = distributionItems === null || distributionItems === void 0 ? void 0 : distributionItems.length) !== null && _distributionItems$le !== void 0 ? _distributionItems$le : -1,
    nlsBundles: NLS_BUNDLES,
    renderPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_22__.OverviewListPlaceholder, {
      label: translate('distributionsListPlaceholder')
    }),
    status: status
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.List, {
    renderLoader: Loader => /*#__PURE__*/React.createElement(Loader, {
      height: "10vh"
    })
  }, (distributionItems === null || distributionItems === void 0 ? void 0 : distributionItems.length) && distributionItems.map(_ref4 => {
    var _distributionItems$fi;
    let {
      entry: distributionEntry,
      fileNotFound
    } = _ref4;
    const apiDistributionEntry = (_distributionItems$fi = distributionItems.find(_ref5 => {
      let {
        entry: dist
      } = _ref5;
      return dist.getMetadata().findFirstValue(dist.getResourceURI(), 'dcterms:source') === distributionEntry.getResourceURI();
    })) === null || _distributionItems$fi === void 0 ? void 0 : _distributionItems$fi.entry;
    const actionParams = {
      apiDistributionResourceURIs: apiDistributionSourceURIs,
      // should eventually rename the action param
      refreshDistributions,
      datasetEntry,
      apiDistributionEntry,
      nlsBundles: NLS_BUNDLES,
      fileNotFound
    };
    const actionsMenuItems = _actions__WEBPACK_IMPORTED_MODULE_30__.rowActions.filter(_ref6 => {
      let {
        isVisible
      } = _ref6;
      return isVisible ? isVisible(_objectSpread({
        entry: distributionEntry
      }, actionParams)) : true;
    }).map(rowAction => ({
      label: translate(rowAction.labelNlsKey),
      icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_11__.getIconFromActionId)(rowAction.id),
      action: _objectSpread(_objectSpread({}, rowAction), {}, {
        entry: distributionEntry
      }, actionParams)
    }));
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItem, {
      key: distributionEntry.getId()
    }, /*#__PURE__*/React.createElement(commons_components_EntryListView_listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_10__["default"], {
      entry: distributionEntry,
      translate: translate,
      tags: _tags__WEBPACK_IMPORTED_MODULE_31__.FILE_ERROR_TAG,
      tagVisibilityParams: {
        fileNotFound
      },
      xs: 4,
      primary: (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.getDistributionTitle)(distributionEntry, translate),
      secondaryTypographyProps: {
        classes: {
          root: 'escaDistributionsList__secondaryError'
        }
      }
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItemText, {
      xs: 3,
      secondary: (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.getDistributionFormat)(distributionEntry)
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItemText, {
      xs: 2,
      secondary: (0,commons_util_date__WEBPACK_IMPORTED_MODULE_19__.getShortDate)((0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_17__.getModifiedDate)(distributionEntry))
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItemActionsGroup, {
      xs: 2,
      justifyContent: "end",
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_23__.LIST_ACTION_INFO), {}, {
        getProps: () => _objectSpread(_objectSpread({}, _actions__WEBPACK_IMPORTED_MODULE_30__.presenterAction), {}, {
          entry: distributionEntry,
          parentEntry: datasetEntry
        })
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_23__.LIST_ACTION_EDIT), {}, {
        highlightId: 'distributionsListActionEdit',
        Dialog: _dialogs_EditDistributionDialog__WEBPACK_IMPORTED_MODULE_28__["default"],
        getProps: () => ({
          entry: distributionEntry,
          datasetEntry,
          refreshDistributions,
          title: translate('editEntry'),
          disabled: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_18__.isLocked)(datasetEntry)
        })
      })]
    }), !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_18__.isLocked)(datasetEntry) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItemOpenMenuButton, {
      "data-highlight-id": "distributionsListActionMore"
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ActionsMenu, {
      items: actionsMenuItems
    })));
  }))));
};
DistributionList.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListModelProvider)(DistributionList));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/DownloadFile/index.js"
/*!*****************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/DownloadFile/index.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);



const DownloadFile = _ref => {
  let {
    closeDialog,
    entry: fileEntry
  } = _ref;
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    const downloadURI = fileEntry.getResourceURI();
    window.open(`${downloadURI}?download`, '_self');
    closeDialog();
  }, [fileEntry, closeDialog]);
  return null;
};
DownloadFile.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DownloadFile);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/actions.js"
/*!******************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/actions.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   presenterAction: () => (/* binding */ presenterAction),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListRevisionsEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRevisionsEntryDialog/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/nls/escaManageFiles.nls */ "./modules/catalog/nls/escaManageFiles.nls");
/* harmony import */ var catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _utils_distributions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _dialogs_StatisticsDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./dialogs/StatisticsDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/index.js");
/* harmony import */ var _dialogs_ManageFilesDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./dialogs/ManageFilesDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/index.js");
/* harmony import */ var _dialogs_RemoveDistributionDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./dialogs/RemoveDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/index.js");
/* harmony import */ var _dialogs_ApiInfoDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./dialogs/ApiInfoDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.js");
/* harmony import */ var _dialogs_ActivateAPIDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./dialogs/ActivateAPIDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/index.js");
/* harmony import */ var _dialogs_RefreshAPIDialog_RefreshAPIDialogWrapper__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./dialogs/RefreshAPIDialog/RefreshAPIDialogWrapper */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/RefreshAPIDialogWrapper.js");
/* harmony import */ var _dialogs_CopyDistributionDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./dialogs/CopyDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/CopyDistributionDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

// eslint-disable-next-line max-len















/**
 *
 * @param {object} params
 * @param {Entry} params.entry - Distribution entry
 * @param {Entry} params.datasetEntry
 * @returns {boolean}
 */
const shouldShowStatistics = _ref => {
  let {
    entry: distributionEntry,
    datasetEntry
  } = _ref;
  return ((0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isDistributionUploaded)(distributionEntry) || (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isAPIDistribution)(distributionEntry)) && datasetEntry.getContext().getEntry(true).isPublic();
};

/**
 *
 * @param {object} params
 * @param {Entry} params.entry - Distribution entry
 * @param {string[]} params.apiDistributionResourceURIs
 * @param {boolean} params.fileNotFound
 * @returns {boolean}
 */
const isActivateApiVisible = _ref2 => {
  let {
    entry: distributionEntry,
    apiDistributionResourceURIs,
    fileNotFound
  } = _ref2;
  return (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isDistributionUploaded)(distributionEntry) && (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isFileDistributionWithoutAPI)(distributionEntry, apiDistributionResourceURIs) && !fileNotFound;
};
const nlsBundles = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_4___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default()), (catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_5___default()), (commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7___default())];
const rowActions = [{
  id: 'manage-files',
  Dialog: _dialogs_ManageFilesDialog__WEBPACK_IMPORTED_MODULE_10__["default"],
  isVisible: _ref3 => {
    let {
      entry
    } = _ref3;
    return (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isDistributionUploaded)(entry);
  },
  labelNlsKey: 'manageFilesButtonTitle'
}, {
  id: 'activate-api',
  Dialog: _dialogs_ActivateAPIDialog__WEBPACK_IMPORTED_MODULE_13__["default"],
  isVisible: isActivateApiVisible,
  labelNlsKey: 'apiActivateTitle'
}, {
  id: 'api-info',
  Dialog: _dialogs_ApiInfoDialog__WEBPACK_IMPORTED_MODULE_12__["default"],
  isVisible: _ref4 => {
    let {
      entry
    } = _ref4;
    return (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isAPIDistribution)(entry);
  },
  labelNlsKey: 'apiDistributionTitle'
}, {
  id: 'refresh-api',
  Dialog: _dialogs_RefreshAPIDialog_RefreshAPIDialogWrapper__WEBPACK_IMPORTED_MODULE_14__["default"],
  isVisible: _ref5 => {
    let {
      entry
    } = _ref5;
    return (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isAPIDistribution)(entry);
  },
  labelNlsKey: 'reGenerateAPI'
}, {
  id: 'statistics',
  Dialog: _dialogs_StatisticsDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
  isVisible: shouldShowStatistics,
  labelNlsKey: 'seeStatistics'
}, {
  id: 'copy',
  Dialog: _dialogs_CopyDistributionDialog__WEBPACK_IMPORTED_MODULE_15__["default"],
  isVisible: _ref6 => {
    let {
      entry
    } = _ref6;
    return !(0,_utils_distributions__WEBPACK_IMPORTED_MODULE_8__.isAPIDistribution)(entry);
  },
  labelNlsKey: 'copyDistributionAction'
}, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_3__.LIST_ACTION_REVISIONS), {}, {
  Dialog: commons_components_EntryListView_dialogs_ListRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_2__["default"],
  nlsBundles
}), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_3__.LIST_ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveDistributionDialog__WEBPACK_IMPORTED_MODULE_11__["default"]
})];
const presenterAction = _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_3__.LIST_ACTION_INFO), {}, {
  nlsBundles
});

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/ActivateAPIDialog.js"
/*!******************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/ActivateAPIDialog.js ***!
  \******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_components_common_ProgressList__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ProgressList */ "./modules/commons/components/common/ProgressList/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/nls/escaFiles.nls */ "./modules/catalog/nls/escaFiles.nls");
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaApiProgress.nls */ "./modules/catalog/nls/escaApiProgress.nls");
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useValidateFiles__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useValidateFiles */ "./modules/catalog/datasets/DatasetOverview/hooks/useValidateFiles.js");
/* harmony import */ var _tasks__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./tasks */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/tasks.js");
/* harmony import */ var _useActivateAPI__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./useActivateAPI */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/useActivateAPI.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./util */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



















const ActivateAPIDialog = _ref => {
  let {
    closeDialog: _closeDialog,
    entry: distributionEntry,
    refreshDistributions,
    datasetEntry
  } = _ref;
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)([(catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_12___default())]);
  const {
    tasks,
    updateTask,
    allTasksDone
  } = (0,commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.useTasksList)([..._tasks__WEBPACK_IMPORTED_MODULE_16__.TASKS_ACTIVATE_API]);
  const {
    validFiles,
    dialogType: fileValidationType,
    confirmFiles
  } = (0,catalog_datasets_DatasetOverview_hooks_useValidateFiles__WEBPACK_IMPORTED_MODULE_15__["default"])(distributionEntry);
  const [activateAPI] = (0,_useActivateAPI__WEBPACK_IMPORTED_MODULE_17__["default"])(distributionEntry, datasetEntry, updateTask);
  const [alertMessage, setAlertMessage] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const hasFailedTask = tasks.some(_ref2 => {
    let {
      status
    } = _ref2;
    return status === commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_FAILED;
  });
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    // eslint-disable-next-line no-nested-ternary
    const newAlertMessage = allTasksDone ? translate('nlsProgressSuccess') : hasFailedTask ? translate('nlsProgressFailure') : null;
    setAlertMessage(newAlertMessage);
  }, [allTasksDone, hasFailedTask, translate]);

  /**
   * Presents a confirmation dialog in case the dataset or catalog are not public,
   * informing users that creating an API distribution would make data publicly available.
   *
   * @returns {Promise}
   */
  const confirmPublic = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    const message = translate('activateAPINotAllowedDatasetNotPublic');
    const isCatalogPublic = datasetEntry.getContext().getEntry(true).isPublic();
    const isDatasetPublic = datasetEntry.isPublic();
    if (isCatalogPublic && isDatasetPublic) {
      return Promise.resolve(true);
    }
    return getConfirmationDialog({
      content: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_14__.renderHtmlString)(message)
    });
  }, [datasetEntry, getConfirmationDialog, translate]);
  const confirmAndActivateAPI = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    let proceed = true;
    proceed = await confirmPublic();
    if (!proceed) {
      _closeDialog();
      return;
    }
    proceed = await confirmFiles();
    if (fileValidationType === 'acknowledge' || !proceed) {
      _closeDialog();
      return;
    }
    activateAPI();
  }, [activateAPI, confirmFiles, confirmPublic, fileValidationType]); // ! closeDialog - loop

  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    (0,_util__WEBPACK_IMPORTED_MODULE_18__.ignoreHandlers)(_util__WEBPACK_IMPORTED_MODULE_18__.handlersToIgnore);
    if (validFiles === null) {
      return (0,_util__WEBPACK_IMPORTED_MODULE_18__.stopIgnoringHandlers)(_util__WEBPACK_IMPORTED_MODULE_18__.handlersToIgnore);
    }
    confirmAndActivateAPI();
    return (0,_util__WEBPACK_IMPORTED_MODULE_18__.stopIgnoringHandlers)(_util__WEBPACK_IMPORTED_MODULE_18__.handlersToIgnore);
  }, [confirmAndActivateAPI, validFiles]);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "activate-api-dialog",
    closeDialog: () => {
      refreshDistributions();
      _closeDialog();
    },
    maxWidth: "sm",
    title: translate('apiCreateHeader'),
    closeDialogButtonLabel: translate('activateApiDialogButton'),
    alert: {
      message: alertMessage,
      props: allTasksDone ? {
        severity: 'success'
      } : undefined
    }
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_ProgressList__WEBPACK_IMPORTED_MODULE_9__["default"], {
    tasks: tasks,
    nlsBundles: [(catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_12___default())]
  })));
};
ActivateAPIDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  datasetEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  refreshDistributions: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActivateAPIDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/index.js"
/*!******************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/index.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ActivateAPIDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ActivateAPIDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActivateAPIDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/ActivateAPIDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/tasks.js"
/*!******************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/tasks.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FILEPROCESS_TASK_ID: () => (/* binding */ FILEPROCESS_TASK_ID),
/* harmony export */   INIT_TASK_ID: () => (/* binding */ INIT_TASK_ID),
/* harmony export */   TASKS_ACTIVATE_API: () => (/* binding */ TASKS_ACTIVATE_API)
/* harmony export */ });
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");

const INIT_TASK_ID = 'init';
const FILEPROCESS_TASK_ID = 'fileprocess';
const TASKS_ACTIVATE_API = [{
  id: INIT_TASK_ID,
  nlsKeyLabel: 'apiInitialized',
  status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__.STATUS_IDLE,
  message: ''
}, {
  id: FILEPROCESS_TASK_ID,
  nlsKeyLabel: 'apiGenerationTask',
  status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__.STATUS_IDLE,
  message: ''
}];

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/useActivateAPI.js"
/*!***************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/useActivateAPI.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/nls/escaApiProgress.nls */ "./modules/catalog/nls/escaApiProgress.nls");
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var catalog_datasets_DatasetOverview_utils_pipelines__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/pipelines */ "./modules/catalog/datasets/DatasetOverview/utils/pipelines.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/api */ "./modules/catalog/datasets/DatasetOverview/utils/api.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/clone.js");
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");
/* harmony import */ var _tasks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./tasks */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/tasks.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./util */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/util.js");














const useActivateAPI = (distributionEntry, datasetEntry, updateTask) => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const fileURIs = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_4__.getDistributionFileRURIs)(distributionEntry), [distributionEntry]);
  const totalNoFiles = fileURIs.length;

  /**
   * For each of the file URIs execute the pipeline with the append transform sequentially.
   *
   * @param {string[]} fileResourceURIs
   * @param {store/Pipeline} pipelineResource
   * @returns {Promise}
   */
  const processFiles = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async (fileResourceURIs, pipelineResource) => {
    let processedFiles = 1; // One already done in activateAPI
    for (const fileResourceURI of fileResourceURIs) {
      await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystoreUtil.getEntryByResourceURI(fileResourceURI).then(fileEntry => pipelineResource.execute(fileEntry, {})).then(result => (0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_8__.checkStatusOnRepeat)(result[0], t)).catch(error => {
        updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.FILEPROCESS_TASK_ID, {
          status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_FAILED,
          message: t('apiProgressError')
        });
        throw error;
      });
      processedFiles += 1;
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_PROGRESS,
        message: t('apiFileProcessed', {
          number: processedFiles,
          totalFiles: totalNoFiles
        })
      });
    }
    updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.FILEPROCESS_TASK_ID, {
      status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_DONE
    });
  }, [t, totalNoFiles, updateTask]);

  /**
   *  Activates/generates an API distribution.
   *
   * @returns {Promise}
   */
  const activateAPI = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    let tempFileURIs = (0,lodash_es__WEBPACK_IMPORTED_MODULE_10__["default"])(fileURIs);
    try {
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.INIT_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_PROGRESS
      });
      const pipelineResource = await (0,catalog_datasets_DatasetOverview_utils_pipelines__WEBPACK_IMPORTED_MODULE_7__.getPipelineResource)(distributionEntry.getContext());
      const transformId = pipelineResource.getTransformForType(pipelineResource.transformTypes.ROWSTORE);
      pipelineResource.setTransformArguments(transformId, {});
      pipelineResource.setTransformArguments(transformId, {
        action: 'create'
      });
      await pipelineResource.commit();
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.INIT_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_DONE
      });
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_PROGRESS
      });
      const fileEntry = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystoreUtil.getEntryByResourceURI(tempFileURIs[0]);
      const pipelineResultURIs = await pipelineResource.execute(fileEntry, {});
      await (0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_8__.checkStatusOnRepeat)(pipelineResultURIs[0], t);
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_PROGRESS,
        message: t('apiFileProcessed', {
          number: 1,
          totalFiles: totalNoFiles
        })
      });

      // First file uri has been used to initialize the API, so doesn't need
      // to go through the following file processing steps
      tempFileURIs = tempFileURIs.slice(1);
      if (tempFileURIs.length === 0) {
        await (0,_util__WEBPACK_IMPORTED_MODULE_13__.createApiDistribution)(pipelineResultURIs[0], datasetEntry, distributionEntry);
        updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.FILEPROCESS_TASK_ID, {
          status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_DONE
        });
      } else {
        const pipelineResultEntry = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(pipelineResultURIs[0]);
        pipelineResource.setTransformArguments(transformId, {});
        pipelineResource.setTransformArguments(transformId, {
          action: 'append',
          datasetURL: pipelineResultEntry.getResourceURI()
        });
        await pipelineResource.commit();
        await processFiles(tempFileURIs, pipelineResource);
        await (0,_util__WEBPACK_IMPORTED_MODULE_13__.createApiDistribution)(pipelineResultURIs[0], datasetEntry, distributionEntry);
      }
    } catch (error) {
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_12__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_11__.STATUS_FAILED,
        message: t('apiProgressError')
      });
      console.error(error);
    }
  }, [fileURIs, updateTask, distributionEntry, t, totalNoFiles, datasetEntry, processFiles]);
  return [activateAPI];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useActivateAPI);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/util.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/util.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyDistributionMetadata: () => (/* binding */ applyDistributionMetadata),
/* harmony export */   buildApiDistributionMetadata: () => (/* binding */ buildApiDistributionMetadata),
/* harmony export */   createApiDistribution: () => (/* binding */ createApiDistribution),
/* harmony export */   handlersToIgnore: () => (/* binding */ handlersToIgnore),
/* harmony export */   ignoreHandlers: () => (/* binding */ ignoreHandlers),
/* harmony export */   stopIgnoringHandlers: () => (/* binding */ stopIgnoringHandlers)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");







const handlersToIgnore = ['execute', 'loadViaProxy', 'getEntry', 'refresh', 'commitCachedExternalMetadata', 'commitGraph'];

/**
 *  Informs the global error handler to ignore the passed handlers.
 *
 * @param {string[]} handlers
 * @returns {void}
 */
const ignoreHandlers = handlers => handlers.forEach(handler => (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_5__.addIgnore)(handler, true, false));

/**
 *  Informs the global error handler to stop ignoring the passed handlers.
 *
 * @param {string[]} handlers
 * @returns {void}
 */
const stopIgnoringHandlers = handlers => handlers.forEach(handler => (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_5__.removeIgnore)(handler));

/**
 * Builds metadata for an API distribution
 *
 * @param {string} pipelineURI
 * @param {string} parentDistributionURI
 * @param {string} swaggerBaseURL
 * @param {boolean} useNALFormat
 * @returns {object}
 */
const buildApiDistributionMetadata = (pipelineURI, parentDistributionURI, swaggerBaseURL, useNALFormat) => {
  const format = useNALFormat ? 'http://publications.europa.eu/resource/authority/file-type/JSON' : 'application/json';
  const swaggerJsonFileURL = `${pipelineURI}/swagger`;
  const swaggerDocumentationURL = `${swaggerBaseURL}?url=${swaggerJsonFileURL}`;
  return {
    rdfType: 'dcat:Distribution',
    accessURL: pipelineURI,
    conformsTo: swaggerJsonFileURL,
    page: swaggerDocumentationURL,
    source: parentDistributionURI,
    format
  };
};

/**
 * Adds the API distribution metadata to an entry
 *
 * @param {Entry} distribution
 * @param {object} metadata
 * @returns {Entry}
 */
const applyDistributionMetadata = (distribution, metadata) => {
  const {
    rdfType,
    accessURL,
    conformsTo,
    page,
    source,
    format
  } = metadata;
  distribution.add('rdf:type', rdfType).add('dcat:accessURL', accessURL).add('dcterms:conformsTo', conformsTo).add('foaf:page', page).add('dcterms:source', source);
  if ((0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_4__.isUri)(format)) {
    distribution.add('dcterms:format', format);
  } else {
    distribution.addL('dcterms:format', format);
  }
  return distribution;
};

/**
 *
 * @param {Pipeline} pipelineResource
 * @param {Entry} parentDistribution
 * @returns {Promise}
 */
const addApiDistributionToParent = (pipelineResource, parentDistribution) => {
  const metadata = buildApiDistributionMetadata(pipelineResource.getResourceURI(), parentDistribution.getResourceURI(), config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.swaggerBaseURL'), config__WEBPACK_IMPORTED_MODULE_6__["default"].get('catalog.generatedApiFormatAsNAL'));

  // Create entry and apply metadata (harder to test, but thin)
  const distribution = parentDistribution.getContext().newNamedEntry();
  applyDistributionMetadata(distribution, metadata);
  return distribution.commit();
};

/**
 *
 * @param {string} pipelineResultEntryURI
 * @param {Entry} datasetEntry
 * @param {Entry} distributionEntry
 * @returns {Promise}
 */
const createApiDistribution = async (pipelineResultEntryURI, datasetEntry, distributionEntry) => {
  // ? Not sure why we need to check for these, was in old code
  if (!pipelineResultEntryURI || !datasetEntry) {
    const rejectionMessage = !pipelineResultEntryURI ? 'No API to create distribution for.' // ! nls?
    : 'No Dataset to create distribution in.';
    return Promise.reject(rejectionMessage);
  }
  const pipelineResourceEntry = await commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getEntry(pipelineResultEntryURI);
  const newDistributionEntry = await addApiDistributionToParent(pipelineResourceEntry, distributionEntry);
  await _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.utils.addRelation(datasetEntry, 'dcat:distribution', newDistributionEntry);
  return Promise.resolve(true);
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/AddFileDialog/AddFileDialog.js"
/*!**********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/AddFileDialog/AddFileDialog.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/FileUpload */ "./modules/commons/components/common/FileUpload/index.js");
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsEditor */ "./modules/commons/components/rdforms/hooks/useRDFormsEditor.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/nls/escaFilesList.nls */ "./modules/catalog/nls/escaFilesList.nls");
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



















const AddFileDialog = _ref => {
  let {
    closeDialog,
    distributionEntry,
    refreshFileEntries,
    setEditedFiles
  } = _ref;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_10__.useESContext)();
  const [file, setFile] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null);
  const rdformTemplate = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_14__.itemStore.createTemplateFromChildren(['dcterms:title']), []);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)([(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_12___default()), (catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  const [filePrototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)((0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_17__.createFilePrototypeEntry)(context));
  const {
    editor,
    EditorComponent,
    graph
  } = (0,commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_9__["default"])({
    entry: filePrototypeEntry,
    includeLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_16__.LEVEL_OPTIONAL,
    rdformTemplate
  });
  const handleAddFile = async () => {
    try {
      distributionEntry.setRefreshNeeded(); // make sure distribution has latest changes
      await distributionEntry.refresh();
      await (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_17__.addFileToDistribution)(distributionEntry, filePrototypeEntry, file, graph);
      setEditedFiles(true);
      refreshFileEntries();
      closeDialog();
    } catch (error) {
      console.error(`Failed to add file: ${error}`);
    }
  };
  const dialogActions = /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_18__["default"], {
    autoFocus: true,
    onClick: handleAddFile,
    disabled: !file
  }, t('addButtonLabel'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "add-file",
    closeDialog: closeDialog,
    title: t('createHeader'),
    actions: dialogActions,
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_15__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement("form", {
    autoComplete: "off"
  }, /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_8__["default"], {
    label: t('fileLabel'),
    editor: true
  }, /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_7__["default"], {
    file: file,
    onSelectFile: inputEl => setFile(inputEl)
  })), editor && /*#__PURE__*/React.createElement(EditorComponent, null))));
};
AddFileDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  distributionEntry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  refreshFileEntries: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  setEditedFiles: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddFileDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/AddFileDialog/index.js"
/*!**************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/AddFileDialog/index.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _AddFileDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _AddFileDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/AddFileDialog/AddFileDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/ApiInfoDialog.js"
/*!**********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/ApiInfoDialog.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Save.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/api */ "./modules/catalog/datasets/DatasetOverview/utils/api.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./index.scss */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


















const STATUS_COLOR = {
  available: 'escaApiInfo__status-green',
  error: 'escaApiInfo__status-red'
};
const ApiInfoDialog = _ref => {
  var _apiData$columnNames;
  let {
    entry: distributionEntry,
    nlsBundles,
    closeDialog
  } = _ref;
  const defaultHelperText = 'apiAliasNamePlaceholder';
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)(nlsBundles);
  const [pipelineResultsEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_22__["default"])(catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_24__.getPipelineResultsEntry, distributionEntry);
  const {
    data: apiData,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__["default"])(null);
  const [alias, setAlias] = (0,react__WEBPACK_IMPORTED_MODULE_25__.useState)(null);
  const [aliasError, setAliasError] = (0,react__WEBPACK_IMPORTED_MODULE_25__.useState)('');
  const [exampleURL, setExampleURL] = (0,react__WEBPACK_IMPORTED_MODULE_25__.useState)(null);
  const [onEditMode, setOnEditMode] = (0,react__WEBPACK_IMPORTED_MODULE_25__.useState)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => {
    if (!pipelineResultsEntry) return;
    runAsync((0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_23__.getApiInformation)(pipelineResultsEntry));
  }, [pipelineResultsEntry, runAsync]);
  (0,react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => {
    if (!apiData) return;
    const {
      apiAlias,
      columnNames
    } = apiData;
    if (columnNames !== null && columnNames !== void 0 && columnNames.length) {
      const apiExampleURL = (0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_23__.getExampleURL)(pipelineResultsEntry.getResourceURI(), apiAlias, columnNames[0]);
      setExampleURL(apiExampleURL);
    }
    if (apiAlias) {
      setAlias(apiAlias);
    }
  }, [apiData, pipelineResultsEntry]);
  (0,react__WEBPACK_IMPORTED_MODULE_25__.useEffect)(() => {
    if (!(0,commons_util_util__WEBPACK_IMPORTED_MODULE_26__.isAlphaNumeric)(alias) && Boolean(alias)) {
      setAliasError('invalidAliasName');
      return;
    }
    setAliasError('');
  }, [alias]);
  const handleCancel = () => {
    if (apiData.apiAlias) {
      setAlias(apiData.apiAlias);
    } else {
      setAlias(null);
    }
    setAliasError('');
    setOnEditMode(false);
  };
  const handleChange = _ref2 => {
    let {
      target
    } = _ref2;
    return setAlias(target.value);
  };
  const handleSaveAlias = async () => {
    if (!(alias !== null && alias !== void 0 && alias.length)) {
      setAlias(null);
    }
    try {
      const updatedEntry = await (0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_23__.updateAlias)(pipelineResultsEntry, alias);
      if (updatedEntry) {
        const updatedExampleURL = (0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_23__.getExampleURL)(pipelineResultsEntry.getResourceURI(), alias, apiData.columnNames[0]);
        setAlias(updatedEntry.apiAlias);
        setExampleURL(updatedExampleURL);
        runAsync((0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_23__.getApiInformation)(pipelineResultsEntry));
      }
      setOnEditMode(false);
    } catch (error) {
      setAliasError('duplicateAliasName');
      console.error(`Failed to update API alias: ${error}`);
    }
  };
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "api-info",
    closeDialogButtonLabel: translate('apiInfoDialogCloseLabel'),
    maxWidth: "md",
    title: translate('apiInfoDialogHeader'),
    closeDialog: closeDialog
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_19__["default"], null, apiData ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    direction: "column"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    className: "escaApiInfo__column",
    direction: "column"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escaApiInfo__header",
    variant: "body1",
    component: "h3",
    gutterBottom: true
  }, translate('apiStatusLabel'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: `${STATUS_COLOR[apiData.apiStatus]} escaApiInfo__header`,
    variant: "body1",
    gutterBottom: true
  }, apiData.apiStatus ? translate(`apiStatus_${apiData.apiStatus}`) : translate('missingAPIStatus')))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    className: "escaApiInfo__column",
    direction: "column"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escaApiInfo__header",
    variant: "body1",
    component: "h3",
    gutterBottom: true
  }, translate('apiId'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    gutterBottom: true
  }, apiData.identifier))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    className: "escaApiInfo__column",
    direction: "column"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, onEditMode ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    label: translate('apiAlias'),
    id: "concept-edit-name",
    value: alias || '',
    onChange: handleChange,
    error: Boolean(aliasError),
    helperText: aliasError ? translate(aliasError) : translate(defaultHelperText),
    slotProps: {
      input: {
        endAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
          position: "end"
        }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__["default"], {
          title: translate('cancelEditAliasLabel')
        }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
          "aria-label": translate('cancelEditAliasLabel'),
          onClick: () => handleCancel()
        }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"], null))), /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__["default"], {
          title: translate('apiSaveAliasLabel')
        }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
          "aria-label": translate('apiSaveAliasLabel'),
          onClick: handleSaveAlias,
          disabled: Boolean(aliasError)
        }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"], null))))
      }
    }
  }) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    disabled: true,
    label: translate('apiAlias'),
    id: "edit-alias",
    value: alias || '',
    InputProps: {
      endAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
        position: "end"
      }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__["default"], {
        title: translate('editAliasLabel')
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
        "aria-label": translate('editAliasLabel'),
        onClick: () => setOnEditMode(true)
      }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_17__["default"], null))))
    }
  }))), apiData.columnNames && exampleURL ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    className: "escaApiInfo__column",
    direction: "column"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escaApiInfo__header",
    variant: "body1",
    component: "h3",
    gutterBottom: true
  }, translate('searchExampleLabel'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    gutterBottom: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    "aria-live": "polite",
    target: "_blank",
    href: exampleURL
  }, exampleURL)))) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    className: "escaApiInfo__column",
    direction: "column"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escaApiInfo__header",
    variant: "body1",
    component: "h3",
    gutterBottom: true
  }, translate('columnLabel'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, (_apiData$columnNames = apiData.columnNames) !== null && _apiData$columnNames !== void 0 && _apiData$columnNames.length ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], null, apiData.columnNames.map(columnName => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    className: "escaApiInfo__apiColumnsList",
    key: columnName
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    primary: columnName
  })))) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1"
  }, translate('missingColumns'))))) : null));
};
ApiInfoDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.nlsBundlesPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ApiInfoDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.js"
/*!**************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ApiInfoDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ApiInfoDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ApiInfoDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/ApiInfoDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/CopyDistributionDialog/CopyDistributionDialog.js"
/*!****************************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/CopyDistributionDialog/CopyDistributionDialog.js ***!
  \****************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_datasets_DatasetOverview_dialogs_CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "closeDialog"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

// eslint-disable-next-line max-len







const CopyDistributionDialog = _ref => {
  let {
      entry: distributionEntry,
      closeDialog
    } = _ref,
    actionParams = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const prototypeEntry = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(() => (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_3__.createPrototypeEntry)(context, distributionEntry, translate('cloneCopy')), [distributionEntry, context, translate]);
  return /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_dialogs_CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_1__["default"], {
    prototypeEntry: prototypeEntry,
    actionParams: actionParams,
    closeDialog: closeDialog,
    titleNlsKey: "copyDistDialogTitle",
    buttonLabelNlsKey: "copyDistDialogButton"
  });
};
CopyDistributionDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CopyDistributionDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/CopyDistributionDialog/index.js"
/*!***********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/CopyDistributionDialog/index.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CopyDistributionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CopyDistributionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CopyDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/CopyDistributionDialog/CopyDistributionDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditDistributionDialog/EditDistributionDialog.js"
/*!****************************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditDistributionDialog/EditDistributionDialog.js ***!
  \****************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/entry/EditEntryDialog */ "./modules/commons/components/entry/EditEntryDialog/index.js");
/* harmony import */ var commons_components_rdforms_GeoChooser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/rdforms/GeoChooser */ "./modules/commons/components/rdforms/GeoChooser/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const EditDistributionDialog = _ref => {
  let {
    closeDialog,
    entry: distributionEntry,
    refreshDistributions,
    datasetEntry
  } = _ref;
  const filterPredicates = (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.isDistributionUploaded)(distributionEntry) || (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.isAPIDistribution)(distributionEntry) ? {
    'http://www.w3.org/ns/dcat#accessURL': true,
    'http://www.w3.org/ns/dcat#downloadURL': true
  } : null;
  return /*#__PURE__*/React.createElement(commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_3__["default"], {
    entry: distributionEntry,
    parentEntry: datasetEntry,
    closeDialog: closeDialog,
    onEntryEdit: refreshDistributions,
    filterPredicates: filterPredicates
  });
};
EditDistributionDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.entryPropType,
  refreshDistributions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  datasetEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditDistributionDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditDistributionDialog/index.js"
/*!***********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditDistributionDialog/index.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EditDistributionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EditDistributionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditDistributionDialog/EditDistributionDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditFileDialog/EditFileDialog.js"
/*!************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditFileDialog/EditFileDialog.js ***!
  \************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsEditor */ "./modules/commons/components/rdforms/hooks/useRDFormsEditor.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaFilesList.nls */ "./modules/catalog/nls/escaFilesList.nls");
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

















const EditFileDialog = _ref => {
  let {
    closeDialog,
    entry: fileEntry,
    refreshFileEntries
  } = _ref;
  const [buttonDisabled, setButtonDisabled] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true);
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_12__.useConfirmCloseAction)(closeDialog);
  const rdformTemplate = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    const entitytype = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_15__["default"].getEntityTypeByRdfType(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_16__.namespaces.expand('esterms:File'), 'catalog');
    return entitytype.template();
  }, []);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9___default()), (catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_10___default())]);
  const {
    editor,
    EditorComponent,
    graph
  } = (0,commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_7__["default"])({
    entry: fileEntry,
    includeLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_13__.LEVEL_OPTIONAL,
    rdformTemplate
  });
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (graph) {
      graph.onChange = () => {
        setButtonDisabled(false);
      };
    }
  }, [graph]);
  const handleCloseAction = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    confirmClose(graph.isChanged());
  }, [confirmClose, graph]);
  const handleSaveForm = async () => {
    try {
      await fileEntry.setMetadata(graph).commitMetadata();
      refreshFileEntries();
    } catch (error) {
      console.error(`Could not save changes: ${error}`);
    } finally {
      closeDialog();
    }
  };
  const dialogActions = /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_14__["default"], {
    autoFocus: true,
    onClick: handleSaveForm,
    disabled: buttonDisabled
  }, translate('saveButtonLabel'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "edit-file",
    closeDialog: handleCloseAction,
    title: translate('editFileLabel'),
    actions: dialogActions,
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement("form", {
    autoComplete: "off"
  }, editor && /*#__PURE__*/React.createElement(EditorComponent, null))));
};
EditFileDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  refreshFileEntries: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditFileDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditFileDialog/index.js"
/*!***************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditFileDialog/index.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EditFileDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EditFileDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditFileDialog/EditFileDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/ManageFilesDialog.js"
/*!******************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/ManageFilesDialog.js ***!
  \******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");
/* harmony import */ var _EditFileDialog__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../EditFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/EditFileDialog/index.js");
/* harmony import */ var _hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../../hooks/useVisualizations */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./actions */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/actions.js");
/* harmony import */ var _RefreshAPIDialog_RefreshAPIDialogWrapper__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../RefreshAPIDialog/RefreshAPIDialogWrapper */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/RefreshAPIDialogWrapper.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../tags */ "./modules/catalog/datasets/DatasetOverview/DistributionList/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["label", "fileNotFound"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





























const ManageFilesDialog = _ref => {
  let {
    apiDistributionEntry,
    distributionEntry,
    onClose,
    onRefreshApi,
    refreshDistributions
  } = _ref;
  const context = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_14__.useESContext)();
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_22__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_26__.nlsBundles);
  const [editedFiles, setEditedFiles] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(false);
  const {
    runAsync,
    data: allListItems,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_19__["default"])();
  const [{
    search,
    refreshCount
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_18__.useListModel)();
  const {
    result: listItems,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_18__.useListQuery)({
    items: allListItems,
    searchFields: ['label']
  });
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    const getAllListItems = async () => {
      if (refreshCount > 0) {
        // solr reindexing
        await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_23__["default"])(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__.SOLR_DELAY);
      }
      const entries = await commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystoreUtil.loadEntriesByResourceURIs((0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_21__.getDistributionFileRURIs)(distributionEntry), context, true);
      return entries.filter(Boolean).map(entry => {
        const resourceURI = entry.getResourceURI();
        const sizeOfFile = entry.getEntryInfo().getSize();
        const fileNotFound = !resourceURI || !sizeOfFile;
        return {
          entry,
          label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_20__.getLabel)(entry),
          fileNotFound
        };
      });
    };
    runAsync(getAllListItems());
  }, [runAsync, distributionEntry, context, refreshCount]);
  const refreshFileEntries = async () => dispatch({
    type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_18__.REFRESH
  });
  const handleClose = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(async () => {
    if (!apiDistributionEntry || !editedFiles) {
      onClose();
    } else {
      const proceed = await getConfirmationDialog({
        content: translate('refreshAPI')
      });
      if (proceed) {
        onRefreshApi(true);
      } else {
        onClose();
      }
    }
    if (editedFiles) {
      // makes it run async preventing race condition
      setTimeout(async () => {
        await refreshDistributions();
      }, 0);
    }
  }, [apiDistributionEntry, editedFiles, getConfirmationDialog, onClose, onRefreshApi, refreshDistributions, translate]);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "manage-files",
    title: translate('manageFilesHeader'),
    closeDialog: handleClose,
    closeDialogButtonLabel: translate('manageFilesFooterButton'),
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_12__["default"], null, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__.EntryListView, {
    items: listItems,
    size: size,
    search: search,
    status: status,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_26__.nlsBundles,
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__.TITLE_COLUMN), {}, {
      xs: 7,
      getProps: _ref2 => {
        let {
            label,
            fileNotFound
          } = _ref2,
          props = _objectWithoutProperties(_ref2, _excluded);
        return _objectSpread(_objectSpread({}, props), {}, {
          primary: label,
          tagVisibilityParams: {
            fileNotFound
          }
        });
      },
      tags: _tags__WEBPACK_IMPORTED_MODULE_28__.FILE_ERROR_TAG
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__.ACTIONS_GROUP_COLUMN), {}, {
      xs: 2,
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_17__.LIST_ACTION_INFO, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_17__.LIST_ACTION_EDIT), {}, {
        Dialog: _EditFileDialog__WEBPACK_IMPORTED_MODULE_24__["default"]
      })]
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_16__.ACTION_MENU_COLUMN), {}, {
      actions: _actions__WEBPACK_IMPORTED_MODULE_26__.rowActions,
      filesCount: size,
      distributionEntry,
      refreshFileEntries,
      setEditedFiles
    })],
    getListItemProps: _ref3 => {
      let {
        entry
      } = _ref3;
      return {
        action: _objectSpread(_objectSpread({}, _actions__WEBPACK_IMPORTED_MODULE_26__.rowActions[0]), {}, {
          entry,
          refreshFileEntries
        })
      };
    },
    listActions: _actions__WEBPACK_IMPORTED_MODULE_26__.listActions,
    listActionsProps: {
      refreshFileEntries,
      setEditedFiles,
      distributionEntry
    }
  })));
};
ManageFilesDialog.propTypes = {
  distributionEntry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  apiDistributionEntry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  onRefreshApi: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  refreshDistributions: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
const ManageFilesDialogWrapper = _ref4 => {
  let {
    entry: distributionEntry,
    closeDialog,
    refreshDistributions,
    apiDistributionEntry
  } = _ref4;
  const datasetEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_15__.useEntry)();
  const [confirmedApiRefresh, setConfirmedApiRefresh] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(false);
  const {
    refreshVisualizations
  } = (0,_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_25__.useVisualizations)(datasetEntry);
  const refreshAndClose = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(() => {
    refreshVisualizations();
    closeDialog();
  }, [closeDialog, refreshVisualizations]);
  return !confirmedApiRefresh ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_18__.ListModelProvider, null, /*#__PURE__*/React.createElement(ManageFilesDialog, {
    distributionEntry: distributionEntry,
    apiDistributionEntry: apiDistributionEntry,
    onRefreshApi: setConfirmedApiRefresh,
    onClose: refreshAndClose,
    refreshDistributions: refreshDistributions
  })) : /*#__PURE__*/React.createElement(_RefreshAPIDialog_RefreshAPIDialogWrapper__WEBPACK_IMPORTED_MODULE_27__["default"], {
    entry: apiDistributionEntry,
    closeDialog: refreshAndClose,
    refreshDistributions: refreshDistributions
  });
};
ManageFilesDialogWrapper.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  refreshDistributions: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  apiDistributionEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ManageFilesDialogWrapper);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/actions.js"
/*!********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/actions.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/nls/escaManageFiles.nls */ "./modules/catalog/nls/escaManageFiles.nls");
/* harmony import */ var catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/nls/escaFilesList.nls */ "./modules/catalog/nls/escaFilesList.nls");
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _AddFileDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../AddFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/AddFileDialog/index.js");
/* harmony import */ var _ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ReplaceFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ReplaceFileDialog/index.js");
/* harmony import */ var _RemoveFileDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../RemoveFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveFileDialog/index.js");
/* harmony import */ var _DownloadFile__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../DownloadFile */ "./modules/catalog/datasets/DatasetOverview/DistributionList/DownloadFile/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default()), (catalog_nls_escaManageFiles_nls__WEBPACK_IMPORTED_MODULE_2___default()), (catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_4___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default())];
const listActions = [{
  id: 'add-file',
  Dialog: _AddFileDialog__WEBPACK_IMPORTED_MODULE_6__["default"],
  labelNlsKey: 'addFile'
}];
const rowActions = [{
  id: 'replace-file',
  Dialog: _ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  labelNlsKey: 'replaceMenu'
}, {
  id: 'download',
  Dialog: _DownloadFile__WEBPACK_IMPORTED_MODULE_9__["default"],
  // download does not have a dialogue
  labelNlsKey: 'downloadButtonTitle'
}, _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  Dialog: _RemoveFileDialog__WEBPACK_IMPORTED_MODULE_8__["default"],
  labelNlsKey: 'removeFileLabel'
})];

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/index.js"
/*!******************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/index.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ManageFilesDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ManageFilesDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ManageFilesDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ManageFilesDialog/ManageFilesDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/RefreshAPIDialog.js"
/*!****************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/RefreshAPIDialog.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_ProgressList__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/ProgressList */ "./modules/commons/components/common/ProgressList/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaFiles.nls */ "./modules/catalog/nls/escaFiles.nls");
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/nls/escaApiProgress.nls */ "./modules/catalog/nls/escaApiProgress.nls");
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useValidateFiles__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useValidateFiles */ "./modules/catalog/datasets/DatasetOverview/hooks/useValidateFiles.js");
/* harmony import */ var _useRefreshAPI__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useRefreshAPI */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/useRefreshAPI.js");
/* harmony import */ var _tasks__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./tasks */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/tasks.js");
/* harmony import */ var _ActivateAPIDialog_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../ActivateAPIDialog/util */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ActivateAPIDialog/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















 // Same as activate api, should be common-ified

const RefreshAPIDialog = _ref => {
  let {
    closeDialog: _closeDialog,
    apiDistribution,
    sourceDistribution,
    refreshDistributions
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)([(catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10___default()), (catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_11___default())]);
  const {
    tasks,
    updateTask,
    allTasksDone
  } = (0,commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_12__.useTasksList)([..._tasks__WEBPACK_IMPORTED_MODULE_15__.TASKS_REFRESH_API]);
  const {
    validFiles,
    dialogType: fileValidationType,
    confirmFiles
  } = (0,catalog_datasets_DatasetOverview_hooks_useValidateFiles__WEBPACK_IMPORTED_MODULE_13__["default"])(sourceDistribution);
  const [refreshAPI] = (0,_useRefreshAPI__WEBPACK_IMPORTED_MODULE_14__["default"])(sourceDistribution, updateTask, apiDistribution);
  const [alertMessage, setAlertMessage] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  const hasFailedTask = tasks.some(_ref2 => {
    let {
      status
    } = _ref2;
    return status === commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_12__.STATUS_FAILED;
  });
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const successMessage = allTasksDone && translate('nlsProgressSuccess');
    const failureMessage = hasFailedTask && translate('nlsProgressFailure');
    const newAlertMessage = successMessage || failureMessage || '';
    setAlertMessage(newAlertMessage);
  }, [allTasksDone, hasFailedTask, translate]);
  const confirmAndRefreshAPI = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    const proceed = await confirmFiles();
    if (fileValidationType === 'acknowledge' || !proceed) {
      _closeDialog();
      return;
    }
    refreshAPI();
  }, [confirmFiles, refreshAPI, fileValidationType]); // closeDialog missing, infinite loop

  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    (0,_ActivateAPIDialog_util__WEBPACK_IMPORTED_MODULE_16__.ignoreHandlers)(_ActivateAPIDialog_util__WEBPACK_IMPORTED_MODULE_16__.handlersToIgnore);
    if (validFiles === null) {
      return (0,_ActivateAPIDialog_util__WEBPACK_IMPORTED_MODULE_16__.stopIgnoringHandlers)(_ActivateAPIDialog_util__WEBPACK_IMPORTED_MODULE_16__.handlersToIgnore);
    }
    confirmAndRefreshAPI();
    return (0,_ActivateAPIDialog_util__WEBPACK_IMPORTED_MODULE_16__.stopIgnoringHandlers)(_ActivateAPIDialog_util__WEBPACK_IMPORTED_MODULE_16__.handlersToIgnore);
  }, [confirmAndRefreshAPI, validFiles]);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "refresh-api-dialog",
    closeDialog: () => {
      refreshDistributions();
      _closeDialog();
    },
    maxWidth: "sm",
    title: translate('apiRegenerateHeader'),
    closeDialogButtonLabel: translate('apiRegenerateButton'),
    alert: {
      message: alertMessage,
      props: allTasksDone ? {
        severity: 'success'
      } : undefined
    }
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_ProgressList__WEBPACK_IMPORTED_MODULE_8__["default"], {
    tasks: tasks,
    nlsBundles: [(catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_11___default())]
  })));
};
RefreshAPIDialog.propTypes = {
  apiDistribution: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  sourceDistribution: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  refreshDistributions: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RefreshAPIDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/RefreshAPIDialogWrapper.js"
/*!***********************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/RefreshAPIDialogWrapper.js ***!
  \***********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _RefreshAPIDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./RefreshAPIDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/RefreshAPIDialog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const RefreshAPIDialogWrapper = _ref => {
  let {
      entry: apiDistribution
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const [sourceDistribution] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_5__["default"])(catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_6__.getSourceDistribution, apiDistribution);
  if (!sourceDistribution) {
    return null;
  }
  return /*#__PURE__*/React.createElement(_RefreshAPIDialog__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({
    apiDistribution: apiDistribution,
    sourceDistribution: sourceDistribution
  }, rest));
};
RefreshAPIDialogWrapper.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RefreshAPIDialogWrapper);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/tasks.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/tasks.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FILEPROCESS_TASK_ID: () => (/* binding */ FILEPROCESS_TASK_ID),
/* harmony export */   INIT_TASK_ID: () => (/* binding */ INIT_TASK_ID),
/* harmony export */   TASKS_REFRESH_API: () => (/* binding */ TASKS_REFRESH_API)
/* harmony export */ });
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");

const INIT_TASK_ID = 'init';
const FILEPROCESS_TASK_ID = 'fileprocess';
const TASKS_REFRESH_API = [{
  id: INIT_TASK_ID,
  nlsKeyLabel: 'apiInitialized',
  status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__.STATUS_IDLE,
  message: ''
}, {
  id: FILEPROCESS_TASK_ID,
  nlsKeyLabel: 'apiGenerationTask',
  status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__.STATUS_IDLE,
  message: ''
}];

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/useRefreshAPI.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/useRefreshAPI.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/nls/escaApiProgress.nls */ "./modules/catalog/nls/escaApiProgress.nls");
/* harmony import */ var catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var catalog_datasets_DatasetOverview_utils_pipelines__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/pipelines */ "./modules/catalog/datasets/DatasetOverview/utils/pipelines.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/api */ "./modules/catalog/datasets/DatasetOverview/utils/api.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");
/* harmony import */ var _tasks__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./tasks */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RefreshAPIDialog/tasks.js");












const useRefreshAPI = (distributionEntry, updateTask, apiDistributionEntry) => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((catalog_nls_escaApiProgress_nls__WEBPACK_IMPORTED_MODULE_6___default()));

  /**
   * For each of the file URIs execute the pipeline with the append transform sequentially.
   *
   * @param {string[]} fileResourceURIs
   * @param {store/Pipeline} pipelineResource
   * @returns {Promise}
   */
  const processFiles = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async (fileResourceURIs, pipelineResource, totalFiles) => {
    let processedFiles = 1; // One already done in refreshAPI()
    for (const fileResourceURI of fileResourceURIs) {
      await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystoreUtil.getEntryByResourceURI(fileResourceURI).then(fileEntry => pipelineResource.execute(fileEntry, {})).then(result => (0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_8__.checkStatusOnRepeat)(result[0], t)).catch(error => {
        updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.FILEPROCESS_TASK_ID, {
          status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_FAILED,
          message: t('apiProgressError')
        });
        throw error;
      });
      processedFiles += 1;
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_PROGRESS,
        message: t('apiFileProcessed', {
          number: processedFiles,
          totalFiles
        })
      });
    }
    updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.FILEPROCESS_TASK_ID, {
      status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_DONE
    });
  }, [t, updateTask]);

  /**
   * Update distribution metadata
   *  dcterms:modified, dcat:accessURL, dcterms:conformsTo
   * @returns {Promise<store/Entry>}
   */
  const updateApiDistribution = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    const apiDistributionMetadata = apiDistributionEntry.getMetadata();
    const apiDistributionResourceURI = apiDistributionEntry.getResourceURI();
    apiDistributionMetadata.findAndRemove(apiDistributionResourceURI, 'dcterms:modified');
    apiDistributionMetadata.addD(apiDistributionResourceURI, 'dcterms:modified', new Date().toISOString(), 'xsd:date');
    const apiURI = apiDistributionMetadata.findFirstValue(apiDistributionResourceURI, 'dcat:accessURL');
    if (apiURI) {
      // Should never fail for API distributions.
      const swaggerURI = `${apiURI}/swagger`;
      apiDistributionMetadata.findAndRemove(apiDistributionResourceURI, 'dcterms:conformsTo', swaggerURI);
      apiDistributionMetadata.add(apiDistributionResourceURI, 'dcterms:conformsTo', swaggerURI);
    }
    return apiDistributionEntry.commitMetadata();
  }, [apiDistributionEntry]);

  /**
   *  Refreshes/replaces an API.
   *
   * @returns {Promise}
   */
  const refreshAPI = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    try {
      distributionEntry.setRefreshNeeded();
      await distributionEntry.refresh();
      apiDistributionEntry.setRefreshNeeded();
      await apiDistributionEntry.refresh();
      const fileURIs = (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_4__.getDistributionFileRURIs)(distributionEntry);
      const totalNoFiles = fileURIs.length;
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.INIT_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_PROGRESS
      });
      const pipelineResource = await (0,catalog_datasets_DatasetOverview_utils_pipelines__WEBPACK_IMPORTED_MODULE_7__.getPipelineResource)(distributionEntry.getContext());
      const transformId = pipelineResource.getTransformForType(pipelineResource.transformTypes.ROWSTORE);
      const apiAccessURI = apiDistributionEntry.getMetadata().findFirstValue(null, 'dcat:accessURL');
      pipelineResource.setTransformArguments(transformId, {});
      pipelineResource.setTransformArguments(transformId, {
        // TODO Improve performance by using action 'append' if only file additions have been done
        action: 'replace',
        datasetURL: apiAccessURI
      });
      await pipelineResource.commit();
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.INIT_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_DONE
      });
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_PROGRESS
      });
      const fileEntry = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystoreUtil.getEntryByResourceURI(fileURIs[0]);
      const pipelineResultURIs = await pipelineResource.execute(fileEntry, {});
      await (0,catalog_datasets_DatasetOverview_utils_api__WEBPACK_IMPORTED_MODULE_8__.checkStatusOnRepeat)(pipelineResultURIs[0], t);
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_PROGRESS,
        message: t('apiFileProcessed', {
          number: 1,
          totalFiles: totalNoFiles
        })
      });

      // First file uri has been used to initialize the API, so doesn't need
      // to go through the following file processing steps
      const tempFileURIs = fileURIs.slice(1);
      if (tempFileURIs.length > 0) {
        const pipelineResultEntry = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(pipelineResultURIs[0]);
        pipelineResource.setTransformArguments(transformId, {});
        pipelineResource.setTransformArguments(transformId, {
          action: 'append',
          datasetURL: pipelineResultEntry.getResourceURI()
        });
        await pipelineResource.commit();
        await processFiles(tempFileURIs, pipelineResource, totalNoFiles);
      }
      await updateApiDistribution();
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_DONE
      });
    } catch (error) {
      updateTask(_tasks__WEBPACK_IMPORTED_MODULE_11__.FILEPROCESS_TASK_ID, {
        status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_10__.STATUS_FAILED,
        message: t('apiProgressError')
      });
      console.error(error);
    }
  }, [updateTask, distributionEntry, apiDistributionEntry, updateApiDistribution, processFiles, t]);
  return [refreshAPI];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRefreshAPI);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/RemoveDistributionDialog.js"
/*!********************************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/RemoveDistributionDialog.js ***!
  \********************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizations */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var _useGetRemoveDistributionParams__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./useGetRemoveDistributionParams */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/useGetRemoveDistributionParams.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













const RemoveDistributionDialog = _ref => {
  let {
    entry: distributionEntry,
    apiDistributionResourceURIs,
    refreshDistributions,
    closeDialog
  } = _ref;
  const datasetEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const {
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const {
    actionType,
    message,
    remove,
    removeParams
  } = (0,_useGetRemoveDistributionParams__WEBPACK_IMPORTED_MODULE_12__["default"])(distributionEntry, datasetEntry, apiDistributionResourceURIs);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const closeButtonLabel = actionType === 'confirm' ? translate('reject') : translate('ok');
  const {
    refreshVisualizations
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_9__.useVisualizations)(datasetEntry);
  const handleRemove = () => runAsync(remove(...removeParams).then(refreshDistributions).then(refreshVisualizations).then(closeDialog));
  const dialogActions = actionType === 'confirm' ? /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_11__["default"], {
    onClick: handleRemove,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__.PENDING,
    color: "primary",
    autoFocus: true
  }, translate('confirm')) : null;
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "remove-distribution",
    actions: dialogActions,
    closeDialog: closeDialog,
    maxWidth: "sm",
    closeDialogButtonLabel: closeButtonLabel
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_7__["default"], null, message));
};
RemoveDistributionDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  apiDistributionResourceURIs: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)),
  refreshDistributions: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveDistributionDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/index.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/index.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveDistributionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveDistributionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/RemoveDistributionDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/useGetRemoveDistributionParams.js"
/*!**************************************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveDistributionDialog/useGetRemoveDistributionParams.js ***!
  \**************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../hooks/useVisualizations */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js");







/**
 *
 * @param {Entry} distributionEntry
 * @param {Entry} datasetEntry
 * @param {string[]} apiDistributionResourceURIs
 * @param {Entry[]} visualizations
 * @param {Function} translate
 * @returns {object}
 */
const getRemoveDistributionParams = (distributionEntry, datasetEntry, apiDistributionResourceURIs, visualizations, translate) => {
  /*
    WMS distributions can have dependent visualizations
  */
  if ((0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.isWMSDistribution)(distributionEntry)) {
    const relatedWMSVisualizationEntries = (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.getRelatedWMSVisualizations)(visualizations, distributionEntry);
    if (relatedWMSVisualizationEntries !== null && relatedWMSVisualizationEntries !== void 0 && relatedWMSVisualizationEntries.length) return {
      actionType: 'confirm',
      message: translate('removeDistributionWithVisualizationQuestion', {
        1: relatedWMSVisualizationEntries.length
      }),
      remove: catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.removeWMSDistributionAndVisualization,
      removeParams: [distributionEntry, datasetEntry, relatedWMSVisualizationEntries]
    };
  }
  if ((0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.isAPIDistribution)(distributionEntry)) {
    return {
      actionType: 'confirm',
      message: translate('removeDistributionQuestion'),
      remove: catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.deactivateAPIAndRemoveDistribution,
      removeParams: [distributionEntry, datasetEntry]
    };
  }
  if ((0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.isAccessDistribution)(distributionEntry)) {
    return {
      actionType: 'confirm',
      message: translate('removeDistributionQuestion'),
      remove: catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.removeDistribution,
      removeParams: [distributionEntry, datasetEntry]
    };
  }

  /*
    File distributions can have dependent visualizations
    and api:s. These cases are handled differently.
  */
  if ((0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.isFileDistributionWithoutAPI)(distributionEntry, apiDistributionResourceURIs)) {
    const relatedVisualizationEntries = (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.filterVisualizationsByDistribution)(visualizations, distributionEntry);
    return {
      actionType: 'confirm',
      message: relatedVisualizationEntries !== null && relatedVisualizationEntries !== void 0 && relatedVisualizationEntries.length ? translate('removeDistributionWithVisualizationQuestion', {
        1: relatedVisualizationEntries.length
      }) : translate('removeDistributionQuestion'),
      remove: catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_2__.removeDistribution,
      removeParams: [distributionEntry, datasetEntry]
    };
  }

  // file distribution with api
  return {
    actionType: 'acknowledge',
    message: translate('removeFileDistWithAPI')
  };
};
const useGetRemoveDistributionParams = (distributionEntry, datasetEntry, apiDistributionResourceURIs) => {
  const {
    visualizations
  } = (0,_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_5__.useVisualizations)(datasetEntry);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3___default()));
  const removeDistributionParams = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => getRemoveDistributionParams(distributionEntry, datasetEntry, apiDistributionResourceURIs, visualizations, translate), [datasetEntry, distributionEntry, apiDistributionResourceURIs, visualizations, translate]);
  return removeDistributionParams;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetRemoveDistributionParams);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveFileDialog/RemoveFileDialog.js"
/*!****************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveFileDialog/RemoveFileDialog.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaFilesList.nls */ "./modules/catalog/nls/escaFilesList.nls");
/* harmony import */ var catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const RemoveFileDialog = _ref => {
  let {
    distributionEntry,
    closeDialog,
    entry: fileEntry,
    refreshFileEntries,
    filesCount,
    setEditedFiles
  } = _ref;
  const datasetEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)([(catalog_nls_escaFilesList_nls__WEBPACK_IMPORTED_MODULE_12___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default())]);
  const {
    data: visualizationEntries,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__["default"])(null);
  const {
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    runAsync((0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__.getVisualizationsForFile)(fileEntry, datasetEntry));
  }, [runAsync, fileEntry, datasetEntry]);
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (filesCount === 1) {
      getAcknowledgeDialog({
        content: translate('cannotRemoveSingleFile')
      }).then(() => closeDialog());
    }
  }, [getAcknowledgeDialog, filesCount, translate, closeDialog]);
  const onRemove = async () => {
    try {
      await (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_7__.removeFile)(fileEntry, distributionEntry);
      setEditedFiles(true);

      // Remove visualisations associated with the file being removed.
      if (visualizationEntries.length) await (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__.removeVisualizationsEntriesFromDataset)(visualizationEntries, datasetEntry);
      refreshFileEntries();
    } catch (error) {
      console.error(`An error occurred when trying to remove file: ${error}`);
    } finally {
      closeDialog();
    }
  };
  return filesCount > 1 ? /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
    entry: fileEntry,
    closeDialog: closeDialog,
    onRemove: onRemove,
    removeConfirmMessage: visualizationEntries !== null && visualizationEntries !== void 0 && visualizationEntries.length ? translate('removeFileHasVisualization') : translate('confirmRemoveFile')
  }) : null;
};
RemoveFileDialog.propTypes = {
  distributionEntry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  refreshFileEntries: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  filesCount: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  setEditedFiles: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveFileDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveFileDialog/index.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveFileDialog/index.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveFileDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveFileDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/RemoveFileDialog/RemoveFileDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ReplaceFileDialog/ReplaceFileDialog.js"
/*!******************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ReplaceFileDialog/ReplaceFileDialog.js ***!
  \******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");
/* harmony import */ var commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/FileUpload */ "./modules/commons/components/common/FileUpload/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_16__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

















const ReplaceFileDialog = _ref => {
  let {
    distributionEntry,
    closeDialog,
    entry: fileEntry,
    refreshFileEntries,
    setEditedFiles
  } = _ref;
  const datasetEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const {
    file,
    handleFileChange
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const {
    data: visualizationEntries,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])(null);
  const {
    runAsync: runReplaceFile,
    status: replaceFileStatus
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_15__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_16__.useEffect)(() => {
    runAsync((0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_14__.getVisualizationsForFile)(fileEntry, datasetEntry));
  }, [runAsync, fileEntry, datasetEntry]);
  const handleAssociatedVisualizations = async () => {
    if (!visualizationEntries.length) return;
    return getConfirmationDialog({
      content: translate('replaceFileHasVisualization'),
      rejectLabel: translate('removeVizButtonLabel'),
      affirmLabel: translate('keepVizButtonLabel'),
      // Need backdrop click to behave like affirmation
      backdropClickPromiseResolution: true
    }).then(keepVisualizations => {
      if (keepVisualizations) return;

      // Remove visualizations associated with the file being replaced.
      (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_14__.removeVisualizationsEntriesFromDataset)(visualizationEntries, datasetEntry);
    }).then(() => closeDialog());
  };
  const handleReplaceFile = () => runReplaceFile((0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_13__.replaceFile)(fileEntry, distributionEntry, file).then(() => {
    setEditedFiles(true);
    refreshFileEntries();
    handleAssociatedVisualizations();
    closeDialog();
  }));
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_12__["default"], {
    autoFocus: true,
    onClick: handleReplaceFile,
    loading: replaceFileStatus === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__.PENDING,
    disabled: !file
  }, translate('replaceFile'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "replace-file",
    title: translate('replaceFileTitle'),
    actions: dialogActions,
    closeDialog: closeDialog,
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_3__.Presenter, {
    label: translate('currentFileLabel'),
    getValue: () => fileEntry.getEntryInfo().getLabel()
  }), /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_5__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_10__["default"], {
    onSelectFile: handleFileChange
  })));
};
ReplaceFileDialog.propTypes = {
  distributionEntry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry),
  refreshFileEntries: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  setEditedFiles: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ReplaceFileDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ReplaceFileDialog/index.js"
/*!******************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ReplaceFileDialog/index.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ReplaceFileDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ReplaceFileDialog/ReplaceFileDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.js"
/*!****************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/chart/Time */ "./modules/commons/components/chart/Time/index.js");
/* harmony import */ var catalog_statistics_utils_data__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/statistics/utils/data */ "./modules/catalog/statistics/utils/data.js");
/* harmony import */ var catalog_statistics_utils_timeRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! catalog/statistics/utils/timeRange */ "./modules/catalog/statistics/utils/timeRange.js");
/* harmony import */ var catalog_statistics_StatisticsChart__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/statistics/StatisticsChart */ "./modules/catalog/statistics/StatisticsChart.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var _StatisticsDialog_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./StatisticsDialog.scss */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



















const useEntriesForStatistics = distributionEntry => {
  const {
    data: entries,
    error,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const fetchEntries = async () => {
      const [fileEntries, pipelineEntry] = await Promise.all([(0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_10__.getDistributionFileEntries)(distributionEntry), (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_10__.isAPIDistribution)(distributionEntry) ? (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_10__.getPipelineResultsEntry)(distributionEntry) : null]);
      return pipelineEntry ? [...fileEntries, pipelineEntry] : fileEntries;
    };
    runAsync(fetchEntries());
  }, [distributionEntry, runAsync]);
  return {
    entries,
    error
  };
};
const StatisticsChart = _ref => {
  let {
    chartData,
    status
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  const hasNoChartData = !(0,catalog_statistics_utils_data__WEBPACK_IMPORTED_MODULE_15__.hasChartData)(chartData);
  return /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsChart"
  }, status === 'idle' || status === 'pending' ? /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsChart__loading"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null)) : null, hasNoChartData ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escaStatisticsChart__label",
    variant: "h2"
  }, translate('statsChartPlaceholder')) : null, /*#__PURE__*/React.createElement("div", {
    className: hasNoChartData ? 'escaStatisticsChart__chart escaStatisticsChart__chart--empty' : 'escaStatisticsChart__chart'
  }, /*#__PURE__*/React.createElement(commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_14__["default"], {
    data: chartData,
    dimensions: {
      height: '300px'
    }
  })));
};
StatisticsChart.propTypes = {
  chartData: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  status: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string).isRequired
};
const StatisticsDialog = _ref2 => {
  let {
    entry: distributionEntry,
    closeDialog
  } = _ref2;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_18__.useESContext)();
  const [timeRange, setTimeRange] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(catalog_statistics_utils_timeRange__WEBPACK_IMPORTED_MODULE_16__.TIME_RANGE_THIS_MONTH);
  const isInitialRequest = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(true);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  const {
    entries
  } = useEntriesForStatistics(distributionEntry);
  const {
    data: chartData,
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!(entries !== null && entries !== void 0 && entries.length)) return;
    runAsync((0,catalog_statistics_utils_data__WEBPACK_IMPORTED_MODULE_15__.getMultiDatasetChartData)(entries, context, timeRange));
  }, [entries, context, timeRange, runAsync]);

  // fetch secondary time range if no data for primary time range
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!chartData || !isInitialRequest.current) {
      return;
    }
    isInitialRequest.current = false;
    if (!(0,catalog_statistics_utils_data__WEBPACK_IMPORTED_MODULE_15__.hasChartData)(chartData)) {
      setTimeRange(catalog_statistics_utils_timeRange__WEBPACK_IMPORTED_MODULE_16__.TIME_RANGE_THIS_YEAR);
    }
  }, [chartData]);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "distribution-statistics",
    closeDialogButtonLabel: translate('statsDialogFooter'),
    maxWidth: "md",
    title: translate('statsDialogTitle'),
    closeDialog: closeDialog
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__["default"], null, /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsDialogChartControls"
  }, /*#__PURE__*/React.createElement(catalog_statistics_StatisticsChart__WEBPACK_IMPORTED_MODULE_17__.TimeRangeControl, {
    timeRangeValue: timeRange,
    updateTimeRange: timeRangeValue => setTimeRange(timeRangeValue),
    context: context
  })), /*#__PURE__*/React.createElement(StatisticsChart, {
    status: status,
    chartData: chartData
  })));
};
StatisticsDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatisticsDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/index.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/index.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _StatisticsDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _StatisticsDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./StatisticsDialog */ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/index.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DistributionList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DistributionList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DistributionList */ "./modules/catalog/datasets/DatasetOverview/DistributionList/DistributionList.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/tags.js"
/*!***************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/tags.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FILE_ERROR_TAG: () => (/* binding */ FILE_ERROR_TAG)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0__);

const FILE_ERROR_TAG = {
  id: 'fileErrorTag',
  labelNlsKey: 'fileResourceError',
  nlsBundles: (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0___default()),
  isVisible: (_entry, _ref) => {
    let {
      fileNotFound
    } = _ref;
    return fileNotFound;
  },
  color: 'error',
  variant: 'outlined'
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/PublishDataset/PublishDataset.js"
/*!***********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/PublishDataset/PublishDataset.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DatasetPSISwitch: () => (/* binding */ DatasetPSISwitch),
/* harmony export */   PublishDataset: () => (/* binding */ PublishDataset),
/* harmony export */   PublishDatasetInternal: () => (/* binding */ PublishDatasetInternal)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/overview/OverviewSidebarToggle */ "./modules/commons/components/overview/OverviewSidebarToggle/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PublicOff.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnLock.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");
/* harmony import */ var catalog_hooks_useIsPSI__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/hooks/useIsPSI */ "./modules/catalog/hooks/useIsPSI.js");
/* harmony import */ var _hooks_useDatasetPublish__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../hooks/useDatasetPublish */ "./modules/catalog/datasets/DatasetOverview/hooks/useDatasetPublish.js");
/* harmony import */ var _hooks_useDatsetInternalPublish__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../hooks/useDatsetInternalPublish */ "./modules/catalog/datasets/DatasetOverview/hooks/useDatsetInternalPublish.js");
/* harmony import */ var _hooks_useCheckHasBrokenDistributions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../hooks/useCheckHasBrokenDistributions */ "./modules/catalog/datasets/DatasetOverview/hooks/useCheckHasBrokenDistributions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const PublishDatasetInternal = _ref => {
  let {
    entry,
    translate,
    datasetStatus,
    onChange
  } = _ref;
  const {
    toggleIsInternallyPublished,
    isLoading
  } = (0,_hooks_useDatsetInternalPublish__WEBPACK_IMPORTED_MODULE_15__["default"])({
    entry,
    datasetStatus,
    onChange
  });
  const {
    hasBrokenDistribution,
    isLoading: checkBrokenDistsIsLoading
  } = (0,_hooks_useCheckHasBrokenDistributions__WEBPACK_IMPORTED_MODULE_16__["default"])(entry);
  const {
    isInternallyPublished,
    isPublished
  } = datasetStatus;
  const isDraft = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.isDraftEntry)(entry);
  const draftLabel = isDraft ? translate('draftDisabledDatasetTitle') : null;
  const brokenDistributionLabel = hasBrokenDistribution ? translate('brokenDistPublishDisabled') : null;
  const publishLabel = isPublished ? translate('internalPublishDisabled') : translate('internalPublishTitle');
  const switchTooltipLabel = brokenDistributionLabel || draftLabel || publishLabel;
  const isDisabled = isDraft || isLoading || isPublished || hasBrokenDistribution || checkBrokenDistsIsLoading || !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.canWriteMetadata)(entry) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.isLocked)(entry);
  return /*#__PURE__*/React.createElement(commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onChange: toggleIsInternallyPublished,
    isChecked: isInternallyPublished || isPublished,
    disabled: isDisabled,
    primaryLabel: translate('internalPublishStatus'),
    highlightId: "overviewInternalPublish",
    switchTooltipLabel: switchTooltipLabel,
    secondaryLabel: isInternallyPublished || isPublished ? translate('publishedStatus') : translate('unpublishedStatus'),
    icon: isInternallyPublished || isPublished ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null)
  });
};
PublishDatasetInternal.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  datasetStatus: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    isDraft: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isSeries: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isPublished: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isInternallyPublished: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
  })
};
const PublishDataset = _ref2 => {
  let {
    entry,
    catalogEntry,
    translate,
    datasetStatus,
    includeInternalPublish,
    onChange
  } = _ref2;
  const {
    triggerAnimation
  } = (0,commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_12__.useAnimation)();
  const onChangeWithAnimation = (params, domNode) => {
    onChange(params);
    if (params.isPublished && domNode) {
      triggerAnimation(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_12__.BALLOON, {
        ref: {
          current: domNode
        },
        uniqueId: entry.getId()
      });
    }
  };
  const {
    toggleIsPublished,
    isLoading
  } = (0,_hooks_useDatasetPublish__WEBPACK_IMPORTED_MODULE_14__["default"])({
    entry,
    datasetStatus,
    onChange: onChangeWithAnimation
  });
  const {
    hasBrokenDistribution,
    isLoading: checkBrokenDistsIsLoading
  } = (0,_hooks_useCheckHasBrokenDistributions__WEBPACK_IMPORTED_MODULE_16__["default"])(entry);
  const {
    isPublished
  } = datasetStatus;
  const isDraft = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.isDraftEntry)(entry);
  const draftLabel = isDraft ? translate('draftDisabledDatasetTitle') : null;
  const brokenDistributionLabel = hasBrokenDistribution ? translate('brokenDistPublishDisabled') : null;
  const isCatalogPublic = catalogEntry === null || catalogEntry === void 0 ? void 0 : catalogEntry.isPublic();
  const catalogPublicLabel = !isCatalogPublic ? translate('privateDisabledDatasetTitle') : null;
  const publishLabel = isPublished ? translate('publicDatasetTitle') : translate('privateDatasetTitle');
  const switchTooltipLabel = brokenDistributionLabel || draftLabel || catalogPublicLabel || publishLabel;
  const isDisabled = isDraft || !catalogEntry || !isCatalogPublic || isLoading || checkBrokenDistsIsLoading || hasBrokenDistribution || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.isLocked)(entry);
  return /*#__PURE__*/React.createElement(commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onChange: toggleIsPublished,
    isChecked: isPublished,
    disabled: isDisabled,
    primaryLabel: includeInternalPublish ? translate('externalPublishStatus') : translate('publishedTitle'),
    secondaryLabel: isPublished ? translate('publishedStatus') : translate('unpublishedStatus'),
    icon: isPublished ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null),
    highlightId: "overviewPublish",
    switchTooltipLabel: switchTooltipLabel
  });
};
PublishDataset.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  catalogEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  includeInternalPublish: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  datasetStatus: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    isDraft: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isSeries: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    isPublished: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
  })
};
const DatasetPSISwitch = _ref3 => {
  let {
    entry,
    translate,
    onChange
  } = _ref3;
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const [isPSI, toggleIsPSI] = (0,catalog_hooks_useIsPSI__WEBPACK_IMPORTED_MODULE_13__["default"])(entry);
  const handlePSIChange = async () => {
    const proceed = await getConfirmationDialog({
      content: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_11__.renderHtmlString)(translate('togglePsiPrompt')),
      rejectLabel: translate('togglePsiReject'),
      affirmLabel: translate('togglePsiAffirm')
    });
    if (!proceed) return;
    await toggleIsPSI();
    onChange();
  };
  return /*#__PURE__*/React.createElement(commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onChange: handlePSIChange,
    isChecked: isPSI,
    disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.canWriteMetadata)(entry) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.isLocked)(entry),
    primaryLabel: translate('psiDatasetLabel'),
    highlightId: "overviewPsi",
    secondaryLabel: isPSI ? translate('activeTitle') : translate('inactiveTitle'),
    listItemTextTooltipLabel: translate('psiDatasetTooltip'),
    icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null)
  });
};
DatasetPSISwitch.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/PublishDataset/index.js"
/*!**************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/PublishDataset/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DatasetPSISwitch: () => (/* reexport safe */ _PublishDataset__WEBPACK_IMPORTED_MODULE_0__.DatasetPSISwitch),
/* harmony export */   PublishDataset: () => (/* reexport safe */ _PublishDataset__WEBPACK_IMPORTED_MODULE_0__.PublishDataset),
/* harmony export */   PublishDatasetInternal: () => (/* reexport safe */ _PublishDataset__WEBPACK_IMPORTED_MODULE_0__.PublishDatasetInternal)
/* harmony export */ });
/* harmony import */ var _PublishDataset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublishDataset */ "./modules/catalog/datasets/DatasetOverview/PublishDataset/PublishDataset.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectButton: () => (/* binding */ SelectButton),
/* harmony export */   SelectGroup: () => (/* binding */ SelectGroup),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _SelectGroup_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SelectGroup.scss */ "./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["value", "onChange"],
  _excluded2 = ["value", "tooltip", "children"];


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const SelectContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)();
const useSelect = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(SelectContext);
  if (!context) throw new Error('Select context must be used within context provider');
  return context;
};
const SelectGroup = _ref => {
  let {
      value,
      onChange
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement("div", {
    className: "escaSelectGroup"
  }, /*#__PURE__*/React.createElement(SelectContext.Provider, _extends({
    value: [value, onChange]
  }, props)));
};
SelectGroup.propTypes = {
  value: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
const SelectButton = _ref2 => {
  let {
      value,
      tooltip,
      children
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded2);
  const [selectedValue, setSelectedValue] = useSelect();
  const isSelected = value === selectedValue;
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
    title: tooltip,
    placement: "top"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    className: `escaSelectGroup__button ${isSelected ? 'escaSelectGroup__button--selected' : ''}`
  }, props, {
    onClick: () => {
      setSelectedValue(value);
    }
  }), children));
};
SelectButton.propTypes = {
  value: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SelectGroup);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/SelectGroup/index.js"
/*!***********************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/SelectGroup/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectButton: () => (/* reexport safe */ _SelectGroup__WEBPACK_IMPORTED_MODULE_0__.SelectButton),
/* harmony export */   SelectGroup: () => (/* reexport safe */ _SelectGroup__WEBPACK_IMPORTED_MODULE_0__.SelectGroup)
/* harmony export */ });
/* harmony import */ var _SelectGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectGroup */ "./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.js"
/*!***********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_EntryListView_listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView/listItems/EntryListItemText */ "./modules/commons/components/EntryListView/listItems/EntryListItemText/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_suggestions_SuggestionsView_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/suggestions/SuggestionsView/actions */ "./modules/catalog/suggestions/SuggestionsView/actions.js");
/* harmony import */ var catalog_suggestions_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/suggestions/util */ "./modules/catalog/suggestions/util.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_components_progress_LinearProgressButton_LinearProgressButton_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/progress/LinearProgressButton/LinearProgressButton.scss */ "./modules/commons/components/progress/LinearProgressButton/LinearProgressButton.scss");
/* harmony import */ var commons_components_progress_LinearProgress__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/progress/LinearProgress */ "./modules/commons/components/progress/LinearProgress/index.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/OverviewLinkIcon */ "./modules/commons/components/OverviewLinkIcon.js");
/* harmony import */ var catalog_suggestions_tags__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! catalog/suggestions/tags */ "./modules/catalog/suggestions/tags.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./actions */ "./modules/catalog/datasets/DatasetOverview/SuggestionList/actions.js");
/* harmony import */ var _SuggestionList_scss__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./SuggestionList.scss */ "./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






























const SuggestionListItem = _ref => {
  let {
    entry,
    disabled
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_21___default())]);
  const [progress, setProgress] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)({
    totalCount: 0,
    progressCount: 0,
    mandatoryTotalCount: 0,
    mandatoryProgressCount: 0
  });
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    setProgress((0,catalog_suggestions_util__WEBPACK_IMPORTED_MODULE_12__.getChecklistProgress)(entry));
  }, [entry]);
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItem, {
    className: "escaDatasetOverviewSuggestionList",
    key: entry.getId(),
    action: _objectSpread(_objectSpread({}, _actions__WEBPACK_IMPORTED_MODULE_28__.rowActions[0]), {}, {
      entry
    }),
    to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_25__.getPathFromViewName)('catalog__suggestions__suggestion', {
      contextId: entry.getContext().getId(),
      entryId: entry.getId()
    })
  }, /*#__PURE__*/React.createElement(commons_components_EntryListView_listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_9__["default"], {
    entry: entry,
    translate: translate,
    tags: catalog_suggestions_tags__WEBPACK_IMPORTED_MODULE_27__.ARCHIVED_TAG,
    xs: 6
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemActionIconButton, {
    xs: 3,
    disabled: disabled,
    action: _objectSpread(_objectSpread({}, _actions__WEBPACK_IMPORTED_MODULE_28__.rowActions[1]), {}, {
      entry
    }),
    title: translate(_actions__WEBPACK_IMPORTED_MODULE_28__.rowActions[1].labelNlsKey),
    classes: {
      root: `escoLinearProgressButton ${disabled ? 'escoLinearProgressButton--disabled' : ''}`
    }
  }, /*#__PURE__*/React.createElement(commons_components_progress_LinearProgress__WEBPACK_IMPORTED_MODULE_18__["default"], {
    progress: progress,
    disabled: disabled,
    className: "escaSuggestionList__linearProgress"
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemText, {
    xs: 2,
    secondary: (0,commons_util_date__WEBPACK_IMPORTED_MODULE_20__.getShortDate)((0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_19__.getModifiedDate)(entry))
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemActionsGroup, {
    xs: 1,
    actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_INFO), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_24__["default"],
      getProps: () => ({
        entry,
        actionParams: [entry]
      })
    })]
  }), /*#__PURE__*/React.createElement(commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_26__["default"], {
    isVisible: true
  }));
};
SuggestionListItem.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_13__.Entry),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool)
};
const SuggestionList = _ref2 => {
  let {
    entry: datasetEntry
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_21___default()));
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_16__.useESContext)();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_14__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_15__.RDF_TYPE_SUGGESTION).context(context).uriProperty('dcterms:references', datasetEntry.getResourceURI()), [context, datasetEntry]);
  const {
    entries,
    size,
    search,
    status
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useSolrSearch)({
    createQuery
  });
  if (!(entries !== null && entries !== void 0 && entries.length)) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_23__.OverviewListHeader, {
    heading: translate('suggestionListTitle')
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListView, {
    size: size,
    search: search,
    nlsBundles: catalog_suggestions_SuggestionsView_actions__WEBPACK_IMPORTED_MODULE_11__.nlsBundles,
    status: status
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.List, {
    renderLoader: Loader => /*#__PURE__*/React.createElement(Loader, {
      sx: {
        height: 'auto !important'
      }
    })
  }, /*#__PURE__*/React.createElement("div", {
    className: "escaDatasetOverviewSuggestionList"
  }, entries && entries.map(suggestionEntry => {
    return /*#__PURE__*/React.createElement(SuggestionListItem, {
      key: `${suggestionEntry.getId()}`,
      entry: suggestionEntry,
      disabled: (0,catalog_suggestions_util__WEBPACK_IMPORTED_MODULE_12__.isArchived)(suggestionEntry)
    });
  })))));
};
SuggestionList.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_13__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProvider)(SuggestionList));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/SuggestionList/actions.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/SuggestionList/actions.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_EntryListView_dialogs_ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListEditEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/index.js");
/* harmony import */ var catalog_suggestions_dialogs_SuggestionChecklistDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/suggestions/dialogs/SuggestionChecklistDialog */ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/index.js");
/* harmony import */ var commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/CommentsDialog */ "./modules/commons/CommentsDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");






const nlsBundles = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0___default())];
const rowActions = [{
  id: 'edit-suggestion',
  Dialog: commons_components_EntryListView_dialogs_ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_2__["default"],
  nlsKeyLabel: 'edit'
}, {
  id: 'progressMenu',
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.withListRefresh)(catalog_suggestions_dialogs_SuggestionChecklistDialog__WEBPACK_IMPORTED_MODULE_3__["default"], 'onSave'),
  labelNlsKey: 'progressMenu'
}, {
  id: 'comments',
  Dialog: commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_4__["default"],
  labelNlsKey: 'commentMenu'
}];

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/SuggestionList/index.js"
/*!**************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/SuggestionList/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SuggestionList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SuggestionList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SuggestionList */ "./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/VisualizationChart.js"
/*!*******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationChart/VisualizationChart.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_chart_Chart__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/chart/Chart */ "./modules/commons/components/chart/Chart/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _utils_csvData__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/csvData */ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/utils/csvData.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_5___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_7___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_8___default())];
const CHART_OPTIONS = {
  plugins: {
    legend: {
      display: false
    }
  }
};
const PIE_CHART_OPTIONS = {
  plugins: {
    legend: {
      display: true
    }
  }
};
const useYAxisLabel = (yField, operation) => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  if (operation === 'sum') return translate('yAxisSumLabel');
  if (operation === 'count') return translate('yAxisCountLabel');
  return yField;
};
const VisualizationChart = _ref => {
  let {
    data,
    type,
    xField,
    yField,
    operation
  } = _ref;
  const yAxisLabel = useYAxisLabel(yField, operation);
  const {
    chartData,
    chartOptions
  } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {
    const rawChartData = (0,_utils_csvData__WEBPACK_IMPORTED_MODULE_9__.getChartData)({
      data,
      xField,
      yField,
      operation: type === 'bar' ? operation : '',
      type
    });
    const mergedOptions = _objectSpread(_objectSpread(_objectSpread({}, CHART_OPTIONS), type === 'pie' ? PIE_CHART_OPTIONS : (0,commons_components_chart_Chart__WEBPACK_IMPORTED_MODULE_3__.getScaleOptions)(xField, yAxisLabel)), {}, {
      xTitle: xField,
      yTitle: yAxisLabel
    });
    return {
      chartData: rawChartData,
      chartOptions: mergedOptions
    };
  }, [data, type, xField, yField, yAxisLabel, operation]);
  return /*#__PURE__*/React.createElement(commons_components_chart_Chart__WEBPACK_IMPORTED_MODULE_3__.Chart, {
    data: chartData,
    type: type,
    height: "400px",
    options: chartOptions
  });
};
VisualizationChart.propTypes = {
  data: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  type: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  xField: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  yField: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  operation: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VisualizationChart);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/index.js"
/*!******************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationChart/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationChart__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VisualizationChart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationChart */ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/VisualizationChart.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/utils/csvData.js"
/*!**************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationChart/utils/csvData.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getChartData: () => (/* binding */ getChartData),
/* harmony export */   getMapData: () => (/* binding */ getMapData)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js");
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_chart_Chart__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/chart/Chart */ "./modules/commons/components/chart/Chart/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const isValue = value => value || value === 0;
const removeEmptyLastLine = data => {
  const lastItem = data[data.length - 1];
  const lastItemHasValue = Object.keys(lastItem).some(key => isValue(lastItem[key]));
  if (lastItemHasValue) return data;
  return data.slice(0, data.length - 1);
};
const sumByX = xyData => xyData.reduce((currentSum, _ref) => {
  let {
    x,
    y
  } = _ref;
  if (!(x in currentSum)) {
    currentSum[x] = 0;
  }
  currentSum[x] += parseFloat(y);
  return currentSum;
}, {});
const sum = xyData => Object.entries(sumByX(xyData)).map(_ref2 => {
  let [x, y] = _ref2;
  return {
    x,
    y
  };
});
const countByX = xyData => xyData.reduce((currentCount, _ref3) => {
  let {
    x
  } = _ref3;
  if (!(x in currentCount)) {
    currentCount[x] = 0;
  }
  currentCount[x] += 1;
  return currentCount;
}, {});
const count = xyData => Object.entries(countByX(xyData)).map(_ref4 => {
  let [x, y] = _ref4;
  return {
    x,
    y
  };
});
const operations = {
  sum,
  count
};
const transformData = (data, operation) => {
  if (!operation || operation === 'none') return data;
  if (operation in operations) return operations[operation](data);
  throw new Error(`Operation ${operation} is currently not supported`);
};
const getXyData = (data, xField, yField) => {
  const csvData = data.data || data.csv.data;
  return csvData.map(_ref5 => {
    let {
      [xField]: x,
      [yField]: y
    } = _ref5;
    return {
      x,
      y
    };
  });
};
const getChartData = _ref6 => {
  let {
    data: csvData,
    xField,
    yField,
    operation,
    type
  } = _ref6;
  if (!csvData) return;
  const xyData = transformData(removeEmptyLastLine(getXyData(csvData, xField, yField)), operation);
  const labels = xyData.map(_ref7 => {
    let {
      x
    } = _ref7;
    return isValue(x) ? x : 'No label';
  });
  const data = xyData.map(_ref8 => {
    let {
      y
    } = _ref8;
    return y;
  });
  const colors = type === 'pie' ? [{
    backgroundColor: data.map((_, index) => `hsl(${index / data.length * 360}, 50%, 50%)`)
  }] : [];
  return {
    datasets: (0,commons_components_chart_Chart__WEBPACK_IMPORTED_MODULE_5__.mergeDatasetColors)([{
      data
    }], colors),
    labels
  };
};

/**
 * Parses and validates string values into coordinate numbers
 *
 * @param {string[]} values
 * @returns {number[]|undefined}
 */
const getCoordinates = values => {
  const coordinates = values.map(value => parseFloat(value)).filter(Number.isFinite);
  if (coordinates.length !== 2) return;
  return coordinates;
};

/**
 *
 * @param {{data: object, xField: string, yField: string}} mapDataParams
 * @returns {object[]|undefined}
 */
const getMapData = _ref9 => {
  let {
    data,
    xField,
    yField
  } = _ref9;
  if (!data) return;
  const {
    data: csvData
  } = data;

  // extract coordinate values
  const mapData = csvData.map(row => {
    const coordinates = getCoordinates([row[xField], row[yField]]);
    if (!coordinates) return;
    return _objectSpread({
      geometry: coordinates
    }, row);
  }).filter(row => row);
  return mapData;
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/ChartPlaceholder.js"
/*!*********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/ChartPlaceholder.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BarChart.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Map.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const ChartPlaceholder = _ref => {
  let {
    label,
    labelClass = '',
    chartType
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escaChartPlaceHolder"
  }, chartType === 'wms' ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    fontSize: "large"
  }) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    fontSize: "large"
  }), /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_1__["default"], {
    classes: {
      root: `escaChartPlaceHolderLabel ${labelClass}`
    }
  }, label));
};
ChartPlaceholder.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  labelClass: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  chartType: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ChartPlaceholder);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/index.js"
/*!**********************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/index.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ChartPlaceholder__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ChartPlaceholder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChartPlaceholder */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/ChartPlaceholder.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/CsvForm/CsvForm.js"
/*!***************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/CsvForm/CsvForm.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/FormLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/Radio.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BarChart.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Map.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PieChart.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShowChart.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TableChart.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizationState */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationForm_PreviewChart__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationForm/PreviewChart */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/PreviewChart/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_29__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_30__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_31__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_32__);
/* harmony import */ var commons_util_fetchCsv__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! commons/util/fetchCsv */ "./modules/commons/util/fetchCsv.js");
/* harmony import */ var _SelectGroup__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../SelectGroup */ "./modules/catalog/datasets/DatasetOverview/SelectGroup/index.js");
/* harmony import */ var _FormSection__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../FormSection */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/FormSection.js");
/* harmony import */ var _InputFieldsLabel__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../InputFieldsLabel */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/InputFieldsLabel.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["translate"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }

























const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_29___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_30___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_31___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_32___default())];
const CSV_ENCODINGS = [{
  value: 'UTF-8',
  label: 'UTF-8'
}, {
  value: 'ISO-8859-1',
  label: 'ISO 8859-1'
}];
const xAxisLabelMap = {
  map: 'xAxisMap',
  pie: 'xAxisPie'
};
const yAxisLabelMap = {
  map: 'yAxisMap',
  pie: 'yAxisPie'
};
const useAxisText = chartType => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_24__.useTranslation)(nlsBundles);
  if (!chartType || chartType === 'table') return;
  return {
    xLabel: translate(xAxisLabelMap[chartType] || 'xAxis'),
    yLabel: translate(yAxisLabelMap[chartType] || 'yAxis'),
    helptext: chartType === 'map' ? '' : translate(`${chartType}XAxisHelpText`)
  };
};
const CsvForm = _ref => {
  var _csvData$meta;
  let {
    csvData
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_24__.useTranslation)(nlsBundles);
  const fields = (csvData === null || csvData === void 0 || (_csvData$meta = csvData.meta) === null || _csvData$meta === void 0 ? void 0 : _csvData$meta.fields) || [];
  const {
    fieldsState,
    isBroken,
    errors,
    updateFieldsState
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_25__.useVisualizationState)();
  const {
    chartType,
    encoding,
    xField,
    yField,
    operation,
    featureTitle,
    scaleLineControl,
    initialView = null
  } = fieldsState;
  const {
    xField: xFieldError,
    yField: yFieldError
  } = errors;
  const hasYFieldIfNeeded = yField || operation === 'count';
  const showChart = xField && hasYFieldIfNeeded || chartType === 'table';
  const axis = useAxisText(fieldsState === null || fieldsState === void 0 ? void 0 : fieldsState.chartType);
  const handleChangeChartType = selectedChartType => {
    updateFieldsState({
      chartType: selectedChartType,
      columns: selectedChartType === 'table' ? fields : [],
      operation: selectedChartType === 'bar' ? 'none' : '',
      xField: selectedChartType === 'table' ? '' : xField,
      yField: selectedChartType === 'table' ? '' : yField
    });
  };
  const xFieldClasses = xFieldError ? 'escaVisualizationForm__underlinedLabel escaVisualizationForm__underlinedLabel--error' : 'escaVisualizationForm__underlinedLabel';
  const yFieldClasses = yFieldError ? 'escaVisualizationForm__underlinedLabel escaVisualizationForm__underlinedLabel--error' : 'escaVisualizationForm__underlinedLabel';
  const axesControls = axis ? [/*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    key: "x-axis-select",
    variant: "filled",
    fullWidth: true,
    error: Boolean(xFieldError)
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "x-axis-select-label"
  }, axis.xLabel), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    inputProps: {
      'aria-labelledby': 'x-axis-select-label'
    },
    value: xField || '',
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return updateFieldsState({
        xField: target.value
      });
    }
  }, xFieldError ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    value: xField
  }, xField) : null, fields.map((field, index) => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    key: index,
    value: field
  }, field)))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    key: "y-axis-select",
    variant: "filled",
    fullWidth: true,
    error: Boolean(yFieldError)
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "y-axis-select-label"
  }, axis.yLabel), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    inputProps: {
      'aria-labelledby': 'y-axis-select-label'
    },
    value: yField || '',
    disabled: operation === 'count',
    onChange: _ref3 => {
      let {
        target
      } = _ref3;
      return updateFieldsState({
        yField: target.value
      });
    }
  }, yFieldError ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    value: yField
  }, yField) : null, fields.map((field, index) => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    key: index,
    value: field
  }, field))))] : [];
  const [isFirstLoad, setIsFirstLoad] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true);
  const mapOptions = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)({
    initialView
  });
  const handleViewExtentChange = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(_ref4 => {
    let {
      frameState
    } = _ref4;
    const {
      extent: viewExtent
    } = frameState;
    updateFieldsState({
      initialView: viewExtent
    }, isFirstLoad);
    if (isFirstLoad) setIsFirstLoad(false);
  }, [updateFieldsState, isFirstLoad]);
  if (!csvData) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_35__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoVisualizationForm__formControl--margin'
    },
    variant: "filled",
    fullWidth: true
  }, /*#__PURE__*/React.createElement(_InputFieldsLabel__WEBPACK_IMPORTED_MODULE_36__["default"], {
    id: "encoding-select-label",
    label: translate('encodingLabel')
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    inputProps: {
      'aria-labelledby': 'encoding-select-label'
    },
    id: "encoding-select",
    value: encoding || '',
    onChange: _ref5 => {
      let {
        target
      } = _ref5;
      updateFieldsState({
        encoding: target.value
      });
    }
  }, CSV_ENCODINGS.map(_ref6 => {
    let {
      value,
      label
    } = _ref6;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
      key: value,
      value: value
    }, label);
  })))), /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_35__["default"], null, /*#__PURE__*/React.createElement(_InputFieldsLabel__WEBPACK_IMPORTED_MODULE_36__["default"], {
    label: translate('vizDialogTypeTitle'),
    mandatory: true
  }), /*#__PURE__*/React.createElement(_SelectGroup__WEBPACK_IMPORTED_MODULE_34__.SelectGroup, {
    value: chartType,
    onChange: selectedChartType => {
      handleChangeChartType(selectedChartType);
    }
  }, /*#__PURE__*/React.createElement(_SelectGroup__WEBPACK_IMPORTED_MODULE_34__.SelectButton, {
    value: "bar",
    tooltip: translate('barChartHelpText'),
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"], null)
  }, translate('vizGraphBar')), /*#__PURE__*/React.createElement(_SelectGroup__WEBPACK_IMPORTED_MODULE_34__.SelectButton, {
    value: "pie",
    tooltip: translate('pieChartHelpText'),
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"], null)
  }, translate('vizGraphPie')), /*#__PURE__*/React.createElement(_SelectGroup__WEBPACK_IMPORTED_MODULE_34__.SelectButton, {
    value: "line",
    tooltip: translate('lineChartHelpText'),
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_19__["default"], null)
  }, translate('vizGraphLine')), /*#__PURE__*/React.createElement(_SelectGroup__WEBPACK_IMPORTED_MODULE_34__.SelectButton, {
    value: "map",
    tooltip: translate('mapChartHelpText'),
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_17__["default"], null)
  }, translate('vizGraphMap')), /*#__PURE__*/React.createElement(_SelectGroup__WEBPACK_IMPORTED_MODULE_34__.SelectButton, {
    value: "table",
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_20__["default"], null)
  }, translate('vizTable')))), chartType !== 'table' ? /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_35__["default"], null, /*#__PURE__*/React.createElement(_InputFieldsLabel__WEBPACK_IMPORTED_MODULE_36__["default"], {
    label: translate('vizDialogAxesTitle'),
    mandatory: true
  }), chartType === 'map' ? axesControls.reverse() : axesControls) : null, chartType === 'map' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_35__["default"], null, /*#__PURE__*/React.createElement(_InputFieldsLabel__WEBPACK_IMPORTED_MODULE_36__["default"], {
    label: translate('vizDialogFeaturesTitle')
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "filled",
    fullWidth: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "feature-title-select-label"
  }, translate('featureTitle')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    inputProps: {
      'aria-labelledby': 'feature-title-select-label'
    },
    value: featureTitle || '',
    onChange: _ref7 => {
      let {
        target
      } = _ref7;
      return updateFieldsState({
        featureTitle: target.value
      });
    }
  }, fields.map(field => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    key: field,
    value: field
  }, field))))), /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_35__["default"], {
    title: translate('vizDialogMapControlsTitle')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    id: "scaleLine-title-checkbox-label",
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      checked: scaleLineControl === 'true',
      onChange: _ref8 => {
        let {
          target
        } = _ref8;
        updateFieldsState({
          scaleLineControl: target.checked.toString()
        });
      }
    }),
    label: translate('vizDialogMapLegendScaleLineLabel')
  }))) : null, chartType === 'bar' && xField ? /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_35__["default"], null, /*#__PURE__*/React.createElement(_InputFieldsLabel__WEBPACK_IMPORTED_MODULE_36__["default"], {
    label: translate('processingMethod')
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    component: "fieldset",
    fullWidth: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    component: "legend"
  }, translate('vizBarValue')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    "aria-label": translate('vizBarValue'),
    name: "aggregation-method",
    value: operation,
    onChange: _ref9 => {
      let {
        target
      } = _ref9;
      return updateFieldsState({
        operation: target.value
      });
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    value: "none",
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], null),
    label: translate('vizBarValueNone')
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    value: "count",
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], null),
    label: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_21__.renderHtmlString)(translate('vizBarValueCount', {
      xField: `<span class='${xFieldClasses}'>${xField}</span>`
    }))
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    value: "sum",
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], null),
    label: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_21__.renderHtmlString)(translate('vizBarValueSum', {
      xField: `<span class='${xFieldClasses}'>${xField}</span>`,
      yField: `<span class='${yFieldClasses}'>${yField || '?'}</span>`
    }))
  })))) : null, /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_35__["default"], {
    title: translate('vizDialogPreview')
  }, showChart && !isBroken ? /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_PreviewChart__WEBPACK_IMPORTED_MODULE_27__["default"], _extends({
    csvData: csvData
  }, fieldsState, {
    mapOptions: mapOptions.current,
    onViewExtentChange: handleViewExtentChange
  })) : /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_28__["default"], {
    label: isBroken ? translate('brokenVizPlaceholderLabel') : translate('placeholderLabel'),
    labelClass: isBroken ? 'escaChartPlaceHolderLabel--error' : '',
    chartType: chartType
  })));
};
CsvForm.propTypes = {
  csvData: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    meta: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
      fields: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_6___default().string))
    })
  }),
  uri: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  visualizationEntry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_22__.Entry),
  setVisualizationIsBroken: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
const CsvFormWithCsvData = _ref0 => {
  let {
      translate
    } = _ref0,
    props = _objectWithoutProperties(_ref0, _excluded);
  const {
    data: csvData,
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_23__["default"])();
  const {
    fieldsState,
    selectedSourceChoice,
    addErrors,
    initialFields
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_25__.useVisualizationState)();
  const {
    encoding
  } = fieldsState;
  const initialLoad = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(true);

  // get and validate csv data
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    const getCsvData = async () => {
      const {
        fileEntry
      } = selectedSourceChoice;
      try {
        if (!(0,commons_util_fetchCsv__WEBPACK_IMPORTED_MODULE_33__.isWithinFileSizeLimit)(fileEntry.getEntryInfo().getSize())) {
          addErrors({
            sourceURI: translate('filesizeError')
          });
          return;
        }
        const data = await (0,commons_util_fetchCsv__WEBPACK_IMPORTED_MODULE_33__.fetchCsv)(fileEntry.getResourceURI(), {
          encoding
        });
        // validate initial source to make sure it hasn't changed
        if (initialLoad.current && initialFields) {
          const errors = (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_26__.validateCsvFields)(initialFields, data);
          if (errors) {
            addErrors(errors);
          }
        }
        return data;
      } catch (csvError) {
        console.log(csvError);
        addErrors({
          sourceURI: translate('loadSourceError')
        });
      }
    };
    runAsync(getCsvData().then(data => {
      initialLoad.current = false;
      return data;
    }));
  }, [selectedSourceChoice, encoding, addErrors, initialFields, runAsync, translate]);
  if (isLoading) return null;
  return /*#__PURE__*/React.createElement(CsvForm, _extends({
    csvData: csvData
  }, props));
};
CsvFormWithCsvData.propTypes = {
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CsvFormWithCsvData);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/CsvForm/index.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/CsvForm/index.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CsvForm__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CsvForm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CsvForm */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/CsvForm/CsvForm.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/FormSection.js"
/*!***********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/FormSection.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const FormSection = _ref => {
  let {
    title,
    mandatory,
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escaVisualizationFormSection"
  }, title ? /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_0__["default"], {
    className: "escaVisualizationFormSection__heading"
  }, title, mandatory ? /*#__PURE__*/React.createElement("span", {
    className: "escaVisualizationForm__fieldMarker",
    "aria-hidden": true
  }, "*") : '') : null, children);
};
FormSection.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormSection);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/InputFieldsLabel.js"
/*!****************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/InputFieldsLabel.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const InputFieldsLabel = _ref => {
  let {
    label,
    id,
    mandatory = false
  } = _ref;
  return /*#__PURE__*/React.createElement("span", {
    className: "escaVisualizationForm__inputLabel",
    id: id
  }, label, mandatory ? /*#__PURE__*/React.createElement("span", {
    className: "escaVisualizationForm__fieldMarker",
    "aria-hidden": true
  }, "*") : null);
};
InputFieldsLabel.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  id: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InputFieldsLabel);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/PreviewChart/PreviewChart.js"
/*!*************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/PreviewChart/PreviewChart.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var _VisualizationChart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../VisualizationChart */ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/index.js");
/* harmony import */ var _VisualizationTable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../VisualizationTable */ "./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.js");
/* harmony import */ var _VisualizationMap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../VisualizationMap */ "./modules/catalog/datasets/DatasetOverview/VisualizationMap/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const PreviewChart = _ref => {
  var _csvData$meta;
  let {
    csvData,
    chartType,
    xField,
    yField,
    operation,
    featureTitle,
    scaleLineControl,
    mapOptions,
    onViewExtentChange
  } = _ref;
  const fields = ((_csvData$meta = csvData.meta) === null || _csvData$meta === void 0 ? void 0 : _csvData$meta.fields) || [];
  return /*#__PURE__*/React.createElement(React.Fragment, null, chartType === 'table' && /*#__PURE__*/React.createElement(_VisualizationTable__WEBPACK_IMPORTED_MODULE_3__["default"], {
    data: (csvData === null || csvData === void 0 ? void 0 : csvData.data) || [],
    tableColumns: fields
  }), (chartType === 'bar' || chartType === 'line' || chartType === 'pie') && /*#__PURE__*/React.createElement(_VisualizationChart__WEBPACK_IMPORTED_MODULE_2__["default"], {
    data: csvData,
    type: chartType,
    xField: xField,
    yField: yField,
    operation: operation
  }), chartType === 'map' && /*#__PURE__*/React.createElement(commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_1__.MapProvider, null, /*#__PURE__*/React.createElement(_VisualizationMap__WEBPACK_IMPORTED_MODULE_4__["default"], {
    data: csvData,
    xField: xField,
    yField: yField,
    featureTitleField: featureTitle,
    scaleLineControl: scaleLineControl,
    mapOptions: mapOptions,
    onViewExtentChange: onViewExtentChange,
    height: "400px"
  })));
};
PreviewChart.propTypes = {
  chartType: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  csvData: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    meta: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
      fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))
    }),
    data: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({}))
  }),
  mapOptions: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({}),
  onViewExtentChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)),
  xField: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  yField: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  operation: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  featureTitle: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  scaleLineControl: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PreviewChart);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/PreviewChart/index.js"
/*!******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/PreviewChart/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PreviewChart__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PreviewChart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PreviewChart */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/PreviewChart/PreviewChart.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.js"
/*!*****************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   isComplete: () => (/* binding */ isComplete)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizationState */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/index.js");
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var _mui_icons_material_RemoveCircle__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material/RemoveCircle */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/RemoveCircle.js");
/* harmony import */ var _mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/icons-material/Add */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var _FormSection__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./FormSection */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/FormSection.js");
/* harmony import */ var _CsvForm__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./CsvForm */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/CsvForm/index.js");
/* harmony import */ var _WmsForm__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./WmsForm */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/index.js");
/* harmony import */ var _InputFieldsLabel__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./InputFieldsLabel */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/InputFieldsLabel.js");
/* harmony import */ var _VisualizationForm_scss__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./VisualizationForm.scss */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["chartType", "titles"];



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


// eslint-disable-next-line max-len
















const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19___default())];

/**
 *
 * @param {object[]} fieldsState
 * @returns {boolean}
 */

const isComplete = fieldsState => {
  if (!fieldsState) return false;
  const {
      chartType,
      titles
    } = fieldsState,
    rest = _objectWithoutProperties(fieldsState, _excluded);
  const hasValidTitles = titles.some(_ref => {
    let {
      title
    } = _ref;
    return title.length;
  });
  if (chartType === 'wms') {
    return hasValidTitles;
  }
  const {
    encoding,
    xField,
    yField,
    columns,
    operation
  } = rest;
  const commonCsvFields = {
    encoding,
    xField
  };
  const hasYFieldIfNeeded = yField || operation === 'count';
  const hasValidCsvFields = hasValidTitles && Object.entries(commonCsvFields).every(_ref2 => {
    let [, value] = _ref2;
    return value;
  });
  if (chartType === 'line' || chartType === 'map') {
    return hasValidCsvFields && xField !== '' && yField !== '';
  }
  if (chartType === 'bar' || chartType === 'pie') {
    return hasValidCsvFields && hasYFieldIfNeeded && xField !== '';
  }
  return hasValidTitles && (columns === null || columns === void 0 ? void 0 : columns.length);
};
const VisualizationForm = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const {
    visualizationEntry,
    fieldsState,
    sourceChoices,
    selectedSourceChoice,
    updateFieldsState,
    onSourceChange,
    errors,
    isBroken
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_13__.useVisualizationState)();
  const sourceError = errors.sourceURI || '';
  const {
    titles = [{
      title: '',
      lang: _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_23__.i18n.getLocale() || config__WEBPACK_IMPORTED_MODULE_22__["default"].get('locale.fallback')
    }]
  } = fieldsState || {};
  const languageItems = config__WEBPACK_IMPORTED_MODULE_22__["default"].get('locale.supported');
  const onTitleChange = index => _ref3 => {
    let {
      target
    } = _ref3;
    titles[index].title = target.value.trim().length ? target.value : '';
    updateFieldsState({
      titles: [...titles]
    });
  };
  const onLangChange = index => _ref4 => {
    let {
      target
    } = _ref4;
    titles[index].lang = target.value;
    updateFieldsState({
      titles: [...titles]
    });
  };
  const onCloseClick = index => () => {
    if (titles.length > 1) {
      titles.splice(index, 1);
      updateFieldsState({
        titles: [...titles]
      });
    }
  };
  const onAddClick = () => {
    updateFieldsState({
      titles: [...titles, {
        lang: _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_23__.i18n.getLocale() || config__WEBPACK_IMPORTED_MODULE_22__["default"].get('locale.fallback'),
        title: ''
      }]
    });
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, isBroken ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    severity: "error"
  }, translate('brokenVizError')) : null, /*#__PURE__*/React.createElement("form", {
    autoComplete: "off"
  }, /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_24__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "filled",
    fullWidth: true,
    error: Boolean(sourceError)
  }, /*#__PURE__*/React.createElement(_InputFieldsLabel__WEBPACK_IMPORTED_MODULE_27__["default"], {
    id: "source-select",
    label: translate('vizDialogDistributionTitle'),
    mandatory: true
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    displayEmpty: true,
    inputProps: {
      'aria-labelledby': 'source-select'
    },
    value: (selectedSourceChoice === null || selectedSourceChoice === void 0 ? void 0 : selectedSourceChoice.sourceURI) || '',
    renderValue: () => {
      if (!selectedSourceChoice) {
        return /*#__PURE__*/React.createElement("span", null, translate('vizDialogDistributionUse'));
      }
      return selectedSourceChoice.name;
    },
    onChange: onSourceChange
  }, sourceChoices.map((sourceItem, index) => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"]
  // eslint-disable-next-line react/no-array-index-key
  , {
    key: `${sourceItem.sourceURI}-${index}`,
    value: sourceItem.sourceURI
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "inherit",
    noWrap: true
  }, `${sourceItem.name} - ${sourceItem.format}`)))), sourceError && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    error: true
  }, sourceError))), /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_24__["default"], null, /*#__PURE__*/React.createElement(_InputFieldsLabel__WEBPACK_IMPORTED_MODULE_27__["default"], {
    label: translate('vizDialogNameviz'),
    id: "title-field-label",
    mandatory: true
  }), titles.map((_ref5, index) => {
    let {
      title,
      lang: currentLang
    } = _ref5;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      variant: "filled",
      fullWidth: true,
      style: {
        flexDirection: 'row',
        gap: '1em'
      }
      // eslint-disable-next-line react/no-array-index-key
      ,
      key: `lang-select-${currentLang}-${index}`
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      slotProps: {
        htmlInput: {
          'aria-labelledby': 'title-field-label'
        }
      },
      value: title,
      onChange: onTitleChange(index),
      required: true
    }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      displayEmpty: true,
      value: currentLang,
      className: "escaVisualizationForm__langSelect",
      onChange: onLangChange(index)
    }, languageItems.map(_ref6 => {
      let {
        lang,
        label
      } = _ref6;
      return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
        key: lang,
        value: lang
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
        variant: "inherit",
        noWrap: true
      }, label));
    })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
      className: "escaVisualizationForm__closeButton",
      onClick: onCloseClick(index),
      disabled: titles.length <= 1
    }, /*#__PURE__*/React.createElement(_mui_icons_material_RemoveCircle__WEBPACK_IMPORTED_MODULE_20__["default"], null)));
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    disableElevation: true,
    variant: "text",
    color: "primary",
    onClick: onAddClick,
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_21__["default"], null)
  }, translate('addTitleLabel'))), !(selectedSourceChoice !== null && selectedSourceChoice !== void 0 && selectedSourceChoice.format) && /*#__PURE__*/React.createElement(_FormSection__WEBPACK_IMPORTED_MODULE_24__["default"], {
    title: translate('vizDialogPreview')
  }, /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_14__["default"], {
    label: isBroken ? translate('brokenVizPlaceholderLabel') : translate('placeholderLabel'),
    labelClass: isBroken ? 'escaChartPlaceHolderLabel--error' : ''
  })), fieldsState && (selectedSourceChoice === null || selectedSourceChoice === void 0 ? void 0 : selectedSourceChoice.format) === 'wms' && /*#__PURE__*/React.createElement(commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_15__.MapProvider, null, /*#__PURE__*/React.createElement(_WmsForm__WEBPACK_IMPORTED_MODULE_26__["default"], {
    visualizationEntry: visualizationEntry,
    translate: translate
  })), (selectedSourceChoice === null || selectedSourceChoice === void 0 ? void 0 : selectedSourceChoice.format) === 'csv' ? /*#__PURE__*/React.createElement(_CsvForm__WEBPACK_IMPORTED_MODULE_25__["default"], {
    translate: translate
  }) : null));
};
VisualizationForm.propTypes = {};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VisualizationForm);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/MapControlField/MapControlField.js"
/*!***************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/MapControlField/MapControlField.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizationState */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



// eslint-disable-next-line max-len

const MapControlField = _ref => {
  let {
    property,
    label,
    onChange: _onChange = () => {}
  } = _ref;
  const {
    fieldsState,
    updateFieldsState
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_4__.useVisualizationState)();
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    id: `map-${property}-control-label`,
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      checked: (fieldsState === null || fieldsState === void 0 ? void 0 : fieldsState[property]) === 'true' || false,
      onChange: _ref2 => {
        let {
          target
        } = _ref2;
        updateFieldsState({
          [property]: target.checked.toString()
        });
        _onChange(target.checked.toString());
      }
    }),
    label: label
  });
};
MapControlField.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MapControlField);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/MapControlField/index.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/MapControlField/index.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _MapControlField__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _MapControlField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MapControlField */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/MapControlField/MapControlField.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/WmsForm.js"
/*!***************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/WmsForm.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationForm_WmsForm_MapControlField__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/MapControlField */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/MapControlField/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizationState */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js");
/* harmony import */ var commons_components_Map__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/Map */ "./modules/commons/components/Map/index.js");
/* harmony import */ var commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/Map/controls */ "./modules/commons/components/Map/controls/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationForm_FormSection__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationForm/FormSection */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/FormSection.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/Map/controls/ScaleLineControl */ "./modules/commons/components/Map/controls/ScaleLineControl/index.js");
/* harmony import */ var commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/Map/controls/AttributionControl */ "./modules/commons/components/Map/controls/AttributionControl/index.js");
/* harmony import */ var commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/Map/controls/ControlGroup */ "./modules/commons/components/Map/controls/ControlGroup/index.js");
/* harmony import */ var _VisualizationMapService__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../VisualizationMapService */ "./modules/catalog/datasets/DatasetOverview/VisualizationMapService/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["error"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









// eslint-disable-next-line max-len



// eslint-disable-next-line max-len













const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_17___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_18___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_19___default())];
const WmsForm = _ref => {
  let {
    mapOptions
  } = _ref;
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_7__.useMapContext)();
  const {
    fieldsState,
    updateFieldsState,
    isBroken
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_12__.useVisualizationState)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(nlsBundles);
  const [isFirstLoad, setIsFirstLoad] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true);
  const handleViewExtentChange = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(_ref2 => {
    let {
      frameState
    } = _ref2;
    const {
      extent: viewExtent
    } = frameState;
    updateFieldsState({
      initialView: viewExtent
    }, isFirstLoad);
    if (isFirstLoad) setIsFirstLoad(false);
  }, [updateFieldsState, isFirstLoad]);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_FormSection__WEBPACK_IMPORTED_MODULE_15__["default"], {
    title: translate('vizDialogMapControls')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_20__["default"], {
    sx: {
      flexDirection: 'column',
      display: 'flex'
    }
  }, /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_WmsForm_MapControlField__WEBPACK_IMPORTED_MODULE_9__["default"], {
    property: "legendControl",
    label: translate('vizDialogMapLegendControlLabel')
  }), /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_WmsForm_MapControlField__WEBPACK_IMPORTED_MODULE_9__["default"], {
    property: "scaleLineControl",
    label: translate('vizDialogMapLegendScaleLineLabel')
  }))), /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_FormSection__WEBPACK_IMPORTED_MODULE_15__["default"], {
    title: translate('vizDialogPreview')
  }, isBroken ? /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_8__["default"], {
    label: translate('brokenVizPlaceholderLabel'),
    labelClass: "escaChartPlaceHolderLabel--error",
    chartType: "wms"
  }) : /*#__PURE__*/React.createElement("div", {
    className: "escaVisualizationFormSection__mapContainer"
  }, /*#__PURE__*/React.createElement(_VisualizationMapService__WEBPACK_IMPORTED_MODULE_24__["default"], {
    mapOptions: mapOptions,
    onViewExtentChange: handleViewExtentChange
  }, map ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_14__.LayerSwitcherControl, {
    handleChange: updateFieldsState,
    layers: fieldsState.layers
  }), fieldsState.legendControl === 'true' ? /*#__PURE__*/React.createElement(commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_14__.LayerLegendControl, {
    layers: fieldsState.layers
  }) : null, /*#__PURE__*/React.createElement(commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_23__["default"], {
    position: "bottom-right",
    renderControls: target => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_22__["default"], {
      target: target
    }), fieldsState.scaleLineControl === 'true' ? /*#__PURE__*/React.createElement(commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_21__["default"], {
      target: target
    }) : null)
  })) : null))));
};
WmsForm.propTypes = {
  mapOptions: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})
};
const WmsFormWithMapOptions = _ref3 => {
  let {
    translate,
    visualizationEntry
  } = _ref3;
  const {
    getWmsData
  } = (0,commons_components_Map__WEBPACK_IMPORTED_MODULE_13__.useOpenlayers)();
  const {
    data: mapOptions,
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const {
    selectedSourceChoice,
    addErrors,
    initialFields,
    updateFieldsState
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_12__.useVisualizationState)();
  const {
    sourceURI
  } = selectedSourceChoice;

  // Load map options for map component. If a new visualization is created or a
  // different map service is used, a get capabilities request is made to get
  // the map options.
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const getMapOptions = async () => {
      const isSavedVisualization = initialFields && initialFields.sourceURI === sourceURI;
      let mapFields = initialFields;
      if (!isSavedVisualization) {
        const _await$getWmsData = await getWmsData(sourceURI),
          {
            error
          } = _await$getWmsData,
          wmsData = _objectWithoutProperties(_await$getWmsData, _excluded);
        if (error) {
          addErrors({
            sourceURI: translate(error)
          });
          return;
        }
        updateFieldsState(wmsData);
        mapFields = wmsData;
      }
      const {
        layers,
        extent,
        wmsBaseURI,
        initialView,
        basemap
      } = mapFields;
      return {
        layers: layers.map(layerOptions => _objectSpread(_objectSpread({}, layerOptions), {}, {
          url: wmsBaseURI
        })),
        extent,
        initialView,
        basemapOptions: {
          visible: basemap !== 'false'
        },
        wmsBaseURI
      };
    };
    if (!getWmsData) return;
    runAsync(getMapOptions());
  }, [getWmsData, runAsync, sourceURI, visualizationEntry, initialFields, updateFieldsState, addErrors, translate]);
  if (!getWmsData || isLoading) return null;
  return /*#__PURE__*/React.createElement(WmsForm, {
    mapOptions: mapOptions
  });
};
WmsFormWithMapOptions.propTypes = {
  visualizationEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (WmsFormWithMapOptions);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/index.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/index.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _WmsForm__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _WmsForm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./WmsForm */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/WmsForm/WmsForm.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationForm__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   isComplete: () => (/* reexport safe */ _VisualizationForm__WEBPACK_IMPORTED_MODULE_0__.isComplete)
/* harmony export */ });
/* harmony import */ var _VisualizationForm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationForm */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.js");



/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationList/VisualizationList.js"
/*!*****************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationList/VisualizationList.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ChartIcon: () => (/* binding */ ChartIcon),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assessment.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Map.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PieChart.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShowChart.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TableChart.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizations */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js");
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _dialogs_VisualizationLDBDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../dialogs/VisualizationLDBDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog/index.js");
/* harmony import */ var _dialogs_EditVisualizationDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../dialogs/EditVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/EditVisualizationDialog/index.js");
/* harmony import */ var _utils_visualizations__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./actions */ "./modules/catalog/datasets/DatasetOverview/VisualizationList/actions.js");
/* harmony import */ var _dialogs_CreateVisualizationDialog__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../dialogs/CreateVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateVisualizationDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const ChartIcon = _ref => {
  let {
    type
  } = _ref;
  if (type === 'bar') return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_2__["default"], null);
  if (type === 'pie') return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], null);
  if (type === 'line') return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null);
  if (type === 'table') return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null);
  return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"], null);
};
ChartIcon.propTypes = {
  type: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default()), (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const VisualizationList = _ref2 => {
  var _visualizations$lengt;
  let {
    entry: datasetEntry
  } = _ref2;
  const {
    visualizations,
    refreshVisualizations,
    status
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_17__.useVisualizations)(datasetEntry);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_18__.OverviewListHeader, {
    heading: translate('visualizationsTitle'),
    action: {
      id: 'create',
      Dialog: _dialogs_CreateVisualizationDialog__WEBPACK_IMPORTED_MODULE_26__["default"],
      tooltip: translate('createViz'),
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.canWriteMetadata)(datasetEntry) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.isLocked)(datasetEntry)
    },
    actionParams: {
      actionParams: [datasetEntry, refreshVisualizations]
    },
    highlightId: "visualizationsListHeader"
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListView, {
    size: (_visualizations$lengt = visualizations === null || visualizations === void 0 ? void 0 : visualizations.length) !== null && _visualizations$lengt !== void 0 ? _visualizations$lengt : -1,
    nlsBundles: [(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_11___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default())],
    renderPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_19__.OverviewListPlaceholder, {
      label: translate('visualizationListPlaceholder')
    }),
    status: status
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.List, {
    renderLoader: Loader => /*#__PURE__*/React.createElement(Loader, {
      height: "10vh"
    })
  }, visualizations && visualizations.map(visualizationEntry => {
    const actionParams = {
      visualizationEntry,
      refreshVisualizations
    };
    const actionsMenuItems = _actions__WEBPACK_IMPORTED_MODULE_25__.rowActions.filter(_ref3 => {
      let {
        isVisible
      } = _ref3;
      return isVisible ? isVisible({
        entry: datasetEntry
      }) : true;
    }).map(rowAction => ({
      action: _objectSpread(_objectSpread({}, rowAction), {}, {
        entry: datasetEntry
      }, actionParams),
      icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_9__.getIconFromActionId)(rowAction.id),
      label: translate(rowAction.nlsKeyLabel)
    }));
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItem, {
      key: visualizationEntry.getId()
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemIcon, {
      Icon: ChartIcon({
        type: (0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_24__.getChartType)(visualizationEntry)
      }).type
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemText, {
      xs: 6,
      primary: (0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_24__.getVisualizationTitle)(visualizationEntry) || translate('untitled')
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemText, {
      xs: 2,
      secondary: (0,commons_util_date__WEBPACK_IMPORTED_MODULE_16__.getShortDate)((0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_15__.getModifiedDate)(visualizationEntry))
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemActionsGroup, {
      xs: 2,
      justifyContent: "end",
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_20__.LIST_ACTION_INFO), {}, {
        Dialog: _dialogs_VisualizationLDBDialog__WEBPACK_IMPORTED_MODULE_22__["default"],
        getProps: () => ({
          entry: visualizationEntry,
          titleNlsKey: 'infoDialogHeader'
        })
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_20__.LIST_ACTION_EDIT), {}, {
        Dialog: _dialogs_EditVisualizationDialog__WEBPACK_IMPORTED_MODULE_23__["default"],
        getProps: () => ({
          visualizationEntry,
          entry: datasetEntry,
          refreshVisualizations,
          title: translate('editEntry'),
          disabled: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.isLocked)(datasetEntry)
        })
      })]
    }), !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.isLocked)(datasetEntry) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemOpenMenuButton, null), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ActionsMenu, {
      items: actionsMenuItems
    })));
  }))));
};
VisualizationList.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.withListModelProvider)(VisualizationList));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationList/actions.js"
/*!*******************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationList/actions.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _dialogs_RemoveVisualizationDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dialogs/RemoveVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/RemoveVisualizationDialog/index.js");
/* harmony import */ var _dialogs_PreviewVisualizationDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../dialogs/PreviewVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_4___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_5___default()), (commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6___default())];
const rowActions = [{
  id: 'preview',
  Dialog: _dialogs_PreviewVisualizationDialog__WEBPACK_IMPORTED_MODULE_8__["default"],
  isVisible: () => true,
  nlsKeyLabel: 'vizDialogPreview'
}, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveVisualizationDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  nlsKeyLabel: 'remove'
})];

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationList/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationList/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ChartIcon: () => (/* reexport safe */ _VisualizationList__WEBPACK_IMPORTED_MODULE_0__.ChartIcon),
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VisualizationList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationList */ "./modules/catalog/datasets/DatasetOverview/VisualizationList/VisualizationList.js");



/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationMap/VisualizationMap.js"
/*!***************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationMap/VisualizationMap.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/Map */ "./modules/commons/components/Map/index.js");
/* harmony import */ var commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/Map/hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/Map/controls/ScaleLineControl */ "./modules/commons/components/Map/controls/ScaleLineControl/index.js");
/* harmony import */ var commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/Map/controls/AttributionControl */ "./modules/commons/components/Map/controls/AttributionControl/index.js");
/* harmony import */ var commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/Map/controls/ControlGroup */ "./modules/commons/components/Map/controls/ControlGroup/index.js");
/* harmony import */ var _VisualizationChart_utils_csvData__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../VisualizationChart/utils/csvData */ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/utils/csvData.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const VisualizationMap = _ref => {
  let {
    data,
    xField,
    yField,
    featureTitleField,
    scaleLineControl,
    height = '400px',
    mapOptions,
    onViewExtentChange
  } = _ref;
  const {
    addXyData,
    zoomToLayer,
    clearOverlays
  } = (0,commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_5__.useOpenlayers)();
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_6__.useMapContext)();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (data && map) {
      const mapData = (0,_VisualizationChart_utils_csvData__WEBPACK_IMPORTED_MODULE_10__.getMapData)({
        data,
        xField,
        yField
      });
      clearOverlays(map);
      const layer = addXyData(map, mapData);
      if (mapOptions.initialView) map.getView().fit(mapOptions.initialView);else zoomToLayer(map, layer);
      if (!onViewExtentChange) return;
      map.on('moveend', onViewExtentChange);
      return () => {
        map.un('moveend', onViewExtentChange);
      };
    }
  }, [map, data, xField, yField, onViewExtentChange, mapOptions.initialView, addXyData, clearOverlays, zoomToLayer]);
  return /*#__PURE__*/React.createElement(commons_components_Map__WEBPACK_IMPORTED_MODULE_4__.Map, {
    height: height,
    mapOptions: mapOptions
  }, /*#__PURE__*/React.createElement(commons_components_Map__WEBPACK_IMPORTED_MODULE_4__.FeatureInfo, {
    titleField: featureTitleField
  }), /*#__PURE__*/React.createElement(commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_9__["default"], {
    position: "bottom-right",
    renderControls: target => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
      target: target
    }), scaleLineControl === 'true' ? /*#__PURE__*/React.createElement(commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_7__["default"], {
      target: target
    }) : null)
  }));
};
VisualizationMap.propTypes = {
  data: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
  onViewExtentChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  xField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  yField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  featureTitleField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  scaleLineControl: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  height: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  mapOptions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    initialView: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().number))
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VisualizationMap);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationMap/index.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationMap/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationMap__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VisualizationMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationMap */ "./modules/catalog/datasets/DatasetOverview/VisualizationMap/VisualizationMap.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationMapService/VisualizationMapService.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationMapService/VisualizationMapService.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/Map */ "./modules/commons/components/Map/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["onViewExtentChange", "mapOptions", "children", "height"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const VisualizationMapService = _ref => {
  let {
      onViewExtentChange,
      mapOptions,
      children,
      height = '60vh'
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const [{
    map
  }] = (0,commons_components_Map__WEBPACK_IMPORTED_MODULE_4__.useMapContext)();

  // Add listener for extent change on panning and zooming
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!map) return;
    if (mapOptions !== null && mapOptions !== void 0 && mapOptions.initialView) {
      map.getView().fit(mapOptions.initialView);
    }
    if (!onViewExtentChange) return;
    map.on('moveend', onViewExtentChange);
    return () => {
      map.un('moveend', onViewExtentChange);
    };
  }, [map, onViewExtentChange, mapOptions]);
  return /*#__PURE__*/React.createElement(commons_components_Map__WEBPACK_IMPORTED_MODULE_4__.Map, _extends({
    height: height,
    mapOptions: mapOptions
  }, rest), children);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VisualizationMapService);
VisualizationMapService.propTypes = {
  onViewExtentChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  mapOptions: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    initialView: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_5___default().number))
  }),
  height: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node)
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationMapService/index.js"
/*!***********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationMapService/index.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationMapService__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VisualizationMapService__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationMapService */ "./modules/catalog/datasets/DatasetOverview/VisualizationMapService/VisualizationMapService.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.js"
/*!***********************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationPreview_WmsPreview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview */ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/ChartPlaceholder/index.js");
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_buttons_DownloadResourceButton__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/buttons/DownloadResourceButton */ "./modules/commons/components/buttons/DownloadResourceButton/index.js");
/* harmony import */ var _VisualizationChart__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../VisualizationChart */ "./modules/catalog/datasets/DatasetOverview/VisualizationChart/index.js");
/* harmony import */ var _VisualizationMap__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../VisualizationMap */ "./modules/catalog/datasets/DatasetOverview/VisualizationMap/index.js");
/* harmony import */ var _VisualizationTable__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../VisualizationTable */ "./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.js");
/* harmony import */ var _utils_visualizations__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var _VisualizationPreview_scss__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./VisualizationPreview.scss */ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




















const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const DownloadLink = _ref => {
  let {
    uri = '#',
    label = '',
    tooltip = ''
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escaPreviewVisualizationLink"
  }, /*#__PURE__*/React.createElement("span", {
    className: "escaPreviewVisualizationLink__inner"
  }, label), /*#__PURE__*/React.createElement(commons_components_buttons_DownloadResourceButton__WEBPACK_IMPORTED_MODULE_15__["default"], {
    tooltip: tooltip,
    href: uri
  }));
};
DownloadLink.propTypes = {
  uri: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const PreviewVisualization = _ref2 => {
  let {
    datasetEntry,
    visualizationEntry
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(nlsBundles);
  const {
    data: previewData,
    runAsync,
    isLoading,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_10__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    if (!visualizationEntry) return;
    runAsync((0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_19__.getPreviewData)(datasetEntry, visualizationEntry));
  }, [runAsync, datasetEntry, visualizationEntry]);
  if (isLoading) return /*#__PURE__*/React.createElement("div", {
    className: "escaPreviewVisualizationSpinner"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null));
  const {
    errors,
    format,
    fields,
    csvData,
    csvFields,
    fileEntry
  } = previewData;
  const isBroken = Boolean(errors);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "h6",
    component: "h3"
  }, (0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_19__.getVisualizationTitle)(visualizationEntry) || translate('untitled')), /*#__PURE__*/React.createElement("div", {
    className: "escaPreviewVisualization"
  }, isBroken ? /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationForm_ChartPlaceholder__WEBPACK_IMPORTED_MODULE_8__["default"], {
    label: translate('brokenVizPlaceholderLabel'),
    labelClass: "escaChartPlaceHolderLabel--error"
  }) : /*#__PURE__*/React.createElement(React.Fragment, null, format === _utils_visualizations__WEBPACK_IMPORTED_MODULE_19__.WMS_FORMAT ? /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationPreview_WmsPreview__WEBPACK_IMPORTED_MODULE_7__["default"], {
    fields: fields,
    wmsURI: fields.sourceURI
  }) : null, csvData && fields.chartType === 'table' && /*#__PURE__*/React.createElement(_VisualizationTable__WEBPACK_IMPORTED_MODULE_18__["default"], {
    data: csvData.data || [],
    tableColumns: csvFields
  }), csvData && (fields.chartType === 'bar' || fields.chartType === 'line' || fields.chartType === 'pie') && /*#__PURE__*/React.createElement(_VisualizationChart__WEBPACK_IMPORTED_MODULE_16__["default"], {
    data: csvData,
    type: fields.chartType,
    xField: fields.xField,
    yField: fields.yField,
    operation: fields.operation
  }), csvData && fields.chartType === 'map' && /*#__PURE__*/React.createElement(commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_9__.MapProvider, null, /*#__PURE__*/React.createElement(_VisualizationMap__WEBPACK_IMPORTED_MODULE_17__["default"], {
    data: csvData,
    xField: fields.xField,
    yField: fields.yField,
    featureTitleField: fields.featureTitle,
    scaleLineControl: fields.scaleLineControl,
    mapOptions: {
      initialView: fields.initialView
    }
  })))), format === _utils_visualizations__WEBPACK_IMPORTED_MODULE_19__.CSV_FORMAT ? /*#__PURE__*/React.createElement(DownloadLink, {
    uri: fileEntry.getResourceURI(),
    label: translate('previewVisualizationSource'),
    tooltip: translate('previewVisualizationSourceTooltip')
  }) : null);
};
PreviewVisualization.propTypes = {
  datasetEntry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry),
  visualizationEntry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PreviewVisualization);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.js"
/*!************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/Map/controls */ "./modules/commons/components/Map/controls/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/Map/controls/ScaleLineControl */ "./modules/commons/components/Map/controls/ScaleLineControl/index.js");
/* harmony import */ var commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/Map/controls/AttributionControl */ "./modules/commons/components/Map/controls/AttributionControl/index.js");
/* harmony import */ var commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/Map/controls/ControlGroup */ "./modules/commons/components/Map/controls/ControlGroup/index.js");
/* harmony import */ var _VisualizationMapService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../VisualizationMapService */ "./modules/catalog/datasets/DatasetOverview/VisualizationMapService/index.js");
/* harmony import */ var _WmsPreview_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./WmsPreview.scss */ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const WmsPreview = _ref => {
  let {
    fields
  } = _ref;
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_4__.useMapContext)();
  const [, refresh] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(0);
  const mapOptions = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => {
    if (!fields) return null;
    return {
      extent: fields.extent,
      initialView: fields.initialView,
      basemapOptions: {
        visible: fields.basemap !== 'false'
      },
      layers: fields.layers.map(layerOptions => _objectSpread(_objectSpread({}, layerOptions), {}, {
        url: fields.wmsBaseURI
      }))
    };
  }, [fields]);
  return /*#__PURE__*/React.createElement("div", {
    className: "escaWmsPreview"
  }, mapOptions ? /*#__PURE__*/React.createElement(_VisualizationMapService__WEBPACK_IMPORTED_MODULE_10__["default"], {
    mapOptions: mapOptions
  }, fields && map ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_5__.LayerSwitcherControl, {
    handleChange: refresh,
    layers: fields.layers
  }), fields.legendControl === 'true' ? /*#__PURE__*/React.createElement(commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_5__.LayerLegendControl, {
    layers: fields.layers,
    initialExpand: false
  }) : null, /*#__PURE__*/React.createElement(commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_9__["default"], {
    position: "bottom-right",
    renderControls: target => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
      target: target
    }), fields.scaleLineControl === 'true' ? /*#__PURE__*/React.createElement(commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_7__["default"], {
      target: target
    }) : null)
  })) : null) : null);
};
WmsPreview.propTypes = {
  fields: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    extent: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().number)),
    initialView: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().number)),
    baseMap: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    layers: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
    legendControl: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    scaleLineControl: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    wmsBaseURI: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    basemap: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_4__.withMapProvider)(WmsPreview));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/index.js"
/*!*******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/index.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _WmsPreview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _WmsPreview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./WmsPreview */ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/index.js"
/*!********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationPreview/index.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationPreview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VisualizationPreview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationPreview */ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationTable/VisualizationTable.js"
/*!*******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationTable/VisualizationTable.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_x_data_grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/x-data-grid */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/DataGrid.js");
/* harmony import */ var commons_components_TableView_TableView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/TableView/TableView */ "./modules/commons/components/TableView/TableView.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.scss */ "./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




const VisualizationTable = _ref => {
  let {
    data,
    tableColumns
  } = _ref;
  const rows = data.map((item, index) => _objectSpread({
    id: index + 1
  }, item));
  const columns = [{
    field: 'id',
    headerName: 'ID',
    hide: true
  }];
  tableColumns.forEach(field => {
    const newColumnField = {
      field,
      headerName: field,
      renderHeader: () => /*#__PURE__*/React.createElement(commons_components_TableView_TableView__WEBPACK_IMPORTED_MODULE_3__.ColumnHeader, {
        name: field
      }),
      width: '130'
    };
    columns.push(newColumnField);
  });
  return /*#__PURE__*/React.createElement("div", {
    className: "escaVisualizationTable__container"
  }, /*#__PURE__*/React.createElement(_mui_x_data_grid__WEBPACK_IMPORTED_MODULE_2__.DataGrid, {
    rows: rows,
    columns: columns,
    pageSize: 5,
    rowsPerPageOptions: [5],
    disableColumnMenu: true,
    disableSelectionOnClick: true
  }));
};
VisualizationTable.propTypes = {
  data: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  tableColumns: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().string))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VisualizationTable);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.js"
/*!******************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationTable__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VisualizationTable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationTable */ "./modules/catalog/datasets/DatasetOverview/VisualizationTable/VisualizationTable.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CopyDatasetDialog/CopyDatasetDialog.js"
/*!*************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CopyDatasetDialog/CopyDatasetDialog.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_components_forms_dialogs_SelectEntryDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/forms/dialogs/SelectEntryDialog */ "./modules/commons/components/forms/dialogs/SelectEntryDialog/index.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _utils_datasets__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../utils/datasets */ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js");
/* harmony import */ var _utils_distributions__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


























const NLS_BUNDLES = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const SEARCH_FIELDS = ['label'];
const CopyWithoutDistributionsDialog = _ref => {
  let {
    actions,
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_17__["default"], {
    maxWidth: "sm",
    closeDialog: closeDialog,
    actions: actions
  }, translate('cloneDatasetQuestion'));
};
CopyWithoutDistributionsDialog.propTypes = {
  actions: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
const CopyDatasetDialog = _ref2 => {
  let {
    closeDialog,
    entry: datasetEntry
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(NLS_BUNDLES);
  const {
    goBack
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const {
    runAsync: runCopy,
    error: copyError,
    status: copyStatus,
    isPending: copyIsPending
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__["default"])();
  const {
    data: distributions,
    runAsync: runGetDistributions,
    error: getDistributionsError,
    status: getDistributionsStatus,
    isLoading: getDistributionsIsLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__["default"])();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_19__["default"])(copyError || getDistributionsError);
  const [selectedDistributions, setSelectedDistributions] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]);
  const {
    result: distributionsItems,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useListQuery)({
    items: getDistributionsStatus === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__.RESOLVED ? distributions.filter(entry => !(0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.isAPIDistribution)(entry)).map(entry => ({
      entry,
      label: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_22__.getTitle)(entry)
    })) : null,
    searchFields: SEARCH_FIELDS
  });
  const hasDistributions = Boolean(distributionsItems.length);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    runGetDistributions((0,_utils_distributions__WEBPACK_IMPORTED_MODULE_25__.getDistributions)(datasetEntry));
  }, [datasetEntry, runGetDistributions]);
  const handleCopyDataset = async () => {
    const entityType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_23__["default"].inUse(datasetEntry);
    const template = entityType.template();
    runCopy((0,_utils_datasets__WEBPACK_IMPORTED_MODULE_24__.copyDataset)(datasetEntry, translate('cloneCopy'), selectedDistributions, template).then(async () => {
      await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_15__["default"])(2500);
      goBack();
    }).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_18__.ErrorWithMessage(translate('copyDatasetFail'), error);
    }));
  };
  const getListItemCheckboxProps = _ref3 => {
    let {
      entry
    } = _ref3;
    return {
      value: entry.getResourceURI(),
      checked: selectedDistributions.includes(entry),
      onChange: _ref4 => {
        let {
          target
        } = _ref4;
        const {
          value,
          checked
        } = target;
        const newSelection = checked ? [...selectedDistributions, entry] : selectedDistributions.filter(selectedEntry => selectedEntry.getResourceURI() !== value);
        setSelectedDistributions(newSelection);
      }
    };
  };
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__["default"], {
    onClick: handleCopyDataset,
    loading: copyIsPending
  }, translate('proceed'));
  if (getDistributionsIsLoading) return null;
  return hasDistributions ? /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_17__["default"], {
    maxWidth: "md",
    closeDialog: closeDialog,
    actions: actions,
    title: translate('cloneDialogTitle'),
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_9__["default"], {
    severity: "info"
  }, translate('cloneDatasetWithDist')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "h3",
    gutterBottom: true
  }, translate('copyDialogListHeader')), /*#__PURE__*/React.createElement(commons_components_forms_dialogs_SelectEntryDialog__WEBPACK_IMPORTED_MODULE_21__.SelectEntryList, {
    queryResults: {
      items: distributionsItems,
      size,
      status: copyIsPending ? copyStatus : getDistributionsStatus
    },
    nlsBundles: NLS_BUNDLES,
    includeHeader: false,
    includeDefaultListActions: false,
    viewPlaceholderProps: {
      label: translate('copyDialogListPlaceholder')
    },
    SelectComponent: commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemCheckbox,
    getSelectComponentProps: getListItemCheckboxProps
  })) : /*#__PURE__*/React.createElement(CopyWithoutDistributionsDialog, {
    actions: actions,
    closeDialog: closeDialog
  });
};
CopyDatasetDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProvider)(CopyDatasetDialog, () => ({
  limit: 5
})));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CopyDatasetDialog/index.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CopyDatasetDialog/index.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CopyDatasetDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CopyDatasetDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CopyDatasetDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CopyDatasetDialog/CopyDatasetDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.js"
/*!***************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_components_dialogs_create_LinkOrFileTabs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/dialogs/create/LinkOrFileTabs */ "./modules/commons/components/dialogs/create/LinkOrFileTabs/index.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsEditor */ "./modules/commons/components/rdforms/hooks/useRDFormsEditor.js");
/* harmony import */ var commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/rdforms/hooks/useLevelProfile */ "./modules/commons/components/rdforms/hooks/useLevelProfile.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/rdforms/RdformsDialogFormWrapper */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/common/dialogs/DialogTwoColumnLayout */ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline */ "./modules/commons/components/rdforms/RdformsOutline/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch */ "./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsValidation */ "./modules/commons/components/rdforms/hooks/useRDFormsValidation.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _utils_distributions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _DistributionList_actions__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../DistributionList/actions */ "./modules/catalog/datasets/DatasetOverview/DistributionList/actions.js");
/* harmony import */ var _CreateDistributionDialog_scss__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./CreateDistributionDialog.scss */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






























const CreateDistributionDialog = _ref => {
  let {
    actionParams,
    closeDialog,
    titleNlsKey = 'createDistributionHeader',
    buttonLabelNlsKey = 'createButton',
    prototypeEntry: prototypeEntryProp,
    isLinkPrototype = false,
    onCreate
  } = _ref;
  const {
    datasetEntry,
    refreshDistributions,
    editorLevel = commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_15__.LEVEL_RECOMMENDED
  } = actionParams;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(_DistributionList_actions__WEBPACK_IMPORTED_MODULE_28__.nlsBundles);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_11__.useESContext)();
  const [fileOrLink, setFileOrLink] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({
    isLink: true
  });
  const excludeFileUpload = isLinkPrototype || config__WEBPACK_IMPORTED_MODULE_5__["default"].get('catalog.excludeFileuploadDistribution');
  const [fileOrLinkFieldIsValid, setFileOrLinkFieldIsValid] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(excludeFileUpload);
  const [filterPredicates, setFilterPredicates] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({
    'http://www.w3.org/ns/dcat#accessURL': !excludeFileUpload,
    'http://www.w3.org/ns/dcat#downloadURL': fileOrLink.isLink
  });
  const [prototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(prototypeEntryProp || (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_27__.createPrototypeEntry)(context));
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_9__.useConfirmCloseAction)(closeDialog);
  const {
    error: createError,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])();
  const [level, setLevel] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(editorLevel);
  const [templateId, setTemplateId] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const outlineSearchProps = (0,commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_23__["default"])();
  const {
    editor,
    EditorComponent,
    graph
  } = (0,commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_13__["default"])({
    entry: prototypeEntry,
    templateId,
    includeLevel: level,
    filterPredicates
  });
  const {
    checkFormErrors,
    formErrorMessage,
    setFormErrorMessage,
    formErrors
  } = (0,commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_25__.useRDFormsValidation)({
    editor,
    onError: outlineSearchProps.clearSearch
  });
  const disabledLevels = (0,commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_14__["default"])(templateId);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!templateId) {
      commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__["default"].inUse(prototypeEntry, datasetEntry).then(entityType => {
        setTemplateId(entityType.templateId());
      });
    }
  }, [prototypeEntry, datasetEntry, templateId]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    setFilterPredicates(state => _objectSpread(_objectSpread({}, state), {}, {
      'http://www.w3.org/ns/dcat#downloadURL': !fileOrLink.isLink
    }));
  }, [fileOrLink.isLink]);
  const createDistributionEntry = async () => {
    try {
      await (0,_utils_distributions__WEBPACK_IMPORTED_MODULE_27__.createEntryByLinkOrFile)(prototypeEntry, datasetEntry, graph, fileOrLink, context);
      refreshDistributions();
      closeDialog();
      if (onCreate) {
        onCreate();
      }
    } catch (error) {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_19__.ErrorWithMessage(translate('createFail'), error);
    }
  };
  const handleCreateEntry = async () => {
    const errors = checkFormErrors(excludeFileUpload ? null : error => (error === null || error === void 0 ? void 0 : error.item.getProperty()) !== _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(_utils_distributions__WEBPACK_IMPORTED_MODULE_27__.DCAT_ACCESSURL));
    if (errors.length > 0) return;
    return runAsync(createDistributionEntry());
  };
  const handleCloseAction = () => {
    const fileOrLinkIsChanged = () => Boolean(fileOrLink.isLink ? fileOrLink.link : fileOrLink.file);
    const changeCondition = graph.isChanged() || fileOrLinkIsChanged();
    confirmClose(changeCondition);
  };
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_24__["default"], {
    onClick: handleCreateEntry,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__.PENDING,
    disabled: !fileOrLinkFieldIsValid
  }, translate(buttonLabelNlsKey));
  const allowFileURI = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('catalog.allowFileURI');
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "create-entry",
    title: translate(titleNlsKey),
    actions: dialogActions,
    closeDialog: handleCloseAction,
    alert: formErrorMessage ? {
      message: formErrorMessage,
      setMessage: setFormErrorMessage
    } : undefined,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__.PENDING
  }, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_21__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_21__.SecondaryColumn, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_22__["default"], {
    editor: editor,
    root: "create-entry",
    errors: formErrors,
    searchProps: outlineSearchProps
  })), /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_21__.PrimaryColumn, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_20__.RdformsDialogFormWrapper, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_20__.RdformsStickyDialogContent, null, /*#__PURE__*/React.createElement(commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_15__["default"], {
    level: level,
    onUpdateLevel: setLevel,
    disabledLevels: disabledLevels
  })), /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_20__.RdformsDialogContent, null, excludeFileUpload ? null : /*#__PURE__*/React.createElement("div", {
    className: "escaLinkOrFileTabsContainer"
  }, /*#__PURE__*/React.createElement(commons_components_dialogs_create_LinkOrFileTabs__WEBPACK_IMPORTED_MODULE_8__["default"], {
    setCreateEntryParams: setFileOrLink,
    setExtraFieldIsValid: setFileOrLinkFieldIsValid,
    allowFileURI: allowFileURI
  })), editor && /*#__PURE__*/React.createElement(EditorComponent, null)))))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_18__.ErrorCatcher, {
    error: createError
  }));
};
CreateDistributionDialog.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_7___default().shape({
    refreshDistributions: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func),
    datasetEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_26__.entryPropType,
    editorLevel: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string)
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func).isRequired,
  titleNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string),
  buttonLabelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().string),
  prototypeEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_26__.entryPropType,
  isLinkPrototype: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool),
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDistributionDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/index.js"
/*!********************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/index.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionFromServiceDialog/CreateDistributionFromServiceDialog.js"
/*!*************************************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionFromServiceDialog/CreateDistributionFromServiceDialog.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var catalog_datasets_dialogs_SelectServiceDialog_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasets/dialogs/SelectServiceDialog/utils */ "./modules/catalog/datasets/dialogs/SelectServiceDialog/utils.js");
/* harmony import */ var catalog_datasets_dialogs_SelectServiceDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/datasets/dialogs/SelectServiceDialog */ "./modules/catalog/datasets/dialogs/SelectServiceDialog/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_dialogs_CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["item", "closeSelectDialog"],
  _excluded2 = ["actionParams"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





// eslint-disable-next-line max-len


const CreateDistributionFromItem = _ref => {
  let {
      item,
      closeSelectDialog
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__.useESContext)();
  const distributionEntry = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => {
    const prototypeEntry = (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_3__.createPrototypeEntry)(context);
    (0,catalog_datasets_dialogs_SelectServiceDialog_utils__WEBPACK_IMPORTED_MODULE_4__.addMetadata)(prototypeEntry, item, item.distributionProps);
    return prototypeEntry;
  }, [item, context]);
  return /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_dialogs_CreateDistributionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({
    onCreate: entry => {
      closeSelectDialog();
      return entry;
    },
    prototypeEntry: distributionEntry,
    isLinkPrototype: true
  }, rest));
};
CreateDistributionFromItem.propTypes = {
  item: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    distributionProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().string))
  }),
  closeSelectDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
const selectAction = {
  id: 'create-distribution-item',
  Dialog: CreateDistributionFromItem
};
const CreateDistributionFromServiceDialog = _ref2 => {
  let {
      actionParams
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded2);
  return /*#__PURE__*/React.createElement(catalog_datasets_dialogs_SelectServiceDialog__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    titleNlsKey: "createFromServiceTitle",
    infoNlsKey: "createDistributionFromServiceMessage",
    selectAction: selectAction,
    actionParams: {
      actionParams
    }
  }, props));
};
CreateDistributionFromServiceDialog.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDistributionFromServiceDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionFromServiceDialog/index.js"
/*!*******************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionFromServiceDialog/index.js ***!
  \*******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDistributionFromServiceDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDistributionFromServiceDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDistributionFromServiceDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionFromServiceDialog/CreateDistributionFromServiceDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateVisualizationDialog/CreateVisualizationDialog.js"
/*!*****************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CreateVisualizationDialog/CreateVisualizationDialog.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_dialogs_AcknowledgeDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/dialogs/AcknowledgeDialog */ "./modules/commons/components/common/dialogs/AcknowledgeDialog/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizationState */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var _VisualizationList_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../VisualizationList/actions */ "./modules/catalog/datasets/DatasetOverview/VisualizationList/actions.js");
/* harmony import */ var _hooks_useVisualizationData__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../hooks/useVisualizationData */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationData.js");
/* harmony import */ var _VisualizationForm__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../VisualizationForm */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/index.js");
/* harmony import */ var _utils_visualizations__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


















const CreateVisualizationDialog = _ref => {
  let {
    actionParams,
    visualizationEntry,
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(_VisualizationList_actions__WEBPACK_IMPORTED_MODULE_14__.nlsBundles);
  const [datasetEntry, refreshVisualizations] = actionParams;
  const {
    error: createError,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const {
    fieldsState,
    isBroken,
    hasChanged
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_9__.useVisualizationState)();
  const handleCreateEntry = () => {
    (0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_17__.updateVisualizationMetadata)(visualizationEntry, fieldsState);
    runAsync((0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_17__.createVisualization)(datasetEntry, visualizationEntry).then(refreshVisualizations).then(closeDialog).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_11__.ErrorWithMessage(translate('createFail'), error);
    }));
  };
  const createDisabled = isBroken || !hasChanged || !(0,_VisualizationForm__WEBPACK_IMPORTED_MODULE_16__.isComplete)(fieldsState);
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__["default"], {
    onClick: handleCreateEntry,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__.PENDING,
    disabled: createDisabled
  }, translate('createButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "create-visualization-entry",
    title: translate('createViz'),
    actions: dialogActions,
    closeDialog: closeDialog,
    fixedHeight: true,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__.PENDING
  }, /*#__PURE__*/React.createElement(_VisualizationForm__WEBPACK_IMPORTED_MODULE_16__["default"], {
    datasetEntry: datasetEntry
  })), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_10__.ErrorCatcher, {
    error: createError
  }));
};
CreateVisualizationDialog.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.entryPropType, (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)])),
  visualizationEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
};
const CreateVisualizationDialogWithProvider = _ref2 => {
  let {
    actionParams,
    closeDialog
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(_VisualizationList_actions__WEBPACK_IMPORTED_MODULE_14__.nlsBundles);
  const [datasetEntry] = actionParams;
  const [visualizationEntry] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)((0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_17__.createPrototypeEntry)(datasetEntry.getContext()));
  const {
    data,
    isLoading,
    error
  } = (0,_hooks_useVisualizationData__WEBPACK_IMPORTED_MODULE_15__["default"])({
    datasetEntry,
    translate
  });
  const {
    sourceChoices
  } = data;
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_12__["default"])(error);
  if (isLoading) return null;
  if (!sourceChoices.length) {
    return /*#__PURE__*/React.createElement(commons_components_common_dialogs_AcknowledgeDialog__WEBPACK_IMPORTED_MODULE_7__["default"], {
      open: true,
      handleClose: closeDialog,
      buttonLabel: translate('vizAcknowledge')
    }, translate('vizNoDistribution'));
  }
  return /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_9__.VisualizationStateProvider, {
    visualizationEntry: visualizationEntry,
    sourceChoices: sourceChoices
  }, /*#__PURE__*/React.createElement(CreateVisualizationDialog, {
    actionParams: actionParams,
    visualizationEntry: visualizationEntry,
    closeDialog: closeDialog
  }));
};
CreateVisualizationDialogWithProvider.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.entryPropType, (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)])),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateVisualizationDialogWithProvider);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateVisualizationDialog/index.js"
/*!*********************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CreateVisualizationDialog/index.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateVisualizationDialog/CreateVisualizationDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/DatasetAssociatedEntriesDialog/DatasetAssociatedEntriesDialog.js"
/*!***************************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/DatasetAssociatedEntriesDialog/DatasetAssociatedEntriesDialog.js ***!
  \***************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_entry_RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/entry/RevisionsEntryDialog */ "./modules/commons/components/entry/RevisionsEntryDialog/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















const DatasetAssociatedEntriesDialog = _ref => {
  let {
    datasetEntry,
    associatedEntryType,
    associatedEntryNLSBundles,
    dialogHeaderNLSKey,
    closeDialog,
    listPlaceholder = ''
  } = _ref;
  const nlsBundles = [...associatedEntryNLSBundles, (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default())];
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)(nlsBundles);
  const rowActions = [_objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_13__.ACTION_REVISIONS), {}, {
    Dialog: commons_components_entry_RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_12__["default"]
  })];
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_15__.useESContext)();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.newSolrQuery().rdfType(associatedEntryType).uriProperty('dcterms:source', datasetEntry.getResourceURI()).context(context), [associatedEntryType, context, datasetEntry]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.useSolrQuery)({
    createQuery
  });
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "associated-entries-dialog",
    closeDialog: closeDialog,
    title: translate(dialogHeaderNLSKey, (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getLabel)(datasetEntry)),
    closeDialogButtonLabel: translate('close'),
    maxWidth: "md",
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_8__["default"], null, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.EntryListView, _extends({}, queryResults, {
    nlsBundles: nlsBundles,
    viewPlaceholderProps: {
      label: listPlaceholder
    },
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        action: {
          id: 'info',
          Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_11__["default"],
          labelNlsKey: 'infoEntry',
          entry
        }
      };
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.TITLE_COLUMN), {}, {
      xs: 7
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.MODIFIED_COLUMN), {}, {
      xs: 3
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.INFO_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry,
          translate: t
        } = _ref3;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_10__.LIST_ACTION_INFO), {}, {
            entry,
            nlsBundles,
            Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_11__["default"]
          }),
          title: t('infoEntry')
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.ACTION_MENU_COLUMN), {}, {
      actions: rowActions
    })]
  }))));
};
DatasetAssociatedEntriesDialog.propTypes = {
  datasetEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_19__.entryPropType,
  associatedEntryType: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  associatedEntryNLSBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.nlsBundlesPropType,
  AssociatedInfoDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  dialogHeaderNLSKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired,
  listPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.withListModelProvider)(DatasetAssociatedEntriesDialog));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/DatasetAssociatedEntriesDialog/index.js"
/*!**************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/DatasetAssociatedEntriesDialog/index.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetAssociatedEntriesDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetAssociatedEntriesDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetAssociatedEntriesDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/DatasetAssociatedEntriesDialog/DatasetAssociatedEntriesDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/EditVisualizationDialog/EditVisualizationDialog.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/EditVisualizationDialog/EditVisualizationDialog.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizationState */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var _VisualizationForm__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../VisualizationForm */ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/index.js");
/* harmony import */ var _utils_visualizations__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var _hooks_useVisualizationData__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../hooks/useVisualizationData */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationData.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "visualizationEntry"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

















const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_12___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const EditVisualizationDialog = _ref => {
  let {
    datasetEntry,
    visualizationEntry,
    refreshVisualizations,
    closeDialog,
    translate
  } = _ref;
  const {
    error: createError,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const {
    fieldsState,
    isBroken,
    hasChanged
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_8__.useVisualizationState)();
  const handleEditEntry = () => {
    (0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_16__.updateVisualizationMetadata)(visualizationEntry, fieldsState);
    runAsync(visualizationEntry.commitMetadata().then(() => {
      refreshVisualizations();
      closeDialog();
    }).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_10__.ErrorWithMessage(translate('saveEditsFail'), error);
    }));
  };
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_7__["default"], {
    onClick: handleEditEntry,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__.PENDING,
    disabled: isBroken || !hasChanged || !(0,_VisualizationForm__WEBPACK_IMPORTED_MODULE_15__.isComplete)(fieldsState)
  }, translate('vizDialogFooter'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_4__["default"], {
    id: "edit-visualization-entry",
    title: translate('editDialogTitle'),
    actions: dialogActions,
    closeDialog: closeDialog,
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(_VisualizationForm__WEBPACK_IMPORTED_MODULE_15__["default"], {
    datasetEntry: datasetEntry
  })), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_9__.ErrorCatcher, {
    error: createError
  }));
};
EditVisualizationDialog.propTypes = {
  datasetEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.entryPropType,
  visualizationEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.entryPropType,
  refreshVisualizations: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired
};
const EditVisualizationWithProvider = _ref2 => {
  let {
      entry: datasetEntry,
      visualizationEntry
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)(nlsBundles);
  const {
    data,
    isLoading,
    error
  } = (0,_hooks_useVisualizationData__WEBPACK_IMPORTED_MODULE_17__["default"])({
    datasetEntry,
    visualizationEntry,
    translate
  });
  const {
    sourceChoices,
    selectedSourceChoice,
    initialFields,
    errors
  } = data;
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_2__["default"])(error);
  if (isLoading) return null;
  return /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_hooks_useVisualizationState__WEBPACK_IMPORTED_MODULE_8__.VisualizationStateProvider, {
    visualizationEntry: visualizationEntry,
    sourceChoices: sourceChoices,
    initialSourceChoice: selectedSourceChoice,
    initialFields: initialFields,
    initialErrors: errors
  }, /*#__PURE__*/React.createElement(EditVisualizationDialog, _extends({
    datasetEntry: datasetEntry,
    visualizationEntry: visualizationEntry,
    translate: translate
  }, props)));
};
EditVisualizationWithProvider.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.entryPropType,
  visualizationEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditVisualizationWithProvider);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/EditVisualizationDialog/index.js"
/*!*******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/EditVisualizationDialog/index.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EditVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EditVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/EditVisualizationDialog/EditVisualizationDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/ManageSeriesDialog.js"
/*!***************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/ManageSeriesDialog.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasetTemplates/DatasetLinkedDataBrowserDialog */ "./modules/catalog/datasetTemplates/DatasetLinkedDataBrowserDialog.js");
/* harmony import */ var catalog_datasets_dialogs_CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/datasets/dialogs/CreateDatasetSeriesDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./util */ "./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
































const NLS_BUNDLES = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_21___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22___default())];
const listActions = [{
  id: 'create',
  Dialog: catalog_datasets_dialogs_CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_15__["default"],
  labelNlsKey: 'createSeriesButtonLabel',
  tooltipNlsKey: 'createSeriesButtonTooltip'
}];
const ManageSeriesDialog = _ref => {
  let {
    closeDialog,
    refreshSeries: refreshOverviewSeries
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_19__.useTranslation)(NLS_BUNDLES);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_24__.useESContext)();
  const datasetEntry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_25__.useEntry)();
  const initialSeriesIncludingDataset = (0,_util__WEBPACK_IMPORTED_MODULE_31__.getUrisOfSeriesIncludingDataset)(datasetEntry);
  const [selectedSeries, setSelectedSeries] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(initialSeriesIncludingDataset);
  const {
    runAsync: runSaveChanges,
    status: saveStatus,
    error: saveError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_26__["default"])();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_27__.useSnackbar)();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useListModel)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_23__["default"])(saveError);
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_11__.useConfirmCloseAction)(closeDialog);
  const edited = !(initialSeriesIncludingDataset.every(uri => selectedSeries.includes(uri)) && selectedSeries.length === initialSeriesIncludingDataset.length);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_18__.RDF_TYPE_DATASET_SERIES).context(context), [context]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.useSolrQuery)({
    createQuery
  });
  const getCheckboxProps = _ref2 => {
    let {
      entry: seriesEntry
    } = _ref2;
    const seriesResourceURI = seriesEntry.getResourceURI();
    const inSelectedSeries = selectedSeries.includes(seriesResourceURI);
    return {
      value: seriesResourceURI,
      checked: inSelectedSeries,
      onChange: _ref3 => {
        let {
          target
        } = _ref3;
        const {
          value,
          checked
        } = target;
        const newSelection = checked ? [...selectedSeries, seriesResourceURI] : selectedSeries.filter(series => series !== value);
        setSelectedSeries(newSelection);
      }
    };
  };
  const handleSaveChanges = () => {
    const saveChangesAndClose = async () => {
      const {
        metadata: datasetMetadata,
        resourceURI: datasetResourceURI
      } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_13__.spreadEntry)(datasetEntry);
      datasetMetadata.findAndRemove(datasetResourceURI, 'dcat:inSeries');
      for (const seriesResourceURI of selectedSeries) {
        datasetMetadata.add(datasetResourceURI, 'dcat:inSeries', seriesResourceURI);
      }
      await datasetEntry.commitMetadata();
      refreshOverviewSeries();
      closeDialog();
      addSnackbar({
        message: translate('seriesChangeSuccess')
      });
    };
    runSaveChanges(saveChangesAndClose());
  };
  const onCreate = seriesEntry => {
    // is called in create dataset dialog and create entry by template (without a param)
    if (!seriesEntry) return;
    setSelectedSeries(previousSelectedSeries => [...previousSelectedSeries, seriesEntry.getResourceURI()]);
  };
  const afterCreateEntry = () => {
    refreshOverviewSeries();
    dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.REFRESH
    });
  };
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_28__["default"], {
    loading: saveStatus === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_26__.PENDING,
    onClick: handleSaveChanges,
    disabled: !edited
  }, translate('save'));
  const prototypeCallback = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(prototypeEntry => (0,_util__WEBPACK_IMPORTED_MODULE_31__.createProtoSeriesFromDatasetCallback)(datasetEntry, prototypeEntry), [datasetEntry]);
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_29__["default"].getByName('dataset');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_30__.getDraftsEnabled)(entityType);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__["default"], {
    id: "add-to-series-dialog",
    title: translate('manageSeriesDialogTitle'),
    actions: actions,
    closeDialog: () => confirmClose(edited),
    closeDialogButtonLabel: translate('cancel'),
    maxWidth: "md",
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_17__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.EntryListView, _extends({}, queryResults, {
    nlsBundles: NLS_BUNDLES,
    listActions: listActions,
    listActionsProps: {
      onCreate,
      afterCreateEntry,
      actionParams: {
        prototypeCallback
      }
    },
    viewPlaceholderProps: {
      label: translate('seriesEmptyListPlaceholder')
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.STATUS_COLUMN), {}, {
      getProps: _ref4 => {
        let {
          entry
        } = _ref4;
        return {
          entry,
          draftsEnabled
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.TITLE_COLUMN), {}, {
      xs: 6,
      headerNlsKey: 'listHeaderDatasetSeries'
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_9__.INFO_COLUMN), {}, {
      getProps: _ref5 => {
        let {
          entry,
          translate: t
        } = _ref5;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_10__.LIST_ACTION_INFO), {}, {
            entry,
            nlsBundles: NLS_BUNDLES,
            Dialog: catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_14__["default"]
          }),
          title: t('infoEntry')
        };
      }
    }), {
      id: 'manage-series-column',
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.ListItemCheckbox,
      getProps: getCheckboxProps,
      xs: 2,
      headerNlsKey: 'inSeriesColumnHeader'
    }]
  }))));
};
ManageSeriesDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  refreshSeries: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.withListModelProvider)(ManageSeriesDialog));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/index.js"
/*!**************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/index.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ManageSeriesDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ManageSeriesDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ManageSeriesDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/ManageSeriesDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/util.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/util.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createProtoDatasetFromSeriesCallback: () => (/* binding */ createProtoDatasetFromSeriesCallback),
/* harmony export */   createProtoSeriesFromDatasetCallback: () => (/* binding */ createProtoSeriesFromDatasetCallback),
/* harmony export */   getUrisOfSeriesIncludingDataset: () => (/* binding */ getUrisOfSeriesIncludingDataset)
/* harmony export */ });
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");




/**
 *
 * @param {Entry} datasetEntry
 * @returns {string[]}
 */
const getUrisOfSeriesIncludingDataset = datasetEntry => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.spreadEntry)(datasetEntry);
  return metadata.find(resourceURI, 'dcat:inSeries').map(statement => statement.getValue());
};

/**
 * Generates a function that produces a prototype entry connected to a base entry,
 * for more details check createProtoSeriesFromDatasetCallback
 *
 * @param {string} baseEntryRdfType
 * @param {string} prototypeEntryRdfType
 * @returns {Function}
 */
const makeProtoEntryFromEntryCallback = (baseEntryRdfType, prototypeEntryRdfType) => (baseEntry, prototypeEntry) => {
  const protoResourceURI = prototypeEntry.getResourceURI();
  const newProtoTypeMetadata = baseEntry.getMetadata().clone().replaceURI(baseEntry.getResourceURI(), protoResourceURI);
  newProtoTypeMetadata.findAndRemove(protoResourceURI, 'dcat:distribution');
  newProtoTypeMetadata.findAndRemove(protoResourceURI, 'schema:diagram');
  newProtoTypeMetadata.findAndRemove(protoResourceURI, 'dcat:inSeries');
  newProtoTypeMetadata.findAndRemove(protoResourceURI, 'esterms:basedOn');
  newProtoTypeMetadata.findAndRemove(protoResourceURI, 'rdf:type', baseEntryRdfType);
  newProtoTypeMetadata.add(protoResourceURI, 'rdf:type', prototypeEntryRdfType);
  prototypeEntry.setMetadata(newProtoTypeMetadata);
  return prototypeEntry;
};

/**
 * Same process as createProtoSeriesFromDatasetCallback, applied in reverse
 *
 * @param {Entry} seriesEntry
 * @param {Entry} datasetPrototypeEntry
 * @returns {Entry}
 */
const createProtoDatasetFromSeriesCallback = makeProtoEntryFromEntryCallback(commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET_SERIES, commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET);

/**
 * Modifies the dataset series prototype entry based on the original dataset entry:
 * 1. copies all metadata
 * 2. removes the distributions and visualizations metadata statements
 * 3. replaces the rdf type
 *
 * @param {Entry} datasetEntry
 * @param {Entry} seriesPrototypeEntry
 * @returns {Entry}
 */
const createProtoSeriesFromDatasetCallback = makeProtoEntryFromEntryCallback(commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET, commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET_SERIES);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog/PreviewVisualizationDialog.js"
/*!*******************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog/PreviewVisualizationDialog.js ***!
  \*******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _VisualizationPreview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../VisualizationPreview */ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7___default())];
const PreviewVisualizationDialog = _ref => {
  let {
    entry,
    visualizationEntry,
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_2__["default"], {
    id: "preview-visualization-entry",
    closeDialogButtonLabel: translate('previewDialogButtonLabel'),
    maxWidth: "md",
    title: translate('previewDialogTitle'),
    closeDialog: closeDialog
  }, /*#__PURE__*/React.createElement(_VisualizationPreview__WEBPACK_IMPORTED_MODULE_8__["default"], {
    datasetEntry: entry,
    visualizationEntry: visualizationEntry
  }));
};
PreviewVisualizationDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.entryPropType,
  visualizationEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PreviewVisualizationDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog/index.js"
/*!**********************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog/index.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PreviewVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PreviewVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PreviewVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog/PreviewVisualizationDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/RemoveDatasetDialog/RemoveDatasetDialog.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/RemoveDatasetDialog/RemoveDatasetDialog.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_errors_DialogFallbackComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/errors/DialogFallbackComponent */ "./modules/commons/errors/DialogFallbackComponent/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var _hooks_useRemoveDataset__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../hooks/useRemoveDataset */ "./modules/catalog/datasets/DatasetOverview/hooks/useRemoveDataset.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["isPublished", "datasetEntry", "closeDialog", "stopNavigation", "onRemove"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }













const RemoveDatasetDialog = _ref => {
  let {
      isPublished,
      datasetEntry,
      closeDialog,
      stopNavigation = false,
      onRemove
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const [checkCanRemove, removeDataset] = (0,_hooks_useRemoveDataset__WEBPACK_IMPORTED_MODULE_16__["default"])(datasetEntry);
  const {
    goBack
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const {
    data: canRemove,
    runAsync,
    error: checkError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])({
    data: false
  });
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_15__["default"])(checkError);
  const handleRemove = async () => {
    try {
      await removeDataset();
      await (onRemove === null || onRemove === void 0 ? void 0 : onRemove());
      if (!stopNavigation) goBack();
    } catch (error) {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_14__.ErrorWithMessage(translate('failedToRemoveDatasetDistributions'), error);
    }
  };
  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => {
    const handleCheck = async () => {
      try {
        const isRemovable = await checkCanRemove();
        if (!isRemovable) closeDialog();
        return isRemovable;
      } catch (error) {
        throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_14__.ErrorWithMessage(translate('failedToCheckDataset'), error);
      }
    };
    runAsync(handleCheck());
  }, [checkCanRemove, closeDialog, translate, runAsync]);
  return canRemove ? /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_12__["default"], {
    FallbackComponent: commons_errors_DialogFallbackComponent__WEBPACK_IMPORTED_MODULE_13__["default"],
    onReset: closeDialog
  }, /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({}, rest, {
    onRemove: handleRemove,
    closeDialog: closeDialog
  }))) : null;
};
RemoveDatasetDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  isPublished: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  stopNavigation: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  datasetEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveDatasetDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/RemoveVisualizationDialog/RemoveVisualizationDialog.js"
/*!*****************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/RemoveVisualizationDialog/RemoveVisualizationDialog.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _utils_visualizations__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_5___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_6___default()), (commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_7___default())];
const RemoveVisualizationDialog = _ref => {
  let {
    entry: datasetEntry,
    visualizationEntry,
    refreshVisualizations,
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(nlsBundles);
  const onRemove = () => {
    return (0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__.removeVisualization)(datasetEntry, visualizationEntry);
  };
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_2__["default"], {
    closeDialog: closeDialog,
    removeConfirmMessage: translate('removalConfirmation'),
    onRemove: onRemove,
    onRemoveCallback: refreshVisualizations
  });
};
RemoveVisualizationDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.entryPropType,
  visualizationEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.entryPropType,
  refreshVisualizations: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveVisualizationDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/RemoveVisualizationDialog/index.js"
/*!*********************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/RemoveVisualizationDialog/index.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveVisualizationDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/RemoveVisualizationDialog/RemoveVisualizationDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog/VisualizationLDBDialog.js"
/*!***********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog/VisualizationLDBDialog.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_3__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



const NLS_BUNDLES = [(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_3___default())];
const fields = [{
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.LANGUAGE_LITERAL,
  property: 'dcterms:title',
  labelNlsKey: 'vizDialogNameviz'
}, {
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.LITERAL,
  property: 'http://entryscape.com/terms/visualization/chartType',
  labelNlsKey: 'vizDialogTypeTitle'
}];
const VisualizationLDBDialog = props => {
  return /*#__PURE__*/React.createElement(commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({
    fields: fields
  }, props, {
    nlsBundles: NLS_BUNDLES
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (VisualizationLDBDialog);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog/index.js"
/*!******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VisualizationLDBDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VisualizationLDBDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VisualizationLDBDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog/VisualizationLDBDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useCheckHasBrokenDistributions.js"
/*!******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useCheckHasBrokenDistributions.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _utils_datasets__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/datasets */ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js");



const useCheckHasBrokenDistributions = datasetEntry => {
  const {
    data: hasBrokenDistribution,
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_1__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    runAsync((0,_utils_datasets__WEBPACK_IMPORTED_MODULE_2__.checkHasBrokenDistribution)(datasetEntry));
  }, [datasetEntry, runAsync]);
  return {
    hasBrokenDistribution,
    isLoading
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCheckHasBrokenDistributions);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useDatasetPublish.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useDatasetPublish.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/hooks/usePublishToggle */ "./modules/catalog/hooks/usePublishToggle.js");
/* harmony import */ var _utils_publish__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/publish */ "./modules/catalog/datasets/DatasetOverview/utils/publish.js");




const useDatasetPublish = _ref => {
  let {
    entry,
    datasetStatus,
    onChange: _onChange
  } = _ref;
  const {
    isSeries,
    isPublished
  } = datasetStatus;
  const toggleFn = async _ref2 => {
    let {
      entry,
      groupEntry,
      translate,
      getConfirmationDialog
    } = _ref2;
    if (isPublished) {
      const hasApiDistributions = await (0,_utils_publish__WEBPACK_IMPORTED_MODULE_3__.getHasApiDistributions)(entry);
      if (hasApiDistributions) {
        const proceed = await getConfirmationDialog({
          content: translate('apiExistsToUnpublishDataset')
        });
        if (!proceed) return isPublished;
      }
      return (0,_utils_publish__WEBPACK_IMPORTED_MODULE_3__.unpublishDataset)(entry, groupEntry);
    }
    const skipDistributionCheck = (0,_utils_publish__WEBPACK_IMPORTED_MODULE_3__.getHasDistributions)(entry) || isSeries;
    if (!skipDistributionCheck) {
      const proceed = await getConfirmationDialog({
        content: translate('confirmPublishWithoutDistributions'),
        rejectLabel: translate('cancelPublishWithoutDistributions'),
        affirmLabel: translate('proceedPublishWithoutDistributions')
      });
      if (!proceed) return isPublished;
    }
    return (0,_utils_publish__WEBPACK_IMPORTED_MODULE_3__.publishDataset)(entry);
  };
  const getSuccessMessage = (newValue, translate) => {
    const successNls = isSeries ? 'publishDatasetSeriesSuccess' : 'publishDatasetSuccess';
    return translate(`${newValue ? '' : 'un'}${successNls}`);
  };
  const getErrorMessage = (currentValue, translate) => {
    const failNls = isSeries ? 'publishDatasetSeriesFail' : 'publishDatasetFail';
    return translate(`${currentValue ? 'un' : ''}${failNls}`);
  };
  const {
    toggle: toggleIsPublished,
    isLoading
  } = (0,catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_2__["default"])({
    entry,
    nlsBundles: (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1___default()),
    currentValue: isPublished,
    onChange: (newValue, domNode) => _onChange({
      isPublished: newValue,
      isInternallyPublished: newValue
    }, domNode),
    noAccessNls: 'datasetSharingNoAccess',
    toggleFn,
    getSuccessMessage,
    getErrorMessage
  });
  return {
    toggleIsPublished,
    isLoading
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDatasetPublish);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useDatsetInternalPublish.js"
/*!************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useDatsetInternalPublish.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/hooks/usePublishToggle */ "./modules/catalog/hooks/usePublishToggle.js");
/* harmony import */ var _utils_publish__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/publish */ "./modules/catalog/datasets/DatasetOverview/utils/publish.js");




const useDatsetInternalPublish = _ref => {
  let {
    entry,
    datasetStatus,
    onChange: _onChange
  } = _ref;
  const {
    isSeries,
    isInternallyPublished
  } = datasetStatus;
  const toggleFn = async _ref2 => {
    let {
      entry,
      translate,
      getConfirmationDialog
    } = _ref2;
    if (isInternallyPublished) return (0,_utils_publish__WEBPACK_IMPORTED_MODULE_3__.unpublishDatasetInternally)(entry);
    const skipDistributionCheck = (0,_utils_publish__WEBPACK_IMPORTED_MODULE_3__.getHasDistributions)(entry) || isSeries;
    if (!skipDistributionCheck) {
      const proceed = await getConfirmationDialog({
        content: translate('confirmPublishWithoutDistributions'),
        rejectLabel: translate('cancelPublishWithoutDistributions'),
        affirmLabel: translate('proceedPublishWithoutDistributions')
      });
      if (!proceed) return isInternallyPublished;
    }
    return (0,_utils_publish__WEBPACK_IMPORTED_MODULE_3__.publishDatasetInternally)(entry);
  };
  const getSuccessMessage = (newValue, translate) => {
    const successNls = isSeries ? 'publishDatasetSeriesSuccess' : 'publishDatasetSuccess';
    return translate(`${newValue ? '' : 'un'}${successNls}`);
  };
  const getErrorMessage = (currentValue, translate) => {
    const failNls = isSeries ? 'publishDatasetSeriesFail' : 'publishDatasetFail';
    return translate(`${currentValue ? 'un' : ''}${failNls}`);
  };
  const {
    toggle: toggleIsInternallyPublished,
    isLoading
  } = (0,catalog_hooks_usePublishToggle__WEBPACK_IMPORTED_MODULE_2__["default"])({
    entry,
    nlsBundles: (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_1___default()),
    currentValue: isInternallyPublished,
    onChange: newValue => _onChange({
      isInternallyPublished: newValue
    }),
    noAccessNls: 'datasetSharingNoAccess',
    toggleFn,
    getSuccessMessage,
    getErrorMessage
  });
  return {
    toggleIsInternallyPublished,
    isLoading
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDatsetInternalPublish);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useDistributions.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useDistributions.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _utils_distributions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _utils_datasets__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/datasets */ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js");













/**
 *
 * @param {Entry} datasetEntry
 * @param {Error} error
 * @param {Function} onRemoveReferences
 */
const useRemoveBrokenReferences = (datasetEntry, error, onRemoveReferences) => {
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!error) return;

    /**
     * @returns {Promise<string[]|undefined>}
     */
    const getAndRemoveBrokenReferences = async () => {
      const brokenReferences = await (0,_utils_datasets__WEBPACK_IMPORTED_MODULE_11__.getBrokenReferences)(datasetEntry);
      if (!brokenReferences.length) return;
      await (0,_utils_datasets__WEBPACK_IMPORTED_MODULE_11__.removeBrokenReferences)(datasetEntry, brokenReferences);
      await onRemoveReferences(brokenReferences);
    };
    runAsync(getAndRemoveBrokenReferences(datasetEntry));
  }, [error, datasetEntry, runAsync, onRemoveReferences]);
};
const useDistributions = (datasetEntry, queryCallback) => {
  const {
    data: results,
    error,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])(null);
  const {
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const refreshDistributions = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => runAsync((0,_utils_distributions__WEBPACK_IMPORTED_MODULE_10__.getDistributions)(datasetEntry).then(entries => {
    if (!queryCallback) return entries;
    return queryCallback(entries);
  })), [datasetEntry, queryCallback, runAsync]);
  const acknowledgeBrokenRefsAndRefresh = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    await getAcknowledgeDialog({
      content: t('removeBrokenDatasetRefsWarning')
    });
    refreshDistributions();
  }, [getAcknowledgeDialog, refreshDistributions, t]);
  useRemoveBrokenReferences(datasetEntry, error, acknowledgeBrokenRefsAndRefresh);
  const [{
    refreshCount
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useListModel)();
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    refreshDistributions();
  }, [refreshDistributions, refreshCount]);
  return [results, refreshDistributions, status];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDistributions);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useRemoveDataset.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useRemoveDataset.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_references_useGetReferences__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/references/useGetReferences */ "./modules/commons/hooks/references/useGetReferences.js");
/* harmony import */ var catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/nls/escaReferences.nls */ "./modules/catalog/nls/escaReferences.nls");
/* harmony import */ var catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var catalog_datasets_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasets/utils */ "./modules/catalog/datasets/utils.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_ReferenceList__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/ReferenceList */ "./modules/commons/components/ReferenceList.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _utils_dataServices__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils/dataServices */ "./modules/catalog/datasets/DatasetOverview/utils/dataServices.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





















/**
 *
 * @param {Entry} datasetEntry
 * @returns {Promise}
 */
const removeVisualizations = async datasetEntry => {
  const {
    resourceURI,
    metadata
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_18__.spreadEntry)(datasetEntry);
  const resourceURIs = metadata.find(resourceURI, 'schema:diagram').map(statement => statement.getValue());
  if (!resourceURIs.length) return;
  const visualizationEntries = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_18__.getEntriesByResourceURIs)(resourceURIs);
  const deletePromises = visualizationEntries.map(entry => entry.del());
  return Promise.all(deletePromises);
};
const useRemoveDataset = datasetEntry => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)([(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_6___default()), (catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  const {
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const isSeries = (0,catalog_datasets_utils__WEBPACK_IMPORTED_MODULE_14__.isDatasetSeries)(datasetEntry);

  /**
   *  Removes the actual dataset and dependent distribution, visualization and
   *  comment entries.
   *
   *  @returns {Promise<void>}
   */
  const removeDataset = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(async () => {
    const cache = commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.getCache();
    const distributionStatements = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.findResourceStatements)(datasetEntry, 'dcat:distribution');
    const distributions = distributionStatements.map(statement => {
      const resourceURI = statement.getValue();
      return Array.from(cache.getByResourceURI(resourceURI));
    }).filter(distribution => distribution.length > 0);
    await removeVisualizations(datasetEntry);
    const allComments = await commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.newSolrQuery().uriProperty('oa:hasTarget', datasetEntry.getResourceURI()).rdfType('oa:Annotation').list().getEntries(0);
    await Promise.all(allComments.map(comment => comment.del()));
    await Promise.all(distributions.map(distribution => distribution[0].del()));
    await datasetEntry.del();
    const resourceURI = datasetEntry.getResourceURI();
    const catalog = await commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystoreUtil.getEntryByType('dcat:Catalog', datasetEntry.getContext());
    catalog.getMetadata().findAndRemove(null, 'dcat:dataset', {
      value: resourceURI,
      type: 'uri'
    });
    return catalog.commitMetadata();
  }, [datasetEntry]);

  /**
   * Checks for dataset dependencies and asks for confirmation or acknowledgment
   * to proceed with the actual dataset removal.
   *
   * @returns {Promise<boolean>}
   */
  const checkCanRemove = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(async () => {
    const distributionStatements = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.findResourceStatements)(datasetEntry, 'dcat:distribution');
    const fileDistributionURIs = [];
    // Should use getAPIDistributionSourceURIs util function for these and do
    // something similar for downloadURL
    const apiDistributionURIs = [];
    const baseURI = commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.getBaseURI();
    await Promise.all(distributionStatements.map(distributionStatement => {
      const distributionResourceURI = distributionStatement.getValue();
      return commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystoreUtil.getEntryByResourceURI(distributionResourceURI).then(entry => {
        const source = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.getResourceURI)(entry, 'dcterms:source');
        const downloadURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.getResourceURI)(entry, 'dcat:downloadURL');
        if (source) {
          apiDistributionURIs.push(source);
        }
        if ((downloadURI === null || downloadURI === void 0 ? void 0 : downloadURI.indexOf(baseURI)) > -1) {
          fileDistributionURIs.push(downloadURI);
        }
      }, error => {
        console.error(error);
      } // Fail silently
      );
    }));
    const dataServicesEntries = await (0,_utils_dataServices__WEBPACK_IMPORTED_MODULE_19__.getDataServices)(datasetEntry);
    if (dataServicesEntries.length) {
      const items = dataServicesEntries.map(dataServiceEntry => {
        const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getLabel)(dataServiceEntry);
        const href = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_16__.getPathFromViewName)(catalog_config_config__WEBPACK_IMPORTED_MODULE_15__.DATA_SERVICE_OVERVIEW_NAME, {
          contextId: dataServiceEntry.getContext().getId(),
          entryId: dataServiceEntry.getId()
        });
        return {
          href,
          label
        };
      });
      await getAcknowledgeDialog({
        content: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_9__.parseTemplate)(translate('unableToRemoveDataset'), {
          1: /*#__PURE__*/React.createElement(commons_components_ReferenceList__WEBPACK_IMPORTED_MODULE_17__["default"], {
            references: items
          })
        })
      });
      return false;
    }
    if (apiDistributionURIs.length || fileDistributionURIs.length) {
      await getAcknowledgeDialog({
        content: translate('unableToRemoveDatasetNoDataServices')
      });
      return false;
    }
    const ignoreCallback = entry => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.checkHasProperty)(entry, 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_TYPE_CATALOG) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.checkHasProperty)(entry, 'rdf:type', 'oa:Annotation');
    const references = await (0,commons_hooks_references_useGetReferences__WEBPACK_IMPORTED_MODULE_12__.getReferences)(datasetEntry, ignoreCallback);
    const labels = await (0,commons_hooks_references_useGetReferences__WEBPACK_IMPORTED_MODULE_12__.getLabels)(references, translate);
    const hrefs = references.map(entry => (0,commons_util_site__WEBPACK_IMPORTED_MODULE_16__.getPathFromViewName)(catalog_config_config__WEBPACK_IMPORTED_MODULE_15__.DATASET_OVERVIEW_NAME, {
      contextId: entry.getContext().getId(),
      entryId: entry.getId()
    }));
    if (references.length) {
      await getAcknowledgeDialog({
        content: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_9__.parseTemplate)(translate(isSeries ? 'unableToRemoveDatasetSeries' : 'unableToRemoveOther'), {
          1: /*#__PURE__*/React.createElement(commons_components_ReferenceList__WEBPACK_IMPORTED_MODULE_17__["default"], {
            references: labels.map((label, index) => ({
              label,
              href: hrefs[index]
            }))
          })
        })
      });
      return false;
    }
    return true;
  }, [datasetEntry, getAcknowledgeDialog, translate, isSeries]);
  return [checkCanRemove, removeDataset];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRemoveDataset);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useValidateFiles.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useValidateFiles.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaFiles.nls */ "./modules/catalog/nls/escaFiles.nls");
/* harmony import */ var catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var _utils_csv__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/csv */ "./modules/catalog/datasets/DatasetOverview/utils/csv.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }














const useValidateFiles = distributionEntry => {
  const {
    getConfirmationDialog,
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const [filesInfo] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_8__["default"])(catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_7__.getDistributionFilesInfo, distributionEntry);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((catalog_nls_escaFiles_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const {
    validFiles,
    dialogType,
    messages
  } = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    if (!filesInfo) {
      return {
        validFiles: null,
        dialogType: null,
        messages: {
          content: null,
          rejectLabel: null,
          affirmLabel: null
        }
      };
    }
    const maxFileSizeForAPI = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('catalog.maxFileSizeForAPI');
    let totalFilesSize = 0;
    filesInfo.forEach(file => {
      totalFilesSize += file.sizeOfFile || 0;
    });
    if (totalFilesSize > maxFileSizeForAPI) {
      const maxSizeInMb = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.convertBytesToMBytes)(maxFileSizeForAPI);
      const acknowledgeMessage = t('activateAPINotAllowedFileToBig', {
        size: maxSizeInMb
      });
      return {
        validFiles: false,
        dialogType: 'acknowledge',
        messages: {
          content: acknowledgeMessage
        }
      };
    }
    const nonCsvFile = filesInfo.find(file => !_utils_csv__WEBPACK_IMPORTED_MODULE_13__.CSV_VALID_FORMATS.includes(file.format));
    if (nonCsvFile) {
      return {
        validFiles: false,
        dialogType: 'confirm',
        messages: {
          content: t('onlyCSVSupported', {
            format: (nonCsvFile === null || nonCsvFile === void 0 ? void 0 : nonCsvFile.format) || '-'
          }),
          affirmLabel: t('confirmAPIActivation'),
          rejectLabel: t('abortAPIActivation')
        }
      };
    }
    return {
      validFiles: true,
      dialogType: null,
      messages: {
        content: null,
        rejectLabel: null,
        affirmLabel: null
      }
    };
  }, [filesInfo, t]);

  /**
   * Determines whether and what kind of dialog to present, depending on the
   * file validation results.
   *
   * @returns {Promise}
   */
  const confirmFiles = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(async () => {
    if (!validFiles && dialogType === 'acknowledge') {
      return getAcknowledgeDialog(_objectSpread(_objectSpread({}, messages), {}, {
        dialogProps: {
          style: {
            zIndex: 1301
          }
        }
      }));
    }
    if (!validFiles && dialogType === 'confirm') {
      return getConfirmationDialog(_objectSpread(_objectSpread({}, messages), {}, {
        dialogProps: {
          style: {
            zIndex: 1301
          }
        }
      }));
    }
    return Promise.resolve(true);
  }, [validFiles, dialogType, messages, getAcknowledgeDialog, getConfirmationDialog]);
  return {
    validFiles,
    dialogType,
    confirmFiles
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useValidateFiles);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationData.js"
/*!********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationData.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");



const useVisualizationData = _ref => {
  let {
    datasetEntry,
    visualizationEntry,
    translate
  } = _ref;
  const {
    data: visualizationData,
    runAsync,
    isLoading,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_0__["default"])({
    data: {}
  });
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    runAsync((0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_2__.getVisualizationData)(datasetEntry, visualizationEntry, translate));
  }, [runAsync, datasetEntry, visualizationEntry, translate]);
  return {
    data: visualizationData,
    isLoading,
    error
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useVisualizationData);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js"
/*!*********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useVisualizationState.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   VisualizationStateProvider: () => (/* binding */ VisualizationStateProvider),
/* harmony export */   useVisualizationState: () => (/* binding */ useVisualizationState)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["visualizationEntry", "sourceChoices", "initialSourceChoice", "initialErrors", "initialFields", "isPrototype"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





/** Manages a visualization state */
const VisualizationStateContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_5__.createContext)();
const VisualizationStateProvider = _ref => {
  let {
      visualizationEntry,
      sourceChoices,
      initialSourceChoice,
      initialErrors = {},
      initialFields,
      isPrototype
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const [fieldsState, setFieldsState] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(initialFields || (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__.getDefaultFieldsState)(initialSourceChoice === null || initialSourceChoice === void 0 ? void 0 : initialSourceChoice.format));
  const [errors, setErrors] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(initialErrors);
  const [selectedSourceChoice, setSelectedSourceChoice] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(initialSourceChoice);
  const [hasChanged, setHasChanged] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const addErrors = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(newErrors => {
    setErrors(currentErrors => _objectSpread(_objectSpread({}, currentErrors), newErrors));
  }, []);
  const removeErrors = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(errorKeys => {
    setErrors(currentErrors => {
      const errorKeysToRemove = errorKeys.filter(errorKey => errorKey in currentErrors);
      if (!errorKeysToRemove.length) return currentErrors; // no relevant errors to remove
      const newErrors = errorKeysToRemove.reduce((errorsToKeep, errorKey) => {
        if (!(errorKey in currentErrors)) {
          errorsToKeep[errorKey] = currentErrors[errorKey];
        }
        return errorsToKeep;
      }, {});
      return newErrors;
    });
  }, []);
  const resetErrors = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    setErrors({});
  }, []);
  const updateFieldsState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (change) {
    let silent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    removeErrors(Object.keys(change));
    setFieldsState(state => _objectSpread(_objectSpread({}, state), change));
    if (!silent) setHasChanged(true);
  }, [removeErrors]);
  const onSourceChange = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(_ref2 => {
    let {
      target
    } = _ref2;
    const newSelectedSourceChoice = (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__.getSelectedSourceChoice)(target.value, sourceChoices);
    resetErrors();
    setSelectedSourceChoice(newSelectedSourceChoice);

    // set all values to initial values except titles state which is kept
    setFieldsState(fields => _objectSpread(_objectSpread({}, (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_8__.getDefaultFieldsState)(newSelectedSourceChoice.format)), {}, {
      sourceURI: newSelectedSourceChoice.sourceURI,
      titles: fields.titles
    }));
  }, [sourceChoices, resetErrors]);
  const isBroken = Object.keys(errors).length > 0;
  return /*#__PURE__*/React.createElement(VisualizationStateContext.Provider, _extends({
    value: {
      visualizationEntry,
      fieldsState,
      initialFields,
      updateFieldsState,
      onSourceChange,
      sourceChoices,
      selectedSourceChoice,
      setSelectedSourceChoice,
      hasChanged,
      isBroken,
      errors,
      addErrors,
      removeErrors,
      resetErrors
    }
  }, props));
};
VisualizationStateProvider.propTypes = {
  visualizationEntry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry),
  sourceChoices: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({})),
  initialSourceChoice: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    format: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)
  }),
  initialFields: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  initialErrors: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  isPrototype: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool)
};
const useVisualizationState = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(VisualizationStateContext);
  if (context === undefined) throw new Error('Visualizations context must be used within context provider');
  return context;
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   VisualizationsProvider: () => (/* binding */ VisualizationsProvider),
/* harmony export */   useVisualizations: () => (/* binding */ useVisualizations),
/* harmony export */   withVisualizationsProvider: () => (/* binding */ withVisualizationsProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _utils_visualizations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["datasetEntry"],
  _excluded2 = ["entry"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const VisualizationsContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)();
const VisualizationsProvider = _ref => {
  let {
      datasetEntry
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const {
    data: visualizations,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])(null);
  const refreshVisualizations = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
    if (config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.includeVisualizations')) {
      runAsync((0,_utils_visualizations__WEBPACK_IMPORTED_MODULE_6__.getVisualizations)(datasetEntry));
    }
  }, [datasetEntry, runAsync]);
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    refreshVisualizations();
  }, [refreshVisualizations]);
  return /*#__PURE__*/React.createElement(VisualizationsContext.Provider, _extends({
    value: {
      visualizations,
      refreshVisualizations,
      status
    }
  }, props));
};
VisualizationsProvider.propTypes = {
  datasetEntry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry)
};
const useVisualizations = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(VisualizationsContext);
  if (context === undefined) throw new Error('Visualizations context must be used within context provider');
  return context;
};
const withVisualizationsProvider = Component => _ref2 => {
  let {
      entry
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded2);
  return /*#__PURE__*/React.createElement(VisualizationsProvider, {
    datasetEntry: entry
  }, /*#__PURE__*/React.createElement(Component, _extends({
    entry: entry
  }, props)));
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/index.js"
/*!***********************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var _DatasetSeriesOverview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DatasetSeriesOverview */ "./modules/catalog/datasets/DatasetOverview/DatasetSeriesOverview.js");
/* harmony import */ var _DatasetOverview__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./DatasetOverview */ "./modules/catalog/datasets/DatasetOverview/DatasetOverview.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils */ "./modules/catalog/datasets/utils.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const DatasetOverviewDecider = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_0__.useEntry)();
  const isSeries = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.isDatasetSeries)(entry);
  if (isSeries) return /*#__PURE__*/React.createElement(_DatasetSeriesOverview__WEBPACK_IMPORTED_MODULE_2__["default"], {
    overviewProps: overviewProps
  });
  return /*#__PURE__*/React.createElement(_DatasetOverview__WEBPACK_IMPORTED_MODULE_3__["default"], {
    overviewProps: overviewProps
  });
};
DatasetOverviewDecider.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_1__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_1__.withOverviewModelProvider)(DatasetOverviewDecider));

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/useDatasetOverviewCommons.js"
/*!*******************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/useDatasetOverviewCommons.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var commons_components_forms_presenters_Fields__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/forms/presenters/Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/CommentsDialog */ "./modules/commons/CommentsDialog/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! catalog/nls/escaResults.nls */ "./modules/catalog/nls/escaResults.nls");
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_23__);
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! catalog/nls/escaIdeas.nls */ "./modules/catalog/nls/escaIdeas.nls");
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! commons/CommentsDialog/hooks/useCommentsCount */ "./modules/commons/CommentsDialog/hooks/useCommentsCount.js");
/* harmony import */ var commons_components_dialogs_LockEntryDialog_LockEntryDialog__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! commons/components/dialogs/LockEntryDialog/LockEntryDialog */ "./modules/commons/components/dialogs/LockEntryDialog/LockEntryDialog.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOpen.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOutlined.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");
/* harmony import */ var catalog_hooks_usePublishStatus__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! catalog/hooks/usePublishStatus */ "./modules/catalog/hooks/usePublishStatus.js");
/* harmony import */ var _dialogs_DatasetAssociatedEntriesDialog__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./dialogs/DatasetAssociatedEntriesDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/DatasetAssociatedEntriesDialog/index.js");
/* harmony import */ var _dialogs_CopyDatasetDialog__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./dialogs/CopyDatasetDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/CopyDatasetDialog/index.js");
/* harmony import */ var _dialogs_RemoveDatasetDialog_RemoveDatasetDialog__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./dialogs/RemoveDatasetDialog/RemoveDatasetDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/RemoveDatasetDialog/RemoveDatasetDialog.js");
/* harmony import */ var _dialogs_ManageSeriesDialog__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./dialogs/ManageSeriesDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/ManageSeriesDialog/index.js");
/* harmony import */ var _useGetSeriesIncludingDataset__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./useGetSeriesIncludingDataset */ "./modules/catalog/datasets/DatasetOverview/useGetSeriesIncludingDataset.js");
/* harmony import */ var _PublishDataset__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./PublishDataset */ "./modules/catalog/datasets/DatasetOverview/PublishDataset/index.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../utils */ "./modules/catalog/datasets/utils.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















































const nlsBundles = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_19___default()), (catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_21___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_22___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_20___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_25___default())];
const _renderPrimaryContent = (datasetEntry, datasetSeries, translate) => {
  if (!datasetSeries.length) return null; // defaults to just the description

  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_forms_presenters_Fields__WEBPACK_IMPORTED_MODULE_6__.Fields, {
    label: translate('overviewInSeries'),
    inline: true
  }, datasetSeries.map((seriesEntry, index) => {
    const path = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_18__.getPathFromViewName)(catalog_config_config__WEBPACK_IMPORTED_MODULE_7__.DATASET_OVERVIEW_NAME, {
      contextId: seriesEntry.getContext().getId(),
      entryId: seriesEntry.getId()
    });
    const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getLabel)(seriesEntry);
    if (!label) return;
    return /*#__PURE__*/React.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
      key: path
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      component: react_router_dom__WEBPACK_IMPORTED_MODULE_8__.Link,
      to: path
    }, label), index < datasetSeries.length - 1 ? ', ' : '');
  })), /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_10__.OverviewDescription, {
    label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getDescription)(datasetEntry)
  }));
};
const useDatasetOverviewCommons = () => {
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_12__.useEntry)();
  const isSeries = (0,_utils__WEBPACK_IMPORTED_MODULE_48__.isDatasetSeries)(entry);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_26__.useTranslation)(nlsBundles);
  const translateShowIdeas = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_26__.useTranslation)((catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_24___default()));
  const translateShowcases = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_26__.useTranslation)((catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_23___default()));
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_27__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_10__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_30__["default"])(entry, refreshCount);
  const [ideas] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_27__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.getIdeas, entry);
  const [showcases] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_27__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.getShowcases, entry);
  const viewParams = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_9__.useParams)();
  const [getCommentsCount, refreshCommentsCount] = (0,commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_36__["default"])(entry);
  const commentCount = getCommentsCount(entry.getResourceURI());
  const includeSuggestions = config__WEBPACK_IMPORTED_MODULE_11__["default"].get('catalog.includePreparations');
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_29__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_18__.getViewDefFromName)('catalog__datasets__dataset');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_35__.localize)(viewDefinition.title);
  const ideaCount = (ideas === null || ideas === void 0 ? void 0 : ideas.length) || 0;
  const showcaseCount = (showcases === null || showcases === void 0 ? void 0 : showcases.length) || 0;
  const themes = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.getThemeLabels)(entry);
  const hasPSIValue = !(0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_40__.isEntryPSI)(entry); // psi value set in metadata
  const includeInternalPublish = !hasPSIValue && config__WEBPACK_IMPORTED_MODULE_11__["default"].get('catalog.includeInternalPublish');
  const includePSISwitch = config__WEBPACK_IMPORTED_MODULE_11__["default"].get('catalog.allowInternalDatasetPublish');
  const [datasetStatus, updateStatus] = (0,catalog_hooks_usePublishStatus__WEBPACK_IMPORTED_MODULE_41__["default"])(entry, entry => ({
    isSeries: (0,_utils__WEBPACK_IMPORTED_MODULE_48__.isDatasetSeries)(entry)
  }));
  const {
    isPublished,
    isInternallyPublished
  } = datasetStatus;
  const datasetSeriesEnabled = config__WEBPACK_IMPORTED_MODULE_11__["default"].get('catalog.includeDatasetSeries');
  const [datasetSeries, refreshSeries] = (0,_useGetSeriesIncludingDataset__WEBPACK_IMPORTED_MODULE_46__["default"])(entry);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__.useUserState)();

  /**
   * Check if the user has the right to lock or unlock the dataset.
   *
   * @returns {boolean}
   */
  const getCanLockOrUnlock = async () => {
    try {
      const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_33__.getGroupWithHomeContext)(entry.getContext());
      return !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isDraftEntry)(entry) && ((0,commons_util_user__WEBPACK_IMPORTED_MODULE_32__.hasAdminRights)(userEntry) || (0,commons_util_user__WEBPACK_IMPORTED_MODULE_32__.isManager)(groupEntry, userEntry));
    } catch (error) {
      console.error(error);
      return false;
    }
  };
  const descriptionItems = [{
    id: 'overview',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_15__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, {
    id: 'theme',
    labelNlsKey: 'themeTitle',
    getValues: () => themes ? [...new Set(themes)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedTitle',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_28__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getLabel)(entry)}`);
  const rowActions = [{
    id: 'comments',
    Dialog: commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_17__["default"],
    refreshCommentsCount,
    getProps: () => ({
      labelPrefix: commentCount !== null && commentCount !== void 0 ? commentCount : 0,
      label: translate('commentMenu'),
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.canWriteMetadata)(entry)
    })
  }, {
    id: 'ideas',
    getProps: () => ({
      labelPrefix: ideaCount,
      label: translate('showideas'),
      disabled: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isLocked)(entry),
      action: {
        Dialog: _dialogs_DatasetAssociatedEntriesDialog__WEBPACK_IMPORTED_MODULE_42__["default"],
        datasetEntry: entry,
        associatedEntryType: commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.RDF_TYPE_IDEA,
        associatedEntryNLSBundles: [(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_25___default()), (catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_24___default())],
        dialogHeaderNLSKey: 'showIdeasDialogHeader',
        listPlaceholder: translateShowIdeas('emptyShowListWarning')
      }
    })
  }, {
    id: 'showcases',
    getProps: () => ({
      labelPrefix: showcaseCount,
      label: translate('showresults'),
      disabled: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isLocked)(entry),
      action: {
        Dialog: _dialogs_DatasetAssociatedEntriesDialog__WEBPACK_IMPORTED_MODULE_42__["default"],
        datasetEntry: entry,
        associatedEntryType: commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.RDF_TYPE_SHOWCASE,
        associatedEntryNLSBundles: [(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_25___default()), (catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_23___default())],
        dialogHeaderNLSKey: 'showResultsDialogHeader',
        listPlaceholder: translateShowcases('emptyShowListWarning')
      }
    })
  }];
  const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.ACTION_EDIT), {}, {
    getProps: () => ({
      disabled: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isLocked)(entry)
    })
  }), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.ACTION_REVISIONS, {
    id: 'preview',
    labelNlsKey: 'previewEntry',
    getProps: () => ({
      target: '_blank',
      href: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_18__.getPathFromViewName)('catalog__datasets__preview', viewParams),
      label: translate('previewDatasetTitle')
    })
  }, {
    id: 'copy',
    highlightId: 'overviewActionCopy',
    labelNlsKey: 'copyEntry',
    Dialog: _dialogs_CopyDatasetDialog__WEBPACK_IMPORTED_MODULE_43__["default"],
    isVisible: () => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.canWriteMetadata)(entry) && !isSeries
  }, {
    id: 'manage-series',
    labelNlsKey: 'manageSeriesButton',
    Dialog: _dialogs_ManageSeriesDialog__WEBPACK_IMPORTED_MODULE_45__["default"],
    highlightId: 'overviewActionManageSeries',
    getProps: () => ({
      action: {
        refreshSeries
      },
      disabled: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isLocked)(entry)
    }),
    // TODO: remove when we allow series inside series
    isVisible: () => datasetSeriesEnabled && (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.isType)(entry.getMetadata(), entry.getResourceURI(), commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.RDF_TYPE_DATASET) && (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.canWriteMetadata)(entry)
  }, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.ACTION_REMOVE), {}, {
    getProps: () => ({
      action: {
        removeConfirmMessage: translate(isSeries ? 'removeDatasetSeriesQuestion' : 'removeDatasetQuestion'),
        isPublished,
        datasetEntry: entry
      },
      disabled: isPublished || isInternallyPublished
    }),
    Dialog: _dialogs_RemoveDatasetDialog_RemoveDatasetDialog__WEBPACK_IMPORTED_MODULE_44__["default"]
  }), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_34__.ACTION_DIVIDER, {
    id: 'publish-internal',
    Component: _PublishDataset__WEBPACK_IMPORTED_MODULE_47__.PublishDatasetInternal,
    isVisible: () => includeInternalPublish,
    getProps: () => ({
      entry,
      translate,
      datasetStatus,
      onChange: updateStatus
    })
  }, {
    id: 'publish',
    Component: _PublishDataset__WEBPACK_IMPORTED_MODULE_47__.PublishDataset,
    getProps: () => ({
      entry,
      catalogEntry,
      translate,
      datasetStatus,
      includeInternalPublish,
      onChange: updateStatus
    })
  }, {
    id: 'psi',
    Component: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_10__.withOverviewRefresh)(_PublishDataset__WEBPACK_IMPORTED_MODULE_47__.DatasetPSISwitch, 'onChange'),
    isVisible: () => includePSISwitch && !includeInternalPublish,
    getProps: () => ({
      translate,
      entry
    })
  }, {
    id: 'lock',
    Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_10__.withOverviewRefresh)(commons_components_dialogs_LockEntryDialog_LockEntryDialog__WEBPACK_IMPORTED_MODULE_37__["default"], 'onChange'),
    Component: commons_components_overview__WEBPACK_IMPORTED_MODULE_10__.OverviewSidebarToggle,
    isVisible: () => getCanLockOrUnlock(),
    highlightId: 'overviewLock',
    getProps: () => ({
      entry,
      translate,
      isChecked: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isLocked)(entry),
      primaryLabel: translate('lockLabel'),
      switchTooltipLabel: translate('lockTooltip'),
      secondaryLabel: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isLocked)(entry) ? translate('lockedStatus') : translate('unlockedStatus'),
      icon: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_31__.isLocked)(entry) ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_39__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_38__["default"], null)
    })
  }];
  return {
    entry,
    descriptionItems,
    sidebarActions,
    rowActions,
    includeSuggestions,
    backLabel: translate('backTitle'),
    translate,
    datasetSeries,
    renderPrimaryContent: () => _renderPrimaryContent(entry, datasetSeries, translate)
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDatasetOverviewCommons);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/useGetSeriesIncludingDataset.js"
/*!**********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/useGetSeriesIncludingDataset.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");






const useGetSeriesIncludingDataset = datasetEntry => {
  const [refreshCounter, setRefreshCounter] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(0);
  const refreshSeries = () => setRefreshCounter(prev => prev + 1);
  const {
    data: datasetSeries,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__["default"])({
    data: []
  });
  const datasetSeriesEnabled = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('catalog.includeDatasetSeries');
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (status !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__.IDLE) return;
    if (!datasetSeriesEnabled) return;
    const seriesResourceURIs = datasetEntry.getMetadata().find(datasetEntry.getResourceURI(), 'dcat:inSeries').map(statement => statement.getValue());
    runAsync(commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystoreUtil.loadEntriesByResourceURIs(seriesResourceURIs, datasetEntry.getContext()));
  }, [datasetEntry, runAsync, status, datasetSeriesEnabled, refreshCounter]);
  return [datasetSeries, refreshSeries];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetSeriesIncludingDataset);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/api.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/api.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   checkStatusOnRepeat: () => (/* binding */ _checkStatusOnRepeat),
/* harmony export */   getApiInformation: () => (/* binding */ getApiInformation),
/* harmony export */   getExampleURL: () => (/* binding */ getExampleURL),
/* harmony export */   loadRowStoreData: () => (/* binding */ loadRowStoreData),
/* harmony export */   oldStatus: () => (/* binding */ oldStatus),
/* harmony export */   status: () => (/* binding */ status),
/* harmony export */   syncStatus: () => (/* binding */ syncStatus),
/* harmony export */   update: () => (/* binding */ update),
/* harmony export */   updateAlias: () => (/* binding */ updateAlias)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");






/**
 * The index (order) of the statuses corresponds to the pipeline return status.
 * Do not change if not changed in the RowStore/EntryStore
 *
 * @type {string[]}
 */
const id2status = ['created', 'accepted', 'processing', 'available', 'error'];

/**
 * Load the RowStore data for this entry
 *
 * @param {Entry} pipelineEntry
 * @returns {Promise}
 */
const loadRowStoreData = pipelineEntry => {
  return commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.loadViaProxy(pipelineEntry.getEntryInfo().getExternalMetadataURI());
};

/**
 * Get api's example url
 *
 * @param {string} resultResourceURI
 * @param {string} apiAlias
 * @param {string} columnName
 * @returns {object}
 */
const getExampleURL = (resultResourceURI, apiAlias, columnName) => {
  if (apiAlias) {
    return `${resultResourceURI.substr(0, resultResourceURI.lastIndexOf('/') + 1)}${apiAlias}?${columnName}=some_string_pattern`;
  }
  return `${resultResourceURI}?${columnName}=some_string_pattern`;
};

/**
 * Get api information from cached external metadata
 *
 * @param {Entry} pipelineResultsEntry
 * @returns {object}
 */
const getApiInformation = async pipelineResultsEntry => {
  const resultResourceURI = pipelineResultsEntry.getResourceURI();
  const identifier = resultResourceURI.substr(resultResourceURI.lastIndexOf('/') + 1, resultResourceURI.length);
  const cachedExternalMetadata = pipelineResultsEntry.getCachedExternalMetadata();
  const columnNames = cachedExternalMetadata.find(null, 'store:pipelineResultColumnName').map(stmt => stmt.getValue());
  const apiAlias = cachedExternalMetadata.findFirstValue(null, 'store:aliasName');
  const apiStatus = cachedExternalMetadata.findFirstValue(null, 'store:pipelineResultStatus');
  return {
    apiStatus,
    apiAlias,
    columnNames,
    identifier
  };
};

/**
 * Sets alias in RowStore
 *
 * @param {Context} context
 * @param {string} resultResourceURI
 * @param {string} alias
 * @returns {Promise}
 */
const setAlias = async (context, resultResourceURI, alias) => {
  const rowstorePipelineEntry = await context.getEntryById('rowstorePipeline');
  const pipeline = await rowstorePipelineEntry.getResource();
  const transformId = pipeline.getTransformForType(pipeline.transformTypes.ROWSTORE);
  const transformArguments = alias ? {
    action: 'setalias',
    alias,
    datasetURL: resultResourceURI
  } : {
    action: 'setalias',
    datasetURL: resultResourceURI
  };
  pipeline.setTransformArguments(transformId, {});
  pipeline.setTransformArguments(transformId, transformArguments);
  return pipeline.commit().then(() => {
    return pipeline.execute(null, {});
  }).catch(() => {
    throw new Error('Alias cannot be set');
  });
};

/**
 * Updates cached external metadata with alias
 *
 * @param {Entry} pipelineResultsEntry
 * @param {string} alias
 * @returns {object}
 */
const updateAlias = async (pipelineResultsEntry, alias) => {
  const context = pipelineResultsEntry.getContext();
  const resultResourceURI = pipelineResultsEntry.getResourceURI();
  // update rowstore
  await setAlias(context, resultResourceURI, alias);

  // udpate cached external metadata
  const extMetadata = pipelineResultsEntry.getCachedExternalMetadata();
  extMetadata.findAndRemove(resultResourceURI, 'store:aliasName');
  if (alias) {
    extMetadata.addL(resultResourceURI, 'store:aliasName', alias);
  }
  const updatedEntry = await pipelineResultsEntry.commitCachedExternalMetadata();
  return getApiInformation(updatedEntry);
};

/**
 *
 * @param {Entry} pipelineEntry
 * @returns {string}
 */
const oldStatus = pipelineEntry => pipelineEntry.getCachedExternalMetadata().findFirstValue(pipelineEntry.getResourceURI(), 'store:pipelineResultStatus');

/**
 * Transform the RowStore status value to string
 *
 * @see id2status
 * @param {object} data
 * @returns {string}
 */
const status = data => id2status[data.status];

/**
 * Update the cached external metadata of the entry from given data object
 *
 * @param {store/Entry} pipelineEntry
 * @param {object} data
 * @return {Promise}
 */
const update = async (pipelineEntry, data) => {
  // get a fresh copy of the entry
  await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.refreshEntry)(pipelineEntry);
  const newStatus = id2status[data.status];
  const cachedExternalMetadata = pipelineEntry.getCachedExternalMetadata();
  const resourceURI = pipelineEntry.getResourceURI();

  // update status
  cachedExternalMetadata.findAndRemove(resourceURI, 'store:pipelineResultStatus');
  cachedExternalMetadata.addL(resourceURI, 'store:pipelineResultStatus', newStatus);

  // update columns
  cachedExternalMetadata.findAndRemove(resourceURI, 'store:pipelineResultColumnName');
  data.columnnames.forEach(col => cachedExternalMetadata.addL(resourceURI, 'store:pipelineResultColumnName', col));

  // update aliases
  cachedExternalMetadata.findAndRemove(resourceURI, 'store:aliasName');
  if (data.aliases && data.aliases.length > 0) {
    cachedExternalMetadata.addL(resourceURI, 'store:aliasName', data.aliases[0]);
  }
  return pipelineEntry.commitCachedExternalMetadata();
};

/**
 * Synchronizes the API status values between what was returned from RowStore and what is
 * saved in the external metadata graph
 *
 * @param {string} pipelineEntryURI
 * @param {number} remainingRetries
 * @returns {Promise<string>}
 * @see update
 */
const syncStatus = async (pipelineEntryURI, remainingRetries) => {
  const pipelineEntry = await commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getEntry(pipelineEntryURI, {
    forceLoad: false
  });
  const data = await loadRowStoreData(pipelineEntry);
  const newStatus = status(data);
  /**
   * Currently it might happen that status is 'available' but there's a delay
   * in getting column names.
   */
  if (newStatus === 'available' && data !== null && data !== void 0 && data.columnnames.length) {
    await update(pipelineEntry, data);
  }
  // Status is 'available" but still no column names available
  if (newStatus === 'available' && remainingRetries < 1) return 'error';
  return newStatus;
};
const STATUS_CHECK_REPEATS = 50;
const STATUS_CHECK_DELAY_MILLIS = 2000;

/**
 * Recursive function that returns only when the api status is 'available' or throws error.
 * Otherwise keeps looping every certain millis
 *
 * @param {Entry} pipelineEntryURI
 * @param {function} translate
 * @param {number} repeat how many times should we re-try to find the API in an available status
 * @param {number} delayMillis how many millis to delay before trying again
 * @return {Promise<String>}
 * @throws
 */
const _checkStatusOnRepeat = async function checkStatusOnRepeat(pipelineEntryURI, translate) {
  let repeat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : STATUS_CHECK_REPEATS;
  let delayMillis = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : STATUS_CHECK_DELAY_MILLIS;
  const newStatus = await syncStatus(pipelineEntryURI, repeat);
  switch (newStatus) {
    case 'available':
      return '';
    case 'error':
      throw Error(translate('apiProgressError'));
    // reject();
    default:
      // retry checking the API after 'delayMillis'
      if (repeat > 0) {
        await _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.promiseUtil.delay(delayMillis);
        return _checkStatusOnRepeat(pipelineEntryURI, translate, repeat - 1);
      }
      return translate('apiProgressWarning');
  }
};


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/csv.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/csv.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CSV_VALID_FORMATS: () => (/* binding */ CSV_VALID_FORMATS)
/* harmony export */ });
const CSV_VALID_FORMATS = ['text/csv', 'http://publications.europa.eu/resource/authority/file-type/CSV'];

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/dataServices.js"
/*!************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/dataServices.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getDataServices: () => (/* binding */ getDataServices),
/* harmony export */   updateCatalogWithDataService: () => (/* binding */ updateCatalogWithDataService)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");




/**
 *
 * @param {*} datasetEntry
 * @returns {Promise.<Entry[]>}
 */
const getDataServices = async datasetEntry => commons_store__WEBPACK_IMPORTED_MODULE_1__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.RDF_TYPE_DATASERVICE).context(datasetEntry.getContext()).uriProperty('dcat:servesDataset', datasetEntry.getResourceURI()).list().getEntries();

/**
 * Update the catalog entry with the new dataservice
 *
 * @param {Entry} dataService
 * @returns {Promise}
 */
const updateCatalogWithDataService = dataService => {
  return commons_store__WEBPACK_IMPORTED_MODULE_1__.entrystoreUtil.getEntryByType(commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.RDF_TYPE_CATALOG, dataService.getContext()).then(catalog => {
    catalog.getMetadata().add(catalog.getResourceURI(), commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.RDF_PROPERTY_DATASERVICE, dataService.getResourceURI());
    return catalog.commitMetadata().then(() => {
      dataService.setRefreshNeeded();
      dataService.refresh();
    });
  }).catch(error => {
    throw Error(`Unable to update the catalog with the new data service: ${error}`);
  });
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js"
/*!********************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/datasets.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   checkHasBrokenDistribution: () => (/* binding */ checkHasBrokenDistribution),
/* harmony export */   copyDataset: () => (/* binding */ copyDataset),
/* harmony export */   createPrototypeDatasetEntry: () => (/* binding */ createPrototypeDatasetEntry),
/* harmony export */   getBrokenReferences: () => (/* binding */ getBrokenReferences),
/* harmony export */   removeBrokenReferences: () => (/* binding */ removeBrokenReferences),
/* harmony export */   updateCatalogWithDataset: () => (/* binding */ updateCatalogWithDataset)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/esnext.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js");
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_publish__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/publish */ "./modules/catalog/datasets/DatasetOverview/utils/publish.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _distributions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
















/**
 * Create a dataset prototype entry
 *
 * @param {Context} context
 * @param {string} rdfType
 * @returns {Entry}
 */
const createPrototypeDatasetEntry = async (context, rdfType) => {
  const datasetPrototype = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.createEntry)(context, rdfType);
  const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.getGroupWithHomeContext)(datasetPrototype.getContext());
  // Make the dataset entry private
  await (0,catalog_datasets_DatasetOverview_utils_publish__WEBPACK_IMPORTED_MODULE_8__.unpublishDataset)(datasetPrototype, groupEntry, true);
  const metadata = datasetPrototype.getMetadata();
  metadata.add(datasetPrototype.getResourceURI(), 'rdf:type', rdfType, true);
  return datasetPrototype;
};

/**
 * Removes a dataset's broken distribution references
 *
 * @param {Entry} datasetEntry
 * @param {string[]} distributionResourceURIs
 * @returns {Promise}
 */
const removeBrokenReferences = async (datasetEntry, distributionResourceURIs) => {
  const datasetMetadata = datasetEntry.getMetadata();
  distributionResourceURIs.forEach(distributionResourceURI => {
    datasetMetadata.findAndRemove(datasetEntry.getResourceURI(), 'dcat:distribution', {
      type: 'uri',
      value: distributionResourceURI
    });
  });
  return datasetEntry.commitMetadata();
};

/**
 * Extract broken references to distributions by checking if the entries exist.
 *
 * @param {Entry} datasetEntry
 * @returns {Promise<string[]>}
 */
const getBrokenReferences = async datasetEntry => {
  const datasetMetadata = datasetEntry.getMetadata();
  const datasetResourceURI = datasetEntry.getResourceURI();
  const distributionStatements = datasetMetadata.find(datasetResourceURI, 'dcat:distribution');

  // load entries by resource uri instead because we can't guarantee that distributions are local
  const resourceURIsNotFound = [];
  for (const distributionStatement of distributionStatements) {
    const distributionResourceURI = distributionStatement.getValue();

    // Dont' show error dialog if failing to get entry.
    try {
      await commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystoreUtil.getEntryByResourceURI(distributionResourceURI, datasetEntry.getContext());
    } catch (error) {
      const {
        message
      } = error;
      // Workaround to extract the proper error for when an entry is not found.
      // The references should only be removed if the entries don't exist.
      if (message.toLowerCase().includes('resources could not be found')) {
        resourceURIsNotFound.push(distributionResourceURI);
      }
    }
  }
  return resourceURIsNotFound;
};

/**
 * Update the catalog entry with the new dataset
 *
 * @param {Entry} datasetEntry
 * @returns {Promise}
 */
const updateCatalogWithDataset = datasetEntry => {
  return (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_12__.getParentCatalogEntry)(datasetEntry).then(catalog => {
    catalog.getMetadata().add(catalog.getResourceURI(), commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_DATASET, datasetEntry.getResourceURI());
    return catalog.commitMetadata().then(() => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.refreshEntry)(datasetEntry));
  }).catch(error => {
    throw Error(`Unable to update the catalog with the new dataset: ${error}`);
  });
};

/**
 *
 * @param {Group} template
 * @returns {string[]}
 */
const getAutoGenProperties = template => {
  if (!template) return [];
  return template.getChildren().filter(item => item.hasStyle('autoUUID') || item.hasStyle('autoInitDate') || item.hasStyle('autoUpdateDate') || item.hasStyle('autoValue')).map(item => item.getProperty());
};

/**
 * @param {Entry} originalDatasetEntry
 * @param {string} copyTitlePrefix
 * @param {Entry[]} distributionsToCopy
 * @param {Group} template
 * @returns {Promise}
 */
const copyDataset = async function copyDataset(originalDatasetEntry) {
  let copyTitlePrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  let distributionsToCopy = arguments.length > 2 ? arguments[2] : undefined;
  let template = arguments.length > 3 ? arguments[3] : undefined;
  // create new dataset entry
  const newDatasetEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.createEntry)(originalDatasetEntry.getContext(), 'dcat:Dataset');
  const originalPrimaryEntityType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_13__["default"].primary(originalDatasetEntry);
  const originalEntityType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_13__["default"].inUse(originalDatasetEntry);

  // adjust entry info
  const newEntryInfo = newDatasetEntry.getEntryInfo();
  newEntryInfo.setStatus(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_DRAFT_STATUS));
  if (originalEntityType.getId() !== originalPrimaryEntityType.getId()) {
    const newEntryInfoGraph = newEntryInfo.getGraph();
    newEntryInfoGraph.add(newEntryInfo.getMetadataURI(), 'esterms:entityType', originalEntityType.getId());
  }

  // set access control
  const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.getGroupWithHomeContext)(newDatasetEntry.getContext());
  const accessControl = newEntryInfo.getACL(true);
  accessControl.admin.push(groupEntry.getId());
  newEntryInfo.setACL(accessControl);
  const excludeProperties = [commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_DISTRIBUTION, commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_VISUALIZATION, ...getAutoGenProperties(template)]; // remove distributions, visualizations and auto-generated metadata

  const newDatasetMetadata = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_12__.copyMetadata)(originalDatasetEntry, newDatasetEntry.getResourceURI(), copyTitlePrefix, excludeProperties);
  newDatasetEntry.setMetadata(newDatasetMetadata);
  const datasetEntry = await newDatasetEntry.commit();
  await (0,_distributions__WEBPACK_IMPORTED_MODULE_14__.copyDistributions)(datasetEntry, distributionsToCopy);
  return updateCatalogWithDataset(datasetEntry);
};

/**
 * Checks whether any of the dataset's distributions contain a broken file entry
 *
 * @param {Entry} datasetEntry
 * @returns {Promise<boolean>}
 */
const checkHasBrokenDistribution = async datasetEntry => {
  const distributions = await (0,_distributions__WEBPACK_IMPORTED_MODULE_14__.getDistributions)(datasetEntry);
  const getFileInfoPromises = distributions.map(distributionEntry => (0,_distributions__WEBPACK_IMPORTED_MODULE_14__.getDistributionFilesInfo)(distributionEntry));
  const allFilesInfo = await Promise.allSettled(getFileInfoPromises).then(settledPromises => settledPromises.filter(_ref => {
    let {
      status
    } = _ref;
    return status === 'fulfilled';
  })).then(settledPromises => settledPromises.map(_ref2 => {
    let {
      value
    } = _ref2;
    return value;
  }));
  return allFilesInfo.some(distributionFilesInfo => (0,_distributions__WEBPACK_IMPORTED_MODULE_14__.checkFileNotFound)(distributionFilesInfo));
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js"
/*!*************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/distributions.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DCAT_ACCESSURL: () => (/* binding */ DCAT_ACCESSURL),
/* harmony export */   WMS_FORMAT: () => (/* binding */ WMS_FORMAT),
/* harmony export */   WMS_SRVC_FORMAT: () => (/* binding */ WMS_SRVC_FORMAT),
/* harmony export */   addFileToDistribution: () => (/* binding */ addFileToDistribution),
/* harmony export */   checkFileNotFound: () => (/* binding */ checkFileNotFound),
/* harmony export */   checkIsFileDistribution: () => (/* binding */ checkIsFileDistribution),
/* harmony export */   copyDistributions: () => (/* binding */ copyDistributions),
/* harmony export */   createDistributionEntry: () => (/* binding */ createDistributionEntry),
/* harmony export */   createEntryByLinkOrFile: () => (/* binding */ createEntryByLinkOrFile),
/* harmony export */   createFilePrototypeEntry: () => (/* binding */ createFilePrototypeEntry),
/* harmony export */   createPrototypeEntry: () => (/* binding */ createPrototypeEntry),
/* harmony export */   deactivateAPIAndRemoveDistribution: () => (/* binding */ deactivateAPIAndRemoveDistribution),
/* harmony export */   filterFileDistributionEntries: () => (/* binding */ filterFileDistributionEntries),
/* harmony export */   filterVisualizationsByDistribution: () => (/* binding */ filterVisualizationsByDistribution),
/* harmony export */   getAPIDistributionSourceURIs: () => (/* binding */ getAPIDistributionSourceURIs),
/* harmony export */   getCsvFileEntries: () => (/* binding */ getCsvFileEntries),
/* harmony export */   getDistributionFileEntries: () => (/* binding */ getDistributionFileEntries),
/* harmony export */   getDistributionFileRURIs: () => (/* binding */ getDistributionFileRURIs),
/* harmony export */   getDistributionFilesInfo: () => (/* binding */ getDistributionFilesInfo),
/* harmony export */   getDistributionFormat: () => (/* binding */ getDistributionFormat),
/* harmony export */   getDistributionTitle: () => (/* binding */ getDistributionTitle),
/* harmony export */   getDistributions: () => (/* binding */ getDistributions),
/* harmony export */   getFileEntries: () => (/* binding */ getFileEntries),
/* harmony export */   getFileEntryURI: () => (/* binding */ getFileEntryURI),
/* harmony export */   getFileResourceURIs: () => (/* binding */ getFileResourceURIs),
/* harmony export */   getFormat: () => (/* binding */ getFormat),
/* harmony export */   getPipelineResultsEntry: () => (/* binding */ getPipelineResultsEntry),
/* harmony export */   getRelatedWMSVisualizations: () => (/* binding */ getRelatedWMSVisualizations),
/* harmony export */   getSourceDistribution: () => (/* binding */ getSourceDistribution),
/* harmony export */   getVisualizationEntriesForDistribution: () => (/* binding */ getVisualizationEntriesForDistribution),
/* harmony export */   isAPIDistribution: () => (/* binding */ isAPIDistribution),
/* harmony export */   isAccessDistribution: () => (/* binding */ isAccessDistribution),
/* harmony export */   isDistributionUploaded: () => (/* binding */ isDistributionUploaded),
/* harmony export */   isFileDistributionWithAPI: () => (/* binding */ isFileDistributionWithAPI),
/* harmony export */   isFileDistributionWithoutAPI: () => (/* binding */ isFileDistributionWithoutAPI),
/* harmony export */   isWMSDistribution: () => (/* binding */ isWMSDistribution),
/* harmony export */   removeDistribution: () => (/* binding */ removeDistribution),
/* harmony export */   removeFile: () => (/* binding */ removeFile),
/* harmony export */   removeWMSDistributionAndVisualization: () => (/* binding */ removeWMSDistributionAndVisualization),
/* harmony export */   replaceFile: () => (/* binding */ replaceFile)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/esnext.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js");
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/common/FileUpload */ "./modules/commons/components/common/FileUpload/index.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _visualizations__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var _csv__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./csv */ "./modules/catalog/datasets/DatasetOverview/utils/csv.js");



























const DCAT_ACCESSURL = 'dcat:accessURL';
const DCAT_DOWNLOAD_URL = 'dcat:downloadURL';
const WMS_FORMAT = 'application/vnd.ogc.wms_xml';
const WMS_SRVC_FORMAT = 'http://publications.europa.eu/resource/authority/file-type/WMS_SRVC';

/**
 *
 * @param {Entry} distributionEntry
 * @returns {boolean}
 */
const isDistributionUploaded = distributionEntry => {
  const downloadURI = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_21__.getDownloadURI)(distributionEntry);
  if (!downloadURI) return false;
  const baseURI = commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystore.getBaseURI();
  const isInContext = distributionEntry.getContext().getId() === commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystore.getContextId(downloadURI);
  return Boolean((downloadURI === null || downloadURI === void 0 ? void 0 : downloadURI.includes(baseURI)) && isInContext);
};
const checkIsFileDistribution = isDistributionUploaded;

/**
 *
 * @param {object} filesInfo - files info for a single distribution
 * @returns {boolean}
 */
const checkFileNotFound = function checkFileNotFound() {
  let filesInfo = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return filesInfo.some(fileInfo => {
    const {
      resourceURI,
      sizeOfFile
    } = fileInfo;
    return !resourceURI || !sizeOfFile;
  });
};

/**
 * Get the file format of a distribution Entry
 *
 * @param {Entry} distributionEntry
 * @returns {string|undefined}
 */
const getDistributionFormat = distributionEntry => {
  const metadata = distributionEntry.getMetadata();
  const resourceURI = distributionEntry.getResourceURI();
  const {
    formatTemplateId,
    formatProp
  } = config__WEBPACK_IMPORTED_MODULE_19__["default"].get('catalog');
  const formatTemplate = formatTemplateId && commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_15__.itemStore.getItem(formatTemplateId);

  // Check for template driven format
  if (formatTemplate) {
    return _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_18__.utils.findFirstValue(_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_18__.engine, metadata, resourceURI, formatTemplate);
  }

  // Alternatively check for pure value via array of properties
  if (formatProp) {
    const formatProps = typeof formatProp === 'string' ? [formatProp] : formatProp;
    return formatProps.find(prop => metadata.findFirstValue(resourceURI, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_14__.namespaces.expand(prop)));
  }
  return undefined;
};

/**
 * Gets a title from an entry with nls defaults in case there isn't one
 *
 * @param {Entry} entry
 * @param {Function} translate
 * @param {string} language
 * @returns {string}
 */
const getDistributionTitle = (entry, translate, language) => {
  const title = language && (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_22__.getLabelMap)(entry)[language] || (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_21__.getTitle)(entry);
  if (title) {
    return (0,commons_util_util__WEBPACK_IMPORTED_MODULE_23__.truncate)(title);
  }
  const resourceURI = entry.getResourceURI();
  const metadata = entry.getMetadata();
  const source = metadata.findFirstValue(resourceURI, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_14__.namespaces.expand('dcterms:source'));
  if (isDistributionUploaded(entry)) {
    return translate('defaultDownloadTitle');
  }
  if (source) {
    return translate('autoGeneratedAPI');
  }
  return translate('defaultAccessTitle');
};

/**
 *
 * @param {Entry} distributionEntry
 * @returns {string}
 */
const getFileEntryURI = distributionEntry => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, 'dcterms:source');

/**
 *
 * @param {Entry} distributionEntry
 * @returns {string}
 */
const getFormat = distributionEntry => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, 'dcterms:format');

/**
 *
 * @param {Entry} datasetEntry
 * @returns {Promise}
 */
const getDistributions = datasetEntry => {
  const statements = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.findResourceStatements)(datasetEntry, 'dcat:distribution');
  const distributionURIs = statements.map(statement => statement.getValue());
  return commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystoreUtil.loadEntriesByResourceURIs(distributionURIs, datasetEntry.getContext());
};

/**
 * Get files uri from the distribution entry graph. The connector property is 'dcat:downloadURL'
 *
 * @param {Entry} distributionEntry
 * @returns {string[]}
 */
const getDistributionFileRURIs = distributionEntry => {
  const fileStatements = distributionEntry.getMetadata().find(distributionEntry.getResourceURI(), DCAT_DOWNLOAD_URL);
  return fileStatements.map(statement => statement.getValue());
};

/**
 * Get the file
 *
 * @param {Entry} distributionEntry
 * @returns {Promise<Array<{sizeOfFile: number, format: string, resourceURI: string}> | never>}
 */
const getDistributionFileEntries = async distributionEntry => {
  /**
   * Get all the URIs of the files for this distribution
   *
   * @type {string[]}
   */
  const fileURIs = getDistributionFileRURIs(distributionEntry);

  /**
   * Get the entries of all the fileURIs
   *
   * @type {Promise[]}
   */

  return commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystoreUtil.loadEntriesByResourceURIs(fileURIs);
};

/**
 *
 * @param {Entry} prototypeEntry
 * @param {Entry} datasetEntry
 * @param {Graph} graph
 * @returns {Promise}
 */
const createDistributionEntry = async (prototypeEntry, datasetEntry, graph) => {
  const acl = datasetEntry.getEntryInfo().getACL();
  prototypeEntry.getEntryInfo().setACL(acl);
  if (graph) {
    prototypeEntry.setMetadata(graph);
  }
  const distributionEntry = await prototypeEntry.commit();
  datasetEntry.setRefreshNeeded();
  await datasetEntry.refresh();
  datasetEntry.getMetadata().add(datasetEntry.getResourceURI(), commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.RDF_PROPERTY_DISTRIBUTION, distributionEntry.getResourceURI());
  await datasetEntry.commitMetadata();
  distributionEntry.setRefreshNeeded();
  await distributionEntry.refresh();
};

/**
 *
 * @param {Entry} prototypeEntry
 * @param {Entry} datasetEntry
 * @param {Graph} graph
 * @param {string} accessURI
 * @returns {Promise}
 */
const createEntryByLink = (prototypeEntry, datasetEntry, graph, accessURI) => {
  const resourceURI = prototypeEntry.getResourceURI();
  graph.add(resourceURI, DCAT_ACCESSURL, accessURI);
  return createDistributionEntry(prototypeEntry, datasetEntry, graph);
};

/**
 *
 * @param {object} context
 * @param {Entry} entryToCopy
 * @param {string} copyTitlePrefix
 * @returns {Entry}
 */
const createPrototypeEntry = function createPrototypeEntry(context) {
  let entryToCopy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  let copyTitlePrefix = arguments.length > 2 ? arguments[2] : undefined;
  const prototypeEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_17__.createEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.RDF_TYPE_DISTRIBUTION);
  if (entryToCopy) {
    const newResourceURI = prototypeEntry.getResourceURI();
    const newMetadata = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_21__.copyMetadata)(entryToCopy, newResourceURI, copyTitlePrefix, [DCAT_ACCESSURL, DCAT_DOWNLOAD_URL]);
    prototypeEntry.setMetadata(newMetadata);
    return prototypeEntry;
  }
  prototypeEntry.getMetadata().add(prototypeEntry.getResourceURI(), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_14__.namespaces.expand('rdf:type'), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_14__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.RDF_TYPE_DISTRIBUTION));
  return prototypeEntry;
};

/**
 * Fixes browsers' issue when a  default application has not been assigned to a mime type.
 * We care fixing this only for csv as it is vital to creating APIs
 *
 * @param {string} fileName
 * @returns {string|undefined}
 */
const getMimeType = fileName => {
  const isCSV = fileName.toLowerCase().endsWith('.csv');
  if (isCSV) return 'text/csv';
  return undefined;
};

/**
 *
 * @param {object} context
 * @returns {Entry}
 */
const createFilePrototypeEntry = context => {
  const filePrototypeEntry = context.newEntry();
  const metadata = filePrototypeEntry.getMetadata();
  const resourceURI = filePrototypeEntry.getResourceURI();
  metadata.add(resourceURI, 'rdf:type', 'esterms:File');
  return filePrototypeEntry;
};

/**
 *
 * @param {Entry} prototypeEntry
 * @param {Element} fileName
 * @param {string} mimeType
 * @param {Graph} graph
 * @returns {Promise}
 */
const createFileEntry = (prototypeEntry, fileName, mimeType, graph) => {
  const resourceURI = prototypeEntry.getResourceURI();
  const metadata = graph || prototypeEntry.getMetadata();
  const title = graph && graph.findFirstValue(null, 'dcterms:title');
  if (!title) {
    metadata.addL(resourceURI, 'dcterms:title', fileName);
  }
  if (mimeType) {
    metadata.addL(resourceURI, 'dcterms:format', mimeType);
  }
  return prototypeEntry.setMetadata(metadata).commit();
};

/**
 * Update fileEntry and put file
 *
 * @param {Entry} fileEntry
 * @param {Element} file
 * @returns {Promise}
 */
const updateFileEntry = (fileEntry, file) => {
  const fileName = (0,commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_20__.getFileNameFromInput)(file);
  const mimeType = getMimeType(fileName);
  const fileEntryResourceURI = fileEntry.getResourceURI();
  const fileEntryMetadata = fileEntry.getMetadata();
  fileEntryMetadata.findAndRemove(fileEntryResourceURI, 'dcterms:title');
  fileEntryMetadata.addL(fileEntryResourceURI, 'dcterms:title', fileName);
  if (mimeType) {
    fileEntryMetadata.findAndRemove(fileEntryResourceURI, 'dcterms:format');
    fileEntryMetadata.addL(fileEntryResourceURI, 'dcterms:format', mimeType);
  }
  return fileEntry.commitMetadata().then(async entry => {
    await entry.getResource(true).putFile(file);
    entry.setRefreshNeeded();
    entry.refresh();
  });
};

/**
 * Update fileEntry and distributionEntry when replacing a file
 *
 * @param {Entry} fileEntry
 * @param {Entry} distributionEntry
 * @param {Element} file
 * @returns {Promise}
 */
const replaceFile = async (fileEntry, distributionEntry, file) => {
  await updateFileEntry(fileEntry, file);
  const distributionMetadata = distributionEntry.getMetadata();
  const distributionResourceURI = distributionEntry.getResourceURI();
  distributionMetadata.findAndRemove(distributionResourceURI, 'dcterms:modified');
  distributionMetadata.addD(distributionResourceURI, 'dcterms:modified', new Date().toISOString(), 'xsd:date');
  return distributionEntry.commitMetadata().then(entry => {
    entry.setRefreshNeeded();
    entry.refresh();
  });
};

/**
 *
 * @param {Entry} fileEntry
 * @param {Entry} distributionEntry
 * @returns {Promise}
 */
const removeFile = async (fileEntry, distributionEntry) => {
  const distributionResourceURI = distributionEntry.getResourceURI();
  const fileResourceURI = fileEntry.getResourceURI();
  const distributionMetadata = distributionEntry.getMetadata();
  distributionMetadata.findAndRemove(distributionResourceURI, DCAT_ACCESSURL, fileResourceURI);
  distributionMetadata.findAndRemove(distributionResourceURI, DCAT_DOWNLOAD_URL, fileResourceURI);
  distributionMetadata.findAndRemove(distributionResourceURI, 'dcterms:modified');
  distributionMetadata.addD(distributionResourceURI, 'dcterms:modified', new Date().toISOString(), 'xsd:date');
  return distributionEntry.commitMetadata().then(entry => {
    fileEntry.del();
    entry.setRefreshNeeded();
    entry.refresh();
  });
};

/**
 *
 * @param {Entry} distributionEntry prototypeDistributionEntry
 * @param {Entry} fileEntry
 * @param {string} mimeType
 * @param {Graph} graph
 * @returns {Promise}
 */

const updateDistributionEntryWithFile = (distributionEntry, fileEntry, mimeType, distributionGraph) => {
  const distributionResourceURI = distributionEntry.getResourceURI();
  const fileResourceURI = fileEntry.getResourceURI();
  const distributionMetadata = distributionGraph || distributionEntry.getMetadata();
  distributionMetadata.add(distributionResourceURI, DCAT_ACCESSURL, fileResourceURI);
  distributionMetadata.add(distributionResourceURI, DCAT_DOWNLOAD_URL, fileResourceURI);
  const format = fileEntry.getEntryInfo().getFormat();
  const manualFormatList = distributionMetadata.find(distributionResourceURI, 'dcterms:format');
  if (format && !manualFormatList.length) {
    distributionMetadata.addL(distributionResourceURI, 'dcterms:format', mimeType || format);
  }
  // If distribution entry already exists
  if (!distributionGraph) {
    distributionMetadata.findAndRemove(distributionResourceURI, 'dcterms:modified');
    distributionMetadata.addD(distributionResourceURI, 'dcterms:modified', new Date().toISOString(), 'xsd:date');
    return distributionEntry.commitMetadata().then(entry => {
      entry.setRefreshNeeded();
      entry.refresh();
    });
  }
};

/**
 *
 * @param {Entry} distributionEntry
 * @param {Entry} filePrototypeEntry
 * @param {Element} file
 * @param {Graph} graph
 * @returns {Promise}
 */
const addFileToDistribution = async (distributionEntry, filePrototypeEntry, file, graph) => {
  const fileName = (0,commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_20__.getFileNameFromInput)(file);
  const mimeType = getMimeType(fileName);
  const acl = distributionEntry.getEntryInfo().getACL();
  filePrototypeEntry.getEntryInfo().setACL(acl);
  const fileEntry = await createFileEntry(filePrototypeEntry, fileName, mimeType, graph);
  // Push file to server
  await fileEntry.getResource(true).putFile(file);
  await fileEntry.refresh();
  await updateDistributionEntryWithFile(distributionEntry, fileEntry, mimeType);
};
/**
 *
 * @param {Entry} prototypeEntry
 * @param {Entry} datasetEntry
 * @param {Graph} graph
 * @param {Element} file
 * @param {object} context
 * @returns {Promise}
 */
const createEntryByFile = async (prototypeEntry, datasetEntry, graph, file, context) => {
  const fileName = (0,commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_20__.getFileNameFromInput)(file);
  const mimeType = getMimeType(fileName);
  const filePrototypeEntry = createFilePrototypeEntry(context);
  const acl = datasetEntry.getEntryInfo().getACL();
  filePrototypeEntry.getEntryInfo().setACL(acl);

  // create fileEntry and put file
  const fileEntry = await createFileEntry(filePrototypeEntry, fileName, mimeType);
  await fileEntry.getResource(true).putFile(file);
  await fileEntry.refresh();

  // update prototypeEntry and graph with fileEntry
  await updateDistributionEntryWithFile(prototypeEntry, fileEntry, mimeType, graph);
  return createDistributionEntry(prototypeEntry, datasetEntry, graph);
};

/**
 *
 * @param {Entry} prototypeEntry
 * @param {Entry} datasetEntry
 * @param {Graph} graph
 * @param {object} fileOrLink
 * @param {object} context
 * @returns {Promise}
 */
const createEntryByLinkOrFile = (prototypeEntry, datasetEntry, graph, fileOrLink, context) => {
  if (fileOrLink.isLink) {
    return createEntryByLink(prototypeEntry, datasetEntry, graph, fileOrLink.link);
  }
  return createEntryByFile(prototypeEntry, datasetEntry, graph, fileOrLink.file, context);
};
const filterFileDistributionEntries = (distributionEntries, formats) => {
  return distributionEntries.filter(distributionEntry => {
    const distributionResourceURI = distributionEntry.getResourceURI();
    const format = distributionEntry.getMetadata().findFirstValue(distributionResourceURI, 'dcterms:format');
    return formats.includes(format);
  });
};

/**
 * Get files uri from the distribution entry graph. The connector property is 'dcat:downloadURL'
 *
 * @param {Entry} distributionEntry
 * @returns {string[]}
 */
const getFileResourceURIs = distributionEntry => {
  const fileStatements = distributionEntry.getMetadata().find(distributionEntry.getResourceURI(), DCAT_DOWNLOAD_URL);
  return fileStatements.map(statement => statement.getValue());
};
const getFileEntries = distributionEntry => {
  const fileResourceURIs = getFileResourceURIs(distributionEntry);
  return commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystoreUtil.loadEntriesByResourceURIs(fileResourceURIs, distributionEntry.getContext());
};
const filterFullfilled = settledPromises => settledPromises.filter(_ref => {
  let {
    status
  } = _ref;
  return status === 'fulfilled';
});
const mapToValues = settledPromises => settledPromises.map(_ref2 => {
  let {
    value
  } = _ref2;
  return value;
});
const getCsvFileEntries = async datasetEntry => {
  const distributionEntries = await getDistributions(datasetEntry);
  const csvDistributionEntries = filterFileDistributionEntries(distributionEntries, _csv__WEBPACK_IMPORTED_MODULE_26__.CSV_VALID_FORMATS);
  const fileEntriesPromises = csvDistributionEntries.map(uploadedDistributionEntry => getFileEntries(uploadedDistributionEntry));

  // ignore the rejected promises, happens when cannot load a dist/file entry
  return Promise.allSettled(fileEntriesPromises).then(filterFullfilled).then(mapToValues).then(csvFileEntries => csvFileEntries.flat());
};

/**
 * Finds visualizations that use a file resource belonging to a dataset.
 * 1) Gets all visualizations entries belonging to the dataset
 * 2) Gets all file resource URIs belonging to the distribution
 * 3) Filters visualization entries that belong to the distribution
 *
 * @param {Entry} datasetEntry
 * @param {Entry} distributionEntry
 * @returns {Promise.<Entry[]>}
 */
const getVisualizationEntriesForDistribution = async (datasetEntry, distributionEntry) => {
  // This might get non uploaded CSV files but is safe. Visualization entries
  // shouldn't have been linked to them in the fist place, and even if they
  // were, the user still needs to be notified
  const distributionFileRURIs = distributionEntry.getMetadata().find(distributionEntry.getResourceURI(), DCAT_DOWNLOAD_URL).map(statement => statement.getValue());
  return (0,_visualizations__WEBPACK_IMPORTED_MODULE_25__.getVisualizations)(datasetEntry).then(visualizations => visualizations.filter(visualization => {
    const fileRURI = visualization.getMetadata().findFirstValue(visualization.getResourceURI(), 'dcterms:source');
    return distributionFileRURIs.includes(fileRURI);
  }));
};
/**
 * Removes a distribution, the WMS visualizations associated with it and the
 * relations between them and the dataset.
 *
 * @param {Entry} distributionEntry
 * @param {Entry} datasetEntry
 * @param {Entry[]} relatedWMSVisualizationEntries
 * @returns {Promise}
 */

const removeWMSDistributionAndVisualization = async function removeWMSDistributionAndVisualization(distributionEntry, datasetEntry) {
  let relatedWMSVisualizationEntries = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  const relatedWMSVisualizationEntriesRURIs = relatedWMSVisualizationEntries.map(visualizationEntry => visualizationEntry.getResourceURI());
  const distributionResourceURI = distributionEntry.getResourceURI();
  await distributionEntry.del();
  const datasetMetadata = datasetEntry.getMetadata();
  relatedWMSVisualizationEntriesRURIs.forEach(visualizationResourceURI => {
    datasetMetadata.findAndRemove(null, 'schema:diagram', visualizationResourceURI);
  });
  datasetMetadata.findAndRemove(null, 'dcat:distribution', {
    value: distributionResourceURI,
    type: 'uri'
  });
  await datasetEntry.commitMetadata();
  return Promise.all(relatedWMSVisualizationEntries.map(visualization => visualization.del()));
};
/**
 * Removes a distribution, the visualizations associated with it and the
 * relations between them and the dataset.
 *
 * @param {Entry} distributionEntry
 * @param {Entry} datasetEntry
 * @returns {Promise}
 */
const removeDistribution = async (distributionEntry, datasetEntry) => {
  const relatedVisualizationEntries = await getVisualizationEntriesForDistribution(datasetEntry, distributionEntry);
  const relatedVisualizationEntriesRURIs = relatedVisualizationEntries.map(visualizationEntry => visualizationEntry.getResourceURI());
  await distributionEntry.del();
  const datasetMetadata = datasetEntry.getMetadata();
  relatedVisualizationEntriesRURIs.forEach(visualizationResourceURI => {
    datasetMetadata.findAndRemove(null, 'schema:diagram', visualizationResourceURI);
  });
  const distributionResourceURI = distributionEntry.getResourceURI();
  datasetMetadata.findAndRemove(null, 'dcat:distribution', {
    value: distributionResourceURI,
    type: 'uri'
  });
  await datasetEntry.commitMetadata();
  getDistributionFileEntries(distributionEntry).then(fileEntries => fileEntries.map(fileEntry => fileEntry.del()));
  return Promise.all(relatedVisualizationEntries.map(visualization => visualization.del()));
};

/**
 * Retrieves a distribution's pipeline results entry that corresponds to an API.
 *
 * @param {Entry} distributionEntry
 * @returns {Promise}
 */
const getPipelineResultsEntry = distributionEntry => {
  const pipelineResultsResourceURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, DCAT_ACCESSURL);
  return commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystoreUtil.getEntryByResourceURI(pipelineResultsResourceURI);
};

/**
 * Deletes an API distribution, its relation to a dataset, the corresponding
 * API and pipelineResultEntry.
 *
 * @param {Entry} distributionEntry
 * @param {Entry} datasetEntry
 * @returns {Promise}
 */
const deactivateAPIAndRemoveDistribution = (distributionEntry, datasetEntry) => {
  const resourceURI = distributionEntry.getResourceURI();
  const contextId = distributionEntry.getContext().getId();
  return distributionEntry.del().then(() => {
    datasetEntry.getMetadata().findAndRemove(null, 'dcat:distribution', {
      value: resourceURI,
      type: 'uri'
    });
    return datasetEntry.commitMetadata().then(() => {
      getPipelineResultsEntry(distributionEntry).then(pipelineResultsEntry => {
        const uri = `${commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystore.getBaseURI() + contextId}/resource/${pipelineResultsEntry.getId()}`;
        return commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystore.getREST().del(`${uri}?proxy=true`).then(() => pipelineResultsEntry.del());
      });
    });
  });
};

/**
 *
 * @param {string} url
 * @returns {boolean}
 */
const isWMSURL = url => {
  if (!url) return false;
  const urlSearchParams = new URLSearchParams(new URL(url.toLowerCase()).search);
  return urlSearchParams.get('service') === 'wms';
};

/**
 * @param {Entry} distributionEntry
 * @returns {boolean}
 */
const isWMSDistribution = distributionEntry => {
  const {
    format,
    accessURL
  } = distributionEntry.projection({
    format: 'dcterms:format',
    accessURL: DCAT_ACCESSURL
  });
  return [WMS_FORMAT, WMS_SRVC_FORMAT].includes(format) || isWMSURL(accessURL);
};

/**
 * Checks whether a distribution is an API one.
 *
 * @param {Entry} distributionEntry
 * @returns {boolean}
 */
const isAPIDistribution = distributionEntry => {
  const sourceURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, 'dcterms:source');
  const accessURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, DCAT_ACCESSURL);
  return Boolean(accessURI && sourceURI);
};

/**
 * Check whether a distribution is an access one.
 *
 * @param {Entry} distributionEntry
 * @returns {boolean}
 */
const isAccessDistribution = distributionEntry => {
  const accessURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, DCAT_ACCESSURL);
  const downloadURI = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, DCAT_DOWNLOAD_URL);
  const baseURI = commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystore.getBaseURI();
  return accessURI !== downloadURI || downloadURI.indexOf(baseURI) !== 0;
};

/**
 * Checks whether a file distribution has related API distributions.
 * API distributions have a "source" field that points to the file used to
 * generate the API.
 * Apparently used a different way to check in the past, not sure if still needed.
 *
 * @param {Entry} distributionEntry
 * @param {string[]} apiResourceURIs
 * @returns {boolean}
 */
const isFileDistributionWithoutAPI = function isFileDistributionWithoutAPI(distributionEntry) {
  let apiResourceURIs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  const distributionResourceURI = distributionEntry.getResourceURI();
  // Old code to check API activated or not
  const fileStatements = distributionEntry.getMetadata().find(distributionResourceURI, DCAT_DOWNLOAD_URL);
  const baseURI = commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystore.getBaseURI();
  const old = fileStatements.every(fileStatement => {
    const fileResourceURI = fileStatement.getValue();
    return fileResourceURI.includes(baseURI) && apiResourceURIs.includes(fileResourceURI);
  });
  if (!old) {
    // New code apiDistribution have dct:source to parentFileDistribution
    return !apiResourceURIs.includes(distributionResourceURI);
  }
  return !old;
};

/**
 * Checks whether a file distribution has an associated API.
 *
 * @param {Entry} distributionEntry
 * @param {string[]} apiResourceURIs
 * @returns {boolean}
 */
const isFileDistributionWithAPI = function isFileDistributionWithAPI(distributionEntry) {
  let apiResourceURIs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  const baseURI = commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystore.getBaseURI();
  const distributionResourceURI = distributionEntry.getResourceURI();
  return distributionResourceURI.includes(baseURI) && apiResourceURIs.includes(distributionResourceURI);
};

/**
 * Checks all distributions corresponding to the dataset to return an array of
 * source URIs. These source URIs belong to API distributions and point to the
 * file used to generate them.
 *
 * @param {Entry} datasetEntry
 * @returns {string[]}
 */
const getAPIDistributionSourceURIs = async datasetEntry => {
  const apiDistributionSourceURIs = [];
  const distributionStatements = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.findResourceStatements)(datasetEntry, 'dcat:distribution');
  const distributionResourceURIs = distributionStatements.map(statement => statement.getValue());
  await Promise.all(distributionResourceURIs.map(resourceURI => commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystoreUtil.getEntryByResourceURI(resourceURI, datasetEntry.getContext()).then(distributionEntry => {
    const source = distributionEntry.getMetadata().findFirstValue(distributionEntry.getResourceURI(), 'dcterms:source');
    if (source) {
      apiDistributionSourceURIs.push(source);
    }
  })));
  return apiDistributionSourceURIs;
};
/**
 * Finds visualisation entries containing the wms distribution accessURL
 *
 * @param {Entry[]} visualizations
 * @param {Entry} distributionEntry
 * @returns {Entry[]}
 */

const getRelatedWMSVisualizations = (visualizations, distributionEntry) => {
  if (!(visualizations !== null && visualizations !== void 0 && visualizations.length)) return;
  const distributionResourceURI = distributionEntry.getResourceURI();
  const distributionAccessURL = distributionEntry.getMetadata().findFirstValue(distributionResourceURI, DCAT_ACCESSURL);
  return visualizations.filter(visualizationEntry => {
    const visualizationSource = visualizationEntry.getMetadata().findFirstValue(visualizationEntry.getResourceURI(), 'dcterms:source');
    return visualizationSource === distributionAccessURL;
  });
};
/**
 * Filters visualization entries to only include ones that are related to a
 * specific distribution.
 *
 * @param {Entry[]} visualizations
 * @param {Entry} distributionEntry
 * @returns {Entry[]|undefined}
 */
const filterVisualizationsByDistribution = (visualizations, distributionEntry) => {
  if (!(visualizations !== null && visualizations !== void 0 && visualizations.length)) return;
  const distributionFileRURIs = distributionEntry.getMetadata().find(distributionEntry.getResourceURI(), DCAT_DOWNLOAD_URL).map(statement => statement.getValue());
  return visualizations.filter(visualizationEntry => {
    const fileRURI = visualizationEntry.getMetadata().findFirstValue(visualizationEntry.getResourceURI(), 'dcterms:source');
    return distributionFileRURIs.includes(fileRURI);
  });
};

/**
 * @param {Entry} distributionEntry
 * @returns {Promise<object[]>}
 */
const getDistributionFilesInfo = async distributionEntry => {
  const fileEntries = await getDistributionFileEntries(distributionEntry);
  return fileEntries.map(fileEntry => {
    const resourceURI = fileEntry.getResourceURI();
    const format = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.getResourceURI)(distributionEntry, 'dcterms:format') || fileEntry.getEntryInfo().getFormat();
    const sizeOfFile = fileEntry.getEntryInfo().getSize();
    return {
      resourceURI,
      format,
      sizeOfFile
    };
  });
};

/**
 * Finds the source distribution containing the files that generated the API distribution.
 *
 * @param {Entry} apiDistributionEntry
 * @returns {Promise}
 */
const getSourceDistribution = apiDistributionEntry => {
  const apiSourceURI = apiDistributionEntry.getMetadata().findFirstValue(apiDistributionEntry.getResourceURI(), 'dcterms:source');
  return commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystoreUtil.getEntryByResourceURI(apiSourceURI);
};

/**
 * Copies a link distribution
 *
 * @param {Entry} datasetEntry
 * @param {Entry} originalDistribution
 * @returns {Promise<Entry>}
 */
const copyLinkDistribution = (datasetEntry, originalDistribution) => {
  const newDistribution = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_17__.createEntry)(datasetEntry.getContext(), 'dcat:Distribution');
  const newMetadata = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_21__.copyMetadata)(originalDistribution, newDistribution.getResourceURI());
  newDistribution.setMetadata(newMetadata);
  return newDistribution.commit();
};

/**
 * Creates a copy of a distribution's file entry
 *
 * @param {Entry} distributionEntry
 * @param {Entry} datasetEntry
 * @returns {Promise<Entry>}
 */
const copyFileEntry = async (distributionEntry, datasetEntry) => {
  const originalFileResourceURI = distributionEntry.getMetadata().findFirstValue(distributionEntry.getResourceURI(), DCAT_DOWNLOAD_URL);
  const originalFileEntry = await commons_store__WEBPACK_IMPORTED_MODULE_16__.entrystoreUtil.getEntryByResourceURI(originalFileResourceURI);
  const context = datasetEntry.getContext();
  const filePrototypeEntry = createFilePrototypeEntry(context);
  const acl = datasetEntry.getEntryInfo().getACL();
  filePrototypeEntry.getEntryInfo().setACL(acl);
  const newFileEntryMetadata = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_21__.copyMetadata)(originalFileEntry, filePrototypeEntry.getResourceURI());
  return createFileEntry(filePrototypeEntry, undefined, undefined, newFileEntryMetadata);
};

/**
 * Copies a file distribution.
 * New file entries will have no resource, the file should eventually be replaced.
 *
 * @param {Entry} datasetEntry
 * @param {Entry} originalDistribution
 * @returns {Promise<Entry>}
 */
const copyFileDistribution = async (datasetEntry, originalDistribution) => {
  const newDistribution = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_17__.createEntry)(datasetEntry.getContext(), 'dcat:Distribution');
  const newDistResourceURI = newDistribution.getResourceURI();
  const newDistMetadata = (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_21__.copyMetadata)(originalDistribution, newDistResourceURI, '', [DCAT_ACCESSURL, DCAT_DOWNLOAD_URL]);
  const newFileEntry = await copyFileEntry(originalDistribution, datasetEntry);
  const newFileResourceURI = newFileEntry.getResourceURI();
  newDistMetadata.add(newDistResourceURI, DCAT_ACCESSURL, newFileResourceURI);
  newDistMetadata.add(newDistResourceURI, DCAT_DOWNLOAD_URL, newFileResourceURI);
  newDistribution.setMetadata(newDistMetadata);
  return newDistribution.commit();
};

/**
 *
 * @param {Entry} datasetEntry
 * @param {Entry[]} distributionsToCopy
 * @returns {Promise}
 */
const copyDistributions = async (datasetEntry, distributionsToCopy) => {
  const distributionCopyPromises = distributionsToCopy.map(async originalDistribution => checkIsFileDistribution(originalDistribution) ? copyFileDistribution(datasetEntry, originalDistribution) : copyLinkDistribution(datasetEntry, originalDistribution));
  const newDistributions = await Promise.all(distributionCopyPromises);
  newDistributions.forEach(newDistribution => datasetEntry.getMetadata().add(datasetEntry.getResourceURI(), commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.RDF_PROPERTY_DISTRIBUTION, newDistribution.getResourceURI()));
  await datasetEntry.commitMetadata();
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/pipelines.js"
/*!*********************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/pipelines.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPipelineResource: () => (/* binding */ getPipelineResource)
/* harmony export */ });
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");



/**
 *
 * @returns {Promise<store/Resource>}
 */
const getPipelineResource = context => {
  (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_0__.addIgnore)('getEntry', commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_0__.GENERIC_PROBLEM, true);
  return context.getEntryById('rowstorePipeline').catch(() => (0,commons_util_store__WEBPACK_IMPORTED_MODULE_1__.createRowstorePipeline)(context)).then(pipeline => pipeline.getResource());
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/publish.js"
/*!*******************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/publish.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getHasApiDistributions: () => (/* binding */ getHasApiDistributions),
/* harmony export */   getHasDistributions: () => (/* binding */ getHasDistributions),
/* harmony export */   publishDataset: () => (/* binding */ publishDataset),
/* harmony export */   publishDatasetInternally: () => (/* binding */ publishDatasetInternally),
/* harmony export */   unpublishDataset: () => (/* binding */ unpublishDataset),
/* harmony export */   unpublishDatasetInternally: () => (/* binding */ unpublishDatasetInternally)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");
/* harmony import */ var _distributions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");










/**
 *
 * @param {Entry} entry
 * @returns {Array}
 */
const getDistributionStatements = entry => entry.getMetadata().find(entry.getResourceURI(), 'dcat:distribution');

/**
 *
 * @param {Entry} entry
 * @returns {Promise}
 */
const getApiDistributionURIs = async entry => {
  const statements = getDistributionStatements(entry);
  const sourcePromises = statements.map(statement => {
    const resourceUri = statement.getValue();
    return commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystoreUtil.getEntryByResourceURI(resourceUri).then(distributionEntry => distributionEntry.getMetadata().findFirstValue(distributionEntry.getResourceURI(), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.expand('dcterms:source')), () => {} // fail silently
    );
  });
  const sources = await Promise.all(sourcePromises);
  const apiDistributionURIs = sources.filter(source => source);
  return apiDistributionURIs;
};

/**
 *
 * @param {acl} acl
 * @param {Entry} entry
 * @returns {Promise}
 */
const updateDistributionACL = async (acl, entry) => {
  const statements = getDistributionStatements(entry);
  if (statements) {
    return statements.map(statement => {
      const resourceURI = statement.getValue();
      return commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystoreUtil.getEntryByResourceURI(resourceURI).then(async resourceEntry => {
        if (acl) {
          const resourceEntryInfo = resourceEntry.getEntryInfo();
          resourceEntryInfo.setACL(acl);
          await resourceEntryInfo.commit();
          const fileEntries = await (0,_distributions__WEBPACK_IMPORTED_MODULE_8__.getDistributionFileEntries)(resourceEntry);
          for (const fileEntry of fileEntries) {
            const entryInfo = fileEntry.getEntryInfo();
            entryInfo.setACL(acl);
            await entryInfo.commit();
          }
        }
      });
    });
  }
  return [];
};

/**
 * Sets and commits an ACL change for a dataset entry and its distributions.
 * For prototype entries, only sets the ACL without committing.
 *
 * @param {Entry} entry
 * @param {Function} updateAcl
 * @param {boolean} isPrototype
 * @returns {Promise}
 */
const setAcl = async function setAcl(entry, updateAcl) {
  let isPrototype = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  const newAcl = await (0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_7__.setEntryAcl)(entry, updateAcl, {
    commit: !isPrototype
  });
  if (!isPrototype) {
    return updateDistributionACL(newAcl, entry);
  }
};

/**
 *
 * @param {Entry} entry
 * @returns {Promise<boolean>}
 */
const publishDatasetInternally = async entry => {
  await setAcl(entry, acl => {
    acl.rread = [...acl.rread, commons_util_userIds__WEBPACK_IMPORTED_MODULE_6__.USERS_ENTRY_ID];
    acl.mread = [...acl.mread, commons_util_userIds__WEBPACK_IMPORTED_MODULE_6__.USERS_ENTRY_ID];
    return acl;
  });
  return true;
};

/**
 *
 * @param {Entry} entry
 * @returns {Promise<boolean>}
 */
const unpublishDatasetInternally = async entry => {
  await setAcl(entry, acl => {
    acl.rread.splice(acl.rread.indexOf(commons_util_userIds__WEBPACK_IMPORTED_MODULE_6__.USERS_ENTRY_ID), 1);
    acl.mread.splice(acl.mread.indexOf(commons_util_userIds__WEBPACK_IMPORTED_MODULE_6__.USERS_ENTRY_ID), 1);
    return acl;
  });
  return false;
};

/**
 *
 * @param {Entry} entry
 * @returns {Promise<boolean>}
 */
const publishDataset = async entry => {
  await setAcl(entry, () => {
    return {};
  });
  return true;
};

/**
 * Unpublish a dataset, but skip the commit if it's a prototype entry.
 *
 * @param {Entry} entry
 * @param {Entry} groupEntry
 * @param {boolean} isPrototype
 * @returns {Promise<boolean>}
 */
const unpublishDataset = async function unpublishDataset(entry, groupEntry) {
  let isPrototype = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  await setAcl(entry, acl => {
    const adminList = acl.admin || [];
    acl.admin = [...adminList, groupEntry.getId()];
    return acl;
  }, isPrototype);
  return false;
};

/**
 *
 * @param {Entry} entry
 * @returns {Promise}
 */
const getHasApiDistributions = async entry => {
  const apiDistributionURIs = await getApiDistributionURIs(entry);
  return Boolean(apiDistributionURIs.length);
};

/**
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const getHasDistributions = entry => Boolean(entry.getMetadata().find(null, 'dcat:distribution').length);

/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js"
/*!**************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/utils/visualizations.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CSV_FORMAT: () => (/* binding */ CSV_FORMAT),
/* harmony export */   WMS_FORMAT: () => (/* binding */ WMS_FORMAT),
/* harmony export */   createPrototypeEntry: () => (/* binding */ createPrototypeEntry),
/* harmony export */   createVisualization: () => (/* binding */ createVisualization),
/* harmony export */   getChartType: () => (/* binding */ getChartType),
/* harmony export */   getDefaultFieldsState: () => (/* binding */ getDefaultFieldsState),
/* harmony export */   getDefaultTitles: () => (/* binding */ getDefaultTitles),
/* harmony export */   getPreviewData: () => (/* binding */ getPreviewData),
/* harmony export */   getSelectedSourceChoice: () => (/* binding */ getSelectedSourceChoice),
/* harmony export */   getVisualizationData: () => (/* binding */ getVisualizationData),
/* harmony export */   getVisualizationSourceURI: () => (/* binding */ getVisualizationSourceURI),
/* harmony export */   getVisualizationTitle: () => (/* binding */ getVisualizationTitle),
/* harmony export */   getVisualizationType: () => (/* binding */ getVisualizationType),
/* harmony export */   getVisualizations: () => (/* binding */ getVisualizations),
/* harmony export */   getVisualizationsForFile: () => (/* binding */ getVisualizationsForFile),
/* harmony export */   getWmsChoice: () => (/* binding */ getWmsChoice),
/* harmony export */   removeVisualization: () => (/* binding */ removeVisualization),
/* harmony export */   removeVisualizationsEntriesFromDataset: () => (/* binding */ removeVisualizationsEntriesFromDataset),
/* harmony export */   updateVisualizationMetadata: () => (/* binding */ updateVisualizationMetadata),
/* harmony export */   validateCsvFields: () => (/* binding */ validateCsvFields)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_fetchCsv__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/fetchCsv */ "./modules/commons/util/fetchCsv.js");
/* harmony import */ var _distributions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _csv__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./csv */ "./modules/catalog/datasets/DatasetOverview/utils/csv.js");







function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }











const ES_VISUALIZATION_TERM = 'http://entryscape.com/terms/visualization/';
const namespaces = {
  Visualization: `${ES_VISUALIZATION_TERM}Visualization`,
  xAxis: `${ES_VISUALIZATION_TERM}xAxis`,
  yAxis: `${ES_VISUALIZATION_TERM}yAxis`,
  operation: `${ES_VISUALIZATION_TERM}operation`,
  chartType: `${ES_VISUALIZATION_TERM}chartType`,
  encoding: `${ES_VISUALIZATION_TERM}encoding`,
  columns: `${ES_VISUALIZATION_TERM}columns`,
  layers: `${ES_VISUALIZATION_TERM}layers`,
  extent: `${ES_VISUALIZATION_TERM}extent`,
  wmsBaseURI: `${ES_VISUALIZATION_TERM}wmsBaseURI`,
  basemap: `${ES_VISUALIZATION_TERM}basemap`,
  initialView: `${ES_VISUALIZATION_TERM}initialView`,
  legendControl: `${ES_VISUALIZATION_TERM}legendControl`,
  scaleLineControl: `${ES_VISUALIZATION_TERM}scaleLineControl`,
  featureTitle: `${ES_VISUALIZATION_TERM}featureTitle`
};
const DCAT_ACCESSURL = 'dcat:accessURL';
const WMS_FORMAT = 'wms';
const CSV_FORMAT = 'csv';
const DEFAULT_WMS_VISUALIZATION_STATE = {
  chartType: WMS_FORMAT,
  layers: [],
  extent: [],
  wmsBaseURI: '',
  sourceURI: '',
  basemap: 'true',
  initialView: [],
  legendControl: 'false',
  scaleLineControl: 'false'
};
const DEFAULT_CSV_VISUALIZATION_STATE = {
  chartType: 'bar',
  encoding: 'UTF-8',
  xField: '',
  yField: '',
  columns: [],
  operation: 'none',
  sourceURI: '',
  featureTitle: '',
  scaleLineControl: ''
};
const defaultStateMap = {
  wms: DEFAULT_WMS_VISUALIZATION_STATE,
  csv: DEFAULT_CSV_VISUALIZATION_STATE
};
const getDefaultTitles = () => [{
  title: '',
  lang: _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__.i18n.getLocale() || config__WEBPACK_IMPORTED_MODULE_13__["default"].get('locale.fallback')
}];

/**
 *
 * @param {string} format
 * @returns {object}
 */
const getDefaultFieldsState = format => {
  if (format && !(format in defaultStateMap)) {
    throw new Error(`Unknown visuzalization format: ${format}`);
  }
  return _objectSpread(_objectSpread({}, defaultStateMap[format] || {}), {}, {
    titles: getDefaultTitles()
  });
};
const statementToTitleItem = statement => ({
  title: statement.getValue(),
  lang: statement.getLanguage()
});

/**
 *
 * @param {Entry} visualizationEntry
 * @returns {string} chartType
 */
const getChartType = visualizationEntry => {
  const resourceURI = visualizationEntry.getResourceURI();
  const metadata = visualizationEntry.getMetadata();
  return metadata.findFirstValue(resourceURI, namespaces.chartType);
};

/**
 *
 * @param {Entry} visualizationEntry
 * @param {string} language
 * @returns {string}
 */
const getVisualizationTitle = (visualizationEntry, language) => {
  var _titles$find;
  const metadata = visualizationEntry.getMetadata();
  const resourceURI = visualizationEntry.getResourceURI();
  const currentLang = language || _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__.i18n.getLocale();
  const titles = metadata.find(resourceURI, 'dcterms:title').map(statementToTitleItem);
  const title = ((_titles$find = titles.find(_ref => {
    let {
      lang
    } = _ref;
    return currentLang === lang;
  })) === null || _titles$find === void 0 ? void 0 : _titles$find.title) || titles[0].title;
  return (0,commons_util_util__WEBPACK_IMPORTED_MODULE_11__.truncate)(title);
};

/**
 *
 * @param {Entry} datasetEntry
 * @returns {Promise.<Entry[]>}
 */
const getVisualizations = datasetEntry => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(datasetEntry);
  const statements = metadata.find(resourceURI, 'schema:diagram');
  const resourceURIs = statements.map(statement => statement.getValue());
  return commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystoreUtil.loadEntriesByResourceURIs(resourceURIs, datasetEntry.getContext(), true);
};

/**
 *
 * @param {Entry} fileEntry
 * @param {Entry} datasetEntry
 * @returns {Promise.<Entry[]>}
 */
const getVisualizationsForFile = async (fileEntry, datasetEntry) => {
  const visualizationEntries = await getVisualizations(datasetEntry);
  const fileResourceURI = fileEntry.getResourceURI();
  return visualizationEntries.filter(visualizationEntry => visualizationEntry.getMetadata().findFirstValue(visualizationEntry.getResourceURI(), 'dcterms:source') === fileResourceURI);
};

/**
 *
 * @param {Context} context
 * @returns {Entry}
 */
const createPrototypeEntry = context => {
  const prototypeEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.createEntry)(context, namespaces.Visualization);
  prototypeEntry.add('rdf:type', namespaces.Visualization);
  return prototypeEntry;
};

/**
 *
 * @param {Entry} datasetEntry
 * @param {Entry} visualisationPrototypeEntry
 * @returns {Promise<Entry>}
 */
const createVisualization = async (datasetEntry, visualisationPrototypeEntry) => {
  return visualisationPrototypeEntry.commit().then(async visualizationEntry => {
    const metadata = datasetEntry.getMetadata();
    metadata.add(datasetEntry.getResourceURI(), 'schema:diagram', visualizationEntry.getResourceURI());
    await datasetEntry.commitMetadata();
    return datasetEntry;
  });
};

/**
 *
 * @param {Entry} visualizationEntry
 * @param {object} fieldsState
 * @returns {visualizationEntry}
 */
const updateVisualizationMetadata = (visualizationEntry, fieldsState) => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(visualizationEntry);
  const {
    chartType,
    encoding,
    xField,
    yField,
    operation,
    titles,
    columns,
    layers,
    extent,
    wmsBaseURI,
    sourceURI,
    basemap,
    initialView,
    legendControl,
    scaleLineControl,
    featureTitle
  } = fieldsState;
  // mandatory for all chartTypes
  metadata.findAndRemove(resourceURI, 'dcterms:title');
  titles.forEach(_ref2 => {
    let {
      title,
      lang
    } = _ref2;
    metadata.addL(resourceURI, 'dcterms:title', title, lang);
  });
  metadata.findAndRemove(resourceURI, 'dcterms:source');
  metadata.add(resourceURI, 'dcterms:source', sourceURI);
  metadata.findAndRemove(resourceURI, namespaces.chartType);
  metadata.addL(resourceURI, namespaces.chartType, chartType);
  // specific to different chartTypes

  metadata.findAndRemove(resourceURI, namespaces.encoding);
  metadata.findAndRemove(resourceURI, namespaces.xAxis);
  metadata.findAndRemove(resourceURI, namespaces.yAxis);
  metadata.findAndRemove(resourceURI, namespaces.columns);
  metadata.findAndRemove(resourceURI, namespaces.operation);
  metadata.findAndRemove(resourceURI, namespaces.layers);
  metadata.findAndRemove(resourceURI, namespaces.basemap);
  metadata.findAndRemove(resourceURI, namespaces.extent);
  metadata.findAndRemove(resourceURI, namespaces.wmsBaseURI);
  metadata.findAndRemove(resourceURI, namespaces.initialView);
  metadata.findAndRemove(resourceURI, namespaces.legendControl);
  metadata.findAndRemove(resourceURI, namespaces.scaleLineControl);
  metadata.findAndRemove(resourceURI, namespaces.featureTitle);
  if (chartType === WMS_FORMAT) {
    try {
      const stringifiedLayers = JSON.stringify(layers);
      const stringifiedExtent = JSON.stringify(extent);
      const stringifiedInitialView = JSON.stringify(initialView);
      metadata.addL(resourceURI, namespaces.layers, stringifiedLayers);
      metadata.addL(resourceURI, namespaces.extent, stringifiedExtent);
      metadata.addL(resourceURI, namespaces.initialView, stringifiedInitialView);
      metadata.addL(resourceURI, namespaces.wmsBaseURI, wmsBaseURI);
      metadata.addD(resourceURI, namespaces.basemap, basemap, 'xsd:boolean');
      metadata.addD(resourceURI, namespaces.legendControl, legendControl, 'xsd:boolean');
      metadata.addD(resourceURI, namespaces.scaleLineControl, scaleLineControl, 'xsd:boolean');
    } catch (error) {
      throw Error(`Unable to save layers: ${error}`);
    }
  }
  if (chartType !== WMS_FORMAT) {
    metadata.addL(resourceURI, namespaces.encoding, encoding);
  }
  if (chartType === 'table') {
    try {
      const stringifiedColumns = JSON.stringify(columns);
      metadata.addL(resourceURI, namespaces.columns, stringifiedColumns);
    } catch (error) {
      throw Error(`Unable to save column fields: ${error}`);
    }
  }
  if (chartType === 'line' || chartType === 'map') {
    metadata.addL(resourceURI, namespaces.xAxis, xField);
    metadata.addL(resourceURI, namespaces.yAxis, yField);
  }
  if (chartType === 'map') {
    if (featureTitle) metadata.addL(resourceURI, namespaces.featureTitle, featureTitle);
    metadata.addL(resourceURI, namespaces.scaleLineControl, scaleLineControl);
    const stringifiedInitialView = JSON.stringify(initialView);
    metadata.addL(resourceURI, namespaces.initialView, stringifiedInitialView);
  }
  if (chartType === 'bar' || chartType === 'pie') {
    metadata.addL(resourceURI, namespaces.xAxis, xField);
    if (yField) {
      metadata.addL(resourceURI, namespaces.yAxis, yField);
    }
    if (operation) {
      metadata.addL(resourceURI, namespaces.operation, operation);
    }
  }
  return visualizationEntry;
};

/**
 * Gets the visualization source URI
 *
 * @param {Entry} visualizationEntry
 * @returns {string|undefined}
 */
const getVisualizationSourceURI = visualizationEntry => {
  if (!visualizationEntry) return;
  const resourceURI = visualizationEntry.getResourceURI();
  const metadata = visualizationEntry.getMetadata();
  return metadata.findFirstValue(resourceURI, 'dcterms:source');
};

/**
 * Get wms visualization fields
 *
 * @param {Entry} visualizationEntry
 * @returns {object}
 */
const getWmsFieldsFromMetadata = visualizationEntry => {
  const resourceURI = visualizationEntry.getResourceURI();
  const metadata = visualizationEntry.getMetadata();
  const titles = metadata.find(resourceURI, 'dcterms:title').map(statementToTitleItem);
  const sourceURI = metadata.findFirstValue(resourceURI, 'dcterms:source');
  const layersSettings = metadata.findFirstValue(resourceURI, namespaces.layers);
  const mapExtent = metadata.findFirstValue(resourceURI, namespaces.extent);
  const mapInitialView = metadata.findFirstValue(resourceURI, namespaces.initialView);
  const wmsFields = {
    chartType: DEFAULT_WMS_VISUALIZATION_STATE.chartType,
    titles,
    layers: DEFAULT_WMS_VISUALIZATION_STATE.layers,
    extent: DEFAULT_WMS_VISUALIZATION_STATE.extent,
    wmsBaseURI: metadata.findFirstValue(resourceURI, namespaces.wmsBaseURI) || DEFAULT_WMS_VISUALIZATION_STATE.wmsBaseURI,
    sourceURI,
    basemap: metadata.findFirstValue(resourceURI, namespaces.basemap) || DEFAULT_WMS_VISUALIZATION_STATE.basemap,
    initialView: DEFAULT_WMS_VISUALIZATION_STATE.initialView,
    legendControl: metadata.findFirstValue(resourceURI, namespaces.legendControl) || DEFAULT_WMS_VISUALIZATION_STATE.legendControl,
    scaleLineControl: metadata.findFirstValue(resourceURI, namespaces.scaleLineControl) || DEFAULT_WMS_VISUALIZATION_STATE.scaleLineControl
  };
  try {
    const layers = JSON.parse(layersSettings);
    const extent = JSON.parse(mapExtent);
    const initialView = JSON.parse(mapInitialView);
    return _objectSpread(_objectSpread({}, wmsFields), {}, {
      layers,
      extent,
      initialView
    });
  } catch (error) {
    console.log(error);
    return wmsFields;
  }
};

/**
 * Get csv visualization fields
 *
 * @param {Entry} visualizationEntry
 * @returns {object}
 */
const getCsvFieldsFromMetadata = visualizationEntry => {
  const resourceURI = visualizationEntry.getResourceURI();
  const metadata = visualizationEntry.getMetadata();
  const chartType = metadata.findFirstValue(resourceURI, namespaces.chartType);
  const titles = metadata.find(resourceURI, 'dcterms:title').map(statementToTitleItem);
  const sourceURI = metadata.findFirstValue(resourceURI, 'dcterms:source');

  /**
   * For existing visualizationEntries:
   * If changing from wms to csv, set chartType to the default value
   */
  const csvFields = {
    chartType: chartType === WMS_FORMAT ? DEFAULT_WMS_VISUALIZATION_STATE.chartType : chartType,
    titles,
    sourceURI,
    encoding: (metadata.findFirstValue(resourceURI, namespaces.encoding) || DEFAULT_WMS_VISUALIZATION_STATE.encoding).toUpperCase() || 'UTF-8',
    xField: metadata.findFirstValue(resourceURI, namespaces.xAxis) || DEFAULT_WMS_VISUALIZATION_STATE.xField,
    yField: metadata.findFirstValue(resourceURI, namespaces.yAxis) || DEFAULT_WMS_VISUALIZATION_STATE.yField,
    operation: metadata.findFirstValue(resourceURI, namespaces.operation) || DEFAULT_WMS_VISUALIZATION_STATE.operation,
    columns: DEFAULT_WMS_VISUALIZATION_STATE.columns,
    featureTitle: metadata.findFirstValue(resourceURI, namespaces.featureTitle) || DEFAULT_WMS_VISUALIZATION_STATE.featureTitle,
    scaleLineControl: metadata.findFirstValue(resourceURI, namespaces.scaleLineControl) || DEFAULT_WMS_VISUALIZATION_STATE.scaleLineControl
  };
  const columnFields = metadata.findFirstValue(resourceURI, namespaces.columns);
  if (chartType === 'table') {
    try {
      const columns = JSON.parse(columnFields);
      return _objectSpread(_objectSpread({}, csvFields), {}, {
        columns
      });
    } catch (error) {
      console.error(error);
      return _objectSpread(_objectSpread({}, csvFields), {}, {
        columns: DEFAULT_WMS_VISUALIZATION_STATE.columns
      });
    }
  }
  if (chartType === 'map') {
    try {
      const mapInitialView = metadata.findFirstValue(resourceURI, namespaces.initialView);
      const initialView = JSON.parse(mapInitialView);
      return _objectSpread(_objectSpread({}, csvFields), {}, {
        initialView
      });
    } catch (error) {
      console.error(error);
      return csvFields;
    }
  }
  return csvFields;
};

/**
 * Get the type of visualization
 *
 * @param {Entry} visualizationEntry
 * @returns {string|undefined}
 */
const getVisualizationType = visualizationEntry => {
  if (!visualizationEntry) return;
  const resourceURI = visualizationEntry.getResourceURI();
  const metadata = visualizationEntry.getMetadata();
  return metadata.findFirstValue(resourceURI, namespaces.chartType);
};

/**
 *
 * @param {Entry} datasetEntry
 * @param {Entry} visualizationEntry
 * @returns {Promise}
 */
const removeVisualization = async (datasetEntry, visualizationEntry) => {
  const datasetResourceURI = datasetEntry.getResourceURI();
  const visualizationResourceURI = visualizationEntry.getResourceURI();
  datasetEntry.getMetadata().findAndRemove(datasetResourceURI, 'schema:diagram', visualizationResourceURI);
  await datasetEntry.commitMetadata();
  return visualizationEntry.del();
};

/**
 *
 * @param {Entry[]} visualizationsEntries
 * @param {Entry} datasetEntry
 * @returns {Promise}
 */
const removeVisualizationsEntriesFromDataset = async (visualizationsEntries, datasetEntry) => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(datasetEntry);
  visualizationsEntries.map(visualizationEntry => visualizationEntry.getResourceURI()).forEach(visualizationResourceURI => {
    metadata.findAndRemove(resourceURI, 'schema:diagram', visualizationResourceURI);
  });
  await datasetEntry.commitMetadata();
  return Promise.all(visualizationsEntries.map(visualizationEntry => visualizationEntry.del()));
};
/**
 *
 * @param {Entry} visualizationEntry
 * @returns {Promise}
 */
const getFileEntryFromVisualization = async visualizationEntry => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(visualizationEntry);
  const fileEntryResourceURI = metadata.findFirstValue(resourceURI, 'dcterms:source');
  if (fileEntryResourceURI.toLowerCase().includes(WMS_FORMAT)) return;
  return commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystoreUtil.getEntryByResourceURI(fileEntryResourceURI);
};

/**
 * Gets the distribution related to a wms visualization
 *
 * @param {Entry} visualizationEntry
 * @param {Entry[]} distributions
 * @returns {Entry}
 */
const getRelatedWmsDistribution = (visualizationEntry, distributions) => {
  const visualizationSourceURL = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.getResourceURI)(visualizationEntry, 'dcterms:source');
  const relatedDistribution = distributions.filter(distributionEntry => {
    const distributionAccessURL = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.getResourceURI)(distributionEntry, DCAT_ACCESSURL);
    return distributionAccessURL === visualizationSourceURL;
  });
  return relatedDistribution[0];
};

/**
 *
 * @param {string} field
 * @param {string[]} fields
 * @returns {boolean}
 */
const checkFieldMismatch = (field, fields) => {
  return Boolean(field && !fields.includes(field));
};

/**
 * Retrieves distribution entries compatible with visualizations.
 *
 * @param {Entry} datasetEntry
 * @returns {Promise<object>}
 */
const getDistributionsForVisualizations = async datasetEntry => {
  const includeWMSDistributions = config__WEBPACK_IMPORTED_MODULE_13__["default"].get('catalog.includeMapServiceVisualizations');
  const distributionEntries = await (0,_distributions__WEBPACK_IMPORTED_MODULE_16__.getDistributions)(datasetEntry);
  const csvDistributionEntries = (0,_distributions__WEBPACK_IMPORTED_MODULE_16__.filterFileDistributionEntries)(distributionEntries, _csv__WEBPACK_IMPORTED_MODULE_17__.CSV_VALID_FORMATS);
  const wmsDistributionEntries = includeWMSDistributions ? distributionEntries.filter(distributionEntry => (0,_distributions__WEBPACK_IMPORTED_MODULE_16__.isWMSDistribution)(distributionEntry)) : [];
  return {
    csvDistributionEntries,
    wmsDistributionEntries
  };
};

/**
 * Gets a wms source type info
 *
 * @param {Entry} distributionEntry
 * @returns {object}
 */
const getWmsChoice = distributionEntry => ({
  name: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getLabel)(distributionEntry) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.getResourceURI)(distributionEntry, 'dcat:accessURL'),
  sourceURI: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.getResourceURI)(distributionEntry, 'dcat:accessURL'),
  format: WMS_FORMAT
});

/**
 * Gets a list of csv type source
 *
 * @param {Entry} distributionEntry
 * @param {object[]} fileEntries
 * @param {Function} translate
 * @returns {object[]}
 */
const getCsvChoices = (distributionEntry, fileEntries, translate) => {
  const fileResourceURIs = (0,_distributions__WEBPACK_IMPORTED_MODULE_16__.getDistributionFileRURIs)(distributionEntry);
  const distributionTitle = (0,_distributions__WEBPACK_IMPORTED_MODULE_16__.getDistributionTitle)(distributionEntry, translate);
  const csvSourceItems = [];
  fileEntries.forEach(fileEntry => {
    if (fileResourceURIs.includes(fileEntry.getResourceURI())) {
      const csvSourceItem = {
        name: `${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getLabel)(fileEntry)} - ${distributionTitle}`,
        sourceURI: fileEntry.getResourceURI(),
        format: CSV_FORMAT,
        fileEntry
      };
      csvSourceItems.push(csvSourceItem);
    }
  });
  return csvSourceItems;
};

/**
 *
 * @param {object} distributionsByType
 * @param {Entry[]} fileEntries
 * @param {Function} translate
 * @returns {object[]}
 */
const getSourceChoices = (distributionsByType, fileEntries, translate) => {
  const sourceChoices = [];
  const {
    csvDistributionEntries,
    wmsDistributionEntries
  } = distributionsByType;
  if (csvDistributionEntries) {
    const csvSources = csvDistributionEntries.map(csvDistributionEntry => getCsvChoices(csvDistributionEntry, fileEntries, translate)).flat();
    sourceChoices.push(...csvSources);
  }
  if (wmsDistributionEntries) {
    const wmsChoices = wmsDistributionEntries.map(distributionEntry => getWmsChoice(distributionEntry));
    sourceChoices.push(...wmsChoices);
  }
  return sourceChoices;
};

/**
 * Find selected choice from uri
 *
 * @param {string} selectedURI
 * @param {object[]} sourceChoices
 * @returns {object}
 */
const getSelectedSourceChoice = (selectedURI, sourceChoices) => {
  return sourceChoices.find(choice => choice.sourceURI === selectedURI);
};

/**
 * Find source from visualization entry and get matching source choice
 *
 * @param {Entry} visualizationEntry
 * @param {object[]} sourceChoices
 * @returns {object}
 */
const getInitialSelection = (visualizationEntry, sourceChoices) => {
  if (!visualizationEntry) return {};
  const sourceURI = getVisualizationSourceURI(visualizationEntry);
  const selectedSourceChoice = getSelectedSourceChoice(sourceURI, sourceChoices);
  return selectedSourceChoice;
};

/**
 * Get initial state from visualization metadata
 *
 * @param {string} format
 * @param {Entry} visualizationEntry
 * @returns {object}
 */
const getFieldsFromMetadata = (format, visualizationEntry) => {
  if (format === 'csv') return getCsvFieldsFromMetadata(visualizationEntry);
  if (format === 'wms') return getWmsFieldsFromMetadata(visualizationEntry);
  return getDefaultFieldsState();
};

/**
 * Load initial fields state and distribution sources
 *
 * @param {Entry} datasetEntry
 * @param {Entry} visualizationEntry
 * @param {Function} translate
 * @returns {Promise<object>}
 */
const getVisualizationData = async (datasetEntry, visualizationEntry, translate) => {
  let errors;
  const distributionEntriesByType = await getDistributionsForVisualizations(datasetEntry);
  const csvFileEntries = await (0,_distributions__WEBPACK_IMPORTED_MODULE_16__.getCsvFileEntries)(datasetEntry);
  const sourceChoices = getSourceChoices(distributionEntriesByType, csvFileEntries, translate);
  const selectedSourceChoice = getInitialSelection(visualizationEntry, sourceChoices);
  if (visualizationEntry && !selectedSourceChoice) {
    errors = {
      sourceURI: translate('loadSourceError')
    };
  }
  const initialFields = getFieldsFromMetadata(selectedSourceChoice === null || selectedSourceChoice === void 0 ? void 0 : selectedSourceChoice.format, visualizationEntry, true);
  return {
    errors,
    sourceChoices,
    selectedSourceChoice,
    initialFields
  };
};

/**
 * Validate csv to make sure there are no broken fields due to changes in the
 * source.
 *
 * @param {object} fieldsState
 * @param {object} csvData
 * @returns {object|undefined}
 */
const validateCsvFields = (fieldsState, csvData) => {
  var _csvData$meta;
  const validationFieldNames = ['xField', 'yField'];
  const fields = ((_csvData$meta = csvData.meta) === null || _csvData$meta === void 0 ? void 0 : _csvData$meta.fields) || [];
  let errors;
  for (const fieldName of validationFieldNames) {
    const fieldMismatch = checkFieldMismatch(fieldsState[fieldName], fields);
    if (fieldMismatch) {
      if (!errors) {
        errors = {};
      }
      errors[fieldName] = 'Field mismatch';
    }
  }
  return errors;
};

/**
 *
 * @param {Entry} datasetEntry
 * @param {Entry} visualizationEntry
 * @returns {Promise<object>}
 */
const getPreviewData = async (datasetEntry, visualizationEntry) => {
  const format = getVisualizationType(visualizationEntry) === WMS_FORMAT ? WMS_FORMAT : CSV_FORMAT;
  const fields = getFieldsFromMetadata(format, visualizationEntry);
  const previewData = {
    format,
    fields
  };

  // handle wms
  if (format === WMS_FORMAT) {
    const distributions = await (0,_distributions__WEBPACK_IMPORTED_MODULE_16__.getDistributions)(datasetEntry);
    const wmsDistribution = getRelatedWmsDistribution(visualizationEntry, distributions);
    if (!wmsDistribution) {
      previewData.errors = {
        sourceURI: 'loadSourceError'
      };
      console.log(previewData.errors);
    }
    return previewData;
  }
  // handle csv file
  const {
    encoding
  } = fields;
  const fileEntry = await getFileEntryFromVisualization(visualizationEntry);
  const csvData = await (0,commons_util_fetchCsv__WEBPACK_IMPORTED_MODULE_15__.fetchCsv)(fileEntry.getResourceURI(), {
    encoding
  });
  const errors = validateCsvFields(fields, csvData);
  if (errors) {
    previewData.errors = errors;
    console.log(errors);
  }
  previewData.csvData = csvData;
  previewData.csvFields = csvData.meta.fields;
  previewData.fileEntry = fileEntry;
  return previewData;
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetsView/DatasetTableView/DatasetTableView.js"
/*!************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetsView/DatasetTableView/DatasetTableView.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_rdforms_GeonamesChooser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/rdforms/GeonamesChooser */ "./modules/commons/components/rdforms/GeonamesChooser/index.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
















const DatasetTableView = _ref => {
  let {
    onToggleTableView,
    commonFilters,
    datasetEntry,
    nlsBundles,
    createQuery
  } = _ref;
  const datasetSeriesEnabled = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('catalog.includeDatasetSeries');
  const [{
    filter: listModelFilters
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_15__.useListModel)();
  const profileFilterTypeId = listModelFilters[commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__.PROFILE_FILTER_ID];
  const [entityType, setEntityType] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(profileFilterTypeId ? commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__["default"].get(profileFilterTypeId) : null);
  const templateId = entityType === null || entityType === void 0 ? void 0 : entityType.complementaryTemplateId();
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const filters = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => {
    if (!entityType) return [];
    const entityTypeId = entityType.getId();
    return commonFilters.map(filter => filter.id !== commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__.PROFILE_FILTER.id ? filter : _objectSpread(_objectSpread({}, filter), {}, {
      onSelect: id => setEntityType(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__["default"].get(id)),
      loadItems: async () => {
        const profileItems = await (0,commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__.loadProfileItems)(datasetEntry, false);
        return profileItems.map(item => item.value === entityTypeId ? _objectSpread(_objectSpread({}, item), {}, {
          default: true
        }) : item);
      }
    }));
  }, [commonFilters, entityType, datasetEntry]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (entityType) return;
    const loadProtoEntryProfile = () => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__["default"].inUse(datasetEntry);
    runAsync(loadProtoEntryProfile().then(protoEntryType => {
      setEntityType(protoEntryType);
    }));
  }, [datasetEntry, entityType, runAsync]);
  if (!entityType) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_13__["default"], null);
  return /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_11__["default"], {
    setTableView: onToggleTableView,
    rdfType: [commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_DATASET, ...(datasetSeriesEnabled ? [commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_DATASET_SERIES] : [])],
    templateId: templateId,
    nlsBundles: nlsBundles,
    filterScheme: filters,
    createQuery: createQuery
  });
};
DatasetTableView.propTypes = {
  onToggleTableView: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  commonFilters: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  datasetEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.entryPropType,
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType,
  createQuery: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DatasetTableView);

/***/ },

/***/ "./modules/catalog/datasets/DatasetsView/DatasetTableView/index.js"
/*!*************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetsView/DatasetTableView/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetTableView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetTableView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetTableView */ "./modules/catalog/datasets/DatasetsView/DatasetTableView/DatasetTableView.js");


/***/ },

/***/ "./modules/catalog/datasets/DatasetsView/DatasetsListView.js"
/*!*******************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetsView/DatasetsListView.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Comment.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_rdforms_GeonamesChooser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/rdforms/GeonamesChooser */ "./modules/commons/components/rdforms/GeonamesChooser/index.js");
/* harmony import */ var commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/CommentsDialog */ "./modules/commons/CommentsDialog/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/CommentsDialog/hooks/useCommentsCount */ "./modules/commons/CommentsDialog/hooks/useCommentsCount.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/buttons/MultiCreateButton */ "./modules/commons/components/buttons/MultiCreateButton/index.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var _dialogs_SelectDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../dialogs/SelectDatasetTemplateDialog */ "./modules/catalog/datasets/dialogs/SelectDatasetTemplateDialog/index.js");
/* harmony import */ var _dialogs_CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../dialogs/CreateDatasetDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetDialog/index.js");
/* harmony import */ var _dialogs_CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../dialogs/CreateDatasetSeriesDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/index.js");
/* harmony import */ var _dialogs_CreateDatasetFromServiceDialog__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../dialogs/CreateDatasetFromServiceDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetFromServiceDialog/index.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../tags */ "./modules/catalog/datasets/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "isLoading", "hasFilters"],
  _excluded2 = ["status"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

































const CommentIconWithBadge = _ref => {
  let {
    commentsCount
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    badgeContent: commentsCount,
    color: "primary"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"], null));
};
CommentIconWithBadge.propTypes = {
  commentsCount: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number)
};
const DatasetsListView = _ref2 => {
  let {
    listProps,
    nlsBundles,
    commonFilters,
    createQuery
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)(nlsBundles);
  const includeEdit = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.getIncludeEdit)(listProps);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_12__.useESContext)();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.useListModel)();
  const datasetTemplatesEnabled = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('catalog.datasetTemplateEndpoint');
  const datasetSeriesEnabled = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('catalog.includeDatasetSeries');
  const datasetEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName('dataset');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_26__.getDraftsEnabled)(datasetEntityType);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_18__["default"])(commonFilters, nlsBundles),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const customApplyParams = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)((baseQuery, params) => {
    const query = (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_24__.applyQueryParams)(baseQuery, params);
    applyFilters(query);
  }, [applyFilters]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_19__.useSolrQuery)({
      createQuery,
      applyQueryParams: customApplyParams,
      wait: isLoading
    }),
    {
      status
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded2);
  const [getCommentsCount, refreshCommentsCount] = (0,commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_17__["default"])(queryResults.entries);
  const isMultiCreate = datasetTemplatesEnabled || datasetSeriesEnabled;
  const listActions = [_objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_21__.ACTION_CREATE), {}, {
    Component: commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_23__["default"],
    tooltipNlsKey: isMultiCreate ? 'createButtonTooltipWithSubSeries' : 'actionTooltip',
    highlightId: 'listActionCreate',
    items: [{
      id: 'create',
      Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.withListRefresh)(_dialogs_CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_29__["default"], 'onCreate'),
      labelNlsKey: 'createDatasetButton'
    }, {
      id: 'create-from-dataset-template',
      Dialog: _dialogs_SelectDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_28__["default"],
      labelNlsKey: 'createFromTemplateButton',
      isVisible: () => datasetTemplatesEnabled
    }, {
      id: 'create-dataset-series',
      Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.withListRefresh)(_dialogs_CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_30__["default"], 'onCreate'),
      labelNlsKey: 'createSeriesButton',
      isVisible: () => datasetSeriesEnabled
    }, {
      id: 'create-from-service',
      Dialog: _dialogs_CreateDatasetFromServiceDialog__WEBPACK_IMPORTED_MODULE_31__["default"],
      labelNlsKey: 'createFromServiceButton',
      isVisible: () => config__WEBPACK_IMPORTED_MODULE_6__["default"].get('catalog.includeCreateByService')
    }]
  })];
  const actionParams = {
    numberOfDatasets: queryResults.entries.length,
    refreshDatasets: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.REFRESH
    })
  };
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_19__.EntryListView, _extends({}, queryResults, listProps, {
    status: isLoading ? 'pending' : status,
    nlsBundles: nlsBundles,
    getListItemProps: _ref3 => {
      let {
        entry
      } = _ref3;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_16__.getPathFromViewName)(catalog_config_config__WEBPACK_IMPORTED_MODULE_25__.DATASET_OVERVIEW_NAME, {
          contextId: context.getId(),
          entryId: entry.getId()
        })
      };
    },
    includeTableView: includeEdit,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    listActions: listActions,
    listActionsProps: {
      nlsBundles,
      actionParams
    },
    viewPlaceholderProps: _objectSpread({}, (datasetSeriesEnabled || datasetTemplatesEnabled) && {
      label: translate('emptyListWarningSeriesEnabled')
    }),
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_19__.STATUS_COLUMN), {}, {
      getProps: _ref4 => {
        let {
          entry
        } = _ref4;
        return {
          entry,
          draftsEnabled,
          publicTooltip: translate('publicDatasetTitle'),
          privateTooltip: translate('privateDatasetTitle'),
          internalTooltip: translate('internallyPublishedTitle')
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_19__.TITLE_COLUMN), {}, {
      xs: 7,
      tags: [_tags__WEBPACK_IMPORTED_MODULE_32__.SERIES_TAG, commons_components_tags__WEBPACK_IMPORTED_MODULE_27__.LOCKED_TAG]
    }), _objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_19__.MODIFIED_COLUMN), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_19__.ACTIONS_GROUP_COLUMN), {}, {
      xs: 2,
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_20__.LIST_ACTION_INFO, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_20__.LIST_ACTION_EDIT), {}, {
        include: includeEdit
      }), {
        id: 'comments',
        labelNlsKey: 'comments',
        Dialog: commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_15__["default"],
        getProps: _ref5 => {
          let {
            entry
          } = _ref5;
          return {
            entry,
            icon: /*#__PURE__*/React.createElement(CommentIconWithBadge, {
              commentsCount: getCommentsCount(entry.getResourceURI())
            }),
            dialogTitle: translate('commentHeader', (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_10__.getTitle)(entry)),
            refreshCommentsCount,
            nlsBundles,
            isVisible: () => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.canWriteMetadata)(entry)
          };
        }
      }]
    })]
  }));
};
DatasetsListView.propTypes = {
  commonFilters: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.nlsBundlesPropType,
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.listPropsPropType,
  createQuery: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DatasetsListView);

/***/ },

/***/ "./modules/catalog/datasets/DatasetsView/DatasetsView.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetsView/DatasetsView.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_components_rdforms_GeonamesChooser__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/rdforms/GeonamesChooser */ "./modules/commons/components/rdforms/GeonamesChooser/index.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./actions */ "./modules/catalog/datasets/DatasetsView/actions.js");
/* harmony import */ var _filterDefinitions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./filterDefinitions */ "./modules/catalog/datasets/DatasetsView/filterDefinitions.js");
/* harmony import */ var _DatasetTableView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./DatasetTableView */ "./modules/catalog/datasets/DatasetsView/DatasetTableView/index.js");
/* harmony import */ var _DatasetsListView__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./DatasetsListView */ "./modules/catalog/datasets/DatasetsView/DatasetsListView.js");
/* harmony import */ var _queries__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../queries */ "./modules/catalog/datasets/queries.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

















const DatasetsView = _ref => {
  let {
    listProps
  } = _ref;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.useListModel)();
  const prototypeEntry = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => context.newEntry().add('rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATASET), [context]);
  const includePSISwitch = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.allowInternalDatasetPublish');
  const includeInternalPublish = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.includeInternalPublish');
  const initialFilters = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => includePSISwitch ? [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_10__.EXTERNAL_STATUS_FILTER, _filterDefinitions__WEBPACK_IMPORTED_MODULE_13__.PUBLIC_STATUS_FILTER] : [includeInternalPublish ? _objectSpread(_objectSpread({}, _filterDefinitions__WEBPACK_IMPORTED_MODULE_13__.PUBLIC_STATUS_FILTER), {}, {
    items: [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_10__.ANY_FILTER_ITEM, {
      labelNlsKey: 'pubPublicLabel',
      value: 'pubPublic'
    }, {
      labelNlsKey: 'internallyPublishedLabel',
      value: 'internallyPublished'
    }, {
      labelNlsKey: 'pubUnpublishedLabel',
      value: 'pubUnpublished'
    }]
  }) : _filterDefinitions__WEBPACK_IMPORTED_MODULE_13__.PUBLIC_STATUS_FILTER], [includeInternalPublish, includePSISwitch]);
  const datasetEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName('dataset');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_8__.getDraftsEnabled)(datasetEntityType);
  const datasetSeriesEnabled = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog.includeDatasetSeries');
  const commonFilters = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
    const profileFilter = _objectSpread(_objectSpread({}, commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_10__.PROFILE_FILTER), {}, {
      loadItems: () => (0,commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_10__.loadProfileItems)(prototypeEntry, !showTableView)
    });
    return [...initialFilters, profileFilter, ...(draftsEnabled ? [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_10__.DRAFT_STATUS_FILTER] : []), ...(datasetSeriesEnabled ? [_filterDefinitions__WEBPACK_IMPORTED_MODULE_13__.DATASET_OR_SERIES_FILTER, _filterDefinitions__WEBPACK_IMPORTED_MODULE_13__.IN_SERIES_CHECKBOX_FILTER] : []), commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_10__.HVD_FILTER];
  }, [initialFilters, prototypeEntry, datasetSeriesEnabled, draftsEnabled, showTableView]);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => (0,_queries__WEBPACK_IMPORTED_MODULE_16__.getListQuery)(context), [context]);
  return showTableView ? /*#__PURE__*/React.createElement(_DatasetTableView__WEBPACK_IMPORTED_MODULE_14__["default"], {
    commonFilters: commonFilters,
    datasetEntry: prototypeEntry,
    onToggleTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.TOGGLE_TABLEVIEW
    }),
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_12__.nlsBundles,
    createQuery: createQuery
  }) : /*#__PURE__*/React.createElement(_DatasetsListView__WEBPACK_IMPORTED_MODULE_15__["default"], {
    commonFilters: commonFilters,
    datasetEntry: prototypeEntry,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_12__.nlsBundles,
    listProps: listProps,
    createQuery: createQuery
  });
};
DatasetsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.withListModelProviderAndLocation)(DatasetsView));

/***/ },

/***/ "./modules/catalog/datasets/DatasetsView/actions.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/datasets/DatasetsView/actions.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__);



const nlsBundles = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default()), (catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1___default())];

/***/ },

/***/ "./modules/catalog/datasets/DatasetsView/filterDefinitions.js"
/*!********************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetsView/filterDefinitions.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DATASET_OR_SERIES_FILTER: () => (/* binding */ DATASET_OR_SERIES_FILTER),
/* harmony export */   DATASET_OR_SERIES_FILTER_ITEMS: () => (/* binding */ DATASET_OR_SERIES_FILTER_ITEMS),
/* harmony export */   IN_SERIES_CHECKBOX_FILTER: () => (/* binding */ IN_SERIES_CHECKBOX_FILTER),
/* harmony export */   PUBLIC_STATUS_FILTER: () => (/* binding */ PUBLIC_STATUS_FILTER)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");







const DATASET_OR_SERIES_FILTER_ITEMS = [{
  labelNlsKey: 'datasetFilterLabel',
  value: 'dataset'
}, {
  labelNlsKey: 'seriesFilterLabel',
  value: 'datasetSeries'
}];
const DATASET_OR_SERIES_FILTER = {
  id: 'dataset-or-series-filter',
  headerNlsKey: 'datasetOrSeriesFilterHeader',
  applyFilterParams: (query, filter) => {
    const itemValue = filter.getSelected();
    if (itemValue === 'dataset') {
      return query.rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATASET);
    }
    if (itemValue === 'datasetSeries') {
      return query.rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATASET_SERIES);
    }
    return query;
  },
  items: [{
    labelNlsKey: 'anyFilterLabel',
    value: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_6__.ANY
  }, ...DATASET_OR_SERIES_FILTER_ITEMS]
};
const IN_SERIES_CHECKBOX_FILTER = {
  id: 'in-series-filter',
  type: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_6__.CHECKBOX,
  headerNlsKey: 'inSeriesFilterHeader',
  applyFilterParams: (query, filter) => {
    if (filter.getSelected() === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_6__.ANY) return query;

    // clear the "dataset series or not in-series datasets" part
    query._or.forEach(orObject => orObject.rdfType === commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATASET_SERIES ? query._or.delete(orObject) : orObject);

    // only set an rdf type if none is available (when `Type`: `Any` is selected)
    if (!query.params.has('rdfType')) {
      query.rdfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATASET, commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATASET_SERIES]);
    }
  },
  items: [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_6__.ANY_FILTER_ITEM, {
    value: 'inSeries'
  }]
};
const PUBLIC_STATUS_FILTER = {
  headerNlsKey: 'publicFilterHeader',
  applyFilterParams: (query, filter) => {
    const usersResourceURI = commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.getResourceURI('_principals', commons_util_userIds__WEBPACK_IMPORTED_MODULE_4__.USERS_ENTRY_ID);
    const itemValue = filter.getSelected();
    if (itemValue === 'pubPublic') return query.publicRead(true);
    if (itemValue === 'pubUnpublished') return query.publicRead(false).metadataRead(usersResourceURI, true).resourceRead(usersResourceURI, true);
    if (itemValue === 'internallyPublished') {
      return query.metadataRead(usersResourceURI).resourceRead(usersResourceURI);
    }
    return query;
  },
  items: [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_6__.ANY_FILTER_ITEM, {
    labelNlsKey: 'pubPublicLabel',
    value: 'pubPublic'
  }, {
    labelNlsKey: 'pubUnpublishedLabel',
    value: 'pubUnpublished'
  }],
  id: 'public-filter'
};

/***/ },

/***/ "./modules/catalog/datasets/DatasetsView/index.js"
/*!********************************************************!*\
  !*** ./modules/catalog/datasets/DatasetsView/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetsView */ "./modules/catalog/datasets/DatasetsView/DatasetsView.js");


/***/ },

/***/ "./modules/catalog/datasets/OverviewDatasetList/OverviewDatasetList.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/OverviewDatasetList/OverviewDatasetList.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LinkOff.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/EntityOverview/dialogs/DisconnectDialog */ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/index.js");
/* harmony import */ var catalog_datasets_queries__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/datasets/queries */ "./modules/catalog/datasets/queries.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_EntityOverview_dialogs_SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/EntityOverview/dialogs/SearchOrCreateDialog */ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_23__);
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["actionParams"];



function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



















const nlsBundles = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default())];
const sourceRelation = {
  property: 'dcterms:source'
};
const DatasetSearchDialog = _ref => {
  let {
      actionParams
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const datasetEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_22__["default"].getByName('dataset');
  return /*#__PURE__*/React.createElement(commons_components_EntityOverview_dialogs_SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_21__["default"], _extends({}, rest, {
    actionParams: _objectSpread(_objectSpread({}, actionParams), {}, {
      disableCreateActions: true,
      getQuery: catalog_datasets_queries__WEBPACK_IMPORTED_MODULE_19__.getListQuery,
      relation: sourceRelation,
      entityType: datasetEntityType,
      connectButtonLabel: 'linkButtonLabel',
      connectedButtonLabel: 'linkedButtonLabel'
    })
  }));
};
DatasetSearchDialog.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({})
};
const OverviewDatasetList = _ref2 => {
  let {
    entry
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)(nlsBundles);
  const {
    runAsync,
    data: {
      entries,
      size
    },
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__["default"])({
    data: {
      entries: null,
      size: -1
    }
  });
  const [refresh, setRefresh] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    const loadEntries = async () => {
      const resourceURIs = entry.getMetadata().find(null, 'dcterms:source').map(statement => statement.getValue());
      const loadedEntries = await commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystoreUtil.loadEntriesByResourceURIs(resourceURIs, entry.getContext(), true);
      // filter out potential holes
      return {
        entries: loadedEntries.filter(Boolean),
        size: loadedEntries.length
      };
    };
    runAsync(loadEntries());
  }, [entry, runAsync, refresh]);
  const refreshDatasets = () => setRefresh(value => !value);
  const onCreate = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(async datasetEntry => {
    entry.getMetadata().add(entry.getResourceURI(), 'dcterms:source', datasetEntry.getResourceURI());
    await entry.commitMetadata();
    return datasetEntry;
  }, [entry]);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_15__.OverviewListHeader, {
    heading: translate('datasetsHeading'),
    action: {
      id: 'search-create',
      icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_17__["default"], null),
      Dialog: DatasetSearchDialog,
      tooltipNlsKey: 'addDatasetTitle',
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.canWriteMetadata)(entry),
      highlightId: 'datasetAddLink'
    },
    actionParams: {
      nlsBundles,
      actionParams: {
        numberOfDatasets: size,
        refreshSubEntities: refreshDatasets,
        onCreate,
        nlsBundles,
        entry
      }
    }
  }), /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.EntryListView, {
    entries: entries,
    size: size,
    status: status,
    nlsBundles: nlsBundles,
    getListItemProps: _ref3 => {
      let {
        entry: datasetEntry
      } = _ref3;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getPathFromViewName)('catalog__datasets__dataset', {
          contextId: entry.getContext().getId(),
          entryId: datasetEntry.getId()
        })
      };
    },
    includeDefaultListActions: false,
    includeHeader: false,
    includePagination: false,
    renderViewPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_24__.OverviewListPlaceholder, {
      label: translate('datasetsListPlaceholder')
    }),
    renderLoader: Loader => /*#__PURE__*/React.createElement(Loader, {
      height: "10vh"
    }),
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.TITLE_COLUMN), {}, {
      xs: 8
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_12__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_13__.LIST_ACTION_INFO, {
        id: 'disconnect',
        icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
          "data-highlight-id": "listActionRemoveLink"
        }),
        labelNlsKey: 'disconnectLabel',
        Dialog: commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_18__["default"],
        getProps: _ref4 => {
          let {
            entry: datasetEntry
          } = _ref4;
          return {
            id: 'disconnect',
            entry: datasetEntry,
            parentEntry: entry,
            relation: {
              property: 'dcterms:source'
            },
            refresh: refreshDatasets,
            disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.canWriteMetadata)(entry)
          };
        }
      }]
    })]
  }));
};
OverviewDatasetList.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.withListModelProvider)(OverviewDatasetList));

/***/ },

/***/ "./modules/catalog/datasets/OverviewDatasetList/index.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/datasets/OverviewDatasetList/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewDatasetList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewDatasetList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewDatasetList */ "./modules/catalog/datasets/OverviewDatasetList/OverviewDatasetList.js");


/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetDialog/CreateDatasetDialog.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetDialog/CreateDatasetDialog.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/datasets */ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useRestrictionDialog */ "./modules/commons/hooks/useRestrictionDialog.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var _useDatasetRestriction__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../useDatasetRestriction */ "./modules/catalog/datasets/useDatasetRestriction.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }










// eslint-disable-next-line max-len









const CreateDialog = props => {
  const {
    closeDialog,
    actionParams: {
      numberOfDatasets,
      prototypeCallback
    },
    onCreate,
    rdfType = commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASET,
    nlsKeys = {
      dialogHeader: 'createDatasetHeader',
      createSuccess: 'createDatasetSuccess',
      createFailure: 'createDatasetFail'
    }
  } = props;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    data: prototypeEntry,
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__["default"])(null);
  const {
    isRestricted,
    contentPath
  } = (0,_useDatasetRestriction__WEBPACK_IMPORTED_MODULE_18__["default"])(numberOfDatasets, context);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)([(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_15___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default())]);
  (0,commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_12__["default"])({
    open: isRestricted,
    contentPath,
    callback: closeDialog
  });
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.useSnackbar)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_17__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    runAsync((0,catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_9__.createPrototypeDatasetEntry)(context, rdfType).then(prototypeCallback));
  }, [context, rdfType, runAsync, prototypeCallback]);
  const handleCreateEntry = async (datasetPrototypeEntry, graph) => {
    const datasetEntry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.commitMetadata)(datasetPrototypeEntry, graph);
    await (0,catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_9__.updateCatalogWithDataset)(datasetEntry);
    await onCreate(datasetEntry);
    addSnackbar({
      message: translate(nlsKeys.createSuccess)
    });
    return datasetEntry;
  };
  if (isRestricted) return null;
  return prototypeEntry ? /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_10__["default"], _extends({}, props, {
    entry: prototypeEntry,
    createEntry: handleCreateEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_11__.LEVEL_MANDATORY,
    createHeaderLabel: translate(nlsKeys.dialogHeader),
    createErrorNls: nlsKeys.createFailure
  })) : null;
};
CreateDialog.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    numberOfDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
    prototypeCallback: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  rdfType: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf([commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASET, commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASET_SERIES]),
  nlsKeys: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    dialogHeader: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    createSuccess: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    createFailure: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDialog);

/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetDialog/index.js"
/*!***********************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetDialog/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDatasetDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetDialog/CreateDatasetDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetFromDatasetTemplateDialog/CreateDatasetFromDatasetTemplateDialog.js"
/*!***************************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetFromDatasetTemplateDialog/CreateDatasetFromDatasetTemplateDialog.js ***!
  \***************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/datasets */ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! catalog/datasetTemplates/util */ "./modules/catalog/datasetTemplates/util.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "closeDialog", "refreshDatasets", "prototypeCallback"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







// eslint-disable-next-line max-len








const CreateDatasetFromTemplateDialog = _ref => {
  let {
      entry: datasetTemplateEntry,
      closeDialog,
      refreshDatasets,
      prototypeCallback = null
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)([(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_14___default())]);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__.useESContext)();
  const {
    data: prototypeEntry,
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__["default"])(null);
  const [protoEntryInitialized, setProtoEntryInitialized] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_17__.useSnackbar)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_18__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    runAsync((0,catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_10__.createPrototypeDatasetEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_DATASET).then(result => prototypeCallback ? prototypeCallback(result) : result));
  }, [context, runAsync, prototypeCallback]);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (!datasetTemplateEntry || !prototypeEntry) {
      return;
    }
    const metadata = (0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_16__.getMetadataFromDatasetTemplate)(datasetTemplateEntry, prototypeEntry);
    prototypeEntry.setMetadata(metadata);
    setProtoEntryInitialized(prototypeEntry.getMetadata().isChanged());
  }, [datasetTemplateEntry, prototypeEntry]);
  const handleCreateEntry = async (datasetPrototypeEntry, graph) => {
    const newDatasetEntry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.commitMetadata)(datasetPrototypeEntry, graph);
    await (0,catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_10__.updateCatalogWithDataset)(newDatasetEntry);
    addSnackbar({
      message: translate('createDatasetSuccess')
    });
    return newDatasetEntry;
  };
  return protoEntryInitialized ? /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_11__["default"], _extends({
    entry: prototypeEntry,
    createEntry: handleCreateEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__.LEVEL_MANDATORY,
    createHeaderLabel: translate('createDatasetFromTemplateHeader'),
    fromDatasetTemplate: true,
    closeDialog: closeDialog,
    onEntryEdit: entry => {
      refreshDatasets();
      return entry;
    },
    createErrorNls: "createDatasetFail"
  }, rest)) : null;
};
CreateDatasetFromTemplateDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  refreshDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  prototypeCallback: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDatasetFromTemplateDialog);

/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetFromDatasetTemplateDialog/index.js"
/*!******************************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetFromDatasetTemplateDialog/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDatasetFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDatasetFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDatasetFromDatasetTemplateDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetFromDatasetTemplateDialog/CreateDatasetFromDatasetTemplateDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetFromServiceDialog/CreateDatasetFromServiceDialog.js"
/*!***********************************************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetFromServiceDialog/CreateDatasetFromServiceDialog.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var catalog_datasets_dialogs_CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasets/dialogs/CreateDatasetDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetDialog/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var _SelectServiceDialog_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../SelectServiceDialog/utils */ "./modules/catalog/datasets/dialogs/SelectServiceDialog/utils.js");
/* harmony import */ var _SelectServiceDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../SelectServiceDialog */ "./modules/catalog/datasets/dialogs/SelectServiceDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["item", "refreshDatasets", "numberOfDatasets", "closeSelectDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const CreateDatasetFromItem = _ref => {
  let {
      item,
      refreshDatasets,
      numberOfDatasets,
      closeSelectDialog
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const addMetadataCallback = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async protoEntry => {
    (0,_SelectServiceDialog_utils__WEBPACK_IMPORTED_MODULE_6__.addMetadata)(protoEntry, item, item.datasetProps);
    return protoEntry;
  }, [item]);
  const createDistribution = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async datasetEntry => {
    const context = datasetEntry.getContext();
    const distributionEntry = (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_5__.createPrototypeEntry)(context);
    (0,_SelectServiceDialog_utils__WEBPACK_IMPORTED_MODULE_6__.addMetadata)(distributionEntry, item, item.distributionProps);
    await (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_5__.createDistributionEntry)(distributionEntry, datasetEntry);
    return datasetEntry;
  }, [item]);
  return /*#__PURE__*/React.createElement(catalog_datasets_dialogs_CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
    nlsKeys: {
      dialogHeader: 'createDatasetFromServiceTitle',
      createSuccess: 'createDatasetSuccess',
      createFailure: 'createDatasetFail'
    },
    onCreate: entry => {
      refreshDatasets();
      closeSelectDialog();
      return entry;
    },
    onEntryEdit: createDistribution,
    actionParams: {
      prototypeCallback: addMetadataCallback,
      numberOfDatasets
    }
  }, rest));
};
CreateDatasetFromItem.propTypes = {
  item: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    datasetProps: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)),
    distributionProps: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_2___default().string))
  }),
  closeSelectDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  numberOfDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  refreshDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
const selectAction = {
  id: 'create-dataset-item',
  Dialog: CreateDatasetFromItem
};
const CreateDatasetFromServiceDialog = props => {
  return /*#__PURE__*/React.createElement(_SelectServiceDialog__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({
    titleNlsKey: "createFromServiceTitle",
    infoNlsKey: "createDatasetFromServiceMessage",
    selectAction: selectAction
  }, props));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDatasetFromServiceDialog);

/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetFromServiceDialog/index.js"
/*!**********************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetFromServiceDialog/index.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDatasetFromServiceDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDatasetFromServiceDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDatasetFromServiceDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetFromServiceDialog/CreateDatasetFromServiceDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/CreateDatasetSeriesDialog.js"
/*!*************************************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/CreateDatasetSeriesDialog.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../CreateDatasetDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


const CreateDatasetSeries = props => {
  return /*#__PURE__*/React.createElement(_CreateDatasetDialog__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET_SERIES,
    nlsKeys: {
      dialogHeader: 'createDatasetSeriesHeader',
      createSuccess: 'createDatasetSeriesSuccess',
      createFailure: 'createDatasetSeriesFail'
    }
  }, props));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDatasetSeries);

/***/ },

/***/ "./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDatasetSeriesDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDatasetSeriesDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetSeriesDialog/CreateDatasetSeriesDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/dialogs/SelectDatasetTemplateDialog/SelectDatasetTemplateDialog.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/SelectDatasetTemplateDialog/SelectDatasetTemplateDialog.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasetTemplates/util */ "./modules/catalog/datasetTemplates/util.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var catalog_datasetTemplates_DatasetTemplateListFilters__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/datasetTemplates/DatasetTemplateListFilters */ "./modules/catalog/datasetTemplates/DatasetTemplateListFilters/index.js");
/* harmony import */ var catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/datasetTemplates/reducer */ "./modules/catalog/datasetTemplates/reducer.js");
/* harmony import */ var catalog_datasetTemplates_useCatalogs__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/datasetTemplates/useCatalogs */ "./modules/catalog/datasetTemplates/useCatalogs.js");
/* harmony import */ var catalog_datasetTemplates_useCategories__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! catalog/datasetTemplates/useCategories */ "./modules/catalog/datasetTemplates/useCategories.js");
/* harmony import */ var commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useRestrictionDialog */ "./modules/commons/hooks/useRestrictionDialog.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var _CreateDatasetFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../CreateDatasetFromDatasetTemplateDialog */ "./modules/catalog/datasets/dialogs/CreateDatasetFromDatasetTemplateDialog/index.js");
/* harmony import */ var _useDatasetRestriction__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../useDatasetRestriction */ "./modules/catalog/datasets/useDatasetRestriction.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["closeDialog", "actionParams"],
  _excluded2 = ["sort"],
  _excluded3 = ["size"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

























const SelectDatasetTemplateDialog = _ref => {
  let {
      closeDialog,
      actionParams: {
        numberOfDatasets,
        refreshDatasets,
        prototypeCallback
      }
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)([(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12___default())]);
  const catalogConfiguration = config__WEBPACK_IMPORTED_MODULE_9__["default"].get('catalog.datasetTemplateDefaultCatalog');
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_15__.useESContext)();
  const [existingTemplateDatasets] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_16__["default"])(catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_14__.getDatasetsBasedOnTemplates, context, []);
  const [{
    category: selectedCategory,
    context: selectedCatalogId
  }, filtersDispatch] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useReducer)(catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_18__.reducer, (0,catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_18__.getInitialState)());
  const {
    isRestricted,
    contentPath
  } = (0,_useDatasetRestriction__WEBPACK_IMPORTED_MODULE_29__["default"])(numberOfDatasets, context);
  (0,commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_21__["default"])({
    open: isRestricted,
    contentPath,
    callback: closeDialog
  });
  const datasetTemplateStore = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => (0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_14__.getDatasetTemplateStore)(), []);
  const catalogEntries = (0,catalog_datasetTemplates_useCatalogs__WEBPACK_IMPORTED_MODULE_19__["default"])(datasetTemplateStore);
  const selectedCatalogEntry = catalogEntries.find(catalogEntry => catalogEntry.getContext().getId() === selectedCatalogId) || '';
  const [categories, setCategories] = (0,catalog_datasetTemplates_useCategories__WEBPACK_IMPORTED_MODULE_20__["default"])(datasetTemplateStore, selectedCatalogEntry, filtersDispatch);
  const selectedCatalogLanguage = selectedCatalogEntry ? selectedCatalogEntry.getMetadata().findFirstValue(null, 'dcterms:language') : '';
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => (0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_14__.createDatasetTemplateQuery)(datasetTemplateStore, selectedCatalogEntry, selectedCategory), [datasetTemplateStore, selectedCatalogEntry, selectedCategory]);
  const applyParamsCustomSort = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)((query, _ref2) => {
    let {
        sort
      } = _ref2,
      queryParams = _objectWithoutProperties(_ref2, _excluded2);
    return (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_26__.applyQueryParams)(query, _objectSpread(_objectSpread({}, queryParams), {}, {
      sort: _objectSpread(_objectSpread({}, sort), {}, {
        locale: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_25__.languageUriToIsoCode)(selectedCatalogLanguage)
      })
    }));
  }, [selectedCatalogLanguage]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_22__.useSolrQuery)({
      createQuery,
      applyQueryParams: applyParamsCustomSort
    }),
    {
      size
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded3);
  const getCreateButtonProps = _ref3 => {
    let {
      entry: templateEntry,
      translate: t
    } = _ref3;
    const basedOnTemplate = existingTemplateDatasets.some(entry => (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_25__.getBasedOnProperty)(entry) === templateEntry.getResourceURI() || entry.getResourceURI() === templateEntry.getResourceURI());
    return {
      action: _objectSpread({
        entry: templateEntry,
        Dialog: _CreateDatasetFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_28__["default"],
        existingTemplates: existingTemplateDatasets,
        closeDialog,
        refreshDatasets,
        prototypeCallback
      }, rest),
      disabled: basedOnTemplate,
      children: basedOnTemplate ? t('createdFromTemplateDialogButton') : t('createFromTemplateDialogButton'),
      variant: 'text'
    };
  };
  const getSourceLinkProps = _ref4 => {
    let {
      entry,
      translate: t
    } = _ref4;
    const landingPageLink = entry.getMetadata().findFirstValue(entry.getResourceURI(), 'esterms:templateLandingPage');
    if (!landingPageLink) return null;
    return {
      title: t('landingPageLinkTooltip'),
      'aria-label': t('landingPageLinkTooltip'),
      children: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null),
      href: landingPageLink,
      target: '_blank'
    };
  };
  if (isRestricted) return null;
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "create-from-template-dialog",
    title: translate('createFromTemplateDialogHeader'),
    closeDialog: closeDialog,
    closeDialogButtonLabel: translate('createFromTemplateDialogCloseButton'),
    maxWidth: "md",
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_22__.EntryListView
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, queryResults, {
    size: size,
    nlsBundles: [(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12___default())],
    listPlaceholderProps: {
      label: translate('emptyListWarning')
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_22__.TITLE_COLUMN), {}, {
      headerNlsKey: 'templatesListHeaderLabel',
      xs: 6
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_22__.MODIFIED_COLUMN), {}, {
      headerNlsKey: 'templatesListHeaderModified',
      sortBy: false
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_22__.INFO_COLUMN), {}, {
      title: translate('templateMetadataTooltip'),
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_24__.ListItemActionIconButton,
      getProps: _ref5 => {
        let {
          entry
        } = _ref5;
        return {
          action: _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_23__.ACTION_INFO), {}, {
            entry,
            Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_27__["default"],
            formTemplateId: 'dcat:Dataset'
          })
        };
      }
    }), {
      id: 'source-link',
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_24__.ListItemIconButton,
      xs: 1,
      sx: {
        padding: 0
      },
      getProps: getSourceLinkProps
    }, {
      id: 'create-dataset-from-template',
      xs: 2,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_24__.ListItemButtonAction,
      ButtonComponent: _mui_material__WEBPACK_IMPORTED_MODULE_7__["default"],
      getProps: getCreateButtonProps
    }]
  }), /*#__PURE__*/React.createElement(catalog_datasetTemplates_DatasetTemplateListFilters__WEBPACK_IMPORTED_MODULE_17__["default"], {
    filtersDispatch: filtersDispatch,
    includeCatalogFilter: !catalogConfiguration,
    selectedCatalogId: selectedCatalogId,
    catalogEntries: catalogEntries,
    categories: categories,
    setCategories: setCategories,
    selectedCategory: selectedCategory
  }))));
};
SelectDatasetTemplateDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    numberOfDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),
    refreshDatasets: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    prototypeCallback: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_24__.withListModelProvider)(SelectDatasetTemplateDialog, () => ({
  sort: {
    field: 'title',
    order: 'asc'
  }
})));

/***/ },

/***/ "./modules/catalog/datasets/dialogs/SelectDatasetTemplateDialog/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/SelectDatasetTemplateDialog/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SelectDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SelectDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectDatasetTemplateDialog */ "./modules/catalog/datasets/dialogs/SelectDatasetTemplateDialog/SelectDatasetTemplateDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/dialogs/SelectServiceDialog/SelectServiceDialog.js"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/SelectServiceDialog/SelectServiceDialog.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_Map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/Map */ "./modules/commons/components/Map/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_dialogs_ItemSelectDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/dialogs/ItemSelectDialog */ "./modules/commons/components/dialogs/ItemSelectDialog/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/filters/utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_filters_SearchFilter_SearchFilter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/filters/SearchFilter/SearchFilter */ "./modules/commons/components/filters/SearchFilter/SearchFilter.js");
/* harmony import */ var commons_hooks_useTranslation_useTranslation__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useTranslation/useTranslation */ "./modules/commons/hooks/useTranslation/useTranslation.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./utils */ "./modules/catalog/datasets/dialogs/SelectServiceDialog/utils.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["closeDialog", "titleNlsKey", "infoNlsKey", "selectAction"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
























const NLS_BUNDLES = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_18___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_19___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_20___default())];

/**
 * Callback for mapping solr query result to service items.
 *
 * @param {object} queryResults
 * @returns {object}
 */
const getServiceItemsCallback = queryResults => {
  const {
    entries
  } = queryResults;
  const serviceItems = (0,_utils__WEBPACK_IMPORTED_MODULE_23__.getServiceItems)(entries);
  return _objectSpread(_objectSpread({}, queryResults), {}, {
    serviceItems
  });
};
const useDataservices = _ref => {
  let {
    callback
  } = _ref;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__.useESContext)();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_DATASERVICE).context(context), [context]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.useSolrQuery)({
    createQuery,
    callback
  });
  return queryResults;
};
const useServiceGetters = () => {
  const openLayers = (0,commons_components_Map__WEBPACK_IMPORTED_MODULE_5__.useOpenlayers)();
  const {
    isLoading
  } = openLayers;
  const serviceMap = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => {
    return {
      [_utils__WEBPACK_IMPORTED_MODULE_23__.WMS_LABEL]: (url, serviceEntry) => (0,_utils__WEBPACK_IMPORTED_MODULE_23__.getWMSItems)(openLayers, url, serviceEntry)
    };
  }, [openLayers]);
  return {
    serviceMap,
    isLoading
  };
};
const SelectServiceDialog = _ref2 => {
  let {
      closeDialog,
      titleNlsKey,
      infoNlsKey,
      selectAction
    } = _ref2,
    rest = _objectWithoutProperties(_ref2, _excluded);
  const {
    serviceMap,
    isLoading: isLoadingGetters
  } = useServiceGetters();
  const {
    isLoading: isLoadingDataservices,
    serviceItems
  } = useDataservices({
    callback: getServiceItemsCallback
  });
  const {
    data: items,
    runAsync,
    status: listStatus
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])({
    data: []
  });
  const translate = (0,commons_hooks_useTranslation_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)(NLS_BUNDLES);
  const typeFilter = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => {
    if (isLoadingDataservices) return;
    return new commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_14__["default"]({
      id: 'service-type',
      type: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.AUTOCOMPLETE,
      headerNlsKey: 'serviceTypeHeader',
      defaultValue: null,
      initialSelection: null,
      items: serviceItems
    });
  }, [isLoadingDataservices, serviceItems]);
  const handleSelectType = newValue => {
    typeFilter.setSelected(newValue);
    const {
      type,
      dataserviceEntry
    } = serviceItems.find(_ref3 => {
      let {
        value
      } = _ref3;
      return value === newValue;
    });
    runAsync(serviceMap[type](newValue, dataserviceEntry));
  };
  return /*#__PURE__*/React.createElement(commons_components_dialogs_ItemSelectDialog__WEBPACK_IMPORTED_MODULE_12__["default"], _extends({
    closeDialog: closeDialog,
    isLoading: isLoadingDataservices || isLoadingGetters,
    selectAction: selectAction,
    items: items,
    selectNlsKey: "createButtonLabel",
    selectedNlsKey: "createdLabel",
    title: translate(titleNlsKey),
    listStatus: listStatus,
    showList: (typeFilter === null || typeFilter === void 0 ? void 0 : typeFilter.getSelected()) !== null,
    renderTopContent: () => serviceItems.length ? /*#__PURE__*/React.createElement(React.Fragment, null, infoNlsKey ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
      marginBottom: "16px"
    }, /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_22__["default"], null, translate(infoNlsKey))) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
      marginBottom: "8px"
    }, /*#__PURE__*/React.createElement(commons_components_filters_SearchFilter_SearchFilter__WEBPACK_IMPORTED_MODULE_16__["default"], {
      disabled: isLoadingDataservices,
      filter: typeFilter,
      onSelect: handleSelectType,
      translate: translate
    })), typeFilter.getSelected() === null ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_21__.ListPlaceholder, {
      label: translate('selectItemFromServicePlaceholder')
    }) : null) : /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_21__.ListPlaceholder, {
      label: translate('noSupportedServicePlaceholder')
    })
  }, rest));
};
SelectServiceDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  selectAction: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  titleNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  infoNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SelectServiceDialog);

/***/ },

/***/ "./modules/catalog/datasets/dialogs/SelectServiceDialog/index.js"
/*!***********************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/SelectServiceDialog/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SelectServiceDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SelectServiceDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectServiceDialog */ "./modules/catalog/datasets/dialogs/SelectServiceDialog/SelectServiceDialog.js");


/***/ },

/***/ "./modules/catalog/datasets/dialogs/SelectServiceDialog/utils.js"
/*!***********************************************************************!*\
  !*** ./modules/catalog/datasets/dialogs/SelectServiceDialog/utils.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   WMS_LABEL: () => (/* binding */ WMS_LABEL),
/* harmony export */   addMetadata: () => (/* binding */ addMetadata),
/* harmony export */   getServiceItems: () => (/* binding */ getServiceItems),
/* harmony export */   getWMSItems: () => (/* binding */ getWMSItems)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
const _excluded = ["name", "extent"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









// WMS definitions
const WMS_LABEL = 'WMS';
const WMS_ID = 'http://www.opengis.net/def/serviceType/ogc/wms';
const WMS_DATASET_PROPS = ['id', 'title', 'description', 'extent'];
const WMS_DISTRIBUTION_PROPS = ['title', 'description', 'format', 'accessUrl', 'accessService'];
const WMS_FORMAT = 'application/vnd.ogc.wms_xml';
const SERVICE_TYPES = [{
  value: WMS_ID,
  label: WMS_LABEL
}];
const CONFORMS_TO = 'dcterms:conformsTo';
const ENDPOINT_URL = 'dcat:endpointURL';
const propsMap = {
  id: {
    property: 'dcterms:identifier',
    nodetype: 'literal'
  },
  title: {
    property: 'dcterms:title',
    nodetype: 'languageliteral'
  },
  description: {
    property: 'dcterms:description',
    nodetype: 'languageliteral'
  },
  accessUrl: {
    property: 'dcat:accessURL',
    nodetype: 'uri'
  },
  accessService: {
    property: 'dcat:accessService',
    nodetype: 'uri'
  },
  format: {
    property: 'dcterms:format',
    nodetype: 'literal'
  },
  extent: {
    property: 'dcterms:spatial',
    nodetype: 'bnode',
    rdfType: 'dcterms:Location',
    bnode: 'bbox'
  },
  bbox: {
    property: 'dcat:bbox',
    nodetype: 'datatype',
    datatype: 'gsp:wktLiteral'
  }
};

/**
 * Adds value for prop matching propsMap.
 *
 * @param {Graph} metadata
 * @param {string} resourceURI
 * @param {string} prop
 * @param {string} value
 * @returns {Graph}
 */
const addValue = (metadata, resourceURI, prop, value) => {
  if (!(prop in propsMap)) return metadata;
  const {
    property,
    nodetype,
    bnode,
    rdfType,
    datatype
  } = propsMap[prop];
  switch (nodetype) {
    case 'literal':
    case 'languageliteral':
      metadata.addL(resourceURI, property, value);
      break;
    case 'datatype':
      {
        metadata.addD(resourceURI, property, value, datatype);
        break;
      }
    case 'uri':
      metadata.add(resourceURI, property, value);
      break;
    case 'bnode':
      {
        const blankNodeId = metadata.add(resourceURI, property).getValue();
        if (rdfType) {
          metadata.add(blankNodeId, 'rdf:type', rdfType);
        }
        addValue(metadata, blankNodeId, bnode, value);
        break;
      }
    default:
      console.error(`Provided nodetype for ${property} is not valid: ${nodetype}`);
      break;
  }
  return metadata;
};

/**
 * Adds metadata from item object that matches specified props.
 *
 * @param {Entry} entry
 * @param {object} item
 * @param {string[]} props
 */
const addMetadata = (entry, item, props) => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_4__.spreadEntry)(entry);
  props.forEach(prop => {
    const value = item[prop];
    if (!value) return;
    addValue(metadata, resourceURI, prop, value);
  });
};

/**
 * Adds WWS specific info to items
 *
 * @param {object} lib - OpenLayers utils
 * @param {string} url
 * @param {Entry} dataserviceEntry
 * @returns {Promise<object>}
 */
const getWMSItems = async (lib, url, dataserviceEntry) => {
  const {
    layers
  } = await lib.getWmsData(url);
  const accessService = dataserviceEntry.getResourceURI();
  return layers.map(_ref => {
    let {
        name,
        extent
      } = _ref,
      rest = _objectWithoutProperties(_ref, _excluded);
    return _objectSpread(_objectSpread({
      id: name,
      accessUrl: url,
      accessService,
      format: WMS_FORMAT,
      datasetProps: WMS_DATASET_PROPS,
      distributionProps: WMS_DISTRIBUTION_PROPS,
      dataserviceEntry
    }, extent && {
      extent: lib.extentToWKT(extent)
    }), rest);
  });
};

/**
 * Extracts types of available services based on valid dataservice conformsTo
 * values.
 *
 * @param {Entry[]} dataserviceEntries
 * @returns {object[]}
 */
const getServiceItems = dataserviceEntries => {
  const serviceItems = [];
  for (const dataserviceEntry of dataserviceEntries) {
    const {
      metadata,
      ruri: resourceURI
    } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_4__.spreadEntry)(dataserviceEntry);
    const uris = metadata.find(resourceURI, CONFORMS_TO).map(statement => statement.getValue());
    uris.forEach(uri => {
      const types = SERVICE_TYPES.filter(_ref2 => {
        let {
          value
        } = _ref2;
        return value === uri;
      });
      if (!types.length) return;
      for (const type of types) {
        serviceItems.push({
          value: metadata.findFirstValue(resourceURI, ENDPOINT_URL),
          label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getLabel)(dataserviceEntry),
          type: type.label,
          dataserviceEntry
        });
      }
    });
  }
  return serviceItems;
};

/***/ },

/***/ "./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.js"
/*!***************************************************************************!*\
  !*** ./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsPresenter */ "./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useDistributions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useDistributions */ "./modules/catalog/datasets/DatasetOverview/hooks/useDistributions.js");
/* harmony import */ var catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/hooks/useVisualizations */ "./modules/catalog/datasets/DatasetOverview/hooks/useVisualizations.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/visualizations */ "./modules/catalog/datasets/DatasetOverview/utils/visualizations.js");
/* harmony import */ var catalog_datasets_DatasetOverview_VisualizationList__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/VisualizationList */ "./modules/catalog/datasets/DatasetOverview/VisualizationList/index.js");
/* harmony import */ var catalog_datasets_DatasetOverview_dialogs_PreviewVisualizationDialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/PreviewVisualizationDialog/index.js");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var catalog_datasets_tags__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! catalog/datasets/tags */ "./modules/catalog/datasets/tags.js");
/* harmony import */ var commons_components_overview_OverviewTags__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/overview/OverviewTags */ "./modules/commons/components/overview/OverviewTags/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog_LanguageControlGroup__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog/LanguageControlGroup */ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog_LanguageControlGroup_useLanguageControlState__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog/LanguageControlGroup/useLanguageControlState */ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/useLanguageControlState.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_29__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var _DatasetPreview_scss__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./DatasetPreview.scss */ "./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
































const nlsBundles = [(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_20___default())];
const VisualizationIcon = _ref => {
  let {
    type
  } = _ref;
  return /*#__PURE__*/React.createElement("span", {
    className: "escaDatasetPreview__listItemIcon"
  }, /*#__PURE__*/React.createElement(catalog_datasets_DatasetOverview_VisualizationList__WEBPACK_IMPORTED_MODULE_18__.ChartIcon, {
    type: type
  }));
};
const InfoIcon = () => /*#__PURE__*/React.createElement("span", {
  className: "escaDatasetPreview__listItemIcon"
}, /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_24__["default"], null));
VisualizationIcon.propTypes = {
  type: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const PreviewSection = _ref2 => {
  let {
    children,
    title
  } = _ref2;
  return /*#__PURE__*/React.createElement("div", {
    className: "escaDatasetPreviewSection"
  }, title ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "h2",
    className: "escsDatasetPreviewSection__header"
  }, title) : null, children);
};
PreviewSection.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const CatalogsSection = _ref3 => {
  let {
    datasetEntry,
    language
  } = _ref3;
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_11__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__.getParentCatalogEntry, datasetEntry);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__.useTranslation)(nlsBundles, language);
  const catalogLabel = catalogEntry ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabelMap)(catalogEntry)[language] || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabel)(catalogEntry) : '';
  return catalogEntry ? /*#__PURE__*/React.createElement(PreviewSection, {
    title: translate('catalogListHeaderLabel')
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListView, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.List, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItem, {
    action: {
      id: 'info',
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_23__["default"],
      entry: catalogEntry
    }
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItemText, {
    xs: 11,
    primary: catalogLabel
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItemText, {
    xs: 1,
    secondary: /*#__PURE__*/React.createElement(InfoIcon, {
      className: "escaDatasetPreview__listItemIcon"
    })
  }))))) : null;
};
CatalogsSection.propTypes = {
  datasetEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const DistributionsSection = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.withListModelProvider)(_ref4 => {
  let {
    datasetEntry,
    language
  } = _ref4;
  const [distributions] = (0,catalog_datasets_DatasetOverview_hooks_useDistributions__WEBPACK_IMPORTED_MODULE_14__["default"])(datasetEntry);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__.useTranslation)(nlsBundles, language);
  return distributions !== null && distributions !== void 0 && distributions.length ? /*#__PURE__*/React.createElement(PreviewSection, {
    title: translate('distributionsTitle')
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListView, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.List, null, distributions.map(distributionEntry => /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItem, {
    key: `distr-${distributionEntry.getId()}`,
    action: {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_23__["default"],
      entry: distributionEntry,
      parentEntry: datasetEntry,
      showReferences: false
    }
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItemText, {
    xs: 8,
    primary: (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_16__.getDistributionTitle)(distributionEntry, translate, language)
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItemText, {
    xs: 3,
    secondary: (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_16__.getDistributionFormat)(distributionEntry, translate)
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItemText, {
    xs: 1,
    secondary: /*#__PURE__*/React.createElement(InfoIcon, {
      className: "escaDatasetPreview__listItemIcon"
    })
  })))))) : null;
});
DistributionsSection.propTypes = {
  datasetEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const VisualizationsSection = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.withListModelProvider)(_ref5 => {
  let {
    datasetEntry,
    language
  } = _ref5;
  const {
    visualizations
  } = (0,catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_15__.useVisualizations)(datasetEntry, language);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__.useTranslation)(nlsBundles, language);
  return visualizations !== null && visualizations !== void 0 && visualizations.length ? /*#__PURE__*/React.createElement(PreviewSection, {
    title: translate('visualizationsTitle')
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListView, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.List, null, visualizations.map(visualizationEntry => /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItem, {
    key: `viz-${visualizationEntry.getId()}`,
    action: {
      Dialog: catalog_datasets_DatasetOverview_dialogs_PreviewVisualizationDialog__WEBPACK_IMPORTED_MODULE_19__["default"],
      entry: datasetEntry,
      visualizationEntry
    }
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItemText, {
    xs: 11,
    primary: (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_17__.getVisualizationTitle)(visualizationEntry, language)
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.ListItemText, {
    xs: 1,
    secondary: /*#__PURE__*/React.createElement(VisualizationIcon, {
      type: (0,catalog_datasets_DatasetOverview_utils_visualizations__WEBPACK_IMPORTED_MODULE_17__.getChartType)(visualizationEntry)
    })
  })))))) : null;
});
VisualizationsSection.propTypes = {
  datasetEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const DatasetPreviewPresenter = _ref6 => {
  let {
    datasetEntry,
    language,
    allLanguagesEnabled
  } = _ref6;
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(datasetEntry);
  const {
    data: templateId,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const filterPredicates = {
    'http://purl.org/dc/terms/title': true,
    'http://purl.org/dc/terms/description': true
  };
  const {
    PresenterComponent
  } = (0,commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_6__["default"])(metadata, resourceURI, templateId, false, filterPredicates, null, true, !allLanguagesEnabled, 'en', language);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    runAsync(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_13__["default"].inUse(datasetEntry).then(entityType => {
      return datasetEntry.isLinkReference() ? entityType.complementaryTemplateId() : entityType.templateId();
    }));
  }, [datasetEntry, runAsync]);
  return PresenterComponent ? /*#__PURE__*/React.createElement(PresenterComponent, null) : null;
};
DatasetPreviewPresenter.propTypes = {
  datasetEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  allLanguagesEnabled: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool)
};
const DatasetPreview = _ref7 => {
  let {
    entry
  } = _ref7;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__.useTranslation)([(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_29___default())]);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_30__.useUserState)();
  const languageControlState = (0,commons_components_LinkedDataBrowserDialog_LanguageControlGroup_useLanguageControlState__WEBPACK_IMPORTED_MODULE_28__["default"])(userInfo);
  const {
    language,
    allLanguagesEnabled
  } = languageControlState;
  const title = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabelMap)(entry)[language] || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabel)(entry);
  const description = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getDescriptionMap)(entry)[language] || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getDescription)(entry);
  return /*#__PURE__*/React.createElement("div", {
    className: "escaDatasetPreview"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escaDatasetPreview__headerRow"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escaDatasetPreview__header",
    variant: "h1"
  }, title), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(commons_components_LinkedDataBrowserDialog_LanguageControlGroup__WEBPACK_IMPORTED_MODULE_27__["default"], _extends({
    translate: translate
  }, languageControlState)))), /*#__PURE__*/React.createElement(commons_components_overview_OverviewTags__WEBPACK_IMPORTED_MODULE_26__["default"], {
    entry: entry,
    tags: [catalog_datasets_tags__WEBPACK_IMPORTED_MODULE_25__.SERIES_TAG]
  }), /*#__PURE__*/React.createElement(PreviewSection, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, description)), /*#__PURE__*/React.createElement(CatalogsSection, {
    datasetEntry: entry,
    language: language
  }), /*#__PURE__*/React.createElement(DistributionsSection, {
    datasetEntry: entry,
    language: language
  }), /*#__PURE__*/React.createElement(VisualizationsSection, {
    datasetEntry: entry,
    language: language
  }), /*#__PURE__*/React.createElement(PreviewSection, null, /*#__PURE__*/React.createElement(DatasetPreviewPresenter, {
    datasetEntry: entry,
    allLanguagesEnabled: allLanguagesEnabled,
    language: language
  })));
};
DatasetPreview.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,catalog_datasets_DatasetOverview_hooks_useVisualizations__WEBPACK_IMPORTED_MODULE_15__.withVisualizationsProvider)(DatasetPreview));

/***/ },

/***/ "./modules/catalog/datasets/preview/DatasetPreview/index.js"
/*!******************************************************************!*\
  !*** ./modules/catalog/datasets/preview/DatasetPreview/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetPreview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetPreview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetPreview */ "./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.js");


/***/ },

/***/ "./modules/catalog/datasets/preview/index.js"
/*!***************************************************!*\
  !*** ./modules/catalog/datasets/preview/index.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var catalog_datasets_preview_DatasetPreview__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/datasets/preview/DatasetPreview */ "./modules/catalog/datasets/preview/DatasetPreview/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const Preview = () => {
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_0__.useEntry)();
  return /*#__PURE__*/React.createElement(catalog_datasets_preview_DatasetPreview__WEBPACK_IMPORTED_MODULE_1__["default"], {
    entry: entry
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Preview);

/***/ },

/***/ "./modules/catalog/datasets/queries.js"
/*!*********************************************!*\
  !*** ./modules/catalog/datasets/queries.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getCountQuery: () => (/* binding */ getCountQuery),
/* harmony export */   getListQuery: () => (/* binding */ getListQuery)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");




const getDatasetQuery = context => commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET).context(context);
const getDatasetAndSeriesQuery = context => commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.newSolrQuery().context(context).or({
  rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET_SERIES,
  and: {
    rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET,
    not: {
      'metadata.predicate.uri.0f683595': '*'
    } // dcat:inSeries
  }
});
const getListQuery = context => config__WEBPACK_IMPORTED_MODULE_3__["default"].get('catalog.includeDatasetSeries') ? getDatasetAndSeriesQuery(context) : getDatasetQuery(context);
const getCountQuery = async context => {
  const query = getListQuery(context).list('1');
  await query.getEntries();
  return query.getSize();
};

/***/ },

/***/ "./modules/catalog/datasets/tags.js"
/*!******************************************!*\
  !*** ./modules/catalog/datasets/tags.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SERIES_TAG: () => (/* binding */ SERIES_TAG),
/* harmony export */   TEMPLATE_TAG: () => (/* binding */ TEMPLATE_TAG)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "./modules/catalog/datasets/utils.js");



const SERIES_TAG = {
  id: 'seriesTag',
  labelNlsKey: 'seriesIconTooltip',
  nlsBundles: (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_0___default()),
  isVisible: entry => (0,_utils__WEBPACK_IMPORTED_MODULE_2__.isDatasetSeries)(entry)
};
const TEMPLATE_TAG = {
  id: 'templateTag',
  labelNlsKey: 'templateTag',
  nlsBundles: (catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_1___default()),
  isVisible: entry => (0,_utils__WEBPACK_IMPORTED_MODULE_2__.isBasedOnTemplate)(entry)
};

/***/ },

/***/ "./modules/catalog/datasets/useDatasetRestriction.js"
/*!***********************************************************!*\
  !*** ./modules/catalog/datasets/useDatasetRestriction.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");




const useDatasetRestriction = (numberOfDatasets, context) => {
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_1__.useUserState)();
  const contextEntry = context.getEntry(true);
  const hasPermission = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.hasUserPermission)(userEntry, [commons_util_user__WEBPACK_IMPORTED_MODULE_2__.PREMIUM, commons_util_user__WEBPACK_IMPORTED_MODULE_2__.ADMIN_RIGHTS]);
  const isExemptFromRestrictions = hasPermission || (0,commons_util_context__WEBPACK_IMPORTED_MODULE_3__.isContextPremium)(contextEntry);
  if (isExemptFromRestrictions) return {
    isRestricted: false
  };
  const datasetLimit = config__WEBPACK_IMPORTED_MODULE_0__["default"].get('catalog.datasetLimit');
  const pathToDatasetLimitContent = config__WEBPACK_IMPORTED_MODULE_0__["default"].get('catalog.datasetLimitDialog');
  const isRestricted = datasetLimit && numberOfDatasets >= datasetLimit || datasetLimit === 0;
  return {
    isRestricted,
    contentPath: pathToDatasetLimitContent
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDatasetRestriction);

/***/ },

/***/ "./modules/catalog/datasets/utils.js"
/*!*******************************************!*\
  !*** ./modules/catalog/datasets/utils.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   isBasedOnTemplate: () => (/* binding */ isBasedOnTemplate),
/* harmony export */   isDatasetSeries: () => (/* binding */ isDatasetSeries)
/* harmony export */ });
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");




/**
 * Determines if given entry is a dataset series
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isDatasetSeries = entry => (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_2__.isType)(entry.getMetadata(), entry.getResourceURI(), commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_TYPE_DATASET_SERIES);

/**
 * Determines if given entry is based on a dataset template
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isBasedOnTemplate = entry => {
  var _entry$getMetadata;
  return Boolean(entry === null || entry === void 0 || (_entry$getMetadata = entry.getMetadata()) === null || _entry$getMetadata === void 0 ? void 0 : _entry$getMetadata.findFirstValue(entry === null || entry === void 0 ? void 0 : entry.getResourceURI(), 'esterms:basedOn'));
};

/***/ },

/***/ "./modules/catalog/defaults.js"
/*!*************************************!*\
  !*** ./modules/catalog/defaults.js ***!
  \*************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyDeprecatedTemplate: () => (/* binding */ applyDeprecatedTemplate),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");




// import TextAsChoiceRenderer from 'commons/rdforms/choosers/TextAsChoiceRenderer'; // TODO ?



/**
 * Applies a template from the deprecated catalog.<name>TemplateId config keys,
 * but only as a fallback — if the entity type already has a template
 * (e.g. from the entitytypes config), it is preserved.
 *
 * @param {EntityType} entityType
 * @param {string} templateId
 */
const applyDeprecatedTemplate = (entityType, templateId) => {
  if (templateId && entityType.get() && !entityType.get('template')) {
    entityType.set('template', templateId);
  }
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => {
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.add('dcat', 'http://www.w3.org/ns/dcat#');
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.add('esterms', 'http://entryscape.com/terms/');
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.add('oa', 'http://www.w3.org/ns/oa#');
  const entities = ['publisher', 'catalog', 'dataset', 'dataService', 'distribution', 'contactPoint', 'datasetResult', 'datasetDocument', 'datasetIdea', 'catalogSuggestion'];
  // Copy over templates from catalog config to corresponding entitytypes
  const catalogConfig = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('catalog');
  entities.forEach(entityName => {
    const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_2__["default"].getByName(entityName);
    applyDeprecatedTemplate(entityType, catalogConfig[`${entityName}TemplateId`]);
  });

  // Copy over include settings to view so secondary navigation is hidden for these views (navbar:false)
  const includes2Name = {
    includeStatistics: 'catalog__statistics',
    includeShowcases: 'catalog__showcases',
    includeIdeas: 'catalog__ideas',
    includePreparations: 'catalog__suggestions',
    includePublishers: 'catalog__publishers',
    includeContacts: 'catalog__contacts',
    includeDocuments: 'catalog__documents',
    includeOverview: 'catalog__overview'
  };
  Object.keys(includes2Name).forEach(key => {
    if (config__WEBPACK_IMPORTED_MODULE_4__["default"].get(`catalog.${key}`) === false) {
      const viewDef = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_5__.getViewDefFromName)(includes2Name[key]);
      viewDef.navbar = false;
    }
  });
  // TextAsChoiceRenderer.registerDefaults(); // TODO
});

/***/ },

/***/ "./modules/catalog/dialogs/CatalogLDBDialog/CatalogLDBDialog.js"
/*!**********************************************************************!*\
  !*** ./modules/catalog/dialogs/CatalogLDBDialog/CatalogLDBDialog.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/datasetTemplates/DatasetLinkedDataBrowserDialog */ "./modules/catalog/datasetTemplates/DatasetLinkedDataBrowserDialog.js");
/* harmony import */ var catalog_datasets_DatasetOverview_dialogs_VisualizationLDBDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog */ "./modules/catalog/datasets/DatasetOverview/dialogs/VisualizationLDBDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




// eslint-disable-next-line max-len

const VISUALIZATION_RDF_TYPE = 'http://entryscape.com/terms/visualization/Visualization';
const CATALOG_RDF_TYPES = [commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.RDF_TYPE_DATASET, VISUALIZATION_RDF_TYPE];
const RDF_TYPE_LDBD_MAP = {
  [commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.RDF_TYPE_DATASET]: catalog_datasetTemplates_DatasetLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_4__["default"],
  [VISUALIZATION_RDF_TYPE]: catalog_datasets_DatasetOverview_dialogs_VisualizationLDBDialog__WEBPACK_IMPORTED_MODULE_5__["default"]
};

/**
 *
 * @param {Entry} entry
 * @returns {Function}
 */
const findLDBDialog = entry => {
  const graph = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  const specialRdfType = CATALOG_RDF_TYPES.find(rdfType => {
    const statements = graph.find(resourceURI, 'rdf:type', rdfType);
    return statements.length > 0;
  });
  return RDF_TYPE_LDBD_MAP[specialRdfType] || commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__["default"];
};
const CatalogLDBDialog = _ref => {
  let {
      entry
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const LdbDialog = findLDBDialog(entry);
  return /*#__PURE__*/React.createElement(LdbDialog, _extends({
    entry: entry
  }, rest));
};
CatalogLDBDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CatalogLDBDialog);

/***/ },

/***/ "./modules/catalog/dialogs/CatalogLDBDialog/index.js"
/*!***********************************************************!*\
  !*** ./modules/catalog/dialogs/CatalogLDBDialog/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CatalogLDBDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CatalogLDBDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CatalogLDBDialog */ "./modules/catalog/dialogs/CatalogLDBDialog/CatalogLDBDialog.js");


/***/ },

/***/ "./modules/catalog/documents/DocumentOverview/DocumentOverview.js"
/*!************************************************************************!*\
  !*** ./modules/catalog/documents/DocumentOverview/DocumentOverview.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaDocuments.nls */ "./modules/catalog/nls/escaDocuments.nls");
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../tags */ "./modules/catalog/documents/tags.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./actions */ "./modules/catalog/documents/DocumentOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

























const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default())];
const DocumentOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getViewDefFromName)('catalog__documents__document');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_22__.localize)(viewDefinition.title);
  const descriptionItems = [{
    id: 'catalog',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_6__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__["default"], _extends({}, overviewProps, {
    backLabel: translate('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_21__["default"]
    }),
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_24__.sidebarActions,
    tags: _tags__WEBPACK_IMPORTED_MODULE_23__.IMPORTED_SPEC_TAG
  }));
};
DocumentOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.withOverviewModelProvider)(DocumentOverview));

/***/ },

/***/ "./modules/catalog/documents/DocumentOverview/actions.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/documents/DocumentOverview/actions.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/dialogs/ReplaceLinkDialog */ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/index.js");
/* harmony import */ var commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/dialogs/DownloadResourceDialog */ "./modules/commons/components/common/dialogs/DownloadResourceDialog/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _dialogs_ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dialogs/ReplaceFileDialog */ "./modules/catalog/documents/dialogs/ReplaceFileDialog/index.js");







const sidebarActions = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_EDIT, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REVISIONS, {
  id: 'replace-file',
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_4__.withOverviewRefresh)(_dialogs_ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_6__["default"], 'onSave'),
  isVisible: _ref => {
    let {
      entry
    } = _ref;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_1__.canReplaceEntityFile)(entry);
  },
  labelNlsKey: 'replaceFileMenu',
  highlightId: 'overviewActionReplace',
  getProps: _ref2 => {
    let {
      entry
    } = _ref2;
    return {
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.canWriteMetadata)(entry)
    };
  }
}, {
  id: 'replace-link',
  Dialog: commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_2__["default"],
  isVisible: _ref3 => {
    let {
      entry
    } = _ref3;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_1__.canReplaceEntityLink)(entry);
  },
  labelNlsKey: 'replaceLinkMenu',
  highlightId: 'overviewActionReplace',
  getProps: _ref4 => {
    let {
      entry
    } = _ref4;
    return {
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.canWriteMetadata)(entry)
    };
  }
}, {
  id: 'download',
  Dialog: commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_3__["default"],
  isVisible: _ref5 => {
    let {
      entry
    } = _ref5;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_1__.canDownloadEntity)(entry);
  },
  labelNlsKey: 'downloadButton',
  highlightId: 'overviewActionDownload'
}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REMOVE];


/***/ },

/***/ "./modules/catalog/documents/DocumentOverview/index.js"
/*!*************************************************************!*\
  !*** ./modules/catalog/documents/DocumentOverview/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DocumentOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DocumentOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DocumentOverview */ "./modules/catalog/documents/DocumentOverview/DocumentOverview.js");


/***/ },

/***/ "./modules/catalog/documents/DocumentsView/DocumentsView.js"
/*!******************************************************************!*\
  !*** ./modules/catalog/documents/DocumentsView/DocumentsView.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_documents_dialogs_CreateDocumentDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/documents/dialogs/CreateDocumentDialog */ "./modules/catalog/documents/dialogs/CreateDocumentDialog/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/nls/escaDocuments.nls */ "./modules/catalog/nls/escaDocuments.nls");
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../tags */ "./modules/catalog/documents/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
















const nlsBundles = [(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_14___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default())];
const DocumentsView = _ref => {
  let {
    listProps
  } = _ref;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__.useESContext)();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.useListModel)();
  const actionParams = {
    refreshDocuments: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.REFRESH
    })
  };
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_DOCUMENT).context(context), [context]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.useSolrQuery)({
    createQuery
  });
  const listActions = [{
    id: 'create',
    Dialog: catalog_documents_dialogs_CreateDocumentDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
    labelNlsKey: 'createButtonLabel',
    highlightId: 'listActionCreate'
  }];
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.EntryListView, _extends({}, queryResults, listProps, {
    nlsBundles: nlsBundles,
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getPathFromViewName)('catalog__documents__document', {
          contextId: context.getId(),
          entryId: entry.getId()
        })
      };
    },
    listActions: listActions,
    listActionsProps: {
      nlsBundles,
      actionParams
    },
    columns: [commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.STATUS_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.TITLE_COLUMN), {}, {
      xs: 7,
      tags: _tags__WEBPACK_IMPORTED_MODULE_15__.IMPORTED_SPEC_TAG
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__.LIST_ACTION_INFO, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__.LIST_ACTION_EDIT]
    })]
  }));
};
DocumentsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.withListModelProviderAndLocation)(DocumentsView));

/***/ },

/***/ "./modules/catalog/documents/DocumentsView/index.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/documents/DocumentsView/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DocumentsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DocumentsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DocumentsView */ "./modules/catalog/documents/DocumentsView/DocumentsView.js");


/***/ },

/***/ "./modules/catalog/documents/dialogs/CreateDocumentDialog/CreateDocumentDialog.js"
/*!****************************************************************************************!*\
  !*** ./modules/catalog/documents/dialogs/CreateDocumentDialog/CreateDocumentDialog.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListCreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile/index.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useUniqueURIScope */ "./modules/commons/hooks/useUniqueURIScope.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! catalog/nls/escaDocuments.nls */ "./modules/catalog/nls/escaDocuments.nls");
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









// eslint-disable-next-line max-len









const nlsBundles = [(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_16___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_17___default())];
const CreateDocumentDialog = _ref => {
  let {
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)((catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_16___default()));
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_13__.useESContext)();
  const projectType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getProjectTypeInUse(context, true);
  const builtinEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getByName('datasetDocument');
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getEntityTypeByConstraints(builtinEntityType.constraints(), projectType);
  const {
    context: entityTypeContext,
    contextName
  } = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.useEntityTypeContext)(entityType.get());
  const {
    setIsURIUnique
  } = (0,commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_11__.useUniqueURIScopeContext)();
  const [hasUniqueURIScope, setHasUniqueURIScope] = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(false);
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useListModel)();
  const mainEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getMainEntityType('catalog');
  const [selectorType, setSelectorType] = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.LINK_AND_FILE);
  const hasUriPattern = mainEntityType && entityType ? (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.shouldUseUriPattern)(entityType.get()) : false;
  const uriPattern = hasUriPattern && entityType.get('uriPattern') || '';
  const entityTypeUriPatternBase = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.constructURIFromPattern)(uriPattern, {
    contextName
  });
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__.useSnackbar)();
  const [prototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)((0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.createEntry)(entityTypeContext, entityType.getRdfType()));
  const rdfType = entityType.getRdfType()[0];
  prototypeEntry.add('rdf:type', rdfType);
  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => {
    const uniqueUriScope = entityType.get('uniqueURIScope');
    if (!uniqueUriScope) return;
    setHasUniqueURIScope(Boolean(uniqueUriScope));
  }, [entityType]);
  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => {
    const {
      includeFile = false,
      includeLink = false,
      includeInternal = false
    } = entityType.get();
    let selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.LINK_AND_FILE;
    if (!includeFile && !includeLink && !includeInternal) {
      throw Error('Cannot create entity that is nothing (not file, not link, not internal URI), ' + 'something is wrong in the configuration');
    }
    if (!includeFile) {
      selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.ONLY_LINK;
    }
    if (includeFile && !includeLink && !includeInternal) {
      selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.ONLY_FILE;
    }
    // Only internal option, no link
    if (!includeLink && includeInternal) {
      selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.INTERNAL_LINK;
    }
    if (includeLink && hasUriPattern) {
      selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.PATTERNED_LINK;
    }
    setSelectorType(selector);
  }, [entityType, hasUriPattern]);
  const handleCreateEntry = async (entry, graph, _context, createEntryParams) => {
    const isInputLink = selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.ONLY_LINK || selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.PATTERNED_LINK || selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.LINK_AND_FILE && createEntryParams.isLink;
    let newEntry;
    if (!isInputLink) {
      newEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.createEntityTypeEntryFromFile)(_objectSpread({
        context: entityTypeContext,
        graph
      }, createEntryParams));
    } else {
      let isValidLink = true;
      if (hasUniqueURIScope) {
        const {
          link
        } = createEntryParams;
        isValidLink = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.checkURIUniquenessScope)(entityType.get('uniqueURIScope'), link, entityTypeContext, entityType.getRdfType());
        setIsURIUnique(isValidLink);
      }
      if (!isValidLink) throw new Error('URL not available');
      newEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.createEntityTypeEntryFromLink)(_objectSpread({
        context: entityTypeContext,
        prototypeEntry: entry,
        graph,
        uriPattern
      }, createEntryParams));
    }
    dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.CREATE
    });
    addSnackbar({
      message: translate('createDocumentSuccess')
    });
    return newEntry;
  };
  return /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListCreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_9__["default"], {
    entry: prototypeEntry,
    nlsBundles: nlsBundles,
    closeDialog: closeDialog,
    createEntry: handleCreateEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_7__.LEVEL_RECOMMENDED,
    selectorType: selectorType,
    entityTypeUriPatternBase: entityTypeUriPatternBase,
    entityType: entityType.get(),
    createErrorNls: "createDocumentFail"
  });
};
CreateDocumentDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_11__.withURIScopeContextProvider)(CreateDocumentDialog));

/***/ },

/***/ "./modules/catalog/documents/dialogs/CreateDocumentDialog/index.js"
/*!*************************************************************************!*\
  !*** ./modules/catalog/documents/dialogs/CreateDocumentDialog/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDocumentDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDocumentDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDocumentDialog */ "./modules/catalog/documents/dialogs/CreateDocumentDialog/CreateDocumentDialog.js");


/***/ },

/***/ "./modules/catalog/documents/dialogs/ReplaceFileDialog/ReplaceFileDialog.js"
/*!**********************************************************************************!*\
  !*** ./modules/catalog/documents/dialogs/ReplaceFileDialog/ReplaceFileDialog.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/nls/escaDocuments.nls */ "./modules/catalog/nls/escaDocuments.nls");
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");
/* harmony import */ var commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/FileUpload */ "./modules/commons/components/common/FileUpload/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const ReplaceFileDialog = _ref => {
  let {
    entry,
    closeDialog,
    onSave
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)([(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_8___default())]);
  const {
    file,
    handleFileChange
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const handleSaveForm = async () => {
    await entry.getResource(true).putFile(file);
    await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.refreshEntry)(entry);
    onSave();
    closeDialog();
  };
  const dialogActions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    autoFocus: true,
    onClick: handleSaveForm,
    disabled: !file
  }, translate('replaceFileFooterButton'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "replace-document-file",
    title: translate('replaceFileHeader'),
    actions: dialogActions,
    closeDialog: closeDialog,
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_3__.Presenter, {
    label: translate('currentFileLabel'),
    getValue: () => {
      var _entry$getEntryInfo;
      return ((_entry$getEntryInfo = entry.getEntryInfo()) === null || _entry$getEntryInfo === void 0 ? void 0 : _entry$getEntryInfo.getLabel()) || translate('fileNameNotFound');
    }
  }), /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_5__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_10__["default"], {
    onSelectFile: handleFileChange
  })));
};
ReplaceFileDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry).isRequired,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
  onSave: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ReplaceFileDialog);

/***/ },

/***/ "./modules/catalog/documents/dialogs/ReplaceFileDialog/index.js"
/*!**********************************************************************!*\
  !*** ./modules/catalog/documents/dialogs/ReplaceFileDialog/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ReplaceFileDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ReplaceFileDialog */ "./modules/catalog/documents/dialogs/ReplaceFileDialog/ReplaceFileDialog.js");


/***/ },

/***/ "./modules/catalog/documents/tags.js"
/*!*******************************************!*\
  !*** ./modules/catalog/documents/tags.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   IMPORTED_SPEC_TAG: () => (/* binding */ IMPORTED_SPEC_TAG)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaDocuments.nls */ "./modules/catalog/nls/escaDocuments.nls");
/* harmony import */ var catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_0__);

const IMPORTED_SPEC_TAG = {
  id: 'importedSpecificationTag',
  labelNlsKey: 'remoteSpecIconTooltip',
  nlsBundles: (catalog_nls_escaDocuments_nls__WEBPACK_IMPORTED_MODULE_0___default()),
  isVisible: entry => entry.isLinkReference()
};

/***/ },

/***/ "./modules/catalog/hooks/useIsPSI.js"
/*!*******************************************!*\
  !*** ./modules/catalog/hooks/useIsPSI.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");




const useIsPSI = entry => {
  const [isPSI, setIsPSI] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)((0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_3__.isEntryPSI)(entry));
  const toggleIsPSI = () => {
    setIsPSI(!isPSI);
    if (isPSI) {
      return entry.addD('http://entryscape.com/terms/psi', 'true', 'xsd:boolean').commitMetadata();
    }
    entry.getMetadata().findAndRemove(null, 'http://entryscape.com/terms/psi');
    return entry.commitMetadata();
  };
  return [isPSI, toggleIsPSI];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useIsPSI);

/***/ },

/***/ "./modules/catalog/hooks/usePublishStatus.js"
/*!***************************************************!*\
  !*** ./modules/catalog/hooks/usePublishStatus.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





const usePublishStatus = (entry, getExtraStatus) => {
  const [status, setStatus] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(_objectSpread({
    isDraft: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.isDraftEntry)(entry),
    isPublished: entry.isPublic(),
    isInternallyPublished: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.isInternallyPublished)(entry)
  }, getExtraStatus === null || getExtraStatus === void 0 ? void 0 : getExtraStatus(entry)));
  const updateStatus = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(change => {
    setStatus(current => _objectSpread(_objectSpread({}, current), change));
  }, []);
  return [status, updateStatus];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (usePublishStatus);

/***/ },

/***/ "./modules/catalog/hooks/usePublishToggle.js"
/*!***************************************************!*\
  !*** ./modules/catalog/hooks/usePublishToggle.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");










const usePublishToggle = _ref => {
  let {
    entry,
    nlsBundles,
    currentValue,
    onChange,
    noAccessNls,
    toggleFn,
    getSuccessMessage,
    getErrorMessage
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)(nlsBundles);
  const {
    getAcknowledgeDialog,
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_6__.useUserState)();
  const {
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_8__.useSnackbar)();
  const togglePublish = async () => {
    if (!(0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_9__.getIsAllowedPublisher)(userEntry)) {
      await getAcknowledgeDialog({
        content: translate(currentValue ? 'unpublishProhibited' : 'publishProhibited')
      });
      return currentValue;
    }
    const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_3__.getGroupWithHomeContext)(entry.getContext());
    if (!groupEntry.canAdministerEntry()) {
      await getAcknowledgeDialog({
        content: translate(noAccessNls)
      });
      return currentValue;
    }
    return toggleFn({
      entry,
      groupEntry,
      translate,
      getConfirmationDialog
    });
  };
  const toggle = (event, domNode) => runAsync(togglePublish().then(newValue => {
    if (newValue === currentValue) return;
    onChange(newValue, domNode);
    addSnackbar({
      message: getSuccessMessage(newValue, translate)
    });
  }).catch(error => {
    console.error(error);
    addSnackbar({
      message: getErrorMessage(currentValue, translate),
      type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_8__.ERROR
    });
  }));
  return {
    toggle,
    isLoading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__.PENDING
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (usePublishToggle);

/***/ },

/***/ "./modules/catalog/ideas/IdeaOverview/IdeaOverview.js"
/*!************************************************************!*\
  !*** ./modules/catalog/ideas/IdeaOverview/IdeaOverview.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaIdeas.nls */ "./modules/catalog/nls/escaIdeas.nls");
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var catalog_datasets_OverviewDatasetList__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! catalog/datasets/OverviewDatasetList */ "./modules/catalog/datasets/OverviewDatasetList/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./actions */ "./modules/catalog/ideas/IdeaOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

























const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default())];
const ShowcaseOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getViewDefFromName)('catalog__ideas__idea');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_22__.localize)(viewDefinition.title);
  const descriptionItems = [{
    id: 'catalog',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_6__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__["default"], _extends({}, overviewProps, {
    backLabel: t('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_21__["default"]
    }),
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_24__.sidebarActions
  }), /*#__PURE__*/React.createElement(catalog_datasets_OverviewDatasetList__WEBPACK_IMPORTED_MODULE_23__["default"], {
    entry: entry
  }));
};
ShowcaseOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_20__.withOverviewModelProvider)(ShowcaseOverview));

/***/ },

/***/ "./modules/catalog/ideas/IdeaOverview/actions.js"
/*!*******************************************************!*\
  !*** ./modules/catalog/ideas/IdeaOverview/actions.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  getProps: () => ({
    action: {
      filterPredicates: {
        'dcterms:source': true
      }
    }
  })
}), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_DIVIDER, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_PUBLISH];


/***/ },

/***/ "./modules/catalog/ideas/IdeaOverview/index.js"
/*!*****************************************************!*\
  !*** ./modules/catalog/ideas/IdeaOverview/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _IdeaOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _IdeaOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./IdeaOverview */ "./modules/catalog/ideas/IdeaOverview/IdeaOverview.js");


/***/ },

/***/ "./modules/catalog/ideas/IdeasView/IdeasView.js"
/*!******************************************************!*\
  !*** ./modules/catalog/ideas/IdeasView/IdeasView.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./actions */ "./modules/catalog/ideas/IdeasView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "hasFilters"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


















const IdeasView = _ref => {
  let {
    listProps
  } = _ref;
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.useListModel)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const ideaEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_5__["default"].getByName('datasetIdea');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_16__.getDraftsEnabled)(ideaEntityType);
  const filters = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => draftsEnabled ? [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__.DRAFT_STATUS_FILTER] : [], [draftsEnabled]);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__["default"])(filters, _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles),
    {
      applyFilters,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_TYPE_IDEA).context(context), [context]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.useSolrQuery)({
    createQuery,
    applyFilters
  });
  return showTableView ? /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_10__["default"], {
    setTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.TOGGLE_TABLEVIEW
    }),
    rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_TYPE_IDEA,
    templateId: commons_types_Lookup__WEBPACK_IMPORTED_MODULE_5__["default"].getByName('datasetIdea').complementaryTemplateId()
  }) : /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.EntryListView, _extends({}, queryResults, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_9__.getPathFromViewName)('catalog__ideas__idea', {
          contextId: context.getId(),
          entryId: entry.getId()
        })
      };
    },
    includeTableView: true,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_17__.listActions,
    listActionsProps: {
      nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.STATUS_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry,
          translate
        } = _ref3;
        return {
          entry,
          draftsEnabled,
          publicTooltip: translate('publicIdeaTitle'),
          privateTooltip: translate('privateIdeaTitle')
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__.LIST_ACTION_INFO, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__.LIST_ACTION_EDIT]
    })]
  }));
};
IdeasView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.withListModelProviderAndLocation)(IdeasView));

/***/ },

/***/ "./modules/catalog/ideas/IdeasView/actions.js"
/*!****************************************************!*\
  !*** ./modules/catalog/ideas/IdeasView/actions.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaIdeas.nls */ "./modules/catalog/nls/escaIdeas.nls");
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _dialogs_CreateIdeaDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dialogs/CreateIdeaDialog */ "./modules/catalog/ideas/dialogs/CreateIdeaDialog/index.js");




const nlsBundles = [(catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_1___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default())];
const listActions = [{
  id: 'create',
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__.withListRefresh)(_dialogs_CreateIdeaDialog__WEBPACK_IMPORTED_MODULE_3__["default"], 'onCreate'),
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'actionTooltip',
  highlightId: 'listActionCreate'
}];


/***/ },

/***/ "./modules/catalog/ideas/IdeasView/index.js"
/*!**************************************************!*\
  !*** ./modules/catalog/ideas/IdeasView/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _IdeasView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _IdeasView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./IdeasView */ "./modules/catalog/ideas/IdeasView/IdeasView.js");


/***/ },

/***/ "./modules/catalog/ideas/dialogs/CreateIdeaDialog/CreateIdeaDialog.js"
/*!****************************************************************************!*\
  !*** ./modules/catalog/ideas/dialogs/CreateIdeaDialog/CreateIdeaDialog.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/nls/escaIdeas.nls */ "./modules/catalog/nls/escaIdeas.nls");
/* harmony import */ var catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["onCreate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



// eslint-disable-next-line max-len









/**
 *
 * @param {Context} context
 * @returns {Entry}
 */
const createPrototypeEntry = context => {
  const prototypeEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.createEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_IDEA);
  prototypeEntry.getMetadata().add(prototypeEntry.getResourceURI(), 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_IDEA);
  return prototypeEntry;
};
const CreateIdeaDialog = _ref => {
  let {
      onCreate
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((catalog_nls_escaIdeas_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_12__.useSnackbar)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__.useESContext)();
  const [prototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(() => createPrototypeEntry(context));
  return /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({}, props, {
    entry: prototypeEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_9__.LEVEL_MANDATORY,
    createHeaderLabel: translate('createHeader'),
    onEntryEdit: () => {
      onCreate();
      addSnackbar({
        message: translate('createIdeaSuccess')
      });
    }
  }));
};
CreateIdeaDialog.propTypes = {
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateIdeaDialog);

/***/ },

/***/ "./modules/catalog/ideas/dialogs/CreateIdeaDialog/index.js"
/*!*****************************************************************!*\
  !*** ./modules/catalog/ideas/dialogs/CreateIdeaDialog/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateIdeaDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateIdeaDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateIdeaDialog */ "./modules/catalog/ideas/dialogs/CreateIdeaDialog/CreateIdeaDialog.js");


/***/ },

/***/ "./modules/catalog/publishers/PublisherOverview/PublisherOverview.js"
/*!***************************************************************************!*\
  !*** ./modules/catalog/publishers/PublisherOverview/PublisherOverview.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/nls/escaPublishers.nls */ "./modules/catalog/nls/escaPublishers.nls");
/* harmony import */ var catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/common/dialogs/ReplaceLinkDialog */ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




























const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_9___default()), (catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_11___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_18___default())];
const getGlobalLinkedEntries = _ref => {
  let {
    resourceURI
  } = _ref;
  return commons_store__WEBPACK_IMPORTED_MODULE_26__.entrystore.newSolrQuery().objectUri(resourceURI);
};
const PublisherOverview = _ref2 => {
  let {
    overviewProps
  } = _ref2;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)(nlsBundles);
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_14__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_21__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_17__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_16__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getViewDefFromName)('catalog__publishers__publisher');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_23__.localize)(viewDefinition.title);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_24__.useSnackbar)();
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_27__.useUserState)();
  const descriptionItems = [{
    id: 'catalog',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_6__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_19__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_15__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_20__["default"], _extends({}, overviewProps, {
    backLabel: t('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_19__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__["default"]
    }),
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_19__.ACTION_EDIT, {
      id: 'replace-uri',
      labelNlsKey: 'changeURIButton',
      Dialog: commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_25__["default"],
      isVisible: () => userInfo.hasAdminRights,
      highlightId: 'overviewActionChangeUri',
      getProps: _ref3 => {
        let {
          translate
        } = _ref3;
        return {
          action: {
            getLinkedEntries: getGlobalLinkedEntries,
            onLinkChangeSuccess: () => addSnackbar({
              message: translate('URIChangeSnackbar')
            })
          }
        };
      }
    }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_19__.ACTION_REVISIONS, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_19__.ACTION_REMOVE), {}, {
      getProps: () => ({
        action: {
          checkReferences: true
        }
      })
    })]
  }));
};
PublisherOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_21__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_21__.withOverviewModelProvider)(PublisherOverview));

/***/ },

/***/ "./modules/catalog/publishers/PublisherOverview/index.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/publishers/PublisherOverview/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PublisherOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PublisherOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublisherOverview */ "./modules/catalog/publishers/PublisherOverview/PublisherOverview.js");


/***/ },

/***/ "./modules/catalog/publishers/PublishersView/PublishersView.js"
/*!*********************************************************************!*\
  !*** ./modules/catalog/publishers/PublishersView/PublishersView.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_components_filters_hooks_useRestrictedContextPlaceholder__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/filters/hooks/useRestrictedContextPlaceholder */ "./modules/commons/components/filters/hooks/useRestrictedContextPlaceholder.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./actions */ "./modules/catalog/publishers/PublishersView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "isLoading", "hasFilters"],
  _excluded2 = ["callbackResults"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const rdfTypes = ['foaf:Agent', 'foaf:Person', 'foaf:Organization'];
const getAllContextsEnabled = () => {
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName('publisher');
  return Boolean(entityType === null || entityType === void 0 ? void 0 : entityType.get('allContexts'));
};
const PublishersView = _ref => {
  let {
    listProps
  } = _ref;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__.useESContext)();
  const contextId = context.getId();
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.useListModel)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles);
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName('publisher');
  const includeContextFilter = getAllContextsEnabled();
  const filters = includeContextFilter && !showTableView ? [_objectSpread(_objectSpread({}, commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__.CONTEXT_CHECKBOX_FILTER), {}, {
    headerNlsKey: 'contextFilterHeaderCatalog',
    loadItems: () => [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_17__.ANY_FILTER_ITEM, {
      value: contextId
    }],
    defaultValue: contextId,
    initialSelection: contextId
  })] : [];
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__["default"])(filters),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const query = commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.newSolrQuery().rdfType(rdfTypes);
    if (!includeContextFilter) query.context(context);
    return query;
  }, [context, includeContextFilter]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.useSolrQuery)({
      createQuery,
      applyFilters,
      wait: isLoading,
      callback: includeContextFilter ? commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.getContextEntriesCallback : commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.getItemsCallback
    }),
    {
      callbackResults: items = []
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded2);
  const {
    shouldShowCustomPlaceholder,
    handleSelectAllContexts
  } = (0,commons_components_filters_hooks_useRestrictedContextPlaceholder__WEBPACK_IMPORTED_MODULE_16__["default"])({
    filterProps,
    includeContextFilter,
    contextId,
    queryResults,
    dispatch
  });
  const getTitleWithContextProps = _ref2 => {
    let {
      entry
    } = _ref2;
    if (contextId === entry.getContext().getId()) {
      return {
        primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getFullLengthLabel)(entry)
      };
    }
    return {
      primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getFullLengthLabel)(entry),
      secondary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getFullLengthLabel)(entry.getContext().getEntry(true))
    };
  };
  const getCanAccessOverview = entry => {
    const overviewName = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_19__.getOverviewName)(entityType);
    return Boolean(overviewName && entry.canAdministerEntry());
  };
  return showTableView ? /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_8__["default"], {
    setTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.TOGGLE_TABLEVIEW
    }),
    rdfType: rdfTypes,
    templateId: entityType.complementaryTemplateId(),
    filterScheme: filters
  }) : /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.EntryListView, _extends({}, queryResults, listProps, {
    items: items,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_21__.listActions,
    listActionsProps: {
      nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_21__.nlsBundles
    },
    getListItemProps: _ref3 => {
      let {
        entry
      } = _ref3;
      return getCanAccessOverview(entry) ? {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_14__.getPathFromViewName)('catalog__publishers__publisher', {
          contextId: entry.getContext().getId(),
          entryId: entry.getId()
        })
      } : {
        tooltip: translate('noAccessTooltip')
      };
    },
    listPlaceholderProps: shouldShowCustomPlaceholder ? {
      label: translate('noPublishersInCatalog'),
      children: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
        onClick: handleSelectAllContexts,
        sx: {
          marginTop: '-24px'
        }
      }, translate('showPublishersFromAllCatalogs'))
    } : undefined,
    includeTableView: true,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    columns: [{
      id: 'group',
      xs: 1,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.ListItemIcon,
      icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        color: "primary"
      })
    }, includeContextFilter ? _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.TITLE_WITH_CONTEXT_COLUMN), {}, {
      getProps: getTitleWithContextProps
    }) : _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__.LIST_ACTION_INFO, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_12__.LIST_ACTION_EDIT), {}, {
        isVisible: _ref4 => {
          let {
            entry
          } = _ref4;
          return entry.canAdministerEntry();
        }
      })]
    })]
  }));
};
PublishersView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_13__.withListModelProviderAndLocation)(PublishersView, () => ({
  showFilters: getAllContextsEnabled()
})));

/***/ },

/***/ "./modules/catalog/publishers/PublishersView/actions.js"
/*!**************************************************************!*\
  !*** ./modules/catalog/publishers/PublishersView/actions.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaPublishers.nls */ "./modules/catalog/nls/escaPublishers.nls");
/* harmony import */ var catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _dialogs_CreatePublisher__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dialogs/CreatePublisher */ "./modules/catalog/publishers/dialogs/CreatePublisher.js");




const nlsBundles = [(catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_0___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default())];
const listActions = [{
  id: 'create',
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.withListRefresh)(_dialogs_CreatePublisher__WEBPACK_IMPORTED_MODULE_3__["default"], 'onCreate'),
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'actionTooltipPublisher',
  highlightId: 'listActionCreate'
}];


/***/ },

/***/ "./modules/catalog/publishers/PublishersView/index.js"
/*!************************************************************!*\
  !*** ./modules/catalog/publishers/PublishersView/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PublishersView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PublishersView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublishersView */ "./modules/catalog/publishers/PublishersView/PublishersView.js");


/***/ },

/***/ "./modules/catalog/publishers/dialogs/CreatePublisher.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/publishers/dialogs/CreatePublisher.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaPublishers.nls */ "./modules/catalog/nls/escaPublishers.nls");
/* harmony import */ var catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["onCreate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




// eslint-disable-next-line max-len








/**
 *
 * @param {Context} context
 * @returns {Entry}
 */
const createPrototypeEntry = context => {
  const rdfType = config__WEBPACK_IMPORTED_MODULE_9__["default"].get('catalog.defaultAgentType');
  const prototypeEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_4__.createEntry)(context, rdfType);
  prototypeEntry.getMetadata().add(prototypeEntry.getResourceURI(), 'rdf:type', rdfType);
  return prototypeEntry;
};
const CreatePublisher = _ref => {
  let {
      onCreate
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((catalog_nls_escaPublishers_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.useSnackbar)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_8__.useESContext)();
  const [prototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(() => createPrototypeEntry(context));
  return /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({}, props, {
    entry: prototypeEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_10__.LEVEL_OPTIONAL,
    createHeaderLabel: translate('createFOAFButton'),
    onEntryEdit: () => {
      onCreate();
      addSnackbar({
        message: translate('createPublisherSuccess')
      });
    }
  }));
};
CreatePublisher.propTypes = {
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreatePublisher);

/***/ },

/***/ "./modules/catalog/showcases/ShowcaseOverview/ShowcaseOverview.js"
/*!************************************************************************!*\
  !*** ./modules/catalog/showcases/ShowcaseOverview/ShowcaseOverview.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaResults.nls */ "./modules/catalog/nls/escaResults.nls");
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var catalog_datasets_OverviewDatasetList__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! catalog/datasets/OverviewDatasetList */ "./modules/catalog/datasets/OverviewDatasetList/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./actions */ "./modules/catalog/showcases/ShowcaseOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

























const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_17___default())];
const ShowcaseOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.useEntry)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_13__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_7__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_21__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_16__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getViewDefFromName)('catalog__showcases__showcase');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_23__.localize)(viewDefinition.title);
  const descriptionItems = [{
    id: 'catalog',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_6__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_14__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getLabel)(entry)}`);
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_19__["default"], _extends({}, overviewProps, {
    backLabel: t('backTitle'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.ACTION_INFO_WITH_ICON), {}, {
      Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__["default"]
    }),
    entry: entry,
    nlsBundles: nlsBundles,
    descriptionItems: descriptionItems,
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_24__.sidebarActions
  }), /*#__PURE__*/React.createElement(catalog_datasets_OverviewDatasetList__WEBPACK_IMPORTED_MODULE_20__["default"], {
    entry: entry
  }));
};
ShowcaseOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_21__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_21__.withOverviewModelProvider)(ShowcaseOverview));

/***/ },

/***/ "./modules/catalog/showcases/ShowcaseOverview/actions.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/showcases/ShowcaseOverview/actions.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");

const sidebarActions = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_EDIT, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REVISIONS, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REMOVE, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_DIVIDER, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_0__.ACTION_PUBLISH];


/***/ },

/***/ "./modules/catalog/showcases/ShowcaseOverview/index.js"
/*!*************************************************************!*\
  !*** ./modules/catalog/showcases/ShowcaseOverview/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ShowcaseOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ShowcaseOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ShowcaseOverview */ "./modules/catalog/showcases/ShowcaseOverview/ShowcaseOverview.js");


/***/ },

/***/ "./modules/catalog/showcases/ShowcasesView/ShowcasesView.js"
/*!******************************************************************!*\
  !*** ./modules/catalog/showcases/ShowcasesView/ShowcasesView.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./actions */ "./modules/catalog/showcases/ShowcasesView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "hasFilters"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


















const ShowcasesView = _ref => {
  let {
    listProps
  } = _ref;
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.useListModel)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__.useESContext)();
  const showcaseEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getByName('datasetResult');
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_16__.getDraftsEnabled)(showcaseEntityType);
  const filters = (0,react__WEBPACK_IMPORTED_MODULE_13__.useMemo)(() => draftsEnabled ? [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_14__.DRAFT_STATUS_FILTER] : [], [draftsEnabled]);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_15__["default"])(filters, _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles),
    {
      applyFilters,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_SHOWCASE).context(context), [context]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.useSolrQuery)({
    createQuery,
    applyFilters
  });
  return showTableView ? /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_9__["default"], {
    setTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.TOGGLE_TABLEVIEW
    }),
    rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_SHOWCASE,
    templateId: commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getByName('datasetResult').complementaryTemplateId()
  }) : /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.EntryListView, _extends({}, queryResults, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getPathFromViewName)('catalog__showcases__showcase', {
          contextId: context.getId(),
          entryId: entry.getId()
        })
      };
    },
    includeTableView: true,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_17__.listActions,
    listActionsProps: {
      nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_17__.nlsBundles
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.STATUS_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry,
          translate
        } = _ref3;
        return {
          entry,
          draftsEnabled,
          publicTooltip: translate('publicResultTitle'),
          privateTooltip: translate('privateResultTitle')
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__.LIST_ACTION_INFO, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__.LIST_ACTION_EDIT]
    })]
  }));
};
ShowcasesView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_12__.withListModelProviderAndLocation)(ShowcasesView));

/***/ },

/***/ "./modules/catalog/showcases/ShowcasesView/actions.js"
/*!************************************************************!*\
  !*** ./modules/catalog/showcases/ShowcasesView/actions.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/nls/escaResults.nls */ "./modules/catalog/nls/escaResults.nls");
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _dialogs_CreateShowcaseDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dialogs/CreateShowcaseDialog */ "./modules/catalog/showcases/dialogs/CreateShowcaseDialog/index.js");




const nlsBundles = [(catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_2___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default())];
const listActions = [{
  id: 'create',
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__.withListRefresh)(_dialogs_CreateShowcaseDialog__WEBPACK_IMPORTED_MODULE_3__["default"], 'onCreate'),
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'actionTooltip',
  highlightId: 'listActionCreate'
}];


/***/ },

/***/ "./modules/catalog/showcases/ShowcasesView/index.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/showcases/ShowcasesView/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ShowcasesView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ShowcasesView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ShowcasesView */ "./modules/catalog/showcases/ShowcasesView/ShowcasesView.js");


/***/ },

/***/ "./modules/catalog/showcases/dialogs/CreateShowcaseDialog/CreateShowcaseDialog.js"
/*!****************************************************************************************!*\
  !*** ./modules/catalog/showcases/dialogs/CreateShowcaseDialog/CreateShowcaseDialog.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaResults.nls */ "./modules/catalog/nls/escaResults.nls");
/* harmony import */ var catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["onCreate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



// eslint-disable-next-line max-len








const createPrototypeEntry = context => {
  const prototypeEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.createEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_SHOWCASE);
  prototypeEntry.getMetadata().add(prototypeEntry.getResourceURI(), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.namespaces.expand('rdf:type'), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_SHOWCASE));
  return prototypeEntry;
};
const CreateShowcaseDialog = _ref => {
  let {
      onCreate
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((catalog_nls_escaResults_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.useSnackbar)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_8__.useESContext)();
  const [prototypeEntry] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(() => createPrototypeEntry(context));
  return /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_6__["default"]
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, props, {
    entry: prototypeEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_10__.LEVEL_MANDATORY,
    createHeaderLabel: translate('createHeader'),
    onEntryEdit: () => {
      onCreate();
      addSnackbar({
        message: translate('createShowcaseSuccess')
      });
    }
  }));
};
CreateShowcaseDialog.propTypes = {
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateShowcaseDialog);

/***/ },

/***/ "./modules/catalog/showcases/dialogs/CreateShowcaseDialog/index.js"
/*!*************************************************************************!*\
  !*** ./modules/catalog/showcases/dialogs/CreateShowcaseDialog/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateShowcaseDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateShowcaseDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateShowcaseDialog */ "./modules/catalog/showcases/dialogs/CreateShowcaseDialog/CreateShowcaseDialog.js");


/***/ },

/***/ "./modules/catalog/statistics/DownloadCSVButton/DownloadCSVButton.js"
/*!***************************************************************************!*\
  !*** ./modules/catalog/statistics/DownloadCSVButton/DownloadCSVButton.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_GetApp__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material/GetApp */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/GetApp.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! file-saver/FileSaver */ "./node_modules/.pnpm/file-saver@1.3.8/node_modules/file-saver/FileSaver.js");
/* harmony import */ var file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _utils_csvData__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/csvData */ "./modules/catalog/statistics/utils/csvData.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const useDownloadCSV = timeRange => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    error,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const downloadCSV = () => {
    runAsync((async () => {
      const fileName = await (0,_utils_csvData__WEBPACK_IMPORTED_MODULE_11__.getFileName)(context, timeRange);
      const csvData = await (0,_utils_csvData__WEBPACK_IMPORTED_MODULE_11__.getCSVData)(context, timeRange);
      const blob = new Blob([csvData], {
        type: 'text/csv;charset=utf-8'
      });
      (0,file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9__.saveAs)(blob, fileName, true);
    })());
  };
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (error) {
      console.error(error);
    }
  }, [error]);
  return {
    downloadCSV,
    error
  };
};
const DownloadCSVButton = _ref => {
  let {
    timeRange,
    disabled
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const {
    downloadCSV
  } = useDownloadCSV(timeRange);
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_5__["default"], {
    title: translate('actionsExportTooltip')
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material_GetApp__WEBPACK_IMPORTED_MODULE_4__["default"], null),
    onClick: downloadCSV,
    disabled: disabled
  }, translate('actionsExport'))));
};
DownloadCSVButton.propTypes = {
  timeRange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DownloadCSVButton);

/***/ },

/***/ "./modules/catalog/statistics/DownloadCSVButton/index.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/statistics/DownloadCSVButton/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DownloadCSVButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DownloadCSVButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DownloadCSVButton */ "./modules/catalog/statistics/DownloadCSVButton/DownloadCSVButton.js");


/***/ },

/***/ "./modules/catalog/statistics/PrintButton/PrintButton.js"
/*!***************************************************************!*\
  !*** ./modules/catalog/statistics/PrintButton/PrintButton.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_Print__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material/Print */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Print.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _PrintButton_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./PrintButton.scss */ "./modules/catalog/statistics/PrintButton/PrintButton.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const PrintButton = _ref => {
  let {
    disabled
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  const print = () => {
    window.print();
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
    color: "secondary",
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material_Print__WEBPACK_IMPORTED_MODULE_1__["default"], null),
    onClick: print,
    disabled: disabled
  }, translate('actionsPrint'));
};
PrintButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PrintButton);

/***/ },

/***/ "./modules/catalog/statistics/PrintButton/index.js"
/*!*********************************************************!*\
  !*** ./modules/catalog/statistics/PrintButton/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PrintButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PrintButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PrintButton */ "./modules/catalog/statistics/PrintButton/PrintButton.js");


/***/ },

/***/ "./modules/catalog/statistics/StatisticsChart.js"
/*!*******************************************************!*\
  !*** ./modules/catalog/statistics/StatisticsChart.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ChartFilterControls: () => (/* binding */ ChartFilterControls),
/* harmony export */   TimeRangeControl: () => (/* binding */ TimeRangeControl),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Clear.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/InputLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/FormControl */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/FormControlLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material_FormGroup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/FormGroup */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js");
/* harmony import */ var _mui_material_Select__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material/Select */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material/Checkbox */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/Loader/Loader */ "./modules/commons/components/Loader/Loader.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/nls/escoChart.nls */ "./modules/commons/nls/escoChart.nls");
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/chart/Time */ "./modules/commons/components/chart/Time/index.js");
/* harmony import */ var commons_components_chart_colors__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/chart/colors */ "./modules/commons/components/chart/colors.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var _utils_data__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./utils/data */ "./modules/catalog/statistics/utils/data.js");
/* harmony import */ var _utils_timeRange__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./utils/timeRange */ "./modules/catalog/statistics/utils/timeRange.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./index.scss */ "./modules/catalog/statistics/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
























const TimeRangeControl = _ref => {
  let {
    timeRangeValue,
    updateTimeRange,
    className = '',
    context
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_19___default()));
  const {
    data: timeRanges,
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    runAsync(_utils_timeRange__WEBPACK_IMPORTED_MODULE_25__["default"].getTimeRanges(context));
  }, [context, runAsync]);
  return /*#__PURE__*/React.createElement(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_9__["default"], {
    classes: {
      root: `escaStatisticsFilterControl__timeRange ${className}`
    },
    variant: "filled",
    disabled: status === 'pending'
  }, /*#__PURE__*/React.createElement(_mui_material_InputLabel__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "time-range-select-label"
  }, translate('statsDialogTimeRange')), /*#__PURE__*/React.createElement(_mui_material_Select__WEBPACK_IMPORTED_MODULE_12__["default"], {
    inputProps: {
      'aria-labelledby': 'time-range-select-label'
    },
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return updateTimeRange(target.value);
    },
    value: timeRangeValue,
    variant: "filled",
    margin: "none"
  }, timeRanges && timeRanges.map(timeRange => /*#__PURE__*/React.createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_7__["default"], {
    key: timeRange.value,
    value: timeRange.value
  }, timeRange.labelNlsKey ? translate(timeRange.labelNlsKey) : timeRange.label))));
};
TimeRangeControl.propTypes = {
  timeRangeValue: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  updateTimeRange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  context: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};
const ChartFilterControls = _ref3 => {
  let {
    filter,
    updateFilter,
    context
  } = _ref3;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_19___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsFilterControls",
    "data-highlight-id": "statisticsFilters"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsFilterControl__search"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    value: filter.searchQuery,
    placeholder: t('searchPlaceholder'),
    classes: {
      root: 'escaStatisticsSearch_root'
    },
    onChange: e => updateFilter('searchQuery', e.target.value),
    fullWidth: true,
    inputProps: {
      'aria-label': 'Search'
    },
    startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      position: "start",
      classes: {
        root: 'escaStatisticsSearch_adornment'
      }
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null)),
    endAdornment: filter.searchQuery ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      position: "end"
    }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__["default"], {
      title: t('searchClearLabel')
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      "aria-label": t('searchClearLabel'),
      onClick: () => updateFilter('searchQuery', ''),
      onMouseDown: e => e.preventDefault(),
      color: "secondary"
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null)))) : null
  })), /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsFilterControl__moreFilters"
  }, /*#__PURE__*/React.createElement(TimeRangeControl, {
    timeRangeValue: filter.timeRange,
    updateTimeRange: timeRangeValue => updateFilter('timeRange', timeRangeValue),
    context: context,
    className: "escaStatisticsFilterControl__timeRange--margin-left"
  }), /*#__PURE__*/React.createElement(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_9__["default"], {
    classes: {
      root: 'escaStatisticsFilterControl__resourceType'
    },
    margin: "none"
  }, /*#__PURE__*/React.createElement(_mui_material_FormGroup__WEBPACK_IMPORTED_MODULE_11__["default"], {
    classes: {
      root: 'escaStatisticsResourceType__item'
    }
  }, /*#__PURE__*/React.createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_10__["default"], {
    control: /*#__PURE__*/React.createElement(_mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_13__["default"], {
      checked: filter.file,
      onChange: () => {
        if (filter.api || filter.documentFile) {
          updateFilter('file', !filter.file);
        }
      },
      name: "File"
    }),
    label: t('tabItemFiles')
  }), /*#__PURE__*/React.createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_10__["default"], {
    control: /*#__PURE__*/React.createElement(_mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_13__["default"], {
      checked: filter.documentFile,
      onChange: () => {
        if (filter.file || filter.api) {
          updateFilter('documentFile', !filter.documentFile);
        }
      },
      name: "Documents"
    }),
    label: t('tabItemDocuments')
  }), /*#__PURE__*/React.createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_10__["default"], {
    control: /*#__PURE__*/React.createElement(_mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_13__["default"], {
      checked: filter.api,
      onChange: () => {
        if (filter.file || filter.documentFile) {
          updateFilter('api', !filter.api);
        }
      },
      name: "API"
    }),
    label: t('tabItemApiCalls')
  })))));
};
ChartFilterControls.propTypes = {
  filter: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    searchQuery: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    timeRange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    file: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
    documentFile: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
    api: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
  }),
  updateFilter: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  context: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};
const Chart = _ref4 => {
  var _chartData$datasets;
  let {
    chartData
  } = _ref4;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)([(commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_20___default()), (catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_19___default())]);
  const dataExists = chartData === null || chartData === void 0 || (_chartData$datasets = chartData.datasets) === null || _chartData$datasets === void 0 ? void 0 : _chartData$datasets.length;
  return dataExists ? /*#__PURE__*/React.createElement(commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_21__["default"], {
    data: chartData,
    colors: commons_components_chart_colors__WEBPACK_IMPORTED_MODULE_22__.COLOURS_BAR_CHART,
    dimensions: {
      height: '300px'
    },
    options: {
      scales: {
        y: {
          title: {
            display: true,
            text: translate('statsChartAxisY')
          }
        }
      }
    }
  }) : /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_17__["default"], {
    label: translate('noDataMessage')
  });
};
Chart.propTypes = {
  chartData: prop_types__WEBPACK_IMPORTED_MODULE_1___default().objectOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}))).isRequired
};
const StatisticsChart = _ref5 => {
  let {
    statisticsData,
    timeRange
  } = _ref5;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_23__.useESContext)();
  const {
    data: chartData,
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__["default"])(null);
  const previousStatisticsData = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(statisticsData);
  /**
   * New graphData should only be requested when new statisticsData.
   * Timerange is only used as a render option for the chart and
   * should not trigger a new request.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    if (statisticsData === previousStatisticsData.current) return;
    previousStatisticsData.current = statisticsData;
    runAsync((0,_utils_data__WEBPACK_IMPORTED_MODULE_24__.getStatisticsGraphData)(statisticsData, context, timeRange));
  }, [runAsync, statisticsData, context, timeRange]);
  return status === 'resolved' ? /*#__PURE__*/React.createElement(Chart, {
    chartData: chartData
  }) : /*#__PURE__*/React.createElement(commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_14__["default"], null);
};
StatisticsChart.propTypes = {
  statisticsData: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  timeRange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatisticsChart);

/***/ },

/***/ "./modules/catalog/statistics/StatisticsList.js"
/*!******************************************************!*\
  !*** ./modules/catalog/statistics/StatisticsList.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   StatisticsList: () => (/* binding */ StatisticsList),
/* harmony export */   StatisticsListHeader: () => (/* binding */ StatisticsListHeader)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_icons_material_InsertDriveFile__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material/InsertDriveFile */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/InsertDriveFile.js");
/* harmony import */ var _mui_icons_material_SettingsApplications__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/SettingsApplications */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsApplications.js");
/* harmony import */ var commons_components_Pagination__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/Pagination */ "./modules/commons/components/Pagination/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _utils_distribution__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/distribution */ "./modules/catalog/statistics/utils/distribution.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./index.scss */ "./modules/catalog/statistics/index.scss");










const StatisticsListHeader = () => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "escaStatisticsListHeader",
    key: "header"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    spacing: 4,
    justifyContent: "flex-start",
    alignItems: "center",
    width: "100%"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    size: {
      xs: 1
    },
    className: "escaStatisticsListHeader__item"
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    size: {
      xs: 4
    },
    className: "escaStatisticsListHeader__item"
  }, t('tabHeaderTitle')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    size: {
      xs: 3
    },
    className: "escaStatisticsListHeader__item"
  }, t('tabHeaderDataset')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    size: {
      xs: 2
    },
    className: "escaStatisticsListHeader__item",
    justifyContent: "center"
  }, t('tabHeaderFormat')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    size: {
      xs: 2
    },
    className: "escaStatisticsListHeader__item",
    justifyContent: "center"
  }, t('tabHeaderDownload'))));
};
const StatisticsList = _ref => {
  let {
    paginatedData,
    selectedURI,
    rowsPerPage,
    page,
    count,
    handleSelectionChange
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const handleListItemClick = uri => {
    const newSelectionURI = uri === selectedURI ? '' : uri;
    handleSelectionChange({
      selectedURI: newSelectionURI
    });
  };
  const handlePageChange = (_event, newPage) => {
    handleSelectionChange({
      page: newPage,
      selectedURI: ''
    });
  };
  if (!paginatedData.length) return null;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
    className: "escaStatisticsList"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StatisticsListHeader, null), paginatedData.map((dataItem, index) => {
    const {
      distributionName,
      resourceName
    } = dataItem;
    const fileOrDocumentFile = dataItem.type === _utils_distribution__WEBPACK_IMPORTED_MODULE_11__.RESOURCE_TYPE_FILE || dataItem.type === 'documentFile';
    const apiCallTitle = distributionName ? translate('apiCallTitle', distributionName) : translate('apiCallTitleFallback');
    const title = fileOrDocumentFile ? resourceName : apiCallTitle;
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"]
    // eslint-disable-next-line react/no-array-index-key
    , {
      key: `${dataItem.uri}-${index}`,
      classes: {
        root: dataItem.uri === selectedURI ? 'escaStatisticsListItem--selected' : 'escaStatisticsListItem'
      },
      onClick: () => handleListItemClick(dataItem.uri)
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      width: "100%",
      container: true,
      spacing: 4,
      style: {
        alignItems: 'center'
      }
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      container: true,
      size: {
        xs: 1
      }
    }, fileOrDocumentFile ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_icons_material_InsertDriveFile__WEBPACK_IMPORTED_MODULE_6__["default"], null) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_icons_material_SettingsApplications__WEBPACK_IMPORTED_MODULE_7__["default"], null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      container: true,
      size: {
        xs: 4
      }
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      classes: {
        root: 'escaStatisticsListItemText'
      },
      primary: title,
      slotProps: {
        primary: {
          className: 'escaStatisticsListItemText__primary'
        }
      }
    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      container: true,
      size: {
        xs: 3
      }
    }, dataItem.datasetName), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      container: true,
      size: {
        xs: 2
      },
      justifyContent: "center"
    }, fileOrDocumentFile ? (dataItem.abbrevFormat || dataItem.format).toUpperCase() : 'API'), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      container: true,
      size: {
        xs: 2
      },
      justifyContent: "center"
    }, dataItem.downloadCount)));
  }), count && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(commons_components_Pagination__WEBPACK_IMPORTED_MODULE_8__["default"], {
    count: count,
    page: page,
    onPageChange: handlePageChange,
    rowsPerPage: rowsPerPage
  }));
};
StatisticsList.propTypes = {
  paginatedData: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  handleSelectionChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  selectedURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  rowsPerPage: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  count: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  page: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)
};


/***/ },

/***/ "./modules/catalog/statistics/index.js"
/*!*********************************************!*\
  !*** ./modules/catalog/statistics/index.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaStatistics.nls */ "./modules/catalog/nls/escaStatistics.nls");
/* harmony import */ var catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var catalog_utils_react_catalog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/utils/react/catalog */ "./modules/catalog/utils/react/catalog.js");
/* harmony import */ var commons_hooks_useIsMounted__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useIsMounted */ "./modules/commons/hooks/useIsMounted.js");
/* harmony import */ var commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/Loader/Loader */ "./modules/commons/components/Loader/Loader.js");
/* harmony import */ var _utils_timeRange__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./utils/timeRange */ "./modules/catalog/statistics/utils/timeRange.js");
/* harmony import */ var _utils_distribution__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./utils/distribution */ "./modules/catalog/statistics/utils/distribution.js");
/* harmony import */ var _StatisticsList__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./StatisticsList */ "./modules/catalog/statistics/StatisticsList.js");
/* harmony import */ var _DownloadCSVButton__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./DownloadCSVButton */ "./modules/catalog/statistics/DownloadCSVButton/index.js");
/* harmony import */ var _PrintButton__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./PrintButton */ "./modules/catalog/statistics/PrintButton/index.js");
/* harmony import */ var _utils_data__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./utils/data */ "./modules/catalog/statistics/utils/data.js");
/* harmony import */ var _StatisticsChart__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./StatisticsChart */ "./modules/catalog/statistics/StatisticsChart.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





















const ROWS_PER_PAGE = 5;
const StatisticsView = () => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__.useESContext)();
  const [isPublic] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_7__["default"])(catalog_utils_react_catalog__WEBPACK_IMPORTED_MODULE_11__.isCatalogPublic, context);
  const isInitialRequest = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(true);
  const [selection, setSelection] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)({
    page: 0,
    selectedURI: ''
  });
  const [paginatedData, setPaginatedData] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [chartData, setChartData] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)();
  const [filter, setFilter] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)({
    searchQuery: '',
    timeRange: _utils_timeRange__WEBPACK_IMPORTED_MODULE_14__.TIME_RANGE_THIS_MONTH,
    file: true,
    documentFile: true,
    api: true
  });
  const isMounted = (0,commons_hooks_useIsMounted__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const {
    data: statisticsData,
    status,
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((catalog_nls_escaStatistics_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const updateFilter = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((filterKey, filterParam) => {
    setFilter(state => _objectSpread(_objectSpread({}, state), {}, {
      [filterKey]: filterParam
    }));
  }, []);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!filter.searchQuery || filter.searchQuery.length > 2) {
      runAsync((0,_utils_data__WEBPACK_IMPORTED_MODULE_19__.getStatisticsData)(context, filter.timeRange, (0,_utils_distribution__WEBPACK_IMPORTED_MODULE_15__.getResourceType)(filter.file, filter.api, filter.documentFile), filter.searchQuery, isMounted).then(data =>
      /**
       * Since there is no difference between the requests
       * for distribution files and document files,
       * the statistics data needs to be filtered.
       */
      (0,_utils_data__WEBPACK_IMPORTED_MODULE_19__.filterByFileType)(data, filter.file, filter.documentFile)));
    }
  }, [runAsync, context, filter, isMounted]);

  /**
   * Make sure pagination is reset on filter change,
   * since changing filters results in a new request
   * being made.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    setSelection({
      selectedURI: '',
      page: 0
    });
  }, [filter]);

  // fetch secondary time range if no data for primary time range
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!statisticsData || !isInitialRequest.current) {
      return;
    }
    isInitialRequest.current = false;
    if (!(statisticsData !== null && statisticsData !== void 0 && statisticsData.length)) {
      updateFilter('timeRange', _utils_timeRange__WEBPACK_IMPORTED_MODULE_14__.TIME_RANGE_THIS_YEAR);
    }
  }, [statisticsData, updateFilter]);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    /**
     * Make sure fetching statistics data is resolved before
     * getting derived data, since selection change happens
     * earlier.
     */
    if (!statisticsData || status !== 'resolved') return;
    const {
      selectedURI,
      page
    } = selection;
    const newPaginatedData = statisticsData.slice(page * ROWS_PER_PAGE, (page + 1) * ROWS_PER_PAGE);
    const selectedPaginatedData = newPaginatedData && selectedURI ? newPaginatedData.filter(item => item.uri === selectedURI) : newPaginatedData;
    setPaginatedData(newPaginatedData);
    setChartData(selectedPaginatedData);
  }, [selection, statisticsData, status]);
  const handleSelectionChange = newSelection => {
    setSelection(state => _objectSpread(_objectSpread({}, state), newSelection));
  };
  if (isLoading && isInitialRequest.current) return /*#__PURE__*/React.createElement(commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_13__["default"], null);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escaStatistics__heading",
    variant: "h1"
  }, translate('statsViewHeader')), isPublic ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsActions"
  }, /*#__PURE__*/React.createElement(_StatisticsChart__WEBPACK_IMPORTED_MODULE_20__.ChartFilterControls, {
    filter: filter,
    updateFilter: updateFilter,
    context: context,
    disabled: isLoading
  }), /*#__PURE__*/React.createElement("div", {
    className: "escaStatisticsActions_buttonGroup",
    "data-highlight-id": "statisticsDownloadOrPrint"
  }, /*#__PURE__*/React.createElement(_DownloadCSVButton__WEBPACK_IMPORTED_MODULE_17__["default"], {
    timeRange: filter.timeRange,
    disabled: !((chartData === null || chartData === void 0 ? void 0 : chartData.length) > 0)
  }), /*#__PURE__*/React.createElement(_PrintButton__WEBPACK_IMPORTED_MODULE_18__["default"], {
    disabled: !((chartData === null || chartData === void 0 ? void 0 : chartData.length) > 0)
  }))), isLoading ? /*#__PURE__*/React.createElement(commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_13__["default"], null) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_StatisticsChart__WEBPACK_IMPORTED_MODULE_20__["default"], {
    statisticsData: chartData,
    timeRange: filter.timeRange
  }), /*#__PURE__*/React.createElement(_StatisticsList__WEBPACK_IMPORTED_MODULE_16__.StatisticsList, {
    paginatedData: paginatedData,
    selectedURI: selection === null || selection === void 0 ? void 0 : selection.selectedURI,
    count: statisticsData === null || statisticsData === void 0 ? void 0 : statisticsData.length,
    page: selection === null || selection === void 0 ? void 0 : selection.page,
    handleSelectionChange: handleSelectionChange,
    rowsPerPage: ROWS_PER_PAGE
  }))) : /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_8__["default"], {
    label: translate('statsNotPublishedCatalog')
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatisticsView);

/***/ },

/***/ "./modules/catalog/statistics/utils/csvData.js"
/*!*****************************************************!*\
  !*** ./modules/catalog/statistics/utils/csvData.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getCSVData: () => (/* binding */ getCSVData),
/* harmony export */   getFileName: () => (/* binding */ getFileName)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var papaparse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! papaparse */ "./node_modules/.pnpm/papaparse@5.5.4/node_modules/papaparse/papaparse.min.js");
/* harmony import */ var papaparse__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(papaparse__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var catalog_utils_react_dcat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/utils/react/dcat */ "./modules/catalog/utils/react/dcat.js");
/* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./data */ "./modules/catalog/statistics/utils/data.js");
/* harmony import */ var _timeRange__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./timeRange */ "./modules/catalog/statistics/utils/timeRange.js");





const {
  serializeSelection
} = _timeRange__WEBPACK_IMPORTED_MODULE_4__["default"];
const RESOURCE_TYPE_ALL = 'all';

/**
 *
 * @param timeRangeValue
 * @returns {Promise<{filename: string, data: *}>}
 */
const getCSVData = async (context, timeRangeValue) => {
  try {
    // gets only the resource URIs of downloads and the counts
    const statisticItems = await (0,_data__WEBPACK_IMPORTED_MODULE_3__.getStatisticsItems)(context, RESOURCE_TYPE_ALL, timeRangeValue);

    // enrich the raw statistics data with relevant dataset/distribution entries titles
    const statisticItemsEnriched = await (0,_data__WEBPACK_IMPORTED_MODULE_3__.getStatisticItemsRelevantEntries)(context, statisticItems);
    return papaparse__WEBPACK_IMPORTED_MODULE_1___default().unparse(statisticItemsEnriched);
  } catch (error) {
    console.error(error);
    throw new Error(`Failed exporting CSV file caused by: ${error}`);
  }
};
const getFileName = async (context, timeRangeValue) => {
  const catalogLabel = await (0,catalog_utils_react_dcat__WEBPACK_IMPORTED_MODULE_2__.getCatalogLabel)(context);
  const date = serializeSelection(timeRangeValue);
  return `Statistics - ${catalogLabel} - ${date}.csv`;
};

/***/ },

/***/ "./modules/catalog/statistics/utils/data.js"
/*!**************************************************!*\
  !*** ./modules/catalog/statistics/utils/data.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   filterByFileType: () => (/* binding */ filterByFileType),
/* harmony export */   getChartData: () => (/* binding */ getChartData),
/* harmony export */   getMultiDatasetChartData: () => (/* binding */ getMultiDatasetChartData),
/* harmony export */   getStatisticItemsRelevantEntries: () => (/* binding */ getStatisticItemsRelevantEntries),
/* harmony export */   getStatisticsData: () => (/* binding */ getStatisticsData),
/* harmony export */   getStatisticsGraphData: () => (/* binding */ getStatisticsGraphData),
/* harmony export */   getStatisticsItems: () => (/* binding */ getStatisticsItems),
/* harmony export */   hasChartData: () => (/* binding */ hasChartData)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_statistics_api__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/statistics/api */ "./modules/commons/statistics/api.js");
/* harmony import */ var catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/statistics/utils/distribution */ "./modules/catalog/statistics/utils/distribution.js");
/* harmony import */ var catalog_utils_react_rowstoreApi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/utils/react/rowstoreApi */ "./modules/catalog/utils/react/rowstoreApi.js");
/* harmony import */ var catalog_statistics_utils_timeRange__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! catalog/statistics/utils/timeRange */ "./modules/catalog/statistics/utils/timeRange.js");
/* harmony import */ var commons_util_mimeTypes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/mimeTypes */ "./modules/commons/util/mimeTypes.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/distributions */ "./modules/catalog/datasets/DatasetOverview/utils/distributions.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var catalog_statistics_utils_search__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! catalog/statistics/utils/search */ "./modules/catalog/statistics/utils/search.js");
const _excluded = ["count"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

















const EMPTY_CHART_DATASET = {
  datasets: []
};

/**
 * The API distribution entry has a accessURL which points to a Resource URI whose entry refers to the
 * PipelineResult (for the creation of the API).
 *
 * @todo remove as soon as the api/distribution model is fixed and there's a proper way to detect a distribution API
 *
 * @param entry
 * @returns {boolean}
 */
const isPipelineResultEntry = entry => {
  const {
    info,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_15__.spreadEntry)(entry);
  const rdfType = info.getGraph().findFirstValue(resourceURI, 'rdf:type');
  return _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.namespaces.expand('store:PipelineResult') === rdfType;
};

/**
 * Fetch the distribution/dataset (parent) entry metadata to render their titles
 *
 * @param context
 * @param items
 * @returns {Promise<*[]|*>}
 */
const getStatisticItemsRelevantEntries = async (context, items) => {
  const statsEntries = await commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystoreUtil.loadEntriesByResourceURIs(items.map(_ref => {
    let {
      uri
    } = _ref;
    return uri;
  }), null, true);
  const existingEntryResourceURIs = statsEntries.map(e => e === null || e === void 0 ? void 0 : e.getResourceURI());
  const statsItems = items.filter(_ref2 => {
    let {
      uri
    } = _ref2;
    return existingEntryResourceURIs.includes(uri);
  });
  try {
    const resourceURIs = statsItems.map(item => item.uri);
    const [fileEntries, distributionEntries, datasetEntries] = await (0,catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_9__.getParentEntriesByResourceURI)(resourceURIs, context);
    return statsItems.map(item => {
      const copyItem = _objectSpread({}, item); // shallow copy to avoid removing a
      const {
        uri,
        type,
        count
      } = copyItem;
      let fileType; // used to distinguish document files from distribution files

      // the following structure will also be used as a the CSV header in the export reducer
      // remove this if the Papaparse:transformHeader configuration works
      delete copyItem.count;
      delete copyItem.type;

      // Get the file format for the different file entries (distribution files or document files)
      let format;
      if (distributionEntries.has(uri)) {
        const distEntry = distributionEntries.get(uri);
        format = distEntry.getMetadata().findFirstValue(distEntry.getResourceURI(), 'dcterms:format');
      } else {
        const entry = fileEntries.get(uri);
        format = (entry === null || entry === void 0 ? void 0 : entry.getEntryInfo().getFormat()) || '';
        fileType = 'documentFile';
      }
      format = format && format.trim();
      return _objectSpread(_objectSpread({}, copyItem), {}, {
        type: fileType || type,
        format,
        abbrevFormat: format ? (0,commons_util_mimeTypes__WEBPACK_IMPORTED_MODULE_12__.getAbbreviatedMimeType)(format) : '-',
        // some formats have trailing space
        datasetName: datasetEntries.has(uri) ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(datasetEntries.get(uri)) : null,
        distributionName: distributionEntries.has(uri) ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(distributionEntries.get(uri)) : null,
        resourceName: fileEntries.has(uri) ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(fileEntries.get(uri)) : null,
        downloadCount: count
      });
    });
  } catch (err) {
    // no statistics found
    console.log(err);
    return [];
  }
};
/**
 *
 * @param context
 * @param resourceType
 * @param timeRange
 * @returns {Promise<*|[]>}
 */
const getStatisticsItems = async (context, resourceType, timeRange) => {
  let statsItems = [];
  try {
    statsItems = await commons_statistics_api__WEBPACK_IMPORTED_MODULE_8__["default"].getTopStatistics(context.getId(), resourceType, catalog_statistics_utils_timeRange__WEBPACK_IMPORTED_MODULE_11__["default"].toDateObject(timeRange));
  } catch (err) {
    // no statistics found
    console.log(err);
    return Promise.reject(err);
  }
  return statsItems;
};

/**
 *
 * @param {Entry[]} entries
 * @param {Entry} context
 * @param {string} timeRange
 */
const getStatisticsEntries = (entries, context, timeRange) => {
  const statisticsEntriesPromises = entries.map(entry => {
    const entryId = (0,catalog_datasets_DatasetOverview_utils_distributions__WEBPACK_IMPORTED_MODULE_14__.isAPIDistribution)(entry) || isPipelineResultEntry(entry) ? (0,catalog_utils_react_rowstoreApi__WEBPACK_IMPORTED_MODULE_10__.getRowstoreAPIUUID)(entry) // @todo @valentino check if this works with aliasses
    : entry.getId();
    return commons_statistics_api__WEBPACK_IMPORTED_MODULE_8__["default"].getEntryStatistics(context.getId(), entryId, catalog_statistics_utils_timeRange__WEBPACK_IMPORTED_MODULE_11__["default"].toDateObject(timeRange));
  });
  return Promise.all(statisticsEntriesPromises).catch(error => {
    console.error(error);
    throw Error('Error while trying to fetch entry statistics');
  });
};
const getMultiDatasetChartData = async function getMultiDatasetChartData(entries, context, timeRange) {
  let names = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  const labels = entries.map((entry, index) => {
    const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(entry);
    if (label) return label;
    if (names.length) return names[index];
    return 'No label';
  });
  const statisticsEntries = await getStatisticsEntries(entries, context, timeRange);
  const datasets = statisticsEntries.map(function () {
    let _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    let index = arguments.length > 1 ? arguments[1] : undefined;
    let {
        count
      } = _ref3,
      statisticsData = _objectWithoutProperties(_ref3, _excluded);
    const data = catalog_statistics_utils_timeRange__WEBPACK_IMPORTED_MODULE_11__["default"].normalizeChartData(timeRange, statisticsData);
    return {
      data,
      label: labels[index]
    };
  });
  return {
    datasets
  };
};

/**
 * Checks if chart datasets contains at least one value
 *
 * @param {{}} chartData
 * @returns {boolean|undefined}
 */
const hasChartData = chartData => {
  var _chartData$datasets;
  if (!(chartData !== null && chartData !== void 0 && (_chartData$datasets = chartData.datasets) !== null && _chartData$datasets !== void 0 && _chartData$datasets.length)) return;
  return chartData.datasets.some(_ref4 => {
    let {
      data
    } = _ref4;
    return data.some(_ref5 => {
      let {
        y
      } = _ref5;
      return y;
    });
  });
};

/**
 *
 * @param context
 * @param items
 * @param timeRange
 * @returns {Promise<{datasets: []}>}
 */
const getChartData = async (context, items, timeRange) => {
  const resourceURIs = items.map(item => item.uri);
  const resourceFallbackDatasetNames = items.map(item => {
    return item.type === catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_9__.RESOURCE_TYPE_API ? `${item.datasetName} (API)` : item.datasetName;
  });

  /**
   * @type {Entry[]}
   */
  const renderedEntries = await commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystoreUtil.loadEntriesByResourceURIs(resourceURIs, context, true);
  return getMultiDatasetChartData(renderedEntries, context, timeRange, resourceFallbackDatasetNames);
};

/**
 *
 * @param {object} context
 * @param {string} timeRange
 * @param {string} resourceType
 * @param {object} searchQuery
 * @param {boolean} checkContinue
 * @returns {Promise<{datasets: []}>}
 */
const getStatisticsData = async (context, timeRange, resourceType, searchQuery, checkContinue) => {
  const statisticsItems = await getStatisticsItems(context, resourceType, timeRange);
  if (!statisticsItems.length) return [];
  const resourceURISet = await (0,catalog_statistics_utils_search__WEBPACK_IMPORTED_MODULE_16__["default"])(searchQuery, context, checkContinue);
  const filteredItems = statisticsItems.filter(item => resourceURISet.has(item.uri));
  if (!filteredItems.length) return [];
  const contextStatisticsItems = await getStatisticItemsRelevantEntries(context, filteredItems);
  return contextStatisticsItems;
};
const getStatisticsGraphData = async (statisticsData, context, timeRange) => {
  if (!(statisticsData !== null && statisticsData !== void 0 && statisticsData.length)) return EMPTY_CHART_DATASET;
  const chartData = await getChartData(context, statisticsData, timeRange);
  return chartData;
};

/**
 * Statistics request for files does not distinguish
 * between distribution files and document files, so we need
 * to filter the chartData for a specific type of file
 *
 * @param {Array} chartData
 * @param {boolean} isDistributionFile
 * @param {boolean} isDocumentFile
 * @returns {Array}
 */
const filterByFileType = (chartData, isDistributionFile, isDocumentFile) => {
  if (isDocumentFile && !isDistributionFile) {
    return chartData === null || chartData === void 0 ? void 0 : chartData.filter(item => item.type !== 'file');
  }
  if (!isDocumentFile && isDistributionFile) {
    return chartData === null || chartData === void 0 ? void 0 : chartData.filter(item => item.type !== 'documentFile');
  }
  return chartData;
};

/***/ },

/***/ "./modules/catalog/statistics/utils/distribution.js"
/*!**********************************************************!*\
  !*** ./modules/catalog/statistics/utils/distribution.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RESOURCE_TYPE_ALL: () => (/* binding */ RESOURCE_TYPE_ALL),
/* harmony export */   RESOURCE_TYPE_API: () => (/* binding */ RESOURCE_TYPE_API),
/* harmony export */   RESOURCE_TYPE_FILE: () => (/* binding */ RESOURCE_TYPE_FILE),
/* harmony export */   getDistributionFileResourceURIs: () => (/* binding */ getDistributionFileResourceURIs),
/* harmony export */   getEntriesByPropertyPath: () => (/* binding */ _getEntriesByPropertyPath),
/* harmony export */   getParentEntriesByResourceURI: () => (/* binding */ getParentEntriesByResourceURI),
/* harmony export */   getResourceType: () => (/* binding */ getResourceType)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _utils_react_dcat__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/react/dcat */ "./modules/catalog/utils/react/dcat.js");









/**
 * Retrieves the inverse property paths of the file/apis to their respective distribution and datasets.
 * Returns an array of three elements:
 *  0: A map of type <fleOrApiResourceURI, fileOrAPIEntry>
 *  1: A map of type <fleOrApiResourceURI, parentDistributionEntry>
 *  2: A map of type <fleOrApiResourceURI, parentDatasetEntry>
 *
 * @param resourceURIs
 * @param context
 * @return {Promise<Map<string, store/Entry>[]>}
 */
const getParentEntriesByResourceURI = async (resourceURIs, context) => {
  if (resourceURIs.length === 0) {
    // don't make any solr requests if no stats data found
    return [new Map(), new Map(), new Map()];
  }
  /**
   * Get the actual distribution entries from the file/api resource URI
   * @type {Map<string, store/Entry>}
   */
  const distributionEntries = await (0,_utils_react_dcat__WEBPACK_IMPORTED_MODULE_7__.getDistributionByFileResourceURIs)(resourceURIs, context);

  /**
   * for each distribution entry get the resource URIs
   */
  const fileRURIsToDistributionEntriesMap = new Map(); // @todo @valentino better naming
  const distributions2Resources = new Map();
  for (const [ruri, entry] of distributionEntries) {
    // eslint-disable-line
    fileRURIsToDistributionEntriesMap.set(ruri, entry);
    if (distributions2Resources.has(entry.getResourceURI())) {
      const ruris = distributions2Resources.get(entry.getResourceURI());
      ruris.push(ruri);
      distributions2Resources.set(entry.getResourceURI(), ruris);
    } else {
      distributions2Resources.set(entry.getResourceURI(), [ruri]);
    }
  }
  const distributionRURIs = Array.from(distributions2Resources.keys());
  const datasetEntries = await (0,_utils_react_dcat__WEBPACK_IMPORTED_MODULE_7__.getDatasetByDistributionURI)(distributionRURIs, context);
  const fileRURIsToDatasetEntriesMap = new Map();
  for (const [ruri, entry] of datasetEntries) {
    // eslint-disable-line
    const fileOrAPIRURIs = distributions2Resources.get(ruri);
    fileOrAPIRURIs.forEach(fileOrAPIRURI => fileRURIsToDatasetEntriesMap.set(fileOrAPIRURI, entry));
  }
  const fileRURIsToFileEntriesMap = await (0,_utils_react_dcat__WEBPACK_IMPORTED_MODULE_7__.mapResourceURIsToEntries)(resourceURIs, context);
  return [fileRURIsToFileEntriesMap, fileRURIsToDistributionEntriesMap, fileRURIsToDatasetEntriesMap];
};

/**
 * @param property
 * @returns {function(*): *}
 */
const getPropertyValues = property => entry => entry.getMetadata().objects(entry.getResourceURI(), property).values();

/**
 *
 * @param entries
 * @param context
 * @param path E.g ['dcat:distribution', 'dcat:downloadURL']
 * @return {Promise<Entry[]>}
 */
const _getEntriesByPropertyPath = async function getEntriesByPropertyPath(entries, context) {
  let path = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  const property = path.shift();
  if (property) {
    const urisToFollow = entries.map(getPropertyValues(property)).flat();
    const childEntries = await commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystoreUtil.loadEntriesByResourceURIs(urisToFollow, context, true);

    // since ordering doesn't really matter in this case we can afford to discard any results that were not entries,
    // i.e the resource uri could not resolve into an entry
    const filteredChildEntries = childEntries.filter(entry => entry != null);
    return _getEntriesByPropertyPath(filteredChildEntries, context, path);
  }
  return entries;
};

/**
 *
 * @param distributionEntries
 * @returns {Array}
 */
const getDistributionFileResourceURIs = distributionEntries => distributionEntries.map(entry => entry.getMetadata().objects(entry.getResourceURI(), 'dcat:downloadURL').values());
const RESOURCE_TYPE_FILE = 'file';
const RESOURCE_TYPE_API = 'api';
const RESOURCE_TYPE_ALL = 'all';

/**
 * @param {boolean} resourceTypeFile
 * @param {boolean} resourceTypeAPI
 * @return {string}
 */
const getResourceType = (resourceTypeFile, resourceTypeAPI, resourceTypeDocumentFile) => {
  const isResourceTypeFile = resourceTypeFile || resourceTypeDocumentFile;
  if (isResourceTypeFile && resourceTypeAPI) {
    return RESOURCE_TYPE_ALL;
  }
  if (isResourceTypeFile) {
    return RESOURCE_TYPE_FILE;
  }
  if (resourceTypeAPI) {
    return RESOURCE_TYPE_API;
  }
};


/***/ },

/***/ "./modules/catalog/statistics/utils/search.js"
/*!****************************************************!*\
  !*** ./modules/catalog/statistics/utils/search.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _distribution__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./distribution */ "./modules/catalog/statistics/utils/distribution.js");









/**
 *
 * @param query
 * @return {Promise<Set[]>}
 */
const search = async (query, context, checkContinue) => {
  const resourceURIs = new Set();
  /**
   * @param entry
   * @return {Promise<void>}
   */
  const getChildEntryResourceURI = async entry => {
    const {
      metadata,
      resourceURI
    } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.spreadEntry)(entry);
    const rdfType = metadata.findFirstValue(resourceURI, 'rdf:type');
    let propertyPath = [];
    switch (rdfType) {
      case _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand('dcat:Dataset'):
        propertyPath = ['dcat:distribution', 'dcat:accessURL'];
        break;
      case _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand('dcat:Distribution'):
        propertyPath = ['dcat:accessURL'];
        break;
      case _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand('esterms:File'): // we only need the resource URI in this case
      default:
    }
    const resourceEntries = await (0,_distribution__WEBPACK_IMPORTED_MODULE_8__.getEntriesByPropertyPath)([entry], context, propertyPath);
    resourceEntries.forEach(fileEntry => {
      resourceURIs.add(fileEntry.getResourceURI());
      if (!checkContinue()) return Promise.resolve(false);
    });
    if (!checkContinue()) return Promise.resolve(false);
  };
  await commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.newSolrQuery().context(context).rdfType(['dcat:Dataset', 'dcat:Distribution', 'esterms:File', ...commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_TYPE_DOCUMENT]).title(query).forEach(getChildEntryResourceURI);
  return resourceURIs;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (search);

/***/ },

/***/ "./modules/catalog/statistics/utils/timeRange.js"
/*!*******************************************************!*\
  !*** ./modules/catalog/statistics/utils/timeRange.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TIME_RANGE_LAST_MONTH: () => (/* binding */ TIME_RANGE_LAST_MONTH),
/* harmony export */   TIME_RANGE_THIS_MONTH: () => (/* binding */ TIME_RANGE_THIS_MONTH),
/* harmony export */   TIME_RANGE_THIS_YEAR: () => (/* binding */ TIME_RANGE_THIS_YEAR),
/* harmony export */   TIME_RANGE_TODAY: () => (/* binding */ TIME_RANGE_TODAY),
/* harmony export */   TIME_RANGE_YESTERDAY: () => (/* binding */ TIME_RANGE_YESTERDAY),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_statistics_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/statistics/api */ "./modules/commons/statistics/api.js");






const TIME_RANGE_TODAY = 'today';
const TIME_RANGE_YESTERDAY = 'yesterday';
const TIME_RANGE_THIS_MONTH = 'this-month';
const TIME_RANGE_LAST_MONTH = 'last-month';
const TIME_RANGE_THIS_YEAR = 'this-year';

/**
 * @returns {[]}
 */
const getAvailableYears = async context => {
  try {
    const response = await commons_statistics_api__WEBPACK_IMPORTED_MODULE_5__["default"].getTopStatistics(context.getId(), 'all');
    const {
      start,
      end
    } = response;
    if (!response) {
      return [];
    }
    const startYear = new Date(start).getFullYear();
    const endYear = new Date(end).getFullYear();
    const currentYear = new Date().getFullYear();
    let availableYears = [];
    for (let year = startYear; year <= endYear; year++) {
      availableYears.push(year);
    }
    availableYears = availableYears.filter(year => year !== currentYear);
    availableYears.reverse();
    return availableYears;
  } catch (err) {
    console.error('Failed to load available years', err);
    return [];
  }
};

/**
 * @return {*[]}
 */
const getTimeRanges = async context => {
  const availableYears = await getAvailableYears(context);
  const timeRanges = [{
    value: TIME_RANGE_TODAY,
    labelNlsKey: 'timeRangeToday'
  }, {
    value: TIME_RANGE_YESTERDAY,
    labelNlsKey: 'timeRangeYesterday'
  }, {
    value: TIME_RANGE_THIS_MONTH,
    labelNlsKey: 'timeRangeThisMonth'
  }, {
    value: TIME_RANGE_LAST_MONTH,
    labelNlsKey: 'timeRangeLastMonth'
  }, {
    value: TIME_RANGE_THIS_YEAR,
    labelNlsKey: 'timeRangeThisYear'
  }, ...availableYears.map(year => ({
    value: String(year),
    label: String(year)
  }))];
  return timeRanges;
};

/**
 *
 * @param selected
 * @return {*}
 */
const toDateObject = selected => {
  const date = new Date();
  switch (selected) {
    case TIME_RANGE_TODAY:
      break;
    case TIME_RANGE_YESTERDAY:
      date.setDate(date.getDate() - 1);
      break;
    case TIME_RANGE_THIS_MONTH:
      return {
        year: date.getFullYear(),
        month: date.getMonth()
      };
    case TIME_RANGE_LAST_MONTH:
      date.setMonth(date.getMonth() - 1);
      return {
        year: date.getFullYear(),
        month: date.getMonth()
      };
    case TIME_RANGE_THIS_YEAR:
      return {
        year: date.getFullYear()
      };
    default:
      if (/^\d{4}$/.test(selected)) {
        return {
          year: selected
        };
      }
  }
  return {
    year: date.getFullYear(),
    month: date.getMonth(),
    date: date.getDate()
  };
};

/**
 *
 * @param value
 * @return {string}
 */
const serializeSelection = value => {
  const dateObj = moment__WEBPACK_IMPORTED_MODULE_4___default()(toDateObject(value));
  switch (value) {
    case TIME_RANGE_THIS_MONTH:
    case TIME_RANGE_LAST_MONTH:
      return dateObj.format('MMMM YYYY');
    case TIME_RANGE_THIS_YEAR:
      return dateObj.format('YYYY');
    default:
      return dateObj.format('Do MMMM YYYY');
  }
};

/**
 *
 * @param selected
 * @param data
 * @return {Array}
 */
const normalizeChartData = (selected, data) => {
  const date = new Date();
  const wholeData = [];
  let max;
  let day;
  let month;
  let year;

  // having index day as 0 refers to the previous month
  const daysInMonth = (m, y) => new Date(y, m + 1, 0).getDate();
  switch (selected) {
    case TIME_RANGE_TODAY:
      max = 24;
      day = date.getDate();
      month = date.getMonth();
      year = date.getFullYear();
      break;
    case TIME_RANGE_YESTERDAY:
      date.setDate(date.getDate() - 1); // update date
      max = 24;
      day = date.getDate();
      month = date.getMonth();
      year = date.getFullYear();
      break;
    case TIME_RANGE_THIS_MONTH:
      max = daysInMonth(date.getMonth(), date.getFullYear());
      day = date.getDate();
      month = date.getMonth();
      year = date.getFullYear();
      break;
    case TIME_RANGE_LAST_MONTH:
      date.setMonth(date.getMonth() - 1); // update date
      max = daysInMonth(date.getMonth(), date.getFullYear());
      day = date.getDate();
      month = date.getMonth();
      year = date.getFullYear();
      break;
    case TIME_RANGE_THIS_YEAR:
      max = 12;
      day = date.getDate();
      month = date.getMonth();
      year = date.getFullYear();
      break;
    case 'custom':
      break;
    default:
  }
  let hasApiDiffIndex = false;
  let i;
  if (selected === TIME_RANGE_THIS_YEAR) {
    i = 0;
    hasApiDiffIndex = true;
  } else {
    i = 1;
    max += 1;
  }

  // loop through either one of hours, days or months
  for (; i < max; i++) {
    let x; // datetime
    let y = 0; // count

    // try to extract count from data if it exists
    // take care of monthIndex inconsistency between JS and the api data
    const datetimeApiIndex = hasApiDiffIndex ? i + 1 : i;
    const datetimeProperty = datetimeApiIndex < 10 ? `0${datetimeApiIndex}` : datetimeApiIndex;
    if (datetimeProperty in data) {
      y = data[datetimeProperty].count;
    }
    switch (selected) {
      case TIME_RANGE_TODAY:
      case TIME_RANGE_YESTERDAY:
        x = new Date(year, month, day, i);
        break;
      case TIME_RANGE_THIS_MONTH:
      case TIME_RANGE_LAST_MONTH:
        x = new Date(year, month, i);
        break;
      case TIME_RANGE_THIS_YEAR:
        x = new Date(year, i, 1);
        break;
      default:
    }
    wholeData.push({
      x,
      y
    });
  }
  return wholeData;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  getAvailableYears,
  getTimeRanges,
  toDateObject,
  serializeSelection,
  normalizeChartData
});


/***/ },

/***/ "./modules/catalog/suggestions/SuggestionOverview/SuggestionOverview.js"
/*!******************************************************************************!*\
  !*** ./modules/catalog/suggestions/SuggestionOverview/SuggestionOverview.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/nls/escaVisualization.nls */ "./modules/catalog/nls/escaVisualization.nls");
/* harmony import */ var catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaCatalog.nls */ "./modules/catalog/nls/escaCatalog.nls");
/* harmony import */ var catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoEntityOverview.nls */ "./modules/commons/nls/escoEntityOverview.nls");
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/CommentsDialog/hooks/useCommentsCount */ "./modules/commons/CommentsDialog/hooks/useCommentsCount.js");
/* harmony import */ var commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/CommentsDialog */ "./modules/commons/CommentsDialog/index.js");
/* harmony import */ var commons_components_EntityOverview__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/EntityOverview */ "./modules/commons/components/EntityOverview/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _dialogs_CreateDatasetFromSuggestionDialog__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../dialogs/CreateDatasetFromSuggestionDialog */ "./modules/catalog/suggestions/dialogs/CreateDatasetFromSuggestionDialog/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../util */ "./modules/catalog/suggestions/util.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./actions */ "./modules/catalog/suggestions/SuggestionOverview/actions.js");
/* harmony import */ var _datasets_tags__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../datasets/tags */ "./modules/catalog/datasets/tags.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../tags */ "./modules/catalog/suggestions/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






























const nlsBundles = [(catalog_nls_escaCatalog_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), (catalog_nls_escaVisualization_nls__WEBPACK_IMPORTED_MODULE_8___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_16___default()), (commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_17___default())];
const SuggestionOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_3__.useEntry)();
  const [catalogEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_12__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_6__.getParentCatalogEntry, entry);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_19__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_15__["default"])(entry, refreshCount);
  const [pageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_14__["default"])();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_7__.getViewDefFromName)('catalog__suggestions__suggestion');
  const viewDefinitionTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_20__.localize)(viewDefinition.title);
  const [getCommentsCount, refreshCommentsCount] = (0,commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_21__["default"])(entry);
  const commentCount = getCommentsCount(entry.getResourceURI());
  const tileActions = [{
    id: 'comments',
    Dialog: commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_22__["default"],
    refreshCommentsCount,
    getProps: _ref2 => {
      let {
        translate: t
      } = _ref2;
      return {
        labelPrefix: commentCount !== null && commentCount !== void 0 ? commentCount : 0,
        label: t('commentsLabel'),
        'data-highlight-id': 'overviewButtonComments',
        disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.canWriteMetadata)(entry)
      };
    }
  }];
  const descriptionItems = [{
    id: 'catalog',
    labelNlsKey: 'overviewCatalogLabel',
    getValues: () => catalogEntry ? [(0,commons_util_util__WEBPACK_IMPORTED_MODULE_5__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__.getFullLengthLabel)(catalogEntry), 90)] : []
  }, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_18__.DESCRIPTION_UPDATED, {
    id: 'edited',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_13__["default"])(`${pageTitle} - ${viewDefinitionTitle} ${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__.getLabel)(entry)}`);
  const updatedOverviewProps = _objectSpread(_objectSpread({}, overviewProps), {}, {
    tags: [_datasets_tags__WEBPACK_IMPORTED_MODULE_28__.TEMPLATE_TAG, _tags__WEBPACK_IMPORTED_MODULE_29__.ARCHIVED_TAG]
  });
  return /*#__PURE__*/React.createElement(commons_components_EntityOverview__WEBPACK_IMPORTED_MODULE_23__["default"], {
    actions: _actions__WEBPACK_IMPORTED_MODULE_27__.sidebarActions,
    nlsBundles: nlsBundles,
    getAggregationListProps: () => ({
      actions: _actions__WEBPACK_IMPORTED_MODULE_27__.datasetActions,
      to: 'catalog__datasets__dataset',
      getCreateProps: _ref3 => {
        let {
          entry: suggestionEntry
        } = _ref3;
        return {
          CreateDialog: _dialogs_CreateDatasetFromSuggestionDialog__WEBPACK_IMPORTED_MODULE_25__["default"],
          createDisabled: (0,_util__WEBPACK_IMPORTED_MODULE_26__.isArchived)(suggestionEntry) || !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.canWriteMetadata)(suggestionEntry),
          createHighlightId: 'suggestionsCreateDatasetButton'
        };
      }
    }),
    metadataItems: descriptionItems,
    tileActions: tileActions,
    overviewProps: updatedOverviewProps
  });
};
SuggestionOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_19__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_19__.withOverviewModelProvider)(SuggestionOverview));

/***/ },

/***/ "./modules/catalog/suggestions/SuggestionOverview/actions.js"
/*!*******************************************************************!*\
  !*** ./modules/catalog/suggestions/SuggestionOverview/actions.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   datasetActions: () => (/* binding */ datasetActions),
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/EntityOverview/dialogs/DisconnectDialog */ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/index.js");
/* harmony import */ var _dialogs_SuggestionChecklistDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dialogs/SuggestionChecklistDialog */ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/index.js");
/* harmony import */ var _dialogs_ArchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dialogs/ArchiveSuggestionDialog */ "./modules/catalog/suggestions/dialogs/ArchiveSuggestionDialog/index.js");
/* harmony import */ var _dialogs_UnarchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dialogs/UnarchiveSuggestionDialog */ "./modules/catalog/suggestions/dialogs/UnarchiveSuggestionDialog/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util */ "./modules/catalog/suggestions/util.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  getProps: _ref => {
    let {
      entry
    } = _ref;
    return {
      disabled: (0,_util__WEBPACK_IMPORTED_MODULE_8__.isArchived)(entry)
    };
  }
}), commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS, {
  id: 'checklist',
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_2__.withOverviewRefresh)(_dialogs_SuggestionChecklistDialog__WEBPACK_IMPORTED_MODULE_5__["default"], 'onSave'),
  labelNlsKey: 'progressMenu',
  getProps: _ref2 => {
    let {
      entry
    } = _ref2;
    return {
      disabled: (0,_util__WEBPACK_IMPORTED_MODULE_8__.isArchived)(entry) || !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.canWriteMetadata)(entry)
    };
  },
  highlightId: 'overviewActionChecklist'
}, {
  id: 'archive',
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_2__.withOverviewRefresh)(_dialogs_ArchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], 'onArchive'),
  labelNlsKey: 'archiveMenu',
  isVisible: _ref3 => {
    let {
      entry
    } = _ref3;
    return !(0,_util__WEBPACK_IMPORTED_MODULE_8__.isArchived)(entry);
  },
  highlightId: 'overviewActionArchive',
  getProps: _ref4 => {
    let {
      entry
    } = _ref4;
    return {
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.canWriteMetadata)(entry)
    };
  }
}, {
  id: 'unarchive',
  Dialog: (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_2__.withOverviewRefresh)(_dialogs_UnarchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_7__["default"], 'onUnarchive'),
  labelNlsKey: 'unArchiveMenu',
  isVisible: _ref5 => {
    let {
      entry
    } = _ref5;
    return (0,_util__WEBPACK_IMPORTED_MODULE_8__.isArchived)(entry);
  },
  getProps: _ref6 => {
    let {
      entry
    } = _ref6;
    return {
      disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.canWriteMetadata)(entry)
    };
  }
}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE];
const datasetActions = [{
  id: 'disconnect',
  Dialog: commons_components_EntityOverview_dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_4__["default"],
  isVisible: _ref7 => {
    let {
      parentEntry
    } = _ref7;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.canWriteMetadata)(parentEntry);
  },
  labelNlsKey: 'disconnectMenuItemLabel'
}];

/***/ },

/***/ "./modules/catalog/suggestions/SuggestionOverview/index.js"
/*!*****************************************************************!*\
  !*** ./modules/catalog/suggestions/SuggestionOverview/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SuggestionOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SuggestionOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SuggestionOverview */ "./modules/catalog/suggestions/SuggestionOverview/SuggestionOverview.js");


/***/ },

/***/ "./modules/catalog/suggestions/SuggestionsView/SuggestionsView.js"
/*!************************************************************************!*\
  !*** ./modules/catalog/suggestions/SuggestionsView/SuggestionsView.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/CommentsDialog/hooks/useCommentsCount */ "./modules/commons/CommentsDialog/hooks/useCommentsCount.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_progress_LinearProgress__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/progress/LinearProgress */ "./modules/commons/components/progress/LinearProgress/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Comment.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/CommentsDialog */ "./modules/commons/CommentsDialog/index.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var _dialogs_CreateSuggestionFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../dialogs/CreateSuggestionFromDatasetTemplateDialog */ "./modules/catalog/suggestions/dialogs/CreateSuggestionFromDatasetTemplateDialog/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./actions */ "./modules/catalog/suggestions/SuggestionsView/actions.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../util */ "./modules/catalog/suggestions/util.js");
/* harmony import */ var _dialogs_SuggestionChecklistDialog__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../dialogs/SuggestionChecklistDialog */ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/index.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../tags */ "./modules/catalog/suggestions/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "isLoading", "hasFilters"],
  _excluded2 = ["status"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

































const STATUS_FILTER = {
  headerNlsKey: 'statusFilterHeader',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    return value === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_26__.ANY ? query : query.status(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(value));
  },
  items: [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_26__.ANY_FILTER_ITEM, {
    labelNlsKey: 'active',
    value: commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_STATUS_INVESTIGATING
  }, {
    labelNlsKey: 'archived',
    value: commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_STATUS_ARCHIVED
  }],
  id: 'archived-filter',
  initialSelection: commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_STATUS_INVESTIGATING,
  defaultValue: commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_STATUS_INVESTIGATING
};
const CommentIconWithBadge = _ref => {
  let {
    commentsCount
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_21__["default"], {
    badgeContent: commentsCount,
    color: "primary"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_23__["default"], {
    "data-highlight-id": "listItemComments"
  }));
};
CommentIconWithBadge.propTypes = {
  commentsCount: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
};
const SuggestionsView = _ref2 => {
  let {
    listProps
  } = _ref2;
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__.useUserState)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_30__.nlsBundles);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__.useESContext)();
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.useListModel)();
  const showCreateDatasetTemplate = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('catalog.datasetTemplateEndpoint');
  const includeEdit = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.getIncludeEdit)(listProps);
  const filters = [STATUS_FILTER];
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_27__["default"])(filters, _actions__WEBPACK_IMPORTED_MODULE_30__.nlsBundles),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_SUGGESTION).context(context), [context]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.useSolrQuery)({
      createQuery,
      applyFilters,
      wait: isLoading
    }),
    {
      status
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded2);
  const [getCommentsCount, refreshCommentsCount] = (0,commons_CommentsDialog_hooks_useCommentsCount__WEBPACK_IMPORTED_MODULE_14__["default"])(queryResults.entries);
  const listActions = [...(showCreateDatasetTemplate ? [{
    id: 'create-from-dataset-template',
    Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.withListRefresh)(_dialogs_CreateSuggestionFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_29__["default"], 'onCreate'),
    labelNlsKey: 'createFromTemplateButton',
    tooltipNlsKey: 'createSuggestionFromTemplateButtonTooltip',
    highlightId: 'listActionCreate'
  }] : []), ..._actions__WEBPACK_IMPORTED_MODULE_30__.listActions];
  const isRowEditable = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(_ref3 => {
    let {
      entry
    } = _ref3;
    return !(0,_util__WEBPACK_IMPORTED_MODULE_31__.isArchived)(entry);
  }, []);
  return showTableView ? /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_13__["default"], {
    setTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.TOGGLE_TABLEVIEW
    }),
    rdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_SUGGESTION,
    templateId: commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__["default"].getByName('catalogSuggestion').templateId(),
    filterScheme: filters,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_30__.nlsBundles,
    isRowEditable: isRowEditable
  }) : /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.EntryListView, _extends({}, queryResults, listProps, {
    status: isLoading ? commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__.PENDING : status,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_30__.nlsBundles,
    listActions: listActions,
    listActionsProps: {
      userEntry
    },
    includeTableView: true,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null
    // avoid view placeholder when filters active and no active suggestions found
    ,
    showViewPlaceholder: !hasFilters,
    getListItemProps: _ref4 => {
      let {
        entry
      } = _ref4;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_15__.getPathFromViewName)('catalog__suggestions__suggestion', {
          contextId: entry.getContext().getId(),
          entryId: entry.getId()
        })
      };
    },
    columns: [{
      id: 'checklist',
      headerNlsKey: 'checkListHeaderLabel',
      xs: 2,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListItemButtonAction,
      ButtonComponent: _mui_material__WEBPACK_IMPORTED_MODULE_22__["default"],
      disableGutters: true,
      classes: {
        root: 'escoLinearProgressButton'
      },
      'data-highlight-id': 'listItemChecklist',
      getProps: _ref5 => {
        let {
          entry
        } = _ref5;
        const isArchived = (0,_util__WEBPACK_IMPORTED_MODULE_31__.isArchived)(entry);
        const progress = (0,_util__WEBPACK_IMPORTED_MODULE_31__.getChecklistProgress)(entry);
        return {
          action: {
            entry,
            Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.withListRerender)(_dialogs_SuggestionChecklistDialog__WEBPACK_IMPORTED_MODULE_32__["default"], 'onSave'),
            refreshCommentsCount
          },
          disabled: isArchived,
          children: /*#__PURE__*/React.createElement(commons_components_progress_LinearProgress__WEBPACK_IMPORTED_MODULE_17__["default"], {
            progress: progress,
            disabled: isArchived
          })
        };
      }
    }, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.TITLE_COLUMN), {}, {
      xs: includeEdit ? 6 : 7,
      tags: _tags__WEBPACK_IMPORTED_MODULE_33__.ARCHIVED_TAG
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_18__.ACTIONS_GROUP_COLUMN), {}, {
      xs: 2,
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_19__.LIST_ACTION_INFO, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_19__.LIST_ACTION_EDIT), {}, {
        getProps: _ref6 => {
          let {
            entry
          } = _ref6;
          const isArchived = (0,_util__WEBPACK_IMPORTED_MODULE_31__.isArchived)(entry);
          return {
            disabled: isArchived
          };
        }
      }), {
        id: 'comments',
        labelNlsKey: 'comments',
        Dialog: commons_CommentsDialog__WEBPACK_IMPORTED_MODULE_25__["default"],
        getProps: _ref7 => {
          let {
            entry
          } = _ref7;
          return {
            entry,
            icon: /*#__PURE__*/React.createElement(CommentIconWithBadge, {
              disabled: !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.canWriteMetadata)(entry),
              commentsCount: getCommentsCount(entry.getResourceURI())
            }),
            dialogTitle: translate('commentHeader', (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_24__.getTitle)(entry)),
            refreshCommentsCount,
            nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_30__.nlsBundles,
            isVisible: () => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.canWriteMetadata)(entry)
          };
        }
      }]
    })]
  }));
};
SuggestionsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.withListModelProviderAndLocation)(SuggestionsView, () => ({
  showFilters: true
})));

/***/ },

/***/ "./modules/catalog/suggestions/SuggestionsView/actions.js"
/*!****************************************************************!*\
  !*** ./modules/catalog/suggestions/SuggestionsView/actions.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _dialogs_CreateSuggestionDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dialogs/CreateSuggestionDialog */ "./modules/catalog/suggestions/dialogs/CreateSuggestionDialog/index.js");






const nlsBundles = [(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_1___default()), (catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_2___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_3___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0___default())];
const listActions = [{
  id: 'create',
  Dialog: (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.withListRefresh)(_dialogs_CreateSuggestionDialog__WEBPACK_IMPORTED_MODULE_5__["default"], 'onCreate'),
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'actionTooltipSuggestion',
  nlsBundles,
  highlightId: 'listActionCreate'
}];

/***/ },

/***/ "./modules/catalog/suggestions/SuggestionsView/index.js"
/*!**************************************************************!*\
  !*** ./modules/catalog/suggestions/SuggestionsView/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SuggestionsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SuggestionsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SuggestionsView */ "./modules/catalog/suggestions/SuggestionsView/SuggestionsView.js");


/***/ },

/***/ "./modules/catalog/suggestions/dialogs/ArchiveSuggestionDialog/ArchiveSuggestionDialog.js"
/*!************************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/ArchiveSuggestionDialog/ArchiveSuggestionDialog.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _ConfirmationDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ConfirmationDialog */ "./modules/catalog/suggestions/dialogs/ConfirmationDialog.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util */ "./modules/catalog/suggestions/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const ArchiveDialog = _ref => {
  let {
    entry,
    closeDialog,
    onArchive
  } = _ref;
  return /*#__PURE__*/React.createElement(_ConfirmationDialog__WEBPACK_IMPORTED_MODULE_2__["default"], {
    buttonLabel: "archiveButtonLabel",
    dialogConfirmationQuestionNLS: "archiveSuggestion",
    closeDialog: closeDialog,
    buttonAction: () => (0,_util__WEBPACK_IMPORTED_MODULE_3__.archiveOrUnarchiveSuggestion)(entry, commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.RDF_STATUS_ARCHIVED).then(onArchive).then(closeDialog)
  });
};
ArchiveDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  onArchive: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ArchiveDialog);

/***/ },

/***/ "./modules/catalog/suggestions/dialogs/ArchiveSuggestionDialog/index.js"
/*!******************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/ArchiveSuggestionDialog/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ArchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ArchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ArchiveSuggestionDialog */ "./modules/catalog/suggestions/dialogs/ArchiveSuggestionDialog/ArchiveSuggestionDialog.js");


/***/ },

/***/ "./modules/catalog/suggestions/dialogs/ConfirmationDialog.js"
/*!*******************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/ConfirmationDialog.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const ConfirmationDialog = _ref => {
  let {
    buttonLabel,
    dialogConfirmationQuestionNLS,
    closeDialog,
    buttonAction
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_5___default())]);
  const actions = /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_1__["default"], {
    autoFocus: true,
    onClick: buttonAction
  }, t(buttonLabel));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_3__["default"], {
    id: "remove-entry",
    closeDialog: closeDialog,
    actions: actions,
    maxWidth: "xs"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_2__["default"], {
    xs: 10
  }, /*#__PURE__*/React.createElement("div", null, t(dialogConfirmationQuestionNLS))));
};
ConfirmationDialog.propTypes = {
  buttonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  dialogConfirmationQuestionNLS: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  buttonAction: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConfirmationDialog);

/***/ },

/***/ "./modules/catalog/suggestions/dialogs/CreateDatasetFromSuggestionDialog/CreateDatasetFromSuggestionDialog.js"
/*!********************************************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/CreateDatasetFromSuggestionDialog/CreateDatasetFromSuggestionDialog.js ***!
  \********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/datasets */ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js");
/* harmony import */ var catalog_suggestions_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/suggestions/util */ "./modules/catalog/suggestions/util.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/datasetTemplates/useGetDatasetTemplateEntry */ "./modules/catalog/datasetTemplates/useGetDatasetTemplateEntry.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! catalog/datasetTemplates/util */ "./modules/catalog/datasetTemplates/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["actionParams", "nlsBundles"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }





function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









// eslint-disable-next-line max-len




const predicatesToReplace = ['dcterms:title', 'dcterms:description'];
const CreateDatasetFromSuggestionDialog = _ref => {
  let {
      actionParams,
      nlsBundles
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const {
    entry: suggestionEntry
  } = actionParams;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_8__.useESContext)();
  const {
    data: prototypeEntry,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__["default"])(null);
  const [datasetTemplateEntry, datasetTemplateEntryStatus] = (0,catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_15__["default"])(suggestionEntry);
  const [protoEntryInitialized, setProtoEntryInitialized] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const findAndReplace = (targetGraph, sourceGraph, targetSubject, sourceSubject, predicate) => {
    const oldStatements = targetGraph.find(targetSubject, predicate);
    oldStatements.forEach(oldStatement => {
      targetGraph.remove(oldStatement);
    });
    const newStatements = sourceGraph.find(sourceSubject, predicate);
    newStatements.forEach(newStatement => {
      newStatement.setSubject(targetSubject);
      targetGraph.add(newStatement);
    });
  };
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    runAsync((0,catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_12__.createPrototypeDatasetEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_DATASET).then(datasetPrototypeEntry => {
      // Automatically copies over title and descriptions from suggestion to Dataset,
      // easier to remove if not needed than to locate and copy paste.
      const metadata = suggestionEntry.getMetadata();
      predicatesToReplace.forEach(predicate => {
        metadata.find(suggestionEntry.getResourceURI(), predicate).forEach(statement => {
          datasetPrototypeEntry.add(statement.getPredicate(), statement.getObject());
        });
      });
      return datasetPrototypeEntry;
    }));
  }, [context, suggestionEntry, runAsync]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (!prototypeEntry || datasetTemplateEntryStatus !== 'resolved') return;
    if (!datasetTemplateEntry && prototypeEntry) {
      setProtoEntryInitialized(true);
      return;
    }
    const metadata = (0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_17__.getMetadataFromDatasetTemplate)(datasetTemplateEntry, prototypeEntry);
    const suggestionMetadata = prototypeEntry.getMetadata();
    prototypeEntry.setMetadata(metadata);
    predicatesToReplace.forEach(predicate => {
      findAndReplace(prototypeEntry.getMetadata(), suggestionMetadata, prototypeEntry.getResourceURI(), prototypeEntry.getResourceURI(), predicate);
    });
    setProtoEntryInitialized(prototypeEntry.getMetadata().isChanged());
  }, [datasetTemplateEntry, prototypeEntry, datasetTemplateEntryStatus]);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundles);
  const handleCreateLinkedDataset = async (entry, graph) => (0,catalog_suggestions_util__WEBPACK_IMPORTED_MODULE_13__.createLinkedDatasetEntry)(entry, graph, suggestionEntry);
  return protoEntryInitialized ? /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_14__["default"], _extends({}, actionParams, props, {
    entry: prototypeEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_16__.LEVEL_MANDATORY,
    createEntry: handleCreateLinkedDataset,
    createHeaderLabel: translate('createDatasetMenu'),
    fromDatasetTemplate: true
  })) : null;
};
CreateDatasetFromSuggestionDialog.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry)
  }),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.nlsBundlesPropType,
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateDatasetFromSuggestionDialog);

/***/ },

/***/ "./modules/catalog/suggestions/dialogs/CreateDatasetFromSuggestionDialog/index.js"
/*!****************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/CreateDatasetFromSuggestionDialog/index.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateDatasetFromSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateDatasetFromSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateDatasetFromSuggestionDialog */ "./modules/catalog/suggestions/dialogs/CreateDatasetFromSuggestionDialog/CreateDatasetFromSuggestionDialog.js");


/***/ },

/***/ "./modules/catalog/suggestions/dialogs/CreateSuggestionDialog/CreateSuggestionDialog.js"
/*!**********************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/CreateSuggestionDialog/CreateSuggestionDialog.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




// eslint-disable-next-line max-len






const CreateSuggestionDialog = _ref => {
  let {
    nlsBundles,
    closeDialog,
    onCreate
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(nlsBundles);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__.useESContext)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_9__.useSnackbar)();
  const prototypeEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.createEntry)(context, commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_TYPE_SUGGESTION);
  prototypeEntry.getMetadata().add(prototypeEntry.getResourceURI(), 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_TYPE_SUGGESTION);
  prototypeEntry.getEntryInfo().getGraph().add(prototypeEntry.getURI(), 'store:status', commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.RDF_STATUS_INVESTIGATING);
  return /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_4__["default"], {
    nlsBundles: nlsBundles,
    closeDialog: closeDialog,
    entry: prototypeEntry,
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_8__.LEVEL_RECOMMENDED,
    entityType: "suggestionListTitle",
    createHeaderLabel: translate('createHeader'),
    onEntryEdit: () => addSnackbar({
      message: translate('createSuccessMessage', 1)
    }),
    onCreate: onCreate
  });
};
CreateSuggestionDialog.propTypes = {
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateSuggestionDialog);

/***/ },

/***/ "./modules/catalog/suggestions/dialogs/CreateSuggestionDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/CreateSuggestionDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateSuggestionDialog */ "./modules/catalog/suggestions/dialogs/CreateSuggestionDialog/CreateSuggestionDialog.js");


/***/ },

/***/ "./modules/catalog/suggestions/dialogs/CreateSuggestionFromDatasetTemplateDialog/CreateSuggestionFromDatasetTemplateDialog.js"
/*!************************************************************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/CreateSuggestionFromDatasetTemplateDialog/CreateSuggestionFromDatasetTemplateDialog.js ***!
  \************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! catalog/datasetTemplates/util */ "./modules/catalog/datasetTemplates/util.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var catalog_datasetTemplates_DatasetTemplateListFilters__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! catalog/datasetTemplates/DatasetTemplateListFilters */ "./modules/catalog/datasetTemplates/DatasetTemplateListFilters/index.js");
/* harmony import */ var catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! catalog/datasetTemplates/reducer */ "./modules/catalog/datasetTemplates/reducer.js");
/* harmony import */ var catalog_datasetTemplates_useCategories__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! catalog/datasetTemplates/useCategories */ "./modules/catalog/datasetTemplates/useCategories.js");
/* harmony import */ var catalog_datasetTemplates_useCatalogs__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! catalog/datasetTemplates/useCatalogs */ "./modules/catalog/datasetTemplates/useCatalogs.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["sort"],
  _excluded2 = ["size"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






























const CreateSuggestionFromTemplateDialog = _ref => {
  let {
    closeDialog,
    onCreate
  } = _ref;
  const catalogConfiguration = config__WEBPACK_IMPORTED_MODULE_16__["default"].get('catalog.datasetTemplateDefaultCatalog');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)([(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_17__.useESContext)();
  const [pendingTemplateSuggestions, setPendingTemplateSuggestions] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)([]);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_28__.useSnackbar)();
  const [{
    category: selectedCategory,
    context: selectedCatalogId
  }, filtersDispatch] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useReducer)(catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_20__.reducer, (0,catalog_datasetTemplates_reducer__WEBPACK_IMPORTED_MODULE_20__.getInitialState)());
  const datasetTemplateStore = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(() => (0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_15__.getDatasetTemplateStore)(), []);
  const catalogEntries = (0,catalog_datasetTemplates_useCatalogs__WEBPACK_IMPORTED_MODULE_22__["default"])(datasetTemplateStore);
  const selectedCatalogEntry = catalogEntries.find(catalogEntry => catalogEntry.getContext().getId() === selectedCatalogId) || '';
  const [categories, setCategories] = (0,catalog_datasetTemplates_useCategories__WEBPACK_IMPORTED_MODULE_21__["default"])(datasetTemplateStore, selectedCatalogEntry, filtersDispatch);
  const [existingTemplateSuggestions] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_18__["default"])(catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_15__.getSuggestionsBasedOnTemplates, context, []);
  const createAndClose = async () => {
    closeDialog();
    if (!pendingTemplateSuggestions.length) return;
    _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__.promiseUtil.forEach(pendingTemplateSuggestions, templateEntry => (0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_15__.createSuggestionFromDatasetTemplate)(templateEntry, context)).then(onCreate).then(() => addSnackbar({
      message: translate('createSuccessMessage', pendingTemplateSuggestions.length)
    })).catch(err => {
      console.error(err);
      addSnackbar({
        message: translate('createFailMessage', pendingTemplateSuggestions.length),
        type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_28__.ERROR
      });
    });
  };
  const selectedCatalogLanguage = selectedCatalogEntry ? selectedCatalogEntry.getMetadata().findFirstValue(null, 'dcterms:language') : '';
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(() => (0,catalog_datasetTemplates_util__WEBPACK_IMPORTED_MODULE_15__.createDatasetTemplateQuery)(datasetTemplateStore, selectedCatalogEntry, selectedCategory), [datasetTemplateStore, selectedCatalogEntry, selectedCategory]);
  const applyParamsCustomSort = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)((query, _ref2) => {
    let {
        sort
      } = _ref2,
      queryParams = _objectWithoutProperties(_ref2, _excluded);
    return (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_27__.applyQueryParams)(query, _objectSpread(_objectSpread({}, queryParams), {}, {
      sort: _objectSpread(_objectSpread({}, sort), {}, {
        locale: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_26__.languageUriToIsoCode)(selectedCatalogLanguage)
      })
    }));
  }, [selectedCatalogLanguage]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__.useSolrQuery)({
      createQuery,
      applyQueryParams: applyParamsCustomSort
    }),
    {
      size
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded2);
  const getCreateButtonProps = _ref3 => {
    let {
      entry: templateEntry,
      translate: t
    } = _ref3;
    const basedOnTemplate = [...existingTemplateSuggestions, ...pendingTemplateSuggestions].some(entry => (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_26__.getBasedOnProperty)(entry) === templateEntry.getResourceURI() || entry.getResourceURI() === templateEntry.getResourceURI());
    return {
      onClick: _event => setPendingTemplateSuggestions([...pendingTemplateSuggestions, templateEntry]),
      disabled: basedOnTemplate,
      label: basedOnTemplate ? t('createdFromTemplateDialogButton') : t('createFromTemplateDialogButton')
    };
  };
  const getSourceLinkProps = _ref4 => {
    let {
      entry,
      translate: t
    } = _ref4;
    const landingPageLink = entry.getMetadata().findFirstValue(entry.getResourceURI(), 'esterms:templateLandingPage');
    if (!landingPageLink) return null;
    return {
      title: t('landingPageLinkTooltip'),
      'aria-label': t('landingPageLinkTooltip'),
      children: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null),
      href: landingPageLink,
      target: '_blank'
    };
  };
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "create-from-template-dialog",
    title: translate('createFromTemplateDialogHeader'),
    closeDialog: createAndClose,
    closeDialogButtonLabel: translate('createFromTemplateDialogCloseButton'),
    maxWidth: "md",
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_11__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__.EntryListView, _extends({}, queryResults, {
    size: size,
    nlsBundles: [(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_12___default())],
    listPlaceholderProps: {
      label: translate('emptyListWarning')
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__.TITLE_COLUMN), {}, {
      headerNlsKey: 'templatesListHeaderLabel',
      xs: 6
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__.MODIFIED_COLUMN), {}, {
      headerNlsKey: 'templatesListHeaderModified',
      sortBy: false
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__.INFO_COLUMN), {}, {
      title: translate('templateMetadataTooltip'),
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_25__.ListItemActionIconButton,
      getProps: _ref5 => {
        let {
          entry
        } = _ref5;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_24__.LIST_ACTION_INFO), {}, {
            entry,
            Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_29__["default"],
            formTemplateId: 'dcat:Dataset'
          })
        };
      }
    }), {
      id: 'source-link',
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_25__.ListItemIconButton,
      xs: 1,
      sx: {
        padding: 0
      },
      getProps: getSourceLinkProps
    }, {
      id: 'create-dataset-from-template',
      xs: 2,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_25__.ListItemButton,
      getProps: getCreateButtonProps
    }]
  }), /*#__PURE__*/React.createElement(catalog_datasetTemplates_DatasetTemplateListFilters__WEBPACK_IMPORTED_MODULE_19__["default"], {
    filtersDispatch: filtersDispatch,
    includeCatalogFilter: !catalogConfiguration,
    selectedCatalogId: selectedCatalogId,
    catalogEntries: catalogEntries,
    categories: categories,
    setCategories: setCategories,
    selectedCategory: selectedCategory
  }))));
};
CreateSuggestionFromTemplateDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func).isRequired,
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_25__.withListModelProvider)(CreateSuggestionFromTemplateDialog, () => ({
  sort: {
    field: 'title',
    order: 'asc'
  }
})));

/***/ },

/***/ "./modules/catalog/suggestions/dialogs/CreateSuggestionFromDatasetTemplateDialog/index.js"
/*!************************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/CreateSuggestionFromDatasetTemplateDialog/index.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateSuggestionFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateSuggestionFromDatasetTemplateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateSuggestionFromDatasetTemplateDialog */ "./modules/catalog/suggestions/dialogs/CreateSuggestionFromDatasetTemplateDialog/CreateSuggestionFromDatasetTemplateDialog.js");


/***/ },

/***/ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionCheckListDialog.js"
/*!****************************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionCheckListDialog.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/FormControlLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_icons_material_PriorityHigh__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/PriorityHigh */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PriorityHigh.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_progress_LinearProgress__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/progress/LinearProgress */ "./modules/commons/components/progress/LinearProgress/index.js");
/* harmony import */ var commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/nls/escoProgress.nls */ "./modules/commons/nls/escoProgress.nls");
/* harmony import */ var commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../util */ "./modules/catalog/suggestions/util.js");
/* harmony import */ var _SuggestionChecklistDialog_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./SuggestionChecklistDialog.scss */ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionChecklistDialog.scss");




















const SuggestionCheckListDialog = _ref => {
  let {
    entry,
    closeDialog,
    onSave
  } = _ref;
  const [checkList, setCheckList] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)((0,_util__WEBPACK_IMPORTED_MODULE_20__.getChecklistProgress)(entry));
  const [hasChange, setHasChange] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const checklistSteps = (0,_util__WEBPACK_IMPORTED_MODULE_20__.getChecklistSteps)();
  const [metadataTasks, setMetadataTasks] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)((0,_util__WEBPACK_IMPORTED_MODULE_20__.getCheckedTasks)(entry, checklistSteps));
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)((commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_18___default()));
  const confirmClose = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_19__.useConfirmCloseAction)(closeDialog);
  const handleChangeCheckBox = event => {
    const {
      name
    } = event.target;
    const updatedTasks = {};
    updatedTasks[name] = event.target.checked;
    Object.keys(metadataTasks).forEach(metadataTask => {
      if (name !== metadataTask) {
        updatedTasks[metadataTask] = metadataTasks[metadataTask];
      }
    });
    setMetadataTasks(updatedTasks);
    setCheckList((0,_util__WEBPACK_IMPORTED_MODULE_20__.showChecklistProgress)(checklistSteps, updatedTasks));
    if (!hasChange) setHasChange(true);
  };
  const saveChecklist = () => {
    (0,_util__WEBPACK_IMPORTED_MODULE_20__.addOrRemoveEntryTasks)(entry, metadataTasks);
    try {
      entry.getEntryInfo().commit();
      onSave();
    } catch (err) {
      console.log(err);
    }
    closeDialog();
  };
  const actions = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    autoFocus: true,
    onClick: saveChecklist,
    disabled: !hasChange
  }, translate('progressFooterButton'));
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_14__["default"], {
    id: "suggestion-checklist",
    title: translate('progressHeader'),
    actions: actions,
    closeDialog: () => confirmClose(hasChange),
    maxWidth: "md"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], null, translate('checkListDescription')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_15__["default"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(commons_components_progress_LinearProgress__WEBPACK_IMPORTED_MODULE_17__["default"], {
    progress: checkList,
    className: "escaSuggestionChecklistDialog__linearProgress"
  }), checklistSteps.map(checklistStep => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    key: checklistStep.name
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: "escaSuggestionChecklistDialog__taskHeading"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: "escaSuggestionChecklistDialog__checklistItem"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_7__["default"], {
    control: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
      checked: Boolean(metadataTasks[checklistStep.name]),
      name: checklistStep.name,
      color: "primary",
      onChange: handleChangeCheckBox
    }),
    label: _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__.utils.getLocalizedValue(checklistStep.label).value
  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", null, checklistStep.mandatory && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_13__["default"], {
    title: translate('mandatoryChecklistTitle')
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_icons_material_PriorityHigh__WEBPACK_IMPORTED_MODULE_8__["default"], {
    classes: {
      root: 'escaSuggestionChecklistDialog__priorityIcon'
    }
  })))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: "escaSuggestionChecklistDialog__taskDescription"
  }, _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__.utils.getLocalizedValue(checklistStep.description).value)))));
};
SuggestionCheckListDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  onSave: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SuggestionCheckListDialog);

/***/ },

/***/ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/index.js"
/*!********************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/index.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SuggestionCheckListDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SuggestionCheckListDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SuggestionCheckListDialog */ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionCheckListDialog.js");


/***/ },

/***/ "./modules/catalog/suggestions/dialogs/UnarchiveSuggestionDialog/UnarchiveSuggestionDialog.js"
/*!****************************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/UnarchiveSuggestionDialog/UnarchiveSuggestionDialog.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _ConfirmationDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ConfirmationDialog */ "./modules/catalog/suggestions/dialogs/ConfirmationDialog.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util */ "./modules/catalog/suggestions/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const UnarchiveDialog = _ref => {
  let {
    entry,
    closeDialog,
    onUnarchive
  } = _ref;
  return /*#__PURE__*/React.createElement(_ConfirmationDialog__WEBPACK_IMPORTED_MODULE_3__["default"], {
    buttonLabel: "unarchiveButtonLabel",
    dialogConfirmationQuestionNLS: "unArchiveSuggestion",
    closeDialog: closeDialog,
    buttonAction: () => (0,_util__WEBPACK_IMPORTED_MODULE_4__.archiveOrUnarchiveSuggestion)(entry, commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.RDF_STATUS_INVESTIGATING).then(onUnarchive).then(closeDialog)
  });
};
UnarchiveDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  onUnarchive: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UnarchiveDialog);

/***/ },

/***/ "./modules/catalog/suggestions/dialogs/UnarchiveSuggestionDialog/index.js"
/*!********************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/UnarchiveSuggestionDialog/index.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UnarchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UnarchiveSuggestionDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnarchiveSuggestionDialog */ "./modules/catalog/suggestions/dialogs/UnarchiveSuggestionDialog/UnarchiveSuggestionDialog.js");


/***/ },

/***/ "./modules/catalog/suggestions/tags.js"
/*!*********************************************!*\
  !*** ./modules/catalog/suggestions/tags.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ARCHIVED_TAG: () => (/* binding */ ARCHIVED_TAG)
/* harmony export */ });
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util */ "./modules/catalog/suggestions/util.js");


const ARCHIVED_TAG = {
  id: 'archivedTag',
  labelNlsKey: 'archived',
  nlsBundles: (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_0___default()),
  isVisible: entry => (0,_util__WEBPACK_IMPORTED_MODULE_1__.isArchived)(entry)
};

/***/ },

/***/ "./modules/catalog/suggestions/util.js"
/*!*********************************************!*\
  !*** ./modules/catalog/suggestions/util.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addOrRemoveEntryTasks: () => (/* binding */ addOrRemoveEntryTasks),
/* harmony export */   archiveOrUnarchiveSuggestion: () => (/* binding */ archiveOrUnarchiveSuggestion),
/* harmony export */   createLinkedDatasetEntry: () => (/* binding */ createLinkedDatasetEntry),
/* harmony export */   getCheckedTasks: () => (/* binding */ getCheckedTasks),
/* harmony export */   getChecklistProgress: () => (/* binding */ getChecklistProgress),
/* harmony export */   getChecklistSteps: () => (/* binding */ getChecklistSteps),
/* harmony export */   isArchived: () => (/* binding */ isArchived),
/* harmony export */   islinked: () => (/* binding */ islinked),
/* harmony export */   showChecklistProgress: () => (/* binding */ showChecklistProgress)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/datasets/DatasetOverview/utils/datasets */ "./modules/catalog/datasets/DatasetOverview/utils/datasets.js");








/**
 * Progress bar's status
 *
 * @param {object} entry - suggestion entry.
 * @returns {object}
 */
const getChecklistProgress = entry => {
  if (config__WEBPACK_IMPORTED_MODULE_3__["default"].get('catalog.checklist')) {
    const checklistSteps = config__WEBPACK_IMPORTED_MODULE_3__["default"].get('catalog.checklist');
    let completedChecklistSteps = [];
    let mandatoryChecklistSteps = [];
    const infoEntryGraph = entry.getEntryInfo().getGraph();
    const tasks = infoEntryGraph.find(entry.getResourceURI(), 'http://entrystore.org/terms/progress');
    completedChecklistSteps = tasks.map(task => task.getObject().value);
    const noOfTasksCompleted = completedChecklistSteps.length;
    mandatoryChecklistSteps = checklistSteps.filter(checklistStep => checklistStep.mandatory === true);
    const mandatoryTotalCount = mandatoryChecklistSteps.length;
    const mandatoryCompleted = mandatoryChecklistSteps.filter(mandatoryChecklistStep => completedChecklistSteps.includes(mandatoryChecklistStep.name));
    const mandatoryProgressCount = mandatoryCompleted.length;
    return {
      totalCount: checklistSteps.length,
      progressCount: noOfTasksCompleted,
      mandatoryTotalCount,
      mandatoryProgressCount
    };
  }
  return {};
};

/**
 * progress bar's status for runtime changes
 *
 * @param {array} checklistSteps
 * @param {object} updatedTasks
 * @returns {object}
 */

const showChecklistProgress = (checklistSteps, updatedTasks) => {
  const completedChecklistSteps = Object.keys(updatedTasks).filter(updatedTask => updatedTasks[updatedTask]);
  const noOfTasksCompleted = completedChecklistSteps.length;
  const mandatoryChecklistSteps = checklistSteps.filter(checklistStep => checklistStep.mandatory === true);
  const mandatoryTotalCount = mandatoryChecklistSteps.length;
  const mandatoryCompleted = mandatoryChecklistSteps.filter(mandatoryChecklistStep => completedChecklistSteps.includes(mandatoryChecklistStep.name));
  const mandatoryProgressCount = mandatoryCompleted.length;
  return {
    totalCount: checklistSteps.length,
    progressCount: noOfTasksCompleted,
    mandatoryTotalCount,
    mandatoryProgressCount
  };
};

/**
 * Loading checklist from catalog config
 *
 * @returns {Array}
 */

const getChecklistSteps = () => {
  return config__WEBPACK_IMPORTED_MODULE_3__["default"].get('catalog.checklist') || [];
};

/**
 * if the entry is archived
 *
 * @param {object} entry - suggestion entry.
 * @returns {boolean}
 */

const isArchived = entry => entry.getEntryInfo().getGraph().findFirstValue(entry.getURI(), 'store:status') === _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.namespaces.expand('esterms:archived');

/**
 * Checking if the dataset already linked with the suggestion
 *
 * @param {Entry} entry
 * @param {Array} linkedDatasets
 * @returns {boolean}
 */

const islinked = (entry, linkedDatasets) => {
  return linkedDatasets === null || linkedDatasets === void 0 ? void 0 : linkedDatasets.some(linkedDataset => linkedDataset.getId() === entry.getId());
};

/**
 * Gets the checked tasks from the suggestion entry
 *
 * @param {Entry} entry
 * @param {Array} checklistSteps
 * @returns {object}
 */

const getCheckedTasks = (entry, checklistSteps) => {
  const newMetadataTasks = {};
  const infoEntryGraph = entry.getEntryInfo().getGraph();
  const tasks = infoEntryGraph.find(entry.getResourceURI(), 'http://entrystore.org/terms/progress');
  checklistSteps.forEach(checklistStep => {
    const {
      name
    } = checklistStep;
    const checkedTask = tasks.find(task => task.getObject().value === name);
    newMetadataTasks[name] = Boolean(checkedTask);
  });
  return newMetadataTasks;
};

/**
 * Adding or removing checklist tasks from entry
 *
 * @param {Entry} entry
 * @param {object} metadataTasks
 */

const addOrRemoveEntryTasks = (entry, metadataTasks) => {
  const infoEntryGraph = entry.getEntryInfo().getGraph();
  infoEntryGraph.findAndRemove(entry.getResourceURI(), 'http://entrystore.org/terms/progress');
  Object.keys(metadataTasks).forEach(task => {
    if (metadataTasks[task]) {
      infoEntryGraph.addL(entry.getResourceURI(), 'http://entrystore.org/terms/progress', task);
    }
  });
};

/**
 * Change the status of entry to archive/Unarchive
 *
 * @param {Entry} entry
 * @param {string} newStatus
 */

const archiveOrUnarchiveSuggestion = (entry, newStatus) => {
  const entryInfo = entry.getEntryInfo().getGraph();
  entryInfo.findAndRemove(entry.getURI(), 'store:status');
  entryInfo.add(entry.getURI(), 'store:status', newStatus);
  try {
    return entry.getEntryInfo().commit();
  } catch (err) {
    console.error(err);
  }
};

/**
 * Creates a new dataset entry and link it to the suggestion entry
 *
 * @param {*} entry
 * @param {*} graph
 * @param {*} suggestionEntry
 */
const createLinkedDatasetEntry = async (entry, graph, suggestionEntry) => {
  let datasetEntry;
  try {
    datasetEntry = await entry.setMetadata(graph).commit();
    await (0,catalog_datasets_DatasetOverview_utils_datasets__WEBPACK_IMPORTED_MODULE_6__.updateCatalogWithDataset)(datasetEntry);
  } catch (error) {
    console.error('Failed to create dataset');
    throw Error(error);
  }
  suggestionEntry.getMetadata().add(suggestionEntry.getResourceURI(), 'dcterms:references', datasetEntry.getResourceURI());
  try {
    await suggestionEntry.commitMetadata();
    return datasetEntry;
  } catch (error) {
    console.error('Failed to link to newly created data');
    throw Error(error);
  }
};


/***/ },

/***/ "./modules/catalog/utils/catalog.js"
/*!******************************************!*\
  !*** ./modules/catalog/utils/catalog.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   isCatalogPublic: () => (/* binding */ isCatalogPublic),
/* harmony export */   isUserAllowedCatalogCreation: () => (/* binding */ isUserAllowedCatalogCreation),
/* harmony export */   navigateToCatalogView: () => (/* binding */ navigateToCatalogView)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");


// import { asyncHandler } from 'commons/errors/AsyncHandler';





/**
 * @param {store/Context} catalogContext
 * @return {(boolean|undefined)}
 */
const isCatalogPublic = async catalogContext => {
  const contextEntry = await catalogContext.getEntry();
  return contextEntry.isPublic();
};

/**
 * Navigate to the parent Catalog of this dataset
 *
 * @returns {undefined}
 */
const navigateToCatalogView = function navigateToCatalogView(viewPathKey) {
  let withDelay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  let delayMillis = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 2000;
  const site = commons_registry__WEBPACK_IMPORTED_MODULE_2__["default"].get('siteManager');
  const state = site.getState();
  const {
    context
  } = state[state.view];
  if (withDelay) {
    // asyncHandler.openDialog(true); // TODO
    setTimeout(() => {
      // In order to avoid a slow solr re-index
      // asyncHandler.closeDialog(true); // TODO
      site.render(viewPathKey, {
        context
      });
    }, delayMillis);
  } else {
    site.render(viewPathKey, {
      context
    });
  }
};

/**
 *
 * @param {*} userEntry
 */
const isUserAllowedCatalogCreation = (userEntry, userInfo) => {
  const catalogCreationAllowGroup = config__WEBPACK_IMPORTED_MODULE_3__["default"].get('catalog.catalogCreationAllowedFor');
  if (userInfo.hasAdminRights || catalogCreationAllowGroup === commons_util_userIds__WEBPACK_IMPORTED_MODULE_5__.USERS_ENTRY_ID) {
    return true;
  }

  // check if the user parent groups includes config.catalogCreationAllowGroup
  return userEntry.getParentGroups().includes(commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.getEntryURI(commons_util_userIds__WEBPACK_IMPORTED_MODULE_5__.CONTEXT_PRINCIPALS, catalogCreationAllowGroup));
};


/***/ },

/***/ "./modules/catalog/utils/publish.js"
/*!******************************************!*\
  !*** ./modules/catalog/utils/publish.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getIsAllowedPublisher: () => (/* binding */ getIsAllowedPublisher),
/* harmony export */   isEntryPSI: () => (/* binding */ isEntryPSI),
/* harmony export */   publish: () => (/* binding */ publish),
/* harmony export */   publishInternally: () => (/* binding */ publishInternally),
/* harmony export */   setEntryAcl: () => (/* binding */ setEntryAcl),
/* harmony export */   unpublish: () => (/* binding */ unpublish),
/* harmony export */   unpublishInternally: () => (/* binding */ unpublishInternally)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");










/**
 * @param {Entry} userEntry
 * @returns {boolean}
 */
const getIsAllowedPublisher = userEntry => {
  const allowedFor = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('catalog.publishDatasetAllowedFor');
  const isAllowedUser = allowedFor === '_users' || userEntry.getParentGroups().includes(commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.getEntryURI('_principals', allowedFor));
  return isAllowedUser || (0,commons_util_user__WEBPACK_IMPORTED_MODULE_7__.hasAdminRights)(userEntry);
};

/**
 * Sets and commits an ACL change for an entry.
 *
 * @param {Entry} entry
 * @param {Function} updateAcl
 * @param {object} [options]
 * @param {boolean} [options.commit] - set to false for prototype entries
 * @returns {Promise}
 */
const setEntryAcl = async function setEntryAcl(entry, updateAcl) {
  let {
    commit = true
  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  const entryInfo = entry.getEntryInfo();
  const acl = entryInfo.getACL(true);
  const newAcl = updateAcl(acl);
  entryInfo.setACL(newAcl);
  if (commit) {
    await entryInfo.commit();
  }
  return newAcl;
};

/**
 * @param {Entry} entry
 * @returns {Promise<boolean>}
 */
const publishInternally = async entry => {
  await setEntryAcl(entry, acl => {
    acl.rread = [...acl.rread, commons_util_userIds__WEBPACK_IMPORTED_MODULE_8__.USERS_ENTRY_ID];
    acl.mread = [...acl.mread, commons_util_userIds__WEBPACK_IMPORTED_MODULE_8__.USERS_ENTRY_ID];
    return acl;
  });
  return true;
};

/**
 * @param {Entry} entry
 * @returns {Promise<boolean>}
 */
const unpublishInternally = async entry => {
  await setEntryAcl(entry, acl => {
    acl.rread = acl.rread.filter(id => id !== commons_util_userIds__WEBPACK_IMPORTED_MODULE_8__.USERS_ENTRY_ID);
    acl.mread = acl.mread.filter(id => id !== commons_util_userIds__WEBPACK_IMPORTED_MODULE_8__.USERS_ENTRY_ID);
    return acl;
  });
  return false;
};

/**
 * @param {Entry} entry
 * @returns {Promise<boolean>}
 */
const publish = async entry => {
  await setEntryAcl(entry, () => ({}));
  return true;
};

/**
 * @param {Entry} entry
 * @param {Entry} groupEntry
 * @param {object} [options]
 * @param {boolean} [options.commit] - set to false for prototype entries
 * @returns {Promise<boolean>}
 */
const unpublish = async (entry, groupEntry, options) => {
  await setEntryAcl(entry, acl => {
    const adminList = acl.admin || [];
    acl.admin = [...adminList, groupEntry.getId()];
    return acl;
  }, options);
  return false;
};

/**
 * Checks whether an entry has the PSI (external) flag set.
 * The entry is considered external (PSI) when the flag is absent.
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isEntryPSI = entry => !entry.getMetadata().findFirstValue(null, 'http://entryscape.com/terms/psi');

/***/ },

/***/ "./modules/catalog/utils/react/catalog.js"
/*!************************************************!*\
  !*** ./modules/catalog/utils/react/catalog.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   isCatalogPublic: () => (/* binding */ isCatalogPublic)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");



/**
 * @param {Context} catalogContext
 * @returns {(boolean|undefined)}
 */
const isCatalogPublic = async catalogContext => {
  const contextEntry = await catalogContext.getEntry();
  return contextEntry.isPublic();
};

/***/ },

/***/ "./modules/catalog/utils/react/dcat.js"
/*!*********************************************!*\
  !*** ./modules/catalog/utils/react/dcat.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getCatalogEntry: () => (/* binding */ getCatalogEntry),
/* harmony export */   getCatalogLabel: () => (/* binding */ getCatalogLabel),
/* harmony export */   getDatasetByDistributionURI: () => (/* binding */ getDatasetByDistributionURI),
/* harmony export */   getDistributionByFileResourceURIs: () => (/* binding */ getDistributionByFileResourceURIs),
/* harmony export */   mapResourceURIsToEntries: () => (/* binding */ mapResourceURIsToEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");








/**
 * @todo @valentino make generic util
 * @param collection
 * @param value
 * @return {*}
 */
const existsInCollection = (collection, value) => {
  if (Array.isArray(collection)) {
    return collection.includes(value);
  } else if (typeof collection === 'object') {
    return value in collection.keys();
  }
  return collection === value;
};

/**
 * @todo @valentino re-evaluate efficacy
 * @todo re-write as getInversePropertyPath
 *
 *
 * @param resourceURIs
 * @param context
 * @param rdfType
 * @param property
 * @param entriesMap
 * @return {promise}
 */
const requestSolrURIProperty = (resourceURIs, context, rdfType, property, entriesMap) => {
  return commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.newSolrQuery().context(context).rdfType(rdfType).uriProperty(property, resourceURIs).forEach(entry => {
    /** @type Array */
    const filteredResultEntriesRURIs = entry.getMetadata().objects(entry.getResourceURI(), property).values().filter(uri => existsInCollection(resourceURIs, uri)); // make sure what was retrieved is relevant

    // make the association between the uri and the entry
    filteredResultEntriesRURIs.forEach(ruri => entriesMap.set(ruri, entry));
  });
};

/**
 * Split a potentially very long solr request to a shorter one so that apache doesn't return 414.
 * Current max limit is 20 resource uris in the request.
 *
 * @param {String|String[]} resourceURIs
 * @param context
 * @param rdfType
 * @param property
 * @return {Promise<Map<any, any>>}
 */
const requestSolrInChunks = async (resourceURIs, context, rdfType, property) => {
  const entries = new Map();
  const MAX_URIS_IN_OR_QUERY = 20; // avoid too long HTTP requests
  let START_IDX = 0;
  let END_IDX = MAX_URIS_IN_OR_QUERY;
  const queryPromises = [];
  if (Array.isArray(resourceURIs)) {
    let repeat = Math.floor(resourceURIs.length / MAX_URIS_IN_OR_QUERY) + 1;
    while (repeat > 0) {
      // get next chunk
      const ruris = resourceURIs.slice(START_IDX, END_IDX);

      // make a solr request query
      queryPromises.push(requestSolrURIProperty(ruris, context, rdfType, property, entries));

      // update loop
      START_IDX += MAX_URIS_IN_OR_QUERY;
      END_IDX += MAX_URIS_IN_OR_QUERY;
      repeat -= 1;
    }
  } else {
    queryPromises.push(requestSolrURIProperty([resourceURIs], context, rdfType, property, entries));
  }
  await Promise.all(queryPromises);
  return entries;
};

/**
 *
 * @param {String|String[]} resourceURIs
 * @param context
 * @return {Promise<Map<string, store/Entry>>}
 */
const getDatasetByDistributionURI = (resourceURIs, context) => requestSolrInChunks(resourceURIs, context, 'dcat:Dataset', 'dcat:distribution');

/**
 *
 * @param {String|Array} resourceURIs
 * @param context
 * @return {Promise<Map<string, store/Entry>>}
 */
const getDistributionByFileResourceURIs = (resourceURIs, context) => requestSolrInChunks(resourceURIs, context, 'dcat:Distribution', 'dcat:accessURL');

/**
 *
 * @param resourceURIs
 * @param context
 * @return {Promise<Map<any, any>>}
 */
const mapResourceURIsToEntries = async (resourceURIs, context) => {
  const uriToEntryMap = new Map();
  try {
    const entries = await commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystoreUtil.loadEntriesByResourceURIs(resourceURIs, context, true);
    resourceURIs.forEach((resourceURI, idx) => {
      if (entries[idx]) {
        uriToEntryMap.set(resourceURI, entries[idx]);
      }
    });
  } catch (err) {
    throw Error(err);
  }
  return uriToEntryMap;
};

/**
 *
 * @param context
 * @return {Promise<Entry>}
 */
const getCatalogEntry = async function getCatalogEntry() {
  let context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  const inContext = context;
  try {
    const entries = await commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.newSolrQuery().context(inContext).rdfType('dcat:Catalog').limit(1).getEntries();
    return entries[0]; // by convention we have only one catalog per context
  } catch (err) {
    console.log(err);
    throw Error('No catalog entry found in context ', inContext.getId());
  }
};

/**
 *
 * @param context
 * @return {Promise<string|*>}
 */
const getCatalogLabel = async function getCatalogLabel() {
  let context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  const catalogEntry = await getCatalogEntry(context);
  return (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getLabel)(catalogEntry);
};


/***/ },

/***/ "./modules/catalog/utils/react/rowstoreApi.js"
/*!****************************************************!*\
  !*** ./modules/catalog/utils/react/rowstoreApi.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getRowstoreAPIUUID: () => (/* binding */ getRowstoreAPIUUID)
/* harmony export */ });
/**
 * Get the UUID from a distribution Entry
 * @param {store/Entry} entry
 * @return {string}
 */
const getRowstoreAPIUUID = entry => {
  const rowstoreURI = entry.getEntryInfo().getResourceURI();

  // rowstoreURI looks like <base>/rowstore/dataset/<uuid>
  return rowstoreURI.split('/').pop();
};


/***/ },

/***/ "./modules/commons/App.js"
/*!********************************!*\
  !*** ./modules/commons/App.js ***!
  \********************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useDocumentTitle */ "./modules/commons/hooks/useDocumentTitle.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_providers_AppProviders__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/providers/AppProviders */ "./modules/commons/providers/AppProviders.js");
/* harmony import */ var commons_providers_ViewProviders__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/providers/ViewProviders */ "./modules/commons/providers/ViewProviders.js");
/* harmony import */ var commons_providers_ParameterizedViewProviders__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/providers/ParameterizedViewProviders */ "./modules/commons/providers/ParameterizedViewProviders.js");
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_contexts__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/contexts */ "./modules/commons/contexts/index.js");
/* harmony import */ var commons_Layout__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/Layout */ "./modules/commons/Layout/index.js");
/* harmony import */ var commons_Layout_hooks_usePrimaryNavContext__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/Layout/hooks/usePrimaryNavContext */ "./modules/commons/Layout/hooks/usePrimaryNavContext.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_errors_ErrorHandler__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/errors/ErrorHandler */ "./modules/commons/errors/ErrorHandler/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_view_Permission__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/view/Permission */ "./modules/commons/view/Permission/index.js");
/* harmony import */ var commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useUserPermission */ "./modules/commons/hooks/useUserPermission.js");
/* harmony import */ var commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/errors/ErrorFallbackComponent */ "./modules/commons/errors/ErrorFallbackComponent/index.js");
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useGetProjectTypeInfo__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! commons/hooks/useGetProjectTypeInfo */ "./modules/commons/hooks/useGetProjectTypeInfo.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["View", "name", "title", "listProps", "overviewProps"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


































const ContextAwareViewWrapper = _ref => {
  let {
    View,
    name,
    title,
    listProps,
    overviewProps
  } = _ref;
  const {
    contextEntry,
    error
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_9__.useESContext)();
  const [pageTitle, setPageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const [language] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_11__.useLanguage)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_26__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    const contextEntryLabel = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_19__.getLabel)(contextEntry);
    if (contextEntryLabel === commons_util_userIds__WEBPACK_IMPORTED_MODULE_22__.CONTEXT_ENTRY_ID_PRINCIPALS || contextEntryLabel === '' && name.startsWith('admin__project')) {
      setPageTitle(title);
      return;
    }
    if (contextEntryLabel && contextEntryLabel !== pageTitle || name === 'catalog__dataset__search') {
      setPageTitle(contextEntryLabel);
    }
  }, [contextEntry, name, pageTitle, setPageTitle, title, language]);

  // prevent views from mounting twice
  // Todo Rethink! See comment below.
  // Added !contextEntry.getMetadata() so users with no read rights on catalogue
  //  metadata could see dataset preview.
  if (!pageTitle && contextEntry && !contextEntry.getMetadata() === null) return null;
  return /*#__PURE__*/React.createElement(View, {
    default: true,
    name: name,
    listProps: listProps,
    overviewProps: overviewProps
  });
};
ContextAwareViewWrapper.propTypes = {
  View: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  name: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_33__.listPropsPropType,
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_32__.overviewPropsPropType
};
const ParameterizedView = _ref2 => {
  let {
      View,
      name,
      title,
      listProps,
      overviewProps
    } = _ref2,
    rest = _objectWithoutProperties(_ref2, _excluded);
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_26__["default"])(commons_registry__WEBPACK_IMPORTED_MODULE_25__["default"].getError());
  return /*#__PURE__*/React.createElement(commons_providers_ParameterizedViewProviders__WEBPACK_IMPORTED_MODULE_14__["default"], rest, /*#__PURE__*/React.createElement(ContextAwareViewWrapper, {
    default: true,
    View: View,
    name: name,
    title: title,
    listProps: listProps,
    overviewProps: overviewProps
  }));
};
ParameterizedView.propTypes = {
  nrOfParamsInRoute: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),
  path: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  View: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  name: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_33__.listPropsPropType,
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_32__.overviewPropsPropType
};

// TODO rename
const SimpleView = _ref3 => {
  let {
    View,
    name,
    title,
    listProps,
    overviewProps
  } = _ref3;
  const [pageTitle, setPageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const [language] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_11__.useLanguage)();
  const {
    isProjectModule,
    projectLabel
  } = (0,commons_hooks_useGetProjectTypeInfo__WEBPACK_IMPORTED_MODULE_34__["default"])();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_26__["default"])(commons_registry__WEBPACK_IMPORTED_MODULE_25__["default"].getError());
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (isProjectModule) {
      setPageTitle(`${projectLabel} ${(0,commons_locale__WEBPACK_IMPORTED_MODULE_20__.localize)(title)}`);
      return;
    }
    setPageTitle((0,commons_locale__WEBPACK_IMPORTED_MODULE_20__.localize)(title));
  }, [setPageTitle, title, language, isProjectModule, projectLabel]);

  // prevent views from mounting twice
  if (!pageTitle) return null;
  return /*#__PURE__*/React.createElement(View, {
    key: name,
    name: name,
    listProps: listProps,
    overviewProps: overviewProps
  });
};
SimpleView.propTypes = {
  View: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  name: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  title: prop_types__WEBPACK_IMPORTED_MODULE_3___default().objectOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)),
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_33__.listPropsPropType,
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_32__.overviewPropsPropType
};
const makeTitle = (viewName, localizedTitle) => {
  if (!viewName) return '';
  if (viewName === localizedTitle) {
    return `${viewName}`;
  }
  return `${viewName} - ${localizedTitle}`;
};

// TODO refactor
/**
 * Wrapping each view in a ESContext (and possible EntryContext)
 * context is required in order to update the context (and possibly entry id)
 * when the document.pathname changes.
 *
 * However, this comes with 2 downsides:
 *  1) we need to wrap each view with the appropriate contexts (ESContext/EntryContext)
 *  2) after each navigation the context/entry is renewed even if some of them remain the same.
 *    E.g navigating from /catalog/256/datasets to /catalog/256/overview.
 *    In practise, this is not an issue since entrystore-js
 *    caches entries but still is not very elegant.
 *
 * TODO If react-router at some point offers a useMatch(manyRoutes)
 * signature we could do something like
 *
 *     <ESContextProvider path={path}>
        <EntryProvider default>
          {allViews}
        </EntryProvider>
      </ESContextProvider>
 *
 * @param {*} param0
 */

const ViewWrapper = _ref4 => {
  let {
    path,
    name,
    View,
    layout,
    title,
    isPublic = false,
    restrictTo,
    module: moduleName,
    listProps = {
      excludeActions: []
    },
    overviewProps = {
      excludeActions: []
    }
  } = _ref4;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_7__.useUserState)();
  const {
    pathname
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useLocation)();
  const {
    contextId
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useParams)();
  const [viewName, setViewName] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)('');
  const [refreshCount, setRefreshCount] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(0);
  const userPermission = (0,commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_28__["default"])(userEntry);
  const module = (0,commons_util_module__WEBPACK_IMPORTED_MODULE_31__.getModuleFromName)(moduleName, userInfo);
  const hasViewPermission = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.checkHasViewPermission)(userPermission, restrictTo, module);
  const renderedView = hasViewPermission ? View : commons_view_Permission__WEBPACK_IMPORTED_MODULE_27__["default"];
  const localizedTitle = (0,commons_locale__WEBPACK_IMPORTED_MODULE_20__.localize)(title);
  (0,commons_hooks_useDocumentTitle__WEBPACK_IMPORTED_MODULE_10__["default"])(makeTitle(viewName, localizedTitle));
  if (commons_registry__WEBPACK_IMPORTED_MODULE_25__["default"].getCurrentView() !== name) {
    commons_registry__WEBPACK_IMPORTED_MODULE_25__["default"].setCurrentView(name);
  }
  if (
  // ! This and NotFound should eventually be harmonized
  !isPublic &&
  // e.g signin, singup, search
  name !== 'signin' &&
  // just to make sure we avoid infinite loop
  userInfo.entryId === commons_util_userIds__WEBPACK_IMPORTED_MODULE_22__.USER_ENTRY_ID_GUEST) {
    return /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Navigate, {
      to: "/signin",
      replace: true,
      state: {
        referrer: pathname
      }
    });
  }

  // TODO key
  return /*#__PURE__*/React.createElement(commons_contexts__WEBPACK_IMPORTED_MODULE_16__.ViewContext.Provider, {
    value: {
      viewName,
      setViewName,
      refreshCount,
      setRefreshCount
    }
  }, /*#__PURE__*/React.createElement(commons_Layout__WEBPACK_IMPORTED_MODULE_17__.Layout, {
    layout: layout,
    path: path,
    viewName: viewName,
    key: `main-layout-${refreshCount}`
  }, contextId ? /*#__PURE__*/React.createElement(ParameterizedView, {
    name: name,
    path: path,
    pathname: pathname,
    View: renderedView,
    title: localizedTitle,
    listProps: listProps,
    overviewProps: overviewProps
  }) : /*#__PURE__*/React.createElement(SimpleView, {
    name: name,
    path: path,
    View: renderedView,
    title: title,
    listProps: listProps,
    overviewProps: overviewProps
  })));
};
ViewWrapper.propTypes = {
  path: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  name: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  View: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  layout: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  title: prop_types__WEBPACK_IMPORTED_MODULE_3___default().objectOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)),
  isPublic: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  restrictTo: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  module: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_33__.listPropsPropType,
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_32__.overviewPropsPropType
};
const NotFound = _ref5 => {
  let {
    userInfo
  } = _ref5;
  const isGuest = userInfo.entryId === commons_util_userIds__WEBPACK_IMPORTED_MODULE_22__.USER_ENTRY_ID_GUEST;
  const appName = config__WEBPACK_IMPORTED_MODULE_24__["default"].get('theme.appName');
  const path = isGuest && appName === 'Registry' ? (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.getPathFromViewName)('start') : (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.getPathFromViewName)('signin');
  return /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Navigate, {
    to: path
  });
};
NotFound.propTypes = {
  userInfo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    entryId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
  })
};
const Views = () => {
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_7__.useUserState)();
  const viewsDefinitions = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_8__.getActiveViews)(userInfo);
  const startView = config__WEBPACK_IMPORTED_MODULE_24__["default"].get('site.startView') || 'start';
  const router = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.createBrowserRouter)((0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.createRoutesFromElements)(/*#__PURE__*/React.createElement(React.Fragment, null, commons_registry__WEBPACK_IMPORTED_MODULE_25__["default"].getApp() === 'registry' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Route, {
    path: "/status/public",
    element: /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Navigate, {
      to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.getPathFromViewName)('status_reports')
    })
  }), /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Route, {
    path: "/status/private",
    element: /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Navigate, {
      to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.getPathFromViewName)('status_reports')
    })
  })) : null, /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Route, {
    index: true,
    path: "/",
    element: /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Navigate, {
      to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.getPathFromViewName)(startView),
      replace: true
    })
  }), /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Route, {
    path: "/admin",
    element: /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Navigate, {
      to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_21__.getPathFromViewName)('admin__users')
    })
  }), viewsDefinitions.map(_ref6 => {
    let {
      exact = true,
      route: path,
      name,
      title,
      layout,
      public: isPublic,
      restrictTo,
      module,
      listProps,
      overviewProps
    } = _ref6;
    return /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Route, {
      key: Math.random(),
      exact: exact,
      path: path,
      element: /*#__PURE__*/React.createElement(ViewWrapper, {
        path: path,
        View: commons_registry__WEBPACK_IMPORTED_MODULE_25__["default"].getView(name),
        name: name,
        layout: layout,
        title: title,
        isPublic: isPublic,
        restrictTo: restrictTo,
        key: name,
        module: module,
        listProps: listProps,
        overviewProps: overviewProps
      })
    });
  }), /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Route, {
    path: "*",
    element: /*#__PURE__*/React.createElement(NotFound, {
      userInfo: userInfo
    })
  }))));
  return /*#__PURE__*/React.createElement(commons_providers_ViewProviders__WEBPACK_IMPORTED_MODULE_13__["default"], null, /*#__PURE__*/React.createElement(commons_Layout_hooks_usePrimaryNavContext__WEBPACK_IMPORTED_MODULE_18__.PrimaryNavProvider, null, /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_4__.RouterProvider, {
    router: router,
    future: {
      v7_startTransition: true
    }
  })));
};
const App = () => {
  return /*#__PURE__*/React.createElement(commons_providers_AppProviders__WEBPACK_IMPORTED_MODULE_12__["default"], null, /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_30__["default"], {
    FallbackComponent: commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_29__["default"]
  }, /*#__PURE__*/React.createElement(commons_errors_ErrorHandler__WEBPACK_IMPORTED_MODULE_23__["default"], null), /*#__PURE__*/React.createElement(Views, null)));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (App);

/***/ },

/***/ "./modules/commons/CommentsDialog/CommentDialog.js"
/*!*********************************************************!*\
  !*** ./modules/commons/CommentsDialog/CommentDialog.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_Collapse__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Collapse */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js");
/* harmony import */ var _mui_icons_material_Reply__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/Reply */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Reply.js");
/* harmony import */ var _mui_icons_material_Edit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material/Edit */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material_Delete__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material/Delete */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Delete.js");
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_icons_material_ExpandMore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/icons-material/ExpandMore */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandMore.js");
/* harmony import */ var _mui_icons_material_ExpandLess__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material/ExpandLess */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandLess.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoComment_nls__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/nls/escoComment.nls */ "./modules/commons/nls/escoComment.nls");
/* harmony import */ var commons_nls_escoComment_nls__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoComment_nls__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_23__);
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useElementOnFocus__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/hooks/useElementOnFocus */ "./modules/commons/hooks/useElementOnFocus.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./util */ "./modules/commons/CommentsDialog/util.js");
/* harmony import */ var _CommentDialog_scss__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./CommentDialog.scss */ "./modules/commons/CommentsDialog/CommentDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
































const CommentForm = _ref => {
  let {
    entry,
    fetchComments,
    setIsLoading
  } = _ref;
  const [subject, setSubject] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  const [comment, setComment] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__.useSnackbar)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)([(commons_nls_escoComment_nls__WEBPACK_IMPORTED_MODULE_21___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_23___default())]);
  const clearFields = () => {
    setComment('');
    setSubject('');
  };
  return /*#__PURE__*/React.createElement("form", {
    className: "escaCommentForm",
    noValidate: true,
    autoComplete: "off"
  }, /*#__PURE__*/React.createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_13__["default"], {
    required: true,
    value: subject,
    label: t('subject'),
    id: "subject-input",
    variant: "filled",
    placeholder: t('subjectInput_placeholder'),
    onChange: e => setSubject(e.target.value)
  }), /*#__PURE__*/React.createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_13__["default"], {
    required: true,
    value: comment,
    label: t('comment'),
    id: "comment-input",
    variant: "filled",
    placeholder: t('commentInput_placeholder'),
    onChange: e => setComment(e.target.value)
  }), /*#__PURE__*/React.createElement("div", {
    className: "escaCommentForm__button"
  }, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_7__["default"], {
    disabled: !subject || !comment,
    onClick: async () => {
      await (0,_util__WEBPACK_IMPORTED_MODULE_30__.addComment)({
        entry,
        comment,
        subject
      });
      setIsLoading(true);
      clearFields();
      fetchComments().then(() => {
        addSnackbar({
          message: t('addedComment')
        });
        setIsLoading(false);
      });
    }
  }, t('postComment'))));
};
const ReplyForm = _ref2 => {
  let {
    entry,
    setOpenComment,
    fetchComments,
    setIsLoading
  } = _ref2;
  const [reply, setReply] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__.useSnackbar)();
  const {
    elementToFocus
  } = (0,commons_hooks_useElementOnFocus__WEBPACK_IMPORTED_MODULE_26__.useElementOnFocus)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)([(commons_nls_escoComment_nls__WEBPACK_IMPORTED_MODULE_21___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_23___default())]);
  const clearFields = () => {
    setReply('');
  };
  return /*#__PURE__*/React.createElement("form", {
    className: "escaCommentForm",
    noValidate: true,
    autoComplete: "off"
  }, /*#__PURE__*/React.createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_13__["default"], {
    required: true,
    value: reply,
    label: t('comment'),
    id: "reply-comment-input",
    autoFocus: true,
    variant: "filled",
    placeholder: t('commentInput_placeholder'),
    onChange: e => setReply(e.target.value)
  }), /*#__PURE__*/React.createElement("div", {
    className: "escaCommentForm__button"
  }, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escaReply__cancelButton'
    },
    onClick: () => {
      elementToFocus.focus();
      setOpenComment(false);
    },
    variant: "text"
  }, t('cancelReply')), /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_7__["default"], {
    disabled: !reply,
    onClick: async () => {
      await (0,_util__WEBPACK_IMPORTED_MODULE_30__.addComment)({
        entry,
        comment: reply
      });
      setIsLoading(true);
      clearFields();
      if (setOpenComment) setOpenComment(false);
      fetchComments().then(() => {
        addSnackbar({
          message: t('addedReply')
        });
        setIsLoading(false);
      });
    }
  }, t('postComment'))));
};
const DisplayComment = _ref3 => {
  let {
    commentList,
    fetchComments
  } = _ref3;
  const [showReply, setShowReply] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true);
  const [openEditForm, setOpenEditFrom] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [editEntry, setEditEntry] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const {
    userInfo: {
      uri: userURI
    },
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__.useUserState)();
  const canModify = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(uri => userURI === uri, [userURI]);
  const handleReply = () => {
    setShowReply(!showReply);
  };
  return commentList.map(comment => {
    const {
      subject,
      body,
      author,
      date,
      noOfReply,
      reply,
      entry,
      authorURI
    } = comment;
    return /*#__PURE__*/React.createElement("article", {
      key: `comment-${entry.getId()}`
    }, /*#__PURE__*/React.createElement("header", {
      className: "escaComment__header"
    }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_16__["default"], {
      variant: "body1",
      component: "h3"
    }, subject)), openEditForm && editEntry.getId() === entry.getId() ? /*#__PURE__*/React.createElement(EditForm, {
      entry: entry,
      setOpenEditFrom: setOpenEditFrom,
      fetchComments: fetchComments
    }) : /*#__PURE__*/React.createElement("div", {
      className: "escaComment__description"
    }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_16__["default"], {
      variant: "body1"
    }, body)), /*#__PURE__*/React.createElement("div", {
      className: "escaComment__footer"
    }, /*#__PURE__*/React.createElement(CommentFooter, {
      noOfReply: noOfReply,
      showReply: showReply,
      handleReply: handleReply,
      entry: entry,
      fetchComments: fetchComments,
      setOpenEditFrom: setOpenEditFrom,
      setEditEntry: setEditEntry,
      canEdit: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_29__.hasAdminRights)(userEntry) || canModify(authorURI) && noOfReply === 0,
      canDelete: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_29__.hasAdminRights)(userEntry) || canModify(authorURI)
    }, /*#__PURE__*/React.createElement(CommentInfo, {
      author: author,
      date: date
    })), noOfReply > 0 && /*#__PURE__*/React.createElement(_mui_material_Collapse__WEBPACK_IMPORTED_MODULE_9__["default"], {
      in: showReply,
      timeout: "auto"
    }, /*#__PURE__*/React.createElement(DisplayReply, {
      replies: reply,
      fetchComments: fetchComments
    }))));
  });
};
const DisplayReply = _ref4 => {
  let {
    replies,
    fetchComments
  } = _ref4;
  const [repliesOfReply, setRepliesOfReply] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [editEntry, setEditEntry] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)();
  const [showReply, setShowReply] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [openEditForm, setOpenEditFrom] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const {
    userInfo: {
      uri: userURI
    },
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__.useUserState)();
  const isAdmin = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_29__.hasAdminRights)(userEntry);
  const canModify = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(uri => userURI === uri, [userURI]);
  const handleReply = async reply => {
    setShowReply(!showReply);
    if (!showReply) {
      setRepliesOfReply(await (0,_util__WEBPACK_IMPORTED_MODULE_30__.getReplies)(reply));
    } else {
      setRepliesOfReply([]);
      setEditEntry([]);
    }
  };
  return replies.map(replyItem => {
    const {
      body,
      author,
      date,
      noOfReply,
      entry,
      authorURI
    } = replyItem;
    return /*#__PURE__*/React.createElement("article", {
      key: `reply-${entry.getId()}`
    }, openEditForm && editEntry.getId() === entry.getId() ? /*#__PURE__*/React.createElement(EditForm, {
      entry: editEntry,
      setOpenEditFrom: setOpenEditFrom,
      fetchComments: fetchComments
    }) : /*#__PURE__*/React.createElement("div", {
      className: "escaReply__description"
    }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_16__["default"], {
      variant: "body1",
      component: "h3"
    }, body)), /*#__PURE__*/React.createElement("div", {
      className: "escaReply__footer"
    }, /*#__PURE__*/React.createElement(CommentFooter, {
      entry: entry,
      noOfReply: noOfReply,
      handleReply: handleReply,
      showReply: showReply,
      setOpenEditFrom: setOpenEditFrom,
      setEditEntry: setEditEntry,
      fetchComments: fetchComments,
      canEdit: isAdmin || canModify(authorURI) && noOfReply === 0,
      canDelete: isAdmin || canModify(authorURI)
    }, /*#__PURE__*/React.createElement(CommentInfo, {
      author: author,
      date: date
    })), noOfReply > 0 && (editEntry === null || editEntry === void 0 ? void 0 : editEntry.getId()) === entry.getId() && /*#__PURE__*/React.createElement(_mui_material_Collapse__WEBPACK_IMPORTED_MODULE_9__["default"], {
      in: showReply,
      timeout: "auto"
    }, repliesOfReply.length ? /*#__PURE__*/React.createElement(DisplayReply, {
      replies: repliesOfReply,
      fetchComments: fetchComments
    }) : /*#__PURE__*/React.createElement("div", {
      className: "escaComments__circularProgress"
    }, /*#__PURE__*/React.createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_17__["default"], null)))));
  });
};
const EditForm = _ref5 => {
  let {
    entry,
    setOpenEditFrom,
    fetchComments
  } = _ref5;
  const [editedComment, setEditedComment] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,_util__WEBPACK_IMPORTED_MODULE_30__.getCommentText)(entry));
  const {
    elementToFocus
  } = (0,commons_hooks_useElementOnFocus__WEBPACK_IMPORTED_MODULE_26__.useElementOnFocus)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__.useSnackbar)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)([(commons_nls_escoComment_nls__WEBPACK_IMPORTED_MODULE_21___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_23___default())]);
  return /*#__PURE__*/React.createElement("form", {
    className: "escaComment__description"
  }, /*#__PURE__*/React.createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_13__["default"], {
    required: true,
    id: "edit-comment-input",
    value: editedComment,
    label: t('comment'),
    autoFocus: true,
    variant: "filled",
    placeholder: t('commentInput_placeholder'),
    onChange: e => setEditedComment(e.target.value)
  }), /*#__PURE__*/React.createElement("div", {
    className: "escaCommentForm__button"
  }, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escaReply__cancelButton'
    },
    onClick: () => {
      elementToFocus.focus();
      setOpenEditFrom(false);
    },
    variant: "text"
  }, t('commentEditCancel')), /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_7__["default"], {
    onClick: () => {
      (0,_util__WEBPACK_IMPORTED_MODULE_30__.editComment)(entry, editedComment, fetchComments);
      setOpenEditFrom(false);
      addSnackbar({
        type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__.SUCCESS_EDIT
      });
    }
  }, t('commentEditSave'))));
};
const CommentInfo = _ref6 => {
  let {
    author,
    date
  } = _ref6;
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_16__["default"], {
    className: "escaCommentsFooter__author"
  }, `${author} ${date}`));
};
const CommentFooter = props => {
  const {
    entry,
    noOfReply,
    handleReply,
    setOpenEditFrom,
    setEditEntry,
    showReply,
    fetchComments,
    children,
    canEdit,
    canDelete
  } = props;
  const [openComment, setOpenComment] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [isLoading, setIsLoading] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__.useSnackbar)();
  const {
    setElementToFocus
  } = (0,commons_hooks_useElementOnFocus__WEBPACK_IMPORTED_MODULE_26__.useElementOnFocus)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)([(commons_nls_escoComment_nls__WEBPACK_IMPORTED_MODULE_21___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_23___default())]);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "escaCommentFooter__action"
  }, children, /*#__PURE__*/React.createElement("div", {
    className: "escaCommentFooter__actionButtons"
  }, noOfReply > 0 && /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escaCommentFooter__showReply'
    },
    variant: "text",
    onClick: () => {
      handleReply(entry);
      setEditEntry(entry);
    }
  }, t('reply', noOfReply), showReply ? /*#__PURE__*/React.createElement(_mui_icons_material_ExpandLess__WEBPACK_IMPORTED_MODULE_15__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material_ExpandMore__WEBPACK_IMPORTED_MODULE_14__["default"], null)), /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__["default"], {
    title: t('replyComment')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    onClick: event => {
      setElementToFocus(event.currentTarget);
      setOpenComment(true);
    },
    "aria-label": t('replyComment')
  }, /*#__PURE__*/React.createElement(_mui_icons_material_Reply__WEBPACK_IMPORTED_MODULE_10__["default"], null))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    disabled: !canEdit,
    onClick: event => {
      setElementToFocus(event.currentTarget);
      setOpenEditFrom(true);
      setEditEntry(entry);
    },
    "aria-label": t('editComment')
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__["default"], {
    title: t('editComment')
  }, /*#__PURE__*/React.createElement(_mui_icons_material_Edit__WEBPACK_IMPORTED_MODULE_11__["default"], null))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    disabled: !canDelete,
    onClick: async () => {
      await (0,_util__WEBPACK_IMPORTED_MODULE_30__.deleteCommentAndReplies)(entry, fetchComments);
      addSnackbar({
        message: t('deleteCommentAction')
      });
    },
    "aria-label": t('deleteComment')
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__["default"], {
    title: t('deleteComment')
  }, /*#__PURE__*/React.createElement(_mui_icons_material_Delete__WEBPACK_IMPORTED_MODULE_12__["default"], null))))), openComment && /*#__PURE__*/React.createElement(ReplyForm, {
    entry: entry,
    isReply: true,
    fetchComments: fetchComments,
    setOpenComment: setOpenComment,
    setIsLoading: setIsLoading
  }), isLoading && /*#__PURE__*/React.createElement("div", {
    className: "escaComments__circularProgress"
  }, /*#__PURE__*/React.createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_17__["default"], null)));
};
const CommentsDialog = _ref7 => {
  let {
    entry,
    closeDialog,
    dialogTitle = '',
    refreshCommentsCount,
    actionParams = [],
    nlsBundles = []
  } = _ref7;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)([...nlsBundles, (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_22___default())]);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__.useESContext)();
  const [comments, setComments] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [isLoading, setIsLoading] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true);
  const [, refreshComments] = actionParams;
  const previousNrOfComments = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
  const refreshEntryComments = refreshCommentsCount || refreshComments;
  const fetchComments = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    const replyList = await (0,_util__WEBPACK_IMPORTED_MODULE_30__.getReplyList)(entry, context);
    const result = await (0,_util__WEBPACK_IMPORTED_MODULE_30__.getComments)(replyList);
    setComments(result);
    return result.length;
  }, [entry, context]);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    fetchComments(entry).then(NrOfComments => {
      previousNrOfComments.current = NrOfComments;
      setIsLoading(false);
    });
  }, [entry, fetchComments]);
  const handleCloseDialog = () => {
    if (previousNrOfComments.current !== comments.length) {
      refreshEntryComments();
    }
    closeDialog();
  };
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_27__["default"], {
    id: "select-linked-dataset",
    closeDialog: handleCloseDialog,
    closeDialogButtonLabel: t('close'),
    title: dialogTitle || t('commentHeader', (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_18__.getTitle)(entry)),
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(CommentForm, {
    entry: entry,
    fetchComments: fetchComments,
    setIsLoading: setIsLoading
  }), isLoading ? /*#__PURE__*/React.createElement("div", {
    className: "escaComments__circularProgress"
  }, /*#__PURE__*/React.createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_17__["default"], null)) : /*#__PURE__*/React.createElement(commons_hooks_useElementOnFocus__WEBPACK_IMPORTED_MODULE_26__.ElementOnFocusProvider, null, /*#__PURE__*/React.createElement(DisplayComment, {
    commentList: comments,
    fetchComments: fetchComments
  })), /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_24__["default"], null));
};
CommentsDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  dialogTitle: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  refreshCommentsCount: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_6___default().any), (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)])),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.nlsBundlesPropType
};
CommentForm.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  fetchComments: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  setIsLoading: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
ReplyForm.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  setOpenComment: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  fetchComments: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  setIsLoading: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
EditForm.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  setOpenEditFrom: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  fetchComments: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
CommentInfo.propTypes = {
  author: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  date: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)
};
CommentFooter.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  fetchComments: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  noOfReply: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().number),
  handleReply: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  setOpenEditFrom: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  setEditEntry: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  showReply: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  canEdit: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  canDelete: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CommentsDialog);

/***/ },

/***/ "./modules/commons/CommentsDialog/hooks/useCommentsCount.js"
/*!******************************************************************!*\
  !*** ./modules/commons/CommentsDialog/hooks/useCommentsCount.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./modules/commons/CommentsDialog/util.js");






const useCommentsCount = entryOrEntries => {
  const {
    data: commentsCountByEntry,
    error,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__["default"])({
    data: {}
  });
  const [refreshNumber, setRefreshNumber] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_4__["default"])(error);
  const getCommentsCount = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(entryURI => {
    if (!(entryURI in commentsCountByEntry)) return null;
    return commentsCountByEntry[entryURI];
  }, [commentsCountByEntry]);
  const refreshCommentsCount = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    setRefreshNumber(Math.random());
  }, []);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!entryOrEntries) return;
    const entries = Array.isArray(entryOrEntries) ? entryOrEntries : [entryOrEntries];
    runAsync((0,_util__WEBPACK_IMPORTED_MODULE_5__.fetchComments)(entries));
  }, [entryOrEntries, runAsync, refreshNumber]);
  return [getCommentsCount, refreshCommentsCount];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCommentsCount);

/***/ },

/***/ "./modules/commons/CommentsDialog/index.js"
/*!*************************************************!*\
  !*** ./modules/commons/CommentsDialog/index.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CommentDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CommentDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CommentDialog */ "./modules/commons/CommentsDialog/CommentDialog.js");


/***/ },

/***/ "./modules/commons/CommentsDialog/util.js"
/*!************************************************!*\
  !*** ./modules/commons/CommentsDialog/util.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addComment: () => (/* binding */ addComment),
/* harmony export */   deleteCommentAndReplies: () => (/* binding */ deleteCommentAndReplies),
/* harmony export */   editComment: () => (/* binding */ editComment),
/* harmony export */   fetchComments: () => (/* binding */ fetchComments),
/* harmony export */   getCommentText: () => (/* binding */ getCommentText),
/* harmony export */   getComments: () => (/* binding */ getComments),
/* harmony export */   getNrOfComments: () => (/* binding */ getNrOfComments),
/* harmony export */   getReplies: () => (/* binding */ getReplies),
/* harmony export */   getReplyList: () => (/* binding */ getReplyList)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/chunk.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }













/**
 * Adding Comment/reply
 *
 * @param {Entry} entry
 * @param {string} comment
 * @param {string} subject
 * @returns {object}
 */

const addComment = _ref => {
  let {
    entry,
    comment,
    subject = ''
  } = _ref;
  const context = entry.getContext();
  const CommentEntry = context.newEntry();
  const resourceURI = CommentEntry.getResourceURI();
  const metadata = CommentEntry.getMetadata();
  metadata.add(resourceURI, 'rdf:type', 'oa:Annotation');
  metadata.addL(resourceURI, 'dcterms:title', subject);
  metadata.add(resourceURI, 'oa:motivatedBy', 'oa:commenting');
  metadata.add(resourceURI, 'oa:hasTarget', entry.getResourceURI());
  const stmt = metadata.add(resourceURI, 'oa:hasBody');
  metadata.add(stmt.getValue(), 'rdf:type', 'oa:TextualBody');
  metadata.addL(stmt.getValue(), 'dc:format', 'text/plain');
  metadata.addL(stmt.getValue(), 'rdf:value', comment);
  try {
    CommentEntry.commit().then(() => {
      entry.setRefreshNeeded();
      entry.refresh();
    });
  } catch (err) {
    console.log(err);
  }
  return entry;
};

/**
 * Adding Edit Comment/reply
 *
 * @param {Entry} entry
 * @param {string} commentTxt
 * @param {Function} fetchComments
 */
const editComment = (entry, commentTxt, fetchComments) => {
  const metadata = entry.getMetadata();
  const stmt = metadata.find(null, 'oa:hasBody')[0];
  metadata.findAndRemove(null, 'rdf:value');
  metadata.addL(stmt.getValue(), 'rdf:value', commentTxt);
  try {
    entry.commitMetadata().then(async () => {
      await fetchComments();
    });
  } catch (err) {
    console.log(err);
  }
};

/**
 * Get Comment/reply
 *
 * @param {Entry} entry
 * @returns {Entry[]}
 */

const getReplyList = async (entry, context) => {
  await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_10__["default"])(2000);
  const commentList = await commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().context(context).uriProperty('oa:hasTarget', entry.getResourceURI()).rdfType('oa:Annotation').sort('modified+desc').list().getEntries();
  return commentList;
};

/**
 * Comment Subject
 *
 * @param {Entry} entry
 * @returns {string}
 */

const getCommentSubject = entry => {
  return entry.getMetadata().findFirstValue(null, 'dcterms:title');
};

/**
 * Comment Body
 *
 * @param {Entry} entry
 * @returns {string}
 */

const getCommentText = entry => {
  return entry.getMetadata().findFirstValue(null, 'rdf:value');
};

/**
 * Auther name and author uri
 *
 * @param {Entry} entry
 * @returns {Promise}
 */

const getCommentorAndURI = async entry => {
  const userResourceUri = entry.getEntryInfo().getCreator();
  const userEntryURI = commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.getEntryURIFromURI(userResourceUri);
  const userEntry = await commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.getEntry(userEntryURI);
  return [(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getLabel)(userEntry), userEntryURI];
};

/**
 * Comment date
 *
 * @param {Entry} entry
 * @returns {Date}
 */

const getCommentCreationDate = entry => {
  const date = entry.getEntryInfo().getCreationDate();
  return (0,commons_util_date__WEBPACK_IMPORTED_MODULE_9__.getShortDate)(date);
};

/**
 * No of reply of a comment/entry
 *
 * @param {Entry} entry
 * @returns {number}
 */

const getNrOfReplies = entry => {
  return entry.getReferrers('oa:hasTarget').length;
};

/**
 * Reply in a formetted object
 *
 * @param {entry} reply
 * @returns {object}
 */

const getReplyEntry = async reply => {
  const [author, authorURI] = await getCommentorAndURI(reply);
  return {
    subject: getCommentSubject(reply),
    body: getCommentText(reply),
    author,
    authorURI,
    date: getCommentCreationDate(reply),
    noOfReply: getNrOfReplies(reply),
    entry: reply
  };
};
const getReplies = async comment => {
  const replies = await getReplyList(comment);
  const result = replies.map(reply => getReplyEntry(reply));
  return Promise.all(result);
};

/**
 * Comment in a formetted object
 *
 * @param {entry} comment
 * @returns {object}
 */

const getCommentEntry = async comment => {
  const noOfReply = getNrOfReplies(comment);
  const [author, authorURI] = await getCommentorAndURI(comment);
  let reply = [];
  if (noOfReply > 0) {
    reply = await getReplies(comment);
  }
  return {
    subject: getCommentSubject(comment),
    body: getCommentText(comment),
    author,
    authorURI,
    date: getCommentCreationDate(comment),
    reply,
    noOfReply,
    entry: comment
  };
};

/**
 * Array of all Comments
 *
 * @param {Array} comments
 * @returns {Promise}
 */

const getComments = comments => Promise.all(comments.map(comment => getCommentEntry(comment)));
const findAndDeleteReplies = async entry => {
  if (!entry.getReferrers('oa:hasTarget').length) return;
  return commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().uriProperty('oa:hasTarget', entry.getResourceURI()).rdfType('oa:Annotation').list().forEach(replyEntry => findAndDeleteReplies(replyEntry).then(() => replyEntry.del()));
};
const deleteCommentAndReplies = (entry, fetchComments) => {
  return findAndDeleteReplies(entry).then(entry.del.bind(entry)).then(async () => {
    await fetchComments();
  });
};

/**
 * @param {Entry} entry
 * @returns {number}
 */
const getNrOfComments = entry => {
  const list = commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().uriProperty('oa:hasTarget', entry.getResourceURI()).rdfType('oa:Annotation').limit(1).list();
  return list.getEntries().then(() => list.getSize());
};

/**
 * @param {Entry[]} entries
 * @param {Context} context
 * @returns {Promise<object>}
 */
const getCommentsByEntries = async (entries, context) => {
  const commentsCountByEntry = {};
  await commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().uriProperty('oa:hasTarget', entries.map(entry => entry.getResourceURI())).rdfType('oa:Annotation').context(context).list().forEach(commentEntry => {
    const [statement] = commentEntry.getMetadata().find(commentEntry.getResourceURI(), 'oa:hasTarget');
    const entryResourceURI = statement.getValue();
    if (!(entryResourceURI in commentsCountByEntry)) {
      commentsCountByEntry[entryResourceURI] = 0;
    }
    commentsCountByEntry[entryResourceURI] += 1;
  });
  return commentsCountByEntry;
};

/**
 * @param {Entry[]} entries
 * @returns {Promise<object>}
 */
const fetchComments = entries => {
  const entriesChunks = (0,lodash_es__WEBPACK_IMPORTED_MODULE_11__["default"])(entries, 5);
  const [firstEntry] = entries;
  return Promise.all(entriesChunks.map(entriesChunk => getCommentsByEntries(entriesChunk, firstEntry.getContext()))).then(commentsCountResult => commentsCountResult.reduce((combinedCommentsCountByEntry, commentsCountByEntry) => _objectSpread(_objectSpread({}, combinedCommentsCountByEntry), commentsCountByEntry), {}));
};


/***/ },

/***/ "./modules/commons/Layout/AsyncLayoutWrapper/AsyncLayoutWrapper.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/Layout/AsyncLayoutWrapper/AsyncLayoutWrapper.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AsyncLayoutWrapper: () => (/* binding */ AsyncLayoutWrapper)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var _MainLayout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../MainLayout */ "./modules/commons/Layout/MainLayout/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");








const AsyncLayoutWrapper = _ref => {
  let {
    route,
    viewName,
    children,
    getLayoutProps = commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getSecondaryNavViews
  } = _ref;
  const {
    contextId,
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_3__.useParams)();
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__.useUserState)();
  const {
    data: secondaryNavViews,
    status,
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])({
    data: []
  });
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (status !== 'idle') return;
    const routeParams = {
      contextId,
      projectName
    };
    runAsync(Promise.resolve(getLayoutProps(route, routeParams, userInfo)));
  }, [getLayoutProps, contextId, projectName, runAsync, status, route, userInfo]);
  return /*#__PURE__*/React.createElement(_MainLayout__WEBPACK_IMPORTED_MODULE_7__.MainLayout, {
    route: route,
    viewName: viewName,
    secondaryNavViews: secondaryNavViews,
    error: error
  }, children);
};
AsyncLayoutWrapper.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  route: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  viewName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  getLayoutProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/Layout/AsyncLayoutWrapper/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/Layout/AsyncLayoutWrapper/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AsyncLayoutWrapper: () => (/* reexport safe */ _AsyncLayoutWrapper__WEBPACK_IMPORTED_MODULE_0__.AsyncLayoutWrapper)
/* harmony export */ });
/* harmony import */ var _AsyncLayoutWrapper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncLayoutWrapper */ "./modules/commons/Layout/AsyncLayoutWrapper/AsyncLayoutWrapper.js");


/***/ },

/***/ "./modules/commons/Layout/FullScreenLayout/FullScreenLayout.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/Layout/FullScreenLayout/FullScreenLayout.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/errors/ErrorFallbackComponent */ "./modules/commons/errors/ErrorFallbackComponent/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const FullScreenLayout = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    style: {
      width: '100%',
      height: '100%'
    }
  }, /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_2__["default"], {
    FallbackComponent: commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_3__["default"]
  }, children), /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_1__["default"], null));
};
FullScreenLayout.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FullScreenLayout);

/***/ },

/***/ "./modules/commons/Layout/FullScreenLayout/index.js"
/*!**********************************************************!*\
  !*** ./modules/commons/Layout/FullScreenLayout/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _FullScreenLayout__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _FullScreenLayout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FullScreenLayout */ "./modules/commons/Layout/FullScreenLayout/FullScreenLayout.js");


/***/ },

/***/ "./modules/commons/Layout/Layout.js"
/*!******************************************!*\
  !*** ./modules/commons/Layout/Layout.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FULLSCREEN_LAYOUT: () => (/* binding */ FULLSCREEN_LAYOUT),
/* harmony export */   Layout: () => (/* binding */ Layout),
/* harmony export */   MAIN_LAYOUT: () => (/* binding */ MAIN_LAYOUT),
/* harmony export */   SINGLE_COLUMN_LAYOUT: () => (/* binding */ SINGLE_COLUMN_LAYOUT)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _SingleColumnLayout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SingleColumnLayout */ "./modules/commons/Layout/SingleColumnLayout/index.js");
/* harmony import */ var _AsyncLayoutWrapper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AsyncLayoutWrapper */ "./modules/commons/Layout/AsyncLayoutWrapper/index.js");
/* harmony import */ var _FullScreenLayout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./FullScreenLayout */ "./modules/commons/Layout/FullScreenLayout/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const MAIN_LAYOUT = 'main-layout';
const SINGLE_COLUMN_LAYOUT = 'single-column-layout';
const FULLSCREEN_LAYOUT = 'fullscreen-layout';
const Layout = _ref => {
  let {
    layout = MAIN_LAYOUT,
    children,
    path,
    viewName
  } = _ref;
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_2__.useUserState)();
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_3__.useParams)();
  if (layout === SINGLE_COLUMN_LAYOUT) return /*#__PURE__*/React.createElement(_SingleColumnLayout__WEBPACK_IMPORTED_MODULE_4__.SingleColumnLayout, null, children);
  if (layout === FULLSCREEN_LAYOUT) return /*#__PURE__*/React.createElement(_FullScreenLayout__WEBPACK_IMPORTED_MODULE_6__["default"], null, children);
  return /*#__PURE__*/React.createElement(_AsyncLayoutWrapper__WEBPACK_IMPORTED_MODULE_5__.AsyncLayoutWrapper, {
    getLayoutProps: (0,commons_util_module__WEBPACK_IMPORTED_MODULE_1__.getModuleLayoutPropsFunction)(userInfo, projectName),
    route: path,
    viewName: viewName
  }, children);
};
Layout.propTypes = {
  layout: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  path: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  viewName: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

/***/ },

/***/ "./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _ExternalLinks_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ExternalLinks.scss */ "./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const ExternalLink = _ref => {
  let {
    uri,
    label,
    divider
  } = _ref;
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_5__.i18n.getLocale();
  const defaultLocale = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('locale.fallback');
  const localizedLabel = typeof label === 'string' ? label : label[locale] || label[defaultLocale];
  const localizedURI = typeof uri === 'string' ? uri : uri[locale] || uri[defaultLocale];
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    className: "escoExternalLink",
    component: _mui_material__WEBPACK_IMPORTED_MODULE_2__["default"],
    href: localizedURI,
    target: "_blank"
  }, localizedLabel), divider ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "escoExternalLinks__Divider",
    variant: "middle"
  }) : null);
};
ExternalLink.propTypes = {
  uri: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})]),
  label: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})]),
  divider: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
};
const ExternalLinks = _ref2 => {
  let {
    externalLinks
  } = _ref2;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoExternalLinks",
    disablePadding: true
  }, externalLinks.map((_ref3, index) => {
    let {
      uri,
      label
    } = _ref3;
    return /*#__PURE__*/React.createElement(ExternalLink
    // eslint-disable-next-line react/no-array-index-key
    , {
      key: index,
      uri: uri,
      label: label,
      divider: index !== externalLinks.length - 1
    });
  }));
};
ExternalLinks.propTypes = {
  externalLinks: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({}))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ExternalLinks);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/ExternalLinks/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/ExternalLinks/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ExternalLinks__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ExternalLinks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ExternalLinks */ "./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.js");


/***/ },

/***/ "./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.js"
/*!********************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Drawer/Drawer.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Description.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/QuestionAnswer.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Support.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_SearchInput__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/SearchInput */ "./modules/commons/components/SearchInput/index.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _HelpDrawer_scss__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./HelpDrawer.scss */ "./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["children", "href"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }

















const PREFERS_REDUCED_MOTION = window.matchMedia('(prefers-reduced-motion)').matches;
const SCROLL_ANIMATION_DURATION = PREFERS_REDUCED_MOTION ? 0 : 300;
const HIGHLIGHT_DELAY = 100;
const MAIN_CONTENT_ID = 'main-content';
const resetScroll = () => document.getElementById(MAIN_CONTENT_ID).scrollTo({
  top: 0,
  left: 0,
  behavior: PREFERS_REDUCED_MOTION ? 'auto' : 'smooth'
});
const HighlightOverlay = _ref => {
  let {
    rects
  } = _ref;
  const padding = 6;
  if (!rects.length) return null;
  return /*#__PURE__*/React.createElement("svg", {
    className: "escoHelpDrawer__HighlightOverlay"
  }, rects.map(rect => /*#__PURE__*/React.createElement("rect", {
    className: "escoHelpDrawer__SvgRect",
    x: rect.left - padding,
    y: rect.top - padding,
    width: rect.width + padding * 2,
    height: rect.height + padding * 2,
    rx: "8"
  })));
};
HighlightOverlay.propTypes = {
  rects: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(DOMRect))
};
const HelpDrawer = _ref2 => {
  let {
    open,
    toggle,
    helpLinks = []
  } = _ref2;
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_21__.i18n.getLocale();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_24___default()));
  const [searchQuery, setSearchQuery] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)('');
  const clearSearch = () => setSearchQuery('');
  const onSearchQueryChange = event => {
    setSearchQuery(event.target.value.toLowerCase());
  };
  const [highlightRects, setHighlightRects] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)([]);
  const clearHighlights = () => setHighlightRects([]);
  const {
    enabled: supportEnabled,
    url: supportURL,
    label: supportLabel
  } = config__WEBPACK_IMPORTED_MODULE_25__["default"].get('entryscape.support');
  const {
    enabled: communityEnabled,
    url: communityURL,
    label: communityLabel
  } = config__WEBPACK_IMPORTED_MODULE_25__["default"].get('entryscape.community');
  if (!helpLinks.length) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(HighlightOverlay, {
    rects: highlightRects
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    open: open,
    onClose: toggle,
    anchor: "right",
    classes: {
      paper: 'escoHelpDrawer'
    },
    variant: "persistent",
    hideBackdrop: true,
    onMouseLeave: resetScroll
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoHelpDrawer__header"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoHelpDrawer__headerTitle"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "h2"
  }, translate('helpTitle')), /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__["default"], {
    title: translate('helpCloseTooltip')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    onClick: toggle,
    size: "small"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_14__["default"], null)))), /*#__PURE__*/React.createElement("div", {
    className: "escoHelpDrawer__headerSearch"
  }, /*#__PURE__*/React.createElement(commons_components_SearchInput__WEBPACK_IMPORTED_MODULE_20__["default"], {
    query: searchQuery,
    onChange: onSearchQueryChange,
    clear: clearSearch,
    placeholder: translate('helpSearchPlaceholder'),
    clearTooltip: translate('helpSearchClearTooltip'),
    inputClass: "escoHelpDrawer__searchInput"
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], null), /*#__PURE__*/React.createElement("div", {
    className: "escoHelpDrawer__content"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, helpLinks.filter(_ref3 => {
    var _label$locale;
    let {
      label
    } = _ref3;
    return (_label$locale = label[locale]) === null || _label$locale === void 0 ? void 0 : _label$locale.toLowerCase().includes(searchQuery.trim());
  }).map((_ref4, index) => {
    let {
      label,
      links,
      highlightId
    } = _ref4;
    return /*#__PURE__*/React.createElement(HelpLink, {
      label: label,
      link: links,
      highlightId: highlightId
      // eslint-disable-next-line react/no-array-index-key
      ,
      key: `helplink-${highlightId}-${index}`,
      onHighlight: setHighlightRects,
      onClearHighlights: clearHighlights
    });
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], null), /*#__PURE__*/React.createElement("div", {
    className: "escoHelpDrawer__footer"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, /*#__PURE__*/React.createElement(FooterLink, {
    href: `https://docs.entryscape.com/${locale}`,
    label: translate('docsLinkLabel'),
    Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_15__["default"]
  }), communityEnabled ? /*#__PURE__*/React.createElement(FooterLink, {
    href: communityURL,
    label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_23__.localize)(communityLabel),
    Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__["default"]
  }) : null, supportEnabled ? /*#__PURE__*/React.createElement(FooterLink, {
    href: supportURL,
    label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_23__.localize)(supportLabel),
    Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"]
  }) : null))));
};
HelpDrawer.propTypes = {
  open: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  toggle: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  helpLinks: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    label: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.nlsPropType,
    links: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
      en: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
      de: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
      sv: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
    }),
    highlight: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  }))
};
const HelpLink = _ref5 => {
  let {
    label,
    link,
    highlightId,
    onHighlight,
    onClearHighlights
  } = _ref5;
  const timerRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_21__.i18n.getLocale();
  const defaultLocale = config__WEBPACK_IMPORTED_MODULE_25__["default"].get('locale.fallback');
  const localizedLabel = label[locale] || label[defaultLocale];
  const localizedURI = typeof link === 'string' ? link : link[locale] || link[defaultLocale];
  const handleHighlight = () => {
    clearTimeout(timerRef.current);
    timerRef.current = setTimeout(() => {
      if (!highlightId) return;
      const highlightIdArray = Array.isArray(highlightId) ? highlightId : [highlightId];
      const selectors = highlightIdArray.map(id => `[data-highlight-id="${id}"]`).join(',');
      const elementsNodeList = document.querySelectorAll(selectors);
      const elements = Array.from(elementsNodeList);
      if (elements.length > 0) {
        elements[0].scrollIntoView({
          behavior: PREFERS_REDUCED_MOTION ? 'auto' : 'smooth',
          block: 'end',
          inline: 'nearest'
        });

        // wait for scroll animation to finish before drawing the highlights
        setTimeout(() => {
          const rects = elements.map(element => element.getBoundingClientRect());
          onHighlight(rects);
        }, SCROLL_ANIMATION_DURATION);
      }
    }, HIGHLIGHT_DELAY);
  };
  const handleClearHighlight = () => {
    clearTimeout(timerRef.current);
    timerRef.current = setTimeout(() => {
      onClearHighlights();
    }, HIGHLIGHT_DELAY);
  };
  const highlightProps = highlightId ? {
    onMouseOver: handleHighlight,
    onFocus: handleHighlight,
    onMouseOut: handleClearHighlight,
    onBlur: handleClearHighlight
  } : {};
  return /*#__PURE__*/React.createElement(ListItemLink, _extends({
    href: localizedURI,
    key: localizedURI,
    className: "escoHelpDrawer__listItem"
  }, highlightProps), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, localizedLabel), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    className: "escoHelpDrawer__linkIcon"
  }));
};
HelpLink.propTypes = {
  label: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.nlsPropType,
  link: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().string), commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.nlsPropType]),
  highlightId: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().string), prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_5___default().string))]),
  onHighlight: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,
  onClearHighlights: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired
};
const ListItemLink = _ref6 => {
  let {
      children,
      href
    } = _ref6,
    props = _objectWithoutProperties(_ref6, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], _extends({
    key: href,
    component: _mui_material__WEBPACK_IMPORTED_MODULE_13__["default"],
    href: href,
    target: "_blank",
    alignItems: "center"
  }, props), children);
};
ListItemLink.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),
  href: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const FooterLink = _ref7 => {
  let {
    href,
    label,
    Icon
  } = _ref7;
  return /*#__PURE__*/React.createElement(ListItemLink, {
    href: href
  }, /*#__PURE__*/React.createElement(Icon, {
    size: "small",
    className: "escoHelpDrawer__footerIcon"
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "body2"
  }, label), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    className: "escoHelpDrawer__linkIcon"
  }));
};
FooterLink.propTypes = {
  href: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  Icon: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().elementType)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HelpDrawer);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/HelpDrawer/index.js"
/*!***************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/HelpDrawer/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _HelpDrawer__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _HelpDrawer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./HelpDrawer */ "./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.js");


/***/ },

/***/ "./modules/commons/Layout/MainLayout/Main.js"
/*!***************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/Main.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/@remix-run+router@1.23.3/node_modules/@remix-run/router/dist/router.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useUserPermission */ "./modules/commons/hooks/useUserPermission.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js");
/* harmony import */ var commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/errors/ErrorFallbackComponent */ "./modules/commons/errors/ErrorFallbackComponent/index.js");
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


















const LayoutErrorWrapper = _ref => {
  let {
    error,
    children
  } = _ref;
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_15__["default"])(error);
  return children;
};

/**
 *
 * @param {boolean} primaryNavPinned
 * @param {boolean} helpDrawerOpen
 * @returns {string}
 */
const getContainerClasses = (primaryNavPinned, helpDrawerOpen) => {
  if (primaryNavPinned && helpDrawerOpen) return 'escoMainLayout__container escoMainLayout__container--shiftedBoth';
  if (primaryNavPinned) return 'escoMainLayout__container escoMainLayout__container--shifted';
  if (helpDrawerOpen) return 'escoMainLayout__container escoMainLayout__container--shiftedRight';
  return 'escoMainLayout__container';
};

/**
 *
 * @param {boolean} hasSecondaryNavigation
 * @param {boolean} helpDrawerOpen
 * @returns {string}
 */
const getMainContentClasses = (hasSecondaryNavigation, helpDrawerOpen) => {
  if (hasSecondaryNavigation && helpDrawerOpen) return 'escoMainLayout__content escoMainLayout__content--shiftedBoth';
  if (hasSecondaryNavigation) return 'escoMainLayout__content escoMainLayout__content--shifted';
  if (helpDrawerOpen) return 'escoMainLayout__content escoMainLayout__content--shiftedRight';
  return 'escoMainLayout__content';
};
const Main = _ref2 => {
  let {
    primaryNavPinned,
    helpDrawerOpen,
    error,
    hasSecondaryNavigation,
    secondaryNavViews,
    location,
    viewDef,
    userEntry,
    matchedRoute,
    translate,
    children
  } = _ref2;
  const navParams = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_8__.useParams)();
  const userPermission = (0,commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_9__["default"])(userEntry);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__.useUserState)();
  return /*#__PURE__*/React.createElement("div", {
    className: getContainerClasses(primaryNavPinned, helpDrawerOpen)
  }, /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_14__["default"], {
    FallbackComponent: commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_13__["default"]
  }, /*#__PURE__*/React.createElement(LayoutErrorWrapper, {
    error: error
  }, /*#__PURE__*/React.createElement("div", {
    className: `escoSidebar ${primaryNavPinned ? 'escoSidebar--shifted' : ''}`
  }, hasSecondaryNavigation ? /*#__PURE__*/React.createElement("nav", {
    id: "secondary-navigation",
    "aria-label": translate('secondaryNavigation'),
    className: "escoSecondaryNav"
  }, secondaryNavViews.map(_ref3 => {
    let {
      title,
      route,
      restrictTo,
      main,
      module: moduleName
    } = _ref3;
    const match = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_7__.matchPath)({
      path: route,
      end: false
    }, encodeURI(location.pathname)) || viewDef.matchRoute === route;
    const module = (0,commons_util_module__WEBPACK_IMPORTED_MODULE_18__.getModuleFromName)(moduleName, userInfo);
    return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_17__.checkHasViewPermission)(userPermission, restrictTo, module) ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
      onClick: event => {
        if (route === matchedRoute) {
          event.preventDefault();
        }
      },
      component: react_router_dom__WEBPACK_IMPORTED_MODULE_6__.Link,
      to: (0,react_router_dom__WEBPACK_IMPORTED_MODULE_7__.generatePath)(route, navParams),
      key: route,
      classes: {
        root: match ? 'escoSecondaryNav__Link escoSecondaryNav__Link--active' : 'escoSecondaryNav__Link'
      }
    }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_20__.localize)(title), main ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      color: "secondary",
      size: "small",
      label: "main",
      sx: {
        marginLeft: '4px'
      }
    }) : null) : null;
  })) : /*#__PURE__*/React.createElement("div", null), /*#__PURE__*/React.createElement("div", {
    className: "escoSidebarBrand"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoBrand"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    component: react_router_dom__WEBPACK_IMPORTED_MODULE_6__.Link,
    to: "/",
    className: "escoBrand__Link",
    title: translate('goHomeLink')
  }, /*#__PURE__*/React.createElement("img", {
    className: "escoBrand__logo",
    src: new URL('images/es-logo-grayscale.svg', config__WEBPACK_IMPORTED_MODULE_19__["default"].get('theme.default.themePath')).href,
    alt: "EntryScape logo"
  }))))), /*#__PURE__*/React.createElement("main", {
    id: "main-content",
    className: getMainContentClasses(hasSecondaryNavigation, helpDrawerOpen)
  }, children))));
};
Main.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),
  primaryNavPinned: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  helpDrawerOpen: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  hasSecondaryNavigation: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  error: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
  location: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    pathname: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  }),
  matchedRoute: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  viewDef: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    matchRoute: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  }),
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
  secondaryNavViews: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    name: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    title: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.nlsPropType,
    route: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  }))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Main);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/MainLayout.js"
/*!*********************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/MainLayout.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MainLayout: () => (/* binding */ MainLayout)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountCircle.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Help.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/AppBar.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Toolbar/Toolbar.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_auth_UserSettingsDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/auth/UserSettingsDialog */ "./modules/commons/auth/UserSettingsDialog/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_common_LanguageSelect__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/common/LanguageSelect */ "./modules/commons/components/common/LanguageSelect/index.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/nav/components/Logo */ "./modules/commons/nav/components/Logo/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_app_scss__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/app.scss */ "./modules/commons/app.scss");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_auth_PrivacyDialog__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/auth/PrivacyDialog */ "./modules/commons/auth/PrivacyDialog/index.js");
/* harmony import */ var commons_errors_PlannedMaintenance__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/errors/PlannedMaintenance */ "./modules/commons/errors/PlannedMaintenance/index.js");
/* harmony import */ var commons_components_Icon__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/Icon */ "./modules/commons/components/Icon/index.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_Layout_hooks_usePrimaryNavContext__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/Layout/hooks/usePrimaryNavContext */ "./modules/commons/Layout/hooks/usePrimaryNavContext.js");
/* harmony import */ var _Main__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./Main */ "./modules/commons/Layout/MainLayout/Main.js");
/* harmony import */ var _MainLayout_scss__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./MainLayout.scss */ "./modules/commons/Layout/MainLayout/MainLayout.scss");
/* harmony import */ var _useReleaseNotification__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./useReleaseNotification */ "./modules/commons/Layout/MainLayout/useReleaseNotification.js");
/* harmony import */ var _HelpDrawer__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./HelpDrawer */ "./modules/commons/Layout/MainLayout/HelpDrawer/index.js");
/* harmony import */ var _PrimaryNavigation__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./PrimaryNavigation */ "./modules/commons/Layout/MainLayout/PrimaryNavigation/index.js");
/* harmony import */ var _UserMenu__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./UserMenu */ "./modules/commons/Layout/MainLayout/UserMenu/index.js");
/* harmony import */ var _ExternalLinks__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./ExternalLinks */ "./modules/commons/Layout/MainLayout/ExternalLinks/index.js");
/* harmony import */ var _MiniDrawer__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./MiniDrawer */ "./modules/commons/Layout/MainLayout/MiniDrawer/index.js");
/* harmony import */ var _useGetHelpLinks__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./useGetHelpLinks */ "./modules/commons/Layout/MainLayout/useGetHelpLinks.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


































/**
 *
 * @param {boolean} primaryNavPinned
 * @param {boolean} helpDrawerOpen
 * @returns {string}
 */
const getAppBarClasses = (primaryNavPinned, helpDrawerOpen) => {
  if (primaryNavPinned && helpDrawerOpen) return 'escoAppBar escoAppBar--shiftedBoth';
  if (primaryNavPinned) return 'escoAppBar escoAppBar--shifted';
  if (helpDrawerOpen) return 'escoAppBar escoAppBar--shiftedRight';
  return 'escoAppBar';
};
const MainLayout = _ref => {
  let {
    children,
    route: matchedRoute,
    viewName,
    secondaryNavViews = [],
    error
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_25__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_22___default()));
  const location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useLocation)();
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useParams)();
  const {
    pinned
  } = (0,commons_Layout_hooks_usePrimaryNavContext__WEBPACK_IMPORTED_MODULE_30__.usePrimaryNavContext)();
  const [userMenuAnchorElement, setUserMenuAnchorElement] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__.useUserState)();
  const {
    displayName: userDisplayName
  } = userInfo;
  const modules = (0,commons_util_module__WEBPACK_IMPORTED_MODULE_17__.getPrimaryNavModules)(userInfo);
  const isGuest = userEntry.getId() === commons_util_userIds__WEBPACK_IMPORTED_MODULE_16__.USER_ENTRY_ID_GUEST;
  const app = commons_registry__WEBPACK_IMPORTED_MODULE_29__["default"].getApp();
  const {
    updateReleaseInfoVersion,
    hasUnreadReleaseInfo
  } = (0,_useReleaseNotification__WEBPACK_IMPORTED_MODULE_33__["default"])(userEntry);

  // User settings dialog
  const [userSettingsDialogOpen, setUserSettingsDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const closeDialog = () => setUserSettingsDialogOpen(false);
  const module = (0,commons_util_module__WEBPACK_IMPORTED_MODULE_17__.findModuleByRoute)(modules, matchedRoute, projectName);
  const hasSecondaryNavigation = secondaryNavViews.length > 1;
  const externalLinks = config__WEBPACK_IMPORTED_MODULE_23__["default"].get('theme.externalLinks');
  const includeHelp = config__WEBPACK_IMPORTED_MODULE_23__["default"].get('includeHelp');
  const [helpDrawerOpen, setHelpDrawerOpen] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const toggleHelpDrawer = () => setHelpDrawerOpen(previousOpen => !previousOpen);
  const viewDef = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_18__.getViewDefFromRoute)(matchedRoute);
  const {
    helpLinks
  } = (0,_useGetHelpLinks__WEBPACK_IMPORTED_MODULE_39__["default"])(viewDef.name, includeHelp);
  const showPrimaryNav = !isGuest || app === 'registry';
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    position: "fixed",
    elevation: 0,
    classes: {
      root: getAppBarClasses(pinned, helpDrawerOpen)
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "escoSkipLink",
    href: "#main-content"
  }, translate('skipLinkLabel')), hasSecondaryNavigation ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "escoSkipLink",
    href: "#secondary-navigation"
  }, translate('skipToSecondaryNavLabel')) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    classes: {
      root: 'escoToolbar'
    }
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoToolbarHeader"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoToolbarHeader__Menu"
  }, module && /*#__PURE__*/React.createElement(commons_components_Icon__WEBPACK_IMPORTED_MODULE_28__["default"], {
    "aria-label": `${module.name} start page`
  }, (0,commons_util_module__WEBPACK_IMPORTED_MODULE_17__.getModuleIconFromName)(module.name, module.icon)), viewName && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    variant: "h1",
    className: "escoH1--small",
    noWrap: true
  }, viewName)), /*#__PURE__*/React.createElement("div", {
    className: "escoToolbar__buttonSection"
  }, /*#__PURE__*/React.createElement(commons_errors_PlannedMaintenance__WEBPACK_IMPORTED_MODULE_27__["default"], null), helpLinks !== null && helpLinks !== void 0 && helpLinks.length && includeHelp ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    "aria-label": translate('helpAriaLabel'),
    onClick: toggleHelpDrawer
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoToolbar__Icon--large'
    }
  })) : null, !isGuest ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    "aria-label": translate('accountButtonAriaLabel'),
    "aria-controls": "menu-appbar",
    "aria-haspopup": "true",
    onClick: _ref2 => {
      let {
        currentTarget
      } = _ref2;
      setUserMenuAnchorElement(currentTarget);
    },
    color: "inherit",
    classes: {
      root: 'escoToolbar__Button--right'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    invisible: !hasUnreadReleaseInfo,
    color: "primary",
    overlap: "circular",
    variant: "dot",
    classes: {
      badge: 'escoUserMenu__badge'
    }
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    classes: {
      root: 'escoToolbar__Icon--large escoToolbar__Icon--orange'
    }
  }))), /*#__PURE__*/React.createElement(_UserMenu__WEBPACK_IMPORTED_MODULE_36__["default"], {
    anchorElement: userMenuAnchorElement,
    setAnchorElement: setUserMenuAnchorElement,
    displayName: userDisplayName,
    setUserSettingsDialogOpen: setUserSettingsDialogOpen,
    updateReleaseInfoVersion: updateReleaseInfoVersion,
    hasUnreadReleaseInfo: hasUnreadReleaseInfo
  })) : /*#__PURE__*/React.createElement(commons_components_common_LanguageSelect__WEBPACK_IMPORTED_MODULE_19__["default"], {
    textFieldProps: {
      fullWidth: false
    }
  }))))), /*#__PURE__*/React.createElement(_MiniDrawer__WEBPACK_IMPORTED_MODULE_38__["default"], null, /*#__PURE__*/React.createElement("div", {
    className: "escoDrawer__brand"
  }, /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_4__.Link, {
    to: "/",
    title: translate('goHomeLink')
  }, /*#__PURE__*/React.createElement(commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_21__["default"], {
    type: "icon",
    className: "escoDrawer__logo"
  }))), showPrimaryNav ? /*#__PURE__*/React.createElement(_PrimaryNavigation__WEBPACK_IMPORTED_MODULE_35__["default"], {
    modules: modules,
    translate: translate,
    location: location
  }) : null, externalLinks ? /*#__PURE__*/React.createElement(_ExternalLinks__WEBPACK_IMPORTED_MODULE_37__["default"], {
    externalLinks: externalLinks
  }) : null), includeHelp ? /*#__PURE__*/React.createElement(_HelpDrawer__WEBPACK_IMPORTED_MODULE_34__["default"], {
    open: helpDrawerOpen,
    toggle: toggleHelpDrawer,
    helpLinks: helpLinks
  }) : null, /*#__PURE__*/React.createElement(_Main__WEBPACK_IMPORTED_MODULE_31__["default"], {
    error: error,
    hasSecondaryNavigation: hasSecondaryNavigation,
    secondaryNavViews: secondaryNavViews,
    location: location,
    viewDef: viewDef,
    userEntry: userEntry,
    matchedRoute: matchedRoute,
    primaryNavPinned: pinned,
    helpDrawerOpen: helpDrawerOpen,
    translate: translate
  }, children), /*#__PURE__*/React.createElement("div", {
    id: "entryscape_dialogs",
    className: "entryscape"
  }, /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_20__["default"], null)), /*#__PURE__*/React.createElement(commons_auth_PrivacyDialog__WEBPACK_IMPORTED_MODULE_26__["default"], {
    userEntry: userEntry
  }), userSettingsDialogOpen ? /*#__PURE__*/React.createElement(commons_auth_UserSettingsDialog__WEBPACK_IMPORTED_MODULE_15__["default"], {
    closeDialog: closeDialog
  }) : null);
};
MainLayout.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),
  route: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  viewName: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  error: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  secondaryNavViews: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    name: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    title: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_25__.nlsPropType,
    route: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
  }))
};

/***/ },

/***/ "./modules/commons/Layout/MainLayout/MiniDrawer/MiniDrawer.js"
/*!********************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/MiniDrawer/MiniDrawer.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Drawer/Drawer.js");
/* harmony import */ var commons_Layout_hooks_usePrimaryNavContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/Layout/hooks/usePrimaryNavContext */ "./modules/commons/Layout/hooks/usePrimaryNavContext.js");
/* harmony import */ var _PinToggle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../PinToggle */ "./modules/commons/Layout/MainLayout/PinToggle/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const MiniDrawer = _ref => {
  let {
    children
  } = _ref;
  const {
    pinned,
    togglePinned,
    hovered,
    setHovered
  } = (0,commons_Layout_hooks_usePrimaryNavContext__WEBPACK_IMPORTED_MODULE_5__.usePrimaryNavContext)();
  const [forceCollapsed, setForceCollapsed] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);

  // On unpin, force the drawer collapsed even if the cursor is still over it.
  // Cleared on re-pin or when the cursor leaves the drawer.
  const handleTogglePinned = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    setForceCollapsed(pinned);
    togglePinned();
  }, [pinned, togglePinned]);
  const handleMouseEnter = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => setHovered(true), [setHovered]);
  const handleMouseLeave = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    setHovered(false);
    setForceCollapsed(false);
  }, [setHovered]);
  const expanded = !forceCollapsed && (pinned || hovered);
  const paperProps = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => ({
    classes: {
      root: expanded ? 'escoDrawer escoDrawer--expanded' : 'escoDrawer'
    },
    onMouseEnter: handleMouseEnter,
    onMouseLeave: handleMouseLeave
  }), [expanded, handleMouseEnter, handleMouseLeave]);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onFocus: () => setHovered(true),
    onBlur: () => setHovered(false),
    variant: "permanent",
    anchor: "left",
    slotProps: {
      paper: paperProps
    }
  }, children, /*#__PURE__*/React.createElement(_PinToggle__WEBPACK_IMPORTED_MODULE_6__["default"], {
    pinned: pinned,
    onToggle: handleTogglePinned
  }));
};
MiniDrawer.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MiniDrawer);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/MiniDrawer/index.js"
/*!***************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/MiniDrawer/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _MiniDrawer__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _MiniDrawer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MiniDrawer */ "./modules/commons/Layout/MainLayout/MiniDrawer/MiniDrawer.js");


/***/ },

/***/ "./modules/commons/Layout/MainLayout/PinToggle/PinToggle.js"
/*!******************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/PinToggle/PinToggle.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PushPin.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PushPinOutlined.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _PinToggle_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./PinToggle.scss */ "./modules/commons/Layout/MainLayout/PinToggle/PinToggle.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const PinToggle = _ref => {
  let {
    pinned,
    onToggle
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const [tooltipOpen, setTooltipOpen] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const label = pinned ? translate('unpinSidebarLabel') : translate('pinSidebarLabel');
  const handleClick = () => {
    setTooltipOpen(false);
    onToggle();
  };
  return /*#__PURE__*/React.createElement("div", {
    className: "escoPinToggle"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
    title: label,
    open: tooltipOpen,
    onOpen: () => setTooltipOpen(true),
    onClose: () => setTooltipOpen(false)
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    "aria-label": label,
    "aria-pressed": pinned,
    onClick: handleClick,
    size: "small",
    className: "escoPinToggle__Button"
  }, pinned ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null))));
};
PinToggle.propTypes = {
  pinned: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  onToggle: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PinToggle);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/PinToggle/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/PinToggle/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PinToggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PinToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PinToggle */ "./modules/commons/Layout/MainLayout/PinToggle/PinToggle.js");


/***/ },

/***/ "./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.js"
/*!**********************************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var _PrimaryNavigation_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./PrimaryNavigation.scss */ "./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["className", "isActive", "to"],
  _excluded2 = ["isActive", "to"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










/**
 *
 * @param {string} href
 * @param {object} location
 * @returns {boolean}
 */
const checkIsActive = (href, location) => {
  const locationPath = location.pathname.split('/')[1];
  const hrefPath = href.split('/')[1];
  return locationPath === hrefPath;
};
const PrimaryNavLink = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((_ref, ref) => {
  let {
      className,
      isActive,
      to
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_7__.NavLink, _extends({
    className: `${className}${isActive ? ' escoPrimaryNav__ListItemLink--active' : ''}`,
    ref: ref,
    to: to
  }, rest));
});
PrimaryNavLink.displayName = 'PrimaryNavLink';
PrimaryNavLink.propTypes = {
  className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  isActive: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  to: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const ListItemLink = _ref2 => {
  let {
      isActive,
      to
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded2);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
    component: PrimaryNavLink,
    isActive: isActive,
    to: to
  }, props));
};
ListItemLink.propTypes = {
  isActive: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  to: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const PrimaryNavigationLink = _ref3 => {
  let {
    isExternal,
    isActive,
    path,
    children
  } = _ref3;
  return isExternal ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    href: path,
    classes: {
      root: 'escoPrimaryNav__ListItemLink'
    },
    target: "_blank"
  }, children) : /*#__PURE__*/React.createElement(ListItemLink, {
    classes: {
      root: 'escoPrimaryNav__ListItemLink'
    },
    to: path,
    isActive: isActive
  }, children);
};
PrimaryNavigationLink.propTypes = {
  isExternal: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  isActive: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  path: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
const PrimaryNavigation = _ref4 => {
  let {
    modules,
    location,
    translate
  } = _ref4;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    component: "nav",
    disablePadding: true,
    "aria-label": translate('primaryNavigation'),
    className: "escoDrawer__navigation"
  }, (0,commons_util_site__WEBPACK_IMPORTED_MODULE_9__.modulesToNavProps)(modules).map(_ref5 => {
    let {
      name,
      icon,
      label,
      path,
      isExternal
    } = _ref5;
    return /*#__PURE__*/React.createElement(PrimaryNavigationLink, {
      key: name,
      path: path,
      isExternal: isExternal,
      isActive: !isExternal && checkIsActive(path, location)
    }, /*#__PURE__*/React.createElement("div", {
      className: "escoPrimaryNav__Icon"
    }, (0,commons_util_module__WEBPACK_IMPORTED_MODULE_8__.getModuleIconFromName)(name, icon)), /*#__PURE__*/React.createElement("div", {
      className: "escoPrimaryNav__Text"
    }, (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_10__.renderHtmlString)(label)), isExternal && /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      className: "escoPrimaryNav__ListItemLinkOutIcon"
    }));
  }));
};
PrimaryNavigation.propTypes = {
  modules: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  location: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PrimaryNavigation);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/PrimaryNavigation/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/PrimaryNavigation/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PrimaryNavigation__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PrimaryNavigation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PrimaryNavigation */ "./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.js");


/***/ },

/***/ "./modules/commons/Layout/MainLayout/UserMenu/UserMenu.js"
/*!****************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/UserMenu/UserMenu.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExitToApp.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Tune.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/user/actions */ "./modules/commons/hooks/user/actions.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var _UserMenu_scss__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./UserMenu.scss */ "./modules/commons/Layout/MainLayout/UserMenu/UserMenu.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
















const RELEASE_INFO_URL = 'https://entryscape.com/release/';
const UserMenu = _ref => {
  let {
    anchorElement,
    setAnchorElement,
    displayName,
    setUserSettingsDialogOpen,
    updateReleaseInfoVersion,
    hasUnreadReleaseInfo
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_15___default()));
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__["default"])();
  const userDispatch = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__.useUserDispatch)();
  const version = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_13__.getAppVersion)();
  const appName = config__WEBPACK_IMPORTED_MODULE_18__["default"].get('theme.appName') || 'EntryScape';
  const {
    url: termsConditionsURL
  } = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_13__.getTermsAndConditionsParams)();
  const userMenuOpen = Boolean(anchorElement);
  const {
    enabled: supportEnabled,
    url: supportURL,
    label: supportLabel
  } = config__WEBPACK_IMPORTED_MODULE_18__["default"].get('entryscape.support');
  const {
    enabled: communityEnabled,
    url: communityURL,
    label: communityLabel
  } = config__WEBPACK_IMPORTED_MODULE_18__["default"].get('entryscape.community');
  const handleUserMenuClose = () => {
    setAnchorElement(null);
  };
  const handleLogout = (0,react__WEBPACK_IMPORTED_MODULE_19__.useCallback)(() => (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.logout)().then(_ref2 => {
    let {
      userEntry: guestUserEntry,
      userInfo: guestUserInfo
    } = _ref2;
    userDispatch({
      type: commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_11__.AUTH_LOGOUT_SUCCESS,
      data: {
        // TODO move to reducer?
        userEntry: guestUserEntry,
        userInfo: guestUserInfo
      }
    });
    navigate((0,commons_util_site__WEBPACK_IMPORTED_MODULE_14__.getPathFromViewName)('start'));
  }), [navigate, userDispatch]);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "menu-appbar",
    anchorEl: anchorElement,
    keepMounted: true,
    transformOrigin: {
      vertical: 'top',
      horizontal: 'right'
    },
    open: userMenuOpen,
    onClose: handleUserMenuClose,
    PopoverClasses: {
      paper: 'escoToolbarMenu__Popover'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoToolbarMenu__Title'
    }
  }, displayName), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoToolbarMenu__Item'
    },
    onClick: () => {
      setUserSettingsDialogOpen(true);
      handleUserMenuClose();
    }
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "escoToolbarMenu__Icon"
  }), t('settingsLabel')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoToolbarMenu__Item'
    },
    onClick: handleLogout
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "escoToolbarMenu__Icon"
  }), t('signOutLabel')), termsConditionsURL || supportEnabled || communityEnabled ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null) : null, communityEnabled ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoToolbarMenu__Item escoToolbarMenu__Item--gray'
    },
    component: "a",
    href: communityURL,
    target: "_blank",
    onClick: handleUserMenuClose
  }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_16__.localize)(communityLabel), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoToolbarMenu__linkIcon"
  })) : null, supportEnabled ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoToolbarMenu__Item escoToolbarMenu__Item--gray'
    },
    component: "a",
    href: supportURL,
    target: "_blank",
    onClick: handleUserMenuClose
  }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_16__.localize)(supportLabel), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoToolbarMenu__linkIcon"
  })) : null, termsConditionsURL ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoToolbarMenu__Item escoToolbarMenu__Item--gray'
    },
    component: "a",
    href: termsConditionsURL,
    target: "_blank",
    rel: "noopener",
    onClick: handleUserMenuClose
  }, t('userMenuTermsLabel'), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoToolbarMenu__linkIcon"
  })) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: hasUnreadReleaseInfo ? 'escoToolbarMenu__Item escoToolbarMenu__Item--selected' : 'escoToolbarMenu__Item'
    },
    component: "a",
    href: RELEASE_INFO_URL,
    onClick: async () => {
      handleUserMenuClose();
      await updateReleaseInfoVersion();
    },
    target: "_blank",
    rel: "noopener",
    selected: hasUnreadReleaseInfo
  }, /*#__PURE__*/React.createElement("span", {
    className: "escoToolbarMenu__label"
  }, t('releaseInfoLabel'), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoToolbarMenu__linkIcon"
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    invisible: !hasUnreadReleaseInfo,
    color: "primary",
    variant: "dot",
    classes: {
      badge: 'escoUserMenu__badge'
    }
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    disabled: true,
    classes: {
      root: 'escoToolbarMenu__Item escoToolbarMenu__Item--gray escoToolbarMenu__Item--opaque'
    }
  }, `${appName} ${version}`));
};
UserMenu.propTypes = {
  anchorElement: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  setAnchorElement: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  displayName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  setUserSettingsDialogOpen: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  updateReleaseInfoVersion: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  hasUnreadReleaseInfo: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UserMenu);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/UserMenu/index.js"
/*!*************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/UserMenu/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UserMenu__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UserMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserMenu */ "./modules/commons/Layout/MainLayout/UserMenu/UserMenu.js");


/***/ },

/***/ "./modules/commons/Layout/MainLayout/index.js"
/*!****************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/index.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MainLayout: () => (/* reexport safe */ _MainLayout__WEBPACK_IMPORTED_MODULE_0__.MainLayout)
/* harmony export */ });
/* harmony import */ var _MainLayout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MainLayout */ "./modules/commons/Layout/MainLayout/MainLayout.js");


/***/ },

/***/ "./modules/commons/Layout/MainLayout/useGetHelpLinks.js"
/*!**************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/useGetHelpLinks.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");






/**
 *
 * @param {string} viewName
 * @param {boolean} includeHelp
 * @returns {{helpLinks: object[]}}
 */
const useGetHelpLinks = (viewName, includeHelp) => {
  const moduleName = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_3__.getModuleNameOfCurrentView)();
  const {
    data: allHelpData,
    runAsync,
    status,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__["default"])({
    data: []
  });
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (!includeHelp) return;
    const helpLinksUrl = config__WEBPACK_IMPORTED_MODULE_4__["default"].get(`${moduleName}.help`);
    if (!helpLinksUrl) return;
    const fetchData = async () => {
      const response = await fetch(helpLinksUrl);
      return response.json();
    };
    runAsync(fetchData());
  }, [runAsync, includeHelp, moduleName]);
  if (error) console.error('Failed to fetch help links:', error);
  const helpLinks = allHelpData[viewName] || [];
  return {
    helpLinks,
    status
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetHelpLinks);

/***/ },

/***/ "./modules/commons/Layout/MainLayout/useReleaseNotification.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/useReleaseNotification.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const useReleaseNotification = userEntry => {
  const appVersion = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('entryscape.static.version');
  const {
    data: user,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const [hasUnreadReleaseInfo, setHasUnreadReleaseInfo] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (status !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__.IDLE) return;
    if (user) return;
    runAsync(userEntry.getResource().then(userResource => {
      const userReleaseInfoVersion = userResource.getCustomProperties().releaseinfoversion;
      setHasUnreadReleaseInfo(appVersion !== userReleaseInfoVersion);
      return userResource;
    }));
  }, [appVersion, runAsync, status, user, userEntry]);
  const updateReleaseInfoVersion = () => {
    user.setCustomProperties(_objectSpread(_objectSpread({}, user.getCustomProperties()), {}, {
      releaseinfoversion: appVersion
    }));
    setHasUnreadReleaseInfo(false);
  };
  return {
    updateReleaseInfoVersion,
    hasUnreadReleaseInfo
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useReleaseNotification);

/***/ },

/***/ "./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SingleColumnLayout: () => (/* binding */ SingleColumnLayout)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/errors/ErrorFallbackComponent */ "./modules/commons/errors/ErrorFallbackComponent/index.js");
/* harmony import */ var _SingleColumnLayout_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SingleColumnLayout.scss */ "./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const SingleColumnLayout = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("main", {
    className: "escoSingleColumnLayout__container"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoSingleColumnLayout__content"
  }, /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_1__["default"], {
    FallbackComponent: commons_errors_ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_2__["default"]
  }, children)));
};
SingleColumnLayout.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};

/***/ },

/***/ "./modules/commons/Layout/SingleColumnLayout/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/Layout/SingleColumnLayout/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SingleColumnLayout: () => (/* reexport safe */ _SingleColumnLayout__WEBPACK_IMPORTED_MODULE_0__.SingleColumnLayout)
/* harmony export */ });
/* harmony import */ var _SingleColumnLayout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SingleColumnLayout */ "./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.js");


/***/ },

/***/ "./modules/commons/Layout/hooks/usePrimaryNavContext.js"
/*!**************************************************************!*\
  !*** ./modules/commons/Layout/hooks/usePrimaryNavContext.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PrimaryNavContext: () => (/* binding */ PrimaryNavContext),
/* harmony export */   PrimaryNavProvider: () => (/* binding */ PrimaryNavProvider),
/* harmony export */   usePrimaryNavContext: () => (/* binding */ usePrimaryNavContext)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const STORAGE_KEY = 'entryscape_primary_nav_pinned';
const getStoredPinned = () => {
  if (typeof window === 'undefined') return false;
  return localStorage.getItem(STORAGE_KEY) === 'true';
};
const setStoredPinned = pinned => {
  if (typeof window === 'undefined') return;
  localStorage.setItem(STORAGE_KEY, String(pinned));
};
const PrimaryNavContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.createContext)(undefined);
const PrimaryNavProvider = _ref => {
  let {
    children
  } = _ref;
  const [pinned, setPinned] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(getStoredPinned);
  const [hovered, setHovered] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const togglePinned = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    setPinned(previous => {
      const next = !previous;
      setStoredPinned(next);
      return next;
    });
  }, []);
  return /*#__PURE__*/React.createElement(PrimaryNavContext.Provider, {
    value: {
      pinned,
      togglePinned,
      hovered,
      setHovered
    }
  }, children);
};
PrimaryNavProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
const usePrimaryNavContext = () => {
  const primaryNavContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(PrimaryNavContext);
  if (primaryNavContext === undefined) {
    throw new Error('usePrimaryNavContext must be used within a PrimaryNavProvider');
  }
  return primaryNavContext;
};

/***/ },

/***/ "./modules/commons/Layout/index.js"
/*!*****************************************!*\
  !*** ./modules/commons/Layout/index.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AsyncLayoutWrapper: () => (/* reexport safe */ _AsyncLayoutWrapper__WEBPACK_IMPORTED_MODULE_3__.AsyncLayoutWrapper),
/* harmony export */   FULLSCREEN_LAYOUT: () => (/* reexport safe */ _Layout__WEBPACK_IMPORTED_MODULE_0__.FULLSCREEN_LAYOUT),
/* harmony export */   Layout: () => (/* reexport safe */ _Layout__WEBPACK_IMPORTED_MODULE_0__.Layout),
/* harmony export */   MAIN_LAYOUT: () => (/* reexport safe */ _Layout__WEBPACK_IMPORTED_MODULE_0__.MAIN_LAYOUT),
/* harmony export */   MainLayout: () => (/* reexport safe */ _MainLayout__WEBPACK_IMPORTED_MODULE_1__.MainLayout),
/* harmony export */   SINGLE_COLUMN_LAYOUT: () => (/* reexport safe */ _Layout__WEBPACK_IMPORTED_MODULE_0__.SINGLE_COLUMN_LAYOUT),
/* harmony export */   SingleColumnLayout: () => (/* reexport safe */ _SingleColumnLayout__WEBPACK_IMPORTED_MODULE_2__.SingleColumnLayout)
/* harmony export */ });
/* harmony import */ var _Layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Layout */ "./modules/commons/Layout/Layout.js");
/* harmony import */ var _MainLayout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MainLayout */ "./modules/commons/Layout/MainLayout/index.js");
/* harmony import */ var _SingleColumnLayout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SingleColumnLayout */ "./modules/commons/Layout/SingleColumnLayout/index.js");
/* harmony import */ var _AsyncLayoutWrapper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AsyncLayoutWrapper */ "./modules/commons/Layout/AsyncLayoutWrapper/index.js");





/***/ },

/***/ "./modules/commons/actions/actionIds.js"
/*!**********************************************!*\
  !*** ./modules/commons/actions/actionIds.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ACTION_CREATE_ID: () => (/* binding */ ACTION_CREATE_ID),
/* harmony export */   ACTION_DOWNLOAD_ID: () => (/* binding */ ACTION_DOWNLOAD_ID),
/* harmony export */   ACTION_EDIT_ID: () => (/* binding */ ACTION_EDIT_ID),
/* harmony export */   ACTION_IMPORT_ID: () => (/* binding */ ACTION_IMPORT_ID),
/* harmony export */   ACTION_INFO_ID: () => (/* binding */ ACTION_INFO_ID),
/* harmony export */   ACTION_MIGRATE_ID: () => (/* binding */ ACTION_MIGRATE_ID),
/* harmony export */   ACTION_REMOVE_ID: () => (/* binding */ ACTION_REMOVE_ID),
/* harmony export */   ACTION_REVISIONS_ID: () => (/* binding */ ACTION_REVISIONS_ID),
/* harmony export */   ACTION_SHARING_SETTINGS_ID: () => (/* binding */ ACTION_SHARING_SETTINGS_ID)
/* harmony export */ });
const ACTION_CREATE_ID = 'create';
const ACTION_EDIT_ID = 'edit';
const ACTION_INFO_ID = 'info';
const ACTION_REMOVE_ID = 'remove';
const ACTION_REVISIONS_ID = 'revisions';
const ACTION_SHARING_SETTINGS_ID = 'sharing-settings';
const ACTION_DOWNLOAD_ID = 'download';
const ACTION_IMPORT_ID = 'import';
const ACTION_MIGRATE_ID = 'migrate';

/***/ },

/***/ "./modules/commons/actions/actionTypes.js"
/*!************************************************!*\
  !*** ./modules/commons/actions/actionTypes.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CLEAR_FILTER: () => (/* binding */ CLEAR_FILTER),
/* harmony export */   CLEAR_SEARCH: () => (/* binding */ CLEAR_SEARCH),
/* harmony export */   CREATE: () => (/* binding */ CREATE),
/* harmony export */   DELETE: () => (/* binding */ DELETE),
/* harmony export */   FILTER: () => (/* binding */ FILTER),
/* harmony export */   LIMIT: () => (/* binding */ LIMIT),
/* harmony export */   PAGINATE: () => (/* binding */ PAGINATE),
/* harmony export */   REFRESH: () => (/* binding */ REFRESH),
/* harmony export */   REFRESH_AND_CLEAR: () => (/* binding */ REFRESH_AND_CLEAR),
/* harmony export */   RERENDER: () => (/* binding */ RERENDER),
/* harmony export */   RESET: () => (/* binding */ RESET),
/* harmony export */   SEARCH: () => (/* binding */ SEARCH),
/* harmony export */   SORT: () => (/* binding */ SORT),
/* harmony export */   TOGGLE_FILTERS: () => (/* binding */ TOGGLE_FILTERS),
/* harmony export */   TOGGLE_TABLEVIEW: () => (/* binding */ TOGGLE_TABLEVIEW)
/* harmony export */ });
const SEARCH = 'SEARCH';
const CLEAR_SEARCH = 'CLEAR_SEARCH';
const FILTER = 'FILTER';
const CLEAR_FILTER = 'CLEAR_FILTER';
const PAGINATE = 'PAGINATE';
const SORT = 'SORT';
const RESET = 'RESET';
const REFRESH = 'REFRESH';
const REFRESH_AND_CLEAR = 'REFRESH_AND_CLEAR';
const RERENDER = 'RERENDER';
const CREATE = 'CREATE';
const DELETE = 'DELETE';
const TOGGLE_TABLEVIEW = 'TOGGLE_TABLEVIEW';
const TOGGLE_FILTERS = 'TOGGLE_FILTERS';
const LIMIT = 'LIMIT';

/***/ },

/***/ "./modules/commons/actions/definitions.js"
/*!************************************************!*\
  !*** ./modules/commons/actions/definitions.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ACTION_CREATE: () => (/* binding */ ACTION_CREATE),
/* harmony export */   ACTION_DOWNLOAD: () => (/* binding */ ACTION_DOWNLOAD),
/* harmony export */   ACTION_EDIT: () => (/* binding */ ACTION_EDIT),
/* harmony export */   ACTION_INFO: () => (/* binding */ ACTION_INFO),
/* harmony export */   ACTION_REMOVE: () => (/* binding */ ACTION_REMOVE),
/* harmony export */   ACTION_REVISIONS: () => (/* binding */ ACTION_REVISIONS),
/* harmony export */   ACTION_SHARING_SETTINGS: () => (/* binding */ ACTION_SHARING_SETTINGS)
/* harmony export */ });
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _actionIds__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actionIds */ "./modules/commons/actions/actionIds.js");


const ACTION_CREATE = {
  id: _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_CREATE_ID,
  labelNlsKey: 'createButtonLabel'
};
const ACTION_EDIT = {
  id: _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT_ID,
  isVisible: _ref => {
    let {
      entry
    } = _ref;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_0__.canWriteMetadata)(entry);
  },
  labelNlsKey: 'editEntry'
};
const ACTION_INFO = {
  id: _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_INFO_ID,
  isVisible: _ref2 => {
    let {
      entry
    } = _ref2;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_0__.canReadMetadata)(entry);
  },
  tooltipNlsKey: 'infoEntry'
};
const ACTION_REMOVE = {
  id: _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE_ID,
  isVisible: _ref3 => {
    let {
      entry
    } = _ref3;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_0__.canAdministerEntry)(entry);
  },
  labelNlsKey: 'removeEntryLabel'
};
const ACTION_REVISIONS = {
  id: _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS_ID,
  isVisible: _ref4 => {
    let {
      entry
    } = _ref4;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_0__.hasMetadataRevisions)(entry);
  },
  labelNlsKey: 'versionsLabel'
};
const ACTION_SHARING_SETTINGS = {
  id: _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_SHARING_SETTINGS_ID,
  labelNlsKey: 'sharingSettingsLabel'
};
const ACTION_DOWNLOAD = {
  id: _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_DOWNLOAD_ID,
  labelNlsKey: 'downloadLabel'
};

/***/ },

/***/ "./modules/commons/actions/hocs/withActionCallback.js"
/*!************************************************************!*\
  !*** ./modules/commons/actions/hocs/withActionCallback.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






// Hoc to dispatch an action for a callback function provided to a Dialog
// component. The callbackName param is used to couple the dispatch with a
// current callback prop.
const withActionCallback = (useModel, Dialog, callbackName, actionType) => props => {
  const [, dispatch] = useModel();
  const {
      [callbackName]: callback
    } = props,
    rest = _objectWithoutProperties(props, [callbackName].map(_toPropertyKey));
  const actionProp = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => {
    const callbackWithAction = async function callbackWithAction() {
      if (callback) {
        await Promise.resolve(callback(...arguments));
      }
      dispatch({
        type: actionType
      });
    };
    return {
      [callbackName]: callbackWithAction
    };
  }, [callback, dispatch]);
  if (!callbackName) {
    throw new Error('Required param callbackName is missing for withActionCallback');
  }
  return /*#__PURE__*/React.createElement(Dialog, _extends({}, rest, actionProp));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withActionCallback);

/***/ },

/***/ "./modules/commons/actions/hocs/withNormalizedAction.js"
/*!**************************************************************!*\
  !*** ./modules/commons/actions/hocs/withNormalizedAction.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/actions/hooks/useActionDefinitions */ "./modules/commons/actions/hooks/useActionDefinitions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["action", "Component"],
  _excluded2 = ["Component"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const withNormalizedAction = function withNormalizedAction(WrappedComponent) {
  let actionDefaults = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const NormalizedAction = _ref => {
    let {
        action: actionDefinition,
        Component: DefaultComponent = WrappedComponent
      } = _ref,
      rest = _objectWithoutProperties(_ref, _excluded);
    const {
      actions: [action]
    } = (0,commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_4__["default"])(_objectSpread({
      actions: [_objectSpread(_objectSpread({}, actionDefaults), actionDefinition)],
      Component: DefaultComponent
    }, rest));
    if (!action) return null;
    const {
        Component
      } = action,
      componentProps = _objectWithoutProperties(action, _excluded2);
    return /*#__PURE__*/React.createElement(Component, componentProps);
  };
  NormalizedAction.propTypes = {
    action: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
    Component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
  };
  return NormalizedAction;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withNormalizedAction);

/***/ },

/***/ "./modules/commons/actions/hooks/useActionDefinitions.js"
/*!***************************************************************!*\
  !*** ./modules/commons/actions/hooks/useActionDefinitions.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   normalizeAction: () => (/* binding */ normalizeAction)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var _useVisibleActions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./useVisibleActions */ "./modules/commons/actions/hooks/useVisibleActions.js");

const _excluded = ["getProps", "Dialog"],
  _excluded2 = ["action"],
  _excluded3 = ["id", "icon", "label", "labelNlsKey", "tooltip", "tooltipNlsKey"];



function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





/**
 * Normalizes an action defintion. All props that should be forwarded to an
 * action component (usually a diaolog), are merged into an action object. The
 * remaining props are expected to be used by the action trigger component (for
 * example a button). Labels and tooltips are translated.
 *
 * @param {object} params
 * @param {Array<object>} params.action - List of action definitions.
 * @param {object} params.actionParams - Parameters used to derive action props.
 * @param {Function} params.getFallbackIcon - Function to get fallback icon,
 * @param {Function} params.Component - Default Component if not provided to action definition
 * @param {number} params.labelMaxLength - Trim label if exceeding length
 * @returns {object}
 */
const normalizeAction = _ref => {
  let {
    action: actionDefinition,
    actionParams = {},
    Component,
    labelMaxLength,
    getFallbackIcon = commons_actions__WEBPACK_IMPORTED_MODULE_5__.getIconFromActionId
  } = _ref;
  const {
      getProps = () => ({}),
      Dialog
    } = actionDefinition,
    componentConfig = _objectWithoutProperties(actionDefinition, _excluded);
  const {
    translate
  } = actionParams;
  const fallbackTranslate = (val, key) => val || key && translate && translate(key) || '';
  const normalizeLabel = (val, key) => {
    const label = fallbackTranslate(val, key);
    if (!labelMaxLength) return [label, ''];
    return (0,commons_util_util__WEBPACK_IMPORTED_MODULE_6__.truncateLabel)(label, labelMaxLength);
  };
  const statefulProps = getProps(actionParams);
  const {
      action: actionProps
    } = statefulProps,
    componentProps = _objectWithoutProperties(statefulProps, _excluded2);
  const mergedProps = _objectSpread(_objectSpread({}, componentConfig), componentProps);
  const {
      id,
      icon,
      label,
      labelNlsKey,
      tooltip,
      tooltipNlsKey
    } = mergedProps,
    rest = _objectWithoutProperties(mergedProps, _excluded3);
  const [normalizedLabel, fullLabel] = normalizeLabel(label, labelNlsKey);
  return _objectSpread(_objectSpread({
    id,
    icon: icon || getFallbackIcon && getFallbackIcon(id),
    label: normalizedLabel,
    tooltip: fallbackTranslate(tooltip, tooltipNlsKey) || fullLabel,
    Component
  }, rest), {}, {
    action: _objectSpread(_objectSpread(_objectSpread({}, Dialog && {
      Dialog
    }), actionParams), actionProps)
  });
};

/**
 * Handles action processing and filtering, according the following steps:
 * 1. Exldudes actions according array of action id:s
 * 2. Normalize action props. All props that should be forwarded to an actions
 *    component (usually a diaolog), are merged into an action object. The
 *    remaining props are expected to be used by the action trigger component
 *    (for example a button). Labels and tooltips are translated.
 * 3. Check each action if it should be visible using the isVisible prop of the action.
 *
 * @param {object} params
 * @param {Array<object>} params.actions - List of action definitions.
 * @param {object} params.actionParams - Parameters used to derive action props.
 * @param {Array<string>} params.excludeActions - Action IDs to exclude.
 * @param {Function} params.getFallbackIcon - Function to get fallback icon,
 * defaults to getIconFromActionId.
 * @param {Function} params.Component - Function to get fallback icon,
 * @param {number} params.labelMaxLength - Trim label if exceeding length
 * @param {number|undefined} params.refreshCount - Trigger checking async visibility
 * @returns {{ actions: Array<object>, isLoading: boolean, status: string }} Processed actions
 * and loading state.
 */
const useActionDefinitions = _ref2 => {
  let {
    actions: actionDefinitions,
    actionParams = {},
    excludeActions,
    Component,
    labelMaxLength,
    getFallbackIcon,
    refreshCount
  } = _ref2;
  const {
    nlsBundles
  } = actionParams;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);

  // 1. Exlude actions
  const filteredActions = excludeActions !== null && excludeActions !== void 0 && excludeActions.length ? actionDefinitions.filter(_ref3 => {
    let {
      id: actionId
    } = _ref3;
    return !excludeActions.includes(actionId);
  }) : actionDefinitions;

  // 2. Normalize action
  const actions = filteredActions.map(actionDefinition => {
    // if it already has an action object it indicates that it's already normallized
    if (actionDefinition.action) return actionDefinition;
    return normalizeAction({
      action: actionDefinition,
      actionParams: _objectSpread({
        translate
      }, actionParams),
      Component,
      getFallbackIcon,
      labelMaxLength
    });
  });

  // 3. Check visibility
  const visibleActions = (0,_useVisibleActions__WEBPACK_IMPORTED_MODULE_7__["default"])(actions, refreshCount);
  return visibleActions;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useActionDefinitions);

/***/ },

/***/ "./modules/commons/actions/hooks/useActionDialog.js"
/*!**********************************************************!*\
  !*** ./modules/commons/actions/hooks/useActionDialog.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);



const useActionDialog = () => {
  const [isActionDialogOpen, setIsActionDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const openActionDialog = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    setIsActionDialogOpen(true);
  }, []);
  const closeActionDialog = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    setIsActionDialogOpen(false);
  }, []);
  return {
    isActionDialogOpen,
    openActionDialog,
    closeActionDialog
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useActionDialog);

/***/ },

/***/ "./modules/commons/actions/hooks/useVisibleActions.js"
/*!************************************************************!*\
  !*** ./modules/commons/actions/hooks/useVisibleActions.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");






const useVisibleActions = function useVisibleActions(actions) {
  let refreshCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  const {
    runAsync,
    status,
    isLoading,
    data: visibleActionsId
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])({
    data: []
  });
  const previousRefreshCount = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(-1);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (refreshCount !== previousRefreshCount.current) {
      previousRefreshCount.current = refreshCount;
      const getVisibleActions = async () => Promise.all(actions === null || actions === void 0 ? void 0 : actions.map(_ref => {
        let {
          action,
          isVisible
        } = _ref;
        try {
          return Promise.resolve(isVisible ? isVisible(action) : true);
        } catch (error) {
          console.error(error);
          return Promise.resolve(false);
        }
      })).then(isVisibleArr => actions === null || actions === void 0 ? void 0 : actions.filter((_, index) => Boolean(isVisibleArr[index])).map(_ref2 => {
        let {
          id: actionId,
          action: {
            id
          }
        } = _ref2;
        return actionId || id;
      }));
      runAsync(getVisibleActions());
    }
  }, [actions, runAsync, refreshCount]);

  // depending on how the actions are handled, the action id may be in root or
  // in sub action object
  const visibleActions = actions === null || actions === void 0 ? void 0 : actions.filter(_ref3 => {
    let {
      id: actionId,
      action: {
        id
      }
    } = _ref3;
    return visibleActionsId.includes(actionId || id);
  });
  return {
    actions: visibleActions,
    isLoading,
    status
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useVisibleActions);

/***/ },

/***/ "./modules/commons/actions/icons.js"
/*!******************************************!*\
  !*** ./modules/commons/actions/icons.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SearchAndCreateIcon: () => (/* binding */ SearchAndCreateIcon),
/* harmony export */   getIconFromActionId: () => (/* binding */ getIconFromActionId)
/* harmony export */ });
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountCircle.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AddToPhotos.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Archive.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowCircleDown.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowCircleUp.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assessment.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AutoAwesomeMotionSharp.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Autorenew.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bookmark.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckBox.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CleaningServices.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Code.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Comment.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentCopy.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DatasetLinked.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DeleteOutline.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Favorite.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FileCopy.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FolderShared.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FormatListNumbered.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/GetApp.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HeartBroken.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/InsertDriveFile.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Link.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LinkOff.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOpen.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOutlined.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Panorama.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAdd.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAddDisabled.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Publish.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Refresh.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Sync.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Unarchive.js");
/* harmony import */ var _mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @mui/material/SvgIcon */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js");
/* harmony import */ var _actionIds__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./actionIds */ "./modules/commons/actions/actionIds.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const DEFAULT_STYLE = {
  fontSize: '24px'
};
const icons = {
  'manage-series': _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_CREATE_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__["default"],
  'add-file': _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__["default"],
  'create-from-dataset-template': _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_IMPORT_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_34__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_EDIT_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_REMOVE_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_DOWNLOAD_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_22__["default"],
  embed: _mui_icons_material__WEBPACK_IMPORTED_MODULE_12__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_SHARING_SETTINGS_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_20__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_REVISIONS_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"],
  [_actionIds__WEBPACK_IMPORTED_MODULE_39__.ACTION_INFO_ID]: _mui_icons_material__WEBPACK_IMPORTED_MODULE_25__["default"],
  'api-info': _mui_icons_material__WEBPACK_IMPORTED_MODULE_25__["default"],
  'edit-name': _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__["default"],
  'activate-api': _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__["default"],
  'link-entry': _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__["default"],
  'refresh-api': _mui_icons_material__WEBPACK_IMPORTED_MODULE_35__["default"],
  username: _mui_icons_material__WEBPACK_IMPORTED_MODULE_0__["default"],
  password: _mui_icons_material__WEBPACK_IMPORTED_MODULE_29__["default"],
  groups: _mui_icons_material__WEBPACK_IMPORTED_MODULE_23__["default"],
  'enable-user': _mui_icons_material__WEBPACK_IMPORTED_MODULE_32__["default"],
  'disable-user': _mui_icons_material__WEBPACK_IMPORTED_MODULE_33__["default"],
  'replace-file': _mui_icons_material__WEBPACK_IMPORTED_MODULE_26__["default"],
  'create-dataset': _mui_icons_material__WEBPACK_IMPORTED_MODULE_15__["default"],
  checklist: _mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"],
  comments: _mui_icons_material__WEBPACK_IMPORTED_MODULE_13__["default"],
  archive: _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"],
  unarchive: _mui_icons_material__WEBPACK_IMPORTED_MODULE_37__["default"],
  statistics: _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"],
  preview: _mui_icons_material__WEBPACK_IMPORTED_MODULE_31__["default"],
  'manage-files': _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__["default"],
  reindex: _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"],
  upgradeToPremium: _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"],
  downgradeFromPremium: _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"],
  update: _mui_icons_material__WEBPACK_IMPORTED_MODULE_36__["default"],
  setDefault: _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"],
  unsetDefault: _mui_icons_material__WEBPACK_IMPORTED_MODULE_24__["default"],
  disconnect: _mui_icons_material__WEBPACK_IMPORTED_MODULE_28__["default"],
  'replace-link': _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__["default"],
  'replace-patterned-link': _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__["default"],
  'replace-uri': _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__["default"],
  copy: _mui_icons_material__WEBPACK_IMPORTED_MODULE_14__["default"],
  lock: _mui_icons_material__WEBPACK_IMPORTED_MODULE_30__["default"],
  unlock: _mui_icons_material__WEBPACK_IMPORTED_MODULE_29__["default"],
  'toggle-order': _mui_icons_material__WEBPACK_IMPORTED_MODULE_21__["default"],
  cleanup: _mui_icons_material__WEBPACK_IMPORTED_MODULE_11__["default"]
};
const getIconFromActionId = function getIconFromActionId(actionId) {
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const {
    style = DEFAULT_STYLE,
    includeFallback = true
  } = options;
  const IconComponent = icons[actionId];
  if (IconComponent) {
    return /*#__PURE__*/React.createElement(IconComponent, {
      style: style
    });
  }
  if (includeFallback) {
    return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
      style: style
    });
  }
  return null;
};
const SearchAndCreateIcon = props => {
  return /*#__PURE__*/React.createElement(_mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_38__["default"], props, /*#__PURE__*/React.createElement("path", {
    fill: "currentColor"
    // eslint-disable-next-line max-len
    ,
    d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
  }), /*#__PURE__*/React.createElement("path", {
    fill: "currentColor",
    d: "M 24,6 H 21 V 9 H 19 V 6 H 16 V 4 h 3 V 1 h 2 v 3 h 3 z"
  }));
};

/***/ },

/***/ "./modules/commons/actions/index.js"
/*!******************************************!*\
  !*** ./modules/commons/actions/index.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ACTION_CREATE: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_CREATE),
/* harmony export */   ACTION_CREATE_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_CREATE_ID),
/* harmony export */   ACTION_DOWNLOAD: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_DOWNLOAD),
/* harmony export */   ACTION_DOWNLOAD_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_DOWNLOAD_ID),
/* harmony export */   ACTION_EDIT: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_EDIT),
/* harmony export */   ACTION_EDIT_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT_ID),
/* harmony export */   ACTION_IMPORT_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_IMPORT_ID),
/* harmony export */   ACTION_INFO: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_INFO),
/* harmony export */   ACTION_INFO_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_INFO_ID),
/* harmony export */   ACTION_MIGRATE_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_MIGRATE_ID),
/* harmony export */   ACTION_REMOVE: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REMOVE),
/* harmony export */   ACTION_REMOVE_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE_ID),
/* harmony export */   ACTION_REVISIONS: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REVISIONS),
/* harmony export */   ACTION_REVISIONS_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS_ID),
/* harmony export */   ACTION_SHARING_SETTINGS: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_SHARING_SETTINGS),
/* harmony export */   ACTION_SHARING_SETTINGS_ID: () => (/* reexport safe */ _actionIds__WEBPACK_IMPORTED_MODULE_1__.ACTION_SHARING_SETTINGS_ID),
/* harmony export */   SearchAndCreateIcon: () => (/* reexport safe */ _icons__WEBPACK_IMPORTED_MODULE_2__.SearchAndCreateIcon),
/* harmony export */   getIconFromActionId: () => (/* reexport safe */ _icons__WEBPACK_IMPORTED_MODULE_2__.getIconFromActionId),
/* harmony export */   resolveListActions: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.resolveListActions)
/* harmony export */ });
/* harmony import */ var _definitions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./definitions */ "./modules/commons/actions/definitions.js");
/* harmony import */ var _actionIds__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actionIds */ "./modules/commons/actions/actionIds.js");
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./icons */ "./modules/commons/actions/icons.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils */ "./modules/commons/actions/utils.js");





/***/ },

/***/ "./modules/commons/actions/utils.js"
/*!******************************************!*\
  !*** ./modules/commons/actions/utils.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   resolveListActions: () => (/* binding */ resolveListActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
/**
 * Resolves the props for a list of actions.
 *
 * @param {Array<object>} listActions - The view's list action definitions.
 * @param {object} params - Params passed to each action's `getProps`.
 * @returns {Array<object>} The action definitions with resolved props applied.
 */
const resolveListActions = (listActions, params) => listActions.map(action => {
  var _action$getProps, _action$getProps2;
  const resolvedProps = (_action$getProps = (_action$getProps2 = action.getProps) === null || _action$getProps2 === void 0 ? void 0 : _action$getProps2.call(action, params)) !== null && _action$getProps !== void 0 ? _action$getProps : {};
  return _objectSpread(_objectSpread(_objectSpread({}, action), resolvedProps), {}, {
    disabled: action.disabled || resolvedProps.disabled
  });
});

/***/ },

/***/ "./modules/commons/animations/AnimationProvider.js"
/*!*********************************************************!*\
  !*** ./modules/commons/animations/AnimationProvider.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AnimationProvider: () => (/* binding */ AnimationProvider),
/* harmony export */   BALLOON: () => (/* binding */ BALLOON),
/* harmony export */   useAnimation: () => (/* binding */ useAnimation)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* harmony import */ var _BalloonAnimation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BalloonAnimation */ "./modules/commons/animations/BalloonAnimation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const BALLOON = 'balloon';
const animationRegistry = {
  [BALLOON]: _BalloonAnimation__WEBPACK_IMPORTED_MODULE_5__["default"]
};
const AnimationContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)(null);
const AnimationProvider = _ref => {
  let {
    children
  } = _ref;
  const [animations, setAnimations] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [animatedIds, setAnimatedIds] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(new Set()); // keep track to only animate once

  const triggerAnimation = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((type, data) => {
    var _data$ref;
    if (data.uniqueId && animatedIds.has(data.uniqueId)) return;
    if (!((_data$ref = data.ref) !== null && _data$ref !== void 0 && _data$ref.current)) {
      console.error('Animation triggered without a ref');
      return;
    }
    const rect = data.ref.current.getBoundingClientRect();
    let config;
    switch (type) {
      case BALLOON:
        config = {
          startX: rect.left + rect.width / 2,
          startY: rect.top,
          duration: 2.5 + Math.random() * 1.5,
          drift: (Math.random() - 0.5) * 100
        };
        break;
      default:
        console.error(`Unknown animation type: ${type}`);
        return;
    }
    const newAnimation = {
      id: (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_4__.getUniqueId)(),
      type,
      config
    };
    setAnimations(current => [...current, newAnimation]);
    if (data.uniqueId) {
      setAnimatedIds(prevSet => new Set(prevSet).add(data.uniqueId));
    }
  }, [animatedIds]);
  const handleAnimationEnd = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(id => {
    setAnimations(current => current.filter(animation => animation.id !== id));
  }, []);
  const value = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => ({
    triggerAnimation
  }), [triggerAnimation]);
  return /*#__PURE__*/React.createElement(AnimationContext.Provider, {
    value: value
  }, children, animations.map(animation => {
    const AnimationComponent = animationRegistry[animation.type];
    if (!AnimationComponent) return null;
    return /*#__PURE__*/React.createElement(AnimationComponent, {
      key: animation.id,
      config: animation.config,
      onAnimationEnd: () => handleAnimationEnd(animation.id)
    });
  }));
};
AnimationProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
const useAnimation = () => (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(AnimationContext);

/***/ },

/***/ "./modules/commons/animations/BalloonAnimation/BalloonAnimation.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/animations/BalloonAnimation/BalloonAnimation.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _BalloonAnimation_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BalloonAnimation.scss */ "./modules/commons/animations/BalloonAnimation/BalloonAnimation.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const BalloonAnimation = _ref => {
  let {
    config,
    onAnimationEnd
  } = _ref;
  const {
    startX,
    startY,
    drift,
    duration
  } = config;
  return /*#__PURE__*/React.createElement("svg", {
    className: "escoBalloonAnimation__svgOverlay"
  }, /*#__PURE__*/React.createElement("text", {
    onAnimationEnd: onAnimationEnd,
    style: {
      fontSize: '48px',
      textAnchor: 'middle',
      '--start-x': `${startX}px`,
      '--start-y': `${startY}px`,
      '--drift-x': `${drift}px`,
      animation: `balloon-animation ${duration}s cubic-bezier(0.3, 0, 0.7, 1) forwards`
    }
  }, "\uD83C\uDF88"));
};
BalloonAnimation.propTypes = {
  config: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    startX: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
    startY: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
    drift: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
    duration: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
  }),
  onAnimationEnd: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BalloonAnimation);

/***/ },

/***/ "./modules/commons/animations/BalloonAnimation/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/animations/BalloonAnimation/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _BalloonAnimation__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _BalloonAnimation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BalloonAnimation */ "./modules/commons/animations/BalloonAnimation/BalloonAnimation.js");


/***/ },

/***/ "./modules/commons/auth/PrivacyDialog/PrivacyDialog.js"
/*!*************************************************************!*\
  !*** ./modules/commons/auth/PrivacyDialog/PrivacyDialog.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_util_userUtil__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/userUtil */ "./modules/commons/util/userUtil.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










function PrivacyDialog(_ref) {
  let {
    userEntry
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const [privacyDialogOpen, setPrivacyDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [privacyAccepted, setPrivacyAccepted] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [termsAccepted, setTermsAccepted] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const isGuest = userEntry.getId() === commons_util_userIds__WEBPACK_IMPORTED_MODULE_13__.USER_ENTRY_ID_GUEST;
  const {
    url: privacyPolicyURI,
    version: newestPrivacyVersion,
    requireApproval: requireApprovalPrivacyConfig
  } = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_14__.getPrivacyPolicyParams)();
  const requirePrivacyApproval = Boolean(requireApprovalPrivacyConfig && privacyPolicyURI && newestPrivacyVersion);
  const {
    url: termsConditionsURI,
    version: newestTermsVersion,
    requireApproval: requireApprovalTermsConfig
  } = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_14__.getTermsAndConditionsParams)();
  const requireTermsApproval = Boolean(requireApprovalTermsConfig && termsConditionsURI && newestTermsVersion);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const [hasAcceptedPrivacy, hasAcceptedTerms] = commons_util_userUtil__WEBPACK_IMPORTED_MODULE_12__["default"].privacyPolicyAndTermsAccepted(userEntry, newestPrivacyVersion, newestTermsVersion);
    setPrivacyAccepted(hasAcceptedPrivacy);
    setTermsAccepted(hasAcceptedTerms);
    if (!isGuest && (requirePrivacyApproval && !hasAcceptedPrivacy || requireTermsApproval && !hasAcceptedTerms)) {
      setPrivacyDialogOpen(true);
    }
  }, [isGuest, newestPrivacyVersion, newestTermsVersion, requirePrivacyApproval, requireTermsApproval, userEntry]);
  const closeDialog = () => setPrivacyDialogOpen(false);
  const getButtonLabel = () => {
    let label = t('privacyPolicyAndTermsAgree');
    if (!privacyAccepted && termsAccepted) {
      label = t('privacyPolicyAgree');
    } else if (privacyAccepted && !termsAccepted) {
      label = t('termsConditionsAgree');
    }
    return label;
  };
  const updatePrivacyAndTermsStatus = () => {
    if (!privacyAccepted && requirePrivacyApproval && !termsAccepted && requireTermsApproval) {
      commons_util_userUtil__WEBPACK_IMPORTED_MODULE_12__["default"].setTermsAndPrivacy(userEntry, newestTermsVersion, newestPrivacyVersion);
    } else if (!privacyAccepted && requirePrivacyApproval) {
      commons_util_userUtil__WEBPACK_IMPORTED_MODULE_12__["default"].setPrivacyPolicyVersion(userEntry, newestPrivacyVersion);
    } else if (!termsAccepted && requireTermsApproval) {
      commons_util_userUtil__WEBPACK_IMPORTED_MODULE_12__["default"].setTermsVersion(userEntry, newestTermsVersion);
    }
  };
  const privacyPrompt = commons_util_userUtil__WEBPACK_IMPORTED_MODULE_12__["default"].hasAcceptedSomePrivacy(userEntry) ? t('privacyPolicyUpdateInner') : t('privacyPolicyInitialInner');
  const termsPrompt = commons_util_userUtil__WEBPACK_IMPORTED_MODULE_12__["default"].hasAcceptedSomeTerms(userEntry) ? t('termsConditionsUpdateInner') : t('termsConditionsInitialInner');
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    open: privacyDialogOpen,
    fullWidth: true,
    maxWidth: "sm",
    "aria-label": "privacy-dialog",
    "data-testid": "PrivacyDialog-id"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    dividers: true
  }, !privacyAccepted && requirePrivacyApproval ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "h6"
  }, t('privacyPolicyHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "body1",
    gutterBottom: true,
    style: {
      marginBottom: '18px'
    },
    "data-testid": "PrivacyDialog-privacy-prompt-id"
  }, `${privacyPrompt} `, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    href: privacyPolicyURI,
    target: "_blank"
  }, t('linkText')), ".")) : null, !termsAccepted && requireTermsApproval ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "h6"
  }, t('termsConditionsHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "body1",
    gutterBottom: true,
    style: {
      marginBottom: '18px'
    },
    "data-testid": "PrivacyDialog-terms-prompt-id"
  }, `${termsPrompt} `, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    href: termsConditionsURI,
    target: "_blank"
  }, t('linkText')), ".")) : null, !privacyAccepted || !termsAccepted ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "body1",
    gutterBottom: true,
    "data-testid": "PrivacyDialog-privacy-terms-prompt-id"
  }, t('privacyAndTermsPrompt'))) : null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    onClick: () => {
      updatePrivacyAndTermsStatus();
      closeDialog();
    },
    variant: "text",
    "data-testid": "PrivacyDialog-button-id"
  }, getButtonLabel())));
}
PrivacyDialog.propTypes = {
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape().isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PrivacyDialog);

/***/ },

/***/ "./modules/commons/auth/PrivacyDialog/index.js"
/*!*****************************************************!*\
  !*** ./modules/commons/auth/PrivacyDialog/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PrivacyDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PrivacyDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PrivacyDialog */ "./modules/commons/auth/PrivacyDialog/PrivacyDialog.js");


/***/ },

/***/ "./modules/commons/auth/Signin/ResetPasswordDialog/ResetPasswordDialog.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/auth/Signin/ResetPasswordDialog/ResetPasswordDialog.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.finally.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.finally.js");
/* harmony import */ var core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_Alert__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material/Alert */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VisibilityOff.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/nls/escoSignin.nls */ "./modules/commons/nls/escoSignin.nls");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_Recaptcha__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/Recaptcha */ "./modules/commons/components/Recaptcha/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var _usePassword__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../usePassword */ "./modules/commons/auth/usePassword.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const ResetPasswordDialog = _ref => {
  let {
    isOpen,
    close
  } = _ref;
  const reCaptchaSiteKey = Boolean(config__WEBPACK_IMPORTED_MODULE_20__["default"].get('reCaptchaSiteKey'));
  const [email, setEmail] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)('');
  const {
    password,
    isPasswordVisible,
    passwordError,
    handleChangePassword,
    togglePasswordVisibility
  } = (0,_usePassword__WEBPACK_IMPORTED_MODULE_30__["default"])();
  const [triedSubmit, setTriedSubmit] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const initPristineState = {
    email: true,
    password: true,
    captcha: true
  };
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(initPristineState);
  const [loading, setLoading] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const [success, setSuccess] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const [errors, setErrors] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({});
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.useTranslation)((commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_21___default()));

  // Separate declaration required since it needs to be named
  const passwordResetCaptchaCallback = () => {
    setPristine(_objectSpread(_objectSpread({}, pristine), {}, {
      captcha: false
    }));
    setErrors(_objectSpread(_objectSpread({}, errors), {}, {
      captcha: ''
    }));
  };
  const captchaCallbackName = 'passwordResetCaptchaCallback';
  window[captchaCallbackName] = passwordResetCaptchaCallback;
  const validate = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => ({
    // eslint-disable-next-line no-nested-ternary
    email: email ? (0,commons_util_util__WEBPACK_IMPORTED_MODULE_29__.validateEmail)(email) ? null : t('signupInvalidEmail') : t('emailRequired')
  }), [t, email]);
  const validateCaptcha = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => ({
    captcha: reCaptchaSiteKey && !window.grecaptcha.getResponse() ? t('captchaRequired') : null
  }), [reCaptchaSiteKey, t]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (!pristine.email) {
      setErrors(currentErrors => _objectSpread(_objectSpread({}, currentErrors), validate()));
    }
    if (!pristine.password) {
      setErrors(currentErrors => _objectSpread(_objectSpread({}, currentErrors), {}, {
        password: passwordError
      }));
    }

    // Case of submitting without tinkering w/ fields
    if (triedSubmit) {
      setErrors(currentErrors => _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, currentErrors), validateCaptcha()), validate()), {}, {
        password: passwordError
      }));
    }
  }, [email, password, pristine.email, pristine.password, triedSubmit, validateCaptcha, validate, passwordError]);
  const canRecaptchaBePristine = reCaptchaSiteKey ? !pristine.captcha : pristine.captcha;
  const canSubmit = !errors.email && !errors.password && !errors.captcha && !pristine.email && !pristine.password && canRecaptchaBePristine;
  const resetForm = () => {
    setPristine(initPristineState);
    setErrors({});
  };
  const handleSubmit = () => {
    // password state is now handled elsewhere, this is a workaround to trigger
    // password validation if they try to submit without editing the fields
    if (!triedSubmit) handleChangePassword(password);
    setTriedSubmit(true);
    if (!canSubmit) return;
    const pwInfo = {
      email,
      password: password.trim(),
      urlsuccess: commons_util_config__WEBPACK_IMPORTED_MODULE_28__["default"].getBaseUrl() + (0,commons_util_site__WEBPACK_IMPORTED_MODULE_27__.getPathFromViewName)('signin').slice(1)
    };
    if (reCaptchaSiteKey) {
      pwInfo.grecaptcharesponse = window.grecaptcha.getResponse();
    }
    setLoading(true);
    commons_store__WEBPACK_IMPORTED_MODULE_25__.entrystore.getREST().post(`${commons_store__WEBPACK_IMPORTED_MODULE_25__.entrystore.getBaseURI()}auth/pwreset`, JSON.stringify(pwInfo)).then(() => {
      setSuccess(true);
      resetForm();
    }, err => {
      setErrors(_objectSpread(_objectSpread({}, errors), {}, {
        response: t('passwordResetErrorMessage')
      }));
      console.error(err);
    }).finally(() => setLoading(false));
  };
  const passwordAdornment = {
    endAdornment: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      position: "end"
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_24__["default"], {
      title: t('passwordVisibility')
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      "aria-label": "toggle password visibility",
      onClick: togglePasswordVisibility,
      onMouseDown: e => e.preventDefault()
    }, isPasswordVisible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"], null) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_19__["default"], null))))
  };
  const loadingButtonAction = success ? close : handleSubmit;
  const loadingButtonText = success ? t('done') : t('resetPasswordHeader');
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "forgot-password-dialog",
    open: isOpen,
    onClose: close,
    "aria-labelledby": "forgot-password-dialog-title",
    maxWidth: "sm",
    fullWidth: true
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    id: "forgot-password-dialog-title"
  }, t('resetPasswordHeader')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    dividers: true
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    autoFocus: true,
    required: true,
    id: "email",
    label: t('email'),
    name: "email",
    autoComplete: "email",
    value: email,
    error: !!errors.email,
    helperText: errors.email,
    onChange: event => {
      setEmail(event.target.value);
      setPristine(_objectSpread(_objectSpread({}, pristine), {}, {
        email: false
      }));
    }
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    required: true,
    id: "password-input",
    "aria-describedby": "password-input",
    label: t('resetToNewPassword'),
    error: Boolean(errors.password),
    helperText: errors.password,
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      handleChangePassword(target.value);
      setPristine(_objectSpread(_objectSpread({}, pristine), {}, {
        password: false
      }));
    },
    type: isPasswordVisible ? 'text' : 'password',
    InputProps: passwordAdornment
  }), reCaptchaSiteKey ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(commons_components_Recaptcha__WEBPACK_IMPORTED_MODULE_23__["default"], {
    callbackName: captchaCallbackName
  }), errors.captcha ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    error: true
  }, errors.captcha) : null) : null, success ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material_Alert__WEBPACK_IMPORTED_MODULE_17__["default"], {
    severity: "success",
    style: {
      marginTop: '12px'
    }
  }, t('passwordResetConfirmationMessage')) : null, !success && errors.response && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material_Alert__WEBPACK_IMPORTED_MODULE_17__["default"], {
    severity: "error",
    style: {
      marginTop: '12px'
    }
  }, errors.response)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], null, !success ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    style: {
      marginRight: '12px'
    },
    variant: "text",
    onClick: close
  }, t('cancel')) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_26__["default"], {
    loading: loading,
    success: success,
    onClick: event => {
      event.preventDefault();
      loadingButtonAction();
    }
  }, loadingButtonText)));
};
ResetPasswordDialog.propTypes = {
  isOpen: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().bool),
  close: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ResetPasswordDialog);

/***/ },

/***/ "./modules/commons/auth/Signin/ResetPasswordDialog/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/auth/Signin/ResetPasswordDialog/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ResetPasswordDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ResetPasswordDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResetPasswordDialog */ "./modules/commons/auth/Signin/ResetPasswordDialog/ResetPasswordDialog.js");


/***/ },

/***/ "./modules/commons/auth/Signin/SecondStageLoginDialog/SecondStageLoginDialog.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/auth/Signin/SecondStageLoginDialog/SecondStageLoginDialog.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoSignin.nls */ "./modules/commons/nls/escoSignin.nls");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const SecondStageLoginDialog = _ref => {
  let {
    isOpen,
    close,
    url
  } = _ref;
  const [email, setEmail] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('');
  const [errors, setErrors] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)({});
  const [hasEmail, setHasEmail] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)((commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_13___default()));
  const validate = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    if (!email) {
      return {
        email: translate('emailRequired')
      };
    }
    if (!(0,commons_util_util__WEBPACK_IMPORTED_MODULE_16__.validateEmail)(email)) {
      return {
        email: translate('signupInvalidEmail')
      };
    }
    return {
      email: null
    };
  }, [translate, email]);
  const handleEmailChange = event => {
    setEmail(event.target.value);
    setHasEmail(true);
  };
  const handleSubmit = () => {
    if (!email) {
      setErrors(() => _objectSpread({}, validate()));
      return;
    }
    if ((0,commons_util_util__WEBPACK_IMPORTED_MODULE_16__.validateEmail)(email)) {
      try {
        const params = new URLSearchParams({
          username: email
        });
        window.location.href = `${url}?${params.toString()}`;
      } catch (error) {
        setErrors({
          sso: error.message
        });
      }
      close();
    } else {
      setErrors(currentErrors => _objectSpread(_objectSpread({}, currentErrors), validate()));
    }
  };
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "second-stage-login-dialog",
    open: isOpen,
    onClose: close,
    "aria-label": "second-stage-login-dialog",
    maxWidth: "sm",
    fullWidth: true
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    autoFocus: true,
    required: true,
    id: "email",
    label: translate('email'),
    name: "email",
    autoComplete: "email",
    value: email,
    error: !!errors.email,
    helperText: errors.email,
    onChange: handleEmailChange
  }), errors.response && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    severity: "error",
    style: {
      marginTop: '12px'
    }
  }, errors.response), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    style: {
      marginRight: '12px'
    },
    variant: "text",
    onClick: close
  }, translate('cancel')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_14__["default"], {
    disabled: !hasEmail,
    onClick: handleSubmit
  }, translate('next')))));
};
SecondStageLoginDialog.propTypes = {
  isOpen: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  close: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  url: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SecondStageLoginDialog);

/***/ },

/***/ "./modules/commons/auth/Signin/Signin.js"
/*!***********************************************!*\
  !*** ./modules/commons/auth/Signin/Signin.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VisibilityOff.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Container/Container.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_material_Alert__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/material/Alert */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useDelayedCallback__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/hooks/useDelayedCallback */ "./modules/commons/hooks/useDelayedCallback.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/user/actions */ "./modules/commons/hooks/user/actions.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/nls/escoSignin.nls */ "./modules/commons/nls/escoSignin.nls");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_29__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! commons/nav/components/Logo */ "./modules/commons/nav/components/Logo/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_common_LanguageSelect__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! commons/components/common/LanguageSelect */ "./modules/commons/components/common/LanguageSelect/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_auth_components_SSOButton__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! commons/auth/components/SSOButton */ "./modules/commons/auth/components/SSOButton.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var _ResetPasswordDialog__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ResetPasswordDialog */ "./modules/commons/auth/Signin/ResetPasswordDialog/index.js");
/* harmony import */ var _SecondStageLoginDialog_SecondStageLoginDialog__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./SecondStageLoginDialog/SecondStageLoginDialog */ "./modules/commons/auth/Signin/SecondStageLoginDialog/SecondStageLoginDialog.js");
/* harmony import */ var _Signin_scss__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./Signin.scss */ "./modules/commons/auth/Signin/Signin.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
































const SignIn = () => {
  const [username, setUsername] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('');
  const [password, setPassword] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(''); // set gets callback as 2nd arg, could be used for validation func
  const [errors, setErrors] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)({});
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)({
    username: true,
    password: true
  });
  const [loading, setLoading] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [success, setSuccess] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [showPassword, setShowPassword] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [showSecondStageLogin, setShowSecondStageLogin] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [, setLanguage] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_31__.useLanguage)();
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__.useUserState)();
  const dispatch = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_28__.useUserDispatch)();
  const location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_7__.useLocation)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_30__.useTranslation)((commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_29___default()));
  const [showResetPassword, setShowResetPassword] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const ssoEnabled = config__WEBPACK_IMPORTED_MODULE_22__["default"].get('entrystore.sso.enabled');
  const [hasSsoFocus, setHasSsoBtnFocus] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true);
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const storeUrl = commons_store__WEBPACK_IMPORTED_MODULE_35__.entrystore.getBaseURI();
  const baseUrl = config__WEBPACK_IMPORTED_MODULE_22__["default"].get('baseUrl') || storeUrl.substring(0, storeUrl.indexOf('/store'));
  let ssoUrl = `${storeUrl}auth/${config__WEBPACK_IMPORTED_MODULE_22__["default"].get('entrystore.sso.path') || 'saml'}`;
  if (config__WEBPACK_IMPORTED_MODULE_22__["default"].get('entrystore.sso.path') === 'cas') {
    const successURL = encodeURIComponent(`${baseUrl}${(0,commons_util_site__WEBPACK_IMPORTED_MODULE_33__.getPathFromViewName)('start')}`);
    const failureURL = encodeURIComponent(`${baseUrl}${(0,commons_util_site__WEBPACK_IMPORTED_MODULE_33__.getPathFromViewName)('signin')}`);
    ssoUrl = `${ssoUrl}?redirectOnSuccess=${successURL}&redirectOnFailure=${failureURL}`;
  }

  // redirect to the referrer view or the start view if the user is not _guest
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    const pageLanguage = userInfo.language || config__WEBPACK_IMPORTED_MODULE_22__["default"].get('locale.fallback');
    if (userInfo.entryId !== commons_util_userIds__WEBPACK_IMPORTED_MODULE_26__.USER_ENTRY_ID_GUEST) {
      var _location$state;
      setLanguage(pageLanguage);
      navigate(((_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.referrer) || (0,commons_util_site__WEBPACK_IMPORTED_MODULE_33__.getPathFromViewName)('start'), {
        from: config__WEBPACK_IMPORTED_MODULE_22__["default"].get('site.signinView')
      });
    }
  }, [navigate, location.state, setLanguage, userInfo.entryId, userInfo.language]);
  const handleSSOClick = () => {
    if (config__WEBPACK_IMPORTED_MODULE_22__["default"].get('entrystore.sso.path') === 'saml' && config__WEBPACK_IMPORTED_MODULE_22__["default"].get('entrystore.sso.multi')) {
      setShowSecondStageLogin(true);
    } else {
      window.location.href = ssoUrl;
    }
  };
  const validate = values => {
    const validationErrors = {};
    if (!values.username) {
      validationErrors.username = 'usernameRequired';
    }
    if (!values.password) {
      validationErrors.password = 'passwordRequired';
    }
    return validationErrors;
  };
  const checkErrors = () => validate({
    username,
    password
  });
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    const currentErrors = checkErrors();
    const errorsToSet = {
      username: pristine.username && !errors.username ? undefined : currentErrors.username,
      password: pristine.password && !errors.password ? undefined : currentErrors.password
    };
    setErrors(errorsToSet);
  }, [username, password, pristine]);
  const delayedCallback = (0,commons_hooks_useDelayedCallback__WEBPACK_IMPORTED_MODULE_23__["default"])();
  const handleOnFocus = () => {
    if (hasSsoFocus) setHasSsoBtnFocus(false);
  };
  const handleOnBlur = event => {
    const {
      target,
      relatedTarget,
      currentTarget
    } = event;
    if (!target.name) return;
    const delay = !currentTarget.contains(relatedTarget) ? 300 : 0;
    const setPristineDelayed = delayedCallback(setPristine, delay);
    setPristineDelayed(_objectSpread(_objectSpread({}, pristine), {}, {
      [target.name]: false
    }));
  };
  const handleSubmit = async e => {
    e.preventDefault();
    const currentErrors = checkErrors();
    if (!(0,lodash_es__WEBPACK_IMPORTED_MODULE_24__["default"])(currentErrors)) {
      setErrors(currentErrors);
      return;
    }
    setLoading(true);
    (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_38__.addIgnore)('login', commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_38__.UNAUTHORIZED, true);
    try {
      const {
        userEntry,
        userInfo: userInfoLogin
      } = await (0,commons_util_user__WEBPACK_IMPORTED_MODULE_25__.login)(username.trim(), password.trim());
      dispatch({
        type: commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_27__.AUTH_LOGIN_SUCCESS,
        data: {
          userInfo: userInfoLogin,
          userEntry
        }
      });
      setSuccess(true);
    } catch (err) {
      if (err.response.status === 401) {
        setErrors({
          response: 'signinUnauthorized'
        });
      } else if (err.response.status === 403) {
        setErrors({
          response: 'userStatusDisabled'
        });
      } else if (err.response.status === 429) {
        setErrors({
          response: 'signinWrongTooManyTimes'
        });
      } else {
        setErrors({
          response: 'signinError'
        });
      }
      setSuccess(false);
    }
    setLoading(false);
  };
  const translateError = nlsErrorKey => nlsErrorKey ? t(nlsErrorKey) : '';
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    component: "main",
    classes: {
      root: 'escoSignin__container'
    },
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    container: true,
    spacing: 2
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    size: {
      xs: 12,
      sm: 6
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    size: {
      xs: 12,
      sm: 6
    }
  }, /*#__PURE__*/React.createElement(commons_components_common_LanguageSelect__WEBPACK_IMPORTED_MODULE_34__["default"], null))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    elevation: 3,
    classes: {
      root: 'escoSignin__formContainer'
    }
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoSignin__block escoSignin__logoContainer"
  }, /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_6__.Link, {
    to: "/"
  }, /*#__PURE__*/React.createElement(commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_32__["default"], {
    type: "full",
    className: "escoSignin__logo"
  }))), /*#__PURE__*/React.createElement("form", {
    className: "escoSignin__form",
    noValidate: true,
    onSubmit: handleSubmit
  }, errors.response && /*#__PURE__*/React.createElement("div", {
    className: "escoSignin__block"
  }, /*#__PURE__*/React.createElement(_mui_material_Alert__WEBPACK_IMPORTED_MODULE_21__["default"], {
    className: "escoSignin__message",
    severity: "error"
  }, t(errors.response))), ssoEnabled && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "escoSignin__block"
  }, /*#__PURE__*/React.createElement(commons_auth_components_SSOButton__WEBPACK_IMPORTED_MODULE_36__["default"], {
    autofocus: ssoEnabled,
    color: hasSsoFocus ? 'primary' : 'secondary',
    onClick: handleSSOClick
  }, config__WEBPACK_IMPORTED_MODULE_22__["default"].get('entrystore.sso.message') || t('ssoButtonLabel'))), /*#__PURE__*/React.createElement("div", {
    className: "escoSignin__dividerContainer"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    classes: {
      root: 'escoSignin__dividerText'
    }
  }, t('dividerText')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    classes: {
      root: 'escoSignin__divider'
    }
  }))), showSecondStageLogin ? /*#__PURE__*/React.createElement(_SecondStageLoginDialog_SecondStageLoginDialog__WEBPACK_IMPORTED_MODULE_40__["default"], {
    isOpen: showSecondStageLogin,
    close: () => setShowSecondStageLogin(false),
    url: ssoUrl
  }) : null, /*#__PURE__*/React.createElement("div", {
    className: "escoSignin__block",
    onFocus: handleOnFocus
  }, /*#__PURE__*/React.createElement("div", {
    onBlur: handleOnBlur
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    classes: {
      root: 'escoSignin__input'
    },
    variant: "outlined",
    required: true,
    margin: "none",
    id: "username",
    onChange: e => {
      setUsername(e.target.value);
      setPristine(_objectSpread(_objectSpread({}, pristine), {}, {
        username: false
      }));
    },
    InputLabelProps: {
      shrink: true
    },
    value: username,
    label: t('username'),
    name: "username",
    autoComplete: "email",
    error: !!errors.username,
    helperText: translateError(errors.username),
    FormHelperTextProps: {
      'aria-live': 'polite'
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    classes: {
      root: 'escoSignin__input'
    },
    variant: "outlined",
    required: true,
    margin: "none",
    onChange: event => {
      setPassword(event.target.value);
      setPristine(_objectSpread(_objectSpread({}, pristine), {}, {
        password: false
      }));
    },
    value: password,
    name: "password",
    label: t('password'),
    type: showPassword ? 'text' : 'password',
    id: "password",
    autoComplete: "current-password",
    error: !!errors.password,
    helperText: translateError(errors.password),
    FormHelperTextProps: {
      'aria-live': 'polite'
    },
    InputLabelProps: {
      shrink: true
    },
    InputProps: {
      endAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
        position: "end"
      }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_20__["default"], {
        title: t('passwordVisibility')
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_18__["default"], {
        "aria-label": t('passwordVisibility'),
        onClick: () => setShowPassword(!showPassword),
        onMouseDown: e => e.preventDefault()
      }, showPassword ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"], null))))
    }
  }), /*#__PURE__*/React.createElement("div", {
    className: "escoSignin__wrapper"
  }, /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_37__["default"], {
    onClick: handleSubmit,
    loading: loading,
    success: success,
    type: "submit",
    color: !ssoEnabled || !hasSsoFocus ? 'primary' : 'secondary'
  }, t('signInButton')))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    container: true,
    direction: "row",
    alignItems: "center",
    justifyContent: "space-between"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_19__["default"], {
    name: "resetPasswordButton",
    href: "#",
    variant: "body2",
    onClick: event => {
      event.preventDefault();
      setShowResetPassword(true);
    }
  }, t('resetPasswordButton'))), config__WEBPACK_IMPORTED_MODULE_22__["default"].get('site.signup') === false ? null : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_19__["default"], {
    name: "signupButton",
    href: "#",
    component: react_router_dom__WEBPACK_IMPORTED_MODULE_6__.Link,
    to: "/signup",
    variant: "body2"
  }, t('signupButton'))))))), showResetPassword ? /*#__PURE__*/React.createElement(_ResetPasswordDialog__WEBPACK_IMPORTED_MODULE_39__["default"], {
    isOpen: showResetPassword,
    close: () => setShowResetPassword(false)
  }) : null);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SignIn);

/***/ },

/***/ "./modules/commons/auth/Signin/index.js"
/*!**********************************************!*\
  !*** ./modules/commons/auth/Signin/index.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Signin__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Signin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Signin */ "./modules/commons/auth/Signin/Signin.js");


/***/ },

/***/ "./modules/commons/auth/Signup/Signup.js"
/*!***********************************************!*\
  !*** ./modules/commons/auth/Signup/Signup.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Container/Container.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VisibilityOff.js");
/* harmony import */ var commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/nav/components/Logo */ "./modules/commons/nav/components/Logo/index.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/nls/escoSignin.nls */ "./modules/commons/nls/escoSignin.nls");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_Recaptcha__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/Recaptcha */ "./modules/commons/components/Recaptcha/index.js");
/* harmony import */ var commons_components_common_LanguageSelect__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/common/LanguageSelect */ "./modules/commons/components/common/LanguageSelect/index.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var _useSignupForm__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./useSignupForm */ "./modules/commons/auth/Signup/useSignupForm.js");
/* harmony import */ var _useSignupAPI__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./useSignupAPI */ "./modules/commons/auth/Signup/useSignupAPI.js");
/* harmony import */ var _Signup_scss__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./Signup.scss */ "./modules/commons/auth/Signup/Signup.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





















const SignUp = () => {
  const reCaptchaSiteKey = Boolean(config__WEBPACK_IMPORTED_MODULE_23__["default"].get('reCaptchaSiteKey'));
  const signinPath = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_26__.getPathFromViewName)('signin');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_25__.useTranslation)((commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_24___default()));
  const {
    url: termsAndConditionsURL
  } = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_22__.getTermsAndConditionsParams)();
  const {
    url: privacyPolicyURL
  } = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_22__.getPrivacyPolicyParams)();
  const {
    signup,
    loading,
    success,
    responseError
  } = (0,_useSignupAPI__WEBPACK_IMPORTED_MODULE_31__["default"])(reCaptchaSiteKey);
  const {
    formState: {
      values,
      errors: nlsErrors
    },
    handleFieldChange,
    handleBlur,
    togglePasswordVisibility,
    handleSubmitAttempt,
    getFieldError,
    handleCaptchaSuccess
  } = (0,_useSignupForm__WEBPACK_IMPORTED_MODULE_30__["default"])();

  // Setup global callback for ReCAPTCHA widget
  // The Recaptcha component will call this function when user completes the challenge
  const captchaCallbackName = 'signupCaptchaCallback';
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    window[captchaCallbackName] = handleCaptchaSuccess;
    return () => delete window[captchaCallbackName];
  }, [handleCaptchaSuccess]);
  const handleSubmit = async e => {
    e.preventDefault();
    const {
      isValid,
      values: formValues
    } = handleSubmitAttempt();
    const grecaptcha = window.grecaptcha || null;
    if (reCaptchaSiteKey && grecaptcha && !grecaptcha.getResponse() && !values.captchaOk) {
      return;
    }
    if (isValid) {
      signup(formValues);
    }
  };
  const translateError = nlsErrorKey => nlsErrorKey ? translate(nlsErrorKey) : '';

  // Helper for determining button color based on validation state
  const isFormValid = Object.keys(nlsErrors).length === 0;
  const inputLabelSlotProps = {
    inputLabel: {
      shrink: true
    },
    formHelperText: {
      'aria-live': 'polite'
    }
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    classes: {
      root: 'escoSignup__Container'
    },
    component: "main",
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    container: true,
    spacing: 2
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12,
      sm: 6
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12,
      sm: 6
    }
  }, /*#__PURE__*/React.createElement(commons_components_common_LanguageSelect__WEBPACK_IMPORTED_MODULE_28__["default"], null))), /*#__PURE__*/React.createElement("div", {
    className: "escoSignup__paper"
  }, /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Link, {
    to: "/"
  }, /*#__PURE__*/React.createElement(commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_21__["default"], {
    type: "full",
    className: "escoSignup__logo"
  })), success ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    severity: "success",
    style: {
      marginTop: '24px'
    }
  }, translate('signupConfirmationMessage')) : /*#__PURE__*/React.createElement("form", {
    className: "escoSignup__form",
    noValidate: true
  }, responseError ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    severity: "error",
    style: {
      marginBottom: '16px'
    }
  }, responseError) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    container: true,
    spacing: 2
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12,
      sm: 6
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    autoComplete: "given-name",
    name: "firstName",
    variant: "outlined",
    required: true,
    id: "firstName",
    label: translate('firstName'),
    value: values.firstName,
    onChange: e => handleFieldChange('firstName', e.target.value),
    onBlur: () => handleBlur('firstName'),
    error: !!getFieldError('firstName'),
    helperText: translateError(getFieldError('firstName')),
    slotProps: inputLabelSlotProps
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12,
      sm: 6
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "outlined",
    required: true,
    id: "lastName",
    label: translate('lastname'),
    name: "lastName",
    autoComplete: "family-name",
    value: values.lastName,
    onChange: e => handleFieldChange('lastName', e.target.value),
    onBlur: () => handleBlur('lastName'),
    error: !!getFieldError('lastName'),
    helperText: translateError(getFieldError('lastName')),
    slotProps: inputLabelSlotProps
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12,
      sm: 6
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "outlined",
    required: true,
    id: "email",
    label: translate('email'),
    name: "email",
    autoComplete: "email",
    value: values.email,
    onChange: e => handleFieldChange('email', e.target.value),
    onBlur: () => handleBlur('email'),
    error: !!getFieldError('email'),
    helperText: translateError(getFieldError('email')),
    slotProps: inputLabelSlotProps
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "outlined",
    required: true,
    name: "password",
    label: translate('password'),
    id: "password",
    autoComplete: "new-password",
    value: values.password,
    onChange: e => handleFieldChange('password', e.target.value),
    onBlur: () => handleBlur('password'),
    type: values.isPasswordVisible ? 'text' : 'password',
    error: !!getFieldError('password'),
    helperText: getFieldError('password'),
    slotProps: _objectSpread(_objectSpread({}, inputLabelSlotProps), {}, {
      input: {
        endAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
          position: "end"
        }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_17__["default"], {
          title: translate('passwordVisibility')
        }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
          "aria-label": translate('passwordVisibility'),
          onClick: togglePasswordVisibility,
          onMouseDown: e => e.preventDefault()
        }, values.isPasswordVisible ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_19__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_20__["default"], null))))
      }
    })
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    error: !!getFieldError('agreement')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
      name: "agreement",
      color: "primary",
      required: true,
      checked: values.agreement,
      onChange: e => handleFieldChange('agreement', e.target.checked),
      onBlur: () => handleBlur('agreement')
    }),
    label: translate('confidentialityAgree'),
    slotProps: {
      typography: {
        variant: 'body2'
      }
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    href: termsAndConditionsURL,
    target: "_blank",
    rel: "noopener",
    className: "escoSignup__agreementLink",
    variant: "body2"
  }, translate('confidentialityAgreeTitle'), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"], {
    className: "escoSignup__agreementLinkIcon"
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    href: privacyPolicyURL,
    target: "_blank",
    rel: "noopener",
    className: "escoSignup__agreementLink",
    variant: "body2"
  }, translate('privacyPolicyLinkLabel'), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"], {
    className: "escoSignup__agreementLinkIcon"
  })), getFieldError('agreement') ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    "aria-live": "polite",
    error: true
  }, translateError(getFieldError('agreement'))) : null)), reCaptchaSiteKey ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    size: {
      xs: 12
    }
  }, /*#__PURE__*/React.createElement(commons_components_Recaptcha__WEBPACK_IMPORTED_MODULE_27__["default"], {
    callbackName: captchaCallbackName
  }), getFieldError('captchaOk') && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    "aria-live": "polite",
    error: !!getFieldError('captchaOk')
  }, translateError(getFieldError('captchaOk')))) : null), /*#__PURE__*/React.createElement("div", {
    className: "escoSignup__wrapper"
  }, /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_29__["default"], {
    loading: loading,
    success: success,
    color: isFormValid ? 'primary' : 'secondary',
    onClick: handleSubmit
  }, translate('signupButton'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    container: true,
    justifyContent: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    component: react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Link,
    to: signinPath,
    variant: "body2"
  }, `${translate('signinButtonComplementaryText')} ${translate('signInButton')}`))))));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SignUp);

/***/ },

/***/ "./modules/commons/auth/Signup/index.js"
/*!**********************************************!*\
  !*** ./modules/commons/auth/Signup/index.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Signup__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Signup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Signup */ "./modules/commons/auth/Signup/Signup.js");


/***/ },

/***/ "./modules/commons/auth/Signup/useSignupAPI.js"
/*!*****************************************************!*\
  !*** ./modules/commons/auth/Signup/useSignupAPI.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoSignin.nls */ "./modules/commons/nls/escoSignin.nls");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_8__);









const useSignupAPI = reCaptchaSiteKey => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)((commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const {
    runAsync,
    error,
    status,
    isPending
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__["default"])();
  const signup = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(formValues => {
    const urlSuccess = commons_util_config__WEBPACK_IMPORTED_MODULE_4__["default"].getBaseUrl() + (0,commons_util_site__WEBPACK_IMPORTED_MODULE_5__.getPathFromViewName)('start').slice(1);
    const signupInfo = {
      firstname: formValues.firstName.trim(),
      lastname: formValues.lastName.trim(),
      email: formValues.email,
      password: formValues.password.trim(),
      urlsuccess: urlSuccess
    };
    if (reCaptchaSiteKey) {
      signupInfo.grecaptcharesponse = window.grecaptcha.getResponse();
    }
    return commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getREST().post(`${commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getBaseURI()}auth/signup`, JSON.stringify(signupInfo)).then(data => {
      commons_registry__WEBPACK_IMPORTED_MODULE_7__["default"].set('signupInfo', signupInfo);
      return data;
    }, err => {
      if (err.response.status === 417) {
        const domain = signupInfo.email.substr(signupInfo.email.indexOf('@') + 1);
        throw translate('signupWrongDomain', {
          domain
        });
      } else {
        throw translate('signupErrorMessage');
      }
    });
  }, [reCaptchaSiteKey, translate]);
  const runSignup = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(formValues => {
    return runAsync(signup(formValues));
  }, [runAsync, signup]);
  return {
    signup: runSignup,
    loading: isPending,
    success: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__.RESOLVED,
    responseError: error
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSignupAPI);

/***/ },

/***/ "./modules/commons/auth/Signup/useSignupForm.js"
/*!******************************************************!*\
  !*** ./modules/commons/auth/Signup/useSignupForm.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var _usePassword__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../usePassword */ "./modules/commons/auth/usePassword.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









const UPDATE_FIELD = 'UPDATE_FIELD';
const SET_FIELD_TOUCHED = 'SET_FIELD_TOUCHED';
const SET_CAPTCHA_OK = 'SET_CAPTCHA_OK';
const SUBMIT = 'SUBMIT';
const validate = function validate(values) {
  let passwordError = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  const errors = {};
  if (!(0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.isInputTextValid)(values.firstName)) {
    errors.firstName = 'firstNameRequired';
  } else if (values.firstName.trim().length < 2) {
    errors.firstName = 'signupTooShortName';
  }
  if (!(0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.isInputTextValid)(values.lastName)) {
    errors.lastName = 'lastNameRequired';
  } else if (values.lastName.trim().length < 2) {
    errors.lastName = 'signupTooShortSurname';
  }
  if (!values.email) {
    errors.email = 'emailRequired';
  } else if (!(0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.validateEmail)(values.email)) {
    errors.email = 'signupInvalidEmail';
  }

  // Password validation is handled entirely by the usePassword hook
  if (passwordError) errors.password = passwordError;
  if (!values.agreement) {
    errors.agreement = 'personalInfoApprovalRequired';
  }
  if (!values.captchaOk) {
    errors.captchaOk = 'captchaRequired';
  }
  return errors;
};
const getInitialState = () => {
  const isCaptchaConfigured = Boolean(config__WEBPACK_IMPORTED_MODULE_6__["default"].get('reCaptchaSiteKey'));
  return {
    values: {
      firstName: '',
      lastName: '',
      email: '',
      password: '',
      agreement: false,
      captchaOk: !isCaptchaConfigured
    },
    touched: {},
    errors: {}
  };
};
const formReducer = (state, action) => {
  switch (action.type) {
    case UPDATE_FIELD:
      {
        const {
          field,
          value
        } = action.payload;
        const newValues = _objectSpread(_objectSpread({}, state.values), {}, {
          [field]: value
        });
        let currentErrors = state.errors;
        if (state.touched[field]) {
          // Password validation is handled by usePassword hook
          // and merged into final errors in getFieldError and formState.errors
          currentErrors = validate(newValues);
        }
        return _objectSpread(_objectSpread({}, state), {}, {
          values: newValues,
          errors: currentErrors
        });
      }
    case SET_FIELD_TOUCHED:
      {
        const field = action.payload.field;
        const newTouched = _objectSpread(_objectSpread({}, state.touched), {}, {
          [field]: true
        });
        return _objectSpread(_objectSpread({}, state), {}, {
          touched: newTouched
        });
      }
    case SET_CAPTCHA_OK:
      {
        const newValues = _objectSpread(_objectSpread({}, state.values), {}, {
          captchaOk: action.payload
        });
        const newErrors = action.payload ? _objectSpread(_objectSpread({}, state.errors), {}, {
          captchaOk: ''
        }) : state.errors;
        return _objectSpread(_objectSpread({}, state), {}, {
          values: newValues,
          errors: newErrors,
          touched: _objectSpread(_objectSpread({}, state.touched), {}, {
            captchaOk: true
          })
        });
      }
    case SUBMIT:
      {
        const allTouched = Object.keys(state.values).reduce((acc, key) => _objectSpread(_objectSpread({}, acc), {}, {
          [key]: true
        }), state.touched);
        return _objectSpread(_objectSpread({}, state), {}, {
          touched: allTouched
        });
      }
    default:
      throw new Error(`${action.type} is not a valid action type`);
  }
};
const useSignupForm = () => {
  const [state, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useReducer)(formReducer, getInitialState());
  const {
    password,
    passwordError,
    handleChangePassword,
    handleBlurPassword,
    isPasswordVisible,
    togglePasswordVisibility
  } = (0,_usePassword__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const handleFieldChange = (field, value) => {
    if (field === 'password') {
      handleChangePassword(value);
    } else {
      dispatch({
        type: UPDATE_FIELD,
        payload: {
          field,
          value
        }
      });
    }
  };
  const getFieldError = field => {
    const currentErrors = validate(_objectSpread(_objectSpread({}, state.values), {}, {
      password
    }), passwordError);
    if (state.touched[field]) {
      return currentErrors[field];
    }
    return undefined;
  };
  const handleBlur = field => {
    dispatch({
      type: SET_FIELD_TOUCHED,
      payload: {
        field
      }
    });
    if (field === 'password') handleBlurPassword();
  };
  const handleCaptchaSuccess = () => {
    dispatch({
      type: SET_CAPTCHA_OK,
      payload: true
    });
  };
  const handleSubmitAttempt = () => {
    const finalValues = _objectSpread(_objectSpread({}, state.values), {}, {
      password
    });
    dispatch({
      type: SUBMIT
    });
    const errors = validate(finalValues, passwordError);
    return {
      isValid: Object.keys(errors).length === 0,
      values: finalValues,
      errors
    };
  };
  return {
    formState: _objectSpread(_objectSpread({}, state), {}, {
      values: _objectSpread(_objectSpread({}, state.values), {}, {
        password: password,
        isPasswordVisible: isPasswordVisible
      }),
      errors: validate(_objectSpread(_objectSpread({}, state.values), {}, {
        password: password
      }), passwordError)
    }),
    handleFieldChange,
    handleBlur,
    togglePasswordVisibility,
    handleSubmitAttempt,
    getFieldError,
    handleCaptchaSuccess
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSignupForm);

/***/ },

/***/ "./modules/commons/auth/UserSettingsDialog/LanguageSelect.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/auth/UserSettingsDialog/LanguageSelect.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Translate.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }







const LanguageSelect = _ref => {
  let {
    language,
    handleChange,
    textFieldProps
  } = _ref;
  const languages = (0,commons_locale__WEBPACK_IMPORTED_MODULE_8__.sortLanguages)(config__WEBPACK_IMPORTED_MODULE_9__["default"].get('locale.supported'));
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    select: true,
    label: t('language'),
    value: language,
    onChange: handleChange,
    variant: "outlined",
    InputProps: {
      startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
        position: "start"
      }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        color: "secondary"
      })),
      inputProps: {
        id: 'language-select-input'
      }
    },
    InputLabelProps: {
      htmlFor: 'language-select-input'
    }
  }, textFieldProps), languages.map(_ref2 => {
    let {
      lang,
      label
    } = _ref2;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      key: lang,
      value: lang
    }, label);
  }));
};
LanguageSelect.propTypes = {
  language: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  handleChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
  textFieldProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().objectOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().string))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LanguageSelect);

/***/ },

/***/ "./modules/commons/auth/UserSettingsDialog/ThemeModeSelect.js"
/*!********************************************************************!*\
  !*** ./modules/commons/auth/UserSettingsDialog/ThemeModeSelect.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brightness6Outlined.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContrastOutlined.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DarkModeOutlined.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LightModeOutlined.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useThemeMode */ "./modules/commons/hooks/useThemeMode.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }






const ThemeModeIcon = _ref => {
  let {
    mode
  } = _ref;
  switch (mode) {
    case commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.LIGHT:
      return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
        color: "secondary"
      });
    case commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.DARK:
      return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
        color: "secondary"
      });
    case commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.HIGH_CONTRAST:
      return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
        color: "secondary"
      });
    default:
      return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        color: "secondary"
      });
  }
};
ThemeModeIcon.propTypes = {
  mode: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf([commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.LIGHT, commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.DARK, commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.SYSTEM, commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.HIGH_CONTRAST])
};
const ThemeModeSelect = _ref2 => {
  let {
    themeMode,
    handleChange,
    textFieldProps
  } = _ref2;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const themeModes = [{
    value: commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.LIGHT,
    label: t('themeModeLight')
  }, {
    value: commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.DARK,
    label: t('themeModeDark')
  }, {
    value: commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.HIGH_CONTRAST,
    label: t('themeModeHighContrast')
  }, {
    value: commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.SYSTEM,
    label: t('themeModeSystem')
  }];
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    select: true,
    label: t('themeMode'),
    value: themeMode,
    onChange: handleChange,
    variant: "outlined",
    slotProps: {
      input: {
        startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
          position: "start"
        }, /*#__PURE__*/React.createElement(ThemeModeIcon, {
          mode: themeMode
        }))
      },
      htmlInput: {
        id: 'theme-mode-select-input'
      },
      inputLabel: {
        htmlFor: 'theme-mode-select-input'
      }
    }
  }, textFieldProps), themeModes.map(_ref3 => {
    let {
      value,
      label
    } = _ref3;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      key: value,
      value: value
    }, label);
  }));
};
ThemeModeSelect.propTypes = {
  themeMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf([commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.LIGHT, commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.DARK, commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.SYSTEM, commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_11__.HIGH_CONTRAST]),
  handleChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
  textFieldProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().objectOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().string))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ThemeModeSelect);

/***/ },

/***/ "./modules/commons/auth/UserSettingsDialog/UserSettingsDialog.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/auth/UserSettingsDialog/UserSettingsDialog.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/user/actions */ "./modules/commons/hooks/user/actions.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useThemeMode */ "./modules/commons/hooks/useThemeMode.js");
/* harmony import */ var admin_users_UsersView_dialogs_ChangePasswordDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! admin/users/UsersView/dialogs/ChangePasswordDialog */ "./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/index.js");
/* harmony import */ var _LanguageSelect__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./LanguageSelect */ "./modules/commons/auth/UserSettingsDialog/LanguageSelect.js");
/* harmony import */ var _ThemeModeSelect__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./ThemeModeSelect */ "./modules/commons/auth/UserSettingsDialog/ThemeModeSelect.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















const UserSettingsDialog = _ref => {
  let {
    closeDialog
  } = _ref;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_17__.useUserState)();
  const dispatch = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_17__.useUserDispatch)();
  const [firstName, setFirstName] = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)(userInfo.firstName);
  const [lastName, setLastName] = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)(userInfo.lastName);
  const [language, setLanguage] = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)(userInfo.language);
  const [passwordEntry, setPasswordEntry] = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)(null);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default()), (commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_16___default())]);
  const [, setGlobalLanguage] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_21__.useLanguage)();
  const {
    mode: currentThemeMode,
    setMode: setGlobalThemeMode
  } = (0,commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_22__.useThemeMode)();
  const [themeMode, setThemeMode] = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)(currentThemeMode);
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)({
    firstName: '',
    lastName: ''
  });
  const handleFirstNameChange = _ref2 => {
    let {
      target
    } = _ref2;
    setFirstName(target.value);
    if (target.value.trim().length === 1) {
      setError(_objectSpread(_objectSpread({}, error), {}, {
        firstName: t('firstNameTooShort')
      }));
      return;
    }
    if (!target.value.trim().length) {
      setError(_objectSpread(_objectSpread({}, error), {}, {
        firstName: t('firstNameMissing')
      }));
      return;
    }
    setError(_objectSpread(_objectSpread({}, error), {}, {
      firstName: null
    }));
  };
  const handleLastNameChange = _ref3 => {
    let {
      target
    } = _ref3;
    setLastName(target.value);
    if (target.value.trim().length === 1) {
      setError(_objectSpread(_objectSpread({}, error), {}, {
        lastName: t('lastNameTooShort')
      }));
      return;
    }
    if (!target.value.trim().length) {
      setError(_objectSpread(_objectSpread({}, error), {}, {
        lastName: t('lastNameMissing')
      }));
      return;
    }
    setError(_objectSpread(_objectSpread({}, error), {}, {
      lastName: null
    }));
  };
  const handleLanguageChange = event => {
    setLanguage(event.target.value);
  };
  const handleThemeModeChange = event => {
    setThemeMode(event.target.value);
  };
  const saveUserSettings = async () => {
    try {
      if (error.firstName || error.lastName) return;
      if (language !== userInfo.language) {
        await userEntry.getResource(true).setLanguage(language);
        setGlobalLanguage(language);
      }
      // Update theme mode if changed
      if (themeMode !== currentThemeMode) {
        await setGlobalThemeMode(themeMode);
      }
      // modification date has changed after setting the language or theme above
      // need to refresh the entry before making further changes
      await userEntry.refresh(true, true);
      await (0,commons_util_user__WEBPACK_IMPORTED_MODULE_19__.replaceName)(userEntry, firstName.trim(), lastName.trim());

      // update user info
      (0,commons_util_user__WEBPACK_IMPORTED_MODULE_19__.getCurrentUserEntry)().then(userData => {
        dispatch({
          type: commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_20__.AUTH_CURRENT_USER_SUCCESS,
          data: userData
        });
      }).then(closeDialog);
    } catch (errorOnSave) {
      throw Error(`Could not save user settings: ${errorOnSave}`);
    }
  };
  const handlePasswordChangeClick = e => {
    e.preventDefault();
    setPasswordEntry(userEntry);
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    onClose: closeDialog,
    "aria-labelledby": "user-settings-dialog-title",
    open: true,
    fullWidth: true,
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "user-setttings-dialog-title",
    onClose: closeDialog
  }, t('settingsHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    dividers: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_13__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    disabled: true,
    label: t('username'),
    value: userInfo.user,
    id: "user-settings-username"
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    label: t('firstname'),
    autoComplete: "given-name",
    value: firstName,
    onChange: handleFirstNameChange,
    id: "user-settings-firstname",
    error: Boolean(error.firstName),
    helperText: error.firstName,
    required: true
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    label: t('lastname'),
    autoComplete: "family-name",
    value: lastName,
    onChange: handleLastNameChange,
    id: "user-settings-lastname",
    error: Boolean(error.lastName),
    helperText: error.lastName,
    required: true
  }), /*#__PURE__*/React.createElement(_LanguageSelect__WEBPACK_IMPORTED_MODULE_24__["default"], {
    language: language,
    handleChange: handleLanguageChange,
    textFieldProps: {
      variant: 'filled'
    }
  }), /*#__PURE__*/React.createElement(_ThemeModeSelect__WEBPACK_IMPORTED_MODULE_25__["default"], {
    themeMode: themeMode,
    handleChange: handleThemeModeChange,
    textFieldProps: {
      variant: 'filled'
    }
  }), /*#__PURE__*/React.createElement("div", {
    style: {
      marginTop: '20px'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    href: "#",
    variant: "body2",
    onClick: handlePasswordChangeClick
  }, t('passwordLink'))))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    onClick: closeDialog,
    variant: "text"
  }, t('cancel')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    onClick: saveUserSettings
  }, t('saveButton')))), passwordEntry ? /*#__PURE__*/React.createElement(admin_users_UsersView_dialogs_ChangePasswordDialog__WEBPACK_IMPORTED_MODULE_23__["default"], {
    entry: passwordEntry,
    closeDialog: () => setPasswordEntry(null)
  }) : null);
};
UserSettingsDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UserSettingsDialog);

/***/ },

/***/ "./modules/commons/auth/UserSettingsDialog/index.js"
/*!**********************************************************!*\
  !*** ./modules/commons/auth/UserSettingsDialog/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UserSettingsDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UserSettingsDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserSettingsDialog */ "./modules/commons/auth/UserSettingsDialog/UserSettingsDialog.js");


/***/ },

/***/ "./modules/commons/auth/components/SSOButton.js"
/*!******************************************************!*\
  !*** ./modules/commons/auth/components/SSOButton.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_Launch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material/Launch */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Launch.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const SSOButton = _ref => {
  let {
    children,
    autofocus,
    color,
    onClick
  } = _ref;
  const linkButton = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
  const setFocus = () => {
    linkButton.current.focus();
  };
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (autofocus) {
      setFocus();
    }
  }, []);
  return /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_2__["default"], {
    ref: linkButton,
    fullWidth: true,
    onClick: onClick,
    color: color,
    endIcon: /*#__PURE__*/React.createElement(_mui_icons_material_Launch__WEBPACK_IMPORTED_MODULE_3__["default"], null)
  }, children);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SSOButton);
SSOButton.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
  autofocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  color: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired
};

/***/ },

/***/ "./modules/commons/auth/usePassword.js"
/*!*********************************************!*\
  !*** ./modules/commons/auth/usePassword.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoSignin.nls */ "./modules/commons/nls/escoSignin.nls");
/* harmony import */ var commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












// Reducer actions
const CLEAR_PASSWORD = 'CLEAR_PASSWORD';
const CHANGE_PASSWORD = 'CHANGE_PASSWORD';
const BLUR_PASSWORD = 'BLUR_PASSWORD';
const CHANGE_CONFIRMATION = 'CHANGE_CONFIRMATION';
const CHANGE_CURRENT_PASSWORD = 'CHANGE_CURRENT_PASSWORD';
const TOGGLE_PASSWORD_VISIBILITY = 'TOGGLE_PASSWORD_VISIBILITY';
const TOGGLE_CONFIRMATION_VISIBILITY = 'TOGGLE_CONFIRMATION_VISIBILITY';
const TOGGLE_CURRENT_PASSWORD_VISIBILITY = 'TOGGLE_CURRENT_PASSWORD_VISIBILITY';

// NLS keys plus path to configurable error message
const CONFIG_ERROR_KEY = 'entrystore.password.message';
const MISMATCH_KEY = 'passwordMismatch';
const REQUIRED_KEY = 'passwordRequired';
const getValidationError = passwd => {
  const {
    custom: customCheck,
    uppercase: uppercaseRequired,
    lowercase: lowercaseRequired,
    symbol: symbolRequired,
    number: numberRequired,
    minLength
  } = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('entrystore.password');
  if (!(0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.isInputTextValid)(passwd)) return REQUIRED_KEY;
  const noUppercase = passwd === passwd.toLowerCase();
  const noLowercase = passwd === passwd.toUpperCase();
  const noSymbol = passwd.match(/[^a-zA-Z\d]+/) === null;
  const noNumber = passwd.match(/[0-9]/) === null;
  const failedCustomCheck = customCheck === null || customCheck === void 0 ? void 0 : customCheck.some(regexp => passwd.match(regexp) === null);
  if (passwd.length < minLength || uppercaseRequired && noUppercase || lowercaseRequired && noLowercase || symbolRequired && noSymbol || numberRequired && noNumber || customCheck && failedCustomCheck) {
    return CONFIG_ERROR_KEY;
  }
  return '';
};
const reducer = (state, action) => {
  switch (action.type) {
    case CLEAR_PASSWORD:
      return _objectSpread(_objectSpread({}, state), {}, {
        password: ''
      });
    case TOGGLE_PASSWORD_VISIBILITY:
      return _objectSpread(_objectSpread({}, state), {}, {
        passwordVisible: !state.passwordVisible
      });
    case TOGGLE_CONFIRMATION_VISIBILITY:
      return _objectSpread(_objectSpread({}, state), {}, {
        confirmationVisible: !state.confirmationVisible
      });
    case TOGGLE_CURRENT_PASSWORD_VISIBILITY:
      return _objectSpread(_objectSpread({}, state), {}, {
        currentPasswordVisible: !state.currentPasswordVisible
      });
    case CHANGE_PASSWORD:
      return _objectSpread(_objectSpread({}, state), {}, {
        password: action.value,
        passwordErrorKey: getValidationError(action.value),
        confirmationErrorKey: state.confirmation !== action.value ? MISMATCH_KEY : ''
      });
    case BLUR_PASSWORD:
      return _objectSpread(_objectSpread({}, state), {}, {
        passwordErrorKey: getValidationError(state.password)
      });
    case CHANGE_CONFIRMATION:
      return _objectSpread(_objectSpread({}, state), {}, {
        confirmation: action.value,
        confirmationErrorKey: state.password !== action.value ? MISMATCH_KEY : ''
      });
    case CHANGE_CURRENT_PASSWORD:
      return _objectSpread(_objectSpread({}, state), {}, {
        currentPassword: action.value,
        currentErrorKey: action.value ? '' : 'currentPasswordRequired'
      });
    default:
      throw new Error(`${action.type} is not a valid password action type`);
  }
};
const initialState = {
  password: '',
  passwordErrorKey: '',
  passwordVisible: false,
  confirmation: '',
  confirmationErrorKey: '',
  confirmationVisible: false,
  currentPassword: '',
  currentErrorKey: '',
  currentPasswordVisible: false
};
const usePassword = () => {
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_8__.i18n.getLocale();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((commons_nls_escoSignin_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const [{
    password,
    passwordErrorKey,
    passwordVisible,
    confirmation,
    confirmationErrorKey,
    confirmationVisible,
    currentPassword,
    currentErrorKey,
    currentPasswordVisible
  }, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useReducer)(reducer, initialState);
  const clearPassword = () => dispatch({
    type: CLEAR_PASSWORD
  });
  const handleChangePassword = newPassword => dispatch({
    type: CHANGE_PASSWORD,
    value: newPassword
  });
  const handleBlurPassword = () => dispatch({
    type: BLUR_PASSWORD
  });
  const togglePasswordVisibility = () => dispatch({
    type: TOGGLE_PASSWORD_VISIBILITY
  });
  const handleChangePasswordConfirmation = newConfirmation => dispatch({
    type: CHANGE_CONFIRMATION,
    value: newConfirmation
  });
  const togglePasswordConfirmationVisibility = () => dispatch({
    type: TOGGLE_CONFIRMATION_VISIBILITY
  });
  const handleChangeCurrentPassword = newValue => dispatch({
    type: CHANGE_CURRENT_PASSWORD,
    value: newValue
  });
  const toggleCurrentVisibility = () => dispatch({
    type: TOGGLE_CURRENT_PASSWORD_VISIBILITY
  });
  const customTranslate = key => {
    if (!key) return '';
    if (key !== CONFIG_ERROR_KEY) return translate(key);
    const passwordConfigError = config__WEBPACK_IMPORTED_MODULE_5__["default"].get(CONFIG_ERROR_KEY);
    return passwordConfigError[locale] || passwordConfigError.en;
  };
  return {
    password,
    passwordError: customTranslate(passwordErrorKey),
    isPasswordVisible: passwordVisible,
    clearPassword,
    handleChangePassword,
    handleBlurPassword,
    togglePasswordVisibility,
    passwordConfirmation: confirmation,
    passwordConfirmationError: customTranslate(confirmationErrorKey),
    isPasswordConfirmationVisible: confirmationVisible,
    handleChangePasswordConfirmation,
    togglePasswordConfirmationVisibility,
    currentPassword,
    currentPasswordError: customTranslate(currentErrorKey),
    handleChangeCurrentPassword,
    isCurrentPasswordVisible: currentPasswordVisible,
    toggleCurrentVisibility
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (usePassword);

/***/ },

/***/ "./modules/commons/components/Alert/Alert.js"
/*!***************************************************!*\
  !*** ./modules/commons/components/Alert/Alert.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AlertTitle/AlertTitle.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckCircle.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Error.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Warning.js");
/* harmony import */ var _Alert_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Alert.scss */ "./modules/commons/components/Alert/Alert.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children", "severity", "title", "className"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const Alert = _ref => {
  let {
      children,
      severity = 'info',
      title,
      className
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    className: `escoAlert escoAlert--${severity}${className ? ` ${className}` : ''}`,
    iconMapping: {
      error: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        fontSize: "inherit"
      }),
      info: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
        fontSize: "inherit",
        color: "primary"
      }),
      success: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
        fontSize: "inherit"
      }),
      warning: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
        fontSize: "inherit"
      })
    },
    severity: severity
  }, props), title ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], null, title) : null, children);
};
Alert.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  severity: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Alert);

/***/ },

/***/ "./modules/commons/components/Alert/index.js"
/*!***************************************************!*\
  !*** ./modules/commons/components/Alert/index.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Alert__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Alert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Alert */ "./modules/commons/components/Alert/Alert.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/AggregationList/AggregationList.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/AggregationList/AggregationList.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/OverviewLinkIcon */ "./modules/commons/components/OverviewLinkIcon.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _dialogs_SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../dialogs/SearchOrCreateDialog */ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./actions */ "./modules/commons/components/EntityOverview/AggregationList/actions.js");
/* harmony import */ var _useAggregationList__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./useAggregationList */ "./modules/commons/components/EntityOverview/AggregationList/useAggregationList.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


























const ROWS_PER_PAGE = 10;

// Renders the actions-menu trigger inside ListItemActionsGroup so it lines up
// with the other action icons. The props injected by the group are not needed.
const ActionsMenuButton = () => /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.OpenActionsMenuButton, null);
const AggregationList = _ref => {
  let {
    relation,
    entityType,
    entry: parentEntry,
    nlsBundles,
    getCreateProps,
    actions = _actions__WEBPACK_IMPORTED_MODULE_24__.actions,
    to,
    context,
    actionParams = {}
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundles);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_20__.useSnackbar)();
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.useParams)();
  const {
    subItems,
    size,
    status,
    label,
    refreshSubEntities,
    afterCreateSubEntry,
    createProps
  } = (0,_useAggregationList__WEBPACK_IMPORTED_MODULE_25__["default"])({
    parentEntry,
    relation,
    entityType,
    context,
    getCreateProps,
    translate
  });
  const {
    CreateDialog,
    createActions,
    createDisabled,
    createDisabledTooltip,
    createDialogParams = {},
    createHighlightId = ''
  } = createProps;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_10__.OverviewListHeader, {
    heading: (0,commons_locale__WEBPACK_IMPORTED_MODULE_12__.localize)(label),
    action: {
      id: 'search-create',
      icon: /*#__PURE__*/React.createElement(commons_actions__WEBPACK_IMPORTED_MODULE_14__.SearchAndCreateIcon, null),
      Dialog: _dialogs_SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_23__["default"],
      tooltip: createDisabled ? createDisabledTooltip : translate('addOrCreateRelationTitle'),
      disabled: createDisabled,
      highlightId: createHighlightId
    },
    actionParams: {
      nlsBundles,
      actionParams: {
        entityType,
        afterCreate: afterCreateSubEntry,
        relation,
        refreshSubEntities,
        CreateDialog,
        createDialogParams,
        createActions,
        entry: parentEntry,
        nlsBundles
      }
    }
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListView, {
    status: status,
    size: size,
    nlsBundles: nlsBundles,
    renderPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_11__.OverviewListPlaceholder, {
      label: translate('relationsListPlaceholder')
    })
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.List, {
    renderLoader: Loader => /*#__PURE__*/React.createElement(Loader, {
      height: "10vh"
    })
  }, subItems.map(_ref2 => {
    let {
      entry: subEntity,
      label: subEntityLabel
    } = _ref2;
    const isRemoteEntry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.isRemote)(subEntity);
    const actionsMenuItems = actions.filter(_ref3 => {
      let {
        isVisible
      } = _ref3;
      return isVisible ? isVisible({
        entry: subEntity,
        isRemote: isRemoteEntry,
        parentEntry
      }) : true;
    }).map(action => {
      const actionProps = action.getProps ? action.getProps(_objectSpread({
        translate,
        addSnackbar
      }, actionParams)) : {};
      return {
        label: translate(action.labelNlsKey),
        icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_14__.getIconFromActionId)(action.id),
        disabled: actionProps.disabled,
        action: _objectSpread(_objectSpread({}, action), {}, {
          entry: subEntity,
          parentEntry,
          relation,
          refresh: refreshSubEntities,
          nlsBundles
        }, actionProps)
      };
    });
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItem, {
      key: subEntity.getId(),
      to: to && !isRemoteEntry ? (0,commons_util_site__WEBPACK_IMPORTED_MODULE_18__.getPathFromViewName)(to, {
        contextId: subEntity.getContext().getId(),
        entryId: subEntity.getId(),
        entityName: entityType.get('name'),
        projectName
      }) : null
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemText, {
      xs: 6,
      primary: subEntityLabel || translate('unnamedEntity', subEntity.getId()),
      tags: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.isDraftEntry)(subEntity) ? /*#__PURE__*/React.createElement(commons_components_tags__WEBPACK_IMPORTED_MODULE_21__.Tag, {
        id: "draftTag",
        nlsBundles: nlsBundles,
        labelNlsKey: "draftTag"
      }) : null
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemText, {
      xs: 3,
      secondary: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_13__.getShortModifiedDate)(subEntity)
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemActionsGroup, {
      xs: 3,
      justifyContent: "end",
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_EDIT), {}, {
        getProps: () => {
          const baseProps = commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_EDIT.getProps({
            entry: subEntity
          });
          return _objectSpread(_objectSpread({}, baseProps), {}, {
            entry: subEntity,
            parentEntry,
            icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"], null),
            title: translate('editEntry'),
            disabled: actionParams.locked || baseProps.disabled
          });
        }
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_INFO), {}, {
        getProps: () => ({
          entry: subEntity,
          entityType,
          icon: /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_15__["default"], null)
        })
      }), {
        id: 'menu',
        Component: ActionsMenuButton
      }]
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ActionsMenu, {
      items: actionsMenuItems
    }), !isRemoteEntry ? /*#__PURE__*/React.createElement(commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_19__["default"], {
      to: to
    }) : null);
  })), size > ROWS_PER_PAGE ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListPagination, null) : null));
};
AggregationList.propTypes = {
  relation: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    entityType: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    property: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    type: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    max: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),
    label: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
  }),
  entityType: commons_types_EntityType__WEBPACK_IMPORTED_MODULE_17__.entityTypePropType,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.nlsBundlesPropType,
  getCreateProps: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  actions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  to: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  context: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Context),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProvider)(AggregationList, () => ({
  limit: ROWS_PER_PAGE
})));

/***/ },

/***/ "./modules/commons/components/EntityOverview/AggregationList/actions.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/AggregationList/actions.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   actions: () => (/* binding */ actions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/dialogs/DownloadResourceDialog */ "./modules/commons/components/common/dialogs/DownloadResourceDialog/index.js");
/* harmony import */ var commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ReplaceLinkDialog */ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/index.js");
/* harmony import */ var _dialogs_ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dialogs/ReplaceEntityFileDialog */ "./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/index.js");
/* harmony import */ var _dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../dialogs/DisconnectDialog */ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/index.js");
/* harmony import */ var _dialogs_RemoveAggregationDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dialogs/RemoveAggregationDialog */ "./modules/commons/components/EntityOverview/dialogs/RemoveAggregationDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









const actions = [{
  id: 'replace-link',
  Dialog: commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_6__["default"],
  isVisible: _ref => {
    let {
      entry,
      isRemote
    } = _ref;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.canWriteMetadata)(entry) && (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canReplaceEntityLink)(entry) && !isRemote;
  },
  labelNlsKey: 'replaceLinkMenu',
  getProps: _ref2 => {
    let {
      translate,
      addSnackbar
    } = _ref2;
    return {
      getLinkedEntries: _ref3 => {
        let {
          resourceURI
        } = _ref3;
        return commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.newSolrQuery().objectUri(resourceURI);
      },
      onLinkChangeSuccess: () => addSnackbar({
        message: translate('linkChangeSnackbar')
      }),
      showCrossContextWarning: true
    };
  }
}, {
  id: 'replace-file',
  isVisible: _ref4 => {
    let {
      entry,
      isRemote
    } = _ref4;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.canWriteMetadata)(entry) && (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canReplaceEntityFile)(entry) && !isRemote;
  },
  labelNlsKey: 'replaceFileButtonLabel',
  Dialog: _dialogs_ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  getProps: _ref5 => {
    let {
      translate,
      addSnackbar
    } = _ref5;
    return {
      onSuccess: () => addSnackbar({
        message: translate('fileChangeSnackbar')
      })
    };
  }
}, {
  id: 'disconnect',
  Dialog: _dialogs_DisconnectDialog__WEBPACK_IMPORTED_MODULE_8__["default"],
  isVisible: _ref6 => {
    let {
      parentEntry
    } = _ref6;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.canWriteMetadata)(parentEntry);
  },
  labelNlsKey: 'disconnectMenuItemLabel'
}, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_4__.LIST_ACTION_REVISIONS), {}, {
  isVisible: _ref7 => {
    let {
      isRemote
    } = _ref7;
    return !isRemote;
  }
}), {
  id: 'download',
  isVisible: _ref8 => {
    let {
      entry,
      isRemote
    } = _ref8;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canDownloadEntity)(entry) && !isRemote;
  },
  labelNlsKey: 'downloadButton',
  Dialog: commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_5__["default"]
}, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_4__.LIST_ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveAggregationDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
  isVisible: _ref9 => {
    let {
      entry,
      isRemote
    } = _ref9;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.canWriteMetadata)(entry) && !isRemote;
  }
})];

/***/ },

/***/ "./modules/commons/components/EntityOverview/AggregationList/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/AggregationList/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _AggregationList__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   useAggregationList: () => (/* reexport safe */ _useAggregationList__WEBPACK_IMPORTED_MODULE_1__["default"])
/* harmony export */ });
/* harmony import */ var _AggregationList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AggregationList */ "./modules/commons/components/EntityOverview/AggregationList/AggregationList.js");
/* harmony import */ var _useAggregationList__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useAggregationList */ "./modules/commons/components/EntityOverview/AggregationList/useAggregationList.js");



/***/ },

/***/ "./modules/commons/components/EntityOverview/AggregationList/useAggregationList.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/AggregationList/useAggregationList.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");





const SEARCH_FIELDS = ['label'];

/**
 * Hook that manages the state and logic for aggregation lists.
 * Handles fetching sub-entities, creating new entries, and list query transformations.
 *
 * @param {object} params
 * @param {object} params.parentEntry - The parent entry that contains the relations
 * @param {object} params.relation - The relation configuration
 * @param {object} params.entityType - The entity type of sub-entities
 * @param {object} params.context - The ES context
 * @param {Function} params.getCreateProps - Function to get creation dialog props
 * @param {Function} params.translate - Translation function
 * @param {Function} params.callback - Fetch query callback function
 * @returns {object} Aggregation list state and handlers
 */
const useAggregationList = _ref => {
  let {
    parentEntry,
    relation,
    entityType,
    context,
    getCreateProps,
    translate,
    callback
  } = _ref;
  const {
    data: subEntities,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__["default"])({
    data: []
  });
  const refreshSubEntities = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => {
    const promise = (0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_4__.getSubEntities)(parentEntry, relation, context, entityType);
    return runAsync(callback ? promise.then(callback) : promise);
  }, [runAsync, parentEntry, relation, context, entityType, callback]);
  const afterCreateSubEntry = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(newSubEntry => (0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_4__.addRelationToParent)(parentEntry, newSubEntry, relation.property).then(refreshSubEntities), [parentEntry, relation.property, refreshSubEntities]);
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    refreshSubEntities();
  }, [refreshSubEntities]);
  const {
    result: subItems,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__.useListQuery)({
    items: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__.RESOLVED ? subEntities.map(subEntityEntry => ({
      entry: subEntityEntry,
      label: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_3__.getTitle)(subEntityEntry)
    })) : null,
    searchFields: SEARCH_FIELDS
  });
  const createProps = getCreateProps({
    relation,
    subEntities,
    entry: parentEntry,
    translate
  });
  const label = relation.label || entityType.get('label');
  return {
    subEntities,
    subItems,
    size,
    status,
    label,
    refreshSubEntities,
    afterCreateSubEntry,
    createProps
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useAggregationList);

/***/ },

/***/ "./modules/commons/components/EntityOverview/CompositionList/CompositionList.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/CompositionList/CompositionList.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/overview/OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListCreateEntityDialog */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/index.js");
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./actions */ "./modules/commons/components/EntityOverview/CompositionList/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


























const SEARCH_FIELDS = ['label'];
const ROWS_PER_PAGE = 10;
const ActionsMenuButton = () => /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.OpenActionsMenuButton, null);
const CompositionList = _ref => {
  let {
    relation,
    entityType,
    entry,
    nlsBundles = []
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()), ...nlsBundles]);
  const {
    context,
    contextName
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_15__.useESContext)();
  const {
    data: subEntities,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])({
    data: []
  });
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_21__.useSnackbar)();
  const refreshSubEntities = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => runAsync((0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_18__.getSubEntities)(entry, relation, context, entityType)), [entry, runAsync, relation, context, entityType]);
  const afterCreateSubEntry = async newSubEntry => {
    newSubEntry.getEntryInfo().setACL(entry.getEntryInfo().getACL());
    await newSubEntry.getEntryInfo().commit();
    const metadata = entry.getMetadata();
    metadata.add(entry.getResourceURI(), relation.property, newSubEntry.getResourceURI());
    entry.commitMetadata().then(refreshSubEntities);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    refreshSubEntities();
  }, [refreshSubEntities]);
  const {
    result: subItems,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListQuery)({
    items: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__.RESOLVED ? subEntities.map(subEntityEntry => ({
      entry: subEntityEntry,
      label: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.getTitle)(subEntityEntry)
    })) : null,
    searchFields: SEARCH_FIELDS
  });
  const label = relation.label || entityType.get('label');
  const actionParams = {
    entityType,
    // would normally be refreshSubEntities, not working right now
    afterCreateEntry: afterCreateSubEntry,
    context,
    contextName,
    label,
    nlsBundles
  };
  const isCreationAllowed = !('max' in relation) || relation.max > subEntities.length;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview_OverviewListHeader__WEBPACK_IMPORTED_MODULE_12__.OverviewListHeader, {
    heading: (0,commons_locale__WEBPACK_IMPORTED_MODULE_14__.localize)(label),
    action: {
      id: 'create',
      Dialog: commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_24__["default"],
      tooltip: isCreationAllowed ? translate('addRelationTitle') : translate('maxEntitiesTooltip', relation.max),
      disabled: !isCreationAllowed
    },
    actionParams: {
      nlsBundles,
      actionParams
    }
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListView, {
    size: size,
    nlsBundles: nlsBundles,
    renderPlaceholder: () => /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_13__.OverviewListPlaceholder, {
      label: translate('relationsListPlaceholder')
    })
    // avoid rejected status, since default error handling is not needed here
    // todo: fix error handling
    ,
    status: status === 'rejected' ? 'resolved' : status
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.List, {
    renderLoader: Loader => /*#__PURE__*/React.createElement(Loader, {
      height: "10vh"
    })
  }, subItems.map(_ref2 => {
    let {
      entry: subEntity,
      label: subEntityLabel
    } = _ref2;
    const actionsMenuItems = _actions__WEBPACK_IMPORTED_MODULE_26__.actions.filter(_ref3 => {
      let {
        isVisible
      } = _ref3;
      return isVisible ? isVisible(_objectSpread({
        entry: subEntity
      }, actionParams)) : true;
    }).map(action => ({
      label: translate(action.labelNlsKey),
      icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_8__.getIconFromActionId)(action.id),
      action: _objectSpread(_objectSpread({}, action), {}, {
        entry: subEntity,
        parent: entry,
        relation,
        refresh: refreshSubEntities
      }, action.getProps ? action.getProps({
        translate,
        addSnackbar
      }) : {})
    }));
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItem, {
      key: subEntity.getId()
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemText, {
      xs: 6,
      primary: subEntityLabel || translate('unnamedEntity', subEntity.getId()),
      tags: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_23__.isDraftEntry)(subEntity) ? /*#__PURE__*/React.createElement(commons_components_tags__WEBPACK_IMPORTED_MODULE_25__.Tag, {
        id: "draftTag",
        nlsBundles: nlsBundles,
        labelNlsKey: "draftTag"
      }) : null
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemText, {
      xs: 3,
      secondary: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.getShortModifiedDate)(subEntity)
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListItemActionsGroup, {
      xs: 3,
      justifyContent: "end",
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__.LIST_ACTION_EDIT), {}, {
        getProps: () => ({
          entry: subEntity,
          parentEntry: entry,
          icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_19__["default"], null),
          title: translate('editEntry')
        })
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__.LIST_ACTION_INFO), {}, {
        getProps: () => ({
          entry: subEntity,
          entityType,
          icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_20__["default"], null)
        })
      }), {
        id: 'menu',
        Component: ActionsMenuButton
      }]
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ActionsMenu, {
      items: actionsMenuItems
    }));
  })), size > ROWS_PER_PAGE ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.ListPagination, null) : null));
};
CompositionList.propTypes = {
  relation: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    entityType: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    type: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    max: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
    label: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
  }),
  entityType: commons_types_EntityType__WEBPACK_IMPORTED_MODULE_22__.entityTypePropType,
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProvider)(CompositionList, () => ({
  limit: ROWS_PER_PAGE
})));

/***/ },

/***/ "./modules/commons/components/EntityOverview/CompositionList/actions.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/CompositionList/actions.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   actions: () => (/* binding */ actions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/dialogs/DownloadResourceDialog */ "./modules/commons/components/common/dialogs/DownloadResourceDialog/index.js");
/* harmony import */ var commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/dialogs/ReplaceLinkDialog */ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/index.js");
/* harmony import */ var _dialogs_ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dialogs/ReplaceEntityFileDialog */ "./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/index.js");
/* harmony import */ var _dialogs_RemoveSubEntityDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dialogs/RemoveSubEntityDialog */ "./modules/commons/components/EntityOverview/dialogs/RemoveSubEntityDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const actions = [{
  id: 'replace-link',
  Dialog: commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_4__["default"],
  isVisible: _ref => {
    let {
      entry
    } = _ref;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canReplaceEntityLink)(entry);
  },
  labelNlsKey: 'replaceLinkMenu',
  getProps: _ref2 => {
    let {
      translate,
      addSnackbar
    } = _ref2;
    return {
      onLinkChangeSuccess: () => addSnackbar({
        message: translate('linkChangeSnackbar')
      })
    };
  }
}, {
  id: 'replace-file',
  isVisible: _ref3 => {
    let {
      entry
    } = _ref3;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canReplaceEntityFile)(entry);
  },
  labelNlsKey: 'replaceFileButtonLabel',
  Dialog: _dialogs_ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_5__["default"],
  getProps: _ref4 => {
    let {
      translate,
      addSnackbar
    } = _ref4;
    return {
      onSuccess: () => addSnackbar({
        message: translate('fileChangeSnackbar')
      })
    };
  }
}, {
  id: 'download',
  isVisible: _ref5 => {
    let {
      entry
    } = _ref5;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canDownloadEntity)(entry);
  },
  labelNlsKey: 'downloadButton',
  Dialog: commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_3__["default"]
}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_REVISIONS, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_1__.LIST_ACTION_REMOVE), {}, {
  Dialog: _dialogs_RemoveSubEntityDialog__WEBPACK_IMPORTED_MODULE_6__["default"]
})];

/***/ },

/***/ "./modules/commons/components/EntityOverview/CompositionList/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/CompositionList/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CompositionList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CompositionList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CompositionList */ "./modules/commons/components/EntityOverview/CompositionList/CompositionList.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/EntityOverview.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/EntityOverview.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_ImagePresenter__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/ImagePresenter */ "./modules/commons/components/ImagePresenter/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/nls/escoEntityOverview.nls */ "./modules/commons/nls/escoEntityOverview.nls");
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_26__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_27__);
/* harmony import */ var _CompositionList__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./CompositionList */ "./modules/commons/components/EntityOverview/CompositionList/index.js");
/* harmony import */ var _AggregationList__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./AggregationList */ "./modules/commons/components/EntityOverview/AggregationList/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./actions */ "./modules/commons/components/EntityOverview/actions.js");
/* harmony import */ var _LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
































const getDefaultAggregationListProps = () => {
  return {
    to: `${(0,commons_util_site__WEBPACK_IMPORTED_MODULE_22__.getModuleNameOfCurrentView)()}__entities__type__overview`,
    getCreateProps: _ref => {
      let {
        relation,
        subEntities,
        translate
      } = _ref;
      const createDisabled = 'max' in relation && relation.max <= subEntities.length;
      return {
        createDisabled,
        createDisabledTooltip: createDisabled ? translate('maxEntitiesTooltip', relation.max) : ''
      };
    }
  };
};
const DEFAULT_NLS_BUNDLES = [(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_26___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_27___default()), (commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_25___default())];
const EntityOverview = _ref2 => {
  var _getBaseEntityType, _entityType$get;
  let {
    nlsBundles = DEFAULT_NLS_BUNDLES,
    actions = _actions__WEBPACK_IMPORTED_MODULE_30__.sidebarActions,
    getAggregationListProps = getDefaultAggregationListProps,
    metadataItems = [],
    tileActions = [],
    overviewProps
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)(nlsBundles);
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_14__.useEntry)();
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.useOverviewModel)();
  const {
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_19__["default"])(entry, refreshCount);
  const {
    data: entityType,
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__["default"])(null);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__.useSnackbar)();
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_24__.useParams)();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (entityType) return;
    runAsync(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].inUse(entry));
  }, [entry, entityType, runAsync]);
  const defaultMetadataItems = [{
    id: 'last-update',
    labelNlsKey: 'lastUpdateLabel',
    getValues: () => entry ? [(0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_16__.getShortModifiedDate)(entry)] : []
  }, {
    id: 'edited-by',
    labelNlsKey: 'editedByLabel',
    getValues: () => contributors
  }];
  const metadataListItems = metadataItems.length ? metadataItems : defaultMetadataItems;
  const backButtonPath = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_22__.getParentPathFromViewName)(commons_registry__WEBPACK_IMPORTED_MODULE_21__["default"].getCurrentView(), {
    contextId: entry.getContext().getId(),
    entityName: ((_getBaseEntityType = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_12__.getBaseEntityType)(entityType)) === null || _getBaseEntityType === void 0 ? void 0 : _getBaseEntityType.get('name')) || '',
    projectName
  });
  return /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({}, overviewProps, {
    backLabel: translate('backButtonTooltip'),
    headerAction: _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_9__.ACTION_INFO_WITH_ICON), {}, {
      entry,
      entityType,
      nlsBundles,
      Dialog: _LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_31__["default"]
    }),
    isLoading: isLoading,
    entry: entry,
    nlsBundles: nlsBundles,
    returnTo: backButtonPath,
    renderPrimaryContent: () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewDescription, {
      label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_15__.getDescription)(entry)
    }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      sx: {
        alignSelf: 'flex-start'
      }
    }, entityType !== null && entityType !== void 0 && entityType.get('contentviewers') ? /*#__PURE__*/React.createElement(commons_components_ImagePresenter__WEBPACK_IMPORTED_MODULE_23__["default"], {
      refreshKey: `${refreshCount}`,
      entityType: entityType,
      entry: entry
    }) : null)),
    descriptionItems: metadataListItems,
    rowActions: tileActions.length ? tileActions : [],
    sidebarActions: actions,
    sidebarProps: {
      entityType,
      translate,
      addSnackbar,
      parentViewName: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_22__.getViewDefFromName)(commons_registry__WEBPACK_IMPORTED_MODULE_21__["default"].getCurrentView()).parent
    }
  }), (entityType === null || entityType === void 0 || (_entityType$get = entityType.get('relations')) === null || _entityType$get === void 0 ? void 0 : _entityType$get.length) > 0 ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    direction: "column"
  }, entityType.get('relations').map(relation => {
    const relationEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getByName(relation.entityType);
    if (!relationEntityType) return;
    const queryContext = relationEntityType.get('allContexts') ? null : entry.getContext();
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      key: `${relation.entityType} - ${relation.property}`
    }, relation.type === _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_20__.COMPOSITION ? /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewSection, null, /*#__PURE__*/React.createElement(_CompositionList__WEBPACK_IMPORTED_MODULE_28__["default"], {
      relation: relation,
      entityType: relationEntityType,
      entry: entry,
      nlsBundles: nlsBundles
    })) : null, relation.type === _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_20__.AGGREGATION ? /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewSection, null, /*#__PURE__*/React.createElement(_AggregationList__WEBPACK_IMPORTED_MODULE_29__["default"], _extends({
      relation: relation,
      entityType: relationEntityType,
      entry: entry,
      context: queryContext,
      nlsBundles: nlsBundles
    }, getAggregationListProps ? getAggregationListProps({
      entityType: relationEntityType
    }) : {}))) : null);
  })) : null);
};
EntityOverview.propTypes = {
  actions: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.nlsBundlesPropType,
  getAggregationListProps: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  metadataItems: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  tileActions: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.withOverviewModelProvider)((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withActionsProvider)(EntityOverview)));

/***/ },

/***/ "./modules/commons/components/EntityOverview/actions.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/actions.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SIDEBAR_ACTION_DIVIDER: () => (/* binding */ SIDEBAR_ACTION_DIVIDER),
/* harmony export */   SIDEBAR_ACTION_DOWNLOAD: () => (/* binding */ SIDEBAR_ACTION_DOWNLOAD),
/* harmony export */   SIDEBAR_ACTION_EDIT: () => (/* binding */ SIDEBAR_ACTION_EDIT),
/* harmony export */   SIDEBAR_ACTION_PORTAL_LINK: () => (/* binding */ SIDEBAR_ACTION_PORTAL_LINK),
/* harmony export */   SIDEBAR_ACTION_PUBLISH: () => (/* binding */ SIDEBAR_ACTION_PUBLISH),
/* harmony export */   SIDEBAR_ACTION_REMOVE: () => (/* binding */ SIDEBAR_ACTION_REMOVE),
/* harmony export */   SIDEBAR_ACTION_REPLACE_FILE: () => (/* binding */ SIDEBAR_ACTION_REPLACE_FILE),
/* harmony export */   SIDEBAR_ACTION_REPLACE_LINK: () => (/* binding */ SIDEBAR_ACTION_REPLACE_LINK),
/* harmony export */   SIDEBAR_ACTION_REPLACE_PATTERNED_LINK: () => (/* binding */ SIDEBAR_ACTION_REPLACE_PATTERNED_LINK),
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/dialogs/ReplaceLinkDialog */ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/index.js");
/* harmony import */ var commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/dialogs/DownloadResourceDialog */ "./modules/commons/components/common/dialogs/DownloadResourceDialog/index.js");
/* harmony import */ var commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/entry/EditEntryDialog */ "./modules/commons/components/entry/EditEntryDialog/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var _dialogs_RemoveEntityDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./dialogs/RemoveEntityDialog */ "./modules/commons/components/EntityOverview/dialogs/RemoveEntityDialog/index.js");
/* harmony import */ var _dialogs_ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./dialogs/ReplaceEntityFileDialog */ "./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/index.js");
/* harmony import */ var _dialogs_ReplacePatternedLinkDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./dialogs/ReplacePatternedLinkDialog */ "./modules/commons/components/EntityOverview/dialogs/ReplacePatternedLinkDialog/index.js");
/* harmony import */ var _overview__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../overview */ "./modules/commons/components/overview/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }














const SIDEBAR_ACTION_EDIT = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_6__.ACTION_EDIT), {}, {
  labelNlsKey: 'editButtonLabel',
  Dialog: (0,_overview__WEBPACK_IMPORTED_MODULE_13__.withOverviewRefresh)(commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_5__["default"], 'onEntryEdit'),
  getProps: () => ({
    action: {
      getFilterPredicates: commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_9__.getFilterPredicatesFromRelations
    }
  })
});
const SIDEBAR_ACTION_REPLACE_FILE = {
  id: 'replace-file',
  isVisible: _ref => {
    let {
      entry,
      entityType
    } = _ref;
    return entityType !== null && entityType !== void 0 && entityType.get('includeInternal') ? false : (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canReplaceEntityFile)(entry);
  },
  labelNlsKey: 'replaceFileButtonLabel',
  Dialog: _dialogs_ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_11__.OverviewReplaceEntityFileDialog,
  getProps: _ref2 => {
    let {
      translate,
      addSnackbar
    } = _ref2;
    return {
      action: {
        onSuccess: () => addSnackbar({
          message: translate('fileChangeSnackbar')
        })
      }
    };
  }
};
const SIDEBAR_ACTION_REPLACE_LINK = {
  id: 'replace-link',
  isVisible: _ref3 => {
    let {
      entry,
      entityType
    } = _ref3;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canReplaceEntityLink)(entry, entityType === null || entityType === void 0 ? void 0 : entityType.get());
  },
  labelNlsKey: 'replaceLinkMenu',
  Dialog: (0,_overview__WEBPACK_IMPORTED_MODULE_13__.withOverviewRefresh)(commons_components_common_dialogs_ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_3__["default"], 'onLinkChangeSuccess'),
  getProps: _ref4 => {
    let {
      translate,
      addSnackbar
    } = _ref4;
    return {
      action: {
        onLinkChangeSuccess: () => addSnackbar({
          message: translate('linkChangeSnackbar')
        })
      }
    };
  }
};
const SIDEBAR_ACTION_REPLACE_PATTERNED_LINK = {
  id: 'replace-patterned-link',
  isVisible: _ref5 => {
    let {
      entityType
    } = _ref5;
    return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.shouldUseUriPattern)(entityType === null || entityType === void 0 ? void 0 : entityType.get());
  },
  labelNlsKey: 'replaceLinkMenu',
  Dialog: _dialogs_ReplacePatternedLinkDialog__WEBPACK_IMPORTED_MODULE_12__["default"],
  getProps: _ref6 => {
    let {
      translate,
      addSnackbar
    } = _ref6;
    return {
      action: {
        onSuccess: () => addSnackbar({
          message: translate('linkChangeSnackbar')
        })
      }
    };
  }
};
const SIDEBAR_ACTION_DOWNLOAD = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_6__.ACTION_DOWNLOAD), {}, {
  isVisible: _ref7 => {
    let {
      entry,
      entityType
    } = _ref7;
    return entityType !== null && entityType !== void 0 && entityType.get('includeInternal') ? false : (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.canDownloadEntity)(entry);
  },
  labelNlsKey: 'downloadButton',
  Dialog: commons_components_common_dialogs_DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_4__["default"]
});
const SIDEBAR_ACTION_REMOVE = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_6__.ACTION_REMOVE), {}, {
  labelNlsKey: 'removeButtonLabel',
  Dialog: _dialogs_RemoveEntityDialog__WEBPACK_IMPORTED_MODULE_10__["default"]
});
const SIDEBAR_ACTION_PORTAL_LINK = {
  id: 'preview-link',
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_1__["default"], null),
  isVisible: _ref8 => {
    let {
      entityType,
      entry
    } = _ref8;
    return (entityType === null || entityType === void 0 ? void 0 : entityType.get('preview.uriTemplate')) && entry.isPublic();
  },
  getProps: _ref9 => {
    let {
      entry,
      entityType
    } = _ref9;
    return {
      href: (0,commons_util_store__WEBPACK_IMPORTED_MODULE_2__.getPortalUrl)(entityType, entry),
      target: '_blank',
      rel: 'noreferrer',
      label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_8__.localize)(entityType === null || entityType === void 0 ? void 0 : entityType.get('preview.label'))
    };
  }
};
const SIDEBAR_ACTION_DIVIDER = _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_7__.ACTION_DIVIDER), {}, {
  getProps: () => ({
    isVisible: _ref0 => {
      let {
        entityType
      } = _ref0;
      return entityType === null || entityType === void 0 ? void 0 : entityType.get('publishControl');
    }
  })
});
const SIDEBAR_ACTION_PUBLISH = _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_7__.ACTION_PUBLISH), {}, {
  getProps: () => ({
    isVisible: _ref1 => {
      let {
        entityType
      } = _ref1;
      return entityType === null || entityType === void 0 ? void 0 : entityType.get('publishControl');
    }
  })
});
const sidebarActions = [SIDEBAR_ACTION_EDIT, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_7__.ACTION_REVISIONS, SIDEBAR_ACTION_REPLACE_FILE, SIDEBAR_ACTION_REPLACE_LINK, SIDEBAR_ACTION_REPLACE_PATTERNED_LINK, SIDEBAR_ACTION_DOWNLOAD, SIDEBAR_ACTION_PORTAL_LINK, SIDEBAR_ACTION_REMOVE, SIDEBAR_ACTION_DIVIDER, SIDEBAR_ACTION_PUBLISH];

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/DisconnectDialog.js"
/*!************************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/DisconnectDialog.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoEntityOverview.nls */ "./modules/commons/nls/escoEntityOverview.nls");
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_10__);











const DisconnectDialog = _ref => {
  let {
    parentEntry,
    entry: connectedEntry,
    relation,
    closeDialog,
    refresh,
    nlsBundles = []
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)([...nlsBundles, (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_10___default())]);
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_5__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    runAsync(getConfirmationDialog({
      content: translate('disconnectDialogPrompt'),
      rejectLabel: translate('cancel'),
      affirmLabel: translate('proceed')
    }).then(proceed => {
      if (proceed) {
        (0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_8__.removeRelationFromParent)(parentEntry, connectedEntry, relation.property).then(() => {
          closeDialog();
          refresh();
        });
        return;
      }
      closeDialog();
    }));
  }, [runAsync, getConfirmationDialog, translate, closeDialog, parentEntry, connectedEntry, relation, refresh]);
  return null;
};
DisconnectDialog.propTypes = {
  parentEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.entryPropType,
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.entryPropType,
  relation: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    property: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  refresh: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DisconnectDialog);

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/index.js"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/index.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DisconnectDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DisconnectDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DisconnectDialog */ "./modules/commons/components/EntityOverview/dialogs/DisconnectDialog/DisconnectDialog.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/RemoveAggregationDialog/RemoveAggregationDialog.js"
/*!**************************************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/RemoveAggregationDialog/RemoveAggregationDialog.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/references/useCheckReferences */ "./modules/commons/hooks/references/useCheckReferences.js");
/* harmony import */ var catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/nls/escaReferences.nls */ "./modules/catalog/nls/escaReferences.nls");
/* harmony import */ var catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const RemoveAggregationDialog = _ref => {
  let {
    entry: connectedEntry,
    closeDialog,
    refresh: refreshOverview,
    nlsBundles
  } = _ref;
  const bundles = [...nlsBundles, (catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_9___default())];
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)(bundles);
  const checkCanRemove = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((refs, status) => status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__.RESOLVED && refs.length === 1, []);
  const {
    references,
    checkReferencesStatus
  } = (0,commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_8__["default"])({
    entry: connectedEntry,
    nlsBundles: bundles,
    callback: closeDialog,
    checkCanRemove
  });
  const onRemove = () => (0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_6__.removeEntryAndRelations)(connectedEntry, references, () => {
    closeDialog();
    refreshOverview();
  });
  if (checkReferencesStatus !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__.RESOLVED) return null;

  // if checkCanRemove() returns true useCheckReferences returns 0 refs
  return references.length <= 1 ? /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__["default"], {
    entry: connectedEntry,
    closeDialog: closeDialog,
    onRemove: onRemove,
    removeConfirmMessage: /*#__PURE__*/React.createElement("p", null, translate('removeAggregationConfirmation'))
  }) : null;
};
RemoveAggregationDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  refresh: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveAggregationDialog);

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/RemoveAggregationDialog/index.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/RemoveAggregationDialog/index.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveAggregationDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveAggregationDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveAggregationDialog */ "./modules/commons/components/EntityOverview/dialogs/RemoveAggregationDialog/RemoveAggregationDialog.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/RemoveEntityDialog/RemoveEntityDialog.js"
/*!****************************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/RemoveEntityDialog/RemoveEntityDialog.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/references/useCheckReferences */ "./modules/commons/hooks/references/useCheckReferences.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "closeDialog", "parentViewName", "nlsBundles"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const RemoveEntityDialog = _ref => {
  let {
      entry,
      closeDialog,
      parentViewName,
      nlsBundles
    } = _ref,
    restProps = _objectWithoutProperties(_ref, _excluded);
  const {
    goBack
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__["default"])();
  const {
    references,
    checkReferencesStatus
  } = (0,commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_5__["default"])({
    entry,
    nlsBundles,
    callback: closeDialog
  });
  if (checkReferencesStatus !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__.RESOLVED || references.length !== 0) return null;
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
    entry: entry,
    closeDialog: closeDialog,
    onRemoveCallback: goBack,
    nlsBundles: nlsBundles
  }, restProps));
};
RemoveEntityDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  parentViewName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveEntityDialog);

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/RemoveEntityDialog/index.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/RemoveEntityDialog/index.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveEntityDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveEntityDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveEntityDialog */ "./modules/commons/components/EntityOverview/dialogs/RemoveEntityDialog/RemoveEntityDialog.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/RemoveSubEntityDialog/RemoveSubEntityDialog.js"
/*!**********************************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/RemoveSubEntityDialog/RemoveSubEntityDialog.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/references/useCheckReferences */ "./modules/commons/hooks/references/useCheckReferences.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoEntityOverview.nls */ "./modules/commons/nls/escoEntityOverview.nls");
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_7__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "parent", "relation", "closeDialog", "refresh"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const RemoveSubEntityDialog = _ref => {
  let {
      entry,
      parent,
      relation,
      closeDialog,
      refresh
    } = _ref,
    restProps = _objectWithoutProperties(_ref, _excluded);
  const onRemove = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const parentMetadata = parent.getMetadata();
    parentMetadata.findAndRemove(null, relation.property, entry.getResourceURI());
    parent.commitMetadata().then(refresh);
  }, [relation, parent, entry, refresh]);
  const {
    references,
    checkReferencesStatus
  } = (0,commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_5__["default"])({
    entry,
    nlsBundles: [(commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_7___default())],
    callback: closeDialog,
    ignoreCallback: reference => reference === parent
  });
  if (checkReferencesStatus !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__.RESOLVED || references.length !== 0) return null;
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    entry: entry,
    closeDialog: closeDialog,
    onRemoveCallback: onRemove
  }, restProps));
};
RemoveSubEntityDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.entryPropType,
  parent: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.entryPropType,
  relation: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  refresh: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveSubEntityDialog);

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/RemoveSubEntityDialog/index.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/RemoveSubEntityDialog/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveSubEntityDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveSubEntityDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveSubEntityDialog */ "./modules/commons/components/EntityOverview/dialogs/RemoveSubEntityDialog/RemoveSubEntityDialog.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/ReplaceEntityFileDialog.js"
/*!**************************************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/ReplaceEntityFileDialog.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OverviewReplaceEntityFileDialog: () => (/* binding */ OverviewReplaceEntityFileDialog),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! workbench/nls/eswoSpaces.nls */ "./modules/workbench/nls/eswoSpaces.nls");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! workbench/nls/eswoReplaceDialog.nls */ "./modules/workbench/nls/eswoReplaceDialog.nls");
/* harmony import */ var workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");
/* harmony import */ var commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/FileUpload */ "./modules/commons/components/common/FileUpload/index.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


















const ReplaceEntityFileDialog = _ref => {
  let {
    entry,
    closeDialog,
    onSuccess
  } = _ref;
  const {
    file,
    handleFileChange
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const [fileError, setFileError] = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_9___default()), (workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_10___default())]);
  const handleSaveForm = async () => {
    try {
      await entry.getResource(true).putFile(file);
      entry.setRefreshNeeded();
      await entry.refresh();
      await Promise.resolve(onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess());
      closeDialog();
    } catch (error) {
      setFileError(new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_17__.ErrorWithMessage(translate('saveFail'), error));
    }
  };
  const dialogActions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    autoFocus: true,
    onClick: handleSaveForm,
    disabled: !file
  }, translate('replaceFileFooterButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "replace-entity-file",
    title: translate('replaceFileHeader'),
    actions: dialogActions,
    closeDialog: closeDialog,
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_13__.Presenter, {
    label: translate('currentFileLabel'),
    getValue: () => {
      var _entry$getEntryInfo;
      return ((_entry$getEntryInfo = entry.getEntryInfo()) === null || _entry$getEntryInfo === void 0 ? void 0 : _entry$getEntryInfo.getLabel()) || translate('fileNameNotFound');
    }
  }), /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_6__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_12__["default"], {
    onSelectFile: handleFileChange
  }))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_16__.ErrorCatcher, {
    error: fileError
  }));
};
ReplaceEntityFileDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onSuccess: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
const OverviewReplaceEntityFileDialog = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_14__.withOverviewRefresh)(ReplaceEntityFileDialog, 'onSuccess');
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ReplaceEntityFileDialog);

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/index.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/index.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OverviewReplaceEntityFileDialog: () => (/* reexport safe */ _ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_0__.OverviewReplaceEntityFileDialog),
/* harmony export */   "default": () => (/* reexport safe */ _ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ReplaceEntityFileDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ReplaceEntityFileDialog */ "./modules/commons/components/EntityOverview/dialogs/ReplaceEntityFileDialog/ReplaceEntityFileDialog.js");



/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/ReplacePatternedLinkDialog/ReplacePatternedLinkDialog.js"
/*!********************************************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/ReplacePatternedLinkDialog/ReplacePatternedLinkDialog.js ***!
  \********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useEntityTitleAndURI */ "./modules/commons/hooks/useEntityTitleAndURI.js");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! workbench/nls/eswoSpaces.nls */ "./modules/workbench/nls/eswoSpaces.nls");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! workbench/nls/eswoReplaceDialog.nls */ "./modules/workbench/nls/eswoReplaceDialog.nls");
/* harmony import */ var workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



















const ReplacePatternedLinkDialog = _ref => {
  let {
    entityType,
    entry,
    closeDialog,
    onSuccess
  } = _ref;
  const uriPattern = entityType.get('uriPattern');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)([(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_16___default()), (workbench_nls_eswoReplaceDialog_nls__WEBPACK_IMPORTED_MODULE_17___default())]);
  const {
    name,
    handleNameChange,
    hasNameChangedManually
  } = (0,commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_15__.useEntityURI)({
    uriPattern
  });
  const [isUnique, setUnique] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true);
  const {
    context,
    resourceURI,
    info: entryInfo
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.spreadEntry)(entry);
  const [contextName, setContextName] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const [replaceError, setReplaceError] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    entry.getContext().getEntry().then(contextEntry => {
      contextEntry.refresh(true, true).then(() => {
        setContextName(contextEntry.getEntryInfo().getName());
        //   const uriSpace = metadata.findFirstValue(resourceURI, 'void:uriSpace');
      }); // make sure the context data is loaded
    });
  }, [entry]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const newURI = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.constructURIFromPattern)(uriPattern, {
      entryName: name,
      contextName
    });
    (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.isResourceURIUniqueInContext)(newURI).then(response => {
      setUnique(response);
    });
  }, [contextName, name, uriPattern]);
  const handleSaveForm = async () => {
    try {
      const newURI = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.constructURIFromPattern)(uriPattern, {
        entryName: name,
        contextName
      });
      if (isUnique) {
        // 1. update entry resource URI
        entryInfo.setResourceURI(newURI);
        await entryInfo.commit();

        // 2. update all linked entries
        await commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.newSolrQuery().context(context).objectUri(resourceURI).forEach(async linkedEntry => {
          linkedEntry.getMetadata().replaceURI(resourceURI, newURI);
          await linkedEntry.commitMetadata();
        });
        entry.setRefreshNeeded();
        await entry.refresh();
        closeDialog();
        onSuccess === null || onSuccess === void 0 || onSuccess();
      }
    } catch (error) {
      setReplaceError(new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_20__.ErrorWithMessage(translate('saveFail'), error));
    }
  };
  const dialogActions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    onClick: handleSaveForm,
    disabled: !name || !isUnique
  }, translate('replaceLinkFooterButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "replace-entity-uri",
    title: translate('replaceLinkHeader'),
    actions: dialogActions,
    closeDialog: closeDialog,
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    disabled: true,
    label: translate('replaceEntityURLCurrentLinkLabel'),
    id: "replace-entity-uri-current",
    value: resourceURI
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "replace-entity-uri-new",
    label: translate('replaceEntityURLNewLinkLabel'),
    value: name,
    onChange: evt => {
      handleNameChange(evt);
    },
    slotProps: {
      input: {
        startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
          position: "start"
        }, (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.constructURIFromPattern)(uriPattern, {
          contextName
        }))
      }
    },
    error: hasNameChangedManually && (!name || !isUnique),
    helperText: hasNameChangedManually && (!name ? translate('newURLRequired') : !isUnique && translate('unavailableURLFeedback'))
  }))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_19__.ErrorCatcher, {
    error: replaceError
  }));
};
ReplacePatternedLinkDialog.propTypes = {
  entityType: commons_types_EntityType__WEBPACK_IMPORTED_MODULE_18__.entityTypePropType,
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_13__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  onSuccess: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ReplacePatternedLinkDialog);

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/ReplacePatternedLinkDialog/index.js"
/*!***********************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/ReplacePatternedLinkDialog/index.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ReplacePatternedLinkDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ReplacePatternedLinkDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ReplacePatternedLinkDialog */ "./modules/commons/components/EntityOverview/dialogs/ReplacePatternedLinkDialog/ReplacePatternedLinkDialog.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/SearchOrCreateDialog.js"
/*!********************************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/SearchOrCreateDialog.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListContentViewerDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListContentViewerDialog */ "./modules/commons/components/EntryListView/dialogs/ListContentViewerDialog/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListCreateEntityDialog */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/index.js");
/* harmony import */ var commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/buttons/MultiCreateButton */ "./modules/commons/components/buttons/MultiCreateButton/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useGetChooserEntries__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/rdforms/hooks/useGetChooserEntries */ "./modules/commons/components/rdforms/hooks/useGetChooserEntries.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_28__);
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./actions */ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "isLoading", "hasFilters"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






























const SearchOrCreateDialog = _ref => {
  var _filters$find;
  let {
    actionParams: {
      entityType,
      afterCreate,
      relation,
      refreshSubEntities,
      CreateDialog = commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_21__["default"],
      createActions = [],
      entry: parentEntry,
      createDialogParams = {},
      getQuery,
      connectedButtonLabel = 'connectedButtonLabel',
      connectButtonLabel = 'connectButtonLabel',
      disableCreateActions = false,
      nlsBundles: optionalNlsBundles = [],
      filters: filtersProp
    },
    closeDialog
  } = _ref;
  const nlsBundles = [...optionalNlsBundles, ..._actions__WEBPACK_IMPORTED_MODULE_29__.nlsBundles, (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_28___default())];
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const {
    context,
    contextName
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_16__.useESContext)();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useListModel)();
  const [hasConnected, setHasConnected] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const label = relation.label || entityType.get('label');
  const filters = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => filtersProp === undefined ? (0,commons_components_rdforms_hooks_useGetChooserEntries__WEBPACK_IMPORTED_MODULE_24__.createRemoteAndContextFilters)(context, entityType, dispatch, translate) : filtersProp, [filtersProp, context, entityType, dispatch, translate]);
  const store = (0,commons_components_rdforms_hooks_useGetChooserEntries__WEBPACK_IMPORTED_MODULE_24__.getActiveStore)(filters, entityType);
  const filterContext = (_filters$find = filters.find(filter => filter.getId() === 'context-filter')) === null || _filters$find === void 0 ? void 0 : _filters$find.getSelected();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => {
    if (getQuery) return getQuery === null || getQuery === void 0 ? void 0 : getQuery(context);
    const baseQuery = store.newSolrQuery().rdfType(entityType.getRdfType());
    if (store === commons_store__WEBPACK_IMPORTED_MODULE_26__.entrystore && filterContext !== commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_27__.ANY) {
      return baseQuery.context(context);
    }
    return baseQuery;
  }, [getQuery, context, store, entityType, filterContext]);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_25__["default"])(null, nlsBundles, filters),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const applyQueryParams = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)((query, queryOptions) => {
    return (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_20__.applyEntityTypeParams)(query, queryOptions, entityType.get());
  }, [entityType]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.useSolrQuery)({
    createQuery,
    applyQueryParams,
    applyFilters,
    wait: isLoading
  });
  const getConnectButtonProps = _ref2 => {
    let {
      entry,
      translate: t
    } = _ref2;
    const relationStatements = parentEntry.getMetadata().find(null, relation.property, entry.getResourceURI());
    const connected = Boolean(relationStatements.length);
    const onClick = async () => {
      await (0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_19__.addRelationToParent)(parentEntry, entry, relation.property).then(() => {
        dispatch({
          type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.REFRESH
        });
        setHasConnected(true);
      });
    };
    return {
      disabled: connected,
      children: connected ? t(connectedButtonLabel) : t(connectButtonLabel),
      variant: 'text',
      onClick,
      justifyContent: 'center'
    };
  };
  const afterCreateEntry = newEntry => {
    closeDialog();
    afterCreate(newEntry);
  };
  const handleClose = () => {
    closeDialog();
    if (hasConnected) refreshSubEntities();
  };
  const createAction = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_23__.ACTION_CREATE), {}, {
    tooltipNlsKey: 'createButtonTooltip',
    Component: commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_22__["default"],
    items: createActions.length > 1 ? createActions : [_objectSpread(_objectSpread({}, _actions__WEBPACK_IMPORTED_MODULE_29__.listAction), {}, {
      Dialog: CreateDialog
    })]
  });
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_17__["default"], {
    id: "search-or-create-dialog",
    title: translate(disableCreateActions ? 'searchDialogTitle' : 'searchOrCreateDialogTitle'),
    closeDialog: handleClose,
    closeDialogButtonLabel: translate('close'),
    maxWidth: "md",
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_18__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.EntryListView, _extends({}, queryResults, {
    nlsBundles: nlsBundles,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    listActions: disableCreateActions ? [] : [createAction],
    listActionsProps: {
      actionParams: {
        entityType,
        afterCreateEntry,
        context,
        contextName,
        label,
        nlsBundles,
        entry: parentEntry,
        createDialogParams,
        refreshSubEntities
      },
      nlsBundles
    },
    viewPlaceholderProps: {
      label: translate('emptyMessageWithName', (0,commons_locale__WEBPACK_IMPORTED_MODULE_15__.localize)(label))
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_11__.INFO_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_14__.LIST_ACTION_INFO), {}, {
            entry,
            nlsBundles,
            Dialog: commons_components_EntryListView_dialogs_ListContentViewerDialog__WEBPACK_IMPORTED_MODULE_13__["default"],
            entityType
          }),
          title: translate('infoEntry')
        };
      }
    }), {
      id: 'connect',
      xs: 2,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemButtonAction,
      ButtonComponent: _mui_material__WEBPACK_IMPORTED_MODULE_7__["default"],
      getProps: getConnectButtonProps
    }]
  }))));
};
SearchOrCreateDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    entityType: commons_types_EntityType__WEBPACK_IMPORTED_MODULE_9__.entityTypePropType,
    label: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsPropType,
    afterCreate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    relation: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
      property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
      label: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsPropType
    }),
    refreshSubEntities: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    CreateDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    createActions: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
    entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
    createDialogParams: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
    getQuery: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    connectedButtonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    connectButtonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    disableCreateActions: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
    nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsBundlesPropType,
    filters: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}))
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProvider)(SearchOrCreateDialog, () => ({
  showFilters: true
})));

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/actions.js"
/*!*******************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/actions.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listAction: () => (/* binding */ listAction),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListCreateEntityDialog */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/index.js");



const listAction = {
  id: 'create',
  Dialog: commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_2__["default"],
  labelNlsKey: 'createButtonLabel',
  tooltipNlsKey: 'createButtonTooltip'
};
const nlsBundles = [(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_0___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_1___default())];

/***/ },

/***/ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/index.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/index.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchOrCreateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchOrCreateDialog */ "./modules/commons/components/EntityOverview/dialogs/SearchOrCreateDialog/SearchOrCreateDialog.js");


/***/ },

/***/ "./modules/commons/components/EntityOverview/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/EntityOverview/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityOverview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityOverview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityOverview */ "./modules/commons/components/EntityOverview/EntityOverview.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/EntryListView.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/EntryListView/EntryListView.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntryListView: () => (/* binding */ EntryListView),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/actions/actionTypes */ "./modules/commons/actions/actionTypes.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_filters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/filters */ "./modules/commons/components/filters/index.js");
/* harmony import */ var commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/filters/utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var _listItems_ListHeaderItem__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./listItems/ListHeaderItem */ "./modules/commons/components/EntryListView/listItems/ListHeaderItem/index.js");
/* harmony import */ var _buttons__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./buttons */ "./modules/commons/components/EntryListView/buttons/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["id", "label", "tooltip", "disabled", "icon", "items", "Component"],
  _excluded2 = ["label", "tooltip", "icon", "id", "disabled", "items", "Component"],
  _excluded3 = ["entry"],
  _excluded4 = ["Component", "getProps", "headerNlsKey", "sortBy"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




















// High level component for creating list view with standard layout. If a
// customized layout is required, ListView components can be used for
// composition.¸
// The columns prop defines how each column should be rendered, including header
// and corresponding list items. Definitions for commonly used columns, such as
// modify date and title are available in the columns utility.
const EntryListView = _ref => {
  let {
    size,
    status,
    search,
    entries,
    items: providedItems,
    nlsBundles,
    columns,
    viewPlaceholderProps = {},
    renderViewPlaceholder,
    renderLoader,
    showViewPlaceholder = true,
    listPlaceholderProps = {},
    listRejectedPlaceholderProps = {},
    includeDefaultListActions = true,
    includeTableView = false,
    includeFilters,
    filtersProps,
    includeHeader = true,
    includePagination = true,
    rowsPerPageOptions,
    getListItemProps = () => ({}),
    listActions = [],
    listActionsProps = {},
    excludeActions = [],
    children
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(nlsBundles);
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.useListModel)();
  const moduleName = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_12__.getModuleNameOfCurrentView)();
  const handleFilterSelect = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)((filter, value) => {
    if (filter) {
      dispatch({
        type: commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_10__.FILTER,
        filter: {
          [filter.getId()]: value
        }
      });
      return;
    }
    dispatch({
      type: commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_10__.CLEAR_FILTER
    });
  }, [dispatch]);
  const hasSelectedFilter = filtersProps === null || filtersProps === void 0 ? void 0 : filtersProps.hasSelectedFilter();
  const hasDefaultFilter = filtersProps === null || filtersProps === void 0 ? void 0 : filtersProps.hasDefaultFilter();
  const items = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(() => {
    if (providedItems) return providedItems;
    if (entries) return entries.map(entry => ({
      entry
    }));
    return [];
  }, [providedItems, entries]);

  // common list actions above list as well as empty list placeholder
  const actions = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.useFilterListActions)({
    listActions,
    listActionsProps,
    excludeActions,
    nlsBundles
  });
  const disableActions = size === -1 || listActionsProps.disabled || status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_15__.REJECTED;
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListView, {
    status: status,
    search: search,
    size: size,
    nlsBundles: nlsBundles,
    showPlaceholder: showViewPlaceholder ? !hasSelectedFilter && !hasDefaultFilter : showViewPlaceholder,
    renderPlaceholder: renderViewPlaceholder || (Placeholder => /*#__PURE__*/React.createElement(Placeholder, viewPlaceholderProps, actions.length ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListActions, {
      justifyContent: "center",
      disabled: disableActions
    }, actions.map(_ref2 => {
      let {
          id,
          label,
          tooltip,
          disabled,
          icon,
          items: actionItems,
          Component = commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_16__["default"]
        } = _ref2,
        action = _objectWithoutProperties(_ref2, _excluded);
      return /*#__PURE__*/React.createElement(Component, {
        key: id,
        id: id,
        highlightId: action.highlightId,
        label: label,
        tooltip: tooltip,
        action: action,
        items: actionItems,
        disabled: disabled,
        icon: icon
      });
    })) : null))
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListActions, {
    disabled: disableActions
  }, includeDefaultListActions ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListSearch, {
    disabled: disableActions
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListActions, {
    compact: true
  }, includeFilters ? /*#__PURE__*/React.createElement(_buttons__WEBPACK_IMPORTED_MODULE_18__.ToggleFiltersButton, {
    active: hasSelectedFilter,
    disabled: disableActions
  }) : null, includeTableView && (0,commons_util_site__WEBPACK_IMPORTED_MODULE_12__.isModuleTableViewEnabled)(moduleName) ? /*#__PURE__*/React.createElement(_buttons__WEBPACK_IMPORTED_MODULE_18__.TableViewButton, {
    disabled: disableActions
  }) : null, /*#__PURE__*/React.createElement(_buttons__WEBPACK_IMPORTED_MODULE_18__.RefreshButton, {
    status: status
  }))) : null, actions.map(_ref3 => {
    let {
        label,
        tooltip,
        icon,
        id,
        disabled,
        items: actionItems,
        Component = commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_16__["default"]
      } = _ref3,
      action = _objectWithoutProperties(_ref3, _excluded2);
    return /*#__PURE__*/React.createElement(Component, {
      key: id,
      id: id,
      highlightId: action.highlightId,
      icon: icon,
      label: label,
      tooltip: tooltip,
      action: action,
      items: actionItems,
      disabled: disabled
    });
  })), includeFilters ? /*#__PURE__*/React.createElement(commons_components_filters__WEBPACK_IMPORTED_MODULE_13__["default"], {
    disabled: size === -1 || listActionsProps.disabled,
    filterProps: filtersProps,
    nlsBundles: nlsBundles,
    onFilterSelect: handleFilterSelect
  }) : null, children, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.List, {
    renderPlaceholder: Placeholder => /*#__PURE__*/React.createElement(Placeholder, _extends({
      label: translate((0,commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_14__.getNoResultsNLS)(Boolean(search), hasSelectedFilter), search)
    }, listPlaceholderProps)),
    renderRejectedPlaceholder: (Placeholder, defaultProps) => /*#__PURE__*/React.createElement(Placeholder, _extends({}, defaultProps, listRejectedPlaceholderProps)),
    renderLoader: renderLoader
  }, includeHeader ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListHeader, null, columns.filter(column => column).map(column => /*#__PURE__*/React.createElement(_listItems_ListHeaderItem__WEBPACK_IMPORTED_MODULE_17__.ListHeaderItem, _extends({
    key: column.id,
    translate: translate
  }, column)))) : null, items.map(_ref4 => {
    let {
        entry
      } = _ref4,
      rest = _objectWithoutProperties(_ref4, _excluded3);
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItem, _extends({
      key: `listitem-${entry.getContext().getId()}-${entry.getId()}`
    }, getListItemProps(_objectSpread({
      entry,
      translate
    }, rest))), columns.filter(column => column).map(_ref5 => {
      let {
          Component,
          getProps = () => ({}),
          // header-specific props shouldn't be part of the list item's column
          headerNlsKey: _headerNlsKey,
          sortBy: _sortBy
        } = _ref5,
        column = _objectWithoutProperties(_ref5, _excluded4);
      return /*#__PURE__*/React.createElement(Component, _extends({
        key: column.id
      }, column.actions ? {
        excludeActions
      } : {}, column, getProps(_objectSpread({
        entry,
        translate
      }, rest))));
    }));
  })), includePagination ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListPagination, {
    rowsPerPageOptions: rowsPerPageOptions
  }) : null);
};
EntryListView.propTypes = {
  size: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().number),
  status: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  search: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  entries: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.entryPropType),
  items: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.entryPropType
  })),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.nlsBundlesPropType,
  columns: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({})),
  viewPlaceholderProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  renderViewPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  renderLoader: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  showViewPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  listPlaceholderProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  listRejectedPlaceholderProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  includeDefaultListActions: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  includeTableView: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  includeFilters: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  filtersProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    hasSelectedFilter: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
    hasDefaultFilter: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
  }),
  includeHeader: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  includePagination: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  rowsPerPageOptions: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_6___default().number)),
  getListItemProps: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  listActions: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({})),
  listActionsProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  excludeActions: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntryListView);

/***/ },

/***/ "./modules/commons/components/EntryListView/actions/definitions.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/actions/definitions.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LIST_ACTION_DOWNLOAD: () => (/* binding */ LIST_ACTION_DOWNLOAD),
/* harmony export */   LIST_ACTION_EDIT: () => (/* binding */ LIST_ACTION_EDIT),
/* harmony export */   LIST_ACTION_INFO: () => (/* binding */ LIST_ACTION_INFO),
/* harmony export */   LIST_ACTION_REMOVE: () => (/* binding */ LIST_ACTION_REMOVE),
/* harmony export */   LIST_ACTION_REVISIONS: () => (/* binding */ LIST_ACTION_REVISIONS),
/* harmony export */   LIST_ACTION_SHARING_SETTINGS: () => (/* binding */ LIST_ACTION_SHARING_SETTINGS)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _dialogs_ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dialogs/ListEditEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/index.js");
/* harmony import */ var _dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dialogs/ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js");
/* harmony import */ var _dialogs_ListRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dialogs/ListRevisionsEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRevisionsEntryDialog/index.js");
/* harmony import */ var _dialogs_ListSharingSettingsDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dialogs/ListSharingSettingsDialog */ "./modules/commons/components/EntryListView/dialogs/ListSharingSettingsDialog/index.js");
/* harmony import */ var _dialogs_ListDownloadEntryDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../dialogs/ListDownloadEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








const LIST_ACTION_EDIT = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  Dialog: _dialogs_ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_4__["default"],
  highlightId: 'listActionEdit',
  getProps: _ref => {
    let {
      entry,
      locked
    } = _ref;
    return {
      disabled: Boolean(locked) || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.isLocked)(entry)
    };
  }
});
const LIST_ACTION_INFO = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_INFO), {}, {
  Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__["default"],
  highlightId: 'listActionInfo'
});
const LIST_ACTION_REMOVE = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REMOVE), {}, {
  Dialog: _dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_5__["default"],
  highlightId: 'listActionRemove'
});
const LIST_ACTION_REVISIONS = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS), {}, {
  Dialog: _dialogs_ListRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_6__["default"]
});
const LIST_ACTION_SHARING_SETTINGS = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_SHARING_SETTINGS), {}, {
  Dialog: _dialogs_ListSharingSettingsDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  highlightId: 'listActionSharing'
});
const LIST_ACTION_DOWNLOAD = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_DOWNLOAD), {}, {
  Dialog: _dialogs_ListDownloadEntryDialog__WEBPACK_IMPORTED_MODULE_8__["default"]
});

/***/ },

/***/ "./modules/commons/components/EntryListView/actions/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/EntryListView/actions/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LIST_ACTION_DOWNLOAD: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.LIST_ACTION_DOWNLOAD),
/* harmony export */   LIST_ACTION_EDIT: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.LIST_ACTION_EDIT),
/* harmony export */   LIST_ACTION_INFO: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.LIST_ACTION_INFO),
/* harmony export */   LIST_ACTION_REMOVE: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.LIST_ACTION_REMOVE),
/* harmony export */   LIST_ACTION_REVISIONS: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.LIST_ACTION_REVISIONS),
/* harmony export */   LIST_ACTION_SHARING_SETTINGS: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.LIST_ACTION_SHARING_SETTINGS)
/* harmony export */ });
/* harmony import */ var _definitions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./definitions */ "./modules/commons/components/EntryListView/actions/definitions.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.js"
/*!*************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MultiCreateButton: () => (/* binding */ MultiCreateButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_KeyboardArrowDown__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material/KeyboardArrowDown */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./MultiCreateButton.scss */ "./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["items", "id", "highlightId"],
  _excluded2 = ["labelNlsKey", "id", "action"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const CreateButton = _ref => {
  let {
    disabled,
    tooltip = 'createButtonTooltip',
    highlightId
  } = _ref;
  const {
    nlsBundles
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListView)();
  const {
    openMenu,
    isOpen,
    id
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useActions)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
    title: tooltip || translate('createButtonTooltip')
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    onClick: openMenu,
    "aria-controls": id,
    "aria-haspopup": "true",
    "aria-expanded": isOpen ? 'true' : undefined,
    endIcon: /*#__PURE__*/React.createElement(_mui_icons_material_KeyboardArrowDown__WEBPACK_IMPORTED_MODULE_3__["default"], null),
    disabled: disabled,
    "data-highlight-id": highlightId
  }, translate('createButtonLabel'))));
};
CreateButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const MultiCreateButton = _ref2 => {
  var _action$actionParams;
  let {
    action,
    disabled
  } = _ref2;
  const {
    nlsBundles
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListView)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  const {
      items,
      id: _createId,
      highlightId
    } = action,
    actionParams = _objectWithoutProperties(action, _excluded);
  const actionItems = action.items.map(_ref3 => {
    let {
        labelNlsKey,
        id,
        action: itemAction
      } = _ref3,
      menuItemProps = _objectWithoutProperties(_ref3, _excluded2);
    return _objectSpread(_objectSpread({}, menuItemProps), {}, {
      label: translate(labelNlsKey),
      action: _objectSpread(_objectSpread({}, actionParams), itemAction)
    });
  });
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ActionsProvider, null, /*#__PURE__*/React.createElement(CreateButton, {
    disabled: disabled,
    tooltip: (_action$actionParams = action.actionParams) === null || _action$actionParams === void 0 ? void 0 : _action$actionParams.tooltip,
    highlightId: highlightId
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ActionsMenu, {
    disabled: true,
    menuProps: {
      anchorOrigin: {
        vertical: 'bottom',
        horizontal: 'right'
      },
      transformOrigin: {
        vertical: 'top',
        horizontal: 'right'
      },
      classes: {
        paper: 'escoListMultiCreateButton'
      }
    },
    items: actionItems
  }));
};
MultiCreateButton.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
    actionParams: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
      tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
    }),
    highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
  }),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};

/***/ },

/***/ "./modules/commons/components/EntryListView/buttons/MultiCreateButton/index.js"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/buttons/MultiCreateButton/index.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MultiCreateButton: () => (/* reexport safe */ _MultiCreateButton__WEBPACK_IMPORTED_MODULE_0__.MultiCreateButton)
/* harmony export */ });
/* harmony import */ var _MultiCreateButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MultiCreateButton */ "./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/buttons/buttons.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/EntryListView/buttons/buttons.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RefreshButton: () => (/* binding */ RefreshButton),
/* harmony export */   TableViewButton: () => (/* binding */ TableViewButton),
/* harmony export */   ToggleFiltersButton: () => (/* binding */ ToggleFiltersButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterAlt.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Refresh.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TableChart.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoFilters.nls */ "./modules/commons/nls/escoFilters.nls");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_components_common_Spin__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/Spin */ "./modules/commons/components/common/Spin/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const TableViewButton = _ref => {
  let {
    disabled
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.useListModel)();
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListActionIconButton, {
    onClick: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.TOGGLE_TABLEVIEW
    }),
    ariaLabel: translate('tableViewButtonTooltip'),
    icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null),
    disabled: disabled,
    tooltip: translate('tableViewButtonTooltip'),
    highlightId: "tableViewButton"
  });
};
TableViewButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
};
const ToggleFiltersButton = _ref2 => {
  let {
    disabled,
    active
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.useListModel)();
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListActionIconButton, {
    onClick: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.TOGGLE_FILTERS
    }),
    ariaLabel: "filter",
    icon: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      color: "secondary",
      variant: "dot",
      invisible: !active
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null)),
    disabled: disabled,
    tooltip: translate('searchFiltersButtonTooltip'),
    highlightId: "searchFilterButton"
  });
};
ToggleFiltersButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  active: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
};
const RefreshButton = _ref3 => {
  let {
    disabled,
    status
  } = _ref3;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.useListModel)();
  const [spinning, startSpinning] = (0,commons_components_common_Spin__WEBPACK_IMPORTED_MODULE_11__.useSpinState)(status);
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListActionIconButton, {
    onClick: () => {
      dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.REFRESH
      });
      startSpinning();
    },
    ariaLabel: translate('refreshListLabel'),
    icon: spinning ? /*#__PURE__*/React.createElement(commons_components_common_Spin__WEBPACK_IMPORTED_MODULE_11__.Spin, null, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null)) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null),
    disabled: disabled,
    tooltip: translate('actionTooltipRefresh')
  });
};
RefreshButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  status: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};

/***/ },

/***/ "./modules/commons/components/EntryListView/buttons/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/EntryListView/buttons/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MultiCreateButton: () => (/* reexport safe */ _MultiCreateButton__WEBPACK_IMPORTED_MODULE_1__.MultiCreateButton),
/* harmony export */   RefreshButton: () => (/* reexport safe */ _buttons__WEBPACK_IMPORTED_MODULE_0__.RefreshButton),
/* harmony export */   TableViewButton: () => (/* reexport safe */ _buttons__WEBPACK_IMPORTED_MODULE_0__.TableViewButton),
/* harmony export */   ToggleFiltersButton: () => (/* reexport safe */ _buttons__WEBPACK_IMPORTED_MODULE_0__.ToggleFiltersButton)
/* harmony export */ });
/* harmony import */ var _buttons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./buttons */ "./modules/commons/components/EntryListView/buttons/buttons.js");
/* harmony import */ var _MultiCreateButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MultiCreateButton */ "./modules/commons/components/EntryListView/buttons/MultiCreateButton/index.js");



/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListContentViewerDialog/ListContentViewerDialog.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListContentViewerDialog/ListContentViewerDialog.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_EntryListView_dialogs_ListImageViewInfoDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListImageViewInfoDialog */ "./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }

// eslint-disable-next-line max-len



const ListContentViewerDialog = actionsProps => {
  const {
    entityTypeDef,
    entityType
  } = actionsProps;
  let hasImageContentViewer = false;

  // TODO https://metasolutions.atlassian.net/browse/ES-2826
  // only use entity type instance eventually
  const contentViewers = entityType ? entityType.get('contentviewers') : entityTypeDef.contentviewers;
  if (contentViewers) {
    const imageContentViewer = contentViewers.filter(contentViewer => contentViewer.name === 'imageview' || contentViewer === 'imageview');
    hasImageContentViewer = imageContentViewer.length > 0;
  }
  return /*#__PURE__*/React.createElement(React.Fragment, null, hasImageContentViewer ? /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListImageViewInfoDialog__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    showReferences: true
  }, actionsProps)) : /*#__PURE__*/React.createElement(commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_3__["default"], actionsProps));
};
ListContentViewerDialog.propTypes = {
  actionsProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    entityType: commons_types_EntityType__WEBPACK_IMPORTED_MODULE_4__.entityTypePropType,
    entityTypeDef: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListContentViewerDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListContentViewerDialog/index.js"
/*!*******************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListContentViewerDialog/index.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListContentViewerDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListContentViewerDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListContentViewerDialog */ "./modules/commons/components/EntryListView/dialogs/ListContentViewerDialog/ListContentViewerDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/ListCreateEntityDialog.js"
/*!***********************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/ListCreateEntityDialog.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_components_dialogs_create_CreateEntityDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntityDialog */ "./modules/commons/components/dialogs/create/CreateEntityDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");


const ListCreateEntityDialog = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__.withListRefresh)(commons_components_dialogs_create_CreateEntityDialog__WEBPACK_IMPORTED_MODULE_0__["default"], 'onCreate');
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListCreateEntityDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/index.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListCreateEntityDialog */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/ListCreateEntityDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile/ListCreateEntryByLinkOrFile.js"
/*!*********************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile/ListCreateEntryByLinkOrFile.js ***!
  \*********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_components_dialogs_create_CreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByLinkOrFile */ "./modules/commons/components/dialogs/create/CreateEntryByLinkOrFile/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_actions_hocs_withActionCallback__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/actions/hocs/withActionCallback */ "./modules/commons/actions/hocs/withActionCallback.js");



const ListCreateEntryByLinkOrFile = (0,commons_actions_hocs_withActionCallback__WEBPACK_IMPORTED_MODULE_2__["default"])(commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__.useListModel, commons_components_dialogs_create_CreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_0__["default"], 'afterCreateEntry', commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__.CREATE);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListCreateEntryByLinkOrFile);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile/index.js"
/*!***********************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile/index.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListCreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListCreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListCreateEntryByLinkOrFile */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile/ListCreateEntryByLinkOrFile.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material_GetApp__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/icons-material/GetApp */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/GetApp.js");
/* harmony import */ var _mui_icons_material_ContentCopy__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/icons-material/ContentCopy */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentCopy.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_util_file__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/file */ "./modules/commons/util/file.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var _ListDownloadEntryDialog_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ListDownloadEntryDialog.scss */ "./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.scss");


















const formats = [{
  name: 'RDF/XML',
  media: 'application/rdf+xml'
}, {
  name: 'Turtle',
  media: 'text/turtle'
}, {
  name: 'N-Triples',
  media: 'application/n-triples'
}, {
  name: 'JSON-LD',
  media: 'application/ld+json'
}];
const ListDownloadEntryDialog = _ref => {
  let {
    entry,
    closeDialog,
    profile,
    nlsBundles
  } = _ref;
  const inputRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)();
  const [format, setFormat] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(formats[0].media);
  const metadataURL = new URL(entry.getEntryInfo().getMetadataURI());
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)(nlsBundles);
  if (profile) {
    metadataURL.searchParams.set('recursive', profile);
  }
  metadataURL.searchParams.set('format', format);
  const handleDownload = () => {
    const exportURL = new URL(`${metadataURL}&download`);
    (0,commons_util_file__WEBPACK_IMPORTED_MODULE_18__.downloadURI)(decodeURIComponent(exportURL.href), `${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getFullLengthLabel)(entry)}.${(0,commons_util_file__WEBPACK_IMPORTED_MODULE_18__.convertFileFormat)(format)}`);
  };
  const handleCopyButtonClick = () => {
    if (inputRef.current) {
      inputRef.current.focus();
      inputRef.current.select();
      navigator.clipboard.writeText(inputRef.current.value);
    }
  };
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_17__["default"], {
    id: "download-entry",
    title: translate('download', {
      entryLabel: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getLabel)(entry)
    }),
    closeDialog: closeDialog,
    closeDialogButtonLabel: translate('close')
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_15__["default"], {
    md: 12
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement("div", {
    className: "escoListDownloadEntryDialog__info"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_20__["default"], {
    severity: "info"
  }, translate('exportText'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    className: "escoListDownloadEntryDialog__buttonGroupHeader",
    variant: "body1"
  }, translate('exportFormatSelect')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    color: "primary",
    "aria-label": translate('selectFormatAriaLabel')
  }, formats.map(_ref2 => {
    let {
      name,
      media
    } = _ref2;
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
      key: name,
      onClick: () => setFormat(media),
      variant: format === media ? 'contained' : 'outlined'
    }, name);
  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement("div", {
    className: "escoListDownloadEntryDialog__buttonGroup"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    value: decodeURIComponent(metadataURL.href),
    readOnly: true,
    "aria-describedby": "format",
    slotProps: {
      htmlInput: {
        id: 'format',
        'aria-label': 'format',
        ref: inputRef
      }
    }
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__["default"], {
    title: translate('copyContent')
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    "aria-label": translate('copyContent'),
    onClick: handleCopyButtonClick,
    color: "primary",
    sx: {
      ml: 2
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_icons_material_ContentCopy__WEBPACK_IMPORTED_MODULE_14__["default"], null))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__["default"], {
    title: translate('downloadButton')
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    "aria-label": translate('downloadButton'),
    onClick: handleDownload,
    color: "primary"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_icons_material_GetApp__WEBPACK_IMPORTED_MODULE_13__["default"], null))))));
};
ListDownloadEntryDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    getEntryInfo: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    getId: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  profile: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListDownloadEntryDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/index.js"
/*!*******************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/index.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListDownloadEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListDownloadEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListDownloadEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListEditContextDialog/ListEditContextDialog.js"
/*!*********************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListEditContextDialog/ListEditContextDialog.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var _ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ListEditEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }





const ListEditContextDialog = props => {
  const handleEdit = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(async entry => {
    await (0,commons_util_context__WEBPACK_IMPORTED_MODULE_3__.updateContextTitle)(entry);
  }, []);
  return /*#__PURE__*/React.createElement(_ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({}, props, {
    onEntryEdit: handleEdit
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListEditContextDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListEditContextDialog/index.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListEditContextDialog/index.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListEditContextDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListEditContextDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListEditContextDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditContextDialog/ListEditContextDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/ListEditEntryDialog.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/ListEditEntryDialog.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/entry/EditEntryDialog */ "./modules/commons/components/entry/EditEntryDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");


const ListEditEntryDialog = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_1__.withListRerender)(commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"], 'onEntryEdit');
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListEditEntryDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/index.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/index.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListEditEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/ListEditEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsPresenter */ "./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_EntryListView_lists_ReferenceEntriesList__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView/lists/ReferenceEntriesList */ "./modules/commons/components/EntryListView/lists/ReferenceEntriesList/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoContentview.nls */ "./modules/commons/nls/escoContentview.nls");
/* harmony import */ var commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var _mui_material_Alert__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material/Alert */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/buttons/ExpandButton */ "./modules/commons/components/buttons/ExpandButton/index.js");
/* harmony import */ var commons_components_rdforms_ResourceInfo_index__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/rdforms/ResourceInfo/index */ "./modules/commons/components/rdforms/ResourceInfo/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var _ListImageViewInfoDialog_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ListImageViewInfoDialog.scss */ "./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.scss");
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





















const ListImageViewInfoDialog = _ref => {
  let {
    entry,
    entityType,
    entityTypeDef,
    closeDialog,
    showReferences = true
  } = _ref;
  // TODO https://metasolutions.atlassian.net/browse/ES-2826
  const template = entityType ? entityType.get('template') : entityTypeDef.template;
  const contentviewers = entityType ? entityType.get('contentviewers') : entityTypeDef.contentviewers;
  const {
    metadata,
    resourceURI,
    info
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.spreadEntry)(entry);
  const {
    PresenterComponent
  } = (0,commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_3__["default"])(metadata, resourceURI, template);
  const [imgSrc, setImgSrc] = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)('');
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(false);
  const imageContentViewDef = contentviewers.find(contentView => typeof contentView === 'object' ? contentView.name === 'imageview' : contentView === 'imageview');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)((commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_14___default()));
  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(() => {
    entry.refresh().then(() => {
      var _info$getFormat;
      if (imageContentViewDef.property) {
        const src = metadata.findFirstValue(null, imageContentViewDef.property);
        if (src) {
          setImgSrc(src);
        } else {
          setError(translate('noImageProvided'));
        }
      } else if (entry.isLink() || (_info$getFormat = info.getFormat()) !== null && _info$getFormat !== void 0 && _info$getFormat.startsWith('image/')) {
        const uri = entry.getResourceURI();
        const entrystoreBaseURI = commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getBaseURI();
        const isExternal = !uri.startsWith(entrystoreBaseURI);
        setImgSrc(isExternal ? _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.factory.getProxyURI(entrystoreBaseURI, uri) : uri);
      } else {
        setError(translate('noImageProvided'));
      }
    });
  }, [entry]);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "info-entry-image",
    closeDialog: closeDialog,
    title: translate('imageDialogTitle'),
    closeDialogButtonLabel: translate('contentViewDialogCloseLabel'),
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__["default"], {
    md: 12
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoListImageViewInfoDialog__content"
  }, /*#__PURE__*/React.createElement(commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_16__["default"], {
    initiallyExpanded: false,
    nlsBundles: [(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_18___default())],
    alternativeClass: "escoListImageViewInfoDialog__expandableAreaButton"
  }, entry ? /*#__PURE__*/React.createElement(commons_components_rdforms_ResourceInfo_index__WEBPACK_IMPORTED_MODULE_17__["default"], {
    entry: entry
  }) : null), error ? /*#__PURE__*/React.createElement(_mui_material_Alert__WEBPACK_IMPORTED_MODULE_15__["default"], {
    className: "escoImageView__message",
    severity: "error"
  }, error) : /*#__PURE__*/React.createElement("img", {
    className: "escoImageView__image",
    src: imgSrc,
    alt: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getLabel)(entry)
  }), PresenterComponent ? /*#__PURE__*/React.createElement(PresenterComponent, null) : /*#__PURE__*/React.createElement("span", null, translate('loadingPlaceholder')), showReferences && /*#__PURE__*/React.createElement(commons_components_EntryListView_lists_ReferenceEntriesList__WEBPACK_IMPORTED_MODULE_10__["default"], {
    entry: entry
  }))));
};
ListImageViewInfoDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  entityType: commons_types_EntityType__WEBPACK_IMPORTED_MODULE_20__.entityTypePropType,
  entityTypeDef: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    template: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    contentviewers: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}))
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  showReferences: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListImageViewInfoDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/index.js"
/*!*******************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/index.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListImageViewInfoDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListImageViewInfoDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListImageViewInfoDialog */ "./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/ListRemoveEntryDialog.js"
/*!*********************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/ListRemoveEntryDialog.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }






const ListRemoveEntryDialog = props => {
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListModel)();
  const onRemove = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => dispatch({
    type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.DELETE
  }), [dispatch]);
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({}, props, {
    onRemoveCallback: onRemove
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListRemoveEntryDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/ListRemoveEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListRevisionsEntryDialog/ListRevisionsEntryDialog.js"
/*!***************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListRevisionsEntryDialog/ListRevisionsEntryDialog.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_entry_RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/entry/RevisionsEntryDialog */ "./modules/commons/components/entry/RevisionsEntryDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const ListRevisionsEntryDialog = _ref => {
  let {
      closeDialog
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_6__.useListModel)();
  const updateParentList = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    closeDialog();
    dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_6__.REFRESH
    });
  }, [closeDialog, dispatch]);
  return /*#__PURE__*/React.createElement(commons_components_entry_RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    onRevertCallback: updateParentList,
    closeDialog: closeDialog
  }, rest));
};
ListRevisionsEntryDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListRevisionsEntryDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListRevisionsEntryDialog/index.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListRevisionsEntryDialog/index.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListRevisionsEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRevisionsEntryDialog/ListRevisionsEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListSharingSettingsDialog/ListSharingSettingsDialog.js"
/*!*****************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListSharingSettingsDialog/ListSharingSettingsDialog.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoSharingSettings.nls */ "./modules/commons/nls/escoSharingSettings.nls");
/* harmony import */ var commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! admin/nls/esadGroup.nls */ "./modules/admin/nls/esadGroup.nls");
/* harmony import */ var admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useRestrictionDialog */ "./modules/commons/hooks/useRestrictionDialog.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var _lists_UsersList__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../lists/UsersList */ "./modules/commons/components/EntryListView/lists/UsersList/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





















const NLS_BUNDLES = [(commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_8___default()), (admin_nls_esadGroup_nls__WEBPACK_IMPORTED_MODULE_9___default())];
const ListSharingSettingsDialog = _ref => {
  let {
    entry,
    closeDialog,
    restrictionPath
  } = _ref;
  const [contextEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_17__["default"])(commons_util_context__WEBPACK_IMPORTED_MODULE_11__.loadContextEntry, entry);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)(NLS_BUNDLES);
  const {
    data: groupEntry,
    runAsync,
    status,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__["default"])(null);
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_19__["default"])(error);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_15__.useUserState)();
  const isPremiumContext = contextEntry && (0,commons_util_context__WEBPACK_IMPORTED_MODULE_11__.isContextPremium)(contextEntry);
  const isExemptFromRestrictions = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_16__.hasUserPermission)(userEntry, [commons_util_user__WEBPACK_IMPORTED_MODULE_16__.ADMIN_RIGHTS, commons_util_user__WEBPACK_IMPORTED_MODULE_16__.PREMIUM]) || isPremiumContext;
  const isRestricted = status === 'resolved' && !isExemptFromRestrictions && Boolean(restrictionPath);
  (0,commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_14__["default"])({
    open: isRestricted,
    contentPath: restrictionPath,
    callback: closeDialog
  });
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!contextEntry) return;
    const getGroupEntry = async () => {
      const refs = contextEntry.getReferrers(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_12__.namespaces.expand('store:homeContext'));
      if (refs.length === 0) {
        throw new Error('Could not find home context referrer.');
      }
      if (refs.length > 1) {
        throw new Error('Found more than one home context referrer.');
      }
      return commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getEntry(commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getEntryURIFromURI(refs[0]));
    };
    runAsync(getGroupEntry());
  }, [contextEntry, runAsync]);
  if (isRestricted) return null;
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "sharing-settings",
    closeDialog: closeDialog,
    title: translate('groupACL'),
    closeDialogButtonLabel: translate('closeButtonLabel')
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(_lists_UsersList__WEBPACK_IMPORTED_MODULE_20__["default"], {
    entry: entry,
    groupEntry: groupEntry,
    viewPlaceholderProps: {
      label: translate('emptyMessageMembers'),
      variant: 'dialog'
    }
  })));
};
ListSharingSettingsDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  restrictionPath: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListSharingSettingsDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListSharingSettingsDialog/index.js"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListSharingSettingsDialog/index.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListSharingSettingsDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListSharingSettingsDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListSharingSettingsDialog */ "./modules/commons/components/EntryListView/dialogs/ListSharingSettingsDialog/ListSharingSettingsDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/hooks/useFetchEntries.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/hooks/useFetchEntries.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SOLR_DELAY: () => (/* binding */ SOLR_DELAY),
/* harmony export */   useFetchEntries: () => (/* binding */ useFetchEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useDebounce */ "./modules/commons/hooks/useDebounce.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const initialState = {
  entries: [],
  size: -1,
  searchQueryString: ''
};
const SOLR_DELAY = 1500;

/**
 * Hook that runs provided fetchEntries function.
 *
 * @param {{fetchEntries: Function, delay: number, refreshCount: number, wait: boolean}} options
 * @returns {object}
 */
const useFetchEntries = _ref => {
  let {
    fetchEntries,
    delay = 300,
    refreshCount,
    wait = false
  } = _ref;
  const {
    data: entriesResults,
    status,
    error,
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])({
    data: initialState
  });
  const debouncedFetchEntries = (0,commons_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_3__["default"])(callback => runAsync(callback()), delay);
  const initialFetch = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(true);
  const previousRefreshCount = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(0);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (wait) return;
    /* 
      To trigger refresh, refreshCount is increased after refresh,
      create or delete.
      Entries will be fetched using a delay because of solr reindexing. Since
      the delay is for a single fetch and with a specific delay, debounce is not
      used.     
    */
    if (refreshCount !== previousRefreshCount.current) {
      previousRefreshCount.current = refreshCount;
      runAsync((async () => {
        await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_5__["default"])(SOLR_DELAY);
        return fetchEntries();
      })());
      return;
    }

    /*
      Initial fetch should not have a delay or use debounce, since it's a single
      fetch and no typing is being made at this point.
     */
    if (initialFetch.current) {
      runAsync(fetchEntries());
      initialFetch.current = false;
      return;
    }
    /*
      Debounce queries to prevent multiple queries while typing during search. 
     */
    debouncedFetchEntries(fetchEntries);
  }, [fetchEntries, debouncedFetchEntries, refreshCount, runAsync, wait]);
  return _objectSpread(_objectSpread({}, entriesResults), {}, {
    isLoading,
    status,
    error
  });
};

/***/ },

/***/ "./modules/commons/components/EntryListView/hooks/useSolrQuery.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/hooks/useSolrQuery.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useSolrQuery: () => (/* binding */ useSolrQuery)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_ListView_utils_listQueryUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/ListView/utils/listQueryUtils */ "./modules/commons/components/ListView/utils/listQueryUtils.js");
/* harmony import */ var _useFetchEntries__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./useFetchEntries */ "./modules/commons/components/EntryListView/hooks/useFetchEntries.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }














/**
 * useSolrQuery is meant to be used together with a list view. Changes in ui
 * state, read from the list model provider, triggers creating and running new
 * solr queries. Note that the ui state in the list model is independent of the
 * result from the solr query in this hook. The hook first creates the query
 * function and then runs it.
 *
 * @param {{createQuery: Function, applyQueryParams: Function, runQuery:
 * Function, limit: number, minimumSearchLength: number, wait: boolean}} queryOption
 * @returns {object}
 */
const useSolrQuery = _ref => {
  let {
    createQuery,
    applyQueryParams = commons_util_solr__WEBPACK_IMPORTED_MODULE_9__.applyQueryParams,
    applyFilters,
    runQuery = commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_8__.simpleFetchEntries,
    minimumSearchLength = 3,
    wait,
    callback
  } = _ref;
  // get the ui list state for the query
  const [{
    page,
    search,
    sort,
    refreshCount,
    limit
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useListModel)();
  /**
   * The search string that will be used in the solr query. If search is less
   * than minimumSearchLength, an empty search string should be applied.
   */
  const searchQueryString = search.trim().length < minimumSearchLength ? '' : search;
  const searchStringInvalid = !(0,commons_components_ListView_utils_listQueryUtils__WEBPACK_IMPORTED_MODULE_11__.isSearchValid)(searchQueryString);

  /**
   * Creating the fetchEntries query. The function is recreated every time any
   * query param has changed, which will also trigger it to be run by the
   * useFetchEntries hook.
   */
  const fetchEntries = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(() => {
    const queryParams = {
      page,
      search: searchQueryString,
      sort,
      limit
    };
    const query = createQuery();
    applyQueryParams(query, queryParams);
    if (applyFilters) applyFilters(query);
    return runQuery(query, page).then(callback).then(result => {
      return _objectSpread(_objectSpread({}, result), {}, {
        search: searchQueryString
      });
    });
  }, [page, searchQueryString, sort, limit, createQuery, applyQueryParams, applyFilters, runQuery, callback]);

  // Running the fetchEntries query
  const queryResult = (0,_useFetchEntries__WEBPACK_IMPORTED_MODULE_12__.useFetchEntries)({
    fetchEntries,
    refreshCount,
    wait: wait || searchStringInvalid
  });
  return queryResult;
};

/***/ },

/***/ "./modules/commons/components/EntryListView/index.js"
/*!***********************************************************!*\
  !*** ./modules/commons/components/EntryListView/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ACTIONS_GROUP_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.ACTIONS_GROUP_COLUMN),
/* harmony export */   ACTION_MENU_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.ACTION_MENU_COLUMN),
/* harmony export */   EDIT_ENTRY_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.EDIT_ENTRY_COLUMN),
/* harmony export */   EntryListView: () => (/* reexport safe */ _EntryListView__WEBPACK_IMPORTED_MODULE_0__.EntryListView),
/* harmony export */   INFO_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.INFO_COLUMN),
/* harmony export */   ListDraftStatusIcon: () => (/* reexport safe */ _listItems_ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_9__.ListDraftStatusIcon),
/* harmony export */   ListPublicStatusIcon: () => (/* reexport safe */ _listItems_ListPublicStatusIcon__WEBPACK_IMPORTED_MODULE_8__.ListPublicStatusIcon),
/* harmony export */   ListStatusIcon: () => (/* reexport safe */ _listItems_ListStatusIcon__WEBPACK_IMPORTED_MODULE_10__.ListStatusIcon),
/* harmony export */   MODIFIED_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.MODIFIED_COLUMN),
/* harmony export */   MODIFIED_SORT: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.MODIFIED_SORT),
/* harmony export */   MultiCreateButton: () => (/* reexport safe */ _buttons__WEBPACK_IMPORTED_MODULE_5__.MultiCreateButton),
/* harmony export */   OVERVIEW_ACCESS_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.OVERVIEW_ACCESS_COLUMN),
/* harmony export */   RefreshButton: () => (/* reexport safe */ _buttons__WEBPACK_IMPORTED_MODULE_5__.RefreshButton),
/* harmony export */   SOLR_DELAY: () => (/* reexport safe */ _hooks_useFetchEntries__WEBPACK_IMPORTED_MODULE_2__.SOLR_DELAY),
/* harmony export */   SOURCE_LINK_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.SOURCE_LINK_COLUMN),
/* harmony export */   STATUS_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.STATUS_COLUMN),
/* harmony export */   TITLE_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.TITLE_COLUMN),
/* harmony export */   TITLE_SORT: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.TITLE_SORT),
/* harmony export */   TITLE_WITH_CONTEXT_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.TITLE_WITH_CONTEXT_COLUMN),
/* harmony export */   TOGGLE_CONTEXT_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.TOGGLE_CONTEXT_COLUMN),
/* harmony export */   TOGGLE_ENTRY_COLUMN: () => (/* reexport safe */ _utils_columns__WEBPACK_IMPORTED_MODULE_3__.TOGGLE_ENTRY_COLUMN),
/* harmony export */   TableViewButton: () => (/* reexport safe */ _buttons__WEBPACK_IMPORTED_MODULE_5__.TableViewButton),
/* harmony export */   ToggleFiltersButton: () => (/* reexport safe */ _buttons__WEBPACK_IMPORTED_MODULE_5__.ToggleFiltersButton),
/* harmony export */   "default": () => (/* reexport safe */ _EntryListView__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   getContextEntriesCallback: () => (/* reexport safe */ _utils_queryCallbacks__WEBPACK_IMPORTED_MODULE_4__.getContextEntriesCallback),
/* harmony export */   getItemsCallback: () => (/* reexport safe */ _utils_queryCallbacks__WEBPACK_IMPORTED_MODULE_4__.getItemsCallback),
/* harmony export */   useFetchEntries: () => (/* reexport safe */ _hooks_useFetchEntries__WEBPACK_IMPORTED_MODULE_2__.useFetchEntries),
/* harmony export */   useSolrQuery: () => (/* reexport safe */ _hooks_useSolrQuery__WEBPACK_IMPORTED_MODULE_1__.useSolrQuery)
/* harmony export */ });
/* harmony import */ var _EntryListView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntryListView */ "./modules/commons/components/EntryListView/EntryListView.js");
/* harmony import */ var _hooks_useSolrQuery__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hooks/useSolrQuery */ "./modules/commons/components/EntryListView/hooks/useSolrQuery.js");
/* harmony import */ var _hooks_useFetchEntries__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hooks/useFetchEntries */ "./modules/commons/components/EntryListView/hooks/useFetchEntries.js");
/* harmony import */ var _utils_columns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/columns */ "./modules/commons/components/EntryListView/utils/columns.js");
/* harmony import */ var _utils_queryCallbacks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/queryCallbacks */ "./modules/commons/components/EntryListView/utils/queryCallbacks.js");
/* harmony import */ var _buttons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./buttons */ "./modules/commons/components/EntryListView/buttons/index.js");
/* harmony import */ var _listItems_ListPublishEntryToggle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./listItems/ListPublishEntryToggle */ "./modules/commons/components/EntryListView/listItems/ListPublishEntryToggle/index.js");
/* harmony import */ var _listItems_ListPublishContextToggle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./listItems/ListPublishContextToggle */ "./modules/commons/components/EntryListView/listItems/ListPublishContextToggle/index.js");
/* harmony import */ var _listItems_ListPublicStatusIcon__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./listItems/ListPublicStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListPublicStatusIcon/index.js");
/* harmony import */ var _listItems_ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./listItems/ListDraftStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/index.js");
/* harmony import */ var _listItems_ListStatusIcon__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./listItems/ListStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListStatusIcon/index.js");













/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/EntryListItemText/EntryListItemText.js"
/*!***************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/EntryListItemText/EntryListItemText.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "translate", "primary", "tags", "tagVisibilityParams"],
  _excluded2 = ["id", "isVisible"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const EntryListItemText = _ref => {
  let {
      entry,
      translate,
      primary: primaryProp,
      tags = [],
      tagVisibilityParams = {}
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const primary = primaryProp || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_3__.getFullLengthLabel)(entry) || translate('unnamedEntity', entry.getId());
  const tagsArray = Array.isArray(tags) ? tags : [tags];
  const tagElements = tagsArray.map(_ref2 => {
    let {
        id,
        isVisible
      } = _ref2,
      tagProps = _objectWithoutProperties(_ref2, _excluded2);
    return isVisible(entry, tagVisibilityParams) ? /*#__PURE__*/React.createElement(commons_components_tags__WEBPACK_IMPORTED_MODULE_4__.Tag, _extends({
      id: id,
      key: id
    }, tagProps)) : null;
  });
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemText, _extends({
    primary: primary,
    tags: tagElements
  }, props));
};
EntryListItemText.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  primary: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  tags: commons_components_tags__WEBPACK_IMPORTED_MODULE_4__.tagsPropType,
  tagVisibilityParams: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntryListItemText);

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/EntryListItemText/index.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/EntryListItemText/index.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntryListItemText__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntryListItemText__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntryListItemText */ "./modules/commons/components/EntryListView/listItems/EntryListItemText/EntryListItemText.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.js"
/*!*******************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.js ***!
  \*******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListDraftStatusIcon: () => (/* binding */ ListDraftStatusIcon),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ReportGmailerrorredOutlined.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _ListDraftStatusIcon_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ListDraftStatusIcon.scss */ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const ListDraftStatusIcon = _ref => {
  let {
    entry,
    xs = 1,
    tooltipNlsKey = 'draftDisabledTitle' // default for public columns (toggle/indicator)
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  const icon = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.isDraftEntry)(entry) ? /*#__PURE__*/React.createElement("div", {
    className: "escoListDraftStatusIcon__container"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    color: "accent"
  })) : null;
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemIcon, {
    xs: xs,
    justifyContent: "flex-start",
    tooltip: icon ? translate(tooltipNlsKey) : null,
    icon: icon
  });
};
ListDraftStatusIcon.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  tooltipNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListDraftStatusIcon);

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/index.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/index.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListDraftStatusIcon: () => (/* reexport safe */ _ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_0__.ListDraftStatusIcon),
/* harmony export */   "default": () => (/* reexport safe */ _ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListDraftStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.js");



/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListHeaderItem/ListHeaderItem.js"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListHeaderItem/ListHeaderItem.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListHeaderItem: () => (/* binding */ ListHeaderItem)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["sortBy", "translate", "headerNlsKey"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const ListHeaderItem = _ref => {
  let {
      sortBy,
      translate,
      headerNlsKey
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const ListHeaderItemComponent = sortBy ? commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListHeaderItemSort : commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListHeaderItemText;
  return /*#__PURE__*/React.createElement(ListHeaderItemComponent, _extends({
    text: headerNlsKey ? translate(headerNlsKey) : '',
    sortBy: sortBy
  }, props));
};
ListHeaderItem.propTypes = {
  sortBy: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)]),
  headerNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListHeaderItem/index.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListHeaderItem/index.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListHeaderItem: () => (/* reexport safe */ _ListHeaderItem__WEBPACK_IMPORTED_MODULE_0__.ListHeaderItem)
/* harmony export */ });
/* harmony import */ var _ListHeaderItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListHeaderItem */ "./modules/commons/components/EntryListView/listItems/ListHeaderItem/ListHeaderItem.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListItemActionsMenu/ListItemActionsMenu.js"
/*!*******************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListItemActionsMenu/ListItemActionsMenu.js ***!
  \*******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemActionsMenu: () => (/* binding */ ListItemActionsMenu)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_actions_hooks_useVisibleActions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/actions/hooks/useVisibleActions */ "./modules/commons/actions/hooks/useVisibleActions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["actions", "id", "excludeActions"],
  _excluded2 = ["icon", "getProps", "isVisible"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const ListItemActionsMenu = _ref => {
  let {
      actions: initialActions,
      id,
      excludeActions = []
    } = _ref,
    actionsParams = _objectWithoutProperties(_ref, _excluded);
  const {
    nlsBundles
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__.useListView)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  const filteredActions = initialActions.filter(_ref2 => {
    let {
      id: actionId
    } = _ref2;
    return !excludeActions.includes(actionId);
  });
  const mergedActions = filteredActions.map(_ref3 => {
    let {
        icon,
        getProps,
        isVisible
      } = _ref3,
      action = _objectWithoutProperties(_ref3, _excluded2);
    return {
      action: _objectSpread(_objectSpread(_objectSpread({
        nlsBundles
      }, action), actionsParams), getProps ? getProps(actionsParams) : {}),
      isVisible,
      icon: icon || (0,commons_actions__WEBPACK_IMPORTED_MODULE_5__.getIconFromActionId)(action.id),
      label: translate(action.labelNlsKey)
    };
  });
  const {
    actions,
    isLoading
  } = (0,commons_actions_hooks_useVisibleActions__WEBPACK_IMPORTED_MODULE_6__["default"])(mergedActions);
  if (!actions.length) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__.ListItemOpenMenuButton, null), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__.ActionsMenu, {
    items: actions,
    isLoading: isLoading
  }));
};
ListItemActionsMenu.propTypes = {
  actions: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})),
  id: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  excludeActions: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_2___default().string))
};

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListItemActionsMenu/index.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListItemActionsMenu/index.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemActionsMenu: () => (/* reexport safe */ _ListItemActionsMenu__WEBPACK_IMPORTED_MODULE_0__.ListItemActionsMenu)
/* harmony export */ });
/* harmony import */ var _ListItemActionsMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemActionsMenu */ "./modules/commons/components/EntryListView/listItems/ListItemActionsMenu/ListItemActionsMenu.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListPublicStatusIcon/ListPublicStatusIcon.js"
/*!*********************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListPublicStatusIcon/ListPublicStatusIcon.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListPublicStatusIcon: () => (/* binding */ ListPublicStatusIcon),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_Icons_PublicIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/Icons/PublicIcon */ "./modules/commons/components/common/Icons/PublicIcon.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ListDraftStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const ListPublicStatusIcon = _ref => {
  let {
    entry,
    xs = 1,
    internalTooltip,
    publicTooltip,
    privateTooltip
  } = _ref;
  if ((0,commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.isDraftEntry)(entry)) return /*#__PURE__*/React.createElement(_ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_5__.ListDraftStatusIcon, {
    entry: entry,
    xs: xs
  });
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__.ListItemAction, {
    xs: xs
  }, /*#__PURE__*/React.createElement(commons_components_common_Icons_PublicIcon__WEBPACK_IMPORTED_MODULE_2__["default"], {
    entry: entry,
    internalTooltip: internalTooltip,
    publicTooltip: publicTooltip,
    privateTooltip: privateTooltip
  }));
};
ListPublicStatusIcon.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry),
  internalTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  publicTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  privateTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListPublicStatusIcon);

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListPublicStatusIcon/index.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListPublicStatusIcon/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListPublicStatusIcon: () => (/* reexport safe */ _ListPublicStatusIcon__WEBPACK_IMPORTED_MODULE_0__.ListPublicStatusIcon),
/* harmony export */   "default": () => (/* reexport safe */ _ListPublicStatusIcon__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListPublicStatusIcon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListPublicStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListPublicStatusIcon/ListPublicStatusIcon.js");



/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListPublishContextToggle/ListPublishContextToggle.js"
/*!*****************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListPublishContextToggle/ListPublishContextToggle.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Switch */ "./modules/commons/components/common/Switch/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_context_useContextStatus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/context/useContextStatus */ "./modules/commons/hooks/context/useContextStatus.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useRestrictionDialog */ "./modules/commons/hooks/useRestrictionDialog.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






















// Component for publishing / unpublishing a context, to be used as part of a List.
const ListPublishContextToggle = _ref => {
  let {
    entry,
    publicTooltip = '',
    privateTooltip = '',
    noAccess,
    confirmUnpublish = async () => true,
    restrictionPath = '',
    xs,
    highlightId
  } = _ref;
  const [isPublic, togglePublic, canAdminister] = (0,commons_hooks_context_useContextStatus__WEBPACK_IMPORTED_MODULE_8__["default"])(entry);
  const {
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_10___default())]);
  const [triedPublishing, setTriedPublishing] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const restrictionCallback = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => setTriedPublishing(false), []);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_14__.useUserState)();
  const hasPermission = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_15__.hasUserPermission)(userEntry, [commons_util_user__WEBPACK_IMPORTED_MODULE_15__.PREMIUM, commons_util_user__WEBPACK_IMPORTED_MODULE_15__.ADMIN_RIGHTS]);
  const isExemptFromRestrictions = hasPermission || (0,commons_util_context__WEBPACK_IMPORTED_MODULE_16__.isContextPremium)(entry);
  const isRestricted = !isExemptFromRestrictions && Boolean(restrictionPath);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__.useSnackbar)();
  const toggleRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
  const {
    triggerAnimation
  } = (0,commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_20__.useAnimation)();
  (0,commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_13__["default"])({
    open: isRestricted && triedPublishing,
    contentPath: restrictionPath,
    callback: restrictionCallback
  });
  const handleChange = async () => {
    if (isRestricted) {
      setTriedPublishing(true);
      return;
    }
    if (!canAdminister) {
      await getAcknowledgeDialog({
        content: noAccess
      });
      return;
    }
    if (!isPublic) {
      await togglePublic().then(() => {
        triggerAnimation(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_20__.BALLOON, {
          ref: toggleRef,
          uniqueId: entry.getId()
        });
        addSnackbar({
          message: translate('publishSnackbarMessage')
        });
      }).catch(error => {
        console.error(error);
        addSnackbar({
          message: translate('publishFail'),
          type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__.ERROR,
          autoHideDuration: 1000
        });
      });
      return;
    }
    const proceed = await confirmUnpublish(entry);
    if (!proceed) return;
    await togglePublic().then(() => {
      addSnackbar({
        message: translate('unpublishSnackbarMessage')
      });
    }).catch(error => {
      console.error(error);
      addSnackbar({
        message: translate('unpublishFail'),
        type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__.ERROR,
        autoHideDuration: 1000
      });
    });
  };
  const isDraft = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_19__.isDraftEntry)(entry);
  const privateTooltipWithDraft = isDraft ? translate('draftDisabledTitle') : privateTooltip;
  const tooltip = isPublic ? publicTooltip : privateTooltipWithDraft;
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.ListItemAction, {
    xs: xs
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
    title: tooltip
  }, /*#__PURE__*/React.createElement("div", {
    "data-highlight-id": highlightId
  }, /*#__PURE__*/React.createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_6__["default"], {
    ref: toggleRef,
    checked: isPublic,
    onChange: handleChange,
    name: "checked",
    inputProps: {
      'aria-label': translate('publishToggleAriaLabel')
    },
    disabled: isDraft
  }))));
};
ListPublishContextToggle.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  publicTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  privateTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  noAccess: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  confirmUnpublish: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  restrictionPath: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  xs: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)]),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListPublishContextToggle);

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListPublishContextToggle/index.js"
/*!**********************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListPublishContextToggle/index.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListPublishContextToggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListPublishContextToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListPublishContextToggle */ "./modules/commons/components/EntryListView/listItems/ListPublishContextToggle/ListPublishContextToggle.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListPublishEntryToggle/ListPublishEntryToggle.js"
/*!*************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListPublishEntryToggle/ListPublishEntryToggle.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Switch */ "./modules/commons/components/common/Switch/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../ListDraftStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/index.js");
const _excluded = ["xs"];


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }















const ListPublishEntryToggle = _ref => {
  let {
      xs
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItemAction, {
    xs: xs
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(PublishEntryToggle, rest));
};
ListPublishEntryToggle.propTypes = {
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListPublishEntryToggle);
const PublishEntryToggle = _ref2 => {
  let {
    entry,
    publicTitle,
    privateTitle,
    publishDisabledTitle,
    draftDisabledTitle,
    toggleAriaLabel,
    highlightId
  } = _ref2;
  const [isPublic, setIsPublic] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(entry.isPublic());
  const [contextIsPublic] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_8__["default"])(entityEntry => entityEntry.getContext().getEntry().then(contextEntry => contextEntry.isPublic()), entry, false);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_10__.useSnackbar)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default()), (commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  const toggleRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
  const {
    triggerAnimation
  } = (0,commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_14__.useAnimation)();
  const handleSwitchChange = () => {
    const entryInfo = entry.getEntryInfo();
    const acl = entryInfo.getACL(true);
    (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.getGroupWithHomeContext)(entry.getContext()).then(groupEntry => {
      if (isPublic) {
        acl.admin = acl.admin || [];
        acl.admin.push(groupEntry.getId());
        entryInfo.setACL(acl);
      } else {
        entryInfo.setACL({});
      }
      entryInfo.commit().then(() => {
        const newIsPublic = !isPublic;
        setIsPublic(newIsPublic);
        if (newIsPublic) {
          triggerAnimation(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_14__.BALLOON, {
            ref: toggleRef,
            uniqueId: entry.getId()
          });
        }
      }).then(() => addSnackbar({
        message: translate(isPublic ? 'unpublishSnackbarMessage' : 'publishSnackbarMessage')
      })).catch(error => {
        console.error(error);
        addSnackbar({
          message: translate(isPublic ? 'unpublishFail' : 'publishFail'),
          type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_10__.ERROR,
          autoHideDuration: 500
        });
      });
    });
  };
  const publishStateTitle = isPublic ? publicTitle : privateTitle;
  if ((0,commons_util_entry__WEBPACK_IMPORTED_MODULE_15__.isDraftEntry)(entry)) {
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_16__.ListDraftStatusIcon, {
      entry: entry
    });
  }
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
    title: (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_15__.isDraftEntry)(entry) ? draftDisabledTitle : contextIsPublic && publishStateTitle || publishDisabledTitle || privateTitle
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
    "data-highlight-id": highlightId
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_6__["default"], {
    ref: toggleRef,
    disabled: !contextIsPublic || (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_15__.isDraftEntry)(entry) || !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_15__.canWriteMetadata)(entry),
    checked: contextIsPublic && isPublic,
    onChange: handleSwitchChange,
    name: "checked",
    inputProps: {
      'aria-label': toggleAriaLabel
    }
  })));
};
PublishEntryToggle.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  toolTipNLS: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  publicTitle: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  privateTitle: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  publishDisabledTitle: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  draftDisabledTitle: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  toggleAriaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListPublishEntryToggle/index.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListPublishEntryToggle/index.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ListPublishEntryToggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListPublishEntryToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListPublishEntryToggle */ "./modules/commons/components/EntryListView/listItems/ListPublishEntryToggle/ListPublishEntryToggle.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListStatusIcon/ListStatusIcon.js"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListStatusIcon/ListStatusIcon.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListStatusIcon: () => (/* binding */ ListStatusIcon),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_Icons_PublicIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/Icons/PublicIcon */ "./modules/commons/components/common/Icons/PublicIcon.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ListDraftStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");








const ListStatusIcon = _ref => {
  let {
    entry,
    xs = 1,
    publicTooltip: providedPublicTooltip,
    privateTooltip: providedPrivateTooltip,
    internalTooltip: providedInternalTooltip,
    tooltipNlsKey = 'draftDisabledTitle',
    publishable = true,
    draftsEnabled = false,
    highlightId
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default())]);
  const publicTooltip = providedPublicTooltip || translate('publicTitle');
  const privateTooltip = providedPrivateTooltip || translate('privateTitle');
  const internalTooltip = providedInternalTooltip || translate('internallyPublishedTitle');
  if (draftsEnabled && (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.isDraftEntry)(entry)) return /*#__PURE__*/React.createElement(_ListDraftStatusIcon__WEBPACK_IMPORTED_MODULE_7__.ListDraftStatusIcon, {
    entry: entry,
    xs: xs,
    tooltipNlsKey: tooltipNlsKey
  });
  if (!publishable) return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__.ListItemAction, {
    xs: xs
  });
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_3__.ListItemAction, {
    xs: xs
  }, /*#__PURE__*/React.createElement(commons_components_common_Icons_PublicIcon__WEBPACK_IMPORTED_MODULE_2__["default"], {
    entry: entry,
    publicTooltip: publicTooltip,
    privateTooltip: privateTooltip,
    internalTooltip: internalTooltip,
    highlightId: highlightId
  }));
};
ListStatusIcon.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry),
  publicTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  privateTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  internalTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  tooltipNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  publishable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  draftsEnabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListStatusIcon);

/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListStatusIcon/index.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListStatusIcon/index.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListStatusIcon: () => (/* reexport safe */ _ListStatusIcon__WEBPACK_IMPORTED_MODULE_0__.ListStatusIcon),
/* harmony export */   "default": () => (/* reexport safe */ _ListStatusIcon__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListStatusIcon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListStatusIcon/ListStatusIcon.js");



/***/ },

/***/ "./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var _EntryListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../EntryListView */ "./modules/commons/components/EntryListView/EntryListView.js");
/* harmony import */ var _hooks_useSolrQuery__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../hooks/useSolrQuery */ "./modules/commons/components/EntryListView/hooks/useSolrQuery.js");
/* harmony import */ var _utils_columns__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../utils/columns */ "./modules/commons/components/EntryListView/utils/columns.js");
/* harmony import */ var _ReferenceEntriesList_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ReferenceEntriesList.scss */ "./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default())];
const ReferenceEntriesList = _ref => {
  let {
    entry: referencedEntry,
    title = '',
    titleClasses = ''
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)(nlsBundles);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newSolrQuery().objectUri(referencedEntry.getResourceURI()), [referencedEntry]);
  const queryResults = (0,_hooks_useSolrQuery__WEBPACK_IMPORTED_MODULE_17__.useSolrQuery)({
    createQuery
  });
  return queryResults.entries.length ? /*#__PURE__*/React.createElement("div", {
    className: "escoEntryReferences"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: titleClasses || 'escoReferenceEntriesList__header'
  }, title || translate('referencesList')), /*#__PURE__*/React.createElement(_EntryListView__WEBPACK_IMPORTED_MODULE_16__.EntryListView
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, queryResults, {
    nlsBundles: nlsBundles,
    includeDefaultListActions: false,
    columns: [_objectSpread(_objectSpread({}, _utils_columns__WEBPACK_IMPORTED_MODULE_18__.TITLE_COLUMN), {}, {
      headerNlsKey: 'referencesListHeader',
      xs: 8,
      getProps: _ref2 => {
        let {
          entry
        } = _ref2;
        return {
          primary: (0,commons_util_util__WEBPACK_IMPORTED_MODULE_11__.truncate)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getFullLengthLabel)(entry), 30) || translate('entryWithId', `${entry.getId()}`)
        };
      }
    }), _objectSpread(_objectSpread({}, _utils_columns__WEBPACK_IMPORTED_MODULE_18__.INFO_COLUMN), {}, {
      xs: 2,
      justifyContent: 'flex-start',
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.ListItemIcon,
      icon: /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_8__["default"], {
        className: "escoReferenceEntriesList__infoIcon"
      })
    }), _objectSpread(_objectSpread({}, _utils_columns__WEBPACK_IMPORTED_MODULE_18__.MODIFIED_COLUMN), {}, {
      headerNlsKey: 'referencesListHeaderModified'
    })],
    getListItemProps: _ref3 => {
      let {
        entry
      } = _ref3;
      return {
        action: {
          id: 'info',
          Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_15__["default"],
          entry,
          showReferences: true
        }
      };
    }
  }))) : null;
};
ReferenceEntriesList.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  titleClasses: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.withListModelProvider)(ReferenceEntriesList));

/***/ },

/***/ "./modules/commons/components/EntryListView/lists/ReferenceEntriesList/index.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/ReferenceEntriesList/index.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ReferenceEntriesList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ReferenceEntriesList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ReferenceEntriesList */ "./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/lists/UsersList/UsersList.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/UsersList/UsersList.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropDown.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropUp.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Security.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _mui_icons_material_PersonAddDisabled__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @mui/icons-material/PersonAddDisabled */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAddDisabled.js");
/* harmony import */ var _mui_icons_material_Delete__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @mui/icons-material/Delete */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Delete.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var _EntryListView__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../EntryListView */ "./modules/commons/components/EntryListView/EntryListView.js");
/* harmony import */ var _utils_columns__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../utils/columns */ "./modules/commons/components/EntryListView/utils/columns.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./actions */ "./modules/commons/components/EntryListView/lists/UsersList/actions.js");
/* harmony import */ var _dialogs_RemoveUserDialog__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./dialogs/RemoveUserDialog */ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/RemoveUserDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["groupEntry", "messages"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
























const getUserEntries = async groupEntry => {
  groupEntry.setRefreshNeeded();
  await groupEntry.refresh();
  return groupEntry.getResource(true).getAllEntries();
};

/**
 *
 * @param {Entry} userEntry
 * @param {Entry} groupEntry
 * @returns {Promise}
 */
const makeManager = (userEntry, groupEntry) => {
  groupEntry.setRefreshNeeded();
  return groupEntry.refresh().then(() => {
    const grpEntryInfo = groupEntry.getEntryInfo();
    const acl = grpEntryInfo.getACL();
    acl.admin.push(userEntry.getResourceURI());
    grpEntryInfo.setACL(acl);
    return grpEntryInfo.commit().then(() => {
      const hcId = groupEntry.getResource(true).getHomeContext();
      if (typeof hcId !== 'undefined') {
        const homecontext = commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.getContextById(hcId);
        homecontext.getEntry().then(hcontextEntry => {
          const hEntryInfo = hcontextEntry.getEntryInfo();
          const hACL = hEntryInfo.getACL();
          hACL.admin.push(userEntry.getResourceURI());
          hEntryInfo.setACL(hACL);
          return hEntryInfo.commit();
        });
      }
    });
  });
};

/**
 *
 * @param {Entry} userEntry
 * @param {Entry} groupEntry
 * @returns {Promise}
 */
const makeMember = (userEntry, groupEntry) => {
  groupEntry.setRefreshNeeded();
  return groupEntry.refresh().then(() => {
    const groupEntryInfo = groupEntry.getEntryInfo();
    const acl = groupEntryInfo.getACL();
    acl.admin.splice(acl.admin.indexOf(userEntry.getResourceURI()), 1);
    groupEntryInfo.setACL(acl);
    return groupEntryInfo.commit().then(() => {
      const hcId = groupEntry.getResource(true).getHomeContext();
      if (typeof hcId !== 'undefined') {
        const homecontext = commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.getContextById(hcId);
        homecontext.getEntry().then(hcontextEntry => {
          const hEntryInfo = hcontextEntry.getEntryInfo();
          const hACL = hEntryInfo.getACL();
          hACL.admin.splice(hACL.admin.indexOf(userEntry.getResourceURI()), 1);
          hEntryInfo.setACL(hACL);
          return hEntryInfo.commit();
        });
      }
    });
  });
};
const ManageMemberOrManager = _ref => {
  let {
    groupEntry,
    userEntry: liUserEntry,
    updateList,
    xs = 1
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_29__.nlsBundles);
  const [anchorEl, setAnchorEl] = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(null);
  const {
    userEntry: currentUserEntry,
    userInfo: currentUserInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_8__.useUserState)();
  const {
    hasAdminRights
  } = currentUserInfo;
  const isCurrentUser = liUserEntry.getResourceURI() === currentUserEntry.getResourceURI();
  const currentUserIsManager = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.isManager)(groupEntry, currentUserEntry);
  const isManager = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.isManager)(groupEntry, liUserEntry);
  const isDisabled = isCurrentUser && !hasAdminRights || !(currentUserIsManager || hasAdminRights);
  const iconButtonAriaLabel = isManager ? translate('managerTitle') : translate('memberTitle');
  const handleClick = event => setAnchorEl(event.currentTarget);
  const handleClose = e => {
    const selectedOption = e.currentTarget.dataset.value;
    let makeChangePromise;
    if (selectedOption) {
      // make a change only if a diff option from current selected
      if (isManager && selectedOption !== options[0].value) {
        makeChangePromise = makeMember(liUserEntry, groupEntry);
      } else if (!isManager && selectedOption !== options[1].value) {
        makeChangePromise = makeManager(liUserEntry, groupEntry);
      }
    }
    if (makeChangePromise) {
      makeChangePromise.then(updateList);
    }
    setAnchorEl(null);
  };
  let managerTooltip = translate('managerMenuTitle');
  if (isCurrentUser) {
    if (hasAdminRights) {
      managerTooltip = translate('specialManagerTitle');
    } else {
      managerTooltip = translate('managerDisabledTitle');
    }
  }
  const options = [{
    value: 'manager',
    label: translate('manager'),
    tooltip: managerTooltip
  }, {
    value: 'member',
    label: translate('member'),
    tooltip: translate('memberTitle')
  }];
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemAction, {
    xs: xs
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    "aria-label": iconButtonAriaLabel,
    "aria-controls": "select-acl-user-menu",
    "aria-haspopup": "true",
    onClick: handleClick,
    disabled: isDisabled,
    endIcon: anchorEl ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_19__["default"], {
      color: "secondary"
    }) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"], {
      color: "secondary"
    }),
    variant: "text"
  }, isManager ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_21__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_20__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    id: "select-acl-user-menu",
    anchorEl: anchorEl,
    keepMounted: true,
    open: Boolean(anchorEl),
    onClose: handleClose
  }, options.map(_ref2 => {
    let {
      value,
      label,
      tooltip
    } = _ref2;
    return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_22__["default"], {
      title: tooltip,
      placement: "right",
      key: `tooltip-${value}`,
      disableFocusListener: true
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
      key: value,
      "data-value": value,
      selected: isManager && value === 'manager' || !isManager && value === 'member',
      onClick: handleClose
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], null, value === 'manager' ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_21__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_20__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
      primary: label
    })));
  })));
};
ManageMemberOrManager.propTypes = {
  groupEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  updateList: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number)
};
const UsersList = _ref3 => {
  let {
      groupEntry,
      messages = {}
    } = _ref3,
    props = _objectWithoutProperties(_ref3, _excluded);
  const {
    data: userItems,
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_23__["default"])();
  const {
    result: userItemsInPage,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useListQuery)({
    items: userItems
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_29__.nlsBundles);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_8__.useUserState)();
  const isManager = groupEntry ? (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.isManager)(groupEntry, userEntry) : false;
  const canManage = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.hasAdminRights)(userEntry) || isManager;
  const updateList = (0,react__WEBPACK_IMPORTED_MODULE_9__.useCallback)(() => {
    if (!groupEntry) return;
    runAsync(getUserEntries(groupEntry).then(userEntries => userEntries.map(entry => ({
      entry
    }))));
  }, [groupEntry, runAsync]);
  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(() => {
    updateList();
  }, [updateList]);
  return /*#__PURE__*/React.createElement(_EntryListView__WEBPACK_IMPORTED_MODULE_27__.EntryListView, _extends({
    size: size,
    status: groupEntry && status !== 'idle' ? status : 'pending',
    entries: userItemsInPage.map(_ref4 => {
      let {
        entry
      } = _ref4;
      return entry;
    }),
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_29__.nlsBundles,
    includeDefaultListActions: false,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_29__.listActions,
    listActionsProps: {
      groupEntry,
      updateList,
      ignoreEntries: (userItems === null || userItems === void 0 ? void 0 : userItems.map(_ref5 => {
        let {
          entry
        } = _ref5;
        return entry;
      })) || [],
      disabled: !canManage
    },
    columns: [{
      Component: ManageMemberOrManager,
      xs: 1,
      id: 'manage-member',
      getProps: _ref6 => {
        let {
          entry
        } = _ref6;
        return {
          userEntry: entry,
          groupEntry,
          updateList
        };
      }
    }, _objectSpread(_objectSpread({}, _utils_columns__WEBPACK_IMPORTED_MODULE_28__.TITLE_COLUMN), {}, {
      xs: 7,
      headerNlsKey: 'listHeaderUser',
      direction: 'row',
      getProps: _ref7 => {
        let {
          entry
        } = _ref7;
        return {
          primary: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.getUserRenderName)(entry),
          secondary: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_12__.getIsUserDisabled)(entry) ? /*#__PURE__*/React.createElement(_mui_icons_material_PersonAddDisabled__WEBPACK_IMPORTED_MODULE_24__["default"], {
            title: translate('userStatusDisabled')
          }) : null
        };
      }
    }), _utils_columns__WEBPACK_IMPORTED_MODULE_28__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, _utils_columns__WEBPACK_IMPORTED_MODULE_28__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [_objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_26__.LIST_ACTION_INFO), {}, {
        getProps: _ref8 => {
          let {
            entry
          } = _ref8;
          return {
            entry,
            nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_29__.nlsBundles,
            formTemplateId: 'esc:User'
          };
        }
      }), _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_26__.LIST_ACTION_REMOVE), {}, {
        icon: /*#__PURE__*/React.createElement(_mui_icons_material_Delete__WEBPACK_IMPORTED_MODULE_25__["default"], null),
        getProps: _ref9 => {
          let {
            entry
          } = _ref9;
          return _objectSpread({
            Dialog: _dialogs_RemoveUserDialog__WEBPACK_IMPORTED_MODULE_30__["default"],
            isVisible: _ref0 => {
              let {
                groupEntry
              } = _ref0;
              return groupEntry.canWriteResource();
            },
            entry,
            userEntry,
            groupEntry,
            nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_29__.nlsBundles,
            updateList
          }, messages);
        }
      })]
    })]
  }, props));
};
UsersList.propTypes = {
  groupEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  messages: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProvider)(UsersList));

/***/ },

/***/ "./modules/commons/components/EntryListView/lists/UsersList/actions.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/UsersList/actions.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoSharingSettings.nls */ "./modules/commons/nls/escoSharingSettings.nls");
/* harmony import */ var commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _dialogs_AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dialogs/AddUserToGroupDialog */ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/AddUserToGroupDialog/index.js");



const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_0___default()), (commons_nls_escoSharingSettings_nls__WEBPACK_IMPORTED_MODULE_1___default())];
const listActions = [{
  id: 'add-user',
  Dialog: _dialogs_AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_2__["default"],
  labelNlsKey: 'addUserToGroupNLS'
}];

/***/ },

/***/ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/AddUserToGroupDialog/AddUserToGroupDialog.js"
/*!***********************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/UsersList/dialogs/AddUserToGroupDialog/AddUserToGroupDialog.js ***!
  \***********************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var _mui_icons_material_PersonAddDisabled__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material/PersonAddDisabled */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAddDisabled.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entries"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }























/**
 *
 * @param {object} query
 * @param {object} queryOptions
 * @returns {object}
 */
const applyUsersListQueryParams = (query, queryOptions) => {
  (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_19__.applyTitleOrUsernameParams)(query, queryOptions);
  (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_19__.excludeGuestAndAdmin)(query);
  return query;
};
const UsersList = _ref => {
  let {
    ignoreEntries = [],
    nlsBundles,
    selectedUsers,
    onSelect
  } = _ref;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_15__.useUserState)();
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => {
    const [query] = (0,commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_16__.getSearchQuery)({
      entryType: _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.ET_LOCAL,
      graphType: _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_USER,
      resourceType: 'InformationResource'
    }, {
      userEntry,
      userInfo
    });
    return query;
  }, [userEntry, userInfo]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.useSolrQuery)({
      createQuery,
      applyQueryParams: applyUsersListQueryParams
    }),
    {
      entries
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const getSelectEntryProps = _ref2 => {
    let {
      entry: listUserEntry
    } = _ref2;
    const ignoreIds = ignoreEntries.map(entry => entry.getId());
    const disabled = ignoreIds.includes(listUserEntry.getId());
    const isSelected = selectedUsers.includes(listUserEntry);
    return {
      disabled,
      checked: disabled || isSelected,
      onChange: _ref3 => {
        let {
          target
        } = _ref3;
        return onSelect({
          checked: target.checked,
          entry: listUserEntry
        });
      }
    };
  };
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.EntryListView, _extends({}, queryResults, {
    entries: entries,
    nlsBundles: nlsBundles,
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.TITLE_COLUMN), {}, {
      xs: 9,
      sortBy: commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.TITLE_SORT,
      direction: 'row',
      getProps: _ref4 => {
        let {
          entry
        } = _ref4;
        return {
          primary: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_18__.getUserRenderName)(entry),
          secondary: (0,commons_util_user__WEBPACK_IMPORTED_MODULE_18__.getIsUserDisabled)(entry) ? /*#__PURE__*/React.createElement(_mui_icons_material_PersonAddDisabled__WEBPACK_IMPORTED_MODULE_17__["default"], {
            title: translate('userStatusDisabled')
          }) : null
        };
      }
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_13__.MODIFIED_COLUMN, {
      id: 'select-entry',
      xs: 1,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.ListItemCheckbox,
      getProps: getSelectEntryProps
    }]
  }));
};
UsersList.propTypes = {
  groupEntry: prop_types__WEBPACK_IMPORTED_MODULE_7___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  ignoreEntries: prop_types__WEBPACK_IMPORTED_MODULE_7___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_7___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry)),
  updateList: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsBundlesPropType,
  selectedUsers: prop_types__WEBPACK_IMPORTED_MODULE_7___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_7___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry)),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func)
};
const AddUserToGroupDialog = _ref5 => {
  let {
    entry,
    closeDialog,
    groupEntry,
    ignoreEntries,
    updateList
  } = _ref5;
  const {
    nlsBundles
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.useListView)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const [addError, setAddError] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)();
  const [selectedUsers, setSelectedUsers] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)([]);
  const [isSaveButtonEnabled, setIsSaveButtonEnabled] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const {
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__["default"])();
  const handleSelect = selection => {
    if (selection.checked) {
      setSelectedUsers(prevUsers => [...prevUsers, selection.entry]);
    } else {
      setSelectedUsers(prevUsers => prevUsers.filter(user => user !== selection.entry));
    }
  };
  const handleAddUserToGroup = users => {
    const addUsersToGroup = async () => {
      const groupList = groupEntry.getResource(true);
      await Promise.all(users.map(user => {
        return groupList.addEntry(user);
      }));
      await Promise.all(users.map(user => {
        user.setRefreshNeeded();
        return user.refresh();
      }));
      updateList();
      closeDialog();
      if (error) {
        setAddError(error);
      }
    };
    runAsync(addUsersToGroup());
  };
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    setIsSaveButtonEnabled(selectedUsers.length > 0);
  }, [selectedUsers, setIsSaveButtonEnabled]);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__["default"], {
    id: "select-user-dialog",
    closeDialog: closeDialog,
    title: translate('selectUser'),
    fixedHeight: true,
    actions: /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_9__["default"], {
      onClick: () => handleAddUserToGroup(selectedUsers),
      disabled: !isSaveButtonEnabled
    }, translate('saveButton'))
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_14__.ListModelProvider, null, /*#__PURE__*/React.createElement(UsersList, {
    entry: entry,
    closeDialog: closeDialog,
    groupEntry: groupEntry,
    updateList: updateList,
    ignoreEntries: ignoreEntries,
    nlsBundles: nlsBundles,
    selectedUsers: selectedUsers,
    onSelect: handleSelect
  }), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_20__.ErrorCatcher, {
    error: addError
  }))));
};
AddUserToGroupDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_7___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func),
  groupEntry: prop_types__WEBPACK_IMPORTED_MODULE_7___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry),
  ignoreEntries: prop_types__WEBPACK_IMPORTED_MODULE_7___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_7___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry)),
  updateList: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddUserToGroupDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/AddUserToGroupDialog/index.js"
/*!********************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/UsersList/dialogs/AddUserToGroupDialog/index.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _AddUserToGroupDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddUserToGroupDialog */ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/AddUserToGroupDialog/AddUserToGroupDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/RemoveUserDialog/RemoveUserDialog.js"
/*!***************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/UsersList/dialogs/RemoveUserDialog/RemoveUserDialog.js ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "groupEntry", "updateList", "nlsBundles"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const removeUserFromGroup = (groupEntry, userEntry) => groupEntry.getResource(true).removeEntry(userEntry).then(() => {
  userEntry.setRefreshNeeded();
  userEntry.refresh();
});
const RemoveUserDialog = _ref => {
  let {
      entry: userEntry,
      groupEntry,
      updateList,
      nlsBundles
    } = _ref,
    restProps = _objectWithoutProperties(_ref, _excluded);
  const {
    closeDialog
  } = restProps;
  const {
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(nlsBundles);
  const isManager = groupEntry.getEntryInfo().getACL().admin.includes(userEntry.getResourceURI());
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (isManager) {
      runAsync(getAcknowledgeDialog({
        content: t('removeManager')
      }).then(() => closeDialog()));
    }
  }, [isManager, closeDialog, t, getAcknowledgeDialog, runAsync]);
  const handleRemove = async () => {
    runAsync(removeUserFromGroup(groupEntry, userEntry).then(() => updateList()));
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, !isManager && /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_8__["default"]
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, restProps, {
    entry: userEntry,
    closeDialog: closeDialog,
    onRemove: handleRemove,
    removeConfirmMessage: t('removeMemberFromGroup')
  })));
};
RemoveUserDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  groupEntry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  ignoreEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry)),
  updateList: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveUserDialog);

/***/ },

/***/ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/RemoveUserDialog/index.js"
/*!****************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/UsersList/dialogs/RemoveUserDialog/index.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveUserDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveUserDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveUserDialog */ "./modules/commons/components/EntryListView/lists/UsersList/dialogs/RemoveUserDialog/RemoveUserDialog.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/lists/UsersList/index.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/UsersList/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UsersList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UsersList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UsersList */ "./modules/commons/components/EntryListView/lists/UsersList/UsersList.js");


/***/ },

/***/ "./modules/commons/components/EntryListView/utils/columns.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/EntryListView/utils/columns.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ACTIONS_GROUP_COLUMN: () => (/* binding */ ACTIONS_GROUP_COLUMN),
/* harmony export */   ACTION_MENU_COLUMN: () => (/* binding */ ACTION_MENU_COLUMN),
/* harmony export */   EDIT_ENTRY_COLUMN: () => (/* binding */ EDIT_ENTRY_COLUMN),
/* harmony export */   INFO_COLUMN: () => (/* binding */ INFO_COLUMN),
/* harmony export */   MODIFIED_COLUMN: () => (/* binding */ MODIFIED_COLUMN),
/* harmony export */   MODIFIED_SORT: () => (/* binding */ MODIFIED_SORT),
/* harmony export */   OVERVIEW_ACCESS_COLUMN: () => (/* binding */ OVERVIEW_ACCESS_COLUMN),
/* harmony export */   SOURCE_LINK_COLUMN: () => (/* binding */ SOURCE_LINK_COLUMN),
/* harmony export */   STATUS_COLUMN: () => (/* binding */ STATUS_COLUMN),
/* harmony export */   TITLE_COLUMN: () => (/* binding */ TITLE_COLUMN),
/* harmony export */   TITLE_SORT: () => (/* binding */ TITLE_SORT),
/* harmony export */   TITLE_WITH_CONTEXT_COLUMN: () => (/* binding */ TITLE_WITH_CONTEXT_COLUMN),
/* harmony export */   TOGGLE_CONTEXT_COLUMN: () => (/* binding */ TOGGLE_CONTEXT_COLUMN),
/* harmony export */   TOGGLE_ENTRY_COLUMN: () => (/* binding */ TOGGLE_ENTRY_COLUMN)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var _listItems_ListItemActionsMenu__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../listItems/ListItemActionsMenu */ "./modules/commons/components/EntryListView/listItems/ListItemActionsMenu/index.js");
/* harmony import */ var _listItems_ListPublishContextToggle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../listItems/ListPublishContextToggle */ "./modules/commons/components/EntryListView/listItems/ListPublishContextToggle/index.js");
/* harmony import */ var _listItems_ListPublishEntryToggle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../listItems/ListPublishEntryToggle */ "./modules/commons/components/EntryListView/listItems/ListPublishEntryToggle/index.js");
/* harmony import */ var _listItems_ListStatusIcon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../listItems/ListStatusIcon */ "./modules/commons/components/EntryListView/listItems/ListStatusIcon/index.js");
/* harmony import */ var _dialogs_ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../dialogs/ListEditEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditEntryDialog/index.js");
/* harmony import */ var _listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../listItems/EntryListItemText */ "./modules/commons/components/EntryListView/listItems/EntryListItemText/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const MODIFIED_SORT = 'modified';
const MODIFIED_COLUMN = {
  id: 'modified',
  xs: 2,
  sortBy: MODIFIED_SORT,
  headerNlsKey: 'listHeaderModifiedDate',
  Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemText,
  getProps: _ref => {
    let {
      entry
    } = _ref;
    return {
      secondary: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_6__.getShortModifiedDate)(entry)
    };
  }
};
const TITLE_SORT = 'title';
const TITLE_COLUMN = {
  id: 'title',
  xs: 6,
  sortBy: false,
  headerNlsKey: 'listHeaderLabel',
  Component: _listItems_EntryListItemText__WEBPACK_IMPORTED_MODULE_14__["default"],
  getProps: props => props
};
const TITLE_WITH_CONTEXT_COLUMN = _objectSpread(_objectSpread({}, TITLE_COLUMN), {}, {
  id: 'title-with-context',
  xs: 7,
  getProps: _ref2 => {
    let {
      entry
    } = _ref2;
    return {
      primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getFullLengthLabel)(entry),
      secondary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getFullLengthLabel)(entry.getContext().getEntry(true))
    };
  }
});
const ACTION_MENU_COLUMN = {
  id: 'action-menu',
  xs: 1,
  Component: _listItems_ListItemActionsMenu__WEBPACK_IMPORTED_MODULE_9__.ListItemActionsMenu,
  getProps: props => props
};
const INFO_COLUMN = {
  id: 'info',
  xs: 1,
  Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemActionIconButton,
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], null)
};
const TOGGLE_CONTEXT_COLUMN = {
  id: 'toggle-publish-context',
  Component: _listItems_ListPublishContextToggle__WEBPACK_IMPORTED_MODULE_10__["default"],
  xs: 1,
  getProps: _ref3 => {
    let {
      entry,
      translate
    } = _ref3;
    return {
      entry,
      publicTooltip: translate('publicTooltip'),
      privateTooltip: translate('privateTooltip'),
      noAccess: translate('sharingNoAccess')
    };
  },
  headerNlsKey: 'listHeaderPublicLabel',
  highlightId: 'listItemPublish'
};
const TOGGLE_ENTRY_COLUMN = {
  id: 'toggle-publish-entry',
  xs: 2,
  Component: _listItems_ListPublishEntryToggle__WEBPACK_IMPORTED_MODULE_11__["default"],
  headerNlsKey: 'listHeaderPublicLabel',
  getProps: _ref4 => {
    let {
      entry,
      translate
    } = _ref4;
    return {
      entry,
      publicTitle: translate('publicTitle'),
      privateTitle: translate('privateTitle'),
      publishDisabledTitle: translate('publishDisabledTitle'),
      toggleAriaLabel: translate('publishToggleAriaLabel')
    };
  },
  highlightId: 'listItemPublish'
};
const STATUS_COLUMN = {
  id: 'status',
  xs: 1,
  headerNlsKey: 'listHeaderStatusLabel',
  Component: _listItems_ListStatusIcon__WEBPACK_IMPORTED_MODULE_12__.ListStatusIcon,
  highlightId: 'listPublishIndicator',
  getProps: _ref5 => {
    let {
      entry,
      translate
    } = _ref5;
    return {
      entry,
      publicTooltip: translate('publicTooltip'),
      privateTooltip: translate('privateTooltip'),
      tooltipNlsKey: 'draftTooltip'
    };
  }
};
const SOURCE_LINK_COLUMN = {
  id: 'source-link',
  xs: 1,
  color: 'primary',
  component: react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link,
  Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemIconButton,
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null),
  target: '_blank',
  sx: {
    padding: 0
  }
};
const EDIT_ENTRY_COLUMN = {
  id: 'edit',
  xs: 1,
  Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemActionIconButton,
  icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"], null),
  getProps: _ref6 => {
    let {
      entry,
      translate
    } = _ref6;
    return {
      action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_EDIT), {}, {
        entry,
        Dialog: _dialogs_ListEditEntryDialog__WEBPACK_IMPORTED_MODULE_13__["default"]
      }),
      title: translate('editEntry')
    };
  }
};
const OVERVIEW_ACCESS_COLUMN = {
  id: 'overview-access',
  xs: 1,
  Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemIcon
};
const ACTIONS_GROUP_COLUMN = {
  id: 'actions-group',
  xs: 2,
  justifyContent: 'flex-end',
  Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ListItemActionsGroup,
  getProps: props => props
};

/***/ },

/***/ "./modules/commons/components/EntryListView/utils/queryCallbacks.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/utils/queryCallbacks.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getContextEntriesCallback: () => (/* binding */ getContextEntriesCallback),
/* harmony export */   getItemsCallback: () => (/* binding */ getItemsCallback)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/esnext.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js");
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
const _excluded = ["entries"],
  _excluded2 = ["entries"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







/**
 *
 * @param {object} fetchResults
 * @returns {object} fetch plus callback results
 */
const getContextEntriesCallback = async fetchResults => {
  const {
      entries
    } = fetchResults,
    results = _objectWithoutProperties(fetchResults, _excluded);
  const callbackResults = await Promise.allSettled(entries.map(entry => entry.getContext().getEntry())).then(settledPromises => settledPromises.map((_ref, index) => {
    let {
      value: contextEntry
    } = _ref;
    return {
      entry: entries[index],
      contextEntry
    };
  }));
  return _objectSpread({
    entries,
    callbackResults
  }, results);
};

/**
 * Simplifies handling the results in case the 'original' callback might depend
 * on configuration.
 *
 * @param {object} fetchResults
 * @param {Entry[]} fetchResults.entries
 * @returns {object} fetch results including objects w/ `entry` as callback results
 */
const getItemsCallback = _ref2 => {
  let {
      entries
    } = _ref2,
    results = _objectWithoutProperties(_ref2, _excluded2);
  return _objectSpread({
    entries,
    callbackResults: entries.map(entry => ({
      entry
    }))
  }, results);
};

/***/ },

/***/ "./modules/commons/components/FieldsLinkedDataBrowserDialog/FieldsLinkedDataBrowserDialog.js"
/*!***************************************************************************************************!*\
  !*** ./modules/commons/components/FieldsLinkedDataBrowserDialog/FieldsLinkedDataBrowserDialog.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   renderFieldsPresenter: () => (/* binding */ renderFieldsPresenter)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "fields", "nlsBundles", "graph", "resourceURI", "entryLabel", "enableLanguageControls"];

function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }






const translateLabel = (_ref, translate) => {
  let {
    labelNlsKey,
    label
  } = _ref;
  const localizedLabel = (0,commons_locale__WEBPACK_IMPORTED_MODULE_5__.localizeLabel)(label);
  if (localizedLabel === null && labelNlsKey) return translate(labelNlsKey);
  return localizedLabel;
};
const renderFieldsPresenter = _ref2 => {
  let {
    entry,
    graph,
    resourceURI,
    fields,
    translate,
    language
  } = _ref2;
  return /*#__PURE__*/React.createElement(React.Fragment, null, fields.map(field => {
    var _entry$getResourceURI;
    const Presenter = (0,commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.getPresenter)(field);
    return Presenter ? /*#__PURE__*/React.createElement(Presenter, _extends({
      key: field.name || field.property,
      graph: graph || (entry === null || entry === void 0 ? void 0 : entry.getAllMetadata()),
      resourceURI: resourceURI || (entry === null || entry === void 0 || (_entry$getResourceURI = entry.getResourceURI) === null || _entry$getResourceURI === void 0 ? void 0 : _entry$getResourceURI.call(entry)),
      entry: entry
    }, field, {
      label: translateLabel(field, translate),
      translate: translate,
      language: language
    })) : null;
  }));
};
const FieldsLinkedDataBrowserDialog = _ref3 => {
  let {
      entry,
      fields,
      nlsBundles,
      graph,
      resourceURI,
      entryLabel,
      enableLanguageControls = false
    } = _ref3,
    rest = _objectWithoutProperties(_ref3, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  const renderPresenter = _ref4 => {
    let {
      entry: currentEntry,
      stackIndex,
      language
    } = _ref4;
    return stackIndex === 0 ? renderFieldsPresenter({
      graph,
      resourceURI,
      entry: currentEntry,
      fields,
      translate,
      language
    }) : null;
  };
  return /*#__PURE__*/React.createElement(commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({}, rest, {
    entry: entry,
    renderPresenter: renderPresenter,
    entryLabel: entryLabel,
    enableLanguageControls: enableLanguageControls
  }));
};
FieldsLinkedDataBrowserDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.entryPropType,
  fields: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})).isRequired,
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType,
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  entryLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  enableLanguageControls: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FieldsLinkedDataBrowserDialog);

/***/ },

/***/ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   renderFieldsPresenter: () => (/* reexport safe */ _FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_0__.renderFieldsPresenter)
/* harmony export */ });
/* harmony import */ var _FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/FieldsLinkedDataBrowserDialog.js");



/***/ },

/***/ "./modules/commons/components/Icon/Icon.js"
/*!*************************************************!*\
  !*** ./modules/commons/components/Icon/Icon.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Icon/Icon.js");
/* harmony import */ var _Icon_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Icon.scss */ "./modules/commons/components/Icon/Icon.scss");

function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




const Icon = _ref => {
  let props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    classes: {
      root: 'escoIcon'
    }
  }, props));
};
Icon.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().element).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);

/***/ },

/***/ "./modules/commons/components/Icon/index.js"
/*!**************************************************!*\
  !*** ./modules/commons/components/Icon/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Icon__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Icon */ "./modules/commons/components/Icon/Icon.js");


/***/ },

/***/ "./modules/commons/components/ImagePresenter/ImagePresenter.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/ImagePresenter/ImagePresenter.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_Alert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Alert */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoContentview.nls */ "./modules/commons/nls/escoContentview.nls");
/* harmony import */ var commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _ImagePresenter_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ImagePresenter.scss */ "./modules/commons/components/ImagePresenter/ImagePresenter.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const NLS_BUNDLES = [(commons_nls_escoContentview_nls__WEBPACK_IMPORTED_MODULE_7___default())];

/**
 *
 * @param {Entry} entry
 * @param {EntityType} entityType
 * @param {number} refreshKey
 * @returns {string|null}
 */
const getImgSrc = (entry, entityType, refreshKey) => {
  var _info$getFormat;
  const {
    metadata,
    resourceURI,
    info
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.spreadEntry)(entry);
  const contentviewers = entityType.get('contentviewers');
  const imageContentViewDef = contentviewers.find(contentView => typeof contentView === 'object' ? contentView.name === 'imageview' : contentView === 'imageview');
  if (imageContentViewDef.property) {
    const src = metadata.findFirstValue(null, imageContentViewDef.property);
    if (src) return src;
  } else if (entry.isLink() || (_info$getFormat = info.getFormat()) !== null && _info$getFormat !== void 0 && _info$getFormat.startsWith('image/')) {
    const entrystoreBaseURI = commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.getBaseURI();
    const isExternal = !resourceURI.startsWith(entrystoreBaseURI);
    return isExternal ? _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__.factory.getProxyURI(entrystoreBaseURI, resourceURI) : `${resourceURI}?${refreshKey}`;
  }
  return null;
};
const ImagePresenter = _ref => {
  let {
    entry,
    entityType,
    refreshKey = '0'
  } = _ref;
  const {
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(NLS_BUNDLES);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    const refreshEntry = async () => {
      await entry.refresh();
    };
    runAsync(refreshEntry());
  }, [runAsync, entry]);
  const imgSrc = !isLoading ? getImgSrc(entry, entityType, refreshKey) : null;
  if (isLoading) return null;
  return !imgSrc ? /*#__PURE__*/React.createElement(_mui_material_Alert__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoImagePresenter__message",
    severity: "error"
  }, translate('noImageProvided')) : /*#__PURE__*/React.createElement("img", {
    key: refreshKey,
    className: "escoImagePresenter__image",
    src: imgSrc,
    alt: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabel)(entry)
  });
};
ImagePresenter.propTypes = {
  refreshKey: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__.Entry),
  entityType: commons_types_EntityType__WEBPACK_IMPORTED_MODULE_8__.entityTypePropType,
  entityTypeDef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    template: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    contentviewers: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}))
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ImagePresenter);

/***/ },

/***/ "./modules/commons/components/ImagePresenter/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/ImagePresenter/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ImagePresenter__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ImagePresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ImagePresenter */ "./modules/commons/components/ImagePresenter/ImagePresenter.js");


/***/ },

/***/ "./modules/commons/components/InformationBlock/InformationBlock.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/InformationBlock/InformationBlock.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _InformationBlock_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./InformationBlock.scss */ "./modules/commons/components/InformationBlock/InformationBlock.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const InformationBlock = _ref => {
  let {
    header,
    info,
    className
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: !className ? 'escoInfoBlock' : `escoInfoBlock ${className}`
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    color: "primary",
    className: "escoInfoBlock__icon"
  }), /*#__PURE__*/React.createElement("div", {
    className: "escoInfoBlock__body"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoInfoBlock__header"
  }, header), /*#__PURE__*/React.createElement("div", null, info)));
};
InformationBlock.propTypes = {
  header: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  info: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InformationBlock);

/***/ },

/***/ "./modules/commons/components/InformationBlock/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/InformationBlock/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _InformationBlock__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _InformationBlock__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InformationBlock */ "./modules/commons/components/InformationBlock/InformationBlock.js");


/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.js"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material_List__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material/List */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/List.js");
/* harmony import */ var _BrowserPlaceholder_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BrowserPlaceholder.scss */ "./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const BrowserPlaceholder = _ref => {
  let {
    label
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    container: true,
    direction: "column",
    alignContent: "center",
    className: "escoLDBPlaceholder",
    "aria-live": "polite"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], null, /*#__PURE__*/React.createElement(_mui_icons_material_List__WEBPACK_IMPORTED_MODULE_3__["default"], {
    classes: {
      root: 'escoLDBPlaceholder__icon'
    }
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "escoLDBPlaceholder__text",
    variant: "body1"
  }, label)));
};
BrowserPlaceholder.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BrowserPlaceholder);

/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.js"
/*!*********************************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/ToggleButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Language.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_usePrimaryLanguageCodes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/usePrimaryLanguageCodes */ "./modules/commons/hooks/usePrimaryLanguageCodes.js");
/* harmony import */ var _LanguageControlGroup_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./LanguageControlGroup.scss */ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");








const ToggleAllLanguagesControl = _ref => {
  let {
    onChange,
    enabled,
    translate
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    selected: enabled,
    onClick: () => onChange(!enabled),
    value: "languages",
    className: "escoLinkedDataBrowser__allLanguagesToggle",
    "aria-label": translate(enabled ? 'showSelectedLanguageTitle' : 'showAllLanguagesTitle')
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__["default"], {
    title: translate(enabled ? 'showSelectedLanguageTitle' : 'showAllLanguagesTitle')
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null)));
};
ToggleAllLanguagesControl.propTypes = {
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  enabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/**
 *
 * @param {string[]} primaryLanguageCodes
 * @param {string} language
 * @param {string} fallbackLanguage
 * @returns {object}
 */
const getLanguageChoices = (primaryLanguageCodes, language, fallbackLanguage) => {
  const languageOptions = config__WEBPACK_IMPORTED_MODULE_2__["default"].get('itemstore.languages');
  const primaryLanguageChoices = primaryLanguageCodes.map(code => {
    const languageOption = languageOptions.find(_ref2 => {
      let {
        value
      } = _ref2;
      return value === code;
    });
    if (!languageOption) return;
    const {
      label: labelObject
    } = languageOption;
    const label = labelObject[language] || labelObject[fallbackLanguage];
    return {
      label,
      value: code
    };
  }).filter(Boolean);
  const secondaryLanguageChoices = languageOptions.filter(option => !primaryLanguageCodes.includes(option.value) && option.value !== '').map(_ref3 => {
    let {
      value,
      label: labelObject
    } = _ref3;
    const label = labelObject[language] || labelObject[fallbackLanguage];
    return {
      value,
      label
    };
  });
  return {
    primaryLanguageChoices,
    secondaryLanguageChoices
  };
};
const LanguageControl = _ref4 => {
  let {
    onChange,
    language,
    fallbackLanguage,
    disabled,
    translate
  } = _ref4;
  const primaryLanguageCodes = (0,commons_hooks_usePrimaryLanguageCodes__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const {
    primaryLanguageChoices,
    secondaryLanguageChoices
  } = getLanguageChoices(primaryLanguageCodes, language, fallbackLanguage);
  const handleChange = _ref5 => {
    let {
      target
    } = _ref5;
    onChange(target.value);
  };
  if (primaryLanguageChoices.length + secondaryLanguageChoices.length < 2) return null;
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__["default"], {
    title: translate('languageSwitcherLabel')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    value: language,
    onChange: handleChange,
    IconComponent: () => null,
    variant: "standard",
    disableUnderline: true,
    disabled: disabled,
    className: "escoLinkedDataBrowser__languageSelectContainer",
    renderValue: selected => /*#__PURE__*/React.createElement("span", {
      className: "escoLinkedDataBrowser__languageTag"
    }, selected)
  }, primaryLanguageChoices.map(_ref6 => {
    let {
      value,
      label
    } = _ref6;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      key: value,
      value: value
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      className: "escoLinkedDataBrowser__languageSwitcherButton",
      primary: label
    }));
  }), primaryLanguageChoices.length && secondaryLanguageChoices.length ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    value: "",
    disabled: true
  }, "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500") : null, secondaryLanguageChoices.map(_ref7 => {
    let {
      value,
      label
    } = _ref7;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      key: value,
      value: value
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      className: "escoLinkedDataBrowser__languageSwitcherButton",
      primary: label
    }));
  })));
};
LanguageControl.propTypes = {
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  fallbackLanguage: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
const LanguageControlGroup = _ref8 => {
  let {
    translate,
    onToggleAllLanguages,
    allLanguagesEnabled,
    language,
    onLanguageChange,
    fallbackLanguage
  } = _ref8;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ToggleAllLanguagesControl, {
    translate: translate,
    onChange: onToggleAllLanguages,
    enabled: allLanguagesEnabled
  }), /*#__PURE__*/React.createElement(LanguageControl, {
    language: language,
    fallbackLanguage: fallbackLanguage,
    onChange: onLanguageChange,
    disabled: allLanguagesEnabled,
    translate: translate
  }));
};
LanguageControlGroup.propTypes = {
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  onToggleAllLanguages: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  allLanguagesEnabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  onLanguageChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  fallbackLanguage: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LanguageControlGroup);

/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/index.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _LanguageControlGroup__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _LanguageControlGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LanguageControlGroup */ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.js");


/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/useLanguageControlState.js"
/*!************************************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/useLanguageControlState.js ***!
  \************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");






const useLanguageControlState = userInfo => {
  const currentLang = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_2__.i18n.getLocale() || config__WEBPACK_IMPORTED_MODULE_3__["default"].get('locale.fallback');
  const [language, setLanguage] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(currentLang);
  const [allLanguagesEnabled, setAllLanguagesEnabled] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const fallbackLanguage = (0,commons_locale__WEBPACK_IMPORTED_MODULE_5__.getBestLanguage)(userInfo.language);
  return {
    language,
    onLanguageChange: setLanguage,
    allLanguagesEnabled,
    onToggleAllLanguages: setAllLanguagesEnabled,
    fallbackLanguage
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLanguageControlState);

/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/ToggleButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Stack/Stack.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowBack.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowForward.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/NavigateNext.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/common/Tabs */ "./modules/commons/components/common/Tabs/index.js");
/* harmony import */ var commons_components_rdforms_ResourceInfo__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/rdforms/ResourceInfo */ "./modules/commons/components/rdforms/ResourceInfo/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useLDBTemplate__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/hooks/useLDBTemplate */ "./modules/commons/hooks/useLDBTemplate.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_buttons_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! commons/components/buttons/ToggleButtonGroup */ "./modules/commons/components/buttons/ToggleButtonGroup/index.js");
/* harmony import */ var commons_util_overview__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! commons/util/overview */ "./modules/commons/util/overview.js");
/* harmony import */ var _ReferencesList__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ReferencesList */ "./modules/commons/components/LinkedDataBrowserDialog/ReferencesList.js");
/* harmony import */ var _useLDBFormsPresenter__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./useLDBFormsPresenter */ "./modules/commons/components/LinkedDataBrowserDialog/useLDBFormsPresenter.js");
/* harmony import */ var _LinkedDataBrowserDialog_scss__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./LinkedDataBrowserDialog.scss */ "./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.scss");
/* harmony import */ var _useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./useLinkedBrowserModel */ "./modules/commons/components/LinkedDataBrowserDialog/useLinkedBrowserModel.js");
/* harmony import */ var _ImagePresenter__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../ImagePresenter */ "./modules/commons/components/ImagePresenter/index.js");
/* harmony import */ var _BrowserPlaceholder__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./BrowserPlaceholder */ "./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.js");
/* harmony import */ var _LanguageControlGroup_useLanguageControlState__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./LanguageControlGroup/useLanguageControlState */ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/useLanguageControlState.js");
/* harmony import */ var _LanguageControlGroup__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./LanguageControlGroup */ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/index.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./utils */ "./modules/commons/components/LinkedDataBrowserDialog/utils.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }































const MetadataVisibilityControl = _ref => {
  let {
    selected,
    options,
    handleChange
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_25___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "escoMdVisibilityControl"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    elevation: 0,
    className: "escoMdVisibilityControl__Paper",
    sx: {
      border: theme => `1px solid ${theme.palette.divider}`
    }
  }, /*#__PURE__*/React.createElement(commons_components_buttons_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_33__["default"], {
    size: "small",
    value: selected,
    exclusive: true,
    onChange: handleChange,
    "aria-label": translate('mdVisibilityLabel')
  }, options.map(_ref2 => {
    let {
      value,
      labelNlsKey,
      ariaLabelNlsKey,
      tooltipNlsKey
    } = _ref2;
    return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_32__["default"], {
      title: translate(tooltipNlsKey),
      placement: "bottom",
      key: `${value}-tooltip`
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      value: value,
      "aria-label": translate(ariaLabelNlsKey),
      color: "secondary"
    }, translate(labelNlsKey)));
  }))));
};
MetadataVisibilityControl.propTypes = {
  selected: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf([_utils__WEBPACK_IMPORTED_MODULE_43__.LOCAL, _utils__WEBPACK_IMPORTED_MODULE_43__.EXTERNAL, _utils__WEBPACK_IMPORTED_MODULE_43__.COMBINED]),
  options: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    value: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    ariaLabelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    tooltipNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
  })),
  handleChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
const LinkedDataBrowserDialog = _ref3 => {
  var _state$entry;
  let {
    closeDialog,
    formTemplateId,
    formExternalTemplateId,
    renderPresenter = null,
    entry,
    parentEntry,
    entryLabel,
    enableLanguageControls = false
  } = _ref3;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.useTranslation)([(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_24___default())]);
  const [state, dispatch] = (0,_useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__.useLinkedBrowserModel)(entry);
  const [tabIndex, setTabIndex] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(0);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_21__.useUserState)();
  const languageControlState = (0,_LanguageControlGroup_useLanguageControlState__WEBPACK_IMPORTED_MODULE_41__["default"])(userInfo);
  const {
    language,
    allLanguagesEnabled
  } = languageControlState;
  const onTabChange = (_event, newTabIndex) => setTabIndex(newTabIndex);
  const {
    template,
    metadataVisibility,
    setMetadataVisiblity,
    entityType,
    status,
    error,
    isLoading
  } = (0,commons_hooks_useLDBTemplate__WEBPACK_IMPORTED_MODULE_30__["default"])(entry, parentEntry, state.templateId || formTemplateId, renderPresenter === null);
  const externalTemplateId = (entityType === null || entityType === void 0 ? void 0 : entityType.externalTemplateId()) || formExternalTemplateId;
  const hasContentViewer = entityType === null || entityType === void 0 ? void 0 : entityType.get('contentviewers');
  const showVisibilityControl = externalTemplateId && (0,_utils__WEBPACK_IMPORTED_MODULE_43__.isExternalEntry)(state.entry);
  const back = () => dispatch({
    type: _useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__.BACK
  });
  const forward = () => dispatch({
    type: _useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__.FORWARD
  });
  const move = value => dispatch({
    type: _useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__.MOVE,
    value
  });
  const handleReferenceClick = _ref4 => {
    let {
      entry: value,
      templateId
    } = _ref4;
    dispatch({
      type: _useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__.LINK,
      value,
      templateId
    });
    setTabIndex(0);
    dispatch({
      type: _useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__.UPDATE_STACK,
      entry: value,
      templateId
    });
  };
  const metadata = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => (0,_utils__WEBPACK_IMPORTED_MODULE_43__.getVisibleMetadata)(state.entry, metadataVisibility), [state.entry, metadataVisibility]);
  const isMetadataEmpty = !(0,_utils__WEBPACK_IMPORTED_MODULE_43__.hasNonTypeMetadata)(metadata);
  const {
    PresenterComponent
  } = (0,_useLDBFormsPresenter__WEBPACK_IMPORTED_MODULE_36__["default"])(handleReferenceClick, metadata, (_state$entry = state.entry) === null || _state$entry === void 0 ? void 0 : _state$entry.getResourceURI(), metadataVisibility === _utils__WEBPACK_IMPORTED_MODULE_43__.EXTERNAL ? externalTemplateId : template, false, {}, null, true, !allLanguagesEnabled, 'en', language);
  const presenters = [{
    Component: renderPresenter ? _ref5 => {
      let {
        initiallyExpanded = false
      } = _ref5;
      return renderPresenter({
        dispatch,
        templateId: template,
        initiallyExpanded,
        entry: state.entry,
        stackIndex: state.index,
        language: allLanguagesEnabled ? undefined : language
      });
    } : null,
    id: 'provided-presenter'
  }, {
    Component: hasContentViewer ? () => /*#__PURE__*/React.createElement(_ImagePresenter__WEBPACK_IMPORTED_MODULE_39__["default"], {
      entry: state.entry,
      entityType: entityType
    }) : null,
    id: 'image-presenter'
  }, {
    Component: PresenterComponent && !isMetadataEmpty ? () => /*#__PURE__*/React.createElement(PresenterComponent, null) : null,
    id: 'main-presenter'
  }].filter(presenter => presenter.Component);
  const hasNoPresenters = presenters.length === 0;
  const hasSinglePresenter = presenters.length === 1;
  const showLanguageControls = tabIndex === 0 && (presenters.some(presenter => presenter.id === 'main-presenter') || enableLanguageControls && presenters.some(presenter => presenter.id === 'provided-presenter'));
  const isPrototype = entry instanceof _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_23__.PrototypeEntry;
  const canAccessOverview = entry && entityType && !isPrototype ? (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_34__.getCanAccessOverview)(entry, entityType) : false;
  const handleOverviewNavigate = async () => {
    const overviewName = (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_34__.getOverviewName)(entityType, entry.getContext());
    const url = await (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_34__.getTo)(entityType, overviewName, entry);
    window.open(url, '_blank');
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    fullWidth: true,
    maxWidth: "md",
    "aria-labelledby": "linked-data-browser-dialog",
    open: true,
    onClose: closeDialog
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    direction: "row",
    className: "escoLinkedDataBrowser__navigation"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    "aria-label": translate('backAriaLabel'),
    onClick: back,
    disabled: state.index === 0
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_17__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    "aria-label": translate('forwardAriaLabel'),
    onClick: forward,
    disabled: state.index === state.stack.length - 1
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_18__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    className: "escoLinkedDataBrowser__breadcrumbs",
    separator: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_19__["default"], null),
    "aria-label": translate('breadcrumbsAriaLabel'),
    maxItems: 3
  }, state.stack.map((_ref6, index) => {
    let {
      entry: currentEntry,
      entityTypeName
    } = _ref6;
    const isCurrent = index === state.index;
    const providedTitle = index === 0 && entryLabel ? entryLabel : '';
    const title = !providedTitle && currentEntry && (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_26__.getTitle)(currentEntry) ? (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_26__.getTitle)(currentEntry) : translate(entityTypeName ? 'unnamedEntity' : 'unnamedLabel', entityTypeName);
    const label = providedTitle || title;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      disabled: isCurrent,
      variant: "text",
      onClick: () => !isCurrent && move(index),
      key: `breadcrumb-${label}`,
      className: isCurrent ? 'escoLinkedDataBrowser__currentBreadcrumb' : 'escoLinkedDataBrowser__breadcrumbButton'
    }, /*#__PURE__*/React.createElement("span", {
      className: "escoLinkedDataBrowser__breadcrumbLabel"
    }, label));
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    className: "escoLinkedDataBrowser__controls"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_27__.Tabs, {
    value: tabIndex,
    onChange: onTabChange,
    "aria-label": translate('tabsAriaLabel'),
    className: "escoLinkedDataBrowser__tabs",
    variant: "standard"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_27__.Tab, {
    label: translate('infoTabLabel'),
    key: "info"
  }), /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_27__.Tab, {
    label: translate('refsTabLabel'),
    key: "refs",
    disabled: state.entry === undefined
  }), /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_27__.Tab, {
    label: translate('aboutTabLabel'),
    key: "about",
    disabled: state.entry === undefined
  })), canAccessOverview && tabIndex === 0 ? /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_32__["default"], {
    title: translate('overviewIconTooltip')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    onClick: handleOverviewNavigate,
    size: "small",
    className: showLanguageControls ? '' : 'escoLinkedDataBrowser__overviewButton--alone'
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_20__["default"], null))) : null, showLanguageControls ? /*#__PURE__*/React.createElement(_LanguageControlGroup__WEBPACK_IMPORTED_MODULE_42__["default"], _extends({
    translate: translate
  }, languageControlState)) : null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    id: "linked-data-browser-dialog",
    className: "escoLinkedDataBrowser__dialogContent",
    sx: {
      height: hasContentViewer ? '600px' : '400px'
    }
  }, isLoading ? /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_31__["default"], {
    className: "escoLinkedDataBrowser__loader"
  }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TabPanel, {
    currentTabIndex: tabIndex,
    index: 0,
    className: "escoLinkedDataBrowser__infoPanel"
  }, showVisibilityControl ? /*#__PURE__*/React.createElement(MetadataVisibilityControl, {
    selected: metadataVisibility,
    options: (0,_utils__WEBPACK_IMPORTED_MODULE_43__.getVisibilityOptions)(template, externalTemplateId),
    handleChange: _ref7 => {
      let {
        target: {
          value
        }
      } = _ref7;
      return setMetadataVisiblity(value);
    }
  }) : null, presenters.map(_ref8 => {
    let {
      Component,
      id
    } = _ref8;
    return /*#__PURE__*/React.createElement(Component, {
      key: id,
      initiallyExpanded: hasSinglePresenter
    });
  }), hasNoPresenters ? /*#__PURE__*/React.createElement(React.Fragment, null, error ? /*#__PURE__*/React.createElement("span", null, translate('errorPlaceholder')) : null, status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_29__.RESOLVED && !template ? /*#__PURE__*/React.createElement("span", null, translate('templatePlaceholder')) : null, template && status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_29__.RESOLVED ? /*#__PURE__*/React.createElement(_BrowserPlaceholder__WEBPACK_IMPORTED_MODULE_40__["default"], {
    label: translate('emptyPresenters')
  }) : null) : null), /*#__PURE__*/React.createElement(TabPanel, {
    currentTabIndex: tabIndex,
    index: 1,
    className: "escoLinkedDataBrowser__refsPanel"
  }, /*#__PURE__*/React.createElement(_ReferencesList__WEBPACK_IMPORTED_MODULE_35__["default"], {
    hideTitle: true,
    entry: state.entry,
    onRowClick: handleReferenceClick
  })), /*#__PURE__*/React.createElement(TabPanel, {
    currentTabIndex: tabIndex,
    index: 2,
    className: "escoLinkedDataBrowser__aboutPanel"
  }, /*#__PURE__*/React.createElement(commons_components_rdforms_ResourceInfo__WEBPACK_IMPORTED_MODULE_28__["default"], {
    entry: state.entry,
    onLinkClick: handleReferenceClick
  })))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    autoFocus: true,
    variant: "text",
    onClick: closeDialog
  }, translate('close'))));
};
LinkedDataBrowserDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_23__.Entry),
  parentEntry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_23__.Entry),
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  formExternalTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  renderPresenter: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  entryLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  enableLanguageControls: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)
};
const TabPanel = _ref9 => {
  let {
    children,
    index,
    currentTabIndex,
    className
  } = _ref9;
  return /*#__PURE__*/React.createElement("div", {
    role: "tabpanel",
    hidden: currentTabIndex !== index,
    id: `tab-${index}`,
    "aria-labelledby": `tab-${index}`,
    className: className
  }, currentTabIndex === index ? children : null);
};
TabPanel.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  index: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  currentTabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_38__.withLinkedBrowserModelProvider)(LinkedDataBrowserDialog));

/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/ReferencesList.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/ReferencesList.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material/OpenInNew */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_overview__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/util/overview */ "./modules/commons/util/overview.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

























const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const ROWS_PER_PAGE = 3;
const ReferencesList = _ref => {
  let {
    entry: referencedEntry,
    onRowClick
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)(nlsBundles);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_20__.useUserState)();
  const showReferenceWarning = !userInfo.hasAdminRights;
  const {
    runAsync,
    data: items
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])({
    data: []
  });
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.newSolrQuery().objectUri([referencedEntry.getResourceURI(), referencedEntry.getURI()]).uri(referencedEntry.getURI(), true).rdfType('oa:Annotation', true), [referencedEntry]);
  const {
    status,
    search,
    size,
    entries
  } = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_23__.useSolrQuery)({
    createQuery
  });
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    const makeItems = () => Promise.all(entries.map(async entry => {
      try {
        const entityType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_24__["default"].inUse(entry);
        if (!entityType) {
          console.error(`Could not find entity type for entry with URI: ${entry.getURI()}`);
          return {
            entry,
            canAccessOverview: false
          };
        }
        const canAccessOverview = entityType ? (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_25__.getCanAccessOverview)(entry, entityType) : false;
        const overviewName = entityType ? (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_25__.getOverviewName)(entityType, entry.getContext()) : null;
        const url = canAccessOverview ? await (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_25__.getTo)(entityType, overviewName, entry) : null;
        return {
          entry,
          url,
          canAccessOverview
        };
      } catch (error) {
        console.error(error);
        return {
          entry,
          canAccessOverview: false
        };
      }
    }));
    runAsync(makeItems());
  }, [runAsync, entries]);
  const handleOverviewNavigate = url => {
    window.open(url, '_blank');
  };
  return /*#__PURE__*/React.createElement("div", null, showReferenceWarning ? /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_19__["default"], {
    severity: "warning",
    className: "escoReferencesList__warning"
  }, translate('incompleteReferenceSearchWarning')) : null, status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__.PENDING || status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__.IDLE ? /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_18__["default"], {
    className: "escoReferencesList__loader"
  }) : /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListView, {
    status: status,
    search: search,
    size: size,
    nlsBundles: nlsBundles,
    renderPlaceholder: Placeholder => /*#__PURE__*/React.createElement(Placeholder, {
      className: `escoReferencesList__placeholder${showReferenceWarning ? ' escoReferencesList__placeholder--withWarning' : ''}`,
      label: translate('emptyReferenceListWarning')
    })
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListHeader, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListHeaderItemText, {
    xs: 8,
    text: translate('referencesListHeader')
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListHeaderItemSort, {
    xs: 4,
    sortBy: "modified",
    text: translate('referencesListHeaderModified')
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.List, null, items.map(_ref2 => {
    let {
      entry,
      canAccessOverview,
      url
    } = _ref2;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
      classes: {
        root: 'escoListViewListItem'
      },
      onClick: () => onRowClick({
        entry
      }),
      disableRipple: true,
      key: `${entry.getId()}-${entry.getContext().getId()}`
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      container: true,
      spacing: 2,
      alignItems: "center",
      className: "escoListViewListItem__gridContainer"
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListItemText, {
      xs: 8,
      primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__.getLabel)(entry) || translate('unnamedLabel')
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListItemText, {
      xs: 2,
      secondary: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_22__.getShortModifiedDate)(entry)
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListItemIcon, {
      icon: /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_8__["default"], {
        color: "secondary"
      })
    }), canAccessOverview ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListItemIconButton, {
      title: translate('overviewIconTooltip'),
      onClick: () => handleOverviewNavigate(url),
      xs: 1
    }, /*#__PURE__*/React.createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_9__["default"], null)) : null));
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListPagination, null)));
};
ReferencesList.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry),
  onRowClick: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.withListModelProvider)(ReferencesList, () => ({
  limit: ROWS_PER_PAGE
})));

/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.js");


/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/useLDBFormsPresenter.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/useLDBFormsPresenter.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsPresenter */ "./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js");
/* harmony import */ var commons_components_rdforms_LinkBehaviour__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/rdforms/LinkBehaviour */ "./modules/commons/components/rdforms/LinkBehaviour/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);





const useLDBFormsPresenter = function useLDBFormsPresenter(onLinkClick) {
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    (0,commons_components_rdforms_LinkBehaviour__WEBPACK_IMPORTED_MODULE_3__["default"])(onLinkClick);
    return () => {
      (0,commons_components_rdforms_LinkBehaviour__WEBPACK_IMPORTED_MODULE_3__["default"])();
    };
  }, [onLinkClick]);
  for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
    rest[_key - 1] = arguments[_key];
  }
  return (0,commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_2__["default"])(...rest);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLDBFormsPresenter);

/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/useLinkedBrowserModel.js"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/useLinkedBrowserModel.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BACK: () => (/* binding */ BACK),
/* harmony export */   FORWARD: () => (/* binding */ FORWARD),
/* harmony export */   LINK: () => (/* binding */ LINK),
/* harmony export */   LinkedBrowserModelProvider: () => (/* binding */ LinkedBrowserModelProvider),
/* harmony export */   MOVE: () => (/* binding */ MOVE),
/* harmony export */   NAME: () => (/* binding */ NAME),
/* harmony export */   UPDATE_STACK: () => (/* binding */ UPDATE_STACK),
/* harmony export */   useLinkedBrowserModel: () => (/* binding */ useLinkedBrowserModel),
/* harmony export */   withLinkedBrowserModelProvider: () => (/* binding */ withLinkedBrowserModelProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



const BACK = 'BACK';
const FORWARD = 'FORWARD';
const MOVE = 'MOVE';
const LINK = 'LINK';
const NAME = 'NAME';
const UPDATE_STACK = 'UPDATE_STACK';
const linkedBrowserReducer = (state, action) => {
  switch (action.type) {
    case BACK:
      {
        const newIndex = state.index - 1 < 0 ? state.index : state.index - 1;
        return _objectSpread(_objectSpread({}, state), {}, {
          index: newIndex,
          entry: state.stack[newIndex].entry
        });
      }
    case FORWARD:
      {
        const newIndex = state.index + 1 >= state.stack.length ? state.index : state.index + 1;
        return _objectSpread(_objectSpread({}, state), {}, {
          index: newIndex,
          entry: state.stack[newIndex].entry
        });
      }
    case MOVE:
      return _objectSpread(_objectSpread({}, state), {}, {
        index: action.value,
        entry: state.stack[action.value].entry,
        templateId: state.stack[action.value].templateId
      });
    case NAME:
      {
        const {
          index,
          entityTypeName
        } = action.value;
        state.stack[index] = _objectSpread(_objectSpread({}, state.stack[index]), {}, {
          entityTypeName
        });
        return _objectSpread({}, state);
      }
    case LINK:
      {
        const foundIndex = state.stack.findIndex(_ref => {
          let {
            entry
          } = _ref;
          return entry.getURI() === action.value.getURI();
        });
        if (foundIndex !== -1) {
          const newStack = state.stack.slice(0, foundIndex + 1);
          return _objectSpread(_objectSpread({}, state), {}, {
            stack: newStack,
            index: newStack.length - 1,
            entry: action.value,
            templateId: action.templateId
          });
        }
        const newStack = [...state.stack.slice(0, state.index + 1), {
          entry: action.value,
          templateId: action.templateId
        }];
        return _objectSpread(_objectSpread({}, state), {}, {
          stack: newStack,
          index: newStack.length - 1,
          entry: action.value,
          templateId: action.templateId
        });
      }
    case UPDATE_STACK:
      {
        const {
          entry,
          templateId
        } = action;
        const currentTop = state.stack[state.index];
        if (!currentTop || currentTop.entry !== entry || currentTop.templateId !== templateId) {
          const newStack = [...state.stack.slice(0, state.index + 1), {
            entry,
            templateId
          }];
          return _objectSpread(_objectSpread({}, state), {}, {
            stack: newStack,
            index: newStack.length - 1,
            entry,
            templateId
          });
        }
        return _objectSpread(_objectSpread({}, state), {}, {
          entry,
          templateId
        });
      }
    default:
      throw new Error(`linkedBrowserReducer: ${action.type} is not a valid list action type`);
  }
};
const LinkedBrowserModelContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)();
const LinkedBrowserModelProvider = _ref2 => {
  let {
    children,
    initialEntry
  } = _ref2;
  const [browserModel, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useReducer)(linkedBrowserReducer, {
    entry: initialEntry,
    stack: [{
      entry: initialEntry
    }],
    index: 0
  });
  return /*#__PURE__*/React.createElement(LinkedBrowserModelContext.Provider, {
    value: [browserModel, dispatch]
  }, children);
};
LinkedBrowserModelProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  initialEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType
};
const useLinkedBrowserModel = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(LinkedBrowserModelContext);
  if (context === undefined) throw new Error('LinkedBrowserModel context must be used within context provider');
  return context;
};
const withLinkedBrowserModelProvider = Component => props =>
/*#__PURE__*/
// eslint-disable-next-line react/destructuring-assignment, react/prop-types
React.createElement(LinkedBrowserModelProvider, {
  initialEntry: props.entry
}, /*#__PURE__*/React.createElement(Component, props));

/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/utils.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/utils.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   COMBINED: () => (/* binding */ COMBINED),
/* harmony export */   EXTERNAL: () => (/* binding */ EXTERNAL),
/* harmony export */   LOCAL: () => (/* binding */ LOCAL),
/* harmony export */   getMetadataVisibility: () => (/* binding */ getMetadataVisibility),
/* harmony export */   getVisibilityOptions: () => (/* binding */ getVisibilityOptions),
/* harmony export */   getVisibleMetadata: () => (/* binding */ getVisibleMetadata),
/* harmony export */   hasNonTypeMetadata: () => (/* binding */ hasNonTypeMetadata),
/* harmony export */   isExternalEntry: () => (/* binding */ isExternalEntry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");



const LOCAL = 'local';
const EXTERNAL = 'external';
const COMBINED = 'all';

/**
 * Checks whether the metadata has statements beyond rdf:type.
 *
 * @param {Graph} metadata
 * @returns {boolean}
 */
const hasNonTypeMetadata = metadata => {
  if (!metadata) return false;
  return metadata.find().some(statement => statement.getPredicate() !== _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('rdf:type'));
};

/**
 * Returns the visibility toggle options based on whether local and external
 * templates are the same (which enables a "combined" view).
 *
 * @param {string} templateId
 * @param {string} externalTemplateId
 * @returns {object[]}
 */
const getVisibilityOptions = (templateId, externalTemplateId) => [{
  value: LOCAL,
  labelNlsKey: 'localLabel',
  ariaLabelNlsKey: 'localLabel',
  tooltipNlsKey: 'localTooltip'
}, {
  value: EXTERNAL,
  labelNlsKey: 'externalLabel',
  ariaLabelNlsKey: 'externalLabel',
  tooltipNlsKey: 'externalTooltip'
}, ...(templateId === externalTemplateId ? [{
  value: COMBINED,
  labelNlsKey: 'combinedLabel',
  ariaLabelNlsKey: 'combinedLabel',
  tooltipNlsKey: 'combinedTooltip'
}] : [])];

/**
 * Determines whether an entry has external metadata (Reference or LinkReference).
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isExternalEntry = entry => Boolean((entry === null || entry === void 0 ? void 0 : entry.isLinkReference()) || (entry === null || entry === void 0 ? void 0 : entry.isReference()));

/**
 * Determines the initial metadata visibility based on entry type and
 * whether local metadata exists.
 *
 * @param {Entry} entry
 * @returns {'local'|'external'}
 */
const getMetadataVisibility = entry => {
  if (!isExternalEntry(entry)) return LOCAL;
  return hasNonTypeMetadata(entry.getMetadata()) ? LOCAL : EXTERNAL;
};

/**
 * Returns the appropriate metadata graph for the given visibility setting.
 *
 * @param {Entry} entry
 * @param {string} visibility
 * @returns {Graph|null}
 */
const getVisibleMetadata = (entry, visibility) => {
  if (!entry) return null;
  if (visibility === LOCAL) return entry.getMetadata();
  if (visibility === EXTERNAL) return entry.getCachedExternalMetadata();
  return entry.getAllMetadata();
};


/***/ },

/***/ "./modules/commons/components/ListView/ActionsMenu/ActionsMenu.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/ListView/ActionsMenu/ActionsMenu.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ActionsMenu: () => (/* binding */ ActionsMenu),
/* harmony export */   OpenActionsMenuButton: () => (/* binding */ OpenActionsMenuButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/ListItemIcon */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Skeleton/Skeleton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListSubheader/ListSubheader.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js");
/* harmony import */ var commons_components_NoPropagatation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/NoPropagatation */ "./modules/commons/components/NoPropagatation/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Check.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MoreHoriz.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* harmony import */ var _ActionsProvider__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../ActionsProvider */ "./modules/commons/components/ListView/ActionsProvider/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["title"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }











// Button component to open actions menu
const OpenActionsMenuButton = _ref => {
  let {
      title
    } = _ref,
    iconButtonProps = _objectWithoutProperties(_ref, _excluded);
  const {
    openMenu,
    id
  } = (0,_ActionsProvider__WEBPACK_IMPORTED_MODULE_17__.useActions)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default()));
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_11__["default"], {
    title: title || translate('moreOptions')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    onClick: openMenu,
    "aria-controls": id,
    "aria-haspopup": "true"
  }, iconButtonProps), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_13__["default"], null)));
};
OpenActionsMenuButton.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

// ActionsMenu is usually combined with OpenActionsMenuButton to open the menu.
// Actions provider is required.
//
// Item types:
// - 'action' (default): Clickable menu item with label, icon, onClick/action
// - 'divider': Visual separator between items
// - 'title': Section header/subheader with label
//
// Selection state:
// - Use `selected` prop (true/false) for selectable items
// - When selected is defined, a checkmark replaces the icon for selected items
// - Unselected items (selected: false) reserve icon space for alignment
//
// Example:
// <ActionsMenu items={[
//   { type: 'title', label: 'Label type' },
//   { label: 'Name', onClick: ..., selected: labelType === 'name' },
//   { label: 'Title', onClick: ..., selected: labelType === 'title' },
//   { label: 'None', onClick: ..., selected: labelType === 'none' },
//   { type: 'divider' },
//   { label: 'Delete', icon: <DeleteIcon />, onClick: handleDelete },
// ]} />
const ActionsMenu = _ref2 => {
  let {
    items,
    isLoading,
    menuProps = {}
  } = _ref2;
  const {
    anchorEl,
    id,
    isOpen,
    closeMenu,
    openActionDialog
  } = (0,_ActionsProvider__WEBPACK_IMPORTED_MODULE_17__.useActions)();
  const handleAction = action => () => {
    openActionDialog(action);
  };
  const handleClick = (onClick, action) => event => {
    closeMenu();
    onClick(event, action);
  };
  const renderItem = item => {
    const {
      type = 'action',
      label,
      icon,
      onClick,
      Component = null,
      action,
      id: itemId,
      selected,
      disabled
    } = item;
    const key = itemId || (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_16__.getUniqueId)();
    if (isLoading) {
      return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
        key: key
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        variant: "text",
        sx: {
          fontSize: '18px'
        },
        width: "8rem"
      }));
    }
    const renderIcon = () => {
      const hasSelectionState = selected !== undefined;
      if (hasSelectionState) return /*#__PURE__*/React.createElement(_mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_2__["default"], null, selected ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_12__["default"], null) : null);
      if (icon) return /*#__PURE__*/React.createElement(_mui_material_ListItemIcon__WEBPACK_IMPORTED_MODULE_2__["default"], null, icon);
      return null;
    };
    if (type === 'divider') return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      key: key
    });
    if (type === 'title') return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      key: key
    }, label);
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      key: key,
      disabled: disabled,
      onClick: onClick ? handleClick(onClick, action) : handleAction(action)
    }, renderIcon(), Component ? /*#__PURE__*/React.createElement(Component, action) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      primary: label
    }));
  };
  return /*#__PURE__*/React.createElement(commons_components_NoPropagatation__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], _extends({
    id: id,
    anchorEl: anchorEl,
    open: isOpen,
    onClose: closeMenu
  }, menuProps), items.map(renderItem)));
};
ActionsMenu.propTypes = {
  items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    type: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['action', 'divider', 'title']),
    id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
    action: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
    icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
    Component: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().elementType),
    selected: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
    disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
  })),
  isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  menuProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};

/***/ },

/***/ "./modules/commons/components/ListView/ActionsMenu/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/ListView/ActionsMenu/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ActionsMenu: () => (/* reexport safe */ _ActionsMenu__WEBPACK_IMPORTED_MODULE_0__.ActionsMenu),
/* harmony export */   OpenActionsMenuButton: () => (/* reexport safe */ _ActionsMenu__WEBPACK_IMPORTED_MODULE_0__.OpenActionsMenuButton)
/* harmony export */ });
/* harmony import */ var _ActionsMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActionsMenu */ "./modules/commons/components/ListView/ActionsMenu/ActionsMenu.js");


/***/ },

/***/ "./modules/commons/components/ListView/ActionsProvider/ActionsProvider.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ActionsProvider/ActionsProvider.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ActionsProvider: () => (/* binding */ ActionsProvider),
/* harmony export */   useActions: () => (/* binding */ useActions),
/* harmony export */   withActionsProvider: () => (/* binding */ withActionsProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_errors_SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/errors/SnackbarFallbackComponent */ "./modules/commons/errors/SnackbarFallbackComponent/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["Dialog"];


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const ActionsContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)();

/**
 * Hook to read context for opening and closing actions menu and action dialogs.
 *
 * @returns {object}
 */
const useActions = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(ActionsContext);
  if (context === undefined) {
    throw new Error('Actions context must be used within provider');
  }
  return context;
};

// Wrapper for action dialogs to provide extra props.
const ActionDialog = _ref => {
  let {
      Dialog
    } = _ref,
    actionProps = _objectWithoutProperties(_ref, _excluded);
  const {
    closeActionDialog
  } = useActions();
  return /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__["default"], {
    FallbackComponent: commons_errors_SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_7__["default"],
    onError: closeActionDialog
  }, /*#__PURE__*/React.createElement(Dialog, _extends({
    closeDialog: closeActionDialog
  }, actionProps)));
};
ActionDialog.propTypes = {
  Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired
};

/**
 * ListItemActions handles common state for action menu and action menu items,
 * primarily for open/closing menu and dialogs.
 * ActionDialog must be placed on this level in the ListItemActions, since it
 * can't be a child of the ActionsMenu which is closed when an ActionDialog is
 * opened.
 */
const ActionsProvider = _ref2 => {
  let {
    children
  } = _ref2;
  const [anchorEl, setAnchorEl] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const [selectedAction, setSelectedAction] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  /*
   * Gives the list item a unqiue id, that for example can be used for
   * accessibility
   */
  const id = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_5__.useUniqueId)('action-');
  const openMenu = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(event => {
    event.stopPropagation();
    event.preventDefault();
    setAnchorEl(event.currentTarget);
  }, []);
  const closeMenu = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    setAnchorEl(null);
  }, []);
  const openActionDialog = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(action => {
    closeMenu();
    setSelectedAction(action);
  }, [closeMenu]);
  const closeActionDialog = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    setSelectedAction(null);
  }, []);
  const isOpen = Boolean(anchorEl);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ActionsContext.Provider, {
    value: {
      anchorEl,
      id,
      isOpen,
      closeMenu,
      openMenu,
      closeActionDialog,
      openActionDialog
    }
  }, children, selectedAction ? /*#__PURE__*/React.createElement(ActionDialog, selectedAction) : null));
};
ActionsProvider.propTypes = {
  id: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)
};

// hoc to enhance component with Actions provider
const withActionsProvider = Component => props => /*#__PURE__*/React.createElement(ActionsProvider, null, /*#__PURE__*/React.createElement(Component, props));

/***/ },

/***/ "./modules/commons/components/ListView/ActionsProvider/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/ListView/ActionsProvider/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ActionsProvider: () => (/* reexport safe */ _ActionsProvider__WEBPACK_IMPORTED_MODULE_0__.ActionsProvider),
/* harmony export */   useActions: () => (/* reexport safe */ _ActionsProvider__WEBPACK_IMPORTED_MODULE_0__.useActions),
/* harmony export */   withActionsProvider: () => (/* reexport safe */ _ActionsProvider__WEBPACK_IMPORTED_MODULE_0__.withActionsProvider)
/* harmony export */ });
/* harmony import */ var _ActionsProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActionsProvider */ "./modules/commons/components/ListView/ActionsProvider/ActionsProvider.js");


/***/ },

/***/ "./modules/commons/components/ListView/List/List.js"
/*!**********************************************************!*\
  !*** ./modules/commons/components/ListView/List/List.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   List: () => (/* binding */ List)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SearchOff.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WarningAmber.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* harmony import */ var _ListPlaceholder__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ListPlaceholder */ "./modules/commons/components/ListView/ListPlaceholder/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["Icon", "label", "search", "className", "variant"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










// Default list placeholder
const EmptyListPlaceholder = _ref => {
  let {
      Icon = _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"],
      label,
      search,
      className,
      variant
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  return /*#__PURE__*/React.createElement(_ListPlaceholder__WEBPACK_IMPORTED_MODULE_12__.ListPlaceholder, _extends({
    Icon: Icon,
    label: label || translate('emptySearchResult', search),
    className: className,
    variant: variant
  }, rest));
};
EmptyListPlaceholder.propTypes = {
  Icon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().elementType),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  search: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  variant: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['compact', 'dialog', 'view'])
};

// The List component is primarily a container for list items.
// The renderPlaceholder function can be used to render a customized placeholder
// component, based on EmptyListPlaceholder component.
const List = _ref2 => {
  let {
    renderPlaceholder,
    renderRejectedPlaceholder = function (RejectedPlaceholder) {
      let placeholderProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
      return /*#__PURE__*/React.createElement(RejectedPlaceholder, placeholderProps);
    },
    renderLoader = ListLoader => /*#__PURE__*/React.createElement(ListLoader, null),
    children
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const {
    search,
    size,
    status
  } = (0,_hooks_useListView__WEBPACK_IMPORTED_MODULE_11__.useListView)();
  const isEmpty = size === 0 && status !== 'pending';
  const isPending = status === 'pending' || status === 'idle' && size === -1;
  if (status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__.REJECTED) {
    return renderRejectedPlaceholder(EmptyListPlaceholder, {
      label: translate('rejectedPlaceholderLabel'),
      Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"],
      variant: 'compact'
    });
  }
  if (isEmpty) return renderPlaceholder ? renderPlaceholder(EmptyListPlaceholder) : /*#__PURE__*/React.createElement(EmptyListPlaceholder, {
    search: search
  });
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, isPending ? renderLoader(commons_components_Loader__WEBPACK_IMPORTED_MODULE_9__["default"]) : children);
};
List.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
  renderPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  renderRejectedPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  renderLoader: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};

/***/ },

/***/ "./modules/commons/components/ListView/List/index.js"
/*!***********************************************************!*\
  !*** ./modules/commons/components/ListView/List/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   List: () => (/* reexport safe */ _List__WEBPACK_IMPORTED_MODULE_0__.List)
/* harmony export */ });
/* harmony import */ var _List__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List */ "./modules/commons/components/ListView/List/List.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListAction/ListActionIconButton/ListActionIconButton.js"
/*!*****************************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListAction/ListActionIconButton/ListActionIconButton.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListActionIconButton: () => (/* binding */ ListActionIconButton)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





// Generic action button with icon only
const ListActionIconButton = _ref => {
  let {
    ariaLabel,
    onClick,
    icon,
    disabled,
    tooltip,
    highlightId
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_3__["default"], {
    condition: Boolean(tooltip),
    wrapper: children => /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__["default"], {
      title: tooltip
    }, /*#__PURE__*/React.createElement("span", null, children))
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    "aria-label": ariaLabel,
    disabled: disabled,
    onClick: onClick,
    color: "primary",
    "data-highlight-id": highlightId
  }, icon));
};
ListActionIconButton.propTypes = {
  ariaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListAction/ListActionIconButton/index.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListAction/ListActionIconButton/index.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListActionIconButton: () => (/* reexport safe */ _ListActionIconButton__WEBPACK_IMPORTED_MODULE_0__.ListActionIconButton)
/* harmony export */ });
/* harmony import */ var _ListActionIconButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListActionIconButton */ "./modules/commons/components/ListView/ListAction/ListActionIconButton/ListActionIconButton.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListActions/ListActions.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListActions/ListActions.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListActions: () => (/* binding */ ListActions)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _ListActions_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListActions.scss */ "./modules/commons/components/ListView/ListActions/ListActions.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





/**
 * ListActions component uses a common layout for providing list actions to a
 * view. The layout assumes two colums, where the right column is justified to
 * the right.
 * The disabled prop is useful to disable all child actions, for example on
 * initial load.
 */
const ListActions = _ref => {
  let {
    disabled = false,
    justifyContent = 'flex-end',
    compact = false,
    children
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    sx: {
      justifyContent
    },
    className: `escoListViewActions ${compact ? 'escoListViewActions--compact' : ''}`
  }, disabled // Construction to add disabled to child components if set to true
  ? react__WEBPACK_IMPORTED_MODULE_0__.Children.map(children, (child, index) => {
    return child ? /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(child, {
      id: `list-actions-${index}`,
      disabled
    }) : null;
  }) : children);
};
ListActions.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  compact: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListActions/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/ListView/ListActions/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListActions: () => (/* reexport safe */ _ListActions__WEBPACK_IMPORTED_MODULE_0__.ListActions)
/* harmony export */ });
/* harmony import */ var _ListActions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListActions */ "./modules/commons/components/ListView/ListActions/ListActions.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListHeader/ListHeader.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/ListView/ListHeader/ListHeader.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListHeader: () => (/* binding */ ListHeader),
/* harmony export */   ListHeaderItem: () => (/* binding */ ListHeaderItem),
/* harmony export */   ListHeaderItemSort: () => (/* binding */ ListHeaderItemSort),
/* harmony export */   ListHeaderItemText: () => (/* binding */ ListHeaderItemText)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _ListItemSort__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ListItemSort */ "./modules/commons/components/ListView/ListHeader/ListItemSort/index.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* harmony import */ var _ListHeader_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ListHeader.scss */ "./modules/commons/components/ListView/ListHeader/ListHeader.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






// Base list header item. Can be used for customized header items.
const ListHeaderItem = _ref => {
  let {
    xs = 3,
    xl = false,
    children,
    title
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    container: true,
    size: {
      xs,
      xl
    },
    className: "escoListViewHeader__gridItem",
    title: title
  }, children);
};
ListHeaderItem.propTypes = {
  xl: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

// Standard list header item. If sorting is needed, see ListHeaderItemSort.
const ListHeaderItemText = _ref2 => {
  let {
    xs,
    xl,
    text,
    title,
    justifyContent
  } = _ref2;
  return /*#__PURE__*/React.createElement(ListHeaderItem, {
    xs: xs,
    xl: xl,
    text: text,
    title: title
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    primary: text,
    slotProps: {
      primary: {
        justifyContent
      }
    },
    classes: {
      primary: 'escoListViewHeaderItem__primary'
    }
  }));
};
ListHeaderItemText.propTypes = {
  xl: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

// List header item with sorting
const ListHeaderItemSort = _ref3 => {
  let {
    xs,
    xl,
    sortBy,
    sortTooltipAlias,
    text,
    title
  } = _ref3;
  return /*#__PURE__*/React.createElement(ListHeaderItem, {
    xs: xs,
    xl: xl,
    text: text,
    title: title
  }, /*#__PURE__*/React.createElement(_ListItemSort__WEBPACK_IMPORTED_MODULE_4__.ListItemSort, {
    text: text,
    sortBy: sortBy,
    tooltipAlias: sortTooltipAlias
  }));
};
ListHeaderItemSort.propTypes = {
  xl: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  sortBy: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
  sortTooltipAlias: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

// Container for list header items.
const ListHeader = _ref4 => {
  let {
    children
  } = _ref4;
  const {
    size
  } = (0,_hooks_useListView__WEBPACK_IMPORTED_MODULE_5__.useListView)();
  if (size === 0) return null;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "escoListViewHeader",
    key: "header"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    container: true,
    spacing: 2,
    rowSpacing: 0,
    className: "escoListViewHeader__gridContainer"
  }, children));
};
ListHeader.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.js"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemSort: () => (/* binding */ ListItemSort)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_icons_material_ArrowDropDown__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/ArrowDropDown */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropDown.js");
/* harmony import */ var _mui_icons_material_ArrowDropUp__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/ArrowDropUp */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropUp.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _hooks_useListModel__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/useListModel */ "./modules/commons/components/ListView/hooks/useListModel.js");
/* harmony import */ var _ListItemSort_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ListItemSort.scss */ "./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













/**
 * @param {string} sortOrder
 * @returns {string}
 */
const reverseSortOrder = sortOrder => sortOrder === 'asc' ? 'desc' : 'asc';
const ArrowIcon = _ref => {
  let {
    sortOrder
  } = _ref;
  return sortOrder === 'asc' ? /*#__PURE__*/React.createElement(_mui_icons_material_ArrowDropUp__WEBPACK_IMPORTED_MODULE_8__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material_ArrowDropDown__WEBPACK_IMPORTED_MODULE_7__["default"], null);
};
ArrowIcon.propTypes = {
  sortOrder: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
};
const ListItemSort = _ref2 => {
  let {
    sortBy,
    text,
    tooltipAlias = ''
  } = _ref2;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const [{
    sort
  }, dispatch] = (0,_hooks_useListModel__WEBPACK_IMPORTED_MODULE_11__.useListModel)();
  const {
    order,
    field
  } = sort;
  const isSorted = field === sortBy;
  const sortOrder = isSorted ? order : 'desc';
  const fieldLabel = tooltipAlias || (sortBy === 'modified' ? t('sortingFieldModifiedDate') : text.toLowerCase());
  const getSortedTooltip = () => sortOrder === 'asc' ? t('sortFieldInDesc', fieldLabel) : t('sortFieldInAsc', fieldLabel);
  const tooltip = isSorted ? getSortedTooltip() : t('actionTooltipSort', fieldLabel);
  const handleSort = () => {
    const value = {
      field: sortBy,
      order: isSorted ? reverseSortOrder(sortOrder) : 'desc' // use default desc if not sorted
    };
    dispatch({
      type: _hooks_useListModel__WEBPACK_IMPORTED_MODULE_11__.SORT,
      value
    });
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_10__["default"], {
    title: tooltip
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    variant: "text",
    className: "escoListViewHeaderSortButton",
    disableElevation: true,
    onClick: () => handleSort(),
    endIcon: isSorted ? /*#__PURE__*/React.createElement(ArrowIcon, {
      sortOrder: sortOrder
    }) : null
  }, text)));
};
ListItemSort.propTypes = {
  sortBy: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  text: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  tooltipAlias: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListHeader/ListItemSort/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListHeader/ListItemSort/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemSort: () => (/* reexport safe */ _ListItemSort__WEBPACK_IMPORTED_MODULE_0__.ListItemSort)
/* harmony export */ });
/* harmony import */ var _ListItemSort__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemSort */ "./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListHeader/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/ListView/ListHeader/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListHeader: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_0__.ListHeader),
/* harmony export */   ListHeaderItem: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_0__.ListHeaderItem),
/* harmony export */   ListHeaderItemSort: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_0__.ListHeaderItemSort),
/* harmony export */   ListHeaderItemText: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_0__.ListHeaderItemText)
/* harmony export */ });
/* harmony import */ var _ListHeader__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListHeader */ "./modules/commons/components/ListView/ListHeader/ListHeader.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItem.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItem.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItem: () => (/* binding */ ListItem)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_router_useLocationState__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/router/useLocationState */ "./modules/commons/components/router/useLocationState.js");
/* harmony import */ var _ActionsProvider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ActionsProvider */ "./modules/commons/components/ListView/ActionsProvider/index.js");
/* harmony import */ var _ListItem_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ListItem.scss */ "./modules/commons/components/ListView/ListItem/ListItem.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const ListItemGrid = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    spacing: 2,
    rowSpacing: 0,
    alignItems: "center",
    className: "escoListViewListItem__gridContainer"
  }, children);
};
ListItemGrid.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

// Base list item. Requires a list item action provider.
// By providing an action prop, the list item is handled
// as button with click event.
// ListItemBase assumes a 12 column grid, which is the mui default for a grid
// container. All grid items should together have a 12 column width, to get
// proper width for each item. The widths of the header items should match these
// widths.
const ListItemBase = _ref2 => {
  let {
    action,
    to,
    children,
    tooltip = ''
  } = _ref2;
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_2__["default"])();
  const {
    openActionDialog
  } = (0,_ActionsProvider__WEBPACK_IMPORTED_MODULE_8__.useActions)();
  const handleAction = () => openActionDialog(action);
  const {
    locationState
  } = (0,commons_components_router_useLocationState__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const handleNavigation = () => navigate(to, {
    state: {
      listState: _objectSpread({}, locationState)
    }
  });
  const isButton = Boolean(action || to);
  return isButton ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    classes: {
      root: 'escoListViewListItem'
    },
    onClick: to ? handleNavigation : handleAction,
    disableRipple: true
  }, /*#__PURE__*/React.createElement(ListItemGrid, null, children)) : /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
    title: tooltip,
    placement: "bottom",
    enterDelay: commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__.TOOLTIP_DELAY,
    enterNextDelay: commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__.TOOLTIP_DELAY
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "escoListViewListItem"
  }, /*#__PURE__*/React.createElement(ListItemGrid, null, children)));
};
ListItemBase.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  to: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

// ListItem has ListItemsActionsProvider for enabling interaction
// with list action menu.
const ListItem = (0,_ActionsProvider__WEBPACK_IMPORTED_MODULE_8__.withActionsProvider)(ListItemBase);

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemAction/ListItemAction.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemAction/ListItemAction.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemAction: () => (/* binding */ ListItemAction)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_NoPropagatation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/NoPropagatation */ "./modules/commons/components/NoPropagatation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




// Wrapper component for list items with actions such
// as buttons.
const ListItemAction = _ref => {
  let {
    xl = false,
    xs = 1,
    justifyContent = 'flex-start',
    noPropagation = true,
    children
  } = _ref;
  if (noPropagation) {
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
      size: {
        xs,
        xl
      }
    }, /*#__PURE__*/React.createElement(commons_components_NoPropagatation__WEBPACK_IMPORTED_MODULE_2__["default"], {
      justifyContent: justifyContent,
      display: "flex"
    }, children));
  }
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
    size: {
      xs,
      xl
    }
  }, children);
};
ListItemAction.propTypes = {
  xl: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  noPropagation: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemAction/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemAction/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemAction: () => (/* reexport safe */ _ListItemAction__WEBPACK_IMPORTED_MODULE_0__.ListItemAction)
/* harmony export */ });
/* harmony import */ var _ListItemAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemAction */ "./modules/commons/components/ListView/ListItem/ListItemAction/ListItemAction.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemActionIconButton/ListItemActionIconButton.js"
/*!***********************************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemActionIconButton/ListItemActionIconButton.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemActionIconButton: () => (/* binding */ ListItemActionIconButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _ListItemIconButton__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ListItemIconButton */ "./modules/commons/components/ListView/ListItem/ListItemIconButton/index.js");
/* harmony import */ var _ActionsProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../ActionsProvider */ "./modules/commons/components/ListView/ActionsProvider/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["action", "title", "disabled", "classes", "xs", "icon", "children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




// Component for list item icon buttons with actions.
// Enhances ListItemIconButton by providing an action for builtin handling of action dialog.
const ListItemActionIconButton = _ref => {
  let {
      action,
      title,
      disabled,
      classes,
      xs = 3,
      icon,
      children
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const {
    openActionDialog
  } = (0,_ActionsProvider__WEBPACK_IMPORTED_MODULE_3__.useActions)();
  const handleClick = () => openActionDialog(action);
  return /*#__PURE__*/React.createElement(_ListItemIconButton__WEBPACK_IMPORTED_MODULE_2__.ListItemIconButton, _extends({
    title: title,
    disabled: disabled,
    classes: classes,
    onClick: action && handleClick,
    xs: xs,
    highlightId: action === null || action === void 0 ? void 0 : action.highlightId
  }, rest), icon || children);
};
ListItemActionIconButton.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
  }),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  xs: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)]),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemActionIconButton/index.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemActionIconButton/index.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemActionIconButton: () => (/* reexport safe */ _ListItemActionIconButton__WEBPACK_IMPORTED_MODULE_0__.ListItemActionIconButton)
/* harmony export */ });
/* harmony import */ var _ListItemActionIconButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemActionIconButton */ "./modules/commons/components/ListView/ListItem/ListItemActionIconButton/ListItemActionIconButton.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.js"
/*!***************************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemActionsGroup: () => (/* binding */ ListItemActionsGroup)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Stack/Stack.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_NoPropagatation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/NoPropagatation */ "./modules/commons/components/NoPropagatation/index.js");
/* harmony import */ var commons_actions_hooks_useVisibleActions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/actions/hooks/useVisibleActions */ "./modules/commons/actions/hooks/useVisibleActions.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var _ActionsProvider__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../ActionsProvider */ "./modules/commons/components/ListView/ActionsProvider/index.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* harmony import */ var _ListItemActionsGroup_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ListItemActionsGroup.scss */ "./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["actions", "excludeActions", "xs", "xl", "iconWidth", "justifyContent"],
  _excluded2 = ["id", "icon", "highlightId", "disabled", "isVisible", "getProps", "Component"],
  _excluded3 = ["Component"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










const ActionItem = _ref => {
  let {
    action,
    label,
    tooltip,
    disabled,
    highlightId,
    icon,
    ariaControls,
    children
  } = _ref;
  const {
    openActionDialog
  } = (0,_ActionsProvider__WEBPACK_IMPORTED_MODULE_12__.useActions)();
  const handleClick = () => openActionDialog(action);
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__["default"], {
    title: tooltip || label
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    "aria-label": label,
    "aria-controls": ariaControls,
    "aria-haspopup": "true",
    onClick: handleClick,
    disabled: disabled,
    "data-highlight-id": highlightId
  }, icon || children)));
};
ActionItem.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
  ariaControls: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
const ListItemActionsGroup = _ref2 => {
  let {
      actions: initialActions,
      excludeActions = [],
      xs,
      xl,
      iconWidth = '40px',
      justifyContent = 'flex-end'
    } = _ref2,
    actionsParams = _objectWithoutProperties(_ref2, _excluded);
  const {
    nlsBundles
  } = (0,_hooks_useListView__WEBPACK_IMPORTED_MODULE_13__.useListView)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)(nlsBundles);
  const filteredActions = initialActions.filter(_ref3 => {
    let {
      id: actionId
    } = _ref3;
    return !excludeActions.includes(actionId);
  });
  const mergedActions = filteredActions.map(_ref4 => {
    let {
        id: actionId,
        icon,
        highlightId,
        disabled,
        isVisible,
        getProps,
        Component
      } = _ref4,
      action = _objectWithoutProperties(_ref4, _excluded2);
    const statefulProps = getProps ? getProps(actionsParams) : {};
    const mergedAction = _objectSpread(_objectSpread(_objectSpread(_objectSpread({
      nlsBundles
    }, action), actionsParams), statefulProps), {}, {
      id: actionId
    });
    return {
      id: actionId,
      Component,
      action: mergedAction,
      icon: icon || statefulProps.icon || (Component ? null : (0,commons_actions__WEBPACK_IMPORTED_MODULE_11__.getIconFromActionId)(actionId)),
      label: action.labelNlsKey ? translate(action.labelNlsKey) : '',
      tooltip: action.tooltipNlsKey ? translate(action.tooltipNlsKey) : '',
      highlightId,
      isVisible,
      disabled: disabled || statefulProps.disabled,
      translate
    };
  });
  const {
    actions,
    isLoading
  } = (0,commons_actions_hooks_useVisibleActions__WEBPACK_IMPORTED_MODULE_10__["default"])(mergedActions);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    container: true,
    justifyContent: justifyContent,
    alignItems: "center",
    size: {
      xs,
      xl
    }
  }, /*#__PURE__*/React.createElement(commons_components_NoPropagatation__WEBPACK_IMPORTED_MODULE_9__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    direction: "row",
    spacing: 1,
    useFlexGap: true
  }, !isLoading ? mergedActions.filter(actionItem => {
    return !excludeActions.includes(actionItem.id);
  }).map(actionItem => {
    if (actions.find(item => item.id === actionItem.id)) {
      if (actionItem.Component) {
        const {
            Component
          } = actionItem,
          rest = _objectWithoutProperties(actionItem, _excluded3);
        return /*#__PURE__*/React.createElement(Component, _extends({
          key: actionItem.id
        }, rest));
      }
      return /*#__PURE__*/React.createElement(ActionItem, _extends({
        key: actionItem.id
      }, actionItem));
    }
    return /*#__PURE__*/React.createElement("span", {
      key: actionItem.id,
      className: "escoListViewListItem__actionIcon--empty",
      style: {
        flexBasis: iconWidth
      }
    });
  }) : null)));
};
ListItemActionsGroup.propTypes = {
  actions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
  excludeActions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)),
  xl: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),
  iconWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemActionsGroup/index.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemActionsGroup/index.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemActionsGroup: () => (/* reexport safe */ _ListItemActionsGroup__WEBPACK_IMPORTED_MODULE_0__.ListItemActionsGroup)
/* harmony export */ });
/* harmony import */ var _ListItemActionsGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemActionsGroup */ "./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemButton/ListItemButton.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemButton/ListItemButton.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemButton: () => (/* binding */ ListItemButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _ListItemAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ListItemAction */ "./modules/commons/components/ListView/ListItem/ListItemAction/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["xs", "justifyContent", "variant", "label", "tooltip"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const ListItemButton = _ref => {
  let {
      xs,
      justifyContent,
      variant = 'text',
      label,
      tooltip
    } = _ref,
    buttonProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_ListItemAction__WEBPACK_IMPORTED_MODULE_4__.ListItemAction, {
    justifyContent: justifyContent,
    xs: xs
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__["default"], {
    title: tooltip
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    variant: variant
  }, buttonProps), label)));
};
ListItemButton.propTypes = {
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  variant: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemButton/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemButton/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemButton: () => (/* reexport safe */ _ListItemButton__WEBPACK_IMPORTED_MODULE_0__.ListItemButton)
/* harmony export */ });
/* harmony import */ var _ListItemButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemButton */ "./modules/commons/components/ListView/ListItem/ListItemButton/ListItemButton.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemButtonAction/ListItemButtonAction.js"
/*!***************************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemButtonAction/ListItemButtonAction.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemButtonAction: () => (/* binding */ ListItemButtonAction)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _ListItemAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ListItemAction */ "./modules/commons/components/ListView/ListItem/ListItemAction/index.js");
/* harmony import */ var _ActionsProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../ActionsProvider */ "./modules/commons/components/ListView/ActionsProvider/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["action", "ButtonComponent", "children", "justifyContent", "xs"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




// Component that associates a list item button component with an action dialog
const ListItemButtonAction = _ref => {
  let {
      action,
      ButtonComponent,
      children,
      justifyContent,
      xs
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const {
    openActionDialog
  } = (0,_ActionsProvider__WEBPACK_IMPORTED_MODULE_3__.useActions)();
  const handleClick = () => openActionDialog(action);
  return /*#__PURE__*/React.createElement(_ListItemAction__WEBPACK_IMPORTED_MODULE_2__.ListItemAction, {
    justifyContent: justifyContent,
    xs: xs
  }, /*#__PURE__*/React.createElement(ButtonComponent, _extends({
    onClick: action && handleClick
  }, rest), children));
};
ListItemButtonAction.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
  }),
  ButtonComponent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().elementType),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  xs: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)])
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemButtonAction/index.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemButtonAction/index.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemButtonAction: () => (/* reexport safe */ _ListItemButtonAction__WEBPACK_IMPORTED_MODULE_0__.ListItemButtonAction)
/* harmony export */ });
/* harmony import */ var _ListItemButtonAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemButtonAction */ "./modules/commons/components/ListView/ListItem/ListItemButtonAction/ListItemButtonAction.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemCheckbox/ListItemCheckbox.js"
/*!*******************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemCheckbox/ListItemCheckbox.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemCheckbox: () => (/* binding */ ListItemCheckbox),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _ListItemAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ListItemAction */ "./modules/commons/components/ListView/ListItem/ListItemAction/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const ListItemCheckbox = _ref => {
  let {
    ariaLabel,
    checked = false,
    value,
    disabled,
    onChange,
    tooltip
  } = _ref;
  return /*#__PURE__*/React.createElement(_ListItemAction__WEBPACK_IMPORTED_MODULE_3__.ListItemAction, {
    xs: 1
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__["default"], {
    title: tooltip
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    checked: checked,
    value: value,
    disabled: disabled,
    slotProps: {
      input: {
        'aria-label': `${ariaLabel} checkbox`
      }
    },
    onChange: onChange
  }))));
};
ListItemCheckbox.propTypes = {
  ariaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  checked: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItemCheckbox);

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemCheckbox/index.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemCheckbox/index.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemCheckbox: () => (/* reexport safe */ _ListItemCheckbox__WEBPACK_IMPORTED_MODULE_0__.ListItemCheckbox),
/* harmony export */   "default": () => (/* reexport safe */ _ListItemCheckbox__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ListItemCheckbox__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemCheckbox */ "./modules/commons/components/ListView/ListItem/ListItemCheckbox/ListItemCheckbox.js");



/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemGroup/ListItemGroup.js"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemGroup/ListItemGroup.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemGroup: () => (/* binding */ ListItemGroup)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["xl", "xs", "justifyContent", "children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



// Wrapper component for list items without actions such as tags
const ListItemGroup = _ref => {
  let {
      xl = false,
      xs = 1,
      justifyContent = 'flex-start',
      children
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    container: true,
    size: {
      xs,
      xl
    },
    justifyContent: justifyContent,
    alignItems: "center"
  }, props), children);
};
ListItemGroup.propTypes = {
  xl: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemGroup/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemGroup/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemGroup: () => (/* reexport safe */ _ListItemGroup__WEBPACK_IMPORTED_MODULE_0__.ListItemGroup)
/* harmony export */ });
/* harmony import */ var _ListItemGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemGroup */ "./modules/commons/components/ListView/ListItem/ListItemGroup/ListItemGroup.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemIcon: () => (/* binding */ ListItemIcon)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _ListItemIcon_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ListItemIcon.scss */ "./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const ListItemIcon = _ref => {
  let {
    xs = 1,
    justifyContent = 'center',
    Icon,
    icon = null,
    tooltip
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
    size: {
      xs
    },
    justifyContent: justifyContent
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    component: "span",
    className: "escoListItemIcon",
    justifyContent: justifyContent
  }, /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_2__["default"], {
    condition: Boolean(tooltip)
    // eslint-disable-next-line react/no-unstable-nested-components
    ,
    wrapper: children => /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__["default"], {
      title: tooltip
    }, children)
  }, Icon ? /*#__PURE__*/React.createElement(Icon, null) : icon)));
};
ListItemIcon.propTypes = {
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  Icon: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemIcon/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemIcon/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemIcon: () => (/* reexport safe */ _ListItemIcon__WEBPACK_IMPORTED_MODULE_0__.ListItemIcon)
/* harmony export */ });
/* harmony import */ var _ListItemIcon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemIcon */ "./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemIconButton/ListItemIconButton.js"
/*!***********************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemIconButton/ListItemIconButton.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemIconButton: () => (/* binding */ ListItemIconButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _ListItemAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ListItemAction */ "./modules/commons/components/ListView/ListItem/ListItemAction/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["ariaControls", "title", "onClick", "xs", "justifyContent", "disabled", "classes", "icon", "children", "edge", "highlightId"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





// List item component with icon button.
const ListItemIconButton = _ref => {
  let {
      ariaControls,
      title,
      onClick,
      xs,
      justifyContent,
      disabled,
      classes,
      icon,
      children,
      edge = 'end',
      highlightId
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_ListItemAction__WEBPACK_IMPORTED_MODULE_4__.ListItemAction, {
    justifyContent: justifyContent,
    xs: xs
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__["default"], {
    title: title
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    edge: edge,
    "aria-label": title,
    "aria-controls": ariaControls,
    "aria-haspopup": "true",
    classes: classes,
    onClick: onClick,
    disabled: disabled,
    "data-highlight-id": highlightId
  }, rest), icon || children))));
};
ListItemIconButton.propTypes = {
  ariaControls: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    root: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    button: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
  }),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  edge: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['start', 'end', false]),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemIconButton/index.js"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemIconButton/index.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemIconButton: () => (/* reexport safe */ _ListItemIconButton__WEBPACK_IMPORTED_MODULE_0__.ListItemIconButton)
/* harmony export */ });
/* harmony import */ var _ListItemIconButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemIconButton */ "./modules/commons/components/ListView/ListItem/ListItemIconButton/ListItemIconButton.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemOpenMenuButton/ListItemOpenMenuButton.js"
/*!*******************************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemOpenMenuButton/ListItemOpenMenuButton.js ***!
  \*******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemOpenMenuButton: () => (/* binding */ ListItemOpenMenuButton)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _ActionsMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../ActionsMenu */ "./modules/commons/components/ListView/ActionsMenu/index.js");
/* harmony import */ var _ListItemAction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ListItemAction */ "./modules/commons/components/ListView/ListItem/ListItemAction/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["justifyContent", "xs"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




// Standard list item action button to use together with ActionsMenu.
const ListItemOpenMenuButton = _ref => {
  let {
      justifyContent = 'flex-end',
      xs
    } = _ref,
    buttonProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_ListItemAction__WEBPACK_IMPORTED_MODULE_2__.ListItemAction, {
    xs: xs,
    justifyContent: justifyContent
  }, /*#__PURE__*/React.createElement(_ActionsMenu__WEBPACK_IMPORTED_MODULE_1__.OpenActionsMenuButton, buttonProps));
};
ListItemOpenMenuButton.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemOpenMenuButton/index.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemOpenMenuButton/index.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemOpenMenuButton: () => (/* reexport safe */ _ListItemOpenMenuButton__WEBPACK_IMPORTED_MODULE_0__.ListItemOpenMenuButton)
/* harmony export */ });
/* harmony import */ var _ListItemOpenMenuButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemOpenMenuButton */ "./modules/commons/components/ListView/ListItem/ListItemOpenMenuButton/ListItemOpenMenuButton.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemText: () => (/* binding */ ListItemText)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_router_RouterLink__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/router/RouterLink */ "./modules/commons/components/router/RouterLink/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _ListItemText_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ListItemText.scss */ "./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["primary", "secondary", "tags", "direction", "to", "xs", "xl", "classes", "maxPrimaryLength", "maxSecondaryLength"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







// List item component with different text styling for
// primary and secondary props.
// Navigation can be enabled by the to prop.
const ListItemText = _ref => {
  let {
      primary,
      secondary,
      tags = null,
      direction = 'column',
      to,
      xs = 3,
      xl = false,
      classes,
      maxPrimaryLength = 70,
      maxSecondaryLength = 70
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const isColumn = direction === 'column';
  const [primaryText, tooltipText] = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_8__.truncateLabel)(primary, maxPrimaryLength);
  const [secondaryText] = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_8__.truncateLabel)(secondary, maxSecondaryLength);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    size: {
      xs,
      xl
    },
    component: to ? commons_components_router_RouterLink__WEBPACK_IMPORTED_MODULE_5__["default"] : null,
    to: to,
    className: "escoListViewListItemTextGrid"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_9__["default"], {
    title: tooltipText
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({
    classes: _objectSpread({
      root: 'escoListViewListItemText'
    }, classes),
    style: {
      flexDirection: direction,
      [isColumn ? 'justifyContent' : 'alignItems']: 'center'
    },
    primary: primaryText,
    secondary: secondaryText,
    slotProps: {
      primary: {
        classes: {
          root: 'escoListViewListItemText__primary'
        }
      },
      secondary: {
        classes: {
          root: isColumn ? 'escoListViewListItemText__secondary' : 'escoListViewListItemText__secondary--margin-left'
        }
      }
    }
  }, props))), tags);
};
ListItemText.propTypes = {
  direction: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  primary: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  secondary: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)]),
  tags: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  to: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  xs: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)]),
  xl: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)]),
  maxPrimaryLength: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  maxSecondaryLength: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  classes: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};

/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemText/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemText/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemText: () => (/* reexport safe */ _ListItemText__WEBPACK_IMPORTED_MODULE_0__.ListItemText)
/* harmony export */ });
/* harmony import */ var _ListItemText__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItemText */ "./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/index.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItem: () => (/* reexport safe */ _ListItem__WEBPACK_IMPORTED_MODULE_0__.ListItem)
/* harmony export */ });
/* harmony import */ var _ListItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListItem */ "./modules/commons/components/ListView/ListItem/ListItem.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListPagination/ListPagination.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListPagination/ListPagination.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListPagination: () => (/* binding */ ListPagination)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_Pagination__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/Pagination */ "./modules/commons/components/Pagination/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _hooks_useListModel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/useListModel */ "./modules/commons/components/ListView/hooks/useListModel.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["rowsPerPageOptions"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const ListPagination = _ref => {
  let {
      rowsPerPageOptions = [3, 5, 10, 15, 20]
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const [{
    page,
    limit
  }, dispatch] = (0,_hooks_useListModel__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const {
    size,
    status
  } = (0,_hooks_useListView__WEBPACK_IMPORTED_MODULE_8__.useListView)();
  const handleChangeRowsPerPage = event => {
    dispatch({
      type: _hooks_useListModel__WEBPACK_IMPORTED_MODULE_7__.LIMIT,
      value: parseInt(event.target.value, 10)
    });
  };
  if (size < 1 || status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__.PENDING || status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__.REJECTED || typeof page !== 'number') return null;
  return /*#__PURE__*/React.createElement(commons_components_Pagination__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({}, rest, {
    rowsPerPage: limit,
    onRowsPerPageChange: handleChangeRowsPerPage,
    count: size,
    page: page,
    rowsPerPageOptions: rowsPerPageOptions,
    onPageChange: (_, newPage) => dispatch({
      type: _hooks_useListModel__WEBPACK_IMPORTED_MODULE_7__.PAGINATE,
      value: newPage
    })
  }));
};
ListPagination.propTypes = {
  rowsPerPageOptions: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_6___default().number))
};

/***/ },

/***/ "./modules/commons/components/ListView/ListPagination/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/ListView/ListPagination/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListPagination: () => (/* reexport safe */ _ListPagination__WEBPACK_IMPORTED_MODULE_0__.ListPagination)
/* harmony export */ });
/* harmony import */ var _ListPagination__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListPagination */ "./modules/commons/components/ListView/ListPagination/ListPagination.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListPlaceholder: () => (/* binding */ ListPlaceholder)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material_List__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material/List */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/List.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* harmony import */ var _ListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ListPlaceholder.scss */ "./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const EmptyListWarning = () => {
  const {
    nlsBundles
  } = (0,_hooks_useListView__WEBPACK_IMPORTED_MODULE_5__.useListView)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(nlsBundles);
  return translate('emptyListWarning');
};
const ListPlaceholder = _ref => {
  let {
    Icon = _mui_icons_material_List__WEBPACK_IMPORTED_MODULE_2__["default"],
    label,
    children,
    className = '',
    variant = 'view'
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: variant,
    label: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
      className: "escoListViewPlaceholder__text",
      variant: "body1"
    }, label || /*#__PURE__*/React.createElement(EmptyListWarning, null)),
    icon: /*#__PURE__*/React.createElement(Icon, {
      classes: {
        root: 'escoListViewPlaceholder__icon'
      }
    }),
    className: className
  }, children);
};
ListPlaceholder.propTypes = {
  Icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().elementType),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['compact', 'dialog', 'list'])
};

/***/ },

/***/ "./modules/commons/components/ListView/ListPlaceholder/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/ListView/ListPlaceholder/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListPlaceholder: () => (/* reexport safe */ _ListPlaceholder__WEBPACK_IMPORTED_MODULE_0__.ListPlaceholder)
/* harmony export */ });
/* harmony import */ var _ListPlaceholder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListPlaceholder */ "./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListSearch/ListSearch.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/ListView/ListSearch/ListSearch.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListSearch: () => (/* binding */ ListSearch)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _hooks_useListModel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/useListModel */ "./modules/commons/components/ListView/hooks/useListModel.js");
/* harmony import */ var _ListSearchField__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ListSearchField */ "./modules/commons/components/ListView/ListSearch/ListSearchField/index.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* harmony import */ var _utils_listQueryUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/listQueryUtils */ "./modules/commons/components/ListView/utils/listQueryUtils.js");
/* harmony import */ var _ListSearch_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ListSearch.scss */ "./modules/commons/components/ListView/ListSearch/ListSearch.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
















/**
 *
 * @param {string} search
 * @param {number} resultsSize
 * @returns {Object}
 */
const useSearchMessage = (search, resultsSize) => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  const minimumSearchLength = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('minimumSearchLength');
  const getSearchMessage = () => {
    const searchLength = search.trim().length;
    const getMessage = function getMessage() {
      let message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
      let status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'info';
      return {
        message,
        status
      };
    };

    // Early exit if no search
    if (!searchLength) return getMessage();
    // Message when invalid char have been entered
    if (!(0,_utils_listQueryUtils__WEBPACK_IMPORTED_MODULE_13__.isSearchValid)(search)) return getMessage(translate('invalidSearchMessage'), 'error');
    // Message when minimum amount chars havn't been entered
    if (searchLength > 0 && searchLength < minimumSearchLength) return getMessage(translate('listSearchTitle'));
    // Message when there's a search result
    if (searchLength >= 3 && resultsSize > 0) return getMessage(translate('listResultSizeText', resultsSize === null || resultsSize === void 0 ? void 0 : resultsSize.toString()));
    // Default message
    return getMessage();
  };
  return getSearchMessage();
};
const ListSearch = _ref => {
  let {
    disabled
  } = _ref;
  const [{
    search
  }, dispatch] = (0,_hooks_useListModel__WEBPACK_IMPORTED_MODULE_10__.useListModel)();
  const {
    size,
    status: queryStatus
  } = (0,_hooks_useListView__WEBPACK_IMPORTED_MODULE_12__.useListView)();
  const {
    message,
    status
  } = useSearchMessage(search, size);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default())]);
  const isLoading = queryStatus === 'pending';
  return /*#__PURE__*/React.createElement("div", {
    className: "escoListViewSearch"
  }, /*#__PURE__*/React.createElement(_ListSearchField__WEBPACK_IMPORTED_MODULE_11__.ListSearchField, {
    search: search,
    placeholder: translate('search'),
    dispatch: dispatch,
    disabled: disabled
  }), /*#__PURE__*/React.createElement("div", {
    role: "status",
    className: status === 'error' ? 'escoListViewSearch--failed' : ''
  }, !disabled && !isLoading ? message : null));
};
ListSearch.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.js"
/*!*******************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListSearchField: () => (/* binding */ ListSearchField)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Clear.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var _mui_styles__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/styles */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/makeStyles.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _hooks_useListModel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/useListModel */ "./modules/commons/components/ListView/hooks/useListModel.js");
/* harmony import */ var _ListSearchField_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ListSearchField.scss */ "./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const placeholderStyles = {
  opacity: 1
};

// currently seems hard to fix by pure css solution
const useStyles = (0,_mui_styles__WEBPACK_IMPORTED_MODULE_9__["default"])({
  input: {
    '&::-webkit-input-placeholder': placeholderStyles,
    '&::-moz-placeholder': placeholderStyles,
    '&:-ms-input-placeholder': placeholderStyles,
    // Firefox 19+
    '&::-ms-input-placeholder': placeholderStyles // IE 11
  }
});
const ListSearchField = _ref => {
  let {
    disabled = false,
    placeholder,
    search,
    dispatch
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default())]);
  const classes = useStyles();
  return /*#__PURE__*/React.createElement("div", {
    className: "escoListViewSearchField",
    "data-highlight-id": "listViewSearchField"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    disabled: disabled,
    value: search,
    classes: {
      root: 'escoListViewSearchField__input',
      focused: 'escoListViewSearchField__input--focused',
      input: classes.input
    },
    placeholder: placeholder,
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return dispatch({
        type: 'SEARCH',
        value: target.value
      });
    },
    fullWidth: true,
    inputProps: {
      'aria-label': 'Search'
    },
    startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      position: "start",
      classes: {
        root: `escoListViewSearchField__adornment${disabled ? '--disabled' : ''}`
      }
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null)),
    endAdornment: search ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      position: "end"
    }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
      title: t('clear')
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      "aria-label": t('clear'),
      onClick: () => dispatch({
        type: _hooks_useListModel__WEBPACK_IMPORTED_MODULE_12__.CLEAR_SEARCH
      }),
      onMouseDown: event => event.preventDefault(),
      color: "secondary"
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null)))) : null
  }));
};
ListSearchField.propTypes = {
  placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  search: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};

/***/ },

/***/ "./modules/commons/components/ListView/ListSearch/ListSearchField/index.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListSearch/ListSearchField/index.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListSearchField: () => (/* reexport safe */ _ListSearchField__WEBPACK_IMPORTED_MODULE_0__.ListSearchField)
/* harmony export */ });
/* harmony import */ var _ListSearchField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListSearchField */ "./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.js");


/***/ },

/***/ "./modules/commons/components/ListView/ListSearch/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/ListView/ListSearch/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListSearch: () => (/* reexport safe */ _ListSearch__WEBPACK_IMPORTED_MODULE_0__.ListSearch),
/* harmony export */   ListSearchField: () => (/* reexport safe */ _ListSearchField__WEBPACK_IMPORTED_MODULE_1__.ListSearchField)
/* harmony export */ });
/* harmony import */ var _ListSearch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListSearch */ "./modules/commons/components/ListView/ListSearch/ListSearch.js");
/* harmony import */ var _ListSearchField__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ListSearchField */ "./modules/commons/components/ListView/ListSearch/ListSearchField/index.js");



/***/ },

/***/ "./modules/commons/components/ListView/ListView.js"
/*!*********************************************************!*\
  !*** ./modules/commons/components/ListView/ListView.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListView: () => (/* binding */ ListView)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _ListPlaceholder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ListPlaceholder */ "./modules/commons/components/ListView/ListPlaceholder/index.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");








// To create a list view, both the ListView component and a list model provider
// must be included for state handling in list view components. The list view
// receives props that are shared by many of its children, for example
// nlsBundles and props that usually are the result from an async call, such as
// size and status. The hook useListview is used to read these props.
// To show a placeholder when the list view is empty, a renderPlaceholder
// function must be provided.
const ListView = _ref => {
  let {
    renderPlaceholder = Placeholder => /*#__PURE__*/React.createElement(Placeholder, null),
    showPlaceholder = true,
    nlsBundles = (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default()),
    search = '',
    size,
    status,
    children
  } = _ref;
  const isEmpty = search.length === 0 && size === 0;
  return /*#__PURE__*/React.createElement(_hooks_useListView__WEBPACK_IMPORTED_MODULE_6__.ListViewContext.Provider, {
    value: {
      search,
      size,
      status,
      nlsBundles
    }
  }, isEmpty && status === 'resolved' && showPlaceholder && renderPlaceholder ? renderPlaceholder(_ListPlaceholder__WEBPACK_IMPORTED_MODULE_5__.ListPlaceholder) : children);
};
ListView.propTypes = {
  renderPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  search: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  showPlaceholder: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  status: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType,
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};

/***/ },

/***/ "./modules/commons/components/ListView/hooks/useFetchEntries.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/ListView/hooks/useFetchEntries.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SOLR_DELAY: () => (/* binding */ SOLR_DELAY),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useFetchEntries: () => (/* binding */ useFetchEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useDebounce */ "./modules/commons/hooks/useDebounce.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const initialState = {
  entries: [],
  size: -1,
  searchQueryString: ''
};
const SOLR_DELAY = 1500;

/**
 * Hook that runs provided fetchEntries function.
 * @param {function} fetchEntries
 * @returns {Object}
 */
const useFetchEntries = _ref => {
  let {
    fetchEntries,
    delay = 300,
    refreshCount
  } = _ref;
  const {
    data: entriesResults,
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])({
    data: initialState
  });
  const debouncedFetchEntries = (0,commons_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_3__["default"])(callback => runAsync(callback()), delay);
  const initialFetch = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(true);
  const previousRefreshCount = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(0);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    /* 
      To trigger refresh, refreshCount is increased after refresh,
      create or delete.
      Entries will be fetched using a delay because of solr reindexing. Since
      the delay is for a single fetch and with a specific delay, debounce is not
      used.     
    */
    if (refreshCount !== previousRefreshCount.current) {
      previousRefreshCount.current = refreshCount;
      runAsync((async () => {
        await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_5__["default"])(SOLR_DELAY);
        return fetchEntries();
      })());
      return;
    }

    /*
      Initial fetch should not have a delay or use debounce, since it's a single
      fetch and no typing is being made at this point.
     */
    if (initialFetch.current) {
      runAsync(fetchEntries());
      initialFetch.current = false;
      return;
    }
    /*
      Debounce queries to prevent multiple queries while typing during search. 
     */
    debouncedFetchEntries(fetchEntries);
  }, [fetchEntries, debouncedFetchEntries, refreshCount, runAsync]);
  return _objectSpread(_objectSpread({}, entriesResults), {}, {
    status
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useFetchEntries);

/***/ },

/***/ "./modules/commons/components/ListView/hooks/useFilterListActions.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/ListView/hooks/useFilterListActions.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getIncludeEdit: () => (/* binding */ getIncludeEdit),
/* harmony export */   useFilterListActions: () => (/* binding */ useFilterListActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/actions/actionIds */ "./modules/commons/actions/actionIds.js");

const _excluded = ["id", "isVisible", "labelNlsKey", "tooltipNlsKey", "tooltip", "getNLSParam"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





/**
 * Checks whether the edit action has been excluded via list props
 *
 * @param {object} listProps
 * @returns {boolean}
 */
const getIncludeEdit = listProps => {
  var _listProps$excludeAct;
  return !((_listProps$excludeAct = listProps.excludeActions) !== null && _listProps$excludeAct !== void 0 && _listProps$excludeAct.includes(commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_4__.ACTION_EDIT_ID));
};
const useFilterListActions = _ref => {
  let {
    listActions,
    listActionsProps,
    excludeActions,
    nlsBundles
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)(nlsBundles);
  return listActions.filter(_ref2 => {
    let {
      id
    } = _ref2;
    return !excludeActions.includes(id);
  }).filter(_ref3 => {
    let {
      isVisible
    } = _ref3;
    return isVisible ? isVisible(listActionsProps) : true;
  }).map(_ref4 => {
    let {
        id,
        isVisible,
        labelNlsKey,
        tooltipNlsKey,
        tooltip,
        getNLSParam
      } = _ref4,
      props = _objectWithoutProperties(_ref4, _excluded);
    return _objectSpread(_objectSpread(_objectSpread({
      id
    }, labelNlsKey ? {
      label: translate(labelNlsKey)
    } : {}), {}, {
      icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_3__.getIconFromActionId)(id),
      tooltip: tooltip || (tooltipNlsKey ? translate(tooltipNlsKey, getNLSParam === null || getNLSParam === void 0 ? void 0 : getNLSParam(listActionsProps === null || listActionsProps === void 0 ? void 0 : listActionsProps.actionParams)) : undefined)
    }, props), listActionsProps);
  });
};

/***/ },

/***/ "./modules/commons/components/ListView/hooks/useListModel.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/ListView/hooks/useListModel.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CLEAR_FILTER: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.CLEAR_FILTER),
/* harmony export */   CLEAR_SEARCH: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.CLEAR_SEARCH),
/* harmony export */   CREATE: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.CREATE),
/* harmony export */   DELETE: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.DELETE),
/* harmony export */   FILTER: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.FILTER),
/* harmony export */   LIMIT: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.LIMIT),
/* harmony export */   LIST_MODEL_DEFAULT_VALUE: () => (/* binding */ LIST_MODEL_DEFAULT_VALUE),
/* harmony export */   ListModelProvider: () => (/* binding */ ListModelProvider),
/* harmony export */   PAGINATE: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.PAGINATE),
/* harmony export */   REFRESH: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.REFRESH),
/* harmony export */   REFRESH_AND_CLEAR: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.REFRESH_AND_CLEAR),
/* harmony export */   RERENDER: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.RERENDER),
/* harmony export */   RESET: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.RESET),
/* harmony export */   SEARCH: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.SEARCH),
/* harmony export */   SORT: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.SORT),
/* harmony export */   TOGGLE_FILTERS: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.TOGGLE_FILTERS),
/* harmony export */   TOGGLE_TABLEVIEW: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.TOGGLE_TABLEVIEW),
/* harmony export */   useListModel: () => (/* binding */ useListModel),
/* harmony export */   withListModelProvider: () => (/* binding */ withListModelProvider),
/* harmony export */   withListModelProviderAndLocation: () => (/* binding */ withListModelProviderAndLocation),
/* harmony export */   withListRefresh: () => (/* binding */ withListRefresh),
/* harmony export */   withListRerender: () => (/* binding */ withListRerender)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_router_useLocationState__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/router/useLocationState */ "./modules/commons/components/router/useLocationState.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/actions/actionTypes */ "./modules/commons/actions/actionTypes.js");
/* harmony import */ var commons_actions_hocs_withActionCallback__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/actions/hocs/withActionCallback */ "./modules/commons/actions/hocs/withActionCallback.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const ListModelContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_6__.createContext)();
const LIST_MODEL_DEFAULT_VALUE = {
  page: 0,
  sort: {
    field: 'modified',
    order: 'desc'
  },
  search: '',
  refreshCount: 0,
  showTableView: false,
  showFilters: false,
  limit: 10,
  filter: {}
};
const listModelReducer = (state, action) => {
  switch (action.type) {
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.SEARCH:
      return _objectSpread(_objectSpread({}, state), {}, {
        search: action.value,
        page: 0
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.CLEAR_SEARCH:
      return _objectSpread(_objectSpread({}, state), {}, {
        search: ''
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.FILTER:
      return _objectSpread(_objectSpread({}, state), {}, {
        filter: _objectSpread(_objectSpread({}, state.filter), action.filter),
        page: 0,
        refreshCount: state.refreshCount + 1 // increase to trigger new query
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.CLEAR_FILTER:
      return _objectSpread(_objectSpread({}, state), {}, {
        page: 0,
        filter: {}
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.PAGINATE:
      return _objectSpread(_objectSpread({}, state), {}, {
        page: action.value
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.LIMIT:
      return _objectSpread(_objectSpread({}, state), {}, {
        page: 0,
        limit: action.value
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.SORT:
      return _objectSpread(_objectSpread({}, state), {}, {
        sort: action.value,
        page: 0
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.REFRESH:
      return _objectSpread(_objectSpread({}, state), {}, {
        refreshCount: state.refreshCount + 1,
        // increase to trigger refresh
        page: 0
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.REFRESH_AND_CLEAR:
      return _objectSpread(_objectSpread({}, state), {}, {
        refreshCount: state.refreshCount + 1,
        search: '',
        page: 0
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.RERENDER:
      // action to trigger rerender by making shallow copy of state
      return _objectSpread({}, state);
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.CREATE:
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.DELETE:
      return _objectSpread(_objectSpread({}, state), {}, {
        refreshCount: state.refreshCount + 1 // increase to trigger refresh
      });
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.RESET:
      {
        const initialState = (action === null || action === void 0 ? void 0 : action.value) || LIST_MODEL_DEFAULT_VALUE;
        return _objectSpread({}, initialState);
      }
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.TOGGLE_TABLEVIEW:
      {
        return _objectSpread(_objectSpread({}, state), {}, {
          showTableView: !state.showTableView
        });
      }
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.TOGGLE_FILTERS:
      {
        var _action$value;
        return _objectSpread(_objectSpread({}, state), {}, {
          showFilters: (_action$value = action.value) !== null && _action$value !== void 0 ? _action$value : !state.showFilters
        });
      }
    default:
      throw new Error(`${action.type} is not a valid list action type`);
  }
};

// ListModelProvider is required to use ListView. It handles the common ui
// states for list view components, for example search and sorting. The
// useListModel hook is used to access state och dispatch updates.
// Recommended way to add the provider to a list view is by the
// withListModelProvider hoc. For example like this:
// withListModelProvider(ListViewExample)
const ListModelProvider = _ref => {
  let {
    children,
    initialValue = LIST_MODEL_DEFAULT_VALUE
  } = _ref;
  const [listModel, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useReducer)(listModelReducer, initialValue);
  return /*#__PURE__*/React.createElement(ListModelContext.Provider, {
    value: [listModel, dispatch]
  }, children);
};
ListModelProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().node),
  initialValue: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({})
};

// The useListModel hook is used to get the list model context,
// in order to access state and dispatch function in a list view.
const useListModel = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(ListModelContext);
  if (context === undefined) throw new Error('ListModel context must be used within context provider');
  return context;
};

// hoc to add ListModelProvider to a list view
const withListModelProvider = function withListModelProvider(Component) {
  let getInitialValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => ({});
  return props => /*#__PURE__*/React.createElement(ListModelProvider, {
    initialValue: _objectSpread(_objectSpread({}, LIST_MODEL_DEFAULT_VALUE), getInitialValue())
  }, /*#__PURE__*/React.createElement(Component, props));
};

/**
 * Get initial list model state from location.
 *
 * @param {object} locationState
 * @returns {object}
 */
const getInitialValueFromLocation = locationState => {
  if (!locationState) return {};
  return ['search', 'page', 'limit', 'filter'].reduce((state, nextProp) => {
    if (nextProp in locationState) {
      state[nextProp] = locationState[nextProp];
    }
    return state;
  }, {});
};
const LocationState = _ref2 => {
  let {
    children
  } = _ref2;
  const [{
    search,
    page,
    limit,
    filter
  }] = useListModel();
  const {
    setLocationState
  } = (0,commons_components_router_useLocationState__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const isMounting = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(true);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (isMounting.current) {
      isMounting.current = false;
      return;
    }
    setLocationState({
      search,
      page,
      limit,
      filter
    });
  }, [search, page, filter, limit, setLocationState]);
  return children;
};
const withListModelProviderAndLocation = function withListModelProviderAndLocation(Component) {
  let getInitialValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => ({});
  const ListModelProviderWrapper = props => {
    const {
      locationState
    } = (0,commons_components_router_useLocationState__WEBPACK_IMPORTED_MODULE_7__["default"])();
    return /*#__PURE__*/React.createElement(ListModelProvider, {
      initialValue: _objectSpread(_objectSpread(_objectSpread({}, LIST_MODEL_DEFAULT_VALUE), getInitialValue()), getInitialValueFromLocation(locationState))
    }, /*#__PURE__*/React.createElement(LocationState, null, /*#__PURE__*/React.createElement(Component, props)));
  };
  return ListModelProviderWrapper;
};
const withListRefresh = (Dialog, callbackName) => (0,commons_actions_hocs_withActionCallback__WEBPACK_IMPORTED_MODULE_10__["default"])(useListModel, Dialog, callbackName, commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.REFRESH);
const withListRerender = (Dialog, callbackName) => (0,commons_actions_hocs_withActionCallback__WEBPACK_IMPORTED_MODULE_10__["default"])(useListModel, Dialog, callbackName, commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_9__.RERENDER);

/***/ },

/***/ "./modules/commons/components/ListView/hooks/useListQuery.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/ListView/hooks/useListQuery.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useListQuery: () => (/* binding */ useListQuery)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _utils_ListQuery__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/ListQuery */ "./modules/commons/components/ListView/utils/ListQuery.js");
/* harmony import */ var _useListModel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./useListModel */ "./modules/commons/components/ListView/hooks/useListModel.js");









/**
 * Hook for client side list querying
 *
 * @param {object} listQueryParams
 * @param {object[]} listQueryParams.items
 * @param {string[]} listQueryParams.searchFields
 * @returns {object}
 */
const useListQuery = _ref => {
  let {
    items,
    searchFields
  } = _ref;
  const [{
    search,
    page,
    sort,
    limit
  }] = (0,_useListModel__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const listQuery = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    return new _utils_ListQuery__WEBPACK_IMPORTED_MODULE_6__.ListQuery({
      items,
      rowsPerPage: limit
    }).search(search, searchFields).sort(sort);
  }, [items, search, limit, sort, searchFields]);
  const listQueryObject = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    return {
      size: listQuery.getSize(),
      result: listQuery.getResult(page),
      search
    };
  }, [listQuery, page, search]);
  if (!items) return {
    size: -1,
    result: [],
    search: ''
  };
  return listQueryObject;
};

/***/ },

/***/ "./modules/commons/components/ListView/hooks/useListView.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/ListView/hooks/useListView.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListViewContext: () => (/* binding */ ListViewContext),
/* harmony export */   useListView: () => (/* binding */ useListView)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const ListViewContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)();

// Hook to read common props provided to the list view.
const useListView = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ListViewContext);
  if (context === undefined) {
    throw new Error('List view components must have a list view provider');
  }
  return context;
};

/***/ },

/***/ "./modules/commons/components/ListView/hooks/useSolrSearch.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/ListView/hooks/useSolrSearch.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useSolrSearch: () => (/* binding */ useSolrSearch)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var _useFetchEntries__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./useFetchEntries */ "./modules/commons/components/ListView/hooks/useFetchEntries.js");
/* harmony import */ var _useListModel__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./useListModel */ "./modules/commons/components/ListView/hooks/useListModel.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }













/**
 * useSolrSearch is meant to be used together with a list view.
 * Changes in ui state, read from the list model provider, triggers
 * creating and running new solr queries.
 * Note that the ui state in the list model is independent of the result from
 * the solr query in this hook.
 * The hook first creates the query function and then runs it.
 * @param {function} createQuery
 * @param {function} applyQueryParams
 * @param {function} runQuery
 * @returns {Object}
 */
const useSolrSearch = _ref => {
  let {
    createQuery,
    applyQueryParams = commons_util_solr__WEBPACK_IMPORTED_MODULE_9__.applyQueryParams,
    runQuery = commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_8__.simpleFetchEntries,
    minimumSearchLength = 3
  } = _ref;
  // get the ui list state for the query
  const [{
    page,
    search,
    sort,
    refreshCount,
    limit
  }] = (0,_useListModel__WEBPACK_IMPORTED_MODULE_11__.useListModel)();
  /**
   * The search string that will be used in the solr query. If search is less
   * than minimumSearchLength, an empty search string should be applied.
   */
  const searchQueryString = search.trim().length < minimumSearchLength ? '' : search;

  /**
   * Creating the fetchEntries query. The function is recreated every time any
   * query param has changed, which will also trigger it to be run by the
   * useFetchEntries hook.
   */
  const fetchEntries = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(() => {
    const queryParams = {
      page,
      search: searchQueryString,
      sort,
      limit
    };
    const query = createQuery();
    applyQueryParams(query, queryParams);
    return runQuery(query, page).then(result => {
      return _objectSpread(_objectSpread({}, result), {}, {
        search: searchQueryString
      });
    });
  }, [applyQueryParams, createQuery, page, runQuery, searchQueryString, sort, limit]);

  // Running the fetchEntries query
  const queryResult = (0,_useFetchEntries__WEBPACK_IMPORTED_MODULE_10__.useFetchEntries)({
    fetchEntries,
    refreshCount
  });
  return queryResult;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSolrSearch);

/***/ },

/***/ "./modules/commons/components/ListView/index.js"
/*!******************************************************!*\
  !*** ./modules/commons/components/ListView/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ActionsMenu: () => (/* reexport safe */ _ActionsMenu__WEBPACK_IMPORTED_MODULE_0__.ActionsMenu),
/* harmony export */   ActionsProvider: () => (/* reexport safe */ _ActionsProvider__WEBPACK_IMPORTED_MODULE_1__.ActionsProvider),
/* harmony export */   CLEAR_FILTER: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.CLEAR_FILTER),
/* harmony export */   CLEAR_SEARCH: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.CLEAR_SEARCH),
/* harmony export */   CREATE: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.CREATE),
/* harmony export */   DELETE: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.DELETE),
/* harmony export */   FILTER: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.FILTER),
/* harmony export */   LIMIT: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.LIMIT),
/* harmony export */   LIST_MODEL_DEFAULT_VALUE: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.LIST_MODEL_DEFAULT_VALUE),
/* harmony export */   List: () => (/* reexport safe */ _List__WEBPACK_IMPORTED_MODULE_4__.List),
/* harmony export */   ListActionIconButton: () => (/* reexport safe */ _ListAction_ListActionIconButton__WEBPACK_IMPORTED_MODULE_6__.ListActionIconButton),
/* harmony export */   ListActions: () => (/* reexport safe */ _ListActions__WEBPACK_IMPORTED_MODULE_5__.ListActions),
/* harmony export */   ListHeader: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_19__.ListHeader),
/* harmony export */   ListHeaderItem: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_19__.ListHeaderItem),
/* harmony export */   ListHeaderItemSort: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_19__.ListHeaderItemSort),
/* harmony export */   ListHeaderItemText: () => (/* reexport safe */ _ListHeader__WEBPACK_IMPORTED_MODULE_19__.ListHeaderItemText),
/* harmony export */   ListItem: () => (/* reexport safe */ _ListItem__WEBPACK_IMPORTED_MODULE_7__.ListItem),
/* harmony export */   ListItemAction: () => (/* reexport safe */ _ListItem_ListItemAction__WEBPACK_IMPORTED_MODULE_8__.ListItemAction),
/* harmony export */   ListItemActionIconButton: () => (/* reexport safe */ _ListItem_ListItemActionIconButton__WEBPACK_IMPORTED_MODULE_9__.ListItemActionIconButton),
/* harmony export */   ListItemActionsGroup: () => (/* reexport safe */ _ListItem_ListItemActionsGroup__WEBPACK_IMPORTED_MODULE_12__.ListItemActionsGroup),
/* harmony export */   ListItemButton: () => (/* reexport safe */ _ListItem_ListItemButton__WEBPACK_IMPORTED_MODULE_10__.ListItemButton),
/* harmony export */   ListItemButtonAction: () => (/* reexport safe */ _ListItem_ListItemButtonAction__WEBPACK_IMPORTED_MODULE_11__.ListItemButtonAction),
/* harmony export */   ListItemCheckbox: () => (/* reexport safe */ _ListItem_ListItemCheckbox__WEBPACK_IMPORTED_MODULE_18__.ListItemCheckbox),
/* harmony export */   ListItemGroup: () => (/* reexport safe */ _ListItem_ListItemGroup__WEBPACK_IMPORTED_MODULE_13__.ListItemGroup),
/* harmony export */   ListItemIcon: () => (/* reexport safe */ _ListItem_ListItemIcon__WEBPACK_IMPORTED_MODULE_14__.ListItemIcon),
/* harmony export */   ListItemIconButton: () => (/* reexport safe */ _ListItem_ListItemIconButton__WEBPACK_IMPORTED_MODULE_15__.ListItemIconButton),
/* harmony export */   ListItemOpenMenuButton: () => (/* reexport safe */ _ListItem_ListItemOpenMenuButton__WEBPACK_IMPORTED_MODULE_16__.ListItemOpenMenuButton),
/* harmony export */   ListItemText: () => (/* reexport safe */ _ListItem_ListItemText__WEBPACK_IMPORTED_MODULE_17__.ListItemText),
/* harmony export */   ListModelProvider: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.ListModelProvider),
/* harmony export */   ListPagination: () => (/* reexport safe */ _ListPagination__WEBPACK_IMPORTED_MODULE_3__.ListPagination),
/* harmony export */   ListPlaceholder: () => (/* reexport safe */ _ListPlaceholder__WEBPACK_IMPORTED_MODULE_20__.ListPlaceholder),
/* harmony export */   ListSearch: () => (/* reexport safe */ _ListSearch__WEBPACK_IMPORTED_MODULE_21__.ListSearch),
/* harmony export */   ListSearchField: () => (/* reexport safe */ _ListSearch__WEBPACK_IMPORTED_MODULE_21__.ListSearchField),
/* harmony export */   ListView: () => (/* reexport safe */ _ListView__WEBPACK_IMPORTED_MODULE_2__.ListView),
/* harmony export */   ListViewContext: () => (/* reexport safe */ _hooks_useListView__WEBPACK_IMPORTED_MODULE_25__.ListViewContext),
/* harmony export */   OpenActionsMenuButton: () => (/* reexport safe */ _ActionsMenu__WEBPACK_IMPORTED_MODULE_0__.OpenActionsMenuButton),
/* harmony export */   PAGINATE: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.PAGINATE),
/* harmony export */   REFRESH: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.REFRESH),
/* harmony export */   REFRESH_AND_CLEAR: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.REFRESH_AND_CLEAR),
/* harmony export */   RERENDER: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.RERENDER),
/* harmony export */   RESET: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.RESET),
/* harmony export */   SEARCH: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.SEARCH),
/* harmony export */   SOLR_DELAY: () => (/* reexport safe */ _hooks_useFetchEntries__WEBPACK_IMPORTED_MODULE_22__.SOLR_DELAY),
/* harmony export */   SORT: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.SORT),
/* harmony export */   TOGGLE_FILTERS: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.TOGGLE_FILTERS),
/* harmony export */   TOGGLE_TABLEVIEW: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.TOGGLE_TABLEVIEW),
/* harmony export */   excludeActionsPropType: () => (/* reexport safe */ _utils_propTypes__WEBPACK_IMPORTED_MODULE_28__.excludeActionsPropType),
/* harmony export */   getIncludeEdit: () => (/* reexport safe */ _hooks_useFilterListActions__WEBPACK_IMPORTED_MODULE_27__.getIncludeEdit),
/* harmony export */   listPropsPropType: () => (/* reexport safe */ _utils_propTypes__WEBPACK_IMPORTED_MODULE_28__.listPropsPropType),
/* harmony export */   useActions: () => (/* reexport safe */ _ActionsProvider__WEBPACK_IMPORTED_MODULE_1__.useActions),
/* harmony export */   useFetchEntries: () => (/* reexport safe */ _hooks_useFetchEntries__WEBPACK_IMPORTED_MODULE_22__.useFetchEntries),
/* harmony export */   useFilterListActions: () => (/* reexport safe */ _hooks_useFilterListActions__WEBPACK_IMPORTED_MODULE_27__.useFilterListActions),
/* harmony export */   useListModel: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.useListModel),
/* harmony export */   useListQuery: () => (/* reexport safe */ _hooks_useListQuery__WEBPACK_IMPORTED_MODULE_24__.useListQuery),
/* harmony export */   useListView: () => (/* reexport safe */ _hooks_useListView__WEBPACK_IMPORTED_MODULE_25__.useListView),
/* harmony export */   useSolrSearch: () => (/* reexport safe */ _hooks_useSolrSearch__WEBPACK_IMPORTED_MODULE_26__.useSolrSearch),
/* harmony export */   withActionsProvider: () => (/* reexport safe */ _ActionsProvider__WEBPACK_IMPORTED_MODULE_1__.withActionsProvider),
/* harmony export */   withListModelProvider: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.withListModelProvider),
/* harmony export */   withListModelProviderAndLocation: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.withListModelProviderAndLocation),
/* harmony export */   withListRefresh: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.withListRefresh),
/* harmony export */   withListRerender: () => (/* reexport safe */ _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__.withListRerender)
/* harmony export */ });
/* harmony import */ var _ActionsMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActionsMenu */ "./modules/commons/components/ListView/ActionsMenu/index.js");
/* harmony import */ var _ActionsProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ActionsProvider */ "./modules/commons/components/ListView/ActionsProvider/index.js");
/* harmony import */ var _ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ListView */ "./modules/commons/components/ListView/ListView.js");
/* harmony import */ var _ListPagination__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListPagination */ "./modules/commons/components/ListView/ListPagination/index.js");
/* harmony import */ var _List__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./List */ "./modules/commons/components/ListView/List/index.js");
/* harmony import */ var _ListActions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ListActions */ "./modules/commons/components/ListView/ListActions/index.js");
/* harmony import */ var _ListAction_ListActionIconButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ListAction/ListActionIconButton */ "./modules/commons/components/ListView/ListAction/ListActionIconButton/index.js");
/* harmony import */ var _ListItem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ListItem */ "./modules/commons/components/ListView/ListItem/index.js");
/* harmony import */ var _ListItem_ListItemAction__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ListItem/ListItemAction */ "./modules/commons/components/ListView/ListItem/ListItemAction/index.js");
/* harmony import */ var _ListItem_ListItemActionIconButton__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ListItem/ListItemActionIconButton */ "./modules/commons/components/ListView/ListItem/ListItemActionIconButton/index.js");
/* harmony import */ var _ListItem_ListItemButton__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ListItem/ListItemButton */ "./modules/commons/components/ListView/ListItem/ListItemButton/index.js");
/* harmony import */ var _ListItem_ListItemButtonAction__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ListItem/ListItemButtonAction */ "./modules/commons/components/ListView/ListItem/ListItemButtonAction/index.js");
/* harmony import */ var _ListItem_ListItemActionsGroup__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ListItem/ListItemActionsGroup */ "./modules/commons/components/ListView/ListItem/ListItemActionsGroup/index.js");
/* harmony import */ var _ListItem_ListItemGroup__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ListItem/ListItemGroup */ "./modules/commons/components/ListView/ListItem/ListItemGroup/index.js");
/* harmony import */ var _ListItem_ListItemIcon__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ListItem/ListItemIcon */ "./modules/commons/components/ListView/ListItem/ListItemIcon/index.js");
/* harmony import */ var _ListItem_ListItemIconButton__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./ListItem/ListItemIconButton */ "./modules/commons/components/ListView/ListItem/ListItemIconButton/index.js");
/* harmony import */ var _ListItem_ListItemOpenMenuButton__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ListItem/ListItemOpenMenuButton */ "./modules/commons/components/ListView/ListItem/ListItemOpenMenuButton/index.js");
/* harmony import */ var _ListItem_ListItemText__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ListItem/ListItemText */ "./modules/commons/components/ListView/ListItem/ListItemText/index.js");
/* harmony import */ var _ListItem_ListItemCheckbox__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./ListItem/ListItemCheckbox */ "./modules/commons/components/ListView/ListItem/ListItemCheckbox/index.js");
/* harmony import */ var _ListHeader__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ListHeader */ "./modules/commons/components/ListView/ListHeader/index.js");
/* harmony import */ var _ListPlaceholder__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./ListPlaceholder */ "./modules/commons/components/ListView/ListPlaceholder/index.js");
/* harmony import */ var _ListSearch__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ListSearch */ "./modules/commons/components/ListView/ListSearch/index.js");
/* harmony import */ var _hooks_useFetchEntries__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./hooks/useFetchEntries */ "./modules/commons/components/ListView/hooks/useFetchEntries.js");
/* harmony import */ var _hooks_useListModel__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./hooks/useListModel */ "./modules/commons/components/ListView/hooks/useListModel.js");
/* harmony import */ var _hooks_useListQuery__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./hooks/useListQuery */ "./modules/commons/components/ListView/hooks/useListQuery.js");
/* harmony import */ var _hooks_useListView__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./hooks/useListView */ "./modules/commons/components/ListView/hooks/useListView.js");
/* harmony import */ var _hooks_useSolrSearch__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./hooks/useSolrSearch */ "./modules/commons/components/ListView/hooks/useSolrSearch.js");
/* harmony import */ var _hooks_useFilterListActions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./hooks/useFilterListActions */ "./modules/commons/components/ListView/hooks/useFilterListActions.js");
/* harmony import */ var _utils_propTypes__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./utils/propTypes */ "./modules/commons/components/ListView/utils/propTypes.js");






























/***/ },

/***/ "./modules/commons/components/ListView/utils/ListQuery.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/ListView/utils/ListQuery.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListQuery: () => (/* binding */ ListQuery)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");








/**
 * Utility class for handling list items client side, including searching,
 * sorting and paging.
 */
class ListQuery {
  constructor(_ref) {
    let {
      items,
      rowsPerPage = 10,
      minimumSearchLength
    } = _ref;
    this._items = items || [];
    this._result = [...this._items];
    this._rowsPerPage = rowsPerPage;
    this._minimumSearchLength = minimumSearchLength || config__WEBPACK_IMPORTED_MODULE_5__["default"].get('minimumSearchLength');
  }
  search(searchString, searchFields) {
    if (searchString === null || searchString === undefined) return this;
    if (searchString.trim().length < this._minimumSearchLength) {
      this._result = [...this._items];
      return this;
    }
    this._result = this._items.filter(item => searchFields.some(searchField => item[searchField].toLowerCase().includes(searchString.toLowerCase())));
    return this;
  }
  sort(sort) {
    if (!sort) return this;
    const {
      field,
      order
    } = sort;
    this._result.sort((firstItem, secondItem) => {
      var _firstItem$field, _secondItem$field;
      const compareValues = field === 'modified' ? [(0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_6__.getModifiedDate)(firstItem.entry), (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_6__.getModifiedDate)(secondItem.entry)] : [(_firstItem$field = firstItem[field]) === null || _firstItem$field === void 0 ? void 0 : _firstItem$field.toLowerCase(), (_secondItem$field = secondItem[field]) === null || _secondItem$field === void 0 ? void 0 : _secondItem$field.toLowerCase()];
      if (order !== 'asc') {
        compareValues.reverse();
      }
      const [firstValue, secondValue] = compareValues;
      return firstValue <= secondValue ? -1 : 1;
    });
    return this;
  }
  getSize() {
    return this._result.length;
  }
  restore() {
    this._result = [...this._items];
  }
  getResult(page) {
    if (page === undefined || page === null) return this._result;
    if (!this._rowsPerPage) {
      throw new Error('rowsPerPage is required when getting page');
    }
    const startIndex = this._rowsPerPage * page;
    return this._result.slice(startIndex, startIndex + this._rowsPerPage);
  }
  setItems(items) {
    this._items = items;
    this._result = this._items;
  }
}

/***/ },

/***/ "./modules/commons/components/ListView/utils/listQueryUtils.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/ListView/utils/listQueryUtils.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   entriesToListQueryItems: () => (/* binding */ entriesToListQueryItems),
/* harmony export */   isSearchValid: () => (/* binding */ isSearchValid)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");


function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

const entriesToListQueryItems = function entriesToListQueryItems(entries) {
  let projectionMapping = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  return entries.map(entry => {
    return _objectSpread({
      entry,
      label: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_2__.getTitle)(entry),
      modified: (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_2__.getShortModifiedDate)(entry)
    }, entry.projection(projectionMapping));
  });
};
const isSearchValid = search => !/["+~#()]/.test(search);

/***/ },

/***/ "./modules/commons/components/ListView/utils/propTypes.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/ListView/utils/propTypes.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   excludeActionsPropType: () => (/* binding */ excludeActionsPropType),
/* harmony export */   listPropsPropType: () => (/* binding */ listPropsPropType)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);

const excludeActionsPropType = prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string));
const listPropsPropType = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
  excludeActions: excludeActionsPropType
});

/***/ },

/***/ "./modules/commons/components/Loader/Loader.js"
/*!*****************************************************!*\
  !*** ./modules/commons/components/Loader/Loader.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _Loader_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Loader.scss */ "./modules/commons/components/Loader/Loader.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



const Loader = _ref => {
  let {
    height = '45vh',
    sx = {}
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "escoLoader",
    sx: _objectSpread({
      height
    }, sx)
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], null));
};
Loader.propTypes = {
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  height: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Loader);

/***/ },

/***/ "./modules/commons/components/Loader/index.js"
/*!****************************************************!*\
  !*** ./modules/commons/components/Loader/index.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Loader__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Loader__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Loader */ "./modules/commons/components/Loader/Loader.js");


/***/ },

/***/ "./modules/commons/components/LoadingButton/index.js"
/*!***********************************************************!*\
  !*** ./modules/commons/components/LoadingButton/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/LoadingButton/index.scss");

const _excluded = ["children", "loading", "success", "className", "label", "disabled", "color"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const LoadingButton = _ref => {
  let {
      children,
      loading,
      success,
      className = '',
      label,
      disabled,
      color = 'primary'
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const buttonClassname = `LoadingButton__Button ${className} ${loading ? 'LoadingButton--loading' : ''}`;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", {
    className: "LoadingButton"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", {
    className: "LoadingButton__wrapper"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
    variant: "contained",
    className: buttonClassname,
    disabled: disabled || loading,
    fullWidth: true,
    color: success ? 'success' : color
  }, rest), label || children), loading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_3__["default"], {
    size: 24,
    className: "LoadingButton__Progress"
  }) : null));
};
LoadingButton.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  success: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LoadingButton);

/***/ },

/***/ "./modules/commons/components/MaintenanceBoundary/MaintenanceBoundary.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/MaintenanceBoundary/MaintenanceBoundary.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/contexts/MaintenanceContext */ "./modules/commons/contexts/MaintenanceContext.js");
/* harmony import */ var commons_components_MaintenanceView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/MaintenanceView */ "./modules/commons/components/MaintenanceView/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const MaintenanceBoundary = _ref => {
  let {
    children
  } = _ref;
  const {
    ongoing
  } = (0,commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_1__.useMaintenanceContext)();
  if (ongoing !== null && ongoing !== void 0 && ongoing.enabled) {
    return /*#__PURE__*/React.createElement(commons_components_MaintenanceView__WEBPACK_IMPORTED_MODULE_2__["default"], null);
  }
  return children;
};
MaintenanceBoundary.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MaintenanceBoundary);

/***/ },

/***/ "./modules/commons/components/MaintenanceBoundary/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/MaintenanceBoundary/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _MaintenanceBoundary__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _MaintenanceBoundary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MaintenanceBoundary */ "./modules/commons/components/MaintenanceBoundary/MaintenanceBoundary.js");


/***/ },

/***/ "./modules/commons/components/MaintenanceView/MaintenanceView.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/MaintenanceView/MaintenanceView.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nav/components/Logo */ "./modules/commons/nav/components/Logo/index.js");
/* harmony import */ var commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/contexts/MaintenanceContext */ "./modules/commons/contexts/MaintenanceContext.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var _MaintenanceView_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./MaintenanceView.scss */ "./modules/commons/components/MaintenanceView/MaintenanceView.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













const MaintenanceView = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const {
    ongoing
  } = (0,commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_11__.useMaintenanceContext)();
  const contactEmail = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('entryscape.maintenance.email');
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__.i18n.getLocale();
  const defaultLocale = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('locale.fallback');
  const message = (ongoing === null || ongoing === void 0 ? void 0 : ongoing.message) || {};
  const localizedMessage = message[locale] || message[defaultLocale];
  const themePath = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('theme.default.themePath');
  const imagePath = new URL('images/maintenance.svg', themePath).href;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoMaintenance"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoMaintenance__bar"
  }, /*#__PURE__*/React.createElement(commons_nav_components_Logo__WEBPACK_IMPORTED_MODULE_10__["default"], {
    type: "full",
    className: "escoMaintenance__logo"
  })), /*#__PURE__*/React.createElement("div", {
    className: "escoMaintenance__body"
  }, /*#__PURE__*/React.createElement("img", {
    className: "escoMaintenance__image",
    src: imagePath,
    alt: translate('maintenanceImageAlt')
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "escoMaintenance__header",
    variant: "h1"
  }, translate('maintenanceHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "escoMaintenance__message"
  }, localizedMessage), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "escoMaintenance__subtitle"
  }, translate('maintenanceContact'), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    href: `mailto:${contactEmail}`
  }, contactEmail), "."), /*#__PURE__*/React.createElement("img", {
    className: "escoMaintenance__brand",
    src: new URL('images/es-logo-grayscale.svg', config__WEBPACK_IMPORTED_MODULE_5__["default"].get('theme.default.themePath')).href,
    alt: "EntryScape logo"
  })));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MaintenanceView);

/***/ },

/***/ "./modules/commons/components/MaintenanceView/index.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/MaintenanceView/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _MaintenanceView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _MaintenanceView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MaintenanceView */ "./modules/commons/components/MaintenanceView/MaintenanceView.js");


/***/ },

/***/ "./modules/commons/components/Map/Map.js"
/*!***********************************************!*\
  !*** ./modules/commons/components/Map/Map.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Map: () => (/* binding */ Map)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var _contexts_MapContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var _hooks_useMapCursor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./hooks/useMapCursor */ "./modules/commons/components/Map/hooks/useMapCursor.js");
/* harmony import */ var _Map_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Map.scss */ "./modules/commons/components/Map/Map.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }










const Map = _ref => {
  let {
    height = '100%',
    width = '100%',
    mapOptions,
    children
  } = _ref;
  const mapContainer = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
  const [, dispatch] = (0,_contexts_MapContext__WEBPACK_IMPORTED_MODULE_7__.useMapContext)();
  const {
    createMap,
    status
  } = (0,_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_6__.useOpenlayers)();
  (0,_hooks_useMapCursor__WEBPACK_IMPORTED_MODULE_8__.useMapCursor)();
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (status === 'resolved') {
      dispatch({
        type: 'CREATE_MAP',
        map: createMap(_objectSpread({
          target: mapContainer.current
        }, mapOptions))
      });
    }
  }, [status, dispatch, createMap, mapOptions]);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoMap"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoMap__container",
    ref: mapContainer,
    sx: {
      height,
      width
    },
    tabIndex: 0
  }, children));
};
Map.propTypes = {
  height: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  width: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  mapOptions: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    addScaleLine: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool)
  }),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node)
};

/***/ },

/***/ "./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FeatureInfo: () => (/* binding */ FeatureInfo),
/* harmony export */   FeatureInfoPopup: () => (/* binding */ FeatureInfoPopup)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/Close */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoMap.nls */ "./modules/commons/nls/escoMap.nls");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var _contexts_MapContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var _FeatureInfo_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./FeatureInfo.scss */ "./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const FeatureInfoPopup = _ref => {
  let {
    feature,
    maxHeight = '250px',
    titleField,
    close
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const geometryName = feature.getGeometryName(); // ol geometry object to exclude
  const properties = feature.getProperties();
  const title = titleField && properties[titleField];
  const excludeProperties = titleField ? [geometryName, titleField] : [geometryName];
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoFeatureInfoPopup",
    elevation: 24
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    "aria-label": translate('closePopupLabel'),
    size: "small",
    className: "escoFeatureInfoPopup__closeButton",
    onClick: close
  }, /*#__PURE__*/React.createElement(_mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_8__["default"], null)), title ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "h2",
    className: "escoFeatureInfoPopup__heading"
  }, `${title}`) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escoFeatureInfoPopup__content",
    sx: {
      maxHeight
    }
  }, /*#__PURE__*/React.createElement("ul", {
    className: "escoFeatureInfoPopupList"
  }, Object.entries(properties).filter(_ref2 => {
    let [property] = _ref2;
    return !excludeProperties.includes(property);
  }).map(_ref3 => {
    let [property, value] = _ref3;
    return /*#__PURE__*/React.createElement("li", {
      key: property,
      className: "escoFeatureInfoPopupListItem"
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      component: "span",
      className: "escoFeatureInfoPopupListItem__property"
    }, `${property}: `), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      component: "span",
      className: "escoFeatureInfoPopupListItem__value"
    }, `${value}`));
  }))));
};
FeatureInfoPopup.propTypes = {
  feature: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    getGeometryName: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
    getProperties: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
  }),
  titleField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  maxHeight: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  close: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
const FeatureInfo = _ref4 => {
  let {
    titleField,
    maxHeight
  } = _ref4;
  const ref = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
  const mapUtils = (0,_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_11__.useOpenlayers)();
  const [{
    map
  }] = (0,_contexts_MapContext__WEBPACK_IMPORTED_MODULE_12__.useMapContext)();
  const [mapOverlay, setMapOverlay] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)();
  const [selectedFeature, setSelectedFeature] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    const addOverlay = () => {
      const overlay = mapUtils.createOverlay({
        element: ref.current
      });
      map.addOverlay(overlay);
      setMapOverlay(overlay);
    };
    if (!mapUtils.status === 'resolved' || !map || mapOverlay) return;
    addOverlay();
  }, [map, mapOverlay, mapUtils]);

  // effect for handling map listeners
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    /**
     * @param {object} event
     * @returns {undefined}
     */
    function handleClick(event) {
      const feature = map.forEachFeatureAtPixel(event.pixel, featureAtPixel => featureAtPixel, {
        hitTolerance: 3
      });
      setSelectedFeature(feature);
      if (feature) {
        mapOverlay.setPosition(event.coordinate);
      }
    }
    if (!mapOverlay) return;
    map.on('click', handleClick);
    return () => {
      map.un('click', handleClick);
    };
  }, [map, mapOverlay]);
  return /*#__PURE__*/React.createElement("div", {
    ref: ref
  }, selectedFeature ? /*#__PURE__*/React.createElement(FeatureInfoPopup, {
    feature: selectedFeature,
    titleField: titleField,
    maxHeight: maxHeight,
    close: () => setSelectedFeature()
  }) : null);
};
FeatureInfo.propTypes = {
  maxHeight: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  titleField: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
};

/***/ },

/***/ "./modules/commons/components/Map/components/FeatureInfo/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/Map/components/FeatureInfo/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FeatureInfo: () => (/* reexport safe */ _FeatureInfo__WEBPACK_IMPORTED_MODULE_0__.FeatureInfo),
/* harmony export */   FeatureInfoPopup: () => (/* reexport safe */ _FeatureInfo__WEBPACK_IMPORTED_MODULE_0__.FeatureInfoPopup)
/* harmony export */ });
/* harmony import */ var _FeatureInfo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FeatureInfo */ "./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.js");


/***/ },

/***/ "./modules/commons/components/Map/contexts/MapContext.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/Map/contexts/MapContext.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MapProvider: () => (/* binding */ MapProvider),
/* harmony export */   useMapContext: () => (/* binding */ useMapContext),
/* harmony export */   withMapProvider: () => (/* binding */ withMapProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


const MapContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)();
const useMapContext = () => {
  const mapContext = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(MapContext);
  if (mapContext === undefined) throw new Error('Map context must be used within context provider');
  return mapContext;
};
const mapReducer = (state, action) => {
  switch (action.type) {
    case 'CREATE_MAP':
      {
        const {
          map
        } = action;
        return _objectSpread(_objectSpread({}, state), {}, {
          map
        });
      }
    case 'ADD_CONTROL':
      {
        const {
          control
        } = action;
        state.map.addControl(control);
        return _objectSpread({}, state);
      }
    case 'REMOVE_CONTROL':
      {
        const {
          control
        } = action;
        state.map.removeControl(control);
        return _objectSpread({}, state);
      }
    default:
      return state;
  }
};
const MapProvider = _ref => {
  let {
    children
  } = _ref;
  const [mapState, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useReducer)(mapReducer, {});
  return /*#__PURE__*/React.createElement(MapContext.Provider, {
    value: [mapState, dispatch],
    dispatch: dispatch
  }, children);
};
MapProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)
};

/**
 * Wraps a component with MapProvider
 * @return {node}
 */
const withMapProvider = Component => {
  return props => {
    return /*#__PURE__*/React.createElement(MapProvider, null, /*#__PURE__*/React.createElement(Component, props));
  };
};

/***/ },

/***/ "./modules/commons/components/Map/controls/AttributionControl/AttributionControl.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/AttributionControl/AttributionControl.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var _hooks_useBuiltinControl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/useBuiltinControl */ "./modules/commons/components/Map/hooks/useBuiltinControl.js");
/* harmony import */ var _AttributionControl_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AttributionControl.scss */ "./modules/commons/components/Map/controls/AttributionControl/AttributionControl.scss");




const AttributionControl = _ref => {
  let {
    target
  } = _ref;
  const {
    createAttribution
  } = (0,_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_1__.useOpenlayers)();
  (0,_hooks_useBuiltinControl__WEBPACK_IMPORTED_MODULE_2__["default"])(createAttribution, target);
  return null;
};
AttributionControl.propTypes = {
  target: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AttributionControl);

/***/ },

/***/ "./modules/commons/components/Map/controls/AttributionControl/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/AttributionControl/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _AttributionControl__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _AttributionControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AttributionControl */ "./modules/commons/components/Map/controls/AttributionControl/AttributionControl.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/BoxControl/BoxControl.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/BoxControl/BoxControl.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BOX_ACTION: () => (/* binding */ BOX_ACTION),
/* harmony export */   BoxControl: () => (/* binding */ BoxControl)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CropLandscape.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/Map/hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoMap.nls */ "./modules/commons/nls/escoMap.nls");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _ControlButton__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ControlButton */ "./modules/commons/components/Map/controls/ControlButton/index.js");
/* harmony import */ var _DrawControlGroup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DrawControlGroup */ "./modules/commons/components/Map/controls/DrawControlGroup/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const BOX_ACTION = 'box';
const BoxControl = _ref => {
  let {
    onDrawEnd
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const [drawMode, setDrawMode] = (0,_DrawControlGroup__WEBPACK_IMPORTED_MODULE_10__.useDrawMode)();
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_6__.useMapContext)();
  const mapUtils = (0,commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_7__.useOpenlayers)();
  const [drawInteraction, setDrawInteraction] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  const isActive = drawMode === BOX_ACTION;
  const activateDraw = () => {
    const vectorLayer = mapUtils.createVectorLayer();
    const interaction = mapUtils.createDrawInteraction(vectorLayer.getSource(), 'box');
    setDrawInteraction(interaction);
    map.addInteraction(interaction);
    interaction.on('drawabort', () => {
      setDrawMode(null);
    });
    interaction.on('drawend', _ref2 => {
      let {
        feature
      } = _ref2;
      setDrawMode(null);
      onDrawEnd({
        feature,
        type: 'polygon'
      });
    });
  };
  const handleClick = event => {
    event.stopPropagation();
    if (isActive) return;
    setDrawMode(BOX_ACTION);
    activateDraw();
  };
  if (drawInteraction && !isActive) {
    map.removeInteraction(drawInteraction);
    setDrawInteraction(null);
  }
  return /*#__PURE__*/React.createElement(_ControlButton__WEBPACK_IMPORTED_MODULE_9__.ControlButton, {
    ariaLabel: "box",
    active: isActive,
    onClick: handleClick,
    Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"],
    title: translate('bboxEditTitle')
  });
};
BoxControl.propTypes = {
  onDrawEnd: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};

/***/ },

/***/ "./modules/commons/components/Map/controls/BoxControl/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/Map/controls/BoxControl/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BOX_ACTION: () => (/* reexport safe */ _BoxControl__WEBPACK_IMPORTED_MODULE_0__.BOX_ACTION),
/* harmony export */   BoxControl: () => (/* reexport safe */ _BoxControl__WEBPACK_IMPORTED_MODULE_0__.BoxControl)
/* harmony export */ });
/* harmony import */ var _BoxControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BoxControl */ "./modules/commons/components/Map/controls/BoxControl/BoxControl.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/ControlButton/ControlButton.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ControlButton/ControlButton.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ControlButton: () => (/* binding */ ControlButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _ControlButton_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ControlButton.scss */ "./modules/commons/components/Map/controls/ControlButton/ControlButton.scss");

const _excluded = ["Icon", "active", "ariaLabel", "title", "onClick"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const ControlButton = _ref => {
  let {
      Icon,
      active,
      ariaLabel,
      title,
      onClick
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__["default"], {
    title: title
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    className: active ? 'escoControlButton escoControlButton--active' : 'escoControlButton',
    onClick: onClick,
    "aria-label": ariaLabel
  }, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Icon, {
    sx: {
      height: '18px',
      width: '18px'
    }
  })));
};
ControlButton.propTypes = {
  Icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().elementType),
  iconUrl: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  active: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  ariaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/components/Map/controls/ControlButton/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ControlButton/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ControlButton: () => (/* reexport safe */ _ControlButton__WEBPACK_IMPORTED_MODULE_0__.ControlButton)
/* harmony export */ });
/* harmony import */ var _ControlButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ControlButton */ "./modules/commons/components/Map/controls/ControlButton/ControlButton.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/ControlGroup/ControlGroup.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ControlGroup/ControlGroup.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _ControlGroup_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ControlGroup.scss */ "./modules/commons/components/Map/controls/ControlGroup/ControlGroup.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const ControlGroup = _ref => {
  let {
    position = 'bottom-right',
    renderControls,
    className = ''
  } = _ref;
  const [target, setTarget] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  return /*#__PURE__*/React.createElement("div", {
    className: `escoControlGroup escoControlGroup--${position} ${className}`,
    ref: setTarget
  }, renderControls(target));
};
ControlGroup.propTypes = {
  className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  position: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['bottom-right', 'bottom-left', 'top-right', 'top-left']),
  renderControls: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ControlGroup);

/***/ },

/***/ "./modules/commons/components/Map/controls/ControlGroup/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ControlGroup/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ControlGroup__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ControlGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ControlGroup */ "./modules/commons/components/Map/controls/ControlGroup/ControlGroup.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DrawControlGroup: () => (/* binding */ DrawControlGroup),
/* harmony export */   useDrawMode: () => (/* binding */ useDrawMode)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _DrawControlGroup_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./DrawControlGroup.scss */ "./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.scss");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroup.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const DrawModeContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.createContext)();
const useDrawMode = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(DrawModeContext);
  if (context === undefined) throw new Error('DrawMode context must be used within context provider');
  return context;
};
const DrawControlGroup = _ref => {
  let {
    children
  } = _ref;
  const [drawingMode, setDrawingMode] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoMapControlGroup"
  }, /*#__PURE__*/React.createElement(DrawModeContext.Provider, {
    value: [drawingMode, setDrawingMode]
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    size: "small"
  }, children)));
};
DrawControlGroup.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};

/***/ },

/***/ "./modules/commons/components/Map/controls/DrawControlGroup/index.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/DrawControlGroup/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DrawControlGroup: () => (/* reexport safe */ _DrawControlGroup__WEBPACK_IMPORTED_MODULE_0__.DrawControlGroup),
/* harmony export */   useDrawMode: () => (/* reexport safe */ _DrawControlGroup__WEBPACK_IMPORTED_MODULE_0__.useDrawMode)
/* harmony export */ });
/* harmony import */ var _DrawControlGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DrawControlGroup */ "./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LayerLegendControl: () => (/* binding */ LayerLegendControl)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChevronRight.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandMore.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoMap.nls */ "./modules/commons/nls/escoMap.nls");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _LayerLegendControl_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./LayerLegendControl.scss */ "./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const LayerLegendItem = _ref => {
  let {
    layer
  } = _ref;
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_4__.useMapContext)();
  const [legendError, setLegendError] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "escoLayerLegendControlItem"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoLayerLegendControlItem__title"
  }, layer.get('title')), legendError ? /*#__PURE__*/React.createElement("div", {
    className: "escoLayerLegendControlItem__placeholder--error"
  }, translate('legendItemPlaceholder')) : /*#__PURE__*/React.createElement("img", {
    alt: `${translate('legendImageText')}: ${layer.get('title')}`,
    onError: () => setLegendError(true),
    src: layer.getSource().getLegendUrl(map.getView().getResolution())
  }));
};
LayerLegendItem.propTypes = {
  layer: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    get: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
    getSource: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
  })
};
const LayerLegendControl = _ref2 => {
  let {
    initialExpand = true
  } = _ref2;
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_4__.useMapContext)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const [expand, setExpand] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(initialExpand);
  const [, setRefresh] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)({});
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!map) return;
    const refresh = () => {
      setRefresh({});
    };
    const view = map.getView();
    view.on('change:resolution', refresh);
    return () => view.un('change:resolution', refresh);
  }, [map]);
  const layersInLegend = map.getLayers().getArray().filter(layer => layer.get('type') === 'wms' && layer.getVisible()).reverse();
  return /*#__PURE__*/React.createElement("div", {
    className: "escoLayerLegendControl"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
    title: translate(expand ? 'hideLegendTooltip' : 'showLegendTooltip')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    disableRipple: true,
    className: "escoLayerControl__button",
    endIcon: expand ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null),
    onClick: () => setExpand(!expand)
  }, translate('legendTitle'))), expand ? /*#__PURE__*/React.createElement("div", {
    className: "escoLayerLegendControl__content"
  }, layersInLegend.length ? layersInLegend.map(layer => /*#__PURE__*/React.createElement(LayerLegendItem, {
    key: layer.get('name'),
    layer: layer
  })) : /*#__PURE__*/React.createElement("div", {
    className: "escoLayerLegendControl__placeholder"
  }, translate('legendPlaceholder'))) : null);
};
LayerLegendControl.propTypes = {
  initialExpand: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
};

/***/ },

/***/ "./modules/commons/components/Map/controls/LayerLegendControl/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/LayerLegendControl/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LayerLegendControl: () => (/* reexport safe */ _LayerLegendControl__WEBPACK_IMPORTED_MODULE_0__.LayerLegendControl)
/* harmony export */ });
/* harmony import */ var _LayerLegendControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LayerLegendControl */ "./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.js"
/*!**********************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LayerSwitcherControl: () => (/* binding */ LayerSwitcherControl)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_icons_material_Layers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material/Layers */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Layers.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material/Close */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoGeoMap.nls */ "./modules/commons/nls/escoGeoMap.nls");
/* harmony import */ var commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/common/ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/index.js");
/* harmony import */ var _LayerSwitcherControl_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./LayerSwitcherControl.scss */ "./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















const LayerSwitcherItem = _ref => {
  let {
    layer,
    title: titleProp,
    onToggleLayer = () => {}
  } = _ref;
  const labelRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();
  const [hasTooltip, setHasTooltip] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  /*
    Checks if ellipsis is used in order to determine if tooltip should be shown.
    Parent element must be used in the width check because a non inline element
    is required to check scrollWidth and clientWidth and the label iself must be
    inline in order for ellipsis to work.
  */
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const {
      parentElement
    } = labelRef.current;
    const isLabelOverflowing = parentElement.scrollWidth > parentElement.clientWidth;
    setHasTooltip(isLabelOverflowing);
  }, []);
  const toggleVisible = () => {
    layer.setVisible(!layer.getVisible());
    onToggleLayer(layer);
  };
  const title = titleProp !== null && titleProp !== void 0 ? titleProp : layer.get('title');
  const visible = layer.getVisible();
  return /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_20__["default"], {
    condition: hasTooltip,
    wrapper: children => /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__["default"], {
      enterDelay: commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__.TOOLTIP_DELAY,
      enterNextDelay: commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_19__.TOOLTIP_DELAY,
      title: title
    }, children)
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoLayerSwitcherItem__controlLabel',
      label: 'escoLayerSwitcherItem__label'
    },
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      checked: visible,
      onChange: () => toggleVisible(layer)
    }),
    label: /*#__PURE__*/React.createElement("span", {
      ref: labelRef
    }, title)
  }));
};
LayerSwitcherItem.propTypes = {
  onToggleLayer: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  layer: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    getVisible: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    setVisible: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    set: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    get: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
  }) // can't use instanceOf since ol is loaded dynamically
};
const LayerSwitcherControl = _ref2 => {
  let {
    handleChange,
    layers
  } = _ref2;
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_18__.useMapContext)();
  const layersButton = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)([(commons_nls_escoGeoMap_nls__WEBPACK_IMPORTED_MODULE_16___default())]);
  const hasVisibleLayers = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => map.getLayers().getArray().slice(1).some(mapLayer => mapLayer.getVisible()), [map]);
  const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(!hasVisibleLayers());
  const [, setShowWarning] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(!hasVisibleLayers());
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const onLengthChange = () => {
      setShowWarning(!hasVisibleLayers());
    };
    if (!map) return;
    const collection = map.getLayers();
    collection.on('change:length', onLengthChange);
    return () => collection.un('change:length', onLengthChange);
  }, [hasVisibleLayers, map]);
  const availableLayers = map === null || map === void 0 ? void 0 : map.getLayers().getArray().map(mapLayer => mapLayer);
  const handleClick = () => {
    setOpen(previousOpen => !previousOpen);
    layersButton.current.blur();
  };
  const updateLayersSetting = mapLayer => {
    const visualizationLayers = [...layers];
    const updatedLayersInfo = visualizationLayers.map(layer => {
      if (layer.title === mapLayer.get('title')) {
        return _objectSpread(_objectSpread({}, layer), {}, {
          visible: mapLayer.getVisible()
        });
      }
      return layer;
    });
    setShowWarning(!hasVisibleLayers());
    handleChange({
      layers: updatedLayersInfo
    });
  };
  const {
    0: backgroundMap
  } = availableLayers;
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
    className: "escoLayerSwitcherControl"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    ref: layersButton,
    variant: "outlined",
    className: "escoLayerSwitcherControl__layersButton",
    onClick: handleClick,
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material_Layers__WEBPACK_IMPORTED_MODULE_6__["default"], null),
    "aria-haspopup": true,
    "aria-expanded": open
  }, translate('layersButtonLabel'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    in: open,
    timeout: 300
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    className: "escoLayerSwitcherControl__paper",
    square: true,
    elevation: 0
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoLayerSwitcherControl__closeButton"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    onClick: () => {
      setOpen(false);
      layersButton.current.focus();
    },
    "aria-label": translate('closeLayerSwitcher')
  }, /*#__PURE__*/React.createElement(_mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_15__["default"], null))), open ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    classes: {
      root: 'escoLayerSwitcherControl__layers'
    }
  }, availableLayers.slice(1).reverse().map((layer, index) => /*#__PURE__*/React.createElement(LayerSwitcherItem, {
    key: `${layer.get('title')}-${index}`
    // eslint-disable-next-line jsx-a11y/no-autofocus
    ,
    autoFocus: index === 0 && open,
    layer: layer,
    onToggleLayer: updateLayersSetting
  })), backgroundMap && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], null), /*#__PURE__*/React.createElement(LayerSwitcherItem, {
    layer: backgroundMap,
    title: translate('backgroundMapTitle'),
    onToggleLayer: () => handleChange({
      basemap: backgroundMap.getVisible().toString()
    })
  }))) : null)));
};
LayerSwitcherControl.propTypes = {
  handleChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  layers: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape())
};

/***/ },

/***/ "./modules/commons/components/Map/controls/LayerSwitcherControl/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/LayerSwitcherControl/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LayerSwitcherControl: () => (/* reexport safe */ _LayerSwitcherControl__WEBPACK_IMPORTED_MODULE_0__.LayerSwitcherControl)
/* harmony export */ });
/* harmony import */ var _LayerSwitcherControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LayerSwitcherControl */ "./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/MarkerControl/MarkerControl.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/MarkerControl/MarkerControl.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MARKER_ACTION: () => (/* binding */ MARKER_ACTION),
/* harmony export */   MarkerControl: () => (/* binding */ MarkerControl)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Place.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoMap.nls */ "./modules/commons/nls/escoMap.nls");
/* harmony import */ var commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/Map/hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var _ControlButton__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ControlButton */ "./modules/commons/components/Map/controls/ControlButton/index.js");
/* harmony import */ var _DrawControlGroup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DrawControlGroup */ "./modules/commons/components/Map/controls/DrawControlGroup/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const MARKER_ACTION = 'marker';
const MarkerControl = _ref => {
  let {
    onDrawEnd
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoMap_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const [drawMode, setDrawMode] = (0,_DrawControlGroup__WEBPACK_IMPORTED_MODULE_10__.useDrawMode)();
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_7__.useMapContext)();
  const mapUtils = (0,commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_8__.useOpenlayers)();
  const [drawInteraction, setDrawInteraction] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  const isActive = drawMode === MARKER_ACTION;
  const activateDraw = () => {
    const vectorLayer = mapUtils.createVectorLayer();
    const interaction = mapUtils.createDrawInteraction(vectorLayer.getSource(), 'point');
    setDrawInteraction(interaction);
    map.addInteraction(interaction);
    interaction.on('drawabort', () => {
      setDrawMode(null);
    });
    interaction.on('drawend', _ref2 => {
      let {
        feature
      } = _ref2;
      setDrawMode(null);
      onDrawEnd({
        feature,
        type: 'point'
      });
    });
  };
  const handleClick = event => {
    event.stopPropagation();
    if (isActive) return;
    setDrawMode(MARKER_ACTION);
    activateDraw();
  };
  if (drawInteraction && !isActive) {
    map.removeInteraction(drawInteraction);
    setDrawInteraction(null);
  }
  return /*#__PURE__*/React.createElement(_ControlButton__WEBPACK_IMPORTED_MODULE_9__.ControlButton, {
    ariaLabel: "marker",
    active: isActive,
    onClick: handleClick,
    Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"],
    title: translate('markerEditTitle')
  });
};
MarkerControl.propTypes = {
  onDrawEnd: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};

/***/ },

/***/ "./modules/commons/components/Map/controls/MarkerControl/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/MarkerControl/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MARKER_ACTION: () => (/* reexport safe */ _MarkerControl__WEBPACK_IMPORTED_MODULE_0__.MARKER_ACTION),
/* harmony export */   MarkerControl: () => (/* reexport safe */ _MarkerControl__WEBPACK_IMPORTED_MODULE_0__.MarkerControl)
/* harmony export */ });
/* harmony import */ var _MarkerControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MarkerControl */ "./modules/commons/components/Map/controls/MarkerControl/MarkerControl.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var _hooks_useBuiltinControl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/useBuiltinControl */ "./modules/commons/components/Map/hooks/useBuiltinControl.js");
/* harmony import */ var _ScaleLineControl_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ScaleLineControl.scss */ "./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.scss");




const ScaleLineControl = _ref => {
  let {
    target
  } = _ref;
  const {
    createScaleLine
  } = (0,_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_1__.useOpenlayers)();
  (0,_hooks_useBuiltinControl__WEBPACK_IMPORTED_MODULE_2__["default"])(createScaleLine, target);
  return null;
};
ScaleLineControl.propTypes = {
  target: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ScaleLineControl);

/***/ },

/***/ "./modules/commons/components/Map/controls/ScaleLineControl/index.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ScaleLineControl/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ScaleLineControl__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ScaleLineControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ScaleLineControl */ "./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.js");


/***/ },

/***/ "./modules/commons/components/Map/controls/index.js"
/*!**********************************************************!*\
  !*** ./modules/commons/components/Map/controls/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BOX_ACTION: () => (/* reexport safe */ _BoxControl__WEBPACK_IMPORTED_MODULE_0__.BOX_ACTION),
/* harmony export */   BoxControl: () => (/* reexport safe */ _BoxControl__WEBPACK_IMPORTED_MODULE_0__.BoxControl),
/* harmony export */   DrawControlGroup: () => (/* reexport safe */ _DrawControlGroup__WEBPACK_IMPORTED_MODULE_2__.DrawControlGroup),
/* harmony export */   LayerLegendControl: () => (/* reexport safe */ _LayerLegendControl__WEBPACK_IMPORTED_MODULE_3__.LayerLegendControl),
/* harmony export */   LayerSwitcherControl: () => (/* reexport safe */ _LayerSwitcherControl__WEBPACK_IMPORTED_MODULE_4__.LayerSwitcherControl),
/* harmony export */   MARKER_ACTION: () => (/* reexport safe */ _MarkerControl__WEBPACK_IMPORTED_MODULE_1__.MARKER_ACTION),
/* harmony export */   MarkerControl: () => (/* reexport safe */ _MarkerControl__WEBPACK_IMPORTED_MODULE_1__.MarkerControl),
/* harmony export */   useDrawMode: () => (/* reexport safe */ _DrawControlGroup__WEBPACK_IMPORTED_MODULE_2__.useDrawMode)
/* harmony export */ });
/* harmony import */ var _BoxControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BoxControl */ "./modules/commons/components/Map/controls/BoxControl/index.js");
/* harmony import */ var _MarkerControl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MarkerControl */ "./modules/commons/components/Map/controls/MarkerControl/index.js");
/* harmony import */ var _DrawControlGroup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DrawControlGroup */ "./modules/commons/components/Map/controls/DrawControlGroup/index.js");
/* harmony import */ var _LayerLegendControl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./LayerLegendControl */ "./modules/commons/components/Map/controls/LayerLegendControl/index.js");
/* harmony import */ var _LayerSwitcherControl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LayerSwitcherControl */ "./modules/commons/components/Map/controls/LayerSwitcherControl/index.js");






/***/ },

/***/ "./modules/commons/components/Map/hooks/useBuiltinControl.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/Map/hooks/useBuiltinControl.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _contexts_MapContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var _useOpenlayers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");





const useBuiltinControl = (create, target) => {
  const [{
    map
  }, dispatch] = (0,_contexts_MapContext__WEBPACK_IMPORTED_MODULE_3__.useMapContext)();
  const {
    status
  } = (0,_useOpenlayers__WEBPACK_IMPORTED_MODULE_4__.useOpenlayers)();
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    let control;
    if (map && status === 'resolved' && target) {
      control = create(target);
      dispatch({
        type: 'ADD_CONTROL',
        control
      });
    }
    return () => {
      if (map && control) {
        dispatch({
          type: 'REMOVE_CONTROL',
          control
        });
      }
    };
  }, [map, target, dispatch, create, status]);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useBuiltinControl);

/***/ },

/***/ "./modules/commons/components/Map/hooks/useMapCursor.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/Map/hooks/useMapCursor.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useMapCursor: () => (/* binding */ useMapCursor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _contexts_MapContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");




const useMapCursor = () => {
  const hasFeatureAtPointer = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(false);
  const [{
    map
  }] = (0,_contexts_MapContext__WEBPACK_IMPORTED_MODULE_3__.useMapContext)();

  // Effect to handle cursor change
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    /**
     * Refreshes the cursor based on the state of last pointer position
     */
    function refreshCursor() {
      map.getTarget().style.cursor = hasFeatureAtPointer.current ? 'pointer' : '';
    }

    /**
     * Listener to detect feature on pointer move. If feature is detected the
     * cursor is set to pointer.
     *
     * @param {object} event
     * @returns {undefined}
     */
    function onPointerMove(event) {
      const pixel = event.map.getEventPixel(event.originalEvent);
      hasFeatureAtPointer.current = map.hasFeatureAtPixel(pixel);
      if (event.dragging) {
        map.getTarget().style.cursor = 'grab';
        return;
      }
      refreshCursor();
    }
    if (!map) return;
    map.on('pointermove', onPointerMove);
    map.on('moveend', refreshCursor);
    return () => {
      map.un('pointermove', onPointerMove);
      map.un('moveend', refreshCursor);
    };
  }, [map]);
};

/***/ },

/***/ "./modules/commons/components/Map/hooks/useOpenlayers.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/Map/hooks/useOpenlayers.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useOpenlayers: () => (/* binding */ useOpenlayers)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const loadOpenlayersUtils = () => Promise.all(/*! import() | openlayers */[__webpack_require__.e("vendors-node_modules_pnpm_proj4_2_20_9_geotiff_2_1_3_node_modules_proj4_lib_index_js-node_mod-909cba"), __webpack_require__.e("openlayers")]).then(__webpack_require__.bind(__webpack_require__, /*! ../utils/openlayers */ "./modules/commons/components/Map/utils/openlayers/index.js"));
const useOpenlayers = () => {
  const {
    data: openlayersUtils,
    status,
    error,
    runAsync,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (status !== 'idle') return;
    runAsync(loadOpenlayersUtils());
  }, [status, runAsync]);
  return _objectSpread(_objectSpread({}, openlayersUtils), {}, {
    status,
    error,
    isLoading
  });
};

/***/ },

/***/ "./modules/commons/components/Map/index.js"
/*!*************************************************!*\
  !*** ./modules/commons/components/Map/index.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FeatureInfo: () => (/* reexport safe */ _components_FeatureInfo__WEBPACK_IMPORTED_MODULE_3__.FeatureInfo),
/* harmony export */   FeatureInfoPopup: () => (/* reexport safe */ _components_FeatureInfo__WEBPACK_IMPORTED_MODULE_3__.FeatureInfoPopup),
/* harmony export */   Map: () => (/* reexport safe */ _Map__WEBPACK_IMPORTED_MODULE_0__.Map),
/* harmony export */   MapProvider: () => (/* reexport safe */ _contexts_MapContext__WEBPACK_IMPORTED_MODULE_1__.MapProvider),
/* harmony export */   useMapContext: () => (/* reexport safe */ _contexts_MapContext__WEBPACK_IMPORTED_MODULE_1__.useMapContext),
/* harmony export */   useOpenlayers: () => (/* reexport safe */ _hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_2__.useOpenlayers),
/* harmony export */   withMapProvider: () => (/* reexport safe */ _contexts_MapContext__WEBPACK_IMPORTED_MODULE_1__.withMapProvider)
/* harmony export */ });
/* harmony import */ var _Map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Map */ "./modules/commons/components/Map/Map.js");
/* harmony import */ var _contexts_MapContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var _hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var _components_FeatureInfo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/FeatureInfo */ "./modules/commons/components/Map/components/FeatureInfo/index.js");





/***/ },

/***/ "./modules/commons/components/NoPropagatation/NoPropagation.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/NoPropagatation/NoPropagation.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const NoPropagation = _ref => {
  let {
      children
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const stopPropagation = evt => evt.stopPropagation();
  return (
    /*#__PURE__*/
    // eslint-disable-next-line react/jsx-props-no-spreading
    React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
      onClick: stopPropagation
    }, props), children)
  );
};
NoPropagation.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NoPropagation);

/***/ },

/***/ "./modules/commons/components/NoPropagatation/index.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/NoPropagatation/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _NoPropagation__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _NoPropagation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NoPropagation */ "./modules/commons/components/NoPropagatation/NoPropagation.js");


/***/ },

/***/ "./modules/commons/components/OverviewLinkIcon.js"
/*!********************************************************!*\
  !*** ./modules/commons/components/OverviewLinkIcon.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_icons_material_ArrowOutward__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/icons-material/ArrowOutward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowOutward.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const OverviewLinkIcon = _ref => {
  let {
    to,
    isVisible
  } = _ref;
  return to || isVisible ? /*#__PURE__*/React.createElement(_mui_icons_material_ArrowOutward__WEBPACK_IMPORTED_MODULE_0__["default"], {
    sx: {
      position: 'absolute',
      right: 0,
      top: 0,
      width: '20px',
      color: 'var(--es-text-secondary)'
    }
  }) : null;
};
OverviewLinkIcon.propTypes = {
  to: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)]),
  isVisible: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewLinkIcon);

/***/ },

/***/ "./modules/commons/components/Pagination/Pagination.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/Pagination/Pagination.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/TablePagination.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoPagination_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoPagination.nls */ "./modules/commons/nls/escoPagination.nls");
/* harmony import */ var commons_nls_escoPagination_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPagination_nls__WEBPACK_IMPORTED_MODULE_4__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




const Pagination = props => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)((commons_nls_escoPagination_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  const {
    disabled
  } = props;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    component: "div",
    rowsPerPage: 10,
    labelRowsPerPage: translate('labelRowsPerPage'),
    rowsPerPageOptions: [],
    getItemAriaLabel: type => {
      switch (type) {
        case 'previous':
        case 'last':
          return translate('backIconButtonText');
        default:
          // 'first' || 'next'
          return translate('nextIconButtonText');
      }
    },
    SelectProps: {
      disabled,
      style: {
        marginTop: '2px'
      },
      id: 'rows-per-page-select-label',
      inputProps: {
        'aria-labelledby': 'rows-per-page-select-label'
      }
    },
    backIconButtonProps: disabled ? {
      disabled
    } : undefined,
    nextIconButtonProps: disabled ? {
      disabled
    } : undefined
  }, props));
};
Pagination.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Pagination);

/***/ },

/***/ "./modules/commons/components/Pagination/index.js"
/*!********************************************************!*\
  !*** ./modules/commons/components/Pagination/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Pagination__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Pagination__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Pagination */ "./modules/commons/components/Pagination/Pagination.js");


/***/ },

/***/ "./modules/commons/components/Recaptcha/index.js"
/*!*******************************************************!*\
  !*** ./modules/commons/components/Recaptcha/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_script__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/script */ "./modules/commons/util/script.js");




const Recaptcha = _ref => {
  let {
    callbackName
  } = _ref;
  const siteKey = config__WEBPACK_IMPORTED_MODULE_2__["default"].get('reCaptchaSiteKey');
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    if (siteKey) {
      // Might pose problems if we use multiple grecaptchas
      (0,commons_util_script__WEBPACK_IMPORTED_MODULE_3__.affixScriptToHead)('https://www.google.com/recaptcha/api.js');
    } else {
      console.error('Cannot add recaptcha since no site key is provided in config.reCaptchaSiteKey.');
    }
  }, [siteKey]);
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    // Reset grecaptcha every 5 mins (unless checked) to avoid expiration issues
    const resetTimer = setInterval(() => {
      if (!window.grecaptcha.getResponse()) {
        window.grecaptcha.reset();
      }
    }, 5 * 60 * 1000);
    return () => clearInterval(resetTimer);
  });
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
    className: "g-recaptcha",
    "data-sitekey": siteKey,
    "data-callback": callbackName
  });
};
Recaptcha.propTypes = {
  callbackName: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Recaptcha);

/***/ },

/***/ "./modules/commons/components/ReferenceList.js"
/*!*****************************************************!*\
  !*** ./modules/commons/components/ReferenceList.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const ReferenceList = _ref => {
  let {
    references
  } = _ref;
  return /*#__PURE__*/React.createElement("ul", null, references.map(_ref2 => {
    let {
      label,
      href
    } = _ref2;
    return /*#__PURE__*/React.createElement("li", {
      key: href
    }, href ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
      target: "_blank",
      href: href
    }, label) : label);
  }));
};
ReferenceList.propTypes = {
  references: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    href: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  }))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ReferenceList);

/***/ },

/***/ "./modules/commons/components/SearchInput/SearchInput.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/SearchInput/SearchInput.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Clear.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _SearchInput_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SearchInput.scss */ "./modules/commons/components/SearchInput/SearchInput.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const SearchInput = _ref => {
  let {
    query,
    onChange,
    clear,
    placeholder,
    clearTooltip,
    inputClass = 'escoSearchInput'
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    value: query,
    placeholder: placeholder,
    classes: {
      root: inputClass
    },
    onChange: onChange,
    inputProps: {
      'aria-label': placeholder
    },
    startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
      position: "start",
      classes: {
        root: 'escoSearchInput__adornment'
      }
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null)),
    endAdornment: query ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
      position: "end"
    }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
      title: clearTooltip
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      "aria-label": clearTooltip,
      onClick: clear,
      onMouseDown: e => e.preventDefault(),
      color: "secondary"
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], null)))) : null
  });
};
SearchInput.propTypes = {
  query: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  clear: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  clearTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  inputClass: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SearchInput);

/***/ },

/***/ "./modules/commons/components/SearchInput/index.js"
/*!*********************************************************!*\
  !*** ./modules/commons/components/SearchInput/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SearchInput__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchInput__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchInput */ "./modules/commons/components/SearchInput/SearchInput.js");


/***/ },

/***/ "./modules/commons/components/TableView/EditRowContext.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/TableView/EditRowContext.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EditRowContextProvider: () => (/* binding */ EditRowContextProvider),
/* harmony export */   useEditRowContext: () => (/* binding */ useEditRowContext)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const EditRowContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)(null);
const EditRowContextProvider = _ref => {
  let {
    children,
    value
  } = _ref;
  return /*#__PURE__*/React.createElement(EditRowContext.Provider, {
    value: value
  }, children);
};
EditRowContextProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
const useEditRowContext = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(EditRowContext);
  if (context === undefined) {
    throw new Error('useEditRowContext must be used within a ContextProvider');
  }
  return context;
};

/***/ },

/***/ "./modules/commons/components/TableView/TableView.js"
/*!***********************************************************!*\
  !*** ./modules/commons/components/TableView/TableView.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ColumnHeader: () => (/* binding */ ColumnHeader),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/TablePagination.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cancel.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Clear.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ListAlt.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MoreHoriz.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Save.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js");
/* harmony import */ var _mui_x_data_grid__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @mui/x-data-grid */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/DataGrid/DataGrid.js");
/* harmony import */ var _mui_x_data_grid__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @mui/x-data-grid */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarColumnsButton.js");
/* harmony import */ var _mui_x_data_grid__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! @mui/x-data-grid */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/toolbar/GridToolbarDensitySelector.js");
/* harmony import */ var _mui_x_data_grid__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @mui/x-data-grid */ "./node_modules/.pnpm/@mui+x-data-grid@5.17.26_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2._cf03a3cc2d082515f17b32374814a811/node_modules/@mui/x-data-grid/components/containers/GridToolbarContainer.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! commons/nls/escoTableView.nls */ "./modules/commons/nls/escoTableView.nls");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40__);
/* harmony import */ var commons_components_TableView_components_CellExpand__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! commons/components/TableView/components/CellExpand */ "./modules/commons/components/TableView/components/CellExpand/index.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_TableView_util_valueFormatter__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! commons/components/TableView/util/valueFormatter */ "./modules/commons/components/TableView/util/valueFormatter.js");
/* harmony import */ var commons_components_TableView_EditRowContext__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! commons/components/TableView/EditRowContext */ "./modules/commons/components/TableView/EditRowContext.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_filters_SearchFiltersButton__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! commons/components/filters/SearchFiltersButton */ "./modules/commons/components/filters/SearchFiltersButton/index.js");
/* harmony import */ var commons_components_filters_SearchFilters__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! commons/components/filters/SearchFilters */ "./modules/commons/components/filters/SearchFilters/index.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var _mui_icons_material_SearchOff__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! @mui/icons-material/SearchOff */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SearchOff.js");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! commons/nls/escoFilters.nls */ "./modules/commons/nls/escoFilters.nls");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_52___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_52__);
/* harmony import */ var commons_components_common_dialogs_ConfirmLeaveDialog__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! commons/components/common/dialogs/ConfirmLeaveDialog */ "./modules/commons/components/common/dialogs/ConfirmLeaveDialog/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! commons/actions/actionTypes */ "./modules/commons/actions/actionTypes.js");
/* harmony import */ var _components_TableViewEditDialog__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./components/TableViewEditDialog */ "./modules/commons/components/TableView/components/TableViewEditDialog/index.js");
/* harmony import */ var _useTableViewRowActions__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./useTableViewRowActions */ "./modules/commons/components/TableView/useTableViewRowActions.js");
/* harmony import */ var _util_rowUtils__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./util/rowUtils */ "./modules/commons/components/TableView/util/rowUtils.js");
/* harmony import */ var _util_columnUtils__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./util/columnUtils */ "./modules/commons/components/TableView/util/columnUtils.js");
/* harmony import */ var _TableViewContext__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./TableViewContext */ "./modules/commons/components/TableView/TableViewContext.js");
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./style.scss */ "./modules/commons/components/TableView/style.scss");
/* harmony import */ var _filters_utils_filter__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../filters/utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* harmony import */ var _ListView__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _usePresentOrEdit__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./usePresentOrEdit */ "./modules/commons/components/TableView/usePresentOrEdit.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["isLoading"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












































const ColumnHeader = _ref => {
  let {
    name,
    tooltip
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_46__["default"], {
    title: tooltip || name
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    className: "escoTableView__columnHeader",
    color: "secondary"
  }, name));
};
ColumnHeader.propTypes = {
  name: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_9___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)]),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string)
};
const ActionsMenu = _ref2 => {
  let {
    row,
    isEditable = true
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__.useTranslation)((commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default()));
  const [{
    validationErrors
  }, dispatch] = (0,_TableViewContext__WEBPACK_IMPORTED_MODULE_60__.useTableViewContext)();
  const [anchorEl, setAnchorEl] = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(null);
  const open = Boolean(anchorEl);
  const edited = row.graph.isChanged();
  const handleMenuClick = event => setAnchorEl(event.currentTarget);
  const handleMenuClose = () => setAnchorEl(null);
  const {
    handleSaveRow,
    handleDiscardRow
  } = (0,_useTableViewRowActions__WEBPACK_IMPORTED_MODULE_57__["default"])(dispatch);
  const [editDialogOpen, setEditDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false);
  const openEditDialog = () => setEditDialogOpen(true);
  const closeEditDialog = () => setEditDialogOpen(false);
  const [infoDialogOpen, setInfoDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false);
  const openInfoDialog = () => setInfoDialogOpen(true);
  const closeInfoDialog = () => setInfoDialogOpen(false);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoTableView__rowActions"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_46__["default"], {
    title: translate('rowMenuButtonTooltip')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    id: "row-actions-button",
    "aria-label": translate('rowMenuButtonLabel'),
    edge: "end",
    "aria-controls": "row-actions-menu",
    "aria-haspopup": "true",
    onClick: handleMenuClick,
    className: "escoTableView__rowActionsButton"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_28__["default"], null))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    id: "row-actions-menu",
    anchorEl: anchorEl,
    open: open,
    onClose: handleMenuClose,
    MenuListProps: {
      'aria-labelledby': 'row-actions-button'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    onClick: () => {
      handleMenuClose();
      openInfoDialog();
    },
    key: "infoRowMenuItem"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], null, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_26__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
    primary: translate('infoRowMenuItemLabel')
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    onClick: () => {
      handleMenuClose();
      openEditDialog();
    },
    key: "editRowMenuItem",
    disabled: !isEditable
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], null, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_25__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
    primary: translate('editRowMenuItemLabel')
  })), edited ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    onClick: () => handleSaveRow(row, handleMenuClose),
    key: "saveRowMenuItem",
    disabled: Boolean(validationErrors[row.id]) || !isEditable
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], null, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_29__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
    primary: translate('saveRowMenuItemLabel')
  })) : null, edited ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    onClick: () => handleDiscardRow(row, handleMenuClose),
    key: "discardRowMenuItem",
    disabled: !isEditable
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], null, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_23__["default"], null)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
    primary: translate('discardRowMenuItemLabel')
  })) : null), editDialogOpen ? /*#__PURE__*/React.createElement(_components_TableViewEditDialog__WEBPACK_IMPORTED_MODULE_56__["default"], {
    row: row,
    closeDialog: closeEditDialog
  }) : null, infoDialogOpen ? /*#__PURE__*/React.createElement(commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_54__["default"], {
    entry: row.entry,
    closeDialog: closeInfoDialog
  }) : null);
};
ActionsMenu.propTypes = {
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
  row: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
    graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.graphPropType,
    entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.entryPropType
  })
};
const extractColumns = _ref3 => {
  let {
    template,
    translate,
    renderValue,
    isRowEditable,
    flattenSectionForms
  } = _ref3;
  const textItems = (0,_util_columnUtils__WEBPACK_IMPORTED_MODULE_59__.getColumnItems)(template, flattenSectionForms);
  const commonColumnParams = {
    minWidth: 120,
    flex: 1,
    renderCell: props => (0,commons_components_TableView_components_CellExpand__WEBPACK_IMPORTED_MODULE_41__["default"])(_objectSpread(_objectSpread({}, props), {}, {
      isEditable: isRowEditable === null || isRowEditable === void 0 ? void 0 : isRowEditable(props.row)
    })),
    valueFormatter: renderValue,
    sortable: false
  };
  const columns = textItems.map(item => _objectSpread({
    field: `${item._internalId}`,
    headerName: item.getLabel(),
    renderHeader: () => /*#__PURE__*/React.createElement(ColumnHeader, {
      name: item.getLabel()
    }),
    rdformsitem: item,
    hide: !(item.getCardinality().min > 0 || item.getCardinality().pref > 0)
  }, commonColumnParams));
  const renderActionsMenu = props => /*#__PURE__*/React.createElement(ActionsMenu, _extends({}, props, {
    isEditable: isRowEditable === null || isRowEditable === void 0 ? void 0 : isRowEditable(props.row)
  }));
  return [{
    field: 'more',
    headerName: 'Actions',
    hideable: false,
    renderHeader: () => /*#__PURE__*/React.createElement(ColumnHeader, {
      name: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_31__["default"], {
        "aria-label": translate('actionsColumnHeaderTooltip')
      }),
      tooltip: translate('actionsColumnHeaderTooltip')
    }),
    width: 60,
    renderCell: renderActionsMenu,
    sortable: false
  }, ...columns];
};
const TableViewToolbar = () => /*#__PURE__*/React.createElement(_mui_x_data_grid__WEBPACK_IMPORTED_MODULE_35__.GridToolbarContainer, null, /*#__PURE__*/React.createElement(_mui_x_data_grid__WEBPACK_IMPORTED_MODULE_33__.GridToolbarColumnsButton, {
  variant: "outlined",
  classes: {
    root: 'escoTableView__headerButtons'
  },
  selected: false
}), /*#__PURE__*/React.createElement(_mui_x_data_grid__WEBPACK_IMPORTED_MODULE_34__.GridToolbarDensitySelector, {
  variant: "outlined",
  classes: {
    root: 'escoTableView__headerButtons'
  }
}));
const TableViewPagination = () => {
  const [{
    selectionModel,
    page,
    rowsPerPage,
    totalCount
  }, dispatch] = (0,_TableViewContext__WEBPACK_IMPORTED_MODULE_60__.useTableViewContext)();
  const disablePagination = Boolean(selectionModel.length);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__.useTranslation)((commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default()));
  const handleChangePage = (_event, newPage) => {
    if (selectionModel.length) return;
    dispatch({
      type: 'PAGINATE',
      value: {
        page: newPage
      }
    });
  };
  const handleChangeRowsPerPage = event => {
    dispatch({
      type: 'CHANGE_ROWS_PER_PAGE',
      value: {
        rowsPerPage: parseInt(event.target.value, 10),
        page: 0
      }
    });
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_18__["default"], {
    classes: {
      root: `escoTableView__pagination ${selectionModel.length ? 'escoTableView__pagination--disabled' : ''}`
    },
    backIconButtonProps: {
      disabled: disablePagination || page === 0
    },
    nextIconButtonProps: {
      disabled: disablePagination || totalCount <= rowsPerPage || page >= Math.floor(totalCount / rowsPerPage)
    },
    component: "div",
    count: totalCount,
    page: page,
    onPageChange: handleChangePage,
    rowsPerPage: rowsPerPage,
    onRowsPerPageChange: handleChangeRowsPerPage,
    labelRowsPerPage: translate('labelRowsPerPage'),
    SelectProps: {
      disabled: disablePagination,
      id: 'rows-per-page-select-label',
      inputProps: {
        'aria-labelledby': 'rows-per-page-select-label'
      }
    }
  });
};
const TableViewFooter = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__.useTranslation)((commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default()));
  const [{
    selectionModel,
    rows,
    validationErrors,
    error
  }, dispatch] = (0,_TableViewContext__WEBPACK_IMPORTED_MODULE_60__.useTableViewContext)();
  const {
    saveSelectedRows,
    discardSelectedRows
  } = (0,_useTableViewRowActions__WEBPACK_IMPORTED_MODULE_57__["default"])(dispatch);
  const selectedRows = rows.filter(row => selectionModel.includes(row.id));
  const hasValidationErrors = Boolean(Object.entries(validationErrors).length);
  return /*#__PURE__*/React.createElement(_mui_x_data_grid__WEBPACK_IMPORTED_MODULE_35__.GridToolbarContainer, {
    className: "escoTableView__footerContainer"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoTableView__buttonWrapper"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_19__["default"], {
    classes: {
      root: 'escoTableView__footerButton'
    },
    variant: "contained",
    color: "primary",
    onClick: () => saveSelectedRows(selectedRows),
    disabled: selectionModel.length === 0 || hasValidationErrors
  }, translate('saveButtonLabel')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_19__["default"], {
    classes: {
      root: 'escoTableView__footerButton'
    },
    variant: "contained",
    color: "primary",
    onClick: _event => discardSelectedRows(selectedRows),
    disabled: selectionModel.length === 0
  }, translate('discardButtonLabel')), /*#__PURE__*/React.createElement("div", {
    className: "escoTableView__errors"
  }, error ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    className: "escoTableView__errorMessage"
  }, translate('errorMessage')) : null, hasValidationErrors ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    className: "escoTableView__errorMessage"
  }, translate('validationErrorMessage')) : null)), /*#__PURE__*/React.createElement(TableViewPagination, null));
};
const TableViewFilters = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__.useTranslation)((commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default()));
  const [{
    selectionModel,
    searchQuery = ''
  }, dispatch] = (0,_TableViewContext__WEBPACK_IMPORTED_MODULE_60__.useTableViewContext)();
  const disableSearch = Boolean(selectionModel.length);
  const trimmedQuery = searchQuery.trim();
  const handleSearch = event => dispatch({
    type: 'SEARCH',
    value: {
      searchQuery: event.target.value
    }
  });
  const clearSearch = _event => dispatch({
    type: 'CLEAR_SEARCH'
  });
  return /*#__PURE__*/React.createElement("div", {
    className: "escoTableViewSearch"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_20__["default"], {
    disabled: disableSearch,
    value: searchQuery,
    placeholder: translate('searchPlaceholder'),
    classes: {
      root: 'escoTableViewSearch__root'
    },
    onChange: handleSearch,
    fullWidth: true,
    inputProps: {
      'aria-label': 'Search'
    },
    startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_21__["default"], {
      position: "start",
      classes: {
        root: `escoTableViewSearch__adornment ${disableSearch ? 'escoTableViewSearch__adornment--disabled' : ''}`
      }
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_30__["default"], null)),
    endAdornment: searchQuery ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_21__["default"], {
      position: "end"
    }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_46__["default"], {
      title: translate('searchClearLabel')
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
      "aria-label": "searchClearLabel",
      onClick: clearSearch,
      onMouseDown: e => e.preventDefault(),
      color: "secondary",
      disabled: disableSearch
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_24__["default"], null)))) : null
  }), trimmedQuery.length > 0 && trimmedQuery.length < 3 ? /*#__PURE__*/React.createElement("div", {
    className: "escoTableViewSearch__statusMessage",
    role: "status"
  }, translate('searchHelperText')) : null);
};
const NoRowsOverlay = _ref4 => {
  let {
    message,
    hide
  } = _ref4;
  return !hide ? /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_50__["default"], {
    label: message,
    icon: /*#__PURE__*/React.createElement(_mui_icons_material_SearchOff__WEBPACK_IMPORTED_MODULE_51__["default"], {
      sx: {
        fontSize: '60px'
      }
    })
  }) : null;
};
NoRowsOverlay.propTypes = {
  message: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
  hide: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool)
};
const ListViewIconButton = _ref5 => {
  let {
    handleClick
  } = _ref5;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__.useTranslation)((commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default()));
  const [{
    selectionModel
  }] = (0,_TableViewContext__WEBPACK_IMPORTED_MODULE_60__.useTableViewContext)();
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_46__["default"], {
    title: translate('gotoListView')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    className: "escoTableView__listViewIcon",
    onClick: handleClick,
    color: "primary",
    disabled: Boolean(selectionModel.length)
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_27__["default"], null)));
};
ListViewIconButton.propTypes = {
  handleClick: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func)
};
const TableViewFilterBar = _ref6 => {
  let {
    handleSwitchToList,
    includeFilters,
    hasActiveFilters,
    disableControls
  } = _ref6;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoTableView__filterBar"
  }, /*#__PURE__*/React.createElement(TableViewFilters, null), /*#__PURE__*/React.createElement("div", {
    className: "escoTableView__filterControls"
  }, includeFilters ? /*#__PURE__*/React.createElement(commons_components_filters_SearchFiltersButton__WEBPACK_IMPORTED_MODULE_47__["default"], {
    filtersActiveBadge: hasActiveFilters,
    disabled: disableControls
  }) : null, /*#__PURE__*/React.createElement(ListViewIconButton, {
    handleClick: handleSwitchToList
  })));
};
TableViewFilterBar.propTypes = {
  handleSwitchToList: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
  includeFilters: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
  hasActiveFilters: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool),
  disableControls: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool)
};
const TableView = _ref7 => {
  let {
    setTableView,
    rdfType,
    templateId,
    filterScheme,
    nlsBundles = [],
    createQuery,
    isRowEditable,
    flattenSectionForms
  } = _ref7;
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_37__.useESContext)();
  const {
    data: queryResult,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_39__["default"])({
    data: {}
  });
  const {
    runAsync: runLoadTableData
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_39__["default"])(null);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_49__["default"])(filterScheme, nlsBundles),
    {
      isLoading
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const {
    applyFilters,
    hasFilters
  } = filterProps;
  const hasSelectedFilter = filterProps.hasSelectedFilter();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__.useTranslation)([(commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default()), (commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_52___default()), ...nlsBundles]);
  const template = (0,react__WEBPACK_IMPORTED_MODULE_8__.useMemo)(() => commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_42__.itemStore.getItem(templateId), [templateId]);
  const [{
    columns,
    rows,
    selectionModel,
    validationErrors,
    searchQuery = '',
    page,
    rowsPerPage,
    refreshCount
  }, dispatch] = (0,_TableViewContext__WEBPACK_IMPORTED_MODULE_60__.useTableViewContext)();
  const [, dispatchList] = (0,_ListView__WEBPACK_IMPORTED_MODULE_63__.useListModel)();
  const handleFilterSelect = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)((filter, value) => {
    if (filter) {
      dispatchList({
        type: commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_55__.FILTER,
        filter: {
          [filter.getId()]: value
        }
      });
      dispatch({
        type: 'REFRESH_TABLE'
      });
      return;
    }
    dispatchList({
      type: commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_55__.CLEAR_FILTER
    });
  }, [dispatchList, dispatch]);
  const minimumSearchLength = config__WEBPACK_IMPORTED_MODULE_36__["default"].get('minimumSearchLength');
  const searchQueryString = searchQuery.trim().length < minimumSearchLength ? '' : searchQuery.trim();
  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => {
    if (!context || isLoading) return;
    const query = createQuery ? createQuery() : commons_store__WEBPACK_IMPORTED_MODULE_43__.entrystore.newSolrQuery().rdfType(rdfType).context(context);
    if (hasFilters) applyFilters(query);
    const searchList = query.title(searchQueryString).limit(rowsPerPage).offset(page * rowsPerPage).list();
    runAsync(searchList.getEntries(page).then(entries => {
      const rowData = entries.map(entry => ({
        entry,
        id: entry.getResourceURI(),
        graph: entry.getMetadata().clone()
      }));
      return {
        rowData,
        totalCount: searchList.getSize()
      };
    }));
  }, [context, isLoading, template, page, searchQueryString, rdfType, dispatch, runAsync, rowsPerPage, applyFilters, hasFilters, refreshCount, createQuery]);
  const renderValue = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(rowParams => {
    var _rowParams$value;
    const item = (_rowParams$value = rowParams.value) === null || _rowParams$value === void 0 ? void 0 : _rowParams$value.item;
    const immediateParentBinding = (0,_usePresentOrEdit__WEBPACK_IMPORTED_MODULE_64__.getOrCreateParentBinding)(rowParams.value);
    if ((item === null || item === void 0 ? void 0 : item.getType()) === 'group') {
      var _immediateParentBindi;
      const hasValidBinding = (_immediateParentBindi = immediateParentBinding.getChildBindingsFor(item)) === null || _immediateParentBindi === void 0 ? void 0 : _immediateParentBindi.some(binding => binding.isValid());
      return hasValidBinding ? translate('clickToEditPlaceholder') : '';
    }
    return (0,commons_components_TableView_util_valueFormatter__WEBPACK_IMPORTED_MODULE_44__["default"])(_objectSpread(_objectSpread({}, rowParams), {}, {
      value: {
        parent: immediateParentBinding,
        item: rowParams.value.item
      }
    }));
  }, [translate]);
  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => {
    if (!template) return;
    const {
      rowData,
      totalCount
    } = queryResult;
    const getColumnsAndRows = async () => {
      const newColumns = extractColumns({
        template,
        translate,
        renderValue,
        isRowEditable,
        flattenSectionForms
      });
      let newRows;
      if (rowData) {
        newRows = (0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_58__.addRowBindings)(rowData, template, newColumns);
        await (0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_58__.loadRowChoices)(newRows);
      }
      dispatch({
        type: 'LOAD_DATA',
        value: {
          rows: newRows,
          columns: newColumns,
          totalCount
        }
      });
    };
    runLoadTableData(getColumnsAndRows());
  }, [queryResult, runLoadTableData, template, dispatch, renderValue, translate, isRowEditable, flattenSectionForms]);
  const handleEditRow = row => {
    const {
      id: rowId,
      actions: {
        parent: binding
      }
    } = row;
    const {
      errors: rowErrors
    } = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_11__.validate.bindingReport(binding);
    dispatch({
      type: 'EDIT_ROW',
      value: {
        rowId,
        rowErrors
      }
    });
  };
  const handleSwitchToList = () => {
    setTableView(false);
  };
  if (!rows || !columns) {
    return /*#__PURE__*/React.createElement("div", {
      className: "escoTableView__circularProgress"
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_22__["default"], null));
  }
  const overlayMessage = translate((0,_filters_utils_filter__WEBPACK_IMPORTED_MODULE_62__.getNoResultsNLS)(searchQueryString, hasSelectedFilter), searchQueryString);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TableViewFilterBar, {
    includeFilters: hasFilters,
    hasActiveFilters: hasSelectedFilter,
    handleSwitchToList: handleSwitchToList,
    disableControls: Boolean(selectionModel.length)
  }), hasFilters ? /*#__PURE__*/React.createElement(commons_components_filters_SearchFilters__WEBPACK_IMPORTED_MODULE_48__["default"], {
    filterProps: filterProps,
    nlsBundles: [(commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_40___default()), ...(nlsBundles || [])],
    disabled: Boolean(selectionModel.length),
    onFilterSelect: handleFilterSelect
  }) : null, /*#__PURE__*/React.createElement(commons_components_TableView_EditRowContext__WEBPACK_IMPORTED_MODULE_45__.EditRowContextProvider, {
    value: handleEditRow
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoTableView__main"
  }, /*#__PURE__*/React.createElement(_mui_x_data_grid__WEBPACK_IMPORTED_MODULE_32__.DataGrid, {
    rows: rows,
    columns: columns,
    pagination: true,
    pageSize: rowsPerPage,
    disableColumnMenu: true,
    disableDensitySelector: true,
    components: {
      Toolbar: TableViewToolbar,
      Footer: TableViewFooter,
      NoRowsOverlay
    },
    componentsProps: {
      noRowsOverlay: {
        message: overlayMessage,
        hide: status === 'idle' || status === 'pending'
      }
    },
    disableColumnFilter: true,
    disableSelectionOnClick: true,
    getCellClassName: gridCellParams => (0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_58__.getTableViewCellClassName)(gridCellParams, validationErrors),
    getRowClassName: gridRowParams => (0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_58__.getTableViewRowClassName)(gridRowParams, validationErrors, selectionModel),
    localeText: {
      toolbarColumns: translate('toolbarColumns'),
      columnsPanelTextFieldLabel: translate('columnsPanelTextFieldLabel'),
      columnsPanelTextFieldPlaceholder: translate('columnsPanelTextFieldPlaceholder'),
      columnsPanelShowAllButton: translate('columnsPanelShowAllButton'),
      columnsPanelHideAllButton: translate('columnsPanelHideAllButton')
    }
  }))), /*#__PURE__*/React.createElement(commons_components_common_dialogs_ConfirmLeaveDialog__WEBPACK_IMPORTED_MODULE_53__.ConfirmLeaveDialog, {
    shouldBlock: Boolean(selectionModel.length)
  }));
};
TableView.propTypes = {
  setTableView: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
  rdfType: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_9___default().string), prop_types__WEBPACK_IMPORTED_MODULE_9___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_9___default().string))]),
  templateId: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_38__.nlsBundlesPropType,
  filterScheme: prop_types__WEBPACK_IMPORTED_MODULE_9___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({})),
  createQuery: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
  isRowEditable: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func),
  flattenSectionForms: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_TableViewContext__WEBPACK_IMPORTED_MODULE_60__.withTableViewContextProvider)(TableView));

/***/ },

/***/ "./modules/commons/components/TableView/TableViewContext.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/TableView/TableViewContext.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TableViewContextProvider: () => (/* binding */ TableViewContextProvider),
/* harmony export */   useTableViewContext: () => (/* binding */ useTableViewContext),
/* harmony export */   withTableViewContextProvider: () => (/* binding */ withTableViewContextProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



/**
 * The TableView state
 *
 * @typedef {Object} TableViewState
 * @property {Object[]} rows
 * @property {string[]} selectionModel
 * @property {Object<string, Object[]>} validationErrors
 * @property {number} page
 * @property {number} totalCount
 * @property {string} searchQuery
 * @property {string} error
 */

/**
 * @returns {TableViewState}
 */
const getInitialState = () => {
  return {
    rows: [],
    selectionModel: [],
    validationErrors: {},
    page: 0,
    rowsPerPage: 25,
    totalCount: 0,
    searchQuery: '',
    error: '',
    refreshCount: 0
  };
};

/**
 * Determines and returns the new table view validationErrors state.
 *
 * @param {Object<string, string[]>} previousErrors
 * @param {string} rowId
 * @param {Object} newRowErrors
 * @returns {Object<string, Object[]>}
 */
const getUpdatedValidationErrors = (previousErrors, rowId, newRowErrors) => {
  if (newRowErrors.length) {
    return _objectSpread(_objectSpread({}, previousErrors), {}, {
      [rowId]: newRowErrors
    });
  }
  const previousRowErrors = previousErrors[rowId];
  if (!previousRowErrors) {
    return previousErrors;
  }

  // Row had pre-existing validation errors, but none during last validation
  // eslint-disable-next-line camelcase
  const {
      [rowId]: _removedError
    } = previousErrors,
    updatedErrors = _objectWithoutProperties(previousErrors, [rowId].map(_toPropertyKey));
  return updatedErrors;
};
const tableViewReducer = (state, _ref) => {
  let {
    type,
    value
  } = _ref;
  switch (type) {
    case 'LOAD_DATA':
      return _objectSpread(_objectSpread({}, state), {}, {
        rows: value.rows,
        columns: value.columns,
        totalCount: value.totalCount
      });
    case 'EDIT_ROW':
      return _objectSpread(_objectSpread({}, state), {}, {
        selectionModel: [value.rowId, ...state.selectionModel],
        validationErrors: getUpdatedValidationErrors(state.validationErrors, value.rowId, value.rowErrors)
      });
    case 'SAVE_ROW':
      return _objectSpread(_objectSpread({}, state), {}, {
        selectionModel: state.selectionModel.filter(key => key !== value.rowId),
        error: '',
        validationErrors: getUpdatedValidationErrors(state.validationErrors, value.rowId, [])
      });
    case 'DISCARD_ROW':
      return _objectSpread(_objectSpread({}, state), {}, {
        selectionModel: state.selectionModel.filter(key => key !== value.rowId),
        validationErrors: (_value$rowId => {
          // eslint-disable-next-line camelcase
          const _state$validationErro = state.validationErrors,
            {
              [_value$rowId = value.rowId]: _removedError
            } = _state$validationErro,
            newErrors = _objectWithoutProperties(_state$validationErro, [_value$rowId].map(_toPropertyKey));
          return newErrors;
        })(),
        error: ''
      });
    case 'SAVE_SELECTED_ROWS':
      return _objectSpread(_objectSpread({}, state), {}, {
        selectionModel: [],
        error: ''
      });
    case 'DISCARD_SELECTED_ROWS':
      return _objectSpread(_objectSpread({}, state), {}, {
        selectionModel: [],
        validationErrors: {},
        error: ''
      });
    case 'PAGINATE':
      return _objectSpread(_objectSpread({}, state), {}, {
        page: value.page
      });
    case 'CHANGE_ROWS_PER_PAGE':
      return _objectSpread(_objectSpread({}, state), {}, {
        rowsPerPage: value.rowsPerPage,
        page: 0
      });
    case 'SEARCH':
      return _objectSpread(_objectSpread({}, state), {}, {
        searchQuery: value.searchQuery,
        page: 0
      });
    case 'CLEAR_SEARCH':
      return _objectSpread(_objectSpread({}, state), {}, {
        searchQuery: ''
      });
    case 'ERROR':
      return _objectSpread(_objectSpread({}, state), {}, {
        error: value.error
      });
    case 'CLEAR_ERROR':
      return _objectSpread(_objectSpread({}, state), {}, {
        error: ''
      });
    case 'REFRESH_TABLE':
      return _objectSpread(_objectSpread({}, state), {}, {
        refreshCount: state.refreshCount + 1 // increase to trigger refresh
      });
    default:
      throw new Error('Unknown action for TableView reducer');
  }
};
const TableViewContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_4__.createContext)(null);
const TableViewContextProvider = _ref2 => {
  let {
    children
  } = _ref2;
  const [state, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useReducer)(tableViewReducer, getInitialState());
  return /*#__PURE__*/React.createElement(TableViewContext.Provider, {
    value: [state, dispatch]
  }, children);
};
TableViewContextProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
const useTableViewContext = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(TableViewContext);
  if (context === undefined) {
    throw new Error('useTableViewContext must be used within a ContextProvider');
  }
  return context;
};

/**
 * Wraps a component with TableViewContextProvider
 * @return {node}
 */
const withTableViewContextProvider = Component => {
  return props => {
    return /*#__PURE__*/React.createElement(TableViewContextProvider, null, /*#__PURE__*/React.createElement(Component, props));
  };
};

/***/ },

/***/ "./modules/commons/components/TableView/components/CellExpand/CellExpand.js"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/TableView/components/CellExpand/CellExpand.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ClickAwayListener/ClickAwayListener.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/Close */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var _mui_styles__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/styles */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/makeStyles.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useDebounce */ "./modules/commons/hooks/useDebounce.js");
/* harmony import */ var commons_components_TableView_usePresentOrEdit__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/TableView/usePresentOrEdit */ "./modules/commons/components/TableView/usePresentOrEdit.js");
/* harmony import */ var commons_components_TableView_EditRowContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/TableView/EditRowContext */ "./modules/commons/components/TableView/EditRowContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoTableView.nls */ "./modules/commons/nls/escoTableView.nls");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/TableView/components/CellExpand/index.scss");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");


















const useStyles = (0,_mui_styles__WEBPACK_IMPORTED_MODULE_11__["default"])(() => ({
  root: {
    alignItems: 'center',
    lineHeight: '24px',
    width: '100%',
    height: '100%',
    position: 'relative',
    display: 'flex',
    padding: '0 10px',
    cursor: props => props.isEditable === false ? 'auto' : 'pointer',
    '& .cellValue': {
      whiteSpace: 'nowrap',
      overflow: 'hidden',
      textOverflow: 'ellipsis'
    }
  }
}));
const GridCellExpand = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().memo(function GridCellExpand(props) {
  var _value$item, _anchorEl$current;
  const {
    formattedValue,
    value,
    row,
    colDef,
    isEditable = true
  } = props;
  const {
    headerName
  } = colDef;
  const width = 480;
  const wrapper = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);
  const cellDiv = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);
  const cellValue = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);
  const [anchorEl, setAnchorEl] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  const classes = useStyles(props);
  const [showFullCell, setShowFullCell] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const [showPopper, setShowPopper] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const [viewState, setViewState] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('');
  const Component = (0,commons_components_TableView_usePresentOrEdit__WEBPACK_IMPORTED_MODULE_14__["default"])(viewState, value);
  const handleEditRow = (0,commons_components_TableView_EditRowContext__WEBPACK_IMPORTED_MODULE_15__.useEditRowContext)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)([(commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_17___default()), (catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_18___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_19___default())]);
  const showComponentInTooltip = (value === null || value === void 0 || (_value$item = value.item) === null || _value$item === void 0 ? void 0 : _value$item.getType()) !== 'group';
  const closeEditor = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    if (viewState === 'edit') {
      if (row.graph.isChanged()) {
        handleEditRow(row);
      }
    }
    setShowFullCell(false);
    setViewState('');
  }, [handleEditRow, row, viewState]);
  const mouseEnterCallback = () => {
    setShowPopper(true);
    setViewState('present');
    setAnchorEl(cellDiv.current);
    setShowFullCell(true);
  };
  const debouncedMouseEnterCallback = (0,commons_hooks_useDebounce__WEBPACK_IMPORTED_MODULE_13__["default"])(mouseEnterCallback, 200);
  const handleMouseEnter = () => {
    if (viewState === 'edit') return;
    debouncedMouseEnterCallback();
  };
  const handleMouseLeave = () => {
    if (viewState === 'edit') return;
    debouncedMouseEnterCallback.cancel();
    closeEditor();
  };
  const handleClickAway = _ref => {
    var _activeElement$classL;
    let {
      currentTarget: {
        activeElement
      }
    } = _ref;
    // Necessary to prevent the popper closing. Selects portal the options at the
    // end of the document body, which fires the click away listener,
    //   see https://github.com/mui-org/material-ui/issues/12034.
    // Should either switch to native selects on rdforms or provide
    // a way to identify them or something.
    if (activeElement !== null && activeElement !== void 0 && (_activeElement$classL = activeElement.classList) !== null && _activeElement$classL !== void 0 && _activeElement$classL.contains('MuiMenuItem-root')) {
      return;
    }
    closeEditor();
  };
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!showFullCell) {
      return undefined;
    }

    // eslint-disable-next-line jsdoc/require-jsdoc
    function handleKeyDown(nativeEvent) {
      // IE11, Edge (prior to using Bink?) use 'Esc'
      if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
        closeEditor();
      }
    }
    document.addEventListener('keydown', handleKeyDown);
    return () => {
      document.removeEventListener('keydown', handleKeyDown);
    };
  }, [closeEditor, setShowFullCell, showFullCell]);
  const clickToEdit = () => {
    if (viewState !== 'edit' && isEditable) {
      setShowFullCell(true);
      setViewState('edit');
    }
  };
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__.ClickAwayListener, {
    onClickAway: viewState === 'edit' ? handleClickAway : () => {}
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    ref: wrapper,
    className: classes.root,
    onMouseEnter: handleMouseEnter,
    onMouseLeave: handleMouseLeave,
    onClick: clickToEdit
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", {
    ref: cellDiv,
    style: {
      height: 50,
      display: 'block',
      position: 'absolute',
      top: 0
    }
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", {
    ref: cellValue,
    className: "cellValue"
  }, formattedValue), showPopper && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    open: showFullCell && anchorEl !== null,
    anchorEl: anchorEl,
    style: {
      width: viewState === 'edit' ? width : 'inherit',
      maxWidth: width
    },
    placement: "bottom-start",
    popperOptions: {
      modifiers: [{
        name: 'offset',
        options: {
          offset: [-10, 10]
        }
      }, {
        name: 'flip',
        options: {
          fallbackPlacements: ['bottom', 'right', 'left', 'top']
        }
      }, {
        name: 'preventOverflow',
        options: {
          boundary: (_anchorEl$current = anchorEl.current) !== null && _anchorEl$current !== void 0 ? _anchorEl$current : 'viewport',
          altAxis: true,
          padding: 8
        }
      }]
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    elevation: 1,
    style: {
      // eslint-disable-next-line react-hooks/refs
      minHeight: wrapper.current.offsetHeight - 3
    },
    classes: {
      root: viewState === 'edit' ? 'escoCellExpand__paper' : 'escoCellExpand__paper escoCellExpand__paper--clickable'
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", {
    className: "escoCellExpandHeader"
  }, viewState === 'edit' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_12__["default"], {
    title: t('closePopoverTooltip')
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    classes: {
      root: 'escoCellExpandHeader__closeButton'
    },
    "aria-label": t('closePopoverLabel'),
    onClick: closeEditor
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_10__["default"], null))) : isEditable ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    color: "primary"
  }, t('clickToEdit', headerName)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_20__["default"], {
    style: {
      width: '100%'
    },
    severity: "info",
    title: t('archived')
  }, t('noEditInfoText'))), Component && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", {
    className: formattedValue ? 'escoCellExpand__prompt' : ''
  }, showComponentInTooltip && formattedValue || viewState === 'edit' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Component, null) : null)))));
});
GridCellExpand.propTypes = {
  value: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      getType: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
    })
  }).isRequired,
  formattedValue: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
  row: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.graphPropType
  }),
  colDef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    headerName: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
  }).isRequired,
  isEditable: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
};

// eslint-disable-next-line jsdoc/require-jsdoc
function renderCellExpand(params) {
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(GridCellExpand, params);
}
renderCellExpand.propTypes = {
  colDef: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    headerName: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
  }).isRequired,
  value: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(Date), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    item: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      getType: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
    }).isRequired
  }), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)]).isRequired,
  formattedValue: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)]),
  row: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_22__.graphPropType
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (renderCellExpand);

/***/ },

/***/ "./modules/commons/components/TableView/components/CellExpand/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/TableView/components/CellExpand/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CellExpand__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CellExpand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CellExpand */ "./modules/commons/components/TableView/components/CellExpand/CellExpand.js");


/***/ },

/***/ "./modules/commons/components/TableView/components/TableViewEditDialog/TableViewEditDialog.js"
/*!****************************************************************************************************!*\
  !*** ./modules/commons/components/TableView/components/TableViewEditDialog/TableViewEditDialog.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdforms/renderers/react */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoTableView.nls */ "./modules/commons/nls/escoTableView.nls");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/rdforms/RdformsDialogFormWrapper */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/rdforms/hooks/useLevelProfile */ "./modules/commons/components/rdforms/hooks/useLevelProfile.js");
/* harmony import */ var catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/datasetTemplates/useGetDatasetTemplateEntry */ "./modules/catalog/datasetTemplates/useGetDatasetTemplateEntry.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsValidation */ "./modules/commons/components/rdforms/hooks/useRDFormsValidation.js");
/* harmony import */ var commons_components_rdforms_DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/rdforms/DatasetTemplateMetadataPresenter */ "./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/index.js");
/* harmony import */ var commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/dialogs/DialogTwoColumnLayout */ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline */ "./modules/commons/components/rdforms/RdformsOutline/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch */ "./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js");
/* harmony import */ var _useTableViewRowActions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../useTableViewRowActions */ "./modules/commons/components/TableView/useTableViewRowActions.js");
/* harmony import */ var _TableViewContext__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../TableViewContext */ "./modules/commons/components/TableView/TableViewContext.js");
/* harmony import */ var _EditRowContext__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../EditRowContext */ "./modules/commons/components/TableView/EditRowContext.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["row", "closeDialog", "editorLevel", "filterPredicates"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




















const TableViewEditDialog = _ref => {
  let {
      row,
      closeDialog,
      editorLevel = commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__.LEVEL_RECOMMENDED,
      filterPredicates
      // ListActionDialog props
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const {
    entry,
    graph,
    template,
    actions: {
      parent: binding
    }
  } = row;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  const handleEditRow = (0,_EditRowContext__WEBPACK_IMPORTED_MODULE_22__.useEditRowContext)();
  const [, dispatch] = (0,_TableViewContext__WEBPACK_IMPORTED_MODULE_21__.useTableViewContext)();
  const {
    handleSaveRow
  } = (0,_useTableViewRowActions__WEBPACK_IMPORTED_MODULE_20__["default"])(dispatch);
  const [datasetTemplateEntry] = (0,catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_14__["default"])(entry);
  const [editor, setEditor] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null);
  const EditorComponent = editor === null || editor === void 0 ? void 0 : editor.domNode.component;
  const getFormErrorMessage = (0,commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_15__.useFormErrorMessage)();
  const [formError, setFormError] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null);
  const [errors, setErrors] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]);
  const outlineSearchProps = (0,commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_19__["default"])();
  const alert = formError ? {
    message: formError,
    setMessage: setFormError
  } : undefined;
  // eslint-disable-next-line react/prop-types
  const templateId = template.getId();
  const [level, setLevel] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(editorLevel);
  const disabledLevels = (0,commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_13__["default"])(templateId);
  const [hasChanges, setHasChanges] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    try {
      setEditor(new _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_7__.Editor({
        binding,
        includeLevel: level,
        compact: false,
        filterPredicates
      }));
    } catch (error) {
      console.error('bypassing rdforms issues, caused by: ', error);
    }
  }, [level, filterPredicates, binding]);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (graph) {
      graph.onChange = () => {
        setHasChanges(true);
      };
    }
  }, [graph]);

  // Validate on init to highlight errors in both the form and outline
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (!editor) return;
    const {
      errors: validationErrors
    } = _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_7__.validate.bindingReport(editor.binding);
    setErrors(validationErrors);
  }, [editor]);
  const handleClose = () => {
    closeDialog();
    if (graph.isChanged()) {
      handleEditRow(row);
    }
  };
  const saveEntry = () => {
    const {
      errors: validationErrors
    } = _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_7__.validate.bindingReport(editor.binding);
    if (!validationErrors.length) {
      handleSaveRow(row, handleClose);
      return;
    }
    const errorMessage = getFormErrorMessage(validationErrors);
    setFormError(errorMessage);
    setErrors(validationErrors);
    outlineSearchProps.clearSearch();
    // Needed to update TableView state in case the dialog is closed
    dispatch({
      type: 'EDIT_ROW',
      value: {
        rowId: row.id,
        rowErrors: validationErrors
      }
    });
  };
  const actions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    disabled: !hasChanges,
    onClick: saveEntry
  }, t('editDialogSaveButton'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__["default"], _extends({
    title: t('editDialogHeader'),
    actions: actions,
    closeDialog: handleClose,
    closeDialogButtonLabel: t('editDialogCloseButton'),
    alert: alert,
    id: "tableview-edit-entry-dialog"
  }, rest), /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__.SecondaryColumn, null, editor ? /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_18__["default"], {
    editor: editor,
    root: "tableview-edit-entry-dialog",
    errors: errors,
    searchProps: outlineSearchProps
  }) : null), /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__.PrimaryColumn, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_10__.RdformsDialogFormWrapper, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_10__.RdformsStickyDialogContent, null, /*#__PURE__*/React.createElement(commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__["default"], {
    level: level,
    onUpdateLevel: setLevel,
    disabledLevels: disabledLevels
  })), /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_10__.RdformsDialogContent, null, datasetTemplateEntry ? /*#__PURE__*/React.createElement(commons_components_rdforms_DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_16__["default"], {
    entry: datasetTemplateEntry,
    externalTemplateId: templateId
  }) : null, editor ? /*#__PURE__*/React.createElement(EditorComponent, null) : null)))));
};
TableViewEditDialog.propTypes = {
  row: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.graphPropType,
    entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.entryPropType,
    template: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
    actions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      parent: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
    }) // GroupBinding
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  editorLevel: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  filterPredicates: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape()
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableViewEditDialog);

/***/ },

/***/ "./modules/commons/components/TableView/components/TableViewEditDialog/index.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/TableView/components/TableViewEditDialog/index.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _TableViewEditDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _TableViewEditDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableViewEditDialog */ "./modules/commons/components/TableView/components/TableViewEditDialog/TableViewEditDialog.js");


/***/ },

/***/ "./modules/commons/components/TableView/index.js"
/*!*******************************************************!*\
  !*** ./modules/commons/components/TableView/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _TableView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _TableView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableView */ "./modules/commons/components/TableView/TableView.js");


/***/ },

/***/ "./modules/commons/components/TableView/usePresentOrEdit.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/TableView/usePresentOrEdit.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   findSectionItem: () => (/* binding */ findSectionItem),
/* harmony export */   getOrCreateParentBinding: () => (/* binding */ getOrCreateParentBinding)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdforms/renderers/react */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js");






/**
 * Looks one level down from a root item to find a direct child "group"
 * that contains a specific item.
 *
 * @param {object} root - The parent item to search within
 * @param {object} item - The child item we are looking for inside a group.
 * @returns {object|undefined} Found "group" item, or `undefined` if no direct child
 * group contains the item
 */
const findSectionItem = (root, item) => {
  const children = root.getChildren();
  return children.find(child => {
    if (child.getType() === 'group') {
      return child.getChildren().includes(item);
    }
    return false;
  });
};

/**
 * Guarantees that a binding path exists for a given item
 *
 * Handles nested structures by first finding or creating the correct
 * immediate parent (a "section" or "group"), and then ensuring the binding for the
 * item itself exists under that parent. It mutates the RDForms engine state by
 * creating bindings if they do not exist.
 *
 * @param {object} value
 * @param {object} value.parent - The initial parent binding
 * @param {object} value.item - The item for which to ensure a binding path
 * @returns {object} The immediate parent binding for the item
 */
const getOrCreateParentBinding = value => {
  // Determine the correct immediate parent binding for the item
  let immediateParentBinding = value.parent;
  const parentItem = immediateParentBinding.getItem();

  // If the item isn't a direct child, find its section and ensure the section binding exists
  if (!parentItem.getChildren().includes(value.item)) {
    const sectionItem = findSectionItem(parentItem, value.item);
    const sectionBindings = immediateParentBinding.getChildBindingsFor(sectionItem);

    // Use the existing section binding OR create it if it doesn't exist
    immediateParentBinding = (sectionBindings === null || sectionBindings === void 0 ? void 0 : sectionBindings[0]) || _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_4__.engine.create(immediateParentBinding, sectionItem);
  }

  // Now that we have the correct parent, ensure the final value binding exists
  const valueBindings = immediateParentBinding.getChildBindingsFor(value.item);
  if (!valueBindings || !valueBindings.length) {
    _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_4__.engine.create(immediateParentBinding, value.item);
  }
  return immediateParentBinding;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((view, value) => {
  const [component, setComponent] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const immediateParentBinding = getOrCreateParentBinding(value);
    if (view === 'present') {
      const comp = new _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_4__.Presenter({
        binding: immediateParentBinding,
        restrictToItem: value.item,
        filterTranslations: false,
        compact: false
      });
      setComponent(comp);
    } else if (view === 'edit') {
      const comp = new _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_4__.Editor({
        binding: immediateParentBinding,
        restrictToItem: value.item,
        includeLevel: 'optional',
        compact: false,
        renderingParams: {
          ChoiceSelector: {
            disablePortal: false
          },
          ChoiceLookupAndInlineSearch: {
            disablePortal: false
          }
        }
      });
      setComponent(comp);
    } else {
      setComponent(null);
    }
  }, [view, value]);
  return component ? component.domNode.component : null;
});

/***/ },

/***/ "./modules/commons/components/TableView/useTableViewRowActions.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/TableView/useTableViewRowActions.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoTableView.nls */ "./modules/commons/nls/escoTableView.nls");
/* harmony import */ var commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _util_rowUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./util/rowUtils */ "./modules/commons/components/TableView/util/rowUtils.js");










const useTableViewRowActions = dispatch => {
  const {
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__.useSnackbar)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoTableView_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!error) return;
    dispatch({
      type: 'ERROR',
      value: {
        error
      }
    });
  }, [dispatch, error]);
  const handleSaveRow = function handleSaveRow(row) {
    let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => {};
    return runAsync((0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_9__.saveRow)(row).then(() => {
      dispatch({
        type: 'SAVE_ROW',
        value: {
          rowId: row.id
        }
      });
      callback();
      addSnackbar({
        message: translate('saveRowNotification')
      });
    }));
  };
  const handleDiscardRow = function handleDiscardRow(row) {
    let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => {};
    return runAsync((0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_9__.discardRow)(row).then(() => {
      dispatch({
        type: 'DISCARD_ROW',
        value: {
          rowId: row.id
        }
      });
      callback();
      addSnackbar({
        message: translate('discardRowNotification')
      });
    }));
  };
  const saveSelectedRows = selectedRows => {
    runAsync(Promise.all(selectedRows.map(selectedRow => {
      selectedRow.entry.setMetadata(selectedRow.graph);
      return selectedRow.entry.commitMetadata().then(() => selectedRow.graph.setChanged(false));
    })).then(() => {
      dispatch({
        type: 'SAVE_SELECTED_ROWS'
      });
      addSnackbar({
        message: translate('saveNotification')
      });
      dispatch({
        type: 'REFRESH_TABLE'
      });
    }));
  };
  const discardSelectedRows = selectedRows => {
    selectedRows.forEach(selectedRow => {
      selectedRow.graph = selectedRow.entry.getMetadata().clone();
      (0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_9__.bindToRow)(selectedRow);
    });
    runAsync((0,_util_rowUtils__WEBPACK_IMPORTED_MODULE_9__.loadRowChoices)(selectedRows).then(() => {
      addSnackbar({
        message: translate('discardNotification')
      });
      dispatch({
        type: 'DISCARD_SELECTED_ROWS'
      });
    }));
  };
  return {
    handleSaveRow,
    handleDiscardRow,
    saveSelectedRows,
    discardSelectedRows
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTableViewRowActions);

/***/ },

/***/ "./modules/commons/components/TableView/util/columnUtils.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/TableView/util/columnUtils.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getColumnItems: () => (/* binding */ getColumnItems)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat-map.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat-map.js");
/* harmony import */ var core_js_modules_es_array_flat_map_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_map_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat-map.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat-map.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_map_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");






/**
 * Returns group type items without a propery, assuming they correspond to section forms.
 *
 * @param {object[]} items
 * @returns {object[]}
 */
const getSectionFormItems = items => items.filter(item => item.getType() === 'group').filter(group => !group.getProperty());

/**
 * Returns a template's items. When section forms should be flattened, their
 * child fields are returned as columns instead of the section groups themselves.
 * The caller may force this via `flattenSectionForms`; otherwise it falls back
 * to the 'catalog.sectionFormsAsColsTableView' config.
 *
 * @param {Group} template
 * @param {boolean} [flattenSectionForms]
 * @returns {object[]}
 */
const getColumnItems = (template, flattenSectionForms) => {
  const setSectionFormsFieldsAsCols = flattenSectionForms !== null && flattenSectionForms !== void 0 ? flattenSectionForms : config__WEBPACK_IMPORTED_MODULE_3__["default"].get('catalog.sectionFormsAsColsTableView');
  const items = template.getChildren().filter(item => !item.hasStyle('deprecated'));
  if (!setSectionFormsFieldsAsCols) return items;
  const sectionFormItems = getSectionFormItems(items);
  return items.flatMap(item => sectionFormItems.includes(item) ? item.getChildren().filter(child => !child.hasStyle('deprecated')) : [item]);
};

/***/ },

/***/ "./modules/commons/components/TableView/util/rowUtils.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/TableView/util/rowUtils.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addRowBindings: () => (/* binding */ addRowBindings),
/* harmony export */   bindToRow: () => (/* binding */ bindToRow),
/* harmony export */   discardRow: () => (/* binding */ discardRow),
/* harmony export */   getTableViewCellClassName: () => (/* binding */ getTableViewCellClassName),
/* harmony export */   getTableViewRowClassName: () => (/* binding */ getTableViewRowClassName),
/* harmony export */   loadRowChoices: () => (/* binding */ loadRowChoices),
/* harmony export */   saveRow: () => (/* binding */ saveRow)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var _usePresentOrEdit__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../usePresentOrEdit */ "./modules/commons/components/TableView/usePresentOrEdit.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }










/**
 * Resolves the existing value bindings for a column's item. When section forms
 * are flattened into columns the item is nested inside a section group, so we
 * descend into the section binding first. Read-only: unlike
 * getOrCreateParentBinding it never creates bindings (so empty cells stay empty).
 *
 * @param {object} data the column data stored on the row.
 * @param {object} data.parent the row's root group binding.
 * @param {object} data.item the rdforms item for the column.
 * @returns {object[]} the value bindings for the item, or an empty array.
 */
const getValueBindings = _ref => {
  let {
    parent,
    item
  } = _ref;
  let parentBinding = parent;
  if (!parentBinding.getItem().getChildren().includes(item)) {
    var _parentBinding$getChi;
    const sectionItem = (0,_usePresentOrEdit__WEBPACK_IMPORTED_MODULE_8__.findSectionItem)(parentBinding.getItem(), item);
    const sectionBinding = sectionItem && ((_parentBinding$getChi = parentBinding.getChildBindingsFor(sectionItem)) === null || _parentBinding$getChi === void 0 ? void 0 : _parentBinding$getChi[0]);
    if (!sectionBinding) return [];
    parentBinding = sectionBinding;
  }
  return parentBinding.getChildBindingsFor(item) || [];
};

/**
 *
 * @param {object[]} rows
 * @returns {Promise}
 */
const loadRowChoices = rows => {
  const promises = [];
  rows.forEach(row => {
    row.columns.forEach(column => {
      const data = row[column.field];
      if ((data === null || data === void 0 ? void 0 : data.item.getType()) !== 'choice') return;
      getValueBindings(data).forEach(binding => {
        const choice = binding.getChoice();
        if (!(choice !== null && choice !== void 0 && choice.load)) return;
        promises.push(choice.load());
      });
    });
  });
  return Promise.all(promises);
};

/**
 *
 * @param {object} row
 */
const bindToRow = row => {
  const groupBinding = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_7__.engine.match(row.graph, row.entry.getResourceURI(), row.template);
  row.columns.forEach(column => {
    var _column$rdformsitem;
    const columnKey = (_column$rdformsitem = column.rdformsitem) !== null && _column$rdformsitem !== void 0 && _column$rdformsitem._internalId ? `${column.rdformsitem._internalId}` : 'actions';
    row[columnKey] = {
      parent: groupBinding,
      item: column.rdformsitem
    };
  });
};

/**
 * Maps entries to table view rows.
 *
 * @param {object[]} rowData
 * @param {Group} template
 * @param {object[]} columns
 * @returns {object[]}
 */
const addRowBindings = (rowData, template, columns) => rowData.map(rowItem => {
  const row = _objectSpread(_objectSpread({}, rowItem), {}, {
    template,
    columns
  });
  bindToRow(row);
  return row;
});

/**
 * Saves a table view row's changes.
 *
 * @param {object} row
 * @returns {Promise}
 */
const saveRow = row => {
  row.entry.setMetadata(row.graph);
  return row.entry.commitMetadata().then(() => {
    row.graph.setChanged(false);
  });
};

/**
 * Discards a table view row's changes.
 *
 * @param {object} row
 * @returns {Promise}
 */
const discardRow = row => {
  row.graph = row.entry.getMetadata().clone();
  bindToRow(row);
  return loadRowChoices([row]);
};

/**
 * Assigns CSS classes to a cell depending on its validation state.
 *
 * @param {@mui/x-data-grid/GridCellParams} gridCellParams
 * @param {{[key: string]: object[]}} errors
 * @returns {string|undefined}
 */
const getTableViewCellClassName = (gridCellParams, errors) => {
  const {
    value: cellValue,
    row: {
      id: rowId
    }
  } = gridCellParams;
  if (!cellValue) return;
  const rowErrors = errors[rowId];
  if (!rowErrors) return;
  const cellHasError = rowErrors.some(_ref2 => {
    let {
      item: errorItem
    } = _ref2;
    return errorItem._internalId === cellValue.item._internalId;
  });
  if (!cellHasError) return;
  return 'escoTableView__cell--error';
};

/**
 * Assigns CSS classes to a row depending on its validation state.
 *
 * @param {@mui/x-data-grid/GridRowParams} gridRowParams
 * @param {{[key: string]: object[]}} errors
 * @param {Array<string|number>} selectionModel ids of the rows currently being edited.
 * @returns {string|undefined}
 */
const getTableViewRowClassName = (gridRowParams, errors, selectionModel) => {
  const {
    id: rowId
  } = gridRowParams;
  if (errors[rowId]) return 'escoTableView__row--error';
  if (selectionModel.includes(rowId)) return 'escoTableView__row--edited';
};

/***/ },

/***/ "./modules/commons/components/TableView/util/valueFormatter.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/TableView/util/valueFormatter.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (params => {
  const valueBindings = params.value.parent.getChildBindingsFor(params.value.item);
  const isChoice = params.value.item.getType() === 'choice';
  if (Array.isArray(valueBindings) && valueBindings.length > 0) {
    return valueBindings.filter(binding => binding.isValid()).map(binding => {
      if (isChoice) {
        const choice = binding.getChoice();
        if (choice && choice.label && !choice.load) {
          return _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_0__.utils.getLocalizedValue(choice.label).value;
        }
      }
      return binding.getGist();
    }).join(', ');
  }
  return '';
});

/***/ },

/***/ "./modules/commons/components/ValidationReport/ValidationReport.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/ValidationReport/ValidationReport.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_components_common_ExpandableListItem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/ExpandableListItem */ "./modules/commons/components/common/ExpandableListItem/index.js");
/* harmony import */ var toolkit_Validate_ClassReport__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! toolkit/Validate/ClassReport */ "./modules/toolkit/Validate/ClassReport/index.js");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! toolkit/nls/esreReport.nls */ "./modules/toolkit/nls/esreReport.nls");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! toolkit/nls/esreSource.nls */ "./modules/toolkit/nls/esreSource.nls");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var _useValidationReport__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./useValidationReport */ "./modules/commons/components/ValidationReport/useValidationReport.js");
/* harmony import */ var _ValidationReport_scss__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./ValidationReport.scss */ "./modules/commons/components/ValidationReport/ValidationReport.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




















const NLS_BUNDLES = [(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13___default()), (toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const ValidationReport = _ref => {
  let {
    graph,
    precomputedReport,
    title,
    select,
    jobStatus
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)(NLS_BUNDLES);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_6__.useUserState)();
  const type2Template = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_7__.getType2Template)(userInfo), [userInfo]);
  const {
    data: precomputedReportData,
    resourceURI: precomputedReportURI
  } = precomputedReport !== null && precomputedReport !== void 0 ? precomputedReport : {};
  const {
    status,
    summaryReport,
    detailedReport
  } = (0,_useValidationReport__WEBPACK_IMPORTED_MODULE_19__["default"])(graph, jobStatus, precomputedReportData);
  const viewReportTooltip = translate('viewReportTooltip');
  const header = /*#__PURE__*/React.createElement("div", {
    className: "escoValidationReport__header"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoValidationReport__titleWrapper"
  }, title, precomputedReportURI ? /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_5__["default"], {
    title: viewReportTooltip
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    "aria-label": viewReportTooltip,
    href: precomputedReportURI,
    target: "_blank",
    style: {
      marginLeft: '6px'
    }
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], null))) : null), select);
  if (status === _useValidationReport__WEBPACK_IMPORTED_MODULE_19__.PENDING) {
    return /*#__PURE__*/React.createElement(React.Fragment, null, header, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      severity: "info",
      className: "escoValidationReport__alert"
    }, translate('jobPendingValidation')));
  }
  if (status === _useValidationReport__WEBPACK_IMPORTED_MODULE_19__.FAILED) {
    return /*#__PURE__*/React.createElement(React.Fragment, null, header, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      severity: "error",
      className: "escoValidationReport__alert"
    }, translate('jobFailedValidation')));
  }
  if (status === _useValidationReport__WEBPACK_IMPORTED_MODULE_19__.LOADING) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_17__["default"], null);
  if (status === _useValidationReport__WEBPACK_IMPORTED_MODULE_19__.EMPTY) return /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_18__["default"], {
    label: translate('placeholder')
  });
  return /*#__PURE__*/React.createElement(React.Fragment, null, header, Object.keys(summaryReport).map(type => {
    const {
      localname: localNameType,
      pretty: prettyType
    } = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__.namespaces.nsify(type);
    const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__["default"].getEntityTypeByRdfType(type, 'register');
    const typeLabel = entityType ? (0,commons_locale__WEBPACK_IMPORTED_MODULE_9__.localize)(entityType.label()) : prettyType;
    return /*#__PURE__*/React.createElement(commons_components_common_ExpandableListItem__WEBPACK_IMPORTED_MODULE_11__["default"], {
      primary: /*#__PURE__*/React.createElement(React.Fragment, null, translate('instancesHeader', {
        nr: summaryReport[type].length,
        class: typeLabel
      }), entityType ? /*#__PURE__*/React.createElement("span", {
        className: "escoValidationReport__rdfType"
      }, prettyType) : null),
      secondary: /*#__PURE__*/React.createElement(toolkit_Validate_ClassReport__WEBPACK_IMPORTED_MODULE_12__.ClassReportHeaderSecondary, {
        resources: summaryReport[type]
      }),
      key: type
    }, /*#__PURE__*/React.createElement(toolkit_Validate_ClassReport__WEBPACK_IMPORTED_MODULE_12__["default"], {
      type: localNameType,
      graph: graph,
      resources: summaryReport[type],
      detailedResources: detailedReport === null || detailedReport === void 0 ? void 0 : detailedReport[type],
      template: type2Template[type]
    }));
  }));
};
ValidationReport.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_16__.graphPropType,
  precomputedReport: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    resources: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({}))
  }),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
  select: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
  jobStatus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidationReport);

/***/ },

/***/ "./modules/commons/components/ValidationReport/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/ValidationReport/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ValidationReport__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ValidationReport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ValidationReport */ "./modules/commons/components/ValidationReport/ValidationReport.js");



/***/ },

/***/ "./modules/commons/components/ValidationReport/useValidationReport.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/ValidationReport/useValidationReport.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EMPTY: () => (/* binding */ EMPTY),
/* harmony export */   FAILED: () => (/* binding */ FAILED),
/* harmony export */   LOADING: () => (/* binding */ LOADING),
/* harmony export */   PENDING: () => (/* binding */ PENDING),
/* harmony export */   SUCCESS: () => (/* binding */ SUCCESS),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getStatusFromGraph: () => (/* binding */ getStatusFromGraph),
/* harmony export */   getStatusFromReport: () => (/* binding */ getStatusFromReport)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./util */ "./modules/commons/components/ValidationReport/util.js");









// Validation report statuses
const LOADING = 'loading';
const PENDING = 'pending';
const FAILED = 'failed';
const EMPTY = 'empty';
const SUCCESS = 'success';

/**
 * Get initial validation report status based on the graph, precomputedReport and harvesting job's status
 *
 * @param {Graph} graph
 * @param {string} jobStatus
 * @param {object} precomputedReport
 * @returns {string}
 */
const getStatusFromGraph = (graph, jobStatus, precomputedReport) => {
  if ([_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.terms.status.InProgress, _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.terms.status.Pending].includes(jobStatus)) {
    return PENDING;
  }
  if (jobStatus === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.terms.status.Failed) return FAILED;
  if (!graph && !precomputedReport) return EMPTY;
  return SUCCESS;
};

/**
 * Get final validation report status based on getStatusFromGraph and report
 *
 * @param {object} report
 * @param {string} initialStatus
 * @returns {string}
 */
const getStatusFromReport = (report, initialStatus) => {
  if (initialStatus === SUCCESS) {
    if (!report) return LOADING;
    if ((0,lodash_es__WEBPACK_IMPORTED_MODULE_1__["default"])(report)) {
      console.error('No resources found, check the configuration for any missing bundles and/or entity types.');
      return EMPTY;
    }
  }
  return initialStatus;
};

/**
 * @param {Graph} graph
 * @param {string} jobStatus - harvesting job status
 * @param {object} precomputedReport - pre-computed report from prov:generated
 * @returns {{
 *  status: ('loading'|'pending'|'failed'|'empty'|'success'),
 *  summaryReport: object,
 *  detailedReport: object
 * }}
 */
const useValidationReport = (graph, jobStatus, precomputedReport) => {
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__.useUserState)();
  const type2Template = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_6__.getType2Template)(userInfo), [userInfo]);
  const initialStatus = getStatusFromGraph(graph, jobStatus, precomputedReport);
  const detailedReport = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {
    if (!graph || !type2Template) return null;
    const validationReport = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.validate.graphReport(graph, type2Template, (0,_util__WEBPACK_IMPORTED_MODULE_7__.getMandatoryTypes)());
    if (!(validationReport !== null && validationReport !== void 0 && validationReport.resources)) return null;
    return (0,_util__WEBPACK_IMPORTED_MODULE_7__.regroup)(validationReport.resources, 'type');
  }, [graph, type2Template]);

  // Summary report: prefers precomputed, falls back to graph-based
  const summaryReport = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {
    if (initialStatus !== SUCCESS) return null;
    if (precomputedReport !== null && precomputedReport !== void 0 && precomputedReport.resources) {
      console.log('Validation summary based on: prov:generated');
      return (0,_util__WEBPACK_IMPORTED_MODULE_7__.regroup)(precomputedReport.resources, 'type');
    }
    if (detailedReport) {
      console.log('Validation summary based on: dcterms:source');
    }
    return detailedReport;
  }, [initialStatus, precomputedReport, detailedReport]);
  const status = getStatusFromReport(summaryReport, initialStatus);
  return {
    status,
    summaryReport,
    detailedReport
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useValidationReport);

/***/ },

/***/ "./modules/commons/components/ValidationReport/util.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/ValidationReport/util.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getMandatoryTypes: () => (/* binding */ getMandatoryTypes),
/* harmony export */   regroup: () => (/* binding */ regroup)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");




/**
 *  Get the mandatory validation types from config.
 *
 * @returns {string[]}
 */
const getMandatoryTypes = () => config__WEBPACK_IMPORTED_MODULE_1__["default"].get('registry.mandatoryValidationTypes').map(mandatoryType => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(mandatoryType));
const regroup = (objects, prop) => {
  const group = {};
  objects.forEach(obj => {
    group[obj[prop]] = group[obj[prop]] || [];
    group[obj[prop]].push(obj);
  });
  return group;
};

/***/ },

/***/ "./modules/commons/components/buttons/ActionButton/ActionButton.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/buttons/ActionButton/ActionButton.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_errors_SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/errors/SnackbarFallbackComponent */ "./modules/commons/errors/SnackbarFallbackComponent/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/buttons/Button */ "./modules/commons/components/buttons/Button/index.js");
/* harmony import */ var commons_actions_hooks_useActionDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/actions/hooks/useActionDialog */ "./modules/commons/actions/hooks/useActionDialog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["Dialog", "closeDialog"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const ActionDialog = _ref => {
  let {
      Dialog,
      closeDialog
    } = _ref,
    actionProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_3__["default"], {
    FallbackComponent: commons_errors_SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_4__["default"],
    onError: closeDialog
  }, /*#__PURE__*/React.createElement(Dialog, _extends({
    closeDialog: closeDialog
  }, actionProps)));
};
ActionDialog.propTypes = {
  Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired
};

// Button coupled to an action
const ActionButton = _ref2 => {
  let {
    color,
    disabled,
    label,
    tooltip,
    icon,
    action,
    actionParams,
    highlightId,
    isLoading,
    className,
    variant,
    iconButtonVariant,
    tooltipProps
  } = _ref2;
  const {
    isActionDialogOpen,
    openActionDialog,
    closeActionDialog
  } = (0,commons_actions_hooks_useActionDialog__WEBPACK_IMPORTED_MODULE_7__["default"])();
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_6__["default"], {
    tooltip: tooltip,
    label: label,
    icon: icon,
    color: color,
    onClick: openActionDialog,
    disabled: disabled,
    highlightId: highlightId,
    loading: isLoading,
    className: className,
    variant: variant,
    iconButtonVariant: iconButtonVariant,
    tooltipProps: tooltipProps
  }), isActionDialogOpen && action ? ActionDialog(_objectSpread(_objectSpread({
    closeDialog: closeActionDialog
  }, action), actionParams)) : null);
};
ActionButton.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().array), prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})])), prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})]),
  isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  label: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)]),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  color: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  variant: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  iconButtonVariant: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  tooltipProps: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionButton);

/***/ },

/***/ "./modules/commons/components/buttons/ActionButton/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/buttons/ActionButton/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ActionButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ActionButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActionButton */ "./modules/commons/components/buttons/ActionButton/ActionButton.js");


/***/ },

/***/ "./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/buttons/Button */ "./modules/commons/components/buttons/Button/index.js");
/* harmony import */ var _ActionsMenuButton_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ActionsMenuButton.scss */ "./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




const OpenMenuButton = props => {
  const {
    openMenu,
    isOpen,
    id
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.useActions)();
  return /*#__PURE__*/React.createElement(commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    onClick: openMenu,
    ariaExpanded: isOpen ? 'true' : undefined,
    ariaControls: id,
    ariaHaspopup: "true"
  }, props));
};
const ActionsMenuButton = _ref => {
  let {
    disabled,
    tooltip,
    label,
    highlightId,
    endIcon,
    icon,
    isLoading,
    items
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ActionsProvider, null, /*#__PURE__*/React.createElement(OpenMenuButton, {
    disabled: disabled,
    label: label,
    tooltip: tooltip,
    icon: icon,
    endIcon: endIcon,
    highlightId: highlightId,
    isLoading: isLoading
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_2__.ActionsMenu, {
    disabled: true,
    menuProps: {
      anchorOrigin: {
        vertical: 'bottom',
        horizontal: 'right'
      },
      transformOrigin: {
        vertical: 'top',
        horizontal: 'right'
      },
      classes: {
        paper: 'escoActionsMenuButton'
      }
    },
    items: items
  }));
};
ActionsMenuButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  endIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionsMenuButton);

/***/ },

/***/ "./modules/commons/components/buttons/ActionsMenuButton/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/buttons/ActionsMenuButton/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ActionsMenuButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ActionsMenuButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActionsMenuButton */ "./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.js");


/***/ },

/***/ "./modules/commons/components/buttons/Button/Button.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/buttons/Button/Button.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _IconButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../IconButton */ "./modules/commons/components/buttons/IconButton/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["iconButtonVariant"],
  _excluded2 = ["tooltip", "icon", "highlightId"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





// By default a MUI plain Button appearance is used, but without label. By
// setting iconButtonVariant to 'icon', the MUI IconButton appearance will be
// used instead.
const IconButtonWrapper = _ref => {
  let {
      iconButtonVariant = 'button'
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  if (iconButtonVariant === 'button') return /*#__PURE__*/React.createElement(_IconButton__WEBPACK_IMPORTED_MODULE_5__["default"], rest);
  if (iconButtonVariant === 'icon') {
    const {
        tooltip,
        icon,
        highlightId
      } = rest,
      iconButtonProps = _objectWithoutProperties(rest, _excluded2);
    return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__["default"], {
      title: tooltip
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
      "data-highlight-id": highlightId
    }, iconButtonProps), icon, ' '));
  }
  return null;
};
IconButtonWrapper.propTypes = {
  iconButtonVariant: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

// Plain button. If label is not provided it will be treated as an icon button.
const Button = _ref2 => {
  let {
    ariaControls,
    ariaExpanded,
    ariaHaspopup,
    ariaLabel,
    tooltip,
    label,
    icon,
    endIcon,
    disabled,
    onClick,
    highlightId,
    color,
    variant,
    iconButtonVariant,
    className,
    href,
    target,
    rel,
    tooltipProps
  } = _ref2;
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
    title: tooltip
  }, tooltipProps), /*#__PURE__*/React.createElement("span", null, !label && icon ? /*#__PURE__*/React.createElement(IconButtonWrapper, _extends({
    "aria-controls": ariaControls,
    "aria-expanded": ariaExpanded,
    "aria-haspopup": ariaHaspopup,
    "aria-label": ariaLabel || tooltip,
    color: color,
    icon: icon,
    onClick: onClick,
    disabled: disabled,
    highlightId: highlightId,
    iconButtonVariant: iconButtonVariant,
    className: className
  }, tooltipProps)) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    "aria-controls": ariaControls,
    "aria-expanded": ariaExpanded,
    "aria-haspopup": ariaHaspopup,
    startIcon: icon,
    endIcon: endIcon,
    onClick: onClick,
    disabled: disabled,
    "data-highlight-id": highlightId,
    color: color,
    variant: variant,
    className: className,
    href: href,
    target: target,
    rel: rel
  }, tooltipProps), label)));
};
Button.propTypes = {
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  endIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)]),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  variant: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  iconButtonVariant: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  ariaControls: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  ariaExpanded: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  ariaHaspopup: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  ariaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  href: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  target: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  rel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  tooltipProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Button);

/***/ },

/***/ "./modules/commons/components/buttons/Button/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/buttons/Button/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Button */ "./modules/commons/components/buttons/Button/Button.js");


/***/ },

/***/ "./modules/commons/components/buttons/DownloadResourceButton/DownloadResourceButton.js"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/components/buttons/DownloadResourceButton/DownloadResourceButton.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_icons_material_GetApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material/GetApp */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/GetApp.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const DownloadResourceButton = _ref => {
  let {
    href,
    tooltip
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_2__["default"], {
    title: tooltip
  }, /*#__PURE__*/React.createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_1__["default"], {
    "aria-label": tooltip,
    onMouseDown: e => e.preventDefault(),
    href: href,
    download: true,
    style: {
      marginLeft: '12px'
    }
  }, /*#__PURE__*/React.createElement(_mui_icons_material_GetApp__WEBPACK_IMPORTED_MODULE_3__["default"], null)));
};
DownloadResourceButton.propTypes = {
  href: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DownloadResourceButton);

/***/ },

/***/ "./modules/commons/components/buttons/DownloadResourceButton/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/buttons/DownloadResourceButton/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DownloadResourceButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DownloadResourceButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DownloadResourceButton */ "./modules/commons/components/buttons/DownloadResourceButton/DownloadResourceButton.js");


/***/ },

/***/ "./modules/commons/components/buttons/ExpandButton/ExpandButton.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/buttons/ExpandButton/ExpandButton.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandLess.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandMore.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _ExpandButton_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ExpandButton.scss */ "./modules/commons/components/buttons/ExpandButton/ExpandButton.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["PresenterComponent", "initiallyExpanded", "nlsBundles", "nlsKeys", "alternativeClass", "collapseClasses", "children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const ExpandButton = _ref => {
  let {
      PresenterComponent,
      initiallyExpanded,
      nlsBundles = [],
      nlsKeys = {
        show: 'showMetadata',
        hide: 'hideMetadata',
        buttonTooltip: 'buttonTooltip'
      },
      alternativeClass,
      collapseClasses = null,
      children
    } = _ref,
    buttonProps = _objectWithoutProperties(_ref, _excluded);
  const [expanded, setExpanded] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(initiallyExpanded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundles);
  const {
    buttonTooltip: tooltipNlsKey,
    show: showNlsKey,
    hide: hideNlsKey
  } = nlsKeys;
  const handleExpandClick = () => {
    setExpanded(!expanded);
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_10__["default"], {
    title: tooltipNlsKey ? translate(tooltipNlsKey) : ''
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    classes: {
      root: alternativeClass || 'escoExpandButton__button'
    },
    variant: "text",
    endIcon: expanded ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null),
    onClick: handleExpandClick,
    "aria-expanded": expanded,
    "aria-label": expanded ? translate(hideNlsKey) : translate(showNlsKey)
  }, buttonProps), expanded ? translate(hideNlsKey) : translate(showNlsKey))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    classes: collapseClasses || {
      container: 'escoExpandButton__collapse'
    },
    in: expanded,
    timeout: "auto",
    unmountOnExit: true
  }, PresenterComponent ? /*#__PURE__*/React.createElement(PresenterComponent, null) : children));
};
ExpandButton.propTypes = {
  PresenterComponent: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  initiallyExpanded: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.nlsBundlesPropType,
  nlsKeys: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    buttonTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    show: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    hide: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
  }),
  alternativeClass: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  collapseClasses: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ExpandButton);

/***/ },

/***/ "./modules/commons/components/buttons/ExpandButton/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/buttons/ExpandButton/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ExpandButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ExpandButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ExpandButton */ "./modules/commons/components/buttons/ExpandButton/ExpandButton.js");


/***/ },

/***/ "./modules/commons/components/buttons/IconButton/IconButton.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/buttons/IconButton/IconButton.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/buttons/IconButton/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["icon", "onClick", "highlightId", "tooltip"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const IconButton = _ref => {
  let {
      icon,
      onClick,
      highlightId,
      tooltip
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__["default"], {
    title: tooltip
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    classes: {
      root: 'escoIconButton'
    },
    onClick: onClick,
    "data-highlight-id": highlightId
  }, props), /*#__PURE__*/React.createElement("span", {
    className: "escoIconButton__icon"
  }, icon)));
};
IconButton.propTypes = {
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (IconButton);

/***/ },

/***/ "./modules/commons/components/buttons/IconButton/index.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/buttons/IconButton/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _IconButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _IconButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./IconButton */ "./modules/commons/components/buttons/IconButton/IconButton.js");


/***/ },

/***/ "./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_icons_material_KeyboardArrowDown__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material/KeyboardArrowDown */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js");
/* harmony import */ var commons_components_buttons_ActionsMenuButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/buttons/ActionsMenuButton */ "./modules/commons/components/buttons/ActionsMenuButton/index.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/actions/hooks/useActionDefinitions */ "./modules/commons/actions/hooks/useActionDefinitions.js");
/* harmony import */ var _MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MultiCreateButton.scss */ "./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.scss");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }







const MultiCreateButton = _ref => {
  let {
    action,
    disabled,
    label: optionalLabel,
    icon,
    tooltip,
    highlightId,
    items,
    showLabel = true
  } = _ref;
  const label = showLabel ? optionalLabel : undefined;
  const {
    actions,
    isLoading
  } = (0,commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_5__["default"])({
    actions: items,
    actionParams: action,
    // assumes an normalized action definition, ie the action of the parent in this case
    getFallbackIcon: null
  });
  if (!actions.length) return null;
  if (actions.length === 1) {
    var _actions$;
    return /*#__PURE__*/React.createElement(commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_4__["default"], {
      label: label,
      tooltip: tooltip,
      icon: icon,
      highlightId: highlightId,
      disabled: disabled,
      isLoading: isLoading,
      action: (_actions$ = actions[0]) === null || _actions$ === void 0 ? void 0 : _actions$.action
    });
  }
  return /*#__PURE__*/React.createElement(commons_components_buttons_ActionsMenuButton__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    label: label,
    tooltip: tooltip,
    disabled: disabled,
    isLoading: true,
    highlightId: highlightId
  }, label ? {
    endIcon: /*#__PURE__*/React.createElement(_mui_icons_material_KeyboardArrowDown__WEBPACK_IMPORTED_MODULE_2__["default"], null)
  } : {
    icon: (0,commons_actions__WEBPACK_IMPORTED_MODULE_7__.getIconFromActionId)('create')
  }, {
    items: actions
  }));
};
MultiCreateButton.propTypes = {
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  action: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  showLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MultiCreateButton);

/***/ },

/***/ "./modules/commons/components/buttons/MultiCreateButton/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/buttons/MultiCreateButton/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _MultiCreateButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _MultiCreateButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MultiCreateButton */ "./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.js");


/***/ },

/***/ "./modules/commons/components/buttons/ToggleButtonGroup/ToggleButtonGroup.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/buttons/ToggleButtonGroup/ToggleButtonGroup.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_material_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material/ToggleButtonGroup */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.js");
/* harmony import */ var _mui_material_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/ToggleButtonGroup */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/toggleButtonGroupClasses.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");


const StyledToggleButtonGroup = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_2__["default"])(_mui_material_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref => {
  let {
    theme
  } = _ref;
  return {
    [`& .${_mui_material_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_1__["default"].grouped}`]: {
      margin: theme.spacing(0.5),
      border: 0,
      borderRadius: theme.shape.borderRadius,
      [`&.${_mui_material_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_1__["default"].disabled}`]: {
        border: 0
      }
    },
    [`& .${_mui_material_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_1__["default"].middleButton},& .${_mui_material_ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_1__["default"].lastButton}`]: {
      marginLeft: -1,
      borderLeft: '1px solid transparent'
    }
  };
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StyledToggleButtonGroup);

/***/ },

/***/ "./modules/commons/components/buttons/ToggleButtonGroup/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/buttons/ToggleButtonGroup/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ToggleButtonGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ToggleButtonGroup */ "./modules/commons/components/buttons/ToggleButtonGroup/ToggleButtonGroup.js");


/***/ },

/***/ "./modules/commons/components/chart/Bar/index.js"
/*!*******************************************************!*\
  !*** ./modules/commons/components/chart/Bar/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoChart.nls */ "./modules/commons/nls/escoChart.nls");
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../style.css */ "./modules/commons/components/chart/style.css");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/chart/hooks/useChart */ "./modules/commons/components/chart/hooks/useChart.js");
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../colors */ "./modules/commons/components/chart/colors.js");




function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const defaultBarOptions = {};
const defaultBarColors = [];
const defaultBarDimenstions = {};

/**
 * Renders a bar chart using Chart.js with optional customization.
 *
 * @param {object} props
 * @param {object} props.data - Chart.js data object (must include datasets).
 * @param {Array<object>} [props.colors] - Array of style/color objects to merge into datasets.
 * @param {object} [props.dimensions] - Custom width and height of the chart container.
 * @param {string} [props.type] - Chart type (should be 'bar').
 * @param {object} [props.options] - Custom Chart.js options.
 *
 * @returns {React.ReactElement} A rendered chart within a styled container.
 */
const BarChart = _ref => {
  let {
    type = 'bar',
    data,
    options = defaultBarOptions,
    colors = defaultBarColors,
    dimensions = defaultBarDimenstions
  } = _ref;
  const {
    Chart: ChartJs
  } = (0,commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_9__.useChart)();
  const {
    width = '100%',
    height = '100%'
  } = dimensions;
  const chartContainer = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);
  const chartInstanceRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (ChartJs && chartContainer !== null && chartContainer !== void 0 && chartContainer.current) {
      const chart = new ChartJs(chartContainer.current, {
        type,
        data: _objectSpread({}, data),
        options
      });
      chartInstanceRef.current = chart;
      return () => chart.destroy(); // cleanup on unmount
    }
  }, [ChartJs, data, options, type]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    var _data$datasets, _data$datasets$, _chart$data;
    const chart = chartInstanceRef.current;
    if (!chart || !(data !== null && data !== void 0 && (_data$datasets = data.datasets) !== null && _data$datasets !== void 0 && _data$datasets.length) || !((_data$datasets$ = data.datasets[0]) !== null && _data$datasets$ !== void 0 && (_data$datasets$ = _data$datasets$.data) !== null && _data$datasets$ !== void 0 && _data$datasets$.length)) return;

    // Update chart data and colors
    chart.data = _objectSpread({
      labels: []
    }, data);
    const allColors = [...colors, ..._colors__WEBPACK_IMPORTED_MODULE_10__.COLOURS_BAR_CHART];
    (_chart$data = chart.data) === null || _chart$data === void 0 || (_chart$data = _chart$data.datasets) === null || _chart$data === void 0 || _chart$data.forEach((dataset, idx) => {
      const colorIdx = idx % allColors.length;
      Object.assign(dataset, allColors[colorIdx]);
    });
    chart.update();
  }, [ChartJs, data, colors]);
  const dataExists = data && data.datasets && data.datasets.length > 0 && data.datasets[0].data.length > 0;
  const containerStyle = {
    position: 'relative',
    height: `${height}`,
    width: `${width}`
  };
  const escoChart = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_5__.i18n.getLocalization((commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: "chart-container",
    style: containerStyle
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: dataExists ? 'escoChart__hidden' : 'no-data'
  }, escoChart.noDataMessage), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("canvas", {
    "aria-label": "Statistics chart"
    /* eslint-disable-next-line jsx-a11y/no-interactive-element-to-noninteractive-role */,
    role: "img",
    className: dataExists ? '' : 'escoChart__hidden',
    ref: chartContainer
  }));
};
BarChart.propTypes = {
  data: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({
    datasets: prop_types__WEBPACK_IMPORTED_MODULE_8___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({
      data: prop_types__WEBPACK_IMPORTED_MODULE_8___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({
        x: prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_8___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_8___default().number), prop_types__WEBPACK_IMPORTED_MODULE_8___default().instanceOf(Date)]),
        y: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().number)
      }), (prop_types__WEBPACK_IMPORTED_MODULE_8___default().number) // ✅ Accept numbers too
      ]))
    }))
  }),
  options: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({}),
  colors: prop_types__WEBPACK_IMPORTED_MODULE_8___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({
    borderColor: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
    backgroundColor: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string)
  })),
  dimensions: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({
    width: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
    height: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string)
  }),
  type: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BarChart);

/***/ },

/***/ "./modules/commons/components/chart/Chart/Chart.js"
/*!*********************************************************!*\
  !*** ./modules/commons/components/chart/Chart/Chart.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Chart: () => (/* binding */ Chart)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/chart/hooks/useChart */ "./modules/commons/components/chart/hooks/useChart.js");
/* harmony import */ var _utils_chartOptions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/chartOptions */ "./modules/commons/components/chart/Chart/utils/chartOptions.js");
/* harmony import */ var _Chart_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Chart.scss */ "./modules/commons/components/chart/Chart/Chart.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const Chart = _ref => {
  let {
    type = 'bar',
    data,
    options,
    height = '100%',
    width = '100%',
    label = ''
  } = _ref;
  const {
    Chart: ChartJs
  } = (0,commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_2__.useChart)();
  const chartContainer = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
  const chart = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    var _chart$current;
    if (!ChartJs || !data) return;
    const isOfSameType = ((_chart$current = chart.current) === null || _chart$current === void 0 || (_chart$current = _chart$current.config) === null || _chart$current === void 0 ? void 0 : _chart$current.type) === type;
    const opts = (0,_utils_chartOptions__WEBPACK_IMPORTED_MODULE_3__.getChartOptions)(options, type);
    if (!isOfSameType) {
      // make sure old data is destroyed when switching chart type
      if (chart.current) chart.current.destroy();
      chart.current = new ChartJs(chartContainer.current, {
        data,
        type,
        options: opts
      });
      return;
    }
    chart.current.data = data;
    chart.current.options = opts;
    chart.current.update();
  }, [ChartJs, options, data, type]);
  if (!data) {
    return null;
  }
  return /*#__PURE__*/React.createElement("div", {
    className: "escoChart",
    style: {
      height,
      width
    }
  }, /*#__PURE__*/React.createElement("canvas", {
    "aria-label": label,
    className: data ? '' : 'escoChart__hidden'
    // eslint-disable-next-line jsx-a11y/no-interactive-element-to-noninteractive-role
    ,
    role: "img",
    ref: chartContainer
  }));
};
Chart.propTypes = {
  data: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  options: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  type: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  height: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  width: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/chart/Chart/index.js"
/*!*********************************************************!*\
  !*** ./modules/commons/components/chart/Chart/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Chart: () => (/* reexport safe */ _Chart__WEBPACK_IMPORTED_MODULE_0__.Chart),
/* harmony export */   getChartOptions: () => (/* reexport safe */ _utils_chartOptions__WEBPACK_IMPORTED_MODULE_2__.getChartOptions),
/* harmony export */   getScaleOptions: () => (/* reexport safe */ _utils_chartOptions__WEBPACK_IMPORTED_MODULE_2__.getScaleOptions),
/* harmony export */   mergeDatasetColors: () => (/* reexport safe */ _utils_chartColor__WEBPACK_IMPORTED_MODULE_1__.mergeDatasetColors)
/* harmony export */ });
/* harmony import */ var _Chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Chart */ "./modules/commons/components/chart/Chart/Chart.js");
/* harmony import */ var _utils_chartColor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/chartColor */ "./modules/commons/components/chart/Chart/utils/chartColor.js");
/* harmony import */ var _utils_chartOptions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/chartOptions */ "./modules/commons/components/chart/Chart/utils/chartOptions.js");




/***/ },

/***/ "./modules/commons/components/chart/Chart/utils/chartColor.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/chart/Chart/utils/chartColor.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   mergeDatasetColors: () => (/* binding */ mergeDatasetColors)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../colors */ "./modules/commons/components/chart/colors.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





/**
 *
 * @param {object[]} datasets
 * @param {object[]} colors
 * @returns {object[]}
 */
const mergeDatasetColors = (datasets, colors) => {
  const datasetCount = datasets === null || datasets === void 0 ? void 0 : datasets.length;
  if (!datasetCount) return datasets;
  const mergedColors = colors ? [...colors, ..._colors__WEBPACK_IMPORTED_MODULE_3__.COLOURS_BAR_CHART] : _colors__WEBPACK_IMPORTED_MODULE_3__.COLOURS_BAR_CHART;
  return datasets.map((dataset, index) => {
    const datasetIndex = index % datasetCount;
    return _objectSpread(_objectSpread({}, dataset), mergedColors[datasetIndex]);
  });
};

/***/ },

/***/ "./modules/commons/components/chart/Chart/utils/chartOptions.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/chart/Chart/utils/chartOptions.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getChartOptions: () => (/* binding */ getChartOptions),
/* harmony export */   getScaleOptions: () => (/* binding */ getScaleOptions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
const defaultYAxis = {
  beginAtZero: true
};
const getScaleLabel = labelString => ({
  title: {
    display: true,
    text: labelString
  }
});
const getScaleOptions = (xAxis, yAxis) => {
  const scales = {
    y: yAxis ? _objectSpread(_objectSpread({}, defaultYAxis), getScaleLabel(yAxis)) : defaultYAxis
  };
  if (xAxis) scales.x = getScaleLabel(xAxis);
  return {
    scales
  };
};
const defaultOptions = _objectSpread({
  maintainAspectRatio: false
}, getScaleOptions());
const getChartOptions = function getChartOptions() {
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'bar';
  return type === 'pie' ? _objectSpread({
    maintainAspectRatio: false
  }, options) : _objectSpread(_objectSpread({}, defaultOptions), options);
};

/***/ },

/***/ "./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/chart/hooks/useChart */ "./modules/commons/components/chart/hooks/useChart.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util */ "./modules/commons/components/chart/ChartPlaceholder/util.js");
/* harmony import */ var _ChartPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ChartPlaceholder.scss */ "./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const ChartPlaceholder = _ref => {
  let {
    label,
    loading = false
  } = _ref;
  const {
    Chart
  } = (0,commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_4__.useChart)();
  const canvasRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (Chart) {
      const initChart = () => {
        const options = (0,_util__WEBPACK_IMPORTED_MODULE_5__.getPlaceholderOptions)();
        return new Chart(canvasRef.current, {
          type: 'bar',
          data: {
            datasets: []
          },
          options
        });
      };
      initChart();
    }
  }, [Chart]);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoChartPlaceholder"
  }, /*#__PURE__*/React.createElement("canvas", {
    "aria-label": "Statistics placeholder",
    ref: canvasRef
  }), loading ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    classes: {
      root: 'escoChartPlaceholder__progress'
    }
  }) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "escoChartPlaceholder__label",
    variant: "body1"
  }, label));
};
ChartPlaceholder.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ChartPlaceholder);

/***/ },

/***/ "./modules/commons/components/chart/ChartPlaceholder/index.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/chart/ChartPlaceholder/index.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ChartPlaceholder__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ChartPlaceholder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChartPlaceholder */ "./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.js");


/***/ },

/***/ "./modules/commons/components/chart/ChartPlaceholder/util.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/chart/ChartPlaceholder/util.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPlaceholderOptions: () => (/* binding */ getPlaceholderOptions)
/* harmony export */ });
const ticksColor = '#d3d5d5';
const gridLinesColor = '#eeeeee';
const getDateRange = () => {
  const startingDate = new Date();
  startingDate.setDate(startingDate.getDate() - 7);
  return {
    min: startingDate,
    max: new Date()
  };
};
const getPlaceholderOptions = () => {
  const {
    min,
    max
  } = getDateRange();
  return {
    maintainAspectRatio: false,
    plugins: {
      tooltip: {
        enabled: false
      }
    },
    scales: {
      x: {
        type: 'time',
        min,
        max,
        time: {
          unit: 'day'
        },
        offset: true,
        ticks: {
          color: ticksColor
        },
        grid: {
          color: gridLinesColor
        },
        border: {
          color: gridLinesColor
        }
      },
      y: {
        min: 0,
        max: 2,
        ticks: {
          stepSize: 1,
          maxTicksLimit: 3,
          color: ticksColor
        },
        grid: {
          color: gridLinesColor
        },
        border: {
          color: gridLinesColor
        }
      }
    }
  };
};

/***/ },

/***/ "./modules/commons/components/chart/Doughnut/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/chart/Doughnut/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../style.css */ "./modules/commons/components/chart/style.css");
/* harmony import */ var commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/chart/hooks/useChart */ "./modules/commons/components/chart/hooks/useChart.js");
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../colors */ "./modules/commons/components/chart/colors.js");
/* harmony import */ var _nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../nls/escoChart.nls */ "./modules/commons/nls/escoChart.nls");
/* harmony import */ var _nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_9__);



function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const defaultDoughnutColors = [];
const defaultDoughnutDimensions = {};
const defaultDoughnutOptions = {};

/**
 * Renders a pie or doughnut chart using Chart.js with optional customization.
 *
 * @param {object} props
 * @param {string} [props.type] - Chart type ('pie', 'doughnut', etc.).
 * @param {object} props.data - Chart.js data object.
 * @param {object} [props.options] - Chart.js options object.
 * @param {Array<string>} [props.colors] - Background color array.
 * @param {object} [props.dimensions] - Width/height configuration.
 *
 * @returns {React.ReactElement}
 */
const DoughnutChart = _ref => {
  let {
    type = 'doughnut',
    data,
    options = defaultDoughnutOptions,
    colors = defaultDoughnutColors,
    dimensions = defaultDoughnutDimensions
  } = _ref;
  const {
    Chart: ChartJs
  } = (0,commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_7__.useChart)();
  const {
    width = '100%',
    height = '100%'
  } = dimensions;
  const chartContainer = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);
  const chartInstanceRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (ChartJs && chartContainer !== null && chartContainer !== void 0 && chartContainer.current) {
      const chartOptions = {
        responsive: true,
        maintainAspectRatio: true
      };
      const chart = new ChartJs(chartContainer.current, {
        type,
        data: _objectSpread({}, data),
        options: _objectSpread(_objectSpread({}, chartOptions), options)
      });
      chartInstanceRef.current = chart;
      return () => chart.destroy();
    }
  }, [ChartJs, data, options, type]);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    var _data$datasets, _data$datasets$;
    const chart = chartInstanceRef.current;
    if (!chart || !(data !== null && data !== void 0 && (_data$datasets = data.datasets) !== null && _data$datasets !== void 0 && _data$datasets.length) || !((_data$datasets$ = data.datasets[0]) !== null && _data$datasets$ !== void 0 && (_data$datasets$ = _data$datasets$.data) !== null && _data$datasets$ !== void 0 && _data$datasets$.length)) return;

    // Apply background colors
    chart.data = _objectSpread(_objectSpread({}, data), {}, {
      datasets: data.datasets.map(dataset => _objectSpread(_objectSpread({}, dataset), {}, {
        backgroundColor: [...colors, ..._colors__WEBPACK_IMPORTED_MODULE_8__.COLOURS_PIE]
      }))
    });
    chart.update();
  }, [ChartJs, data, colors]);
  const dataExists = data && data.datasets && data.datasets.length > 0 && data.datasets[0].data.length > 0;
  const containerStyle = {
    position: 'relative',
    height: `${height}`,
    width: `${width}`
  };
  const escoChart = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__.i18n.getLocalization((_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
    className: "chart-container pie-chart-container",
    style: containerStyle
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
    className: dataExists ? 'escoChart__hidden' : 'no-data'
  }, escoChart.noDataMessage), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("canvas", {
    "aria-label": "Statistics chart"
    /* eslint-disable-next-line jsx-a11y/no-interactive-element-to-noninteractive-role */,
    role: "img",
    className: dataExists ? '' : 'escoChart__hidden',
    ref: chartContainer
  }));
};
DoughnutChart.propTypes = {
  type: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  data: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    datasets: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
      data: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().number), prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
        value: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number)
      })]))
    }))
  }),
  options: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
  colors: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)),
  dimensions: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    width: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    height: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DoughnutChart);

/***/ },

/***/ "./modules/commons/components/chart/Time/index.js"
/*!********************************************************!*\
  !*** ./modules/commons/components/chart/Time/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoChart.nls */ "./modules/commons/nls/escoChart.nls");
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var moment_moment__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! moment/moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment_moment__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(moment_moment__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/merge.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../style.css */ "./modules/commons/components/chart/style.css");
/* harmony import */ var commons_components_chart_Time_options__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/chart/Time/options */ "./modules/commons/components/chart/Time/options.js");
/* harmony import */ var commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/chart/hooks/useChart */ "./modules/commons/components/chart/hooks/useChart.js");
/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../colors */ "./modules/commons/components/chart/colors.js");




function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }











/**
 * Guesses the appropriate time unit for the x-axis based on the number of data points.
 *
 * @param {number} dataLength - Number of data points in the dataset.
 * @returns {string} - The guessed time unit: 'day', 'month', or 'hour'.
 */
const guessAxisFormatFromData = dataLength => {
  if (dataLength > 10 && dataLength < 13) return 'month';
  if (dataLength > 13 && dataLength < 25) return 'hour';
  return 'day';
};
const defaultTimeChartColors = [];

/**
 * Renders a time-based chart using Chart.js with optional customization.
 *
 * @param {object} props
 * @param {string} [props.timeUnit]
 *  - Optional time unit for the x-axis (e.g., 'day', 'month', 'hour').
 * @param {string} [props.type] - Chart type ('bar', 'line', etc.).
 * @param {object} props.data - Chart.js data object (must include datasets).
 * @param {object} [props.options] - Custom Chart.js options to override defaults.
 * @param {Array<object>} [props.colors] - Array of style/color objects to merge into datasets.
 * @param {object} [props.dimensions] - Custom width and height of the chart container.
 *
 * @returns {React.ReactElement} A rendered chart within a styled container.
 */
const TimeChart = _ref => {
  let {
    type = 'bar',
    data,
    options = {},
    colors = defaultTimeChartColors,
    dimensions = {},
    timeUnit
  } = _ref;
  const {
    Chart: ChartJs
  } = (0,commons_components_chart_hooks_useChart__WEBPACK_IMPORTED_MODULE_12__.useChart)();
  const {
    width = '100%',
    height = '100%'
  } = dimensions;
  const chartContainer = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);
  const chartInstanceRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null); // persist chart instance

  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (ChartJs && chartContainer !== null && chartContainer !== void 0 && chartContainer.current) {
      const chart = new ChartJs(chartContainer.current, {
        type,
        data: _objectSpread({}, data),
        options: (0,lodash_es__WEBPACK_IMPORTED_MODULE_8__["default"])({}, commons_components_chart_Time_options__WEBPACK_IMPORTED_MODULE_11__["default"], options)
      });
      chartInstanceRef.current = chart;
      return () => chart.destroy(); // cleanup on unmount
    }
  }, [data, ChartJs, options, type]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    var _data$datasets, _data$datasets$;
    const chart = chartInstanceRef.current;
    if (!chart || !(data !== null && data !== void 0 && (_data$datasets = data.datasets) !== null && _data$datasets !== void 0 && _data$datasets.length) || !((_data$datasets$ = data.datasets[0]) !== null && _data$datasets$ !== void 0 && (_data$datasets$ = _data$datasets$.data) !== null && _data$datasets$ !== void 0 && _data$datasets$.length)) return;
    const numberOfDataPoints = data.datasets[0].data.length;
    const xAxisTimeUnit = timeUnit || guessAxisFormatFromData(numberOfDataPoints);
    const timeUnitFormat = (0,commons_components_chart_Time_options__WEBPACK_IMPORTED_MODULE_11__.getTimeUnitParsingFormat)(xAxisTimeUnit); // The format of the label as it is shown in the UI

    // Update tooltip callback
    chart.options.plugins.tooltip.callbacks = {
      title: items => {
        var _items$;
        return moment_moment__WEBPACK_IMPORTED_MODULE_7___default()((_items$ = items[0]) === null || _items$ === void 0 ? void 0 : _items$.label, 'MMM D, YYYY, h:mm:ss a',
        // The expected format of the given date label
        moment_moment__WEBPACK_IMPORTED_MODULE_7___default().locale()).format(timeUnitFormat);
      }
    };

    // Update chart data and colors
    chart.data = _objectSpread({
      labels: []
    }, data);
    const allColors = type === 'bar' ? [...colors, ..._colors__WEBPACK_IMPORTED_MODULE_13__.COLOURS_BAR_CHART] : [...colors, ..._colors__WEBPACK_IMPORTED_MODULE_13__.COLOURS_TIME_CHART];
    chart.data.datasets.forEach((dataset, idx) => {
      const colorIdx = idx % allColors.length;
      Object.assign(dataset, allColors[colorIdx]);
    });

    // Update x-axis time unit
    if (!chart.options.scales) chart.options.scales = {};
    if (!chart.options.scales.x) chart.options.scales.x = {};
    chart.options.scales.x.type = 'time';
    chart.options.scales.x.time = {
      unit: xAxisTimeUnit
    };
    chart.update();
  }, [ChartJs, type, data, timeUnit, colors]);
  const dataExists = data && data.datasets && data.datasets.length > 0 && data.datasets[0].data.length > 0;
  const containerStyle = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => ({
    position: 'relative',
    height: `${height}`,
    width: `${width}`
  }), [height, width]);
  const {
    noDataMessage
  } = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_6__.i18n.getLocalization((commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: "chart-container",
    style: containerStyle
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: dataExists ? 'escoChart__hidden' : 'no-data'
  }, noDataMessage), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("canvas", {
    "aria-label": "Statistics chart"
    /* eslint-disable-next-line jsx-a11y/no-interactive-element-to-noninteractive-role */,
    role: "img",
    className: dataExists ? '' : 'escoChart__hidden',
    ref: chartContainer
  }));
};
TimeChart.propTypes = {
  timeUnit: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
  type: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
  data: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
    datasets: prop_types__WEBPACK_IMPORTED_MODULE_9___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
      data: prop_types__WEBPACK_IMPORTED_MODULE_9___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
        x: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_9___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().number), prop_types__WEBPACK_IMPORTED_MODULE_9___default().instanceOf(Date), prop_types__WEBPACK_IMPORTED_MODULE_9___default().instanceOf((moment_moment__WEBPACK_IMPORTED_MODULE_7___default()))]),
        y: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_9___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string)])
      }))
    }))
  }),
  options: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({}),
  colors: prop_types__WEBPACK_IMPORTED_MODULE_9___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
    borderColor: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
    backgroundColor: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string)
  })),
  dimensions: prop_types__WEBPACK_IMPORTED_MODULE_9___default().shape({
    width: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
    height: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TimeChart);

/***/ },

/***/ "./modules/commons/components/chart/Time/options.js"
/*!**********************************************************!*\
  !*** ./modules/commons/components/chart/Time/options.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTimeUnitParsingFormat: () => (/* binding */ getTimeUnitParsingFormat)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.number.to-fixed.js");
/* harmony import */ var core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);


const options = {
  maintainAspectRatio: false,
  plugins: {
    tooltip: {
      callbacks: {
        title(item) {
          return moment__WEBPACK_IMPORTED_MODULE_1___default()(item[0].label).format('MMM Do, YYYY');
        }
      }
    }
  },
  scales: {
    x: {
      type: 'time',
      time: {
        unit: 'month'
      },
      offset: true,
      ticks: {
        autoSkip: true
      }
    },
    y: {
      beginAtZero: true,
      ticks: {
        callback(value) {
          return Number(value).toFixed(0); // or Math.floor(value)
        }
      }
    }
  }
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);

/**
 * Returns a date format string appropriate for the given time unit,
 * to be used in Chart.js tooltips.
 *
 * @param {string} timeUnit - The time unit ('hour', 'month', or 'day').
 * @returns {string} A date format string compatible with moment.js.
 */
const getTimeUnitParsingFormat = timeUnit => {
  switch (timeUnit) {
    case 'hour':
      return 'MMMM Do YYYY, h A';
    case 'month':
      return 'MMMM YYYY';
    case 'day':
    default:
      return 'MMM Do, YYYY';
  }
};

/***/ },

/***/ "./modules/commons/components/chart/colors.js"
/*!****************************************************!*\
  !*** ./modules/commons/components/chart/colors.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   COLOURS_BAR_CHART: () => (/* binding */ COLOURS_BAR_CHART),
/* harmony export */   COLOURS_PIE: () => (/* binding */ COLOURS_PIE),
/* harmony export */   COLOURS_PIE_STATUS: () => (/* binding */ COLOURS_PIE_STATUS),
/* harmony export */   COLOURS_TIME_CHART: () => (/* binding */ COLOURS_TIME_CHART),
/* harmony export */   colors: () => (/* binding */ colors)
/* harmony export */ });
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");

const colors = {
  blue: '#1395BA',
  orange: '#F26522',
  orangeLight: '#F9AA7B',
  yellow: '#FFCE2B',
  gray: '#5F6A6F'
};
const {
  blue,
  orange,
  orangeLight,
  yellow,
  gray
} = colors;
const COLOURS_BAR_CHART = [blue, yellow, gray, orange, orangeLight].map(color => {
  return {
    backgroundColor: color,
    fill: true
  };
});
const COLOURS_TIME_CHART = [orange, blue].map(color => {
  return {
    backgroundColor: color,
    borderColor: color,
    borderWidth: 3
  };
});
const COLOURS_PIE = [blue, yellow, gray, orange];

// Used in cases where we want the colours to represent status.
// Eg. broken, excluded or successful link checks.
const COLOURS_PIE_STATUS = [commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_0__.error.light, commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_0__.warning.main, '#36A2EB'];


/***/ },

/***/ "./modules/commons/components/chart/hooks/useChart.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/chart/hooks/useChart.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useChart: () => (/* binding */ useChart)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const loadChart = async () => {
  const chart = await Promise.all(/*! import() | chart-js */[__webpack_require__.e("vendors-node_modules_pnpm_chart_js_4_5_1_node_modules_chart_js_dist_chart_js"), __webpack_require__.e("chart-js")]).then(__webpack_require__.bind(__webpack_require__, /*! chart.js/auto */ "./node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js"));
  await Promise.all(/*! import() | chartjs-adapter-moment */[__webpack_require__.e("vendors-node_modules_pnpm_chart_js_4_5_1_node_modules_chart_js_dist_chart_js"), __webpack_require__.e("chartjs-adapter-moment")]).then(__webpack_require__.bind(__webpack_require__, /*! chartjs-adapter-moment */ "./node_modules/.pnpm/chartjs-adapter-moment@1.0.1_chart.js@4.5.1_moment@2.30.1/node_modules/chartjs-adapter-moment/dist/chartjs-adapter-moment.esm.js"));
  return chart;
};
const useChart = () => {
  const {
    data: ChartJs,
    status,
    error,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (status !== 'idle') return;
    runAsync(loadChart());
  }, [status, runAsync]);
  return _objectSpread(_objectSpread({}, ChartJs), {}, {
    status,
    error
  });
};

/***/ },

/***/ "./modules/commons/components/common/ConditionalWrapper/ConditionalWrapper.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/common/ConditionalWrapper/ConditionalWrapper.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);

const ConditionalWrapper = _ref => {
  let {
    condition,
    wrapper,
    children
  } = _ref;
  return condition ? wrapper(children) : children;
};
ConditionalWrapper.propTypes = {
  condition: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  wrapper: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConditionalWrapper);

/***/ },

/***/ "./modules/commons/components/common/ConditionalWrapper/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/common/ConditionalWrapper/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ConditionalWrapper__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ConditionalWrapper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/ConditionalWrapper.js");


/***/ },

/***/ "./modules/commons/components/common/ContentWrapper/ContentWrapper.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/common/ContentWrapper/ContentWrapper.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["children", "className"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const ContentWrapper = _ref => {
  let {
      children,
      className
    } = _ref,
    contentProps = _objectWithoutProperties(_ref, _excluded);
  const {
    justifyContent = 'center',
    alignItems = 'center',
    xs = 12,
    md = 10
  } = contentProps;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    container: true,
    justifyContent: justifyContent,
    alignItems: alignItems
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: {
      xs,
      md
    },
    className: className
  }, children));
};
ContentWrapper.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  contentProps: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    justifyContent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    alignItems: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
    md: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ContentWrapper);

/***/ },

/***/ "./modules/commons/components/common/ContentWrapper/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/common/ContentWrapper/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ContentWrapper__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ContentWrapper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContentWrapper */ "./modules/commons/components/common/ContentWrapper/ContentWrapper.js");


/***/ },

/***/ "./modules/commons/components/common/ExpandableListItem/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/common/ExpandableListItem/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowRight.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/Accordion.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionSummary/AccordionSummary.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionDetails/AccordionDetails.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/common/ExpandableListItem/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }








const ExpandableListItem = _ref => {
  let {
    children,
    primary,
    secondary,
    accordionProps = {}
  } = _ref;
  const [expanded, setExpanded] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({
    className: "escoExpandableListItem",
    elevation: 0,
    square: true,
    expanded: expanded,
    onChange: () => setExpanded(!expanded)
  }, accordionProps), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    classes: {
      root: 'escoExpandableListItemHeader',
      expandIconWrapper: 'escoExpandableListeItemHeader__toggle'
    },
    expandIcon: expanded ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null),
    "aria-controls": "expandable-list-item-content",
    id: "expandable-list-item-header"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoExpandableListeItemHeader__primary"
  }, primary), /*#__PURE__*/React.createElement("div", {
    className: "escoExpandableListeItemHeader__secondary"
  }, secondary)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    classes: {
      root: 'escoExpandableListItem__details'
    }
  }, children));
};
ExpandableListItem.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  primary: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  secondary: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  accordionProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ExpandableListItem);

/***/ },

/***/ "./modules/commons/components/common/FileUpload/index.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/common/FileUpload/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getFileNameFromInput: () => (/* binding */ getFileNameFromInput)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material_FindInPage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material/FindInPage */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FindInPage.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









/**
 * Get the file name from a browsers given fake path.
 *
 * @param {HTMLElement} fileInput
 * @returns {string}
 */
const getFileNameFromInput = fileInput => {
  const fullPath = fileInput.value;
  const startIndex = fullPath.indexOf('\\') >= 0 ? fullPath.lastIndexOf('\\') : fullPath.lastIndexOf('/');
  let fileName = fullPath.substring(startIndex);
  if (fileName.indexOf('\\') === 0 || fileName.indexOf('/') === 0) {
    fileName = fileName.substring(1);
  }
  return fileName;
};
const FILE_INPUT_ID = 'file-upload-input';
const FileUpload = _ref => {
  let {
    onSelectFile,
    file = null,
    helperText: helperTextProp,
    showHelperText = false
  } = _ref;
  const [fileName, setFileName] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)('');
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(true);
  const fileInput = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7___default())]);
  const helperText = helperTextProp || translate('fileRequired');
  const onChangeFile = () => {
    setFileName(getFileNameFromInput(fileInput.current));
    onSelectFile(fileInput.current);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (file !== null) {
      setFileName(getFileNameFromInput(file));
    }
  }, [file]);

  // TODO: input type="file" below should not have display:none or visibility:hidden
  return /*#__PURE__*/React.createElement("label", {
    htmlFor: FILE_INPUT_ID,
    "aria-label": translate('uploadFile'),
    style: {
      position: 'relative',
      width: '100%'
    }
  }, /*#__PURE__*/React.createElement("input", {
    ref: fileInput
    // accept=".rdf"
    ,
    style: {
      opacity: 0,
      position: 'absolute',
      zIndex: -1
    },
    id: FILE_INPUT_ID,
    onChange: onChangeFile,
    type: "file",
    name: "file-upload-input"
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    value: fileName,
    label: translate('uploadFile'),
    error: !pristine && !fileName,
    helperText: showHelperText ? helperText : !pristine && !fileName && helperText,
    onBlur: () => setPristine(false),
    inputProps: {
      'aria-label': 'file'
    },
    sx: {
      margin: 0
    }
    // eslint-disable-next-line react/jsx-no-duplicate-props
    ,
    InputProps: {
      endAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
        position: "end"
      }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_10__["default"], {
        title: translate('fileInputBrowse')
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
        "aria-label": translate('fileInputBrowse'),
        color: "secondary",
        component: "span"
        // Not sure why but button presses are simulated as click events
        // File upload should be rewritten with a11y in mind
        ,
        onClick: event => {
          if (event.key === 'Enter' || event.key === ' ') {
            event.preventDefault();
            event.stopPropagation();
            fileInput.current.click();
          }
        }
      }, /*#__PURE__*/React.createElement(_mui_icons_material_FindInPage__WEBPACK_IMPORTED_MODULE_5__["default"], null))))
    }
  }));
};
FileUpload.propTypes = {
  onSelectFile: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().func).isRequired,
  file: prop_types__WEBPACK_IMPORTED_MODULE_9___default().instanceOf(Element),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().string),
  showHelperText: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FileUpload);

/***/ },

/***/ "./modules/commons/components/common/GridList/GridList.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/common/GridList/GridList.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/ImageList.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["children"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const GridList = _ref => {
  let {
      children
    } = _ref,
    imageListProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], imageListProps, children);
};
GridList.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GridList);

/***/ },

/***/ "./modules/commons/components/common/GridList/index.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/common/GridList/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _GridList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _GridList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GridList */ "./modules/commons/components/common/GridList/GridList.js");


/***/ },

/***/ "./modules/commons/components/common/GridListTile/GridListTile.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/common/GridListTile/GridListTile.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageListItem/ImageListItem.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["children"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const GridListTile = _ref => {
  let {
      children
    } = _ref,
    gridListTileProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], gridListTileProps, children);
};
GridListTile.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GridListTile);

/***/ },

/***/ "./modules/commons/components/common/GridListTile/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/common/GridListTile/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _GridListTile__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _GridListTile__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GridListTile */ "./modules/commons/components/common/GridListTile/GridListTile.js");


/***/ },

/***/ "./modules/commons/components/common/Icons/PublicIcon.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/common/Icons/PublicIcon.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_icons_material_PublicOff__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material/PublicOff */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PublicOff.js");
/* harmony import */ var _mui_icons_material_Public__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material/Public */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js");
/* harmony import */ var _mui_icons_material_VpnLock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material/VpnLock */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnLock.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/common/Icons/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const PublicStatusIcon = _ref => {
  let {
    entry,
    internalTooltip,
    publicTooltip,
    privateTooltip,
    highlightId
  } = _ref;
  const getProps = () => {
    if (entry.isPublic()) return {
      icon: /*#__PURE__*/React.createElement(_mui_icons_material_Public__WEBPACK_IMPORTED_MODULE_2__["default"], {
        className: "escoPublicIcon__statusPublic",
        "data-highlight-id": highlightId
      }),
      tooltip: publicTooltip
    };
    if ((0,commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.isInternallyPublished)(entry)) return {
      icon: /*#__PURE__*/React.createElement(_mui_icons_material_VpnLock__WEBPACK_IMPORTED_MODULE_3__["default"], {
        className: "escoPublicIcon__statusPublic",
        "data-highlight-id": highlightId
      }),
      tooltip: internalTooltip
    };
    return {
      icon: /*#__PURE__*/React.createElement(_mui_icons_material_PublicOff__WEBPACK_IMPORTED_MODULE_1__["default"], {
        color: "secondary",
        "data-highlight-id": highlightId
      }),
      tooltip: privateTooltip
    };
  };
  const {
    tooltip,
    icon
  } = getProps();
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__["default"], {
    title: tooltip
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoPublicIcon"
  }, icon));
};
PublicStatusIcon.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType,
  internalTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  publicTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  privateTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PublicStatusIcon);

/***/ },

/***/ "./modules/commons/components/common/LanguageSelect/LanguageSelect.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/common/LanguageSelect/LanguageSelect.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Translate.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }











const LanguageSelect = _ref => {
  let {
    textFieldProps
  } = _ref;
  const languages = (0,commons_locale__WEBPACK_IMPORTED_MODULE_10__.sortLanguages)(config__WEBPACK_IMPORTED_MODULE_12__["default"].get('locale.supported'));
  const [language, setLanguage] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_11__.useLanguage)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
    select: true,
    label: t('language'),
    value: language,
    onChange: _ref2 => {
      let {
        target: {
          value: newLanguage
        }
      } = _ref2;
      setLanguage(newLanguage);
    },
    variant: "outlined",
    slotProps: {
      input: {
        startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
          position: "start"
        }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
          color: "secondary"
        })),
        inputProps: {
          id: 'language-select-input'
        }
      },
      inputLabel: {
        htmlFor: 'language-select-input'
      }
    }
  }, textFieldProps), languages.map(_ref3 => {
    let {
      lang,
      label
    } = _ref3;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      key: lang,
      value: lang
    }, label);
  }));
};
LanguageSelect.propTypes = {
  textFieldProps: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3___default().objectOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)), prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    fullWidth: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
  })])
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LanguageSelect);

/***/ },

/***/ "./modules/commons/components/common/LanguageSelect/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/common/LanguageSelect/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _LanguageSelect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LanguageSelect */ "./modules/commons/components/common/LanguageSelect/LanguageSelect.js");


/***/ },

/***/ "./modules/commons/components/common/Placeholder/Placeholder.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/common/Placeholder/Placeholder.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _Placeholder_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Placeholder.scss */ "./modules/commons/components/common/Placeholder/Placeholder.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const Placeholder = _ref => {
  let {
    label,
    icon = null,
    variant,
    className,
    children
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    container: true,
    direction: "column",
    alignContent: "center",
    className: `escoPlaceholder${variant ? ` escoPlaceholder--${variant}` : ''} ${className}`
  }, icon && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], null, icon), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], null, label), children ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    className: "escoPlaceholder__children"
  }, children) : null);
};
Placeholder.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().element),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['compact', 'view', 'dialog']),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Placeholder);

/***/ },

/***/ "./modules/commons/components/common/Placeholder/index.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/common/Placeholder/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Placeholder__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Placeholder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Placeholder */ "./modules/commons/components/common/Placeholder/Placeholder.js");


/***/ },

/***/ "./modules/commons/components/common/ProgressList/ProgressList.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/common/ProgressList/ProgressList.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Autorenew.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Check.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HighlightOff.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SlowMotionVideo.js");
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");
/* harmony import */ var commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoProgress.nls */ "./modules/commons/nls/escoProgress.nls");
/* harmony import */ var commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_common_Spin__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/Spin */ "./modules/commons/components/common/Spin/index.js");
/* harmony import */ var _ProgressList_scss__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ProgressList.scss */ "./modules/commons/components/common/ProgressList/ProgressList.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const getDoneTasksPercentage = tasks => {
  const doneTasks = tasks.filter(_ref => {
    let {
      status
    } = _ref;
    return status === commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_DONE;
  }).length;
  return doneTasks / tasks.length * 100;
};
const statusToIcon = status => {
  switch (status) {
    case commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_IDLE:
      return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_12__["default"], null);
    // TODO better icon needed
    case commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_PROGRESS:
      return /*#__PURE__*/React.createElement(commons_components_common_Spin__WEBPACK_IMPORTED_MODULE_15__.Spin, null, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"], null));
    case commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_DONE:
      return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
        color: "primary"
      });
    case commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_FAILED:
      return /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
        color: "error"
      });
    default:
  }
};
const ProgressList = _ref2 => {
  let {
    tasks = [],
    nlsBundles = []
  } = _ref2;
  const localizationBundles = [(commons_nls_escoProgress_nls__WEBPACK_IMPORTED_MODULE_14___default()), ...nlsBundles];
  const hasFailed = tasks.some(task => task.status === commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_FAILED);
  const hasSucceeded = tasks.every(_ref3 => {
    let {
      status
    } = _ref3;
    return status === commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_13__.STATUS_DONE;
  });
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(localizationBundles);
  const getLinearBarClasses = () => {
    if (hasSucceeded) {
      return {
        bar: 'escoProgressList__linearBar--success'
      };
    }
    if (hasFailed) {
      return {
        bar: 'escoProgressList__linearBar--error'
      };
    }
    return null;
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "determinate",
    value: getDoneTasksPercentage(tasks),
    classes: getLinearBarClasses()
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    component: "nav",
    "aria-label": t('progressListNavAriaLabel')
  }, tasks.map(task => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    key: task.id
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], null, statusToIcon(task.status)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    primary: t(task.nlsKeyLabel),
    secondary: task.message,
    secondaryTypographyProps: {
      'aria-live': 'polite'
    }
  })))));
};
ProgressList.propTypes = {
  tasks: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    nlsKeyLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    status: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    message: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)])
  })),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProgressList);

/***/ },

/***/ "./modules/commons/components/common/ProgressList/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/common/ProgressList/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProgressList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProgressList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProgressList */ "./modules/commons/components/common/ProgressList/ProgressList.js");


/***/ },

/***/ "./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_Tabs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Tabs */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/Tabs.js");
/* harmony import */ var _mui_material_Tab__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Tab */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/Tab.js");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/nls/escaPreparations.nls */ "./modules/catalog/nls/escaPreparations.nls");
/* harmony import */ var catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _SegmentedControlTabs_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SegmentedControlTabs.scss */ "./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.scss");







const SegmentedControlTabs = _ref => {
  let {
    selected = 'all',
    items,
    onSelect,
    disabled = false
  } = _ref;
  const handleChange = (_event, newValue) => {
    // setting value to return to the parent component for filter operation
    onSelect(newValue);
  };
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)([(catalog_nls_escaPreparations_nls__WEBPACK_IMPORTED_MODULE_4___default())]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
    className: "SegmentedControlTabs"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
    className: "SegmentedControlTabs__inner"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Tabs__WEBPACK_IMPORTED_MODULE_2__["default"], {
    value: selected,
    textColor: "secondary",
    onChange: handleChange,
    classes: {
      root: 'itemBasic',
      indicator: 'segmentedControlTabs__indicator',
      flexContainer: 'segmentedControlTabs__flexContainer'
    },
    "aria-label": translate('segmentedControlTabAriaLabel')
  }, items.map(item => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_Tab__WEBPACK_IMPORTED_MODULE_3__["default"], {
    disabled: disabled,
    label: item.label,
    key: item.label,
    value: item.value,
    className: `${selected === item.value ? 'SegmentedControlTabs__item SegmentedControlTabs__item--selected' : 'SegmentedControlTabs__item'}`
  })))));
};
SegmentedControlTabs.propTypes = {
  items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
    value: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)]).isRequired
  })).isRequired,
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)])
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SegmentedControlTabs);

/***/ },

/***/ "./modules/commons/components/common/SegmentedControlTabs/index.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/common/SegmentedControlTabs/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SegmentedControlTabs__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SegmentedControlTabs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SegmentedControlTabs */ "./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.js");


/***/ },

/***/ "./modules/commons/components/common/SlideTransition/SlideTransition.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/common/SlideTransition/SlideTransition.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Slide__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Slide */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Slide/Slide.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }

const SlideTransition = props => {
  return /*#__PURE__*/React.createElement(_mui_material_Slide__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({}, props, {
    direction: "up"
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SlideTransition);

/***/ },

/***/ "./modules/commons/components/common/SlideTransition/index.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/common/SlideTransition/index.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SlideTransition__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SlideTransition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SlideTransition */ "./modules/commons/components/common/SlideTransition/SlideTransition.js");


/***/ },

/***/ "./modules/commons/components/common/Spin/Spin.js"
/*!********************************************************!*\
  !*** ./modules/commons/components/common/Spin/Spin.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Spin: () => (/* binding */ Spin),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useSpinState: () => (/* binding */ useSpinState)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _Spin_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Spin.scss */ "./modules/commons/components/common/Spin/Spin.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const Spin = _ref => {
  let {
    children,
    size = 24
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoSpin",
    style: {
      width: `${size}px`,
      height: `${size}px`
    }
  }, children);
};
Spin.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number)
};
const STOPPED = 'stopped';
const STARTED = 'started';
const SPINNING = 'spinning';
const useSpinState = listStatus => {
  const [status, setStatus] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(STOPPED);
  const start = () => setStatus(STARTED);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (status === STARTED && listStatus === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__.PENDING) {
      setStatus(SPINNING);
      return;
    }
    if (status === SPINNING && [commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__.RESOLVED, commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__.REJECTED].includes(listStatus)) {
      setStatus('stopped');
    }
  }, [status, listStatus]);
  return [status === SPINNING, start];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Spin);

/***/ },

/***/ "./modules/commons/components/common/Spin/index.js"
/*!*********************************************************!*\
  !*** ./modules/commons/components/common/Spin/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Spin: () => (/* reexport safe */ _Spin__WEBPACK_IMPORTED_MODULE_0__.Spin),
/* harmony export */   useSpinState: () => (/* reexport safe */ _Spin__WEBPACK_IMPORTED_MODULE_0__.useSpinState)
/* harmony export */ });
/* harmony import */ var _Spin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Spin */ "./modules/commons/components/common/Spin/Spin.js");


/***/ },

/***/ "./modules/commons/components/common/Switch/index.js"
/*!***********************************************************!*\
  !*** ./modules/commons/components/common/Switch/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/styles */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/withStyles/withStyles.js");
/* harmony import */ var _mui_material_Switch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Switch */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/Switch.js");
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/common/Switch/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["classes"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const Switch = (0,_mui_styles__WEBPACK_IMPORTED_MODULE_2__["default"])({
  switchBase: {
    color: '#FFFFFF',
    '&$checked': {
      color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_4__.success.main,
      '&$disabled': {
        color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_4__.success.light
      }
    },
    '&$checked + $track': {
      backgroundColor: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_4__.success.light
    }
  },
  checked: {},
  track: {
    backgroundColor: '#BCBDBD'
  },
  disabled: {}
})(/*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)((_ref, ref) => {
  let {
      classes
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material_Switch__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    focusVisibleClassName: 'escoSwitch--focused'
  }, props, {
    ref: ref,
    classes: {
      root: classes.root,
      switchBase: classes.switchBase,
      thumb: classes.thumb,
      track: classes.track,
      checked: classes.checked,
      disabled: classes.disabled
    }
  }));
}));
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Switch);

/***/ },

/***/ "./modules/commons/components/common/Table/Table.js"
/*!**********************************************************!*\
  !*** ./modules/commons/components/common/Table/Table.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


const Table = _ref => {
  let {
    headers = [],
    rows = []
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    component: _mui_material__WEBPACK_IMPORTED_MODULE_3__["default"],
    style: {
      maxWidth: '800px'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    size: "small"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, headers.map((value, index) => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({
    key: value,
    scope: "column"
  }, index === 0 ? {} : {
    align: 'center'
  }), value)))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, rows.map(row => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    key: `${row[0]}-row`,
    hover: true
  }, row.map((value, index) => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({}, index === 0 ? {
    component: 'th',
    scope: 'row'
  } : {
    component: 'td',
    align: 'center'
  }, {
    // eslint-disable-next-line react/no-array-index-key
    key: `${row[0]}-cell-${index}`
  }), value)))))));
};
Table.propTypes = {
  headers: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)),
  rows: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)])))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Table);

/***/ },

/***/ "./modules/commons/components/common/Table/index.js"
/*!**********************************************************!*\
  !*** ./modules/commons/components/common/Table/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Table__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Table */ "./modules/commons/components/common/Table/Table.js");


/***/ },

/***/ "./modules/commons/components/common/Tabs/Tabs.js"
/*!********************************************************!*\
  !*** ./modules/commons/components/common/Tabs/Tabs.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Tab: () => (/* binding */ Tab),
/* harmony export */   TabPanel: () => (/* binding */ TabPanel),
/* harmony export */   Tabs: () => (/* binding */ Tabs),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/Tab.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/Tabs.js");
/* harmony import */ var _Tabs_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Tabs.scss */ "./modules/commons/components/common/Tabs/Tabs.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children", "id", "value"],
  _excluded2 = ["label", "icon", "id"],
  _excluded3 = ["children", "value", "onChange", "className"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const TAB_ID_PREFIX = 'tab-';
const TAB_PANEL_ID_PREFIX = 'tab-panel-';
const TabPanel = _ref => {
  let {
      children,
      id,
      value
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement("div", _extends({
    role: "tabpanel",
    hidden: value !== id,
    id: `${TAB_PANEL_ID_PREFIX}${id}`,
    className: "escoTabpanel",
    "aria-labelledby": `${TAB_ID_PREFIX}${id}`
  }, rest), value === id && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    p: 3
  }, /*#__PURE__*/React.createElement("div", null, children)));
};
TabPanel.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  value: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)])
};
const Tab = _ref2 => {
  let {
      label,
      icon,
      id
    } = _ref2,
    rest = _objectWithoutProperties(_ref2, _excluded2);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    id: `${TAB_ID_PREFIX}${id}`,
    "aria-controls": `${TAB_PANEL_ID_PREFIX}${id}`,
    label: label,
    icon: icon,
    iconPosition: "start",
    classes: {
      wrapper: 'escoTab__wrapper',
      root: 'escoTab'
    }
  }, rest));
};
Tab.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const Tabs = _ref3 => {
  let {
      children,
      value,
      onChange,
      className = ''
    } = _ref3,
    rest = _objectWithoutProperties(_ref3, _excluded3);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
    value: value,
    onChange: onChange,
    classes: {
      root: className ? `escoTabs ${className}` : 'escoTabs',
      indicator: 'escoTabs__indicator'
    },
    indicatorColor: "primary",
    textColor: "primary",
    variant: "scrollable",
    scrollButtons: "auto"
  }, rest), children);
};
Tabs.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  value: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)]),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tabs);

/***/ },

/***/ "./modules/commons/components/common/Tabs/index.js"
/*!*********************************************************!*\
  !*** ./modules/commons/components/common/Tabs/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Tab: () => (/* reexport safe */ _Tabs__WEBPACK_IMPORTED_MODULE_0__.Tab),
/* harmony export */   TabPanel: () => (/* reexport safe */ _Tabs__WEBPACK_IMPORTED_MODULE_0__.TabPanel),
/* harmony export */   Tabs: () => (/* reexport safe */ _Tabs__WEBPACK_IMPORTED_MODULE_0__.Tabs),
/* harmony export */   "default": () => (/* reexport safe */ _Tabs__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Tabs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Tabs */ "./modules/commons/components/common/Tabs/Tabs.js");



/***/ },

/***/ "./modules/commons/components/common/Tooltip/Tooltip.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/common/Tooltip/Tooltip.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TOOLTIP_DELAY: () => (/* binding */ TOOLTIP_DELAY),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Tooltip */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/Tooltip.js");
/* harmony import */ var _mui_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/styles */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/withStyles/withStyles.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children", "title", "placement"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const StyledTooltip = (0,_mui_styles__WEBPACK_IMPORTED_MODULE_4__["default"])(() => ({
  tooltip: {
    borderRadius: '4px !important',
    padding: '2px 6px 3px 6px !important',
    minHeight: '23px',
    boxShadow: '0px 1px 3px #00000066',
    maxWidth: '168px'
  },
  tooltipPlacementTop: {
    margin: '3px'
  }
}))(_mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_3__["default"]);
const Tooltip = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((_ref, ref) => {
  let {
      children,
      title,
      placement = 'top'
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  return title ? /*#__PURE__*/React.createElement(StyledTooltip, _extends({
    placement: placement,
    title: title,
    ref: ref
  }, rest), children) : children;
});
Tooltip.displayName = 'Tooltip';
const TOOLTIP_DELAY = 500;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tooltip);
Tooltip.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node).isRequired,
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  placement: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/common/Tooltip/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/common/Tooltip/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TOOLTIP_DELAY: () => (/* reexport safe */ _Tooltip__WEBPACK_IMPORTED_MODULE_0__.TOOLTIP_DELAY),
/* harmony export */   "default": () => (/* reexport safe */ _Tooltip__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Tooltip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Tooltip */ "./modules/commons/components/common/Tooltip/Tooltip.js");



/***/ },

/***/ "./modules/commons/components/common/dialogs/AcknowledgeDialog/AcknowledgeDialog.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/AcknowledgeDialog/AcknowledgeDialog.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_Dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Dialog */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/DialogActions */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/DialogContent */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material_DialogContentText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/DialogContentText */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/DialogContentText.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const AcknowledgeDialog = _ref => {
  let {
    children,
    open,
    handleClose = () => {},
    buttonLabel = 'OK'
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_2__["default"], {
    open: open,
    onClose: handleClose,
    "aria-labelledby": "acknowledge-dialog-title",
    "aria-describedby": "acknowledge-dialog-description",
    maxWidth: "sm",
    fullWidth: true
  }, /*#__PURE__*/React.createElement(_mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_4__["default"], null, /*#__PURE__*/React.createElement(_mui_material_DialogContentText__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "acknowledge-dialog-description"
  }, children)), /*#__PURE__*/React.createElement(_mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_3__["default"], null, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_1__["default"], {
    onClick: handleClose,
    variant: "text",
    autoFocus: true
  }, buttonLabel)));
};
AcknowledgeDialog.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  open: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool).isRequired,
  handleClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  buttonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AcknowledgeDialog);

/***/ },

/***/ "./modules/commons/components/common/dialogs/AcknowledgeDialog/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/AcknowledgeDialog/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _AcknowledgeDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _AcknowledgeDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AcknowledgeDialog */ "./modules/commons/components/common/dialogs/AcknowledgeDialog/AcknowledgeDialog.js");


/***/ },

/***/ "./modules/commons/components/common/dialogs/AlertDialog/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/AlertDialog/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_Dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Dialog */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/DialogActions */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/DialogContent */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material_DialogContentText__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/DialogContentText */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/DialogContentText.js");
/* harmony import */ var _mui_material_DialogTitle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/DialogTitle */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const AlertDialog = _ref => {
  let {
    children,
    open,
    handleClose,
    buttonLabel,
    title
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_2__["default"], {
    open: open,
    onClose: handleClose,
    "aria-labelledby": "alert-dialog-title",
    "aria-describedby": "alert-dialog-description",
    maxWidth: "sm",
    fullWidth: true
  }, title && /*#__PURE__*/React.createElement(_mui_material_DialogTitle__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "alert-dialog-title"
  }, title, " "), /*#__PURE__*/React.createElement(_mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_4__["default"], {
    dividers: true
  }, /*#__PURE__*/React.createElement(_mui_material_DialogContentText__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "alert-dialog-description"
  }, children)), /*#__PURE__*/React.createElement(_mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_3__["default"], null, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_1__["default"], {
    onClick: handleClose,
    variant: "text",
    autoFocus: true
  }, buttonLabel)));
};
AlertDialog.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  open: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool).isRequired,
  handleClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func).isRequired,
  buttonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AlertDialog);

/***/ },

/***/ "./modules/commons/components/common/dialogs/ConfirmLeaveDialog/ConfirmLeaveDialog.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/ConfirmLeaveDialog/ConfirmLeaveDialog.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConfirmLeaveDialog: () => (/* binding */ ConfirmLeaveDialog)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");








// This is a workaround because of a bug in react router dom, where blocker is
// not being cleaned up properly, when a route has been recreated:
// https://github.com/remix-run/react-router/issues/11430
// The shouldBlockGlobal is used to make sure navigation is not blocked
// after useBlocker has been used.
let shouldBlockGlobal = false;
const getShouldBlockGlobal = () => {
  return shouldBlockGlobal;
};
const ConfirmLeaveDialog = _ref => {
  let {
    onClose,
    shouldBlock
  } = _ref;
  const blocker = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useBlocker)(_ref2 => {
    let {
      currentLocation,
      nextLocation
    } = _ref2;
    return getShouldBlockGlobal() && currentLocation.pathname !== nextLocation.pathname;
  });
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    shouldBlockGlobal = shouldBlock;
    return () => {
      shouldBlockGlobal = false;
    };
  }, [shouldBlock, blocker]);
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    if (blocker.state !== 'blocked') return;
    runAsync(getConfirmationDialog({
      content: translate('unsavedChanges'),
      rejectLabel: translate('cancel'),
      affirmLabel: translate('proceed')
    }).then(proceed => {
      if (proceed) {
        blocker.proceed();
        onClose();
        return;
      }
      blocker.reset();
      onClose();
    }));
  }, [runAsync, onClose, getConfirmationDialog, translate, blocker.state, blocker]);
  return null;
};
ConfirmLeaveDialog.propTypes = {
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  shouldBlock: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
};

/***/ },

/***/ "./modules/commons/components/common/dialogs/ConfirmLeaveDialog/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/ConfirmLeaveDialog/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConfirmLeaveDialog: () => (/* reexport safe */ _ConfirmLeaveDialog__WEBPACK_IMPORTED_MODULE_0__.ConfirmLeaveDialog)
/* harmony export */ });
/* harmony import */ var _ConfirmLeaveDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConfirmLeaveDialog */ "./modules/commons/components/common/dialogs/ConfirmLeaveDialog/ConfirmLeaveDialog.js");


/***/ },

/***/ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/DialogTwoColumnLayout.js"
/*!**************************************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/DialogTwoColumnLayout/DialogTwoColumnLayout.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PrimaryColumn: () => (/* binding */ PrimaryColumn),
/* harmony export */   SecondaryColumn: () => (/* binding */ SecondaryColumn),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const DialogTwoColumnLayout = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    container: true,
    className: "escoDialogTwoColumnLayout"
  }, children);
};
DialogTwoColumnLayout.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
const PrimaryColumn = _ref2 => {
  let {
    children,
    xs = 9
  } = _ref2;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: {
      xs
    },
    className: "escoDialogTwoColumnLayout__primaryColumn"
  }, children);
};
PrimaryColumn.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
};
const SecondaryColumn = _ref3 => {
  let {
    children,
    xs = 3
  } = _ref3;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: {
      xs
    },
    className: "escoDialogTwoColumnLayout__secondaryColumn"
  }, children);
};
SecondaryColumn.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DialogTwoColumnLayout);

/***/ },

/***/ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.js"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PrimaryColumn: () => (/* reexport safe */ _DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_0__.PrimaryColumn),
/* harmony export */   SecondaryColumn: () => (/* reexport safe */ _DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_0__.SecondaryColumn),
/* harmony export */   "default": () => (/* reexport safe */ _DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DialogTwoColumnLayout */ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/DialogTwoColumnLayout.js");



/***/ },

/***/ "./modules/commons/components/common/dialogs/DownloadResourceDialog/DownloadResourceDialog.js"
/*!****************************************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/DownloadResourceDialog/DownloadResourceDialog.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_file__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/file */ "./modules/commons/util/file.js");





// Mimics a dialog by closing immediately after opening
const DownloadResourceDialog = _ref => {
  let {
    entry,
    closeDialog
  } = _ref;
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    const filename = (0,commons_util_file__WEBPACK_IMPORTED_MODULE_3__.getFilename)(entry);
    if (filename) {
      (0,commons_util_file__WEBPACK_IMPORTED_MODULE_3__.downloadURI)(entry.getResourceURI(), filename);
    } else {
      window.open(`${entry.getResourceURI()}?download`, '_self');
    }
    closeDialog();
  }, [closeDialog, entry]);
  return null;
};
DownloadResourceDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.entryPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DownloadResourceDialog);

/***/ },

/***/ "./modules/commons/components/common/dialogs/DownloadResourceDialog/index.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/DownloadResourceDialog/index.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DownloadResourceDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DownloadResourceDialog */ "./modules/commons/components/common/dialogs/DownloadResourceDialog/DownloadResourceDialog.js");


/***/ },

/***/ "./modules/commons/components/common/dialogs/ListActionDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/ListActionDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/Backdrop.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_rdforms_RdformsAlert__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/rdforms/RdformsAlert */ "./modules/commons/components/rdforms/RdformsAlert/index.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/common/dialogs/ListActionDialog/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }







// TODO nls 'yes' and 'no' and defaults
const ListActionDialog = _ref => {
  let {
    // fixed props - passed by (list) SecondaryActions
    id,
    title,
    actions,
    closeDialog,
    maxWidth = 'lg',
    children,
    closeDialogButtonLabel,
    alert: alertProps = {},
    fixedHeight,
    loading = false,
    contentProps
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    classes: {
      paper: fixedHeight ? 'escoListActionDialog--fixedHeight' : ''
    },
    onClose: closeDialog,
    disableEscapeKeyDown: loading,
    "aria-labelledby": `${id}-title`,
    open: true,
    fullWidth: true,
    maxWidth: maxWidth,
    PaperProps: {
      id
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    sx: theme => ({
      zIndex: theme.zIndex.drawer + 10000
    }),
    open: loading,
    invisible: true
  }), title && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    id: `${id}-title`,
    onClose: closeDialog,
    className: "escoListActionDialog__title"
  }, title), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    dividers: !!title
  }, contentProps), children, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsAlert__WEBPACK_IMPORTED_MODULE_10__["default"], alertProps)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "text",
    onClick: closeDialog,
    disabled: loading
  }, closeDialogButtonLabel || t('cancel')), actions));
};
ListActionDialog.propTypes = {
  id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  actions: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  maxWidth: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  closeDialogButtonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  alert: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    message: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    setMessage: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
    props: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
  }),
  fixedHeight: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  loading: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  contentProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListActionDialog);

/***/ },

/***/ "./modules/commons/components/common/dialogs/MainDialog/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/MainDialog/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AcknowledgeAction: () => (/* binding */ AcknowledgeAction),
/* harmony export */   ConfirmAction: () => (/* binding */ ConfirmAction),
/* harmony export */   MainDialogWithProvider: () => (/* binding */ MainDialogWithProvider),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/DialogContentText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["ignoreBackdropClick"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









// Utility component to be used as the `actions` in a dialog.
const AcknowledgeAction = _ref => {
  let {
    onDone,
    okLabel = 'OK',
    isDisabled = false
  } = _ref;
  const {
    closeMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_10__.useMainDialog)();
  const handleClose = () => {
    if (onDone) {
      Promise.resolve(onDone()).then(closeMainDialog());
    } else {
      closeMainDialog();
    }
  };

  // TODO nls
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onClick: handleClose,
    color: "primary",
    autoFocus: true,
    disabled: isDisabled
  }, okLabel);
};
AcknowledgeAction.propTypes = {
  onDone: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func),
  isDisabled: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
  okLabel: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string)
};

// Utility component to be used as the `actions` in a dialog.
const ConfirmAction = _ref2 => {
  let {
    onDone,
    onReject,
    affirmLabel,
    rejectLabel
  } = _ref2;
  const {
    closeMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_10__.useMainDialog)();
  const handleClose = () => {
    if (onDone) {
      Promise.resolve(onDone()).then(closeMainDialog());
    } else {
      closeMainDialog();
    }
  };
  const handleReject = () => {
    if (onReject) {
      onReject();
    }
    closeMainDialog();
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onClick: handleReject,
    variant: "text"
  }, rejectLabel), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onClick: handleClose,
    color: "primary",
    autoFocus: true
  }, affirmLabel));
};
ConfirmAction.propTypes = {
  onDone: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func),
  onReject: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func),
  affirmLabel: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string).isRequired,
  rejectLabel: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().string).isRequired
};

// Main ES dialog. Should be used for generic messages like confirmation or error messages.
// If null is passed to actions, no actions will be rendered
const MainDialog = () => {
  const {
    open,
    dialogContent,
    closeMainDialog,
    dialogProps
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_10__.useMainDialog)();
  const {
    title,
    content,
    actions = /*#__PURE__*/React.createElement(ConfirmAction, null),
    onBackdropClick
  } = dialogContent;
  const {
      ignoreBackdropClick: _ignoreBackdropClick
    } = dialogProps,
    muiDialogProps = _objectWithoutProperties(dialogProps, _excluded); // ignoreBackdropClick is not a mui dialog prop

  const handleClose = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(function () {
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    return closeMainDialog(...args, onBackdropClick);
  }, [closeMainDialog, onBackdropClick]);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    open: open,
    onClose: handleClose,
    "aria-labelledby": "es-main-dialog-title",
    "aria-describedby": "es-main-dialog-description",
    fullWidth: true,
    maxWidth: "sm"
  }, muiDialogProps), title && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "es-main-dialog-title"
  }, title), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "es-main-dialog-description"
  }, typeof content === 'string' ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, content) : content), actions && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], null, actions));
};
const MainDialogWithProvider = _ref3 => {
  let {
    children
  } = _ref3;
  return /*#__PURE__*/React.createElement(commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_10__.MainDialogProvider, null, /*#__PURE__*/React.createElement(MainDialog, null), children);
};
MainDialogWithProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MainDialog);

/***/ },

/***/ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/ReplaceLinkDialog.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/ReplaceLinkDialog/ReplaceLinkDialog.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");























const getDefaultLinkedEntries = _ref => {
  let {
    context,
    resourceURI
  } = _ref;
  return commons_store__WEBPACK_IMPORTED_MODULE_14__.entrystore.newSolrQuery().context(context).objectUri(resourceURI);
};
const ReplaceLinkDialog = _ref2 => {
  let {
    entry,
    entityType,
    closeDialog,
    onLinkChangeSuccess,
    copyOldLink,
    ReplaceURIField = _mui_material__WEBPACK_IMPORTED_MODULE_6__["default"],
    nlsBundles = [],
    getLinkedEntries = getDefaultLinkedEntries,
    showCrossContextWarning = false
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)([...nlsBundles, (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16___default())]);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_21__.useUserState)();
  // TODO https://metasolutions.atlassian.net/browse/ES-2825
  // only use entity type instance eventually
  const entityTypeConfig = entityType instanceof _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__.EntityType ? entityType.get() : entityType;
  const [buttonDisabled, setButtonIsDisabled] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true);
  const {
    context,
    resourceURI,
    info: entryInfo
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_13__.spreadEntry)(entry);
  const [newURI, setNewURI] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(copyOldLink ? resourceURI : '');
  const [errorMessage, setErrorMessage] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('');
  const [replaceError, setReplaceError] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)();
  const [isLoading, setIsLoading] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const handleNewLinkUpdate = function handleNewLinkUpdate(evt) {
    let skipVerify = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    const updatedURI = evt.target.value.trim();
    setNewURI(updatedURI);
    if (skipVerify) return;
    if (updatedURI && (0,commons_util_util__WEBPACK_IMPORTED_MODULE_8__.validateLink)(updatedURI)) {
      if (updatedURI === resourceURI) {
        setButtonIsDisabled(true);
        setErrorMessage('sameOldLink');
      } else {
        setButtonIsDisabled(false);
        setErrorMessage('');
      }
    } else if (updatedURI === '') {
      setButtonIsDisabled(true);
      setErrorMessage('newLinkRequired');
    } else {
      setButtonIsDisabled(true);
      setErrorMessage('invalidNewLink');
    }
  };
  const handleSaveForm = async () => {
    setIsLoading(true);
    try {
      let isNewURIValid = true;
      if (entityTypeConfig !== null && entityTypeConfig !== void 0 && entityTypeConfig.uniqueURIScope) {
        isNewURIValid = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_13__.checkURIUniquenessScope)(entityTypeConfig.uniqueURIScope, newURI, context, entityTypeConfig.rdfType);
      }
      if (isNewURIValid) {
        // 1. update entry resource URI
        entryInfo.setResourceURI(newURI);
        await entryInfo.commit();

        // 2. update all linked entries
        await getLinkedEntries({
          context,
          resourceURI,
          entryInfo
        }).forEach(async linkedEntry => {
          if (linkedEntry.isReference()) return;
          linkedEntry.getMetadata().replaceURI(resourceURI, newURI);
          await linkedEntry.commitMetadata();
        });
        entry.setRefreshNeeded();
        await entry.refresh();
        closeDialog();
        onLinkChangeSuccess === null || onLinkChangeSuccess === void 0 || onLinkChangeSuccess();
      } else {
        setButtonIsDisabled(true);
        setErrorMessage('unavailableNewLink');
        throw Error('URL already exists');
      }
    } catch (error) {
      setReplaceError(new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_19__.ErrorWithMessage(translate('saveFail'), error));
    } finally {
      setIsLoading(false);
    }
  };
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__["default"], {
    loading: isLoading,
    onClick: handleSaveForm,
    disabled: buttonDisabled
  }, translate('replaceLinkFooterButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__["default"], {
    id: "replace-entity-uri",
    title: translate('replaceLinkHeader'),
    actions: dialogActions,
    closeDialog: closeDialog
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__["default"], {
    md: 8
  }, showCrossContextWarning && !(0,commons_util_user__WEBPACK_IMPORTED_MODULE_22__.hasAdminRights)(userEntry) ? /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_9__["default"], {
    severity: "warning"
  }, translate('replaceLinkCrossContextWarning')) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    disabled: true,
    label: translate('replaceEntityURLCurrentLinkLabel'),
    id: "replace-entity-uri-current",
    value: resourceURI
  }), /*#__PURE__*/React.createElement(ReplaceURIField, {
    label: translate('replaceEntityURLNewLinkLabel'),
    id: "replace-entity-uri-new",
    value: newURI,
    onChange: handleNewLinkUpdate,
    error: !!errorMessage,
    helperText: !!errorMessage && translate(errorMessage)
  }))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_18__.ErrorCatcher, {
    error: replaceError
  }));
};
ReplaceLinkDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape().isRequired,
  entityType: prop_types__WEBPACK_IMPORTED_MODULE_11___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_11___default().shape(), commons_types_EntityType__WEBPACK_IMPORTED_MODULE_17__.entityTypePropType]),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func),
  onLinkChangeSuccess: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func),
  ReplaceURIField: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func),
  getLinkedEntries: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().func),
  copyOldLink: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.nlsBundlesPropType,
  showCrossContextWarning: (prop_types__WEBPACK_IMPORTED_MODULE_11___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ReplaceLinkDialog);

/***/ },

/***/ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/ReplaceLinkDialog/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ReplaceLinkDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ReplaceLinkDialog */ "./modules/commons/components/common/dialogs/ReplaceLinkDialog/ReplaceLinkDialog.js");


/***/ },

/***/ "./modules/commons/components/context/RemoveContextDialog.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/context/RemoveContextDialog.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material_Dialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Dialog */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/DialogContent */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/DialogActions */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


















const RemoveContextDialog = _ref => {
  let {
    entry,
    closeDialog,
    onRemove = () => {},
    nlsBundles = []
  } = _ref;
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__.useUserState)();
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_17__.useParams)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)([...nlsBundles, (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default())]);
  const {
    runAsync,
    isPending
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const {
    goBackToListView
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_13__["default"])();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__.useSnackbar)();
  const handleRemoveRequest = () => runAsync((0,commons_util_context__WEBPACK_IMPORTED_MODULE_12__.deleteContext)(entry, userEntry).then(() => {
    closeDialog();
    onRemove();
    goBackToListView((0,commons_util_site__WEBPACK_IMPORTED_MODULE_16__.getParentViewName)((0,commons_util_site__WEBPACK_IMPORTED_MODULE_16__.getCurrentViewName)()), {
      projectName
    });
    addSnackbar({
      message: translate('contextRemoveSuccess')
    });
  }).catch(err => {
    console.error(err);
    addSnackbar({
      message: translate('contextRemoveFail'),
      type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_14__.ERROR
    });
  }));
  return /*#__PURE__*/React.createElement(_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
    open: true,
    onClose: closeDialog,
    fullWidth: true,
    maxWidth: "xs",
    "aria-labelledby": "remove-project-context"
  }, /*#__PURE__*/React.createElement(_mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement("div", {
    id: "remove-project-context"
  }, translate('removeContext'))), /*#__PURE__*/React.createElement(_mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_4__["default"], {
    onClick: closeDialog,
    variant: "text"
  }, translate('cancel')), /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_15__["default"], {
    onClick: handleRemoveRequest,
    loading: isPending,
    color: "primary"
  }, translate('removeButtonLabel'))));
};
RemoveContextDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveContextDialog);

/***/ },

/***/ "./modules/commons/components/dialogs/ItemSelectDialog/ItemSelectDialog.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/dialogs/ItemSelectDialog/ItemSelectDialog.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoEntryChooser.nls */ "./modules/commons/nls/escoEntryChooser.nls");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/actions/hooks/useActionDefinitions */ "./modules/commons/actions/hooks/useActionDefinitions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["action", "Component"];






function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }











const NLS_BUNDLES = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const SEARCH_FIELDS = ['title'];
const SelectButton = _ref => {
  let {
    isSelected,
    selectedNlsKey,
    selectNlsKey,
    action: actionDefinition,
    actionParams
  } = _ref;
  const _normalizeAction = (0,commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_18__.normalizeAction)({
      getFallbackIcon: () => null,
      action: _objectSpread(_objectSpread({}, actionDefinition), {}, {
        disabled: isSelected,
        labelNlsKey: isSelected ? selectedNlsKey : selectNlsKey
      }),
      actionParams
    }),
    {
      action,
      Component = commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_17__["default"]
    } = _normalizeAction,
    rest = _objectWithoutProperties(_normalizeAction, _excluded);
  return /*#__PURE__*/React.createElement(Component, _extends({
    variant: "text",
    action: action
  }, rest));
};
SelectButton.propTypes = {
  value: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  isSelected: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().bool),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().func),
  selectedNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  selectNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({}),
  action: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({})
};
const ItemSelectDialog = _ref2 => {
  let {
    closeDialog,
    selectAction,
    actionParams,
    items,
    initiallySelected = [],
    listStatus = commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__.RESOLVED,
    isLoading = false,
    showList,
    selectNlsKey = 'selectEntity',
    selectedNlsKey = 'selectedEntityLabel',
    titleNlsKey: dialogTitleNlsKey,
    title: dialogTitle,
    nlsBundles = NLS_BUNDLES,
    renderTopContent
  } = _ref2;
  const [selectedItems] = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(initiallySelected);
  const [{
    search
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useListModel)();
  const {
    result: listItems,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.useListQuery)({
    items,
    searchFields: SEARCH_FIELDS
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_9__["default"], {
    title: dialogTitle || translate(dialogTitleNlsKey),
    maxWidth: "md",
    fixedHeight: true,
    closeDialog: closeDialog
  }, !isLoading ? /*#__PURE__*/React.createElement(React.Fragment, null, renderTopContent ? renderTopContent() : null, showList ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListView, {
    search: search,
    size: size,
    nlsBundles: nlsBundles,
    status: listStatus
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListActions, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListSearch, null)), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.List, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListHeader, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListHeaderItemSort, {
    xs: 11,
    sortBy: "title",
    text: translate('titleSortLabel')
  })), listItems.map(item => {
    const {
      id,
      title,
      description
    } = item;
    return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItem, {
      key: id
    }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemText, {
      xs: 11,
      primary: title,
      secondary: description
    }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListItemAction, null, /*#__PURE__*/React.createElement(SelectButton, {
      selectedNlsKey: selectedNlsKey,
      selectNlsKey: selectNlsKey,
      isSelected: selectedItems.includes(id),
      action: selectAction,
      actionParams: _objectSpread({
        translate,
        closeSelectDialog: closeDialog,
        item
      }, actionParams)
    })));
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListPagination, null)) : null) : /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_15__["default"], null));
};
ItemSelectDialog.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  titleNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  initiallySelected: prop_types__WEBPACK_IMPORTED_MODULE_8___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_8___default().string)),
  isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().bool),
  showList: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().bool),
  renderTopContent: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().func),
  items: prop_types__WEBPACK_IMPORTED_MODULE_8___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({
    title: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string).isRequired,
    description: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string)
  })),
  selectAction: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({}),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({}),
  listStatus: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  selectNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  selectedNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProvider)(ItemSelectDialog, () => ({
  sort: {
    field: 'title',
    order: 'asc'
  }
})));

/***/ },

/***/ "./modules/commons/components/dialogs/ItemSelectDialog/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/dialogs/ItemSelectDialog/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ItemSelectDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ItemSelectDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ItemSelectDialog */ "./modules/commons/components/dialogs/ItemSelectDialog/ItemSelectDialog.js");


/***/ },

/***/ "./modules/commons/components/dialogs/LockEntryDialog/LockEntryDialog.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/dialogs/LockEntryDialog/LockEntryDialog.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");









const defaultOnChange = () => {};
const LockEntryDialog = _ref => {
  let {
    onChange = defaultOnChange,
    closeDialog
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_7__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)([(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_5___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default())]);
  const {
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__["default"])();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_4__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    runAsync((0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.lockOrUnlockEntry)(entry, (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.isLocked)(entry) ? '' : commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.RDF_STATUS_LOCKED).then(onChange).then(closeDialog));
  }, [translate, runAsync, entry, onChange, closeDialog]);
  return null;
};
LockEntryDialog.propTypes = {
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LockEntryDialog);

/***/ },

/***/ "./modules/commons/components/dialogs/create/CreateEntityDialog/CreateEntityDialog.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/CreateEntityDialog/CreateEntityDialog.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntryByLinkOrFile */ "./modules/commons/components/dialogs/create/CreateEntryByLinkOrFile/index.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useUniqueURIScope */ "./modules/commons/hooks/useUniqueURIScope.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_types_EntityType__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/types/EntityType */ "./modules/commons/types/EntityType.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















/**
 * Explicitly sets the ACL of an entityType entry so that it's not public by default
 *
 * @param {Entry} entry
 * @param {Context} context
 * @param {object} entityTypeConfig
 * @returns {Promise}
 */
const setEntititypeEntryNonPublic = async (entry, context, entityTypeConfig) => {
  const publishable = entityTypeConfig.publishControl === true;
  if (!publishable) return;
  const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.getGroupWithHomeContext)(context);
  const entryInformation = entry.getEntryInfo();
  const accessControl = entryInformation.getACL(true);
  accessControl.admin.push(groupEntry.getId());
  entryInformation.setACL(accessControl);
  return entryInformation.commit();
};
const CreateEntityDialog = _ref => {
  let {
    closeDialog,
    actionParams = {},
    upgradeLink = '',
    onCreate = () => {},
    getFilterPredicates = commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_14__.getCompositionFilterPredicatesFromRelations
  } = _ref;
  const {
    entityType,
    afterCreateEntry,
    context,
    contextName,
    rdfType,
    label,
    nlsBundles
  } = actionParams;
  // TODO https://metasolutions.atlassian.net/browse/ES-2827
  // only use entity type instance eventually
  const entityTypeConfig = entityType instanceof _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_15__.EntityType ? entityType.get() : entityType;
  const initialEntityType = entityType instanceof _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_15__.EntityType ? entityType : commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__["default"].getByName(entityTypeConfig.name);
  const {
    setIsURIUnique
  } = (0,commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_11__.useUniqueURIScopeContext)();
  const hasUniqueURIScope = Boolean(entityTypeConfig === null || entityTypeConfig === void 0 ? void 0 : entityTypeConfig.uniqueURIScope);
  const hasUriPattern = entityTypeConfig ? (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.shouldUseUriPattern)(entityTypeConfig) : false;
  const uriPattern = hasUriPattern && entityTypeConfig.uriPattern || '';
  const entityTypeUriPatternBase = hasUriPattern && (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.constructURIFromPattern)(uriPattern, {
    contextName
  });
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)(nlsBundles);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__.useSnackbar)();
  const selectorType = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => {
    const {
      includeFile = false,
      includeLink = false,
      includeInternal = false
    } = entityTypeConfig;
    if (!includeFile && !includeLink && !includeInternal) {
      throw Error('Cannot create entity that is nothing (not file, not link, not internal URI), ' + 'something is wrong in the configuration');
    }
    let selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.LINK_AND_FILE;
    if (!includeFile) selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.ONLY_LINK;
    if (includeFile && !includeLink && !includeInternal) selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.ONLY_FILE;
    if (!includeLink && includeInternal) selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.INTERNAL_LINK; // Only internal option, no link
    if (includeLink && hasUriPattern) selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.PATTERNED_LINK;
    if (upgradeLink) selector = commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.UPGRADE_LINK;
    return selector;
  }, [entityTypeConfig, hasUriPattern, upgradeLink]);
  const prototypeEntry = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.createPrototypeEntry)({
    context,
    contextName,
    entityType: entityTypeConfig,
    rdfType
  }), [context, contextName, entityTypeConfig, rdfType]);
  const handleCreateEntry = async (entry, graph, _currentContext, createEntryParams) => {
    const {
      selectedEntityType,
      isEntityTypeModified
    } = createEntryParams;
    const persistChosenEntityType = newEntry => isEntityTypeModified && newEntry !== entry ? (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.saveEntryByEntityType)(newEntry, selectedEntityType) : Promise.resolve();
    try {
      const isContextPrototype = Boolean(context === null || context === void 0 ? void 0 : context.getInitialEntries);
      const isInputLink = selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.ONLY_LINK || selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.PATTERNED_LINK || selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.UPGRADE_LINK || selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.LINK_AND_FILE && createEntryParams.isLink;
      let newEntry;
      // for example creating a publisher inline before context is available
      if (selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.INTERNAL_LINK && isContextPrototype) {
        entry.setMetadata(graph);
        newEntry = entry;
      } else if (!isInputLink) {
        const createParams = _objectSpread({
          context,
          graph,
          prototypeEntry: entry
        }, createEntryParams);
        newEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.createEntityTypeEntryFromFile)(createParams);
      } else {
        const createParams = _objectSpread({
          context,
          prototypeEntry: entry,
          graph
        }, createEntryParams);
        if (selectorType === commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_10__.UPGRADE_LINK) {
          newEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.createEntityTypeEntryFromLink)(createParams);
          await persistChosenEntityType(newEntry);
          await setEntititypeEntryNonPublic(newEntry, context, entityTypeConfig);
          onCreate(newEntry);
          return newEntry;
        }
        let isValidLink = true;
        if (hasUniqueURIScope) {
          isValidLink = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.checkURIUniquenessScope)(entityTypeConfig.uniqueURIScope, createEntryParams.link, context, entityTypeConfig.rdfType);
          setIsURIUnique(isValidLink);
        }
        if (!isValidLink) throw new Error('URL not available');
        newEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.createEntityTypeEntryFromLink)(_objectSpread({
          uriPattern
        }, createParams));
      }
      await persistChosenEntityType(newEntry);
      await setEntititypeEntryNonPublic(newEntry, context, entityTypeConfig);
      onCreate(newEntry);
      addSnackbar({
        message: translate('createEntityTypeSuccess')
      });
      return newEntry;
    } catch (error) {
      addSnackbar({
        message: translate('createEntityTypeFail'),
        type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_18__.ERROR
      });
      throw Error(error);
    }
  };
  const filterPredicates = getFilterPredicates && entityType instanceof _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_15__.EntityType ? getFilterPredicates(entityType) : undefined;
  return prototypeEntry ? /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_9__["default"], {
    label: label,
    entry: prototypeEntry,
    closeDialog: closeDialog,
    createEntry: handleCreateEntry,
    afterCreateEntry: afterCreateEntry,
    formTemplateId: initialEntityType ? undefined : entityTypeConfig.template,
    editorLevel: entityTypeConfig.templateLevel || commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__.LEVEL_MANDATORY,
    selectorType: selectorType,
    entityTypeUriPatternBase: entityTypeUriPatternBase,
    entityType: entityTypeConfig,
    initialEntityType: initialEntityType,
    upgradeLink: upgradeLink,
    filterPredicates: filterPredicates
  }) : null;
};
CreateEntityDialog.propTypes = {
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    entityType: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([commons_types_EntityType__WEBPACK_IMPORTED_MODULE_13__.entityTypePropType, prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})]),
    afterCreateEntry: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    context: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
    contextName: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    rdfType: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    label: prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_5___default().string), prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})]),
    nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.nlsBundlesPropType
  }),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  upgradeLink: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  getFilterPredicates: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_11__.withURIScopeContextProvider)(CreateEntityDialog));

/***/ },

/***/ "./modules/commons/components/dialogs/create/CreateEntityDialog/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/CreateEntityDialog/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateEntityDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateEntityDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateEntityDialog */ "./modules/commons/components/dialogs/create/CreateEntityDialog/CreateEntityDialog.js");


/***/ },

/***/ "./modules/commons/components/dialogs/create/CreateEntryByLinkOrFile/CreateEntryByLinkOrFile.js"
/*!******************************************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/CreateEntryByLinkOrFile/CreateEntryByLinkOrFile.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/rdforms/hooks/useLevelProfile */ "./modules/commons/components/rdforms/hooks/useLevelProfile.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_components_rdforms_FormControls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/rdforms/FormControls */ "./modules/commons/components/rdforms/FormControls/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/rdforms/RdformsDialogFormWrapper */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/common/dialogs/DialogTwoColumnLayout */ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline */ "./modules/commons/components/rdforms/RdformsOutline/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch */ "./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsValidation */ "./modules/commons/components/rdforms/hooks/useRDFormsValidation.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_hooks_useAssignDraft__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/hooks/useAssignDraft */ "./modules/commons/hooks/useAssignDraft.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _handlers__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var _PatternedLinkField__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../PatternedLinkField */ "./modules/commons/components/dialogs/create/PatternedLinkField/index.js");
/* harmony import */ var _LinkField__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../LinkField */ "./modules/commons/components/dialogs/create/LinkField/index.js");
/* harmony import */ var _UpgradeLinkField__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../UpgradeLinkField */ "./modules/commons/components/dialogs/create/UpgradeLinkField/index.js");
/* harmony import */ var _FileField__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../FileField */ "./modules/commons/components/dialogs/create/FileField/index.js");
/* harmony import */ var _LinkOrFileTabs__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../LinkOrFileTabs */ "./modules/commons/components/dialogs/create/LinkOrFileTabs/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






































const NLS_BUNDLES = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8___default()), (commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11___default())];
const CreateEntryByLinkOrFile = _ref => {
  let {
    entry,
    closeDialog,
    nlsBundles = NLS_BUNDLES,
    // dynamic props - to be set per edit dialog
    formTemplateId,
    createEntry,
    afterCreateEntry,
    editorLevel = commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_14__.LEVEL_MANDATORY,
    selectorType,
    entityType,
    initialEntityType,
    upgradeLink,
    label,
    createErrorNls = 'createFail',
    LinkField = _LinkField__WEBPACK_IMPORTED_MODULE_34__["default"],
    filterPredicates
  } = _ref;
  const {
    level,
    setLevel,
    editor,
    EditorComponent,
    graph,
    templateId,
    setButtonDisabled,
    selectedEntityType,
    onChangeEntityType,
    isEntityTypeModified
  } = (0,_handlers__WEBPACK_IMPORTED_MODULE_32__.useCreateEntryState)({
    entry,
    formTemplateId,
    editorLevel,
    filterPredicates,
    initialEntityType
  });
  const disabledLevels = (0,commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_13__["default"])(templateId);
  const context = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_20__.getESContext)();
  const [createEntryParams, setCreateEntryParams] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)({});
  const [extraFieldIsValid, setExtraFieldIsValid] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(nlsBundles);
  const confirmClose = (0,_handlers__WEBPACK_IMPORTED_MODULE_32__.useConfirmCloseAction)(closeDialog);
  const {
    runAsync: runSaveChanges,
    status,
    error: createError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__["default"])();
  const outlineSearchProps = (0,commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_24__["default"])();
  const {
    clearSearch: clearOutlineSearch
  } = outlineSearchProps;
  const {
    checkFormErrors,
    formErrorMessage,
    setFormErrorMessage,
    formErrors
  } = (0,commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_26__.useRDFormsValidation)({
    editor,
    onError: clearOutlineSearch
  });
  const actualLabel = label || (entityType === null || entityType === void 0 ? void 0 : entityType.label);
  const {
    checkCanDraft,
    applyDraftChanges
  } = (0,commons_hooks_useAssignDraft__WEBPACK_IMPORTED_MODULE_29__["default"])(true);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (graph) {
      graph.onChange = () => {
        setFormErrorMessage(null);
        setButtonDisabled(false);
      };
    }
  }, [graph, setFormErrorMessage, setButtonDisabled]);
  const handleSaveForm = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(async () => {
    const errors = checkFormErrors();
    const hasExtraField = selectorType !== _handlers__WEBPACK_IMPORTED_MODULE_32__.INTERNAL_LINK;
    const extraFieldIsEmpty = !(createEntryParams.link || createEntryParams.file);
    const extraFieldHasError = hasExtraField && (extraFieldIsEmpty || !extraFieldIsEmpty && !extraFieldIsValid);
    if (extraFieldHasError) return;
    const extraErrorCode = !extraFieldHasError ? '' : 'invalid';
    const extraError = {
      code: extraFieldIsEmpty ? 'min' : extraErrorCode
    };
    const errorsToCheck = !extraFieldHasError ? errors : [...errors, extraError];
    const entityTypeInstance = entityType && commons_types_Lookup__WEBPACK_IMPORTED_MODULE_31__["default"].getByName(entityType.name);
    const isPublic = await entry.isPublic();
    const canDraft = await checkCanDraft(errorsToCheck, entityTypeInstance, Boolean((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_30__.getLabel)(graph)), isPublic);
    if (!canDraft) return;
    const afterMetadataUpdate = event => afterCreateEntry ? afterCreateEntry(event) : Promise.resolve();
    const saveChanges = async () => {
      return createEntry(entry, graph, context, _objectSpread(_objectSpread({}, createEntryParams), {}, {
        selectedEntityType,
        isEntityTypeModified
      })).catch(error => {
        throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_28__.ErrorWithMessage(translate(createErrorNls), error);
      });
    };
    runSaveChanges(applyDraftChanges(entry).then(saveChanges).then(afterMetadataUpdate).then(closeDialog));
  }, [entry, context, graph, afterCreateEntry, createEntry, createEntryParams, extraFieldIsValid, closeDialog, runSaveChanges, translate, createErrorNls, checkCanDraft, checkFormErrors, applyDraftChanges, selectorType, entityType, selectedEntityType, isEntityTypeModified]);
  const handleCloseAction = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    const changeCondition = graph.isChanged() || createEntryParams.link;
    confirmClose(changeCondition);
  }, [graph, confirmClose, createEntryParams]);
  const createButtonDisabled = selectorType === _handlers__WEBPACK_IMPORTED_MODULE_32__.INTERNAL_LINK ? false : !extraFieldIsValid;
  const dialogActions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_25__["default"], {
    onClick: handleSaveForm,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__.PENDING,
    disabled: createButtonDisabled
  }, translate('createButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_16__["default"], {
    id: "create-entry",
    title: translate('createHeader', (0,commons_locale__WEBPACK_IMPORTED_MODULE_19__.localize)(actualLabel)),
    actions: dialogActions,
    closeDialog: handleCloseAction,
    alert: formErrorMessage ? {
      message: formErrorMessage,
      setMessage: setFormErrorMessage
    } : undefined
  }, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_22__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_22__.SecondaryColumn, null, editor ? /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_23__["default"], {
    editor: editor,
    root: "create-entry",
    errors: formErrors,
    searchProps: outlineSearchProps
  }) : null), /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_22__.PrimaryColumn, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_18__.RdformsDialogFormWrapper, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_18__.RdformsStickyDialogContent, null, /*#__PURE__*/React.createElement(commons_components_rdforms_FormControls__WEBPACK_IMPORTED_MODULE_15__["default"], {
    entry: entry,
    level: level,
    onUpdateLevel: setLevel,
    disabledLevels: disabledLevels,
    formTemplateId: formTemplateId,
    selectedEntityType: selectedEntityType,
    onChangeEntityType: onChangeEntityType
  })), /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_18__.RdformsDialogContent, null, selectorType === _handlers__WEBPACK_IMPORTED_MODULE_32__.LINK_AND_FILE ? /*#__PURE__*/React.createElement(_LinkOrFileTabs__WEBPACK_IMPORTED_MODULE_37__["default"], {
    setCreateEntryParams: setCreateEntryParams,
    setExtraFieldIsValid: setExtraFieldIsValid,
    uniqueURI: Boolean(entityType === null || entityType === void 0 ? void 0 : entityType.uniqueURIScope)
  }) : null, selectorType === _handlers__WEBPACK_IMPORTED_MODULE_32__.ONLY_FILE ? /*#__PURE__*/React.createElement(_FileField__WEBPACK_IMPORTED_MODULE_36__["default"], {
    setCreateEntryParams: setCreateEntryParams,
    setExtraFieldIsValid: setExtraFieldIsValid
  }) : null, selectorType === _handlers__WEBPACK_IMPORTED_MODULE_32__.ONLY_LINK ? /*#__PURE__*/React.createElement(LinkField, {
    setCreateEntryParams: setCreateEntryParams,
    setExtraFieldIsValid: setExtraFieldIsValid,
    upgradeLink: upgradeLink
  }) : null, selectorType === _handlers__WEBPACK_IMPORTED_MODULE_32__.INTERNAL_LINK ? /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_17__["default"], {
    label: translate('webAddressLabel'),
    editor: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    gutterBottom: true // margin should be on RDFormsFieldWrapper
  }, translate('internalLinkLabel'))) : null, selectorType === _handlers__WEBPACK_IMPORTED_MODULE_32__.UPGRADE_LINK ? /*#__PURE__*/React.createElement(_UpgradeLinkField__WEBPACK_IMPORTED_MODULE_35__["default"], {
    link: upgradeLink,
    setCreateEntryParams: setCreateEntryParams,
    setExtraFieldIsValid: setExtraFieldIsValid
  }) : null, selectorType === _handlers__WEBPACK_IMPORTED_MODULE_32__.PATTERNED_LINK ? /*#__PURE__*/React.createElement(_PatternedLinkField__WEBPACK_IMPORTED_MODULE_33__["default"], {
    entityType: entityType,
    setCreateEntryParams: setCreateEntryParams,
    setExtraFieldIsValid: setExtraFieldIsValid
  }) : null, editor ? /*#__PURE__*/React.createElement(EditorComponent, null) : null))))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_27__.ErrorCatcher, {
    error: createError
  }));
};
CreateEntryByLinkOrFile.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsBundlesPropType,
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  createEntry: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  afterCreateEntry: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  editorLevel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  selectorType: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  entityType: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    label: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
      en: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
      sv: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
      de: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
    }),
    uniqueURIScope: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    draftsEnabled: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
    name: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
  }),
  initialEntityType: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    getId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
  }),
  upgradeLink: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  label: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsPropType,
  createErrorNls: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  LinkField: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  filterPredicates: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateEntryByLinkOrFile);

/***/ },

/***/ "./modules/commons/components/dialogs/create/CreateEntryByLinkOrFile/index.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/CreateEntryByLinkOrFile/index.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateEntryByLinkOrFile */ "./modules/commons/components/dialogs/create/CreateEntryByLinkOrFile/CreateEntryByLinkOrFile.js");


/***/ },

/***/ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/CreateEntryByTemplateDialog.js"
/*!**************************************************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/CreateEntryByTemplateDialog.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroup.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/rdforms/hooks/useLevelProfile */ "./modules/commons/components/rdforms/hooks/useLevelProfile.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_components_rdforms_FormControls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/rdforms/FormControls */ "./modules/commons/components/rdforms/FormControls/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/rdforms/RdformsDialogFormWrapper */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/dialogs/DialogTwoColumnLayout */ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline */ "./modules/commons/components/rdforms/RdformsOutline/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch */ "./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsValidation */ "./modules/commons/components/rdforms/hooks/useRDFormsValidation.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useAssignDraft__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useAssignDraft */ "./modules/commons/hooks/useAssignDraft.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _handlers__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




























const CreateEntryByTemplateDialog = _ref => {
  let {
    // fixed props - passed by (list) SecondaryActions
    entry,
    closeDialog,
    nlsBundles = [],
    // dynamic props - to be set per edit dialog
    formTemplateId,
    createEntry = commons_util_entry__WEBPACK_IMPORTED_MODULE_24__.commitMetadata,
    onEntryEdit,
    editorLevel = commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_13__.LEVEL_MANDATORY,
    createHeaderLabel = null,
    createButtonLabel = null,
    onCreate = createdEntry => Promise.resolve(createdEntry),
    createErrorNls = 'createFail',
    afterCreateEntry = () => {}
  } = _ref;
  const outlineSearchProps = (0,commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_19__["default"])();
  const {
    clearSearch: clearOutlineSearch
  } = outlineSearchProps;
  const {
    level,
    setLevel,
    editor,
    EditorComponent,
    graph,
    setButtonDisabled,
    selectedEntityType,
    onChangeEntityType,
    templateId
  } = (0,_handlers__WEBPACK_IMPORTED_MODULE_27__.useCreateEntryState)({
    entry,
    formTemplateId,
    editorLevel
  });
  const {
    checkFormErrors,
    formErrorMessage,
    setFormErrorMessage,
    formErrors
  } = (0,commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_21__.useRDFormsValidation)({
    editor,
    onError: clearOutlineSearch
  });
  const disabledLevels = (0,commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_12__["default"])(templateId);
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_11__.useESContext)();
  const confirmClose = (0,_handlers__WEBPACK_IMPORTED_MODULE_27__.useConfirmCloseAction)(closeDialog);
  const bundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default()), (commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8___default()), ...nlsBundles];
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(bundles);
  const {
    runAsync: runSaveChanges,
    status,
    error: createError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const {
    checkCanDraft,
    applyDraftChanges
  } = (0,commons_hooks_useAssignDraft__WEBPACK_IMPORTED_MODULE_25__["default"])(true);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (graph) {
      graph.onChange = () => {
        setFormErrorMessage(null);
        setButtonDisabled(false);
      };
    }
  }, [graph, setFormErrorMessage, setButtonDisabled]);
  const handleSaveForm = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async () => {
    const errors = checkFormErrors();
    const isPublic = await entry.isPublic();
    const canDraft = await checkCanDraft(errors, selectedEntityType, Boolean((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_26__.getLabel)(graph)), isPublic);
    if (!canDraft) return;
    const afterMetadataUpdate = updatedEntry => onEntryEdit ? onEntryEdit(updatedEntry) : Promise.resolve(updatedEntry);
    const saveChanges = async () => {
      return createEntry(entry, graph, context).catch(error => {
        throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_23__.ErrorWithMessage(translate(createErrorNls), error);
      });
    };
    runSaveChanges(applyDraftChanges(entry).then(saveChanges).then(afterMetadataUpdate).then(onCreate).then(afterCreateEntry).then(closeDialog));
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [entry, context, graph, onEntryEdit, createEntry, closeDialog, onCreate, checkFormErrors, runSaveChanges, translate, createErrorNls]);
  const handleCloseAction = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    const changeCondition = graph.isChanged();
    confirmClose(changeCondition);
  }, [confirmClose, graph]);
  const title = createHeaderLabel || translate('createHeader');
  const dialogActions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    disableElevation: true,
    variant: "contained"
  }, /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__["default"], {
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__.PENDING,
    onClick: handleSaveForm
  }, createButtonLabel || translate('createButton')));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_15__["default"], {
    id: "create-entry",
    title: title,
    actions: dialogActions,
    closeDialog: handleCloseAction,
    alert: formErrorMessage ? {
      message: formErrorMessage,
      setMessage: setFormErrorMessage
    } : undefined
  }, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__.SecondaryColumn, null, editor ? /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_18__["default"], {
    editor: editor,
    root: "create-entry",
    errors: formErrors,
    searchProps: outlineSearchProps
  }) : null), /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_17__.PrimaryColumn, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_16__.RdformsDialogFormWrapper, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_16__.RdformsStickyDialogContent, null, /*#__PURE__*/React.createElement(commons_components_rdforms_FormControls__WEBPACK_IMPORTED_MODULE_14__["default"], {
    entry: entry,
    level: level,
    onUpdateLevel: setLevel,
    disabledLevels: disabledLevels,
    formTemplateId: formTemplateId,
    selectedEntityType: selectedEntityType,
    onChangeEntityType: onChangeEntityType
  })), /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_16__.RdformsDialogContent, null, editor && /*#__PURE__*/React.createElement(EditorComponent, null)))))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_22__.ErrorCatcher, {
    error: createError
  }));
};
CreateEntryByTemplateDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.nlsBundlesPropType,
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  createEntry: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onEntryEdit: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onCreate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  editorLevel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  createHeaderLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  createButtonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  createErrorNls: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  afterCreateEntry: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateEntryByTemplateDialog);

/***/ },

/***/ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/index.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateEntryByTemplateDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateEntryByTemplateDialog */ "./modules/commons/components/dialogs/create/CreateEntryByTemplateDialog/CreateEntryByTemplateDialog.js");


/***/ },

/***/ "./modules/commons/components/dialogs/create/FileField/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/FileField/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");
/* harmony import */ var commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/FileUpload */ "./modules/commons/components/common/FileUpload/index.js");
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_6__);







const FileField = _ref => {
  let {
    setCreateEntryParams,
    setExtraFieldIsValid
  } = _ref;
  const {
    file,
    handleFileChange
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_2__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const onFileChange = inputEl => {
    handleFileChange(inputEl);
    setExtraFieldIsValid(!!inputEl);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (file) {
      setCreateEntryParams({
        file
      });
    }
  }, [file, setCreateEntryParams]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_4__["default"], {
    label: translate('fileLabel'),
    editor: true
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_3__["default"], {
    file: file,
    onSelectFile: onFileChange
  }));
};
FileField.propTypes = {
  setCreateEntryParams: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  setExtraFieldIsValid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FileField);

/***/ },

/***/ "./modules/commons/components/dialogs/create/LinkField/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/LinkField/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const Link = _ref => {
  let {
    setCreateEntryParams,
    setExtraFieldIsValid
  } = _ref;
  const {
    link,
    setLink
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(true);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const labelId = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_10__.useUniqueId)('image-link-');
  const linkIsValid = link && (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.isUri)(link);
  const handleLinkChange = _ref2 => {
    let {
      target
    } = _ref2;
    setPristine(false);
    const {
      value: newLink
    } = target;
    setLink(newLink);
    setCreateEntryParams({
      link: newLink
    });
    setExtraFieldIsValid(newLink && (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.isUri)(newLink));
  };
  const getHelperText = () => {
    if (!pristine) {
      if (!link) {
        return t('linkRequired');
      }
      if (!(0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.isUri)(link)) {
        return t('linkNotValid');
      }
    }
    return '';
  };
  return /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_7__["default"], {
    label: t('webAddressLabel'),
    editor: true,
    labelProps: {
      htmlFor: labelId
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    value: link,
    onChange: handleLinkChange,
    error: !pristine && !linkIsValid,
    helperText: getHelperText(),
    id: labelId
  }));
};
Link.propTypes = {
  setCreateEntryParams: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  setExtraFieldIsValid: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Link);

/***/ },

/***/ "./modules/commons/components/dialogs/create/LinkOrFileTabs/index.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/LinkOrFileTabs/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_entry_Import__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/entry/Import */ "./modules/commons/components/entry/Import/index.js");
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");




const CreateEntryByTemplate = _ref => {
  let {
    setCreateEntryParams,
    setExtraFieldIsValid,
    uniqueURI = false,
    allowFileURI = false
  } = _ref;
  const {
    link,
    file,
    handleLinkChange,
    handleFileChange,
    handleTabChange,
    linkIsValid,
    buttonEnabled,
    isLink
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_3__["default"])({
    allowFileURI
  });
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (!link && !file) {
      setCreateEntryParams({
        isLink
      });
    }
    if (link && isLink) {
      setCreateEntryParams({
        link,
        isLink
      });
    }
    if (file && !isLink) {
      setCreateEntryParams({
        file,
        isLink
      });
    }
    setExtraFieldIsValid(buttonEnabled);
  }, [link, file, isLink, setExtraFieldIsValid, buttonEnabled, setCreateEntryParams]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(commons_components_entry_Import__WEBPACK_IMPORTED_MODULE_2__["default"], {
    link: link,
    file: file,
    handleLinkChange: handleLinkChange,
    handleFileChange: handleFileChange,
    validURI: linkIsValid,
    handleTabChange: handleTabChange,
    uniqueURI: uniqueURI
  });
};
CreateEntryByTemplate.propTypes = {
  setCreateEntryParams: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  setExtraFieldIsValid: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  uniqueURI: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  allowFileURI: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateEntryByTemplate);

/***/ },

/***/ "./modules/commons/components/dialogs/create/PatternedLinkField/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/PatternedLinkField/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useEntityTitleAndURI */ "./modules/commons/hooks/useEntityTitleAndURI.js");
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const PatternedLink = _ref => {
  let {
    entityType,
    setCreateEntryParams,
    setExtraFieldIsValid
  } = _ref;
  const {
    context,
    contextName
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true);
  const hasUriPattern = entityType ? (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.shouldUseUriPattern)(entityType) : false;
  const uriPattern = hasUriPattern && entityType.uriPattern || '';
  const entityTypeUriPatternBase = hasUriPattern && (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.constructURIFromPattern)(uriPattern, {
    contextName
  });
  const {
    name,
    updateName,
    isNameFree
  } = (0,commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_7__.useEntityURI)({
    context,
    contextName,
    uriPattern
  });
  const nameIsValid = !!name && isNameFree;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const labelId = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_12__.useUniqueId)('image-link-');
  const handleUpdateURI = evt => {
    const newName = evt.target.value;
    setPristine(false);
    updateName(newName);

    // update parent with the right params to create an entry, i.e `link`
    setCreateEntryParams({
      link: (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.constructURIFromPattern)(uriPattern, {
        contextName,
        entryName: newName
      })
    });
  };
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    setExtraFieldIsValid(nameIsValid);
  }, [name, isNameFree, setExtraFieldIsValid, nameIsValid]);
  const getHelperText = () => {
    if (!pristine) {
      if (!name) {
        return t('linkRequired');
      }
      if (!isNameFree) {
        return t('linkPatternUnavailableURL');
      }
    }
    return '';
  };
  return /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_8__["default"], {
    label: t('webAddressLabel'),
    editor: true,
    labelProps: {
      htmlFor: labelId
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    id: labelId,
    value: name,
    onChange: handleUpdateURI,
    error: !pristine && !nameIsValid,
    helperText: getHelperText(),
    slotProps: {
      input: {
        startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
          position: "start"
        }, entityTypeUriPatternBase)
      }
    }
  }));
};
PatternedLink.propTypes = {
  entityType: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    uriPattern: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
  }),
  setCreateEntryParams: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  setExtraFieldIsValid: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PatternedLink);

/***/ },

/***/ "./modules/commons/components/dialogs/create/UpgradeLinkField/UpgradeLinkField.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/UpgradeLinkField/UpgradeLinkField.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_5__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const UpgradeLinkField = _ref => {
  let {
    link,
    setCreateEntryParams,
    setExtraFieldIsValid
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    setCreateEntryParams({
      link
    });
    setExtraFieldIsValid(true); // link is automatically generated, can assume it's valid
  }, [link, setCreateEntryParams, setExtraFieldIsValid]);
  return /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_3__["default"], {
    label: translate('webAddressLabel'),
    editor: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    value: link,
    disabled: true
  }));
};
UpgradeLinkField.propTypes = {
  link: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  setCreateEntryParams: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  setExtraFieldIsValid: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UpgradeLinkField);

/***/ },

/***/ "./modules/commons/components/dialogs/create/UpgradeLinkField/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/UpgradeLinkField/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UpgradeLinkField__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UpgradeLinkField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UpgradeLinkField */ "./modules/commons/components/dialogs/create/UpgradeLinkField/UpgradeLinkField.js");


/***/ },

/***/ "./modules/commons/components/dialogs/create/handlers.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/dialogs/create/handlers.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   INTERNAL_LINK: () => (/* binding */ INTERNAL_LINK),
/* harmony export */   LINK_AND_FILE: () => (/* binding */ LINK_AND_FILE),
/* harmony export */   ONLY_FILE: () => (/* binding */ ONLY_FILE),
/* harmony export */   ONLY_LINK: () => (/* binding */ ONLY_LINK),
/* harmony export */   PATTERNED_LINK: () => (/* binding */ PATTERNED_LINK),
/* harmony export */   UPGRADE_LINK: () => (/* binding */ UPGRADE_LINK),
/* harmony export */   useConfirmCloseAction: () => (/* binding */ useConfirmCloseAction),
/* harmony export */   useCreateEntryState: () => (/* binding */ useCreateEntryState),
/* harmony export */   useEntityTypeContext: () => (/* binding */ useEntityTypeContext)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsEditor */ "./modules/commons/components/rdforms/hooks/useRDFormsEditor.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
















// variations for creation of entitytypes
const ONLY_LINK = 'link'; // link should be provided
const ONLY_FILE = 'file'; // file should be provided
const INTERNAL_LINK = 'internal-link'; // a link will be created for you
const PATTERNED_LINK = 'patterned-link'; // link should be provided based on a pattern
const LINK_AND_FILE = 'link-file'; // you can choose between link or file
const UPGRADE_LINK = 'upgrade-link'; // via upgrade entry

const useCreateEntryState = _ref => {
  var _ref2;
  let {
    entry,
    formTemplateId = '',
    editorLevel = commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_10__.LEVEL_MANDATORY,
    filterPredicates,
    initialEntityType = null
  } = _ref;
  const [selectedEntityTypeOverride, setSelectedEntityTypeOverride] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const [levelOverride, setLevelOverride] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const {
    data: loadedEntityType,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_14__["default"])({
    data: initialEntityType
  });
  const selectedEntityType = selectedEntityTypeOverride !== null && selectedEntityTypeOverride !== void 0 ? selectedEntityTypeOverride : loadedEntityType;
  const isEntityTypeModified = Boolean(selectedEntityTypeOverride);
  const level = (_ref2 = levelOverride !== null && levelOverride !== void 0 ? levelOverride : loadedEntityType === null || loadedEntityType === void 0 ? void 0 : loadedEntityType.templateLevel()) !== null && _ref2 !== void 0 ? _ref2 : editorLevel;
  const templateId = formTemplateId || (selectedEntityType === null || selectedEntityType === void 0 ? void 0 : selectedEntityType.templateId());
  const {
    editor,
    EditorComponent,
    graph
  } = (0,commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_11__["default"])({
    entry,
    templateId,
    includeLevel: level,
    filterPredicates
  });
  const [buttonDisabled, setButtonDisabled] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (formTemplateId || initialEntityType) return;
    runAsync(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__["default"].inUse(entry));
  }, [entry, formTemplateId, initialEntityType, runAsync]);
  const onChangeEntityType = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async newEntityType => {
    if (newEntityType.getId() === (selectedEntityType === null || selectedEntityType === void 0 ? void 0 : selectedEntityType.getId())) return;
    setSelectedEntityTypeOverride(newEntityType);
    setButtonDisabled(false);
    try {
      await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.changeEntryEntityType)(entry, newEntityType);
    } catch (error) {
      console.error(`Could not update entity type for entry: ${error}`);
    }
  }, [selectedEntityType, entry]);
  return {
    templateId,
    level,
    setLevel: setLevelOverride,
    editor,
    EditorComponent,
    graph,
    isEntityTypeModified,
    selectedEntityType,
    onChangeEntityType,
    buttonDisabled,
    setButtonDisabled
  };
};

/**
 * Convenience hook to simplify to get to the most accurate context for a specific entitytype.
 *
 * @param {object} entityType
 * @returns {object}
 */
const useEntityTypeContext = entityType => {
  const fromContext = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_7__.useESContext)();
  return entityType.context ? {
    context: commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.getContextById(entityType.context)
  } : fromContext;
};

/**
 * Hook that creates an action handler using main dialog
 * stating if the user wants to keep editting or close the dialog
 * if form has changes.
 */

const useConfirmCloseAction = closeDialog => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const {
    openMainDialog: openConfirmationDialog,
    closeMainDialog: closeConfirmationDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_13__.useMainDialog)();
  const confirmCloseAction = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(hasFormChanged => {
    if (!hasFormChanged) {
      closeDialog();
      return;
    }
    const handleConfirm = () => {
      closeConfirmationDialog();
      closeDialog();
    };
    const actionsNode = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      onClick: handleConfirm,
      color: "primary",
      variant: "text"
    }, translate('discardMetadataChanges')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      onClick: closeConfirmationDialog,
      color: "primary"
    }, translate('keepMetadataChanges')));
    openConfirmationDialog({
      content: translate('discardMetadataChangesWarning'),
      actions: actionsNode
    });
  }, [closeDialog, closeConfirmationDialog, openConfirmationDialog, translate]);
  return confirmCloseAction;
};

/***/ },

/***/ "./modules/commons/components/entry/EditEntryDialog/EditEntryDialog.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/entry/EditEntryDialog/EditEntryDialog.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_components_rdforms_FormControls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/rdforms/FormControls */ "./modules/commons/components/rdforms/FormControls/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsEditor */ "./modules/commons/components/rdforms/hooks/useRDFormsEditor.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_components_rdforms_ExternalMetadataPresenter__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/rdforms/ExternalMetadataPresenter */ "./modules/commons/components/rdforms/ExternalMetadataPresenter/index.js");
/* harmony import */ var commons_components_rdforms_DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/rdforms/DatasetTemplateMetadataPresenter */ "./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/index.js");
/* harmony import */ var commons_components_rdforms_EntryChooser__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/rdforms/EntryChooser */ "./modules/commons/components/rdforms/EntryChooser/index.js");
/* harmony import */ var commons_errors_hooks_useConflictError__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/errors/hooks/useConflictError */ "./modules/commons/errors/hooks/useConflictError.js");
/* harmony import */ var commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useRdformsContext */ "./modules/commons/hooks/useRdformsContext.js");
/* harmony import */ var catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! catalog/datasetTemplates/useGetDatasetTemplateEntry */ "./modules/catalog/datasetTemplates/useGetDatasetTemplateEntry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/rdforms/hooks/useLevelProfile */ "./modules/commons/components/rdforms/hooks/useLevelProfile.js");
/* harmony import */ var commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/rdforms/RdformsDialogFormWrapper */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/common/dialogs/DialogTwoColumnLayout */ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline */ "./modules/commons/components/rdforms/RdformsOutline/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch */ "./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var commons_errors_hooks_useAddIgnore__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/errors/hooks/useAddIgnore */ "./modules/commons/errors/hooks/useAddIgnore.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsValidation */ "./modules/commons/components/rdforms/hooks/useRDFormsValidation.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







































const {
  CODES: {
    TOO_FEW_VALUES_MIN,
    AT_LEAST_ONE_CHILD
  }
} = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_6__.engine;
const NLS_BUNDLES = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default()), (commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8___default())];

// TODO nls 'yes' and 'no' and defaults
const EditEntryDialog = _ref => {
  let {
    // fixed props - passed by (list) SecondaryActions
    entry,
    parentEntry,
    closeDialog,
    onChange,
    // dynamic props - to be set per edit dialog
    formTemplateId,
    formExternalTemplateId,
    onEntryEdit,
    editorLevel = commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_12__.LEVEL_RECOMMENDED,
    entryUpdatedCallback = () => {},
    filterPredicates,
    getFilterPredicates
  } = _ref;
  const [templateId, setTemplateId] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(formTemplateId);
  const [externalTemplateId, setExternalTemplateId] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(formExternalTemplateId);
  const [selectedEntityType, setSelectedEntityType] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_38__.getDraftsEnabled)(selectedEntityType);
  const [isEntityTypeModified, setIsEntityTypeModified] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const [level, setLevel] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(editorLevel);
  const [formError, setFormError] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const [configError, setConfigError] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)();
  const [errors, setErrors] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]);
  const {
    runAsync: runSaveChanges,
    error: saveError,
    status: saveStatus
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_29__["default"])();
  const rdformsEditorFilter = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => {
    if (getFilterPredicates) return getFilterPredicates(selectedEntityType);
    return filterPredicates;
  }, [selectedEntityType, filterPredicates, getFilterPredicates]);
  const outlineSearchProps = (0,commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_28__["default"])();
  const {
    editor,
    EditorComponent,
    graph
  } = (0,commons_components_rdforms_hooks_useRDFormsEditor__WEBPACK_IMPORTED_MODULE_15__["default"])({
    entry,
    templateId,
    includeLevel: level,
    filterPredicates: rdformsEditorFilter
  });
  const disabledLevels = (0,commons_components_rdforms_hooks_useLevelProfile__WEBPACK_IMPORTED_MODULE_24__["default"])(templateId);
  const isPublicEntry = entry.isPublic();
  const [buttonDisabled, setButtonDisabled] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true);
  const getFormErrorMessage = (0,commons_components_rdforms_hooks_useRDFormsValidation__WEBPACK_IMPORTED_MODULE_34__.useFormErrorMessage)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_35__.useSnackbar)();
  const confirmCloseAction = (0,commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_16__.useConfirmCloseAction)(closeDialog);
  const confirmClose = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    confirmCloseAction(!buttonDisabled);
  }, [buttonDisabled, confirmCloseAction]);
  const {
    setRdformsContext
  } = (0,commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_21__.useRdformsContext)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(NLS_BUNDLES);
  const {
    handleConflictError
  } = (0,commons_errors_hooks_useConflictError__WEBPACK_IMPORTED_MODULE_20__["default"])({
    entry,
    closeDialog
  });
  const {
    getConfirmationDialog,
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_37__["default"])();
  (0,commons_errors_hooks_useAddIgnore__WEBPACK_IMPORTED_MODULE_31__["default"])('commitMetadata', commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_30__.CONFLICT_PROBLEM, false);
  const [datasetTemplateEntry] = (0,catalog_datasetTemplates_useGetDatasetTemplateEntry__WEBPACK_IMPORTED_MODULE_22__["default"])(entry);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    setRdformsContext(entry.getContext());
  }, [entry, setRdformsContext]);

  // in edit mode the entry is refreshed (fetched from entrystore)
  // before any edit action, so an update on the list row state is also needed
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (entryUpdatedCallback && editor && !(0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.isNewEntry)(entry)) {
      entryUpdatedCallback();
    }
  }, [editor, entry, entryUpdatedCallback]);

  // enable action button when there's a change in the metadata
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (graph) {
      graph.onChange = () => {
        setButtonDisabled(false);
        setFormError(null);
      };
    }
  }, [graph]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!formTemplateId) {
      commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].inUse(entry, parentEntry).then(entityType => {
        const template = entry.isLinkReference() ? entityType.complementaryTemplateId() : entityType.templateId();
        setTemplateId(template);
        setSelectedEntityType(entityType);
        setExternalTemplateId(entityType.externalTemplateId());
        const templateLevel = entityType.templateLevel();
        if (templateLevel) setLevel(templateLevel);
      }, error => {
        setConfigError(translate('configurationError'));
        console.error(error.message);
      });
    }
  }, [entry, parentEntry, formTemplateId, translate]);
  const onChangeEntityType = entityType => {
    setSelectedEntityType(entityType);
    setTemplateId(entityType.templateId());
    setIsEntityTypeModified(true);
    setButtonDisabled(false);
  };
  const handleSaveForm = async () => {
    const {
      errors: validationErrors
    } = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_6__.validate.bindingReport(editor.binding);
    let saveAsDraft = false;
    const hasDraftAllowedErrors = validationErrors.some(error => error.code === TOO_FEW_VALUES_MIN) && validationErrors.every(error => [TOO_FEW_VALUES_MIN, AT_LEAST_ONE_CHILD].includes(error.code));
    if (validationErrors.length > 0) {
      setFormError(getFormErrorMessage(validationErrors));
      setErrors(validationErrors);
      outlineSearchProps.clearSearch();
    }
    if (draftsEnabled && validationErrors.length > 0 && hasDraftAllowedErrors) {
      if (isPublicEntry) {
        getAcknowledgeDialog({
          content: translate('publicDraftSaveError')
        });
        return;
      }
      const proceed = await getConfirmationDialog({
        content: translate('confirmDraftSave'),
        rejectLabel: translate('no'),
        affirmLabel: translate('yes')
      });
      if (!proceed) return;
      saveAsDraft = true;
    }
    if (!saveAsDraft && validationErrors.length > 0) return;
    const updateEntityType = isEntityTypeModified ? () => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.saveEntryByEntityType)(entry, selectedEntityType) : () => Promise.resolve(); // noop

    // run after metadata has been updated
    const afterMetadataUpdate = async () => {
      await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.setEntryDraftStatus)(entry, saveAsDraft, false);
      await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.refreshEntry)(entry);
      return onEntryEdit ? onEntryEdit(entry) : Promise.resolve();
    };

    // If needed remove statements from cached external graph before saving.
    const localGraph = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_23__.getLocalMetadata)(graph, entry);
    const saveChanges = async () => {
      await entry.setMetadata(localGraph).commitMetadata().then(updateEntityType).catch(error => {
        handleConflictError(error);
        throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_33__.ErrorWithMessage(translate('saveEditsFail'), error);
      });
    };
    runSaveChanges(saveChanges().then(afterMetadataUpdate).then(entryUpdatedCallback).then(closeDialog).then(onChange).then(() => addSnackbar({
      type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_35__.SUCCESS_EDIT
    })));
  };
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_36__["default"], {
    onClick: handleSaveForm,
    loading: saveStatus === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_29__.PENDING,
    disabled: buttonDisabled
  }, translate('saveEditedEntry'));
  const getAlertProps = () => {
    if (formError) {
      return {
        message: formError,
        setMessage: setFormError
      };
    }
    if (configError) {
      return {
        message: configError
      };
    }
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_14__["default"], {
    closeDialog: confirmClose,
    id: "edit-entry-dialog",
    actions: actions,
    title: translate('editHeader'),
    alert: getAlertProps(),
    fixedHeight: true
  }, !configError ? /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_26__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_26__.SecondaryColumn, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsOutline__WEBPACK_IMPORTED_MODULE_27__["default"], {
    editor: editor,
    root: "edit-entry-dialog",
    errors: errors,
    searchProps: outlineSearchProps,
    filterPredicates: rdformsEditorFilter
  })), /*#__PURE__*/React.createElement(commons_components_common_dialogs_DialogTwoColumnLayout__WEBPACK_IMPORTED_MODULE_26__.PrimaryColumn, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_25__.RdformsDialogFormWrapper, null, /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_25__.RdformsStickyDialogContent, null, /*#__PURE__*/React.createElement(commons_components_rdforms_FormControls__WEBPACK_IMPORTED_MODULE_13__["default"], {
    entry: entry,
    level: level,
    onUpdateLevel: setLevel,
    disabledLevels: disabledLevels,
    formTemplateId: formTemplateId,
    selectedEntityType: selectedEntityType,
    onChangeEntityType: onChangeEntityType
  })), /*#__PURE__*/React.createElement(commons_components_rdforms_RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_25__.RdformsDialogContent, null, externalTemplateId && entry.isLinkReference() && /*#__PURE__*/React.createElement(commons_components_rdforms_ExternalMetadataPresenter__WEBPACK_IMPORTED_MODULE_17__["default"], {
    entry: entry,
    externalTemplateId: externalTemplateId
  }), templateId && datasetTemplateEntry ? /*#__PURE__*/React.createElement(commons_components_rdforms_DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_18__["default"], {
    entry: datasetTemplateEntry,
    externalTemplateId: templateId
  }) : null, editor && /*#__PURE__*/React.createElement(EditorComponent, null))))) : null), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_32__.ErrorCatcher, {
    error: saveError
  }));
};
EditEntryDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  parentEntry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  formExternalTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  onEntryEdit: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  editorLevel: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  entryUpdatedCallback: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  filterPredicates: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape(),
  getFilterPredicates: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_21__.withRdformsContextProvider)(EditEntryDialog));

/***/ },

/***/ "./modules/commons/components/entry/EditEntryDialog/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/entry/EditEntryDialog/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EditEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EditEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditEntryDialog */ "./modules/commons/components/entry/EditEntryDialog/EditEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/entry/Import/LinkField.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/entry/Import/LinkField.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const LinkField = _ref => {
  let {
    mimicsRdformsStyle,
    inputLabel,
    link,
    handleLinkInputChange,
    hasError,
    helperText,
    placeholder
  } = _ref;
  const labelId = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_3__.useUniqueId)('link-field-');
  return /*#__PURE__*/React.createElement(React.Fragment, null, mimicsRdformsStyle ? /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_2__["default"], {
    label: inputLabel,
    editor: true,
    labelProps: {
      htmlFor: labelId
    }
  }, /*#__PURE__*/React.createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_1__["default"], {
    value: link,
    onChange: handleLinkInputChange,
    error: hasError,
    helperText: helperText,
    placeholder: placeholder,
    slotProps: {
      htmlInput: {
        'aria-label': inputLabel
      }
    },
    required: true,
    id: labelId
  })) : /*#__PURE__*/React.createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_1__["default"], {
    label: inputLabel,
    value: link,
    onChange: handleLinkInputChange,
    error: hasError,
    helperText: helperText,
    placeholder: placeholder,
    required: true
  }));
};
LinkField.propTypes = {
  mimicsRdformsStyle: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  inputLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  link: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  handleLinkInputChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  hasError: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LinkField);

/***/ },

/***/ "./modules/commons/components/entry/Import/UniqueLinkField.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/entry/Import/UniqueLinkField.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useUniqueURIScope */ "./modules/commons/hooks/useUniqueURIScope.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _LinkField__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LinkField */ "./modules/commons/components/entry/Import/LinkField.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






// This component has access to uniqueURIScope context
const UniqueLinkField = _ref => {
  let {
    mimicsRdformsStyle,
    inputLabel,
    link,
    handleLinkInputChange: _handleLinkInputChange,
    hasError,
    helperText
  } = _ref;
  const {
    isURIUnique,
    setIsURIUnique
  } = (0,commons_hooks_useUniqueURIScope__WEBPACK_IMPORTED_MODULE_1__.useUniqueURIScopeContext)();
  const translation = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)((commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_2___default()));
  return /*#__PURE__*/React.createElement(_LinkField__WEBPACK_IMPORTED_MODULE_4__["default"], {
    mimicsRdformsStyle: mimicsRdformsStyle,
    inputLabel: inputLabel,
    link: link,
    handleLinkInputChange: event => {
      _handleLinkInputChange(event);
      setIsURIUnique(true);
    },
    hasError: hasError || !isURIUnique,
    helperText: isURIUnique ? helperText : translation('linkPatternUnavailableURL')
  });
};
UniqueLinkField.propTypes = {
  mimicsRdformsStyle: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  inputLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  link: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  handleLinkInputChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  hasError: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UniqueLinkField);

/***/ },

/***/ "./modules/commons/components/entry/Import/index.js"
/*!**********************************************************!*\
  !*** ./modules/commons/components/entry/Import/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/FileUpload */ "./modules/commons/components/common/FileUpload/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/rdforms/FieldWrapper */ "./modules/commons/components/rdforms/FieldWrapper/index.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/Tabs */ "./modules/commons/components/common/Tabs/index.js");
/* harmony import */ var _LinkField__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./LinkField */ "./modules/commons/components/entry/Import/LinkField.js");
/* harmony import */ var _UniqueLinkField__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./UniqueLinkField */ "./modules/commons/components/entry/Import/UniqueLinkField.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/entry/Import/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }














// TODO move to a Tabs component?
const TabPanel = _ref => {
  let {
    children,
    value,
    index
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    role: "tabpanel",
    hidden: value !== index,
    id: `tabpanel-${index}`,
    "aria-labelledby": `tab-${index}`
  }, value === index && /*#__PURE__*/React.createElement("div", {
    id: `tab-${index}`
  }, children));
};
TabPanel.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),
  index: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number).isRequired,
  value: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number).isRequired
};

// TODO rename
const EntryImport = _ref2 => {
  let {
    mimicsRdformsStyle = true,
    disableLink = false,
    disableFile = false,
    link,
    file = null,
    handleFileChange,
    handleLinkChange,
    validURI = true,
    handleTabChange: switchTab,
    uniqueURI = false,
    // true for access to uniqueURI context provider
    fileUploadProps
  } = _ref2;
  const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(0);
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true);
  const [helperText, setHelperText] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_7___default())]);
  const inputLabel = translate('webAddressLabel');
  const handleTabChange = (_event, newValue) => {
    setValue(newValue);
    switchTab(newValue);
  };
  const handleLinkInputChange = event => {
    setPristine(false);
    handleLinkChange(event);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!pristine) {
      const validLinkText = validURI ? '' : translate('linkNotValid');
      const text = link.length ? validLinkText : translate('linkRequired');
      setHelperText(text);
    }
  }, [pristine, link.length, translate, validURI]);
  if (disableLink) {
    return mimicsRdformsStyle ? /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_6__["default"], {
      label: translate('fileLabel'),
      editor: true
    }, /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_3__["default"], {
      file: file,
      onSelectFile: handleFileChange,
      uploadFileLabel: true
    })) : /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_3__["default"], {
      file: file,
      onSelectFile: handleFileChange,
      uploadFileLabel: true
    });
  }
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_9__.Tabs, {
    value: value,
    onChange: handleTabChange,
    "aria-label": translate('importEntryTabsAriaLabel'),
    className: "escoEntryImportTabs"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_9__.Tab, {
    label: translate('linkLabel'),
    key: "link",
    disabled: disableLink
  }), /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_9__.Tab, {
    label: translate('fileLabel'),
    key: "file-upload",
    disabled: disableFile
  })), /*#__PURE__*/React.createElement(TabPanel, {
    value: value,
    index: 0
  }, uniqueURI ? /*#__PURE__*/React.createElement(_UniqueLinkField__WEBPACK_IMPORTED_MODULE_11__["default"], {
    mimicsRdformsStyle: mimicsRdformsStyle,
    inputLabel: inputLabel,
    link: link,
    handleLinkInputChange: handleLinkInputChange,
    hasError: !pristine && !validURI,
    helperText: helperText,
    placeholder: translate('linkPlaceholder')
  }) : /*#__PURE__*/React.createElement(_LinkField__WEBPACK_IMPORTED_MODULE_10__["default"], {
    mimicsRdformsStyle: mimicsRdformsStyle,
    inputLabel: inputLabel,
    link: link,
    handleLinkInputChange: handleLinkInputChange,
    hasError: !pristine && !validURI,
    helperText: helperText,
    placeholder: translate('linkPlaceholder')
  })), /*#__PURE__*/React.createElement(TabPanel, {
    value: value,
    index: 1
  }, mimicsRdformsStyle ? /*#__PURE__*/React.createElement(commons_components_rdforms_FieldWrapper__WEBPACK_IMPORTED_MODULE_6__["default"], {
    label: translate('fileLabel'),
    editor: true
  }, /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    file: file,
    onSelectFile: handleFileChange
  }, fileUploadProps))) : /*#__PURE__*/React.createElement(commons_components_common_FileUpload__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    file: file,
    onSelectFile: handleFileChange
  }, fileUploadProps))));
};
EntryImport.propTypes = {
  mimicsRdformsStyle: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  disableLink: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  disableFile: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  link: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  file: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(Element),
  handleFileChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  handleLinkChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  validURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  handleTabChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  uniqueURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  fileUploadProps: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    helperText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntryImport);

/***/ },

/***/ "./modules/commons/components/entry/Import/useLinkOrFile.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/entry/Import/useLinkOrFile.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_trim_end_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim-end.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-end.js");
/* harmony import */ var core_js_modules_es_string_trim_end_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_end_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");



/* global React */



/**
 * React hook for managing input state where the user can provide either
 * a link (URL) or a file. It encapsulates validation, state management,
 * and tab switching between the two input modes.
 *
 * @param {object} [options] - Hook configuration options.
 * @param {boolean} [options.allowFileURI=false] - Whether to allow `file:` protocol URLs
 * during validation.
 *
 * @returns {{
 *   link: string,
 *   setLink: React.Dispatch<React.SetStateAction<string>>,
 *   file: any,
 *   setFile: React.Dispatch<React.SetStateAction<any>>,
 *   handleLinkChange: (evt: React.ChangeEvent<HTMLInputElement>) => void,
 *   handleFileChange: (inputEl: any) => void,
 *   handleTabChange: (newTab: number) => void,
 *   linkIsValid: boolean,
 *   buttonEnabled: boolean,
 *   isLink: boolean,
 *   setIsLink: React.Dispatch<React.SetStateAction<boolean>>
 * }}
 * State and handlers for managing link/file input mode.
 */

const useLinkOrFile = function useLinkOrFile() {
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  const {
    allowFileURI = false
  } = options;
  const [link, setLink] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  const [file, setFile] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const [isLink, setIsLink] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true); // Practically represents the tab
  const [buttonEnabled, setButtonEnabled] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const linkIsValid = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_4__.validateLink)(link, {
    allowFileURI
  });
  const handleLinkChange = evt => {
    var _evt$target$value;
    const newLink = (_evt$target$value = evt.target.value) === null || _evt$target$value === void 0 ? void 0 : _evt$target$value.trimEnd();
    const newLinkIsValid = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_4__.validateLink)(newLink, {
      allowFileURI
    });
    setLink(newLink);
    setButtonEnabled(newLinkIsValid);
    setIsLink(newLinkIsValid);
  };
  const handleFileChange = inputEl => {
    setFile(inputEl);
    setButtonEnabled(!!inputEl);
    setIsLink(false);
  };

  // Tabs: 0 - link, 1 - file
  const handleTabChange = newTab => {
    setIsLink(newTab === 0); // Doesn't make much sense since 0 is falsy
    const stateIsValid = newTab === 0 && linkIsValid || newTab === 1 && !!file;
    setButtonEnabled(stateIsValid);
  };
  return {
    link,
    setLink,
    file,
    setFile,
    handleLinkChange,
    handleFileChange,
    handleTabChange,
    linkIsValid,
    buttonEnabled,
    isLink,
    setIsLink
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLinkOrFile);

/***/ },

/***/ "./modules/commons/components/entry/PublishToggle/PublishToggle.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/entry/PublishToggle/PublishToggle.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PublicOff.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const defaultOnToggle = (entry, isPublic) => {
  const entryInfo = entry.getEntryInfo();
  const acl = entryInfo.getACL(true);
  return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_10__.getGroupWithHomeContext)(entry.getContext()).then(groupEntry => {
    if (isPublic) {
      acl.admin = acl.admin || [];
      acl.admin.push(groupEntry.getId());
      entryInfo.setACL(acl);
    } else {
      entryInfo.setACL({});
    }
    return entryInfo.commit();
  });
};
const PublishToggle = _ref => {
  let {
    nlsBundles = [],
    labelNlsKey = 'publishedTitle',
    disabledTooltipNlsKey = 'privateDisabledTitle',
    draftDisabledTooltipNlsKey = 'draftDisabledTooltipNlsKey',
    publishedStatusNlsKey = 'publishedStatus',
    unpublishedStatusNlsKey = 'unpublishedStatus',
    publishFailNlsKey = 'publishFail',
    unpublishFailNlsKey = 'unpublishFail',
    onToggle = defaultOnToggle,
    highlightId
  } = _ref;
  const entry = (0,commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_11__.useEntry)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)([(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_8___default()), ...nlsBundles]);
  const [contextIsPublic] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_9__["default"])(entityEntry => entityEntry.getContext().getEntry().then(contextEntry => contextEntry.isPublic()), entry, false);
  const [isPublic, setIsPublic] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(entry.isPublic());
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.useSnackbar)();
  const isDraftEntry = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_14__.isDraftEntry)(entry);
  const {
    triggerAnimation
  } = (0,commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_15__.useAnimation)();
  const onChange = (_event, domNode) => Promise.resolve(onToggle(entry, isPublic)).then(() => {
    const newIsPublic = !isPublic;
    setIsPublic(newIsPublic);
    if (newIsPublic) {
      triggerAnimation(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_15__.BALLOON, {
        ref: {
          current: domNode
        },
        uniqueId: entry.getId()
      });
    }
  }).then(() => addSnackbar({
    message: translate(`${isPublic ? 'un' : ''}publishSnackbarMessage`),
    autoHideDuration: 500
  })).catch(error => {
    console.error(error);
    addSnackbar({
      message: translate(isPublic ? unpublishFailNlsKey : publishFailNlsKey),
      type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.ERROR,
      autoHideDuration: 500
    });
  });
  const getSwitchTooltip = () => {
    if (isDraftEntry) return translate(draftDisabledTooltipNlsKey);
    if (!contextIsPublic) return translate(disabledTooltipNlsKey);
    return null;
  };
  return /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_12__.OverviewSidebarToggle, {
    onChange: onChange,
    disabled: !contextIsPublic || isDraftEntry,
    isChecked: contextIsPublic && isPublic,
    primaryLabel: translate(labelNlsKey),
    secondaryLabel: entry.isPublic() ? translate(publishedStatusNlsKey) : translate(unpublishedStatusNlsKey),
    icon: entry.isPublic() ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null),
    switchTooltipLabel: getSwitchTooltip(),
    highlightId: highlightId
  });
};
PublishToggle.propTypes = {
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.nlsBundlesPropType,
  labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  disabledTooltipNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  draftDisabledTooltipNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  publishedStatusNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  unpublishedStatusNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  onToggle: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  publishFailNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  unpublishFailNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PublishToggle);

/***/ },

/***/ "./modules/commons/components/entry/PublishToggle/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/entry/PublishToggle/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PublishToggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PublishToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublishToggle */ "./modules/commons/components/entry/PublishToggle/PublishToggle.js");


/***/ },

/***/ "./modules/commons/components/entry/RemoveEntryDialog/RemoveEntryDialog.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/entry/RemoveEntryDialog/RemoveEntryDialog.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/references/useCheckReferences */ "./modules/commons/hooks/references/useCheckReferences.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
















const defaultRemoveEntry = async (entry, failureMessage) => {
  try {
    await entry.del();
  } catch (error) {
    throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_15__.ErrorWithMessage(failureMessage, error);
  }
};
const noop = async () => {};
const RemoveEntryDialog = _ref => {
  let {
    // actions props
    entry,
    closeDialog,
    // dialog props
    removeConfirmMessage,
    removeFailMessage,
    removeSuccessMessage,
    affirmMessage = 'removeButtonLabel',
    onRemove = defaultRemoveEntry,
    onRemoveCallback = noop,
    nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default())],
    checkReferences = false,
    checkCanRemove,
    ignoreCallback
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundles);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_10__.useSnackbar)();
  const {
    runAsync,
    error,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__["default"])();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_11__["default"])(error);
  const handleRemove = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const successMessage = removeSuccessMessage || translate('removeSuccessMessage');
    const failureMessage = removeFailMessage || translate('removeFailMessage');
    return runAsync(onRemove(entry, failureMessage).then(closeDialog).then(async () => {
      await onRemoveCallback();
      addSnackbar({
        message: successMessage
      });
    }));
  }, [addSnackbar, closeDialog, entry, onRemove, onRemoveCallback, removeFailMessage, removeSuccessMessage, runAsync, translate]);
  const {
    references,
    checkReferencesStatus
  } = (0,commons_hooks_references_useCheckReferences__WEBPACK_IMPORTED_MODULE_14__["default"])({
    entry,
    nlsBundles,
    callback: closeDialog,
    skipCheck: !checkReferences,
    checkCanRemove,
    ignoreCallback,
    onForceRemove: handleRemove
  });
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_13__["default"], {
    onClick: handleRemove,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__.PENDING
  }, translate(affirmMessage));
  if (checkReferencesStatus !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__.RESOLVED || references.length !== 0) return null;
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "remove-entry",
    closeDialog: closeDialog,
    actions: actions,
    maxWidth: "xs"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_6__["default"], {
    xs: 10
  }, /*#__PURE__*/React.createElement("div", null, removeConfirmMessage || translate('removeEntryConfirm'))));
};
RemoveEntryDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  removeConfirmMessage: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_3___default().node), (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)]),
  removeFailMessage: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  removeSuccessMessage: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  affirmMessage: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onRemoveCallback: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.nlsBundlesPropType,
  checkReferences: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  checkCanRemove: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  ignoreCallback: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemoveEntryDialog);

/***/ },

/***/ "./modules/commons/components/entry/RemoveEntryDialog/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/entry/RemoveEntryDialog/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/RemoveEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/entry/RevisionsEntryDialog/RevisionsEntryDialog.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/entry/RevisionsEntryDialog/RevisionsEntryDialog.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoVersions.nls */ "./modules/commons/nls/escoVersions.nls");
/* harmony import */ var commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_rdforms_Revisions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/rdforms/Revisions */ "./modules/commons/components/rdforms/Revisions/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const RevisionsEntryDialog = _ref => {
  let {
    entry,
    closeDialog,
    formTemplateId,
    excludeProperties = [],
    filterPredicates,
    onRevertCallback,
    nlsBundles = []
  } = _ref;
  const {
    data: templateId,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__["default"])({
    data: formTemplateId
  });
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.useSnackbar)();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!formTemplateId) {
      runAsync((0,commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.getTemplateId)(entry));
    }
  }, [entry, formTemplateId, runAsync]);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)((commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  const onRevert = () => {
    Promise.resolve(onRevertCallback()).then(() => {
      addSnackbar({
        message: t('revertSnackbarMessage')
      });
    });
  };
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__["default"], {
    id: "revision-history-entry",
    closeDialog: closeDialog,
    title: t('versionsHeader'),
    closeDialogButtonLabel: t('versionsCloseButton'),
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(commons_components_rdforms_Revisions__WEBPACK_IMPORTED_MODULE_9__["default"], {
    entry: entry,
    nlsBundles: [(commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_7___default()), ...nlsBundles],
    closeDialog: closeDialog,
    formTemplateId: templateId,
    filterPredicates: filterPredicates,
    excludeProperties: excludeProperties,
    onRevertCallback: onRevert
  })));
};
RevisionsEntryDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  filterPredicates: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  excludeProperties: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)),
  onRevertCallback: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RevisionsEntryDialog);

/***/ },

/***/ "./modules/commons/components/entry/RevisionsEntryDialog/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/entry/RevisionsEntryDialog/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RevisionsEntryDialog */ "./modules/commons/components/entry/RevisionsEntryDialog/RevisionsEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/filters/SearchFilter/SearchFilter.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFilter/SearchFilter.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/Autocomplete.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* harmony import */ var _SearchFilter_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./SearchFilter.scss */ "./modules/commons/components/filters/SearchFilter/SearchFilter.scss");
/* harmony import */ var _utils_filter__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* harmony import */ var _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }






const renderAutocompleteOption = (props, option) => {
  const {
    label,
    value,
    divider
  } = option;
  if (divider) return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    key: "search-filter-divider",
    className: "escoSearchFilter__divider"
  });
  return /*#__PURE__*/React.createElement("li", _extends({}, props, {
    key: label + value
  }), label);
};
const SearchFilter = _ref => {
  let {
    onSelect,
    filter,
    items,
    disabled = false,
    translate
  } = _ref;
  const header = translate(filter.getHeaderNlsKey());
  const prefix = `${header.toLowerCase().replace(' ', '-')}-`;
  const labelId = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_13__.useUniqueId)(prefix);
  const selected = filter.getSelected();
  const handleChange = changeEvent => {
    const {
      target: {
        value
      }
    } = changeEvent;
    onSelect(value);
  };
  const handleCheckboxChange = _ref2 => {
    let {
      target: {
        checked,
        value
      }
    } = _ref2;
    return onSelect(checked ? value : _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__.ANY);
  };
  const handleAutocompleteChange = (event, _ref3) => {
    let {
      value
    } = _ref3;
    return onSelect(value);
  };
  const getOptionLabel = option => {
    if (option === null) return;
    if (typeof option === 'object' && !option.divider) return option.label;
    const matchingItem = items.find(item => item.value === option) || items.find(item => item.value === filter.getDefaultValue());
    return matchingItem === null || matchingItem === void 0 ? void 0 : matchingItem.label;
  };
  if (filter.getType() === _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__.AUTOCOMPLETE) return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: labelId,
    options: items,
    groupBy: option => option.type,
    value: selected,
    defaultValue: filter.getDefaultValue(),
    disablePortal: true,
    disableClearable: true,
    disabled: disabled,
    getOptionLabel: getOptionLabel,
    isOptionEqualToValue: (option, value) => option.value === value,
    onChange: handleAutocompleteChange,
    renderOption: renderAutocompleteOption,
    renderInput: params => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({}, params, {
      label: header,
      className: "escoSearchFilter__formControl"
    }))
  });
  if (filter.getType() === _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__.CHECKBOX) {
    const {
      value
    } = items.find(item => item.value !== _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__.ANY);
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      className: "escoSearchFilter__formControl",
      control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
        checked: selected !== _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_16__.ANY,
        onChange: handleCheckboxChange,
        disabled: disabled,
        value: value
      }),
      label: header
    });
  }
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "filled",
    className: "escoSearchFilter__formControl",
    disabled: disabled
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: labelId
  }, header), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    className: "escoSearchFilter",
    value: selected,
    onChange: handleChange,
    inputProps: {
      'aria-labelledby': labelId
    }
  }, items.map(_ref4 => {
    let {
      value,
      label
    } = _ref4;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      key: `${value}-${label}`,
      value: value
    }, label);
  })));
};
SearchFilter.propTypes = {
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  filter: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_utils_filter__WEBPACK_IMPORTED_MODULE_15__["default"]),
  items: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SearchFilter);

/***/ },

/***/ "./modules/commons/components/filters/SearchFilter/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFilter/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SearchFilter__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchFilter */ "./modules/commons/components/filters/SearchFilter/SearchFilter.js");


/***/ },

/***/ "./modules/commons/components/filters/SearchFilters/SearchFilters.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFilters/SearchFilters.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_FilterAltOff__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/FilterAltOff */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterAltOff.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_filters_SearchFilter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/filters/SearchFilter */ "./modules/commons/components/filters/SearchFilter/index.js");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoFilters.nls */ "./modules/commons/nls/escoFilters.nls");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _SearchFilters_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SearchFilters.scss */ "./modules/commons/components/filters/SearchFilters/SearchFilters.scss");
/* harmony import */ var _utils_filter__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const SearchFilters = _ref => {
  let {
    filterProps: {
      filters,
      clearFilters,
      hasSelectedFilter
    },
    nlsBundles = [],
    disabled = false,
    onFilterSelect
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10___default()), ...nlsBundles]);
  const [{
    showFilters
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.useListModel)();
  const handleClear = () => {
    clearFilters();
    onFilterSelect();
  };
  const handleSelect = filter => value => {
    filter.setSelected(value);
    onFilterSelect(filter, value);
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    in: showFilters,
    className: "escoSearchFilters__collapse"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoSearchFilters__container"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    container: true
  }, filters.map(_ref2 => {
    let {
      filter,
      items
    } = _ref2;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      size: {
        xs: 'auto'
      },
      key: filter.getId()
    }, /*#__PURE__*/React.createElement(commons_components_filters_SearchFilter__WEBPACK_IMPORTED_MODULE_9__["default"], {
      filter: filter,
      items: items,
      translate: translate,
      onSelect: handleSelect(filter),
      disabled: disabled
    }));
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    display: "flex",
    justifyContent: "flex-end",
    alignItems: "flex-start"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material_FilterAltOff__WEBPACK_IMPORTED_MODULE_7__["default"], null),
    color: "secondary",
    onClick: handleClear,
    className: "escoSearchFilters__clearButton",
    disabled: disabled || !hasSelectedFilter()
  }, translate('clearAllButton')))));
};
SearchFilters.propTypes = {
  filterProps: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    filters: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
      filter: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_utils_filter__WEBPACK_IMPORTED_MODULE_13__["default"]).isRequired,
      items: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})).isRequired
    })).isRequired,
    clearFilters: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
    hasSelectedFilter: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired
  }).isRequired,
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.nlsBundlesPropType,
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  onFilterSelect: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SearchFilters);

/***/ },

/***/ "./modules/commons/components/filters/SearchFilters/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFilters/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SearchFilters__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchFilters__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchFilters */ "./modules/commons/components/filters/SearchFilters/SearchFilters.js");



/***/ },

/***/ "./modules/commons/components/filters/SearchFiltersButton/SearchFiltersButton.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFiltersButton/SearchFiltersButton.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js");
/* harmony import */ var _mui_icons_material_FilterAlt__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material/FilterAlt */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterAlt.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoFilters.nls */ "./modules/commons/nls/escoFilters.nls");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const SearchFilterButton = _ref => {
  let {
    disabled,
    filtersActiveBadge
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.useListModel)();
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_5__["default"], {
    title: t('searchFiltersButtonTooltip')
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    "aria-label": "filter",
    disabled: disabled,
    onClick: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.TOGGLE_FILTERS
    }),
    color: "primary",
    "data-highlight-id": "searchFilterButton"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    color: "secondary",
    variant: "dot",
    invisible: !filtersActiveBadge
  }, /*#__PURE__*/React.createElement(_mui_icons_material_FilterAlt__WEBPACK_IMPORTED_MODULE_4__["default"], null)))));
};
SearchFilterButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  filtersActiveBadge: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SearchFilterButton);

/***/ },

/***/ "./modules/commons/components/filters/SearchFiltersButton/index.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFiltersButton/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SearchFiltersButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchFiltersButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchFiltersButton */ "./modules/commons/components/filters/SearchFiltersButton/SearchFiltersButton.js");


/***/ },

/***/ "./modules/commons/components/filters/hooks/useRestrictedContextPlaceholder.js"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/filters/hooks/useRestrictedContextPlaceholder.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");



const useRestrictedContextPlaceholder = _ref => {
  var _filterProps$filters;
  let {
    filterProps,
    includeContextFilter,
    contextId,
    queryResults,
    dispatch
  } = _ref;
  const contextFilter = (_filterProps$filters = filterProps.filters) === null || _filterProps$filters === void 0 || (_filterProps$filters = _filterProps$filters.find(_ref2 => {
    let {
      filter
    } = _ref2;
    return filter.getId() === _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_2__.CONTEXT_CHECKBOX_FILTER.id;
  })) === null || _filterProps$filters === void 0 ? void 0 : _filterProps$filters.filter;
  const selectedContext = contextFilter === null || contextFilter === void 0 ? void 0 : contextFilter.getSelected();
  const isContextRestricted = includeContextFilter && selectedContext === contextId;
  const shouldShowCustomPlaceholder = queryResults.status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_1__.RESOLVED && queryResults.size === 0 && isContextRestricted;
  const handleSelectAllContexts = () => {
    if (contextFilter) {
      contextFilter.setSelected(_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_2__.ANY);
      dispatch({
        type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_0__.FILTER,
        filter: {
          [_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_2__.CONTEXT_CHECKBOX_FILTER.id]: _utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_2__.ANY
        }
      });
    }
  };
  return {
    shouldShowCustomPlaceholder,
    handleSelectAllContexts
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRestrictedContextPlaceholder);

/***/ },

/***/ "./modules/commons/components/filters/hooks/useSearchFilters.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/filters/hooks/useSearchFilters.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/filters/utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoFilters.nls */ "./modules/commons/nls/escoFilters.nls");
/* harmony import */ var commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10__);












/**
 * @typedef {object} FilterObject
 * @property {string} headerNlsKey - Filter label
 * @property {string} id - Filter grouping property e.g. 'public', 'psi'
 * @property {object[]} items - Filter menu items
 */
/**
 * @typedef {object} UseFilterResult
 * @property {Filter[]} filters - Array of filters
 * @property {Function} addFilter - Add new filter definition
 * @property {Function} addItems - Append items to a given filter
 * @property {Function} clearFilters - Clear all selected filters (reset back to default option)
 * @property {Function} applyFilters - Applies all filters to the given query
 * @property {Function} hasSelectedFilter  - Shows whether any filters are selected
 */
/**
 * Provides what's necessary for the search filters
 *
 * @param {FilterObject[]} filterDefinitions
 * @param {object[]} [nlsBundles] - NLS bundles needed to resolve filter item labels
 * @param {Filter[]} [initialFilters] - Pre-built filters, used instead of filterDefinitions
 * @returns {UseFilterResult}
 */
const useSearchFilters = function useSearchFilters(filterDefinitions) {
  let nlsBundles = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  let initialFilters = arguments.length > 2 ? arguments[2] : undefined;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(commons_nls_escoFilters_nls__WEBPACK_IMPORTED_MODULE_10___default()), ...nlsBundles]);
  const [language] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_9__.useLanguage)();
  const languageRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(language);
  const [{
    filter: filterSelections
  }] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const [filters, setFilters] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(initialFilters || (0,commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_5__.createFilters)(filterDefinitions, filterSelections));
  const {
    runAsync: runLoadChoices,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])();

  // Key to recompute the active/normalized filters when the visible set changes — keyed by
  // id (visibility) and item count, so asynchronously loaded items surface even for
  // always-visible (autoHide: false) filters, whose visibility doesn't change on load.
  const visibleFilterIds = filters.filter(filter => filter.isVisible()).map(filter => `${filter.getId()}:${filter.getItems().length}`).join('-');
  const activeFilters = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => filters.filter(filter => filter.isVisible()),
  // eslint-disable-next-line react-hooks/exhaustive-deps -- visibleFilterIds trigger recomputation on visibility change
  [filters, visibleFilterIds]);
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const clearFilters = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    activeFilters.forEach(filter => filter.clearSelected());
    setFilters(currentFilters => [...currentFilters]);
  }, [activeFilters]);
  const applyFilters = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(query => {
    // query may be a single query or, when the query is batched into several
    // requests, an array of queries — apply the filters to each.
    const queries = Array.isArray(query) ? query : [query];
    for (const singleQuery of queries) for (const filter of activeFilters) filter.applyFilterParams(singleQuery);
    return query;
  }, [activeFilters]);
  const hasSelectedFilter = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => activeFilters.some(filter => filter.hasSelected()), [activeFilters]);
  const hasDefaultFilter = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => activeFilters.some(filter => filter.hasDefault()), [activeFilters]);
  const hasInitialSelection = filters.some(filter => filter.getInitialSelection() !== filter.getDefaultValue());
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (hasInitialSelection) dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.TOGGLE_FILTERS,
      value: true
    });
  }, [dispatch, hasInitialSelection]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const hasLanguageChanged = languageRef.current !== language;
    languageRef.current = language;
    if (hasLanguageChanged || status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__.IDLE) {
      const loadAllItems = async () => {
        for (const filter of filters) {
          await filter.loadItems();
        }
      };
      runLoadChoices(loadAllItems());
    }
  }, [language, runLoadChoices, status, filters]);
  const normalizedFilters = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => (0,commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_5__.normalizeFilters)(activeFilters, translate), [activeFilters, translate]);
  return {
    filters: normalizedFilters,
    clearFilters,
    applyFilters,
    hasSelectedFilter,
    hasDefaultFilter,
    hasFilters: activeFilters.length > 0,
    isLoading: status === 'idle' || status === 'pending',
    status
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSearchFilters);

/***/ },

/***/ "./modules/commons/components/filters/index.js"
/*!*****************************************************!*\
  !*** ./modules/commons/components/filters/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SearchFilter: () => (/* reexport safe */ _SearchFilter__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   SearchFiltersButton: () => (/* reexport safe */ _SearchFiltersButton__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */   "default": () => (/* reexport safe */ _SearchFilters__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchFilters__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchFilters */ "./modules/commons/components/filters/SearchFilters/index.js");
/* harmony import */ var _SearchFilter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SearchFilter */ "./modules/commons/components/filters/SearchFilter/index.js");
/* harmony import */ var _SearchFiltersButton__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SearchFiltersButton */ "./modules/commons/components/filters/SearchFiltersButton/index.js");




/***/ },

/***/ "./modules/commons/components/filters/utils/filter.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/filters/utils/filter.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createFilters: () => (/* binding */ createFilters),
/* harmony export */   "default": () => (/* binding */ Filter),
/* harmony export */   getExcludeFiltersConfig: () => (/* binding */ getExcludeFiltersConfig),
/* harmony export */   getIncludedFilters: () => (/* binding */ getIncludedFilters),
/* harmony export */   getNoResultsNLS: () => (/* binding */ getNoResultsNLS),
/* harmony export */   normalizeFilters: () => (/* binding */ normalizeFilters)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _filterDefinitions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
const _excluded = ["labelNlsKey", "labelMap", "typeNlsKey"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }










class Filter {
  constructor(_ref) {
    let {
      id,
      type = 'select',
      headerNlsKey,
      items = [],
      initialSelection = _filterDefinitions__WEBPACK_IMPORTED_MODULE_9__.ANY,
      defaultValue = _filterDefinitions__WEBPACK_IMPORTED_MODULE_9__.ANY,
      autoHide = true,
      applyFilterParams = () => {},
      loadItems,
      onLoadItems,
      onSelect = () => {},
      isVisible = filter => filter.getItems().length > 1 || filter.autoHide === false
    } = _ref;
    this._id = id;
    this._type = type;
    this._headerNlsKey = headerNlsKey;
    this._items = items;
    this._initial = initialSelection;
    this._defaultValue = defaultValue;
    this._selected = initialSelection;
    this._applyFilterParams = applyFilterParams;
    this._loadItems = loadItems;
    this._onSelect = onSelect;
    this._onLoadItems = onLoadItems;
    this._autoHide = autoHide;
    this._isVisible = isVisible;
  }
  setItems(items) {
    this._items = items;
    const defaultItem = items.find(item => item.default);
    if (defaultItem) {
      this._initial = defaultItem.value;
      this._defaultValue = defaultItem.value;
    }
    if (items.every(item => item.value !== this._selected)) {
      this._selected = this._initial;
    }
  }
  addItems(newItems) {
    this.setItems([...this.getItems(), ...newItems]);
  }
  async loadItems() {
    if (!this._loadItems) return;
    const items = await this._loadItems();
    if (items.length) {
      this.setItems(items);
    }
    if (this._onLoadItems) {
      this._onLoadItems(items);
    }
  }
  getInitialSelection() {
    return this._initial;
  }
  getDefaultValue() {
    return this._defaultValue;
  }
  getDefaultItem() {
    return this.getItems().find(item => item.value === this.getDefaultValue());
  }
  getItems() {
    return this._items;
  }
  findItem(itemValue) {
    const item = this.getItems().find(_ref2 => {
      let {
        value
      } = _ref2;
      return value === itemValue;
    });
    return item;
  }
  getHeaderNlsKey() {
    return this._headerNlsKey;
  }
  getId() {
    return this._id;
  }
  get autoHide() {
    return this._autoHide;
  }
  getType() {
    return this._type;
  }
  isVisible() {
    return this._isVisible(this);
  }
  setSelected(value) {
    if (this._items.find(item => item.value === value)) {
      this._selected = value;
      this._onSelect(value);
    }
  }
  clearSelected() {
    this._selected = this._defaultValue;
    this._onSelect(this._defaultValue);
  }
  getSelected() {
    return this._selected;
  }
  hasSelected() {
    return this._selected !== this._defaultValue;
  }
  hasDefault() {
    return this._defaultValue !== _filterDefinitions__WEBPACK_IMPORTED_MODULE_9__.ANY;
  }
  applyFilterParams(query) {
    if (this.hasSelected() === false && this.getDefaultValue() === _filterDefinitions__WEBPACK_IMPORTED_MODULE_9__.ANY) return query;
    return this._applyFilterParams(query, this);
  }
}

/**
 * Decides which NLS to use depending on the input
 *
 * @param {boolean} hasSearchQuery
 * @param {boolean} hasFilters
 * @returns {string}
 */
const getNoResultsNLS = (hasSearchQuery, hasFilters) => {
  if (hasSearchQuery) return hasFilters ? 'noSearchResultsFiltersAndQuery' : 'noSearchResults';
  if (hasFilters) return 'noSearchResultsFilters';
  return 'noResults';
};

/**
 * Gets the exclude filters config that can be set
 * 1) per module `excludeFilters` and
 * 2) per view `listProps.excludeFilters` configs
 * View-level takes precedence over module-level config.
 *
 * @returns {boolean|string[]}
 */
const getExcludeFiltersConfig = () => {
  var _viewDefinition$listP;
  const currentView = commons_registry__WEBPACK_IMPORTED_MODULE_5__["default"].getCurrentView();
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getViewDefFromName)(currentView);
  const excludeFromView = viewDefinition === null || viewDefinition === void 0 || (_viewDefinition$listP = viewDefinition.listProps) === null || _viewDefinition$listP === void 0 ? void 0 : _viewDefinition$listP.excludeFilters;
  const moduleName = viewDefinition.module;
  const excludeFromModule = config__WEBPACK_IMPORTED_MODULE_8__["default"].get(`${moduleName}.excludeFilters`);
  let excludeFilters = false;
  if (excludeFromView === undefined && !Array.isArray(excludeFromModule)) excludeFilters = excludeFromModule;
  if (excludeFromView !== undefined && !Array.isArray(excludeFromView)) excludeFilters = excludeFromView;
  if (excludeFilters) return true;
  const excludedFiltersView = Array.isArray(excludeFromView) ? excludeFromView : [];
  if (excludedFiltersView.length > 0) return excludedFiltersView;
  const excludedFiltersModule = Array.isArray(excludeFromModule) ? excludeFromModule : [];
  if (excludedFiltersModule.length > 0) return excludedFiltersModule;
  return excludeFilters; // false
};

/**
 *
 * @param {object[]} filters
 * @param {Function} getExcludeConfig
 * @returns {object[]}
 */
const getIncludedFilters = function getIncludedFilters(filters) {
  let getExcludeConfig = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getExcludeFiltersConfig;
  const excludeFiltersConfig = getExcludeConfig();
  if (Array.isArray(excludeFiltersConfig)) return filters.filter(_ref3 => {
    let {
      id
    } = _ref3;
    return !excludeFiltersConfig.includes(id);
  });
  if (excludeFiltersConfig) return [];
  return filters;
};

/**
 * Create filters that should be visible. Any initial selections are added.
 *
 * @param {object[]} filterDefinitions
 * @param {object} initialSelections
 * @returns {Filter[]}
 */
const createFilters = function createFilters() {
  let filterDefinitions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  let initialSelections = arguments.length > 1 ? arguments[1] : undefined;
  const includedFilters = getIncludedFilters(filterDefinitions);
  return includedFilters.map(filterDefinition => {
    const filterWithSelection = _objectSpread(_objectSpread({}, filterDefinition), {}, {
      initialSelection: initialSelections[filterDefinition.id] || filterDefinition.initialSelection
    });
    return new Filter(filterWithSelection);
  });
};

/**
 * Resolve a filter item's `labelMap`/`labelNlsKey`/`typeNlsKey` into a localized
 * `label`/`type`, leaving an already-resolved `label` untouched.
 *
 * @param {object} item
 * @param {(nlsKey: string) => string} translate
 * @returns {object}
 */
const normalizeItem = (item, translate) => {
  const {
      labelNlsKey,
      labelMap,
      typeNlsKey
    } = item,
    rest = _objectWithoutProperties(item, _excluded);
  let label;
  if (labelMap) {
    label = (0,commons_locale__WEBPACK_IMPORTED_MODULE_7__.localizeLabel)(labelMap);
  } else if (labelNlsKey) {
    label = translate(labelNlsKey);
  }
  const type = typeNlsKey ? translate(typeNlsKey) : undefined;
  return _objectSpread(_objectSpread(_objectSpread({}, rest), label && {
    label
  }), type && {
    type
  });
};

/**
 * Pairs each filter with its localized items so components can render
 * `item.label`/`item.type` without resolving NLS keys themselves. The filter is
 * returned as-is (not wrapped), so its selection state stays on the one instance
 * `applyFilters` reads.
 *
 * @param {Filter[]} filters
 * @param {(nlsKey: string) => string} translate
 * @returns {{filter: Filter, items: object[]}[]}
 */
const normalizeFilters = (filters, translate) => filters.map(filter => ({
  filter,
  items: filter.getItems().map(item => normalizeItem(item, translate))
}));

/***/ },

/***/ "./modules/commons/components/filters/utils/filterDefinitions.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/filters/utils/filterDefinitions.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ANY: () => (/* binding */ ANY),
/* harmony export */   ANY_FILTER_ITEM: () => (/* binding */ ANY_FILTER_ITEM),
/* harmony export */   AUTOCOMPLETE: () => (/* binding */ AUTOCOMPLETE),
/* harmony export */   CHECKBOX: () => (/* binding */ CHECKBOX),
/* harmony export */   CONTEXT_CHECKBOX_FILTER: () => (/* binding */ CONTEXT_CHECKBOX_FILTER),
/* harmony export */   CONTEXT_FILTER: () => (/* binding */ CONTEXT_FILTER),
/* harmony export */   DRAFT_STATUS_FILTER: () => (/* binding */ DRAFT_STATUS_FILTER),
/* harmony export */   EXTERNAL_STATUS_FILTER: () => (/* binding */ EXTERNAL_STATUS_FILTER),
/* harmony export */   HVD_FILTER: () => (/* binding */ HVD_FILTER),
/* harmony export */   PROFILE_FILTER: () => (/* binding */ PROFILE_FILTER),
/* harmony export */   PROFILE_FILTER_ID: () => (/* binding */ PROFILE_FILTER_ID),
/* harmony export */   PROJECT_FILTER: () => (/* binding */ PROJECT_FILTER),
/* harmony export */   PUBLIC_STATUS_FILTER: () => (/* binding */ PUBLIC_STATUS_FILTER),
/* harmony export */   SECTOR_FILTER: () => (/* binding */ SECTOR_FILTER),
/* harmony export */   loadProfileItems: () => (/* binding */ loadProfileItems),
/* harmony export */   loadProjectItems: () => (/* binding */ loadProjectItems)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_types_useGetEntityTypes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/useGetEntityTypes */ "./modules/commons/types/useGetEntityTypes.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");










const ANY = 'any';
const ANY_FILTER_ITEM = {
  labelNlsKey: 'anyFilterLabel',
  value: ANY
};
const AUTOCOMPLETE = 'autocomplete';
const CHECKBOX = 'checkbox';
const EXTERNAL_STATUS_FILTER = {
  headerNlsKey: 'psiFilterHeader',
  applyFilterParams: (query, filter) => {
    const itemValue = filter.getSelected();
    if (itemValue === 'psiExternal') return query.literalProperty('esterms:psi', 'true', 'not');
    if (itemValue === 'psiInternal') return query.literalProperty('esterms:psi', 'true');
    return query;
  },
  items: [{
    labelNlsKey: 'anyFilterLabel',
    value: ANY
  }, {
    labelNlsKey: 'psiExternalLabel',
    value: 'psiExternal'
  }, {
    labelNlsKey: 'psiInternalLabel',
    value: 'psiInternal'
  }],
  id: 'psi-filter'
};
const PUBLIC_STATUS_FILTER = {
  headerNlsKey: 'publicFilterHeader',
  applyFilterParams: (query, filter) => {
    const itemValue = filter.getSelected();
    if (itemValue === 'pubPublic') return query.publicRead(true);
    if (itemValue === 'pubUnpublished') return query.publicRead(false);
    return query;
  },
  items: [{
    labelNlsKey: 'anyFilterLabel',
    value: ANY
  }, {
    labelNlsKey: 'pubPublicLabel',
    value: 'pubPublic'
  }, {
    labelNlsKey: 'pubUnpublishedLabel',
    value: 'pubUnpublished'
  }],
  id: 'public-filter'
};
const DRAFT_STATUS_FILTER = {
  headerNlsKey: 'draftFilterHeader',
  applyFilterParams: (query, filter) => {
    const itemValue = filter.getSelected();
    if (itemValue === 'draft') return query.status(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_DRAFT_STATUS));
    if (itemValue === 'completed') return query.status(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_DRAFT_STATUS), true);
    return query;
  },
  items: [{
    labelNlsKey: 'anyFilterLabel',
    value: ANY
  }, {
    labelNlsKey: 'draftLabel',
    value: 'draft'
  }, {
    labelNlsKey: 'completedLabel',
    value: 'completed'
  }],
  id: 'draft-filter'
};

/**
 * @param {Entry} entry
 * @param {boolean} includeAny
 * @returns {Promise<object[]>}
 */
const loadProfileItems = async function loadProfileItems(entry) {
  let includeAny = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  const entityTypes = await (0,commons_types_useGetEntityTypes__WEBPACK_IMPORTED_MODULE_5__.loadEntityTypeOptions)(entry);
  if (entityTypes.length < 2) return [];
  const profileItems = entityTypes.map(entityType => ({
    label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_6__.localize)(entityType.label()),
    value: entityType.getId()
  }));
  if (!includeAny) return profileItems;
  return [ANY_FILTER_ITEM, ...profileItems];
};
const PROFILE_FILTER_ID = 'profile-filter';
const PROFILE_FILTER = {
  headerNlsKey: 'profileFilterHeader',
  applyFilterParams: (query, filter) => {
    const itemValue = filter.getSelected();
    const firstNonAnyItem = filter.getItems().find(item => item.value !== ANY);
    if (itemValue !== (firstNonAnyItem === null || firstNonAnyItem === void 0 ? void 0 : firstNonAnyItem.value)) return query.profile(itemValue);
    return query.or({
      profile: itemValue,
      and: {
        '*': '*',
        not: {
          profile: '*'
        }
      }
    });
  },
  items: [{
    labelNlsKey: 'anyFilterLabel',
    value: ANY
  }],
  id: PROFILE_FILTER_ID
};
const PUBLIC_SECTOR = 'publicSector';
const PRIVATE_SECTOR = 'privateSector';
const SECTOR_FILTER = {
  headerNlsKey: 'sectorFilterHeader',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    if (value === PUBLIC_SECTOR) return query.literalProperty('dcterms:subject', 'psi');
    if (value === PRIVATE_SECTOR) return query.literalProperty('dcterms:subject', 'psi', 'not');
    return query;
  },
  items: [ANY_FILTER_ITEM, {
    labelNlsKey: 'publicFilterLabel',
    value: PUBLIC_SECTOR
  }, {
    labelNlsKey: 'privateFilterLabel',
    value: PRIVATE_SECTOR
  }],
  id: 'sector-filter'
};

/**
 * Find all contexts except current and convert to filter items.
 *
 * @param {Context} context
 * @param {string} rdfType
 * @returns {Promise<object>}
 */
const loadProjectItems = async (context, rdfType) => {
  const projectEntries = await commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().rdfType(rdfType).list().getAllEntries();
  const projectItems = projectEntries.filter(projectEntry => projectEntry.getResource(true) !== context).map(projectEntry => {
    return {
      value: projectEntry.getId(),
      label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getLabel)(projectEntry)
    };
  });
  return [ANY_FILTER_ITEM, ...projectItems];
};
const PROJECT_FILTER = {
  type: 'autocomplete',
  headerNlsKey: 'projectLabel',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    return query.context(value);
  },
  id: 'project-filter'
};
const HVD_FILTER = {
  type: CHECKBOX,
  headerNlsKey: 'hvdFilterHeader',
  applyFilterParams: (query, filter) => {
    if (filter.getSelected() === ANY) return query;
    return query.uriProperty('http://data.europa.eu/r5r/applicableLegislation', 'http://data.europa.eu/eli/reg_impl/2023/138/oj');
  },
  items: [ANY_FILTER_ITEM, {
    value: 'hvd'
  }],
  id: 'hvd-filter'
};
const CONTEXT_FILTER = {
  id: 'context-filter',
  type: AUTOCOMPLETE,
  headerNlsKey: 'contextFilterLabel',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    if (value === ANY) return query;

    // the default query contains a NOT modifier on `context` to exclude users - in
    // principals context - that has to be cleared when a different context is selected
    if (query.modifiers.get('context')) {
      query.modifiers.delete('context');
    }
    return query.context(value);
  }
};
const CONTEXT_CHECKBOX_FILTER = {
  type: CHECKBOX,
  headerNlsKey: 'contextFilterHeader',
  applyFilterParams: (query, filter) => {
    const selected = filter.getSelected();
    if (selected === ANY) return query;
    return query.context(selected);
  },
  id: 'context-checkbox-filter'
};

/***/ },

/***/ "./modules/commons/components/forms/dialogs/SelectEntryDialog/SelectEntryDialog.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/forms/dialogs/SelectEntryDialog/SelectEntryDialog.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectEntryDialog: () => (/* binding */ SelectEntryDialogWithListModel),
/* harmony export */   SelectEntryList: () => (/* binding */ SelectEntryList)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/nls/escoEntryChooser.nls */ "./modules/commons/nls/escoEntryChooser.nls");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["infoFields", "placeholderProps", "getTitleProps", "queryResults", "nlsBundles", "filterProps", "SelectComponent", "getSelectComponentProps", "listActions"],
  _excluded2 = ["closeDialog", "titleNlsKey", "rdfType", "filters", "createQuery", "allContexts", "nlsBundles", "selectedEntry", "onSelect", "createActionProps"],
  _excluded3 = ["applyFilters", "isLoading"],
  _excluded4 = ["listModelProps"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
























const EntrySelectButton = _ref => {
  let {
    entry,
    selectedEntry,
    onSelect,
    nlsBundles = []
  } = _ref;
  const selected = (() => {
    if (Array.isArray(selectedEntry)) return selectedEntry.includes(entry);
    return entry === selectedEntry;
  })();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)([...nlsBundles, (commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_20___default())]);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    color: "primary",
    disabled: selected,
    variant: "text",
    onClick: () => onSelect(entry)
  }, selected ? translate('selectedEntityLabel') : translate('selectEntity'));
};
EntrySelectButton.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.Entry).isRequired,
  selectedEntry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().oneOfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.entryPropType, prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.entryPropType)]),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.nlsBundlesPropType
};
const createDefaultQuery = (context, rdfType) => {
  const query = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newSolrQuery();
  if (context) {
    query.context(context);
  }
  if (rdfType) {
    query.rdfType(rdfType);
  }
  return query;
};
const SelectEntryList = _ref2 => {
  let {
      infoFields,
      placeholderProps = {},
      getTitleProps,
      queryResults,
      nlsBundles,
      filterProps,
      SelectComponent = commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.ListItemButtonAction,
      getSelectComponentProps,
      listActions = []
    } = _ref2,
    listProps = _objectWithoutProperties(_ref2, _excluded);
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.EntryListView, _extends({}, queryResults, {
    status: filterProps !== null && filterProps !== void 0 && filterProps.isLoading ? commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_19__.PENDING : queryResults.status,
    nlsBundles: nlsBundles,
    includeFilters: filterProps === null || filterProps === void 0 ? void 0 : filterProps.hasFilters,
    filtersProps: filterProps,
    viewPlaceholderProps: placeholderProps,
    listActions: listActions
  }, listProps, {
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.TITLE_COLUMN), {}, {
      xs: 8,
      headerNlsKey: 'selectEntryListHeaderLabel'
    }, getTitleProps ? {
      getProps: getTitleProps
    } : {}), _objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.MODIFIED_COLUMN), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.INFO_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_15__.LIST_ACTION_INFO), {}, {
            entry,
            Dialog: infoFields ? commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_16__["default"] : commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_22__["default"],
            fields: infoFields,
            titleNlsKey: 'infoDialogHeader',
            nlsBundles
          })
        };
      }
    }), {
      id: 'select-entry',
      xs: 1,
      Component: SelectComponent,
      getProps: getSelectComponentProps
    }]
  }));
};
SelectEntryList.propTypes = {
  infoFields: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({})),
  placeholderProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  getTitleProps: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.nlsBundlesPropType,
  queryResults: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    status: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)
  }),
  filterProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
    hasFilters: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool)
  }),
  SelectComponent: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  getSelectComponentProps: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  listActions: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}))
};
const SelectEntryDialog = _ref4 => {
  let {
      closeDialog,
      titleNlsKey = 'selectEntryTitle',
      rdfType,
      filters,
      createQuery: createCustomQuery,
      allContexts = false,
      nlsBundles,
      selectedEntry,
      onSelect,
      createActionProps
    } = _ref4,
    selectEntryListProps = _objectWithoutProperties(_ref4, _excluded2);
  const {
    context: currentContext
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_13__.useESContext)();
  const context = allContexts ? null : currentContext;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(nlsBundles);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_18__["default"])(filters, nlsBundles),
    {
      applyFilters,
      isLoading
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded3);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => createCustomQuery ? createCustomQuery() : createDefaultQuery(context, rdfType), [context, rdfType, createCustomQuery]);
  const applyQueryParams = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)((query, params) => {
    (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_10__.applyQueryParams)(query, params);
    applyFilters(query);
  }, [applyFilters]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.useSolrQuery)({
    createQuery,
    applyQueryParams,
    wait: isLoading
  });
  const getSelectButtonProps = _ref5 => {
    let {
      entry
    } = _ref5;
    return {
      ButtonComponent: EntrySelectButton,
      entry,
      selectedEntry,
      onSelect,
      nlsBundles
    };
  };
  const listActions = createActionProps !== null && createActionProps !== void 0 && createActionProps.Dialog ? [_objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_23__.ACTION_CREATE), {}, {
    nlsBundles
  }, createActionProps)] : [];
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_12__["default"], {
    id: "field-entry-chooser",
    closeDialog: closeDialog,
    closeDialogButtonLabel: translate('close'),
    title: translate(titleNlsKey),
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(SelectEntryList, _extends({
    queryResults: queryResults,
    nlsBundles: nlsBundles,
    filterProps: filterProps,
    getSelectComponentProps: getSelectButtonProps,
    listActions: listActions
  }, selectEntryListProps)));
};
SelectEntryDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  titleNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  createQuery: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  rdfType: prop_types__WEBPACK_IMPORTED_MODULE_6___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_6___default().string), prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_6___default().string))]),
  filters: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({})),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.nlsBundlesPropType,
  allContexts: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().bool),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func),
  selectedEntry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().oneOfType([commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.entryPropType, prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_21__.entryPropType)]),
  createActionProps: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().elementType),
    tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string)
  })
};
const SelectEntryDialogWithListModel = _ref6 => {
  let {
      listModelProps
    } = _ref6,
    props = _objectWithoutProperties(_ref6, _excluded4);
  return (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.withListModelProvider)(SelectEntryDialog, () => listModelProps || {})(props);
};


/***/ },

/***/ "./modules/commons/components/forms/dialogs/SelectEntryDialog/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/dialogs/SelectEntryDialog/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectEntryDialog: () => (/* reexport safe */ _SelectEntryDialog__WEBPACK_IMPORTED_MODULE_0__.SelectEntryDialog),
/* harmony export */   SelectEntryList: () => (/* reexport safe */ _SelectEntryDialog__WEBPACK_IMPORTED_MODULE_0__.SelectEntryList)
/* harmony export */ });
/* harmony import */ var _SelectEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectEntryDialog */ "./modules/commons/components/forms/dialogs/SelectEntryDialog/SelectEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/AddFieldButton/AddFieldButton.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/AddFieldButton/AddFieldButton.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AddFieldButton: () => (/* binding */ AddFieldButton),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material/Add */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const AddFieldButton = _ref => {
  let {
    disabled,
    onClick,
    title,
    label
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_1__["default"], {
    onClick: onClick,
    "aria-label": title,
    title: title,
    disabled: disabled,
    variant: "text",
    color: "primary",
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_2__["default"], null)
  }, label);
};
AddFieldButton.propTypes = {
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddFieldButton);

/***/ },

/***/ "./modules/commons/components/forms/editors/AddFieldButton/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/AddFieldButton/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AddFieldButton: () => (/* reexport safe */ _AddFieldButton__WEBPACK_IMPORTED_MODULE_0__.AddFieldButton),
/* harmony export */   "default": () => (/* reexport safe */ _AddFieldButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _AddFieldButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddFieldButton */ "./modules/commons/components/forms/editors/AddFieldButton/AddFieldButton.js");



/***/ },

/***/ "./modules/commons/components/forms/editors/BlankEditor/BlankEditor.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/BlankEditor/BlankEditor.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BlankEditor: () => (/* binding */ BlankEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _hooks_useBlankEdit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks/useBlankEdit */ "./modules/commons/components/forms/editors/hooks/useBlankEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../FieldEditor */ "./modules/commons/components/forms/editors/FieldEditor/index.js");
/* harmony import */ var _Group__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Group */ "./modules/commons/components/forms/editors/Group/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "size", "graph", "resourceURI", "dispatch", "editors", "children", "nlsBundles", "translate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const BlankEditor = _ref => {
  let {
      property,
      size,
      graph,
      resourceURI,
      dispatch,
      editors,
      children,
      nlsBundles,
      translate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    blanks,
    labelId,
    addBlank
  } = (0,_hooks_useBlankEdit__WEBPACK_IMPORTED_MODULE_4__.useBlankEdit)({
    name: fieldsProps.name,
    property,
    mandatory: fieldsProps.mandatory,
    dispatch,
    graph,
    resourceURI
  });

  /**
   * Verify that editors included in group has any value. If not the group
   * should not be included in the graph.
   *
   * @param {object} _action
   * @param {object} blank
   */
  const handleEditorChange = (_action, blank) => {
    const blankNodeId = blank.getBlankNodeId();
    const hasValue = graph.findFirstValue(blankNodeId);
    if (hasValue) {
      blank.setAsserted(true);
      return;
    }
    blank.setAsserted(false);
  };
  if (!editors) {
    throw new Error('A group editor must have editors');
  }
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_5__.Fields, _extends({
    labelId: labelId,
    addField: addBlank
  }, fieldsProps), children, blanks.map(blank => {
    return /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_6__.Field, {
      key: blank.getId()
    }, /*#__PURE__*/React.createElement(_Group__WEBPACK_IMPORTED_MODULE_8__.Group, null, editors.map(editorConfig => {
      return /*#__PURE__*/React.createElement(_FieldEditor__WEBPACK_IMPORTED_MODULE_7__.FieldEditor, _extends({
        key: editorConfig.name || editorConfig.property,
        size: size,
        onChange: action => handleEditorChange(action, blank)
      }, editorConfig, {
        blankNodeId: blank.getBlankNodeId(),
        nlsBundles: nlsBundles,
        translate: translate
      }));
    })));
  }));
};
BlankEditor.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  editors: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.nlsBundlesPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/BlankEditor/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/BlankEditor/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BlankEditor: () => (/* reexport safe */ _BlankEditor__WEBPACK_IMPORTED_MODULE_0__.BlankEditor)
/* harmony export */ });
/* harmony import */ var _BlankEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BlankEditor */ "./modules/commons/components/forms/editors/BlankEditor/BlankEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/CheckboxEditor/CheckboxEditor.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/CheckboxEditor/CheckboxEditor.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CheckboxEditor: () => (/* binding */ CheckboxEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _utils_nodetypes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _FieldsLabel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../FieldsLabel */ "./modules/commons/components/forms/editors/FieldsLabel/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const CheckboxEditor = _ref => {
  let {
    name,
    property,
    nodetype,
    label,
    xs = 6,
    graph,
    resourceURI,
    initialValue,
    dispatch
  } = _ref;
  const {
    fields,
    labelId,
    updateValue
  } = (0,_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_8__.useFieldsEdit)({
    name,
    property,
    nodetype,
    graph,
    resourceURI,
    dispatch,
    initialValue,
    datatype: _utils_nodetypes__WEBPACK_IMPORTED_MODULE_7__.XSD_BOOLEAN
  });
  const [field] = fields;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    container: true,
    size: {
      xs
    }
  }, /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_9__.FieldsWrapper, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    display: "flex",
    alignItems: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    inputProps: {
      'aria-labelledby': labelId
    },
    color: "primary",
    checked: field.getValue() === 'true',
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return updateValue(field, `${target.checked}`);
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    sx: {
      marginBottom: '-5px',
      cursor: 'pointer',
      userSelect: 'none'
    }
  }, /*#__PURE__*/React.createElement(_FieldsLabel__WEBPACK_IMPORTED_MODULE_10__.FieldsLabel, {
    onClick: () => updateValue(field, field.getValue() === 'true' ? 'false' : 'true'),
    label: label,
    id: labelId
  }))))));
};
CheckboxEditor.propTypes = {
  name: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  initialValue: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/CheckboxEditor/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/CheckboxEditor/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CheckboxEditor: () => (/* reexport safe */ _CheckboxEditor__WEBPACK_IMPORTED_MODULE_0__.CheckboxEditor)
/* harmony export */ });
/* harmony import */ var _CheckboxEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CheckboxEditor */ "./modules/commons/components/forms/editors/CheckboxEditor/CheckboxEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/CheckboxesEditor/CheckboxesEditor.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/CheckboxesEditor/CheckboxesEditor.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CheckboxesEditor: () => (/* binding */ CheckboxesEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "nodetype", "label", "choices", "getChoices", "row", "disabled", "children", "graph", "resourceURI", "dispatch"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const CheckboxesEditor = _ref => {
  let {
      property,
      nodetype,
      label,
      choices: optionalChoices,
      getChoices,
      row = false,
      disabled,
      children,
      graph,
      resourceURI,
      dispatch
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    fields,
    addField,
    removeField,
    updateValue,
    error
  } = (0,_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_10__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    nodetype,
    graph,
    resourceURI,
    mandatory: fieldsProps.mandatory,
    dispatch,
    insertEmptyField: false
  });
  const choices = optionalChoices || (getChoices === null || getChoices === void 0 ? void 0 : getChoices(graph, property));
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  const handleChange = (checked, choiceValue) => {
    if (checked) {
      const field = addField();
      updateValue(field, choiceValue);
      return;
    }
    const fieldToRemove = fields.find(field => field.getValue() === choiceValue);
    removeField(fieldToRemove);
  };
  return (
    /*#__PURE__*/
    // eslint-disable-next-line react/jsx-props-no-spreading
    React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_11__.Fields, _extends({
      label: label
    }, fieldsProps), children, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      row: row
    }, choices.map(_ref2 => {
      let {
        value,
        label: choiceLabel
      } = _ref2;
      return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
        key: value,
        control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
          color: "primary",
          checked: Boolean(fields.find(field => field.getValue() === value)),
          onChange: _ref3 => {
            let {
              target
            } = _ref3;
            return handleChange(target.checked, value);
          }
        }),
        label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_9__.localizeLabel)(choiceLabel),
        name: value
      });
    })), error ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      error: true
    }, translate(error)) : null)
  );
};
CheckboxesEditor.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  getChoices: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  choices: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    label: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})])
  })),
  row: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/CheckboxesEditor/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/CheckboxesEditor/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CheckboxesEditor: () => (/* reexport safe */ _CheckboxesEditor__WEBPACK_IMPORTED_MODULE_0__.CheckboxesEditor)
/* harmony export */ });
/* harmony import */ var _CheckboxesEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CheckboxesEditor */ "./modules/commons/components/forms/editors/CheckboxesEditor/CheckboxesEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/EditSection/EditSection.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/EditSection/EditSection.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EditSection: () => (/* binding */ EditSection)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _EditSection_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./EditSection.scss */ "./modules/commons/components/forms/editors/EditSection/EditSection.scss");
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../FieldEditor */ "./modules/commons/components/forms/editors/FieldEditor/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }





const EditSection = _ref => {
  let {
    label,
    property,
    name,
    editors,
    nlsBundles,
    translate,
    size
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoFormEditSection"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    variant: "h2",
    id: `fields-label-${name || property}`,
    className: "escoFormEditSection__heading"
  }, label), editors.map(editorConfig => {
    return /*#__PURE__*/React.createElement(_FieldEditor__WEBPACK_IMPORTED_MODULE_5__.FieldEditor, _extends({
      key: editorConfig.property,
      nlsBundles: nlsBundles,
      translate: translate,
      size: size
    }, editorConfig));
  }));
};
EditSection.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  editors: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.nlsBundlesPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/EditSection/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/EditSection/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EditSection: () => (/* reexport safe */ _EditSection__WEBPACK_IMPORTED_MODULE_0__.EditSection)
/* harmony export */ });
/* harmony import */ var _EditSection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditSection */ "./modules/commons/components/forms/editors/EditSection/EditSection.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/EditorContext/EditorContext.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/EditorContext/EditorContext.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ADD_FIELD: () => (/* binding */ ADD_FIELD),
/* harmony export */   ADD_FIELDS: () => (/* binding */ ADD_FIELDS),
/* harmony export */   CHANGE: () => (/* binding */ CHANGE),
/* harmony export */   EditorProvider: () => (/* binding */ EditorProvider),
/* harmony export */   REFRESH: () => (/* binding */ REFRESH),
/* harmony export */   REMOVE_FIELD: () => (/* binding */ REMOVE_FIELD),
/* harmony export */   REMOVE_FIELD_GROUP: () => (/* binding */ REMOVE_FIELD_GROUP),
/* harmony export */   REMOVE_FIELD_GROUPS: () => (/* binding */ REMOVE_FIELD_GROUPS),
/* harmony export */   useCustomDispatch: () => (/* binding */ useCustomDispatch),
/* harmony export */   useEditorContext: () => (/* binding */ useEditorContext),
/* harmony export */   withEditorProvider: () => (/* binding */ withEditorProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _utils_validate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/validate */ "./modules/commons/components/forms/editors/utils/validate.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "graph", "resourceURI", "rootEditors"],
  _excluded2 = ["entry", "graph", "resourceURI"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const ADD_FIELD = 'ADD_FIELD';
const ADD_FIELDS = 'ADD_FIELDS';
const REMOVE_FIELD = 'REMOVE_FIELD';
const REMOVE_FIELD_GROUP = 'REMOVE_FIELD_GROUP';
const REMOVE_FIELD_GROUPS = 'REMOVE_FIELD_GROUPS';
const REFRESH = 'REFRESH';
const CHANGE = 'CHANGE';
const EditorContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_5__.createContext)();
const useEditorContext = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(EditorContext);
  if (!context) throw new Error('Editor context must be used within context provider');
  return context;
};

// Wrapper to extract onRemove and onChange callbacks from dispatch calls
const useCustomDispatch = _ref => {
  let {
    dispatch,
    field,
    onRemove,
    onChange
  } = _ref;
  const customDispatch = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(action => {
    const {
      type,
      value
    } = action;
    if (type === CHANGE && onChange) {
      onChange(field, value);
    } else if (type === REMOVE_FIELD && onRemove) {
      onRemove(field);
    }
    dispatch(action);
  }, [dispatch, field, onRemove, onChange]);
  return customDispatch;
};

/**
 * The reducer handles the fieldSet state, which is used to keep track of all
 * fields. This is for example needed when validating the form.
 *
 * @param {object} state
 * @param {object} action
 * @returns {object}
 */
const fieldsReducer = (state, action) => {
  switch (action.type) {
    case ADD_FIELD:
      {
        const {
          field,
          formType
        } = action;
        const {
          fieldSet
        } = state;
        fieldSet.add(field);
        if (!('formType' in action)) return _objectSpread({}, state);
        return _objectSpread(_objectSpread({}, state), {}, {
          formType,
          previousFormType: state.formType
        });
      }
    case ADD_FIELDS:
      {
        const {
          fields
        } = action;
        const {
          fieldSet
        } = state;
        for (const field of fields) {
          fieldSet.add(field);
        }
        return state;
      }
    case REMOVE_FIELD:
      {
        return _objectSpread({}, state);
      }
    case REMOVE_FIELD_GROUP:
      {
        const {
          field
        } = action;
        const {
          fieldSet
        } = state;
        fieldSet.delete(field);
        return _objectSpread({}, state);
      }
    case REMOVE_FIELD_GROUPS:
      {
        const {
          fieldGroups
        } = action;
        const {
          fieldSet
        } = state;
        fieldGroups.forEach(fieldGroup => {
          fieldGroup.remove();
          fieldSet.delete(fieldGroup);
        });
        return _objectSpread({}, state);
      }
    case REFRESH:
      {
        return _objectSpread({}, state);
      }
    case CHANGE:
      {
        const {
          formType
        } = action;
        if (!formType) return _objectSpread({}, state);

        // If a field group is dependent on form type, it should be reset if the
        // type changes
        if (state.previousFormType !== null) {
          state.fieldSet.forEach(fieldGroup => {
            if (!fieldGroup.getResetOnFormType()) return;
            fieldGroup.clear();
          });
        }
        return _objectSpread(_objectSpread({}, state), {}, {
          formType,
          previousFormType: state.formType
        });
      }
    default:
      return state;
  }
};
const EditorProvider = _ref2 => {
  let {
      entry,
      graph,
      resourceURI,
      rootEditors
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded);
  const [editGraph, setEditGraph] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null);
  const {
    runAsync,
    data: initialGraph
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__["default"])(null);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    // refreshes entry and makes a copy of the graph
    const refreshAndExportGraph = async entryToRefresh => {
      const refreshedEntryPromise = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.isNewEntry)(entryToRefresh) ? Promise.resolve(entryToRefresh) : (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.refreshEntry)(entryToRefresh);
      const refreshedEntry = await refreshedEntryPromise;
      return new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.Graph(refreshedEntry.getAllMetadata().exportRDFJSON());
    };

    // if initial graph provided
    if (graph) {
      setEditGraph(new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.Graph(graph.exportRDFJSON()));
      return;
    }
    runAsync(refreshAndExportGraph(entry));
  }, [runAsync, entry, graph]);
  const [{
    fieldSet,
    formType
  }, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useReducer)(fieldsReducer, {
    fieldSet: new Set(),
    formType: null,
    previousFormType: null,
    rootEditors
  });
  const validate = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    const errors = (0,_utils_validate__WEBPACK_IMPORTED_MODULE_10__.validateFieldSet)(fieldSet);
    dispatch({
      type: REFRESH
    });
    return errors;
  }, [fieldSet]);
  const canSubmit = fieldSet.size > 0 && Array.from(fieldSet).every(fieldGroup => !fieldGroup.hasError());
  return /*#__PURE__*/React.createElement(EditorContext.Provider, _extends({
    value: {
      entry,
      graph: editGraph || initialGraph,
      resourceURI: resourceURI || entry.getResourceURI(),
      setGraph: setEditGraph,
      dispatch,
      validate,
      fieldSet,
      formType,
      canSubmit,
      rootEditors
    }
  }, props));
};
EditorProvider.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.entryPropType,
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  rootEditors: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}))
};

// hoc to add EditorProvider
const withEditorProvider = (Component, rootEditors) =>
// eslint-disable-next-line react/prop-types
_ref3 => {
  let {
      entry,
      graph,
      resourceURI
    } = _ref3,
    props = _objectWithoutProperties(_ref3, _excluded2);
  return /*#__PURE__*/React.createElement(EditorProvider, {
    entry: entry,
    graph: graph,
    resourceURI: resourceURI,
    rootEditors: rootEditors
  }, /*#__PURE__*/React.createElement(Component, props));
};

/***/ },

/***/ "./modules/commons/components/forms/editors/EditorContext/index.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/EditorContext/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ADD_FIELD: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.ADD_FIELD),
/* harmony export */   ADD_FIELDS: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.ADD_FIELDS),
/* harmony export */   CHANGE: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.CHANGE),
/* harmony export */   EditorProvider: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.EditorProvider),
/* harmony export */   REFRESH: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.REFRESH),
/* harmony export */   REMOVE_FIELD: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.REMOVE_FIELD),
/* harmony export */   REMOVE_FIELD_GROUP: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.REMOVE_FIELD_GROUP),
/* harmony export */   REMOVE_FIELD_GROUPS: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.REMOVE_FIELD_GROUPS),
/* harmony export */   useCustomDispatch: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.useCustomDispatch),
/* harmony export */   useEditorContext: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.useEditorContext),
/* harmony export */   withEditorProvider: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_0__.withEditorProvider)
/* harmony export */ });
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditorContext */ "./modules/commons/components/forms/editors/EditorContext/EditorContext.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/Field/Field.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Field/Field.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Field: () => (/* binding */ Field),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _FieldControl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../FieldControl */ "./modules/commons/components/forms/editors/FieldControl/index.js");
/* harmony import */ var _Field_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Field.scss */ "./modules/commons/components/forms/editors/Field/Field.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children", "onRemove", "onClear", "size", "disabled"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const Field = _ref => {
  let {
      children,
      onRemove,
      onClear,
      size,
      disabled
    } = _ref,
    gridProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoField"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    width: "100%",
    container: true,
    alignItems: "center"
  }, gridProps), children), size > 1 ? /*#__PURE__*/React.createElement(_FieldControl__WEBPACK_IMPORTED_MODULE_3__.RemoveButton, {
    disabled: disabled,
    onClick: onRemove
  }) : null, size === 1 ? /*#__PURE__*/React.createElement(_FieldControl__WEBPACK_IMPORTED_MODULE_3__.ClearButton, {
    disabled: disabled,
    onClick: onClear
  }) : null);
};
Field.propTypes = {
  onClear: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Field);

/***/ },

/***/ "./modules/commons/components/forms/editors/Field/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Field/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Field: () => (/* reexport safe */ _Field__WEBPACK_IMPORTED_MODULE_0__.Field),
/* harmony export */   "default": () => (/* reexport safe */ _Field__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Field */ "./modules/commons/components/forms/editors/Field/Field.js");



/***/ },

/***/ "./modules/commons/components/forms/editors/FieldControl/FieldControl.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FieldControl/FieldControl.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClearButton: () => (/* binding */ ClearButton),
/* harmony export */   FieldControl: () => (/* binding */ FieldControl),
/* harmony export */   FieldControlButton: () => (/* binding */ FieldControlButton),
/* harmony export */   RemoveButton: () => (/* binding */ RemoveButton),
/* harmony export */   SearchButton: () => (/* binding */ SearchButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_icons_material_Cancel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material/Cancel */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cancel.js");
/* harmony import */ var _mui_icons_material_RemoveCircle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material/RemoveCircle */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/RemoveCircle.js");
/* harmony import */ var _mui_icons_material_Search__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material/Search */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _FieldControl_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./FieldControl.scss */ "./modules/commons/components/forms/editors/FieldControl/FieldControl.scss");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children", "marginLeft"],
  _excluded2 = ["children", "disabled", "tooltip", "ariaLabel", "onClick"],
  _excluded3 = ["marginLeft"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










const FieldControl = _ref => {
  let {
      children,
      marginLeft = 'auto'
    } = _ref,
    boxProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    className: "escoFieldControl",
    marginLeft: marginLeft
  }, boxProps), children);
};
FieldControl.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  marginLeft: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
const FieldControlButton = _ref2 => {
  let {
      children,
      disabled,
      tooltip,
      ariaLabel,
      onClick
    } = _ref2,
    fieldControlProps = _objectWithoutProperties(_ref2, _excluded2);
  return /*#__PURE__*/React.createElement(FieldControl, fieldControlProps, /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_9__["default"], {
    condition: !disabled && Boolean(tooltip),
    wrapper: tooltipChildren => /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__["default"], {
      title: tooltip
    }, tooltipChildren)
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    "aria-label": ariaLabel || tooltip,
    onClick: onClick,
    disabled: disabled
  }, children)));
};
FieldControlButton.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  ariaLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};
const RemoveButton = props => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  return /*#__PURE__*/React.createElement(FieldControlButton, _extends({
    tooltip: t('edit_remove')
  }, props), /*#__PURE__*/React.createElement(_mui_icons_material_RemoveCircle__WEBPACK_IMPORTED_MODULE_3__["default"], null));
};
const ClearButton = props => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  return /*#__PURE__*/React.createElement(FieldControlButton, _extends({
    tooltip: t('edit_clear')
  }, props), /*#__PURE__*/React.createElement(_mui_icons_material_Cancel__WEBPACK_IMPORTED_MODULE_2__["default"], null));
};
const SearchButton = _ref3 => {
  let {
      marginLeft = '0'
    } = _ref3,
    fieldControlButtonProps = _objectWithoutProperties(_ref3, _excluded3);
  return /*#__PURE__*/React.createElement(FieldControlButton, _extends({
    marginLeft: marginLeft
  }, fieldControlButtonProps), /*#__PURE__*/React.createElement(_mui_icons_material_Search__WEBPACK_IMPORTED_MODULE_4__["default"], {
    color: "primary"
  }));
};
SearchButton.propTypes = {
  marginLeft: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/FieldControl/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FieldControl/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClearButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_0__.ClearButton),
/* harmony export */   FieldControl: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_0__.FieldControl),
/* harmony export */   FieldControlButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_0__.FieldControlButton),
/* harmony export */   RemoveButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_0__.RemoveButton),
/* harmony export */   SearchButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_0__.SearchButton)
/* harmony export */ });
/* harmony import */ var _FieldControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldControl */ "./modules/commons/components/forms/editors/FieldControl/FieldControl.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/FieldEditor/FieldEditor.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FieldEditor/FieldEditor.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldEditor: () => (/* binding */ FieldEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../EditorContext */ "./modules/commons/components/forms/editors/EditorContext/index.js");
/* harmony import */ var _utils_editor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/editor */ "./modules/commons/components/forms/editors/utils/editor.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["Editor", "isVisible", "blankNodeId", "onChange", "label", "labelNlsKey", "translate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const defaultOnChange = () => {};
const FieldEditor = _ref => {
  let {
      Editor,
      isVisible = () => true,
      blankNodeId,
      onChange = defaultOnChange,
      label,
      labelNlsKey,
      translate
    } = _ref,
    editorProps = _objectWithoutProperties(_ref, _excluded);
  const {
    graph,
    resourceURI,
    dispatch
  } = (0,_EditorContext__WEBPACK_IMPORTED_MODULE_4__.useEditorContext)();
  const EditorComponent = Editor || (0,_utils_editor__WEBPACK_IMPORTED_MODULE_5__.getEditorComponent)(editorProps.nodetype, editorProps.datatype);
  const handleDispatch = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(action => {
    dispatch(action);
    onChange(action);
  }, [dispatch, onChange]);
  if (!graph) return null;
  if (!isVisible(graph, resourceURI) || !EditorComponent) return null;
  return /*#__PURE__*/React.createElement(EditorComponent, _extends({
    key: editorProps.property,
    graph: graph,
    resourceURI: blankNodeId || resourceURI
  }, editorProps, {
    translate: translate,
    label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_3__.localizeLabel)(label) || translate(labelNlsKey),
    dispatch: handleDispatch
  }));
};
FieldEditor.propTypes = {
  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})]),
  Editor: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  isVisible: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  blankNodeId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/FieldEditor/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FieldEditor/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldEditor: () => (/* reexport safe */ _FieldEditor__WEBPACK_IMPORTED_MODULE_0__.FieldEditor)
/* harmony export */ });
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldEditor */ "./modules/commons/components/forms/editors/FieldEditor/FieldEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/Fields/Fields.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Fields/Fields.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Fields: () => (/* binding */ Fields),
/* harmony export */   FieldsWrapper: () => (/* binding */ FieldsWrapper),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _AddFieldButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../AddFieldButton */ "./modules/commons/components/forms/editors/AddFieldButton/index.js");
/* harmony import */ var _FieldsLabel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../FieldsLabel */ "./modules/commons/components/forms/editors/FieldsLabel/index.js");
/* harmony import */ var _Fields_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Fields.scss */ "./modules/commons/components/forms/editors/Fields/Fields.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const FieldsWrapper = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "esmoFields"
  }, children);
};
FieldsWrapper.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
const Fields = _ref2 => {
  let {
    addField,
    label,
    labelId,
    mandatory,
    max,
    children
  } = _ref2;
  return /*#__PURE__*/React.createElement(FieldsWrapper, null, /*#__PURE__*/React.createElement(_FieldsLabel__WEBPACK_IMPORTED_MODULE_2__.FieldsLabel, {
    mandatory: mandatory,
    label: label,
    id: labelId
  }), children, max !== 1 ? /*#__PURE__*/React.createElement(_AddFieldButton__WEBPACK_IMPORTED_MODULE_1__.AddFieldButton, {
    onClick: addField,
    label: label,
    title: "Add"
  }) : null);
};
Fields.propTypes = {
  addField: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  labelId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  max: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Fields);

/***/ },

/***/ "./modules/commons/components/forms/editors/Fields/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Fields/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Fields: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_0__.Fields),
/* harmony export */   FieldsWrapper: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_0__.FieldsWrapper),
/* harmony export */   "default": () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Fields */ "./modules/commons/components/forms/editors/Fields/Fields.js");



/***/ },

/***/ "./modules/commons/components/forms/editors/FieldsLabel/FieldsLabel.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FieldsLabel/FieldsLabel.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldsLabel: () => (/* binding */ FieldsLabel),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const FieldsLabel = _ref => {
  let {
    label,
    id,
    mandatory = false,
    onClick
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_1__.FieldsLabel, {
    label: label,
    id: id,
    onClick: onClick
  }, mandatory && label ? /*#__PURE__*/React.createElement("span", {
    className: "escoFieldsLabel_marker"
  }, /*#__PURE__*/React.createElement("span", {
    "aria-hidden": true
  }, "*")) : null);
};
FieldsLabel.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  id: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FieldsLabel);

/***/ },

/***/ "./modules/commons/components/forms/editors/FieldsLabel/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FieldsLabel/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldsLabel: () => (/* reexport safe */ _FieldsLabel__WEBPACK_IMPORTED_MODULE_0__.FieldsLabel),
/* harmony export */   "default": () => (/* reexport safe */ _FieldsLabel__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _FieldsLabel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldsLabel */ "./modules/commons/components/forms/editors/FieldsLabel/FieldsLabel.js");



/***/ },

/***/ "./modules/commons/components/forms/editors/Form/Form.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Form/Form.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Form: () => (/* binding */ Form)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../FieldEditor */ "./modules/commons/components/forms/editors/FieldEditor/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["name", "labelNlsKey"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const Form = _ref => {
  let {
    nlsBundles,
    fields,
    size,
    FieldGroupEditor = _FieldEditor__WEBPACK_IMPORTED_MODULE_3__.FieldEditor,
    editorProps = {}
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement("form", {
    autoComplete: "off"
  }, fields.map(_ref2 => {
    let {
        name,
        labelNlsKey
      } = _ref2,
      fieldProps = _objectWithoutProperties(_ref2, _excluded);
    return /*#__PURE__*/React.createElement(FieldGroupEditor, _extends({
      key: name || fieldProps.property,
      size: size,
      translate: translate,
      nlsBundles: nlsBundles,
      label: translate(labelNlsKey),
      name: name
    }, editorProps, fieldProps));
  }));
};
Form.propTypes = {
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.nlsBundlesPropType,
  fields: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  FieldGroupEditor: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  editorProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})
};

/***/ },

/***/ "./modules/commons/components/forms/editors/Form/index.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Form/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Form: () => (/* reexport safe */ _Form__WEBPACK_IMPORTED_MODULE_0__.Form)
/* harmony export */ });
/* harmony import */ var _Form__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Form */ "./modules/commons/components/forms/editors/Form/Form.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/FormOutline/FormOutline.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FormOutline/FormOutline.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FormOutline: () => (/* binding */ FormOutline)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/util */ "./modules/commons/components/rdforms/RdformsOutline/util.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Clear.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useIntersect__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useIntersect */ "./modules/commons/components/rdforms/RdformsOutline/useIntersect.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch */ "./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../EditorContext */ "./modules/commons/components/forms/editors/EditorContext/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















// eslint-disable-next-line max-len




const FormOutline = _ref => {
  let {
    root,
    formClassName = 'escoFormEditSection',
    errors = []
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_19__.useTranslation)([(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_18___default()), (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22___default())]);
  const {
    graph,
    resourceURI,
    rootEditors
  } = (0,_EditorContext__WEBPACK_IMPORTED_MODULE_24__.useEditorContext)();
  const {
    searchQuery,
    onSearchQueryChange,
    clearSearch
  } = (0,commons_components_rdforms_RdformsOutline_useRdformsOutlineSearch__WEBPACK_IMPORTED_MODULE_21__["default"])();
  const [observedVisibility, setObservedElements] = (0,commons_components_rdforms_RdformsOutline_useIntersect__WEBPACK_IMPORTED_MODULE_20__.useIntersect)(root, formClassName);
  const formItems = (0,react__WEBPACK_IMPORTED_MODULE_8__.useMemo)(() => {
    if (!graph) return [];
    const includedFormItems = [];
    rootEditors.forEach(rootEditor => {
      const {
        editors
      } = rootEditor;
      const includedEditors = editors === null || editors === void 0 ? void 0 : editors.filter(_ref2 => {
        let {
          isVisible,
          labelNlsKey
        } = _ref2;
        const fieldGroup = isVisible ? isVisible(graph, resourceURI) : true;
        if (!fieldGroup) return false;
        if (searchQuery) {
          const label = translate(labelNlsKey);
          return label.toLowerCase().includes(searchQuery.trim());
        }
        return true;
      });
      if (!includedEditors.length) return;
      const items = [rootEditor, ...includedEditors].map((_ref3, index) => {
        let {
          name,
          labelNlsKey
        } = _ref3;
        return {
          id: name,
          labelId: `fields-label-${name}`,
          label: translate(labelNlsKey),
          indented: index !== 0
        };
      });
      includedFormItems.push(...items);
    });
    return includedFormItems;
  }, [graph, resourceURI, rootEditors, searchQuery, translate]);
  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => {
    if (!formItems.length) return;
    const maxRetries = 10;
    let retryCount = 0;

    // Make sure element is available in the DOM. Could use mutation observer
    // instead, but this solution is easier to control with simpler logic.
    const getOrWaitForElement = async id => {
      if (retryCount > maxRetries) {
        console.log(`Tried to find element ${id} but gave up.`);
        return;
      }
      const element = document.getElementById(id);
      if (!element) {
        await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_23__["default"])(100);
        retryCount += 1;
        return getOrWaitForElement(id);
      }
      return element;
    };
    const getElementsToObserve = async () => {
      const elements = [];
      for (const formItem of formItems) {
        const element = await getOrWaitForElement(formItem.labelId);
        if (element) {
          elements.push(element);
        }
      }
      setObservedElements(elements);
    };
    getElementsToObserve();
    return () => {
      retryCount = maxRetries;
    };
  }, [formItems, setObservedElements]);
  const handleLinkClick = (event, id) => {
    event.preventDefault();
    (0,commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__.scrollToElement)(id, root, formClassName);
    (0,commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__.highlightElement)(id);
  };
  const handleKeyDown = (event, id) => {
    if (event.key !== 'Enter') return;
    (0,commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__.scrollToElement)(id, root, formClassName);
    (0,commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__.highlightElement)(id);
    // Timeout is necessary, moving the focus interrupts the scrolling behaviour
    setTimeout(() => (0,commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__.moveFocusToLabel)(id), 600);
  };
  const listItemsRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)();
  return /*#__PURE__*/React.createElement("div", {
    className: "escoRdformsOutline"
  },
  // using outlineItems here cause formItems change depending on query
  formItems.length > 0 || searchQuery ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    value: searchQuery,
    placeholder: translate('fieldOutlineSearchPlaceholder'),
    classes: {
      root: 'escoSearchInput'
    },
    onChange: onSearchQueryChange,
    inputProps: {
      'aria-label': 'Search'
    },
    startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
      position: "start",
      classes: {
        root: 'escoSearchInput__adornment'
      }
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_16__["default"], null)),
    endAdornment: searchQuery ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
      position: "end"
    }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_17__["default"], {
      title: translate('fieldOutlineClearTooltip')
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
      "aria-label": translate('fieldOutlineClearTooltip'),
      onClick: clearSearch,
      onMouseDown: e => e.preventDefault(),
      color: "secondary"
    }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_15__["default"], null)))) : null
  }) : null,
  // eslint-disable-next-line no-nested-ternary
  formItems.length ? /*#__PURE__*/React.createElement("nav", {
    className: "escoRdformsOutline__navigation"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    ref: listItemsRef,
    dense: true
  }, formItems.map(_ref4 => {
    let {
      id,
      labelId,
      label,
      editLabel,
      indented
    } = _ref4;
    const isInvalid = errors.includes(id);
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
      id: `${labelId}_outline`,
      key: `rdformsOutline-listItem-${id}-${label}`,
      classes: {
        root: (0,commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__.getOutlineItemClasses)((0,commons_components_rdforms_RdformsOutline_util__WEBPACK_IMPORTED_MODULE_7__.isActive)(labelId, observedVisibility), indented, isInvalid)
      }
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
      key: `rdformsOutline-link-${id}`,
      href: `#${labelId}`,
      noWrap: true,
      onClick: event => handleLinkClick(event, labelId),
      onKeyDown: event => handleKeyDown(event, labelId)
    }, editLabel || label));
  }))) : searchQuery ? /*#__PURE__*/React.createElement("div", {
    className: "escoRdformsOutline__searchPlaceholder",
    role: "status"
  }, translate('fieldOutlineNoSearchResults')) : null);
};
FormOutline.propTypes = {
  root: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  formClassName: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  fieldSet: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({}),
  errors: prop_types__WEBPACK_IMPORTED_MODULE_6___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_6___default().string))
};

/***/ },

/***/ "./modules/commons/components/forms/editors/FormOutline/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FormOutline/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FormOutline: () => (/* reexport safe */ _FormOutline__WEBPACK_IMPORTED_MODULE_0__.FormOutline)
/* harmony export */ });
/* harmony import */ var _FormOutline__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FormOutline */ "./modules/commons/components/forms/editors/FormOutline/FormOutline.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/Group/Group.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Group/Group.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Group: () => (/* binding */ Group)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _Group_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Group.scss */ "./modules/commons/components/forms/editors/Group/Group.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["direction", "children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const Group = _ref => {
  let {
      direction = 'column',
      children
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    container: true,
    direction: direction,
    className: "escoFormGroup"
  }, props), children);
};
Group.propTypes = {
  direction: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/Group/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Group/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Group: () => (/* reexport safe */ _Group__WEBPACK_IMPORTED_MODULE_0__.Group)
/* harmony export */ });
/* harmony import */ var _Group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Group */ "./modules/commons/components/forms/editors/Group/Group.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/GroupEditor/GroupEditor.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/GroupEditor/GroupEditor.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GroupEditor: () => (/* binding */ GroupEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../FieldEditor */ "./modules/commons/components/forms/editors/FieldEditor/index.js");
/* harmony import */ var _Group__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Group */ "./modules/commons/components/forms/editors/Group/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["direction", "editors", "children", "translate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const GroupEditor = _ref => {
  let {
      direction,
      editors,
      children,
      translate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const labelId = `fields-label-${fieldsProps.name}`;
  if (!editors) {
    throw new Error('A group editor must have editors');
  }
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_2__.Fields, _extends({
    labelId: labelId
  }, fieldsProps), children, /*#__PURE__*/React.createElement(_Group__WEBPACK_IMPORTED_MODULE_4__.Group, {
    direction: direction
  }, editors.map(editorConfig => {
    return /*#__PURE__*/React.createElement(_FieldEditor__WEBPACK_IMPORTED_MODULE_3__.FieldEditor, _extends({
      key: editorConfig.property,
      translate: translate
    }, editorConfig));
  })));
};
GroupEditor.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  direction: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  editors: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/GroupEditor/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/GroupEditor/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GroupEditor: () => (/* reexport safe */ _GroupEditor__WEBPACK_IMPORTED_MODULE_0__.GroupEditor)
/* harmony export */ });
/* harmony import */ var _GroupEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GroupEditor */ "./modules/commons/components/forms/editors/GroupEditor/GroupEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/LanguageLiteralEditor/LanguageLiteralEditor.js"
/*!*************************************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/LanguageLiteralEditor/LanguageLiteralEditor.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageLiteralEditor: () => (/* binding */ LanguageLiteralEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/forms/utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _TextField__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../TextField */ "./modules/commons/components/forms/editors/TextField/index.js");
/* harmony import */ var _LanguageSelect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../LanguageSelect */ "./modules/commons/components/forms/editors/LanguageSelect/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "xs", "size", "multiline", "graph", "resourceURI", "dispatch", "onChange", "error", "helperText", "children", "validate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










const LanguageLiteralEditor = _ref => {
  let {
      property,
      xs = 8,
      size,
      multiline,
      graph,
      resourceURI,
      dispatch,
      onChange,
      error,
      helperText,
      children,
      validate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_3___default()));
  const {
    fields,
    labelId,
    addField,
    removeField,
    updateValue,
    updateLanguage: _updateLanguage
  } = (0,_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_6__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    mandatory: fieldsProps.mandatory,
    dispatch,
    onChange,
    nodetype: commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_5__.LANGUAGE_LITERAL,
    graph,
    resourceURI,
    validate
  });
  const clearValueAndLanguage = field => {
    updateValue(field, '');
    _updateLanguage(field, '');
  };
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_7__.Fields, _extends({
    labelId: labelId,
    addField: addField
  }, fieldsProps), children, fields.map(field => {
    return /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_8__.Field, {
      key: field.getId(),
      size: fields.length,
      spacing: 2,
      onRemove: () => removeField(field),
      onClear: () => clearValueAndLanguage(field, '')
    }, /*#__PURE__*/React.createElement(_TextField__WEBPACK_IMPORTED_MODULE_9__.TextField, {
      xs: xs,
      inputProps: {
        'aria-labelledby': labelId
      },
      onChange: _ref2 => {
        let {
          target
        } = _ref2;
        return updateValue(field, target.value);
      },
      value: field.getValue() || '',
      error: error || field.hasError(),
      helperText: helperText || (field.hasError() ? t(field.getError()) : ''),
      size: size,
      multiline: multiline
    }), /*#__PURE__*/React.createElement(_LanguageSelect__WEBPACK_IMPORTED_MODULE_10__.LanguageSelect, {
      labelId: labelId,
      language: field.getLanguage() || '',
      updateLanguage: _ref3 => {
        let {
          target
        } = _ref3;
        return _updateLanguage(field, target.value);
      },
      helperText: error || field.hasError() ? ' ' : '',
      size: size
    }));
  }));
};
LanguageLiteralEditor.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  multiline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  validate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/LanguageLiteralEditor/index.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/LanguageLiteralEditor/index.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageLiteralEditor: () => (/* reexport safe */ _LanguageLiteralEditor__WEBPACK_IMPORTED_MODULE_0__.LanguageLiteralEditor)
/* harmony export */ });
/* harmony import */ var _LanguageLiteralEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LanguageLiteralEditor */ "./modules/commons/components/forms/editors/LanguageLiteralEditor/LanguageLiteralEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/LanguageSelect/LanguageSelect.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/LanguageSelect/LanguageSelect.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageSelect: () => (/* binding */ LanguageSelect),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getLanguages: () => (/* binding */ getLanguages),
/* harmony export */   getLanguagesWithDivider: () => (/* binding */ getLanguagesWithDivider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var _Select__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Select */ "./modules/commons/components/forms/editors/Select/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const {
  cloneArrayWithLabels
} = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__.utils;
const DIVIDER = {
  label: '─────',
  value: '_none'
};

/**
 *
 * @returns {Object[]}
 */
const getPrimaryLanguages = () => {
  return cloneArrayWithLabels(_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__.renderingContext.getPrimaryLanguageList());
};

/**
 *
 * @returns {Object[]}
 */
const getNonPrimaryLanguages = () => {
  return cloneArrayWithLabels(_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__.renderingContext.getNonPrimaryLanguageList());
};

/**
 *
 * @returns {Object[]}
 */
const getLanguages = () => {
  return [...getPrimaryLanguages(), ...getNonPrimaryLanguages()];
};

/**
 *
 * @returns {Object[]}
 */
const getLanguagesWithDivider = () => {
  const primaryLanguages = getPrimaryLanguages();
  const divider = primaryLanguages.length ? [_objectSpread({}, DIVIDER)] : [];
  return [...primaryLanguages, ...divider, ...getNonPrimaryLanguages()];
};
const LanguageSelect = _ref => {
  let {
    xs = 4,
    labelId,
    language,
    updateLanguage,
    helperText,
    size
  } = _ref;
  const languages = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
    return getLanguagesWithDivider();
  }, []);
  return /*#__PURE__*/React.createElement(_Select__WEBPACK_IMPORTED_MODULE_6__.Select, {
    xs: xs,
    labelId: labelId,
    value: language,
    choices: languages,
    onChange: updateLanguage,
    size: size,
    helperText: helperText
  });
};
LanguageSelect.propTypes = {
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  labelId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  updateLanguage: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LanguageSelect);

/***/ },

/***/ "./modules/commons/components/forms/editors/LanguageSelect/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/LanguageSelect/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageSelect: () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_0__.LanguageSelect),
/* harmony export */   "default": () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   getLanguages: () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_0__.getLanguages),
/* harmony export */   getLanguagesWithDivider: () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_0__.getLanguagesWithDivider)
/* harmony export */ });
/* harmony import */ var _LanguageSelect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LanguageSelect */ "./modules/commons/components/forms/editors/LanguageSelect/LanguageSelect.js");



/***/ },

/***/ "./modules/commons/components/forms/editors/LiteralEditor/LiteralEditor.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/LiteralEditor/LiteralEditor.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LiteralEditor: () => (/* binding */ LiteralEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/forms/utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _TextField__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../TextField */ "./modules/commons/components/forms/editors/TextField/index.js");
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../EditorContext */ "./modules/commons/components/forms/editors/EditorContext/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "xs", "size", "children", "multiline", "graph", "resourceURI", "dispatch", "nodetype", "validate", "fieldsCount", "renderInlineContent", "renderControls", "disabled", "error", "helperText"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










const LiteralEditor = _ref => {
  let {
      property,
      xs = 8,
      size,
      children,
      multiline,
      graph,
      resourceURI,
      dispatch,
      nodetype = commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__.LITERAL,
      validate,
      fieldsCount,
      renderInlineContent,
      renderControls,
      disabled,
      error,
      helperText
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    fields,
    fieldGroup,
    labelId,
    addField,
    removeField,
    removeGroup,
    updateValue
  } = (0,_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_6__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    nodetype,
    graph,
    resourceURI,
    dispatch,
    mandatory: fieldsProps.mandatory,
    validate
  });
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const handleRemove = field => {
    // Workaround to handle remove when a literal editor is part of an ordered
    // list, as is the case of constraint values. In this case the whole group
    // should be removed.
    if (fieldsCount && fieldsCount > 0 && fieldsProps.max === 1) {
      removeGroup();
      dispatch({
        type: _EditorContext__WEBPACK_IMPORTED_MODULE_10__.REMOVE_FIELD
      });
      return;
    }
    removeField(field);
  };
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_7__.Fields, _extends({
    labelId: labelId,
    addField: addField
  }, fieldsProps), renderInlineContent ? renderInlineContent(fieldGroup) : null, children, fields.map(field => {
    return /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_8__.Field, {
      key: field.getId(),
      size: fieldsCount || fields.length,
      onRemove: () => handleRemove(field),
      onClear: () => updateValue(field, '')
    }, /*#__PURE__*/React.createElement(_TextField__WEBPACK_IMPORTED_MODULE_9__.TextField, {
      xs: xs,
      disabled: disabled,
      inputProps: {
        'aria-labelledby': labelId
      },
      onChange: _ref2 => {
        let {
          target
        } = _ref2;
        return updateValue(field, target.value);
      },
      value: field.getValue() || '',
      size: size,
      multiline: multiline,
      error: error || field.hasError(),
      helperText: helperText || (field.hasError() ? t(field.getError()) : '')
    }), renderControls ? renderControls() : null);
  }));
};
LiteralEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  multiline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  validate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  fieldsCount: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  renderInlineContent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  renderControls: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/LiteralEditor/index.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/LiteralEditor/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LiteralEditor: () => (/* reexport safe */ _LiteralEditor__WEBPACK_IMPORTED_MODULE_0__.LiteralEditor)
/* harmony export */ });
/* harmony import */ var _LiteralEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LiteralEditor */ "./modules/commons/components/forms/editors/LiteralEditor/LiteralEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/OrderedFieldsEditor/OrderedFieldsEditor.js"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/OrderedFieldsEditor/OrderedFieldsEditor.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OrderedFieldsEditor: () => (/* binding */ OrderedFieldsEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _mui_icons_material_ArrowDownward__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material/ArrowDownward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDownward.js");
/* harmony import */ var _mui_icons_material_ArrowUpward__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material/ArrowUpward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowUpward.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Select */ "./modules/commons/components/forms/editors/Select/index.js");
/* harmony import */ var _FieldControl__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../FieldControl */ "./modules/commons/components/forms/editors/FieldControl/index.js");
/* harmony import */ var _utils_choices__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/choices */ "./modules/commons/components/forms/editors/utils/choices.js");
/* harmony import */ var _utils_nodetypes__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var _hooks_useOrderedFieldsEdit__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../hooks/useOrderedFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useOrderedFieldsEdit.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["size", "choices", "property", "graph", "resourceURI"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }














const OrderedFieldsEditor = _ref => {
  let {
      size,
      choices,
      property,
      graph,
      resourceURI
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    addField,
    fieldGroup,
    labelId,
    removeField,
    moveField,
    updateValue
  } = (0,_hooks_useOrderedFieldsEdit__WEBPACK_IMPORTED_MODULE_15__.useOrderedFieldsEdit)(_objectSpread({
    property,
    graph,
    resourceURI
  }, fieldsProps));
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const fields = fieldGroup.getFields();
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_10__.Fields, _extends({
    labelId: labelId,
    addField: addField
  }, fieldsProps), fields.map((field, index) => {
    return /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_9__.Field, {
      key: field.getId(),
      size: fields.length,
      onRemove: () => removeField(field),
      onClear: () => updateValue(field, '')
    }, /*#__PURE__*/React.createElement(_Select__WEBPACK_IMPORTED_MODULE_11__.Select, {
      labelId: labelId,
      value: field.getValue(),
      size: size,
      choices: (0,_utils_choices__WEBPACK_IMPORTED_MODULE_13__.expandChoices)(choices, _utils_nodetypes__WEBPACK_IMPORTED_MODULE_14__.URI),
      onChange: _ref2 => {
        let {
          target
        } = _ref2;
        return updateValue(field, target.value);
      }
    }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      size: {
        xs: 4
      }
    }, field.getOrder() > 1 ? /*#__PURE__*/React.createElement(_FieldControl__WEBPACK_IMPORTED_MODULE_12__.FieldControlButton, {
      marginLeft: "0",
      tooltip: t('moveUpTooltip'),
      onClick: () => moveField(field, index, index - 1)
    }, /*#__PURE__*/React.createElement(_mui_icons_material_ArrowUpward__WEBPACK_IMPORTED_MODULE_5__["default"], null)) : null, field.getOrder() < fields.length ? /*#__PURE__*/React.createElement(_FieldControl__WEBPACK_IMPORTED_MODULE_12__.FieldControlButton, {
      marginLeft: "0",
      tooltip: t('moveDownTooltip'),
      onClick: () => moveField(field, index, index + 1)
    }, /*#__PURE__*/React.createElement(_mui_icons_material_ArrowDownward__WEBPACK_IMPORTED_MODULE_4__["default"], null)) : null));
  }));
};
OrderedFieldsEditor.propTypes = {
  size: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  choices: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/OrderedFieldsEditor/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/OrderedFieldsEditor/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OrderedFieldsEditor: () => (/* reexport safe */ _OrderedFieldsEditor__WEBPACK_IMPORTED_MODULE_0__.OrderedFieldsEditor)
/* harmony export */ });
/* harmony import */ var _OrderedFieldsEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OrderedFieldsEditor */ "./modules/commons/components/forms/editors/OrderedFieldsEditor/OrderedFieldsEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/RadioEditor/RadioEditor.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/RadioEditor/RadioEditor.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RadioEditor: () => (/* binding */ RadioEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _RadioGroup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../RadioGroup */ "./modules/commons/components/forms/editors/RadioGroup/index.js");
/* harmony import */ var _utils_choices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/choices */ "./modules/commons/components/forms/editors/utils/choices.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "choices", "nodetype", "label", "xs", "disabled", "row", "size", "children", "graph", "resourceURI", "dispatch", "isFormType", "initialValue", "translate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










// Note that if choices should be expanded, nodetype must be specified as URI.
const RadioEditor = _ref => {
  let {
      property,
      choices,
      nodetype,
      label,
      xs,
      disabled,
      row,
      size,
      children,
      graph,
      resourceURI,
      dispatch,
      isFormType,
      initialValue,
      translate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const translateError = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  const {
    fields,
    labelId,
    addField,
    removeField,
    updateValue
  } = (0,_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_5__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    nodetype,
    graph,
    resourceURI,
    dispatch,
    mandatory: fieldsProps.mandatory,
    initialValue,
    isFormType
  });
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_6__.Fields, _extends({
    label: label,
    labelId: labelId,
    addField: addField
  }, fieldsProps), children, fields.map(field => {
    return /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_7__.Field, {
      key: field.getId(),
      disabled: disabled,
      size: fields.length,
      onRemove: () => removeField(field),
      onClear: () => updateValue(field, '')
    }, /*#__PURE__*/React.createElement(_RadioGroup__WEBPACK_IMPORTED_MODULE_8__.RadioGroup, {
      xs: xs,
      labelId: labelId,
      choices: (0,_utils_choices__WEBPACK_IMPORTED_MODULE_9__.normalizeChoices)(choices, nodetype, translate),
      onChange: _ref2 => {
        let {
          target
        } = _ref2;
        return updateValue(field, target.value);
      },
      value: field.getValue(),
      row: row,
      size: size,
      errorText: field.hasError() ? translateError(field.getError()) : ''
    }));
  }));
};
RadioEditor.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  choices: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})).isRequired,
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  row: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  isFormType: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  initialValue: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/RadioEditor/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/RadioEditor/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RadioEditor: () => (/* reexport safe */ _RadioEditor__WEBPACK_IMPORTED_MODULE_0__.RadioEditor)
/* harmony export */ });
/* harmony import */ var _RadioEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RadioEditor */ "./modules/commons/components/forms/editors/RadioEditor/RadioEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/RadioGroup/RadioGroup.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/RadioGroup/RadioGroup.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RadioGroup: () => (/* binding */ RadioGroup)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/FormLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/Radio.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var _RadioGroup_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./RadioGroup.scss */ "./modules/commons/components/forms/editors/RadioGroup/RadioGroup.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const RadioGroup = _ref => {
  let {
    xs = 12,
    label,
    labelId,
    choices,
    value,
    row,
    onChange,
    errorText
  } = _ref;
  const id = label ? `radio-group-${labelId}` : labelId;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: {
      xs
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    component: "fieldset",
    error: Boolean(errorText),
    className: "escoRadioGroup__control"
  }, label ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    id: id
  }, label) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    "aria-labelledby": id,
    name: `radio-buttons-group-${labelId}`,
    value: value,
    onChange: onChange,
    row: row
  }, choices.map(choice => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    key: choice.value,
    value: choice.value,
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null),
    label: choice.label
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], null, errorText)));
};
RadioGroup.propTypes = {
  choices: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    value: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
    label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  })),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  labelId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  value: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
  xs: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
  row: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  errorText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/RadioGroup/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/RadioGroup/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RadioGroup: () => (/* reexport safe */ _RadioGroup__WEBPACK_IMPORTED_MODULE_0__.RadioGroup)
/* harmony export */ });
/* harmony import */ var _RadioGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RadioGroup */ "./modules/commons/components/forms/editors/RadioGroup/RadioGroup.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/Select/Select.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Select/Select.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Select: () => (/* binding */ Select),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const Select = _ref => {
  let {
    xs = 8,
    disabled,
    error,
    helperText: customHelperText,
    label,
    labelId,
    choices,
    value,
    size,
    onChange
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const selectedChoice = choices.find(choice => choice.value === value);
  const isInvalid = Boolean(!disabled && value && !selectedChoice);
  const helperText = isInvalid ? translate('invalidValueError') : customHelperText;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: {
      xs
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    variant: "filled",
    error: error || isInvalid,
    fullWidth: true
  }, label ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    id: labelId
  }, label) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    disabled: disabled,
    inputProps: labelId ? {
      'aria-labelledby': labelId
    } : null,
    value: value,
    onChange: onChange,
    size: size,
    renderValue: () => isInvalid ? value : selectedChoice === null || selectedChoice === void 0 ? void 0 : selectedChoice.label
  }, choices.map(choice => choice === null ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    key: "_none",
    value: "_none",
    disabled: true
  }, "\u2500\u2500\u2500\u2500\u2500") : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    key: choice.id || choice.value,
    value: choice.value
  }, choice.label || '\u00A0'))), helperText ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, helperText) : null));
};
Select.propTypes = {
  choices: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    id: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    value: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.entryPropType]),
    label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  })),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  labelId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  value: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.entryPropType]),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Select);

/***/ },

/***/ "./modules/commons/components/forms/editors/Select/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Select/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Select: () => (/* reexport safe */ _Select__WEBPACK_IMPORTED_MODULE_0__.Select),
/* harmony export */   "default": () => (/* reexport safe */ _Select__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Select__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Select */ "./modules/commons/components/forms/editors/Select/Select.js");



/***/ },

/***/ "./modules/commons/components/forms/editors/SelectEditor/SelectEditor.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/SelectEditor/SelectEditor.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectEditor: () => (/* binding */ SelectEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _Select__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Select */ "./modules/commons/components/forms/editors/Select/index.js");
/* harmony import */ var _utils_choices__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/choices */ "./modules/commons/components/forms/editors/utils/choices.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["property", "choices", "getChoices", "nodetype", "xs", "disabled", "size", "children", "graph", "resourceURI", "dispatch", "onChange", "resetOnFormType", "confirmChange", "error", "helperText", "validate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









const SelectEditor = _ref => {
  let {
      property,
      choices: optionalChoices,
      getChoices,
      nodetype,
      xs,
      disabled,
      size,
      children,
      graph,
      resourceURI,
      dispatch,
      onChange,
      resetOnFormType,
      confirmChange,
      error,
      helperText,
      validate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const choices = optionalChoices || (getChoices === null || getChoices === void 0 ? void 0 : getChoices(graph, property));
  const {
    fields,
    labelId,
    addField,
    removeField,
    updateValue
  } = (0,_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_6__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    nodetype,
    graph,
    resourceURI,
    dispatch,
    onChange,
    mandatory: fieldsProps.mandatory,
    resetOnFormType,
    validate
  });
  const handleChange = async (field, value) => {
    if (confirmChange) {
      const proceed = await confirmChange(field, value);
      if (!proceed) return;
    }
    updateValue(field, value);
  };
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_7__.Fields, _extends({
    labelId: labelId,
    addField: addField
  }, fieldsProps), fields.map(field => {
    return /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_8__.Field, {
      key: field.getId(),
      disabled: disabled,
      size: fields.length,
      onRemove: () => removeField(field),
      onClear: () => updateValue(field, '')
    }, /*#__PURE__*/React.createElement(_Select__WEBPACK_IMPORTED_MODULE_9__.Select, {
      disabled: disabled,
      xs: xs,
      labelId: labelId,
      value: field.getValue(),
      choices: (0,_utils_choices__WEBPACK_IMPORTED_MODULE_10__.normalizeChoices)(choices, nodetype, translate),
      onChange: _ref2 => {
        let {
          target
        } = _ref2;
        return handleChange(field, target.value);
      },
      size: size,
      error: error || field.hasError(),
      helperText: helperText || (field.hasError() ? translate(field.getError()) : '')
    }));
  }));
};
SelectEditor.propTypes = {
  choices: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})),
  getChoices: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string).isRequired,
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string).isRequired,
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  resetOnFormType: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  confirmChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  validate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/SelectEditor/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/SelectEditor/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectEditor: () => (/* reexport safe */ _SelectEditor__WEBPACK_IMPORTED_MODULE_0__.SelectEditor)
/* harmony export */ });
/* harmony import */ var _SelectEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectEditor */ "./modules/commons/components/forms/editors/SelectEditor/SelectEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/SelectEntryEditor/SelectEntryEditor.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/SelectEntryEditor/SelectEntryEditor.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectEntryEditor: () => (/* binding */ SelectEntryEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _TextField__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../TextField */ "./modules/commons/components/forms/editors/TextField/index.js");
/* harmony import */ var _FieldControl__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../FieldControl */ "./modules/commons/components/forms/editors/FieldControl/index.js");
/* harmony import */ var _dialogs_SelectEntryDialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../dialogs/SelectEntryDialog */ "./modules/commons/components/forms/dialogs/SelectEntryDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["property", "size", "graph", "resourceURI", "dispatch", "nodetype", "Dialog", "dialogProps", "createActionProps", "selectEntryTooltipNlsKey", "nlsBundles", "resetOnFormType", "renderInlineContent", "isResourceURI", "error", "helperText", "onChange", "onRemove", "validate", "fieldsCount", "renderControls"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
















const SelectEntryEditor = _ref => {
  let {
      property,
      size,
      graph,
      resourceURI,
      dispatch,
      nodetype,
      Dialog = _dialogs_SelectEntryDialog__WEBPACK_IMPORTED_MODULE_19__.SelectEntryDialog,
      dialogProps = {},
      createActionProps,
      selectEntryTooltipNlsKey = 'selectEntryTooltip',
      nlsBundles,
      resetOnFormType,
      renderInlineContent,
      isResourceURI = true,
      error,
      helperText,
      onChange = () => {},
      onRemove = () => {},
      validate,
      fieldsCount = 1,
      renderControls
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)([...nlsBundles, (commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  const [showEntrySelectDialog, setShowEntrySelectDialog] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const [selectedEntry, setSelectedEntry] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)();
  const {
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__["default"])({
    data: null
  });
  const {
    fields: [field],
    labelId,
    updateValue,
    fieldGroup,
    removeGroup
  } = (0,_hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_14__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    mandatory: fieldsProps.mandatory,
    dispatch,
    nodetype,
    graph,
    resourceURI,
    resetOnFormType,
    validate
  });
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const getInitialEntry = () => {
      const uri = field.getValue();
      if (!uri) return Promise.resolve(null);
      const entryURI = isResourceURI ? commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntryURIFromURI(uri) : uri;
      return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.getOrIgnoreEntry)(entryURI);
    };
    runAsync(getInitialEntry().then(entry => setSelectedEntry(entry)));
  }, [runAsync, field, isResourceURI]);
  const onSelect = entry => {
    updateValue(field, isResourceURI ? entry.getResourceURI() : entry.getURI());
    setSelectedEntry(entry);
    setShowEntrySelectDialog(false);
    onChange(entry, fieldGroup);
  };
  const onClear = () => {
    updateValue(field, '');
    setSelectedEntry(null);
    onChange(null, fieldGroup);
  };
  const handleRemove = () => {
    onRemove();
    removeGroup();
  };
  if (status !== 'resolved') return null;
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_15__.Fields, _extends({
    labelId: labelId,
    addField: () => {},
    max: 1
  }, fieldsProps), renderInlineContent ? renderInlineContent(fieldGroup) : null, /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_16__.Field, {
    size: fieldsCount,
    onClear: onClear,
    onRemove: handleRemove
  }, /*#__PURE__*/React.createElement(_TextField__WEBPACK_IMPORTED_MODULE_17__.TextField, {
    disabled: true,
    required: true,
    xs: renderControls ? 6 : 7,
    inputProps: {
      'aria-labelledby': labelId
    },
    size: size,
    onChange: () => {},
    error: error || field.hasError(),
    helperText: helperText || (field.hasError() ? translate(field.getError()) : ''),
    value: selectedEntry ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabel)(selectedEntry) : ''
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    size: {
      xs: renderControls ? 1 : 4
    }
  }, createActionProps !== null && createActionProps !== void 0 && createActionProps.Dialog ? /*#__PURE__*/React.createElement(_FieldControl__WEBPACK_IMPORTED_MODULE_18__.FieldControlButton, {
    marginLeft: "0",
    tooltip: translate(selectEntryTooltipNlsKey),
    onClick: () => setShowEntrySelectDialog(true)
  }, /*#__PURE__*/React.createElement(commons_actions__WEBPACK_IMPORTED_MODULE_7__.SearchAndCreateIcon, {
    color: "primary"
  })) : /*#__PURE__*/React.createElement(_FieldControl__WEBPACK_IMPORTED_MODULE_18__.SearchButton, {
    tooltip: translate(selectEntryTooltipNlsKey),
    onClick: () => setShowEntrySelectDialog(true)
  })), renderControls ? renderControls() : null), showEntrySelectDialog ? /*#__PURE__*/React.createElement(Dialog, _extends({
    closeDialog: () => {
      setShowEntrySelectDialog(false);
    },
    selectedEntry: selectedEntry,
    onSelect: onSelect,
    nlsBundles: nlsBundles,
    createActionProps: createActionProps
  }, dialogProps)) : null);
};
SelectEntryEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node),
  dialogProps: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
  createActionProps: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().elementType),
    tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  }),
  selectEntryTooltipNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  resetOnFormType: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  renderInlineContent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  isResourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.nlsBundlesPropType,
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  validate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  renderControls: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  fieldsCount: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/SelectEntryEditor/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/SelectEntryEditor/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectEntryEditor: () => (/* reexport safe */ _SelectEntryEditor__WEBPACK_IMPORTED_MODULE_0__.SelectEntryEditor)
/* harmony export */ });
/* harmony import */ var _SelectEntryEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectEntryEditor */ "./modules/commons/components/forms/editors/SelectEntryEditor/SelectEntryEditor.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/SelectionListItem/SelectionListItem.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/SelectionListItem/SelectionListItem.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectionListItem: () => (/* binding */ SelectionListItem)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChevronRight.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandMore.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const SelectionListItem = _ref => {
  let {
    translate,
    selection,
    label,
    onClick,
    disabled
  } = _ref;
  const [expand, setExpand] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(true);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    divider: true,
    sx: {
      paddingLeft: 0,
      paddingRight: 0
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    alignItems: "center",
    size: {
      xs: 12
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    size: {
      xs: 1
    }
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_13__["default"], {
    title: expand ? translate('hideTooltip') : translate('showTooltip')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    onClick: () => setExpand(!expand)
  }, expand ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_11__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"], null)))), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListItemText, {
    xs: 5,
    primary: label
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListItemText, {
    xs: 2,
    secondary: selection.length
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListItemAction, {
    xs: 4,
    justifyContent: "end",
    alignItems: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "text",
    disabled: disabled,
    onClick: onClick,
    sx: {
      padding: 0
    }
  }, translate('editSelectionButton'))))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    sx: {
      padding: 0
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    in: expand,
    timeout: "auto",
    unmountOnExit: true,
    sx: {
      width: '100%'
    }
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.List, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    sx: {
      paddingLeft: 0,
      paddingRight: 0
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    size: {
      xs: 12
    }
  }, selection === null || selection === void 0 ? void 0 : selection.map(selectedEntry => /*#__PURE__*/React.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
    key: selectedEntry.id || selectedEntry.getId()
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListItemText, {
    xs: 1,
    secondary: ""
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_4__.ListItemText, {
    xs: 11,
    secondary: selectedEntry.label || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__.getLabel)(selectedEntry)
  })))))))));
};
SelectionListItem.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  selection: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/SelectionListItem/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/SelectionListItem/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectionListItem: () => (/* reexport safe */ _SelectionListItem__WEBPACK_IMPORTED_MODULE_0__.SelectionListItem)
/* harmony export */ });
/* harmony import */ var _SelectionListItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectionListItem */ "./modules/commons/components/forms/editors/SelectionListItem/SelectionListItem.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/Subform/Subform.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Subform/Subform.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Subform: () => (/* binding */ Subform)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _hooks_useBlankEdit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks/useBlankEdit */ "./modules/commons/components/forms/editors/hooks/useBlankEdit.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _utils_editorContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/editorContext */ "./modules/commons/components/forms/editors/utils/editorContext.js");
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../EditorContext */ "./modules/commons/components/forms/editors/EditorContext/index.js");
/* harmony import */ var _Subform_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Subform.scss */ "./modules/commons/components/forms/editors/Subform/Subform.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "rdfType", "property", "translate", "dispatch", "size", "label", "editors", "placeholderNlsKey", "children"],
  _excluded2 = ["Editor", "labelNlsKey"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









const Subform = _ref => {
  let {
      graph,
      resourceURI,
      rdfType,
      property,
      translate,
      dispatch,
      size,
      label,
      editors,
      placeholderNlsKey,
      children
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    fieldGroup: subformGroup,
    addBlank,
    labelId
  } = (0,_hooks_useBlankEdit__WEBPACK_IMPORTED_MODULE_7__.useBlankEdit)({
    name: fieldsProps.name,
    graph,
    resourceURI,
    rdfType,
    property,
    dispatch,
    insertEmptyField: false
  });
  const {
    fieldSet
  } = (0,_EditorContext__WEBPACK_IMPORTED_MODULE_11__.useEditorContext)();
  const handleClear = subform => {
    subform.clear();
    const fieldGroups = (0,_utils_editorContext__WEBPACK_IMPORTED_MODULE_10__.findGroupsByResourceURI)(fieldSet, subform.getBlankNodeId());
    for (const fieldGroup of fieldGroups) {
      fieldGroup.clear();
      fieldGroup.setError();
    }
    dispatch({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_11__.REFRESH
    });
  };
  const handleRemove = subform => {
    const fieldGroups = (0,_utils_editorContext__WEBPACK_IMPORTED_MODULE_10__.findGroupsByResourceURI)(fieldSet, subform.getBlankNodeId());
    subformGroup.removeField(subform);
    dispatch({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_11__.REMOVE_FIELD_GROUPS,
      fieldGroups
    });
  };
  const handleChildChange = subform => {
    const fieldGroups = (0,_utils_editorContext__WEBPACK_IMPORTED_MODULE_10__.findGroupsByResourceURI)(fieldSet, subform.getBlankNodeId());
    const hasValues = fieldGroups.some(fieldGroup => {
      return fieldGroup.hasValue();
    });
    if (!hasValues) {
      fieldGroups.forEach(fieldGroup => {
        fieldGroup.setError();
      });
    }
    subform.setAsserted(hasValues);
  };
  const validateSubform = (validate, subform) => {
    return required => {
      return validate(required && subform.isAsserted());
    };
  };
  const subforms = subformGroup.getFields();
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_8__.Fields, {
    labelId: labelId,
    label: label,
    addField: addBlank
  }, children, subforms.length ? subforms.map(subform => {
    return /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_9__.Field, {
      key: subform.getId(),
      size: subforms.length,
      onClear: () => handleClear(subform),
      onRemove: () => handleRemove(subform)
    }, /*#__PURE__*/React.createElement("div", {
      className: "escoSubformEditor"
    }, editors.map(_ref2 => {
      let {
          Editor,
          labelNlsKey
        } = _ref2,
        editorProps = _objectWithoutProperties(_ref2, _excluded2);
      return /*#__PURE__*/React.createElement(Editor, _extends({
        key: editorProps.name,
        label: translate(labelNlsKey),
        resourceURI: subform.getBlankNodeId(),
        graph: graph,
        size: size,
        onChange: () => handleChildChange(subform),
        dispatch: dispatch,
        validate: _validate => validateSubform(_validate, subform)
      }, editorProps));
    })));
  }) : /*#__PURE__*/React.createElement("div", {
    className: "escoSubformEditor"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoSubformEditor__placeholder"
  }, translate(placeholderNlsKey))));
};
Subform.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  placeholderNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  rdfType: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  editors: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/editors/Subform/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Subform/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Subform: () => (/* reexport safe */ _Subform__WEBPACK_IMPORTED_MODULE_0__.Subform)
/* harmony export */ });
/* harmony import */ var _Subform__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subform */ "./modules/commons/components/forms/editors/Subform/Subform.js");


/***/ },

/***/ "./modules/commons/components/forms/editors/TextField/TextField.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/TextField/TextField.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TextField: () => (/* binding */ TextField),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["xs", "size", "autoComplete"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const TextField = _ref => {
  let {
      xs = 8,
      size,
      autoComplete = 'off'
    } = _ref,
    textFieldProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    size: {
      xs
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    size: size,
    autoComplete: autoComplete
  }, textFieldProps)));
};
TextField.propTypes = {
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  autoComplete: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TextField);

/***/ },

/***/ "./modules/commons/components/forms/editors/TextField/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/TextField/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TextField: () => (/* reexport safe */ _TextField__WEBPACK_IMPORTED_MODULE_0__.TextField),
/* harmony export */   "default": () => (/* reexport safe */ _TextField__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _TextField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TextField */ "./modules/commons/components/forms/editors/TextField/TextField.js");



/***/ },

/***/ "./modules/commons/components/forms/editors/hooks/useBlankEdit.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/hooks/useBlankEdit.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useBlankEdit: () => (/* binding */ useBlankEdit)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _useFieldsEdit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _utils_nodetypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var _utils_BlankGroup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/BlankGroup */ "./modules/commons/components/forms/editors/utils/BlankGroup.js");

const _excluded = ["fieldGroup", "removeField", "addField"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const useBlankEdit = _ref => {
  let {
    graph,
    resourceURI,
    rdfType,
    name,
    property,
    dispatch,
    validate,
    insertEmptyField
  } = _ref;
  const _useFieldsEdit = (0,_useFieldsEdit__WEBPACK_IMPORTED_MODULE_1__.useFieldsEdit)({
      name,
      graph,
      resourceURI,
      rdfType,
      property,
      dispatch,
      nodetype: _utils_nodetypes__WEBPACK_IMPORTED_MODULE_2__.BLANK,
      FieldGroupClass: _utils_BlankGroup__WEBPACK_IMPORTED_MODULE_3__.BlankGroup,
      validate,
      insertEmptyField
    }),
    {
      fieldGroup,
      removeField,
      addField
    } = _useFieldsEdit,
    fieldEditResult = _objectWithoutProperties(_useFieldsEdit, _excluded);
  return _objectSpread(_objectSpread({}, fieldEditResult), {}, {
    blanks: fieldGroup.getFields(),
    removeBlank: removeField,
    addBlank: addField,
    fieldGroup
  });
};

/***/ },

/***/ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/hooks/useFieldsEdit.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useFieldsEdit: () => (/* binding */ useFieldsEdit)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var _utils_FieldGroup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/FieldGroup */ "./modules/commons/components/forms/editors/utils/FieldGroup.js");
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../EditorContext */ "./modules/commons/components/forms/editors/EditorContext/index.js");
const _excluded = ["property", "nodetype", "datatype", "graph", "dispatch", "onChange", "resourceURI", "validate", "mandatory", "insertEmptyField", "isFormType", "resetOnFormType", "FieldGroupClass"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const defaultDispatch = () => {};

/**
 *
 * @param {Object} editOptions
 * @returns {Object}
 */
const useFieldsEdit = _ref => {
  let {
      property,
      nodetype,
      datatype,
      graph,
      dispatch = defaultDispatch,
      onChange,
      resourceURI,
      validate,
      mandatory,
      insertEmptyField = true,
      isFormType = false,
      resetOnFormType = false,
      FieldGroupClass = _utils_FieldGroup__WEBPACK_IMPORTED_MODULE_5__.FieldGroup
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const [language] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_4__.useLanguage)();
  const [fieldGroup] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(new FieldGroupClass(_objectSpread({
    graph,
    datatype,
    resourceURI,
    property,
    nodetype,
    language,
    validate,
    mandatory,
    insertEmptyField,
    resetOnFormType
  }, props)));
  const isFieldGroupAdded = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    var _fieldGroup$getFields;
    if (isFieldGroupAdded.current) return;
    isFieldGroupAdded.current = true;
    dispatch(_objectSpread({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_6__.ADD_FIELD,
      field: fieldGroup
    }, isFormType ? {
      formType: (_fieldGroup$getFields = fieldGroup.getFields()[0]) === null || _fieldGroup$getFields === void 0 ? void 0 : _fieldGroup$getFields.getValue()
    } : {}));
  }, [dispatch, fieldGroup, isFormType]);
  const addField = () => {
    const field = fieldGroup.addField();
    dispatch({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REFRESH
    });
    return field;
  };
  const removeField = field => {
    fieldGroup.removeField(field);
    if (onChange) {
      onChange(field);
    }
    dispatch({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD
    });
  };
  const removeGroup = () => {
    fieldGroup.remove();
    dispatch({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD_GROUP,
      field: fieldGroup
    });
  };
  const updateValue = (field, value) => {
    field.setValue(value);
    fieldGroup.validate();
    if (onChange) {
      onChange(field, value);
    }
    dispatch(_objectSpread({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_6__.CHANGE
    }, isFormType ? {
      formType: value,
      value
    } : {
      value
    }));
  };
  const updateLanguage = (field, newLanguage) => {
    field.setLanguage(newLanguage);
    fieldGroup.validate();
    dispatch({
      type: _EditorContext__WEBPACK_IMPORTED_MODULE_6__.CHANGE
    });
  };

  // Make sure to remove the field group if no longer visible, to prevent it
  // from being validated.
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    return () => {
      if (resetOnFormType) {
        dispatch({
          type: _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD_GROUP,
          field: fieldGroup
        });
      }
    };
  }, [resetOnFormType, dispatch, fieldGroup]);
  return {
    addField,
    fields: fieldGroup.getFields(),
    fieldGroup,
    id: fieldGroup.id,
    labelId: fieldGroup.labelId,
    removeField,
    removeGroup,
    updateValue,
    updateLanguage,
    error: fieldGroup.error
  };
};

/***/ },

/***/ "./modules/commons/components/forms/editors/hooks/useOrderedFieldsEdit.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/hooks/useOrderedFieldsEdit.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useOrderedFieldsEdit: () => (/* binding */ useOrderedFieldsEdit)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../EditorContext */ "./modules/commons/components/forms/editors/EditorContext/index.js");
/* harmony import */ var _useFieldsEdit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _utils_OrderedFieldGroup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/OrderedFieldGroup */ "./modules/commons/components/forms/editors/utils/OrderedFieldGroup.js");

const _excluded = ["fieldGroup"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




/**
 *
 * @param {object} props
 * @returns {object}
 */
const useOrderedFieldsEdit = props => {
  const _useFieldsEdit = (0,_useFieldsEdit__WEBPACK_IMPORTED_MODULE_2__.useFieldsEdit)(_objectSpread(_objectSpread({}, props), {}, {
      FieldGroupClass: _utils_OrderedFieldGroup__WEBPACK_IMPORTED_MODULE_3__.OrderedFieldGroup
    })),
    {
      fieldGroup
    } = _useFieldsEdit,
    fieldEditResult = _objectWithoutProperties(_useFieldsEdit, _excluded);
  const {
    dispatch
  } = props;
  const moveField = (firstField, sourceIndex, targetIndex) => {
    fieldGroup.moveField(firstField, sourceIndex, targetIndex);
    if (dispatch) {
      dispatch({
        type: _EditorContext__WEBPACK_IMPORTED_MODULE_1__.REFRESH
      });
    }
  };
  return _objectSpread(_objectSpread({}, fieldEditResult), {}, {
    fieldGroup,
    moveField
  });
};

/***/ },

/***/ "./modules/commons/components/forms/editors/index.js"
/*!***********************************************************!*\
  !*** ./modules/commons/components/forms/editors/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ADD_FIELD: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.ADD_FIELD),
/* harmony export */   ADD_FIELDS: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.ADD_FIELDS),
/* harmony export */   AddFieldButton: () => (/* reexport safe */ _AddFieldButton__WEBPACK_IMPORTED_MODULE_0__.AddFieldButton),
/* harmony export */   BLANK: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.BLANK),
/* harmony export */   Blank: () => (/* reexport safe */ _utils_Blank__WEBPACK_IMPORTED_MODULE_32__.Blank),
/* harmony export */   BlankEditor: () => (/* reexport safe */ _BlankEditor__WEBPACK_IMPORTED_MODULE_1__.BlankEditor),
/* harmony export */   CHANGE: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.CHANGE),
/* harmony export */   CheckboxEditor: () => (/* reexport safe */ _CheckboxEditor__WEBPACK_IMPORTED_MODULE_2__.CheckboxEditor),
/* harmony export */   CheckboxesEditor: () => (/* reexport safe */ _CheckboxesEditor__WEBPACK_IMPORTED_MODULE_3__.CheckboxesEditor),
/* harmony export */   ClearButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_9__.ClearButton),
/* harmony export */   DATATYPE_LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.DATATYPE_LITERAL),
/* harmony export */   EditSection: () => (/* reexport safe */ _EditSection__WEBPACK_IMPORTED_MODULE_7__.EditSection),
/* harmony export */   EditorProvider: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.EditorProvider),
/* harmony export */   Field: () => (/* reexport safe */ _Field__WEBPACK_IMPORTED_MODULE_8__.Field),
/* harmony export */   FieldControl: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_9__.FieldControl),
/* harmony export */   FieldControlButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_9__.FieldControlButton),
/* harmony export */   FieldEditor: () => (/* reexport safe */ _FieldEditor__WEBPACK_IMPORTED_MODULE_10__.FieldEditor),
/* harmony export */   Fields: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_11__.Fields),
/* harmony export */   FieldsLabel: () => (/* reexport safe */ _FieldsLabel__WEBPACK_IMPORTED_MODULE_12__.FieldsLabel),
/* harmony export */   FieldsWrapper: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_11__.FieldsWrapper),
/* harmony export */   Form: () => (/* reexport safe */ _Form__WEBPACK_IMPORTED_MODULE_13__.Form),
/* harmony export */   FormOutline: () => (/* reexport safe */ _FormOutline__WEBPACK_IMPORTED_MODULE_14__.FormOutline),
/* harmony export */   GROUP: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.GROUP),
/* harmony export */   GroupEditor: () => (/* reexport safe */ _GroupEditor__WEBPACK_IMPORTED_MODULE_15__.GroupEditor),
/* harmony export */   LANGUAGE_LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.LANGUAGE_LITERAL),
/* harmony export */   LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.LITERAL),
/* harmony export */   LanguageLiteralEditor: () => (/* reexport safe */ _LanguageLiteralEditor__WEBPACK_IMPORTED_MODULE_16__.LanguageLiteralEditor),
/* harmony export */   LanguageSelect: () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_17__.LanguageSelect),
/* harmony export */   LiteralEditor: () => (/* reexport safe */ _LiteralEditor__WEBPACK_IMPORTED_MODULE_18__.LiteralEditor),
/* harmony export */   MISSING_VALUE: () => (/* reexport safe */ _utils_validate__WEBPACK_IMPORTED_MODULE_30__.MISSING_VALUE),
/* harmony export */   ONLY_LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.ONLY_LITERAL),
/* harmony export */   OrderedFieldsEditor: () => (/* reexport safe */ _OrderedFieldsEditor__WEBPACK_IMPORTED_MODULE_19__.OrderedFieldsEditor),
/* harmony export */   REFRESH: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REFRESH),
/* harmony export */   REMOVE_FIELD: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD),
/* harmony export */   REMOVE_FIELD_GROUP: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD_GROUP),
/* harmony export */   REMOVE_FIELD_GROUPS: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD_GROUPS),
/* harmony export */   REQUIRED_FIELD: () => (/* reexport safe */ _utils_validate__WEBPACK_IMPORTED_MODULE_30__.REQUIRED_FIELD),
/* harmony export */   RadioEditor: () => (/* reexport safe */ _RadioEditor__WEBPACK_IMPORTED_MODULE_22__.RadioEditor),
/* harmony export */   RadioGroup: () => (/* reexport safe */ _RadioGroup__WEBPACK_IMPORTED_MODULE_23__.RadioGroup),
/* harmony export */   RemoveButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_9__.RemoveButton),
/* harmony export */   SearchButton: () => (/* reexport safe */ _FieldControl__WEBPACK_IMPORTED_MODULE_9__.SearchButton),
/* harmony export */   Select: () => (/* reexport safe */ _Select__WEBPACK_IMPORTED_MODULE_24__.Select),
/* harmony export */   SelectEditor: () => (/* reexport safe */ _SelectEditor__WEBPACK_IMPORTED_MODULE_4__.SelectEditor),
/* harmony export */   SelectEntryEditor: () => (/* reexport safe */ _SelectEntryEditor__WEBPACK_IMPORTED_MODULE_20__.SelectEntryEditor),
/* harmony export */   SelectionListItem: () => (/* reexport safe */ _SelectionListItem__WEBPACK_IMPORTED_MODULE_5__.SelectionListItem),
/* harmony export */   Subform: () => (/* reexport safe */ _Subform__WEBPACK_IMPORTED_MODULE_21__.Subform),
/* harmony export */   TextField: () => (/* reexport safe */ _TextField__WEBPACK_IMPORTED_MODULE_25__.TextField),
/* harmony export */   URI: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.URI),
/* harmony export */   URI_ERROR: () => (/* reexport safe */ _utils_validate__WEBPACK_IMPORTED_MODULE_30__.URI_ERROR),
/* harmony export */   XSD_BOOLEAN: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__.XSD_BOOLEAN),
/* harmony export */   expandChoices: () => (/* reexport safe */ _utils_choices__WEBPACK_IMPORTED_MODULE_29__.expandChoices),
/* harmony export */   getAvailableChoices: () => (/* reexport safe */ _utils_choices__WEBPACK_IMPORTED_MODULE_29__.getAvailableChoices),
/* harmony export */   getEditorComponent: () => (/* reexport safe */ _utils_editor__WEBPACK_IMPORTED_MODULE_31__.getEditorComponent),
/* harmony export */   getLanguages: () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_17__.getLanguages),
/* harmony export */   getLanguagesWithDivider: () => (/* reexport safe */ _LanguageSelect__WEBPACK_IMPORTED_MODULE_17__.getLanguagesWithDivider),
/* harmony export */   localizeChoices: () => (/* reexport safe */ _utils_choices__WEBPACK_IMPORTED_MODULE_29__.localizeChoices),
/* harmony export */   normalizeChoices: () => (/* reexport safe */ _utils_choices__WEBPACK_IMPORTED_MODULE_29__.normalizeChoices),
/* harmony export */   useBlankEdit: () => (/* reexport safe */ _hooks_useBlankEdit__WEBPACK_IMPORTED_MODULE_28__.useBlankEdit),
/* harmony export */   useCustomDispatch: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.useCustomDispatch),
/* harmony export */   useEditorContext: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.useEditorContext),
/* harmony export */   useFieldsEdit: () => (/* reexport safe */ _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_26__.useFieldsEdit),
/* harmony export */   useOrderedFieldsEdit: () => (/* reexport safe */ _hooks_useOrderedFieldsEdit__WEBPACK_IMPORTED_MODULE_27__.useOrderedFieldsEdit),
/* harmony export */   validateField: () => (/* reexport safe */ _utils_validate__WEBPACK_IMPORTED_MODULE_30__.validateField),
/* harmony export */   validateFieldSet: () => (/* reexport safe */ _utils_validate__WEBPACK_IMPORTED_MODULE_30__.validateFieldSet),
/* harmony export */   withEditorProvider: () => (/* reexport safe */ _EditorContext__WEBPACK_IMPORTED_MODULE_6__.withEditorProvider)
/* harmony export */ });
/* harmony import */ var _AddFieldButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddFieldButton */ "./modules/commons/components/forms/editors/AddFieldButton/index.js");
/* harmony import */ var _BlankEditor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BlankEditor */ "./modules/commons/components/forms/editors/BlankEditor/index.js");
/* harmony import */ var _CheckboxEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CheckboxEditor */ "./modules/commons/components/forms/editors/CheckboxEditor/index.js");
/* harmony import */ var _CheckboxesEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CheckboxesEditor */ "./modules/commons/components/forms/editors/CheckboxesEditor/index.js");
/* harmony import */ var _SelectEditor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SelectEditor */ "./modules/commons/components/forms/editors/SelectEditor/index.js");
/* harmony import */ var _SelectionListItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SelectionListItem */ "./modules/commons/components/forms/editors/SelectionListItem/index.js");
/* harmony import */ var _EditorContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./EditorContext */ "./modules/commons/components/forms/editors/EditorContext/index.js");
/* harmony import */ var _EditSection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./EditSection */ "./modules/commons/components/forms/editors/EditSection/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Field */ "./modules/commons/components/forms/editors/Field/index.js");
/* harmony import */ var _FieldControl__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FieldControl */ "./modules/commons/components/forms/editors/FieldControl/index.js");
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FieldEditor */ "./modules/commons/components/forms/editors/FieldEditor/index.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Fields */ "./modules/commons/components/forms/editors/Fields/index.js");
/* harmony import */ var _FieldsLabel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./FieldsLabel */ "./modules/commons/components/forms/editors/FieldsLabel/index.js");
/* harmony import */ var _Form__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Form */ "./modules/commons/components/forms/editors/Form/index.js");
/* harmony import */ var _FormOutline__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./FormOutline */ "./modules/commons/components/forms/editors/FormOutline/index.js");
/* harmony import */ var _GroupEditor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./GroupEditor */ "./modules/commons/components/forms/editors/GroupEditor/index.js");
/* harmony import */ var _LanguageLiteralEditor__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./LanguageLiteralEditor */ "./modules/commons/components/forms/editors/LanguageLiteralEditor/index.js");
/* harmony import */ var _LanguageSelect__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./LanguageSelect */ "./modules/commons/components/forms/editors/LanguageSelect/index.js");
/* harmony import */ var _LiteralEditor__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./LiteralEditor */ "./modules/commons/components/forms/editors/LiteralEditor/index.js");
/* harmony import */ var _OrderedFieldsEditor__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./OrderedFieldsEditor */ "./modules/commons/components/forms/editors/OrderedFieldsEditor/index.js");
/* harmony import */ var _SelectEntryEditor__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./SelectEntryEditor */ "./modules/commons/components/forms/editors/SelectEntryEditor/index.js");
/* harmony import */ var _Subform__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./Subform */ "./modules/commons/components/forms/editors/Subform/index.js");
/* harmony import */ var _RadioEditor__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./RadioEditor */ "./modules/commons/components/forms/editors/RadioEditor/index.js");
/* harmony import */ var _RadioGroup__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./RadioGroup */ "./modules/commons/components/forms/editors/RadioGroup/index.js");
/* harmony import */ var _Select__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Select */ "./modules/commons/components/forms/editors/Select/index.js");
/* harmony import */ var _TextField__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./TextField */ "./modules/commons/components/forms/editors/TextField/index.js");
/* harmony import */ var _hooks_useFieldsEdit__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./hooks/useFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useFieldsEdit.js");
/* harmony import */ var _hooks_useOrderedFieldsEdit__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./hooks/useOrderedFieldsEdit */ "./modules/commons/components/forms/editors/hooks/useOrderedFieldsEdit.js");
/* harmony import */ var _hooks_useBlankEdit__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./hooks/useBlankEdit */ "./modules/commons/components/forms/editors/hooks/useBlankEdit.js");
/* harmony import */ var _utils_choices__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./utils/choices */ "./modules/commons/components/forms/editors/utils/choices.js");
/* harmony import */ var _utils_validate__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./utils/validate */ "./modules/commons/components/forms/editors/utils/validate.js");
/* harmony import */ var _utils_editor__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./utils/editor */ "./modules/commons/components/forms/editors/utils/editor.js");
/* harmony import */ var _utils_Blank__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./utils/Blank */ "./modules/commons/components/forms/editors/utils/Blank.js");
/* harmony import */ var _utils_nodetypes__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");



































/***/ },

/***/ "./modules/commons/components/forms/editors/utils/BaseField.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/BaseField.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BaseField: () => (/* binding */ BaseField)
/* harmony export */ });
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/set.js");
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");


class BaseField {
  constructor(_ref) {
    let {
      graph,
      validate = () => {},
      resourceURI,
      property,
      nodetype,
      mandatory
    } = _ref;
    // this._error;
    this._status = 'initial';
    this._id = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_2__.getUniqueId)('field-');
    this._graph = graph;
    this._resourceURI = resourceURI;
    this._validate = validate;
    this._property = property;
    this._nodetype = nodetype;
    this.isMandatory = mandatory;
    this._customProps = {};
  }
  getId() {
    return this._id;
  }
  getError() {
    return this._error;
  }
  setError(error) {
    this._error = error;
    const newStatus = error ? 'error' : 'ok';
    this._status = newStatus;
  }
  getStatus() {
    return this._status;
  }
  hasError() {
    return Boolean(this.getStatus() === 'error');
  }
  get(path) {
    return (0,lodash_es__WEBPACK_IMPORTED_MODULE_0__["default"])(this._customProps, path);
  }
  set(path, value) {
    (0,lodash_es__WEBPACK_IMPORTED_MODULE_1__["default"])(this._customProps, path, value);
  }
  getGraph() {
    return this._graph;
  }
  getResourceURI() {
    return this._resourceURI;
  }
  getProperty() {
    return this._property;
  }
  getNodetype() {
    return this._nodetype;
  }
  validate() {
    const validationError = this._validate(this);
    this.setError(validationError);
    return validationError;
  }
}

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/Blank.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/Blank.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Blank: () => (/* binding */ Blank)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _BaseField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BaseField */ "./modules/commons/components/forms/editors/utils/BaseField.js");
/* harmony import */ var _utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");




class Blank extends _BaseField__WEBPACK_IMPORTED_MODULE_2__.BaseField {
  constructor(_ref) {
    let {
      graph,
      resourceURI,
      property,
      blankNodeId,
      rdfType,
      validate,
      mandatory
    } = _ref;
    super({
      graph,
      resourceURI,
      validate,
      property,
      nodetype: _utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__.BLANK,
      mandatory
    });
    const [statement] = blankNodeId ? graph.find(resourceURI, property, {
      type: 'bnode',
      value: blankNodeId
    }) : [graph.create(resourceURI, property, null, false)];
    this._statement = statement;
    const [rdfTypeStatement] = graph.find(statement.getValue(), 'rdf:type', rdfType);
    if (rdfTypeStatement) {
      this._rdfTypeStatement = rdfTypeStatement;
    }
    if (!rdfTypeStatement && rdfType) {
      this._rdfTypeStatement = graph.create(statement.getValue(), 'rdf:type', rdfType, false);
    }
  }
  getBlankNodeId() {
    return this._statement.getValue();
  }
  clear() {
    this.setAsserted(false);
  }
  remove() {
    if (this._rdfTypeStatement) {
      this._graph.remove(this._rdfTypeStatement);
    }
    if (this._statement) {
      this._graph.remove(this._statement);
    }
  }
  setAsserted(value) {
    this._statement.setAsserted(value);
    if (this._rdfTypeStatement) {
      this._rdfTypeStatement.setAsserted(value);
    }
  }
  isAsserted() {
    return this._statement.isAsserted() && this._rdfTypeStatement.isAsserted();
  }
}

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/BlankGroup.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/BlankGroup.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BlankGroup: () => (/* binding */ BlankGroup)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _Blank__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Blank */ "./modules/commons/components/forms/editors/utils/Blank.js");
/* harmony import */ var _FieldGroup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FieldGroup */ "./modules/commons/components/forms/editors/utils/FieldGroup.js");





/**
 * @param {{graph: Graph, resourceURI: string, property: string}} props
 * @returns {string[]}
 */
const getInitialBlankNodeIds = _ref => {
  let {
    graph,
    resourceURI,
    property
  } = _ref;
  return graph.find(resourceURI, property).map(statement => {
    return statement.getValue();
  });
};

/**
 * @param {{graph: Graph, resourceURI: string, property: string, rdfType: string}} props
 * @returns {Blank[]}
 */
const getBlanks = _ref2 => {
  let {
    graph,
    resourceURI,
    property,
    rdfType,
    insertEmptyField
  } = _ref2;
  const blankNodeIds = getInitialBlankNodeIds({
    graph,
    resourceURI,
    property
  });
  if (blankNodeIds.length) {
    return blankNodeIds.map(blankNodeId => {
      return new _Blank__WEBPACK_IMPORTED_MODULE_2__.Blank({
        graph,
        resourceURI,
        property,
        rdfType,
        blankNodeId
      });
    });
  }
  return insertEmptyField ? [new _Blank__WEBPACK_IMPORTED_MODULE_2__.Blank({
    graph,
    resourceURI,
    property,
    rdfType
  })] : [];
};
class BlankGroup extends _FieldGroup__WEBPACK_IMPORTED_MODULE_3__.FieldGroup {
  constructor(fieldProperties) {
    super(fieldProperties);
    this.fields = getBlanks(fieldProperties);
  }
  addField() {
    const newField = new _Blank__WEBPACK_IMPORTED_MODULE_2__.Blank(this.fieldProperties);
    this.fields = [...this.fields, newField];
    return newField;
  }
}

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/Field.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/Field.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Field: () => (/* binding */ Field)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/forms/utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var _validate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./validate */ "./modules/commons/components/forms/editors/utils/validate.js");
/* harmony import */ var _BaseField__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BaseField */ "./modules/commons/components/forms/editors/utils/BaseField.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




/**
 *
 * @param {string} nodetype
 * @returns {string}
 */
const getTypeFromNodetype = nodetype => {
  switch (nodetype) {
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.DATATYPE_LITERAL:
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.LANGUAGE_LITERAL:
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.LITERAL:
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.ONLY_LITERAL:
      {
        return 'literal';
      }
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.URI:
      {
        return 'uri';
      }
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.BLANK:
      {
        return 'bnode';
      }
    default:
      throw new Error(`Unknow nodetype ${nodetype}`);
  }
};

/**
 *
 * @param {object} statementProperties
 * @returns {object}
 */
const createStatement = _ref => {
  let {
    graph,
    resourceURI,
    property,
    datatype,
    language,
    nodetype,
    initialValue
  } = _ref;
  const type = getTypeFromNodetype(nodetype);
  const statementObject = nodetype !== commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.BLANK ? _objectSpread(_objectSpread({
    value: initialValue || '',
    type
  }, datatype ? {
    datatype
  } : {}), nodetype === commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_1__.LANGUAGE_LITERAL ? {
    lang: language
  } : {}) : null;
  const statement = graph.create(resourceURI, property, statementObject, initialValue !== undefined && initialValue !== null || false);
  return statement;
};
class Field extends _BaseField__WEBPACK_IMPORTED_MODULE_3__.BaseField {
  constructor(_ref2) {
    let {
      statement,
      validate = _validate__WEBPACK_IMPORTED_MODULE_2__.validateField,
      graph,
      resourceURI,
      property,
      language,
      nodetype,
      datatype,
      mandatory,
      initialValue
    } = _ref2;
    super({
      graph,
      resourceURI,
      validate,
      property,
      nodetype,
      mandatory
    });
    this._statement = statement || createStatement({
      datatype,
      graph,
      resourceURI,
      property,
      language,
      nodetype,
      initialValue
    });
  }
  getValue() {
    return this._statement.getValue();
  }
  setValue(value) {
    if (value) {
      this._statement.setValue(value);
    }
    if (value && !this._statement.isAsserted()) {
      this._statement.setAsserted(true);
    }
    if (!value) {
      this._statement.setValue('');
      this._statement.setAsserted(false);
    }
  }
  clear() {
    this.setValue('');
  }
  remove() {
    if (this._statement) {
      this._graph.remove(this._statement);
    }
  }
  getLanguage() {
    return this._statement.getLanguage();
  }
  setLanguage(language) {
    this._statement.setLanguage(language);
  }
}

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/FieldGroup.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/FieldGroup.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldGroup: () => (/* binding */ FieldGroup)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Field */ "./modules/commons/components/forms/editors/utils/Field.js");
/* harmony import */ var _validate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./validate */ "./modules/commons/components/forms/editors/utils/validate.js");
const _excluded = ["validate"];



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



/**
 *
 * @param {object} fieldProperties
 * @returns {object[]}
 */
const getInitialFields = fieldProperties => {
  const {
    property,
    resourceURI,
    graph,
    insertEmptyField
  } = fieldProperties;
  if (!property) {
    throw new Error('Property is mandatory');
  }
  const statements = graph.find(resourceURI, property);
  if (!statements.length) {
    return insertEmptyField ? [new _Field__WEBPACK_IMPORTED_MODULE_3__.Field(fieldProperties)] : [];
  }
  return statements.map(statement => new _Field__WEBPACK_IMPORTED_MODULE_3__.Field(_objectSpread({
    statement
  }, fieldProperties)));
};

// Class for grouping edit fields using same type of rdf property. This makes it
// easier to for example validate the containing fields together.
class FieldGroup {
  constructor(_ref) {
    var _fieldProperties$min;
    let {
        validate: validateWrapper
      } = _ref,
      fieldProperties = _objectWithoutProperties(_ref, _excluded);
    const {
      name
    } = fieldProperties;
    const id = name;
    this.id = name;
    this.labelId = `fields-label-${id}`;
    this.fields = getInitialFields(fieldProperties);
    this.mandatory = fieldProperties.mandatory;
    this.resetOnFormType = fieldProperties.resetOnFormType;
    this.nodetype = fieldProperties.nodetype;
    this.min = (_fieldProperties$min = fieldProperties.min) !== null && _fieldProperties$min !== void 0 ? _fieldProperties$min : 1;
    this.fieldProperties = fieldProperties;
    if (validateWrapper) {
      this.validate = validateWrapper(this.validate.bind(this), this);
    }
  }
  _setFields(fields) {
    this.fields = fields;
  }
  setError(error) {
    this.error = error;
    for (const field of this.fields) {
      field.setError(this.error);
    }
  }
  validate(checkMandatory) {
    if (checkMandatory && this.mandatory && !this.hasValue()) {
      this.setError(_validate__WEBPACK_IMPORTED_MODULE_4__.REQUIRED_FIELD);
    } else {
      this.setError();
    }
    if (this.error) return this.error;
    const fieldError = this.fields.map(field => field.validate()).find(error => error);
    return fieldError;
  }
  addField() {
    const newField = new _Field__WEBPACK_IMPORTED_MODULE_3__.Field(this.fieldProperties);
    this.fields = [...this.fields, newField];
    return newField;
  }
  removeField(field) {
    field.remove();
    this.fields = this.fields.filter(thisField => thisField.getId() !== field.getId());
    this.validate();
    return field;
  }
  getFields() {
    return this.fields;
  }
  getResetOnFormType() {
    return this.resetOnFormType;
  }
  hasError() {
    if (this.error) return true;
    for (const field of this.fields) {
      if (field.hasError()) return true;
    }
    return false;
  }
  hasValue() {
    return Boolean(this.getFields().find(field => field.getValue()));
  }
  clear() {
    const clearedFields = [];
    this.getFields().forEach((field, index) => {
      if (index === 0 && this.min > 0 && field.clear) {
        field.clear();
        clearedFields.push(field);
        return;
      }
      field.remove();
    });
    this.fields = clearedFields;
  }
  remove() {
    this.getFields().forEach(field => {
      field.remove();
    });
    this.fields = [];
  }
  getResourceURI() {
    return this.fieldProperties.resourceURI;
  }
  getProperty() {
    return this.fieldProperties.property;
  }
}

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/OrderedField.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/OrderedField.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OrderedField: () => (/* binding */ OrderedField)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _Blank__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Blank */ "./modules/commons/components/forms/editors/utils/Blank.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Field */ "./modules/commons/components/forms/editors/utils/Field.js");
/* harmony import */ var _BaseField__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BaseField */ "./modules/commons/components/forms/editors/utils/BaseField.js");
const _excluded = ["graph", "resourceURI", "property", "blankNodeId", "orderProperty", "order", "valueProperty", "rdfType", "nodetype", "includeValue"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








/**
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @param {string} orderProperty
 * @param {number} order
 * @returns {Statement}
 */
const getOrderStatement = function getOrderStatement(graph, blankNodeId, orderProperty) {
  let order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
  const [orderStatement] = graph.find(blankNodeId, orderProperty);
  if (orderStatement) return orderStatement;
  return graph.create(blankNodeId, orderProperty, {
    type: 'literal',
    value: `${order}`,
    datatype: 'xsd:integer'
  }, false);
};
class OrderedField extends _BaseField__WEBPACK_IMPORTED_MODULE_6__.BaseField {
  constructor(_ref) {
    let {
        graph,
        resourceURI,
        property,
        blankNodeId,
        orderProperty,
        order,
        valueProperty = 'rdf:value',
        rdfType,
        nodetype,
        includeValue = true
      } = _ref,
      fieldProperties = _objectWithoutProperties(_ref, _excluded);
    super({
      graph,
      resourceURI,
      nodetype,
      property
    });
    this._blank = new _Blank__WEBPACK_IMPORTED_MODULE_4__.Blank({
      graph,
      resourceURI,
      property,
      blankNodeId,
      rdfType
    });
    this._blankNodeId = this._blank.getBlankNodeId();
    this._orderStatement = getOrderStatement(graph, this._blankNodeId, orderProperty, order);
    this._valueField = includeValue ? new _Field__WEBPACK_IMPORTED_MODULE_5__.Field(_objectSpread(_objectSpread({}, fieldProperties), {}, {
      statement: graph.find(this._blankNodeId, valueProperty)[0],
      graph,
      resourceURI: this._blankNodeId,
      property: valueProperty,
      nodetype
    })) : null;
  }
  remove() {
    if (this._valueField) {
      this._valueField.remove();
    }
    this._blank.remove();
    this._graph.remove(this._orderStatement);
  }
  getOrder() {
    return parseInt(this._orderStatement.getValue(), 10);
  }
  setOrder(orderValue) {
    this._orderStatement.setValue(`${orderValue}`);
  }
  getValue() {
    if (this._valueField) return this._valueField.getValue();
  }
  setValue(value) {
    if (this._valueField) {
      this._valueField.setValue(value);
    }
    if (value) {
      this._blank.setAsserted(true);
      this._orderStatement.setAsserted(true);
    }
    if (!value) {
      this._blank.setAsserted(false);
      this._orderStatement.setAsserted(false);
    }
  }
  getBlank() {
    return this._blank;
  }
  getValueField() {
    return this._valueField;
  }
  setAsserted(asserted) {
    this._orderStatement.setAsserted(asserted);
    this._blank.setAsserted(asserted);
  }
  validate() {
    if (!this._valueField) return;
    this._valueField.validate();
  }
  getError() {
    return this === null || this === void 0 ? void 0 : this._valueField.getError();
  }
  getStatus() {
    return this === null || this === void 0 ? void 0 : this._valueField.getStatus();
  }
  hasError() {
    if (!this._valueField) return false;
    return this._valueField.hasError();
  }
}

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/OrderedFieldGroup.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/OrderedFieldGroup.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OrderedFieldGroup: () => (/* binding */ OrderedFieldGroup)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _OrderedField__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OrderedField */ "./modules/commons/components/forms/editors/utils/OrderedField.js");
/* harmony import */ var _FieldGroup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./FieldGroup */ "./modules/commons/components/forms/editors/utils/FieldGroup.js");




function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



/**
 *
 * @param {object} fieldProperties
 * @returns {object[]}
 */
const createInitialFields = fieldProperties => {
  const {
    property,
    resourceURI,
    graph,
    insertEmptyField
  } = fieldProperties;
  if (!property) {
    throw new Error('Property is mandatory');
  }
  const statements = graph.find(resourceURI, property);
  if (!statements.length) {
    return insertEmptyField ? [new _OrderedField__WEBPACK_IMPORTED_MODULE_4__.OrderedField(fieldProperties)] : [];
  }
  return statements.map(statement => new _OrderedField__WEBPACK_IMPORTED_MODULE_4__.OrderedField(_objectSpread({
    blankNodeId: statement.getValue()
  }, fieldProperties)));
};

// Class for grouping edit fields using same type of rdf property. This makes it
// easier to for example validate the containing fields together.
class OrderedFieldGroup extends _FieldGroup__WEBPACK_IMPORTED_MODULE_5__.FieldGroup {
  constructor(fieldProperties) {
    super(fieldProperties);
    this.fields = createInitialFields(fieldProperties);
    this._sortByOrder();
  }
  _updateOrderValues() {
    this.fields.forEach((field, index) => {
      field.setOrder(index + 1);
    });
  }
  _sortByOrder() {
    this.fields.sort((field1, field2) => {
      return field1.getOrder() - field2.getOrder();
    });
  }
  addField() {
    const newField = new _OrderedField__WEBPACK_IMPORTED_MODULE_4__.OrderedField(_objectSpread(_objectSpread({}, this.fieldProperties), {}, {
      order: this.fields.length + 1
    }));
    this.fields = [...this.fields, newField];
    return newField;
  }
  moveField(firstField, sourceIndex, targetIndex) {
    const newFields = [...this.fields];
    const secondField = newFields[targetIndex];
    newFields[targetIndex] = firstField;
    newFields[sourceIndex] = secondField;
    this._setFields(newFields);
    this._updateOrderValues();
  }
  removeField(field) {
    field.remove();
    this.fields = this.fields.filter(thisField => thisField.getId() !== field.getId());
    this._updateOrderValues();
    this.validate();
    return field;
  }
}

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/choices.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/choices.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   expandChoices: () => (/* binding */ expandChoices),
/* harmony export */   getAvailableChoices: () => (/* binding */ getAvailableChoices),
/* harmony export */   localizeChoices: () => (/* binding */ localizeChoices),
/* harmony export */   normalizeChoices: () => (/* binding */ normalizeChoices)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/forms/utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");

const _excluded = ["value"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




/**
 *  Expands choices if nodetype is URI
 *
 * @param {object[]} choices
 * @param {string} nodetype
 * @returns {object[]}
 */
const expandChoices = (choices, nodetype) => {
  if (nodetype !== commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__.URI) return choices;
  return choices.map(_ref => {
    let {
        value
      } = _ref,
      rest = _objectWithoutProperties(_ref, _excluded);
    return _objectSpread({
      value: _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.expand(value)
    }, rest);
  });
};

/**
 * Localizes labels of choices
 *
 * @param {object[]} choices
 * @param {Function} translate
 * @returns {object[]}
 */
const localizeChoices = (choices, translate) => {
  return choices.map(choice => {
    var _localizeLabel;
    const {
      label,
      labelNlsKey
    } = choice;
    return _objectSpread(_objectSpread({}, choice), {}, {
      label: (_localizeLabel = (0,commons_locale__WEBPACK_IMPORTED_MODULE_2__.localizeLabel)(label)) !== null && _localizeLabel !== void 0 ? _localizeLabel : translate(labelNlsKey)
    });
  });
};

/**
 *
 * @param {object[]} choices
 * @param {string} nodetype
 * @param {Function} translate
 * @returns {object[]}
 */
const normalizeChoices = (choices, nodetype, translate) => {
  const expandedChoices = expandChoices(choices, nodetype);
  return localizeChoices(expandedChoices, translate);
};

/**
 * Get available nodetypes
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {object[]} choices
 * @returns {object[]}
 */
const getAvailableChoices = (graph, resourceURI, choices) => {
  return choices.filter(_ref2 => {
    let {
      constrainedTo
    } = _ref2;
    if (!constrainedTo) return true;
    // TODO: use isType when 3.14 is merged to develop
    return constrainedTo.find(rdfType => {
      return graph.find(resourceURI, 'rdf:type', rdfType).length;
    });
  });
};

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/editor.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/editor.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getEditorComponent: () => (/* binding */ getEditorComponent)
/* harmony export */ });
/* harmony import */ var _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var _LiteralEditor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../LiteralEditor */ "./modules/commons/components/forms/editors/LiteralEditor/index.js");
/* harmony import */ var _LanguageLiteralEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../LanguageLiteralEditor */ "./modules/commons/components/forms/editors/LanguageLiteralEditor/index.js");
/* harmony import */ var _CheckboxEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../CheckboxEditor */ "./modules/commons/components/forms/editors/CheckboxEditor/index.js");
/* harmony import */ var _BlankEditor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../BlankEditor */ "./modules/commons/components/forms/editors/BlankEditor/index.js");
/* harmony import */ var _GroupEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../GroupEditor */ "./modules/commons/components/forms/editors/GroupEditor/index.js");







/**
 * Find a matching editor component based on nodetype.
 * @param {string} nodetype
 * @returns {Function|undefined}
 */
const getEditorComponent = (nodetype, datatype) => {
  if (!nodetype) {
    throw new Error('Nodetype missing');
  }
  switch (nodetype) {
    case _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL:
      {
        if (datatype === _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.XSD_BOOLEAN) return _CheckboxEditor__WEBPACK_IMPORTED_MODULE_3__.CheckboxEditor;
        return _LiteralEditor__WEBPACK_IMPORTED_MODULE_1__.LiteralEditor;
      }
    case _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.GROUP:
      {
        return _GroupEditor__WEBPACK_IMPORTED_MODULE_5__.GroupEditor;
      }
    case _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.BLANK:
      {
        return _BlankEditor__WEBPACK_IMPORTED_MODULE_4__.BlankEditor;
      }
    case _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.URI:
    case _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.LITERAL:
    case _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.ONLY_LITERAL:
      return _LiteralEditor__WEBPACK_IMPORTED_MODULE_1__.LiteralEditor;
    case _utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.LANGUAGE_LITERAL:
      return _LanguageLiteralEditor__WEBPACK_IMPORTED_MODULE_2__.LanguageLiteralEditor;
    default:
      console.error(`No editor found for nodetype ${nodetype}`);
      break;
  }
};

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/editorContext.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/editorContext.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   findGroupByProperty: () => (/* binding */ findGroupByProperty),
/* harmony export */   findGroupsByResourceURI: () => (/* binding */ findGroupsByResourceURI)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _FieldGroup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FieldGroup */ "./modules/commons/components/forms/editors/utils/FieldGroup.js");



/**
 * Find field groups in a field group set by matching resource uris
 *
 * @param {Set} fieldSet
 * @param {string} resourceURI
 * @returns {FieldGroup[]}
 */
const findGroupsByResourceURI = (fieldSet, resourceURI) => {
  const fieldGroups = [];
  fieldSet.forEach(fieldGroup => {
    if (fieldGroup.getResourceURI() === resourceURI) {
      fieldGroups.push(fieldGroup);
    }
  });
  return fieldGroups;
};

/**
 *
 * @param {Set} fieldSet
 * @param {string} property
 * @returns {FieldGroup|undefined}
 */
const findGroupByProperty = (fieldSet, property) => {
  return Array.from(fieldSet).find(fieldGroup => {
    return fieldGroup.getProperty() === property;
  });
};

/***/ },

/***/ "./modules/commons/components/forms/editors/utils/validate.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/utils/validate.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MISSING_VALUE: () => (/* binding */ MISSING_VALUE),
/* harmony export */   REQUIRED_FIELD: () => (/* binding */ REQUIRED_FIELD),
/* harmony export */   URI_ERROR: () => (/* binding */ URI_ERROR),
/* harmony export */   validateField: () => (/* binding */ validateField),
/* harmony export */   validateFieldSet: () => (/* binding */ validateFieldSet)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/forms/utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");




const REQUIRED_FIELD = 'requiredFieldError';
const MISSING_VALUE = 'missingValueError';
const URI_ERROR = 'uriValueError';

/**
 *
 * @param {object} field
 * @returns {string|undefined}
 */
const validateField = field => {
  if (field.getNodetype() === commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_3__.URI) {
    const uriValue = field.getValue();
    const uriError = uriValue && !(0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_2__.isUri)(uriValue);
    if (uriError) return URI_ERROR;
  }
};

/**
 *
 * @param {Set} fieldSet
 * @returns {string[]}
 */
const validateFieldSet = fieldSet => {
  const fields = Array.from(fieldSet.values());
  return fields.map(field => {
    var _field$validate;
    return (_field$validate = field.validate) === null || _field$validate === void 0 ? void 0 : _field$validate.call(field, true);
  }).filter(error => error);
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Choices/Choices.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Choices/Choices.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Choices: () => (/* binding */ Choices)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/presenters/Field/index.js");
/* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Text */ "./modules/commons/components/forms/presenters/Text/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "property", "choices", "ordered", "nodetype", "inline", "children", "translate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










/**
 *
 * @param {object[]} choices
 * @param {string} value
 * @param {Function} translate
 * @returns {string}
 */
const getChoiceLabel = (choices, value, translate) => {
  var _localizeLabel;
  const {
    label,
    labelNlsKey
  } = choices.find(_ref => {
    let {
      value: choiceValue
    } = _ref;
    return value === _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand(choiceValue);
  }) || {};
  return (_localizeLabel = (0,commons_locale__WEBPACK_IMPORTED_MODULE_6__.localizeLabel)(label)) !== null && _localizeLabel !== void 0 ? _localizeLabel : translate(labelNlsKey);
};

/**
 *
 * @param {Statement[]} statements
 * @param {Graph} graph
 * @returns {string[]}
 */
const getOrderedValues = (statements, graph) => {
  const orderedValues = statements.sort((statement1, statement2) => {
    return graph.findFirstValue(statement1.getValue(), models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ORDER) - graph.findFirstValue(statement2.getValue(), models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ORDER);
  }).map(statement => graph.findFirstValue(statement.getValue(), 'rdf:value'));
  return orderedValues;
};
const Choices = _ref2 => {
  let {
      graph,
      resourceURI,
      property,
      choices,
      ordered,
      nodetype,
      inline,
      children,
      translate
    } = _ref2,
    fieldsProps = _objectWithoutProperties(_ref2, _excluded);
  const statements = graph.find(resourceURI, property);
  const values = ordered ? getOrderedValues(statements, graph) : statements.map(statement => statement.getValue());
  return statements.length ? /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_7__.Fields, _extends({
    inline: inline
  }, fieldsProps), values.map((value, index) => {
    return (
      /*#__PURE__*/
      // eslint-disable-next-line react/no-array-index-key
      React.createElement(_Field__WEBPACK_IMPORTED_MODULE_8__.Field, {
        key: index,
        inline: inline
      }, /*#__PURE__*/React.createElement(_Text__WEBPACK_IMPORTED_MODULE_9__.Text, {
        text: choices ? getChoiceLabel(choices, value, translate) : value
      }))
    );
  }), children) : null;
};
Choices.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  choices: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})),
  ordered: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Choices/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Choices/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Choices: () => (/* reexport safe */ _Choices__WEBPACK_IMPORTED_MODULE_0__.Choices)
/* harmony export */ });
/* harmony import */ var _Choices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Choices */ "./modules/commons/components/forms/presenters/Choices/Choices.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/Field/Field.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Field/Field.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Field: () => (/* binding */ Field)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _Field_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Field.scss */ "./modules/commons/components/forms/presenters/Field/Field.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const Field = _ref => {
  let {
    inline,
    children,
    hideDivider = false
  } = _ref;
  return inline ? children : /*#__PURE__*/React.createElement("div", {
    className: `escoPresenterField ${hideDivider ? 'escoPresenterField--no-divider' : ''}`
  }, children);
};
Field.propTypes = {
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  hideDivider: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Field/index.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Field/index.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Field: () => (/* reexport safe */ _Field__WEBPACK_IMPORTED_MODULE_0__.Field)
/* harmony export */ });
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Field */ "./modules/commons/components/forms/presenters/Field/Field.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/Fields/Fields.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Fields/Fields.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Fields: () => (/* binding */ Fields),
/* harmony export */   FieldsWrapper: () => (/* binding */ FieldsWrapper),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _FieldsLabel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../FieldsLabel */ "./modules/commons/components/forms/presenters/FieldsLabel/index.js");
/* harmony import */ var _Fields_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Fields.scss */ "./modules/commons/components/forms/presenters/Fields/Fields.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const FieldsWrapper = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "esmoFieldsPresenter"
  }, children);
};
FieldsWrapper.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
const Fields = _ref2 => {
  let {
    label,
    inline,
    children
  } = _ref2;
  return /*#__PURE__*/React.createElement(FieldsWrapper, null, inline ? /*#__PURE__*/React.createElement(_FieldsLabel__WEBPACK_IMPORTED_MODULE_1__.FieldsLabel, {
    alignItems: "start",
    label: label ? `${label}: ` : ''
  }, /*#__PURE__*/React.createElement("span", {
    className: label ? 'esmoFieldsPresenter--inline' : ''
  }, children)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_FieldsLabel__WEBPACK_IMPORTED_MODULE_1__.FieldsLabel, {
    label: label
  }), /*#__PURE__*/React.createElement("div", null, children)));
};
Fields.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Fields);

/***/ },

/***/ "./modules/commons/components/forms/presenters/Fields/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Fields/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Fields: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_0__.Fields),
/* harmony export */   FieldsWrapper: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_0__.FieldsWrapper)
/* harmony export */ });
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Fields */ "./modules/commons/components/forms/presenters/Fields/Fields.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldsLabel: () => (/* binding */ FieldsLabel),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _FieldsLabel_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FieldsLabel.scss */ "./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const FieldsLabel = _ref => {
  let {
    alignItems = 'center',
    label,
    id,
    children,
    onClick
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
    alignItems: alignItems,
    className: "escoFieldsLabel",
    id: id,
    onClick: onClick
  }, /*#__PURE__*/React.createElement("span", {
    className: "escoFieldsLabel__label"
  }, label), children);
};
FieldsLabel.propTypes = {
  alignItems: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  id: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FieldsLabel);

/***/ },

/***/ "./modules/commons/components/forms/presenters/FieldsLabel/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/FieldsLabel/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldsLabel: () => (/* reexport safe */ _FieldsLabel__WEBPACK_IMPORTED_MODULE_0__.FieldsLabel)
/* harmony export */ });
/* harmony import */ var _FieldsLabel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldsLabel */ "./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/Language/Language.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Language/Language.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Language: () => (/* binding */ Language)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _Language_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Language.scss */ "./modules/commons/components/forms/presenters/Language/Language.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const Language = _ref => {
  let {
    language
  } = _ref;
  return language ? /*#__PURE__*/React.createElement("span", {
    className: "escoPresenterLanguage"
  }, /*#__PURE__*/React.createElement("span", {
    className: "escoPresenterLanguage__text"
  }, language)) : null;
};
Language.propTypes = {
  language: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Language/index.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Language/index.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Language: () => (/* reexport safe */ _Language__WEBPACK_IMPORTED_MODULE_0__.Language)
/* harmony export */ });
/* harmony import */ var _Language__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Language */ "./modules/commons/components/forms/presenters/Language/Language.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/LanguageLiteral/LanguageLiteral.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/LanguageLiteral/LanguageLiteral.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageLiteral: () => (/* binding */ LanguageLiteral),
/* harmony export */   getVisibleStatements: () => (/* binding */ getVisibleStatements)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/presenters/Field/index.js");
/* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Text */ "./modules/commons/components/forms/presenters/Text/index.js");
/* harmony import */ var _Language__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Language */ "./modules/commons/components/forms/presenters/Language/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "property", "inline", "children", "language"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const renderStatement = (statement, key) => /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_4__.Field, {
  key: key
}, /*#__PURE__*/React.createElement(_Text__WEBPACK_IMPORTED_MODULE_5__.Text, {
  text: statement.getValue()
}), /*#__PURE__*/React.createElement(_Language__WEBPACK_IMPORTED_MODULE_6__.Language, {
  language: statement.getLanguage()
}));
const getVisibleStatements = (statements, language) => {
  if (!language) return statements;
  const match = statements.find(statement => statement.getLanguage() === language);
  return [match || statements[0]];
};
const LanguageLiteral = _ref => {
  let {
      graph,
      resourceURI,
      property,
      inline,
      children,
      language
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const statements = graph.find(resourceURI, property);
  if (!statements.length) return null;
  const visibleStatements = getVisibleStatements(statements, language);
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_3__.Fields, _extends({
    inline: inline
  }, fieldsProps), inline ? /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_4__.Field, {
    inline: true
  }, /*#__PURE__*/React.createElement(_Text__WEBPACK_IMPORTED_MODULE_5__.Text, {
    text: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_2__.getLocalizedValue)(graph, resourceURI, [property])
  })) : visibleStatements.map((statement, index) => renderStatement(statement, index)), children);
};
LanguageLiteral.propTypes = {
  graph: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    find: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
  }),
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  language: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/LanguageLiteral/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/LanguageLiteral/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageLiteral: () => (/* reexport safe */ _LanguageLiteral__WEBPACK_IMPORTED_MODULE_0__.LanguageLiteral),
/* harmony export */   getVisibleStatements: () => (/* reexport safe */ _LanguageLiteral__WEBPACK_IMPORTED_MODULE_0__.getVisibleStatements)
/* harmony export */ });
/* harmony import */ var _LanguageLiteral__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LanguageLiteral */ "./modules/commons/components/forms/presenters/LanguageLiteral/LanguageLiteral.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/Link/Link.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Link/Link.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Link: () => (/* binding */ Link)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var commons_components_router_RouterLink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/router/RouterLink */ "./modules/commons/components/router/RouterLink/index.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/presenters/Field/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "property", "inline", "to"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const Link = _ref => {
  let {
      graph,
      resourceURI,
      property,
      inline,
      to
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_5__.Fields, _extends({
    inline: inline
  }, fieldsProps), /*#__PURE__*/React.createElement(_Field__WEBPACK_IMPORTED_MODULE_6__.Field, {
    inline: inline
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    component: commons_components_router_RouterLink__WEBPACK_IMPORTED_MODULE_4__["default"],
    to: to
  }, graph.findFirstValue(resourceURI, property))));
};
Link.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  to: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Link/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Link/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Link: () => (/* reexport safe */ _Link__WEBPACK_IMPORTED_MODULE_0__.Link)
/* harmony export */ });
/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Link */ "./modules/commons/components/forms/presenters/Link/Link.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/Literal/Literal.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Literal/Literal.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Literal: () => (/* binding */ Literal)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/presenters/Field/index.js");
/* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Text */ "./modules/commons/components/forms/presenters/Text/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "property", "inline", "children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const Literal = _ref => {
  let {
      graph,
      resourceURI,
      property,
      inline,
      children
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const statements = graph.find(resourceURI, property);
  return statements.length ? /*#__PURE__*/React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_2__.Fields, _extends({
    inline: inline
  }, fieldsProps), statements.map((statement, index) => {
    return (
      /*#__PURE__*/
      // eslint-disable-next-line react/no-array-index-key
      React.createElement(_Field__WEBPACK_IMPORTED_MODULE_3__.Field, {
        key: index,
        inline: inline
      }, /*#__PURE__*/React.createElement(_Text__WEBPACK_IMPORTED_MODULE_4__.Text, {
        text: statement.getValue()
      }))
    );
  }), children) : null;
};
Literal.propTypes = {
  graph: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    find: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
  }),
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Literal/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Literal/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Literal: () => (/* reexport safe */ _Literal__WEBPACK_IMPORTED_MODULE_0__.Literal)
/* harmony export */ });
/* harmony import */ var _Literal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Literal */ "./modules/commons/components/forms/presenters/Literal/Literal.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/Presenter/Presenter.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Presenter/Presenter.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Presenter: () => (/* binding */ Presenter)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Field */ "./modules/commons/components/forms/presenters/Field/index.js");
/* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Text */ "./modules/commons/components/forms/presenters/Text/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "graph", "resourceURI", "property", "inline", "children", "direct", "getValue", "translate", "hideDivider"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const Presenter = _ref => {
  let {
      entry,
      graph,
      resourceURI,
      property,
      inline,
      children,
      direct = true,
      // whether getValue is async or not
      getValue,
      translate,
      hideDivider = false
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    runAsync,
    data
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (direct) return;
    runAsync(getValue({
      entry,
      graph,
      resourceURI,
      property,
      translate
    }));
  }, [runAsync, direct, graph, entry, resourceURI, property, getValue, translate]);
  const valueOrValues = direct ? getValue({
    entry,
    graph,
    resourceURI,
    property,
    translate
  }) : data;
  const values = Array.isArray(valueOrValues) ? valueOrValues : [valueOrValues];
  const hasValue = values.every(value => Boolean(value)) && values.length;
  return hasValue ?
  /*#__PURE__*/
  // eslint-disable-next-line react/jsx-props-no-spreading
  React.createElement(_Fields__WEBPACK_IMPORTED_MODULE_6__.Fields, _extends({
    inline: inline
  }, fieldsProps), values.map((value, index) => {
    return (
      /*#__PURE__*/
      // eslint-disable-next-line react/no-array-index-key
      React.createElement(_Field__WEBPACK_IMPORTED_MODULE_7__.Field, {
        key: index,
        inline: inline,
        hideDivider: hideDivider
      }, /*#__PURE__*/React.createElement(_Text__WEBPACK_IMPORTED_MODULE_8__.Text, {
        text: value
      }))
    );
  }), children) : null;
};
Presenter.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  hideDivider: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  direct: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  getValue: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Presenter/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Presenter/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Presenter: () => (/* reexport safe */ _Presenter__WEBPACK_IMPORTED_MODULE_0__.Presenter)
/* harmony export */ });
/* harmony import */ var _Presenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Presenter */ "./modules/commons/components/forms/presenters/Presenter/Presenter.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/Text/Text.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Text/Text.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Text: () => (/* binding */ Text)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const Text = _ref => {
  let {
    text
  } = _ref;
  return /*#__PURE__*/React.createElement("span", null, text);
};
Text.propTypes = {
  text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

/***/ },

/***/ "./modules/commons/components/forms/presenters/Text/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Text/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Text: () => (/* reexport safe */ _Text__WEBPACK_IMPORTED_MODULE_0__.Text)
/* harmony export */ });
/* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Text */ "./modules/commons/components/forms/presenters/Text/Text.js");


/***/ },

/***/ "./modules/commons/components/forms/presenters/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BLANK: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.BLANK),
/* harmony export */   Choices: () => (/* reexport safe */ _Choices__WEBPACK_IMPORTED_MODULE_0__.Choices),
/* harmony export */   DATATYPE_LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.DATATYPE_LITERAL),
/* harmony export */   Field: () => (/* reexport safe */ _Field__WEBPACK_IMPORTED_MODULE_2__.Field),
/* harmony export */   Fields: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_3__.Fields),
/* harmony export */   FieldsLabel: () => (/* reexport safe */ _FieldsLabel__WEBPACK_IMPORTED_MODULE_4__.FieldsLabel),
/* harmony export */   FieldsWrapper: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_3__.FieldsWrapper),
/* harmony export */   GROUP: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.GROUP),
/* harmony export */   LANGUAGE_LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.LANGUAGE_LITERAL),
/* harmony export */   LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.LITERAL),
/* harmony export */   Language: () => (/* reexport safe */ _Language__WEBPACK_IMPORTED_MODULE_1__.Language),
/* harmony export */   LanguageLiteral: () => (/* reexport safe */ _LanguageLiteral__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteral),
/* harmony export */   Link: () => (/* reexport safe */ _Link__WEBPACK_IMPORTED_MODULE_5__.Link),
/* harmony export */   Literal: () => (/* reexport safe */ _Literal__WEBPACK_IMPORTED_MODULE_6__.Literal),
/* harmony export */   ONLY_LITERAL: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.ONLY_LITERAL),
/* harmony export */   Presenter: () => (/* reexport safe */ _Presenter__WEBPACK_IMPORTED_MODULE_8__.Presenter),
/* harmony export */   Text: () => (/* reexport safe */ _Text__WEBPACK_IMPORTED_MODULE_9__.Text),
/* harmony export */   URI: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.URI),
/* harmony export */   XSD_BOOLEAN: () => (/* reexport safe */ _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__.XSD_BOOLEAN),
/* harmony export */   getPresenter: () => (/* reexport safe */ _utils_presenter__WEBPACK_IMPORTED_MODULE_10__.getPresenter),
/* harmony export */   getVisibleStatements: () => (/* reexport safe */ _LanguageLiteral__WEBPACK_IMPORTED_MODULE_7__.getVisibleStatements)
/* harmony export */ });
/* harmony import */ var _Choices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Choices */ "./modules/commons/components/forms/presenters/Choices/index.js");
/* harmony import */ var _Language__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Language */ "./modules/commons/components/forms/presenters/Language/index.js");
/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Field */ "./modules/commons/components/forms/presenters/Field/index.js");
/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Fields */ "./modules/commons/components/forms/presenters/Fields/index.js");
/* harmony import */ var _FieldsLabel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FieldsLabel */ "./modules/commons/components/forms/presenters/FieldsLabel/index.js");
/* harmony import */ var _Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Link */ "./modules/commons/components/forms/presenters/Link/index.js");
/* harmony import */ var _Literal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Literal */ "./modules/commons/components/forms/presenters/Literal/index.js");
/* harmony import */ var _LanguageLiteral__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./LanguageLiteral */ "./modules/commons/components/forms/presenters/LanguageLiteral/index.js");
/* harmony import */ var _Presenter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Presenter */ "./modules/commons/components/forms/presenters/Presenter/index.js");
/* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Text */ "./modules/commons/components/forms/presenters/Text/index.js");
/* harmony import */ var _utils_presenter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/presenter */ "./modules/commons/components/forms/presenters/utils/presenter.js");
/* harmony import */ var _utils_nodetypes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");













/***/ },

/***/ "./modules/commons/components/forms/presenters/utils/presenter.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/utils/presenter.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getPresenter: () => (/* binding */ getPresenter)
/* harmony export */ });
/* harmony import */ var commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/forms/utils/nodetypes */ "./modules/commons/components/forms/utils/nodetypes.js");
/* harmony import */ var _Literal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Literal */ "./modules/commons/components/forms/presenters/Literal/index.js");
/* harmony import */ var _LanguageLiteral__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../LanguageLiteral */ "./modules/commons/components/forms/presenters/LanguageLiteral/index.js");
/* harmony import */ var _Presenter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Presenter */ "./modules/commons/components/forms/presenters/Presenter/index.js");





/**
 * Find a matching presenter component based on field definition. Match is found
 * in following order:
 * 1) If Presenter is provied, that customized presenter should be used.
 * 2) If getValue is provided, the default presenter will be used and getValue
 *    used to get values.
 * 3) Finally nodetype will be used to find matching presenter.
 *
 * @param {{nodetype: string, getValue: Function, hidden: boolean, Presenter:
 * Function}} fieldDefinition
 * @returns {string|undefined}
 */
const getPresenter = _ref => {
  let {
    nodetype,
    getValue,
    hidden,
    Presenter
  } = _ref;
  if (hidden) return;
  if (Presenter) return Presenter;
  if (getValue) return _Presenter__WEBPACK_IMPORTED_MODULE_3__.Presenter;
  if (!nodetype) {
    throw new Error('One of nodetype, Presenter or getValue is required to get a presenter');
  }
  switch (nodetype) {
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.URI:
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.DATATYPE_LITERAL:
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.LITERAL:
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.ONLY_LITERAL:
      return _Literal__WEBPACK_IMPORTED_MODULE_1__.Literal;
    case commons_components_forms_utils_nodetypes__WEBPACK_IMPORTED_MODULE_0__.LANGUAGE_LITERAL:
      return _LanguageLiteral__WEBPACK_IMPORTED_MODULE_2__.LanguageLiteral;
    default:
      console.error('No presenter found for nodetype');
      break;
  }
};

/***/ },

/***/ "./modules/commons/components/forms/utils/nodetypes.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/forms/utils/nodetypes.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BLANK: () => (/* binding */ BLANK),
/* harmony export */   DATATYPE_LITERAL: () => (/* binding */ DATATYPE_LITERAL),
/* harmony export */   GROUP: () => (/* binding */ GROUP),
/* harmony export */   LANGUAGE_LITERAL: () => (/* binding */ LANGUAGE_LITERAL),
/* harmony export */   LITERAL: () => (/* binding */ LITERAL),
/* harmony export */   ONLY_LITERAL: () => (/* binding */ ONLY_LITERAL),
/* harmony export */   URI: () => (/* binding */ URI),
/* harmony export */   XSD_BOOLEAN: () => (/* binding */ XSD_BOOLEAN)
/* harmony export */ });
const URI = 'URI';
const LITERAL = 'LITERAL';
const LANGUAGE_LITERAL = 'LANGUAGE_LITERAL';
const ONLY_LITERAL = 'ONLY_LITERAL';
const DATATYPE_LITERAL = 'DATATYPE_LITERAL';
const BLANK = 'BLANK';
const GROUP = 'GROUP';
const XSD_BOOLEAN = 'xsd:boolean';

/***/ },

/***/ "./modules/commons/components/overview/Overview/Overview.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/overview/Overview/Overview.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   renderTiles: () => (/* binding */ renderTiles)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var _OverviewTags__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../OverviewTags */ "./modules/commons/components/overview/OverviewTags/index.js");
/* harmony import */ var _actions_definitions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../actions/definitions */ "./modules/commons/components/overview/actions/definitions.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/overview/Overview/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["getProps"],
  _excluded2 = ["isVisible"],
  _excluded3 = ["Component", "id", "componentProps"];


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }













const renderTiles = _ref => {
  let {
    actions,
    entry,
    translate,
    nlsBundles
  } = _ref;
  return actions.map(_ref2 => {
    let {
        getProps = () => {}
      } = _ref2,
      actionProps = _objectWithoutProperties(_ref2, _excluded);
    return _objectSpread(_objectSpread({}, actionProps), {}, {
      componentProps: getProps({
        entry,
        translate
      })
    });
  }).filter(_ref3 => {
    let {
        isVisible
      } = _ref3,
      props = _objectWithoutProperties(_ref3, _excluded2);
    return isVisible ? isVisible(_objectSpread({
      entry
    }, props)) : true;
  }).map(_ref4 => {
    let {
        Component = commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewTileButton,
        id,
        componentProps
      } = _ref4,
      action = _objectWithoutProperties(_ref4, _excluded3);
    return /*#__PURE__*/React.createElement(Component, _extends({
      key: `row-button-${id}`,
      action: _objectSpread(_objectSpread({}, action), {}, {
        entry,
        nlsBundles
      })
    }, componentProps));
  });
};
const Overview = _ref5 => {
  let {
    descriptionItems = [],
    rowActions = [],
    sidebarActions = [],
    sidebarProps = {},
    excludeActions = [],
    headerLabel,
    headerSubLabel,
    descriptionLabel,
    backLabel = '',
    entry,
    nlsBundles = [],
    includeBackButton = true,
    headerAction = _actions_definitions__WEBPACK_IMPORTED_MODULE_16__.ACTION_INFO_WITH_ICON,
    headerActionParams = {},
    headerIcon,
    returnTo,
    tags = [],
    renderPrimaryContent,
    isLoading,
    children
  } = _ref5;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([...nlsBundles, (commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_12___default())]);
  const tagsArray = Array.isArray(tags) ? tags : [tags];
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_14__["default"], null);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoTwoColView"
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoOverview__main"
  }, includeBackButton ? /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewBackButton, {
    label: backLabel,
    to: returnTo,
    entry: entry
  }) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    container: true,
    direction: "column"
  }, /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewHeader, {
    label: headerLabel || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_9__.getLabel)(entry) || translate('unnamedEntity', entry.getId()),
    sublabel: headerSubLabel,
    icon: headerIcon,
    action: headerAction,
    actionParams: _objectSpread({
      entry,
      nlsBundles
    }, headerActionParams)
  }), /*#__PURE__*/React.createElement(_OverviewTags__WEBPACK_IMPORTED_MODULE_15__["default"], {
    entry: entry,
    tags: [...tagsArray, commons_components_tags__WEBPACK_IMPORTED_MODULE_13__.DRAFT_TAG]
  }), (renderPrimaryContent === null || renderPrimaryContent === void 0 ? void 0 : renderPrimaryContent()) || /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewDescription, {
    label: descriptionLabel || (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_10__.getDescription)(entry)
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "escoOverview__divider"
  }), descriptionItems.length ? /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewMetadataList, {
    cols: descriptionItems.length
  }, descriptionItems.map(_ref6 => {
    let {
      id,
      labelNlsKey,
      getValues
    } = _ref6;
    return /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewMetadataListItem, {
      label: translate(labelNlsKey),
      values: getValues({
        entry
      }),
      key: `md-list-item-${id || labelNlsKey}`
    });
  })) : null, rowActions.length ? /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewTileButtonGroup, {
    cols: rowActions.length
  }, renderTiles({
    actions: rowActions,
    entry,
    translate,
    nlsBundles
  })) : null), children), /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewSidebar, null, /*#__PURE__*/React.createElement(commons_components_overview__WEBPACK_IMPORTED_MODULE_7__.OverviewSidebarActions, {
    actions: sidebarActions,
    excludeActions: excludeActions,
    actionParams: _objectSpread({
      entry,
      nlsBundles
    }, sidebarProps)
  })));
};
const actionPropType = prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
  id: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  isVisible: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  getProps: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  Component: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
});
const actionsPropType = prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(actionPropType);
const descriptionItemPropType = prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
  labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  getValues: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
});
const descriptionItemsPropType = prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(descriptionItemPropType);
Overview.propTypes = {
  descriptionItems: descriptionItemsPropType,
  rowActions: actionsPropType,
  sidebarActions: actionsPropType,
  sidebarProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  excludeActions: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)),
  headerLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  headerSubLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  descriptionLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  backLabel: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_11__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.nlsBundlesPropType,
  includeBackButton: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  headerAction: actionPropType,
  headerActionParams: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  headerIcon: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  returnTo: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  renderPrimaryContent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  tags: commons_components_tags__WEBPACK_IMPORTED_MODULE_13__.tagsPropType,
  isLoading: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Overview);

/***/ },

/***/ "./modules/commons/components/overview/Overview/index.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/overview/Overview/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Overview__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   renderTiles: () => (/* reexport safe */ _Overview__WEBPACK_IMPORTED_MODULE_0__.renderTiles)
/* harmony export */ });
/* harmony import */ var _Overview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Overview */ "./modules/commons/components/overview/Overview/Overview.js");



/***/ },

/***/ "./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/NavigateBefore.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var _OverviewBackButton_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./OverviewBackButton.scss */ "./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









const OverviewBackButton = _ref => {
  let {
    label,
    to,
    entry
  } = _ref;
  const {
    navigate,
    goBackToListView
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useLocation)();
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useParams)();
  const handleNavigation = () => {
    if (to) {
      var _location$state;
      navigate(to, {
        state: _objectSpread({}, (_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.listState)
      });
    } else {
      goBackToListView(commons_registry__WEBPACK_IMPORTED_MODULE_7__["default"].getCurrentView(), {
        contextId: entry.getContext().getId(),
        projectName
      });
    }
  };
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__["default"], {
    title: label
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    "aria-label": label,
    onClick: handleNavigation,
    className: "escoOverviewBackButton"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], null)));
};
OverviewBackButton.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string).isRequired,
  to: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().string),
  entry: prop_types__WEBPACK_IMPORTED_MODULE_6___default().shape({
    getContext: (prop_types__WEBPACK_IMPORTED_MODULE_6___default().func)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewBackButton);

/***/ },

/***/ "./modules/commons/components/overview/OverviewBackButton/index.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewBackButton/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewBackButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewBackButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewBackButton */ "./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewDescription/OverviewDescription.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewDescription/OverviewDescription.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _OverviewDescription_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./OverviewDescription.scss */ "./modules/commons/components/overview/OverviewDescription/OverviewDescription.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["label"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const OverviewDescription = _ref => {
  let {
      label
    } = _ref,
    typographyProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({}, typographyProps, {
    className: "escoOverview__description"
  }), label);
};
OverviewDescription.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewDescription);

/***/ },

/***/ "./modules/commons/components/overview/OverviewDescription/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewDescription/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewDescription__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewDescription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewDescription */ "./modules/commons/components/overview/OverviewDescription/OverviewDescription.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewHeader/OverviewHeader.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewHeader/OverviewHeader.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_actions_hocs_withNormalizedAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/actions/hocs/withNormalizedAction */ "./modules/commons/actions/hocs/withNormalizedAction.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var _OverviewHeader_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./OverviewHeader.scss */ "./modules/commons/components/overview/OverviewHeader/OverviewHeader.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["label", "sublabel", "maxPrimaryLength", "icon", "action", "actionParams"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const OverviewHeaderAction = (0,commons_actions_hocs_withNormalizedAction__WEBPACK_IMPORTED_MODULE_9__["default"])(commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_10__["default"], {
  iconButtonVariant: 'icon'
});
const OverviewHeaderActionWithProvider = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.withActionsProvider)(OverviewHeaderAction);
const OverviewHeader = _ref => {
  let {
      label,
      sublabel,
      maxPrimaryLength = 40,
      icon,
      action,
      actionParams
    } = _ref,
    typographyProps = _objectWithoutProperties(_ref, _excluded);
  const [labelText, tooltipText] = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.truncateLabel)(label, maxPrimaryLength);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoOverviewHeader"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
    title: tooltipText
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    container: true,
    direction: "row",
    className: "escoOverviewHeader__label"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    className: "escoOverviewHeader__heading",
    variant: "h1"
  }, typographyProps), labelText)))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoOverviewHeader__actions"
  }, icon, action ? /*#__PURE__*/React.createElement(OverviewHeaderActionWithProvider, {
    action: action,
    actionParams: actionParams
  }) : null)), sublabel ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoOverviewHeader"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "escoOverviewHeader__subHeading",
    variant: "h3"
  }, sublabel)) : null);
};
OverviewHeader.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  sublabel: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node),
  maxPrimaryLength: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().number),
  action: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    icon: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
  }),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewHeader);

/***/ },

/***/ "./modules/commons/components/overview/OverviewHeader/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewHeader/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewHeader__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewHeader__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewHeader */ "./modules/commons/components/overview/OverviewHeader/OverviewHeader.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OverviewListHeader: () => (/* binding */ OverviewListHeader)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Help.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WarningAmber.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var commons_actions_hocs_withNormalizedAction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/actions/hocs/withNormalizedAction */ "./modules/commons/actions/hocs/withNormalizedAction.js");
/* harmony import */ var _OverviewListHeader_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./OverviewListHeader.scss */ "./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const OverviewListHeader = _ref => {
  let {
    heading,
    action,
    actionParams,
    helperText = '',
    warningText = '',
    highlightId = ''
  } = _ref;
  const Component = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => {
    var _action$Component;
    const ActionComponent = (_action$Component = action === null || action === void 0 ? void 0 : action.Component) !== null && _action$Component !== void 0 ? _action$Component : commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_8__["default"];
    return (0,commons_actions_hocs_withNormalizedAction__WEBPACK_IMPORTED_MODULE_9__["default"])(ActionComponent);
  }, [action === null || action === void 0 ? void 0 : action.Component]);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    container: true,
    alignItems: "center",
    className: "escoOverviewListHeader"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "escoOverviewListHeader__headingContainer"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    display: "inline",
    variant: "h2",
    "data-highlight-id": highlightId
  }, heading), helperText ? /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
    title: helperText
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoOverviewListHeader__helperIcon"
  })) : null, warningText ? /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
    title: warningText
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "escoOverviewListHeader__helperIcon"
  })) : null), action ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "escoOverviewListHeader__actionContainer"
  }, /*#__PURE__*/React.createElement(Component, {
    action: action,
    actionParams: actionParams
  })) : null);
};
OverviewListHeader.propTypes = {
  heading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  action: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    Component: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
    Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
    tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  }),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})])), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})]),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  warningText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};

/***/ },

/***/ "./modules/commons/components/overview/OverviewListHeader/index.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewListHeader/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OverviewListHeader: () => (/* reexport safe */ _OverviewListHeader__WEBPACK_IMPORTED_MODULE_0__.OverviewListHeader)
/* harmony export */ });
/* harmony import */ var _OverviewListHeader__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.js"
/*!************************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _OverviewListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OverviewListPlaceholder.scss */ "./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const OverviewListPlaceholder = _ref => {
  let {
    label
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoOverviewListPlaceholder"
  }, label);
};
OverviewListPlaceholder.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewListPlaceholder);

/***/ },

/***/ "./modules/commons/components/overview/OverviewListPlaceholder/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewListPlaceholder/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewListPlaceholder__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewListPlaceholder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewListPlaceholder */ "./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_components_common_GridList__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/GridList */ "./modules/commons/components/common/GridList/index.js");
/* harmony import */ var _OverviewMetadataList_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OverviewMetadataList.scss */ "./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const OverviewMetadataList = _ref => {
  let {
      children
    } = _ref,
    gridListProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    container: true,
    justifyContent: "flex-start",
    direction: "row"
  }, /*#__PURE__*/React.createElement(commons_components_common_GridList__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
    gap: 10,
    rowHeight: "auto",
    classes: {
      root: 'escoOverview__MetadataList'
    }
  }, gridListProps), children));
};
OverviewMetadataList.propTypes = {
  cols: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewMetadataList);

/***/ },

/***/ "./modules/commons/components/overview/OverviewMetadataList/index.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewMetadataList/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewMetadataList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewMetadataList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewMetadataList */ "./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.js"
/*!**************************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_components_common_GridListTile__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/GridListTile */ "./modules/commons/components/common/GridListTile/index.js");
/* harmony import */ var _OverviewMetadataListItem_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./OverviewMetadataListItem.scss */ "./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const OverviewMetadataListItem = _ref => {
  let {
    label,
    values
  } = _ref;
  return values.length === 0 ? null : /*#__PURE__*/React.createElement(commons_components_common_GridListTile__WEBPACK_IMPORTED_MODULE_5__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    direction: "column"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "h6",
    component: "h2",
    className: "escoOverviewMetadataListItem__header"
  }, label)), values.map(value => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    key: value
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, value)))));
};
OverviewMetadataListItem.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  values: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_2___default().string))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewMetadataListItem);

/***/ },

/***/ "./modules/commons/components/overview/OverviewMetadataListItem/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewMetadataListItem/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewMetadataListItem__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewMetadataListItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewMetadataListItem */ "./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewSection/OverviewSection.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSection/OverviewSection.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _OverviewSection_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OverviewSection.scss */ "./modules/commons/components/overview/OverviewSection/OverviewSection.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const OverViewSection = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoOverviewSection"
  }, children);
};
OverViewSection.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverViewSection);

/***/ },

/***/ "./modules/commons/components/overview/OverviewSection/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSection/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewSection__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewSection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewSection */ "./modules/commons/components/overview/OverviewSection/OverviewSection.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.js"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _OverviewSidebar_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OverviewSidebar.scss */ "./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const OverviewSidebar = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoOverview__sidebar"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], null, children));
};
OverviewSidebar.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewSidebar);

/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebar/index.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebar/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewSidebar__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewSidebar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewSidebar */ "./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarActions/OverviewSidebarActions.js"
/*!**********************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarActions/OverviewSidebarActions.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OverviewSidebarActions: () => (/* binding */ OverviewSidebarActions),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/actions/hooks/useActionDefinitions */ "./modules/commons/actions/hooks/useActionDefinitions.js");
/* harmony import */ var _OverviewSidebarButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../OverviewSidebarButton */ "./modules/commons/components/overview/OverviewSidebarButton/index.js");
/* harmony import */ var _OverviewSidebarItem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../OverviewSidebarItem */ "./modules/commons/components/overview/OverviewSidebarItem/index.js");
/* harmony import */ var _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/useOverviewModel */ "./modules/commons/components/overview/hooks/useOverviewModel.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["label", "Component"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }









const OverviewSidebarActions = _ref => {
  let {
    actions: actionDefinitions,
    excludeActions,
    actionParams,
    Component: DefaultComponent = _OverviewSidebarButton__WEBPACK_IMPORTED_MODULE_6__["default"]
  } = _ref;
  const [{
    refreshCount
  }] = (0,_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_8__.useOverviewModel)();
  const {
    isLoading,
    actions
  } = (0,commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_5__["default"])({
    actions: actionDefinitions,
    excludeActions,
    actionParams,
    Component: DefaultComponent,
    labelMaxLength: 25,
    refreshCount
  });
  if (isLoading || !actions.length) return null;
  return /*#__PURE__*/React.createElement("div", null, actions.map((_ref2, index) => {
    let {
        label,
        Component
      } = _ref2,
      rest = _objectWithoutProperties(_ref2, _excluded);
    return /*#__PURE__*/React.createElement(_OverviewSidebarItem__WEBPACK_IMPORTED_MODULE_7__["default"], {
      key: `sidebar-item-${rest.id}`
    }, /*#__PURE__*/React.createElement(Component, _extends({
      color: index === 0 ? 'primary' : 'secondary',
      label: label
    }, rest)));
  }));
};
OverviewSidebarActions.propTypes = {
  actions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  excludeActions: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
  Component: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewSidebarActions);

/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarActions/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarActions/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewSidebarActions__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewSidebarActions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewSidebarActions */ "./modules/commons/components/overview/OverviewSidebarActions/OverviewSidebarActions.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var _OverviewSidebarButton_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OverviewSidebarButton.scss */ "./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.scss");
/* harmony import */ var commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/buttons/Button */ "./modules/commons/components/buttons/Button/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["label", "className"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const Label = _ref => {
  let {
    label,
    disabled
  } = _ref;
  if (!label) return null;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: `escoOverviewSidebarButtonLabel${disabled ? '--disabled' : ''}`
  }, label);
};
Label.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
};
const OverviewSidebarButton = _ref2 => {
  let {
      label,
      className = 'escoOverviewSidebarListItem__button'
    } = _ref2,
    rest = _objectWithoutProperties(_ref2, _excluded);
  const {
    disabled,
    action
  } = rest;
  const buttonProps = {
    className,
    variant: disabled ? 'outlined' : 'contained',
    label: /*#__PURE__*/React.createElement(Label, {
      label: label,
      disabled: disabled
    }),
    tooltipProps: {
      placement: 'left'
    }
  };

  // Handle non dialog actions
  if (!(action !== null && action !== void 0 && action.Dialog)) {
    return /*#__PURE__*/React.createElement(commons_components_buttons_Button__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({}, buttonProps, rest));
  }
  return /*#__PURE__*/React.createElement(commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({}, buttonProps, rest));
};
OverviewSidebarButton.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  color: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewSidebarButton);

/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarButton/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarButton/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewSidebarButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewSidebarButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewSidebarButton */ "./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.js"
/*!**********************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _OverviewSidebarDivider_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OverviewSidebarDivider.scss */ "./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const OverviewSidebarDivider = () => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
  className: "escoOverviewSidebarDivider"
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewSidebarDivider);

/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarDivider/index.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarDivider/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewSidebarDivider__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewSidebarDivider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewSidebarDivider */ "./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _OverviewSidebarItem_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OverviewSidebarItem.scss */ "./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const OverviewSidebarItem = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
    className: "escoOverviewSidebarItem"
  }, children);
};
OverviewSidebarItem.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewSidebarItem);

/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarItem/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarItem/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewSidebarItem__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewSidebarItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewSidebarItem */ "./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarToggle/OverviewSidebarToggle.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarToggle/OverviewSidebarToggle.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_toggles_Toggle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/toggles/Toggle */ "./modules/commons/components/toggles/Toggle/index.js");
/* harmony import */ var commons_components_toggles_ActionToggle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/toggles/ActionToggle */ "./modules/commons/components/toggles/ActionToggle/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["action", "onClick"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const OverviewSidebarToggle = props => {
  const {
      action,
      onClick
    } = props,
    rest = _objectWithoutProperties(props, _excluded);
  const toggleProps = {
    tooltipProps: {
      placement: 'left'
    }
  };
  if (!(action !== null && action !== void 0 && action.Dialog)) {
    return /*#__PURE__*/React.createElement(commons_components_toggles_Toggle__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({}, toggleProps, {
      onClick: onClick
    }, rest));
  }
  return /*#__PURE__*/React.createElement(commons_components_toggles_ActionToggle__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({}, toggleProps, {
    action: action
  }, rest));
};
OverviewSidebarToggle.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
  }),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewSidebarToggle);

/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarToggle/index.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarToggle/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewSidebarToggle */ "./modules/commons/components/overview/OverviewSidebarToggle/OverviewSidebarToggle.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewTags/OverviewTags.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTags/OverviewTags.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_components_tags__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/tags */ "./modules/commons/components/tags/index.js");
/* harmony import */ var _OverviewTags_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OverviewTags.scss */ "./modules/commons/components/overview/OverviewTags/OverviewTags.scss");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const OverviewTags = _ref => {
  let {
    entry,
    tags
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoOverview__tags"
  }, tags.map(_ref2 => {
    let {
      id,
      nlsBundles,
      labelNlsKey,
      isVisible
    } = _ref2;
    return isVisible(entry) ? /*#__PURE__*/React.createElement(commons_components_tags__WEBPACK_IMPORTED_MODULE_0__.Tag, {
      id: id,
      key: id,
      nlsBundles: nlsBundles,
      labelNlsKey: labelNlsKey
    }) : null;
  }));
};
OverviewTags.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.entryPropType,
  tags: commons_components_tags__WEBPACK_IMPORTED_MODULE_0__.tagsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewTags);

/***/ },

/***/ "./modules/commons/components/overview/OverviewTags/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTags/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewTags__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewTags__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewTags */ "./modules/commons/components/overview/OverviewTags/OverviewTags.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TileButton: () => (/* binding */ TileButton),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_ChevronRight__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/ChevronRight */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChevronRight.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var _OverviewTileButton_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./OverviewTileButton.scss */ "./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["labelPrefix", "label", "disabled", "to", "isPrimary"],
  _excluded2 = ["action"],
  _excluded3 = ["action"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const TileButton = _ref => {
  let {
      labelPrefix,
      label,
      disabled = false,
      to,
      isPrimary = false
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const buttonProps = to ? _objectSpread({
    component: react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Link,
    to
  }, rest) : rest;
  const buttonClasses = ['escoOverviewTileButton', isPrimary && 'escoOverviewTileButton--primary'].filter(Boolean).join(' ');
  const [truncatedLabel, labelAsTooltip] = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_10__.truncateLabel)(label, 16);
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_9__["default"], {
    title: labelAsTooltip
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({
    classes: {
      root: buttonClasses,
      disabled: 'escoOverviewTileButton--disabled'
    },
    disabled: disabled
  }, buttonProps), /*#__PURE__*/React.createElement("span", {
    className: "escoOverviewTileButton__labelPrefix"
  }, labelPrefix), /*#__PURE__*/React.createElement("span", {
    className: "escoOverviewTileButton__label"
  }, truncatedLabel), to && /*#__PURE__*/React.createElement(_mui_icons_material_ChevronRight__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'escoOverviewTileButton__icon'
    }
  })));
};
TileButton.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  labelPrefix: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  to: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  isPrimary: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)
};
const TileActionButton = _ref2 => {
  let {
      action
    } = _ref2,
    rest = _objectWithoutProperties(_ref2, _excluded2);
  const {
    openActionDialog
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.useActions)();
  const handleActionClick = () => openActionDialog(action);
  return /*#__PURE__*/React.createElement(TileButton, _extends({
    onClick: handleActionClick
  }, rest));
};
TileActionButton.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};
const TileActionButtonWithProvider = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_8__.withActionsProvider)(TileActionButton);
const OverviewTileButton = _ref3 => {
  let {
      action
    } = _ref3,
    rest = _objectWithoutProperties(_ref3, _excluded3);
  if (action) return /*#__PURE__*/React.createElement(TileActionButtonWithProvider, _extends({
    action: action
  }, rest));
  return /*#__PURE__*/React.createElement(TileButton, rest);
};
OverviewTileButton.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewTileButton);

/***/ },

/***/ "./modules/commons/components/overview/OverviewTileButton/index.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTileButton/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewTileButton__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewTileButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewTileButton */ "./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.js");


/***/ },

/***/ "./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.js"
/*!************************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_components_common_GridList__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/GridList */ "./modules/commons/components/common/GridList/index.js");
/* harmony import */ var commons_components_common_GridListTile__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/GridListTile */ "./modules/commons/components/common/GridListTile/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _OverviewTileButtonGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./OverviewTileButtonGroup.scss */ "./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







const OverviewTileButtonGroup = _ref => {
  let {
    cols,
    children
  } = _ref;
  const items = react__WEBPACK_IMPORTED_MODULE_5__.Children.toArray(children);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    container: true,
    className: "escoOverviewTileButtonGroup"
  }, /*#__PURE__*/React.createElement(commons_components_common_GridList__WEBPACK_IMPORTED_MODULE_3__["default"], {
    cols: cols,
    gap: 5,
    rowHeight: "auto",
    classes: {
      root: 'escoOverview__horizontalButtons'
    }
  }, items.map((item, index) => /*#__PURE__*/React.createElement(commons_components_common_GridListTile__WEBPACK_IMPORTED_MODULE_4__["default"], {
    classes: {
      root: 'escoOverview__tile'
    }
    // eslint-disable-next-line react/no-array-index-key
    ,
    key: `overview-tile-${index}}`
  }, item))));
};
OverviewTileButtonGroup.propTypes = {
  cols: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number).isRequired,
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewTileButtonGroup);

/***/ },

/***/ "./modules/commons/components/overview/OverviewTileButtonGroup/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTileButtonGroup/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewTileButtonGroup__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewTileButtonGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewTileButtonGroup */ "./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.js");


/***/ },

/***/ "./modules/commons/components/overview/actions/definitions.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/overview/actions/definitions.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ACTION_DIVIDER: () => (/* binding */ ACTION_DIVIDER),
/* harmony export */   ACTION_EDIT: () => (/* binding */ ACTION_EDIT),
/* harmony export */   ACTION_INFO: () => (/* binding */ ACTION_INFO),
/* harmony export */   ACTION_INFO_WITH_ICON: () => (/* binding */ ACTION_INFO_WITH_ICON),
/* harmony export */   ACTION_PUBLISH: () => (/* binding */ ACTION_PUBLISH),
/* harmony export */   ACTION_REMOVE: () => (/* binding */ ACTION_REMOVE),
/* harmony export */   ACTION_REVISIONS: () => (/* binding */ ACTION_REVISIONS),
/* harmony export */   DESCRIPTION_CREATED: () => (/* binding */ DESCRIPTION_CREATED),
/* harmony export */   DESCRIPTION_PROJECT_TYPE: () => (/* binding */ DESCRIPTION_PROJECT_TYPE),
/* harmony export */   DESCRIPTION_UPDATED: () => (/* binding */ DESCRIPTION_UPDATED),
/* harmony export */   DESCRIPTION_UPDATED_ID: () => (/* binding */ DESCRIPTION_UPDATED_ID)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var commons_components_entry_PublishToggle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/entry/PublishToggle */ "./modules/commons/components/entry/PublishToggle/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var _OverviewSidebarDivider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../OverviewSidebarDivider */ "./modules/commons/components/overview/OverviewSidebarDivider/index.js");
/* harmony import */ var _dialogs_OverviewRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dialogs/OverviewRemoveEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewRemoveEntryDialog/index.js");
/* harmony import */ var _dialogs_OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../dialogs/OverviewEditEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/index.js");
/* harmony import */ var _dialogs_OverviewRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../dialogs/OverviewRevisionsEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewRevisionsEntryDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }











const ACTION_EDIT = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_EDIT), {}, {
  Dialog: _dialogs_OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_10__["default"],
  Component: commons_components_overview__WEBPACK_IMPORTED_MODULE_1__.OverviewSidebarButton,
  highlightId: 'overviewActionEdit',
  getProps: () => ({})
});
const ACTION_REMOVE = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_REMOVE), {}, {
  Dialog: _dialogs_OverviewRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
  Component: commons_components_overview__WEBPACK_IMPORTED_MODULE_1__.OverviewSidebarButton,
  highlightId: 'overviewActionRemove',
  getProps: () => ({
    color: 'secondary'
  })
});
const ACTION_INFO = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_INFO), {}, {
  Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  highlightId: 'overviewActionInfo',
  getProps: () => ({})
});
const ACTION_INFO_WITH_ICON = _objectSpread(_objectSpread({}, ACTION_INFO), {}, {
  icon: /*#__PURE__*/React.createElement(_mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_5__["default"], null),
  tooltipNlsKey: 'infoEntry'
});
const ACTION_REVISIONS = _objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_REVISIONS), {}, {
  Dialog: _dialogs_OverviewRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_11__["default"],
  highlightId: 'overviewActionRevisions'
});
const ACTION_DIVIDER = {
  id: 'divider',
  Component: _OverviewSidebarDivider__WEBPACK_IMPORTED_MODULE_8__["default"]
};
const ACTION_PUBLISH = {
  id: 'publish',
  Component: commons_components_entry_PublishToggle__WEBPACK_IMPORTED_MODULE_6__["default"],
  highlightId: 'overviewActionPublish'
};
const DESCRIPTION_UPDATED_ID = 'updated';
const DESCRIPTION_UPDATED = {
  id: DESCRIPTION_UPDATED_ID,
  labelNlsKey: 'lastUpdateLabel',
  getValues: _ref => {
    let {
      entry
    } = _ref;
    return entry ? [(0,commons_util_date__WEBPACK_IMPORTED_MODULE_2__.getShortDate)((0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_3__.getModifiedDate)(entry))] : [];
  }
};
const DESCRIPTION_CREATED = {
  id: 'create',
  labelNlsKey: 'createdLabel',
  getValues: _ref2 => {
    let {
      entry
    } = _ref2;
    return entry ? [(0,commons_util_date__WEBPACK_IMPORTED_MODULE_2__.getShortDate)(entry.getEntryInfo().getCreationDate())] : [];
  }
};
const DESCRIPTION_PROJECT_TYPE = {
  id: 'projectType',
  labelNlsKey: 'projectTypeLabel'
};

/***/ },

/***/ "./modules/commons/components/overview/actions/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/overview/actions/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ACTION_DIVIDER: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_DIVIDER),
/* harmony export */   ACTION_EDIT: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_EDIT),
/* harmony export */   ACTION_INFO: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_INFO),
/* harmony export */   ACTION_INFO_WITH_ICON: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_INFO_WITH_ICON),
/* harmony export */   ACTION_PUBLISH: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_PUBLISH),
/* harmony export */   ACTION_REMOVE: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REMOVE),
/* harmony export */   ACTION_REVISIONS: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.ACTION_REVISIONS),
/* harmony export */   DESCRIPTION_CREATED: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.DESCRIPTION_CREATED),
/* harmony export */   DESCRIPTION_PROJECT_TYPE: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.DESCRIPTION_PROJECT_TYPE),
/* harmony export */   DESCRIPTION_UPDATED: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.DESCRIPTION_UPDATED),
/* harmony export */   DESCRIPTION_UPDATED_ID: () => (/* reexport safe */ _definitions__WEBPACK_IMPORTED_MODULE_0__.DESCRIPTION_UPDATED_ID)
/* harmony export */ });
/* harmony import */ var _definitions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./definitions */ "./modules/commons/components/overview/actions/definitions.js");


/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewEditContextDialog/OverviewEditContextDialog.js"
/*!************************************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewEditContextDialog/OverviewEditContextDialog.js ***!
  \************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var _OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../OverviewEditEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }









const OverviewEditContextDialog = props => {
  const [, setPageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const handleChange = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(async entry => {
    await (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.updateContextTitle)(entry);
    setPageTitle((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_6__.getLabel)(entry));
    return entry;
  }, [setPageTitle]);
  return /*#__PURE__*/React.createElement(_OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({}, props, {
    onEntryEdit: handleChange
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewEditContextDialog);

/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewEditContextDialog/index.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewEditContextDialog/index.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewEditContextDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewEditContextDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewEditContextDialog */ "./modules/commons/components/overview/dialogs/OverviewEditContextDialog/OverviewEditContextDialog.js");


/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/OverviewEditEntryDialog.js"
/*!********************************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/OverviewEditEntryDialog.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/components/entry/EditEntryDialog */ "./modules/commons/components/entry/EditEntryDialog/index.js");
/* harmony import */ var _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useOverviewModel */ "./modules/commons/components/overview/hooks/useOverviewModel.js");


const OverviewEditEntryDialog = (0,_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_1__.withOverviewRefresh)(commons_components_entry_EditEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"], 'onEntryEdit');
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewEditEntryDialog);

/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/index.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/index.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewEditEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/OverviewEditEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewRemoveEntryDialog/OverviewRemoveEntryDialog.js"
/*!************************************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewRemoveEntryDialog/OverviewRemoveEntryDialog.js ***!
  \************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/entry/RemoveEntryDialog */ "./modules/commons/components/entry/RemoveEntryDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


const OverviewRemoveEntryDialog = props => {
  const {
    goBack
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_1__["default"])();
  return /*#__PURE__*/React.createElement(commons_components_entry_RemoveEntryDialog__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({}, props, {
    onRemoveCallback: goBack
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewRemoveEntryDialog);

/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewRemoveEntryDialog/index.js"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewRemoveEntryDialog/index.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewRemoveEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewRemoveEntryDialog/OverviewRemoveEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewRevisionsEntryDialog/OverviewRevisionsEntryDialog.js"
/*!******************************************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewRevisionsEntryDialog/OverviewRevisionsEntryDialog.js ***!
  \******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_entry_RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/entry/RevisionsEntryDialog */ "./modules/commons/components/entry/RevisionsEntryDialog/index.js");
/* harmony import */ var _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../hooks/useOverviewModel */ "./modules/commons/components/overview/hooks/useOverviewModel.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const OverviewRevisionsEntryDialog = _ref => {
  let {
      closeDialog
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const [, dispatch] = (0,_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_6__.useOverviewModel)();
  const refreshAndClose = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    dispatch({
      type: _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_6__.REFRESH
    });
    closeDialog();
  }, [closeDialog, dispatch]);
  return /*#__PURE__*/React.createElement(commons_components_entry_RevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    onRevertCallback: refreshAndClose,
    closeDialog: closeDialog
  }, props));
};
OverviewRevisionsEntryDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverviewRevisionsEntryDialog);

/***/ },

/***/ "./modules/commons/components/overview/dialogs/OverviewRevisionsEntryDialog/index.js"
/*!*******************************************************************************************!*\
  !*** ./modules/commons/components/overview/dialogs/OverviewRevisionsEntryDialog/index.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _OverviewRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _OverviewRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OverviewRevisionsEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewRevisionsEntryDialog/OverviewRevisionsEntryDialog.js");


/***/ },

/***/ "./modules/commons/components/overview/hooks/useOverviewModel.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/overview/hooks/useOverviewModel.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   REFRESH: () => (/* reexport safe */ commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_5__.REFRESH),
/* harmony export */   useOverviewModel: () => (/* binding */ useOverviewModel),
/* harmony export */   withOverviewModelProvider: () => (/* binding */ withOverviewModelProvider),
/* harmony export */   withOverviewRefresh: () => (/* binding */ withOverviewRefresh)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/actions/actionTypes */ "./modules/commons/actions/actionTypes.js");
/* harmony import */ var commons_actions_hocs_withActionCallback__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/actions/hocs/withActionCallback */ "./modules/commons/actions/hocs/withActionCallback.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




const OverviewModelContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)();
const OVERVIEW_MODEL_DEFAULT_VALUE = {
  refreshCount: 0
};

const overviewModelReducer = (state, action) => {
  switch (action.type) {
    case commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_5__.REFRESH:
      return _objectSpread(_objectSpread({}, state), {}, {
        refreshCount: state.refreshCount + 1
      });
    default:
      throw new Error(`${action.type} is not a valid list action type`);
  }
};
const OverviewModelProvider = _ref => {
  let {
    children,
    initialValue = OVERVIEW_MODEL_DEFAULT_VALUE
  } = _ref;
  const [overviewModel, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useReducer)(overviewModelReducer, initialValue);
  return /*#__PURE__*/React.createElement(OverviewModelContext.Provider, {
    value: [overviewModel, dispatch]
  }, children);
};
OverviewModelProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
  initialValue: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};
const useOverviewModel = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(OverviewModelContext);
  if (context === undefined) throw new Error('OverviewModel context must be used within context provider');
  return context;
};
const OverviewUsingProvider = _ref2 => {
  let {
    Component,
    overviewProps
  } = _ref2;
  useOverviewModel();
  return /*#__PURE__*/React.createElement(Component, overviewProps);
};
OverviewUsingProvider.propTypes = {
  Component: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  overviewProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};
const withOverviewModelProvider = function withOverviewModelProvider(Component) {
  let initialValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  return overviewProps => /*#__PURE__*/React.createElement(OverviewModelProvider, {
    initialValue: _objectSpread(_objectSpread({}, OVERVIEW_MODEL_DEFAULT_VALUE), initialValue)
  }, /*#__PURE__*/React.createElement(OverviewUsingProvider, {
    Component: Component,
    overviewProps: overviewProps
  }));
};
const withOverviewRefresh = (Dialog, callbackName) => (0,commons_actions_hocs_withActionCallback__WEBPACK_IMPORTED_MODULE_6__["default"])(useOverviewModel, Dialog, callbackName, commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_5__.REFRESH);

/***/ },

/***/ "./modules/commons/components/overview/index.js"
/*!******************************************************!*\
  !*** ./modules/commons/components/overview/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OverviewBackButton: () => (/* reexport safe */ _OverviewBackButton__WEBPACK_IMPORTED_MODULE_12__["default"]),
/* harmony export */   OverviewDescription: () => (/* reexport safe */ _OverviewDescription__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   OverviewEditEntryDialog: () => (/* reexport safe */ _dialogs_OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_18__["default"]),
/* harmony export */   OverviewHeader: () => (/* reexport safe */ _OverviewHeader__WEBPACK_IMPORTED_MODULE_3__["default"]),
/* harmony export */   OverviewListHeader: () => (/* reexport safe */ _OverviewListHeader__WEBPACK_IMPORTED_MODULE_21__.OverviewListHeader),
/* harmony export */   OverviewListPlaceholder: () => (/* reexport safe */ _OverviewListPlaceholder__WEBPACK_IMPORTED_MODULE_13__["default"]),
/* harmony export */   OverviewMetadataList: () => (/* reexport safe */ _OverviewMetadataList__WEBPACK_IMPORTED_MODULE_4__["default"]),
/* harmony export */   OverviewMetadataListItem: () => (/* reexport safe */ _OverviewMetadataListItem__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   OverviewRemoveEntryDialog: () => (/* reexport safe */ _dialogs_OverviewRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_16__["default"]),
/* harmony export */   OverviewRevisionsEntryDialog: () => (/* reexport safe */ _dialogs_OverviewRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_19__["default"]),
/* harmony export */   OverviewSection: () => (/* reexport safe */ _OverviewSection__WEBPACK_IMPORTED_MODULE_15__["default"]),
/* harmony export */   OverviewSidebar: () => (/* reexport safe */ _OverviewSidebar__WEBPACK_IMPORTED_MODULE_6__["default"]),
/* harmony export */   OverviewSidebarActions: () => (/* reexport safe */ _OverviewSidebarActions__WEBPACK_IMPORTED_MODULE_14__["default"]),
/* harmony export */   OverviewSidebarButton: () => (/* reexport safe */ _OverviewSidebarButton__WEBPACK_IMPORTED_MODULE_7__["default"]),
/* harmony export */   OverviewSidebarDivider: () => (/* reexport safe */ _OverviewSidebarDivider__WEBPACK_IMPORTED_MODULE_17__["default"]),
/* harmony export */   OverviewSidebarItem: () => (/* reexport safe */ _OverviewSidebarItem__WEBPACK_IMPORTED_MODULE_11__["default"]),
/* harmony export */   OverviewSidebarToggle: () => (/* reexport safe */ _OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_10__["default"]),
/* harmony export */   OverviewTags: () => (/* reexport safe */ _OverviewTags__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */   OverviewTileButton: () => (/* reexport safe */ _OverviewTileButton__WEBPACK_IMPORTED_MODULE_8__["default"]),
/* harmony export */   OverviewTileButtonGroup: () => (/* reexport safe */ _OverviewTileButtonGroup__WEBPACK_IMPORTED_MODULE_9__["default"]),
/* harmony export */   REFRESH: () => (/* reexport safe */ _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_20__.REFRESH),
/* harmony export */   overviewPropsPropType: () => (/* binding */ overviewPropsPropType),
/* harmony export */   useOverviewModel: () => (/* reexport safe */ _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_20__.useOverviewModel),
/* harmony export */   withOverviewModelProvider: () => (/* reexport safe */ _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_20__.withOverviewModelProvider),
/* harmony export */   withOverviewRefresh: () => (/* reexport safe */ _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_20__.withOverviewRefresh)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _OverviewDescription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OverviewDescription */ "./modules/commons/components/overview/OverviewDescription/index.js");
/* harmony import */ var _OverviewTags__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OverviewTags */ "./modules/commons/components/overview/OverviewTags/index.js");
/* harmony import */ var _OverviewHeader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./OverviewHeader */ "./modules/commons/components/overview/OverviewHeader/index.js");
/* harmony import */ var _OverviewMetadataList__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OverviewMetadataList */ "./modules/commons/components/overview/OverviewMetadataList/index.js");
/* harmony import */ var _OverviewMetadataListItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./OverviewMetadataListItem */ "./modules/commons/components/overview/OverviewMetadataListItem/index.js");
/* harmony import */ var _OverviewSidebar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./OverviewSidebar */ "./modules/commons/components/overview/OverviewSidebar/index.js");
/* harmony import */ var _OverviewSidebarButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./OverviewSidebarButton */ "./modules/commons/components/overview/OverviewSidebarButton/index.js");
/* harmony import */ var _OverviewTileButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./OverviewTileButton */ "./modules/commons/components/overview/OverviewTileButton/index.js");
/* harmony import */ var _OverviewTileButtonGroup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./OverviewTileButtonGroup */ "./modules/commons/components/overview/OverviewTileButtonGroup/index.js");
/* harmony import */ var _OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./OverviewSidebarToggle */ "./modules/commons/components/overview/OverviewSidebarToggle/index.js");
/* harmony import */ var _OverviewSidebarItem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./OverviewSidebarItem */ "./modules/commons/components/overview/OverviewSidebarItem/index.js");
/* harmony import */ var _OverviewBackButton__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./OverviewBackButton */ "./modules/commons/components/overview/OverviewBackButton/index.js");
/* harmony import */ var _OverviewListPlaceholder__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./OverviewListPlaceholder */ "./modules/commons/components/overview/OverviewListPlaceholder/index.js");
/* harmony import */ var _OverviewSidebarActions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./OverviewSidebarActions */ "./modules/commons/components/overview/OverviewSidebarActions/index.js");
/* harmony import */ var _OverviewSection__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./OverviewSection */ "./modules/commons/components/overview/OverviewSection/index.js");
/* harmony import */ var _dialogs_OverviewRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./dialogs/OverviewRemoveEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewRemoveEntryDialog/index.js");
/* harmony import */ var _OverviewSidebarDivider__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./OverviewSidebarDivider */ "./modules/commons/components/overview/OverviewSidebarDivider/index.js");
/* harmony import */ var _dialogs_OverviewEditEntryDialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./dialogs/OverviewEditEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewEditEntryDialog/index.js");
/* harmony import */ var _dialogs_OverviewRevisionsEntryDialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./dialogs/OverviewRevisionsEntryDialog */ "./modules/commons/components/overview/dialogs/OverviewRevisionsEntryDialog/index.js");
/* harmony import */ var _hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./hooks/useOverviewModel */ "./modules/commons/components/overview/hooks/useOverviewModel.js");
/* harmony import */ var _OverviewListHeader__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OverviewListHeader */ "./modules/commons/components/overview/OverviewListHeader/index.js");




















const overviewPropsPropType = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
  excludeActions: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))
});



/***/ },

/***/ "./modules/commons/components/overview/utils/contextOverview.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/overview/utils/contextOverview.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   defaultQuery: () => (/* binding */ defaultQuery)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }














/**
 * Default query to get the number of entries of a given entity type
 *
 * @param {Context} context
 * @param {EntityType} entityType
 * @returns {number}
 */
const defaultQuery = async (context, entityType) => {
  const searchList = commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.newSolrQuery().context(context).rdfType(entityType.getRdfType()).list('1');
  await searchList.getEntries();
  return searchList.getSize();
};

/**
 *
 * @param {EntityType} entityTypes
 * @param {object} viewParams
 * @param {Context} context
 * @param {Function} translate
 * @param {Function} getQuery
 * @returns {Promise<object[]>}
 */
const getRowActions = function getRowActions(entityTypes, viewParams, context, translate) {
  let getQuery = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : () => null;
  const rowActionsPromises = entityTypes.filter(entityType => !entityType.get('hideFromOverview')).map(async entityType => {
    const query = getQuery(context, entityType) || defaultQuery;
    const queryCount = await query(context, entityType);
    const entityName = entityType.getName();
    const link = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getPathFromViewName)(entityType.get('listview') || `${(0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getModuleNameOfCurrentView)()}__entities__type`, _objectSpread(_objectSpread({}, viewParams), {}, {
      entityName
    }));

    // For builtin entity types the label can be derived from the view
    // definition. For custom entity types the view label is derived from the
    // viewLabel property. Final fallback is the entity type label.
    const label = (0,commons_locale__WEBPACK_IMPORTED_MODULE_12__.localize)(entityType.get('viewLabel') || (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getViewTitleFromName)(entityType.get('listview')) || entityType.label());
    return {
      getProps: () => ({
        label,
        labelPrefix: queryCount,
        to: link,
        isPrimary: entityType.get('main')
      })
    };
  });
  return Promise.all(rowActionsPromises);
};

/**
 * Sort entity types based on the order of views in the current module
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const sortEntityTypesOnViews = entityTypes => {
  const currentModule = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getModuleNameOfCurrentView)();
  const views = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('site.views').filter(view => view.module === currentModule);
  const viewNames = views.map(view => view.name);
  return entityTypes.sort((entityTypeA, entityTypeB) => {
    const listViewA = entityTypeA.get('listview');
    const listViewB = entityTypeB.get('listview');
    const indexA = viewNames.indexOf(listViewA);
    const indexB = viewNames.indexOf(listViewB);
    if (indexA === -1 || indexB === -1) return 0;
    return indexA - indexB;
  });
};

/**
 * Gets overview entity types
 *
 * @param {Context} context
 * @param {object} userInfo
 * @param {object} projectType
 * @returns {Promise<EntityType[]>}
 */
const getOverviewEntityTypes = async (context, userInfo, projectType) => {
  const moduleName = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getModuleNameOfCurrentView)();
  const builtinEntityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_11__.getBuiltinEntityTypes)(userInfo, moduleName);
  const entityTypesInContext = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__["default"].getEntityTypesInContext(context, userInfo, true);
  const entityTypes = projectType !== null && projectType !== void 0 && projectType.getIncludeBuiltins() ? builtinEntityTypes : entityTypesInContext;
  const typesIncludingRefined = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_11__.getEntityTypesIncludingRefined)(entityTypes);
  const overviewEntityTypes = typesIncludingRefined.filter(entityType => {
    return entityType.get('mainModule') === moduleName && entityType.get('listview') && !entityType.get('refines');
  });
  const customEntityTypes = projectType ? await (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getCustomEntityTypes)(projectType) : [];
  return overviewEntityTypes.concat(customEntityTypes);
};

/**
 * Extracts overview items from config
 *
 * @param {string} viewParams
 * @param {Context} context
 * @param {Function} translate
 * @param {Function} getQuery
 * @returns {Promise}
 */

const getOverviewData = async function getOverviewData(viewParams, entry, context, translate, userInfo, getQuery) {
  let sortFunction = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : sortEntityTypesOnViews;
  const data = {};
  data.projectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__["default"].getProjectTypeInUse(context);
  const entityTypes = await getOverviewEntityTypes(context, userInfo, data.projectType);
  data.entry = entry;
  data.entityTypes = sortFunction(entityTypes);
  data.rowActions = await getRowActions(data.entityTypes, viewParams, context, translate, getQuery);
  return data;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getOverviewData);

/***/ },

/***/ "./modules/commons/components/progress/LinearProgress/LinearProgress.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/progress/LinearProgress/LinearProgress.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_LinearProgress__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/LinearProgress */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_Box__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/Box */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _LinearProgress_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LinearProgress.scss */ "./modules/commons/components/progress/LinearProgress/LinearProgress.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






/**
 * @param {number} mandatoryTotalCount
 * @param {number} mandatoryProgressCount
 * @param {boolean} disabled
 * @returns {string}
 */
const getColorClass = (mandatoryTotalCount, mandatoryProgressCount, disabled) => {
  if (disabled) {
    return 'escoLinearProgress__bar--gray';
  }
  return mandatoryTotalCount === mandatoryProgressCount ? 'escoLinearProgress__bar--green' : 'escoLinearProgress__bar--red';
};
const LinearProgress = _ref => {
  let {
    progress,
    disabled = false,
    className = ''
  } = _ref;
  const {
    totalCount,
    progressCount,
    mandatoryTotalCount,
    mandatoryProgressCount
  } = progress;
  const progressPercent = totalCount ? Math.round(progressCount * 100 / totalCount) : 0;
  return /*#__PURE__*/React.createElement(_mui_material_Box__WEBPACK_IMPORTED_MODULE_3__["default"], {
    display: "flex",
    alignItems: "center",
    className: className
  }, /*#__PURE__*/React.createElement(_mui_material_Box__WEBPACK_IMPORTED_MODULE_3__["default"], {
    width: "100%",
    mr: 1
  }, /*#__PURE__*/React.createElement(_mui_material_LinearProgress__WEBPACK_IMPORTED_MODULE_1__["default"], {
    value: progressPercent,
    variant: "determinate",
    classes: {
      colorPrimary: 'escoLinearProgress__background',
      root: 'escoLinearProgress',
      bar1Determinate: getColorClass(mandatoryTotalCount, mandatoryProgressCount, disabled)
    }
  })), /*#__PURE__*/React.createElement(_mui_material_Box__WEBPACK_IMPORTED_MODULE_3__["default"], {
    minWidth: 35
  }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__["default"], {
    variant: "body2",
    color: "textSecondary"
  }, `${progressCount}/${totalCount}`)));
};
LinearProgress.propTypes = {
  progress: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    progressCount: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
    totalCount: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
    mandatoryTotalCount: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
    mandatoryProgressCount: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
  }),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LinearProgress);

/***/ },

/***/ "./modules/commons/components/progress/LinearProgress/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/progress/LinearProgress/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _LinearProgress__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _LinearProgress__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LinearProgress */ "./modules/commons/components/progress/LinearProgress/LinearProgress.js");


/***/ },

/***/ "./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/DatasetTemplateMetadataPresenter.js"
/*!*****************************************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/DatasetTemplateMetadataPresenter.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsPresenter */ "./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! catalog/nls/escaDatasetTemplate.nls */ "./modules/catalog/nls/escaDatasetTemplate.nls");
/* harmony import */ var catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/buttons/ExpandButton */ "./modules/commons/components/buttons/ExpandButton/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "externalTemplateId"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const DatasetTemplateMetadataPresenter = _ref => {
  let {
      entry,
      externalTemplateId
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  const {
    PresenterComponent
  } = (0,commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_3__["default"])(metadata, resourceURI, externalTemplateId);
  return /*#__PURE__*/React.createElement(commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    PresenterComponent: PresenterComponent,
    nlsBundles: [(catalog_nls_escaDatasetTemplate_nls__WEBPACK_IMPORTED_MODULE_4___default())]
  }, rest));
};
DatasetTemplateMetadataPresenter.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry),
  externalTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DatasetTemplateMetadataPresenter);

/***/ },

/***/ "./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/index.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/index.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DatasetTemplateMetadataPresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DatasetTemplateMetadataPresenter */ "./modules/commons/components/rdforms/DatasetTemplateMetadataPresenter/DatasetTemplateMetadataPresenter.js");


/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/EntrySelectButton/EntrySelectButton.js"
/*!************************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/EntrySelectButton/EntrySelectButton.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoEntryChooser.nls */ "./modules/commons/nls/escoEntryChooser.nls");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const EntrySelectButton = _ref => {
  let {
    entry,
    binding,
    onSelect
  } = _ref;
  const selected = binding.getValue() === entry.getResourceURI();
  const onClick = () => onSelect(entry);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_3___default()));
  return /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_2__["default"], {
    color: "primary",
    disabled: selected,
    variant: "text",
    onClick: onClick
  }, selected ? translate('selectedEntityLabel') : translate('selectEntity'));
};
EntrySelectButton.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry).isRequired,
  binding: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    getValue: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
  }),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntrySelectButton);

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/EntrySelectButton/index.js"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/EntrySelectButton/index.js ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntrySelectButton_js__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntrySelectButton_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntrySelectButton.js */ "./modules/commons/components/rdforms/EntryChooser/EntrySelectButton/EntrySelectButton.js");


/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.js"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/actions/actionIds */ "./modules/commons/actions/actionIds.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoEntryChooser.nls */ "./modules/commons/nls/escoEntryChooser.nls");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListCreateEntityDialog */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/index.js");
/* harmony import */ var commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useRdformsContext */ "./modules/commons/hooks/useRdformsContext.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! workbench/nls/eswoBench.nls */ "./modules/workbench/nls/eswoBench.nls");
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_rdforms_hooks_useGetChooserEntries__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/rdforms/hooks/useGetChooserEntries */ "./modules/commons/components/rdforms/hooks/useGetChooserEntries.js");
/* harmony import */ var commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/buttons/MultiCreateButton */ "./modules/commons/components/buttons/MultiCreateButton/index.js");
/* harmony import */ var _EntrySelectList_scss__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./EntrySelectList.scss */ "./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.scss");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _getChoiceFromEntry__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../getChoiceFromEntry */ "./modules/commons/components/rdforms/EntryChooser/getChoiceFromEntry.js");
/* harmony import */ var _EntrySelectButton__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../EntrySelectButton */ "./modules/commons/components/rdforms/EntryChooser/EntrySelectButton/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../util */ "./modules/commons/components/rdforms/EntryChooser/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["filterProps", "hasFilters", "selectedStore"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

























const ROWS_PER_PAGE = 5;
const getTitleProps = _ref => {
  let {
    entry,
    translate
  } = _ref;
  const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_19__.getFullLengthLabel)(entry);
  const contextEntry = entry.getContext().getEntry(true);
  const contextLabel = contextEntry ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_19__.getFullLengthLabel)(contextEntry) : null;
  return _objectSpread({
    entry,
    translate,
    primary: label
  }, contextLabel && label !== contextLabel ? {
    secondary: contextLabel
  } : {});
};
const EntrySelectList = _ref2 => {
  let {
    binding,
    onClose,
    onSelect
  } = _ref2;
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListModel)();
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_24__.useUserState)();
  const item = binding.getItem();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_11___default())]);
  const constraints = item.getConstraints();
  const {
    context: rdformsContext,
    contextName: rdformsContextName
  } = (0,commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_13__.getRdformsContextAndName)();
  const {
    context: esContext,
    contextName: esContextName
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_14__.getESContextAndName)();
  const context = rdformsContext || esContext;
  const contextName = rdformsContextName || esContextName;
  const _useGetChooserEntries = (0,commons_components_rdforms_hooks_useGetChooserEntries__WEBPACK_IMPORTED_MODULE_20__["default"])({
      rdformsItem: item,
      dispatch,
      context,
      entityType: commons_types_Lookup__WEBPACK_IMPORTED_MODULE_15__["default"].getEntityTypeByConstraints(constraints),
      // not optimal, only checks first matching entity type
      translate
    }),
    {
      filterProps,
      hasFilters,
      selectedStore
    } = _useGetChooserEntries,
    queryResults = _objectWithoutProperties(_useGetChooserEntries, _excluded);
  const onSelectEntry = entry => {
    onClose();
    onSelect((0,_getChoiceFromEntry__WEBPACK_IMPORTED_MODULE_26__["default"])(entry));
  };
  const getCreateItems = () => {
    const entityTypes = (0,_util__WEBPACK_IMPORTED_MODULE_28__.getEntityTypesForInlineCreate)(constraints, context, userInfo);
    return entityTypes.map(entityType => ({
      id: entityType.getId(),
      Dialog: commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_12__["default"],
      label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_23__.localize)(entityType.label()),
      getProps: () => ({
        action: {
          actionParams: {
            entityType,
            rdfType: entityType.getRdfType(),
            afterCreateEntry: onSelectEntry,
            context,
            contextName,
            nlsBundles: [(workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_17___default())]
          }
        }
      })
    }));
  };
  const listActions = [{
    id: 'create',
    Dialog: commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_12__["default"],
    Component: commons_components_buttons_MultiCreateButton__WEBPACK_IMPORTED_MODULE_21__["default"],
    labelNlsKey: 'createButton',
    tooltipNlsKey: 'actionTooltip',
    items: getCreateItems(),
    isVisible: () => selectedStore === commons_store__WEBPACK_IMPORTED_MODULE_25__.entrystore
  }];
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.EntryListView, _extends({
    nlsBundles: [(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default())],
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    listActions: listActions,
    viewPlaceholderProps: {
      label: translate('errorMessage', item.getLabel()),
      className: 'escoEntrySelectList__placeholder'
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.TITLE_COLUMN), {}, {
      xs: 7,
      getProps: getTitleProps
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.INFO_COLUMN), {}, {
      xs: 2,
      justifyContent: 'center',
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ListItemActionIconButton,
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          action: {
            id: commons_actions_actionIds__WEBPACK_IMPORTED_MODULE_7__.ACTION_INFO_ID,
            // not using action def to avoid circ dependency
            labelNlsKey: 'infoEntry',
            isVisible: () => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_16__.canReadMetadata)(entry),
            entry,
            Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_18__["default"]
          }
        };
      }
    }), {
      id: 'select',
      xs: 1,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ListItemButtonAction,
      getProps: _ref4 => {
        let {
          entry
        } = _ref4;
        return {
          ButtonComponent: _EntrySelectButton__WEBPACK_IMPORTED_MODULE_27__["default"],
          entry,
          binding,
          onSelect: onSelectEntry
        };
      }
    }]
  }, queryResults));
};
EntrySelectList.propTypes = {
  binding: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    getItem: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
  }),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.withListModelProvider)(EntrySelectList, () => ({
  limit: ROWS_PER_PAGE,
  showFilters: true
})));

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/EntrySelectList/index.js"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/EntrySelectList/index.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntrySelectList__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntrySelectList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntrySelectList */ "./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.js");


/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/getChoice.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/getChoice.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useRdformsContext */ "./modules/commons/hooks/useRdformsContext.js");
/* harmony import */ var commons_components_dialogs_create_CreateEntityDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/dialogs/create/CreateEntityDialog */ "./modules/commons/components/dialogs/create/CreateEntityDialog/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! workbench/nls/eswoBench.nls */ "./modules/workbench/nls/eswoBench.nls");
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var _getChoiceFromEntry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./getChoiceFromEntry */ "./modules/commons/components/rdforms/EntryChooser/getChoiceFromEntry.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./util */ "./modules/commons/components/rdforms/EntryChooser/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }














/**
 * Implementation for the choice upgrade function.
 *
 * @param {Binding} binding
 * @param {Function} callback
 * @param {object} field
 * @param {string} value
 * @param {object} choiceObject
 */
const upgradeToEntry = (binding, callback, field, value, choiceObject) => {
  const {
    context,
    contextName
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__.getESContextAndName)();
  const constraints = binding.getItem().getConstraints();
  const {
    source: entityType
  } = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__["default"].getEntityTypeByConstraints(constraints);
  const rdfType = entityType.rdfType[0];
  const closeDialog = () => field.removeChild(child);
  const afterCreateEntry = entry => {
    choiceObject.label.en = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_8__.getLabel)(entry);
    choiceObject.mismatch = false;
    delete choiceObject.upgrade;
    closeDialog();
    callback(choiceObject);
  };
  const child = /*#__PURE__*/React.createElement(commons_components_dialogs_create_CreateEntityDialog__WEBPACK_IMPORTED_MODULE_7__["default"], {
    key: "create-entity-dialog",
    actionParams: {
      entityType,
      afterCreateEntry,
      context,
      contextName,
      rdfType,
      nlsBundles: [(workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_10___default())]
    },
    closeDialog: closeDialog,
    upgradeLink: value
  });
  field.appendChild(child);
};
const getChoice = (item, value) => {
  const context = (0,commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_6__.getRdformsContext)() || (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_5__.getESContext)();
  const choiceObject = {
    value,
    load() {
      let onSuccess = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : () => {};
      const onError = () => {
        choiceObject.upgrade = function () {
          for (var _len = arguments.length, params = new Array(_len), _key = 0; _key < _len; _key++) {
            params[_key] = arguments[_key];
          }
          return upgradeToEntry(...params, value, choiceObject);
        };
        choiceObject.label = {
          en: value
        };
        choiceObject.mismatch = true; // TODO replace with something else
        onSuccess();
      };
      const constructChoiceFromEntry = entry => {
        const _getChoiceFromEntry = (0,_getChoiceFromEntry__WEBPACK_IMPORTED_MODULE_11__["default"])(entry, choiceObject),
          cleanChoice = _extends({}, (_objectDestructuringEmpty(_getChoiceFromEntry), _getChoiceFromEntry));
        choiceObject.entry = entry;
        // Hack to prevent JSON.stringify from failing on the choice. MUI will
        // run this to log a warning when matching choice is not found, which in
        // turn will cause the rdforms editor to break.
        choiceObject.toJSON = () => {
          return cleanChoice;
        };
        delete choiceObject.load;
        return choiceObject;
      };
      const {
        explicitContext,
        contextRestriction,
        invertContextRestriction,
        remoteStoreUtil
      } = (0,_util__WEBPACK_IMPORTED_MODULE_12__.getQueryConfiguration)(item, context);
      let choiceContext = null;
      if (explicitContext) {
        choiceContext = explicitContext;
      } else if (contextRestriction && !invertContextRestriction) {
        choiceContext = context;
      }

      /**
       * 1. Looks in the default store's cache
       * 2. Tries to fetch the entry from the default store
       *
       * If a remote store has been configured for the entitytype:
       * 3. Looks in the remote store's cache
       * 4. Tries to fetch the entry from the remote store
       *
       * If all the above were unsuccessful
       * 5. Calls onError and returns the resourceURI as the label
       *
       * Note: looking into the cache, otherwise fetching the entry, are both
       * done via the store utility `getEntryByResourceURI`.
       */
      return commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystoreUtil.getEntryByResourceURI(value, choiceContext).then(constructChoiceFromEntry, () => remoteStoreUtil.getEntryByResourceURI(value).then(constructChoiceFromEntry).then(onSuccess, onError)).then(onSuccess, onError);
    }
  };
  return choiceObject;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getChoice);

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/getChoiceFromEntry.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/getChoiceFromEntry.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((entry, obj) => {
  const o = obj || {};
  o.value = entry.getResourceURI();
  o.label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_1__.getLabel)(entry) || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_1__.getLabel)(entry.getCachedExternalMetadata(), entry.getResourceURI());
  o.description = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_1__.getDescription)(entry) || (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_1__.getDescription)(entry.getCachedExternalMetadata(), entry.getResourceURI());
  return o;
});

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _showDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./showDialog */ "./modules/commons/components/rdforms/EntryChooser/showDialog.js");
/* harmony import */ var _searchChoice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./searchChoice */ "./modules/commons/components/rdforms/EntryChooser/searchChoice.js");
/* harmony import */ var _getChoice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getChoice */ "./modules/commons/components/rdforms/EntryChooser/getChoice.js");





const chooserConfiguration = {
  show: _showDialog__WEBPACK_IMPORTED_MODULE_2__["default"],
  supportsInlineCreate(binding) {
    try {
      var _Lookup$getEntityType, _entityType$inlineCre;
      const item = binding.getItem();
      const constraints = item.getConstraints();
      const entityType = (_Lookup$getEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_1__["default"].getEntityTypeByConstraints(constraints)) === null || _Lookup$getEntityType === void 0 ? void 0 : _Lookup$getEntityType.get();
      return (_entityType$inlineCre = entityType === null || entityType === void 0 ? void 0 : entityType.inlineCreation) !== null && _entityType$inlineCre !== void 0 ? _entityType$inlineCre : false;
    } catch (error) {
      console.error(error);
      return false;
    }
  },
  search: _searchChoice__WEBPACK_IMPORTED_MODULE_3__["default"],
  getChoice: _getChoice__WEBPACK_IMPORTED_MODULE_4__["default"]
};
_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_0__.renderingContext.chooserRegistry.itemtype('choice').register(chooserConfiguration);

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/queryFromItem.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/queryFromItem.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getQueryFromItem: () => (/* binding */ getQueryFromItem)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util */ "./modules/commons/components/rdforms/EntryChooser/util.js");





const getQueryFromItem = (item, term, currentContext) => {
  const {
    searchLimit,
    sortFields,
    searchProps,
    explicitContext,
    contextRestriction,
    invertContextRestriction,
    primaryStore,
    isRemoteStore
  } = (0,_util__WEBPACK_IMPORTED_MODULE_4__.getQueryConfiguration)(item);
  const store = primaryStore || commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore;
  const query = (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_3__.applyEntityTypeParams)(store.newSolrQuery(), {
    search: term
  }, {
    constraints: item.getConstraints(),
    searchProps
  });
  const limit = searchLimit || 10;
  query.limit(limit);
  if (sortFields !== null && sortFields !== void 0 && sortFields.length) {
    query.sort(sortFields);
  }
  if (explicitContext) {
    query.context(commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getContextById(explicitContext));
    return [query, commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_1__.simpleFetchEntries, searchProps];
  }
  if (contextRestriction && currentContext && !isRemoteStore) {
    query.context(currentContext, invertContextRestriction);
  }
  return [query, commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_1__.simpleFetchEntries, searchProps];
};

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/searchChoice.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/searchChoice.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_rdforms_EntryChooser_queryFromItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/rdforms/EntryChooser/queryFromItem */ "./modules/commons/components/rdforms/EntryChooser/queryFromItem.js");
/* harmony import */ var commons_components_rdforms_EntryChooser_getChoiceFromEntry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/rdforms/EntryChooser/getChoiceFromEntry */ "./modules/commons/components/rdforms/EntryChooser/getChoiceFromEntry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useRdformsContext */ "./modules/commons/hooks/useRdformsContext.js");






const searchChoice = (binding, term) => {
  var _binding$getChoice;
  const context = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_4__.getESContext)() || (0,commons_hooks_useRdformsContext__WEBPACK_IMPORTED_MODULE_5__.getRdformsContext)();

  // note that all choices should be shown when there's a current selection
  const [query] = (0,commons_components_rdforms_EntryChooser_queryFromItem__WEBPACK_IMPORTED_MODULE_2__.getQueryFromItem)(binding.getItem(), ((_binding$getChoice = binding.getChoice()) === null || _binding$getChoice === void 0 ? void 0 : _binding$getChoice.label) === term ? '' : term, context);
  return query.getEntries().then(entries => entries.map(entry => (0,commons_components_rdforms_EntryChooser_getChoiceFromEntry__WEBPACK_IMPORTED_MODULE_3__["default"])(entry)));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (searchChoice);

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/showDialog.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/showDialog.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_Dialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Dialog */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material_DialogTitle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/DialogTitle */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/DialogContent */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/DialogActions */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoEntryChooser.nls */ "./modules/commons/nls/escoEntryChooser.nls");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _EntrySelectList__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./EntrySelectList */ "./modules/commons/components/rdforms/EntryChooser/EntrySelectList/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













const EntryChooserDialog = _ref => {
  let {
    binding,
    onClose,
    onSelect
  } = _ref;
  const itemLabel = binding.getItem().getLabel();
  const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(true);
  const onDialogClose = () => {
    setOpen(false);
    setTimeout(onClose, 500);
  };
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)([(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_9___default())]);
  return /*#__PURE__*/React.createElement(_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_4__["default"], {
    fullWidth: true,
    maxWidth: "lg",
    open: open,
    onClose: onClose,
    classes: {
      paper: 'escoEntryChooserDialog'
    }
  }, /*#__PURE__*/React.createElement(_mui_material_DialogTitle__WEBPACK_IMPORTED_MODULE_5__["default"], {
    onClose: onClose
  }, translate('searchForHeader', itemLabel)), /*#__PURE__*/React.createElement(_mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_EntrySelectList__WEBPACK_IMPORTED_MODULE_12__["default"], {
    binding: binding,
    onClose: onDialogClose,
    onSelect: onSelect
  })), /*#__PURE__*/React.createElement(_mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_8__["default"], {
    color: "primary",
    onClick: onClose
  }, translate('close'))));
};
EntryChooserDialog.propTypes = {
  binding: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    getItem: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
  }),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
const showDialog = (binding, onSelect, field) => {
  let child;
  const onClose = () => field.removeChild(child);
  child = /*#__PURE__*/React.createElement(EntryChooserDialog, {
    key: "entrychooser",
    binding: binding,
    onClose: onClose,
    onSelect: onSelect
  });
  field.appendChild(child);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (showDialog);

/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/util.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/util.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyContextRestrictions: () => (/* binding */ applyContextRestrictions),
/* harmony export */   checkUseRemoteStore: () => (/* binding */ checkUseRemoteStore),
/* harmony export */   getContextFilterItems: () => (/* binding */ getContextFilterItems),
/* harmony export */   getEntityTypesForInlineCreate: () => (/* binding */ getEntityTypesForInlineCreate),
/* harmony export */   getPrimaryStore: () => (/* binding */ getPrimaryStore),
/* harmony export */   getQueryConfiguration: () => (/* binding */ getQueryConfiguration),
/* harmony export */   restrictedToContext: () => (/* binding */ restrictedToContext)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_tree_skos_util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/tree/skos/util */ "./modules/commons/tree/skos/util.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");




function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const restrictedToContext = (property, entitytype) => {
  const chooserScope = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('entrychooser');
  if (chooserScope[property]) {
    // restriction if chooserScope is set to 'context' explicitly
    return chooserScope[property] === 'context';
  }
  // restrict unless allContexts is specified on the entitytype
  return !(entitytype && entitytype.allContexts === true);
};
const checkUseRemoteStore = (entityType, property) => {
  const remoteStoreConfig = entityType.getStoreConfig();
  if (!remoteStoreConfig) return false;

  // Hide remote entrystore option in case this a relation property
  return !commons_tree_skos_util__WEBPACK_IMPORTED_MODULE_8__.semanticRelationsProperties.some(relationProperty => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.namespaces.expand(relationProperty) === property);
};

// TODO: handle this logic in EntityType class in es-utils
const getPrimaryStore = entityType => {
  const remoteStoreConfig = entityType.getStoreConfig();
  const {
    includeLocal,
    primary
  } = remoteStoreConfig;
  return includeLocal === false || primary ? entityType.getStore() : commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore;
};

/**
 *
 * @param {string} property
 * @param {boolean} allContexts
 * @returns {object}
 */
const getContextRestrictions = (property, allContexts) => {
  const chooserScope = config__WEBPACK_IMPORTED_MODULE_5__["default"].get('entrychooser');
  let contextRestriction = true;
  let invertContextRestriction = false;
  switch (chooserScope[property]) {
    case 'context':
      contextRestriction = true;
      break;
    case 'notContext':
      contextRestriction = true;
      invertContextRestriction = true;
      break;
    case 'repository':
      contextRestriction = false;
      break;
    default:
      if (allContexts === true) {
        // when no chooserScope is set, check if allContext is set to true to relax restriction
        contextRestriction = false;
      }
  }
  return {
    contextRestriction,
    invertContextRestriction
  };
};

/**
 * Apply context restriction based on chooser and entity type configuration.
 *
 * @param {object} query
 * @param {object} item
 * @param {Context} context
 * @param {EntityType} entityType
 * @returns {object}
 */
const applyContextRestrictions = (query, item, context, entityType) => {
  const {
    contextRestriction,
    invertContextRestriction
  } = getContextRestrictions(item.getProperty(), entityType === null || entityType === void 0 ? void 0 : entityType.get('allContexts'));
  const explicitContextId = entityType === null || entityType === void 0 ? void 0 : entityType.get('context');
  if (explicitContextId) {
    query.context(commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getContextById(explicitContextId));
  } else if (contextRestriction && context) {
    query.context(context, invertContextRestriction);
  }
  return query;
};

/**
 *
 * @param {object} item
 * @param {Context} context
 * @returns {object}
 */
const getQueryConfiguration = (item, context) => {
  const property = item.getProperty();
  const projectType = context ? commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getProjectTypeInUse(context, true) : null;
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getEntityTypeByConstraints(item.getConstraints(), projectType);
  const contextRestrictions = getContextRestrictions(property, entityType === null || entityType === void 0 ? void 0 : entityType.get('allContexts'));
  if (!entityType) return contextRestrictions;
  const hasRemoteStore = checkUseRemoteStore(entityType, property);
  const remoteStoreConfig = {};
  if (hasRemoteStore) {
    remoteStoreConfig.remoteStoreUtil = entityType.getStoreUtil();
    remoteStoreConfig.remoteStore = entityType.getStore();
    remoteStoreConfig.remoteStorePrimary = entityType.getStoreConfig().primary;
  }
  const primaryStore = hasRemoteStore ? getPrimaryStore(entityType) : commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore;
  return _objectSpread(_objectSpread(_objectSpread({}, contextRestrictions), remoteStoreConfig), {}, {
    primaryStore,
    isRemoteStore: primaryStore !== commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore,
    searchLimit: entityType.get('searchLimit'),
    sortFields: entityType.get('sortFields'),
    searchProps: entityType.get('searchProps'),
    explicitContext: entityType.get('context')
  });
};

/**
 *
 * @param {object} store
 * @param {string} currentContextId
 * @param {Function} translate
 * @returns {Entry[]}
 */
const getContextFilterItems = async (store, currentContextId, translate) => {
  const currentModuleName = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_13__.getModuleNameOfCurrentView)();
  const rdfTypes = commons_util_context__WEBPACK_IMPORTED_MODULE_11__.contextTypes.filter(contextType => contextType.module === currentModuleName).map(contextType => contextType.rdfType);
  const contextEntries = await store.newSolrQuery().rdfType(rdfTypes).limit(100).list().getAllEntries();
  const currentItem = {
    label: translate('currentProjectLabel'),
    value: currentContextId
  };
  const contextItems = contextEntries.filter(contextEntry => contextEntry.getId() !== currentContextId).map(contextEntry => ({
    value: contextEntry.getId(),
    label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabel)(contextEntry) || translate('unnamedProject', contextEntry.getId())
  }));
  const items = store === commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore ? [currentItem, ...contextItems] : contextItems;
  return [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_12__.ANY_FILTER_ITEM, ...items];
};

/**
 *
 * @param {object} constraints
 * @param {Context} context
 * @param {object} userInfo
 * @returns {EntityType[]}
 */
const getEntityTypesForInlineCreate = (constraints, context, userInfo) => {
  const entityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__.getEntityTypesByConstraints)(constraints, context);
  return entityTypes.filter(entityType => entityType.get('inlineCreation') && (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_14__.hasUserAccess)(userInfo, entityType.get('restrictTo')));
};

/***/ },

/***/ "./modules/commons/components/rdforms/ExternalMetadataPresenter/ExternalMetadataPresenter.js"
/*!***************************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/ExternalMetadataPresenter/ExternalMetadataPresenter.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsPresenter */ "./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js");
/* harmony import */ var commons_nls_escoPresentExpandable_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoPresentExpandable.nls */ "./modules/commons/nls/escoPresentExpandable.nls");
/* harmony import */ var commons_nls_escoPresentExpandable_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPresentExpandable_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/buttons/ExpandButton */ "./modules/commons/components/buttons/ExpandButton/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "externalTemplateId"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const ExternalMetadataPresenter = _ref => {
  let {
      entry,
      externalTemplateId
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const initiallyExpanded = entry.getMetadata().isEmpty();
  const externalMetadata = entry.getCachedExternalMetadata();
  const resourceURI = entry.getResourceURI();
  const {
    PresenterComponent
  } = (0,commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_3__["default"])(externalMetadata, resourceURI, externalTemplateId);
  return /*#__PURE__*/React.createElement(commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    initiallyExpanded: initiallyExpanded,
    PresenterComponent: PresenterComponent,
    nlsBundles: [(commons_nls_escoPresentExpandable_nls__WEBPACK_IMPORTED_MODULE_4___default())]
  }, rest));
};
ExternalMetadataPresenter.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry),
  externalTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ExternalMetadataPresenter);

/***/ },

/***/ "./modules/commons/components/rdforms/ExternalMetadataPresenter/index.js"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/rdforms/ExternalMetadataPresenter/index.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ExternalMetadataPresenter__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ExternalMetadataPresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ExternalMetadataPresenter */ "./modules/commons/components/rdforms/ExternalMetadataPresenter/ExternalMetadataPresenter.js");


/***/ },

/***/ "./modules/commons/components/rdforms/FieldWrapper/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/rdforms/FieldWrapper/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RDFormsField: () => (/* binding */ RDFormsField),
/* harmony export */   RDFormsFields: () => (/* binding */ RDFormsFields),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/components/rdforms/FieldWrapper/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["label", "isRequiredMark", "children"];

function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



const RDFormsFields = _ref => {
  let {
    editor = false,
    label = '',
    isRequiredMark = true,
    labelProps = {},
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: editor ? 'rdforms rdformsEditor' : 'rdforms'
  }, /*#__PURE__*/React.createElement("div", {
    className: "rdformsRow rdformsTopLevel"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({}, labelProps, {
    className: "rdformsLabelRow"
  }), /*#__PURE__*/React.createElement("span", {
    className: "rdformsLabel"
  }, label), isRequiredMark && /*#__PURE__*/React.createElement("span", {
    className: "rdformsMark rdformsMandatoryMark"
  }, "*")), /*#__PURE__*/React.createElement("div", {
    className: "rdformsFields"
  }, children)));
};
RDFormsFields.propTypes = {
  editor: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  isRequiredMark: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  labelProps: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
const RDFormsField = _ref2 => {
  let {
    children
  } = _ref2;
  return /*#__PURE__*/React.createElement("div", {
    className: "rdformsField"
  }, children);
};
RDFormsField.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
const RDFormsFieldWrapper = _ref3 => {
  let {
      label,
      isRequiredMark,
      children
    } = _ref3,
    rest = _objectWithoutProperties(_ref3, _excluded);
  return /*#__PURE__*/React.createElement(RDFormsFields, _extends({
    label: label,
    isRequiredMark: isRequiredMark
  }, rest), /*#__PURE__*/React.createElement(RDFormsField, null, children));
};
RDFormsFieldWrapper.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),
  isRequiredMark: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RDFormsFieldWrapper);

/***/ },

/***/ "./modules/commons/components/rdforms/FormControls/FormControls.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/rdforms/FormControls/FormControls.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Stack/Stack.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_types_ProfileChooser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/ProfileChooser */ "./modules/commons/types/ProfileChooser/index.js");
/* harmony import */ var commons_types_useGetEntityTypes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/useGetEntityTypes */ "./modules/commons/types/useGetEntityTypes.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");







// Controls shown in the sticky header of the entry create/edit dialogs.
const FormControls = _ref => {
  let {
    entry,
    level,
    onUpdateLevel,
    disabledLevels,
    formTemplateId,
    selectedEntityType,
    onChangeEntityType
  } = _ref;
  const {
    entityTypes
  } = (0,commons_types_useGetEntityTypes__WEBPACK_IMPORTED_MODULE_5__["default"])(entry);
  const showProfileChooser = entityTypes.length > 1 && !formTemplateId && selectedEntityType;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    direction: "row",
    spacing: 2
  }, /*#__PURE__*/React.createElement(commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_3__["default"], {
    level: level,
    onUpdateLevel: onUpdateLevel,
    disabledLevels: disabledLevels
  }), showProfileChooser ? /*#__PURE__*/React.createElement(commons_types_ProfileChooser__WEBPACK_IMPORTED_MODULE_4__["default"], {
    entityTypes: entityTypes,
    selectedEntityType: selectedEntityType,
    onChangeEntityType: onChangeEntityType
  }) : null);
};
FormControls.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry),
  level: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  onUpdateLevel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  disabledLevels: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)),
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  selectedEntityType: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    getId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
  }),
  onChangeEntityType: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormControls);

/***/ },

/***/ "./modules/commons/components/rdforms/FormControls/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/rdforms/FormControls/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _FormControls__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _FormControls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FormControls */ "./modules/commons/components/rdforms/FormControls/FormControls.js");


/***/ },

/***/ "./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   isValidInputValue: () => (/* binding */ isValidInputValue)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js");
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_icons_material_Public__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/Public */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_components_Map__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/Map */ "./modules/commons/components/Map/index.js");
/* harmony import */ var commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/Map/controls */ "./modules/commons/components/Map/controls/index.js");
/* harmony import */ var commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/Map/contexts/MapContext */ "./modules/commons/components/Map/contexts/MapContext.js");
/* harmony import */ var commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/Map/hooks/useOpenlayers */ "./modules/commons/components/Map/hooks/useOpenlayers.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_23__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/components/Map/controls/ScaleLineControl */ "./modules/commons/components/Map/controls/ScaleLineControl/index.js");
/* harmony import */ var commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/Map/controls/AttributionControl */ "./modules/commons/components/Map/controls/AttributionControl/index.js");
/* harmony import */ var commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/components/Map/controls/ControlGroup */ "./modules/commons/components/Map/controls/ControlGroup/index.js");
/* harmony import */ var _utils_bounds__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../utils/bounds */ "./modules/commons/components/rdforms/GeoChooser/utils/bounds.js");
/* harmony import */ var _utils_binding__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../utils/binding */ "./modules/commons/components/rdforms/GeoChooser/utils/binding.js");
/* harmony import */ var _GeoEditor_scss__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./GeoEditor.scss */ "./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






























/**
 * Check if value is a number (includes negative values)
 *
 * @param {string} value
 * @returns {boolean}
 */
const isValidInputValue = value => {
  const regex = /^-?\d*(\.?\d*)$/;
  return regex.test(value);
};
const GeoDetect = _ref => {
  let {
    binding,
    geoDetect,
    updateBounds
  } = _ref;
  const {
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_16__["default"])();
  const {
    detectLabel,
    okLabel
  } = geoDetect;
  const detectFunction = commons_registry__WEBPACK_IMPORTED_MODULE_20__["default"].get('geoDetect');
  if (!detectFunction) throw Error(
  // eslint-disable-next-line max-len
  'Geodetect is configured but the detect function is missing. It has to be provided via registry through the extra scripts.');
  const handleClick = () => {
    detectFunction(commons_store__WEBPACK_IMPORTED_MODULE_21__.entrystore, binding).then(async response => {
      const {
        geo,
        message
      } = response;
      if (typeof geo === 'object' && geo !== null) {
        updateBounds((0,_utils_bounds__WEBPACK_IMPORTED_MODULE_28__.getBoundsFromGeo)(geo));
      }
      if (typeof message === 'object' && message !== null) {
        await getAcknowledgeDialog({
          okLabel: (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(okLabel),
          content: (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(message)
        });
      }
    }, async error => {
      if (typeof error === 'object' && error !== null) {
        await getAcknowledgeDialog({
          okLabel: (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(okLabel),
          content: (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(error)
        });
      }
    });
  };
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "text",
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material_Public__WEBPACK_IMPORTED_MODULE_8__["default"], null),
    onClick: handleClick
  }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(detectLabel)));
};
GeoDetect.propTypes = {
  binding: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({}),
  geoDetect: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({
    detectLabel: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({}),
    okLabel: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({})
  }),
  updateBounds: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func)
};
const DirectionField = _ref2 => {
  let {
    value,
    direction,
    placeholder = '',
    onChange,
    disabled
  } = _ref2;
  const [fieldValue, setFieldValue] = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)('');

  /**
   * Update field value if value is changed in other way than editing the text
   * field.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => {
    setFieldValue(currentFieldValue => {
      if (parseFloat(currentFieldValue) === value) return currentFieldValue;
      return value === undefined ? '' : `${value}`;
    });
  }, [value]);
  const handleValidateOnBlur = _ref3 => {
    let {
      target
    } = _ref3;
    const {
      value: inputValue
    } = target;
    if (!inputValue) return;
    let number;
    if (inputValue.endsWith('-')) {
      number = 0;
      setFieldValue(`${number}`);
    }
    if (inputValue.endsWith('.')) {
      number = parseInt(inputValue, 10);
      setFieldValue(`${number}`);
    }
    if (number !== undefined && number !== value) {
      onChange({
        direction,
        value: number
      });
    }
  };
  /**
   * Only update value when the parsed value has changed. The value should not
   * be updated, if for example a decimal separarator has been typed without any
   * following numbers.
   *
   * @param root0
   * @param root0.target
   */
  const handleChange = _ref4 => {
    let {
      target
    } = _ref4;
    const {
      value: inputValue
    } = target;
    if (!isValidInputValue(inputValue)) return;
    const number = inputValue === '' || inputValue === '-' ? undefined : parseFloat(inputValue);
    if (Number.isNaN(number)) return;
    setFieldValue(inputValue);
    if (number !== value) {
      onChange({
        direction,
        value: number
      });
    }
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    variant: "filled",
    fullWidth: true,
    id: `direction-field-${direction}`,
    label: placeholder,
    value: fieldValue,
    onChange: handleChange,
    disabled: disabled,
    onBlurCapture: handleValidateOnBlur
  });
};
DirectionField.propTypes = {
  value: prop_types__WEBPACK_IMPORTED_MODULE_23___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_23___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_23___default().string)]),
  direction: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().string),
  placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().bool)
};
const LatlngDirections = _ref5 => {
  let {
    directions = {},
    updateBounds,
    editable
  } = _ref5;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_19___default()));
  const handleChange = _ref6 => {
    let {
      value,
      direction
    } = _ref6;
    updateBounds({
      type: 'point',
      directions: _objectSpread(_objectSpread({}, directions), {}, {
        [direction]: value
      })
    });
  };
  const {
    north,
    west
  } = directions;
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(DirectionField, {
    value: north,
    direction: "north",
    onChange: handleChange,
    placeholder: translate('latitudeLabelShort'),
    disabled: !editable
  }), /*#__PURE__*/React.createElement(DirectionField, {
    value: west,
    direction: "west",
    onChange: handleChange,
    placeholder: translate('longitudeLabelShort'),
    disabled: !editable
  }));
};
LatlngDirections.propTypes = {
  directions: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({
    north: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().number),
    west: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().number)
  }),
  updateBounds: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func),
  editable: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().bool)
};
const BoxDirections = _ref7 => {
  let {
    directions = {},
    updateBounds,
    editable
  } = _ref7;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_17__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_19___default()));
  const handleChange = _ref8 => {
    let {
      value,
      direction
    } = _ref8;
    updateBounds({
      type: 'polygon',
      directions: _objectSpread(_objectSpread({}, directions), {}, {
        [direction]: value
      })
    });
  };
  const getDirectionValues = () => {
    return ['north', 'south', 'west', 'east'].map(direction => ({
      direction,
      value: directions[direction]
    }));
  };
  return /*#__PURE__*/React.createElement("div", null, getDirectionValues().map(_ref9 => {
    let {
      direction,
      value
    } = _ref9;
    return /*#__PURE__*/React.createElement(DirectionField, {
      key: direction,
      value: value,
      direction: direction,
      onChange: handleChange,
      placeholder: translate(`${direction}LabelShort`),
      disable: !editable
    });
  }));
};
BoxDirections.propTypes = {
  directions: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({}),
  updateBounds: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func),
  editable: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().bool)
};
const GeoEditorMap = _ref0 => {
  let {
    bounds,
    updateBounds,
    editable,
    includeBoxControl
  } = _ref0;
  const [{
    map
  }] = (0,commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_14__.useMapContext)();
  const mapUtils = (0,commons_components_Map_hooks_useOpenlayers__WEBPACK_IMPORTED_MODULE_15__.useOpenlayers)();
  const [previousBounds, setPreviousBounds] = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(null);
  const isPoint = (bounds === null || bounds === void 0 ? void 0 : bounds.type) === 'point';
  const createPointFeature = _ref1 => {
    let {
      north,
      west
    } = _ref1;
    const [coordinate] = mapUtils.convertFromLonLat([[west, north]]);
    const geometry = mapUtils.createPoint(coordinate);
    const feature = mapUtils.createFeature({
      geometry
    });
    feature.setStyle(mapUtils.createMarker({
      color: mapUtils.BLUE
    }));
    return feature;
  };
  const createPolygonFeature = _ref10 => {
    let {
      west,
      north,
      east,
      south
    } = _ref10;
    const extent = mapUtils.extentFromLonLat([west, south, east, north]);
    const geometry = mapUtils.createPolygonFromExtent(extent);
    const feature = mapUtils.createFeature({
      geometry
    });
    feature.setStyle(mapUtils.createPolygonStyle());
    return feature;
  };

  // clears current layer and adds a new layer based on bounds
  const refreshMap = () => {
    mapUtils.clearOverlays(map);
    if (!bounds) return;
    if (!(0,_utils_bounds__WEBPACK_IMPORTED_MODULE_28__.hasValidBounds)(bounds)) return;
    const {
      directions
    } = bounds;
    const feature = isPoint ? createPointFeature(directions) : createPolygonFeature(directions);
    const vectorLayer = mapUtils.createVectorLayer({
      features: [feature]
    });
    map.addLayer(vectorLayer);
    mapUtils.zoomToLayer(map, vectorLayer, map.getView().getMaxZoom() - 3);
  };

  // refresh map if bounds have changed
  if (bounds !== previousBounds && map) {
    setPreviousBounds(bounds);
    refreshMap();
  }
  const handleDrawEnd = _ref11 => {
    let {
      feature,
      type
    } = _ref11;
    const [west, north, east, south] = mapUtils.extentToLonLat(feature.getGeometry().getExtent());
    updateBounds({
      directions: type === 'point' ? {
        north,
        west
      } : {
        west,
        north,
        east,
        south
      },
      type
    });
  };
  return /*#__PURE__*/React.createElement(commons_components_Map__WEBPACK_IMPORTED_MODULE_12__.Map, {
    height: "300px"
  }, editable ? /*#__PURE__*/React.createElement(commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_13__.DrawControlGroup, null, /*#__PURE__*/React.createElement(commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_13__.MarkerControl, {
    onDrawEnd: handleDrawEnd
  }), includeBoxControl ? /*#__PURE__*/React.createElement(commons_components_Map_controls__WEBPACK_IMPORTED_MODULE_13__.BoxControl, {
    onDrawEnd: handleDrawEnd
  }) : null) : null, /*#__PURE__*/React.createElement(commons_components_Map_controls_ControlGroup__WEBPACK_IMPORTED_MODULE_27__["default"], {
    position: "bottom-right",
    renderControls: target => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_Map_controls_AttributionControl__WEBPACK_IMPORTED_MODULE_26__["default"], {
      target: target
    }), /*#__PURE__*/React.createElement(commons_components_Map_controls_ScaleLineControl__WEBPACK_IMPORTED_MODULE_25__["default"], {
      target: target
    }))
  }));
};
GeoEditorMap.propTypes = {
  bounds: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({
    type: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().string),
    directions: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({
      north: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().number),
      south: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().number),
      west: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().number),
      east: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().number)
    })
  }),
  updateBounds: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func),
  editable: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().bool),
  includeBoxControl: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().bool)
};
const GeoEditor = _ref12 => {
  let {
    binding,
    editable,
    context
  } = _ref12;
  const geoDetect = config__WEBPACK_IMPORTED_MODULE_22__["default"].get('itemstore.geoDetect');
  const [bounds, setBounds] = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(() => (0,_utils_binding__WEBPACK_IMPORTED_MODULE_29__.getBindingBounds)(binding));
  (0,react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(() => {
    context.clear = () => {
      (0,_utils_binding__WEBPACK_IMPORTED_MODULE_29__.clearBoundsOutsideOfBinding)(binding);
      setBounds();
    };
    return () => {
      if (!binding.isValid()) {
        (0,_utils_binding__WEBPACK_IMPORTED_MODULE_29__.clearBoundsOutsideOfBinding)(binding);
      }
    };
  }, [context, binding]);
  const handleUpdateBounds = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(newBounds => {
    setBounds(newBounds);
    if (newBounds) {
      if (!(0,_utils_bounds__WEBPACK_IMPORTED_MODULE_28__.hasValidBounds)(newBounds)) return;
      (0,_utils_binding__WEBPACK_IMPORTED_MODULE_29__.setBindingBounds)(binding, newBounds);
    }
  }, [binding]);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoGeoEditor"
  }, geoDetect && editable && /*#__PURE__*/React.createElement(GeoDetect, {
    geoDetect: geoDetect,
    binding: binding,
    updateBounds: handleUpdateBounds
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    container: true,
    spacing: 3
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    className: "escoGeoEditor__map",
    size: {
      xs: editable ? 8 : 12
    }
  }, /*#__PURE__*/React.createElement(commons_components_Map_contexts_MapContext__WEBPACK_IMPORTED_MODULE_14__.MapProvider, null, /*#__PURE__*/React.createElement(GeoEditorMap, {
    bounds: bounds,
    updateBounds: handleUpdateBounds,
    editable: editable,
    includeBoxControl: (0,_utils_binding__WEBPACK_IMPORTED_MODULE_29__.supportsBoundingBoxInBinding)(binding)
  }))), editable ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    size: {
      xs: 4
    }
  }, (bounds === null || bounds === void 0 ? void 0 : bounds.type) === 'point' ? /*#__PURE__*/React.createElement(LatlngDirections, {
    directions: bounds === null || bounds === void 0 ? void 0 : bounds.directions,
    updateBounds: handleUpdateBounds,
    editable: editable
  }) : /*#__PURE__*/React.createElement(BoxDirections, {
    directions: bounds === null || bounds === void 0 ? void 0 : bounds.directions,
    updateBounds: handleUpdateBounds,
    editable: true
  })) : null));
};
GeoEditor.propTypes = {
  binding: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({
    getValue: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func),
    setValue: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func),
    isValid: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func)
  }),
  context: prop_types__WEBPACK_IMPORTED_MODULE_23___default().shape({
    clear: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().func)
  }),
  editable: (prop_types__WEBPACK_IMPORTED_MODULE_23___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GeoEditor);

/***/ },

/***/ "./modules/commons/components/rdforms/GeoChooser/GeoEditor/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeoChooser/GeoEditor/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _GeoEditor__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _GeoEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GeoEditor */ "./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.js");


/***/ },

/***/ "./modules/commons/components/rdforms/GeoChooser/index.js"
/*!****************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeoChooser/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var _GeoEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GeoEditor */ "./modules/commons/components/rdforms/GeoChooser/GeoEditor/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["node"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const geoChooser = _ref => {
  let {
      node
    } = _ref,
    geoEditorProps = _objectWithoutProperties(_ref, _excluded);
  const element = /*#__PURE__*/React.createElement(_GeoEditor__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    key: "geo-editor-map"
  }, geoEditorProps));
  node.appendChild(element);
};
_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_1__.renderingContext.editorRegistry.datatype('http://www.opengis.net/ont/geosparql#wktLiteral').register((node, binding, context) => geoChooser({
  node,
  binding,
  context,
  editable: true
}));
_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_1__.renderingContext.presenterRegistry.datatype('http://www.opengis.net/ont/geosparql#wktLiteral').register((node, binding, context) => geoChooser({
  node,
  binding,
  context,
  editable: false
}));
_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_1__.renderingContext.editorRegistry.style('geoPoint').register((node, binding, context) => geoChooser({
  node,
  binding,
  context,
  editable: true
}));
_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_1__.renderingContext.presenterRegistry.style('geoPoint').register((node, binding, context) => geoChooser({
  node,
  binding,
  context,
  editable: false
}));

/***/ },

/***/ "./modules/commons/components/rdforms/GeoChooser/utils/binding.js"
/*!************************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeoChooser/utils/binding.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clearBoundsOutsideOfBinding: () => (/* binding */ clearBoundsOutsideOfBinding),
/* harmony export */   getBindingBounds: () => (/* binding */ getBindingBounds),
/* harmony export */   setBindingBounds: () => (/* binding */ setBindingBounds),
/* harmony export */   supportsBoundingBoxInBinding: () => (/* binding */ supportsBoundingBoxInBinding)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js");
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _bounds__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bounds */ "./modules/commons/components/rdforms/GeoChooser/utils/bounds.js");




_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.add('geo', 'http://www.w3.org/2003/01/geo/wgs84_pos#');
const detectRepresentation = item => {
  const predicate = item.getProperty();
  if (predicate !== null && predicate !== void 0 && predicate.startsWith('http://schema.org')) {
    return 'schema';
  }
  if (predicate !== null && predicate !== void 0 && predicate.startsWith('http://www.w3.org/2003/01/geo/wgs84_pos#')) {
    return 'geo';
  }
  return 'wkt';
};

/**
 * Checks if the expression in the binding supports setting a boundingbox (or only a point).
 *
 * @param binding
 * @return {boolean} true if a boundingbox should be possible to express.
 */
const supportsBoundingBoxInBinding = binding => !binding.getItem().hasStyle('geopoint');

// -- Getters ---
const getBoundsFromLatLongBinding = (binding, latitudePred, longitudePred) => {
  const value = binding.getValue();
  if (!value) {
    return undefined;
  }
  const predicate = binding.getItem().getProperty();
  const graph = binding.getGraph();
  const resource = binding.getStatement().getSubject();
  let north;
  let west;
  if (predicate === latitudePred) {
    north = parseFloat(value);
    west = parseFloat(graph.findFirstValue(resource, longitudePred));
  } else {
    north = parseFloat(graph.findFirstValue(resource, latitudePred));
    west = parseFloat(value);
  }
  return {
    type: 'point',
    directions: {
      north,
      west
    }
  };
};
const getBoundsFromSchemaBinding = binding => getBoundsFromLatLongBinding(binding, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('schema:latitude'), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('schema:longitude'));
const getBoundsFromGeoBinding = binding => getBoundsFromLatLongBinding(binding, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('geo:lat'), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('geo:long'));
const getBoundsFromWktBinding = binding => {
  const wkt = binding.getValue();
  if (!wkt) {
    return undefined;
  }
  return (0,_bounds__WEBPACK_IMPORTED_MODULE_3__.getBoundsFromWkt)(wkt);
};

/**
 * Extracts a bounds object from a binding, supports expressions using WKT literal
 * as well as the lat and long properties in geo and schema namespaces.
 *
 * @param binding
 * @return {{directions: {east: number, south: number, north: number, west: number}, type: string}}
 */
const getBindingBounds = binding => {
  switch (detectRepresentation(binding.getItem())) {
    case 'schema':
      return getBoundsFromSchemaBinding(binding);
    case 'geo':
      return getBoundsFromGeoBinding(binding);
    default:
      return getBoundsFromWktBinding(binding);
  }
};

// -- Setters ---
const setBoundsInLatLongBinding = (binding, bounds, latitudePred, longitudePred) => {
  const predicate = binding.getItem().getProperty();
  const graph = binding.getGraph();
  const resource = binding.getStatement().getSubject();
  if (predicate === latitudePred) {
    graph.findAndRemove(resource, longitudePred);
    if (bounds) {
      binding.setValue(`${bounds.directions.north}`);
      graph.addL(resource, longitudePred, `${bounds.directions.west}`);
    }
  } else {
    graph.findAndRemove(resource, latitudePred);
    if (bounds) {
      graph.addL(resource, latitudePred, `${bounds.directions.north}`);
      binding.setValue(`${bounds.directions.west}`);
    }
  }
};
const setBoundsInSchemaBinding = (binding, bounds) => setBoundsInLatLongBinding(binding, bounds, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('schema:latitude'), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('schema:longitude'));
const setBoundsInGeoBinding = (binding, bounds) => setBoundsInLatLongBinding(binding, bounds, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('geo:lat'), _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand('geo:long'));
const setBoundsInWktBinding = (binding, bounds) => {
  const wkt = (0,_bounds__WEBPACK_IMPORTED_MODULE_3__.getWktFromBounds)(bounds);
  binding.setValue(wkt);
};

/**
 * Sets the bounds in RDF as a WKT literal or separate properties in the geo or schema namespaces.
 *
 * @param binding
 * @param {{directions: {east: number, south: number, north: number, west: number}, type: string}} bounds
 */
const setBindingBounds = (binding, bounds) => {
  switch (detectRepresentation(binding.getItem())) {
    case 'schema':
      setBoundsInSchemaBinding(binding, bounds);
      break;
    case 'geo':
      setBoundsInGeoBinding(binding, bounds);
      break;
    default:
      setBoundsInWktBinding(binding, bounds);
  }
};

// --- Clear ---
/**
 * When the binding is cleared (via the clear button in RDForms) additional properties need to be removed
 * in the latitude and longitude case using schema or geo namespace. The reason for this is that RDForms
 * items can only be triggered on a single predicate. For example, if the latitude is bound into the binding the
 * longitude triple needs to be cleared in a way that RDForms does not understand.
 *
 * For the WKT case nothing needs to be done as the WKT expression is stored in a single triple and entirely
 * handled with the clearing of the binding.
 *
 * @param binding
 */
const clearBoundsOutsideOfBinding = binding => {
  // eslint-disable-next-line default-case
  switch (detectRepresentation(binding.getItem())) {
    case 'schema':
      setBoundsInSchemaBinding(binding);
      break;
    case 'geo':
      setBoundsInGeoBinding(binding);
      break;
  }
};

/***/ },

/***/ "./modules/commons/components/rdforms/GeoChooser/utils/bounds.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeoChooser/utils/bounds.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getBoundsFromGeo: () => (/* binding */ getBoundsFromGeo),
/* harmony export */   getBoundsFromGeodata: () => (/* binding */ getBoundsFromGeodata),
/* harmony export */   getBoundsFromLatlngBounds: () => (/* binding */ getBoundsFromLatlngBounds),
/* harmony export */   getBoundsFromWkt: () => (/* binding */ getBoundsFromWkt),
/* harmony export */   getBoxCoordinates: () => (/* binding */ getBoxCoordinates),
/* harmony export */   getCoordinatesFromBounds: () => (/* binding */ getCoordinatesFromBounds),
/* harmony export */   getCoordinatesFromDirections: () => (/* binding */ getCoordinatesFromDirections),
/* harmony export */   getExtentFromBounds: () => (/* binding */ getExtentFromBounds),
/* harmony export */   getGeodataFromWkt: () => (/* binding */ getGeodataFromWkt),
/* harmony export */   getWktFromBounds: () => (/* binding */ getWktFromBounds),
/* harmony export */   getWktFromGeodata: () => (/* binding */ getWktFromGeodata),
/* harmony export */   hasValidBounds: () => (/* binding */ hasValidBounds),
/* harmony export */   validateExtent: () => (/* binding */ validateExtent)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js");
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);





/**
 *
 * @param {{directions: object}} bounds
 * @returns {number[]}
 */
const getExtentFromBounds = _ref => {
  let {
    directions
  } = _ref;
  const {
    west,
    south,
    east,
    north
  } = directions;
  return [west, south, east, north];
};

/**
 *
 * @param {number[]} extent
 * @returns {boolean}
 */
const validateExtent = extent => {
  return extent[2] >= extent[0] && extent[3] >= extent[1];
};

/**
 *
 * @param {Object} geodata
 * @returns {string}
 */
const getWktFromGeodata = _ref2 => {
  let {
    type,
    coordinates
  } = _ref2;
  /* Well-Known Text (WKT) encoding */
  if (type === 'point') {
    const {
      lat,
      lng
    } = coordinates[0];
    return `POINT(${lng} ${lat})`;
  }
  const wktCoordinates = coordinates.map(_ref3 => {
    let {
      lat,
      lng
    } = _ref3;
    return `${lng} ${lat}`;
  }).join(',');
  return `POLYGON((${wktCoordinates}))`;
};

/**
 * Parses wkt polygon string into coordinates
 *
 * @param {string} wktPolygon
 * @returns {number[][]}
 */
const parseWktPolygon = wktPolygon => {
  return wktPolygon.split(',').map(stringCoordinate => {
    return stringCoordinate.split(' ').map(stringValue => parseFloat(stringValue));
  });
};

/**
 * Get extent from set of coordinates in long lat. The extent is compatible with
 * OpenLayers extent.
 *
 * @param {number[][]} coordinates
 * @returns {number[]}
 */
const getExtentFromCoordinates = coordinates => {
  const lngValues = coordinates.map(_ref4 => {
    let [lng] = _ref4;
    return lng;
  });
  const latValues = coordinates.map(_ref5 => {
    let [, lat] = _ref5;
    return lat;
  });
  const west = Math.min(...lngValues);
  const east = Math.max(...lngValues);
  const south = Math.min(...latValues);
  const north = Math.max(...latValues);
  return [west, south, east, north];
};

/**
 *
 * @param {string} wkt
 * @returns {Object|undefined}
 */
const getGeodataFromWkt = wkt => {
  const polygonMatches = wkt.match(/POLYGON\(\((.*)\)\)/);
  const pointMatches = wkt.match(/POINT\((.*)\)/);
  const isPoint = pointMatches === null || pointMatches === void 0 ? void 0 : pointMatches.length;
  const isPolygon = polygonMatches === null || polygonMatches === void 0 ? void 0 : polygonMatches.length;
  if (isPolygon) {
    const coordinates = parseWktPolygon(polygonMatches[1]);
    if (!coordinates.length) return;
    const extent = getExtentFromCoordinates(coordinates);
    const [west, south, east, north] = extent;
    return {
      type: 'polygon',
      coordinates: [{
        lat: north,
        lng: west
      }, {
        lat: north,
        lng: east
      }, {
        lat: south,
        lng: east
      }, {
        lat: south,
        lng: west
      }, {
        lat: north,
        lng: west
      }]
    };
  }
  if (isPoint) {
    const [lng, lat] = pointMatches[1].split(' ').map(coordinate => parseFloat(coordinate));
    return {
      type: 'point',
      coordinates: [{
        lat,
        lng
      }]
    };
  }
};

/**
 *
 * @param {Object[]} coordinates
 * @returns {Object[]}
 */
const getBoxCoordinates = _ref6 => {
  let [{
    lat: north,
    lng: west
  }, {
    lat: south,
    lng: east
  }] = _ref6;
  return [{
    lat: north,
    lng: west
  }, {
    lat: north,
    lng: east
  }, {
    lat: south,
    lng: east
  }, {
    lat: south,
    lng: west
  }, {
    lat: north,
    lng: west
  }];
};

/**
 * Get latlng coordinates from directions and
 * exclude latlng with undefined values.
 * @param {Object} directions
 * @returns {Object[]}
 */
const getCoordinatesFromDirections = _ref7 => {
  let {
    north,
    west,
    south,
    east
  } = _ref7;
  return [{
    lat: north,
    lng: west
  }, {
    lat: south,
    lng: east
  }].filter(_ref8 => {
    let {
      lat,
      lng
    } = _ref8;
    return lat !== undefined && lng !== undefined;
  });
};

/**
 * Extract latlng coordinates from bounds
 * @param {Object} directions
 * @param {string} type
 * @returns {Object[]}
 */
const getCoordinatesFromBounds = _ref9 => {
  let {
    directions,
    type
  } = _ref9;
  const coordinates = getCoordinatesFromDirections(directions);
  if (type === 'polygon' && coordinates.length === 2) {
    return getBoxCoordinates(coordinates);
  }
  return coordinates;
};

/**
 *
 * @param {Object} geodata
 * @returns {Object}
 */
const getBoundsFromGeodata = _ref0 => {
  let {
    coordinates,
    type
  } = _ref0;
  if (type === 'point') {
    const {
      lat: north,
      lng: west
    } = coordinates[0];
    return {
      type,
      directions: {
        north,
        west
      }
    };
  }
  const {
    lat: north,
    lng: west
  } = coordinates[0];
  const {
    lat: south,
    lng: east
  } = coordinates[2];
  return {
    type,
    directions: {
      north,
      west,
      south,
      east
    }
  };
};

/**
 *
 * @param {string} wkt
 * @returns {Object}
 */
const getBoundsFromWkt = wkt => {
  const geodata = getGeodataFromWkt(wkt);
  return getBoundsFromGeodata(geodata);
};

/**
 *
 * @param {Object} bounds
 * @returns {string}
 */
const getWktFromBounds = bounds => {
  const {
    type
  } = bounds;
  return getWktFromGeodata({
    type,
    coordinates: getCoordinatesFromBounds(bounds)
  });
};

/**
 *
 * @param {Object} latlngBounds
 * @param {string} type
 * @return {Object}
 */
const getBoundsFromLatlngBounds = (latlngBounds, type) => {
  const {
    _northEast,
    _southWest
  } = latlngBounds;
  const {
    lat: north,
    lng: east
  } = _northEast;
  const {
    lat: south,
    lng: west
  } = _southWest;
  const directions = type === 'point' ? {
    north,
    west
  } : {
    north,
    west,
    south,
    east
  };
  return {
    type,
    directions
  };
};

/**
 * Checks if bounds has complete latlng values for type
 * @param {Object} bounds
 * @returns {boolean}
 */
const hasValidBounds = bounds => {
  const {
    type
  } = bounds;
  const coordinates = getCoordinatesFromBounds(bounds);
  if (type === 'point' && coordinates.length === 1) return true;
  if (type === 'polygon' && coordinates.length > 3) {
    return validateExtent(getExtentFromBounds(bounds));
  }
  return false;
};

/**
 * Extract bounds properties from a geo object,
 * a response object from geoDetect.
 * @param {Object} geo
 * @returns {Object}
 */
const getBoundsFromGeo = geo => {
  const type = geo.marker ? 'point' : 'polygon';
  const directions = type === 'polygon' ? geo : {
    north: geo.lat,
    west: geo.lng
  };
  return {
    type,
    directions
  };
};

/***/ },

/***/ "./modules/commons/components/rdforms/GeonamesChooser/LocationSelect.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeonamesChooser/LocationSelect.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./util */ "./modules/commons/components/rdforms/GeonamesChooser/util.js");
/* harmony import */ var _showDialog_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./showDialog.scss */ "./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const LocationHierarchy = _ref => {
  let {
    hierarchy,
    handleLocationChange,
    geonameId,
    translate
  } = _ref;
  const labelProperty = (0,_util__WEBPACK_IMPORTED_MODULE_12__.getGeonameLabelProperty)();
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    "aria-label": translate('geographicalHierarchy')
  }, hierarchy.map((item, index) => index !== hierarchy.length - 1 ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    key: item.geonameId,
    variant: "text",
    color: "primary",
    onClick: () => handleLocationChange(item.geonameId)
  }, item[labelProperty]) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    key: item.geonameId,
    "aria-current": item[labelProperty],
    id: geonameId,
    "aria-live": "polite",
    color: "secondary",
    variant: "body1"
  }, item[labelProperty])));
};
LocationHierarchy.propTypes = {
  hierarchy: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    geonameId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
    name: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
  })),
  handleLocationChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  geonameId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
const SubdivisionsList = _ref2 => {
  let {
    subdivisions,
    currentLocationName,
    handleLocationChange,
    translate,
    status
  } = _ref2;
  const labelProperty = (0,_util__WEBPACK_IMPORTED_MODULE_12__.getGeonameLabelProperty)();
  const {
    result: items,
    size,
    search
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.useListQuery)({
    items: subdivisions,
    searchFields: ['name']
  });
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListView, {
    size: size,
    search: search,
    status: status
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListActions, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListSearch, null)), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListHeader, null, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListHeaderItemText, {
    text: translate('geoNameSubdivision', currentLocationName),
    xs: 12
  })), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.List, null, items.map(item => /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListItem, {
    key: item.geonameId
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListItemText, {
    primary: item[labelProperty],
    xs: 11
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    size: {
      xs: 1,
      xl: false
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "text",
    onClick: () => handleLocationChange(item.geonameId)
  }, translate('geoNameSelect')))))), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_11__.ListPagination, null));
};
SubdivisionsList.propTypes = {
  subdivisions: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    geonameId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
    name: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
  })),
  handleLocationChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  currentLocationName: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  status: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
const CurrentLocationDetails = _ref3 => {
  let {
    currentLocation: [current],
    translate
  } = _ref3;
  const labelProperty = (0,_util__WEBPACK_IMPORTED_MODULE_12__.getGeonameLabelProperty)();
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    elevation: 0
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoGeonamesChooser__locationDetails"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    color: "primary",
    variant: "h1"
  }, current[labelProperty]), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1"
  }, /*#__PURE__*/React.createElement("span", null, `${translate('latitude')}: `), current.lat), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1"
  }, /*#__PURE__*/React.createElement("span", null, `${translate('longitude')}: `), current.lng), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1"
  }, /*#__PURE__*/React.createElement("span", null, `${translate('population')}: `), current.population)));
};
CurrentLocationDetails.propTypes = {
  currentLocation: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    name: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    lat: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    lng: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
    population: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
  })),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
const LocationSelect = _ref4 => {
  let {
    locations,
    geonameId,
    handleLocationChange,
    nlsBundles,
    status
  } = _ref4;
  const {
    currentSelection,
    hierarchy,
    children
  } = locations;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundles);
  const hasSubdivisions = Boolean(children === null || children === void 0 ? void 0 : children.length);
  const labelProperty = (0,_util__WEBPACK_IMPORTED_MODULE_12__.getGeonameLabelProperty)();
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "escoGeonamesChooser__paper"
  }, hierarchy && /*#__PURE__*/React.createElement(LocationHierarchy, {
    hierarchy: hierarchy,
    currentLocation: currentSelection,
    handleLocationChange: handleLocationChange,
    geonameId: geonameId,
    translate: translate
  }), currentSelection && /*#__PURE__*/React.createElement(CurrentLocationDetails, {
    currentLocation: currentSelection,
    translate: translate
  })), currentSelection && hasSubdivisions && /*#__PURE__*/React.createElement(SubdivisionsList, {
    subdivisions: children,
    currentLocationName: currentSelection[0][labelProperty],
    handleLocationChange: handleLocationChange,
    translate: translate,
    status: status
  }));
};
LocationSelect.propTypes = {
  handleLocationChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  geonameId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
  locations: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    currentSelection: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
      toponymName: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
    })),
    hierarchy: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})),
    children: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}))
  }),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.nlsBundlesPropType,
  status: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LocationSelect);

/***/ },

/***/ "./modules/commons/components/rdforms/GeonamesChooser/index.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeonamesChooser/index.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/rdforms/GeonamesChooser/util */ "./modules/commons/components/rdforms/GeonamesChooser/util.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _showDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./showDialog */ "./modules/commons/components/rdforms/GeonamesChooser/showDialog.js");








/**
 * Retrieves current location data
 * @param {string} value
 * @returns {Promise}
 */
const getCurrentLocationData = async value => {
  const id = await (0,commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_4__.getGeonameId)(value);
  const hierarchy = await (0,commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_4__.getHierarchy)(id);
  const currentLocation = hierarchy.filter(item => item.geonameId === id);
  return currentLocation;
};
const cachedLocationData = {};
const chooserConfiguration = {
  show: _showDialog__WEBPACK_IMPORTED_MODULE_6__["default"],
  supportsInlineCreate() {
    return false;
  },
  getChoice: (_item, value) => {
    if (cachedLocationData.value) {
      return cachedLocationData.value;
    }
    const locationData = {
      value,
      load: onSuccess => {
        if (locationData._promise) {
          locationData._promise.then(onSuccess);
          return locationData._promise;
        }
        locationData._promise = new Promise(resolve => {
          getCurrentLocationData(value).then(_ref => {
            let [data] = _ref;
            locationData.label = {
              [(0,commons_locale__WEBPACK_IMPORTED_MODULE_5__.getBestLanguage)()]: data.name
            };
            delete locationData.load;
            delete locationData._promise;
            resolve(locationData);
          });
        }).then(onSuccess);
        return locationData._promise;
      }
    };
    cachedLocationData.value = locationData;
    return locationData;
  }
};
_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.renderingContext.chooserRegistry.style('geonames').register(chooserConfiguration);

/***/ },

/***/ "./modules/commons/components/rdforms/GeonamesChooser/showDialog.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeonamesChooser/showDialog.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _mui_material_Dialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Dialog */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material_DialogTitle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/DialogTitle */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/DialogContent */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material/DialogActions */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoEntryChooser.nls */ "./modules/commons/nls/escoEntryChooser.nls");
/* harmony import */ var commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/rdforms/GeonamesChooser/util */ "./modules/commons/components/rdforms/GeonamesChooser/util.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _LocationSelect__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./LocationSelect */ "./modules/commons/components/rdforms/GeonamesChooser/LocationSelect.js");
/* harmony import */ var _showDialog_scss__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./showDialog.scss */ "./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


























/**
 * Get data for a location specified by a geoname id as well as its hiearchy and children
 *
 * @param {number} id geonames id
 * @returns {object}
 */
const getGeonameData = async id => {
  const hierarchy = await (0,commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_21__.getHierarchy)(id);
  const children = await (0,commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_21__.getChildren)(id);
  const currentSelection = hierarchy.filter(item => item.geonameId === id);
  return {
    currentSelection,
    hierarchy,
    children
  };
};
const getInitialGeonameId = (itemValue, geonamesStartConfig) => {
  const idFromValue = (0,commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_21__.getGeonameId)(itemValue);
  if (idFromValue) return idFromValue;
  if (!geonamesStartConfig) return null;
  return (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_14__.isUri)(geonamesStartConfig) ? geonamesStartConfig : parseInt(geonamesStartConfig, 10);
};
const GeonamesChooserDialogInitial = _ref => {
  var _geonameData$currentS;
  let {
    binding,
    onClose,
    onSelect
  } = _ref;
  const itemLabel = binding.getItem().getLabel();
  const itemValue = binding.getValue();
  const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(true);
  const isGeonameAPIConfigured = Boolean(config__WEBPACK_IMPORTED_MODULE_7__["default"].get('itemstore.geonamesAPI'));
  const geonamesStartConfig = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('itemstore.geonamesStart');
  const [geonameId, setGeonameId] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(() => getInitialGeonameId(itemValue, geonamesStartConfig));
  const [hasChange, setHasChange] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(!(0,commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_21__.getGeonameId)(itemValue));
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.useListModel)();
  const {
    data: geonameData,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__["default"])(null);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (!isGeonameAPIConfigured) {
      console.error('No geonames API configuration found');
    }
  }, [isGeonameAPIConfigured]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (!geonameId && !geonamesStartConfig) {
      console.error('Missing geonameId');
    }
  }, [geonameId, geonamesStartConfig]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (geonameId) runAsync(getGeonameData(geonameId));
  }, [geonameId, runAsync]);
  const handleLocationChange = id => {
    dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.REFRESH_AND_CLEAR
    });
    setHasChange(true);
    setGeonameId(id);
  };
  const onDialogClose = () => {
    setOpen(false);
    setTimeout(onClose, 500);
  };
  const handleSelect = async (id, name) => {
    const value = await (0,commons_components_rdforms_GeonamesChooser_util__WEBPACK_IMPORTED_MODULE_21__.getGeonameURI)(id);
    const choice = {
      value,
      label: {
        [(0,commons_locale__WEBPACK_IMPORTED_MODULE_19__.getBestLanguage)()]: name
      },
      inlineLabel: true
    };
    onSelect(choice);
    onDialogClose();
  };
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)([(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_15___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_16___default())]);
  const nlsBundles = [(commons_nls_escoEntryChooser_nls__WEBPACK_IMPORTED_MODULE_15___default()), (commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17___default())];
  const currentSelection = geonameData === null || geonameData === void 0 || (_geonameData$currentS = geonameData.currentSelection) === null || _geonameData$currentS === void 0 ? void 0 : _geonameData$currentS[0];
  return isGeonameAPIConfigured ? /*#__PURE__*/React.createElement(_mui_material_Dialog__WEBPACK_IMPORTED_MODULE_9__["default"], {
    classes: {
      paperScrollPaper: 'escoGeonamesChooser__dialog'
    },
    fullWidth: true,
    maxWidth: "lg",
    open: open,
    onClose: onClose
  }, /*#__PURE__*/React.createElement(_mui_material_DialogTitle__WEBPACK_IMPORTED_MODULE_10__["default"], null, itemLabel), /*#__PURE__*/React.createElement(_mui_material_DialogContent__WEBPACK_IMPORTED_MODULE_11__["default"], {
    classes: {
      root: 'escoGeonamesChooser__dialogContent'
    }
  }, geonameData ? /*#__PURE__*/React.createElement(_LocationSelect__WEBPACK_IMPORTED_MODULE_23__["default"], {
    locations: geonameData,
    geonameId: geonameId,
    handleLocationChange: handleLocationChange,
    nlsBundles: nlsBundles,
    status: status
  }) : /*#__PURE__*/React.createElement("div", {
    className: "escoGeonamesChooser__loading"
  }, /*#__PURE__*/React.createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_8__["default"], null))), /*#__PURE__*/React.createElement(_mui_material_DialogActions__WEBPACK_IMPORTED_MODULE_12__["default"], null, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_13__["default"], {
    variant: "text",
    onClick: onClose
  }, translate('cancel')), currentSelection ? /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_13__["default"], {
    disabled: !hasChange,
    onClick: () => handleSelect(currentSelection.geonameId, currentSelection.name)
  }, translate('save')) : null)) : null;
};
GeonamesChooserDialogInitial.propTypes = {
  binding: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    getItem: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    getValue: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
  }),
  onSelect: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
const GeonamesChooserDialog = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.withListModelProvider)(GeonamesChooserDialogInitial, () => _objectSpread(_objectSpread({}, commons_components_ListView__WEBPACK_IMPORTED_MODULE_22__.LIST_MODEL_DEFAULT_VALUE), {}, {
  sort: {
    field: 'name',
    order: 'asc'
  }
}));
const showDialog = (binding, onSelect, field) => {
  const child = /*#__PURE__*/React.createElement(GeonamesChooserDialog, {
    key: "geonamesChooser",
    binding: binding,
    onClose: () => field.removeChild(child),
    onSelect: onSelect
  });
  field.appendChild(child);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (showDialog);

/***/ },

/***/ "./modules/commons/components/rdforms/GeonamesChooser/util.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeonamesChooser/util.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getChildren: () => (/* binding */ getChildren),
/* harmony export */   getChildrenURL: () => (/* binding */ getChildrenURL),
/* harmony export */   getGeonameId: () => (/* binding */ getGeonameId),
/* harmony export */   getGeonameLabelProperty: () => (/* binding */ getGeonameLabelProperty),
/* harmony export */   getGeonameURI: () => (/* binding */ getGeonameURI),
/* harmony export */   getHierarchy: () => (/* binding */ getHierarchy),
/* harmony export */   getHierarchyURL: () => (/* binding */ getHierarchyURL)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_util_template__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/template */ "./modules/commons/util/template.js");









/**
 * Get geonamesAPI configuration
 *
 * @returns {object}
 */
const getGeonamesAPIConfig = () => {
  const geonamesAPIConfig = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('itemstore.geonamesAPI');
  if (!geonamesAPIConfig) {
    throw Error('Geonames API configuration not found');
  }
  return geonamesAPIConfig;
};

/**
 * Retrieves the geonameId from a uri
 *
 * @param {string} uri
 * @returns {number}
 */
const getGeonameId = uri => parseInt(uri.substr(getGeonamesAPIConfig().uriPrefix.length).replace(/\/$/g, ''), 10);

/**
 * @param {number} geonameId
 * @returns {string}
 */
const getGeonameURI = geonameId => `${getGeonamesAPIConfig().uriPrefix}${geonameId}`;

/**
 * @returns {string}
 */
const getGeonameLabelProperty = () => getGeonamesAPIConfig().labelProperty;

/**
 * Builds a Geonames API URL from a configured template, substituting the
 * ${lang} (current UI language) and ${geonameId} placeholders.
 *
 * @param {string} urlTemplate
 * @param {number} geonameId
 * @returns {string}
 */
const buildURL = (urlTemplate, geonameId) => (0,commons_util_template__WEBPACK_IMPORTED_MODULE_7__.template)(urlTemplate, {
  lang: (0,commons_locale__WEBPACK_IMPORTED_MODULE_6__.getBestLanguage)(),
  geonameId
});

/**
 * Builds the hierarchy API URL for a given geoname ID.
 *
 * @param {number} geonameId
 * @returns {string}
 */
const getHierarchyURL = geonameId => buildURL(getGeonamesAPIConfig().hierarchyURL, geonameId);

/**
 * Builds the children API URL for a given geoname ID.
 *
 * @param {number} geonameId
 * @returns {string}
 */
const getChildrenURL = geonameId => buildURL(getGeonamesAPIConfig().childrenURL, geonameId);

/**
 * Retrieves a location's hierarchy
 *
 * @param {number} geonameId
 * @returns {Array}
 */
const getHierarchy = geonameId => {
  (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_5__.addIgnore)('loadViaProxy', true, true);
  return commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.loadViaProxy(getHierarchyURL(geonameId)).then(results => results.geonames);
};

/**
 * Retrieves a location's children
 *
 * @param {number} geonameId
 * @returns {Array}
 */
const getChildren = geonameId => {
  (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_5__.addIgnore)('loadViaProxy', true, true);
  return commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.loadViaProxy(getChildrenURL(geonameId)).then(results => results.geonames);
};

/***/ },

/***/ "./modules/commons/components/rdforms/LevelSelector/LevelSelector.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/rdforms/LevelSelector/LevelSelector.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LEVEL_MANDATORY: () => (/* binding */ LEVEL_MANDATORY),
/* harmony export */   LEVEL_OPTIONAL: () => (/* binding */ LEVEL_OPTIONAL),
/* harmony export */   LEVEL_RECOMMENDED: () => (/* binding */ LEVEL_RECOMMENDED),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/Switch */ "./modules/commons/components/common/Switch/index.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/index.js");
/* harmony import */ var _LevelSelector_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./LevelSelector.scss */ "./modules/commons/components/rdforms/LevelSelector/LevelSelector.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const LEVEL_MANDATORY = 'mandatory';
const LEVEL_RECOMMENDED = 'recommended';
const LEVEL_OPTIONAL = 'optional';
const LevelSelector = _ref => {
  let {
    level = LEVEL_MANDATORY,
    onUpdateLevel,
    disabledLevels
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const handleChange = event => {
    const toggled = event.target.name;
    if (level === toggled) {
      onUpdateLevel(toggled === LEVEL_RECOMMENDED ? LEVEL_MANDATORY : LEVEL_RECOMMENDED);
    } else if (toggled === LEVEL_OPTIONAL) {
      onUpdateLevel(LEVEL_OPTIONAL);
    } else if (level === LEVEL_MANDATORY) {
      onUpdateLevel(LEVEL_RECOMMENDED);
    } else {
      onUpdateLevel(LEVEL_MANDATORY);
    }
  };
  const recommendedChecked = level === LEVEL_RECOMMENDED || level === LEVEL_OPTIONAL;
  const recommendedDisabled = disabledLevels.includes(LEVEL_RECOMMENDED);
  const optionalChecked = level === LEVEL_OPTIONAL;
  const optionalDisabled = disabledLevels.includes(LEVEL_OPTIONAL);
  return /*#__PURE__*/React.createElement("div", {
    className: "LevelSelector"
  }, /*#__PURE__*/React.createElement("div", {
    className: "LevelSelector__level"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "LevelSelector__label"
  }, t('mandatoryLabel'))), /*#__PURE__*/React.createElement("div", {
    className: `LevelSelector__level ${!recommendedChecked ? 'LevelSelector__level--unchecked' : ''}`
  }, /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_8__["default"], {
    condition: recommendedDisabled,
    wrapper: children => /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
      title: t('disabledRecommendedTooltip')
    }, /*#__PURE__*/React.createElement("span", null, children))
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    control: /*#__PURE__*/React.createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_4__["default"], {
      checked: recommendedChecked,
      onChange: handleChange,
      name: LEVEL_RECOMMENDED,
      color: "primary",
      disabled: recommendedDisabled
    }),
    label: t('recommendedLabel'),
    classes: {
      label: 'LevelSelector__label'
    }
  }))), /*#__PURE__*/React.createElement("div", {
    className: `LevelSelector__level ${!optionalChecked ? 'LevelSelector__level--unchecked' : ''}`
  }, /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_8__["default"], {
    condition: optionalDisabled,
    wrapper: children => /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
      title: t('disabledOptionalTooltip')
    }, /*#__PURE__*/React.createElement("span", null, children))
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    control: /*#__PURE__*/React.createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_4__["default"], {
      checked: optionalChecked,
      onChange: handleChange,
      name: LEVEL_OPTIONAL,
      color: "primary",
      disabled: optionalDisabled
    }),
    label: t('optionalLabel'),
    classes: {
      label: 'LevelSelector__label'
    }
  }))));
};
LevelSelector.propTypes = {
  level: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf([LEVEL_MANDATORY, LEVEL_RECOMMENDED, LEVEL_OPTIONAL]),
  onUpdateLevel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func).isRequired,
  disabledLevels: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf([LEVEL_RECOMMENDED, LEVEL_OPTIONAL]))
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LevelSelector);

/***/ },

/***/ "./modules/commons/components/rdforms/LevelSelector/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/rdforms/LevelSelector/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LEVEL_MANDATORY: () => (/* reexport safe */ _LevelSelector__WEBPACK_IMPORTED_MODULE_0__.LEVEL_MANDATORY),
/* harmony export */   LEVEL_OPTIONAL: () => (/* reexport safe */ _LevelSelector__WEBPACK_IMPORTED_MODULE_0__.LEVEL_OPTIONAL),
/* harmony export */   LEVEL_RECOMMENDED: () => (/* reexport safe */ _LevelSelector__WEBPACK_IMPORTED_MODULE_0__.LEVEL_RECOMMENDED),
/* harmony export */   "default": () => (/* reexport safe */ _LevelSelector__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _LevelSelector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/LevelSelector.js");


/***/ },

/***/ "./modules/commons/components/rdforms/LinkBehaviour/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/rdforms/LinkBehaviour/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListContentViewerDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListContentViewerDialog */ "./modules/commons/components/EntryListView/dialogs/ListContentViewerDialog/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/OpenInNew */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var commons_components_rdforms_EntryChooser_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/rdforms/EntryChooser/util */ "./modules/commons/components/rdforms/EntryChooser/util.js");
/* harmony import */ var _linkBehaviour_css__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./linkBehaviour.css */ "./modules/commons/components/rdforms/LinkBehaviour/linkBehaviour.css");





// eslint-disable-next-line max-len






const init = function init() {
  let onLinkClick = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.system.attachLinkBehaviour = (node, binding) => {
    const item = binding.getItem();
    const {
      remoteStoreUtil
    } = (0,commons_components_rdforms_EntryChooser_util__WEBPACK_IMPORTED_MODULE_9__.getQueryConfiguration)(item);
    if (item.getType() === 'text') {
      return {
        target: '_blank'
      };
    }
    if (item.getType() !== 'choice') {
      return undefined;
    }

    // external link icon (component) will be removed if entry is found.
    const choice = binding.getChoice();
    let ExternalLinkComponent;
    if (!item.hasStaticChoices() || item.hasStyle('externalLink')) {
      const oldLoad = choice === null || choice === void 0 ? void 0 : choice.load;
      let promise = null;
      if (oldLoad) {
        promise = new Promise(success => oldLoad(success));
        choice.load = onSuccess => promise.then(onSuccess);
      }
      ExternalLinkComponent = () => {
        const [externalLink, setExternalLink] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(choice.entry ? false : item.hasStyle('externalLink'));
        (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
          if (!promise) return;
          promise.then(() => {
            setExternalLink(!choice.entry);
          });
        }, []);
        return externalLink ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_8__["default"], {
          className: "rdformsExternalLinkIcon"
        }) : null;
      };
    }
    return {
      component: ExternalLinkComponent ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(ExternalLinkComponent, null) : null,
      target: '_blank',
      onClick: e => {
        if (choice.entry) {
          e.preventDefault();
          e.stopPropagation();
          if (onLinkClick) {
            onLinkClick({
              entry: choice.entry
            });
            return;
          }
          const conf = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getEntityTypeByConstraints(item.getConstraints()).get();
          if (conf) {
            const showInfoDialog = entry => {
              let dialogComponent;
              const closeDialog = () => {
                node.removeChild(dialogComponent);
              };
              dialogComponent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(commons_components_EntryListView_dialogs_ListContentViewerDialog__WEBPACK_IMPORTED_MODULE_5__["default"], {
                entry: entry,
                entityTypeDef: conf,
                closeDialog: closeDialog
              });
              node.appendChild(dialogComponent);
            };
            commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystoreUtil.getEntryByResourceURI(binding.getValue()).then(showInfoDialog).catch(error => {
              console.error(error);
              if (!remoteStoreUtil) return;
              remoteStoreUtil.getEntryByResourceURI(binding.getValue()).then(showInfoDialog);
            });
          }
        }
      }
    };
  };

  // Add an external link icon
  _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.system.attachExternalLinkBehaviour = (_node, binding) => {
    return {
      component: binding.getValue() ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_8__["default"], {
        className: "rdformsExternalLinkIcon"
      }) : null
    };
  };
};
init();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (init);

/***/ },

/***/ "./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _RdformsAlert_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RdformsAlert.scss */ "./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




const RdformsAlert = _ref => {
  let {
    message,
    setMessage,
    props: alertProps = {
      severity: 'error'
    }
  } = _ref;
  const alertWrapperEl = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (message && alertWrapperEl.current) {
      alertWrapperEl.current.scrollIntoView({
        behavior: 'smooth'
      });
    }
  }, [message]);
  return message ? /*#__PURE__*/React.createElement("div", {
    className: "escoRdformsAlert",
    ref: alertWrapperEl
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    className: "escoRdformsAlert__alert",
    onClose: setMessage ? () => setMessage(null) : null
  }, alertProps), message)) : null;
};
RdformsAlert.propTypes = {
  message: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  setMessage: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  props: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RdformsAlert);

/***/ },

/***/ "./modules/commons/components/rdforms/RdformsAlert/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsAlert/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RdformsAlert__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RdformsAlert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RdformsAlert */ "./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.js");


/***/ },

/***/ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/RdformsDialogFormWrapper.js"
/*!*************************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsDialogFormWrapper/RdformsDialogFormWrapper.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RdformsDialogContent: () => (/* binding */ RdformsDialogContent),
/* harmony export */   RdformsDialogFormWrapper: () => (/* binding */ RdformsDialogFormWrapper),
/* harmony export */   RdformsStickyDialogContent: () => (/* binding */ RdformsStickyDialogContent)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/style.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const RdformsDialogFormWrapper = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoRDFormsDialogWrapper"
  }, children);
};
RdformsDialogFormWrapper.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
const RdformsStickyDialogContent = _ref2 => {
  let {
    children
  } = _ref2;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoRDFormsDialogWrapper__sticky"
  }, children);
};
RdformsStickyDialogContent.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
const RdformsDialogContent = _ref3 => {
  let {
    children
  } = _ref3;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoRDFormsDialogWrapper__content"
  }, children);
};
RdformsDialogContent.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};

/***/ },

/***/ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js"
/*!******************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsDialogFormWrapper/index.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RdformsDialogContent: () => (/* reexport safe */ _RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_0__.RdformsDialogContent),
/* harmony export */   RdformsDialogFormWrapper: () => (/* reexport safe */ _RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_0__.RdformsDialogFormWrapper),
/* harmony export */   RdformsStickyDialogContent: () => (/* reexport safe */ _RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_0__.RdformsStickyDialogContent)
/* harmony export */ });
/* harmony import */ var _RdformsDialogFormWrapper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RdformsDialogFormWrapper */ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/RdformsDialogFormWrapper.js");


/***/ },

/***/ "./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.js"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_components_rdforms_RdformsOutline_useIntersect__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/rdforms/RdformsOutline/useIntersect */ "./modules/commons/components/rdforms/RdformsOutline/useIntersect.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_SearchInput__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/SearchInput */ "./modules/commons/components/SearchInput/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./util */ "./modules/commons/components/rdforms/RdformsOutline/util.js");
/* harmony import */ var _RdformsOutline_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./RdformsOutline.scss */ "./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const RdformsOutline = _ref => {
  let {
    editor,
    root,
    errors = [],
    searchProps,
    filterPredicates
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_14___default()));
  const {
    searchQuery,
    onSearchQueryChange,
    clearSearch
  } = searchProps;
  const listItemsRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)();
  const [observedVisibility, setObservedElements] = (0,commons_components_rdforms_RdformsOutline_useIntersect__WEBPACK_IMPORTED_MODULE_12__.useIntersect)(root);
  /**
   * hiddenBindingsMask keeps track of all items visible in the outline,
   * including dependencies. For example, "Resource type" in edit/create
   * (Geographical) dataset has the dependency "Spatial data service type" which
   * will only be shown on the form if type "spatial data service" is selected.
   */
  const [hiddenBindingsMask, setHiddenBindingsMask] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)([]);
  const [formItems, setFormItems] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)([]);
  const [errorIds, setErrorIds] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)([]);
  const outlineItems = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => (0,_util__WEBPACK_IMPORTED_MODULE_16__.getNavigationItemsFromEditor)(editor).filter(item => item.id), [editor]);

  // TODO: `time   period` wouldn't return any results
  const queryMatchingItems = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(() => outlineItems.filter(_ref2 => {
    let {
      label
    } = _ref2;
    return label === null || label === void 0 ? void 0 : label.toLowerCase().includes(searchQuery.trim());
  }), [outlineItems, searchQuery]);

  //  Bindings/fields whose dependencies are not ok are hidden
  const updateHiddenBindings = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(() => {
    const newMask = queryMatchingItems.map(_ref3 => {
      let {
        binding
      } = _ref3;
      if ((0,_util__WEBPACK_IMPORTED_MODULE_16__.isExcludedPredicate)(binding.getPredicate(), filterPredicates)) return true;
      if (!binding.getItem().getDeps()) return false;
      if (binding.isValid()) return false;
      return !binding.getCardinalityTracker().isDepsOk();
    });
    setHiddenBindingsMask(newMask);
  }, [queryMatchingItems, filterPredicates]);
  const updateErrorIds = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(changedBinding => {
    const changedItemId = changedBinding.getItem()._internalId;
    const updatedErrorIds = errorIds.filter(id => id !== changedItemId);
    setErrorIds(updatedErrorIds);
  }, [errorIds]);

  /**
   * Listens to cardinalityTracker changes to
   * a) handle items with dependencies
   * b) update the outline error state
   *
   * @param {Binding} changedBinding - The binding that has been edited
   */
  const cardinalityChangeListener = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(changedBinding => {
    updateHiddenBindings();
    updateErrorIds(changedBinding);
  }, [updateErrorIds, updateHiddenBindings]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (!errors.length) return;
    const errorItemIds = errors.map(error => error.item._internalId);
    setErrorIds(errorItemIds);
  }, [errors]);

  /**
   * Creates a visibity mask for the outline items. This is necessary to
   * correctly show and hide rdforms' dependent fields.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    updateHiddenBindings();

    // Needed for cleanup below, cause CardinalityTracker.removeListener expects
    // the same exact function
    const listeners = outlineItems.map(_ref4 => {
      let {
        binding
      } = _ref4;
      const listener = () => cardinalityChangeListener(binding);
      binding.getCardinalityTracker().addListener(listener);
      return listener;
    });
    return () => outlineItems.forEach((_ref5, index) => {
      let {
        binding
      } = _ref5;
      return binding.getCardinalityTracker().removeListener(listeners[index]);
    });
  }, [cardinalityChangeListener, outlineItems, updateHiddenBindings]);

  /**
   * Sets the form items visible in the actual outline and the dom elements to
   * be observed by the intersection observer.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    // Use the mask to filter out dependent items that shouldn't be visible.
    const items = queryMatchingItems.filter((_item, index) => !hiddenBindingsMask[index]);
    const formInputElements = items.map(_ref6 => {
      let {
        id
      } = _ref6;
      return document.getElementById(id);
    }).filter(element => element);
    setObservedElements(formInputElements);
    setFormItems(items);
  }, [queryMatchingItems, setObservedElements, hiddenBindingsMask]);
  const handleLinkClick = (event, id) => {
    event.preventDefault();
    (0,_util__WEBPACK_IMPORTED_MODULE_16__.scrollToElement)(id, root);
    (0,_util__WEBPACK_IMPORTED_MODULE_16__.highlightElement)(id);
  };
  const handleKeyDown = (event, id) => {
    if (event.key !== 'Enter') return;
    (0,_util__WEBPACK_IMPORTED_MODULE_16__.scrollToElement)(id, root);
    (0,_util__WEBPACK_IMPORTED_MODULE_16__.highlightElement)(id);
    // Timeout is necessary, moving the focus interrupts the scrolling behaviour
    setTimeout(() => (0,_util__WEBPACK_IMPORTED_MODULE_16__.moveFocusToLabel)(id), 600);
  };
  return /*#__PURE__*/React.createElement("div", {
    className: "escoRdformsOutline"
  },
  // using outlineItems here cause formItems change depending on query
  outlineItems.length > 0 || searchQuery ? /*#__PURE__*/React.createElement(commons_components_SearchInput__WEBPACK_IMPORTED_MODULE_15__["default"], {
    query: searchQuery,
    onChange: onSearchQueryChange,
    clear: clearSearch,
    placeholder: translate('fieldOutlineSearchPlaceholder'),
    clearTooltip: translate('fieldOutlineClearTooltip')
  }) : null,
  // eslint-disable-next-line no-nested-ternary
  formItems.length ? /*#__PURE__*/React.createElement("nav", {
    className: "escoRdformsOutline__navigation"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    ref: listItemsRef,
    dense: true
  }, formItems.map(_ref7 => {
    let {
      id,
      label,
      editLabel,
      indented,
      binding
    } = _ref7;
    const isInvalid = errorIds.includes(binding.getItem()._internalId);
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
      id: `${id}_outline`,
      key: `rdformsOutline-listItem-${id}-${label}`,
      classes: {
        root: (0,_util__WEBPACK_IMPORTED_MODULE_16__.getOutlineItemClasses)((0,_util__WEBPACK_IMPORTED_MODULE_16__.isActive)(id, observedVisibility), indented, isInvalid)
      }
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      key: `rdformsOutline-link-${id}`,
      href: `#${id}`,
      noWrap: true,
      onClick: event => handleLinkClick(event, id),
      onKeyDown: event => handleKeyDown(event, id)
    }, editLabel || label));
  }))) : searchQuery ? /*#__PURE__*/React.createElement("div", {
    className: "escoRdformsOutline__searchPlaceholder",
    role: "status"
  }, translate('fieldOutlineNoSearchResults')) : null);
};
RdformsOutline.propTypes = {
  editor: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
  root: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  errors: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  searchProps: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    searchQuery: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    onSearchQueryChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
    clearSearch: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
  }),
  filterPredicates: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})
};

// This component is unused right now but will be useful once we incorporate more
// stuff in the sidebar.
const RdformsOutlineHeader = _ref8 => {
  let {
    children
  } = _ref8;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    variant: "h1",
    className: "escoRdformsOutline__header"
  }, children);
};
RdformsOutlineHeader.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RdformsOutline);

/***/ },

/***/ "./modules/commons/components/rdforms/RdformsOutline/index.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsOutline/index.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RdformsOutline__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RdformsOutline__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RdformsOutline */ "./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.js");


/***/ },

/***/ "./modules/commons/components/rdforms/RdformsOutline/useIntersect.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsOutline/useIntersect.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useIntersect: () => (/* binding */ useIntersect)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);




const useIntersect = function useIntersect(rootId) {
  let contentClassName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'escoRDFormsDialogWrapper__content';
  const [observedElements, setObservedElements] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [observedVisibility, setObservedVisibility] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(new Map());
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!(observedElements !== null && observedElements !== void 0 && observedElements.length)) {
      if (observedVisibility.size > 0) {
        setObservedVisibility(new Map()); // Reset the visible state
      }
      return;
    }
    // Reset the visible state
    const clearedVisibleState = new Map();
    observedElements.forEach(element => {
      clearedVisibleState.set(element.id, false);
    });
    setObservedVisibility(clearedVisibleState);
    const root = document.getElementById(rootId);
    const {
      offsetTop
    } = document.getElementsByClassName(contentClassName)[0];
    const options = {
      root,
      rootMargin: `-${offsetTop}px 0px -72px 0px`,
      // Hardcoded bottom section of 72px
      threshold: 0.5
    };
    const currentObserver = new IntersectionObserver(intersectionObserverEntries => {
      setObservedVisibility(currentVisibleState => {
        let somethingChanged = false;
        // Lets clone the map
        const newVisibleState = new Map();
        currentVisibleState.forEach((value, key) => {
          newVisibleState.set(key, value);
        });
        // Update the visible state if something changed
        intersectionObserverEntries.forEach(_ref => {
          let {
            isIntersecting,
            target
          } = _ref;
          if (target.id && newVisibleState.has(target.id) && newVisibleState.get(target.id) !== isIntersecting) {
            newVisibleState.set(target.id, isIntersecting);
            somethingChanged = true;
          }
        });
        // Don't force a rerender if nothing changed.
        return somethingChanged ? newVisibleState : currentVisibleState;
      });
    }, options);
    observedElements.forEach(element => currentObserver.observe(element));
    return () => currentObserver.disconnect();
  }, [observedElements]);
  return [observedVisibility, setObservedElements];
};

/***/ },

/***/ "./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js"
/*!**************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsOutline/useRdformsOutlineSearch.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);



const useRdformsOutlineSearch = () => {
  const [searchQuery, setSearchQuery] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('');
  const clearSearch = () => setSearchQuery('');
  const onSearchQueryChange = event => {
    setSearchQuery(event.target.value.toLowerCase());
  };
  return {
    searchQuery,
    onSearchQueryChange,
    clearSearch
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRdformsOutlineSearch);

/***/ },

/***/ "./modules/commons/components/rdforms/RdformsOutline/util.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsOutline/util.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getNavigationItemsFromEditor: () => (/* binding */ getNavigationItemsFromEditor),
/* harmony export */   getOutlineItemClasses: () => (/* binding */ getOutlineItemClasses),
/* harmony export */   highlightElement: () => (/* binding */ highlightElement),
/* harmony export */   isActive: () => (/* binding */ isActive),
/* harmony export */   isExcludedPredicate: () => (/* binding */ isExcludedPredicate),
/* harmony export */   moveFocusToLabel: () => (/* binding */ moveFocusToLabel),
/* harmony export */   scrollToElement: () => (/* binding */ scrollToElement)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");







const INVISIBLE = 'invisible';
const INVISIBLE_GROUP = 'invisibleGroup';
const INVISIBLE_IN_EDIT = 'invisibleInEdit';

/**
 * Determines the classes of an outline item depending on it
 * a) being in the intersection area or
 * b) a sub-item
 *
 * @param {boolean} active
 * @param {boolean} indented
 * @param {boolean} hasError
 * @returns {string}
 */
const getOutlineItemClasses = (active, indented, hasError) => {
  const classes = ['escoRdformsOutline__listItem'];
  if (active) classes.push('escoRdformsOutline__listItem--active');
  if (indented) classes.push('escoRdformsOutline__listItem--indented');
  if (hasError) classes.push('escoRdformsOutline__listItem--error');
  return classes.join(' ');
};

/**
 * Highlights the DOM element matching the provided id using animation.
 *
 * @param {string} id
 * @returns {Animation}
 */
const highlightElement = id => document.getElementById(id).animate([{
  background: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_4__.warning.main
}, {
  background: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_4__.canvas.main
}], {
  duration: 1200,
  direction: 'normal'
});

/**
 * Scrolls to the DOM element matching the provided id, taking care to respect
 * accessibility settings for reduced motion.
 *
 * @param {string} id
 * @param {string} rootId - Root element id, corresponds to the dialog
 * @param {string} contentClassName - Classname of the content element
 */
const scrollToElement = function scrollToElement(id, rootId) {
  let contentClassName = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'escoRDFormsDialogWrapper__content';
  const anchorElement = document.getElementById(id);
  const rootElement = document.getElementById(rootId);
  const scrollableElement = rootElement.querySelector('.MuiDialogContent-root');
  const contentElement = document.getElementsByClassName(contentClassName)[0];
  const offset = contentElement.offsetTop;
  // Need special treatment for indented outline items (that correspond to
  // children of an rdformsGroup)
  const anchorOffset = anchorElement.offsetParent.className.includes('rdformsGroup') ? anchorElement.offsetParent.offsetTop + anchorElement.offsetTop : anchorElement.offsetTop;
  const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion)').matches;
  scrollableElement.scrollTo({
    top: anchorOffset - offset - 4,
    // scroll a few pixel above to avoid rounding errors.
    behavior: prefersReducedMotion ? 'auto' : 'smooth'
  });
};

/**
 * Moves focus to the rdforms label of the element matching the provided id.
 *
 * @param {string} id
 */
const moveFocusToLabel = id => {
  const targetElement = document.getElementById(id);
  const labelElement = targetElement.getElementsByClassName('rdformsLabel')[0];
  labelElement.focus();
};

/**
 * Checks whether the element matching the provided id is in the intersection
 * area. Used to indicate the "current" element in the outline.
 *
 * @param {string} id
 * @param {Map[]} observedVisibility
 * @returns {boolean}
 */
const isActive = (id, observedVisibility) => {
  var _document$getElementB;
  const element = document.getElementById(id);
  const [active] = Array.from(observedVisibility.keys()).filter(key => observedVisibility.get(key));
  return (_document$getElementB = document.getElementById(active)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.contains(element);
};

/**
 * Checks whether a predicate is excluded through the filter predicates structure
 *
 * @param {string} predicate
 * @param {object} filterPredicates
 * @returns {boolean}
 */
const isExcludedPredicate = (predicate, filterPredicates) => {
  if (!filterPredicates) return false;
  return Object.keys(filterPredicates).some(filterPredicate => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.namespaces.expand(filterPredicate) === predicate && filterPredicates[filterPredicate]);
};
const isItemVisible = item => !(item.hasStyle(INVISIBLE) || item.hasStyle(INVISIBLE_GROUP) || item.hasStyle(INVISIBLE_IN_EDIT));
const isChildVisible = (childBinding, filterPredicates) => !(childBinding.getItem().hasStyle(INVISIBLE) || childBinding.getItem().hasStyle(INVISIBLE_GROUP) || childBinding.getItem().hasStyle(INVISIBLE_IN_EDIT) || filterPredicates[childBinding.getPredicate()]);

/**
 * Creates an outline item from a binding and its editor.
 *
 * @param {Editor} editor
 * @param {Binding} binding
 * @param {boolean} indented
 * @returns {object}
 */
const createOutlineItem = function createOutlineItem(editor, binding) {
  let indented = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  return {
    id: editor.getLabelIndex(binding),
    label: binding.getItem().getLabel(),
    editLabel: binding.getItem().getEditLabel(),
    indented,
    binding
  };
};
const deduplicateById = items => [...new Map(items.map(item => [item.id, item])).values()];
const deduplicateByInternalId = bindings => [...new Map(bindings.map(binding => [binding.getItem()._internalId, binding])).values()];

/**
 * Identifies the sub-editor corresponding to a child binding.
 *
 * @param {Editor} editor
 * @param {Binding} childBinding
 * @returns {Editor}
 */
const getSubEditor = (editor, childBinding) => editor._subEditors.find(subEditor => subEditor.getBinding() === childBinding.getParent());

/**
 * Gets outline items for a group binding's children.
 *
 * @param {Editor} editor
 * @param {Binding} binding
 * @param {object} filterPredicates
 * @returns {object[]}
 */
const getChildOutlineItems = (editor, binding, filterPredicates) => {
  const parentItem = binding.getItem();
  const indented = !parentItem.hasStyle(INVISIBLE_GROUP);

  // The sub-editor is necessary to correctly identify the ID of the child bindings
  // TODO label sometimes is two or more levels down, so childBinding.getItem().getLabel() can be undefined
  const childItems = binding.getChildBindings().filter(childBinding => isChildVisible(childBinding, filterPredicates)).map(childBinding => {
    const subEditor = getSubEditor(editor, childBinding);
    return createOutlineItem(subEditor, childBinding, indented);
  });
  return deduplicateById(childItems);
};

/**
 * Identifies navigation items (their ids, labels and whether they are sub-bindings)
 * given an RDForms editor.
 *
 * @param {Editor} editor
 * @returns {object[]}
 */
const getNavigationItemsFromEditor = editor => {
  if (!editor) return [];
  const filterPredicates = editor.filterPredicates || {};
  const editorBindings = editor.binding.getChildBindings().filter(binding => !filterPredicates[binding.getPredicate()]);

  // Removes duplicates, for some reason e.g. `Title` exists twice
  const uniqueBindings = deduplicateByInternalId(editorBindings);

  // Also grabs sub-bindings, e.g `Time` has children `Start` and `End`
  return uniqueBindings.reduce((allItems, binding) => {
    const item = binding.getItem();
    if (isItemVisible(item)) {
      allItems.push(createOutlineItem(editor, binding));
    }
    if (item.getType() === 'group') {
      allItems.push(...getChildOutlineItems(editor, binding, filterPredicates));
    }
    return allItems;
  }, []);
};

/***/ },

/***/ "./modules/commons/components/rdforms/ResourceInfo/ResourceInfo.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/rdforms/ResourceInfo/ResourceInfo.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material_Box__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Box */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material_Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Link */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useGetContributors */ "./modules/commons/hooks/useGetContributors.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_rdforms_ResourceInfo_index_scss__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/rdforms/ResourceInfo/index.scss */ "./modules/commons/components/rdforms/ResourceInfo/index.scss");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_util_file__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/file */ "./modules/commons/util/file.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_buttons_DownloadResourceButton__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/components/buttons/DownloadResourceButton */ "./modules/commons/components/buttons/DownloadResourceButton/index.js");
/* harmony import */ var catalog_utils_publish__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! catalog/utils/publish */ "./modules/catalog/utils/publish.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material_ContentCopy__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @mui/icons-material/ContentCopy */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentCopy.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/components/buttons/ExpandButton */ "./modules/commons/components/buttons/ExpandButton/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
































const useGetEntityTypeLabel = entry => {
  const {
    runAsync,
    data,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(() => {
    const loadType = () => {
      if (entry.isContext()) {
        return (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__.findEntityTypeForContext)(entry);
      }
      return commons_types_Lookup__WEBPACK_IMPORTED_MODULE_16__["default"].inUse(entry);
    };
    runAsync(loadType());
  }, [runAsync, entry]);
  if (data) {
    return {
      data: (0,commons_locale__WEBPACK_IMPORTED_MODULE_20__.localize)(data.get('label')),
      isLoading
    };
  }
  return {
    data,
    isLoading
  };
};

/**
 * Get file information
 *
 * @param {object} entryInfo
 * @returns {object}
 */
const getFileInfo = entryInfo => {
  const format = entryInfo.getFormat();
  const name = entryInfo.getLabel();
  const size = entryInfo.getSize();
  return {
    format,
    size,
    name
  };
};
const SectionTitle = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "h6",
    gutterBottom: true,
    className: "escoResourceTabSection__title"
  }, children);
};
SectionTitle.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node)
};
const Section = _ref2 => {
  let {
    children,
    title
  } = _ref2;
  return /*#__PURE__*/React.createElement(_mui_material_Box__WEBPACK_IMPORTED_MODULE_8__["default"], {
    sx: {
      mb: 4
    }
  }, /*#__PURE__*/React.createElement(SectionTitle, null, title), /*#__PURE__*/React.createElement("div", {
    className: "escoResourceTabSection__children"
  }, children));
};
const SectionRow = _ref3 => {
  let {
    label,
    value
  } = _ref3;
  return value ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
    className: "escoResourceTabItem__label"
  }, label), /*#__PURE__*/React.createElement("span", {
    className: "escoResourceTabItem__value"
  }, value)) : null;
};
SectionRow.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  value: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const SectionLinkRow = _ref4 => {
  let {
    label,
    links,
    onLinkClick,
    getLinkLabel
  } = _ref4;
  const linkLabels = links === null || links === void 0 ? void 0 : links.map((link, index) => link ? /*#__PURE__*/React.createElement(_mui_material_Link__WEBPACK_IMPORTED_MODULE_9__["default"], {
    underline: "hover",
    className: "escoResourceTabItem__link",
    key: `row-link-${link.getId()}`,
    onClick: () => onLinkClick({
      entry: link,
      templateId: 'esc:User'
    })
  }, getLinkLabel(link, index)) : null).filter(Boolean);
  return linkLabels !== null && linkLabels !== void 0 && linkLabels.length ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
    className: "escoResourceTabItem__label"
  }, label), /*#__PURE__*/React.createElement("div", {
    className: "escoResourceTabItem__linkContainer"
  }, linkLabels)) : null;
};
SectionLinkRow.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  links: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.entryPropType),
  onLinkClick: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  getLinkLabel: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
Section.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node)
};
const metadataTypes = [{
  name: 'Turtle',
  url: '?format=text/turtle'
}, {
  name: 'RDF/XML',
  url: '?format=application/rdf+xml'
}, {
  name: 'JSON-LD',
  url: '?format=application/ld+json'
}, {
  name: 'RDF/JSON',
  url: '?format=application/json'
}];
const DownloadLinks = _ref5 => {
  let {
    baseURI
  } = _ref5;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoResourceInfoItem__downloadlinks"
  }, metadataTypes.map(type => /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    key: type.name
  }, /*#__PURE__*/React.createElement(_mui_material_Link__WEBPACK_IMPORTED_MODULE_9__["default"], {
    underline: "always",
    href: baseURI + type.url,
    target: "_blank"
  }, type.name))).reduce((joinedItems, Item) => [joinedItems, ',\u00A0', Item]));
};
DownloadLinks.propTypes = {
  baseURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};
const entryTypesWithCachedExternalMetadata = ['Reference', 'LinkReference'];
const ResourceInfo = _ref6 => {
  var _getLabel, _entry$getEntryInfo, _entry$getEntryInfo2;
  let {
    entry,
    onLinkClick
  } = _ref6;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const entryInfo = entry.getEntryInfo();
  const isLink = entry.isExternal() || entry.isLocal() && entryInfo.getSize() > 0;
  const {
    runAsync,
    data: creator,
    isLoading: isLoadingCreator
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_17__["default"])();
  const creatorName = creator ? (_getLabel = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__.getLabel)(creator)) === null || _getLabel === void 0 ? void 0 : _getLabel.trim() : null;
  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(() => {
    const getCreatorSafe = () => {
      try {
        return (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_14__.getCreator)(entry);
      } catch (err) {
        console.error(err);
        return Promise.resolve();
      }
    };
    runAsync(getCreatorSafe());
  }, [runAsync, entry]);
  const {
    loading: isLoadingContributors,
    entries: contributorEntries,
    contributors
  } = (0,commons_hooks_useGetContributors__WEBPACK_IMPORTED_MODULE_12__["default"])(entry);
  const modifiedDate = (0,commons_util_date__WEBPACK_IMPORTED_MODULE_13__.getFullDate)((0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_14__.getModifiedDate)(entry));
  const createdDate = (0,commons_util_date__WEBPACK_IMPORTED_MODULE_13__.getFullDate)(entryInfo.getCreationDate());
  const {
    data: entityTypeLabel,
    isLoading: isLoadingEntityType
  } = useGetEntityTypeLabel(entry);
  const contextEntry = entry.getContext().getEntry(true);
  const contextLabel = contextEntry ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__.getFullLengthLabel)(contextEntry) : null;
  const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__.getFullLengthLabel)(entry);
  const isPSI = (0,catalog_utils_publish__WEBPACK_IMPORTED_MODULE_27__.isEntryPSI)(entry);
  const psiLabel = isPSI ? translate('external') : translate('internal');
  const isDataset = entityTypeLabel === 'Dataset';
  const {
    format,
    name,
    size
  } = getFileInfo(entryInfo);
  const isDigital = entry.isInformationResource();
  const isLocal = entry.isLocal();
  const canDownload = isDigital && isLocal;
  const graphType = entry.getEntryInfo().getGraphType();
  const entryType = entry.getEntryInfo().getEntryType();
  const isDraft = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.isDraftEntry)(entry);
  const isPublic = entry.isPublic();
  const entryStatus = entry.getEntryInfo().getStatus();
  const isActive = entryStatus === _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_30__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.RDF_STATUS_INVESTIGATING);
  const isArchived = entryStatus === _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_30__.namespaces.expand(commons_util_entry__WEBPACK_IMPORTED_MODULE_25__.RDF_STATUS_ARCHIVED);
  const publishedStatus = isPublic ? translate('public') : translate('private');
  const externalStatus = isDataset ? psiLabel : null;
  const entryId = entry.getId();
  const entryName = (_entry$getEntryInfo = entry.getEntryInfo()) === null || _entry$getEntryInfo === void 0 ? void 0 : _entry$getEntryInfo.getName();
  const access = [publishedStatus, externalStatus].filter(Boolean).join(', ');
  const status = [...(isDraft ? [translate('incompleteStatus')] : []), ...(isActive || isArchived ? [isActive ? translate('activeStatus') : translate('archivedStatus')] : [])].join(', ');
  const isExcludedContext = (entry === null || entry === void 0 ? void 0 : entry.getContext().getId()) === '_principals';
  const isLoading = isLoadingCreator || isLoadingContributors || isLoadingEntityType;
  const resourceURI = entry.getEntryInfo().getResourceURI();
  const hasCachedExternalMetadata = entryTypesWithCachedExternalMetadata.includes(entryType) && !entry.getCachedExternalMetadata().isEmpty();
  const cachedMetadataURI = hasCachedExternalMetadata ? entry === null || entry === void 0 || (_entry$getEntryInfo2 = entry.getEntryInfo()) === null || _entry$getEntryInfo2 === void 0 ? void 0 : _entry$getEntryInfo2.getCachedExternalMetadataURI() : null;
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_23__["default"], null);
  return /*#__PURE__*/React.createElement("div", {
    className: "escoResourceTabContainer"
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Section, {
    title: translate('updatesSectionTitle')
  }, /*#__PURE__*/React.createElement(SectionLinkRow, {
    label: translate('createdBy'),
    links: [creator],
    onLinkClick: onLinkClick,
    getLinkLabel: () => creatorName
  }), /*#__PURE__*/React.createElement(SectionLinkRow, {
    label: translate('editedBy'),
    links: contributorEntries,
    onLinkClick: onLinkClick,
    getLinkLabel: (_link, index) => contributors[index]
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('createdLabel'),
    value: createdDate
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('modifiedDate'),
    value: modifiedDate
  })), /*#__PURE__*/React.createElement(Section, {
    title: translate('typesSectionTitle')
  }, /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('entityType'),
    value: entityTypeLabel
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('resourceType'),
    value: isDigital ? translate('digitalResource') : translate('identifier')
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('graphType'),
    value: graphType
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('entryType'),
    value: entryType
  })), /*#__PURE__*/React.createElement(Section, {
    title: translate('otherSectionTitle')
  }, !isExcludedContext ? /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('accessLabel'),
    value: access
  }) : null, /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('statusLabel'),
    value: status
  }), !isExcludedContext ? /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('contextLabel'),
    value: label === contextLabel ? null : contextLabel
  }) : null, /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('entryId'),
    value: entryId
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('entryNameLabel'),
    value: entryName
  }))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
    className: "escoResourceDownloadSection"
  }, /*#__PURE__*/React.createElement(SectionTitle, null, translate('downloadSectionTitle')), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    classes: {
      root: 'escoResourceInfoItem__title'
    }
  }, translate('resource')), /*#__PURE__*/React.createElement("div", {
    className: "escoResourceInfoItem__resourceLinkContainer"
  }, isLink ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_22__["default"], {
    title: translate('linkTooltip')
  }, /*#__PURE__*/React.createElement(_mui_material_Link__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "escoResourceInfoItem__resourceLink",
    href: resourceURI,
    underline: "always",
    target: "_blank"
  }, resourceURI)), canDownload ? /*#__PURE__*/React.createElement(commons_components_buttons_DownloadResourceButton__WEBPACK_IMPORTED_MODULE_26__["default"], {
    tooltip: translate('downloadResourceTooltip'),
    href: resourceURI
  }) : null) : /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escoResourceInfoItem__baseText"
  }, resourceURI), /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_22__["default"], {
    title: translate('copyContent')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_28__["default"], {
    className: "escoResourceInfoItem__copyButton",
    "aria-label": translate('copyContent'),
    onClick: () => navigator.clipboard.writeText(resourceURI)
  }, /*#__PURE__*/React.createElement(_mui_icons_material_ContentCopy__WEBPACK_IMPORTED_MODULE_29__["default"], {
    className: "escoResourceInfoItem__copyIcon"
  }))))), /*#__PURE__*/React.createElement("div", {
    className: "escoResourceInfoItem"
  }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    classes: {
      root: 'escoResourceInfoItem__title'
    }
  }, translate('download')), /*#__PURE__*/React.createElement(DownloadLinks, {
    baseURI: entry.getEntryInfo().getMetadataURI()
  })), /*#__PURE__*/React.createElement(commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_31__["default"], {
    nlsBundles: [(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_10___default())],
    alternativeClass: "escoResourceInfoItem__advancedButton",
    nlsKeys: {
      show: 'showAdvanced',
      hide: 'hideAdvanced'
    }
  }, /*#__PURE__*/React.createElement("div", {
    className: "escoResourceInfoItem"
  }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    classes: {
      root: 'escoResourceInfoItem__title'
    }
  }, translate('downloadURI')), /*#__PURE__*/React.createElement(DownloadLinks, {
    baseURI: entry.getURI()
  })), hasCachedExternalMetadata ? /*#__PURE__*/React.createElement("div", {
    className: "escoResourceInfoItem"
  }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "body1",
    classes: {
      root: 'escoResourceInfoItem__title'
    }
  }, translate('downloadCached')), /*#__PURE__*/React.createElement(DownloadLinks, {
    baseURI: cachedMetadataURI
  })) : null)), name || format || size ? /*#__PURE__*/React.createElement(Section, {
    title: translate('fileDetails')
  }, /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('fileDetailsName'),
    value: name
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('fileDetailsFormat'),
    value: format
  }), /*#__PURE__*/React.createElement(SectionRow, {
    label: translate('fileDetailsSize'),
    value: (0,commons_util_file__WEBPACK_IMPORTED_MODULE_24__.getHumanReadableFileSize)(size)
  })) : null));
};
ResourceInfo.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.Entry),
  onLinkClick: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ResourceInfo);

/***/ },

/***/ "./modules/commons/components/rdforms/ResourceInfo/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/rdforms/ResourceInfo/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ResourceInfo__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ResourceInfo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResourceInfo */ "./modules/commons/components/rdforms/ResourceInfo/ResourceInfo.js");


/***/ },

/***/ "./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.js"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/rdforms/hooks/useRDFormsPresenter */ "./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../util */ "./modules/commons/components/rdforms/Revisions/util.js");
/* harmony import */ var _RevisionPresenter_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./RevisionPresenter.scss */ "./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const RevisionPresenter = _ref => {
  let {
    entry,
    revision,
    formTemplateId,
    nlsBundles,
    excludeProperties,
    filterPredicates,
    onRevertCallback = () => {}
  } = _ref;
  const {
    openMainDialog: openConfirmationDialog,
    closeMainDialog: closeConfirmationDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_9__.useMainDialog)();
  const {
    runAsync: runGetRevisionGraph,
    data: revisionGraph
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const {
    runAsync: runGetPreviousRevisionGraph,
    data: previousRevisionGraph
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    runGetRevisionGraph((0,_util__WEBPACK_IMPORTED_MODULE_12__.getRevisionGraph)(revision, entry));
    runGetPreviousRevisionGraph((0,_util__WEBPACK_IMPORTED_MODULE_12__.getPreviousRevisionGraph)(revision, entry));
  }, [revision, entry, runGetRevisionGraph, runGetPreviousRevisionGraph]);
  const {
    metadata: entryGraph,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.spreadEntry)(entry);
  const {
    presenter,
    PresenterComponent
  } = (0,commons_components_rdforms_hooks_useRDFormsPresenter__WEBPACK_IMPORTED_MODULE_6__["default"])(revisionGraph, resourceURI, formTemplateId, false, filterPredicates);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)(nlsBundles);
  const revertExceptionsNLSKey = (0,_util__WEBPACK_IMPORTED_MODULE_12__.getRevertExceptionsNLSKey)(entry, revisionGraph, excludeProperties);
  const exceptionMessage = `${translate('revertMessage')} ${revertExceptionsNLSKey ? translate(revertExceptionsNLSKey) : ''}`;
  const revertAction = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    (0,_util__WEBPACK_IMPORTED_MODULE_12__.revertToGraph)(entry, revisionGraph).then(closeConfirmationDialog).then(onRevertCallback).catch(err => {
      console.error(`Failed to revert back to ${revision.rev} for entry ${entry.getId()}`);
      throw Error(err);
    });
  }, [entry, revisionGraph, closeConfirmationDialog, onRevertCallback, revision.rev]);
  const handleRevert = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    openConfirmationDialog({
      content: exceptionMessage,
      actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_10__.ConfirmAction, {
        onDone: revertAction,
        affirmLabel: translate('revertConfirm'),
        rejectLabel: translate('revertReject')
      })
    });
  }, [exceptionMessage, openConfirmationDialog, revertAction, translate]);
  const isCurrent = (0,_util__WEBPACK_IMPORTED_MODULE_12__.isCurrentRevision)(revision, entry);
  const isSimilarGraph = (0,_util__WEBPACK_IMPORTED_MODULE_12__.isSimilar)(entryGraph, revisionGraph, excludeProperties);
  const hasExcludeDiff = (0,_util__WEBPACK_IMPORTED_MODULE_12__.checkHasExcludeDiff)(revisionGraph, previousRevisionGraph, excludeProperties);
  const isRevertButtonDisabled = isSimilarGraph || hasExcludeDiff;
  const getRevertButtonTitle = () => {
    if (!isRevertButtonDisabled) return translate('revertTitle');
    return hasExcludeDiff ? translate('noRevertSameGraphExcludeTitle') // Some change is there in the excluded properties
    : translate('noRevertSameGraphTitle'); // No change to entryGraph
  };
  const revertButtonTitle = getRevertButtonTitle();
  const hasExcludePropertiesDiffMessage = hasExcludeDiff && translate('reasonForRevisionMessage');
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, presenter ? /*#__PURE__*/React.createElement(PresenterComponent, null) : null, hasExcludePropertiesDiffMessage ? /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_4__["default"], {
    severity: "info"
  }, hasExcludePropertiesDiffMessage) : null), isCurrent ? null : /*#__PURE__*/React.createElement("div", {
    className: "escoRevisionsPresenter__actions"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_3__["default"], {
    title: revertButtonTitle
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    color: "primary",
    disabled: isRevertButtonDisabled,
    onClick: handleRevert
  }, translate('revertLabel'))))));
};
RevisionPresenter.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry),
  revision: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    rev: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    uri: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  }),
  filterPredicates: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({}),
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.nlsBundlesPropType,
  excludeProperties: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)),
  onRevertCallback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RevisionPresenter);

/***/ },

/***/ "./modules/commons/components/rdforms/Revisions/RevisionPresenter/index.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/rdforms/Revisions/RevisionPresenter/index.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RevisionPresenter__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RevisionPresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RevisionPresenter */ "./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.js");


/***/ },

/***/ "./modules/commons/components/rdforms/Revisions/index.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/rdforms/Revisions/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_common_ExpandableListItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/ExpandableListItem */ "./modules/commons/components/common/ExpandableListItem/index.js");
/* harmony import */ var commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoVersions.nls */ "./modules/commons/nls/escoVersions.nls");
/* harmony import */ var commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _RevisionPresenter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./RevisionPresenter */ "./modules/commons/components/rdforms/Revisions/RevisionPresenter/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./util */ "./modules/commons/components/rdforms/Revisions/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const Revisions = _ref => {
  let {
    entry,
    formTemplateId,
    nlsBundles,
    excludeProperties,
    filterPredicates,
    onRevertCallback
  } = _ref;
  // by, rev, time, uri, user
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoVersions_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const {
    data: revisions,
    status,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])({
    data: []
  });
  const isLoading = status === 'pending';
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    runAsync((0,_util__WEBPACK_IMPORTED_MODULE_9__.loadRevisions)(entry));
  }, [entry, runAsync]);
  return /*#__PURE__*/React.createElement(React.Fragment, null, isLoading && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], null), revisions.map(revision => /*#__PURE__*/React.createElement(commons_components_common_ExpandableListItem__WEBPACK_IMPORTED_MODULE_4__["default"], {
    primary: (0,_util__WEBPACK_IMPORTED_MODULE_9__.getRevisionRenderName)(revision, entry, t),
    key: revision.uri + Math.random()
  }, /*#__PURE__*/React.createElement(_RevisionPresenter__WEBPACK_IMPORTED_MODULE_8__["default"], {
    entry: entry,
    filterPredicates: filterPredicates,
    revision: revision,
    formTemplateId: formTemplateId,
    nlsBundles: nlsBundles,
    excludeProperties: excludeProperties,
    onRevertCallback: onRevertCallback
  }))));
};
Revisions.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__.Entry),
  filterPredicates: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({}),
  formTemplateId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.nlsBundlesPropType,
  excludeProperties: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)),
  onRevertCallback: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Revisions);

/***/ },

/***/ "./modules/commons/components/rdforms/Revisions/util.js"
/*!**************************************************************!*\
  !*** ./modules/commons/components/rdforms/Revisions/util.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   checkHasExcludeDiff: () => (/* binding */ checkHasExcludeDiff),
/* harmony export */   getPreviousRevisionGraph: () => (/* binding */ getPreviousRevisionGraph),
/* harmony export */   getRevertExceptionsNLSKey: () => (/* binding */ getRevertExceptionsNLSKey),
/* harmony export */   getRevisionGraph: () => (/* binding */ getRevisionGraph),
/* harmony export */   getRevisionRenderName: () => (/* binding */ getRevisionRenderName),
/* harmony export */   isCurrentRevision: () => (/* binding */ isCurrentRevision),
/* harmony export */   isDeletedUser: () => (/* binding */ isDeletedUser),
/* harmony export */   isSimilar: () => (/* binding */ isSimilar),
/* harmony export */   loadRevisions: () => (/* binding */ loadRevisions),
/* harmony export */   revertToGraph: () => (/* binding */ revertToGraph)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");










/**
 * Checks if user is deleted
 *
 * @param {any} user
 * @returns {boolean}
 */
const isDeletedUser = user => user === undefined || user === null;

/**
 * Gets revisions from entry and loads a (author) user entry for each revision
 *
 * @param {store/Entry} entry
 * @returns {Promise<Array<{revision}} entry
 */
const loadRevisions = async entry => {
  const revisions = entry.getEntryInfo().getMetadataRevisions();
  await Promise.all(revisions.map(revision => commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.getEntry(revision.by).then(userEntry => {
    revision.user = userEntry;
  }).catch(() => {
    revision.user = null;
  })));
  return revisions;
};

/**
 *
 * @param {revision} param0
 * @param {store/Entry} entry
 * @returns {boolean}
 */
const isCurrentRevision = (_ref, entry) => {
  let {
    uri
  } = _ref;
  return entry.getEntryInfo().getGraph().findFirstValue(uri, 'owl:sameAs');
};

/**
 *
 * @param {{time, user, by, rev}} revision
 * @param {store/Entry} entry
 */
const getRevisionRenderName = (revision, entry, translate) => {
  const {
    time,
    user
  } = revision;
  const name = isDeletedUser(user) ? translate('deletedUserRevision') : (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getLabel)(user) || user.getEntryInfo().getName() || user.getResource(true) && user.getResource(true).getName();
  const date = (0,commons_util_date__WEBPACK_IMPORTED_MODULE_6__.getMultipleDateFormats)(time).timeMedium;
  const currentMessage = isCurrentRevision(revision, entry) ? translate('currentRevision') : '';
  return name ? `${date}, ${name} ${currentMessage}` : i18n.renderNLSTemplate(translate('noUserNameRevision'), {
    datetime: date,
    id: user.getId()
  }) + currentMessage;
};

/**
 *
 * @param {Graph} graph1
 * @param {Graph} graph2
 * @param {string[]} excludeProperties
 */
const isSimilar = (graph1, graph2, excludeProperties) => {
  if (!(graph1 && graph2)) return false;
  const fingerprint1 = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__.utils.fingerprint(graph1, excludeProperties);
  const fingerprint2 = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__.utils.fingerprint(graph2, excludeProperties);
  return fingerprint1 === fingerprint2;
};

/**
 *
 * @param {*} graph1
 * @param {*} graph2
 * @param {*} excludeProperties
 */
const preserveProps = function preserveProps(graph1, graph2) {
  let excludeProperties = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  excludeProperties.forEach(p => {
    graph2.findAndRemove(null, p);
    graph1.find(null, p).forEach(stmt => {
      graph2.add(stmt);
    });
  });
};

/**
 *
 * @param {rdfjson/Graph} graph1
 * @param {rdfjson/Graph} graph2
 * @param {boolean}
 */
const checkHasExcludeDiff = function checkHasExcludeDiff(graph1, graph2) {
  let excludeProperties = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  if (!graph1 && graph2) return false;
  let diff = false;
  if (graph1 && graph2) {
    excludeProperties.forEach(p => {
      graph2.find(null, p).forEach(stmt => {
        if (graph1.find(stmt.getSubject(), stmt.getPredicate(), stmt.getObject()).length === 0) {
          diff = true;
        }
      });
      graph1.find(null, p).forEach(stmt => {
        if (graph2.find(stmt.getSubject(), stmt.getPredicate(), stmt.getObject()).length === 0) {
          diff = true;
        }
      });
    });
  }
  return diff;
};

/**
 *
 * @param {*} entry
 * @param {*} graph
 */
const getRevertExceptionsNLSKey = (entry, graph, excludeProperties) => {
  const {
    metadata
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.spreadEntry)(entry);
  if (!checkHasExcludeDiff(metadata, graph, excludeProperties)) return '';
  preserveProps(metadata, graph, excludeProperties);
  return 'distRevertExcludeMessage';
};
const revertToGraph = async (entry, graph) => {
  const clonedGraph = graph.clone();

  //   confirm(b.revertMessage + re, b.revertConfirm, b.revertReject).then(() => {
  entry.setRefreshNeeded(true);
  await entry.refresh();
  entry.setMetadata(clonedGraph);
  return entry.commitMetadata();
  //   this.versionList.search();
  //   this.list.rowMetadataUpdated(this.row);
  //   });
};

/**
 *
 * @param {{ uri: string}} revision
 * @param {*} entry
 * @returns {Promise<rdfjson/Graph} revision graph
 */
const getRevisionGraph = (_ref2, entry) => {
  let {
    uri
  } = _ref2;
  return entry.getEntryInfo().getMetadataRevisionGraph(uri);
};

/**
 *
 * @param {revision} param0
 * @param {store/Entry} entry
 * @returns {Promise<rdfjson/Graph|null>} the previous revision graph
 */
const getPreviousRevisionGraph = (_ref3, entry) => {
  let {
    uri: currentRevURI
  } = _ref3;
  const revisions = entry.getEntryInfo().getMetadataRevisions();
  const currentRevisionIdx = revisions.findIndex(_ref4 => {
    let {
      uri
    } = _ref4;
    return uri === currentRevURI;
  });
  const prevRevision = revisions[currentRevisionIdx + 1];
  return Promise.resolve(prevRevision ? getRevisionGraph(prevRevision, entry) : null);
};

/***/ },

/***/ "./modules/commons/components/rdforms/hooks/useGetChooserEntries.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/rdforms/hooks/useGetChooserEntries.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createRemoteAndContextFilters: () => (/* binding */ createRemoteAndContextFilters),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getActiveStore: () => (/* binding */ getActiveStore)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/filters/utils/filter */ "./modules/commons/components/filters/utils/filter.js");
/* harmony import */ var commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/actions/actionTypes */ "./modules/commons/actions/actionTypes.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _EntryChooser_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../EntryChooser/util */ "./modules/commons/components/rdforms/EntryChooser/util.js");

const _excluded = ["applyFilters", "isLoading", "hasFilters"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }











const LOCAL_STORE_ID = 'local';
const REMOTE_STORE_ID = 'remote';
const STORE_FILTER_ID = 'store';

/**
 *
 * @param {{remoteStore: object, remoteStoreLabel: string}} remoteConfig
 * @param {Function} translate
 * @returns {object[]}
 */
const getStoreChoices = (_ref, translate) => {
  let {
    store: remoteStore,
    label: remoteStoreLabel,
    includeLocal,
    primary
  } = _ref;
  const localChoice = {
    value: LOCAL_STORE_ID,
    label: translate('localLabel')
  };
  const remoteChoice = {
    value: REMOTE_STORE_ID,
    label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_11__.localize)(remoteStoreLabel)
  };
  if (!remoteStore) return [localChoice];
  if (includeLocal === false) return [remoteStore];
  if (primary) return [remoteChoice, localChoice];
  return [localChoice, remoteChoice];
};

/**
 *
 * @param {Filter[]} filters
 * @param {object} entityType
 * @returns {object}
 */
const getActiveStore = (filters, entityType) => {
  const storeFilter = filters.find(filter => filter.getId() === STORE_FILTER_ID);
  if (!storeFilter) return commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore;
  return storeFilter.getSelected() === LOCAL_STORE_ID ? commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore : entityType.getStore();
};
const createRemoteAndContextFilters = (context, entityType, dispatch, translate) => {
  if (!entityType) return [];
  const includeAllContexts = (entityType === null || entityType === void 0 ? void 0 : entityType.get('allContexts')) === true;
  const storeConfig = entityType.getStoreConfig() || {};
  const {
    store: remoteStore,
    primary,
    includeLocal,
    includeContextFilter: includeRemoteContextFilter
  } = storeConfig;
  const initialStoreId = primary || includeLocal === false ? REMOTE_STORE_ID : LOCAL_STORE_ID;
  let selectedStore = primary || includeLocal === false ? remoteStore : commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore;
  const getHasContextFilter = () => {
    return selectedStore === commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore && includeAllContexts || selectedStore !== commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore && includeRemoteContextFilter;
  };
  const includeContextFilter = includeLocal !== false && includeAllContexts || remoteStore && includeRemoteContextFilter !== false;
  const contextFilter = includeContextFilter ? new commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_9__["default"](_objectSpread(_objectSpread({}, commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_7__.CONTEXT_FILTER), {}, {
    autoHide: false,
    isVisible: filter => {
      if (filter.getItems().length < 2) return false;
      return getHasContextFilter();
    },
    loadItems: async () => {
      if (!getHasContextFilter()) return [];
      return (0,_EntryChooser_util__WEBPACK_IMPORTED_MODULE_12__.getContextFilterItems)(selectedStore, context.getId(), translate);
    },
    // rerender the filter when the new items are loaded
    onLoadItems: () => {
      dispatch({
        type: commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_10__.RERENDER
      });
    }
  })) : null;
  const storeFilter = remoteStore ? new commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_9__["default"]({
    id: STORE_FILTER_ID,
    headerNlsKey: 'storeSelectLabel',
    defaultValue: initialStoreId,
    initialSelection: initialStoreId,
    onSelect: value => {
      selectedStore = value === LOCAL_STORE_ID ? commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore : remoteStore;
      if (contextFilter) {
        contextFilter.setSelected(commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_7__.ANY);
        // update context filter in list model as it's not set with
        // onFilterSelect here
        dispatch({
          type: commons_actions_actionTypes__WEBPACK_IMPORTED_MODULE_10__.FILTER,
          filter: {
            [contextFilter.getId()]: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_7__.ANY
          }
        });
        contextFilter.loadItems();
      }
    },
    items: getStoreChoices(storeConfig, translate)
  }) : null;
  const draftsEnabled = entityType.get('draftsEnabled');
  const draftsFilter = draftsEnabled ? new commons_components_filters_utils_filter__WEBPACK_IMPORTED_MODULE_9__["default"](commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_7__.DRAFT_STATUS_FILTER) : null;
  return [storeFilter, contextFilter, draftsFilter].filter(Boolean);
};
const useGetChooserEntries = _ref2 => {
  let {
    rdformsItem,
    context,
    entityType,
    dispatch,
    translate
  } = _ref2;
  const filters = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => createRemoteAndContextFilters(context, entityType, dispatch, translate), [context, entityType, dispatch, translate]);
  const store = getActiveStore(filters, entityType);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_5__["default"])(null, [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_6___default())], filters),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    const query = store.newSolrQuery();
    if (store !== commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore) {
      query.publicRead(true);
    }
    return query;
  }, [store]);
  const applyQueryParams = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((query, queryParams) => {
    const constraints = rdformsItem.getConstraints();
    const searchParams = entityType === null || entityType === void 0 ? void 0 : entityType.get('searchProps');
    (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_4__.applyEntityTypeParams)(query, queryParams, {
      constraints,
      searchParams
    });

    // if context filter isn't used, check local context restrictions
    const isLocalContextOnly = store === commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore && !filters.find(filter => filter.getId() === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_7__.CONTEXT_FILTER && filter.isVisible());
    if (isLocalContextOnly) {
      (0,_EntryChooser_util__WEBPACK_IMPORTED_MODULE_12__.applyContextRestrictions)(query, rdformsItem, context, entityType);
    }
  }, [entityType, context, rdformsItem, store, filters]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_3__.useSolrQuery)({
    createQuery,
    applyQueryParams,
    applyFilters,
    wait: isLoading
  });
  return _objectSpread(_objectSpread({}, queryResults), {}, {
    hasFilters,
    filterProps,
    selectedStore: store
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetChooserEntries);

/***/ },

/***/ "./modules/commons/components/rdforms/hooks/useLevelProfile.js"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/rdforms/hooks/useLevelProfile.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");






const getProfile = templateId => {
  const template = commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_3__.itemStore.getItem(templateId);
  return _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.engine.levelProfile(template);
};
const useLevelProfile = templateId => {
  const [disabledLevels, setDisabledLevels] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)([]);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!templateId) return;
    const levelProfile = getProfile(templateId);
    setDisabledLevels([...(!levelProfile.recommended ? [commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_5__.LEVEL_RECOMMENDED] : []), ...(!levelProfile.optional ? [commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_5__.LEVEL_OPTIONAL] : [])]);
  }, [templateId]);
  return disabledLevels;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLevelProfile);

/***/ },

/***/ "./modules/commons/components/rdforms/hooks/useRDFormsEditor.js"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/rdforms/hooks/useRDFormsEditor.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdforms/renderers/react */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");










const useRDFormsEditor = _ref => {
  let {
    entry,
    templateId,
    includeLevel = commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_8__.LEVEL_RECOMMENDED,
    open = false,
    // used to reset editor in concepts edit dialog
    filterPredicates,
    rdformTemplate
  } = _ref;
  const [editor, setEditor] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(null);
  const [graph, setGraph] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(null);
  const [template, setTemplate] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(null);
  const isOpen = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(open);
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__["default"])(null);
  const resourceUri = entry === null || entry === void 0 ? void 0 : entry.getResourceURI();
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    if (!rdformTemplate && !templateId) return;
    const newTemplate = rdformTemplate || commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_4__.itemStore.getItem(templateId);
    if (!newTemplate) {
      console.error(`template with id ${templateId} not found`);
      return;
    }
    setTemplate(newTemplate);
  }, [rdformTemplate, templateId]);
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    /**
     * if state change to open, graph should be initialized,
     * but not if changing from being open
     */
    if (isOpen.current && !open) return;
    if (!entry) return;
    const entryReadyPromise = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.isNewEntry)(entry) ? Promise.resolve() : (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.refreshEntry)(entry);
    runAsync(entryReadyPromise.then(() => {
      const newGraph = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.Graph(entry.getMetadata().exportRDFJSON());
      if (entry.isReference() || entry.isLinkReference()) {
        newGraph.addAll(entry.getCachedExternalMetadata(), 'external');
      }
      newGraph.setChanged(false);
      setGraph(newGraph);
    }));
  }, [entry, open, runAsync]);
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    if (!graph || !template) return;
    try {
      setEditor(new _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_5__.Editor({
        graph,
        includeLevel,
        resource: resourceUri,
        template,
        compact: false,
        filterPredicates
      }));
    } catch (err) {
      console.error('bypassing rdforms issues, caused by: ', err);
    }
  }, [resourceUri, filterPredicates, includeLevel, template, graph]);
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    if (open) {
      isOpen.current = true;
    }
  }, [open]);
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    /**
     * Makes sure the editor and graph is reset when the
     * open state is used and when it's not possible
     * to rely on unmounting to reset the states.
     */
    if (isOpen.current && !open) {
      isOpen.current = false;
      setEditor(null);
      setGraph(null);
    }
  }, [entry, open]);
  return {
    EditorComponent: editor === null || editor === void 0 ? void 0 : editor.domNode.component,
    editor,
    /**
     * usually used in saveActions that's why its exposed
     * @type {Graph}
     */
    graph
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRDFormsEditor);

/***/ },

/***/ "./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/rdforms/hooks/useRDFormsPresenter.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdforms/renderers/react */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_components_rdforms_LinkBehaviour__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/rdforms/LinkBehaviour */ "./modules/commons/components/rdforms/LinkBehaviour/index.js");







const useRDFormsPresenter = function useRDFormsPresenter(graph, resource, templateId) {
  let compact = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  let filterPredicates = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
  let rdformsTemplate = arguments.length > 5 ? arguments[5] : undefined;
  let markOrigin = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : true;
  let filterTranslations = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : true;
  let defaultLanguage = arguments.length > 8 ? arguments[8] : undefined;
  let locale = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : null;
  const [language] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_5__.useLanguage)();
  const [predicates] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(filterPredicates);
  const presenter = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => {
    if ((rdformsTemplate || templateId) && graph && resource) {
      return new _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_4__.Presenter({
        graph,
        template: rdformsTemplate || commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_3__.itemStore.getItem(templateId),
        resource,
        compact,
        filterPredicates: predicates,
        markOrigin,
        filterTranslations,
        defaultLanguage,
        locale
      });
    }
    return null;
  }, [graph, resource, rdformsTemplate, predicates, templateId, compact, markOrigin, filterTranslations, defaultLanguage, locale, language // language is used as a dependency to trigger a re-render
  ]);
  return {
    PresenterComponent: presenter === null || presenter === void 0 ? void 0 : presenter.domNode.component,
    presenter
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRDFormsPresenter);

/***/ },

/***/ "./modules/commons/components/rdforms/hooks/useRDFormsValidation.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/rdforms/hooks/useRDFormsValidation.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getFormErrorMessageAsNls: () => (/* binding */ getFormErrorMessageAsNls),
/* harmony export */   useFormErrorMessage: () => (/* binding */ useFormErrorMessage),
/* harmony export */   useRDFormsValidation: () => (/* binding */ useRDFormsValidation)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6__);








/**
 * @param {object[]} errors
 * @returns {undefined}
 */
const logErrors = errors => {
  for (const {
    code,
    item
  } of errors) {
    var _item$getSource;
    const id = (item === null || item === void 0 ? void 0 : item.getId()) || ((_item$getSource = item.getSource()) === null || _item$getSource === void 0 ? void 0 : _item$getSource.id);
    console.log(`Form error ${code} for ${id}`);
  }
};

/**
 *
 * @param {Error[]} errors
 * @returns {string}
 */
const getFormErrorMessageAsNls = errors => {
  let hasFewErrors = false;
  let hasManyErrors = false;
  let hasPatternError = false;
  errors.forEach(err => {
    switch (err.code) {
      case _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.engine.CODES.TOO_FEW_VALUES:
        hasFewErrors = true;
        break;
      case _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.engine.CODES.TOO_MANY_VALUES:
      case _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.engine.CODES.TOO_MANY_VALUES_DISJOINT:
        hasManyErrors = true;
        break;
      case _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.engine.CODES.WRONG_PATTERN:
        hasPatternError = true;
        break;
      default:
    }
  });
  if (hasPatternError && !hasFewErrors && !hasManyErrors) {
    return 'wrongValueField';
  }
  if (hasFewErrors && !hasManyErrors) {
    return 'tooFewFields';
  }
  if (hasManyErrors && !hasFewErrors) {
    return 'tooManyFields';
  }
  return 'tooFewOrTooManyFields';
};
const useFormErrorMessage = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const getErrorMessage = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(errors => translate(getFormErrorMessageAsNls(errors)), [translate]);
  return getErrorMessage;
};
const useRDFormsValidation = _ref => {
  let {
    onError,
    editor
  } = _ref;
  const [formErrorMessage, setFormErrorMessage] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const [formErrors, setFormErrors] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]);
  const getFormErrorMessage = useFormErrorMessage();
  const checkFormErrors = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(excludeCallback => {
    const getErrors = () => {
      const {
        errors
      } = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.validate.bindingReport(editor.binding);
      if (!excludeCallback) return errors;
      return errors.filter(excludeCallback);
    };
    const errors = getErrors();
    const hasError = errors.length > 0;
    if (hasError) {
      setFormErrorMessage(getFormErrorMessage(errors));
      setFormErrors(errors);
      logErrors(errors);
      onError === null || onError === void 0 || onError();
    }
    return errors;
  }, [editor, getFormErrorMessage, onError]);
  return {
    formErrors,
    formErrorMessage,
    setFormErrorMessage,
    checkFormErrors
  };
};

/***/ },

/***/ "./modules/commons/components/router/RouterLink/RouterLink.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/router/RouterLink/RouterLink.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["to"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



const RouterLink = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)((_ref, ref) => {
  let {
      to
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_3__.Link, _extends({
    ref: ref,
    to: to
  }, props));
});
RouterLink.propTypes = {
  to: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RouterLink);

/***/ },

/***/ "./modules/commons/components/router/RouterLink/index.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/router/RouterLink/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RouterLink__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RouterLink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RouterLink */ "./modules/commons/components/router/RouterLink/RouterLink.js");


/***/ },

/***/ "./modules/commons/components/router/useLocationState.js"
/*!***************************************************************!*\
  !*** ./modules/commons/components/router/useLocationState.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



const useLocationState = () => {
  const location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const locationStateRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(location.state);
  const setLocationState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(newState => {
    const newLocationState = _objectSpread(_objectSpread({}, locationStateRef.current), newState);
    locationStateRef.current = newLocationState;
    navigate(location.pathname, {
      state: newLocationState,
      replace: true
    });
  }, [navigate, location.pathname]);
  const clearLocationState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
    locationStateRef.current = {};
    navigate(location.pathname, {});
  }, [navigate, location.pathname]);
  return {
    locationState: location.state,
    clearLocationState,
    setLocationState
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLocationState);

/***/ },

/***/ "./modules/commons/components/router/useNavigate.js"
/*!**********************************************************!*\
  !*** ./modules/commons/components/router/useNavigate.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





const useNavigate = () => {
  var _location$state2;
  const navigate = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.useNavigate)();
  const location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.useLocation)();
  const goBack = () => navigate(-1);
  const handleNavigate = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(async (toOrGetTo, navigateOptions) => {
    if (typeof toOrGetTo === 'function') {
      const to = await toOrGetTo();
      navigate(to, navigateOptions);
      return;
    }
    navigate(toOrGetTo, navigateOptions);
  }, [navigate]);
  const goBackToListView = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(function (viewName) {
    var _location$state;
    let navigateOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
    const {
      contextId
    } = navigateOptions;
    const path = contextId ? (0,commons_util_site__WEBPACK_IMPORTED_MODULE_2__.getParentPathFromViewName)(viewName, navigateOptions) : (0,commons_util_site__WEBPACK_IMPORTED_MODULE_2__.getPathFromViewName)(viewName, navigateOptions);
    navigate(path, _objectSpread(_objectSpread({}, navigateOptions), {}, {
      state: _objectSpread({}, (_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.listState)
    }));
  }, [(_location$state2 = location.state) === null || _location$state2 === void 0 ? void 0 : _location$state2.listState, navigate]);
  return {
    navigate: handleNavigate,
    goBack,
    goBackToListView
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useNavigate);

/***/ },

/***/ "./modules/commons/components/tags/Tag/Tag.js"
/*!****************************************************!*\
  !*** ./modules/commons/components/tags/Tag/Tag.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _Tag_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Tag.scss */ "./modules/commons/components/tags/Tag/Tag.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["nlsBundles", "isVisible", "labelNlsKey"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const Tag = _ref => {
  let {
      nlsBundles = [],
      isVisible,
      labelNlsKey
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    label: translate(labelNlsKey),
    classes: {
      root: 'escoTag'
    },
    size: "small"
  }, props));
};
Tag.propTypes = {
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.nlsBundlesPropType,
  isVisible: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tag);

/***/ },

/***/ "./modules/commons/components/tags/Tag/index.js"
/*!******************************************************!*\
  !*** ./modules/commons/components/tags/Tag/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Tag__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Tag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Tag */ "./modules/commons/components/tags/Tag/Tag.js");


/***/ },

/***/ "./modules/commons/components/tags/index.js"
/*!**************************************************!*\
  !*** ./modules/commons/components/tags/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DRAFT_TAG: () => (/* binding */ DRAFT_TAG),
/* harmony export */   LOCKED_TAG: () => (/* binding */ LOCKED_TAG),
/* harmony export */   Tag: () => (/* reexport safe */ _Tag__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   tagPropType: () => (/* binding */ tagPropType),
/* harmony export */   tagsPropType: () => (/* binding */ tagsPropType)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _Tag__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Tag */ "./modules/commons/components/tags/Tag/index.js");





const DRAFT_TAG = {
  id: 'draftTag',
  labelNlsKey: 'draftTag',
  nlsBundles: (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_1___default()),
  isVisible: entry => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.isDraftEntry)(entry)
};
const LOCKED_TAG = {
  id: 'lockedTag',
  labelNlsKey: 'lockedTag',
  nlsBundles: (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_4___default()),
  isVisible: entry => (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.isLocked)(entry)
};
const tagPropType = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
  id: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.nlsBundlesPropType,
  isVisible: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
});
const tagsPropType = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([tagPropType, prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(tagPropType)]);


/***/ },

/***/ "./modules/commons/components/toggles/ActionToggle/ActionToggle.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/toggles/ActionToggle/ActionToggle.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/errors/ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var commons_errors_SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/errors/SnackbarFallbackComponent */ "./modules/commons/errors/SnackbarFallbackComponent/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_toggles_Toggle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/toggles/Toggle */ "./modules/commons/components/toggles/Toggle/index.js");
/* harmony import */ var commons_actions_hooks_useActionDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/actions/hooks/useActionDialog */ "./modules/commons/actions/hooks/useActionDialog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["Dialog", "closeDialog"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const ActionDialog = _ref => {
  let {
      Dialog,
      closeDialog
    } = _ref,
    actionProps = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(commons_errors_ErrorBoundary__WEBPACK_IMPORTED_MODULE_3__["default"], {
    FallbackComponent: commons_errors_SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_4__["default"],
    onError: closeDialog
  }, /*#__PURE__*/React.createElement(Dialog, _extends({
    closeDialog: closeDialog
  }, actionProps)));
};
ActionDialog.propTypes = {
  Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired
};

// Toggle coupled to an action
const ActionToggle = _ref2 => {
  let {
    onChange,
    disabled,
    isChecked,
    primaryLabel,
    secondaryLabel,
    icon,
    switchTooltipLabel,
    listItemTextTooltipLabel,
    highlightId,
    action,
    actionParams,
    tooltipProps
  } = _ref2;
  const {
    isActionDialogOpen,
    openActionDialog,
    closeActionDialog
  } = (0,commons_actions_hooks_useActionDialog__WEBPACK_IMPORTED_MODULE_7__["default"])();
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_toggles_Toggle__WEBPACK_IMPORTED_MODULE_6__["default"], {
    onChange: onChange,
    onClick: openActionDialog,
    disabled: disabled,
    isChecked: isChecked,
    primaryLabel: primaryLabel,
    secondaryLabel: secondaryLabel,
    icon: icon,
    switchTooltipLabel: switchTooltipLabel,
    listItemTextTooltipLabel: listItemTextTooltipLabel,
    tooltipProps: tooltipProps,
    highlightId: highlightId
  }), isActionDialogOpen && action ? ActionDialog(_objectSpread(_objectSpread({
    closeDialog: closeActionDialog
  }, action), actionParams)) : null);
};
ActionToggle.propTypes = {
  action: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().array), prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})])), prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})]),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  isChecked: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool).isRequired,
  primaryLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
  secondaryLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node).isRequired,
  switchTooltipLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  listItemTextTooltipLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  tooltipProps: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionToggle);

/***/ },

/***/ "./modules/commons/components/toggles/ActionToggle/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/toggles/ActionToggle/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ActionToggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ActionToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActionToggle */ "./modules/commons/components/toggles/ActionToggle/ActionToggle.js");


/***/ },

/***/ "./modules/commons/components/toggles/PublishContextToggle/PublishContextToggle.js"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/toggles/PublishContextToggle/PublishContextToggle.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/overview/OverviewSidebarToggle */ "./modules/commons/components/overview/OverviewSidebarToggle/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PublicOff.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");
/* harmony import */ var commons_hooks_context_useContextStatus__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/context/useContextStatus */ "./modules/commons/hooks/context/useContextStatus.js");
/* harmony import */ var commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useRestrictionDialog */ "./modules/commons/hooks/useRestrictionDialog.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
















const PublishContextToggle = _ref => {
  let {
    entry,
    translate,
    restrictionPath,
    confirmUnpublish = async () => true,
    nlsKeys = {
      publishedTooltip: 'publicWorkspaceTitle',
      privateTooltip: 'privateWorkspaceTitle',
      noAccess: 'workspaceSharingNoAccess'
    }
  } = _ref;
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_16__.useUserState)();
  const {
    getAcknowledgeDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const {
    triggerAnimation
  } = (0,commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_10__.useAnimation)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.useSnackbar)();
  const [isPublic, togglePublic, canAdminister] = (0,commons_hooks_context_useContextStatus__WEBPACK_IMPORTED_MODULE_11__["default"])(entry);
  const [triedPublishing, setTriedPublishing] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const restrictionCallback = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => setTriedPublishing(false), []);
  const hasPermission = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_14__.hasUserPermission)(userEntry, [commons_util_user__WEBPACK_IMPORTED_MODULE_14__.PREMIUM, commons_util_user__WEBPACK_IMPORTED_MODULE_14__.ADMIN_RIGHTS]);
  const isExemptFromRestrictions = hasPermission || (0,commons_util_context__WEBPACK_IMPORTED_MODULE_15__.isContextPremium)(entry);
  const isRestricted = !isExemptFromRestrictions && Boolean(restrictionPath);
  const {
    publishedTooltip: publishedKey,
    privateTooltip: privateKey,
    noAccess: noAccessKey
  } = nlsKeys;
  const isDraft = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.isDraftEntry)(entry);
  const privateTooltipWithDraft = isDraft ? 'draftDisabledTitle' : privateKey;
  const tooltipNlsKey = isPublic ? publishedKey : privateTooltipWithDraft;
  (0,commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_12__["default"])({
    open: isRestricted && triedPublishing,
    contentPath: restrictionPath,
    callback: restrictionCallback
  });
  const handleChange = async (_event, domNode) => {
    if (isRestricted) {
      setTriedPublishing(true);
      return;
    }
    if (!canAdminister) {
      await getAcknowledgeDialog({
        content: translate(noAccessKey)
      });
      return;
    }
    if (!isPublic) {
      await togglePublic().then(() => {
        triggerAnimation(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_10__.BALLOON, {
          ref: {
            current: domNode
          },
          uniqueId: entry.getId()
        });
        addSnackbar({
          message: translate('publishSnackbarMessage')
        });
      }).catch(error => {
        console.error(error);
        addSnackbar({
          message: translate('publishFail'),
          type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.ERROR
        });
      });
      return;
    }
    const proceed = await confirmUnpublish(entry);
    if (!proceed) return;
    await togglePublic().then(() => {
      addSnackbar({
        message: translate('unpublishSnackbarMessage')
      });
    }).catch(error => {
      console.error(error);
      addSnackbar({
        message: translate('unpublishFail'),
        type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_13__.ERROR
      });
    });
  };
  return /*#__PURE__*/React.createElement(commons_components_overview_OverviewSidebarToggle__WEBPACK_IMPORTED_MODULE_5__["default"], {
    onChange: handleChange,
    isChecked: isPublic,
    primaryLabel: translate('publishedTitle'),
    secondaryLabel: isPublic ? translate('publishedStatus') : translate('unpublishedStatus'),
    icon: isPublic ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null) : /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null),
    highlightId: "overviewActionPublish",
    switchTooltipLabel: translate(tooltipNlsKey)
  });
};
PublishContextToggle.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.entryPropType,
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  restrictionPath: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  confirmUnpublish: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  nlsKeys: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    publishedTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    privateTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    noAccess: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PublishContextToggle);

/***/ },

/***/ "./modules/commons/components/toggles/PublishContextToggle/index.js"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/toggles/PublishContextToggle/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PublishContextToggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PublishContextToggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublishContextToggle */ "./modules/commons/components/toggles/PublishContextToggle/PublishContextToggle.js");


/***/ },

/***/ "./modules/commons/components/toggles/Toggle/Toggle.js"
/*!*************************************************************!*\
  !*** ./modules/commons/components/toggles/Toggle/Toggle.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/Switch.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var _mui_styles__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/styles */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/withStyles/withStyles.js");
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var _hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* harmony import */ var _Toggle_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Toggle.scss */ "./modules/commons/components/toggles/Toggle/Toggle.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }








const ForwardedRefSwitch = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)((props, ref) => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({}, props, {
  ref: ref
})));
const SidebarSwitch = (0,_mui_styles__WEBPACK_IMPORTED_MODULE_9__["default"])({
  switchBase: {
    '&$checked': {
      color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__.success.main
    },
    '&$checked + $track': {
      backgroundColor: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__.success.main
    },
    '&$disabled$checked': {
      color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__.success.light
    },
    '&$checked$disabled + $track': {
      backgroundColor: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__.success.light
    }
  },
  checked: {},
  track: {},
  disabled: {}
})(ForwardedRefSwitch);
const Toggle = _ref => {
  let {
    onChange,
    onClick,
    disabled,
    isChecked,
    primaryLabel,
    secondaryLabel,
    icon,
    switchTooltipLabel,
    listItemTextTooltipLabel,
    tooltipProps,
    highlightId
  } = _ref;
  const toggleRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);
  const id = (0,_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_11__.useUniqueId)();
  const handleChange = event => {
    if (onClick) {
      onClick();
    }
    if (onChange) {
      onChange(event, toggleRef.current);
    }
  };
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({
    title: switchTooltipLabel
  }, tooltipProps), /*#__PURE__*/React.createElement("span", {
    className: `escoToggle${disabled ? ' escoToggle--disabled' : ''}`,
    "data-highlight-id": highlightId
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    classes: {
      root: 'escoToggle__switchLabel'
    },
    disableTypography: true,
    label: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
      className: "escoToggle__icon--dense"
    }, icon), /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__["default"], {
      title: listItemTextTooltipLabel
    }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
      id: "overview-toggle-label",
      primary: primaryLabel,
      secondary: secondaryLabel,
      classes: {
        primary: 'escaToggle__primaryLabel',
        secondary: `escoToggle__labelSecondary ${!isChecked && 'escoToggle__labelSecondary--inactive'}`
      }
    })))),
    control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      classes: {
        root: 'escoToggle__secondaryAction'
      }
    }, /*#__PURE__*/React.createElement(SidebarSwitch, {
      edge: "end",
      inputProps: {
        'aria-labelledby': 'overview-toggle-label'
      },
      id: id,
      checked: isChecked,
      disabled: disabled,
      onChange: handleChange,
      ref: toggleRef
    }))
  })));
};
Toggle.propTypes = {
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  isChecked: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool).isRequired,
  primaryLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  secondaryLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node).isRequired,
  switchTooltipLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  listItemTextTooltipLabel: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  tooltipProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  highlightId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Toggle);

/***/ },

/***/ "./modules/commons/components/toggles/Toggle/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/components/toggles/Toggle/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Toggle__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Toggle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Toggle */ "./modules/commons/components/toggles/Toggle/Toggle.js");


/***/ },

/***/ "./modules/commons/components/views/EntityListView/EntityListView.js"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/views/EntityListView/EntityListView.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_components_TableView__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/TableView */ "./modules/commons/components/TableView/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./actions */ "./modules/commons/components/views/EntityListView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["applyFilters", "isLoading", "hasFilters"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
























const EntityListView = _ref => {
  let {
    entityTypeName,
    listProps,
    actionParams: actionParamsProp = {}
  } = _ref;
  const {
    context,
    contextName
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_14__.useESContext)();
  const {
    projectName,
    entityName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_22__.useParams)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_23__.nlsBundles);
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_15__["default"].getByName(entityTypeName || entityName);
  const applyQueryParams = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)((query, queryOptions) => {
    return (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_17__.applyEntityTypeParams)(query, queryOptions, entityType.get());
  }, [entityType]);
  const publishable = entityType.get('publishControl') === true;
  const draftsEnabled = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_21__.getDraftsEnabled)(entityType);
  const filters = (0,react__WEBPACK_IMPORTED_MODULE_12__.useMemo)(() => [...(publishable ? [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_19__.PUBLIC_STATUS_FILTER] : []), ...(draftsEnabled ? [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_19__.DRAFT_STATUS_FILTER] : [])], [publishable, draftsEnabled]);
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_20__["default"])(filters, _actions__WEBPACK_IMPORTED_MODULE_23__.nlsBundles),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(() => commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.newSolrQuery().rdfType(entityType.getRdfType()).context(context), [context, entityType]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.useSolrQuery)({
    createQuery,
    applyQueryParams,
    applyFilters,
    wait: isLoading
  });
  const actionParams = _objectSpread({
    entityType,
    context,
    contextName,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_23__.nlsBundles
  }, actionParamsProp);
  const [{
    showTableView
  }, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.useListModel)();
  return showTableView ? /*#__PURE__*/React.createElement(commons_components_TableView__WEBPACK_IMPORTED_MODULE_11__["default"], {
    setTableView: () => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.TOGGLE_TABLEVIEW
    }),
    rdfType: entityType.getRdfType(),
    templateId: entityType.get('template'),
    filterScheme: filters
  }) : /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.EntryListView, _extends({}, queryResults, listProps, {
    includeTableView: true,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_23__.nlsBundles,
    listActions: (0,commons_actions__WEBPACK_IMPORTED_MODULE_9__.resolveListActions)(_actions__WEBPACK_IMPORTED_MODULE_23__.listActions, actionParams),
    listActionsProps: {
      actionParams
    },
    getListItemProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_16__.getPathFromViewName)(`${commons_registry__WEBPACK_IMPORTED_MODULE_18__["default"].getCurrentView()}__overview`, {
          contextId: context.getId(),
          entryId: entry.getId(),
          entityName: entityTypeName || entityName,
          projectName
        })
      };
    },
    viewPlaceholderProps: {
      label: translate('emptyMessageWithName', (0,commons_locale__WEBPACK_IMPORTED_MODULE_10__.localize)(entityType.get('label')))
    },
    columns: [...(draftsEnabled || publishable ? [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.STATUS_COLUMN), {}, {
      getProps: _ref3 => {
        let {
          entry
        } = _ref3;
        return {
          entry,
          publicTooltip: translate('publicTitle'),
          privateTooltip: translate('privateTitle'),
          publishable,
          draftsEnabled
        };
      }
    })] : []), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.TITLE_COLUMN), {}, {
      xs: draftsEnabled || publishable ? 8 : 9
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_6__.ACTIONS_GROUP_COLUMN), {}, {
      getProps: props => _objectSpread(_objectSpread({}, props), actionParams),
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_7__.LIST_ACTION_INFO, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_7__.LIST_ACTION_EDIT],
      xs: 1
    })]
  }));
};
EntityListView.propTypes = {
  entityTypeName: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.listPropsPropType,
  actionParams: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.withListModelProviderAndLocation)(EntityListView));

/***/ },

/***/ "./modules/commons/components/views/EntityListView/actions.js"
/*!********************************************************************!*\
  !*** ./modules/commons/components/views/EntityListView/actions.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! workbench/nls/eswoSpaces.nls */ "./modules/workbench/nls/eswoSpaces.nls");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! workbench/nls/eswoBench.nls */ "./modules/workbench/nls/eswoBench.nls");
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListCreateEntityDialog */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntityDialog/index.js");







// TODO there's too many nls for the actions. fix up
const nlsBundles = [(workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_1___default()), (workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_2___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default())];
const listActions = [{
  id: 'create',
  Dialog: commons_components_EntryListView_dialogs_ListCreateEntityDialog__WEBPACK_IMPORTED_MODULE_5__["default"],
  isVisible: () => true,
  labelNlsKey: 'createButton',
  tooltipNlsKey: 'createButtonWithName',
  // `getNLSParam` is seldomly used. This is a corner case
  // where a selected entity type def is needed to render the name
  getNLSParam: _ref => {
    let {
      entityType
    } = _ref;
    return (0,commons_locale__WEBPACK_IMPORTED_MODULE_4__.localize)(entityType.get('label'));
  },
  getProps: _ref2 => {
    let {
      locked
    } = _ref2;
    return {
      disabled: locked
    };
  }
}];


/***/ },

/***/ "./modules/commons/components/views/EntityListView/index.js"
/*!******************************************************************!*\
  !*** ./modules/commons/components/views/EntityListView/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EntityListView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EntityListView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityListView */ "./modules/commons/components/views/EntityListView/EntityListView.js");


/***/ },

/***/ "./modules/commons/config.js"
/*!***********************************!*\
  !*** ./modules/commons/config.js ***!
  \***********************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/webpack/paths */ "./modules/commons/webpack/paths.js");







/**
 * @module commons
 * @description Configuration for the Commons module
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  /**
   * Appends to window.location.origin to form the baseURL
   *
   * @type {string}
   * @memberof module:commons
   * @default ''
   */
  baseAppPath: '',
  entryscape: {
    /**
     * Overrides the application base URL. When unset, the base URL
     * is derived from window.location.origin (+ baseAppPath if configured).
     *
     * @type {string}
     * @memberof module:commons
     * @default ''
     */
    baseURL: '',
    /**
     * Whether the build is served locally. When true, static assets
     * are resolved relative to the app origin using entryscape.static.url
     * instead of the full static.url/app/version path.
     *
     * @type {boolean}
     * @memberof module:commons
     * @default false
     */

    localBuild: false,
    /**
     * Static asset serving configuration used to construct the CDN base path.
     * All three properties are required unless entryscape.localBuild is true,
     * in which case only url is needed.
     *
     * @type {object}
     * @property {string} url - Base URL of the static file server
     * @property {string} app - Application name segment in the path
     * @property {string} version - Version segment in the path
     * @memberof module:commons
     */
    // static: { url, app, version }, to be set in local.js

    /**
     * Additional entryscape app modules to load alongside the main application.
     *
     * @type {string|string[]}
     * @memberof module:commons
     * @default []
     */
    extras: [],
    /**
     * Base URL for the Swagger API documentation interface used on API distributions.
     *
     * @type {string}
     * @memberof module:commons
     * @default 'https://swagger.entryscape.com/'
     */
    swaggerBaseURL: 'https://swagger.entryscape.com/',
    /**
     * EntryScape Blocks scripts referenced by generated embed snippets. These
     * URLs are loaded by the external site the snippet is pasted into, not by
     * EntryScape itself, so they must be publicly reachable.
     *
     * @type {object}
     * @property {string} baseUrl - CDN base for the blocks app and extensions
     * @property {string} version - Major version segment in the script paths
     * @memberof module:commons
     */
    blocks: {
      baseUrl: 'https://static.cdn.entryscape.com',
      version: '1'
    },
    /**
     * Path to the web font files used by the application.
     *
     * @type {string}
     * @memberof module:commons
     */
    fontPath: `${commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__.STATIC_PATH}/assets/fonts/`,
    /**
     * @type {object}
     * @property {string} email - Email displayed on the maintenance view
     * @property {object} ongoing - Ongoing maintenance configuration
     * @property {boolean} ongoing.enabled - Whether maintenance mode is active
     * @property {object} ongoing.message - NLS object with the maintenance message
     * @property {object} [planned] - Planned maintenance configuration, introducing a button and dialog
     * @property {string} [planned.start] - Start time, e.g. '2022-08-02 02:00'
     * @property {string} [planned.end] - End time, e.g. '2022-08-02 08:00'
     * @property {object} [planned.message] - NLS object with a warning message
     * @memberof module:commons
     */
    maintenance: {
      email: 'support@entryscape.com',
      /**
       * URLs to load maintenance configs from.
       * Later URLs take precedence over earlier ones.
       * Manual local config takes precedence over all remote configs.
       *
       * @type {string[]}
       */
      configURLs: [],
      /**
       * Polling interval in milliseconds for reloading maintenance configs.
       * Default: 600000 (10 minutes)
       *
       * @type {number}
       */
      reloadInterval: 600000

      // ongoing: {
      //   enabled: true,
      //   message: {
      //     en: 'EntryScape is offline for maintenance. Please check back later.',
      //     de: 'EntryScape ist wegen Wartungsarbeiten offline. Bitte versuchen Sie es später erneut.',
      //     sv: 'EntryScape är offline för underhåll. Vänligen försök igen senare.',
      //   },
      // },
      // planned: {
      //   start: '2022-08-02 02:00',
      //   end: '2022-08-02 08:00',
      //   message: {
      //     en: 'Example planned maintenance warning message in EN',
      //     sv: 'Example planned maintenance warning message in SV',
      //   },
      // },
    },
    /**
     * @type {object}
     * @property {boolean} enabled - Whether the support link is shown on user menu and help drawer
     * @property {string} url - URL to the support page
     * @property {object} label - NLS object with the link text
     * @memberof module:commons
     */
    support: {
      enabled: true,
      url: 'https://support.entryscape.com',
      label: {
        en: 'Contact support',
        sv: 'Kontakta supporten',
        de: 'Support kontaktieren'
      }
    },
    /**
     * @type {object}
     * @property {boolean} enabled - Whether the community link is shown on user menu and help drawer
     * @property {string} url - URL to the community forum
     * @property {object} label - NLS object with the link text
     * @memberof module:commons
     */
    community: {
      enabled: true,
      url: 'https://community.entryscape.com',
      label: {
        en: 'User forum',
        sv: 'Användarforum',
        de: 'Benutzerforum'
      }
    }
  },
  entrystore: {
    /**
     * URL to the EntryStore backend API. Must be set in local.js.
     *
     * @type {string}
     * @memberof module:commons
     */
    // repository: 'http://localhost:8080/store/',

    /**
     * The ID corresponding to the premium group. Members of the premium group
     * are exempt from restrictions. If there is no existing group with the ID,
     * it is created upon using any premium action (upgrade/downgrade).
     *
     * @type {string}
     * @memberof module:commons
     * @default ''
     */
    premiumGroupId: '',
    /**
     * Premium contexts are exempt from restrictions. If true the upgrade/downgrade
     * actions are available on the admin projects list items.
     *
     * @type {boolean}
     * @memberof module:commons
     * @default false
     */
    premiumContexts: false,
    /**
     * Whether the built-in username/password sign-in form is available.
     *
     * @type {boolean}
     * @memberof module:commons
     * @default true
     * @deprecated
     */
    internalsignin: true,
    /**
     * @typedef {object} SSOConfig
     * @property {boolean} enabled - Support for SSO
     * @property {string} message - Custom message
     * @property {string} path - Either 'cas' or 'saml'
     * @type {SSOConfig}
     * @memberof module:commons
     * @default null
     */
    sso: null,
    /**
     * Configuration for the password validation rules. These rules apply in any case of creating
     * or changing a password via the frontend.
     *
     * @property {object} password - Password configuration
     * @property {boolean} password.uppercase - Whether an uppercase character is required
     * @property {boolean} password.lowercase - Whether a lowercase character is required
     * @property {boolean} password.symbol - Whether a symbol is required
     * @property {boolean} password.number - Whether a number is required
     * @property {RegExp[]} password.custom - An array of regular expressions to match against
     * @property {object} password.message - The error message in NLS object form, this message appears whatever the validation error may be
     * @property {number} password.minLength - The minimum password length
     * @memberof module:commons
     */
    password: {
      uppercase: true,
      lowercase: true,
      number: true,
      symbol: false,
      minLength: 10,
      message: {
        en: 'The password must be at least 10 characters long and contain a number as well as both lower case and upper case characters.',
        de: 'Das Kennwort muss mindestens 10 Zeichen lang sein und sowohl mindestens eine Zahl als auch Klein- und Großbuchstaben enthalten.',
        sv: 'Lösenordet måste vara minst 10 tecken långt och innehålla minst en siffra samt både gemener och versaler.'
      }
    },
    /**
     * Whether authentication is required to access the application.
     *
     * @type {boolean}
     * @memberof module:commons
     * @default true
     */
    authentification: true,
    /**
     * The default Solr field used when searching entries.
     *
     * @type {string}
     * @memberof module:commons
     * @default 'title'
     */
    defaultSolrQuery: 'title',
    /**
     * Maximum number of results returned by a Solr search query.
     *
     * @type {number}
     * @memberof module:commons
     * @default 50
     * @deprecated
     */
    defaultSolrLimit: 50
  },
  rdf: {
    /**
     * Additional RDF namespace prefix-to-URI mappings registered on the application.
     *
     * @type {object}
     * @memberof module:commons
     */
    namespaces: {
      /**
       * @memberof module:commons
       * @type {string}
       */
      store: 'http://entrystore.org/terms/',
      /**
       * @memberof module:commons
       * @type {string}
       */
      esterms: 'http://entryscape.com/terms/',
      /**
       * @memberof module:commons
       * @type {string}
       */
      adms: 'http://www.w3.org/ns/adms#',
      /**
       * @memberof module:commons
       * @type {string}
       */
      wdrs: 'http://www.w3.org/2007/05/powder-s#'
    },
    /**
     * RDF properties used to derive a human-readable label for entries.
     * Each element is either a single property URI or an array of URIs
     * whose values are concatenated (e.g. first + last name).
     *
     * @type {Array.<string|string[]>}
     * @memberof module:commons
     */
    labelProperties: ['foaf:name', ['foaf:firstName', 'foaf:lastName'], ['foaf:givenName', 'foaf:familyName'], 'vcard:fn', 'skos:prefLabel', 'dcterms:title', 'dc:title', 'rdfs:label', 'skos:altLabel', 'vcard:hasEmail', 'schema:name'],
    /**
     * RDF properties used to derive descriptions for entries.
     *
     * @type {string[]}
     * @memberof module:commons
     */
    descriptionProperties: ['http://purl.org/dc/terms/description']
  },
  /**
   * Custom content viewer components registered for previewing entry resources.
   *
   * @type {Array}
   * @memberof module:commons
   * @default []
   */
  contentviewers: [],
  /**
   * Google reCAPTCHA v2 site key. When set, a CAPTCHA challenge is shown
   * on the sign-up and password reset forms.
   *
   * @type {string}
   * @memberof module:commons
   * @default ''
   */
  reCaptchaSiteKey: '',
  /**
   * Visual theming and branding configuration.
   *
   * @type {object}
   * @memberof module:commons
   */
  theme: {
    /**
     * Collapses the navbar into a single row instead of the default two-row layout.
     *
     * @memberof module:commons
     * @type {boolean}
     * @default false
     * @deprecated
     */
    oneRowNavbar: false,
    /**
     * Whether to load a local theme CSS file from the theme directory.
     *
     * @memberof module:commons
     * @type {boolean}
     * @default false
     */
    localTheme: false,
    /**
     * Whether to load assets (logos, images) from the local theme directory.
     *
     * @memberof module:commons
     * @type {boolean}
     * @default false
     */
    localAssets: false,
    /**
     * Path to a text file whose contents are displayed as a restriction notice.
     *
     * @memberof module:commons
     * @type {string}
     * @default ''
     */
    commonRestrictionTextPath: '',
    /**
     * Default branding assets used when no local theme overrides are provided.
     *
     * @memberof module:commons
     * @type {object}
     */
    default: {
      /**
       * The application name shown in the UI.
       *
       * @memberof module:commons
       * @type {string}
       * @default 'EntryScape'
       */
      appName: 'EntryScape',
      /**
       * URL to the small icon-only logo (used in compact layouts).
       *
       * @memberof module:commons
       * @type {string}
       */
      logoIcon: new URL('images/es-logo-icon.svg', commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_ASSETS_PATH).href,
      /**
       * URL to the small icon-only logo for dark mode (used in compact layouts).
       *
       * @memberof module:commons
       * @type {string}
       */
      logoIconDarkMode: new URL('images/es-logo-icon-darkmode.svg', commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_ASSETS_PATH).href,
      /**
       * URL to the full logo with text (used in the navbar).
       *
       * @memberof module:commons
       * @type {string}
       */
      logoFull: new URL('images/es-logo-full.svg', commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_ASSETS_PATH).href,
      /**
       * URL to the full logo with text for dark mode (used in the navbar).
       *
       * @memberof module:commons
       * @type {string}
       */
      logoFullDarkMode: new URL('images/es-logo-full-darkmode.svg', commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_ASSETS_PATH).href,
      /**
       * Base path for loading theme CSS and related resources.
       *
       * @memberof module:commons
       * @type {string}
       */
      themePath: commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_ASSETS_PATH,
      /**
       * Base path for loading static assets (images, fonts).
       *
       * @memberof module:commons
       * @type {string}
       */
      assetsPath: commons_webpack_paths__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_ASSETS_PATH
    },
    /**
     * Configuration for the application footer. Override in local.js to customize.
     *
     * @memberof module:commons
     * @type {object}
     * @default {}
     */
    footer: {},
    /**
     * External links are available at the bottom of the primary navigation drawer.
     * Each external link object must have a `uri` and `label` property. Both can
     * be either a string or an object with locale keys and localized values.
     *
     * @memberof module:commons
     * @type {object[]}
     */
    externalLinks: [{
      label: {
        en: 'Privacy policy',
        sv: 'Integritetspolicy',
        de: 'Datenschutz\u00ADerklärung'
      },
      uri: {
        en: 'https://entryscape.com/en/privacypolicy',
        sv: 'https://entryscape.com/sv/integritetspolicy',
        de: 'https://entryscape.com/de/datenschutzerklarung'
      }
    }],
    /**
     * An NLS profile enhances the translation mechanism to check for
     * profile-specific strings, and then fall-back to defaults.
     * E.g. with nlsProfile 'dcat', the first check will be for the key
     * 'mergeAdded__dcat' and fall-back to the default 'mergeAdded'.
     *
     * @memberof module:commons
     * @type {string}
     * @default ''
     */
    nlsProfile: ''
  },
  /**
   * Locale and internationalization settings.
   *
   * @type {object}
   */
  locale: {
    /**
     * Language code used when the user's preferred locale is not available.
     *
     * @memberof module:commons
     * @type {string}
     * @default 'en'
     */
    fallback: 'en',
    /**
     * The locales available in the language switcher.
     *
     * @memberof module:commons
     * @typedef {{lang: string, flag: string, label: string, labelEn: string, shortDatePattern: string}} SupportedObj
     * @type {SupportedObj[]}
     */
    supported: [{
      lang: 'de',
      flag: 'de',
      label: 'Deutsch',
      labelEn: 'German',
      shortDatePattern: 'DD. MMM',
      shortDatePatternWithYear: 'DD. MMM, YYYY'
    }, {
      lang: 'en',
      flag: 'gb',
      label: 'English',
      labelEn: 'English',
      shortDatePattern: 'MMM DD',
      shortDatePatternWithYear: 'MMM DD, YYYY'
    }, {
      lang: 'sv',
      flag: 'se',
      label: 'Svenska',
      labelEn: 'Swedish',
      shortDatePattern: 'DD MMM',
      shortDatePatternWithYear: 'DD MMM, YYYY'
    }]
    // NLSOverrides: [], to be set in local.js
  },
  /** @ignore */
  itemstore: {
    /**
     * @type {string[]}
     */
    defaultBundles: ['skos', 'dcterms', 'foaf', 'vcard', 'adms', 'dcat3', 'prof', 'esc', 'rdfs'],
    /**
     * @type {Array}
     */
    bundles: [],
    /**
     * The type definition is just an example as for different languages, there are varying translation options.
     * Note: Maybe languages should be moved from config as these values aren't really being configured.
     *
     * @typedef {{en: string, bg: string, sv: string, de: string}} LanguageObj
     * @type {{value: string, label: LanguageObj}}
     */
    languages: [{
      value: '',
      label: {
        en: ''
      }
    }, {
      value: 'bg',
      label: {
        en: 'Bulgarian',
        bg: 'български',
        sv: 'bulgariska',
        de: 'Bulgarisch'
      }
    }, {
      value: 'cs',
      label: {
        en: 'Czech',
        cs: 'čeština',
        sv: 'tjeckiska',
        de: 'Tschechisch'
      }
    }, {
      value: 'da',
      label: {
        en: 'Danish',
        da: 'dansk',
        sv: 'danska',
        de: 'Dänisch'
      }
    }, {
      value: 'de',
      label: {
        en: 'German',
        de: 'Deutsch',
        sv: 'tyska'
      }
    }, {
      value: 'el',
      label: {
        en: 'Greek',
        el: 'ελληνικά',
        sv: 'grekiska',
        de: 'Griechisch'
      }
    }, {
      value: 'en',
      label: {
        en: 'English',
        sv: 'engelska',
        de: 'Englisch'
      }
    }, {
      value: 'es',
      label: {
        en: 'Spanish',
        es: 'Español',
        sv: 'spanska',
        de: 'Spanisch'
      }
    }, {
      value: 'et',
      label: {
        en: 'Estonian',
        et: 'Eesti keel',
        sv: 'estniska',
        de: 'Estnisch'
      }
    }, {
      value: 'fi',
      label: {
        en: 'Finnish',
        fi: 'Suomi',
        sv: 'finska',
        de: 'Finnisch'
      }
    }, {
      value: 'fr',
      label: {
        en: 'French',
        fr: 'Français',
        sv: 'franska',
        de: 'Französisch'
      }
    }, {
      value: 'ga',
      label: {
        en: 'Irish',
        ga: 'Gaeilge',
        sv: 'iriska',
        de: 'Irisch'
      }
    }, {
      value: 'hr',
      label: {
        en: 'Croatian',
        hr: 'Hrvatski',
        sv: 'kroatiska',
        de: 'Kroatisch'
      }
    }, {
      value: 'hu',
      label: {
        en: 'Hungarian',
        hu: 'Magyar',
        sv: 'ungerska',
        de: 'Ungarisch'
      }
    }, {
      value: 'it',
      label: {
        en: 'Italian',
        it: 'Italiano',
        sv: 'italienska',
        de: 'Italienisch'
      }
    }, {
      value: 'lt',
      label: {
        en: 'Lithuanian',
        lt: 'Lietuvių kalba',
        sv: 'litauiska',
        de: 'Litauisch'
      }
    }, {
      value: 'lv',
      label: {
        en: 'Latvian',
        lv: 'Latviešu valoda',
        sv: 'lettiska',
        de: 'Lettisch'
      }
    }, {
      value: 'mt',
      label: {
        en: 'Maltese',
        mt: 'Malti',
        sv: 'maltesiska',
        de: 'Maltesisch'
      }
    }, {
      value: 'nb',
      label: {
        en: 'Norwegian (bokmål)',
        nb: 'norsk bokmål',
        no: 'norsk bokmål',
        nn: 'norsk bokmål',
        sv: 'norska (bokmål)',
        de: 'Norwegisch (Buchsprache)'
      }
    }, {
      value: 'nl',
      label: {
        en: 'Dutch',
        nl: 'Nederlands',
        sv: 'nederländska',
        de: 'Niederländisch'
      }
    }, {
      value: 'nn',
      label: {
        en: 'Norwegian (nynorsk)',
        nb: 'norsk nynorsk',
        no: 'norsk nynorsk',
        nn: 'norsk nynorsk',
        sv: 'norska (nynorska)',
        de: 'Norwegisch (Neu)'
      }
    }, {
      value: 'pl',
      label: {
        en: 'Polish',
        pl: 'Polski',
        sv: 'polska',
        de: 'Polnisch'
      }
    }, {
      value: 'pt',
      label: {
        en: 'Portuguese',
        pt: 'Português',
        sv: 'portugisiska',
        de: 'Portugiesisch'
      }
    }, {
      value: 'ro',
      label: {
        en: 'Romanian',
        ro: 'Română',
        sv: 'rumänska',
        de: 'Rumänisch'
      }
    }, {
      value: 'no',
      label: {
        en: 'Norwegian',
        no: 'norsk',
        nb: 'norsk',
        nn: 'norsk nynorsk',
        sv: 'norska',
        de: 'Norwegisch'
      }
    }, {
      value: 'sk',
      label: {
        en: 'Slovak',
        sk: 'Slovenčina',
        sv: 'slovakiska',
        de: 'Slowakisch'
      }
    }, {
      value: 'sl',
      label: {
        en: 'Slovenian',
        sl: 'Slovenščina',
        sv: 'slovenska',
        de: 'Slowenisch'
      }
    }, {
      value: 'sv',
      label: {
        en: 'Swedish',
        sv: 'svenska',
        de: 'Schwedisch'
      }
    }],
    /**
     * @type {Array}
     */
    appendLanguages: [],
    /**
     * @type {Array}
     */
    choosers: [],
    /**
     * @type {string}
     * @default 6295630
     */
    geonamesStart: 6295630,
    /**
     * @type {object}
     * @property {string} uriPrefix - Base URI for GeoNames resources
     * @property {string} hierarchyURL - API endpoint for hierarchy lookups. Supports
     *   the ${lang} (current UI language) and ${geonameId} placeholders.
     * @property {string} childrenURL - API endpoint for children lookups. Supports
     *   the ${lang} and ${geonameId} placeholders.
     * @property {string} geonameURL - API endpoint for single geoname lookups. Supports
     *   the ${lang} and ${geonameId} placeholders.
     * @property {string} labelProperty - Either 'toponymName' or 'name'
     */
    geonamesAPI: {
      uriPrefix: 'https://sws.geonames.org/',
      hierarchyURL: 'http://api.geonames.org/hierarchyJSON?userName=metasolutions&lang=${lang}&geonameId=${geonameId}',
      childrenURL: 'http://api.geonames.org/childrenJSON?userName=metasolutions&lang=${lang}&geonameId=${geonameId}',
      geonameURL: 'http://api.geonames.org/getJSON?userName=metasolutions&lang=${lang}&geonameId=${geonameId}',
      labelProperty: 'name'
    }
  },
  /**
   * Configuration for the entry chooser dialog used to select entries.
   *
   * @type {object}
   * @default {}
   */
  entrychooser: {},
  /**
   * @type {object}
   * @property {object} url - NLS object with locale-specific URLs
   * @property {?string} version - Policy version identifier
   * @property {boolean} requireApproval - Whether a dialog prompts the user for approval
   * @memberof module:commons
   */
  privacyPolicy: {
    url: {
      en: 'https://entryscape.com/privacypolicy',
      sv: 'https://entryscape.com/integritetspolicy',
      de: 'https://entryscape.com/datenschutzerklarung'
    },
    version: null,
    requireApproval: false
  },
  /**
   * @type {object}
   * @property {object} url - NLS object with locale-specific URLs
   * @property {?string} version - Terms version identifier
   * @property {boolean} requireApproval - Whether a dialog prompts the user for approval
   * @memberof module:commons
   */
  termsAndConditions: {
    url: {
      en: 'https://entryscape.com/termsconditions',
      sv: 'https://entryscape.com/allmannavillkor',
      de: 'https://entryscape.com/geschaftsbedingungen'
    },
    version: null,
    requireApproval: false
  },
  /**
   * Specifies the minimum number of chars that must be entered for search.
   *
   * @type {string}
   * @default 3
   */
  minimumSearchLength: 3,
  /**
   * Determines whether the help button and the corresponding drawer with documentation
   * links are available. Note that their visibility also depends on `help links`
   * being available for a particular view.
   *
   * @type {boolean}
   * @default true
   */
  includeHelp: true,
  /**
   * Frontend monitoring (Grafana Faro / Real User Monitoring). When enabled, the Faro
   * Web SDK captures JavaScript errors, console logs, Web Vitals, and distributed traces
   * and ships them to the monitoring hub's collector. Disabled by default; enable per
   * instance in local.js (or via window.__entryscape_config).
   *
   * @type {object}
   * @property {boolean} enabled - Master toggle. When false the SDK is never initialized.
   * @property {string} collectorUrl - Faro receiver endpoint on the monitoring hub.
   * @property {string} environment - Environment label attached to all telemetry.
   * @property {string} apiKey - Optional shared key sent to the collector. Empty = none.
   * @memberof module:commons
   */
  monitoring: {
    enabled: false,
    collectorUrl: 'https://log.infra.entryscape.com/collect',
    environment: 'production',
    apiKey: ''
  }
});

/***/ },

/***/ "./modules/commons/contentview/index.js"
/*!**********************************************!*\
  !*** ./modules/commons/contentview/index.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");


const contentviewers = () => {
  config__WEBPACK_IMPORTED_MODULE_1__["default"].get('contentviewers').forEach(contentViewer => console.log(`this content viewer should be implemented ${contentViewer}`));
  // config.get('contentviewers').forEach((contentViewer, idx) => {
  //   import(
  //     /* webpackInclude: /.*View\.js$/ */
  //     /* webpackMode: "eager" */
  //     `commons/contentview/${contentViewer.class}.js`
  //   ).then((viewerClass) => {
  //     try {
  //       config.get('contentviewers')[idx].class = viewerClass.default;
  //     } catch (e) {
  //       throw Error(`Could not load viewer ${contentViewer.class}`);
  //     }
  //   });
  // });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (contentviewers);

/***/ },

/***/ "./modules/commons/contexts/ClipboardGraphContext.js"
/*!***********************************************************!*\
  !*** ./modules/commons/contexts/ClipboardGraphContext.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useClipboardGraph: () => (/* binding */ useClipboardGraph)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);


/**
 * The context is necessary for two reasons. The (clipboard) graph has to persist
 * 1) on all toolkit views. For example, the catalog loaded on the "Catalog"
 * view should be the one validated or converted on the corresponding views.
 * 2) Between the (harvest) status and (toolkit) validation.
 */
const ClipboardGraphContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(['', () => {}]);
const useClipboardGraph = () => {
  const clipboardGraphContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ClipboardGraphContext);
  if (clipboardGraphContext === undefined) {
    throw new Error('useClipboardGraph must be used within a ContextProvider');
  }
  return clipboardGraphContext;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClipboardGraphContext);


/***/ },

/***/ "./modules/commons/contexts/EsContext.js"
/*!***********************************************!*\
  !*** ./modules/commons/contexts/EsContext.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ESContextProvider: () => (/* binding */ ESContextProvider),
/* harmony export */   getESContext: () => (/* binding */ getESContext),
/* harmony export */   getESContextAndName: () => (/* binding */ getESContextAndName),
/* harmony export */   useESContext: () => (/* binding */ useESContext),
/* harmony export */   withEsContextProvider: () => (/* binding */ withEsContextProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_contexts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts */ "./modules/commons/contexts/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








let esContext;
let esContextName;

/**
 * A context provider that utilizes the render props technique
 * and renders the children views only if context has been loaded
 *
 * @param {object} props
 * @param {string} props.contextId
 * @param {object} props.children
 * @returns {object}
 */
const ESContextProvider = _ref => {
  let {
    contextId,
    context,
    contextEntry,
    children
  } = _ref;
  const {
    runAsync,
    error,
    isLoading,
    data
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_6__["default"])({
    data: {
      context: null,
      contextEntry: null,
      contextName: ''
    }
  });
  const ctx = context || commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystore.getContextById(contextId);
  esContext = ctx;
  esContextName = data === null || data === void 0 ? void 0 : data.contextName;
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    const getContext = async () => {
      if (!contextId) {
        throw Error('Could not read the "context" parameter from the URL path');
      }
      let ctxEntry = contextEntry;
      if (!ctxEntry) {
        ctxEntry = await ctx.getEntry();
      }
      return {
        context: ctx,
        contextEntry: ctxEntry,
        contextName: ctxEntry.getEntryInfo().getName()
      };
    };
    runAsync(getContext());
    return () => {
      esContext = null;
      esContextName = '';
    };
  }, [contextId, ctx, contextEntry, runAsync]);
  return isLoading ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(commons_contexts__WEBPACK_IMPORTED_MODULE_5__.ESContextContext.Provider, {
    value: _objectSpread(_objectSpread({}, data), {}, {
      error
    })
  }, children);
};
ESContextProvider.propTypes = {
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  context: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
  contextEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_7__.entryPropType,
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};

/**
 * Hook for ES Context
 *
 * @returns {object}
 */
function useESContext() {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(commons_contexts__WEBPACK_IMPORTED_MODULE_5__.ESContextContext);
  if (context === undefined) {
    throw new Error('useESContext must be used within a ContextProvider');
  }
  return context;
}

/**
 * Use this method in callbacks when useESContext cannot be used.
 *
 * @returns {object}
 */
function getESContext() {
  return esContext;
}
const getESContextAndName = () => {
  return {
    context: esContext,
    contextName: esContextName
  };
};

/**
 * Wraps a component with EsContextProvider
 *
 * @param {React.ReactElement} Component
 * @returns {React.ReactElement}
 */
const withEsContextProvider = Component => {
  return props => {
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ESContextProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Component, props));
  };
};


/***/ },

/***/ "./modules/commons/contexts/MaintenanceContext.js"
/*!********************************************************!*\
  !*** ./modules/commons/contexts/MaintenanceContext.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MaintenanceProvider: () => (/* binding */ MaintenanceProvider),
/* harmony export */   useMaintenanceContext: () => (/* binding */ useMaintenanceContext)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_maintenance_maintenanceConfigLoader__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/maintenance/maintenanceConfigLoader */ "./modules/commons/maintenance/maintenanceConfigLoader.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








const MaintenanceContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_4__.createContext)();
const MaintenanceProvider = _ref => {
  let {
    children
  } = _ref;
  const [maintenanceState, setMaintenanceState] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({
    ongoing: config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.maintenance.ongoing'),
    planned: config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.maintenance.planned')
  });
  const reloadMaintenanceConfig = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(async () => {
    const configURLs = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.maintenance.configURLs', []);
    if (!Array.isArray(configURLs) || configURLs.length === 0) {
      return; // Local config already set as init state
    }
    const remoteConfig = await (0,commons_maintenance_maintenanceConfigLoader__WEBPACK_IMPORTED_MODULE_7__.loadMaintenanceConfigs)(configURLs);
    const localOngoing = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.maintenance.ongoing');
    const localPlanned = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.maintenance.planned');
    const localConfig = _objectSpread(_objectSpread({}, localOngoing ? {
      ongoing: localOngoing
    } : {}), localPlanned ? {
      planned: localPlanned
    } : {});
    const effective = (0,commons_maintenance_maintenanceConfigLoader__WEBPACK_IMPORTED_MODULE_7__.getEffectiveConfig)(remoteConfig, localConfig);
    setMaintenanceState(prevState => {
      var _newState$ongoing, _prevState$ongoing, _newState$planned, _prevState$planned, _newState$planned2, _prevState$planned2;
      const newState = {
        ongoing: effective.ongoing,
        planned: effective.planned
      };

      // Check if state actually changed to avoid unnecessary re-renders
      if (((_newState$ongoing = newState.ongoing) === null || _newState$ongoing === void 0 ? void 0 : _newState$ongoing.enabled) !== ((_prevState$ongoing = prevState.ongoing) === null || _prevState$ongoing === void 0 ? void 0 : _prevState$ongoing.enabled) || ((_newState$planned = newState.planned) === null || _newState$planned === void 0 ? void 0 : _newState$planned.start) !== ((_prevState$planned = prevState.planned) === null || _prevState$planned === void 0 ? void 0 : _prevState$planned.start) || ((_newState$planned2 = newState.planned) === null || _newState$planned2 === void 0 ? void 0 : _newState$planned2.end) !== ((_prevState$planned2 = prevState.planned) === null || _prevState$planned2 === void 0 ? void 0 : _prevState$planned2.end)) {
        return newState;
      }
      return prevState;
    });
  }, []);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const intervalTime = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.maintenance.reloadInterval');
    const initialLoad = async () => {
      await reloadMaintenanceConfig();
    };
    initialLoad();

    // Poll every interval
    const intervalId = setInterval(reloadMaintenanceConfig, intervalTime);
    return () => clearInterval(intervalId);
  }, [reloadMaintenanceConfig]);
  return /*#__PURE__*/React.createElement(MaintenanceContext.Provider, {
    value: maintenanceState
  }, children);
};
MaintenanceProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node)
};
const useMaintenanceContext = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(MaintenanceContext);
  if (!context) {
    throw new Error('useMaintenanceContext must be used within MaintenanceProvider');
  }
  return context;
};

/***/ },

/***/ "./modules/commons/contexts/index.js"
/*!*******************************************!*\
  !*** ./modules/commons/contexts/index.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ESContextContext: () => (/* binding */ ESContextContext),
/* harmony export */   EntryContext: () => (/* binding */ EntryContext),
/* harmony export */   MainDialogContext: () => (/* binding */ MainDialogContext),
/* harmony export */   MaintenanceProvider: () => (/* reexport safe */ _MaintenanceContext__WEBPACK_IMPORTED_MODULE_1__.MaintenanceProvider),
/* harmony export */   UserDispatchContext: () => (/* binding */ UserDispatchContext),
/* harmony export */   UserStateContext: () => (/* binding */ UserStateContext),
/* harmony export */   ViewContext: () => (/* binding */ ViewContext),
/* harmony export */   useMaintenanceContext: () => (/* reexport safe */ _MaintenanceContext__WEBPACK_IMPORTED_MODULE_1__.useMaintenanceContext)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _MaintenanceContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MaintenanceContext */ "./modules/commons/contexts/MaintenanceContext.js");


/**
 * Manages the user in session. Root level context.
 * TODO add type
 */
const UserStateContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)();

/**
 * Manages the dispatch actions for the user in session. Root level context.
 */
const UserDispatchContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)();

/**
 * Manages the context (entry) of an context aware view
 */
const ESContextContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)();

/**
 * Manages the  entry of an entry aware view
 */
const EntryContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)();

/**
 * Manages the main alert dialog of the application.
 * @see commons/components/dialogs/MainDialog
 */
const MainDialogContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)();

/**
 * Manages the page title (on the app bar).
 */
const ViewContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({
  viewName: '',
  setViewName: () => {},
  refreshCount: 0,
  setRefreshCount: () => {}
});



/***/ },

/***/ "./modules/commons/defaults.js"
/*!*************************************!*\
  !*** ./modules/commons/defaults.js ***!
  \*************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_contentview__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contentview */ "./modules/commons/contentview/index.js");
/* harmony import */ var commons_App__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/App */ "./modules/commons/App.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var commons_store_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/store/index */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_script__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/script */ "./modules/commons/util/script.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_util_faro__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/faro */ "./modules/commons/util/faro.js");
/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react-dom/client */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var _util_loadFonts__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./util/loadFonts */ "./modules/commons/util/loadFonts.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





















// init functions
const init = {
  namespaces: () => {
    _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.add(config__WEBPACK_IMPORTED_MODULE_14__["default"].get('rdf.namespaces'));
    commons_registry__WEBPACK_IMPORTED_MODULE_18__["default"].set('namespaces', _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces);
  },
  configs: async siteConfig => {
    // extract the view components from site config
    // the class component reference must be removed to avoid circular
    // dependency in config
    const viewComponents = new Map();
    const {
      views
    } = siteConfig;
    views.forEach(view => {
      const {
        name,
        class: View
      } = view;
      if (!View) return;
      viewComponents.set(name, View);
      delete view.class;
    });
    commons_registry__WEBPACK_IMPORTED_MODULE_18__["default"].setViews(viewComponents);
    const applicationConfigs = (0,config__WEBPACK_IMPORTED_MODULE_14__.getApplicationConfigs)();
    const mergedApplicationConfigs = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.merge)(...applicationConfigs, {
      site: siteConfig
    });
    commons_registry__WEBPACK_IMPORTED_MODULE_18__["default"].setApplicationConfig(mergedApplicationConfigs);
    const instanceConfigs = (0,config__WEBPACK_IMPORTED_MODULE_14__.getInstanceConfigs)();
    const mergedInstanceConfigs = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.merge)(...instanceConfigs);
    commons_registry__WEBPACK_IMPORTED_MODULE_18__["default"].setInstanceConfig(mergedInstanceConfigs);
    const solutions = await (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.loadSolutions)(commons_registry__WEBPACK_IMPORTED_MODULE_18__["default"].getInstanceConfig().solutions);
    commons_registry__WEBPACK_IMPORTED_MODULE_18__["default"].setSolutions(solutions);

    // the configs should be loaded in this order
    config__WEBPACK_IMPORTED_MODULE_14__["default"].set([mergedApplicationConfigs, solutions, mergedInstanceConfigs]);
  },
  entrystore: commons_store_index__WEBPACK_IMPORTED_MODULE_10__["default"],
  entitytypes: commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__.init,
  contentviewers: commons_contentview__WEBPACK_IMPORTED_MODULE_6__["default"],
  itemstore: commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_9__["default"],
  rdfutils: commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__["default"],
  // needed?
  locale: commons_locale__WEBPACK_IMPORTED_MODULE_8__.locale,
  extraScripts() {
    (0,commons_util_script__WEBPACK_IMPORTED_MODULE_13__.loadExtras)(config__WEBPACK_IMPORTED_MODULE_14__["default"].get('entryscape.extras'));
  },
  async app() {
    await (0,_util_loadFonts__WEBPACK_IMPORTED_MODULE_19__.loadFonts)();
    const appContainer = document.getElementById(commons_util_config__WEBPACK_IMPORTED_MODULE_15__.APP_NODE_ID);
    const root = (0,react_dom_client__WEBPACK_IMPORTED_MODULE_17__.createRoot)(appContainer);
    init.extraScripts();
    root.render(/*#__PURE__*/React.createElement(commons_App__WEBPACK_IMPORTED_MODULE_7__["default"], null));
  }
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (async siteConfig => {
  await init.configs(siteConfig);
  // Frontend monitoring (Grafana Faro). No-op unless monitoring.enabled is set in config;
  // the merged config (incl. instance overrides) is ready now that init.configs has run.
  (0,commons_util_faro__WEBPACK_IMPORTED_MODULE_16__["default"])(config__WEBPACK_IMPORTED_MODULE_14__["default"].get('monitoring'));
  init.namespaces();
  init.entrystore();
  init.entitytypes();
  init.contentviewers();
  init.rdfutils();
  await init.itemstore();
  init.locale();

  // initApp
  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', init.app);
  } else {
    init.app();
  }
});

/***/ },

/***/ "./modules/commons/errors/DialogFallbackComponent/DialogFallbackComponent.js"
/*!***********************************************************************************!*\
  !*** ./modules/commons/errors/DialogFallbackComponent/DialogFallbackComponent.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _utils_errors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var _ErrorDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ErrorDialog */ "./modules/commons/errors/ErrorDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const DialogFallbackComponent = _ref => {
  let {
    error,
    resetError
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_1__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_2___default()));
  const handleClose = () => {
    resetError();
  };
  const getMessage = () => {
    return error instanceof _utils_errors__WEBPACK_IMPORTED_MODULE_3__.ErrorWithMessage ? error.message : translate('errorHeader');
  };
  return error ? /*#__PURE__*/React.createElement(_ErrorDialog__WEBPACK_IMPORTED_MODULE_4__.ErrorDialog, {
    open: true,
    onClose: handleClose,
    errorText: getMessage()
  }) : null;
};
DialogFallbackComponent.propTypes = {
  error: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Error),
  resetError: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DialogFallbackComponent);

/***/ },

/***/ "./modules/commons/errors/DialogFallbackComponent/index.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/errors/DialogFallbackComponent/index.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _DialogFallbackComponent__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _DialogFallbackComponent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DialogFallbackComponent */ "./modules/commons/errors/DialogFallbackComponent/DialogFallbackComponent.js");


/***/ },

/***/ "./modules/commons/errors/ErrorBoundary/ErrorBoundary.js"
/*!***************************************************************!*\
  !*** ./modules/commons/errors/ErrorBoundary/ErrorBoundary.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _utils_errors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/errors */ "./modules/commons/errors/utils/errors.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



class ErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
  constructor(props) {
    super(props);
    _defineProperty(this, "resetError", () => {
      const {
        onReset
      } = this.props;
      this.state = {
        error: null
      };
      if (onReset) {
        onReset();
      }
    });
    this.state = {
      error: null
    };
    if (!(props !== null && props !== void 0 && props.FallbackComponent)) {
      throw new Error('No fallback component was provided for the error boundary');
    }
  }
  componentDidCatch(error, info) {
    const {
      onError
    } = this.props;
    if (onError) {
      onError();
    }
    const errorToLog = error instanceof _utils_errors__WEBPACK_IMPORTED_MODULE_2__.ErrorWithMessage ? error.originalError : error;
    console.error('Error caught by ErrorBoundary:', errorToLog);
    console.error('Error info:', info.componentStack);
  }
  static getDerivedStateFromError(error) {
    return {
      error
    };
  }
  render() {
    const {
      error
    } = this.state;
    const {
      children
    } = this.props;
    if (!error) return children;
    return /*#__PURE__*/React.createElement(this.props.FallbackComponent, {
      resetError: this.resetError,
      error: error
    }, children);
  }
}
ErrorBoundary.propTypes = {
  error: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  FallbackComponent: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  fallbackProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({}),
  renderChildrenOnError: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ErrorBoundary);

/***/ },

/***/ "./modules/commons/errors/ErrorBoundary/index.js"
/*!*******************************************************!*\
  !*** ./modules/commons/errors/ErrorBoundary/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ErrorBoundary__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ErrorBoundary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/ErrorBoundary.js");



/***/ },

/***/ "./modules/commons/errors/ErrorCatcher/ErrorCatcher.js"
/*!*************************************************************!*\
  !*** ./modules/commons/errors/ErrorCatcher/ErrorCatcher.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorCatcher: () => (/* binding */ ErrorCatcher)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _ErrorBoundary__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ErrorBoundary */ "./modules/commons/errors/ErrorBoundary/index.js");
/* harmony import */ var _hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var _SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../SnackbarFallbackComponent */ "./modules/commons/errors/SnackbarFallbackComponent/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const ErrorThrower = _ref => {
  let {
    error
  } = _ref;
  (0,_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_2__["default"])(error);
  return null;
};
ErrorThrower.propTypes = {
  error: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Error)
};

// ErrorCatcher is used to forward an error to a child component that will
// handle the error. This can for example be useful to prevent a dialog from
// breaking and instead show an error message in a snackbar.
const ErrorCatcher = _ref2 => {
  let {
    error,
    FallbackComponent = _SnackbarFallbackComponent__WEBPACK_IMPORTED_MODULE_3__["default"]
  } = _ref2;
  if (!error) return null;
  return /*#__PURE__*/React.createElement(_ErrorBoundary__WEBPACK_IMPORTED_MODULE_1__["default"], {
    FallbackComponent: FallbackComponent
  }, /*#__PURE__*/React.createElement(ErrorThrower, {
    error: error
  }));
};
ErrorCatcher.propTypes = {
  error: prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(Error),
  FallbackComponent: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};

/***/ },

/***/ "./modules/commons/errors/ErrorCatcher/index.js"
/*!******************************************************!*\
  !*** ./modules/commons/errors/ErrorCatcher/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorCatcher: () => (/* reexport safe */ _ErrorCatcher__WEBPACK_IMPORTED_MODULE_0__.ErrorCatcher)
/* harmony export */ });
/* harmony import */ var _ErrorCatcher__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/ErrorCatcher.js");


/***/ },

/***/ "./modules/commons/errors/ErrorDialog/ErrorDialog.js"
/*!***********************************************************!*\
  !*** ./modules/commons/errors/ErrorDialog/ErrorDialog.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorDialog: () => (/* binding */ ErrorDialog)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/Accordion.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionSummary/AccordionSummary.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionDetails/AccordionDetails.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropDown.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Warning.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _ErrorDialog_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ErrorDialog.scss */ "./modules/commons/errors/ErrorDialog/ErrorDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const ContentRow = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "escoErrorDialog__row"
  }, children);
};
ContentRow.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
const ErrorAccordion = _ref2 => {
  let {
    errorDetails
  } = _ref2;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13___default()));
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    elevation: 0,
    classes: {
      root: 'escoErrorDialogAccordion'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    expandIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
      color: "secondary"
    }),
    "aria-controls": "accordion-details",
    classes: {
      root: 'escoErrorDialogAccordionSummary',
      expanded: 'escoErrorDialogAccordionSummary--expanded'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], null, t('showDetails'))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    id: "error-details",
    classes: {
      root: 'escoErrorDialogAccordionDetails'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    elevation: 0,
    classes: {
      root: 'escoErrorDialogAccordionDetails__paper'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "escoErrorDialogAccordionDetails__label"
  }, errorDetails))));
};
ErrorAccordion.propTypes = {
  errorDetails: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
const ErrorIcon = () => /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
  className: "escoErrorDialog__icon"
});
const ErrorDialog = _ref3 => {
  let {
    affirmLabel,
    closeLabel,
    errorDetails,
    errorText,
    onClose = () => {},
    open,
    errorIcon = /*#__PURE__*/React.createElement(ErrorIcon, null)
  } = _ref3;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_13___default()));
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "escoErrorDialog",
    fullWidth: true,
    maxWidth: "xs",
    open: open,
    onBackdropClick: onClose
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    dividers: true,
    classes: {
      root: 'escoErrorDialog__content'
    }
  }, /*#__PURE__*/React.createElement(ContentRow, null, errorIcon), /*#__PURE__*/React.createElement(ContentRow, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    paragraph: true
  }, errorText)), errorDetails ? /*#__PURE__*/React.createElement(ErrorAccordion, {
    errorDetails: errorDetails
  }) : null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    className: "escoErrorDialog__actions"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "text",
    onClick: onClose,
    autoFocus: !affirmLabel
  }, closeLabel || t('closeDialog')), affirmLabel ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    onClick: () => onClose(true),
    autoFocus: true
  }, affirmLabel) : null));
};
ErrorDialog.propTypes = {
  affirmLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  closeLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  errorDetails: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  errorText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  open: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  errorIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};

/***/ },

/***/ "./modules/commons/errors/ErrorDialog/index.js"
/*!*****************************************************!*\
  !*** ./modules/commons/errors/ErrorDialog/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorDialog: () => (/* reexport safe */ _ErrorDialog__WEBPACK_IMPORTED_MODULE_0__.ErrorDialog)
/* harmony export */ });
/* harmony import */ var _ErrorDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ErrorDialog */ "./modules/commons/errors/ErrorDialog/ErrorDialog.js");


/***/ },

/***/ "./modules/commons/errors/ErrorFallbackComponent/ErrorFallbackComponent.js"
/*!*********************************************************************************!*\
  !*** ./modules/commons/errors/ErrorFallbackComponent/ErrorFallbackComponent.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_view_Error__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/view/Error */ "./modules/commons/view/Error/index.js");
/* harmony import */ var _utils_async__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/async */ "./modules/commons/errors/utils/async.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const ErrorFallbackComponent = _ref => {
  var _error$message;
  let {
    error,
    children
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3___default()));
  const status = error === null || error === void 0 ? void 0 : error.status;
  const errorMessage =  false ? 0 : '';
  const isMissingEntryError = error === null || error === void 0 || (_error$message = error.message) === null || _error$message === void 0 ? void 0 : _error$message.includes('Failed fetching entry');
  const errorHeader = isMissingEntryError ? translate('entityNotFoundError') : translate('errorHeader');
  if (status === _utils_async__WEBPACK_IMPORTED_MODULE_5__.UNAUTHORIZED) return children;
  return /*#__PURE__*/React.createElement(commons_view_Error__WEBPACK_IMPORTED_MODULE_4__["default"], {
    header: errorHeader,
    body: errorMessage
  });
};
ErrorFallbackComponent.propTypes = {
  error: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    message: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    status: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number)
  }),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ErrorFallbackComponent);

/***/ },

/***/ "./modules/commons/errors/ErrorFallbackComponent/index.js"
/*!****************************************************************!*\
  !*** ./modules/commons/errors/ErrorFallbackComponent/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ErrorFallbackComponent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ErrorFallbackComponent */ "./modules/commons/errors/ErrorFallbackComponent/ErrorFallbackComponent.js");


/***/ },

/***/ "./modules/commons/errors/ErrorHandler/ErrorHandler.js"
/*!*************************************************************!*\
  !*** ./modules/commons/errors/ErrorHandler/ErrorHandler.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_errors_ErrorDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/errors/ErrorDialog */ "./modules/commons/errors/ErrorDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/user/actions */ "./modules/commons/hooks/user/actions.js");
/* harmony import */ var _utils_async__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var _hooks_useEntrystoreError__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/useEntrystoreError */ "./modules/commons/errors/hooks/useEntrystoreError.js");
/* harmony import */ var _utils_log__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/log */ "./modules/commons/errors/utils/log.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const ERROR_STATUS_KEYS = {
  [_utils_async__WEBPACK_IMPORTED_MODULE_7__.UNAUTHORIZED]: 'unauthorizedError'
};
const useStatusText = (status, countdown) => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3___default()));
  if (status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.INPROGRESS) return translate('loading');
  if (status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.LOST_CONNECTION) return translate('connectionLost', {
    countdown
  });
  if (status in ERROR_STATUS_KEYS) return translate(ERROR_STATUS_KEYS[status]);
  if (status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.CONFLICT_PROBLEM) return translate('conflictProblem');
  return translate('genericProblem');
};
const useDetailsText = error => {
  if (!error) return null;
  return error.name ? `${error.name}: ${error.message}` : error.message;
};
const ErrorHandler = () => {
  const {
    error,
    status,
    countdown,
    clear
  } = (0,_hooks_useEntrystoreError__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_3___default()));
  const statusText = useStatusText(status, countdown);
  const detailsText = useDetailsText(error);
  const userDispatch = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_4__.useUserDispatch)();
  // generic errors are excluded and should be handled on component level
  const ignoreError = status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.NO_PROBLEM || status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.GENERIC_PROBLEM;
  const closeHandler = proceed => {
    if (status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.UNAUTHORIZED && proceed === true) {
      (0,commons_util_user__WEBPACK_IMPORTED_MODULE_5__.logout)().then(_ref => {
        let {
          userEntry,
          userInfo
        } = _ref;
        userDispatch({
          type: commons_hooks_user_actions__WEBPACK_IMPORTED_MODULE_6__.AUTH_LOGOUT_SUCCESS,
          data: {
            userEntry,
            userInfo
          }
        });
      });
    }
    clear();
  };
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    if (error) {
      (0,_utils_log__WEBPACK_IMPORTED_MODULE_9__.logError)(error);
      if (ignoreError) {
        // clear error state for generic errors
        clear();
      }
    }
  }, [error, clear, ignoreError]);
  if (ignoreError || status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.INPROGRESS) return null;
  return /*#__PURE__*/React.createElement(commons_errors_ErrorDialog__WEBPACK_IMPORTED_MODULE_1__.ErrorDialog, {
    errorText: statusText,
    errorDetails: detailsText,
    closeLabel: translate(status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.UNAUTHORIZED ? 'cancelLabel' : 'closeDialog'),
    affirmLabel: status === _utils_async__WEBPACK_IMPORTED_MODULE_7__.UNAUTHORIZED ? translate('proceedToLoginLabel') : null,
    onClose: closeHandler,
    open: !ignoreError
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ErrorHandler);

/***/ },

/***/ "./modules/commons/errors/ErrorHandler/index.js"
/*!******************************************************!*\
  !*** ./modules/commons/errors/ErrorHandler/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ErrorHandler__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ErrorHandler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ErrorHandler */ "./modules/commons/errors/ErrorHandler/ErrorHandler.js");


/***/ },

/***/ "./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.js"
/*!***********************************************************************!*\
  !*** ./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WarningAmber.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _MaintenanceDialog_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./MaintenanceDialog.scss */ "./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["plannedMaintenance", "onClose"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const MaintenanceDialog = _ref => {
  let {
      plannedMaintenance,
      onClose
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_10__.i18n.getLocale();
  const {
    start,
    end,
    message
  } = plannedMaintenance;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({
    open: true,
    onClose: onClose,
    fullWidth: true,
    maxWidth: "sm"
  }, rest), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "escoMaintenanceDialogTitle"
  }, translate('maintenanceDialogTitle'), /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    className: "escoMaintenanceDialogTitle__icon",
    color: "warning",
    fontSize: "inherit"
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    dividers: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    gutterBottom: true
  }, message[locale]), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null, /*#__PURE__*/React.createElement("strong", null, translate('maintenanceDialogStart'), ":"), " ", start), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null, /*#__PURE__*/React.createElement("strong", null, translate('maintenanceDialogEnd'), ":"), " ", end))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    onClick: onClose,
    variant: "text"
  }, translate('maintenanceDialogClose'))));
};
MaintenanceDialog.propTypes = {
  plannedMaintenance: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
    start: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    end: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
    message: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)
  }).isRequired,
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MaintenanceDialog);

/***/ },

/***/ "./modules/commons/errors/MaintenanceDialog/index.js"
/*!***********************************************************!*\
  !*** ./modules/commons/errors/MaintenanceDialog/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _MaintenanceDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _MaintenanceDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MaintenanceDialog */ "./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.js");


/***/ },

/***/ "./modules/commons/errors/PlannedMaintenance/PlannedMaintenance.js"
/*!*************************************************************************!*\
  !*** ./modules/commons/errors/PlannedMaintenance/PlannedMaintenance.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WarningAmber.js");
/* harmony import */ var commons_errors_MaintenanceDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/errors/MaintenanceDialog */ "./modules/commons/errors/MaintenanceDialog/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/contexts/MaintenanceContext */ "./modules/commons/contexts/MaintenanceContext.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const PlannedMaintenance = () => {
  var _location$state;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const {
    planned: plannedMaintenance
  } = (0,commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_10__.useMaintenanceContext)();
  const location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_3__.useLocation)();
  const fromSignin = ((_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.from) === config__WEBPACK_IMPORTED_MODULE_7__["default"].get('site.signinView');
  const [dialogOpen, setDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(fromSignin);
  if (!plannedMaintenance) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "contained",
    color: "warning",
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null),
    style: {
      marginRight: '24px'
    },
    onClick: () => setDialogOpen(true)
  }, translate('maintenanceButton')), dialogOpen ? /*#__PURE__*/React.createElement(commons_errors_MaintenanceDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    plannedMaintenance: plannedMaintenance,
    onClose: () => setDialogOpen(false)
  }) : null);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PlannedMaintenance);

/***/ },

/***/ "./modules/commons/errors/PlannedMaintenance/index.js"
/*!************************************************************!*\
  !*** ./modules/commons/errors/PlannedMaintenance/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PlannedMaintenance__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PlannedMaintenance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PlannedMaintenance */ "./modules/commons/errors/PlannedMaintenance/PlannedMaintenance.js");


/***/ },

/***/ "./modules/commons/errors/SnackbarFallbackComponent/SnackbarFallBackComponent.js"
/*!***************************************************************************************!*\
  !*** ./modules/commons/errors/SnackbarFallbackComponent/SnackbarFallBackComponent.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _utils_errors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/errors */ "./modules/commons/errors/utils/errors.js");








const SnackbarFallbackComponent = _ref => {
  let {
    error
  } = _ref;
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_4__.useSnackbar)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!error) return;
    const message = error instanceof _utils_errors__WEBPACK_IMPORTED_MODULE_7__.ErrorWithMessage ? error.message : translate('errorHeader');
    addSnackbar({
      message,
      type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_4__.ERROR
    });
  }, [addSnackbar, error, translate]);
  return null;
};
SnackbarFallbackComponent.propTypes = {
  error: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(Error)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SnackbarFallbackComponent);

/***/ },

/***/ "./modules/commons/errors/SnackbarFallbackComponent/index.js"
/*!*******************************************************************!*\
  !*** ./modules/commons/errors/SnackbarFallbackComponent/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SnackbarFallBackComponent__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SnackbarFallBackComponent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SnackbarFallBackComponent */ "./modules/commons/errors/SnackbarFallbackComponent/SnackbarFallBackComponent.js");


/***/ },

/***/ "./modules/commons/errors/hooks/useAddIgnore.js"
/*!******************************************************!*\
  !*** ./modules/commons/errors/hooks/useAddIgnore.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");


const useAddIgnore = (callType, status, forNextRequest) => {
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_1__.addIgnore)(callType, status, forNextRequest);
    return () => (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_1__.removeIgnore)(callType);
  }, [callType, status, forNextRequest]);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useAddIgnore);

/***/ },

/***/ "./modules/commons/errors/hooks/useConflictError.js"
/*!**********************************************************!*\
  !*** ./modules/commons/errors/hooks/useConflictError.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_4__);





const useConflictError = _ref => {
  let {
    entry,
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_2__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_1__["default"])();
  const handleConflictError = async error => {
    var _error$response;
    if (((_error$response = error.response) === null || _error$response === void 0 ? void 0 : _error$response.status) !== 412) return;
    const confirmConflict = async () => {
      const proceed = await getConfirmationDialog({
        rejectLabel: translate('metadataConflictCancel'),
        affirmLabel: translate('metadataConflictLoadChanges'),
        content: translate('metadataConflictMessage')
      });
      if (proceed) {
        await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.refreshEntry)(entry);
        closeDialog();
      }
    };
    confirmConflict();
  };
  return {
    handleConflictError
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useConflictError);

/***/ },

/***/ "./modules/commons/errors/hooks/useEntrystoreError.js"
/*!************************************************************!*\
  !*** ./modules/commons/errors/hooks/useEntrystoreError.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_IntervalRunner__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/IntervalRunner */ "./modules/commons/util/IntervalRunner.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _utils_async__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var _utils_checkConnection__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/checkConnection */ "./modules/commons/errors/utils/checkConnection.js");



function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








// Case Generic problem: Something went wrong... send error report / continue anyway / ok,
//  proceed anyway.
// Case signed out: Sign in again - > close dialog and open sign in dialog
// Case lost connection: No contact with server, retry

const PROGRESS_DELAY = 2000;
const checkProgress = promiseItems => {
  const currentTime = new Date().getTime();
  const item = promiseItems.find(promiseItem => currentTime - promiseItem.time > PROGRESS_DELAY);
  return Boolean(item);
};
const getPromiseItem = (promise, promiseItems) => promiseItems.find(item => item.promise === promise);
const check = (promise, callType, dispatch) => {
  if ((0,_utils_async__WEBPACK_IMPORTED_MODULE_8__.checkIgnoreTrue)(callType)) {
    return;
  }
  const promiseItem = {
    promise,
    callType,
    time: new Date().getTime()
  };
  dispatch({
    type: 'add',
    promiseItem
  });
  promise.then(value => dispatch({
    type: 'resolved',
    promise,
    value
  }), value => dispatch({
    type: 'rejected',
    promise,
    value
  }));
};
const getErrorMessage = promiseItem => {
  var _promiseItem$err, _promiseItem$err2;
  if ((promiseItem === null || promiseItem === void 0 || (_promiseItem$err = promiseItem.err) === null || _promiseItem$err === void 0 || (_promiseItem$err = _promiseItem$err.response) === null || _promiseItem$err === void 0 ? void 0 : _promiseItem$err.status) === 412) {
    // In case of conflict problems the status text is enough.
    return null;
  }
  const errorMessage = typeof ((_promiseItem$err2 = promiseItem.err) === null || _promiseItem$err2 === void 0 ? void 0 : _promiseItem$err2.message) === 'string' ? promiseItem.err.message : promiseItem.err;
  return errorMessage;
};
const initialErrorState = {
  promiseItems: [],
  status: _utils_async__WEBPACK_IMPORTED_MODULE_8__.NO_PROBLEM
};
const errorReducer = (state, action) => {
  switch (action.type) {
    case 'add':
      {
        const {
          promiseItem
        } = action;
        return _objectSpread(_objectSpread({}, state), {}, {
          promiseItems: [...state.promiseItems, promiseItem]
        });
      }
    case 'resolved':
      {
        const promiseItem = getPromiseItem(action.promise, state.promiseItems);
        if (!promiseItem) {
          return state;
        }
        const promiseItems = state.promiseItems.filter(item => item.promise !== action.promise);

        // Only needed to remove from ignoreNext when callType and status is a match
        (0,_utils_async__WEBPACK_IMPORTED_MODULE_8__.checkIgnore)(promiseItem);
        return _objectSpread(_objectSpread({}, state), {}, {
          promiseItems
        });
      }
    case 'rejected':
      {
        const promiseItem = getPromiseItem(action.promise, state.promiseItems);
        if (!promiseItem) {
          return state;
        }
        promiseItem.err = action.value;
        const newPromiseItems = state.promiseItems.filter(item => item.promise !== action.promise);
        if ((0,_utils_async__WEBPACK_IMPORTED_MODULE_8__.checkIgnore)(promiseItem)) {
          return _objectSpread(_objectSpread({}, state), {}, {
            promiseItems: newPromiseItems
          });
        }
        const status = (0,_utils_async__WEBPACK_IMPORTED_MODULE_8__.extractProblem)(promiseItem.err);
        if (status <= state.status) return state;
        return _objectSpread(_objectSpread({}, state), {}, {
          promiseItems: newPromiseItems,
          status,
          errorMessage: getErrorMessage(promiseItem),
          errorCallType: promiseItem.callType
        });
      }
    // one or more promises has exceeded progress delay limit
    case 'pending':
      {
        if (state.status > _utils_async__WEBPACK_IMPORTED_MODULE_8__.INPROGRESS) return state;
        if (state.status === _utils_async__WEBPACK_IMPORTED_MODULE_8__.INPROGRESS && action.isPending) return state;
        return _objectSpread(_objectSpread({}, state), {}, {
          status: action.isPending ? _utils_async__WEBPACK_IMPORTED_MODULE_8__.INPROGRESS : _utils_async__WEBPACK_IMPORTED_MODULE_8__.NO_PROBLEM
        });
      }
    case 'clear':
      {
        return initialErrorState;
      }
    default:
      throw new Error('Unknown action for errorReducer');
  }
};
const ERROR_MESSAGE_KEYS = ['conflictProblem'];
const useError = (errorMessage, errorCallType, status) => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  if (!errorMessage) return null;
  const translatedErrorMessage = ERROR_MESSAGE_KEYS.includes(errorMessage) ? t(errorMessage) : errorMessage;
  const error = new Error(translatedErrorMessage);
  error.name = errorCallType;
  error.status = status;
  return error;
};
const useEntrystoreError = () => {
  const [errorState, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useReducer)(errorReducer, initialErrorState);
  const [countdown, setCountdown] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(0);
  const [intervalRunner] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(new commons_util_IntervalRunner__WEBPACK_IMPORTED_MODULE_6__["default"]([], PROGRESS_DELAY, items => {
    dispatch({
      type: 'pending',
      isPending: checkProgress(items)
    });
  }));
  const {
    status,
    errorMessage,
    errorCallType,
    promiseItems
  } = errorState;
  const error = useError(errorMessage, errorCallType, status);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const entrystoreListener = (promise, callType) => {
      check(promise, callType, dispatch);
    };
    commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.addAsyncListener(entrystoreListener);
    return () => {
      commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.removeAsyncListener(entrystoreListener);
    };
  }, [dispatch]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (status === _utils_async__WEBPACK_IMPORTED_MODULE_8__.LOST_CONNECTION) {
      (0,_utils_checkConnection__WEBPACK_IMPORTED_MODULE_9__.check)(setCountdown, () => {});
    }
    return _utils_checkConnection__WEBPACK_IMPORTED_MODULE_9__.stop;
  }, [status, dispatch]);

  /**
   * Checks if there's a current promise exceeding progress delay limit.
   * A check is executed with progress delay as interval.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    intervalRunner.setItems(promiseItems);
    return () => {
      intervalRunner.stop();
    };
  }, [intervalRunner, promiseItems]);
  const clear = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    dispatch({
      type: 'clear'
    });
    (0,_utils_checkConnection__WEBPACK_IMPORTED_MODULE_9__.stop)();
  }, []);
  return {
    countdown,
    error,
    status,
    clear
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEntrystoreError);

/***/ },

/***/ "./modules/commons/errors/hooks/useErrorHandler.js"
/*!*********************************************************!*\
  !*** ./modules/commons/errors/hooks/useErrorHandler.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);



function useErrorHandler(errorToHandle) {
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  if (errorToHandle) throw errorToHandle;
  if (error) throw error;
  return setError;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useErrorHandler);

/***/ },

/***/ "./modules/commons/errors/utils/async.js"
/*!***********************************************!*\
  !*** ./modules/commons/errors/utils/async.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CONFLICT_PROBLEM: () => (/* binding */ CONFLICT_PROBLEM),
/* harmony export */   GENERIC_PROBLEM: () => (/* binding */ GENERIC_PROBLEM),
/* harmony export */   INPROGRESS: () => (/* binding */ INPROGRESS),
/* harmony export */   LOST_CONNECTION: () => (/* binding */ LOST_CONNECTION),
/* harmony export */   NO_PROBLEM: () => (/* binding */ NO_PROBLEM),
/* harmony export */   SIGNED_OUT: () => (/* binding */ SIGNED_OUT),
/* harmony export */   UNAUTHORIZED: () => (/* binding */ UNAUTHORIZED),
/* harmony export */   addIgnore: () => (/* binding */ addIgnore),
/* harmony export */   checkIgnore: () => (/* binding */ checkIgnore),
/* harmony export */   checkIgnoreTrue: () => (/* binding */ checkIgnoreTrue),
/* harmony export */   extractProblem: () => (/* binding */ extractProblem),
/* harmony export */   removeIgnore: () => (/* binding */ removeIgnore)
/* harmony export */ });
const NO_PROBLEM = -1;
const INPROGRESS = 0;
const GENERIC_PROBLEM = 1;
const UNAUTHORIZED = 2;
const SIGNED_OUT = 3;
const LOST_CONNECTION = 4;
const CONFLICT_PROBLEM = 5;
const _ignoreNext = {};
const _ignore = {};
const extractProblem = err => {
  if (typeof err === 'object' && err.response && typeof err.response.status === 'number') {
    const {
      status
    } = err.response;
    const major = Math.floor(status / 100);
    switch (major) {
      case 0:
        return LOST_CONNECTION;
      case 1:
      case 3:
        return GENERIC_PROBLEM;
      case 4:
        if (status === 412) return CONFLICT_PROBLEM;
        // 403 is a specific error when a user is disabled
        // and the correct username/password combination was submitted
        return status === 401 || status === 403 ? UNAUTHORIZED : GENERIC_PROBLEM;
      default:
    }
  }
  return GENERIC_PROBLEM;
};

/**
 *
 * @param {string} callType
 * @param {number|boolean} status
 * @param {boolean} forNextRequest
 * @returns {undefined}
 */
const addIgnore = (callType, status, forNextRequest) => {
  const ignoreObj = forNextRequest === true ? _ignoreNext : _ignore;
  if (typeof status === 'number') {
    ignoreObj[callType] = status;
  } else {
    ignoreObj[callType] = true;
  }
};
const removeIgnore = callType => {
  delete _ignoreNext[callType];
  delete _ignore[callType];
};
const checkIgnoreTrue = callType => {
  if (_ignoreNext[callType] === true) {
    delete _ignoreNext[callType];
    return true;
  }
  return _ignore[callType] === true;
};
const checkIgnore = obj => {
  const ct = obj.callType;
  let status = -1;
  if (obj.err) {
    status = extractProblem(obj.err);
  }
  const ignoreNextStatus = _ignoreNext[ct];
  if (typeof ignoreNextStatus !== 'undefined') {
    delete _ignoreNext[ct];
    return ignoreNextStatus === true ? true : ignoreNextStatus === status;
  }
  const ignoreStatus = _ignore[ct];
  if (typeof ignoreStatus !== 'undefined') {
    return ignoreStatus === true ? true : ignoreStatus === status;
  }
  return false;
};

/***/ },

/***/ "./modules/commons/errors/utils/checkConnection.js"
/*!*********************************************************!*\
  !*** ./modules/commons/errors/utils/checkConnection.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   check: () => (/* binding */ check),
/* harmony export */   stop: () => (/* binding */ stop)
/* harmony export */ });
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");

const checkCountIntervalls = [2, 5, 10, 30, 60, 120, 300, 600];
let checkCountIdx = -1;
let checkCountdownTimeout = null;
const stop = () => {
  checkCountIdx = -1;
  clearTimeout(checkCountdownTimeout);
};
const check = (countdownCallback, onlineCallback) => {
  if (checkCountIdx >= 0) {
    return;
  }
  checkCountIdx = 0;
  clearTimeout(checkCountdownTimeout);
  let checkConnection;
  const countdown = seconds => {
    checkCountdownTimeout = setInterval(() => {
      const seconds_ = seconds - 1;
      if (seconds_ === 0) {
        clearTimeout(checkCountdownTimeout);
        checkConnection();
      } else {
        countdownCallback(seconds_);
      }
    }, 1000);
    countdownCallback(seconds);
  };
  const continueCountdown = () => {
    countdown(checkCountIntervalls[checkCountIdx]);
    if (checkCountIdx < checkCountIntervalls.length - 1) {
      checkCountIdx += 1;
    }
  };
  checkConnection = () => {
    commons_store__WEBPACK_IMPORTED_MODULE_0__.entrystore.getREST().get(`${commons_store__WEBPACK_IMPORTED_MODULE_0__.entrystore.getBaseURI()}management/status`, 'text/plain').then(res => {
      if (res === 'UP') {
        stop();
        onlineCallback();
      } else if (typeof res === 'object' && res.repositoryStatus === 'online') {
        continueCountdown();
      }
    }, continueCountdown);
  };
  checkConnection();
};

/***/ },

/***/ "./modules/commons/errors/utils/errors.js"
/*!************************************************!*\
  !*** ./modules/commons/errors/utils/errors.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ErrorWithMessage: () => (/* binding */ ErrorWithMessage)
/* harmony export */ });
class ErrorWithMessage extends Error {
  constructor(message, originalError) {
    super(message);
    this.name = 'ErrorWithMessage';
    this.originalError = originalError;
  }
}

/***/ },

/***/ "./modules/commons/errors/utils/log.js"
/*!*********************************************!*\
  !*** ./modules/commons/errors/utils/log.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   logError: () => (/* binding */ logError)
/* harmony export */ });
const logError = error => {
  // eslint-disable-next-line no-undef
  if (false) // removed by dead control flow
{} else {
    const message = error !== null && error !== void 0 && error.name ? `An error occured: ${error.name}` : 'An unknown error occured.';
    console.error(message);
  }
};

/***/ },

/***/ "./modules/commons/hooks/context/useContextStatus.js"
/*!***********************************************************!*\
  !*** ./modules/commons/hooks/context/useContextStatus.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");





/**
 * Manage the status (public/not public) of a context
 * @param {Entry} entry
 * @returns {[boolean, function]}
 */
const useContextStatus = entry => {
  const [isPublic, setPublic] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const [canAdminister, setCanAdminister] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    (0,commons_util_context__WEBPACK_IMPORTED_MODULE_3__.loadContextEntry)(entry).then(contextEntry => {
      setPublic(contextEntry.isPublic());
      setCanAdminister(contextEntry.canAdministerEntry());
    });
  }, [entry]);
  const togglePublic = () => {
    const isChecked = !isPublic;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_3__.loadContextEntry)(entry).then(contextEntry => (0,commons_util_context__WEBPACK_IMPORTED_MODULE_3__.setContextPublic)(contextEntry, isChecked)).then(() => setPublic(isChecked));
  };
  return [isPublic, togglePublic, canAdminister];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useContextStatus);

/***/ },

/***/ "./modules/commons/hooks/references/useCheckReferences.js"
/*!****************************************************************!*\
  !*** ./modules/commons/hooks/references/useCheckReferences.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   buildReferenceItems: () => (/* binding */ buildReferenceItems),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   hasUnresolvableReferences: () => (/* binding */ hasUnresolvableReferences)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var commons_components_ReferenceList__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ReferenceList */ "./modules/commons/components/ReferenceList.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! catalog/nls/escaReferences.nls */ "./modules/catalog/nls/escaReferences.nls");
/* harmony import */ var catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_util_overview__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/overview */ "./modules/commons/util/overview.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var _useGetMainDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var _useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _useGetReferences__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./useGetReferences */ "./modules/commons/hooks/references/useGetReferences.js");
/* harmony import */ var _useAsync__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
















/**
 * True when any reference points to an entry the current user cannot edit
 * (e.g. it lives in a context they lack write access to).
 *
 * @param {Entry[]} references
 * @returns {boolean}
 */
const hasUnresolvableReferences = references => references.some(reference => !reference.canWriteMetadata());

/**
 * Builds the list items rendered in the reference dialog, resolving an overview
 * href for each reference whose entity type is known.
 *
 * @param {string[]} labels
 * @param {Entry[]} references
 * @param {string[]} entityTypes
 * @returns {Promise<{ label: string, href?: string }[]>}
 */
const buildReferenceItems = (labels, references, entityTypes) => Promise.all(labels.map(async (label, index) => {
  const entityType = entityTypes[index];
  if (!entityType) return {
    label
  };
  const referenceEntry = references[index];
  const overview = (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_9__.getOverviewName)(entityType, referenceEntry.getContext());
  const href = await (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_9__.getTo)(entityType, overview, referenceEntry);
  return {
    label,
    href
  };
}));
const useCheckReferences = _ref => {
  let {
    entry,
    nlsBundles = [],
    callback,
    checkCanRemove,
    ignoreCallback = () => false,
    skipCheck = false,
    onForceRemove
  } = _ref;
  const bundles = [(catalog_nls_escaReferences_nls__WEBPACK_IMPORTED_MODULE_7___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_8___default()), ...nlsBundles];
  const translate = (0,_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)(bundles);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__.useUserState)();
  const {
    references,
    labels,
    status,
    entityTypes
  } = (0,_useGetReferences__WEBPACK_IMPORTED_MODULE_13__["default"])(entry, translate, ignoreCallback, skipCheck);
  const {
    getAcknowledgeDialog,
    getConfirmationDialog
  } = (0,_useGetMainDialog__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const canSkip = skipCheck || (checkCanRemove === null || checkCanRemove === void 0 ? void 0 : checkCanRemove(references, status));
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (canSkip) return;
    if (!labels.length) return;
    const buildReferenceDialog = async () => {
      const items = await buildReferenceItems(labels, references, entityTypes);
      const renderContent = body => /*#__PURE__*/React.createElement(React.Fragment, null, userInfo.hasAdminRights ? null : /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_6__["default"], {
        severity: "warning"
      }, translate('incompleteReferenceSearchWarning')), body);
      if (onForceRemove && hasUnresolvableReferences(references)) {
        const content = renderContent(/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("p", null, translate('removeAnywayMessage')), /*#__PURE__*/React.createElement(commons_components_ReferenceList__WEBPACK_IMPORTED_MODULE_5__["default"], {
          references: items
        })));
        const confirmed = await getConfirmationDialog({
          content,
          affirmLabel: translate('removeAnyway')
        });
        if (confirmed) {
          onForceRemove();
        } else {
          callback === null || callback === void 0 || callback();
        }
        return;
      }
      const content = renderContent((0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_4__.parseTemplate)(translate('unableToRemove'), {
        1: /*#__PURE__*/React.createElement(commons_components_ReferenceList__WEBPACK_IMPORTED_MODULE_5__["default"], {
          references: items
        })
      }));
      await getAcknowledgeDialog({
        content
      });
      callback === null || callback === void 0 || callback();
    };
    buildReferenceDialog().catch(console.error);
  }, [callback, checkCanRemove, getAcknowledgeDialog, getConfirmationDialog, labels, references, entityTypes, status, translate, canSkip, onForceRemove, userInfo.hasAdminRights]);
  if (canSkip) return {
    references: [],
    labels: [],
    checkReferencesStatus: _useAsync__WEBPACK_IMPORTED_MODULE_14__.RESOLVED
  };
  return {
    references,
    labels,
    checkReferencesStatus: status
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCheckReferences);

/***/ },

/***/ "./modules/commons/hooks/references/useGetReferences.js"
/*!**************************************************************!*\
  !*** ./modules/commons/hooks/references/useGetReferences.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getLabels: () => (/* binding */ getLabels),
/* harmony export */   getReferences: () => (/* binding */ getReferences)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var _useAsync__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const getEntryType = rdfType => {
  const types = ['Dataset', 'DatasetSeries', 'Catalog', 'Distribution', 'DataService', 'Suggestion'];
  return types.find(type => rdfType.endsWith(type));
};
const getNlsKey = entryType => {
  if (entryType) {
    return `${entryType.toLowerCase()}AsRemoveItem`;
  }
  return 'otherAsRemoveItem';
};
const getDatasetWithReference = async entry => commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.newSolrQuery().uriProperty('dcat:distribution', entry.getResourceURI()).getEntries();
const getLabelsForDistribution = async (reference, t) => {
  const [datasetEntry] = await getDatasetWithReference(reference);
  const distributionLabel = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getLabel)(reference);
  const format = (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.getResourceURI)(reference, 'dcterms:format');
  const href = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_10__.getPathFromViewName)(catalog_config_config__WEBPACK_IMPORTED_MODULE_9__.DATASET_OVERVIEW_NAME, {
    contextId: datasetEntry.getContext().getId(),
    entryId: datasetEntry.getId()
  });
  const datasetLabel = /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_12__.Link, {
    to: href,
    target: "_blank",
    rel: "noopener noreferrer"
  }, (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getLabel)(datasetEntry));
  const properties = {
    format,
    distributionLabel,
    datasetLabel
  };
  if (!distributionLabel && format) {
    return (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_13__.parseTemplate)(t('distributionWithoutLabel'), properties);
  }
  if (distributionLabel) {
    return (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_13__.parseTemplate)(t('distributionWithLabel'), properties);
  }
  return (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_13__.parseTemplate)(t('distributionWithoutLabelOrFormat'), {
    datasetLabel
  });
};
const getLabels = async (referenceEntries, t) => {
  const labels = await Promise.all(referenceEntries.map(async reference => {
    const type = reference.getMetadata().findFirstValue(reference.getResourceURI(), 'rdf:type');
    const entryType = getEntryType(type);
    if (entryType === 'Distribution') {
      const labelForDistribution = await getLabelsForDistribution(reference, t);
      return labelForDistribution;
    }
    const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getLabel)(reference) || t('entryWithId', `'${reference.getId()}'`);
    return t(getNlsKey(entryType), label);
  }));
  return labels;
};

/**
 *
 * @param {Entry} entry
 * @param {Function} ignoreCallback
 * @returns {Promise<Entry[]>}
 */
const getReferences = async function getReferences(entry) {
  let ignoreCallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : () => false;
  const references = await commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.newSolrQuery().objectUri([entry.getResourceURI(), entry.getURI()]).getEntries();
  return references.filter(reference => !ignoreCallback(reference));
};

/**
 *
 * @param {Entry} entry
 * @returns {Promise<object>}
 */
const getPrimaryEntityType = entry => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].options(entry).then(_ref => {
  let {
    primary
  } = _ref;
  return primary;
});

/**
 *
 * @param {Entry} entry
 * @param {Function} translate
 * @param {Function} ignoreCallback
 * @returns {Promise<object>}
 */
const getReferencesAndLabels = async function getReferencesAndLabels(entry, translate) {
  let ignoreCallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : () => false;
  const referenceEntries = await getReferences(entry, ignoreCallback);
  const labels = await getLabels(referenceEntries, translate);
  const entityTypes = await Promise.all(referenceEntries.map(getPrimaryEntityType));
  return {
    references: referenceEntries,
    labels,
    entityTypes
  };
};
const useGetReferences = function useGetReferences(entry, translate) {
  let ignoreCallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : () => false;
  let skip = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  const {
    data: {
      references,
      labels,
      entityTypes
    },
    runAsync,
    status
  } = (0,_useAsync__WEBPACK_IMPORTED_MODULE_14__["default"])({
    data: {
      references: [],
      labels: []
    }
  });
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (skip) return;
    if (status !== 'idle') return;
    runAsync(getReferencesAndLabels(entry, translate, ignoreCallback));
  }, [entry, runAsync, status, translate, ignoreCallback, skip]);
  return {
    references,
    labels,
    entityTypes,
    status
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetReferences);

/***/ },

/***/ "./modules/commons/hooks/useAssignDraft.js"
/*!*************************************************!*\
  !*** ./modules/commons/hooks/useAssignDraft.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");















const {
  CODES: {
    TOO_FEW_VALUES_MIN,
    AT_LEAST_ONE_CHILD
  }
} = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_14__.engine;

/**
 * @param {Array<string>} properties
 * @param {object} error
 * @returns {boolean}
 */
const isTitleError = (properties, error) => {
  const property = error.item.getSource().property;
  return properties.includes(property);
};

/**
 * @param {Array<string>} properties
 * @param {Array<object>} errors
 * @param {boolean} hasLabel
 * @returns {boolean}
 */
const hasDraftAllowedErrors = (properties, errors, hasLabel) => {
  // when using validation errors from validate.bindingReport
  if (typeof errors[0] === 'object' && errors[0].code) {
    return errors.every(error => [TOO_FEW_VALUES_MIN, AT_LEAST_ONE_CHILD].includes(error.code) && (hasLabel || !isTitleError(properties, error)));
  }
  return false;
};
const useAssignDraft = function useAssignDraft() {
  let isPrototype = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_8___default())]);
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const saveAsDraft = (0,react__WEBPACK_IMPORTED_MODULE_11__.useRef)(false);
  const shortProperties = config__WEBPACK_IMPORTED_MODULE_12__["default"].get('rdf.labelProperties').flat();
  const properties = [...shortProperties, ...shortProperties.map(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_13__.namespaces.expand)];
  const checkCanDraft = (0,react__WEBPACK_IMPORTED_MODULE_11__.useCallback)(async function (validationErrors, entityType) {
    let hasLabel = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
    let isPublic = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    if (validationErrors.length === 0) return true;
    const hasDraftEnabled = entityType ? (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_9__.getDraftsEnabled)(entityType) : false;
    if (hasDraftAllowedErrors(properties, validationErrors, hasLabel) && hasDraftEnabled && !isPublic) {
      const proceed = await getConfirmationDialog({
        content: translate('confirmDraftSave'),
        rejectLabel: translate('no'),
        affirmLabel: translate('yes')
      });
      if (!proceed) return false;
      saveAsDraft.current = true;
      return true;
    }
    return false;
  }, [translate, getConfirmationDialog]);
  const applyDraftChanges = (0,react__WEBPACK_IMPORTED_MODULE_11__.useCallback)(async updatedEntry => {
    if (saveAsDraft.current) return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.setEntryDraftStatus)(updatedEntry, saveAsDraft.current, isPrototype);
    return updatedEntry;
  }, [saveAsDraft, isPrototype]);
  return {
    checkCanDraft,
    applyDraftChanges
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useAssignDraft);

/***/ },

/***/ "./modules/commons/hooks/useAsync.js"
/*!*******************************************!*\
  !*** ./modules/commons/hooks/useAsync.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   IDLE: () => (/* binding */ IDLE),
/* harmony export */   PENDING: () => (/* binding */ PENDING),
/* harmony export */   REJECTED: () => (/* binding */ REJECTED),
/* harmony export */   RESOLVED: () => (/* binding */ RESOLVED),
/* harmony export */   asyncStatusPropType: () => (/* binding */ asyncStatusPropType),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAsyncStatus: () => (/* binding */ getAsyncStatus)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const IDLE = 'idle';
const PENDING = 'pending';
const RESOLVED = 'resolved';
const REJECTED = 'rejected';

/**
 *
 * @param {Function} dispatch
 * @returns {Function}
 */
function useSafeDispatch(dispatch) {
  const mounted = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useLayoutEffect)(() => {
    mounted.current = true;
    return () => {
      mounted.current = false;
    };
  }, []);
  return (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {
    return mounted.current ? dispatch(...arguments) : undefined;
  }, [dispatch]);
}

/**
 *
 * @param {{data: any}} state
 * @param {object} action
 * @returns {object}
 */
function asyncReducer(_ref, action) {
  let {
    data
  } = _ref;
  switch (action.type) {
    case PENDING:
      {
        return {
          status: PENDING,
          data,
          error: null
        };
      }
    case RESOLVED:
      {
        return {
          status: RESOLVED,
          data: action.data,
          error: null
        };
      }
    case REJECTED:
      {
        return {
          status: REJECTED,
          data,
          error: action.error
        };
      }
    default:
      {
        throw new Error(`Unhandled action type: ${action.type}`);
      }
  }
}
const defaultState = {
  status: IDLE,
  data: null,
  error: null
};

/**
 *
 * @param {object} initialState
 * @returns {object}
 */
function useAsync(initialState) {
  const [state, unsafeDispatch] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useReducer)(asyncReducer, _objectSpread(_objectSpread({}, defaultState), initialState));
  const dispatch = useSafeDispatch(unsafeDispatch);
  const runAsync = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(promise => {
    dispatch({
      type: PENDING
    });
    promise.then(data => {
      dispatch({
        type: RESOLVED,
        data
      });
    }, error => {
      dispatch({
        type: REJECTED,
        error
      });
    });
  }, [dispatch]);
  const {
    data,
    error,
    status
  } = state;
  const isLoading = status === PENDING || status === IDLE;
  const isPending = status === PENDING;
  return {
    error,
    status,
    isLoading,
    isPending,
    data,
    runAsync
  };
}
const getAsyncStatus = statuses => {
  if (statuses.includes(REJECTED)) return REJECTED;
  if (statuses.includes(PENDING)) return PENDING;
  if (statuses.every(status => status === RESOLVED)) return RESOLVED;
  if (statuses.includes(RESOLVED)) return PENDING; // at least one resolved but waiting for rest to resolve
  return IDLE;
};
const asyncStatusPropType = prop_types__WEBPACK_IMPORTED_MODULE_5___default().oneOf([IDLE, PENDING, RESOLVED, REJECTED]);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useAsync);

/***/ },

/***/ "./modules/commons/hooks/useAsyncCallback.js"
/*!***************************************************!*\
  !*** ./modules/commons/hooks/useAsyncCallback.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");



const useAsyncCallback = function useAsyncCallback(callback, prop) {
  let initialValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  let refreshCount = arguments.length > 3 ? arguments[3] : undefined;
  const callbackRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(callback);
  const {
    runAsync,
    data,
    error,
    isLoading,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_2__["default"])({
    data: initialValue
  });
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    runAsync(Promise.resolve(callbackRef.current(prop)));
  }, [runAsync, prop, refreshCount]);
  return [data, {
    error,
    isLoading,
    status
  }];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useAsyncCallback);

/***/ },

/***/ "./modules/commons/hooks/useDebounce.js"
/*!**********************************************!*\
  !*** ./modules/commons/hooks/useDebounce.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js");




const useDebounce = (callbackFn, delay) => {
  const debouncedFn = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((0,lodash_es__WEBPACK_IMPORTED_MODULE_3__["default"])(function () {
    return callbackFn(...arguments);
  }, delay), [delay]);
  return debouncedFn;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDebounce);

/***/ },

/***/ "./modules/commons/hooks/useDelayedCallback.js"
/*!*****************************************************!*\
  !*** ./modules/commons/hooks/useDelayedCallback.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");





const useDelayedCallback = () => {
  const isMounted = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useLayoutEffect)(() => {
    isMounted.current = true;
    return () => {
      isMounted.current = false;
    };
  });
  const delayedCallback = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((callback, delay) => {
    return async function () {
      await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_4__["default"])(delay);
      if (isMounted.current) callback(...arguments);
    };
  }, []);
  return delayedCallback;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDelayedCallback);

/***/ },

/***/ "./modules/commons/hooks/useDocumentTitle.js"
/*!***************************************************!*\
  !*** ./modules/commons/hooks/useDocumentTitle.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");


const useDocumentTitle = viewName => {
  const appName = config__WEBPACK_IMPORTED_MODULE_1__["default"].get('theme.appName') || 'EntryScape';
  const documentTitle = viewName ? `${viewName} - ${appName}` : appName;
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    document.title = documentTitle;
  }, [documentTitle]);
  return documentTitle;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDocumentTitle);

/***/ },

/***/ "./modules/commons/hooks/useElementOnFocus.js"
/*!****************************************************!*\
  !*** ./modules/commons/hooks/useElementOnFocus.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ElementOnFocusProvider: () => (/* binding */ ElementOnFocusProvider),
/* harmony export */   useElementOnFocus: () => (/* binding */ useElementOnFocus)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const ElementOnFocusContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.createContext)();
const ElementOnFocusProvider = _ref => {
  let {
    children
  } = _ref;
  const [elementToFocus, setElementToFocus] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('');
  return /*#__PURE__*/React.createElement(ElementOnFocusContext.Provider, {
    value: {
      elementToFocus,
      setElementToFocus
    }
  }, children);
};
ElementOnFocusProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
const useElementOnFocus = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(ElementOnFocusContext);
  if (!context) {
    console.error('ElementOnFocusContext must be used within a ContextProvider');
  }
  return context;
};

/***/ },

/***/ "./modules/commons/hooks/useEntityTitleAndURI.js"
/*!*******************************************************!*\
  !*** ./modules/commons/hooks/useEntityTitleAndURI.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   useEntityTitleAndURI: () => (/* binding */ useEntityTitleAndURI),
/* harmony export */   useEntityURI: () => (/* binding */ useEntityURI)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");








const DELAY = 300;

/**
 *
 * Check if ruri is available in context
 *
 * @param {string} name
 * @param {Context} context
 * @param {string} contextName
 * @param {string} uriPattern
 * @returns {boolean}
 */
const isNameUniqueInContext = (name, context, contextName, uriPattern) => {
  const resourceURI = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.constructURIFromPattern)(uriPattern, {
    contextName,
    entryName: name
  });
  return (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.isResourceURIUniqueInContext)(resourceURI, context);
};
const useEntityURI = _ref => {
  let {
    context = null,
    contextName = '',
    uriPattern = ''
  } = _ref;
  // dom state
  const [name, setName] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(''); // the last part of the uri

  // ui state
  const [isNameFree, setIsNameFree] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true); // can I use this name?
  const [isLoading, setIsLoading] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true); // defaul to true to avoid initial invalid feedback
  const [hasNameChangedManually, setHasNameChangedManually] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false); // Keep state if name has been changed manually to be avoid changing it automatically if title changes

  const checkNameStatusDebounced = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => (0,lodash_es__WEBPACK_IMPORTED_MODULE_3__["default"])(checkName => {
    setIsLoading(true);

    // different check for primary entity types in context vs secondary entity types.
    // - Primary entity type (e.g ConceptScheme) => checks only if alias/name is available in the ES installation
    // - Secondary entity type (e.g Concept) => checks if the resource uri is unique in given context
    const uniquenessCheckPromise = context ? isNameUniqueInContext(checkName, context, contextName, uriPattern) : (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.isNameFreeToUse)(checkName);
    uniquenessCheckPromise.then(setIsNameFree).then(() => setIsLoading(false));
  }, DELAY), [context, contextName, uriPattern]);
  const updateName = value => {
    const normalizedName = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.normalizeEntryName)(value);
    setName(normalizedName);

    // make sure that inputed name does not exists and update UI accordingly
    if (normalizedName) {
      checkNameStatusDebounced(normalizedName);
    }
  };

  /**
   * Handle the name input field and check if name is unique on
   *
   * @param {Event} event
   */
  const handleNameChange = event => {
    updateName(event.target.value);
    setHasNameChangedManually(true);
  };
  return {
    name,
    setName,
    // no check for uniqness
    updateName,
    handleNameChange,
    isNameFree,
    isLoading,
    hasNameChangedManually,
    setHasNameChangedManually
  };
};
const useEntityTitleAndURI = _ref2 => {
  let {
    context = null,
    contextName = '',
    uriPattern = ''
  } = _ref2;
  // dom state
  const [title, setTitle] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const {
    name,
    updateName,
    handleNameChange,
    // ui state
    isNameFree,
    isLoading,
    hasNameChangedManually,
    setHasNameChangedManually
  } = useEntityURI({
    context,
    contextName,
    uriPattern
  });
  const handleTitleChange = evt => {
    const {
      value
    } = evt.target;
    const newTitle = value.trim().length === 0 ? value.trim() : value;
    setTitle(newTitle);
    if (uriPattern && !hasNameChangedManually) {
      updateName(newTitle);
    }
  };
  const reinitTitleAndURIState = () => {
    setTitle('');
    updateName('');
  };
  return {
    title,
    name,
    isNameFree,
    isLoading,
    handleTitleChange,
    handleNameChange,
    reinitTitleAndURIState,
    setHasNameChangedManually
  };
};


/***/ },

/***/ "./modules/commons/hooks/useEntry.js"
/*!*******************************************!*\
  !*** ./modules/commons/hooks/useEntry.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntryProvider: () => (/* binding */ EntryProvider),
/* harmony export */   useEntry: () => (/* binding */ useEntry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_contexts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/contexts */ "./modules/commons/contexts/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");











const EntryProvider = _ref => {
  let {
    contextId,
    entryId,
    children
  } = _ref;
  const {
    data: entry,
    runAsync,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])(null);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_7__.useUserState)();
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_9__["default"])();
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_6__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    const authorizeUser = () => {
      if (!(contextId || entryId)) throw Error('contextId or entryId is missing.');

      // preload entry
      const uri = commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.getEntryURI(contextId, entryId);
      return commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.getEntry(uri).catch(getEntryError => {
        const isGuest = userEntry.getId() === commons_util_userIds__WEBPACK_IMPORTED_MODULE_8__.USER_ENTRY_ID_GUEST;
        if (getEntryError.message.includes('Not authorized') && isGuest) {
          navigate((0,commons_util_site__WEBPACK_IMPORTED_MODULE_10__.getPathFromViewName)('signin'));
        } else {
          throw getEntryError;
        }
      });
    };
    runAsync(authorizeUser());
  }, [runAsync, contextId, entryId, navigate, userEntry]);

  // TODO children should not render before entry is ready and entry is applicable
  return entry && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(commons_contexts__WEBPACK_IMPORTED_MODULE_4__.EntryContext.Provider, {
    value: entry
  }, children);
};
EntryProvider.propTypes = {
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  entryId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
const useEntry = () => {
  const entry = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(commons_contexts__WEBPACK_IMPORTED_MODULE_4__.EntryContext);
  if (entry === undefined) {
    throw new Error('useEntry must be used within a ContextProvider');
  }
  return entry;
};


/***/ },

/***/ "./modules/commons/hooks/useExternalContentDialog.js"
/*!***********************************************************!*\
  !*** ./modules/commons/hooks/useExternalContentDialog.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_htmlUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/htmlUtil */ "./modules/commons/util/htmlUtil.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var _useAsync__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./useAsync */ "./modules/commons/hooks/useAsync.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const useExternalContentDialog = _ref => {
  let {
    open,
    contentPath,
    callback,
    title = '',
    actions = null
  } = _ref;
  const {
    openMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_6__.useMainDialog)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_5___default()));
  const {
    runAsync
  } = (0,_useAsync__WEBPACK_IMPORTED_MODULE_8__["default"])(null);
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    if (!open) return;
    if (!contentPath) throw Error('No content path given for external content dialog');
    runAsync((0,commons_util_htmlUtil__WEBPACK_IMPORTED_MODULE_1__.getContentHTML)(`${contentPath}_${_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_3__.i18n.getLocale()}.html`).catch(() => (0,commons_util_htmlUtil__WEBPACK_IMPORTED_MODULE_1__.getContentHTML)(`${contentPath}.html`)).then(html => openMainDialog({
      title,
      content: (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_2__.renderHtmlString)(html),
      actions: actions || /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_7__.AcknowledgeAction, {
        onDone: callback
      })
    }), () => openMainDialog({
      title,
      content: t('restrictionFallback'),
      actions: actions || /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_7__.AcknowledgeAction, {
        onDone: callback
      })
    })).then(callback));
  }, [actions, callback, openMainDialog, open, t, contentPath, title, runAsync]);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useExternalContentDialog);

/***/ },

/***/ "./modules/commons/hooks/useGetContributors.js"
/*!*****************************************************!*\
  !*** ./modules/commons/hooks/useGetContributors.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");








const useGetContributors = (entry, refreshCount) => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const [contributors, {
    error,
    isLoading
  }] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(commons_util_metadata__WEBPACK_IMPORTED_MODULE_5__.getContributors, entry, null, refreshCount);
  if (!contributors) return {
    contributors: [],
    isLoading,
    error,
    entries: []
  };
  const contributorsNames = contributors.map(contributor => (contributor ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_4__.getLabel)(contributor) : translate('editedByContributorNotFound')).trim()).filter(Boolean);
  return {
    contributors: [...new Set(contributorsNames)],
    isLoading,
    error,
    entries: contributors
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetContributors);

/***/ },

/***/ "./modules/commons/hooks/useGetMainDialog.js"
/*!***************************************************!*\
  !*** ./modules/commons/hooks/useGetMainDialog.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["rejectLabel", "affirmLabel", "backdropClickPromiseResolution"],
  _excluded2 = ["okLabel"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const useGetMainDialog = () => {
  const {
    closeMainDialog,
    openMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_3__.useMainDialog)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)((commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const handlePromise = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)((resolve, result) => {
    closeMainDialog();
    resolve(result);
  }, [closeMainDialog]);
  const getConfirmationDialog = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(_ref => {
    let {
        rejectLabel = t('reject'),
        affirmLabel = t('confirm'),
        backdropClickPromiseResolution = false
      } = _ref,
      options = _objectWithoutProperties(_ref, _excluded);
    return new Promise(resolve => {
      openMainDialog(_objectSpread(_objectSpread({
        actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_5__.ConfirmAction, {
          onDone: () => handlePromise(resolve, true),
          onReject: () => handlePromise(resolve, false),
          affirmLabel: affirmLabel,
          rejectLabel: rejectLabel
        })
      }, options), {}, {
        onBackdropClick: () => handlePromise(resolve, backdropClickPromiseResolution)
      }));
    });
  }, [handlePromise, openMainDialog, t]);
  const getAcknowledgeDialog = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(_ref2 => {
    let {
        okLabel
      } = _ref2,
      options = _objectWithoutProperties(_ref2, _excluded2);
    return new Promise(resolve => {
      openMainDialog(_objectSpread(_objectSpread({
        actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_5__.AcknowledgeAction, {
          okLabel: okLabel,
          onDone: () => handlePromise(resolve, true)
        })
      }, options), {}, {
        onBackdropClick: () => handlePromise(resolve, true)
      }));
    });
  }, [handlePromise, openMainDialog]);
  return {
    getConfirmationDialog,
    getAcknowledgeDialog
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetMainDialog);

/***/ },

/***/ "./modules/commons/hooks/useGetProjectTypeInfo.js"
/*!********************************************************!*\
  !*** ./modules/commons/hooks/useGetProjectTypeInfo.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");




const useGetProjectTypeInfo = () => {
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_0__.useParams)();
  const projectType = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_2__.getProjectTypeByName)(projectName);
  const label = projectType === null || projectType === void 0 ? void 0 : projectType.getLabel();
  return {
    isProjectModule: (0,commons_util_module__WEBPACK_IMPORTED_MODULE_1__.checkIsProjectModule)(projectName),
    projectType,
    projectLabel: (0,commons_locale__WEBPACK_IMPORTED_MODULE_3__.localize)(label),
    projectName
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetProjectTypeInfo);

/***/ },

/***/ "./modules/commons/hooks/useIsMounted.js"
/*!***********************************************!*\
  !*** ./modules/commons/hooks/useIsMounted.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const useIsMounted = () => {
  const mounted = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(() => {
    mounted.current = true;
    return () => {
      mounted.current = false;
    };
  }, []);
  const isMounted = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => mounted.current, []);
  return isMounted;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useIsMounted);

/***/ },

/***/ "./modules/commons/hooks/useJsonld.js"
/*!********************************************!*\
  !*** ./modules/commons/hooks/useJsonld.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useLazyModule__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useLazyModule */ "./modules/commons/hooks/useLazyModule.js");
const _excluded = ["data"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const loadJsonld = () => __webpack_require__.e(/*! import() | jsonld */ "jsonld").then(__webpack_require__.t.bind(__webpack_require__, /*! jsonld */ "./node_modules/.pnpm/jsonld@9.0.0/node_modules/jsonld/lib/jsonld.js", 23)).then(module => {
  var _module$default;
  return (_module$default = module.default) !== null && _module$default !== void 0 ? _module$default : module;
});
const useJsonld = () => {
  const _useLazyModule = (0,commons_hooks_useLazyModule__WEBPACK_IMPORTED_MODULE_4__["default"])(loadJsonld),
    {
      data: jsonld
    } = _useLazyModule,
    rest = _objectWithoutProperties(_useLazyModule, _excluded);
  return _objectSpread({
    jsonld
  }, rest);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useJsonld);

/***/ },

/***/ "./modules/commons/hooks/useLDBTemplate.js"
/*!*************************************************!*\
  !*** ./modules/commons/hooks/useLDBTemplate.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog_useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog/useLinkedBrowserModel */ "./modules/commons/components/LinkedDataBrowserDialog/useLinkedBrowserModel.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog/utils */ "./modules/commons/components/LinkedDataBrowserDialog/utils.js");
/* harmony import */ var _util_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../util/context */ "./modules/commons/util/context.js");












const rdfTypesHaveMatch = (givenEntry, currentEntry) => {
  const {
    metadata: givenMetadata,
    resourceURI: givenRuri
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.spreadEntry)(givenEntry);
  const {
    metadata: currentMetadata,
    resourceURI: currentRuri
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.spreadEntry)(currentEntry);
  const givenRdfTypes = givenMetadata.find(givenRuri, 'rdf:type').map(statement => statement.getValue());
  const currentRdfTypes = currentMetadata.find(currentRuri, 'rdf:type').map(statement => statement.getValue());
  return givenRdfTypes.some(type => currentRdfTypes.includes(type));
};
const useLDBTemplate = function useLDBTemplate(entry, parentEntry, formTemplateId) {
  let showEntityError = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
  const [state, dispatch] = (0,commons_components_LinkedDataBrowserDialog_useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_6__.useLinkedBrowserModel)(entry);
  const [entityType, setEntityType] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)();
  const [metadataVisibility, setMetadataVisiblity] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(commons_components_LinkedDataBrowserDialog_utils__WEBPACK_IMPORTED_MODULE_10__.LOCAL);
  const {
    data: template,
    runAsync: runAsyncTemplate,
    error,
    status,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])(null);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const getTemplate = async () => {
      if (formTemplateId) return formTemplateId;
      const parent = parentEntry && rdfTypesHaveMatch(entry, state.entry) ? parentEntry : null;
      const findEntityTypeInUse = async () => {
        if (state.entry.isContext()) {
          return (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_9__.findEntityTypeForContext)(state.entry);
        }
        await (0,_util_context__WEBPACK_IMPORTED_MODULE_11__.loadContextEntry)(state.entry); // make sure the context entry is in cache
        return commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__["default"].inUse(state.entry, parent);
      };
      return findEntityTypeInUse().then(entityTypeInUse => {
        if (!entityTypeInUse && showEntityError) {
          console.error('Entry has no provided template Id and no entity type was found!');
          console.log({
            entry: state.entry,
            parent
          });
        }
        if (!entityTypeInUse) return;
        setEntityType(entityTypeInUse);
        dispatch({
          type: commons_components_LinkedDataBrowserDialog_useLinkedBrowserModel__WEBPACK_IMPORTED_MODULE_6__.NAME,
          value: {
            index: state.index,
            entityTypeName: entityTypeInUse === null || entityTypeInUse === void 0 ? void 0 : entityTypeInUse.get('name')
          }
        });
        const templateId = (0,commons_components_LinkedDataBrowserDialog_utils__WEBPACK_IMPORTED_MODULE_10__.isExternalEntry)(state.entry) ? entityTypeInUse.complementaryTemplateId() : entityTypeInUse.templateId();
        setMetadataVisiblity((0,commons_components_LinkedDataBrowserDialog_utils__WEBPACK_IMPORTED_MODULE_10__.getMetadataVisibility)(state.entry));
        return templateId;
      });
    };
    runAsyncTemplate(getTemplate());
  }, [state.entry, runAsyncTemplate, formTemplateId, parentEntry, entry, state.index, dispatch, entityType, showEntityError]);
  return {
    template,
    entityType,
    metadataVisibility,
    setMetadataVisiblity,
    error,
    status,
    isLoading
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLDBTemplate);

/***/ },

/***/ "./modules/commons/hooks/useLanguage.js"
/*!**********************************************!*\
  !*** ./modules/commons/hooks/useLanguage.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageProvider: () => (/* binding */ LanguageProvider),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useLanguage: () => (/* binding */ useLanguage)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const LanguageContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.createContext)([_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__.i18n.getLocale(), () => {}]);
const useLanguage = () => {
  const languageContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(LanguageContext);
  if (languageContext === undefined) {
    throw new Error('useLanguage must be used within a ContextProvider');
  }
  return languageContext;
};
const LanguageProvider = _ref => {
  let {
    children
  } = _ref;
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_7__.useUserState)();
  const [language, setLanguage] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)((0,commons_locale__WEBPACK_IMPORTED_MODULE_8__.getBestLanguage)(userInfo.language));

  // Whenever lanugage is changed, language needs to be updated for:
  // 1. locale for i18n. This step is done outside useEffect to avoid race
  //    condition in useTranslation
  // 2. pimrary language codes for renderingContext
  // 3. language set in document
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    document.documentElement.lang = language;
    _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__.renderingContext.setPrimaryLanguageCodes([...new Set([language, ...(0,commons_locale__WEBPACK_IMPORTED_MODULE_8__.getClientAcceptLanguages)(userInfo), ...(0,commons_locale__WEBPACK_IMPORTED_MODULE_8__.getLocaleSupportedLanguages)()])]);
    _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_5__.renderingContext.setMessages(_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__.i18n.getLocalization((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_6___default())));
  }, [language, userInfo]);
  if (language !== _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__.i18n.getLocale()) {
    _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__.i18n.setLocale(language);
  }
  return /*#__PURE__*/React.createElement(LanguageContext.Provider, {
    value: [language, setLanguage]
  }, children);
};
LanguageProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLanguage);


/***/ },

/***/ "./modules/commons/hooks/useLazyModule.js"
/*!************************************************!*\
  !*** ./modules/commons/hooks/useLazyModule.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
const _excluded = ["runAsync"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



/**
 * Lazily imports a module via a dynamic-import loader and tracks load status.
 *
 * @param {() => Promise<object>} loader a stable (module-level) loader, e.g.
 *   `() => import('n3')`.
 * @returns {{data: object, status: string, error: Error, isLoading: boolean,
 *   isPending: boolean}}
 */
const useLazyModule = loader => {
  const _useAsync = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_1__["default"])(),
    {
      runAsync
    } = _useAsync,
    moduleState = _objectWithoutProperties(_useAsync, _excluded);
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    runAsync(loader());
  }, [loader, runAsync]);
  return moduleState;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLazyModule);

/***/ },

/***/ "./modules/commons/hooks/useMainDialog.js"
/*!************************************************!*\
  !*** ./modules/commons/hooks/useMainDialog.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MainDialogProvider: () => (/* binding */ MainDialogProvider),
/* harmony export */   useMainDialog: () => (/* binding */ useMainDialog)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_contexts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts */ "./modules/commons/contexts/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const initialState = {
  title: '',
  content: '',
  actions: '',
  onBackdropClick: null
};
const MainDialogProvider = _ref => {
  let {
    children
  } = _ref;
  const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const [dialogContent, setDialogContent] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(initialState);
  const [dialogProps, setDialogProps] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({
    ignoreBackdropClick: false
  });
  const openMainDialog = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(_ref2 => {
    let {
      title,
      content,
      actions,
      onBackdropClick,
      dialogProps: mainDialogProps = {}
    } = _ref2;
    setDialogContent({
      title,
      content,
      actions,
      onBackdropClick
    });
    setOpen(true);
    setDialogProps(_objectSpread({
      ignoreBackdropClick: false
    }, mainDialogProps));
  }, []);
  const {
    ignoreBackdropClick
  } = dialogProps;
  const closeMainDialog = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (_event, reason) {
    let onBackdropClick = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : () => {};
    if (ignoreBackdropClick && reason === 'backdropClick') return;
    if (reason === 'backdropClick') onBackdropClick();
    setOpen(false);
    setDialogContent(initialState);
  }, [ignoreBackdropClick]);
  return /*#__PURE__*/React.createElement(commons_contexts__WEBPACK_IMPORTED_MODULE_5__.MainDialogContext.Provider, {
    value: {
      open,
      closeMainDialog,
      dialogContent,
      setDialogContent,
      openMainDialog,
      dialogProps,
      setDialogProps
    }
  }, children);
};
MainDialogProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
const useMainDialog = () => {
  const dialogState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(commons_contexts__WEBPACK_IMPORTED_MODULE_5__.MainDialogContext);
  if (dialogState === undefined) {
    throw new Error('useMainDialog must be used within a ContextProvider');
  }
  return dialogState;
};


/***/ },

/***/ "./modules/commons/hooks/useN3.js"
/*!****************************************!*\
  !*** ./modules/commons/hooks/useN3.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useLazyModule__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useLazyModule */ "./modules/commons/hooks/useLazyModule.js");
const _excluded = ["data"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const loadN3 = () => __webpack_require__.e(/*! import() | n3 */ "n3").then(__webpack_require__.bind(__webpack_require__, /*! n3 */ "./node_modules/.pnpm/n3@1.26.0/node_modules/n3/src/index.js"));
const useN3 = () => {
  const _useLazyModule = (0,commons_hooks_useLazyModule__WEBPACK_IMPORTED_MODULE_4__["default"])(loadN3),
    {
      data: N3
    } = _useLazyModule,
    rest = _objectWithoutProperties(_useLazyModule, _excluded);
  return _objectSpread({
    N3
  }, rest);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useN3);

/***/ },

/***/ "./modules/commons/hooks/usePageRefresh.js"
/*!*************************************************!*\
  !*** ./modules/commons/hooks/usePageRefresh.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_contexts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/contexts */ "./modules/commons/contexts/index.js");


const usePageRefresh = () => {
  const viewContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(commons_contexts__WEBPACK_IMPORTED_MODULE_1__.ViewContext);
  if (viewContext === undefined) {
    throw new Error('usePageRefresh must be used within a ContextProvider');
  }
  const refresh = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => {
    viewContext.setRefreshCount(count => count + 1);
  }, [viewContext]);
  return refresh;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (usePageRefresh);

/***/ },

/***/ "./modules/commons/hooks/usePageTitle.js"
/*!***********************************************!*\
  !*** ./modules/commons/hooks/usePageTitle.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_contexts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/contexts */ "./modules/commons/contexts/index.js");


const usePageTitle = () => {
  const viewContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(commons_contexts__WEBPACK_IMPORTED_MODULE_1__.ViewContext);
  if (viewContext === undefined) {
    throw new Error('usePageTitle must be used within a ContextProvider');
  }
  return [viewContext.viewName, viewContext.setViewName];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (usePageTitle);

/***/ },

/***/ "./modules/commons/hooks/usePrimaryLanguageCodes.js"
/*!**********************************************************!*\
  !*** ./modules/commons/hooks/usePrimaryLanguageCodes.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");






const usePrimaryLanguageCodes = () => {
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_3__.useUserState)();
  const [language] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_4__.useLanguage)();
  return [...new Set([language, ...(0,commons_locale__WEBPACK_IMPORTED_MODULE_5__.getClientAcceptLanguages)(userInfo), ...(0,commons_locale__WEBPACK_IMPORTED_MODULE_5__.getLocaleSupportedLanguages)()].filter(code => !code.includes('-')))];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (usePrimaryLanguageCodes);

/***/ },

/***/ "./modules/commons/hooks/useRdformsContext.js"
/*!****************************************************!*\
  !*** ./modules/commons/hooks/useRdformsContext.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RdformsContextProvider: () => (/* binding */ RdformsContextProvider),
/* harmony export */   getRdformsContext: () => (/* binding */ getRdformsContext),
/* harmony export */   getRdformsContextAndName: () => (/* binding */ getRdformsContextAndName),
/* harmony export */   useRdformsContext: () => (/* binding */ useRdformsContext),
/* harmony export */   withRdformsContextProvider: () => (/* binding */ withRdformsContextProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




let rdfContext;
let rdfContextName;

/**
 * Manages the context (entry) of an rdforms
 */
const RdformsContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.createContext)();

/**
 * A context provider for rdforms
 * @param {node} children
 */
const RdformsContextProvider = _ref => {
  let {
    children
  } = _ref;
  const [rdformsContext, setRdformsContext] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  const [rdformsContextName, setRdformsContextName] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('');
  rdfContext = rdformsContext;
  rdfContextName = rdformsContextName;
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (rdformsContext) {
      rdformsContext.getEntry().then(contextEntry => {
        setRdformsContextName(contextEntry.getEntryInfo().getName());
      });
    }
    return () => {
      rdfContext = null;
      rdfContextName = '';
    };
  }, [rdformsContext]);
  return /*#__PURE__*/React.createElement(RdformsContext.Provider, {
    value: {
      rdfContext,
      setRdformsContext
    }
  }, children);
};
RdformsContextProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().node)
};
const useRdformsContext = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(RdformsContext);
  if (!context) {
    console.error('useRdformsContext must be used within a ContextProvider');
  }
  return context;
};

/**
 * Use this method in callbacks when useRdformsContext cannot be used.
 * @return {Context}
 */
const getRdformsContext = () => {
  return rdfContext;
};
const getRdformsContextAndName = () => {
  return {
    context: rdfContext,
    contextName: rdfContextName
  };
};

/**
 * Wraps a component with RdformsContextProvider
 * @return {node}
 */
const withRdformsContextProvider = Component => {
  return props => {
    return /*#__PURE__*/React.createElement(RdformsContextProvider, null, /*#__PURE__*/React.createElement(Component, props));
  };
};

/***/ },

/***/ "./modules/commons/hooks/useRestrictionDialog.js"
/*!*******************************************************!*\
  !*** ./modules/commons/hooks/useRestrictionDialog.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _useExternalContentDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useExternalContentDialog */ "./modules/commons/hooks/useExternalContentDialog.js");

const _excluded = ["contentPath"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


const useRestrictionDialog = _ref => {
  let {
      contentPath
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const templatePath = contentPath || config__WEBPACK_IMPORTED_MODULE_1__["default"].get('theme.commonRestrictionTextPath');
  (0,_useExternalContentDialog__WEBPACK_IMPORTED_MODULE_2__["default"])(_objectSpread(_objectSpread({}, rest), {}, {
    contentPath: templatePath
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRestrictionDialog);

/***/ },

/***/ "./modules/commons/hooks/useSnackbar.js"
/*!**********************************************!*\
  !*** ./modules/commons/hooks/useSnackbar.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ERROR: () => (/* binding */ ERROR),
/* harmony export */   SUCCESS_EDIT: () => (/* binding */ SUCCESS_EDIT),
/* harmony export */   SnackbarProvider: () => (/* binding */ SnackbarProvider),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useSnackbar: () => (/* binding */ useSnackbar)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/Snackbar.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SnackbarContent/SnackbarContent.js");
/* harmony import */ var _mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/Close */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var commons_components_common_SlideTransition__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/SlideTransition */ "./modules/commons/components/common/SlideTransition/index.js");
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_12__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["message", "type"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }











const SUCCESS_EDIT = 'success_edit';
const ERROR = 'error';
const getDefaultMessageNls = type => ({
  [SUCCESS_EDIT]: 'editSuccess',
  [ERROR]: 'defaultError'
})[type];
const SnackbarContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)();
const useSnackbar = () => {
  const snackbarContext = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(SnackbarContext);
  if (snackbarContext === undefined) {
    throw new Error('useSnackbar must be used within a context provider');
  }
  return snackbarContext;
};
const DEFAULT_DURATION = 5000;
const ERROR_DURATION = 8000;
const NLS_BUNDLES = [(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_12___default())];
const SnackbarProvider = _ref => {
  let {
    children
  } = _ref;
  const [snacks, setSnacks] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(NLS_BUNDLES);

  /**
   * Adds a snackbar notification to the snackbar queue.
   *
   * @param {object} newSnackProps - An object containing MUI Snackbar props
   */
  const addSnackbar = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(_ref2 => {
    let {
        message,
        type
      } = _ref2,
      restNewSnackProps = _objectWithoutProperties(_ref2, _excluded);
    setSnacks(previousSnacks => [...previousSnacks, _objectSpread({
      open: true,
      message: message || translate(getDefaultMessageNls(type)),
      error: type === ERROR,
      key: `${message}-${Math.random()}`
    }, restNewSnackProps)]);
  }, [translate]);
  const closeVisibleSnackbar = () => {
    const [snack, ...otherSnacks] = snacks;
    const closingSnack = _objectSpread(_objectSpread({}, snack), {}, {
      open: false
    });
    setSnacks([closingSnack, ...otherSnacks]);
  };
  const handleClose = (_event, reason) => {
    if (reason === 'clickaway') {
      return;
    }
    closeVisibleSnackbar();
  };
  const currentSnack = snacks === null || snacks === void 0 ? void 0 : snacks[0];
  const closeAction = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    size: "small",
    "aria-label": "close",
    onClick: handleClose,
    style: {
      color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__.white.main
    }
  }, /*#__PURE__*/React.createElement(_mui_icons_material_Close__WEBPACK_IMPORTED_MODULE_8__["default"], null));
  const providerValue = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
    return [addSnackbar];
  }, [addSnackbar]);
  return /*#__PURE__*/React.createElement(SnackbarContext.Provider, {
    value: providerValue
  }, children, currentSnack ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    anchorOrigin: {
      vertical: 'bottom',
      horizontal: 'left'
    },
    style: {
      marginLeft: '120px'
    },
    onClose: handleClose,
    TransitionProps: {
      onExited: () => {
        setSnacks(snacks.slice(1));
      }
    },
    autoHideDuration: currentSnack.error ? ERROR_DURATION : DEFAULT_DURATION,
    TransitionComponent: commons_components_common_SlideTransition__WEBPACK_IMPORTED_MODULE_9__["default"],
    open: currentSnack.open,
    key: currentSnack.key
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    message: currentSnack.message,
    action: closeAction,
    style: currentSnack.error ? {
      background: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_10__.error.main
    } : {}
  })) : null);
};
SnackbarProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSnackbar);


/***/ },

/***/ "./modules/commons/hooks/useTaskProgressDialog.js"
/*!********************************************************!*\
  !*** ./modules/commons/hooks/useTaskProgressDialog.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_common_ProgressList__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/ProgressList */ "./modules/commons/components/common/ProgressList/index.js");
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");








const useTaskProgressDialog = (taskDefs, _ref) => {
  let {
    closeDialog,
    nlsBundles,
    titleKey,
    dialogProps
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)(nlsBundles);
  const {
    openMainDialog,
    setDialogContent,
    closeMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_6__.useMainDialog)();
  const {
    tasks,
    updateTask,
    allTasksDone
  } = (0,commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_4__.useTasksList)([...taskDefs]);
  const closeDialogs = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    closeMainDialog();
    closeDialog();
  }, [closeDialog, closeMainDialog]);
  const updateMainDialogTasks = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(updatedTasks => {
    setDialogContent({
      title: translate(titleKey),
      content: /*#__PURE__*/React.createElement(commons_components_common_ProgressList__WEBPACK_IMPORTED_MODULE_3__["default"], {
        tasks: updatedTasks,
        nlsBundles: nlsBundles
      }),
      actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_7__.AcknowledgeAction, {
        onDone: closeDialogs,
        isDisabled: !allTasksDone
      })
    });
  }, [allTasksDone, closeDialogs, nlsBundles, setDialogContent, titleKey, translate]);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    updateMainDialogTasks(tasks);
  }, [tasks, updateMainDialogTasks]);
  const openProgressDialog = () => openMainDialog({
    title: translate(titleKey),
    content: /*#__PURE__*/React.createElement(commons_components_common_ProgressList__WEBPACK_IMPORTED_MODULE_3__["default"], {
      tasks: tasks,
      nlsBundles: nlsBundles
    }),
    actions: null,
    dialogProps
  });
  return {
    tasks,
    updateTask,
    openProgressDialog
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTaskProgressDialog);

/***/ },

/***/ "./modules/commons/hooks/useTasksList.js"
/*!***********************************************!*\
  !*** ./modules/commons/hooks/useTasksList.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   STATUS_DONE: () => (/* binding */ STATUS_DONE),
/* harmony export */   STATUS_FAILED: () => (/* binding */ STATUS_FAILED),
/* harmony export */   STATUS_IDLE: () => (/* binding */ STATUS_IDLE),
/* harmony export */   STATUS_PROGRESS: () => (/* binding */ STATUS_PROGRESS),
/* harmony export */   useRunTasks: () => (/* binding */ useRunTasks),
/* harmony export */   useTasksList: () => (/* binding */ useTasksList)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
const _excluded = ["updateTask"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





const STATUS_IDLE = 'idle';
const STATUS_PROGRESS = 'progress';
const STATUS_DONE = 'done';
const STATUS_FAILED = 'failed';
const useTasksList = function useTasksList() {
  let initialTasks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  const [tasks, setTasks] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(initialTasks);
  const updateTask = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)((taskId, data) => {
    // Setting state like that to avoid having `tasks` as a dependency, since it's
    // always a new array and would cause an infinite loop
    setTasks(existingTasks => existingTasks.map(task => task.id === taskId ? _objectSpread(_objectSpread({}, task), data) : task));
  }, []);
  const allTasksDone = tasks.every(_ref => {
    let {
      status
    } = _ref;
    return status === STATUS_DONE;
  });
  const addTask = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(task => {
    setTasks(existing => [...existing, task]);
  }, []);
  const resetTasks = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    setTasks(initialTasks);
  }, [initialTasks]);
  return {
    tasks,
    updateTask,
    addTask,
    allTasksDone,
    resetTasks
  };
};
const useRunTasks = function useRunTasks() {
  let initialTasks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  const _useTasksList = useTasksList(initialTasks),
    {
      updateTask
    } = _useTasksList,
    rest = _objectWithoutProperties(_useTasksList, _excluded);
  const updateTaskStatus = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)((taskId, status, message) => {
    updateTask(taskId, _objectSpread({
      status
    }, message ? {
      message
    } : {}));
  }, [updateTask]);
  const updateTaskMessage = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)((taskId, message) => {
    updateTask(taskId, {
      message
    });
  }, [updateTask]);
  const runTask = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(async (taskId, taskPromise) => {
    try {
      updateTaskStatus(taskId, STATUS_PROGRESS);
      const taskResult = await Promise.resolve(taskPromise);
      updateTaskStatus(taskId, STATUS_DONE);
      return taskResult;
    } catch (error) {
      updateTaskStatus(taskId, STATUS_FAILED, error.message);
      throw error;
    }
  }, [updateTaskStatus]);
  return _objectSpread(_objectSpread({}, rest), {}, {
    updateTask,
    updateTaskMessage,
    runTask
  });
};

/***/ },

/***/ "./modules/commons/hooks/useThemeMode.js"
/*!***********************************************!*\
  !*** ./modules/commons/hooks/useThemeMode.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DARK: () => (/* binding */ DARK),
/* harmony export */   HIGH_CONTRAST: () => (/* binding */ HIGH_CONTRAST),
/* harmony export */   LIGHT: () => (/* binding */ LIGHT),
/* harmony export */   SYSTEM: () => (/* binding */ SYSTEM),
/* harmony export */   ThemeModeContext: () => (/* binding */ ThemeModeContext),
/* harmony export */   ThemeModeProvider: () => (/* binding */ ThemeModeProvider),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useThemeMode: () => (/* binding */ useThemeMode)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








const STORAGE_KEY = 'entryscape_theme_mode';
const CUSTOM_PROPERTY_KEY = 'thememode';
const LIGHT = 'light';
const DARK = 'dark';
const SYSTEM = 'system';
const HIGH_CONTRAST = 'high-contrast';

/**
 * @typedef {'light' | 'dark' | 'system' | 'high-contrast'} ThemeMode
 * @typedef {'light' | 'dark' | 'high-contrast'} ResolvedThemeMode
 */

/**
 * @typedef {object} ThemeModeContextValue
 * @property {ThemeMode} mode - The user's selected mode preference
 * @property {ResolvedThemeMode} resolvedMode - The actual applied mode (never 'system')
 * @property {(mode: ThemeMode) => Promise<void>} setMode - Function to update the mode
 */

const ThemeModeContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_4__.createContext)(/** @type {ThemeModeContextValue | undefined} */undefined);

/**
 * Get the system's preferred color scheme
 *
 * @returns {ResolvedThemeMode}
 */
const getSystemPreference = () => {
  if (typeof window === 'undefined') return LIGHT;
  return window.matchMedia('(prefers-color-scheme: dark)').matches ? DARK : LIGHT;
};

/**
 * Resolve the theme mode to an actual light/dark value
 *
 * @param {ThemeMode} mode
 * @returns {ResolvedThemeMode}
 */
const resolveMode = mode => {
  if (mode === SYSTEM) {
    return getSystemPreference();
  }
  return mode;
};

/**
 *
 * @param {string} value
 * @returns {boolean}
 */
const isValidMode = value => value === LIGHT || value === DARK || value === SYSTEM || value === HIGH_CONTRAST;

/**
 * Get stored theme mode from localStorage
 *
 * @returns {ThemeMode}
 */
const getStoredMode = () => {
  if (typeof window === 'undefined') return SYSTEM;
  const stored = localStorage.getItem(STORAGE_KEY);
  if (isValidMode(stored)) {
    return stored;
  }
  return SYSTEM;
};

/**
 * Store theme mode in localStorage
 *
 * @param {ThemeMode} mode
 * @returns {void}
 */
const setStoreMode = mode => {
  if (typeof window === 'undefined') return;
  localStorage.setItem(STORAGE_KEY, mode);
};

/**
 * Get theme mode from user's custom properties
 *
 * @param {object} userEntry
 * @returns {ThemeMode}
 */
const getUserThemeMode = userEntry => {
  try {
    const customProperties = userEntry.getResource(true).getCustomProperties();
    const mode = customProperties[CUSTOM_PROPERTY_KEY];
    if (isValidMode(mode)) {
      return mode;
    }
  } catch (error) {
    console.error('Failed to get user theme mode:', error);
  }
  return SYSTEM;
};

/**
 * Save theme mode to user's custom properties
 *
 * @param {object} userEntry
 * @param {ThemeMode} mode
 * @returns {Promise<void>}
 */
const saveUserThemeMode = async (userEntry, mode) => {
  try {
    const user = userEntry.getResource(true);
    const customProperties = user.getCustomProperties();
    // setCustomProperties is async and handles the REST PUT internally
    await user.setCustomProperties(_objectSpread(_objectSpread({}, customProperties), {}, {
      [CUSTOM_PROPERTY_KEY]: mode
    }));
  } catch (error) {
    console.error('Failed to save theme mode:', error);
  }
};
const ThemeModeProvider = _ref => {
  let {
    children
  } = _ref;
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_6__.useUserState)();
  const isGuestUser = !userEntry || (0,commons_util_user__WEBPACK_IMPORTED_MODULE_7__.isGuest)(userEntry);

  // Initialize mode from storage
  const [mode, setModeState] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(() => {
    if (isGuestUser) return getStoredMode();
    return getUserThemeMode(userEntry);
  });

  // Trigger to force useMemo recalculation when system preference changes
  const [systemPrefTrigger, setSystemPrefTrigger] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(0);
  const resolvedMode = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => resolveMode(mode),
  // systemPrefTrigger is intentionally included
  // eslint-disable-next-line react-hooks/exhaustive-deps
  [mode, systemPrefTrigger]);

  // Set data-theme attribute on document
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    document.documentElement.setAttribute('data-theme', resolvedMode);
  }, [resolvedMode]);

  // Listen for system preference changes when in system mode
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (mode !== SYSTEM) return;
    const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
    const handleChange = () => {
      setSystemPrefTrigger(prev => prev + 1);
    };
    mediaQuery.addEventListener('change', handleChange);
    return () => mediaQuery.removeEventListener('change', handleChange);
  }, [mode]);

  // Sync mode from user entry when it changes (e.g., after login)
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!userEntry) return;
    const targetMode = isGuestUser ? getStoredMode() : getUserThemeMode(userEntry);
    setModeState(targetMode);
    setStoreMode(targetMode); // Keep localStorage in sync with active theme
  }, [userEntry, isGuestUser]);
  const setMode = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(async newMode => {
    setModeState(newMode);

    // Persist to appropriate storage
    if (isGuestUser) {
      setStoreMode(newMode);
    } else if (userEntry) {
      setStoreMode(newMode); // Also store in localStorage for faster initial load
      await saveUserThemeMode(userEntry, newMode);
    }
  }, [isGuestUser, userEntry]);
  const value = {
    mode,
    resolvedMode,
    setMode
  };
  return /*#__PURE__*/React.createElement(ThemeModeContext.Provider, {
    value: value
  }, children);
};
ThemeModeProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().node)
};

/**
 * Hook to access theme mode context
 *
 * @returns {ThemeModeContextValue}
 */
const useThemeMode = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(ThemeModeContext);
  if (context === undefined) {
    throw new Error('useThemeMode must be used within a ThemeModeProvider');
  }
  return context;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useThemeMode);


/***/ },

/***/ "./modules/commons/hooks/useTranslation/index.js"
/*!*******************************************************!*\
  !*** ./modules/commons/hooks/useTranslation/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nlsBundlesPropType: () => (/* reexport safe */ _useTranslation__WEBPACK_IMPORTED_MODULE_0__.nlsBundlesPropType),
/* harmony export */   nlsPropType: () => (/* reexport safe */ _useTranslation__WEBPACK_IMPORTED_MODULE_0__.nlsPropType),
/* harmony export */   useTranslation: () => (/* reexport safe */ _useTranslation__WEBPACK_IMPORTED_MODULE_0__.useTranslation)
/* harmony export */ });
/* harmony import */ var _useTranslation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useTranslation */ "./modules/commons/hooks/useTranslation/useTranslation.js");


/***/ },

/***/ "./modules/commons/hooks/useTranslation/useTranslation.js"
/*!****************************************************************!*\
  !*** ./modules/commons/hooks/useTranslation/useTranslation.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nlsBundlesPropType: () => (/* binding */ nlsBundlesPropType),
/* harmony export */   nlsPropType: () => (/* binding */ nlsPropType),
/* harmony export */   useTranslation: () => (/* binding */ useTranslation)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./util */ "./modules/commons/hooks/useTranslation/util.js");








/**
 *
 * @param {object[]} nlsBundles
 * @param {string|undefined} language
 * @returns {object[]}
 */
const getLocalizationBundles = (nlsBundles, language) => {
  if (!nlsBundles) return [];
  const bundles = Array.isArray(nlsBundles) && Array.isArray(nlsBundles[0]) ? nlsBundles : [nlsBundles];
  return bundles.map(NLS => {
    return _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__.i18n.getLocalization(NLS, language);
  });
};

/**
 * Provides a utility function to retrieve the value of an nlsKey from an array of nlsBundles
 *
 * @param {object[]} nlsBundles
 * @param {string} localLanguage
 * @returns {Function}
 */
const useTranslation = (nlsBundles, localLanguage) => {
  const [globalLanguage] = (0,commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_5__.useLanguage)();
  const language = localLanguage || globalLanguage;
  const nlsBundlesRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(nlsBundles);
  const hasLocalizedBundle = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);
  const [localizedBundles, setLocalizedBundles] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(getLocalizationBundles(nlsBundles, language));
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!language) return;
    if (language && !hasLocalizedBundle.current) {
      hasLocalizedBundle.current = true;
      return;
    }
    setLocalizedBundles(getLocalizationBundles(nlsBundlesRef.current, language));
  }, [language]);
  const translate = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((nlsKey, attrs) => {
    const containingBundle = localizedBundles.find(bundle => nlsKey in bundle);
    if (containingBundle) {
      const localizedString = (0,_util__WEBPACK_IMPORTED_MODULE_6__.getLocalizedString)(nlsKey, containingBundle);
      const stringOrTemplate = (0,_util__WEBPACK_IMPORTED_MODULE_6__.getNlsDefinition)(localizedString);
      return attrs !== undefined && attrs !== null ? _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_4__.i18n.renderNLSTemplate(stringOrTemplate, attrs) : stringOrTemplate;
    }
    console.error(`Could not find translation for '${nlsKey}'`);
    if (!nlsBundlesRef.current) {
      console.error('Tried to translate but no nls bundles were provided');
    }
    return nlsKey;
  }, [localizedBundles]);
  return translate;
};
const nlsBundlePropType = prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
  lang: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  path: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  nls: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})
});
const nlsBundlesPropType = prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().array), nlsBundlePropType]);
const nlsPropType = prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
  en: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  de: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  sv: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
});

/***/ },

/***/ "./modules/commons/hooks/useTranslation/util.js"
/*!******************************************************!*\
  !*** ./modules/commons/hooks/useTranslation/util.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NLS_EXPLANATION_SEPARATOR: () => (/* binding */ NLS_EXPLANATION_SEPARATOR),
/* harmony export */   getLocalizedString: () => (/* binding */ getLocalizedString),
/* harmony export */   getNlsDefinition: () => (/* binding */ getNlsDefinition)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.split.js");
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");



const NLS_EXPLANATION_SEPARATOR = '~~';

/**
 * Returns the actual translated string or template that will be rendered.
 *
 * Translation string definition can have the following format:
 * `"listHeaderCommentsLabel": "Comments~~Comments column header for list items in datasets view"`
 * The part left of the colon `:` is the `term`, and the part to its right is the `definition`.
 * The definition can also be split between two parts like in the example above.
 * The actual definition left of the double tilde symbol `~~`, and an explanation/clarification
 * about its usage to the right.
 *
 * @param {string} localizedString
 * @returns {string}
 */
const getNlsDefinition = localizedString => localizedString.split(NLS_EXPLANATION_SEPARATOR)[0];

/**
 *  Gets the localized string or NLS template from the provided bundle
 *  If NLS profile configuration is provided tries to using the appropriate profile key and
 *  then falls back to the default.
 *
 * @param {string} key - NLS key
 * @param {object} bundle - NLS bundle that contains the key
 * @returns {string} - String or NLS template
 */
const getLocalizedString = (key, bundle) => {
  const nlsProfile = config__WEBPACK_IMPORTED_MODULE_2__["default"].get('theme.nlsProfile');
  if (!nlsProfile) return bundle[key];
  const profileKey = `${key}__${nlsProfile}`;
  return bundle[profileKey] || bundle[key];
};

/***/ },

/***/ "./modules/commons/hooks/useUniqueId.js"
/*!**********************************************!*\
  !*** ./modules/commons/hooks/useUniqueId.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getUniqueId: () => (/* binding */ getUniqueId),
/* harmony export */   useUniqueId: () => (/* binding */ useUniqueId)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);





/**
 * Generates a unique id with an optional prefix
 * @param {string} prefix
 * @returns {string}
 */
const getUniqueId = function getUniqueId() {
  let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  return `${prefix}${Date.now().toString(36)}${Math.random().toString(36).substring(2, 7)}`;
};

/**
 * Simple hook to generate a unique id with an optional prefix
 * @param {string} prefix
 * @returns {string}
 */
const useUniqueId = prefix => {
  const [uniqueId] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(() => getUniqueId(prefix));
  return uniqueId;
};

/***/ },

/***/ "./modules/commons/hooks/useUniqueURIScope.js"
/*!****************************************************!*\
  !*** ./modules/commons/hooks/useUniqueURIScope.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   UniqueURIScopeProvider: () => (/* binding */ UniqueURIScopeProvider),
/* harmony export */   useUniqueURIScopeContext: () => (/* binding */ useUniqueURIScopeContext),
/* harmony export */   withURIScopeContextProvider: () => (/* binding */ withURIScopeContextProvider)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





/**
 * Manages the context of unique URI scope
 */
const UniqueURIScopeContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.createContext)();

/**
 * A context provider for URI uniqueness scope
 * @param {node} children
 */
const UniqueURIScopeProvider = _ref => {
  let {
    children
  } = _ref;
  const [isURIUnique, setIsURIUnique] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true);
  return /*#__PURE__*/React.createElement(UniqueURIScopeContext.Provider, {
    value: {
      isURIUnique,
      setIsURIUnique
    }
  }, children);
};
UniqueURIScopeProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
const useUniqueURIScopeContext = () => {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(UniqueURIScopeContext);
  if (!context) {
    throw Error('useUniqueURIScopeContext must be used within a ContextProvider');
  }
  return context;
};

/**
 * Wraps a componet with UniqueURIScopeProvider
 * @return {node}
 */

const withURIScopeContextProvider = Component => {
  return props => {
    return /*#__PURE__*/React.createElement(UniqueURIScopeProvider, null, /*#__PURE__*/React.createElement(Component, props));
  };
};

/***/ },

/***/ "./modules/commons/hooks/useUser.js"
/*!******************************************!*\
  !*** ./modules/commons/hooks/useUser.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   UserProvider: () => (/* binding */ UserProvider),
/* harmony export */   useUserDispatch: () => (/* binding */ useUserDispatch),
/* harmony export */   useUserState: () => (/* binding */ useUserState)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _mui_material_Fade__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Fade */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_contexts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/contexts */ "./modules/commons/contexts/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var _user_actions__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./user/actions */ "./modules/commons/hooks/user/actions.js");
/* harmony import */ var _user_reducer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./user/reducer */ "./modules/commons/hooks/user/reducer.js");












function UserProvider(_ref) {
  let {
    children
  } = _ref;
  /**
   * @type {[{userEntry: object, userInfo: object}, function]}
   */
  const [userState, userDispatch] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useReducer)(_user_reducer__WEBPACK_IMPORTED_MODULE_11__["default"], {
    userEntry: null,
    userInfo: {}
  });

  // run only first time hook is rendered
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    // TODO `authentification` should go. There's no application loading if that's false as it is
    if (config__WEBPACK_IMPORTED_MODULE_5__["default"].get('entrystore.authentification')) {
      (0,commons_util_user__WEBPACK_IMPORTED_MODULE_8__.getCurrentUserEntry)().then(_ref2 => {
        let {
          userEntry,
          userInfo
        } = _ref2;
        userDispatch({
          type: _user_actions__WEBPACK_IMPORTED_MODULE_10__.AUTH_CURRENT_USER_SUCCESS,
          data: {
            userEntry,
            userInfo
          }
        });
      }).catch(error => {
        const problem = (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_9__.extractProblem)(error);
        if (problem !== commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_9__.UNAUTHORIZED) {
          console.error(error);
          return;
        }

        // can be unauthorized if for example expired or invalid access token
        (0,commons_util_user__WEBPACK_IMPORTED_MODULE_8__.logout)().then(_ref3 => {
          let {
            userEntry,
            userInfo
          } = _ref3;
          userDispatch({
            type: _user_actions__WEBPACK_IMPORTED_MODULE_10__.AUTH_LOGOUT_SUCCESS,
            data: {
              userEntry,
              userInfo
            }
          });
        });
      });
    }
  }, []);
  if (!userState.userEntry) {
    // Should fix with suspense when ready
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement("div", {
      style: {
        // ! move styles elsewhere
        display: 'flex',
        position: 'absolute',
        width: '100%',
        height: '100%',
        justifyContent: 'center',
        alignItems: 'center'
      }
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material_Fade__WEBPACK_IMPORTED_MODULE_4__["default"], {
      in: !userState.userEntry,
      style: {
        transitionDelay: '800ms'
      },
      unmountOnExit: true
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_3__["default"], null)));
  }
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(commons_contexts__WEBPACK_IMPORTED_MODULE_7__.UserStateContext.Provider, {
    value: userState
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(commons_contexts__WEBPACK_IMPORTED_MODULE_7__.UserDispatchContext.Provider, {
    value: userDispatch
  }, children));
}
UserProvider.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
function useUserState() {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(commons_contexts__WEBPACK_IMPORTED_MODULE_7__.UserStateContext);
  if (context === undefined) {
    throw new Error('useUserState must be used within a UserProvider');
  }
  return context;
}
function useUserDispatch() {
  const context = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(commons_contexts__WEBPACK_IMPORTED_MODULE_7__.UserDispatchContext);
  if (context === undefined) {
    throw new Error('useUserDispatch must be used within a UserProvider');
  }
  return context;
}


/***/ },

/***/ "./modules/commons/hooks/useUserPermission.js"
/*!****************************************************!*\
  !*** ./modules/commons/hooks/useUserPermission.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ADMIN_PERMISSION: () => (/* binding */ ADMIN_PERMISSION),
/* harmony export */   ADV_ADMIN_PERMISSION: () => (/* binding */ ADV_ADMIN_PERMISSION),
/* harmony export */   GUEST_PERMISSION: () => (/* binding */ GUEST_PERMISSION),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");






const GUEST_PERMISSION = 'guest';
const ADMIN_PERMISSION = 'admin';
const ADV_ADMIN_PERMISSION = 'advancedAdmin';
const useUserPermission = userEntry => {
  // Should eventually wrap the ViewWrapper component with the context provider instead.
  // That way we would be able to access the context through the hook anywhere.
  const {
    contextId
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useParams)();
  const {
    data: groupEntry,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])(null);
  const hasUserAdminRights = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_3__.hasAdminRights)(userEntry);
  const canAdminister = hasUserAdminRights || (groupEntry === null || groupEntry === void 0 ? void 0 : groupEntry.canAdministerEntry());
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    const context = contextId && commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getContextById(contextId);
    if (!context || hasUserAdminRights) return;
    runAsync((0,commons_util_store__WEBPACK_IMPORTED_MODULE_4__.getGroupWithHomeContext)(context));
  }, [hasUserAdminRights, contextId, runAsync]);
  if ((0,commons_util_user__WEBPACK_IMPORTED_MODULE_3__.isAdmin)(userEntry)) return ADV_ADMIN_PERMISSION;
  if (canAdminister) return ADMIN_PERMISSION;
  return GUEST_PERMISSION;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useUserPermission);

/***/ },

/***/ "./modules/commons/hooks/user/actions.js"
/*!***********************************************!*\
  !*** ./modules/commons/hooks/user/actions.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AUTH_CURRENT_USER: () => (/* binding */ AUTH_CURRENT_USER),
/* harmony export */   AUTH_CURRENT_USER_REQUEST: () => (/* binding */ AUTH_CURRENT_USER_REQUEST),
/* harmony export */   AUTH_CURRENT_USER_SUCCESS: () => (/* binding */ AUTH_CURRENT_USER_SUCCESS),
/* harmony export */   AUTH_LOGIN: () => (/* binding */ AUTH_LOGIN),
/* harmony export */   AUTH_LOGIN_REQUEST: () => (/* binding */ AUTH_LOGIN_REQUEST),
/* harmony export */   AUTH_LOGIN_SUCCESS: () => (/* binding */ AUTH_LOGIN_SUCCESS),
/* harmony export */   AUTH_LOGOUT: () => (/* binding */ AUTH_LOGOUT),
/* harmony export */   AUTH_LOGOUT_SUCCESS: () => (/* binding */ AUTH_LOGOUT_SUCCESS)
/* harmony export */ });
const AUTH_LOGIN = 'AUTH_LOGIN';
const AUTH_LOGIN_REQUEST = 'AUTH_LOGIN_REQUEST';
const AUTH_LOGIN_SUCCESS = 'AUTH_LOGIN_SUCCESS';
const AUTH_LOGOUT = 'AUTH_LOGOUT';
const AUTH_LOGOUT_SUCCESS = 'AUTH_LOGOUT_SUCCESS';
const AUTH_CURRENT_USER = 'AUTH_CURRENT_USER';
const AUTH_CURRENT_USER_REQUEST = 'AUTH_CURRENT_USER_REQUEST';
const AUTH_CURRENT_USER_SUCCESS = 'AUTH_CURRENT_USER_SUCCESS';

/***/ },

/***/ "./modules/commons/hooks/user/reducer.js"
/*!***********************************************!*\
  !*** ./modules/commons/hooks/user/reducer.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ "./modules/commons/hooks/user/actions.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


/**
 * Not really needed
 * @param {*} state
 * @param {*} action
 * @param {*} exec
 */
const reducer = (state, _ref) => {
  let {
    type,
    data
  } = _ref;
  switch (type) {
    case _actions__WEBPACK_IMPORTED_MODULE_1__.AUTH_LOGIN_SUCCESS:
    case _actions__WEBPACK_IMPORTED_MODULE_1__.AUTH_LOGOUT_SUCCESS: // gets the _guest entry
    case _actions__WEBPACK_IMPORTED_MODULE_1__.AUTH_CURRENT_USER_SUCCESS:
      return _objectSpread(_objectSpread({}, state), {}, {
        userEntry: data.userEntry,
        userInfo: data.userInfo
      });
    default:
      return state;
  }
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (reducer);

/***/ },

/***/ "./modules/commons/icons/iconMap.js"
/*!******************************************!*\
  !*** ./modules/commons/icons/iconMap.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_icons_material_Description__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/icons-material/Description */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Description.js");
/* harmony import */ var _mui_icons_material_Public__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material/Public */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js");
/* harmony import */ var _mui_icons_material_Polyline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material/Polyline */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Polyline.js");
/* harmony import */ var _mui_icons_material_Palette__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material/Palette */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Palette.js");
/* harmony import */ var _mui_icons_material_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material/Map */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Map.js");
/* harmony import */ var _mui_icons_material_Layers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material/Layers */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Layers.js");
/* harmony import */ var _mui_icons_material_SettingsInputComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material/SettingsInputComponent */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsInputComponent.js");
/* harmony import */ var _mui_icons_material_Equalizer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/Equalizer */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Equalizer.js");
/* harmony import */ var _mui_icons_material_Security__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material/Security */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Security.js");
/* harmony import */ var _mui_icons_material_Search__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material/Search */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var _mui_icons_material_MenuBook__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/MenuBook */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MenuBook.js");
/* harmony import */ var _mui_icons_material_Build__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material/Build */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Build.js");
/* harmony import */ var _mui_icons_material_BrokenImage__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material/BrokenImage */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BrokenImage.js");
/* harmony import */ var _mui_icons_material_AppRegistration__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/icons-material/AppRegistration */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AppRegistration.js");
/* harmony import */ var _mui_icons_material_AccountTree__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/icons-material/AccountTree */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountTree.js");
/* harmony import */ var _mui_icons_material_BusinessCenter__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material/BusinessCenter */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BusinessCenter.js");
/* harmony import */ var _mui_icons_material_AcUnit__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material/AcUnit */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AcUnit.js");
/* harmony import */ var _mui_icons_material_Accessibility__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/icons-material/Accessibility */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Accessibility.js");
/* harmony import */ var _mui_icons_material_AdminPanelSettings__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/icons-material/AdminPanelSettings */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AdminPanelSettings.js");
/* harmony import */ var _mui_icons_material_Agriculture__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @mui/icons-material/Agriculture */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Agriculture.js");
/* harmony import */ var _mui_icons_material_Air__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @mui/icons-material/Air */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Air.js");
/* harmony import */ var _mui_icons_material_Alarm__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @mui/icons-material/Alarm */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Alarm.js");
/* harmony import */ var _mui_icons_material_Anchor__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @mui/icons-material/Anchor */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Anchor.js");
/* harmony import */ var _mui_icons_material_Apartment__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @mui/icons-material/Apartment */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Apartment.js");
/* harmony import */ var _mui_icons_material_Article__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @mui/icons-material/Article */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Article.js");
/* harmony import */ var _mui_icons_material_Assessment__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @mui/icons-material/Assessment */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assessment.js");
/* harmony import */ var _mui_icons_material_AssistWalker__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @mui/icons-material/AssistWalker */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AssistWalker.js");
/* harmony import */ var _mui_icons_material_Audiotrack__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @mui/icons-material/Audiotrack */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Audiotrack.js");
/* harmony import */ var _mui_icons_material_Bed__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @mui/icons-material/Bed */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bed.js");
/* harmony import */ var _mui_icons_material_Bolt__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @mui/icons-material/Bolt */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bolt.js");
/* harmony import */ var _mui_icons_material_BorderColor__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @mui/icons-material/BorderColor */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BorderColor.js");
/* harmony import */ var _mui_icons_material_Brightness2__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @mui/icons-material/Brightness2 */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brightness2.js");
/* harmony import */ var _mui_icons_material_CalendarMonth__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @mui/icons-material/CalendarMonth */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CalendarMonth.js");
/* harmony import */ var _mui_icons_material_Call__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @mui/icons-material/Call */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Call.js");
/* harmony import */ var _mui_icons_material_ChildFriendly__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! @mui/icons-material/ChildFriendly */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChildFriendly.js");
/* harmony import */ var _mui_icons_material_Circle__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @mui/icons-material/Circle */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Circle.js");
/* harmony import */ var _mui_icons_material_CloudySnowing__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @mui/icons-material/CloudySnowing */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CloudySnowing.js");
/* harmony import */ var _mui_icons_material_Commute__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @mui/icons-material/Commute */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Commute.js");
/* harmony import */ var _mui_icons_material_Compost__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @mui/icons-material/Compost */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Compost.js");
/* harmony import */ var _mui_icons_material_ContentPaste__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! @mui/icons-material/ContentPaste */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentPaste.js");
/* harmony import */ var _mui_icons_material_Cottage__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! @mui/icons-material/Cottage */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cottage.js");
/* harmony import */ var _mui_icons_material_Deck__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! @mui/icons-material/Deck */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Deck.js");
/* harmony import */ var _mui_icons_material_DepartureBoard__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! @mui/icons-material/DepartureBoard */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DepartureBoard.js");
/* harmony import */ var _mui_icons_material_DeviceThermostat__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! @mui/icons-material/DeviceThermostat */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DeviceThermostat.js");
/* harmony import */ var _mui_icons_material_Dining__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! @mui/icons-material/Dining */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Dining.js");
/* harmony import */ var _mui_icons_material_DirectionsBike__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! @mui/icons-material/DirectionsBike */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBike.js");
/* harmony import */ var _mui_icons_material_DirectionsBus__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! @mui/icons-material/DirectionsBus */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBus.js");
/* harmony import */ var _mui_icons_material_DirectionsCar__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! @mui/icons-material/DirectionsCar */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsCar.js");
/* harmony import */ var _mui_icons_material_DirectionsRun__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! @mui/icons-material/DirectionsRun */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsRun.js");
/* harmony import */ var _mui_icons_material_DirectionsSubway__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! @mui/icons-material/DirectionsSubway */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsSubway.js");
/* harmony import */ var _mui_icons_material_DirectionsWalk__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! @mui/icons-material/DirectionsWalk */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsWalk.js");
/* harmony import */ var _mui_icons_material_Discount__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! @mui/icons-material/Discount */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Discount.js");
/* harmony import */ var _mui_icons_material_EditDocument__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! @mui/icons-material/EditDocument */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EditDocument.js");
/* harmony import */ var _mui_icons_material_Elderly__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! @mui/icons-material/Elderly */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Elderly.js");
/* harmony import */ var _mui_icons_material_EmergencyShare__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! @mui/icons-material/EmergencyShare */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmergencyShare.js");
/* harmony import */ var _mui_icons_material_EmojiEvents__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! @mui/icons-material/EmojiEvents */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiEvents.js");
/* harmony import */ var _mui_icons_material_EmojiFlags__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! @mui/icons-material/EmojiFlags */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiFlags.js");
/* harmony import */ var _mui_icons_material_EmojiFoodBeverage__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! @mui/icons-material/EmojiFoodBeverage */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiFoodBeverage.js");
/* harmony import */ var _mui_icons_material_EscalatorWarning__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! @mui/icons-material/EscalatorWarning */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EscalatorWarning.js");
/* harmony import */ var _mui_icons_material_FactCheck__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! @mui/icons-material/FactCheck */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FactCheck.js");
/* harmony import */ var _mui_icons_material_Factory__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! @mui/icons-material/Factory */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Factory.js");
/* harmony import */ var _mui_icons_material_FastForward__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! @mui/icons-material/FastForward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FastForward.js");
/* harmony import */ var _mui_icons_material_Favorite__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! @mui/icons-material/Favorite */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Favorite.js");
/* harmony import */ var _mui_icons_material_FilterVintage__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! @mui/icons-material/FilterVintage */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterVintage.js");
/* harmony import */ var _mui_icons_material_Fireplace__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! @mui/icons-material/Fireplace */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Fireplace.js");
/* harmony import */ var _mui_icons_material_Flatware__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! @mui/icons-material/Flatware */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Flatware.js");
/* harmony import */ var _mui_icons_material_Flight__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! @mui/icons-material/Flight */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Flight.js");
/* harmony import */ var _mui_icons_material_Forest__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! @mui/icons-material/Forest */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Forest.js");
/* harmony import */ var _mui_icons_material_FrontHand__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! @mui/icons-material/FrontHand */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FrontHand.js");
/* harmony import */ var _mui_icons_material_Groups__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! @mui/icons-material/Groups */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Groups.js");
/* harmony import */ var _mui_icons_material_HealthAndSafety__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! @mui/icons-material/HealthAndSafety */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HealthAndSafety.js");
/* harmony import */ var _mui_icons_material_KeyboardCommandKey__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! @mui/icons-material/KeyboardCommandKey */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardCommandKey.js");
/* harmony import */ var _mui_icons_material_LocalFlorist__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! @mui/icons-material/LocalFlorist */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalFlorist.js");
/* harmony import */ var _mui_icons_material_LocalPolice__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! @mui/icons-material/LocalPolice */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalPolice.js");
/* harmony import */ var _mui_icons_material_LocalShipping__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! @mui/icons-material/LocalShipping */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalShipping.js");
/* harmony import */ var _mui_icons_material_LockOutline__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! @mui/icons-material/LockOutline */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOutline.js");
/* harmony import */ var _mui_icons_material_Markunread__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! @mui/icons-material/Markunread */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Markunread.js");
/* harmony import */ var _mui_icons_material_Moving__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! @mui/icons-material/Moving */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Moving.js");
/* harmony import */ var _mui_icons_material_MusicVideo__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! @mui/icons-material/MusicVideo */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MusicVideo.js");
/* harmony import */ var _mui_icons_material_Nightlight__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! @mui/icons-material/Nightlight */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Nightlight.js");
/* harmony import */ var _mui_icons_material_PedalBike__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! @mui/icons-material/PedalBike */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PedalBike.js");
/* harmony import */ var _mui_icons_material_People__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! @mui/icons-material/People */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/People.js");
/* harmony import */ var _mui_icons_material_Pets__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! @mui/icons-material/Pets */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Pets.js");
/* harmony import */ var _mui_icons_material_PhotoCamera__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! @mui/icons-material/PhotoCamera */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PhotoCamera.js");
/* harmony import */ var _mui_icons_material_Place__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! @mui/icons-material/Place */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Place.js");
/* harmony import */ var _mui_icons_material_PlayCircle__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! @mui/icons-material/PlayCircle */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PlayCircle.js");
/* harmony import */ var _mui_icons_material_Pool__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! @mui/icons-material/Pool */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Pool.js");
/* harmony import */ var _mui_icons_material_Portrait__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! @mui/icons-material/Portrait */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Portrait.js");
/* harmony import */ var _mui_icons_material_Psychology__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! @mui/icons-material/Psychology */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Psychology.js");
/* harmony import */ var _mui_icons_material_Recycling__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! @mui/icons-material/Recycling */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Recycling.js");
/* harmony import */ var _mui_icons_material_Report__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! @mui/icons-material/Report */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Report.js");
/* harmony import */ var _mui_icons_material_Sailing__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! @mui/icons-material/Sailing */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Sailing.js");
/* harmony import */ var _mui_icons_material_School__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! @mui/icons-material/School */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/School.js");
/* harmony import */ var _mui_icons_material_Science__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! @mui/icons-material/Science */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Science.js");
/* harmony import */ var _mui_icons_material_SettingsInputAntenna__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! @mui/icons-material/SettingsInputAntenna */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsInputAntenna.js");
/* harmony import */ var _mui_icons_material_SettingsVoice__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! @mui/icons-material/SettingsVoice */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsVoice.js");
/* harmony import */ var _mui_icons_material_ShoppingBag__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! @mui/icons-material/ShoppingBag */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShoppingBag.js");
/* harmony import */ var _mui_icons_material_ShoppingCart__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! @mui/icons-material/ShoppingCart */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShoppingCart.js");
/* harmony import */ var _mui_icons_material_Signpost__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! @mui/icons-material/Signpost */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Signpost.js");
/* harmony import */ var _mui_icons_material_Spoke__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! @mui/icons-material/Spoke */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Spoke.js");
/* harmony import */ var _mui_icons_material_SportsTennis__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! @mui/icons-material/SportsTennis */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SportsTennis.js");
/* harmony import */ var _mui_icons_material_StackedLineChart__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! @mui/icons-material/StackedLineChart */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/StackedLineChart.js");
/* harmony import */ var _mui_icons_material_Star__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! @mui/icons-material/Star */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Star.js");
/* harmony import */ var _mui_icons_material_StarBorder__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! @mui/icons-material/StarBorder */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/StarBorder.js");
/* harmony import */ var _mui_icons_material_TagFaces__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! @mui/icons-material/TagFaces */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TagFaces.js");
/* harmony import */ var _mui_icons_material_Terrain__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! @mui/icons-material/Terrain */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Terrain.js");
/* harmony import */ var _mui_icons_material_TheaterComedy__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! @mui/icons-material/TheaterComedy */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TheaterComedy.js");
/* harmony import */ var _mui_icons_material_Token__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! @mui/icons-material/Token */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Token.js");
/* harmony import */ var _mui_icons_material_Transcribe__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! @mui/icons-material/Transcribe */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Transcribe.js");
/* harmony import */ var _mui_icons_material_VpnKey__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! @mui/icons-material/VpnKey */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnKey.js");
/* harmony import */ var _mui_icons_material_Water__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! @mui/icons-material/Water */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Water.js");
/* harmony import */ var _mui_icons_material_WaterDrop__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! @mui/icons-material/WaterDrop */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WaterDrop.js");
/* harmony import */ var _mui_icons_material_Brush__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! @mui/icons-material/Brush */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brush.js");
/* harmony import */ var _mui_icons_material_Museum__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! @mui/icons-material/Museum */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Museum.js");
/* harmony import */ var _mui_icons_material_MusicNote__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! @mui/icons-material/MusicNote */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MusicNote.js");
/* harmony import */ var _mui_icons_material_Movie__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! @mui/icons-material/Movie */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Movie.js");
/* harmony import */ var _mui_icons_material_Image__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! @mui/icons-material/Image */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Image.js");
/* harmony import */ var _mui_icons_material_ColorLens__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! @mui/icons-material/ColorLens */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ColorLens.js");
/* harmony import */ var _mui_icons_material_Nature__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! @mui/icons-material/Nature */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Nature.js");
/* harmony import */ var _mui_icons_material_Park__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! @mui/icons-material/Park */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Park.js");
/* harmony import */ var _mui_icons_material_Grass__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! @mui/icons-material/Grass */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Grass.js");
/* harmony import */ var _mui_icons_material_Spa__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! @mui/icons-material/Spa */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Spa.js");
/* harmony import */ var _mui_icons_material_LocalHospital__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! @mui/icons-material/LocalHospital */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalHospital.js");
/* harmony import */ var _mui_icons_material_MedicalServices__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(/*! @mui/icons-material/MedicalServices */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MedicalServices.js");
/* harmony import */ var _mui_icons_material_Vaccines__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! @mui/icons-material/Vaccines */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Vaccines.js");
/* harmony import */ var _mui_icons_material_LocalPharmacy__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! @mui/icons-material/LocalPharmacy */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalPharmacy.js");
/* harmony import */ var _mui_icons_material_Medication__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(/*! @mui/icons-material/Medication */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Medication.js");
/* harmony import */ var _mui_icons_material_Healing__WEBPACK_IMPORTED_MODULE_127__ = __webpack_require__(/*! @mui/icons-material/Healing */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Healing.js");
/* harmony import */ var _mui_icons_material_ElderlyWoman__WEBPACK_IMPORTED_MODULE_128__ = __webpack_require__(/*! @mui/icons-material/ElderlyWoman */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ElderlyWoman.js");
/* harmony import */ var _mui_icons_material_Book__WEBPACK_IMPORTED_MODULE_129__ = __webpack_require__(/*! @mui/icons-material/Book */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Book.js");
/* harmony import */ var _mui_icons_material_LocalLibrary__WEBPACK_IMPORTED_MODULE_130__ = __webpack_require__(/*! @mui/icons-material/LocalLibrary */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalLibrary.js");
/* harmony import */ var _mui_icons_material_Class__WEBPACK_IMPORTED_MODULE_131__ = __webpack_require__(/*! @mui/icons-material/Class */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Class.js");
/* harmony import */ var _mui_icons_material_Lightbulb__WEBPACK_IMPORTED_MODULE_132__ = __webpack_require__(/*! @mui/icons-material/Lightbulb */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Lightbulb.js");
/* harmony import */ var _mui_icons_material_EditNote__WEBPACK_IMPORTED_MODULE_133__ = __webpack_require__(/*! @mui/icons-material/EditNote */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EditNote.js");
/* harmony import */ var _mui_icons_material_Assignment__WEBPACK_IMPORTED_MODULE_134__ = __webpack_require__(/*! @mui/icons-material/Assignment */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assignment.js");
/* harmony import */ var _mui_icons_material_Quiz__WEBPACK_IMPORTED_MODULE_135__ = __webpack_require__(/*! @mui/icons-material/Quiz */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Quiz.js");
/* harmony import */ var _mui_icons_material_Calculate__WEBPACK_IMPORTED_MODULE_136__ = __webpack_require__(/*! @mui/icons-material/Calculate */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Calculate.js");
/* harmony import */ var _mui_icons_material_Train__WEBPACK_IMPORTED_MODULE_137__ = __webpack_require__(/*! @mui/icons-material/Train */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Train.js");
/* harmony import */ var _mui_icons_material_LocalTaxi__WEBPACK_IMPORTED_MODULE_138__ = __webpack_require__(/*! @mui/icons-material/LocalTaxi */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalTaxi.js");
/* harmony import */ var _mui_icons_material_DirectionsBoat__WEBPACK_IMPORTED_MODULE_139__ = __webpack_require__(/*! @mui/icons-material/DirectionsBoat */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBoat.js");
/* harmony import */ var _mui_icons_material_LocalParking__WEBPACK_IMPORTED_MODULE_140__ = __webpack_require__(/*! @mui/icons-material/LocalParking */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalParking.js");
/* harmony import */ var _mui_icons_material_Traffic__WEBPACK_IMPORTED_MODULE_141__ = __webpack_require__(/*! @mui/icons-material/Traffic */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Traffic.js");
/* harmony import */ var _mui_icons_material_AccountBalance__WEBPACK_IMPORTED_MODULE_142__ = __webpack_require__(/*! @mui/icons-material/AccountBalance */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountBalance.js");
/* harmony import */ var _mui_icons_material_Gavel__WEBPACK_IMPORTED_MODULE_143__ = __webpack_require__(/*! @mui/icons-material/Gavel */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Gavel.js");
/* harmony import */ var _mui_icons_material_HowToVote__WEBPACK_IMPORTED_MODULE_144__ = __webpack_require__(/*! @mui/icons-material/HowToVote */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HowToVote.js");
/* harmony import */ var _mui_icons_material_Ballot__WEBPACK_IMPORTED_MODULE_145__ = __webpack_require__(/*! @mui/icons-material/Ballot */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Ballot.js");
/* harmony import */ var _mui_icons_material_Business__WEBPACK_IMPORTED_MODULE_146__ = __webpack_require__(/*! @mui/icons-material/Business */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Business.js");
/* harmony import */ var _mui_icons_material_CorporateFare__WEBPACK_IMPORTED_MODULE_147__ = __webpack_require__(/*! @mui/icons-material/CorporateFare */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CorporateFare.js");
/* harmony import */ var _mui_icons_material_Work__WEBPACK_IMPORTED_MODULE_148__ = __webpack_require__(/*! @mui/icons-material/Work */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Work.js");
/* harmony import */ var _mui_icons_material_AssignmentInd__WEBPACK_IMPORTED_MODULE_149__ = __webpack_require__(/*! @mui/icons-material/AssignmentInd */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AssignmentInd.js");
/* harmony import */ var _mui_icons_material_Policy__WEBPACK_IMPORTED_MODULE_150__ = __webpack_require__(/*! @mui/icons-material/Policy */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Policy.js");
/* harmony import */ var _mui_icons_material_VerifiedUser__WEBPACK_IMPORTED_MODULE_151__ = __webpack_require__(/*! @mui/icons-material/VerifiedUser */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VerifiedUser.js");
/* harmony import */ var _mui_icons_material_AccountBalanceWallet__WEBPACK_IMPORTED_MODULE_152__ = __webpack_require__(/*! @mui/icons-material/AccountBalanceWallet */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountBalanceWallet.js");
/* harmony import */ var _mui_icons_material_Payments__WEBPACK_IMPORTED_MODULE_153__ = __webpack_require__(/*! @mui/icons-material/Payments */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Payments.js");
/* harmony import */ var _mui_icons_material_AttachMoney__WEBPACK_IMPORTED_MODULE_154__ = __webpack_require__(/*! @mui/icons-material/AttachMoney */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AttachMoney.js");
/* harmony import */ var _mui_icons_material_BarChart__WEBPACK_IMPORTED_MODULE_155__ = __webpack_require__(/*! @mui/icons-material/BarChart */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BarChart.js");
/* harmony import */ var _mui_icons_material_PieChart__WEBPACK_IMPORTED_MODULE_156__ = __webpack_require__(/*! @mui/icons-material/PieChart */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PieChart.js");
/* harmony import */ var _mui_icons_material_ShowChart__WEBPACK_IMPORTED_MODULE_157__ = __webpack_require__(/*! @mui/icons-material/ShowChart */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShowChart.js");
/* harmony import */ var _mui_icons_material_TrendingUp__WEBPACK_IMPORTED_MODULE_158__ = __webpack_require__(/*! @mui/icons-material/TrendingUp */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TrendingUp.js");
/* harmony import */ var _mui_icons_material_Savings__WEBPACK_IMPORTED_MODULE_159__ = __webpack_require__(/*! @mui/icons-material/Savings */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Savings.js");
/* harmony import */ var _mui_icons_material_Receipt__WEBPACK_IMPORTED_MODULE_160__ = __webpack_require__(/*! @mui/icons-material/Receipt */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Receipt.js");
/* harmony import */ var _mui_icons_material_MonetizationOn__WEBPACK_IMPORTED_MODULE_161__ = __webpack_require__(/*! @mui/icons-material/MonetizationOn */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MonetizationOn.js");
/* harmony import */ var _mui_icons_material_FamilyRestroom__WEBPACK_IMPORTED_MODULE_162__ = __webpack_require__(/*! @mui/icons-material/FamilyRestroom */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FamilyRestroom.js");
/* harmony import */ var _mui_icons_material_ChildCare__WEBPACK_IMPORTED_MODULE_163__ = __webpack_require__(/*! @mui/icons-material/ChildCare */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChildCare.js");
/* harmony import */ var _mui_icons_material_Group__WEBPACK_IMPORTED_MODULE_164__ = __webpack_require__(/*! @mui/icons-material/Group */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js");
/* harmony import */ var _mui_icons_material_Diversity1__WEBPACK_IMPORTED_MODULE_165__ = __webpack_require__(/*! @mui/icons-material/Diversity1 */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Diversity1.js");
/* harmony import */ var _mui_icons_material_VolunteerActivism__WEBPACK_IMPORTED_MODULE_166__ = __webpack_require__(/*! @mui/icons-material/VolunteerActivism */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VolunteerActivism.js");
/* harmony import */ var _mui_icons_material_Handshake__WEBPACK_IMPORTED_MODULE_167__ = __webpack_require__(/*! @mui/icons-material/Handshake */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Handshake.js");
/* harmony import */ var _mui_icons_material_HomeRepairService__WEBPACK_IMPORTED_MODULE_168__ = __webpack_require__(/*! @mui/icons-material/HomeRepairService */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HomeRepairService.js");
/* harmony import */ var _mui_icons_material_BatteryChargingFull__WEBPACK_IMPORTED_MODULE_169__ = __webpack_require__(/*! @mui/icons-material/BatteryChargingFull */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BatteryChargingFull.js");
/* harmony import */ var _mui_icons_material_SolarPower__WEBPACK_IMPORTED_MODULE_170__ = __webpack_require__(/*! @mui/icons-material/SolarPower */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SolarPower.js");
/* harmony import */ var _mui_icons_material_WindPower__WEBPACK_IMPORTED_MODULE_171__ = __webpack_require__(/*! @mui/icons-material/WindPower */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WindPower.js");
/* harmony import */ var _mui_icons_material_Construction__WEBPACK_IMPORTED_MODULE_172__ = __webpack_require__(/*! @mui/icons-material/Construction */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Construction.js");
/* harmony import */ var _mui_icons_material_Engineering__WEBPACK_IMPORTED_MODULE_173__ = __webpack_require__(/*! @mui/icons-material/Engineering */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Engineering.js");
/* harmony import */ var _mui_icons_material_ElectricalServices__WEBPACK_IMPORTED_MODULE_174__ = __webpack_require__(/*! @mui/icons-material/ElectricalServices */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ElectricalServices.js");
/* harmony import */ var _mui_icons_material_OilBarrel__WEBPACK_IMPORTED_MODULE_175__ = __webpack_require__(/*! @mui/icons-material/OilBarrel */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OilBarrel.js");
/* harmony import */ var _mui_icons_material_LocalHotel__WEBPACK_IMPORTED_MODULE_176__ = __webpack_require__(/*! @mui/icons-material/LocalHotel */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalHotel.js");
/* harmony import */ var _mui_icons_material_LocalSee__WEBPACK_IMPORTED_MODULE_177__ = __webpack_require__(/*! @mui/icons-material/LocalSee */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalSee.js");
/* harmony import */ var _mui_icons_material_Explore__WEBPACK_IMPORTED_MODULE_178__ = __webpack_require__(/*! @mui/icons-material/Explore */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Explore.js");
/* harmony import */ var _mui_icons_material_SportsSoccer__WEBPACK_IMPORTED_MODULE_179__ = __webpack_require__(/*! @mui/icons-material/SportsSoccer */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SportsSoccer.js");
/* harmony import */ var _mui_icons_material_FitnessCenter__WEBPACK_IMPORTED_MODULE_180__ = __webpack_require__(/*! @mui/icons-material/FitnessCenter */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FitnessCenter.js");
/* harmony import */ var _mui_icons_material_Restaurant__WEBPACK_IMPORTED_MODULE_181__ = __webpack_require__(/*! @mui/icons-material/Restaurant */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Restaurant.js");
/* harmony import */ var _mui_icons_material_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_182__ = __webpack_require__(/*! @mui/icons-material/LocalGroceryStore */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalGroceryStore.js");
/* harmony import */ var _mui_icons_material_LocalMall__WEBPACK_IMPORTED_MODULE_183__ = __webpack_require__(/*! @mui/icons-material/LocalMall */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalMall.js");
/* harmony import */ var _mui_icons_material_Power__WEBPACK_IMPORTED_MODULE_184__ = __webpack_require__(/*! @mui/icons-material/Power */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Power.js");

























































































































































































/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  // Culture and Art
  art: _mui_icons_material_Palette__WEBPACK_IMPORTED_MODULE_3__["default"],
  brush: _mui_icons_material_Brush__WEBPACK_IMPORTED_MODULE_112__["default"],
  museum: _mui_icons_material_Museum__WEBPACK_IMPORTED_MODULE_113__["default"],
  comedy: _mui_icons_material_TheaterComedy__WEBPACK_IMPORTED_MODULE_106__["default"],
  'music-note': _mui_icons_material_MusicNote__WEBPACK_IMPORTED_MODULE_114__["default"],
  audiotrack: _mui_icons_material_Audiotrack__WEBPACK_IMPORTED_MODULE_27__["default"],
  movie: _mui_icons_material_Movie__WEBPACK_IMPORTED_MODULE_115__["default"],
  'photo-camera': _mui_icons_material_PhotoCamera__WEBPACK_IMPORTED_MODULE_83__["default"],
  image: _mui_icons_material_Image__WEBPACK_IMPORTED_MODULE_116__["default"],
  'color-lens': _mui_icons_material_ColorLens__WEBPACK_IMPORTED_MODULE_117__["default"],
  // Environment and Nature
  eco: _mui_icons_material_Compost__WEBPACK_IMPORTED_MODULE_38__["default"],
  // Could not find an Eco icon
  nature: _mui_icons_material_Nature__WEBPACK_IMPORTED_MODULE_118__["default"],
  recycling: _mui_icons_material_Recycling__WEBPACK_IMPORTED_MODULE_89__["default"],
  forest: _mui_icons_material_Forest__WEBPACK_IMPORTED_MODULE_67__["default"],
  'water-drop': _mui_icons_material_WaterDrop__WEBPACK_IMPORTED_MODULE_111__["default"],
  park: _mui_icons_material_Park__WEBPACK_IMPORTED_MODULE_119__["default"],
  grass: _mui_icons_material_Grass__WEBPACK_IMPORTED_MODULE_120__["default"],
  'local-florist': _mui_icons_material_LocalFlorist__WEBPACK_IMPORTED_MODULE_72__["default"],
  spa: _mui_icons_material_Spa__WEBPACK_IMPORTED_MODULE_121__["default"],
  public: _mui_icons_material_Public__WEBPACK_IMPORTED_MODULE_1__["default"],
  // Health and Healthcare
  'local-hospital': _mui_icons_material_LocalHospital__WEBPACK_IMPORTED_MODULE_122__["default"],
  'medical-services': _mui_icons_material_MedicalServices__WEBPACK_IMPORTED_MODULE_123__["default"],
  'health-and-safety': _mui_icons_material_HealthAndSafety__WEBPACK_IMPORTED_MODULE_70__["default"],
  vaccines: _mui_icons_material_Vaccines__WEBPACK_IMPORTED_MODULE_124__["default"],
  'local-pharmacy': _mui_icons_material_LocalPharmacy__WEBPACK_IMPORTED_MODULE_125__["default"],
  medication: _mui_icons_material_Medication__WEBPACK_IMPORTED_MODULE_126__["default"],
  favorite: _mui_icons_material_Favorite__WEBPACK_IMPORTED_MODULE_62__["default"],
  healing: _mui_icons_material_Healing__WEBPACK_IMPORTED_MODULE_127__["default"],
  accessibility: _mui_icons_material_Accessibility__WEBPACK_IMPORTED_MODULE_17__["default"],
  'elderly-woman': _mui_icons_material_ElderlyWoman__WEBPACK_IMPORTED_MODULE_128__["default"],
  // Education and Knowledge
  school: _mui_icons_material_School__WEBPACK_IMPORTED_MODULE_92__["default"],
  book: _mui_icons_material_Book__WEBPACK_IMPORTED_MODULE_129__["default"],
  'local-library': _mui_icons_material_LocalLibrary__WEBPACK_IMPORTED_MODULE_130__["default"],
  class: _mui_icons_material_Class__WEBPACK_IMPORTED_MODULE_131__["default"],
  science: _mui_icons_material_Science__WEBPACK_IMPORTED_MODULE_93__["default"],
  lightbulb: _mui_icons_material_Lightbulb__WEBPACK_IMPORTED_MODULE_132__["default"],
  'edit-note': _mui_icons_material_EditNote__WEBPACK_IMPORTED_MODULE_133__["default"],
  assignment: _mui_icons_material_Assignment__WEBPACK_IMPORTED_MODULE_134__["default"],
  quiz: _mui_icons_material_Quiz__WEBPACK_IMPORTED_MODULE_135__["default"],
  calculate: _mui_icons_material_Calculate__WEBPACK_IMPORTED_MODULE_136__["default"],
  // Transportation and Mobility
  'direction-bus': _mui_icons_material_DirectionsBus__WEBPACK_IMPORTED_MODULE_46__["default"],
  train: _mui_icons_material_Train__WEBPACK_IMPORTED_MODULE_137__["default"],
  'local-taxi': _mui_icons_material_LocalTaxi__WEBPACK_IMPORTED_MODULE_138__["default"],
  flight: _mui_icons_material_Flight__WEBPACK_IMPORTED_MODULE_66__["default"],
  'directions-bike': _mui_icons_material_DirectionsBike__WEBPACK_IMPORTED_MODULE_45__["default"],
  'directions-car': _mui_icons_material_DirectionsCar__WEBPACK_IMPORTED_MODULE_47__["default"],
  'directions-boat': _mui_icons_material_DirectionsBoat__WEBPACK_IMPORTED_MODULE_139__["default"],
  'local-parking': _mui_icons_material_LocalParking__WEBPACK_IMPORTED_MODULE_140__["default"],
  traffic: _mui_icons_material_Traffic__WEBPACK_IMPORTED_MODULE_141__["default"],
  commute: _mui_icons_material_Commute__WEBPACK_IMPORTED_MODULE_37__["default"],
  // Administration and Governance
  'account-balance': _mui_icons_material_AccountBalance__WEBPACK_IMPORTED_MODULE_142__["default"],
  gavel: _mui_icons_material_Gavel__WEBPACK_IMPORTED_MODULE_143__["default"],
  'how-to-vote': _mui_icons_material_HowToVote__WEBPACK_IMPORTED_MODULE_144__["default"],
  ballot: _mui_icons_material_Ballot__WEBPACK_IMPORTED_MODULE_145__["default"],
  bussiness: _mui_icons_material_Business__WEBPACK_IMPORTED_MODULE_146__["default"],
  'corporate-fare': _mui_icons_material_CorporateFare__WEBPACK_IMPORTED_MODULE_147__["default"],
  work: _mui_icons_material_Work__WEBPACK_IMPORTED_MODULE_148__["default"],
  'assignment-ind': _mui_icons_material_AssignmentInd__WEBPACK_IMPORTED_MODULE_149__["default"],
  policy: _mui_icons_material_Policy__WEBPACK_IMPORTED_MODULE_150__["default"],
  'verified-user': _mui_icons_material_VerifiedUser__WEBPACK_IMPORTED_MODULE_151__["default"],
  // Economy and Finance
  'account-balance-wallet': _mui_icons_material_AccountBalanceWallet__WEBPACK_IMPORTED_MODULE_152__["default"],
  payments: _mui_icons_material_Payments__WEBPACK_IMPORTED_MODULE_153__["default"],
  'attach-money': _mui_icons_material_AttachMoney__WEBPACK_IMPORTED_MODULE_154__["default"],
  'bar-chart': _mui_icons_material_BarChart__WEBPACK_IMPORTED_MODULE_155__["default"],
  'pie-chart': _mui_icons_material_PieChart__WEBPACK_IMPORTED_MODULE_156__["default"],
  'show-chart': _mui_icons_material_ShowChart__WEBPACK_IMPORTED_MODULE_157__["default"],
  'trending-up': _mui_icons_material_TrendingUp__WEBPACK_IMPORTED_MODULE_158__["default"],
  savings: _mui_icons_material_Savings__WEBPACK_IMPORTED_MODULE_159__["default"],
  receipt: _mui_icons_material_Receipt__WEBPACK_IMPORTED_MODULE_160__["default"],
  'monetization-on': _mui_icons_material_MonetizationOn__WEBPACK_IMPORTED_MODULE_161__["default"],
  // Social Services and Society
  'family-restroom': _mui_icons_material_FamilyRestroom__WEBPACK_IMPORTED_MODULE_162__["default"],
  'child-care': _mui_icons_material_ChildCare__WEBPACK_IMPORTED_MODULE_163__["default"],
  people: _mui_icons_material_People__WEBPACK_IMPORTED_MODULE_81__["default"],
  group: _mui_icons_material_Group__WEBPACK_IMPORTED_MODULE_164__["default"],
  diversity: _mui_icons_material_Diversity1__WEBPACK_IMPORTED_MODULE_165__["default"],
  'volunteer-activism': _mui_icons_material_VolunteerActivism__WEBPACK_IMPORTED_MODULE_166__["default"],
  handshake: _mui_icons_material_Handshake__WEBPACK_IMPORTED_MODULE_167__["default"],
  'assist-walker': _mui_icons_material_AssistWalker__WEBPACK_IMPORTED_MODULE_26__["default"],
  pets: _mui_icons_material_Pets__WEBPACK_IMPORTED_MODULE_82__["default"],
  'home-repair-service': _mui_icons_material_HomeRepairService__WEBPACK_IMPORTED_MODULE_168__["default"],
  // Energy and Infrastructure
  bolt: _mui_icons_material_Bolt__WEBPACK_IMPORTED_MODULE_29__["default"],
  power: _mui_icons_material_Power__WEBPACK_IMPORTED_MODULE_184__["default"],
  'battery-charging-full': _mui_icons_material_BatteryChargingFull__WEBPACK_IMPORTED_MODULE_169__["default"],
  'solar-power': _mui_icons_material_SolarPower__WEBPACK_IMPORTED_MODULE_170__["default"],
  'wind-power': _mui_icons_material_WindPower__WEBPACK_IMPORTED_MODULE_171__["default"],
  factory: _mui_icons_material_Factory__WEBPACK_IMPORTED_MODULE_60__["default"],
  construction: _mui_icons_material_Construction__WEBPACK_IMPORTED_MODULE_172__["default"],
  engineering: _mui_icons_material_Engineering__WEBPACK_IMPORTED_MODULE_173__["default"],
  'electrical-services': _mui_icons_material_ElectricalServices__WEBPACK_IMPORTED_MODULE_174__["default"],
  'oil-barrel': _mui_icons_material_OilBarrel__WEBPACK_IMPORTED_MODULE_175__["default"],
  // Tourism and Recreation
  'local-hotel': _mui_icons_material_LocalHotel__WEBPACK_IMPORTED_MODULE_176__["default"],
  'local-see': _mui_icons_material_LocalSee__WEBPACK_IMPORTED_MODULE_177__["default"],
  map: _mui_icons_material_Map__WEBPACK_IMPORTED_MODULE_4__["default"],
  explore: _mui_icons_material_Explore__WEBPACK_IMPORTED_MODULE_178__["default"],
  'sports-soccer': _mui_icons_material_SportsSoccer__WEBPACK_IMPORTED_MODULE_179__["default"],
  'fitness-center': _mui_icons_material_FitnessCenter__WEBPACK_IMPORTED_MODULE_180__["default"],
  pool: _mui_icons_material_Pool__WEBPACK_IMPORTED_MODULE_86__["default"],
  restaurant: _mui_icons_material_Restaurant__WEBPACK_IMPORTED_MODULE_181__["default"],
  'local-grocery-store': _mui_icons_material_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_182__["default"],
  'local-mall': _mui_icons_material_LocalMall__WEBPACK_IMPORTED_MODULE_183__["default"],
  'ac-unit': _mui_icons_material_AcUnit__WEBPACK_IMPORTED_MODULE_16__["default"],
  'admin-panel-settings': _mui_icons_material_AdminPanelSettings__WEBPACK_IMPORTED_MODULE_18__["default"],
  agriculture: _mui_icons_material_Agriculture__WEBPACK_IMPORTED_MODULE_19__["default"],
  air: _mui_icons_material_Air__WEBPACK_IMPORTED_MODULE_20__["default"],
  alarm: _mui_icons_material_Alarm__WEBPACK_IMPORTED_MODULE_21__["default"],
  anchor: _mui_icons_material_Anchor__WEBPACK_IMPORTED_MODULE_22__["default"],
  apartment: _mui_icons_material_Apartment__WEBPACK_IMPORTED_MODULE_23__["default"],
  article: _mui_icons_material_Article__WEBPACK_IMPORTED_MODULE_24__["default"],
  assessment: _mui_icons_material_Assessment__WEBPACK_IMPORTED_MODULE_25__["default"],
  bed: _mui_icons_material_Bed__WEBPACK_IMPORTED_MODULE_28__["default"],
  'border-color': _mui_icons_material_BorderColor__WEBPACK_IMPORTED_MODULE_30__["default"],
  brightness: _mui_icons_material_Brightness2__WEBPACK_IMPORTED_MODULE_31__["default"],
  'calendar-month': _mui_icons_material_CalendarMonth__WEBPACK_IMPORTED_MODULE_32__["default"],
  call: _mui_icons_material_Call__WEBPACK_IMPORTED_MODULE_33__["default"],
  'child-friendly': _mui_icons_material_ChildFriendly__WEBPACK_IMPORTED_MODULE_34__["default"],
  circle: _mui_icons_material_Circle__WEBPACK_IMPORTED_MODULE_35__["default"],
  'cloudy-snowing': _mui_icons_material_CloudySnowing__WEBPACK_IMPORTED_MODULE_36__["default"],
  compost: _mui_icons_material_Compost__WEBPACK_IMPORTED_MODULE_38__["default"],
  'content-paste': _mui_icons_material_ContentPaste__WEBPACK_IMPORTED_MODULE_39__["default"],
  cottage: _mui_icons_material_Cottage__WEBPACK_IMPORTED_MODULE_40__["default"],
  deck: _mui_icons_material_Deck__WEBPACK_IMPORTED_MODULE_41__["default"],
  'departure-board': _mui_icons_material_DepartureBoard__WEBPACK_IMPORTED_MODULE_42__["default"],
  thermostat: _mui_icons_material_DeviceThermostat__WEBPACK_IMPORTED_MODULE_43__["default"],
  dining: _mui_icons_material_Dining__WEBPACK_IMPORTED_MODULE_44__["default"],
  run: _mui_icons_material_DirectionsRun__WEBPACK_IMPORTED_MODULE_48__["default"],
  subway: _mui_icons_material_DirectionsSubway__WEBPACK_IMPORTED_MODULE_49__["default"],
  walk: _mui_icons_material_DirectionsWalk__WEBPACK_IMPORTED_MODULE_50__["default"],
  discount: _mui_icons_material_Discount__WEBPACK_IMPORTED_MODULE_51__["default"],
  'edit-document': _mui_icons_material_EditDocument__WEBPACK_IMPORTED_MODULE_52__["default"],
  elderly: _mui_icons_material_Elderly__WEBPACK_IMPORTED_MODULE_53__["default"],
  share: _mui_icons_material_EmergencyShare__WEBPACK_IMPORTED_MODULE_54__["default"],
  events: _mui_icons_material_EmojiEvents__WEBPACK_IMPORTED_MODULE_55__["default"],
  flags: _mui_icons_material_EmojiFlags__WEBPACK_IMPORTED_MODULE_56__["default"],
  beverage: _mui_icons_material_EmojiFoodBeverage__WEBPACK_IMPORTED_MODULE_57__["default"],
  'escalator-warning': _mui_icons_material_EscalatorWarning__WEBPACK_IMPORTED_MODULE_58__["default"],
  'fact-check': _mui_icons_material_FactCheck__WEBPACK_IMPORTED_MODULE_59__["default"],
  'fast-forward': _mui_icons_material_FastForward__WEBPACK_IMPORTED_MODULE_61__["default"],
  'filter-vintage': _mui_icons_material_FilterVintage__WEBPACK_IMPORTED_MODULE_63__["default"],
  fireplace: _mui_icons_material_Fireplace__WEBPACK_IMPORTED_MODULE_64__["default"],
  flatware: _mui_icons_material_Flatware__WEBPACK_IMPORTED_MODULE_65__["default"],
  'front-hand': _mui_icons_material_FrontHand__WEBPACK_IMPORTED_MODULE_68__["default"],
  groups: _mui_icons_material_Groups__WEBPACK_IMPORTED_MODULE_69__["default"],
  'keyboard-command-key': _mui_icons_material_KeyboardCommandKey__WEBPACK_IMPORTED_MODULE_71__["default"],
  police: _mui_icons_material_LocalPolice__WEBPACK_IMPORTED_MODULE_73__["default"],
  shipping: _mui_icons_material_LocalShipping__WEBPACK_IMPORTED_MODULE_74__["default"],
  'lock-outline': _mui_icons_material_LockOutline__WEBPACK_IMPORTED_MODULE_75__["default"],
  markunread: _mui_icons_material_Markunread__WEBPACK_IMPORTED_MODULE_76__["default"],
  moving: _mui_icons_material_Moving__WEBPACK_IMPORTED_MODULE_77__["default"],
  'music-video': _mui_icons_material_MusicVideo__WEBPACK_IMPORTED_MODULE_78__["default"],
  nightlight: _mui_icons_material_Nightlight__WEBPACK_IMPORTED_MODULE_79__["default"],
  'peda-bike': _mui_icons_material_PedalBike__WEBPACK_IMPORTED_MODULE_80__["default"],
  place: _mui_icons_material_Place__WEBPACK_IMPORTED_MODULE_84__["default"],
  'play-circle': _mui_icons_material_PlayCircle__WEBPACK_IMPORTED_MODULE_85__["default"],
  portrait: _mui_icons_material_Portrait__WEBPACK_IMPORTED_MODULE_87__["default"],
  psychology: _mui_icons_material_Psychology__WEBPACK_IMPORTED_MODULE_88__["default"],
  report: _mui_icons_material_Report__WEBPACK_IMPORTED_MODULE_90__["default"],
  sailing: _mui_icons_material_Sailing__WEBPACK_IMPORTED_MODULE_91__["default"],
  'settings-input-antenna': _mui_icons_material_SettingsInputAntenna__WEBPACK_IMPORTED_MODULE_94__["default"],
  'settings-voice': _mui_icons_material_SettingsVoice__WEBPACK_IMPORTED_MODULE_95__["default"],
  'shopping-bag': _mui_icons_material_ShoppingBag__WEBPACK_IMPORTED_MODULE_96__["default"],
  'shopping-cart': _mui_icons_material_ShoppingCart__WEBPACK_IMPORTED_MODULE_97__["default"],
  signpost: _mui_icons_material_Signpost__WEBPACK_IMPORTED_MODULE_98__["default"],
  spoke: _mui_icons_material_Spoke__WEBPACK_IMPORTED_MODULE_99__["default"],
  tennis: _mui_icons_material_SportsTennis__WEBPACK_IMPORTED_MODULE_100__["default"],
  'stacked-line-chart': _mui_icons_material_StackedLineChart__WEBPACK_IMPORTED_MODULE_101__["default"],
  star: _mui_icons_material_Star__WEBPACK_IMPORTED_MODULE_102__["default"],
  'star-border': _mui_icons_material_StarBorder__WEBPACK_IMPORTED_MODULE_103__["default"],
  faces: _mui_icons_material_TagFaces__WEBPACK_IMPORTED_MODULE_104__["default"],
  terrain: _mui_icons_material_Terrain__WEBPACK_IMPORTED_MODULE_105__["default"],
  token: _mui_icons_material_Token__WEBPACK_IMPORTED_MODULE_107__["default"],
  transcribe: _mui_icons_material_Transcribe__WEBPACK_IMPORTED_MODULE_108__["default"],
  'vpn-key': _mui_icons_material_VpnKey__WEBPACK_IMPORTED_MODULE_109__["default"],
  water: _mui_icons_material_Water__WEBPACK_IMPORTED_MODULE_110__["default"],
  layers: _mui_icons_material_Layers__WEBPACK_IMPORTED_MODULE_5__["default"],
  document: _mui_icons_material_Description__WEBPACK_IMPORTED_MODULE_0__["default"],
  build: _mui_icons_material_Build__WEBPACK_IMPORTED_MODULE_11__["default"],
  diagram: _mui_icons_material_Equalizer__WEBPACK_IMPORTED_MODULE_7__["default"],
  broken: _mui_icons_material_BrokenImage__WEBPACK_IMPORTED_MODULE_12__["default"],
  // modules
  catalog: _mui_icons_material_BusinessCenter__WEBPACK_IMPORTED_MODULE_15__["default"],
  terms: _mui_icons_material_AccountTree__WEBPACK_IMPORTED_MODULE_14__["default"],
  search: _mui_icons_material_Search__WEBPACK_IMPORTED_MODULE_9__["default"],
  workbench: _mui_icons_material_AppRegistration__WEBPACK_IMPORTED_MODULE_13__["default"],
  models: _mui_icons_material_Polyline__WEBPACK_IMPORTED_MODULE_2__["default"],
  admin: _mui_icons_material_Security__WEBPACK_IMPORTED_MODULE_8__["default"],
  documentation: _mui_icons_material_MenuBook__WEBPACK_IMPORTED_MODULE_10__["default"],
  toolkit: _mui_icons_material_Build__WEBPACK_IMPORTED_MODULE_11__["default"],
  status: _mui_icons_material_Equalizer__WEBPACK_IMPORTED_MODULE_7__["default"],
  register: _mui_icons_material_SettingsInputComponent__WEBPACK_IMPORTED_MODULE_6__["default"]
});

/***/ },

/***/ "./modules/commons/icons/iconUtility.js"
/*!**********************************************!*\
  !*** ./modules/commons/icons/iconUtility.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getIconByName: () => (/* binding */ getIconByName)
/* harmony export */ });
/* harmony import */ var _iconMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./iconMap */ "./modules/commons/icons/iconMap.js");

const getIconByName = iconName => _iconMap__WEBPACK_IMPORTED_MODULE_0__["default"][iconName] || _iconMap__WEBPACK_IMPORTED_MODULE_0__["default"].broken;

/***/ },

/***/ "./modules/commons/locale/index.js"
/*!*****************************************!*\
  !*** ./modules/commons/locale/index.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getBestLanguage: () => (/* binding */ getBestLanguage),
/* harmony export */   getClientAcceptLanguages: () => (/* binding */ getClientAcceptLanguages),
/* harmony export */   getLocaleSupportedLanguages: () => (/* binding */ getLocaleSupportedLanguages),
/* harmony export */   locale: () => (/* binding */ locale),
/* harmony export */   localize: () => (/* binding */ localize),
/* harmony export */   localizeLabel: () => (/* binding */ localizeLabel),
/* harmony export */   sortLanguages: () => (/* binding */ sortLanguages)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");






const nlsOverride = () => {
  // If there are NLS overrides, register them early.
  // if (config.locale.NLSOverridePath) {
  // } else
  if (config__WEBPACK_IMPORTED_MODULE_4__["default"].get('locale.NLSOverrides')) {
    _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_5__.i18n.setOverrides(config__WEBPACK_IMPORTED_MODULE_4__["default"].get('locale.NLSOverrides'));
  }
};

/**
 * @returns {string}
 */
const getBestLanguage = function getBestLanguage() {
  var _supportedLocales$fin;
  let userLanguage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  const fallbackLanguage = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('locale.fallback');
  const supportedLocales = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('locale.supported');
  const currentLanguage = userLanguage || _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_5__.i18n.getLocale();
  const idealLanguage = (_supportedLocales$fin = supportedLocales.find(locale => locale.lang === currentLanguage)) === null || _supportedLocales$fin === void 0 ? void 0 : _supportedLocales$fin.lang;
  return idealLanguage || fallbackLanguage;
};

// TODO `.value` seems unsafe
const localize = lang2val => _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_3__.utils.getLocalizedValue(lang2val).value;

/**
 *
 * @param {string|object} label
 * @returns {string|undefined}
 */
const localizeLabel = label => {
  if (typeof label === 'string') return label;
  if (typeof label === 'object' && label !== null) return localize(label);
  return null;
};

// TODO make hook
const locale = () => {
  // override nls
  // TODO check if still functional
  nlsOverride();
};

/**
 * Sorts the languages based on their label.
 * @param supportedLangNames
 * @returns {Array}
 */
const sortLanguages = supportedLangNames => {
  const label2langNames = supportedLangNames.map(supportedLang => ({
    lang: supportedLang,
    label: supportedLang.label.toLowerCase()
  }));

  // sort by label
  label2langNames.sort((a, b) => {
    if (a.label < b.label) {
      return -1;
    }
    if (a.label > b.label) {
      return 1;
    }
    return 0;
  });
  return label2langNames.map(label2langName => label2langName.lang);
};

/**
 *
 * @param {Object} userInfo
 * @returns {string[]}
 */
const getClientAcceptLanguages = function getClientAcceptLanguages() {
  let userInfo = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  const {
    clientAcceptLanguage
  } = userInfo;
  if (!clientAcceptLanguage) return [];
  const clientAcceptLanguages = Object.entries(clientAcceptLanguage).sort((_ref, _ref2) => {
    let [, value1] = _ref;
    let [, value2] = _ref2;
    return value1 < value2 ? 1 : -1;
  }).map(_ref3 => {
    let [language] = _ref3;
    return language;
  });
  return clientAcceptLanguages;
};

/**
 * @returns {string[]}
 */
const getLocaleSupportedLanguages = () => {
  var _config$get;
  return ((_config$get = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('locale.supported')) === null || _config$get === void 0 ? void 0 : _config$get.map(item => item.lang)) || [];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (locale);

/***/ },

/***/ "./modules/commons/maintenance/maintenanceConfigLoader.js"
/*!****************************************************************!*\
  !*** ./modules/commons/maintenance/maintenanceConfigLoader.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getEffectiveConfig: () => (/* binding */ getEffectiveConfig),
/* harmony export */   loadMaintenanceConfigs: () => (/* binding */ loadMaintenanceConfigs)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");






/**
 * Fetch maintenance config from a URL with cache-busting
 *
 * @param {string} url
 * @returns {Promise<object|undefined>}
 */
const fetchMaintenanceConfig = async url => {
  const cacheBuster = `t=${Date.now()}`;
  const separator = url.includes('?') ? '&' : '?';
  const urlWithCacheBuster = `${url}${separator}${cacheBuster}`;
  try {
    return await (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_4__.fetchJson)(urlWithCacheBuster, 'maintenance config');
  } catch (error) {
    console.warn(`Failed to load maintenance config from ${url}:`, error);
  }
};

/**
 * Load maintenance config from multiple URLs.
 * The last URL that returns a valid config takes precedence.
 *
 * @param {string[]} configURLs
 * @returns {Promise<object>} Maintenance configuration from the last valid URL
 */
const loadMaintenanceConfigs = async function loadMaintenanceConfigs() {
  let configURLs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  if (!Array.isArray(configURLs) || configURLs.length === 0) {
    return {};
  }
  const configs = await Promise.all(configURLs.map(url => fetchMaintenanceConfig(url)));
  const validConfigs = configs.filter(config => config);
  if (validConfigs.length === 0) return {};
  return validConfigs[validConfigs.length - 1];
};

/**
 * Get the effective maintenance config.
 * Local config completely replaces remote if present.
 *
 * @param {object} remoteConfig
 * @param {object} localConfig
 * @returns {object} The configuration in effect
 */
const getEffectiveConfig = (remoteConfig, localConfig) => {
  const hasLocalConfig = Object.keys(localConfig).length > 0;
  return hasLocalConfig ? localConfig : remoteConfig;
};

/***/ },

/***/ "./modules/commons/nav/components/Cards/Cards.js"
/*!*******************************************************!*\
  !*** ./modules/commons/nav/components/Cards/Cards.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_components_common_GridList__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/GridList */ "./modules/commons/components/common/GridList/index.js");
/* harmony import */ var commons_components_common_GridListTile__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/common/GridListTile */ "./modules/commons/components/common/GridListTile/index.js");
/* harmony import */ var _mui_icons_material_ChevronRight__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material/ChevronRight */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChevronRight.js");
/* harmony import */ var _mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/OpenInNew */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var commons_nls_escoModules_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoModules.nls */ "./modules/commons/nls/escoModules.nls");
/* harmony import */ var commons_nls_escoModules_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoModules_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/reactUtils */ "./modules/commons/util/reactUtils.js");
/* harmony import */ var commons_nav_components_Cards_index_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nav/components/Cards/index.scss */ "./modules/commons/nav/components/Cards/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













const LinkWrapper = _ref => {
  let {
    to = '',
    children
  } = _ref;
  return to.startsWith('http') ? /*#__PURE__*/React.createElement("a", {
    href: to,
    className: "escoLinkWrapper",
    target: "_blank",
    rel: "noreferrer"
  }, children) : /*#__PURE__*/React.createElement(react_router_dom__WEBPACK_IMPORTED_MODULE_1__.Link, {
    className: "escoLinkWrapper",
    to: to
  }, children);
};
LinkWrapper.propTypes = {
  to: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().node)
};
const SquareBlock = _ref2 => {
  let {
    tooltip,
    label = '',
    text,
    path = '',
    name,
    icon: iconName,
    isExternal,
    appTheme
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoModules_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const icon = (0,commons_util_module__WEBPACK_IMPORTED_MODULE_11__.getModuleIconFromName)(name, iconName, {
    style: {
      marginRight: '8px'
    }
  });
  return /*#__PURE__*/React.createElement(LinkWrapper, {
    to: path
  }, /*#__PURE__*/React.createElement("div", {
    className: appTheme === 'registry' ? '' : 'escoCard',
    "aria-label": tooltip,
    title: tooltip
  }, /*#__PURE__*/React.createElement("header", {
    className: "escoCard__header"
  }, icon, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    variant: "h2"
  }, (0,commons_util_reactUtils__WEBPACK_IMPORTED_MODULE_12__.renderHtmlString)(label)), isExternal && /*#__PURE__*/React.createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escoCard__linkIcon"
  })), text && /*#__PURE__*/React.createElement("div", {
    className: "escoCard__content"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "escoCard__text"
  }, text)), /*#__PURE__*/React.createElement("div", {
    className: "escoCard_footer"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "escoCard__text escoCard__text--color-blue"
  }, translate('openLink')), /*#__PURE__*/React.createElement(_mui_icons_material_ChevronRight__WEBPACK_IMPORTED_MODULE_6__["default"], {
    color: "primary"
  }))));
};
SquareBlock.propTypes = {
  text: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
  path: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
  name: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
  isExternal: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().bool),
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string),
  appTheme: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string)
};
const Cards = _ref3 => {
  let {
    cards = [],
    gap = 10,
    cols = 3,
    appTheme
  } = _ref3;
  const cardClasses = {
    registry: {
      root: 'esreCardList__li'
    },
    suite: {
      root: 'escoCardList__li'
    }
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    container: true,
    justifyContent: "flex-start",
    direction: "row",
    className: appTheme === 'registry' ? 'esreCards' : 'escoCards'
  }, /*#__PURE__*/React.createElement(commons_components_common_GridList__WEBPACK_IMPORTED_MODULE_4__["default"], {
    classes: {
      root: 'escoCardList'
    },
    rowHeight: 170,
    gap: gap,
    cols: cols
  }, cards.map(_ref4 => {
    let {
      label,
      text,
      path,
      tooltip,
      name,
      icon,
      isExternal
    } = _ref4;
    return /*#__PURE__*/React.createElement(commons_components_common_GridListTile__WEBPACK_IMPORTED_MODULE_5__["default"], {
      classes: cardClasses[appTheme],
      key: name + path
    }, /*#__PURE__*/React.createElement(SquareBlock, {
      label: label,
      text: text,
      path: path,
      tooltip: tooltip,
      name: name,
      isExternal: isExternal,
      icon: icon,
      appTheme: appTheme
    }));
  })));
};
Cards.propTypes = {
  cards: prop_types__WEBPACK_IMPORTED_MODULE_10___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_10___default().object).isRequired),
  gap: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number),
  cols: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number),
  appTheme: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Cards);

/***/ },

/***/ "./modules/commons/nav/components/Cards/index.js"
/*!*******************************************************!*\
  !*** ./modules/commons/nav/components/Cards/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Cards__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Cards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Cards */ "./modules/commons/nav/components/Cards/Cards.js");


/***/ },

/***/ "./modules/commons/nav/components/Logo/index.js"
/*!******************************************************!*\
  !*** ./modules/commons/nav/components/Logo/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useThemeMode */ "./modules/commons/hooks/useThemeMode.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const Logo = _ref => {
  let {
    type = 'icon',
    className
  } = _ref;
  const {
    resolvedMode
  } = (0,commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_2__.useThemeMode)();
  return /*#__PURE__*/React.createElement("img", {
    src: (0,commons_util_config__WEBPACK_IMPORTED_MODULE_1__.getLogoSource)(type, resolvedMode),
    className: className,
    alt: "logo"
  });
};
Logo.propTypes = {
  type: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['icon', 'full']),
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Logo);

/***/ },

/***/ "./modules/commons/nav/components/StartBanner/index.js"
/*!*************************************************************!*\
  !*** ./modules/commons/nav/components/StartBanner/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoLayout.nls */ "./modules/commons/nls/escoLayout.nls");
/* harmony import */ var commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useExternalContentDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useExternalContentDialog */ "./modules/commons/hooks/useExternalContentDialog.js");
/* harmony import */ var commons_nav_components_StartBanner_index_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nav/components/StartBanner/index.scss */ "./modules/commons/nav/components/StartBanner/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const StartBanner = _ref => {
  let {
    banner
  } = _ref;
  const {
    header,
    text,
    details
  } = banner;
  const {
    buttonLabel,
    path,
    isLink,
    header: dialogHeader
  } = details;
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__.useUserState)();
  const isGuest = userInfo.entryId === commons_util_userIds__WEBPACK_IMPORTED_MODULE_9__.USER_ENTRY_ID_GUEST;
  const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const [contentURI, setContentURI] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)('');
  const closeDialog = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    setOpen(false);
  }, []);
  (0,commons_hooks_useExternalContentDialog__WEBPACK_IMPORTED_MODULE_14__["default"])({
    open,
    contentPath: path,
    title: dialogHeader[_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_11__.i18n.getLocale()],
    callback: closeDialog
  });
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const localePath = `${path}_${_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_11__.i18n.getLocale()}.html`;
    fetch(localePath, {
      headers: {
        Accept: 'text/html'
      }
    }).then(response => {
      if (response.ok) {
        setContentURI(`${window.location.origin}${localePath}`);
      } else {
        setContentURI(`${window.location.origin}${path}.html`);
        throw new Error(`${response.status} ${response.statusText}`);
      }
    }).catch(error => console.log(error));
  }, [path]);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)((commons_nls_escoLayout_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    direction: "column",
    justifyContent: "flex-start",
    alignItems: "flex-start",
    className: "escoStartBanner"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "escoStartBanner__GridItem"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "h1",
    className: "escoStartBanner__header"
  }, header[_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_11__.i18n.getLocale()])), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "escoStartBanner__GridItem"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "escoStartBanner__text"
  }, text[_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_11__.i18n.getLocale()])), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    container: true,
    direction: "row",
    justifyContent: "flex-start",
    className: "escoStartBanner__GridItem escoStartBanner__GridItem--padding-top"
  }, isGuest && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    classes: {
      root: 'escoStartBanner__buttonContainer'
    },
    className: "escoStartBanner__GridItem--margin-right"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    fullWidth: true,
    href: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_10__.getRouteFromView)('signin')
  }, t('signInFromBanner'))), path && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    classes: {
      root: 'escoStartBanner__buttonContainer'
    }
  }, isLink ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    fullWidth: true,
    color: "secondary",
    href: contentURI,
    target: "_blank",
    rel: "noreferrer"
  }, buttonLabel[_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_11__.i18n.getLocale()]) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    fullWidth: true,
    onClick: () => setOpen(true),
    color: "secondary"
  }, buttonLabel[_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_11__.i18n.getLocale()]))));
};
StartBanner.propTypes = {
  banner: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    header: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
    text: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
    details: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      header: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
      buttonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().object),
      path: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
      isLink: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
    })
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StartBanner);

/***/ },

/***/ "./modules/commons/providers/AppProviders.js"
/*!***************************************************!*\
  !*** ./modules/commons/providers/AppProviders.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/StyledEngineProvider/StyledEngineProvider.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProvider.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/MaintenanceContext */ "./modules/commons/contexts/MaintenanceContext.js");
/* harmony import */ var commons_components_MaintenanceBoundary__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/MaintenanceBoundary */ "./modules/commons/components/MaintenanceBoundary/index.js");
/* harmony import */ var commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useThemeMode */ "./modules/commons/hooks/useThemeMode.js");
/* harmony import */ var commons_theme_mui_createAppTheme__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/theme/mui/createAppTheme */ "./modules/commons/theme/mui/createAppTheme.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










// Inner component that applies the MUI theme based on the resolved theme mode
const ThemedApp = _ref => {
  let {
    children
  } = _ref;
  const {
    resolvedMode
  } = (0,commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_8__.useThemeMode)();
  const theme = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => (0,commons_theme_mui_createAppTheme__WEBPACK_IMPORTED_MODULE_9__["default"])(resolvedMode), [resolvedMode]);
  return /*#__PURE__*/React.createElement(_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__["default"], {
    theme: theme
  }, /*#__PURE__*/React.createElement(commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_5__.MainDialogProvider, null, children));
};
ThemedApp.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
const AppProviders = _ref2 => {
  let {
    children
  } = _ref2;
  return /*#__PURE__*/React.createElement(commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_4__.UserProvider, null, /*#__PURE__*/React.createElement(commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_8__.ThemeModeProvider, null, /*#__PURE__*/React.createElement(_mui_material_styles__WEBPACK_IMPORTED_MODULE_2__["default"], {
    injectFirst: true
  }, /*#__PURE__*/React.createElement(ThemedApp, null, /*#__PURE__*/React.createElement(commons_contexts_MaintenanceContext__WEBPACK_IMPORTED_MODULE_6__.MaintenanceProvider, null, /*#__PURE__*/React.createElement(commons_components_MaintenanceBoundary__WEBPACK_IMPORTED_MODULE_7__["default"], null, children))))));
};
AppProviders.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AppProviders);

/***/ },

/***/ "./modules/commons/providers/ParameterizedViewProviders.js"
/*!*****************************************************************!*\
  !*** ./modules/commons/providers/ParameterizedViewProviders.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/common/ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/index.js");
/* harmony import */ var commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useEntry */ "./modules/commons/hooks/useEntry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const ParameterizedViewProviders = _ref => {
  let {
    children,
    path,
    pathname
  } = _ref;
  const params = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_1__.useParams)();
  const {
    contextId,
    entryId
  } = params;
  return /*#__PURE__*/React.createElement(commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_2__.ESContextProvider, {
    path: path,
    contextId: contextId,
    key: pathname
  }, /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_3__["default"], {
    condition: Boolean(contextId && entryId),
    wrapper: wrapperChildren => /*#__PURE__*/React.createElement(commons_hooks_useEntry__WEBPACK_IMPORTED_MODULE_4__.EntryProvider, {
      contextId: contextId,
      entryId: entryId,
      default: true
    }, wrapperChildren)
  }, children));
};
ParameterizedViewProviders.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  path: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  pathname: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ParameterizedViewProviders);

/***/ },

/***/ "./modules/commons/providers/ViewProviders.js"
/*!****************************************************!*\
  !*** ./modules/commons/providers/ViewProviders.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/contexts/ClipboardGraphContext */ "./modules/commons/contexts/ClipboardGraphContext.js");
/* harmony import */ var commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useLanguage */ "./modules/commons/hooks/useLanguage.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");








const ViewProviders = _ref => {
  let {
    children
  } = _ref;
  const [clipboardGraph, setClipboardGraph] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_hooks_useLanguage__WEBPACK_IMPORTED_MODULE_5__.LanguageProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_6__.SnackbarProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_4__["default"].Provider, {
    value: [clipboardGraph, setClipboardGraph]
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_7__.AnimationProvider, null, children))));
};
ViewProviders.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ViewProviders);

/***/ },

/***/ "./modules/commons/rdforms/itemstore.js"
/*!**********************************************!*\
  !*** ./modules/commons/rdforms/itemstore.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   itemStore: () => (/* binding */ itemStore)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var commons_util_bundle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/bundle */ "./modules/commons/util/bundle.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");








const itemStore = new _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.ItemStore();
itemStore.handleErrorAs = 'error';
commons_registry__WEBPACK_IMPORTED_MODULE_7__["default"].set('itemstore', itemStore);
commons_registry__WEBPACK_IMPORTED_MODULE_7__["default"].set('renderingContext', _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.renderingContext);

/**
 * Load rdforms template bundles
 */
const initBundles = () => {
  const toLoadBundles = [];

  // Loading the default bundles separately with an extra param to getFallbackBundleUrls,
  // to avoid getting a theme template path for them
  config__WEBPACK_IMPORTED_MODULE_6__["default"].get('itemstore.defaultBundles').forEach(id => toLoadBundles.push((0,commons_util_bundle__WEBPACK_IMPORTED_MODULE_5__.getFallbackBundleUrls)(id, undefined, false)));
  config__WEBPACK_IMPORTED_MODULE_6__["default"].get('itemstore.bundles').forEach(id => toLoadBundles.push((0,commons_util_bundle__WEBPACK_IMPORTED_MODULE_5__.getFallbackBundleUrls)(id)));

  /**
   * load the bundles into the itemStore,
   * TODO bad API, fix in rdforms. Should return what's needed
   * @async
   */
  return (0,_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.bundleLoader)(itemStore, toLoadBundles);
};
const initLanguages = () => {
  _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.renderingContext.setLanguageList(config__WEBPACK_IMPORTED_MODULE_6__["default"].get('itemstore.languages'));
};
const initAppendLanguages = () => {
  _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.renderingContext.setLanguageList([..._entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.renderingContext.getLanguageList(), ...config__WEBPACK_IMPORTED_MODULE_6__["default"].get('itemstore.appendLanguages')]);
};
const initChoosers = () => {
  config__WEBPACK_IMPORTED_MODULE_6__["default"].get('itemstore.choosers').forEach(chooser => console.log(`this chooser should be implemented ${chooser}`));
  // config.get('itemstore.choosers').forEach((chooserName) => {
  //   import(
  //     /* webpackInclude: /.*Chooser\.js$/ */
  //     /* webpackMode: "eager" */
  //     `commons/rdforms/choosers/${chooserName}.js`
  //   ).then((chooser) => {
  //     try {
  //       chooser.default.registerDefaults();
  //     } catch (e) {
  //       throw Error(`Could not load chooser ${chooserName}`);
  //     }
  //   });
  // });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (async () => {
  try {
    await initBundles();
  } catch (error) {
    commons_registry__WEBPACK_IMPORTED_MODULE_7__["default"].setError(error);
  }
  initAppendLanguages();
  initLanguages();
  initChoosers();
});


/***/ },

/***/ "./modules/commons/registry.js"
/*!*************************************!*\
  !*** ./modules/commons/registry.js ***!
  \*************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);


/* eslint-disable no-use-before-define */

const registry = new Map(); // TODO @valentino is there a need for registryMapInital? e.g keep the first value of each key

/**
 * @returns {spa/Site}
 */
const getSiteManager = () => exports.get('siteManager');
/**
 * @returns {Object}
 */
const getSiteConfig = () => exports.get('siteConfig');
/**
 * @returns {store/EntryStore}
 */
const getEntryStore = () => exports.get('entrystore');
/**
 * @return {store/EntryStoreUtil}
 */
const getEntryStoreUtil = () => exports.get('entrystoreutil');
/**
 * @returns {store/Entry}
 */
const getEntry = () => exports.get('entry');
/**
 * @return {store/Context}
 */
const getContext = () => exports.get('context');
/**
 * @returns {rdfjson/namespaces}
 */
const getNamespaces = () => exports.get('namespaces');
const getError = () => exports.get('error');
const setError = error => exports.set('error', error);
const getApp = () => exports.get('app');
const setApp = app => exports.set('app', app);
const getCurrentView = () => exports.get('currentView');
const setCurrentView = viewName => exports.set('currentView', viewName);
const getApplicationConfig = () => exports.get('applicationConfig');
const setApplicationConfig = applicationConfig => exports.set('applicationConfig', applicationConfig);
const getInstanceConfig = () => exports.get('instanceConfig');
const setInstanceConfig = instanceConfig => exports.set('instanceConfig', instanceConfig);
const getViews = () => exports.get('views');
const getView = viewName => getViews().get(viewName);
const setViews = views => exports.set('views', views);
const getSolutions = () => exports.get('solutions');
const setSolutions = function setSolutions() {
  let solutions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  return exports.set('solutions', solutions);
};

// App generic registry methods.
const exports = {
  get(key) {
    return registry.get(key);
  },
  set(key, value) {
    registry.set(key, value);
  },
  onChangeOnce(key, callback) {
    return this.onChange(key, callback, false, true);
  },
  getApp,
  getCurrentView,
  getInstanceConfig,
  getError,
  getSiteManager,
  getSiteConfig,
  getEntryStore,
  getEntryStoreUtil,
  getEntry,
  getContext,
  getNamespaces,
  getSolutions,
  getApplicationConfig,
  getViews,
  getView,
  setApp,
  setCurrentView,
  setInstanceConfig,
  setError,
  setApplicationConfig,
  setSolutions,
  setViews
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (exports);

/***/ },

/***/ "./modules/commons/start/index.js"
/*!****************************************!*\
  !*** ./modules/commons/start/index.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_nav_components_Cards__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nav/components/Cards */ "./modules/commons/nav/components/Cards/index.js");
/* harmony import */ var commons_nav_components_StartBanner__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nav/components/StartBanner */ "./modules/commons/nav/components/StartBanner/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");








const Start = () => {
  const banner = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('theme.startBanner');
  const theme = commons_registry__WEBPACK_IMPORTED_MODULE_6__["default"].getApp() || 'suite';
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_2__.useUserState)();
  const modules = (0,commons_util_module__WEBPACK_IMPORTED_MODULE_8__.getPrimaryNavModules)(userInfo);
  const cardsProps = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_5__.modulesToNavProps)(modules);
  const bannerPresent = banner !== undefined;
  const gap = theme === 'registry' ? 0 : 10;
  const cols = theme === 'registry' ? 2 : 3;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_0__["default"], {
    elevation: bannerPresent ? 3 : 0
  }, bannerPresent && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_nav_components_StartBanner__WEBPACK_IMPORTED_MODULE_4__["default"], {
    banner: banner
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], null)), /*#__PURE__*/React.createElement(commons_nav_components_Cards__WEBPACK_IMPORTED_MODULE_3__["default"], {
    cards: cardsProps,
    gap: gap,
    cols: cols,
    appTheme: theme
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Start);

/***/ },

/***/ "./modules/commons/statistics/api.js"
/*!*******************************************!*\
  !*** ./modules/commons/statistics/api.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! catalog/statistics/utils/distribution */ "./modules/catalog/statistics/utils/distribution.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");








const getStatsBaseURL = () => {
  const store = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('entrystore.repository');
  const statsBaseURL = `${store}${store.endsWith('/') ? '' : '/'}statistics/`;
  return statsBaseURL;
};

/**
 *
 * @param filters
 * @return {string}
 */
const applyFilters = filters => {
  if (!filters) return '';
  const {
    year = null
  } = filters;
  let {
    date = -1,
    month = -1
  } = filters;
  if (date && (!month || !year) && month && !year) {
    throw Error('Incorrect date filters passed to the statistics api request generator');
  }

  // convert to human understandable calendar month and append a 0 if it's a one digit number
  if (month >= 0) {
    month += 1;
    month = month < 10 ? `0${month}` : `${month}`;
  } else {
    month = null;
  }
  if (date >= 0) {
    date = date < 10 ? `0${date}` : `${date}`;
  } else {
    date = null;
  }
  return `${year ? `${year}/` : ''}${month ? `${month}/` : ''}${date ? `${date}/` : ''}`;
};

/**
 *
 * @param contextId
 * @param type
 * @param filters
 * @return {*}
 */
const getTopStatistics = async function getTopStatistics(contextId) {
  let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : catalog_statistics_utils_distribution__WEBPACK_IMPORTED_MODULE_6__.RESOURCE_TYPE_ALL;
  let filters = arguments.length > 2 ? arguments[2] : undefined;
  const requestURL = `${getStatsBaseURL()}${contextId}/${`top/${type}/`}${applyFilters(filters)}`;
  const response = await fetch(requestURL, {
    credentials: 'include'
  });

  /**
   * status 404 - not statistics for that specific time range / type
   * status 403 - client not authorized to access statistics
   */
  if (response.status === 404 || response.status === 403) {
    return [];
  }
  const res = await response.json();
  const {
    start,
    end,
    _
  } = res;
  if (filters) return _;
  return {
    start,
    end,
    statistics: _
  };
};

/**
 *
 * @param contextId
 * @param entryId
 * @param filters
 * @return {*}
 */
const getEntryStatistics = async function getEntryStatistics(contextId, entryId) {
  let filters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  const requestURL = `${getStatsBaseURL()}${contextId}/${entryId}/${applyFilters(filters)}`;
  const response = await fetch(requestURL, {
    credentials: 'include'
  });

  /**
   * If the response status is 404, the api did not have statistics for the given
   * entry, so return an empty object
   */
  if (response.status === 404) return {};

  /**
   * Otherwise return the response as json
   */
  return response.json();
};

/**
 * Generate a collection of time ranges corresponding to api requests.
 * Currently does this semi-smartly, by utilizing as much as possible 'year' and 'month' api requests
 * rather than individual 'day' requests.
 *
 * @param timeRange
 * @return {Array}
 */
const getAggregateFilters = timeRange => {
  const {
    start,
    end
  } = timeRange;
  const today = new Date();
  const hasEndDateToday = !end.diff(today, 'days');

  /**
   * Keep a collection of filters which correspond to the api requests for a custom time range
   * @type {Array}
   */
  const filters = [];

  /**
   * Add to the collection of filters
   *
   * @param year
   * @param month
   * @param date
   */
  const addFilter = function addFilter(year) {
    let month = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;
    let date = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;
    const filter = {
      year
    };
    if (month > -1) {
      // month can be 0
      filter.month = month;
      if (date > -1) {
        filter.date = date;
      }
    }
    filters.push(filter);
  };

  // start === end
  if (start.diff(end, 'days') === 0) {
    addFilter(start.year(), start.month(), start.date());
    return filters;
  }

  // generate year filters
  const differentYear = start.year() !== end.year();
  if (differentYear) {
    for (let year = start.year() + 1; year < end.year(); year++) {
      addFilter(year);
    }
  }
  if (differentYear && hasEndDateToday) {
    addFilter(end.year());
  }

  // generate month filters
  const differentMonth = differentYear || start.month() !== end.month();
  const endMonth = differentYear ? 12 : end.month();
  if (differentYear || differentMonth) {
    for (let month = start.month() + 1; month < endMonth; month++) {
      addFilter(start.year(), month);
    }
  }

  // generate day filters
  // if the start date is 1 and end date is either end of month or today
  if (start.date() === 1) {
    // you need to add month instead of days
    if (differentMonth || !differentMonth && hasEndDateToday) {
      addFilter(start.year(), start.month());
    }
  } else {
    // start dates (days) in start month and end dates in start month
    const endDate = differentYear || differentMonth ? start.daysInMonth() : end.date();
    for (let date = start.date(); date < endDate + 1; date++) {
      addFilter(start.year(), start.month(), date);
    }
  }
  if (end.date() === end.daysInMonth() || hasEndDateToday) {
    // you need to add month instead of days
    if (differentMonth && !differentYear) {
      addFilter(end.year(), end.month());
    }
  } else if (differentMonth) {
    // end dates (days) in end month
    for (let date = 1; date < end.date() + 1; date++) {
      addFilter(end.year(), end.month(), date);
    }
  }
  return filters;
};

/**
 *
 * @deprecated The API infrastructure has a result limit of 100 which makes aggregation of results inherently
 * not reliable. E.g a distribution might be in one result set but be missing from another
 * because it's not in the top 100
 *
 * This was used for custom time range statistics
 *
 * @param contextId
 * @param type
 * @param customRange
 * @return {Promise<{count: *, uri: *}[]>}
 */
const getTopStatisticsAggregate = async function getTopStatisticsAggregate(contextId) {
  let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'file';
  let customRange = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  const filters = getAggregateFilters(customRange);
  const uri2Count = new Map();
  const aggregateURICount = countInfos => {
    countInfos.forEach(info => {
      const {
        uri,
        count
      } = info;
      if (uri2Count.has(uri)) {
        const currentCount = uri2Count.get(uri);
        uri2Count.set(uri, currentCount + count);
      } else {
        uri2Count.set(uri, count);
      }
    });
  };
  await Promise.all(filters.map(filter => getTopStatistics(contextId, type, filter).then(aggregateURICount)));
  // 1 convert map to array and sort, descending order
  // 2 convert it back to an object { uri, count }
  return [...uri2Count].sort((a, b) => b[1] - a[1]).map(info => ({
    uri: info[0],
    count: info[1]
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  getTopStatistics,
  getTopStatisticsAggregate,
  getEntryStatistics
});

/***/ },

/***/ "./modules/commons/store/MultiList.js"
/*!********************************************!*\
  !*** ./modules/commons/store/MultiList.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);

/**
 * Wraps an array of lists into something that looks like a single store/List.
 *
 * @see {store/List}
 */
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (class {
  /**
   * Parameters may be:
   * lists - an array of lists to be combined into one.
   * limit - an integer specifying the page limit.
   *
   * @param {object} params
   */
  constructor(params) {
    this.limit = 20;
    this.size = 0;
    this.lists = [];
    this.sizes = [];
    this.lists = params.lists;
    this.limit = params.limit != null ? params.limit : this.limit;
    if (params.sizes) this.sizes = params.sizes;
  }
  loadEnoughSizes(page) {
    const needToReach = (page + 1) * this.limit;
    let amount = 0;
    const listLength = this.lists.length;
    for (let i = 0; i < listLength; i++) {
      if (isNaN(this.sizes[i])) {
        return this.lists[i].getEntries().then(() => {
          this.sizes[i] = this.lists[i].getSize();
          return this.loadEnoughSizes(page);
        });
      }
      amount += this.sizes[i];
      if (amount > needToReach) {
        break;
      }
    }
    return Promise.resolve(amount);
  }
  getSize() {
    let amount = 0;
    for (let i = 0; i < this.sizes.length; i++) {
      if (isNaN(this.sizes[i])) {
        break;
      }
      amount += this.sizes[i];
    }
    return amount;
  }
  fillArray(arr, listNr, pageParam, offset) {
    let arr_ = arr;
    let listNr_ = listNr;
    let page = pageParam;
    return this.lists[listNr_].getEntries(page).then(entries => {
      let entries_ = entries;
      if (entries_.length < this.limit) {
        listNr_ += 1;
        page = 0;
      } else {
        page += 1;
      }
      if (!isNaN(offset)) {
        entries_ = entries_.slice(offset);
      }
      arr_ = arr_.concat(entries_);
      if (arr_.length < this.limit) {
        if (listNr_ >= this.lists.length) {
          return arr_;
        }
        return this.fillArray(arr_, listNr_, page, 0);
      } else if (arr_.length > this.limit) {
        arr_ = arr_.slice(0, this.limit);
      }
      return arr_;
    });
  }
  getEntries(pageParam) {
    const page = isNaN(pageParam) ? 0 : pageParam;
    let offset = page * this.limit;
    return this.loadEnoughSizes(page).then(() => {
      let before = 0;
      let listNr = -1;
      for (let i = 0; i < this.lists.length; i++) {
        if (before + this.sizes[i] >= offset) {
          listNr = i;
          offset -= before;
          break;
        }
        before += this.sizes[i];
      }
      const startpage = Math.floor(offset / this.limit);
      offset -= startpage * this.limit;
      return this.fillArray([], listNr, startpage, offset);
    });
  }
  getLimit() {
    return this.limit;
  }
});

/***/ },

/***/ "./modules/commons/store/index.js"
/*!****************************************!*\
  !*** ./modules/commons/store/index.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   entrystore: () => (/* binding */ entrystore),
/* harmony export */   entrystoreUtil: () => (/* binding */ entrystoreUtil),
/* harmony export */   initializeStore: () => (/* binding */ initializeStore),
/* harmony export */   initializeStoreUtil: () => (/* binding */ initializeStoreUtil)
/* harmony export */ });
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* eslint-disable import/no-mutable-exports */



let entrystore;
let entrystoreUtil;
const init = () => {
  entrystore = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__.EntryStore(config__WEBPACK_IMPORTED_MODULE_1__["default"].get('entrystore.repository'));
  commons_registry__WEBPACK_IMPORTED_MODULE_2__["default"].set('entrystore', entrystore);
  entrystore.getREST().disableJSONP();
  entrystoreUtil = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__.EntryStoreUtil(entrystore);
  commons_registry__WEBPACK_IMPORTED_MODULE_2__["default"].set('entrystoreutil', entrystoreUtil);
  return entrystore;
};

/**
 * Initializes a store.
 *
 * @param {string} endpoint
 * @returns {EntryStore}
 */
const initializeStore = endpoint => {
  const store = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__.EntryStore(endpoint);
  store.getREST().disableJSONP();
  store.getREST().disableCredentials();
  return store;
};

/**
 * Initializes a store's utils.
 *
 * @param {EntryStore} store
 * @returns {EntryStoreUtil}
 */
const initializeStoreUtil = store => new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__.EntryStoreUtil(store);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (init);


/***/ },

/***/ "./modules/commons/theme/mui/colors.js"
/*!*********************************************!*\
  !*** ./modules/commons/theme/mui/colors.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   accent: () => (/* binding */ accent),
/* harmony export */   canvas: () => (/* binding */ canvas),
/* harmony export */   dark: () => (/* binding */ dark),
/* harmony export */   darkGray: () => (/* binding */ darkGray),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   error: () => (/* binding */ error),
/* harmony export */   grayBlue: () => (/* binding */ grayBlue),
/* harmony export */   highContrast: () => (/* binding */ highContrast),
/* harmony export */   info: () => (/* binding */ info),
/* harmony export */   lightGray: () => (/* binding */ lightGray),
/* harmony export */   mediumGray: () => (/* binding */ mediumGray),
/* harmony export */   primary: () => (/* binding */ primary),
/* harmony export */   success: () => (/* binding */ success),
/* harmony export */   warning: () => (/* binding */ warning),
/* harmony export */   white: () => (/* binding */ white)
/* harmony export */ });
const primary = {
  main: '#1673C7',
  name: 'Primary',
  usage: 'Default link color'
};
const accent = {
  main: '#e05f21',
  name: 'Accent',
  usage: 'Accent'
};
const white = {
  main: '#ffffff',
  name: 'White'
};
const canvas = {
  main: '#f6f7f7',
  name: 'Canvas',
  usage: 'Canvas bg'
};
const lightGray = {
  light: '#e6eaeb',
  main: '#dfe4e6',
  name: 'Light gray',
  usage: 'Borders and lines'
};
const mediumGray = {
  lightest: '#F2F3F4',
  // main w/ 10% opacity
  light: '#ECEEEE',
  // main w/ 15%
  main: '#5f686d',
  // Darkened from #808b90 for WCAG AA compliance (4.5:1+ contrast)

  name: 'Medium gray',
  usage: 'Text'
};
const darkGray = {
  light: '#61676A',
  // 10% lighter
  main: '#474d50',
  name: 'Dark grey',
  usage: 'Default text'
};
const grayBlue = {
  main: '#7A8184',
  name: 'Blue Gray'
};
const info = {
  main: '#191c1d',
  name: 'Info',
  usage: 'Tooltips and snackbars bg'
};
const success = {
  light: '#c0d999',
  main: '#629f00',
  name: 'Success',
  usage: 'Confirmations'
};
const error = {
  light: '#de524c',
  main: '#cd2823',
  name: 'Error',
  usage: 'Errors'
};
const warning = {
  main: '#f7ce26',
  name: 'Warning',
  usage: 'Highlight color'
};

// Dark mode color variants
const dark = {
  canvas: '#121212',
  surface: '#1e1e1e',
  surfaceLight: '#2d2d2d',
  border: '#3d3d3d',
  borderLight: '#4d4d4d',
  text: '#e0e0e0',
  textSecondary: '#a0a0a0',
  backdrop: 'rgba(0, 0, 0, 0.8)',
  // Lighter primary for dark mode to meet WCAG AA (4.5:1+ contrast)
  primary: '#4a9ade',
  secondary: '#8a9aa0'
};

// High contrast overrides
const highContrast = {
  text: '#1a1a1a',
  textSecondary: '#3d3d3d',
  border: '#767676',
  borderLight: '#949494',
  // Darker primary for high-contrast mode to meet WCAG AA (4.5:1+) on #d6d6d6 surface-light
  primary: '#0e5a9e'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ([primary, accent, white, canvas, lightGray, mediumGray, darkGray, grayBlue, info, success, error, warning]);

/***/ },

/***/ "./modules/commons/theme/mui/createAppTheme.js"
/*!*****************************************************!*\
  !*** ./modules/commons/theme/mui/createAppTheme.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTheme.js");
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useThemeMode */ "./modules/commons/hooks/useThemeMode.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




/**
 * Creates an MUI theme for the given mode
 *
 * @param {'light' | 'dark' | 'high-contrast'} mode - The theme mode
 * @returns {import('@mui/material/styles').Theme}
 */
const createAppTheme = function createAppTheme() {
  let mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_3__.LIGHT;
  const isDark = mode === commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_3__.DARK;
  const isHighContrast = mode === commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_3__.HIGH_CONTRAST;

  // Color mappings based on mode
  const colors = {
    canvas: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.canvas : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.canvas.main,
    surface: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.surface : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.white.main,
    surfaceLight: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.surfaceLight : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.mediumGray.lightest,
    text: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.text : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.darkGray.main,
    textSecondary: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.textSecondary : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.mediumGray.main,
    border: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.border : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.lightGray.main,
    borderLight: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.borderLight : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.lightGray.light,
    inputBg: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.surfaceLight : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.mediumGray.light,
    inputBgHover: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.surfaceLight : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.mediumGray.light,
    inputBgFocused: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.surface : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.mediumGray.lightest,
    backdrop: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.backdrop : 'rgba(223, 228, 230, 0.8)',
    tooltipBg: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.surfaceLight : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.info.main
  };
  if (isHighContrast) {
    colors.text = commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.highContrast.text;
    colors.textSecondary = commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.highContrast.textSecondary;
    colors.border = commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.highContrast.border;
    colors.borderLight = commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.highContrast.borderLight;
  }
  return (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_1__["default"])({
    palette: {
      mode: isHighContrast ? commons_hooks_useThemeMode__WEBPACK_IMPORTED_MODULE_3__.LIGHT : mode,
      primary: {
        main: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.primary : isHighContrast ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.highContrast.primary : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.primary.main
      },
      secondary: {
        main: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.secondary : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.darkGray.main
      },
      error: {
        main: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.error.main
      },
      success: {
        main: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.success.main
      },
      warning: {
        main: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.warning.main
      },
      info: {
        main: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.info.main
      },
      accent: {
        main: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.accent.main
      },
      background: {
        default: colors.canvas,
        paper: colors.surface
      },
      text: {
        primary: colors.text,
        secondary: colors.textSecondary
      }
    },
    typography: {
      fontFamily: ['Source Sans Pro', 'Helvetica Neue', 'Arial', 'sans-serif'].join(','),
      h1: {
        fontWeight: 600,
        fontSize: '28px',
        color: colors.text
      },
      h2: {
        fontWeight: 600,
        fontSize: '21px',
        color: colors.text
      },
      h3: {
        fontWeight: 600,
        fontSize: '18px',
        color: colors.text
      },
      h4: {
        fontWeight: 600,
        fontSize: '16px',
        color: colors.text
      },
      h5: {
        fontWeight: 600,
        color: colors.text
      },
      h6: {
        fontWeight: 600,
        color: colors.text
      },
      body1: {
        fontSize: '16px',
        fontWeight: 400,
        color: colors.text
      },
      body2: {
        fontSize: '14px'
      },
      button: {
        fontSize: '16px',
        fontWeight: 600,
        whiteSpace: 'nowrap'
      }
    },
    components: {
      MuiAlert: {
        styleOverrides: {
          standardInfo: isDark ? {
            '& .MuiAlert-icon': {
              color: '#29b6f6'
            }
          } : {}
        }
      },
      MuiAccordion: {
        styleOverrides: {
          root: {
            '&:before': {
              height: '0px'
            }
          }
        }
      },
      MuiAccordionSummary: {
        styleOverrides: {
          root: {
            '&.Mui-expanded': {
              minHeight: 'unset'
            }
          }
        }
      },
      MuiAvatar: {
        styleOverrides: {
          colorDefault: {
            backgroundColor: isDark ? '#616161' : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.darkGray.main,
            color: isDark ? '#ffffff' : undefined
          }
        }
      },
      MuiBackdrop: {
        styleOverrides: {
          root: {
            backgroundColor: colors.backdrop
          },
          invisible: {
            backgroundColor: 'transparent'
          }
        }
      },
      MuiButton: {
        defaultProps: {
          color: 'primary',
          variant: 'contained',
          disableElevation: true
        },
        styleOverrides: {
          root: {
            textTransform: 'none',
            height: '48px'
          },
          // In dark mode, use a darker primary for contained buttons to ensure
          // WCAG AA contrast (4.5:1+) with white text
          containedPrimary: isDark ? {
            backgroundColor: '#1976d2',
            '&:hover': {
              backgroundColor: '#1565c0'
            }
          } : {},
          containedSecondary: isDark ? {
            backgroundColor: '#5a6a70',
            color: '#ffffff',
            '&:hover': {
              backgroundColor: '#4a5a60'
            }
          } : {}
        }
      },
      MuiCardContent: {
        styleOverrides: {
          root: {
            '&:last-child': {
              paddingBottom: '16px'
            }
          }
        }
      },
      MuiDataGrid: {
        styleOverrides: {
          cell: {
            '&:hover': {
              outline: `1px solid ${colors.textSecondary}`,
              outlineOffset: '-1px',
              cursor: 'pointer'
            }
          }
        }
      },
      MuiDialog: {
        defaultProps: {
          maxWidth: 'md'
        },
        styleOverrides: {
          paper: {
            background: colors.canvas
          }
        }
      },
      MuiDialogActions: {
        styleOverrides: {
          root: {
            height: '72px',
            padding: '12px'
          }
        }
      },
      MuiDialogContent: {
        styleOverrides: {
          root: {
            padding: '24px 6%',
            backgroundColor: colors.canvas
          },
          dividers: {
            padding: '24px 6%'
          }
        }
      },
      MuiToggleButton: {
        styleOverrides: {
          root: _ref => {
            let {
              ownerState
            } = _ref;
            return _objectSpread({}, ownerState.color === 'standard' ? {
              color: colors.text
            } : {});
          }
        }
      },
      MuiFilledInput: {
        styleOverrides: {
          root: {
            color: colors.text,
            backgroundColor: colors.inputBg,
            '&:hover': {
              backgroundColor: colors.inputBgHover
            },
            '&.Mui-focused': {
              backgroundColor: colors.inputBgFocused
            },
            '&.Mui-disabled': {
              backgroundColor: isDark ? '#1a1a1a' : undefined,
              opacity: isDark ? 0.6 : undefined
            }
          },
          underline: {
            '&:before': {
              borderBottomColor: colors.textSecondary
            }
          }
        }
      },
      MuiFormControl: {
        defaultProps: {
          margin: 'normal'
        },
        styleOverrides: {}
      },
      MuiFormControlLabel: {
        styleOverrides: {
          root: {
            color: colors.text
          }
        }
      },
      MuiIcon: {
        styleOverrides: {
          root: _ref2 => {
            let {
              ownerState
            } = _ref2;
            return _objectSpread({}, ownerState.color === 'inherit' ? {
              color: colors.text
            } : {});
          }
        }
      },
      MuiIconButton: {
        styleOverrides: {
          root: _ref3 => {
            let {
              ownerState
            } = _ref3;
            return _objectSpread({}, ownerState.color === 'default' ? {
              color: colors.text
            } : {});
          }
        }
      },
      MuiInputLabel: {
        styleOverrides: {
          root: {
            color: colors.text,
            '&.Mui-disabled': {
              color: isDark ? 'rgba(255, 255, 255, 0.3)' : isHighContrast ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.darkGray.light : undefined
            }
          }
        }
      },
      MuiLink: {
        styleOverrides: {
          root: {
            color: isDark ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.dark.primary : isHighContrast ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.highContrast.primary : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.primary.main,
            textDecoration: 'none'
          }
        }
      },
      MuiListItem: {
        styleOverrides: {
          button: {
            '&.Mui-selected': {
              backgroundColor: colors.borderLight,
              '&:hover': {
                backgroundColor: colors.borderLight
              }
            }
          }
        }
      },
      MuiListItemButton: {
        styleOverrides: {
          root: {
            color: colors.text,
            '&.Mui-selected': {
              backgroundColor: colors.borderLight,
              '&:hover': {
                backgroundColor: colors.borderLight
              }
            }
          }
        }
      },
      MuiListItemText: {
        styleOverrides: {
          primary: {
            color: colors.text
          },
          secondary: {
            color: colors.textSecondary
          }
        }
      },
      MuiMenu: {
        defaultProps: {
          BackdropProps: {
            invisible: true
          }
        }
      },
      MuiMenuItem: {
        styleOverrides: {
          root: {
            '&.Mui-selected': {
              backgroundColor: colors.borderLight,
              '&.Mui-focusVisible': {
                backgroundColor: colors.borderLight
              },
              '&:hover': {
                backgroundColor: colors.borderLight
              }
            }
          }
        }
      },
      MuiPaper: {
        styleOverrides: {
          root: {
            backgroundImage: 'none'
          }
        }
      },
      MuiSnackbarContent: {
        styleOverrides: {
          root: {
            backgroundColor: isDark ? '#424242' : colors.tooltipBg,
            color: isDark ? '#ffffff' : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.white.main,
            fontSize: 'unset',
            padding: '4px 16px',
            boxShadow: isDark ? '0px 6px 10px rgba(0, 0, 0, 0.5)' : '0px 6px 10px #00000029'
          },
          message: {
            color: isDark ? '#ffffff' : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.white.main
          }
        }
      },
      MuiSvgIcon: {
        defaultProps: {
          fontSize: 'medium'
        }
      },
      MuiTab: {
        styleOverrides: {
          textColorPrimary: {
            color: colors.text
          }
        }
      },
      MuiTypography: {
        styleOverrides: {
          root: {
            color: colors.text
          }
        }
      },
      MuiTableCell: {
        styleOverrides: {
          head: {
            fontSize: 16,
            fontWeight: 600,
            color: colors.text
          },
          body: {
            color: colors.text
          },
          root: {
            border: `1px solid ${colors.borderLight}`,
            color: colors.text
          },
          sizeSmall: {
            paddingTop: 11,
            paddingBottom: 11
          }
        }
      },
      MuiTableContainer: {
        styleOverrides: {
          root: {
            marginBottom: 36
          }
        }
      },
      MuiTextField: {
        defaultProps: {
          variant: 'filled',
          margin: 'normal',
          fullWidth: true,
          autoComplete: 'off'
        }
      },
      MuiTooltip: {
        styleOverrides: {
          tooltip: {
            backgroundColor: colors.tooltipBg,
            fontSize: 14,
            borderRadius: '4px',
            text: {
              color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_2__.white.main
            }
          }
        }
      }
    }
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createAppTheme);

/***/ },

/***/ "./modules/commons/tree/skos/loadChildren.js"
/*!***************************************************!*\
  !*** ./modules/commons/tree/skos/loadChildren.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   entryToTreeItem: () => (/* binding */ entryToTreeItem),
/* harmony export */   getChildrenRefs: () => (/* binding */ getChildrenRefs),
/* harmony export */   hasChildren: () => (/* binding */ hasChildren),
/* harmony export */   loadSkosChildren: () => (/* binding */ loadSkosChildren)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _sortOrder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./sortOrder */ "./modules/commons/tree/skos/sortOrder.js");






const SKOS = {
  broader: 'skos:broader',
  narrower: 'skos:narrower',
  topConceptOf: 'skos:topConceptOf',
  hasTopConcept: 'skos:hasTopConcept'
};

/**
 * Reads child resource URIs from an entry's metadata using explicit inverse relations
 * (skos:narrower for concepts, skos:hasTopConcept for scheme root).
 *
 * @param {object} entry - The parent entry to read children from
 * @param {object} rootEntry - The concept scheme entry; used to determine which SKOS property to follow
 * @returns {string[]} Resource URIs of child concepts
 */
const getChildrenRefs = (entry, rootEntry) => {
  const metadata = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_3__.getAllMetadata)(entry);
  const resourceURI = entry.getResourceURI();
  const isRoot = entry === rootEntry;
  const property = isRoot ? SKOS.hasTopConcept : SKOS.narrower;
  return metadata.find(resourceURI, property).map(statement => statement.getValue());
};

/**
 * Checks if all child entries are available in the EntryStore cache.
 * Returns them if so, otherwise returns null.
 *
 * @param {string[]} refs - Resource URIs to look up
 * @param {object} context - The context to filter cached entries by
 * @param {object} store - The EntryStore instance
 * @returns {object[]|null} Cached entries if all found, null otherwise
 */
const getChildrenFromCache = (refs, context, store) => {
  const cache = store.getCache();
  const entries = [];
  for (const ref of refs) {
    const cached = Array.from(cache.getByResourceURI(ref)).filter(e => e.getContext() === context);
    if (cached.length === 0) return null;
    entries.push(cached[0]);
  }
  return entries;
};

/**
 * Loads children entries for a given parent entry using SKOS relations.
 * Checks cache first, falls back to a batched fetch by resource URI.
 *
 * @param {object} entry - The parent entry (or concept scheme for root)
 * @param {object} rootEntry - The concept scheme entry (tree root)
 * @returns {Promise<object[]>} Array of child entries
 */
const loadSkosChildren = async (entry, rootEntry) => {
  const store = rootEntry.getEntryStore();
  const context = entry.getContext();
  const refs = getChildrenRefs(entry, rootEntry);
  if (refs.length === 0) return [];
  const cached = getChildrenFromCache(refs, context, store);
  if (cached) return cached;
  const entries = await commons_store__WEBPACK_IMPORTED_MODULE_4__.entrystoreUtil.loadEntriesByResourceURIs(refs, context, true);
  return entries.filter(Boolean);
};

/**
 * Checks whether an entry has children based on its SKOS metadata.
 *
 * @param {object} entry - The entry to check
 * @param {object} rootEntry - The concept scheme entry
 * @returns {boolean}
 */
const hasChildren = (entry, rootEntry) => getChildrenRefs(entry, rootEntry).length > 0;

/**
 * Converts an entry to a tree item descriptor for the tree hooks.
 *
 * @param {object} entry - The entry to convert
 * @param {object} rootEntry - The concept scheme entry
 * @returns {{ id: string, label: string, hasChildren: boolean, order: number|undefined, sortMode: string|undefined }}
 */
const entryToTreeItem = (entry, rootEntry) => ({
  id: entry.getResourceURI(),
  label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_3__.getLabel)(entry) || entry.getId(),
  hasChildren: hasChildren(entry, rootEntry),
  order: (0,_sortOrder__WEBPACK_IMPORTED_MODULE_5__.getOrder)(entry),
  sortMode: entry === rootEntry ? (0,_sortOrder__WEBPACK_IMPORTED_MODULE_5__.getSortMode)(entry) : undefined
});


/***/ },

/***/ "./modules/commons/tree/skos/sortOrder.js"
/*!************************************************!*\
  !*** ./modules/commons/tree/skos/sortOrder.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ESTERMS_ORDER: () => (/* binding */ ESTERMS_ORDER),
/* harmony export */   ESTERMS_SORT: () => (/* binding */ ESTERMS_SORT),
/* harmony export */   SORT_ALPHABETICAL: () => (/* binding */ SORT_ALPHABETICAL),
/* harmony export */   SORT_CUSTOM: () => (/* binding */ SORT_CUSTOM),
/* harmony export */   assignOrderToAllConcepts: () => (/* binding */ assignOrderToAllConcepts),
/* harmony export */   assignOrderToNewConcepts: () => (/* binding */ assignOrderToNewConcepts),
/* harmony export */   assignSequentialOrder: () => (/* binding */ assignSequentialOrder),
/* harmony export */   clearOrder: () => (/* binding */ clearOrder),
/* harmony export */   clearOrderFromAllConcepts: () => (/* binding */ clearOrderFromAllConcepts),
/* harmony export */   getOrder: () => (/* binding */ getOrder),
/* harmony export */   getOrderAfterLast: () => (/* binding */ getOrderAfterLast),
/* harmony export */   getOrderBetween: () => (/* binding */ getOrderBetween),
/* harmony export */   getSortMode: () => (/* binding */ getSortMode),
/* harmony export */   needsRebalance: () => (/* binding */ needsRebalance),
/* harmony export */   setOrder: () => (/* binding */ setOrder),
/* harmony export */   setSortMode: () => (/* binding */ setSortMode)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js");
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _loadChildren__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./loadChildren */ "./modules/commons/tree/skos/loadChildren.js");









const ESTERMS_SORT = 'esterms:sort';
const ESTERMS_ORDER = 'esterms:order';
const XSD_DECIMAL = 'xsd:decimal';
const SORT_CUSTOM = 'custom';
const SORT_ALPHABETICAL = 'alphabetical';
const REBALANCE_PRECISION_THRESHOLD = 10;

/**
 * @param {Entry} entry
 * @returns {'alphabetical' | 'custom'}
 */
const getSortMode = entry => {
  const sortMode = entry.getAllMetadata().findFirstValue(entry.getResourceURI(), ESTERMS_SORT);
  return sortMode === SORT_CUSTOM ? SORT_CUSTOM : SORT_ALPHABETICAL;
};

/**
 * @param {Entry} entry
 * @param {'alphabetical' | 'custom'} mode
 * @returns {Promise<void>}
 */
const setSortMode = async (entry, mode) => {
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  metadata.findAndRemove(resourceURI, ESTERMS_SORT);
  if (mode === SORT_CUSTOM) {
    metadata.addL(resourceURI, ESTERMS_SORT, SORT_CUSTOM);
  }
  return entry.commitMetadata();
};

/**
 * Read the order value from a concept entry.
 *
 * @param {Entry} entry
 * @returns {number|undefined}
 */
const getOrder = entry => {
  const order = entry.getAllMetadata().findFirstValue(entry.getResourceURI(), ESTERMS_ORDER);
  if (order == null) return undefined;
  return parseFloat(order);
};

/**
 * Compute a midpoint decimal between two order values.
 * When inserting at the start, `before` is undefined.
 * When inserting at the end, `after` is undefined.
 *
 * @param {number} [before]
 * @param {number} [after]
 * @returns {number}
 */
const getOrderBetween = (before, after) => {
  if (before == null && after == null) return 1.0;
  if (before == null) return after - 1.0;
  if (after == null) return before + 1.0;
  if (before === after) return before + 0.5;
  return (before + after) / 2;
};

/**
 * Set the order value on a single entry and commit.
 *
 * @param {Entry} entry
 * @param {number} order
 * @returns {Promise<void>}
 */
const setOrder = async (entry, order) => {
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  metadata.findAndRemove(resourceURI, ESTERMS_ORDER);
  metadata.addD(resourceURI, ESTERMS_ORDER, String(order), XSD_DECIMAL);
  return entry.commitMetadata();
};

/**
 * Assign sequential order values (1.0, 2.0, 3.0...) to entries
 * in the order they are provided.
 *
 * @param {Entry[]} entries
 * @returns {Promise<void>}
 */
const assignSequentialOrder = async entries => {
  await Promise.all(entries.map((entry, index) => setOrder(entry, index + 1)));
};

/**
 * Check whether siblings need rebalancing due to deep decimal precision.
 *
 * @param {number[]} orderValues
 * @returns {boolean}
 */
const needsRebalance = orderValues => orderValues.some(value => {
  const decimalPart = String(value).split('.')[1];
  return decimalPart && decimalPart.length >= REBALANCE_PRECISION_THRESHOLD;
});

/**
 * Returns an order value one above the highest-ordered item.
 *
 * @param {object[]} items - tree items with `order` property
 * @returns {number}
 */
const getOrderAfterLast = items => {
  const maxOrder = items.reduce((max, item) => {
    var _item$order;
    return Math.max(max, (_item$order = item.order) !== null && _item$order !== void 0 ? _item$order : 0);
  }, 0);
  return maxOrder + 1;
};

/**
 * Collects all sibling groups in the terminology tree.
 *
 * @param {Entry} conceptSchemeEntry
 * @returns {Promise<Entry[][]>}
 */
const collectSiblingGroups = async conceptSchemeEntry => {
  const siblingGroups = [];
  const walk = async parentEntry => {
    const children = await (0,_loadChildren__WEBPACK_IMPORTED_MODULE_8__.loadSkosChildren)(parentEntry, conceptSchemeEntry);
    if (children.length > 0) {
      siblingGroups.push(children);
    }
    for (const child of children) {
      const hasNarrower = child.getAllMetadata().find(child.getResourceURI(), 'skos:narrower').length > 0;
      if (hasNarrower) {
        await walk(child);
      }
    }
  };
  await walk(conceptSchemeEntry);
  return siblingGroups;
};

/**
 * Recursively assigns order values to all concepts in a terminology.
 * Each sibling group is sorted by label in the given locale before numbering.
 *
 * @param {Entry} conceptSchemeEntry
 * @param {string} locale
 * @param {(completed: number, total: number) => void} reportProgress
 * @returns {Promise<number>} total concepts processed
 */
const assignOrderToAllConcepts = async (conceptSchemeEntry, locale, reportProgress) => {
  const siblingGroups = await collectSiblingGroups(conceptSchemeEntry);
  const total = siblingGroups.reduce((sum, group) => sum + group.length, 0);
  let completed = 0;
  reportProgress(0, total);
  for (const children of siblingGroups) {
    const allHaveOrder = children.every(entry => getOrder(entry) != null);
    if (allHaveOrder) {
      completed += children.length;
      reportProgress(completed, total);
      continue;
    }
    const sorted = [...children].sort((a, b) => ((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getLabel)(a) || '').localeCompare((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_7__.getLabel)(b) || '', locale, {
      numeric: true
    }));
    for (let i = 0; i < sorted.length; i++) {
      await setOrder(sorted[i], i + 1);
      completed += 1;
      reportProgress(completed, total);
    }
  }
  return total;
};

/**
 * Removes esterms:order from a single entry if present.
 *
 * @param {Entry} entry
 * @returns {Promise<void>}
 */
const clearOrder = async entry => {
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  if (metadata.findFirstValue(resourceURI, ESTERMS_ORDER)) {
    metadata.findAndRemove(resourceURI, ESTERMS_ORDER);
    await entry.commitMetadata();
  }
};

/**
 * Removes esterms:order from all concepts in a terminology.
 *
 * @param {Entry} conceptSchemeEntry
 * @param {(completed: number, total: number) => void} reportProgress
 * @returns {Promise<number>} total concepts processed
 */
const clearOrderFromAllConcepts = async (conceptSchemeEntry, reportProgress) => {
  const siblingGroups = await collectSiblingGroups(conceptSchemeEntry);
  const total = siblingGroups.reduce((sum, group) => sum + group.length, 0);
  let completed = 0;
  reportProgress(0, total);
  for (const children of siblingGroups) {
    for (const entry of children) {
      await clearOrder(entry);
      completed += 1;
      reportProgress(completed, total);
    }
  }
  return total;
};

/**
 * Assigns order to entries that don't have one yet, continuing from the
 * current max order across all concepts in the terminology.
 *
 * @param {Entry[]} newEntries - newly added concept entries
 * @param {Entry} conceptSchemeEntry - used to query existing max order
 * @param {(completed: number, total: number) => void} reportProgress
 * @returns {Promise<number>} number of concepts that were assigned order
 */
const assignOrderToNewConcepts = async (newEntries, conceptSchemeEntry, reportProgress) => {
  if (newEntries.length === 0) return 0;

  // Find the current max order across all existing concepts.
  // A Solr sort would be more efficient but esterms:order is indexed as a
  // multi-valued literal field, which Solr cannot sort on. Revisit once the
  // backend introduces metadata.predicate.decimal.* for xsd:decimal values.
  const store = conceptSchemeEntry.getEntryStore();
  const context = conceptSchemeEntry.getContext();
  const allConcepts = await store.newSolrQuery().context(context).rdfType('skos:Concept').list().getAllEntries();
  let maxOrder = 0;
  for (const entry of allConcepts) {
    const order = getOrder(entry);
    if (order != null) {
      maxOrder = Math.max(maxOrder, order);
    }
  }
  reportProgress(0, newEntries.length);
  for (let i = 0; i < newEntries.length; i++) {
    maxOrder += 1;
    await setOrder(newEntries[i], maxOrder);
    reportProgress(i + 1, newEntries.length);
  }
  return newEntries.length;
};


/***/ },

/***/ "./modules/commons/tree/skos/util.js"
/*!*******************************************!*\
  !*** ./modules/commons/tree/skos/util.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getConceptPath: () => (/* binding */ _getConceptPath),
/* harmony export */   getConceptSchemeEntryInContext: () => (/* binding */ getConceptSchemeEntryInContext),
/* harmony export */   semanticRelationsProperties: () => (/* binding */ semanticRelationsProperties)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");














const hasExplicitInverse = true;
const checkRelatedConcepts = false; // in case we want to check for related terms before deletion

// SKOS classes
// SKOS properties

/**
 * SKOS semantic relations are links between SKOS concepts, where the link is inherent
 * in the meaning of the linked concepts.
 */
const semanticRelations = {
  membershipToRootProperty: 'skos:inScheme',
  inScheme: 'skos:inScheme',
  toParentProperty: 'skos:broader',
  toChildProperty: 'skos:narrower',
  toRelatedProperty: 'skos:related',
  toRootProperty: 'skos:topConceptOf',
  fromRootProperty: 'skos:hasTopConcept'
};
const semanticRelationsProperties = ['skos:inScheme', 'skos:broader', 'skos:narrower', 'skos:related', 'skos:topConceptOf', 'skos:hasTopConcept'];

/**
 *  These properties are used to state mapping (alignment) links between SKOS concepts in
 *  different concept schemes, where the links are inherent in the meaning of the linked concepts.
 */
const mappingProperties = ['skos:closeMatch', 'skos:exactMatch', 'skos:broadMatch', 'skos:narrowMatch', 'skos:relatedMatch'];
const otherProperties = {
  prefLabel: 'skos:prefLabel'
};

/*
 * This returns either a Concept or ConceptScheme entry resource URI
 */
const getParentResourceURI = e => {
  const eRURI = e.getResourceURI();
  const md = e.getMetadata();
  return md.findFirstValue(eRURI, semanticRelations.toParentProperty) || md.findFirstValue(eRURI, semanticRelations.toRootProperty);
};

/**
 *
 * @param {object} data
 * @returns {*}
 */
const addNewConceptStmts = data => {
  const {
    metadata,
    conceptRURI,
    schemeRURI,
    label,
    lang,
    isRoot
  } = data;
  metadata.add(conceptRURI, 'rdf:type', commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_CONCEPT);
  metadata.add(conceptRURI, semanticRelations.inScheme, schemeRURI);
  if (label) {
    if (lang) {
      metadata.addL(conceptRURI, otherProperties.prefLabel, label, lang);
    } else {
      metadata.add(conceptRURI, otherProperties.prefLabel, label);
    }
  }
  if (isRoot) {
    metadata.add(conceptRURI, semanticRelations.toRootProperty, schemeRURI);
  }
  return metadata;
};
const getConceptSchemeEntryInContext = context => commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystoreUtil.getEntryByType(commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_CONCEPT_SCHEME, context);

/**
 *
 * @param {string|Entry} entry If string then it is the entryURI otherwise the actual entry
 * @param {string} oldResourceURI
 * @param {string} newResourceURI
 * @returns {Promise}
 */
const updateConceptMetadata = (entry, oldResourceURI, newResourceURI) => {
  try {
    const toUpdateEntry = typeof entry === 'object' ? entry : commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntry(entry, {
      direct: true
    }); // should be already in cache, it was just queried
    const md = toUpdateEntry.getMetadata();
    md.replaceURI(oldResourceURI, newResourceURI);
    toUpdateEntry.setMetadata(md);
    return toUpdateEntry.commitMetadata(); // async, no need to await
  } catch (err) {
    console.error('Failed updating concept metadata');
    // something went wrong. @todo
    throw Error(err);
  }
};

/**
 *
 * @param {Entry} conceptEntry
 * @param {Entry} schemeEntry
 * @returns {Promise}
 */
const addConceptToConceptScheme = async (conceptEntry, schemeEntry) => {
  await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_10__.refreshEntry)(schemeEntry);
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.spreadEntry)(schemeEntry);
  metadata.add(resourceURI, semanticRelations.fromRootProperty, conceptEntry.getResourceURI());
  return schemeEntry.commitMetadata();
};

/**
 * Pushes an element into an array (which might be newly created). The array is itself an element of
 * the 'map' identified by the 'key'
 *
 * @param {Map} map
 * @param {string} key
 * @param {Entry} newElement
 */
const addElementToMapOfArrays = (map, key, newElement) => {
  const elements = map.get(key) || [];
  elements.push(newElement);
  map.set(key, elements);
};

/**
 * A convenience data transformation function.
 * Map<propertyString, arrayOfEntries> => Map<entryURI, arrayOfProperties>
 *
 * @param {Map} semanticRelationsMap
 * @returns {Map<any, any>}
 */
const transformSemanticRelationsToEntriesMap = semanticRelationsMap => {
  const replaceObjectValuesMap = new Map();
  semanticRelationsMap.forEach((entries, semanticProperty) => {
    entries.forEach(entry => {
      const entryURI = entry.getEntryInfo().getEntryURI();
      addElementToMapOfArrays(replaceObjectValuesMap, entryURI, semanticProperty);
    });
  });
  return replaceObjectValuesMap;
};

/**
 * Get a path of entries from a given entry to the concept scheme
 *
 * @param {Entry} entry
 * @param {Entry[]} entriesPath
 * @returns {Promise}
 */
const _getConceptPath = function getConceptPath(entry) {
  let entriesPath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  const store = entry.getEntryStore();
  const storeUtil = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__.EntryStoreUtil(store);
  const broaderParentRURI = getParentResourceURI(entry);
  return broaderParentRURI ? storeUtil.getEntryByResourceURI(broaderParentRURI, entry.getContext()).then(broaderEntry => _getConceptPath(broaderEntry, [...entriesPath, broaderEntry])) : Promise.resolve(entriesPath);
};

/**
 * Utility functions for working with SKOS
 */
const util = {
  /**
   * Get a Map of all *mapping* relationships incoming to an entry.
   * E.g Map(<skos:closeMatch>, [entry1, entry2, ...])
   *
   * @param {string} entryRURI  Entry's resource URI
   * @returns {Promise} Map key: <property>, value: <Array of entries>
   */
  getMappingRelations(entryRURI) {
    const mappedProperties = new Map();
    const loadRelationsPromise = new Promise(resolve => {
      const queryPromises = [];

      /**
       * Mapping properties + skos:related. The latter should behave the same as a mapping
       * property on on concept removal
       *
       * @type {Array}
       */
      const mappingRelationProperties = mappingProperties;
      mappingRelationProperties.push(semanticRelations.toRelatedProperty);

      // populate the mappedProperties (Map) with mappings (keys) and entries (values)
      mappingRelationProperties.forEach(mappingProperty => {
        queryPromises.push(commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.newSolrQuery().uriProperty(mappingProperty, entryRURI).forEach(mappedEntry => {
          // update map with mapped entries
          if (mappedEntry.canWriteMetadata()) {
            addElementToMapOfArrays(mappedProperties, mappingProperty, mappedEntry);
          }
        }));
      });

      // when map loaded with all entries per mapping property then resolve
      Promise.all(queryPromises).then(() => {
        resolve(mappedProperties);
      });
    });
    return loadRelationsPromise;
  },
  /**
   *
   * @param {string} resourceURI
   * @param {string[]} filteredRelations
   * @returns {Promise}
   */
  async getSemanticRelations(resourceURI) {
    let filteredRelations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
    const semanticMapping = new Map();
    const promises = [];

    /**
     * @param {string} semanticRelationProperty
     * @returns {Array|boolean}
     */
    const shouldPassFilter = semanticRelationProperty => Array.isArray(filteredRelations) && (
    // it's array
    !filteredRelations.length ||
    // either empty or
    filteredRelations.length > 0 && filteredRelations.includes(semanticRelationProperty)); // not empty but includes property

    semanticRelationsProperties.forEach(semanticRelationProperty => {
      if (shouldPassFilter(semanticRelationProperty)) {
        promises.push(commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.newSolrQuery().uriProperty(semanticRelationProperty, resourceURI).forEach(mappedEntry => {
          // update map with mapped entries
          addElementToMapOfArrays(semanticMapping, semanticRelationProperty, mappedEntry);
        }));
      }
    });
    await Promise.all(promises);
    return semanticMapping;
  },
  deleteConcept(entry) {
    const entryRURI = entry.getResourceURI();
    const parentRURI = getParentResourceURI(entry);
    return commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystoreUtil.getEntryByResourceURI(parentRURI).then(parentEntry => {
      if (parentEntry) {
        if (hasExplicitInverse) {
          parentEntry.getMetadata().findAndRemove(null, null, entryRURI);
          parentEntry.commitMetadata();
        } else {
          parentEntry.setRefreshNeeded();
          parentEntry.refresh();
        }
      } else {
        console.log('Something went wrong. No parent entry found for Concept.');
      }

      // delete the entry and the outgoing mapped relations
      return entry.del();
    });
  },
  /**
   * Update concept scheme resource URI and all (semantic) links referring to the old resource URI
   *
   * @param {Entry} schemeEntry
   * @param {string} newResourceURI
   * @param {Entry[]} conceptEntries
   * @returns {Promise<Array>}
   */
  async updateConceptSchemeRURI(schemeEntry, newResourceURI) {
    let conceptEntries = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
    // update ruri if needed
    const conceptSchemeEntryInfo = schemeEntry.getEntryInfo();
    const oldResourceURI = schemeEntry.getResourceURI();
    conceptSchemeEntryInfo.setResourceURI(newResourceURI);
    await conceptSchemeEntryInfo.commit();
    const promises = [];
    const properties = ['skos:inScheme', 'skos:topConceptOf'];
    if (conceptEntries.length > 0) {
      try {
        for (const conceptEntry of conceptEntries) {
          const pros = updateConceptMetadata(conceptEntry, oldResourceURI, newResourceURI);
          promises.push(pros);
        }
      } catch (err) {
        // something went wrong. @todo
        throw Error(err);
      }
    } else {
      // Map<'skos:inScheme', [Entry1, Entry2, ...]>
      const propertiesToEntriesMap = await util.getSemanticRelations(oldResourceURI, properties);
      // Map<EntryURI, ['skos:inScheme, ...]>
      const replaceObjectValuesEntries = transformSemanticRelationsToEntriesMap(propertiesToEntriesMap);
      try {
        for (const [entryURI] of Array.from(replaceObjectValuesEntries)) {
          const pros = updateConceptMetadata(entryURI, oldResourceURI, newResourceURI);
          promises.push(pros);
        }
      } catch (err) {
        // something went wrong. @todo
        console.error(err);
        return [];
      }
    }
    return promises;
  },
  /**
   *
   * @param {Entry} conceptSchemeEntry
   * @param {string} uriSpace
   * @returns {Promise}
   */
  async updateConceptSchemeUriSpace(conceptSchemeEntry, uriSpace) {
    const {
      resourceURI,
      metadata
    } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.spreadEntry)(conceptSchemeEntry);
    metadata.findAndRemove(resourceURI, 'void:uriSpace', null);
    metadata.add(resourceURI, 'void:uriSpace', uriSpace);
    return conceptSchemeEntry.commitMetadata();
  },
  /**
   * Update the concept resource URI and all (semantic) links referring to the old resource URI
   *
   * @param {Entry} entry
   * @param {string} newResourceURI
   * @param {Entry[]} conceptEntries
   * @returns {Promise<Array>}
   */
  async updateConceptResourceURI(entry, newResourceURI) {
    let conceptEntries = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
    const oldResourceURI = entry.getResourceURI();
    const entryInfo = entry.getEntryInfo();
    entryInfo.setResourceURI(newResourceURI);
    await entryInfo.commit();
    const promises = [];
    if (conceptEntries.length > 0) {
      try {
        for (const relatedEntry of conceptEntries) {
          const pros = updateConceptMetadata(relatedEntry, oldResourceURI, newResourceURI, semanticRelationsProperties);
          promises.push(pros);
        }
      } catch (err) {
        console.error('Failed to update concept resource uri');
        throw Error(err);

        // something went wrong. @todo
      }
    } else {
      const semanticMapping = await util.getSemanticRelations(oldResourceURI);
      const replaceObjectValuesEntries = transformSemanticRelationsToEntriesMap(semanticMapping);
      try {
        for (const [entryURI] of Array.from(replaceObjectValuesEntries)) {
          const pros = updateConceptMetadata(entryURI, oldResourceURI, newResourceURI);
          promises.push(pros);
        }
      } catch (_unused) {
        // something went wrong. @todo
      }
    }
    return Promise.resolve(promises);
  },
  /**
   * @param {Entry} entry
   * @param {string} newResourceURI
   * @returns {Promise}
   */
  setResourceURI(entry, newResourceURI) {
    const entryInfo = entry.getEntryInfo();
    entryInfo.setResourceURI(newResourceURI);
    return entryInfo.commit();
  },
  /**
   *
   * @param {string} resourceURI
   * @returns {Promise}
   */
  async getResourceURIsForSemanticRelations(resourceURI) {
    const semanticRelationsMap = await util.getSemanticRelations(resourceURI);
    const replaceValuesEntriesMap = transformSemanticRelationsToEntriesMap(semanticRelationsMap);
    return Array.from(replaceValuesEntriesMap).map(_ref => {
      let [relatedResourceURI] = _ref;
      return relatedResourceURI;
    });
  },
  /**
   *
   * @param {Entry[]} conceptEntries
   * @param {object} secondaryEntityType
   * @param {string} contextName
   * @param {string} newPattern
   * @returns {object[]}
   */
  getURIChangesForConcepts(conceptEntries, secondaryEntityType, contextName) {
    let newPattern = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
    const uriChanges = conceptEntries.map(conceptEntry => {
      const oldResourceURI = conceptEntry.getResourceURI();
      const entryName = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.getValueFromURIByPattern)(oldResourceURI, secondaryEntityType.uriPattern, 'entryName') || (0,commons_util_util__WEBPACK_IMPORTED_MODULE_13__.normalizeEntryName)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__.getLabel)(conceptEntry) || '') || conceptEntry.getId();
      const newResourceURI = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_11__.constructURIFromPattern)(newPattern || secondaryEntityType.uriPattern, {
        contextName,
        entryName
      });
      return {
        conceptEntry,
        newResourceURI,
        oldResourceURI
      };
    });
    return uriChanges;
  },
  /**
   *
   * @param {object[]} uriChanges
   * @returns {Promise}
   */
  async getURIChangesForSemanticRelations(uriChanges) {
    const promises = uriChanges.map(async _ref2 => {
      let {
        oldResourceURI,
        newResourceURI
      } = _ref2;
      const resourceURIs = await util.getResourceURIsForSemanticRelations(oldResourceURI);
      return resourceURIs.map(resourceURI => ({
        entry: commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntry(resourceURI, {
          direct: true
        }),
        oldResourceURI,
        newResourceURI
      }));
    });
    const uriSemanticChangesByConcept = await Promise.all(promises);
    return uriSemanticChangesByConcept.flat();
  },
  /**
   * @param {object[]} uriChanges
   * @returns {Promise}
   */
  async replaceURIs(uriChanges) {
    // First update all metadata and then commit, to avoid multiple revisions.
    for (const uriChange of uriChanges) {
      const {
        entry,
        oldResourceURI,
        newResourceURI
      } = uriChange;
      const metadata = entry.getMetadata();
      metadata.replaceURI(oldResourceURI, newResourceURI);
      entry.setMetadata(metadata);
    }
    const entriesToCommit = uriChanges.reduce((entries, _ref3) => {
      let {
        entry
      } = _ref3;
      if (!entries.includes(entry)) {
        entries.push(entry);
      }
      return entries;
    }, []);

    // commit changes
    for (const entry of entriesToCommit) {
      try {
        await entry.commitMetadata();
      } catch (error) {
        console.error('Failed to commit uri change for entry');
        throw new Error(error);
      }
    }
  },
  hasChildrenOrRelationsConcepts(entry) {
    const md = entry.getMetadata();
    const entryRURI = entry.getResourceURI();
    const children = md.find(entryRURI, semanticRelations.toChildProperty, null);
    if (checkRelatedConcepts) {
      const related = md.find(entryRURI, semanticRelations.toRelatedProperty, null);
      return children.length && related.length;
    }
    return children.length;
  },
  // refactor
  async addConceptToScheme(newConcept, context) {
    let conceptScheme = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    const conceptSchemeEntry = conceptScheme || (await getConceptSchemeEntryInContext(context));
    return addConceptToConceptScheme(newConcept, conceptSchemeEntry).catch(() => {
      throw Error('Concept could not be added to concept scheme');
    });
  },
  getSemanticProperties() {
    return semanticRelations;
  },
  getMappingProperties() {
    return mappingProperties;
  },
  addNewConceptStmts
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (util);


/***/ },

/***/ "./modules/commons/types/EntityType.js"
/*!*********************************************!*\
  !*** ./modules/commons/types/EntityType.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   entityTypePropType: () => (/* binding */ entityTypePropType)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");


const entityTypePropType = prop_types__WEBPACK_IMPORTED_MODULE_0___default().instanceOf(_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_1__.EntityType);

/***/ },

/***/ "./modules/commons/types/Lookup.js"
/*!*****************************************!*\
  !*** ./modules/commons/types/Lookup.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getCurrentModule: () => (/* binding */ getCurrentModule),
/* harmony export */   init: () => (/* binding */ init)
/* harmony export */ });
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");







const Lookup = new _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.LookupStore();

/**
 *
 * @param {Context} context
 * @param {boolean} direct
 * @returns {string|Promise<string>}
 */
const getCurrentModule = function getCurrentModule(context) {
  let direct = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  // TODO: always use findModuleNameFromContext
  const moduleName = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_4__.getModuleNameOfCurrentView)(context);

  // If current module is search, the module must be read from context.
  // Otherwise entity type is gonna be matched with search module.
  if (moduleName === 'search' && context) {
    const contextEntry = context.getEntry(true);
    return (0,commons_util_module__WEBPACK_IMPORTED_MODULE_6__.findModuleNameFromContextEntry)(contextEntry);
  }
  if (direct) return moduleName;
  return (0,commons_util_module__WEBPACK_IMPORTED_MODULE_6__.findModuleNameFromContext)(context);
};
const init = () => {
  const entityTypeConfigs = config__WEBPACK_IMPORTED_MODULE_3__["default"].get('entitytypes');
  const projectTypeConfigs = config__WEBPACK_IMPORTED_MODULE_3__["default"].get('projecttypes');
  Lookup.init({
    entityTypeConfigs,
    projectTypeConfigs,
    entryStore: commons_store__WEBPACK_IMPORTED_MODULE_0__.entrystore,
    itemStore: commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_2__.itemStore,
    getCurrentModule
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Lookup);

/***/ },

/***/ "./modules/commons/types/ProfileChooser/ProfileChooser.js"
/*!****************************************************************!*\
  !*** ./modules/commons/types/ProfileChooser/ProfileChooser.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_types_ProfileChooserDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/ProfileChooserDialog */ "./modules/commons/types/ProfileChooserDialog/index.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _ProfileChooser_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ProfileChooser.scss */ "./modules/commons/types/ProfileChooser/ProfileChooser.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const ProfileChooser = _ref => {
  let {
    entityTypes,
    selectedEntityType,
    onChangeEntityType
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const [dialogOpen, setDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
    title: t('entityChooserTooltip')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "escoProfileChooserButton",
    variant: "outlined",
    startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null),
    color: "secondary",
    onClick: () => setDialogOpen(true)
  }, t('entityChooserLabel'))), /*#__PURE__*/React.createElement(commons_types_ProfileChooserDialog__WEBPACK_IMPORTED_MODULE_7__["default"], {
    open: dialogOpen,
    onClose: () => setDialogOpen(false),
    entityTypes: entityTypes,
    selectedId: selectedEntityType === null || selectedEntityType === void 0 ? void 0 : selectedEntityType.getId(),
    onChangeEntityType: onChangeEntityType
  }));
};
ProfileChooser.propTypes = {
  entityTypes: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  selectedEntityType: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    getId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
  }),
  onChangeEntityType: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProfileChooser);

/***/ },

/***/ "./modules/commons/types/ProfileChooser/index.js"
/*!*******************************************************!*\
  !*** ./modules/commons/types/ProfileChooser/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProfileChooser__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProfileChooser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProfileChooser */ "./modules/commons/types/ProfileChooser/ProfileChooser.js");


/***/ },

/***/ "./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.js"
/*!****************************************************************************!*\
  !*** ./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/FormLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Card/Card.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardHeader/CardHeader.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/Radio.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_InformationBlock__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/InformationBlock */ "./modules/commons/components/InformationBlock/index.js");
/* harmony import */ var _ProfileChooserDialog_scss__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ProfileChooserDialog.scss */ "./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const ProfileChooserDialog = _ref => {
  let {
    entityTypes,
    selectedId: preselectedId,
    onChangeEntityType,
    open,
    onClose
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_17___default()));
  const [selectedId, setSelectedId] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(preselectedId);
  const handleChange = _ref2 => {
    let {
      target: {
        value
      }
    } = _ref2;
    return setSelectedId(value);
  };
  const handleSwitch = () => {
    const selectedType = entityTypes.find(type => type.getId() === selectedId);
    onChangeEntityType(selectedType);
    onClose();
  };
  const handleClose = () => {
    onClose();
    setSelectedId(preselectedId);
  };
  const handleCardClick = value => setSelectedId(value);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    open: open,
    onClose: handleClose
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], null, t('entityChooserDialogTitle')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    dividers: true
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_19__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    fullWidth: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    id: "entitytypes-radio-group-label"
  }, t('entityChooserLabel')), entityTypes.map(entityType => {
    const isSelected = selectedId === entityType.getId();
    const id = entityType.getId();
    const label = entityType.label();
    const description = entityType.description();
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
      key: `card-${id}`,
      classes: {
        root: isSelected ? 'escoProfileChooser__card escoProfileChooser__card--selected' : 'escoProfileChooser__card'
      },
      style: {
        cursor: 'pointer'
      },
      onClick: () => handleCardClick(id)
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      avatar: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
        checked: isSelected,
        onChange: handleChange,
        value: id,
        name: "profile-radio-buttons",
        inputProps: {
          'aria-label': (0,commons_locale__WEBPACK_IMPORTED_MODULE_4__.localize)(label)
        }
      }),
      disableTypography: true,
      title: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
        variant: "h4",
        gutterBottom: Boolean(description)
      }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_4__.localize)(label)),
      subheader: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
        variant: "body2"
      }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_4__.localize)(description))
    }));
  })), /*#__PURE__*/React.createElement(commons_components_InformationBlock__WEBPACK_IMPORTED_MODULE_20__["default"], {
    className: "escoProfileChooser__infoBlock",
    info: t('entityChooserInfo')
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    onClick: handleClose,
    variant: "text"
  }, t('entityChooserCancel')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    onClick: handleSwitch,
    disabled: selectedId === preselectedId
  }, t('entityChooserSwitch'))));
};
ProfileChooserDialog.propTypes = {
  entityTypes: prop_types__WEBPACK_IMPORTED_MODULE_3___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})),
  selectedId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  onChangeEntityType: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProfileChooserDialog);

/***/ },

/***/ "./modules/commons/types/ProfileChooserDialog/index.js"
/*!*************************************************************!*\
  !*** ./modules/commons/types/ProfileChooserDialog/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProfileChooserDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProfileChooserDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProfileChooserDialog */ "./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.js");


/***/ },

/***/ "./modules/commons/types/ProjectTypeChooser/ProjectTypeChooser.js"
/*!************************************************************************!*\
  !*** ./modules/commons/types/ProjectTypeChooser/ProjectTypeChooser.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoRdforms.nls */ "./modules/commons/nls/escoRdforms.nls");
/* harmony import */ var commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _Lookup__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../Lookup */ "./modules/commons/types/Lookup.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "selectedId", "onChangeProjectType", "required", "userInfo"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const ProjectTypeChooser = _ref => {
  let {
      entry,
      selectedId,
      onChangeProjectType,
      required = false,
      userInfo
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const [projectTypes, setProjectTypes] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)((commons_nls_escoRdforms_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    setProjectTypes(_Lookup__WEBPACK_IMPORTED_MODULE_13__["default"].getProjectTypeOptions(userInfo));
  }, [entry, userInfo]);
  const handleSelectProjectType = _ref2 => {
    let {
      target
    } = _ref2;
    onChangeProjectType(target.value);
  };
  return projectTypes !== null && projectTypes !== void 0 && projectTypes.length ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({
    variant: "filled",
    fullWidth: true,
    required: required
  }, rest), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "project-type-label",
    shrink: true
  }, t('projectTypeChooserLabel')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "project-type-select",
    value: selectedId,
    onChange: handleSelectProjectType,
    displayEmpty: true,
    inputProps: {
      'aria-labelledby': 'project-type-label'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    value: ""
  }, t('selectNoneLabel')), projectTypes.map(projectType => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    key: projectType.getId(),
    value: projectType.getId()
  }, (0,commons_locale__WEBPACK_IMPORTED_MODULE_12__.localize)(projectType.getLabel()))))) : null;
};
ProjectTypeChooser.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Entry),
  selectedId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  onChangeProjectType: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  required: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  userInfo: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProjectTypeChooser);

/***/ },

/***/ "./modules/commons/types/ProjectTypeChooser/index.js"
/*!***********************************************************!*\
  !*** ./modules/commons/types/ProjectTypeChooser/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeChooser */ "./modules/commons/types/ProjectTypeChooser/ProjectTypeChooser.js");


/***/ },

/***/ "./modules/commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeChangeDialog.js"
/*!******************************************************************************************!*\
  !*** ./modules/commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeChangeDialog.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/types/ProjectTypeChooser */ "./modules/commons/types/ProjectTypeChooser/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




















/**
 *
 * @param {Context} context
 * @param {string} projectTypeId
 * @returns {Promise}
 */
const udpateProjectType = async (context, projectTypeId) => {
  const contextEntry = await context.getEntry();
  const {
    resourceURI,
    info
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_12__.spreadEntry)(contextEntry);
  const graph = info.getGraph();
  graph.findAndRemove(resourceURI, _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_15__.RDF_PROPERTY_PROJECTTYPE);
  if (projectTypeId) {
    graph.add(resourceURI, _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_15__.RDF_PROPERTY_PROJECTTYPE, projectTypeId);
  }
  return info.commit();
};
const ProjectTypeChangeDialog = _ref => {
  let {
    context,
    closeDialog,
    nlsBundles,
    onChange,
    onBeforeChange,
    onAfterChange,
    getSelectionWarning
  } = _ref;
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_10__.useUserState)();
  const [selectedProjectTypeId, setSelectedProjectTypeId] = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)('');
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundles);
  const selectionWarning = getSelectionWarning === null || getSelectionWarning === void 0 ? void 0 : getSelectionWarning(selectedProjectTypeId);
  const {
    runAsync: runAsyncSave,
    error: saveError,
    status: saveStatus
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__["default"])();
  const {
    runAsync,
    data: savedProjectTypeId,
    status,
    error: loadError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__["default"])({
    data: ''
  });
  const hasChanges = status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__.RESOLVED && savedProjectTypeId !== selectedProjectTypeId;
  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => {
    if (!context) return;
    runAsync(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_5__["default"].getProjectTypeInUse(context).then(async projectType => {
      const projectTypeId = (projectType === null || projectType === void 0 ? void 0 : projectType.getId()) || '';
      if (projectTypeId) {
        setSelectedProjectTypeId(projectTypeId);
      }
      return projectTypeId;
    }).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_17__.ErrorWithMessage(translate('loadFail'), error);
    }));
  }, [context, runAsync, userInfo, translate]);
  const onChangeProjectType = async projectTypeId => {
    setSelectedProjectTypeId(projectTypeId);
  };
  const handleSaveAction = () => {
    runAsyncSave(Promise.resolve().then(() => onBeforeChange === null || onBeforeChange === void 0 ? void 0 : onBeforeChange(selectedProjectTypeId)).then(() => udpateProjectType(context, selectedProjectTypeId)).then(async () => {
      const deferClose = onAfterChange ? await onAfterChange(selectedProjectTypeId) : false;
      if (!deferClose) {
        closeDialog();
        onChange();
      }
    }).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_17__.ErrorWithMessage(translate('saveFail'), error);
    }));
  };
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_18__["default"], {
    loading: saveStatus === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__.PENDING,
    disabled: !hasChanges,
    onClick: handleSaveAction
  }, translate('saveButton'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_11__["default"], {
    closeDialog: closeDialog,
    id: "change-projecttype",
    title: translate('changeProjectTypeLabel'),
    actions: actions,
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_6__["default"], {
    xs: 10
  }, /*#__PURE__*/React.createElement(commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_14__["default"], {
    onChangeProjectType: onChangeProjectType,
    selectedId: selectedProjectTypeId,
    userInfo: userInfo
  }), selectionWarning ? /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_7__["default"], {
    sx: {
      marginTop: '18px'
    },
    severity: "warning"
  }, selectionWarning) : null)), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_16__.ErrorCatcher, {
    error: loadError || saveError
  }));
};
ProjectTypeChangeDialog.propTypes = {
  context: prop_types__WEBPACK_IMPORTED_MODULE_3___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.Context),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.nlsBundlesPropType,
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onBeforeChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  onAfterChange: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  getSelectionWarning: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProjectTypeChangeDialog);

/***/ },

/***/ "./modules/commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeMigrationDialog.js"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeMigrationDialog.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _ProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ProjectTypeChangeDialog */ "./modules/commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeChangeDialog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "context", "closeDialog", "onChange", "nlsBundles", "resolveUriPattern", "readUriSpace", "removeUriSpace", "onMigrate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const ProjectTypeMigrationDialog = _ref => {
  let {
      entry,
      context,
      closeDialog,
      onChange,
      nlsBundles,
      resolveUriPattern,
      readUriSpace,
      removeUriSpace,
      onMigrate
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)(nlsBundles);
  const migrate = async uriPattern => {
    const contextEntry = await context.getEntry();
    const alias = contextEntry.getEntryInfo().getName() || (0,commons_util_util__WEBPACK_IMPORTED_MODULE_6__.normalizeEntryName)((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_5__.getLabel)(entry) || '');
    return onMigrate(alias, uriPattern);
  };
  const getSelectionWarning = projectTypeId => {
    if (!projectTypeId) return undefined;
    const uriPattern = resolveUriPattern(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getProjectType(projectTypeId));
    return uriPattern && !readUriSpace() ? translate('migrateURIsOnProjectTypeBody') : undefined;
  };
  const handleBeforeChange = async projectTypeId => {
    const projectType = projectTypeId ? commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getProjectType(projectTypeId) : undefined;
    if (!resolveUriPattern(projectType) && readUriSpace()) {
      await removeUriSpace();
    }
  };
  const handleAfterChange = async () => {
    const projectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getProjectTypeInUse(context);
    const uriPattern = resolveUriPattern(projectType);
    if (uriPattern && !readUriSpace()) {
      await migrate(uriPattern);
      return true;
    }
    return false;
  };
  return /*#__PURE__*/React.createElement(_ProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({
    context: context,
    closeDialog: closeDialog,
    onChange: onChange,
    nlsBundles: nlsBundles,
    onBeforeChange: handleBeforeChange,
    onAfterChange: handleAfterChange,
    getSelectionWarning: getSelectionWarning
  }, rest));
};
ProjectTypeMigrationDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  context: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Context),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.nlsBundlesPropType,
  resolveUriPattern: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  readUriSpace: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  removeUriSpace: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  onMigrate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProjectTypeMigrationDialog);

/***/ },

/***/ "./modules/commons/types/dialogs/ProjectTypeChangeDialog/index.js"
/*!************************************************************************!*\
  !*** ./modules/commons/types/dialogs/ProjectTypeChangeDialog/index.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectTypeChangeDialog */ "./modules/commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeChangeDialog.js");


/***/ },

/***/ "./modules/commons/types/useGetEntityTypes.js"
/*!****************************************************!*\
  !*** ./modules/commons/types/useGetEntityTypes.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   loadEntityTypeOptions: () => (/* binding */ loadEntityTypeOptions)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");







/**
 *
 * @param {Entry} entry
 * @returns {Promise<object[]>}
 */
const loadEntityTypeOptions = entry => {
  return commons_types_Lookup__WEBPACK_IMPORTED_MODULE_3__["default"].options(entry).then(_ref => {
    let {
      primary,
      secondary
    } = _ref;
    return [primary, ...secondary];
  });
};
const useGetEntityTypes = entry => {
  const {
    runAsync,
    data: entityTypes,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])({
    data: []
  });
  const isLoading = status === 'idle' || status === 'pending';
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    runAsync(loadEntityTypeOptions(entry));
  }, [entry, runAsync]);
  return {
    entityTypes,
    status,
    isLoading
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetEntityTypes);

/***/ },

/***/ "./modules/commons/types/utils/entityType.js"
/*!***************************************************!*\
  !*** ./modules/commons/types/utils/entityType.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   checkEntityTypeInModules: () => (/* binding */ checkEntityTypeInModules),
/* harmony export */   excludeBuiltinEntityTypes: () => (/* binding */ excludeBuiltinEntityTypes),
/* harmony export */   findEntityTypeForContext: () => (/* binding */ findEntityTypeForContext),
/* harmony export */   getAvailableEntityTypes: () => (/* binding */ getAvailableEntityTypes),
/* harmony export */   getBaseEntityType: () => (/* binding */ getBaseEntityType),
/* harmony export */   getBuiltinEntityTypeConfigs: () => (/* binding */ getBuiltinEntityTypeConfigs),
/* harmony export */   getBuiltinEntityTypeNames: () => (/* binding */ getBuiltinEntityTypeNames),
/* harmony export */   getBuiltinEntityTypes: () => (/* binding */ getBuiltinEntityTypes),
/* harmony export */   getCustomEntityTypeConfigs: () => (/* binding */ getCustomEntityTypeConfigs),
/* harmony export */   getDraftsEnabled: () => (/* binding */ getDraftsEnabled),
/* harmony export */   getEntityTypesByConstraints: () => (/* binding */ getEntityTypesByConstraints),
/* harmony export */   getEntityTypesIncludingRefined: () => (/* binding */ getEntityTypesIncludingRefined),
/* harmony export */   getOverviewName: () => (/* binding */ getOverviewName),
/* harmony export */   getRefinedEntityTypes: () => (/* binding */ getRefinedEntityTypes),
/* harmony export */   getType2Template: () => (/* binding */ getType2Template),
/* harmony export */   sortByLabel: () => (/* binding */ sortByLabel)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _restrictions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./restrictions */ "./modules/commons/types/utils/restrictions.js");



















/**
 *
 * @returns {object[]}
 */
const getBuiltinEntityTypeConfigs = () => {
  const builtinEntityTypeConfigs = commons_registry__WEBPACK_IMPORTED_MODULE_11__["default"].getApplicationConfig().entitytypes;
  return builtinEntityTypeConfigs;
};

/**
 * @returns {string[]}
 */
const getBuiltinEntityTypeNames = () => {
  return getBuiltinEntityTypeConfigs().map(_ref => {
    let {
      name
    } = _ref;
    return name;
  });
};

/**
 *
 * @returns {object[]}
 */
const getCustomEntityTypeConfigs = () => {
  const builtinEntityTypeNames = getBuiltinEntityTypeNames();
  const entityTypes = config__WEBPACK_IMPORTED_MODULE_14__["default"].get('entitytypes');
  return entityTypes.filter(entityType => {
    return !builtinEntityTypeNames.includes(entityType.name);
  });
};

/**
 * Check if entity type is included in active modules.
 *
 * @param {object[]} entityType
 * @param {string[]} validModuleNames
 * @returns {object[]}
 */
const checkEntityTypeInModules = (entityType, validModuleNames) => {
  const typeModule = entityType.module;
  if (!typeModule) return true;
  const moduleNames = Array.isArray(typeModule) ? typeModule : [typeModule];
  const isValidModule = Boolean(moduleNames.find(moduleName => validModuleNames.includes(moduleName)));
  return isValidModule;
};

/**
 * Resolve the entity type that locates an entry in secondary navigation.
 * Refined entity types are not shown there, so fall back to the base (parent)
 * entity type referenced via `refines`.
 *
 * @param {EntityType} entityType
 * @returns {EntityType|undefined}
 */
const getBaseEntityType = entityType => {
  if (!entityType) return undefined;
  const refines = entityType.get('refines');
  return refines ? commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName(refines) : entityType;
};

/**
 *
 * @param {EntityType} entityType
 * @returns {string}
 */
const getOverviewName = entityType => {
  var _getBaseEntityType;
  return (_getBaseEntityType = getBaseEntityType(entityType)) === null || _getBaseEntityType === void 0 ? void 0 : _getBaseEntityType.get('overview');
};

/**
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const getEntityTypesIncludingRefined = entityTypes => entityTypes.reduce((types, entityType) => {
  const refinedTypeName = entityType.get('refines');
  if (!refinedTypeName) return [...types, entityType];
  const refinedType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName(refinedTypeName);
  if (!refinedType || entityTypes.includes(refinedType)) return types;
  return [...types, entityType, refinedType];
}, []);

/**
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const getRefinedEntityTypes = entityTypes => entityTypes.reduce((types, entityType) => {
  const refinedTypeName = entityType.get('refines');
  if (!refinedTypeName) return types;
  const refinedType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName(refinedTypeName);
  if (!refinedType) return types;
  return [...types, refinedType];
}, []);

/**
 * @param {object} userInfo
 * @param {string} module
 * @returns {EntityType[]}
 */
const getBuiltinEntityTypes = (userInfo, module) => {
  const builtinTypeNames = getBuiltinEntityTypeNames();
  const availableEntityTypes = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getEntityTypes();
  const builtinEntityTypes = availableEntityTypes.filter(entityType => builtinTypeNames.includes(entityType.getName()));
  return (0,_restrictions__WEBPACK_IMPORTED_MODULE_17__.filterOnRestrictions)(builtinEntityTypes, userInfo, module, true);
};

/**
 * TODO: move this into entity lookup lib
 *
 * @param {Entry} contextEntry
 * @returns {Promise<EntityType>}
 */
const findEntityTypeForContext = async contextEntry => {
  const resource = await contextEntry.getResource();
  const moduleName = await (0,commons_util_module__WEBPACK_IMPORTED_MODULE_12__.findModuleNameFromContext)(resource);
  const {
    rdfType
  } = commons_util_context__WEBPACK_IMPORTED_MODULE_13__.contextTypes.find(contextType => contextType.module === moduleName);
  await contextEntry.getContext().getEntry(); // make sure it's in the cache
  return commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getEntityTypeByRdfType(rdfType, moduleName);
};

/**
 * Check whether drafts are enabled on an entity type. If not explicitly set on
 * the type itself look for the property on the base entity type (via refines).
 *
 * @param {EntityType} entityType
 * @returns {boolean}
 */
const getDraftsEnabled = entityType => {
  if (!entityType) return false;
  const draftsEnabled = entityType.get('draftsEnabled');
  if (draftsEnabled === undefined) {
    const baseEntityTypeName = entityType.get('refines');
    if (!baseEntityTypeName) return false;
    const baseEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getByName(baseEntityTypeName);
    return Boolean(baseEntityType === null || baseEntityType === void 0 ? void 0 : baseEntityType.get('draftsEnabled'));
  }
  return draftsEnabled;
};
const sortByLabel = entityTypes => {
  return [...entityTypes].sort((a, b) => {
    const labelA = (0,commons_locale__WEBPACK_IMPORTED_MODULE_16__.localize)(a.label() || '').toLowerCase();
    const labelB = (0,commons_locale__WEBPACK_IMPORTED_MODULE_16__.localize)(b.label() || '').toLowerCase();
    if (labelA < labelB) {
      return -1;
    }
    if (labelA > labelB) {
      return 1;
    }
    return 0; // if names are equal
  });
};

/**
 * Exclude built in entity types. This is a current workaround to make sure that
 * shared entity types are not included as main entity types in secondary nav
 * and overview in Workbench. When introducing default project types, this
 * workaround will no longer be needed.
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const excludeBuiltinEntityTypes = entityTypes => {
  const {
    entitytypes: builtinEntityTypes
  } = commons_registry__WEBPACK_IMPORTED_MODULE_11__["default"].getApplicationConfig();
  return entityTypes.filter(entityType => {
    return !builtinEntityTypes.find(_ref2 => {
      let {
        name
      } = _ref2;
      return entityType.get('name') === name;
    });
  });
};

/**
 * Gets available entitypes for a given project type. If no project type is
 * used, available entity types will be used instead. Difference to
 * getEntityTypeConfig is that all available entity types must be listed, not
 * only saved entity types in context.
 *
 * @param {string} projectTypeId
 * @param {object} userInfo
 * @param {string} module
 * @param {boolean} excludeBuiltin
 * @param {boolean} restrictedToModule
 * @returns {Promise<object[]>}
 */
const getAvailableEntityTypes = function getAvailableEntityTypes(projectTypeId, userInfo, module) {
  var _Lookup$getProjectTyp;
  let excludeBuiltin = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
  let restrictedToModule = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  const entityTypesFromProjectType = (_Lookup$getProjectTyp = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getProjectType(projectTypeId)) === null || _Lookup$getProjectTyp === void 0 ? void 0 : _Lookup$getProjectTyp.getPrimary().map(entityTypeId => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].get(entityTypeId));
  const types = excludeBuiltin ? excludeBuiltinEntityTypes(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getEntityTypes()) : commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getEntityTypes();
  const availableEntityTypes = entityTypesFromProjectType || types;
  return sortByLabel((0,_restrictions__WEBPACK_IMPORTED_MODULE_17__.filterOnRestrictions)(availableEntityTypes, userInfo, module, restrictedToModule));
};

/**
 *
 * @param {EntryInfo} userInfo
 * @returns {object} A map having the types as keys and their templates as values.
 */
const getType2Template = userInfo => {
  const type2Template = {};
  const entityTypes = getAvailableEntityTypes(null, userInfo, 'register', false);
  entityTypes.forEach(entityType => {
    entityType.getRdfType().forEach(rdfType => {
      const templateId = entityType.get('template');
      if (!templateId) return;
      const template = commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_15__.itemStore.getItem(templateId);
      if (!template) return;
      type2Template[_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_9__.namespaces.expand(rdfType)] = template;
    });
  });
  return type2Template;
};

// TODO: This should be moved to es-utils, see ESM-2
/**
 *  Find matching entity types by constraint.
 *
 * @param {object} constraints
 * @param {Context} context
 * @returns {EntityType|undefined}
 */
const getEntityTypesByConstraints = (constraints, context) => {
  const entityTypes = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getEntityTypes();
  const moduleName = (0,commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__.getCurrentModule)(context);
  const normalizedConstraints = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__.normalizeConstraints)(constraints);

  // Get matching weight for each entity type. Exclude no match and wrong module.
  const matches = entityTypes.filter(_ref3 => {
    let {
      source
    } = _ref3;
    return moduleName && source.module ? source.module.includes(moduleName) : true;
  }) // exlude if wrong module
  .map(entityType => {
    return {
      // param order is important!
      matchWeight: (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__.matchConstraints)(normalizedConstraints, entityType.constraints()),
      entityType
    };
  }) // map entity type types with matching weight
  .filter(_ref4 => {
    let {
      matchWeight
    } = _ref4;
    return matchWeight;
  }); // exclude if no match

  return matches.map(_ref5 => {
    let {
      entityType
    } = _ref5;
    return entityType;
  });
};

/***/ },

/***/ "./modules/commons/types/utils/relations.js"
/*!**************************************************!*\
  !*** ./modules/commons/types/utils/relations.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addRelationToParent: () => (/* binding */ addRelationToParent),
/* harmony export */   getCompositionFilterPredicatesFromRelations: () => (/* binding */ getCompositionFilterPredicatesFromRelations),
/* harmony export */   getFilterPredicatesFromRelations: () => (/* binding */ getFilterPredicatesFromRelations),
/* harmony export */   getSubEntities: () => (/* binding */ getSubEntities),
/* harmony export */   removeEntryAndRelations: () => (/* binding */ removeEntryAndRelations),
/* harmony export */   removeRelationFromParent: () => (/* binding */ removeRelationFromParent)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");











/**
 * Matches rdf types in entry with rdf types for entity type. This can be useful
 * if a specific rdf type is used to filter on entries with multiple rdf types.
 *
 * @param {Entry} entry
 * @param {EntityType} entityType
 * @returns {boolean}
 */
const matchEntityTypeRdfType = (entry, entityType) => {
  const resourceURI = entry.getResourceURI();
  const metadata = entry.getMetadata();
  const sourceRdfTypes = metadata.find(resourceURI, 'rdf:type').map(statement => statement.getValue());
  const entityTypeRdfTypes = entityType.getRdfType();
  for (const rdfType of entityTypeRdfTypes) {
    if (sourceRdfTypes.includes(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(rdfType))) return true;
  }
  return false;
};

/**
 * Retrieves all sub entities related to given entry, whether local or remote
 * based on the entity type's remote store
 *
 * @param {object} entry
 * @param {object} relation
 * @param {object} context
 * @param {EntityType} entityType
 * @returns {Promise<object[]>}
 */
const getSubEntities = async (entry, relation, context, entityType) => {
  const metadata = entry.getMetadata();
  const subEntityURIs = metadata.find(entry.getResourceURI(), relation.property).map(statement => statement.getValue());
  const subEntriesWithMissing = await commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystoreUtil.loadEntriesByResourceURIs(subEntityURIs, context, true // accept missing, in case of broken references
  );
  if (!entityType) return subEntriesWithMissing;
  const remoteStoreUtil = entityType.getStoreUtil();
  const localSubEntries = subEntriesWithMissing.filter(e => e);
  if (!remoteStoreUtil) return localSubEntries;
  const remoteEntriesMask = subEntriesWithMissing.map(e => !e);
  if (!remoteEntriesMask.includes(true)) return localSubEntries;
  const remoteRURIs = subEntityURIs.filter((_uri, index) => remoteEntriesMask[index]);
  const remoteEntriesWithMissing = await remoteStoreUtil.loadEntriesByResourceURIs(remoteRURIs, null, true);
  const remoteEntries = remoteEntriesWithMissing.filter(e => e);
  return [...localSubEntries, ...remoteEntries].filter(subEntry => {
    return subEntry && matchEntityTypeRdfType(subEntry, entityType);
  });
};

/**
 *
 * @param {Entry} parentEntry
 * @param {Entry} connectedEntry
 * @param {string} property
 * @returns {Promise}
 */
const removeRelationFromParent = (parentEntry, connectedEntry, property) => {
  const {
    metadata: parentMetadata,
    resourceURI: parentResourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_8__.spreadEntry)(parentEntry);
  parentMetadata.findAndRemove(parentResourceURI, property, connectedEntry.getResourceURI());
  return parentEntry.commitMetadata();
};

/**
 *
 * @param {Entry} parentEntry
 * @param {Entry} connectedEntry
 * @param {string} property
 * @returns {Promise}
 */
const addRelationToParent = (parentEntry, connectedEntry, property) => {
  parentEntry.getMetadata().add(parentEntry.getResourceURI(), property, connectedEntry.getResourceURI());
  return parentEntry.commitMetadata();
};

/**
 * Removes relations/references pointing to an entry and then the entry itself.
 *
 * @param {Entry} referredEntry
 * @param {Entry[]} referenceEntries
 * @param {Function} callback
 * @returns {Promise}
 */
const removeEntryAndRelations = async (referredEntry, referenceEntries, callback) => {
  return Promise.all(referenceEntries.map(
  // removing referredEntry afterwards so relation property is irrelevant
  referenceEntry => removeRelationFromParent(referenceEntry, referredEntry, null))).then(() => referredEntry.del()).then(callback);
};

/**
 * @param {EntityType} entityType
 * @param {string} [relationType] - optional, restrict to relations of this type
 * @returns {object|undefined}
 */
const getRelationPredicates = (entityType, relationType) => {
  const relations = entityType === null || entityType === void 0 ? void 0 : entityType.get('relations');
  if (!(relations !== null && relations !== void 0 && relations.length)) return;
  return relations.reduce((filterPredicates, _ref) => {
    let {
      property,
      type
    } = _ref;
    if (!relationType || type === relationType) {
      filterPredicates[property] = true;
    }
    return filterPredicates;
  }, {});
};

/**
 * @param {EntityType} entityType
 * @returns {object|undefined}
 */
const getFilterPredicatesFromRelations = entityType => getRelationPredicates(entityType);

/**
 * @param {EntityType} entityType
 * @returns {object|undefined}
 */
const getCompositionFilterPredicatesFromRelations = entityType => getRelationPredicates(entityType, _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_9__.COMPOSITION);

/***/ },

/***/ "./modules/commons/types/utils/restrictions.js"
/*!*****************************************************!*\
  !*** ./modules/commons/types/utils/restrictions.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   filterOnRestrictions: () => (/* binding */ filterOnRestrictions),
/* harmony export */   hasUserAccess: () => (/* binding */ hasUserAccess)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");



/**
 *
 * @param {object} userInfo
 * @param {string} restrictTo
 * @returns {boolean}
 */
const hasUserAccess = (userInfo, restrictTo) => {
  if (restrictTo) {
    switch (restrictTo) {
      case 'adminUser':
        return userInfo.isAdmin;
      case 'adminGroup':
        return userInfo.inAdminGroup;
      case 'admin':
        return userInfo.hasAdminRights;
      default:
        throw new Error(`Invalid restrictTo group '${restrictTo}' is used`);
    }
  }
  return true;
};

/**
 * Entitytypes can be restricted to one or several modules, if no restriction is given
 * it is interpreted as it is available in all modules.
 *
 * @param {EntityType} entityType
 * @param {string} currentModule
 * @param {boolean} restrictedToModule
 * @returns {boolean}
 */
const availableForModule = (entityType, currentModule, restrictedToModule) => {
  const module = entityType.get('module');
  if (!restrictedToModule && !module) return true;
  return Array.isArray(module) ? module.includes(currentModule) : module === currentModule;
};

/**
 *
 * @param {EntityType[]} entityTypes
 * @param {object} userInfo
 * @param {string} currentModule
 * @param {boolean} restrictedToModule
 * @returns {EntityType[]}
 */
const filterOnRestrictions = (entityTypes, userInfo, currentModule, restrictedToModule) => {
  return entityTypes.filter(entityType => {
    return entityType && availableForModule(entityType, currentModule, restrictedToModule) && hasUserAccess(userInfo, entityType.get('restrictTo')) && entityType.global();
  });
};

/***/ },

/***/ "./modules/commons/types/utils/uri.js"
/*!********************************************!*\
  !*** ./modules/commons/types/utils/uri.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   nameToURI: () => (/* binding */ nameToURI),
/* harmony export */   normalizeEntityTypeUris: () => (/* binding */ normalizeEntityTypeUris),
/* harmony export */   normalizeUriPattern: () => (/* binding */ normalizeUriPattern)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }











/**
 *
 * @param {string} name
 * @param {string} baseName
 * @returns {string}
 */
const nameToURI = (name, baseName) => {
  if (!name) {
    throw new Error('Name is required');
  }
  const base = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getResourceURI(baseName, '');
  const id = name.includes(base) ? name : `${base}${name}`;
  return id;
};

/**
 *
 * @param {Object} entityTypeConfig;
 * @returns {Object}
 */
const normalizeEntityTypeUris = entityTypeConfig => {
  const baseName = 'entitytypes';
  const {
    id,
    name,
    refines,
    useWith
  } = entityTypeConfig;
  const normalizedEntityType = _objectSpread({}, entityTypeConfig);
  if (!id) {
    normalizedEntityType.id = nameToURI(name, baseName);
  }
  if (refines) {
    normalizedEntityType.refines = nameToURI(refines, baseName);
  }
  if (useWith) {
    normalizedEntityType.useWith = nameToURI(useWith, baseName);
  }
  return normalizedEntityType;
};
const normalizeUriPattern = uriPattern => {
  if (!uriPattern) return uriPattern;
  const baseUrl = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getBaseURI();
  const urlObject = new URL(baseUrl);
  const domain = `${urlObject.protocol}//${urlObject.host}`;

  // eslint-disable-next-line no-template-curly-in-string
  return uriPattern.replace('${baseURI}', baseUrl).replace('${domain}', domain);
};

/***/ },

/***/ "./modules/commons/util/ConfigStore.js"
/*!*********************************************!*\
  !*** ./modules/commons/util/ConfigStore.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





class ConfigurationStore {
  constructor(configurations) {
    this._store = configurations ? (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_3__.merge)(...configurations) : {};
  }
  get(path, defaultValue) {
    return path ? (0,lodash_es__WEBPACK_IMPORTED_MODULE_5__["default"])(this._store, path, defaultValue) : _objectSpread({}, this._store);
  }
  add(configuration) {
    this._store = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_3__.merge)(this._store, configuration);
  }
  set(configurations) {
    const clonedConfigurations = configurations.map(lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"]);
    this._store = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_3__.merge)(...clonedConfigurations);
  }
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConfigurationStore);

/***/ },

/***/ "./modules/commons/util/IntervalRunner.js"
/*!************************************************!*\
  !*** ./modules/commons/util/IntervalRunner.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
class IntervalRunner {
  constructor(items, delay, callback) {
    this._delay = delay;
    this._items = items;
    this._callback = callback;
    this._intervalRunner = null;
  }
  start() {
    if (this.isRunning()) return;
    this._intervalRunner = setInterval(() => {
      if (!this._items.length) {
        this.stop();
        return;
      }
      this._callback(this._items);
    }, this._delay);
  }
  stop() {
    clearInterval(this._intervalRunner);
    this._callback(this._items);
    this._intervalRunner = null;
  }
  isRunning() {
    return Boolean(this._intervalRunner);
  }
  setItems(items) {
    this._items = items;
    if (!this._items.length && this.isRunning()) {
      this.stop();
    } else if (this._items.length && !this.isRunning()) {
      this.start();
    }
  }
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (IntervalRunner);

/***/ },

/***/ "./modules/commons/util/browserSupportBanner.js"
/*!******************************************************!*\
  !*** ./modules/commons/util/browserSupportBanner.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var ua_parser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ua-parser-js */ "./node_modules/.pnpm/ua-parser-js@1.0.41/node_modules/ua-parser-js/src/ua-parser.js");
/* harmony import */ var ua_parser_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ua_parser_js__WEBPACK_IMPORTED_MODULE_0__);
/* eslint-disable */

function browserSupportBanner() {
  var parser = new (ua_parser_js__WEBPACK_IMPORTED_MODULE_0___default())();
  var result = parser.getResult();
  var browser = result.browser.name;
  var version = result.browser.version.split('.')[0];

  // Supported browsers
  // Chrome v. >= 92
  if (browser === 'Chrome' && version >= 92) return;
  // Firefox v >= 91
  if (browser === 'Firefox' && version >= 91) return;
  // Safari v. >=14
  if (browser === 'Safari' && version >= 14) return;
  // Edge v. >= 93
  if (browser === 'Edge' && version >= 93) return;
  if (window.localStorage.getItem('acknowledgedBrowserSupport')) return;

  // Create stylesheet
  var style = document.createElement('style');
  style.appendChild(document.createTextNode('')); // In order to work in Webkit
  document.getElementsByTagName('head')[0].appendChild(style);
  var styleSheetRules = [{
    selector: '#browserSupportBanner',
    rules: "position: absolute; z-index: 9999; background-color: #fff; width: 100%; margin: 0px; padding: 10px 30px; text-align: center; color: #474d50; border: 1px solid lightgray; border-radius: 4px; font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif; font-weight: 400; line-height: 1.5;"
  }, {
    selector: '#browserSupportBanner > *',
    rules: 'vertical-align: middle; text-align: left'
  }, {
    selector: '.browserWarning__container',
    rules: 'display: inline-block; margin: 0 10px 10px 0;'
  }, {
    selector: '.browserWarning__container p',
    rules: 'font-size: 16px;'
  }, {
    selector: '.browserWarning__heading',
    rules: 'margin: 0px; font-size: 21px; font-weight: 600;'
  }, {
    selector: '.buttonContainer',
    rules: 'display: inline-block; width: 100px;'
  }, {
    selector: '.buttonContainer__button',
    rules: 'width: 100px; height: 48px; font-size: 16px; background-color: #1673C7; color: #fff; border-width: 0px; border-radius: 4px;'
  }, {
    selector: '.buttonContainer__button:hover',
    rules: 'cursor: pointer;'
  }];
  for (var i = 0; i < styleSheetRules.length; i++) {
    style.sheet.insertRule(styleSheetRules[i].selector + '{' + styleSheetRules[i].rules + '}', style.sheet.cssRules.length);
  }

  // banner
  var browserSupportDiv = document.getElementById('browserSupportBanner');
  var warningContainer = document.createElement('div');
  var warningHeading = document.createElement('h1');
  var warningParagraph = document.createElement('p');
  var buttonContainer = document.createElement('div');
  var acknowledgeButton = document.createElement('button');
  var buttonText = document.createTextNode('OK');
  var headingText = document.createTextNode('Your browser is not officially supported.');
  var text = document.createTextNode('EntryScape has been tested with the most recent versions of Chrome, Firefox, Edge and Safari.');
  warningContainer.classList.add('browserWarning__container');
  warningHeading.classList.add('browserWarning__heading');
  buttonContainer.classList.add('buttonContainer');
  acknowledgeButton.classList.add('buttonContainer__button');
  warningHeading.appendChild(headingText);
  warningParagraph.appendChild(text);
  acknowledgeButton.appendChild(buttonText);
  warningContainer.appendChild(warningHeading);
  warningContainer.appendChild(warningParagraph);
  buttonContainer.appendChild(acknowledgeButton);
  acknowledgeButton.addEventListener('click', function saveUserAcknowledge() {
    window.localStorage.setItem('acknowledgedBrowserSupport', true);
    document.body.removeChild(browserSupportDiv);
  });
  browserSupportDiv.appendChild(warningContainer);
  browserSupportDiv.appendChild(buttonContainer);
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (browserSupportBanner);

/***/ },

/***/ "./modules/commons/util/bundle.js"
/*!****************************************!*\
  !*** ./modules/commons/util/bundle.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getFallbackBundleUrls: () => (/* binding */ getFallbackBundleUrls),
/* harmony export */   getFallbackUrls: () => (/* binding */ getFallbackUrls)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./config */ "./modules/commons/util/config.js");









/**
 * @returns {string}
 * TODO place itemstore.relativeBundlePath in commons/config.js
 */
const getThemeTemplatesPath = () => config__WEBPACK_IMPORTED_MODULE_6__["default"].get('itemstore.relativeBundlePath', false) ? '' : new URL('theme/templates/', _config__WEBPACK_IMPORTED_MODULE_7__["default"].getBaseUrl()).href;

/**
 * @returns {*}
 */
const getBuildTemplatesPath = () => config__WEBPACK_IMPORTED_MODULE_6__["default"].get('entryscape.localBuild', false) ? _config__WEBPACK_IMPORTED_MODULE_7__["default"].getBaseUrl() : new URL('templates/', _config__WEBPACK_IMPORTED_MODULE_7__["default"].getStaticBuildPath()).href;

/**
 * @returns {string}
 */
const getDevelopmentTemplatesPath = () => new URL('templates/', _config__WEBPACK_IMPORTED_MODULE_7__["default"].getBaseUrl()).href;

/**
 * A fallback utility to fetch rdforms templates.
 * NOTE! order matters here
 *
 * @param {string} id
 * @param {string} format
 * @param {boolean} includeThemePath Used to avoid getting the theme path template for default bundles
 * @returns {string[]}
 */
const getFallbackUrls = (id, format, includeThemePath) => [...(includeThemePath ? [getThemeTemplatesPath] : []),  false ? 0 : getBuildTemplatesPath].map(baseUrlFunc => {
  const baseURL = baseUrlFunc();
  if (baseURL === '' && config__WEBPACK_IMPORTED_MODULE_6__["default"].get('itemstore.relativeBundlePath', false)) {
    return `${id}.${format}`;
  }
  return new URL(`${id}.${format}`, baseURL).href;
});

/**
 * Get an array of fallback urls where a specific bundle may be found.
 * Can also be passed a full url which would ignore the fallback mechanism.
 *
 * @param {string} id The id of the bundle or a full url
 * @param {string} [format]
 * @param {boolean} [includeThemePath]
 * @returns {Array<string>}
 */
const getFallbackBundleUrls = function getFallbackBundleUrls(id) {
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'json';
  let includeThemePath = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  return (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_5__.isUri)(id) ? [id] : getFallbackUrls(id, format, includeThemePath);
};

/***/ },

/***/ "./modules/commons/util/config.js"
/*!****************************************!*\
  !*** ./modules/commons/util/config.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   APP_NODE_ID: () => (/* binding */ APP_NODE_ID),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getActiveModules: () => (/* binding */ getActiveModules),
/* harmony export */   getActiveViews: () => (/* binding */ getActiveViews),
/* harmony export */   getAppName: () => (/* binding */ getAppName),
/* harmony export */   getAppVersion: () => (/* binding */ getAppVersion),
/* harmony export */   getLogoSource: () => (/* binding */ getLogoSource),
/* harmony export */   getPrivacyPolicyParams: () => (/* binding */ getPrivacyPolicyParams),
/* harmony export */   getTermsAndConditionsParams: () => (/* binding */ getTermsAndConditionsParams)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");












/**
 * @returns {*}
 */
const getBaseUrl = () => {
  let baseURL = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('entryscape.baseURL');
  if (!baseURL) {
    baseURL = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('baseAppPath') ? `${window.location.origin}/${config__WEBPACK_IMPORTED_MODULE_8__["default"].get('baseAppPath')}` : window.location.origin;
  }
  return baseURL.replace(/\/?$/, '/'); // make sure it ends with a /
};

/**
 * @returns {string}
 */
// eslint-disable-next-line no-undef
const getAppVersion = () => window.sessionStorage.version || "latest" || 0;
const getStaticUrl = () => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('entryscape.static.url');
const getStaticBuildPath = () => {
  const app = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('entryscape.static.app');
  const version = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('entryscape.static.version');
  return new URL(`${app}/${version}/`, getStaticUrl()).href;
};
const getThemeDefaults = () => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('theme.default');
const getThemeToRender = () => {
  const baseURL = getBaseUrl();
  const {
    appName,
    assetsPath,
    logoIcon,
    logoIconDarkMode,
    logoFull,
    logoFullDarkMode
  } = getThemeDefaults();
  let {
    themePath
  } = getThemeDefaults();
  if (config__WEBPACK_IMPORTED_MODULE_8__["default"].get('theme.localTheme')) {
    themePath = new URL('theme/', baseURL).href;
  } else if (config__WEBPACK_IMPORTED_MODULE_8__["default"].get('theme.localAssets')) {
    themePath = new URL('theme/assets/', baseURL).href;
  }
  return {
    appName: config__WEBPACK_IMPORTED_MODULE_8__["default"].get('theme.appName') || config__WEBPACK_IMPORTED_MODULE_8__["default"].get('theme.logo.text') || appName,
    themePath,
    assetsPath,
    logoIcon,
    logoIconDarkMode,
    logoFull,
    logoFullDarkMode
  };
};
const getAssetsPath = () => {
  const baseURL = getBaseUrl();
  let {
    assetsPath
  } = getThemeDefaults();
  if (config__WEBPACK_IMPORTED_MODULE_8__["default"].get('theme.localAssets')) {
    assetsPath = new URL('theme/assets/', baseURL).href;
  }
  return assetsPath;
};
const getLogoSource = function getLogoSource() {
  let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'icon';
  let mode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'light';
  const {
    logoIcon,
    logoIconDarkMode,
    logoFull,
    logoFullDarkMode,
    themePath
  } = getThemeToRender();
  const isDarkMode = mode === 'dark';
  const configPathAddition = isDarkMode ? 'DarkMode' : '';
  if (type === 'icon') {
    const iconPath = `theme.logo.icon${configPathAddition}`;
    const icon = isDarkMode ? logoIconDarkMode : logoIcon;
    return config__WEBPACK_IMPORTED_MODULE_8__["default"].get(iconPath) ? themePath + config__WEBPACK_IMPORTED_MODULE_8__["default"].get(iconPath) : icon;
  }
  const fullPath = `theme.logo.full${configPathAddition}`;
  const full = isDarkMode ? logoFullDarkMode : logoFull;
  return config__WEBPACK_IMPORTED_MODULE_8__["default"].get(fullPath) ? themePath + config__WEBPACK_IMPORTED_MODULE_8__["default"].get(fullPath) : full;
};
const getAppName = function getAppName() {
  let native = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
  const {
    appName
  } = native ? getThemeDefaults() : getThemeToRender();
  return appName;
};

/**
 * @todo remove, use getEntitytypeURITemplate
 * @param {string|string[]} rdfType
 * @returns {null|string}
 */
const getEntryURITemplate = rdfType => {
  const type = Array.isArray(rdfType) ? rdfType[0] : rdfType;
  const resourceBase = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('entrystore.uriTemplates', null);
  if (resourceBase === null) {
    return null;
  }
  return typeof resourceBase === 'object' ? resourceBase[type] || resourceBase.default : resourceBase;
};
const uploadFileSizeLimit = () => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('fileUploadSizeLimit', 26214400); // 25 MB

// #region site config
const APP_NODE_ID = 'controlNode';
const sortByArray = (toSort, order) => order.map(key => toSort.find(_ref => {
  let {
    name
  } = _ref;
  return name === key;
})).filter(v => v) // filter out undefined
.concat(toSort.filter(_ref2 => {
  let {
    name
  } = _ref2;
  return !order.includes(name);
})); // in case order doesn't contain all modules

/**
 * Get all active and acl permitted modules
 *
 * @param {object} userInfo
 * @returns {Map<string, object>}
 */
const getActiveModules = userInfo => {
  const modules = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.modules') || [];
  const moduleList = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.moduleList') || [];
  const includedModules = modules.filter(module => moduleList.includes(module.name));
  const activeModules = includedModules.filter(module => {
    switch (module.restrictTo || module.public || '') {
      case 'adminUser':
        return userInfo.isAdmin;
      case 'adminGroup':
        return userInfo.inAdminGroup;
      case 'admin':
        return userInfo.hasAdminRights;
      case true: // case where module.public = true;
      default:
        return true;
    }
  });
  return sortByArray(activeModules, moduleList);
};

/**
 * Check that the view is valid. Some views are not coupled to a module, like
 * for example the start view. When a module is specified for a view, then
 * there must be a corresponding module definition. An exception to this rule is
 * project based modules which reuses routes in a cross module way.
 *
 * @param {object} view
 * @param {string[]} moduleNames
 * @returns {boolean}
 */
const checkIsValidView = (view, moduleNames) => {
  const {
    route,
    module: moduleName
  } = view;
  if (route.includes(':projectName')) return true;
  if (!moduleName) return true;
  const hasMatchingModule = moduleNames.includes(moduleName);
  return hasMatchingModule;
};

/**
 *
 * @param {object} userInfo
 * @param {string} moduleName
 * @returns {object[]}
 */
const getActiveViews = function getActiveViews(userInfo) {
  let moduleName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  const views = [...config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.views')];
  const activeModuleNames = moduleName ? [moduleName] : getActiveModules(userInfo).map(_ref3 => {
    let {
      name
    } = _ref3;
    return name;
  });
  const activeViews = views.filter(view => {
    if (view.disabled) return false;
    const isValidView = checkIsValidView(view, activeModuleNames);
    const hasAccess = !(userInfo.entryId === commons_util_userIds__WEBPACK_IMPORTED_MODULE_10__.USER_ENTRY_ID_GUEST && view.restrictTo === 'admin');
    return isValidView && hasAccess;
  });
  return activeViews;
};

// #endregion

/**
 * Retrieves the localized URL, version and approval requirement for the privacy policy
 *
 * @returns {object}
 */
const getPrivacyPolicyParams = () => {
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_9__.i18n.getLocale();
  const defaultLocale = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('locale.fallback');
  const privacyPolicyConfig = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('privacyPolicy');
  const {
    url: urlObject,
    version,
    requireApproval
  } = privacyPolicyConfig;
  const url = urlObject[locale] || urlObject[defaultLocale];
  return {
    url,
    version,
    requireApproval
  };
};

/**
 * Retrieves the localized URL, version and approval requirement for the terms and conditions
 *
 * @returns {object}
 */
const getTermsAndConditionsParams = () => {
  const locale = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_9__.i18n.getLocale();
  const defaultLocale = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('locale.fallback');
  const termsConditionsConfig = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('termsAndConditions');
  const {
    url: urlObject,
    version,
    requireApproval
  } = termsConditionsConfig;
  const url = urlObject[locale] || urlObject[defaultLocale];
  return {
    url,
    version,
    requireApproval
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  getBaseUrl,
  getAppVersion,
  getStaticBuildPath,
  getAssetsPath,
  getAppName,
  getLogoSource,
  getEntryURITemplate,
  uploadFileSizeLimit,
  getActiveViews,
  getActiveModules
});


/***/ },

/***/ "./modules/commons/util/context.js"
/*!*****************************************!*\
  !*** ./modules/commons/util/context.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CONTEXT_TYPE_CATALOG: () => (/* binding */ CONTEXT_TYPE_CATALOG),
/* harmony export */   CONTEXT_TYPE_CONFIG: () => (/* binding */ CONTEXT_TYPE_CONFIG),
/* harmony export */   CONTEXT_TYPE_CONTEXT_GENERIC: () => (/* binding */ CONTEXT_TYPE_CONTEXT_GENERIC),
/* harmony export */   CONTEXT_TYPE_MODELS: () => (/* binding */ CONTEXT_TYPE_MODELS),
/* harmony export */   CONTEXT_TYPE_TERMINOLOGY: () => (/* binding */ CONTEXT_TYPE_TERMINOLOGY),
/* harmony export */   CONTEXT_TYPE_WORKBENCH: () => (/* binding */ CONTEXT_TYPE_WORKBENCH),
/* harmony export */   canAdministerGroupEntry: () => (/* binding */ canAdministerGroupEntry),
/* harmony export */   canEditContextMetadata: () => (/* binding */ canEditContextMetadata),
/* harmony export */   contextTypes: () => (/* binding */ contextTypes),
/* harmony export */   createContext: () => (/* binding */ createContext),
/* harmony export */   deleteContext: () => (/* binding */ deleteContext),
/* harmony export */   downgradeContextFromPremium: () => (/* binding */ downgradeContextFromPremium),
/* harmony export */   getContextFromEntry: () => (/* binding */ getContextFromEntry),
/* harmony export */   getDCATCatalogInContext: () => (/* binding */ getDCATCatalogInContext),
/* harmony export */   getEntriesByTypeForContextIds: () => (/* binding */ getEntriesByTypeForContextIds),
/* harmony export */   getGroupIdFromContextId: () => (/* binding */ getGroupIdFromContextId),
/* harmony export */   getIsContextPublic: () => (/* binding */ getIsContextPublic),
/* harmony export */   getPublishersByContext: () => (/* binding */ getPublishersByContext),
/* harmony export */   getUserEntryParentGroupsRURIs: () => (/* binding */ getUserEntryParentGroupsRURIs),
/* harmony export */   isContextPremium: () => (/* binding */ isContextPremium),
/* harmony export */   loadContextEntry: () => (/* binding */ loadContextEntry),
/* harmony export */   premiumContextsEnabled: () => (/* binding */ premiumContextsEnabled),
/* harmony export */   setContextPublic: () => (/* binding */ setContextPublic),
/* harmony export */   setGroupIdForContext: () => (/* binding */ setGroupIdForContext),
/* harmony export */   updateContextTitle: () => (/* binding */ updateContextTitle),
/* harmony export */   upgradeContextToPremium: () => (/* binding */ upgradeContextToPremium)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/esnext.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js");
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/moduleDefinitions */ "./modules/commons/util/moduleDefinitions.js");
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./user */ "./modules/commons/util/user.js");
/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./store */ "./modules/commons/util/store.js");



















const NAMESPACE_ESTERMS = 'http://entryscape.com/terms/'; // TODO one place for namespaces
const CONTEXT_TYPE_CATALOG = `${NAMESPACE_ESTERMS}CatalogContext`;
const CONTEXT_TYPE_TERMINOLOGY = `${NAMESPACE_ESTERMS}TerminologyContext`;
const CONTEXT_TYPE_WORKBENCH = `${NAMESPACE_ESTERMS}WorkbenchContext`;
const CONTEXT_TYPE_MODELS = `${NAMESPACE_ESTERMS}FormsContext`;
const CONTEXT_TYPE_CONTEXT_GENERIC = `${NAMESPACE_ESTERMS}Context`;
const CONTEXT_TYPE_CONFIG = `${NAMESPACE_ESTERMS}config`;

/**
 * @type {Map}
 * TODO check if still used
 */
const contextId2groupId = new Map();

/**
 *
 * @param {*} contextId
 * @param {*} groupId
 * TODO check if still used
 */
const setGroupIdForContext = (contextId, groupId) => {
  contextId2groupId.set(contextId, groupId);
};

/**
 *
 * @param {Context} context
 * @returns {Promise.<Entry>} A dcat:Catalog entry
 * @throws
 */
const getDCATCatalogInContext = context => commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.newSolrQuery().context(context).rdfType(_entry__WEBPACK_IMPORTED_MODULE_17__.RDF_TYPE_CATALOG).getEntries(0).then(entries => {
  const [entry, ...moreCatalogs] = entries;
  if (!entry) {
    throw Error(`Could not find a dcat:Catalog entry in context ${context.getId()}`);
  }
  if (moreCatalogs.length > 0) {
    throw Error(`Found more than one dcat:Catalog entry in context ${context.getId()}`);
  }
  return entry;
});
/**
 *
 * @param {*} contextId
 * @returns {Promise.<Array.<{value: string, label: string}>>}
 */
const getPublishersByContext = function getPublishersByContext() {
  let contextId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  return commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.newSolrQuery().context(contextId).rdfType(['foaf:Agent', 'foaf:Person', 'foaf:Organization']).list().getAllEntries().then(entries => entries.map(entry => ({
    value: entry.getResourceURI(),
    label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(entry)
  })));
};
/**
 *
 * @param {*} contextId
 * TODO check if still used
 */
const getGroupIdFromContextId = contextId => contextId2groupId.get(contextId);

/**
 *
 * @param {*} contextEntry
 * @param {*} direct
 * TODO check if still used
 */
const canAdministerGroupEntry = function canAdministerGroupEntry(contextEntry) {
  let direct = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  // TODO if (!registry.get('hasAdminRights')) {
  const contextId = contextEntry.getContext().getId();
  const groupURI = commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntryURI('_principals', getGroupIdFromContextId(contextId));

  // Works with direct = true for Context Entry List since it has already loaded all relevant groups
  const groupEntry = commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntry(groupURI, {
    direct
  });
  return groupEntry.canAdministerEntry();
  //   }

  //   return true;
};

// #region --- CONTEXT utilities ---

/**
 * @param {Entry} userEntry
 * @returns {string[]} resource URIs of the user's parent groups
 * @throws {Error}
 */
const getUserEntryParentGroupsRURIs = userEntry => [...userEntry.getParentGroups(), commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntryURI(commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__.CONTEXT_PRINCIPALS, commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__.USERS_ENTRY_ID) // store/_principals/entry/_users
].map(groupURI => commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getResourceURI(commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getContextId(groupURI), commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntryId(groupURI)));

/**
 * For each contextId get a specific entry type in each respective context.
 * E.g for a context of type esterms:Catalog get a single (first solr matched)
 * entry of type dcat:Catalog
 *
 * Returns a flat array of all entries retrieved per context
 *
 * @param {string[]} contextIds
 * @param {string} [entryType] - rdf:type URI to match within each context; when
 *   omitted the context entry itself is returned
 * @returns {Promise<Entry[]>}
 */
const getEntriesByTypeForContextIds = (contextIds, entryType) => {
  /**
   * Convenience function to fetch an entry in a context or a context entry
   *
   * @param {string} contextId
   * @returns {Promise<Entry>}
   */
  const getEntryByTypeInContext = contextId => entryType ? commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystoreUtil.getEntryByType(entryType, commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getContextById(contextId)) : commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntry(commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntryURI(commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__.CONTEXT_CONTEXTS, contextId));
  return (
    /**
     * Promise.allSettled is used here as opposed to Promise.all
     * given that getEntryByType (@see get) throws and we don't want to reject
     * the whole promise but rather ignore the failed ones.
     */
    Promise.allSettled(contextIds.map(getEntryByTypeInContext))

    // Filter out rejected promises  get only the promises' resolved values
    .then(promises => promises.filter(promise => 'value' in promise)).then(promises => promises.map(promise => promise.value))

    // [[1, 2], [3], [4]] => [1, 2, 3, 4]
    .then(entriesArr => entriesArr.flat())
    // No .catch: individual context failures are already absorbed by
    // allSettled above, so a rejection here is a genuine failure that should
    // surface as the list's error state rather than be swallowed.
  );
};
const contextTypes = [{
  name: 'catalogContext',
  rdfType: CONTEXT_TYPE_CATALOG,
  entryType: _entry__WEBPACK_IMPORTED_MODULE_17__.RDF_TYPE_CATALOG,
  module: commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_15__.CATALOG_MODULE
}, {
  name: 'terminologyContext',
  rdfType: CONTEXT_TYPE_TERMINOLOGY,
  entryType: _entry__WEBPACK_IMPORTED_MODULE_17__.RDF_TYPE_TERMINOLOGY,
  module: commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_15__.TERMS_MODULE
}, {
  name: 'workbenchContext',
  // note there's no entryType here because
  // we don't know the entry types!! dynamic entry types
  rdfType: CONTEXT_TYPE_WORKBENCH,
  module: commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_15__.WORKBENCH_MODULE
}, {
  name: 'modelContext',
  // note there's no entryType here because
  // we don't know the entry types!! dynamic entry types
  rdfType: CONTEXT_TYPE_MODELS,
  module: commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_15__.MODELS_MODULE
}, {
  name: 'context',
  rdfType: CONTEXT_TYPE_CONTEXT_GENERIC
}];
// #region --- CONTEXT utilities ---

/**
 * Most of the times suffices to do entry.getContext() to get the context of an entry.
 * However in very few cases the entry itself is a context and so getting the context of the context
 * would yield the _contexts context which is probably not what we'd want anywhere in the app.
 * This would happen for workbench (project) contexts.
 *
 * @param {Entry} entry
 * @returns {Context|Resource}
 */
const getContextFromEntry = entry => entry.isContext() ? entry.getResource(true) : entry.getContext();

/**
 *
 * @param {Entry} entry
 * @param {boolean} direct
 * @returns {Entry|Promise<Entry>}
 */
const loadContextEntry = function loadContextEntry(entry) {
  let direct = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  return getContextFromEntry(entry).getEntry(direct);
}; // TODO check if forceLoad vs direct stills holds

// TODO there's an extra check for catalog, has apis...
const setContextPublic = async (contextEntry, isPublic) => {
  if (!contextEntry.canAdministerEntry()) {
    // acknowledge(this.nlsSpecificBundle[this.nlsContextSharingNoAccess]);
    return Promise.reject();
  }
  const contextEntryInfo = contextEntry.getEntryInfo();
  const acl = contextEntryInfo.getACL(true);
  acl.rread = acl.rread || [];
  acl.mread = acl.mread || [];

  // adds/remove the _guest user from the resource read (rread) permission,
  // essentially sets the entry to public/not public
  if (isPublic) {
    acl.rread.push(commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__.USER_ENTRY_ID_GUEST);
    acl.mread.push(commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__.USER_ENTRY_ID_GUEST);
  } else {
    acl.rread.splice(acl.rread.indexOf(commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__.USER_ENTRY_ID_GUEST), 1);
    acl.mread.splice(acl.mread.indexOf(commons_util_userIds__WEBPACK_IMPORTED_MODULE_11__.USER_ENTRY_ID_GUEST), 1);
  }
  contextEntryInfo.setACL(acl);
  return contextEntryInfo.commit();
};

/**
 *
 * @param {Entry} entry
 * @param {boolean} direct
 * @returns {Promise.<boolean>}
 */
const getIsContextPublic = async function getIsContextPublic(entry) {
  let direct = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  const contextEntry = await loadContextEntry(entry, direct);
  return contextEntry.isPublic();
};

/**
 *
 * @param {Entry} entry
 * @param {Entry} userEntry
 * @returns {Promise.<void>}
 * @throws
 */
const deleteContext = async (entry, userEntry) => {
  const context = getContextFromEntry(entry);
  try {
    const groupForContext = await (0,_store__WEBPACK_IMPORTED_MODULE_18__.getGroupWithHomeContext)(context);

    // ? perhaps unecessary and just `entry` would do here
    const contextEntry = await context.getEntry();

    // delete the context entry
    await contextEntry.del();

    // delete the group for this context
    await groupForContext.del();

    /**
     * The user was in the ACL of the context and group just removed
     * Hence, the userEntry's inv. rel. cache would contain information
     * about being in those other ACLs so a user refresh is needed
     *
     * @see commons/util/solr/context:getSearchQuery
     */
    userEntry.setRefreshNeeded();
    await userEntry.refresh();
  } catch (err) {
    console.error(err);
    throw Error(err);
  }
};

/**
 * Update the group name, but only if there is a single group
 * that have the context as homeContext
 *
 * @param {Entry} contextEntry
 */
const updateGroupNameForContext = async contextEntry => {
  const homeContexts = contextEntry.getReferrers('store:homeContext');
  if (homeContexts.length === 1) {
    const groupURI = commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntryURIFromURI(homeContexts[0]);
    const groupEntry = await commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntry(groupURI);
    const {
      metadata,
      resourceURI
    } = (0,_store__WEBPACK_IMPORTED_MODULE_18__.spreadEntry)(groupEntry);
    groupEntry.getMetadata();
    metadata.findAndRemove(null, 'foaf:name');
    metadata.addL(resourceURI, 'foaf:name', (0,_entry__WEBPACK_IMPORTED_MODULE_17__.getEntryLabel)(contextEntry));
    await groupEntry.commitMetadata();
    groupEntry.setRefreshNeeded(true);
  }
};

/**
 *
 * @param {Entry} entry
 * @returns {Promise}
 */
const updateContextTitle = async entry => {
  let contextEntry = entry;

  // @see getContextFromEntry, usually catalog or concepcheme entries
  if (!entry.isContext()) {
    const context = getContextFromEntry(entry);

    // Must force load context entry since it's modification date is
    // updated whenever a containing entry is changed.
    contextEntry = await commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntry(context.getEntryURI(), {
      forceLoad: true
    });

    // Update the context title (from local or cached external metadata)
    const allMetadata = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getAllMetadata)(entry);
    const {
      metadata,
      resourceURI
    } = (0,_store__WEBPACK_IMPORTED_MODULE_18__.spreadEntry)(contextEntry);
    metadata.findAndRemove(null, 'dcterms:title');
    allMetadata.find(entry.getResourceURI(), 'dcterms:title').forEach(statement => {
      metadata.addL(resourceURI, 'dcterms:title', statement.getValue(), statement.getLanguage());
    });
    await contextEntry.commitMetadata();
    contextEntry.setRefreshNeeded(true);
  }
  return updateGroupNameForContext(contextEntry);
};

/**
 *
 * Creates the necessary entries for a new context
 *  - STEP 1: create group and context
 *  - STEP 2: add additional metadata on the context entry
 *  - STEP 3: administrative step, set context type and ACL fix
 *  - STEP 4: add project type if provided
 *
 * @param {object} contextEntryParams
 * @param {string} contextEntryParams.title
 * @param {string} contextEntryParams.description
 * @param {string} contextEntryParams.alias
 * @param {EntityType} contextEntryParams.entityType
 * @param {string} contextEntryParams.contextType
 * @param {boolean} contextEntryParams.hasAdminRights
 * @param {string} contextEntryParams.projectType
 * @returns {Entry} context entry
 */
const createContext = async _ref => {
  let {
    title,
    description,
    alias,
    entityType,
    contextType,
    hasAdminRights,
    projectType
  } = _ref;
  if (!title) {
    console.error('Title is missing.');
  }

  // STEP 1: create group and context
  let groupEntry;
  let context;
  try {
    groupEntry = await commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.createGroupAndContext(alias);
    const resource = await groupEntry.getResource();
    const homeContext = resource.getHomeContext();
    context = commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getContextById(homeContext);
  } catch (err) {
    console.error('Could not create group and context entry');
    throw Error(err);
  }

  // STEP 2:
  const contextEntry = await context.getEntry();
  const {
    metadata,
    resourceURI
  } = (0,_store__WEBPACK_IMPORTED_MODULE_18__.spreadEntry)(contextEntry);
  const lang = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__.i18n.getLocale();
  metadata.addL(resourceURI, 'dcterms:title', title, lang);
  if (description) {
    metadata.addL(resourceURI, 'dcterms:description', description, lang);
  }
  if (alias && entityType && entityType.uriPattern) {
    const uriSpace = (0,_store__WEBPACK_IMPORTED_MODULE_18__.constructURIFromPattern)(entityType.uriPattern, {
      contextName: alias
    });
    metadata.add(resourceURI, 'void:uriSpace', uriSpace);
  }
  const ctxEntry = await contextEntry.commitMetadata();

  // step 3
  const hcEntryInfo = ctxEntry.getEntryInfo();
  hcEntryInfo.getGraph().add(ctxEntry.getResourceURI(), 'rdf:type', contextType); // E.g. 'esterms:WorkbenchContext'
  // TODO remove when entrystore is changed so groups have read access to
  // homecontext metadata by default.
  // Start fix with missing metadata rights on context for group
  const acl = hcEntryInfo.getACL(true);
  acl.mread.push(groupEntry.getId());
  hcEntryInfo.setACL(acl);
  // End fix

  // step 4
  if (projectType) {
    hcEntryInfo.getGraph().add(ctxEntry.getResourceURI(), _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_14__.RDF_PROPERTY_PROJECTTYPE, projectType);
  }
  await hcEntryInfo.commit();

  // STEP 4: Update the UI and refresh entry
  if (!hasAdminRights) {
    setGroupIdForContext(context.getId(), groupEntry.getId());
  }
  return ctxEntry;
};

/**
 *  Upgrades a context to premium.
 *
 * @param {Entry} contextEntry
 * @returns {Promise}
 */
const upgradeContextToPremium = async contextEntry => {
  contextEntry.setRefreshNeeded();
  await contextEntry.refresh();
  const entryInfo = contextEntry.getEntryInfo();
  const graph = entryInfo.getGraph();
  graph.addL(entryInfo.getResourceURI(), 'store:premium', 'premium');
  return entryInfo.commit();
};

/**
 * Downgrades a context from premium.
 *
 * @param {Entry} contextEntry
 * @returns {Promise}
 */
const downgradeContextFromPremium = async contextEntry => {
  contextEntry.setRefreshNeeded();
  await contextEntry.refresh();
  const entryInfo = contextEntry.getEntryInfo();
  const graph = entryInfo.getGraph();
  graph.findAndRemove(contextEntry.getResourceURI(), 'store:premium');
  return entryInfo.commit();
};
const premiumContextsEnabled = () => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('entrystore.premiumContexts');

/**
 * Checks whether a context is premium.
 *
 * @param {Entry} contextEntry
 * @returns {boolean}
 */
const isContextPremium = contextEntry => {
  if (!premiumContextsEnabled()) return false;
  const premiumValue = contextEntry.getEntryInfo().getGraph().findFirstValue(null, 'store:premium');
  return premiumValue === 'premium';
};

/**
 * Checks whether a user can edit the metadata of a context.
 *
 * @param {Entry} entry
 * @param {Entry} userEntry
 * @param {boolean} direct
 * @returns {boolean}
 */
const canEditContextMetadata = function canEditContextMetadata(entry, userEntry) {
  let direct = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  if ((0,_user__WEBPACK_IMPORTED_MODULE_16__.hasAdminRights)(userEntry)) return true;
  if (entry.isContext()) return entry.canWriteMetadata();
  const context = entry.getContext();
  if (direct) return context.getEntry(true).canWriteMetadata();
  return context.getEntry().then(contextEntry => contextEntry.canWriteMetadata());
};


/***/ },

/***/ "./modules/commons/util/date.js"
/*!**************************************!*\
  !*** ./modules/commons/util/date.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDateFormat: () => (/* binding */ getDateFormat),
/* harmony export */   getFullDate: () => (/* binding */ getFullDate),
/* harmony export */   getMultipleDateFormats: () => (/* binding */ getMultipleDateFormats),
/* harmony export */   getShortDate: () => (/* binding */ getShortDate)
/* harmony export */ });
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");


const getDateFormat = function getDateFormat(localLang) {
  let configKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'shortDatePattern';
  for (let i = 0; i < config__WEBPACK_IMPORTED_MODULE_0__["default"].get('locale.supported').length; i++) {
    const supportedLang = config__WEBPACK_IMPORTED_MODULE_0__["default"].get('locale.supported')[i].lang;
    if (localLang === supportedLang) {
      return config__WEBPACK_IMPORTED_MODULE_0__["default"].get('locale.supported')[i][configKey];
    }
  }
  return '';
};
const getMultipleDateFormats = date => {
  let period = 'older';
  const lang = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getLocale();
  const modDateMedium = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getDate(date, {
    selector: 'date',
    formatLength: 'medium'
  });
  let short = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getDate(date, {
    selector: 'date',
    datePattern: getDateFormat(lang, 'shortDatePatternWithYear')
  });
  const cd = new Date();
  const currentDateMedium = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getDate(cd, {
    selector: 'date',
    formatLength: 'medium'
  });
  if (currentDateMedium === modDateMedium) {
    period = 'today';
    short = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getDate(date, {
      selector: 'time',
      formatLength: 'short'
    });
  } else if (date.getYear() === cd.getYear()) {
    period = 'thisyear';
    short = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getDate(date, {
      selector: 'date',
      datePattern: getDateFormat(lang)
    });
  }
  return {
    dateMedium: modDateMedium,
    timeMedium: _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getDate(date, {
      selector: 'time',
      formatLength: 'medium'
    }),
    full: _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_1__.i18n.getDate(date, {
      formatLength: 'full'
    }),
    short,
    period
  };
};
const getShortDate = date => getMultipleDateFormats(date).short;
const getFullDate = date => getMultipleDateFormats(date).full;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  getMultipleDateFormats,
  getDateFormat,
  getFullDate
});


/***/ },

/***/ "./modules/commons/util/entry.js"
/*!***************************************!*\
  !*** ./modules/commons/util/entry.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RDF_PROPERTY_DATASERVICE: () => (/* binding */ RDF_PROPERTY_DATASERVICE),
/* harmony export */   RDF_PROPERTY_DATASET: () => (/* binding */ RDF_PROPERTY_DATASET),
/* harmony export */   RDF_PROPERTY_DISTRIBUTION: () => (/* binding */ RDF_PROPERTY_DISTRIBUTION),
/* harmony export */   RDF_PROPERTY_DRAFT_STATUS: () => (/* binding */ RDF_PROPERTY_DRAFT_STATUS),
/* harmony export */   RDF_PROPERTY_VISUALIZATION: () => (/* binding */ RDF_PROPERTY_VISUALIZATION),
/* harmony export */   RDF_STATUS_ARCHIVED: () => (/* binding */ RDF_STATUS_ARCHIVED),
/* harmony export */   RDF_STATUS_INVESTIGATING: () => (/* binding */ RDF_STATUS_INVESTIGATING),
/* harmony export */   RDF_STATUS_LOCKED: () => (/* binding */ RDF_STATUS_LOCKED),
/* harmony export */   RDF_TYPE_CATALOG: () => (/* binding */ RDF_TYPE_CATALOG),
/* harmony export */   RDF_TYPE_COLLECTION: () => (/* binding */ RDF_TYPE_COLLECTION),
/* harmony export */   RDF_TYPE_CONCEPT: () => (/* binding */ RDF_TYPE_CONCEPT),
/* harmony export */   RDF_TYPE_CONCEPT_SCHEME: () => (/* binding */ RDF_TYPE_CONCEPT_SCHEME),
/* harmony export */   RDF_TYPE_CONTACT: () => (/* binding */ RDF_TYPE_CONTACT),
/* harmony export */   RDF_TYPE_DATASERVICE: () => (/* binding */ RDF_TYPE_DATASERVICE),
/* harmony export */   RDF_TYPE_DATASET: () => (/* binding */ RDF_TYPE_DATASET),
/* harmony export */   RDF_TYPE_DATASET_SERIES: () => (/* binding */ RDF_TYPE_DATASET_SERIES),
/* harmony export */   RDF_TYPE_DATASET_TEMPLATE: () => (/* binding */ RDF_TYPE_DATASET_TEMPLATE),
/* harmony export */   RDF_TYPE_DISTRIBUTION: () => (/* binding */ RDF_TYPE_DISTRIBUTION),
/* harmony export */   RDF_TYPE_DOCUMENT: () => (/* binding */ RDF_TYPE_DOCUMENT),
/* harmony export */   RDF_TYPE_FILE: () => (/* binding */ RDF_TYPE_FILE),
/* harmony export */   RDF_TYPE_IDEA: () => (/* binding */ RDF_TYPE_IDEA),
/* harmony export */   RDF_TYPE_SHOWCASE: () => (/* binding */ RDF_TYPE_SHOWCASE),
/* harmony export */   RDF_TYPE_SUGGESTION: () => (/* binding */ RDF_TYPE_SUGGESTION),
/* harmony export */   RDF_TYPE_TERMINOLOGY: () => (/* binding */ RDF_TYPE_TERMINOLOGY),
/* harmony export */   addAccessRightToGroup: () => (/* binding */ addAccessRightToGroup),
/* harmony export */   canAdministerEntry: () => (/* binding */ canAdministerEntry),
/* harmony export */   canReadMetadata: () => (/* binding */ canReadMetadata),
/* harmony export */   canWriteMetadata: () => (/* binding */ canWriteMetadata),
/* harmony export */   canWriteResource: () => (/* binding */ canWriteResource),
/* harmony export */   changeEntryEntityType: () => (/* binding */ changeEntryEntityType),
/* harmony export */   checkEntriesHaveConflict: () => (/* binding */ checkEntriesHaveConflict),
/* harmony export */   checkHasProperty: () => (/* binding */ checkHasProperty),
/* harmony export */   commitDraftMetadata: () => (/* binding */ commitDraftMetadata),
/* harmony export */   commitMetadata: () => (/* binding */ commitMetadata),
/* harmony export */   createPrototypeEntry: () => (/* binding */ createPrototypeEntry),
/* harmony export */   entryPropType: () => (/* binding */ entryPropType),
/* harmony export */   findResourceStatements: () => (/* binding */ findResourceStatements),
/* harmony export */   getCachedEntryByResourceURI: () => (/* binding */ getCachedEntryByResourceURI),
/* harmony export */   getEntryLabel: () => (/* binding */ getEntryLabel),
/* harmony export */   getOrIgnoreEntry: () => (/* binding */ getOrIgnoreEntry),
/* harmony export */   getResourceURI: () => (/* binding */ getResourceURI),
/* harmony export */   getTemplateId: () => (/* binding */ getTemplateId),
/* harmony export */   graphPropType: () => (/* binding */ graphPropType),
/* harmony export */   hasMetadataRevisions: () => (/* binding */ hasMetadataRevisions),
/* harmony export */   isDraftEntry: () => (/* binding */ isDraftEntry),
/* harmony export */   isInternallyPublished: () => (/* binding */ isInternallyPublished),
/* harmony export */   isLocked: () => (/* binding */ isLocked),
/* harmony export */   isNewEntry: () => (/* binding */ isNewEntry),
/* harmony export */   lockOrUnlockEntry: () => (/* binding */ lockOrUnlockEntry),
/* harmony export */   refreshEntry: () => (/* binding */ refreshEntry),
/* harmony export */   saveEntryByEntityType: () => (/* binding */ saveEntryByEntityType),
/* harmony export */   setEntryDraftStatus: () => (/* binding */ setEntryDraftStatus)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _rdfUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _userIds__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./userIds */ "./modules/commons/util/userIds.js");













const RDF_TYPE_CATALOG = 'dcat:Catalog';
const RDF_TYPE_DATASET = 'dcat:Dataset';
const RDF_TYPE_DATASET_SERIES = 'dcat:DatasetSeries';
const RDF_TYPE_DATASERVICE = 'dcat:DataService';
const RDF_TYPE_DISTRIBUTION = 'dcat:Distribution';
const RDF_TYPE_TERMINOLOGY = 'skos:ConceptScheme';
const RDF_TYPE_CONCEPT_SCHEME = RDF_TYPE_TERMINOLOGY;
const RDF_TYPE_CONCEPT = 'skos:Concept';
const RDF_TYPE_COLLECTION = 'skos:Collection';
const RDF_TYPE_SHOWCASE = 'esterms:Result';
const RDF_TYPE_IDEA = 'esterms:Idea';
const RDF_TYPE_SUGGESTION = 'esterms:Suggestion';
const RDF_TYPE_DATASET_TEMPLATE = 'esterms:DatasetTemplate';
const RDF_STATUS_INVESTIGATING = 'esterms:investigating';
const RDF_STATUS_ARCHIVED = 'esterms:archived';
const RDF_PROPERTY_DATASET = 'dcat:dataset';
const RDF_PROPERTY_DISTRIBUTION = 'dcat:distribution';
const RDF_PROPERTY_VISUALIZATION = 'schema:diagram';
const RDF_PROPERTY_DATASERVICE = 'dcat:service';
const RDF_TYPE_CONTACT = ['vcard:Kind', 'vcard:Individual', 'vcard:Organization'];
const RDF_TYPE_DOCUMENT = ['foaf:Document', 'dcterms:LicenseDocument', 'dcterms:Standard', 'prof:Profile'];
const RDF_TYPE_FILE = 'esterms:File';
const RDF_PROPERTY_DRAFT_STATUS = 'esterms:incompleteMandatoryMetadata';
const RDF_STATUS_LOCKED = 'esterms:locked';

// Entry convenience functions to be passed as inputs/callbacks
const canWriteMetadata = entry => entry.canWriteMetadata();
const canAdministerEntry = canWriteMetadata;
const canReadMetadata = entry => entry.canReadMetadata();
const hasMetadataRevisions = entry => entry.getEntryInfo().hasMetadataRevisions();
const canWriteResource = entry => entry.canWriteResource();

/**
 * Request entry from entrystore
 *
 * @param {Entry} entry
 * @returns {Promise<Entry>} entry
 */
const refreshEntry = entry => {
  entry.setRefreshNeeded();
  return entry.refresh();
};

/**
 *
 * @param {Entry} entry
 * @param {Graph} graph
 * @returns {Promise}
 */
const commitMetadata = (entry, graph) => entry.setMetadata(graph).commit();

/**
 *
 * @param {Entry} entry
 * @param {boolean} isDraft
 * @param {boolean} isPrototype
 * @returns {Promise<Entry>}
 */
const setEntryDraftStatus = async function setEntryDraftStatus(entry, isDraft) {
  let isPrototype = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  const entryInfo = entry.getEntryInfo();
  const currentStatus = entryInfo.getStatus();
  const expandedStatus = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(RDF_PROPERTY_DRAFT_STATUS);
  const currentlyIsDraft = currentStatus === expandedStatus;
  if (isDraft !== currentlyIsDraft) {
    entryInfo.setStatus(isDraft ? expandedStatus : '');
    if (!isPrototype) await entryInfo.commit();
  }
  return entry;
};

/**
 *
 * @param {Entry} entry
 * @param {Graph} graph
 * @returns {Promise}
 */
const commitDraftMetadata = (entry, graph) => commitMetadata(entry, graph).then(setEntryDraftStatus);

/**
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isDraftEntry = entry => entry.getEntryInfo().getStatus() === _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(RDF_PROPERTY_DRAFT_STATUS);

/**
 * Determines if the given entry has a property indicating it is locked.
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isLocked = entry => entry.getEntryInfo().getGraph().findFirstValue(entry.getURI(), 'store:status') === _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(RDF_STATUS_LOCKED);

/**
 * Change the status of entry to lock/unlock
 *
 * @param {Entry} entry
 * @param {string} newStatus
 */

const lockOrUnlockEntry = async (entry, newStatus) => {
  const entryInfo = entry.getEntryInfo().getGraph();
  entryInfo.findAndRemove(entry.getURI(), 'store:status');
  if (newStatus) entryInfo.add(entry.getURI(), 'store:status', newStatus);
  return entry.getEntryInfo().commit();
};

/**
 * An entry is consdiered internally published if signed in users can access it.
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isInternallyPublished = entry => {
  const entryInfo = entry.getEntryInfo();
  const acl = entryInfo.getACL(true);
  const {
    rread,
    mread
  } = acl;
  return rread.includes(_userIds__WEBPACK_IMPORTED_MODULE_12__.USERS_ENTRY_ID) && mread.includes(_userIds__WEBPACK_IMPORTED_MODULE_12__.USERS_ENTRY_ID);
};

/**
 *
 * @param {Entry} entry
 * @param {EntityType} entityType
 * @returns {undefined}
 */
const changeEntryEntityType = async (entry, entityType) => {
  const {
    info: entryInfo
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(entry);
  const graph = entryInfo.getGraph();
  graph.findAndRemove(entryInfo.getMetadataURI(), 'esterms:entityType');
  const primaryEntityType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].primary(entry);
  if (entityType.getId() !== primaryEntityType.getId()) {
    graph.add(entryInfo.getMetadataURI(), 'esterms:entityType', entityType.getId());
  }
};

/**
 *
 * @param {Entry} entry
 * @param {EntityType} entityType
 * @returns {Promise<EntryInfo>}
 */
const saveEntryByEntityType = async (entry, entityType) => {
  await changeEntryEntityType(entry, entityType);
  const {
    info: entryInfo
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(entry);
  return entryInfo.commit();
};

/**
 * Defaults to cached external metadata.
 * Best to be used as a render name in a list row
 *
 * @param {Entry} entry
 * @returns {string}
 */
const getEntryLabel = entry => (0,_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getLabel)(entry) || (0,_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getLabel)(entry.getCachedExternalMetadata(), entry.getResourceURI());

/**
 * Usually used to check create vs edit mode
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isNewEntry = entry => entry instanceof _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.PrototypeEntry;

/**
 * Get a new PrototypeEntry for a context.
 * Type/Resource URi are either explicit or derived from the entityType definition
 * @return {store/PrototypeEntry}
 */
const createPrototypeEntry = _ref => {
  let {
    context,
    contextName,
    entryName,
    entityType,
    rdfType
  } = _ref;
  const prototypeEntry = contextName ? (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.createEntryFromEntityType)(context, entityType, {
    contextName,
    entryName
  }) : (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.createEntry)(context);
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_9__.spreadEntry)(prototypeEntry);
  if (rdfType || entityType.rdfType) {
    const type = (Array.isArray(rdfType) ? rdfType[0] : rdfType) || (Array.isArray(entityType.rdfType) ? entityType.rdfType[0] : entityType.rdfType);
    metadata.add(resourceURI, 'rdf:type', type, true);
  } else if (entityType.constraints) {
    Object.keys(entityType.constraints).forEach(prop => {
      const obj = entityType.constraints[prop];
      if (Array.isArray(obj)) {
        metadata.add(resourceURI, prop, obj[0]);
      } else {
        metadata.add(resourceURI, prop, obj);
      }
    });
  }
  return prototypeEntry;
};
const getTemplateId = async entry => {
  const entityType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].inUse(entry);
  return entry.isLinkReference() ? entityType.complementaryTemplateId() : entityType.templateId();
};

/**
 *
 * @param {Entry} entry
 * @param {string} str
 * @returns {[]}
 */
const findResourceStatements = (entry, str) => entry.getAllMetadata().find(entry.getResourceURI(), str) || [];

/**
 *
 * @param {Entry} distributionEntry
 * @param {string} str
 * @returns {string}
 */
const getResourceURI = (distributionEntry, str) => distributionEntry.getMetadata().findFirstValue(distributionEntry.getResourceURI(), str);

/**
 * Add a group with specific access right for an entry
 * @param {Entry} entry
 * @param {Entry || string} group
 * @param {string} right
 * @returns {Entry}
 */
const addAccessRightToGroup = (entry, group, right) => {
  const entryInformation = entry.getEntryInfo();
  const accessControl = entryInformation.getACL(true);
  const groupId = typeof group === 'string' ? group : group.getId();
  switch (right) {
    case 'mread':
    case 'mwrite':
    case 'rread':
    case 'rwrite':
      accessControl[right].push(groupId);
      break;
    case 'owner':
      accessControl.admin.push(groupId);
      break;
    default:
      return entry;
  }
  entryInformation.setACL(accessControl);
  return entry;
};

/**
 * Fetches entries that belong to the provided store.
 *
 * @param {Entry[]} entries
 * @param {EntryStore} store
 * @returns {Promise<Entry[]>}
 */
const fetchEntriesByStore = async (entries, store) => {
  if (!store) return [];
  const entryURIs = entries.filter(entry => entry.getEntryStore() === store).map(entry => entry.getURI());
  if (!entryURIs.length) return [];
  return store.newSolrQuery().uri(entryURIs).list().getEntries();
};

/**
 * Checks if any of the provided entries have been modified (by others) to avoid conflicts.
 *
 * @param {Entry[]} entries
 * @param {EntryStore} remoteStore
 * @returns {Promise<boolean>}
 */
const checkEntriesHaveConflict = async function checkEntriesHaveConflict() {
  let entries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  let remoteStore = arguments.length > 1 ? arguments[1] : undefined;
  if (!entries.length) return false;

  // Refresh entries before checking to decrease risk of conflicts
  for (const entry of entries) {
    await refreshEntry(entry);
  }
  const entryUriToModified = {};
  for (const entry of entries) {
    const entryInfo = entry.getEntryInfo();
    const previousModificationTime = (entryInfo.getModificationDate() || entryInfo.getCreationDate()).getTime();
    entryUriToModified[entry.getURI()] = previousModificationTime;
  }
  const fetchedLocalEntries = await fetchEntriesByStore(entries, commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore);
  const fetchedRemoteEntries = await fetchEntriesByStore(entries, remoteStore);
  const newlyFetchedEntries = [...fetchedLocalEntries, ...fetchedRemoteEntries];
  const hasConflict = newlyFetchedEntries.some(entry => {
    const entryInfo = entry.getEntryInfo();
    const newModificationTime = (entryInfo.getModificationDate() || entryInfo.getCreationDate()).getTime();
    return newModificationTime !== entryUriToModified[entry.getURI()];
  });
  return hasConflict;
};

/**
 *
 * @param {string} entryURI
 * @returns {Promise<Entry|undefined>}
 */
const getOrIgnoreEntry = async entryURI => {
  try {
    const entry = await commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntry(entryURI);
    return entry;
  } catch (_error) {
    console.error(`Could not find entry from entry uri ${entryURI}`);
  }
};
const entryPropType = prop_types__WEBPACK_IMPORTED_MODULE_5___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.Entry);
const graphPropType = prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,
  exportRDFJSON: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,
  add: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired
});

/**
 *
 * @param {Entry} entry
 * @param {string} predicate
 * @param {string} value
 * @returns {boolean}
 */
const checkHasProperty = (entry, predicate, value) => {
  const statements = entry.getMetadata().find(entry.getResourceURI(), predicate);
  return statements.some(statement => statement.getValue() === _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(value));
};

/**
 * Find the first cached entry matching a resource URI within a specific context.
 *
 * @param {object} store - EntryStore instance
 * @param {object} context - the context to filter by
 * @param {string} resourceURI
 * @returns {object|null}
 */
const getCachedEntryByResourceURI = (store, context, resourceURI) => {
  var _Array$from$find;
  const cachedEntries = store.getCache().getByResourceURI(resourceURI);
  return (_Array$from$find = Array.from(cachedEntries).find(entry => entry.getContext() === context)) !== null && _Array$from$find !== void 0 ? _Array$from$find : null;
};
 // TODO no need to export getEntryRenderName, use import { getLabel } from 'commons/util/rdfUtils'; directly

/***/ },

/***/ "./modules/commons/util/faro.js"
/*!**************************************!*\
  !*** ./modules/commons/util/faro.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");




let faro = null;

/**
 * Initialize Grafana Faro frontend monitoring (Real User Monitoring).
 *
 * Captures JavaScript errors, console logs, Web Vitals, and distributed traces and ships
 * them to the monitoring hub's Faro collector. Controlled by the `monitoring` config block:
 * when `monitoring.enabled` is false this is a no-op, so the SDK never starts. Initialization
 * failures are swallowed — monitoring must never break application boot.
 *
 * @param {object} [monitoringConfig] - The merged `monitoring` config block.
 * @param {boolean} monitoringConfig.enabled - Master toggle.
 * @param {string} monitoringConfig.collectorUrl - Faro receiver endpoint on the monitoring hub.
 * @param {string} [monitoringConfig.environment] - Environment label attached to all telemetry.
 * @param {string} [monitoringConfig.apiKey] - Optional key sent to the collector as x-api-key.
 * @returns {Promise<object|null>} The Faro instance, or null when disabled or already initialized.
 */
const initMonitoring = async monitoringConfig => {
  if (!monitoringConfig || !monitoringConfig.enabled || faro) {
    return faro;
  }
  const {
    collectorUrl,
    environment = 'production',
    apiKey = ''
  } = monitoringConfig;
  if (!collectorUrl) {
    return null;
  }
  try {
    // Load the Faro SDK on demand so it stays out of the main bundle when
    // monitoring is disabled (the default for most instances).
    const {
      initializeFaro,
      getWebInstrumentations
    } = await __webpack_require__.e(/*! import() | faro */ "faro").then(__webpack_require__.bind(__webpack_require__, /*! @grafana/faro-web-sdk */ "./node_modules/.pnpm/@grafana+faro-web-sdk@2.7.1/node_modules/@grafana/faro-web-sdk/dist/esm/index.js"));
    const {
      TracingInstrumentation
    } = await __webpack_require__.e(/*! import() | faro */ "faro").then(__webpack_require__.bind(__webpack_require__, /*! @grafana/faro-web-tracing */ "./node_modules/.pnpm/@grafana+faro-web-tracing@2.7.1/node_modules/@grafana/faro-web-tracing/dist/esm/index.js"));
    faro = initializeFaro({
      url: collectorUrl,
      apiKey: apiKey || undefined,
      app: {
        name: (0,commons_util_config__WEBPACK_IMPORTED_MODULE_3__.getAppName)(),
        version: (0,commons_util_config__WEBPACK_IMPORTED_MODULE_3__.getAppVersion)(),
        environment
      },
      instrumentations: [...getWebInstrumentations({
        captureConsoleDisabledLevels: ['debug', 'trace', 'log']
      }), new TracingInstrumentation()]
    });
  } catch (error) {
    console.error('Failed to initialize Faro frontend monitoring', error);
    faro = null;
  }
  return faro;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (initMonitoring);

/***/ },

/***/ "./modules/commons/util/fetchCsv.js"
/*!******************************************!*\
  !*** ./modules/commons/util/fetchCsv.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   fetchAsStream: () => (/* binding */ fetchAsStream),
/* harmony export */   fetchCsv: () => (/* binding */ fetchCsv),
/* harmony export */   isWithinFileSizeLimit: () => (/* binding */ isWithinFileSizeLimit)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var papaparse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! papaparse */ "./node_modules/.pnpm/papaparse@5.5.4/node_modules/papaparse/papaparse.min.js");
/* harmony import */ var papaparse__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(papaparse__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_file__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/file */ "./modules/commons/util/file.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");

const _excluded = ["ignoreStats", "encoding"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const defaultFetchOptions = {
  credentials: 'include'
};

/**
 * See https://developer.mozilla.org/en-US/docs/Web/API/Streams_API/Using_readable_streams#Consuming_a_fetch_as_a_stream
 *
 * @param {string} uri
 * @param {object} options
 * @returns {Promise}
 */
const fetchAsStream = function fetchAsStream(uri) {
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  return fetch(uri, _objectSpread(_objectSpread({}, defaultFetchOptions), options)).then(_ref => {
    let {
      body
    } = _ref;
    const reader = body.getReader();
    return new ReadableStream({
      start(controller) {
        const pump = () => {
          return reader.read().then(_ref2 => {
            let {
              done,
              value
            } = _ref2;
            // When no more data needs to be consumed, close the stream
            if (done) {
              controller.close();
              return;
            }
            // Enqueue the next data chunk into our target stream
            controller.enqueue(value);
            return pump();
          });
        };
        return pump();
      }
    });
  }).then(stream => new Response(stream));
};

/**
 * Used for debugging
 *
 * @param {object} results
 * @param {object[]} results.errors
 */
const checkParseErrors = _ref3 => {
  let {
    errors
  } = _ref3;
  const [error] = errors;
  if (error) console.error(`Failed to parse file caused by: ${error.message}`);
};

/**
 * @param {string} csvData
 * @returns {Promise}
 */
const parseCSVFile = csvData => papaparse__WEBPACK_IMPORTED_MODULE_4___default().parse(csvData, {
  header: true,
  skipEmptyLines: true,
  complete: checkParseErrors
});

/**
 *
 * @param {string} uri
 * @param {object} options
 * @param {boolean} options.ignoreStats
 * @param {string} options.encoding
 * @returns {Promise}
 */
const fetchCsv = function fetchCsv(uri) {
  let _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  let {
      ignoreStats,
      encoding = 'UTF-8'
    } = _ref4,
    fetchOptions = _objectWithoutProperties(_ref4, _excluded);
  const requestUri = `${uri}${ignoreStats ? '?nostats' : ''}`;
  return fetchAsStream(requestUri, fetchOptions).then(response => response.blob()).then(blob => (0,commons_util_file__WEBPACK_IMPORTED_MODULE_5__.readFileAsText)(blob, encoding)).then(csvData => parseCSVFile(csvData));
};
const CSV_MAX_SIZE_MB = 1;

/**
 *
 * @param {number} fileSize
 * @returns {boolean}
 */
const isWithinFileSizeLimit = fileSize => {
  if (!fileSize) throw new Error('File not found');
  const fileSizeMb = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_6__.convertBytesToMBytes)(fileSize);
  return fileSizeMb <= CSV_MAX_SIZE_MB;
};

/***/ },

/***/ "./modules/commons/util/file.js"
/*!**************************************!*\
  !*** ./modules/commons/util/file.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertFileFormat: () => (/* binding */ convertFileFormat),
/* harmony export */   createBlob: () => (/* binding */ createBlob),
/* harmony export */   downloadURI: () => (/* binding */ downloadURI),
/* harmony export */   getFilename: () => (/* binding */ getFilename),
/* harmony export */   getHumanReadableFileSize: () => (/* binding */ getHumanReadableFileSize),
/* harmony export */   readFileAsText: () => (/* binding */ readFileAsText)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.number.to-fixed.js");
/* harmony import */ var core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.fill.js");
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.typed-array.set.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.set.js");
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.sort.js");
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.to-locale-string.js");
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! file-saver/FileSaver */ "./node_modules/.pnpm/file-saver@1.3.8/node_modules/file-saver/FileSaver.js");
/* harmony import */ var file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _nls_escoFile_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../nls/escoFile.nls */ "./modules/commons/nls/escoFile.nls");
/* harmony import */ var _nls_escoFile_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_nls_escoFile_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./config */ "./modules/commons/util/config.js");
















/**
 *
 * @param {File} file
 * @param {string} encoding
 * @returns {Promise}
 */
const readFileAsText = function readFileAsText(file) {
  let encoding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'UTF-8';
  const fileSizeLimit = _config__WEBPACK_IMPORTED_MODULE_14__["default"].uploadFileSizeLimit();
  if (file.size > fileSizeLimit) {
    return Promise.reject(_entryscape_esi18n__WEBPACK_IMPORTED_MODULE_10__.i18n.localize((_nls_escoFile_nls__WEBPACK_IMPORTED_MODULE_13___default()), 'fileUploadSizeLimit', {
      limit: (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.convertBytesToMBytes)(fileSizeLimit)
    }));
  }
  return new Promise((resolve, reject) => {
    const reader = new FileReader();
    reader.onloadend = () => resolve(reader.result);
    reader.onerror = () => reject(reader.error);
    // reader.onabort = () => callback('abort'); // TODO not supported on IE11?
    reader.readAsText(file, encoding);
  });
};

/**
 *
 * @param {string} base64StringData
 * @param {string} type
 * @returns {Blob}
 */
const createBlob = function createBlob(base64StringData) {
  let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'image/png';
  const binaryData = atob(base64StringData);

  // Create a Uint8Array from the binary data
  const uint8Array = new Uint8Array(binaryData.length);
  for (let i = 0; i < binaryData.length; i++) {
    uint8Array[i] = binaryData.charCodeAt(i);
  }
  const blob = new Blob([uint8Array], {
    type
  });
  return blob;
};

/**
 * Download file based on given URI
 *
 * @param {string} uri
 * @param {string} filename
 * @returns {Promise}
 */
const downloadURI = (uri, filename) => fetch(uri, {
  credentials: 'include'
}).then(response => response.blob()).then(blob => (0,file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_9__.saveAs)(blob, filename));
const formatConversionMap = {
  'application/rdf+xml': 'rdf',
  'application/n-triples': 'nt',
  'text/turtle': 'ttl',
  'application/ld+json': 'jsonld',
  'application/json': 'json',
  'image/png': 'png',
  'image/svg+xml': 'svg'
};

/**
 * Converts format into file extension
 *
 * @param {string} format
 * @param {string} defaultExtension
 * @returns {string}
 */
const convertFileFormat = function convertFileFormat(format) {
  let defaultExtension = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'txt';
  return formatConversionMap[format] || defaultExtension;
};

/**
 * Builds a filename from an entry's metadata title and format. Returns null if
 * the entry has no dcterms:title, allowing the caller to fall back to other
 * strategies (e.g. server-provided Content-Disposition).
 *
 * @param {Entry} entry
 * @returns {string|null}
 */
const getFilename = entry => {
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  const title = metadata.findFirstValue(resourceURI, 'dcterms:title');
  if (!title) return null;
  const format = metadata.findFirstValue(resourceURI, 'dcterms:format') || entry.getEntryInfo().getFormat();
  const extension = convertFileFormat(format, '');
  return extension ? `${title}.${extension}` : title;
};

/**
 * Returns human readable file size
 *
 * @param {number} size
 * @returns {string}
 */
const getHumanReadableFileSize = size => {
  const exp = Math.log(size) / Math.log(1024) | 0;
  const result = (size / 1024 ** exp).toFixed(2).replace(/\.00$/, '');
  return `${result} ${exp === 0 ? 'bytes' : `${'KMGTPEZY'[exp - 1]}B`}`;
};

/***/ },

/***/ "./modules/commons/util/htmlUtil.js"
/*!******************************************!*\
  !*** ./modules/commons/util/htmlUtil.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getContentHTML: () => (/* binding */ getContentHTML)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);

/**
 *
 * @param {string} path
 * @returns {Promise<string>}
 */
const getContentHTML = path => fetch(path, {
  headers: {
    Accept: 'text/html'
  }
}).then(response => {
  if (response.ok) {
    return response.text();
  }
  throw Error('Fetch response was not ok');
}).catch(error => {
  return Promise.reject(error);
});

/***/ },

/***/ "./modules/commons/util/jsonld.js"
/*!****************************************!*\
  !*** ./modules/commons/util/jsonld.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   graphToJsonld: () => (/* binding */ graphToJsonld),
/* harmony export */   isJsonldFormat: () => (/* binding */ isJsonldFormat),
/* harmony export */   jsonldToGraph: () => (/* binding */ jsonldToGraph)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_turtle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/turtle */ "./modules/commons/util/turtle.js");





/**
 * Heuristic check for whether a string (or named file) is JSON-LD rather than
 * RDF/JSON. Both are JSON, so the discriminator is JSON-LD keywords: a top-level
 * array of node objects, or an object with any `@`-prefixed key (`@context`,
 * `@graph`, `@id`, `@type`, ...). RDF/JSON is always a subject-keyed object whose
 * keys are URIs.
 *
 * @param {string} content
 * @param {string} [filename]
 * @returns {boolean}
 */
const isJsonldFormat = function isJsonldFormat(content) {
  let filename = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  if (filename.toLowerCase().endsWith('.jsonld')) return true;
  let parsed;
  try {
    parsed = JSON.parse(content);
  } catch (_unused) {
    return false;
  }
  if (Array.isArray(parsed)) return true;
  if (typeof parsed !== 'object' || parsed === null) return false;
  return Object.keys(parsed).some(key => key.startsWith('@'));
};

/**
 * Parses JSON-LD into an rdfjson Graph by way of N-Quads (jsonld → N-Quads → N3
 * → Graph). Accepts a JSON-LD string or an already-parsed object.
 *
 * @param {object} jsonld the lazily-loaded `jsonld` module.
 * @param {object} N3 the lazily-loaded `n3` module.
 * @param {string|object} doc
 * @returns {Promise<import('@entryscape/rdfjson').Graph>}
 */
const jsonldToGraph = async (jsonld, N3, doc) => {
  const parsed = typeof doc === 'string' ? JSON.parse(doc) : doc;
  const nquads = await jsonld.toRDF(parsed, {
    format: 'application/n-quads'
  });
  return (0,commons_util_turtle__WEBPACK_IMPORTED_MODULE_3__.turtleToGraph)(N3, nquads);
};

/**
 * Serializes an rdfjson Graph to expanded JSON-LD by way of N-Quads (Graph → N3
 * → N-Quads → jsonld).
 *
 * @param {object} jsonld the lazily-loaded `jsonld` module.
 * @param {object} N3 the lazily-loaded `n3` module.
 * @param {import('@entryscape/rdfjson').Graph} graph
 * @returns {Promise<string>}
 */
const graphToJsonld = async (jsonld, N3, graph) => {
  const nquads = await (0,commons_util_turtle__WEBPACK_IMPORTED_MODULE_3__.writeGraph)(N3, graph, {
    format: 'application/n-quads'
  });
  const doc = await jsonld.fromRDF(nquads, {
    format: 'application/n-quads'
  });
  return JSON.stringify(doc, null, 2);
};

/***/ },

/***/ "./modules/commons/util/loadFonts.js"
/*!*******************************************!*\
  !*** ./modules/commons/util/loadFonts.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   loadFonts: () => (/* binding */ loadFonts)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");



const FONT_NAME = 'Source Sans Pro';
const REGULAR_FONT_FILE = 'source-sans-pro-v14-latin-regular.woff2';
const REGULAR_FONT = {
  style: 'normal',
  weight: '400',
  display: 'swap'
};
const SEMIBOLD_FONT_FILE = 'source-sans-pro-v14-latin-600.woff2';
const SEMIBOLD_FONT = {
  style: 'normal',
  weight: '600',
  display: 'swap'
};

/**
 *
 * @param {string} name
 * @param {string} url
 * @param {object} descriptors
 * @returns {Promise}
 */
const loadFont = async (name, url, descriptors) => {
  const font = new FontFace(name, url, descriptors);
  try {
    await font.load();
    document.fonts.add(font);
  } catch (error) {
    console.error(`Failed to load font ${name}`, error);
  }
};

/**
 * @returns {Promise}
 */
const loadFonts = async () => {
  let fontPath = config__WEBPACK_IMPORTED_MODULE_2__["default"].get('entryscape.fontPath');
  fontPath = fontPath.endsWith('/') ? fontPath : `${fontPath}/`;
  await loadFont(FONT_NAME, `local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(${fontPath}${REGULAR_FONT_FILE})`, REGULAR_FONT);
  await loadFont(FONT_NAME, `local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(${fontPath}${SEMIBOLD_FONT_FILE})`, SEMIBOLD_FONT);
};

/***/ },

/***/ "./modules/commons/util/metadata.js"
/*!******************************************!*\
  !*** ./modules/commons/util/metadata.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   copyMetadata: () => (/* binding */ copyMetadata),
/* harmony export */   getAccessURI: () => (/* binding */ getAccessURI),
/* harmony export */   getBasedOnProperty: () => (/* binding */ getBasedOnProperty),
/* harmony export */   getCatalogIsPublic: () => (/* binding */ getCatalogIsPublic),
/* harmony export */   getContributors: () => (/* binding */ getContributors),
/* harmony export */   getCreator: () => (/* binding */ getCreator),
/* harmony export */   getDefaultThemeLabels: () => (/* binding */ getDefaultThemeLabels),
/* harmony export */   getDescription: () => (/* reexport safe */ commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getDescription),
/* harmony export */   getDownloadURI: () => (/* binding */ getDownloadURI),
/* harmony export */   getFileEntries: () => (/* binding */ getFileEntries),
/* harmony export */   getIdeas: () => (/* binding */ getIdeas),
/* harmony export */   getModifiedDate: () => (/* binding */ getModifiedDate),
/* harmony export */   getParentCatalogEntry: () => (/* binding */ getParentCatalogEntry),
/* harmony export */   getShortModifiedDate: () => (/* binding */ getShortModifiedDate),
/* harmony export */   getShowcases: () => (/* binding */ getShowcases),
/* harmony export */   getSuggestions: () => (/* binding */ getSuggestions),
/* harmony export */   getThemeLabels: () => (/* binding */ getThemeLabels),
/* harmony export */   getThemeTaxonomy: () => (/* binding */ getThemeTaxonomy),
/* harmony export */   getTitle: () => (/* binding */ getTitle),
/* harmony export */   isType: () => (/* binding */ isType),
/* harmony export */   languageUriToIsoCode: () => (/* binding */ languageUriToIsoCode)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");














// UTILS
const getChoiceLabels = (entry, property, choiceTemplateId) => {
  const item = commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_7__.itemStore.getItem(choiceTemplateId);
  const itemType = item.getType();
  if (itemType !== 'choice') {
    console.log(`${choiceTemplateId} is expected to be a 'choice' but is a '${item.getType()}'`);
  }
  const choices = itemType === 'choice' ? item.getChoices() : [];
  return entry.getMetadata().find(entry.getResourceURI(), property).map(statement => statement.getValue()).map(uri => choices.find(choice => choice.value === uri)).filter(choice => choice).map(choice => (0,commons_locale__WEBPACK_IMPORTED_MODULE_6__.localize)(choice.label));
};
const searchRelatedSourceEntry = (entry, type) => {
  const context = entry.getContext();
  return commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newSolrQuery().rdfType(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand(type)).uriProperty('dcterms:source', entry.getResourceURI()).context(context.getResourceURI()).getEntries();
};
// END UTILS

/**
 * Get a the title of an Entry
 *
 * @param  {Entry} An Entry
 * @returns {string}
 */
const getTitle = commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabel;

/**
 * Get the dcat:description of an Entry`
 *
 * @param  {Entry} An Entry
 * @returns {string}
 */


/**
 * Get the last modified date of an Entry
 *
 * @param  {Entry} entry
 * @returns {Date}
 */
const getModifiedDate = entry => entry.getEntryInfo().getModificationDate();

/**
 * Get the last modified date of an Entry
 *
 * @param  {Entry} entry
 * @returns {string}
 */
const getShortModifiedDate = entry => (0,commons_util_date__WEBPACK_IMPORTED_MODULE_11__.getShortDate)(entry.getEntryInfo().getModificationDate());

/**
 * Get all the theme labels for a dataset
 *
 * @param  {Entry} entry - Dataset entry
 * @returns {string}
 */
const getThemeLabels = entry => getChoiceLabels(entry, 'dcat:theme', 'dcat:theme');

/**
 * Get an entry's theme taxonomy URI
 *
 * @param  {Entry} entry
 * @returns {string}
 */
const getThemeTaxonomy = entry => entry.getMetadata().findFirstValue(null, 'dcat:themeTaxonomy');

/**
 * Get the labels of the default DCAT theme vocabulary
 *
 * @returns {object[]}
 */
const getDefaultThemeLabels = () => commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_7__.itemStore.getItem('dcat:theme').getChoices();

/**
 * Get the dcat:accessURL property of an entry
 *
 * @param  {Entry} entry
 * @returns {string}
 */
const getAccessURI = entry => {
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  return metadata.findFirstValue(resourceURI, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand('dcat:accessURL'));
};

/**
 * Get the dcat:downloadURL of an entry
 *
 * @param  {Entry} entry
 * @returns {string}
 */
const getDownloadURI = entry => {
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  return metadata.findFirstValue(resourceURI, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand('dcat:downloadURL'));
};

/**
 * Get the esterms:basedOn property of an entry
 *
 * @param {Entry} entry
 * @returns {string}
 */
const getBasedOnProperty = entry => entry.getMetadata().findFirstValue(entry.getResourceURI(), 'esterms:basedOn');

/**
 * Get all file URLs from an entry (dcat:downloadURL)
 *
 * @param  {Entry} An Entry
 * @returns {string[]}
 */

const getFileEntries = entry => {
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  return metadata.find(resourceURI, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand('dcat:downloadURL'));
};

/**
 * Get the parent catalog of a Dataset
 *
 * @param {Entry} entry - Dataset entry
 * @returns {Promise}
 */
const getParentCatalogEntry = entry => commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystoreUtil.getEntryByType('dcat:Catalog', entry.getContext());

/**
 *
 * @param {string} contributorEntryURI
 * @returns {Promise}
 */
const getContributor = contributorEntryURI => {
  return commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(contributorEntryURI).catch(() => {
    console.log('Contributor not found. User entry no longer exists.');
  });
};

/**
 *
 * @param {Entry} entry
 * @returns {Promise}
 */
const getContributors = entry => {
  const entryInfo = entry.getEntryInfo();
  const contributorsEntryURIs = entryInfo.getContributors().map(contributorURI => commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntryURIFromURI(contributorURI));
  const asyncContributorCallbacks = contributorsEntryURIs.map(contributorEntryURI => () => getContributor(contributorEntryURI));

  /**
   * with current global error handler, the calls must be run in sequnce to prevent
   * triggering error dialog for entrystore.getEntry if user no longer exists.
   */
  return (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_12__.runAsyncInSequence)(asyncContributorCallbacks);
};
const getSuggestions = async (entry, context) => {
  const referencedDatasetEntries = await commons_registry__WEBPACK_IMPORTED_MODULE_8__["default"].getEntryStore().newSolrQuery().rdfType('esterms:Suggestion').uriProperty('dcterms:references', entry.getResourceURI()).context(context).getEntries();
  return referencedDatasetEntries;
};
const getIdeas = entry => searchRelatedSourceEntry(entry, 'esterms:Idea');
const getShowcases = entry => searchRelatedSourceEntry(entry, 'esterms:Result');
const getCatalogIsPublic = entry => entry.getContext().getEntry().then(contextEntry => contextEntry.isPublic());
const languageUriToIsoCode = languageURI => {
  switch (languageURI) {
    case 'http://publications.europa.eu/resource/authority/language/SWE':
      return 'sv';
    case 'http://publications.europa.eu/resource/authority/language/DEU':
      return 'de';
    case 'http://publications.europa.eu/resource/authority/language/ENG':
    default:
      return 'en';
  }
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string|string[]} rdfType
 * @returns {boolean}
 */
const isType = (graph, resourceURI, rdfType) => {
  const rdfTypes = graph.find(resourceURI, 'rdf:type').map(statement => statement.getValue());
  const validRdfTypes = Array.isArray(rdfType) ? rdfType : [rdfType];
  return validRdfTypes.some(validRdfType => rdfTypes.includes(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.expand(validRdfType)));
};

/**
 *
 * @param {Graph} creatorEntry
 * @returns {Promise<Entry>}
 */
const getCreator = creatorEntry => {
  const userResourceUri = creatorEntry.getEntryInfo().getCreator();
  const userEntryURI = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntryURIFromURI(userResourceUri);
  return commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(userEntryURI);
};

/**
 * Copies the original entry's metadata, adjusts the titles and removes any specified properties
 *
 * @param {Entry} originalEntry
 * @param {string} newResourceURI
 * @param {string} copyTitlePrefix
 * @param {string[]} excludeProperties
 * @returns {Graph}
 */
const copyMetadata = function copyMetadata(originalEntry, newResourceURI) {
  let copyTitlePrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  let excludeProperties = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  const copiedMetadata = originalEntry.getMetadata().clone().replaceURI(originalEntry.getResourceURI(), newResourceURI);

  // replace titles with ones including prefix
  const originalTitles = copiedMetadata.find(null, 'dcterms:title');
  copiedMetadata.findAndRemove(null, 'dcterms:title');
  for (const originalTitle of originalTitles) {
    copiedMetadata.addL(newResourceURI, 'dcterms:title', copyTitlePrefix + originalTitle.getValue(), originalTitle.getLanguage());
  }
  for (const propertyToExclude of excludeProperties) {
    copiedMetadata.findAndRemove(null, propertyToExclude);
  }
  return copiedMetadata;
};

/***/ },

/***/ "./modules/commons/util/mimeTypes.js"
/*!*******************************************!*\
  !*** ./modules/commons/util/mimeTypes.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getAbbreviatedMimeType: () => (/* binding */ getAbbreviatedMimeType)
/* harmony export */ });
const mimeTypes = {
  'text/csv': 'csv',
  'text/plain': 'txt',
  'application/json': 'json',
  'application/pdf': 'pdf',
  'application/zip': 'zip',
  'application/xml': 'xml',
  'application/rdf+xml': 'rdf',
  'text/xml': 'xml',
  'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx',
  'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx',
  'application/vnd.ms-excel': 'xls',
  'application/vnd.oasis.opendocument.spreadsheet': 'ods'
};

/**
 *
 * @param mimeType
 * @return {*}
 */
const getAbbreviatedMimeType = mimeType => mimeTypes[mimeType];


/***/ },

/***/ "./modules/commons/util/module.js"
/*!****************************************!*\
  !*** ./modules/commons/util/module.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   checkIsProjectModule: () => (/* binding */ checkIsProjectModule),
/* harmony export */   checkIsProjectTypeModule: () => (/* binding */ checkIsProjectTypeModule),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   findModuleByRoute: () => (/* binding */ findModuleByRoute),
/* harmony export */   findModuleNameFromContext: () => (/* binding */ findModuleNameFromContext),
/* harmony export */   findModuleNameFromContextEntry: () => (/* binding */ findModuleNameFromContextEntry),
/* harmony export */   getModuleFromName: () => (/* binding */ getModuleFromName),
/* harmony export */   getModuleIconFromName: () => (/* binding */ getModuleIconFromName),
/* harmony export */   getModuleLayoutPropsFunction: () => (/* binding */ getModuleLayoutPropsFunction),
/* harmony export */   getPrimaryNavModules: () => (/* binding */ getPrimaryNavModules),
/* harmony export */   getProjectNameFromContext: () => (/* binding */ getProjectNameFromContext)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_icons_iconUtility__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/icons/iconUtility */ "./modules/commons/icons/iconUtility.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const getModuleIconFromName = (name, icon, props) => {
  const iconName = icon || name;
  const Icon = (0,commons_icons_iconUtility__WEBPACK_IMPORTED_MODULE_11__.getIconByName)(iconName);
  return /*#__PURE__*/React.createElement(Icon, props);
};

/**
 *
 * @param {ProjectType} projectType
 * @returns {boolean}
 */
const checkIsProjectTypeModule = projectType => {
  return projectType.source.module.includes('project');
};

/**
 * A project module is defined as a project type and must have project as
 * included module name.
 *
 * @returns {object[]}
 */
const getModuleProjectTypes = () => {
  const projectTypes = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].getProjectTypes().filter(projectType => checkIsProjectTypeModule(projectType));
  return projectTypes;
};

/**
 *
 * @param {string} projectName
 * @returns {boolean}
 */
const checkIsProjectModule = projectName => {
  const projectTypes = getModuleProjectTypes();
  return Boolean(projectTypes.find(projectType => projectType.source.name === projectName));
};

/**
 * Look for currently used module by first trying to match project name, if
 * present, to project type name. Secondly find module name by matching current
 * view name to module.
 *
 * @param {string} projectName
 * @returns {string}
 */
const getCurrentModuleName = projectName => {
  if (projectName) {
    const isProjectModule = checkIsProjectModule(projectName);
    if (isProjectModule) return 'project';
  }
  return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_7__.getModuleNameOfCurrentView)();
};

/**
 * Get the current module's async function, if any
 *
 * @param {object} userInfo
 * @param {string|undefined} projectName
 * @returns {Function|undefined}
 */
const getModuleLayoutPropsFunction = (userInfo, projectName) => {
  const moduleName = getCurrentModuleName(projectName);
  const module = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_6__.getActiveModules)(userInfo).find(_ref => {
    let {
      name
    } = _ref;
    return name === moduleName;
  });
  return module === null || module === void 0 ? void 0 : module.getLayoutProps;
};

/**
 * Gets the module definition from the name
 *
 * @param {string} name
 * @param {object} userInfo
 * @returns {object}
 */
const getModuleFromName = function getModuleFromName(name) {
  let userInfo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const activeModules = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_6__.getActiveModules)(userInfo);
  return activeModules.find(module => module.name === name);
};

/**
 *
 * @param {Entry} contextEntry
 * @returns {string|undefined}
 */
const findModuleNameFromContextEntry = contextEntry => {
  const resourceURI = contextEntry.getResourceURI();
  const graph = contextEntry.getEntryInfo().getGraph();
  const contextType = commons_util_context__WEBPACK_IMPORTED_MODULE_8__.contextTypes.find(_ref2 => {
    let {
      rdfType
    } = _ref2;
    const statements = graph.find(resourceURI, 'rdf:type', rdfType);
    return statements.length > 0;
  });
  return contextType === null || contextType === void 0 ? void 0 : contextType.module;
};

/**
 *
 * @param {Context} context
 * @returns {Promise<string|undefined>}
 */
const findModuleNameFromContext = async context => {
  const contextEntry = await context.getEntry();
  return findModuleNameFromContextEntry(contextEntry);
};

/**
 * Find module config by either route or route projectName param.
 *
 * @param {object[]} modules - modules including project type based
 * @param {string} route
 * @param {string} projectName - route param projectName
 * @returns {object}
 */

const findModuleByRoute = (modules, route, projectName) => {
  if (projectName) {
    const matchingModule = modules.find(_ref3 => {
      let {
        name
      } = _ref3;
      return name === projectName;
    });
    if (matchingModule) return matchingModule;
  }
  const viewDefinition = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_7__.getViewDefFromRoute)(route);
  return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_7__.getModuleOfView)(viewDefinition);
};

/**
 * Map project type to virtual project module.
 *
 * @param {ProjectType} projectType
 * @param {object} defaultConfig
 * @returns {object}
 */
const mapProjectTypeToProjectModule = function mapProjectTypeToProjectModule(projectType) {
  let defaultConfig = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  return _objectSpread(_objectSpread({}, defaultConfig), {}, {
    name: projectType.source.name,
    title: projectType.getLabel(),
    icon: projectType.source.icon
  });
};

/**
 * Get the project type name if it's a project type based module. Otherwise use
 * the module name as project name.
 *
 * @param {Context} context
 * @returns {Promise<string>}
 */
const getProjectNameFromContext = async context => {
  const projectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].getProjectTypeInUse(context);
  if (projectType && checkIsProjectTypeModule(projectType)) return projectType === null || projectType === void 0 ? void 0 : projectType.source.name;
  return findModuleNameFromContext(context);
};

/**
 * Find both project type based modules and builtin modules. The project module
 * is a placeholder for project type based modules.
 *
 * @param {object} userInfo
 * @returns {object[]}
 */
const getPrimaryNavModules = userInfo => {
  const activeModules = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_6__.getActiveModules)(userInfo);
  const projectTypes = getModuleProjectTypes();
  if (!projectTypes.length) return activeModules;
  const modules = activeModules.map(activeModule => {
    const {
      name
    } = activeModule;
    if (name === 'project') {
      const projectModuleConfig = activeModules.find(_ref4 => {
        let {
          name: moduleName
        } = _ref4;
        return moduleName === 'project';
      });
      return projectTypes.map(projectType => mapProjectTypeToProjectModule(projectType, projectModuleConfig));
    }
    return activeModule;
  });
  return modules.flat();
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  getModuleIconFromName
});

/***/ },

/***/ "./modules/commons/util/moduleDefinitions.js"
/*!***************************************************!*\
  !*** ./modules/commons/util/moduleDefinitions.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ADMIN_MODULE: () => (/* binding */ ADMIN_MODULE),
/* harmony export */   CATALOG_MODULE: () => (/* binding */ CATALOG_MODULE),
/* harmony export */   DOCUMENTATION_MODULE: () => (/* binding */ DOCUMENTATION_MODULE),
/* harmony export */   MODELS_MODULE: () => (/* binding */ MODELS_MODULE),
/* harmony export */   REGISTER_MODULE: () => (/* binding */ REGISTER_MODULE),
/* harmony export */   SEARCH_MODULE: () => (/* binding */ SEARCH_MODULE),
/* harmony export */   STATUS_MODULE: () => (/* binding */ STATUS_MODULE),
/* harmony export */   TERMS_MODULE: () => (/* binding */ TERMS_MODULE),
/* harmony export */   TOOLKIT_MODULE: () => (/* binding */ TOOLKIT_MODULE),
/* harmony export */   WORKBENCH_MODULE: () => (/* binding */ WORKBENCH_MODULE)
/* harmony export */ });
const CATALOG_MODULE = 'catalog';
const TERMS_MODULE = 'terms';
const SEARCH_MODULE = 'search';
const WORKBENCH_MODULE = 'workbench';
const MODELS_MODULE = 'models';
const ADMIN_MODULE = 'admin';
const DOCUMENTATION_MODULE = 'documentation';
const TOOLKIT_MODULE = 'toolkit';
const STATUS_MODULE = 'status';
const REGISTER_MODULE = 'register';

/***/ },

/***/ "./modules/commons/util/overview.js"
/*!******************************************!*\
  !*** ./modules/commons/util/overview.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CONTEXT_FILTER: () => (/* binding */ CONTEXT_FILTER),
/* harmony export */   TYPE_FILTER: () => (/* binding */ TYPE_FILTER),
/* harmony export */   getCanAccessOverview: () => (/* binding */ getCanAccessOverview),
/* harmony export */   getContextItems: () => (/* binding */ getContextItems),
/* harmony export */   getEntityTypeItems: () => (/* binding */ getEntityTypeItems),
/* harmony export */   getEntityTypes: () => (/* binding */ getEntityTypes),
/* harmony export */   getExcludedUris: () => (/* binding */ getExcludedUris),
/* harmony export */   getOverviewName: () => (/* binding */ getOverviewName),
/* harmony export */   getTo: () => (/* binding */ getTo)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.from-entries.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.from-entries.js");
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/esnext.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js");
/* harmony import */ var core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_promise_all_settled_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/moduleDefinitions */ "./modules/commons/util/moduleDefinitions.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var workbench_config_config__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! workbench/config/config */ "./modules/workbench/config/config.js");
/* harmony import */ var terms_config_config__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! terms/config/config */ "./modules/terms/config/config.js");
/* harmony import */ var catalog_config_config__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! catalog/config/config */ "./modules/catalog/config/config.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
const _excluded = ["entries"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

























/**
 * Get context rdf types for the active modules
 *
 * @param {string[]} activeModuleNames
 * @returns {string[]}
 */
const getContextTypesByActiveModules = activeModuleNames => {
  const types = [];
  if (activeModuleNames.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.CATALOG_MODULE)) types.push(commons_util_context__WEBPACK_IMPORTED_MODULE_12__.CONTEXT_TYPE_CATALOG);
  if (activeModuleNames.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.TERMS_MODULE)) types.push(commons_util_context__WEBPACK_IMPORTED_MODULE_12__.CONTEXT_TYPE_TERMINOLOGY);
  if (activeModuleNames.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.MODELS_MODULE)) types.push(commons_util_context__WEBPACK_IMPORTED_MODULE_12__.CONTEXT_TYPE_MODELS);
  if (activeModuleNames.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.WORKBENCH_MODULE)) types.push(commons_util_context__WEBPACK_IMPORTED_MODULE_12__.CONTEXT_TYPE_WORKBENCH);
  return types;
};

/**
 *
 * @param {boolean} isGuest
 * @param {string[]} activeModuleNames
 * @returns {Entry[]}
 */
const getContextEntries = (isGuest, activeModuleNames) => {
  const rdfTypes = getContextTypesByActiveModules(activeModuleNames);
  const query = commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.newSolrQuery().rdfType(rdfTypes).limit(100);
  if (activeModuleNames.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.REGISTER_MODULE)) query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_CONTEXT);
  if (isGuest) query.publicRead(true);
  return query.list().getAllEntries();
};

/**
 *
 * @param {boolean} isGuest
 * @param {string[]} activeModuleNames
 * @returns {Promise<object[]>}
 */
const getContextItems = async (isGuest, activeModuleNames) => {
  const contextEntries = await getContextEntries(isGuest, activeModuleNames);
  const contextItems = contextEntries.map(contextEntry => {
    // Resolve the label in the current locale (getLabel). If the entry has no label in
    // that locale, fall back to any non-empty literal so the context isn't dropped from
    // the filter — e.g. an empty `sv` title falls back to its `en` title.
    const fallbackLabelMap = Object.fromEntries(Object.entries((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_16__.getLabelMap)(contextEntry)).filter(_ref => {
      let [, value] = _ref;
      return value;
    }));
    return {
      label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_16__.getLabel)(contextEntry) || (0,commons_locale__WEBPACK_IMPORTED_MODULE_17__.localize)(fallbackLabelMap),
      value: contextEntry.getId()
    };
  }).filter(_ref2 => {
    let {
      label
    } = _ref2;
    return label;
  });
  return [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.ANY_FILTER_ITEM, ...contextItems];
};

/**
 *
 * @param {string[]} activeModuleNames
 * @returns {object[]}
 */
const getEntityTypeItems = activeModuleNames => {
  const customEntityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_23__.getCustomEntityTypeConfigs)().map(entityType => ({
    entityType,
    typeNlsKey: 'customTypesHeader'
  }));
  const builtinEntityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_23__.getBuiltinEntityTypeConfigs)().map(entityType => ({
    entityType,
    typeNlsKey: 'builtinTypesHeader'
  }));
  const entityTypes = [...customEntityTypes, ...builtinEntityTypes].filter(_ref3 => {
    let {
      entityType
    } = _ref3;
    return !entityType.refines && (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_23__.checkEntityTypeInModules)(entityType, activeModuleNames);
  });
  const entityTypeItems = entityTypes.map(_ref4 => {
    let {
      entityType: {
        name,
        label
      },
      typeNlsKey
    } = _ref4;
    return {
      value: name,
      labelMap: label,
      typeNlsKey
    };
  }).sort((itemA, itemB) => {
    if (itemA.typeNlsKey !== itemB.typeNlsKey) return 0;
    const labelA = (0,commons_locale__WEBPACK_IMPORTED_MODULE_17__.localize)(itemA.labelMap);
    const labelB = (0,commons_locale__WEBPACK_IMPORTED_MODULE_17__.localize)(itemB.labelMap);
    if (labelA < labelB) return -1;
    if (labelA > labelB) return 1;
    return 0;
  });
  return [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.ANY_FILTER_ITEM, ...entityTypeItems];
};
const CONTEXT_FILTER = {
  id: 'context-filter',
  type: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.AUTOCOMPLETE,
  headerNlsKey: 'contextFilterLabel',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    if (value === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.ANY) return query;

    // the default query contains a NOT modifier on `context` to exclude users - in
    // principals context - that has to be cleared when a different context is selected
    if (query.modifiers.get('context')) {
      query.modifiers.delete('context');
    }
    return query.context(value);
  }
};
const TYPE_FILTER = {
  id: 'type-filter',
  type: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.AUTOCOMPLETE,
  headerNlsKey: 'typeFilterLabel',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    if (value === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.ANY) return query;
    const selectedEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getEntityTypes().find(entityType => entityType.getName() === value);
    const rdfType = selectedEntityType.getRdfType();

    // the default query contains a NOT modifier on `rdfType` to exclude comments
    // that has to be cleared when a different rdf type is selected
    if (query.modifiers.get('rdfType')) {
      query.modifiers.delete('rdfType');
    }

    // modify query to fetch untitled entries when a type has been selected but
    // no title has been specified
    if (query.params.has('title') && query.params.get('title') === '*') {
      query.params.delete('title');
    }
    query.rdfType(rdfType);
  }
};

/**
 *
 * @param {object} constraints
 * @param {Context} context
 * @returns {string|undefined}
 */
const findOverviewByConstraints = (constraints, context) => {
  const enitityTypeWithOverview = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_9__.findEntityTypeByConstraint)(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getEntityTypes().filter(entityType => entityType.get('overview')), constraints, (0,commons_util_module__WEBPACK_IMPORTED_MODULE_22__.findModuleNameFromContextEntry)(context.getEntry(true)));
  return enitityTypeWithOverview === null || enitityTypeWithOverview === void 0 ? void 0 : enitityTypeWithOverview.get('overview');
};

/**
 *
 * @param {EntityType} entityType
 * @param {Context} context
 * @returns {string|undefined}
 */
const getOverviewName = (entityType, context) => {
  const {
    overview,
    refines,
    module: moduleName
  } = entityType.get();
  if (overview) return overview;
  if (refines) {
    const refinedEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getByName(refines);
    const overviewInRefines = refinedEntityType === null || refinedEntityType === void 0 ? void 0 : refinedEntityType.get('overview');
    if (overviewInRefines) return overviewInRefines;
  }

  // The same overview is always used for custom entities (per module), and for that
  // reason the overview property is likely not provided.
  if (moduleName !== null && moduleName !== void 0 && moduleName.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.WORKBENCH_MODULE)) {
    return workbench_config_config__WEBPACK_IMPORTED_MODULE_19__.WORKBENCH_ENTITY_OVERVIEW_NAME;
  } else if (moduleName !== null && moduleName !== void 0 && moduleName.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.TERMS_MODULE)) {
    return terms_config_config__WEBPACK_IMPORTED_MODULE_20__.TERMS_ENTITY_OVERVIEW_NAME;
  } else if (moduleName !== null && moduleName !== void 0 && moduleName.includes(commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_14__.CATALOG_MODULE)) {
    return catalog_config_config__WEBPACK_IMPORTED_MODULE_21__.CATALOG_ENTITY_OVERVIEW_NAME;
  }

  // In case it's a custom entity type not using refines but there's a matching
  // builtin entity type with an overview property.
  return findOverviewByConstraints(entityType.constraints(), context);
};

/**
 *
 * @returns {string[]}
 */
const getExcludedUris = () => [commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntryURI(commons_util_userIds__WEBPACK_IMPORTED_MODULE_13__.CONTEXT_CONTEXTS, commons_util_userIds__WEBPACK_IMPORTED_MODULE_13__.CONTEXT_ENTRY_ID_PRINCIPALS)];

/**
 * Callback that gets the entity type for each list result/item
 *
 * @param {object} fetchResults
 * @returns {Promise<object[]>} - array of entries with their entity types
 */
const getEntityTypes = async fetchResults => {
  const {
      entries
    } = fetchResults,
    results = _objectWithoutProperties(fetchResults, _excluded);
  // `allSettled` to avoid breaking in case there's an entry with a project type
  // that's missing from configuration
  const callbackResults = await Promise.allSettled(entries.map(entry => {
    if (entry.isContext()) {
      return (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_23__.findEntityTypeForContext)(entry);
    }
    return commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].inUse(entry);
  })).then(settledPromises => settledPromises.map((_ref5, index) => {
    let {
      value: entityType
    } = _ref5;
    return {
      entry: entries[index],
      entityType
    };
  }));
  return _objectSpread({
    entries,
    callbackResults
  }, results);
};

/**
 * Find all composition relations for an entity type.
 *
 * @param {EntityType} entityType
 * @param {string} entityTypeName
 * @returns {object}
 */
const findCompositionRelations = (entityType, entityTypeName) => {
  const relations = entityType.getRelations();
  if (!relations) return [];
  return relations.filter(relation => relation.entityType === entityTypeName && relation.type === 'composition');
};

/**
 * Detect if the entry is dependent on a parent entry by composition relation.
 * If composition relation is found, then query for the parent entry using the
 * composition relation property.
 *
 * @param {Entry} entry
 * @param {string} entityTypeName
 * @returns {Entry|undefined}
 */
const findCompositionParentEntry = async (entry, entityTypeName) => {
  const related = [];
  commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getEntityTypes().forEach(entityType => {
    const relations = findCompositionRelations(entityType, entityTypeName).map(relation => ({
      relation,
      entityType
    }));
    if (relations.length) {
      related.push(...relations);
    }
  });
  if (!related.length) return;
  for (const {
    entityType,
    relation
  } of related) {
    const {
      property
    } = relation;
    const [parentEntry] = await commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.newSolrQuery().context(entry.getContext()).rdfType(entityType.getRdfType()).uriProperty(property, entry.getResourceURI()).getEntries();
    if (parentEntry) return parentEntry;
  }
};

/**
 * Find the overview url for an entry, in case an overview is not defined on the
 * corresponding entity type. The following special cases need to be handled.
 * 1. Entries that are dependent on a parent entry, using useWith. The entry
 *    doesn't have its own overview but should be navigated to the parent
 *    overview instead.
 * 2. Entity types that use generic router and don't have a defined overview
 *    property. In this case, composition relation must also be considered in
 *    similar way as for useWith.
 * 3. Entries that are contexts themselves which can't use entry.getContext.
 *
 * @param {EntityType} entityType
 * @param {string} overviewName
 * @param {Entry} entry
 * @returns {Promise<string>}
 */
const getTo = async (entityType, overviewName, entry) => {
  let entryId = entry.getId();
  const useWith = entityType.useWith();
  if (useWith) {
    const parentEntry = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].findParentEntry(entry);
    entryId = parentEntry.getId();
  }
  // handle composition relation if detected
  if ([workbench_config_config__WEBPACK_IMPORTED_MODULE_19__.WORKBENCH_ENTITY_OVERVIEW_NAME, catalog_config_config__WEBPACK_IMPORTED_MODULE_21__.CATALOG_ENTITY_OVERVIEW_NAME, terms_config_config__WEBPACK_IMPORTED_MODULE_20__.TERMS_ENTITY_OVERVIEW_NAME].includes(overviewName)) {
    const parentEntry = await findCompositionParentEntry(entry, entityType.getName());
    if (parentEntry) {
      entryId = parentEntry.getId();
    }
  }
  const context = entry.isContext() ? entry.getResource(true) : entry.getContext();
  const projectName = await (0,commons_util_module__WEBPACK_IMPORTED_MODULE_22__.getProjectNameFromContext)(context);
  return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_18__.getPathFromViewName)(overviewName, {
    contextId: context.getId(),
    entryId,
    entityName: entityType.get('name'),
    projectName
  });
};

/**
 *
 * @param {Entry} entry
 * @param {EntityType} entityType
 * @returns {boolean}
 */
const getCanAccessOverview = (entry, entityType) => {
  const overviewName = getOverviewName(entityType, entry.getContext());
  return Boolean(overviewName && entry.canAdministerEntry());
};

/***/ },

/***/ "./modules/commons/util/rdfFormat.js"
/*!*******************************************!*\
  !*** ./modules/commons/util/rdfFormat.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   detectAndParse: () => (/* binding */ detectAndParse)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_util_turtle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/turtle */ "./modules/commons/util/turtle.js");
/* harmony import */ var commons_util_jsonld__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/jsonld */ "./modules/commons/util/jsonld.js");





/**
 * Detects and parses RDF, extending `converters.detect` (RDF/XML, RDF/JSON) with
 * Turtle and JSON-LD. Turtle is tried first, then JSON-LD (only when the `jsonld`
 * module is supplied), then `converters.detect` for everything else. Non-string
 * input (a parsed RDF/JSON object or Graph) is delegated straight to
 * `converters.detect`.
 *
 * @param {string|object} rdf
 * @param {object} [options]
 * @param {object} [options.N3] the lazily-loaded `n3` module (required for Turtle/JSON-LD).
 * @param {object} [options.jsonld] the lazily-loaded `jsonld` module (required for JSON-LD).
 * @param {string} [options.filename]
 * @returns {Promise<{graph?: object, format?: string, error?: string, errorCode?: number}>}
 */
const detectAndParse = async function detectAndParse(rdf) {
  let {
    N3,
    jsonld,
    filename = ''
  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  if (typeof rdf === 'string') {
    if ((0,commons_util_turtle__WEBPACK_IMPORTED_MODULE_2__.isTurtleFormat)(rdf, filename)) {
      try {
        return {
          graph: await (0,commons_util_turtle__WEBPACK_IMPORTED_MODULE_2__.turtleToGraph)(N3, rdf),
          format: 'turtle'
        };
      } catch (error) {
        return {
          error: error.message,
          format: 'turtle'
        };
      }
    }
    if (jsonld && (0,commons_util_jsonld__WEBPACK_IMPORTED_MODULE_3__.isJsonldFormat)(rdf, filename)) {
      try {
        return {
          graph: await (0,commons_util_jsonld__WEBPACK_IMPORTED_MODULE_3__.jsonldToGraph)(jsonld, N3, rdf),
          format: 'jsonld'
        };
      } catch (error) {
        return {
          error: error.message,
          format: 'jsonld'
        };
      }
    }
  }
  return _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.converters.detect(rdf);
};

/***/ },

/***/ "./modules/commons/util/rdfUtils.js"
/*!******************************************!*\
  !*** ./modules/commons/util/rdfUtils.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAllMetadata: () => (/* binding */ getAllMetadata),
/* harmony export */   getDescription: () => (/* binding */ getDescription),
/* harmony export */   getDescriptionMap: () => (/* binding */ getDescriptionMap),
/* harmony export */   getFullLengthLabel: () => (/* binding */ getFullLengthLabel),
/* harmony export */   getLabel: () => (/* binding */ getLabel),
/* harmony export */   getLabelMap: () => (/* binding */ getLabelMap),
/* harmony export */   getLocalMetadata: () => (/* binding */ getLocalMetadata),
/* harmony export */   getLocalizedValue: () => (/* binding */ getLocalizedValue),
/* harmony export */   getLocalizedValues: () => (/* binding */ getLocalizedValues),
/* harmony export */   getRenderName: () => (/* binding */ getRenderName),
/* harmony export */   setDescriptionProperties: () => (/* binding */ setDescriptionProperties),
/* harmony export */   setLabelProperties: () => (/* binding */ setLabelProperties)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.from-entries.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.from-entries.js");
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");









/**
 * Returns the graph and resource URI whether the first param is an Entry or Graph.
 *
 * Using getAllMetadata to merge both local and external graphs, avoiding precedence
 * issues e.g. between labels. Without merging the graphs, getLabel (which uses fixEoG)
 * would return the altLabel if there was one in the local metadata while only having
 * a prefLabel on the external e.g. from an enhanced-only concept.
 *
 * @param {Entry|Graph} entryOrGraph
 * @param {string} uri
 * @returns {object}
 */
const fixEoG = (entryOrGraph, uri) => {
  const isGraph = Boolean(entryOrGraph.exportRDFJSON);
  if (isGraph) return {
    g: entryOrGraph,
    r: uri
  };

  // eslint-disable-next-line no-use-before-define
  return {
    g: getAllMetadata(entryOrGraph),
    r: entryOrGraph.getResourceURI()
  };
};
let labelProperties = [];
let descriptionProperties = [];
const setLabelProperties = arr => {
  labelProperties = arr;
};
const setDescriptionProperties = arr => {
  descriptionProperties = arr;
};

/**
 * Returns the label of an entry or graph, truncating it if necessary
 *
 * @param {Entry|Graph} entryOrGraph
 * @param {string} uri
 * @param {object} properties
 * @returns {string}
 */
const getLabel = function getLabel(entryOrGraph, uri) {
  let properties = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : labelProperties;
  const {
    g: graph,
    r: resourceURI
  } = fixEoG(entryOrGraph, uri);
  const label = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedValue(_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedMap(graph, resourceURI, properties)).value;
  return (0,commons_util_util__WEBPACK_IMPORTED_MODULE_7__.truncate)(label);
};

/**
 * Returns the label of an entry or graph, without truncation
 *
 * @param {Entry|Graph} entryOrGraph
 * @param {string} uri
 * @param {[]} properties
 * @returns {string}
 */
const getFullLengthLabel = function getFullLengthLabel(entryOrGraph, uri) {
  let properties = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : labelProperties;
  const {
    g: graph,
    r: resourceURI
  } = fixEoG(entryOrGraph, uri);
  const label = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedValue(_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedMap(graph, resourceURI, properties)).value;
  return label;
};
const getLabelMap = (eog, uri) => {
  const {
    g,
    r
  } = fixEoG(eog, uri);
  return _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedMap(g, r, labelProperties) || {};
};
const getDescription = (eog, uri) => {
  const {
    g,
    r
  } = fixEoG(eog, uri);
  return _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedValue(_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedMap(g, r, descriptionProperties)).value;
};
const getDescriptionMap = (eog, uri) => {
  const {
    g,
    r
  } = fixEoG(eog, uri);
  return _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedMap(g, r, descriptionProperties) || {};
};
const getRenderName = entry => {
  var _entry$getResource, _entry$getResource$ge;
  return getLabel(entry) || ((_entry$getResource = entry.getResource(true)) === null || _entry$getResource === void 0 || (_entry$getResource$ge = _entry$getResource.getName) === null || _entry$getResource$ge === void 0 ? void 0 : _entry$getResource$ge.call(_entry$getResource)) || entry.getEntryInfo().getName();
};

/**
 *
 * @param {Entry|Graph} entryOrGraph
 * @param {string} uri
 * @param {string[]} properties
 * @returns {string}
 */
const getLocalizedValue = (entryOrGraph, uri, properties) => {
  const {
    g: graph,
    r: resourceURI
  } = fixEoG(entryOrGraph, uri);
  return _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedValue(_entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedMap(graph, resourceURI, properties)).value;
};

/**
 * Returns all values for the given properties in the best-matching language
 * (user locale, coarsened locale, 'en', no-lang, or any) using the same
 * fallback order as rdforms' getLocalizedValue. Unlike getLocalizedValue,
 * this preserves multiple statements in the same language.
 *
 * @param {Entry|Graph} entryOrGraph
 * @param {string} uri
 * @param {string[]} properties
 * @returns {string[]}
 */
const getLocalizedValues = (entryOrGraph, uri, properties) => {
  const {
    g: graph,
    r: resourceURI
  } = fixEoG(entryOrGraph, uri);
  const valuesByLang = {};
  properties.forEach(prop => {
    graph.find(resourceURI, prop).forEach(stmt => {
      const lang = stmt.getLanguage() || '';
      if (!valuesByLang[lang]) valuesByLang[lang] = [];
      valuesByLang[lang].push(stmt.getValue());
    });
  });
  const langs = Object.keys(valuesByLang);
  if (langs.length === 0) return [];
  const placeholder = Object.fromEntries(langs.map(l => [l, true]));
  const {
    lang
  } = _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_4__.utils.getLocalizedValue(placeholder);
  return valuesByLang[lang] || [];
};

/**
 * Gets a graph with both the local and external metadata of an entry.
 *
 * @param {Entry} entry
 * @returns {Graph}
 */
const getAllMetadata = entry => {
  const metadata = entry.getMetadata();

  // If the entry is NOT a reference, get the local metadata graph
  if (!entry.isReference() && !entry.isLinkReference()) return metadata;

  // If the local metadata graph is empty, get the cached external metadata graph
  if (metadata.isEmpty()) return entry.getCachedExternalMetadata();

  // If the entry has both local and cached external metadata, get a graph with both
  const graph = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.Graph(metadata.exportRDFJSON());
  graph.addAll(entry.getCachedExternalMetadata(), 'external');
  return graph;
};

/**
 * To be used in conjunction with getAllMetadata. Removes the cached external
 * metadata from the graph, i.e. all statements that have named graphs given.
 *
 * @param {Graph} graph the graph with potential mix of local and external metadata
 * @param {Entry} entry optional, if provided we check if it is a link reference or reference,
 * if not we assume we do not need to clean the graph
 * @returns {Graph}
 */
const getLocalMetadata = (graph, entry) => {
  if (entry && !entry.isLinkReference() && !entry.isReference()) return graph;
  const localMetadataGraph = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.Graph();
  graph.find().forEach(statement => {
    if (!statement.getNamedGraph()) {
      localMetadataGraph.add(statement);
    }
  });
  return localMetadataGraph;
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => {
  setLabelProperties(config__WEBPACK_IMPORTED_MODULE_6__["default"].get('rdf.labelProperties'));
  setDescriptionProperties(config__WEBPACK_IMPORTED_MODULE_6__["default"].get('rdf.descriptionProperties'));
});

/***/ },

/***/ "./modules/commons/util/reactUtils.js"
/*!********************************************!*\
  !*** ./modules/commons/util/reactUtils.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   parseTemplate: () => (/* binding */ parseTemplate),
/* harmony export */   renderHtmlString: () => (/* binding */ renderHtmlString)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);



const renderHtmlString = htmlString => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("span", {
  dangerouslySetInnerHTML: {
    __html: htmlString
  }
});

/**
 * Parses a template string into an array that can be rendered byr React. The
 * parser replaces placeholders, by matching keys of the properties object.
 *
 * @param {string} template
 * @param {object} properties
 * @returns {any[]}
 */
const parseTemplate = (template, properties) => {
  const regex = /\$\{(\w+)\}|\$(\d+)/g; // match both $ and ${} placeholders
  const parts = [];
  let lastIndex = 0;
  template.replace(regex, function (match) {
    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      args[_key - 1] = arguments[_key];
    }
    const index = args[args.length - 2]; // `index` is always second last argument

    // add text preceeding the match
    if (index > lastIndex) {
      parts.push(template.slice(lastIndex, index));
    }

    // find the first value capturing group for the match
    const key = args.slice(0, -2).find(group => group !== undefined);
    if (properties[key]) {
      parts.push(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), {
        key: key
      }, properties[key]));
    } else {
      parts.push(match); // Keep unmatched as is
    }
    lastIndex = index + match.length;
  });

  // remaining text after the last match
  if (lastIndex < template.length) {
    parts.push(template.slice(lastIndex));
  }
  return parts;
};

/***/ },

/***/ "./modules/commons/util/script.js"
/*!****************************************!*\
  !*** ./modules/commons/util/script.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   affixScriptToHead: () => (/* binding */ affixScriptToHead),
/* harmony export */   loadExtras: () => (/* binding */ loadExtras)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);


/**
 * Add script tag as last child of document.head
 * @param url
 */
const affixScriptToHead = url => {
  const newScript = document.createElement('script');
  document.head.appendChild(newScript);
  newScript.src = url;
};

/**
 * Convert any extra script configuration into an array of relative URLs
 * @return {string[]}
 * @todo remove boolean and string option
 * @todo getBaseUrl instead of /theme...
 */
const getExtrasScriptURLs = extrasConfig => {
  let extras = [];
  if (Array.isArray(extrasConfig)) {
    extras = extrasConfig.map(extra => `/theme/extras/${extra.endsWith('.js') ? extra : `${extra}.js`}`);
  } else if (extrasConfig === true) {
    extras = ['/theme/extras.js'];
  } else if (typeof extrasConfig === 'string') {
    extras = [`/theme/extras/${extrasConfig.endsWith('.js') ? extrasConfig : `${extrasConfig}.js`}`];
  }
  return extras;
};

/**
 * Load all extra scripts if there are any
 *
 * @param extrasConfig
 */
const loadExtras = extrasConfig => getExtrasScriptURLs(extrasConfig).forEach(affixScriptToHead);


/***/ },

/***/ "./modules/commons/util/site.js"
/*!**************************************!*\
  !*** ./modules/commons/util/site.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   checkHasViewPermission: () => (/* binding */ checkHasViewPermission),
/* harmony export */   filterViewsByAttribute: () => (/* binding */ filterViewsByAttribute),
/* harmony export */   getBreadcrumbViews: () => (/* binding */ _getBreadcrumbViews),
/* harmony export */   getCurrentViewName: () => (/* binding */ getCurrentViewName),
/* harmony export */   getCustomEntityTypes: () => (/* binding */ getCustomEntityTypes),
/* harmony export */   getModuleNameOfCurrentView: () => (/* binding */ getModuleNameOfCurrentView),
/* harmony export */   getModuleOfView: () => (/* binding */ getModuleOfView),
/* harmony export */   getNrOfParamsInRoute: () => (/* binding */ getNrOfParamsInRoute),
/* harmony export */   getParentPathFromViewName: () => (/* binding */ getParentPathFromViewName),
/* harmony export */   getParentViewName: () => (/* binding */ getParentViewName),
/* harmony export */   getPathFromViewName: () => (/* binding */ getPathFromViewName),
/* harmony export */   getRouteFromView: () => (/* binding */ getRouteFromView),
/* harmony export */   getSecondaryNavViews: () => (/* binding */ getSecondaryNavViews),
/* harmony export */   getSecondaryNavViewsFromEntityTypes: () => (/* binding */ getSecondaryNavViewsFromEntityTypes),
/* harmony export */   getSubviewsOfView: () => (/* binding */ _getSubviewsOfView),
/* harmony export */   getTopLevelViewsByRoute: () => (/* binding */ getTopLevelViewsByRoute),
/* harmony export */   getTopViewsOfModule: () => (/* binding */ getTopViewsOfModule),
/* harmony export */   getViewDefFromName: () => (/* binding */ getViewDefFromName),
/* harmony export */   getViewDefFromRoute: () => (/* binding */ getViewDefFromRoute),
/* harmony export */   getViewTitleFromName: () => (/* binding */ getViewTitleFromName),
/* harmony export */   isModuleTableViewEnabled: () => (/* binding */ isModuleTableViewEnabled),
/* harmony export */   modulesToNavProps: () => (/* binding */ modulesToNavProps)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/@remix-run+router@1.23.3/node_modules/@remix-run/router/dist/router.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useUserPermission */ "./modules/commons/hooks/useUserPermission.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



















/**
 *
 * @returns {string}
 */
const getCurrentViewName = () => {
  return commons_registry__WEBPACK_IMPORTED_MODULE_12__["default"].getCurrentView();
};

/**
 *
 * @param {string} viewName
 * @returns {object} viewDef
 */
const getViewDefFromName = viewName => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.views').find(_ref => {
  let {
    name
  } = _ref;
  return viewName === name;
});

/**
 *
 * @param {string} viewName
 * @returns {object|undefined}
 */
const getViewTitleFromName = viewName => {
  const view = getViewDefFromName(viewName);
  return view === null || view === void 0 ? void 0 : view.title;
};

/**
 *
 * @param {string} routeStr
 * @returns {object} viewDef
 */
const getViewDefFromRoute = routeStr => config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.views').find(_ref2 => {
  let {
    route
  } = _ref2;
  return route === routeStr;
});

/**
 * Find the route from a view.
 *
 * @param {string} viewName
 * @returns {string|null|undefined}
 */
const getRouteFromView = viewName => {
  const viewDef = getViewDefFromName(viewName);
  if (!viewDef) return;
  return viewDef.route;
};

/**
 * Get the top level view for each module. Usually to be rendered in the left sidebar
 *
 * @param {*} module
 * @returns {object[]}
 */
const getTopViewsOfModule = function getTopViewsOfModule() {
  let module = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  const modulesDef = module ? [module] : config__WEBPACK_IMPORTED_MODULE_8__["default"].get('modules');

  /**
   * For each module get the views that are top level (i.e don't have a parent)
   *
   * @type {Array}
   */
  return modulesDef.map(_ref3 => {
    let {
      name
    } = _ref3;
    return config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.views').filter(_ref4 => {
      let {
        module: moduleName,
        parent
      } = _ref4;
      return moduleName === name && !parent;
    });
  });
};

/**
 * Find in which module a certain view belongs.
 * Some views belong to no module, e.g start view
 *
 * @param {object|string} view
 * @returns {object|null}
 */
const getModuleOfView = view => {
  let moduleName;
  if (typeof view === 'object') {
    moduleName = view.module;
  } else {
    const viewDef = getViewDefFromName(view);
    moduleName = (viewDef === null || viewDef === void 0 ? void 0 : viewDef.module) || '';
  }
  return config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.modules').find(_ref5 => {
    let {
      name
    } = _ref5;
    return name === moduleName;
  }) || null;
};

/**
 *
 * @returns {string|undefined}
 */
const getModuleNameOfCurrentView = () => {
  const currentView = commons_registry__WEBPACK_IMPORTED_MODULE_12__["default"].getCurrentView();
  const viewDefinition = getViewDefFromName(currentView);
  return viewDefinition ? viewDefinition.module : undefined;
};

/**
 * Whether the table view is enabled for the given module via its
 * `<module>.includeTableView` config flag.
 *
 * @param {string} [moduleName]
 * @returns {boolean}
 */
const isModuleTableViewEnabled = moduleName => Boolean(moduleName) && Boolean(config__WEBPACK_IMPORTED_MODULE_8__["default"].get(`${moduleName}.includeTableView`));

/**
 * Get all subviews that have a given view as parent. Use recursive for more than one level deep.
 *
 * @param {string} viewName
 * @param {boolean} recursive - defaults to false
 * @returns {Array}
 */
const _getSubviewsOfView = function getSubviewsOfView(viewName) {
  let recursive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  const views = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('site.views').filter(_ref6 => {
    let {
      parent,
      navbar
    } = _ref6;
    return parent === viewName && navbar !== false;
  });
  return recursive && views.length > 0 ? views.concat(views.map(_getSubviewsOfView)) : views;
};

/**
 * Top level means anything one level below the starting view level
 *
 * @param {string} matchedRoute
 * @returns {object[]}
 */

const getTopLevelViewsByRoute = matchedRoute => {
  const viewDef = getViewDefFromRoute(matchedRoute);
  if (!viewDef.parent) {
    return [];
  }
  const {
    startView
  } = getModuleOfView(viewDef);
  return _getSubviewsOfView(startView);
};
const _getBreadcrumbViews = function getBreadcrumbViews(_ref7) {
  let {
    parent,
    name
  } = _ref7;
  let arr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  if (parent) {
    const parentView = getViewDefFromName(parent);
    _getBreadcrumbViews(parentView, arr);
  }
  arr.push(name);
  return arr;
};

/**
 * Get only the views that have a certain truthy value of a property,
 * e.g filterViewsByAttribute([], 'navbar');
 *
 * @param {object[]} views
 * @param {string } filter
 * @returns {object[]}
 */

const filterViewsByAttribute = (views, filter) => views.filter(v => filter in v ? v[filter] : true);

/**
 *
 * @param {string} viewName
 * @param {object} params
 * @returns {string} materialized path
 */
const getPathFromViewName = function getPathFromViewName(viewName) {
  let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  return (0,react_router_dom__WEBPACK_IMPORTED_MODULE_11__.generatePath)(getRouteFromView(viewName), params);
};

/**
 *
 * @param {string} viewName
 * @param {object} params
 * @returns {string} materialized path
 */
const getParentPathFromViewName = function getParentPathFromViewName(viewName) {
  let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const viewDefinition = getViewDefFromName(viewName);
  return getPathFromViewName(viewDefinition === null || viewDefinition === void 0 ? void 0 : viewDefinition.parent, params);
};

/**
 *
 * @param {string} viewName
 * @returns {string|undefined}
 */
const getParentViewName = viewName => {
  const viewDefinition = getViewDefFromName(viewName);
  return viewDefinition === null || viewDefinition === void 0 ? void 0 : viewDefinition.parent;
};

/**
 *
 * @param {string} route
 * @returns {number} 0|1|2
 */
const getNrOfParamsInRoute = route => route.startsWith('http') ? 0 : (route.match(/:/g) || []).length;

/**
 * Basic check for view rights
 *
 * @param {string} userPermission
 * @param {string} restrictTo
 * @returns {boolean}
 */
const genericCheckPermission = (userPermission, restrictTo) => {
  if (restrictTo === commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_16__.GUEST_PERMISSION) return true;
  if (restrictTo === userPermission) return true;
  if (restrictTo === commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_16__.ADMIN_PERMISSION && userPermission === commons_hooks_useUserPermission__WEBPACK_IMPORTED_MODULE_16__.ADV_ADMIN_PERMISSION) {
    return true;
  }
  return false;
};

/**
 * Check for sufficient view rights
 *
 * @param {string} userPermission
 * @param {string} restrictTo
 * @param {object} module - module definition
 * @returns {boolean}
 */
const checkHasViewPermission = (userPermission, restrictTo, module) => {
  if (!restrictTo) return true;
  const hasPermission = genericCheckPermission(userPermission, restrictTo);
  const moduleCheckPermission = module === null || module === void 0 ? void 0 : module.checkPermission;
  if (!moduleCheckPermission) return hasPermission;
  return moduleCheckPermission(userPermission, restrictTo, hasPermission);
};

/**
 *
 * @param {string} matchedRoute
 * @returns {object[]}
 */
const getSecondaryNavViews = matchedRoute => {
  const viewDef = getViewDefFromRoute(matchedRoute);
  const topLevelViews = getTopLevelViewsByRoute(matchedRoute);

  /**
   * We don't want to use the module's startView for the dataset preview,
   * which is the only child of 'catalog__datasets__dataset'
   */
  const hasSpecialTreatment = ['catalog__datasets__dataset'];
  const secondaryNavViews = hasSpecialTreatment.includes(viewDef.parent) ? _getSubviewsOfView(viewDef.parent) : topLevelViews.filter(v => v.navbar !== false);
  return secondaryNavViews;
};

/**
 * Matches entity types saved in context with available entity types. If entity
 * types are saved in context, all other available entity types should be
 * excluded. An exception is made for refined types e.g. dataset if geodataset is included.
 *
 * @param {Context} context
 * @returns {Promise<EntityType[]>}
 */
const getEntityTypesToExclude = async context => {
  const entityTypesInContext = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_14__["default"].getPrimaryInContext(context);

  // if empty, project type is not used
  if (!entityTypesInContext.length) return;
  const projectType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_14__["default"].getProjectTypeInUse(context, true);
  const userInfo = await commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getUserInfo();
  const moduleName = getModuleNameOfCurrentView();
  const builtinEntityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__.getBuiltinEntityTypes)(userInfo, moduleName);
  const entityTypes = projectType !== null && projectType !== void 0 && projectType.getIncludeBuiltins() ? builtinEntityTypes : entityTypesInContext;
  const typesIncludingRefined = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__.getEntityTypesIncludingRefined)(entityTypes);
  const availableEntityTypes = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_14__["default"].getEntityTypes();
  return availableEntityTypes.filter(entityType => !typesIncludingRefined.includes(entityType));
};

/**
 * Exclude views that should be hidden based on entity types. Assumes site views and
 * entity types are named in consistent way.
 * For example if a view is named models__fields, the entity type name should be
 * fields, to be considered in the enity type matching.
 *
 * @param {object[]} secondaryNavViews
 * @param {EntityType[]} entityTypesToExlude
 * @returns {object[]}
 */
const filterViewsOnEntitytypes = (secondaryNavViews, entityTypesToExlude) => {
  if (!entityTypesToExlude) return secondaryNavViews;
  return secondaryNavViews.filter(_ref8 => {
    let {
      name
    } = _ref8;
    return !entityTypesToExlude.find(entityType => entityType.get('listview') === name);
  });
};

/**
 * Maps entity types to view objects
 *
 * @param {EntityType[]} entityTypes
 * @param {string} contextId
 * @param {string} viewName
 * @returns {Array<object>}
 */
const mapEntityTypesToViews = (entityTypes, contextId, viewName) => entityTypes.map(entityType => ({
  name: viewName,
  title: entityType.get('label'),
  route: getPathFromViewName(viewName, {
    contextId,
    entityName: entityType.get('name')
  }),
  count: entityType.get('count'),
  main: entityType.get('main')
}));
const getCustomEntityTypes = async projectType => {
  const primaryEntityTypes = projectType.getPrimary().map(id => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_14__["default"].get(id));
  const userInfo = await commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getUserInfo();
  const moduleName = getModuleNameOfCurrentView();
  const builtinEntityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_15__.getBuiltinEntityTypes)(userInfo, moduleName);
  return primaryEntityTypes.filter(entityType => !builtinEntityTypes.includes(entityType) && !entityType.get('refines'));
};

/**
 * Get avaiable secondary nav views. Exclude views that should not be available
 * based on entity and project type.
 *
 * @param {string} path
 * @param {*} routeParams
 * @returns {Promise<object[]>}
 */
const getSecondaryNavViewsFromEntityTypes = async function getSecondaryNavViewsFromEntityTypes(path) {
  let {
    contextId
  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  if (!contextId) return getSecondaryNavViews(path);
  const context = commons_store__WEBPACK_IMPORTED_MODULE_13__.entrystore.getContextById(contextId);
  const entityTypesToExlude = await getEntityTypesToExclude(context);
  const secondaryNavViews = getSecondaryNavViews(path);
  const views = filterViewsOnEntitytypes(secondaryNavViews, entityTypesToExlude);
  const placeholderViewName = `${getModuleNameOfCurrentView()}__entities__type`;
  const projectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_14__["default"].getProjectTypeInUse(context);
  if (!projectType) return views.filter(view => view.name !== placeholderViewName);
  const customEntityTypes = await getCustomEntityTypes(projectType);
  if (customEntityTypes.length === 0) return views.filter(view => view.name !== placeholderViewName);
  const customEntityTypeViews = mapEntityTypesToViews(customEntityTypes, contextId, placeholderViewName);
  return views.map(view => view.name === placeholderViewName ? customEntityTypeViews : view).flat();
};

/**
 * Converts module definitions to navigation component props.
 *
 * @param {object[]} modules
 * @returns {object[]}
 */
const modulesToNavProps = modules => {
  return modules.map(moduleDefinition => {
    const {
      name,
      text,
      productName,
      title,
      startView
    } = moduleDefinition;
    const label = (0,commons_locale__WEBPACK_IMPORTED_MODULE_17__.localize)(productName || title);
    const route = getRouteFromView(startView);
    const isExternal = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__.isUri)(route);
    const path = isExternal ? route : (0,react_router_dom__WEBPACK_IMPORTED_MODULE_11__.generatePath)(route, {
      projectName: name
    });
    return _objectSpread(_objectSpread({}, moduleDefinition), {}, {
      name,
      label,
      tooltip: `EntryScape ${label}`,
      text: (0,commons_locale__WEBPACK_IMPORTED_MODULE_17__.localize)(text),
      path,
      isExternal
    });
  });
};

/***/ },

/***/ "./modules/commons/util/sleep.js"
/*!***************************************!*\
  !*** ./modules/commons/util/sleep.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);

/**
 * @param {number} milliseconds
 * @return {promise}
 */
const sleep = milliseconds => new Promise(resolve => setTimeout(resolve, milliseconds));
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (sleep);

/***/ },

/***/ "./modules/commons/util/solr/context.js"
/*!**********************************************!*\
  !*** ./modules/commons/util/solr/context.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyContextParamsForAdmin: () => (/* binding */ applyContextParamsForAdmin),
/* harmony export */   applyContextParamsForUser: () => (/* binding */ applyContextParamsForUser),
/* harmony export */   getContextSearchQuery: () => (/* binding */ getContextSearchQuery),
/* harmony export */   getSearchQuery: () => (/* binding */ getSearchQuery)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/chunk.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/uniqBy.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../context */ "./modules/commons/util/context.js");
/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./entry */ "./modules/commons/util/solr/entry.js");












/**
 * Maximum number of group resource URIs to put in a single resourceWrite ACL
 * clause. Users in many groups would otherwise produce a single oversized GET
 * URL that the backend rejects (HTTP 431). Mirrors the batch size used by
 * entrystore-js EntryStoreUtil.loadEntriesByResourceURIs for the same reason.
 */
const RESOURCE_WRITE_BATCH_SIZE = 20;
const mapEntriesToIds = entries => entries.map(entry => entry.getId());

/**
 * Provides a query and an execution plan (fetching the actual entries)
 *
 * @param {*} userEntry
 * @param {*} rdfType
 * @param {*} contextType
 * @returns {[SolrQuery , function]}
 */
const getContextQueryForUser = (userEntry, rdfType, contextType) => {
  // #region Query formulator
  const groupRURIs = (0,_context__WEBPACK_IMPORTED_MODULE_10__.getUserEntryParentGroupsRURIs)(userEntry);
  const query = commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_CONTEXT).resourceWrite(groupRURIs);
  if (contextType) {
    query.rdfType(contextType);
  }
  // #endregion

  // #region Query execution function
  /**
   *
   * @param {SolrQuery} solrQuery
   * @returns {Promise.<{entries: Entry[], size: number}>}
   */
  const fetchContextEntries = async solrQuery => {
    const searchList = solrQuery.list();
    const entries = await searchList.getAllEntries().then(mapEntriesToIds).then(contextIds => (0,_context__WEBPACK_IMPORTED_MODULE_10__.getEntriesByTypeForContextIds)(contextIds, rdfType));
    return {
      entries,
      size: searchList.getSize()
    };
  };
  // #endregion

  return [query, fetchContextEntries];
};

/**
 *
 * rdfType refers to rdf:type
 *
 * @param {{rdfType: 'string', contextType: 'string', graphType: 'string'}} param0
 * @param {{userEntry: Entry, userInfo: object}} param1
 * @param store
 */
const getSearchQuery = function getSearchQuery(_ref, _ref2) {
  let {
    rdfType,
    contextType,
    graphType
  } = _ref;
  let {
    userEntry,
    userInfo
  } = _ref2;
  let store = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore;
  /**
   * Users with non admin priviledges have a slightly more complicated
   * query and execution as first we need to fetch the contexts
   * with the right acl. See getContextQueryForUser
   */
  if (!userInfo.hasAdminRights) {
    return getContextQueryForUser(userEntry, rdfType, contextType);
  }
  const query = store.newSolrQuery();
  if (rdfType) {
    query.rdfType(rdfType);
  } else if (graphType === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_PIPELINE) {
    query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_PIPELINE);
  } else {
    query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_CONTEXT).rdfType(contextType);
  }
  return [query, _entry__WEBPACK_IMPORTED_MODULE_11__.simpleFetchEntries];
};

/**
 * Builds a runQuery that fetches matching context entries across one or more
 * (batched) queries, de-duplicates the contexts by id, then resolves the
 * requested entry type within each context. Batching the queries keeps each
 * request URL small for users that can write through many groups.
 *
 * @param {string} rdfType
 * @returns {(solrQueries: object[]) => Promise<{entries: object[], size: number}>}
 */
const getFetchContextEntries = rdfType => async solrQueries => {
  const contextEntriesPerQuery = await Promise.all(solrQueries.map(query => query.list().getAllEntries()));
  const contextEntries = (0,lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"])(contextEntriesPerQuery.flat(), entry => entry.getId());
  const entries = await (0,_context__WEBPACK_IMPORTED_MODULE_10__.getEntriesByTypeForContextIds)(mapEntriesToIds(contextEntries), rdfType);
  return {
    entries,
    size: contextEntries.length
  };
};

/**
 *
 * @param {object} query
 * @param {*} queryParams
 * @returns {object}
 */
const applyContextParamsForUser = (query, _ref3) => {
  let {
    userEntry,
    contextType
  } = _ref3;
  const groupRURIs = (0,_context__WEBPACK_IMPORTED_MODULE_10__.getUserEntryParentGroupsRURIs)(userEntry);
  query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_CONTEXT).resourceWrite(groupRURIs);
  if (contextType) {
    query.rdfType(contextType);
  }
  return query;
};

/**
 *
 * @param {object} query
 * @param {*} queryParams
 * @returns {object}
 */
const applyContextParamsForAdmin = (query, _ref4) => {
  let {
    rdfType,
    contextType,
    graphType
  } = _ref4;
  if (rdfType) {
    query.rdfType(rdfType);
  } else if (graphType === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_PIPELINE) {
    query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_PIPELINE);
  } else {
    query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_CONTEXT).rdfType(contextType);
  }
  return query;
};

/**
 *
 * @param {*} queryParams
 * @param {*} userParams
 * @param {object} store
 * @returns {object}
 */
const getContextSearchQuery = function getContextSearchQuery(_ref5, _ref6) {
  let {
    rdfType,
    contextType,
    graphType,
    projectName
  } = _ref5;
  let {
    userEntry,
    userInfo
  } = _ref6;
  let store = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore;
  const isAdmin = userInfo.hasAdminRights;
  const runQuery = isAdmin ? _entry__WEBPACK_IMPORTED_MODULE_11__.simpleFetchEntries : getFetchContextEntries(rdfType);
  const getProjectTypeId = () => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__["default"].getProjectTypes().find(projectType => projectType.source.name === projectName).getId();

  // Admins use a single query with no per-principal ACL clause.
  const createAdminQuery = () => {
    const query = store.newSolrQuery();
    applyContextParamsForAdmin(query, {
      rdfType,
      contextType,
      graphType
    });
    if (projectName) {
      query.projectType(getProjectTypeId());
    }
    return query;
  };

  // Non-admins filter contexts by resourceWrite against every group they can
  // write through. Split the group resource URIs into batches and build one
  // query per batch so the request URL stays small regardless of how many
  // groups the user belongs to. getFetchContextEntries merges the results.
  const createUserQueries = () => {
    const groupRURIs = (0,_context__WEBPACK_IMPORTED_MODULE_10__.getUserEntryParentGroupsRURIs)(userEntry);
    const projectTypeId = projectName ? getProjectTypeId() : null;
    return (0,lodash_es__WEBPACK_IMPORTED_MODULE_5__["default"])(groupRURIs, RESOURCE_WRITE_BATCH_SIZE).map(batch => {
      const query = store.newSolrQuery().graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__.types.GT_CONTEXT).resourceWrite(batch);
      if (contextType) {
        query.rdfType(contextType);
      }
      if (projectTypeId) {
        query.projectType(projectTypeId);
      }
      return query;
    });
  };
  const createQuery = isAdmin ? createAdminQuery : createUserQueries;
  return {
    createQuery,
    runQuery
  };
};


/***/ },

/***/ "./modules/commons/util/solr/entry.js"
/*!********************************************!*\
  !*** ./modules/commons/util/solr/entry.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getSearchQuery: () => (/* binding */ getSearchQuery),
/* harmony export */   multiListFetchEntries: () => (/* binding */ multiListFetchEntries),
/* harmony export */   simpleFetchEntries: () => (/* binding */ simpleFetchEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_store_MultiList__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/store/MultiList */ "./modules/commons/store/MultiList.js");






/**
 * Fetches a page of entries from a Solr query, correcting the reported size
 * when the search returns negative or inconsistent counts.
 *
 * @param {object} query - A Solr query
 * @param {number} page
 * @returns {Promise<{entries: object[], size: number}>}
 */
const simpleFetchEntries = async (query, page) => {
  const searchList = query.list();
  const limit = searchList.getLimit();
  const entries = await searchList.getEntries(page);
  let actualSize = searchList.getSize();
  // Search returns negative results sometimes
  if (entries.length < limit || actualSize < 0) {
    actualSize = page * limit + entries.length;
  }
  return {
    entries,
    size: actualSize
  };
};

/**
 * Fetches a page of entries spanning multiple Solr queries combined into a
 * single paginated list. All list sizes are pre-fetched in parallel so the
 * total count stays stable across pages.
 *
 * @param {object[]} queries - Queries to combine
 * @param {number} page
 * @returns {Promise<{entries: object[], size: number}>}
 */
const multiListFetchEntries = async (queries, page) => {
  const lists = queries.map(multiListQuery => multiListQuery.list());
  const sizes = await Promise.all(lists.map(list => list.getEntries(0).then(() => list.getSize())));
  const searchList = new commons_store_MultiList__WEBPACK_IMPORTED_MODULE_4__["default"]({
    limit: 10,
    lists,
    sizes
  });
  return {
    entries: await searchList.getEntries(page),
    size: searchList.getSize()
  };
};

/**
 * Creates a Solr query with the given entry filters.
 *
 * @param {object} params
 * @param {string} [params.entryType] - EntryStore entry type (e.g. ET_LOCAL)
 * @param {string} [params.graphType] - EntryStore graph type
 * @param {string} [params.resourceType] - EntryStore resource type
 * @param {string} [params.rdfType] - RDF type
 * @returns {[object, function]}
 */
const getSearchQuery = _ref => {
  let {
    entryType,
    graphType,
    resourceType,
    rdfType
  } = _ref;
  const query = commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.newSolrQuery();
  if (rdfType) {
    query.rdfType(rdfType);
  }
  if (entryType) {
    query.entryType(entryType);
  }
  if (graphType) {
    query.graphType(graphType);
  }
  if (resourceType) {
    query.resourceType(resourceType);
  }
  return [query, simpleFetchEntries];
};

/***/ },

/***/ "./modules/commons/util/solr/index.js"
/*!********************************************!*\
  !*** ./modules/commons/util/solr/index.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   applyEntityTypeParams: () => (/* binding */ applyEntityTypeParams),
/* harmony export */   applyQueryParams: () => (/* binding */ applyQueryParams),
/* harmony export */   applyTitleOrContextnameParams: () => (/* binding */ applyTitleOrContextnameParams),
/* harmony export */   applyTitleOrUsernameParams: () => (/* binding */ applyTitleOrUsernameParams),
/* harmony export */   createSortString: () => (/* binding */ createSortString),
/* harmony export */   defaultQueryParams: () => (/* binding */ defaultQueryParams),
/* harmony export */   escapeSolrStrings: () => (/* binding */ escapeSolrStrings),
/* harmony export */   excludeGuestAndAdmin: () => (/* binding */ excludeGuestAndAdmin)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");













const SOLR_STRINGS_TO_ESCAPE = ['AND', 'OR'];

/**
 *
 * @param {string} search
 * @returns {string}
 */
const escapeSolrStrings = search => {
  const regex = new RegExp(SOLR_STRINGS_TO_ESCAPE.join('|'), 'g');
  return search.replace(regex, match => `\\${match}`);
};
const createSortString = function createSortString() {
  let {
    field,
    order,
    locale
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  if (!(field && order)) return;
  const sortingLocale = locale || _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_8__.i18n.getLocale();
  return field === 'title' ? `${field}.${sortingLocale}+${order}` : `${field}+${order}`;
};
const applyQueryParams = (solrQuery, _ref) => {
  let {
    search,
    sort,
    limit
  } = _ref;
  const sortString = createSortString(sort);
  const searchString = escapeSolrStrings(search);
  const queries = Array.isArray(solrQuery) ? solrQuery : [solrQuery];
  queries.forEach(query => {
    if (searchString) {
      const fields = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('entrystore.defaultSolrQuery') === 'all' ? 'all' : 'title';
      query[fields](searchString);
    }
    if (sortString) {
      query.sort(sortString);
    }
    query.limit(limit);
  });
  return solrQuery;
};

/**
 * @param {object} params
 * @param {SolrQuery | SolrQuery[]} params.query - Array in case of MultiList
 * @param {string} params.search
 * @param {string} params.sort
 * @param {number} params.limit
 */
const defaultQueryParams = _ref2 => {
  let {
    query,
    search,
    sort,
    limit = 10
  } = _ref2;
  const queryIsArray = Array.isArray(query);
  if (search) {
    if (config__WEBPACK_IMPORTED_MODULE_7__["default"].get('entrystore.defaultSolrQuery') === 'all') {
      queryIsArray ? query.map(q => q.all(search)) : query.all(search);
    } else {
      queryIsArray ? query.map(q => q.title(search)) : query.title(search);
    }
  }
  if (sort) {
    queryIsArray ? query.map(q => q.sort(sort)) : query.sort(sort);
  }

  // TODO set limit
  queryIsArray ? query.map(q => q.limit(limit)) : query.limit(limit);
};

/**
 *
 * @param {object} query
 * @returns {object}
 */
const excludeGuestAndAdmin = query => {
  query.uri([commons_util_userIds__WEBPACK_IMPORTED_MODULE_12__.USER_ENTRY_ID_ADMIN, commons_util_userIds__WEBPACK_IMPORTED_MODULE_12__.USER_ENTRY_ID_GUEST].map(entryId => commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.getEntryURI('_principals', entryId)), true);
  return query;
};

/**
 *
 * @param {string} name
 * @param {SolrQuery|SolrQuery[]} query - Array when the query is batched (e.g. a
 * non-admin context query split across several requests)
 * @param {{search: string, sort: string, limit: number, name: string}} queryParams
 * @returns {SolrQuery|SolrQuery[]}
 */
const applyTitleOrNameParams = (name, query, _ref3) => {
  let {
    search,
    sort,
    limit = 10
  } = _ref3;
  const sortString = createSortString(sort);
  const searchString = escapeSolrStrings(search);
  const queries = Array.isArray(query) ? query : [query];
  queries.forEach(singleQuery => {
    if (search) {
      singleQuery.or({
        title: searchString,
        [name]: `*${searchString}*`
      });
    }
    if (sort) singleQuery.sort(sortString);
    singleQuery.limit(limit);
  });
  return query;
};

/**
 *
 * @param {SolrQuery} query
 * @param {{search: string, sort: string, limit: number }} queryParams
 * @returns {SolrQuery}
 */
const applyTitleOrContextnameParams = (query, queryParams) => applyTitleOrNameParams('contextname', query, queryParams);

/**
 * Applies params to the solr query in a way that allows both title and
 * username matches
 *
 * @param {SolrQuery} query
 * @param {{search: string, sort: string, limit: number}} queryParams
 * @returns {SolrQuery}
 */
const applyTitleOrUsernameParams = (query, queryParams) => applyTitleOrNameParams('username', query, queryParams);

/**
 *
 * @param {object} query
 * @param {{search: string, sort: object, limit: number}} queryOptions
 * @param {object} entityTypeConfig
 * @returns {object}
 */
const applyEntityTypeParams = (query, _ref4, entityTypeConfig) => {
  let {
    search,
    sort,
    limit
  } = _ref4;
  const {
    rdfType,
    constraints,
    searchProps
  } = entityTypeConfig;
  if (rdfType) {
    query.rdfType(rdfType);
  }
  if (constraints) {
    const rdftype = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__.namespaces.expand('rdf:type');
    Object.keys(constraints || {}).forEach(key => {
      if (key !== rdftype) {
        if (key[0] === '!') {
          query.uriProperty(key.substr(1), constraints[key], 'not');
        } else {
          query.uriProperty(key, constraints[key]);
        }
      } else if (!rdfType) {
        query.rdfType(constraints[key]);
      }
    });
  }
  if (search) {
    if (searchProps) {
      let props = searchProps;
      if (typeof props === 'string') {
        props = [props];
      }
      props.forEach(prop => {
        query.literalProperty(prop, `*${search}*`);
      });
      query.disjunctiveProperties();
    } else if (config__WEBPACK_IMPORTED_MODULE_7__["default"].get('entrystore.defaultSolrQuery') === 'all') {
      query.all(search);
    } else {
      query.title(search);
    }
  }
  if (sort) {
    query.sort(createSortString(sort));
  }
  if (limit) {
    query.limit(limit);
  }
  return query;
};

/***/ },

/***/ "./modules/commons/util/store.js"
/*!***************************************!*\
  !*** ./modules/commons/util/store.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   canDownloadEntity: () => (/* binding */ canDownloadEntity),
/* harmony export */   canReplaceEntityFile: () => (/* binding */ canReplaceEntityFile),
/* harmony export */   canReplaceEntityLink: () => (/* binding */ canReplaceEntityLink),
/* harmony export */   checkURIUniquenessScope: () => (/* binding */ checkURIUniquenessScope),
/* harmony export */   checkUriAndPatternMatch: () => (/* binding */ checkUriAndPatternMatch),
/* harmony export */   constructURIFromPattern: () => (/* binding */ constructURIFromPattern),
/* harmony export */   createEntityTypeEntryFromFile: () => (/* binding */ createEntityTypeEntryFromFile),
/* harmony export */   createEntityTypeEntryFromLink: () => (/* binding */ createEntityTypeEntryFromLink),
/* harmony export */   createEntry: () => (/* binding */ createEntry),
/* harmony export */   createEntryFromEntityType: () => (/* binding */ createEntryFromEntityType),
/* harmony export */   createRowstorePipeline: () => (/* binding */ createRowstorePipeline),
/* harmony export */   getContextName: () => (/* binding */ getContextName),
/* harmony export */   getEntriesByResourceURIs: () => (/* binding */ getEntriesByResourceURIs),
/* harmony export */   getGroupByHomeContextId: () => (/* binding */ getGroupByHomeContextId),
/* harmony export */   getGroupWithHomeContext: () => (/* binding */ getGroupWithHomeContext),
/* harmony export */   getPortalUrl: () => (/* binding */ getPortalUrl),
/* harmony export */   getValueFromURIByPattern: () => (/* binding */ getValueFromURIByPattern),
/* harmony export */   isNameFreeToUse: () => (/* binding */ isNameFreeToUse),
/* harmony export */   isRemote: () => (/* binding */ isRemote),
/* harmony export */   isResourceURIUniqueInContext: () => (/* binding */ isResourceURIUniqueInContext),
/* harmony export */   isResourceUniqueInRepository: () => (/* binding */ isResourceUniqueInRepository),
/* harmony export */   isUniqueWithinEntityTypes: () => (/* binding */ isUniqueWithinEntityTypes),
/* harmony export */   removeUriSpace: () => (/* binding */ removeUriSpace),
/* harmony export */   shouldUseUriPattern: () => (/* binding */ shouldUseUriPattern),
/* harmony export */   spreadEntry: () => (/* binding */ spreadEntry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_template__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/template */ "./modules/commons/util/template.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./config */ "./modules/commons/util/config.js");
/* harmony import */ var _entry__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./entry */ "./modules/commons/util/entry.js");




















const ENTITYTYPE_CONTEXT_SCOPE = 'entitytypeContextScope';
const ENTITTYPE_REPOSITORY_SCOPE = 'entitytypeRepositoryScope';
const CONTEXT_SCOPE = 'contextScope';
const REPOSITORY_SCOPE = 'repositoryScope';

/**
 * Because Contexts are created opportunistically we need to load the entry
 * to make sure we can access the context entry info, e.g for the alias in this case
 *
 * @param {Context} context
 * @returns {Promise<string>}
 */
const getContextName = async context => {
  const contextEntry = await context.getEntry();
  return contextEntry.getEntryInfo().getName();
};

/**
 * Get entries by resource uri:s. Skip any non existing entry.
 *
 * @param {string[]} resourceURIs
 * @returns {Promise<Entry[]>}
 */
const getEntriesByResourceURIs = async resourceURIs => {
  const entriesPerforated = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystoreUtil.loadEntriesByResourceURIs(resourceURIs, null, true);
  return entriesPerforated.filter(Boolean);
};

/**
 *
 * @param entryId
 * @param contextId
 * @param uriPattern
 * @param entryName
 * @param contextName
 * @param uuid
 * @param resourceURI
 * @returns {string|*}
 */
const constructURIFromPattern = function constructURIFromPattern(uriPattern) {
  let {
    entryId,
    contextId,
    entryName,
    contextName,
    uuid,
    resourceURI
  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const uri = (0,commons_util_template__WEBPACK_IMPORTED_MODULE_14__.template)(uriPattern, {
    contextId: encodeURIComponent(contextId),
    entryId: encodeURIComponent(entryId),
    contextName: encodeURIComponent(contextName || ''),
    entryName: encodeURIComponent(entryName || ''),
    uuid,
    resourceURI: encodeURIComponent(resourceURI || '')
  });
  return (!contextName || !contextId) && uri.endsWith('//') ? uri.substring(0, uri.length - 1) : uri;
};

/**
 * Extracts variable wrapped with ${}. In case there is a match, it assumes
 * there will be only one match.
 *
 * @param {string} urlPart
 * @returns {string|undefined}
 */
const extractVariable = urlPart => {
  const match = urlPart.match(/\$\{(.+)\}/);
  if (match) return match[1];
};

/**
 * Get url parts including segments from pathname and hash.
 *
 * @param {string} uri
 * @returns {string[]}
 */
const getUrlParts = uri => {
  const uriAsUrl = new URL(uri);
  const parts = uriAsUrl.pathname.split('/').splice(1);
  const hash = uriAsUrl.hash.split('#')[1];
  if (hash) {
    parts.push(hash);
  }
  return parts.map(part => decodeURIComponent(part));
};

/**
 * For each variable in uriTemplate identify it's path position.
 * E.g
 *  uriTemplate => example.com/x/${y}/${z}
 *  returns => { y: 1, z: 2 }
 *
 * @param {string} uriTemplate
 * @returns {Map<string, number>}
 */
const getVariableNamesMapFromTemplate = uriTemplate => {
  const urlParts = getUrlParts(uriTemplate);
  const variables = new Map();
  urlParts.forEach((part, index) => {
    const varName = extractVariable(part);
    if (varName) {
      variables.set(varName, index);
    }
  });
  return variables;
};

/**
 * Checks whether the static parts of the provided URI and pattern match
 *
 * @param {string} uri
 * @param {string} uriPattern
 * @returns {boolean}
 */
const checkUriAndPatternMatch = (uri, uriPattern) => {
  if (!uri || !uriPattern) return false;
  const uriPatternAsURL = new URL(uriPattern);
  const uriAsURL = new URL(uri);
  return uriPatternAsURL.origin === uriAsURL.origin;
};

/**
 * Matches an uri against an uriPattern and returns the value of variableName.
 * If variableName is not provided, all variable values are returned.
 *
 * @param {string} uri
 * @param {string} uriPattern
 * @param {string} variableName
 * @returns {string|Map<string, number>}
 * @throws
 */
const getValueFromURIByPattern = function getValueFromURIByPattern(uri, uriPattern) {
  let variableName = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  if (!checkUriAndPatternMatch(uri, uriPattern)) {
    console.error(`Could not match uri ${uri} with uri pattern ${uriPattern}`);
    return null;
  }

  // get all variable names as they are occurring in the URI template
  const variableNamesMap = getVariableNamesMapFromTemplate(uriPattern);

  // get segments and hash from uri
  const urlParts = getUrlParts(uri);
  const variableValuesMap = new Map();

  // match variable name in uri pattern with corresponding value in uri
  variableNamesMap.forEach((index, name) => {
    variableValuesMap.set(name, urlParts[index]);
  });
  return variableName ? variableValuesMap.get(variableName) : variableValuesMap;
};

/**
 * Contructs portal url based on entity type preview.uriTemplate config.
 *
 * @param {EntityType} entityType
 * @param {Entry} entry
 * @returns {string|undefined}
 */
const getPortalUrl = (entityType, entry) => {
  const uriPattern = entityType === null || entityType === void 0 ? void 0 : entityType.get('preview.uriTemplate');
  if (!uriPattern) return;
  const entryId = entry.getId();
  const contextId = entry.getContext().getId();
  const entryName = entry.getEntryInfo().getName();
  const contextName = entry.getContext().getEntry(true).getEntryInfo().getName();
  const resourceURI = entry.getResourceURI();
  const portalUrl = constructURIFromPattern(uriPattern, {
    entryId,
    contextId,
    entryName,
    contextName,
    resourceURI
  });
  return portalUrl;
};

/**
 *
 * @param {Context} context
 * @param {string} rdfType
 * @param {object} entryParams
 * @param {string} entryParams.entryName
 * @param {string} entryParams.contextName
 * @param {string} entryParams.entryId
 * @param {string} entryParams.contextId
 * @returns {PrototypeEntry}
 */
const createEntry = function createEntry(context, rdfType) {
  let {
    entryId,
    contextId,
    entryName,
    contextName
  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  let resourceURI;
  if (rdfType) {
    const entryURITemplate = _config__WEBPACK_IMPORTED_MODULE_18__["default"].getEntryURITemplate(rdfType);
    if (entryURITemplate) {
      resourceURI = (0,commons_util_template__WEBPACK_IMPORTED_MODULE_14__.template)(entryURITemplate, {
        entryId: entryId || '_newId',
        contextId: contextId || context.getId(),
        entryName,
        contextName,
        uuid: _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_17__.utils.generateUUID()
      });
    }
  }
  return resourceURI ? context.newLink(resourceURI) : context.newNamedEntry();
};

/**
 *
 * @param {Context} context
 * @param {EntityType} entityType
 * @param {object} entryParams
 * @param {string} entryParams.entryId
 * @param {string} entryParams.contextId
 * @param {string} entryParams.entryName
 * @param {string} entryParams.contextName
 * @param {string} entryParams.uuid
 * @param {string} uriSpace
 * @returns {PrototypeEntry}
 */
const createEntryFromEntityType = (context, entityType, _ref, uriSpace) => {
  let {
    entryId,
    contextId,
    entryName,
    contextName,
    uuid
  } = _ref;
  let resourceURI;
  if (entityType.uriPattern) {
    resourceURI = (0,commons_util_template__WEBPACK_IMPORTED_MODULE_14__.template)(entityType.uriPattern, {
      entryId: entryId || '_newId',
      contextId: contextId || context.getId(),
      entryName,
      contextName,
      uuid // @todo needed?
    });
  }
  if (uriSpace) {
    resourceURI = (0,commons_util_template__WEBPACK_IMPORTED_MODULE_14__.template)(`${uriSpace}/\${entryName}`, {
      entryName
    });
  }
  return resourceURI ? context.newLink(resourceURI) : context.newNamedEntry();
};

/**
 *
 * @param {Context} context
 * @returns {Promise<Entry>}
 */
const createRowstorePipeline = context => {
  const pipelinePrototypeEntry = context.newPipeline('rowstorePipeline');
  const pipelineResource = pipelinePrototypeEntry.getResource();
  pipelineResource.addTransform(pipelineResource.transformTypes.ROWSTORE, {});
  return pipelinePrototypeEntry.commit();
};

/**
 *
 * @param {Entry} entry
 * @returns {Object.<{metadata: Graph, info: EntryInfo, resourceURI: string, context: Context}>}
 */
const spreadEntry = entry => ({
  allMetadata: entry.getAllMetadata(),
  metadata: entry.getMetadata(),
  info: entry.getEntryInfo(),
  resourceURI: entry.getResourceURI(),
  context: entry.getContext()
});

/**
 * Remove the `void:uriSpace` from an entry's metadata. Used when a context is
 * no longer driven by a uri pattern.
 *
 * @param {Entry} entry
 * @returns {Promise<Entry>}
 */
const removeUriSpace = async entry => {
  await (0,_entry__WEBPACK_IMPORTED_MODULE_19__.refreshEntry)(entry);
  const {
    resourceURI,
    metadata
  } = spreadEntry(entry);
  metadata.findAndRemove(resourceURI, 'void:uriSpace', null);
  return entry.commitMetadata();
};

/**
 * Check that the alias is not already in use.
 * Only a response status code 404 fulfills the above criteria.
 *
 * @param {string} alias
 * @returns {Promise<boolean>}
 */
const isNameFreeToUse = async alias => {
  const repository = config__WEBPACK_IMPORTED_MODULE_12__["default"].get('entrystore.repository');
  const checkIfAliasIsFreeURL = `${repository}${repository.endsWith('/') ? '' : '/'}${alias}`;
  const res = await fetch(checkIfAliasIsFreeURL, {
    method: 'HEAD'
  });
  return res.status === 404;
};

/**
 * Check if URI in the entire repository
 *
 * @param uri
 * @returns {Promise<boolean>}
 */
const isResourceUniqueInRepository = async uri => {
  const entries = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystoreUtil.getEntryListByResourceURI(uri).getAllEntries();
  return !entries.length;
};
/**
 *
 * @param uri
 * @param context
 * @returns {Promise<boolean>}
 */
const isResourceURIUniqueInContext = async function isResourceURIUniqueInContext(uri) {
  let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  let isUnique = true;
  const entries = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystoreUtil.getEntryListByResourceURI(uri).getAllEntries();
  if (entries.length > 0) {
    // entry with given resource uri exists already
    isUnique = context ? !entries.some(entry => entry.getContext() === context) : false;
  }
  return isUnique;
};

/**
 * Check if URI is unique within entity types and context
 *
 * @param uri
 * @param context
 * @param rdfTypes
 * @returns {Promise<boolean>}
 */
const isUniqueWithinEntityTypes = async function isUniqueWithinEntityTypes(uri) {
  let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  let rdfTypes = arguments.length > 2 ? arguments[2] : undefined;
  const searchList = commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().rdfType(rdfTypes).context(context).list();
  const entries = await searchList.getEntries();
  return !(entries !== null && entries !== void 0 && entries.some(entry => entry.getResourceURI() === uri));
};

/**
 * Check if URI is unique based on URI config scope
 *
 * @param URIUniquenessscope
 * @param uri
 * @param context
 * @param rdfTypes
 * @returns {Promise<boolean>}
 */
const checkURIUniquenessScope = async function checkURIUniquenessScope(URIUniquenessscope, uri) {
  let context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  let rdfType = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
  switch (URIUniquenessscope) {
    case ENTITYTYPE_CONTEXT_SCOPE:
      return isUniqueWithinEntityTypes(uri, context, rdfType);
    case ENTITTYPE_REPOSITORY_SCOPE:
      return isUniqueWithinEntityTypes(uri, null, rdfType);
    case CONTEXT_SCOPE:
      return isResourceURIUniqueInContext(uri, context);
    case REPOSITORY_SCOPE:
      return isResourceUniqueInRepository(uri);
    default:
      return true;
  }
};

/**
 * Check if the configuration and the main entry in context (e.g ConceptScheme for terms)
 * indicate if a uri pattern should be used.
 *
 * @param {EntityType} entityType
 * @param {Entry} mainEntryInContext
 * @returns {boolean}
 */
const shouldUseUriPattern = function shouldUseUriPattern() {
  let entityType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  let mainEntryInContext = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  if (entityType !== null && entityType !== void 0 && entityType.uriPattern) {
    if (mainEntryInContext) {
      const {
        metadata,
        resourceURI
      } = spreadEntry(mainEntryInContext);

      /** @type boolean */
      return !!metadata.findFirstValue(resourceURI, 'void:uriSpace');
    }
    return true; // depend only on the entityType configuration, i.e creation step
  }
  return false;
};

/* eslint-disable */

/**
 *
 * @param context
 * @returns {Promise<object>}
 */
const getGroupWithHomeContext = async context => {
  try {
    const contextEntry = await context.getEntry();
    const stmts = contextEntry.getReferrersGraph().find(null, _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_15__.terms.homeContext);
    if (!stmts || stmts.length === 0) return null;
    const groupResourceURI = stmts[0].getSubject();
    const groupEntry = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.getEntry(commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.getEntryURIFromURI(groupResourceURI));
    return groupEntry;
  } catch (error) {
    console.error(error);
    return null;
  }
};

/**
 *
 * @param {string} contextId
 * @returns {Promise}
 */
const getGroupByHomeContextId = async contextId => {
  const context = entrystore.getContextById(contextId);
  return getGroupWithHomeContext(context);
};
const createEntityTypeEntryFromLink = _ref2 => {
  let {
    context,
    prototypeEntry,
    graph,
    uriPattern,
    link
  } = _ref2;
  // check if uri value is valid
  if (!link) {
    return uriPattern ? Promise.reject(-1) // throwing an error since the uri name need to be set by user
    : prototypeEntry.commit(); // creating a named resource
  }
  if (uriPattern) {
    // check if uri exists but has no localname
    const localName = getValueFromURIByPattern(link, uriPattern, 'entryName');
    if (!localName) {
      return Promise.reject(-1);
    }
  }
  // Replace graph ruri with the given uri. Use a copy in case sth goes wrong
  // when commiting, for example if the link is invalid.
  const graphCopy = graph.clone();
  graphCopy.replaceURI(prototypeEntry.getResourceURI(), link);
  const newLinkProtoEntry = context.newLink(link);
  newLinkProtoEntry.setMetadata(graphCopy);
  newLinkProtoEntry.getEntryInfo().setStatus(prototypeEntry.getEntryInfo().getStatus());
  return newLinkProtoEntry.commit();
};
const createEntityTypeEntryFromFile = async _ref3 => {
  let {
    graph,
    file,
    prototypeEntry,
    context
  } = _ref3;
  const newProtoEntry = context.newEntry();
  newProtoEntry.setMetadata(graph);
  if (prototypeEntry) {
    const protoEntryStatus = prototypeEntry.getEntryInfo().getStatus();
    newProtoEntry.getEntryInfo().setStatus(protoEntryStatus);
  }
  const entry = await newProtoEntry.commit();
  if (file) {
    await entry.getResource(true).putFile(file);
    await (0,_entry__WEBPACK_IMPORTED_MODULE_19__.refreshEntry)(entry);
  }
  return entry;
};

// if entry is a local entry then can replace file
const canReplaceEntityFile = entry => entry.isLocal() && entry.isInformationResource();

// if entry uses a uri pattern or is a link then can replace link
const canReplaceEntityLink = (entry, entityTypeDef) => entry.isLink() && !shouldUseUriPattern(entityTypeDef);
const canDownloadEntity = entry => !(entry.isLink() || entry.isLocal() && !entry.isInformationResource());

/**
 * Checks whether an entry doesn't belong to the instance's store.
 *
 * @param {Entry} entry
 * @returns {Boolean}
 */
const isRemote = entry => {
  const entrystoreBaseURI = commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.getBaseURI();
  return !entry.getEntryInfo().getEntryURI().startsWith(entrystoreBaseURI);
};


/***/ },

/***/ "./modules/commons/util/template.js"
/*!******************************************!*\
  !*** ./modules/commons/util/template.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   template: () => (/* binding */ template)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);







/**
 * Template replaces values in a string by using same delimeter ${} as for a
 * string literal. Second argument specifies what to replace, as key values.
 * @param {string} replaceString string to replace
 * @param {Object} properties data properties to replace
 * @returns {string} replaced string
 */
const template = (replaceString, properties) => {
  if (!properties) return replaceString;
  let replacedString = replaceString;
  Object.entries(properties).forEach(_ref => {
    let [key, value = ''] = _ref;
    replacedString = replacedString.replace(new RegExp(`\\$\\{${key}\\}`, 'g'), value);
  });
  return replacedString;
};

/***/ },

/***/ "./modules/commons/util/turtle.js"
/*!****************************************!*\
  !*** ./modules/commons/util/turtle.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   graphToTurtle: () => (/* binding */ graphToTurtle),
/* harmony export */   isTurtleFormat: () => (/* binding */ isTurtleFormat),
/* harmony export */   turtleToGraph: () => (/* binding */ turtleToGraph),
/* harmony export */   writeGraph: () => (/* binding */ writeGraph)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");





const TURTLE_SAMPLE_LENGTH = 200;

/**
 * Heuristic check for whether a string (or named file) is Turtle. Used to route
 * uploaded/pasted content to the Turtle parser before falling back to the
 * RDF/XML and RDF/JSON detection in `converters.detect`.
 *
 * @param {string} content
 * @param {string} [filename]
 * @returns {boolean}
 */
const isTurtleFormat = function isTurtleFormat(content) {
  let filename = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  if (filename.toLowerCase().endsWith('.ttl')) return true;
  const sample = content.substring(0, TURTLE_SAMPLE_LENGTH).toLowerCase();
  return sample.includes('@prefix') || sample.includes('@base');
};

/**
 * Parses Turtle into an rdfjson Graph via N3.
 *
 * @param {object} N3 the lazily-loaded `n3` module.
 * @param {string} turtle
 * @returns {Promise<Graph>}
 */
const turtleToGraph = (N3, turtle) => new Promise((resolve, reject) => {
  const parser = new N3.Parser();
  const quads = [];
  parser.parse(turtle, (error, quad) => {
    if (error) {
      reject(new Error(error.message));
    } else if (quad) {
      quads.push(quad);
    } else {
      resolve(new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph().addQuads(quads));
    }
  });
});

/**
 * Serializes an rdfjson Graph to a string via an N3 writer, substituting a
 * blank node for any missing object. The generic N3 serialization primitive,
 * shared by `graphToTurtle` here and the JSON-LD N-Quads bridge in `jsonld.js`.
 *
 * @param {object} N3 the lazily-loaded `n3` module.
 * @param {Graph} graph
 * @param {object} options N3.Writer options selecting the output syntax, e.g.
 *   `{ prefixes }` for Turtle or `{ format: 'application/n-quads' }` for N-Quads.
 * @returns {Promise<string>}
 */
const writeGraph = (N3, graph, options) => new Promise((resolve, reject) => {
  const writer = new N3.Writer(options);
  graph.toQuads().forEach(quad => {
    writer.addQuad(quad.subject, quad.predicate, quad.object || new N3.BlankNode());
  });
  writer.end((error, result) => error ? reject(error) : resolve(result));
});

/**
 * Serializes an rdfjson Graph to Turtle via N3.
 *
 * @param {object} N3 the lazily-loaded `n3` module.
 * @param {Graph} graph
 * @param {object} [prefixes] abbreviation-to-namespace map for readable output.
 * @returns {Promise<string>}
 */
const graphToTurtle = function graphToTurtle(N3, graph) {
  let prefixes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.namespaces.registry();
  return writeGraph(N3, graph, {
    prefixes
  });
};

/***/ },

/***/ "./modules/commons/util/user.js"
/*!**************************************!*\
  !*** ./modules/commons/util/user.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ADMIN: () => (/* binding */ ADMIN),
/* harmony export */   ADMIN_RIGHTS: () => (/* binding */ ADMIN_RIGHTS),
/* harmony export */   PREMIUM: () => (/* binding */ PREMIUM),
/* harmony export */   downgradeUserFromPremium: () => (/* binding */ downgradeUserFromPremium),
/* harmony export */   getAdditionalMetadata: () => (/* binding */ getAdditionalMetadata),
/* harmony export */   getCurrentUserEntry: () => (/* binding */ getCurrentUserEntry),
/* harmony export */   getGuestUserEntry: () => (/* binding */ getGuestUserEntry),
/* harmony export */   getIsUserDisabled: () => (/* binding */ getIsUserDisabled),
/* harmony export */   getUserRenderName: () => (/* binding */ getUserRenderName),
/* harmony export */   hasAdminRights: () => (/* binding */ hasAdminRights),
/* harmony export */   hasUserPermission: () => (/* binding */ hasUserPermission),
/* harmony export */   isAdmin: () => (/* binding */ isAdmin),
/* harmony export */   isAdminOrGuest: () => (/* binding */ isAdminOrGuest),
/* harmony export */   isGuest: () => (/* binding */ isGuest),
/* harmony export */   isInAdminGroup: () => (/* binding */ isInAdminGroup),
/* harmony export */   isManager: () => (/* binding */ isManager),
/* harmony export */   isPremiumConfigured: () => (/* binding */ isPremiumConfigured),
/* harmony export */   isRegularUser: () => (/* binding */ isRegularUser),
/* harmony export */   isUserDisabled: () => (/* binding */ isUserDisabled),
/* harmony export */   isUserEnabled: () => (/* binding */ isUserEnabled),
/* harmony export */   isUserPremium: () => (/* binding */ isUserPremium),
/* harmony export */   isUsernameInUse: () => (/* binding */ isUsernameInUse),
/* harmony export */   login: () => (/* binding */ login),
/* harmony export */   logout: () => (/* binding */ logout),
/* harmony export */   replaceName: () => (/* binding */ replaceName),
/* harmony export */   upgradeUserToPremium: () => (/* binding */ upgradeUserToPremium)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/escape.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/negate.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_template__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/template */ "./modules/commons/util/template.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! admin/nls/esadUser.nls */ "./modules/admin/nls/esadUser.nls");
/* harmony import */ var admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var _userIds__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./userIds */ "./modules/commons/util/userIds.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }














const ADMIN = 'admin';
const ADMIN_RIGHTS = 'admin-rights';
const PREMIUM = 'premium';

/**
 * Checks whether configuration for the premium group has been specified. Should
 * be used as a feature toggle.
 *
 * @returns {boolean}
 */
const isPremiumConfigured = () => Boolean(config__WEBPACK_IMPORTED_MODULE_4__["default"].get('entrystore.premiumGroupId'));

/**
 * Checks whether a user is in the premium group.
 *
 * @param {Entry} userEntry
 * @returns {boolean}
 */
const isUserPremium = userEntry => {
  const premiumGroupId = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('entrystore.premiumGroupId');
  if (!premiumGroupId) return false;
  const premiumEntryURI = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntryURI(_userIds__WEBPACK_IMPORTED_MODULE_14__.CONTEXT_PRINCIPALS, premiumGroupId);
  return userEntry.getParentGroups().some(groupEntryURI => groupEntryURI === premiumEntryURI);
};

/**
 * Adds a user to the premium group. If the premium group doesn't exist yet, it
 * is created using the ID provided in the configuration.
 *
 * @param {Entry} userEntry
 * @returns {Promise}
 */
const upgradeUserToPremium = async userEntry => {
  const premiumGroupId = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('entrystore.premiumGroupId');
  const premiumGroupURI = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntryURI('_principals', premiumGroupId);
  return commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(premiumGroupURI).then(null, () => commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newGroup(`premium ${premiumGroupId}`, premiumGroupId).commit()).then(premiumGroupEntry => {
    return premiumGroupEntry.getResource(true).addEntry(userEntry).then(() => {
      userEntry.setRefreshNeeded();
      return userEntry.refresh();
    });
  });
};

/**
 * Removes a user from the premium group. If the premium group doesn't exist yet,
 * it is created using the ID provided in the configuration.
 *
 * @param {Entry} userEntry
 * @returns {Promise}
 */
const downgradeUserFromPremium = async userEntry => {
  const premiumGroupId = config__WEBPACK_IMPORTED_MODULE_4__["default"].get('entrystore.premiumGroupId');
  const premiumGroupURI = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntryURI('_principals', premiumGroupId);
  return commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(premiumGroupURI).then(null, () => commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newGroup(premiumGroupId, premiumGroupId).commit()).then(premiumGroupEntry => {
    return premiumGroupEntry.getResource(true).removeEntry(userEntry).then(() => {
      userEntry.setRefreshNeeded();
      return userEntry.refresh();
    });
  });
};

/**
 * @param {Entry} userEntry
 * @returns {boolean}
 */
const isAdmin = userEntry => userEntry.getId() === _userIds__WEBPACK_IMPORTED_MODULE_14__.USER_ENTRY_ID_ADMIN;

/**
 * @param {Entry} userEntry
 * @returns {boolean}
 */
const isGuest = userEntry => userEntry.getId() === _userIds__WEBPACK_IMPORTED_MODULE_14__.USER_ENTRY_ID_GUEST;

/**
 *
 * @param {Entry} userEntry
 * @returns {boolean}
 */
const isAdminOrGuest = userEntry => isGuest(userEntry) || isAdmin(userEntry);

/**
 * @see isAdminOrGuest
 */
const isRegularUser = (0,lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"])(isAdminOrGuest);

/**
 * @param {Entry} userEntry
 * @returns {boolean}
 */
const isInAdminGroup = userEntry => {
  const adminsGroupEntryURI = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntryURI(_userIds__WEBPACK_IMPORTED_MODULE_14__.CONTEXT_ENTRY_ID_PRINCIPALS, _userIds__WEBPACK_IMPORTED_MODULE_14__.USER_ENTRY_ID_ADMINS);
  const inAdminGroup = userEntry.getParentGroups().includes(adminsGroupEntryURI);
  return inAdminGroup;
};
const hasAdminRights = userEntry => isAdmin(userEntry) || isInAdminGroup(userEntry);
const isManager = (groupEntry, userEntry) => groupEntry.getEntryInfo().getACL().admin.includes(userEntry.getResourceURI());

/**
 *
 * @param {*} userEntry
 * @returns {boolean}
 */
const isUserDisabled = userEntry => userEntry.getEntryInfo().isDisabled();

/**
 * @see isUserDisabled
 */
const isUserEnabled = (0,lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"])(isUserDisabled);

/**
 * Check if the username is already in use or some other _principal entry uses this name
 *
 * @param {*} username
 * @returns {Promise.<boolean>}
 */
const isUsernameInUse = async username => {
  const entryNames = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getREST().get(`${commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getBaseURI()}${_userIds__WEBPACK_IMPORTED_MODULE_14__.CONTEXT_ENTRY_ID_PRINCIPALS}?entryname=${username}`);
  return entryNames.length > 0; // if there's data (array) then some entries already use that name
};

/**
 *
 * @param {Entry} userEntry
 * @returns {string} the username to render
 */
const getUserRenderName = userEntry => {
  var _userEntry$getResourc;
  const username = userEntry.getEntryInfo().getName() || ((_userEntry$getResourc = userEntry.getResource(true)) === null || _userEntry$getResourc === void 0 ? void 0 : _userEntry$getResourc.getName());
  const name = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getLabel)(userEntry);
  if (name == null && username == null) {
    const esadUser = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_12__.i18n.getLocalization((admin_nls_esadUser_nls__WEBPACK_IMPORTED_MODULE_13___default()));
    return (0,commons_util_template__WEBPACK_IMPORTED_MODULE_8__.template)(esadUser.unnamedUser, {
      id: userEntry.getId()
    });
  }
  return [username, name].filter(part => part === null || part === void 0 ? void 0 : part.trim()) // get rid of undefined
  .map(lodash_es__WEBPACK_IMPORTED_MODULE_5__["default"]) // XSS
  .join(' - '); // prettify
};

/**
 *
 * @param {*} userEntry
 * @returns {boolean}
 */
const getIsUserDisabled = userEntry => userEntry.getEntryInfo().isDisabled();

/**
 *
 * @param {*} userEntry
 * @returns {object}
 */
const getAdditionalMetadata = userEntry => {
  const metadata = userEntry.getMetadata();
  const userResource = userEntry.getResource(true);
  const firstName = metadata.findFirstValue(null, 'http://xmlns.com/foaf/0.1/givenName') || '';
  const lastName = metadata.findFirstValue(null, 'http://xmlns.com/foaf/0.1/familyName') || '';
  return {
    firstName,
    lastName,
    get displayName() {
      if (firstName && lastName) {
        return `${firstName} ${lastName}`;
      }
      if (firstName) {
        return firstName;
      }
      return userResource.getName();
    },
    user: userResource.getName(),
    homeContext: userResource.getHomeContext(),
    entryId: userEntry.getId(),
    language: userResource.getLanguage(),
    isAdmin: isAdmin(userEntry),
    inAdminGroup: isInAdminGroup(userEntry),
    hasAdminRights: hasAdminRights(userEntry)
  };
};
const login = async (username, password) => {
  const auth = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getAuth();
  const newUserInfo = await auth.login(username, password);
  const userEntry = await auth.getUserEntry();
  const additionalInfo = getAdditionalMetadata(userEntry);
  const userInfo = _objectSpread(_objectSpread({}, newUserInfo), additionalInfo);
  return {
    userEntry,
    userInfo
  };
};

/**
 * Shouldn't be needed most of times since useUser context can be used.
 * Useful when current user entry is needed outside of component
 *
 * @returns {{userEntry: Entry, userInfo: object}}
 */
const getCurrentUserEntry = async () => {
  const userEntry = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getAuth().getUserEntry();
  const info = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getUserInfo();
  const additionalInfo = getAdditionalMetadata(userEntry);
  const userInfo = _objectSpread(_objectSpread({}, info), additionalInfo);
  return {
    userEntry,
    userInfo
  };
};

// TODO memoize?
const getGuestUserEntry = async () => {
  const guestUserEntry = await commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntryURI(_userIds__WEBPACK_IMPORTED_MODULE_14__.CONTEXT_ENTRY_ID_PRINCIPALS, _userIds__WEBPACK_IMPORTED_MODULE_14__.USER_ENTRY_ID_GUEST));
  const additionalInfo = getAdditionalMetadata(guestUserEntry);
  return {
    userEntry: guestUserEntry,
    userInfo: additionalInfo
  };
};

/**
 * @returns {Promise}
 */
const logout = async () => commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getAuth().logout().then(getGuestUserEntry);

/**
 * Replaces the user's first/last name
 *
 * @param {Entry} userEntry
 * @param {string} firstName
 * @param {string} lastName
 * @returns {Promise<Entry>}
 */
const replaceName = (userEntry, firstName, lastName) => {
  const {
    metadata,
    resourceURI
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_10__.spreadEntry)(userEntry);
  metadata.findAndRemove(resourceURI, 'foaf:firstName', null);
  metadata.findAndRemove(resourceURI, 'foaf:givenName', null);
  metadata.add(userEntry.getResourceURI(), 'foaf:givenName', {
    type: 'literal',
    value: firstName
  });
  metadata.findAndRemove(resourceURI, 'foaf:lastName', null);
  metadata.findAndRemove(resourceURI, 'foaf:familyName', null);
  metadata.add(resourceURI, 'foaf:familyName', {
    type: 'literal',
    value: lastName
  });
  metadata.findAndRemove(resourceURI, 'foaf:name');
  metadata.addL(resourceURI, 'foaf:name', `${firstName} ${lastName}`);
  return userEntry.commitMetadata();
};

/**
 * Checks user permissions
 *
 * @param {Entry} userEntry
 * @param {string[]} permissions
 * @returns {boolean}
 */
const hasUserPermission = (userEntry, permissions) => permissions.some(permission => {
  switch (permission) {
    case ADMIN:
      return isAdmin(userEntry);
    case ADMIN_RIGHTS:
      return hasAdminRights(userEntry);
    case PREMIUM:
      return isUserPremium(userEntry);
    default:
      console.error(`Unknown permission: ${permission}`);
      return false;
  }
});

/***/ },

/***/ "./modules/commons/util/userIds.js"
/*!*****************************************!*\
  !*** ./modules/commons/util/userIds.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CONTEXT_CONTEXTS: () => (/* binding */ CONTEXT_CONTEXTS),
/* harmony export */   CONTEXT_ENTRY_ID_PRINCIPALS: () => (/* binding */ CONTEXT_ENTRY_ID_PRINCIPALS),
/* harmony export */   CONTEXT_PRINCIPALS: () => (/* binding */ CONTEXT_PRINCIPALS),
/* harmony export */   USERS_ENTRY_ID: () => (/* binding */ USERS_ENTRY_ID),
/* harmony export */   USER_ENTRY_ID_ADMIN: () => (/* binding */ USER_ENTRY_ID_ADMIN),
/* harmony export */   USER_ENTRY_ID_ADMINS: () => (/* binding */ USER_ENTRY_ID_ADMINS),
/* harmony export */   USER_ENTRY_ID_GUEST: () => (/* binding */ USER_ENTRY_ID_GUEST)
/* harmony export */ });
// move to @entryscape/entrysotre.js
const USER_ENTRY_ID_GUEST = '_guest';
const USER_ENTRY_ID_ADMIN = '_admin';
const USER_ENTRY_ID_ADMINS = '_admins';
const USERS_ENTRY_ID = '_users';
const CONTEXT_ENTRY_ID_PRINCIPALS = '_principals';
const CONTEXT_CONTEXTS = '_contexts';
const CONTEXT_PRINCIPALS = '_principals';

/***/ },

/***/ "./modules/commons/util/userUtil.js"
/*!******************************************!*\
  !*** ./modules/commons/util/userUtil.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);


function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
/**
 * Retrieves user's custom privacy and terms version settings
 * @param {string} currentPrivacyVersion - The current privacy policy version
 * @param {string} currentTermsVersion - The current terms and conditions version
 * @return {boolean[]} Is privacy accepted? Are terms accepted?
 */
const privacyPolicyAndTermsAccepted = (userEntry, currentPrivacyVersion, currentTermsVersion) => {
  const user = userEntry.getResource(true);
  const {
    privacyversion: acceptedPrivacyVersion,
    termsversion: acceptedTermsVersion
  } = user.getCustomProperties();
  return [
  // Not doing strict equality comparison since the version can be either a string or a number
  // eslint-disable-next-line eqeqeq
  acceptedPrivacyVersion == currentPrivacyVersion,
  // eslint-disable-next-line eqeqeq
  acceptedTermsVersion == currentTermsVersion];
};
const hasAcceptedSomePrivacy = userEntry => {
  const user = userEntry.getResource(true);
  const customProperties = user.getCustomProperties();
  return 'privacyversion' in customProperties && customProperties.privacyversion;
};
const hasAcceptedSomeTerms = userEntry => {
  const user = userEntry.getResource(true);
  const customProperties = user.getCustomProperties();
  return 'termsversion' in customProperties && customProperties.termsversion;
};

/**
 * Saves the privacy policy version that the user has agreed to in the custom properties
 * @param {Object} userEntry
 * @param {string} version - The version the user last agreed to
 */
const setPrivacyPolicyVersion = (userEntry, version) => {
  const user = userEntry.getResource(true);
  user.setCustomProperties(_objectSpread(_objectSpread({}, user.getCustomProperties()), {}, {
    privacyversion: version.toString(),
    policysettime: new Date().getTime().toString()
  }));
};

/**
 * Saves the TC version that the user has agreed to in the custom properties
 * @param {Object} userEntry
 * @param {string} version - The version the user last agreed to
 */
const setTermsVersion = (userEntry, version) => {
  const user = userEntry.getResource(true);
  user.setCustomProperties(_objectSpread(_objectSpread({}, user.getCustomProperties()), {}, {
    termsversion: version.toString(),
    termssettime: new Date().getTime().toString()
  }));
};
const setTermsAndPrivacy = (userEntry, termsVersion, privacyVersion) => {
  const user = userEntry.getResource(true);
  const time = new Date().getTime().toString();
  user.setCustomProperties(_objectSpread(_objectSpread({}, user.getCustomProperties()), {}, {
    termsversion: termsVersion.toString(),
    termssettime: time,
    privacyversion: privacyVersion.toString(),
    policysettime: time
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  privacyPolicyAndTermsAccepted,
  setPrivacyPolicyVersion,
  setTermsVersion,
  hasAcceptedSomePrivacy,
  hasAcceptedSomeTerms,
  setTermsAndPrivacy
});

/***/ },

/***/ "./modules/commons/util/util.js"
/*!**************************************!*\
  !*** ./modules/commons/util/util.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LIST_PAGE_SIZE_LARGE: () => (/* binding */ LIST_PAGE_SIZE_LARGE),
/* harmony export */   LIST_PAGE_SIZE_MEDIUM: () => (/* binding */ LIST_PAGE_SIZE_MEDIUM),
/* harmony export */   LIST_PAGE_SIZE_SMALL: () => (/* binding */ LIST_PAGE_SIZE_SMALL),
/* harmony export */   getProjectTypeByName: () => (/* binding */ getProjectTypeByName),
/* harmony export */   getRandomInt: () => (/* binding */ getRandomInt),
/* harmony export */   isAlphaNumeric: () => (/* binding */ isAlphaNumeric),
/* harmony export */   isExternalLink: () => (/* binding */ isExternalLink),
/* harmony export */   isInputTextValid: () => (/* binding */ isInputTextValid),
/* harmony export */   normalizeEntryName: () => (/* binding */ normalizeEntryName),
/* harmony export */   replaceSpecialChar: () => (/* binding */ replaceSpecialChar),
/* harmony export */   truncate: () => (/* binding */ truncate),
/* harmony export */   truncateLabel: () => (/* binding */ truncateLabel),
/* harmony export */   validateEmail: () => (/* binding */ validateEmail),
/* harmony export */   validateLink: () => (/* reexport safe */ _util_validateLink__WEBPACK_IMPORTED_MODULE_10__.validateLink)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _util_validateLink__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./util.validateLink */ "./modules/commons/util/util.validateLink.js");











/**
 * Checks if email is valid
 *
 * @param {string} email
 * @returns {boolean}
 */
const validateEmail = email => {
  const regex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$/;
  return regex.test(email);
};
const isInputTextValid = text => text && text.trim().length;

/**
 * Checks if text entered is alphaNumeric
 *
 * @param {string} text
 * @returns {boolean}
 */
const isAlphaNumeric = text => {
  const regex = /^[0-9a-zA-Z]+$/;
  return regex.test(text);
};
const isExternalLink = url => {
  const anchor = document.createElement('a');
  anchor.href = url;

  // Check empty hostname for IE11
  if (anchor.hostname === '') {
    return false;
  }
  return anchor.hostname !== window.location.hostname;
};
const LIST_PAGE_SIZE_SMALL = 5;
const LIST_PAGE_SIZE_MEDIUM = 20;
const LIST_PAGE_SIZE_LARGE = 50;
const getRandomInt = max => Math.floor(Math.random() * Math.floor(max));
const REPLACEMENT_DICTIONARY = {
  de: [['ä', 'ae'], ['Ä', 'AE'], ['å', 'a'], ['Å', 'A'], ['ö', 'oe'], ['Ö', 'OE'], ['ü', 'ue'], ['Ü', 'UE'], ['ß', 'ss']],
  sv: [['ä', 'a'], ['Ä', 'A'], ['å', 'a'], ['Å', 'A'], ['ö', 'o'], ['Ö', 'O'], ['ü', 'ue'], ['Ü', 'UE'], ['ß', 'ss']]
};

/**
 * Function for replacing German/Swedish special character
 *
 * @param {string} value
 * @param {string} language
 * @returns {string}
 */
const replaceSpecialChar = (value, language) => {
  let replacedValue = value;
  let lang = language.toLowerCase();
  if (!REPLACEMENT_DICTIONARY.hasOwnProperty(lang)) {
    lang = 'sv';
  }
  REPLACEMENT_DICTIONARY[lang].forEach(_ref => {
    let [originalChar, replacedChar] = _ref;
    const regOriginalChar = new RegExp(originalChar, 'g');
    replacedValue = replacedValue.replace(regOriginalChar, replacedChar);
  });
  return replacedValue;
};

/**
 * Normalizes a string into a URI-safe entry name, defaulting to the current
 * locale for the special-character replacement.
 *
 * @param {string} value
 * @param {string} [language]
 * @returns {string}
 */
const normalizeEntryName = function normalizeEntryName(value) {
  let language = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_8__.i18n.getLocale();
  return replaceSpecialChar(value, language).replace(/[^\w.-]+/g, '');
};

/**
 * Truncates a string to a maximum length and optionally avoids cutting words in half.
 * If truncation occurs, a single-character ellipsis ('…') is appended.
 * The result is always trimmed of surrounding whitespace.
 *
 * @param {string} string - The input string to process.
 * @param {number} [maxLength=160] - The maximum length of the returned string,
 *   including the ellipsis (if added).
 * @param {object} [options] - Additional configuration options.
 * @param {boolean} [options.breakOnWord=false] - If true, truncates at the last whole
 *   word within the limit rather than splitting a word.
 * @returns {string} The processed string, trimmed and truncated if necessary,
 *   with an ellipsis appended if truncation occurred.
 */

const truncate = function truncate(string) {
  let maxLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 160;
  let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  const {
    breakOnWord = false
  } = options;
  if (!string || typeof string !== 'string') return '';
  const trimmed = string.trim();
  if (trimmed.length <= maxLength) return trimmed;
  const limit = maxLength - 1;
  let truncated = trimmed.slice(0, limit);
  if (breakOnWord) {
    const lastSpaceIndex = truncated.lastIndexOf(' ');
    if (lastSpaceIndex > 0) {
      truncated = truncated.slice(0, lastSpaceIndex);
    }
  }
  return `${truncated.trim()}…`;
};

/**
 * Truncates label and generates a truncated tooltip
 *
 * @param {string} label
 * @param {number} labelMaxLength
 * @param {number} tooltipMaxLength
 * @returns {Array<string>}
 */
const truncateLabel = function truncateLabel(label) {
  let labelMaxLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 70;
  let tooltipMaxLength = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 140;
  const needsTruncation = (label === null || label === void 0 ? void 0 : label.length) > labelMaxLength;
  if (!needsTruncation) return [label, ''];
  return [truncate(label, labelMaxLength, {
    breakOnWord: true
  }), truncate(label, tooltipMaxLength, {
    breakOnWord: true
  })];
};

/**
 * Locates a project's type based on its name
 *
 * @param {string} projectName
 * @returns {object}
 */
const getProjectTypeByName = projectName => {
  const projectType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__["default"].getProjectTypes().find(_ref2 => {
    let {
      source
    } = _ref2;
    return source.name === projectName;
  });
  return projectType;
};

/***/ },

/***/ "./modules/commons/util/util.validateLink.js"
/*!***************************************************!*\
  !*** ./modules/commons/util/util.validateLink.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   validateLink: () => (/* binding */ validateLink)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_8__);









/**
 * Build a regex fragment that matches a domain name that MUST end with a
 * lowercase letter-only TLD of length 2–61 (e.g., .com, .se).
 *
 * @returns {string} Regex fragment (no anchors) for a domain ending in a lowercase TLD.
 */
const getDomainWithTldPattern = () => ['(?:', '(?:', '[A-Za-z0-9]', '(?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?', '(?:\\.', '[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?', ')*', ')', '\\.[a-z]{2,61}', ')'].join('');

/**
 * Build a regex fragment that matches an IPv4 address (exactly 4 octets, 0–255 each).
 *
 * @returns {string} Regex fragment for a valid IPv4 address.
 */
const getIPv4Pattern = () => ['(?:', '(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)', '(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}', ')'].join('');

/**
 * Build a regex fragment for an optional port substring.
 *
 * Note:
 * - This matches 1–5 digits (:0'–':99999) and is purely syntactical.
 * - It does NOT enforce the maximum of 65535; the URL parser check does that.
 *
 * @returns {string} Regex fragment for an optional port.
 */
const getOptionalPortPattern = () => '(?::\\d{1,5})?';

/**
 * Single-label hostname (e.g., 'testing', 'ramone'), max 63 chars, no leading/trailing -.
 *
 * @returns {string} Regex fragment for a single-label hostname.
 */
const getSingleLabelHostnamePattern = () => '(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)';

/**
 * Strict host (non-file schemes): domain WITH TLD or IPv4, plus optional port.
 *
 * @returns {string} Regex fragment for a strict host.
 */
const getStrictHostPattern = () => ['(?:', getDomainWithTldPattern(), '|', getIPv4Pattern(), ')', getOptionalPortPattern()].join('');

/**
 * Looser host for file:// URLs: allow single-label hostnames, full domains with TLD, or IPv4.
 * No port for file://.
 *
 * @returns {string} Regex fragment for a file:// host.
 */
const getFileHostPattern = () => ['(?:', getSingleLabelHostnamePattern(), '|', getDomainWithTldPattern(), '|', getIPv4Pattern(), ')'].join('');

/**
 * Predicate: is the given string an IPv4 address (all octets 0–255)?
 *
 * @param {string} hostname - A hostname without port.
 * @returns {boolean} True if `hostname` is a valid IPv4 address.
 */
const isIPv4 = hostname => {
  if (!/^[0-9.]+$/.test(hostname)) return false;
  const parts = hostname.split('.');
  if (parts.length !== 4) return false;
  for (const p of parts) {
    if (p === '') return false;
    if (p.length > 1 && p[0] === '0') return false;
    const n = Number(p);
    if (!Number.isInteger(n) || n < 0 || n > 255) return false;
  }
  return true;
};

/**
 * Predicate: is the given hostname a domain ending with a lowercase letter-only TLD (2–61)?
 *
 * @param {string} hostname - A hostname without port.
 * @returns {boolean} True if it matches a domain with a final lowercase TLD.
 */
const isDomainWithTld = hostname => {
  const domainWithTldRe = new RegExp(`^${getDomainWithTldPattern()}$`);
  return domainWithTldRe.test(hostname);
};

/**
 * Validates whether the host portion of a URL is acceptable given the options:
 * - When `allowFileURI` is true: host checks are bypassed and this returns true.
 * - When `allowIp` is true: accept either a valid IPv4 address
 * or a domain with a lowercase letter-only TLD (2–61).
 * - When `allowIp` is false: accept only a domain with a lowercase letter-only TLD (2–61).
 *
 * @param {string} url - The URL string to validate.
 * @param {boolean} [allowFileURI] - If true, skip host validation.
 * @param {boolean} [allowIp] - If true, IPv4 hosts are allowed in addition to domains with a TLD.
 * @returns {boolean} True if host is valid or bypassed, false otherwise.
 */
const hostIsValid = function hostIsValid(url) {
  let allowFileURI = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  let allowIp = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  if (allowFileURI) return true;
  try {
    const {
      hostname
    } = new URL(url);

    // Reject "IPv4-like" domains unless they are a valid IPv4.
    // Examples rejected: 192.168.1, 192.168.1.abc, 10.0.foo
    const dotted = hostname.split('.');
    const allNumericOrFirstNumeric = dotted.every(p => /^\d+$/.test(p)) || /^\d+$/.test(dotted[0]);
    if (allNumericOrFirstNumeric && !isIPv4(hostname)) return false;
    return allowIp ? isIPv4(hostname) || isDomainWithTld(hostname) : isDomainWithTld(hostname);
  } catch (_unused) {
    return false;
  }
};

/**
 * Builds a RegExp that validates *basic* URIs for a set of protocol patterns.
 *
 * Important:
 * - `protocols` are regex fragments, e.g. 'http(s)?', 'ftp(s)?', 'file'.
 * - The generated expression enforces '://'.
 * - file:// handling:
 *    Accepts 'file://<host>/<path>' or 'file:///<non-slash-start>...'
 *    Rejects a leading double-slash in the path segment after the authority,
 *    e.g. 'file:////path' (the first path char after 'file://' and optional host
 *    may not be '/'). Note: 'file:///path' IS allowed.
 *
 * @param {string[]} protocols - Regex fragments for supported protocols.
 * @returns {RegExp} A compiled regular expression.
 */
const getBasicUriRegExp = protocols => {
  const allowFileURI = protocols.includes('file');
  const protocolsMinusFile = [...protocols].filter(p => p !== 'file');
  const strictHost = getStrictHostPattern();
  const fileHost = getFileHostPattern();
  return allowFileURI ? new RegExp('^(' + `${protocolsMinusFile.join('|')}:/{2}${strictHost}(?:/.*)?` + '|' + 'file:/{2}' + `(?:${fileHost})?/` + '(?!/).+' + ')$') : new RegExp(`^${protocols.join('|')}:/{2}${strictHost}(?:/.*)?$`);
};

/**
 * Generates a list of supported URI protocol patterns (regex fragments).
 *
 * Always includes 'http(s)?'. Optionally includes 'file' and/or 'ftp(s)?'.
 *
 * @param {object} [options] - Options.
 * @param {boolean} [options.allowFileURI] - Include 'file' pattern.
 * @param {boolean} [options.allowFtpURI] - Include 'ftp(s)?' pattern.
 * @returns {string[]} Regex fragments for supported protocols.
 */
const getSupportedProtocols = function getSupportedProtocols() {
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  const protocols = ['http(s)?'];
  if (options.allowFileURI) protocols.push('file');
  if (options.allowFtpURI) protocols.push('ftp(s)?');
  return protocols;
};

/**
 * Validates whether a given URL is acceptable under these rules:
 * - Protocol must match one of: http/https (always), optionally file, optionally ftp/ftps.
 * - Host must be a domain with a lowercase letter-only TLD (2–61) or (if allowed) a valid IPv4.
 * - Ports are allowed syntactically; semantic port range (0–65535) is enforced by the URL parser.
 * - For file:// URLs, host/TLD checks are bypassed when allowFileURI is true, and the host
 *   itself may be single-label (e.g., 'fileserver', 'ramone') or a full domain or IPv4.
 *
 * Caveats:
 * - The file:// branch rejects a leading double-slash in the path segment after the authority
 *   (e.g., 'file:////path'), but allows 'file:///path'.
 *
 * @param {string} url - The URL to validate.
 * @param {object} [options] - Validation options.
 * @param {boolean} [options.allowFileURI] - Allow 'file://' URLs.
 * @param {boolean} [options.allowFtpURI] - Allow 'ftp://' or 'ftps://' URLs.
 * @param {boolean} [options.allowIp] - Allow IPv4 hosts in addition to domains with a TLD.
 * @returns {boolean} True if the URL matches the supported patterns; otherwise false.
 */
const validateLink = function validateLink(url) {
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const {
    allowFileURI = false,
    allowFtpURI = false,
    allowIp = false
  } = options;
  if (!url || !hostIsValid(url, allowFileURI, allowIp)) return false;
  const protocols = getSupportedProtocols({
    allowFileURI,
    allowFtpURI
  });
  const basicUriRegEx = getBasicUriRegExp(protocols);
  return basicUriRegEx.test(url);
};

/***/ },

/***/ "./modules/commons/version/VersionView.js"
/*!************************************************!*\
  !*** ./modules/commons/version/VersionView.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _components_branches__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/branches */ "./modules/commons/version/components/branches/index.js");
/* harmony import */ var _components_versions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/versions */ "./modules/commons/version/components/versions/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => {
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_components_versions__WEBPACK_IMPORTED_MODULE_1__["default"], null), /*#__PURE__*/React.createElement(_components_branches__WEBPACK_IMPORTED_MODULE_0__["default"], null));
});

/***/ },

/***/ "./modules/commons/version/components/branches/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/version/components/branches/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_version_util_fetchBranches__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/version/util/fetchBranches */ "./modules/commons/version/util/fetchBranches.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => {
  const [branch, setBranch] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)('');
  const [branches, setBranches] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)([]);
  const [loading, setLoading] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(true);

  /**
   * Add the branch as a search param and reload.
   *
   * @param {object} event
   */
  const changeBranchHandler = event => {
    const urlQuery = window.location.search;
    const searchParams = new URLSearchParams(urlQuery);
    searchParams.set('branch', event.target.value);
    window.location.assign(`?${searchParams.toString()}`);
  };

  /**
   * Update the state with available branches
   */
  const setAvailableBranches = () => {
    (0,commons_version_util_fetchBranches__WEBPACK_IMPORTED_MODULE_6__.getAvailableBranches)().then(branches => {
      setBranches(branches);
      setLoading(false);
    });
  };
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    setBranch((0,commons_version_util_fetchBranches__WEBPACK_IMPORTED_MODULE_6__.getBranch)());
    setAvailableBranches();
  }, []);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h2", null, "Switch branch"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("p", null, "Your current branch is ", /*#__PURE__*/React.createElement("b", null, branch)), /*#__PURE__*/React.createElement("div", {
    className: "row"
  }, loading ? /*#__PURE__*/React.createElement("div", null, "Fetching available branches...") : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "filled",
    sx: {
      width: '240px'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    id: "branch-select-label"
  }, "Select branch"), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    labelId: "branch-select-label",
    id: "branch-select",
    value: branch,
    onChange: changeBranchHandler
  }, branches.map(branch => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    value: branch,
    key: branch
  }, branch)))))));
});

/***/ },

/***/ "./modules/commons/version/components/versions/index.js"
/*!**************************************************************!*\
  !*** ./modules/commons/version/components/versions/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_version_util_fetchVersions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/version/util/fetchVersions */ "./modules/commons/version/util/fetchVersions.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");







/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => {
  const [version, setVersion] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('');
  const [versions, setVersions] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]);
  const [loading, setLoading] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true);

  /**
   * Make sure to persist the selection of the version in the session
   *
   * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage
   * @param {object} event
   */
  const changeVersionHandler = event => {
    window.sessionStorage.setItem('version', event.target.value);
    window.location.reload();
  };

  /**
   * Update the state with available versions
   */
  const setAvailableVersions = async () => {
    const allVersions = await (0,commons_version_util_fetchVersions__WEBPACK_IMPORTED_MODULE_4__["default"])();
    const reactVersions = allVersions.filter(v => !['1', '2'].includes(v[0]));
    setVersions(reactVersions);
    setLoading(false);
  };
  const resetVersion = () => {
    sessionStorage.removeItem('version');
    setVersion((0,commons_util_config__WEBPACK_IMPORTED_MODULE_3__.getAppVersion)());
    window.location.reload();
  };
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    setVersion((0,commons_util_config__WEBPACK_IMPORTED_MODULE_3__.getAppVersion)());
    setAvailableVersions();
  }, []);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("h2", null, "Switch version"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("br", null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("p", null, "Your current version is ", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("b", null, version)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("div", {
    className: "row",
    style: {
      marginBottom: '48px'
    }
  }, loading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("div", null, "Fetching available versions...") : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    variant: "filled",
    sx: {
      width: '240px'
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "version-select-label"
  }, "Select version"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    labelId: "version-select-label",
    id: "version-select",
    value: version,
    onChange: changeVersionHandler
  }, versions.map(versionName => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    value: versionName,
    key: versionName
  }, versionName)))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("br", null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    onClick: resetVersion,
    size: "small"
  }, "Reset version"))));
});

/***/ },

/***/ "./modules/commons/version/index.js"
/*!******************************************!*\
  !*** ./modules/commons/version/index.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _VersionView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _VersionView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VersionView */ "./modules/commons/version/VersionView.js");


/***/ },

/***/ "./modules/commons/version/util/fetchBranches.js"
/*!*******************************************************!*\
  !*** ./modules/commons/version/util/fetchBranches.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getAvailableBranches: () => (/* binding */ getAvailableBranches),
/* harmony export */   getBranch: () => (/* binding */ getBranch)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_5__);






const STATIC_INFRA_BRANCHES_URL = 'https://static.infra.entryscape.com/branches.json';

/**
 * @returns {string}
 */
const getBranch = () => {
  const urlQuery = window.location.search;
  const searchParams = new URLSearchParams(urlQuery);
  return searchParams.get('branch') || 'unknown';
};
const getAvailableBranches = () => fetch(STATIC_INFRA_BRANCHES_URL).then(res => res.json());


/***/ },

/***/ "./modules/commons/version/util/fetchVersions.js"
/*!*******************************************************!*\
  !*** ./modules/commons/version/util/fetchVersions.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);

const STATIC_INFRA_VERSIONS_URL = 'https://static.infra.entryscape.com/versions.json';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => fetch(STATIC_INFRA_VERSIONS_URL).then(res => res.json()));

/***/ },

/***/ "./modules/commons/view/Error/index.js"
/*!*********************************************!*\
  !*** ./modules/commons/view/Error/index.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoPermission.nls */ "./modules/commons/nls/escoPermission.nls");
/* harmony import */ var commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./index.scss */ "./modules/commons/view/Error/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const Error = _ref => {
  let {
    header,
    body
  } = _ref;
  const themePath = config__WEBPACK_IMPORTED_MODULE_6__["default"].get('theme.default.themePath');
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_9___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "escoError"
  }, /*#__PURE__*/React.createElement("img", {
    src: new URL('images/error.svg', themePath).href,
    alt: t('errorImageAlt')
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "h1",
    className: "escoError__header",
    gutterBottom: true
  }, header), /*#__PURE__*/React.createElement("p", {
    className: "escoError__body"
  }, body));
};
Error.propTypes = {
  header: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string).isRequired,
  body: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Error);

/***/ },

/***/ "./modules/commons/view/Permission/index.js"
/*!**************************************************!*\
  !*** ./modules/commons/view/Permission/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/nls/escoPermission.nls */ "./modules/commons/nls/escoPermission.nls");
/* harmony import */ var commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_view_Error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/view/Error */ "./modules/commons/view/Error/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



const PermissionView = () => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_0__.useTranslation)((commons_nls_escoPermission_nls__WEBPACK_IMPORTED_MODULE_1___default()));
  return /*#__PURE__*/React.createElement(commons_view_Error__WEBPACK_IMPORTED_MODULE_2__["default"], {
    header: t('permissionHeader'),
    body: t('permissionBody')
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PermissionView);

/***/ },

/***/ "./modules/commons/webpack/paths.js"
/*!******************************************!*\
  !*** ./modules/commons/webpack/paths.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BASE_PATH: () => (/* binding */ BASE_PATH),
/* harmony export */   DEFAULT_ASSETS_PATH: () => (/* binding */ DEFAULT_ASSETS_PATH),
/* harmony export */   STATIC_PATH: () => (/* binding */ STATIC_PATH)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6__);







/* eslint-disable no-undef */
/**
 * Free variables defined in webpack on during build
 * {boolean} DEVELOPMENT
 * {string} DEVELOPMENT_HOST
 * {string} VERSION
 */

/**
 * store version build number in session
 */
// window.sessionStorage.setItem('version', VERSION);

/**
 * determine a default base path for assets
 */
const {
  localBuild,
  static: staticConfig
} = __entryscape_config.entryscape;
let basePath;
if (false) // removed by dead control flow
{} else if (localBuild) {
  // entryscape.static.url needed in config when entryscape.localBuild = true
  basePath = staticConfig.url.replace(/\/?$/, '/');
} else {
  // all entryscape.static.<url|app|version> needed when it's not a local build and DEVELOPMENT = false
  const {
    url,
    app,
    version
  } = staticConfig;
  basePath = new URL(`${app}/${version}/`, url).href;
}
const BASE_PATH = basePath;
const DEFAULT_ASSETS_PATH = new URL('assets/', BASE_PATH).href;
const STATIC_PATH = "https://static.entryscape.com";


/***/ },

/***/ "./modules/commons/webpack/publicPath.js"
/*!***********************************************!*\
  !*** ./modules/commons/webpack/publicPath.js ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _paths__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./paths */ "./modules/commons/webpack/paths.js");


/**
 * NOTE! this is needed to set the webpack public path on the fly.
 * @see https://webpack.js.org/guides/public-path/
 */

// webpack dedicated free variable
__webpack_require__.p = _paths__WEBPACK_IMPORTED_MODULE_0__.BASE_PATH; // eslint-disable-line

/***/ },

/***/ "./modules/harvest/Information/Information.js"
/*!****************************************************!*\
  !*** ./modules/harvest/Information/Information.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/usePageTitle */ "./modules/commons/hooks/usePageTitle.js");
/* harmony import */ var harvest_dialogs_EditPipelineDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/dialogs/EditPipelineDialog */ "./modules/harvest/dialogs/EditPipelineDialog/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var harvest_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! harvest/util */ "./modules/harvest/util/index.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var _PipelinePresenter__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./PipelinePresenter */ "./modules/harvest/Information/PipelinePresenter/index.js");
/* harmony import */ var _Information_scss__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Information.scss */ "./modules/harvest/Information/Information.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const Information = _ref => {
  let {
    contextId
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)([(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8___default())]);
  const [pageTitle, setPageTitle] = (0,commons_hooks_usePageTitle__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const {
    data: {
      pipelineEntry,
      sourceData
    },
    runAsync,
    status,
    isLoading,
    error
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])({
    data: {}
  });
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_12__["default"])(error);
  const [editDialogOpen, setEditDialogOpen] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const isEditButtonVisible = pipelineEntry === null || pipelineEntry === void 0 ? void 0 : pipelineEntry.canWriteResource();
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (status !== 'idle') return;
    runAsync((0,harvest_util__WEBPACK_IMPORTED_MODULE_13__.fetchSourceData)(contextId));
  }, [contextId, runAsync, status]);
  const onSave = () => runAsync((0,harvest_util__WEBPACK_IMPORTED_MODULE_13__.fetchSourceData)(contextId).then(data => {
    const {
      title
    } = data.sourceData;
    if (title !== pageTitle) setPageTitle(title);
    return data;
  }));
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_14__["default"], null);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "esreInformation"
  }, /*#__PURE__*/React.createElement("div", {
    className: "esreInformation__data"
  }, /*#__PURE__*/React.createElement(_PipelinePresenter__WEBPACK_IMPORTED_MODULE_15__["default"], {
    sourceData: sourceData,
    contextId: contextId
  })), /*#__PURE__*/React.createElement("div", {
    className: "esreInformation__actions"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, isEditButtonVisible ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "esreInformation_sidebarItem"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "esreInformation__actionButton",
    onClick: () => setEditDialogOpen(true),
    fullWidth: true
  }, translate('configureButton'))) : null))), editDialogOpen ? /*#__PURE__*/React.createElement(harvest_dialogs_EditPipelineDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    open: editDialogOpen,
    onClose: () => setEditDialogOpen(false),
    sourceData: sourceData,
    pipelineEntry: pipelineEntry,
    onSave: onSave
  }) : null);
};
Information.propTypes = {
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Information);

/***/ },

/***/ "./modules/harvest/Information/InformationView.js"
/*!********************************************************!*\
  !*** ./modules/harvest/Information/InformationView.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index */ "./modules/harvest/Information/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const InformationView = () => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__.useESContext)();
  return /*#__PURE__*/React.createElement(_index__WEBPACK_IMPORTED_MODULE_1__["default"], {
    contextId: context.getId()
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InformationView);

/***/ },

/***/ "./modules/harvest/Information/PipelinePresenter/PipelinePresenter.js"
/*!****************************************************************************!*\
  !*** ./modules/harvest/Information/PipelinePresenter/PipelinePresenter.js ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdforms */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/nls/esrePipelineResultListDialog.nls */ "./modules/harvest/nls/esrePipelineResultListDialog.nls");
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_components_InformationBlock__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/InformationBlock */ "./modules/commons/components/InformationBlock/index.js");
/* harmony import */ var commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/buttons/ExpandButton */ "./modules/commons/components/buttons/ExpandButton/index.js");
/* harmony import */ var commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useAsyncCallback */ "./modules/commons/hooks/useAsyncCallback.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var _TransformsPresenter__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../TransformsPresenter */ "./modules/harvest/Information/TransformsPresenter/index.js");
/* harmony import */ var _PipelinePresenter_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./PipelinePresenter.scss */ "./modules/harvest/Information/PipelinePresenter/PipelinePresenter.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["errors", "isPublic", "projectType", "transforms", "sourceUrl"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


















const NLS_BUNDLES = [(harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10___default()), (harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_11___default())];
const PipelinePresenter = _ref => {
  let {
    sourceData: allData,
    showOnlyMetadata,
    contextId
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(NLS_BUNDLES);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_16__.useUserState)();
  const [groupEntry] = (0,commons_hooks_useAsyncCallback__WEBPACK_IMPORTED_MODULE_14__["default"])(commons_util_store__WEBPACK_IMPORTED_MODULE_15__.getGroupByHomeContextId, contextId);
  const isTransformsButtonVisible = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_17__.hasAdminRights)(userEntry) || groupEntry && (0,commons_util_user__WEBPACK_IMPORTED_MODULE_17__.isManager)(groupEntry, userEntry);
  const {
      errors: _errors,
      isPublic: _isPublic,
      projectType: _projectType,
      transforms,
      sourceUrl
    } = allData,
    data = _objectWithoutProperties(allData, _excluded);
  const pipelineDataNLS = {
    title: translate('cPTitle'),
    description: translate('cPDescription'),
    username: translate('cPUsernameLabel'),
    psi: translate('cpWebpage'),
    orgId: translate('cpOrgId'),
    sourceUrl: translate('epUrl')
  };
  const textConfig = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('registry.contactText');
  const contactText = textConfig ? _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_6__.utils.getLocalizedValue(textConfig).value : '';
  const headerConfig = config__WEBPACK_IMPORTED_MODULE_7__["default"].get('registry.contactTextHeader');
  const contactTextHeader = headerConfig ? _entryscape_rdforms__WEBPACK_IMPORTED_MODULE_6__.utils.getLocalizedValue(headerConfig).value : '';
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    "aria-label": translate('organizationInformation')
  }, Object.keys(data).filter(key => data[key] && key !== 'recipe').map(key => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    classes: {
      root: 'esreInformation__ListItem'
    },
    key: key
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    classes: {
      primary: 'esreInformation__Label'
    },
    primary: pipelineDataNLS[key]
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    primary: data[key]
  }))), transforms.map(_ref2 => {
    let {
      args
    } = _ref2;
    return Object.keys(args).map(key => {
      var _args$key;
      if (!args[key].visible || !args[key].value) return null;
      return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
        classes: {
          root: 'esreInformation__ListItem'
        },
        key: key
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        classes: {
          primary: 'esreInformation__Label'
        },
        primary: (0,commons_locale__WEBPACK_IMPORTED_MODULE_8__.localize)((_args$key = args[key]) === null || _args$key === void 0 ? void 0 : _args$key.label) || key
      }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
        primary: args[key].value
      }));
    });
  })), showOnlyMetadata ? null : /*#__PURE__*/React.createElement(React.Fragment, null, isTransformsButtonVisible ? /*#__PURE__*/React.createElement(commons_components_buttons_ExpandButton__WEBPACK_IMPORTED_MODULE_13__["default"], {
    alternativeClass: "esrePipelinePresenter__transformsButton",
    nlsBundles: [(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_11___default())],
    nlsKeys: {
      show: 'showTransforms',
      hide: 'hideTransforms'
    }
  }, /*#__PURE__*/React.createElement(_TransformsPresenter__WEBPACK_IMPORTED_MODULE_18__["default"], {
    transforms: transforms
  })) : null, /*#__PURE__*/React.createElement(commons_components_InformationBlock__WEBPACK_IMPORTED_MODULE_12__["default"], {
    header: contactTextHeader,
    info: contactText,
    className: "esreInformation__infoBlock"
  })));
};
PipelinePresenter.propTypes = {
  sourceData: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    title: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    description: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    username: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    psi: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    orgId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    sourceUrl: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    errors: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
    isPublic: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
    transforms: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({})),
    projectType: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
  }),
  showOnlyMetadata: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PipelinePresenter);

/***/ },

/***/ "./modules/harvest/Information/PipelinePresenter/index.js"
/*!****************************************************************!*\
  !*** ./modules/harvest/Information/PipelinePresenter/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PipelinePresenter__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PipelinePresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PipelinePresenter */ "./modules/harvest/Information/PipelinePresenter/PipelinePresenter.js");


/***/ },

/***/ "./modules/harvest/Information/TransformsPresenter/TransformsPresenter.js"
/*!********************************************************************************!*\
  !*** ./modules/harvest/Information/TransformsPresenter/TransformsPresenter.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _useTimelineComponents__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./useTimelineComponents */ "./modules/harvest/Information/TransformsPresenter/useTimelineComponents.js");
/* harmony import */ var _nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var _nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../forms/PipelineFormModel */ "./modules/harvest/forms/PipelineFormModel.js");
/* harmony import */ var _TransformsPresenter_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./TransformsPresenter.scss */ "./modules/harvest/Information/TransformsPresenter/TransformsPresenter.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const TransformsPresenter = _ref => {
  let {
    transforms
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12___default())]);
  const {
    status: componentLoadingStatus,
    Timeline,
    TimelineItem,
    TimelineDot,
    TimelineConnector,
    TimelineContent,
    TimelineOppositeContent,
    TimelineSeparator
  } = (0,_useTimelineComponents__WEBPACK_IMPORTED_MODULE_11__["default"])();
  if (componentLoadingStatus !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_9__.RESOLVED) return null;
  return transforms.length ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    variant: "h2",
    className: "esreTransformsPresenter__header"
  }, translate('genericPipelineHeader')), /*#__PURE__*/React.createElement(Timeline, null, transforms.map((_ref2, index) => {
    let {
      id,
      type,
      priority,
      args = {}
    } = _ref2;
    const argumentPairs = Object.entries(args).filter(_ref3 => {
      let [, value] = _ref3;
      return value;
    });
    return /*#__PURE__*/React.createElement(TimelineItem, {
      key: id
    }, /*#__PURE__*/React.createElement(TimelineOppositeContent, {
      classes: {
        root: 'esreTransformsPresenter__timelineOppositeContent'
      }
    }, priority - 1), /*#__PURE__*/React.createElement(TimelineSeparator, null, /*#__PURE__*/React.createElement(TimelineDot, null), index !== transforms.length - 1 ? /*#__PURE__*/React.createElement(TimelineConnector, null) : null), /*#__PURE__*/React.createElement(TimelineContent, {
      component: "div"
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      className: "esreTransformsPresenter__name"
    }, type), argumentPairs.length ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      className: "esreTransformsPresenter__Table",
      size: "small"
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null, argumentPairs.map(_ref4 => {
      let [key, value] = _ref4;
      if (typeof value !== 'object') {
        return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
          key: key
        }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
          className: "esreTransformsPresenter__TableCell--first"
        }, _forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_13__.labelOverrides[key] || key), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], null, value));
      }
      const {
        value: actualValue,
        label
      } = value;
      return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
        key: key
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
        className: "esreTransformsPresenter__TableCell--first"
      }, label ? (0,commons_locale__WEBPACK_IMPORTED_MODULE_10__.localizeLabel)(label) : _forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_13__.labelOverrides[key] || key), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], null, actualValue));
    }))) : null));
  }))) : null;
};
TransformsPresenter.propTypes = {
  transforms: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TransformsPresenter);

/***/ },

/***/ "./modules/harvest/Information/TransformsPresenter/index.js"
/*!******************************************************************!*\
  !*** ./modules/harvest/Information/TransformsPresenter/index.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _TransformsPresenter__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _TransformsPresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TransformsPresenter */ "./modules/harvest/Information/TransformsPresenter/TransformsPresenter.js");


/***/ },

/***/ "./modules/harvest/Information/TransformsPresenter/useTimelineComponents.js"
/*!**********************************************************************************!*\
  !*** ./modules/harvest/Information/TransformsPresenter/useTimelineComponents.js ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const loadMuiLab = () => __webpack_require__.e(/*! import() | mui-lab */ "mui-lab").then(__webpack_require__.bind(__webpack_require__, /*! @mui/lab */ "./node_modules/.pnpm/@mui+lab@7.0.0-beta.17_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emoti_5e262adf79247305ed4159a40e1975e1/node_modules/@mui/lab/esm/index.js"));
const useTimelineComponents = () => {
  const {
    data: muiLab,
    status,
    error,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])({
    data: {}
  });
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_6__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (status !== 'idle') return;
    runAsync(loadMuiLab());
  }, [status, runAsync]);
  return _objectSpread(_objectSpread({}, muiLab), {}, {
    status,
    error
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTimelineComponents);

/***/ },

/***/ "./modules/harvest/Information/index.js"
/*!**********************************************!*\
  !*** ./modules/harvest/Information/index.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Information__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Information__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Information */ "./modules/harvest/Information/Information.js");


/***/ },

/***/ "./modules/harvest/LinkCheckReport/LinkCheckReport.js"
/*!************************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/LinkCheckReport.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Card/Card.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardContent/CardContent.js");
/* harmony import */ var _mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material/OpenInNew */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _mui_icons_material_ThumbUp__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/ThumbUp */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ThumbUp.js");
/* harmony import */ var commons_components_chart_Doughnut__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/chart/Doughnut */ "./modules/commons/components/chart/Doughnut/index.js");
/* harmony import */ var commons_components_chart_colors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/chart/colors */ "./modules/commons/components/chart/colors.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! harvest/nls/esreLinkCheckReport.nls */ "./modules/harvest/nls/esreLinkCheckReport.nls");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var harvest_LinkCheckReport_tables_FailedLinks__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! harvest/LinkCheckReport/tables/FailedLinks */ "./modules/harvest/LinkCheckReport/tables/FailedLinks.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _LinkCheckReport_scss__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./LinkCheckReport.scss */ "./modules/harvest/LinkCheckReport/LinkCheckReport.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


















const LinkCheckReport = _ref => {
  let {
    contextId
  } = _ref;
  const [failedLinks, setFailedLinks] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)([]);
  const {
    runAsync,
    data: report,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_19__["default"])();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)((harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_14___default()));
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    const fetchData = () => (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_15__.loadLinkCheckReport)(contextId);
    runAsync(fetchData());
  }, [contextId, runAsync]);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!(0,lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"])(report)) {
      const brokenLinks = report.resource.filter(check => check.status === 'broken');
      setFailedLinks(brokenLinks);
    }
  }, [report]);
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_18__["default"], null);
  return !(0,lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"])(report) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "esreLinkCheck__HeaderContainer"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    variant: "h2",
    component: "h3"
  }, `${t('linkCheckReportHeader')} - ${report.createdAt.substring(0, report.createdAt.indexOf('T'))}`), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    classes: {
      root: 'esreOpenNewLink__Link'
    },
    href: report.resourceURI,
    target: "_blank"
  }, t('viewRawData'), /*#__PURE__*/React.createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_9__["default"], {
    classes: {
      root: 'esreViewRawData__Icon'
    }
  }))), /*#__PURE__*/React.createElement(commons_components_chart_Doughnut__WEBPACK_IMPORTED_MODULE_11__["default"], {
    data: {
      datasets: [{
        data: [report.failedLinkChecks, report.excludedLinkChecks, report.linkChecks - report.failedLinkChecks - report.excludedLinkChecks]
      }],
      labels: [t('failed'), t('excluded'), t('successful')]
    },
    type: "pie",
    colors: commons_components_chart_colors__WEBPACK_IMPORTED_MODULE_12__.COLOURS_PIE_STATUS,
    dimensions: {
      height: '180px'
    }
    // Important: Dimension attributes don't work without the following.
    // Only passed width is used and height is calculated according to aspect ratio,
    // ignoring the vnode attr.
    ,
    options: {
      maintainAspectRatio: false
    }
  }), /*#__PURE__*/React.createElement("div", {
    className: "esreLinkCheckDashboard"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "esreLinkCheckDashboard__Card"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    variant: "h1",
    component: "span"
  }, report.linkChecks), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    variant: "body1"
  }, t('total')))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "esreLinkCheckDashboard__Card"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    classes: {
      root: 'esreLinkCheckDashboard__CardContent--failed'
    },
    variant: "h1",
    component: "span"
  }, report.failedLinkChecks), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    variant: "body1"
  }, t('failed')))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "esreLinkCheckDashboard__Card"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    classes: {
      root: 'esreLinkCheckDashboard__CardContent--excluded'
    },
    variant: "h1",
    component: "span"
  }, report.excludedLinkChecks), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    variant: "body1"
  }, t('excluded'))))), !(0,lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"])(failedLinks) ? /*#__PURE__*/React.createElement(harvest_LinkCheckReport_tables_FailedLinks__WEBPACK_IMPORTED_MODULE_16__["default"], {
    failedLinks: failedLinks
  }) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_17__["default"], {
    icon: /*#__PURE__*/React.createElement(_mui_icons_material_ThumbUp__WEBPACK_IMPORTED_MODULE_10__["default"], {
      color: "primary"
    }),
    label: t('noBrokenPlaceholder')
  }))) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_17__["default"], {
    label: t('placeholder')
  }));
};
LinkCheckReport.propTypes = {
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LinkCheckReport);

/***/ },

/***/ "./modules/harvest/LinkCheckReport/View.js"
/*!*************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/View.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index */ "./modules/harvest/LinkCheckReport/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const LinkCheckReportView = () => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__.useESContext)();
  return /*#__PURE__*/React.createElement(_index__WEBPACK_IMPORTED_MODULE_1__["default"], {
    contextId: context.getId()
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LinkCheckReportView);

/***/ },

/***/ "./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/LinkCheckDetails.js"
/*!**************************************************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/LinkCheckDetails.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var harvest_LinkCheckReport_tables_Details__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! harvest/LinkCheckReport/tables/Details */ "./modules/harvest/LinkCheckReport/tables/Details.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/nls/esreLinkCheckReport.nls */ "./modules/harvest/nls/esreLinkCheckReport.nls");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_components_EntryListView_lists_ReferenceEntriesList__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/EntryListView/lists/ReferenceEntriesList */ "./modules/commons/components/EntryListView/lists/ReferenceEntriesList/index.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./index.scss */ "./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const LinkCheckDetails = _ref => {
  let {
    open,
    onClose,
    selectedEntryData,
    selectedLinkCheckResult
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const {
    data: linkCheckEntry,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_10__["default"])(null);
  const entryURI = selectedEntryData[2].value;
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (!entryURI) return;
    runAsync(commons_store__WEBPACK_IMPORTED_MODULE_2__.entrystore.getEntry(entryURI));
  }, [entryURI, runAsync, selectedEntryData]);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    "aria-labelledby": t('linkCheckDialogHeader'),
    open: open,
    fullWidth: true,
    maxWidth: "lg",
    onClose: onClose
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    classes: {
      root: 'esreLinkCheck__Header'
    }
  }, t('linkCheckDialogHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null, /*#__PURE__*/React.createElement(harvest_LinkCheckReport_tables_Details__WEBPACK_IMPORTED_MODULE_8__["default"], {
    data: selectedLinkCheckResult,
    tableHeaderNLSKey: "linkCheckResult"
  }), /*#__PURE__*/React.createElement(harvest_LinkCheckReport_tables_Details__WEBPACK_IMPORTED_MODULE_8__["default"], {
    data: selectedEntryData,
    tableHeaderNLSKey: "entryData"
  }), linkCheckEntry ? /*#__PURE__*/React.createElement(commons_components_EntryListView_lists_ReferenceEntriesList__WEBPACK_IMPORTED_MODULE_12__["default"], {
    entry: linkCheckEntry,
    title: t('entryReferencesTitle'),
    titleClasses: "linkCheckDetails__referencesTitle"
  }) : null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    onClick: onClose,
    variant: "text"
  }, t('linkCheckDialogFooterButton'))));
};
LinkCheckDetails.propTypes = {
  open: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  selectedEntryData: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  })).isRequired,
  selectedLinkCheckResult: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LinkCheckDetails);

/***/ },

/***/ "./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.js"
/*!***************************************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _LinkCheckDetails__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _LinkCheckDetails__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LinkCheckDetails */ "./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/LinkCheckDetails.js");


/***/ },

/***/ "./modules/harvest/LinkCheckReport/index.js"
/*!**************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _LinkCheckReport__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _LinkCheckReport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LinkCheckReport */ "./modules/harvest/LinkCheckReport/LinkCheckReport.js");


/***/ },

/***/ "./modules/harvest/LinkCheckReport/tables/Details.js"
/*!***********************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/tables/Details.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! harvest/nls/esreLinkCheckReport.nls */ "./modules/harvest/nls/esreLinkCheckReport.nls");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_8__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const Details = _ref => {
  let {
    data,
    tableHeaderNLSKey
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h3", {
    className: "esreTable__header"
  }, t(tableHeaderNLSKey)), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_4__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_6__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: "small",
    "aria-label": t(tableHeaderNLSKey)
  }, /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_2__["default"], null, data.filter(item => item.value).map(item => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_5__["default"], {
    hover: true,
    key: item.label
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "esreTableCell--bold",
    component: "th",
    scope: "row"
  }, t(item.label)), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_3__["default"], null, item.value)))))));
};
Details.propTypes = {
  tableHeaderNLSKey: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
  data: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Details);

/***/ },

/***/ "./modules/harvest/LinkCheckReport/tables/FailedLinks.js"
/*!***************************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/tables/FailedLinks.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableHead__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TableHead */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableSortLabel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/TableSortLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableSortLabel/TableSortLabel.js");
/* harmony import */ var _mui_icons_material_ArrowDropUp__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/ArrowDropUp */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropUp.js");
/* harmony import */ var _mui_material_Link__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/Link */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/TablePagination.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! harvest/nls/esreLinkCheckReport.nls */ "./modules/harvest/nls/esreLinkCheckReport.nls");
/* harmony import */ var harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var harvest_LinkCheckReport_dialogs_LinkCheckDetails__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! harvest/LinkCheckReport/dialogs/LinkCheckDetails */ "./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





















const getLinkCheckResult = _ref => {
  let {
    uri,
    status,
    statusCode,
    statusMessage,
    attempts,
    checkedAt
  } = _ref;
  return [{
    label: 'uri',
    value: uri
  }, {
    label: 'status',
    value: status
  }, {
    label: 'statusCode',
    value: statusCode
  }, {
    label: 'statusMessage',
    value: statusMessage
  }, {
    label: 'attempts',
    value: attempts
  }, {
    label: 'checkedAt',
    value: checkedAt
  }];
};
const getEntryData = _ref2 => {
  let {
    entryType,
    entryLabel,
    entryURI,
    property
  } = _ref2;
  return [{
    label: 'entryType',
    value: entryType
  }, {
    label: 'entryLabel',
    value: entryLabel
  }, {
    label: 'entryURI',
    value: entryURI
  }, {
    label: 'property',
    value: property
  }];
};

/**
 *
 * @param {object} a
 * @param {object} b
 * @param {string} orderBy
 * @returns {number}
 */
const descendingComparator = (a, b, orderBy) => {
  if (b[orderBy] < a[orderBy]) {
    return -1;
  }
  if (b[orderBy] > a[orderBy]) {
    return 1;
  }
  return 0;
};

/**
 *
 * @param {string} order
 * @param {string} orderBy
 * @returns {Function}
 */
const getComparator = (order, orderBy) => {
  return order === 'desc' ? (a, b) => descendingComparator(a, b, orderBy) : (a, b) => -descendingComparator(a, b, orderBy);
};
const LIMIT = 10;
const URI = 'uri';
const STATUS = 'status';
const SortableTableCell = _ref3 => {
  let {
    label,
    property,
    order,
    orderBy,
    handleSort,
    align = 'center'
  } = _ref3;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20___default()));
  const tooltip = order === 'asc' ? translate('sortFieldInDesc', property) : translate('sortFieldInAsc', property);
  const active = orderBy === property;
  return /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_8__["default"], {
    align: align,
    sortDirection: orderBy === URI ? order : false
  }, /*#__PURE__*/React.createElement(_mui_material_TableSortLabel__WEBPACK_IMPORTED_MODULE_9__["default"], {
    active: active,
    direction: active ? order : 'asc',
    onClick: () => handleSort(property),
    IconComponent: _mui_icons_material_ArrowDropUp__WEBPACK_IMPORTED_MODULE_10__["default"],
    title: tooltip
  }, label));
};
SortableTableCell.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  property: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf([URI, STATUS]),
  order: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(['asc', 'desc']),
  orderBy: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf([URI, STATUS]),
  handleSort: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  align: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(['center', 'left', 'right'])
};
const FailedLinks = _ref4 => {
  let {
    failedLinks
  } = _ref4;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)((harvest_nls_esreLinkCheckReport_nls__WEBPACK_IMPORTED_MODULE_19___default()));
  const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [selectedEntryData, setSelectedEntryData] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [selectedLinkCheckResult, setLinkCheckResult] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [page, setPageNumber] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(0);
  const [failedLinksPerPage, setFailedLinksPerPage] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [order, setOrder] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('asc');
  const [orderBy, setOrderBy] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(URI);
  const count = failedLinks.length;
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const sorted = failedLinks.sort(getComparator(order, orderBy));
    if (count) {
      setFailedLinksPerPage(sorted.slice(page * LIMIT, (page + 1) * LIMIT));
    }
  }, [count, failedLinks, page, order, orderBy]);
  const handleClick = failedLink => {
    setOpen(true);
    setSelectedEntryData(getEntryData(failedLink));
    setLinkCheckResult(getLinkCheckResult(failedLink));
  };
  const handleSort = property => {
    const isAsc = orderBy === property && order === 'asc';
    setOrder(isAsc ? 'desc' : 'asc');
    setOrderBy(property);
  };
  return /*#__PURE__*/React.createElement("div", null, failedLinks.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h3", {
    className: "esreTable__header"
  }, translate('failedHeader')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_15__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_17__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_5__["default"], {
    size: "small",
    "aria-label": translate('failedHeader')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_16__["default"], null, /*#__PURE__*/React.createElement(SortableTableCell, {
    label: translate('uri'),
    property: URI,
    order: order,
    orderBy: orderBy,
    handleSort: handleSort,
    align: "left"
  }), /*#__PURE__*/React.createElement(SortableTableCell, {
    label: translate('status'),
    property: STATUS,
    order: order,
    orderBy: orderBy,
    handleSort: handleSort
  }), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_8__["default"], {
    className: "esreTableCell--bold",
    align: "center"
  }, translate('details')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_7__["default"], null, failedLinksPerPage.map(failedLink => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_16__["default"], {
    hover: true,
    key: failedLink.uri
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_8__["default"], {
    className: "esreTableCell--bold",
    component: "th",
    scope: "row"
  }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_12__["default"], {
    classes: {
      root: 'esreUriLink'
    }
  }, /*#__PURE__*/React.createElement(_mui_material_Link__WEBPACK_IMPORTED_MODULE_11__["default"], {
    href: failedLink.uri,
    color: "inherit",
    target: "_blank",
    rel: "noopener"
  }, failedLink.uri))), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_8__["default"], {
    classes: {
      root: 'esreTableCell--broken'
    },
    align: "center"
  }, failedLink.statusMessage), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_8__["default"], {
    align: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    onClick: () => handleClick(failedLink),
    variant: "text"
  }, translate('view'))))))), open && /*#__PURE__*/React.createElement(harvest_LinkCheckReport_dialogs_LinkCheckDetails__WEBPACK_IMPORTED_MODULE_21__["default"], {
    open: open,
    onClose: () => setOpen(false),
    selectedEntryData: selectedEntryData,
    selectedLinkCheckResult: selectedLinkCheckResult
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
    component: "div",
    count: count,
    page: page,
    onPageChange: (_, newPage) => {
      setPageNumber(newPage);
    },
    rowsPerPage: LIMIT,
    rowsPerPageOptions: []
  })));
};
FailedLinks.propTypes = {
  failedLinks: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FailedLinks);

/***/ },

/***/ "./modules/harvest/Notifications/EditableEmailField/EditableEmailField.js"
/*!********************************************************************************!*\
  !*** ./modules/harvest/Notifications/EditableEmailField/EditableEmailField.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Save.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");










const EditableEmailField = _ref => {
  let {
    email,
    onSave
  } = _ref;
  const [isEditMode, setIsEditMode] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const [emailValue, setEmailValue] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(email);
  const [hasError, setHasError] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_12___default()));
  const handleEmailChange = event => {
    const isValid = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_13__.validateEmail)(event.target.value);
    if (!isValid) {
      setHasError(true);
    } else {
      setHasError(false);
    }
    setEmailValue(event.target.value);
  };
  const handleSaveEmail = () => {
    onSave(emailValue);
    setIsEditMode(false);
  };
  const handleCancelEmailEdit = () => {
    setEmailValue(email);
    setIsEditMode(false);
  };
  return /*#__PURE__*/React.createElement("div", {
    className: "esreNotifications__view"
  }, isEditMode ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    label: translate('email'),
    id: "email",
    value: emailValue,
    onChange: handleEmailChange,
    error: !emailValue || hasError,
    helperText: (!emailValue || hasError) && translate('invalidEmail'),
    slotProps: {
      input: {
        endAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
          position: "end"
        }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_11__["default"], {
          title: translate('cancel')
        }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
          "aria-label": translate('cancel'),
          onClick: handleCancelEmailEdit,
          "data-testid": "cancel-button"
        }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null))), /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_11__["default"], {
          title: translate('epEdit')
        }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
          "aria-label": translate('epEdit'),
          onClick: handleSaveEmail,
          disabled: !emailValue || hasError,
          "data-testid": "save-button"
        }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"], null))))
      }
    }
  }) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    disabled: true,
    label: translate('email'),
    id: "email",
    value: email,
    slotProps: {
      input: {
        endAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
          position: "end"
        }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_11__["default"], {
          title: translate('configureButton')
        }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
          "aria-label": translate('configureButton'),
          onClick: () => setIsEditMode(true),
          "data-testid": "configure-button"
        }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null))))
      }
    }
  }));
};
EditableEmailField.propTypes = {
  email: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string).isRequired,
  onSave: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditableEmailField);

/***/ },

/***/ "./modules/harvest/Notifications/EditableEmailField/index.js"
/*!*******************************************************************!*\
  !*** ./modules/harvest/Notifications/EditableEmailField/index.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EditableEmailField__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EditableEmailField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditableEmailField */ "./modules/harvest/Notifications/EditableEmailField/EditableEmailField.js");


/***/ },

/***/ "./modules/harvest/Notifications/Notifications.js"
/*!********************************************************!*\
  !*** ./modules/harvest/Notifications/Notifications.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   INIT_ERROR: () => (/* binding */ INIT_ERROR),
/* harmony export */   INIT_SUCCESS: () => (/* binding */ INIT_SUCCESS),
/* harmony export */   SAVE_ERROR: () => (/* binding */ SAVE_ERROR),
/* harmony export */   SAVE_START: () => (/* binding */ SAVE_START),
/* harmony export */   SAVE_SUCCESS: () => (/* binding */ SAVE_SUCCESS),
/* harmony export */   UPDATE_SETTING: () => (/* binding */ UPDATE_SETTING),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   initialState: () => (/* binding */ initialState),
/* harmony export */   reducer: () => (/* binding */ reducer)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/common/Switch */ "./modules/commons/components/common/Switch/index.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! harvest/Notifications/util/options */ "./modules/harvest/Notifications/util/options.js");
/* harmony import */ var harvest_Notifications_util_store__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! harvest/Notifications/util/store */ "./modules/harvest/Notifications/util/store.js");
/* harmony import */ var commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/Loader/Loader */ "./modules/commons/components/Loader/Loader.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var _EditableEmailField__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./EditableEmailField */ "./modules/harvest/Notifications/EditableEmailField/index.js");
/* harmony import */ var _Notifications_scss__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Notifications.scss */ "./modules/harvest/Notifications/Notifications.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
















const initialState = {
  entry: null,
  email: '',
  harvesting: harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF,
  validation: harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF,
  isSaving: false,
  isLoading: true,
  error: null
};
const INIT_SUCCESS = 'INIT_SUCCESS';
const INIT_ERROR = 'INIT_ERROR';
const UPDATE_SETTING = 'UPDATE_SETTING';
const SAVE_START = 'SAVE_START';
const SAVE_SUCCESS = 'SAVE_SUCCESS';
const SAVE_ERROR = 'SAVE_ERROR';
const reducer = (state, action) => {
  switch (action.type) {
    case INIT_SUCCESS:
      return _objectSpread(_objectSpread({}, state), {}, {
        isLoading: false,
        entry: action.value.entry,
        email: action.value.email,
        harvesting: action.value.harvesting,
        validation: action.value.validation
      });
    case INIT_ERROR:
      return _objectSpread(_objectSpread({}, state), {}, {
        isLoading: false,
        error: action.value
      });
    case UPDATE_SETTING:
      return _objectSpread(_objectSpread({}, state), {}, {
        [action.field]: action.value
      });
    case SAVE_START:
      return _objectSpread(_objectSpread({}, state), {}, {
        isSaving: true
      });
    case SAVE_SUCCESS:
      return _objectSpread(_objectSpread({}, state), {}, {
        isSaving: false
      });
    case SAVE_ERROR:
      return _objectSpread(_objectSpread({}, state), {}, {
        isSaving: false
      });
    default:
      throw new Error(`${action.type} is not a valid action type`);
  }
};
const NotificationsView = () => {
  const translation = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)((harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14___default()));
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_4__.useESContext)();
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_5__.useUserState)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_20__.useSnackbar)();
  const isInitialMount = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(true);
  const [{
    email,
    harvesting,
    validation,
    isLoading,
    isSaving,
    error,
    entry
  }, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useReducer)(reducer, initialState);
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_22__["default"])(error);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    const fetchInitialData = async () => {
      try {
        const {
          pipelineEntry
        } = await (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_16__.getPipelineEntryAndResource)(context.getId());
        const currentUserEmail = (0,harvest_Notifications_util_store__WEBPACK_IMPORTED_MODULE_18__.getNotificationSettingsDefaultEmail)(pipelineEntry, userInfo.user);
        const settings = await (0,harvest_Notifications_util_store__WEBPACK_IMPORTED_MODULE_18__.getNotificationsSettings)(pipelineEntry);
        const initialData = {
          entry: pipelineEntry,
          email: settings.email || currentUserEmail,
          harvesting: settings.harvesting || harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF,
          validation: settings.validation || harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF
        };
        dispatch({
          type: 'INIT_SUCCESS',
          value: initialData
        });
      } catch (initError) {
        dispatch({
          type: 'INIT_ERROR',
          value: initError
        });
      }
    };
    fetchInitialData();
  }, [context, userInfo.user]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    if (isLoading) return;
    if (isInitialMount.current) {
      isInitialMount.current = false;
      return;
    }
    if (entry) {
      const saveSettings = async () => {
        dispatch({
          type: 'SAVE_START'
        });
        try {
          await (0,harvest_Notifications_util_store__WEBPACK_IMPORTED_MODULE_18__.setNotificationsSettings)(entry, {
            email,
            harvesting,
            validation
          });
          dispatch({
            type: 'SAVE_SUCCESS'
          });
          addSnackbar({
            message: translation('notificationsSavedSuccess')
          });
        } catch (saveError) {
          dispatch({
            type: 'SAVE_ERROR'
          });
          addSnackbar({
            message: translation('notificationsSavedError'),
            type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_20__.ERROR
          });
          throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_21__.ErrorWithMessage(translation('notificationsSavedError'), saveError);
        }
      };
      saveSettings();
    }
  }, [harvesting, validation, entry, isLoading, addSnackbar, translation, email]);
  const selectOptions = (0,harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.getOptions)();
  const showHarvestingSettings = harvesting !== harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF;
  const handleSettingChange = (field, value) => {
    dispatch({
      type: 'UPDATE_SETTING',
      field,
      value
    });
  };
  const handleSwitchChange = (field, currentStatus) => {
    const newStatus = currentStatus === harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF ? harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_STRICT : harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF;
    handleSettingChange(field, newStatus);
  };
  const validationNotificationLabel = selectOptions[harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_VALIDATION][0].label;
  const validationSelectOpts = selectOptions[harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_VALIDATION][0].selectOpts;
  const showValidationSettings = validation !== harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_OFF;
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_19__["default"], null);
  return /*#__PURE__*/React.createElement("div", {
    className: "esreNotifications__view"
  }, /*#__PURE__*/React.createElement("div", {
    className: "esreNotifications__form"
  }, /*#__PURE__*/React.createElement(_EditableEmailField__WEBPACK_IMPORTED_MODULE_23__["default"], {
    email: email,
    onSave: newEmail => dispatch({
      type: 'UPDATE_SETTING',
      field: 'email',
      value: newEmail
    })
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'esreNotifications__typography'
    },
    variant: "body1"
  }, translation('emailAlert')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'esreNotifications__h2'
    },
    variant: "h2"
  }, translation('harvestingStatusHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    classes: {
      root: 'esreNotifications__formControlLabel'
    },
    control: /*#__PURE__*/React.createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_13__["default"], {
      checked: showHarvestingSettings,
      onChange: () => handleSwitchChange('harvesting', harvesting),
      name: "harvestingStatus",
      color: "primary",
      disabled: isSaving,
      slotProps: {
        input: {
          'data-testid': 'harvestingSwitch'
        }
      }
    }),
    label: showHarvestingSettings ? translation('notificationsOn') : translation('notificationsOff')
  }), showHarvestingSettings ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    classes: {
      root: 'esreNotifications__formControl'
    },
    variant: "filled",
    margin: "none"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'esreNotifications__label'
    },
    id: "harvesting-status-notification",
    variant: "body1"
  }, selectOptions[harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_HARVEST][0].label), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    value: harvesting,
    onChange: event => handleSettingChange('harvesting', event.target.value),
    disabled: isSaving,
    classes: {
      select: 'esreNotifications__select'
    },
    slotProps: {
      'aria-labelledby': 'harvesting-status-notification',
      input: {
        'data-testid': 'harvestingSelect'
      }
    }
  }, selectOptions[harvest_Notifications_util_options__WEBPACK_IMPORTED_MODULE_17__.OPTION_HARVEST][0].selectOpts.map(opt => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    key: opt.value,
    value: opt.value
  }, opt.label)))) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'esreNotifications__h2'
    },
    variant: "h2"
  }, translation('dataValidationHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    classes: {
      root: 'esreNotifications__formControlLabel'
    },
    control: /*#__PURE__*/React.createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_13__["default"], {
      checked: showValidationSettings,
      onChange: () => handleSwitchChange('validation', validation),
      name: "validationStatus",
      color: "primary",
      disabled: isSaving,
      "data-testid": "validationSwitch"
    }),
    label: showValidationSettings ? translation('notificationsOn') : translation('notificationsOff')
  }), showValidationSettings && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    classes: {
      root: 'esreNotifications__formControl'
    },
    variant: "filled",
    margin: "none"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'esreNotifications__label'
    },
    id: "data-validation-notification",
    variant: "body1"
  }, validationNotificationLabel), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    value: validation,
    onChange: event => handleSettingChange('validation', event.target.value),
    disabled: isSaving,
    classes: {
      select: 'esreNotifications__select'
    },
    inputProps: {
      'aria-labelledby': 'data-validation-status-notification'
    }
  }, validationSelectOpts.map(opt => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    key: opt.value,
    value: opt.value
  }, opt.label))))));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NotificationsView);

/***/ },

/***/ "./modules/harvest/Notifications/index.js"
/*!************************************************!*\
  !*** ./modules/harvest/Notifications/index.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Notifications__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Notifications__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Notifications */ "./modules/harvest/Notifications/Notifications.js");


/***/ },

/***/ "./modules/harvest/Notifications/util/options.js"
/*!*******************************************************!*\
  !*** ./modules/harvest/Notifications/util/options.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   OPTION_HARVEST: () => (/* binding */ OPTION_HARVEST),
/* harmony export */   OPTION_LAX: () => (/* binding */ OPTION_LAX),
/* harmony export */   OPTION_OFF: () => (/* binding */ OPTION_OFF),
/* harmony export */   OPTION_STRICT: () => (/* binding */ OPTION_STRICT),
/* harmony export */   OPTION_VALIDATION: () => (/* binding */ OPTION_VALIDATION),
/* harmony export */   getOptionLabel: () => (/* binding */ getOptionLabel),
/* harmony export */   getOptions: () => (/* binding */ getOptions)
/* harmony export */ });
/* harmony import */ var _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_1__);



// model names
const OPTION_HARVEST = 'harvesting';
const OPTION_VALIDATION = 'validation';
const OPTION_OFF = 'off';
const OPTION_STRICT = 'strict';
const OPTION_LAX = 'lax';

// model data
const getOptions = () => {
  const esreHarvest = _entryscape_esi18n__WEBPACK_IMPORTED_MODULE_0__.i18n.getLocalization((harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_1___default()));
  const options = {};
  options[OPTION_HARVEST] = [{
    label: esreHarvest.harvestingNotifyRadioLabel,
    selectOpts: [{
      label: esreHarvest.firstFailureSelectOption,
      value: OPTION_STRICT
    }, {
      label: esreHarvest.consequentFailuresSelectOption,
      value: OPTION_LAX
    }]
  }, {
    label: esreHarvest.harvestingDontNotifyRadioLabel,
    value: OPTION_OFF
  }];

  /**
   * If value is OPTION_LAX, then notification will only be sent
   * when mandatory fields are missing.
   *
   * If value is OPTION_STRICT, then notifications will be sent
   * when both mandatory and recommended fields are missing
   *
   */
  options[OPTION_VALIDATION] = [{
    label: esreHarvest.validationNotifyRadioLabel,
    selectOpts: [{
      label: esreHarvest.mandatoryFieldsSelectOption,
      value: OPTION_LAX
    }, {
      label: esreHarvest.recommendedFieldsSelectOption,
      value: OPTION_STRICT
    }]
  }, {
    label: esreHarvest.validationDontNotifyRadioLabel,
    value: OPTION_OFF
  }];
  return options;
};
const getValueOption = (options, value) => {
  const findValue = el => el.value === value;
  return options.find(option => option && option.selectOpts ? option.selectOpts.find(findValue) : [option].find(findValue));
};
const getOptionLabel = (type, value) => {
  // helpers functions
  const options = getOptions()[type];
  const foundOption = getValueOption(options, value);
  if (foundOption) {
    if (!('selectOpts' in foundOption)) {
      return foundOption.label;
    }
    return `${foundOption.label} ${foundOption.selectOpts.find(el => el.value === value).label}`;
  }
  return '';
};


/***/ },

/***/ "./modules/harvest/Notifications/util/store.js"
/*!*****************************************************!*\
  !*** ./modules/harvest/Notifications/util/store.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getNotificationSettingsDefaultEmail: () => (/* binding */ getNotificationSettingsDefaultEmail),
/* harmony export */   getNotificationsSettings: () => (/* binding */ getNotificationsSettings),
/* harmony export */   setNotificationsSettings: () => (/* binding */ setNotificationsSettings)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






/**
 * A helper procedure that finds an existing notification settings entry or
 * creates a new one
 *
 * @param {Entry} pipelineEntry
 * @param {object} args
 * @returns {Promise<Entry>}
 */

const setNotificationsSettings = async (pipelineEntry, args) => {
  const pipelineResource = await pipelineEntry.getResource();
  // legacy since we had a global notifications toggle, still necessary for pipelines
  const isEnabled = args.harvesting !== 'off' || args.validation !== 'off' ? 'true' : 'false';
  pipelineResource.setPipelineArguments(_objectSpread(_objectSpread({}, args), {}, {
    isEnabled
  }), _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.terms.argumentTypes.configuration);
  return pipelineResource.commit();
};

/**
 *
 * @param {Entry} pipelineEntry
 * @returns {Promise<object>}
 */
const getNotificationsSettings = async pipelineEntry => {
  const pipelineResource = await pipelineEntry.getResource();
  return pipelineResource.getPipelineArguments(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__.terms.argumentTypes.configuration);
};

/**
 * Get the email of the pipeline owner or the current user's one
 *
 * @param {Entry} pipelineEntry
 * @param {string} user - username
 * @returns {string}
 */
const getNotificationSettingsDefaultEmail = (pipelineEntry, user) => {
  const md = pipelineEntry.getMetadata();
  const email = md.findFirstValue(pipelineEntry.getResourceURI(), 'foaf:mbox');
  return email ? email.replace('mailto:', '') : user;
};


/***/ },

/***/ "./modules/harvest/SourcesView/SourcesView.js"
/*!****************************************************!*\
  !*** ./modules/harvest/SourcesView/SourcesView.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/common/Switch */ "./modules/commons/components/common/Switch/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_solr_context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/solr/context */ "./modules/commons/util/solr/context.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var status_Sources_SourceLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! status/Sources/SourceLinkedDataBrowserDialog */ "./modules/status/Sources/SourceLinkedDataBrowserDialog.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/animations/AnimationProvider */ "./modules/commons/animations/AnimationProvider.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/nls/escoErrors.nls */ "./modules/commons/nls/escoErrors.nls");
/* harmony import */ var commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_23__);
/* harmony import */ var status_tags__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! status/tags */ "./modules/status/tags.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./actions */ "./modules/harvest/SourcesView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entries"],
  _excluded2 = ["entries"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



















// eslint-disable-next-line max-len







const SEARCH_FIELDS = ['label'];
const Toggle = _ref => {
  let {
    pipelineEntry,
    xs
  } = _ref;
  const [contextIsPublic, setContextIsPublic] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [canAdminister, setCanAdminister] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false);
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_22__.useSnackbar)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)([(commons_nls_escoErrors_nls__WEBPACK_IMPORTED_MODULE_23___default()), ..._actions__WEBPACK_IMPORTED_MODULE_25__.nlsBundles]);
  const toggleRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);
  const {
    triggerAnimation
  } = (0,commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_21__.useAnimation)();
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    pipelineEntry.getContext().getEntry().then(contextEntry => {
      setContextIsPublic(contextEntry.isPublic());
      setCanAdminister(contextEntry.canAdministerEntry());
    });
  }, [pipelineEntry]);
  const handleSwitchChange = () => {
    const context = pipelineEntry.getContext();
    commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getEntry(context.getEntryURI(), {
      forceLoad: true
    }).then(contextEntry => {
      const entryInfo = contextEntry.getEntryInfo();
      const acl = entryInfo.getACL(true);
      acl.rread = acl.rread || [];
      acl.mread = acl.mread || [];
      if (contextIsPublic) {
        acl.rread.splice(acl.rread.indexOf(commons_util_userIds__WEBPACK_IMPORTED_MODULE_20__.USER_ENTRY_ID_GUEST), 1);
        acl.mread.splice(acl.mread.indexOf(commons_util_userIds__WEBPACK_IMPORTED_MODULE_20__.USER_ENTRY_ID_GUEST), 1);
      } else {
        acl.rread.push(commons_util_userIds__WEBPACK_IMPORTED_MODULE_20__.USER_ENTRY_ID_GUEST);
        acl.mread.push(commons_util_userIds__WEBPACK_IMPORTED_MODULE_20__.USER_ENTRY_ID_GUEST);
      }
      entryInfo.setACL(acl);
      entryInfo.commit().then(() => {
        const newIsPublic = !contextIsPublic;
        setContextIsPublic(newIsPublic);
        if (newIsPublic) {
          triggerAnimation(commons_animations_AnimationProvider__WEBPACK_IMPORTED_MODULE_21__.BALLOON, {
            ref: toggleRef,
            uniqueId: pipelineEntry.getId()
          });
        }
      }).then(() => addSnackbar({
        message: translate(contextIsPublic ? 'unpublishSnackbarMessage' : 'publishSnackbarMessage')
      })).catch(error => {
        console.error(error);
        addSnackbar({
          message: translate(contextIsPublic ? 'unpublishFail' : 'publishFail'),
          type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_22__.ERROR,
          autoHideDuration: 500
        });
      });
    });
  };
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.ListItemAction, {
    xs: xs
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_8__["default"], {
    title: contextIsPublic ? translate('publicHarvestTitle') : translate('privateHarvestTitle')
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_7__["default"], {
    ref: toggleRef,
    disabled: !canAdminister,
    checked: contextIsPublic,
    onChange: handleSwitchChange,
    name: "checked",
    inputProps: {
      'aria-label': translate('orgToggleAriaLabel')
    }
  }))));
};
Toggle.propTypes = {
  pipelineEntry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape().isRequired,
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)
};
const getListItemProps = _ref2 => {
  let {
    entry
  } = _ref2;
  return {
    to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_14__.getPathFromViewName)('harvest__org__status', {
      contextId: entry.getContext().getId()
    })
  };
};
const getColumns = function getColumns(userEntry, userInfo) {
  let listProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  const {
    excludeActions = []
  } = listProps;
  return [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.TOGGLE_ENTRY_COLUMN), {}, {
    Component: Toggle,
    getProps: _ref3 => {
      let {
        entry
      } = _ref3;
      return {
        pipelineEntry: entry
      };
    },
    xs: 1
  }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.TITLE_COLUMN), {}, {
    xs: 7,
    tags: [status_tags__WEBPACK_IMPORTED_MODULE_24__.PUBLIC_SECTOR_TAG, status_tags__WEBPACK_IMPORTED_MODULE_24__.PRIVATE_SECTOR_TAG]
  }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.INFO_COLUMN), {}, {
    justifyContent: 'center',
    getProps: _ref4 => {
      let {
        entry,
        translate: translateProp
      } = _ref4;
      return {
        action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_16__.LIST_ACTION_INFO), {}, {
          entry,
          nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_25__.nlsBundles,
          Dialog: status_Sources_SourceLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_19__["default"]
        }),
        title: translateProp('infoEntry')
      };
    }
  }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.ACTION_MENU_COLUMN), {}, {
    getProps: _ref5 => {
      let {
        entry
      } = _ref5;
      return {
        entry,
        actions: _actions__WEBPACK_IMPORTED_MODULE_25__.rowActions,
        userEntry,
        userInfo,
        excludeActions
      };
    }
  })];
};
const NonAdminList = _ref6 => {
  let {
    listProps
  } = _ref6;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__.useUserState)();
  const queryParams = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    const queryTypeParams = {
      rdfType: 'store:Pipeline',
      contextType: commons_util_context__WEBPACK_IMPORTED_MODULE_11__.CONTEXT_TYPE_CATALOG
    };
    return (0,commons_util_solr_context__WEBPACK_IMPORTED_MODULE_10__.getContextSearchQuery)(queryTypeParams, {
      userEntry,
      userInfo
    });
  }, [userEntry, userInfo]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.useSolrQuery)(queryParams),
    {
      entries
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded);
  const {
    result: itemsInPage = []
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.useListQuery)({
    items: entries.map(entry => ({
      entry,
      label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_18__.getLabel)(entry)
    })),
    searchFields: SEARCH_FIELDS
  });
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.EntryListView, _extends({
    entries: itemsInPage.map(_ref7 => {
      let {
        entry
      } = _ref7;
      return entry;
    })
  }, queryResults, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_25__.nlsBundles,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_25__.listActions,
    getListItemProps: getListItemProps,
    columns: getColumns(userEntry, userInfo, listProps)
  }));
};
NonAdminList.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.listPropsPropType
};
const AdminList = _ref8 => {
  let {
    listProps
  } = _ref8;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__.useUserState)();
  const queryParams = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    const queryTypeParams = {
      graphType: _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.types.GT_PIPELINE
    };
    return (0,commons_util_solr_context__WEBPACK_IMPORTED_MODULE_10__.getContextSearchQuery)(queryTypeParams, {
      userEntry,
      userInfo
    });
  }, [userEntry, userInfo]);
  const _useSolrQuery2 = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.useSolrQuery)(queryParams),
    {
      entries
    } = _useSolrQuery2,
    queryResults = _objectWithoutProperties(_useSolrQuery2, _excluded2);
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_15__.EntryListView, _extends({
    entries: entries
  }, queryResults, listProps, {
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_25__.nlsBundles,
    listActions: _actions__WEBPACK_IMPORTED_MODULE_25__.listActions,
    getListItemProps: getListItemProps,
    columns: getColumns(userEntry, userInfo, listProps)
  }));
};
AdminList.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.listPropsPropType
};
const SourcesView = _ref9 => {
  let {
    listProps
  } = _ref9;
  const {
    userInfo: {
      hasAdminRights
    }
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__.useUserState)();

  // IMPORTANT: necessary cause we are searching for pipelines in two ways. First by graphtype
  // (searched for in entry information) and second by rdftype (searched for in metadata). The
  // code could probably be harmonized by using graphtype in both cases, but then the utility
  // methods (getSearchQuery, getEntriesByTypeForContextIds) already in place could not be used
  // which would force us to write more code.
  return hasAdminRights ? /*#__PURE__*/React.createElement(AdminList, {
    listProps: listProps
  }) : /*#__PURE__*/React.createElement(NonAdminList, {
    listProps: listProps
  });
};
SourcesView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.listPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_17__.withListModelProviderAndLocation)(SourcesView));

/***/ },

/***/ "./modules/harvest/SourcesView/actions.js"
/*!************************************************!*\
  !*** ./modules/harvest/SourcesView/actions.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles),
/* harmony export */   rowActions: () => (/* binding */ rowActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_actions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/actions */ "./modules/commons/actions/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var harvest_dialogs_CreatePipelineDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! harvest/dialogs/CreatePipelineDialog */ "./modules/harvest/dialogs/CreatePipelineDialog/index.js");
/* harmony import */ var harvest_dialogs_RemovePipelineDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! harvest/dialogs/RemovePipelineDialog */ "./modules/harvest/dialogs/RemovePipelineDialog/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");


function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const nlsBundles = [(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_4___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_3___default())];
const listActions = [{
  id: 'create',
  Dialog: harvest_dialogs_CreatePipelineDialog__WEBPACK_IMPORTED_MODULE_5__["default"],
  labelNlsKey: 'createButton'
}];
const rowActions = [_objectSpread(_objectSpread({}, commons_actions__WEBPACK_IMPORTED_MODULE_2__.ACTION_REMOVE), {}, {
  Dialog: harvest_dialogs_RemovePipelineDialog__WEBPACK_IMPORTED_MODULE_6__["default"],
  isVisible: async _ref => {
    let {
      entry,
      userEntry,
      userInfo
    } = _ref;
    if (userInfo.hasAdminRights) return true;
    const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.getGroupWithHomeContext)(entry.getContext());
    return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_8__.isManager)(groupEntry, userEntry);
  }
})];


/***/ },

/***/ "./modules/harvest/SourcesView/index.js"
/*!**********************************************!*\
  !*** ./modules/harvest/SourcesView/index.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SourcesView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SourcesView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SourcesView */ "./modules/harvest/SourcesView/SourcesView.js");


/***/ },

/***/ "./modules/harvest/Statistics/View.js"
/*!********************************************!*\
  !*** ./modules/harvest/Statistics/View.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var harvest_Statistics_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! harvest/Statistics/index */ "./modules/harvest/Statistics/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const StatisticsView = () => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__.useESContext)();
  const contextId = context.getId();
  return /*#__PURE__*/React.createElement(harvest_Statistics_index__WEBPACK_IMPORTED_MODULE_1__["default"], {
    contextId: contextId
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatisticsView);

/***/ },

/***/ "./modules/harvest/Statistics/index.js"
/*!*********************************************!*\
  !*** ./modules/harvest/Statistics/index.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var harvest_Statistics_tables_Overview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! harvest/Statistics/tables/Overview */ "./modules/harvest/Statistics/tables/Overview.js");
/* harmony import */ var harvest_Statistics_tables_DatasetMetadata__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! harvest/Statistics/tables/DatasetMetadata */ "./modules/harvest/Statistics/tables/DatasetMetadata.js");
/* harmony import */ var harvest_Statistics_tables_DistributionMetadata__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! harvest/Statistics/tables/DistributionMetadata */ "./modules/harvest/Statistics/tables/DistributionMetadata.js");
/* harmony import */ var harvest_Statistics_tables_DistributionPerDataset__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! harvest/Statistics/tables/DistributionPerDataset */ "./modules/harvest/Statistics/tables/DistributionPerDataset.js");
/* harmony import */ var harvest_Statistics_tables_Licenses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! harvest/Statistics/tables/Licenses */ "./modules/harvest/Statistics/tables/Licenses.js");
/* harmony import */ var harvest_Statistics_tables_Formats__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/Statistics/tables/Formats */ "./modules/harvest/Statistics/tables/Formats.js");
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoStatisticsReport.nls */ "./modules/commons/nls/escoStatisticsReport.nls");
/* harmony import */ var commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! harvest/nls/esrePipelineResultListDialog.nls */ "./modules/harvest/nls/esrePipelineResultListDialog.nls");
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material/CircularProgress */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

















const TOO_MANY_DATASETS_TO_LOAD = 2000;
const Statistics = _ref => {
  let {
    contextId
  } = _ref;
  const [statistics, setStatistics] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)({});
  const [loading, setLoading] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true);
  const [showWarning, setShowWarning] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const [showNoDataMessage, setShowNoDataMessage] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
  const fetchData = async continueCondition => {
    const getDataReport = (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_11__.getLoadStatistics)(continueCondition);
    try {
      const data = await getDataReport(contextId);
      setStatistics(data);
      setLoading(false);
      setShowWarning(false);
    } catch (error) {
      console.error(error.message);
    }
  };
  const getDataCount = async () => {
    const dataCount = await (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_11__.getDatasetCount)(contextId);
    if (dataCount >= TOO_MANY_DATASETS_TO_LOAD) {
      setShowWarning(true);
      setLoading(true);
    }
  };
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const dataFetched = Object.keys(statistics);
    if (dataFetched.length) {
      const {
        totalDatasetCount,
        totalDistributionCount
      } = statistics;
      if (!totalDatasetCount && !totalDistributionCount) {
        setShowNoDataMessage(true);
      }
    }
  });
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    let componentMounted = true;
    const continueCondition = () => componentMounted;
    getDataCount();
    fetchData(continueCondition);
    return () => {
      componentMounted = false;
      setShowWarning(false);
      setLoading(false);
      setShowNoDataMessage(false);
    };
  }, []);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)([(harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default())]);
  const {
    totalDatasetCount,
    nrOfDistributionsPerDataset,
    licenses,
    formats
  } = statistics;
  return /*#__PURE__*/React.createElement("div", {
    className: "esreStatistics--padding-bottom"
  }, showWarning && /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_16__["default"], {
    label: t('loadTimeWarning')
  }), loading && /*#__PURE__*/React.createElement("div", {
    className: "esreStatisics__Progress"
  }, /*#__PURE__*/React.createElement(_mui_material_CircularProgress__WEBPACK_IMPORTED_MODULE_15__["default"], null)), totalDatasetCount > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(harvest_Statistics_tables_Overview__WEBPACK_IMPORTED_MODULE_5__["default"], {
    stats: statistics,
    nlsBundle: (commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default())
  }), /*#__PURE__*/React.createElement(harvest_Statistics_tables_DatasetMetadata__WEBPACK_IMPORTED_MODULE_6__["default"], {
    stats: statistics,
    nlsBundle: (commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default())
  }), /*#__PURE__*/React.createElement(harvest_Statistics_tables_DistributionMetadata__WEBPACK_IMPORTED_MODULE_7__["default"], {
    stats: statistics,
    nlsBundle: (commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default())
  }), /*#__PURE__*/React.createElement(harvest_Statistics_tables_DistributionPerDataset__WEBPACK_IMPORTED_MODULE_8__["default"], {
    datasetCount: totalDatasetCount,
    dataPerDataset: nrOfDistributionsPerDataset,
    nlsBundle: (commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default())
  }), /*#__PURE__*/React.createElement(harvest_Statistics_tables_Licenses__WEBPACK_IMPORTED_MODULE_9__["default"], {
    licensesData: licenses,
    nlsBundle: (commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default())
  }), /*#__PURE__*/React.createElement(harvest_Statistics_tables_Formats__WEBPACK_IMPORTED_MODULE_10__["default"], {
    formatData: formats,
    nlsBundle: (commons_nls_escoStatisticsReport_nls__WEBPACK_IMPORTED_MODULE_12___default())
  })), showNoDataMessage && /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_16__["default"], {
    label: t('noStatsPlaceholder')
  }));
};
Statistics.propTypes = {
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Statistics);

/***/ },

/***/ "./modules/harvest/Statistics/tables/DatasetMetadata.js"
/*!**************************************************************!*\
  !*** ./modules/harvest/Statistics/tables/DatasetMetadata.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableHead__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TableHead */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var harvest_Statistics_tables_index_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/Statistics/tables/index.scss */ "./modules/harvest/Statistics/tables/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const DatasetMetadata = _ref => {
  let {
    stats,
    nlsBundle
  } = _ref;
  const {
    totalDatasetCount
  } = stats;
  const datasetData = [{
    name: 'hasTitle',
    nlsKey: 'title'
  }, {
    name: 'multilingualTitle',
    nlsKey: 'titleMultilingual'
  }, {
    name: 'missingLanguageOnTitle',
    nlsKey: 'titleNoLanguage'
  }, {
    name: 'hasDescription',
    nlsKey: 'description'
  }, {
    name: 'multilingualDescription',
    nlsKey: 'descriptionMultilingual'
  }, {
    name: 'missingLanguageOnDescription',
    nlsKey: 'descriptionNoLanguage'
  }, {
    name: 'hasPublisher',
    nlsKey: 'publisher'
  }, {
    name: 'hasContactPoint',
    nlsKey: 'contactPoint'
  }];
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundle);
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "h6",
    component: "h2",
    className: "esreStatistics__header"
  }, t('metadataPerDataset')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: "small",
    "aria-label": t('metadataPerDataset')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_2__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "left",
    className: "esreTable__th--bold"
  }, t('field')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('numberDatasets')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('percentageDatasets')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_3__["default"], null, datasetData.map(data => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], {
    hover: true,
    key: data.name
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    component: "th",
    scope: "row"
  }, t(data.nlsKey)), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, stats[data.name]), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_10__.getPercentage)(stats[data.name], totalDatasetCount, 1))))))));
};
DatasetMetadata.propTypes = {
  stats: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape().isRequired,
  nlsBundle: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DatasetMetadata);

/***/ },

/***/ "./modules/harvest/Statistics/tables/DistributionMetadata.js"
/*!*******************************************************************!*\
  !*** ./modules/harvest/Statistics/tables/DistributionMetadata.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableHead__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TableHead */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var harvest_Statistics_tables_index_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/Statistics/tables/index.scss */ "./modules/harvest/Statistics/tables/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const DistributionMetadata = _ref => {
  let {
    stats,
    nlsBundle
  } = _ref;
  const {
    totalDistributionCount
  } = stats;
  const distributionData = [{
    name: 'hasDistributionTitle',
    nlsKey: 'title'
  }, {
    name: 'multilingualDistributionTitle',
    nlsKey: 'titleMultilingual'
  }, {
    name: 'missingLanguageOnDistributionTitle',
    nlsKey: 'titleNoLanguage'
  }, {
    name: 'hasDistributionDescription',
    nlsKey: 'description'
  }, {
    name: 'multilingualDistributionDescription',
    nlsKey: 'descriptionMultilingual'
  }, {
    name: 'missingLanguageOnDescription',
    nlsKey: 'descriptionNoLanguage'
  }, {
    name: 'hasDownloadURL',
    nlsKey: 'downloadURL'
  }, {
    name: 'hasAccessURL',
    nlsKey: 'accessURL'
  }, {
    name: 'hasDistributionFormat',
    nlsKey: 'formats'
  }, {
    name: 'hasDistributionLicense',
    nlsKey: 'licenses'
  }];
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundle);
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "h6",
    component: "h2",
    className: "esreStatistics__header"
  }, t('metadataPerDistribution')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: "small",
    "aria-label": t('metadataPerDistribution')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_2__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "left",
    className: "esreTable__th--bold"
  }, t('field')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('numberDistributions')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('percentageDistributions')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_3__["default"], null, distributionData.map(data => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], {
    hover: true,
    key: data.name
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    component: "th",
    scope: "row"
  }, t(data.nlsKey)), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, stats[data.name]), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_10__.getPercentage)(stats[data.name], totalDistributionCount, 1))))))));
};
DistributionMetadata.propTypes = {
  stats: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape().isRequired,
  nlsBundle: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DistributionMetadata);

/***/ },

/***/ "./modules/harvest/Statistics/tables/DistributionPerDataset.js"
/*!*********************************************************************!*\
  !*** ./modules/harvest/Statistics/tables/DistributionPerDataset.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableHead__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TableHead */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var harvest_Statistics_tables_index_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/Statistics/tables/index.scss */ "./modules/harvest/Statistics/tables/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const DistributionPerDataset = _ref => {
  let {
    datasetCount = 0,
    dataPerDataset = {},
    nlsBundle
  } = _ref;
  const data = Object.keys(dataPerDataset);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundle);
  return /*#__PURE__*/React.createElement("div", null, data.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "h6",
    component: "h2",
    className: "esreStatistics__header"
  }, t('distributionsPerDataset')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: "small",
    "aria-label": t('distributionsPerDataset')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_2__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "left",
    className: "esreTable__th--bold"
  }, t('distributionsPerDataset')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('numberDatasets')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('percentageDatasets')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_3__["default"], null, data.map(key => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], {
    hover: true,
    key: key
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    component: "th",
    scope: "row"
  }, key), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, dataPerDataset[key]), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_10__.getPercentage)(dataPerDataset[key], datasetCount, 1)))))))));
};
DistributionPerDataset.propTypes = {
  datasetCount: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  dataPerDataset: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape(),
  nlsBundle: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DistributionPerDataset);

/***/ },

/***/ "./modules/harvest/Statistics/tables/Formats.js"
/*!******************************************************!*\
  !*** ./modules/harvest/Statistics/tables/Formats.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableHead__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TableHead */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_Statistics_tables_index_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/Statistics/tables/index.scss */ "./modules/harvest/Statistics/tables/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const Formats = _ref => {
  let {
    formatData = {},
    nlsBundle
  } = _ref;
  const formatDataKeysSortedByVal = Object.keys(formatData).sort((a, b) => formatData[b] - formatData[a]);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundle);
  return /*#__PURE__*/React.createElement("div", null, formatDataKeysSortedByVal.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "h6",
    component: "h2",
    className: "esreStatistics__header"
  }, t('formats')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_6__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_2__["default"], {
    size: "small",
    "aria-label": t('formats')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_3__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    align: "left",
    className: "esreTable__th--bold"
  }, t('mediaType')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('timesUsed')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_4__["default"], null, formatDataKeysSortedByVal.map(key => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_7__["default"], {
    hover: true,
    key: key
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "esreTable__th--bold",
    component: "th",
    scope: "row"
  }, key), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    align: "center"
  }, formatData[key]))))))));
};
Formats.propTypes = {
  formatData: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape(),
  nlsBundle: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Formats);

/***/ },

/***/ "./modules/harvest/Statistics/tables/Licenses.js"
/*!*******************************************************!*\
  !*** ./modules/harvest/Statistics/tables/Licenses.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableHead__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TableHead */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Link__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Link */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _mui_styles__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/styles */ "./node_modules/.pnpm/@mui+styles@6.4.8_@types+react@19.2.17_react@18.3.1/node_modules/@mui/styles/makeStyles/makeStyles.js");
/* harmony import */ var harvest_Statistics_tables_index_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! harvest/Statistics/tables/index.scss */ "./modules/harvest/Statistics/tables/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const useStyles = (0,_mui_styles__WEBPACK_IMPORTED_MODULE_12__["default"])(() => ({
  root: {
    fontSize: 'inherit',
    fontWeight: 600,
    '&:hover': {
      textDecoration: 'underline !important'
    }
  }
}));
const Licenses = _ref => {
  let {
    licensesData = {},
    nlsBundle
  } = _ref;
  const licenseKeysSortedByVal = Object.keys(licensesData).sort((a, b) => licensesData[b] - licensesData[a]);
  const classes = useStyles();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_11__.useTranslation)(nlsBundle);
  return /*#__PURE__*/React.createElement("div", null, licenseKeysSortedByVal.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_10__["default"], {
    variant: "h6",
    component: "h2",
    className: "esreStatistics__header"
  }, t('licenses')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_6__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_8__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_2__["default"], {
    size: "small",
    "aria-label": t('licenses')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_3__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_7__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    align: "left",
    className: "esreTable__th--bold"
  }, t('url')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "esreTable__th--bold",
    align: "center"
  }, t('timesUsed')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_4__["default"], null, licenseKeysSortedByVal.map(key => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_7__["default"], {
    hover: true,
    key: key
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "esreTable__th--bold",
    component: "th",
    scope: "row"
  }, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_10__["default"], {
    className: classes.root
  }, /*#__PURE__*/React.createElement(_mui_material_Link__WEBPACK_IMPORTED_MODULE_9__["default"], {
    href: key,
    color: "inherit",
    target: "_blank",
    rel: "noopener"
  }, key))), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], {
    align: "center"
  }, licensesData[key]))))))));
};
Licenses.propTypes = {
  licensesData: prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape(),
  nlsBundle: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Licenses);

/***/ },

/***/ "./modules/harvest/Statistics/tables/Overview.js"
/*!*******************************************************!*\
  !*** ./modules/harvest/Statistics/tables/Overview.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material_Table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material/Table */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material_TableBody__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/TableBody */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material_TableHead__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/TableHead */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TableCell */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TableContainer */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TableRow */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Paper */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Typography */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_Statistics_tables_index_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/Statistics/tables/index.scss */ "./modules/harvest/Statistics/tables/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const Overview = _ref => {
  let {
    stats,
    nlsBundle
  } = _ref;
  const overviewTypes = [{
    name: 'totalDatasetCount',
    nlsKey: 'datasets'
  }, {
    name: 'totalDistributionCount',
    nlsKey: 'distributions'
  }, {
    name: 'nrOfPublishers',
    nlsKey: 'publishers'
  }, {
    name: 'nrOfContactPoints',
    nlsKey: 'contactPoints'
  }];
  const overviewFulfillments = [{
    name: 'datasetsMandatoryFulfillment',
    nlsKey: 'fulfillmentMandatoryDataset'
  }, {
    name: 'distributionsMandatoryFulfillment',
    nlsKey: 'fulfillmentMandatoryDistribution'
  }, {
    name: 'datasetsRecommendedFulfillment',
    nlsKey: 'fulfillmentRecommendedDataset'
  }, {
    name: 'distributionsRecommendedFulfillment',
    nlsKey: 'fulfillmentRecommendedDistribution'
  }];
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(nlsBundle);
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "h6",
    component: "h2",
    className: "esreStatistics__header"
  }, t('header')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: "small",
    "aria-label": t('header')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_3__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "left"
  }, t('type')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, t('numberEntries')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_2__["default"], null, overviewTypes.map(data => /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], {
    hover: true,
    key: data.name
  }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreTable__th--bold",
    component: "th",
    scope: "row"
  }, t(data.nlsKey)), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, stats[data.name])))))), /*#__PURE__*/React.createElement(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "h6",
    component: "h2",
    className: "esreStatistics__header"
  }, t('metadataFulfillmentHeader')), /*#__PURE__*/React.createElement(_mui_material_TableContainer__WEBPACK_IMPORTED_MODULE_5__["default"], {
    component: _mui_material_Paper__WEBPACK_IMPORTED_MODULE_7__["default"]
  }, /*#__PURE__*/React.createElement(_mui_material_Table__WEBPACK_IMPORTED_MODULE_1__["default"], {
    size: "small",
    "aria-label": t('metadataFulfillmentHeader')
  }, /*#__PURE__*/React.createElement(_mui_material_TableHead__WEBPACK_IMPORTED_MODULE_3__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "left"
  }, t('metadata')), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
    align: "center"
  }, t('percentageFulfillment')))), /*#__PURE__*/React.createElement(_mui_material_TableBody__WEBPACK_IMPORTED_MODULE_2__["default"], null, overviewFulfillments.map(_ref2 => {
    let {
      nlsKey,
      name
    } = _ref2;
    return /*#__PURE__*/React.createElement(_mui_material_TableRow__WEBPACK_IMPORTED_MODULE_6__["default"], {
      hover: true,
      key: name
    }, /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
      className: "esreTable__th--bold",
      component: "th",
      scope: "row",
      align: "left"
    }, t(nlsKey)), /*#__PURE__*/React.createElement(_mui_material_TableCell__WEBPACK_IMPORTED_MODULE_4__["default"], {
      align: "center"
    }, stats[name]));
  })))));
};
Overview.propTypes = {
  stats: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape(),
  nlsBundle: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({})).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Overview);

/***/ },

/***/ "./modules/harvest/Status/HarvestReport/HarvestReport.js"
/*!***************************************************************!*\
  !*** ./modules/harvest/Status/HarvestReport/HarvestReport.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckCircle.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! harvest/util/pipelineResult */ "./modules/harvest/util/pipelineResult.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! harvest/nls/esrePipelineResult.nls */ "./modules/harvest/nls/esrePipelineResult.nls");
/* harmony import */ var harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_common_ExpandableListItem__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/common/ExpandableListItem */ "./modules/commons/components/common/ExpandableListItem/index.js");
/* harmony import */ var harvest_config_config__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! harvest/config/config */ "./modules/harvest/config/config.js");
/* harmony import */ var status_config_config__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! status/config/config */ "./modules/status/config/config.js");
/* harmony import */ var _Report__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Report */ "./modules/harvest/Status/HarvestReport/Report/index.js");
/* harmony import */ var _HarvestReport_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./HarvestReport.scss */ "./modules/harvest/Status/HarvestReport/HarvestReport.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

















const HarvestReport = _ref => {
  let {
    pipelineData,
    jobEntry,
    handleChangeTab
  } = _ref;
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const {
    contextId: paramsContextId
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.useParams)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const {
    data: sourceData,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_12__["default"])();

  // determine if viewed in-dialog via /status/reports
  const currentViewName = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getCurrentViewName)();
  const inDialog = currentViewName === status_config_config__WEBPACK_IMPORTED_MODULE_15__.REPORTS_LISTVIEW;
  const {
    id,
    title,
    date,
    body,
    status
  } = pipelineData;
  const {
    validationResults = {}
  } = body;
  const isPending = status === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.terms.status.InProgress || status === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.terms.status.Pending;
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    runAsync((0,harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_9__.getSourceData)(jobEntry));
  }, [jobEntry, runAsync]);
  const showValidationButton = Boolean(status !== _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.terms.status.Failed && Object.keys(validationResults).length > 0 && sourceData);
  const showValidationReport = () => {
    const jobId = jobEntry.getId();

    /**
     *
     * @param {string} viewName
     * @param {string} contextId
     */
    const navigateToValidation = (viewName, contextId) => {
      const search = `?${(0,react_router_dom__WEBPACK_IMPORTED_MODULE_3__.createSearchParams)({
        harvest: jobId
      })}`;
      const pathname = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_8__.getPathFromViewName)(viewName, {
        contextId
      });
      navigate({
        pathname,
        search
      });
    };
    if (inDialog) {
      handleChangeTab(null, 'validation-tab');
      navigateToValidation(status_config_config__WEBPACK_IMPORTED_MODULE_15__.REPORTS_LISTVIEW, jobEntry.getContext().getId());
      return;
    }
    navigateToValidation(harvest_config_config__WEBPACK_IMPORTED_MODULE_14__.SOURCE_VALIDATION, paramsContextId);
  };
  const getTitle = () => {
    if (typeof title !== 'number') return translate(title);
    return translate('titleDatasets', title);
  };
  return /*#__PURE__*/React.createElement(commons_components_common_ExpandableListItem__WEBPACK_IMPORTED_MODULE_13__["default"], {
    primary: getTitle(),
    secondary: /*#__PURE__*/React.createElement("div", {
      className: "esreHarvestReport__BlockTime"
    }, status === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.terms.status.Succeeded && /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
      style: {
        color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_6__.success.main
      }
    }), /*#__PURE__*/React.createElement("div", {
      className: "esreHarvestReport__Time"
    }, translate('modifiedDateTitle', date))),
    key: id
  }, /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReport"
  }, isPending ? /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReportCardBlock"
  }, translate('noData')) : /*#__PURE__*/React.createElement(_Report__WEBPACK_IMPORTED_MODULE_16__["default"], {
    body: body,
    showValidationButton: showValidationButton,
    showValidationReport: showValidationReport
  })));
};
HarvestReport.propTypes = {
  pipelineData: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    title: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)]),
    date: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
    body: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({}), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]).isRequired,
    status: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    id: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  }).isRequired,
  jobEntry: prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape(),
  handleChangeTab: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HarvestReport);

/***/ },

/***/ "./modules/harvest/Status/HarvestReport/HarvestReportCard/HarvestReportCard.js"
/*!*************************************************************************************!*\
  !*** ./modules/harvest/Status/HarvestReport/HarvestReportCard/HarvestReportCard.js ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const HarvestReportCard = _ref => {
  let {
    title,
    data
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReportCardBlock",
    key: title + Math.random()
  }, /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReportCardBlock__Header"
  }, title), /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReport__Cards"
  }, data.map(_ref2 => {
    let {
      label,
      value
    } = _ref2;
    return /*#__PURE__*/React.createElement("div", {
      className: "esreHarvestReport__Card",
      key: label + Math.random()
    }, /*#__PURE__*/React.createElement("div", {
      className: "esreHarvestReportCard__Header"
    }, label), /*#__PURE__*/React.createElement("div", null, value));
  })));
};
HarvestReportCard.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  data: (0,prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf)(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    value: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)])
  }))
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HarvestReportCard);

/***/ },

/***/ "./modules/harvest/Status/HarvestReport/HarvestReportCard/index.js"
/*!*************************************************************************!*\
  !*** ./modules/harvest/Status/HarvestReport/HarvestReportCard/index.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _HarvestReportCard__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _HarvestReportCard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./HarvestReportCard */ "./modules/harvest/Status/HarvestReport/HarvestReportCard/HarvestReportCard.js");


/***/ },

/***/ "./modules/harvest/Status/HarvestReport/Report/Report.js"
/*!***************************************************************!*\
  !*** ./modules/harvest/Status/HarvestReport/Report/Report.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var commons_components_common_Table__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/Table */ "./modules/commons/components/common/Table/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! harvest/nls/esrePipelineResult.nls */ "./modules/harvest/nls/esrePipelineResult.nls");
/* harmony import */ var harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! harvest/util/pipelineResult */ "./modules/harvest/util/pipelineResult.js");
/* harmony import */ var _HarvestReportCard__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../HarvestReportCard */ "./modules/harvest/Status/HarvestReport/HarvestReportCard/index.js");
/* harmony import */ var _HarvestReport_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../HarvestReport.scss */ "./modules/harvest/Status/HarvestReport/HarvestReport.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");











const Report = _ref => {
  let {
    body,
    showValidationButton,
    showValidationReport
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((harvest_nls_esrePipelineResult_nls__WEBPACK_IMPORTED_MODULE_8___default()));
  const {
    validationResults = {},
    data = {},
    mergeResults = {},
    mergeResultsByType = {}
  } = body;
  const validationResultsArray = Object.keys(validationResults);
  const dataArray = Object.keys(data);
  const harvestDetailsHeaders = [translate('harvestDetailsType'), ...Object.keys(mergeResults).map(header => translate(header))];
  const harvestDetailsRowsRaw = (0,harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_9__.mergeResultsToRows)(mergeResultsByType);
  const harvestDetailsRows = harvestDetailsRowsRaw.filter(Boolean).sort((_ref2, _ref3) => {
    let [label1] = _ref2;
    let [label2] = _ref3;
    return label1.localeCompare(label2);
  });
  const showAlert = harvestDetailsRowsRaw.length !== harvestDetailsRows.length;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_HarvestReportCard__WEBPACK_IMPORTED_MODULE_10__["default"], {
    title: translate('harvestingResult'),
    data: dataArray.map(item => ({
      label: translate(item),
      value: translate(body.data[item])
    }))
  }), validationResultsArray.length > 0 && /*#__PURE__*/React.createElement(_HarvestReportCard__WEBPACK_IMPORTED_MODULE_10__["default"], {
    key: "validation-results",
    title: translate('validationResult'),
    data: validationResultsArray.map(item => ({
      label: translate(item),
      value: body.validationResults[item]
    }))
  }), showValidationButton ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreHarvestReportCard__Button",
    variant: "text",
    onClick: () => showValidationReport()
  }, translate('validationReport')) : null, harvestDetailsRows.length ? /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReportCardBlock"
  }, /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReportCardBlock__Header"
  }, translate('harvestDetailsHeader')), showAlert ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    severity: "error",
    className: "esreHarvestReportAlert"
  }, translate('missingTypesWarning')) : null, /*#__PURE__*/React.createElement(commons_components_common_Table__WEBPACK_IMPORTED_MODULE_6__["default"], {
    headers: harvestDetailsHeaders,
    rows: harvestDetailsRows
  })) : null);
};
Report.propTypes = {
  body: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    validationResults: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
    mergeResults: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
    data: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({}),
    mergeResultsByType: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({})
  }),
  showValidationButton: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  showValidationReport: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Report);

/***/ },

/***/ "./modules/harvest/Status/HarvestReport/Report/index.js"
/*!**************************************************************!*\
  !*** ./modules/harvest/Status/HarvestReport/Report/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Report__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Report__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Report */ "./modules/harvest/Status/HarvestReport/Report/Report.js");


/***/ },

/***/ "./modules/harvest/Status/HarvestReport/index.js"
/*!*******************************************************!*\
  !*** ./modules/harvest/Status/HarvestReport/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _HarvestReport__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _HarvestReport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./HarvestReport */ "./modules/harvest/Status/HarvestReport/HarvestReport.js");


/***/ },

/***/ "./modules/harvest/Status/View.js"
/*!****************************************!*\
  !*** ./modules/harvest/Status/View.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index */ "./modules/harvest/Status/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const StatusView = () => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_0__.useESContext)();
  return /*#__PURE__*/React.createElement(_index__WEBPACK_IMPORTED_MODULE_1__["default"], {
    contextId: context.getId()
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatusView);

/***/ },

/***/ "./modules/harvest/Status/chartOptions.js"
/*!************************************************!*\
  !*** ./modules/harvest/Status/chartOptions.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const options = nlsBundle => ({
  maintainAspectRatio: false,
  plugins: {
    tooltip: {
      callbacks: {
        afterTitle(items) {
          if (!(items !== null && items !== void 0 && items.length)) return;
          const item = items[0];
          const dataset = item.chart.data.datasets[item.datasetIndex];
          const element = dataset.data[item.dataIndex];
          return (element === null || element === void 0 ? void 0 : element.type) === 'inferred' ? nlsBundle.failure : nlsBundle.success;
        }
      }
    },
    legend: {
      display: true,
      position: 'bottom',
      labels: {
        usePointStyle: true,
        padding: 25
      }
    }
  },
  scales: {
    x: {
      stacked: true,
      type: 'time',
      time: {
        unit: 'day',
        displayFormats: {
          day: 'MMM dd'
        }
      },
      ticks: {
        source: 'data',
        autoSkip: true,
        maxTicksLimit: 15
      },
      offset: true
    },
    y: {
      stacked: true,
      min: 0,
      ticks: {
        precision: 0
      },
      title: {
        display: true,
        text: nlsBundle.yAxisLabel
      }
    }
  }
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (options);

/***/ },

/***/ "./modules/harvest/Status/index.js"
/*!*****************************************!*\
  !*** ./modules/harvest/Status/index.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Refresh.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! harvest/nls/esrePipelineResultListDialog.nls */ "./modules/harvest/nls/esrePipelineResultListDialog.nls");
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/chart/Time */ "./modules/commons/components/chart/Time/index.js");
/* harmony import */ var harvest_Status_chartOptions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! harvest/Status/chartOptions */ "./modules/harvest/Status/chartOptions.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var harvest_util__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! harvest/util */ "./modules/harvest/util/index.js");
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! harvest/util/pipelineResult */ "./modules/harvest/util/pipelineResult.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _HarvestReport__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./HarvestReport */ "./modules/harvest/Status/HarvestReport/index.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./index.scss */ "./modules/harvest/Status/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






















const Refresh = _ref => {
  let {
    refreshHandler
  } = _ref;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)((commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "escoFilters__actions esreHarvestList__Refresh"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__["default"], {
    title: t('actionTooltipRefresh')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    "aria-label": t('refreshListLabel'),
    onClick: refreshHandler,
    color: "primary"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"], null))));
};
const Status = _ref2 => {
  let {
    contextId,
    handleChangeTab
  } = _ref2;
  const [pipelineEntry, setPipelineEntry] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const [chartData, setChartData] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const [jobEntries, setJobEntries] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [pipelineResultData, setPipelineResultData] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]);
  const [projectType, setProjectType] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)();
  const {
    id: recipeId
  } = (0,harvest_util__WEBPACK_IMPORTED_MODULE_17__.getRecipeFromProjectType)(projectType);
  const [buttonDisabled, setButtonDisabled] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [timer, setTimer] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  const isReharvestButtonVisible = pipelineEntry && pipelineEntry.canWriteResource();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)((harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const chartNLSBundle = {
    success: t('success'),
    failure: t('failure'),
    legendLabelSuccess: t('legendLabelSuccess'),
    legendLabelFailed: t('legendLabelFailed'),
    yAxisLabel: t('yAxisLabel')
  };
  const fetchData = async () => {
    const {
      pipelineEntry: pipeEntry
    } = await (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_16__.getPipelineEntryAndResource)(contextId);
    setPipelineEntry(pipeEntry);
    const datasetsOverTime = await (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_16__.loadDatasetsOverTime)(contextId, chartNLSBundle);
    setChartData(datasetsOverTime);
    const jobs = await (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_16__.loadJobEntries)(contextId);
    setJobEntries(jobs);
    const pipelineProjectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_20__["default"].getProjectTypeInUse(pipeEntry.getContext());
    setProjectType(pipelineProjectType);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    fetchData();
  }, []);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    let entries = [];
    if (jobEntries.length > 0) {
      entries = jobEntries.map(entry => {
        return (0,harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_19__.getData)(entry, recipeId);
      });
    }
    setPipelineResultData(entries);
  }, [jobEntries, recipeId]);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (timer) {
      clearTimeout(timer);
    }
    if (buttonDisabled) {
      const time = setTimeout(async () => {
        const jobs = await (0,harvest_util_data__WEBPACK_IMPORTED_MODULE_16__.loadJobEntries)(contextId);
        setJobEntries(jobs);
        setButtonDisabled(false);
      }, 2000);
      setTimer(time);
    }
  }, [buttonDisabled]);
  const isButtonDisabled = () => {
    if (jobEntries.length > 0) {
      const status = jobEntries[0].getEntryInfo().getStatus();
      return status === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.terms.status.InProgress || status === _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.terms.status.Pending;
    }
    return false;
  };
  const executeNewPipeline = async () => {
    setButtonDisabled(true);
    const pipeline = await pipelineEntry.getResource();
    await pipeline.execute();
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, (chartData === null || chartData === void 0 ? void 0 : chartData.datasets[0].data.length) > 0 && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    variant: "h2",
    gutterBottom: true,
    classes: {
      root: 'esreHarvestStatus__Header'
    }
  }, t('chartTitle')), /*#__PURE__*/React.createElement(commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_13__["default"], {
    data: chartData,
    colors: [{
      backgroundColor: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_18__.success.main,
      borderColor: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_18__.success.main,
      borderWidth: 1
    }, {
      backgroundColor: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_18__.error.light,
      borderColor: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_18__.error.light,
      borderWidth: 1
    }],
    options: (0,harvest_Status_chartOptions__WEBPACK_IMPORTED_MODULE_14__["default"])(chartNLSBundle),
    dimensions: {
      height: '200px'
    }
  })), /*#__PURE__*/React.createElement("div", {
    className: "esrePipelineResultHeader"
  }, t('harvestingLatestX', pipelineResultData.length || 1), /*#__PURE__*/React.createElement("div", {
    className: "esrePipelineResultHeader__actions"
  }, /*#__PURE__*/React.createElement(Refresh, {
    refreshHandler: fetchData
  }), isReharvestButtonVisible && /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_15__["default"], {
    title: t('pRcreatePopoverTitle')
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "contained",
    color: "primary",
    "aria-label": t('pRcreatePopoverTitle'),
    onClick: () => executeNewPipeline(),
    disabled: isButtonDisabled() || buttonDisabled
  }, pipelineResultData.length === 0 ? t('createButtonInitialLabel') : t('pRcreateButtonLabel')))))), /*#__PURE__*/React.createElement("div", {
    className: "esreHarvestReportList"
  }, pipelineResultData.length > 0 && pipelineResultData.map((data, index) => /*#__PURE__*/React.createElement(_HarvestReport__WEBPACK_IMPORTED_MODULE_21__["default"], {
    pipelineData: data,
    jobEntry: jobEntries[index],
    key: data.id,
    handleChangeTab: handleChangeTab
  }))));
};
Status.propTypes = {
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string).isRequired,
  handleChangeTab: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
Refresh.propTypes = {
  refreshHandler: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Status);

/***/ },

/***/ "./modules/harvest/Validation/Validation.js"
/*!**************************************************!*\
  !*** ./modules/harvest/Validation/Validation.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! toolkit/nls/esreReport.nls */ "./modules/toolkit/nls/esreReport.nls");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var harvest_util_data__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! harvest/util/data */ "./modules/harvest/util/data.js");
/* harmony import */ var harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! harvest/util/pipelineResult */ "./modules/harvest/util/pipelineResult.js");
/* harmony import */ var commons_components_ValidationReport__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/ValidationReport */ "./modules/commons/components/ValidationReport/index.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var _Validation_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Validation.scss */ "./modules/harvest/Validation/Validation.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const HARVEST_PARAM = 'harvest';
const Validation = _ref => {
  let {
    contextId: propsContextId
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_13___default()));
  const [selectedJob, setSelectedJob] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)();

  // can be reached at either /organization/X/validation or in-dialog at /status/reports
  const {
    contextId: paramsContextId
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_5__.useParams)();
  const contextId = propsContextId || paramsContextId;
  const [searchParams, setSearchParams] = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.useSearchParams)();
  const {
    data: jobEntries,
    runAsync: runGetJobEntries,
    isLoading: isGetJobEntriesLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  // Precomputed report based on prov:generated used for initial validation results
  // dcterms:source graph based validation used in the instance report dialog
  const {
    data: precomputedReport,
    runAsync: runGetReport,
    isLoading: isReportLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const {
    data: graph,
    runAsync: runGetGraph,
    isLoading: isGraphLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_11__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const paramsJobId = searchParams.get(HARVEST_PARAM);
    if (!paramsJobId && selectedJob) return;
    runGetJobEntries((0,harvest_util_data__WEBPACK_IMPORTED_MODULE_14__.loadJobEntries)(contextId).then(entries => {
      const selectedEntry = paramsJobId ? entries.find(e => e.getId() === paramsJobId) : entries[0];
      setSelectedJob(selectedEntry);
      return entries;
    }));
  }, [contextId, searchParams, runGetJobEntries, selectedJob]);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (!selectedJob) return;
    runGetReport((0,harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_15__.getGeneratedReport)(selectedJob).catch(() => null));
    runGetGraph((0,harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_15__.getSourceData)(selectedJob));
  }, [runGetReport, runGetGraph, selectedJob]);
  const handleChangeJob = _ref2 => {
    let {
      target: {
        value
      }
    } = _ref2;
    const jobIdParam = searchParams.get(HARVEST_PARAM);
    if (jobIdParam) {
      searchParams.delete(HARVEST_PARAM);
      setSearchParams(searchParams);
    }
    const selectedEntry = jobEntries.find(e => e.getId() === value);
    setSelectedJob(selectedEntry);
  };
  if (!isGetJobEntriesLoading && !jobEntries.length) {
    return /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_18__["default"], {
      label: translate('noDataValidationPlaceholder')
    });
  }
  if (!selectedJob || isReportLoading || isGraphLoading) {
    return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_17__["default"], null);
  }
  const selectElement = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "harvest-select-label"
  }, translate('harvestSelectLabel')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    labelId: "harvest-select-label",
    value: selectedJob.getId(),
    label: translate('harvestSelectLabel'),
    onChange: handleChangeJob
  }, jobEntries.map(entry => {
    const entryId = entry.getId();
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      key: entryId,
      value: entryId
    }, (0,harvest_util_pipelineResult__WEBPACK_IMPORTED_MODULE_15__.getDate)(entry, 'timeMedium'));
  })));
  const titleElement = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    variant: "h2"
  }, translate('validationReport'));
  return /*#__PURE__*/React.createElement(commons_components_ValidationReport__WEBPACK_IMPORTED_MODULE_16__["default"], {
    graph: graph,
    precomputedReport: precomputedReport,
    title: titleElement,
    select: selectElement,
    jobStatus: selectedJob.getEntryInfo().getStatus()
  });
};
Validation.propTypes = {
  contextId: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Validation);

/***/ },

/***/ "./modules/harvest/Validation/index.js"
/*!*********************************************!*\
  !*** ./modules/harvest/Validation/index.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Validation__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Validation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Validation */ "./modules/harvest/Validation/Validation.js");


/***/ },

/***/ "./modules/harvest/config/config.js"
/*!******************************************!*\
  !*** ./modules/harvest/config/config.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SOURCE_INFORMATION: () => (/* binding */ SOURCE_INFORMATION),
/* harmony export */   SOURCE_LINKCHECKS: () => (/* binding */ SOURCE_LINKCHECKS),
/* harmony export */   SOURCE_LISTVIEW: () => (/* binding */ SOURCE_LISTVIEW),
/* harmony export */   SOURCE_NOTIFICATIONS: () => (/* binding */ SOURCE_NOTIFICATIONS),
/* harmony export */   SOURCE_OVERVIEW_NAME: () => (/* binding */ SOURCE_OVERVIEW_NAME),
/* harmony export */   SOURCE_STATISTICS: () => (/* binding */ SOURCE_STATISTICS),
/* harmony export */   SOURCE_VALIDATION: () => (/* binding */ SOURCE_VALIDATION),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const SOURCE_OVERVIEW_NAME = 'harvest__org__status';
const SOURCE_LISTVIEW = 'harvest__list';
const SOURCE_INFORMATION = 'harvest__org__information';
const SOURCE_STATISTICS = 'harvest__org__statistics';
const SOURCE_VALIDATION = 'harvest__org__validation';
const SOURCE_LINKCHECKS = 'harvest__org__linkCheckReport';
const SOURCE_NOTIFICATIONS = 'harvest__org__notifications';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({});

/***/ },

/***/ "./modules/harvest/config/site.js"
/*!****************************************!*\
  !*** ./modules/harvest/config/site.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var harvest_SourcesView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! harvest/SourcesView */ "./modules/harvest/SourcesView/index.js");
/* harmony import */ var harvest_Information_InformationView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! harvest/Information/InformationView */ "./modules/harvest/Information/InformationView.js");
/* harmony import */ var harvest_LinkCheckReport_View__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! harvest/LinkCheckReport/View */ "./modules/harvest/LinkCheckReport/View.js");
/* harmony import */ var harvest_Statistics_View__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! harvest/Statistics/View */ "./modules/harvest/Statistics/View.js");
/* harmony import */ var harvest_Status_View__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! harvest/Status/View */ "./modules/harvest/Status/View.js");
/* harmony import */ var harvest_Notifications__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! harvest/Notifications */ "./modules/harvest/Notifications/index.js");
/* harmony import */ var harvest_Validation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! harvest/Validation */ "./modules/harvest/Validation/index.js");
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./config */ "./modules/harvest/config/config.js");








/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  modules: [{
    name: 'register',
    productName: {
      en: 'Sources',
      sv: 'Källor',
      de: 'Quellen'
    },
    title: {
      en: 'Sources',
      sv: 'Källor',
      de: 'Quellen'
    },
    startView: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    asCrumb: true,
    sidebar: true,
    text: {
      sv: 'Registera organisationer och deras kataloger som ska skördas',
      en: 'Register sources and their catalogs to be harvested',
      de: 'Registrieren von Katalogen die geharvested werden sollen'
    }
  }],
  views: [{
    name: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    class: harvest_SourcesView__WEBPACK_IMPORTED_MODULE_0__["default"],
    title: {
      en: 'Harvesting sources',
      sv: 'Skördningskällor',
      de: 'Harvesting-Quellen'
    },
    hidden: true,
    route: '/organization',
    module: 'register'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_OVERVIEW_NAME,
    class: harvest_Status_View__WEBPACK_IMPORTED_MODULE_4__["default"],
    title: {
      en: 'Status',
      sv: 'Status',
      de: 'Status'
    },
    parent: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    route: '/organization/:contextId/status',
    module: 'register',
    // constructorParams: { inDialog: false, tab: 'status' },
    // navbar: false,
    public: false
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_INFORMATION,
    class: harvest_Information_InformationView__WEBPACK_IMPORTED_MODULE_1__["default"],
    title: {
      en: 'Information',
      sv: 'Information',
      de: 'Information'
    },
    parent: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    route: '/organization/:contextId/information',
    module: 'register',
    // constructorParams: { inDialog: false, tab: 'information' },
    // navbar: false,
    public: false
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_VALIDATION,
    class: harvest_Validation__WEBPACK_IMPORTED_MODULE_6__["default"],
    title: {
      en: 'Validation',
      sv: 'Validering',
      de: 'Validierung'
    },
    parent: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    route: '/organization/:contextId/validation',
    module: 'register',
    public: true
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_STATISTICS,
    class: harvest_Statistics_View__WEBPACK_IMPORTED_MODULE_3__["default"],
    title: {
      en: 'Statistics',
      sv: 'Statistik',
      de: 'Statistik'
    },
    parent: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    route: '/organization/:contextId/statistics',
    module: 'register',
    // constructorParams: { inDialog: false, tab: 'statistics' },
    // navbar: false,
    public: false
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LINKCHECKS,
    class: harvest_LinkCheckReport_View__WEBPACK_IMPORTED_MODULE_2__["default"],
    title: {
      en: 'Link check report',
      sv: 'Länkkontroll\u00ADrapport',
      de: 'Link-Prüfbericht'
    },
    parent: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    route: '/organization/:contextId/linkchecker',
    module: 'register',
    // constructorParams: { inDialog: false, tab: 'linkCheckReport' },
    // navbar: false,
    // disabled: !config.registry?.includeLinkCheckReport, // this is needed
    public: false
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_NOTIFICATIONS,
    class: harvest_Notifications__WEBPACK_IMPORTED_MODULE_5__["default"],
    title: {
      en: 'Notifications',
      sv: 'Notifieringar',
      de: 'Benach\u00ADrichtigungen'
    },
    parent: _config__WEBPACK_IMPORTED_MODULE_7__.SOURCE_LISTVIEW,
    route: '/organization/:contextId/notifications',
    module: 'register',
    restrictTo: 'admin'
  }]
});

/***/ },

/***/ "./modules/harvest/dialogs/CreatePipelineDialog/CreatePipelineDialog.js"
/*!******************************************************************************!*\
  !*** ./modules/harvest/dialogs/CreatePipelineDialog/CreatePipelineDialog.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/ProjectTypeChooser */ "./modules/commons/types/ProjectTypeChooser/index.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var harvest_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! harvest/util */ "./modules/harvest/util/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../forms/PipelineFormModel */ "./modules/harvest/forms/PipelineFormModel.js");
/* harmony import */ var _forms_PipelineForm__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../forms/PipelineForm */ "./modules/harvest/forms/PipelineForm/index.js");
/* harmony import */ var _forms_TransformsForm__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../forms/TransformsForm */ "./modules/harvest/forms/TransformsForm/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















/**
 * Gets the default transforms based on the default recipe in config.
 *
 * @returns {object[]}
 */
const getDefaultTransforms = () => {
  const defaultRecipeId = config__WEBPACK_IMPORTED_MODULE_15__["default"].get('registry.defaultRecipe');
  const recipes = config__WEBPACK_IMPORTED_MODULE_15__["default"].get('registry.recipes') || [];
  const recipe = recipes.find(r => r.id === defaultRecipeId);
  return recipe.transforms;
};
const CreatePipelineDialog = _ref => {
  let {
    closeDialog
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)([(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_9___default())]);
  const {
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__["default"])();
  const [, listDispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListModel)();
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__.useUserState)();
  const [data, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useReducer)(_forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.reducer, _objectSpread(_objectSpread({}, _forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.initialState), {}, {
    transforms: getDefaultTransforms()
  }));
  const isValid = (0,_forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.validateForm)(data, userEntry);
  const handleCreate = () => runAsync((0,harvest_util__WEBPACK_IMPORTED_MODULE_12__.createContextAndGroup)(userEntry, userInfo, data, translate('replaceUserErrorMessage')).then(() => {
    listDispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.CREATE
    });
  }).then(closeDialog));
  const handleChangeProjectType = selectedProjectType => dispatch({
    type: _forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_PROJECT_TYPE,
    projectType: selectedProjectType
  });
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_14__["default"], {
    onClick: handleCreate,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_13__.PENDING,
    disabled: !isValid
  }, translate('cPButton'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "create-pipeline",
    closeDialog: closeDialog,
    title: translate('cOHeader'),
    actions: actions,
    fixedHeight: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    container: true,
    justifyContent: "center",
    alignItems: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    size: {
      xs: 8
    }
  }, /*#__PURE__*/React.createElement(commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_8__["default"], {
    onChangeProjectType: handleChangeProjectType,
    selectedId: data.projectType,
    userInfo: userInfo
  }), /*#__PURE__*/React.createElement(_forms_PipelineForm__WEBPACK_IMPORTED_MODULE_17__["default"], {
    userEntry: userEntry,
    data: data,
    dispatch: dispatch,
    mode: "create"
  }), /*#__PURE__*/React.createElement(_forms_TransformsForm__WEBPACK_IMPORTED_MODULE_18__["default"], {
    data: data,
    dispatch: dispatch
  }))));
};
CreatePipelineDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreatePipelineDialog);

/***/ },

/***/ "./modules/harvest/dialogs/CreatePipelineDialog/index.js"
/*!***************************************************************!*\
  !*** ./modules/harvest/dialogs/CreatePipelineDialog/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreatePipelineDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreatePipelineDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreatePipelineDialog */ "./modules/harvest/dialogs/CreatePipelineDialog/CreatePipelineDialog.js");


/***/ },

/***/ "./modules/harvest/dialogs/EditPipelineDialog/EditPipelineDialog.js"
/*!**************************************************************************!*\
  !*** ./modules/harvest/dialogs/EditPipelineDialog/EditPipelineDialog.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.finally.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.finally.js");
/* harmony import */ var core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var harvest_util__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! harvest/util */ "./modules/harvest/util/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var _forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../forms/PipelineFormModel */ "./modules/harvest/forms/PipelineFormModel.js");
/* harmony import */ var _forms_PipelineForm__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../forms/PipelineForm */ "./modules/harvest/forms/PipelineForm/index.js");
/* harmony import */ var _forms_TransformsForm__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../forms/TransformsForm */ "./modules/harvest/forms/TransformsForm/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


















const EditPipelineDialog = _ref => {
  let {
    open,
    onClose,
    sourceData,
    pipelineEntry,
    onSave
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)((harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14___default()));
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_16__.useUserState)();
  const {
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__["default"])();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_19__.useSnackbar)();
  const [data, formDispatch] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useReducer)(_forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_21__.reducer, _objectSpread(_objectSpread({}, sourceData), {}, {
    isPublic: Boolean(sourceData.psi || sourceData.orgId),
    errors: {}
  }));
  const [hasChanged, setHasChanged] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const isValid = (0,_forms_PipelineFormModel__WEBPACK_IMPORTED_MODULE_21__.validateForm)(data, userEntry);
  const saveEnabled = isValid && hasChanged;
  const handleSave = async () => runAsync((0,harvest_util__WEBPACK_IMPORTED_MODULE_17__.updatePipelineEntry)(pipelineEntry, userEntry, userInfo, data, translate('replaceUserErrorMessage')).then(() => addSnackbar({
    message: translate('editPipelineSavedSuccess')
  }), saveError => {
    addSnackbar({
      message: translate('editPipelineSavedError'),
      type: commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_19__.ERROR
    });
    throw saveError;
  }).then(onSave).finally(onClose));
  const dispatch = function dispatch() {
    formDispatch(...arguments);
    setHasChanged(true);
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    fullWidth: true,
    maxWidth: "md",
    "aria-labelledby": "edit-pipeline-dialog",
    open: open,
    onClose: onClose
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    id: "edit-pipeline-dialog"
  }, translate('ePHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    container: true,
    justifyContent: "center",
    alignItems: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    size: {
      xs: 8
    }
  }, /*#__PURE__*/React.createElement(_forms_PipelineForm__WEBPACK_IMPORTED_MODULE_22__["default"], {
    userEntry: userEntry,
    data: data,
    dispatch: dispatch
  }), /*#__PURE__*/React.createElement(_forms_TransformsForm__WEBPACK_IMPORTED_MODULE_23__["default"], {
    data: data,
    dispatch: dispatch
  })))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], null), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    variant: "text",
    onClick: onClose
  }, translate('cancel')), /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_20__["default"], {
    onClick: handleSave,
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__.PENDING,
    disabled: !saveEnabled
  }, translate('epEdit'))));
};
EditPipelineDialog.propTypes = {
  open: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  sourceData: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    title: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    description: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    username: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    psi: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    orgId: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
    sourceUrl: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
  }).isRequired,
  pipelineEntry: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}).isRequired,
  onSave: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditPipelineDialog);

/***/ },

/***/ "./modules/harvest/dialogs/EditPipelineDialog/index.js"
/*!*************************************************************!*\
  !*** ./modules/harvest/dialogs/EditPipelineDialog/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _EditPipelineDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _EditPipelineDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditPipelineDialog */ "./modules/harvest/dialogs/EditPipelineDialog/EditPipelineDialog.js");


/***/ },

/***/ "./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.js"
/*!******************************************************************************!*\
  !*** ./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/AppBar.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_icons_material_Equalizer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/icons-material/Equalizer */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Equalizer.js");
/* harmony import */ var _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/icons-material/Info */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js");
/* harmony import */ var _mui_icons_material_BorderAll__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/icons-material/BorderAll */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BorderAll.js");
/* harmony import */ var _mui_icons_material_FactCheck__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/icons-material/FactCheck */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FactCheck.js");
/* harmony import */ var _mui_icons_material_Link__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/icons-material/Link */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Link.js");
/* harmony import */ var _mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/icons-material/OpenInNew */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _mui_material_Link__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material/Link */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! harvest/nls/esrePipelineResultListDialog.nls */ "./modules/harvest/nls/esrePipelineResultListDialog.nls");
/* harmony import */ var harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var harvest_Information__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! harvest/Information */ "./modules/harvest/Information/index.js");
/* harmony import */ var harvest_Status__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! harvest/Status */ "./modules/harvest/Status/index.js");
/* harmony import */ var harvest_Statistics__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! harvest/Statistics */ "./modules/harvest/Statistics/index.js");
/* harmony import */ var harvest_LinkCheckReport__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! harvest/LinkCheckReport */ "./modules/harvest/LinkCheckReport/index.js");
/* harmony import */ var harvest_Validation__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! harvest/Validation */ "./modules/harvest/Validation/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/components/common/Tabs */ "./modules/commons/components/common/Tabs/index.js");
/* harmony import */ var _config_config__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../config/config */ "./modules/harvest/config/config.js");
/* harmony import */ var _PipelineResultDialog_scss__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./PipelineResultDialog.scss */ "./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




























const TABS = [{
  id: 'status-tab',
  Icon: _mui_icons_material_Equalizer__WEBPACK_IMPORTED_MODULE_11__["default"],
  labelNLSKey: 'status',
  viewName: 'harvest__org__status',
  Component: harvest_Status__WEBPACK_IMPORTED_MODULE_24__["default"]
}, {
  id: 'info-tab',
  Icon: _mui_icons_material_Info__WEBPACK_IMPORTED_MODULE_12__["default"],
  labelNLSKey: 'information',
  viewName: _config_config__WEBPACK_IMPORTED_MODULE_31__.SOURCE_INFORMATION,
  Component: harvest_Information__WEBPACK_IMPORTED_MODULE_23__["default"]
}, {
  id: 'validation-tab',
  Icon: _mui_icons_material_FactCheck__WEBPACK_IMPORTED_MODULE_14__["default"],
  labelNLSKey: 'validation',
  viewName: _config_config__WEBPACK_IMPORTED_MODULE_31__.SOURCE_VALIDATION,
  Component: harvest_Validation__WEBPACK_IMPORTED_MODULE_27__["default"]
}, {
  id: 'stats-tab',
  Icon: _mui_icons_material_BorderAll__WEBPACK_IMPORTED_MODULE_13__["default"],
  labelNLSKey: 'statistics',
  viewName: _config_config__WEBPACK_IMPORTED_MODULE_31__.SOURCE_STATISTICS,
  Component: harvest_Statistics__WEBPACK_IMPORTED_MODULE_25__["default"]
}, {
  id: 'linkcheck-tab',
  Icon: _mui_icons_material_Link__WEBPACK_IMPORTED_MODULE_15__["default"],
  labelNLSKey: 'linkCheckReport',
  viewName: _config_config__WEBPACK_IMPORTED_MODULE_31__.SOURCE_LINKCHECKS,
  Component: harvest_LinkCheckReport__WEBPACK_IMPORTED_MODULE_26__["default"]
}];
const TabCarousel = _ref => {
  let {
    context
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)((harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_19___default()));
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_21__["default"])();
  const contextId = context.getId();
  const tabs = TABS.filter(_ref2 => {
    let {
      viewName
    } = _ref2;
    const {
      navbar
    } = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_28__.getViewDefFromName)(viewName);
    return navbar === undefined ? true : navbar;
  });
  const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(tabs[0].id);
  const handleChange = (_event, newValue) => {
    setValue(newValue);
  };
  const handleOpenInSearchClick = _event => {
    navigate('/search', {
      state: {
        filter: {
          'context-filter': contextId
        }
      }
    });
  };
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    classes: {
      root: 'esreAppBar__Tabs'
    },
    position: "static",
    color: "default"
  }, /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_30__.Tabs, {
    value: value,
    onChange: handleChange,
    className: "esreTabs",
    "aria-label": translate('tabOptions')
  }, tabs.map(_ref3 => {
    let {
      id,
      Icon,
      labelNLSKey
    } = _ref3;
    return /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_30__.Tab, {
      label: translate(labelNLSKey),
      icon: /*#__PURE__*/React.createElement(Icon, {
        classes: {
          root: 'esreTab__Icon'
        }
      }),
      id: id,
      value: id,
      key: id
    });
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    classes: {
      root: 'esrePipelineDialog__DialogContent'
    }
  }, tabs.map(_ref4 => {
    let {
      id,
      viewName,
      Component
    } = _ref4;
    return /*#__PURE__*/React.createElement(commons_components_common_Tabs__WEBPACK_IMPORTED_MODULE_30__.TabPanel, {
      value: value,
      id: id,
      key: `${id}-panel`
    }, /*#__PURE__*/React.createElement("div", {
      className: "esreTabPanel__buttons"
    }, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_29__["default"], {
      title: translate('openSeparateReportWindowTitle')
    }, /*#__PURE__*/React.createElement(_mui_material_Link__WEBPACK_IMPORTED_MODULE_17__["default"], {
      className: "esreTabPanel__button",
      href: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_28__.getPathFromViewName)(viewName, {
        contextId
      }),
      target: "_blank"
    }, translate('openSeparateReportWindow'), /*#__PURE__*/React.createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_16__["default"], {
      classes: {
        root: 'esreOpenNewLink__Icon'
      }
    }))), /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_29__["default"], {
      title: translate('openInSearch')
    }, /*#__PURE__*/React.createElement(_mui_material_Link__WEBPACK_IMPORTED_MODULE_17__["default"], {
      className: "esreTabPanel__button",
      component: "button",
      onClick: handleOpenInSearchClick
    }, translate('openInSearch')))), /*#__PURE__*/React.createElement(Component, {
      contextId: contextId,
      handleChangeTab: handleChange
    }));
  })));
};
TabCarousel.propTypes = {
  context: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_10__.Context)
};
const PipelineResultDialog = _ref5 => {
  let {
    entry,
    context,
    closeDialog,
    maxWidth = 'lg'
  } = _ref5;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)([(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_18___default()), (harvest_nls_esrePipelineResultListDialog_nls__WEBPACK_IMPORTED_MODULE_19___default())]);
  const actions = null;
  const title = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_22__.getLabel)(entry);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    onClose: closeDialog,
    "aria-labelledby": `${entry.getId()}-dialog-title`,
    open: true,
    fullWidth: true,
    maxWidth: maxWidth
  }, title && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    classes: {
      root: 'esrePipelineDialog__DialogTitle'
    },
    id: `${entry.getId()}-dialog-title`
  }, title), /*#__PURE__*/React.createElement(TabCarousel, {
    context: context
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    onClick: closeDialog,
    variant: "text"
  }, translate('pipelineResultRowButton')), actions));
};
PipelineResultDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape().isRequired,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired,
  maxWidth: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  context: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_10__.Context)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PipelineResultDialog);

/***/ },

/***/ "./modules/harvest/dialogs/PipelineResultDialog/index.js"
/*!***************************************************************!*\
  !*** ./modules/harvest/dialogs/PipelineResultDialog/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PipelineResultDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PipelineResultDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PipelineResultDialog */ "./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.js");


/***/ },

/***/ "./modules/harvest/dialogs/RemovePipelineDialog/RemovePipelineDialog.js"
/*!******************************************************************************!*\
  !*** ./modules/harvest/dialogs/RemovePipelineDialog/RemovePipelineDialog.js ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useMainDialog */ "./modules/commons/hooks/useMainDialog.js");
/* harmony import */ var commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/common/dialogs/MainDialog */ "./modules/commons/components/common/dialogs/MainDialog/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListRemoveEntryDialog */ "./modules/commons/components/EntryListView/dialogs/ListRemoveEntryDialog/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["entry", "nlsBundles", "closeDialog"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const RemovePipelineDialog = _ref => {
  let {
      entry,
      nlsBundles,
      closeDialog
    } = _ref,
    restProps = _objectWithoutProperties(_ref, _excluded);
  const {
    openMainDialog
  } = (0,commons_hooks_useMainDialog__WEBPACK_IMPORTED_MODULE_5__.useMainDialog)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  const removePipelineRow = async (context, homeContext) => {
    try {
      const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_8__.getGroupWithHomeContext)(context);
      if (!groupEntry) throw new Error(translate('removePipelineErrorMessage'));
      await homeContext.del();
      await groupEntry.del();
    } catch (error) {
      openMainDialog({
        content: error.message,
        actions: /*#__PURE__*/React.createElement(commons_components_common_dialogs_MainDialog__WEBPACK_IMPORTED_MODULE_6__.AcknowledgeAction, {
          onDone: closeDialog
        })
      });
    }
  };
  const onRemove = async () => {
    const context = await entry.getContext();
    const homeContextEntry = await context.getEntry();
    await removePipelineRow(context, homeContextEntry);
  };
  return /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListRemoveEntryDialog__WEBPACK_IMPORTED_MODULE_7__["default"]
  // eslint-disable-next-line react/jsx-props-no-spreading
  , _extends({}, restProps, {
    onRemove: onRemove,
    closeDialog: closeDialog,
    removeConfirmMessage: translate('confirmRemovePipeline')
  }));
};
RemovePipelineDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType,
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RemovePipelineDialog);

/***/ },

/***/ "./modules/harvest/dialogs/RemovePipelineDialog/index.js"
/*!***************************************************************!*\
  !*** ./modules/harvest/dialogs/RemovePipelineDialog/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _RemovePipelineDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _RemovePipelineDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RemovePipelineDialog */ "./modules/harvest/dialogs/RemovePipelineDialog/RemovePipelineDialog.js");


/***/ },

/***/ "./modules/harvest/forms/PipelineForm/PipelineForm.js"
/*!************************************************************!*\
  !*** ./modules/harvest/forms/PipelineForm/PipelineForm.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/Switch */ "./modules/commons/components/common/Switch/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_InformationBlock__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/InformationBlock */ "./modules/commons/components/InformationBlock/index.js");
/* harmony import */ var _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../PipelineFormModel */ "./modules/harvest/forms/PipelineFormModel.js");
/* harmony import */ var _PipelineForm_scss__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./PipelineForm.scss */ "./modules/harvest/forms/PipelineForm/PipelineForm.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















const getError = (value, isValidFunction, requiredError, invalidError) => {
  if (!value) return requiredError;
  if (!isValidFunction(value)) return invalidError;
  return '';
};
const PipelineForm = _ref => {
  let {
    userEntry,
    data,
    dispatch,
    mode = 'edit'
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)([(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_14___default())]);
  const hasAdminRights = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_10__.hasAdminRights)(userEntry);
  const handleTitleChange = event => {
    const updatedTitle = event.target.value;
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_TITLE,
      title: updatedTitle,
      errors: {
        title: updatedTitle ? '' : translate('cpNotValidTitle')
      }
    });
  };
  const handleTitleBlur = () => {
    const trimmedTitle = data.title.trim();
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_TITLE,
      title: trimmedTitle,
      errors: {
        title: trimmedTitle ? '' : translate('cpNotValidTitle')
      }
    });
  };
  const handleUsernameChange = event => {
    const updatedUsername = event.target.value;
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_USERNAME,
      username: updatedUsername,
      errors: {
        username: getError(updatedUsername, commons_util_util__WEBPACK_IMPORTED_MODULE_12__.validateEmail, translate('cpNotValidUsername'), translate('invalidEmail'))
      }
    });
  };
  const handleIsPublicChange = () => {
    const updatedIsPublic = !data.isPublic;
    dispatch(_objectSpread({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_PUBLIC,
      isPublic: updatedIsPublic
    }, !updatedIsPublic ? {
      psi: '',
      orgId: '',
      errors: {
        psi: '',
        orgId: ''
      }
    } : {}));
  };
  const handlePSIChange = event => {
    const updatedPSI = event.target.value;
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_PSI,
      psi: updatedPSI,
      errors: {
        psi: getError(updatedPSI, _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.isUri, translate('fieldIsRequired'), translate('invalidURL'))
      }
    });
  };
  const handleOrgIdChange = event => {
    const updatedOrgId = event.target.value;
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_ORG_ID,
      orgId: updatedOrgId,
      errors: {
        orgId: updatedOrgId ? '' : translate('fieldIsRequired')
      }
    });
  };
  const handleOrgIdBlur = () => {
    const trimmedOrgId = data.orgId.trim();
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_ORG_ID,
      orgId: trimmedOrgId,
      errors: {
        orgId: trimmedOrgId ? '' : translate('fieldIsRequired')
      }
    });
  };
  const handleDescriptionChange = event => dispatch({
    type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_DESCRIPTION,
    description: event.target.value
  });
  const handleDescriptionBlur = () => {
    const trimmedDescription = data.description.trim();
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_16__.CHANGE_DESCRIPTION,
      description: trimmedDescription
    });
  };
  const {
    errors: {
      title: titleError,
      username: usernameError,
      orgId: orgIdError
    }
  } = data;
  return /*#__PURE__*/React.createElement(React.Fragment, null, mode === 'edit' ? /*#__PURE__*/React.createElement(commons_components_InformationBlock__WEBPACK_IMPORTED_MODULE_15__["default"], {
    info: translate('editWarning')
  }) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "h2",
    gutterBottom: true,
    className: "esrePipelineForm__header"
  }, translate('organizationDetails')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "title-input",
    "aria-describedby": "title-input",
    label: translate('cPTitle'),
    required: true,
    onChange: handleTitleChange,
    onBlur: handleTitleBlur,
    error: Boolean(titleError),
    helperText: titleError || translate('cPTitlePlaceholder'),
    value: data.title
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "description-input",
    "aria-describedby": "description-input",
    label: translate('cPDescription'),
    helperText: translate('cPDescPlaceholder'),
    onChange: handleDescriptionChange,
    onBlur: handleDescriptionBlur,
    value: data.description
  }), hasAdminRights && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "username-input",
    label: translate('cPUsernameLabel'),
    required: true,
    onChange: handleUsernameChange,
    error: Boolean(usernameError || data.username && !(0,commons_util_util__WEBPACK_IMPORTED_MODULE_12__.validateEmail)(data.username)),
    helperText: usernameError || translate('cPUsernamePlaceholder'),
    value: data.username
  }), hasAdminRights && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], null, /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_9__["default"], {
    title: translate('changeOrganizationTitle')
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    control: /*#__PURE__*/React.createElement(commons_components_common_Switch__WEBPACK_IMPORTED_MODULE_8__["default"], {
      checked: data.isPublic,
      onChange: handleIsPublicChange,
      name: "isPSIOrg",
      value: "public"
    }),
    label: translate('publicLabel')
  }))), data.isPublic && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "psi-input",
    label: translate('cpWebpage'),
    required: true,
    onChange: handlePSIChange,
    error: Boolean(data.errors.psi || data.psi && !(0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.isUri)(data.psi)),
    helperText: data.errors.psi || translate('cpWebpagePlaceholder'),
    value: data.psi
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "org-id-input",
    label: translate('cpOrgId'),
    required: true,
    onChange: handleOrgIdChange,
    onBlur: handleOrgIdBlur,
    error: Boolean(orgIdError),
    helperText: orgIdError || translate('cpOrgIdPlaceholder'),
    value: data.orgId
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "h2",
    gutterBottom: true,
    className: "esrePipelineForm__header"
  }, translate('harvesterDetails')));
};
PipelineForm.propTypes = {
  userEntry: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape().isRequired,
  data: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
    title: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    description: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    username: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    psi: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    orgId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    sourceUrl: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
    isPublic: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
    errors: prop_types__WEBPACK_IMPORTED_MODULE_3___default().shape({
      title: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
      username: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
      sourceUrl: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
      psi: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
      orgId: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string)
    })
  }).isRequired,
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  mode: prop_types__WEBPACK_IMPORTED_MODULE_3___default().oneOf(['edit', 'create'])
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PipelineForm);

/***/ },

/***/ "./modules/harvest/forms/PipelineForm/index.js"
/*!*****************************************************!*\
  !*** ./modules/harvest/forms/PipelineForm/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _PipelineForm__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _PipelineForm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PipelineForm */ "./modules/harvest/forms/PipelineForm/PipelineForm.js");


/***/ },

/***/ "./modules/harvest/forms/PipelineFormModel.js"
/*!****************************************************!*\
  !*** ./modules/harvest/forms/PipelineFormModel.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CHANGE_DESCRIPTION: () => (/* binding */ CHANGE_DESCRIPTION),
/* harmony export */   CHANGE_ORG_ID: () => (/* binding */ CHANGE_ORG_ID),
/* harmony export */   CHANGE_PROJECT_TYPE: () => (/* binding */ CHANGE_PROJECT_TYPE),
/* harmony export */   CHANGE_PSI: () => (/* binding */ CHANGE_PSI),
/* harmony export */   CHANGE_PUBLIC: () => (/* binding */ CHANGE_PUBLIC),
/* harmony export */   CHANGE_TITLE: () => (/* binding */ CHANGE_TITLE),
/* harmony export */   CHANGE_USERNAME: () => (/* binding */ CHANGE_USERNAME),
/* harmony export */   UPDATE_TRANSFORM_ARGUMENT: () => (/* binding */ UPDATE_TRANSFORM_ARGUMENT),
/* harmony export */   initialState: () => (/* binding */ initialState),
/* harmony export */   labelOverrides: () => (/* binding */ labelOverrides),
/* harmony export */   reducer: () => (/* binding */ reducer),
/* harmony export */   validateForm: () => (/* binding */ validateForm)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var harvest_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! harvest/util */ "./modules/harvest/util/index.js");




function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



const labelOverrides = {
  masterType: 'primary types',
  slaveTypes: 'supportive types'
};
const CHANGE_TITLE = 'change-title';
const CHANGE_DESCRIPTION = 'change-description';
const CHANGE_PROJECT_TYPE = 'change-project-type';
const CHANGE_USERNAME = 'change-username';
const CHANGE_PSI = 'change-psi';
const CHANGE_ORG_ID = 'change-org-id';
const CHANGE_PUBLIC = 'change-public';
const UPDATE_TRANSFORM_ARGUMENT = 'update-transform-argument';
const initialState = {
  title: '',
  description: '',
  username: '',
  psi: '',
  orgId: '',
  isPublic: false,
  projectType: '',
  transforms: [],
  errors: {}
};
const reducer = (state, action) => {
  switch (action.type) {
    case CHANGE_PROJECT_TYPE:
      {
        const projectType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_4__["default"].getProjectType(action.projectType);
        const recipe = (0,harvest_util__WEBPACK_IMPORTED_MODULE_6__.getRecipeFromProjectType)(projectType);
        const {
          transforms
        } = recipe;
        return _objectSpread(_objectSpread({}, state), {}, {
          projectType: action.projectType,
          transforms,
          errors: {}
        });
      }
    case CHANGE_TITLE:
      return _objectSpread(_objectSpread({}, state), {}, {
        title: action.title,
        errors: _objectSpread(_objectSpread({}, state.errors), action.errors)
      });
    case CHANGE_DESCRIPTION:
      return _objectSpread(_objectSpread({}, state), {}, {
        description: action.description
      });
    case CHANGE_USERNAME:
      return _objectSpread(_objectSpread({}, state), {}, {
        username: action.username,
        errors: _objectSpread(_objectSpread({}, state.errors), action.errors)
      });
    case CHANGE_PSI:
      return _objectSpread(_objectSpread({}, state), {}, {
        psi: action.psi,
        errors: _objectSpread(_objectSpread({}, state.errors), action.errors)
      });
    case CHANGE_ORG_ID:
      return _objectSpread(_objectSpread({}, state), {}, {
        orgId: action.orgId,
        errors: _objectSpread(_objectSpread({}, state.errors), action.errors)
      });
    case CHANGE_PUBLIC:
      if (!action.isPublic) {
        state.oldPsiFields = {
          psi: state.psi,
          orgId: state.orgId
        };
        state.oldPsiErrors = {
          psi: state.errors.psi,
          orgId: state.errors.orgId
        };
      }
      return _objectSpread(_objectSpread(_objectSpread({}, state), {}, {
        isPublic: action.isPublic
      }, !action.isPublic ? {
        psi: '',
        orgId: ''
      } : state.oldPsiFields || {}), {}, {
        errors: _objectSpread(_objectSpread({}, state.errors), !action.isPublic ? _objectSpread(_objectSpread({}, state.errors), {}, {
          psi: '',
          orgId: ''
        }) : state.oldPsiErrors || {})
      });
    case UPDATE_TRANSFORM_ARGUMENT:
      {
        return _objectSpread(_objectSpread({}, state), {}, {
          transforms: state.transforms.map(transform => {
            if (transform.type !== action.transformType) return transform;
            const newArgs = _objectSpread({}, transform.args);
            const argToUpdate = newArgs[action.key];
            if (typeof argToUpdate === 'object' && argToUpdate !== null && 'value' in argToUpdate) {
              newArgs[action.key] = _objectSpread(_objectSpread({}, argToUpdate), {}, {
                value: action.newValue
              });
            } else {
              newArgs[action.key] = action.newValue;
            }
            return _objectSpread(_objectSpread({}, transform), {}, {
              args: newArgs
            });
          }),
          errors: _objectSpread(_objectSpread({}, state.errors), action.errors)
        });
      }
    default:
      throw new Error(`${action.type} is not a valid action type`);
  }
};
const getRequiredFields = (userEntry, isPublic) => {
  const requiredFields = ['title'];
  if (isPublic) requiredFields.push('psi', 'orgId');
  if ((0,commons_util_user__WEBPACK_IMPORTED_MODULE_5__.hasAdminRights)(userEntry)) requiredFields.push('username');
  return requiredFields;
};
const validateForm = (data, userEntry) => {
  // covers errors after interacting with fields
  const hasErrors = Object.values(data.errors).some(value => value);

  // covers errors when the form has not been touched yet
  const requiredFields = getRequiredFields(userEntry, data.isPublic);
  const requiredFieldsFilled = Object.keys(data).filter(dataField => requiredFields.includes(dataField)).every(dataValue => {
    var _data$dataValue;
    return (_data$dataValue = data[dataValue]) === null || _data$dataValue === void 0 ? void 0 : _data$dataValue.trim();
  });
  const requiredTransformsFilled = data.transforms.every(transform => {
    if (!transform.args) return true;
    return Object.values(transform.args).every(arg => {
      if (typeof arg !== 'object' || arg === null || !arg.required) return true;
      return !!arg.value;
    });
  });
  return !hasErrors && requiredFieldsFilled && requiredTransformsFilled;
};

/***/ },

/***/ "./modules/harvest/forms/TransformsForm/TransformsForm.js"
/*!****************************************************************!*\
  !*** ./modules/harvest/forms/TransformsForm/TransformsForm.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getArgumentError: () => (/* binding */ getArgumentError)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! harvest/nls/esreHarvest.nls */ "./modules/harvest/nls/esreHarvest.nls");
/* harmony import */ var harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _PipelineFormModel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../PipelineFormModel */ "./modules/harvest/forms/PipelineFormModel.js");
/* harmony import */ var _TransformsForm_scss__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./TransformsForm.scss */ "./modules/harvest/forms/TransformsForm/TransformsForm.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");












const getArgumentError = (value, pattern, required, translate) => {
  if (required && !value) return translate('fieldIsRequired');
  if (value && pattern && !new RegExp(pattern.value).test(value)) return (0,commons_locale__WEBPACK_IMPORTED_MODULE_9__.localizeLabel)(pattern.error);
  return '';
};
const Transform = _ref => {
  let {
    type,
    args = {},
    dispatch,
    errors = {}
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)([(harvest_nls_esreHarvest_nls__WEBPACK_IMPORTED_MODULE_8___default())]);
  const argumentPairs = Object.entries(args);
  const handleUpdateArgument = (_ref2, key, pattern, required) => {
    let {
      target
    } = _ref2;
    const argumentError = getArgumentError(target.value, pattern, required, translate);
    dispatch({
      type: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_10__.UPDATE_TRANSFORM_ARGUMENT,
      transformType: type,
      key,
      newValue: target.value,
      errors: {
        [`${type}-${key}`]: argumentError
      }
    });
  };
  return /*#__PURE__*/React.createElement("div", {
    className: "esreTransformsForm",
    key: `transform-${type}`
  }, argumentPairs.length ? /*#__PURE__*/React.createElement(React.Fragment, null, argumentPairs.map(_ref3 => {
    let [key, value] = _ref3;
    if (typeof value !== 'object') return null;
    const {
      label,
      helperText,
      value: val,
      required,
      visible,
      pattern
    } = value;
    if (!visible) return null;
    const argumentError = errors[`${type}-${key}`];
    return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.TextField, {
      key: `argument-${key}`,
      label: _PipelineFormModel__WEBPACK_IMPORTED_MODULE_10__.labelOverrides[key] || (0,commons_locale__WEBPACK_IMPORTED_MODULE_9__.localizeLabel)(label) || key,
      InputLabelProps: {
        shrink: true
      },
      value: val,
      error: Boolean(argumentError),
      helperText: argumentError || (helperText ? (0,commons_locale__WEBPACK_IMPORTED_MODULE_9__.localizeLabel)(helperText) : ''),
      onChange: event => handleUpdateArgument(event, key, pattern, required),
      margin: "dense",
      fullWidth: true,
      required: required,
      xs: 12
    });
  })) : null);
};
Transform.propTypes = {
  type: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  args: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({}),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  errors: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})
};
const TransformsForm = _ref4 => {
  let {
    data,
    dispatch
  } = _ref4;
  return /*#__PURE__*/React.createElement("form", {
    noValidate: true,
    autoComplete: "off"
  }, data.transforms.map(_ref5 => {
    let {
      type,
      args
    } = _ref5;
    return /*#__PURE__*/React.createElement(Transform, {
      type: type,
      args: args,
      dispatch: dispatch,
      key: `transform-${type}`,
      errors: data === null || data === void 0 ? void 0 : data.errors
    });
  }));
};
TransformsForm.propTypes = {
  data: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    transforms: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
    errors: prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})
  }),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TransformsForm);

/***/ },

/***/ "./modules/harvest/forms/TransformsForm/index.js"
/*!*******************************************************!*\
  !*** ./modules/harvest/forms/TransformsForm/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _TransformsForm__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _TransformsForm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TransformsForm */ "./modules/harvest/forms/TransformsForm/TransformsForm.js");


/***/ },

/***/ "./modules/harvest/util/chart.js"
/*!***************************************!*\
  !*** ./modules/harvest/util/chart.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addMissingData: () => (/* binding */ addMissingData),
/* harmony export */   getBarColors: () => (/* binding */ getBarColors)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var moment_moment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment/moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment_moment__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_moment__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");




/**
 * Iterates over daily dataset data adding new (equal to previous day's datasets)
 * when a day is missing.
 * @param {Array.<Object>} data
 */
const addMissingData = data => {
  if (data.length === 0) {
    return data;
  }
  const uniqueBySubProp = (arr, prop, subProp) => {
    const tempArr = arr.map(el => el[prop][subProp]);
    return arr.filter((obj, index) => tempArr.indexOf(obj[prop][subProp]) === index);
  };
  const uniqueData = uniqueBySubProp(data, 'x', '_i');
  const sortedData = uniqueData.sort((a, b) => a.x.diff(b.x));
  const lastElement = sortedData[sortedData.length - 1];
  const todaysDate = moment_moment__WEBPACK_IMPORTED_MODULE_2___default()().startOf('day');
  if (!todaysDate.isSame(lastElement.x, 'day')) {
    sortedData.push({
      x: todaysDate,
      y: lastElement.y,
      type: 'inferred'
    });
  }

  // TODO: @giorgos fix this mess - readability and only do the following for last 30 days
  // eslint-disable-next-line prefer-destructuring
  let length = sortedData.length;
  for (let i = 0; i < length - 1; i++) {
    const currentElementDate = sortedData[i].x;
    const dateAfterCurrentElement = moment_moment__WEBPACK_IMPORTED_MODULE_2___default()(currentElementDate).add(1, 'days'); // Notice the new date is on 'd' instead of 'x'
    if (i < length) {
      const nextElementDate = sortedData[i + 1].x;
      if (!dateAfterCurrentElement.isSame(nextElementDate, 'day')) {
        const newElement = {
          x: dateAfterCurrentElement,
          y: sortedData[i].y,
          type: 'inferred'
        };
        sortedData.splice(i + 1, 0, newElement);
        length += 1;
      }
    }
  }
  return sortedData;
};

/**
 * Differentiates bar background color depending on the corresponding value.
 * @param {Array.<Object>} data
 */
const getBarColors = data => {
  const barColors = [];
  data.forEach(d => {
    const color = d.type === 'inferred' ? commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_3__.error.light : commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_3__.success.main;
    barColors.push(color);
  });
  return barColors;
};


/***/ },

/***/ "./modules/harvest/util/data.js"
/*!**************************************!*\
  !*** ./modules/harvest/util/data.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   STATS_VIEW_TO_BE_DELETED_TOPIC: () => (/* binding */ STATS_VIEW_TO_BE_DELETED_TOPIC),
/* harmony export */   getDatasetCount: () => (/* binding */ getDatasetCount),
/* harmony export */   getLoadStatistics: () => (/* binding */ getLoadStatistics),
/* harmony export */   getPSIOrg: () => (/* binding */ getPSIOrg),
/* harmony export */   getPercentage: () => (/* binding */ getPercentage),
/* harmony export */   getPipelineData: () => (/* binding */ getPipelineData),
/* harmony export */   getPipelineEntryAndResource: () => (/* binding */ getPipelineEntryAndResource),
/* harmony export */   loadDatasetsOverTime: () => (/* binding */ loadDatasetsOverTime),
/* harmony export */   loadJobEntries: () => (/* binding */ loadJobEntries),
/* harmony export */   loadLinkCheckReport: () => (/* binding */ loadLinkCheckReport)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @entryscape/rdforms/renderers/react */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js");
/* harmony import */ var commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/rdforms/itemstore */ "./modules/commons/rdforms/itemstore.js");
/* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./chart */ "./modules/harvest/util/chart.js");
















const STATS_VIEW_TO_BE_DELETED_TOPIC = 'registry.statistics.onremove';
const {
  CODES
} = _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_13__.engine;

/**
 *
 * @param {string} contextId
 * @returns {Promise<number>}
 */
const getDatasetCount = async function getDatasetCount() {
  let contextId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  const datasetEntriesSearchList = commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().context(contextId).rdfType('dcat:Dataset').list();
  await datasetEntriesSearchList.getEntries();
  return datasetEntriesSearchList.getSize();
};

/**
 *
 * @param {string} contextId
 * @param {object} chartNLSBundle
 * @returns {Promise<{datasets: [{data: []}]}>}
 */
const loadDatasetsOverTime = async (contextId, chartNLSBundle) => {
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__.namespaces.add('st', 'http://entrystore.org/terms/statistics#');
  const statistics = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().context('catalogstatistics').rdfType('st:CatalogStatistics').limit(30).getEntries();
  let data = [];
  const successData = [];
  const failedData = [];
  const inContextPath = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__.namespaces.expand('st:datasets_in_context_') + contextId;
  // eslint-disable-next-line array-callback-return
  statistics.map(entry => {
    const metadata = entry.getMetadata();
    const resourceURI = entry.getResourceURI();
    const statements = metadata.find(resourceURI).filter(stmt => stmt.getPredicate() === inContextPath);
    let date = metadata.find(resourceURI, 'dcterms:date')[0].getValue();
    date = moment__WEBPACK_IMPORTED_MODULE_12___default()(date);
    statements.forEach(stmt => {
      data.push({
        x: date,
        y: stmt.getValue(),
        type: 'original'
      });
    });
  });
  data = (0,_chart__WEBPACK_IMPORTED_MODULE_15__.addMissingData)(data);
  // Slicing in case  addMissingData adds A LOT of data points.
  // addMissingData changes sorting order so we need the last-latest elements.

  data = data.slice(-30);
  data.forEach(item => {
    if (item.type === 'original') {
      successData.push({
        x: item.x,
        y: item.y,
        type: 'original'
      });
      failedData.push({
        x: item.x,
        y: '0',
        type: 'inferred'
      });
    } else {
      successData.push({
        x: item.x,
        y: '0',
        type: 'original'
      });
      failedData.push({
        x: item.x,
        y: item.y,
        type: 'inferred'
      });
    }
  });
  return {
    datasets: [{
      label: chartNLSBundle.legendLabelSuccess,
      data: successData,
      stack: 'Stack'
    }, {
      label: chartNLSBundle.legendLabelFailed,
      data: failedData,
      stack: 'Stack'
    }]
  };
};

/**
 *
 * @param {string} contextId
 * @returns {Promise<Entry[]>}
 */
const loadJobEntries = async contextId => commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__.types.GT_PIPELINERESULT).context(contextId).sort('created+desc').getEntries();

/**
 *
 * @param {string} contextId
 * @returns {Promise<{pipelineEntry: Entry[], pipelineResource: *}>}
 */
const getPipelineEntryAndResource = async contextId => {
  const pipelineEntry = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().context(contextId).graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__.types.GT_PIPELINE).list().getEntries(0).then(entries => entries.length > 0 ? entries[0] : null);
  const pipelineResource = await pipelineEntry.getResource();
  return {
    pipelineEntry,
    pipelineResource
  };
};

/**
 *
 * @param {Entry} latestJobEntry
 * @param {Entry} pipelineEntry
 * @returns {boolean}
 */
const getPSIOrg = (latestJobEntry, pipelineEntry) => {
  if (latestJobEntry) {
    return latestJobEntry.getMetadata().find(null, 'dcterms:subject', {
      type: 'literal',
      value: 'psi'
    }).length > 0;
  }
  return pipelineEntry.getMetadata().findFirstValue(pipelineEntry.getResourceURI(), 'foaf:page') != null;
};

/**
 *
 * @param {Entry} entry
 * @param resource
 * @param isPSIOrg
 * @param nlsBundle
 * @returns {{data: {}, title: string}}
 */
const getPipelineData = (entry, resource, isPSIOrg, nlsBundle) => {
  const data = {};
  let title = '';
  if (entry) {
    if (isPSIOrg) {
      data[nlsBundle.orgId] = entry.getMetadata().findFirstValue(null, 'dcterms:identifier') || nlsBundle.notFound;
      data[nlsBundle.psiPage] = resource.getTransformProperty('check', 'source') || nlsBundle.notFound;
    }
    data[nlsBundle.dcatAPI] = resource.getTransformProperty('fetch', 'source') || nlsBundle.notFound;

    // username
    const mdEntry = entry.getMetadata();
    const resourceURI = entry.getResourceURI();
    title = mdEntry.findFirstValue(null, 'dcterms:title');
    const name = mdEntry.findFirstValue(null, 'foaf:mbox');
    const psiTag = mdEntry.find(resourceURI, 'dcterms:subject', {
      type: 'literal',
      value: 'psi'
    }).length > 0;
    if (psiTag && name) {
      data[nlsBundle.userId] = name.substr(7);
    }
  }
  return {
    data,
    title
  };
};

/**
 *
 * @param {string} contextId
 * @returns {object}
 */
const loadLinkCheckReport = async contextId => {
  const reportEntries = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().rdfType('esterms:LinkCheckReport').context(contextId).limit(1).getEntries(0);
  if (!reportEntries.length) return {};
  const reportEntry = reportEntries[0];
  const metadata = reportEntry.getMetadata();
  const resourceURI = reportEntry.getResourceURI();
  const resource = await reportEntry.getResource();
  const resourceContent = await resource.get();
  return {
    createdAt: metadata.findFirstValue(null, 'dcterms:created'),
    linkChecks: metadata.findFirstValue(null, 'esterms:linkChecks'),
    failedLinkChecks: metadata.findFirstValue(null, 'esterms:failedLinkChecks'),
    excludedLinkChecks: metadata.findFirstValue(null, 'esterms:excludedLinkChecks'),
    resource: resourceContent,
    resourceURI
  };
};

/**
 *
 * @param {number} value
 * @param {number} total
 * @param {number} precision
 * @returns {number}
 */
const getPercentage = (value, total, precision) => {
  const multiplier = 10 ** (precision || 0);
  const percentage = value / total * 100;
  return Math.round(percentage * multiplier) / multiplier;
};

/**
 * Checks for the presence of a property in the metadata graph and updates the
 * provided counters.
 *
 * @param {Graph} metadata
 * @param {string} resourceURI
 * @param {string} property
 * @param {object} counters - hasProperty, multilingual, missingLanguage
 * @returns {[number, number, number ]} - updated counters
 */
const checkPresence = (metadata, resourceURI, property, counters) => {
  const languages = new Set();
  let missingLanguage = false;
  const statements = metadata.find(resourceURI, property);
  statements.forEach(statement => {
    const language = statement.getLanguage();
    languages.add(language);
    if (!language) missingLanguage = true;
  });
  if (statements.length) counters.hasProperty += 1;
  if (languages.size > 1) counters.multilingual += 1;
  if (missingLanguage) counters.missingLanguage += 1;
  return [...Object.values(counters)];
};

/**
 * Gets an entry's validation errors and warnings.
 *
 * @param {Entry} entry
 * @param {Group} template
 * @returns {object}
 */
const getValidationResults = (entry, template) => {
  const graph = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_10__.Graph(entry.getAllMetadata().exportRDFJSON());
  const editor = new _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_13__.Editor({
    graph,
    template,
    resource: entry.getResourceURI()
  });
  const {
    errors,
    warnings
  } = _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_13__.validate.bindingReport(editor.binding);
  return {
    errors,
    warnings
  };
};

/**
 * Gets the number of missing mandatory fields based on the rdform editor's
 * validation results.
 *
 * @param {[]} errors
 * @returns {number}
 */
const getMissingMandatoryFieldsCount = errors => errors.filter(error => error.code === CODES.TOO_FEW_VALUES_MIN).length;

/**
 * Gets the number of missing recommended fields based on the rdform editor's
 * validation results.
 *
 * @param {[]} warnings
 * @returns {number}
 */
const getMissingRecommendedFieldsCount = warnings => warnings.filter(warning => warning.code === CODES.TOO_FEW_VALUES_PREF).length;

/**
 * Calculates metadata fulfillment based on the provided counters.
 *
 * @param {number} entryCount
 * @param {number} fieldsCount
 * @param {number} missingFieldsCount
 * @returns {number}
 */
const getMetadataFulfillment = (entryCount, fieldsCount, missingFieldsCount) => {
  const allFieldsCount = entryCount * fieldsCount;
  const filledFieldsCount = allFieldsCount - missingFieldsCount;
  return getPercentage(filledFieldsCount, allFieldsCount, 1);
};

/**
 * Returns the function that loads the statistics and encloses helper functions
 * and the 'continueCondition' variable that regulates whether the solr queries
 * should continue fetching or stop.
 *
 * @param {Function} continueCondition
 * @returns {Function}
 */
const getLoadStatistics = continueCondition => {
  /**
   * Calculates quality metrics over all contexts/orgs by default. If there's a
   * contextId only does so for that specific context.
   *
   * @param {Set<string>} relevantContextIds
   * @param {string} contextId
   * @returns {object}
   */
  const getReport = async function getReport(relevantContextIds) {
    let contextId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    const publishers = {};
    const contactpoints = {};
    const formats = {};
    const licenses = {};
    let datasetsCount = 0;
    let hasTitle = 0;
    let multilingualTitle = 0;
    let missingLanguageOnTitle = 0;
    let hasDescription = 0;
    let multilingualDescription = 0;
    let missingLanguageOnDescription = 0;
    let hasPublisher = 0;
    let hasTheme = 0;
    let hasContactPoint = 0;
    const nrOfDistributionsPerDataset = {};
    let distributionCount = 0;
    let hasDistributionFormat = 0;
    let hasDistributionLicense = 0;
    let hasDownloadURL = 0;
    let hasAccessURL = 0;
    let hasDistributionTitle = 0;
    let multilingualDistributionTitle = 0;
    let missingLanguageOnDistributionTitle = 0;
    let hasDistributionDescription = 0;
    let multilingualDistributionDescription = 0;
    let missingLanguageOnDistributionDescription = 0;
    let lgThan5DistributionsPerDataset = 0;
    const datasetTemplate = commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_14__.itemStore.getItem('dcat:Dataset');
    const datasetMandatoryFieldsCount = datasetTemplate.getChildren().filter(field => field.getCardinality().min > 0).length;
    const datasetRecommendedFieldsCount = datasetTemplate.getChildren().filter(field => {
      const cardinality = field.getCardinality();
      // Some fields like 'publisher' erroneously have pref > 0 even though they are mandatory
      return cardinality.pref > 0 && !cardinality.min > 0;
    }).length;
    let datasetMissingMandatoryFieldsCount = 0;
    let datasetMissingRecommendedFields = 0;
    await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().rdfType('dcat:Dataset').context(contextId).publicRead(true).limit(100).forEach(datasetEntry => {
      const {
        errors: datasetEntryErrors,
        warnings: datasetEntryWarnings
      } = getValidationResults(datasetEntry, datasetTemplate);
      datasetMissingMandatoryFieldsCount += getMissingMandatoryFieldsCount(datasetEntryErrors);
      datasetMissingRecommendedFields += getMissingRecommendedFieldsCount(datasetEntryWarnings);
      const datasetContextId = datasetEntry.getContext().getId();
      if (!relevantContextIds.has(datasetContextId)) {
        return Promise.resolve(true);
      }
      datasetsCount += 1;
      const resourceURI = datasetEntry.getResourceURI();
      const metadata = datasetEntry.getAllMetadata();

      // Check title
      [hasTitle, multilingualTitle, missingLanguageOnTitle] = checkPresence(metadata, resourceURI, 'dcterms:title', {
        hasProperty: hasTitle,
        multilingual: multilingualTitle,
        missingLanguage: missingLanguageOnTitle
      });

      // Check Description
      [hasDescription, multilingualDescription, missingLanguageOnDescription] = checkPresence(metadata, resourceURI, 'dcterms:description', {
        hasProperty: hasDescription,
        multilingual: multilingualDescription,
        missingLanguage: missingLanguageOnDescription
      });

      // Publishers
      const dPublishers = metadata.find(resourceURI, 'dcterms:publisher');
      if (dPublishers.length > 0) {
        hasPublisher += 1;
        dPublishers.forEach(
        // eslint-disable-next-line no-return-assign
        p => publishers[p.getValue()] = datasetContextId);
      }

      // ContactPoints
      const dContactPoints = metadata.find(resourceURI, 'dcat:contactPoint');
      if (dContactPoints.length > 0) {
        hasContactPoint += 1;
        dContactPoints.forEach(
        // eslint-disable-next-line no-return-assign
        c => contactpoints[c.getValue()] = datasetContextId);
      }

      // Theme
      const dThemes = metadata.find(resourceURI, 'dcat:theme');
      if (dThemes.length > 0) {
        hasTheme += 1;
      }
      const dists = metadata.find(resourceURI, 'dcat:distribution');
      nrOfDistributionsPerDataset[dists.length] = (nrOfDistributionsPerDataset[dists.length] || 0) + 1;
      return Promise.resolve(continueCondition()); // false, stops the forEach loop
    });
    const datasetsMandatoryFulfillment = getMetadataFulfillment(datasetsCount, datasetMandatoryFieldsCount, datasetMissingMandatoryFieldsCount);
    const datasetsRecommendedFulfillment = getMetadataFulfillment(datasetsCount, datasetRecommendedFieldsCount, datasetMissingRecommendedFields);
    const distributionTemplate = commons_rdforms_itemstore__WEBPACK_IMPORTED_MODULE_14__.itemStore.getItem('dcat:Distribution');
    const distributionMandatoryFieldsCount = distributionTemplate.getChildren().filter(field => field.getCardinality().min > 0).length;
    const distributionRecommendedFieldsCount = distributionTemplate.getChildren().filter(field => {
      const cardinality = field.getCardinality();
      return cardinality.pref > 0 && !cardinality.min > 0;
    }).length;
    let distributionMissingMandatoryFieldsCount = 0;
    let distributionMissingRecommendedFieldsCount = 0;
    await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().rdfType('dcat:Distribution').context(contextId).publicRead(true).limit(100).forEach(distributionEntry => {
      const {
        errors: distributionEntryErrors,
        warnings: distributionEntryWarnings
      } = getValidationResults(distributionEntry, distributionTemplate);
      distributionMissingMandatoryFieldsCount += getMissingMandatoryFieldsCount(distributionEntryErrors);
      distributionMissingRecommendedFieldsCount += getMissingRecommendedFieldsCount(distributionEntryWarnings);
      const distributionContextId = distributionEntry.getContext().getId();
      if (!relevantContextIds.has(distributionContextId)) {
        return Promise.resolve(true);
      }
      distributionCount += 1;
      const resourceURI = distributionEntry.getResourceURI();
      const metadata = distributionEntry.getAllMetadata();

      // Licenses
      const license = metadata.findFirstValue(resourceURI, 'dcterms:license');
      if (license) {
        hasDistributionLicense += 1;
        const fURI = license.replace(/\/$/, '');
        licenses[fURI] = (licenses[fURI] || 0) + 1;
      }

      // downloadURL
      const downloadURL = metadata.find(resourceURI, 'dcat:downloadURL');
      if (downloadURL.length > 0) {
        hasDownloadURL += 1;
      }

      // accessURL
      const accessURL = metadata.find(resourceURI, 'dcat:accessURL');
      if (accessURL.length > 0) {
        hasAccessURL += 1;
      }

      // Formats
      const format = metadata.findFirstValue(resourceURI, 'dcterms:format');
      if (format) {
        hasDistributionFormat += 1;
        const mt = format.trim();
        formats[mt] = (formats[mt] || 0) + 1;
      }

      // Check title
      [hasDistributionTitle, multilingualDistributionTitle, missingLanguageOnDistributionTitle] = checkPresence(metadata, resourceURI, 'dcterms:title', {
        hasProperty: hasDistributionTitle,
        multilingual: multilingualDistributionTitle,
        missingLanguage: missingLanguageOnDistributionTitle
      });

      // Check description
      [hasDistributionDescription, multilingualDistributionDescription, missingLanguageOnDistributionDescription] = checkPresence(metadata, resourceURI, 'dcterms:description', {
        hasProperty: hasDistributionDescription,
        multilingual: multilingualDistributionDescription,
        missingLanguage: missingLanguageOnDistributionDescription
      });
      return Promise.resolve(continueCondition());
    });
    const distributionsMandatoryFulfillment = getMetadataFulfillment(distributionCount, distributionMandatoryFieldsCount, distributionMissingMandatoryFieldsCount);
    const distributionsRecommendedFulfillment = getMetadataFulfillment(distributionCount, distributionRecommendedFieldsCount, distributionMissingRecommendedFieldsCount);
    lgThan5DistributionsPerDataset = Object.keys(nrOfDistributionsPerDataset).filter(key => key > 5).reduce((sum, d) => sum + nrOfDistributionsPerDataset[d], 0);
    return {
      totalDatasetCount: datasetsCount,
      hasTitle,
      multilingualTitle,
      missingLanguageOnTitle,
      hasDescription,
      multilingualDescription,
      missingLanguageOnDescription,
      hasPublisher,
      hasTheme,
      hasContactPoint,
      datasetsMandatoryFulfillment,
      datasetsRecommendedFulfillment,
      totalDistributionCount: distributionCount,
      hasDistributionTitle,
      multilingualDistributionTitle,
      missingLanguageOnDistributionTitle,
      hasDistributionDescription,
      multilingualDistributionDescription,
      missingLanguageOnDistributionDescription,
      hasDownloadURL,
      hasAccessURL,
      hasDistributionFormat,
      hasDistributionLicense,
      distributionsMandatoryFulfillment,
      distributionsRecommendedFulfillment,
      nrOfContactPoints: Object.keys(contactpoints).length,
      nrOfPublishers: Object.keys(publishers).length,
      nrOfDistributionsPerDataset,
      formats,
      licenses,
      lgThan5DistributionsPerDataset
    };
  };

  /**
   * Loads dataset and distribution stats for either a single or all contexts.
   * If the number of datasets is huge returns false the first time (decided by checkNumOfDatasets).
   *
   * @param {*} contextId
   // * @param {*} checkNumOfDatasets
   * @returns  {Promise<Set>}
   */
  return async contextId => {
    const relevantContextIds = new Set();
    if (contextId) {
      // We only need to load label for contextId
      const contextEntry = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.getContextById(contextId).getEntry();
      relevantContextIds.add(contextEntry.getId());
    } else {
      // We need labels for all contexts which have datasets, which we approximate
      // to be all contexts.
      await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__.types.GT_CONTEXT).limit(100).forEach(ce => {
        if (ce.isPublic()) {
          relevantContextIds.add(ce.getId());
        }
        return Promise.resolve(continueCondition());
      });
    }
    if (continueCondition()) {
      return getReport(relevantContextIds, contextId);
    }
    return relevantContextIds;
  };
};


/***/ },

/***/ "./modules/harvest/util/index.js"
/*!***************************************!*\
  !*** ./modules/harvest/util/index.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createContextAndGroup: () => (/* binding */ createContextAndGroup),
/* harmony export */   fetchSourceData: () => (/* binding */ fetchSourceData),
/* harmony export */   getPipelineMetadata: () => (/* binding */ getPipelineMetadata),
/* harmony export */   getRecipeFromProjectType: () => (/* binding */ getRecipeFromProjectType),
/* harmony export */   getTransformsData: () => (/* binding */ getTransformsData),
/* harmony export */   updatePipelineEntry: () => (/* binding */ updatePipelineEntry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./data */ "./modules/harvest/util/data.js");
/* harmony import */ var _transforms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./transforms */ "./modules/harvest/util/transforms.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















const getRecipeFromProjectType = projectType => {
  var _projectType$source;
  const recipeId = (projectType === null || projectType === void 0 || (_projectType$source = projectType.source) === null || _projectType$source === void 0 ? void 0 : _projectType$source.recipe) || config__WEBPACK_IMPORTED_MODULE_12__["default"].get('registry.defaultRecipe');
  return config__WEBPACK_IMPORTED_MODULE_12__["default"].get('registry.recipes').find(recipe => recipe.id === recipeId);
};

/**
 * Just a helper function to avoid duplicate code
 *
 * @param {Entry} userEntry
 * @param {Graph} md
 * @param {string} ruri
 * @param {object} data
 * @param {string} type
 */
const addToMetadata = function addToMetadata(userEntry, md, ruri, data) {
  let type = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : '';
  const {
    title,
    description,
    username,
    psi,
    orgId,
    projectType: projectTypeId
  } = data;
  const isAdministrator = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_7__.isAdmin)(userEntry);
  md.addL(ruri, 'dcterms:title', title);
  if (description) {
    md.addL(ruri, 'dcterms:description', description);
  }
  if (psi) {
    md.addL(ruri, 'dcterms:subject', 'psi');
    md.add(ruri, 'foaf:page', psi);
  }

  // Add recipe tags (e.g. 'opendata') from the project type's recipe config
  const projectType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getProjectType(projectTypeId);
  const recipe = getRecipeFromProjectType(projectType);
  if (Array.isArray(recipe === null || recipe === void 0 ? void 0 : recipe.tags)) {
    recipe.tags.forEach(tag => md.addL(ruri, 'dcterms:subject', tag));
  }
  if (orgId) {
    md.addL(ruri, 'dcterms:identifier', orgId);
  }
  if (username) {
    md.add(ruri, 'foaf:mbox', `mailto:${username}`);
  } else if (!isAdministrator) {
    const res = userEntry.getResource(true);
    md.add(ruri, 'foaf:mbox', `mailto:${res.getSource().name}`);
  }
  if (type) {
    md.add(ruri, 'rdf:type', type);
  }
};

/**
 * Sets new metadata for a pipeline
 *
 * @todo @valentino not good that we are coldly dropping the previous metadata. Re-write!
 * @param {Entry} entry
 * @param {Entry} userEntry
 * @param {object} data
 * @param {string} type
 * @see this.addToMetadata
 * @returns {Entry}
 */
const setEntryMetadata = function setEntryMetadata(entry, userEntry, data) {
  let type = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
  const md = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__.Graph();
  addToMetadata(userEntry, md, entry.getResourceURI(), data, type);
  const updatedEntry = entry.setMetadata(md);
  return updatedEntry;
};

/**
 * DCAT-specific enhancement that connects the PSI source field with the dcat
 * recipe's `check` transform.
 *
 * @param {object[]} transforms
 * @param {string} psi
 * @returns {object[]}
 */
const enhanceDcatTransforms = (transforms, psi) => {
  const psiSuffix = config__WEBPACK_IMPORTED_MODULE_12__["default"].get('registry.psidataPath') || 'psi';
  const psiSource = psi ? `${psi.replace(/\/$/, '')}/${psiSuffix}` : '';
  return transforms.map(transform => {
    if (transform.type !== 'check' || !psiSource) return transform;
    const checkArgs = {
      source: psiSource
    };
    return _objectSpread(_objectSpread({}, transform), {}, {
      args: checkArgs
    });
  });
};

/**
 * Adds transforms to the pipeline resource. The transforms need to be flattened
 * from the rich front-end format to simple key-value pairs for the backend.
 *
 * @param {Pipeline} resource
 * @param {object} data
 */
const addTransforms = (resource, data) => {
  var _projectType$source2;
  const {
    psi,
    transforms,
    projectType: projectTypeId
  } = data;
  const projectType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getProjectType(projectTypeId);
  const recipeId = (projectType === null || projectType === void 0 || (_projectType$source2 = projectType.source) === null || _projectType$source2 === void 0 ? void 0 : _projectType$source2.recipe) || config__WEBPACK_IMPORTED_MODULE_12__["default"].get('registry.defaultRecipe');
  const enhancedTransforms = recipeId === 'dcat-recipe' ? enhanceDcatTransforms(transforms, psi) : transforms;
  enhancedTransforms.filter(transform => transform.type).forEach(_ref => {
    let {
      type,
      args = {}
    } = _ref;
    const simplifiedArgs = (0,_transforms__WEBPACK_IMPORTED_MODULE_14__.flattenArgs)(args);
    resource.addTransform(type, simplifiedArgs);
  });
};
const createContextAndGroup = (userEntry, userInfo, data, replaceUserErrorMessage) => commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.createGroupAndContext().then(async groupEntry => {
  const homeContextId = groupEntry.getResource(true).getHomeContext();
  const homeContext = commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getContextById(homeContextId);
  const contextEntry = await homeContext.getEntry();
  const {
    username,
    title,
    projectType
  } = data;
  try {
    if (username) {
      await replaceUser(userEntry, userInfo, groupEntry, contextEntry, username);
      groupEntry.setRefreshNeeded();
      await groupEntry.refresh();
    }

    // Set group title
    groupEntry.getMetadata().addL(groupEntry.getResourceURI(), 'foaf:name', title);
    await groupEntry.commitMetadata();
  } catch (_unused) {
    throw Error(replaceUserErrorMessage);
  }

  // Add title to the context metadata
  try {
    contextEntry.addL('dcterms:title', title);
    await contextEntry.commitMetadata();

    // Make the context a esterms:CatalogContext
    const homeContextEntryInfo = contextEntry.getEntryInfo();
    homeContextEntryInfo.getGraph().add(contextEntry.getResourceURI(), 'rdf:type', 'esterms:CatalogContext');

    // TODO remove when entrystore is changed so groups have read access to
    // homecontext metadata by default.
    // Start fix with missing metadata rights on context for group
    const acl = homeContextEntryInfo.getACL(true);
    acl.mread.push(groupEntry.getId());
    acl.mwrite.push(groupEntry.getId());
    homeContextEntryInfo.setACL(acl);
    // End fix

    if (projectType) {
      homeContextEntryInfo.getGraph().add(contextEntry.getResourceURI(), _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_10__.RDF_PROPERTY_PROJECTTYPE, projectType);
    }
    homeContextEntryInfo.commit();
  } catch (_unused2) {
    throw Error('There was some error while trying to set the home context title');
  }
  const protoPipeline = homeContext.newPipeline();
  try {
    // Create PipelineEntry and add metadata
    const pipelineResource = protoPipeline.getResource();
    addTransforms(pipelineResource, data);
    const pmd = protoPipeline.getMetadata();
    addToMetadata(userEntry, pmd, pipelineResource.getResourceURI(), data, null);
    await protoPipeline.commit();
  } catch (e) {
    console.error(e);
    throw Error('There was some error while trying to create the pipeline entry/resource');
  }
});
const updatePipelineEntry = async (entry, userEntry, userInfo, data, replaceUserErrorMessage) => {
  const context = entry.getContext();
  const contextEntry = await context.getEntry();
  const {
    username,
    title
  } = data;
  try {
    // upate the metadata of the pipeline entry
    const updatedPipelineEntry = setEntryMetadata(entry, userEntry, data, null);
    await updatedPipelineEntry.commitMetadata();
  } catch (_unused3) {
    throw Error('There was some error while trying to update the Pipeline');
  }
  let groupEntry = null;
  try {
    groupEntry = await context.getHomeContextOf(); // group or user (TODO check)
  } catch (e) {
    console.error('No user or group with this context as home context found: ' + e);
  }

  // update owner user
  try {
    if (username) {
      await replaceUser(userEntry, userInfo, groupEntry, contextEntry, username);
      groupEntry.setRefreshNeeded();
      await groupEntry.refresh();
    }
  } catch (_unused4) {
    throw Error(replaceUserErrorMessage);
  }
  try {
    // replace the pipeline resource
    // 1. remove all transforms
    // 2. add new ones according to the data
    const pipelineResource = await entry.getResource();
    pipelineResource.getTransforms().forEach(pipelineResource.removeTransform, pipelineResource);
    addTransforms(pipelineResource, data);
    await pipelineResource.commit();
  } catch (_unused5) {
    throw Error('There was some error while trying to edit pipeline resource');
  }
  try {
    // Set group title
    const groupMd = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__.Graph();
    groupMd.addL(groupEntry.getResourceURI(), 'foaf:name', title);
    groupEntry.setMetadata(groupMd);
    await groupEntry.commitMetadata();
  } catch (_unused6) {
    throw Error('There was some error while trying to edit the group of the pipeline');
  }
  try {
    // replace title in the context metadata
    contextEntry.setRefreshNeeded(true);
    await contextEntry.refresh();
    const metadata = contextEntry.getMetadata();
    metadata.findAndRemove(contextEntry.getResourceURI(), 'dcterms:title');
    metadata.addL(contextEntry.getResourceURI(), 'dcterms:title', title);
    await contextEntry.commitMetadata();
  } catch (_unused7) {
    throw Error('There was some error while trying to edit the home context of the' + ' pipeline');
  }
};

/**
 * Get the value of the `source` argument for some known transforms
 *
 * @param {Pipeline} pipeline
 * @returns {string}
 */
const getSourceUrl = pipeline => {
  let sourceUrl = '';
  const transformsWithSource = ['fetch', 'fetchCKAN', 'fetchCSW'];
  pipeline.getTransforms().forEach(id => {
    const type = pipeline.getTransformType(id);
    if (transformsWithSource.includes(type)) sourceUrl = pipeline.getTransformArguments(id).source;
  });
  return sourceUrl;
};

/**
 * @param {Entry} entry
 * @param {boolean} loadResource
 * @returns {Promise|object|null}
 */
const getPipelineMetadata = async function getPipelineMetadata(entry) {
  var _metadata$findFirstVa;
  let loadResource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  const metadata = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  const title = metadata.findFirstValue(resourceURI, 'dcterms:title') || '';
  const description = metadata.findFirstValue(resourceURI, 'dcterms:description') || '';
  const psi = metadata.findFirstValue(resourceURI, 'foaf:page') || '';
  const sourceId = metadata.findFirstValue(resourceURI, 'dcterms:identifier') || '';
  const username = ((_metadata$findFirstVa = metadata.findFirstValue(resourceURI, 'foaf:mbox')) === null || _metadata$findFirstVa === void 0 ? void 0 : _metadata$findFirstVa.replace('mailto:', '')) || '';
  const projectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].getProjectTypeInUse(entry.getContext());
  const metadataObject = {
    title,
    description,
    username,
    psi,
    orgId: sourceId,
    projectType
  };
  if (!loadResource) return metadataObject;
  return entry.getResource().then(pipelineResource => {
    const sourceUrl = getSourceUrl(pipelineResource);
    metadataObject.sourceUrl = sourceUrl;
    return metadataObject;
  });
};

/**
 * If the user with a certain username does not exist :
 *  - create user
 *  - add acl for group
 *  - remove current user from all entries' acl in group and add the new user to them
 *
 * If the user with a certain username exists then return the user entry
 *
 * @param userEntry
 * @param userInfo
 * @param groupEntry
 * @param contextEntry
 * @param username
 */
const replaceUser = async (userEntry, userInfo, groupEntry, contextEntry, username) => {
  if (userInfo.user === username) {
    return;
  }
  let newUserEntry;
  const data = await commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getREST().get(`${commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getBaseURI()}_principals?entryname=${encodeURIComponent(username)}`);
  if (data.length > 0) {
    // return existing userEntry
    const userEntryId = data[0];
    newUserEntry = await commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getContextById('_principals').getEntryById(userEntryId);
  } else {
    // Create new userEntry, and make sure its metadata is public
    const newUser = commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.newUser(username);
    const newUserEntryInfo = newUser.getEntryInfo();
    const newUserACL = newUserEntryInfo.getACL(true);
    newUserACL.mread.push('_users');
    newUserACL.mwrite.push('_newId');
    newUserACL.rwrite.push('_newId');
    newUserEntryInfo.setACL(newUserACL);
    newUserEntry = await newUser.commit();
  }

  // add new user to rwrite of the group
  makeOwner(groupEntry, newUserEntry);
  makeOwner(contextEntry, newUserEntry);

  // remove current user from all entries' acl in group, and add the new user to all of them
  const entryIds = await groupEntry.getResource(true).getAllEntryIds();
  entryIds.splice(entryIds.indexOf(userEntry.getId()), 1);
  entryIds.push(newUserEntry.getId());
  await groupEntry.getResource(true).setAllEntryIds(entryIds);
};
const makeOwner = async (entryToOwn, userEntry) => {
  // add new user to rwrite of the group
  const entryInfo = entryToOwn.getEntryInfo();
  const acl = entryInfo.getACL(true);
  const {
    admin
  } = acl;
  if (!admin.includes(userEntry.getId())) {
    admin.push(userEntry.getId());
    entryInfo.setACL(acl);
    await entryInfo.commit();
  }
};

/**
 *
 * @param {Pipeline} pipelineResource
 * @returns {object[]}
 */
const getTransformsData = pipelineResource => {
  if (!pipelineResource) return [];
  return pipelineResource.getTransforms().map(id => {
    const type = pipelineResource.getTransformType(id);
    const priority = pipelineResource.getPriority(id);
    const args = pipelineResource.getTransformArguments(id);
    return {
      id,
      type,
      priority,
      args
    };
  });
};
const fetchSourceData = async contextId => {
  const {
    pipelineEntry,
    pipelineResource
  } = await (0,_data__WEBPACK_IMPORTED_MODULE_13__.getPipelineEntryAndResource)(contextId);
  const fetchedData = await getPipelineMetadata(pipelineEntry, true);
  const entityType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_11__["default"].inUse(pipelineEntry);
  const {
    projectType
  } = fetchedData;
  const recipe = getRecipeFromProjectType(projectType);
  const backendTransforms = getTransformsData(pipelineResource);
  const transforms = (0,_transforms__WEBPACK_IMPORTED_MODULE_14__.mergeTransforms)(backendTransforms, recipe.transforms);
  return {
    pipelineEntry,
    sourceData: _objectSpread(_objectSpread({}, fetchedData), {}, {
      transforms,
      projectType: projectType === null || projectType === void 0 ? void 0 : projectType.getId()
    }),
    entityType
  };
};

/***/ },

/***/ "./modules/harvest/util/pipelineResult.js"
/*!************************************************!*\
  !*** ./modules/harvest/util/pipelineResult.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getData: () => (/* binding */ getData),
/* harmony export */   getDate: () => (/* binding */ getDate),
/* harmony export */   getGeneratedReport: () => (/* binding */ getGeneratedReport),
/* harmony export */   getSourceData: () => (/* binding */ getSourceData),
/* harmony export */   mergeResultsToRows: () => (/* binding */ mergeResultsToRows)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_date__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/date */ "./modules/commons/util/date.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const validationProperties = [{
  nls: 'validationError',
  property: 'storepr:validateErrors'
}, {
  nls: 'validationWarning',
  property: 'storepr:validateWarnings'
}, {
  nls: 'validationDeprecated',
  property: 'storepr:validateDeprecated'
}];
const mergeProperties = [{
  nls: 'mergeAdded',
  property: 'storepr:mergeAdded'
}, {
  nls: 'mergeUpdated',
  property: 'storepr:mergeUpdated'
}, {
  nls: 'mergeRemoved',
  property: 'storepr:mergeRemoved'
}, {
  nls: 'mergeUnchanged',
  property: 'storepr:mergeUnchanged'
}];

/**
 *
 * @param {Entry} entry
 * @returns {string|number} - nls key or the actual count
 */
const getTitle = entry => {
  switch (entry.getEntryInfo().getStatus()) {
    case _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.terms.status.InProgress:
      return 'jobRunning';
    case _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.terms.status.Pending:
      return 'jobPending';
    case _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.terms.status.Failed:
      return 'jobFailed';
    default:
      {
        const count = parseInt(entry.getMetadata().findFirstValue(entry.getResourceURI(), 'storepr:mergeResourceCount'), 10);
        if (typeof count === 'number' && count > 0) {
          return count;
        }
        return 'noDatasets';
      }
  }
};

/**
 *
 * @param {Entry} entry
 * @param {string} format
 * @returns {string}
 */
const getDate = function getDate(entry) {
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'short';
  let modDate = entry.getEntryInfo().getCreationDate();
  try {
    modDate = (0,commons_util_date__WEBPACK_IMPORTED_MODULE_9__.getMultipleDateFormats)(modDate)[format];
  } catch (e) {
    console.log('Failed to format modification date');
    modDate = '';
  }
  return modDate;
};

/**
 * Get the merge results for each entity type found on the pipeline entry's
 * metadata graph.
 *
 * @param {Graph} graph - metadata graph of the pipeline entry
 * @returns {object}
 */
const getMergeResultsByType = graph => {
  const blanks = graph.find(null, 'storepr:mergeEntityType').map(statement => statement.getValue());
  const resultsByType = {};
  blanks.forEach(blank => {
    mergeProperties.forEach(_ref => {
      let {
        property,
        nls: propertyNLS
      } = _ref;
      const type = graph.findFirstValue(blank, 'storepr:entityType');
      const value = parseInt(graph.findFirstValue(blank, property) || 0, 10);
      resultsByType[type] = _objectSpread(_objectSpread({}, resultsByType[type] || {}), {
        [propertyNLS]: value
      });
    });
  });
  return resultsByType;
};

/**
 * Gets merge, validation and status data from the pipeline entry.
 *
 * @param {Entry} entry
 * @param {string} recipeId
 * @returns {object}
 */
const getBodyData = (entry, recipeId) => {
  const body = {
    data: {},
    validationResults: {},
    mergeResults: {}
  };
  switch (entry.getEntryInfo().getStatus()) {
    case _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.terms.status.InProgress:
    case _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__.terms.status.Pending:
      return body;
    default:
      {
        const md = entry.getMetadata();

        // psi data page status
        if (recipeId === 'dcat-recipe') {
          const psidataPage = md.findFirstValue(null, 'storepr:check');
          body.data.psiDataPageStatus = psidataPage ? 'foundText' : 'notFoundText';
        }

        // dcat source
        const dcatSource = md.findFirstValue(null, 'storepr:fetchSource') === 'true';
        body.data.dcatStatus = dcatSource ? 'foundText' : 'notFoundText';
        if (dcatSource) {
          const dcatRdf = md.findFirstValue(null, 'storepr:fetchRDF') === 'true';
          if (!dcatRdf) {
            const rdfError = md.findFirstValue(null, 'storepr:fetchRDFError');
            if (rdfError) {
              body.data.dcatStatus = 'invalidRDFStatus';
            } else {
              body.data.dcatStatus = 'formatStatus';
            }
            return body;
          }

          // add validation messages
          validationProperties.forEach(item => {
            body.validationResults[item.nls] = parseInt(md.findFirstValue(null, item.property) || 0, 10);
          });
          mergeProperties.forEach(item => {
            body.mergeResults[item.nls] = parseInt(md.findFirstValue(null, item.property) || 0, 10);
          });
          body.mergeResultsByType = getMergeResultsByType(md);

          // if any validation failed then provide different data layout
          body.validationFailed = Object.keys(body.validationResults).some(name => body.validationResults[name] > 0);
        } else {
          // dont display anything
          body.data.dcatStatus = 'notFoundText';
        }
      }
      return body;
  }
};

/**
 * Gets pipeline entry data.
 *
 * @param {Entry} entry
 * @param {string} recipeId
 * @returns {object}
 */
const getData = (entry, recipeId) => {
  const renderTitle = getTitle(entry);
  const date = (getDate(entry) || '').toString();
  const body = getBodyData(entry, recipeId);
  const status = entry.getEntryInfo().getStatus();
  return {
    id: entry.getId(),
    title: renderTitle,
    date,
    body,
    status
  };
};

/**
 *
 * @param {object} mergeResultsByType
 * @returns {Array}
 */
const mergeResultsToRows = mergeResultsByType => Object.keys(mergeResultsByType).map(type => {
  const results = mergeResultsByType[type];
  const mergePropKeys = Object.keys(results);
  const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].getEntityTypeByRdfType(type, 'register');
  if (!entityType) {
    console.error(`No entity type found for: ${type}`);
    return null;
  }
  return [(0,commons_locale__WEBPACK_IMPORTED_MODULE_11__.localize)(entityType.get('label')), ...mergePropKeys.map(mergeKey => results[mergeKey])];
});

/**
 * Get the pre-computed validation report from the job entry's prov:generated file entry.
 * Returns null if prov:generated is not present (e.g. saveReport disabled in pipeline config).
 *
 * @param {Entry} jobEntry
 * @returns {Promise<object|null>}
 */
const getGeneratedReport = async jobEntry => {
  const reportURI = jobEntry.getMetadata().findFirstValue(null, 'prov:generated');
  if (!reportURI) return null;
  const fileEntry = await commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntry(reportURI);
  const resource = fileEntry.getResource(true);
  const report = await resource.getJSON();
  return {
    data: report,
    resourceURI: fileEntry.getResourceURI()
  };
};

/**
 * Get source data from the job entry. The file entry's resource can be either
 * json (usually) or xml.
 *
 * @param {Entry} jobEntry
 * @returns {Promise<Graph>}
 */
const getSourceData = async jobEntry => {
  const fileEntryURI = jobEntry.getMetadata().findFirstValue(null, 'dcterms:source');
  if (!fileEntryURI) return Promise.resolve(null);
  const resource = await commons_store__WEBPACK_IMPORTED_MODULE_8__.entrystore.getEntry(fileEntryURI).then(fileEntry => fileEntry.getResource(true));
  const data = await resource.getJSON().then(async jsonData => {
    if (jsonData) return jsonData;
    const xmlData = await resource.getXML();
    if (xmlData) return xmlData;
    console.error('No data on file entry ', fileEntryURI);
  });
  const results = await _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.converters.detect(data);
  return results === null || results === void 0 ? void 0 : results.graph;
};

/***/ },

/***/ "./modules/harvest/util/transforms.js"
/*!********************************************!*\
  !*** ./modules/harvest/util/transforms.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   flattenArgs: () => (/* binding */ flattenArgs),
/* harmony export */   mergeTransforms: () => (/* binding */ mergeTransforms)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
/**
 * Merges stored pipeline transforms with their corresponding recipe templates.
 *
 * @param {Array<object>} stored - transforms as they are stored
 * @param {Array<object>} recipe - recipe transforms that act as templates
 * @returns {Array<object>} - merged and enriched transforms
 */
const mergeTransforms = (stored, recipe) => {
  return stored.map(storedTransform => {
    const recipeTransform = recipe.find(transform => transform.type === storedTransform.type);
    if (!recipeTransform) return storedTransform;
    const mergedArgs = {};
    const recipeArgs = recipeTransform.args || {};
    const storedArgs = storedTransform.args || {};

    // eslint-disable-next-line no-restricted-syntax, guard-for-in
    for (const key in recipeArgs) {
      const recipeArgValue = recipeArgs[key];
      const storedArgValue = storedArgs[key];
      if (typeof recipeArgValue === 'object' && recipeArgValue !== null && 'value' in recipeArgValue) {
        mergedArgs[key] = _objectSpread(_objectSpread({}, recipeArgValue), {}, {
          value: storedArgValue
        });
      } else {
        mergedArgs[key] = storedArgValue !== undefined ? storedArgValue : recipeArgValue;
      }
    }
    const finalTransform = _objectSpread(_objectSpread(_objectSpread({}, recipeTransform), storedTransform), {}, {
      args: mergedArgs
    });
    return finalTransform;
  });
};

/**
 * Flattens the transform arguments. They may have been enhanced via config on
 * the front-end, since the actual pipelines only accept key-value pairs.
 *
 * @param {object} args
 * @returns {object}
 */
const flattenArgs = args => {
  const simplifiedArgs = {};

  // eslint-disable-next-line no-restricted-syntax, guard-for-in
  for (const key in args) {
    const argValue = args[key];
    if (typeof argValue === 'object' && argValue !== null && 'value' in argValue) {
      simplifiedArgs[key] = argValue.value;
    } else {
      simplifiedArgs[key] = argValue;
    }
  }
  return simplifiedArgs;
};

/***/ },

/***/ "./modules/models/components/Extends/Extends.js"
/*!******************************************************!*\
  !*** ./modules/models/components/Extends/Extends.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Extends: () => (/* binding */ Extends),
/* harmony export */   useExtends: () => (/* binding */ useExtends)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "property", "Component"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const useExtends = _ref => {
  let {
    graph,
    resourceURI,
    property
  } = _ref;
  const {
    data: extendedEntry,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (!graph || !property) return;
    runAsync((0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_3__.findFirstExtendedWithValue)(graph, resourceURI, property));
  }, [runAsync, graph, resourceURI, property]);
  if (status !== 'resolved') return;
  return extendedEntry;
};
const Extends = _ref2 => {
  let {
      graph,
      resourceURI,
      property,
      Component
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded);
  const extendedEntry = useExtends({
    graph,
    resourceURI,
    property
  });
  return extendedEntry ? /*#__PURE__*/React.createElement(Component, _extends({}, props, {
    property: property,
    graph: extendedEntry.getMetadata(),
    resourceURI: extendedEntry.getResourceURI()
  })) : null;
};
Extends.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  Component: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};

/***/ },

/***/ "./modules/models/components/Extends/index.js"
/*!****************************************************!*\
  !*** ./modules/models/components/Extends/index.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Extends: () => (/* reexport safe */ _Extends__WEBPACK_IMPORTED_MODULE_0__.Extends),
/* harmony export */   useExtends: () => (/* reexport safe */ _Extends__WEBPACK_IMPORTED_MODULE_0__.useExtends)
/* harmony export */ });
/* harmony import */ var _Extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Extends */ "./modules/models/components/Extends/Extends.js");


/***/ },

/***/ "./modules/models/components/ExtendsButton/ExtendsButton.js"
/*!******************************************************************!*\
  !*** ./modules/models/components/ExtendsButton/ExtendsButton.js ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ExtendsButton: () => (/* binding */ ExtendsButton)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandLess.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandMore.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var _ExtendsButton_scss__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ExtendsButton.scss */ "./modules/models/components/ExtendsButton/ExtendsButton.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "initiallyExpanded", "label", "Presenter"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const ExtendsButton = _ref => {
  let {
      graph,
      resourceURI,
      initiallyExpanded = false,
      label,
      Presenter
    } = _ref,
    presenterProps = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)((models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11___default()));
  const [expanded, setExpanded] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(initiallyExpanded);
  const buttonLabel = translate('inheritedButtonLabel');
  const ariaLabel = label ? `${buttonLabel}: ${label}` : buttonLabel;
  const toggleExpand = () => {
    setExpanded(currentExpanded => !currentExpanded);
  };
  const ExpandIcon = expanded ? _mui_icons_material__WEBPACK_IMPORTED_MODULE_8__["default"] : _mui_icons_material__WEBPACK_IMPORTED_MODULE_9__["default"];
  return /*#__PURE__*/React.createElement("div", {
    className: "esmoExtends"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "esmoExtendsButton",
    component: "button",
    type: "button",
    variant: "body2",
    underline: "hover",
    onClick: toggleExpand,
    "aria-expanded": expanded,
    "aria-label": ariaLabel
  }, buttonLabel, /*#__PURE__*/React.createElement(ExpandIcon, {
    fontSize: "small",
    className: "esmoExtendsButton__icon"
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "esmoExtends__collapse",
    classes: {
      container: 'esmoExtends__collapse'
    },
    in: expanded,
    timeout: "auto",
    unmountOnExit: true
  }, graph ? /*#__PURE__*/React.createElement(Presenter, _extends({
    graph: graph,
    resourceURI: resourceURI
  }, presenterProps, {
    label: ""
  })) : null));
};
ExtendsButton.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  initiallyExpanded: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  Presenter: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func).isRequired
};

/***/ },

/***/ "./modules/models/components/ExtendsButton/index.js"
/*!**********************************************************!*\
  !*** ./modules/models/components/ExtendsButton/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ExtendsButton: () => (/* reexport safe */ _ExtendsButton__WEBPACK_IMPORTED_MODULE_0__.ExtendsButton)
/* harmony export */ });
/* harmony import */ var _ExtendsButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ExtendsButton */ "./modules/models/components/ExtendsButton/ExtendsButton.js");


/***/ },

/***/ "./modules/models/components/SelectEditMode/SelectEditMode.js"
/*!********************************************************************!*\
  !*** ./modules/models/components/SelectEditMode/SelectEditMode.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




const SelectEditMode = _ref => {
  let {
    value: selectedValue,
    choices,
    onChange: _onChange,
    nlsBundles
  } = _ref;
  const labelId = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_5__.useUniqueId)();
  const selectId = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_5__.useUniqueId)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)(nlsBundles);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    variant: "outlined",
    size: "small",
    sx: {
      minWidth: 120
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    htmlFor: labelId
  }, translate('editModeLabel')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    inputProps: {
      id: labelId
    },
    id: selectId,
    value: selectedValue,
    label: translate('editModeLabel'),
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return _onChange(target.value);
    }
  }, choices.map(_ref3 => {
    let {
      label,
      labelNlsKey,
      value
    } = _ref3;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
      key: value,
      value: value
    }, label !== null && label !== void 0 ? label : translate(labelNlsKey));
  })));
};
SelectEditMode.propTypes = {
  value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  choices: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    value: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    label: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  })),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SelectEditMode);

/***/ },

/***/ "./modules/models/components/SelectEditMode/index.js"
/*!***********************************************************!*\
  !*** ./modules/models/components/SelectEditMode/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SelectEditMode__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SelectEditMode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SelectEditMode */ "./modules/models/components/SelectEditMode/SelectEditMode.js");


/***/ },

/***/ "./modules/models/dialogs/CreateEntryDialog/CreateEntryDialog.js"
/*!***********************************************************************!*\
  !*** ./modules/models/dialogs/CreateEntryDialog/CreateEntryDialog.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListCreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile */ "./modules/commons/components/EntryListView/dialogs/ListCreateEntryByLinkOrFile/index.js");
/* harmony import */ var commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/dialogs/create/handlers */ "./modules/commons/components/dialogs/create/handlers.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/rdforms/LevelSelector */ "./modules/commons/components/rdforms/LevelSelector/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_editors_NamespaceLinkField__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! models/editors/NamespaceLinkField */ "./modules/models/editors/NamespaceLinkField/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



















/**
 * TODO: Move to utility, copied from modules/workbench/entitytypes/list/dialogs/CreateDialog.js
 *
 * Explicitly sets the ACL of an entityType entry so that it's not public by default
 *
 * @param {Entry} entry
 * @param {Context} context
 * @param {EntityType} entityType
 * @returns {Promise}
 */
const setEntititypeEntryNonPublic = async (entry, context, entityType) => {
  const publishable = entityType.publishControl === true;
  if (!publishable) return;
  const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_14__.getGroupWithHomeContext)(context);
  const entryInformation = entry.getEntryInfo();
  const accessControl = entryInformation.getACL(true);
  accessControl.admin.push(groupEntry.getId());
  entryInformation.setACL(accessControl);
  return entryInformation.commit();
};
const CreateEntryDialog = props => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_10__.useESContext)();
  const {
    rdfType,
    prepareEntry,
    afterCreateEntry
  } = props;
  const prototypeEntry = (0,react__WEBPACK_IMPORTED_MODULE_13__.useMemo)(() => {
    const entry = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_14__.createEntry)(context, rdfType);
    entry.add('rdf:type', rdfType);
    prepareEntry === null || prepareEntry === void 0 || prepareEntry(entry);
    return entry;
  }, [context, rdfType, prepareEntry]);
  const [entityType, setEntityType] = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_15__.useSnackbar)();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)(props.nlsBundles);
  (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(() => {
    commons_types_Lookup__WEBPACK_IMPORTED_MODULE_12__["default"].inUse(prototypeEntry).then(type => {
      setEntityType(type);
    });
  }, [prototypeEntry]);
  const handleCreateEntry = async (entry, graph, _currentContext, createEntryParams) => {
    const newEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_14__.createEntityTypeEntryFromLink)(_objectSpread({
      context,
      prototypeEntry: entry,
      graph
    }, createEntryParams));
    await setEntititypeEntryNonPublic(newEntry, context, entityType);
    return newEntry;
  };
  const handleAfterCreateEntry = async newEntry => {
    addSnackbar({
      message: translate('createSuccess')
    });
    await (afterCreateEntry === null || afterCreateEntry === void 0 ? void 0 : afterCreateEntry(newEntry));
  };
  return entityType ? /*#__PURE__*/React.createElement(commons_components_EntryListView_dialogs_ListCreateEntryByLinkOrFile__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({}, props, {
    entry: prototypeEntry,
    entityType: entityType.get(),
    editorLevel: commons_components_rdforms_LevelSelector__WEBPACK_IMPORTED_MODULE_11__.LEVEL_OPTIONAL,
    selectorType: commons_components_dialogs_create_handlers__WEBPACK_IMPORTED_MODULE_9__.ONLY_LINK,
    createEntry: handleCreateEntry,
    afterCreateEntry: handleAfterCreateEntry,
    LinkField: models_editors_NamespaceLinkField__WEBPACK_IMPORTED_MODULE_17__.CreateNamespaceLinkField
  })) : null;
};
CreateEntryDialog.propTypes = {
  rdfType: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  prepareEntry: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.nlsBundlesPropType,
  afterCreateEntry: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateEntryDialog);

/***/ },

/***/ "./modules/models/dialogs/CreateEntryDialog/index.js"
/*!***********************************************************!*\
  !*** ./modules/models/dialogs/CreateEntryDialog/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _CreateEntryDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _CreateEntryDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateEntryDialog */ "./modules/models/dialogs/CreateEntryDialog/CreateEntryDialog.js");


/***/ },

/***/ "./modules/models/dialogs/ModelsLDBDialog/ModelsLDBDialog.js"
/*!*******************************************************************!*\
  !*** ./modules/models/dialogs/ModelsLDBDialog/ModelsLDBDialog.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/FieldsLinkedDataBrowserDialog */ "./modules/commons/components/FieldsLinkedDataBrowserDialog/index.js");
/* harmony import */ var models_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/utils/fieldDefinitions */ "./modules/models/utils/fieldDefinitions.js");
/* harmony import */ var models_namespaces_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! models/namespaces/utils/fieldDefinitions */ "./modules/models/namespaces/utils/fieldDefinitions.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_11__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }











const NLS_BUNDLES = [(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_11___default())];

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {object[]|undefined}
 */
const getPresenterFields = (graph, resourceURI) => {
  const isRfs = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.matchesType)(graph, resourceURI, [models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_FORM, models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_FIELD]);
  if (isRfs) return models_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_6__.FIELDS_FORMS_INFO;
  const isNamespace = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.matchesType)(graph, resourceURI, [models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_PREFIX]);
  if (isNamespace) return models_namespaces_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_7__.fieldDefinitions;
};
const ModelsLinkedDataBrowserDialog = _ref => {
  let {
      entry
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_3__.useTranslation)(NLS_BUNDLES);
  const renderPresenter = _ref2 => {
    let {
      entry: currentEntry,
      language
    } = _ref2;
    const graph = currentEntry.getAllMetadata();
    const resourceURI = currentEntry.getResourceURI();
    const fields = getPresenterFields(graph, resourceURI);
    if (fields) {
      return (0,commons_components_FieldsLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_5__.renderFieldsPresenter)({
        entry: currentEntry,
        translate,
        fields,
        language
      });
    }
    return null;
  };
  return /*#__PURE__*/React.createElement(commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({}, rest, {
    entry: entry,
    renderPresenter: renderPresenter,
    enableLanguageControls: true
  }));
};
ModelsLinkedDataBrowserDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ModelsLinkedDataBrowserDialog);

/***/ },

/***/ "./modules/models/dialogs/ModelsLDBDialog/index.js"
/*!*********************************************************!*\
  !*** ./modules/models/dialogs/ModelsLDBDialog/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ModelsLDBDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ModelsLDBDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModelsLDBDialog */ "./modules/models/dialogs/ModelsLDBDialog/ModelsLDBDialog.js");


/***/ },

/***/ "./modules/models/editors/AttributesEditor/AttributesEditor.js"
/*!*********************************************************************!*\
  !*** ./modules/models/editors/AttributesEditor/AttributesEditor.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AttributesEditor: () => (/* binding */ AttributesEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var models_utils_attribute__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! models/utils/attribute */ "./modules/models/utils/attribute.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22__);
/* harmony import */ var _AttributesEditor_scss__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./AttributesEditor.scss */ "./modules/models/editors/AttributesEditor/AttributesEditor.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

















const AttributesEditor = _ref => {
  let {
    children
  } = _ref;
  const {
    graph,
    resourceURI
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_17__.useEditorContext)();
  // put saved selection on top
  const [attributes, setAttributes] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(models_utils_attribute__WEBPACK_IMPORTED_MODULE_18__.ATTRIBUTES.map(attribute => _objectSpread(_objectSpread({}, attribute), {}, {
    selected: Boolean(graph.find(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_16__.RDF_PROPERTY_ATTRIBUTE, {
      type: 'literal',
      value: attribute.name
    }).length)
  })).sort(_ref2 => {
    let {
      selected
    } = _ref2;
    return selected ? -1 : 0;
  }));
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__.useTranslation)((models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_22___default()));
  const [searchInput, setSearchInput] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)('');
  const [showAllAttributes, setShowAllAttributes] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(true);
  const filteredAttributes = attributes.filter(_ref3 => {
    let {
      selected
    } = _ref3;
    return showAllAttributes || selected;
  }).filter(_ref4 => {
    let {
      name
    } = _ref4;
    return name.toLowerCase().includes(searchInput.toLowerCase());
  });
  const handleSelect = _ref5 => {
    let {
      name,
      selected
    } = _ref5;
    const newAttributes = attributes.map(attribute => attribute.name === name ? _objectSpread(_objectSpread({}, attribute), {}, {
      selected: !selected
    }) : attribute);
    setAttributes(newAttributes);

    // update graph
    graph.findAndRemove(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_16__.RDF_PROPERTY_ATTRIBUTE);
    newAttributes.forEach(attribute => {
      if (!attribute.selected) return;
      graph.addL(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_16__.RDF_PROPERTY_ATTRIBUTE, attribute.name);
    });
  };
  const dispatchSearch = _ref6 => {
    let {
      type,
      value
    } = _ref6;
    const newValue = type === 'SEARCH' ? value : '';
    setSearchInput(newValue);
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_17__.Fields, {
    max: 1
  }, children, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_17__.Field, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    size: {
      xs: 12
    }
  }, /*#__PURE__*/React.createElement("div", {
    className: "esmoAttributesEditorFilters"
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_19__.ListSearchField, {
    placeholder: t('searchAttributesPlaceholder'),
    search: searchInput,
    dispatch: dispatchSearch
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    sx: {
      marginLeft: 'auto'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    variant: "text",
    onClick: () => setShowAllAttributes(!showAllAttributes)
  }, showAllAttributes ? t('showSelectedLabel') : t('showAllLabel'))))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    sx: {
      width: '100%'
    }
  }, filteredAttributes.length ? filteredAttributes.map(attribute => {
    const {
      name,
      description,
      selected
    } = attribute;
    const listItemId = `listitem-${name}`;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      key: name,
      sx: {
        margin: '16px 0'
      }
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
      onClick: () => handleSelect(attribute)
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], {
      id: listItemId,
      primary: name,
      secondary: description ? (0,commons_locale__WEBPACK_IMPORTED_MODULE_20__.localize)(description) : ''
    }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
      edge: "end",
      checked: selected,
      inputProps: {
        'aria-labelledby': listItemId
      }
    })));
  }) : null)));
};
AttributesEditor.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_7___default().node)
};

/***/ },

/***/ "./modules/models/editors/AttributesEditor/index.js"
/*!**********************************************************!*\
  !*** ./modules/models/editors/AttributesEditor/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AttributesEditor: () => (/* reexport safe */ _AttributesEditor__WEBPACK_IMPORTED_MODULE_0__.AttributesEditor)
/* harmony export */ });
/* harmony import */ var _AttributesEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AttributesEditor */ "./modules/models/editors/AttributesEditor/AttributesEditor.js");


/***/ },

/***/ "./modules/models/editors/CardinalityEditor/CardinalityEditor.js"
/*!***********************************************************************!*\
  !*** ./modules/models/editors/CardinalityEditor/CardinalityEditor.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CardinalityEditor: () => (/* binding */ CardinalityEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var models_utils_cardinality__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/cardinality */ "./modules/models/utils/cardinality.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["label", "graph", "resourceURI", "dispatch", "children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const CardinalityEditor = _ref => {
  let {
      label,
      graph,
      resourceURI,
      dispatch,
      children
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)((models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default()));
  const [includeLevel, setIncludeLevel] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(() => (0,models_utils_cardinality__WEBPACK_IMPORTED_MODULE_8__.getIncludeLevel)(graph, resourceURI));
  const {
    fields,
    labelId,
    updateValue
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.useFieldsEdit)({
    name: fieldsProps.name,
    property: models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_MAX,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.DATATYPE_LITERAL,
    datatype: 'xsd:integer',
    graph,
    resourceURI,
    dispatch
  });
  const [maxField] = fields;
  const onClear = () => {
    setIncludeLevel('');
    updateValue(maxField, '');
    (0,models_utils_cardinality__WEBPACK_IMPORTED_MODULE_8__.setCardinality)(graph, resourceURI, '');
  };
  const updateIncludeLevel = level => {
    setIncludeLevel(level);
    (0,models_utils_cardinality__WEBPACK_IMPORTED_MODULE_8__.setCardinality)(graph, resourceURI, level);
  };
  const choices = [{
    label: t('mandatoryLabel'),
    value: models_utils_cardinality__WEBPACK_IMPORTED_MODULE_8__.MANDATORY
  }, {
    label: t('recommendedLabel'),
    value: models_utils_cardinality__WEBPACK_IMPORTED_MODULE_8__.RECOMMENDED
  }, {
    label: t('optionalLabel'),
    value: models_utils_cardinality__WEBPACK_IMPORTED_MODULE_8__.OPTIONAL
  }];
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.Fields, _extends({
    labelId: labelId,
    label: label,
    max: 1
  }, fieldsProps), children, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.Field, {
    size: 1,
    onClear: onClear
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.RadioGroup, {
    xs: "auto",
    labelId: labelId,
    choices: choices,
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return updateIncludeLevel(target.value);
    },
    value: includeLevel,
    row: true
  }), /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.TextField, {
    id: labelId,
    label: t('maxLabel'),
    xs: 2,
    value: maxField.getValue(),
    size: "small",
    onChange: _ref3 => {
      let {
        target
      } = _ref3;
      return updateValue(maxField, target.value);
    }
  })));
};
CardinalityEditor.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)
};

/***/ },

/***/ "./modules/models/editors/CardinalityEditor/index.js"
/*!***********************************************************!*\
  !*** ./modules/models/editors/CardinalityEditor/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CardinalityEditor: () => (/* reexport safe */ _CardinalityEditor__WEBPACK_IMPORTED_MODULE_0__.CardinalityEditor)
/* harmony export */ });
/* harmony import */ var _CardinalityEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CardinalityEditor */ "./modules/models/editors/CardinalityEditor/CardinalityEditor.js");


/***/ },

/***/ "./modules/models/editors/ConstraintEditor/ConstraintEditor.js"
/*!*********************************************************************!*\
  !*** ./modules/models/editors/ConstraintEditor/ConstraintEditor.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConstraintEditor: () => (/* binding */ ConstraintEditorWithGetNamespaceEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var models_nls_esmoFields_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/nls/esmoFields.nls */ "./modules/models/nls/esmoFields.nls");
/* harmony import */ var models_nls_esmoFields_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoFields_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! models/nls/esmoClasses.nls */ "./modules/models/nls/esmoClasses.nls");
/* harmony import */ var models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! models/utils/constraint */ "./modules/models/utils/constraint.js");
/* harmony import */ var models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! models/namespaces/hooks/useGetNamespaceEntries */ "./modules/models/namespaces/hooks/useGetNamespaceEntries.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var _ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ConstraintEditor.scss */ "./modules/models/editors/ConstraintEditor/ConstraintEditor.scss");
/* harmony import */ var models_components_SelectEditMode_SelectEditMode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! models/components/SelectEditMode/SelectEditMode */ "./modules/models/components/SelectEditMode/SelectEditMode.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! models/utils/choiceDefinitions */ "./modules/models/utils/choiceDefinitions.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_icons_material_ArrowDownward__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @mui/icons-material/ArrowDownward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDownward.js");
/* harmony import */ var _mui_icons_material_ArrowUpward__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @mui/icons-material/ArrowUpward */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowUpward.js");
/* harmony import */ var _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../ResourceEntryEditor */ "./modules/models/editors/ResourceEntryEditor/index.js");
/* harmony import */ var _ConstraintPropertyEditor__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./ConstraintPropertyEditor */ "./modules/models/editors/ConstraintEditor/ConstraintPropertyEditor/index.js");
/* harmony import */ var _ConstraintValueEditor__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ConstraintValueEditor */ "./modules/models/editors/ConstraintEditor/ConstraintValueEditor/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "blankNodeId", "graph", "onChange", "dispatch", "size", "error", "helperText", "validate"],
  _excluded2 = ["size", "property", "graph", "resourceURI", "dispatch", "namespaceEntries", "editModeChoices", "onEditModeChange"],
  _excluded3 = ["emptyListNlsKey", "createTooltipNlsKey", "createActionProps"],
  _excluded4 = ["graph", "resourceURI", "namespaceEntries", "property"],
  _excluded5 = ["EditorComponent"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


























const NLS_BUNDLES = [(models_nls_esmoFields_nls__WEBPACK_IMPORTED_MODULE_10___default()), (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11___default()), (models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_12___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_14___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default())];
const ConstraintValuesEdit = _ref => {
  let {
      property,
      blankNodeId,
      graph,
      onChange,
      dispatch,
      size,
      error,
      helperText,
      validate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)(NLS_BUNDLES);
  const {
    addField,
    fieldGroup,
    labelId,
    removeField,
    moveField
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.useOrderedFieldsEdit)({
    property,
    resourceURI: blankNodeId,
    graph,
    dispatch,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.URI,
    orderProperty: models_utils_ns__WEBPACK_IMPORTED_MODULE_8__.RDF_PROPERTY_ORDER,
    includeValue: false // the value is set on the resource entry by default
  });
  const orderedFields = fieldGroup.getFields();
  const editModeChoices = models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_22__.CONSTRAINT_VALUE_EDIT_CHOICES.map(_ref2 => {
    let {
      value,
      labelNlsKey
    } = _ref2;
    return {
      label: translate(labelNlsKey),
      value
    };
  });
  const update = (orderedField, value) => {
    const editMode = orderedField.get('editMode');
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_23__.RESOURCE) {
      orderedField.setAsserted(Boolean(value));
    } else if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_23__.NAMESPACE_ENTRY) {
      orderedField.setAsserted(Boolean((value === null || value === void 0 ? void 0 : value.entry) && (value === null || value === void 0 ? void 0 : value.localname)));
    } else if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_23__.RESOURCE_ENTRY) {
      orderedField.setAsserted(Boolean(value === null || value === void 0 ? void 0 : value.entry));
    }
    onChange();
  };
  const remove = field => {
    removeField(field);
    onChange();
  };
  const handleEditModeChange = (editMode, field) => {
    field.set('editMode', editMode);
    dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.REFRESH
    });
  };
  const getOrSetEditMode = orderedField => {
    if (!orderedField.get('editMode')) {
      const editMode = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_23__.getURIEditorType)(graph, orderedField.getBlank().getBlankNodeId(), 'rdf:value', models_utils_metadata__WEBPACK_IMPORTED_MODULE_23__.RESOURCE_ENTRY);
      orderedField.set('editMode', editMode);
    }
    return orderedField.get('editMode');
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.Fields, _extends({
    labelId: labelId,
    addField: addField
  }, fieldsProps, {
    label: translate('constraintObjectLabel')
  }), orderedFields.map((orderedField, index) => {
    return /*#__PURE__*/React.createElement(_ConstraintValueEditor__WEBPACK_IMPORTED_MODULE_29__.ConstraintValueEditor, {
      key: orderedField.getId(),
      graph: graph,
      resourceURI: orderedField.getBlank().getBlankNodeId(),
      property: "rdf:value",
      onEditModeChange: editMode => handleEditModeChange(editMode, orderedField),
      editMode: getOrSetEditMode(orderedField),
      editModeChoices: editModeChoices,
      dispatch: dispatch,
      nlsBundles: NLS_BUNDLES,
      max: 1,
      labelId: labelId,
      size: size,
      spacing: 2,
      error: error,
      helperText: helperText,
      onChange: update,
      onRemove: remove,
      fieldsCount: orderedFields.length,
      field: orderedField,
      validate: validate,
      mandatory: true,
      renderControls: () => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_24__["default"], {
        size: {
          xs: 4
        }
      }, orderedField.getOrder() > 1 ? /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.FieldControlButton, {
        marginLeft: "0",
        tooltip: translate('moveUpTooltip'),
        onClick: () => moveField(orderedField, index, index - 1)
      }, /*#__PURE__*/React.createElement(_mui_icons_material_ArrowUpward__WEBPACK_IMPORTED_MODULE_26__["default"], null)) : null, orderedField.getOrder() < orderedFields.length ? /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.FieldControlButton, {
        marginLeft: "0",
        tooltip: translate('moveDownTooltip'),
        onClick: () => moveField(orderedField, index, index + 1)
      }, /*#__PURE__*/React.createElement(_mui_icons_material_ArrowDownward__WEBPACK_IMPORTED_MODULE_25__["default"], null)) : null)
    });
  }));
};
ConstraintValuesEdit.propTypes = {
  size: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.graphPropType,
  blankNodeId: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  errorText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.entryPropType),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  validate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool)
};
const AdvancedConstraintEditor = _ref3 => {
  let {
      size,
      property,
      graph,
      resourceURI,
      dispatch,
      namespaceEntries,
      editModeChoices,
      onEditModeChange
    } = _ref3,
    fieldsProps = _objectWithoutProperties(_ref3, _excluded2);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)([(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11___default()), (commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_14___default())]);
  const {
    labelId,
    addBlank,
    fieldGroup
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.useBlankEdit)({
    name: fieldsProps.name,
    property,
    graph,
    resourceURI,
    dispatch,
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CONSTRAINT
  });
  const fields = fieldGroup.getFields();
  const {
    fieldSet
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.useEditorContext)();
  const handleChange = field => {
    const [prop, value] = (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.findConstraint)(graph, field);
    if (!prop && !value && field.isAsserted()) {
      field.setAsserted(false);
    }
    if ((prop || value) && !field.isAsserted()) {
      field.setAsserted(true);
    }
    if (!field.isAsserted()) {
      // TODO: improve on this
      const fieldGroups = (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.findConstraintFieldGroups)(fieldSet, field.getBlankNodeId());
      fieldGroups.forEach(f => {
        f.setError();
      });
    }
  };
  const handleRemove = field => {
    const fieldGroups = (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.findConstraintFieldGroups)(fieldSet, field.getBlankNodeId());
    fieldGroup.removeField(field);
    dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.REMOVE_FIELD_GROUPS,
      fieldGroups
    });
  };
  const handleClear = field => {
    field.clear();
  };
  const handleSelectEditMode = (value, field) => {
    const fieldGroups = (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.findConstraintFieldGroups)(fieldSet, field.getBlankNodeId());
    dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.REMOVE_FIELD_GROUPS,
      fieldGroups: [fieldGroup, ...fieldGroups]
    });
    onEditModeChange(value);
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.Fields, {
    labelId: labelId,
    label: translate('constraintLabel'),
    addField: addBlank
  }, fields.map(field => {
    return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.Field, {
      key: field.getId(),
      size: fields.length,
      onClear: () => handleClear(field),
      onRemove: () => handleRemove(field)
    }, /*#__PURE__*/React.createElement(models_components_SelectEditMode_SelectEditMode__WEBPACK_IMPORTED_MODULE_20__["default"], {
      value: models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.ADVANCED_CONSTRAINT,
      choices: editModeChoices,
      nlsBundles: (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_11___default()),
      onChange: value => handleSelectEditMode(value, field)
    }), /*#__PURE__*/React.createElement("div", {
      className: "esmoConstraintEditor"
    }, /*#__PURE__*/React.createElement(_ConstraintPropertyEditor__WEBPACK_IMPORTED_MODULE_28__.ConstraintPropertyEditor, {
      graph: graph,
      resourceURI: field.getBlankNodeId(),
      property: models_utils_ns__WEBPACK_IMPORTED_MODULE_8__.RDF_PROPERTY_CONSTRAINT_PROPERTY,
      editChoices: models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_22__.PROPERTY_EDIT_MODE_CHOICES,
      nlsBundles: NLS_BUNDLES,
      mandatory: true,
      dispatch: dispatch,
      max: 1,
      label: translate('constraintPropertyLabel'),
      error: field.getError() === models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.MISSING_PROPERTY,
      size: size,
      fieldsCount: 1,
      onChange: () => handleChange(field),
      validate: _validate => (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.validateConstraint)(_validate, field),
      helperText: field.getError() === models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.MISSING_PROPERTY ? translate(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.MISSING_VALUE) : ''
    }), /*#__PURE__*/React.createElement(ConstraintValuesEdit, _extends({}, fieldsProps, {
      property: models_utils_ns__WEBPACK_IMPORTED_MODULE_8__.RDF_PROPERTY_CONSTRAINT_VALUE,
      graph: graph,
      blankNodeId: field.getBlankNodeId(),
      size: size,
      onChange: () => handleChange(field),
      validate: _validate2 => (0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.validateConstraint)(_validate2, field),
      mandatory: true,
      dispatch: dispatch,
      error: field.getError() === commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.MISSING_VALUE,
      helperText: field.getError() === commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.MISSING_VALUE ? translate(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.MISSING_VALUE) : '',
      namespaceEntries: namespaceEntries
    }))));
  }));
};
AdvancedConstraintEditor.propTypes = {
  size: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.entryPropType),
  editModeChoices: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  onEditModeChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
const classEntryProps = {
  editModeValue: models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.CLASS_ENTRY,
  resourceRdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_8__.RDF_TYPE_CLASS,
  selectTooltipNlsKey: 'selectClassLabel',
  emptyListNlsKey: 'noClassesWarning',
  createTooltipNlsKey: 'createClassTitle',
  createActionProps: _ConstraintValueEditor__WEBPACK_IMPORTED_MODULE_29__.CLASS_CREATE_ACTION_PROPS,
  dialogProps: {
    titleNlsKey: 'selectClassLabel'
  }
};
const terminologyProps = {
  editModeValue: models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.USE_TERMINOLOGY,
  resourceRdfType: commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_TERMINOLOGY,
  resourceProperty: models_utils_ns__WEBPACK_IMPORTED_MODULE_8__.RDF_PROPERTY_TERMINOLOGY,
  selectTooltipNlsKey: 'selectTerminologyLabel',
  emptyListNlsKey: 'noTerminologiesWarning',
  dialogProps: {
    allContexts: true,
    filters: [],
    titleNlsKey: 'selectTerminologyLabel'
  }
};

/**
 *
 * @param {string} editMode
 * @param {Function} translate
 * @returns {object}
 */
const getCustomEditorProps = (editMode, translate) => {
  if (editMode === models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.ADVANCED_CONSTRAINT) {
    return {
      EditorComponent: AdvancedConstraintEditor
    };
  }
  // ResourceEntryEditor is used for all other edit modes, but with some
  // specific props
  const _ref4 = editMode === models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.CLASS_ENTRY ? classEntryProps : terminologyProps,
    {
      emptyListNlsKey,
      createTooltipNlsKey,
      createActionProps
    } = _ref4,
    props = _objectWithoutProperties(_ref4, _excluded3);
  return _objectSpread({
    EditorComponent: _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_27__.ResourceEntryEditor,
    getTitleProps: _ref5 => {
      let {
        entry
      } = _ref5;
      return {
        primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_21__.getLabel)(entry),
        secondary: entry.getResourceURI()
      };
    },
    placeholderProps: {
      label: translate(emptyListNlsKey)
    },
    createActionProps: createActionProps ? _objectSpread(_objectSpread({}, createActionProps), {}, {
      tooltip: createTooltipNlsKey ? translate(createTooltipNlsKey) : undefined
    }) : undefined
  }, props);
};
const ConstraintEditor = _ref6 => {
  let {
      graph,
      resourceURI,
      namespaceEntries,
      property
    } = _ref6,
    props = _objectWithoutProperties(_ref6, _excluded4);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)([...NLS_BUNDLES, ...props.nlsBundles]);
  const [editMode, setEditMode] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)((0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.getConstraintType)(graph, resourceURI) || models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.CLASS_ENTRY);
  const _getCustomEditorProps = getCustomEditorProps(editMode, translate),
    {
      EditorComponent
    } = _getCustomEditorProps,
    customEditorProps = _objectWithoutProperties(_getCustomEditorProps, _excluded5);
  const editModeChoices = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.getAvailableChoices)(graph, resourceURI, models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.MAIN_EDIT_MODE_CHOICES).map(_ref7 => {
    let {
      value,
      labelNlsKey
    } = _ref7;
    return {
      label: translate(labelNlsKey),
      value
    };
  });
  return /*#__PURE__*/React.createElement(EditorComponent, _extends({
    key: editMode,
    graph: graph,
    resourceURI: resourceURI,
    onEditModeChange: setEditMode,
    editModeChoices: editModeChoices,
    property: property,
    namespaceEntries: editMode === models_utils_constraint__WEBPACK_IMPORTED_MODULE_16__.ADVANCED_CONSTRAINT ? namespaceEntries : null
  }, customEditorProps, props));
};
ConstraintEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.entryPropType),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.nlsBundlesPropType
};
const ConstraintEditorWithGetNamespaceEntries = props => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_18__.useESContext)();
  const {
    namespaceEntries,
    status
  } = (0,models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_17__["default"])(context);
  return status === 'resolved' ? /*#__PURE__*/React.createElement(ConstraintEditor, _extends({
    namespaceEntries: namespaceEntries
  }, props)) : null;
};


/***/ },

/***/ "./modules/models/editors/ConstraintEditor/ConstraintPropertyEditor/ConstraintPropertyEditor.js"
/*!******************************************************************************************************!*\
  !*** ./modules/models/editors/ConstraintEditor/ConstraintPropertyEditor/ConstraintPropertyEditor.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConstraintPropertyEditor: () => (/* binding */ ConstraintPropertyEditorWithGetNamespaceEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! models/namespaces/hooks/useGetNamespaceEntries */ "./modules/models/namespaces/hooks/useGetNamespaceEntries.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var models_dialogs_CreateEntryDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/dialogs/CreateEntryDialog */ "./modules/models/dialogs/CreateEntryDialog/index.js");
/* harmony import */ var models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/nls/esmoProperties.nls */ "./modules/models/nls/esmoProperties.nls");
/* harmony import */ var models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var models_editors_NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! models/editors/NamespaceEntryEditor */ "./modules/models/editors/NamespaceEntryEditor/index.js");
/* harmony import */ var models_editors_ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! models/editors/ResourceEntryEditor */ "./modules/models/editors/ResourceEntryEditor/index.js");
/* harmony import */ var models_editors_ResourceEditor__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! models/editors/ResourceEditor */ "./modules/models/editors/ResourceEditor/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "namespaceEntries", "property", "dispatch", "onChange", "editChoices"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }















const ConstraintPropertyEditor = _ref => {
  let {
      graph,
      resourceURI,
      namespaceEntries,
      property,
      dispatch,
      onChange,
      editChoices
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)([(models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_11___default()), ...props.nlsBundles]);
  const [editMode, setEditMode] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.getURIEditorType)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_CONSTRAINT_PROPERTY, models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY));
  const getEditorComponent = () => {
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY) return models_editors_ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_15__.ResourceEntryEditor;
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.NAMESPACE_ENTRY) return models_editors_NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_14__.NamespaceEntryEditor;
    return models_editors_ResourceEditor__WEBPACK_IMPORTED_MODULE_16__.ResourceEditor;
  };
  const EditorComponent = getEditorComponent();
  const editModeChoices = editChoices.map(_ref2 => {
    let {
      value,
      labelNlsKey
    } = _ref2;
    return {
      label: translate(labelNlsKey),
      value
    };
  });

  // custom dispatch to run onChange and onRemove callbacks
  const customDispatch = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_17__.useCustomDispatch)({
    dispatch,
    onChange
  });
  return /*#__PURE__*/React.createElement(EditorComponent, _extends({
    graph: graph,
    resourceURI: resourceURI,
    onEditModeChange: setEditMode,
    editModeChoices: editModeChoices,
    property: property,
    dispatch: customDispatch,
    namespaceEntries: editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.NAMESPACE_ENTRY ? namespaceEntries : null
  }, editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY ? {
    editModeValue: models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY,
    resourceRdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_PROPERTY,
    selectTooltipNlsKey: 'selectPropertyLabel',
    placeholderProps: {
      label: translate('noPropertiesWarning')
    },
    getTitleProps: _ref3 => {
      let {
        entry
      } = _ref3;
      return {
        primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(entry),
        secondary: entry.getResourceURI()
      };
    },
    createActionProps: {
      Dialog: models_dialogs_CreateEntryDialog__WEBPACK_IMPORTED_MODULE_10__["default"],
      rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_PROPERTY,
      nlsBundles: props.nlsBundles,
      tooltip: translate('createPropertyTitle')
    }
  } : {}, props));
};
ConstraintPropertyEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsBundlesPropType,
  editChoices: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
const ConstraintPropertyEditorWithGetNamespaceEntries = props => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    namespaceEntries,
    status
  } = (0,models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_7__["default"])(context);
  return status === 'resolved' ? /*#__PURE__*/React.createElement(ConstraintPropertyEditor, _extends({
    namespaceEntries: namespaceEntries
  }, props)) : null;
};


/***/ },

/***/ "./modules/models/editors/ConstraintEditor/ConstraintPropertyEditor/index.js"
/*!***********************************************************************************!*\
  !*** ./modules/models/editors/ConstraintEditor/ConstraintPropertyEditor/index.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConstraintPropertyEditor: () => (/* reexport safe */ _ConstraintPropertyEditor__WEBPACK_IMPORTED_MODULE_0__.ConstraintPropertyEditor)
/* harmony export */ });
/* harmony import */ var _ConstraintPropertyEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstraintPropertyEditor */ "./modules/models/editors/ConstraintEditor/ConstraintPropertyEditor/ConstraintPropertyEditor.js");


/***/ },

/***/ "./modules/models/editors/ConstraintEditor/ConstraintValueEditor/ConstraintValueEditor.js"
/*!************************************************************************************************!*\
  !*** ./modules/models/editors/ConstraintEditor/ConstraintValueEditor/ConstraintValueEditor.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CLASS_CREATE_ACTION_PROPS: () => (/* binding */ CLASS_CREATE_ACTION_PROPS),
/* harmony export */   ConstraintValueEditor: () => (/* binding */ ConstraintValueEditorWithGetNamespaceEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! models/namespaces/hooks/useGetNamespaceEntries */ "./modules/models/namespaces/hooks/useGetNamespaceEntries.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! models/nls/esmoClasses.nls */ "./modules/models/nls/esmoClasses.nls");
/* harmony import */ var models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var models_dialogs_CreateEntryDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! models/dialogs/CreateEntryDialog */ "./modules/models/dialogs/CreateEntryDialog/index.js");
/* harmony import */ var _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../NamespaceEntryEditor */ "./modules/models/editors/NamespaceEntryEditor/index.js");
/* harmony import */ var _ResourceEditor__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../ResourceEditor */ "./modules/models/editors/ResourceEditor/index.js");
/* harmony import */ var _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../ResourceEntryEditor */ "./modules/models/editors/ResourceEntryEditor/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "namespaceEntries", "property", "field", "editMode", "onChange", "onRemove", "dispatch", "nlsBundles"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

















const CLASS_CREATE_ACTION_PROPS = {
  Dialog: models_dialogs_CreateEntryDialog__WEBPACK_IMPORTED_MODULE_17__["default"],
  rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_CLASS,
  nlsBundles: [(models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_13___default()), (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_14___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_15___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_16___default())]
};
const ConstraintValueEditor = _ref => {
  let {
      graph,
      resourceURI,
      namespaceEntries,
      property,
      field,
      editMode,
      onChange,
      onRemove,
      dispatch,
      nlsBundles
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.useTranslation)([(models_nls_esmoClasses_nls__WEBPACK_IMPORTED_MODULE_13___default()), ...nlsBundles]);
  const getEditorComponent = () => {
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.NAMESPACE_ENTRY) return _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_18__.NamespaceEntryEditor;
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY) return _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_20__.ResourceEntryEditor;
    return _ResourceEditor__WEBPACK_IMPORTED_MODULE_19__.ResourceEditor;
  };
  const EditorComponent = getEditorComponent();

  // custom dispatch to run onChange and onRemove callbacks
  const customDispatch = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.useCustomDispatch)({
    dispatch,
    field,
    onChange,
    onRemove
  });
  return /*#__PURE__*/React.createElement(EditorComponent, _extends({
    graph: graph,
    resourceURI: resourceURI,
    property: property,
    namespaceEntries: editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.NAMESPACE_ENTRY ? namespaceEntries : null,
    dispatch: customDispatch
  }, editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE ? {
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_9__.URI
  } : null, editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY ? {
    editModeValue: models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY,
    resourceRdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_CLASS,
    selectTooltipNlsKey: 'selectClassLabel',
    placeholderProps: {
      label: translate('noClassesWarning')
    },
    getTitleProps: _ref2 => {
      let {
        entry
      } = _ref2;
      return {
        primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getLabel)(entry),
        secondary: entry.getResourceURI()
      };
    },
    createActionProps: _objectSpread(_objectSpread({}, CLASS_CREATE_ACTION_PROPS), {}, {
      tooltip: translate('createClassTitle')
    }),
    nlsBundles
  } : {}, props));
};
ConstraintValueEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType),
  field: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  editMode: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_12__.nlsBundlesPropType
};
const ConstraintValueEditorWithGetNamespaceEntries = props => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    namespaceEntries,
    status
  } = (0,models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_7__["default"])(context);
  return status === 'resolved' ? /*#__PURE__*/React.createElement(ConstraintValueEditor, _extends({
    namespaceEntries: namespaceEntries
  }, props)) : null;
};


/***/ },

/***/ "./modules/models/editors/ConstraintEditor/ConstraintValueEditor/index.js"
/*!********************************************************************************!*\
  !*** ./modules/models/editors/ConstraintEditor/ConstraintValueEditor/index.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CLASS_CREATE_ACTION_PROPS: () => (/* reexport safe */ _ConstraintValueEditor__WEBPACK_IMPORTED_MODULE_0__.CLASS_CREATE_ACTION_PROPS),
/* harmony export */   ConstraintValueEditor: () => (/* reexport safe */ _ConstraintValueEditor__WEBPACK_IMPORTED_MODULE_0__.ConstraintValueEditor)
/* harmony export */ });
/* harmony import */ var _ConstraintValueEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstraintValueEditor */ "./modules/models/editors/ConstraintEditor/ConstraintValueEditor/ConstraintValueEditor.js");


/***/ },

/***/ "./modules/models/editors/ConstraintEditor/index.js"
/*!**********************************************************!*\
  !*** ./modules/models/editors/ConstraintEditor/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ConstraintEditor: () => (/* reexport safe */ _ConstraintEditor__WEBPACK_IMPORTED_MODULE_0__.ConstraintEditor)
/* harmony export */ });
/* harmony import */ var _ConstraintEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstraintEditor */ "./modules/models/editors/ConstraintEditor/ConstraintEditor.js");


/***/ },

/***/ "./modules/models/editors/DepsEditor/DepsEditor.js"
/*!*********************************************************!*\
  !*** ./modules/models/editors/DepsEditor/DepsEditor.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DepsEditor: () => (/* binding */ DepsEditor),
/* harmony export */   isSelectField: () => (/* binding */ isSelectField)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/forms/editors/utils/editorContext */ "./modules/commons/components/forms/editors/utils/editorContext.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var models_fields_utils_options__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/fields/utils/options */ "./modules/models/fields/utils/options.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var models_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! models/utils/filterDefinitions */ "./modules/models/utils/filterDefinitions.js");
/* harmony import */ var models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! models/utils/choiceDefinitions */ "./modules/models/utils/choiceDefinitions.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["entry"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }


function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }














const SELECT_EDITOR = 'select';
const LITERAL_EDITOR = 'literal';
const FIELD_DEPENDS_ON = {
  name: 'field-depends-on',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_12__.RDF_PROPERTY_DEPENDS_ON,
  labelNlsKey: 'depsOnFieldLabel'
};
const FIELD_DEPENDS_ON_VALUE = {
  name: 'field-depends-on',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_12__.RDF_PROPERTY_DEPENDS_ON_VALUE,
  labelNlsKey: 'depsOnValueFieldLabel',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.LITERAL,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.LiteralEditor,
  max: 1
};
const SELECT_FIELD_FILTERS = [_objectSpread(_objectSpread({}, models_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_13__.TYPE_FILTER), {}, {
  items: [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_15__.ANY_FILTER_ITEM, ...models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_14__.FIELD_TYPE_CHOICES]
})];

/**
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isSelectField = entry => {
  if (!entry) return false;
  return Boolean(entry.getMetadata().find(entry.getResourceURI(), 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_12__.RDF_TYPE_SELECT_FIELD).length);
};
const SelectDepsEntryEditor = props => {
  const {
    translate
  } = props;
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.SelectEntryEditor, _extends({
    selectEntryTooltipNlsKey: "selectFieldTooltip",
    dialogProps: {
      rdfType: [models_utils_ns__WEBPACK_IMPORTED_MODULE_12__.RDF_TYPE_FIELD],
      filters: SELECT_FIELD_FILTERS,
      placeholderProps: {
        label: translate('selectFieldPlaceholder')
      },
      titleNlsKey: 'selectFieldHeader'
    },
    isResourceURI: false,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.URI
  }, props));
};
SelectDepsEntryEditor.propTypes = {
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
const SelectFieldValueEditor = _ref => {
  let {
      entry
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const {
    data: choices,
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const graph = entry === null || entry === void 0 ? void 0 : entry.getMetadata();
  const resourceURI = entry === null || entry === void 0 ? void 0 : entry.getResourceURI();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (!entry) return;
    runAsync((0,models_fields_utils_options__WEBPACK_IMPORTED_MODULE_11__.findSelectFieldChoices)(entry).then(_ref2 => {
      let {
        choices
      } = _ref2;
      return choices;
    }));
  }, [entry, runAsync]);
  if (status !== commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__.RESOLVED) return null;
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.SelectEditor, _extends({
    graph: graph,
    resourceURI: resourceURI,
    choices: choices
  }, props));
};
SelectFieldValueEditor.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_17__.entryPropType
};

// The value editor depends on the selected field entry. If the selected entry
// is a select field, then the available options should be selectable. For other
// field types a literal editor for free text should be used.
const useValueEditor = () => {
  const {
    fieldSet,
    dispatch,
    graph,
    resourceURI
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useEditorContext)();
  const editorType = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();
  const {
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const [entry, setEntry] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)();

  // get the initial deps entry
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    const entryURI = graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_12__.RDF_PROPERTY_DEPENDS_ON);
    if (entryURI) {
      runAsync(commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntry(entryURI).then(initialEntry => {
        editorType.current = isSelectField(initialEntry) ? SELECT_EDITOR : LITERAL_EDITOR;
        setEntry(initialEntry);
      }));
    }
  }, [runAsync, graph, resourceURI]);

  // either a literal or select editor may be used
  const valueEditor = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => {
    if (!entry) return;
    return _objectSpread(_objectSpread({}, FIELD_DEPENDS_ON_VALUE), editorType.current === SELECT_EDITOR ? {
      Editor: SelectFieldValueEditor,
      entry
    } : {});
  }, [entry]);

  // When switching value editor, the context state must be cleaned up, to avoid
  // duplicate field groups for the same property. Also the value will always be
  // cleared when switching to a select field, since select fields have there
  // own set of valid values.
  const switchValueEditor = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(entryURI => {
    const newEntry = entryURI ? commons_store__WEBPACK_IMPORTED_MODULE_10__.entrystore.getEntry(entryURI, {
      direct: true
    }) : null;
    const fieldGroup = (0,commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_7__.findGroupByProperty)(fieldSet, models_utils_ns__WEBPACK_IMPORTED_MODULE_12__.RDF_PROPERTY_DEPENDS_ON_VALUE);
    const newEditorType = isSelectField(newEntry) ? SELECT_EDITOR : LITERAL_EDITOR;

    // cleanup if there's a current value field group
    if (fieldGroup) {
      if (newEditorType === SELECT_EDITOR || editorType.current === SELECT_EDITOR) {
        fieldGroup.clear();
      }
      if (newEditorType !== editorType.current) {
        dispatch({
          type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD_GROUP,
          field: fieldGroup
        });
      }
    }
    editorType.current = newEditorType;
    setEntry(newEntry);
  }, [fieldSet, dispatch]);
  return [valueEditor, switchValueEditor];
};
const DepsEditor = props => {
  const {
    translate,
    nlsBundles
  } = props;
  const [valueEditor, switchValueEditor] = useValueEditor();
  const handleEntryChange = _ref3 => {
    let {
      type,
      value: entryURI
    } = _ref3;
    if (type !== commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.CHANGE) return;
    switchValueEditor(entryURI);
  };
  const entryEditor = _objectSpread(_objectSpread({}, FIELD_DEPENDS_ON), {}, {
    Editor: SelectDepsEntryEditor,
    onChange: handleEntryChange,
    nlsBundles
  });
  const editors = valueEditor ? [entryEditor, valueEditor] : [entryEditor];
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.GroupEditor, _extends({
    translate: translate,
    editors: editors
  }, props, {
    max: 1
  }));
};
DepsEditor.propTypes = {
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.nlsBundlesPropType
};

/***/ },

/***/ "./modules/models/editors/DepsEditor/index.js"
/*!****************************************************!*\
  !*** ./modules/models/editors/DepsEditor/index.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DepsEditor: () => (/* reexport safe */ _DepsEditor__WEBPACK_IMPORTED_MODULE_0__.DepsEditor),
/* harmony export */   isSelectField: () => (/* reexport safe */ _DepsEditor__WEBPACK_IMPORTED_MODULE_0__.isSelectField)
/* harmony export */ });
/* harmony import */ var _DepsEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DepsEditor */ "./modules/models/editors/DepsEditor/DepsEditor.js");


/***/ },

/***/ "./modules/models/editors/FieldEditor/FieldEditor.js"
/*!***********************************************************!*\
  !*** ./modules/models/editors/FieldEditor/FieldEditor.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldEditor: () => (/* binding */ FieldEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_icons_material_ArrowDropDown__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/icons-material/ArrowDropDown */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropDown.js");
/* harmony import */ var models_components_Extends__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/components/Extends */ "./modules/models/components/Extends/index.js");
/* harmony import */ var models_components_ExtendsButton__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! models/components/ExtendsButton */ "./modules/models/components/ExtendsButton/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _FieldEditor_scss__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./FieldEditor.scss */ "./modules/models/editors/FieldEditor/FieldEditor.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["property", "excludable", "addable", "Editor", "Presenter", "label"],
  _excluded2 = ["Editor", "isVisible", "isExtended"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



















const INHERIT = 'inherit';
const REPLACE = 'replace';
const ADD = 'add';
const HIDE = 'hide';
const ALL_EXTENDS_MODE_CHOICES = [{
  labelNlsKey: 'inheritLabel',
  value: INHERIT
}, {
  labelNlsKey: 'replaceLabel',
  value: REPLACE
}, {
  labelNlsKey: 'addToLabel',
  value: ADD
}, {
  labelNlsKey: 'hideLabel',
  value: HIDE
}];
const getModeChoices = _ref => {
  let {
    excludable,
    addable
  } = _ref;
  return ALL_EXTENDS_MODE_CHOICES.filter(choice => {
    if (choice.value === HIDE) return excludable;
    if (choice.value === ADD) return addable;
    return true;
  });
};

// Per-mode graph effect, independent of the previous mode:
//   marker:      which marker (if any) to set; the other is always cleared.
//   clearValues: whether to drop the local property values.
const MODE_EFFECTS = {
  [INHERIT]: {
    marker: null,
    clearValues: true
  },
  [REPLACE]: {
    marker: null,
    clearValues: false
  },
  [ADD]: {
    marker: models_utils_ns__WEBPACK_IMPORTED_MODULE_19__.RDF_PROPERTY_ADDITIVE,
    clearValues: false
  },
  [HIDE]: {
    marker: models_utils_ns__WEBPACK_IMPORTED_MODULE_19__.RDF_PROPERTY_EXCLUDED,
    clearValues: true
  }
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @param {{excludable: boolean, addable: boolean}} flags
 * @returns {string}
 */
const getInitialMode = (graph, resourceURI, property, flags) => {
  if (flags.excludable && (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.isExcluded)(graph, resourceURI, property)) return HIDE;
  if (flags.addable && (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.isAdditive)(graph, resourceURI, property)) return ADD;
  if ((0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.hasValue)(graph, resourceURI, property)) return REPLACE;
  return INHERIT;
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 */
const removePropertyValues = (graph, resourceURI, property) => {
  for (const predicate of (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.getPredicates)(property)) {
    for (const statement of graph.find(resourceURI, predicate)) {
      graph.remove(statement);
      if (statement.getType() === 'bnode') {
        _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.utils.remove(graph, statement.getValue());
      }
    }
  }
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @param {string} marker
 */
const setMarker = (graph, resourceURI, property, marker) => {
  for (const predicate of (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.getPredicates)(property)) {
    graph.add(resourceURI, marker, predicate);
  }
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @param {string} marker
 */
const unsetMarker = (graph, resourceURI, property, marker) => {
  for (const predicate of (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.getPredicates)(property)) {
    graph.findAndRemove(resourceURI, marker, predicate);
  }
};

/**
 *
 * @param {string} value
 * @param {object[]} choices
 * @param {function} onChange
 * @returns {JSX.Element}
 */
const SelectExtendsMode = _ref2 => {
  var _choices$find;
  let {
    value,
    choices,
    onChange
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)((models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_17___default()));
  const [anchorEl, setAnchorEl] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const currentChoice = (_choices$find = choices.find(choice => choice.value === value)) !== null && _choices$find !== void 0 ? _choices$find : choices[0];
  const handleOpen = event => setAnchorEl(event.currentTarget);
  const handleClose = () => setAnchorEl(null);
  const handleSelect = next => {
    handleClose();
    if (next !== value) onChange(next);
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "esmoExtendsModeChip",
    size: "small",
    variant: "outlined",
    clickable: true,
    label: /*#__PURE__*/React.createElement("span", {
      className: "esmoExtendsModeChip__label"
    }, translate(currentChoice.labelNlsKey), /*#__PURE__*/React.createElement(_mui_icons_material_ArrowDropDown__WEBPACK_IMPORTED_MODULE_10__["default"], {
      fontSize: "small"
    })),
    onClick: handleOpen
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    anchorEl: anchorEl,
    open: Boolean(anchorEl),
    onClose: handleClose
  }, choices.map(choice => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    key: choice.value,
    selected: choice.value === value,
    onClick: () => handleSelect(choice.value)
  }, translate(choice.labelNlsKey)))));
};
SelectExtendsMode.propTypes = {
  value: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string).isRequired,
  choices: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({
    labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string).isRequired,
    value: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string).isRequired
  })).isRequired,
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired
};
const ExtendsFieldEditor = _ref3 => {
  let {
      property,
      excludable = false,
      addable = false,
      Editor,
      Presenter,
      label
    } = _ref3,
    editorProps = _objectWithoutProperties(_ref3, _excluded);
  const {
    graph,
    resourceURI,
    dispatch
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_13__.useEditorContext)();
  const {
    translate
  } = editorProps;
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_16__["default"])();
  const extendedEntry = (0,models_components_Extends__WEBPACK_IMPORTED_MODULE_11__.useExtends)({
    graph,
    resourceURI,
    property
  });
  const [mode, setMode] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(() => getInitialMode(graph, resourceURI, property, {
    excludable,
    addable
  }));
  if (!graph) return null;
  const choices = getModeChoices({
    excludable,
    addable
  });
  const copyStatements = (sourceGraph, sourceURI, targetURI, predicates) => {
    for (const predicate of predicates) {
      const statements = sourceGraph.find(sourceURI, predicate);
      for (const statement of statements) {
        graph.add(targetURI, predicate, statement.getCleanObject());
      }
    }
  };

  /**
   * If property is found in extended entry, values are copied to graph.
   */
  const replaceFromExtended = () => {
    if (!extendedEntry) return;
    const {
      editors,
      nodetype
    } = editorProps;
    const sourceGraph = extendedEntry.getMetadata();
    if (editors !== null && editors !== void 0 && editors.length && nodetype === commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_13__.BLANK) {
      const predicates = editors.map(_ref4 => {
        let {
          property
        } = _ref4;
        return property;
      }).filter(Boolean);
      const sourceBlankNodeIds = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.getBlankNodeIds)(sourceGraph, extendedEntry.getResourceURI(), property);
      for (const sourceBlankNodeId of sourceBlankNodeIds) {
        const targetBlankNodeId = graph.add(resourceURI, property).getValue();
        copyStatements(sourceGraph, sourceBlankNodeId, targetBlankNodeId, predicates);
      }
    } else {
      copyStatements(sourceGraph, extendedEntry.getResourceURI(), resourceURI, (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.getPredicates)(property));
    }
  };
  const applyModeChange = nextMode => {
    const {
      marker,
      clearValues
    } = MODE_EFFECTS[nextMode];
    if (clearValues) removePropertyValues(graph, resourceURI, property);
    unsetMarker(graph, resourceURI, property, models_utils_ns__WEBPACK_IMPORTED_MODULE_19__.RDF_PROPERTY_EXCLUDED);
    unsetMarker(graph, resourceURI, property, models_utils_ns__WEBPACK_IMPORTED_MODULE_19__.RDF_PROPERTY_ADDITIVE);
    if (marker) setMarker(graph, resourceURI, property, marker);

    // ADD→REPLACE keeps existing locals as the verbatim replacement.
    if (nextMode === REPLACE && mode !== ADD) replaceFromExtended();
    setMode(nextMode);
  };
  const confirmDiscardThenApply = async nextMode => {
    const proceed = await getConfirmationDialog({
      content: translate('discardLocalValuesConfirmation')
    });
    if (proceed) applyModeChange(nextMode);
  };
  const handleModeChange = async nextMode => {
    if (nextMode === mode) return;
    // INHERIT and HIDE drop local values; warn before discarding them.
    if (MODE_EFFECTS[nextMode].clearValues && (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_18__.hasValue)(graph, resourceURI, property)) {
      await confirmDiscardThenApply(nextMode);
      return;
    }
    applyModeChange(nextMode);
  };
  const modeChip = /*#__PURE__*/React.createElement(SelectExtendsMode, {
    value: mode,
    choices: choices,
    onChange: handleModeChange
  });
  if (mode === HIDE) {
    return /*#__PURE__*/React.createElement("div", {
      className: "esmoExtendsFieldEditor"
    }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_14__.Fields, {
      label: label
    }, modeChip), extendedEntry ? /*#__PURE__*/React.createElement(models_components_ExtendsButton__WEBPACK_IMPORTED_MODULE_12__.ExtendsButton, _extends({
      graph: extendedEntry.getMetadata(),
      resourceURI: extendedEntry.getResourceURI(),
      property: property,
      Presenter: Presenter,
      label: label
    }, editorProps)) : null);
  }
  if (mode === REPLACE || mode === ADD) {
    return /*#__PURE__*/React.createElement("div", {
      className: "esmoExtendsFieldEditor esmoExtendsFieldEditor--replace"
    }, /*#__PURE__*/React.createElement(Editor, _extends({
      key: property,
      graph: graph,
      resourceURI: resourceURI,
      label: label,
      property: property,
      dispatch: dispatch
    }, editorProps), modeChip), extendedEntry ? /*#__PURE__*/React.createElement(models_components_ExtendsButton__WEBPACK_IMPORTED_MODULE_12__.ExtendsButton, _extends({
      graph: extendedEntry.getMetadata(),
      resourceURI: extendedEntry.getResourceURI(),
      property: property,
      Presenter: Presenter,
      label: label,
      initiallyExpanded: mode === ADD
    }, editorProps)) : null);
  }
  if (extendedEntry) {
    return /*#__PURE__*/React.createElement("div", {
      className: "esmoExtendsFieldEditor"
    }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_14__.Fields, {
      label: label
    }, modeChip), /*#__PURE__*/React.createElement(models_components_ExtendsButton__WEBPACK_IMPORTED_MODULE_12__.ExtendsButton, _extends({
      graph: extendedEntry.getMetadata(),
      resourceURI: extendedEntry.getResourceURI(),
      property: property,
      Presenter: Presenter,
      label: label,
      initiallyExpanded: true
    }, editorProps)));
  }
  return /*#__PURE__*/React.createElement("div", {
    className: "esmoExtendsFieldEditor"
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_14__.Fields, {
    label: label
  }, modeChip, /*#__PURE__*/React.createElement("div", {
    className: "esmoExtendsFieldEditor__placeholder"
  }, translate('noValuePlaceholder'))));
};
ExtendsFieldEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  Editor: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,
  Presenter: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  excludable: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  addable: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string)
};

// Wrapper to determine which kind of editor to use, the default editor or an
// editor adjusted for extensions.
const FieldEditor = _ref5 => {
  let {
      Editor,
      isVisible = () => true,
      isExtended = false
    } = _ref5,
    editorProps = _objectWithoutProperties(_ref5, _excluded2);
  const {
    graph,
    resourceURI,
    dispatch
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_13__.useEditorContext)();
  if (!graph) return null; // graph may be null if waiting for entry to refresh
  if (!isVisible(graph, resourceURI)) return null;
  return isExtended && editorProps.extendable ? /*#__PURE__*/React.createElement(ExtendsFieldEditor, _extends({
    key: editorProps.property,
    Editor: Editor
  }, editorProps)) : /*#__PURE__*/React.createElement(Editor, _extends({
    key: editorProps.property,
    graph: graph,
    resourceURI: resourceURI,
    dispatch: dispatch
  }, editorProps));
};
FieldEditor.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  Editor: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func).isRequired,
  isVisible: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  isExtended: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  excludable: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  addable: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool)
};

/***/ },

/***/ "./modules/models/editors/FieldEditor/index.js"
/*!*****************************************************!*\
  !*** ./modules/models/editors/FieldEditor/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldEditor: () => (/* reexport safe */ _FieldEditor__WEBPACK_IMPORTED_MODULE_0__.FieldEditor)
/* harmony export */ });
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldEditor */ "./modules/models/editors/FieldEditor/FieldEditor.js");


/***/ },

/***/ "./modules/models/editors/LanguageEditor/LanguageEditor.js"
/*!*****************************************************************!*\
  !*** ./modules/models/editors/LanguageEditor/LanguageEditor.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageEditor: () => (/* binding */ LanguageEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_forms_editors_Fields_Fields__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/forms/editors/Fields/Fields */ "./modules/commons/components/forms/editors/Fields/Fields.js");
/* harmony import */ var commons_components_forms_editors_Field_Field__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/forms/editors/Field/Field */ "./modules/commons/components/forms/editors/Field/Field.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_components_forms_editors_LanguageSelect_LanguageSelect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/forms/editors/LanguageSelect/LanguageSelect */ "./modules/commons/components/forms/editors/LanguageSelect/LanguageSelect.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["property", "size", "graph", "resourceURI", "dispatch"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const LanguageEditor = _ref => {
  let {
      property,
      size,
      graph,
      resourceURI,
      dispatch
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    fields,
    labelId,
    addField,
    removeField,
    updateValue
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_5__.useFieldsEdit)({
    name: fieldsProps.name,
    property,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_5__.LITERAL,
    graph,
    resourceURI,
    dispatch
  });
  return /*#__PURE__*/React.createElement(commons_components_forms_editors_Fields_Fields__WEBPACK_IMPORTED_MODULE_3__.Fields, _extends({
    max: 1,
    labelId: labelId,
    addField: addField
  }, fieldsProps), fields.map(field => {
    return /*#__PURE__*/React.createElement(commons_components_forms_editors_Field_Field__WEBPACK_IMPORTED_MODULE_4__.Field, {
      key: field.getId(),
      size: fields.length,
      onRemove: () => removeField(field),
      onClear: () => updateValue(field, '')
    }, /*#__PURE__*/React.createElement(commons_components_forms_editors_LanguageSelect_LanguageSelect__WEBPACK_IMPORTED_MODULE_6__.LanguageSelect, {
      labelId: labelId,
      language: field.getValue(),
      updateLanguage: _ref2 => {
        let {
          target
        } = _ref2;
        return updateValue(field, target.value);
      },
      size: size
    }));
  }));
};
LanguageEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  xs: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/models/editors/LanguageEditor/index.js"
/*!********************************************************!*\
  !*** ./modules/models/editors/LanguageEditor/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LanguageEditor: () => (/* reexport safe */ _LanguageEditor__WEBPACK_IMPORTED_MODULE_0__.LanguageEditor)
/* harmony export */ });
/* harmony import */ var _LanguageEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LanguageEditor */ "./modules/models/editors/LanguageEditor/LanguageEditor.js");


/***/ },

/***/ "./modules/models/editors/NamespaceEntryEditor/NamespaceEntryEditor.js"
/*!*****************************************************************************!*\
  !*** ./modules/models/editors/NamespaceEntryEditor/NamespaceEntryEditor.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NamespaceEditor: () => (/* binding */ NamespaceEditor),
/* harmony export */   NamespaceEntryEditor: () => (/* binding */ NamespaceEntryEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! models/components/SelectEditMode */ "./modules/models/components/SelectEditMode/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/namespaceChoices */ "./modules/models/utils/namespaceChoices.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/forms/editors/utils/editorContext */ "./modules/commons/components/forms/editors/utils/editorContext.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["property", "nodetype", "size", "graph", "resourceURI", "namespaceEntries", "renderInlineContent", "onChange", "fieldsCount", "onClear", "onRemove", "renderControls", "helperText", "error", "validate"],
  _excluded2 = ["graph", "resourceURI", "property", "editModeChoices", "onEditModeChange", "dispatch"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }












const NamespaceEditor = _ref => {
  let {
      property,
      nodetype,
      size,
      graph,
      resourceURI,
      namespaceEntries,
      renderInlineContent,
      onChange,
      fieldsCount,
      onClear,
      onRemove,
      renderControls,
      helperText,
      error,
      validate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_14__.useTranslation)([(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11___default())]);
  const {
    dispatch
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useEditorContext)();
  const {
    fields: [namespaceField],
    labelId,
    updateValue: updateNamespace,
    fieldGroup: namespaceFieldGroup,
    removeGroup: removeNamespace
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useFieldsEdit)({
    name: fieldsProps.name,
    property: models_utils_ns__WEBPACK_IMPORTED_MODULE_13__.RDF_PROPERTY_NAMESPACE_ENTRY,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.URI,
    graph,
    resourceURI,
    mandatory: fieldsProps.mandatory,
    dispatch,
    validate
  });
  const {
    fields: [localnameField],
    updateValue: updateLocalname,
    fieldGroup: localnameFieldGroup,
    removeGroup: removeLocalname
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useFieldsEdit)({
    name: 'localname',
    property: models_utils_ns__WEBPACK_IMPORTED_MODULE_13__.RDF_PROPERTY_NAMESPACE_LOCALNAME,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.LITERAL,
    graph,
    resourceURI,
    mandatory: fieldsProps.mandatory,
    dispatch
  });
  const [namespaceEntry, setNamespaceEntry] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)((0,models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_9__.getNamespaceEntry)(namespaceField, namespaceEntries) || '');
  const [localname, setLocalname] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(localnameField.getValue() || '');
  const updateValues = (namespaceValue, localnameValue) => {
    const hasValue = namespaceValue && localnameValue;
    updateNamespace(namespaceField, hasValue ? namespaceValue.getURI() : '');
    updateLocalname(localnameField, hasValue ? localnameValue : '');
    onChange({
      entry: namespaceValue,
      localname: localnameValue
    });
  };
  const handleNamespaceChange = newNamespaceEntry => {
    setNamespaceEntry(newNamespaceEntry);
    updateValues(newNamespaceEntry, localname);
  };
  const handleLocalnameChange = newLocalname => {
    setLocalname(newLocalname);
    updateValues(namespaceEntry, newLocalname);
  };
  const clear = () => {
    setNamespaceEntry('');
    setLocalname('');
    updateValues('', '');
    onChange({});
  };
  const handleRemove = () => {
    removeNamespace(namespaceField);
    removeLocalname(localnameField);
    onRemove();
  };
  const emptyHelperText = localnameField.getError() || namespaceField.getError() ? ' ' : '';
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.Fields, _extends({
    labelId: labelId
  }, fieldsProps), renderInlineContent ? renderInlineContent(namespaceFieldGroup, localnameFieldGroup) : null, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.Field, {
    size: fieldsCount,
    onClear: clear,
    onRemove: handleRemove,
    spacing: 2
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.Select, {
    xs: 3,
    labelId: `namespace-edit-${labelId}`,
    value: namespaceEntry,
    choices: (0,models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_9__.getNamespaceEntryChoices)(namespaceEntries),
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return handleNamespaceChange(target.value);
    },
    size: size,
    label: translate('namespaceLabel'),
    error: error || Boolean(namespaceField.getError()),
    helperText: helperText || (namespaceField.getError() ? translate(namespaceField.getError()) : emptyHelperText)
  }), /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.TextField, {
    xs: 5,
    size: size,
    onChange: _ref3 => {
      let {
        target
      } = _ref3;
      return handleLocalnameChange(target.value.trim());
    },
    value: localname,
    error: error || Boolean(localnameField.getError()),
    helperText: helperText || (localnameField.getError() ? translate(localnameField.getError()) : emptyHelperText),
    label: translate('localNameLabel')
  }), renderControls ? renderControls() : null));
};
NamespaceEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  nodetype: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.entryPropType),
  renderInlineContent: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  fieldsCount: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().number),
  onRemove: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  onClear: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  renderControls: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  helperText: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().bool),
  validate: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};
const NamespaceEntryEditor = _ref4 => {
  let {
      graph,
      resourceURI,
      property,
      editModeChoices,
      onEditModeChange,
      dispatch
    } = _ref4,
    props = _objectWithoutProperties(_ref4, _excluded2);
  const {
    blanks: [blank],
    fieldGroup,
    removeGroup
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useBlankEdit)({
    name: props.name,
    graph,
    resourceURI,
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_13__.RDF_TYPE_QUALIFIED_RESOURCE,
    property,
    dispatch
  });
  const {
    fieldSet
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useEditorContext)();
  const handleSelectEditMode = value => {
    const groups = (0,commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_15__.findGroupsByResourceURI)(fieldSet, blank.getBlankNodeId());
    dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD_GROUPS,
      fieldGroups: [fieldGroup, ...groups]
    });
    onEditModeChange(value);
  };
  const handleChange = _ref5 => {
    let {
      entry,
      localname
    } = _ref5;
    const hasValue = Boolean(entry && localname);
    blank.setAsserted(hasValue);
    if (dispatch) dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.CHANGE,
      value: {
        entry,
        localname
      }
    });
  };
  const handleRemove = () => {
    removeGroup();
    if (dispatch) {
      dispatch({
        type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD
      });
    }
  };
  return /*#__PURE__*/React.createElement(NamespaceEditor, _extends({
    graph: graph,
    resourceURI: blank.getBlankNodeId(),
    renderInlineContent: () => /*#__PURE__*/React.createElement(models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_7__["default"], {
      value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_12__.NAMESPACE_ENTRY,
      choices: editModeChoices,
      nlsBundles: (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default()),
      onChange: value => handleSelectEditMode(value)
    }),
    onChange: handleChange,
    onRemove: handleRemove
  }, props));
};
NamespaceEntryEditor.propTypes = {
  name: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().string),
  editModeChoices: prop_types__WEBPACK_IMPORTED_MODULE_5___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_5___default().shape({})),
  onEditModeChange: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_5___default().func)
};

/***/ },

/***/ "./modules/models/editors/NamespaceEntryEditor/index.js"
/*!**************************************************************!*\
  !*** ./modules/models/editors/NamespaceEntryEditor/index.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NamespaceEditor: () => (/* reexport safe */ _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_0__.NamespaceEditor),
/* harmony export */   NamespaceEntryEditor: () => (/* reexport safe */ _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_0__.NamespaceEntryEditor)
/* harmony export */ });
/* harmony import */ var _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NamespaceEntryEditor */ "./modules/models/editors/NamespaceEntryEditor/NamespaceEntryEditor.js");


/***/ },

/***/ "./modules/models/editors/NamespaceLinkField/NamespaceLinkField.js"
/*!*************************************************************************!*\
  !*** ./modules/models/editors/NamespaceLinkField/NamespaceLinkField.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CreateNamespaceLinkField: () => (/* binding */ CreateNamespaceLinkField),
/* harmony export */   NamespaceLinkField: () => (/* binding */ NamespaceLinkFieldWithNamespaceEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoEntryType.nls */ "./modules/commons/nls/escoEntryType.nls");
/* harmony import */ var commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! models/namespaces/hooks/useGetNamespaceEntries */ "./modules/models/namespaces/hooks/useGetNamespaceEntries.js");
/* harmony import */ var models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! models/utils/namespaceChoices */ "./modules/models/utils/namespaceChoices.js");
/* harmony import */ var models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! models/components/SelectEditMode */ "./modules/models/components/SelectEditMode/index.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useUniqueId */ "./modules/commons/hooks/useUniqueId.js");
/* harmony import */ var models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! models/namespaces/utils/namespaceMetadata */ "./modules/models/namespaces/utils/namespaceMetadata.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["labelId"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }






















const NAMESPACE_MODE = 'namespace';
const MANUAL_MODE = 'manual';
const EDIT_MODE_CHOICES = [{
  labelNlsKey: 'namespacePropertyLabel',
  value: NAMESPACE_MODE
}, {
  labelNlsKey: 'manualPropertyLabel',
  value: MANUAL_MODE
}];
const NLS_BUNDLES = [(commons_nls_escoEntryType_nls__WEBPACK_IMPORTED_MODULE_9___default()), (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default()), (commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_11___default())];
const NamespaceField = _ref => {
  let {
    onChange,
    error,
    helperText,
    labelId,
    initialNamespace = '',
    initialLocalname = '',
    namespaceEntries
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)(NLS_BUNDLES);
  const [namespace, setNamespace] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(initialNamespace);
  const [localname, setLocalname] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(initialLocalname);
  const isFullUri = Boolean(namespace && localname);
  const hasLinkError = Boolean(error && helperText && isFullUri);
  const handleNamespaceChange = newValue => {
    const uri = newValue && localname ? `${newValue}${localname}` : '';
    setNamespace(newValue);
    onChange({
      target: {
        value: uri
      }
    });
  };
  const handleLocalnameChange = newValue => {
    const uri = namespace && newValue ? `${namespace}${newValue}` : '';
    setLocalname(newValue);
    onChange({
      target: {
        value: uri
      }
    });
  };
  const getMissingValueError = value => {
    if (!error || isFullUri) return {};
    if (value) return {
      helperText: ' '
    }; // workaround to avoid alignment problem
    return {
      error,
      helperText: translate('missingValueError')
    };
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_18__.Field, {
    size: 0,
    spacing: 2
  }, namespaceEntries.length ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_18__.Select, _extends({
    xs: 4,
    labelId: labelId,
    value: namespace,
    choices: (0,models_utils_namespaceChoices__WEBPACK_IMPORTED_MODULE_16__.getNamespaceEntryChoices)(namespaceEntries, false),
    onChange: _ref2 => {
      let {
        target
      } = _ref2;
      return handleNamespaceChange(target.value);
    },
    label: translate('namespaceLabel'),
    error: hasLinkError
  }, getMissingValueError(namespace))), /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_18__.TextField, _extends({
    xs: 8,
    onChange: _ref3 => {
      let {
        target
      } = _ref3;
      return handleLocalnameChange(target.value);
    },
    value: localname,
    label: translate('localNameLabel'),
    inputProps: {
      'aria-labelledby': labelId
    },
    error: hasLinkError
  }, getMissingValueError(localname)))) : /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_21__["default"], {
    variant: "compact",
    label: translate('noNamespaces')
  })), hasLinkError ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    error: true
  }, helperText) : null);
};
NamespaceField.propTypes = {
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  helperText: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)]),
  labelId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  initialNamespace: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  initialLocalname: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_14__.entryPropType)
};
const ManualField = _ref4 => {
  let {
      labelId
    } = _ref4,
    props = _objectWithoutProperties(_ref4, _excluded);
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_18__.Field, {
    size: 0
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_18__.TextField, _extends({
    xs: 12,
    inputProps: {
      'aria-labelledby': labelId
    }
  }, props)));
};
ManualField.propTypes = {
  labelId: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
};
const NamespaceLinkField = _ref5 => {
  let {
    label,
    value,
    namespaceEntries,
    onChange,
    onEditModeChange = () => {},
    error,
    helperText,
    mandatory = true,
    sx = {
      marginTop: '16px'
    }
  } = _ref5;
  const [{
    namespace,
    localname,
    uri
  }] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_20__.extractNamespaceParts)(value, namespaceEntries));
  const [editMode, setEditMode] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(namespace || !value && namespaceEntries.length > 0 ? NAMESPACE_MODE : MANUAL_MODE);
  const labelId = (0,commons_hooks_useUniqueId__WEBPACK_IMPORTED_MODULE_19__.useUniqueId)('namespace-edit-');
  const LinkField = editMode === NAMESPACE_MODE ? NamespaceField : ManualField;
  const handleEditModeChange = editModeValue => {
    setEditMode(editModeValue);
    onEditModeChange(editModeValue);
    onChange({
      target: {
        value: uri
      }
    }, true); // use old value on edit mode change
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    sx: sx
  }, /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_18__.Fields, {
    labelId: labelId,
    label: label,
    mandatory: mandatory,
    max: 1
  }, /*#__PURE__*/React.createElement(models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_17__["default"], {
    value: editMode,
    choices: EDIT_MODE_CHOICES,
    nlsBundles: (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_10___default()),
    onChange: handleEditModeChange
  }), /*#__PURE__*/React.createElement(LinkField, _extends({}, editMode === NAMESPACE_MODE ? {
    initialNamespace: namespace,
    initialLocalname: localname,
    namespaceEntries
  } : {}, {
    value: value,
    onChange: onChange,
    error: error,
    helperText: helperText,
    labelId: labelId
  }))));
};
NamespaceLinkField.propTypes = {
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onEditModeChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  error: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  helperText: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool)]),
  value: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  sx: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_14__.entryPropType)
};
const NamespaceLinkFieldWithNamespaceEntries = props => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_12__.useESContext)();
  const {
    namespaceEntries,
    isLoading
  } = (0,models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_15__["default"])(context);
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_22__["default"], {
    height: "18vh"
  });
  return /*#__PURE__*/React.createElement(NamespaceLinkField, _extends({}, props, {
    namespaceEntries: namespaceEntries
  }));
};

const CreateNamespaceLinkField = _ref6 => {
  let {
    setCreateEntryParams,
    setExtraFieldIsValid
  } = _ref6;
  const {
    link,
    setLink
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_13__.useTranslation)(NLS_BUNDLES);
  const linkIsValid = link && (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__.isUri)(link);
  const handleLinkChange = function handleLinkChange(_ref7) {
    let {
      target
    } = _ref7;
    let ignoreChange = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    if (!ignoreChange) setPristine(false);
    const {
      value: newLink
    } = target;
    setLink(newLink);
    setCreateEntryParams({
      link: newLink
    });
    setExtraFieldIsValid(newLink && (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__.isUri)(newLink));
  };
  const getHelperText = () => {
    if (pristine) return '';
    if (!link) {
      return translate('linkRequired');
    }
    if (!(0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__.isUri)(link)) {
      return translate('linkNotValid');
    }
    return '';
  };
  const handleEditModeChange = () => {
    setPristine(true);
  };
  return /*#__PURE__*/React.createElement(NamespaceLinkFieldWithNamespaceEntries, {
    label: translate('webAddressLabel'),
    value: link,
    onChange: handleLinkChange,
    onEditModeChange: handleEditModeChange,
    error: !pristine && !linkIsValid,
    helperText: getHelperText(),
    sx: {
      paddingRight: '55px'
    }
  });
};
CreateNamespaceLinkField.propTypes = {
  setCreateEntryParams: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  setExtraFieldIsValid: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};

/***/ },

/***/ "./modules/models/editors/NamespaceLinkField/index.js"
/*!************************************************************!*\
  !*** ./modules/models/editors/NamespaceLinkField/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CreateNamespaceLinkField: () => (/* reexport safe */ _NamespaceLinkField__WEBPACK_IMPORTED_MODULE_0__.CreateNamespaceLinkField),
/* harmony export */   NamespaceLinkField: () => (/* reexport safe */ _NamespaceLinkField__WEBPACK_IMPORTED_MODULE_0__.NamespaceLinkField)
/* harmony export */ });
/* harmony import */ var _NamespaceLinkField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NamespaceLinkField */ "./modules/models/editors/NamespaceLinkField/NamespaceLinkField.js");


/***/ },

/***/ "./modules/models/editors/NodetypeEditor/NodetypeEditor.js"
/*!*****************************************************************!*\
  !*** ./modules/models/editors/NodetypeEditor/NodetypeEditor.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NodetypeEditor: () => (/* binding */ NodetypeEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useGetMainDialog */ "./modules/commons/hooks/useGetMainDialog.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");








/**
 * Get available nodetypes
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {object[]} choices
 * @returns {object[]}
 */
const getAvailableChoices = (graph, resourceURI, choices) => {
  return choices.filter(_ref => {
    let {
      constrainedTo
    } = _ref;
    if (!constrainedTo) return true;
    return constrainedTo.find(property => {
      return graph.find(resourceURI, 'rdf:type', property).length;
    });
  });
};
const NodetypeEditor = _ref2 => {
  let {
    name,
    label,
    size,
    choices,
    graph,
    resourceURI,
    mandatory,
    resetOnFormType,
    dispatch,
    translate,
    confirmChange
  } = _ref2;
  const nodetypeChoices = getAvailableChoices(graph, resourceURI, choices);
  const {
    getConfirmationDialog
  } = (0,commons_hooks_useGetMainDialog__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const handleConfirmChange = async (field, value) => {
    if (!confirmChange) return true;
    const conversion = await confirmChange(field, value);
    if (!conversion) return true;
    const {
      messageNls,
      converter
    } = conversion;
    const proceed = await getConfirmationDialog({
      rejectLabel: translate('reject'),
      affirmLabel: translate('proceed'),
      content: translate(messageNls)
    });
    if (!proceed) return false;
    if (converter) {
      await converter();
    }
    return true;
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_5__.SelectEditor, {
    name: name,
    label: label,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_5__.URI,
    choices: nodetypeChoices,
    property: models_utils_ns__WEBPACK_IMPORTED_MODULE_4__.RDF_PROPERTY_NODETYPE,
    max: 1,
    size: size,
    graph: graph,
    resourceURI: resourceURI,
    mandatory: mandatory,
    resetOnFormType: resetOnFormType,
    dispatch: dispatch,
    confirmChange: handleConfirmChange
  });
};
NodetypeEditor.propTypes = {
  name: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  size: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  choices: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_2__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  mandatory: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  resetOnFormType: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  confirmChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/models/editors/NodetypeEditor/index.js"
/*!********************************************************!*\
  !*** ./modules/models/editors/NodetypeEditor/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NodetypeEditor: () => (/* reexport safe */ _NodetypeEditor__WEBPACK_IMPORTED_MODULE_0__.NodetypeEditor)
/* harmony export */ });
/* harmony import */ var _NodetypeEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NodetypeEditor */ "./modules/models/editors/NodetypeEditor/NodetypeEditor.js");


/***/ },

/***/ "./modules/models/editors/PropertyEditor/PropertyEditor.js"
/*!*****************************************************************!*\
  !*** ./modules/models/editors/PropertyEditor/PropertyEditor.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PropertyEditor: () => (/* binding */ PropertyEditorWithGetNamespaceEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! models/namespaces/hooks/useGetNamespaceEntries */ "./modules/models/namespaces/hooks/useGetNamespaceEntries.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! models/nls/esmoProperties.nls */ "./modules/models/nls/esmoProperties.nls");
/* harmony import */ var models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/nls/escoDialogs.nls */ "./modules/commons/nls/escoDialogs.nls");
/* harmony import */ var commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var models_dialogs_CreateEntryDialog__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! models/dialogs/CreateEntryDialog */ "./modules/models/dialogs/CreateEntryDialog/index.js");
/* harmony import */ var _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../NamespaceEntryEditor */ "./modules/models/editors/NamespaceEntryEditor/index.js");
/* harmony import */ var _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../ResourceEntryEditor */ "./modules/models/editors/ResourceEntryEditor/index.js");
/* harmony import */ var _ResourceEditor__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../ResourceEditor */ "./modules/models/editors/ResourceEditor/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "namespaceEntries", "property", "editChoices"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

















const PROPERTY_NLS_BUNDLES = [(models_nls_esmoProperties_nls__WEBPACK_IMPORTED_MODULE_12___default()), (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoDialogs_nls__WEBPACK_IMPORTED_MODULE_14___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_15___default())];
const PropertyEditor = _ref => {
  let {
      graph,
      resourceURI,
      namespaceEntries,
      property,
      editChoices
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)([...PROPERTY_NLS_BUNDLES, ...props.nlsBundles]);
  const [editMode, setEditMode] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.getURIEditorType)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_PROPERTY_PROPERTY, models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY));
  const getEditorComponent = () => {
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY) return _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_18__.ResourceEntryEditor;
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.NAMESPACE_ENTRY) return _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_17__.NamespaceEntryEditor;
    return _ResourceEditor__WEBPACK_IMPORTED_MODULE_19__.ResourceEditor;
  };
  const EditorComponent = getEditorComponent();
  const editModeChoices = editChoices.map(_ref2 => {
    let {
      value,
      labelNlsKey
    } = _ref2;
    return {
      label: translate(labelNlsKey),
      value
    };
  });
  return /*#__PURE__*/React.createElement(EditorComponent, _extends({
    graph: graph,
    resourceURI: resourceURI,
    onEditModeChange: setEditMode,
    editModeChoices: editModeChoices,
    property: property,
    namespaceEntries: editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.NAMESPACE_ENTRY ? namespaceEntries : null,
    fieldsCount: 1
  }, editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY ? {
    editModeValue: models_utils_metadata__WEBPACK_IMPORTED_MODULE_8__.RESOURCE_ENTRY,
    resourceRdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_PROPERTY,
    selectTooltipNlsKey: 'selectPropertyLabel',
    placeholderProps: {
      label: translate('noPropertiesWarning')
    },
    getTitleProps: _ref3 => {
      let {
        entry,
        translate
      } = _ref3;
      return {
        translate,
        entry,
        primary: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_11__.getLabel)(entry),
        secondary: entry.getResourceURI()
      };
    },
    createActionProps: {
      Dialog: models_dialogs_CreateEntryDialog__WEBPACK_IMPORTED_MODULE_16__["default"],
      rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_9__.RDF_TYPE_PROPERTY,
      nlsBundles: PROPERTY_NLS_BUNDLES,
      tooltip: translate('createPropertyTitle')
    }
  } : {}, props));
};
PropertyEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.nlsBundlesPropType,
  editChoices: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}))
};
const PropertyEditorWithGetNamespaceEntries = props => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    namespaceEntries,
    status
  } = (0,models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_7__["default"])(context);
  return status === 'resolved' ? /*#__PURE__*/React.createElement(PropertyEditor, _extends({
    namespaceEntries: namespaceEntries
  }, props)) : null;
};


/***/ },

/***/ "./modules/models/editors/PropertyEditor/index.js"
/*!********************************************************!*\
  !*** ./modules/models/editors/PropertyEditor/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PropertyEditor: () => (/* reexport safe */ _PropertyEditor__WEBPACK_IMPORTED_MODULE_0__.PropertyEditor)
/* harmony export */ });
/* harmony import */ var _PropertyEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PropertyEditor */ "./modules/models/editors/PropertyEditor/PropertyEditor.js");


/***/ },

/***/ "./modules/models/editors/ResourceEditor/ResourceEditor.js"
/*!*****************************************************************!*\
  !*** ./modules/models/editors/ResourceEditor/ResourceEditor.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ResourceEditor: () => (/* binding */ ResourceEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! models/components/SelectEditMode */ "./modules/models/components/SelectEditMode/index.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["editModeChoices", "onEditModeChange", "dispatch"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }





const ResourceEditor = _ref => {
  let {
      editModeChoices,
      onEditModeChange,
      dispatch
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const handleSelectEditMode = (value, fieldGroup) => {
    dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.REMOVE_FIELD_GROUPS,
      fieldGroups: [fieldGroup]
    });
    onEditModeChange(value);
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_2__.LiteralEditor, _extends({
    renderInlineContent: groupField => /*#__PURE__*/React.createElement(models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_3__["default"], {
      value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_5__.RESOURCE,
      choices: editModeChoices,
      nlsBundles: (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_4___default()),
      onChange: value => handleSelectEditMode(value, groupField)
    }),
    dispatch: dispatch
  }, props));
};
ResourceEditor.propTypes = {
  editModeChoices: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({})),
  onEditModeChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)
};

/***/ },

/***/ "./modules/models/editors/ResourceEditor/index.js"
/*!********************************************************!*\
  !*** ./modules/models/editors/ResourceEditor/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ResourceEditor: () => (/* reexport safe */ _ResourceEditor__WEBPACK_IMPORTED_MODULE_0__.ResourceEditor)
/* harmony export */ });
/* harmony import */ var _ResourceEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResourceEditor */ "./modules/models/editors/ResourceEditor/ResourceEditor.js");


/***/ },

/***/ "./modules/models/editors/ResourceEntryEditor/ResourceEntryEditor.js"
/*!***************************************************************************!*\
  !*** ./modules/models/editors/ResourceEntryEditor/ResourceEntryEditor.js ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ResourceEntryEditor: () => (/* binding */ ResourceEntryEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/forms/editors/utils/editorContext */ "./modules/commons/components/forms/editors/utils/editorContext.js");
/* harmony import */ var models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/components/SelectEditMode */ "./modules/models/components/SelectEditMode/index.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var models_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/utils/filterDefinitions */ "./modules/models/utils/filterDefinitions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "property", "editModeChoices", "onEditModeChange", "editModeValue", "resourceRdfType", "selectTooltipNlsKey", "placeholderProps", "getTitleProps", "resourceProperty", "dialogProps", "createActionProps", "isResourceURI", "dispatch", "validate"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const ResourceEntryEditor = _ref => {
  let {
      graph,
      resourceURI,
      property,
      editModeChoices,
      onEditModeChange,
      editModeValue,
      resourceRdfType,
      selectTooltipNlsKey,
      placeholderProps,
      getTitleProps,
      resourceProperty = models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_PROPERTY_RESOURCE_ENTRY,
      dialogProps = {},
      createActionProps,
      isResourceURI = false,
      dispatch,
      validate
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const {
    blanks: [blank],
    fieldGroup,
    removeGroup
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useBlankEdit)({
    name: fieldsProps.name,
    graph,
    resourceURI,
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_10__.RDF_TYPE_QUALIFIED_RESOURCE,
    property,
    validate,
    dispatch,
    mandatory: fieldsProps.mandatory
  });
  const {
    dispatch: editorContextDispatch,
    fieldSet
  } = (0,commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.useEditorContext)();
  const handleSelectEditMode = value => {
    const groups = (0,commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_7__.findGroupsByResourceURI)(fieldSet, blank.getBlankNodeId());
    dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD_GROUPS,
      fieldGroups: [fieldGroup, ...groups]
    });
    onEditModeChange(value);
  };
  const handleChange = (entry, groupField) => {
    const hasValue = groupField.hasValue();
    blank.setAsserted(hasValue);
    if (dispatch) dispatch({
      type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.CHANGE,
      value: {
        entry
      }
    });
  };
  const handleRemove = () => {
    removeGroup();
    if (dispatch) {
      dispatch({
        type: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.REMOVE_FIELD
      });
    }
  };
  if (!blank) return null;
  return /*#__PURE__*/React.createElement(commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.SelectEntryEditor, _extends({
    graph: graph,
    resourceURI: blank.getBlankNodeId(),
    renderInlineContent: () => /*#__PURE__*/React.createElement(models_components_SelectEditMode__WEBPACK_IMPORTED_MODULE_8__["default"], {
      value: editModeValue,
      choices: editModeChoices,
      nlsBundles: (models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_9___default()),
      onChange: value => handleSelectEditMode(value)
    }),
    selectEntryTooltipNlsKey: selectTooltipNlsKey,
    dialogProps: _objectSpread({
      rdfType: resourceRdfType,
      filters: [models_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_11__.STATUS_FILTER],
      placeholderProps,
      getTitleProps
    }, dialogProps),
    createActionProps: createActionProps,
    property: resourceProperty,
    isResourceURI: isResourceURI,
    onChange: handleChange,
    onRemove: handleRemove,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_6__.URI,
    dispatch: editorContextDispatch
  }, fieldsProps));
};
ResourceEntryEditor.propTypes = {
  name: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  editModeChoices: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({})),
  onEditModeChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  editModeValue: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  resourceRdfType: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  selectTooltipNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  placeholderProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  getTitleProps: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
  resourceProperty: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  dialogProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}),
  createActionProps: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
    Dialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().elementType),
    tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string)
  }),
  isResourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),
  validate: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};

/***/ },

/***/ "./modules/models/editors/ResourceEntryEditor/index.js"
/*!*************************************************************!*\
  !*** ./modules/models/editors/ResourceEntryEditor/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ResourceEntryEditor: () => (/* reexport safe */ _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_0__.ResourceEntryEditor)
/* harmony export */ });
/* harmony import */ var _ResourceEntryEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResourceEntryEditor */ "./modules/models/editors/ResourceEntryEditor/ResourceEntryEditor.js");


/***/ },

/***/ "./modules/models/editors/URIValueEditor/URIValueEditor.js"
/*!*****************************************************************!*\
  !*** ./modules/models/editors/URIValueEditor/URIValueEditor.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   URIValueEditor: () => (/* binding */ URIValueEditorWithGetNamespaceEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/namespaces/hooks/useGetNamespaceEntries */ "./modules/models/namespaces/hooks/useGetNamespaceEntries.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../NamespaceEntryEditor */ "./modules/models/editors/NamespaceEntryEditor/index.js");
/* harmony import */ var _ResourceEditor__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ResourceEditor */ "./modules/models/editors/ResourceEditor/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "namespaceEntries", "property", "editChoices"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }










const URIValueEditor = _ref => {
  let {
      graph,
      resourceURI,
      namespaceEntries,
      property,
      editChoices
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(props.nlsBundles);
  const [editMode, setEditMode] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_9__.getURIEditorType)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_7__.RDF_PROPERTY_VALUE, models_utils_metadata__WEBPACK_IMPORTED_MODULE_9__.NAMESPACE_ENTRY));
  const getEditorComponent = () => {
    if (editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_9__.NAMESPACE_ENTRY) return _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_11__.NamespaceEntryEditor;
    return _ResourceEditor__WEBPACK_IMPORTED_MODULE_12__.ResourceEditor;
  };
  const EditorComponent = getEditorComponent();
  const editModeChoices = editChoices.map(_ref2 => {
    let {
      value,
      labelNlsKey
    } = _ref2;
    return {
      label: translate(labelNlsKey),
      value
    };
  });
  return /*#__PURE__*/React.createElement(EditorComponent, _extends({
    graph: graph,
    resourceURI: resourceURI,
    onEditModeChange: setEditMode,
    editModeChoices: editModeChoices,
    property: property,
    namespaceEntries: editMode === models_utils_metadata__WEBPACK_IMPORTED_MODULE_9__.NAMESPACE_ENTRY ? namespaceEntries : null
  }, props));
};
URIValueEditor.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),
  namespaceEntries: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.entryPropType),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.nlsBundlesPropType,
  editChoices: prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({}))
};
const URIValueEditorWithGetNamespaceEntries = props => {
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    namespaceEntries,
    status
  } = (0,models_namespaces_hooks_useGetNamespaceEntries__WEBPACK_IMPORTED_MODULE_8__["default"])(context);
  return status === 'resolved' ? /*#__PURE__*/React.createElement(URIValueEditor, _extends({
    namespaceEntries: namespaceEntries
  }, props)) : null;
};


/***/ },

/***/ "./modules/models/editors/URIValueEditor/index.js"
/*!********************************************************!*\
  !*** ./modules/models/editors/URIValueEditor/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   URIValueEditor: () => (/* reexport safe */ _URIValueEditor__WEBPACK_IMPORTED_MODULE_0__.URIValueEditor)
/* harmony export */ });
/* harmony import */ var _URIValueEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./URIValueEditor */ "./modules/models/editors/URIValueEditor/URIValueEditor.js");


/***/ },

/***/ "./modules/models/editors/index.js"
/*!*****************************************!*\
  !*** ./modules/models/editors/index.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AttributesEditor: () => (/* reexport safe */ _AttributesEditor__WEBPACK_IMPORTED_MODULE_0__.AttributesEditor),
/* harmony export */   CardinalityEditor: () => (/* reexport safe */ _CardinalityEditor__WEBPACK_IMPORTED_MODULE_2__.CardinalityEditor),
/* harmony export */   ConstraintEditor: () => (/* reexport safe */ _ConstraintEditor__WEBPACK_IMPORTED_MODULE_1__.ConstraintEditor),
/* harmony export */   DepsEditor: () => (/* reexport safe */ _DepsEditor__WEBPACK_IMPORTED_MODULE_3__.DepsEditor),
/* harmony export */   FieldEditor: () => (/* reexport safe */ _FieldEditor__WEBPACK_IMPORTED_MODULE_4__.FieldEditor),
/* harmony export */   LanguageEditor: () => (/* reexport safe */ _LanguageEditor__WEBPACK_IMPORTED_MODULE_5__.LanguageEditor),
/* harmony export */   NamespaceEditor: () => (/* reexport safe */ _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_9__.NamespaceEditor),
/* harmony export */   NamespaceEntryEditor: () => (/* reexport safe */ _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_9__.NamespaceEntryEditor),
/* harmony export */   NodetypeEditor: () => (/* reexport safe */ _NodetypeEditor__WEBPACK_IMPORTED_MODULE_6__.NodetypeEditor),
/* harmony export */   PropertyEditor: () => (/* reexport safe */ _PropertyEditor__WEBPACK_IMPORTED_MODULE_7__.PropertyEditor),
/* harmony export */   URIValueEditor: () => (/* reexport safe */ _URIValueEditor__WEBPACK_IMPORTED_MODULE_8__.URIValueEditor),
/* harmony export */   isSelectField: () => (/* reexport safe */ _DepsEditor__WEBPACK_IMPORTED_MODULE_3__.isSelectField)
/* harmony export */ });
/* harmony import */ var _AttributesEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AttributesEditor */ "./modules/models/editors/AttributesEditor/index.js");
/* harmony import */ var _ConstraintEditor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ConstraintEditor */ "./modules/models/editors/ConstraintEditor/index.js");
/* harmony import */ var _CardinalityEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CardinalityEditor */ "./modules/models/editors/CardinalityEditor/index.js");
/* harmony import */ var _DepsEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./DepsEditor */ "./modules/models/editors/DepsEditor/index.js");
/* harmony import */ var _FieldEditor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FieldEditor */ "./modules/models/editors/FieldEditor/index.js");
/* harmony import */ var _LanguageEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./LanguageEditor */ "./modules/models/editors/LanguageEditor/index.js");
/* harmony import */ var _NodetypeEditor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./NodetypeEditor */ "./modules/models/editors/NodetypeEditor/index.js");
/* harmony import */ var _PropertyEditor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PropertyEditor */ "./modules/models/editors/PropertyEditor/index.js");
/* harmony import */ var _URIValueEditor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./URIValueEditor */ "./modules/models/editors/URIValueEditor/index.js");
/* harmony import */ var _NamespaceEntryEditor__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./NamespaceEntryEditor */ "./modules/models/editors/NamespaceEntryEditor/index.js");











/***/ },

/***/ "./modules/models/fields/utils/options.js"
/*!************************************************!*\
  !*** ./modules/models/fields/utils/options.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   findRfsChoices: () => (/* binding */ findRfsChoices),
/* harmony export */   findSelectFieldChoices: () => (/* binding */ findSelectFieldChoices),
/* harmony export */   getCollectionURI: () => (/* binding */ getCollectionURI),
/* harmony export */   getConceptEntries: () => (/* binding */ getConceptEntries),
/* harmony export */   getConceptEntriesFromCollection: () => (/* binding */ getConceptEntriesFromCollection),
/* harmony export */   getDefaultOptionId: () => (/* binding */ getDefaultOptionId),
/* harmony export */   getOptionIdsInOrder: () => (/* binding */ getOptionIdsInOrder),
/* harmony export */   getOptionLabel: () => (/* binding */ getOptionLabel),
/* harmony export */   getTerminologyURI: () => (/* binding */ getTerminologyURI),
/* harmony export */   hasDefaultValue: () => (/* binding */ hasDefaultValue),
/* harmony export */   hasManagedOptions: () => (/* binding */ hasManagedOptions),
/* harmony export */   importConcepts: () => (/* binding */ importConcepts),
/* harmony export */   removeOption: () => (/* binding */ removeOption),
/* harmony export */   removeOptions: () => (/* binding */ removeOptions),
/* harmony export */   reorderOptions: () => (/* binding */ reorderOptions)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var models_utils_options__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/options */ "./modules/models/utils/options.js");
/* harmony import */ var models_utils_resource__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/resource */ "./modules/models/utils/resource.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_tree_skos_sortOrder__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/tree/skos/sortOrder */ "./modules/commons/tree/skos/sortOrder.js");















const OPTION_LANGUAGE_PROPERTIES = [models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_LABEL, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_EDIT_LABEL, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_DESCRIPTION, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_EDIT_DESCRIPTION];
const SKOS_PREF_LABEL = 'skos:prefLabel';
const SKOS_DEFINITION = 'skos:definition';
const CONCEPT_LANGUAGE_PROPERTIES = [SKOS_DEFINITION, SKOS_PREF_LABEL];
const CONCEPT_PROPERTY_MAP = {
  [SKOS_PREF_LABEL]: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_LABEL,
  [SKOS_DEFINITION]: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_DESCRIPTION
};

/**
 * Determines whether or not the option has a default value
 *
 * @param {Graph} graph
 * @param {string} optionId
 * @returns {boolean}
 */
const hasDefaultValue = (graph, optionId) => Boolean(graph === null || graph === void 0 ? void 0 : graph.findFirstValue(optionId, 'esterms:default'));

/**
 * Finds the option which has a default value from an array of options
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {string|null}
 */
const getDefaultOptionId = (graph, resourceURI) => {
  const options = graph.find(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_OPTION).map(statement => statement.getValue());
  return (options === null || options === void 0 ? void 0 : options.find(option => hasDefaultValue(graph, option))) || null;
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {string[]}
 */
const getOptionIds = (graph, resourceURI) => {
  return graph.find(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_OPTION).map(statement => statement.getValue());
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {string[]}
 */
const getOptionIdsInOrder = (graph, resourceURI) => {
  return getOptionIds(graph, resourceURI).sort((blankNodeId1, blankNodeId2) => graph.findFirstValue(blankNodeId1, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ORDER) - graph.findFirstValue(blankNodeId2, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ORDER));
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {boolean}
 */
const hasManagedOptions = (graph, resourceURI) => {
  return Boolean(getOptionIds(graph, resourceURI).length);
};

/**
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @param {string} language
 * @returns {string}
 */
const getOptionLabel = (graph, blankNodeId, language) => {
  var _statements$find;
  if (!language) return graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_LABEL);
  const statements = graph.find(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_LABEL);
  return ((_statements$find = statements.find(statement => statement.getLanguage() === language)) === null || _statements$find === void 0 ? void 0 : _statements$find.getValue()) || statements[0].getValue();
};

/**
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @returns {string}
 */
const getManualOptionValue = (graph, blankNodeId) => {
  return graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_VALUE);
};

/**
 *
 * @param {Graph} graph
 * @param {string} optionBlankNodeId
 * @returns {Promise<string>}
 */
const getOptionValue = async (graph, optionBlankNodeId) => {
  const isURI = (0,models_utils_resource__WEBPACK_IMPORTED_MODULE_9__.getHasURIValue)(graph, [optionBlankNodeId], models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_VALUE);
  if (isURI) return (0,models_utils_options__WEBPACK_IMPORTED_MODULE_8__.getValueURIValue)({
    graph,
    resourceURI: optionBlankNodeId
  });
  return getManualOptionValue(graph, optionBlankNodeId);
};

/**
 *
 * @param {Graph} graph
 * @param {string[]} reorderedOptionIds
 * @returns {Graph}
 */
const reorderOptions = (graph, reorderedOptionIds) => {
  reorderedOptionIds.forEach((optionId, index) => {
    const [statement] = graph.find(optionId, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ORDER);
    statement.setValue(`${index + 1}`);
  });
  return graph;
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {Set<string>} targetLanguages
 * @returns {object}
 */
const getManagedRfsOptions = async (graph, resourceURI, targetLanguages) => {
  const optionIds = getOptionIdsInOrder(graph, resourceURI);
  const defaultValueBlankId = getDefaultOptionId(graph, resourceURI);
  const options = [];
  let defaultValue;
  // Get all the key values for each option saved on a blank node.
  // Each option object corresponds to an rdforms choice.
  for (const blankNodeId of optionIds) {
    const option = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_10__.getRfsLanguageLiterals)(graph, blankNodeId, OPTION_LANGUAGE_PROPERTIES, targetLanguages);
    option.value = await getOptionValue(graph, blankNodeId);
    if (defaultValueBlankId === blankNodeId) {
      defaultValue = option.value;
    }
    options.push(option);
  }
  return {
    defaultValue,
    choices: options
  };
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {string}
 */
const getTerminologyURI = (graph, resourceURI) => {
  return graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_TERMINOLOGY);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {string}
 */
const getCollectionURI = (graph, resourceURI) => {
  return graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_COLLECTION);
};

/**
 *
 * @param {string} collectionURI
 * @returns {Promise<object[]>}
 */
const getConceptEntriesFromCollection = async collectionURI => {
  const collectionEntry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.getOrIgnoreEntry)(collectionURI);
  if (!collectionEntry) return [];
  const {
    graph,
    resourceURI
  } = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_10__.getEntryProps)({
    entry: collectionEntry
  });
  const resourceURIs = graph.find(resourceURI, 'skos:member').map(statement => statement.getValue());
  const conceptEntriesAndMissing = await commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystoreUtil.loadEntriesByResourceURIs(resourceURIs, null, true);
  const conceptEntries = conceptEntriesAndMissing.filter(Boolean);
  return conceptEntries;
};

/**
 * Sorts entries by custom order, falling back to label for unordered entries.
 *
 * @param {Entry[]} entries
 * @returns {Entry[]}
 */
const sortByOrderThenLabel = entries => [...entries].sort((a, b) => {
  var _getOrder, _getOrder2;
  const orderA = (_getOrder = (0,commons_tree_skos_sortOrder__WEBPACK_IMPORTED_MODULE_14__.getOrder)(a)) !== null && _getOrder !== void 0 ? _getOrder : Infinity;
  const orderB = (_getOrder2 = (0,commons_tree_skos_sortOrder__WEBPACK_IMPORTED_MODULE_14__.getOrder)(b)) !== null && _getOrder2 !== void 0 ? _getOrder2 : Infinity;
  if (orderA !== orderB) return orderA - orderB;
  return ((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(a) || '').localeCompare((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(b) || '', undefined, {
    numeric: true
  });
});

/**
 * @param {string} terminologyURI
 * @param {object} [options]
 * @param {boolean} [options.topLevelOnly]
 * @returns {Promise<{entries: Entry[], hasNestedConcepts: boolean, hasCustomOrder: boolean}>}
 */
const getConceptEntriesFromTerminology = async function getConceptEntriesFromTerminology(terminologyURI) {
  let {
    topLevelOnly = false
  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const terminologyEntry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.getOrIgnoreEntry)(terminologyURI);
  if (!terminologyEntry) return {
    entries: [],
    hasNestedConcepts: false,
    hasCustomOrder: false
  };
  const context = terminologyEntry.getContext();
  const query = commons_store__WEBPACK_IMPORTED_MODULE_11__.entrystore.newSolrQuery().rdfType(commons_util_entry__WEBPACK_IMPORTED_MODULE_12__.RDF_TYPE_CONCEPT).context(context).limit(100);
  const conceptEntries = await query.list().getEntries();
  const schemeResourceURI = terminologyEntry.getResourceURI();
  const topLevelConcepts = conceptEntries.filter(entry => entry.getAllMetadata().find(entry.getResourceURI(), 'skos:topConceptOf', schemeResourceURI).length > 0);
  const hasNestedConcepts = topLevelConcepts.length < conceptEntries.length;
  const hasCustomOrder = (0,commons_tree_skos_sortOrder__WEBPACK_IMPORTED_MODULE_14__.getSortMode)(terminologyEntry) === commons_tree_skos_sortOrder__WEBPACK_IMPORTED_MODULE_14__.SORT_CUSTOM;
  const entries = topLevelOnly ? topLevelConcepts : conceptEntries;
  return {
    entries: sortByOrderThenLabel(entries),
    hasNestedConcepts,
    hasCustomOrder
  };
};

/**
 *
 * @param {Entry[]} conceptEntries
 * @param {Set<string>} targetLanguages
 * @returns {object}
 */
const getRfsOptionsFromConcepts = (conceptEntries, targetLanguages) => {
  const choices = conceptEntries.map(entry => {
    const graph = entry.getAllMetadata();
    const resourceURI = entry.getResourceURI();
    const option = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_10__.getRfsLanguageLiterals)(graph, resourceURI, CONCEPT_LANGUAGE_PROPERTIES, targetLanguages);
    option.value = resourceURI;
    return option;
  });
  return {
    choices
  };
};

/**
 * @param {string} terminologyURI
 * @param {string} collectionURI
 * @param {object} [options]
 * @param {boolean} [options.topLevelOnly]
 * @returns {Promise<{entries: Entry[], hasNestedConcepts: boolean, hasCustomOrder: boolean}>}
 */
const getConceptEntries = async function getConceptEntries(terminologyURI, collectionURI) {
  let {
    topLevelOnly = false
  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  if (!terminologyURI) return {
    entries: [],
    hasNestedConcepts: false,
    hasCustomOrder: false
  };
  if (collectionURI) {
    const entries = await getConceptEntriesFromCollection(collectionURI);
    return {
      entries,
      hasNestedConcepts: false,
      hasCustomOrder: false
    };
  }
  return getConceptEntriesFromTerminology(terminologyURI, {
    topLevelOnly
  });
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} terminologyURI
 * @param {Set<string>} targetLanguages
 * @returns {Promise<{choices: object[]}>}
 */
const getRfsOptionsFromTerminology = async (graph, resourceURI, terminologyURI, targetLanguages) => {
  const collectionURI = getCollectionURI(graph, resourceURI);
  const includeNested = graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_INCLUDE_NESTED) === 'true';
  const {
    entries
  } = await getConceptEntries(terminologyURI, collectionURI, {
    topLevelOnly: !includeNested
  });
  return getRfsOptionsFromConcepts(entries, targetLanguages);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} blankNodeId
 * @returns {Graph}
 */
const removeOption = (graph, resourceURI, blankNodeId) => {
  graph.findAndRemove(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_OPTION, {
    value: blankNodeId,
    type: 'bnode'
  });
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.utils.remove(graph, blankNodeId);
  return graph;
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 */
const removeOptions = (graph, resourceURI) => {
  const optionIds = getOptionIds(graph, resourceURI);
  optionIds.forEach(optionId => {
    removeOption(graph, resourceURI, optionId);
  });
};

/**
 * Finds options from metadata and converts them to rdforms compatible choices.
 * If managed options are found, then it will be assumed to be managed.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {Set<string>} targetLanguages
 * @returns {Promise<object[]>}
 */
const findRfsChoices = async (graph, resourceURI, targetLanguages) => {
  const terminologyURI = getTerminologyURI(graph, resourceURI);
  const options = await getManagedRfsOptions(graph, resourceURI, targetLanguages);
  const {
    choices
  } = options;
  if (terminologyURI && !choices.length) {
    return getRfsOptionsFromTerminology(graph, resourceURI, terminologyURI, targetLanguages);
  }
  return options;
};

/**
 * Find choices for a select field, walking the `rfs:extends` chain to the
 * first ancestor with options if the entry itself doesn't declare any.
 *
 * @param {Entry} entry
 * @returns {Promise<{ choices: object[], defaultValue: string|undefined }>}
 */
const findSelectFieldChoices = async entry => {
  const selectFieldEntry = (await (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_10__.findFirstWithValue)(entry, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_OPTION)) || entry;
  const {
    graph,
    resourceURI
  } = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_10__.getEntryProps)({
    entry: selectFieldEntry
  });
  const {
    choices,
    defaultValue
  } = await findRfsChoices(graph, resourceURI);
  return {
    choices,
    defaultValue
  };
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {Graph}
 */
const addOptionBlank = (graph, resourceURI) => {
  return graph.add(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_OPTION, null, true).getValue();
};

/**
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @param {number} order
 */
const addOptionTypeAndOrder = (graph, blankNodeId, order) => {
  graph.add(blankNodeId, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_CLASS_OPTION);
  graph.addD(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ORDER, `${order}`, 'xsd:integer');
};

/**
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @param {string} value
 */
const addOptionValue = (graph, blankNodeId, value) => {
  graph.add(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_VALUE, value);
};

/**
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @param {Entry} conceptEntry
 */
const copyOptionValuesFromConcept = (graph, blankNodeId, conceptEntry) => {
  CONCEPT_LANGUAGE_PROPERTIES.forEach(conceptProperty => {
    const statements = conceptEntry.getAllMetadata().find(conceptEntry.getResourceURI(), conceptProperty);
    statements.forEach(statement => {
      const targetProperty = CONCEPT_PROPERTY_MAP[conceptProperty];
      const {
        value,
        lang
      } = statement.getCleanObject();
      graph.addL(blankNodeId, targetProperty, value, lang);
    });
  });
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {Entry[]} conceptEntries
 */
const importConcepts = (graph, resourceURI, conceptEntries) => {
  conceptEntries.forEach((conceptEntry, index) => {
    const blankNodeId = addOptionBlank(graph, resourceURI);
    addOptionTypeAndOrder(graph, blankNodeId, index);
    copyOptionValuesFromConcept(graph, blankNodeId, conceptEntry);
    addOptionValue(graph, blankNodeId, conceptEntry.getResourceURI());
  });
};

/***/ },

/***/ "./modules/models/namespaces/hooks/useGetNamespaceEntries.js"
/*!*******************************************************************!*\
  !*** ./modules/models/namespaces/hooks/useGetNamespaceEntries.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_sleep__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/sleep */ "./modules/commons/util/sleep.js");
/* harmony import */ var _utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/namespaceMetadata */ "./modules/models/namespaces/utils/namespaceMetadata.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const SOLR_DELAY = 1500;
const useGetNamespaceEntries = function useGetNamespaceEntries(context) {
  let refreshCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  let contextModifer = arguments.length > 2 ? arguments[2] : undefined;
  let runQuery = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
  const {
    isLoading,
    status,
    data: queryResults,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_3__["default"])({
    data: {
      namespaceEntries: [],
      size: -1
    }
  });
  const isMounted = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!runQuery) return;
    const getNamespaceEntries = async () => {
      // refresh count is expected to be higher than 0 when a new namespace
      // entry has been created. Then a delay is needed for solr reindexing.
      if (refreshCount !== 0) {
        await (0,commons_util_sleep__WEBPACK_IMPORTED_MODULE_4__["default"])(SOLR_DELAY);
      }
      const namespaceEntries = await (0,_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_5__.getAllEntries)(context, contextModifer);
      return {
        namespaceEntries,
        size: namespaceEntries.length
      };
    };
    if (!isMounted.current) {
      runAsync(getNamespaceEntries());
      isMounted.current = true;
      return;
    }
    runAsync(getNamespaceEntries());
  }, [runAsync, context, refreshCount, runQuery, contextModifer]);
  return _objectSpread(_objectSpread({}, queryResults), {}, {
    status,
    isLoading
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetNamespaceEntries);

/***/ },

/***/ "./modules/models/namespaces/utils/builtinNamespaces.js"
/*!**************************************************************!*\
  !*** ./modules/models/namespaces/utils/builtinNamespaces.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NAMESPACE_ID_PREFIX: () => (/* binding */ NAMESPACE_ID_PREFIX),
/* harmony export */   builtinNamespacesAbbreviations: () => (/* binding */ builtinNamespacesAbbreviations),
/* harmony export */   createBuiltInNamespaceEntry: () => (/* binding */ createBuiltInNamespaceEntry),
/* harmony export */   getBuiltinNamespaces: () => (/* binding */ getBuiltinNamespaces),
/* harmony export */   getBuiltinNamespacesWithEntries: () => (/* binding */ getBuiltinNamespacesWithEntries)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! admin/configs/utils/exporters */ "./modules/admin/configs/utils/exporters.js");
/* harmony import */ var _namespaceMetadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./namespaceMetadata */ "./modules/models/namespaces/utils/namespaceMetadata.js");
/* harmony import */ var _fieldDefinitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./fieldDefinitions */ "./modules/models/namespaces/utils/fieldDefinitions.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }







const NAMESPACE_ID_PREFIX = '_ns';
const NAMESPACE_BUILTIN = 'builtin';
const namespacesRegistry = {
  ical: 'http://www.w3.org/2002/12/cal/ical#',
  vcard: 'http://www.w3.org/2006/vcard/ns#',
  dcterms: 'http://purl.org/dc/terms/',
  skos: 'http://www.w3.org/2004/02/skos/core#',
  rdfs: 'http://www.w3.org/2000/01/rdf-schema#',
  rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
  owl: 'http://www.w3.org/2002/07/owl#',
  foaf: 'http://xmlns.com/foaf/0.1/',
  dc: 'http://purl.org/dc/elements/1.1/',
  xsd: 'http://www.w3.org/2001/XMLSchema#',
  dcat: 'http://www.w3.org/ns/dcat#',
  org: 'http://www.w3.org/ns/org#',
  gn: 'http://www.geonames.org/ontology#',
  locn: 'http://www.w3.org/ns/locn#',
  schema: 'http://schema.org/',
  ex: 'http://example.com/',
  gsp: 'http://www.opengis.net/ont/geosparql#',
  odrs: 'http://schema.theodi.org/odrs#'
};
const builtinNamespacesAbbreviations = Object.keys(namespacesRegistry);

/**
 * Creates a built-in namespace prototype entry
 *
 * @param {object} context
 * @param {object} builtinNamespaceConfig
 * @returns {object}
 */
const createBuiltInNamespaceEntry = (context, builtinNamespaceConfig) => {
  const prototypeEntry = context.newEntry();
  const resourceURI = prototypeEntry.getResourceURI();
  const graph = prototypeEntry.getMetadata();
  graph.add(resourceURI, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_TYPE_PREFIX);
  graph.addD(resourceURI, 'esterms:builtin', 'true', 'xsd:boolean');
  _fieldDefinitions__WEBPACK_IMPORTED_MODULE_6__.fieldDefinitions.forEach(fieldDefinition => {
    const getValue = () => {
      if (fieldDefinition.nodetype === 'LANGUAGE_LITERAL') {
        return {
          en: builtinNamespaceConfig[fieldDefinition.name]
        };
      }
      return builtinNamespaceConfig[fieldDefinition.name];
    };
    const exportToGraph = (0,admin_configs_utils_exporters__WEBPACK_IMPORTED_MODULE_4__.getExporter)(fieldDefinition);
    if (exportToGraph) {
      exportToGraph(_objectSpread({
        graph,
        resourceURI,
        value: getValue()
      }, fieldDefinition));
    }
  });
  return prototypeEntry;
};

/**
 * Gets the built-in namespace configurations
 *
 * @param {Function} translate
 * @returns {object}
 */
const getBuiltinNamespaces = translate => {
  const builtinNamespacesConfigs = Object.entries(namespacesRegistry).map(_ref => {
    let [abbreviation, namespaceUri] = _ref;
    const id = `${NAMESPACE_ID_PREFIX}-${abbreviation}`;
    return {
      id,
      label: abbreviation,
      abbreviation,
      fullTitle: translate(`${abbreviation}Title`),
      namespace: namespaceUri,
      description: translate(`${abbreviation}Description`),
      type: NAMESPACE_BUILTIN
    };
  });
  return builtinNamespacesConfigs;
};
const getBuiltinNamespacesWithEntries = (context, namespaceEntries, translate) => {
  const builtinEntries = namespaceEntries.filter(entry => (0,_namespaceMetadata__WEBPACK_IMPORTED_MODULE_5__.isBuiltin)(entry));
  return getBuiltinNamespaces(translate).map(namespaceConfig => {
    const importedEntry = builtinEntries.find(builtinEntry => (0,_namespaceMetadata__WEBPACK_IMPORTED_MODULE_5__.getNamespaceAbbreviation)(builtinEntry) === namespaceConfig.abbreviation);
    const isImported = Boolean(importedEntry);
    return _objectSpread(_objectSpread({}, namespaceConfig), {}, {
      entry: isImported ? importedEntry : createBuiltInNamespaceEntry(context, namespaceConfig),
      isImported
    });
  });
};

/***/ },

/***/ "./modules/models/namespaces/utils/fieldDefinitions.js"
/*!*************************************************************!*\
  !*** ./modules/models/namespaces/utils/fieldDefinitions.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   fieldDefinitions: () => (/* binding */ fieldDefinitions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var models_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! models/utils/fieldDefinitions */ "./modules/models/utils/fieldDefinitions.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

const fieldDefinitions = [models_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_1__.FIELD_ABBREVIATION, models_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_1__.FIELD_NAMESPACE, _objectSpread(_objectSpread({}, models_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_1__.FIELD_TITLE), {}, {
  name: 'fullTitle',
  labelNlsKey: 'fullTitleLabel'
}), _objectSpread(_objectSpread({}, models_utils_fieldDefinitions__WEBPACK_IMPORTED_MODULE_1__.FIELD_DCT_DESCRIPTION), {}, {
  name: 'description'
})];

/***/ },

/***/ "./modules/models/namespaces/utils/namespaceMetadata.js"
/*!**************************************************************!*\
  !*** ./modules/models/namespaces/utils/namespaceMetadata.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   extractNamespaceParts: () => (/* binding */ extractNamespaceParts),
/* harmony export */   getAllEntries: () => (/* binding */ getAllEntries),
/* harmony export */   getDefaultEntry: () => (/* binding */ getDefaultEntry),
/* harmony export */   getNamespaceAbbreviation: () => (/* binding */ getNamespaceAbbreviation),
/* harmony export */   getNamespaceEntryFromAbbreviation: () => (/* binding */ getNamespaceEntryFromAbbreviation),
/* harmony export */   getNamespaceUri: () => (/* binding */ getNamespaceUri),
/* harmony export */   hasDefaultValue: () => (/* binding */ hasDefaultValue),
/* harmony export */   hasValidNamespaceDelimiter: () => (/* binding */ hasValidNamespaceDelimiter),
/* harmony export */   isBuiltin: () => (/* binding */ isBuiltin),
/* harmony export */   isReused: () => (/* binding */ isReused)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");










/**
 * Gets the abbreviation of the namespace entry
 *
 * @param {Entry} entry
 * @returns {string}
 */
const getNamespaceAbbreviation = entry => (entry === null || entry === void 0 ? void 0 : entry.getAllMetadata().findFirstValue(null, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_PREFIX)) || '';

/**
 * Gets the uri of the namespace entry
 *
 * @param {Entry} entry
 * @returns {string}
 */
const getNamespaceUri = entry => (entry === null || entry === void 0 ? void 0 : entry.getAllMetadata().findFirstValue(null, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_NAMESPACE)) || '';

/**
 * Determines whether or not the namespace entry has a default value
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const hasDefaultValue = entry => Boolean(entry === null || entry === void 0 ? void 0 : entry.getMetadata().findFirstValue(entry.getResourceURI(), 'esterms:default'));

/**
 * Finds the entry which has a default value from an array of entries
 *
 * @param {Entry[]} entries
 * @returns {Entry}
 */
const getDefaultEntry = entries => (entries === null || entries === void 0 ? void 0 : entries.find(entry => hasDefaultValue(entry))) || null;

/**
 * Determines whether or not the namespace entry is builtin
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isBuiltin = entry => Boolean(entry === null || entry === void 0 ? void 0 : entry.getAllMetadata().findFirstValue(entry.getResourceURI(), 'esterms:builtin'));

/**
 * Determines whether the namespace entry is reused (built-in or from another model)
 *
 * @param {Entry} entry
 * @returns {boolean}
 */
const isReused = entry => isBuiltin(entry) || Boolean(entry === null || entry === void 0 ? void 0 : entry.isLinkReference());

/**
 * Finds the entry from an array of entries which has the specified abbreviation
 *
 * @param {string} abbreviation
 * @param {Entry[]} entries
 * @returns {Entry}
 */
const getNamespaceEntryFromAbbreviation = (abbreviation, entries) => {
  return entries === null || entries === void 0 ? void 0 : entries.find(entry => getNamespaceAbbreviation(entry) === abbreviation);
};

/**
 *
 * @param {string} uri
 * @param {Entry[]} namespaceEntries
 * @returns {object}
 */
const extractNamespaceParts = (uri, namespaceEntries) => {
  const namespace = namespaceEntries.map(namespaceEntry => getNamespaceUri(namespaceEntry)).sort((ns1, ns2) => ns1.length - ns2.length).find(namespaceUri => uri.startsWith(namespaceUri));
  const localname = namespace && uri.replace(namespace, '');
  return {
    uri,
    namespace,
    localname
  };
};

/**
 * Checks if a namespace URI has a valid delimiter (ends with '/' or '#')
 *
 * @param {string} namespaceUri
 * @returns {boolean}
 */
const hasValidNamespaceDelimiter = namespaceUri => {
  if (!namespaceUri) return false;
  return namespaceUri.endsWith('/') || namespaceUri.endsWith('#');
};

/**
 * Gets all namespaces entries in context
 *
 * @param {object} context
 * @param {boolean|string} contextModifier
 * @returns {Promise.<Entry[]>}
 */
const getAllEntries = async (context, contextModifier) => commons_store__WEBPACK_IMPORTED_MODULE_7__.entrystore.newSolrQuery().context(context, contextModifier).rdfType(models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_PREFIX).list().getAllEntries().then(entries => entries);

/***/ },

/***/ "./modules/models/presenters/AlternativeTexts/AlternativeTexts.js"
/*!************************************************************************!*\
  !*** ./modules/models/presenters/AlternativeTexts/AlternativeTexts.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AlternativeTexts: () => (/* binding */ AlternativeTexts)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_utils_alternativeText__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/utils/alternativeText */ "./modules/models/utils/alternativeText.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


/* eslint-disable react/no-array-index-key */









/**
 * Find matching label in config for a given role.
 *
 * @param {string} role
 * @returns {string|undefined}
 */
const findAlternativeTextLabel = role => {
  const alternativeTextConfigs = config__WEBPACK_IMPORTED_MODULE_3__["default"].get('models.alternativeTexts');
  const alternativeTextConfig = alternativeTextConfigs === null || alternativeTextConfigs === void 0 ? void 0 : alternativeTextConfigs.find(_ref => {
    let {
      value
    } = _ref;
    return value === role;
  });
  if (!alternativeTextConfig) return;
  return (0,commons_locale__WEBPACK_IMPORTED_MODULE_8__.localize)(alternativeTextConfig.label);
};
const LanguageLiterals = _ref2 => {
  let {
    lang2val
  } = _ref2;
  return Object.entries(lang2val).map((_ref3, index) => {
    let [language, value] = _ref3;
    return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_4__.Field, {
      key: index
    }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_4__.Text, {
      text: value
    }), /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_4__.Language, {
      language: language
    }));
  });
};
const AlternativeText = _ref4 => {
  let {
    role,
    texts
  } = _ref4;
  const label = findAlternativeTextLabel(role) || role;
  return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_4__.Fields, {
    label: label
  }, texts.map((lang2val, index) => /*#__PURE__*/React.createElement(LanguageLiterals, {
    key: index,
    lang2val: lang2val
  })));
};
AlternativeText.propTypes = {
  role: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  texts: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}))
};
const AlternativeTexts = _ref5 => {
  let {
    graph,
    resourceURI,
    children
  } = _ref5;
  const alternativeTexts = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(() => {
    return Object.entries((0,models_utils_alternativeText__WEBPACK_IMPORTED_MODULE_6__.getRfsAlternativeTexts)(graph, resourceURI));
  }, [graph, resourceURI]);
  if (!alternativeTexts.length) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, alternativeTexts.map(_ref6 => {
    let [role, texts] = _ref6;
    return /*#__PURE__*/React.createElement(AlternativeText, {
      key: role,
      role: role,
      texts: texts
    });
  }), children ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    sx: {
      marginBottom: '8px',
      marginTop: '-16px'
    }
  }, children) : null);
};
AlternativeTexts.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_5__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};

/***/ },

/***/ "./modules/models/presenters/AlternativeTexts/index.js"
/*!*************************************************************!*\
  !*** ./modules/models/presenters/AlternativeTexts/index.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AlternativeTexts: () => (/* reexport safe */ _AlternativeTexts__WEBPACK_IMPORTED_MODULE_0__.AlternativeTexts)
/* harmony export */ });
/* harmony import */ var _AlternativeTexts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AlternativeTexts */ "./modules/models/presenters/AlternativeTexts/AlternativeTexts.js");


/***/ },

/***/ "./modules/models/presenters/Attributes/Attributes.js"
/*!************************************************************!*\
  !*** ./modules/models/presenters/Attributes/Attributes.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Attributes: () => (/* binding */ Attributes)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var models_utils_attribute__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! models/utils/attribute */ "./modules/models/utils/attribute.js");
/* harmony import */ var _Attributes_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Attributes.scss */ "./modules/models/presenters/Attributes/Attributes.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "property", "inline", "children"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const Attributes = _ref => {
  let {
      graph,
      resourceURI,
      property,
      inline,
      children
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const statements = graph.find(resourceURI, property);
  return statements.length ? /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.Fields, fieldsProps, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.Field, null, /*#__PURE__*/React.createElement("div", null, statements.map((statement, index) => {
    return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__["default"] // eslint-disable-next-line react/no-array-index-key
    , {
      key: index,
      enterDelay: commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__.TOOLTIP_DELAY,
      enterNextDelay: commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__.TOOLTIP_DELAY,
      title: (0,models_utils_attribute__WEBPACK_IMPORTED_MODULE_5__.getDescription)(statement.getValue())
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
      label: statement.getValue(),
      className: "esmoAttributes__chip"
    }));
  }))), children) : null;
};
Attributes.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_1__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};

/***/ },

/***/ "./modules/models/presenters/Attributes/index.js"
/*!*******************************************************!*\
  !*** ./modules/models/presenters/Attributes/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Attributes: () => (/* reexport safe */ _Attributes__WEBPACK_IMPORTED_MODULE_0__.Attributes)
/* harmony export */ });
/* harmony import */ var _Attributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Attributes */ "./modules/models/presenters/Attributes/Attributes.js");


/***/ },

/***/ "./modules/models/presenters/Cardinality/Cardinality.js"
/*!**************************************************************!*\
  !*** ./modules/models/presenters/Cardinality/Cardinality.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Cardinality: () => (/* binding */ Cardinality)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_utils_cardinality__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! models/utils/cardinality */ "./modules/models/utils/cardinality.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_6__);
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "inline", "children"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const Cardinality = _ref => {
  let {
      graph,
      resourceURI,
      inline,
      children
    } = _ref,
    fieldsProps = _objectWithoutProperties(_ref, _excluded);
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const {
    includeLevel,
    max
  } = (0,models_utils_cardinality__WEBPACK_IMPORTED_MODULE_4__.getCardinality)(graph, resourceURI);
  const maxText = max >= 0 ? `, max ${max}` : '';
  return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.Fields, _extends({
    inline: inline
  }, fieldsProps), /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.Field, {
    inline: inline
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.Text, {
    text: `${t(`${includeLevel}Label`)}${maxText}`
  })), children);
};
Cardinality.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/models/presenters/Cardinality/index.js"
/*!********************************************************!*\
  !*** ./modules/models/presenters/Cardinality/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Cardinality: () => (/* reexport safe */ _Cardinality__WEBPACK_IMPORTED_MODULE_0__.Cardinality)
/* harmony export */ });
/* harmony import */ var _Cardinality__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Cardinality */ "./modules/models/presenters/Cardinality/Cardinality.js");


/***/ },

/***/ "./modules/models/presenters/Constraints/Constraints.js"
/*!**************************************************************!*\
  !*** ./modules/models/presenters/Constraints/Constraints.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Constraint: () => (/* binding */ Constraint),
/* harmony export */   Constraints: () => (/* binding */ Constraints)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoForms.nls */ "./modules/commons/nls/escoForms.nls");
/* harmony import */ var commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_utils_constraint__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/utils/constraint */ "./modules/models/utils/constraint.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var _Constraints_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Constraints.scss */ "./modules/models/presenters/Constraints/Constraints.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
const _excluded = ["graph", "resourceURI", "property", "inline", "children"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }











const Constraint = _ref => {
  let {
    property,
    values
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((commons_nls_escoForms_nls__WEBPACK_IMPORTED_MODULE_4___default()));
  return /*#__PURE__*/React.createElement("div", {
    className: "esmoConstraint"
  }, /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_9__.FieldsLabel, {
    alignItems: "start",
    label: `${translate('constraintPropertyLabel')}: `
  }, /*#__PURE__*/React.createElement("span", {
    className: "esmoConstraint__value"
  }, property)), /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_9__.FieldsLabel, {
    alignItems: "start",
    label: `${translate('constraintObjectLabel')}: `
  }, /*#__PURE__*/React.createElement("span", {
    className: "esmoConstraint__value"
  }, values)));
};
Constraint.propTypes = {
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  values: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_2___default().array)])
};
const Constraints = _ref2 => {
  let {
      graph,
      resourceURI,
      property,
      inline,
      children
    } = _ref2,
    fieldsProps = _objectWithoutProperties(_ref2, _excluded);
  const {
    runAsync,
    data: constraints,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_7__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(() => {
    runAsync((0,models_utils_constraint__WEBPACK_IMPORTED_MODULE_6__.getConstraints)(graph, resourceURI));
  }, [graph, resourceURI, runAsync]);
  return status === 'resolved' && constraints ? /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_9__.Fields, fieldsProps, Object.entries(constraints).map(_ref3 => {
    let [constraintProperty, values] = _ref3;
    return /*#__PURE__*/React.createElement(Constraint, {
      key: constraintProperty,
      property: constraintProperty,
      values: Array.isArray(values) ? values.join(',') : values
    });
  }), children) : null;
};
Constraints.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};

/***/ },

/***/ "./modules/models/presenters/Constraints/index.js"
/*!********************************************************!*\
  !*** ./modules/models/presenters/Constraints/index.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Constraint: () => (/* reexport safe */ _Constraints__WEBPACK_IMPORTED_MODULE_0__.Constraint),
/* harmony export */   Constraints: () => (/* reexport safe */ _Constraints__WEBPACK_IMPORTED_MODULE_0__.Constraints)
/* harmony export */ });
/* harmony import */ var _Constraints__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Constraints */ "./modules/models/presenters/Constraints/Constraints.js");


/***/ },

/***/ "./modules/models/presenters/ExtendedLink/ExtendedLink.js"
/*!****************************************************************!*\
  !*** ./modules/models/presenters/ExtendedLink/ExtendedLink.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ExtendedLink: () => (/* binding */ ExtendedLink)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var models_utils_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/utils/forms */ "./modules/models/utils/forms.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const ExtendedLink = _ref => {
  let {
      graph,
      resourceURI
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const {
    data: extendedEntry,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (!graph) return;
    runAsync((0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_5__.getExtendedEntry)(graph, resourceURI));
  }, [runAsync, graph, resourceURI]);
  if (!extendedEntry) return null;
  const getPath = () => {
    if (!graph) return '';
    const viewName = (0,models_utils_forms__WEBPACK_IMPORTED_MODULE_8__.isForm)({
      graph: extendedEntry.getMetadata(),
      resourceURI: extendedEntry.getResourceURI()
    }) ? 'models__forms__form' : 'models__fields__field';
    return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getPathFromViewName)(viewName, {
      entryId: extendedEntry.getId(),
      contextId: extendedEntry.getContext().getId()
    });
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__.Link, _extends({}, props, {
    graph: extendedEntry.getMetadata(),
    resourceURI: extendedEntry.getResourceURI(),
    property: "dcterms:title",
    to: getPath()
  }));
};
ExtendedLink.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  getView: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};

/***/ },

/***/ "./modules/models/presenters/ExtendedLink/index.js"
/*!*********************************************************!*\
  !*** ./modules/models/presenters/ExtendedLink/index.js ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ExtendedLink: () => (/* reexport safe */ _ExtendedLink__WEBPACK_IMPORTED_MODULE_0__.ExtendedLink)
/* harmony export */ });
/* harmony import */ var _ExtendedLink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ExtendedLink */ "./modules/models/presenters/ExtendedLink/ExtendedLink.js");


/***/ },

/***/ "./modules/models/presenters/FieldPresenter/FieldPresenter.js"
/*!********************************************************************!*\
  !*** ./modules/models/presenters/FieldPresenter/FieldPresenter.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldPresenter: () => (/* binding */ FieldPresenter)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! models/nls/esmoCommons.nls */ "./modules/models/nls/esmoCommons.nls");
/* harmony import */ var models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_components_Extends__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! models/components/Extends */ "./modules/models/components/Extends/index.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "labelNlsKey", "Presenter", "isVisible"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






const FieldPresenter = _ref => {
  let {
      graph,
      resourceURI,
      labelNlsKey,
      Presenter,
      isVisible = () => true
    } = _ref,
    fieldProps = _objectWithoutProperties(_ref, _excluded);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_1__.useTranslation)((models_nls_esmoCommons_nls__WEBPACK_IMPORTED_MODULE_2___default()));
  if (!isVisible(graph, resourceURI)) return null;
  if ((0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_6__.isExcluded)(graph, resourceURI, fieldProps.property)) return null;
  const localHasValue = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_6__.hasValue)(graph, resourceURI, fieldProps.property);
  const additive = (0,models_utils_metadata__WEBPACK_IMPORTED_MODULE_6__.isAdditive)(graph, resourceURI, fieldProps.property);
  const localPresenter = localHasValue ? /*#__PURE__*/React.createElement(Presenter, _extends({
    graph: graph,
    resourceURI: resourceURI,
    label: labelNlsKey ? translate(labelNlsKey) : '',
    translate: translate
  }, fieldProps)) : null;
  const inheritedPresenter = !localHasValue || additive ? /*#__PURE__*/React.createElement(models_components_Extends__WEBPACK_IMPORTED_MODULE_5__.Extends, _extends({
    graph: graph,
    resourceURI: resourceURI,
    labelNlsKey: labelNlsKey,
    Component: FieldPresenter,
    Presenter: Presenter
  }, fieldProps)) : null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, localPresenter, inheritedPresenter);
};
FieldPresenter.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  labelNlsKey: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().string),
  Presenter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),
  isVisible: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
};

/***/ },

/***/ "./modules/models/presenters/FieldPresenter/index.js"
/*!***********************************************************!*\
  !*** ./modules/models/presenters/FieldPresenter/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FieldPresenter: () => (/* reexport safe */ _FieldPresenter__WEBPACK_IMPORTED_MODULE_0__.FieldPresenter)
/* harmony export */ });
/* harmony import */ var _FieldPresenter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FieldPresenter */ "./modules/models/presenters/FieldPresenter/FieldPresenter.js");


/***/ },

/***/ "./modules/models/presenters/ObjectFormLink/ObjectFormLink.js"
/*!********************************************************************!*\
  !*** ./modules/models/presenters/ObjectFormLink/ObjectFormLink.js ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ObjectFormLink: () => (/* binding */ ObjectFormLink)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI", "property"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }







const FORM_VIEW_NAME = 'models__forms__form';
const ObjectFormLink = _ref => {
  let {
      graph,
      resourceURI,
      property
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  const {
    data: objectFormEntry,
    runAsync
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_4__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    if (!graph) return;
    const getObjectFormPath = () => {
      return commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.getEntry(commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.getEntryURIFromURI(graph.findFirstValue(resourceURI, property)));
    };
    runAsync(getObjectFormPath());
  }, [runAsync, graph, resourceURI, property]);
  if (!objectFormEntry) return null;
  const getObjectFormPath = () => {
    return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getPathFromViewName)(FORM_VIEW_NAME, {
      entryId: objectFormEntry.getId(),
      contextId: objectFormEntry.getContext().getId()
    });
  };
  return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_7__.Link, _extends({}, props, {
    graph: objectFormEntry.getMetadata(),
    resourceURI: objectFormEntry.getResourceURI(),
    property: "dcterms:title",
    to: getObjectFormPath(objectFormEntry)
  }));
};
ObjectFormLink.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  property: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};

/***/ },

/***/ "./modules/models/presenters/ObjectFormLink/index.js"
/*!***********************************************************!*\
  !*** ./modules/models/presenters/ObjectFormLink/index.js ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ObjectFormLink: () => (/* reexport safe */ _ObjectFormLink__WEBPACK_IMPORTED_MODULE_0__.ObjectFormLink)
/* harmony export */ });
/* harmony import */ var _ObjectFormLink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ObjectFormLink */ "./modules/models/presenters/ObjectFormLink/ObjectFormLink.js");


/***/ },

/***/ "./modules/models/presenters/Property/Property.js"
/*!********************************************************!*\
  !*** ./modules/models/presenters/Property/Property.js ***!
  \********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Property: () => (/* binding */ Property)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_utils_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! models/utils/property */ "./modules/models/utils/property.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const Property = _ref => {
  let {
      graph,
      resourceURI
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.Presenter, _extends({
    direct: false,
    graph: graph,
    resourceURI: resourceURI,
    getValue: models_utils_property__WEBPACK_IMPORTED_MODULE_4__.getPropertyValue
  }, props));
};
Property.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/models/presenters/Property/index.js"
/*!*****************************************************!*\
  !*** ./modules/models/presenters/Property/index.js ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Property: () => (/* reexport safe */ _Property__WEBPACK_IMPORTED_MODULE_0__.Property)
/* harmony export */ });
/* harmony import */ var _Property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Property */ "./modules/models/presenters/Property/Property.js");


/***/ },

/***/ "./modules/models/presenters/Value/Value.js"
/*!**************************************************!*\
  !*** ./modules/models/presenters/Value/Value.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Value: () => (/* binding */ Value)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_utils_options__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! models/utils/options */ "./modules/models/utils/options.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["graph", "resourceURI"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }




const Value = _ref => {
  let {
      graph,
      resourceURI
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React.createElement(commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_2__.Presenter, _extends({
    direct: false,
    graph: graph,
    resourceURI: resourceURI,
    getValue: models_utils_options__WEBPACK_IMPORTED_MODULE_4__.getValueURIValue
  }, props));
};
Value.propTypes = {
  graph: commons_util_entry__WEBPACK_IMPORTED_MODULE_3__.graphPropType,
  resourceURI: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  inline: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/models/presenters/Value/index.js"
/*!**************************************************!*\
  !*** ./modules/models/presenters/Value/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Value: () => (/* reexport safe */ _Value__WEBPACK_IMPORTED_MODULE_0__.Value)
/* harmony export */ });
/* harmony import */ var _Value__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Value */ "./modules/models/presenters/Value/Value.js");


/***/ },

/***/ "./modules/models/presenters/index.js"
/*!********************************************!*\
  !*** ./modules/models/presenters/index.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AlternativeTexts: () => (/* reexport safe */ _AlternativeTexts__WEBPACK_IMPORTED_MODULE_0__.AlternativeTexts),
/* harmony export */   Attributes: () => (/* reexport safe */ _Attributes__WEBPACK_IMPORTED_MODULE_1__.Attributes),
/* harmony export */   Cardinality: () => (/* reexport safe */ _Cardinality__WEBPACK_IMPORTED_MODULE_2__.Cardinality),
/* harmony export */   ExtendedLink: () => (/* reexport safe */ _ExtendedLink__WEBPACK_IMPORTED_MODULE_3__.ExtendedLink),
/* harmony export */   FieldPresenter: () => (/* reexport safe */ _FieldPresenter__WEBPACK_IMPORTED_MODULE_4__.FieldPresenter),
/* harmony export */   Property: () => (/* reexport safe */ _Property__WEBPACK_IMPORTED_MODULE_5__.Property),
/* harmony export */   Value: () => (/* reexport safe */ _Value__WEBPACK_IMPORTED_MODULE_6__.Value)
/* harmony export */ });
/* harmony import */ var _AlternativeTexts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AlternativeTexts */ "./modules/models/presenters/AlternativeTexts/index.js");
/* harmony import */ var _Attributes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Attributes */ "./modules/models/presenters/Attributes/index.js");
/* harmony import */ var _Cardinality__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Cardinality */ "./modules/models/presenters/Cardinality/index.js");
/* harmony import */ var _ExtendedLink__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ExtendedLink */ "./modules/models/presenters/ExtendedLink/index.js");
/* harmony import */ var _FieldPresenter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FieldPresenter */ "./modules/models/presenters/FieldPresenter/index.js");
/* harmony import */ var _Property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Property */ "./modules/models/presenters/Property/index.js");
/* harmony import */ var _Value__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Value */ "./modules/models/presenters/Value/index.js");








/***/ },

/***/ "./modules/models/utils/alternativeText.js"
/*!*************************************************!*\
  !*** ./modules/models/utils/alternativeText.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addAlternativeText: () => (/* binding */ addAlternativeText),
/* harmony export */   getRfsAlternativeTexts: () => (/* binding */ getRfsAlternativeTexts)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./metadata */ "./modules/models/utils/metadata.js");







/**
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @returns {object}
 */
const getAlternativeText = (graph, blankNodeId, targetLanguages) => {
  const role = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_ROLE);
  const values = (0,_metadata__WEBPACK_IMPORTED_MODULE_5__.getLanguageLiterals)(graph, blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_VALUE, targetLanguages);
  return {
    role,
    values
  };
};

/**
 * Retrieves alternative texts as an rdforms compatible text object. There may
 * be multiple alternative texts using the same role and in this case all values
 * for the role are merged.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {object}
 */
const getRfsAlternativeTexts = (graph, resourceURI, targetLanguages) => {
  const blankNodeIds = (0,_metadata__WEBPACK_IMPORTED_MODULE_5__.getBlankNodeIds)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_TEXT);
  const roleValuePairs = blankNodeIds.map(blankNodeId => getAlternativeText(graph, blankNodeId, targetLanguages)).filter(_ref => {
    let {
      values
    } = _ref;
    return values !== undefined;
  });

  // texts with same role are merged into an array of text values
  const alternativeTexts = roleValuePairs.reduce((texts, nextRoleValue) => {
    const {
      role,
      values
    } = nextRoleValue;
    if (!(role in texts)) {
      texts[role] = [];
    }
    texts[role].push(values);
    return texts;
  }, {});
  return alternativeTexts;
};

/**
 * Add alternative text to metadata
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} role
 * @param {object} lang2val
 */
const addAlternativeText = (graph, resourceURI, role, lang2val) => {
  const blankNodeId = graph.add(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_TEXT).getValue();
  graph.addL(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_ROLE, role);
  (0,_metadata__WEBPACK_IMPORTED_MODULE_5__.addLanguageLiterals)(graph, blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_VALUE, lang2val);
};

/***/ },

/***/ "./modules/models/utils/attribute.js"
/*!*******************************************!*\
  !*** ./modules/models/utils/attribute.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ATTRIBUTES: () => (/* binding */ ATTRIBUTES),
/* harmony export */   getDescription: () => (/* binding */ getDescription)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");



/* eslint-disable max-len */
const ATTRIBUTES = [{
  name: 'atLeastOneChild',
  description: {
    en: 'Requires that at least one of the children of an object form has a value without specifying which.'
  }
}, {
  name: 'atMostOneChild',
  description: {
    en: 'Requires that at most one of the children of an object form has a single value.'
  }
}, {
  name: 'exactlyOneChild',
  description: {
    en: 'Requires that at exactly one of the children of an object form has a single value.'
  }
}, {
  name: 'autoUUID',
  description: {
    en: 'Automatically initializes a UUID value if no value is present.'
  }
}, {
  name: 'autoInitDate',
  description: {
    en: 'Automatically initializes a date value if no value is present.'
  }
}, {
  name: 'autoUpdateDate',
  description: {
    en: 'Automatically set a new date on every edit.'
  }
}, {
  name: 'autoValue',
  description: {
    en: 'Automatically set the value based on an other field as defined via the dependency construction. Note that autoValue can be combined with a valuePattern.'
  }
}, {
  name: 'card',
  description: {
    en: 'Provides a card like appearance for an object form in both edit and present modes. Typically displayed with a background color, some indents and a border.'
  }
}, {
  name: 'cardInEdit',
  description: {
    en: 'Provides a card like appearance for an object form in edit mode. Typically displayed with a background color, some indents and a border.'
  }
}, {
  name: 'cardInPresent',
  description: {
    en: 'Provides a card like appearance for an object form in present mode. Typically displayed with a background color, some indents and a border.'
  }
}, {
  name: 'deprecated',
  description: {
    en: 'Marks this field or object form as deprecated so that does not show up unless a value is matched, matched values are clearly marked in editing and validation as deprecated.'
  }
}, {
  name: 'dropDown',
  description: {
    en: '	Forces the choices to be in a dropdown, e.g. by default fewer choices than five when max cardinality is one are shown with radiobuttons, this behaviour is prohibited by setting this attribute.'
  }
}, {
  name: 'externalLink',
  description: {
    en: 'Forces URI values to be rendered as links that open in a separate window in presentation mode.'
  }
}, {
  name: 'image',
  description: {
    en: 'Renders URI values as images.'
  }
}, {
  name: 'invisible',
  description: {
    en: 'Hides the form-item, if applied to a group it hides the entire form-item tree below as well.'
  }
}, {
  name: 'invisibleGroup',
  description: {
    en: 'Flattens deeper structures of RDF realized by object forms by removing the label and indentation. Can only be used when the object form has a max cardinality of 1.'
  }
}, {
  name: 'nonEditable',
  description: {
    en: 'Makes an field or object form read-only in edit mode.'
  }
}, {
  name: 'multiline',
  description: {
    en: 'Represent the text field with a multi line input field in edit mode.'
  }
}, {
  name: 'noLabelInPresent',
  description: {
    en: 'Hides the field or object form label in present mode.'
  }
}, {
  name: 'noLink',
  description: {
    en: 'Forces the lookup field to show the value as a URI or a label for the URI if it can be found instead of generating a link / popup dialog in present mode.'
  }
}, {
  name: 'compact',
  description: {
    en: 'Forces compact mode for the editor / presenter, i.e. render input values (on children of the top-level group) of the editor / presenter to be rendered on the same row as the label for non-groups.'
  }
}, {
  name: 'nonCompact',
  description: {
    en: '	Prohibits compact mode, e.g. if the default of the surrounding implementation is to use compact mode an individual template may override.'
  }
}, {
  name: 'preserveOrderOfChoices',
  description: {
    en: 'Prevent options to be alphabetically sorted in dropdowns or when shown as radiobuttons or checkboxes. Instead the specified order of the options are preserved.'
  }
}, {
  name: 'showDescriptionInEdit',
  description: {
    en: 'Render the description as a text below the label in edit mode.'
  }
}, {
  name: 'showDescriptionInPresent',
  description: {
    en: 'Render the description as a text below the label in present mode.'
  }
}, {
  name: 'showValue',
  description: {
    en: 'Show the value in present mode rather than attempt to show a label for a URI. For a field with a value template, show the whole value including the value template.'
  }
}, {
  name: 'strictmatch',
  description: {
    en: "Match only explicitly given options in the select field, don't allow a match to be made only based on the property and mark it with an error."
  }
}, {
  name: 'relaxedDatatypeMatch',
  description: {
    en: "Match only values with correct datatype in the datatype field, don't allow a match to be made only based on the property and mark it with an error."
  }
}, {
  name: 'table',
  description: {
    en: 'Renders a table where each row corresponds to a resource matching the group with the table style and each distinct child field / form gets its own column.'
  }
}, {
  name: 'linkWithLabel',
  description: {
    en: 'Used on object forms to present URI as links in presentation mode. Use together with child text fields marked with the attributes label and tooltip.'
  }
}, {
  name: 'label',
  description: {
    en: 'Used together with the attribute linkWithLabel to generate a link in presentation mode. Marks the current field to be treated as the label for the link.'
  }
}, {
  name: 'tooltip',
  description: {
    en: 'Used together with the attribute linkWithLabel to generate a link in presentation mode. Marks the current field to be treated as the tooltip for the link.'
  }
}, {
  name: 'verticalCheckBoxes',
  description: {
    en: 'Options are shown for this field as checkboxes oriented vertically rather than repeated dropdowns.'
  }
}, {
  name: 'horizontalCheckBoxes',
  description: {
    en: 'Options are shown for this field as checkboxes oriented horizontally rather than repeated dropdowns.'
  }
}, {
  name: 'verticalRadioButtons',
  description: {
    en: 'Forces choices to be rendered as radiobuttons in a vertically oriented fashion.'
  }
}, {
  name: 'horizontalRadioButtons',
  description: {
    en: 'Forces choices to be rendered as radiobuttons in a horizontally oriented fashion, if radiobuttons are triggered automatically, horizontal is the default orientation.'
  }
}, {
  name: 'filterTranslations',
  description: {
    en: 'Treats multiple values as translations in presentation mode if the current field has a nodetype corresponding to language literal. If triggered, it tries to use explicit language tags to filter out a single value corresponding to the most appropriate language.'
  }
}, {
  name: 'viewAllTranslations',
  description: {
    en: 'Shows all values for the current field, i.e. overrides any default setting in presentation mode for filtering out translations.'
  }
}, {
  name: 'geoPoint',
  description: {
    en: 'Forces the field to be edited / rendered as a map, only supports schema and geo namespaces. This attribute is supported in EntryScape, no generic support is provided in RDForms.'
  }
}, {
  name: 'geonames',
  description: {
    en: 'Provides a dialog for selecting values from geonames. This attribute is supported in EntryScape, no generic support is provided in RDForms.'
  }
}
// The tree attribute is historical, has no implementation currently.
/*  {
  name: 'tree',
  description: {
    en: 'Forces choices to be selected from a tree structure in a popup.',
  },
}, */
// No implementation in RDForms or EntryScape, unclear why
/*  { name: 'textAsChoice', description: { en: '' } }, */
// Nonsensical implementation in RDForms.
/* {
  name: 'stars',
  description: {
    en: 'Renders N stars where N is a value in the form of a positive integer.',
  },
}, */
// No implementation, and unclear how it was used
/* { name: 'commentOn', description: { en: '' } }, */
// No implementation in react for email attribute
/* { name: 'email', description: { en: '' } }, */
// No implementation in react for firstcolumnfixedtable
/* {
  name: 'firstcolumnfixedtable',
  description: {
    en: 'A variant of the table style where the first child item is assumed to be a choice. A table is generated with a row for each of the choices of the first choice item.',
  },
}, */
// Heading is not shown as an attribute in models as we have section form.
/* { name: 'heading', description: { en: '' } }, */

// Expandable sections not supported in react yet.
/* {
  name: 'expandable',
  description: { en: 'Makes a group and its children expandable.' },
}, */
// Unclear if there is a scenario where this is used, also not implemented
/* { name: 'internalLink', description: { en: '' } }, */
// Showing URI as text or link at the top of a form, not supported in react yet.
/* { name: 'showLink', description: { en: '' } },
{ name: 'showURI', description: { en: '' } }, */];

/**
 *
 * @param {string} attributeName
 * @returns {string}
 */
const getDescription = attributeName => {
  const attribute = ATTRIBUTES.find(_ref => {
    let {
      name
    } = _ref;
    return name === attributeName;
  });
  return attribute !== null && attribute !== void 0 && attribute.description ? (0,commons_locale__WEBPACK_IMPORTED_MODULE_1__.localize)(attribute.description) : '';
};

/***/ },

/***/ "./modules/models/utils/cardinality.js"
/*!*********************************************!*\
  !*** ./modules/models/utils/cardinality.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MANDATORY: () => (/* binding */ MANDATORY),
/* harmony export */   OPTIONAL: () => (/* binding */ OPTIONAL),
/* harmony export */   RECOMMENDED: () => (/* binding */ RECOMMENDED),
/* harmony export */   clearLevel: () => (/* binding */ clearLevel),
/* harmony export */   getCardinality: () => (/* binding */ getCardinality),
/* harmony export */   getIncludeLevel: () => (/* binding */ getIncludeLevel),
/* harmony export */   getMax: () => (/* binding */ getMax),
/* harmony export */   getMin: () => (/* binding */ getMin),
/* harmony export */   setCardinality: () => (/* binding */ setCardinality),
/* harmony export */   setCardinalityFromRfs: () => (/* binding */ setCardinalityFromRfs),
/* harmony export */   setMandatory: () => (/* binding */ setMandatory),
/* harmony export */   setMax: () => (/* binding */ setMax),
/* harmony export */   setOptional: () => (/* binding */ setOptional),
/* harmony export */   setRecommended: () => (/* binding */ setRecommended)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");



const MANDATORY = 'mandatory';
const RECOMMENDED = 'recommended';
const OPTIONAL = 'optional';
const XSD_INTEGER = 'xsd:integer';

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 */
const setOptional = (graph, resourceURI) => {
  graph.addD(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MIN, '0', XSD_INTEGER);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 */
const setMandatory = (graph, resourceURI) => {
  graph.addD(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MIN, '1', XSD_INTEGER);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 */
const setRecommended = (graph, resourceURI) => {
  graph.addD(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_PREF, '1', XSD_INTEGER);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string|number} max
 */
const setMax = (graph, resourceURI, max) => {
  graph.addD(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MAX, `${max}`, XSD_INTEGER);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 */
const clearLevel = (graph, resourceURI) => {
  graph.findAndRemove(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MIN);
  graph.findAndRemove(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_PREF);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {string}
 */
const getIncludeLevel = (graph, resourceURI) => {
  if (graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MIN) > 0) return MANDATORY;
  if (graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_PREF) > 0) return RECOMMENDED;
  if (graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MIN) === '0') return OPTIONAL;
  return '';
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {number|undefined}
 */
const getMin = (graph, resourceURI) => {
  const value = graph === null || graph === void 0 ? void 0 : graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MIN);
  if (value == null) return undefined;
  return parseInt(value, 10);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {number|undefined}
 */
const getMax = (graph, resourceURI) => {
  const value = graph === null || graph === void 0 ? void 0 : graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MAX);
  if (value == null) return undefined;
  return parseInt(value, 10);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {object}
 */
const getCardinality = (graph, resourceURI) => {
  const includeLevel = getIncludeLevel(graph, resourceURI) || OPTIONAL;
  const max = getMax(graph, resourceURI);
  return {
    max,
    includeLevel
  };
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} level
 * @param {string|number|undefined} max
 */
const setCardinality = (graph, resourceURI, level, max) => {
  clearLevel(graph, resourceURI);
  switch (level) {
    case MANDATORY:
      setMandatory(graph, resourceURI);
      break;
    case RECOMMENDED:
      setRecommended(graph, resourceURI);
      break;
    case OPTIONAL:
      setOptional(graph, resourceURI);
      break;
    case '':
      graph.findAndRemove(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MIN);
      graph.findAndRemove(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_PREF);
      graph.findAndRemove(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_1__.RDF_PROPERTY_MAX);
      break;
    default:
      console.log(`Unknown include level ${level}`);
  }
  if (max) {
    setMax(graph, resourceURI);
  }
};

/**
 * Set cardinality in metadata based on rdforms template.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {object} template
 * @param {object} defaultCardinality
 */
const setCardinalityFromRfs = function setCardinalityFromRfs(graph, resourceURI, template) {
  let defaultCardinality = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {
    min: 0
  };
  const {
    cardinality = defaultCardinality
  } = template;
  const {
    min,
    pref,
    max
  } = cardinality;
  if (min) {
    setMandatory(graph, resourceURI);
  } else if (pref) {
    setRecommended(graph, resourceURI);
  } else if (min === 0 || pref === 0) {
    setOptional(graph, resourceURI);
  }
  if (max) {
    setMax(graph, resourceURI, max);
  }
};

/***/ },

/***/ "./modules/models/utils/choiceDefinitions.js"
/*!***************************************************!*\
  !*** ./modules/models/utils/choiceDefinitions.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CONSTRAINT_VALUE_EDIT_CHOICES: () => (/* binding */ CONSTRAINT_VALUE_EDIT_CHOICES),
/* harmony export */   DATATYPE_FIELD_CHOICE: () => (/* binding */ DATATYPE_FIELD_CHOICE),
/* harmony export */   FIELD_NODETYPE_CHOICES: () => (/* binding */ FIELD_NODETYPE_CHOICES),
/* harmony export */   FIELD_STATUS_CHOICES: () => (/* binding */ FIELD_STATUS_CHOICES),
/* harmony export */   FIELD_TYPE_CHOICES: () => (/* binding */ FIELD_TYPE_CHOICES),
/* harmony export */   FORM_NODETYPE_CHOICES: () => (/* binding */ FORM_NODETYPE_CHOICES),
/* harmony export */   FORM_TYPE_CHOICES: () => (/* binding */ FORM_TYPE_CHOICES),
/* harmony export */   INLINE_FIELD_CHOICE: () => (/* binding */ INLINE_FIELD_CHOICE),
/* harmony export */   LOOKUP_FIELD_CHOICE: () => (/* binding */ LOOKUP_FIELD_CHOICE),
/* harmony export */   OBJECT_FORM_CHOICE: () => (/* binding */ OBJECT_FORM_CHOICE),
/* harmony export */   PROFILE_FORM_CHOICE: () => (/* binding */ PROFILE_FORM_CHOICE),
/* harmony export */   PROPERTY_EDIT_MODE_CHOICES: () => (/* binding */ PROPERTY_EDIT_MODE_CHOICES),
/* harmony export */   PROPERTY_FORM_CHOICE: () => (/* binding */ PROPERTY_FORM_CHOICE),
/* harmony export */   SECTION_FORM_CHOICE: () => (/* binding */ SECTION_FORM_CHOICE),
/* harmony export */   SELECT_FIELD_CHOICE: () => (/* binding */ SELECT_FIELD_CHOICE),
/* harmony export */   SELECT_OPTIONS_VALUE_CHOICES: () => (/* binding */ SELECT_OPTIONS_VALUE_CHOICES),
/* harmony export */   TEXT_FIELD_CHOICE: () => (/* binding */ TEXT_FIELD_CHOICE)
/* harmony export */ });
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! models/utils/metadata */ "./modules/models/utils/metadata.js");


const FIELD_STATUS_CHOICES = [{
  labelNlsKey: 'unstableLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_STATUS_UNSTABLE
}, {
  labelNlsKey: 'stableLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_STATUS_STABLE
}, {
  labelNlsKey: 'deprecatedLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_STATUS_DEPRECATED
}];
const TEXT_FIELD_CHOICE = {
  labelNlsKey: 'textFieldLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_TEXT_FIELD
};
const DATATYPE_FIELD_CHOICE = {
  labelNlsKey: 'dataTypeLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_DATATYPE_FIELD
};
const SELECT_FIELD_CHOICE = {
  labelNlsKey: 'selectFieldLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_SELECT_FIELD
};
const LOOKUP_FIELD_CHOICE = {
  labelNlsKey: 'lookupFieldLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_LOOKUP_FIELD
};
const INLINE_FIELD_CHOICE = {
  labelNlsKey: 'inlineFieldLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_INLINE_FIELD
};
const FIELD_TYPE_CHOICES = [TEXT_FIELD_CHOICE, DATATYPE_FIELD_CHOICE, SELECT_FIELD_CHOICE, LOOKUP_FIELD_CHOICE, INLINE_FIELD_CHOICE];
const PROFILE_FORM_CHOICE = {
  labelNlsKey: 'profileFormLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_PROFILE_FORM
};
const SECTION_FORM_CHOICE = {
  labelNlsKey: 'sectionFormLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_SECTION_FORM
};
const OBJECT_FORM_CHOICE = {
  labelNlsKey: 'objectFormLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_OBJECT_FORM
};
// deprecated
const PROPERTY_FORM_CHOICE = {
  labelNlsKey: 'propertyFormLabel',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_PROPERTY_FORM
};
const FORM_TYPE_CHOICES = [PROFILE_FORM_CHOICE, SECTION_FORM_CHOICE, OBJECT_FORM_CHOICE];
const FIELD_NODETYPE_CHOICES = [{
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_LITERAL,
  label: {
    en: 'Literal'
  },
  constrainedTo: [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_TEXT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_SELECT_FIELD]
}, {
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_ONLY_LITERAL,
  label: {
    en: 'Only literal'
  },
  constrainedTo: [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_TEXT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_SELECT_FIELD]
}, {
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_LANGUAGE_LITERAL,
  label: {
    en: 'Language literal'
  },
  constrainedTo: [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_TEXT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_SELECT_FIELD]
}, {
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_URI,
  label: {
    en: 'URI'
  },
  constrainedTo: [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_TEXT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_LOOKUP_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_SELECT_FIELD]
}];
const FORM_NODETYPE_CHOICES = [{
  label: 'URI',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_URI
}, {
  label: 'Blank',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_BLANK
}, {
  label: 'Resource',
  value: models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_RESOURCE,
  constrainedTo: [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_OBJECT_FORM, models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_PROFILE_FORM]
}];
const PROPERTY_EDIT_MODE_CHOICES = [{
  labelNlsKey: 'selectPropertyLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.RESOURCE_ENTRY
}, {
  labelNlsKey: 'namespacePropertyLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.NAMESPACE_ENTRY
}, {
  labelNlsKey: 'manualPropertyLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.RESOURCE
}];
const SELECT_OPTIONS_VALUE_CHOICES = [{
  labelNlsKey: 'namespacePropertyLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.NAMESPACE_ENTRY
}, {
  labelNlsKey: 'manualPropertyLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.RESOURCE
}];
const CONSTRAINT_VALUE_EDIT_CHOICES = [{
  labelNlsKey: 'namespacePropertyLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.NAMESPACE_ENTRY
}, {
  labelNlsKey: 'manualPropertyLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.RESOURCE
}, {
  labelNlsKey: 'selectClassLabel',
  value: models_utils_metadata__WEBPACK_IMPORTED_MODULE_1__.RESOURCE_ENTRY
}];

/***/ },

/***/ "./modules/models/utils/constraint.js"
/*!********************************************!*\
  !*** ./modules/models/utils/constraint.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ADVANCED_CONSTRAINT: () => (/* binding */ ADVANCED_CONSTRAINT),
/* harmony export */   CLASS_ENTRY: () => (/* binding */ CLASS_ENTRY),
/* harmony export */   MAIN_EDIT_MODE_CHOICES: () => (/* binding */ MAIN_EDIT_MODE_CHOICES),
/* harmony export */   MISSING_PROPERTY: () => (/* binding */ MISSING_PROPERTY),
/* harmony export */   USE_TERMINOLOGY: () => (/* binding */ USE_TERMINOLOGY),
/* harmony export */   extractConstraints: () => (/* binding */ extractConstraints),
/* harmony export */   findConstraint: () => (/* binding */ findConstraint),
/* harmony export */   findConstraintFieldGroups: () => (/* binding */ findConstraintFieldGroups),
/* harmony export */   getAdvancedConstraints: () => (/* binding */ getAdvancedConstraints),
/* harmony export */   getClassEntryConstraint: () => (/* binding */ getClassEntryConstraint),
/* harmony export */   getConstraintProperty: () => (/* binding */ getConstraintProperty),
/* harmony export */   getConstraintType: () => (/* binding */ getConstraintType),
/* harmony export */   getConstraints: () => (/* binding */ getConstraints),
/* harmony export */   getErrorTexts: () => (/* binding */ getErrorTexts),
/* harmony export */   validateConstraint: () => (/* binding */ validateConstraint)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.from-entries.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.from-entries.js");
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_components_forms_editors_utils_OrderedFieldGroup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/forms/editors/utils/OrderedFieldGroup */ "./modules/commons/components/forms/editors/utils/OrderedFieldGroup.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var commons_components_forms_editors_utils_FieldGroup__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/forms/editors/utils/FieldGroup */ "./modules/commons/components/forms/editors/utils/FieldGroup.js");
/* harmony import */ var commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/forms/editors/utils/editorContext */ "./modules/commons/components/forms/editors/utils/editorContext.js");
/* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./metadata */ "./modules/models/utils/metadata.js");















const MISSING_PROPERTY = 'missingPropertyError';
const CLASS_ENTRY = 'classEntry';
const USE_TERMINOLOGY = 'useTerminology';
const ADVANCED_CONSTRAINT = 'advancedConstraint';
const MAIN_EDIT_MODE_CHOICES = [{
  labelNlsKey: 'selectClassLabel',
  value: CLASS_ENTRY
}, {
  labelNlsKey: 'selectTerminologyLabel',
  value: USE_TERMINOLOGY,
  constrainedTo: [models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_LOOKUP_FIELD]
}, {
  labelNlsKey: 'advancedLabel',
  value: ADVANCED_CONSTRAINT
}];

/**
 *
 * @param {Graph} graph
 * @param {object} field
 * @returns {Array<(string|undefined)>}
 */
const findConstraint = (graph, field) => {
  const blankNodeId = field.getBlankNodeId();
  const property = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT_PROPERTY);
  const value = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT_VALUE);
  return [property, value];
};

/**
 *
 * @param {string} errorText
 * @param {string[]} errors
 * @returns {string[]}
 */
const getErrorTexts = (errorText, errors) => {
  if (!errorText) return ['', ''];
  return errors.map(error => error ? errorText : ' ');
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {string|undefined}
 */
const getConstraintType = (graph, resourceURI) => {
  const [statement] = graph.find(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT);
  if (!statement) return;
  const blankNodeId = statement.getValue();
  const isAdvanced = graph.find(blankNodeId, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_TYPE_CONSTRAINT).length > 0;
  if (isAdvanced) return ADVANCED_CONSTRAINT;
  if (graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_TERMINOLOGY)) return USE_TERMINOLOGY;
  return CLASS_ENTRY;
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {Promise<string>}
 */
const getConstraintProperty = (graph, resourceURI) => {
  const propertyType = (0,_metadata__WEBPACK_IMPORTED_MODULE_14__.getURIEditorType)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT_PROPERTY, _metadata__WEBPACK_IMPORTED_MODULE_14__.RESOURCE_ENTRY);
  if (propertyType === _metadata__WEBPACK_IMPORTED_MODULE_14__.RESOURCE) return Promise.resolve(graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT_PROPERTY));
  if (propertyType === _metadata__WEBPACK_IMPORTED_MODULE_14__.NAMESPACE_ENTRY) {
    return (0,_metadata__WEBPACK_IMPORTED_MODULE_14__.getNamespaceEntryValue)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT_PROPERTY);
  }
  return (0,_metadata__WEBPACK_IMPORTED_MODULE_14__.getResourceEntryValue)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT_PROPERTY);
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {Promise<string>}
 */
const getConstraintValue = async (graph, resourceURI) => {
  const valueType = (0,_metadata__WEBPACK_IMPORTED_MODULE_14__.getURIEditorType)(graph, resourceURI, 'rdf:value', _metadata__WEBPACK_IMPORTED_MODULE_14__.NAMESPACE_ENTRY);
  if (valueType === _metadata__WEBPACK_IMPORTED_MODULE_14__.RESOURCE) return Promise.resolve(graph.findFirstValue(resourceURI, 'rdf:value'));
  if (valueType === _metadata__WEBPACK_IMPORTED_MODULE_14__.RESOURCE_ENTRY) {
    return (0,_metadata__WEBPACK_IMPORTED_MODULE_14__.getResourceEntryValue)(graph, resourceURI, 'rdf:value');
  }
  return (0,_metadata__WEBPACK_IMPORTED_MODULE_14__.getNamespaceEntryValue)(graph, resourceURI, 'rdf:value');
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {object|undefined}
 */
const getAdvancedConstraints = async (graph, resourceURI) => {
  const statements = graph.find(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT);
  if (!statements.length) return;
  const constraints = await Promise.all(statements.map(async statement => {
    const blankNodeId = statement.getValue();
    const constraintProperty = await getConstraintProperty(graph, blankNodeId);
    const valueStatements = graph.find(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT_VALUE);

    // constraint values
    const constraintValuesPromises = valueStatements.map(async valueStatement => {
      const valueBlankNodeId = valueStatement.getValue();
      const order = graph.findFirstValue(valueBlankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_ORDER);
      const constraintValue = await getConstraintValue(graph, valueBlankNodeId);
      return {
        constraintValue,
        order
      };
    });
    const constraintValues = await Promise.all(constraintValuesPromises).then(values => {
      return values.sort((_ref, _ref2) => {
        let {
          order: firstOrder
        } = _ref;
        let {
          order: secondOrder
        } = _ref2;
        return firstOrder < secondOrder ? -1 : 1;
      }).map(_ref3 => {
        let {
          constraintValue
        } = _ref3;
        return constraintValue;
      });
    });
    return [constraintProperty, constraintValues];
  }));
  return Object.fromEntries(constraints);
};
const getResourceURIForResourceEntry = async (graph, resourceURI, property) => {
  const blankNodeId = graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_CONSTRAINT);
  if (!blankNodeId) return '';

  // constraint value
  const entryURI = graph.findFirstValue(blankNodeId, property);
  const entry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_9__.getOrIgnoreEntry)(entryURI);
  if (!entry) return '';
  return entry.getResourceURI();
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {object|undefined}
 */
const getClassEntryConstraint = async (graph, resourceURI) => {
  const constraintValue = await getResourceURIForResourceEntry(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_RESOURCE_ENTRY);
  return {
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#type': constraintValue
  };
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {Promise<object>}
 */
const getTerminologyConstraint = async (graph, resourceURI) => {
  const constraintValue = await getResourceURIForResourceEntry(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_6__.RDF_PROPERTY_TERMINOLOGY);
  return {
    'http://www.w3.org/2004/02/skos/core#inScheme': constraintValue,
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#type': 'http://www.w3.org/2004/02/skos/core#Concept'
  };
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {object|undefined}
 */
const getConstraints = (graph, resourceURI) => {
  const constraintType = getConstraintType(graph, resourceURI);
  if (!constraintType) return;
  if (constraintType === ADVANCED_CONSTRAINT) return Promise.resolve(getAdvancedConstraints(graph, resourceURI));
  if (constraintType === USE_TERMINOLOGY) return getTerminologyConstraint(graph, resourceURI);
  return getClassEntryConstraint(graph, resourceURI);
};

/**
 * Wrapper for getConstraints using entry and optional resourceURI
 *
 * @param {Entry} entry
 * @param {string} resourceURI
 * @returns {object|undefined}
 */
const extractConstraints = (entry, resourceURI) => {
  return getConstraints(entry.getMetadata(), resourceURI || entry.getResourceURI());
};

/**
 * Find all dependent field groups for a ordered value group, in a field group
 * set.
 *
 * @param {Set} fieldSet
 * @param {FieldGroup} constraintGroup
 * @returns {FieldGroup[]}
 */
const getOrderedValueGroups = (fieldSet, constraintGroup) => {
  const constraintValue = constraintGroup.getFields()[0];
  const bnode = constraintValue.getBlank().getBlankNodeId();

  // one value group for one constraint order/value pair
  const [valueBlankGroup] = (0,commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_13__.findGroupsByResourceURI)(fieldSet, bnode);
  const valueGroups = [valueBlankGroup];

  // A value group can only have one field value (rdf:value)
  const valueField = valueBlankGroup.getFields()[0];

  // A field value can either be a literal or blank node. If it's a blank node,
  // the dependent groups are detected.
  if (!(valueField instanceof commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Blank)) return valueGroups;
  const groups = (0,commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_13__.findGroupsByResourceURI)(fieldSet, valueField.getBlankNodeId());
  valueGroups.push(...groups);
  return valueGroups;
};

/**
 * Find all dependent field groups for a constraint group, in a field group
 * set.
 *
 * @param {Set} fieldSet
 * @param {FieldGroup} constraintGroup
 * @returns {FieldGroup[]}
 */
const getPropertyGroups = (fieldSet, constraintGroup) => {
  const constraintPropertyField = constraintGroup.getFields()[0];
  // A field value can either be a literal or blank node. If it's a blank node,
  // the dependent groups are detected.
  if (!(constraintPropertyField instanceof commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_11__.Blank)) return [];
  const groups = (0,commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_13__.findGroupsByResourceURI)(fieldSet, constraintPropertyField.getBlankNodeId());
  return groups;
};

/**
 * Find all dependent field groups for a constraint blank node, in a field group
 * set.
 *
 * @param {Set} fieldSet
 * @param {string} constraintBlankNodeId
 * @returns {FieldGroup[]}
 */
const findConstraintFieldGroups = (fieldSet, constraintBlankNodeId) => {
  // Each constraint has a property and value. Find the groups for these.
  const constraintGroups = (0,commons_components_forms_editors_utils_editorContext__WEBPACK_IMPORTED_MODULE_13__.findGroupsByResourceURI)(fieldSet, constraintBlankNodeId);
  const allGroups = [...constraintGroups];
  // get the dependencies for the constraint groups
  constraintGroups.forEach(constraintGroup => {
    // get all groups dependent on the value constraint
    if (constraintGroup instanceof commons_components_forms_editors_utils_OrderedFieldGroup__WEBPACK_IMPORTED_MODULE_10__.OrderedFieldGroup) {
      const valueGroups = getOrderedValueGroups(fieldSet, constraintGroup);
      allGroups.push(...valueGroups);
      return;
    }
    // get all groups dependent on the property constraint
    const propertyGroups = getPropertyGroups(fieldSet, constraintGroup);
    allGroups.push(...propertyGroups);
  });
  return allGroups;
};

// validate constraint, both property and values
const validateConstraint = (validate, subform) => {
  return isMandatory => {
    return validate(isMandatory && subform.isAsserted());
  };
};

/***/ },

/***/ "./modules/models/utils/deps.js"
/*!**************************************!*\
  !*** ./modules/models/utils/deps.js ***!
  \**************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getDeps: () => (/* binding */ getDeps)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");





/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {Promise<[Entry,string]>}
 */
const getDeps = async (graph, resourceURI) => {
  const entryURI = graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_2__.RDF_PROPERTY_DEPENDS_ON);
  const value = graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_2__.RDF_PROPERTY_DEPENDS_ON_VALUE);
  if (!entryURI || !value) return;
  try {
    const entry = await commons_store__WEBPACK_IMPORTED_MODULE_3__.entrystore.getEntry(entryURI);
    return [entry, value];
  } catch (error) {
    console.error(`Could not find referred deps entry with id: ${entryURI}`);
  }
};

/***/ },

/***/ "./modules/models/utils/errors.js"
/*!****************************************!*\
  !*** ./modules/models/utils/errors.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   BrokenReferenceError: () => (/* binding */ BrokenReferenceError),
/* harmony export */   CircularError: () => (/* binding */ CircularError)
/* harmony export */ });
class CircularError extends Error {
  constructor(message) {
    super(message);
    this.name = 'CircularError';
  }
}
class BrokenReferenceError extends Error {
  constructor(message, brokenRef) {
    super(message);
    this.name = 'BrokenReferenceError';
    this.brokenRef = brokenRef;
  }
}

/***/ },

/***/ "./modules/models/utils/fieldDefinitions.js"
/*!**************************************************!*\
  !*** ./modules/models/utils/fieldDefinitions.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FIELDS_FORMS_INFO: () => (/* binding */ FIELDS_FORMS_INFO),
/* harmony export */   FIELD_ABBREVIATION: () => (/* binding */ FIELD_ABBREVIATION),
/* harmony export */   FIELD_ALTERNATIVE_TEXT: () => (/* binding */ FIELD_ALTERNATIVE_TEXT),
/* harmony export */   FIELD_ATTRIBUTE: () => (/* binding */ FIELD_ATTRIBUTE),
/* harmony export */   FIELD_CARDINALITY: () => (/* binding */ FIELD_CARDINALITY),
/* harmony export */   FIELD_CONSTRAINT: () => (/* binding */ FIELD_CONSTRAINT),
/* harmony export */   FIELD_CSS: () => (/* binding */ FIELD_CSS),
/* harmony export */   FIELD_DATATYPE: () => (/* binding */ FIELD_DATATYPE),
/* harmony export */   FIELD_DCT_DESCRIPTION: () => (/* binding */ FIELD_DCT_DESCRIPTION),
/* harmony export */   FIELD_DEPS: () => (/* binding */ FIELD_DEPS),
/* harmony export */   FIELD_DESCRIPTION: () => (/* binding */ FIELD_DESCRIPTION),
/* harmony export */   FIELD_EDIT_DESCRIPTION: () => (/* binding */ FIELD_EDIT_DESCRIPTION),
/* harmony export */   FIELD_EDIT_LABEL: () => (/* binding */ FIELD_EDIT_LABEL),
/* harmony export */   FIELD_EXTENDS: () => (/* binding */ FIELD_EXTENDS),
/* harmony export */   FIELD_FIELD_FORM_TYPE: () => (/* binding */ FIELD_FIELD_FORM_TYPE),
/* harmony export */   FIELD_FORMAT: () => (/* binding */ FIELD_FORMAT),
/* harmony export */   FIELD_HELP: () => (/* binding */ FIELD_HELP),
/* harmony export */   FIELD_INLINE: () => (/* binding */ FIELD_INLINE),
/* harmony export */   FIELD_LABEL: () => (/* binding */ FIELD_LABEL),
/* harmony export */   FIELD_LANGUAGE: () => (/* binding */ FIELD_LANGUAGE),
/* harmony export */   FIELD_MODEL: () => (/* binding */ FIELD_MODEL),
/* harmony export */   FIELD_NAMESPACE: () => (/* binding */ FIELD_NAMESPACE),
/* harmony export */   FIELD_NODETYPE: () => (/* binding */ FIELD_NODETYPE),
/* harmony export */   FIELD_OVERRIDE_FORM_ITEMS: () => (/* binding */ FIELD_OVERRIDE_FORM_ITEMS),
/* harmony export */   FIELD_PATTERN: () => (/* binding */ FIELD_PATTERN),
/* harmony export */   FIELD_PLACEHOLDER: () => (/* binding */ FIELD_PLACEHOLDER),
/* harmony export */   FIELD_PROPERTY: () => (/* binding */ FIELD_PROPERTY),
/* harmony export */   FIELD_PURPOSE: () => (/* binding */ FIELD_PURPOSE),
/* harmony export */   FIELD_SPECIFICATION: () => (/* binding */ FIELD_SPECIFICATION),
/* harmony export */   FIELD_STATUS: () => (/* binding */ FIELD_STATUS),
/* harmony export */   FIELD_TITLE: () => (/* binding */ FIELD_TITLE),
/* harmony export */   FIELD_TYPE: () => (/* binding */ FIELD_TYPE),
/* harmony export */   FIELD_VALUE: () => (/* binding */ FIELD_VALUE),
/* harmony export */   FIELD_VALUE_TEMPLATE: () => (/* binding */ FIELD_VALUE_TEMPLATE)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/forms/editors */ "./modules/commons/components/forms/editors/index.js");
/* harmony import */ var models_editors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/editors */ "./modules/models/editors/index.js");
/* harmony import */ var models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/utils/choiceDefinitions */ "./modules/models/utils/choiceDefinitions.js");
/* harmony import */ var commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/forms/presenters */ "./modules/commons/components/forms/presenters/index.js");
/* harmony import */ var models_namespaces_utils_builtinNamespaces__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/namespaces/utils/builtinNamespaces */ "./modules/models/namespaces/utils/builtinNamespaces.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_metadata__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/metadata */ "./modules/commons/util/metadata.js");
/* harmony import */ var _presenters__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../presenters */ "./modules/models/presenters/index.js");
/* harmony import */ var _presenters_ObjectFormLink__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../presenters/ObjectFormLink */ "./modules/models/presenters/ObjectFormLink/index.js");
/* harmony import */ var _presenters_Constraints__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../presenters/Constraints */ "./modules/models/presenters/Constraints/index.js");
/* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./metadata */ "./modules/models/utils/metadata.js");
/* harmony import */ var _filterDefinitions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./filterDefinitions */ "./modules/models/utils/filterDefinitions.js");
/* harmony import */ var _deps__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./deps */ "./modules/models/utils/deps.js");





function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















const DATATYPE_NAMESPACES = ['xsd:decimal', 'xsd:integer', 'xsd:nonNegativeInteger', 'xsd:nonPositiveInteger', 'xsd:boolean', 'xsd:duration', 'xsd:date', 'xsd:dateTime', 'xsd:time', 'xsd:gYear', 'xsd:gYearMonth', 'xsd:gMonthDay', 'xsd:hexBinary', 'xsd:anyURI', 'xsd:float', 'rdf:JSON', 'rdf:HTML', 'rdf:XMLLiteral', 'gsp:wktLiteral'];
const FIELD_TITLE = {
  name: 'title',
  property: 'dcterms:title',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  labelNlsKey: 'titleLabel',
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  mandatory: true
};
const FIELD_DCT_DESCRIPTION = {
  name: 'dct-description',
  property: 'dcterms:description',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  labelNlsKey: 'descriptionLabel',
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  mandatory: false
};
const FIELD_ALTERNATIVE_TEXT = {
  name: 'alternative-text',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.BLANK,
  rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_TEXT,
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_TEXT,
  labelNlsKey: 'alternativeTextLabel',
  placeholderNlsKey: 'alternativeTextPlaceholder',
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.Subform,
  Presenter: _presenters__WEBPACK_IMPORTED_MODULE_14__.AlternativeTexts,
  editors: [{
    name: 'alternative-text-role',
    labelNlsKey: 'textRoleLabel',
    Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.SelectEditor,
    nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LITERAL,
    property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ROLE,
    getChoices: () => config__WEBPACK_IMPORTED_MODULE_6__["default"].get('models.alternativeTexts'),
    mandatory: true,
    xs: 5,
    max: 1
  }, _objectSpread(_objectSpread({}, FIELD_TITLE), {}, {
    property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_VALUE,
    labelNlsKey: 'textLabel'
  })],
  extendable: true
};
const FIELD_TYPE = {
  name: 'type',
  property: 'rdf:type',
  labelNlsKey: 'fieldType',
  nodetype: 'URI',
  typeField: true,
  choices: models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_9__.FIELD_TYPE_CHOICES,
  max: 1,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.RadioEditor,
  mandatory: true,
  row: true,
  isFormType: true,
  jsonAttribute: 'type'
};
const FIELD_PROPERTY = {
  name: 'property',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_PROPERTY,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.URI,
  labelNlsKey: 'propertyLabel',
  Editor: models_editors__WEBPACK_IMPORTED_MODULE_8__.PropertyEditor,
  Presenter: _presenters__WEBPACK_IMPORTED_MODULE_14__.Property,
  max: 1,
  min: 1,
  jsonAttribute: 'property',
  editChoices: models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_9__.PROPERTY_EDIT_MODE_CHOICES,
  extendable: true
};
const FIELD_NODETYPE = {
  name: 'nodetype',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_NODETYPE,
  labelNlsKey: 'nodetypeLabel',
  choices: models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_9__.FIELD_NODETYPE_CHOICES,
  Editor: models_editors__WEBPACK_IMPORTED_MODULE_8__.NodetypeEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Choices,
  jsonAttribute: 'nodetype',
  mandatory: true,
  resetOnFormType: true,
  isVisible: (graph, resourceURI) => [models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_TEXT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_SELECT_FIELD].some(type => Boolean(graph.find(resourceURI, 'rdf:type', type).length))
};
const FIELD_DATATYPE = {
  name: 'datatype',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_DATATYPE,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.OrderedFieldsEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Choices,
  labelNlsKey: 'datatypeLabel',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.URI,
  choices: DATATYPE_NAMESPACES.map(namespace => ({
    label: namespace,
    value: namespace
  })),
  ordered: true,
  orderProperty: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ORDER,
  resetOnFormType: true,
  isVisible: (graph, resourceURI) => Boolean(graph.find(resourceURI, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATATYPE_FIELD).length),
  jsonAttribute: 'datatype'
};
const FIELD_STATUS = {
  name: 'status',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_STATUS,
  labelNlsKey: 'statusLabel',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.URI,
  choices: models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_9__.FIELD_STATUS_CHOICES,
  max: 1,
  row: true,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.RadioEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Choices,
  extendable: true
};
const FIELD_CARDINALITY = {
  name: 'cardinality',
  property: `${models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_PREF} ${models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_MIN} ${models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_MAX}`,
  Editor: models_editors__WEBPACK_IMPORTED_MODULE_8__.CardinalityEditor,
  Presenter: _presenters__WEBPACK_IMPORTED_MODULE_14__.Cardinality,
  extendable: true,
  labelNlsKey: 'cardinalityLabel',
  jsonAttribute: 'cardinality'
};
const FIELD_LABEL = {
  name: 'label',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_LABEL,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  extendable: true,
  addable: true,
  labelNlsKey: 'labelLabel',
  jsonAttribute: 'label'
};
const FIELD_DESCRIPTION = {
  name: 'description',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_DESCRIPTION,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  extendable: true,
  excludable: true,
  addable: true,
  labelNlsKey: 'descriptionLabel',
  multiline: true,
  jsonAttribute: 'description'
};
const FIELD_PURPOSE = {
  name: 'purpose',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_PURPOSE,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  labelNlsKey: 'purposeLabel',
  multiline: true,
  jsonAttribute: 'purpose'
};
const FIELD_HELP = {
  name: 'help',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_HELP,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  extendable: true,
  excludable: true,
  addable: true,
  labelNlsKey: 'helpLabel',
  multiline: true,
  jsonAttribute: 'help'
};
const FIELD_PLACEHOLDER = {
  name: 'placeholder',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_PLACEHOLDER,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  extendable: true,
  excludable: true,
  addable: true,
  labelNlsKey: 'placeholderLabel',
  jsonAttribute: 'placeholder'
};
const FIELD_SPECIFICATION = {
  name: 'specification',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_SPECIFICATION,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  labelNlsKey: 'specificationLabel',
  jsonAttribute: 'specification'
};
const FIELD_EDIT_LABEL = {
  name: 'editlabel',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_EDIT_LABEL,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  extendable: true,
  excludable: true,
  addable: true,
  labelNlsKey: 'editLabelLabel',
  jsonAttribute: 'editlabel'
};
const FIELD_EDIT_DESCRIPTION = {
  name: 'editdescription',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_EDIT_DESCRIPTION,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LANGUAGE_LITERAL,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LanguageLiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.LanguageLiteral,
  extendable: true,
  excludable: true,
  addable: true,
  labelNlsKey: 'editDescriptionLabel',
  multiline: true,
  jsonAttribute: 'editdescription'
};
const FIELD_CSS = {
  name: 'cls',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_CSS,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Literal,
  extendable: true,
  excludable: true,
  labelNlsKey: 'cssClassLabel',
  jsonAttribute: 'cls'
};
const FIELD_ATTRIBUTE = {
  name: 'attribute',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_ATTRIBUTE,
  Presenter: _presenters__WEBPACK_IMPORTED_MODULE_14__.Attributes,
  Editor: models_editors__WEBPACK_IMPORTED_MODULE_8__.AttributesEditor,
  extendable: true,
  excludable: true,
  labelNlsKey: 'attributesLabel',
  jsonAttribute: 'styles'
};
const FIELD_CONSTRAINT = {
  name: 'constraints',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_CONSTRAINT,
  Editor: models_editors__WEBPACK_IMPORTED_MODULE_8__.ConstraintEditor,
  Presenter: _presenters_Constraints__WEBPACK_IMPORTED_MODULE_16__.Constraints,
  labelNlsKey: 'constraintLabel',
  isVisible: (graph, resourceURI) => [models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_SELECT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_LOOKUP_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_PROFILE_FORM, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_PROPERTY_FORM, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_OBJECT_FORM].some(type => Boolean(graph.find(resourceURI, 'rdf:type', type).length)),
  jsonAttribute: 'constraints'
};
const FIELD_LANGUAGE = {
  name: 'language',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_LANGUAGE,
  Editor: models_editors__WEBPACK_IMPORTED_MODULE_8__.LanguageEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Choices,
  labelNlsKey: 'languageLabel',
  excludable: true,
  isVisible: (graph, resourceURI) => Boolean(graph.find(resourceURI, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_TEXT_FIELD).length),
  jsonAttribute: 'language'
};
const FIELD_EXTENDS = {
  name: 'extends',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_EXTENDS,
  choices: models_utils_choiceDefinitions__WEBPACK_IMPORTED_MODULE_9__.FIELD_TYPE_CHOICES,
  labelNlsKey: 'extendsLabel',
  mandatory: true,
  Presenter: _presenters__WEBPACK_IMPORTED_MODULE_14__.ExtendedLink,
  jsonAttribute: 'extends'
};
const FIELD_VALUE = {
  name: 'value',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_VALUE,
  labelNlsKey: 'valueLabel',
  excludable: true,
  jsonAttribute: 'value'
};
const FIELD_VALUE_TEMPLATE = {
  name: 'template',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_VALUE_TEMPLATE,
  labelNlsKey: 'valueTemplateLabel',
  max: 1,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Literal,
  excludable: true,
  isVisible: (graph, resourceURI) => [models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_TEXT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATATYPE_FIELD].some(type => Boolean(graph.find(resourceURI, 'rdf:type', type).length)),
  jsonAttribute: 'valueTemplate'
};
const FIELD_PATTERN = {
  name: 'pattern',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_PATTERN,
  labelNlsKey: 'patternLabel',
  max: 1,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Literal,
  excludable: true,
  isVisible: (graph, resourceURI) => [models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_TEXT_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_DATATYPE_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_LOOKUP_FIELD, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_OBJECT_FORM].some(type => Boolean(graph.find(resourceURI, 'rdf:type', type).length)),
  jsonAttribute: 'pattern'
};
const FIELD_ABBREVIATION = {
  name: 'abbreviation',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_PREFIX,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LiteralEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Literal,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LITERAL,
  labelNlsKey: 'abbreviationLabel',
  mandatory: true,
  max: 1,
  xs: 12,
  validate: (_validate, fieldGroup) => {
    return isMandatory => {
      const validationResult = _validate(isMandatory);
      if (validationResult) return validationResult;
      const [field] = fieldGroup.getFields();
      if (!field) return;
      const namespaceAbbreviationValue = field.getValue();
      const hasBuiltinNamespaceError = namespaceAbbreviationValue && models_namespaces_utils_builtinNamespaces__WEBPACK_IMPORTED_MODULE_11__.builtinNamespacesAbbreviations.includes(namespaceAbbreviationValue);
      if (hasBuiltinNamespaceError) {
        field.setError('builtinNamespaceError');
        return field.getError();
      }
    };
  }
};
const FIELD_NAMESPACE = {
  name: 'namespace',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_NAMESPACE,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LiteralEditor,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.URI,
  labelNlsKey: 'namespaceLabel',
  mandatory: true,
  max: 1,
  xs: 12
};
const FIELD_MODEL = {
  name: 'model',
  direct: false,
  getValue: _ref => {
    let {
      entry
    } = _ref;
    return (0,_metadata__WEBPACK_IMPORTED_MODULE_17__.getModelName)(entry.getContext());
  },
  labelNlsKey: 'modelLabel'
};
const FIELD_FIELD_FORM_TYPE = {
  name: 'field-form-type',
  labelNlsKey: 'typeLabel',
  getValue: _metadata__WEBPACK_IMPORTED_MODULE_17__.getType
};
const FIELDS_FORMS_INFO = [FIELD_TITLE, FIELD_FIELD_FORM_TYPE, FIELD_PURPOSE, FIELD_PROPERTY, FIELD_MODEL, FIELD_EXTENDS, FIELD_STATUS];
const FIELD_INLINE = {
  name: 'field-inline',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_INLINE,
  labelNlsKey: 'inlineFormLabel',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.URI,
  mandatory: true,
  max: 1,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.SelectEntryEditor,
  Presenter: _presenters_ObjectFormLink__WEBPACK_IMPORTED_MODULE_15__.ObjectFormLink,
  selectEntryTooltipNlsKey: 'selectInlineFormTooltip',
  dialogProps: {
    rdfType: [models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_OBJECT_FORM, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_PROPERTY_FORM],
    infoFields: FIELDS_FORMS_INFO,
    filters: [_filterDefinitions__WEBPACK_IMPORTED_MODULE_18__.STATUS_FILTER]
  },
  resetOnFormType: true,
  isVisible: (graph, resourceURI) => Boolean(graph.find(resourceURI, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_INLINE_FIELD).length)
};
const FIELD_DEPS = {
  name: 'deps',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_DEPENDS_ON,
  labelNlsKey: 'depsFieldLabel',
  Editor: models_editors__WEBPACK_IMPORTED_MODULE_8__.DepsEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Presenter,
  extendable: true,
  excludable: true,
  getValue: async _ref2 => {
    let {
      graph,
      resourceURI
    } = _ref2;
    const [entry, value] = await (0,_deps__WEBPACK_IMPORTED_MODULE_19__.getDeps)(graph, resourceURI);
    if (!entry) return '';
    return `${(0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_12__.getLabel)(entry)}: ${value}`;
  },
  direct: false,
  isVisible: (graph, resourceURI) => (0,commons_util_metadata__WEBPACK_IMPORTED_MODULE_13__.isType)(graph, resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_TYPE_FIELD)
};
const FIELD_OVERRIDE_FORM_ITEMS = {
  name: 'override-formitems',
  property: models_utils_ns__WEBPACK_IMPORTED_MODULE_5__.RDF_PROPERTY_OVERRIDE_FORM_ITEMS,
  labelNlsKey: 'extendsTypeLabel',
  max: 1,
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LITERAL,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.RadioEditor,
  Presenter: commons_components_forms_presenters__WEBPACK_IMPORTED_MODULE_10__.Literal,
  mandatory: true,
  initialValue: 'replace',
  choices: [{
    label: 'Replace',
    value: 'replace'
  }, {
    label: 'Append',
    value: 'append'
  }],
  row: true
};
const TURTLE_FORMAT = 'text/turtle';
const RDF_XML_FORMAT = 'application/rdf+xml';
const FIELD_FORMAT = {
  name: 'type',
  property: 'dcterms:format',
  labelNlsKey: 'formatLabel',
  nodetype: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.LITERAL,
  initialValue: TURTLE_FORMAT,
  choices: [{
    label: 'Turtle',
    value: TURTLE_FORMAT
  }, {
    label: 'RDF/XML',
    value: RDF_XML_FORMAT
  }],
  max: 1,
  Editor: commons_components_forms_editors__WEBPACK_IMPORTED_MODULE_7__.RadioEditor,
  mandatory: true,
  row: true
};

/***/ },

/***/ "./modules/models/utils/filterDefinitions.js"
/*!***************************************************!*\
  !*** ./modules/models/utils/filterDefinitions.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MODEL_FILTER: () => (/* binding */ MODEL_FILTER),
/* harmony export */   STATUS_FILTER: () => (/* binding */ STATUS_FILTER),
/* harmony export */   TYPE_FILTER: () => (/* binding */ TYPE_FILTER),
/* harmony export */   getModelItems: () => (/* binding */ getModelItems)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var _choiceDefinitions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./choiceDefinitions */ "./modules/models/utils/choiceDefinitions.js");
/* harmony import */ var _model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./model */ "./modules/models/utils/model.js");







const STATUS_FILTER = {
  headerNlsKey: 'statusLabel',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    if (value === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_4__.ANY) return query;
    query.uriProperty('rfs:status', value);
  },
  items: [{
    labelNlsKey: 'anyFilterLabel',
    value: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_4__.ANY
  }, ..._choiceDefinitions__WEBPACK_IMPORTED_MODULE_5__.FIELD_STATUS_CHOICES],
  id: 'status-filter'
};
const TYPE_FILTER = {
  headerNlsKey: 'typeLabel',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    if (value === commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_4__.ANY) return query;
    query.rdfType(value);
  },
  id: 'type-filter'
};
const getModelItems = async currentContextId => {
  const modelEntries = await (0,_model__WEBPACK_IMPORTED_MODULE_6__.getModelEntries)();
  const modelItems = [];
  for (const modelEntry of modelEntries) {
    if (modelEntry.getId() === currentContextId) {
      modelItems.unshift({
        value: modelEntry.getId(),
        labelNlsKey: 'currentProjectLabel'
      });
    } else {
      modelItems.push({
        value: modelEntry.getId(),
        label: (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_3__.getLabel)(modelEntry)
      });
    }
  }
  return [{
    value: commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_4__.ANY,
    labelNlsKey: 'selectAll'
  }, ...modelItems];
};
const MODEL_FILTER = {
  type: 'autocomplete',
  headerNlsKey: 'projectLabel',
  applyFilterParams: (query, filter) => {
    const value = filter.getSelected();
    if (value === 'all') return query;
    return query.context(value);
  },
  id: 'model-filter'
};

/***/ },

/***/ "./modules/models/utils/forms.js"
/*!***************************************!*\
  !*** ./modules/models/utils/forms.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   isForm: () => (/* binding */ isForm)
/* harmony export */ });
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");


/**
 *
 * @params {{graph: Graph, resourceURI: string}} entry
 * @returns {boolean}
 */
const isForm = _ref => {
  let {
    graph,
    resourceURI
  } = _ref;
  return Boolean(graph.find(resourceURI, 'rdf:type', models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_TYPE_FORM).length);
};

/***/ },

/***/ "./modules/models/utils/metadata.js"
/*!******************************************!*\
  !*** ./modules/models/utils/metadata.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NAMESPACE_ENTRY: () => (/* binding */ NAMESPACE_ENTRY),
/* harmony export */   RESOURCE: () => (/* binding */ RESOURCE),
/* harmony export */   RESOURCE_ENTRY: () => (/* binding */ RESOURCE_ENTRY),
/* harmony export */   addLanguageLiterals: () => (/* binding */ addLanguageLiterals),
/* harmony export */   applyEntryProps: () => (/* binding */ applyEntryProps),
/* harmony export */   checkOverrideFormItems: () => (/* binding */ checkOverrideFormItems),
/* harmony export */   copyLanguageLiteral: () => (/* binding */ copyLanguageLiteral),
/* harmony export */   copyRdfType: () => (/* binding */ copyRdfType),
/* harmony export */   copyTitleToLabel: () => (/* binding */ copyTitleToLabel),
/* harmony export */   findFirstExtendedWithValue: () => (/* binding */ findFirstExtendedWithValue),
/* harmony export */   findFirstWithValue: () => (/* binding */ findFirstWithValue),
/* harmony export */   getBlankNodeIds: () => (/* binding */ getBlankNodeIds),
/* harmony export */   getCleanupTypeNlsKey: () => (/* binding */ getCleanupTypeNlsKey),
/* harmony export */   getEntryProps: () => (/* binding */ getEntryProps),
/* harmony export */   getExtendedEntry: () => (/* binding */ getExtendedEntry),
/* harmony export */   getLanguageLiterals: () => (/* binding */ getLanguageLiterals),
/* harmony export */   getLocalnameAndNamespaceURI: () => (/* binding */ getLocalnameAndNamespaceURI),
/* harmony export */   getModelName: () => (/* binding */ getModelName),
/* harmony export */   getNLSAndRDFType: () => (/* binding */ getNLSAndRDFType),
/* harmony export */   getNamespaceEntryValue: () => (/* binding */ getNamespaceEntryValue),
/* harmony export */   getPredicates: () => (/* binding */ getPredicates),
/* harmony export */   getPurpose: () => (/* binding */ getPurpose),
/* harmony export */   getResourceEntryValue: () => (/* binding */ getResourceEntryValue),
/* harmony export */   getRfsLanguageLiterals: () => (/* binding */ getRfsLanguageLiterals),
/* harmony export */   getType: () => (/* binding */ getType),
/* harmony export */   getURIEditorType: () => (/* binding */ getURIEditorType),
/* harmony export */   hasValue: () => (/* binding */ hasValue),
/* harmony export */   isAdditive: () => (/* binding */ isAdditive),
/* harmony export */   isExcluded: () => (/* binding */ isExcluded),
/* harmony export */   isExtended: () => (/* binding */ isExtended),
/* harmony export */   matchesType: () => (/* binding */ matchesType)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.from-entries.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.from-entries.js");
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/namespaces/utils/namespaceMetadata */ "./modules/models/namespaces/utils/namespaceMetadata.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _rfsPropertyMap__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./rfsPropertyMap */ "./modules/models/utils/rfsPropertyMap.js");
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./errors */ "./modules/models/utils/errors.js");
const _excluded = ["translate"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

















/**
 *
 * @param {{entry: Entry, graph: Graph, resourceURI: string}} entryOrGraphProps
 * @returns {{graph: Graph, resourceURI: string}}
 */
const getEntryProps = entryOrGraphProps => {
  const {
    entry,
    graph,
    resourceURI
  } = entryOrGraphProps;
  return {
    graph: graph || entry.getMetadata(),
    resourceURI: resourceURI || entry.getResourceURI()
  };
};

/**
 * Splits a (possibly compound) property spec into individual predicate URIs.
 *
 * @param {string | string[]} property
 * @returns {string[]}
 */
const getPredicates = property => Array.isArray(property) ? property : property.split(' ');

/**
 * Checks if given property has a value. Multiple properties may be provided as
 * an array or a space delimited string.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string | string[]} property
 * @returns {boolean}
 */
const hasValue = (graph, resourceURI, property) => {
  if (!property) return false;
  return getPredicates(property).some(predicate => Boolean(graph.findFirstValue(resourceURI, predicate)));
};

/**
 * Finds text and language value(s) of an entry predicate
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @param {Set<string>} targetLanguages
 * @returns {object|undefined}
 */
const getLanguageLiterals = (graph, resourceURI, property, targetLanguages) => {
  const statements = graph.find(resourceURI, property);
  if (!statements.length) return;
  const allTexts = {};
  for (const statement of statements) {
    var _statement$getLanguag;
    allTexts[(_statement$getLanguag = statement.getLanguage()) !== null && _statement$getLanguag !== void 0 ? _statement$getLanguag : ''] = statement.getValue();
  }
  if (!(targetLanguages !== null && targetLanguages !== void 0 && targetLanguages.size)) return allTexts;

  // Language-less literals are kept regardless of target filter.
  const texts = Object.fromEntries(Object.entries(allTexts).filter(_ref => {
    let [lang] = _ref;
    return lang === '' || targetLanguages.has(lang);
  }));
  const hasLanguageMatch = Object.keys(texts).some(lang => lang !== '');
  if (!hasLanguageMatch) {
    const fallbackLanguage = (0,commons_locale__WEBPACK_IMPORTED_MODULE_10__.getBestLanguage)();
    if (allTexts[fallbackLanguage]) {
      texts[fallbackLanguage] = allTexts[fallbackLanguage];
    }
  }
  if (!Object.keys(texts).length) return;
  return texts;
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @param {object} lang2val
 */
const addLanguageLiterals = (graph, resourceURI, property, lang2val) => {
  for (const [language, value] of Object.entries(lang2val)) {
    graph.addL(resourceURI, property, value, language);
  }
};
const getRfsLanguageLiterals = (graph, resourceURI, properties, targetLanguages) => {
  return properties.reduce((rfsObject, property) => {
    const languageLiterals = getLanguageLiterals(graph, resourceURI, property, targetLanguages);
    if (languageLiterals) {
      rfsObject[(0,_rfsPropertyMap__WEBPACK_IMPORTED_MODULE_14__.getRfsProperty)(property)] = languageLiterals;
    }
    return rfsObject;
  }, {});
};

/**
 * Project name of an entry
 *
 * @param {Context} context
 * @returns {Promise<string>}
 */
const getModelName = async context => {
  const contextEntry = await context.getEntry();
  const resourceURI = contextEntry.getResourceURI();
  const projectName = contextEntry.getMetadata().findFirstValue(resourceURI, 'dcterms:title');
  return projectName;
};

/**
 * Get the most specific RDF type (field or form subclasses) as well as an appropriate NLSkey
 *
 * @param {{entry: Entry, graph: Graph, resourceURI: string}} entryOrGraphProps
 * @returns {{labelNlsKey: string, rdfType: string}|undefined}
 */
const getNLSAndRDFType = entryOrGraphProps => {
  const {
    graph,
    resourceURI
  } = getEntryProps(entryOrGraphProps);
  if (!graph) return;
  const rdfTypes = [{
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_TEXT_FIELD,
    labelNlsKey: 'textFieldLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_DATATYPE_FIELD,
    labelNlsKey: 'dataTypeLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_SELECT_FIELD,
    labelNlsKey: 'selectFieldLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_LOOKUP_FIELD,
    labelNlsKey: 'lookupFieldLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_INLINE_FIELD,
    labelNlsKey: 'inlineFieldLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_SECTION_FORM,
    labelNlsKey: 'sectionFormLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_PROPERTY_FORM,
    labelNlsKey: 'propertyFormLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_PROFILE_FORM,
    labelNlsKey: 'profileFormLabel'
  }, {
    rdfType: models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_OBJECT_FORM,
    labelNlsKey: 'objectFormLabel'
  }];
  return rdfTypes.find(rdfTypeObj => graph.find(resourceURI, 'rdf:type', rdfTypeObj.rdfType).length);
};

/**
 * Get type of a field or form entry
 *
 * @param {{entry: Entry, graph: Graph, resourceURI: string, translate: Function}} properties
 * @returns {string|undefined}
 */
const getType = _ref2 => {
  var _getNLSAndRDFType;
  let {
      translate
    } = _ref2,
    entryOrGraphProps = _objectWithoutProperties(_ref2, _excluded);
  return translate((_getNLSAndRDFType = getNLSAndRDFType(entryOrGraphProps)) === null || _getNLSAndRDFType === void 0 ? void 0 : _getNLSAndRDFType.labelNlsKey);
};

/**
 * NLS key for the type label of any cleanup candidate: a class, property, or
 * any field/form subtype.
 *
 * @param {{entry: Entry, graph: Graph, resourceURI: string}} entryOrGraphProps
 * @returns {string|undefined}
 */
const getCleanupTypeNlsKey = entryOrGraphProps => {
  var _getNLSAndRDFType2;
  const {
    graph,
    resourceURI
  } = getEntryProps(entryOrGraphProps);
  const hasType = rdfType => graph.find(resourceURI, 'rdf:type', rdfType).length > 0;
  if (hasType(models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_CLASS)) return 'classLabel';
  if (hasType(models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_PROPERTY)) return 'propertyLabel';

  // Specific field/form subtype, then a generic field/form label for
  // base-typed entries so the Type column never renders "undefined".
  const subtypeKey = (_getNLSAndRDFType2 = getNLSAndRDFType(entryOrGraphProps)) === null || _getNLSAndRDFType2 === void 0 ? void 0 : _getNLSAndRDFType2.labelNlsKey;
  if (subtypeKey) return subtypeKey;
  if (hasType(models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_FIELD)) return 'fieldLabel';
  if (hasType(models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_TYPE_FORM)) return 'formLabel';
  return undefined;
};

/**
 *
 * @param {{entry: Entry, graph: Graph, resourceURI: string}} entryOrGraphProps
 * @returns {string}
 */
const getPurpose = entryOrGraphProps => {
  const {
    graph,
    resourceURI
  } = getEntryProps(entryOrGraphProps);
  return graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_PURPOSE) || '';
};

// TODO: move all functions related resource entries to ./resource.js
const RESOURCE = 'resource';
const RESOURCE_ENTRY = 'resourceEntry';
const NAMESPACE_ENTRY = 'namespaceEntry';

/**
 * Get the localname and namespace uri from namespace entry. The combination is
 * used to build a complete uri.
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @returns {Promise<object>}
 */
const getLocalnameAndNamespaceURI = async (graph, blankNodeId) => {
  const namespaceEntryURI = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_NAMESPACE_ENTRY);
  const localname = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_NAMESPACE_LOCALNAME);
  const namespaceEntry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.getOrIgnoreEntry)(namespaceEntryURI);
  return {
    namespaceURI: namespaceEntry ? (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceUri)(namespaceEntry) : '',
    localname,
    fullUri: `${(0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceUri)(namespaceEntry)}${localname}`
  };
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @returns {Promise<string>}
 */
const getNamespaceEntryValue = async (graph, resourceURI, property) => {
  const blankNodeId = graph.findFirstValue(resourceURI, property);
  if (!blankNodeId) return '';
  const {
    namespaceURI,
    fullUri
  } = await getLocalnameAndNamespaceURI(graph, blankNodeId);
  if (!namespaceURI) return '';
  return fullUri;
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @param {string} defaultEditMode
 * @returns {string}
 */
const getURIEditorType = (graph, resourceURI, property, defaultEditMode) => {
  const [statement] = graph.find(resourceURI, property);
  if (!statement) return defaultEditMode;
  const type = statement.getType();
  if (type !== 'bnode') return RESOURCE;
  const blankNodeId = statement.getValue();
  const nsEntryValue = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_NAMESPACE_ENTRY);
  if (nsEntryValue) return NAMESPACE_ENTRY;
  return RESOURCE_ENTRY;
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @returns {Promise<string>}
 */
const getResourceEntryValue = async (graph, resourceURI, property) => {
  const blankNodeId = graph.findFirstValue(resourceURI, property);
  if (!blankNodeId) return '';
  const resourceEntryURI = graph.findFirstValue(blankNodeId, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_RESOURCE_ENTRY);
  const resourceEntry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.getOrIgnoreEntry)(resourceEntryURI);
  if (!resourceEntry) return '';
  return resourceEntry.getResourceURI();
};

/**
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {Graph}
 */
const copyTitleToLabel = (graph, resourceURI) => {
  graph.find(resourceURI, 'dcterms:title').map(statement => statement.getObject()).forEach(object => {
    graph.add(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_LABEL, _objectSpread({}, object));
  });
  return graph;
};

/**
 * Utility to copy language literals for a given property from one graph to
 * another.
 *
 * @param {Graph} targetGraph
 * @param {string} targetResourceURI
 * @param {Graph} sourceGraph
 * @param {string} sourceResourceURI
 * @param {string} property
 * @returns {Graph}
 */
const copyLanguageLiteral = (targetGraph, targetResourceURI, sourceGraph, sourceResourceURI, property) => {
  const valueObjects = sourceGraph.find(sourceResourceURI, property).map(statement => statement.getCleanObject());
  for (const valueObject of valueObjects) {
    targetGraph.add(targetResourceURI, property, valueObject);
  }
  return targetGraph;
};

/**
 *
 * @param {Graph} targetGraph
 * @param {string} targetResourceURI
 * @param {Graph} sourceGraph
 * @param {string} sourceResourceURI
 * @returns {Graph}
 */
const copyRdfType = (targetGraph, targetResourceURI, sourceGraph, sourceResourceURI) => {
  const rdfTypes = sourceGraph.find(sourceResourceURI, 'rdf:type').map(statement => statement.getValue());
  for (const rdfType of rdfTypes) {
    targetGraph.add(targetResourceURI, 'rdf:type', rdfType);
  }
  return targetGraph;
};
const matchesType = (graph, resourceURI, types) => {
  for (const type of types) {
    const [statement] = graph.find(resourceURI, 'rdf:type', type);
    if (statement) return true;
  }
  return false;
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @returns {string[]}
 */
const getBlankNodeIds = (graph, resourceURI, property) => {
  const blankNodeIds = graph.find(resourceURI, property).map(statement => statement.getValue());
  return blankNodeIds;
};
const applyEntryProps = function applyEntryProps(fn, entry) {
  for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
    args[_key - 2] = arguments[_key];
  }
  return fn(entry.getMetadata(), entry.getResourceURI(), ...args);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {boolean}
 */
const isExtended = (graph, resourceURI) => {
  return Boolean(graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_EXTENDS));
};

/**
 * Checks if any predicate of the given (possibly compound) property carries
 * the marker triple `(resourceURI, marker, predicate)` on the given graph.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string | string[]} property
 * @param {string} marker
 * @returns {boolean}
 */
const hasMarker = (graph, resourceURI, property, marker) => {
  if (!property) return false;
  const predicates = getPredicates(property).filter(Boolean);
  return predicates.some(predicate => graph.find(resourceURI, marker, predicate).length > 0);
};

/**
 * Checks if any predicate of the given (possibly compound) property is marked
 * as excluded on the given resource.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string | string[]} property
 * @returns {boolean}
 */
const isExcluded = (graph, resourceURI, property) => hasMarker(graph, resourceURI, property, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_EXCLUDED);

/**
 * Checks if any predicate of the given (possibly compound) property is marked
 * as additive on the given resource. Additive means local values are added on
 * top of inherited values rather than replacing them.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string | string[]} property
 * @returns {boolean}
 */
const isAdditive = (graph, resourceURI, property) => hasMarker(graph, resourceURI, property, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_ADDITIVE);

/**
 * Get extended entry if extension is detected.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {boolean} silent - if false broken extends will throw
 * @returns {Promise<Entry|undefined>}
 */
const getExtendedEntry = async function getExtendedEntry(graph, resourceURI) {
  let silent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  const extendedURI = graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_EXTENDS);
  if (!extendedURI) return;
  const entry = await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.getOrIgnoreEntry)(commons_store__WEBPACK_IMPORTED_MODULE_12__.entrystore.getEntryURIFromURI(extendedURI));
  if (!silent && !entry) {
    throw new _errors__WEBPACK_IMPORTED_MODULE_15__.BrokenReferenceError((0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_13__.getLabel)(graph, resourceURI), extendedURI);
  }
  return entry;
};

/**
 * Find first extended entry with value for given property, in case the entry is
 * extended.
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @param {string} property
 * @param {boolean} silent
 * @returns {Promise<Entry|undefined>}
 */
const findFirstExtendedWithValue = async (graph, resourceURI, property, silent) => {
  const extendedEntry = await getExtendedEntry(graph, resourceURI, silent);
  if (!extendedEntry) return;
  const extendedMetadata = extendedEntry.getMetadata();
  const extendedResourceURI = extendedEntry.getResourceURI();
  if (isExcluded(extendedMetadata, extendedResourceURI, property)) return;
  if (hasValue(extendedMetadata, extendedResourceURI, property)) return extendedEntry;
  return findFirstExtendedWithValue(extendedMetadata, extendedResourceURI, property, silent);
};

/**
 * First check if entry has value for given property. Secondly if no value,
 * check extensions — unless the property is explicitly excluded at this level.
 *
 * @param {Entry} entry
 * @param {string} property
 * @param {boolean} silent
 * @returns {Promise<Entry|undefined>}
 */
const findFirstWithValue = async (entry, property, silent) => {
  const graph = entry.getMetadata();
  const resourceURI = entry.getResourceURI();
  if (hasValue(graph, resourceURI, property)) return entry;
  if (isExcluded(graph, resourceURI, property)) return;
  return findFirstExtendedWithValue(graph, resourceURI, property, silent);
};

/**
 *
 * @param {Graph} graph
 * @param {string} resourceURI
 * @returns {boolean}
 */
const checkOverrideFormItems = (graph, resourceURI) => {
  return graph.findFirstValue(resourceURI, models_utils_ns__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_OVERRIDE_FORM_ITEMS) === 'true';
};

/***/ },

/***/ "./modules/models/utils/model.js"
/*!***************************************!*\
  !*** ./modules/models/utils/model.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getModelEntries: () => (/* binding */ getModelEntries)
/* harmony export */ });
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");



/**
 * Get all model entries
 *
 * @returns {Promise<Entry[]>}
 */
const getModelEntries = () => {
  return commons_store__WEBPACK_IMPORTED_MODULE_0__.entrystore.newSolrQuery().rdfType(commons_util_context__WEBPACK_IMPORTED_MODULE_1__.CONTEXT_TYPE_MODELS).list().getEntries();
};

/***/ },

/***/ "./modules/models/utils/namespaceChoices.js"
/*!**************************************************!*\
  !*** ./modules/models/utils/namespaceChoices.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getFullURI: () => (/* binding */ getFullURI),
/* harmony export */   getNamespace: () => (/* binding */ getNamespace),
/* harmony export */   getNamespaceChoices: () => (/* binding */ getNamespaceChoices),
/* harmony export */   getNamespaceEntry: () => (/* binding */ getNamespaceEntry),
/* harmony export */   getNamespaceEntryChoices: () => (/* binding */ getNamespaceEntryChoices)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var models_namespaces_utils_builtinNamespaces__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! models/namespaces/utils/builtinNamespaces */ "./modules/models/namespaces/utils/builtinNamespaces.js");
/* harmony import */ var models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! models/namespaces/utils/namespaceMetadata */ "./modules/models/namespaces/utils/namespaceMetadata.js");











/**
 * Looks up registered namespaces and converts to choices
 *
 * @param {Entry[]} entries
 * @returns {object[]}
 */

const getNamespaceChoices = entries => {
  const builtinNamespaceChoices = [...models_namespaces_utils_builtinNamespaces__WEBPACK_IMPORTED_MODULE_8__.builtinNamespacesAbbreviations.sort().map(value => ({
    value,
    label: value
  }))];
  if (!entries) {
    return [{
      value: ''
    }, ...builtinNamespaceChoices];
  }
  const filteredBuiltinNamespaceChoices = builtinNamespaceChoices.filter(_ref => {
    let {
      value
    } = _ref;
    return !entries.map(entry => (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(entry)).includes(value);
  });
  const namespaceEntriesChoices = entries.map(entry => ({
    value: (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(entry),
    label: (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(entry)
  }));
  const defaultEntry = (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getDefaultEntry)(entries);
  if (!defaultEntry) {
    return [{
      value: ''
    }, ...namespaceEntriesChoices, null, ...filteredBuiltinNamespaceChoices];
  }
  const filteredNamespaceChoices = namespaceEntriesChoices.filter(entry => entry.value !== (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(defaultEntry));
  return [{
    value: ''
  }, {
    value: (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(defaultEntry),
    label: `${(0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(defaultEntry)} (default)`
  }, ...filteredNamespaceChoices, null, ...filteredBuiltinNamespaceChoices];
};

/**
 * @param {string} uri
 * @param {Entry[]} entries
 * @returns {Entry|undefined}
 */
const getCustomNamespaceFromValue = (uri, entries) => {
  return entries === null || entries === void 0 ? void 0 : entries.find(entry => uri.startsWith((0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceUri)(entry)));
};

/**
 *
 * @param {object} field
 * @param {Entry[]} entries
 * @returns {string[]}
 */
const getNamespace = (field, entries) => {
  const defaultEntry = (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getDefaultEntry)(entries);
  const value = field.getValue();
  if (!value || !(0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__.isUri)(value)) return [(0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(defaultEntry) || '', ''];
  const customNamespaceEntry = getCustomNamespaceFromValue(value, entries);
  if (!customNamespaceEntry) {
    const shortened = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.namespaces.shortenKnown(value);
    return shortened.split(':');
  }
  const namespaceAbbreviation = (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(customNamespaceEntry);
  const localename = value.substring((0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceUri)(customNamespaceEntry).length);
  return [namespaceAbbreviation, localename];
};

/**
 *
 * @param {string} namespaceKey
 * @param {string} namespaceValue
 * @param {Entry} namespaceEntryFromKey
 * @returns {string}
 */
const getFullURI = (namespaceKey, namespaceValue, namespaceEntryFromKey) => {
  if (!namespaceKey || !namespaceValue) return '';
  if (!namespaceEntryFromKey) {
    return _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.namespaces.expand(`${namespaceKey}:${namespaceValue}`);
  }
  return `${(0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceUri)(namespaceEntryFromKey)}${namespaceValue}`;
};

/**
 * @param {object} field
 * @param {Entry[]} namespaceEntries
 * @returns {Entry|undefined}
 */
const getNamespaceEntry = (field, namespaceEntries) => {
  const defaultEntry = (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getDefaultEntry)(namespaceEntries);
  const namespaceEntryURI = field.getValue();
  if (!namespaceEntryURI) return defaultEntry;
  return namespaceEntries.find(namespaceEntry => {
    return namespaceEntry.getURI() === namespaceEntryURI;
  });
};

/**
 * @param {Entry[]} namespaceEntries
 * @param {boolean} entryAsValue
 * @returns {object[]}
 */
const getNamespaceEntryChoices = function getNamespaceEntryChoices(namespaceEntries) {
  let entryAsValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  const defaultEntry = (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getDefaultEntry)(namespaceEntries);
  const entries = defaultEntry ? [defaultEntry, ...namespaceEntries.filter(namespaceEntry => namespaceEntry !== defaultEntry)] : namespaceEntries;
  return entries.map(entry => {
    const namespaceAbbreviation = (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceAbbreviation)(entry);
    return {
      value: entryAsValue ? entry : (0,models_namespaces_utils_namespaceMetadata__WEBPACK_IMPORTED_MODULE_9__.getNamespaceUri)(entry),
      label: entry === defaultEntry ? `${namespaceAbbreviation} (default)` : namespaceAbbreviation,
      id: entry.getURI()
    };
  });
};

/***/ },

/***/ "./modules/models/utils/ns.js"
/*!************************************!*\
  !*** ./modules/models/utils/ns.js ***!
  \************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RDF_CLASS_EXTENSION: () => (/* binding */ RDF_CLASS_EXTENSION),
/* harmony export */   RDF_CLASS_OPTION: () => (/* binding */ RDF_CLASS_OPTION),
/* harmony export */   RDF_CONSTRAINT_NULL_URI: () => (/* binding */ RDF_CONSTRAINT_NULL_URI),
/* harmony export */   RDF_PROPERTY_ADDITIVE: () => (/* binding */ RDF_PROPERTY_ADDITIVE),
/* harmony export */   RDF_PROPERTY_ATTRIBUTE: () => (/* binding */ RDF_PROPERTY_ATTRIBUTE),
/* harmony export */   RDF_PROPERTY_BLANK: () => (/* binding */ RDF_PROPERTY_BLANK),
/* harmony export */   RDF_PROPERTY_BUILD_EXCLUDE: () => (/* binding */ RDF_PROPERTY_BUILD_EXCLUDE),
/* harmony export */   RDF_PROPERTY_BUILD_INCLUDE: () => (/* binding */ RDF_PROPERTY_BUILD_INCLUDE),
/* harmony export */   RDF_PROPERTY_BUILD_SELECTION: () => (/* binding */ RDF_PROPERTY_BUILD_SELECTION),
/* harmony export */   RDF_PROPERTY_CHILD: () => (/* binding */ RDF_PROPERTY_CHILD),
/* harmony export */   RDF_PROPERTY_COLLECTION: () => (/* binding */ RDF_PROPERTY_COLLECTION),
/* harmony export */   RDF_PROPERTY_CONSTRAINT: () => (/* binding */ RDF_PROPERTY_CONSTRAINT),
/* harmony export */   RDF_PROPERTY_CONSTRAINT_PROPERTY: () => (/* binding */ RDF_PROPERTY_CONSTRAINT_PROPERTY),
/* harmony export */   RDF_PROPERTY_CONSTRAINT_VALUE: () => (/* binding */ RDF_PROPERTY_CONSTRAINT_VALUE),
/* harmony export */   RDF_PROPERTY_CSS: () => (/* binding */ RDF_PROPERTY_CSS),
/* harmony export */   RDF_PROPERTY_DATATYPE: () => (/* binding */ RDF_PROPERTY_DATATYPE),
/* harmony export */   RDF_PROPERTY_DATATYPE_LITERAL: () => (/* binding */ RDF_PROPERTY_DATATYPE_LITERAL),
/* harmony export */   RDF_PROPERTY_DEPENDS_ON: () => (/* binding */ RDF_PROPERTY_DEPENDS_ON),
/* harmony export */   RDF_PROPERTY_DEPENDS_ON_VALUE: () => (/* binding */ RDF_PROPERTY_DEPENDS_ON_VALUE),
/* harmony export */   RDF_PROPERTY_DESCRIPTION: () => (/* binding */ RDF_PROPERTY_DESCRIPTION),
/* harmony export */   RDF_PROPERTY_EDIT_DESCRIPTION: () => (/* binding */ RDF_PROPERTY_EDIT_DESCRIPTION),
/* harmony export */   RDF_PROPERTY_EDIT_LABEL: () => (/* binding */ RDF_PROPERTY_EDIT_LABEL),
/* harmony export */   RDF_PROPERTY_EXCLUDED: () => (/* binding */ RDF_PROPERTY_EXCLUDED),
/* harmony export */   RDF_PROPERTY_EXTENDS: () => (/* binding */ RDF_PROPERTY_EXTENDS),
/* harmony export */   RDF_PROPERTY_HELP: () => (/* binding */ RDF_PROPERTY_HELP),
/* harmony export */   RDF_PROPERTY_INCLUDE_NESTED: () => (/* binding */ RDF_PROPERTY_INCLUDE_NESTED),
/* harmony export */   RDF_PROPERTY_INLINE: () => (/* binding */ RDF_PROPERTY_INLINE),
/* harmony export */   RDF_PROPERTY_ITEM: () => (/* binding */ RDF_PROPERTY_ITEM),
/* harmony export */   RDF_PROPERTY_LABEL: () => (/* binding */ RDF_PROPERTY_LABEL),
/* harmony export */   RDF_PROPERTY_LANGUAGE: () => (/* binding */ RDF_PROPERTY_LANGUAGE),
/* harmony export */   RDF_PROPERTY_LANGUAGE_LITERAL: () => (/* binding */ RDF_PROPERTY_LANGUAGE_LITERAL),
/* harmony export */   RDF_PROPERTY_LITERAL: () => (/* binding */ RDF_PROPERTY_LITERAL),
/* harmony export */   RDF_PROPERTY_MAX: () => (/* binding */ RDF_PROPERTY_MAX),
/* harmony export */   RDF_PROPERTY_MIN: () => (/* binding */ RDF_PROPERTY_MIN),
/* harmony export */   RDF_PROPERTY_NAMESPACE: () => (/* binding */ RDF_PROPERTY_NAMESPACE),
/* harmony export */   RDF_PROPERTY_NAMESPACE_ENTRY: () => (/* binding */ RDF_PROPERTY_NAMESPACE_ENTRY),
/* harmony export */   RDF_PROPERTY_NAMESPACE_LOCALNAME: () => (/* binding */ RDF_PROPERTY_NAMESPACE_LOCALNAME),
/* harmony export */   RDF_PROPERTY_NODETYPE: () => (/* binding */ RDF_PROPERTY_NODETYPE),
/* harmony export */   RDF_PROPERTY_ONLY_LITERAL: () => (/* binding */ RDF_PROPERTY_ONLY_LITERAL),
/* harmony export */   RDF_PROPERTY_OPTION: () => (/* binding */ RDF_PROPERTY_OPTION),
/* harmony export */   RDF_PROPERTY_OPTION_VALUE: () => (/* binding */ RDF_PROPERTY_OPTION_VALUE),
/* harmony export */   RDF_PROPERTY_ORDER: () => (/* binding */ RDF_PROPERTY_ORDER),
/* harmony export */   RDF_PROPERTY_OVERRIDE_FORM_ITEMS: () => (/* binding */ RDF_PROPERTY_OVERRIDE_FORM_ITEMS),
/* harmony export */   RDF_PROPERTY_PATTERN: () => (/* binding */ RDF_PROPERTY_PATTERN),
/* harmony export */   RDF_PROPERTY_PLACEHOLDER: () => (/* binding */ RDF_PROPERTY_PLACEHOLDER),
/* harmony export */   RDF_PROPERTY_PREF: () => (/* binding */ RDF_PROPERTY_PREF),
/* harmony export */   RDF_PROPERTY_PREFIX: () => (/* binding */ RDF_PROPERTY_PREFIX),
/* harmony export */   RDF_PROPERTY_PROPERTY: () => (/* binding */ RDF_PROPERTY_PROPERTY),
/* harmony export */   RDF_PROPERTY_PURPOSE: () => (/* binding */ RDF_PROPERTY_PURPOSE),
/* harmony export */   RDF_PROPERTY_RESOURCE: () => (/* binding */ RDF_PROPERTY_RESOURCE),
/* harmony export */   RDF_PROPERTY_RESOURCE_ENTRY: () => (/* binding */ RDF_PROPERTY_RESOURCE_ENTRY),
/* harmony export */   RDF_PROPERTY_ROLE: () => (/* binding */ RDF_PROPERTY_ROLE),
/* harmony export */   RDF_PROPERTY_SPECIFICATION: () => (/* binding */ RDF_PROPERTY_SPECIFICATION),
/* harmony export */   RDF_PROPERTY_STATUS: () => (/* binding */ RDF_PROPERTY_STATUS),
/* harmony export */   RDF_PROPERTY_STATUS_DEPRECATED: () => (/* binding */ RDF_PROPERTY_STATUS_DEPRECATED),
/* harmony export */   RDF_PROPERTY_STATUS_STABLE: () => (/* binding */ RDF_PROPERTY_STATUS_STABLE),
/* harmony export */   RDF_PROPERTY_STATUS_UNSTABLE: () => (/* binding */ RDF_PROPERTY_STATUS_UNSTABLE),
/* harmony export */   RDF_PROPERTY_TARGET_LANGUAGE: () => (/* binding */ RDF_PROPERTY_TARGET_LANGUAGE),
/* harmony export */   RDF_PROPERTY_TERMINOLOGY: () => (/* binding */ RDF_PROPERTY_TERMINOLOGY),
/* harmony export */   RDF_PROPERTY_TEXT: () => (/* binding */ RDF_PROPERTY_TEXT),
/* harmony export */   RDF_PROPERTY_URI: () => (/* binding */ RDF_PROPERTY_URI),
/* harmony export */   RDF_PROPERTY_VALUE: () => (/* binding */ RDF_PROPERTY_VALUE),
/* harmony export */   RDF_PROPERTY_VALUE_TEMPLATE: () => (/* binding */ RDF_PROPERTY_VALUE_TEMPLATE),
/* harmony export */   RDF_TYPE_BUNDLES: () => (/* binding */ RDF_TYPE_BUNDLES),
/* harmony export */   RDF_TYPE_CLASS: () => (/* binding */ RDF_TYPE_CLASS),
/* harmony export */   RDF_TYPE_CONSTRAINT: () => (/* binding */ RDF_TYPE_CONSTRAINT),
/* harmony export */   RDF_TYPE_DATATYPE_FIELD: () => (/* binding */ RDF_TYPE_DATATYPE_FIELD),
/* harmony export */   RDF_TYPE_DIAGRAM: () => (/* binding */ RDF_TYPE_DIAGRAM),
/* harmony export */   RDF_TYPE_FIELD: () => (/* binding */ RDF_TYPE_FIELD),
/* harmony export */   RDF_TYPE_FORM: () => (/* binding */ RDF_TYPE_FORM),
/* harmony export */   RDF_TYPE_INLINE_FIELD: () => (/* binding */ RDF_TYPE_INLINE_FIELD),
/* harmony export */   RDF_TYPE_LOOKUP_FIELD: () => (/* binding */ RDF_TYPE_LOOKUP_FIELD),
/* harmony export */   RDF_TYPE_MODEL: () => (/* binding */ RDF_TYPE_MODEL),
/* harmony export */   RDF_TYPE_OBJECT_FORM: () => (/* binding */ RDF_TYPE_OBJECT_FORM),
/* harmony export */   RDF_TYPE_PREFIX: () => (/* binding */ RDF_TYPE_PREFIX),
/* harmony export */   RDF_TYPE_PROFILE_FORM: () => (/* binding */ RDF_TYPE_PROFILE_FORM),
/* harmony export */   RDF_TYPE_PROPERTY: () => (/* binding */ RDF_TYPE_PROPERTY),
/* harmony export */   RDF_TYPE_PROPERTY_FORM: () => (/* binding */ RDF_TYPE_PROPERTY_FORM),
/* harmony export */   RDF_TYPE_QUALIFIED_RESOURCE: () => (/* binding */ RDF_TYPE_QUALIFIED_RESOURCE),
/* harmony export */   RDF_TYPE_SECTION_FORM: () => (/* binding */ RDF_TYPE_SECTION_FORM),
/* harmony export */   RDF_TYPE_SELECT_FIELD: () => (/* binding */ RDF_TYPE_SELECT_FIELD),
/* harmony export */   RDF_TYPE_SHACL: () => (/* binding */ RDF_TYPE_SHACL),
/* harmony export */   RDF_TYPE_TEXT: () => (/* binding */ RDF_TYPE_TEXT),
/* harmony export */   RDF_TYPE_TEXT_FIELD: () => (/* binding */ RDF_TYPE_TEXT_FIELD)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");

_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.namespaces.add('rfs', 'https://rdforms.org/terms/');
_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.namespaces.add('sh', 'http://www.w3.org/ns/shacl#');
const RDF_TYPE_MODEL = 'esterms:FormsContext';
const RDF_TYPE_PREFIX = 'sh:PrefixDeclaration';
const RDF_PROPERTY_PREFIX = 'sh:prefix';
const RDF_PROPERTY_NAMESPACE = 'sh:namespace';
const RDF_TYPE_CLASS = 'rdfs:Class';
const RDF_TYPE_PROPERTY = 'rdf:Property';
const RDF_TYPE_FIELD = 'rfs:Field';
const RDF_TYPE_FORM = 'rfs:Form';
const RDF_TYPE_BUNDLES = 'rfs:Bundle';
const RDF_TYPE_TEXT_FIELD = 'rfs:TextField';
const RDF_TYPE_DATATYPE_FIELD = 'rfs:DatatypeField';
const RDF_TYPE_SELECT_FIELD = 'rfs:SelectField';
const RDF_TYPE_LOOKUP_FIELD = 'rfs:LookupField';
const RDF_TYPE_INLINE_FIELD = 'rfs:InlineField';
const RDF_TYPE_SECTION_FORM = 'rfs:SectionForm';
const RDF_TYPE_PROPERTY_FORM = 'rfs:PropertyForm';
const RDF_TYPE_PROFILE_FORM = 'rfs:ProfileForm';
const RDF_TYPE_OBJECT_FORM = 'rfs:ObjectForm';
const RDF_TYPE_CONSTRAINT = 'rfs:Constraint';
const RDF_TYPE_QUALIFIED_RESOURCE = 'rfs:QualifiedResource';
const RDF_TYPE_DIAGRAM = 'esterms:Diagram';
const RDF_TYPE_TEXT = 'rfs:Text';
const RDF_PROPERTY_LABEL = 'rfs:label';
const RDF_PROPERTY_EDIT_LABEL = 'rfs:editLabel';
const RDF_PROPERTY_DESCRIPTION = 'rfs:description';
const RDF_PROPERTY_EDIT_DESCRIPTION = 'rfs:editDescription';
const RDF_PROPERTY_HELP = 'rfs:help';
const RDF_PROPERTY_PURPOSE = 'rfs:purpose';
const RDF_PROPERTY_SPECIFICATION = 'rfs:specification';
const RDF_PROPERTY_PLACEHOLDER = 'rfs:placeholder';
const RDF_PROPERTY_PROPERTY = 'rfs:property';
const RDF_PROPERTY_MIN = 'rfs:min';
const RDF_PROPERTY_MAX = 'rfs:max';
const RDF_PROPERTY_PREF = 'rfs:pref';
const RDF_PROPERTY_NODETYPE = 'rfs:nodetype';
const RDF_PROPERTY_DATATYPE = 'rfs:datatype';
const RDF_PROPERTY_CONSTRAINT = 'rfs:constraint';
const RDF_PROPERTY_CONSTRAINT_PROPERTY = 'rfs:constraintProperty';
const RDF_PROPERTY_CONSTRAINT_VALUE = 'rfs:constraintValue';
const RDF_PROPERTY_ORDER = 'rfs:order';
const RDF_PROPERTY_EXTENDS = 'rfs:extends';
const RDF_PROPERTY_EXCLUDED = 'rfs:excluded';
const RDF_PROPERTY_ADDITIVE = 'rfs:additive';
const RDF_PROPERTY_CHILD = 'rfs:child';
const RDF_PROPERTY_CSS = 'rfs:cssClass';
const RDF_PROPERTY_ATTRIBUTE = 'rfs:attribute';
const RDF_CLASS_OPTION = 'rfs:Option';
const RDF_PROPERTY_OPTION = 'rfs:option';
const RDF_PROPERTY_OPTION_VALUE = 'rfs:optionValue';
const RDF_PROPERTY_TERMINOLOGY = 'rfs:terminology';
const RDF_PROPERTY_COLLECTION = 'rfs:collection';
const RDF_PROPERTY_INCLUDE_NESTED = 'rfs:includeNestedConcepts';
const RDF_PROPERTY_VALUE = 'rfs:value';
const RDF_PROPERTY_STATUS = 'rfs:status';
const RDF_PROPERTY_ITEM = 'rfs:item';
const RDF_CLASS_EXTENSION = 'rfs:Extension';
const RDF_PROPERTY_STATUS_UNSTABLE = 'rfs:unstable';
const RDF_PROPERTY_STATUS_STABLE = 'rfs:stable';
const RDF_PROPERTY_STATUS_DEPRECATED = 'rfs:deprecated';
const RDF_PROPERTY_VALUE_TEMPLATE = 'rfs:valueTemplate';
const RDF_PROPERTY_PATTERN = 'rfs:pattern';
const RDF_PROPERTY_INLINE = 'rfs:inline';
const RDF_PROPERTY_OVERRIDE_FORM_ITEMS = 'rfs:overrideFormItems';
const RDF_PROPERTY_ROLE = 'rfs:role';
const RDF_PROPERTY_TEXT = 'rfs:text';
const RDF_PROPERTY_LITERAL = 'rfs:literal';
const RDF_PROPERTY_ONLY_LITERAL = 'rfs:onlyLiteral';
const RDF_PROPERTY_DATATYPE_LITERAL = 'rfs:datatypeLiteral';
const RDF_PROPERTY_LANGUAGE_LITERAL = 'rfs:languageLiteral';
const RDF_PROPERTY_RESOURCE = 'rfs:resource';
const RDF_PROPERTY_BLANK = 'rfs:blank';
const RDF_PROPERTY_URI = 'rfs:uri';
const RDF_PROPERTY_LANGUAGE = 'rfs:language';
const RDF_PROPERTY_DEPENDS_ON = 'rfs:dependsOnField';
const RDF_PROPERTY_DEPENDS_ON_VALUE = 'rfs:dependsOnValue';

// lookup entry
const RDF_PROPERTY_NAMESPACE_ENTRY = 'rfs:namespaceEntry';
const RDF_PROPERTY_NAMESPACE_LOCALNAME = 'rfs:localname';
const RDF_PROPERTY_RESOURCE_ENTRY = 'rfs:resourceEntry';

// builds
const RDF_PROPERTY_BUILD_SELECTION = 'rfs:buildSelection';
const RDF_PROPERTY_TARGET_LANGUAGE = 'rfs:targetLanguage';
const RDF_PROPERTY_BUILD_INCLUDE = 'rfs:buildInclude';
const RDF_PROPERTY_BUILD_EXCLUDE = 'rfs:buildExclude';
const RDF_CONSTRAINT_NULL_URI = 'rfs:constraintNullUri';

// SHACL ontology
const RDF_TYPE_SHACL = 'http://www.w3.org/ns/shacl-shacl#';

/***/ },

/***/ "./modules/models/utils/options.js"
/*!*****************************************!*\
  !*** ./modules/models/utils/options.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getValueURIValue: () => (/* binding */ getValueURIValue)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _ns__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./metadata */ "./modules/models/utils/metadata.js");





/**
 * @param {{graph: Graph, resourceURI: string}} props
 * @returns {Promise<string>}
 */
const getValueURIValue = _ref => {
  let {
    graph,
    resourceURI
  } = _ref;
  const valueType = (0,_metadata__WEBPACK_IMPORTED_MODULE_3__.getURIEditorType)(graph, resourceURI, _ns__WEBPACK_IMPORTED_MODULE_2__.RDF_PROPERTY_VALUE, _metadata__WEBPACK_IMPORTED_MODULE_3__.NAMESPACE_ENTRY);
  if (valueType === _metadata__WEBPACK_IMPORTED_MODULE_3__.RESOURCE) return Promise.resolve(graph.findFirstValue(resourceURI, _ns__WEBPACK_IMPORTED_MODULE_2__.RDF_PROPERTY_VALUE));
  return (0,_metadata__WEBPACK_IMPORTED_MODULE_3__.getNamespaceEntryValue)(graph, resourceURI, _ns__WEBPACK_IMPORTED_MODULE_2__.RDF_PROPERTY_VALUE);
};

/***/ },

/***/ "./modules/models/utils/property.js"
/*!******************************************!*\
  !*** ./modules/models/utils/property.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getProperty: () => (/* binding */ getProperty),
/* harmony export */   getPropertyValue: () => (/* binding */ getPropertyValue)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _ns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ns */ "./modules/models/utils/ns.js");
/* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./metadata */ "./modules/models/utils/metadata.js");






/**
 * @param {{graph: Graph, resourceURI: string}} props
 * @returns {Promise<string>}
 */
const getPropertyValue = _ref => {
  let {
    graph,
    resourceURI
  } = _ref;
  const propertyType = (0,_metadata__WEBPACK_IMPORTED_MODULE_4__.getURIEditorType)(graph, resourceURI, _ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_PROPERTY, _metadata__WEBPACK_IMPORTED_MODULE_4__.RESOURCE_ENTRY);
  if (propertyType === _metadata__WEBPACK_IMPORTED_MODULE_4__.RESOURCE) return Promise.resolve(graph.findFirstValue(resourceURI, _ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_PROPERTY));
  if (propertyType === _metadata__WEBPACK_IMPORTED_MODULE_4__.NAMESPACE_ENTRY) {
    return (0,_metadata__WEBPACK_IMPORTED_MODULE_4__.getNamespaceEntryValue)(graph, resourceURI, _ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_PROPERTY);
  }
  return (0,_metadata__WEBPACK_IMPORTED_MODULE_4__.getResourceEntryValue)(graph, resourceURI, _ns__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_PROPERTY);
};

/**
 * Wrapper for getPropertyValue using entry
 *
 * @param {Entry} entry
 * @returns {Promise<string>}
 */
const getProperty = entry => {
  return getPropertyValue({
    graph: entry.getAllMetadata(),
    resourceURI: entry.getResourceURI()
  });
};

/***/ },

/***/ "./modules/models/utils/resource.js"
/*!******************************************!*\
  !*** ./modules/models/utils/resource.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertURIValuesToLiterals: () => (/* binding */ convertURIValuesToLiterals),
/* harmony export */   getHasURIValue: () => (/* binding */ getHasURIValue)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _metadata__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./metadata */ "./modules/models/utils/metadata.js");






/**
 * A value is uri either if the type is uri or blank node. In the latter case a
 * blank node points to a resource entry uri.
 *
 * @param {Graph} graph
 * @param {string[]} resourceURIs
 * @param {valueProperty} valueProperty
 * @returns {boolean}
 */
const getHasURIValue = (graph, resourceURIs, valueProperty) => {
  for (const resourceURI of resourceURIs) {
    const [statement] = graph.find(resourceURI, valueProperty);
    const type = statement.getType();
    if (type === 'uri' || type === 'bnode') return true;
  }
  return false;
};

/**
 * Converts value stored as namespace entry to literal
 *
 * @param {Graph} graph
 * @param {string} blankNodeId
 * @param {string} valueProperty
 */
const convertNamespaceEntryToLiteral = async (graph, blankNodeId, valueProperty) => {
  const [statement] = graph.find(blankNodeId, valueProperty);
  const namespaceBlankNodeId = statement.getValue();
  const value = await (0,_metadata__WEBPACK_IMPORTED_MODULE_4__.getLocalnameAndNamespaceURI)(graph, namespaceBlankNodeId);

  // clear current values
  graph.findAndRemove(blankNodeId, valueProperty);
  graph.findAndRemove(namespaceBlankNodeId);

  // add literal of the uri
  const {
    localname,
    namespaceURI
  } = value;
  graph.addL(blankNodeId, valueProperty, `${namespaceURI}${localname}`);
};

/**
 * Changes type from uri to literal for matching values
 *
 * @param {Graph} graph
 * @param {string[]} blankNodeId
 * @param {string} property
 */
const convertResourceToLiteral = (graph, blankNodeId, property) => {
  const uriValue = graph.findFirstValue(blankNodeId, property);
  graph.findAndRemove(blankNodeId, property);
  graph.addL(blankNodeId, property, uriValue);
};

/**
 * Converts values stored as resources either as an uri value or resource entry
 *
 * @param {Graph} graph
 * @param {string[]} blankNodeIds
 * @param {string} valueProperty
 * @returns {Promise<undefined>}
 */
const convertURIValuesToLiterals = async (graph, blankNodeIds, valueProperty) => {
  for (const blankNodeId of blankNodeIds) {
    const editorType = (0,_metadata__WEBPACK_IMPORTED_MODULE_4__.getURIEditorType)(graph, blankNodeId, valueProperty);
    if (editorType === _metadata__WEBPACK_IMPORTED_MODULE_4__.RESOURCE) {
      convertResourceToLiteral(graph, blankNodeId, valueProperty);
    } else if (editorType === _metadata__WEBPACK_IMPORTED_MODULE_4__.NAMESPACE_ENTRY) {
      await convertNamespaceEntryToLiteral(graph, blankNodeId, valueProperty);
    }
  }
};

/***/ },

/***/ "./modules/models/utils/rfsPropertyMap.js"
/*!************************************************!*\
  !*** ./modules/models/utils/rfsPropertyMap.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getRfsProperty: () => (/* binding */ getRfsProperty),
/* harmony export */   rfsPropertyMap: () => (/* binding */ rfsPropertyMap)
/* harmony export */ });
/* harmony import */ var models_utils_ns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! models/utils/ns */ "./modules/models/utils/ns.js");

const rfsPropertyMap = {
  'rdf:type': 'type',
  'skos:definition': 'description',
  'skos:prefLabel': 'label',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_PROPERTY]: 'property',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_NODETYPE]: 'nodetype',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_DATATYPE]: 'datatype',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_LABEL]: 'label',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_DESCRIPTION]: 'description',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_PURPOSE]: 'purpose',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_HELP]: 'help',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_PLACEHOLDER]: 'placeholder',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_SPECIFICATION]: 'specification',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_EDIT_LABEL]: 'editlabel',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_EDIT_DESCRIPTION]: 'editdescription',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_CSS]: 'cls',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_ATTRIBUTE]: 'styles',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_CONSTRAINT]: 'constraints',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_LANGUAGE]: 'language',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_EXTENDS]: 'extends',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_VALUE]: 'value',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_VALUE_TEMPLATE]: 'valueTemplate',
  [models_utils_ns__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_PATTERN]: 'pattern'
};

/**
 *
 * @param {string} property
 * @returns {string}
 */
const getRfsProperty = property => {
  if (property in rfsPropertyMap) return rfsPropertyMap[property];
  throw new Error(`Property ${property} is not valid`);
};

/***/ },

/***/ "./modules/search/SearchView/SearchLDBDialog/SearchLDBDialog.js"
/*!**********************************************************************!*\
  !*** ./modules/search/SearchView/SearchLDBDialog/SearchLDBDialog.js ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/moduleDefinitions */ "./modules/commons/util/moduleDefinitions.js");
/* harmony import */ var models_dialogs_ModelsLDBDialog__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! models/dialogs/ModelsLDBDialog */ "./modules/models/dialogs/ModelsLDBDialog/index.js");
/* harmony import */ var catalog_dialogs_CatalogLDBDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! catalog/dialogs/CatalogLDBDialog */ "./modules/catalog/dialogs/CatalogLDBDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");









const MODULE_LDBD_MAP = {
  [commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_6__.MODELS_MODULE]: models_dialogs_ModelsLDBDialog__WEBPACK_IMPORTED_MODULE_7__["default"],
  [commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_6__.CATALOG_MODULE]: catalog_dialogs_CatalogLDBDialog__WEBPACK_IMPORTED_MODULE_8__["default"]
};
const SearchLDBDialog = props => {
  const {
    entry
  } = props;
  const {
    runAsync,
    data: LDBDialog,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_5__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    const findLDBDialog = async () => {
      const moduleName = await (0,commons_util_module__WEBPACK_IMPORTED_MODULE_3__.findModuleNameFromContext)(entry.getContext());
      return MODULE_LDBD_MAP[moduleName] || commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_2__["default"];
    };
    runAsync(findLDBDialog());
  }, [runAsync, entry]);
  if (isLoading) return null;
  return /*#__PURE__*/React.createElement(LDBDialog, props);
};
SearchLDBDialog.propTypes = {
  entry: commons_util_entry__WEBPACK_IMPORTED_MODULE_4__.entryPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SearchLDBDialog);

/***/ },

/***/ "./modules/search/SearchView/SearchLDBDialog/index.js"
/*!************************************************************!*\
  !*** ./modules/search/SearchView/SearchLDBDialog/index.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SearchLDBDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchLDBDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchLDBDialog */ "./modules/search/SearchView/SearchLDBDialog/SearchLDBDialog.js");


/***/ },

/***/ "./modules/search/SearchView/SearchView.js"
/*!*************************************************!*\
  !*** ./modules/search/SearchView/SearchView.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/OverviewLinkIcon */ "./modules/commons/components/OverviewLinkIcon.js");
/* harmony import */ var admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! admin/configs/utils/namespace */ "./modules/admin/configs/utils/namespace.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_util_overview__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/overview */ "./modules/commons/util/overview.js");
/* harmony import */ var _nls_esseSearch_nls__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../nls/esseSearch.nls */ "./modules/search/nls/esseSearch.nls");
/* harmony import */ var _nls_esseSearch_nls__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_nls_esseSearch_nls__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var _SearchLDBDialog__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./SearchLDBDialog */ "./modules/search/SearchView/SearchLDBDialog/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["applyFilters", "isLoading", "hasFilters"],
  _excluded2 = ["callbackResults", "status"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }


function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }























const nlsBundles = [(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_20___default()), (_nls_esseSearch_nls__WEBPACK_IMPORTED_MODULE_25___default())];
const SearchView = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_19__.useTranslation)(nlsBundles);
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_17__.useUserState)();
  const isGuestUser = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => (0,commons_util_user__WEBPACK_IMPORTED_MODULE_15__.isGuest)(userEntry), [userEntry]);
  const activeModuleNames = (0,commons_util_config__WEBPACK_IMPORTED_MODULE_16__.getActiveModules)(userInfo).map(_ref => {
    let {
      name
    } = _ref;
    return name;
  });
  const defaultContext = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('search.defaultContext');
  const defaultType = config__WEBPACK_IMPORTED_MODULE_8__["default"].get('search.defaultEntityType');
  const entityTypeFilterItems = (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.getEntityTypeItems)(activeModuleNames);
  const filters = [_objectSpread(_objectSpread({}, commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.CONTEXT_FILTER), {}, {
    autoHide: false,
    items: [commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_23__.ANY_FILTER_ITEM],
    loadItems: () => (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.getContextItems)(isGuestUser, activeModuleNames)
  }, defaultContext ? {
    initialSelection: defaultContext.toString()
  } : {}), _objectSpread(_objectSpread({}, commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.TYPE_FILTER), {}, {
    items: entityTypeFilterItems
  }, defaultType ? {
    initialSelection: defaultType
  } : {})];
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_12__["default"])(filters, nlsBundles),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    const query = commons_store__WEBPACK_IMPORTED_MODULE_5__.entrystore.newSolrQuery().title('*');
    query.uri((0,commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.getExcludedUris)(), true);
    query.rdfType(['oa:Annotation', 'http://entryscape.com/terms/CatalogContext', 'http://entryscape.com/terms/TerminologyContext', 'http://entryscape.com/terms/MQA', admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_22__.RDF_CLASS_ENTITY_TYPE, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_22__.RDF_CLASS_CUSTOM_ENTITY_TYPE, admin_configs_utils_namespace__WEBPACK_IMPORTED_MODULE_22__.RDF_CLASS_PROJECT_TYPE], true);
    if (commons_registry__WEBPACK_IMPORTED_MODULE_7__["default"].getApp() === 'registry') query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__.types.GT_PIPELINERESULT, true);
    query.context(['_principals'], true);
    if (isGuestUser) query.publicRead(true);
    return query;
  }, [isGuestUser]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.useSolrQuery)({
      createQuery,
      applyFilters,
      wait: isLoading,
      callback: commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.getEntityTypes
    }),
    {
      callbackResults: items = [],
      status
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded2);
  const getTitleProps = _ref2 => {
    let {
      entry
    } = _ref2;
    const label = (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getFullLengthLabel)(entry);
    const contextEntry = entry.getContext().getEntry(true);
    const contextLabel = contextEntry ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_14__.getFullLengthLabel)(contextEntry) : '';
    return _objectSpread({
      entry,
      translate,
      primary: label
    }, label !== contextLabel ? {
      secondary: contextLabel
    } : {});
  };
  const getListItemProps = _ref3 => {
    let {
      entry
    } = _ref3;
    const {
      entityType
    } = items.find(item => item.entry === entry);
    if (!entityType) return;
    const overviewName = (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.getOverviewName)(entityType, entry.getContext());
    const canAccessOverview = (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.getCanAccessOverview)(entry, entityType);
    return canAccessOverview ? {
      to: async () => (0,commons_util_overview__WEBPACK_IMPORTED_MODULE_24__.getTo)(entityType, overviewName, entry)
    } : {
      tooltip: overviewName ? translate('noAccessTooltip') : null
    };
  };
  const getTypeProps = _ref4 => {
    let {
      entry
    } = _ref4;
    const {
      entityType
    } = items.find(item => item.entry === entry);
    if (!entityType) return {};
    const labelEntityType = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_13__.getBaseEntityType)(entityType);
    return {
      secondary: (0,commons_locale__WEBPACK_IMPORTED_MODULE_18__.localize)(labelEntityType.get('label'))
    };
  };
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.EntryListView, _extends({}, queryResults, {
    entries: items.map(_ref5 => {
      let {
        entry
      } = _ref5;
      return entry;
    }),
    status: status,
    nlsBundles: nlsBundles,
    includeFilters: hasFilters,
    filtersProps: hasFilters ? filterProps : null,
    getListItemProps: getListItemProps,
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.TITLE_COLUMN), {}, {
      xs: 7,
      getProps: getTitleProps
    }), {
      id: 'entityType',
      xs: 2,
      headerNlsKey: 'listHeaderEntityType',
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.ListItemText,
      getProps: getTypeProps
    }, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_10__.INFO_COLUMN), {}, {
      getProps: _ref6 => {
        let {
          entry,
          translate: t
        } = _ref6;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_11__.LIST_ACTION_INFO), {}, {
            entry,
            nlsBundles,
            Dialog: _SearchLDBDialog__WEBPACK_IMPORTED_MODULE_26__["default"]
          }),
          title: t('infoEntry')
        };
      }
    }), {
      id: 'overviewLinkIcon',
      Component: commons_components_OverviewLinkIcon__WEBPACK_IMPORTED_MODULE_21__["default"],
      getProps: getListItemProps
    }]
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_9__.withListModelProviderAndLocation)(SearchView, () => ({
  showFilters: true
})));

/***/ },

/***/ "./modules/search/SearchView/index.js"
/*!********************************************!*\
  !*** ./modules/search/SearchView/index.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _SearchView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _SearchView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchView */ "./modules/search/SearchView/SearchView.js");


/***/ },

/***/ "./modules/search/config/config.js"
/*!*****************************************!*\
  !*** ./modules/search/config/config.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * @module search
 * @description Configuration for the Search module
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  search: {
    /**
     * Pre-select a specific context (project) in the search view
     *
     * @type {string}
     * @memberof module:search
     * @default null
     */
    defaultContext: null,
    /**
     * Pre-select a specific entity type filter in the search view
     *
     * @type {string}
     * @memberof module:search
     * @default null
     */
    defaultEntityType: null
  }
});

/***/ },

/***/ "./modules/search/config/site.js"
/*!***************************************!*\
  !*** ./modules/search/config/site.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _SearchView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../SearchView */ "./modules/search/SearchView/index.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  views: [{
    name: 'search__list',
    class: _SearchView__WEBPACK_IMPORTED_MODULE_0__["default"],
    title: {
      en: 'Search',
      sv: 'Sök',
      de: 'Suche'
    },
    route: '/search',
    module: 'search',
    navbar: false,
    public: true
  }]
});

/***/ },

/***/ "./modules/status/Overview/Overview.js"
/*!*********************************************!*\
  !*** ./modules/status/Overview/Overview.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var status_Overview_chartOptions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! status/Overview/chartOptions */ "./modules/status/Overview/chartOptions.js");
/* harmony import */ var commons_components_chart_Bar__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/chart/Bar */ "./modules/commons/components/chart/Bar/index.js");
/* harmony import */ var commons_components_chart_Doughnut__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/chart/Doughnut */ "./modules/commons/components/chart/Doughnut/index.js");
/* harmony import */ var commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/chart/Time */ "./modules/commons/components/chart/Time/index.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var status_nls_esreVisualization_nls__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! status/nls/esreVisualization.nls */ "./modules/status/nls/esreVisualization.nls");
/* harmony import */ var status_nls_esreVisualization_nls__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(status_nls_esreVisualization_nls__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/nls/escoChart.nls */ "./modules/commons/nls/escoChart.nls");
/* harmony import */ var commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var _Overview_scss__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Overview.scss */ "./modules/status/Overview/Overview.scss");





















_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_7__.namespaces.add('st', 'http://entrystore.org/terms/statistics#');
const extract = (idx, stat) => {
  const _idx = idx || {};
  const md = stat.getMetadata();
  const s = stat.getResourceURI();
  const base = 'http://entrystore.org/terms/statistics#datasets_in_context_';
  md.find(s).forEach(stmt => {
    const p = stmt.getPredicate();
    if (p.indexOf(base) === 0) {
      const ctxt = p.substr(base.length);
      _idx[ctxt] = _idx[ctxt] || {
        d: [],
        t: 0
      };
      const a = _idx[ctxt];
      const v = parseInt(stmt.getValue(), 10);
      if (a.d.length > 0) {
        a.d.push(v - a.t);
      } else {
        a.d.push(v);
      }
      a.t = v;
    }
  });
  return _idx;
};

/**
 *
 * @returns {Promise<Entry|null>}
 */
const getCatalogStatisticsEntries = () => {
  return commons_store__WEBPACK_IMPORTED_MODULE_15__.entrystore.newSolrQuery().rdfType('st:CatalogStatistics').limit(30).context(commons_store__WEBPACK_IMPORTED_MODULE_15__.entrystore.getContextById('catalogstatistics')).list().getEntries();
};
const getLastMonthData = entries => {
  const today = new Date();
  return entries.map((entry, idx) => {
    const ruri = entry.getResourceURI();
    const psiAmount = entry.getMetadata().findFirstValue(ruri, 'st:psiDatasetCount');
    const otherAmount = entry.getMetadata().findFirstValue(ruri, 'st:otherDatasetCount');
    const date = new Date(today);
    date.setDate(today.getDate() - idx);
    return {
      x: date,
      y: parseInt(psiAmount, 10) + parseInt(otherAmount, 10)
    };
  });
};
const getMainStatistics = entry => {
  const md = entry.getMetadata();
  const s = entry.getResourceURI();
  const psiDCount = md.findFirstValue(s, 'st:psiDatasetCount');
  const otherDCount = md.findFirstValue(s, 'st:otherDatasetCount');
  const datasetCount = parseInt(psiDCount, 10) + parseInt(otherDCount, 10);
  const idx = extract({}, entry);
  const sourceCount = Object.keys(idx).length;
  return {
    datasetCount,
    sourceCount
  };
};
const useGetPartitions = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)([(status_nls_esreVisualization_nls__WEBPACK_IMPORTED_MODULE_16___default())]);

  /**
   *
   * @param entry
   * @returns {{datasets: {data: number[]}[], labels: *[]}}
   */
  const getPartitions = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(entry => {
    const metadata = entry.getMetadata();
    const resourceURI = entry.getResourceURI();
    const psiPage = metadata.findFirstValue(resourceURI, 'st:psiPage');
    const psiPageAndDcat = metadata.findFirstValue(resourceURI, 'st:psiPageAndDcat');
    const psiDcat = metadata.findFirstValue(resourceURI, 'st:psiDcat');
    const psiFailed = metadata.findFirstValue(resourceURI, 'st:psiFailed');
    const labels = [translate('dcatAndPSILegend', psiPageAndDcat), translate('onlyPSILegend', psiPage), translate('onlyDcatLegend', psiDcat), translate('neitherLegend', psiFailed)];
    return {
      labels,
      datasets: [{
        data: [parseInt(psiPageAndDcat, 10), parseInt(psiPage, 10), parseInt(psiDcat, 10), parseInt(psiFailed, 10)]
      }]
    };
  }, [translate]);
  return getPartitions;
};
const useGetPublicSources = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)([(status_nls_esreVisualization_nls__WEBPACK_IMPORTED_MODULE_16___default())]);
  const getPublicSources = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(sourcesEntries => {
    if (sourcesEntries.length < 3) {
      return Promise.resolve([]);
    }
    const arr = sourcesEntries.slice(sourcesEntries.length - 3);
    const idx = {};
    arr.forEach(extract.bind(undefined, idx));
    const ctxt2label = {};
    return commons_store__WEBPACK_IMPORTED_MODULE_15__.entrystore.newSolrQuery().literalProperty('storepr:merge', 'true').tagLiteral('latest').list().forEach(entry => {
      ctxt2label[entry.getContext().getId()] = entry.getMetadata().findFirstValue(null, 'dcterms:title');
    }).then(() => {
      const sources = [];
      Object.keys(idx).forEach(key => {
        const l = ctxt2label[key];
        // If no label found, the source has no datasets
        // in the latest index => ignore.
        if (l) {
          const {
            t
          } = idx[key];
          sources.push({
            fullLabel: l,
            l: `${(0,commons_util_util__WEBPACK_IMPORTED_MODULE_19__.truncate)(l, 40)} (${t})`,
            t,
            d: idx[key].d
          });
        }
      });
      sources.sort((source1, source2) => {
        if (source1.t > source2.t) return -1;
        if (source1.t < source2.t) return 1;
        return 0;
      });
      const max = 20;
      const labels = sources.map(o => o.l).slice(0, max);
      return {
        datasets: [{
          barThickness: 7,
          label: translate('datasetsPerOrg'),
          data: sources.map(source => (source === null || source === void 0 ? void 0 : source.t) || 0),
          fullLabels: sources.map(_ref => {
            let {
              fullLabel
            } = _ref;
            return fullLabel;
          })
        }],
        labels
      };
    });
  }, [translate]);
  return getPublicSources;
};
const GROWTH_CHART_ID = 'growthChart';
const STATUS_CHART_ID = 'statusChart';
const RANKING_CHART_ID = 'rankingChart';
const CHARTS = [GROWTH_CHART_ID, STATUS_CHART_ID, RANKING_CHART_ID];
const emptyStatisticsData = {
  datasetsCount: 0,
  sourcesCount: 0,
  lastMonthData: {},
  publicSources: {},
  partitions: {}
};
const StatusOverview = () => {
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)([(status_nls_esreVisualization_nls__WEBPACK_IMPORTED_MODULE_16___default()), (commons_nls_escoChart_nls__WEBPACK_IMPORTED_MODULE_17___default())]);
  const getPartitions = useGetPartitions();
  const getPublicSources = useGetPublicSources();
  const {
    runAsync,
    data: {
      datasetsCount,
      sourcesCount,
      lastMonthData,
      publicSources,
      partitions
    }
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_21__["default"])({
    data: emptyStatisticsData
  });
  const visibleCharts = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    const excludedCharts = config__WEBPACK_IMPORTED_MODULE_20__["default"].get('status.excludeCharts');
    return CHARTS.filter(chartId => !excludedCharts.includes(chartId));
  }, []);
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    const getStatistics = async () => {
      const entries = await getCatalogStatisticsEntries();
      if (entries.length === 0) return emptyStatisticsData;
      const {
        datasetCount,
        sourceCount
      } = getMainStatistics(entries[0]);
      const partitionsData = getPartitions(entries[0]);
      const lastMonthDataObj = {
        datasets: [{
          label: t('datasetCount'),
          data: getLastMonthData(entries),
          fill: false
        }]
      };
      entries.reverse(); // earliest to latest
      const publicSourcesData = await getPublicSources(entries);
      return {
        datasetsCount: datasetCount,
        sourcesCount: sourceCount,
        lastMonthData: lastMonthDataObj,
        publicSources: publicSourcesData,
        partitions: partitionsData
      };
    };
    runAsync(getStatistics());
  }, [getPartitions, getPublicSources, t, runAsync]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    container: true,
    direction: "column",
    justifyContent: "flex-start",
    alignItems: "flex-start",
    spacing: 3
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    container: true,
    direction: "row",
    spacing: 2,
    size: {
      xs: 12
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    classes: {
      root: 'esreStatusCard'
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "esreStatusCard__value esreStatusCard--background-color"
  }, datasetsCount), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "esreStatusCard__label esreStatusCard--background-color"
  }, t('datasetsTitle'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    classes: {
      root: 'esreStatusCard'
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "esreStatusCard__value esreStatusCard--background-color"
  }, sourcesCount), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    className: "esreStatusCard__label esreStatusCard--background-color"
  }, t('organizationsTitle')))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    container: true,
    spacing: 3,
    direction: "row",
    size: {
      xs: 12
    }
  }, visibleCharts.includes(GROWTH_CHART_ID) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    size: {
      xs: 12,
      xl: visibleCharts.includes(STATUS_CHART_ID) ? 6 : 12
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    classes: {
      root: 'esreStatusCard__charts'
    },
    elevation: 0
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "h2",
    className: "esreStatusCard__header"
  }, t('datasetGrowth')), lastMonthData.datasets && lastMonthData.datasets[0].data.length ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(commons_components_chart_Time__WEBPACK_IMPORTED_MODULE_14__["default"], {
    data: lastMonthData,
    type: "line",
    timeUnit: "day",
    dimensions: status_Overview_chartOptions__WEBPACK_IMPORTED_MODULE_11__.timeChartDimensions,
    options: status_Overview_chartOptions__WEBPACK_IMPORTED_MODULE_11__.timeChartBar
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], null, t('noDataMessage')))) : null, visibleCharts.includes(STATUS_CHART_ID) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    size: {
      xs: 12,
      xl: visibleCharts.includes(GROWTH_CHART_ID) ? 6 : 12
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    classes: {
      root: 'esreStatusCard__charts'
    },
    elevation: 0
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "h2",
    className: "esreStatusCard__header"
  }, t('orgStatus')), partitions.datasets && partitions.datasets[0].data.length ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(commons_components_chart_Doughnut__WEBPACK_IMPORTED_MODULE_13__["default"], {
    data: partitions,
    type: "pie",
    labelFontSize: 13,
    options: status_Overview_chartOptions__WEBPACK_IMPORTED_MODULE_11__.pieChartOptions
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], null, t('noDataMessage')))) : null), visibleCharts.includes(RANKING_CHART_ID) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    container: true,
    spacing: 3,
    size: {
      xs: 12
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    size: {
      xs: 12
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    classes: {
      root: 'esreStatusCard__charts'
    },
    elevation: 0
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    variant: "h2",
    className: "esreStatusCard__header"
  }, t('topOrganizations')), publicSources.datasets && publicSources.datasets[0].data.length ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(commons_components_chart_Bar__WEBPACK_IMPORTED_MODULE_12__["default"], {
    data: publicSources,
    type: "bar",
    dimensions: {
      height: '800px'
    },
    options: status_Overview_chartOptions__WEBPACK_IMPORTED_MODULE_11__.barChartOptions
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], null, t('noDataMessage'))))) : null);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatusOverview);

/***/ },

/***/ "./modules/status/Overview/chartOptions.js"
/*!*************************************************!*\
  !*** ./modules/status/Overview/chartOptions.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   barChartOptions: () => (/* binding */ barChartOptions),
/* harmony export */   pieChartOptions: () => (/* binding */ pieChartOptions),
/* harmony export */   timeChartBar: () => (/* binding */ timeChartBar),
/* harmony export */   timeChartDimensions: () => (/* binding */ timeChartDimensions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
const chartFontSize = 13;
const ticksFontSize = {
  ticks: {
    font: {
      size: chartFontSize
    }
  }
};
const chartOptions = {
  scales: {
    y: _objectSpread({}, ticksFontSize),
    x: _objectSpread({}, ticksFontSize)
  }
};
const timeChartBar = {
  plugins: {
    legend: {
      labels: {
        font: {
          size: chartFontSize
        }
      }
    }
  },
  scales: {
    y: _objectSpread({}, ticksFontSize),
    x: _objectSpread(_objectSpread({}, ticksFontSize), {}, {
      grid: {
        display: false
      }
    })
  }
};
const timeChartDimensions = {
  height: '400px'
};
const pieChartOptions = {
  maintainAspectRatio: false,
  plugins: {
    legend: {
      position: 'right',
      labels: {
        font: {
          size: chartFontSize
        }
      }
    }
  }
};

/**
 * @param {object[]} tooltipItems
 * @returns {string} full (non-truncated) label
 */
const tooltipTitleCallback = tooltipItems => {
  var _tooltipItem$dataset;
  const tooltipItem = tooltipItems[0];
  if (!tooltipItem) return '';
  return ((_tooltipItem$dataset = tooltipItem.dataset) === null || _tooltipItem$dataset === void 0 ? void 0 : _tooltipItem$dataset.fullLabels[tooltipItem.dataIndex]) || '';
};
const barChartOptions = _objectSpread(_objectSpread({
  maintainAspectRatio: false,
  indexAxis: 'y'
}, chartOptions), {}, {
  plugins: {
    tooltip: {
      callbacks: {
        title: tooltipTitleCallback
      }
    }
  }
});


/***/ },

/***/ "./modules/status/Overview/index.js"
/*!******************************************!*\
  !*** ./modules/status/Overview/index.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Overview__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Overview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Overview */ "./modules/status/Overview/Overview.js");


/***/ },

/***/ "./modules/status/Sources/SourceLinkedDataBrowserDialog.js"
/*!*****************************************************************!*\
  !*** ./modules/status/Sources/SourceLinkedDataBrowserDialog.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var harvest_Information_PipelinePresenter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! harvest/Information/PipelinePresenter */ "./modules/harvest/Information/PipelinePresenter/index.js");
/* harmony import */ var harvest_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! harvest/util */ "./modules/harvest/util/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");

const _excluded = ["entry", "nlsBundles"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const SourceLinkedDataBrowserDialog = _ref => {
  let {
      entry,
      nlsBundles
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const {
    data: {
      sourceData
    },
    runAsync,
    status
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_8__["default"])({
    data: {}
  });
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (status !== 'idle') return;
    const contextId = entry.getContext().getId();
    runAsync((0,harvest_util__WEBPACK_IMPORTED_MODULE_7__.fetchSourceData)(contextId));
  }, [runAsync, status, entry]);
  const renderPresenter = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(_ref2 => {
    let {
      stackIndex
    } = _ref2;
    return sourceData && stackIndex === 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(harvest_Information_PipelinePresenter__WEBPACK_IMPORTED_MODULE_6__["default"], {
      sourceData: sourceData,
      showOnlyMetadata: true
    }) : null;
  }, [sourceData]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({}, rest, {
    entry: entry,
    renderPresenter: renderPresenter
  }));
};
SourceLinkedDataBrowserDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SourceLinkedDataBrowserDialog);

/***/ },

/***/ "./modules/status/Sources/Sources.js"
/*!*******************************************!*\
  !*** ./modules/status/Sources/Sources.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckCircle.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ManageSearch.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! status/nls/esreStatus.nls */ "./modules/status/nls/esreStatus.nls");
/* harmony import */ var status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoPlaceholder.nls */ "./modules/commons/nls/escoPlaceholder.nls");
/* harmony import */ var commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/theme/mui/colors */ "./modules/commons/theme/mui/colors.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var harvest_dialogs_PipelineResultDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! harvest/dialogs/PipelineResultDialog */ "./modules/harvest/dialogs/PipelineResultDialog/index.js");
/* harmony import */ var commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/filters/utils/filterDefinitions */ "./modules/commons/components/filters/utils/filterDefinitions.js");
/* harmony import */ var commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/filters/hooks/useSearchFilters */ "./modules/commons/components/filters/hooks/useSearchFilters.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/util/solr/entry */ "./modules/commons/util/solr/entry.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var _SourceLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./SourceLinkedDataBrowserDialog */ "./modules/status/Sources/SourceLinkedDataBrowserDialog.js");
/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../tags */ "./modules/status/tags.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["applyFilters", "isLoading", "hasFilters"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }






















const nlsBundles = [(status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_8___default()), (commons_nls_escoPlaceholder_nls__WEBPACK_IMPORTED_MODULE_9___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_7___default())];
const Sources = () => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_10__.useTranslation)(nlsBundles);
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__.useUserState)();
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_20__["default"])();
  const _useSearchFilters = (0,commons_components_filters_hooks_useSearchFilters__WEBPACK_IMPORTED_MODULE_19__["default"])([commons_components_filters_utils_filterDefinitions__WEBPACK_IMPORTED_MODULE_18__.SECTOR_FILTER], nlsBundles),
    {
      applyFilters,
      isLoading,
      hasFilters
    } = _useSearchFilters,
    filterProps = _objectWithoutProperties(_useSearchFilters, _excluded);
  const createQuery = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(() => {
    const queries = [commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.newSolrQuery().literalProperty('storepr:merge', 'true'), commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.newSolrQuery().literalProperty('storepr:merge', 'true', 'not')];
    return queries.map(query => {
      query.graphType(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.types.GT_PIPELINERESULT).tagLiteral(['latest']);
      if ((0,commons_util_user__WEBPACK_IMPORTED_MODULE_13__.isGuest)(userEntry)) query.publicRead(true);
      return query;
    });
  }, [userEntry]);
  const multiListApplyFilters = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(queries => queries.map(query => applyFilters(query)), [applyFilters]);
  const queryResults = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.useSolrQuery)({
    createQuery,
    runQuery: commons_util_solr_entry__WEBPACK_IMPORTED_MODULE_21__.multiListFetchEntries,
    applyFilters: multiListApplyFilters,
    wait: isLoading
  });
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.EntryListView, _extends({}, queryResults, {
    nlsBundles: nlsBundles,
    viewPlaceholderProps: {
      label: translate('emptyMessageWithName', translate('placeholderEntityName'))
    },
    getListItemProps: _ref => {
      let {
        entry
      } = _ref;
      return {
        action: {
          entry,
          Dialog: harvest_dialogs_PipelineResultDialog__WEBPACK_IMPORTED_MODULE_17__["default"],
          context: entry.getContext()
        }
      };
    },
    includeFilters: hasFilters,
    filtersProps: filterProps,
    rowsPerPageOptions: [],
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.TITLE_COLUMN), {}, {
      xs: 6,
      headerNlsKey: 'organizationLabel',
      title: translate('otherOrgTitle'),
      tags: [_tags__WEBPACK_IMPORTED_MODULE_24__.PUBLIC_SECTOR_TAG, _tags__WEBPACK_IMPORTED_MODULE_24__.PRIVATE_SECTOR_TAG]
    }), {
      id: 'datasets',
      xs: 2,
      headerNlsKey: 'dcatAPLabel',
      title: translate('dcatAPTitle'),
      justifyContent: 'center',
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListItemIcon,
      getProps: _ref2 => {
        let {
          entry
        } = _ref2;
        const datasetsFound = entry.getMetadata().findFirstValue(null, 'storepr:merge');
        return {
          icon: datasetsFound ? /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
            style: {
              color: commons_theme_mui_colors__WEBPACK_IMPORTED_MODULE_12__.success.main
            }
          }) : null
        };
      }
    }, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.MODIFIED_COLUMN), {}, {
      headerNlsKey: 'checkedLabel',
      title: translate('checkedTitle'),
      sortBy: false
    }), {
      id: 'open-in-search',
      xs: 1,
      Component: commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.ListItemIconButton,
      icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_5__["default"], null),
      justifyContent: 'flex-end',
      getProps: _ref3 => {
        let {
          entry,
          translate: translateProp
        } = _ref3;
        const handleClick = _event => navigate('/search', {
          state: {
            filter: {
              'context-filter': entry.getContext().getId()
            }
          }
        });
        return {
          title: translateProp('searchButtonTooltip'),
          onClick: handleClick
        };
      }
    }, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_14__.INFO_COLUMN), {}, {
      getProps: _ref4 => {
        let {
          entry,
          translate: translateProp
        } = _ref4;
        return {
          action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_15__.LIST_ACTION_INFO), {}, {
            entry,
            nlsBundles,
            Dialog: _SourceLinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_23__["default"]
          }),
          title: translateProp('infoEntry')
        };
      }
    })]
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.withListModelProvider)(Sources, () => ({
  showFilters: config__WEBPACK_IMPORTED_MODULE_22__["default"].get('theme.expandReportsFilter')
})));

/***/ },

/***/ "./modules/status/Sources/index.js"
/*!*****************************************!*\
  !*** ./modules/status/Sources/index.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Sources__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Sources__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Sources */ "./modules/status/Sources/Sources.js");


/***/ },

/***/ "./modules/status/Statistics/index.js"
/*!********************************************!*\
  !*** ./modules/status/Statistics/index.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var harvest_Statistics_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! harvest/Statistics/index */ "./modules/harvest/Statistics/index.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const StatisticsView = () => {
  return /*#__PURE__*/React.createElement(harvest_Statistics_index__WEBPACK_IMPORTED_MODULE_0__["default"], null);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatisticsView);

/***/ },

/***/ "./modules/status/config/config.js"
/*!*****************************************!*\
  !*** ./modules/status/config/config.js ***!
  \*****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   REPORTS_LISTVIEW: () => (/* binding */ REPORTS_LISTVIEW),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const REPORTS_LISTVIEW = 'status_reports';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  status: {
    /**
     * Exclude charts from the status overview using their hard-coded IDs
     *
     * @type {string[]}
     */
    excludeCharts: []
  }
});

/***/ },

/***/ "./modules/status/config/site.js"
/*!***************************************!*\
  !*** ./modules/status/config/site.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var status_Statistics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! status/Statistics */ "./modules/status/Statistics/index.js");
/* harmony import */ var status_Overview__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! status/Overview */ "./modules/status/Overview/index.js");
/* harmony import */ var status_Sources__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! status/Sources */ "./modules/status/Sources/index.js");
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./config */ "./modules/status/config/config.js");




/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  modules: [{
    name: 'status',
    productName: {
      en: 'Harvest report',
      sv: 'Skördnings&shy;rapport',
      de: 'Harvesting-Bericht'
    },
    startView: 'status__visualization',
    // compulsory
    title: {
      en: 'Harvest report',
      sv: 'Skördnings&shy;rapport',
      de: 'Harvesting-Bericht'
    },
    sidebar: true,
    asCrumb: true,
    faClass: 'eye',
    text: {
      en: 'An automated audit of harvesting sources',
      sv: 'En automatiserad granskning av skördningskällor',
      de: 'Eine automatisierte Prüfung der Harvesting-Quellen'
    }
  }],
  views: [{
    name: 'status__visualization',
    class: status_Overview__WEBPACK_IMPORTED_MODULE_1__["default"],
    title: {
      en: 'Latest harvest',
      sv: 'Senaste skördning',
      de: 'Letztes Harvesting'
    },
    route: '/status/overview',
    module: 'status',
    parent: 'status__visualization',
    public: true
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_3__.REPORTS_LISTVIEW,
    class: status_Sources__WEBPACK_IMPORTED_MODULE_2__["default"],
    title: {
      en: 'Reports',
      sv: 'Rapporter',
      de: 'Berichte'
    },
    route: '/status/reports',
    module: 'status',
    parent: 'status__visualization',
    public: true
  }, {
    name: 'status__statistics',
    class: status_Statistics__WEBPACK_IMPORTED_MODULE_0__["default"],
    title: {
      en: 'Statistics',
      sv: 'Statistik',
      de: 'Statistiken'
    },
    route: '/status/statistics',
    module: 'status',
    parent: 'status__visualization',
    restrictTo: 'admin',
    public: true
  }]
});

/***/ },

/***/ "./modules/status/tags.js"
/*!********************************!*\
  !*** ./modules/status/tags.js ***!
  \********************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PRIVATE_SECTOR_TAG: () => (/* binding */ PRIVATE_SECTOR_TAG),
/* harmony export */   PUBLIC_SECTOR_TAG: () => (/* binding */ PUBLIC_SECTOR_TAG)
/* harmony export */ });
/* harmony import */ var status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! status/nls/esreStatus.nls */ "./modules/status/nls/esreStatus.nls");
/* harmony import */ var status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_0__);

const PUBLIC_SECTOR_TAG = {
  id: 'privateSectorTag',
  labelNlsKey: 'publicFilterLabel',
  nlsBundles: (status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_0___default()),
  isVisible: entry => entry.getMetadata().find(null, 'dcterms:subject', {
    type: 'literal',
    value: 'psi'
  }).length > 0
};
const PRIVATE_SECTOR_TAG = {
  id: 'privateSectorTag',
  labelNlsKey: 'privateFilterLabel',
  nlsBundles: (status_nls_esreStatus_nls__WEBPACK_IMPORTED_MODULE_0___default()),
  isVisible: entry => !entry.getMetadata().find(null, 'dcterms:subject', {
    type: 'literal',
    value: 'psi'
  }).length
};

/***/ },

/***/ "./modules/terms/config/config.js"
/*!****************************************!*\
  !*** ./modules/terms/config/config.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   COLLECTION_OVERVIEW_NAME: () => (/* binding */ COLLECTION_OVERVIEW_NAME),
/* harmony export */   CONCEPT_OVERVIEW_NAME: () => (/* binding */ CONCEPT_OVERVIEW_NAME),
/* harmony export */   TERMINOLOGY_COLLECTIONS_LISTVIEW: () => (/* binding */ TERMINOLOGY_COLLECTIONS_LISTVIEW),
/* harmony export */   TERMINOLOGY_CONCEPTS_VIEW_NAME: () => (/* binding */ TERMINOLOGY_CONCEPTS_VIEW_NAME),
/* harmony export */   TERMINOLOGY_OVERVIEW_NAME: () => (/* binding */ TERMINOLOGY_OVERVIEW_NAME),
/* harmony export */   TERMS_ENTITY_OVERVIEW_NAME: () => (/* binding */ TERMS_ENTITY_OVERVIEW_NAME),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const TERMINOLOGY_OVERVIEW_NAME = 'terminology__overview';
const COLLECTION_OVERVIEW_NAME = 'terminology__collections__collection';
const TERMINOLOGY_COLLECTIONS_LISTVIEW = 'terminology__collections';
const TERMINOLOGY_CONCEPTS_VIEW_NAME = 'terminology__concepts';
const CONCEPT_OVERVIEW_NAME = 'terminology__concepts__concept';
const TERMS_ENTITY_OVERVIEW_NAME = 'terms__entities__type__overview';

/**
 * @module terms
 * @description Configuration for the Terms module
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  terms: {
    /**
     * RDForms template id for SKOS concepts
     *
     * @type {string}
     * @memberof module:terms
     * @default 'skosmos:concept'
     */
    conceptTemplateId: 'skosmos:concept',
    /**
     * Show a table-view toggle in the concepts list view.
     *
     * @type {boolean}
     * @memberof module:terms
     * @default true
     */
    includeTableView: true,
    /**
     * Maximum number of concepts a terminology can have for custom ordering
     * to be available.
     *
     * @type {number}
     * @memberof module:terms
     * @default 100
     */
    customOrderLimit: 100,
    /**
     * Maximum number of terminologies (concept schemes) that can be created.
     * Empty string means no limit.
     *
     * @type {string|number}
     * @memberof module:terms
     * @default ''
     */
    schemeLimit: '',
    /**
     * Maximum number of concepts that can be created.
     * Empty string means no limit.
     *
     * @type {string|number}
     * @memberof module:terms
     * @default ''
     */
    conceptLimit: '',
    /**
     * Shown when concept creation limit is reached.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:terms
     * @default ''
     */
    conceptLimitDialog: '',
    /**
     * Shown when terminology publishing is not allowed.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:terms
     * @default ''
     */
    disallowSchemePublishingDialog: '',
    /**
     * Skip publisher selection when creating a new terminology.
     * When false, a publisher must be selected during creation.
     *
     * @type {boolean}
     * @memberof module:terms
     * @default true
     * @see {@link module:terms.publisherFromContext}
     */
    createWithoutPublisher: true,
    /**
     * Restrict publisher selection to ones from a specific context.
     * Only applies when {@link module:terms.createWithoutPublisher} is false.
     *
     * @type {string}
     * @memberof module:terms
     * @default ''
     */
    publisherFromContext: '',
    /**
     * Show the terminology overview tab in navigation
     *
     * @type {boolean}
     * @memberof module:terms
     * @default true
     */
    includeOverview: true,
    /**
     * Show the collections tab in navigation
     *
     * @type {boolean}
     * @memberof module:terms
     * @default true
     */
    includeCollections: true,
    /**
     * View to navigate to when clicking on a terminology list item
     *
     * @type {string}
     * @memberof module:terms
     */
    startView: TERMINOLOGY_OVERVIEW_NAME,
    /**
     * URI replacement rules applied to imported SKOS concept graphs.
     * Matches statements by predicate/datatype or URI pattern and replaces
     * concept URIs with EntryStore resource URIs.
     *
     * @type {{matchPredicate: string, matchDatatype: string, URIRegexp: RegExp, allURIs: boolean}}
     * @memberof module:terms
     * @default null
     */
    replace: null,
    /**
     * Base URL for the terminology import API. When provided, the SDK-based
     * import path is used instead of the legacy client-side approach.
     *
     * @type {string}
     * @memberof module:terms
     * @default ''
     */
    importApiBaseUrl: ''
  },
  /** @ignore */
  itemstore: {
    /**
     * Classes that manage the listing/searching of values in rdforms selects.
     * The value of choosers is an array of strings,
     * the string refer to the filename in a specific path,
     * commons/rdforms/choosers
     *
     * @type {string[]}
     */
    choosers: ['SkosChooser']
  },
  /** @ignore */
  entrychooser: {
    'http://www.w3.org/2004/02/skos/core#related': 'context',
    'http://www.w3.org/2004/02/skos/core#exactMatch': 'notContext',
    'http://www.w3.org/2004/02/skos/core#closeMatch': 'notContext',
    'http://www.w3.org/2004/02/skos/core#relatedMatch': 'notContext',
    'http://www.w3.org/2004/02/skos/core#narrowMatch': 'notContext',
    'http://www.w3.org/2004/02/skos/core#broadMatch': 'notContext'
  },
  /** @ignore */
  entitytypes: [{
    name: 'concept',
    label: {
      en: 'Concept',
      sv: 'Begrepp',
      de: 'Begriff'
    },
    /**
     * A constraints object for the entitytype, more flexible than using the rdfType configuration.
     * Providing a skos:inScheme with a value of null means it will match any value.
     * The null in skos:inScheme allows matching this entitytype against expressions in RDForms with explicit
     * restrictions to a specific terminology (by expressing a skos:inScheme to a specific concept scheme).
     *
     * @type {object}
     */
    constraints: {
      'skos:inScheme': null,
      'rdf:type': 'skos:Concept'
    },
    mainModule: 'terms',
    module: ['terms', 'catalog', 'workbench', 'models'],
    template: 'skosmos:concept',
    templateLevel: 'mandatory',
    includeInternal: true,
    includeFile: false,
    includeLink: true,
    inlineCreation: false,
    faClass: 'cube',
    allContexts: true,
    listview: TERMINOLOGY_CONCEPTS_VIEW_NAME,
    overview: CONCEPT_OVERVIEW_NAME
  }, {
    name: 'conceptcollection',
    label: {
      en: 'Collection',
      sv: 'Begrepp',
      de: 'Sammlung'
    },
    rdfType: ['http://www.w3.org/2004/02/skos/core#Collection'],
    mainModule: 'terms',
    module: 'terms',
    template: 'skosmos:conceptScheme',
    includeInternal: true,
    includeFile: false,
    includeLink: true,
    inlineCreation: false,
    faClass: 'cubes',
    listview: TERMINOLOGY_COLLECTIONS_LISTVIEW,
    overview: COLLECTION_OVERVIEW_NAME
  }, {
    name: 'conceptscheme',
    label: {
      en: 'Terminology'
    },
    rdfType: ['http://www.w3.org/2004/02/skos/core#ConceptScheme'],
    mainModule: 'terms',
    module: 'terms',
    template: 'skosmos:conceptScheme',
    includeInternal: true,
    includeFile: false,
    includeLink: true,
    inlineCreation: false,
    overview: TERMINOLOGY_OVERVIEW_NAME
  }]
});

/***/ },

/***/ "./modules/toolkit/Catalog/Catalog.js"
/*!********************************************!*\
  !*** ./modules/toolkit/Catalog/Catalog.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/AppBar.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/Tabs.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/Tab.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/contexts/ClipboardGraphContext */ "./modules/commons/contexts/ClipboardGraphContext.js");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! toolkit/nls/esreSource.nls */ "./modules/toolkit/nls/esreSource.nls");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js");
/* harmony import */ var file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! file-saver/FileSaver */ "./node_modules/.pnpm/file-saver@1.3.8/node_modules/file-saver/FileSaver.js");
/* harmony import */ var file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_21__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* harmony import */ var toolkit_Catalog_TabPanel__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! toolkit/Catalog/TabPanel */ "./modules/toolkit/Catalog/TabPanel.js");
/* harmony import */ var toolkit_Catalog_UploadDialog__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! toolkit/Catalog/UploadDialog */ "./modules/toolkit/Catalog/UploadDialog.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_hooks_useN3__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/useN3 */ "./modules/commons/hooks/useN3.js");
/* harmony import */ var commons_hooks_useJsonld__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/hooks/useJsonld */ "./modules/commons/hooks/useJsonld.js");
/* harmony import */ var commons_util_turtle__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/util/turtle */ "./modules/commons/util/turtle.js");
/* harmony import */ var commons_util_jsonld__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/util/jsonld */ "./modules/commons/util/jsonld.js");
/* harmony import */ var commons_util_rdfFormat__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! commons/util/rdfFormat */ "./modules/commons/util/rdfFormat.js");
/* harmony import */ var commons_util_file__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! commons/util/file */ "./modules/commons/util/file.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_util_config__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! commons/util/config */ "./modules/commons/util/config.js");
/* harmony import */ var _LocationChangeListener__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../LocationChangeListener */ "./modules/toolkit/LocationChangeListener.js");
/* harmony import */ var _Catalog_scss__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./Catalog.scss */ "./modules/toolkit/Catalog/Catalog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }







/* global DEVELOPMENT */



























const MAX_INPUT_LENGTH = 100000;
const TABS = {
  RDFXML: 0,
  RDFJSON: 1,
  TURTLE: 2,
  JSONLD: 3
};

/**
 * @returns {string}
 */
const getExampleURL = () => {
  const examplePathConfig = config__WEBPACK_IMPORTED_MODULE_33__["default"].get('registry.toolkitExamplePath');
  const baseURL = examplePathConfig || false ? commons_util_config__WEBPACK_IMPORTED_MODULE_35__["default"].getBaseUrl() : commons_util_config__WEBPACK_IMPORTED_MODULE_35__["default"].getStaticBuildPath();
  const path = examplePathConfig || 'assets/toolkitExample.rdf';
  return new URL(path, baseURL).href;
};
const loadRdfFile = () => {
  const exampleURL = getExampleURL();
  return fetch(exampleURL).then(response => {
    if (response.ok) {
      return response.text();
    }
    throw Error("A problem occured while loading the toolkit's example");
  }).catch(error => {
    return Promise.reject(error);
  });
};

/**
 * Truncates oversized serialized RDF for display, flagging it read-only.
 *
 * @param {string} value
 * @param {string} truncationLabel
 * @returns {{value: string, readOnly: boolean}}
 */
const truncateLarge = (value, truncationLabel) => {
  if (value.length > MAX_INPUT_LENGTH) {
    return {
      value: `${value.substring(0, MAX_INPUT_LENGTH)}\n    ----- \n ${truncationLabel} \n   ------`,
      readOnly: true
    };
  }
  return {
    value,
    readOnly: false
  };
};
const serializeRDFXML = graph => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_14__.converters.rdfjson2rdfxml(graph);
const serializeRDFJSON = graph => JSON.stringify(graph.exportRDFJSON(), null, 2);
const formatToTab = format => {
  if (format === 'turtle') return TABS.TURTLE;
  if (format === 'jsonld') return TABS.JSONLD;
  if (format === 'rdf/json') return TABS.RDFJSON;
  return TABS.RDFXML;
};
const PARSE_DEBOUNCE_MS = 300;
const Source = () => {
  const [selectedTab, setSelectedTab] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(TABS.RDFXML);
  const [graphValue, setGraphValue] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(null);
  const graphValueRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)();
  const [rdfXMLValue, setRdfXMLValue] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)('');
  const [rdfJSONValue, setRdfJSONValue] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)('');
  const [turtleValue, setTurtleValue] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)('');
  const [jsonldValue, setJsonldValue] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)('');
  const [readOnly, setReadOnly] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(false);
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(null);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_22__.useUserState)();
  const {
    N3,
    isLoading: isN3Loading
  } = (0,commons_hooks_useN3__WEBPACK_IMPORTED_MODULE_27__["default"])();
  const {
    jsonld,
    isLoading: isJsonldLoading
  } = (0,commons_hooks_useJsonld__WEBPACK_IMPORTED_MODULE_28__["default"])();
  const isGuest = userInfo.entryId === commons_util_userIds__WEBPACK_IMPORTED_MODULE_23__.USER_ENTRY_ID_GUEST;
  const [clipboardGraph, setClipboardGraph] = (0,commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_17__.useClipboardGraph)();
  const [openLoadDialog, setOpenLoadDialog] = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(false);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)((toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_18___default()));
  const readOnlyInfo = readOnly ? translate('readOnlyInfo') : null;
  const isMounted = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(false);
  const {
    runAsync,
    error: loadExampleError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_26__["default"])({
    data: null
  });
  const setRDFXML = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(async graph => {
    const {
      value,
      readOnly: isReadOnly
    } = truncateLarge(await serializeRDFXML(graph), translate('truncatingRDF'));
    setReadOnly(isReadOnly);
    setRdfXMLValue(value);
  }, [translate]);
  const setRDFJSON = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(graph => {
    const {
      value,
      readOnly: isReadOnly
    } = truncateLarge(serializeRDFJSON(graph), translate('truncatingRDF'));
    setReadOnly(isReadOnly);
    setRdfJSONValue(value);
  }, [translate]);
  const setTurtle = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(async graph => {
    if (!N3) return;
    const {
      value,
      readOnly: isReadOnly
    } = truncateLarge(await (0,commons_util_turtle__WEBPACK_IMPORTED_MODULE_29__.graphToTurtle)(N3, graph), translate('truncatingRDF'));
    setReadOnly(isReadOnly);
    setTurtleValue(value);
  }, [N3, translate]);
  const setJsonld = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(async graph => {
    if (!jsonld || !N3) return;
    const {
      value,
      readOnly: isReadOnly
    } = truncateLarge(await (0,commons_util_jsonld__WEBPACK_IMPORTED_MODULE_30__.graphToJsonld)(jsonld, N3, graph), translate('truncatingRDF'));
    setReadOnly(isReadOnly);
    setJsonldValue(value);
  }, [jsonld, N3, translate]);
  const refreshTabValue = (tab, graph) => {
    if (!graph) return;
    if (tab === TABS.RDFXML) setRDFXML(graph);else if (tab === TABS.RDFJSON) setRDFJSON(graph);else if (tab === TABS.TURTLE) setTurtle(graph);else if (tab === TABS.JSONLD) setJsonld(graph);
  };
  const detectGraph = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(async rdf => {
    const report = await (0,commons_util_rdfFormat__WEBPACK_IMPORTED_MODULE_31__.detectAndParse)(rdf, {
      N3,
      jsonld
    });
    setError(report.error);
    if (report.graph) {
      setGraphValue(report.graph);
    }
    if (report.format) {
      setSelectedTab(formatToTab(report.format));
    }
  }, [N3, jsonld]);

  /**
   * Loads initial graph and xml values. If clipboard graph is available, that value will be
   * used to initialize. If not available, defaults will be used.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    if (isMounted.current) return; // make sure rdf xml is not reinitialized
    isMounted.current = true;
    if (clipboardGraph) {
      setRDFXML(clipboardGraph);
      setGraphValue(clipboardGraph);
    } else {
      const rdfDefault = '<?xml version="1.0"?>\n' + '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n' + '</rdf:RDF>';
      setRdfXMLValue(rdfDefault);
      detectGraph(rdfDefault);
    }
  }, [clipboardGraph, setClipboardGraph, setRDFXML, detectGraph]);
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    if (graphValue) {
      graphValueRef.current = graphValue;
      setClipboardGraph(graphValue);
    }
  }, [graphValue, setClipboardGraph]);

  // Turtle/JSON-LD serialization needs the lazily-loaded N3 and jsonld modules.
  // When they arrive while one of those tabs is active, populate it from the
  // current graph. Limited to [N3, jsonld] so editing does not clobber the input.
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => {
    if (!graphValueRef.current) return;
    if (selectedTab === TABS.TURTLE && N3) {
      setTurtle(graphValueRef.current);
    } else if (selectedTab === TABS.JSONLD && N3 && jsonld) {
      setJsonld(graphValueRef.current);
    }
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [N3, jsonld]);
  const loadExample = async () => {
    const exampleRDF = await loadRdfFile();
    const report = await (0,commons_util_rdfFormat__WEBPACK_IMPORTED_MODULE_31__.detectAndParse)(exampleRDF, {
      N3,
      jsonld
    });
    setError(report.error);
    if (report.graph) {
      setGraphValue(report.graph);
      refreshTabValue(selectedTab, report.graph);
    }
  };
  const handleTabChange = (event, newValue) => {
    setSelectedTab(newValue);
    refreshTabValue(newValue, graphValue);
  };
  const handleUploadLoaded = _ref => {
    let {
      graph,
      format
    } = _ref;
    setError(null);
    setGraphValue(graph);
    const tab = formatToTab(format);
    setSelectedTab(tab);
    refreshTabValue(tab, graph);
  };
  const handleXMLChange = event => {
    const newXMLInput = event.target.value;
    setRdfXMLValue(newXMLInput);
    detectGraph(newXMLInput);
  };
  const handleJSONChange = event => {
    const newJSONInput = event.target.value;
    setRdfJSONValue(newJSONInput);
    try {
      const parsedJSONInput = JSON.parse(newJSONInput);
      detectGraph(parsedJSONInput);
    } catch (_unused) {
      setError(translate('invalidJSONError'));
    }
  };

  // Parse on a debounce and discard out-of-order results: a slow parse of
  // earlier input must not overwrite the graph with stale data after a later
  // edit. `latestInput` lives in the debounced closure (not a ref) so a parse
  // can tell it has been superseded. The text value is set synchronously in the
  // handler so the field stays responsive.
  const debouncedParseTurtle = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(() => {
    let latestInput;
    return (0,lodash_es__WEBPACK_IMPORTED_MODULE_15__["default"])(async input => {
      latestInput = input;
      if (!N3) return;
      try {
        const graph = await (0,commons_util_turtle__WEBPACK_IMPORTED_MODULE_29__.turtleToGraph)(N3, input);
        if (latestInput !== input) return;
        setError(null);
        setGraphValue(graph);
      } catch (_unused2) {
        if (latestInput !== input) return;
        setError(translate('invalidTurtleError'));
      }
    }, PARSE_DEBOUNCE_MS);
  }, [N3, translate]);
  const debouncedParseJsonld = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(() => {
    let latestInput;
    return (0,lodash_es__WEBPACK_IMPORTED_MODULE_15__["default"])(async input => {
      latestInput = input;
      if (!jsonld || !N3) return;
      try {
        const graph = await (0,commons_util_jsonld__WEBPACK_IMPORTED_MODULE_30__.jsonldToGraph)(jsonld, N3, input);
        if (latestInput !== input) return;
        setError(null);
        setGraphValue(graph);
      } catch (_unused3) {
        if (latestInput !== input) return;
        setError(translate('invalidJSONLDError'));
      }
    }, PARSE_DEBOUNCE_MS);
  }, [jsonld, N3, translate]);
  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(() => () => {
    debouncedParseTurtle.cancel();
    debouncedParseJsonld.cancel();
  }, [debouncedParseTurtle, debouncedParseJsonld]);
  const handleTurtleChange = event => {
    const newTurtleInput = event.target.value;
    setTurtleValue(newTurtleInput);
    debouncedParseTurtle(newTurtleInput);
  };
  const handleJsonldChange = event => {
    const newJsonldInput = event.target.value;
    setJsonldValue(newJsonldInput);
    debouncedParseJsonld(newJsonldInput);
  };
  const formats = [{
    id: 'rdfxml',
    label: 'RDF/XML',
    mediaType: 'application/rdf+xml',
    value: rdfXMLValue,
    onChange: handleXMLChange,
    serialize: serializeRDFXML
  }, {
    id: 'rdfjson',
    label: 'RDF/JSON',
    mediaType: 'application/json',
    value: rdfJSONValue,
    onChange: handleJSONChange,
    serialize: serializeRDFJSON
  }, {
    id: 'turtle',
    label: 'Turtle',
    mediaType: 'text/turtle',
    value: turtleValue,
    onChange: handleTurtleChange,
    serialize: graph => (0,commons_util_turtle__WEBPACK_IMPORTED_MODULE_29__.graphToTurtle)(N3, graph),
    // The parser is lazily loaded; block editing until it is ready so input
    // can't be typed and silently dropped before it can be parsed.
    loading: isN3Loading
  }, {
    id: 'jsonld',
    label: 'JSON-LD',
    mediaType: 'application/ld+json',
    value: jsonldValue,
    onChange: handleJsonldChange,
    serialize: graph => (0,commons_util_jsonld__WEBPACK_IMPORTED_MODULE_30__.graphToJsonld)(jsonld, N3, graph),
    loading: isN3Loading || isJsonldLoading
  }];
  const download = async () => {
    try {
      const {
        serialize,
        mediaType
      } = formats[selectedTab];
      const content = await serialize(graphValue);
      const blob = new Blob([content], {
        type: `${mediaType};charset=utf-8`
      });
      (0,file_saver_FileSaver__WEBPACK_IMPORTED_MODULE_21__.saveAs)(blob, `catalog.${(0,commons_util_file__WEBPACK_IMPORTED_MODULE_32__.convertFileFormat)(mediaType)}`, true);
    } catch (downloadError) {
      setError(downloadError.message);
    }
  };
  const commonTextAreaStaticProps = {
    multiline: true,
    rows: 24,
    variant: 'outlined',
    margin: 'none'
  };
  const tabA11yProps = index => {
    return {
      id: `tab-${index}`,
      'aria-controls': `tabpanel-${index}`
    };
  };
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    variant: "h2",
    classes: {
      root: 'esreSource__header'
    }
  }, translate('header')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    position: "static",
    classes: {
      root: 'esreSource__AppBar'
    },
    elevation: 0
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    value: selectedTab,
    onChange: handleTabChange,
    "aria-label": translate('tabsAriaLabel'),
    classes: {
      root: 'esreSource__Tabs',
      indicator: 'esreSource__Tabs--selected'
    }
  }, formats.map((format, index) => /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], _extends({
    key: format.id,
    label: format.label
  }, tabA11yProps(index), {
    classes: {
      root: `esreSource__Tab${index === 0 ? ' esreSource__Tab--first' : ''}`,
      selected: 'esreSource__Tab--selected'
    },
    disabled: error && selectedTab !== index
  })))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    className: "esreSource__TabBarButton",
    variant: "text",
    onClick: () => runAsync(loadExample())
  }, translate('example')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    className: "esreSource__TabBarButton",
    disabled: isGuest,
    onClick: () => setOpenLoadDialog(true)
  }, translate('upload'))), formats.map((format, index) => /*#__PURE__*/React.createElement(toolkit_Catalog_TabPanel__WEBPACK_IMPORTED_MODULE_24__["default"], {
    key: format.id,
    value: selectedTab,
    index: index,
    className: "esreSource__TabPanel"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], _extends({
    value: format.value,
    onChange: format.onChange,
    error: !!error || readOnly,
    disabled: readOnly || format.loading,
    helperText: error || readOnlyInfo,
    slotProps: {
      input: {
        classes: {
          multiline: 'esreSource__textArea'
        }
      },
      htmlInput: {
        'aria-label': format.label,
        readOnly
      }
    }
  }, commonTextAreaStaticProps)))), /*#__PURE__*/React.createElement("div", {
    className: "esreSource__actionBar"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    disabled: !!error,
    onClick: download
  }, translate('download')), /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_19__["default"], {
    color: "secondary",
    fullWidth: false,
    success: error ? false : null,
    className: `esreSource__actionBarSecondaryButton ${error ? 'esreSource__LoadingButton--failure' : ''}`,
    component: react_router_dom__WEBPACK_IMPORTED_MODULE_20__.Link,
    to: "/toolkit/validate"
  }, translate('validationButtonLabel'))), /*#__PURE__*/React.createElement(toolkit_Catalog_UploadDialog__WEBPACK_IMPORTED_MODULE_25__["default"], {
    open: openLoadDialog,
    setOpen: setOpenLoadDialog,
    onLoaded: handleUploadLoaded
  }), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_34__.ErrorCatcher, {
    error: loadExampleError
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_LocationChangeListener__WEBPACK_IMPORTED_MODULE_36__["default"])(Source));

/***/ },

/***/ "./modules/toolkit/Catalog/TabPanel.js"
/*!*********************************************!*\
  !*** ./modules/toolkit/Catalog/TabPanel.js ***!
  \*********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["children", "value", "index"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }



// TODO Should move to commons, using a very similar component elsewhere
const TabPanel = props => {
  const {
      children,
      value,
      index
    } = props,
    other = _objectWithoutProperties(props, _excluded);
  return /*#__PURE__*/React.createElement("div", _extends({
    role: "tabpanel",
    hidden: value !== index,
    id: `tabpanel-${index}`,
    "aria-labelledby": `tab-${index}`
  }, other), value === index && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], null, children));
};
TabPanel.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
  index: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any).isRequired,
  value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any).isRequired
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TabPanel);

/***/ },

/***/ "./modules/toolkit/Catalog/UploadDialog.js"
/*!*************************************************!*\
  !*** ./modules/toolkit/Catalog/UploadDialog.js ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/errors/utils/async */ "./modules/commons/errors/utils/async.js");
/* harmony import */ var commons_components_entry_Import__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/entry/Import */ "./modules/commons/components/entry/Import/index.js");
/* harmony import */ var toolkit_nls_esreLoadDialog_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! toolkit/nls/esreLoadDialog.nls */ "./modules/toolkit/nls/esreLoadDialog.nls");
/* harmony import */ var toolkit_nls_esreLoadDialog_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreLoadDialog_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_util_file__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/util/file */ "./modules/commons/util/file.js");
/* harmony import */ var commons_util_rdfFormat__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/util/rdfFormat */ "./modules/commons/util/rdfFormat.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useN3__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useN3 */ "./modules/commons/hooks/useN3.js");
/* harmony import */ var commons_hooks_useJsonld__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useJsonld */ "./modules/commons/hooks/useJsonld.js");
/* harmony import */ var commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/entry/Import/useLinkOrFile */ "./modules/commons/components/entry/Import/useLinkOrFile.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_userIds__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/util/userIds */ "./modules/commons/util/userIds.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


















const LINK_ACCEPT_FORMATS = 'application/rdf+xml, text/turtle, application/ld+json';
const UploadDialog = _ref => {
  let {
    open,
    setOpen,
    onLoaded,
    allowFileURI = false
  } = _ref;
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(null);
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_22__.useUserState)();
  const {
    N3
  } = (0,commons_hooks_useN3__WEBPACK_IMPORTED_MODULE_19__["default"])();
  const {
    jsonld
  } = (0,commons_hooks_useJsonld__WEBPACK_IMPORTED_MODULE_20__["default"])();
  const {
    link,
    setLink,
    file,
    setFile,
    handleLinkChange: _handleLinkChange,
    handleFileChange: _handleFileChange,
    handleTabChange: _handleTabChange,
    linkIsValid,
    buttonEnabled,
    isLink,
    setIsLink
  } = (0,commons_components_entry_Import_useLinkOrFile__WEBPACK_IMPORTED_MODULE_21__["default"])({
    allowFileURI
  });
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_18__.useTranslation)((toolkit_nls_esreLoadDialog_nls__WEBPACK_IMPORTED_MODULE_14___default()));
  const isGuest = userInfo.entryId === commons_util_userIds__WEBPACK_IMPORTED_MODULE_23__.USER_ENTRY_ID_GUEST;
  const handleClose = () => {
    setOpen(false);
    setLink('');
    setFile(null);
    setError(null);
    setIsLink(true); // Resets the tab to the default (load via link)
  };
  const loadFromLink = async () => {
    try {
      (0,commons_errors_utils_async__WEBPACK_IMPORTED_MODULE_12__.addIgnore)('loadViaProxy', true, true);
      const data = await commons_store__WEBPACK_IMPORTED_MODULE_17__.entrystore.loadViaProxy(link, LINK_ACCEPT_FORMATS).catch(() => {
        throw new Error(t('loadLinkError'));
      });
      const report = await (0,commons_util_rdfFormat__WEBPACK_IMPORTED_MODULE_16__.detectAndParse)(data, {
        N3,
        jsonld
      });
      if (report.error) {
        throw new Error(report.error);
      }
      onLoaded({
        graph: report.graph,
        format: report.format
      });
      handleClose();
    } catch (err) {
      setError(err.message);
    }
  };
  const loadFromFile = async () => {
    const uploadedFile = file.files.item(0);
    try {
      const data = await (0,commons_util_file__WEBPACK_IMPORTED_MODULE_15__.readFileAsText)(uploadedFile);
      const report = await (0,commons_util_rdfFormat__WEBPACK_IMPORTED_MODULE_16__.detectAndParse)(data, {
        N3,
        jsonld,
        filename: uploadedFile.name
      });
      if (report.error) {
        throw new Error(report.error);
      }
      onLoaded({
        graph: report.graph,
        format: report.format
      });
      handleClose();
    } catch (err) {
      setError(err.message);
    }
  };
  const handleLoad = () => {
    setError(null);
    if (isLink) {
      loadFromLink();
      return;
    }
    loadFromFile();
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    open: open,
    onClose: handleClose,
    "aria-labelledby": "load-dialog-title",
    maxWidth: "sm",
    fullWidth: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    id: "load-dialog-title"
  }, t('loadTitle')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    dividers: true
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    container: true,
    justifyContent: "center",
    alignItems: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    size: {
      xs: 12,
      md: 10
    }
  }, /*#__PURE__*/React.createElement(commons_components_entry_Import__WEBPACK_IMPORTED_MODULE_13__["default"], {
    disableLink: isGuest,
    link: link,
    file: file,
    handleLinkChange: event => {
      setError(null);
      _handleLinkChange(event);
    },
    handleFileChange: event => {
      setError(null);
      _handleFileChange(event);
    },
    validURI: !!linkIsValid,
    handleTabChange: event => {
      setError(null);
      _handleTabChange(event);
    }
  }), error && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    severity: "error",
    onClose: () => setError(null)
  }, error)))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    variant: "text",
    onClick: handleClose
  }, t('cancelButton')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
    disabled: !buttonEnabled,
    onClick: handleLoad
  }, t('loadButton'))));
};
UploadDialog.propTypes = {
  open: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool),
  setOpen: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  onLoaded: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func).isRequired,
  allowFileURI: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().bool)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UploadDialog);

/***/ },

/***/ "./modules/toolkit/Catalog/index.js"
/*!******************************************!*\
  !*** ./modules/toolkit/Catalog/index.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Catalog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Catalog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Catalog */ "./modules/toolkit/Catalog/Catalog.js");


/***/ },

/***/ "./modules/toolkit/Convert/Convert.js"
/*!********************************************!*\
  !*** ./modules/toolkit/Convert/Convert.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/ClipboardGraphContext */ "./modules/commons/contexts/ClipboardGraphContext.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var toolkit_nls_esreConvert_nls__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! toolkit/nls/esreConvert.nls */ "./modules/toolkit/nls/esreConvert.nls");
/* harmony import */ var toolkit_nls_esreConvert_nls__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreConvert_nls__WEBPACK_IMPORTED_MODULE_19__);
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! toolkit/nls/esreSource.nls */ "./modules/toolkit/nls/esreSource.nls");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_20__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/components/common/dialogs/AlertDialog */ "./modules/commons/components/common/dialogs/AlertDialog/index.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var toolkit_LocationChangeListener__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! toolkit/LocationChangeListener */ "./modules/toolkit/LocationChangeListener.js");
/* harmony import */ var _entryscape_dcat_conversions__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @entryscape/dcat-conversions */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/index.js");
/* harmony import */ var _Convert_scss__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Convert.scss */ "./modules/toolkit/Convert/Convert.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

















const PREDICATE = 'predicate';
const DCAT3 = 'dcat3';
const ConversionReportTable = _ref => {
  let {
    conversionReport,
    translate
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    component: _mui_material__WEBPACK_IMPORTED_MODULE_7__["default"],
    classes: {
      root: 'esreConvert__tableContainer'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    "aria-label": translate('tableLabel')
  }, /*#__PURE__*/React.createElement("caption", null, translate('toBeConverted', conversionReport.length)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, translate('onSubject')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, translate('issueType')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, translate('from')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, translate('to')))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    className: "esreConvert__tableBody"
  }, conversionReport.map((_ref2, index) => {
    let {
      change,
      from,
      subject,
      to
    } = _ref2;
    return (
      /*#__PURE__*/
      // eslint-disable-next-line react/no-array-index-key
      React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
        key: `${change}-${subject}-${from}-${to}-${index}`
      }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
        title: subject
      }, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_22__.namespaces.shorten(subject)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
        title: change
      }, change === PREDICATE ? translate('predicateFix') : translate('objectFix')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
        title: from
      }, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_22__.namespaces.shorten(from)), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], {
        title: to
      }, _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_22__.namespaces.shorten(to)))
    );
  }))));
};
ConversionReportTable.propTypes = {
  conversionReport: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    change: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    subject: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    from: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
    to: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
  })),
  translate: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
const Convert = _ref3 => {
  let {
    dcatConversionFns = {
      all: _entryscape_dcat_conversions__WEBPACK_IMPORTED_MODULE_27__.all,
      to2: _entryscape_dcat_conversions__WEBPACK_IMPORTED_MODULE_27__.to2
    }
  } = _ref3;
  const conversions = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => ({
    dcat2: {
      convert: dcatConversionFns.to2,
      label: 'DCAT-AP 2.0'
    },
    [DCAT3]: {
      convert: dcatConversionFns.all,
      label: 'DCAT-AP 3.0'
    }
  }), [dcatConversionFns]);
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const [clipboardGraph] = (0,commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_5__.useClipboardGraph)();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_25__.useSnackbar)();
  const [selectedVersion, setSelectedVersion] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(DCAT3);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_21__.useTranslation)([(toolkit_nls_esreConvert_nls__WEBPACK_IMPORTED_MODULE_19___default()), (toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_20___default())]);
  const conversionReport = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
    if (!clipboardGraph || clipboardGraph.isEmpty()) return null;

    // clone the graph for a dry run (conversion functions mutate it)
    const graphCopy = clipboardGraph.clone();
    return conversions[selectedVersion].convert(graphCopy);
  }, [clipboardGraph, selectedVersion, conversions]);
  const [showAlert, setShowAlert] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(() => !clipboardGraph || clipboardGraph.isEmpty());
  const handleConvert = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    if (!clipboardGraph || clipboardGraph.isEmpty()) return;
    conversions[selectedVersion].convert(clipboardGraph);
    addSnackbar({
      message: translate('conversionComplete', {
        1: conversionReport === null || conversionReport === void 0 ? void 0 : conversionReport.length,
        version: conversions[selectedVersion].label
      })
    });
    navigate('/toolkit/catalog');
  }, [clipboardGraph, selectedVersion, addSnackbar, navigate, conversionReport, translate, conversions]);
  const handleCloseAlert = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    setShowAlert(false);
    navigate('/toolkit/catalog');
  }, [navigate]);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "esreConvert__header"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    variant: "h2",
    gutterBottom: true
  }, translate('convertHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
    variant: "body1"
  }, translate('convertSubheader'))), (conversionReport === null || conversionReport === void 0 ? void 0 : conversionReport.length) > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ConversionReportTable, {
    conversionReport: conversionReport,
    translate: translate
  }), /*#__PURE__*/React.createElement("div", {
    className: "esreConvert__tableActions"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_14__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_15__["default"], {
    id: "version-select-label"
  }, translate('versionSelect')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_16__["default"], {
    labelId: "version-select-label",
    id: "version-select",
    value: selectedVersion,
    label: translate('versionSelect'),
    onChange: event => setSelectedVersion(event.target.value)
  }, Object.entries(conversions).map(_ref4 => {
    let [version, {
      label
    }] = _ref4;
    return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_17__["default"], {
      value: version,
      key: version
    }, label);
  }))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_18__["default"], {
    className: "esreConvert__button",
    onClick: handleConvert
  }, translate('convertButton')))) : /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_24__["default"], {
    label: translate('nothingToConvert')
  }), /*#__PURE__*/React.createElement(commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_23__["default"], {
    open: showAlert,
    handleClose: handleCloseAlert,
    buttonLabel: translate('noRDFProceed')
  }, translate('noRDF')));
};
Convert.propTypes = {
  dcatConversionFns: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    to2: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
    all: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
  })
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,toolkit_LocationChangeListener__WEBPACK_IMPORTED_MODULE_26__["default"])(Convert));

/***/ },

/***/ "./modules/toolkit/Convert/index.js"
/*!******************************************!*\
  !*** ./modules/toolkit/Convert/index.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Convert__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Convert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Convert */ "./modules/toolkit/Convert/Convert.js");


/***/ },

/***/ "./modules/toolkit/Explore/ExploreView/ExploreView.js"
/*!************************************************************!*\
  !*** ./modules/toolkit/Explore/ExploreView/ExploreView.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_components_ListView_utils_listQueryUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView/utils/listQueryUtils */ "./modules/commons/components/ListView/utils/listQueryUtils.js");
/* harmony import */ var commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/contexts/ClipboardGraphContext */ "./modules/commons/contexts/ClipboardGraphContext.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! toolkit/nls/esreSource.nls */ "./modules/toolkit/nls/esreSource.nls");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! catalog/nls/escaDataset.nls */ "./modules/catalog/nls/escaDataset.nls");
/* harmony import */ var catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/dialogs/AlertDialog */ "./modules/commons/components/common/dialogs/AlertDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/LinkedDataBrowserDialog */ "./modules/commons/components/LinkedDataBrowserDialog/index.js");
/* harmony import */ var toolkit_util__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! toolkit/util */ "./modules/toolkit/util.js");
/* harmony import */ var _LocationChangeListener__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../LocationChangeListener */ "./modules/toolkit/LocationChangeListener.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






















const nlsBundles = [(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_13___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_12___default()), (catalog_nls_escaDataset_nls__WEBPACK_IMPORTED_MODULE_14___default())];
const ExploreView = () => {
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_16__.useTranslation)(nlsBundles);
  const [clipboardGraph] = (0,commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_11__.useClipboardGraph)();
  const clipboardGraphIsValid = clipboardGraph && !clipboardGraph.isEmpty();
  const catalogTitle = (0,toolkit_util__WEBPACK_IMPORTED_MODULE_20__.getCatalogTitle)(clipboardGraph);
  const datasetEntries = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
    if (!clipboardGraphIsValid) return null;
    const tempContext = commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getContextById('__temporary');
    return clipboardGraph.find(null, 'rdf:type', 'dcat:Dataset').map(statement => {
      const uri = statement.getSubject();
      const datasetEntry = tempContext.newLink(uri);
      datasetEntry.setMetadata(clipboardGraph);
      return datasetEntry;
    });
  }, [clipboardGraph, clipboardGraphIsValid]);
  const {
    result: datasetItems,
    size
  } = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.useListQuery)({
    items: datasetEntries ? (0,commons_components_ListView_utils_listQueryUtils__WEBPACK_IMPORTED_MODULE_10__.entriesToListQueryItems)(datasetEntries) : null
  });
  const columns = [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.TITLE_COLUMN), {}, {
    xs: 11
  }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.INFO_COLUMN), {}, {
    getProps: _ref => {
      let {
        entry,
        translate: t
      } = _ref;
      return {
        action: _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_9__.LIST_ACTION_INFO), {}, {
          entry,
          nlsBundles,
          Dialog: commons_components_LinkedDataBrowserDialog__WEBPACK_IMPORTED_MODULE_19__["default"],
          formTemplateId: config__WEBPACK_IMPORTED_MODULE_17__["default"].get('catalog.datasetTemplateId')
        }),
        title: t('infoEntry')
      };
    }
  })];
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    variant: "h2"
  }, catalogTitle ? translate('exploreHeaderWithTitle', catalogTitle) : translate('exploreHeader')), clipboardGraphIsValid ? /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_8__.EntryListView, {
    entries: datasetItems.map(_ref2 => {
      let {
        entry
      } = _ref2;
      return entry;
    }),
    status: datasetEntries ? commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__.RESOLVED : commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_18__.PENDING,
    size: size,
    columns: columns,
    nlsBundles: nlsBundles,
    includeDefaultListActions: false
  }) : /*#__PURE__*/React.createElement(commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_15__["default"], {
    open: true,
    handleClose: () => navigate('/toolkit/catalog'),
    buttonLabel: translate('noRDFProceed')
  }, translate('noRDF')));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_7__.withListModelProvider)((0,_LocationChangeListener__WEBPACK_IMPORTED_MODULE_21__["default"])(ExploreView)));

/***/ },

/***/ "./modules/toolkit/Explore/ExploreView/index.js"
/*!******************************************************!*\
  !*** ./modules/toolkit/Explore/ExploreView/index.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ExploreView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ExploreView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ExploreView */ "./modules/toolkit/Explore/ExploreView/ExploreView.js");


/***/ },

/***/ "./modules/toolkit/LocationChangeListener.js"
/*!***************************************************!*\
  !*** ./modules/toolkit/LocationChangeListener.js ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/ClipboardGraphContext */ "./modules/commons/contexts/ClipboardGraphContext.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");




function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




// Clears the clipboard graph on exiting the toolkit module.
const withLocationChangeListener = Component => _ref => {
  let props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
  const location = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.useLocation)();
  const [, setClipboardGraph] = (0,commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_6__.useClipboardGraph)();
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (location.pathname.includes('toolkit')) return;
    setClipboardGraph('');
  }, [location, setClipboardGraph]);
  return /*#__PURE__*/React.createElement(Component, props);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withLocationChangeListener);

/***/ },

/***/ "./modules/toolkit/Merge/Merge.js"
/*!****************************************!*\
  !*** ./modules/toolkit/Merge/Merge.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/common/dialogs/AlertDialog */ "./modules/commons/components/common/dialogs/AlertDialog/index.js");
/* harmony import */ var toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! toolkit/nls/esreMerge.nls */ "./modules/toolkit/nls/esreMerge.nls");
/* harmony import */ var toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! toolkit/nls/esreSource.nls */ "./modules/toolkit/nls/esreSource.nls");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! toolkit/nls/esreCatalogDetect.nls */ "./modules/toolkit/nls/esreCatalogDetect.nls");
/* harmony import */ var toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var toolkit_Catalog_UploadDialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! toolkit/Catalog/UploadDialog */ "./modules/toolkit/Catalog/UploadDialog.js");
/* harmony import */ var toolkit_LocationChangeListener__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! toolkit/LocationChangeListener */ "./modules/toolkit/LocationChangeListener.js");
/* harmony import */ var toolkit_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! toolkit/util */ "./modules/toolkit/util.js");
/* harmony import */ var _hooks_useMainCatalog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./hooks/useMainCatalog */ "./modules/toolkit/Merge/hooks/useMainCatalog.js");
/* harmony import */ var _MergeCard__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./MergeCard */ "./modules/toolkit/Merge/MergeCard/index.js");
/* harmony import */ var _MergeList__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./MergeList */ "./modules/toolkit/Merge/MergeList/index.js");
/* harmony import */ var _hooks_useCatalogList__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./hooks/useCatalogList */ "./modules/toolkit/Merge/hooks/useCatalogList.js");
/* harmony import */ var _utils_mergeScript__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./utils/mergeScript */ "./modules/toolkit/Merge/utils/mergeScript.js");
/* harmony import */ var _Merge_scss__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Merge.scss */ "./modules/toolkit/Merge/Merge.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





















const Merge = () => {
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)([(toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_11___default()), (toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_12___default()), (toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_13___default())]);
  const [showAlert, setShowAlert] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const [alertError, setAlertError] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('');
  const [showUploadDialog, setShowUploadDialog] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  const [countByType, mainCatalogError, mainCatalog, setMainCatalog] = (0,_hooks_useMainCatalog__WEBPACK_IMPORTED_MODULE_17__["default"])();
  const {
    addCatalogDetect,
    catalogDetectList,
    dispatch
  } = (0,_hooks_useCatalogList__WEBPACK_IMPORTED_MODULE_20__["default"])();
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_9__.useSnackbar)();
  const addCatalog = catalog => {
    try {
      addCatalogDetect(catalog);
    } catch (error) {
      const message = translate(...error.message.split(','));
      setAlertError(message);
      setShowAlert(true);
    }
  };
  const mergeCatalogsWithMainCatalog = () => {
    const catalogList = catalogDetectList.map(catalogDetect => catalogDetect.getCatalog());
    const mergedCatalog = (0,_utils_mergeScript__WEBPACK_IMPORTED_MODULE_21__["default"])(mainCatalog, catalogList);
    dispatch({
      type: 'clear'
    });
    setMainCatalog(mergedCatalog);
    navigate('/toolkit/explore');
    addSnackbar({
      message: translate('catalogMerged')
    });
  };
  const handleAlertClose = () => {
    setShowAlert(false);
    if (mainCatalogError) navigate('/toolkit/catalog');
  };
  const isAlertDialogOpen = mainCatalogError || showAlert;
  const alertMessage = mainCatalogError || alertError;
  const catalogTitle = (0,toolkit_util__WEBPACK_IMPORTED_MODULE_16__.getCatalogTitle)(mainCatalog);
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "h2",
    className: "esreMerge__header"
  }, translate('mergeHeader')), countByType && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_MergeCard__WEBPACK_IMPORTED_MODULE_18__.MergeCard, null, /*#__PURE__*/React.createElement(_MergeCard__WEBPACK_IMPORTED_MODULE_18__.MergeCardHeader, {
    title: translate('mainCatalogHeader')
  }), /*#__PURE__*/React.createElement(_MergeCard__WEBPACK_IMPORTED_MODULE_18__.MergeCardContent, null, /*#__PURE__*/React.createElement(_MergeList__WEBPACK_IMPORTED_MODULE_19__.MergeList, null, /*#__PURE__*/React.createElement(_MergeList__WEBPACK_IMPORTED_MODULE_19__.MergeListItem, {
    title: catalogTitle ? translate('catalogTitle', catalogTitle) : translate('catalogFallbackTitle'),
    items: [translate('datasetItem', countByType.da), translate('distributionItem', countByType.di), translate('contactItem', countByType.co), translate('publisherItem', countByType.pu)]
  })))), /*#__PURE__*/React.createElement(_MergeCard__WEBPACK_IMPORTED_MODULE_18__.MergeCard, null, /*#__PURE__*/React.createElement(_MergeCard__WEBPACK_IMPORTED_MODULE_18__.MergeCardHeader, {
    title: translate('mergeCatalogListHeader'),
    actionButtonProps: {
      label: translate('addMergeCatalog'),
      startIcon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], null),
      onClick: () => setShowUploadDialog(true)
    }
  }), /*#__PURE__*/React.createElement(_MergeCard__WEBPACK_IMPORTED_MODULE_18__.MergeCardContent, null, catalogDetectList.length ? /*#__PURE__*/React.createElement(_MergeList__WEBPACK_IMPORTED_MODULE_19__.MergeList, null, catalogDetectList.map(catalogDetect => {
    const count = catalogDetect.getCountByType();
    return /*#__PURE__*/React.createElement(_MergeList__WEBPACK_IMPORTED_MODULE_19__.MergeListItem, {
      key: catalogDetect.id,
      title: catalogDetect.title ? translate('catalogTitle', catalogDetect.title) : translate('catalogFallbackTitle'),
      items: [translate('datasetItem', count.da), translate('distributionItem', count.di), translate('contactItem', count.co), translate('publisherItem', count.pu)],
      actionButtonProps: {
        onClick: () => dispatch({
          type: 'remove',
          catalogDetect
        }),
        'aria-label': translate('removeCatalogLabel'),
        icon: /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_7__["default"], null)
      }
    });
  })) : /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreMergeList__emptyListText"
  }, translate('noCatalogAddedToMerge'))))), /*#__PURE__*/React.createElement("div", {
    className: "esreMerge__actions"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    className: "esreMerge__button",
    onClick: mergeCatalogsWithMainCatalog,
    variant: catalogDetectList.length ? 'contained' : 'outlined',
    disabled: !catalogDetectList.length
  }, translate('mergeCatalogsButtonIntoMain')))), /*#__PURE__*/React.createElement(commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_10__["default"], {
    open: isAlertDialogOpen,
    handleClose: handleAlertClose,
    buttonLabel: translate('noRDFProceed')
  }, alertMessage), /*#__PURE__*/React.createElement(toolkit_Catalog_UploadDialog__WEBPACK_IMPORTED_MODULE_14__["default"], {
    open: showUploadDialog,
    setOpen: setShowUploadDialog,
    onLoaded: _ref => {
      let {
        graph
      } = _ref;
      return addCatalog(graph);
    }
  }));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,toolkit_LocationChangeListener__WEBPACK_IMPORTED_MODULE_15__["default"])(Merge));

/***/ },

/***/ "./modules/toolkit/Merge/MergeCard/index.js"
/*!**************************************************!*\
  !*** ./modules/toolkit/Merge/MergeCard/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MergeCard: () => (/* binding */ MergeCard),
/* harmony export */   MergeCardContent: () => (/* binding */ MergeCardContent),
/* harmony export */   MergeCardHeader: () => (/* binding */ MergeCardHeader)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./index.scss */ "./modules/toolkit/Merge/MergeCard/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["label"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
/* eslint-disable react/forbid-prop-types */
/* eslint-disable react/jsx-props-no-spreading */



const MergeCard = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    className: "esreMergeCard"
  }, children);
};
MergeCard.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
const ActionButton = _ref2 => {
  let {
      label
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], props, label);
};
ActionButton.propTypes = {
  label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired
};
const MergeCardHeader = _ref3 => {
  let {
    title,
    actionButtonProps
  } = _ref3;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
    className: "esreMergeCardHeader"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    variant: "subtitle1",
    component: "h3",
    className: "esreMergeCardHeader__heading"
  }, title), actionButtonProps && /*#__PURE__*/React.createElement(ActionButton, _extends({
    className: "esreMergeCardHeader__button"
  }, actionButtonProps))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null));
};
MergeCardHeader.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
  actionButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)
};
const MergeCardContent = _ref4 => {
  let {
    children
  } = _ref4;
  return /*#__PURE__*/React.createElement("div", {
    className: "esreMergeCard__content"
  }, children);
};
MergeCardContent.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};

/***/ },

/***/ "./modules/toolkit/Merge/MergeList/index.js"
/*!**************************************************!*\
  !*** ./modules/toolkit/Merge/MergeList/index.js ***!
  \**************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MergeList: () => (/* binding */ MergeList),
/* harmony export */   MergeListItem: () => (/* binding */ MergeListItem)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckCircle.js");
/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./index.scss */ "./modules/toolkit/Merge/MergeList/index.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["icon"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
/* eslint-disable react/forbid-prop-types */
/* eslint-disable react/jsx-props-no-spreading */




const MergeList = _ref => {
  let {
    children
  } = _ref;
  return /*#__PURE__*/React.createElement("div", {
    className: "esreMergeList"
  }, children);
};
MergeList.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
const ActionButton = _ref2 => {
  let {
      icon
    } = _ref2,
    props = _objectWithoutProperties(_ref2, _excluded);
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], props, icon);
};
ActionButton.propTypes = {
  icon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node).isRequired,
  children: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
};
const MergeListItem = _ref3 => {
  let {
    title,
    items,
    actionButtonProps
  } = _ref3;
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
    className: "esreMergeListItem"
  }, /*#__PURE__*/React.createElement("div", {
    className: "esreMergeListItem__title"
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    className: "esreMergeListItem__icon"
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    "aria-live": "polite"
  }, title)), actionButtonProps && /*#__PURE__*/React.createElement(ActionButton, _extends({
    className: "esreMergeListItem__button"
  }, actionButtonProps))), /*#__PURE__*/React.createElement("ul", {
    className: "esreMergeListItem__list"
  }, items.map(item => /*#__PURE__*/React.createElement("li", {
    key: item
  }, item))));
};
MergeListItem.propTypes = {
  title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
  items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)),
  actionButtonProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)
};

/***/ },

/***/ "./modules/toolkit/Merge/hooks/useCatalogList.js"
/*!*******************************************************!*\
  !*** ./modules/toolkit/Merge/hooks/useCatalogList.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _utils_CatalogDetect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/CatalogDetect */ "./modules/toolkit/Merge/utils/CatalogDetect.js");





const getMaxId = list => list.reduce((maxId, item) => item.id > maxId ? item.id : maxId, 0);
const catalogListReducer = (catalogDetectList, action) => {
  switch (action.type) {
    case 'add':
      {
        return [...catalogDetectList, action.catalogDetect];
      }
    case 'remove':
      return catalogDetectList.filter(catalogDetect => catalogDetect !== action.catalogDetect);
    case 'clear':
      return [];
    default:
      throw new Error('Unknown action type in catalogListReducer');
  }
};
const useCatalogList = () => {
  const [catalogDetectList, dispatch] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useReducer)(catalogListReducer, []);
  const addCatalogDetect = catalog => {
    const maxId = getMaxId(catalogDetectList);
    const catalogDetect = (0,_utils_CatalogDetect__WEBPACK_IMPORTED_MODULE_4__.CatalogDetect)(catalog, maxId + 1);
    const error = catalogDetect.validateCount();
    if (error) {
      throw new Error(error);
    }
    dispatch({
      type: 'add',
      catalogDetect
    });
  };
  return {
    addCatalogDetect,
    catalogDetectList,
    dispatch
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCatalogList);

/***/ },

/***/ "./modules/toolkit/Merge/hooks/useMainCatalog.js"
/*!*******************************************************!*\
  !*** ./modules/toolkit/Merge/hooks/useMainCatalog.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/contexts/ClipboardGraphContext */ "./modules/commons/contexts/ClipboardGraphContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! toolkit/nls/esreMerge.nls */ "./modules/toolkit/nls/esreMerge.nls");
/* harmony import */ var toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! toolkit/nls/esreCatalogDetect.nls */ "./modules/toolkit/nls/esreCatalogDetect.nls");
/* harmony import */ var toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! toolkit/nls/esreSource.nls */ "./modules/toolkit/nls/esreSource.nls");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var _utils_CatalogDetect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/CatalogDetect */ "./modules/toolkit/Merge/utils/CatalogDetect.js");









const useMainCatalog = () => {
  const [mainCatalog, setMainCatalog] = (0,commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_3__.useClipboardGraph)();
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)([(toolkit_nls_esreMerge_nls__WEBPACK_IMPORTED_MODULE_5___default()), (toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7___default()), (toolkit_nls_esreCatalogDetect_nls__WEBPACK_IMPORTED_MODULE_6___default())]);
  const [countByType, setCountByType] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  const [errorMessage, setErrorMessage] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null);
  const [isMounted, setIsMounted] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false); // workaround to make sure graph value is available

  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!isMounted) {
      setIsMounted(true);
    }
    if (!mainCatalog || mainCatalog !== null && mainCatalog !== void 0 && mainCatalog.isEmpty()) {
      setErrorMessage(t('noRDF'));
      return;
    }
    const count = (0,_utils_CatalogDetect__WEBPACK_IMPORTED_MODULE_8__.getCountByType)(mainCatalog);
    const error = (0,_utils_CatalogDetect__WEBPACK_IMPORTED_MODULE_8__.validateCount)(count);
    if (error) {
      setErrorMessage(t(...error));
    }
    setCountByType(count);
  }, [mainCatalog, isMounted, t]);
  return [countByType, errorMessage, mainCatalog, setMainCatalog];
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useMainCatalog);

/***/ },

/***/ "./modules/toolkit/Merge/index.js"
/*!****************************************!*\
  !*** ./modules/toolkit/Merge/index.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Merge__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Merge */ "./modules/toolkit/Merge/Merge.js");


/***/ },

/***/ "./modules/toolkit/Merge/utils/CatalogDetect.js"
/*!******************************************************!*\
  !*** ./modules/toolkit/Merge/utils/CatalogDetect.js ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CatalogDetect: () => (/* binding */ CatalogDetect),
/* harmony export */   getCountByType: () => (/* binding */ getCountByType),
/* harmony export */   validateCount: () => (/* binding */ _validateCount)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var toolkit_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! toolkit/util */ "./modules/toolkit/util.js");
const _excluded = ["ca"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






const types = [{
  type: 'ca',
  // catalog
  values: ['http://www.w3.org/ns/dcat#Catalog']
}, {
  type: 'da',
  // dataset
  values: ['http://www.w3.org/ns/dcat#Dataset']
}, {
  type: 'di',
  // distribution
  values: ['http://www.w3.org/ns/dcat#Distribution']
}, {
  type: 'co',
  // contact
  values: ['http://xmlns.com/foaf/0.1/Agent', 'http://xmlns.com/foaf/0.1/Person', 'http://xmlns.com/foaf/0.1/Organization']
}, {
  type: 'pu',
  // publisher
  values: ['http://www.w3.org/2006/vcard/ns#Kind', 'http://www.w3.org/2006/vcard/ns#Individual', 'http://www.w3.org/2006/vcard/ns#Organization']
}];
const initialValue = {
  ca: 0,
  da: 0,
  di: 0,
  co: 0,
  pu: 0
};

/**
 *
 * @param {rdfjson} catalog
 * @return {Object|undefined} countByType
 */
const getCountByType = catalog => {
  if (!catalog) return undefined;
  const statements = catalog.find(null, 'rdf:type') || [];
  const countByType = statements.reduce((counter, statement) => {
    const value = statement.getValue();
    const typeMatch = types.find(_ref => {
      let {
        values
      } = _ref;
      return values.includes(value);
    });
    if (!typeMatch) {
      return counter;
    }
    const {
      type
    } = typeMatch;
    return _objectSpread(_objectSpread({}, counter), {}, {
      [type]: counter[type] + 1
    });
  }, _objectSpread({}, initialValue));
  return countByType;
};

/**
 *
 * @param {Object} countByType
 * @return {[string, Object]} error
 */
const _validateCount = _ref2 => {
  let {
      ca
    } = _ref2,
    otherCounts = _objectWithoutProperties(_ref2, _excluded);
  if (ca > 1) return ['catalogError', ca];
  const hasSomethingToMerge = Object.keys(otherCounts).some(type => otherCounts[type]);
  if (!hasSomethingToMerge) return ['nothingToMergeError'];
  return undefined;
};

/**
 *
 * @param {rdfjson} catalog
 * @param {number} id
 * @returns {object} catalogDetect
 */

const CatalogDetect = (catalog, id) => {
  const countByType = getCountByType(catalog);
  return {
    id,
    getCountByType: () => countByType,
    getCatalog: () => catalog,
    validateCount: () => _validateCount(countByType),
    title: (0,toolkit_util__WEBPACK_IMPORTED_MODULE_5__.getCatalogTitle)(catalog)
  };
};

/***/ },

/***/ "./modules/toolkit/Merge/utils/mergeScript.js"
/*!****************************************************!*\
  !*** ./modules/toolkit/Merge/utils/mergeScript.js ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");




const datasetType = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.expand('dcat:Dataset');
const rdfType = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.expand('rdf:type');

/**
 *
 * @param {rdfjson} catalog
 * @param {rdfjson[]} catalogList
 * @return {rdfjson} catalog
 */
const merge = (mainCatalog, catalogList) => {
  const targetCatalog = mainCatalog.clone();
  const [targetStatement] = targetCatalog.find(null, 'rdf:type', 'dcat:Catalog');
  const catalogURI = targetStatement.getSubject();
  const cleanCatalogBeforeMerge = catalog => {
    const [statement] = catalog.find(null, 'rdf:type', 'dcat:Catalog');
    if (statement) {
      const mergeCatalogURI = statement.getSubject();
      const ignore = {
        [_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.expand('dcat:dataset')]: true
      };
      _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.utils.remove(catalog, mergeCatalogURI, ignore);
    }
    return catalog;
  };
  const mergeWithTarget = statement => {
    if (statement.getValue() === datasetType && statement.getPredicate() === rdfType) {
      targetCatalog.add(catalogURI, 'dcat:dataset', statement.getSubject());
    }
    targetCatalog.add(statement);
  };
  catalogList.forEach(catalog => {
    cleanCatalogBeforeMerge(catalog).find().forEach(statement => {
      mergeWithTarget(statement);
    });
  });
  return targetCatalog;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (merge);

/***/ },

/***/ "./modules/toolkit/Validate/ClassReport/ClassReport.js"
/*!*************************************************************!*\
  !*** ./modules/toolkit/Validate/ClassReport/ClassReport.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClassReportHeaderSecondary: () => (/* binding */ ClassReportHeaderSecondary),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentCopy.js");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! toolkit/nls/esreReport.nls */ "./modules/toolkit/nls/esreReport.nls");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var toolkit_Validate_InstanceReportDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! toolkit/Validate/InstanceReportDialog */ "./modules/toolkit/Validate/InstanceReportDialog/index.js");
/* harmony import */ var commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/util/rdfUtils */ "./modules/commons/util/rdfUtils.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../util */ "./modules/toolkit/Validate/util.js");
/* harmony import */ var _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ValidationIcon */ "./modules/toolkit/Validate/ValidationIcon/index.js");
/* harmony import */ var _ClassReport_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ClassReport.scss */ "./modules/toolkit/Validate/ClassReport/ClassReport.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");














const INSTANCES_LIMIT = 100;
const InstanceListItem = _ref => {
  let {
    graph,
    resource,
    detailedResource,
    type,
    template
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  const {
    uri: resourceURI,
    errors,
    warnings,
    deprecated
  } = resource;
  const label = graph ? (0,commons_util_rdfUtils__WEBPACK_IMPORTED_MODULE_10__.getLabel)(graph, resourceURI) || translate('untitledLabel', type) : translate('untitledLabel', type);
  const valid = !errors.length && !warnings.length && !deprecated.length;
  const listItemAction = {
    id: 'viewDetails',
    Dialog: toolkit_Validate_InstanceReportDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
    graph,
    template,
    resource,
    detailedResource,
    title: label || resourceURI,
    buttonLabel: translate('closeValidationDialog')
  };
  const issueTypes = [{
    type: 'errors',
    count: errors.length,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.ERROR_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    }),
    tooltipLabel: translate('errorTitle', errors.length)
  }, {
    type: 'warnings',
    count: warnings.length,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.WARNING_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    }),
    tooltipLabel: translate('warningTitle', warnings.length)
  }, {
    type: 'deprecated',
    count: deprecated.length,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.DEPRECATED_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    }),
    tooltipLabel: translate('deprecatedTitle', deprecated.length)
  }];
  const copyToClipboard = () => navigator.clipboard.writeText(resourceURI);
  return /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ListItem, {
    key: resourceURI,
    action: listItemAction
  }, /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ListItemText, {
    xs: 8,
    primary: label
  }), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ListItemGroup, {
    xs: 3,
    justifyContent: "flex-end"
  }, issueTypes.filter(_ref2 => {
    let {
      count
    } = _ref2;
    return count > 0;
  }).map(_ref3 => {
    let {
      type,
      count,
      Icon,
      tooltipLabel
    } = _ref3;
    return /*#__PURE__*/React.createElement(ClassReportHeaderIndicator, {
      key: `headerIndicator-${type}`,
      tooltipLabel: tooltipLabel,
      value: count,
      Icon: Icon
    });
  }), valid ? /*#__PURE__*/React.createElement(ClassReportHeaderIndicator, {
    tooltipLabel: translate('validTitle'),
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.VALID_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    })
  }) : null), /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_5__.ListItemIconButton, {
    onClick: copyToClipboard,
    title: translate('copyRuriTooltip')
  }, /*#__PURE__*/React.createElement(_mui_icons_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    sx: {
      fontSize: '20px'
    }
  })));
};
InstanceListItem.propTypes = {
  graph: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  detailedResource: _util__WEBPACK_IMPORTED_MODULE_11__.resourcePropType,
  template: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  type: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  resource: _util__WEBPACK_IMPORTED_MODULE_11__.resourcePropType
};
const ClassReport = _ref4 => {
  let {
    resources,
    graph,
    detailedResources,
    template,
    type
  } = _ref4;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  resources.sort(_util__WEBPACK_IMPORTED_MODULE_11__.compareByErrors);
  const instancesExceedLimit = resources.length > INSTANCES_LIMIT;
  const visibleResources = instancesExceedLimit ? resources.slice(0, INSTANCES_LIMIT) : resources;
  return /*#__PURE__*/React.createElement(React.Fragment, null, instancesExceedLimit ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    severity: "warning",
    className: "esreClassReportAlert"
  }, translate('tooManyInstancesWarning')) : null, visibleResources.map(resource => /*#__PURE__*/React.createElement(InstanceListItem, {
    key: resource.uri,
    graph: graph,
    resource: resource,
    detailedResource: detailedResources === null || detailedResources === void 0 ? void 0 : detailedResources.find(dResource => dResource.uri === resource.uri),
    type: type,
    template: template
  })));
};
ClassReport.propTypes = {
  resources: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    type: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
    uri: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
    template: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
    errors: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
      path: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
      code: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
    })),
    warning: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
      path: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
      code: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
    })),
    deprecated: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_2___default().string))
  })),
  graph: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  detailedResources: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(_util__WEBPACK_IMPORTED_MODULE_11__.resourcePropType),
  template: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({}),
  type: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string)
};
const ClassReportHeaderSecondary = _ref5 => {
  let {
    resources
  } = _ref5;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_8__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_7___default()));
  const errors = resources.reduce((sum, _ref6) => {
    let {
      errors
    } = _ref6;
    return sum + errors.length;
  }, 0);
  const warnings = resources.reduce((sum, _ref7) => {
    let {
      warnings
    } = _ref7;
    return sum + warnings.length;
  }, 0);
  const deprecated = resources.reduce((sum, _ref8) => {
    let {
      deprecated
    } = _ref8;
    return sum + deprecated.length;
  }, 0);
  const valid = !errors && !warnings && !deprecated;
  const issueTypes = [{
    type: 'errors',
    count: errors,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.ERROR_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    }),
    tooltipLabel: translate('errorTitle', errors)
  }, {
    type: 'warnings',
    count: warnings,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.WARNING_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    }),
    tooltipLabel: translate('warningTitle', warnings)
  }, {
    type: 'deprecated',
    count: deprecated,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.DEPRECATED_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    }),
    tooltipLabel: translate('deprecatedTitle', deprecated)
  }];
  if (!resources) return null;
  return /*#__PURE__*/React.createElement("div", {
    className: "esreClassReportHeaderSecondary"
  }, issueTypes.filter(_ref9 => {
    let {
      count
    } = _ref9;
    return count > 0;
  }).map(_ref0 => {
    let {
      type,
      count,
      Icon,
      tooltipLabel
    } = _ref0;
    return /*#__PURE__*/React.createElement(ClassReportHeaderIndicator, {
      key: `headerIndicator-${type}`,
      tooltipLabel: tooltipLabel,
      value: count,
      Icon: Icon
    });
  }), valid ? /*#__PURE__*/React.createElement(ClassReportHeaderIndicator, {
    tooltipLabel: translate('validTitle'),
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_12__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_12__.VALID_VARIANT,
      classes: "esreClassReportHeaderSecondary__icon"
    })
  }) : null);
};
ClassReportHeaderSecondary.propTypes = {
  resources: prop_types__WEBPACK_IMPORTED_MODULE_2___default().arrayOf(_util__WEBPACK_IMPORTED_MODULE_11__.resourcePropType)
};
const ClassReportHeaderIndicator = _ref1 => {
  let {
    tooltipLabel,
    value = null,
    Icon
  } = _ref1;
  return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_4__["default"], {
    title: tooltipLabel
  }, /*#__PURE__*/React.createElement("div", {
    className: "esreClassReportHeaderSecondary__indicator"
  }, value, Icon));
};
ClassReportHeaderIndicator.propTypes = {
  tooltipLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string).isRequired,
  value: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().number),
  Icon: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node)
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClassReport);

/***/ },

/***/ "./modules/toolkit/Validate/ClassReport/index.js"
/*!*******************************************************!*\
  !*** ./modules/toolkit/Validate/ClassReport/index.js ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClassReportHeaderSecondary: () => (/* reexport safe */ _ClassReport__WEBPACK_IMPORTED_MODULE_0__.ClassReportHeaderSecondary),
/* harmony export */   "default": () => (/* reexport safe */ _ClassReport__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ClassReport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ClassReport */ "./modules/toolkit/Validate/ClassReport/ClassReport.js");



/***/ },

/***/ "./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.js"
/*!*******************************************************************************!*\
  !*** ./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.js ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/ToggleButton.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var toolkit_Validate_InstanceReportDialog_useRDFormsValidationPresenter__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! toolkit/Validate/InstanceReportDialog/useRDFormsValidationPresenter */ "./modules/toolkit/Validate/InstanceReportDialog/useRDFormsValidationPresenter.js");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! toolkit/nls/esreReport.nls */ "./modules/toolkit/nls/esreReport.nls");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var _InstanceReportTable__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../InstanceReportTable */ "./modules/toolkit/Validate/InstanceReportTable/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../util */ "./modules/toolkit/Validate/util.js");
/* harmony import */ var _InstanceReportDialog_scss__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./InstanceReportDialog.scss */ "./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













const SUMMARY_VIEW = 'summary';
const DETAILS_VIEW = 'details';
const InstanceReportDialog = _ref => {
  let {
    closeDialog,
    buttonLabel,
    title,
    template,
    graph,
    resource,
    detailedResource
  } = _ref;
  const {
    uri: resourceURI
  } = resource;
  const usedResource = detailedResource !== null && detailedResource !== void 0 ? detailedResource : resource;
  const {
    errors = [],
    warnings = [],
    deprecated = []
  } = usedResource;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_15__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_14___default()));
  const [viewMode, setViewMode] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(SUMMARY_VIEW);
  const {
    PresenterComponent
  } = (0,toolkit_Validate_InstanceReportDialog_useRDFormsValidationPresenter__WEBPACK_IMPORTED_MODULE_13__["default"])(graph, resourceURI, template);
  const toggleGroupOptions = [{
    value: SUMMARY_VIEW,
    labelNlsKey: 'toggleButtonTable',
    ariaLabelNlsKey: 'toggleButtonTable',
    tooltipNlsKey: 'toggleTooltipTable'
  }, {
    value: DETAILS_VIEW,
    labelNlsKey: 'toggleButtonForm',
    ariaLabelNlsKey: 'toggleButtonForm',
    tooltipNlsKey: 'toggleTooltipForm'
  }];
  const hasDifference = detailedResource && (resource.errors.length !== detailedResource.errors.length || resource.warnings.length !== detailedResource.warnings.length || resource.deprecated.length !== detailedResource.deprecated.length);
  const handleChange = _ref2 => {
    let {
      target: {
        value
      }
    } = _ref2;
    return setViewMode(value);
  };
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], {
    open: true,
    onClose: closeDialog,
    "aria-labelledby": "report-details-dialog-title",
    "aria-describedby": "report-details-dialog-description",
    fullWidth: true,
    classes: {
      paper: 'esreInstanceReportDialog--fixedHeight'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], {
    id: "report-details-dialog-title"
  }, title, " "), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_6__["default"], {
    dividers: true,
    classes: {
      root: 'esreInstanceReportDialog__content'
    }
  }, hasDifference ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    severity: "info",
    className: "esreInstanceReportDialog__alert"
  }, translate('validationDiff')) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    className: "esreInstanceReportDialog__toggleButtonGroup",
    size: "small",
    value: viewMode,
    onChange: handleChange,
    "aria-label": translate('toggleGroupAriaLabel'),
    exclusive: true
  }, toggleGroupOptions.map(_ref3 => {
    let {
      value,
      labelNlsKey,
      ariaLabelNlsKey,
      tooltipNlsKey
    } = _ref3;
    return /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_16__["default"], {
      title: translate(tooltipNlsKey),
      placement: "bottom",
      key: `${value}-tooltip`
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
      value: value,
      "aria-label": translate(ariaLabelNlsKey),
      color: "secondary"
    }, translate(labelNlsKey)));
  })), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    container: true,
    justifyContent: "center",
    alignItems: "center"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    size: {
      xs: 12,
      md: 10
    }
  }, viewMode === SUMMARY_VIEW ? errors.length > 0 || warnings.length > 0 || deprecated.length > 0 ? /*#__PURE__*/React.createElement(_InstanceReportTable__WEBPACK_IMPORTED_MODULE_18__["default"], {
    resource: usedResource
  }) : /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_17__["default"], {
    label: translate('validSummaryPlaceholder')
  }) : PresenterComponent ? /*#__PURE__*/React.createElement(PresenterComponent, null) : null))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
    onClick: closeDialog,
    variant: "text"
  }, buttonLabel)));
};
InstanceReportDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  buttonLabel: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  title: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
  template: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape(),
  graph: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape(),
  resource: _util__WEBPACK_IMPORTED_MODULE_19__.resourcePropType,
  detailedResource: _util__WEBPACK_IMPORTED_MODULE_19__.resourcePropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InstanceReportDialog);

/***/ },

/***/ "./modules/toolkit/Validate/InstanceReportDialog/index.js"
/*!****************************************************************!*\
  !*** ./modules/toolkit/Validate/InstanceReportDialog/index.js ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _InstanceReportDialog__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _InstanceReportDialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InstanceReportDialog */ "./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.js");


/***/ },

/***/ "./modules/toolkit/Validate/InstanceReportDialog/useRDFormsValidationPresenter.js"
/*!****************************************************************************************!*\
  !*** ./modules/toolkit/Validate/InstanceReportDialog/useRDFormsValidationPresenter.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdforms/renderers/react */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);




const useRDFormsValidationPresenter = function useRDFormsValidationPresenter(graph, resource, template) {
  let compact = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  const [presenter, setPresenter] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(null);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    if (template && graph && resource) {
      setPresenter(new _entryscape_rdforms_renderers_react__WEBPACK_IMPORTED_MODULE_2__.ValidationPresenter({
        graph,
        template,
        resource,
        compact
      }));
    }
  }, [template, graph, resource]);
  return {
    PresenterComponent: presenter === null || presenter === void 0 ? void 0 : presenter.domNode.component,
    presenter
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRDFormsValidationPresenter);

/***/ },

/***/ "./modules/toolkit/Validate/InstanceReportTable/InstanceReportTable.js"
/*!*****************************************************************************!*\
  !*** ./modules/toolkit/Validate/InstanceReportTable/InstanceReportTable.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! toolkit/nls/esreReport.nls */ "./modules/toolkit/nls/esreReport.nls");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _ValidationIcon__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ValidationIcon */ "./modules/toolkit/Validate/ValidationIcon/index.js");
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util */ "./modules/toolkit/Validate/util.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");






const ReportRow = _ref => {
  let {
    item,
    Icon,
    problemLabel
  } = _ref;
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], {
    hover: true,
    classes: {
      root: 'esreInstanceReportTable__row'
    }
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    align: "center"
  }, Icon), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], null, item.path || item), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], null, problemLabel));
};
ReportRow.propTypes = {
  item: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    path: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    code: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  }), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)]),
  Icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
  problemLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
const ReportTable = _ref2 => {
  let {
    children
  } = _ref2;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  return /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    className: "esreInstanceReportTable",
    size: "small"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_4__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_1__["default"], null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], {
    align: "center"
  }, translate('severity')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], null, translate('path')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_2__["default"], null, translate('problem')))), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_5__["default"], null, children));
};
ReportTable.propTypes = {
  children: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
};
const InstanceReportTable = _ref3 => {
  let {
    resource
  } = _ref3;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const {
    errors = [],
    warnings = [],
    deprecated = []
  } = resource;
  const issueTypes = [{
    type: 'error',
    items: errors,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_8__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_8__.ERROR_VARIANT
    }),
    problemLabel: null
  }, {
    type: 'warning',
    items: warnings,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_8__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_8__.WARNING_VARIANT
    }),
    problemLabel: null
  }, {
    type: 'deprecated',
    items: deprecated,
    Icon: /*#__PURE__*/React.createElement(_ValidationIcon__WEBPACK_IMPORTED_MODULE_8__["default"], {
      variant: _ValidationIcon__WEBPACK_IMPORTED_MODULE_8__.DEPRECATED_VARIANT
    }),
    problemLabel: translate('deprecated')
  }];
  return /*#__PURE__*/React.createElement(ReportTable, null, issueTypes.map(_ref4 => {
    let {
      type,
      items,
      Icon,
      problemLabel
    } = _ref4;
    return items.map((item, index) => {
      const key = `${type}-${item.path || item.code}-${index}`;
      const label = item.code ? translate(`report_${item.code}`) : problemLabel;
      return /*#__PURE__*/React.createElement(ReportRow, {
        key: key,
        item: item,
        problemLabel: label,
        Icon: Icon
      });
    });
  }));
};
InstanceReportTable.propTypes = {
  resource: _util__WEBPACK_IMPORTED_MODULE_9__.resourcePropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InstanceReportTable);

/***/ },

/***/ "./modules/toolkit/Validate/InstanceReportTable/index.js"
/*!***************************************************************!*\
  !*** ./modules/toolkit/Validate/InstanceReportTable/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _InstanceReportTable__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _InstanceReportTable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InstanceReportTable */ "./modules/toolkit/Validate/InstanceReportTable/InstanceReportTable.js");


/***/ },

/***/ "./modules/toolkit/Validate/Validate.js"
/*!**********************************************!*\
  !*** ./modules/toolkit/Validate/Validate.js ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/contexts/ClipboardGraphContext */ "./modules/commons/contexts/ClipboardGraphContext.js");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! toolkit/nls/esreReport.nls */ "./modules/toolkit/nls/esreReport.nls");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! toolkit/nls/esreSource.nls */ "./modules/toolkit/nls/esreSource.nls");
/* harmony import */ var toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/common/dialogs/AlertDialog */ "./modules/commons/components/common/dialogs/AlertDialog/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var toolkit_LocationChangeListener__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! toolkit/LocationChangeListener */ "./modules/toolkit/LocationChangeListener.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_components_ValidationReport__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/ValidationReport */ "./modules/commons/components/ValidationReport/index.js");
/* harmony import */ var _Validate_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Validate.scss */ "./modules/toolkit/Validate/Validate.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");















const NLS_BUNDLES = [(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6___default()), (toolkit_nls_esreSource_nls__WEBPACK_IMPORTED_MODULE_7___default())];
const Validate = () => {
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_9__.useTranslation)(NLS_BUNDLES);
  const [clipboardGraph] = (0,commons_contexts_ClipboardGraphContext__WEBPACK_IMPORTED_MODULE_5__.useClipboardGraph)();
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__.useUserState)();
  const type2Template = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(() => (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_12__.getType2Template)(userInfo), [userInfo]);
  const [showAlert, setShowAlert] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false);
  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(() => {
    if (!clipboardGraph || clipboardGraph.isEmpty()) {
      setShowAlert(true);
    }
  }, [clipboardGraph, type2Template]);
  if (!clipboardGraph || clipboardGraph.isEmpty()) return /*#__PURE__*/React.createElement(commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_8__["default"], {
    open: showAlert,
    handleClose: () => {
      setShowAlert(false);
      navigate('/toolkit/catalog');
    },
    buttonLabel: translate('noRDFProceed')
  }, translate('noRDF'));
  const titleElement = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_3__["default"], {
    variant: "h2",
    classes: {
      root: 'esreValidate__header'
    }
  }, translate('validationReport'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_ValidationReport__WEBPACK_IMPORTED_MODULE_13__["default"], {
    graph: clipboardGraph,
    title: titleElement
  }), /*#__PURE__*/React.createElement(commons_components_common_dialogs_AlertDialog__WEBPACK_IMPORTED_MODULE_8__["default"], {
    open: showAlert,
    handleClose: () => {
      setShowAlert(false);
      navigate('/toolkit/catalog');
    },
    buttonLabel: translate('noRDFProceed')
  }, translate('noRDF')));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,toolkit_LocationChangeListener__WEBPACK_IMPORTED_MODULE_10__["default"])(Validate));

/***/ },

/***/ "./modules/toolkit/Validate/ValidationIcon/ValidationIcon.js"
/*!*******************************************************************!*\
  !*** ./modules/toolkit/Validate/ValidationIcon/ValidationIcon.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DEPRECATED_VARIANT: () => (/* binding */ DEPRECATED_VARIANT),
/* harmony export */   ERROR_VARIANT: () => (/* binding */ ERROR_VARIANT),
/* harmony export */   VALID_VARIANT: () => (/* binding */ VALID_VARIANT),
/* harmony export */   WARNING_VARIANT: () => (/* binding */ WARNING_VARIANT),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckCircle.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Error.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OfflineBolt.js");
/* harmony import */ var _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Warning.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! toolkit/nls/esreReport.nls */ "./modules/toolkit/nls/esreReport.nls");
/* harmony import */ var toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _ValidationIcon_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ValidationIcon.scss */ "./modules/toolkit/Validate/ValidationIcon/ValidationIcon.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");





const ERROR_VARIANT = 'error';
const WARNING_VARIANT = 'warning';
const DEPRECATED_VARIANT = 'deprecated';
const VALID_VARIANT = 'valid';
const iconVariants = [{
  id: ERROR_VARIANT,
  titleNlsKey: 'error',
  Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_2__["default"],
  baseClass: 'esreValidate__errorIcon'
}, {
  id: WARNING_VARIANT,
  titleNlsKey: 'warning',
  Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_4__["default"],
  baseClass: 'esreValidate__warningIcon'
}, {
  id: DEPRECATED_VARIANT,
  titleNlsKey: 'deprecatedIconTitle',
  Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_3__["default"],
  baseClass: 'esreValidate__deprecatedIcon'
}, {
  id: VALID_VARIANT,
  titleNlsKey: 'validTitle',
  Icon: _mui_icons_material__WEBPACK_IMPORTED_MODULE_1__["default"],
  baseClass: 'esreValidate__validIcon'
}];
const ValidationIcon = _ref => {
  let {
    variant = 'error',
    classes = ''
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_5__.useTranslation)((toolkit_nls_esreReport_nls__WEBPACK_IMPORTED_MODULE_6___default()));
  const {
    Icon,
    baseClass,
    titleNlsKey
  } = iconVariants.find(_ref2 => {
    let {
      id
    } = _ref2;
    return id === variant;
  });
  return /*#__PURE__*/React.createElement(Icon, {
    className: `${baseClass} ${classes}`,
    titleAccess: translate(titleNlsKey)
  });
};
ValidationIcon.propTypes = {
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(iconVariants.map(_ref3 => {
    let {
      id
    } = _ref3;
    return id;
  })),
  classes: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidationIcon);

/***/ },

/***/ "./modules/toolkit/Validate/ValidationIcon/index.js"
/*!**********************************************************!*\
  !*** ./modules/toolkit/Validate/ValidationIcon/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DEPRECATED_VARIANT: () => (/* reexport safe */ _ValidationIcon__WEBPACK_IMPORTED_MODULE_0__.DEPRECATED_VARIANT),
/* harmony export */   ERROR_VARIANT: () => (/* reexport safe */ _ValidationIcon__WEBPACK_IMPORTED_MODULE_0__.ERROR_VARIANT),
/* harmony export */   VALID_VARIANT: () => (/* reexport safe */ _ValidationIcon__WEBPACK_IMPORTED_MODULE_0__.VALID_VARIANT),
/* harmony export */   WARNING_VARIANT: () => (/* reexport safe */ _ValidationIcon__WEBPACK_IMPORTED_MODULE_0__.WARNING_VARIANT),
/* harmony export */   "default": () => (/* reexport safe */ _ValidationIcon__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ValidationIcon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ValidationIcon */ "./modules/toolkit/Validate/ValidationIcon/ValidationIcon.js");



/***/ },

/***/ "./modules/toolkit/Validate/index.js"
/*!*******************************************!*\
  !*** ./modules/toolkit/Validate/index.js ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _Validate__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _Validate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Validate */ "./modules/toolkit/Validate/Validate.js");


/***/ },

/***/ "./modules/toolkit/Validate/util.js"
/*!******************************************!*\
  !*** ./modules/toolkit/Validate/util.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   compareByErrors: () => (/* binding */ compareByErrors),
/* harmony export */   resourcePropType: () => (/* binding */ resourcePropType)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);


/**
 * Compare function that sorts resources with errors first and warnings second.
 *
 * @param {object} resourceA
 * @param {object} resourceB
 * @returns {number}
 */
const compareByErrors = (resourceA, resourceB) => {
  const {
    errors: errorsA,
    warnings: warningsA
  } = resourceA;
  const {
    errors: errorsB,
    warnings: warningsB
  } = resourceB;
  if (errorsA.length > errorsB.length) return -1;
  if (errorsA.length < errorsB.length) return 1;
  if (warningsA.length > warningsB.length) return -1;
  if (warningsA.length < warningsB.length) return 1;
  return 0;
};
const resourcePropType = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
  type: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  uri: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  template: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  errors: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    path: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    code: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  })),
  warnings: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
    path: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
    code: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
  })),
  deprecated: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().string))
});

/***/ },

/***/ "./modules/toolkit/config/site.js"
/*!****************************************!*\
  !*** ./modules/toolkit/config/site.js ***!
  \****************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var toolkit_Convert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! toolkit/Convert */ "./modules/toolkit/Convert/index.js");
/* harmony import */ var toolkit_Merge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! toolkit/Merge */ "./modules/toolkit/Merge/index.js");
/* harmony import */ var toolkit_Catalog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! toolkit/Catalog */ "./modules/toolkit/Catalog/index.js");
/* harmony import */ var toolkit_Explore_ExploreView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! toolkit/Explore/ExploreView */ "./modules/toolkit/Explore/ExploreView/index.js");
/* harmony import */ var toolkit_Validate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! toolkit/Validate */ "./modules/toolkit/Validate/index.js");





/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  modules: [{
    name: 'toolkit',
    productName: {
      en: 'Toolkit',
      sv: 'Verktygslåda',
      de: 'Toolkit'
    },
    faClass: 'wrench',
    title: {
      en: 'Toolkit',
      sv: 'Verktygslåda',
      de: 'Toolkit'
    },
    startView: 'toolkit__rdf__catalog',
    // compulsory,
    asCrumb: true,
    sidebar: true,
    text: {
      sv: 'En verktygslåda för att jobba med DCAT-AP metadata',
      en: 'A toolkit for working with DCAT-AP metadata',
      de: 'Ein Toolkit für die Arbeit mit DCAT-AP Metadaten'
    }
  }],
  views: [{
    name: 'toolkit__rdf__catalog',
    class: toolkit_Catalog__WEBPACK_IMPORTED_MODULE_2__["default"],
    title: {
      en: 'Source',
      sv: 'Källa',
      de: 'Quelle'
    },
    faClass: 'database',
    route: '/toolkit/catalog',
    module: 'toolkit',
    parent: 'toolkit__rdf__catalog',
    public: true
  }, {
    name: 'toolkit__dcat__explore',
    class: toolkit_Explore_ExploreView__WEBPACK_IMPORTED_MODULE_3__["default"],
    faClass: 'search',
    title: {
      en: 'Explore',
      sv: 'Utforska',
      de: 'Untersuchen'
    },
    route: '/toolkit/explore',
    module: 'toolkit',
    parent: 'toolkit__rdf__catalog',
    public: true
  }, {
    name: 'toolkit__validator__report',
    class: toolkit_Validate__WEBPACK_IMPORTED_MODULE_4__["default"],
    title: {
      en: 'Validate',
      sv: 'Validera',
      de: 'Validieren'
    },
    faClass: 'check-square-o',
    text: {
      sv: 'Validera dina datamängdsbeskrivningar',
      en: 'Validate your dataset descriptions',
      de: 'Validieren Sie Ihre Datensatz-Beschreibungen'
    },
    route: '/toolkit/validate',
    module: 'toolkit',
    parent: 'toolkit__rdf__catalog',
    public: true
  }, {
    name: 'toolkit__dcat__merge',
    class: toolkit_Merge__WEBPACK_IMPORTED_MODULE_1__["default"],
    faClass: 'filter',
    title: {
      en: 'Merge',
      sv: 'Slå samman',
      de: 'Kombinieren'
    },
    route: '/toolkit/merge',
    module: 'toolkit',
    parent: 'toolkit__rdf__catalog',
    public: true
  }, {
    name: 'toolkit__dcat__convert',
    class: toolkit_Convert__WEBPACK_IMPORTED_MODULE_0__["default"],
    faClass: 'random',
    title: {
      en: 'Convert',
      sv: 'Konver\u00ADtera',
      de: 'Konvertieren'
    },
    route: '/toolkit/convert',
    module: 'toolkit',
    parent: 'toolkit__rdf__catalog',
    public: true
  }]
});

/***/ },

/***/ "./modules/toolkit/util.js"
/*!*********************************!*\
  !*** ./modules/toolkit/util.js ***!
  \*********************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getCatalogTitle: () => (/* binding */ getCatalogTitle)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");


/**
 *
 * @param {Graph} graph
 * @returns {string}
 */
const getCatalogTitle = graph => {
  var _graph$find$;
  if (!graph) return '';
  return (_graph$find$ = graph.find(null, 'rdf:type', 'dcat:Catalog')[0]) === null || _graph$find$ === void 0 || (_graph$find$ = _graph$find$.getGraph()) === null || _graph$find$ === void 0 ? void 0 : _graph$find$.findFirstValue(null, 'dcterms:title');
};

/***/ },

/***/ "./modules/workbench/config/config.js"
/*!********************************************!*\
  !*** ./modules/workbench/config/config.js ***!
  \********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PROJECT_LISTVIEW: () => (/* binding */ PROJECT_LISTVIEW),
/* harmony export */   WORKBENCH_ENTITY_OVERVIEW_NAME: () => (/* binding */ WORKBENCH_ENTITY_OVERVIEW_NAME),
/* harmony export */   WORKBENCH_OVERVIEW_NAME: () => (/* binding */ WORKBENCH_OVERVIEW_NAME),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const PROJECT_LISTVIEW = 'workbench__list';
const WORKBENCH_OVERVIEW_NAME = 'workbench__overview';
const WORKBENCH_ENTITY_OVERVIEW_NAME = 'workbench__entities__type__overview';

/**
 * @module workbench
 * @description Configuration for the Workbench module
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  /** @ignore */
  itemstore: {
    /**
     * Classes that manage the listing/searching of values in rdforms selects.
     * The value of choosers is an array of strings,
     * the string refer to the filename in a specific path,
     * commons/rdforms/choosers
     *
     * @type {string[]}
     */
    choosers: ['EntryChooser', 'SkosChooser']
  },
  workbench: {
    /**
     * Show a table-view toggle in workbench list views.
     *
     * @type {boolean}
     * @memberof module:workbench
     * @default true
     */
    includeTableView: true,
    /**
     * Maximum number of projects that can be created.
     * Empty string means no limit.
     *
     * @type {string|number}
     * @memberof module:workbench
     * @default ''
     */
    projectLimit: '',
    /**
     * Shown when project creation limit is reached.
     * A pointer to a text file in the configuration directory.
     *
     * @type {string}
     * @memberof module:workbench
     * @default ''
     */
    projectLimitDialog: ''
  },
  /** @ignore */
  entitytypes: [{
    name: 'project',
    label: {
      en: 'Project',
      sv: 'Projekt',
      de: 'Projekt'
    },
    rdfType: ['http://entryscape.com/terms/WorkbenchContext'],
    template: 'esc:Context',
    mainModule: 'workbench',
    module: 'workbench',
    overview: 'workbench__overview'
  }]
});

/***/ },

/***/ "./modules/workbench/config/site.js"
/*!******************************************!*\
  !*** ./modules/workbench/config/site.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! workbench/utils/entitytypes */ "./modules/workbench/utils/entitytypes.js");
/* harmony import */ var commons_components_views_EntityListView__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/views/EntityListView */ "./modules/commons/components/views/EntityListView/index.js");
/* harmony import */ var _projects_EntityOverview_EntityOverview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../projects/EntityOverview/EntityOverview */ "./modules/workbench/projects/EntityOverview/EntityOverview.js");
/* harmony import */ var _projects_ProjectsView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../projects/ProjectsView */ "./modules/workbench/projects/ProjectsView/index.js");
/* harmony import */ var _projects_ProjectOverview_ProjectOverview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../projects/ProjectOverview/ProjectOverview */ "./modules/workbench/projects/ProjectOverview/ProjectOverview.js");
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ "./modules/workbench/config/config.js");






/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  modules: [{
    name: 'workbench',
    productName: {
      en: 'Workbench',
      sv: 'Workbench',
      de: 'Workbench'
    },
    sidebar: true,
    startView: 'workbench__list',
    getLayoutProps: workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_0__.getEntityTypeViews
  }, {
    name: 'project',
    // dynamic module mapped to project type modules
    startView: 'workbench__list',
    getLayoutProps: workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_0__.getEntityTypeViews,
    sidebar: true
  }],
  views: [{
    name: 'workbench__list',
    class: _projects_ProjectsView__WEBPACK_IMPORTED_MODULE_3__["default"],
    title: {
      en: 'Projects',
      sv: 'Projekt',
      de: 'Projekte'
    },
    route: '/:projectName',
    module: 'workbench'
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_5__.WORKBENCH_OVERVIEW_NAME,
    class: _projects_ProjectOverview_ProjectOverview__WEBPACK_IMPORTED_MODULE_4__["default"],
    title: {
      en: 'Overview',
      sv: 'Översikt',
      de: 'Überblick'
    },
    route: '/:projectName/:contextId/overview',
    parent: 'workbench__list',
    module: 'workbench'
  }, {
    name: 'workbench__entities__type',
    class: commons_components_views_EntityListView__WEBPACK_IMPORTED_MODULE_1__["default"],
    title: {
      en: 'Entities',
      sv: 'Entiteter',
      de: 'Objekte'
    },
    route: '/:projectName/:contextId/entitytype/:entityName',
    parent: 'workbench__list',
    module: 'workbench',
    navbar: false
  }, {
    name: _config__WEBPACK_IMPORTED_MODULE_5__.WORKBENCH_ENTITY_OVERVIEW_NAME,
    class: _projects_EntityOverview_EntityOverview__WEBPACK_IMPORTED_MODULE_2__["default"],
    title: {
      en: 'Entity',
      sv: 'Entitet',
      de: 'Objekt'
    },
    route: '/:projectName/:contextId/entitytype/:entityName/:entryId/overview',
    parent: 'workbench__entities__type',
    module: 'workbench'
  }]
});

/***/ },

/***/ "./modules/workbench/defaults.js"
/*!***************************************!*\
  !*** ./modules/workbench/defaults.js ***!
  \***************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");

// import 'commons/rdforms/linkBehaviour'; // TODO probably not needed anymore

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (() => {
  _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.namespaces.add('esterms', 'http://entryscape.com/terms/');
});

/***/ },

/***/ "./modules/workbench/projects/EntityOverview/EntityOverview.js"
/*!*********************************************************************!*\
  !*** ./modules/workbench/projects/EntityOverview/EntityOverview.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_EntityOverview__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/EntityOverview */ "./modules/commons/components/EntityOverview/index.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/nls/escoEntityOverview.nls */ "./modules/commons/nls/escoEntityOverview.nls");
/* harmony import */ var commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! workbench/nls/eswoBench.nls */ "./modules/workbench/nls/eswoBench.nls");
/* harmony import */ var workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./actions */ "./modules/workbench/projects/EntityOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }







const nlsBundles = [(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_3___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_4___default()), (commons_nls_escoEntityOverview_nls__WEBPACK_IMPORTED_MODULE_5___default()), (workbench_nls_eswoBench_nls__WEBPACK_IMPORTED_MODULE_6___default())];
const EntityList = _ref => {
  let {
    overviewProps
  } = _ref;
  return /*#__PURE__*/React.createElement(commons_components_EntityOverview__WEBPACK_IMPORTED_MODULE_1__["default"], _extends({
    actions: _actions__WEBPACK_IMPORTED_MODULE_7__.actions,
    nlsBundles: nlsBundles
  }, overviewProps));
};
EntityList.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_2__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EntityList);

/***/ },

/***/ "./modules/workbench/projects/EntityOverview/actions.js"
/*!**************************************************************!*\
  !*** ./modules/workbench/projects/EntityOverview/actions.js ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   actions: () => (/* binding */ actions)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_EntityOverview_actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/EntityOverview/actions */ "./modules/commons/components/EntityOverview/actions.js");
/* harmony import */ var commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/types/utils/relations */ "./modules/commons/types/utils/relations.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









const makeOnCompositionPublish = entityType => async (entry, isPublic) => {
  const entryInfo = entry.getEntryInfo();
  const acl = entryInfo.getACL(true);
  const context = entry.getContext();
  const groupEntry = await (0,commons_util_store__WEBPACK_IMPORTED_MODULE_7__.getGroupWithHomeContext)(context);
  const newAcl = isPublic ? _objectSpread(_objectSpread({}, acl), {}, {
    admin: [...(acl.admin || []), groupEntry.getId()]
  }) : {};
  entryInfo.setACL(newAcl);
  await entryInfo.commit();
  const relations = entityType.getRelations();
  const compositionRelations = relations.filter(relation => relation.type === 'composition');
  for (const relation of compositionRelations) {
    const subEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_8__["default"].getByName(relation.entityType);
    const subEntities = await (0,commons_types_utils_relations__WEBPACK_IMPORTED_MODULE_6__.getSubEntities)(entry, relation, context, subEntityType);
    await Promise.all(subEntities.map(subEntity => {
      const subEntryInfo = subEntity.getEntryInfo();
      subEntryInfo.setACL(_objectSpread({}, newAcl));
      return subEntryInfo.commit();
    }));
  }
};
const actions = [...commons_components_EntityOverview_actions__WEBPACK_IMPORTED_MODULE_5__.sidebarActions.filter(action => action.id !== commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_DIVIDER.id && action.id !== commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_PUBLISH.id), _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_DIVIDER), {}, {
  getProps: _ref => {
    let {
      entityType
    } = _ref;
    return {
      isVisible: () => entityType === null || entityType === void 0 ? void 0 : entityType.get('publishControl')
    };
  }
}), _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_4__.ACTION_PUBLISH), {}, {
  getProps: _ref2 => {
    let {
      entityType
    } = _ref2;
    return {
      onToggle: makeOnCompositionPublish(entityType),
      isVisible: () => entityType === null || entityType === void 0 ? void 0 : entityType.get('publishControl')
    };
  }
})];

/***/ },

/***/ "./modules/workbench/projects/ProjectOverview/ProjectOverview.js"
/*!***********************************************************************!*\
  !*** ./modules/workbench/projects/ProjectOverview/ProjectOverview.js ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/components/overview/Overview */ "./modules/commons/components/overview/Overview/index.js");
/* harmony import */ var commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/contexts/EsContext */ "./modules/commons/contexts/EsContext.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var workbench_nls_eswoOverview_nls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! workbench/nls/eswoOverview.nls */ "./modules/workbench/nls/eswoOverview.nls");
/* harmony import */ var workbench_nls_eswoOverview_nls__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoOverview_nls__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/nls/escoOverview.nls */ "./modules/commons/nls/escoOverview.nls");
/* harmony import */ var commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! workbench/nls/eswoSpaces.nls */ "./modules/workbench/nls/eswoSpaces.nls");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! terms/nls/esteImport.nls */ "./modules/terms/nls/esteImport.nls");
/* harmony import */ var terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_overview__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/components/overview */ "./modules/commons/components/overview/index.js");
/* harmony import */ var commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/errors/hooks/useErrorHandler */ "./modules/commons/errors/hooks/useErrorHandler.js");
/* harmony import */ var workbench_config_config__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! workbench/config/config */ "./modules/workbench/config/config.js");
/* harmony import */ var commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/components/Loader/Loader */ "./modules/commons/components/Loader/Loader.js");
/* harmony import */ var workbench_utils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! workbench/utils */ "./modules/workbench/utils/index.js");
/* harmony import */ var _workbenchOverview__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./workbenchOverview */ "./modules/workbench/projects/ProjectOverview/workbenchOverview.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./actions */ "./modules/workbench/projects/ProjectOverview/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }












 // For future fix: we don't have NLS for 'uploadTask' in workbench now











const nlsBundles = [(commons_nls_escoOverview_nls__WEBPACK_IMPORTED_MODULE_9___default()), (workbench_nls_eswoOverview_nls__WEBPACK_IMPORTED_MODULE_8___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_10___default()), (workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_11___default()), (terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_12___default())];
const ProjectOverview = _ref => {
  let {
    overviewProps
  } = _ref;
  const navParams = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_14__.useParams)();
  const {
    context
  } = (0,commons_contexts_EsContext__WEBPACK_IMPORTED_MODULE_6__.useESContext)();
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_13__.useUserState)();
  const {
    data: state,
    runAsync,
    error,
    isLoading
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_16__["default"])({
    data: {}
  });
  const {
    goBackToListView
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_15__["default"])();
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_7__.useTranslation)(nlsBundles);
  (0,commons_errors_hooks_useErrorHandler__WEBPACK_IMPORTED_MODULE_18__["default"])(error);
  const [{
    refreshCount
  }] = (0,commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.useOverviewModel)();
  const {
    projectName
  } = navParams;
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    runAsync(context.getEntry().then(async entry => {
      return (0,_workbenchOverview__WEBPACK_IMPORTED_MODULE_22__["default"])(entry, context, translate, userInfo, projectName);
    }));
  }, [runAsync, context, projectName, translate, userInfo, refreshCount]);
  const handleRemove = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(() => {
    goBackToListView(workbench_config_config__WEBPACK_IMPORTED_MODULE_19__.PROJECT_LISTVIEW, {
      projectName
    });
  }, [goBackToListView, projectName]);
  if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader_Loader__WEBPACK_IMPORTED_MODULE_20__["default"], null);
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(commons_components_overview_Overview__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    backLabel: translate('backTitle'),
    descriptionItems: state.descriptionItems,
    entry: state.entry,
    nlsBundles: nlsBundles,
    rowActions: state.rowActions,
    includeBackButton: !(0,workbench_utils__WEBPACK_IMPORTED_MODULE_21__.isSingleProject)(projectName),
    sidebarActions: _actions__WEBPACK_IMPORTED_MODULE_23__.sidebarActions,
    sidebarProps: {
      userEntry,
      userInfo,
      context,
      onRemove: handleRemove,
      projectName
    }
  }, overviewProps)));
};
ProjectOverview.propTypes = {
  overviewProps: commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.overviewPropsPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,commons_components_overview__WEBPACK_IMPORTED_MODULE_17__.withOverviewModelProvider)(ProjectOverview));

/***/ },

/***/ "./modules/workbench/projects/ProjectOverview/actions.js"
/*!***************************************************************!*\
  !*** ./modules/workbench/projects/ProjectOverview/actions.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   sidebarActions: () => (/* binding */ sidebarActions)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_components_overview_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/components/overview/hooks/useOverviewModel */ "./modules/commons/components/overview/hooks/useOverviewModel.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");
/* harmony import */ var commons_components_context_RemoveContextDialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/context/RemoveContextDialog */ "./modules/commons/components/context/RemoveContextDialog.js");
/* harmony import */ var workbench_projects_dialogs_UpdateURI__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! workbench/projects/dialogs/UpdateURI */ "./modules/workbench/projects/dialogs/UpdateURI/index.js");
/* harmony import */ var workbench_projects_dialogs_UpdateURI_WorkbenchProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! workbench/projects/dialogs/UpdateURI/WorkbenchProjectTypeChangeDialog */ "./modules/workbench/projects/dialogs/UpdateURI/WorkbenchProjectTypeChangeDialog.js");
/* harmony import */ var workbench_projects_dialogs_ConfigureEntityTypes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! workbench/projects/dialogs/ConfigureEntityTypes */ "./modules/workbench/projects/dialogs/ConfigureEntityTypes/index.js");
/* harmony import */ var commons_components_overview_dialogs_OverviewEditContextDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/overview/dialogs/OverviewEditContextDialog */ "./modules/commons/components/overview/dialogs/OverviewEditContextDialog/index.js");
/* harmony import */ var commons_components_toggles_PublishContextToggle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/toggles/PublishContextToggle */ "./modules/commons/components/toggles/PublishContextToggle/index.js");

function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }














const ACTION_EDIT_CONTEXT_NAME = 'edit-name';
const ACTION_CONFIGURE_ENTITYTYPES = 'configure-entitytypes';
const hasEntityTypeUriPattern = () => {
  const mainEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_3__["default"].getMainEntityType('workbench');
  return mainEntityType ? (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.shouldUseUriPattern)(mainEntityType) : false;
};
const shouldProjectUseUriPattern = entry => hasEntityTypeUriPattern() && (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.canWriteMetadata)(entry);
const sidebarActions = [_objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_EDIT), {}, {
  Dialog: commons_components_overview_dialogs_OverviewEditContextDialog__WEBPACK_IMPORTED_MODULE_13__["default"],
  getProps: () => ({
    action: {
      formTemplateId: 'esc:Context'
    }
  }),
  isVisible: _ref => {
    let {
      entry,
      userEntry
    } = _ref;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.canEditContextMetadata)(entry, userEntry);
  }
}), _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_REVISIONS), {}, {
  getProps: () => ({
    action: {
      formTemplateId: 'esc:Context'
    }
  }),
  isVisible: _ref2 => {
    let {
      entry,
      userEntry
    } = _ref2;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.canEditContextMetadata)(entry, userEntry);
  }
}), {
  id: ACTION_EDIT_CONTEXT_NAME,
  Dialog: (0,commons_components_overview_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_4__.withOverviewRefresh)(workbench_projects_dialogs_UpdateURI__WEBPACK_IMPORTED_MODULE_10__["default"], 'onChange'),
  isVisible: _ref3 => {
    let {
      entry
    } = _ref3;
    return shouldProjectUseUriPattern(entry);
  },
  labelNlsKey: 'editProjectNameTitle'
}, {
  id: 'change-projecttype',
  Dialog: (0,commons_components_overview_hooks_useOverviewModel__WEBPACK_IMPORTED_MODULE_4__.withOverviewRefresh)(workbench_projects_dialogs_UpdateURI_WorkbenchProjectTypeChangeDialog__WEBPACK_IMPORTED_MODULE_11__["default"], 'onChange'),
  isVisible: _ref4 => {
    let {
      userEntry,
      userInfo
    } = _ref4;
    return (0,commons_util_user__WEBPACK_IMPORTED_MODULE_8__.hasAdminRights)(userEntry) && commons_types_Lookup__WEBPACK_IMPORTED_MODULE_3__["default"].getProjectTypeOptions(userInfo).length;
  },
  labelNlsKey: 'changeProjectTypeLabel'
}, {
  id: ACTION_CONFIGURE_ENTITYTYPES,
  Dialog: workbench_projects_dialogs_ConfigureEntityTypes__WEBPACK_IMPORTED_MODULE_12__["default"],
  isVisible: _ref5 => {
    let {
      entry,
      projectName
    } = _ref5;
    return (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_6__.canWriteMetadata)(entry) && projectName === 'workbench';
  },
  labelNlsKey: 'workspaceConfigure'
}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_2__.LIST_ACTION_SHARING_SETTINGS, {
  id: 'remove',
  Dialog: commons_components_context_RemoveContextDialog__WEBPACK_IMPORTED_MODULE_9__["default"],
  labelNlsKey: 'removeButtonLabel',
  isVisible: _ref6 => {
    let {
      entry,
      userEntry
    } = _ref6;
    return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_7__.canEditContextMetadata)(entry, userEntry);
  }
}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_1__.ACTION_DIVIDER, {
  id: 'publish',
  Component: commons_components_toggles_PublishContextToggle__WEBPACK_IMPORTED_MODULE_14__["default"],
  getProps: _ref7 => {
    let {
      entry,
      translate
    } = _ref7;
    return {
      entry,
      translate
    };
  }
}];


/***/ },

/***/ "./modules/workbench/projects/ProjectOverview/workbenchOverview.js"
/*!*************************************************************************!*\
  !*** ./modules/workbench/projects/ProjectOverview/workbenchOverview.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/overview/actions */ "./modules/commons/components/overview/actions/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var _utils_entitytypes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/entitytypes */ "./modules/workbench/utils/entitytypes.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












const getRowActions = (entityTypes, context, projectName) => {
  const rowActionsPromises = entityTypes.map(async entityType => {
    const queryCount = await (0,_utils_entitytypes__WEBPACK_IMPORTED_MODULE_11__.getEntitytypeCountQuery)(context, entityType);
    const name = entityType.get('name');
    const link = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_6__.getPathFromViewName)('workbench__entities__type', {
      contextId: context.getId(),
      entityName: name,
      projectName
    });
    return {
      getProps: () => ({
        label: (0,commons_locale__WEBPACK_IMPORTED_MODULE_10__.localize)(entityType.label()),
        labelPrefix: queryCount,
        to: link,
        isPrimary: entityType.get('main')
      })
    };
  });
  return Promise.all(rowActionsPromises);
};

/**
 * Custom getOverviewData function for Workbench
 *
 * @param {Entry} entry
 * @param {Context} context
 * @param {function} translate
 * @param {object} userInfo
 * @returns {Promise<object>}
 */

const getWorkbenchOverviewData = async (entry, context, translate, userInfo, projectName) => {
  const entityTypes = await (0,_utils_entitytypes__WEBPACK_IMPORTED_MODULE_11__.getPrimaryEntityTypes)(context, userInfo);
  const visibleEntityTypes = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_7__.findNonCompositionEntityTypes)(entityTypes);
  const rowActions = await getRowActions(visibleEntityTypes, context, projectName);
  const entitiesTotalCount = rowActions.reduce((acc, stat) => acc + Number(stat.getProps().labelPrefix), 0);
  const projectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_9__["default"].getProjectTypeInUse(context);
  const data = {
    entry,
    entityTypes: visibleEntityTypes,
    rowActions,
    entitiesTotalCount
  };
  data.descriptionItems = [commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_8__.DESCRIPTION_CREATED, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_8__.DESCRIPTION_UPDATED, _objectSpread(_objectSpread({}, commons_components_overview_actions__WEBPACK_IMPORTED_MODULE_8__.DESCRIPTION_PROJECT_TYPE), {}, {
    getValues: () => projectType ? [projectType.source.name] : [translate('defaultProjectType')]
  }), {
    id: 'configuredTypes',
    labelNlsKey: 'configuredEntitiesLabel',
    getValues: () => [visibleEntityTypes.length.toString()]
  }, {
    id: 'configuredTypesCount',
    labelNlsKey: 'entitiesCountLabel',
    getValues: () => [entitiesTotalCount.toString()]
  }];
  data.entityTypes = visibleEntityTypes;
  return data;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getWorkbenchOverviewData);

/***/ },

/***/ "./modules/workbench/projects/ProjectsView/ProjectsView.js"
/*!*****************************************************************!*\
  !*** ./modules/workbench/projects/ProjectsView/ProjectsView.js ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_solr_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/solr/context */ "./modules/commons/util/solr/context.js");
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/components/EntryListView */ "./modules/commons/components/EntryListView/index.js");
/* harmony import */ var commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/components/EntryListView/actions */ "./modules/commons/components/EntryListView/actions/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_components_EntryListView_dialogs_ListEditContextDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/EntryListView/dialogs/ListEditContextDialog */ "./modules/commons/components/EntryListView/dialogs/ListEditContextDialog/index.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var workbench_config_config__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! workbench/config/config */ "./modules/workbench/config/config.js");
/* harmony import */ var workbench_utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! workbench/utils */ "./modules/workbench/utils/index.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");
/* harmony import */ var commons_components_Loader__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/components/Loader */ "./modules/commons/components/Loader/index.js");
/* harmony import */ var commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/components/router/useNavigate */ "./modules/commons/components/router/useNavigate.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/buttons/ActionButton */ "./modules/commons/components/buttons/ActionButton/index.js");
/* harmony import */ var commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/components/common/Placeholder */ "./modules/commons/components/common/Placeholder/index.js");
/* harmony import */ var commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/actions/hooks/useActionDefinitions */ "./modules/commons/actions/hooks/useActionDefinitions.js");
/* harmony import */ var commons_util_module__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/util/module */ "./modules/commons/util/module.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_25__);
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");
/* harmony import */ var commons_hooks_useGetProjectTypeInfo__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/useGetProjectTypeInfo */ "./modules/commons/hooks/useGetProjectTypeInfo.js");
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./actions */ "./modules/workbench/projects/ProjectsView/actions.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


const _excluded = ["Component", "id"],
  _excluded2 = ["entries", "isLoading"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }

























const SingleProjectView = _ref => {
  let {
    projectName,
    projectEntry
  } = _ref;
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_28__.nlsBundles);
  const {
    navigate
  } = (0,commons_components_router_useNavigate__WEBPACK_IMPORTED_MODULE_19__["default"])();
  (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(() => {
    if (!projectEntry) return;
    const path = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_9__.getPathFromViewName)(workbench_config_config__WEBPACK_IMPORTED_MODULE_15__.WORKBENCH_OVERVIEW_NAME, {
      contextId: projectEntry.getId(),
      projectName
    });
    navigate(path);
  }, [navigate, projectName, projectEntry]);
  const {
    actions
  } = (0,commons_actions_hooks_useActionDefinitions__WEBPACK_IMPORTED_MODULE_23__["default"])({
    actions: _actions__WEBPACK_IMPORTED_MODULE_28__.listActions,
    actionParams: {
      translate
    },
    Component: commons_components_buttons_ActionButton__WEBPACK_IMPORTED_MODULE_21__["default"]
  });
  if (projectEntry) return null; // should redirect to overview when there's a project entry

  const projectType = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_17__.getProjectTypeByName)(projectName);
  const icon = (0,commons_util_module__WEBPACK_IMPORTED_MODULE_24__.getModuleIconFromName)(null, projectType.source.icon);
  return /*#__PURE__*/React.createElement(commons_components_common_Placeholder__WEBPACK_IMPORTED_MODULE_22__["default"], {
    label: translate('singleProjectPlaceholder'),
    icon: icon
  }, actions.length ? /*#__PURE__*/React.createElement(commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.ListActions, {
    justifyContent: "center"
  }, actions.map(_ref2 => {
    let {
        Component,
        id
      } = _ref2,
      props = _objectWithoutProperties(_ref2, _excluded);
    return /*#__PURE__*/React.createElement(Component, _extends({
      key: id,
      id: id
    }, props));
  })) : null);
};
SingleProjectView.propTypes = {
  projectName: (prop_types__WEBPACK_IMPORTED_MODULE_25___default().string),
  projectEntry: commons_util_entry__WEBPACK_IMPORTED_MODULE_26__.entryPropType
};
const ProjectsView = _ref3 => {
  let {
    listProps
  } = _ref3;
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_4__.useUserState)();
  const {
    projectLabel,
    projectName,
    isProjectModule
  } = (0,commons_hooks_useGetProjectTypeInfo__WEBPACK_IMPORTED_MODULE_27__["default"])();
  const queryParams = (0,react__WEBPACK_IMPORTED_MODULE_11__.useMemo)(() => {
    return (0,commons_util_solr_context__WEBPACK_IMPORTED_MODULE_5__.getContextSearchQuery)({
      contextType: commons_util_context__WEBPACK_IMPORTED_MODULE_6__.CONTEXT_TYPE_WORKBENCH,
      projectName: isProjectModule ? projectName : ''
    }, {
      userEntry,
      userInfo
    });
  }, [userEntry, userInfo, projectName, isProjectModule]);
  const _useSolrQuery = (0,commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.useSolrQuery)(_objectSpread(_objectSpread({}, queryParams), {}, {
      applyQueryParams: commons_util_solr__WEBPACK_IMPORTED_MODULE_12__.applyTitleOrContextnameParams
    })),
    {
      entries,
      isLoading
    } = _useSolrQuery,
    queryResults = _objectWithoutProperties(_useSolrQuery, _excluded2);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_20__.useTranslation)(_actions__WEBPACK_IMPORTED_MODULE_28__.nlsBundles);
  const modifiedListActions = [_objectSpread(_objectSpread({}, _actions__WEBPACK_IMPORTED_MODULE_28__.listActions[0]), {}, {
    tooltip: isProjectModule ? translate('projectActionTooltip', projectLabel) : translate('actionTooltip')
  })];
  if ((0,workbench_utils__WEBPACK_IMPORTED_MODULE_16__.isSingleProject)(projectName)) {
    // avoid loading the list view when it's single project
    if (isLoading) return /*#__PURE__*/React.createElement(commons_components_Loader__WEBPACK_IMPORTED_MODULE_18__["default"], null);
    return /*#__PURE__*/React.createElement(SingleProjectView, {
      projectEntry: entries[0],
      projectName: projectName
    });
  }
  return /*#__PURE__*/React.createElement(commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.EntryListView, _extends({}, queryResults, listProps, {
    entries: entries,
    nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_28__.nlsBundles,
    getListItemProps: _ref4 => {
      let {
        entry
      } = _ref4;
      return {
        to: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_9__.getPathFromViewName)(workbench_config_config__WEBPACK_IMPORTED_MODULE_15__.WORKBENCH_OVERVIEW_NAME, {
          contextId: entry.getId(),
          projectName
        })
      };
    },
    listActions: modifiedListActions,
    listActionsProps: {
      nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_28__.nlsBundles,
      numberOfProjects: entries.length
    },
    columns: [_objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.STATUS_COLUMN), {}, {
      getProps: _ref5 => {
        let {
          entry
        } = _ref5;
        return {
          entry
        };
      }
    }), _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.TITLE_COLUMN), {}, {
      xs: 7
    }), commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.MODIFIED_COLUMN, _objectSpread(_objectSpread({}, commons_components_EntryListView__WEBPACK_IMPORTED_MODULE_7__.ACTIONS_GROUP_COLUMN), {}, {
      actions: [commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_INFO, _objectSpread(_objectSpread({}, commons_components_EntryListView_actions__WEBPACK_IMPORTED_MODULE_8__.LIST_ACTION_EDIT), {}, {
        nlsBundles: _actions__WEBPACK_IMPORTED_MODULE_28__.nlsBundles,
        formTemplateId: 'esc:Context',
        Dialog: commons_components_EntryListView_dialogs_ListEditContextDialog__WEBPACK_IMPORTED_MODULE_13__["default"]
      })]
    })]
  }));
};
ProjectsView.propTypes = {
  listProps: commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.listPropsPropType
};
const ProjectsViewWithListModelProviderAndLocation = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_10__.withListModelProviderAndLocation)(ProjectsView);

// Wrapper to make sure the view is remounted when switching between projects in
// primary navigation. This is required since the same route is used for project
// modules.
const ProjectsViewWithProjectName = props => {
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_14__.useParams)();
  return /*#__PURE__*/React.createElement(ProjectsViewWithListModelProviderAndLocation, _extends({
    key: projectName
  }, props));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ProjectsViewWithProjectName);

/***/ },

/***/ "./modules/workbench/projects/ProjectsView/actions.js"
/*!************************************************************!*\
  !*** ./modules/workbench/projects/ProjectsView/actions.js ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   listActions: () => (/* binding */ listActions),
/* harmony export */   nlsBundles: () => (/* binding */ nlsBundles)
/* harmony export */ });
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! workbench/nls/eswoSpaces.nls */ "./modules/workbench/nls/eswoSpaces.nls");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! terms/nls/esteImport.nls */ "./modules/terms/nls/esteImport.nls");
/* harmony import */ var terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _dialogs_CreateProject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dialogs/CreateProject */ "./modules/workbench/projects/dialogs/CreateProject.js");

 // For future fix: we don't have NLS for 'uploadTask' in workbench now



// TODO there's too many nls for the actions. fix up
const nlsBundles = [(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_0___default()), (terms_nls_esteImport_nls__WEBPACK_IMPORTED_MODULE_1___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_2___default())];
const noRestriction = () => true;
const listActions = [{
  id: 'create',
  Dialog: _dialogs_CreateProject__WEBPACK_IMPORTED_MODULE_3__["default"],
  isVisible: noRestriction,
  labelNlsKey: 'createButtonLabel'
}];


/***/ },

/***/ "./modules/workbench/projects/ProjectsView/index.js"
/*!**********************************************************!*\
  !*** ./modules/workbench/projects/ProjectsView/index.js ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ProjectsView__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ProjectsView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ProjectsView */ "./modules/workbench/projects/ProjectsView/ProjectsView.js");


/***/ },

/***/ "./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.js"
/*!*****************************************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/FormLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/components/common/Tooltip */ "./modules/commons/components/common/Tooltip/index.js");
/* harmony import */ var commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/ConditionalWrapper */ "./modules/commons/components/common/ConditionalWrapper/index.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var workbench_nls_eswoConfigureEntityTypes_nls__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! workbench/nls/eswoConfigureEntityTypes.nls */ "./modules/workbench/nls/eswoConfigureEntityTypes.nls");
/* harmony import */ var workbench_nls_eswoConfigureEntityTypes_nls__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoConfigureEntityTypes_nls__WEBPACK_IMPORTED_MODULE_18__);
/* harmony import */ var workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! workbench/utils/entitytypes */ "./modules/workbench/utils/entitytypes.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");
/* harmony import */ var commons_locale__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/locale */ "./modules/commons/locale/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/types/ProjectTypeChooser */ "./modules/commons/types/ProjectTypeChooser/index.js");
/* harmony import */ var commons_hooks_usePageRefresh__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! commons/hooks/usePageRefresh */ "./modules/commons/hooks/usePageRefresh.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! commons/util/moduleDefinitions */ "./modules/commons/util/moduleDefinitions.js");
/* harmony import */ var _ConfigureEntityTypes_scss__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./ConfigureEntityTypes.scss */ "./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.scss");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



























// Configures entity types in two ways:
// 1. Select/change project type. Specific entity types can't be selected.
// 2. Select specific entity types, when no project type is selected.
const ConfigureEntityTypesDialog = _ref => {
  let {
    entry,
    closeDialog
  } = _ref;
  const {
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_23__.useUserState)();
  const [selectedEntityTypesURIs, setSelectedEntityTypesURIs] = (0,react__WEBPACK_IMPORTED_MODULE_17__.useState)([]);
  const [hasSomeSelected, setHasSomeSelected] = (0,react__WEBPACK_IMPORTED_MODULE_17__.useState)(true);
  const [selectedProjectTypeId, setSelectedProjectTypeId] = (0,react__WEBPACK_IMPORTED_MODULE_17__.useState)('');
  const [entityTypeItems, setEntityTypeItems] = (0,react__WEBPACK_IMPORTED_MODULE_17__.useState)([]);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_22__.useTranslation)((workbench_nls_eswoConfigureEntityTypes_nls__WEBPACK_IMPORTED_MODULE_18___default()));
  const [configureError, setConfigureError] = (0,react__WEBPACK_IMPORTED_MODULE_17__.useState)();
  const refreshView = (0,commons_hooks_usePageRefresh__WEBPACK_IMPORTED_MODULE_27__["default"])();
  const {
    runAsync: runProjectTypeInContext,
    data: savedProjectTypeId
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_25__["default"])({
    data: ''
  });
  const updateEntityTypeItems = (0,react__WEBPACK_IMPORTED_MODULE_17__.useCallback)(async projectTypeId => {
    const entityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_20__.getAvailableEntityTypes)(projectTypeId, userInfo, commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_30__.WORKBENCH_MODULE);
    const entitytypeCountQueries = entityTypes.map(entityType => (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__.getEntitytypeCountQuery)(entry, entityType));
    const entitytypeCounts = await Promise.all(entitytypeCountQueries);
    const entityTypeItemsWithCount = entityTypes.map((entityType, id) => ({
      entityType,
      count: entitytypeCounts[id] || 0
    }));
    setEntityTypeItems(entityTypeItemsWithCount);
  }, [entry, userInfo]);

  /**
   * Get selected entity types. Only applicable if no project type, since entity
   * types can't be selected in this case.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_17__.useEffect)(() => {
    if (!entityTypeItems.length) return;

    // get already saved entitytypes
    const selectedEntityTypeURIs = (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__.getSelectedEntityTypeURIs)(entry);
    setSelectedEntityTypesURIs(selectedEntityTypeURIs || entityTypeItems.map(_ref2 => {
      let {
        entityType
      } = _ref2;
      return (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__.getEntityURIFromName)(entityType.get('name'));
    }));
  }, [entry, entityTypeItems]);

  /**
   * Check for saved project type in context. Then set available entity
   * types.
   */
  (0,react__WEBPACK_IMPORTED_MODULE_17__.useEffect)(() => {
    if (!entry) return;
    runProjectTypeInContext(commons_types_Lookup__WEBPACK_IMPORTED_MODULE_6__["default"].getProjectTypeInUse(entry.getResource(true)).then(async projectType => {
      const projectTypeId = (projectType === null || projectType === void 0 ? void 0 : projectType.getId()) || '';
      if (projectTypeId) {
        setSelectedProjectTypeId(projectTypeId);
      }
      await updateEntityTypeItems(projectTypeId);
      return projectTypeId;
    }));
  }, [entry, runProjectTypeInContext, userInfo, updateEntityTypeItems]);
  const handleEntityTypeSelect = event => {
    // update state
    const {
      checked,
      name
    } = event.target;
    const entityTypeURI = (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__.getEntityURIFromName)(name);
    const entityTypeState = checked ? [...selectedEntityTypesURIs, entityTypeURI] : selectedEntityTypesURIs.filter(uri => uri !== entityTypeURI);
    setSelectedEntityTypesURIs(entityTypeState);
    setHasSomeSelected(entityTypeState.length);
  };
  const onChangeProjectType = async projectTypeId => {
    setSelectedProjectTypeId(projectTypeId);
    await updateEntityTypeItems(projectTypeId);
  };
  const handleSaveAction = () => {
    (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__.updateSelectedEntityTypes)(entry, selectedEntityTypesURIs, selectedProjectTypeId).then(() => {
      closeDialog();
      refreshView();
    }).catch(error => {
      setConfigureError(new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_29__.ErrorWithMessage(translate('entityTypeConfigureFail'), error));
    });
  };
  const actions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    autoFocus: true,
    disabled: !hasSomeSelected,
    onClick: handleSaveAction
  }, translate('entityTypesFooter'));
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_24__["default"], {
    closeDialog: closeDialog,
    id: "configure-entitytypes",
    title: translate('entityTypesTitle'),
    actions: actions,
    maxWidth: "sm"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_16__["default"], {
    xs: 10
  }, /*#__PURE__*/React.createElement(commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_26__["default"], {
    onChangeProjectType: onChangeProjectType,
    selectedId: selectedProjectTypeId,
    userInfo: userInfo
  }), selectedProjectTypeId !== savedProjectTypeId ? /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    "aria-live": "polite",
    variant: "body1"
  }, translate('projectTypeChangeWarning')) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    component: "fieldset"
  }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
    focused: false,
    component: "legend"
  }, selectedProjectTypeId ? translate('entityTypesFromProjectTypeHeader') : translate('entityTypesHeader')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_11__["default"], null, entityTypeItems.map(_ref3 => {
    let {
      entityType,
      count
    } = _ref3;
    const {
      name,
      label,
      id
    } = entityType.get();
    return /*#__PURE__*/React.createElement(commons_components_common_ConditionalWrapper__WEBPACK_IMPORTED_MODULE_15__["default"], {
      key: `${id}`,
      condition: Boolean(selectedProjectTypeId),
      wrapper: children => /*#__PURE__*/React.createElement(commons_components_common_Tooltip__WEBPACK_IMPORTED_MODULE_14__["default"], {
        title: translate('projectTypeTooltip')
      }, children)
    }, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_12__["default"], {
      control: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_13__["default"], {
        checked: selectedEntityTypesURIs.includes((0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__.getEntityURIFromName)(name)) || Boolean(selectedProjectTypeId),
        disabled: Boolean(selectedProjectTypeId),
        onChange: handleEntityTypeSelect,
        name: (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_19__.getEntityURIFromName)(name)
      }),
      label: `${(0,commons_locale__WEBPACK_IMPORTED_MODULE_21__.localize)(label)} (${count} ${translate('entry', count)})`
    }));
  }))))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_28__.ErrorCatcher, {
    error: configureError
  }), ' ');
};
ConfigureEntityTypesDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_4___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_5__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConfigureEntityTypesDialog);

/***/ },

/***/ "./modules/workbench/projects/dialogs/ConfigureEntityTypes/index.js"
/*!**************************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/ConfigureEntityTypes/index.js ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _ConfigureEntityTypes__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _ConfigureEntityTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConfigureEntityTypes */ "./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.js");


/***/ },

/***/ "./modules/workbench/projects/dialogs/CreateProject.js"
/*!*************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/CreateProject.js ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/components/common/ContentWrapper */ "./modules/commons/components/common/ContentWrapper/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var workbench_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! workbench/utils */ "./modules/workbench/utils/index.js");
/* harmony import */ var commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/hooks/useEntityTitleAndURI */ "./modules/commons/hooks/useEntityTitleAndURI.js");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! workbench/nls/eswoSpaces.nls */ "./modules/workbench/nls/eswoSpaces.nls");
/* harmony import */ var workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! commons/components/ListView */ "./modules/commons/components/ListView/index.js");
/* harmony import */ var commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! commons/hooks/useRestrictionDialog */ "./modules/commons/hooks/useRestrictionDialog.js");
/* harmony import */ var commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! commons/types/ProjectTypeChooser */ "./modules/commons/types/ProjectTypeChooser/index.js");
/* harmony import */ var commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! commons/hooks/useSnackbar */ "./modules/commons/hooks/useSnackbar.js");
/* harmony import */ var commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! commons/hooks/useAsync */ "./modules/commons/hooks/useAsync.js");
/* harmony import */ var commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! commons/components/LoadingButton */ "./modules/commons/components/LoadingButton/index.js");
/* harmony import */ var commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! commons/errors/ErrorCatcher */ "./modules/commons/errors/ErrorCatcher/index.js");
/* harmony import */ var commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! commons/errors/utils/errors */ "./modules/commons/errors/utils/errors.js");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! commons/nls/escoList.nls */ "./modules/commons/nls/escoList.nls");
/* harmony import */ var commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_24__);
/* harmony import */ var workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! workbench/utils/entitytypes */ "./modules/workbench/utils/entitytypes.js");
/* harmony import */ var commons_hooks_useGetProjectTypeInfo__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! commons/hooks/useGetProjectTypeInfo */ "./modules/commons/hooks/useGetProjectTypeInfo.js");
/* harmony import */ var _useProjectRestriction__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./useProjectRestriction */ "./modules/workbench/projects/dialogs/useProjectRestriction.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");



























const CreateProjectDialog = _ref => {
  let {
    closeDialog,
    numberOfProjects
  } = _ref;
  const {
    projectName
  } = (0,react_router_dom__WEBPACK_IMPORTED_MODULE_4__.useParams)();
  const [, dispatch] = (0,commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.useListModel)();
  const {
    userEntry,
    userInfo
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_11__.useUserState)();
  const [selectedProjectType, setSelectedProjectType] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)((0,workbench_utils__WEBPACK_IMPORTED_MODULE_12__.projectNameToId)(projectName) || '');
  const entityType = (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_25__.getMainEntityType)(selectedProjectType);
  const hasEntityTypeURIPattern = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.shouldUseUriPattern)(entityType);
  const entityTypeUriPatternBase = hasEntityTypeURIPattern && entityType.getUriPatternBase();
  const uriPattern = hasEntityTypeURIPattern && entityType.uriPattern || '';
  const [addSnackbar] = (0,commons_hooks_useSnackbar__WEBPACK_IMPORTED_MODULE_19__.useSnackbar)();
  const {
    runAsync,
    status,
    error: createError
  } = (0,commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__["default"])();
  const {
    title,
    name,
    isNameFree,
    handleTitleChange,
    handleNameChange
  } = (0,commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_13__.useEntityTitleAndURI)({
    uriPattern
  });
  const [description, setDescription] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('');
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(true);
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_6__.useTranslation)([(workbench_nls_eswoSpaces_nls__WEBPACK_IMPORTED_MODULE_14___default()), (commons_nls_escoList_nls__WEBPACK_IMPORTED_MODULE_24___default())]);
  const {
    projectLabel,
    isProjectModule
  } = (0,commons_hooks_useGetProjectTypeInfo__WEBPACK_IMPORTED_MODULE_26__["default"])();
  const {
    isRestricted,
    contentPath
  } = (0,_useProjectRestriction__WEBPACK_IMPORTED_MODULE_27__["default"])(numberOfProjects);
  (0,commons_hooks_useRestrictionDialog__WEBPACK_IMPORTED_MODULE_17__["default"])({
    open: isRestricted,
    contentPath,
    callback: closeDialog
  });
  const handleDescriptionChange = evt => {
    setDescription(evt.target.value);
  };
  const handleCreate = async () => {
    return (0,workbench_utils__WEBPACK_IMPORTED_MODULE_12__.createProject)({
      title,
      description,
      name,
      entityType,
      projectType: selectedProjectType,
      hasAdminRights: userInfo.hasAdminRights
    }).then(() => {
      // todo really needed?
      userEntry.setRefreshNeeded();
      return userEntry.refresh();
    }).then(closeDialog).then(() => dispatch({
      type: commons_components_ListView__WEBPACK_IMPORTED_MODULE_16__.CREATE
    })).then(() => addSnackbar({
      message: translate('createProjectSuccess')
    })).catch(error => {
      throw new commons_errors_utils_errors__WEBPACK_IMPORTED_MODULE_23__.ErrorWithMessage(translate('createProjectFail'), error);
    });
  };
  const formIsValid = hasEntityTypeURIPattern ? isNameFree && name !== '' && title !== '' : title !== '';
  const actions = /*#__PURE__*/React.createElement(commons_components_LoadingButton__WEBPACK_IMPORTED_MODULE_21__["default"], {
    onClick: () => runAsync(handleCreate()),
    loading: status === commons_hooks_useAsync__WEBPACK_IMPORTED_MODULE_20__.PENDING,
    disabled: !formIsValid
  }, translate('createButtonLabel'));
  if (isRestricted) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_15__["default"], {
    id: "create-project",
    closeDialog: closeDialog,
    actions: actions,
    title: isProjectModule ? translate('createProjectEntityHeader', projectLabel) : translate('createEntityHeader'),
    maxWidth: "md"
  }, /*#__PURE__*/React.createElement(commons_components_common_ContentWrapper__WEBPACK_IMPORTED_MODULE_9__["default"], null, /*#__PURE__*/React.createElement("form", {
    autoComplete: "off"
  }, !isProjectModule ? /*#__PURE__*/React.createElement(commons_types_ProjectTypeChooser__WEBPACK_IMPORTED_MODULE_18__["default"], {
    onChangeProjectType: setSelectedProjectType,
    selectedId: selectedProjectType,
    userInfo: userInfo
  }) : null, /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    id: "create-project-title",
    label: translate('createEntityTitle'),
    value: title,
    onChange: evt => {
      setPristine(false);
      handleTitleChange(evt);
    },
    placeholder: translate('createEntityTitlePlaceholder'),
    error: !pristine && !title,
    helperText: !pristine && !title && translate('nameRequired'),
    required: true
  }), hasEntityTypeURIPattern && /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    label: translate('createEntityName'),
    id: "create-project-name",
    value: name,
    onChange: evt => {
      setPristine(false);
      handleNameChange(evt);
    },
    error: !pristine && (!name || !isNameFree),
    helperText: !pristine && (!name ? translate('URLRequired') : !isNameFree && translate('unavailableURLFeedback')),
    required: true,
    InputProps: {
      startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
        position: "start"
      }, entityTypeUriPatternBase)
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_7__["default"], {
    multiline: true,
    rows: 4,
    id: "create-project-description",
    label: translate('createEntityDesc'),
    value: description,
    onChange: handleDescriptionChange,
    placeholder: translate('descriptionPlaceholder')
  })))), /*#__PURE__*/React.createElement(commons_errors_ErrorCatcher__WEBPACK_IMPORTED_MODULE_22__.ErrorCatcher, {
    error: createError
  }));
};
CreateProjectDialog.propTypes = {
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().func),
  numberOfProjects: (prop_types__WEBPACK_IMPORTED_MODULE_10___default().number)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CreateProjectDialog);

/***/ },

/***/ "./modules/workbench/projects/dialogs/UpdateURI/UpdateURI.js"
/*!*******************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/UpdateURI/UpdateURI.js ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js");
/* harmony import */ var commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! commons/hooks/useEntityTitleAndURI */ "./modules/commons/hooks/useEntityTitleAndURI.js");
/* harmony import */ var commons_components_Alert__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/components/Alert */ "./modules/commons/components/Alert/index.js");
/* harmony import */ var commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/components/common/dialogs/ListActionDialog */ "./modules/commons/components/common/dialogs/ListActionDialog/index.js");
/* harmony import */ var _useProjectURIMigration__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useProjectURIMigration */ "./modules/workbench/projects/dialogs/UpdateURI/useProjectURIMigration.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");













const UpdateProjectURIDialog = _ref => {
  let {
    entry,
    closeDialog,
    nlsBundles,
    onChange
  } = _ref;
  const primaryEntityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getMainEntityType('workbench');
  const {
    uriPattern
  } = primaryEntityType;
  const t = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  const closeAndRefresh = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(() => {
    closeDialog();
    onChange();
  }, [closeDialog, onChange]);
  const {
    migrateToPattern
  } = (0,_useProjectURIMigration__WEBPACK_IMPORTED_MODULE_14__["default"])(entry, closeAndRefresh, nlsBundles);
  const {
    name,
    setName,
    isNameFree,
    handleNameChange
  } = (0,commons_hooks_useEntityTitleAndURI__WEBPACK_IMPORTED_MODULE_11__.useEntityURI)({
    uriPattern
  });
  const [contextName, setContextName] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('');
  const [pristine, setPristine] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true);

  // load the context entry to get the context name (stored in the entry info graph)
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    entry.refresh(true, true).then(() => {
      setContextName(entry.getEntryInfo().getName());
      setName(entry.getEntryInfo().getName());
    });
  }, [entry, setName]);
  const actions = /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], {
    disabled: !name || !isNameFree || pristine,
    onClick: () => migrateToPattern(name, uriPattern)
  }, t('editProjectNameButton'));
  return /*#__PURE__*/React.createElement(commons_components_common_dialogs_ListActionDialog__WEBPACK_IMPORTED_MODULE_13__["default"], {
    id: "update-project-uri",
    closeDialog: closeDialog,
    actions: actions,
    title: t('editProjectNameTitle')
  }, /*#__PURE__*/React.createElement(commons_components_Alert__WEBPACK_IMPORTED_MODULE_12__["default"], {
    severity: "warning"
  }, t('migrateURIsBody')), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    disabled: true,
    label: t('replaceEntityURLCurrentLinkLabel'),
    id: "project-edit-name-current-link",
    InputProps: {
      startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
        position: "start"
      }, (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.constructURIFromPattern)(uriPattern, {
        contextName
      }))
    }
  }), /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_9__["default"], {
    label: t('replaceEntityURLNewLinkLabel'),
    id: "project-edit-name-new-link",
    onChange: evt => {
      setPristine(false);
      handleNameChange(evt);
    },
    error: !pristine && (!name || !isNameFree),
    helperText: !pristine && (!name ? t('URLRequired') : !isNameFree && t('unavailableURLFeedback')),
    InputProps: {
      startAdornment: /*#__PURE__*/React.createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], {
        position: "start"
      }, (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.constructURIFromPattern)(uriPattern))
    }
  }));
};
UpdateProjectURIDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_3__.Entry),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType,
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UpdateProjectURIDialog);

/***/ },

/***/ "./modules/workbench/projects/dialogs/UpdateURI/WorkbenchProjectTypeChangeDialog.js"
/*!******************************************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/UpdateURI/WorkbenchProjectTypeChangeDialog.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_types_dialogs_ProjectTypeChangeDialog_ProjectTypeMigrationDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeMigrationDialog */ "./modules/commons/types/dialogs/ProjectTypeChangeDialog/ProjectTypeMigrationDialog.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! workbench/utils/entitytypes */ "./modules/workbench/utils/entitytypes.js");
/* harmony import */ var _useProjectURIMigration__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./useProjectURIMigration */ "./modules/workbench/projects/dialogs/UpdateURI/useProjectURIMigration.js");
/* provided dependency */ var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

const _excluded = ["entry", "context", "closeDialog", "onChange", "nlsBundles"];
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }








const WorkbenchProjectTypeChangeDialog = _ref => {
  let {
      entry,
      context,
      closeDialog,
      onChange,
      nlsBundles
    } = _ref,
    rest = _objectWithoutProperties(_ref, _excluded);
  const closeAndRefresh = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(() => {
    closeDialog();
    onChange === null || onChange === void 0 || onChange();
  }, [closeDialog, onChange]);
  const {
    migrateToPattern
  } = (0,_useProjectURIMigration__WEBPACK_IMPORTED_MODULE_8__["default"])(entry, closeAndRefresh, nlsBundles);
  const resolveUriPattern = projectType => {
    var _getMainEntityType;
    return (_getMainEntityType = (0,workbench_utils_entitytypes__WEBPACK_IMPORTED_MODULE_7__.getMainEntityType)(projectType === null || projectType === void 0 ? void 0 : projectType.getId())) === null || _getMainEntityType === void 0 ? void 0 : _getMainEntityType.uriPattern;
  };
  const readUriSpace = () => entry.getMetadata().findFirstValue(entry.getResourceURI(), 'void:uriSpace');
  return /*#__PURE__*/React.createElement(commons_types_dialogs_ProjectTypeChangeDialog_ProjectTypeMigrationDialog__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    entry: entry,
    context: context,
    closeDialog: closeDialog,
    onChange: onChange,
    nlsBundles: nlsBundles,
    resolveUriPattern: resolveUriPattern,
    readUriSpace: readUriSpace,
    removeUriSpace: () => (0,commons_util_store__WEBPACK_IMPORTED_MODULE_6__.removeUriSpace)(entry),
    onMigrate: migrateToPattern
  }, rest));
};
WorkbenchProjectTypeChangeDialog.propTypes = {
  entry: prop_types__WEBPACK_IMPORTED_MODULE_1___default().instanceOf(_entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_2__.Entry),
  context: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
  closeDialog: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  onChange: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
  nlsBundles: commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.nlsBundlesPropType
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (WorkbenchProjectTypeChangeDialog);

/***/ },

/***/ "./modules/workbench/projects/dialogs/UpdateURI/index.js"
/*!***************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/UpdateURI/index.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* reexport safe */ _UpdateURI__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _UpdateURI__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UpdateURI */ "./modules/workbench/projects/dialogs/UpdateURI/UpdateURI.js");


/***/ },

/***/ "./modules/workbench/projects/dialogs/UpdateURI/tasks.js"
/*!***************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/UpdateURI/tasks.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TASKS_UPDATE_PROJECT_URI: () => (/* binding */ TASKS_UPDATE_PROJECT_URI)
/* harmony export */ });
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");

const TASKS_UPDATE_PROJECT_URI = [{
  id: 'project',
  nlsKeyLabel: 'updateTask',
  status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_0__.STATUS_IDLE,
  message: ''
}];


/***/ },

/***/ "./modules/workbench/projects/dialogs/UpdateURI/useProjectURIMigration.js"
/*!********************************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/UpdateURI/useProjectURIMigration.js ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/hooks/useTasksList */ "./modules/commons/hooks/useTasksList.js");
/* harmony import */ var commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/hooks/useTranslation */ "./modules/commons/hooks/useTranslation/index.js");
/* harmony import */ var commons_hooks_useTaskProgressDialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/hooks/useTaskProgressDialog */ "./modules/commons/hooks/useTaskProgressDialog.js");
/* harmony import */ var _tasks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tasks */ "./modules/workbench/projects/dialogs/UpdateURI/tasks.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils */ "./modules/workbench/projects/dialogs/UpdateURI/utils.js");








const useProjectURIMigration = (entry, closeDialog, nlsBundles) => {
  const translate = (0,commons_hooks_useTranslation__WEBPACK_IMPORTED_MODULE_4__.useTranslation)(nlsBundles);
  const {
    updateTask,
    openProgressDialog
  } = (0,commons_hooks_useTaskProgressDialog__WEBPACK_IMPORTED_MODULE_5__["default"])(_tasks__WEBPACK_IMPORTED_MODULE_6__.TASKS_UPDATE_PROJECT_URI, {
    closeDialog,
    nlsBundles,
    titleKey: 'taskUpdateProjectURL'
  });
  const migrateToPattern = async (name, uriPattern) => {
    const context = await (0,_utils__WEBPACK_IMPORTED_MODULE_7__.updateContextName)(entry, name);
    await (0,_utils__WEBPACK_IMPORTED_MODULE_7__.updateURISpace)(entry, name, uriPattern);
    openProgressDialog();
    const items = await (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getItemsToUpdate)(context, name);
    const totalEntriesToChange = items === null || items === void 0 ? void 0 : items.length;
    if (totalEntriesToChange) {
      let fulfilledCount = 0;
      const promises = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.updateResourceURIs)(items);

      // For each of the update promises above, await and update progress dialog
      for (const entryUpdated of promises) {
        await entryUpdated;
        fulfilledCount += 1;
        updateTask('project', {
          message: translate('taskUpdateProjectLinks', {
            updatedEntriesCount: fulfilledCount,
            totalEntries: totalEntriesToChange
          }),
          status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_3__.STATUS_PROGRESS
        });
      }
    } else {
      updateTask('project', {
        message: translate('taskUpdateProjectNoEntriesToUpdate')
      });
    }
    updateTask('project', {
      status: commons_hooks_useTasksList__WEBPACK_IMPORTED_MODULE_3__.STATUS_DONE
    });
  };
  return {
    migrateToPattern
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useProjectURIMigration);

/***/ },

/***/ "./modules/workbench/projects/dialogs/UpdateURI/utils.js"
/*!***************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/UpdateURI/utils.js ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getItemsToUpdate: () => (/* binding */ getItemsToUpdate),
/* harmony export */   updateContextName: () => (/* binding */ updateContextName),
/* harmony export */   updateResourceURIs: () => (/* binding */ updateResourceURIs),
/* harmony export */   updateURISpace: () => (/* binding */ updateURISpace)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var commons_util_entry__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/entry */ "./modules/commons/util/entry.js");










/**
 * @typedef {object} URIUpdateItem
 * @property {Entry} entry - entry that needs to update resourceURI
 * @property {string} resourceURI - the current resourceURI.
 * @property {string} newResourceURI - the new resourceURI to change to.
 */

/**
 *
 * @param {Entry} contextEntry
 * @param {string} contextName
 * @returns {Promise<Context>}
 */
const updateContextName = async (contextEntry, contextName) => {
  const context = commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.getContextById(contextEntry.getId());
  await context.setName(contextName);
  return context;
};

/**
 * Update the void:uriSpace in metadata
 *
 * @param {Entry} contextEntry
 * @param {string} contextName
 * @param {string} uriPattern
 * @returns {Promise<Entry>}
 */
const updateURISpace = async (contextEntry, contextName, uriPattern) => {
  await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.refreshEntry)(contextEntry);
  const {
    resourceURI,
    metadata
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.spreadEntry)(contextEntry);
  const uriSpace = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.constructURIFromPattern)(uriPattern, {
    contextName
  });
  metadata.findAndRemove(resourceURI, 'void:uriSpace', null);
  metadata.add(resourceURI, 'void:uriSpace', uriSpace);
  return contextEntry.commitMetadata();
};

/**
 * Get all entries in context that needs to update the resource uri. Extract the
 * old and new resourceURI to help update in next step.
 *
 * @param {Context} context
 * @param {string} contextName
 * @returns {Promise<URIUpdateItem[]>}
 */
const getItemsToUpdate = async (context, contextName) => {
  const entries = await commons_store__WEBPACK_IMPORTED_MODULE_6__.entrystore.newSolrQuery().context(context).list().getAllEntries();
  const items = [];
  entries.forEach(entry => {
    const {
      metadata,
      resourceURI
    } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.spreadEntry)(entry);
    const rdfType = metadata.findFirstValue(null, 'rdf:type');
    const entityType = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_7__["default"].getEntityTypeByRdfType(rdfType, 'workbench');
    if (!(0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.shouldUseUriPattern)(entityType)) return;
    // Fall back to the entry id when the current URI predates the pattern (no pattern match).
    // Unlike Terms, we don't derive the name from the label, which may be missing.
    const entryName = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.getValueFromURIByPattern)(resourceURI, entityType.get('uriPattern'), 'entryName') || entry.getId();
    const newResourceURI = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.constructURIFromPattern)(entityType.get('uriPattern'), {
      contextName,
      entryName
    });
    if (!newResourceURI) return;
    items.push({
      entry,
      resourceURI,
      newResourceURI
    });
  });
  return items;
};

/**
 * Update the resource uri based on the pattern and new project name for all
 * entries in the project/context. Also update the metadata of any entry (in
 * context) that link to an entry for which the resource URI will change.
 *
 * @param {URIUpdateItem[]} items
 * @returns {Promise[]}
 */
const updateResourceURIs = items => {
  return items.map(async _ref => {
    let {
      entry,
      newResourceURI
    } = _ref;
    const {
      info: entryInfo
    } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_5__.spreadEntry)(entry);
    entryInfo.setResourceURI(newResourceURI);
    await entryInfo.commit();
    await (0,commons_util_entry__WEBPACK_IMPORTED_MODULE_8__.refreshEntry)(entry);

    // update uris for all references
    items.forEach(_ref2 => {
      let {
        resourceURI: linkedResourceURI,
        newResourceURI: newLinkedResourceURI
      } = _ref2;
      const metadata = entry.getMetadata();
      const [statement] = metadata.find(newResourceURI, null, linkedResourceURI);
      if (statement) {
        metadata.replaceURI(linkedResourceURI, newLinkedResourceURI);
      }
    });
    return entry.commitMetadata();
  });
};

/***/ },

/***/ "./modules/workbench/projects/dialogs/useProjectRestriction.js"
/*!*********************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/useProjectRestriction.js ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! config */ "./app/registry/config/config.js");
/* harmony import */ var commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/hooks/useUser */ "./modules/commons/hooks/useUser.js");
/* harmony import */ var commons_util_user__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/user */ "./modules/commons/util/user.js");



const useProjectRestriction = numberOfProjects => {
  const {
    userEntry
  } = (0,commons_hooks_useUser__WEBPACK_IMPORTED_MODULE_1__.useUserState)();
  const isExemptFromRestrictions = (0,commons_util_user__WEBPACK_IMPORTED_MODULE_2__.hasUserPermission)(userEntry, [commons_util_user__WEBPACK_IMPORTED_MODULE_2__.PREMIUM, commons_util_user__WEBPACK_IMPORTED_MODULE_2__.ADMIN_RIGHTS]);
  if (isExemptFromRestrictions) return {
    isRestricted: false
  };
  const projectLimit = config__WEBPACK_IMPORTED_MODULE_0__["default"].get('workbench.projectLimit');
  const pathToProjectLimitContent = config__WEBPACK_IMPORTED_MODULE_0__["default"].get('workbench.projectLimitDialog');
  const isRestricted = projectLimit && numberOfProjects >= projectLimit || projectLimit === 0;
  return {
    isRestricted,
    contentPath: pathToProjectLimitContent
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useProjectRestriction);

/***/ },

/***/ "./modules/workbench/utils/entitytypes.js"
/*!************************************************!*\
  !*** ./modules/workbench/utils/entitytypes.js ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntitytypeConfigError: () => (/* binding */ EntitytypeConfigError),
/* harmony export */   getEntityTypeViews: () => (/* binding */ getEntityTypeViews),
/* harmony export */   getEntityURIFromName: () => (/* binding */ getEntityURIFromName),
/* harmony export */   getEntitytypeCountQuery: () => (/* binding */ getEntitytypeCountQuery),
/* harmony export */   getMainEntityType: () => (/* binding */ getMainEntityType),
/* harmony export */   getPrimaryEntityTypes: () => (/* binding */ getPrimaryEntityTypes),
/* harmony export */   getSelectedEntityTypeURIs: () => (/* binding */ getSelectedEntityTypeURIs),
/* harmony export */   sortEntityTypes: () => (/* binding */ sortEntityTypes),
/* harmony export */   updateSelectedEntityTypes: () => (/* binding */ updateSelectedEntityTypes)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! commons/store */ "./modules/commons/store/index.js");
/* harmony import */ var commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! commons/types/Lookup */ "./modules/commons/types/Lookup.js");
/* harmony import */ var _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/es-utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js");
/* harmony import */ var commons_util_solr__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! commons/util/solr */ "./modules/commons/util/solr/index.js");
/* harmony import */ var commons_util_site__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! commons/util/site */ "./modules/commons/util/site.js");
/* harmony import */ var commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! commons/types/utils/entityType */ "./modules/commons/types/utils/entityType.js");















const RDF_ENTITYTYPE_PROPERTY = 'esterms:entityType';

/**
 * Moves "main" entity types to the front
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const sortByMain = entityTypes => {
  const entityConfigsByType = entityTypes.reduce((accumulator, entityType) => {
    if (entityType.get('main')) {
      accumulator.main.push(entityType);
    } else {
      accumulator.other.push(entityType);
    }
    return accumulator;
  }, {
    main: [],
    other: []
  });
  return [...entityConfigsByType.main, ...entityConfigsByType.other];
};

/**
 *
 * @param {Entry} entry
 * @param {string[]} entityTypeURIs
 * @param {string} projectTypeId
 * @returns {Promise}
 */
const updateSelectedEntityTypes = function updateSelectedEntityTypes(entry) {
  let entityTypeURIs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  let projectTypeId = arguments.length > 2 ? arguments[2] : undefined;
  const {
    resourceURI,
    info
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_8__.spreadEntry)(entry);
  const graph = info.getGraph();
  graph.findAndRemove(resourceURI, RDF_ENTITYTYPE_PROPERTY);
  graph.findAndRemove(resourceURI, _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_PROJECTTYPE);
  if (projectTypeId) {
    graph.add(resourceURI, _entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.RDF_PROPERTY_PROJECTTYPE, projectTypeId);
    return info.commit();
  }
  entityTypeURIs.forEach(entityTypeURIOrName => {
    if (entityTypeURIOrName.startsWith('http')) {
      graph.add(resourceURI, RDF_ENTITYTYPE_PROPERTY, entityTypeURIOrName);
    } else {
      graph.addL(resourceURI, RDF_ENTITYTYPE_PROPERTY, entityTypeURIOrName);
    }
  });
  return info.commit();
};

/**
 * Get an entity type URI from the name
 *
 * @param {string} entityTypeName
 * @returns {string}
 */
const getEntityURIFromName = entityTypeName => !entityTypeName.startsWith(commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getBaseURI()) ? commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getResourceURI('entitytypes', entityTypeName) : entityTypeName;

/**
 *
 * @param {Entry} entry
 * @returns {string[]|null}
 */
const getSelectedEntityTypeURIs = entry => {
  const {
    resourceURI,
    info
  } = (0,commons_util_store__WEBPACK_IMPORTED_MODULE_8__.spreadEntry)(entry);
  const graph = info.getGraph();
  const entityTypeStmts = graph.find(resourceURI, RDF_ENTITYTYPE_PROPERTY);
  return entityTypeStmts.length > 0 ? entityTypeStmts.map(stmt => stmt.getValue()) : null;
};

/**
 * Sorts entity types by label and optionally by main
 *
 * @param {EntityType[]} entityTypes
 * @param {boolean} mainFirst
 * @returns {EntityType[]}
 */
const sortEntityTypes = function sortEntityTypes(entityTypes) {
  let mainFirst = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  const sortedByLabel = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_14__.sortByLabel)(entityTypes);
  if (mainFirst) return sortByMain(sortedByLabel);
  return sortedByLabel;
};
class EntitytypeConfigError extends Error {
  constructor() {
    super('Config error, no types given for workbench.');
    // this.name = 'EntitytypeConfigError';
  }
}

/**
 * Gets counts for entity types
 *
 * @param {context} context
 * @param {EntityType} entityType
 * @returns {Promise<number[]>}
 */
const getEntitytypeCountQuery = (context, entityType) => {
  const searchList = (0,commons_util_solr__WEBPACK_IMPORTED_MODULE_12__.applyEntityTypeParams)(commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.newSolrQuery(), {}, entityType.get()).context(context).limit('1').list();
  return searchList.getEntries().then(() => {
    return searchList.getSize();
  });
};

/**
 * Maps entity types to view-definition-like objects
 *
 * @param {EntityType[]} entityTypes
 * @param {object} routeParams
 * @returns {object}
 */
const mapEntityTypesToViews = (entityTypes, routeParams) => {
  const {
    contextId,
    projectName
  } = routeParams;
  const viewName = 'workbench__entities__type';
  return entityTypes.map(entityType => ({
    name: viewName,
    title: entityType.get('label'),
    route: (0,commons_util_site__WEBPACK_IMPORTED_MODULE_13__.getPathFromViewName)(viewName, {
      contextId,
      entityName: entityType.get('name'),
      projectName
    }),
    count: entityType.get('count'),
    main: entityType.get('main')
  }));
};

/**
 * Gets the entity types that should be visible in secondary navigation,
 * filtering them using relations.
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const getSecondaryNavEntityTypes = entityTypes => {
  const compositionEntityTypes = (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.findCompositionEntityTypes)(entityTypes);
  const secondaryNavEntityTypes = entityTypes.filter(entityType => !compositionEntityTypes.some(compositionType => compositionType.get('name') === entityType.get('name')));
  return sortByMain(secondaryNavEntityTypes);
};

/**
 * @param {Context} context
 * @param {object} userInfo
 * @returns {Promise<EntityType[]>}
 */
const getPrimaryEntityTypes = async (context, userInfo) => {
  const projectType = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].getProjectTypeInUse(context);
  if (projectType) {
    const entityTypes = projectType.getPrimary().map(entityTypeId => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].get(entityTypeId));
    return entityTypes.filter(entityType => (0,_entryscape_es_utils__WEBPACK_IMPORTED_MODULE_11__.hasUserAccess)(userInfo, entityType.get('restrictTo')));
  }
  const entityTypes = await commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].getEntityTypesInContext(context, userInfo);
  const primaryEntityTypes = (0,commons_types_utils_entityType__WEBPACK_IMPORTED_MODULE_14__.excludeBuiltinEntityTypes)(entityTypes);
  return sortEntityTypes(primaryEntityTypes);
};

/**
 * Gets entitytypes and creates view-definition-like objects for each
 *
 * @param {string} route
 * @param {object} routeParams
 * @param {object} userInfo - enriched user info
 * @returns {Promise<object[]>}
 */
const getEntityTypeViews = async function getEntityTypeViews(route) {
  let routeParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  let userInfo = arguments.length > 2 ? arguments[2] : undefined;
  const {
    contextId
  } = routeParams;
  if (!contextId) return (0,commons_util_site__WEBPACK_IMPORTED_MODULE_13__.getSecondaryNavViews)(route);
  const nonEntityTypeViews = (0,commons_util_site__WEBPACK_IMPORTED_MODULE_13__.getSecondaryNavViews)(route);
  const context = commons_store__WEBPACK_IMPORTED_MODULE_9__.entrystore.getContextById(contextId);
  const primaryEntityTypes = await getPrimaryEntityTypes(context, userInfo);
  const secondaryNavEntityTypes = getSecondaryNavEntityTypes(primaryEntityTypes);
  return [...nonEntityTypeViews, ...mapEntityTypesToViews(secondaryNavEntityTypes, routeParams)];
};

/**
 * Find main entity type, limiting to project type if provided.
 *
 * @param {string} projectTypeId
 * @returns {EntityType|undefined}
 */
const getMainEntityType = projectTypeId => {
  if (projectTypeId) {
    const primaryEntityTypes = commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].getProjectType(projectTypeId).getPrimary().map(entityTypeId => commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].get(entityTypeId));
    return primaryEntityTypes.find(entityType => entityType.get('main'));
  }
  const moduleName = 'workbench';
  return commons_types_Lookup__WEBPACK_IMPORTED_MODULE_10__["default"].getEntityTypes().find(entityType => {
    const {
      module,
      main,
      global
    } = entityType.get();
    return (!module || module.includes(moduleName)) && main && global !== false; // TODO: add global check in es-utils
  });
};

/***/ },

/***/ "./modules/workbench/utils/index.js"
/*!******************************************!*\
  !*** ./modules/workbench/utils/index.js ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createProject: () => (/* binding */ createProject),
/* harmony export */   isProjectModule: () => (/* binding */ isProjectModule),
/* harmony export */   isSingleProject: () => (/* binding */ isSingleProject),
/* harmony export */   projectNameToId: () => (/* binding */ projectNameToId)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_util_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/util/context */ "./modules/commons/util/context.js");
/* harmony import */ var commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/util/moduleDefinitions */ "./modules/commons/util/moduleDefinitions.js");
/* harmony import */ var commons_util_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! commons/util/store */ "./modules/commons/util/store.js");
/* harmony import */ var commons_util_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! commons/util/util */ "./modules/commons/util/util.js");






/**
 *
 * Creates the necessary entries for a new project
 *  - STEP 1: create group and context
 *  - STEP 2: add additional metadata on the context entry
 *  - STEP 3: administrative step, set context type and ACL fix
 *
 */
const createProject = _ref => {
  let {
    title,
    description,
    name: alias,
    entityType,
    projectType,
    hasAdminRights
  } = _ref;
  return (0,commons_util_context__WEBPACK_IMPORTED_MODULE_1__.createContext)({
    title,
    description,
    alias: (0,commons_util_store__WEBPACK_IMPORTED_MODULE_3__.shouldUseUriPattern)(entityType) ? alias : null,
    entityType,
    projectType,
    contextType: 'esterms:WorkbenchContext',
    hasAdminRights
  });
};

/**
 * Check if it's a generic Workbench project.
 *
 * @param {string} projectName
 * @returns {boolean}
 */
const isProjectModule = projectName => {
  return projectName !== commons_util_moduleDefinitions__WEBPACK_IMPORTED_MODULE_2__.WORKBENCH_MODULE;
};
const getIsSingleProject = projectType => {
  return Boolean(projectType === null || projectType === void 0 ? void 0 : projectType.source.singleProject);
};

/**
 * Check if it's a generic Workbench project. If it's a project module, find the
 * project type id.
 *
 * @param {string} projectName
 * @returns {string|undefined}
 */
const projectNameToId = projectName => {
  if (!isProjectModule(projectName)) return;
  const projectType = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_4__.getProjectTypeByName)(projectName);
  return projectType === null || projectType === void 0 ? void 0 : projectType.getId();
};

/**
 * Finds matching project type and checks if it's a single project.
 *
 * @param {string} projectName
 * @returns {boolean}
 */
const isSingleProject = projectName => {
  if (!isProjectModule(projectName)) return false;
  const projectType = (0,commons_util_util__WEBPACK_IMPORTED_MODULE_4__.getProjectTypeByName)(projectName);
  return getIsSingleProject(projectType);
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/esi18n.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/esi18n.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.split.js");
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _pluralRules__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./pluralRules */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/pluralRules.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















/**
 *  Template function that support both $ and ${} as delimiters
 *
 * @param {string} nlsString
 * @param {Object} attrs
 *
 * @returns {string}
 */
const template = (nlsString, attrs) => {
  let replacedNlsString = nlsString;
  Object.entries(attrs).forEach(_ref => {
    let [key, value] = _ref;
    replacedNlsString = replacedNlsString.replace(new RegExp(`\\$(\\{${key}\\}|${key})`, 'g'), value);
  });
  return replacedNlsString;
};

/**
 * @param {(Object|string|number)} parameters
 *
 * @returns {Object}
 */
const normalizeParameters = parameters => {
  if (typeof parameters === 'string') {
    return {
      1: parameters
    };
  }
  if (parameters === parseInt(parameters, 10)) {
    return {
      1: parameters
    };
  }
  if (parameters.class) {
    parameters._class = parameters.class;
  }
  if ((0,lodash_es__WEBPACK_IMPORTED_MODULE_12__["default"])(parameters)) {
    const obj = {};
    for (let i = 0; i < parameters.length; i++) {
      obj[`${i}`] = parameters[i];
    }
    return obj;
  }
  if ((0,lodash_es__WEBPACK_IMPORTED_MODULE_13__["default"])(parameters)) {
    return parameters;
  }
  throw 'Parameters must be either an integer, an array or an object.';
};

/**
 * @param {string} str
 *
 * @returns {array}
 */
const splitLocalizedValue = str => {
  if (str == null) {
    console.warn('Invalid NLS String:', str);
    return str;
  }
  const cstr = str.replace(/\$(\d)/g, '\${$1}');
  let arr = cstr.split(/({{|}})/g);
  arr = arr.filter(item => item !== '{{' && item !== '}}');
  return arr.map((item, idx) => {
    if (idx % 2 === 1) {
      try {
        const obj = {};
        const plarr = item.split('|');
        const conf = plarr[0].split(':');
        obj.type = conf[0];
        if (conf.length === 2) {
          obj.variable = conf[1].replace(/\${(.*)}/, '$1');
        } else {
          obj.variable = '1';
        }
        plarr.shift();
        obj.forms = plarr;
        return obj;
      } catch (e) {
        throw `Syntax error in localization string: ${str}`;
      }
    } else {
      return item;
    }
  });
};
const joinLocalizedValue = (arr, language, parameters) => {
  const rule = _pluralRules__WEBPACK_IMPORTED_MODULE_14__["default"].findRule(language);
  const larr = arr.map(item => {
    if ((0,lodash_es__WEBPACK_IMPORTED_MODULE_13__["default"])(item)) {
      const pluralNumber = parseInt(parameters[item.variable], 10);
      return item.forms[rule(pluralNumber)];
    }
    return item;
  });
  return larr.join('');
};

/**
 * @param {Object} bundleFromLoader
 *
 * @returns {Object}
 */
const constructNLSHeirarchy = bundleFromLoader => {
  const rootLang = bundleFromLoader.filter(bundle => bundle.lang === 'root')[0];
  const nonRootLangs = bundleFromLoader.filter(bundle => bundle.lang !== 'root');

  // Dealing with our default language
  nonRootLangs.push({
    lang: 'en',
    nls: {}
  });
  nonRootLangs.push({
    lang: 'en-US',
    nls: {}
  });
  if (rootLang == null) {
    return null;
  }
  const componentNLSBundle = nonRootLangs.reduce((accum, nlsObject) => {
    accum[nlsObject.lang] = Object.create(rootLang.nls);
    // Assign the language-specific values to that object
    Object.assign(accum[nlsObject.lang], nlsObject.nls);
    return accum;
  }, {});
  return componentNLSBundle;
};

/**
 * @param {Object} bundle
 * @param {string} key
 *
 * @returns {string}
 */
const getNLSTemplate = (bundle, key) => bundle[key] ? bundle[key] : '';

/**
 *
 * @param {string} nlsTemplateString
 * @param {Object} attrs
 *
 * @returns {String}
 */
const renderNLSTemplate = (nlsTemplateString, attrs) => {
  if (!nlsTemplateString) {
    return nlsTemplateString;
  }
  const normalizedParameters = attrs == null ? {} : normalizeParameters(attrs);
  let nlsString = joinLocalizedValue(splitLocalizedValue(nlsTemplateString), moment__WEBPACK_IMPORTED_MODULE_11___default().locale(), normalizedParameters);
  try {
    // Clean any instances of "class" parameters since this is a JS keyword
    if (normalizedParameters.class != null) {
      nlsString = nlsString.split('${class}').join('${_class}');
    }
    return template(nlsString, normalizedParameters);
  } catch (e) {
    console.warn(`Could not replace all variables in string: ${nlsString}.`);
    return nlsString;
  }
};

// Use the browser's preferred language as the default
const isBrowser = typeof window !== 'undefined';
if (isBrowser) {
  moment__WEBPACK_IMPORTED_MODULE_11___default().locale(window.navigator.language);
} else {
  moment__WEBPACK_IMPORTED_MODULE_11___default().locale('en');
}
const esi18n = {
  /**
   *
   * @returns {string}
   */
  getLocale: () => moment__WEBPACK_IMPORTED_MODULE_11___default().locale(),
  setLocale(locale) {
    this.set(locale);
  },
  normalizeLocale(locale) {
    return locale ? locale.toLowerCase() : this.getCurrentLocale();
  },
  /**
   * @param {Object} bundleFromLoader
   * @param {string} language
   *
   * @returns {Object}
   */
  // getLocalization: (moduleName, bundleName, locale, onLoad) => { // OLD signature
  getLocalization(bundleFromLoader) {
    let language = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : moment__WEBPACK_IMPORTED_MODULE_11___default().locale();
    // Deal with any NLS overrides that were set
    if (this.overrides) {
      const bundleKey = bundleFromLoader[0].path;
      if (this.overrides[bundleKey]) {
        const bundleOverrides = this.overrides[bundleKey];
        const overridenBundle = bundleFromLoader.map(langBundle => {
          const overrides = bundleOverrides.filter(bundle => bundle.lang === langBundle.lang);
          if (overrides.length > 0) {
            const override = overrides[0]; // Grab the first, hopefully there aren't more. Ignore the others in that case.
            langBundle.nls = _objectSpread(_objectSpread({}, langBundle.nls), override.nls);
          }
          return langBundle;
        });
        return constructNLSHeirarchy(overridenBundle)[language];
      }
    }
    return constructNLSHeirarchy(bundleFromLoader)[language];
  },
  /**
   * @param {string} locale
   * @param {function} callback
   *
   * @returns {esi18n}
   */
  set(locale, onLocaleChange) {
    const oldlocale = this.getLocale();
    this.setCurrentDefaultLocale(locale);
    onLocaleChange && onLocaleChange();
    return this;
  },
  /**
   * Gets a date string and accepts options for formatting the date
   *
   * @param {Date|String} The date to be formatted
   * @param {object} options for how to format the date
   *
   * @returns {String}
   */
  getDate(date, formatOptions) {
    // choice of long, short, medium or full (plus any custom additions). Defaults to ‘short’
    // { selector: 'date', formatLength: 'medium' }
    // { selector: 'time', formatLength: 'short' }
    // { selector: 'date', datePattern: shortDateFormat }
    // { selector: 'time', formatLength: 'medium' }
    // { formatLength: 'full' }
    const parsedDate = moment__WEBPACK_IMPORTED_MODULE_11___default()(date);
    let format = 'lll';
    if (formatOptions) {
      if (formatOptions.datePattern) {
        format = formatOptions.datePattern;
      } else if (formatOptions.formatLength === 'full') {
        format = 'LLLL';
      } else {
        switch (formatOptions.selector) {
          case 'date':
            if (formatOptions.formatLength === 'short') {
              format = 'l';
            } else {
              format = 'LL';
            }
            break;
          case 'time':
            if (formatOptions.formatLength === 'short') {
              format = 'LT';
            } else if (formatOptions.formatLength === 'medium') {
              format = 'lll';
            }
            break;
          default:
            break;
        }
      }
    }
    return parsedDate.format(format);
  },
  /**
   * @param {string} locale
   *
   * @returns {string}
   */
  setCurrentDefaultLocale: locale => moment__WEBPACK_IMPORTED_MODULE_11___default().locale(locale.toLowerCase()),
  // TODO @scazan Add this in based on defaults.js in commons
  setOverrides(overrides) {
    this.overrides = overrides;
  },
  renderNLSTemplate,
  /**
   * @param {Object} bundleFromLoader
   * @param {string} key
   * @param {Object} attrs
   *
   * @returns {undefined}
   */
  localize(bundleFromLoader, key, attrs) {
    const nlsString = renderNLSTemplate(getNLSTemplate(this.getLocalization(bundleFromLoader), key), attrs);
    return nlsString;
  }
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (esi18n);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/index.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   i18n: () => (/* reexport safe */ _esi18n__WEBPACK_IMPORTED_MODULE_0__["default"])
/* harmony export */ });
/* harmony import */ var _esi18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./esi18n */ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/esi18n.js");


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/pluralRules.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+esi18n@1.9.1/node_modules/@entryscape/esi18n/src/pluralRules.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);

/* global define,__confolio */

const rules = [{
  langs: 'af asa ast az bem bez bg brx cgg chr ckb dv ee el eo es eu fo fur fy gsw ha haw hu jgo jmc ka kaj kcg kk kkj kl ks ksb ku ky lb lg mas mgo ml mn nah nb nd ne nn nnh no nr ny nyn om or os pap ps rm rof rwk saq seh sn so sq ss ssy st syr ta te teo tig tk tn tr ts uz ve vo vun wae xh xog',
  rule: n => n === 1 ? 0 : 1
}, {
  langs: 'bm bo dz id ig ii in ja jbo jv jw kde kea km ko lkt lo ms my nqo root sah ses sg th to vi wo yo zh',
  rule: () => 0
}, {
  langs: 'ak bh guw ln mg nso pa ti wa',
  rule: n => n === 0 || n === 1 ? 0 : 1
}, {
  // Same as above, but treated separately for some reason, investigate.
  langs: 'ff fr hy kab',
  rule: n => n === 0 || n === 1 ? 0 : 1
}, {
  // Same as above, but treated separately for some reason, investigate.
  langs: 'am bn fa gu hi kn mr zu',
  rule: n => n === 0 || n === 1 ? 0 : 1
}, {
  langs: 'iu kw naq se sma smi smj smn sms',
  rule: n => n === 1 ? 0 : n === 2 ? 1 : 2
}, {
  langs: 'ca de en et fi gl it ji nl sv sw ur yi',
  rule: n => n === 1 ? 0 : 1
}];
const obj = {};
rules.forEach(rule => {
  rule.langs.split(' ').forEach(lang => {
    obj[lang] = rule.rule;
  });
});
obj.findRule = lang => {
  if (lang != null && lang !== '' && lang !== 'root') {
    if (obj.hasOwnProperty(lang)) {
      return obj[lang];
    }
    const baselang = lang.split('_')[0].split('-')[0];
    if (obj.hasOwnProperty(baselang)) {
      return obj[baselang];
    }
  }
  // Fallback to english
  return obj.en;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (obj);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js"
/*!**********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js ***!
  \**********************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ItemStore: () => (/* reexport safe */ _src_template_ItemStore__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */   bundleLoader: () => (/* reexport safe */ _src_template_bundleLoader__WEBPACK_IMPORTED_MODULE_3__["default"]),
/* harmony export */   engine: () => (/* reexport safe */ _src_model_engine__WEBPACK_IMPORTED_MODULE_6__["default"]),
/* harmony export */   renderingContext: () => (/* reexport safe */ _src_view_renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   system: () => (/* reexport safe */ _src_model_system__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   utils: () => (/* reexport safe */ _src_utils__WEBPACK_IMPORTED_MODULE_4__["default"]),
/* harmony export */   validate: () => (/* reexport safe */ _src_model_validate__WEBPACK_IMPORTED_MODULE_7__["default"])
/* harmony export */ });
/* harmony import */ var whatwg_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! whatwg-fetch */ "./node_modules/.pnpm/whatwg-fetch@3.6.20/node_modules/whatwg-fetch/fetch.js");
/* harmony import */ var _src_view_renderingContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/view/renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _src_template_ItemStore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/template/ItemStore */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/ItemStore.js");
/* harmony import */ var _src_template_bundleLoader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/template/bundleLoader */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/bundleLoader.js");
/* harmony import */ var _src_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _src_model_system__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./src/model/system */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js");
/* harmony import */ var _src_model_engine__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./src/model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");
/* harmony import */ var _src_model_validate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./src/model/validate */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/validate.js");









/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/renderers/react.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Editor: () => (/* reexport safe */ _src_view_react_Wrappers__WEBPACK_IMPORTED_MODULE_2__.Editor),
/* harmony export */   ItemStore: () => (/* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_3__.ItemStore),
/* harmony export */   Presenter: () => (/* reexport safe */ _src_view_react_Wrappers__WEBPACK_IMPORTED_MODULE_2__.Presenter),
/* harmony export */   ValidationPresenter: () => (/* reexport safe */ _src_view_react_Wrappers__WEBPACK_IMPORTED_MODULE_2__.ValidationPresenter),
/* harmony export */   bundleLoader: () => (/* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_3__.bundleLoader),
/* harmony export */   engine: () => (/* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_3__.engine),
/* harmony export */   renderingContext: () => (/* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_3__.renderingContext),
/* harmony export */   system: () => (/* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_3__.system),
/* harmony export */   utils: () => (/* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_3__.utils),
/* harmony export */   validate: () => (/* reexport safe */ _main__WEBPACK_IMPORTED_MODULE_3__.validate)
/* harmony export */ });
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime/runtime */ "./node_modules/.pnpm/regenerator-runtime@0.13.11/node_modules/regenerator-runtime/runtime.js");
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _src_view_react_all__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../src/view/react/all */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/all.js");
/* harmony import */ var _src_view_react_Wrappers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/view/react/Wrappers */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/Wrappers.js");
/* harmony import */ var _main__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../main */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/main.js");





/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/Binding.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/Binding.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Binding)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");




/* eslint-disable class-methods-use-this */

let counter = 0;

/**
 * A binding is a pairing between an item and various RDF statement
 * (a single statement unless the binding is a group with constraints).
 * It keeps track of cardinality and validity.
 * If a binding is valid and all parent bindings are valid,
 * the statement is asserted, that is, inserted into the RDF graph.
 */
class Binding {
  /**
   * @exports {Binding}
   * @class
   */
  constructor(_ref) {
    let {
      item,
      statement,
      graph,
      matchingCode
    } = _ref;
    this._item = item;
    this._statement = statement;
    this._graph = graph;
    this._ancestorValid = true;
    this._cardinalityTracker = null;
    this._hash = `b_${counter}`;
    this._matchingCode = matchingCode || 'correct';
    counter += 1;
  }

  // ===================================================
  // Public API
  // ===================================================
  getGraph() {
    if (!this._graph) {
      if (this._statement) {
        this._graph = this._statement.getGraph();
      } else if (this._parent) {
        this._graph = this._parent.getGraph();
      }
    }
    return this._graph;
  }
  isReadOnly() {
    if (!('_readOnly' in this)) {
      const parent = this.getParent();
      if (parent && parent._readOnly) {
        this._readyOnly = true;
      } else {
        this._readOnly = !!(this._statement && this._statement.getNamedGraph());
      }
    }
    return this._readOnly;
  }
  remove() {}
  setSubject(uri) {}
  getValue() {}
  setValue(value, silent) {}
  getGist() {
    return _utils__WEBPACK_IMPORTED_MODULE_4__["default"].extractGist(this.getValue(), this.getItem().getValueTemplate());
  }
  setGist(value, silent) {
    let _value = value;
    let vt = this.getItem().getValueTemplate();
    if (vt && _value.length > 0) {
      if (vt.indexOf('$1') === -1) {
        vt += '$1';
      }
      _value = vt.replace('$1', _value);
    }
    this.setValue(_value, silent);
  }
  getCardinalityTracker() {
    return this._cardinalityTracker;
  }
  setCardinalityTracker(cardTracker) {
    this._cardinalityTracker = cardTracker;
  }
  getItem() {
    return this._item;
  }
  getStatement() {
    return this._statement;
  }
  getParent() {
    return this._parent;
  }
  setParent(parent) {
    this._parent = parent;
  }

  /**
   * A binding is valid if:
   * <ol><li> it is a leaf and the corresponding statement is valid, </li>
   * <li>if it is a group and at least one of its children is valid, or</li>
   * <li>if it is a predicategroup and both the predicate and the object binding are valid.</ol>
   */
  isValid() {}
  getMatchingCode() {
    return this._matchingCode;
  }
  setMatchingCode(matchingCode) {
    this._matchingCode = matchingCode;
  }

  /**
   * stores the validity of ancestors.
   */
  setAncestorValid(valid) {
    this._ancestorValid = valid;
    this.updateAssertions();
  }

  /**
   *
   */
  updateAssertions() {}
  getHash() {
    return this._hash;
  }
  addListener(listener) {
    if (!this._listeners) {
      this._listeners = [];
    }
    this._listeners.push(listener);
  }
  removeListener(listener) {
    if (this._listeners) {
      const idx = this._listeners.indexOf(listener);
      if (idx !== -1) {
        this._listeners.splice(idx, 1);
      }
    }
  }
  bindingChange(binding) {
    if (this._listeners) {
      for (let i = 0; i < this._listeners.length; i++) {
        this._listeners[i](binding);
      }
    }
    if (this._parent) {
      this._parent.bindingChange(binding);
    }
    if (this._cardinalityTracker) {
      this._cardinalityTracker.touch();
    }
  }

  // ===================================================
  // Private methods
  // ===================================================
  _isValidObjectValue(value) {
    let _value = value;
    if (typeof _value !== 'string' && _value !== null) {
      throw new Error('In a binding every object value need to be a string!');
    }
    const pattern = this._item.getPattern();
    if (pattern) {
      _value = _utils__WEBPACK_IMPORTED_MODULE_4__["default"].extractGist(_value, this.getItem().getValueTemplate());
      return _value !== undefined && _value !== null && _value !== '' && new RegExp(`^${pattern}$`).test(_value);
    }
    return _value !== undefined && _value !== null && _value !== '';
  }
  _isValidPredicateValue(value) {
    if (typeof value !== 'string' && value !== null) {
      throw new Error('In a binding every predicate need to be a string!');
    }
    return value !== undefined && value !== null && value !== '';
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  UNKNOWN: 'unknown',
  // Used as a marker initially, to not mark everything red initially
  OK: 'correct',
  TOO_FEW_VALUES: 'few',
  // deprecated
  TOO_FEW_VALUES_MIN: 'min',
  TOO_FEW_VALUES_PREF: 'pref',
  TOO_MANY_VALUES: 'many',
  AT_MOST_ONE_CHILD: 'atmostonechild',
  AT_LEAST_ONE_CHILD: 'atleastonechild',
  EXACTLY_ONE_CHILD: 'exactlyonechild',
  WRONG_VALUE: 'value',
  WRONG_PATTERN: 'pattern',
  WRONG_NODETYPE: 'nodetype',
  WRONG_DATATYPE: 'datatype',
  MISSING_LANGUAGE: 'language',
  MISSING_CONSTRAINTS: 'constraints'
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CardinalityTracker.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CardinalityTracker.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ CardinalityTracker)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _CODES__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");


class CardinalityTracker {
  /**
   * A counter paired with a item with cardinality restrictions.
   * To update the counter use the increment and decrement methods.
   * If the counter passes a cardinality restriction the
   * corresponding hook is called, that is, maxReached, minReached,
   * and justFine when the counter moved within the acceptable
   * cardinality restrictions.
   */
  constructor(item) {
    this._listener = [];
    this._limits = item.getCardinality() || {};
    this._counter = 0;
    this._depsOk = true;
    this._listeners = [];
    this._code = 0;
  }
  addListener(listener) {
    this._listeners.push(listener);
    return listener;
  }
  removeListener(listener) {
    this._listeners.splice(this._listeners.indexOf(listener), 1);
  }
  cardinalityChanged() {
    this._listeners.forEach(listener => listener());
  }

  // ===================================================
  // Public API
  // ===================================================
  getCardinality() {
    return this._counter;
  }
  isMax() {
    return this._limits.max != null && this._counter >= this._limits.max;
  }
  isMin() {
    return this._limits.min != null && this._counter <= this._limits.min;
  }
  isFine() {
    return this._fine;
  }
  isDepsOk() {
    return this._depsOk;
  }
  getCode() {
    return this._code;
  }
  setCode(code) {
    if (this._code !== code) {
      this._code = code;
      this.cardinalityChanged();
    }
  }
  setDepsOk(ok) {
    if (this._depsOk !== ok) {
      this._code = _CODES__WEBPACK_IMPORTED_MODULE_1__["default"].UNKNOWN;
      this._depsOk = ok;
      this.cardinalityChanged();
    }
  }
  increment() {
    this._counter += 1;
    this._code = _CODES__WEBPACK_IMPORTED_MODULE_1__["default"].UNKNOWN;
    this._checkCounter();
  }
  decrement() {
    this._counter -= 1;
    this._code = _CODES__WEBPACK_IMPORTED_MODULE_1__["default"].UNKNOWN;
    this._checkCounter();
  }
  getCounter() {
    return this._counter;
  }
  checkCardinality() {
    this._checkCounter();
  }
  touch() {
    this._code = _CODES__WEBPACK_IMPORTED_MODULE_1__["default"].UNKNOWN;
    this.cardinalityChanged();
  }

  // ===================================================
  // Private methods
  // ===================================================
  _checkCounter() {
    if (this._limits.max != null && this._counter === this._limits.max) {
      this._fine = true;
    } else if (this._limits.max != null && this._counter > this._limits.max) {
      this._fine = false;
    } else if (this._limits.min != null && this._counter === this._limits.min) {
      this._fine = true;
    } else if (this._limits.min != null && this._counter < this._limits.min) {
      this._fine = false;
    }
    this.cardinalityChanged();
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ChoiceBinding.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ChoiceBinding.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ChoiceBinding)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _ValueBinding__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ValueBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ValueBinding.js");
/* harmony import */ var _CODES__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");



const label = 'http://www.w3.org/2000/01/rdf-schema#label';
const seeAlso = 'http://www.w3.org/2000/01/rdf-schema#seeAlso';

/**
 * A ValueBinding that only accepts uris from a controlled vocabulary encoded as choices.
 * @see rforms.template.Choice#getChoices
 */
class ChoiceBinding extends _ValueBinding__WEBPACK_IMPORTED_MODULE_1__["default"] {
  constructor(_ref) {
    let {
      choice,
      item,
      statement,
      matchingCode
    } = _ref;
    super({
      choice,
      item,
      statement,
      matchingCode
    });
    this._choice = choice;
    this._validPredicate = item.getProperty() != null;
  }

  // Static property on class ChoiceBinding via static getter,
  static get seeAlso() {
    return seeAlso;
  }
  setChoice(choice, silent) {
    this._choice = choice;
    if (choice == null) {
      this.setValue(null, null, silent);
    } else if (this.getValue() !== choice.value) {
      this.setValue(choice.value, choice, silent);
    }
    if (choice && choice.mismatch) {
      this.setMatchingCode(_CODES__WEBPACK_IMPORTED_MODULE_2__["default"].WRONG_VALUE);
    } else if ((!choice || !choice.mismatch) && this.getMatchingCode() === _CODES__WEBPACK_IMPORTED_MODULE_2__["default"].WRONG_VALUE) {
      this.setMatchingCode(_CODES__WEBPACK_IMPORTED_MODULE_2__["default"].OK);
    }
  }
  getChoice() {
    return this._choice;
  }
  setValue(value, choice, silent) {
    const oldval = this.getValue();
    super.setValue(value, choice, silent);
    const graph = this._statement.getGraph();
    graph.findAndRemove(oldval, label, undefined, silent);
    graph.findAndRemove(oldval, seeAlso, undefined, silent);
    if (value != null && choice != null) {
      if (choice.seeAlso && choice.inlineSeeAlso) {
        graph.create(value, seeAlso, choice.seeAlso, true, silent);
      }
      if (choice.inlineLabel === true) {
        const labelMap = choice.label || {};
        Object.keys(labelMap).forEach(lang => graph.create(value, label, {
          value: labelMap[lang],
          lang,
          type: 'literal'
        }, true, silent));
      }
    }
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupBinding.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupBinding.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ GroupBinding)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _Binding__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Binding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/Binding.js");
/* harmony import */ var _CardinalityTracker__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CardinalityTracker */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CardinalityTracker.js");





class GroupBinding extends _Binding__WEBPACK_IMPORTED_MODULE_3__["default"] {
  /**
   * Corresponds to a binding for a Group item type.
   * Handles sub-bindings grouped by item.
   * Validity of a group is determined by at least one of the sub-bindings being valid.
   * All sub-bindings must notify when their validity changed so that the validity of
   * the parent group can be checked and possibly updated.
   * Potential statement and constraints are asserted when both parents are valid and this GroupBinding is valid.
   *
   * @see template/Group
   */
  constructor(params) {
    super(params);
    const {
      constraints = [],
      childrenRootUri = null
    } = params;
    this._constraints = constraints;
    // Generates an array of arrays, one array for each child item.

    this._childBindings = this._item.getChildren().map(() => []);
    this._rootUri = childrenRootUri;
    this._validPredicate = true;
    this._validObject = true;
    if (this._statement) {
      this._validPredicate = this._isValidPredicateValue(this._statement.getPredicate());
      this._validObject = this._isValidObjectValue(this._statement.getValue(), this._statement.getType());
    }
    this._cachedChildBindings = null;
  }

  // ===================================================
  // Public API
  // ===================================================

  getValue() {
    return this.getChildrenRootUri();
  }
  oneChildValidityChanged(valid) {
    if (valid === this._oneValidChild) {
      return false; // No change
    }
    if (!valid) {
      // Since we do not keep track of which children have valid values,
      // we need to iterate through all children to check if some other child has a valid value
      // (and check if valid predicate) if so, abort change.
      delete this._oneValidChild;
      if (this.isValid()) {
        return false; // No change
      }
    }

    // Below we change the valid state of this group.
    this._oneValidChild = valid;
    // If there is no parent or it's valid state did not change,
    // then the groups assertions has not been changed and the children
    // have not been notified of this group change in validity.
    this._notifyValidityChange(valid && this._validPredicate && this._validObject);
    return this._validPredicate && this._validObject; // Validity of group changed only if valid predicate and object.
  }
  setSubject(uri) {
    if (this._statement) {
      this._statement.setSubject(uri);
    } else {
      this.getChildBindings().forEach(cb => cb.setSubject(uri));
    }
  }
  getChildrenRootUri() {
    if (this._statement) {
      // Either the object of the statement.
      return this._statement.getValue();
    } else if (this._rootUri != null) {
      return this._rootUri;
    } else if (this._parent != null) {
      return this._parent.getChildrenRootUri();
    }
    return undefined;
  }
  addChildBinding(binding) {
    this.addChildBindings([binding]);
  }
  addChildBindings(bindings) {
    this._cachedChildBindings = null;
    if (!Array.isArray(bindings) || bindings.length === 0) {
      return;
    }
    const item = bindings[0].getItem();
    const children = this._item.getChildren();
    for (let i = children.length; i >= 0; i--) {
      if (item === children[i]) {
        const cardTracker = this._childBindings[i].length > 0 ? this._childBindings[i][0].getCardinalityTracker() : new _CardinalityTracker__WEBPACK_IMPORTED_MODULE_4__["default"](item);
        this._childBindings[i] = this._childBindings[i].concat(bindings);
        bindings.forEach(binding => {
          binding.setParent(this);
          binding.setCardinalityTracker(cardTracker);
          cardTracker.increment();
        }, this);
        break;
      }
    }
  }
  removeChildBinding(binding) {
    this._cachedChildBindings = null;
    const children = this._item.getChildren();
    for (let i = children.length; i >= 0; i--) {
      if (binding.getItem() === children[i]) {
        this._childBindings[i].splice(this._childBindings[i].indexOf(binding), 1);
        delete binding._parent;
        binding.getCardinalityTracker().decrement();
        break;
      }
    }
    this.oneChildValidityChanged();
    this.bindingChange(binding);
  }
  getChildBindingsFor(item) {
    const children = this._item.getChildren();
    for (let i = children.length; i >= 0; i--) {
      if (item === children[i]) {
        return this._childBindings[i];
      }
    }
    return undefined;
  }
  getItemGroupedChildBindings() {
    return this._childBindings;
  }
  getChildBindings() {
    if (this._cachedChildBindings == null) {
      if (this._childBindings && this._childBindings.length > 0) {
        this._cachedChildBindings = [].concat(...this._childBindings);
      } else {
        this._cachedChildBindings = [];
      }
    }
    return this._cachedChildBindings;
  }
  setPredicate(predicate) {
    const oValidPredicate = this._validPredicate;
    if (this._isValidPredicateValue(predicate)) {
      this._statement.setPredicate(predicate);
      this._validPredicate = true;
      if (oValidPredicate !== true && this._validObject && (this.getItem().getNodetype() === 'URI' ? true : this._oneValidChild)) {
        this._notifyValidityChange(true);
      }
    } else {
      // Note that we actually do not set the invalid value, just unassert the statement.
      this._validPredicate = false;
      if (oValidPredicate !== false && this._validObject && (this.getItem().getNodetype() === 'URI' ? true : this._oneValidChild)) {
        this._notifyValidityChange(false);
      }
    }
    this.updateAssertions();
  }

  // eslint-disable-next-line no-dupe-class-members
  getValue() {
    if (this._statement && this._statement.isObjectBlank()) {
      return '';
    }
    return this._statement && this._statement.getValue();
  }
  setValue(value) {
    if (this.getItem().getNodetype() !== 'URI' || !this._statement) {
      throw new Error('Cannot change the value of a group unless its nodetype is URI and' + ' also that it corresponds to a statement');
    }
    const oldIsValidObject = this._validObject;
    const isValidObject = this._isValidObjectValue(value, 'uri');
    if (isValidObject) {
      this._validObject = true;
      this._statement._o.type = 'uri';
      this._statement.setValue(value);
      this._constraints.forEach(stmt => stmt.setSubject(value));
      this.getChildBindings().forEach(cb => cb.setSubject(value));
      if (!oldIsValidObject && this._validPredicate) {
        this._notifyValidityChange(true);
      }
    } else {
      this._validObject = false;
      if (oldIsValidObject && this._validPredicate) {
        this._notifyValidityChange(false);
      }
    }
  }
  getPredicate() {
    return this._statement ? this._statement.getPredicate() : undefined;
  }
  remove() {
    this._oneValidChild = false;
    this.setAncestorValid(false);
    if (this._parent != null) {
      this._parent.removeChildBinding(this);
    }
    super.remove(arguments);
  }
  _isValid() {
    if (this.getItem().getNodetype() === 'URI') {
      return this._validObject && this._validPredicate;
    }
    return this._oneValidChild && this._validPredicate && this._validObject;
  }
  isValid() {
    if (this._oneValidChild == null) {
      this._oneValidChild = this._forceOneValidChildCheck();
    }
    return this._isValid();
  }
  setAncestorValid(valid) {
    this._ancestorValid = valid;
    this.updateAssertions();
    this._childBindings.forEach(bindingArr => bindingArr.forEach(binding => binding.setAncestorValid(valid && this._isValid()), this), this);
  }
  updateAssertions() {
    if (this._oneValidChild == null) {
      this.isValid();
    }
    const assert = this._ancestorValid && this._isValid();
    if (this._statement != null) {
      this._statement.setAsserted(assert);
    }
    this._constraints.forEach(constraintStmt => constraintStmt.setAsserted(assert));
    this.getChildBindings().forEach(binding => binding.updateAssertions());
  }

  // ===================================================
  // Private methods
  // ===================================================
  _forceOneValidChildCheck() {
    return this._childBindings.some(arr => arr.some(binding => binding.isValid()));
  }
  _notifyValidityChange(newValidity) {
    if (!this._parent || !this._parent.oneChildValidityChanged(newValidity)) {
      // We can reuse the setAncestorValid method by setting the current value.
      this.updateAssertions();
      this._childBindings.forEach(bindingArr => bindingArr.forEach(binding => binding.setAncestorValid(newValidity)));
    }
  }
  _isValidObjectValue(value, type) {
    if (this.getItem().getNodetype() === 'URI' && type !== 'uri') {
      return false;
    }
    return super._isValidObjectValue(value);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupURIBinding.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupURIBinding.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ GroupURIBinding)
/* harmony export */ });
/* harmony import */ var _ValueBinding__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ValueBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ValueBinding.js");


/**
 * A binding corresponding to a text item with no property, allowing editing the
 * object in the statement of the group above.
 * The purpose it to allow editing URIs inside of a hierarchy, e.g. consider the following graph:
 *
 * http://example.com rdfs:seeAlso http://slashdot.org .
 * http://slashdot.org rdfs:label "Slashdot" .
 *
 * Allowing to edit both the URI (slashdot above) and it's label requires a construction like the following:
 *
 *  - GroupItem with property rdfs:seeAlso   (GroupBinding)
 *     - TextItem without property           (GroupURIBinding)
 *     - TextItem with property rdfs:label   (ValueBinding)
 *
 * @exports {rdforms/model/GroupURIBinding}
 * @class
 * @see rdforms/template/Text
 */
class GroupURIBinding extends _ValueBinding__WEBPACK_IMPORTED_MODULE_0__["default"] {
  /**
   * @return {String} corresponding to the value, even if the nodetype is URI
   * or datatype says for example date.
   */
  getValue() {
    return this._parent.getValue();
  }
  setValue(value) {
    return this._parent.setValue(value);
  }
  getGist() {
    return this._parent.getGist();
  }
  setGist(value, silent) {
    return this._parent.setGist(value, silent);
  }
  setSubject(uri) {}

  /**
   * @return {String} corresponding to a uri.
   */
  getPredicate() {
    return this._parent.getPredicate();
  }
  remove() {
    this._parent.removeChildBinding(this);
    super.remove(arguments);
  }
  updateAssertions() {}
  isValid() {
    return true;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/PropertyChoiceBinding.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/PropertyChoiceBinding.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ PropertyChoiceBinding)
/* harmony export */ });
/* harmony import */ var _ChoiceBinding__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChoiceBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ChoiceBinding.js");
/* eslint-disable class-methods-use-this */

class PropertyChoiceBinding extends _ChoiceBinding__WEBPACK_IMPORTED_MODULE_0__["default"] {
  /**
   * Are only used as the first child of a PropertyGroupBinding to capture
   * a variable predicate.
   */
  constructor(params) {
    super(params);
    this._objectBinding = params.objectBinding;
  }

  /**
   * Remove shold not be doubled, hence it is handled by the objectBinding
   * delegated from the parent PropertyGroupBinding.
   */
  remove() {}

  /**
   * The object binding handles the RDF statement, hence go through it to set
   * the predicate, note not the setValue function because that sets the object
   * rather than the predicate.
   * @param {Object} value
   */
  setValue(value) {
    this._objectBinding.setPredicate(value);
  }
  getValue() {
    return this._objectBinding.getPredicate();
  }

  /**
   * Validity is controlled via the objectBinding, when it is valid the
   * parent PropertyGroupBinding will be valid since only one child is
   * enough to enable validity. Hence, this PropertyChoiceBinding can
   * be false all the time since it has no children and does not affect
   * the above hierarchy (and does not control assertment of statements).
   */
  isValid() {
    return false;
  }

  /**
   * Does nothing, similar reason as for isValid.
   */
  updateAssertions() {}
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/PropertyGroupBinding.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/PropertyGroupBinding.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ PropertyGroupBinding)
/* harmony export */ });
/* harmony import */ var _ValueBinding__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ValueBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ValueBinding.js");
/* harmony import */ var _template_Group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../template/Group */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Group.js");
/* harmony import */ var _template_Choice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../template/Choice */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Choice.js");
/* harmony import */ var _ChoiceBinding__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ChoiceBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ChoiceBinding.js");
/* harmony import */ var _GroupBinding__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./GroupBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupBinding.js");
/* harmony import */ var _PropertyChoiceBinding__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./PropertyChoiceBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/PropertyChoiceBinding.js");






class PropertyGroupBinding extends _GroupBinding__WEBPACK_IMPORTED_MODULE_4__["default"] {
  /**
   * This is a syntactical grouping to capture the case when both the predicate and
   * the object is variable. It is achieved by having exactly two children, the first being
   * a binding for the predicate in the form of a PredicateChoiceBinding and the second
   * being a binding for the object. The object binding can be a ValueBinding, ChoiceBinding or
   * a GroupBinding. It is not allowed to be another PropertyGroupBinding though.
   *
   * @see rforms.template.PropertyGroup
   */
  constructor(params) {
    super(params);
    const {
      statement,
      constraints
    } = params;
    this._statement = undefined;
    this._validPredicate = true; // Reset to initial value to ignore check from incorrect given statement in this case.
    this._constraints = [];
    const children = this._item.getChildren();
    const item = children[1];
    let oBinding;
    if (item instanceof _template_Group__WEBPACK_IMPORTED_MODULE_1__["default"]) {
      oBinding = new _GroupBinding__WEBPACK_IMPORTED_MODULE_4__["default"]({
        item,
        statement,
        constraints
      });
    } else if (item instanceof _template_Choice__WEBPACK_IMPORTED_MODULE_2__["default"]) {
      oBinding = new _ChoiceBinding__WEBPACK_IMPORTED_MODULE_3__["default"]({
        item,
        statement
      });
    } else {
      oBinding = new _ValueBinding__WEBPACK_IMPORTED_MODULE_0__["default"]({
        item,
        statement
      });
    }
    const pBinding = new _PropertyChoiceBinding__WEBPACK_IMPORTED_MODULE_5__["default"]({
      item: children[0],
      objectBinding: oBinding
    });
    this.addChildBinding(pBinding);
    this.addChildBinding(oBinding);
  }

  // ===================================================
  // Public API
  // ===================================================
  getPredicateBinding() {
    return this._childBindings[0][0];
  }
  getObjectBinding() {
    return this._childBindings[1][0];
  }
  getGraph() {
    return this.getObjectBinding().getGraph();
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ValueBinding.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ValueBinding.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ValueBinding)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _Binding__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Binding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/Binding.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");




class ValueBinding extends _Binding__WEBPACK_IMPORTED_MODULE_2__["default"] {
  /**
   * Corresponds to a binding for a Text item type, captures literals, literals with
   * language, datatyped literals, or non blank resources, that is, URI's.
   * Validity is determined by a valid predicate and object.
   * The statement is asserted when the parents are valid and this ValueBinding is valid.
   * @exports {rdforms/model/ValueBinding}
   * @class
   * @see rforms/template/Text
   */
  constructor(params) {
    super(params);
    this._validObject = true;
    this._validPredicate = true;
    this._excludeFromTreeValidityCheck = false;
    if (this._statement) {
      this._validPredicate = this._isValidPredicateValue(this._statement.getPredicate(), true);
      this._validObject = this._isValidObjectValue(this._statement.getValue());
    }
  }

  /**
   * @return {String} corresponding to the value, even if the nodetype is URI
   * or datatype says for example date.
   */
  getValue() {
    return this._statement.getValue();
  }

  /**
   * @param {String} value the value to set, the value will be trimmed and if the value is empty
   * (like the empty string or null) the statement will be unasserted.
   * @param {Boolean} silent if true the graph will not be marked as changed,
   * useful when initializing with default empty values.
   */
  setValue(value, silent) {
    const _value = typeof value === 'string' ? value.trim() : value;
    const oValidObject = this._validObject;
    if (this._isValidObjectValue(_value)) {
      this._statement.setValue(_value, silent);
      this._validObject = true;
      if (oValidObject !== true && this._validPredicate === true && !this._excludeFromTreeValidityCheck) {
        this._parent.oneChildValidityChanged(true);
      }
    } else {
      // If it is a null value, change the statement.
      if (_value === '' || _value === null) {
        this._statement.setValue('', silent);
      }
      // And unassert the statement.
      this._validObject = false;
      if (oValidObject !== false && this._validPredicate === true) {
        this._parent.oneChildValidityChanged(false);
      }
    }
    this.updateAssertions();
  }
  setSubject(uri) {
    this._statement.setSubject(uri);
  }

  /**
   * @return {String} corresponding to a uri.
   */
  getPredicate() {
    return this._statement.getPredicate();
  }

  /**
   * @param {String} predicate corresponding to a uri.
   */
  setPredicate(predicate) {
    const oValidPredicate = this._validPredicate;
    if (this._isValidPredicateValue(predicate)) {
      this._statement.setPredicate(predicate);
      this._validPredicate = true;
      if (oValidPredicate !== true && this._validObject === true) {
        this._parent.oneChildValidityChanged(true);
      }
    } else {
      // Note that we actually do not set the invalid value, just unassert the statement.
      this._validPredicate = false;
      if (oValidPredicate !== false && this._validObject === true) {
        this._parent.oneChildValidityChanged(false);
      }
    }
    this.updateAssertions();
  }

  /**
   * @return {String} a two or three character language code.
   */
  getLanguage() {
    return this._statement.getLanguage();
  }

  /**
   * @param {Object} lang a two or three character language code.
   */
  setLanguage(lang, silent) {
    this._statement.setLanguage(lang, silent);
    if (!silent) {
      this.bindingChange(this);
    }
  }

  /**
   * @return {String} corresponding to a uri.
   */
  getDatatype() {
    return this._statement.getDatatype();
  }

  /**
   * @param {String} dt corresponding to a uri.
   */
  setDatatype(dt) {
    this._statement.setDatatype(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.expand(dt));
    this.updateAssertions();
  }
  setExcludeFromTreeValidityCheck(value) {
    this._excludeFromTreeValidityCheck = value;
  }
  remove() {
    this.setValue(null);
    this._parent.removeChildBinding(this);
    super.remove(arguments);
  }
  updateAssertions() {
    const assert = this._ancestorValid && this._validObject && this._validPredicate;
    this._statement.setAsserted(assert, true);
    this.bindingChange(this);
  }
  isValid() {
    return this._validObject && this._validPredicate && !this._excludeFromTreeValidityCheck;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CODES: () => (/* reexport safe */ _CODES__WEBPACK_IMPORTED_MODULE_16__["default"]),
/* harmony export */   constructTemplate: () => (/* binding */ constructTemplate),
/* harmony export */   create: () => (/* binding */ create),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   detectLevel: () => (/* binding */ detectLevel),
/* harmony export */   findBindingRelativeToParentBinding: () => (/* binding */ findBindingRelativeToParentBinding),
/* harmony export */   findFirstValueBinding: () => (/* binding */ findFirstValueBinding),
/* harmony export */   findPopularChoice: () => (/* binding */ findPopularChoice),
/* harmony export */   fuzzyMatch: () => (/* binding */ fuzzyMatch),
/* harmony export */   levelProfile: () => (/* binding */ levelProfile),
/* harmony export */   match: () => (/* binding */ match),
/* harmony export */   matchPathBelowBinding: () => (/* binding */ matchPathBelowBinding)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _system__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./system */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js");
/* harmony import */ var _template_PropertyGroup__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../template/PropertyGroup */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/PropertyGroup.js");
/* harmony import */ var _template_Text__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../template/Text */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Text.js");
/* harmony import */ var _template_Choice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../template/Choice */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Choice.js");
/* harmony import */ var _template_Group__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../template/Group */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Group.js");
/* harmony import */ var _PropertyGroupBinding__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./PropertyGroupBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/PropertyGroupBinding.js");
/* harmony import */ var _GroupBinding__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./GroupBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupBinding.js");
/* harmony import */ var _ValueBinding__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ValueBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ValueBinding.js");
/* harmony import */ var _ChoiceBinding__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ChoiceBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/ChoiceBinding.js");
/* harmony import */ var _GroupURIBinding__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./GroupURIBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupURIBinding.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _CODES__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");




/* eslint-disable no-use-before-define */














// See public API at the bottom of this file.

let _matchGroupItemChildren;
let _clearDibbs;
let _noDibbs;
let _dibbs;
let _createStatementsForConstraints;
let _fuzzy = false;
const match = (graph, uri, template) => {
  const rootBinding = new _GroupBinding__WEBPACK_IMPORTED_MODULE_11__["default"]({
    item: template,
    childrenRootUri: uri,
    graph
  });
  _matchGroupItemChildren(rootBinding);
  _clearDibbs(rootBinding);
  return rootBinding;
};
const fuzzyMatch = (graph, uri, template) => {
  const rootBinding = new _GroupBinding__WEBPACK_IMPORTED_MODULE_11__["default"]({
    item: template,
    childrenRootUri: uri,
    graph
  });
  _matchGroupItemChildren(rootBinding);
  _fuzzy = true;
  _matchGroupItemChildren(rootBinding);
  _fuzzy = false;
  _clearDibbs(rootBinding);
  return rootBinding;
};
const constructTemplate = (graph, uri, itemStore, requiredItems) => {
  const props = graph.findProperties(uri);
  const items = [];
  const fixedProps = {};
  if (requiredItems != null) {
    const addProperty = item => {
      if (item.getProperty() != null) {
        fixedProps[item.getProperty()] = true;
      } else if (item instanceof _template_Group__WEBPACK_IMPORTED_MODULE_9__["default"]) {
        item.getChildren().forEach(addProperty);
      }
    };
    const addItem = item => {
      if (item != null) {
        addProperty(item);
        items.push(item);
      }
    };
    requiredItems.forEach(id => {
      let item = itemStore.getItem(id);
      if (item != null) {
        if (item instanceof _template_Group__WEBPACK_IMPORTED_MODULE_9__["default"] && item.getProperty() == null) {
          item.getChildren().forEach(addItem);
        } else {
          addItem(item);
        }
      } else {
        item = itemStore.getItemByProperty(id);
        if (item) {
          addItem(item);
        } else {
          console.warn(`Warning, when autodetecting a template: Required item '${id}' is neither an id for a loaded item or a property for a loaded item, ignoring.`);
        }
      }
    });
  }
  props.forEach(prop => {
    if (fixedProps[prop]) {
      return;
    }
    const item = itemStore.getItemByProperty(prop);
    if (item != null) {
      items.push(item);
    }
  }, undefined);
  // TODO sort according to priority.
  return itemStore.createTemplateFromChildren(items);
};

//= ==============================================
// Core creation engine
//= ==============================================
const getFirstDataType = item => Array.isArray(item.getDatatype()) ? item.getDatatype()[0] : item.getDatatype();
const _createTextItem = (parentBinding, item) => {
  if (!item.getProperty()) {
    const groupURIBinding = new _GroupURIBinding__WEBPACK_IMPORTED_MODULE_14__["default"]({
      item,
      statement: null,
      matchingCode: _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].OK
    });
    parentBinding.addChildBinding(groupURIBinding);
    return groupURIBinding;
  }
  const graph = parentBinding.getGraph();
  const nt = item.getNodetype();
  const obj = {
    value: '',
    type: 'literal'
  };
  if (nt === 'URI') {
    obj.type = 'uri';
  } else if (nt === 'DATATYPE_LITERAL') {
    obj.datatype = getFirstDataType(item);
  }
  const defaultValue = item.getValue();
  if (defaultValue != null && parentBinding.getChildBindingsFor(item).length === 0) {
    obj.value = defaultValue;
    const la = item.getLanguage();
    if (la != null) {
      obj.lang = la;
    }
  }
  const stmt = graph.create(parentBinding.getChildrenRootUri(), item.getProperty(), obj, false);
  const nbinding = new _ValueBinding__WEBPACK_IMPORTED_MODULE_12__["default"]({
    item,
    statement: stmt
  });
  parentBinding.addChildBinding(nbinding);
  return nbinding;
};
const _createChoiceItem = (parentBinding, item) => {
  const graph = parentBinding.getGraph();
  const nt = item.getNodetype();
  const obj = {
    type: 'literal',
    value: ''
  };
  if (nt === 'DATATYPE_LITERAL') {
    obj.datatype = getFirstDataType(item);
  } else if (nt === 'RESOURCE' || nt === 'URI') {
    obj.type = 'uri';
  }
  const stmt = graph.create(parentBinding.getChildrenRootUri(), item.getProperty(), obj, false);
  const nbinding = new _ChoiceBinding__WEBPACK_IMPORTED_MODULE_13__["default"]({
    item,
    statement: stmt
  });
  parentBinding.addChildBinding(nbinding);
  const defaultValue = item.getValue();
  const cardTracker = nbinding.getCardinalityTracker();
  if (defaultValue != null && cardTracker.getCounter() === 1) {
    nbinding.setChoice(_findChoice(item, defaultValue, graph), true);
  }
  return nbinding;
};
const _createGroupItem = (parentBinding, item, parentItems) => {
  let stmt;
  let constr;
  if (item.getProperty() !== undefined) {
    const graph = parentBinding.getGraph();
    if (item.getNodetype() === 'URI') {
      /*stmt = graph.create(parentBinding.getChildrenRootUri(), item.getProperty(), {
        type: 'uri',
        value: system.createURI(item, parentBinding),
      }, false);*/
      // Create as a blank, will not be asserted until changed into a uri.
      stmt = graph.create(parentBinding.getChildrenRootUri(), item.getProperty(), null, false);
    } else {
      stmt = graph.create(parentBinding.getChildrenRootUri(), item.getProperty(), null, false);
    }
    constr = _createStatementsForConstraints(graph, stmt.getValue(), item);
  }
  const nBinding = new _GroupBinding__WEBPACK_IMPORTED_MODULE_11__["default"]({
    item,
    statement: stmt,
    constraints: constr
  });
  parentBinding.addChildBinding(nBinding);

  // Only do loop detection for items that are stored in the itemStore and hence are
  // used in more than one place.
  const itemId = item._source['@id'];
  if (itemId) {
    // If loop stop.
    if (parentItems[itemId]) {
      return nBinding;
    }
    parentItems[itemId] = true;
  }
  // Do not create substructures directly, let the view model and user interaction decide
  // when to create children.
  /*
  array.forEach(item.getChildren(), function(childItem) {
       create(nBinding, childItem, parentItems);
  }); */
  return nBinding;
};
const _createPropertyGroupItem = (parentBinding, item) => {
  let stmt;
  let constr;
  const oItem = item.getChildren()[1];
  const graph = parentBinding.getGraph();
  if (oItem instanceof _template_Group__WEBPACK_IMPORTED_MODULE_9__["default"]) {
    stmt = graph.create(parentBinding.getChildrenRootUri(), '', null, false);
    constr = _createStatementsForConstraints(graph, stmt.getSubject(), oItem);
  } else if (oItem instanceof _template_Choice__WEBPACK_IMPORTED_MODULE_8__["default"]) {
    stmt = graph.create(parentBinding.getChildrenRootUri(), '', {
      type: 'uri',
      value: ''
    }, false);
  } else {
    stmt = graph.create(parentBinding.getChildrenRootUri(), '', {
      type: 'literal',
      value: ''
    }, false);
  }
  const nBinding = new _PropertyGroupBinding__WEBPACK_IMPORTED_MODULE_10__["default"]({
    item,
    statement: stmt,
    constraints: constr
  });
  parentBinding.addChildBinding(nBinding);
  if (oItem instanceof _template_Group__WEBPACK_IMPORTED_MODULE_9__["default"]) {
    oItem.getChildren().forEach(childItem => {
      create(nBinding.getObjectBinding(), childItem);
    });
  }
  return nBinding;
};
const create = (parentBinding, item, parentItems) => {
  if (item instanceof _template_Text__WEBPACK_IMPORTED_MODULE_7__["default"]) {
    return _createTextItem(parentBinding, item);
  } else if (item instanceof _template_PropertyGroup__WEBPACK_IMPORTED_MODULE_6__["default"]) {
    return _createPropertyGroupItem(parentBinding, item);
  } else if (item instanceof _template_Group__WEBPACK_IMPORTED_MODULE_9__["default"]) {
    return _createGroupItem(parentBinding, item, parentItems || {});
  } else if (item instanceof _template_Choice__WEBPACK_IMPORTED_MODULE_8__["default"]) {
    return _createChoiceItem(parentBinding, item);
  }
  return undefined;
};

// ===============================================
// Core matching engine
// ===============================================

let _matchItem;
let _isNodeTypeMatch;
let _isDataTypeMatch;
let _isPatternMatch;
let _findChoice;
let _findStatementsForConstraints;
_matchGroupItemChildren = pb => {
  if (_fuzzy) {
    pb.getChildBindings().forEach(cb => {
      if (cb.getItem().getType() === 'group') {
        _matchGroupItemChildren(cb);
      }
    });
  }
  pb.getItem().getChildren().forEach(item => {
    if (_fuzzy) {
      if (item.getProperty() !== undefined) {
        _matchItem(pb, item);
      }
    } else {
      _matchItem(pb, item);
    }
  });
};
const _matchGroupItem = (pb, item) => {
  let stmts;
  let bindings;
  let constStmts;
  let groupBinding;
  const graph = pb.getGraph();
  // Case 1: there is a property in the item
  if (item.getProperty() !== undefined) {
    stmts = graph.find(pb.getChildrenRootUri(), item.getProperty());
    if (stmts.length > 0) {
      bindings = [];
      stmts.forEach(stmt => {
        if (_noDibbs(stmt)) {
          const pMatch = _isPatternMatch(item, stmt);
          const ntMatch = _isNodeTypeMatch(item, stmt);
          if (pMatch && ntMatch || _fuzzy) {
            constStmts = _findStatementsForConstraints(graph, stmt.getValue(), item);
            if (constStmts !== undefined || _fuzzy) {
              let matchingCode = !ntMatch ? _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_NODETYPE : _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].OK;
              if (!pMatch) {
                matchingCode = _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_PATTERN;
              } else if (constStmts === undefined) {
                matchingCode = _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].MISSING_CONSTRAINTS;
              }
              _dibbs(stmt);
              groupBinding = new _GroupBinding__WEBPACK_IMPORTED_MODULE_11__["default"]({
                item,
                statement: stmt,
                constraints: constStmts,
                matchingCode
              });
              bindings.push(groupBinding);
              if (matchingCode === _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].OK) {
                _matchGroupItemChildren(groupBinding); // Recursive call
              }
            }
          }
        }
      });
      pb.addChildBindings(bindings);
    }
    // Case 2: there is no property in the item, i.e. a layout item.
  } else {
    groupBinding = new _GroupBinding__WEBPACK_IMPORTED_MODULE_11__["default"]({
      item
    });
    pb.addChildBindings([groupBinding]);
    _matchGroupItemChildren(groupBinding); // Recursive call
  }
};
const _matchPropertyGroupItem = (pb, item) => {
  const pItem = item.getPropertyItem();
  const oItem = item.getObjectItem();
  const graph = pb.getGraph();
  let constStmts;
  let binding;
  let pChoice;
  let oChoice;
  const bindings = [];
  graph.find(pb.getChildrenRootUri()).forEach(stmt => {
    if (_noDibbs(stmt) && _isNodeTypeMatch(oItem, stmt) && _isPatternMatch(oItem, stmt)) {
      pChoice = _findChoice(pItem, stmt.getPredicate(), stmt.getGraph());
      if (pChoice !== undefined) {
        binding = null;
        if (oItem instanceof _template_Group__WEBPACK_IMPORTED_MODULE_9__["default"]) {
          constStmts = _findStatementsForConstraints(graph, stmt.getValue(), oItem);
          if (constStmts !== undefined) {
            _dibbs(stmt);
            binding = new _PropertyGroupBinding__WEBPACK_IMPORTED_MODULE_10__["default"]({
              item,
              statement: stmt,
              constraints: constStmts
            });
            _matchGroupItemChildren(binding.getObjectBinding()); // Recursive call
          }
        } else if (oItem instanceof _template_Choice__WEBPACK_IMPORTED_MODULE_8__["default"]) {
          oChoice = _findChoice(oItem, stmt.getValue(), stmt.getGraph());
          if (oChoice !== undefined) {
            _dibbs(stmt);
            binding = new _PropertyGroupBinding__WEBPACK_IMPORTED_MODULE_10__["default"]({
              item,
              statement: stmt
            });
            binding.getObjectBinding().setChoice(oChoice);
          }
        } else {
          _dibbs(stmt);
          binding = new _PropertyGroupBinding__WEBPACK_IMPORTED_MODULE_10__["default"]({
            item,
            statement: stmt
          });
        }
        if (binding !== null) {
          binding.getPredicateBinding().setChoice(pChoice);
          bindings.push(binding);
        }
      }
    }
  });
  if (bindings.length > 0) {
    pb.addChildBindings(bindings);
  }
};
const _matchTextItem = (pb, item) => {
  const bindings = [];
  if (item.getProperty() == null) {
    bindings.push(new _GroupURIBinding__WEBPACK_IMPORTED_MODULE_14__["default"]({
      item,
      statement: null,
      matchingCode: _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].OK
    }));
  } else {
    pb.getGraph().find(pb.getChildrenRootUri(), item.getProperty()).forEach(stmt => {
      if (_noDibbs(stmt) && _isPatternMatch(item, stmt)) {
        const ntMatch = _isNodeTypeMatch(item, stmt);
        const dtMatch = _isDataTypeMatch(item, stmt);
        if (ntMatch && (dtMatch || item.hasStyle('relaxedDatatypeMatch')) || _fuzzy) {
          _dibbs(stmt);
          let matchingCode = ntMatch ? _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].OK : _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_NODETYPE;
          if (!dtMatch) {
            matchingCode = _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_DATATYPE;
          }
          bindings.push(new _ValueBinding__WEBPACK_IMPORTED_MODULE_12__["default"]({
            item,
            statement: stmt,
            matchingCode
          }));
        }
      }
    });
  }
  if (bindings.length > 0) {
    pb.addChildBindings(bindings);
  }
};
const _matchChoiceItem = (pb, item) => {
  if (item.getProperty() == null) {
    return;
  }
  const bindings = [];
  pb.getGraph().find(pb.getChildrenRootUri(), item.getProperty()).forEach(stmt => {
    if (_noDibbs(stmt)) {
      const ntMatch = _isNodeTypeMatch(item, stmt);
      const dtMatch = _isDataTypeMatch(item, stmt);
      const pMatch = _isPatternMatch(item, stmt);
      if (ntMatch && dtMatch && pMatch || _fuzzy) {
        const choice = _findChoice(item, stmt.getValue(), stmt.getGraph());
        if (choice !== undefined) {
          _dibbs(stmt);
          let matchingCode = !ntMatch ? _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_NODETYPE : _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].OK;
          if (!dtMatch) {
            matchingCode = _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_DATATYPE;
          } else if (!pMatch) {
            matchingCode = _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_PATTERN;
          } else if (choice.mismatch) {
            matchingCode = _CODES__WEBPACK_IMPORTED_MODULE_16__["default"].WRONG_VALUE;
          }
          bindings.push(new _ChoiceBinding__WEBPACK_IMPORTED_MODULE_13__["default"]({
            item,
            statement: stmt,
            choice,
            matchingCode
          }));
        }
      }
    }
  });
  if (bindings.length > 0) {
    pb.addChildBindings(bindings);
  }
};
_matchItem = (pb, item) => {
  if (item instanceof _template_Choice__WEBPACK_IMPORTED_MODULE_8__["default"]) {
    _matchChoiceItem(pb, item);
  } else if (item instanceof _template_PropertyGroup__WEBPACK_IMPORTED_MODULE_6__["default"]) {
    _matchPropertyGroupItem(pb, item);
  } else if (item instanceof _template_Group__WEBPACK_IMPORTED_MODULE_9__["default"]) {
    _matchGroupItem(pb, item);
  } else if (item instanceof _template_Text__WEBPACK_IMPORTED_MODULE_7__["default"]) {
    _matchTextItem(pb, item);
  }
};

// ===============================================
// Utility functions used for matching purposes
// ===============================================

/**
 * Compares the the type specified in the item and the type of the statements object.
 * @param {rdforms/template/Item} item
 * @param {jsonrdf/Statement} stmt
 */
_isNodeTypeMatch = (item, stmt) => {
  const objectType = stmt.getType();
  // eslint-disable-next-line default-case
  switch (item.getNodetype()) {
    case 'LITERAL': // Any form of literal
    case 'ONLY_LITERAL': // No language, no datatype
    case 'PLAIN_LITERAL': // No datatype, perhaps a language
    case 'LANGUAGE_LITERAL':
      // Definitely a language
      return objectType === 'literal';
    case 'DATATYPE_LITERAL':
      // Definitiely a datatype
      return objectType === 'literal';
    case 'RESOURCE':
      return objectType === 'uri' || objectType === 'bnode';
    case 'URI':
      return objectType === 'uri';
    case 'BLANK':
      return objectType === 'bnode';
  }
  return false;
};
_isDataTypeMatch = (item, stmt) => {
  const dt = item.getNodetype() === 'DATATYPE_LITERAL' ? item.getDatatype() || null : null;
  if (dt != null) {
    return Array.isArray(dt) ? dt.indexOf(stmt.getDatatype()) !== -1 : stmt.getDatatype() === dt;
  }
  return true;
};
_isPatternMatch = (item, stmt) => {
  const pattern = item.getPattern();
  const value = _utils__WEBPACK_IMPORTED_MODULE_15__["default"].extractGist(stmt.getValue(), item.getValueTemplate());
  if (typeof pattern !== 'undefined') {
    try {
      return new RegExp(`^${pattern}$`).test(value);
    } catch (e) {
      return true;
    }
  }
  return true;
};

/**
 * Matches constraints in the item to statements in the graph with the given uri as subject.
 *
 * @param {rdfjson/Graph} graph containing all available statements to match against.
 * @param {String} uri the subject to start matching from
 * @param {rdforms/template/Item} item containing the constraints.
 * @return an array of statements on success, undefined on failure.
 *  If there are no constraints to match in the item an empty array is returned.
 */
_findStatementsForConstraints = (graph, uri, item) => {
  let stmts;
  const constr = item.getConstraints();
  const results = [];
  const f = (predicate, object) => {
    stmts = graph.find(uri, predicate, {
      type: 'uri',
      value: object
    });
    if (stmts.length === 1) {
      results.push(stmts[0]);
      return undefined;
    }
    return false;
  };
  if (typeof constr === 'object' && constr !== null) {
    const keys = Object.keys(constr);
    for (let idx = 0; idx < keys.length; idx++) {
      const key = keys[idx];
      const obj = constr[key];
      if (obj instanceof Array) {
        let noMatch = true;
        obj.forEach(o => {
          if (f(key, o) !== false) {
            noMatch = false;
          }
        });
        if (noMatch) {
          return undefined;
        }
      } else if (f(key, obj) === false) {
        return undefined;
      }
    }
    return results;
  }
  return [];
};
_createStatementsForConstraints = (graph, uri, item) => {
  const results = [];
  const constr = item.getConstraints();
  if (typeof constr === 'object' && constr !== null) {
    Object.keys(constr).forEach(key => {
      const obj = constr[key];
      if (Array.isArray(obj)) {
        results.push(graph.create(uri, key, {
          type: 'uri',
          value: obj[0]
        }, false));
      } else {
        results.push(graph.create(uri, key, {
          type: 'uri',
          value: obj
        }, false));
      }
    });
  }
  return results;
};
_findChoice = (item, obj, graph) => {
  let index;
  let choices;
  if (item.hasChoices()) {
    choices = item.getChoices();
    for (index = 0; index < choices.length; index++) {
      if (choices[index].value === obj) {
        return choices[index];
      }
    }
    if (!item.hasStyle('strictmatch') || _fuzzy) {
      return {
        value: obj,
        label: {
          '': obj
        },
        mismatch: true
      };
    }
  } else {
    let label = _utils__WEBPACK_IMPORTED_MODULE_15__["default"].getLocalizedMap(graph, obj, item.getLabelProperties());
    if (label == null && _fuzzy) {
      label = {
        '': obj,
        mismatch: true
      };
    }
    const sa = graph.findFirstValue(obj, _ChoiceBinding__WEBPACK_IMPORTED_MODULE_13__["default"].seeAlso);
    if (label != null) {
      const choice = {
        label,
        value: obj
      };
      if (sa) {
        choice.seeAlso = sa;
      }
      return choice;
    } else if (_system__WEBPACK_IMPORTED_MODULE_5__["default"].getChoice != null) {
      return _system__WEBPACK_IMPORTED_MODULE_5__["default"].getChoice(item, obj, sa, graph);
    }
  }
  return undefined;
};
_dibbs = stmt => {
  stmt._dibbs = true;
};
_noDibbs = stmt => stmt._dibbs !== true;
_clearDibbs = groupBinding => {
  let i;
  let j;
  let arr;
  const arrarr = groupBinding.getItemGroupedChildBindings() || [];
  for (i = 0; i < arrarr.length; i++) {
    arr = arrarr[i];
    for (j = 0; j < arr.length; j++) {
      const binding = arr[j];
      if (binding._statement) {
        delete binding._statement._dibbs;
      }
      if (binding instanceof _GroupBinding__WEBPACK_IMPORTED_MODULE_11__["default"] || binding instanceof _PropertyGroupBinding__WEBPACK_IMPORTED_MODULE_10__["default"]) {
        _clearDibbs(binding);
      }
    }
  }
};
const findFirstValueBinding = (binding, createIfMissing) => {
  if (binding instanceof _ValueBinding__WEBPACK_IMPORTED_MODULE_12__["default"]) {
    return binding;
  }
  const cbs = binding.getItemGroupedChildBindings();
  const loc = moment__WEBPACK_IMPORTED_MODULE_4___default().locale();
  for (let idx = 0; idx < cbs.length; idx++) {
    const vbs = cbs[idx];
    const childItem = binding.getItem().getChildren()[idx];
    if (vbs.length !== 0) {
      if (!(childItem instanceof _template_Text__WEBPACK_IMPORTED_MODULE_7__["default"])) {
        return findFirstValueBinding(vbs[0]);
      } else if (childItem.getNodetype() === 'LANGUAGE_LITERAL') {
        const result = {
          firstValue: vbs[0]
        };
        for (let i = 0; i < vbs.length; i++) {
          const l = vbs[i].getLanguage();
          if (l == null) {
            result.emptyLanguageValue = vbs[i];
          } else if (l === loc) {
            result.perfectLocaleLanguageValue = vbs[i];
          } else if (l.substring(0, 1) === loc.substring(0, 1)) {
            result.localeLanguageValue = vbs[i];
          } else if (l.indexOf('en') !== -1) {
            result.defaultLanguageValue = vbs[i];
          } else {
            result.anyLanguageValue = vbs[i];
          }
        }
        return result.perfectLocaleLanguageValue || result.localeLanguageValue || result.defaultLanguageValue || result.anyLanguageValue || result.firstValue;
      }
      return vbs[0];
    } else if (createIfMissing) {
      const b = create(binding, childItem, {});
      if (b instanceof _ValueBinding__WEBPACK_IMPORTED_MODULE_12__["default"]) {
        b.setLanguage(loc);
        return b;
      }
      return findFirstValueBinding(b, true);
    }
  }
  return undefined;
};
const matchPathBelowBinding = (bindingTree, path) => {
  const _path = path[0] === '/' ? path.slice(1) : path;
  const gb = bindingTree.getItemGroupedChildBindings();
  const pred = _path[0];
  for (let i = 0; i < gb.length; i++) {
    const bindings = gb[i];
    let res;
    for (let j = 0; j < bindings.length; j++) {
      let b = bindings[j];
      let item = b.getItem();
      // Empty property choices.
      if (item instanceof _template_Choice__WEBPACK_IMPORTED_MODULE_8__["default"] && typeof item.getProperty() === 'undefined' && pred === item.getId() && _path.length === 2 && _path[1] === b.getValue()) {
        return b;
      }
      if (!b.isValid()) {
        // eslint-disable-next-line no-continue
        continue;
      }
      if (item.getType() === 'propertygroup') {
        b = b.getObjectBinding();
        item = b.getItem();
      } else if (typeof item.getProperty() === 'undefined') {
        res = matchPathBelowBinding(b, _path);
        if (res) {
          return res;
        }
      }
      if (pred === '*' || pred === b.getPredicate() || pred === item.getId()) {
        if (item.getType() === 'group') {
          res = matchPathBelowBinding(b, _path.slice(1));
          if (res) {
            return res;
          }
        } else if (_path.length === 1 || _path[1] === '*' || _path[1] === b.getValue()) {
          return b;
        }
      }
    }
  }
  return undefined;
};
const findBindingRelativeToParentBinding = (parentBinding, path) => {
  const first = path[0];
  let b = parentBinding;
  if (first === '/') {
    while (b.getParent()) {
      b = b.getParent();
    }
    return b;
  } else if (first === '..') {
    for (let i = 0; i < path.length; i++) {
      if (path[i] === '..' && b.getParent()) {
        b = b.getParent();
      } else {
        return b;
      }
    }
    return b;
  }
  return parentBinding;
};
const findPopularChoice = (choiceItem, rootBinding) => {
  const id = choiceItem.getId();
  const values = {};
  const val2choice = {};
  choiceItem.getChoices().forEach(choice => {
    values[choice.value] = 0;
    val2choice[choice.value] = choice;
  });
  const recurse = groupB => {
    groupB.getChildBindings().forEach(cb => {
      const deps = cb.getItem().getDeps();
      if (deps && (deps[0] === id || deps[0] === '/' && deps[1] === id)) {
        const val = deps[0] === '/' ? deps[2] : deps[1];
        const counter = values[val];
        if (typeof counter !== 'undefined') {
          values[val] = counter + 1;
        }
      }
    });
  };
  recurse(rootBinding);
  let popularCount = 0;
  let value;
  Object.keys(values).forEach(val => {
    if (!value || values[val] > popularCount) {
      value = val;
      popularCount = values[val];
    }
  });
  return val2choice[value];
};
const _levelProfile = (profile, item, ignoreTopLevelGroup) => {
  const card = item.getCardinality();
  if (!ignoreTopLevelGroup || item.getType() !== 'group') {
    if (card != null) {
      if (card.min > 0) {
        profile.mandatory += 1;
      } else if (card.pref > 0) {
        profile.recommended += 1;
      } else {
        profile.optional += 1;
      }
    } else {
      profile.optional += 1;
    }
  }
  if (item.getType() === 'group') {
    item.getChildren().forEach(i => _levelProfile(profile, i));
  }
  return profile;
};
const levelProfile = item => {
  const profile = _levelProfile({
    mandatory: 0,
    recommended: 0,
    optional: 0
  }, item, true);
  profile.itemCount = profile.mandatory + profile.recommended + profile.optional;
  return profile;
};
const detectLevel = profile => {
  if (profile.mandatory > 0) {
    if (profile.recommended === 0 && profile.optional === 0) {
      return 'mandatory';
    } else if (profile.optional === 0) {
      return 'mixed_mandatory_recommended';
    } else if (profile.recommended === 0) {
      return 'mixed_mandatory_optional';
    }
  } else if (profile.recommended > 0) {
    if (profile.optional === 0) {
      return 'recommended';
    }
    return 'mixed_recommended_optional';
  } else if (profile.recommended === 0 && profile.recommended > 0 && profile.optional === 0) {
    return 'optional';
  }
  return 'mixed_all';
};

//= ==============================================
// Public API for matching and creation engine
//= ==============================================
/**
 * Matches a tree of statements with the uri as root
 * according to the constraints of the given template.
 * All the statements matched are found in the graph.
 * All statements in the graph that could be matched into the tree
 * are matched into the tree.
 * The tree is represented as a binding tree.
 *
 * @param {rdfjson/Graph} graph
 * @param {String} uri
 * @param {rdforms/template/Item} template
 * @return {rdforms/model/GroupBinding} which is the root of binding tree.
 */





/**
 * Finds the choice in a choice item that are the most popular, i.e. the choice that most
 * valid bindings hava a dependency to.
 * @param {rdforms/template/Choice} choiceItem
 * @param {rdforms/model/GroupBinding} rootBinding
 */


/**
 * Constructs a template by finding an item per outgoing property for provided graph and
 * resource starting point.
 *
 * @param {Object} graph
 * @param {Object} uri
 * @param {Object} itemStore
 * @param {Array} requiredItems an array of required items specified by id or property that
 * will be enforced independent of corresponding property exists in the graph or not.
 * @return {rdforms/template/Item} the constructed template.
 */


/**
 * Creates a new binding below the given parentBinding according to what the item specifies.
 * New triples are created in the provided graph although not expressed if they have an
 * empty predicate or object. The item must be a direct child of the item
 * of the parentBinding.
 *
 * @param {rdforms/model/Binding} parentBinding
 * @param {rdforms/template/Item} item
 * @param {Object} parentItems is a hash of parent Items to use for loop detection.
 */


/**
 * Finds the first value binding in a binding tree, depth first.
 * If multiple value bindings are found with nodeType LANGUAGE_LITERAL
 * on the same level, the binding with the most appropriate language is chosen.
 * Most appropriate means checking for:
 * 1) exact current language (e.g. en_US),
 * 2) current language (e.g. matches en even if locale is en_US)
 * 3) default language (currently set to en)
 * 4) any literal with a language set found
 * 5) the first literal found
 *
 * @return {rdforms/model/ValueBinding}
 */


/**
 * Calculates the level profile, i.e. the amount of items on mandatory, recommended
 * and optional level in a given template.
 *
 * @param {rdforms/template/Item} item
 * @return {Object} with keys mandatory, recommended and optional, each pointing to an integer.
 */


/**
 * Investigates a level profile and provides the following responses:
 * * mandatory   - only mandatory items
 * * recommended - only recommended items
 * * optional    - only optional items
 * * mixed_all   - a mix of all items
 * * mixed_mandatory_recommended - only mandatory and recommended items
 * * mixed_mandatory_optional    - only mandatory and optional items
 * * mixed_recommended_optional  - only recommended and optional items
 * @param {object} profile as provided by the levelProfile function.
 * @return {string} one of the responses outlined
 */


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  // TODO @valentino anti-pattern. This is done because engine is used in EntryScape. It shouldn't really...
  detectLevel,
  levelProfile,
  findFirstValueBinding,
  create,
  constructTemplate,
  findPopularChoice,
  match,
  fuzzyMatch,
  matchPathBelowBinding,
  findBindingRelativeToParentBinding,
  CODES: _CODES__WEBPACK_IMPORTED_MODULE_16__["default"]
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");

/* eslint-disable no-unused-vars */

const generateUIDNotMoreThan1million = () =>
// eslint-disable-next-line no-restricted-properties,no-bitwise
`0000${(Math.random() * Math.pow(36, 4) << 0).toString(36)}`.slice(-4);
const createURI = (item, parentBinding) => {
  const parentURI = parentBinding.getChildrenRootUri();
  const hash = parentURI.lastIndexOf('#');
  const newURIBase = hash === -1 ? `${parentURI}#` : parentURI.substring(0, hash + 1);
  const graph = parentBinding.getGraph()._graph;
  while (true) {
    const newURI = newURIBase + generateUIDNotMoreThan1million();
    if (graph[newURI] == null) {
      return newURI;
    }
  }
};
const getFallbackChoice = (item, value, seeAlso, graph) => {
  if (item.getNodetype() === 'URI' || item.getNodetype() === 'RESOURCE') {
    let lmap = _utils__WEBPACK_IMPORTED_MODULE_1__["default"].getLocalizedMap(graph, value, item.getURIValueLabelProperties());
    if (!lmap) {
      const lastHash = value.lastIndexOf('#');
      const lastSlash = value.lastIndexOf('/');
      if (lastHash > 0 || lastSlash > 0) {
        lmap = {
          '': decodeURIComponent(value.substring(1 + (lastHash > lastSlash ? lastHash : lastSlash)))
        };
      } else {
        lmap = {
          '': value
        };
      }
    }
    return {
      value,
      label: lmap
    };
  }
  return {
    value,
    label: value
  };
};

/**
 * This method is a default implementation, feel free to override with specific construction of matched choices.
 * Returns a choice object containing a value and a label.
 * Override this function to provide specific loading of a choice.
 * If you need to do this asynchonously provide a "load" method on the returned choice object.
 * To indicate that a matched value is not acceptable anymore,
 * set the flag mismatch to true in the returned choice object.
 *
 * @param item the RDForms template item matched against.
 * @param value the value to match
 * @param seeAlso if provided the value is a URI and a rdfs:seeAlso property has been found in the graph
 * @param graph the RDF graph where the value was matched
 * @returns {Object} an object containing a value, a label (object with language codes as attributes),
 * an optional load callback method and an optional mismatch flag.
 * @see openChoiceSelector
 */
const getChoice = (item, value, seeAlso, graph) => getFallbackChoice(item, value, seeAlso, graph);
const labelProperties = ['http://www.w3.org/2000/01/rdf-schema#label', 'http://purl.org/dc/terms/title', 'http://purl.org/dc/elements/1.1/title', 'http://www.w3.org/2004/02/skos/core#prefLabel', 'http://xmlns.com/foaf/0.1/name', 'http://xmlns.com/foaf/name'];

/**
 * This method is a fake implementation for launching a dialog for choosing system choices.
 * The method MUST be overridden if the template you use depends on system choices.
 * (System choices in a RDForm template choice items means that there are neither inline choices
 * or an ontology URL given in combination with provided cached choices for the given ontology URL).
 *
 * @param {rdforms.model.Binding} binding the binding where the choice will be given
 * @param {Function} callback a method to call with a choice object when the user has selected an appropriate choice.
 */
const openChoiceSelector = (binding, callback) => {
  alert('This alert is a placeholder for a search dialog that should be provided as part of the integration of ' + 'RDForms into a wider system.\nSimply override the methods "getChoices" and "openChoiceSelector" in the ' + 'system module.');
  callback({
    value: 'http://example.com/choice1',
    label: {
      en: 'First choice',
      sv: 'Första valet'
    }
  });
};

/** The implementor is expected to provide an application specific override
 * For example:
 * system.attachExternalLinkBehaviour = (node, binding) => node.setAttribute("target", "_blank");
 */
const attachExternalLinkBehaviour = () => false;

/** The implementor is expected to provide an application specific override
 * For example:
 * system.attachLinkBehaviour = (node, binding) => node.setAttribute("target", "_blank");
 */
const attachLinkBehaviour = (node, binding) => false;
const hasDnDSupport = binding => false;
const addDnD = (binding, node, onDrop) => ({});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  hasDnDSupport,
  addDnD,
  attachExternalLinkBehaviour,
  attachLinkBehaviour,
  openChoiceSelector,
  getChoice,
  getFallbackChoice,
  labelProperties,
  createURI
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/validate.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/validate.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   bindingReport: () => (/* binding */ bindingReport),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   graphReport: () => (/* binding */ graphReport)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _engine__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");
/* harmony import */ var _CODES__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");




const _clearMatchingCodes = binding => {
  binding.setMatchingCode(_CODES__WEBPACK_IMPORTED_MODULE_3__["default"].OK);
  if (binding.getItem().getType() === 'group') {
    binding.getChildBindings().forEach(childBinding => _clearMatchingCodes(childBinding));
  }
};

/**
 * Generates a report for the given binding. Below is an example of a report:
 * {
 *   errors: [{
 *      parentBinding: parent_group_binding_instance
 *      item: item_instance_where_error_is,
 *      code: "many"
 *   }, ...],
 *   warnings: [{
 *      parentBinding: parent_group_binding_instance
 *      item: item_instance_where_warning_is,
 *      code: "few"
 *   }, ...],
 *   deprecated: [binding_instance_of_deprecated_value, ...]
 * }
 *
 * @type {Object}
 */
const bindingReport = (groupbinding, reportObj) => {
  let _reportObj = reportObj;
  if (_reportObj == null) {
    _reportObj = {
      errors: [],
      warnings: [],
      deprecated: []
    };
  } else {
    _reportObj.errors = _reportObj.errors || [];
    _reportObj.warnings = _reportObj.warnings || [];
    _reportObj.deprecated = _reportObj.deprecated || [];
  }
  //  _clearMatchingCodes(groupbinding);
  // eslint-disable-next-line no-use-before-define
  return _createReport(groupbinding, _reportObj, true);
};
const _countValidBindings = bindings => {
  let counter = 0;
  for (let i = 0; i < bindings.length; i++) {
    if (bindings[i].isValid()) {
      counter += 1;
    }
  }
  return counter;
};
const updateViaCardinalityTracker = (bindings, code) => {
  if (bindings.length > 0) {
    const cardTr = bindings[0].getCardinalityTracker();
    cardTr.setCode(code);
  }
};
const doNotProceedFurther = (groupBinding, childItem) => {
  // Don't check further if the childItem is deprecated
  if (childItem.hasStyle('deprecated')) {
    return true;
  }

  // Don't check further if the binding is hidden due to missing dependencies
  const childPath = childItem.getDeps();
  if (childPath) {
    const fromBinding = (0,_engine__WEBPACK_IMPORTED_MODULE_2__.findBindingRelativeToParentBinding)(groupBinding, childPath);
    if (!(0,_engine__WEBPACK_IMPORTED_MODULE_2__.matchPathBelowBinding)(fromBinding, childPath)) {
      return true;
    }
  }
  return false;
};
const _createReport = (groupbinding, report, firstLevel) => {
  if (groupbinding.getMatchingCode() !== _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].OK) {
    return undefined;
  }
  const groupitem = groupbinding.getItem();

  // Abort check if the groupbinding is hidden due to a missing dependency.
  // Check disabled since it is done for each child before recursive call
  /* const path = groupitem.getDeps();
   if (path && groupbinding.getParent() != null) {
     const fromBinding = findBindingRelativeToParentBinding(groupbinding.getParent(), path);
     if (!matchPathBelowBinding(fromBinding, path)) {
       return undefined;
     }
   } */

  if (firstLevel === true || groupbinding.isValid() || groupitem.getProperty() == null || groupitem.hasStyle('atLeastOneChild') || groupitem.hasStyle('exactlyOneChild')) {
    const childrenItems = groupitem.getChildren();

    // disjoint is deprecated in favour of atMostOneChild
    if (groupitem.hasStyle('disjoint') || groupitem.hasStyle('atMostOneChild') || groupitem.hasStyle('atLeastOneChild') || groupitem.hasStyle('exactlyOneChild')) {
      const bindings = groupbinding.getChildBindings();
      const nrOfValid = _countValidBindings(bindings);
      let code;
      if (nrOfValid > 1 && (groupitem.hasStyle('disjoint') || groupitem.hasStyle('atMostOneChild'))) {
        code = _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].AT_MOST_ONE_CHILD;
      } else if (nrOfValid !== 1 && groupitem.hasStyle('exactlyOneChild')) {
        code = _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].EXACTLY_ONE_CHILD;
      } else if (nrOfValid === 0 && groupitem.hasStyle('atLeastOneChild')) {
        code = _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].AT_LEAST_ONE_CHILD;
      }
      if (code) {
        updateViaCardinalityTracker([groupbinding], code);
        //        groupbinding.setMatchingCode(code);
        // Correct to set only on first child?
        if (childrenItems.length > 0) {
          report.errors.push({
            parentBinding: groupbinding,
            item: childrenItems[0],
            code
          });
        }
      }
    } else {
      groupbinding.getItemGroupedChildBindings().forEach((bindings, index) => {
        const childItem = childrenItems[index];
        if (doNotProceedFurther(groupbinding, childItem)) {
          return;
        }
        if (childItem.getProperty() != null) {
          const nrOfValid = _countValidBindings(bindings);
          const card = childItem.getCardinality();
          if (card.min != null && card.min > nrOfValid) {
            report.errors.push({
              parentBinding: groupbinding,
              item: childItem,
              code: _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].TOO_FEW_VALUES_MIN
            });
            updateViaCardinalityTracker(bindings, _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].TOO_FEW_VALUES_MIN);
            /*            let counter = 0;
                        bindings.forEach((binding) => {
                          if (!binding.isValid()) {
                            if (counter < card.min) {
                              counter += 1;
                              binding.setMatchingCode(CODES.TOO_FEW_VALUES_MIN);
                            }
                          }
                        }); */
          } else if (card.pref != null && card.pref > nrOfValid) {
            report.warnings.push({
              parentBinding: groupbinding,
              item: childItem,
              code: _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].TOO_FEW_VALUES_PREF
            });
            //            updateViaCardinalityTracker(bindings, CODES.TOO_FEW_VALUES_PREF);
          }
          if (card.max != null && card.max < nrOfValid) {
            report.errors.push({
              parentBinding: groupbinding,
              item: childItem,
              code: _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].TOO_MANY_VALUES
            });
            updateViaCardinalityTracker(bindings, _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].TOO_MANY_VALUES);
            /*            let counter = 0;
                        bindings.forEach((binding) => {
                          if (binding.isValid()) {
                            counter += 1;
                            if (counter > card.max) {
                              binding.setMatchingCode(CODES.TOO_MANY_VALUES);
                            }
                          }
                        }); */
          }
        }
      }, undefined);
    }
    groupbinding.getChildBindings().forEach(binding => {
      const item = binding.getItem();
      if (binding.getMatchingCode() !== _CODES__WEBPACK_IMPORTED_MODULE_3__["default"].OK) {
        report.errors.push({
          parentBinding: binding,
          item,
          code: binding.getMatchingCode()
        });
      }
      if (item.hasStyle('deprecated')) {
        report.deprecated.push(binding);
      }
      if (!doNotProceedFurther(groupbinding, item)) {
        // Recursive step
        if (item.getType() === 'group') {
          _createReport(binding, report);
        }
      }
    });
  }
  return report;
};

/**
 * Generates a report for all resources identified. Resources are identified
 * according to their type. If a resource is present in the graph but its type is not
 * in the type2template map it will not be in the report.
 * Each resource will be validated according to the template for its type.
 * Below is an example of a report:
 * {
 *    errors: 5,
 *    warnings: 10,
 *    deprecated: 1,
 *    mandatoryError: ["dcat:Dataset"]
 *    resources: [
 *       {
 *         uri: "http://example.com",
 *         type: "vcard:Kind",
 *         template: "vc:Kind",
 *         errors: [{
 *           path: "vcard:hasAddress > vcard:hasStreetAddress",
 *           code: "few"
 *         }],
 *         warnings: [{
 *           path: "vcard:hasFN",
 *           code: "few"
 *         }],
 *         deprecated: [https://challengesgov.se/challenge-sthlm/
 *           "vcard:fn"
 *         ]
 *       },
 *       ...
 *    ]
 * }
 *
 * @param {rdfjson/Graph} graph an rdf graph against which all validation is done
 * @param {Object} type2template a map between each type to check for and the template to use for validation
 * (the type may be given with namespace abbreviations)
 * @param {Array} mandatoryTypes an array of types to check that there are instances for
 * @return {Object} a report of the validity of the graph
 */
const graphReport = function graphReport(graph, type2template) {
  let mandatoryTypes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  const type2resources = {};
  const allResources = {};
  let template;
  let rr;
  const report = {
    errors: 0,
    warnings: 0,
    deprecated: 0,
    resources: []
  };
  Object.keys(type2template).forEach(type => {
    // eslint-disable-next-line no-use-before-define
    const resources = _findResources(graph, type);
    type2resources[type] = resources;
    resources.forEach(resource => {
      allResources[resource] = true;
    });
  });
  Object.keys(type2resources).forEach(type => {
    template = type2template[type];
    type2resources[type].forEach(resource => {
      // eslint-disable-next-line no-use-before-define
      rr = _resourceReport(resource, graph, template, allResources);
      rr.uri = resource;
      rr.type = type;
      rr.template = template.getId();
      report.resources.push(rr);
      report.errors += rr.errors.length;
      report.warnings += rr.warnings.length;
      report.deprecated += rr.deprecated.length;
    });
  });
  const mandatoryError = [];
  mandatoryTypes.forEach(mt => {
    if (type2resources[mt].length === 0) {
      mandatoryError.push(mt);
    }
  });
  if (mandatoryError.length > 0) {
    report.mandatoryError = mandatoryError;
    report.errors += mandatoryError.length;
  }
  return report;
};
const _findResources = (graph, cls) => graph.find(null, 'rdf:type', cls).map(stmt => stmt.getSubject());
const _includeIssue = (binding, resource, otherResources) => {
  let pb = binding;
  while (true) {
    const uri = pb.getChildrenRootUri ? pb.getChildrenRootUri() : pb.getParent().getChildrenRootUri();
    if (uri === resource) {
      return true;
    } else if (otherResources[uri]) {
      return false;
    }
    pb = pb.getParent();
  }
};
const _createPath = (binding, item) => {
  let _binding = binding;
  const path = [];
  if (item.getProperty() != null && _binding.getItem() !== item) {
    path.push(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.shorten(item.getProperty()));
  }
  while (true) {
    if (_binding.getItem().getProperty() != null) {
      path.push(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.shorten(_binding.getItem().getProperty()));
    }
    if (_binding.getParent() == null) {
      break;
    } else {
      _binding = _binding.getParent();
    }
  }
  path.reverse();
  return path.join(' > ');
};
const _filterReport = (report, resource, otherResources) => {
  const {
    errors,
    warnings,
    deprecated
  } = report;
  report.errors = errors.filter(err => _includeIssue(err.parentBinding, resource, otherResources));
  report.warnings = warnings.filter(warn => _includeIssue(warn.parentBinding, resource, otherResources));
  report.deprecated = deprecated.filter(depr => _includeIssue(depr, resource, otherResources));
};
const _createDepPath = dep => `${_createPath(dep.getParent(), dep.getItem())} > ${dep.getValue()}`;
const _simplifyReport = report => {
  const {
    errors,
    warnings,
    deprecated
  } = report;
  report.errors = errors.map(err => ({
    path: _createPath(err.parentBinding, err.item),
    code: err.code
  }));
  report.warnings = warnings.map(warn => ({
    path: _createPath(warn.parentBinding, warn.item),
    code: warn.code
  }));
  report.deprecated = deprecated.map(dep => _createDepPath(dep));
};
const _resourceReport = (resource, graph, template, ignoreResources) => {
  const binding = (0,_engine__WEBPACK_IMPORTED_MODULE_2__.fuzzyMatch)(graph, resource, template);
  const report = bindingReport(binding);
  _filterReport(report, resource, ignoreResources || {});
  _simplifyReport(report);
  return report;
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  // TODO @valentino don't export default. Used in EntryScape
  graphReport,
  bindingReport
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Bundle.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Bundle.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Bundle)
/* harmony export */ });
let counter = 0;
class Bundle {
  /**
   * A Bundle corresponds to a set of items typically managed in a single file.
   */
  constructor(_ref) {
    let {
      itemStore,
      source,
      path,
      readOnly = false
    } = _ref;
    this._itemStore = itemStore;
    this._source = source;
    this._path = path;
    this._readOnly = readOnly;
    this._items = [];
    counter += 1;
    this._id = `_bundle_${counter}`;
    this._root = null;
    this._modified = false;
  }
  getInternalId() {
    return this._id;
  }
  getSource() {
    return this._source;
  }
  setRoot(itemId) {
    this._source.root = itemId;
    return itemId;
  }
  getRoot() {
    if (this._source.root) {
      return this._itemStore.getItem(this._source.root);
    }
    return undefined;
  }
  getItemStore() {
    return this._itemStore;
  }
  getPath() {
    return this._path;
  }
  getItems() {
    return this._items;
  }
  addItem(item) {
    this._items.push(item);
  }
  removeItem(item) {
    this._items.splice(this._items.indexOf(item), 1);
  }
  isModified() {
    return this._modified;
  }
  setModified(modified) {
    this._modified = modified;
  }
  isReadOnly() {
    return this._readOnly || this._path == null;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Choice.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Choice.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Choice)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _Item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Item */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Item.js");



const expandValues = choices => {
  if (choices == null) {
    return;
  }
  choices.forEach(c => {
    c.value = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.expand(c.value);
  });
};
class Choice extends _Item__WEBPACK_IMPORTED_MODULE_2__["default"] {
  /**
   * A choice item type indicates that the value should be one of a range of predefined choices,
   * these predefined choices can be defined manually in the template or extracted from an external
   * ontology (indicated by the ontologyUrl) by means of a query that can be constructed from the constraints.
   *
   * TODO:
   * The choices can also be organized into a hierarchy using the parent and hierarchy properties.
   */
  constructor(params) {
    super(params);
    this._ontologyStore = params.ontologyStore;
  }

  // ===================================================
  // Public API
  // ===================================================
  /**
   *  A choice is an object which looks like:
   * {"value": "http://example.com/choice1",
   *  "label": {"en": "First choice", "sv": "FÃ¶rsta valet"}
   * }
   *
   * @return {Array} of choices.
   */
  getChoices(original) {
    return this.getStaticChoices(original) || this.getDynamicChoices(original) || [];
  }

  /**
   * @return {Boolean} true if there is an ontology or static choices.
   */
  hasChoices(original) {
    const s = this.getSource(original);
    return s.ontologyUrl != null || s.choices != null;
  }
  hasStaticChoices(original) {
    const s = this.getSource(original);
    return s.choices != null;
  }

  /**
   * @return {Array} of choices defined manually in the Template.
   */
  getStaticChoices(original) {
    const s = this.getSource(original);
    if (s.choices) {
      const isURI = this.getNodetype().indexOf('LITERAL') === -1;
      if (original && this.isExtention()) {
        if (!this._origStaticIsSorted) {
          if (isURI) {
            expandValues(s.choices);
          }
          this._origStaticIsSorted = true;
        }
      } else if (!this._staticIsSorted) {
        if (isURI) expandValues(s.choices);
        this._staticIsSorted = true;
      }
    }
    return s.choices;
  }
  setStaticChoices(choices) {
    const s = this.getSource(true);
    if (s.choices === choices) {
      return;
    }
    if (choices != null) {
      this._origStaticIsSorted = true;
    }
    s.choices = choices;
    this.refreshExtends();
  }
  setExtends(extendsStr) {
    super.setExtends(extendsStr);
    delete this._staticIsSorted;
    delete this._origStaticIsSorted;
  }

  /**
   * Fetches choices from an external ontology.
   *
   * @param {Object} callback will be called asynchronously, if undefined the call is made synchronously.
   * @return {Array} of choice objects, only provided if method called without callback.
   */
  getDynamicChoices(callback) {
    if (this._dynamicChoices == null) {
      if (callback == null) {
        this._dynamicChoices = this._ontologyStore.getChoices(this);
        return this._dynamicChoices;
      }
      this._ontologyStore.getChoices(this, choices => {
        this._dynamicChoices = choices;
        if (this._dynamicChoices == null) {
          console.log(`Failed lookup of choices for ${this.getLabel()}`);
          console.log(`OntologyUrl is: ${this._source.ontologyUrl}`);
        }
        callback(this._dynamicChoices);
      });
    } else {
      if (callback == null) {
        return this._dynamicChoices;
      }
      callback(this._dynamicChoices);
    }
    return undefined;
  }
  getOntologyUrl(original) {
    const ou = this.getSource(original).ontologyUrl;
    if (ou != null && ou !== '') {
      return _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.expand(ou);
    }
    return ou;
  }
  setOntologyUrl(url) {
    const s = this.getSource(true);
    if (url == null || url === '') {
      delete s.ontologyUrl;
    } else {
      s.ontologyUrl = url;
    }
    this.refreshExtends();
  }
  getLabelProperties(original) {
    return this.getSource(original).labelProperties || ['http://www.w3.org/2000/01/rdf-schema#label'];
  }
  getParentProperty(original) {
    const pp = this.getSource(original).parentProperty;
    if (pp != null && pp !== '') {
      return _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.expand(pp);
    }
    return pp;
  }
  setParentProperty(prop) {
    const s = this.getSource(true);
    if (prop == null || prop === '') {
      delete s.parentProperty;
    } else {
      s.parentProperty = prop;
    }
    this.refreshExtends();
  }
  getHierarchyProperty(original) {
    const hp = this.getSource(original).hierarchyProperty;
    if (hp != null && hp !== '') {
      return _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.expand(hp);
    }
    return hp;
  }
  setHierarchyProperty(prop) {
    const s = this.getSource(true);
    if (prop == null || prop === '') {
      delete s.hierarchyProperty;
    } else {
      s.hierarchyProperty = prop;
    }
    this.refreshExtends();
  }
  isParentPropertyInverted(original) {
    return this.getSource(original).isParentPropertyInverted === true;
  }
  setParentPropertyInverted(inverted) {
    const s = this.getSource(true);
    if (inverted === true) {
      s.isParentPropertyInverted = true;
    } else {
      delete s.isParentPropertyInverted;
    }
    this.refreshExtends();
  }
  isHierarchyPropertyInverted(original) {
    return this.getSource(original).isHierarchyPropertyInverted === true;
  }
  setHierarchyPropertyInverted(inverted) {
    const s = this.getSource(true);
    if (inverted) {
      s.isHierarchyPropertyInverted = true;
    } else {
      delete s.isHierarchyPropertyInverted;
    }
    this.refreshExtends();
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Group.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Group.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Group)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _Item__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Item */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Item.js");



const sortItems = items => {
  items.forEach(item => {
    item.__label = (item.getLabel() || '').toLowerCase();
  });
  items.sort((o1, o2) => {
    if (o1._source.priority != null) {
      if (o2._source.priority != null) {
        // eslint-disable-next-line no-nested-ternary
        return o1._source.priority > o2._source.priority ? -1 : o1._source.priority < o2._source.priority ? 1 : 0;
      }
      return o1._source.priority > 0 ? -1 : 1;
    } else if (o2._source.priority != null) {
      return o2._source.priority > 0 ? 1 : -1;
    } else if (o1.__label > o2.__label) {
      return 1;
    } else if (o1.__label < o2.__label) {
      return -1;
    }
    return 0;
  });
};
class Group extends _Item__WEBPACK_IMPORTED_MODULE_2__["default"] {
  /**
   * Group extends an Item by having children.
   */
  constructor(params) {
    super(params);
    this._children = params.children;
    if (this._source.content != null) {
      this._source.items = this._source.content;
      delete this._source.content;
    }
    this._forceChildrenClones = false;
    this._parent = null;
  }

  // ===================================================
  // Public API
  // ===================================================
  getChildren(original) {
    const _original = original && this.isExtention();
    let children = _original ? this._ochildren : this._children;
    if (children == null) {
      children = this._itemStore.getChildren(this, _original);
      if (this.getSource().automatic === true && this._itemStore.automaticSortAllowed) {
        sortItems(children);
      }
      this[`_${_original ? 'o' : ''}children`] = children;
    }
    return children;
  }
  originalChildrenChanged() {
    if (this.isExtention()) {
      delete this._children;
    }
  }
  setExtends(extendsStr) {
    super.setExtends(extendsStr);
    delete this._children;
    delete this._ochildren;
  }

  // ===================================================
  // Inherited methods
  // ===================================================

  getNodetype() {
    return super.getNodetype() || 'RESOURCE'; // Ugly fix because it is often wrong written in SIRFF.
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Item.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Item.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Item)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");




let itemCount = 0;
const setObjAttr = (obj, attr, value) => {
  if (value === null || typeof value === 'undefined' || value === '' || Array.isArray(value) && value.length === 0) {
    delete obj[attr];
  } else {
    obj[attr] = value;
  }
};
class Item {
  /**
   * Base functionality of Text, Group and Choice item classes.
   */
  constructor(_ref) {
    let {
      source = {},
      bundle,
      itemStore
    } = _ref;
    this._itemStore = itemStore;
    this._source = source;
    this._bundle = bundle;
    itemCount += 1;
    this._internalId = itemCount;
    this._styles = ['heading', 'invisible', 'invisibleInPresent', 'invisibleInEdit', 'invisibleGroup', 'stars', 'commentOn', 'multiline', 'horizontalRadioButtons', 'verticalRadioButtons', 'horizontalCheckBoxes', 'verticalCheckBoxes', 'nonEditable', 'expandable', 'compact', 'nonCompact', 'dropDown', 'table', 'firstcolumnfixedtable', 'tree', 'externalLink', 'internalLink', 'noLink', 'image', 'label', 'tooltip', 'strictmatch', 'relaxedDatatypeMatch', 'viewAllTranslations', 'filterTranslations', 'email', 'atLeastOneChild', 'atMostOneChild', 'exactlyOneChild', 'noLabelInPresent', 'autoInitDate', 'autoUpdateDate', 'autoUUID', 'autoValue', 'showURI', 'showLink', 'showValue', 'showDescriptionInPresent', 'showDescriptionInEdit', 'textAsChoice', 'preserveOrderOfChoices', 'linkWithLabel', 'deprecated', 'inline', 'truncate', 'noTruncate', 'card', 'cardInPresent', 'cardInEdit'];
    this._getLocalizedValue = _utils__WEBPACK_IMPORTED_MODULE_3__["default"].getLocalizedValue;
  }

  //= ==================================================
  // Public API
  //= ==================================================
  getId() {
    const s = this.getSource(true);
    return s.id || s['@id'];
  }
  setId(id) {
    setObjAttr(this.getSource(true), 'id', id);
    delete s['@id'];
  }
  getType(original) {
    const s = this.getSource(original);
    return s.type || s['@type'];
  }
  setType(typeStr) {
    setObjAttr(this.getSource(true), 'type', typeStr);
    delete s['@type'];
    this.refreshExtends();
  }
  getExtends() {
    return this.getSource(true).extends || '';
  }
  refreshExtends() {
    if (this.isExtention) {
      this.setExtends(this.getExtends());
    }
  }
  setExtends(extendsStr) {
    const s = this.getSource(true);
    const ei = this._itemStore.getItem(extendsStr);
    if (ei == null) {
      this._source = s;
    } else {
      this._source = this._itemStore.createExtendedSource(ei.getSource(), s);
    }
    if (extendsStr === '' || extendsStr == null) {
      delete s.extends;
    } else {
      s.extends = extendsStr;
    }
  }
  isExtention() {
    return this.getExtends() != null;
  }
  _getText(attr, returnDetails, original) {
    const s = this.getSource(original);
    return returnDetails ? _utils__WEBPACK_IMPORTED_MODULE_3__["default"].getLocalizedValue(s[attr]) : _utils__WEBPACK_IMPORTED_MODULE_3__["default"].getLocalizedValue(s[attr]).value;
  }
  _setText(attr, value, lang) {
    const s = this.getSource(true);
    s[attr] = this._setLangHash(s[attr], value, lang);
    this.refreshExtends();
  }
  _setTextMap(attr, map) {
    setObjAttr(this.getSource(true), attr, map);
    this.refreshExtends();
  }
  getLabel(returnDetails, original) {
    return this._getText('label', returnDetails, original);
  }
  setLabel(value, lang) {
    this._setText('label', value, lang);
  }
  getLabelMap(original) {
    return this.getSource(original).label;
  }
  setLabelMap(map) {
    this._setTextMap('label', map);
  }
  getEditLabel(returnDetails, original) {
    return this._getText('editlabel', returnDetails, original);
  }
  setEditLabel(value, lang) {
    this._setText('editlabel', value, lang);
  }
  getEditLabelMap(original) {
    return this.getSource(original).editlabel;
  }
  setEditLabelMap(map) {
    this._setTextMap('editlabel', map);
  }
  getDescription(returnDetails, original) {
    return this._getText('description', returnDetails, original);
  }
  setDescription(value, lang) {
    this._setText('description', value, lang);
  }
  getDescriptionMap(original) {
    return this.getSource(original).description;
  }
  setDescriptionMap(map) {
    this._setTextMap('description', map);
  }
  getEditDescription(returnDetails, original) {
    return this._getText('editdescription', returnDetails, original);
  }
  setEditDescription(value, lang) {
    this._setText('editdescription', value, lang);
  }
  getEditDescriptionMap(original) {
    return this.getSource(original).editdescription;
  }
  setEditDescriptionMap(map) {
    this._setTextMap('editdescription', map);
  }
  getHelp(returnDetails, original) {
    return this._getText('help', returnDetails, original);
  }
  setHelp(value, lang) {
    this._setText('help', value, lang);
  }
  getHelpMap(original) {
    return this.getSource(original).help;
  }
  setHelpMap(map) {
    this._setTextMap('help', map);
  }
  getPlaceholder(returnDetails, original) {
    return this._getText('placeholder', returnDetails, original);
  }
  setPlaceholder(value, lang) {
    this._setText('placeholder', value, lang);
  }
  getPlaceholderMap(original) {
    return this.getSource(original).placeholder;
  }
  setPlaceholderMap(map) {
    this._setTextMap('placeholder', map);
  }
  getPurpose(returnDetails, original) {
    return this._getText('purpose', returnDetails, original);
  }
  setPurpose(value, lang) {
    this._setText('purpose', value, lang);
  }
  getPurposeMap(original) {
    return this.getSource(original).purpose;
  }
  setPurposeMap(map) {
    this._setTextMap('purpose', map);
  }
  getSpecification(returnDetails, original) {
    return this._getText('specification', returnDetails, original);
  }
  setSpecification(value, lang) {
    this._setText('specification', value, lang);
  }
  getSpecificationMap(original) {
    return this.getSource(original).specification;
  }
  setSpecificationMap(map) {
    this._setTextMap('specification', map);
  }
  getText(attr, returnDetails, original) {
    const s = this.getSource(original);
    const t = s.text || {};
    return returnDetails ? _utils__WEBPACK_IMPORTED_MODULE_3__["default"].getLocalizedValue(t[attr]) : _utils__WEBPACK_IMPORTED_MODULE_3__["default"].getLocalizedValue(t[attr]).value;
  }
  setText(attr, value, lang) {
    const s = this.getSource(true);
    const t = s.text = s.text || {};
    t[attr] = this._setLangHash(t[attr], value, lang);
    this.refreshExtends();
  }
  setTextMap(attr, map) {
    const s = this.getSource(true);
    const t = s.text = s.text || {};
    setObjAttr(t, attr, map);
    this.refreshExtends();
  }
  getEnhanced(attribute) {
    const s = this.getSource(true);
    if (typeof s.enhanced === 'boolean') {
      return s.enhanced;
    }
    return s.enhanced && s.enhanced[attribute] || false;
  }
  setEnhanced(attribute, enhanced) {
    const s = this.getSource(true);
    if (typeof attribute === 'boolean') {
      if (attribute === true) {
        s.enhanced = true;
      } else {
        delete s.enhanced;
      }
    } else {
      s.enhanced = typeof s.enhanced === 'boolean' ? {} : s.enhanced || {};
      if (enhanced) {
        s.enhanced[attribute] = true;
      } else {
        delete s.enhanced[attribute];
        if (Object.keys(s).length === 0) {
          delete s.enhanced;
        }
      }
    }
    // Simple way to refresh this._source which is a cache including potential enhancements
    this.setExtends(this.getExtends());
  }

  /**
   * @return {String|null} as a URI, may be null for Groups, never null for Text or choice
   * item types.
   */
  getProperty(original) {
    let p = null;
    const source = this.getSource(original);
    if (source) {
      p = source.property;
      if (p != null && p !== '') {
        p = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(p);
      }
    }
    return p;
  }
  setProperty(prop) {
    setObjAttr(this.getSource(true), 'property', prop);
    this.refreshExtends();
  }

  /**
   * If the value is a uri, it is not nice to show it directly.
   * Hence, we need to discover (or provide if we are in edit mode)
   * a suitable label for the URI. Labels are typically provided by
   * having triples with the URI as subject, but which predicates do we use?
   *
   * URIValueLabelProperties is an array of properties to be used in this scenario,
   * were each should be tried in turn. In editing mode the first property should be used,
   * alternatively a dropdown can be used to select among the properties.
   *
   * @return {Array} array of properties
   * The property value pairs corresponds to predicate and objects in required tripples.
   */
  getURIValueLabelProperties(original) {
    const arr = this.getSource(original).uriValueLabelProperties;
    if (arr != null) {
      return arr.map(uri => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(uri));
    }
    return arr;
  }
  setURIValueLabelProperties(props) {
    setObjAttr(this.getSource(true), 'uriValueLabelProperties', props);
    this.refreshExtends();
  }

  /**
   * @return {Object} never available for Text item type.
   * The property value pairs corresponds to predicate and objects in required triples.
   */
  getConstraints(original) {
    const constr = this.getSource(original).constraints;
    if (constr != null) {
      const nc = {};
      Object.keys(constr).forEach(key => {
        const val = constr[key];
        if (Array.isArray(val)) {
          nc[_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(key)] = val.map(v => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(v));
        } else {
          nc[_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(key)] = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(val);
        }
      });
      return nc;
    }
    return constr;
  }
  setConstraints(constr) {
    setObjAttr(this.getSource(true), 'constraints', constr);
    this.refreshExtends();
  }

  /**
   * Deps is an array of strings corresponding to predicates, "*" may be used to match
   * anything. The final string in the path may correspond to the object,
   * e.g. a literal or uri.
   * By default, the dependency is given relative to the current items parent.
   * If dependency path should start higher up it can be indicated by providing one or more
   * initial strings with value "..".
   *
   * @return {Object} dependency path that must exist for this item to be visible.
   *
   */
  getDeps(original) {
    const deps = this.getSource(original).deps;
    if (deps != null) {
      return deps.map(d => {
        if (d !== '*' && d !== '..') {
          return _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(d);
        }
        return d;
      });
    }
    return deps;
  }
  setDeps(deps) {
    setObjAttr(this.getSource(true), 'deps', deps);
    this.refreshExtends();
  }

  /**
   * @return {String} a URI indicating the datatype, for example: "http://www.w3.org/2001/XMLSchema.xsd#date".
   */
  getDatatype(original) {
    const dt = this.getSource(original).datatype;
    if (dt != null && dt !== '') {
      return Array.isArray(dt) ? dt.map(d => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(d)) : _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(dt);
    }
    return dt;
  }
  setDatatype(dt) {
    setObjAttr(this.getSource(true), 'datatype', dt);
    this.refreshExtends();
  }
  getPattern(original) {
    return this.getSource(original).pattern;
  }
  setPattern(pattern) {
    setObjAttr(this.getSource(true), 'pattern', pattern);
    this.refreshExtends();
  }

  /**
   * @return {String} a two character language code, only relevant if the item type is Text and the nodetype is
   * a LANGUAGE_LITERAL, indicating that all matching bindings should be set with this language.
   */
  getLanguage(original) {
    return this.getSource(original).language;
  }
  setLanguage(lang) {
    setObjAttr(this.getSource(true), 'language', lang);
    this.refreshExtends();
  }
  getMember(original) {
    return this.getSource(original).member;
  }
  setMember(member) {
    setObjAttr(this.getSource(true), 'member', member);
    this.refreshExtends();
  }

  /**
   * Allowed values are:
   * LITERAL, RESOURCE, URI, BLANK, PLAIN_LITERAL, ONLY_LITERAL, LANGUAGE_LITERAL, DATATYPE_LITERAL
   */
  getNodetype(original) {
    const s = this.getSource(original);
    return s.nodetype || s.nodeType; // Ugly fix because it is often wrong written in SIRFF.
  }
  setNodetype(nt) {
    setObjAttr(this.getSource(true), 'nodetype', nt);
    this.refreshExtends();
  }
  getValue(original) {
    return this.getSource(original).value;
  }
  setValue(value) {
    setObjAttr(this.getSource(true), 'value', value);
    this.refreshExtends();
  }
  getValueTemplate(original) {
    return this.getSource(original).valueTemplate;
  }
  setValueTemplate(valueTemplate) {
    setObjAttr(this.getSource(true), 'valueTemplate', valueTemplate);
    this.refreshExtends();
  }

  /**
   * @return {Object} containing max, min, and preferred properties.
   */
  getCardinality(original) {
    if (!this.getProperty() && this.getType() === 'text') {
      return {
        min: 1,
        max: 1
      };
    }
    const source = this.getSource(original);
    if (source && 'cardinality' in source) {
      return source.cardinality;
    }
    if (!this.getProperty()) {
      return {
        max: 1
      };
    }
    return {};
  }
  setCardinality(card) {
    setObjAttr(this.getSource(true), 'cardinality', card);
    this.refreshExtends();
  }
  isEnabled(original) {
    const s = this.getSource(original);
    return s.enabled == null ? true : s.enabled;
  }
  setEnabled(en) {
    const s = this.getSource(true);
    if (en) {
      delete s.enabled;
    } else {
      s.enabled = en;
    }
    this.refreshExtends();
  }

  /**
   * Classes are exposed in CSS, allows external stylesheets to act on the form.
   * @returns {Array}
   */
  getClasses(original) {
    const source = this.getSource(original);
    if (source && 'cls' in source) {
      return source.cls;
    }
    return [];
  }
  setClasses(arr) {
    setObjAttr(this.getSource(true), 'cls', arr);
    this.refreshExtends();
  }

  /**
   * @deprecated only provided for backward compatability, use styles, classes
   * @param cls
   * @returns {boolean}
   */
  hasClass(cls, original) {
    const s = this.getSource(original);
    if (this.hasStyle(cls, original)) {
      return true;
    }
    if (s.cls == null) {
      return false;
    }
    return s.cls.some(c => c.toLowerCase() === cls.toLowerCase());
  }

  /**
   * The available styles, see the _styles variable.
   *
   * @return {Array} that contains strings with all available styles.
   */
  getAvailableStyles() {
    return this._styles;
  }

  /**
   * @return {Array} that contains strings with the style, if no style is defined an empty array is returned
   */
  getStyles(original) {
    return this.getSource(original).styles || [];
  }
  setStyles(arr) {
    setObjAttr(this.getSource(true), 'styles', arr);
    this.refreshExtends();
  }
  hasStyle(sty, original) {
    const source = this.getSource(original);
    if (!source || !('styles' in source)) {
      return false;
    }
    return source.styles.some(s => s.toLowerCase() === sty.toLowerCase());
  }
  getSource(original, attribute) {
    if (original === true) {
      // Get the original source
      return this._source._extendedSource || this._source;
    } else if (original === false) {
      // Get the extended source
      const entryItem = this._itemStore.getItem(this.getExtends());
      if (entryItem == null) {
        return this._source;
      }
      return entryItem.getSource();
    } // Get the merged source.
    return this._source;
  }
  getBundle() {
    return this._bundle;
  }
  toStringShort() {
    return `'${this.getLabel()}'${this.getId() ? ` (ID: '${this.getId()}')` : ''}`;
  }
  toString() {
    const detailsArr = [];
    if (this.getId()) {
      detailsArr.push(`ID: '${this.getId()}'`);
    }
    detailsArr.push(`TYPE: '${this.getType()}'`);
    if (this.getProperty()) {
      detailsArr.push(`PROPERTY: '${this.getProperty()}'`);
    }
    if (this.getExtends()) {
      detailsArr.push(`EXTENDS: '${this.getExtends()}'`);
    }
    return `'${this.getLabel()}' (${detailsArr.join(', ')})`;
  }
  getHash() {
    return `i_${this._internalId}`;
  }

  //= ==================================================
  // Inherited methods
  //= ==================================================

  //= ==================================================
  // Private methods
  //= ==================================================

  // eslint-disable-next-line class-methods-use-this
  _setLangHash(hash, value, lang) {
    const _hash = hash || {};
    if (typeof value === 'string') {
      if (typeof lang === 'string') {
        _hash[lang] = value;
      } else {
        _hash[''] = value;
      }
    } else if (typeof value === 'object' && value !== null) {
      return value;
    }
    return _hash;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/ItemStore.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/ItemStore.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ItemStore)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _PropertyGroup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PropertyGroup */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/PropertyGroup.js");
/* harmony import */ var _Group__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Group */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Group.js");
/* harmony import */ var _Text__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Text */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Text.js");
/* harmony import */ var _Choice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Choice */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Choice.js");
/* harmony import */ var _OntologyStore__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./OntologyStore */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/OntologyStore.js");
/* harmony import */ var _Bundle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Bundle */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Bundle.js");
/* harmony import */ var _model_engine__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");










const deepMerge = (source1, source2) => {
  if (!source1 || !source2) {
    return source2 === undefined ? source1 : source2;
  }
  if (Array.isArray(source1) && Array.isArray(source2)) {
    return [].concat(source1, source2);
  }
  if (typeof source1 === 'object' && typeof source2 === 'object') {
    const obj = {};
    Object.keys(source1).concat(Object.keys(source2)).forEach(key => {
      obj[key] = deepMerge(source1[key], source2[key]);
    });
    return obj;
  }
  return source2;
};
class ItemStore {
  /**
   * Keeps a registry of templates and reusable items.
   * Use the createTemplate method to create templates from a source
   * json structure, if the structure contains reusable items they are
   * created and stored separately as well.
   */
  constructor(ontologyStore) {
    this.automaticSortAllowed = true;
    /**
     * Value may be console methods or 'throw'.
     * @type {string}
     */
    this.handleErrorAs = 'throw';

    //= =================================================;
    // Private Attribute;
    //= =================================================;
    this._bundles = [];
    this._registry = {};
    this._registryByProperty = {};
    this._ontologyStore = ontologyStore || new _OntologyStore__WEBPACK_IMPORTED_MODULE_7__["default"]();
  }

  //= ==================================================
  // Public API
  //= ==================================================
  getTemplate(id) {
    return this.getItem(id);
  }
  getChildren(group, original) {
    if (group == null) {
      return [];
    }
    const origSource = group.getSource(true);
    const origSourceContent = origSource.content || origSource.items || [];
    if (original) {
      return this._createItems(origSourceContent, group._forceChildrenClones, group.getBundle());
    }
    const ext = this.getItem(origSource.extends);
    if (ext) {
      const children = group.getChildren(true);
      if (group.getEnhanced('items') || children.length === 0) {
        return ext.getChildren().concat(children);
      }
      return children;
    }
    return group.getChildren(true);
  }
  getItem(id) {
    if (id != null) {
      return this._registry[id];
    }
    return undefined;
  }
  getItems() {
    return Object.keys(this._registry).map(key => this._registry[key]);
  }
  renameItem(from, to) {
    if (this._registry[to]) {
      this._handleError(`Cannot rename to ${to} since an item with that id already exists.`);
      return;
    }
    if (to === '' || to === null) {
      this._handleError('Cannot give an item an empty string or null as id.');
      return;
    }
    const item = this._registry[from];
    if (item) {
      delete this._registry[from];
      this._registry[to] = item;
      item.setId(to);
    }
    const renameInGroup = source => {
      const children = source.content;
      if (children) {
        for (let j = 0; j < children.length; j++) {
          const child = children[j];
          if (child.id === from || child['@id'] === from) {
            child.id = to;
            delete child['@id']; // Clean up backward compatibility.
          }
          if (child.content) {
            renameInGroup(child);
          }
        }
      }
    };
    const items = this.getItems();
    for (let i = 0; i < items.length; i++) {
      const childItem = items[i];
      if (childItem instanceof _Group__WEBPACK_IMPORTED_MODULE_4__["default"]) {
        renameInGroup(childItem._source);
      }
    }
  }
  getItemIds() {
    return Object.keys(this._registry);
  }
  getItemByProperty(property) {
    return this._registryByProperty[property];
  }
  detectTemplate(graph, uri, requiredItems) {
    return (0,_model_engine__WEBPACK_IMPORTED_MODULE_9__.constructTemplate)(graph, uri, this, requiredItems);
  }

  /**
   * Bundle is an object containing:
   * path - can be a relative or absolute path to where the templates are/will be loaded from, optional.
   * source - a RDForms template object, mandatory.
   *
   * @param {Object} bundleSrc
   * @return {Bundle} the created bundle.
   */
  registerBundle(bundle) {
    bundle.itemStore = this;
    const b = new _Bundle__WEBPACK_IMPORTED_MODULE_8__["default"](bundle);
    this._bundles.push(b);
    if (bundle.source && bundle.source.namespaces) {
      _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.add(bundle.source.namespaces);
    }
    const templates = bundle.source.templates || bundle.source.auxilliary;
    if (templates instanceof Array) {
      this._createItems(templates, false, b);
    }
    if (typeof bundle.source.cachedChoices === 'object') {
      this._ontologyStore.importRegistry(bundle.source.cachedChoices);
    }
    return b;
  }
  getBundles() {
    return this._bundles;
  }

  // Backward compatability
  createTemplate(source) {
    const b = this.registerBundle({
      source
    });
    return b.getRoot();
  }
  createTemplateFromChildren(children) {
    const childrenObj = (children || []).map(child => typeof child === 'string' ? this.getItem(child) : child);
    return new _Group__WEBPACK_IMPORTED_MODULE_4__["default"]({
      source: {},
      children: childrenObj,
      itemStore: this
    });
  }
  setPriorities(priorities) {
    this.priorities = priorities;
  }

  // eslint-disable-next-line class-methods-use-this
  createExtendedSource(origSource, extSource) {
    const newSource = Object.assign({}, origSource, extSource);
    if (extSource.id === undefined) {
      // If no new id is provided in the original source,
      // don't inherit the id of the extention as then
      // it will be overwrite it in the ItemStore
      delete newSource.id;
    }
    if (extSource.enhanced) {
      let keys;
      if (extSource.enhanced === true) {
        keys = Object.keys(origSource).concat(Object.keys(extSource));
      } else {
        keys = Object.keys(extSource.enhanced);
      }
      keys.forEach(key => {
        newSource[key] = deepMerge(origSource[key], extSource[key]);
      });
    }
    newSource._extendedSource = extSource;
    newSource.extends = null; // Avoid infinite recursion when creating the fleshed out item.
    delete newSource.children;
    return newSource;
  }

  /**
   * At a minimum the source must contain a type, the rest can be changed later.
   *
   * @param source
   * @returns {*}
   */
  createItem(source, forceClone, skipRegistration, bundle) {
    let item;
    const id = source.id || source['@id'];
    const type = source.type || source['@type'];
    if (source.extends) {
      // Explicit extends given
      const extItem = this._registry[source.extends];
      if (extItem == null) {
        this._handleError(`Cannot find item to extend with id: ${source.extends}`);
      }
      if (extItem) {
        const newSource = this.createExtendedSource(extItem.getSource(), source);
        return this.createItem(newSource, false, false, bundle);
      }
    }
    if (type != null) {
      // If there is a type in the source then it means that the object is a new item.
      // eslint-disable-next-line default-case
      switch (type) {
        case 'text':
          item = new _Text__WEBPACK_IMPORTED_MODULE_5__["default"]({
            source,
            itemStore: this,
            bundle
          });
          break;
        case 'choice':
          item = new _Choice__WEBPACK_IMPORTED_MODULE_6__["default"]({
            source,
            itemStore: this,
            ontologyStore: this._ontologyStore,
            bundle
          });
          break;
        case 'group':
          item = new _Group__WEBPACK_IMPORTED_MODULE_4__["default"]({
            source,
            children: null,
            itemStore: this,
            bundle
          }); // Lazy loading of children.
          break;
        case 'propertygroup':
          item = new _PropertyGroup__WEBPACK_IMPORTED_MODULE_3__["default"]({
            source,
            children: null,
            itemStore: this,
            bundle
          }); // Lazy loading of children.
          break;
      }
      if (skipRegistration !== true) {
        if (source.property != null) {
          this._registryByProperty[source.property] = item;
          if (this.priorities && this.priorities[source.property] != null) {
            item.priority = this.priorities[source.property];
          }
        }
        if (id != null) {
          if (this._registry[id]) {
            var _this$_registry$id$ge, _item$getBundle;
            console.log(`RDForms conflict with item id ${id}, overwriting item from bundle "${((_this$_registry$id$ge = this._registry[id].getBundle()) === null || _this$_registry$id$ge === void 0 ? void 0 : _this$_registry$id$ge.getPath()) || ''}" with item from bundle "${((_item$getBundle = item.getBundle()) === null || _item$getBundle === void 0 ? void 0 : _item$getBundle.getPath()) || ''}".`);
          }
          this._registry[id] = item;
          if (bundle != null) {
            bundle.addItem(item);
          }
        }
      }
      return item;
    }
    // No type means it is a reference, check that the referred item (via id) exists
    if (id == null) {
      this._handleError('Cannot create subitem, `type` for creating new or `id` for referencing external are required.');
      return;
    }
    if (this._registry[id] == null) {
      this._handleError(`Cannot find referenced subitem using identifier: ${id}`);
      return;
    }

    // Clone if forceClone set to true or if the source contains non-id properties.
    if (forceClone === true || Object.keys(source).find(key => key !== 'id' && key !== '@id')) {
      const newSource = Object.assign(Object.assign({}, this._registry[id]._source), source);
      return this.createItem(newSource, false, true);
    }
    return this._registry[id];
  }
  removeItem(item, removereferences) {
    const b = item.getBundle();
    if (b != null) {
      b.removeItem(item);
    }
    if (item.getId() != null) {
      delete this._registry[item.getId()];
    }
    const prop = item.getProperty();
    if (prop != null && this._registryByProperty[prop] === item) {
      delete this._registryByProperty[prop];
    }
    if (removereferences) {
      // TODO
    }
  }

  //= ==================================================
  // Private methods
  //= ==================================================
  _createItems(sourceArray, forceClone, bundle) {
    return sourceArray.map((child, index) => {
      // If child is not a object but a direct string reference,
      const childToUse = typeof child === 'string' ? sourceArray[index] = {
        id: child
      } : child;
      return this.createItem(childToUse, forceClone, false, bundle);
    }).filter(item => item);
  }
  _handleError(message) {
    if (this.handleErrorAs === 'throw') {
      throw new Error(message);
    }
    console[this.handleErrorAs](message);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/OntologyStore.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/OntologyStore.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ OntologyStore)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js");


class OntologyStore {
  /**
   * Simple store of ontologies to allow reuse across templates and items.
   */
  constructor() {
    this._registry = {};
  }

  //= ==================================================
  // Public API
  //= ==================================================
  importRegistry(registry) {
    Object.assign(this._registry, registry);
  }
  getChoices(choiceItem, callback) {
    const choices = this._findChoices(choiceItem);
    if (choices == null) {
      // TODO load via xhr and deferred.
    } else {
      if (callback == null) {
        return choices;
      }
      callback(choices);
    }
    return undefined;
  }

  //= ==================================================
  // Private methods
  //= ==================================================
  _findChoices(item) {
    const ontologyChoiceArr = this._registry[item.getOntologyUrl()];
    if (ontologyChoiceArr != null) {
      for (let ind = 0; ind < ontologyChoiceArr.length; ind++) {
        const obj = ontologyChoiceArr[ind];
        if ((0,lodash_es__WEBPACK_IMPORTED_MODULE_1__["default"])(obj.constraints, item.getConstraints()) && item.getParentProperty() === obj.parentProperty && item.getHierarchyProperty() === obj.hierarchyProperty && item.isParentPropertyInverted() === (obj.isParentPropertyInverted || false) && item.isHierarchyPropertyInverted() === (obj.isHierarchyPropertyInverted || false)) {
          return obj.choices;
        }
      }
    }
    return undefined;
  }

  // eslint-disable-next-line class-methods-use-this
  _constructLoadUrl(choiceItem) {
    const params = [];
    params.push(`constr=${encodeURIComponent(JSON.stringify(choiceItem.getConstraints()))}`);
    if (choiceItem.getParentProperty() != null) {
      const pp = choiceItem.isParentPropertyInverted() === true ? 'ipp=' : 'pp=';
      params.push(pp + encodeURIComponent(choiceItem.getParentProperty()));
    }
    if (choiceItem.getHierarchyProperty() != null) {
      const hp = choiceItem.isHierarchyPropertyInverted() === true ? 'ihp=' : 'hp=';
      params.push(hp + encodeURIComponent(choiceItem.getHierarchyProperty()));
    }
    return `${choiceItem.getOntologyUrl()}?${params.join('&')}`;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/PropertyGroup.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/PropertyGroup.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ PropertyGroup)
/* harmony export */ });
/* harmony import */ var _Group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Group */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Group.js");

class PropertyGroup extends _Group__WEBPACK_IMPORTED_MODULE_0__["default"] {
  /**
   * A PropertyGroup captures the special case when both the predicate and object of a
   * tripple should be changable. This is achieved by having a PropertyGroup where the
   * first child is a Choice item corresponding to the predicate and the second being
   * an item corresponding to the object in the triple. The second item can be either a
   * Text, Choice or Group item depending on the kind of object envisioned in the triple.
   */
  getChildren(original) {
    if (this._delegatedChildren == null) {
      const getCardinality = () => ({
        min: 1,
        max: 1,
        pref: 1
      });
      const children = super.getChildren(original) || [];
      this._delegatedChildren = children.map(child => {
        const delegate = Object.create(child);
        delegate.getCardinality = getCardinality;
        return delegate;
      });
    }
    return this._delegatedChildren;
  }
  getPropertyItem() {
    return this.getChildren()[0];
  }
  getObjectItem() {
    return this.getChildren()[1];
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Text.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Text.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Text)
/* harmony export */ });
/* harmony import */ var _Item__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Item */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/Item.js");


/**
 * Same functionality as an Item, but separate class to make switching on type possible.
 */
class Text extends _Item__WEBPACK_IMPORTED_MODULE_0__["default"] {
  getLabelProperties(original) {
    return this.getSource(original).labelProperties;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/bundleLoader.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/template/bundleLoader.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);




/* eslint-disable no-await-in-loop */
/**
 * Check if there's any iterations left in a hypothetical array with 'length' given.
 *
 * @param {number} iteration
 * @param {number} length
 * @param {string} templateId
 * @throws
 */
const stopFetchingOrJustLog = (iteration, length, templateId) => {
  const message = `Fetching template bundle ${templateId} failed.`;
  if (iteration === length - 1) {
    throw Error(`${message} Cannot recover from this, please fix.`);
  } else {
    console.log(`${message} Will try to fetch from a fallback option.`);
  }
};

/**
 * Return the first successfully fetched bundle from a list of urls or throw en error if none could be fetched
 *
 * @param {Array<String>} urls
 * @returns {Promise<Response | never | void>}
 */
const fetchBundle = async urls => {
  const totalUrls = urls.length;
  let response;
  let bundle;
  let path;
  for (let i = 0; i < totalUrls; i++) {
    // try to fetch the bundle, fails only if there's some network error. A 404 is not an error
    path = urls[i];
    try {
      response = await fetch(path);
    } catch (e) {
      throw Error(`A network error ocurred while trying to fetch bundle ${path}`);
    }

    // check if we got a 2xx
    if (response && response.ok) {
      // check if what we got back looks like json and try to parse
      // if all good, then you're done
      // if it cannot parse, then fail soft or hard depending on if there's a fallback left to check
      try {
        const contentType = response.headers.has('content-type') && response.headers.get('content-type');
        if (contentType && contentType.includes('application/json')) {
          bundle = await response.json();
          break;
        } else {
          throw new Error(`Failed fetching template ${path}. Expected a JSON file and got ${contentType}`);
        }
      } catch (e) {
        stopFetchingOrJustLog(i, totalUrls, path);
      }
      // got back something that's not a 2xx
    } else {
      stopFetchingOrJustLog(i, totalUrls, path);
    }
  }
  return {
    path,
    source: bundle
  };
};

/**
 * Fetch or if loaded just wrap it in Promise.resolve
 * @param bundles
 * @returns {Promise<*>}
 */
const promisifyBundles = bundles => bundles.map(bundle => bundle instanceof Array ? fetchBundle(bundle) : Promise.resolve({
  source: bundle
}));

/**
 * Register bundle templates
 *
 * @param {ItemStore} itemStore
 * @param {array} bundles
 */
const registerBundles = function registerBundles(itemStore) {
  let bundles = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  return bundles.map(bundle => itemStore.registerBundle(bundle));
};

/**
 *
 * @param {ItemStore} itemStore
 * @param bundlePaths {Array<Object|String>} an array of object (bundles) or paths
 * @param callback
 */
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (async function (itemStore) {
  let bundlePaths = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  let callback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : () => {};
  if (bundlePaths.length === 0 && callback) {
    // nothing to load
    callback([]);
  }

  // Fetch or if loaded just wrap it in Promise.resolve
  const bundlePromises = promisifyBundles(bundlePaths);
  const loadedBundles = await Promise.all(bundlePromises);
  const registeredBundles = registerBundles(itemStore, loadedBundles);
  callback(registeredBundles); // TODO remove; should be deprecated
  return registeredBundles;
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js");
/* harmony import */ var _model_system__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./model/system */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js");









const getLocalizedValue = (hash, locale) => {
  const _locale = locale || moment__WEBPACK_IMPORTED_MODULE_6___default().locale();
  if (hash == null) {
    return {
      precision: 'none'
    };
  } else if (typeof hash === 'string') {
    return {
      value: hash,
      precision: 'nolang',
      lang: ''
    };
  } else if (hash.hasOwnProperty(_locale)) {
    return {
      value: hash[_locale],
      precision: 'exact',
      lang: _locale
    };
  }
  const pos = _locale.indexOf('_');
  if (pos > -1 && hash.hasOwnProperty(_locale.substr(0, 2))) {
    return {
      value: hash[_locale.substr(0, 2)],
      precision: 'coarsen',
      lang: _locale.substr(0, 2)
    };
  } else if (hash.hasOwnProperty('en')) {
    return {
      value: hash.en,
      precision: 'default',
      lang: 'en'
    };
  } else if (hash.hasOwnProperty('')) {
    return {
      value: hash[''],
      precision: 'nolang',
      lang: ''
    };
  }
  const allLangs = Object.keys(hash);
  if (allLangs.length > 0) {
    return {
      value: hash[allLangs[0]],
      precision: 'any',
      lang: allLangs[0]
    };
  }
  return {
    precision: 'none'
  };
};
const f = (graph, subject, prop) => {
  const stmts = graph.find(subject, prop);
  if (stmts.length > 0) {
    const obj = {};
    for (let s = 0; s < stmts.length; s++) {
      obj[stmts[s].getLanguage() || ''] = stmts[s].getValue();
    }
    return obj;
  }
  return undefined;
};
const getLocalizedMap = (graphOrBinding, subject, propArr) => {
  let graph;
  let _subject = subject;
  let _propArr = propArr;
  if (graphOrBinding.getItem) {
    // graphOrBinding is a Binding
    graph = graphOrBinding.getGraph();
    _subject = graphOrBinding.getValue();
    _propArr = graphOrBinding.getItem().getURIValueLabelProperties();
  } else {
    graph = graphOrBinding;
  }
  if (_propArr == null || _propArr.length === 0) {
    _propArr = _model_system__WEBPACK_IMPORTED_MODULE_8__["default"].labelProperties;
  }
  for (let i = 0; i < _propArr.length; i++) {
    const props = _propArr[i];
    if (Array.isArray(props)) {
      const valueArr = [];
      for (let j = 0; j < props.length; j++) {
        const value = f(graph, _subject, props[j]);
        if (value) {
          valueArr.push(getLocalizedValue(value).value);
        }
      }
      if (valueArr.length > 0) {
        return {
          '': valueArr.join(' ')
        };
      }
    } else {
      const value = f(graph, _subject, props);
      if (value) {
        return value;
      }
    }
  }
  return undefined;
};
const cloneArrayWithLabels = (objects, noSort) => {
  const itemsArray = [];
  for (let i = 0; i < objects.length; i++) {
    const o = objects[i];
    const currentLabel = getLocalizedValue(o.label);
    const obj = {
      value: o.value,
      label: currentLabel.value || o.value || ''
    };
    if (o.top === true) {
      obj.top = true;
    }
    if (o.children != null) {
      obj.children = (0,lodash_es__WEBPACK_IMPORTED_MODULE_7__["default"])(o.children);
    }
    if (o.selectable === false) {
      obj.selectable = false;
    } else {
      obj.selectable = true;
    }
    itemsArray.push(obj);
  }
  if (noSort !== true) {
    itemsArray.sort((o1, o2) => o1.label > o2.label ? 1 : -1);
  }
  return itemsArray;
};
const extractGist = (str, template) => {
  let _template = template;
  if (_template) {
    if (_template.indexOf('$1') === -1) {
      _template += '$1';
    }
    const r = `${_template}`.replace(/([.?*+^$[\]\\(){}|-])/g, '\\$1').replace('\\$1', '(.*)');
    const e = new RegExp(r).exec(str);
    if (e != null) {
      return e[1];
    }
  }
  return str;
};
const findFirstValue = (engine, graph, uri, template) => {
  const fvb = engine.findFirstValueBinding(engine.match(graph, uri, template), false);
  if (!fvb) {
    return undefined;
  }
  if (fvb.getChoice) {
    return getLocalizedValue(fvb.getChoice().label).value;
  }
  return fvb.getGist();
};
const generateUUID = () => {
  // Public Domain/MIT
  let d = new Date().getTime();
  if (typeof performance !== 'undefined' && typeof performance.now === 'function') {
    d += performance.now(); // use high-precision timer if available
  }
  return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
    // eslint-disable-next-line no-mixed-operators,no-bitwise
    const r = (d + Math.random() * 16) % 16 | 0;
    d = Math.floor(d / 16);
    // eslint-disable-next-line no-bitwise,no-mixed-operators
    return (c === 'x' ? r : r & 0x3 | 0x8).toString(16);
  });
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  getLocalizedValue,
  getLocalizedMap,
  cloneArrayWithLabels,
  extractGist,
  findFirstValue,
  generateUUID
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Editor.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Editor.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Editor)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _Presenter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Presenter */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Presenter.js");
/* harmony import */ var _model_CODES__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../model/CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");
/* harmony import */ var _model_engine__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");
/* harmony import */ var _model_validate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../model/validate */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/validate.js");






const showNow = (editor, item, bindings, includeLevel) => {
  // Invisible should be created as components and hidden using display: none
  // Otherwise certain extentions such as autoUUID does not work.
  /* if (item.hasStyle('invisible') || item.hasStyle('invisibleInEdit')) {
    return false;
  } */
  if (item.hasStyle('presenterOnly')) {
    return false;
  }
  if (item.hasStyle('deprecated') && bindings.length === 0) {
    return false;
  }
  const prop = item.getProperty();
  if (bindings.length > 0) {
    if (prop) {
      return !editor.filterItem(item);
    }

    // Take care of layout grouping by checking recursively.
    if (item.getType() === 'group') {
      const groupedItemsArr = item.getChildren();
      if (groupedItemsArr.length === 0) {
        return true; // Corresponds to an extention or pure heading, since no children.
      }
      if (item.hasStyle('atLeastOneChild') || item.hasStyle('exactlyOneChild')) {
        return true;
      }
      if (bindings[0].getItemGroupedChildBindings().find((childBindings, idx) => showNow(editor, groupedItemsArr[idx], childBindings, includeLevel))) {
        return true;
      }
      if (!prop) {
        return false;
      }
    } else {
      return true;
    }
  }
  const card = item.getCardinality();
  switch (includeLevel) {
    case 'mandatory':
      return card && card.min >= 1;
    case 'recommended':
      return card && (card.min >= 1 || card.pref >= 1);
    default:
      return true;
  }
};
class Editor extends _Presenter__WEBPACK_IMPORTED_MODULE_2__["default"] {
  _handleParams(params) {
    this._subEditors = this._subEditors || [];
    this.includeLevel = params.includeLevel || 'recommended';
    this.hideAddress = params.hideAddress !== false; // For instance when you expose address in surrounding application
    params.styleCls = params.styleCls || 'rdformsEditor';
    params.filterTranslations = params.filterTranslations !== undefined ? params.filterTranslations : false;
    super._handleParams(params);
  }
  getSubEditorForBinding(binding) {
    return this._subEditors.find(editor => editor.getBinding() === binding);
  }
  report(report) {
    const _report = report || (0,_model_validate__WEBPACK_IMPORTED_MODULE_5__.bindingReport)(this.binding);
    Object.keys(this._binding2node).forEach(key => {
      _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(this._binding2node[key], 'errorReport', false);
    });
    for (let j = 0; j < _report.errors.length; j++) {
      const err = _report.errors[j];
      if (err.parentBinding === this.binding) {
        if (err.code === _model_CODES__WEBPACK_IMPORTED_MODULE_3__["default"].TOO_FEW_VALUES_MIN) {
          const item = err.item;
          let counter = item.getCardinality().min;
          this.binding.getChildBindingsFor(item).find(binding => {
            counter -= 1;
            if (!binding.isValid()) {
              _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(this._binding2node[binding.getHash()], 'errorReport', true);
            }
            return counter === 0;
          });
        } else if (err.code === _model_CODES__WEBPACK_IMPORTED_MODULE_3__["default"].AT_MOST_ONE_CHILD) {
          this.binding.getChildBindings().forEach(binding => {
            if (binding.getMatchingCode() !== _model_CODES__WEBPACK_IMPORTED_MODULE_3__["default"].OK) {
              _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(this._binding2node[binding.getHash()], 'errorReport', true);
            }
          });
        }
      }
    }
    for (let i = 0; i < this._subEditors.length; i++) {
      this._subEditors[i].report(_report);
    }
  }
  getIncludeLevel() {
    return this.includeLevel;
  }
  setIncludeLevel(includeLevel) {
    if (this.includeLevel === includeLevel) {
      return;
    }
    this.includeLevel = includeLevel;
    if (this.graph == null || this.resource == null || this.template == null) {
      return;
    }
    this.binding = _model_engine__WEBPACK_IMPORTED_MODULE_4__.match(this.graph, this.resource, this.template);
    this._subEditors = [];
    this.render();
  }

  //= ==================================================
  // Inherited methods
  //= ==================================================

  show(params) {
    this._subEditors = [];
    super.show(params);
  }

  /**
   * Will only show something for the given item if there is anything to show, or if the
   * includeLevel indicates to show it anyhow (for example min cardinality > 0 or includeLevel
   * is optional or recommended at the same time the preferred cardinality is bigger than zero.
   * @param {Object} item
   * @param {Object} bindings
   */
  showNow(item, bindings) {
    return showNow(this, item, bindings, this.includeLevel);
  }

  // eslint-disable-next-line class-methods-use-this
  skipBinding(/* binding */
  ) {
    return false;
  }

  /**
   * Will add bindings until the min cardinality is reached.
   * @param {Object} item
   * @param {Object} bindings
   */
  prepareBindings(item, bindings) {
    let _bindings = bindings;
    const card = item.getCardinality();
    let target;
    if (card.pref > 0) {
      target = card.pref;
    } else if (card.min > 0) {
      target = card.min;
    } else if (item.getType() === 'propertygroup') {
      // Was 0 before, old way. Now regulated via includeLevel and expand style instead.
      target = 1;
    } else if (item.getType() === 'group') {
      if (item.getProperty() == null) {
        target = 1;
      } else {
        // Was 0 before, old way. Now regulated via includeLevel and expand style instead.
        target = 1;
      }
    } else {
      target = 1;
    }
    if (item.hasStyle('nonEditable') && !item.hasStyle('autoInitDate') && !item.hasStyle('autoUpdateDate') && !item.hasStyle('autoUUID') && !item.hasStyle('autoValue') && !item.getValue()) {
      return _bindings;
    }
    if (target > _bindings.length) {
      _bindings = _bindings.concat([]);
      while (target > _bindings.length) {
        _bindings.push(_model_engine__WEBPACK_IMPORTED_MODULE_4__.create(this.binding, item));
      }
    }
    return _bindings;
  }
  addLabel(rowDiv, binding, item) {
    _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].renderEditorLabel(rowDiv, binding, item, this.context);
  }
  createEndOfRowNode(rowNode, binding, item) {
    _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].renderEditorLabelScopeEnd(rowNode, binding, item, this.context);
  }
  addTable(newRow, firstBinding) {
    if (firstBinding.getItem().hasStyle('nonEditable')) {
      return this.addComponent(newRow, firstBinding);
    }
    return _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].addEditorTable(newRow, firstBinding, {
      view: this
    });
  }
  fillTable(table, bindings) {
    _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].fillEditorTable(table, bindings, {
      view: this
    });
  }
  preRenderView() {
    _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].preEditorViewRenderer(this.domNode, this.binding, {
      view: this,
      inEditor: true,
      topLevel: this.topLevel,
      hideAddress: this.hideAddress
    });
  }
  addComponent(fieldDiv, binding) {
    this.context.inEditor = true;
    if (binding.getItem().hasStyle('nonEditable')) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].renderPresenter(fieldDiv, binding, this.context);
    } else {
      _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].renderEditor(fieldDiv, binding, this.context);
    }
  }
  createRowNode(lastRowNode, binding, item) {
    if (binding == null && item.hasStyle('nonEditable')) {
      return undefined;
    }
    const newNode = super.createRowNode(lastRowNode, binding, item);
    if (item.getType() === 'choice' && typeof item.getProperty() === 'undefined') {
      const popular = _model_engine__WEBPACK_IMPORTED_MODULE_4__.findPopularChoice(item, binding.getParent());
      if (popular) {
        binding.setChoice(popular);
      }
    }
    const path = item.getDeps();
    if (path) {
      const f = match => {
        if (!match) {
          if (binding.isValid()) {
            _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(newNode, 'missingDepsWithValue', true);
          } else {
            _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(newNode, 'missingDeps', true);
          }
        } else {
          _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(newNode, 'missingDepsWithValue', false);
          _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(newNode, 'missingDeps', false);
        }
        binding.getCardinalityTracker().setDepsOk(match);
      };
      const fromBinding = _model_engine__WEBPACK_IMPORTED_MODULE_4__.findBindingRelativeToParentBinding(binding.getParent(), path);
      if (!_model_engine__WEBPACK_IMPORTED_MODULE_4__.matchPathBelowBinding(fromBinding, path)) {
        f(false);
      }
      const listener = (/* changedBinding */
      ) => {
        if (!binding.getParent()) {
          // Current binding has been removed, remove the listener
          fromBinding.removeListener(listener);
        } else {
          f(_model_engine__WEBPACK_IMPORTED_MODULE_4__.matchPathBelowBinding(fromBinding, path));
        }
      };
      fromBinding.addListener(listener);
    }
    if (this.filterBinding(binding)) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(newNode, 'hiddenProperty', true);
    }
    if (item.hasStyle('deprecated')) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].domClassToggle(newNode, 'rdformsDeprecated', true);
    }
    return newNode;
  }

  // eslint-disable-next-line class-methods-use-this
  isMultiValued(item) {
    return _renderingContext__WEBPACK_IMPORTED_MODULE_1__["default"].multiValueSupport && (item.hasStyle('horizontalCheckBoxes') || item.hasStyle('verticalCheckBoxes'));
  }
  truncateAt(item, bindings) {
    return -1;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Presenter.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Presenter.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Presenter)
/* harmony export */ });
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _View__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./View */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/View.js");
/* eslint-disable class-methods-use-this */


const showNow = (editor, item, bindings) => {
  if (bindings.length === 0 ||
  //    item.hasStyle('deprecated') ||
  item.hasStyle('invisible') || item.hasStyle('invisibleInPresent')) {
    return false;
  }
  const prop = item.getProperty();
  if (prop) {
    return !editor.filterItem(item);
  }

  // Take care of layout grouping by checking recursively.
  if (item.getType() === 'group') {
    const groupedItemsArr = item.getChildren();
    if (groupedItemsArr.length === 0) {
      return true; // Corresponds to an extention or pure heading, since no children.
    }
    if (bindings[0].getItemGroupedChildBindings().find((childBindings, idx) => showNow(editor, groupedItemsArr[idx], childBindings))) {
      return true;
    }
    return false;
  }
  return true;
};
class Presenter extends _View__WEBPACK_IMPORTED_MODULE_1__["default"] {
  _handleParams(params) {
    this.showLanguage = params.showLanguage !== false;
    this.filterTranslations = params.filterTranslations !== false;
    this.defaultLanguage = params.defaultLanguage;
    this.styleCls = params.styleCls || 'rdformsPresenter';
    super._handleParams(params);
  }

  /**
   * Show only if any bindings exists for the given item.
   * @param {Object} item
   * @param {Object} bindings
   */
  showNow(item, bindings) {
    return showNow(this, item, bindings);
    /*    if (item.hasStyle('deprecated') && bindings.length === 0) {
          return false;
        }
        return bindings.length > 0 && !item.hasStyle('invisible');*/
  }
  skipBinding(binding) {
    const item = binding.getItem();
    const isGroup = item.getType() === 'group';
    if (!item.getProperty() && isGroup && item.getChildren().length === 0) {
      return false; // Corresponds to an extention or pure heading, since no children.
    }
    return isGroup && binding.getChildBindings().length === 0;
  }

  /**
   * Has no effect on items that with node type different than LANGUAGE_LITERAL
   * or if filterTranslations is set to false. Otherwise a single binding is
   * returned with the best language match according to the locale.
   *
   * @param {Object} item
   * @param {Object} bindings
   * @param {Array} with a single value if the filtering has taken place,
   * otherwise same as input bindings.
   */
  prepareBindings(item, bindings) {
    if (!item.hasStyle('filterTranslations') && (!this.filterTranslations || item.getNodetype() !== 'LANGUAGE_LITERAL' || item.hasStyle('viewAllTranslations'))) {
      return bindings;
    }
    return _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].filterTranslations(bindings, this.getLocale(), this.defaultLanguage);
  }
  addLabel(rowDiv, binding, item) {
    if (item.hasStyle('noLabelInPresent')) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].domClassToggle(rowDiv, 'rdformsInvisibleGroup', true);
    } else {
      _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].renderPresenterLabel(rowDiv, binding, item, this.context);
    }
  }
  addTable(newRow, firstBinding) {
    return _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].addPresenterTable(newRow, firstBinding, {
      view: this
    });
  }
  fillTable(table, bindings) {
    return _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].fillPresenterTable(table, bindings, {
      view: this
    });
  }
  preRenderView() {
    _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].prePresenterViewRenderer(this.domNode, this.binding, {
      view: this,
      topLevel: this.topLevel
    });
  }
  addComponent(fieldDiv, binding) {
    _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].renderPresenter(fieldDiv, binding, this.context);
  }

  /**
   * Truncate for presentations when:
   * - not a group (repeated labels does not look nice being truncated)
   * - if truncate setting is enabled on the presenter or the individual item ('truncate' and not 'noTruncate' is set)
   * - if the truncate limit is exceeded
   *
   * @param item
   * @param bindings
   * @return {number}
   */
  truncateAt(item, bindings) {
    return item.getType() !== 'group' && bindings && bindings.length > this.truncateLimit && (this.truncate || item.hasStyle('truncate')) && !item.hasStyle('noTruncate') ? this.truncateLimit : -1;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Registry.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Registry.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Registry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");



const matchRdfType = (item, type) => {
  const constr = item.getConstraints();
  return constr != null && constr[rdfType] === type;
};
const arrayCompare = (arr1, arr2) => {
  const _arr1 = Array.isArray(arr1) ? arr1 : arr1 != null ? [arr1] : [];
  const _arr2 = Array.isArray(arr2) ? arr2 : arr2 != null ? [arr2] : [];
  if (_arr1.length !== _arr2.length) {
    return false;
  }
  return _arr1.every(v => _arr2.includes(v));
};
const matchConstraint = (item, constraints) => {
  if (constraints == null) {
    return true;
  }
  const constr = item.getConstraints();
  let match = true;
  if (constr == null) {
    return false;
  }
  Object.keys(constr).find(key => {
    const c = constraints[key];
    if (c === '' || c === '*' || arrayCompare(c, constr[key])) {
      return false;
    }
    match = false;
    return true;
  });
  return match;
};
const filterMethods = ['itemtype', 'choices', 'nodetype', 'datatype', 'rdftype', 'constraint', 'predicate', 'style', 'item', 'check'];
const Filter = function Filter(registry) {
  this.filterObj = {};
  this.registry = registry;
};
Filter.prototype.register = function (component) {
  this.registry.register(this.filterObj, component);
};
filterMethods.forEach(meth => {
  Filter.prototype[meth] = function (value) {
    const cstr = {};
    switch (meth) {
      case 'constraint':
        Object.keys(value).forEach(key => {
          const vv = value[key];
          if (Array.isArray(vv)) {
            cstr[_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(key)] = vv.map(v => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(v));
          } else {
            cstr[_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(key)] = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(vv);
          }
        });
        this.filterObj[meth] = cstr;
        break;
      case 'predicate':
      case 'rdftype':
      case 'datatype':
        this.filterObj[meth] = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_2__.namespaces.expand(value);
        break;
      default:
        this.filterObj[meth] = value || true;
    }
    return this;
  };
});
class Registry {
  constructor() {
    this.components = [];
    this.priorities = {
      CHECK: 1,
      ITEMTYPE: 2,
      CHOICES: 4,
      NODETYPE: 8,
      DATATYPE: 16,
      RDFTYPE: 32,
      CONSTRAINT: 64,
      PREDICATE: 128,
      STYLE: 256,
      ITEM: 512
    };
  }
  calculatePriority(item, filter) {
    let prio = 0;
    if (filter.itemtype) {
      prio += this.priorities.ITEMTYPE;
      if (item.getType() !== filter.itemtype) {
        return -1;
      }
    }
    if (filter.choices) {
      prio += this.priorities.CHOICES;
      switch (filter.choices) {
        case 'static':
          if (!item.hasStaticChoices()) {
            return -1;
          }
          break;
        case 'dynamic':
          if (!item.hasChoices() || item.hasStaticChoices()) {
            return -1;
          }
          break;
        case 'none':
          if (item.hasChoices()) {
            return -1;
          }
          break;
        case 'any':
        default:
          if (!item.hasChoices()) {
            return -1;
          }
      }
    }
    if (filter.nodetype) {
      prio += this.priorities.NODETYPE;
      if (item.getNodetype() !== filter.nodetype) {
        return -1;
      }
    }
    if (filter.datatype) {
      prio += this.priorities.DATATYPE;

      /** @type {Array|string} */
      const itemDatatype = item.getDatatype();
      let noMatch = true;
      if (itemDatatype) {
        noMatch = Array.isArray(itemDatatype) ? !itemDatatype.includes(filter.datatype) : itemDatatype !== filter.datatype;
      }
      if (noMatch) {
        return -1;
      }
    }
    if (filter.rdftype) {
      prio += this.priorities.RDFTYPE;
      if (!matchRdfType(item, filter.rdftype)) {
        return -1;
      }
    }
    if (filter.constraint) {
      prio += this.priorities.CONSTRAINT;
      if (!matchConstraint(item, filter.constraint)) {
        return -1;
      }
    }
    if (filter.predicate) {
      prio += this.priorities.PREDICATE;
      if (item.getProperty() !== filter.predicate) {
        return -1;
      }
    }
    if (filter.style) {
      prio += this.priorities.STYLE;
      if (!item.hasStyle(filter.style)) {
        return -1;
      }
    }
    if (filter.item) {
      prio += this.priorities.ITEM;
      if (item !== filter.item && (!filter.item.getId || item.getId() !== filter.item.getId())) {
        return -1;
      }
    }
    if (filter.check) {
      if (!filter.check(item)) {
        return -1;
      }
    }
    return prio;
  }
  getPriority(item, component) {
    for (let i = 0; i < this.components.length; i++) {
      if (this.components[i].component === component) {
        const prio = this.calculatePriority(item, this.components[i].filter);
        if (prio >= 0) {
          return prio;
        }
      }
    }
    return 0;
  }
  getComponentBefore(item, component) {
    const limitprio = this.getPriority(item, component);
    return this.getComponent(item, limitprio);
  }
  getComponent(item, limitPrio) {
    let bestComponent;
    let bestPrio = -1;
    let prio;
    let component;
    for (let i = 0; i < this.components.length; i++) {
      component = this.components[i];
      prio = this.calculatePriority(item, component.filter);
      if (prio > bestPrio && (typeof limitPrio === 'undefined' || prio < limitPrio)) {
        bestComponent = component;
        bestPrio = prio;
      }
    }
    if (bestComponent) {
      return bestComponent.component;
    }
    return undefined;
  }
  register(filter, component) {
    this.components.push({
      component,
      filter
    });
  }
  itemtype(itemtype) {
    return new Filter(this).itemtype(itemtype);
  }
  choices(kindOfChoicesRequired) {
    // 'none', 'static', 'dynamic' or 'any', 'any' is default.
    return new Filter(this).choices(kindOfChoicesRequired);
  }
  nodetype(nodetype) {
    return new Filter(this).nodetype(nodetype);
  }
  datatype(datatype) {
    return new Filter(this).datatype(datatype);
  }
  rdftype(rdftype) {
    return new Filter(this).rdftype(rdftype);
  }
  constraint(constraint) {
    return new Filter(this).constraint(constraint);
  }
  predicate(predicate) {
    return new Filter(this).predicate(predicate);
  }
  style(style) {
    return new Filter(this).style(style);
  }
  item(item) {
    return new Filter(this).item(item);
  }
  check(func) {
    return new Filter(this).check(func);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/ValidationPresenter.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/ValidationPresenter.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ValidationPresenter)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _Presenter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Presenter */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Presenter.js");
/* harmony import */ var _model_CODES__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../model/CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");
/* harmony import */ var _model_engine__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");
/* harmony import */ var _model_validate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../model/validate */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/validate.js");







const localize = (bundle, key, val) => {
  if (val === 1) {
    return bundle[`${key}_one`];
  }
  return bundle[`${key}_more`].replace('$1', val);
};
class ValidationPresenter extends _Presenter__WEBPACK_IMPORTED_MODULE_3__["default"] {
  _handleParams(params) {
    params.showLanguage = params.showLanguage !== false;
    params.filterTranslations = false;
    params.styleCls = params.styleCls || 'rdformsPresenter rdformsValidator';
    this.fuzzy = params.fuzzy !== false;
    super._handleParams(params);
    if (this.binding) {
      (0,_model_validate__WEBPACK_IMPORTED_MODULE_6__.bindingReport)(this.binding);
    }
  }
  showNow(item, bindings) {
    if (item.hasStyle('invisible') || item.hasStyle('invisibleInPresent')) {
      return false;
    }
    if (bindings.length > 0) {
      return true;
    }
    if (item.hasStyle('deprecated')) {
      return false;
    }
    if (item.hasStyle('atLeastOneChild') || item.hasStyle('exactlyOneChild')) {
      return true;
    }
    if (item.hasStyle('atLeastOneChild') || item.hasStyle('exactlyOneChild')) {
      return true;
    }
    const code = this.binding.getMatchingCode();
    if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].MISSING_CONSTRAINTS || code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].WRONG_NODETYPE) {
      return false;
    }
    const card = item.getCardinality();
    switch (this.includeLevel) {
      case 'mandatory':
        return card && card.min >= 1;
      case 'recommended':
      default:
        return card && (card.min >= 1 || card.pref >= 1);
    }
  }

  // eslint-disable-next-line class-methods-use-this
  showAsTable() {
    return false;
  }

  /**
   * Has no effect on items that with node type different than LANGUAGE_LITERAL or if
   * filterTranslations is set to false. Otherwise a single binding is returned with the best
   * language match according to the locale.
   *
   * @param {Object} item
   * @param {Object} bindings
   * @param {Array} with a single value if the filtering has taken place, otherwise same as
   * input bindings.
   */
  prepareBindings(item, bindings) {
    let _bindings = bindings;
    const card = item.getCardinality();
    let target;
    const min = card.min != null ? card.min : 0;
    const pref = card.pref != null ? card.pref : 0;
    if (card.pref > 0) {
      target = card.pref;
    } else if (card.min > 0) {
      target = card.min;
    } else if (item.getType() === 'propertygroup') {
      target = 0;
    } else if (item.getType() === 'group') {
      if (item.getProperty() == null) {
        target = 1;
      } else {
        target = 0;
      }
    } else {
      target = 0;
    }
    const code = this.binding.getMatchingCode();
    const groupChildRequirementHinder = !(this.binding.getItem().hasStyle('atleastOneChild') || this.binding.getItem().hasStyle('atMostOneChild') || this.binding.getItem().hasStyle('disjoint') || this.binding.getItem().hasStyle('exactlyOneChild')) || code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_FEW_VALUES_MIN || code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_FEW_VALUES_PREF;
    const groupError = code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].MISSING_CONSTRAINTS || code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].WRONG_NODETYPE;
    if (target > _bindings.length && groupChildRequirementHinder && !groupError) {
      _bindings = _bindings.concat([]);
      while (target > _bindings.length) {
        const binding = (0,_model_engine__WEBPACK_IMPORTED_MODULE_5__.create)(this.binding, item);
        if (_bindings.length < min) {
          binding.setMatchingCode(_model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_FEW_VALUES_MIN);
          // binding.error = CODES.TOO_FEW_VALUES;
        } else if (_bindings.length < pref) {
          binding.setMatchingCode(_model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_FEW_VALUES_PREF);
          // binding.warning = CODES.TOO_FEW_VALUES;
        }
        _bindings.push(binding);
      }
    }
    return _bindings;
  }

  // eslint-disable-next-line class-methods-use-this
  skipBinding() {
    return false;
  }
  addValidationMarker(fieldDiv, binding) {
    var _binding$getCardinali;
    const item = binding.getItem();
    const card = item.getCardinality();
    const min = card.min != null ? card.min : 0;
    const pref = card.pref != null ? card.pref : 0;
    const cardCode = item.getType() === 'group' ? (_binding$getCardinali = binding.getCardinalityTracker()) === null || _binding$getCardinali === void 0 ? void 0 : _binding$getCardinali.getCode() : undefined;
    const code = cardCode && cardCode !== _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].OK && cardCode !== _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].UNKNOWN ? cardCode : binding.getMatchingCode();
    const error = code !== _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_FEW_VALUES_PREF && code !== _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].OK;
    const warning = code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_FEW_VALUES_PREF;
    if (error) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_2__["default"].domClassToggle(fieldDiv, 'error', true);
      let tmpl;
      if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_FEW_VALUES_MIN) {
        tmpl = localize(this.messages, 'validation_min_required', min);
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].TOO_MANY_VALUES) {
        tmpl = localize(this.messages, 'validation_max', card.max || 1);
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].AT_MOST_ONE_CHILD) {
        tmpl = this.messages.validation_at_most_one_child;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].AT_LEAST_ONE_CHILD) {
        tmpl = this.messages.validation_at_least_one_child;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].EXACTLY_ONE_CHILD) {
        tmpl = this.messages.validation_exactly_one_child;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].WRONG_NODETYPE) {
        tmpl = this.messages.validation_nodetype;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].WRONG_VALUE) {
        tmpl = this.messages.validation_value;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].WRONG_DATATYPE) {
        tmpl = this.messages.validation_datatype;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].MISSING_CONSTRAINTS) {
        tmpl = this.messages.validation_constraints;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].WRONG_PATTERN) {
        tmpl = this.messages.validation_pattern;
      } else if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_4__["default"].MISSING_LANGUAGE) {
        tmpl = this.messages.validation_language;
      }
      _renderingContext__WEBPACK_IMPORTED_MODULE_2__["default"].renderValidationMessage(fieldDiv, 'error', tmpl);
      return true;
    } else if (warning) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_2__["default"].domClassToggle(fieldDiv, 'warning', true);
      const tmpl = localize(this.messages, 'validation_min_recommended', pref);
      _renderingContext__WEBPACK_IMPORTED_MODULE_2__["default"].renderValidationMessage(fieldDiv, 'warning', tmpl);
      return true;
    } else if (item.hasStyle('deprecated')) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_2__["default"].domClassToggle(fieldDiv, 'deprecated', true);
      _renderingContext__WEBPACK_IMPORTED_MODULE_2__["default"].renderValidationMessage(fieldDiv, 'deprecated', this.messages.validation_deprecated);
      return true;
    }
    return false;
  }
  addComponent(fieldDiv, binding) {
    super.addComponent(fieldDiv, binding);
    this.addValidationMarker(fieldDiv, binding);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/View.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/View.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ View)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _model_GroupBinding__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../model/GroupBinding */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/GroupBinding.js");
/* harmony import */ var _model_engine__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");
/* harmony import */ var _model_validate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../model/validate */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/validate.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_8__);



/* eslint-disable class-methods-use-this,no-unused-vars */






let viewCounter = 0;
class View {
  constructor(params, srcNodeRef) {
    this._viewId = viewCounter;
    viewCounter += 1;
    this.renderingParams = params.renderingParams || {};
    this.locale = params.locale;
    this.defaultTextLanguage = params.defaultTextLanguage;
    this.messages = params.messages;
    this.parentView = params.parentView;
    this.srcNodeRef = srcNodeRef;
    this.binding = params.binding || null;
    this.template = params.template || null;
    this.graph = params.graph || null;
    this.resource = params.resource || '';
    this.topLevel = params.topLevel !== false;
    this.compact = params.compact !== false;
    this.showDescription = params.showDescription === true;
    this.popupOnLabel = params.popupOnLabel !== false;
    this.styleCls = params.styleCls || '';
    this.truncateLimit = params.truncateLimit !== undefined ? params.truncateLimit : 10;
    this.truncate = params.truncate !== undefined ? params.truncate : false;
    this.headingLevel = params.headingLevel || 2;
    if (Array.isArray(params.filterPredicates)) {
      this.filterPredicates = params.filterPredicates.reduce((prev, current) => {
        prev[current] = true;
        return prev;
      }, {});
    } else if (typeof params.filterPredicates === 'object') {
      this.filterPredicates = params.filterPredicates;
    } else if (typeof params.filterPredicates === 'string') {
      this.filterPredicates = params.filterPredicates.split(',').reduce((prev, current) => {
        prev[current] = true;
        return prev;
      }, {});
    } else {
      this.filterPredicates = null;
    }
    this.restrictToItem = params.restrictToItem;
    this.fuzzy = params.fuzzy === true;
    this.markOrigin = params.markOrigin !== false;
    this._handleParams(params);
    this._labelIndex = {};
    this.domNode = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].createDomNode(srcNodeRef, this);
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(this.domNode, 'rdforms', true);
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(this.domNode, this.styleCls, true);
    this.render();
  }
  getParentView() {
    return this.parentView;
  }
  getNamedGraphId(namedGraph) {
    if (!this.markOrigin) {
      return undefined;
    }
    if (!this.namedGraphs) {
      this.namedGraphs = {};
      this.namedGraphCounter = 65; // 'A'
    }
    let id = this.namedGraphs[namedGraph];
    if (id === undefined) {
      id = String.fromCharCode(this.namedGraphCounter);
      this.namedGraphs[namedGraph] = id;
      this.namedGraphCounter += 1;
    }
    return id;
  }
  getNamedGraphFromId(id) {
    return this.namedGraphs ? Object.keys(this.namedGraphs).find(key => this.namedGraphs[key] === id) : undefined;
  }
  destroy() {
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].destroyDomNode(this.domNode, this);
  }
  getBinding() {
    return this.binding;
  }
  _handleParams(params) {
    if (params.binding) {
      this.binding = params.binding;
    } else {
      this.template = params.template || this.template;
      this.graph = params.graph || this.graph;
      this.resource = params.resource || this.resource;
      if (this.graph == null || this.resource == null || this.template == null) {
        return;
      }
      if (this.fuzzy) {
        this.binding = _model_engine__WEBPACK_IMPORTED_MODULE_6__.fuzzyMatch(this.graph, this.resource, this.template);
        (0,_model_validate__WEBPACK_IMPORTED_MODULE_7__.bindingReport)(this.binding); // Just to make all extra errors and warnings to be materialized, don't care about the report
      } else {
        this.binding = _model_engine__WEBPACK_IMPORTED_MODULE_6__.match(this.graph, this.resource, this.template);
      }
    }
  }

  /**
   * Tells wether something should be shown for the provided bindings and belonging item.
   * @param {Object} item
   * @param {Object} bindings
   * @return {Boolean} true if something should be shown.
   */
  showNow(/* item,  bindings */
  ) {
    return true;
  }
  skipBinding(/* binding */
  ) {
    return false;
  }

  /**
   * This function may change the array of bindings, for instance remove all but
   * the best language or complement the existing bindings
   * until the min cardinality is reached.
   *
   * @param {Object} item
   * @param {Array} bindings
   * @return {Array} of bindings
   */
  prepareBindings(/* item, bindings */
  ) {}

  /**
   * Adds a table with headers for the given firstBinding.
   * @param {Node} lastRow if provided it is the last row as a DOM element.
   * @param {Object} firstBinding the first binding to show in this table.
   */
  addTable(/* lastRow, firstBinding */
  ) {}

  /**
   * Fills the table with one row for each binding in bindings.
   *
   * @param {Object} table a table DOM element
   * @param {Array} bindings an array of bindings
   */
  fillTable(/* table, bindings */
  ) {}
  addLabel(/* rowDiv, labelDiv, binding */
  ) {}
  addComponent(/* fieldDiv, binding, noCardinalityButtons */
  ) {}
  showAsTable(item) {
    return item.getType() === 'group' && (item.hasStyle('table') || item.hasClass('rdformsTable'));
  }
  show(params) {
    this._handleParams(params);
    this.render();
  }

  /**
   * Builds the user interface by iterating over the child bindings of the current binding
   * and recursively creates new views for all groupbindings.
   */
  render() {
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domText(this.domNode, '');
    if (this.binding == null) {
      return;
    }
    if (!this.messages) {
      this.messages = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].getMessages();
    }
    if (this.binding == null) {
      // Just in case loading messages takes time
      // and someone does a reset of the view meanwhile.
      return;
    }
    let groupIndex;
    let table;
    let lastRow;
    const groupedItemsArr = this.binding.getItem().getChildren();
    const groupedBindingsArr = this.binding.getItemGroupedChildBindings();
    let bindings;
    let item;
    this._binding2node = {};
    if ((this.compact || this.binding.getItem().hasStyle('compact')) && !this.binding.getItem().hasStyle('nonCompact')) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(this.domNode, 'compact', true);
    } else {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(this.domNode, 'compact', false);
    }
    this.preRenderView();
    for (groupIndex = 0; groupIndex < groupedBindingsArr.length; groupIndex++) {
      bindings = groupedBindingsArr[groupIndex];
      item = groupedItemsArr[groupIndex];
      if (this.restrictToItem && this.restrictToItem !== item) {
        // eslint-disable-next-line no-continue
        continue;
      }
      if (!this.showNow(item, bindings)) {
        // Invisible not not part of showNow check due to things like autoUUID
        /* if (item.hasStyle('invisible')) { // In this case, create some bindings anyway
          this.prepareBindings(item, bindings);
        } */
        // eslint-disable-next-line no-continue
        continue;
      }
      bindings = this.prepareBindings(item, bindings);

      // Table case
      if (this.showAsTable(item)) {
        this.context = {
          view: this
        };
        lastRow = this.createRowNode(lastRow, bindings[0], item);
        if (bindings.length > 0) {
          table = this.addTable(lastRow, bindings[0], item);
          this.fillTable(table, bindings);
        }

        // Non table case
      } else if (bindings.length > 0) {
        if (this.isMultiValued(item)) {
          this.context = {
            view: this
          };
          lastRow = this.addRow(lastRow, bindings[0], true);
        } else {
          const truncateLimit = this.truncateAt(item, bindings);
          for (let i = 0; i < bindings.length; i++) {
            // Add row with label if first row of same item or the binding is a group.
            this.context = {
              view: this
            };
            lastRow = this.addRow(lastRow, bindings[i], i === 0 || bindings[i] instanceof _model_GroupBinding__WEBPACK_IMPORTED_MODULE_5__["default"], i, truncateLimit);
          }
          if (truncateLimit !== -1) {
            const rdformsFields = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domQuery('.rdformsFields', lastRow);
            if (rdformsFields) _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].addTruncateControl(rdformsFields, this.context);
          }
        }
      } else {
        this.context = {
          view: this
        };
        lastRow = this.createRowNode(lastRow, null, item);
      }

      // Activates/deactivates buttons at startup if needed
      if (bindings.length > 0) {
        bindings[0].getCardinalityTracker().checkCardinality();
      }
    }
  }

  /**
   * Adds a single row corresponding to a binding.
   *
   * @param {Object} lastRow last row that was added
   * @param {Object} binding the binding to add a row for
   * @param {Boolean} includeLabel, tells if a label should be added, if undefined a label is
   * added only when the binding is a GroupBinding.
   */
  addRow(lastRow, binding, includeLabel, index, truncateLimit) {
    let _includeLabel = includeLabel;
    let fieldDiv;
    let newRow;
    const item = binding.getItem();
    if (this.skipBinding(binding)) {
      return undefined;
    }
    if (_includeLabel == null) {
      _includeLabel = binding instanceof _model_GroupBinding__WEBPACK_IMPORTED_MODULE_5__["default"];
    }

    // Taking care of dom node structure plus label.
    if (_includeLabel === true) {
      newRow = this.createRowNode(lastRow, binding, item);
      const n = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domCreate('div', newRow);
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(n, 'rdformsFields', true);
      if (truncateLimit !== -1) {
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(n, 'rdformsTruncated', true);
      }
      if (item.hasStyle('inline')) {
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(n, 'rdformsInline', true);
      }
      fieldDiv = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domCreate('div', n);
      this.createEndOfRowNode(newRow, binding, item);
    } else {
      // No new rowDiv since we have a repeated value under the same label.
      const rdformsFields = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domQuery('.rdformsFields', lastRow);
      if (rdformsFields != null) {
        fieldDiv = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domCreate('div', rdformsFields);
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, 'rdformsRepeatedValue', true);
        if (truncateLimit !== -1 && index >= truncateLimit) {
          _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, 'rdformsMaybeTruncated', true);
        }
      } else {
        // Unless we have an non-expanded row.
        const n = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domCreate('div', lastRow);
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(n, 'rdformsFields', true);
        if (item.hasStyle('inline')) {
          _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(n, 'rdformsInline', true);
        }
        fieldDiv = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domCreate('div', n);
        this.createEndOfRowNode(newRow, binding, item);
      }
    }
    if (this.markOrigin) {
      const ngId = this.getNamedGraphId(binding);
      if (ngId) {
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, 'rdformsOrigin', true);
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, `rdformsOrigin_${ngId}`, true);
      } else {
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, 'rdformsOrigin', true);
        _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, 'rdformsOrigin_default', true);
      }
    }
    if (item.getType() === 'group') {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, 'rdformsGroup', true);
    } else {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(fieldDiv, 'rdformsField', true);
    }
    this._binding2node[binding.getHash()] = fieldDiv;
    this.addComponent(fieldDiv, binding);
    const isEditor = this._subEditors !== undefined;
    if (item.hasStyle('invisible') || item.hasStyle('invisibleInEdit') && isEditor) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(newRow || lastRow, 'rdformsInvisible', true);
    }
    return newRow || lastRow;
  }
  createRowNode(lastRowNode, binding, item) {
    let rowNode;

    // New rowDiv since we have a label
    if (lastRowNode == null) {
      rowNode = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domCreate('div', this.domNode, binding ? this.getRowIndex(binding) : undefined);
    } else {
      rowNode = _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domCreateAfter('div', lastRowNode, binding ? this.getRowIndex(binding) : undefined);
    }
    item.getClasses().forEach(cls => {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, cls, true);
    });
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'rdformsRow', true);
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'rdformsTopLevel', this.topLevel);
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'rdformsInvisibleGroup', item.hasStyle('invisibleGroup'));
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'rdformsHeading', item.hasStyle('heading'));
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'notCompact', item.getType() === 'group' || item.hasStyle('nonCompact'));
    _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'rdformsCompactItem', item.hasStyle('compact'));
    this.addLabel(rowNode, binding, item);
    if (binding && this.filterBinding(binding)) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'hiddenProperty', true);
    }
    const isEditor = this._subEditors !== undefined;
    if (item.hasStyle('card') || item.hasStyle('cardInEdit') && isEditor || item.hasStyle('cardInPresent') && !isEditor) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_4__["default"].domClassToggle(rowNode, 'rdformsCard', true);
    }
    return rowNode;
  }
  createEndOfRowNode(newRow, binding, item) {}
  _getFilterPredicates() {
    return this.parentView ? this.parentView._getFilterPredicates() : this.filterPredicates;
  }
  filterBinding(binding) {
    return this.filterItem(binding.getItem());
  }
  filterItem(itemToCheck) {
    const filterPredicates = this._getFilterPredicates();
    const filter = (item, fp) => {
      // Exclude based on item id.
      const id = item.getId();
      if (id && Object.keys(fp).includes(id)) {
        return true;
      }
      const prop = item.getProperty();
      // Exclude if property matches.
      if (prop) {
        // Check if we are in a root-like position,
        // i.e. either directly at the root or further down below groups without property set.
        let rootLike = true;
        let view = this;
        while (view.parentView) {
          if (view.getBinding().getItem().getProperty()) {
            rootLike = false;
          }
          view = view.parentView;
        }
        const shortedProp = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.shortenKnown(prop);
        if (rootLike) {
          return fp[prop] === true || fp[shortedProp] === true || fp[`*${prop}`] === true || fp[`${shortedProp}`] === true;
        } else {
          return fp[`*${prop}`] === true || fp[`*${shortedProp}`] === true;
        }
      } else if (item.getType() === 'group') {
        // Exclude group headers if all children hidden
        const childBindings = item.getChildren() || [];
        let hasNonFilteredChild = false;
        childBindings.forEach(child => {
          if (!filter(child, fp)) {
            hasNonFilteredChild = true;
          }
        });
        return !hasNonFilteredChild;
      }
      return false;
    };
    return filterPredicates ? filter(itemToCheck, filterPredicates) : false;
  }
  filterProperty(property) {
    const fp = this._getFilterPredicates() || {};
    return fp[property] === true;
  }
  getLabelIndex(binding) {
    let idx;
    binding.getParent().getChildBindingsFor(binding.getItem()).reverse().find(b => {
      idx = this._labelIndex[b.getHash()];
      return idx !== undefined;
    });
    if (idx !== undefined) {
      return idx;
    }
    if (this.parentView) {
      return this.parentView.getLabelIndex(binding.getParent());
    }
    return '';
  }
  createLabelIndex(binding) {
    const idx = `${binding.getHash()}_${this._viewId}_label`;
    this._labelIndex[binding.getHash()] = idx;
    return idx;
  }
  getRowIndex(binding) {
    return `${binding.getHash()}_${this._viewId}_row`;
  }
  isMultiValued(item) {
    return false;
  }
  truncateAt(item, bindings) {
    return -1;
  }
  getLocale() {
    return this.locale || (this.parentView ? this.parentView.getLocale() : moment__WEBPACK_IMPORTED_MODULE_8___default().locale());
  }
  getDefaultTextLanguage() {
    return this.defaultTextLanguage || (this.parentView ? this.parentView.getDefaultTextLanguage() : this.getLocale());
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/bootstrap/auto.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/bootstrap/auto.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _model_engine__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");



const pr = _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].presenterRegistry;
const er = _renderingContext__WEBPACK_IMPORTED_MODULE_0__["default"].editorRegistry;
const uuidFactory = reg => {
  const uuid = (fieldDiv, binding, context) => {
    const data = binding.getValue();
    if (context.inEditor) {
      if (data == null || data === '') {
        binding.setGist(_utils__WEBPACK_IMPORTED_MODULE_1__["default"].generateUUID(), true);
      }
    }
    reg.getComponentBefore(binding.getItem(), uuid)(fieldDiv, binding, context);
  };
  return uuid;
};
pr.itemtype('text').style('autoUUID').register(uuidFactory(pr));
er.itemtype('text').style('autoUUID').register(uuidFactory(er));
const autoDateFactory = reg => {
  const autoDate = (fieldDiv, binding, context) => {
    const data = binding.getValue();
    const item = binding.getItem();
    if (context.inEditor) {
      if (data == null || data === '') {
        if (item.hasStyle('autoInitDate') || item.hasStyle('autoUpdateDate')) {
          binding.setValue(new Date().toISOString(), true);
        }
      } else if (item.hasStyle('autoUpdateDate')) {
        binding.setValue(new Date().toISOString(), true);
      }
    }
    reg.getComponentBefore(binding.getItem(), autoDate)(fieldDiv, binding, context);
  };
  return autoDate;
};

// Add autoUpdateDate and autoInitDate componenets as a layer above the default component
const autoDateP = autoDateFactory(pr);
pr.itemtype('text').datatype('xsd:date').style('autoUpdateDate').register(autoDateP);
pr.itemtype('text').datatype('xsd:date').style('autoInitDate').register(autoDateP);
pr.itemtype('text').datatype('dcterms:W3CDTF').style('autoUpdateDate').register(autoDateP);
pr.itemtype('text').datatype('dcterms:W3CDTF').style('autoInitDate').register(autoDateP);
const autoDateE = autoDateFactory(er);
er.itemtype('text').datatype('xsd:date').style('autoUpdateDate').register(autoDateE);
er.itemtype('text').datatype('xsd:date').style('autoInitDate').register(autoDateE);
er.itemtype('text').datatype('dcterms:W3CDTF').style('autoUpdateDate').register(autoDateE);
er.itemtype('text').datatype('dcterms:W3CDTF').style('autoInitDate').register(autoDateE);
const autoValueFactory = reg => {
  const autof = (fieldDiv, binding, context) => {
    if (context.inEditor) {
      const data = binding.getValue();
      const path = binding.getItem().getDeps();
      if ((data == null || data === '') && path) {
        const fromBinding = _model_engine__WEBPACK_IMPORTED_MODULE_2__["default"].findBindingRelativeToParentBinding(binding.getParent(), path);
        const update = silent => {
          const depBinding = _model_engine__WEBPACK_IMPORTED_MODULE_2__["default"].matchPathBelowBinding(fromBinding, path);
          const prevValue = binding.getGist();
          const newValue = depBinding ? depBinding.getValue() : '';
          if (prevValue != newValue) {
            binding.setGist(newValue, silent);
          }
        };
        update(true);
        fromBinding.addListener(changedBinding => {
          if (changedBinding != binding) {
            update();
          }
        });
      }
    }
    reg.getComponentBefore(binding.getItem(), autof)(fieldDiv, binding, context);
  };
  return autof;
};
pr.itemtype('text').style('autoValue').register(autoValueFactory(pr));
er.itemtype('text').style('autoValue').register(autoValueFactory(er));

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/Wrappers.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/Wrappers.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Editor: () => (/* binding */ ReactEditor),
/* harmony export */   Presenter: () => (/* binding */ ReactPresenter),
/* harmony export */   ValidationPresenter: () => (/* binding */ ReactValidationPresenter)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom/client */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js");
/* harmony import */ var _Presenter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Presenter */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Presenter.js");
/* harmony import */ var _Editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Editor */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Editor.js");
/* harmony import */ var _ValidationPresenter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ValidationPresenter */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/ValidationPresenter.js");





const fixIt = Cls => {
  const FixCls = class extends Cls {
    render() {
      this.domNode.clear();
      super.render();
      if (!this.initiatedAlready && this.domNode.parent instanceof Node) {
        // eslint-disable-next-line no-unused-vars
        const Cmp = this.domNode.component;
        const root = (0,react_dom_client__WEBPACK_IMPORTED_MODULE_1__.createRoot)(this.domNode.parent);
        root.render(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Cmp, null));
      }
      this.initiatedAlready = true;
    }
  };
  FixCls.Component = class extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
    constructor(props) {
      super(props);
      this.fix = new FixCls(props);
    }
    render() {
      return this.fix.domNode.component;
    }
  };
  return FixCls;
};
const ReactEditor = fixIt(_Editor__WEBPACK_IMPORTED_MODULE_3__["default"]);
const ReactPresenter = fixIt(_Presenter__WEBPACK_IMPORTED_MODULE_2__["default"]);
const ReactValidationPresenter = fixIt(_ValidationPresenter__WEBPACK_IMPORTED_MODULE_4__["default"]);


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/all.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/all.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/components.js");
/* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.css */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/style.css");



/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/buttons.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/buttons.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_icons_material_RemoveCircle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/icons-material/RemoveCircle */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/RemoveCircle.js");
/* harmony import */ var _mui_icons_material_Cancel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material/Cancel */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cancel.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/Add */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _model_engine__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");



/* eslint-disable no-unused-vars */










_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].addExpandButton = (rowDiv, labelDiv, item, context) => {
  console.log('Expand button not yet supported');
};
const isClearButton = (binding, context) => {
  const item = binding.getItem();
  const notDeprecated = !item.hasStyle('deprecated');
  if (context.view.isMultiValued(item) && notDeprecated) {
    return true;
  }
  const cardTr = binding.getCardinalityTracker();
  const showOne = context.view.showNow(binding.getItem(), []);
  return notDeprecated && (cardTr.isMin() || cardTr.getCardinality() === 1 && showOne && cardTr.isDepsOk());
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].addRemoveButton = (rowDiv, binding, context) => () => {
  const item = binding.getItem();
  const cardTr = binding.getCardinalityTracker();
  const [clear, setClear] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(() => isClearButton(binding, context));
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const listener = cardTr.addListener(() => {
      setClear(isClearButton(binding, context));
    });
    return () => cardTr.removeListener(listener);
  }, []);
  const onClick = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => () => {
    if (isClearButton(binding, context) || !cardTr.isDepsOk() && cardTr.getCardinality() === 1) {
      if (context.clear) {
        context.clear();
      }
      const nodeType = binding.getItem().getNodetype();
      const itemType = binding.getItem().getType();
      if (itemType === 'group') {
        binding.remove();
        if (context.view.showNow(item, [])) {
          // If we are removing a single row, prepareBindings will only create a
          // maximum of one row.
          const nBindings = context.view.prepareBindings(item, []);
          // The bindings may be of length 0, e.g. if the view is currently showing
          // only mandatory fields and the row is optional.
          if (nBindings.length > 0) {
            context.view.addRow(rowDiv, nBindings[0]);
          }
        }
        rowDiv.destroy();
      } else {
        if (itemType === 'choice') {
          binding.setChoice(null);
        } else {
          binding.setValue('');
        }
        if (nodeType === 'LANGUAGE_LITERAL' || nodeType === 'PLAIN_LITERAL') {
          binding.setLanguage('');
        }
      }
    } else if (context.view.isMultiValued(item)) {
      // This case corresponds to multivalued and deprecated.
      // Slice so we have a copy of the array... since it will change behind the scenes otherwise
      binding.getParent().getChildBindingsFor(item).slice(0).forEach(b => {
        b.remove();
      });
      rowDiv.parent.destroy();
    } else {
      binding.remove();
      rowDiv.destroy();
    }
  });
  const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_11__.useNamedGraphId)(binding, context);
  const title = clear ? context.view.messages.edit_clear : context.view.messages.edit_remove;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_8__["default"], {
    size: "small",
    "aria-label": title,
    disabled: !!ngId,
    title: title,
    onClick: onClick
  }, clear ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material_Cancel__WEBPACK_IMPORTED_MODULE_5__["default"], {
    fontSize: "small"
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material_RemoveCircle__WEBPACK_IMPORTED_MODULE_4__["default"], {
    fontSize: "small"
  }));
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].addCreateChildButton = (rowDiv, labelDiv, binding, context) => () => {
  const item = binding.getItem();
  const cardTr = binding.getCardinalityTracker();
  const [disabled, setDisabled] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(cardTr.isMax() || !cardTr.isDepsOk() || item.hasStyle('deprecated'));
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    context.rememberParent = binding.getParent(); // If the current binding is removed and the label is not redrawn
    const listener = cardTr.addListener(() => {
      setDisabled(cardTr.isMax() || !cardTr.isDepsOk());
    });
    return () => cardTr.removeListener(listener);
  }, []);
  const onClick = () => {
    if (!cardTr.isMax()) {
      const nBinding = _model_engine__WEBPACK_IMPORTED_MODULE_10__.create(context.rememberParent, item);
      context.view.addRow(rowDiv, nBinding); // not the first binding...
    }
  };
  let labelMap = item.getEditLabelMap() || item.getLabelMap();
  let label = _utils__WEBPACK_IMPORTED_MODULE_12__["default"].getLocalizedValue(labelMap, context.view.getLocale()).value;
  if (label != null && label !== '') {
    label = label.charAt(0).toUpperCase() + label.slice(1);
  } else {
    label = '';
  }
  const title = context.view.messages.edit_add;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_6__["default"], {
    className: "rdformsAddChild",
    onClick: onClick,
    "aria-label": title,
    title: title,
    disabled: disabled,
    variant: "text",
    color: "primary",
    startIcon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material_Add__WEBPACK_IMPORTED_MODULE_7__["default"], null)
  }, label);
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choice.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choice.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _model_system__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../model/system */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _Wrappers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Wrappers */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/Wrappers.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }





// eslint-disable-next-line no-unused-vars






// -------------- Presenters ----------------
const presenters = _renderingContext__WEBPACK_IMPORTED_MODULE_6__["default"].presenterRegistry;
const choicify = func => (fieldDiv, binding, context) => {
  const choice = binding.getChoice();
  const isEditor = context.view instanceof _Wrappers__WEBPACK_IMPORTED_MODULE_9__.Editor;
  let desc;
  if (!choice) {
    return;
  }
  const locale = context.view.getLocale();
  if (isEditor && choice.editdescription) {
    desc = _utils__WEBPACK_IMPORTED_MODULE_8__["default"].getLocalizedValue(choice.editdescription, locale).value;
  } else if (choice.description) {
    desc = _utils__WEBPACK_IMPORTED_MODULE_8__["default"].getLocalizedValue(choice.description, locale).value;
  }
  func(fieldDiv, binding, choice, desc, isEditor, locale);
};
const getLocalizedLabel = (choice, isEditor, locale) => _utils__WEBPACK_IMPORTED_MODULE_8__["default"].getLocalizedValue(isEditor ? choice.editlabel || choice.label : choice.label, locale);

// Presenter for image.
presenters.itemtype('choice').style('image').register(choicify((fieldDiv, binding, choice, desc) => {
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("img", {
    key: binding.getHash(),
    className: "rdformsImage",
    title: desc || choice.value,
    src: choice.value
  }));
}));

// Presenter for stars
presenters.itemtype('choice').style('stars').register(choicify((fieldDiv, binding, choice) => {
  if (!isNaN(parseInt(choice.value, 10))) {
    fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("span", {
      key: binding.getHash(),
      className: "rdformsStar"
    }));
  }
}));

// Presenter for choices.
presenters.itemtype('choice').register(choicify((fieldDiv, binding, choice, desc, isEditor, locale) => {
  const item = binding.getItem();
  const title = desc || choice.seeAlso || choice.value;
  if (item.hasStaticChoices() && !item.hasStyle('externalLink') || item.hasStyle('noLink')) {
    fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(() => {
      const [locValue, setLocValue] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(getLocalizedLabel(choice, isEditor, locale));
      (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
        if (choice.load != null) {
          choice.load(() => {
            setLocValue(getLocalizedLabel(choice, isEditor, locale));
          });
        }
      }, []);
      const langAttr = locValue.lang ? {
        lang: locValue.lang
      } : {};
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("div", _extends({
        key: binding.getHash()
      }, langAttr, {
        title: title
      }), locValue.value);
    }, {
      key: binding.getHash()
    }));
  } else {
    let attrs;
    if (item.hasStyle('externalLink')) {
      attrs = _model_system__WEBPACK_IMPORTED_MODULE_7__["default"].attachExternalLinkBehaviour(fieldDiv, binding) || {};
    } else {
      attrs = _model_system__WEBPACK_IMPORTED_MODULE_7__["default"].attachLinkBehaviour(fieldDiv, binding) || {};
    }
    const component = attrs.component || null;
    delete attrs.component;
    fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(() => {
      const [locValue, setLocValue] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(getLocalizedLabel(choice, isEditor, locale));
      (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
        if (choice.load != null) {
          choice.load(() => {
            setLocValue(getLocalizedLabel(choice, isEditor, locale));
          });
        }
      }, []);
      if (locValue.lang) {
        attrs.lang = locValue.lang;
      }
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("a", _extends({}, attrs, {
        title: title,
        href: choice.seeAlso || choice.value
      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("span", null, locValue.value), component);
    }, {
      key: binding.getHash()
    }));
  }
}));

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/CheckBoxesEditor.js"
/*!***************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/CheckBoxesEditor.js ***!
  \***************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ CheckBoxesEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/FormControlLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/Checkbox */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
/* harmony import */ var _viewUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../viewUtils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/viewUtils.js");
/* harmony import */ var _model_engine__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../model/engine */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/engine.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }





/* eslint-disable no-unused-vars */







const CheckOption = props => {
  const {
    choice,
    binding,
    onChoiceChange
  } = props;
  const [checked, setChecked] = react__WEBPACK_IMPORTED_MODULE_5___default().useState(choice.value === binding.getValue());
  const handleChange = evt => {
    binding.setChoice(evt.target.checked ? choice.original : null);
    setChecked(evt.target.checked);
    onChoiceChange();
  };
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({
    disabled: props.disabled,
    label: choice.label,
    control: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_Checkbox__WEBPACK_IMPORTED_MODULE_7__["default"], {
      checked: checked,
      onChange: handleChange
    })
  }, choice.mismatch ? {
    className: 'mismatch'
  } : {}, {
    title: choice.description || choice.seeAlso || choice.value
  }));
};
function CheckBoxesEditor(props) {
  var _binding$getChoice;
  const [resetCount, setResetCount] = react__WEBPACK_IMPORTED_MODULE_5___default().useState(0);
  const binding = props.binding;
  const item = binding.getItem();
  const choices = (0,_hooks__WEBPACK_IMPORTED_MODULE_9__.useLocalizedSortedChoices)(binding, true);
  const choiceBindingPairs = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    const parentBinding = binding.getParent();
    const val2binding = {};
    // eslint-disable-next-line no-return-assign
    parentBinding.getChildBindingsFor(item).forEach(b => val2binding[b.getValue()] = b);
    const pairs = choices.map(c => {
      const existingbinding = val2binding[c.value];
      if (existingbinding) {
        delete val2binding[c.value];
        return [c, existingbinding, (0,_viewUtils__WEBPACK_IMPORTED_MODULE_10__.getNamedGraphId)(existingbinding, props.context)];
      }
      return [c, _model_engine__WEBPACK_IMPORTED_MODULE_11__.create(parentBinding, item), undefined];
    });
    // Add checks for values that are non-conforming (should have mismatch on their choices).
    Object.values(val2binding).forEach(b => {
      const choice = b.getChoice();
      if (choice) {
        pairs.push([choice, b]);
      }
    });
    return pairs;
  });
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(((_binding$getChoice = binding.getChoice()) === null || _binding$getChoice === void 0 ? void 0 : _binding$getChoice.mismatch) === true);
  const row = item.hasStyle('verticalCheckboxes') ? {} : {
    row: true
  };
  const onChoiceChange = () => {
    const newError = choiceBindingPairs.find(pair => pair[1].getChoice() && pair[1].getChoice().mismatch) !== undefined;
    if (newError !== error) {
      setError(newError);
    }
  };
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    props.field.toggleClass('mismatchReport', error);
  }, [error]);
  props.context.clear = () => {
    choiceBindingPairs.forEach(pair => pair[1].setChoice(null));
    setError(false);
    setResetCount(resetCount + 1);
  };
  const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_9__.useNamedGraphId)(binding, props.context);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_8__["default"], row, choiceBindingPairs.map(pair => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(CheckOption, {
    key: `${resetCount}-${pair[1].getHash()}`,
    choice: pair[0],
    binding: pair[1],
    disabled: !!pair[2] || !!ngId,
    onChoiceChange: onChoiceChange
  }))), error && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("div", {
    key: "warning",
    className: "rdformsWarning"
  }, props.context.view.messages.wrongValueField));
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceLookup.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceLookup.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _ShowButton__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ShowButton */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ShowButton.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




/* eslint-disable no-unused-vars */






/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (props => {
  var _binding$getChoice;
  const binding = props.binding;
  const [choice, setChoice] = (0,_hooks__WEBPACK_IMPORTED_MODULE_7__.loadLocalizedChoice)(binding, true);
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(((_binding$getChoice = binding.getChoice()) === null || _binding$getChoice === void 0 ? void 0 : _binding$getChoice.mismatch) === true);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    props.field.toggleClass('mismatchReport', error);
  }, [error]);
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    props.context.clear = () => {
      setChoice(null);
      setError(false);
    };
  }, []);
  let title = '';
  let label = '';
  if (choice) {
    title = choice.description ? _utils__WEBPACK_IMPORTED_MODULE_8__["default"].getLocalizedValue(choice.description).value : choice.seeAlso || choice.value;
    label = choice.label ? _utils__WEBPACK_IMPORTED_MODULE_8__["default"].getLocalizedValue(choice.label).value : choice.value;
  }
  const labelledBy = props.context.view.getLabelIndex(props.binding);
  const choiceSelectorHandler = () => {
    _renderingContext__WEBPACK_IMPORTED_MODULE_6__["default"].openChoiceSelector(props.binding, newChoice => {
      props.binding.setChoice(newChoice);
      setChoice(newChoice);
      setError(newChoice.mismatch === true);
    }, props.field);
  };
  const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_7__.useNamedGraphId)(binding, props.context);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    inputProps: {
      'aria-labelledby': labelledBy
    },
    className: "rdformsSearch",
    disabled: true
  }, !!ngId || choice && choice.mismatch ? {
    mismatch: true
  } : {}, {
    title: title,
    value: label,
    placeholder: binding.getItem().getPlaceholder(),
    error: error,
    variant: _renderingContext__WEBPACK_IMPORTED_MODULE_6__["default"].materialVariant
  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_ShowButton__WEBPACK_IMPORTED_MODULE_9__["default"], _extends({}, props, {
    disabled: !!ngId,
    onClick: choiceSelectorHandler
  })), error && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    key: "warning",
    className: "rdformsWarning"
  }, props.context.view.messages.wrongValueField));
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceLookupAndInlineSearch.js"
/*!**************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceLookupAndInlineSearch.js ***!
  \**************************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_string_trim_start_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.trim-start.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-start.js");
/* harmony import */ var core_js_modules_es_string_trim_start_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_start_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Autocomplete */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/Autocomplete.js");
/* harmony import */ var _mui_icons_material_Build__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material/Build */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Build.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
/* harmony import */ var _ShowButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ShowButton */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ShowButton.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }






/* eslint-disable no-unused-vars,quotes */








let globalChoiceQueryThrottle;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (props => {
  var _binding$getChoice;
  const binding = props.binding;
  const [options, setOptions] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)([]);
  const [value, setValue] = (0,_hooks__WEBPACK_IMPORTED_MODULE_12__.loadLocalizedChoice)(binding, true);
  const [inputValue, setInputValue] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)('');
  const [open, setOpen] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false);
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(((_binding$getChoice = binding.getChoice()) === null || _binding$getChoice === void 0 ? void 0 : _binding$getChoice.mismatch) === true);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    props.field.toggleClass('mismatchReport', error);
  }, [error]);
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    props.context.clear = () => {
      setValue(null);
      setError(false);
    };
  }, []);
  const onChange = (event, newChoice) => {
    if (newChoice === null) {
      binding.setChoice(null);
      setValue(null);
      setError(false);
    } else {
      binding.setChoice(newChoice.original);
      setValue(newChoice);
      setError(newChoice.original.mismatch === true);
    }
  };
  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(() => {
    let active = true;
    if (open) {
      if (globalChoiceQueryThrottle) {
        clearTimeout(globalChoiceQueryThrottle);
      }
      globalChoiceQueryThrottle = setTimeout(() => {
        globalChoiceQueryThrottle = undefined;
        props.context.chooser.search(binding, inputValue.trimStart()).then(results => {
          if (active) {
            setOptions(results.map(_hooks__WEBPACK_IMPORTED_MODULE_12__.editLocalizedChoice));
          }
        });
      }, 200);
    }
    return () => {
      active = false;
    };
  }, [inputValue, open]);
  const labelledBy = props.context.view.getLabelIndex(binding);
  const renderInput = params => {
    params.inputProps = params.inputProps || {};
    params.inputProps['aria-labelledby'] = labelledBy;
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({
      "aria-labelledby": labelledBy
    }, params, value && value.mismatch ? {
      error: true
    } : {}, {
      placeholder: binding.getItem().getPlaceholder(),
      onKeyDown: _ref => {
        let {
          key,
          keyCode
        } = _ref;
        const isEnterKey = key === 'Enter' || keyCode === 13;
        if (isEnterKey && !open) {
          setOpen(true);
        }
      },
      variant: _renderingContext__WEBPACK_IMPORTED_MODULE_11__["default"].materialVariant
    }));
  };
  const showHandler = () => {
    _renderingContext__WEBPACK_IMPORTED_MODULE_11__["default"].openChoiceSelector(props.binding, selectedChoice => {
      binding.setChoice(selectedChoice);
      setValue((0,_hooks__WEBPACK_IMPORTED_MODULE_12__.editLocalizedChoice)(selectedChoice));
      setError(selectedChoice.mismatch === true);
    }, props.field);
  };
  const upgradeHandler = () => {
    value.original.upgrade(props.binding, upgradedChoice => {
      setValue((0,_hooks__WEBPACK_IMPORTED_MODULE_12__.editLocalizedChoice)(upgradedChoice));
      setError(upgradedChoice.mismatch === true);
    }, props.field);
  };
  const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_12__.useNamedGraphId)(binding, props.context);
  const UpgradeComponent = value && value.original.upgradeComponent;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_8__["default"], _extends({
    className: "rdformsSearch",
    disableClearable: true,
    fullWidth: false,
    value: value,
    options: options,
    filterOptions: fopts => fopts,
    open: open,
    onOpen: () => setOpen(true),
    onClose: () => setOpen(false),
    onInputChange: (event, newInputValue) => setInputValue(newInputValue),
    onChange: onChange,
    disabled: !!ngId,
    isOptionEqualToValue: (option, choice) => option.value === choice.value,
    getOptionLabel: choice => choice === null ? '' : choice.label || choice.value,
    getOptionDisabled: option => option.mismatch === true,
    renderInput: renderInput,
    disablePortal: true
  }, props.context.view.renderingParams.ChoiceLookupAndInlineSearch)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_ShowButton__WEBPACK_IMPORTED_MODULE_13__["default"], _extends({}, props, {
    onClick: showHandler,
    disabled: !!ngId
  })), value && value.original.upgrade && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_10__["default"], {
    "aria-label": props.context.view.messages.edit_upgrade,
    title: props.context.view.messages.edit_upgrade,
    disabled: !!ngId,
    onClick: upgradeHandler
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_mui_icons_material_Build__WEBPACK_IMPORTED_MODULE_9__["default"], null)), UpgradeComponent), error && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement("div", {
    key: "warning",
    className: "rdformsWarning"
  }, props.context.view.messages.wrongValueField));
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceSelector.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceSelector.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Autocomplete */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/Autocomplete.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



/* eslint-disable no-unused-vars,quotes */






/**
 * Autocomplete with fixed choices.
 *
 * @param props Component props
 * @param {Binding} props.binding the binding for which to render an autocomplete
 * @example (<ChoiceSelector binding={binding}>)
 * @return {React.FunctionComponentElement}
 */
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (props => {
  var _binding$getChoice;
  const binding = props.binding;
  const choices = (0,_hooks__WEBPACK_IMPORTED_MODULE_7__.useLocalizedSortedChoices)(binding, true);
  const [value, setValue] = (0,_hooks__WEBPACK_IMPORTED_MODULE_7__.useLocalizedChoice)(binding, choices);
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(((_binding$getChoice = binding.getChoice()) === null || _binding$getChoice === void 0 ? void 0 : _binding$getChoice.mismatch) === true);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    props.field.toggleClass('mismatchReport', error);
  }, [error]);
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    props.context.clear = () => {
      setValue(null);
      setError(false);
    };
  }, []);
  const labelledBy = props.context.view.getLabelIndex(binding);
  const renderInput = params => {
    params.inputProps = params.inputProps || {};
    params.inputProps['aria-labelledby'] = labelledBy;
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({
      placeholder: binding.getItem().getPlaceholder()
    }, params, value && value.mismatch ? {
      error: true
    } : {}, {
      variant: _renderingContext__WEBPACK_IMPORTED_MODULE_6__["default"].materialVariant
    }));
  };
  const handleChange = (event, newChoice) => {
    binding.setChoice(newChoice.original);
    setValue(newChoice);
    setError(newChoice.original.mismatch === true);
  };
  const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_7__.useNamedGraphId)(binding, props.context);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement((react__WEBPACK_IMPORTED_MODULE_3___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_Autocomplete__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({
    className: "rdformsSearch",
    disableClearable: true,
    value: value,
    options: choices,
    onChange: handleChange,
    disabled: !!ngId,
    isOptionEqualToValue: (option, choice) => option.value === choice.value,
    getOptionLabel: choice => choice === null ? '' : choice.label,
    getOptionDisabled: option => option.mismatch === true,
    filterSelectedOptions: true,
    renderInput: renderInput,
    disablePortal: true
  }, props.context.view.renderingParams.ChoiceSelector)), error && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
    key: "warning",
    className: "rdformsWarning"
  }, props.context.view.messages.wrongValueField));
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/RadioButtonsEditor.js"
/*!*****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/RadioButtonsEditor.js ***!
  \*****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ RadioButtonsEditor)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_material_Radio__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Radio */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/Radio.js");
/* harmony import */ var _mui_material_RadioGroup__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/RadioGroup */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroup.js");
/* harmony import */ var _mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/FormControlLabel */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js");
/* harmony import */ var _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/FormControl */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }




/* eslint-disable no-unused-vars,quotes */







const ChoiceOption = props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_FormControlLabel__WEBPACK_IMPORTED_MODULE_7__["default"], _extends({
  disabled: props.disabled,
  label: props.choice.label,
  value: props.choice.value,
  control: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_Radio__WEBPACK_IMPORTED_MODULE_5__["default"], null)
}, props.choice.mismatch ? {
  className: 'mismatch'
} : {}, {
  title: props.choice.description || props.choice.seeAlso || props.choice.value
}));
function RadioButtonsEditor(props) {
  var _binding$getChoice;
  const binding = props.binding;
  const item = binding.getItem();
  const name = (0,_hooks__WEBPACK_IMPORTED_MODULE_9__.useName)();
  const choices = (0,_hooks__WEBPACK_IMPORTED_MODULE_9__.useLocalizedSortedChoices)(binding, true);
  const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(((_binding$getChoice = binding.getChoice()) === null || _binding$getChoice === void 0 ? void 0 : _binding$getChoice.mismatch) === true);
  const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(() => {
    const choice = binding.getChoice();
    return choice ? choice.value : '';
  });
  const row = item.hasStyle('verticalRadioButtons') ? {} : {
    row: true
  };
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    props.field.toggleClass('mismatchReport', error);
  }, [error]);
  const handleChange = event => {
    const v = event.target.value;
    const localizedChoice = choices.find(c => c.value === v);
    if (localizedChoice) {
      binding.setChoice(localizedChoice.original);
      setError(localizedChoice.original.mismatch === true);
    } else {
      binding.setChoice(null);
      setError(false);
    }
    setValue(v);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    props.context.clear = () => {
      setValue('');
      setError(false);
    };
  }, []);
  const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_9__.useNamedGraphId)(binding, props.context);
  let labelMap = item.getEditLabelMap() || item.getLabelMap();
  let label = _utils__WEBPACK_IMPORTED_MODULE_10__["default"].getLocalizedValue(labelMap, props.context.view.getLocale()).value;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_8__["default"], {
    component: "fieldset"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_RadioGroup__WEBPACK_IMPORTED_MODULE_6__["default"], _extends({}, row, {
    key: "radio",
    "aria-label": label,
    name: name,
    value: value,
    onChange: handleChange
  }), choices.map(choice => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(ChoiceOption, {
    key: choice.value,
    disabled: !!ngId,
    choice: choice
  })))), error && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    key: "warning",
    className: "rdformsWarning"
  }, props.context.view.messages.wrongValueField));
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ShowButton.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ShowButton.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mui_icons_material_Search__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/icons-material/Search */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/material/SvgIcon */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js");
/* eslint-disable no-unused-vars,max-len */




function SearchAndCreateIcon(props) {
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_3__["default"], props, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
    fill: "currentColor",
    d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
    fill: "currentColor",
    d: "M 24,6 H 21 V 9 H 19 V 6 H 16 V 4 h 3 V 1 h 2 v 3 h 3 z"
  }));
}
// Original construction for the plus:
// m 24,6 h -3 v 3 h -2 v -3 h -3 v -2 h 3 v -3 h 2 v 3 h 3 v 2 Z
// Result from inkscape:
// M 24,6 H 21 V 9 H 19 V 6 H 16 V 4 h 3 V 1 h 2 v 3 h 3 z

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (props => {
  const inlineCreate = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => props.context.chooser && props.context.chooser.supportsInlineCreate && props.context.chooser.supportsInlineCreate(props.binding));
  const title = inlineCreate ? props.context.view.messages.edit_browse_create : props.context.view.messages.edit_browse;
  if (props.context.chooser.show) {
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_2__["default"], {
      disabled: props.disabled,
      "aria-label": title,
      title: title,
      onClick: props.onClick
    }, inlineCreate ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SearchAndCreateIcon, null) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_mui_icons_material_Search__WEBPACK_IMPORTED_MODULE_1__["default"], null));
  }
  return '';
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/index.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/index.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _RadioButtonsEditor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RadioButtonsEditor */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/RadioButtonsEditor.js");
/* harmony import */ var _CheckBoxesEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CheckBoxesEditor */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/CheckBoxesEditor.js");
/* harmony import */ var _ChoiceSelector__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ChoiceSelector */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceSelector.js");
/* harmony import */ var _ChoiceLookup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ChoiceLookup */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceLookup.js");
/* harmony import */ var _ChoiceLookupAndInlineSearch__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ChoiceLookupAndInlineSearch */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/ChoiceLookupAndInlineSearch.js");


/* eslint-disable no-unused-vars */








/**
 * Checks if the current item can be rendered as radiobuttons.
 * @param {rdforms/item}
 * @returns {boolean}
 */
const radioCheck = item => {
  const choices = item.getChoices();
  const hierarchy = item.getHierarchyProperty() || item.hasStyle('tree');
  return !hierarchy && item.getCardinality().max === 1 && !item.hasStyle('dropDown') && (choices != null && choices.length < 5 || item.hasStyle('verticalRadioButtons') || item.hasStyle('horizontalRadioButtons'));
};
const editors = _renderingContext__WEBPACK_IMPORTED_MODULE_3__["default"].editorRegistry;
editors.itemtype('choice').choices().check(radioCheck).register((fieldDiv, binding, context) => {
  // eslint-disable-next-line no-new
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_RadioButtonsEditor__WEBPACK_IMPORTED_MODULE_4__["default"], {
    key: binding.getHash(),
    binding: binding,
    context: context,
    field: fieldDiv
  }));
});
const checkBoxComponent = (fieldDiv, binding, context) => {
  // eslint-disable-next-line no-new
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_CheckBoxesEditor__WEBPACK_IMPORTED_MODULE_5__["default"], {
    key: binding.getHash(),
    binding: binding,
    context: context,
    field: fieldDiv
  }));
};
editors.itemtype('choice').choices().style('verticalCheckBoxes').register(checkBoxComponent);
editors.itemtype('choice').choices().style('horizontalCheckBoxes').register(checkBoxComponent);
editors.itemtype('choice').choices().register((fieldDiv, binding, context) => {
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_ChoiceSelector__WEBPACK_IMPORTED_MODULE_6__["default"], {
    key: binding.getHash(),
    binding: binding,
    context: context,
    field: fieldDiv
  }));
});
editors.itemtype('choice').choices('none').register((fieldDiv, binding, context) => {
  context.chooser = _renderingContext__WEBPACK_IMPORTED_MODULE_3__["default"].chooserRegistry.getComponent(binding.getItem());
  if (typeof context.chooser.search === 'function') {
    fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_ChoiceLookupAndInlineSearch__WEBPACK_IMPORTED_MODULE_8__["default"], {
      key: binding.getHash(),
      binding: binding,
      context: context,
      field: fieldDiv
    }));
  } else {
    fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_ChoiceLookup__WEBPACK_IMPORTED_MODULE_7__["default"], {
      key: binding.getHash(),
      binding: binding,
      context: context,
      field: fieldDiv
    }));
  }
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/components.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/components.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _mui_icons_material_Warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/icons-material/Warning */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Warning.js");
/* harmony import */ var _mui_icons_material_Error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/icons-material/Error */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Error.js");
/* harmony import */ var _mui_icons_material_OfflineBolt__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/OfflineBolt */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OfflineBolt.js");
/* harmony import */ var _mui_material_Button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/Button */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _labels__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./labels */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/labels.js");
/* harmony import */ var _text__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./text */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/text.js");
/* harmony import */ var _textEditors__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./textEditors */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/textEditors.js");
/* harmony import */ var _choice__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./choice */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choice.js");
/* harmony import */ var _choiceEditors_index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./choiceEditors/index */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/choiceEditors/index.js");
/* harmony import */ var _buttons__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./buttons */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/buttons.js");
/* harmony import */ var _date__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./date */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/date.js");
/* harmony import */ var _duration__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./duration */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/duration.js");
/* harmony import */ var _bootstrap_auto__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../bootstrap/auto */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/bootstrap/auto.js");




















/**
 * A wrapper for adding a dom element to
 * a react component.
 */
const DOMElementWrapper = _ref => {
  let {
    element
  } = _ref;
  const ref = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    ref.current.appendChild(element);
  }, [element]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    ref: ref
  });
};

/**
 * If child is not a react component, it creates one.
 */
const getReactComponent = (child, index) => {
  // In case child is a dom element
  if (child instanceof Node) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(DOMElementWrapper, {
    key: index,
    element: child
  });
  // In case child is a struct
  if (child.component) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(child.component, {
    key: child.id
  });
  return child; // Assumes child a react component
};

/**
 * Utility to toggle a set of classes potentially separated by spaces in a set.
 */
const _toggleClass = (clsSet, clsStr, addOrNot) => {
  let change = false;
  clsStr.split(' ').forEach(cls => {
    if (addOrNot) {
      if (!clsSet.has(cls)) {
        clsSet.add(cls);
        change = true;
      }
    } else if (clsSet.has(cls)) {
      clsSet.delete(cls);
      change = true;
    }
  });
  return change;
};

// Utility to see if selector is among the classes
const selectorInClasses = (selector, clsSet) => clsSet.has(selector.substr(1));
// Utility to find struct in children based on selector
const findStruct = (selector, children) => children.find(comp => comp.component && comp.domQuery(selector) !== undefined);

// Trivial utility to update an object and return it
const updateObjAttr = (obj, attr, value) => {
  if (value) {
    obj[attr] = value;
  } else {
    delete obj[attr];
  }
  return obj;
};
let structId = 0;

/**
 * A struct must be allowed to be created, modified and allow new substructures to be added both before and
 * after rendered by react. This is the reason for methods being declared first and later being overridden
 * in the useEffect call in the component method with empty array of dependencies
 * (i.e. it is only being called first time).
 * Note that all update of state variables are done by replacing the value (even for arrays and sets) to allow
 * correct diffing of react.
 */
const newStruct = (Tag, parent, nodeId) => {
  const firstClsSet = new Set();
  let firstChildArr = [];
  let firstTextStr;
  const firstAttrs = {};
  structId += 1;
  const ext = {
    id: `struct_${structId}`,
    parent,
    // -- START: Initial methods used before react kicks in.
    toggleClass: (clsStr, addOrNot) => _toggleClass(firstClsSet, clsStr, addOrNot),
    domQuery: selector => selectorInClasses(selector, firstClsSet) ? ext : findStruct(selector, firstChildArr),
    appendChild: struct => {
      firstChildArr.push(struct);
    },
    appendAfter: (struct, sibling) => {
      firstChildArr.splice(firstChildArr.indexOf(sibling) + 1, 0, struct);
    },
    text: str => {
      firstTextStr = str;
    },
    attr: (_attr, value) => updateObjAttr(firstAttrs, _attr, value),
    // -- END
    // Utility method, always works
    destroy: () => !(ext.parent instanceof Node) && ext.parent.removeChild(ext),
    clear: () => {
      firstChildArr = [];
    },
    component: () => {
      const [clsSet, setCls] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(firstClsSet);
      const [childArr, setChildArr] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(firstChildArr);
      const [text, setText] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(firstTextStr);
      // eslint-disable-next-line no-unused-vars
      const [attrs, setAttrs] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(firstAttrs);

      // -- START: Override with react hook friendly methods that utilizes the current state and set methods.
      ext.domQuery = selector => selectorInClasses(selector, clsSet) ? ext : findStruct(selector, childArr);
      ext.toggleClass = (clsStr, addOrNot) => {
        setCls(oldClsSet => {
          const newClsSet = new Set(oldClsSet);
          if (_toggleClass(newClsSet, clsStr, addOrNot)) {
            return newClsSet;
          }
          return oldClsSet;
        });
      };
      ext.appendChild = struct => {
        setChildArr(oldChildArr => oldChildArr.concat([struct]));
      };
      ext.appendAfter = (struct, sibling) => {
        setChildArr(oldChildArr => {
          const newChildArr = oldChildArr.slice(0);
          newChildArr.splice(sibling ? newChildArr.indexOf(sibling) + 1 || 0 : 0, 0, struct);
          return newChildArr;
        });
      };
      ext.text = str => setText(str);
      ext.removeChild = struct => {
        setChildArr(oldChildArr => {
          const newChildArr = oldChildArr.slice(0);
          newChildArr.splice(newChildArr.indexOf(struct), 1);
          return newChildArr;
        });
      };
      ext.clear = () => {
        setChildArr([]);
      };
      ext.attr = (attr, value) => {
        setAttrs(oldAttrs => updateObjAttr(Object.assign({}, oldAttrs), attr, value));
      };
      // -- END
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(Tag, {
        id: nodeId,
        className: Array.from(clsSet).join(' ')
      }, childArr.map((child, index) => getReactComponent(child, index)), text);
    }
  };
  return ext;
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domQuery = (selector, struct) => struct.domQuery(selector);
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domCreate = (nodeStr, parentStruct, nodeId) => {
  const struct = newStruct(nodeStr, parentStruct, nodeId);
  parentStruct.appendChild(struct);
  return struct;
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domCreateAfter = (nodeStr, siblingStruct, nodeId) => {
  if (siblingStruct.parent) {
    const struct = newStruct(nodeStr, siblingStruct.parent, nodeId);
    siblingStruct.parent.appendAfter(struct, siblingStruct);
    return struct;
  }
  return undefined;
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domSetAttr = (struct, attr, value) => struct.attr(attr, value);
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domText = (struct, text) => struct.text(text);
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domClassToggle = function (struct, classStr) {
  let addOrRemove = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  return struct.toggleClass(classStr, addOrRemove);
};

/**
 * Create a struct rather than a domNode.
 * @param srcNodeRef - can be a struct, a string or a dom node.
 */
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].createDomNode = (srcNodeRef /* , view */) => {
  let domNode;
  if (srcNodeRef !== null && srcNodeRef !== void 0 && srcNodeRef.component) {
    return srcNodeRef;
  } else if (srcNodeRef instanceof Node) {
    domNode = srcNodeRef;
  } else if (typeof srcNodeRef === 'string') {
    domNode = document.getElementById(srcNodeRef);
  } else {
    domNode = newStruct('div');
  }
  return newStruct('div', domNode);
};

/**
 * If we are in a toplevel struct, destroy it otherwise just call destroy on the struct.
 * @param struct
 */
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].destroyDomNode = (struct /* , view */) => {
  if (struct.component) {
    struct.destroy();
  }
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].prePresenterViewRenderer = () => {};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].materialVariant = 'filled';
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].preEditorRenderer = (fieldDiv, binding, context) => {
  if (binding.getItem().getType() !== 'group' && context.noCardinalityButtons !== true) {
    context.controlDiv = newStruct('div', fieldDiv);
    _renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domClassToggle(context.controlDiv, 'rdformsFieldControl');

    // eslint-disable-next-line no-unused-vars
    const RemoveButton = _renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].addRemoveButton(fieldDiv, binding, context);
    context.controlDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(RemoveButton, {
      key: `${binding.getHash()}_removeButton`
    }));
  }
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].postEditorRenderer = (fieldDiv, binding, context) => {
  if (context.controlDiv) {
    fieldDiv.appendChild(context.controlDiv);
  }
};
const type2icon = {
  error: _mui_icons_material_Error__WEBPACK_IMPORTED_MODULE_6__["default"],
  warning: _mui_icons_material_Warning__WEBPACK_IMPORTED_MODULE_5__["default"],
  deprecated: _mui_icons_material_OfflineBolt__WEBPACK_IMPORTED_MODULE_7__["default"]
};
let validationCounter = 0;
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].renderValidationMessage = (fieldDiv, type, message) => {
  const ValidationIcon = type2icon[type];
  validationCounter += 1;
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("div", {
    className: "rdformsValidationMessageWrapper",
    key: `rdforms_valcount_${validationCounter}`
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(ValidationIcon, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("span", {
    className: "rdformsValidationMessage"
  }, message)));
};
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].multiValueSupport = true;
_renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].addTruncateControl = (fieldsDiv, context) => {
  const Component = () => {
    const [truncated, setTruncated] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true);
    const bundle = context.view.messages;
    const showLess = () => {
      _renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domClassToggle(fieldsDiv, 'rdformsTruncated', true);
      setTruncated(true);
    };
    const showMore = () => {
      _renderingContext__WEBPACK_IMPORTED_MODULE_9__["default"].domClassToggle(fieldsDiv, 'rdformsTruncated', false);
      setTruncated(false);
    };
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, truncated ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_8__["default"], {
      className: "rdformsShowMore",
      size: "small",
      onClick: showMore
    }, bundle.showMore) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_mui_material_Button__WEBPACK_IMPORTED_MODULE_8__["default"], {
      className: "rdformsShowLess",
      size: "small",
      onClick: showLess
    }, bundle.showLess));
  };
  fieldsDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(Component, null));
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/date.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/date.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_x_date_pickers_DatePicker__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/x-date-pickers/DatePicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/DatePicker/DatePicker.js");
/* harmony import */ var _mui_x_date_pickers_LocalizationProvider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/x-date-pickers/LocalizationProvider */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider.js");
/* harmony import */ var _mui_x_date_pickers_TimePicker__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/x-date-pickers/TimePicker */ "./node_modules/.pnpm/@mui+x-date-pickers@5.0.20_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@e_b83ca58b35610d34d3428e4fb64d3062/node_modules/@mui/x-date-pickers/TimePicker/TimePicker.js");
/* harmony import */ var _mui_x_date_pickers_AdapterMoment__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/x-date-pickers/AdapterMoment */ "./node_modules/.pnpm/@date-io+moment@2.17.0_moment@2.30.1/node_modules/@date-io/moment/build/index.esm.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/FormControl */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_material_Select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/Select */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var _model_CODES__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../model/CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _viewUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../viewUtils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/viewUtils.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }



/* eslint-disable no-unused-vars */














const getDatatypeFromBinding = (binding, alternatives) => {
  const currentDatatype = (0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDatatype)(binding.getDatatype());
  if (!alternatives[currentDatatype]) {
    alternatives[currentDatatype] = 'error';
  }
  return currentDatatype || (0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDatatypeFromItem)(binding.getItem());
};
const datePresenter = (fieldDiv, binding, context) => {
  try {
    const pres = (0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDatePresentation)(binding, context.view.getLocale());
    fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
      key: binding.getHash()
    }, pres));
  } catch (e) {
    console.warn(`Could not present date, expected ISO8601 format in the form 2001-01-01 
      (potentially with time given after a 'T' character as well) but found '${binding.getValue()}' instead.`);
  }
};
const presenters = _renderingContext__WEBPACK_IMPORTED_MODULE_14__["default"].presenterRegistry;
presenters.itemtype('text').datatype('xsd:dateTime').register(datePresenter);
presenters.itemtype('text').datatype('xsd:date').register(datePresenter);
presenters.itemtype('text').datatype('xsd:time').register(datePresenter);
presenters.itemtype('text').datatype('xsd:gYear').register(datePresenter);
presenters.itemtype('text').datatype('xsd:gYearMonth').register(datePresenter);
presenters.itemtype('text').datatype('xsd:gMonthDay').register(datePresenter);
presenters.itemtype('text').datatype('dcterms:W3CDTF').register(datePresenter);
const datePickerConfig = {
  format: {
    Year: 'YYYY',
    DateTime: 'YYYY-MM-DD',
    Date: 'YYYY-MM-DD',
    YearMonth: 'YYYY-MM',
    MonthDay: 'MM-DD',
    Time: 'YYYY-MM-DD' // Since datepicker is sometimes visible but disabled
  },
  mask: {
    Year: '____',
    DateTime: '____-__-__',
    Date: '____-__-__',
    YearMonth: '____-__',
    MonthDay: '__-__',
    Time: '____-__-__' // Since datepicker is sometimes visible but disabled
  },
  views: {
    Year: ['year'],
    DateTime: ['day'],
    Date: ['day'],
    YearMonth: ['year', 'month'],
    MonthDay: ['month', 'day'],
    Time: ['day'] // Since datepicker is sometimes visible but disabled
  },
  labelKey: {
    Year: 'date_year',
    DateTime: 'date_date',
    Date: 'date_date',
    YearMonth: 'date_year_and_month',
    // TODO
    MonthDay: 'date_month_and_day',
    // TODO
    Time: 'date_date' // Since datepicker is sometimes visible but disabled
  },
  ariaLabelKey: {
    Year: 'date_openYearPicker',
    DateTime: 'date_openDatePicker',
    Date: 'date_openDatePicker',
    YearMonth: 'date_openDatePicker',
    // TODO
    MonthDay: 'date_openDatePicker',
    // TODO
    Time: 'date_openDatePicker' // Since datepicker is sometimes visible but disabled
  }
};
const dateEditor = (fieldDiv, binding, context) => {
  const bundle = context.view.messages;
  const DateComp = () => {
    const value = binding.getGist();
    const alternatives = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => (0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getAllowedDateAlternatives)(binding.getItem()), []);
    const [selectedDate, setSelectedDate] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(value === '' ? null : (0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDate)(value));
    const [selectedDatatype, setDatatype] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(getDatatypeFromBinding(binding, alternatives));
    const onlyOneAlternative = Object.keys(alternatives).length === 1;
    const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(binding.getMatchingCode() === _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].WRONG_DATATYPE);
    (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
      fieldDiv.toggleClass('mismatchReport', error);
    }, [error]);
    (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
      context.clear = () => {
        setSelectedDate(null);
        setDatatype((0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDatatypeFromItem)(binding.getItem()));
        setError(false);
      };
    }, []);
    const onDateChange = date => {
      if (date == null) {
        binding.setValue('');
        setSelectedDate(null);
      } else if (date.isValid()) {
        binding.setValue((0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDateValue)(date.toDate(), selectedDatatype));
        setSelectedDate(date.toDate());
      }
    };
    const onDatatypeChange = event => {
      binding.setDatatype((0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDatatypeURI)(event.target.value));
      binding.setValue((0,_viewUtils__WEBPACK_IMPORTED_MODULE_15__.getDateValue)(selectedDate, event.target.value));
      setDatatype(event.target.value);
      setError(alternatives[event.target.value] === 'error');
    };
    const inputProps = {
      'aria-labelledby': context.view.getLabelIndex(binding),
      variant: _renderingContext__WEBPACK_IMPORTED_MODULE_14__["default"].materialVariant
    };
    const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_16__.useNamedGraphId)(binding, context);
    const visibleDatePicker = alternatives.Date || alternatives.DateTime || alternatives.Year || alternatives.YearMonth || alternatives.MonthDay;
    const enabledDatePicker = !ngId && (selectedDatatype === 'DateTime' || selectedDatatype === 'Date' || selectedDatatype === 'Year' || selectedDatatype === 'YearMonth' || selectedDatatype === 'MonthDay');
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement((react__WEBPACK_IMPORTED_MODULE_3___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_x_date_pickers_LocalizationProvider__WEBPACK_IMPORTED_MODULE_5__.LocalizationProvider, {
      dateAdapter: _mui_x_date_pickers_AdapterMoment__WEBPACK_IMPORTED_MODULE_7__["default"]
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
      className: "rdformsDatePicker"
    }, visibleDatePicker && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_x_date_pickers_DatePicker__WEBPACK_IMPORTED_MODULE_4__.DatePicker, _extends({
      renderInput: props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], _extends({}, props, inputProps)),
      leftArrowButtonProps: {
        'aria-label': bundle.date_previousMonth
      },
      rightArrowButtonProps: {
        'aria-label': bundle.date_nextMonth
      },
      KeyboardButtonProps: {
        'aria-label': bundle[datePickerConfig.ariaLabelKey[selectedDatatype]]
      },
      label: bundle[datePickerConfig.labelKey[selectedDatatype]]
    }, enabledDatePicker ? {} : {
      disabled: true
    }, {
      value: enabledDatePicker ? selectedDate : null,
      minDate: moment__WEBPACK_IMPORTED_MODULE_12___default()(new Date('0000-01-01')),
      inputFormat: datePickerConfig.format[selectedDatatype],
      views: datePickerConfig.views[selectedDatatype],
      onChange: onDateChange,
      autoOk: true,
      mask: datePickerConfig.mask[selectedDatatype]
    })), (alternatives.DateTime || alternatives.Time) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_x_date_pickers_TimePicker__WEBPACK_IMPORTED_MODULE_6__.TimePicker, _extends({
      renderInput: props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material__WEBPACK_IMPORTED_MODULE_10__["default"], _extends({}, props, inputProps)),
      label: bundle.date_time
    }, !ngId && (selectedDatatype === 'DateTime' || selectedDatatype === 'Time') ? {} : {
      disabled: true
    }, {
      KeyboardButtonProps: {
        'aria-label': bundle.date_openTimePicker
      },
      value: selectedDatatype === 'DateTime' || selectedDatatype === 'Time' ? selectedDate : null,
      onChange: onDateChange,
      ampm: false,
      autoOk: true
    })), !onlyOneAlternative && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_9__["default"], {
      variant: _renderingContext__WEBPACK_IMPORTED_MODULE_14__["default"].materialVariant
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_Select__WEBPACK_IMPORTED_MODULE_11__["default"], {
      value: selectedDatatype,
      inputProps: inputProps,
      error: alternatives[selectedDatatype] === 'error',
      onChange: onDatatypeChange,
      disabled: !!ngId
    }, alternatives.Year && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_8__["default"], {
      disabled: alternatives.Year === 'error',
      className: "rdformsDatatypeOption",
      value: "Year"
    }, bundle.date_year), alternatives.Date && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_8__["default"], {
      disabled: alternatives.Date === 'error',
      className: "rdformsDatatypeOption",
      value: "Date"
    }, bundle.date_date), alternatives.DateTime && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_8__["default"], {
      disabled: alternatives.DateTime === 'error',
      className: "rdformsDatatypeOption",
      value: "DateTime"
    }, bundle.date_date_and_time), alternatives.YearMonth && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_8__["default"], {
      disabled: alternatives.YearMonth === 'error',
      className: "rdformsDatatypeOption",
      value: "YearMonth"
    }, bundle.date_year_and_month), alternatives.MonthDay && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_8__["default"], {
      disabled: alternatives.MonthDay === 'error',
      className: "rdformsDatatypeOption",
      value: "MonthDay"
    }, bundle.date_month_and_day), alternatives.Time && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_8__["default"], {
      disabled: alternatives.Time === 'error',
      className: "rdformsDatatypeOption",
      value: "Time"
    }, bundle.date_time))))), error && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
      key: "warning",
      className: "rdformsWarning"
    }, context.view.messages.wrongDatatypeField));
  };
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(DateComp, {
    key: binding.getHash()
  }));
};
const editors = _renderingContext__WEBPACK_IMPORTED_MODULE_14__["default"].editorRegistry;
editors.itemtype('text').datatype('http://www.w3.org/2001/XMLSchema#date').register(dateEditor);
editors.itemtype('text').datatype('http://www.w3.org/2001/XMLSchema#dateTime').register(dateEditor);
editors.itemtype('text').datatype('http://www.w3.org/2001/XMLSchema#gYear').register(dateEditor);
editors.itemtype('text').datatype('http://www.w3.org/2001/XMLSchema#gMonthDay').register(dateEditor);
editors.itemtype('text').datatype('http://www.w3.org/2001/XMLSchema#gYearMonth').register(dateEditor);
editors.itemtype('text').datatype('http://www.w3.org/2001/XMLSchema#time').register(dateEditor);
editors.itemtype('text').datatype('http://purl.org/dc/terms/W3CDTF').register(dateEditor);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/duration.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/duration.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _viewUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../viewUtils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/viewUtils.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





/* eslint-disable no-unused-vars */





const keys = ['years', 'months', 'days', 'hours', 'minutes'];
const editors = _renderingContext__WEBPACK_IMPORTED_MODULE_7__["default"].editorRegistry;
editors.itemtype('text').datatype('xsd:duration').register((fieldDiv, binding, context) => {
  const bundle = context.view.messages;
  const TextComp = () => {
    const [duration, setDuration] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(() => {
      const value = binding.getValue();
      if (value === '') {
        return {};
      }
      return (0,_viewUtils__WEBPACK_IMPORTED_MODULE_8__.fromDuration)(value);
    });
    (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
      context.clear = () => {
        setDuration({});
      };
    }, []);
    const onChange = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => keys.reduce((accum, key) => {
      accum[key] = e => {
        const newValue = e.target.value || '';
        setDuration(currentDuration => {
          const newDuration = _objectSpread({}, currentDuration);
          if (newValue !== '') {
            newDuration[key] = Math.abs(parseInt(newValue, 10));
          } else {
            delete newDuration[key];
          }
          // Setting the new binding value may cause a setState call on another component, if so it causes warnings.
          // Although it is probably an overly sensitive check in react as it should be ok in a callback to a setState.
          setTimeout(() => {
            binding.setValue((0,_viewUtils__WEBPACK_IMPORTED_MODULE_8__.toDuration)(newDuration));
          }, 1);
          return newDuration;
        });
      };
      return accum;
    }, {}));
    const descBy = context.view.getLabelIndex(binding);
    const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_9__.useNamedGraphId)(binding, context);
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, keys.map(key => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_6__["default"], {
      key: key,
      className: "rdformsDurationInput",
      value: `${duration[key] || ''}`,
      disabled: !!ngId,
      label: bundle[`duration_${key}`],
      type: "number",
      onChange: onChange[key],
      inputProps: {
        min: 0,
        'aria-label': bundle[`duration_${key}`],
        'aria-describedby': descBy
      },
      variant: _renderingContext__WEBPACK_IMPORTED_MODULE_7__["default"].materialVariant
    })));
  };
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(TextComp, {
    key: binding.getHash()
  }));
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   editLocalizedChoice: () => (/* binding */ editLocalizedChoice),
/* harmony export */   loadLocalizedChoice: () => (/* binding */ loadLocalizedChoice),
/* harmony export */   localizedChoice: () => (/* binding */ localizedChoice),
/* harmony export */   useLocalizedChoice: () => (/* binding */ useLocalizedChoice),
/* harmony export */   useLocalizedSortedChoices: () => (/* binding */ useLocalizedSortedChoices),
/* harmony export */   useName: () => (/* binding */ useName),
/* harmony export */   useNamedGraphId: () => (/* binding */ useNamedGraphId)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _viewUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../viewUtils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/viewUtils.js");








/**
 * Wraps a choice in an object where the current label, and description is localized.
 *
 * @param {Object} choice an original choice object with label and descriptions being maps with language strings
 * @param {isEditor} true means we are in edit mode and editLabel or editDescription have preference if they exist.
 * @return {Object}
 */
const localizedChoice = (choice, isEditor) => ({
  value: choice.value,
  label: _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedValue(isEditor ? choice.editlabel || choice.label : choice.label).value,
  description: choice.description || choice.editdescription ? _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedValue(isEditor ? choice.editdescription || choice.description : choice.description).value : undefined,
  seeAlso: choice.seeAlso,
  mismatch: choice.mismatch,
  original: choice
});
const editLocalizedChoice = choice => localizedChoice(choice, true);

/**
 * Use choices from a binding with localized labels and sorted.
 * A copy is returned with precalculated labels to allow sorting, use the original property on each choice
 * to access the original choice with full information.
 * If the current choice is a mismatch, it is added to the list of choices.
 *
 * @param {Binding} binding
 * @return {Array}
 */
const useLocalizedSortedChoices = (binding, isEditor) => (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => {
  const item = binding.getItem();
  const choices = item.getChoices().map(isEditor ? editLocalizedChoice : localizedChoice);
  if (!item.hasStyle('preserveOrderOfChoices')) {
    choices.sort((c1, c2) => c1.label < c2.label ? -1 : 1);
  }
  const currentChoice = binding.getChoice();
  if (currentChoice != null && currentChoice.mismatch) {
    choices.unshift({
      value: currentChoice.value,
      label: currentChoice.value,
      mismatch: true,
      original: currentChoice
    });
  }
  return choices;
}, []);

/**
 * Returns a localized choice from the array of localized choices based on the current selected choice in the binding.
 * @param {Binding} binding
 * @param {Array} choices an array of choices returned from the useLocalizedSortedChoices hook.
 */
const useLocalizedChoice = (binding, choices) => (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(() => {
  const choice = binding.getChoice() || null;
  return choice === null ? null : choices.find(c => c.original === choice);
});

/**
 * Returns a localized choice, may trigger a load step to get a more fleshed out version of the choice,
 * i.e. with label, description and seeAlso.
 * @param {Binding} binding
 * @param {boolean} isEditor if true any editlabel or editdescription takes precedence
 */
const loadLocalizedChoice = (binding, isEditor) => {
  const localize = isEditor ? editLocalizedChoice : localizedChoice;
  const [choice, setChoice] = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(() => {
    const originalChoice = binding.getChoice() || null;
    return originalChoice ? localize(originalChoice) : null;
  });
  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(() => {
    if (choice && choice.original.load) {
      choice.original.load(() => {
        setChoice(localize(choice.original));
      }, () => {
        setChoice(localize(choice.original));
      });
    }
  }, []);
  return [choice, setChoice];
};
let nameCounter = 0;
/**
 * Gives a unique name to be used in forms.
 */
const useName = () => (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => {
  nameCounter += 1;
  return `_rdforms_${nameCounter}`;
}, []);
const useNamedGraphId = (binding, context) => (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(() => (0,_viewUtils__WEBPACK_IMPORTED_MODULE_6__.getNamedGraphId)(binding, context));

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/labels.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/labels.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/material/Tooltip */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/Tooltip.js");
/* harmony import */ var _mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/material/Tooltip */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/tooltipClasses.js");
/* harmony import */ var _mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/ClickAwayListener */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ClickAwayListener/ClickAwayListener.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_styles__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/styles */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _mui_icons_material_HelpOutline__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/icons-material/HelpOutline */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HelpOutline.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _Wrappers__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Wrappers */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/Wrappers.js");
/* harmony import */ var _model_CODES__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../model/CODES */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/CODES.js");

const _excluded = ["className"];


function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
/* eslint-disable no-unused-vars */










const StyledTooltip = (0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_8__["default"])(/*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.forwardRef)((_ref, ref) => {
  let {
      className
    } = _ref,
    props = _objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({}, props, {
    classes: {
      popper: className
    }
  }));
}))(_ref2 => {
  let {
    theme
  } = _ref2;
  return {
    [`& .${_mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_5__["default"].tooltip}`]: {
      backgroundColor: theme.palette.background.default,
      fontSize: 12,
      color: 'black',
      boxShadow: theme.shadows[10],
      pointerEvents: 'auto'
    },
    [`& .${_mui_material_Tooltip__WEBPACK_IMPORTED_MODULE_5__["default"].tooltipPlacementBottom}`]: {
      margin: '2px 0 24px 0',
      marginTop: '0px !important'
    }
  };
});
const getDescription = (item, view) => {
  const descMap = view instanceof _Wrappers__WEBPACK_IMPORTED_MODULE_12__.Editor ? item.getEditDescriptionMap() || item.getDescriptionMap() : item.getDescriptionMap();
  return _utils__WEBPACK_IMPORTED_MODULE_11__["default"].getLocalizedValue(descMap, view.getLocale()).value;
};
const DescriptionIcon = _ref3 => {
  let {
    item,
    context
  } = _ref3;
  const {
    view
  } = context;
  const description = getDescription(item, view);
  const [pinned, setPinned] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const [hovered, setHovered] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false);
  const property = item.getProperty();
  const fallbackDescription = !description && !property ? view.messages.info_missing || '' : '';
  const shownDescription = description || fallbackDescription;
  if (!shownDescription && !property) return null;
  const propinfo = property ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
    className: "rdformsProperty"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("a", {
    target: "_blank",
    href: property
  }, property)) : null;
  const tooltipContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement((react__WEBPACK_IMPORTED_MODULE_3___default().Fragment), null, shownDescription ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("p", {
    className: "rdformsLinebreaks rdformsDescription"
  }, shownDescription) : null, propinfo);
  const handleClick = () => setPinned(!pinned);
  const handleKeyDown = e => {
    if (e.key !== 'Escape' || !pinned) return;
    setPinned(false);
    e.stopPropagation();
  };
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_ClickAwayListener__WEBPACK_IMPORTED_MODULE_6__.ClickAwayListener, {
    onClickAway: () => setPinned(false)
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(StyledTooltip, {
    title: tooltipContent,
    placement: "top-start",
    open: pinned || hovered,
    onOpen: () => setHovered(true),
    onClose: () => setHovered(false)
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_7__["default"], {
    className: "rdformsDescriptionIcon",
    size: "small",
    "aria-label": view.messages.info_description,
    onClick: handleClick,
    onKeyDown: handleKeyDown,
    sx: {
      marginLeft: '0px !important'
    }
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_mui_icons_material_HelpOutline__WEBPACK_IMPORTED_MODULE_9__["default"], {
    fontSize: "inherit"
  })))));
};
_renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].renderPresenterLabel = (rowNode, binding, item, context) => {
  let labelMap = context.view instanceof _Wrappers__WEBPACK_IMPORTED_MODULE_12__.Editor ? item.getEditLabelMap() || item.getLabelMap() : item.getLabelMap();
  let label = _utils__WEBPACK_IMPORTED_MODULE_11__["default"].getLocalizedValue(labelMap, context.view.getLocale()).value;
  if (label != null && label !== '') {
    label = label.charAt(0).toUpperCase() + label.slice(1);
  } else {
    label = '';
  }
  const view = context.view;
  let description;
  if (item.hasStyle('showDescriptionInPresent') || view.showDescription) {
    // An item is compact if it is exclicitly set as compact or
    // the view is set as compact and the item is not explicitly set as not compact AND
    // we are at the top
    const compactField = item.hasStyle('compact') || view.compact && !item.hasStyle('nonCompact') && (view.topLevel && item.getType() !== 'group' || view.parentView && view.parentView.topLevel && view.binding.getItem().hasStyle('heading'));
    const descMap = view instanceof _Wrappers__WEBPACK_IMPORTED_MODULE_12__.Editor ? item.getEditDescriptionMap() || item.getDescriptionMap() : item.getDescriptionMap();
    const desc = _utils__WEBPACK_IMPORTED_MODULE_11__["default"].getLocalizedValue(descMap, context.view.getLocale()).value;
    if (!compactField && desc) {
      description = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
        className: "rdformsDescription"
      }, desc);
    }
  }
  const labelId = binding ? context.view.createLabelIndex(binding) : undefined;
  const HeadingElement = `h${context.view.headingLevel}`;
  const descriptionIcon = context.view.popupOnLabel ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(DescriptionIcon, {
    item: item,
    context: context
  }) : null;
  label = item.hasStyle('heading') ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(HeadingElement, {
    tabIndex: "0",
    id: labelId,
    className: "rdformsLabelRow"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
    className: "rdformsLabel"
  }, label), descriptionIcon) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
    tabIndex: "0",
    id: labelId,
    className: "rdformsLabelRow"
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
    className: "rdformsLabel"
  }, label), descriptionIcon);
  rowNode.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(react__WEBPACK_IMPORTED_MODULE_3__.Fragment, {
    key: `${binding ? binding.getHash() : item.getHash()}_label`
  }, label, description));
};
_renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].renderEditorLabel = (rowNode, binding, item, context) => {
  if (item.hasStyle('nonEditable') || item.hasStyle('heading')) {
    _renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].renderPresenterLabel(rowNode, binding, item, context, true);
  } else {
    let labelMap = item.getEditLabelMap() || item.getLabelMap();
    let label = _utils__WEBPACK_IMPORTED_MODULE_11__["default"].getLocalizedValue(labelMap, context.view.getLocale()).value;
    if (label != null && label !== '') {
      label = label.charAt(0).toUpperCase() + label.slice(1);
    } else {
      label = '';
    }
    const HeadingElement = `h${context.view.headingLevel}`;
    label = item.hasStyle('heading') ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(HeadingElement, {
      tabIndex: "0",
      className: "rdformsLabel"
    }, label) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
      tabIndex: "0",
      className: "rdformsLabel"
    }, label);
    const card = item.getCardinality();
    const b = context.view.messages;
    let mark;

    // Only show mark if there is a property that allows the item to have an expression on its own
    if (item.getProperty()) {
      if (card.min > 0) {
        mark = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
          className: "rdformsMark rdformsMandatoryMark"
        }, b.mandatoryMark);
      } else if (card.pref > 0) {
        mark = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
          className: "rdformsMark rdformsRecommendedMark"
        }, b.recommendedMark);
      } else {
        mark = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("span", {
          className: "rdformsMark rdformsOptionalMark"
        }, b.optionalMark);
      }
    }
    let Button;
    if (binding == null) {
      Button = _renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].addExpandButton(rowNode, null, item, context);
    } else if (item.getType() === 'group' && !context.view.showAsTable(item)) {
      if (item.getProperty()) {
        Button = _renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].addRemoveButton(rowNode, binding, context);
      }
    }
    const view = context.view;
    let description;
    if (item.hasStyle('showDescriptionInEdit') || view.showDescription) {
      // An item is compact if it is exclicitly set as compact or
      // the view is set as compact and the item is not explicitly set as not compact AND
      // we are at the top
      const compactField = item.hasStyle('compact') || view.compact && !item.hasStyle('nonCompact') && (view.topLevel && item.getType() !== 'group' || view.parentView && view.parentView.topLevel && view.binding.getItem().hasStyle('heading'));
      const descMap = view instanceof _Wrappers__WEBPACK_IMPORTED_MODULE_12__.Editor ? item.getEditDescriptionMap() || item.getDescriptionMap() : item.getDescriptionMap();
      const desc = _utils__WEBPACK_IMPORTED_MODULE_11__["default"].getLocalizedValue(descMap, context.view.getLocale()).value;
      if (!compactField && desc) {
        description = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
          className: "rdformsDescription",
          tabIndex: "0"
        }, desc);
      }
    }
    const labelId = context.view.createLabelIndex(binding);
    const descriptionIcon = context.view.popupOnLabel ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(DescriptionIcon, {
      item: item,
      context: context
    }) : null;
    rowNode.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(react__WEBPACK_IMPORTED_MODULE_3__.Fragment, {
      key: `${binding.getHash()}_label`
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
      id: labelId,
      className: "rdformsLabelRow"
    }, label, mark, descriptionIcon, Button && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(Button, null)), description));
  }
};
const ERR = props => {
  const {
    rowNode,
    binding,
    item,
    context
  } = props;
  const [code, setCode] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(binding.getCardinalityTracker().getCode());
  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(() => {
    const cardTr = binding.getCardinalityTracker();
    const checkAndSetCode = () => {
      const newCode = cardTr.getCode();
      _renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].domClassToggle(rowNode, 'rdformsError', newCode !== _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].UNKNOWN);
      setCode(newCode);
    };
    checkAndSetCode(); // We call it here to be sure, not depending on a potential callback from cardTr
    const listener = cardTr.addListener(checkAndSetCode);
    return () => cardTr.removeListener(listener);
  }, []);
  if (code === _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].UNKNOWN) {
    return '';
  }
  let message;
  switch (code) {
    case _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].TOO_MANY_VALUES:
    case _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].AT_MOST_ONE_CHILD:
      message = context.view.messages.validation_at_most_one_child;
      break;
    case _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].AT_LEAST_ONE_CHILD:
      message = context.view.messages.validation_at_least_one_child;
      break;
    case _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].EXACTLY_ONE_CHILD:
      message = context.view.messages.validation_exactly_one_child;
      break;
    case _model_CODES__WEBPACK_IMPORTED_MODULE_13__["default"].TOO_FEW_VALUES_MIN:
    default:
      message = context.view.messages.missingValueField;
  }
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
    className: "rdformsWarning"
  }, message);
};
_renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].renderEditorLabelScopeEnd = (rowNode, binding, item, context) => {
  if (!item.hasStyle('nonEditable') && !item.hasStyle('heading')) {
    if (!context.view.isMultiValued(item)) {
      let Button;
      const card = item.getCardinality();
      if (binding == null) {
        Button = _renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].addExpandButton(rowNode, null, item, context);
      } else if (binding.getPredicate() && !context.view.showAsTable(item) && card.max !== 1 && (card.max == null || card.max !== card.min)) {
        Button = _renderingContext__WEBPACK_IMPORTED_MODULE_10__["default"].addCreateChildButton(rowNode, null, binding, context);
      }
      if (Button) {
        rowNode.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(Button, {
          key: `${binding.getHash()}_labelEnd`
        }));
      }
    }
    // If the item is deprecated and there are at least one matching value (binding),
    // provide a message and make sure the entire row (including the label) is deleted when
    // the last faulty binding have been removed
    if (item.hasStyle('deprecated')) {
      const cardTr = binding.getCardinalityTracker();
      const listener = cardTr.addListener(() => {
        if (cardTr.getCardinality() === 0) {
          cardTr.removeListener(listener);
          rowNode.destroy();
        }
      });
      rowNode.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
        key: "deprecatedWarning",
        className: "rdformsWarning"
      }, context.view.messages.deprecatedField));
    }

    // If there are dependencies that are not fulfilled, notify.
    if (item.getDeps()) {
      rowNode.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement("div", {
        key: "dependencyWarning",
        className: "rdformsWarning rdformsDependency"
      }, context.view.messages.dependencyField));
    }
    rowNode.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(ERR, {
      key: "errMessage",
      rowNode: rowNode,
      binding: binding,
      item: item,
      context: context
    }));
  }
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/text.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/text.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _model_system__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../model/system */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _viewUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../viewUtils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/viewUtils.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");

function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
/* eslint-disable no-unused-vars */





const presenters = _renderingContext__WEBPACK_IMPORTED_MODULE_3__["default"].presenterRegistry;
presenters.itemtype('text').datatype('xsd:duration').register((fieldDiv, binding, context) => {
  const data = (0,_viewUtils__WEBPACK_IMPORTED_MODULE_4__.fromDuration)(binding.getValue());
  const keys = ['years', 'months', 'days', 'hours', 'minutes'];
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
    key: binding.getHash()
  }, keys.map(key => data[key] !== 0 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {
    key: key
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
    className: "durationLabel"
  }, context.view.messages[`duration_${key}`], ":"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
    className: "durationValue"
  }, data[key])))));
});
presenters.itemtype('text').nodetype('URI').register((fieldDiv, binding) => {
  const vmap = _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedMap(binding);
  const val = binding.getValue();
  const attrs = binding.getItem().hasStyle('externalLink') ? _model_system__WEBPACK_IMPORTED_MODULE_2__["default"].attachExternalLinkBehaviour(fieldDiv, binding) || {} : _model_system__WEBPACK_IMPORTED_MODULE_2__["default"].attachLinkBehaviour(fieldDiv, binding) || {};
  const component = attrs.component || null;
  delete attrs.component;
  // eslint-disable-next-line no-nested-ternary
  const lbl = binding.getItem().hasStyle('showValue') ? val : vmap ? _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedValue(vmap).value || val : binding.getGist();
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", _extends({}, attrs, {
    key: binding.getHash(),
    title: val,
    href: val
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", null, lbl), component));
});
presenters.itemtype('group').nodetype('URI').style('linkWithLabel').register((fieldDiv, binding, context) => {
  const val = binding.getValue();
  const attrs = binding.getItem().hasStyle('externalLink') ? _model_system__WEBPACK_IMPORTED_MODULE_2__["default"].attachExternalLinkBehaviour(fieldDiv, binding) || {} : _model_system__WEBPACK_IMPORTED_MODULE_2__["default"].attachLinkBehaviour(fieldDiv, binding) || {};
  const component = attrs.component || null;
  delete attrs.component;
  const labelItem = binding.getItem().getChildren().find(i => i.hasStyle('label'));
  const labelBindings = labelItem ? _renderingContext__WEBPACK_IMPORTED_MODULE_3__["default"].filterTranslations(binding.getChildBindingsFor(labelItem), context.view.getLocale(), context.view.defaultLanguage) : [];
  const tooltipItem = binding.getItem().getChildren().find(i => i.hasStyle('tooltip'));
  const tooltipBindings = tooltipItem ? _renderingContext__WEBPACK_IMPORTED_MODULE_3__["default"].filterTranslations(binding.getChildBindingsFor(tooltipItem), context.view.getLocale(), context.view.defaultLanguage) : [];
  const tooltip = tooltipBindings.length > 0 ? tooltipBindings[0].getValue() : val;
  let lbl;
  if (labelBindings.length > 0) {
    lbl = labelBindings[0].getValue();
  } else {
    const vmap = _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedMap(binding);
    // eslint-disable-next-line no-nested-ternary
    lbl = binding.getItem().hasStyle('showValue') ? val : vmap ? _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedValue(vmap).value || val : binding.getGist();
  }
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", _extends({}, attrs, {
    key: binding.getHash(),
    title: tooltip,
    href: val
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", null, lbl), component));
});
presenters.itemtype('text').nodetype('URI').style('externalLink').register((fieldDiv, binding) => {
  const vmap = _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedMap(binding);
  const val = binding.getValue();
  const attrs = _model_system__WEBPACK_IMPORTED_MODULE_2__["default"].attachExternalLinkBehaviour(fieldDiv, binding) || {};
  attrs.target = attrs.target || '_blank';
  const component = attrs.component || null;
  delete attrs.component;
  // eslint-disable-next-line no-nested-ternary
  const lbl = binding.getItem().hasStyle('showValue') ? val : vmap ? _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedValue(vmap).value || val : binding.getGist();
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", _extends({}, attrs, {
    key: binding.getHash(),
    title: val,
    href: val
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", null, lbl), component));
});
presenters.itemtype('text').nodetype('URI').style('image').register((fieldDiv, binding) => {
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("img", {
    key: binding.getHash(),
    className: "rdformsImage",
    src: binding.getGixt()
  }));
});

// Presenter for text.
/*presenters.itemtype('text').style('inline').register((fieldDiv, binding, context) => {
  const language = binding.getLanguage();

  // HERE
  const val2binding = {};
  // eslint-disable-next-line no-return-assign
  parentBinding.getChildBindingsFor(item).forEach(b => (val2binding[b.getValue()] = b));


  const lbl = binding.getItem().hasStyle('showValue') ? binding.getValue() : binding.getGist();
  if (language) {
    fieldDiv.appendChild(<span lang={language} key={binding.getHash()}>{lbl}</span>);
  } else {
    fieldDiv.appendChild(<span key={binding.getHash()}>{lbl}</span>);
  }
});*/

presenters.itemtype('text').register((fieldDiv, binding, context) => {
  const item = binding.getItem();
  const language = binding.getLanguage();
  if (!item.hasStyle('inline')) {
    if (item.hasStyle('multiline')) {
      _renderingContext__WEBPACK_IMPORTED_MODULE_3__["default"].domClassToggle(fieldDiv, 'rdformsMultiline', true);
    } else {
      _renderingContext__WEBPACK_IMPORTED_MODULE_3__["default"].domClassToggle(fieldDiv, 'rdformsSingleline', true);
    }
    if (context.view.showLanguage && language) {
      fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
        className: "rdformsLanguage",
        key: `lang_${binding.getHash()}`
      }, language));
    }
  }

  // The text is shown as a link to the parents bindings URI if:
  // 1) The current item is indicated to be a label.
  // 2) The presenter is not at topLevel.
  // 3) The current item is first in the parents list of children.
  // 4) The parent binding corresponds to a URI
  const parentBinding = binding.getParent();
  if (item.hasStyle('label') && context.view.topLevel !== true && parentBinding != null && parentBinding.getItem().getChildren()[0] === item && parentBinding.getStatement() != null && parentBinding.getStatement().getType() === 'uri') {
    const attrs = _model_system__WEBPACK_IMPORTED_MODULE_2__["default"].attachLinkBehaviour(fieldDiv, binding, parentBinding);
    const component = attrs.component || null;
    delete attrs.component;
    if (language) {
      attrs.lang = language;
    }
    const vmap = _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedMap(binding);
    const val = parentBinding.getGist();
    fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", _extends({}, attrs, {
      key: binding.getHash(),
      className: "rdformsUrl",
      href: parentBinding.getStatement().getValue()
    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", null, vmap ? _utils__WEBPACK_IMPORTED_MODULE_5__["default"].getLocalizedValue(vmap).value || val : val), component));
  } else {
    const lbl = item.hasStyle('showValue') ? binding.getValue() : binding.getGist();
    if (language) {
      fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
        lang: language,
        key: binding.getHash()
      }, lbl));
    } else {
      fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
        key: binding.getHash()
      }, lbl));
    }
  }
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/textEditors.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/textEditors.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _mui_material_TextField__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/material/TextField */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js");
/* harmony import */ var _mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/icons-material/OpenInNew */ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js");
/* harmony import */ var _mui_material_IconButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/material/IconButton */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/material/MenuItem */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _mui_material_FormControl__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/material/FormControl */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _mui_material_Select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @mui/material/Select */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _renderingContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../renderingContext */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../utils */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/utils.js");
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./hooks */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/hooks.js");





/* eslint-disable no-unused-vars */
// eslint-disable-next-line no-unused-vars










const LanguageControl = props => {
  const [lang, setLang] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(props.binding.getLanguage() || '');
  const langs = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(() => {
    const primaryLangs = _utils__WEBPACK_IMPORTED_MODULE_13__["default"].cloneArrayWithLabels(_renderingContext__WEBPACK_IMPORTED_MODULE_12__["default"].getPrimaryLanguageList());
    const langList = _utils__WEBPACK_IMPORTED_MODULE_13__["default"].cloneArrayWithLabels(_renderingContext__WEBPACK_IMPORTED_MODULE_12__["default"].getNonPrimaryLanguageList());
    return primaryLangs.length === 0 ? langList : primaryLangs.concat([null], langList);
  });
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    if (!props.binding.isValid()) {
      const defLang = props.context.view.getDefaultTextLanguage();
      if (typeof defLang === 'string' && defLang !== '') {
        setLang(defLang);
        props.binding.setLanguage(defLang, true);
      }
    }
  }, []);
  const onLangChange = event => {
    props.binding.setLanguage(event.target.value);
    setLang(event.target.value);
  };
  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
    props.context.clearLanguage = () => {
      setLang('');
    };
  }, []);
  const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_14__.useNamedGraphId)(props.binding, props.context);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_FormControl__WEBPACK_IMPORTED_MODULE_10__["default"], {
    className: "rdformsLangControl",
    variant: _renderingContext__WEBPACK_IMPORTED_MODULE_12__["default"].materialVariant
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_Select__WEBPACK_IMPORTED_MODULE_11__["default"], {
    inputProps: {
      'aria-labelledby': props.labelledby
    },
    value: lang,
    disabled: !!ngId,
    onChange: onLangChange
  }, langs.map(langOption => langOption === null ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_9__["default"], {
    key: "_none",
    value: "_none",
    disabled: true
  }, "\u2500\u2500\u2500\u2500\u2500") : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_MenuItem__WEBPACK_IMPORTED_MODULE_9__["default"], {
    key: langOption.value,
    value: langOption.value
  }, langOption.label || '\u00A0'))));
};
const editors = _renderingContext__WEBPACK_IMPORTED_MODULE_12__["default"].editorRegistry;
editors.itemtype('text').register((fieldDiv, binding, context) => {
  const item = binding.getItem();
  const nodeType = item.getNodetype();
  const multiline = item.hasStyle('multiline');
  const extLink = item.hasStyle('externalLink');
  const langlit = nodeType === 'LANGUAGE_LITERAL' || nodeType === 'PLAIN_LITERAL';
  const pattern = item.getPattern();
  const regex = pattern ? new RegExp(pattern) : null;
  const TextComp = () => {
    const [gist, setGist] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(binding.getGist());
    const value = binding.getValue();
    (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
      context.clear = () => {
        setGist('');
        if (context.clearLanguage) {
          context.clearLanguage();
        }
      };
    }, []);
    const valid = gist !== null && gist !== '' && regex ? regex.test(gist) : true;
    const labelledBy = context.view.getLabelIndex(binding);
    const iprops = {
      value: gist,
      'aria-labelledby': labelledBy,
      onChange: e => {
        const newValue = e.target.value;
        if (!regex || regex.test(newValue)) {
          binding.setGist(newValue);
        } else {
          binding.setGist('');
        }
        setGist(newValue);
      }
    };
    const bundle = context.view.messages;
    const ngId = (0,_hooks__WEBPACK_IMPORTED_MODULE_14__.useNamedGraphId)(binding, context);
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_6__["default"], {
      className: extLink || langlit ? 'rdformsTwoThirds' : '',
      multiline: multiline,
      placeholder: item.getPlaceholder(),
      error: !valid,
      disabled: !!ngId,
      helperText: !valid ? item.getHelp() || '' : '',
      variant: _renderingContext__WEBPACK_IMPORTED_MODULE_12__["default"].materialVariant,
      inputProps: iprops
    }), extLink && (value != null || value === '') && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_IconButton__WEBPACK_IMPORTED_MODULE_8__["default"], {
      "aria-label": bundle.openLinkExternally,
      disabled: !valid,
      target: "_blank",
      href: value,
      title: value
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_icons_material_OpenInNew__WEBPACK_IMPORTED_MODULE_7__["default"], null)), langlit ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(LanguageControl, {
      binding: binding,
      context: context,
      labelledby: labelledBy
    }) : '');
  };
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(TextComp, {
    key: binding.getHash()
  }));
});
const bindToPattern = pattern => (fieldDiv, binding, context) => {
  const regex = pattern ? new RegExp(pattern) : null;
  const item = binding.getItem();
  const TextComp = () => {
    const [gist, setGist] = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(binding.getGist());
    (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(() => {
      context.clear = () => setGist('');
    }, []);
    const valid = gist && regex ? regex.test(gist) : true;
    const labelledBy = context.view.getLabelIndex(binding);
    const iprops = {
      value: gist,
      'aria-labelledby': labelledBy,
      onChange: e => {
        const newValue = e.target.value;
        if (!regex || regex.test(newValue)) {
          binding.setGist(newValue);
        } else {
          binding.setGist('');
        }
        setGist(newValue);
      }
    };
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_mui_material_TextField__WEBPACK_IMPORTED_MODULE_6__["default"], {
      error: !valid,
      placeholder: item.getPlaceholder(),
      helperText: !valid ? item.getHelp() || '' : '',
      variant: _renderingContext__WEBPACK_IMPORTED_MODULE_12__["default"].materialVariant,
      inputProps: iprops
    });
  };
  fieldDiv.appendChild(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(TextComp, {
    key: binding.getHash()
  }));
};
editors.itemtype('text').datatype('xsd:integer').register(bindToPattern('^-?\\d+$'));
editors.itemtype('text').datatype('xsd:decimal').register(bindToPattern('^-?(\\d+(\\.\\d+)?)$'));

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/renderingContext.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Registry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Registry */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/Registry.js");
/* harmony import */ var _model_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../model/system */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/model/system.js");
/* harmony import */ var _resources_nls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./resources/nls */ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/resources/nls.json");
/* eslint-disable no-unused-vars */



let popoverContainer = 'body';
let messages;
let languages;
let primaryLanguageCodes;
let primaryLanguages;
let nonPrimaryLanguages;
const defaultLanguages = [{
  value: '',
  label: {
    en: ''
  }
}, {
  value: 'bg',
  label: {
    en: 'Bulgarian',
    bg: 'български'
  }
}, {
  value: 'es',
  label: {
    en: 'Spanish',
    es: 'Español'
  }
}, {
  value: 'cs',
  label: {
    en: 'Czech',
    cs: 'čeština'
  }
}, {
  value: 'da',
  label: {
    en: 'Danish',
    da: 'Dansk'
  }
}, {
  value: 'no',
  label: {
    en: 'Norwegian',
    no: 'Norsk',
    nb: 'Norsk',
    nn: 'Norsk nynorsk'
  }
}, {
  value: 'nb',
  label: {
    en: 'Norwegian (bokmål)',
    nb: 'Norsk bokmål',
    no: 'Norsk bokmål',
    nn: 'Norsk bokmål'
  }
}, {
  value: 'nn',
  label: {
    en: 'Norwegian (nynorsk)',
    nb: 'Norsk nynorsk',
    no: 'Norsk nynorsk',
    nn: 'Norsk nynorsk'
  }
}, {
  value: 'de',
  label: {
    en: 'German',
    de: 'Deutsch'
  }
}, {
  value: 'et',
  label: {
    en: 'Estonian',
    et: 'Eesti keel'
  }
}, {
  value: 'el',
  label: {
    en: 'Greek',
    el: 'ελληνικά'
  }
}, {
  value: 'en',
  label: {
    en: 'English'
  }
}, {
  value: 'fr',
  label: {
    en: 'French',
    fr: 'Français'
  }
}, {
  value: 'ga',
  label: {
    en: 'Irish',
    ga: 'Gaeilge'
  }
}, {
  value: 'hr',
  label: {
    en: 'Croatian',
    hr: 'Hrvatski'
  }
}, {
  value: 'it',
  label: {
    en: 'Italian',
    it: 'Italiano'
  }
}, {
  value: 'lv',
  label: {
    en: 'Latvian',
    lv: 'Latviešu valoda'
  }
}, {
  value: 'lt',
  label: {
    en: 'Lithuanian',
    lt: 'Lietuvių kalba'
  }
}, {
  value: 'hu',
  label: {
    en: 'Hungarian',
    hu: 'Magyar'
  }
}, {
  value: 'mt',
  label: {
    en: 'Maltese',
    mt: 'Malti'
  }
}, {
  value: 'nl',
  label: {
    en: 'Dutch',
    nl: 'Nederlands'
  }
}, {
  value: 'pl',
  label: {
    en: 'Polish',
    pl: 'Polski'
  }
}, {
  value: 'pt',
  label: {
    en: 'Portuguese',
    pt: 'Português'
  }
}, {
  value: 'ro',
  label: {
    en: 'Romanian',
    ro: 'Română'
  }
}, {
  value: 'sk',
  label: {
    en: 'Slovak',
    sk: 'Slovenčina'
  }
}, {
  value: 'sl',
  label: {
    en: 'Slovenian',
    sl: 'Slovenščina'
  }
}, {
  value: 'fi',
  label: {
    en: 'Finnish',
    fi: 'Suomi'
  }
}, {
  value: 'sv',
  label: {
    en: 'Swedish',
    sv: 'Svenska'
  }
}];
const renderingContext = {
  domQuery(/* selector, node */
  ) {},
  domCreate(/* domStr, node, id */
  ) {},
  domCreateAfter(/* domStr, node, id */
  ) {},
  domClassToggle(/* node, classStr, addOrRemove */
  ) {},
  domSetAttr(/* node, attr, value */
  ) {},
  domText(/* node, text */
  ) {},
  createDomNode(srcNodeRef /* , view */) {
    if (srcNodeRef instanceof Node) {
      return srcNodeRef;
    } else if (typeof srcNodeRef === 'string') {
      return document.getElementById(srcNodeRef);
    }
    return document.createElement('div');
  },
  destroyDomNode(/* domNode, view */
  ) {},
  presenterRegistry: new _Registry__WEBPACK_IMPORTED_MODULE_0__["default"](),
  editorRegistry: new _Registry__WEBPACK_IMPORTED_MODULE_0__["default"](),
  /**
   * Provides a registry of choosers. Each chooser have with the following attributes:
   * getChoice - function(item, value) -> choice
   *  (i.e. a function that takes the arguments item and value and returns a choice.
   *   If the choice cannot be provided in full directly it is possible to include a
   *   load method in the object with a onSuccess and onError methods as parameters.)
   * show - function(binding, onSelect)
   *   (I.e. a function that given a binding launches the chooser dialog, when the user is
   *   finished and has made his selection the onSelect method will be called with the
   *   selected choice.)
   * query - function(item, term) -> promise with choices
   *   (I.e. a function that given an item and a searchterm gives back a promise with
   *   matching choices.)
   */
  chooserRegistry: new _Registry__WEBPACK_IMPORTED_MODULE_0__["default"](),
  renderPresenter(node, binding, context) {
    const renderer = renderingContext.presenterRegistry.getComponent(binding.getItem());
    if (renderer) {
      renderingContext.prePresenterRenderer(node, binding, context);
      renderer(node, binding, context);
      renderingContext.postPresenterRenderer(node, binding, context);
    }
  },
  renderEditor(node, binding, context) {
    const renderer = renderingContext.editorRegistry.getComponent(binding.getItem());
    if (renderer) {
      renderingContext.preEditorRenderer(node, binding, context);
      renderer(node, binding, context);
      renderingContext.postEditorRenderer(node, binding, context);
    }
  },
  renderValidationMessage(node, type, message) {},
  renderSelect(/* fieldDiv, binding, context */
  ) {},
  getChoice(item, value) {
    const chooser = renderingContext.chooserRegistry.getComponent(item);
    if (chooser == null) {
      throw new Error(`Error, no chooser available to retrieve a choice for item: ${item.getId()}`);
    }
    return chooser.getChoice(item, value);
  },
  hasOpenChoiceSelector(binding) {
    return renderingContext.chooserRegistry.getComponent(binding.getItem()) != null;
  },
  openChoiceSelector(binding, callback, field) {
    const chooser = renderingContext.chooserRegistry.getComponent(binding.getItem());
    if (chooser == null || !(chooser && chooser.getChoice)) {
      const item = binding.getItem();
      alert(`Error, no chooser available to open a choice selector for: ${item}`);
      return;
    }
    chooser.show(binding, callback, field);
  },
  getExtLinkClass() {
    return '';
  },
  setMessages(msgs) {
    messages = msgs;
  },
  getMessages() {
    return messages || _resources_nls__WEBPACK_IMPORTED_MODULE_2__; // i18n.getLocalization(nlsRdforms);
  },
  /**
   * This method returns a list of language-codes and their labels (in several translations)
   * An example for English looks like this:
   * {
   *   "value": "en",
   *   "label": {"en": "English", "sv": "Engelska"}
   * }
   *
   * @return {Array} of languages.
   */
  getLanguageList() {
    // TODO: Take this list from some kind of configuration
    return languages || defaultLanguages;
  },
  /**
   * @return {Array} of languages, subset of getLanguageList.
   */
  getPrimaryLanguageList() {
    if (!primaryLanguages) {
      const langs = renderingContext.getLanguageList();
      const pLangs = primaryLanguageCodes || [];
      const filteredPrimaryLangs = [];
      let empty;
      for (let i = 0; i < langs.length; i++) {
        const val = langs[i].value;
        const idx = pLangs.indexOf(val);
        if (val === '') {
          empty = langs[i];
        }
        if (idx !== -1) {
          // Sets in position to preserve order of primary languages
          filteredPrimaryLangs[idx] = langs[i];
        }
      }
      primaryLanguages = [];
      for (let j = 0; j < filteredPrimaryLangs.length; j++) {
        if (typeof filteredPrimaryLangs[j] === 'object') {
          primaryLanguages.push(filteredPrimaryLangs[j]);
        }
      }
      if (primaryLanguages.length > 0 && empty) {
        primaryLanguages.splice(0, 0, empty);
      }
    }
    return primaryLanguages;
  },
  /**
   * @return {Array} of languages, subset of getLanguageList.
   */
  getNonPrimaryLanguageList() {
    if (!nonPrimaryLanguages) {
      const pl = renderingContext.getPrimaryLanguageList();
      const excludeEmpty = pl.length > 0;
      const langs = renderingContext.getLanguageList();
      const pLangs = primaryLanguageCodes || [];
      nonPrimaryLanguages = [];
      for (let i = 0; i < langs.length; i++) {
        const val = langs[i].value;
        if (pLangs.indexOf(val) === -1) {
          if (!excludeEmpty || val !== '') {
            nonPrimaryLanguages.push(langs[i]);
          }
        }
      }
    }
    return nonPrimaryLanguages;
  },
  /**
   * Set a subset of languages that are going to be treated as primary languages,
   * typically displayed at the top of dropdowns.
   *
   * @param {string[]} primaryLangs is an array of language codes,
   * any languages not being a subset of the full language list is discardeed.
   */
  setPrimaryLanguageCodes(primaryLangCodes) {
    nonPrimaryLanguages = null;
    primaryLanguages = null;
    primaryLanguageCodes = primaryLangCodes;
  },
  setLanguageList(langs) {
    languages = langs;
  },
  filterTranslations(bindings, currentLanguage, defaultLanguage) {
    const alts = {};

    // Detect the various available languages
    // noLanguage - a binding exists with no language set
    // best - a binding exists with the current locale
    // close - a binding exists with a language close to the current locale,
    //        e.g. en_US when the locale is en or the opposite
    // defaultLanguage - a binding exists with a language corresponding to the defaultLanguage
    for (let index = 0; index < bindings.length; index++) {
      const lang = bindings[index].getLanguage();
      if (lang === '' || lang == null) {
        alts.noLanguage = true;
      } else if (lang === currentLanguage) {
        alts.best = true;
      } else if (lang.indexOf(currentLanguage) !== -1 || currentLanguage.indexOf(lang) !== -1) {
        alts.close = true;
      } else if (lang.indexOf(defaultLanguage) === 0) {
        alts.defaultLanguage = true;
      }
    }
    // Filter to bindings that are best, close and defaultLanguage in that order
    if (alts.best) {
      return bindings.filter(b => b.getLanguage() === currentLanguage);
    } else if (alts.close) {
      return bindings.filter(b => {
        const lang = b.getLanguage();
        return lang && (lang.indexOf(currentLanguage) !== -1 || currentLanguage.indexOf(lang) !== -1);
      });
    } else if (alts.defaultLanguage) {
      return bindings.filter(b => {
        const lang = b.getLanguage();
        return lang && lang.indexOf(defaultLanguage) === 0;
      });
    }

    // If there are no best, close or defaultLanguage bindings, don't do any filtering
    return bindings;
  },
  setPopoverContainer(container) {
    popoverContainer = container;
  },
  getPopoverContainer() {
    return popoverContainer;
  },
  // Override the following methods
  // eslint-disable-next-line no-unused-vars
  preEditorViewRenderer(viewNode, binding) {},
  // eslint-disable-next-line no-unused-vars
  prePresenterViewRenderer(viewNode, binding) {},
  preEditorRenderer() {},
  postEditorRenderer() {},
  prePresenterRenderer() {},
  postPresenterRenderer() {},
  renderEditorLabel(/* rowNode, binding, item, context */
  ) {},
  renderEditorLabelScopeEnd(/* rowNode, binding, item, context */
  ) {},
  renderPresenterLabel(/* rowNode, binding, item, context */
  ) {},
  attachItemInfo(/* item, aroundNode, context */
  ) {},
  addCreateChildButton(/* rowDiv, labelDiv, binding, context */
  ) {},
  addGroupButtons(/* rowDiv, labelDiv, binding, context */
  ) {},
  addExpandButton(/* rowDiv, labelDiv, item, context */
  ) {},
  addRemoveButton(/* fieldDiv, binding, context, onReset */
  ) {},
  addPresenterTable(/* lastRow, firstBinding, context */
  ) {},
  fillPresenterTable(/* table, bindings, context */
  ) {},
  addEditorTable(/* lastRow, firstBinding, context */
  ) {},
  fillEditorTable(/* table, bindings, context */
  ) {},
  addTruncateControl(/* fieldsDiv */
  ) {}
};
_model_system__WEBPACK_IMPORTED_MODULE_1__["default"].getChoice = renderingContext.getChoice;
const groupPresenter = (fieldDiv, binding, context) => {
  const Cls = context.view.constructor;
  // eslint-disable-next-line no-new
  new Cls({
    parentView: context.view,
    renderingParams: context.view.renderingParams,
    messages: context.view.messages,
    binding,
    topLevel: false,
    compact: context.view.compact,
    showLanguage: context.view.showLanguage,
    showDescription: context.view.showDescription,
    defaultLanguage: context.view.defaultLanguage,
    filterTranslations: context.view.filterTranslations,
    popupOnLabel: context.view.popupOnLabel,
    truncate: context.view.truncate,
    truncateLimit: context.view.truncateLimit,
    headingLevel: context.view.headingLevel,
    includeLevel: context.view.includeLevel // Copied from groupEditor, was this.includeLevel but that 'this' does not make sense here
  }, fieldDiv);
};
renderingContext.presenterRegistry.itemtype('group').register(groupPresenter);
renderingContext.presenterRegistry.itemtype('propertygroup').register(groupPresenter);
const groupEditor = (fieldDiv, binding, context) => {
  const Cls = context.view.constructor;
  const subView = new Cls({
    parentView: context.view,
    renderingParams: context.view.renderingParams,
    messages: context.view.messages,
    languages: context.view.languages,
    binding,
    topLevel: false,
    compact: context.view.compact,
    popupOnLabel: context.view.popupOnLabel,
    showDescription: context.view.showDescription,
    truncate: context.view.truncate,
    truncateLimit: context.view.truncateLimit,
    headingLevel: context.view.headingLevel,
    includeLevel: context.view.includeLevel
  }, fieldDiv);
  context.view._subEditors.push(subView);
};
renderingContext.editorRegistry.itemtype('group').register(groupEditor);
renderingContext.editorRegistry.itemtype('propertygroup').register(groupEditor);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (renderingContext);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/viewUtils.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/viewUtils.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   fromDuration: () => (/* binding */ fromDuration),
/* harmony export */   getAllowedDateAlternatives: () => (/* binding */ getAllowedDateAlternatives),
/* harmony export */   getDatatype: () => (/* binding */ getDatatype),
/* harmony export */   getDatatypeFromItem: () => (/* binding */ getDatatypeFromItem),
/* harmony export */   getDatatypeFromValue: () => (/* binding */ getDatatypeFromValue),
/* harmony export */   getDatatypeURI: () => (/* binding */ getDatatypeURI),
/* harmony export */   getDate: () => (/* binding */ getDate),
/* harmony export */   getDatePresentation: () => (/* binding */ getDatePresentation),
/* harmony export */   getDatePresentationFromDatatype: () => (/* binding */ getDatePresentationFromDatatype),
/* harmony export */   getDateValue: () => (/* binding */ getDateValue),
/* harmony export */   getNamedGraphId: () => (/* binding */ getNamedGraphId),
/* harmony export */   toDuration: () => (/* binding */ toDuration)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_5__);






const fromDuration = value => {
  const f = val => val && val.length > 1 ? parseInt(val[0], 10) : 0;
  const years = f(value.match(/([0-9])*Y/));
  const days = f(value.match(/([0-9])*D/));
  const hours = f(value.match(/([0-9])*H/));
  let months;
  let minutes = 0;
  if (value.indexOf('T') === -1) {
    months = f(value.match(/([0-9])*M/));
  } else {
    const arr = value.split('T');
    months = f(arr[0].match(/([0-9])*M/));
    minutes = f(arr[1].match(/([0-9])*M/));
  }
  return {
    years,
    months,
    days,
    hours,
    minutes
  };
};
const toDuration = data => {
  if (data.years || data.months || data.days || data.hours || data.minutes) {
    let str = `P${data.years ? `${data.years}Y` : ''}${data.months ? `${data.months}M` : ''}${data.days ? `${data.days}D` : ''}`;
    if (data.hours || data.minutes) {
      str = `${str}T${data.hours ? `${data.hours}H` : ''}${data.minutes ? `${data.minutes}M` : ''}`;
    }
    return str;
  }
  return null;
};
const getDate = value => {
  try {
    // xsd:time
    if (value.includes(':') && !value.includes('T')) {
      const datePart = new Date().toISOString().substr(0, 11);
      const timeDate = new Date(`${datePart}${value}`);
      timeDate.setMinutes(timeDate.getMinutes() + timeDate.getTimezoneOffset());
      return timeDate;
    }
    // all other cases
    return new Date(value);
  } catch (e) {
    return null;
  }
};
const getDatatype = datatype => {
  switch (datatype) {
    case 'http://www.w3.org/2001/XMLSchema#dateTime':
    case 'http://purl.org/dc/terms/W3CDTF':
      return 'DateTime';
    case 'http://www.w3.org/2001/XMLSchema#date':
      return 'Date';
    case 'http://www.w3.org/2001/XMLSchema#gYear':
      return 'Year';
    case 'http://www.w3.org/2001/XMLSchema#time':
      return 'Time';
    case 'http://www.w3.org/2001/XMLSchema#gYearMonth':
      return 'YearMonth';
    case 'http://www.w3.org/2001/XMLSchema#gMonthDay':
      return 'MonthDay';
    default:
      return undefined;
  }
};
const getDatatypeFromItem = item => {
  const dt = item.getDatatype();
  if (Array.isArray(dt)) {
    return getDatatype(dt[0]);
  }
  return getDatatype(dt);
};
const getDatatypeFromValue = data => {
  if (data.indexOf('T') > 0) {
    return 'DateTime';
  } else if (data.indexOf(':') > 0) {
    return 'Time';
  } else if (/^\d\d\d\d-\d\d$/.test(data)) {
    return 'YearMonth';
  } else if (/^\d\d-\d\d$/.test(data)) {
    return 'MonthDay';
  } else if (data.length > 4) {
    return 'Date';
  }
  return 'Year';
};
const getDatatypeURI = datatype => {
  switch (datatype) {
    case 'DateTime':
      return 'http://www.w3.org/2001/XMLSchema#dateTime';
    case 'Date':
      return 'http://www.w3.org/2001/XMLSchema#date';
    case 'Time':
      return 'http://www.w3.org/2001/XMLSchema#time';
    case 'Year':
      return 'http://www.w3.org/2001/XMLSchema#gYear';
    case 'YearMonth':
      return 'http://www.w3.org/2001/XMLSchema#gYearMonth';
    case 'MonthDay':
      return 'http://www.w3.org/2001/XMLSchema#gMonthDay';
    default:
      return '';
  }
};
const getDateValue = (value, datatype) => {
  if (value) {
    switch (datatype) {
      case 'DateTime':
        return value.toISOString();
      case 'Date':
        // Since we cut of the timezone section at the end we need to compensate for it
        value.setMinutes(value.getMinutes() - value.getTimezoneOffset());
        return value.toISOString().substr(0, 10);
      case 'YearMonth':
        // Since we cut of the timezone section at the end we need to compensate for it
        value.setMinutes(value.getMinutes() - value.getTimezoneOffset());
        return value.toISOString().substr(0, 7);
      case 'MonthDay':
        // Since we cut of the timezone section at the end we need to compensate for it
        value.setMinutes(value.getMinutes() - value.getTimezoneOffset());
        return value.toISOString().substr(5, 5);
      case 'Time':
        value.setMinutes(value.getMinutes() - value.getTimezoneOffset());
        return value.toISOString().substr(11);
      case 'Year':
        // Since we cut of the timezone section at the end we need to compensate for it
        value.setMinutes(value.getMinutes() - value.getTimezoneOffset());
        return value.toISOString().substr(0, 4);
      default:
        return '';
    }
  }
  return '';
};
const getDatePresentationFromDatatype = (datatype, date, locale) => {
  switch (datatype) {
    case 'DateTime':
      return moment__WEBPACK_IMPORTED_MODULE_5___default()(date).locale(locale).format('lll');
    case 'Date':
      return moment__WEBPACK_IMPORTED_MODULE_5___default()(date).locale(locale).format('LL');
    case 'Time':
      return moment__WEBPACK_IMPORTED_MODULE_5___default()(date).locale(locale).format('LT');
    case 'Year':
      return moment__WEBPACK_IMPORTED_MODULE_5___default()(date).locale(locale).format('YYYY');
    case 'YearMonth':
      return moment__WEBPACK_IMPORTED_MODULE_5___default()(date).locale(locale).format('MMMM YYYY');
    case 'MonthDay':
      return moment__WEBPACK_IMPORTED_MODULE_5___default()(date).locale(locale).format('D MMMM');
    default:
      return '';
  }
};
const getAllowedDateAlternatives = item => {
  const dateAllowedDataAlternatives = {};
  const dt = item.getDatatype();
  const alts = Array.isArray(dt) ? dt : [dt];
  alts.forEach(datatype => {
    const alt = getDatatype(datatype);
    if (alt) {
      dateAllowedDataAlternatives[alt] = true;
    }
  });
  return dateAllowedDataAlternatives;
};
const getDatePresentation = (binding, locale) => {
  const data = binding.getValue();
  if (data != null && data !== '') {
    const item = binding.getItem();
    const date = getDate(data);
    if (date) {
      const valueDatatype = getDatatypeFromValue(data);
      const datatypeDatatype = getDatatype(binding.getDatatype());
      const itemSuggestedDatatype = getDatatypeFromItem(item);
      const allowed = getAllowedDateAlternatives(item);
      let datatype;
      if (allowed[datatypeDatatype]) {
        // This is always the case unless "relaxedDatatypeMatch" is specified
        datatype = datatypeDatatype;
      } else if (allowed[valueDatatype]) {
        // If the detected datatype from the value is supported
        datatype = valueDatatype;
      } else {
        // Rely on the datatype from the item if everything else fails
        datatype = itemSuggestedDatatype;
      }
      return getDatePresentationFromDatatype(datatype, date, locale);
    }
  }
  return undefined;
};
const getNamedGraphId = (binding, context) => {
  var _ref;
  const ng = (_ref = binding.getStatement() || binding.getParent().getStatement()) === null || _ref === void 0 ? void 0 : _ref.getNamedGraph();
  if (ng) {
    let view = context.view;
    while (view.getParentView()) view = view.getParentView();
    return view.getNamedGraphId(ng);
  }
  return undefined;
};

/***/ },

/***/ "./node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js ***!
  \****************************************************************************/
(__unused_webpack_module, exports) {

"use strict";


exports.byteLength = byteLength
exports.toByteArray = toByteArray
exports.fromByteArray = fromByteArray

var lookup = []
var revLookup = []
var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array

var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
for (var i = 0, len = code.length; i < len; ++i) {
  lookup[i] = code[i]
  revLookup[code.charCodeAt(i)] = i
}

// Support decoding URL-safe base64 strings, as Node.js does.
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
revLookup['-'.charCodeAt(0)] = 62
revLookup['_'.charCodeAt(0)] = 63

function getLens (b64) {
  var len = b64.length

  if (len % 4 > 0) {
    throw new Error('Invalid string. Length must be a multiple of 4')
  }

  // Trim off extra bytes after placeholder bytes are found
  // See: https://github.com/beatgammit/base64-js/issues/42
  var validLen = b64.indexOf('=')
  if (validLen === -1) validLen = len

  var placeHoldersLen = validLen === len
    ? 0
    : 4 - (validLen % 4)

  return [validLen, placeHoldersLen]
}

// base64 is 4/3 + up to two characters of the original data
function byteLength (b64) {
  var lens = getLens(b64)
  var validLen = lens[0]
  var placeHoldersLen = lens[1]
  return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
}

function _byteLength (b64, validLen, placeHoldersLen) {
  return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
}

function toByteArray (b64) {
  var tmp
  var lens = getLens(b64)
  var validLen = lens[0]
  var placeHoldersLen = lens[1]

  var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))

  var curByte = 0

  // if there are placeholders, only get up to the last complete 4 chars
  var len = placeHoldersLen > 0
    ? validLen - 4
    : validLen

  var i
  for (i = 0; i < len; i += 4) {
    tmp =
      (revLookup[b64.charCodeAt(i)] << 18) |
      (revLookup[b64.charCodeAt(i + 1)] << 12) |
      (revLookup[b64.charCodeAt(i + 2)] << 6) |
      revLookup[b64.charCodeAt(i + 3)]
    arr[curByte++] = (tmp >> 16) & 0xFF
    arr[curByte++] = (tmp >> 8) & 0xFF
    arr[curByte++] = tmp & 0xFF
  }

  if (placeHoldersLen === 2) {
    tmp =
      (revLookup[b64.charCodeAt(i)] << 2) |
      (revLookup[b64.charCodeAt(i + 1)] >> 4)
    arr[curByte++] = tmp & 0xFF
  }

  if (placeHoldersLen === 1) {
    tmp =
      (revLookup[b64.charCodeAt(i)] << 10) |
      (revLookup[b64.charCodeAt(i + 1)] << 4) |
      (revLookup[b64.charCodeAt(i + 2)] >> 2)
    arr[curByte++] = (tmp >> 8) & 0xFF
    arr[curByte++] = tmp & 0xFF
  }

  return arr
}

function tripletToBase64 (num) {
  return lookup[num >> 18 & 0x3F] +
    lookup[num >> 12 & 0x3F] +
    lookup[num >> 6 & 0x3F] +
    lookup[num & 0x3F]
}

function encodeChunk (uint8, start, end) {
  var tmp
  var output = []
  for (var i = start; i < end; i += 3) {
    tmp =
      ((uint8[i] << 16) & 0xFF0000) +
      ((uint8[i + 1] << 8) & 0xFF00) +
      (uint8[i + 2] & 0xFF)
    output.push(tripletToBase64(tmp))
  }
  return output.join('')
}

function fromByteArray (uint8) {
  var tmp
  var len = uint8.length
  var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
  var parts = []
  var maxChunkLength = 16383 // must be multiple of 3

  // go through the array every three bytes, we'll deal with trailing stuff later
  for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
    parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
  }

  // pad the end with zeros, but make sure to not forget the extra bytes
  if (extraBytes === 1) {
    tmp = uint8[len - 1]
    parts.push(
      lookup[tmp >> 2] +
      lookup[(tmp << 4) & 0x3F] +
      '=='
    )
  } else if (extraBytes === 2) {
    tmp = (uint8[len - 2] << 8) + uint8[len - 1]
    parts.push(
      lookup[tmp >> 10] +
      lookup[(tmp >> 4) & 0x3F] +
      lookup[(tmp << 2) & 0x3F] +
      '='
    )
  }

  return parts.join('')
}


/***/ },

/***/ "./node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js ***!
  \**********************************************************************************/
(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_RESULT__;/*
 * JavaScript MD5
 * https://github.com/blueimp/JavaScript-MD5
 *
 * Copyright 2011, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 *
 * Based on
 * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
 * Digest Algorithm, as defined in RFC 1321.
 * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009
 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
 * Distributed under the BSD License
 * See http://pajhome.org.uk/crypt/md5 for more info.
 */

/* global define */

/* eslint-disable strict */

;(function ($) {
  'use strict'

  /**
   * Add integers, wrapping at 2^32.
   * This uses 16-bit operations internally to work around bugs in interpreters.
   *
   * @param {number} x First integer
   * @param {number} y Second integer
   * @returns {number} Sum
   */
  function safeAdd(x, y) {
    var lsw = (x & 0xffff) + (y & 0xffff)
    var msw = (x >> 16) + (y >> 16) + (lsw >> 16)
    return (msw << 16) | (lsw & 0xffff)
  }

  /**
   * Bitwise rotate a 32-bit number to the left.
   *
   * @param {number} num 32-bit number
   * @param {number} cnt Rotation count
   * @returns {number} Rotated number
   */
  function bitRotateLeft(num, cnt) {
    return (num << cnt) | (num >>> (32 - cnt))
  }

  /**
   * Basic operation the algorithm uses.
   *
   * @param {number} q q
   * @param {number} a a
   * @param {number} b b
   * @param {number} x x
   * @param {number} s s
   * @param {number} t t
   * @returns {number} Result
   */
  function md5cmn(q, a, b, x, s, t) {
    return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b)
  }
  /**
   * Basic operation the algorithm uses.
   *
   * @param {number} a a
   * @param {number} b b
   * @param {number} c c
   * @param {number} d d
   * @param {number} x x
   * @param {number} s s
   * @param {number} t t
   * @returns {number} Result
   */
  function md5ff(a, b, c, d, x, s, t) {
    return md5cmn((b & c) | (~b & d), a, b, x, s, t)
  }
  /**
   * Basic operation the algorithm uses.
   *
   * @param {number} a a
   * @param {number} b b
   * @param {number} c c
   * @param {number} d d
   * @param {number} x x
   * @param {number} s s
   * @param {number} t t
   * @returns {number} Result
   */
  function md5gg(a, b, c, d, x, s, t) {
    return md5cmn((b & d) | (c & ~d), a, b, x, s, t)
  }
  /**
   * Basic operation the algorithm uses.
   *
   * @param {number} a a
   * @param {number} b b
   * @param {number} c c
   * @param {number} d d
   * @param {number} x x
   * @param {number} s s
   * @param {number} t t
   * @returns {number} Result
   */
  function md5hh(a, b, c, d, x, s, t) {
    return md5cmn(b ^ c ^ d, a, b, x, s, t)
  }
  /**
   * Basic operation the algorithm uses.
   *
   * @param {number} a a
   * @param {number} b b
   * @param {number} c c
   * @param {number} d d
   * @param {number} x x
   * @param {number} s s
   * @param {number} t t
   * @returns {number} Result
   */
  function md5ii(a, b, c, d, x, s, t) {
    return md5cmn(c ^ (b | ~d), a, b, x, s, t)
  }

  /**
   * Calculate the MD5 of an array of little-endian words, and a bit length.
   *
   * @param {Array} x Array of little-endian words
   * @param {number} len Bit length
   * @returns {Array<number>} MD5 Array
   */
  function binlMD5(x, len) {
    /* append padding */
    x[len >> 5] |= 0x80 << len % 32
    x[(((len + 64) >>> 9) << 4) + 14] = len

    var i
    var olda
    var oldb
    var oldc
    var oldd
    var a = 1732584193
    var b = -271733879
    var c = -1732584194
    var d = 271733878

    for (i = 0; i < x.length; i += 16) {
      olda = a
      oldb = b
      oldc = c
      oldd = d

      a = md5ff(a, b, c, d, x[i], 7, -680876936)
      d = md5ff(d, a, b, c, x[i + 1], 12, -389564586)
      c = md5ff(c, d, a, b, x[i + 2], 17, 606105819)
      b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330)
      a = md5ff(a, b, c, d, x[i + 4], 7, -176418897)
      d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426)
      c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341)
      b = md5ff(b, c, d, a, x[i + 7], 22, -45705983)
      a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416)
      d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417)
      c = md5ff(c, d, a, b, x[i + 10], 17, -42063)
      b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162)
      a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682)
      d = md5ff(d, a, b, c, x[i + 13], 12, -40341101)
      c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290)
      b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329)

      a = md5gg(a, b, c, d, x[i + 1], 5, -165796510)
      d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632)
      c = md5gg(c, d, a, b, x[i + 11], 14, 643717713)
      b = md5gg(b, c, d, a, x[i], 20, -373897302)
      a = md5gg(a, b, c, d, x[i + 5], 5, -701558691)
      d = md5gg(d, a, b, c, x[i + 10], 9, 38016083)
      c = md5gg(c, d, a, b, x[i + 15], 14, -660478335)
      b = md5gg(b, c, d, a, x[i + 4], 20, -405537848)
      a = md5gg(a, b, c, d, x[i + 9], 5, 568446438)
      d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690)
      c = md5gg(c, d, a, b, x[i + 3], 14, -187363961)
      b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501)
      a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467)
      d = md5gg(d, a, b, c, x[i + 2], 9, -51403784)
      c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473)
      b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734)

      a = md5hh(a, b, c, d, x[i + 5], 4, -378558)
      d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463)
      c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562)
      b = md5hh(b, c, d, a, x[i + 14], 23, -35309556)
      a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060)
      d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353)
      c = md5hh(c, d, a, b, x[i + 7], 16, -155497632)
      b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640)
      a = md5hh(a, b, c, d, x[i + 13], 4, 681279174)
      d = md5hh(d, a, b, c, x[i], 11, -358537222)
      c = md5hh(c, d, a, b, x[i + 3], 16, -722521979)
      b = md5hh(b, c, d, a, x[i + 6], 23, 76029189)
      a = md5hh(a, b, c, d, x[i + 9], 4, -640364487)
      d = md5hh(d, a, b, c, x[i + 12], 11, -421815835)
      c = md5hh(c, d, a, b, x[i + 15], 16, 530742520)
      b = md5hh(b, c, d, a, x[i + 2], 23, -995338651)

      a = md5ii(a, b, c, d, x[i], 6, -198630844)
      d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415)
      c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905)
      b = md5ii(b, c, d, a, x[i + 5], 21, -57434055)
      a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571)
      d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606)
      c = md5ii(c, d, a, b, x[i + 10], 15, -1051523)
      b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799)
      a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359)
      d = md5ii(d, a, b, c, x[i + 15], 10, -30611744)
      c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380)
      b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649)
      a = md5ii(a, b, c, d, x[i + 4], 6, -145523070)
      d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379)
      c = md5ii(c, d, a, b, x[i + 2], 15, 718787259)
      b = md5ii(b, c, d, a, x[i + 9], 21, -343485551)

      a = safeAdd(a, olda)
      b = safeAdd(b, oldb)
      c = safeAdd(c, oldc)
      d = safeAdd(d, oldd)
    }
    return [a, b, c, d]
  }

  /**
   * Convert an array of little-endian words to a string
   *
   * @param {Array<number>} input MD5 Array
   * @returns {string} MD5 string
   */
  function binl2rstr(input) {
    var i
    var output = ''
    var length32 = input.length * 32
    for (i = 0; i < length32; i += 8) {
      output += String.fromCharCode((input[i >> 5] >>> i % 32) & 0xff)
    }
    return output
  }

  /**
   * Convert a raw string to an array of little-endian words
   * Characters >255 have their high-byte silently ignored.
   *
   * @param {string} input Raw input string
   * @returns {Array<number>} Array of little-endian words
   */
  function rstr2binl(input) {
    var i
    var output = []
    output[(input.length >> 2) - 1] = undefined
    for (i = 0; i < output.length; i += 1) {
      output[i] = 0
    }
    var length8 = input.length * 8
    for (i = 0; i < length8; i += 8) {
      output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << i % 32
    }
    return output
  }

  /**
   * Calculate the MD5 of a raw string
   *
   * @param {string} s Input string
   * @returns {string} Raw MD5 string
   */
  function rstrMD5(s) {
    return binl2rstr(binlMD5(rstr2binl(s), s.length * 8))
  }

  /**
   * Calculates the HMAC-MD5 of a key and some data (raw strings)
   *
   * @param {string} key HMAC key
   * @param {string} data Raw input string
   * @returns {string} Raw MD5 string
   */
  function rstrHMACMD5(key, data) {
    var i
    var bkey = rstr2binl(key)
    var ipad = []
    var opad = []
    var hash
    ipad[15] = opad[15] = undefined
    if (bkey.length > 16) {
      bkey = binlMD5(bkey, key.length * 8)
    }
    for (i = 0; i < 16; i += 1) {
      ipad[i] = bkey[i] ^ 0x36363636
      opad[i] = bkey[i] ^ 0x5c5c5c5c
    }
    hash = binlMD5(ipad.concat(rstr2binl(data)), 512 + data.length * 8)
    return binl2rstr(binlMD5(opad.concat(hash), 512 + 128))
  }

  /**
   * Convert a raw string to a hex string
   *
   * @param {string} input Raw input string
   * @returns {string} Hex encoded string
   */
  function rstr2hex(input) {
    var hexTab = '0123456789abcdef'
    var output = ''
    var x
    var i
    for (i = 0; i < input.length; i += 1) {
      x = input.charCodeAt(i)
      output += hexTab.charAt((x >>> 4) & 0x0f) + hexTab.charAt(x & 0x0f)
    }
    return output
  }

  /**
   * Encode a string as UTF-8
   *
   * @param {string} input Input string
   * @returns {string} UTF8 string
   */
  function str2rstrUTF8(input) {
    return unescape(encodeURIComponent(input))
  }

  /**
   * Encodes input string as raw MD5 string
   *
   * @param {string} s Input string
   * @returns {string} Raw MD5 string
   */
  function rawMD5(s) {
    return rstrMD5(str2rstrUTF8(s))
  }
  /**
   * Encodes input string as Hex encoded string
   *
   * @param {string} s Input string
   * @returns {string} Hex encoded string
   */
  function hexMD5(s) {
    return rstr2hex(rawMD5(s))
  }
  /**
   * Calculates the raw HMAC-MD5 for the given key and data
   *
   * @param {string} k HMAC key
   * @param {string} d Input string
   * @returns {string} Raw MD5 string
   */
  function rawHMACMD5(k, d) {
    return rstrHMACMD5(str2rstrUTF8(k), str2rstrUTF8(d))
  }
  /**
   * Calculates the Hex encoded HMAC-MD5 for the given key and data
   *
   * @param {string} k HMAC key
   * @param {string} d Input string
   * @returns {string} Raw MD5 string
   */
  function hexHMACMD5(k, d) {
    return rstr2hex(rawHMACMD5(k, d))
  }

  /**
   * Calculates MD5 value for a given string.
   * If a key is provided, calculates the HMAC-MD5 value.
   * Returns a Hex encoded string unless the raw argument is given.
   *
   * @param {string} string Input string
   * @param {string} [key] HMAC key
   * @param {boolean} [raw] Raw output switch
   * @returns {string} MD5 output
   */
  function md5(string, key, raw) {
    if (!key) {
      if (!raw) {
        return hexMD5(string)
      }
      return rawMD5(string)
    }
    if (!raw) {
      return hexHMACMD5(key, string)
    }
    return rawHMACMD5(key, string)
  }

  if (true) {
    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
      return md5
    }).call(exports, __webpack_require__, exports, module),
		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))
  } else // removed by dead control flow
{}
})(this)


/***/ },

/***/ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js"
/*!**********************************************************************!*\
  !*** ./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js ***!
  \**********************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
/* eslint-disable no-proto */



const base64 = __webpack_require__(/*! base64-js */ "./node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js")
const ieee754 = __webpack_require__(/*! ieee754 */ "./node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js")
const customInspectSymbol =
  (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
    ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
    : null

exports.Buffer = Buffer
exports.SlowBuffer = SlowBuffer
exports.INSPECT_MAX_BYTES = 50

const K_MAX_LENGTH = 0x7fffffff
exports.kMaxLength = K_MAX_LENGTH

/**
 * If `Buffer.TYPED_ARRAY_SUPPORT`:
 *   === true    Use Uint8Array implementation (fastest)
 *   === false   Print warning and recommend using `buffer` v4.x which has an Object
 *               implementation (most compatible, even IE6)
 *
 * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
 * Opera 11.6+, iOS 4.2+.
 *
 * We report that the browser does not support typed arrays if the are not subclassable
 * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`
 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support
 * for __proto__ and has a buggy typed array implementation.
 */
Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport()

if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&
    typeof console.error === 'function') {
  console.error(
    'This browser lacks typed array (Uint8Array) support which is required by ' +
    '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'
  )
}

function typedArraySupport () {
  // Can typed array instances can be augmented?
  try {
    const arr = new Uint8Array(1)
    const proto = { foo: function () { return 42 } }
    Object.setPrototypeOf(proto, Uint8Array.prototype)
    Object.setPrototypeOf(arr, proto)
    return arr.foo() === 42
  } catch (e) {
    return false
  }
}

Object.defineProperty(Buffer.prototype, 'parent', {
  enumerable: true,
  get: function () {
    if (!Buffer.isBuffer(this)) return undefined
    return this.buffer
  }
})

Object.defineProperty(Buffer.prototype, 'offset', {
  enumerable: true,
  get: function () {
    if (!Buffer.isBuffer(this)) return undefined
    return this.byteOffset
  }
})

function createBuffer (length) {
  if (length > K_MAX_LENGTH) {
    throw new RangeError('The value "' + length + '" is invalid for option "size"')
  }
  // Return an augmented `Uint8Array` instance
  const buf = new Uint8Array(length)
  Object.setPrototypeOf(buf, Buffer.prototype)
  return buf
}

/**
 * The Buffer constructor returns instances of `Uint8Array` that have their
 * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
 * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
 * and the `Uint8Array` methods. Square bracket notation works as expected -- it
 * returns a single octet.
 *
 * The `Uint8Array` prototype remains unmodified.
 */

function Buffer (arg, encodingOrOffset, length) {
  // Common case.
  if (typeof arg === 'number') {
    if (typeof encodingOrOffset === 'string') {
      throw new TypeError(
        'The "string" argument must be of type string. Received type number'
      )
    }
    return allocUnsafe(arg)
  }
  return from(arg, encodingOrOffset, length)
}

Buffer.poolSize = 8192 // not used by this implementation

function from (value, encodingOrOffset, length) {
  if (typeof value === 'string') {
    return fromString(value, encodingOrOffset)
  }

  if (ArrayBuffer.isView(value)) {
    return fromArrayView(value)
  }

  if (value == null) {
    throw new TypeError(
      'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
      'or Array-like Object. Received type ' + (typeof value)
    )
  }

  if (isInstance(value, ArrayBuffer) ||
      (value && isInstance(value.buffer, ArrayBuffer))) {
    return fromArrayBuffer(value, encodingOrOffset, length)
  }

  if (typeof SharedArrayBuffer !== 'undefined' &&
      (isInstance(value, SharedArrayBuffer) ||
      (value && isInstance(value.buffer, SharedArrayBuffer)))) {
    return fromArrayBuffer(value, encodingOrOffset, length)
  }

  if (typeof value === 'number') {
    throw new TypeError(
      'The "value" argument must not be of type number. Received type number'
    )
  }

  const valueOf = value.valueOf && value.valueOf()
  if (valueOf != null && valueOf !== value) {
    return Buffer.from(valueOf, encodingOrOffset, length)
  }

  const b = fromObject(value)
  if (b) return b

  if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&
      typeof value[Symbol.toPrimitive] === 'function') {
    return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)
  }

  throw new TypeError(
    'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
    'or Array-like Object. Received type ' + (typeof value)
  )
}

/**
 * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
 * if value is a number.
 * Buffer.from(str[, encoding])
 * Buffer.from(array)
 * Buffer.from(buffer)
 * Buffer.from(arrayBuffer[, byteOffset[, length]])
 **/
Buffer.from = function (value, encodingOrOffset, length) {
  return from(value, encodingOrOffset, length)
}

// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:
// https://github.com/feross/buffer/pull/148
Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)
Object.setPrototypeOf(Buffer, Uint8Array)

function assertSize (size) {
  if (typeof size !== 'number') {
    throw new TypeError('"size" argument must be of type number')
  } else if (size < 0) {
    throw new RangeError('The value "' + size + '" is invalid for option "size"')
  }
}

function alloc (size, fill, encoding) {
  assertSize(size)
  if (size <= 0) {
    return createBuffer(size)
  }
  if (fill !== undefined) {
    // Only pay attention to encoding if it's a string. This
    // prevents accidentally sending in a number that would
    // be interpreted as a start offset.
    return typeof encoding === 'string'
      ? createBuffer(size).fill(fill, encoding)
      : createBuffer(size).fill(fill)
  }
  return createBuffer(size)
}

/**
 * Creates a new filled Buffer instance.
 * alloc(size[, fill[, encoding]])
 **/
Buffer.alloc = function (size, fill, encoding) {
  return alloc(size, fill, encoding)
}

function allocUnsafe (size) {
  assertSize(size)
  return createBuffer(size < 0 ? 0 : checked(size) | 0)
}

/**
 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
 * */
Buffer.allocUnsafe = function (size) {
  return allocUnsafe(size)
}
/**
 * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
 */
Buffer.allocUnsafeSlow = function (size) {
  return allocUnsafe(size)
}

function fromString (string, encoding) {
  if (typeof encoding !== 'string' || encoding === '') {
    encoding = 'utf8'
  }

  if (!Buffer.isEncoding(encoding)) {
    throw new TypeError('Unknown encoding: ' + encoding)
  }

  const length = byteLength(string, encoding) | 0
  let buf = createBuffer(length)

  const actual = buf.write(string, encoding)

  if (actual !== length) {
    // Writing a hex string, for example, that contains invalid characters will
    // cause everything after the first invalid character to be ignored. (e.g.
    // 'abxxcd' will be treated as 'ab')
    buf = buf.slice(0, actual)
  }

  return buf
}

function fromArrayLike (array) {
  const length = array.length < 0 ? 0 : checked(array.length) | 0
  const buf = createBuffer(length)
  for (let i = 0; i < length; i += 1) {
    buf[i] = array[i] & 255
  }
  return buf
}

function fromArrayView (arrayView) {
  if (isInstance(arrayView, Uint8Array)) {
    const copy = new Uint8Array(arrayView)
    return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)
  }
  return fromArrayLike(arrayView)
}

function fromArrayBuffer (array, byteOffset, length) {
  if (byteOffset < 0 || array.byteLength < byteOffset) {
    throw new RangeError('"offset" is outside of buffer bounds')
  }

  if (array.byteLength < byteOffset + (length || 0)) {
    throw new RangeError('"length" is outside of buffer bounds')
  }

  let buf
  if (byteOffset === undefined && length === undefined) {
    buf = new Uint8Array(array)
  } else if (length === undefined) {
    buf = new Uint8Array(array, byteOffset)
  } else {
    buf = new Uint8Array(array, byteOffset, length)
  }

  // Return an augmented `Uint8Array` instance
  Object.setPrototypeOf(buf, Buffer.prototype)

  return buf
}

function fromObject (obj) {
  if (Buffer.isBuffer(obj)) {
    const len = checked(obj.length) | 0
    const buf = createBuffer(len)

    if (buf.length === 0) {
      return buf
    }

    obj.copy(buf, 0, 0, len)
    return buf
  }

  if (obj.length !== undefined) {
    if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {
      return createBuffer(0)
    }
    return fromArrayLike(obj)
  }

  if (obj.type === 'Buffer' && Array.isArray(obj.data)) {
    return fromArrayLike(obj.data)
  }
}

function checked (length) {
  // Note: cannot use `length < K_MAX_LENGTH` here because that fails when
  // length is NaN (which is otherwise coerced to zero.)
  if (length >= K_MAX_LENGTH) {
    throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
                         'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')
  }
  return length | 0
}

function SlowBuffer (length) {
  if (+length != length) { // eslint-disable-line eqeqeq
    length = 0
  }
  return Buffer.alloc(+length)
}

Buffer.isBuffer = function isBuffer (b) {
  return b != null && b._isBuffer === true &&
    b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false
}

Buffer.compare = function compare (a, b) {
  if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)
  if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)
  if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
    throw new TypeError(
      'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
    )
  }

  if (a === b) return 0

  let x = a.length
  let y = b.length

  for (let i = 0, len = Math.min(x, y); i < len; ++i) {
    if (a[i] !== b[i]) {
      x = a[i]
      y = b[i]
      break
    }
  }

  if (x < y) return -1
  if (y < x) return 1
  return 0
}

Buffer.isEncoding = function isEncoding (encoding) {
  switch (String(encoding).toLowerCase()) {
    case 'hex':
    case 'utf8':
    case 'utf-8':
    case 'ascii':
    case 'latin1':
    case 'binary':
    case 'base64':
    case 'ucs2':
    case 'ucs-2':
    case 'utf16le':
    case 'utf-16le':
      return true
    default:
      return false
  }
}

Buffer.concat = function concat (list, length) {
  if (!Array.isArray(list)) {
    throw new TypeError('"list" argument must be an Array of Buffers')
  }

  if (list.length === 0) {
    return Buffer.alloc(0)
  }

  let i
  if (length === undefined) {
    length = 0
    for (i = 0; i < list.length; ++i) {
      length += list[i].length
    }
  }

  const buffer = Buffer.allocUnsafe(length)
  let pos = 0
  for (i = 0; i < list.length; ++i) {
    let buf = list[i]
    if (isInstance(buf, Uint8Array)) {
      if (pos + buf.length > buffer.length) {
        if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)
        buf.copy(buffer, pos)
      } else {
        Uint8Array.prototype.set.call(
          buffer,
          buf,
          pos
        )
      }
    } else if (!Buffer.isBuffer(buf)) {
      throw new TypeError('"list" argument must be an Array of Buffers')
    } else {
      buf.copy(buffer, pos)
    }
    pos += buf.length
  }
  return buffer
}

function byteLength (string, encoding) {
  if (Buffer.isBuffer(string)) {
    return string.length
  }
  if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {
    return string.byteLength
  }
  if (typeof string !== 'string') {
    throw new TypeError(
      'The "string" argument must be one of type string, Buffer, or ArrayBuffer. ' +
      'Received type ' + typeof string
    )
  }

  const len = string.length
  const mustMatch = (arguments.length > 2 && arguments[2] === true)
  if (!mustMatch && len === 0) return 0

  // Use a for loop to avoid recursion
  let loweredCase = false
  for (;;) {
    switch (encoding) {
      case 'ascii':
      case 'latin1':
      case 'binary':
        return len
      case 'utf8':
      case 'utf-8':
        return utf8ToBytes(string).length
      case 'ucs2':
      case 'ucs-2':
      case 'utf16le':
      case 'utf-16le':
        return len * 2
      case 'hex':
        return len >>> 1
      case 'base64':
        return base64ToBytes(string).length
      default:
        if (loweredCase) {
          return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8
        }
        encoding = ('' + encoding).toLowerCase()
        loweredCase = true
    }
  }
}
Buffer.byteLength = byteLength

function slowToString (encoding, start, end) {
  let loweredCase = false

  // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
  // property of a typed array.

  // This behaves neither like String nor Uint8Array in that we set start/end
  // to their upper/lower bounds if the value passed is out of range.
  // undefined is handled specially as per ECMA-262 6th Edition,
  // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
  if (start === undefined || start < 0) {
    start = 0
  }
  // Return early if start > this.length. Done here to prevent potential uint32
  // coercion fail below.
  if (start > this.length) {
    return ''
  }

  if (end === undefined || end > this.length) {
    end = this.length
  }

  if (end <= 0) {
    return ''
  }

  // Force coercion to uint32. This will also coerce falsey/NaN values to 0.
  end >>>= 0
  start >>>= 0

  if (end <= start) {
    return ''
  }

  if (!encoding) encoding = 'utf8'

  while (true) {
    switch (encoding) {
      case 'hex':
        return hexSlice(this, start, end)

      case 'utf8':
      case 'utf-8':
        return utf8Slice(this, start, end)

      case 'ascii':
        return asciiSlice(this, start, end)

      case 'latin1':
      case 'binary':
        return latin1Slice(this, start, end)

      case 'base64':
        return base64Slice(this, start, end)

      case 'ucs2':
      case 'ucs-2':
      case 'utf16le':
      case 'utf-16le':
        return utf16leSlice(this, start, end)

      default:
        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
        encoding = (encoding + '').toLowerCase()
        loweredCase = true
    }
  }
}

// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)
// to detect a Buffer instance. It's not possible to use `instanceof Buffer`
// reliably in a browserify context because there could be multiple different
// copies of the 'buffer' package in use. This method works even for Buffer
// instances that were created from another copy of the `buffer` package.
// See: https://github.com/feross/buffer/issues/154
Buffer.prototype._isBuffer = true

function swap (b, n, m) {
  const i = b[n]
  b[n] = b[m]
  b[m] = i
}

Buffer.prototype.swap16 = function swap16 () {
  const len = this.length
  if (len % 2 !== 0) {
    throw new RangeError('Buffer size must be a multiple of 16-bits')
  }
  for (let i = 0; i < len; i += 2) {
    swap(this, i, i + 1)
  }
  return this
}

Buffer.prototype.swap32 = function swap32 () {
  const len = this.length
  if (len % 4 !== 0) {
    throw new RangeError('Buffer size must be a multiple of 32-bits')
  }
  for (let i = 0; i < len; i += 4) {
    swap(this, i, i + 3)
    swap(this, i + 1, i + 2)
  }
  return this
}

Buffer.prototype.swap64 = function swap64 () {
  const len = this.length
  if (len % 8 !== 0) {
    throw new RangeError('Buffer size must be a multiple of 64-bits')
  }
  for (let i = 0; i < len; i += 8) {
    swap(this, i, i + 7)
    swap(this, i + 1, i + 6)
    swap(this, i + 2, i + 5)
    swap(this, i + 3, i + 4)
  }
  return this
}

Buffer.prototype.toString = function toString () {
  const length = this.length
  if (length === 0) return ''
  if (arguments.length === 0) return utf8Slice(this, 0, length)
  return slowToString.apply(this, arguments)
}

Buffer.prototype.toLocaleString = Buffer.prototype.toString

Buffer.prototype.equals = function equals (b) {
  if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
  if (this === b) return true
  return Buffer.compare(this, b) === 0
}

Buffer.prototype.inspect = function inspect () {
  let str = ''
  const max = exports.INSPECT_MAX_BYTES
  str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()
  if (this.length > max) str += ' ... '
  return '<Buffer ' + str + '>'
}
if (customInspectSymbol) {
  Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect
}

Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
  if (isInstance(target, Uint8Array)) {
    target = Buffer.from(target, target.offset, target.byteLength)
  }
  if (!Buffer.isBuffer(target)) {
    throw new TypeError(
      'The "target" argument must be one of type Buffer or Uint8Array. ' +
      'Received type ' + (typeof target)
    )
  }

  if (start === undefined) {
    start = 0
  }
  if (end === undefined) {
    end = target ? target.length : 0
  }
  if (thisStart === undefined) {
    thisStart = 0
  }
  if (thisEnd === undefined) {
    thisEnd = this.length
  }

  if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
    throw new RangeError('out of range index')
  }

  if (thisStart >= thisEnd && start >= end) {
    return 0
  }
  if (thisStart >= thisEnd) {
    return -1
  }
  if (start >= end) {
    return 1
  }

  start >>>= 0
  end >>>= 0
  thisStart >>>= 0
  thisEnd >>>= 0

  if (this === target) return 0

  let x = thisEnd - thisStart
  let y = end - start
  const len = Math.min(x, y)

  const thisCopy = this.slice(thisStart, thisEnd)
  const targetCopy = target.slice(start, end)

  for (let i = 0; i < len; ++i) {
    if (thisCopy[i] !== targetCopy[i]) {
      x = thisCopy[i]
      y = targetCopy[i]
      break
    }
  }

  if (x < y) return -1
  if (y < x) return 1
  return 0
}

// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
// OR the last index of `val` in `buffer` at offset <= `byteOffset`.
//
// Arguments:
// - buffer - a Buffer to search
// - val - a string, Buffer, or number
// - byteOffset - an index into `buffer`; will be clamped to an int32
// - encoding - an optional encoding, relevant is val is a string
// - dir - true for indexOf, false for lastIndexOf
function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
  // Empty buffer means no match
  if (buffer.length === 0) return -1

  // Normalize byteOffset
  if (typeof byteOffset === 'string') {
    encoding = byteOffset
    byteOffset = 0
  } else if (byteOffset > 0x7fffffff) {
    byteOffset = 0x7fffffff
  } else if (byteOffset < -0x80000000) {
    byteOffset = -0x80000000
  }
  byteOffset = +byteOffset // Coerce to Number.
  if (numberIsNaN(byteOffset)) {
    // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
    byteOffset = dir ? 0 : (buffer.length - 1)
  }

  // Normalize byteOffset: negative offsets start from the end of the buffer
  if (byteOffset < 0) byteOffset = buffer.length + byteOffset
  if (byteOffset >= buffer.length) {
    if (dir) return -1
    else byteOffset = buffer.length - 1
  } else if (byteOffset < 0) {
    if (dir) byteOffset = 0
    else return -1
  }

  // Normalize val
  if (typeof val === 'string') {
    val = Buffer.from(val, encoding)
  }

  // Finally, search either indexOf (if dir is true) or lastIndexOf
  if (Buffer.isBuffer(val)) {
    // Special case: looking for empty string/buffer always fails
    if (val.length === 0) {
      return -1
    }
    return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
  } else if (typeof val === 'number') {
    val = val & 0xFF // Search for a byte value [0-255]
    if (typeof Uint8Array.prototype.indexOf === 'function') {
      if (dir) {
        return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
      } else {
        return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
      }
    }
    return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)
  }

  throw new TypeError('val must be string, number or Buffer')
}

function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
  let indexSize = 1
  let arrLength = arr.length
  let valLength = val.length

  if (encoding !== undefined) {
    encoding = String(encoding).toLowerCase()
    if (encoding === 'ucs2' || encoding === 'ucs-2' ||
        encoding === 'utf16le' || encoding === 'utf-16le') {
      if (arr.length < 2 || val.length < 2) {
        return -1
      }
      indexSize = 2
      arrLength /= 2
      valLength /= 2
      byteOffset /= 2
    }
  }

  function read (buf, i) {
    if (indexSize === 1) {
      return buf[i]
    } else {
      return buf.readUInt16BE(i * indexSize)
    }
  }

  let i
  if (dir) {
    let foundIndex = -1
    for (i = byteOffset; i < arrLength; i++) {
      if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
        if (foundIndex === -1) foundIndex = i
        if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
      } else {
        if (foundIndex !== -1) i -= i - foundIndex
        foundIndex = -1
      }
    }
  } else {
    if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
    for (i = byteOffset; i >= 0; i--) {
      let found = true
      for (let j = 0; j < valLength; j++) {
        if (read(arr, i + j) !== read(val, j)) {
          found = false
          break
        }
      }
      if (found) return i
    }
  }

  return -1
}

Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
  return this.indexOf(val, byteOffset, encoding) !== -1
}

Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
  return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
}

Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
  return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
}

function hexWrite (buf, string, offset, length) {
  offset = Number(offset) || 0
  const remaining = buf.length - offset
  if (!length) {
    length = remaining
  } else {
    length = Number(length)
    if (length > remaining) {
      length = remaining
    }
  }

  const strLen = string.length

  if (length > strLen / 2) {
    length = strLen / 2
  }
  let i
  for (i = 0; i < length; ++i) {
    const parsed = parseInt(string.substr(i * 2, 2), 16)
    if (numberIsNaN(parsed)) return i
    buf[offset + i] = parsed
  }
  return i
}

function utf8Write (buf, string, offset, length) {
  return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
}

function asciiWrite (buf, string, offset, length) {
  return blitBuffer(asciiToBytes(string), buf, offset, length)
}

function base64Write (buf, string, offset, length) {
  return blitBuffer(base64ToBytes(string), buf, offset, length)
}

function ucs2Write (buf, string, offset, length) {
  return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
}

Buffer.prototype.write = function write (string, offset, length, encoding) {
  // Buffer#write(string)
  if (offset === undefined) {
    encoding = 'utf8'
    length = this.length
    offset = 0
  // Buffer#write(string, encoding)
  } else if (length === undefined && typeof offset === 'string') {
    encoding = offset
    length = this.length
    offset = 0
  // Buffer#write(string, offset[, length][, encoding])
  } else if (isFinite(offset)) {
    offset = offset >>> 0
    if (isFinite(length)) {
      length = length >>> 0
      if (encoding === undefined) encoding = 'utf8'
    } else {
      encoding = length
      length = undefined
    }
  } else {
    throw new Error(
      'Buffer.write(string, encoding, offset[, length]) is no longer supported'
    )
  }

  const remaining = this.length - offset
  if (length === undefined || length > remaining) length = remaining

  if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
    throw new RangeError('Attempt to write outside buffer bounds')
  }

  if (!encoding) encoding = 'utf8'

  let loweredCase = false
  for (;;) {
    switch (encoding) {
      case 'hex':
        return hexWrite(this, string, offset, length)

      case 'utf8':
      case 'utf-8':
        return utf8Write(this, string, offset, length)

      case 'ascii':
      case 'latin1':
      case 'binary':
        return asciiWrite(this, string, offset, length)

      case 'base64':
        // Warning: maxLength not taken into account in base64Write
        return base64Write(this, string, offset, length)

      case 'ucs2':
      case 'ucs-2':
      case 'utf16le':
      case 'utf-16le':
        return ucs2Write(this, string, offset, length)

      default:
        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
        encoding = ('' + encoding).toLowerCase()
        loweredCase = true
    }
  }
}

Buffer.prototype.toJSON = function toJSON () {
  return {
    type: 'Buffer',
    data: Array.prototype.slice.call(this._arr || this, 0)
  }
}

function base64Slice (buf, start, end) {
  if (start === 0 && end === buf.length) {
    return base64.fromByteArray(buf)
  } else {
    return base64.fromByteArray(buf.slice(start, end))
  }
}

function utf8Slice (buf, start, end) {
  end = Math.min(buf.length, end)
  const res = []

  let i = start
  while (i < end) {
    const firstByte = buf[i]
    let codePoint = null
    let bytesPerSequence = (firstByte > 0xEF)
      ? 4
      : (firstByte > 0xDF)
          ? 3
          : (firstByte > 0xBF)
              ? 2
              : 1

    if (i + bytesPerSequence <= end) {
      let secondByte, thirdByte, fourthByte, tempCodePoint

      switch (bytesPerSequence) {
        case 1:
          if (firstByte < 0x80) {
            codePoint = firstByte
          }
          break
        case 2:
          secondByte = buf[i + 1]
          if ((secondByte & 0xC0) === 0x80) {
            tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
            if (tempCodePoint > 0x7F) {
              codePoint = tempCodePoint
            }
          }
          break
        case 3:
          secondByte = buf[i + 1]
          thirdByte = buf[i + 2]
          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
            tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
            if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
              codePoint = tempCodePoint
            }
          }
          break
        case 4:
          secondByte = buf[i + 1]
          thirdByte = buf[i + 2]
          fourthByte = buf[i + 3]
          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
            tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
            if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
              codePoint = tempCodePoint
            }
          }
      }
    }

    if (codePoint === null) {
      // we did not generate a valid codePoint so insert a
      // replacement char (U+FFFD) and advance only 1 byte
      codePoint = 0xFFFD
      bytesPerSequence = 1
    } else if (codePoint > 0xFFFF) {
      // encode to utf16 (surrogate pair dance)
      codePoint -= 0x10000
      res.push(codePoint >>> 10 & 0x3FF | 0xD800)
      codePoint = 0xDC00 | codePoint & 0x3FF
    }

    res.push(codePoint)
    i += bytesPerSequence
  }

  return decodeCodePointsArray(res)
}

// Based on http://stackoverflow.com/a/22747272/680742, the browser with
// the lowest limit is Chrome, with 0x10000 args.
// We go 1 magnitude less, for safety
const MAX_ARGUMENTS_LENGTH = 0x1000

function decodeCodePointsArray (codePoints) {
  const len = codePoints.length
  if (len <= MAX_ARGUMENTS_LENGTH) {
    return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
  }

  // Decode in chunks to avoid "call stack size exceeded".
  let res = ''
  let i = 0
  while (i < len) {
    res += String.fromCharCode.apply(
      String,
      codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
    )
  }
  return res
}

function asciiSlice (buf, start, end) {
  let ret = ''
  end = Math.min(buf.length, end)

  for (let i = start; i < end; ++i) {
    ret += String.fromCharCode(buf[i] & 0x7F)
  }
  return ret
}

function latin1Slice (buf, start, end) {
  let ret = ''
  end = Math.min(buf.length, end)

  for (let i = start; i < end; ++i) {
    ret += String.fromCharCode(buf[i])
  }
  return ret
}

function hexSlice (buf, start, end) {
  const len = buf.length

  if (!start || start < 0) start = 0
  if (!end || end < 0 || end > len) end = len

  let out = ''
  for (let i = start; i < end; ++i) {
    out += hexSliceLookupTable[buf[i]]
  }
  return out
}

function utf16leSlice (buf, start, end) {
  const bytes = buf.slice(start, end)
  let res = ''
  // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)
  for (let i = 0; i < bytes.length - 1; i += 2) {
    res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))
  }
  return res
}

Buffer.prototype.slice = function slice (start, end) {
  const len = this.length
  start = ~~start
  end = end === undefined ? len : ~~end

  if (start < 0) {
    start += len
    if (start < 0) start = 0
  } else if (start > len) {
    start = len
  }

  if (end < 0) {
    end += len
    if (end < 0) end = 0
  } else if (end > len) {
    end = len
  }

  if (end < start) end = start

  const newBuf = this.subarray(start, end)
  // Return an augmented `Uint8Array` instance
  Object.setPrototypeOf(newBuf, Buffer.prototype)

  return newBuf
}

/*
 * Need to make sure that buffer isn't trying to write out of bounds.
 */
function checkOffset (offset, ext, length) {
  if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
  if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
}

Buffer.prototype.readUintLE =
Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
  offset = offset >>> 0
  byteLength = byteLength >>> 0
  if (!noAssert) checkOffset(offset, byteLength, this.length)

  let val = this[offset]
  let mul = 1
  let i = 0
  while (++i < byteLength && (mul *= 0x100)) {
    val += this[offset + i] * mul
  }

  return val
}

Buffer.prototype.readUintBE =
Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
  offset = offset >>> 0
  byteLength = byteLength >>> 0
  if (!noAssert) {
    checkOffset(offset, byteLength, this.length)
  }

  let val = this[offset + --byteLength]
  let mul = 1
  while (byteLength > 0 && (mul *= 0x100)) {
    val += this[offset + --byteLength] * mul
  }

  return val
}

Buffer.prototype.readUint8 =
Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 1, this.length)
  return this[offset]
}

Buffer.prototype.readUint16LE =
Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 2, this.length)
  return this[offset] | (this[offset + 1] << 8)
}

Buffer.prototype.readUint16BE =
Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 2, this.length)
  return (this[offset] << 8) | this[offset + 1]
}

Buffer.prototype.readUint32LE =
Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 4, this.length)

  return ((this[offset]) |
      (this[offset + 1] << 8) |
      (this[offset + 2] << 16)) +
      (this[offset + 3] * 0x1000000)
}

Buffer.prototype.readUint32BE =
Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 4, this.length)

  return (this[offset] * 0x1000000) +
    ((this[offset + 1] << 16) |
    (this[offset + 2] << 8) |
    this[offset + 3])
}

Buffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {
  offset = offset >>> 0
  validateNumber(offset, 'offset')
  const first = this[offset]
  const last = this[offset + 7]
  if (first === undefined || last === undefined) {
    boundsError(offset, this.length - 8)
  }

  const lo = first +
    this[++offset] * 2 ** 8 +
    this[++offset] * 2 ** 16 +
    this[++offset] * 2 ** 24

  const hi = this[++offset] +
    this[++offset] * 2 ** 8 +
    this[++offset] * 2 ** 16 +
    last * 2 ** 24

  return BigInt(lo) + (BigInt(hi) << BigInt(32))
})

Buffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {
  offset = offset >>> 0
  validateNumber(offset, 'offset')
  const first = this[offset]
  const last = this[offset + 7]
  if (first === undefined || last === undefined) {
    boundsError(offset, this.length - 8)
  }

  const hi = first * 2 ** 24 +
    this[++offset] * 2 ** 16 +
    this[++offset] * 2 ** 8 +
    this[++offset]

  const lo = this[++offset] * 2 ** 24 +
    this[++offset] * 2 ** 16 +
    this[++offset] * 2 ** 8 +
    last

  return (BigInt(hi) << BigInt(32)) + BigInt(lo)
})

Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
  offset = offset >>> 0
  byteLength = byteLength >>> 0
  if (!noAssert) checkOffset(offset, byteLength, this.length)

  let val = this[offset]
  let mul = 1
  let i = 0
  while (++i < byteLength && (mul *= 0x100)) {
    val += this[offset + i] * mul
  }
  mul *= 0x80

  if (val >= mul) val -= Math.pow(2, 8 * byteLength)

  return val
}

Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
  offset = offset >>> 0
  byteLength = byteLength >>> 0
  if (!noAssert) checkOffset(offset, byteLength, this.length)

  let i = byteLength
  let mul = 1
  let val = this[offset + --i]
  while (i > 0 && (mul *= 0x100)) {
    val += this[offset + --i] * mul
  }
  mul *= 0x80

  if (val >= mul) val -= Math.pow(2, 8 * byteLength)

  return val
}

Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 1, this.length)
  if (!(this[offset] & 0x80)) return (this[offset])
  return ((0xff - this[offset] + 1) * -1)
}

Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 2, this.length)
  const val = this[offset] | (this[offset + 1] << 8)
  return (val & 0x8000) ? val | 0xFFFF0000 : val
}

Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 2, this.length)
  const val = this[offset + 1] | (this[offset] << 8)
  return (val & 0x8000) ? val | 0xFFFF0000 : val
}

Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 4, this.length)

  return (this[offset]) |
    (this[offset + 1] << 8) |
    (this[offset + 2] << 16) |
    (this[offset + 3] << 24)
}

Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 4, this.length)

  return (this[offset] << 24) |
    (this[offset + 1] << 16) |
    (this[offset + 2] << 8) |
    (this[offset + 3])
}

Buffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {
  offset = offset >>> 0
  validateNumber(offset, 'offset')
  const first = this[offset]
  const last = this[offset + 7]
  if (first === undefined || last === undefined) {
    boundsError(offset, this.length - 8)
  }

  const val = this[offset + 4] +
    this[offset + 5] * 2 ** 8 +
    this[offset + 6] * 2 ** 16 +
    (last << 24) // Overflow

  return (BigInt(val) << BigInt(32)) +
    BigInt(first +
    this[++offset] * 2 ** 8 +
    this[++offset] * 2 ** 16 +
    this[++offset] * 2 ** 24)
})

Buffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {
  offset = offset >>> 0
  validateNumber(offset, 'offset')
  const first = this[offset]
  const last = this[offset + 7]
  if (first === undefined || last === undefined) {
    boundsError(offset, this.length - 8)
  }

  const val = (first << 24) + // Overflow
    this[++offset] * 2 ** 16 +
    this[++offset] * 2 ** 8 +
    this[++offset]

  return (BigInt(val) << BigInt(32)) +
    BigInt(this[++offset] * 2 ** 24 +
    this[++offset] * 2 ** 16 +
    this[++offset] * 2 ** 8 +
    last)
})

Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 4, this.length)
  return ieee754.read(this, offset, true, 23, 4)
}

Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 4, this.length)
  return ieee754.read(this, offset, false, 23, 4)
}

Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 8, this.length)
  return ieee754.read(this, offset, true, 52, 8)
}

Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
  offset = offset >>> 0
  if (!noAssert) checkOffset(offset, 8, this.length)
  return ieee754.read(this, offset, false, 52, 8)
}

function checkInt (buf, value, offset, ext, max, min) {
  if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
  if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
  if (offset + ext > buf.length) throw new RangeError('Index out of range')
}

Buffer.prototype.writeUintLE =
Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
  value = +value
  offset = offset >>> 0
  byteLength = byteLength >>> 0
  if (!noAssert) {
    const maxBytes = Math.pow(2, 8 * byteLength) - 1
    checkInt(this, value, offset, byteLength, maxBytes, 0)
  }

  let mul = 1
  let i = 0
  this[offset] = value & 0xFF
  while (++i < byteLength && (mul *= 0x100)) {
    this[offset + i] = (value / mul) & 0xFF
  }

  return offset + byteLength
}

Buffer.prototype.writeUintBE =
Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
  value = +value
  offset = offset >>> 0
  byteLength = byteLength >>> 0
  if (!noAssert) {
    const maxBytes = Math.pow(2, 8 * byteLength) - 1
    checkInt(this, value, offset, byteLength, maxBytes, 0)
  }

  let i = byteLength - 1
  let mul = 1
  this[offset + i] = value & 0xFF
  while (--i >= 0 && (mul *= 0x100)) {
    this[offset + i] = (value / mul) & 0xFF
  }

  return offset + byteLength
}

Buffer.prototype.writeUint8 =
Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
  this[offset] = (value & 0xff)
  return offset + 1
}

Buffer.prototype.writeUint16LE =
Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  this[offset] = (value & 0xff)
  this[offset + 1] = (value >>> 8)
  return offset + 2
}

Buffer.prototype.writeUint16BE =
Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  this[offset] = (value >>> 8)
  this[offset + 1] = (value & 0xff)
  return offset + 2
}

Buffer.prototype.writeUint32LE =
Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  this[offset + 3] = (value >>> 24)
  this[offset + 2] = (value >>> 16)
  this[offset + 1] = (value >>> 8)
  this[offset] = (value & 0xff)
  return offset + 4
}

Buffer.prototype.writeUint32BE =
Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  this[offset] = (value >>> 24)
  this[offset + 1] = (value >>> 16)
  this[offset + 2] = (value >>> 8)
  this[offset + 3] = (value & 0xff)
  return offset + 4
}

function wrtBigUInt64LE (buf, value, offset, min, max) {
  checkIntBI(value, min, max, buf, offset, 7)

  let lo = Number(value & BigInt(0xffffffff))
  buf[offset++] = lo
  lo = lo >> 8
  buf[offset++] = lo
  lo = lo >> 8
  buf[offset++] = lo
  lo = lo >> 8
  buf[offset++] = lo
  let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))
  buf[offset++] = hi
  hi = hi >> 8
  buf[offset++] = hi
  hi = hi >> 8
  buf[offset++] = hi
  hi = hi >> 8
  buf[offset++] = hi
  return offset
}

function wrtBigUInt64BE (buf, value, offset, min, max) {
  checkIntBI(value, min, max, buf, offset, 7)

  let lo = Number(value & BigInt(0xffffffff))
  buf[offset + 7] = lo
  lo = lo >> 8
  buf[offset + 6] = lo
  lo = lo >> 8
  buf[offset + 5] = lo
  lo = lo >> 8
  buf[offset + 4] = lo
  let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))
  buf[offset + 3] = hi
  hi = hi >> 8
  buf[offset + 2] = hi
  hi = hi >> 8
  buf[offset + 1] = hi
  hi = hi >> 8
  buf[offset] = hi
  return offset + 8
}

Buffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {
  return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
})

Buffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {
  return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
})

Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) {
    const limit = Math.pow(2, (8 * byteLength) - 1)

    checkInt(this, value, offset, byteLength, limit - 1, -limit)
  }

  let i = 0
  let mul = 1
  let sub = 0
  this[offset] = value & 0xFF
  while (++i < byteLength && (mul *= 0x100)) {
    if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
      sub = 1
    }
    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  }

  return offset + byteLength
}

Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) {
    const limit = Math.pow(2, (8 * byteLength) - 1)

    checkInt(this, value, offset, byteLength, limit - 1, -limit)
  }

  let i = byteLength - 1
  let mul = 1
  let sub = 0
  this[offset + i] = value & 0xFF
  while (--i >= 0 && (mul *= 0x100)) {
    if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
      sub = 1
    }
    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  }

  return offset + byteLength
}

Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
  if (value < 0) value = 0xff + value + 1
  this[offset] = (value & 0xff)
  return offset + 1
}

Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  this[offset] = (value & 0xff)
  this[offset + 1] = (value >>> 8)
  return offset + 2
}

Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  this[offset] = (value >>> 8)
  this[offset + 1] = (value & 0xff)
  return offset + 2
}

Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  this[offset] = (value & 0xff)
  this[offset + 1] = (value >>> 8)
  this[offset + 2] = (value >>> 16)
  this[offset + 3] = (value >>> 24)
  return offset + 4
}

Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  if (value < 0) value = 0xffffffff + value + 1
  this[offset] = (value >>> 24)
  this[offset + 1] = (value >>> 16)
  this[offset + 2] = (value >>> 8)
  this[offset + 3] = (value & 0xff)
  return offset + 4
}

Buffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {
  return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
})

Buffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {
  return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
})

function checkIEEE754 (buf, value, offset, ext, max, min) {
  if (offset + ext > buf.length) throw new RangeError('Index out of range')
  if (offset < 0) throw new RangeError('Index out of range')
}

function writeFloat (buf, value, offset, littleEndian, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) {
    checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
  }
  ieee754.write(buf, value, offset, littleEndian, 23, 4)
  return offset + 4
}

Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
  return writeFloat(this, value, offset, true, noAssert)
}

Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
  return writeFloat(this, value, offset, false, noAssert)
}

function writeDouble (buf, value, offset, littleEndian, noAssert) {
  value = +value
  offset = offset >>> 0
  if (!noAssert) {
    checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
  }
  ieee754.write(buf, value, offset, littleEndian, 52, 8)
  return offset + 8
}

Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
  return writeDouble(this, value, offset, true, noAssert)
}

Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
  return writeDouble(this, value, offset, false, noAssert)
}

// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
Buffer.prototype.copy = function copy (target, targetStart, start, end) {
  if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')
  if (!start) start = 0
  if (!end && end !== 0) end = this.length
  if (targetStart >= target.length) targetStart = target.length
  if (!targetStart) targetStart = 0
  if (end > 0 && end < start) end = start

  // Copy 0 bytes; we're done
  if (end === start) return 0
  if (target.length === 0 || this.length === 0) return 0

  // Fatal error conditions
  if (targetStart < 0) {
    throw new RangeError('targetStart out of bounds')
  }
  if (start < 0 || start >= this.length) throw new RangeError('Index out of range')
  if (end < 0) throw new RangeError('sourceEnd out of bounds')

  // Are we oob?
  if (end > this.length) end = this.length
  if (target.length - targetStart < end - start) {
    end = target.length - targetStart + start
  }

  const len = end - start

  if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {
    // Use built-in when available, missing from IE11
    this.copyWithin(targetStart, start, end)
  } else {
    Uint8Array.prototype.set.call(
      target,
      this.subarray(start, end),
      targetStart
    )
  }

  return len
}

// Usage:
//    buffer.fill(number[, offset[, end]])
//    buffer.fill(buffer[, offset[, end]])
//    buffer.fill(string[, offset[, end]][, encoding])
Buffer.prototype.fill = function fill (val, start, end, encoding) {
  // Handle string cases:
  if (typeof val === 'string') {
    if (typeof start === 'string') {
      encoding = start
      start = 0
      end = this.length
    } else if (typeof end === 'string') {
      encoding = end
      end = this.length
    }
    if (encoding !== undefined && typeof encoding !== 'string') {
      throw new TypeError('encoding must be a string')
    }
    if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
      throw new TypeError('Unknown encoding: ' + encoding)
    }
    if (val.length === 1) {
      const code = val.charCodeAt(0)
      if ((encoding === 'utf8' && code < 128) ||
          encoding === 'latin1') {
        // Fast path: If `val` fits into a single byte, use that numeric value.
        val = code
      }
    }
  } else if (typeof val === 'number') {
    val = val & 255
  } else if (typeof val === 'boolean') {
    val = Number(val)
  }

  // Invalid ranges are not set to a default, so can range check early.
  if (start < 0 || this.length < start || this.length < end) {
    throw new RangeError('Out of range index')
  }

  if (end <= start) {
    return this
  }

  start = start >>> 0
  end = end === undefined ? this.length : end >>> 0

  if (!val) val = 0

  let i
  if (typeof val === 'number') {
    for (i = start; i < end; ++i) {
      this[i] = val
    }
  } else {
    const bytes = Buffer.isBuffer(val)
      ? val
      : Buffer.from(val, encoding)
    const len = bytes.length
    if (len === 0) {
      throw new TypeError('The value "' + val +
        '" is invalid for argument "value"')
    }
    for (i = 0; i < end - start; ++i) {
      this[i + start] = bytes[i % len]
    }
  }

  return this
}

// CUSTOM ERRORS
// =============

// Simplified versions from Node, changed for Buffer-only usage
const errors = {}
function E (sym, getMessage, Base) {
  errors[sym] = class NodeError extends Base {
    constructor () {
      super()

      Object.defineProperty(this, 'message', {
        value: getMessage.apply(this, arguments),
        writable: true,
        configurable: true
      })

      // Add the error code to the name to include it in the stack trace.
      this.name = `${this.name} [${sym}]`
      // Access the stack to generate the error message including the error code
      // from the name.
      this.stack // eslint-disable-line no-unused-expressions
      // Reset the name to the actual name.
      delete this.name
    }

    get code () {
      return sym
    }

    set code (value) {
      Object.defineProperty(this, 'code', {
        configurable: true,
        enumerable: true,
        value,
        writable: true
      })
    }

    toString () {
      return `${this.name} [${sym}]: ${this.message}`
    }
  }
}

E('ERR_BUFFER_OUT_OF_BOUNDS',
  function (name) {
    if (name) {
      return `${name} is outside of buffer bounds`
    }

    return 'Attempt to access memory outside buffer bounds'
  }, RangeError)
E('ERR_INVALID_ARG_TYPE',
  function (name, actual) {
    return `The "${name}" argument must be of type number. Received type ${typeof actual}`
  }, TypeError)
E('ERR_OUT_OF_RANGE',
  function (str, range, input) {
    let msg = `The value of "${str}" is out of range.`
    let received = input
    if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {
      received = addNumericalSeparator(String(input))
    } else if (typeof input === 'bigint') {
      received = String(input)
      if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {
        received = addNumericalSeparator(received)
      }
      received += 'n'
    }
    msg += ` It must be ${range}. Received ${received}`
    return msg
  }, RangeError)

function addNumericalSeparator (val) {
  let res = ''
  let i = val.length
  const start = val[0] === '-' ? 1 : 0
  for (; i >= start + 4; i -= 3) {
    res = `_${val.slice(i - 3, i)}${res}`
  }
  return `${val.slice(0, i)}${res}`
}

// CHECK FUNCTIONS
// ===============

function checkBounds (buf, offset, byteLength) {
  validateNumber(offset, 'offset')
  if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {
    boundsError(offset, buf.length - (byteLength + 1))
  }
}

function checkIntBI (value, min, max, buf, offset, byteLength) {
  if (value > max || value < min) {
    const n = typeof min === 'bigint' ? 'n' : ''
    let range
    if (byteLength > 3) {
      if (min === 0 || min === BigInt(0)) {
        range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`
      } else {
        range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +
                `${(byteLength + 1) * 8 - 1}${n}`
      }
    } else {
      range = `>= ${min}${n} and <= ${max}${n}`
    }
    throw new errors.ERR_OUT_OF_RANGE('value', range, value)
  }
  checkBounds(buf, offset, byteLength)
}

function validateNumber (value, name) {
  if (typeof value !== 'number') {
    throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)
  }
}

function boundsError (value, length, type) {
  if (Math.floor(value) !== value) {
    validateNumber(value, type)
    throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)
  }

  if (length < 0) {
    throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()
  }

  throw new errors.ERR_OUT_OF_RANGE(type || 'offset',
                                    `>= ${type ? 1 : 0} and <= ${length}`,
                                    value)
}

// HELPER FUNCTIONS
// ================

const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g

function base64clean (str) {
  // Node takes equal signs as end of the Base64 encoding
  str = str.split('=')[0]
  // Node strips out invalid characters like \n and \t from the string, base64-js does not
  str = str.trim().replace(INVALID_BASE64_RE, '')
  // Node converts strings with length < 2 to ''
  if (str.length < 2) return ''
  // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
  while (str.length % 4 !== 0) {
    str = str + '='
  }
  return str
}

function utf8ToBytes (string, units) {
  units = units || Infinity
  let codePoint
  const length = string.length
  let leadSurrogate = null
  const bytes = []

  for (let i = 0; i < length; ++i) {
    codePoint = string.charCodeAt(i)

    // is surrogate component
    if (codePoint > 0xD7FF && codePoint < 0xE000) {
      // last char was a lead
      if (!leadSurrogate) {
        // no lead yet
        if (codePoint > 0xDBFF) {
          // unexpected trail
          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
          continue
        } else if (i + 1 === length) {
          // unpaired lead
          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
          continue
        }

        // valid lead
        leadSurrogate = codePoint

        continue
      }

      // 2 leads in a row
      if (codePoint < 0xDC00) {
        if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
        leadSurrogate = codePoint
        continue
      }

      // valid surrogate pair
      codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
    } else if (leadSurrogate) {
      // valid bmp char, but last char was a lead
      if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
    }

    leadSurrogate = null

    // encode utf8
    if (codePoint < 0x80) {
      if ((units -= 1) < 0) break
      bytes.push(codePoint)
    } else if (codePoint < 0x800) {
      if ((units -= 2) < 0) break
      bytes.push(
        codePoint >> 0x6 | 0xC0,
        codePoint & 0x3F | 0x80
      )
    } else if (codePoint < 0x10000) {
      if ((units -= 3) < 0) break
      bytes.push(
        codePoint >> 0xC | 0xE0,
        codePoint >> 0x6 & 0x3F | 0x80,
        codePoint & 0x3F | 0x80
      )
    } else if (codePoint < 0x110000) {
      if ((units -= 4) < 0) break
      bytes.push(
        codePoint >> 0x12 | 0xF0,
        codePoint >> 0xC & 0x3F | 0x80,
        codePoint >> 0x6 & 0x3F | 0x80,
        codePoint & 0x3F | 0x80
      )
    } else {
      throw new Error('Invalid code point')
    }
  }

  return bytes
}

function asciiToBytes (str) {
  const byteArray = []
  for (let i = 0; i < str.length; ++i) {
    // Node's code seems to be doing this and not & 0x7F..
    byteArray.push(str.charCodeAt(i) & 0xFF)
  }
  return byteArray
}

function utf16leToBytes (str, units) {
  let c, hi, lo
  const byteArray = []
  for (let i = 0; i < str.length; ++i) {
    if ((units -= 2) < 0) break

    c = str.charCodeAt(i)
    hi = c >> 8
    lo = c % 256
    byteArray.push(lo)
    byteArray.push(hi)
  }

  return byteArray
}

function base64ToBytes (str) {
  return base64.toByteArray(base64clean(str))
}

function blitBuffer (src, dst, offset, length) {
  let i
  for (i = 0; i < length; ++i) {
    if ((i + offset >= dst.length) || (i >= src.length)) break
    dst[i + offset] = src[i]
  }
  return i
}

// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass
// the `instanceof` check but they should be treated as of that type.
// See: https://github.com/feross/buffer/issues/166
function isInstance (obj, type) {
  return obj instanceof type ||
    (obj != null && obj.constructor != null && obj.constructor.name != null &&
      obj.constructor.name === type.name)
}
function numberIsNaN (obj) {
  // For IE11 support
  return obj !== obj // eslint-disable-line no-self-compare
}

// Create lookup table for `toString('hex')`
// See: https://github.com/feross/buffer/issues/219
const hexSliceLookupTable = (function () {
  const alphabet = '0123456789abcdef'
  const table = new Array(256)
  for (let i = 0; i < 16; ++i) {
    const i16 = i * 16
    for (let j = 0; j < 16; ++j) {
      table[i16 + j] = alphabet[i] + alphabet[j]
    }
  }
  return table
})()

// Return not function with Error if BigInt not supported
function defineBigIntMethod (fn) {
  return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn
}

function BufferBigIntNotDefined () {
  throw new Error('BigInt not supported')
}


/***/ },

/***/ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js ***!
  \**************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var bind = __webpack_require__(/*! function-bind */ "./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js");

var $apply = __webpack_require__(/*! ./functionApply */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js");
var $call = __webpack_require__(/*! ./functionCall */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js");
var $reflectApply = __webpack_require__(/*! ./reflectApply */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js");

/** @type {import('./actualApply')} */
module.exports = $reflectApply || bind.call($call, $apply);


/***/ },

/***/ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js ***!
  \****************************************************************************************************************/
(module) {

"use strict";


/** @type {import('./functionApply')} */
module.exports = Function.prototype.apply;


/***/ },

/***/ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js ***!
  \***************************************************************************************************************/
(module) {

"use strict";


/** @type {import('./functionCall')} */
module.exports = Function.prototype.call;


/***/ },

/***/ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js ***!
  \********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var bind = __webpack_require__(/*! function-bind */ "./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js");
var $TypeError = __webpack_require__(/*! es-errors/type */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js");

var $call = __webpack_require__(/*! ./functionCall */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js");
var $actualApply = __webpack_require__(/*! ./actualApply */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js");

/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
module.exports = function callBindBasic(args) {
	if (args.length < 1 || typeof args[0] !== 'function') {
		throw new $TypeError('a function is required');
	}
	return $actualApply(bind, $call, args);
};


/***/ },

/***/ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js ***!
  \***************************************************************************************************************/
(module) {

"use strict";


/** @type {import('./reflectApply')} */
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;


/***/ },

/***/ "./node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js ***!
  \******************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js");

var callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js");

/** @type {(thisArg: string, searchString: string, position?: number) => number} */
var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);

/** @type {import('.')} */
module.exports = function callBoundIntrinsic(name, allowMissing) {
	/* eslint no-extra-parens: 0 */

	var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing));
	if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
		return callBindBasic(/** @type {const} */ ([intrinsic]));
	}
	return intrinsic;
};


/***/ },

/***/ "./node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js"
/*!**************************************************************************!*\
  !*** ./node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js ***!
  \**************************************************************************/
(module) {

var charenc = {
  // UTF-8 encoding
  utf8: {
    // Convert a string to a byte array
    stringToBytes: function(str) {
      return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
    },

    // Convert a byte array to a string
    bytesToString: function(bytes) {
      return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
    }
  },

  // Binary encoding
  bin: {
    // Convert a string to a byte array
    stringToBytes: function(str) {
      for (var bytes = [], i = 0; i < str.length; i++)
        bytes.push(str.charCodeAt(i) & 0xFF);
      return bytes;
    },

    // Convert a byte array to a string
    bytesToString: function(bytes) {
      for (var str = [], i = 0; i < bytes.length; i++)
        str.push(String.fromCharCode(bytes[i]));
      return str.join('');
    }
  }
};

module.exports = charenc;


/***/ },

/***/ "./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js"
/*!************************************************************************!*\
  !*** ./node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clsx: () => (/* binding */ clsx),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clsx);

/***/ },

/***/ "./node_modules/.pnpm/component-emitter@1.3.1/node_modules/component-emitter/index.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/component-emitter@1.3.1/node_modules/component-emitter/index.js ***!
  \********************************************************************************************/
(module) {


/**
 * Expose `Emitter`.
 */

if (true) {
  module.exports = Emitter;
}

/**
 * Initialize a new `Emitter`.
 *
 * @api public
 */

function Emitter(obj) {
  if (obj) return mixin(obj);
};

/**
 * Mixin the emitter properties.
 *
 * @param {Object} obj
 * @return {Object}
 * @api private
 */

function mixin(obj) {
  for (var key in Emitter.prototype) {
    obj[key] = Emitter.prototype[key];
  }
  return obj;
}

/**
 * Listen on the given `event` with `fn`.
 *
 * @param {String} event
 * @param {Function} fn
 * @return {Emitter}
 * @api public
 */

Emitter.prototype.on =
Emitter.prototype.addEventListener = function(event, fn){
  this._callbacks = this._callbacks || {};
  (this._callbacks['$' + event] = this._callbacks['$' + event] || [])
    .push(fn);
  return this;
};

/**
 * Adds an `event` listener that will be invoked a single
 * time then automatically removed.
 *
 * @param {String} event
 * @param {Function} fn
 * @return {Emitter}
 * @api public
 */

Emitter.prototype.once = function(event, fn){
  function on() {
    this.off(event, on);
    fn.apply(this, arguments);
  }

  on.fn = fn;
  this.on(event, on);
  return this;
};

/**
 * Remove the given callback for `event` or all
 * registered callbacks.
 *
 * @param {String} event
 * @param {Function} fn
 * @return {Emitter}
 * @api public
 */

Emitter.prototype.off =
Emitter.prototype.removeListener =
Emitter.prototype.removeAllListeners =
Emitter.prototype.removeEventListener = function(event, fn){
  this._callbacks = this._callbacks || {};

  // all
  if (0 == arguments.length) {
    this._callbacks = {};
    return this;
  }

  // specific event
  var callbacks = this._callbacks['$' + event];
  if (!callbacks) return this;

  // remove all handlers
  if (1 == arguments.length) {
    delete this._callbacks['$' + event];
    return this;
  }

  // remove specific handler
  var cb;
  for (var i = 0; i < callbacks.length; i++) {
    cb = callbacks[i];
    if (cb === fn || cb.fn === fn) {
      callbacks.splice(i, 1);
      break;
    }
  }

  // Remove event specific arrays for event types that no
  // one is subscribed for to avoid memory leak.
  if (callbacks.length === 0) {
    delete this._callbacks['$' + event];
  }

  return this;
};

/**
 * Emit `event` with the given args.
 *
 * @param {String} event
 * @param {Mixed} ...
 * @return {Emitter}
 */

Emitter.prototype.emit = function(event){
  this._callbacks = this._callbacks || {};

  var args = new Array(arguments.length - 1)
    , callbacks = this._callbacks['$' + event];

  for (var i = 1; i < arguments.length; i++) {
    args[i - 1] = arguments[i];
  }

  if (callbacks) {
    callbacks = callbacks.slice(0);
    for (var i = 0, len = callbacks.length; i < len; ++i) {
      callbacks[i].apply(this, args);
    }
  }

  return this;
};

/**
 * Return array of callbacks for `event`.
 *
 * @param {String} event
 * @return {Array}
 * @api public
 */

Emitter.prototype.listeners = function(event){
  this._callbacks = this._callbacks || {};
  return this._callbacks['$' + event] || [];
};

/**
 * Check if this emitter has `event` handlers.
 *
 * @param {String} event
 * @return {Boolean}
 * @api public
 */

Emitter.prototype.hasListeners = function(event){
  return !! this.listeners(event).length;
};


/***/ },

/***/ "./node_modules/.pnpm/crypt@0.0.2/node_modules/crypt/crypt.js"
/*!********************************************************************!*\
  !*** ./node_modules/.pnpm/crypt@0.0.2/node_modules/crypt/crypt.js ***!
  \********************************************************************/
(module) {

(function() {
  var base64map
      = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',

  crypt = {
    // Bit-wise rotation left
    rotl: function(n, b) {
      return (n << b) | (n >>> (32 - b));
    },

    // Bit-wise rotation right
    rotr: function(n, b) {
      return (n << (32 - b)) | (n >>> b);
    },

    // Swap big-endian to little-endian and vice versa
    endian: function(n) {
      // If number given, swap endian
      if (n.constructor == Number) {
        return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;
      }

      // Else, assume array and swap all items
      for (var i = 0; i < n.length; i++)
        n[i] = crypt.endian(n[i]);
      return n;
    },

    // Generate an array of any length of random bytes
    randomBytes: function(n) {
      for (var bytes = []; n > 0; n--)
        bytes.push(Math.floor(Math.random() * 256));
      return bytes;
    },

    // Convert a byte array to big-endian 32-bit words
    bytesToWords: function(bytes) {
      for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)
        words[b >>> 5] |= bytes[i] << (24 - b % 32);
      return words;
    },

    // Convert big-endian 32-bit words to a byte array
    wordsToBytes: function(words) {
      for (var bytes = [], b = 0; b < words.length * 32; b += 8)
        bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
      return bytes;
    },

    // Convert a byte array to a hex string
    bytesToHex: function(bytes) {
      for (var hex = [], i = 0; i < bytes.length; i++) {
        hex.push((bytes[i] >>> 4).toString(16));
        hex.push((bytes[i] & 0xF).toString(16));
      }
      return hex.join('');
    },

    // Convert a hex string to a byte array
    hexToBytes: function(hex) {
      for (var bytes = [], c = 0; c < hex.length; c += 2)
        bytes.push(parseInt(hex.substr(c, 2), 16));
      return bytes;
    },

    // Convert a byte array to a base-64 string
    bytesToBase64: function(bytes) {
      for (var base64 = [], i = 0; i < bytes.length; i += 3) {
        var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];
        for (var j = 0; j < 4; j++)
          if (i * 8 + j * 6 <= bytes.length * 8)
            base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));
          else
            base64.push('=');
      }
      return base64.join('');
    },

    // Convert a base-64 string to a byte array
    base64ToBytes: function(base64) {
      // Remove non-base-64 characters
      base64 = base64.replace(/[^A-Z0-9+\/]/ig, '');

      for (var bytes = [], i = 0, imod4 = 0; i < base64.length;
          imod4 = ++i % 4) {
        if (imod4 == 0) continue;
        bytes.push(((base64map.indexOf(base64.charAt(i - 1))
            & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))
            | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));
      }
      return bytes;
    }
  };

  module.exports = crypt;
})();


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/resources/rdforms.css"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/resources/rdforms.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/getUrl.js");
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);
// Imports



var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII= */ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII="), __webpack_require__.b);
var ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC */ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC"), __webpack_require__.b);
var ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC */ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC"), __webpack_require__.b);
var ___CSS_LOADER_URL_IMPORT_3___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg== */ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg=="), __webpack_require__.b);
var ___CSS_LOADER_URL_IMPORT_4___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC */ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC"), __webpack_require__.b);
var ___CSS_LOADER_URL_IMPORT_5___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII= */ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII="), __webpack_require__.b);
var ___CSS_LOADER_EXPORT___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
var ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);
var ___CSS_LOADER_URL_REPLACEMENT_3___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_3___);
var ___CSS_LOADER_URL_REPLACEMENT_4___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_4___);
var ___CSS_LOADER_URL_REPLACEMENT_5___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_5___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, `/* === Colors === */
.rdformsLabel {
    font-weight:bold;
    color: black;
    margin-bottom: 5px;
    display: inline-block;
}

.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,
.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {
/*    border-right: 1px solid #E6E6E6;*/
    border-bottom-width: 0px;
}

/* No border to the right of a heading*/
.compact.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,
.compact.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {
    border-right-width: 0px;
}

/* --- Inverted, background greyish with white separators. --- */
.inverted.rdforms .rdformsTopLevel {
    background: #E6E6E6;
}

.inverted.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,
.inverted.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {
    border-right: 1px solid white;
}


/* --- Validation colors --- */
.rdformsValidator .rdformsField.errorReport,
.rdformsValidator .rdformsGroup.errorReport {
    border-left: 2px dotted red;
}

.rdformsValidator .error .rdformsValidationMessageWrapper {
    color: red;
}

.rdformsValidator .warning .rdformsValidationMessageWrapper {
    color: orange;
}

.rdformsValidator .deprecated .rdformsValidationMessageWrapper {
    color: #00766c;
}

.rdforms .rdformsMandatoryMark {
    color: red;
    vertical-align: text-bottom;
    font-weight: bold;
}

.rdforms .rdformsRecommendedMark,
.rdforms .rdformsOptionalMark {
    padding-left: 10px;
    font-size: 12px;
    color: grey;
}

.rdformsMark {
    display: none;
}

.rdformsTopLevel>.rdformsLabelRow>.rdformsMark,
.rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {
    display: inline;
}

.compact .rdformsTopLevel>.rdformsLabelRow>.rdformsMark,
.compact .rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {
    display: none;
}

/* === End colors === */

.rdformsInvisible {
    display: none;
}

.rdformsRow.rdformsTopLevel {
 	padding-top: 0.3em;
 	padding-bottom: 0.3em;
	margin-top: 0em;
}

.compact .rdformsRow.rdformsTopLevel .rdformsRow {
	padding-left: 0.7em;
    margin-bottom: 0.3em;
}

.rdformsRow.rdformsTopLevel .rdformsRow {
    margin-bottom: 0.15em;
}

.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel,
.compact.rdformsPresenter .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabel {
	font-style: normal;
	width: 10em !important;
}

.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,
.compact.rdformsEditor .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow {
	width: 13em !important;
}

/* No specific width for headings */
.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,
.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {
    width: auto !important;
/*    border-bottom: 1px solid lightgrey;*/
}


.rdformsEditor .rdformsTopLevel>.rdformsLabelRow>.rdformsLabel {
	max-width: 15em;
	width: auto;
	overflow: hidden;
	text-overflow: ellipsis;
	zoom:1;
	*display: inline;
    vertical-align: middle;
}

a.rdformsUrl {
    text-decoration: none;
    word-break: break-all;
}

a.rdformsUrl:hover {
    text-decoration: underline;
}

/* compact anyway for first level*/
.compact .rdformsTopLevel.rdformsRow.notCompact {
	display: inherit;
	width: 98%;
}
.compact .rdformsTopLevel.rdformsRow.notCompact>div {
	display: block;
}

.compact .rdformsTopLevel.rdformsRow.rdformsHeading.notCompact>div {
    display: block;
}

.compact .rdformsTopLevel.rdformsRow.notCompact>.rdformsFields>.rdformsGroup {
	margin-left: 0px;
}

.compact .rdformsRow.notCompact {
    display: block;
    width: auto;
}

.compact .rdformsRow.notCompact>div {
    display: inherit;
}

.rdformsPresenter .rdformsRow.rdformsCompactItem {
    display: table;
    width: 98%;
}

.rdformsPresenter .rdformsRow.rdformsCompactItem>.rdformsLabel {
    width: 10em;
}
.rdformsPresenter .rdformsRow.rdformsCompactItem>div {
    display: table-cell;
}

/* compact anyway for first level*/
.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow {
    display: table;
    width: 98%;
}

.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>div {
    display: table-cell;
}

.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact {
    display: inherit;
    width: auto;
}

.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact>div {
    display: inherit;
}




.rdformsImage {
    max-width: 100%;
    max-height: 300px;
}

.rdformsLabel:hover {
	text-decoration: underline;
	cursor: pointer;
}

.rdformsLabel.rdformsNoPopup:hover {
    text-decoration: initial;
    cursor: initial;
}

.rdformsLabel .popover:hover {
    cursor: initial;
}

.rdformsLabel.noPointer:hover {
    text-decoration: none;
    cursor: default;
}

.rdformsPresenter th span:hover,
.rdformsEditor th span:hover,
.rdformsLabel.hasInfo:hover {
	text-decoration: underline;
	cursor: pointer;
}

.rdforms .itemInfoTable {
	display: table;
	width: 100%;
}
.rdforms .itemInfoTable>* {
	display: table-row;
}
.rdforms .itemInfoTable>*>* {
	display: table-cell;
}

.rdformsGroup {
	margin-left: 13px;
    position: relative;
    margin-top: 10px;
 }

.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,
.rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,
.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabel,
.rdformsRow.rdformsInvisibleGroup>.rdformsLabel{
    display: none;
}

.rdformsInvisibleGroup>.rdformsFields>.rdformsField {
    margin-left: 0em;
    padding-left: 0em;
}

.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup {
    margin-left: 0em;
}
.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup>.rdformsRow {
    padding-left: 0px;
}

.rdformsHeading>.rdformsLabel {
    font-size: larger;
    margin: 8px 0px 5px 0px;
}

.rdformsField {
	margin-left: 1em;
/*	background: white;*/
/*	padding-left: 0.5em;*/
/*	word-break: break-all;*/
}

.rdformsPresenter .rdformsRepeatedValue {
 	border-top: 1px solid #E6E6E6;
    padding-top: 2px;
    margin-top: 2px;
}

.rdformsEditor .rdformsRepeatedValue {
    margin-top: 2px;
}

.rdformsPresenter .rdformsField.rdformsSingleline {
  word-break: break-all;
}

.rdformsPresenter .rdformsField.rdformsMultiline {
  word-break: break-word;
  white-space: pre-line;
}

.rdformsPresenter th,
.rdformsEditor th {
  font-weight: bold;
  padding-left: 0.3em;
  padding-right: 0.3em;
}

.rdformsPresenter table.rdformsGroup td {
	border: 1px solid #E6E6E6;
}
.rdformsEditor table.rdformsGroup th {
	border-bottom: 1px solid #E6E6E6;
}


.rdformsEditor table.rdformsGroup td {
	padding-left: 0em;
	padding-right: 0.6em;
}

.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield {
    padding-right: 7.4em;
}
.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield .rdformsLangFieldControl {
    width: 6.4em;
}

.rdformsEditor table.rdformsGroup td.rdformsTableControl,
.rdformsPresenter table.rdformsGroup td {
	padding-left: 0.3em;
	padding-right: 0.3em;
}

.rdformsPresenter table.rdformsGroup,
.rdformsEditor table.rdformsGroup {
	border-collapse: collapse;
}
.rdformsEditor table.rdformsGroup tr{
	background-color: white;
}
.rdformsPresenter table.rdformsGgroup th,
.rdformsEditor table.rdformsGroup th {
	padding-left: 0.3em;
	padding-right: 0.3em;
}


.rdformsPresenter .rdformsLanguage {
 	float: right;
/*	border-left: 1px solid #E6E6E6;*/
	padding-left: 0.7em;
 }

.rdformsEditor .rdformsLanguage {
 	float: right;
/*	border-left: 1px solid white;*/
	padding-right: 0.7em;
 }
 .rdformsEditor .rdformsField {
 	padding-right: 55px;
	position: relative;
 }

 .rdformsEditor .rdformsField .rdformsChoiceLabel {
 	margin-left: 0.2em;
 	margin-right: 1em;
 }
 .rdformsEditor .rdformsField .mismatch {
     color: red;
     font-weight: bold;
 }
 .rdformsEditor .rdformsLangcontrolledfield {
 	padding-right: 10.9em;
 }
 .rdformsEditor .rdformsFieldControl {
	position: absolute;
	width: 3.8em;
	padding-right: 0.1em;
	right: 0;
	overflow-x: hidden;
	padding-right: 0.1em;
	font-weight: normal;
 }
 .rdformsEditor .rdformsLangFieldControl {
	width: 10em;
 }

.rdformsEditor .rdformsFieldInput {
    width: 100%;
    resize: vertical;
}

.rdformsEditor .rdformsExtLink {
    margin-top: 0.6em;
    margin-right: .6em;
    text-decoration: none;
}

.rdformsEditor .rdformsExtLinkDisabled {
    pointer-events: none;
    opacity: 0.14;
}

.rdformsEditor .rdformsExtLinkControl {
    padding-right: 3.5em !important;
}

.rdformsEditor .rdformsChoiceValue {
 	display: inline-block;
	zoom:1;
	background: whitesmoke;
	min-height: 1.4em;
	padding-left: 4px;
	padding-right: 4px;
	border: 1px solid lightgrey;
	min-width: 4em;
}

.chooser.rdforms label {
	font-weight:normal;
	margin-left:5px;
	margin-top:5px;
	font-size:15px;
    width: 4em;
}

.chooser.rdforms .uriNode,
.chooser.rdforms .labelNode,
.chooser.rdforms .descriptionNode {
	margin-left:20px;
	font-size:15px;
    background: rgb(228, 224, 219);
    border-radius: 3px;
    padding: 3px 7px;
    border: 1px solid grey;
    word-break: break-all;
}

.chooser.rdforms h2 {
    margin-top: 0px;
    margin-bottom: 0.7em;
}

.rdformsStar {
	display: inline-block;
	zoom:1;
	*display: inline;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-image: url(${___CSS_LOADER_URL_REPLACEMENT_0___});
}

/*.rdformsValidator .rdformsFields .error,
.rdformsValidator .rdformsFields .warning,
.rdformsValidator .rdformsFields .deprecated {
    border-radius: 4px;
    padding: 4px;
    color: white;
}*/

.rdformsValidator {
    padding-left: 30px;
}
.rdformsValidator .rdformsValidator {
    padding-left: 0px;
}

.rdformsValidator .rdformsField.error {
    color: red;
}

/* To override some nested rdformsField background settings
.rdformsPresenter.rdformsValidator.error .rdformsField {
    background: red;
}*/

.rdformsValidator .rdformsField.warning {
    color: orange;
}

.rdformsValidator .rdformsField.deprecated {
    color: #00766c;
}

/*.rdformsValidator .rdformsField.error .rdformsUrl,
.rdformsValidator .rdformsField.warning .rdformsUrl,
.rdformsValidator .rdformsField.deprecated .rdformsUrl {
    color: white;
    text-decoration: underline;
}

.rdformsValidator .rdformsField.error .rdformsUrl:hover,
.rdformsValidator .rdformsField.warning .rdformsUrl:hover,
.rdformsValidator .rdformsField.deprecated .rdformsUrl:hover {
    color: white;
}*/

.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms.error {
    padding: 4px 10px;
}
.rdforms.rdformsValidator .rdformsValidator.error {
    color: red;
    border-radius: 4px;
    padding: 4px;
}

.rdformsValidator .rdformsValidationMessage {
    margin-left: 5px;
}

.rdformsValidator .rdformsValidationMessageWrapper {
    display: flex;
    align-items: center;
    padding-top: 5px;
}

.compact .rdformsRow.rdformsTopLevel {
	display: table;
}
.compact .rdformsRow.rdformsTopLevel>div {
	display: table-cell;
}

.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms {
    padding-left: 0px;
}

.compact .rdformsRow>.rdformsLabelRow {
    white-space: nowrap;
}

.compact .rdformsTopLevel.rdformsRow>.rdformsLabelRow .action {
	vertical-align: middle;
}

.compact .rdformsTopLevel>.rdformsFields>.rdformsField {
	margin-left: 0;
}

.rdforms .action {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
    opacity:0.65;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=65)";
    filter:alpha(opacity=65);
    zoom:1;
	vertical-align: top;
}

.rdforms .action:hover {
	opacity:1;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=100)";
    filter:alpha(opacity=100);
    zoom:1;
    cursor: pointer;
}

.rdforms .action.disabled {
	opacity:0.14;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=14)";
    filter:alpha(opacity=14);
    zoom:1;
}

.rdforms .action.editAdd {
	margin-left: 0.5em;
	background-image: url(${___CSS_LOADER_URL_REPLACEMENT_1___});
}

.rdforms .action.editDelete {
	background-image: url(${___CSS_LOADER_URL_REPLACEMENT_2___});
}

.rdforms .rdformsTableControl>.action.editDelete,
.rdforms .rdformsFieldControl>.action.editDelete {
	float: right;
    margin-top: 3px;
}
.rdforms .action.editSearch {
	margin-left: 13px;
	background-image: url(${___CSS_LOADER_URL_REPLACEMENT_3___});
    vertical-align: top;
    margin-top: 5px;
}

.rdforms .action.editExpand {
	margin-left: 0.5em;
	background-image: url(${___CSS_LOADER_URL_REPLACEMENT_4___});
}

.rdforms .action.info {
	background-image: url(${___CSS_LOADER_URL_REPLACEMENT_5___});
}

.rdformsEditor .rdformsDateValue {
    margin-right: 0.4em;
}

/* ---------- StoreManager -----------*/

.formulatorTable {
    display: table;
    width: 100%;
}
.formulatorTable .row {
    display: table-row;
}

.formulatorTable .row>* {
    display: table-cell;
    padding-bottom: 0.3em;
}

.formulatorTable .row>*>* {
    width: 100%;
}

.formulatorTable .row .select {
    width: 16em;
}

.formulatorTable .row label {
    width: 10em;
}

.formulatorTable .row .cardinality label {
    width: 2.5em;
}

.storeManager .readOnly {
    color: gray !important;
}

.storeManager .itemList>div {
    height: 100%;
}

.formulatorTable label .addButton {
    background: lightgreen;
    border-radius: 3px;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 5px;
    font-weight: bold;
}

.formulatorTable label .addButton:hover {
    background: green;
    color: white;
}

.inlineState .dynamic  {
    display: none;
}

.langStringArr {
    display: table;
}

.langStringArr .langString {
    display: table-row;
}

.langString>* {
    display: table-cell;
}

.langString .langStringString {
    width: auto;
}

.langString .langStringLang {
    width: 5em;
}
.langString .langStringString>* {
    width: 100%;
}

.langString .langStringLang>* {
    width: 4.7em;
    margin-left: 0.3em;
}

.maximized_textarea {
    width: 100%;
    height: 100%;
    border-width: 0px;
    padding: 0px;
    resize: none;
}

/* LDBrowser */

.ldbrowser.managedHeight>div {
    height: 100%;
    position: relative;
}

.ldbrowser.examples .examplesBlock {
    display: block;
}
.ldbrowser .examplesBlock {
    display:none;
    margin: 5px;
}

/* RDFView */
.rdfView pre {
    padding: 0px;
    margin: 0px;
    width: 100%;
    border-width:0px;
}

.rdfView.managedHeight pre {
    height: 100%;
    overflow:auto;
}

.rdforms .cardinality {
    width: 500px;
    margin: 0px auto 1em auto;
}

.rdformsRow.missingDeps, .rdformsRow.hiddenProperty {
    display: none !important;
}

.rdformsError,
.rdformsRow.missingDepsWithValue {
    border: 2px solid red;
    padding: 12px;
}

.rdformsLinebreaks {
    white-space: pre-line;
}

.rdformsWarning {
    font-weight: bold;
    color: red;
    padding-bottom: 6px;
    padding-top: 6px;
}

.rdformsDeprecated {
    border: 2px solid red;
    padding: 12px;
}

.rdformsDescription {
    font-style: italic;
    margin-bottom: 10px;
}

.rdformsPresenter .rdformsInline>.rdformsRepeatedValue,
.rdformsPresenter .rdformsInline>.rdformsOrigin {
    border: 1px solid #E6E6E6;
    padding: 4px 8px;
    margin-top: initial;
    margin-right: 5px;
    border-radius: 4px;
    margin-bottom: 5px;
    display: inline-block;
}

.rdformsPresenter .rdformsShowLess,
.rdformsPresenter .rdformsShowMore {
    margin-left: 1em;
    margin-top: 5px;
}

.rdformsPresenter .rdformsInline>.rdformsShowLess,
.rdformsPresenter .rdformsInline>.rdformsShowMore {
    margin-left: 0;
    margin-top: initial;
}

.rdformsPresenter .rdformsTruncated>.rdformsMaybeTruncated {
    display: none;
}

.rdformsPresenter .rdformsTruncated>.rdformsShowLess {
    display: none;
}
.rdformsPresenter .rdformsShowMore {
    display: none;
}
.rdformsPresenter .rdformsTruncated>.rdformsShowMore {
    display: initial;
}

.rdformsPresenter .rdformsInline>.rdformsField {
    margin-left: 0;
}

.rdformsPresenter .rdformsInline {
    padding-left: 1em;
}
`, "",{"version":3,"sources":["webpack://./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/resources/rdforms.css"],"names":[],"mappings":"AAAA,mBAAmB;AACnB;IACI,gBAAgB;IAChB,YAAY;IACZ,kBAAkB;IAClB,qBAAqB;AACzB;;AAEA;;AAEA,uCAAuC;IACnC,wBAAwB;AAC5B;;AAEA,uCAAuC;AACvC;;IAEI,uBAAuB;AAC3B;;AAEA,gEAAgE;AAChE;IACI,mBAAmB;AACvB;;AAEA;;IAEI,6BAA6B;AACjC;;;AAGA,8BAA8B;AAC9B;;IAEI,2BAA2B;AAC/B;;AAEA;IACI,UAAU;AACd;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,UAAU;IACV,2BAA2B;IAC3B,iBAAiB;AACrB;;AAEA;;IAEI,kBAAkB;IAClB,eAAe;IACf,WAAW;AACf;;AAEA;IACI,aAAa;AACjB;;AAEA;;IAEI,eAAe;AACnB;;AAEA;;IAEI,aAAa;AACjB;;AAEA,uBAAuB;;AAEvB;IACI,aAAa;AACjB;;AAEA;EACE,kBAAkB;EAClB,qBAAqB;CACtB,eAAe;AAChB;;AAEA;CACC,mBAAmB;IAChB,oBAAoB;AACxB;;AAEA;IACI,qBAAqB;AACzB;;AAEA;;CAEC,kBAAkB;CAClB,sBAAsB;AACvB;;AAEA;;CAEC,sBAAsB;AACvB;;AAEA,mCAAmC;AACnC;;IAEI,sBAAsB;AAC1B,0CAA0C;AAC1C;;;AAGA;CACC,eAAe;CACf,WAAW;CACX,gBAAgB;CAChB,uBAAuB;CACvB,MAAM;EACN,eAAgB;IACb,sBAAsB;AAC1B;;AAEA;IACI,qBAAqB;IACrB,qBAAqB;AACzB;;AAEA;IACI,0BAA0B;AAC9B;;AAEA,kCAAkC;AAClC;CACC,gBAAgB;CAChB,UAAU;AACX;AACA;CACC,cAAc;AACf;;AAEA;IACI,cAAc;AAClB;;AAEA;CACC,gBAAgB;AACjB;;AAEA;IACI,cAAc;IACd,WAAW;AACf;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,cAAc;IACd,UAAU;AACd;;AAEA;IACI,WAAW;AACf;AACA;IACI,mBAAmB;AACvB;;AAEA,kCAAkC;AAClC;IACI,cAAc;IACd,UAAU;AACd;;AAEA;IACI,mBAAmB;AACvB;;AAEA;IACI,gBAAgB;IAChB,WAAW;AACf;;AAEA;IACI,gBAAgB;AACpB;;;;;AAKA;IACI,eAAe;IACf,iBAAiB;AACrB;;AAEA;CACC,0BAA0B;CAC1B,eAAe;AAChB;;AAEA;IACI,wBAAwB;IACxB,eAAe;AACnB;;AAEA;IACI,eAAe;AACnB;;AAEA;IACI,qBAAqB;IACrB,eAAe;AACnB;;AAEA;;;CAGC,0BAA0B;CAC1B,eAAe;AAChB;;AAEA;CACC,cAAc;CACd,WAAW;AACZ;AACA;CACC,kBAAkB;AACnB;AACA;CACC,mBAAmB;AACpB;;AAEA;CACC,iBAAiB;IACd,kBAAkB;IAClB,gBAAgB;CACnB;;AAED;;;;IAII,aAAa;AACjB;;AAEA;IACI,gBAAgB;IAChB,iBAAiB;AACrB;;AAEA;IACI,gBAAgB;AACpB;AACA;IACI,iBAAiB;AACrB;;AAEA;IACI,iBAAiB;IACjB,uBAAuB;AAC3B;;AAEA;CACC,gBAAgB;AACjB,sBAAsB;AACtB,wBAAwB;AACxB,0BAA0B;AAC1B;;AAEA;EACE,6BAA6B;IAC3B,gBAAgB;IAChB,eAAe;AACnB;;AAEA;IACI,eAAe;AACnB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,sBAAsB;EACtB,qBAAqB;AACvB;;AAEA;;EAEE,iBAAiB;EACjB,mBAAmB;EACnB,oBAAoB;AACtB;;AAEA;CACC,yBAAyB;AAC1B;AACA;CACC,gCAAgC;AACjC;;;AAGA;CACC,iBAAiB;CACjB,oBAAoB;AACrB;;AAEA;IACI,oBAAoB;AACxB;AACA;IACI,YAAY;AAChB;;AAEA;;CAEC,mBAAmB;CACnB,oBAAoB;AACrB;;AAEA;;CAEC,yBAAyB;AAC1B;AACA;CACC,uBAAuB;AACxB;AACA;;CAEC,mBAAmB;CACnB,oBAAoB;AACrB;;;AAGA;EACE,YAAY;AACd,mCAAmC;CAClC,mBAAmB;CACnB;;AAED;EACE,YAAY;AACd,iCAAiC;CAChC,oBAAoB;CACpB;CACA;EACC,mBAAmB;CACpB,kBAAkB;CAClB;;CAEA;EACC,kBAAkB;EAClB,iBAAiB;CAClB;CACA;KACI,UAAU;KACV,iBAAiB;CACrB;CACA;EACC,qBAAqB;CACtB;CACA;CACA,kBAAkB;CAClB,YAAY;CACZ,oBAAoB;CACpB,QAAQ;CACR,kBAAkB;CAClB,oBAAoB;CACpB,mBAAmB;CACnB;CACA;CACA,WAAW;CACX;;AAED;IACI,WAAW;IACX,gBAAgB;AACpB;;AAEA;IACI,iBAAiB;IACjB,kBAAkB;IAClB,qBAAqB;AACzB;;AAEA;IACI,oBAAoB;IACpB,aAAa;AACjB;;AAEA;IACI,+BAA+B;AACnC;;AAEA;EACE,qBAAqB;CACtB,MAAM;CACN,sBAAsB;CACtB,iBAAiB;CACjB,iBAAiB;CACjB,kBAAkB;CAClB,2BAA2B;CAC3B,cAAc;AACf;;AAEA;CACC,kBAAkB;CAClB,eAAe;CACf,cAAc;CACd,cAAc;IACX,UAAU;AACd;;AAEA;;;CAGC,gBAAgB;CAChB,cAAc;IACX,8BAA8B;IAC9B,kBAAkB;IAClB,gBAAgB;IAChB,sBAAsB;IACtB,qBAAqB;AACzB;;AAEA;IACI,eAAe;IACf,oBAAoB;AACxB;;AAEA;CACC,qBAAqB;CACrB,MAAM;EACN,eAAgB;CAChB,WAAW;CACX,YAAY;CACZ,4BAA4B;CAC5B,yDAAyhC;AAC1hC;;AAEA;;;;;;EAME;;AAEF;IACI,kBAAkB;AACtB;AACA;IACI,iBAAiB;AACrB;;AAEA;IACI,UAAU;AACd;;AAEA;;;EAGE;;AAEF;IACI,aAAa;AACjB;;AAEA;IACI,cAAc;AAClB;;AAEA;;;;;;;;;;;EAWE;;AAEF;IACI,iBAAiB;AACrB;AACA;IACI,UAAU;IACV,kBAAkB;IAClB,YAAY;AAChB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,aAAa;IACb,mBAAmB;IACnB,gBAAgB;AACpB;;AAEA;CACC,cAAc;AACf;AACA;CACC,mBAAmB;AACpB;;AAEA;IACI,iBAAiB;AACrB;;AAEA;IACI,mBAAmB;AACvB;;AAEA;CACC,sBAAsB;AACvB;;AAEA;CACC,cAAc;AACf;;AAEA;CACC,qBAAqB;CACrB,WAAW;CACX,YAAY;CACZ,4BAA4B;IACzB,YAAY;IACZ,gEAAgE;IAChE,wBAAwB;IACxB,MAAM;CACT,mBAAmB;AACpB;;AAEA;CACC,SAAS;IACN,iEAAiE;IACjE,yBAAyB;IACzB,MAAM;IACN,eAAe;AACnB;;AAEA;CACC,YAAY;IACT,gEAAgE;IAChE,wBAAwB;IACxB,MAAM;AACV;;AAEA;CACC,kBAAkB;CAClB,yDAAyyB;AAC1yB;;AAEA;CACC,yDAAq6B;AACt6B;;AAEA;;CAEC,YAAY;IACT,eAAe;AACnB;AACA;CACC,iBAAiB;CACjB,yDAAy/B;IACt/B,mBAAmB;IACnB,eAAe;AACnB;;AAEA;CACC,kBAAkB;CAClB,yDAAq1B;AACt1B;;AAEA;CACC,yDAAywC;AAC1wC;;AAEA;IACI,mBAAmB;AACvB;;AAEA,uCAAuC;;AAEvC;IACI,cAAc;IACd,WAAW;AACf;AACA;IACI,kBAAkB;AACtB;;AAEA;IACI,mBAAmB;IACnB,qBAAqB;AACzB;;AAEA;IACI,WAAW;AACf;;AAEA;IACI,WAAW;AACf;;AAEA;IACI,WAAW;AACf;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,sBAAsB;AAC1B;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,sBAAsB;IACtB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;AACrB;;AAEA;IACI,iBAAiB;IACjB,YAAY;AAChB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,kBAAkB;AACtB;;AAEA;IACI,mBAAmB;AACvB;;AAEA;IACI,WAAW;AACf;;AAEA;IACI,UAAU;AACd;AACA;IACI,WAAW;AACf;;AAEA;IACI,YAAY;IACZ,kBAAkB;AACtB;;AAEA;IACI,WAAW;IACX,YAAY;IACZ,iBAAiB;IACjB,YAAY;IACZ,YAAY;AAChB;;AAEA,cAAc;;AAEd;IACI,YAAY;IACZ,kBAAkB;AACtB;;AAEA;IACI,cAAc;AAClB;AACA;IACI,YAAY;IACZ,WAAW;AACf;;AAEA,YAAY;AACZ;IACI,YAAY;IACZ,WAAW;IACX,WAAW;IACX,gBAAgB;AACpB;;AAEA;IACI,YAAY;IACZ,aAAa;AACjB;;AAEA;IACI,YAAY;IACZ,yBAAyB;AAC7B;;AAEA;IACI,wBAAwB;AAC5B;;AAEA;;IAEI,qBAAqB;IACrB,aAAa;AACjB;;AAEA;IACI,qBAAqB;AACzB;;AAEA;IACI,iBAAiB;IACjB,UAAU;IACV,mBAAmB;IACnB,gBAAgB;AACpB;;AAEA;IACI,qBAAqB;IACrB,aAAa;AACjB;;AAEA;IACI,kBAAkB;IAClB,mBAAmB;AACvB;;AAEA;;IAEI,yBAAyB;IACzB,gBAAgB;IAChB,mBAAmB;IACnB,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;AACzB;;AAEA;;IAEI,gBAAgB;IAChB,eAAe;AACnB;;AAEA;;IAEI,cAAc;IACd,mBAAmB;AACvB;;AAEA;IACI,aAAa;AACjB;;AAEA;IACI,aAAa;AACjB;AACA;IACI,aAAa;AACjB;AACA;IACI,gBAAgB;AACpB;;AAEA;IACI,cAAc;AAClB;;AAEA;IACI,iBAAiB;AACrB","sourcesContent":["/* === Colors === */\n.rdformsLabel {\n    font-weight:bold;\n    color: black;\n    margin-bottom: 5px;\n    display: inline-block;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n/*    border-right: 1px solid #E6E6E6;*/\n    border-bottom-width: 0px;\n}\n\n/* No border to the right of a heading*/\n.compact.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n    border-right-width: 0px;\n}\n\n/* --- Inverted, background greyish with white separators. --- */\n.inverted.rdforms .rdformsTopLevel {\n    background: #E6E6E6;\n}\n\n.inverted.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.inverted.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n    border-right: 1px solid white;\n}\n\n\n/* --- Validation colors --- */\n.rdformsValidator .rdformsField.errorReport,\n.rdformsValidator .rdformsGroup.errorReport {\n    border-left: 2px dotted red;\n}\n\n.rdformsValidator .error .rdformsValidationMessageWrapper {\n    color: red;\n}\n\n.rdformsValidator .warning .rdformsValidationMessageWrapper {\n    color: orange;\n}\n\n.rdformsValidator .deprecated .rdformsValidationMessageWrapper {\n    color: #00766c;\n}\n\n.rdforms .rdformsMandatoryMark {\n    color: red;\n    vertical-align: text-bottom;\n    font-weight: bold;\n}\n\n.rdforms .rdformsRecommendedMark,\n.rdforms .rdformsOptionalMark {\n    padding-left: 10px;\n    font-size: 12px;\n    color: grey;\n}\n\n.rdformsMark {\n    display: none;\n}\n\n.rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n    display: inline;\n}\n\n.compact .rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.compact .rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n    display: none;\n}\n\n/* === End colors === */\n\n.rdformsInvisible {\n    display: none;\n}\n\n.rdformsRow.rdformsTopLevel {\n \tpadding-top: 0.3em;\n \tpadding-bottom: 0.3em;\n\tmargin-top: 0em;\n}\n\n.compact .rdformsRow.rdformsTopLevel .rdformsRow {\n\tpadding-left: 0.7em;\n    margin-bottom: 0.3em;\n}\n\n.rdformsRow.rdformsTopLevel .rdformsRow {\n    margin-bottom: 0.15em;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabel {\n\tfont-style: normal;\n\twidth: 10em !important;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsEditor .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow {\n\twidth: 13em !important;\n}\n\n/* No specific width for headings */\n.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n    width: auto !important;\n/*    border-bottom: 1px solid lightgrey;*/\n}\n\n\n.rdformsEditor .rdformsTopLevel>.rdformsLabelRow>.rdformsLabel {\n\tmax-width: 15em;\n\twidth: auto;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tzoom:1;\n\t*display: inline;\n    vertical-align: middle;\n}\n\na.rdformsUrl {\n    text-decoration: none;\n    word-break: break-all;\n}\n\na.rdformsUrl:hover {\n    text-decoration: underline;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.notCompact {\n\tdisplay: inherit;\n\twidth: 98%;\n}\n.compact .rdformsTopLevel.rdformsRow.notCompact>div {\n\tdisplay: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading.notCompact>div {\n    display: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.notCompact>.rdformsFields>.rdformsGroup {\n\tmargin-left: 0px;\n}\n\n.compact .rdformsRow.notCompact {\n    display: block;\n    width: auto;\n}\n\n.compact .rdformsRow.notCompact>div {\n    display: inherit;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem {\n    display: table;\n    width: 98%;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem>.rdformsLabel {\n    width: 10em;\n}\n.rdformsPresenter .rdformsRow.rdformsCompactItem>div {\n    display: table-cell;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow {\n    display: table;\n    width: 98%;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>div {\n    display: table-cell;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact {\n    display: inherit;\n    width: auto;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact>div {\n    display: inherit;\n}\n\n\n\n\n.rdformsImage {\n    max-width: 100%;\n    max-height: 300px;\n}\n\n.rdformsLabel:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdformsLabel.rdformsNoPopup:hover {\n    text-decoration: initial;\n    cursor: initial;\n}\n\n.rdformsLabel .popover:hover {\n    cursor: initial;\n}\n\n.rdformsLabel.noPointer:hover {\n    text-decoration: none;\n    cursor: default;\n}\n\n.rdformsPresenter th span:hover,\n.rdformsEditor th span:hover,\n.rdformsLabel.hasInfo:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdforms .itemInfoTable {\n\tdisplay: table;\n\twidth: 100%;\n}\n.rdforms .itemInfoTable>* {\n\tdisplay: table-row;\n}\n.rdforms .itemInfoTable>*>* {\n\tdisplay: table-cell;\n}\n\n.rdformsGroup {\n\tmargin-left: 13px;\n    position: relative;\n    margin-top: 10px;\n }\n\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabel,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabel{\n    display: none;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsField {\n    margin-left: 0em;\n    padding-left: 0em;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup {\n    margin-left: 0em;\n}\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup>.rdformsRow {\n    padding-left: 0px;\n}\n\n.rdformsHeading>.rdformsLabel {\n    font-size: larger;\n    margin: 8px 0px 5px 0px;\n}\n\n.rdformsField {\n\tmargin-left: 1em;\n/*\tbackground: white;*/\n/*\tpadding-left: 0.5em;*/\n/*\tword-break: break-all;*/\n}\n\n.rdformsPresenter .rdformsRepeatedValue {\n \tborder-top: 1px solid #E6E6E6;\n    padding-top: 2px;\n    margin-top: 2px;\n}\n\n.rdformsEditor .rdformsRepeatedValue {\n    margin-top: 2px;\n}\n\n.rdformsPresenter .rdformsField.rdformsSingleline {\n  word-break: break-all;\n}\n\n.rdformsPresenter .rdformsField.rdformsMultiline {\n  word-break: break-word;\n  white-space: pre-line;\n}\n\n.rdformsPresenter th,\n.rdformsEditor th {\n  font-weight: bold;\n  padding-left: 0.3em;\n  padding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup td {\n\tborder: 1px solid #E6E6E6;\n}\n.rdformsEditor table.rdformsGroup th {\n\tborder-bottom: 1px solid #E6E6E6;\n}\n\n\n.rdformsEditor table.rdformsGroup td {\n\tpadding-left: 0em;\n\tpadding-right: 0.6em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield {\n    padding-right: 7.4em;\n}\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield .rdformsLangFieldControl {\n    width: 6.4em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsTableControl,\n.rdformsPresenter table.rdformsGroup td {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup,\n.rdformsEditor table.rdformsGroup {\n\tborder-collapse: collapse;\n}\n.rdformsEditor table.rdformsGroup tr{\n\tbackground-color: white;\n}\n.rdformsPresenter table.rdformsGgroup th,\n.rdformsEditor table.rdformsGroup th {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n\n.rdformsPresenter .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid #E6E6E6;*/\n\tpadding-left: 0.7em;\n }\n\n.rdformsEditor .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid white;*/\n\tpadding-right: 0.7em;\n }\n .rdformsEditor .rdformsField {\n \tpadding-right: 55px;\n\tposition: relative;\n }\n\n .rdformsEditor .rdformsField .rdformsChoiceLabel {\n \tmargin-left: 0.2em;\n \tmargin-right: 1em;\n }\n .rdformsEditor .rdformsField .mismatch {\n     color: red;\n     font-weight: bold;\n }\n .rdformsEditor .rdformsLangcontrolledfield {\n \tpadding-right: 10.9em;\n }\n .rdformsEditor .rdformsFieldControl {\n\tposition: absolute;\n\twidth: 3.8em;\n\tpadding-right: 0.1em;\n\tright: 0;\n\toverflow-x: hidden;\n\tpadding-right: 0.1em;\n\tfont-weight: normal;\n }\n .rdformsEditor .rdformsLangFieldControl {\n\twidth: 10em;\n }\n\n.rdformsEditor .rdformsFieldInput {\n    width: 100%;\n    resize: vertical;\n}\n\n.rdformsEditor .rdformsExtLink {\n    margin-top: 0.6em;\n    margin-right: .6em;\n    text-decoration: none;\n}\n\n.rdformsEditor .rdformsExtLinkDisabled {\n    pointer-events: none;\n    opacity: 0.14;\n}\n\n.rdformsEditor .rdformsExtLinkControl {\n    padding-right: 3.5em !important;\n}\n\n.rdformsEditor .rdformsChoiceValue {\n \tdisplay: inline-block;\n\tzoom:1;\n\tbackground: whitesmoke;\n\tmin-height: 1.4em;\n\tpadding-left: 4px;\n\tpadding-right: 4px;\n\tborder: 1px solid lightgrey;\n\tmin-width: 4em;\n}\n\n.chooser.rdforms label {\n\tfont-weight:normal;\n\tmargin-left:5px;\n\tmargin-top:5px;\n\tfont-size:15px;\n    width: 4em;\n}\n\n.chooser.rdforms .uriNode,\n.chooser.rdforms .labelNode,\n.chooser.rdforms .descriptionNode {\n\tmargin-left:20px;\n\tfont-size:15px;\n    background: rgb(228, 224, 219);\n    border-radius: 3px;\n    padding: 3px 7px;\n    border: 1px solid grey;\n    word-break: break-all;\n}\n\n.chooser.rdforms h2 {\n    margin-top: 0px;\n    margin-bottom: 0.7em;\n}\n\n.rdformsStar {\n\tdisplay: inline-block;\n\tzoom:1;\n\t*display: inline;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII=);\n}\n\n/*.rdformsValidator .rdformsFields .error,\n.rdformsValidator .rdformsFields .warning,\n.rdformsValidator .rdformsFields .deprecated {\n    border-radius: 4px;\n    padding: 4px;\n    color: white;\n}*/\n\n.rdformsValidator {\n    padding-left: 30px;\n}\n.rdformsValidator .rdformsValidator {\n    padding-left: 0px;\n}\n\n.rdformsValidator .rdformsField.error {\n    color: red;\n}\n\n/* To override some nested rdformsField background settings\n.rdformsPresenter.rdformsValidator.error .rdformsField {\n    background: red;\n}*/\n\n.rdformsValidator .rdformsField.warning {\n    color: orange;\n}\n\n.rdformsValidator .rdformsField.deprecated {\n    color: #00766c;\n}\n\n/*.rdformsValidator .rdformsField.error .rdformsUrl,\n.rdformsValidator .rdformsField.warning .rdformsUrl,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl {\n    color: white;\n    text-decoration: underline;\n}\n\n.rdformsValidator .rdformsField.error .rdformsUrl:hover,\n.rdformsValidator .rdformsField.warning .rdformsUrl:hover,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl:hover {\n    color: white;\n}*/\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms.error {\n    padding: 4px 10px;\n}\n.rdforms.rdformsValidator .rdformsValidator.error {\n    color: red;\n    border-radius: 4px;\n    padding: 4px;\n}\n\n.rdformsValidator .rdformsValidationMessage {\n    margin-left: 5px;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n    display: flex;\n    align-items: center;\n    padding-top: 5px;\n}\n\n.compact .rdformsRow.rdformsTopLevel {\n\tdisplay: table;\n}\n.compact .rdformsRow.rdformsTopLevel>div {\n\tdisplay: table-cell;\n}\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms {\n    padding-left: 0px;\n}\n\n.compact .rdformsRow>.rdformsLabelRow {\n    white-space: nowrap;\n}\n\n.compact .rdformsTopLevel.rdformsRow>.rdformsLabelRow .action {\n\tvertical-align: middle;\n}\n\n.compact .rdformsTopLevel>.rdformsFields>.rdformsField {\n\tmargin-left: 0;\n}\n\n.rdforms .action {\n\tdisplay: inline-block;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n    opacity:0.65;\n    -ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(opacity=65)\";\n    filter:alpha(opacity=65);\n    zoom:1;\n\tvertical-align: top;\n}\n\n.rdforms .action:hover {\n\topacity:1;\n    -ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(opacity=100)\";\n    filter:alpha(opacity=100);\n    zoom:1;\n    cursor: pointer;\n}\n\n.rdforms .action.disabled {\n\topacity:0.14;\n    -ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(opacity=14)\";\n    filter:alpha(opacity=14);\n    zoom:1;\n}\n\n.rdforms .action.editAdd {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC);\n}\n\n.rdforms .rdformsTableControl>.action.editDelete,\n.rdforms .rdformsFieldControl>.action.editDelete {\n\tfloat: right;\n    margin-top: 3px;\n}\n.rdforms .action.editSearch {\n\tmargin-left: 13px;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg==);\n    vertical-align: top;\n    margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.info {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII=);\n}\n\n.rdformsEditor .rdformsDateValue {\n    margin-right: 0.4em;\n}\n\n/* ---------- StoreManager -----------*/\n\n.formulatorTable {\n    display: table;\n    width: 100%;\n}\n.formulatorTable .row {\n    display: table-row;\n}\n\n.formulatorTable .row>* {\n    display: table-cell;\n    padding-bottom: 0.3em;\n}\n\n.formulatorTable .row>*>* {\n    width: 100%;\n}\n\n.formulatorTable .row .select {\n    width: 16em;\n}\n\n.formulatorTable .row label {\n    width: 10em;\n}\n\n.formulatorTable .row .cardinality label {\n    width: 2.5em;\n}\n\n.storeManager .readOnly {\n    color: gray !important;\n}\n\n.storeManager .itemList>div {\n    height: 100%;\n}\n\n.formulatorTable label .addButton {\n    background: lightgreen;\n    border-radius: 3px;\n    padding-left: 3px;\n    padding-right: 3px;\n    margin-left: 5px;\n    font-weight: bold;\n}\n\n.formulatorTable label .addButton:hover {\n    background: green;\n    color: white;\n}\n\n.inlineState .dynamic  {\n    display: none;\n}\n\n.langStringArr {\n    display: table;\n}\n\n.langStringArr .langString {\n    display: table-row;\n}\n\n.langString>* {\n    display: table-cell;\n}\n\n.langString .langStringString {\n    width: auto;\n}\n\n.langString .langStringLang {\n    width: 5em;\n}\n.langString .langStringString>* {\n    width: 100%;\n}\n\n.langString .langStringLang>* {\n    width: 4.7em;\n    margin-left: 0.3em;\n}\n\n.maximized_textarea {\n    width: 100%;\n    height: 100%;\n    border-width: 0px;\n    padding: 0px;\n    resize: none;\n}\n\n/* LDBrowser */\n\n.ldbrowser.managedHeight>div {\n    height: 100%;\n    position: relative;\n}\n\n.ldbrowser.examples .examplesBlock {\n    display: block;\n}\n.ldbrowser .examplesBlock {\n    display:none;\n    margin: 5px;\n}\n\n/* RDFView */\n.rdfView pre {\n    padding: 0px;\n    margin: 0px;\n    width: 100%;\n    border-width:0px;\n}\n\n.rdfView.managedHeight pre {\n    height: 100%;\n    overflow:auto;\n}\n\n.rdforms .cardinality {\n    width: 500px;\n    margin: 0px auto 1em auto;\n}\n\n.rdformsRow.missingDeps, .rdformsRow.hiddenProperty {\n    display: none !important;\n}\n\n.rdformsError,\n.rdformsRow.missingDepsWithValue {\n    border: 2px solid red;\n    padding: 12px;\n}\n\n.rdformsLinebreaks {\n    white-space: pre-line;\n}\n\n.rdformsWarning {\n    font-weight: bold;\n    color: red;\n    padding-bottom: 6px;\n    padding-top: 6px;\n}\n\n.rdformsDeprecated {\n    border: 2px solid red;\n    padding: 12px;\n}\n\n.rdformsDescription {\n    font-style: italic;\n    margin-bottom: 10px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsRepeatedValue,\n.rdformsPresenter .rdformsInline>.rdformsOrigin {\n    border: 1px solid #E6E6E6;\n    padding: 4px 8px;\n    margin-top: initial;\n    margin-right: 5px;\n    border-radius: 4px;\n    margin-bottom: 5px;\n    display: inline-block;\n}\n\n.rdformsPresenter .rdformsShowLess,\n.rdformsPresenter .rdformsShowMore {\n    margin-left: 1em;\n    margin-top: 5px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsShowLess,\n.rdformsPresenter .rdformsInline>.rdformsShowMore {\n    margin-left: 0;\n    margin-top: initial;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsMaybeTruncated {\n    display: none;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsShowLess {\n    display: none;\n}\n.rdformsPresenter .rdformsShowMore {\n    display: none;\n}\n.rdformsPresenter .rdformsTruncated>.rdformsShowMore {\n    display: initial;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsField {\n    margin-left: 0;\n}\n\n.rdformsPresenter .rdformsInline {\n    padding-left: 1em;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esadConstraintEditor {
  border: 1px solid var(--es-border);
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 16px 12px 0 24px;
}`, "",{"version":3,"sources":["webpack://./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.scss"],"names":[],"mappings":"AAAA;EACE,kCAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;AACF","sourcesContent":[".esadConstraintEditor {\n  border: 1px solid var(--es-border);\n  border-radius: 4px;\n  margin-bottom: 16px;\n  padding: 16px 12px 0 24px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/types/presenters/Constraints/Constraints.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/types/presenters/Constraints/Constraints.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esadConstraint {
  width: 100%;
}
.esadConstraint:not(:first-child) {
  border-top: 1px solid rgb(230, 230, 230);
  margin-top: 2px;
  padding-top: 2px;
}

.esadConstraint__value {
  margin-left: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}`, "",{"version":3,"sources":["webpack://./modules/admin/configs/types/presenters/Constraints/Constraints.scss"],"names":[],"mappings":"AAAA;EACE,WAAA;AACF;AACE;EACE,wCAAA;EACA,eAAA;EACA,gBAAA;AACJ;;AAGA;EACE,gBAAA;EACA,uBAAA;EACA,sBAAA;AAAF","sourcesContent":[".esadConstraint {\n  width: 100%;\n\n  &:not(:first-child) {\n    border-top: 1px solid rgb(230, 230, 230);\n    margin-top: 2px;\n    padding-top: 2px;    \n  }  \n}\n\n.esadConstraint__value {\n  margin-left: 4px;\n  overflow-wrap: anywhere;\n  word-break: break-word;  \n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esadStoreConfig {
  width: 100%;
}
.esadStoreConfig:not(:first-child) {
  border-top: 1px solid rgb(230, 230, 230);
  margin-top: 2px;
  padding-top: 2px;
}

.esadStoreConfig__value {
  margin-left: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}`, "",{"version":3,"sources":["webpack://./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.scss"],"names":[],"mappings":"AAAA;EACE,WAAA;AACF;AACE;EACE,wCAAA;EACA,eAAA;EACA,gBAAA;AACJ;;AAGA;EACE,gBAAA;EACA,uBAAA;EACA,sBAAA;AAAF","sourcesContent":[".esadStoreConfig {\n  width: 100%;\n\n  &:not(:first-child) {\n    border-top: 1px solid rgb(230, 230, 230);\n    margin-top: 2px;\n    padding-top: 2px;\n  }\n}\n\n.esadStoreConfig__value {\n  margin-left: 4px;\n  overflow-wrap: anywhere;\n  word-break: break-word;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/style.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/style.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoChangePassword__title {
  min-width: 600px;
}

.escoChangePassword__content {
  min-height: 180px;
}

.escoChangePassword__visibility {
  visibility: hidden;
}`, "",{"version":3,"sources":["webpack://./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/style.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;AACF;;AAEA;EACE,iBAAA;AACF;;AAEA;EACE,kBAAA;AACF","sourcesContent":[".escoChangePassword__title {\n  min-width: 600px;\n}\n\n.escoChangePassword__content {\n  min-height: 180px;\n}\n\n.escoChangePassword__visibility {\n  visibility: hidden;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaOverviewListItem {
  align-items: unset;
  padding: 0;
}

.escaOverviewListItemText__root {
  margin: 0;
}

.escaOverviewListItemText__primary {
  font-weight: 600;
}

.escaOverviewListItemText__secondary {
  color: var(--es-text);
  font-size: unset;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.scss"],"names":[],"mappings":"AAEA;EACE,kBAAA;EACA,UAAA;AADF;;AAIA;EACE,SAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,qBAAA;EACA,gBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escaOverviewListItem {\n  align-items: unset;\n  padding: 0;\n}\n\n.escaOverviewListItemText__root {\n  margin: 0;\n}\n\n.escaOverviewListItemText__primary {\n  font-weight: 600;\n}\n\n.escaOverviewListItemText__secondary {\n  color: var(--es-text);\n  font-size: unset;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaOverviewStats {
  height: 400px;
  width: 100%;
}

.escaOverviewStats__list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  width: 100%;
}

.escaOverviewStats__header {
  margin-bottom: 28px;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,WAAA;AACF;;AAEA;EACE,aAAA;EACA,8BAAA;EACA,mBAAA;EACA,WAAA;AACF;;AAEA;EACE,mBAAA;AACF","sourcesContent":[".escaOverviewStats {\n  height: 400px;\n  width: 100%;\n}\n\n.escaOverviewStats__list {\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 24px;\n  width: 100%;\n}\n\n.escaOverviewStats__header {\n  margin-bottom: 28px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaEmbedDialog__columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.escaEmbedDialog__options,
.escaEmbedDialog__snippets {
  min-width: 0;
}

@media (min-width: 900px) {
  .escaEmbedDialog__columns {
    align-items: flex-start;
    flex-direction: row;
  }
  .escaEmbedDialog__options {
    flex: 1 1 45%;
  }
  .escaEmbedDialog__snippets {
    flex: 1 1 55%;
    position: sticky;
    top: 0;
  }
}
.escaEmbedDialog__fieldRow {
  align-items: center;
  display: flex;
  gap: 4px;
}

.escaEmbedDialog__checkboxOption {
  align-items: center;
  display: flex;
}

.escaEmbedDialog__checkboxOptionLabel {
  margin-right: 4px;
}

.escaEmbedDialog__checkbox {
  padding-bottom: 4px;
  padding-top: 4px;
}

.escaEmbedDialog__helpIcon {
  color: var(--es-text-secondary);
}
.escaEmbedDialog__helpIcon svg {
  font-size: 18px;
}

.escaEmbedDialog__radioGroup {
  padding-left: 28px;
}

.escaEmbedDialog__radio {
  padding-bottom: 2px;
  padding-top: 2px;
}

.escaEmbedDialog__sectionHeading {
  margin-top: 16px;
}
.escaEmbedDialog__sectionHeading:first-child {
  margin-top: 0;
}

.escaEmbedDialog__options .escaEmbedDialog__sectionHeading {
  margin-bottom: 4px;
}

.escaEmbedDialog__previewDatasetSelect {
  margin-bottom: 16px;
  max-width: 400px;
}

.escaEmbedDialog__snippetBlock {
  margin-bottom: 16px;
}

.escaEmbedDialog__snippetHeader {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.escaEmbedDialog__snippetCode {
  background-color: var(--es-surface-light);
  border: 1px solid var(--es-border);
  border-radius: 4px;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,sBAAA;EACA,SAAA;AACF;;AAEA;;EAEE,YAAA;AACF;;AAEA;EACE;IACE,uBAAA;IACA,mBAAA;EACF;EAEA;IACE,aAAA;EAAF;EAGA;IACE,aAAA;IACA,gBAAA;IACA,MAAA;EADF;AACF;AAIA;EACE,mBAAA;EACA,aAAA;EACA,QAAA;AAFF;;AAKA;EACE,mBAAA;EACA,aAAA;AAFF;;AAKA;EACE,iBAAA;AAFF;;AAKA;EACE,mBAAA;EACA,gBAAA;AAFF;;AAKA;EACE,+BAAA;AAFF;AAIE;EACE,eAAA;AAFJ;;AAMA;EACE,kBAAA;AAHF;;AAMA;EACE,mBAAA;EACA,gBAAA;AAHF;;AAMA;EACE,gBAAA;AAHF;AAKE;EACE,aAAA;AAHJ;;AAOA;EACE,kBAAA;AAJF;;AAOA;EACE,mBAAA;EACA,gBAAA;AAJF;;AAOA;EACE,mBAAA;AAJF;;AAOA;EACE,mBAAA;EACA,aAAA;EACA,8BAAA;EACA,kBAAA;AAJF;;AAOA;EACE,yCAAA;EACA,kCAAA;EACA,kBAAA;EACA,oBAAA;EACA,gBAAA;EACA,SAAA;EACA,aAAA;EACA,qBAAA;EACA,qBAAA;AAJF","sourcesContent":[".escaEmbedDialog__columns {\n  display: flex;\n  flex-direction: column;\n  gap: 24px;\n}\n\n.escaEmbedDialog__options,\n.escaEmbedDialog__snippets {\n  min-width: 0;\n}\n\n@media (min-width: 900px) {\n  .escaEmbedDialog__columns {\n    align-items: flex-start;\n    flex-direction: row;\n  }\n\n  .escaEmbedDialog__options {\n    flex: 1 1 45%;\n  }\n\n  .escaEmbedDialog__snippets {\n    flex: 1 1 55%;\n    position: sticky;\n    top: 0;\n  }\n}\n\n.escaEmbedDialog__fieldRow {\n  align-items: center;\n  display: flex;\n  gap: 4px;\n}\n\n.escaEmbedDialog__checkboxOption {\n  align-items: center;\n  display: flex;\n}\n\n.escaEmbedDialog__checkboxOptionLabel {\n  margin-right: 4px;\n}\n\n.escaEmbedDialog__checkbox {\n  padding-bottom: 4px;\n  padding-top: 4px;\n}\n\n.escaEmbedDialog__helpIcon {\n  color: var(--es-text-secondary);\n\n  svg {\n    font-size: 18px;\n  }\n}\n\n.escaEmbedDialog__radioGroup {\n  padding-left: 28px;\n}\n\n.escaEmbedDialog__radio {\n  padding-bottom: 2px;\n  padding-top: 2px;\n}\n\n.escaEmbedDialog__sectionHeading {\n  margin-top: 16px;\n\n  &:first-child {\n    margin-top: 0;\n  }\n}\n\n.escaEmbedDialog__options .escaEmbedDialog__sectionHeading {\n  margin-bottom: 4px;\n}\n\n.escaEmbedDialog__previewDatasetSelect {\n  margin-bottom: 16px;\n  max-width: 400px;\n}\n\n.escaEmbedDialog__snippetBlock {\n  margin-bottom: 16px;\n}\n\n.escaEmbedDialog__snippetHeader {\n  align-items: center;\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 4px;\n}\n\n.escaEmbedDialog__snippetCode {\n  background-color: var(--es-surface-light);\n  border: 1px solid var(--es-border);\n  border-radius: 4px;\n  font-size: 0.8125rem;\n  line-height: 1.5;\n  margin: 0;\n  padding: 12px;\n  white-space: pre-wrap;\n  word-break: break-all;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaDatasetTemplate__filters {
  align-items: center;
  display: flex;
  margin: 16px 0 24px;
}

.escaDatasetTemplate__formControl {
  margin-right: 12px;
  max-width: 210px;
}

.escaDatasetTemplate__catalogFormControl--hidden {
  display: none;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.scss"],"names":[],"mappings":"AACA;EACE,mBAAA;EACA,aAAA;EACA,mBAAA;AAAF;;AAGA;EACE,kBAAA;EACA,gBAAA;AAAF;;AAGA;EACE,aAAA;AAAF","sourcesContent":["\n.escaDatasetTemplate__filters {\n  align-items: center;\n  display: flex;\n  margin: 16px 0 24px;\n}\n\n.escaDatasetTemplate__formControl {\n  margin-right: 12px;\n  max-width: 210px;\n}\n\n.escaDatasetTemplate__catalogFormControl--hidden {\n  display: none;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaApiInfo__column {
  margin-bottom: 24px;
}

.escaApiInfo__apiColumnsList {
  background: var(--es-surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2509803922);
  margin-bottom: 0;
  padding: 8px 16px;
}

.escaApiInfo__header {
  font-weight: bold;
}

.escaApiInfo__status-green {
  color: var(--es-success);
}

.escaApiInfo__status-red {
  color: var(--es-error);
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;AACF;;AAEA;EACE,6BAAA;EACA,iDAAA;EACA,gBAAA;EACA,iBAAA;AACF;;AAEA;EACE,iBAAA;AACF;;AAEA;EACE,wBAAA;AACF;;AAEA;EACE,sBAAA;AACF","sourcesContent":[".escaApiInfo__column {\n  margin-bottom: 24px;\n}\n\n.escaApiInfo__apiColumnsList {\n  background: var(--es-surface);\n  box-shadow: 0 1px 4px #00000040;\n  margin-bottom: 0;\n  padding: 8px 16px;\n}\n\n.escaApiInfo__header {\n  font-weight: bold;\n}\n\n.escaApiInfo__status-green {\n  color: var(--es-success);\n}\n\n.escaApiInfo__status-red {\n  color: var(--es-error);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaStatisticsDialogChartControls {
  display: flex;
  align-items: center;
}

.escaStatisticsChart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  width: 100%;
}

.escaStatisticsChart__chart {
  width: 100%;
}

.escaStatisticsChart__label {
  position: absolute;
}

.escaStatisticsChart__loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.escaStatisticsChart__chart--empty {
  opacity: 0.3;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,mBAAA;AACF;;AAEA;EACE,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,iBAAA;EACA,WAAA;AACF;;AAEA;EACE,WAAA;AACF;;AAEA;EACE,kBAAA;AACF;;AAEA;EACE,aAAA;EACA,mBAAA;EACA,uBAAA;AACF;;AAEA;EACE,YAAA;AACF","sourcesContent":[".escaStatisticsDialogChartControls {\n  display: flex;\n  align-items: center;\n}\n\n.escaStatisticsChart {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  min-height: 350px;\n  width: 100%;\n}\n\n.escaStatisticsChart__chart {\n  width: 100%;\n}\n\n.escaStatisticsChart__label {\n  position: absolute;\n}\n\n.escaStatisticsChart__loading {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.escaStatisticsChart__chart--empty {\n  opacity: 0.3;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaSelectGroup {
  display: flex;
  flex-grow: 1;
  width: 100%;
}

.escaSelectGroup__button {
  background-color: var(--es-input-bg);
  border: 3px solid transparent;
  border-radius: 0;
  color: var(--es-text);
  flex-basis: 100%;
  height: 56px;
  margin-bottom: 8px;
  margin-right: 8px;
  margin-top: 16px;
}
.escaSelectGroup__button:hover {
  background-color: var(--es-input-bg);
}

.escaSelectGroup__button--selected {
  border: 3px solid var(--es-primary);
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,YAAA;EACA,WAAA;AACF;;AAEA;EACE,oCAAA;EACA,6BAAA;EACA,gBAAA;EACA,qBAAA;EACA,gBAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;EACA,gBAAA;AACF;AACE;EACE,oCAAA;AACJ;;AAGA;EACE,mCAAA;AAAF","sourcesContent":[".escaSelectGroup {\n  display: flex;\n  flex-grow: 1;\n  width: 100%;\n}\n\n.escaSelectGroup__button {\n  background-color: var(--es-input-bg);\n  border: 3px solid transparent;\n  border-radius: 0;\n  color: var(--es-text);\n  flex-basis: 100%;\n  height: 56px;\n  margin-bottom: 8px;\n  margin-right: 8px;\n  margin-top: 16px;\n\n  &:hover {\n    background-color: var(--es-input-bg);\n  }\n}\n\n.escaSelectGroup__button--selected {\n  border: 3px solid var(--es-primary);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaSuggestionList__linearProgress {
  width: 120px;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.scss"],"names":[],"mappings":"AAAA;EACE,YAAA;AACF","sourcesContent":[".escaSuggestionList__linearProgress {\n  width: 120px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaVisualizationFormSection {
  margin-bottom: 8px;
  margin-top: 16px;
}

.escaVisualizationFormSection__heading {
  color: var(--es-text);
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

.escaVisualizationForm__inputWrapper {
  margin-top: 16px;
  width: 100%;
}

.escoVisualizationForm__formControl--margin {
  margin-top: 0;
}

.escaVisualizationForm__inputLabel {
  color: var(--es-text);
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

.escaVisualizationForm__fieldMarker {
  font-weight: bold;
  margin-left: 4px;
}

.escaVisualizationFormSection__mapContainer {
  display: flex;
  flex-direction: column;
  height: 60vh;
  position: relative;
}

.escaVisualizationForm__langSelect {
  height: fit-content;
  margin: 16px 0 8px;
  min-width: 20ch;
}

.escaVisualizationForm__closeButton {
  align-self: center;
  height: fit-content;
  margin: 16px 0 8px;
}

.escaChartPlaceHolder {
  align-items: center;
  background-color: var(--es-surface-light);
  color: var(--es-text-secondary);
  display: flex;
  flex-direction: column;
  height: 400px;
  justify-content: center;
  width: 100%;
}

.escaChartPlaceHolderLabel {
  text-align: center;
  width: 400px;
}

.escaChartPlaceHolderLabel--error {
  color: var(--es-error);
}

.escaVisualizationForm__underlinedLabel {
  border-bottom: solid 2px;
  border-color: var(--es-text);
}

.escaVisualizationForm__underlinedLabel--error {
  border-color: var(--es-error);
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.scss"],"names":[],"mappings":"AAAA;EACE,kBAAA;EACA,gBAAA;AACF;;AAEA;EACE,qBAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;AACF;;AAEA;EACE,gBAAA;EACA,WAAA;AACF;;AAEA;EACE,aAAA;AACF;;AAEA;EACE,qBAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;AACF;;AAEA;EACE,iBAAA;EACA,gBAAA;AACF;;AAEA;EACE,aAAA;EACA,sBAAA;EACA,YAAA;EACA,kBAAA;AACF;;AAEA;EACE,mBAAA;EACA,kBAAA;EACA,eAAA;AACF;;AAEA;EACE,kBAAA;EACA,mBAAA;EACA,kBAAA;AACF;;AAEA;EACE,mBAAA;EACA,yCAAA;EACA,+BAAA;EACA,aAAA;EACA,sBAAA;EACA,aAAA;EACA,uBAAA;EACA,WAAA;AACF;;AAEA;EACE,kBAAA;EACA,YAAA;AACF;;AAEA;EACE,sBAAA;AACF;;AAEA;EACE,wBAAA;EACA,4BAAA;AACF;;AAEA;EACE,6BAAA;AACF","sourcesContent":[".escaVisualizationFormSection {\n  margin-bottom: 8px;\n  margin-top: 16px;\n}\n\n.escaVisualizationFormSection__heading {\n  color: var(--es-text);\n  font-size: 16px;\n  font-weight: bold;\n  margin-bottom: 16px;\n}\n\n.escaVisualizationForm__inputWrapper {\n  margin-top: 16px;\n  width: 100%;\n}\n\n.escoVisualizationForm__formControl--margin {\n  margin-top: 0;\n}\n\n.escaVisualizationForm__inputLabel {\n  color: var(--es-text);\n  font-size: 16px;\n  font-weight: bold;\n  margin-bottom: 16px;\n}\n\n.escaVisualizationForm__fieldMarker {\n  font-weight: bold;\n  margin-left: 4px;\n}\n\n.escaVisualizationFormSection__mapContainer {\n  display: flex;\n  flex-direction: column;\n  height: 60vh;\n  position: relative;\n}\n\n.escaVisualizationForm__langSelect {\n  height: fit-content;\n  margin: 16px 0 8px;\n  min-width: 20ch;\n}\n\n.escaVisualizationForm__closeButton {\n  align-self: center;\n  height: fit-content;\n  margin: 16px 0 8px;\n}\n\n.escaChartPlaceHolder {\n  align-items: center;\n  background-color: var(--es-surface-light);\n  color: var(--es-text-secondary);\n  display: flex;\n  flex-direction: column;\n  height: 400px;\n  justify-content: center;\n  width: 100%;\n}\n\n.escaChartPlaceHolderLabel {\n  text-align: center;\n  width: 400px;\n}\n\n.escaChartPlaceHolderLabel--error {\n  color: var(--es-error);\n}\n\n.escaVisualizationForm__underlinedLabel {\n  border-bottom: solid 2px;\n  border-color: var(--es-text);\n}\n\n.escaVisualizationForm__underlinedLabel--error {\n  border-color: var(--es-error);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaPreviewVisualization {
  margin-bottom: 16px;
  margin-top: 16px;
}

.escaPreviewVisualizationLink {
  display: flex;
  margin-left: auto;
  width: fit-content;
}

.escaPreviewVisualizationLink__inner {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.escaPreviewVisualizationSpinner {
  text-align: center;
  width: 100%;
}

.escaVisualizationPreview__alert {
  margin-bottom: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,gBAAA;AACF;;AAEA;EACE,aAAA;EACA,iBAAA;EACA,kBAAA;AACF;;AAEA;EACE,mBAAA;EACA,aAAA;EACA,yBAAA;AACF;;AAEA;EACE,kBAAA;EACA,WAAA;AACF;;AAEA;EACE,mBAAA;AACF","sourcesContent":[".escaPreviewVisualization {\n  margin-bottom: 16px;\n  margin-top: 16px;\n}\n\n.escaPreviewVisualizationLink {\n  display: flex;\n  margin-left: auto;\n  width: fit-content;\n}\n\n.escaPreviewVisualizationLink__inner {\n  align-items: center;\n  display: flex;\n  justify-content: flex-end;\n}\n\n.escaPreviewVisualizationSpinner {\n  text-align: center;\n  width: 100%;\n}\n\n.escaVisualizationPreview__alert {\n  margin-bottom: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaWmsPreview {
  height: 100%;
  position: relative;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.scss"],"names":[],"mappings":"AAAA;EACE,YAAA;EACA,kBAAA;EACA,WAAA;AACF","sourcesContent":[".escaWmsPreview {\n  height: 100%;\n  position: relative;\n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaVisualizationTable__container {
  height: 400px;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,WAAA;AACF","sourcesContent":[".escaVisualizationTable__container {\n  height: 400px; \n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaLinkOrFileTabsContainer {
  margin-bottom: 36px;
  width: calc(66.6% - 32px);
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,yBAAA;AACF","sourcesContent":[".escaLinkOrFileTabsContainer {\n  margin-bottom: 36px;\n  width: calc(66.6% - 32px);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaDatasetPreview {
  padding-bottom: 120px;
}

.escaDatasetPreview__header {
  color: var(--es-accent);
  margin-bottom: 16px;
}

.escaDatasetPreviewSection {
  margin-bottom: 40px;
  white-space: pre-line;
}

.escsDatasetPreviewSection__header {
  margin-bottom: 24px;
}

.escaDatasetPreview__listItemIcon {
  color: var(--es-text);
  height: 24px;
}

.escaDatasetPreview__headerRow {
  align-items: end;
  display: flex;
  justify-content: space-between;
}`, "",{"version":3,"sources":["webpack://./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.scss"],"names":[],"mappings":"AAAA;EACE,qBAAA;AACF;;AAEA;EACE,uBAAA;EACA,mBAAA;AACF;;AAEA;EACE,mBAAA;EACA,qBAAA;AACF;;AAEA;EACE,mBAAA;AACF;;AAEA;EACE,qBAAA;EACA,YAAA;AACF;;AAEA;EACE,gBAAA;EACA,aAAA;EACA,8BAAA;AACF","sourcesContent":[".escaDatasetPreview {\n  padding-bottom: 120px;\n}\n\n.escaDatasetPreview__header {\n  color: var(--es-accent);\n  margin-bottom: 16px;\n}\n\n.escaDatasetPreviewSection {\n  margin-bottom: 40px;\n  white-space: pre-line;\n}\n\n.escsDatasetPreviewSection__header {\n  margin-bottom: 24px;\n}\n\n.escaDatasetPreview__listItemIcon {\n  color: var(--es-text);\n  height: 24px;\n}\n\n.escaDatasetPreview__headerRow {\n  align-items: end;\n  display: flex;\n  justify-content: space-between;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/statistics/PrintButton/PrintButton.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/statistics/PrintButton/PrintButton.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `@media print {
  header {
    display: none !important;
  }
  .MuiDrawer-root {
    display: none !important;
  }
  .escoSidebar {
    display: none !important;
  }
  .escoMainLayout__container--shifted {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .escoMainLayout__container {
    justify-content: left !important;
  }
  .escoMainLayout__content--shifted {
    margin-left: 0 !important;
  }
  .escoMainLayout__content {
    flex-basis: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }
  .escoMainLayout__content canvas {
    max-width: 100%;
    width: 100% !important;
  }
}`, "",{"version":3,"sources":["webpack://./modules/catalog/statistics/PrintButton/PrintButton.scss"],"names":[],"mappings":"AAAA;EACE;IACE,wBAAA;EACF;EAEA;IACE,wBAAA;EAAF;EAGA;IACE,wBAAA;EADF;EAIA;IACE,yBAAA;IACA,sBAAA;EAFF;EAKA;IACE,gCAAA;EAHF;EAMA;IACE,yBAAA;EAJF;EAOA;IACE,2BAAA;IACA,uBAAA;IACA,yBAAA;IACA,wBAAA;IACA,4BAAA;EALF;EAOE;IACE,eAAA;IACA,sBAAA;EALJ;AACF","sourcesContent":["@media print {\n  header {\n    display: none !important;\n  }\n\n  .MuiDrawer-root {\n    display: none !important;\n  }\n\n  .escoSidebar {\n    display: none !important;\n  }\n\n  .escoMainLayout__container--shifted {\n    margin-left: 0 !important;\n    width: 100% !important;\n  }\n\n  .escoMainLayout__container {\n    justify-content: left !important;\n  }\n\n  .escoMainLayout__content--shifted {\n    margin-left: 0 !important;\n  }\n\n  .escoMainLayout__content {\n    flex-basis: 100% !important;\n    height: auto !important;\n    margin-left: 0 !important;\n    margin-top: 0 !important;\n    overflow: visible !important;\n\n    canvas {\n      max-width: 100%;\n      width: 100% !important;\n    }\n  }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/statistics/index.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/statistics/index.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaStatistics__heading {
  margin-bottom: 24px;
}

.escaStatisticsFilterControls {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.escaStatisticsFilterControl__search {
  margin-right: 8px;
  width: 250px;
}

.escaStatisticsFilterControl__moreFilters {
  align-items: center;
  display: flex;
  margin-top: 12px;
}

.escaStatisticsFilterControl__timeRange {
  margin: 0;
  min-width: 180px;
}

.escaStatisticsFilterControl__resourceType {
  padding: 0 12px;
}

.escaStatisticsResourceType__item {
  flex-direction: row;
}

.escaStatisticsSearch_root {
  background-color: var(--es-input-bg);
  border-radius: 4px;
  color: var(--es-text);
  height: 48px;
  padding: 16px 12px 13px;
}
.escaStatisticsSearch_root input::placeholder {
  opacity: 1;
}

.escaStatisticsSearch_adornment {
  color: var(--es-text);
}

.escaStatisticsList {
  margin-top: 60px;
}

.escaStatisticsListItemText {
  align-items: center;
  display: flex;
}

.escaStatisticsListHeader {
  margin-bottom: 8px;
  margin-top: 12px;
}

.escaStatisticsListItem {
  background: var(--es-surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
  padding: 8px 16px;
}

.escaStatisticsListItem--selected {
  background: var(--es-surface);
  border: 2px solid var(--es-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
  padding: 8px 16px;
}

.escaStatisticsListItemText__primary {
  color: var(--es-text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.escaStatisticsListHeader__item {
  display: flex;
  font-weight: 600;
}

.escaStatisticsListItem__secondary {
  align-items: center;
  color: var(--es-text-secondary);
  display: flex;
  font-size: unset;
  margin-left: 18px;
}

.escaStatisticsListItem__secondary:only-child {
  margin-left: 0;
}

.escaStatisticsActions {
  display: flex;
  margin-bottom: 36px;
}

.escaStatisticsActions_buttonGroup {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

.escaStatisticsActions_buttonGroup > *:not(:last-child) {
  margin-right: 8px;
}

@media print {
  .escaStatisticsActions {
    display: none !important;
  }
  .escaStatisticsListItem,
  .escaStatisticsListItem--selected {
    border: 1px solid var(--es-border-light);
    box-shadow: none !important;
  }
}`, "",{"version":3,"sources":["webpack://./modules/catalog/statistics/index.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;AADF;;AAIA;EACE,uBAAA;EACA,aAAA;EACA,sBAAA;EACA,2BAAA;AADF;;AAIA;EACE,iBAAA;EACA,YAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,gBAAA;AADF;;AAIA;EACE,SAAA;EACA,gBAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,oCAAA;EACA,kBAAA;EACA,qBAAA;EACA,YAAA;EACA,uBAAA;AADF;AAGE;EACE,UAAA;AADJ;;AAKA;EACE,qBAAA;AAFF;;AAKA;EACE,gBAAA;AAFF;;AAKA;EACE,mBAAA;EACA,aAAA;AAFF;;AAKA;EACE,kBAAA;EACA,gBAAA;AAFF;;AAKA;EACE,6BAAA;EACA,yCAAA;EACA,mBAAA;EACA,iBAAA;AAFF;;AAKA;EACE,6BAAA;EACA,mCAAA;EACA,yCAAA;EACA,mBAAA;EACA,iBAAA;AAFF;;AAKA;EACE,qBAAA;EACA,gBAAA;EACA,uBAAA;AAFF;;AAKA;EACE,aAAA;EACA,gBAAA;AAFF;;AAKA;EACE,mBAAA;EACA,+BAAA;EACA,aAAA;EACA,gBAAA;EACA,iBAAA;AAFF;;AAKA;EACE,cAAA;AAFF;;AAKA;EACE,aAAA;EACA,mBAAA;AAFF;;AAKA;EACE,aAAA;EACA,yBAAA;EACA,iBAAA;AAFF;;AAKA;EACE,iBAAA;AAFF;;AAKA;EACE;IACE,wBAAA;EAFF;EAKA;;IAEE,wCAAA;IACA,2BAAA;EAHF;AACF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escaStatistics__heading {\n  margin-bottom: 24px;\n}\n\n.escaStatisticsFilterControls {\n  align-items: flex-start;\n  display: flex;\n  flex-direction: column;\n  justify-content: flex-start;\n}\n\n.escaStatisticsFilterControl__search {\n  margin-right: 8px;\n  width: 250px;\n}\n\n.escaStatisticsFilterControl__moreFilters {\n  align-items: center;\n  display: flex;\n  margin-top: 12px;\n}\n\n.escaStatisticsFilterControl__timeRange {\n  margin: 0;\n  min-width: 180px;\n}\n\n.escaStatisticsFilterControl__resourceType {\n  padding: 0 12px;\n}\n\n.escaStatisticsResourceType__item {\n  flex-direction: row;\n}\n\n.escaStatisticsSearch_root {\n  background-color: var(--es-input-bg);\n  border-radius: 4px;\n  color: var(--es-text);\n  height: 48px;\n  padding: 16px 12px 13px;\n\n  input::placeholder {\n    opacity: 1;\n  }\n}\n\n.escaStatisticsSearch_adornment {\n  color: var(--es-text);\n}\n\n.escaStatisticsList {\n  margin-top: 60px;\n}\n\n.escaStatisticsListItemText {\n  align-items: center;\n  display: flex;\n}\n\n.escaStatisticsListHeader {\n  margin-bottom: 8px;\n  margin-top: 12px;\n}\n\n.escaStatisticsListItem {\n  background: var(--es-surface);\n  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);\n  margin-bottom: 12px;\n  padding: 8px 16px;\n}\n\n.escaStatisticsListItem--selected {\n  background: var(--es-surface);\n  border: 2px solid var(--es-primary);\n  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);\n  margin-bottom: 12px;\n  padding: 8px 16px;\n}\n\n.escaStatisticsListItemText__primary {\n  color: var(--es-text);\n  font-weight: 600;\n  overflow-wrap: anywhere;\n}\n\n.escaStatisticsListHeader__item {\n  display: flex;\n  font-weight: 600;\n}\n\n.escaStatisticsListItem__secondary {\n  align-items: center;\n  color: var(--es-text-secondary);\n  display: flex;\n  font-size: unset;\n  margin-left: 18px;\n}\n\n.escaStatisticsListItem__secondary:only-child {\n  margin-left: 0;\n}\n\n.escaStatisticsActions {\n  display: flex;\n  margin-bottom: 36px;\n}\n\n.escaStatisticsActions_buttonGroup {\n  display: flex;\n  justify-content: flex-end;\n  margin-left: auto;\n}\n\n.escaStatisticsActions_buttonGroup > *:not(:last-child) {\n  margin-right: 8px;\n}\n\n@media print {\n  .escaStatisticsActions {\n    display: none !important;\n  }\n\n  .escaStatisticsListItem,\n  .escaStatisticsListItem--selected {\n    border: 1px solid var(--es-border-light);\n    box-shadow: none !important;\n  }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionChecklistDialog.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionChecklistDialog.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaSuggestionChecklistDialog__taskHeading {
  align-items: center;
  background-color: var(--es-border);
  border-radius: 5px 5px 0 0;
  box-shadow: var(--es-shadow);
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-left: 16px;
  padding-right: 16px;
}

.escaSuggestionChecklistDialog__checklistItem {
  align-items: center;
  display: flex;
}

.escaSuggestionChecklistDialog__taskDescription {
  background-color: var(--es-surface);
  border-radius: 0 0 5px 5px;
  box-shadow: var(--es-shadow);
  padding: 12px 18px;
}

.escaSuggestionChecklistDialog__linearProgress {
  background: var(--es-canvas);
  margin: 0 -6px;
  padding: 24px 12px;
  position: sticky;
  top: -24px;
  width: 102%;
  z-index: 100;
}

.escaSuggestionChecklistDialog__priorityIcon {
  color: var(--es-error);
}`, "",{"version":3,"sources":["webpack://./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionChecklistDialog.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,kCAAA;EACA,0BAAA;EACA,4BAAA;EACA,aAAA;EACA,8BAAA;EACA,gBAAA;EACA,kBAAA;EACA,mBAAA;AACF;;AAEA;EACE,mBAAA;EACA,aAAA;AACF;;AAEA;EACE,mCAAA;EACA,0BAAA;EACA,4BAAA;EACA,kBAAA;AACF;;AAEA;EACE,4BAAA;EACA,cAAA;EACA,kBAAA;EACA,gBAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;AACF;;AAEA;EACE,sBAAA;AACF","sourcesContent":[".escaSuggestionChecklistDialog__taskHeading {\n  align-items: center;\n  background-color: var(--es-border);\n  border-radius: 5px 5px 0 0;\n  box-shadow: var(--es-shadow);\n  display: flex;\n  justify-content: space-between;\n  margin-top: 24px;\n  padding-left: 16px;\n  padding-right: 16px;\n}\n\n.escaSuggestionChecklistDialog__checklistItem {\n  align-items: center;\n  display: flex;\n}\n\n.escaSuggestionChecklistDialog__taskDescription {\n  background-color: var(--es-surface);\n  border-radius: 0 0 5px 5px;\n  box-shadow: var(--es-shadow);\n  padding: 12px 18px;\n}\n\n.escaSuggestionChecklistDialog__linearProgress {\n  background: var(--es-canvas);\n  margin: 0 -6px;\n  padding: 24px 12px;\n  position: sticky;\n  top: -24px;\n  width: 102%;\n  z-index: 100;\n}\n\n.escaSuggestionChecklistDialog__priorityIcon {\n  color: var(--es-error);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/CommentsDialog/CommentDialog.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/CommentsDialog/CommentDialog.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escaCommentForm {
  border-radius: 5px 5px 0 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2509803922);
  padding: 24px;
}

.escaCommentForm__button {
  display: flex;
  justify-content: flex-end;
}

.escaReply__cancelButton {
  margin-right: 12px;
}

.escaComment__header {
  background-color: var(--es-surface-light);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  margin-top: 24px;
  padding: 12px 24px;
}

.escaComment__description {
  background-color: var(--es-surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  padding: 12px 24px;
}

.escaComment__footer {
  background-color: var(--es-surface);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  padding: 12px 24px;
}

.escaCommentFooter__action {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.escaReply__description {
  border-radius: 5px 5px 0 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2509803922);
  padding: 18px 30px;
}

.escaReply__footer {
  background-color: var(--es-surface);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
  padding: 6px 30px;
}

.escaCommentFooter__showReply {
  height: 50%;
}

.escaCommentFooter__actionButtons {
  align-items: center;
  display: flex;
  gap: 4px;
}

.escaCommentsFooter__author {
  color: var(--es-text-secondary);
  font-size: 14px;
}

.escaComments__circularProgress {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.escoComments__commentsUpdateText {
  position: relative;
  top: -1999px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/CommentsDialog/CommentDialog.scss"],"names":[],"mappings":"AAEA;EACE,0BAAA;EACA,iDAAA;EACA,aAAA;AADF;;AAIA;EACE,aAAA;EACA,yBAAA;AADF;;AAIA;EACE,kBAAA;AADF;;AAIA;EACE,yCAAA;EACA,0BAAA;EACA,yCAAA;EACA,gBAAA;EACA,kBAAA;AADF;;AAIA;EACE,mCAAA;EACA,yCAAA;EACA,kBAAA;AADF;;AAIA;EACE,mCAAA;EACA,0BAAA;EACA,yCAAA;EACA,kBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,8BAAA;EACA,mBAAA;AADF;;AAIA;EACE,0BAAA;EACA,iDAAA;EACA,kBAAA;AADF;;AAIA;EACE,mCAAA;EACA,0BAAA;EACA,yCAAA;EACA,mBAAA;EACA,iBAAA;AADF;;AAIA;EACE,WAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,QAAA;AADF;;AAIA;EACE,+BAAA;EACA,eAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,eAAA;AADF;;AAIA;EACE,kBAAA;EACA,YAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escaCommentForm {\n  border-radius: 5px 5px 0 0;\n  box-shadow: 0 1px 4px #00000040;\n  padding: 24px;\n}\n\n.escaCommentForm__button {\n  display: flex;\n  justify-content: flex-end;\n}\n\n.escaReply__cancelButton {\n  margin-right: 12px;\n}\n\n.escaComment__header {\n  background-color: var(--es-surface-light);\n  border-radius: 5px 5px 0 0;\n  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);\n  margin-top: 24px;\n  padding: 12px 24px;\n}\n\n.escaComment__description {\n  background-color: var(--es-surface);\n  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);\n  padding: 12px 24px;\n}\n\n.escaComment__footer {\n  background-color: var(--es-surface);\n  border-radius: 0 0 5px 5px;\n  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);\n  padding: 12px 24px;\n}\n\n.escaCommentFooter__action {\n  align-items: center;\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 12px;\n}\n\n.escaReply__description {\n  border-radius: 5px 5px 0 0;\n  box-shadow: 0 1px 4px #00000040;\n  padding: 18px 30px;\n}\n\n.escaReply__footer {\n  background-color: var(--es-surface);\n  border-radius: 0 0 5px 5px;\n  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);\n  margin-bottom: 12px;\n  padding: 6px 30px;\n}\n\n.escaCommentFooter__showReply {\n  height: 50%;\n}\n\n.escaCommentFooter__actionButtons {\n  align-items: center;\n  display: flex;\n  gap: 4px;\n}\n\n.escaCommentsFooter__author {\n  color: var(--es-text-secondary);\n  font-size: 14px;\n}\n\n.escaComments__circularProgress {\n  align-items: center;\n  display: flex;\n  justify-content: center;\n  padding: 20px 0;\n}\n\n.escoComments__commentsUpdateText {\n  position: relative;\n  top: -1999px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoExternalLinks {
  display: flex;
  flex: 1;
  flex-flow: wrap;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 60ms ease;
}

.escoDrawer--expanded .escoExternalLinks {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 150ms ease 180ms;
}

.escoExternalLinks__Divider {
  background-color: rgba(128, 139, 144, 0.25);
}

.escoExternalLink {
  color: var(--es-text-secondary);
  font-size: 11px;
  justify-content: center;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: capitalize;
}`, "",{"version":3,"sources":["webpack://./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;EACA,OAAA;EACA,eAAA;EACA,sBAAA;EACA,yBAAA;EACA,mBAAA;EACA,UAAA;EACA,oBAAA;EACA,6BAAA;AADF;;AAIA;EACE,UAAA;EACA,oBAAA;EACA,oCAAA;AADF;;AAIA;EACE,2CAAA;AADF;;AAIA;EACE,+BAAA;EACA,eAAA;EACA,uBAAA;EACA,uBAAA;EACA,kBAAA;EACA,0BAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoExternalLinks {\n  display: flex;\n  flex: 1;\n  flex-flow: wrap;\n  flex-direction: column;\n  justify-content: flex-end;\n  margin-bottom: 18px;\n  opacity: 0;\n  pointer-events: none;\n  transition: opacity 60ms ease;\n}\n\n.escoDrawer--expanded .escoExternalLinks {\n  opacity: 1;\n  pointer-events: auto;\n  transition: opacity 150ms ease 180ms;\n}\n\n.escoExternalLinks__Divider {\n  background-color: rgba(128, 139, 144, 0.25);\n}\n\n.escoExternalLink {\n  color: var(--es-text-secondary);\n  font-size: 11px;\n  justify-content: center;\n  overflow-wrap: anywhere;\n  text-align: center;\n  text-transform: capitalize;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoHelpDrawer {
  display: flex;
  flex-direction: column;
  width: 280px;
}

.escoHelpDrawer__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px 12px;
}

.escoHelpDrawer__headerTitle {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}

.escoHelpDrawer__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
}

.escoHelpDrawer__linkIcon {
  font-size: inherit;
  margin-left: 4px;
}

.escoHelpDrawer__listItem:not(:hover) .escoHelpDrawer__linkIcon {
  display: none;
}

.escoHelpDrawer__footer {
  display: flex;
  flex-direction: column;
}

.escoHelpDrawer__footerIcon {
  color: var(--es-text);
  margin-right: 4px;
}

.escoHelpDrawer__searchInput {
  background-color: var(--es-input-bg);
  border-radius: 4px;
  color: var(--es-text);
  height: 36px;
  padding: 0 8px;
  width: 100%;
}
.escoHelpDrawer__searchInput input::placeholder {
  opacity: 1;
}

.escoHelpDrawer__searchPlaceholder {
  margin-top: 12px;
}

.escoHelpDrawer__HighlightOverlay {
  height: 100vh;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 9999;
}

.escoHelpDrawer__SvgRect {
  fill: none;
  stroke: #f7ce26;
  stroke-width: 8;
}`, "",{"version":3,"sources":["webpack://./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.scss","webpack://./modules/commons/theme/css/variables.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAGA;EACE,aAAA;EACA,sBAAA;EACA,YCFkB;ADApB;;AAKA;EACE,aAAA;EACA,sBAAA;EACA,8BAAA;EACA,iBAAA;AAFF;;AAKA;EACE,mBAAA;EACA,aAAA;EACA,8BAAA;EACA,kBAAA;AAFF;;AAKA;EACE,aAAA;EACA,sBAAA;EACA,YAAA;EACA,cAAA;AAFF;;AAKA;EACE,kBAAA;EACA,gBAAA;AAFF;;AAKA;EACE,aAAA;AAFF;;AAKA;EACE,aAAA;EACA,sBAAA;AAFF;;AAKA;EACE,qBAAA;EACA,iBAAA;AAFF;;AAKA;EACE,oCAAA;EACA,kBAAA;EACA,qBAAA;EACA,YAAA;EACA,cAAA;EACA,WAAA;AAFF;AAIE;EACE,UAAA;AAFJ;;AAMA;EACE,gBAAA;AAHF;;AAMA;EACE,aAAA;EACA,OAAA;EACA,oBAAA;EACA,eAAA;EACA,MAAA;EACA,YAAA;EACA,aAAA;AAHF;;AAMA;EACE,UAAA;EACA,eEpDa;EFqDb,eAAA;AAHF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n@use 'commons/theme/css/variables.scss' as *;\n\n.escoHelpDrawer {\n  display: flex;\n  flex-direction: column;\n  width: $help-drawer-width;\n}\n\n.escoHelpDrawer__header {\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  padding: 9px 12px;\n}\n\n.escoHelpDrawer__headerTitle {\n  align-items: center;\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 7px;\n}\n\n.escoHelpDrawer__content {\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n  overflow: auto;\n}\n\n.escoHelpDrawer__linkIcon {\n  font-size: inherit;\n  margin-left: 4px;\n}\n\n.escoHelpDrawer__listItem:not(:hover) .escoHelpDrawer__linkIcon {\n  display: none;\n}\n\n.escoHelpDrawer__footer {\n  display: flex;\n  flex-direction: column;\n}\n\n.escoHelpDrawer__footerIcon {\n  color: var(--es-text);\n  margin-right: 4px;\n}\n\n.escoHelpDrawer__searchInput {\n  background-color: var(--es-input-bg);\n  border-radius: 4px;\n  color: var(--es-text);\n  height: 36px;\n  padding: 0 8px;\n  width: 100%;\n\n  input::placeholder {\n    opacity: 1;\n  }\n}\n\n.escoHelpDrawer__searchPlaceholder {\n  margin-top: 12px;\n}\n\n.escoHelpDrawer__HighlightOverlay {\n  height: 100vh;\n  left: 0;\n  pointer-events: none;\n  position: fixed;\n  top: 0;\n  width: 100vw;\n  z-index: 9999;\n}\n\n.escoHelpDrawer__SvgRect {\n  fill: none;\n  stroke: $warning-main;\n  stroke-width: 8;\n}\n","$app-bar-height: 96px;\n$app-bar-margin-bottom: 24px;\n$drawer-width-mini: 64px;\n$drawer-width-expanded: 200px;\n$help-drawer-width: 280px;\n$sidebar-width: 228px;\n$sidebar-width-min: 148px;\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/MainLayout.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/MainLayout.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoMainLayout__container {
  display: flex;
  height: 100%;
  justify-content: space-around;
  margin-left: 64px;
  transition: margin-left 200ms ease, margin-right 200ms ease, width 200ms ease;
  width: calc(100% - 64px);
}

.escoMainLayout__container--shifted {
  margin-left: 200px;
  width: calc(100% - 200px);
}

.escoMainLayout__container--shiftedRight {
  margin-right: 280px;
  width: calc(100% - 64px - 280px);
}

.escoMainLayout__container--shiftedBoth {
  margin-left: 200px;
  margin-right: 280px;
  width: calc(100% - 200px - 280px);
}

.escoMainLayout__content {
  flex-basis: calc(100% - 228px);
  height: calc(100% - 96px);
  margin-left: 228px;
  margin-top: 96px;
  max-width: 1680px;
  overflow: auto;
  padding: 12px;
  padding-left: 30px;
  padding-top: 36px;
  scroll-margin-top: 100px;
}

.escoAppBar {
  background: var(--es-canvas);
  border-bottom: 1px solid var(--es-border-light);
  box-shadow: none;
  color: var(--es-text);
  display: flex;
  height: 96px;
  justify-content: center;
  margin-left: 64px;
  transition: margin-left 200ms ease, margin-right 200ms ease, width 200ms ease;
  width: calc(100% - 64px);
}

.escoAppBar--shifted {
  margin-left: 200px;
  width: calc(100% - 200px);
}

.escoAppBar--shiftedRight {
  margin-right: 280px;
  width: calc(100% - 64px - 280px);
}

.escoAppBar--shiftedBoth {
  margin-left: 200px;
  margin-right: 280px;
  width: calc(100% - 200px - 280px);
}

.escoSkipLink {
  background: var(--es-surface);
  border: 1px solid var(--es-border-light);
  border-radius: 4px;
  font-size: 21px;
  left: calc(50% - 140px);
  padding: 12px;
  position: absolute;
  text-align: center;
  top: 0;
  transform: translateY(-400px);
  width: 280px;
}

.escoSkipLink:focus {
  transform: translateY(0);
}

.escoH1--small {
  font-size: 21px;
}

.escoDrawer {
  background: var(--es-surface);
  bottom: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  left: 0;
  overflow-x: hidden;
  position: fixed;
  top: 0;
  transition: width 200ms ease;
  width: 64px;
  z-index: 1200;
}

.escoDrawer--expanded {
  width: 200px;
}

.escoDrawer__brand {
  align-items: center;
  border-bottom: 1px solid var(--es-border-light);
  display: flex;
  height: 96px;
  justify-content: flex-start;
  min-height: 96px;
  padding-left: 13px;
  transition: padding-left 200ms ease;
}
.escoDrawer--expanded .escoDrawer__brand {
  padding-left: 20px;
}

.escoDrawer__logo {
  max-height: 59px;
  max-width: 48px;
  transform: scale(0.75);
  transform-origin: left center;
  transition: transform 200ms ease;
  width: 100%;
}
.escoDrawer--expanded .escoDrawer__logo {
  transform: scale(1);
}

.escoDrawer__navigation {
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 10px;
  scrollbar-width: thin;
}

.escoSidebar {
  display: flex;
  flex-direction: column;
  height: calc(100% - 120px);
  justify-content: space-between;
  left: 64px;
  margin-left: 12px;
  margin-top: 120px;
  padding: 12px;
  position: fixed;
  transition: left 200ms ease;
  width: 228px;
}

.escoSidebar--shifted {
  left: 200px;
}

.escoSidebarBrand {
  margin-top: 12px;
  width: 84px;
}

.escoBrand {
  width: 100%;
}

.escoBrand__Link {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.escoBrand__logo {
  width: 70px;
}

.escoBrand .logo-text {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0;
  margin-bottom: 6px;
  width: 100%;
}

.escoSecondaryNav {
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
  overflow-y: auto;
  padding-left: 48px;
  width: 100%;
}

.escoSecondaryNav__Link {
  align-items: center;
  color: var(--es-text);
  display: flex;
  font-size: 18px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.escoSecondaryNav__Link--active {
  color: var(--es-primary);
  font-weight: 600;
}

.escoToolbar__Icon--large {
  font-size: 36px;
}

.escoToolbar__Icon--orange {
  color: var(--es-accent);
}

.escoTwoColView {
  display: flex;
  min-height: 100%;
  min-width: 700px;
}

.escoTwoColView__Sidebar {
  padding: 12px;
  width: 300px;
}

.escoTwoColView__Main {
  flex: 1;
  padding: 12px;
}

.escoToolbar {
  display: flex;
  justify-content: space-between;
}

.escoToolbarHeader {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: space-between;
  width: 100%;
}

.escoToolbarHeader > * {
  flex-shrink: 0;
}

.escoToolbarHeader__Menu {
  align-items: center;
  display: flex;
  flex-grow: 1;
  max-width: 80%;
}

.escoToolbar__buttonSection {
  align-items: center;
  display: flex;
}

@media (width <= 1280px) {
  .escoSidebar {
    width: 148px;
  }
  .escoMainLayout__content {
    flex-basis: calc(100% - 148px);
    margin-left: 148px;
  }
  .escoSecondaryNav {
    padding-left: 0;
  }
  .escoToolbarHeader__Menu {
    max-width: 50vw;
  }
}
@media (width > 1280px) {
  .escoMainLayout__content {
    padding-right: 100px;
  }
}`, "",{"version":3,"sources":["webpack://./modules/commons/Layout/MainLayout/MainLayout.scss","webpack://./modules/commons/theme/css/variables.scss"],"names":[],"mappings":"AAGA;EACE,aAAA;EACA,YAAA;EACA,6BAAA;EACA,iBCLkB;EDMlB,6EACE;EAGF,wBAAA;AALF;;AAQA;EACE,kBCbsB;EDctB,yBAAA;AALF;;AAQA;EACE,mBCjBkB;EDkBlB,gCAAA;AALF;;AAQA;EACE,kBCvBsB;EDwBtB,mBCvBkB;EDwBlB,iCAAA;AALF;;AAQA;EACE,8BAAA;EACA,yBAAA;EACA,kBC7Bc;ED8Bd,gBCnCe;EDoCf,iBAAA;EACA,cAAA;EACA,aAAA;EACA,kBAAA;EACA,iBAAA;EACA,wBAAA;AALF;;AASA;EACE,4BAAA;EACA,+CAAA;EACA,gBAAA;EACA,qBAAA;EACA,aAAA;EACA,YCnDe;EDoDf,uBAAA;EACA,iBCnDkB;EDoDlB,6EACE;EAGF,wBAAA;AATF;;AAYA;EACE,kBC3DsB;ED4DtB,yBAAA;AATF;;AAYA;EACE,mBC/DkB;EDgElB,gCAAA;AATF;;AAYA;EACE,kBCrEsB;EDsEtB,mBCrEkB;EDsElB,iCAAA;AATF;;AAYA;EACE,6BAAA;EACA,wCAAA;EACA,kBAAA;EACA,eAAA;EACA,uBAAA;EACA,aAAA;EACA,kBAAA;EACA,kBAAA;EACA,MAAA;EACA,6BAAA;EACA,YAAA;AATF;;AAYA;EACE,wBAAA;AATF;;AAYA;EACE,eAAA;AATF;;AAaA;EACE,6BAAA;EACA,SAAA;EACA,yCAAA;EACA,aAAA;EACA,sBAAA;EACA,OAAA;EACA,kBAAA;EACA,eAAA;EACA,MAAA;EACA,4BAAA;EACA,WC7GkB;ED8GlB,aAAA;AAVF;;AAaA;EACE,YCjHsB;ADuGxB;;AAaA;EACE,mBAAA;EACA,+CAAA;EACA,aAAA;EACA,YC3He;ED4Hf,2BAAA;EACA,gBAAA;EACA,kBAAA;EACA,mCAAA;AAVF;AAYE;EACE,kBAAA;AAVJ;;AAcA;EACE,gBAAA;EACA,eAAA;EACA,sBAAA;EACA,6BAAA;EACA,gCAAA;EACA,WAAA;AAXF;AAaE;EACE,mBAAA;AAXJ;;AAeA;EACE,kBAAA;EACA,gBAAA;EACA,iBAAA;EACA,qBAAA;AAZF;;AAgBA;EACE,aAAA;EACA,sBAAA;EACA,0BAAA;EACA,8BAAA;EACA,UC9JkB;ED+JlB,iBAAA;EACA,iBAAA;EACA,aAAA;EACA,eAAA;EACA,2BAAA;EACA,YCjKc;ADoJhB;;AAgBA;EACE,WCvKsB;AD0JxB;;AAiBA;EACE,gBAAA;EACA,WAAA;AAdF;;AAiBA;EACE,WAAA;AAdF;;AAiBA;EACE,mBAAA;EACA,aAAA;EACA,sBAAA;EACA,YAAA;AAdF;;AAiBA;EACE,WAAA;AAdF;;AAkBA;EACE,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,SAAA;EACA,kBAAA;EACA,WAAA;AAfF;;AAmBA;EACE,aAAA;EACA,sBAAA;EACA,uBAAA;EACA,gBAAA;EACA,kBAAA;EACA,WAAA;AAhBF;;AAmBA;EACE,mBAAA;EACA,qBAAA;EACA,aAAA;EACA,eAAA;EACA,8BAAA;EACA,mBAAA;AAhBF;;AAmBA;EACE,wBAAA;EACA,gBAAA;AAhBF;;AAmBA;EACE,eAAA;AAhBF;;AAmBA;EACE,uBAAA;AAhBF;;AAoBA;EACE,aAAA;EACA,gBAAA;EACA,gBAAA;AAjBF;;AAoBA;EACE,aAAA;EACA,YAAA;AAjBF;;AAoBA;EACE,OAAA;EACA,aAAA;AAjBF;;AAoBA;EACE,aAAA;EACA,8BAAA;AAjBF;;AAoBA;EACE,mBAAA;EACA,aAAA;EACA,OAAA;EACA,8BAAA;EACA,WAAA;AAjBF;;AAoBA;EACE,cAAA;AAjBF;;AAoBA;EACE,mBAAA;EACA,aAAA;EACA,YAAA;EACA,cAAA;AAjBF;;AAoBA;EACE,mBAAA;EACA,aAAA;AAjBF;;AAqBA;EACE;IACE,YCvRgB;EDqQlB;EAqBA;IACE,8BAAA;IACA,kBC5RgB;EDyQlB;EAsBA;IACE,eAAA;EApBF;EAuBA;IACE,eAAA;EArBF;AACF;AAwBA;EACE;IACE,oBAAA;EAtBF;AACF","sourcesContent":["@use 'commons/theme/css/variables.scss' as *;\n@use 'commons/theme/css/colors.scss' as *;\n\n.escoMainLayout__container {\n  display: flex;\n  height: 100%;\n  justify-content: space-around;\n  margin-left: $drawer-width-mini;\n  transition:\n    margin-left 200ms ease,\n    margin-right 200ms ease,\n    width 200ms ease;\n  width: calc(100% - #{$drawer-width-mini});\n}\n\n.escoMainLayout__container--shifted {\n  margin-left: $drawer-width-expanded;\n  width: calc(100% - #{$drawer-width-expanded});\n}\n\n.escoMainLayout__container--shiftedRight {\n  margin-right: $help-drawer-width;\n  width: calc(100% - #{$drawer-width-mini} - #{$help-drawer-width});\n}\n\n.escoMainLayout__container--shiftedBoth {\n  margin-left: $drawer-width-expanded;\n  margin-right: $help-drawer-width;\n  width: calc(100% - #{$drawer-width-expanded} - #{$help-drawer-width});\n}\n\n.escoMainLayout__content {\n  flex-basis: calc(100% - $sidebar-width);\n  height: calc(100% - #{$app-bar-height});\n  margin-left: $sidebar-width;\n  margin-top: $app-bar-height;\n  max-width: 1680px;\n  overflow: auto;\n  padding: 12px;\n  padding-left: 30px;\n  padding-top: 36px;\n  scroll-margin-top: 100px;\n}\n\n// AppBar\n.escoAppBar {\n  background: var(--es-canvas);\n  border-bottom: 1px solid var(--es-border-light);\n  box-shadow: none;\n  color: var(--es-text);\n  display: flex;\n  height: $app-bar-height;\n  justify-content: center;\n  margin-left: $drawer-width-mini;\n  transition:\n    margin-left 200ms ease,\n    margin-right 200ms ease,\n    width 200ms ease;\n  width: calc(100% - #{$drawer-width-mini});\n}\n\n.escoAppBar--shifted {\n  margin-left: $drawer-width-expanded;\n  width: calc(100% - #{$drawer-width-expanded});\n}\n\n.escoAppBar--shiftedRight {\n  margin-right: $help-drawer-width;\n  width: calc(100% - #{$drawer-width-mini} - #{$help-drawer-width});\n}\n\n.escoAppBar--shiftedBoth {\n  margin-left: $drawer-width-expanded;\n  margin-right: $help-drawer-width;\n  width: calc(100% - #{$drawer-width-expanded} - #{$help-drawer-width});\n}\n\n.escoSkipLink {\n  background: var(--es-surface);\n  border: 1px solid var(--es-border-light);\n  border-radius: 4px;\n  font-size: 21px;\n  left: calc(50% - 140px);\n  padding: 12px;\n  position: absolute;\n  text-align: center;\n  top: 0;\n  transform: translateY(-400px);\n  width: 280px;\n}\n\n.escoSkipLink:focus {\n  transform: translateY(0);\n}\n\n.escoH1--small {\n  font-size: 21px;\n}\n\n// Drawer\n.escoDrawer {\n  background: var(--es-surface);\n  bottom: 0;\n  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);\n  display: flex;\n  flex-direction: column;\n  left: 0;\n  overflow-x: hidden;\n  position: fixed;\n  top: 0;\n  transition: width 200ms ease;\n  width: $drawer-width-mini;\n  z-index: 1200;\n}\n\n.escoDrawer--expanded {\n  width: $drawer-width-expanded;\n}\n\n.escoDrawer__brand {\n  align-items: center;\n  border-bottom: 1px solid var(--es-border-light);\n  display: flex;\n  height: $app-bar-height;\n  justify-content: flex-start;\n  min-height: 96px;\n  padding-left: 13px;\n  transition: padding-left 200ms ease;\n\n  .escoDrawer--expanded & {\n    padding-left: 20px;\n  }\n}\n\n.escoDrawer__logo {\n  max-height: 59px;\n  max-width: 48px;\n  transform: scale(0.75);\n  transform-origin: left center;\n  transition: transform 200ms ease;\n  width: 100%;\n\n  .escoDrawer--expanded & {\n    transform: scale(1);\n  }\n}\n\n.escoDrawer__navigation {\n  overflow-x: hidden;\n  overflow-y: auto;\n  padding-top: 10px;\n  scrollbar-width: thin;\n}\n\n// Sidebar\n.escoSidebar {\n  display: flex;\n  flex-direction: column;\n  height: calc(100% - #{$app-bar-height + $app-bar-margin-bottom});\n  justify-content: space-between;\n  left: $drawer-width-mini;\n  margin-left: 12px;\n  margin-top: $app-bar-height + $app-bar-margin-bottom;\n  padding: 12px;\n  position: fixed;\n  transition: left 200ms ease;\n  width: $sidebar-width;\n}\n\n.escoSidebar--shifted {\n  left: $drawer-width-expanded;\n}\n\n// SidebarBrand\n.escoSidebarBrand {\n  margin-top: 12px;\n  width: 84px;\n}\n\n.escoBrand {\n  width: 100%;\n}\n\n.escoBrand__Link {\n  align-items: center;\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n}\n\n.escoBrand__logo {\n  width: 70px;\n}\n\n// ! delete this when we start using only image logos\n.escoBrand .logo-text {\n  align-items: center;\n  display: flex;\n  justify-content: center;\n  margin: 0;\n  margin-bottom: 6px;\n  width: 100%;\n}\n\n// SecondaryNav\n.escoSecondaryNav {\n  display: flex;\n  flex-direction: column;\n  overflow-wrap: anywhere; // ! not supported on IE\n  overflow-y: auto;\n  padding-left: 48px;\n  width: 100%;\n}\n\n.escoSecondaryNav__Link {\n  align-items: center;\n  color: var(--es-text);\n  display: flex;\n  font-size: 18px;\n  justify-content: space-between;\n  margin-bottom: 12px;\n}\n\n.escoSecondaryNav__Link--active {\n  color: var(--es-primary);\n  font-weight: 600;\n}\n\n.escoToolbar__Icon--large {\n  font-size: 36px;\n}\n\n.escoToolbar__Icon--orange {\n  color: var(--es-accent);\n}\n\n// View layout\n.escoTwoColView {\n  display: flex;\n  min-height: 100%;\n  min-width: 700px; // needed for horizontal scroll to kick in\n}\n\n.escoTwoColView__Sidebar {\n  padding: 12px;\n  width: 300px;\n}\n\n.escoTwoColView__Main {\n  flex: 1;\n  padding: 12px;\n}\n\n.escoToolbar {\n  display: flex;\n  justify-content: space-between;\n}\n\n.escoToolbarHeader {\n  align-items: center;\n  display: flex;\n  flex: 1;\n  justify-content: space-between;\n  width: 100%;\n}\n\n.escoToolbarHeader > * {\n  flex-shrink: 0;\n}\n\n.escoToolbarHeader__Menu {\n  align-items: center;\n  display: flex;\n  flex-grow: 1;\n  max-width: 80%;\n}\n\n.escoToolbar__buttonSection {\n  align-items: center;\n  display: flex;\n}\n\n// MEDIA QUERIES\n@media (width <= 1280px) {\n  .escoSidebar {\n    width: $sidebar-width-min;\n  }\n\n  .escoMainLayout__content {\n    flex-basis: calc(100% - $sidebar-width-min);\n    margin-left: $sidebar-width-min;\n  }\n\n  .escoSecondaryNav {\n    padding-left: 0;\n  }\n\n  .escoToolbarHeader__Menu {\n    max-width: 50vw;\n  }\n}\n\n@media (width > 1280px) {\n  .escoMainLayout__content {\n    padding-right: 100px;\n  }\n}\n","$app-bar-height: 96px;\n$app-bar-margin-bottom: 24px;\n$drawer-width-mini: 64px;\n$drawer-width-expanded: 200px;\n$help-drawer-width: 280px;\n$sidebar-width: 228px;\n$sidebar-width-min: 148px;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/PinToggle/PinToggle.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/PinToggle/PinToggle.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoPinToggle {
  display: flex;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 150ms ease;
  z-index: 1;
}

.escoDrawer--expanded .escoPinToggle {
  opacity: 1;
  pointer-events: auto;
}

.escoPinToggle__Button {
  color: var(--es-text);
}

.escoPinToggle__Button svg {
  font-size: 18px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/Layout/MainLayout/PinToggle/PinToggle.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,UAAA;EACA,YAAA;EACA,oBAAA;EACA,kBAAA;EACA,QAAA;EACA,MAAA;EACA,8BAAA;EACA,UAAA;AACF;;AAEA;EACE,UAAA;EACA,oBAAA;AACF;;AAEA;EACE,qBAAA;AACF;;AAEA;EACE,eAAA;AACF","sourcesContent":[".escoPinToggle {\n  display: flex;\n  opacity: 0;\n  padding: 8px;\n  pointer-events: none;\n  position: absolute;\n  right: 0;\n  top: 0;\n  transition: opacity 150ms ease;\n  z-index: 1;\n}\n\n.escoDrawer--expanded .escoPinToggle {\n  opacity: 1;\n  pointer-events: auto;\n}\n\n.escoPinToggle__Button {\n  color: var(--es-text);\n}\n\n.escoPinToggle__Button svg {\n  font-size: 18px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoPrimaryNav__ListItemLink {
  align-items: center;
  color: var(--es-text);
  display: flex;
  flex-direction: row;
  gap: 0;
  height: 48px;
  justify-content: flex-start;
  padding: 10px 20px;
}

.escoPrimaryNav__ListItemLinkOutIcon {
  display: none;
  flex-shrink: 0;
  font-size: inherit;
  margin-left: 4px;
}

.escoPrimaryNav__ListItemLink--active {
  color: var(--es-primary);
  font-weight: 600;
}

.escoPrimaryNav__ListItemLink:hover {
  background: var(--es-hover-bg);
}

.escoPrimaryNav__Icon {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  font-size: 24px;
  justify-content: center;
  width: 24px;
}

.escoPrimaryNav__Text {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 14px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.3;
  opacity: 0;
  overflow: hidden;
  text-align: left;
  transition: opacity 60ms ease;
  width: 0;
  word-break: break-word;
}

.escoDrawer--expanded .escoPrimaryNav__ListItemLink {
  gap: 8px;
}
.escoDrawer--expanded .escoPrimaryNav__Text {
  flex: 1;
  opacity: 1;
  transition: opacity 150ms ease 180ms;
  width: auto;
}
.escoDrawer--expanded .escoPrimaryNav__ListItemLinkOutIcon {
  display: inline-flex;
  margin-left: 0;
}`, "",{"version":3,"sources":["webpack://./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;EACA,qBAAA;EACA,aAAA;EACA,mBAAA;EACA,MAAA;EACA,YAAA;EACA,2BAAA;EACA,kBAAA;AADF;;AAIA;EACE,aAAA;EACA,cAAA;EACA,kBAAA;EACA,gBAAA;AADF;;AAIA;EACE,wBAAA;EACA,gBAAA;AADF;;AAIA;EACE,8BAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,cAAA;EACA,eAAA;EACA,uBAAA;EACA,WAAA;AADF;;AAIA;EACE,4BAAA;EAEA,oBAAA;EACA,eAAA;EACA,qBAAA;EACA,aAAA;EACA,gBAAA;EACA,UAAA;EACA,gBAAA;EACA,gBAAA;EACA,6BAAA;EACA,QAAA;EACA,sBAAA;AAFF;;AAME;EACE,QAAA;AAHJ;AAME;EACE,OAAA;EACA,UAAA;EACA,oCAAA;EACA,WAAA;AAJJ;AAOE;EACE,oBAAA;EACA,cAAA;AALJ","sourcesContent":["@use 'commons/theme/css/variables.scss' as *;\n\n.escoPrimaryNav__ListItemLink {\n  align-items: center;\n  color: var(--es-text);\n  display: flex;\n  flex-direction: row;\n  gap: 0;\n  height: 48px;\n  justify-content: flex-start;\n  padding: 10px 20px;\n}\n\n.escoPrimaryNav__ListItemLinkOutIcon {\n  display: none;\n  flex-shrink: 0;\n  font-size: inherit;\n  margin-left: 4px;\n}\n\n.escoPrimaryNav__ListItemLink--active {\n  color: var(--es-primary);\n  font-weight: 600;\n}\n\n.escoPrimaryNav__ListItemLink:hover {\n  background: var(--es-hover-bg);\n}\n\n.escoPrimaryNav__Icon {\n  align-items: center;\n  display: flex;\n  flex-shrink: 0;\n  font-size: 24px;\n  justify-content: center;\n  width: 24px;\n}\n\n.escoPrimaryNav__Text {\n  -webkit-box-orient: vertical;\n  // stylelint-disable-next-line value-no-vendor-prefix\n  display: -webkit-box;\n  font-size: 14px;\n  -webkit-line-clamp: 2;\n  line-clamp: 2;\n  line-height: 1.3;\n  opacity: 0;\n  overflow: hidden;\n  text-align: left;\n  transition: opacity 60ms ease;\n  width: 0;\n  word-break: break-word;\n}\n\n.escoDrawer--expanded {\n  .escoPrimaryNav__ListItemLink {\n    gap: 8px;\n  }\n\n  .escoPrimaryNav__Text {\n    flex: 1;\n    opacity: 1;\n    transition: opacity 150ms ease 180ms;\n    width: auto;\n  }\n\n  .escoPrimaryNav__ListItemLinkOutIcon {\n    display: inline-flex;\n    margin-left: 0;\n  }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/UserMenu/UserMenu.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/UserMenu/UserMenu.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoToolbar__Button--right {
  margin-left: auto;
}

.escoToolbarMenu__Popover {
  width: 320px;
}

.escoToolbarMenu__Item {
  font-size: 15px;
}

.escoToolbarMenu__Title {
  cursor: default;
  font-size: 21px;
  pointer-events: none;
}

.escoToolbarMenu__Item--gray {
  color: var(--es-text-secondary);
}

.escoToolbarMenu__Item--selected {
  background-color: rgba(22, 115, 199, 0.12) !important;
  display: flex;
  justify-content: space-between;
}

.escoToolbarMenu__label {
  align-items: center;
  display: flex;
}

.escoToolbarMenu__Item--opaque {
  opacity: 1 !important;
}

.escoToolbarMenu__Icon {
  margin-right: 0.3em;
}

.escoToolbarMenu__Link,
.escoToolbarMenu__Link:hover .escoToolbarMenu__Link:focus {
  color: var(--es-text-secondary) !important;
  text-decoration: underline !important;
}

.escoToolbarMenu__linkIcon {
  font-size: inherit;
  margin-left: 4px;
}

.escoUserMenu__badge {
  border: 1px solid var(--es-canvas);
  border-radius: 6px;
  height: 12px;
  min-width: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/Layout/MainLayout/UserMenu/UserMenu.scss"],"names":[],"mappings":"AAEA;EACE,iBAAA;AADF;;AAIA;EACE,YAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,eAAA;EACA,eAAA;EACA,oBAAA;AADF;;AAIA;EACE,+BAAA;AADF;;AAIA;EACE,qDAAA;EACA,aAAA;EACA,8BAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;AADF;;AAIA;EACE,qBAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;;EAEE,0CAAA;EACA,qCAAA;AADF;;AAIA;EACE,kBAAA;EACA,gBAAA;AADF;;AAIA;EACE,kCAAA;EACA,kBAAA;EACA,YAAA;EACA,eAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoToolbar__Button--right {\n  margin-left: auto;\n}\n\n.escoToolbarMenu__Popover {\n  width: 320px;\n}\n\n.escoToolbarMenu__Item {\n  font-size: 15px;\n}\n\n.escoToolbarMenu__Title {\n  cursor: default;\n  font-size: 21px;\n  pointer-events: none;\n}\n\n.escoToolbarMenu__Item--gray {\n  color: var(--es-text-secondary);\n}\n\n.escoToolbarMenu__Item--selected {\n  background-color: rgba(22, 115, 199, 0.12) !important;\n  display: flex;\n  justify-content: space-between;\n}\n\n.escoToolbarMenu__label {\n  align-items: center;\n  display: flex;\n}\n\n.escoToolbarMenu__Item--opaque {\n  opacity: 1 !important;\n}\n\n.escoToolbarMenu__Icon {\n  margin-right: 0.3em;\n}\n\n.escoToolbarMenu__Link,\n.escoToolbarMenu__Link:hover .escoToolbarMenu__Link:focus {\n  color: var(--es-text-secondary) !important;\n  text-decoration: underline !important;\n}\n\n.escoToolbarMenu__linkIcon {\n  font-size: inherit;\n  margin-left: 4px;\n}\n\n.escoUserMenu__badge {\n  border: 1px solid var(--es-canvas);\n  border-radius: 6px;\n  height: 12px;\n  min-width: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSingleColumnLayout__container {
  display: flex;
  justify-content: space-around;
}

.escoSingleColumnLayout__content {
  flex-basis: 70%;
  max-width: 1280px;
  padding: 36px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,6BAAA;AACF;;AAEA;EACE,eAAA;EACA,iBAAA;EACA,aAAA;AACF","sourcesContent":[".escoSingleColumnLayout__container {\n  display: flex;\n  justify-content: space-around;\n}\n\n.escoSingleColumnLayout__content {\n  flex-basis: 70%;\n  max-width: 1280px; // ! something more meaningful?\n  padding: 36px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/animations/BalloonAnimation/BalloonAnimation.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/animations/BalloonAnimation/BalloonAnimation.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoBalloonAnimation__svgOverlay {
  height: 100vh;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 9999;
}

@keyframes balloon-animation {
  0% {
    opacity: 0;
    transform: translate(var(--start-x), var(--start-y)) scale(0);
  }
  20% {
    opacity: 1;
    transform: translate(var(--start-x), calc(var(--start-y) - 60px)) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--start-x) + var(--drift-x)), -200px) scale(1) rotate(60deg);
  }
}`, "",{"version":3,"sources":["webpack://./modules/commons/animations/BalloonAnimation/BalloonAnimation.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,OAAA;EACA,oBAAA;EACA,eAAA;EACA,MAAA;EACA,YAAA;EACA,aAAA;AACF;;AAEA;EACE;IACE,UAAA;IACA,6DAAA;EACF;EAEA;IACE,UAAA;IACA,4EAAA;EAAF;EAGA;IACE,UAAA;IACA,0FAAA;EADF;AACF","sourcesContent":[".escoBalloonAnimation__svgOverlay {\n  height: 100vh;\n  left: 0;\n  pointer-events: none;\n  position: fixed;\n  top: 0;\n  width: 100vw;\n  z-index: 9999;\n}\n\n@keyframes balloon-animation {\n  0% {\n    opacity: 0;\n    transform: translate(var(--start-x), var(--start-y)) scale(0);\n  }\n\n  20% {\n    opacity: 1;\n    transform: translate(var(--start-x), calc(var(--start-y) - 60px)) scale(1.5);\n  }\n\n  100% {\n    opacity: 0;\n    transform: translate(calc(var(--start-x) + var(--drift-x)), -200px) scale(1)\n      rotate(60deg);\n  }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/app.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/app.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `:root {
  --drawer-width-expanded: 200px;
  --es-canvas: #f6f7f7;
  --es-surface: #ffffff;
  --es-surface-light: #f2f3f4;
  --es-text: #474d50;
  --es-text-secondary: #5f686d;
  --es-text-disabled: rgba(0, 0, 0, 0.38);
  --es-border: #dfe4e6;
  --es-border-light: #e6eaeb;
  --es-input-bg: #eceeee;
  --es-primary: #1673c7;
  --es-hover-bg: #f3f8fd;
  --es-error: #cd2823;
  --es-success: #629f00;
  --es-accent: #e05f21;
  --es-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

[data-theme=dark] {
  --es-canvas: #121212;
  --es-surface: #1e1e1e;
  --es-surface-light: #2d2d2d;
  --es-text: #e0e0e0;
  --es-text-secondary: #a0a0a0;
  --es-text-disabled: rgba(255, 255, 255, 0.38);
  --es-border: #3d3d3d;
  --es-border-light: #4d4d4d;
  --es-input-bg: #2d2d2d;
  --es-primary: #4a9ade;
  --es-hover-bg: #2d3a4a;
  --es-error: #ef5350;
  --es-success: #66bb6a;
  --es-accent: #ff7043;
  --es-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

[data-theme=high-contrast] {
  --es-text: #1a1a1a;
  --es-text-secondary: #3d3d3d;
  --es-text-disabled: rgba(0, 0, 0, 0.6);
  --es-primary: #0e5a9e;
  --es-error: #b91c1c;
  --es-success: #4d7c00;
  --es-accent: #b34b1a;
  --es-surface-light: #d6d6d6;
}

body {
  background-color: var(--es-canvas) !important;
  color: var(--es-text);
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 21px;
}

html,
body {
  height: 100%;
  margin: 0;
}

* {
  box-sizing: border-box;
}

p {
  margin: 0;
}

#controlNode {
  height: 100%;
}

::-ms-reveal {
  display: none;
}`, "",{"version":3,"sources":["webpack://./modules/commons/theme/css/theme.scss","webpack://./modules/commons/app.scss"],"names":[],"mappings":"AAIA;EAEE,8BAAA;EAGA,oBAAA;EACA,qBAAA;EACA,2BAAA;EACA,kBAAA;EACA,4BAAA;EACA,uCAAA;EACA,oBAAA;EACA,0BAAA;EACA,sBAAA;EACA,qBAAA;EACA,sBAAA;EACA,mBAAA;EACA,qBAAA;EACA,oBAAA;EACA,0CAAA;ACNF;;ADUA;EACE,oBAAA;EACA,qBAAA;EACA,2BAAA;EACA,kBAAA;EACA,4BAAA;EACA,6CAAA;EACA,oBAAA;EACA,0BAAA;EACA,sBAAA;EACA,qBAAA;EACA,sBAAA;EACA,mBAAA;EACA,qBAAA;EACA,oBAAA;EACA,uEAAA;ACPF;;ADWA;EACE,kBAAA;EACA,4BAAA;EACA,sCAAA;EACA,qBAAA;EACA,mBAAA;EACA,qBAAA;EACA,oBAAA;EACA,2BAAA;ACRF;;ADWA;EACE,6CAAA;EACA,qBAAA;EACA,iDAAA;EACA,eAAA;ACRF;;ADWA;;;;;;EAME,gBAAA;EACA,SAAA;ACRF;;ADWA;EACE,eAAA;ACRF;;ADWA;EACE,eAAA;ACRF;;AArEA;;EAEE,YAAA;EACA,SAAA;AAwEF;;AArEA;EACE,sBAAA;AAwEF;;AArEA;EACE,SAAA;AAwEF;;AArEA;EACE,YAAA;AAwEF;;AApEA;EACE,aAAA;AAuEF","sourcesContent":["@use './colors.scss' as *;\n@use './variables.scss' as *;\n\n// CSS Custom Properties for theming\n:root {\n  // Layout (mirrors Sass variables so JS can read via getComputedStyle)\n  --drawer-width-expanded: #{$drawer-width-expanded};\n\n  // Light theme (default)\n  --es-canvas: #{$canvas-main};\n  --es-surface: #{$white-main};\n  --es-surface-light: #{$medium-gray-lightest};\n  --es-text: #{$dark-gray-main};\n  --es-text-secondary: #{$medium-gray-main};\n  --es-text-disabled: rgba(0, 0, 0, 0.38);\n  --es-border: #{$light-gray-main};\n  --es-border-light: #{$light-gray-light};\n  --es-input-bg: #{$medium-gray-light};\n  --es-primary: #{$primary-main};\n  --es-hover-bg: #f3f8fd;\n  --es-error: #{$error-main};\n  --es-success: #{$success-main};\n  --es-accent: #{$accent-main};\n  --es-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);\n}\n\n// Dark theme\n[data-theme='dark'] {\n  --es-canvas: #121212;\n  --es-surface: #1e1e1e;\n  --es-surface-light: #2d2d2d;\n  --es-text: #e0e0e0;\n  --es-text-secondary: #a0a0a0;\n  --es-text-disabled: rgba(255, 255, 255, 0.38);\n  --es-border: #3d3d3d;\n  --es-border-light: #4d4d4d;\n  --es-input-bg: #2d2d2d;\n  --es-primary: #4a9ade;\n  --es-hover-bg: #2d3a4a;\n  --es-error: #ef5350;\n  --es-success: #66bb6a;\n  --es-accent: #ff7043;\n  --es-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);\n}\n\n// High contrast theme (based on light)\n[data-theme='high-contrast'] {\n  --es-text: #1a1a1a;\n  --es-text-secondary: #3d3d3d;\n  --es-text-disabled: rgba(0, 0, 0, 0.6);\n  --es-primary: #0e5a9e;\n  --es-error: #b91c1c;\n  --es-success: #4d7c00;\n  --es-accent: #b34b1a;\n  --es-surface-light: #d6d6d6;\n}\n\nbody {\n  background-color: var(--es-canvas) !important;\n  color: var(--es-text);\n  font-family: 'Source Sans Pro', Arial, sans-serif;\n  font-size: 16px;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  font-weight: 600;\n  margin: 0;\n}\n\nh1 {\n  font-size: 28px;\n}\n\nh2 {\n  font-size: 21px;\n}\n\n","@use 'commons/theme/css/theme.scss';\n\nhtml,\nbody {\n  height: 100%;\n  margin: 0;\n}\n\n* {\n  box-sizing: border-box;\n}\n\np {\n  margin: 0;\n}\n\n#controlNode {\n  height: 100%;\n}\n\n// removes password reveal control in Edge\n::-ms-reveal {\n  display: none;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/auth/Signin/Signin.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/auth/Signin/Signin.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSignin__container {
  max-width: 480px;
}

.escoSignin__form {
  margin-top: 48px;
}

.escoSignin__block {
  padding: 0 60px;
}

.escoSignin__formContainer {
  margin-top: 50px;
  padding: 52px 0 44px;
}

.escoSignin__logoContainer {
  text-align: center;
}

.escoSignin__logo {
  width: 270px;
}

.escoSignin__message {
  margin-bottom: 24px;
}

.escoSignin__dividerContainer {
  height: 24px;
  margin: 24px 0 18px;
  position: relative;
  width: 100%;
}

.escoSignin__dividerText {
  background-color: var(--es-surface);
  border: 1px solid var(--es-border);
  border-radius: 13px;
  color: var(--es-text-secondary);
  display: inline;
  font-size: 14px;
  left: calc(50% - 2em);
  padding: 0 0.5em;
  position: absolute;
  text-align: center;
  top: 0;
  width: 4em;
  z-index: 1;
}

.escoSignin__divider {
  background-color: var(--es-border);
  left: 0;
  position: absolute;
  top: 12px;
  width: 100%;
}

.escoSignin__input {
  margin-top: 8px;
  padding-bottom: 22px;
}

.escoSignin__wrapper {
  margin-bottom: 16px;
}

[data-theme=dark] .escoSignin__formContainer {
  background-color: var(--es-canvas);
  border: 1px solid var(--es-border);
}`, "",{"version":3,"sources":["webpack://./modules/commons/auth/Signin/Signin.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;AACF;;AAEA;EACE,gBAAA;AACF;;AAEA;EACE,eAAA;AACF;;AAEA;EACE,gBAAA;EACA,oBAAA;AACF;;AAEA;EACE,kBAAA;AACF;;AAEA;EACE,YAAA;AACF;;AAEA;EACE,mBAAA;AACF;;AAEA;EACE,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,WAAA;AACF;;AAEA;EACE,mCAAA;EACA,kCAAA;EACA,mBAAA;EACA,+BAAA;EACA,eAAA;EACA,eAAA;EACA,qBAAA;EACA,gBAAA;EACA,kBAAA;EACA,kBAAA;EACA,MAAA;EACA,UAAA;EACA,UAAA;AACF;;AAEA;EACE,kCAAA;EACA,OAAA;EACA,kBAAA;EACA,SAAA;EACA,WAAA;AACF;;AAEA;EACE,eAAA;EACA,oBAAA;AACF;;AAEA;EACE,mBAAA;AACF;;AAEA;EACE,kCAAA;EACA,kCAAA;AACF","sourcesContent":[".escoSignin__container {\n  max-width: 480px;\n}\n\n.escoSignin__form {\n  margin-top: 48px;\n}\n\n.escoSignin__block {\n  padding: 0 60px;\n}\n\n.escoSignin__formContainer {\n  margin-top: 50px;\n  padding: 52px 0 44px;\n}\n\n.escoSignin__logoContainer {\n  text-align: center;\n}\n\n.escoSignin__logo {\n  width: 270px;\n}\n\n.escoSignin__message {\n  margin-bottom: 24px;\n}\n\n.escoSignin__dividerContainer {\n  height: 24px;\n  margin: 24px 0 18px;\n  position: relative;\n  width: 100%;\n}\n\n.escoSignin__dividerText {\n  background-color: var(--es-surface);\n  border: 1px solid var(--es-border);\n  border-radius: 13px;\n  color: var(--es-text-secondary);\n  display: inline;\n  font-size: 14px;\n  left: calc(50% - 2em);\n  padding: 0 0.5em;\n  position: absolute;\n  text-align: center;\n  top: 0;\n  width: 4em;\n  z-index: 1;\n}\n\n.escoSignin__divider {\n  background-color: var(--es-border);\n  left: 0;\n  position: absolute;\n  top: 12px;\n  width: 100%;\n}\n\n.escoSignin__input {\n  margin-top: 8px;\n  padding-bottom: 22px;\n}\n\n.escoSignin__wrapper {\n  margin-bottom: 16px;\n}\n\n[data-theme='dark'] .escoSignin__formContainer {\n  background-color: var(--es-canvas);\n  border: 1px solid var(--es-border);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/auth/Signup/Signup.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/auth/Signup/Signup.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSignup__logo {
  width: 270px;
}

.escoSignup__paper {
  align-items: center;
  background-color: var(--es-surface);
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  padding: 60px;
}

.escoSignup__form {
  margin-top: 30px;
  width: 100%;
}

.escoSignup__wrapper {
  margin: 24px 0;
  width: 100%;
}

.escoSignup__Container {
  margin-bottom: 50px;
}

[data-theme=dark] .escoSignup__paper {
  background-color: var(--es-canvas);
  border: 1px solid var(--es-border);
}

.escoSignup__agreementLink {
  align-items: center;
  display: flex;
  margin-left: 32px;
}
.escoSignup__agreementLink:first-of-type {
  margin-top: 6px;
}

.escoSignup__agreementLinkIcon {
  font-size: inherit;
  margin-left: 4px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/auth/Signup/Signup.scss"],"names":[],"mappings":"AAAA;EACE,YAAA;AACF;;AAEA;EACE,mBAAA;EACA,mCAAA;EACA,kBAAA;EACA,2CAAA;EACA,aAAA;EACA,sBAAA;EACA,gBAAA;EACA,aAAA;AACF;;AAEA;EACE,gBAAA;EACA,WAAA;AACF;;AAEA;EACE,cAAA;EACA,WAAA;AACF;;AAEA;EACE,mBAAA;AACF;;AAEA;EACE,kCAAA;EACA,kCAAA;AACF;;AAEA;EACE,mBAAA;EACA,aAAA;EACA,iBAAA;AACF;AACE;EACE,eAAA;AACJ;;AAGA;EACE,kBAAA;EACA,gBAAA;AAAF","sourcesContent":[".escoSignup__logo {\n  width: 270px;\n}\n\n.escoSignup__paper {\n  align-items: center;\n  background-color: var(--es-surface);\n  border-radius: 8px;\n  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);\n  display: flex;\n  flex-direction: column;\n  margin-top: 50px;\n  padding: 60px;\n}\n\n.escoSignup__form {\n  margin-top: 30px;\n  width: 100%;\n}\n\n.escoSignup__wrapper {\n  margin: 24px 0;\n  width: 100%;\n}\n\n.escoSignup__Container {\n  margin-bottom: 50px;\n}\n\n[data-theme='dark'] .escoSignup__paper {\n  background-color: var(--es-canvas);\n  border: 1px solid var(--es-border);\n}\n\n.escoSignup__agreementLink {\n  align-items: center;\n  display: flex;\n  margin-left: 32px;\n\n  &:first-of-type {\n    margin-top: 6px;\n  }\n}\n\n.escoSignup__agreementLinkIcon {\n  font-size: inherit;\n  margin-left: 4px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Alert/Alert.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Alert/Alert.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoAlert {
  margin-bottom: 24px;
}

.escoAlert--info {
  background-color: #e0ebf3;
}

[data-theme=dark] .escoAlert--info {
  background-color: var(--es-hover-bg);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Alert/Alert.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;AACF;;AAEA;EACE,yBAAA;AACF;;AAEA;EACE,oCAAA;AACF","sourcesContent":[".escoAlert {\n  margin-bottom: 24px;\n}\n\n.escoAlert--info {\n  background-color: #e0ebf3;\n}\n\n[data-theme='dark'] .escoAlert--info {\n  background-color: var(--es-hover-bg);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListMultiCreateButton {
  margin-top: 8px;
  min-width: 160px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.scss"],"names":[],"mappings":"AAAA;EACE,eAAA;EACA,gBAAA;AACF","sourcesContent":[".escoListMultiCreateButton {\n  margin-top: 8px;\n  min-width: 160px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListDownloadEntryDialog__buttonGroupHeader {
  font-weight: 600;
  margin-bottom: 12px;
}

.escoListDownloadEntryDialog__info {
  margin-bottom: 12px;
}

.escoListDownloadEntryDialog__buttonGroup {
  align-items: center;
  display: flex;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.scss"],"names":[],"mappings":"AACA;EACE,gBAAA;EACA,mBAAA;AAAF;;AAGA;EACE,mBAAA;AAAF;;AAGA;EACE,mBAAA;EACA,aAAA;AAAF","sourcesContent":["\n.escoListDownloadEntryDialog__buttonGroupHeader {\n  font-weight: 600;\n  margin-bottom: 12px;\n}\n\n.escoListDownloadEntryDialog__info {\n  margin-bottom: 12px;\n}\n\n.escoListDownloadEntryDialog__buttonGroup {\n  align-items: center;\n  display: flex;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoImageView__image {
  margin: 0 auto 12px;
  max-height: 300px;
  max-width: 100%;
}

.escoImageView__message {
  margin: 0 0 12px;
}

.escoImageView__messageText {
  font-size: 20px;
  margin: 10px;
  vertical-align: middle;
}

.escoImageView__icon {
  vertical-align: middle;
}

.escoListImageViewInfoDialog__content {
  display: flex;
  flex-direction: column;
}

.escoListImageViewInfoDialog__expandableAreaButton {
  align-self: flex-start;
  margin-bottom: 12px;
  margin-left: -8px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,iBAAA;EACA,eAAA;AACF;;AAEA;EACE,gBAAA;AACF;;AAEA;EACE,eAAA;EACA,YAAA;EACA,sBAAA;AACF;;AAEA;EACE,sBAAA;AACF;;AAEA;EACE,aAAA;EACA,sBAAA;AACF;;AAEA;EACE,sBAAA;EACA,mBAAA;EACA,iBAAA;AACF","sourcesContent":[".escoImageView__image {\n  margin: 0 auto 12px;\n  max-height: 300px;\n  max-width: 100%;\n}\n\n.escoImageView__message {\n  margin: 0 0 12px;\n}\n\n.escoImageView__messageText {\n  font-size: 20px;\n  margin: 10px;\n  vertical-align: middle;\n}\n\n.escoImageView__icon {\n  vertical-align: middle;\n}\n\n.escoListImageViewInfoDialog__content {\n  display: flex;\n  flex-direction: column;\n}\n\n.escoListImageViewInfoDialog__expandableAreaButton {\n  align-self: flex-start;\n  margin-bottom: 12px;\n  margin-left: -8px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListDraftStatusIcon__container {
  align-items: center;
  display: flex;
  padding: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,aAAA;AACF","sourcesContent":[".escoListDraftStatusIcon__container {\n  align-items: center;\n  display: flex;\n  padding: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoReferenceEntriesList__header {
  font-size: 16px;
  font-weight: 700;
  margin-top: 17px;
}

.escoReferenceEntriesList__infoIcon {
  color: #61676a;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAEA;EACE,eAAA;EACA,gBAAA;EACA,gBAAA;AADF;;AAIA;EACE,cCOgB;ADRlB","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoReferenceEntriesList__header {\n  font-size: 16px;\n  font-weight: 700;\n  margin-top: 17px;\n}\n\n.escoReferenceEntriesList__infoIcon {\n  color: $dark-gray-light;\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Icon/Icon.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Icon/Icon.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoIcon {
  box-shadow: none;
  min-width: 36px;
  width: 36px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Icon/Icon.scss"],"names":[],"mappings":"AAEA;EACE,gBAAA;EACA,eAJa;EAKb,WALa;AAIf","sourcesContent":["$escoIconSize: 36px;\n\n.escoIcon {\n  box-shadow: none;\n  min-width: $escoIconSize;\n  width: $escoIconSize;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ImagePresenter/ImagePresenter.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ImagePresenter/ImagePresenter.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoImagePresenter__image {
  margin: 0 auto 12px;
  max-height: 300px;
}

.escoImagePresenter__message {
  margin: 0 0 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ImagePresenter/ImagePresenter.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,iBAAA;AACF;;AAEA;EACE,gBAAA;AACF","sourcesContent":[".escoImagePresenter__image {\n  margin: 0 auto 12px;\n  max-height: 300px;\n}\n\n.escoImagePresenter__message {\n  margin: 0 0 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/InformationBlock/InformationBlock.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/InformationBlock/InformationBlock.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoInfoBlock {
  background-color: var(--es-surface-light);
  color: var(--es-text);
  display: flex;
  flex-direction: row;
  justify-content: initial;
  max-width: 810px;
  padding: 24px;
}

.escoInfoBlock__header {
  font-weight: bold;
}

.escoInfoBlock__body {
  padding-right: 10%;
}

.escoInfoBlock__icon {
  font-size: 36px;
  margin-right: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/InformationBlock/InformationBlock.scss"],"names":[],"mappings":"AAEA;EACE,yCAAA;EACA,qBAAA;EACA,aAAA;EACA,mBAAA;EACA,wBAAA;EACA,gBAAA;EACA,aAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,kBAAA;AADF;;AAIA;EACE,eAAA;EACA,kBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoInfoBlock {\n  background-color: var(--es-surface-light);\n  color: var(--es-text);\n  display: flex;\n  flex-direction: row;\n  justify-content: initial;\n  max-width: 810px;\n  padding: 24px;\n}\n\n.escoInfoBlock__header {\n  font-weight: bold;\n}\n\n.escoInfoBlock__body {\n  padding-right: 10%;\n}\n\n.escoInfoBlock__icon {\n  font-size: 36px;\n  margin-right: 12px;\n\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoLDBPlaceholder {
  align-items: center;
  color: var(--es-text-secondary);
  display: flex;
  font-size: 21px;
  font-weight: bold;
  height: 100%;
  margin-top: 120px;
  width: 100%;
}

.escoLDBPlaceholder__icon {
  font-size: 60px;
}

.escoLDBPlaceholder__text {
  font-size: 21px;
  font-weight: bold;
  text-align: center;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,+BAAA;EACA,aAAA;EACA,eAAA;EACA,iBAAA;EACA,YAAA;EACA,iBAAA;EACA,WAAA;AACF;;AAEA;EACE,eAAA;AACF;;AAEA;EACE,eAAA;EACA,iBAAA;EACA,kBAAA;AACF","sourcesContent":[".escoLDBPlaceholder {\n  align-items: center;\n  color: var(--es-text-secondary);\n  display: flex;\n  font-size: 21px;\n  font-weight: bold;\n  height: 100%;\n  margin-top: 120px;\n  width: 100%;\n}\n\n.escoLDBPlaceholder__icon {\n  font-size: 60px;\n}\n\n.escoLDBPlaceholder__text {\n  font-size: 21px;\n  font-weight: bold;\n  text-align: center;\n}\n\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoLinkedDataBrowser__allLanguagesToggle {
  border: 0;
  border-radius: 50%;
  margin: 12px;
  padding: 6px;
}

.escoLinkedDataBrowser__allLanguagesToggle.MuiToggleButton-root.Mui-selected {
  background-color: transparent;
  color: var(--es-primary);
}
.escoLinkedDataBrowser__allLanguagesToggle.MuiToggleButton-root.Mui-selected:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.escoLinkedDataBrowser__languageSelectContainer {
  border-radius: 50%;
  height: fit-content;
}
.escoLinkedDataBrowser__languageSelectContainer:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.escoLinkedDataBrowser__languageSelectContainer.Mui-disabled:hover {
  background-color: transparent;
}

.escoLinkedDataBrowser__languageSelectContainer > div:first-child {
  padding: 6px !important;
}
.escoLinkedDataBrowser__languageSelectContainer > div:first-child:focus {
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
}
.escoLinkedDataBrowser__languageSelectContainer > div:first-child.Mui-disabled {
  color: var(--es-surface);
  opacity: 0.5;
  -webkit-text-fill-color: var(--es-surface);
}

.escoLinkedDataBrowser__languageTag {
  background-color: #474747;
  border-radius: 5px;
  color: var(--es-surface);
  font-family: sans-serif;
  font-size: 10px;
  font-weight: bolder;
  padding: 3px 5px;
  text-transform: uppercase;
}
[data-theme=dark] .escoLinkedDataBrowser__languageTag {
  color: var(--es-text);
}

.escoLinkedDataBrowser__languageSwitcherButton {
  font-family: sans-serif;
  font-size: 10px;
  font-weight: bolder;
  padding: 2px 4px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.scss"],"names":[],"mappings":"AAEA;EACE,SAAA;EACA,kBAAA;EACA,YAAA;EACA,YAAA;AADF;;AAIA;EACE,6BAAA;EACA,wBAAA;AADF;AAGE;EACE,qCAAA;AADJ;;AAKA;EACE,kBAAA;EACA,mBAAA;AAFF;AAIE;EACE,qCAAA;AAFJ;AAKE;EACE,6BAAA;AAHJ;;AAOA;EACE,uBAAA;AAJF;AAME;EACE,qCAAA;EACA,kBAAA;AAJJ;AAOE;EACE,wBAAA;EACA,YAAA;EACA,0CAAA;AALJ;;AASA;EACE,yBAAA;EACA,kBAAA;EACA,wBAAA;EACA,uBAAA;EACA,eAAA;EACA,mBAAA;EACA,gBAAA;EACA,yBAAA;AANF;AAQE;EACE,qBAAA;AANJ;;AAUA;EACE,uBAAA;EACA,eAAA;EACA,mBAAA;EACA,gBAAA;AAPF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoLinkedDataBrowser__allLanguagesToggle {\n  border: 0;\n  border-radius: 50%;\n  margin: 12px;\n  padding: 6px;\n}\n\n.escoLinkedDataBrowser__allLanguagesToggle.MuiToggleButton-root.Mui-selected {\n  background-color: transparent;\n  color: var(--es-primary);\n\n  &:hover {\n    background-color: rgba(0, 0, 0, 0.04);\n  }\n}\n\n.escoLinkedDataBrowser__languageSelectContainer {\n  border-radius: 50%;\n  height: fit-content;\n\n  &:hover {\n    background-color: rgba(0, 0, 0, 0.04);\n  }\n\n  &.Mui-disabled:hover {\n    background-color: transparent;\n  }\n}\n\n.escoLinkedDataBrowser__languageSelectContainer > div:first-child {\n  padding: 6px !important;\n\n  &:focus {\n    background-color: rgba(0, 0, 0, 0.04);\n    border-radius: 50%;\n  }\n\n  &.Mui-disabled {\n    color: var(--es-surface);\n    opacity: 0.5;\n    -webkit-text-fill-color: var(--es-surface);\n  }\n}\n\n.escoLinkedDataBrowser__languageTag {\n  background-color: #474747;\n  border-radius: 5px;\n  color: var(--es-surface);\n  font-family: sans-serif;\n  font-size: 10px;\n  font-weight: bolder;\n  padding: 3px 5px;\n  text-transform: uppercase;\n\n  [data-theme='dark'] & {\n    color: var(--es-text);\n  }\n}\n\n.escoLinkedDataBrowser__languageSwitcherButton {\n  font-family: sans-serif;\n  font-size: 10px;\n  font-weight: bolder;\n  padding: 2px 4px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.MuiBreadcrumbs-ol {
  height: 100%;
}

.escoLinkedDataBrowser__navigation {
  padding: 2px 2px 2px 12px;
}

.escoLinkedDataBrowser__breadcrumbs {
  margin-left: 24px;
  min-height: 48px;
}

.escoLinkedDataBrowser__breadcrumbLabel {
  display: inline-block;
  max-width: 25ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.escoLinkedDataBrowser__currentBreadcrumb {
  color: var(--es-text) !important;
  font-weight: 400;
  text-decoration: underline !important;
}

.escoLinkedDataBrowser__breadcrumbButton {
  color: var(--es-text-secondary);
  font-weight: 400;
}
.escoLinkedDataBrowser__breadcrumbButton:hover {
  background-color: transparent;
  text-decoration: underline !important;
}

.escoLinkedDataBrowser__controls {
  align-items: center;
  display: flex;
  flex-direction: row;
  min-height: 60px;
  padding-right: 18px;
}

.escoLinkedDataBrowser__overviewButton--alone {
  margin-right: 18px;
}

.escoLinkedDataBrowser__tabs {
  margin-right: auto;
  margin-top: auto;
  min-height: 48px;
  padding: 16px 16px 0 24px;
}

.escoLinkedDataBrowser__dialogContent {
  padding: 0;
}

.escoLinkedDataBrowser__loader {
  height: 100%;
}

.escoLinkedDataBrowser__infoPanel {
  padding: 24px 48px;
}

.escoLinkedDataBrowser__infoPanel > *:not(:last-child) {
  margin-bottom: 24px;
}

.escoLinkedDataBrowser__aboutPanel {
  padding: 12px 48px;
}

.escoLinkedDataBrowser__refsPanel {
  margin-top: -12px;
  padding: 0 48px;
}

.escoMdVisibilityControl {
  display: flex;
  justify-content: center;
}

.escoMdVisibilityControl__Paper {
  background: transparent;
  display: flex;
  width: fit-content;
}

.escoReferencesList__loader {
  margin-bottom: auto;
  margin-top: auto;
}

.escoReferencesList__placeholder {
  padding-top: 156px;
}

.escoReferencesList__placeholder--withWarning {
  padding-top: 96px;
}

.escoReferencesList__warning {
  margin-top: 24px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.scss"],"names":[],"mappings":"AAEA;EACE,YAAA;AADF;;AAIA;EACE,yBAAA;AADF;;AAIA;EACE,iBAAA;EACA,gBAAA;AADF;;AAIA;EACE,qBAAA;EACA,eAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;AADF;;AAIA;EACE,gCAAA;EACA,gBAAA;EACA,qCAAA;AADF;;AAIA;EACE,+BAAA;EACA,gBAAA;AADF;AAGE;EACE,6BAAA;EACA,qCAAA;AADJ;;AAKA;EACE,mBAAA;EACA,aAAA;EACA,mBAAA;EACA,gBAAA;EACA,mBAAA;AAFF;;AAKA;EACE,kBAAA;AAFF;;AAKA;EACE,kBAAA;EACA,gBAAA;EACA,gBAAA;EACA,yBAAA;AAFF;;AAKA;EACE,UAAA;AAFF;;AAKA;EACE,YAAA;AAFF;;AAKA;EACE,kBAAA;AAFF;;AAKA;EACE,mBAAA;AAFF;;AAKA;EACE,kBAAA;AAFF;;AAKA;EACE,iBAAA;EACA,eAAA;AAFF;;AAKA;EACE,aAAA;EACA,uBAAA;AAFF;;AAKA;EACE,uBAAA;EACA,aAAA;EACA,kBAAA;AAFF;;AAKA;EACE,mBAAA;EACA,gBAAA;AAFF;;AAKA;EACE,kBAAA;AAFF;;AAKA;EACE,iBAAA;AAFF;;AAKA;EACE,gBAAA;AAFF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.MuiBreadcrumbs-ol {\n  height: 100%;\n}\n\n.escoLinkedDataBrowser__navigation {\n  padding: 2px 2px 2px 12px;\n}\n\n.escoLinkedDataBrowser__breadcrumbs {\n  margin-left: 24px;\n  min-height: 48px;\n}\n\n.escoLinkedDataBrowser__breadcrumbLabel {\n  display: inline-block;\n  max-width: 25ch;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.escoLinkedDataBrowser__currentBreadcrumb {\n  color: var(--es-text) !important;\n  font-weight: 400;\n  text-decoration: underline !important;\n}\n\n.escoLinkedDataBrowser__breadcrumbButton {\n  color: var(--es-text-secondary);\n  font-weight: 400;\n\n  &:hover {\n    background-color: transparent;\n    text-decoration: underline !important;\n  }\n}\n\n.escoLinkedDataBrowser__controls {\n  align-items: center;\n  display: flex;\n  flex-direction: row;\n  min-height: 60px;\n  padding-right: 18px;\n}\n\n.escoLinkedDataBrowser__overviewButton--alone {\n  margin-right: 18px;\n}\n\n.escoLinkedDataBrowser__tabs {\n  margin-right: auto;\n  margin-top: auto;\n  min-height: 48px;\n  padding: 16px 16px 0 24px;\n}\n\n.escoLinkedDataBrowser__dialogContent {\n  padding: 0;\n}\n\n.escoLinkedDataBrowser__loader {\n  height: 100%;\n}\n\n.escoLinkedDataBrowser__infoPanel {\n  padding: 24px 48px;\n}\n\n.escoLinkedDataBrowser__infoPanel > *:not(:last-child) {\n  margin-bottom: 24px;\n}\n\n.escoLinkedDataBrowser__aboutPanel {\n  padding: 12px 48px;\n}\n\n.escoLinkedDataBrowser__refsPanel {\n  margin-top: -12px;\n  padding: 0 48px;\n}\n\n.escoMdVisibilityControl {\n  display: flex;\n  justify-content: center;\n}\n\n.escoMdVisibilityControl__Paper {\n  background: transparent;\n  display: flex;\n  width: fit-content;\n}\n\n.escoReferencesList__loader {\n  margin-bottom: auto;\n  margin-top: auto;\n}\n\n.escoReferencesList__placeholder {\n  padding-top: 156px;\n}\n\n.escoReferencesList__placeholder--withWarning {\n  padding-top: 96px;\n}\n\n.escoReferencesList__warning {\n  margin-top: 24px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListActions/ListActions.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListActions/ListActions.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewActions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
}
.escoListViewActions > :not(:first-child) {
  margin-left: 12px;
}

.escoListViewActions--compact > :not(:first-child) {
  margin-left: 0;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListActions/ListActions.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,iBAAA;AACF;AACE;EACE,iBAAA;AACJ;;AAIE;EACE,cAAA;AADJ","sourcesContent":[".escoListViewActions {\n  align-items: center;\n  display: flex;\n  flex-wrap: nowrap;\n\n  > :not(:first-child) {\n    margin-left: 12px;\n  }\n}\n\n.escoListViewActions--compact {\n  > :not(:first-child) {\n    margin-left: 0;\n  }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListHeader/ListHeader.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListHeader/ListHeader.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewHeader {
  margin-left: 0;
  padding-bottom: 8px;
  padding-right: 32px;
  padding-top: 8px;
  text-decoration: none;
  width: 100%;
  margin-top: 12px;
}

.escoListViewHeader__gridContainer {
  width: 100%;
}

.escoListViewHeader__gridItem {
  align-items: center;
  display: flex;
  justify-content: center;
}

.escoListViewHeaderItem__primary {
  color: var(--es-text);
  display: flex;
  font-weight: 600;
  line-height: 1.5;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListHeader/ListHeader.scss","webpack://./modules/commons/components/ListView/ListView.scss"],"names":[],"mappings":"AAGA;ECDE,cAAA;EACA,mBAAA;EACA,mBAAA;EACA,gBAAA;EACA,qBAAA;EACA,WAAA;EDDA,gBAAA;AAEF;;AACA;EACE,WAAA;AAEF;;AACA;EACE,mBAAA;EACA,aAAA;EACA,uBAAA;AAEF;;AACA;EACE,qBAAA;EACA,aAAA;EACA,gBAAA;EACA,gBAAA;AAEF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n@use \"../ListView\";\n\n.escoListViewHeader {\n  @include ListView.gripContainerBase;\n\n  margin-top: 12px;\n}\n\n.escoListViewHeader__gridContainer {\n  width: 100%;\n}\n\n.escoListViewHeader__gridItem {\n  align-items: center;\n  display: flex;\n  justify-content: center;\n}\n\n.escoListViewHeaderItem__primary {\n  color: var(--es-text);\n  display: flex;\n  font-weight: 600;\n  line-height: 1.5;\n}\n","\n@mixin gripContainerBase() {\n  margin-left: 0;\n  padding-bottom: 8px;\n  padding-right: 32px;\n  padding-top: 8px;\n  text-decoration: none;\n  width: 100%;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewHeaderSortButton {
  background-color: transparent;
  color: var(--es-text);
  display: flex;
  font-weight: 600;
  justify-content: flex-start;
  line-height: 1.5;
  padding-left: 0;
}

.escoListViewHeaderSortButton:hover {
  background-color: transparent;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.scss"],"names":[],"mappings":"AAEA;EACE,6BAAA;EACA,qBAAA;EACA,aAAA;EACA,gBAAA;EACA,2BAAA;EACA,gBAAA;EACA,eAAA;AADF;;AAIA;EACE,6BAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoListViewHeaderSortButton {\n  background-color: transparent;\n  color: var(--es-text);\n  display: flex;\n  font-weight: 600;\n  justify-content: flex-start;\n  line-height: 1.5;\n  padding-left: 0;\n}\n\n.escoListViewHeaderSortButton:hover {\n  background-color: transparent;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItem.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItem.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewListItem {
  background: var(--es-surface);
  box-shadow: var(--es-shadow);
  margin-bottom: 12px;
  padding: 0;
  padding-left: 16px;
}

.escoListViewListItem__gridContainer {
  margin-left: 0;
  padding-bottom: 8px;
  padding-right: 32px;
  padding-top: 8px;
  text-decoration: none;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListItem/ListItem.scss","webpack://./modules/commons/components/ListView/ListView.scss"],"names":[],"mappings":"AAGA;EACE,6BAAA;EACA,4BAAA;EACA,mBAAA;EACA,UAAA;EACA,kBAAA;AAFF;;AAKA;ECTE,cAAA;EACA,mBAAA;EACA,mBAAA;EACA,gBAAA;EACA,qBAAA;EACA,WAAA;ADQF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n@use \"../ListView\";\n\n.escoListViewListItem {\n  background: var(--es-surface);\n  box-shadow: var(--es-shadow);\n  margin-bottom: 12px;\n  padding: 0;\n  padding-left: 16px;\n}\n\n.escoListViewListItem__gridContainer {\n  @include ListView.gripContainerBase;\n}\n","\n@mixin gripContainerBase() {\n  margin-left: 0;\n  padding-bottom: 8px;\n  padding-right: 32px;\n  padding-top: 8px;\n  text-decoration: none;\n  width: 100%;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewListItem__actionIcon--empty {
  flex-grow: 0;
  flex-shrink: 0;
  visibility: hidden;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.scss"],"names":[],"mappings":"AACA;EACE,YAAA;EACA,cAAA;EACA,kBAAA;AAAF","sourcesContent":["\n.escoListViewListItem__actionIcon--empty {\n  flex-grow: 0;\n  flex-shrink: 0;\n  visibility: hidden;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListItemIcon {
  display: flex;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;AACF","sourcesContent":[".escoListItemIcon {\n  display: flex;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewListItemText {
  display: flex;
}

.escoListViewListItemText__primary {
  color: var(--es-text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.escoListViewListItemText__secondary {
  align-items: center;
  color: var(--es-text-secondary);
  display: flex;
  font-size: unset;
}

.escoListViewListItemText__secondary--margin-left {
  align-items: center;
  color: var(--es-text-secondary);
  display: flex;
  font-size: unset;
  margin-left: 18px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;AADF;;AAIA;EACE,qBAAA;EACA,gBAAA;EACA,uBAAA;AADF;;AAIA;EACE,mBAAA;EACA,+BAAA;EACA,aAAA;EACA,gBAAA;AADF;;AAIA;EACE,mBAAA;EACA,+BAAA;EACA,aAAA;EACA,gBAAA;EACA,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoListViewListItemText {\n  display: flex;\n}\n\n.escoListViewListItemText__primary {\n  color: var(--es-text);\n  font-weight: 600;\n  overflow-wrap: anywhere;\n}\n\n.escoListViewListItemText__secondary {\n  align-items: center;\n  color: var(--es-text-secondary);\n  display: flex;\n  font-size: unset;\n}\n\n.escoListViewListItemText__secondary--margin-left {\n  align-items: center;\n  color: var(--es-text-secondary);\n  display: flex;\n  font-size: unset;\n  margin-left: 18px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewPlaceholder {
  align-items: center;
  color: #363d41;
  display: flex;
  font-size: 21px;
  font-weight: bold;
  height: 100%;
  margin-top: 120px;
  width: 100%;
}

.escoListViewPlaceholder__icon {
  font-size: 60px;
}

.escoListViewPlaceholder__text {
  font-size: 21px;
  font-weight: bold;
  text-align: center;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,cAAA;EACA,aAAA;EACA,eAAA;EACA,iBAAA;EACA,YAAA;EACA,iBAAA;EACA,WAAA;AACF;;AAEA;EACE,eAAA;AACF;;AAEA;EACE,eAAA;EACA,iBAAA;EACA,kBAAA;AACF","sourcesContent":[".escoListViewPlaceholder {\n  align-items: center;\n  color: #363d41;\n  display: flex;\n  font-size: 21px;\n  font-weight: bold;\n  height: 100%;\n  margin-top: 120px;\n  width: 100%;\n}\n\n.escoListViewPlaceholder__icon {\n  font-size: 60px;\n}\n\n.escoListViewPlaceholder__text {\n  font-size: 21px;\n  font-weight: bold;\n  text-align: center;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListSearch/ListSearch.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListSearch/ListSearch.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewSearch {
  align-items: center;
  display: flex;
  flex-grow: 1;
}

.escoListViewSearch--failed {
  color: var(--es-error);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListSearch/ListSearch.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,YAAA;AACF;;AAEA;EACE,sBAAA;AACF","sourcesContent":[".escoListViewSearch {\n  align-items: center;\n  display: flex;\n  flex-grow: 1;\n}\n\n.escoListViewSearch--failed {\n  color: var(--es-error);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListViewSearchField {
  margin-right: 12px;
  width: 310px;
}

.escoListViewSearchField__input {
  background-color: var(--es-input-bg);
  border-radius: 4px;
  color: var(--es-text);
  height: 48px;
  padding: 16px 12px 13px;
}

.escoListViewSearchField__adornment {
  color: var(--es-text);
}

.escoListViewSearchField__adornment--disabled {
  color: var(--es-text-disabled);
}

.escoListViewSearchField__input--focused {
  background-color: var(--es-surface-light);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.scss"],"names":[],"mappings":"AAEA;EACE,kBAAA;EACA,YAAA;AADF;;AAIA;EACE,oCAAA;EACA,kBAAA;EACA,qBAAA;EACA,YAAA;EACA,uBAAA;AADF;;AAIA;EACE,qBAAA;AADF;;AAIA;EACE,8BAAA;AADF;;AAIA;EACE,yCAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoListViewSearchField {\n  margin-right: 12px;\n  width: 310px;\n}\n\n.escoListViewSearchField__input {\n  background-color: var(--es-input-bg);\n  border-radius: 4px;\n  color: var(--es-text);\n  height: 48px;\n  padding: 16px 12px 13px;\n}\n\n.escoListViewSearchField__adornment {\n  color: var(--es-text);\n}\n\n.escoListViewSearchField__adornment--disabled {\n  color: var(--es-text-disabled); // from .Mui-disabled, it doesn't auto-apply to adornment\n}\n\n.escoListViewSearchField__input--focused {\n  background-color: var(--es-surface-light);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Loader/Loader.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Loader/Loader.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoLoader {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Loader/Loader.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,WAAA;AACF","sourcesContent":[".escoLoader {\n  align-items: center;\n  display: flex;\n  justify-content: center;\n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LoadingButton/index.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LoadingButton/index.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.LoadingButton {
  align-items: center;
  display: flex;
}

.LoadingButton--loading {
  color: transparent !important;
}

.LoadingButton__wrapper {
  position: relative;
  width: 100%;
}

.LoadingButton__Progress {
  left: calc((100% - 24px) / 2);
  position: absolute;
  top: calc((100% - 24px) / 2);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/LoadingButton/index.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;EACA,aAAA;AADF;;AAIA;EACE,6BAAA;AADF;;AAIA;EACE,kBAAA;EACA,WAAA;AADF;;AAIA;EACE,6BAAA;EACA,kBAAA;EACA,4BAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.LoadingButton {\n  align-items: center;\n  display: flex;\n}\n\n.LoadingButton--loading {\n  color: transparent !important;\n}\n\n.LoadingButton__wrapper {\n  position: relative;\n  width: 100%;\n}\n\n.LoadingButton__Progress {\n  left: calc((100% - 24px) / 2);\n  position: absolute;\n  top: calc((100% - 24px) / 2);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/MaintenanceView/MaintenanceView.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/MaintenanceView/MaintenanceView.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoMaintenance {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.escoMaintenance__bar {
  align-items: center;
  background: var(--es-surface);
  display: flex;
  height: 96px;
  width: 100%;
}

.escoMaintenance__logo {
  height: 40px;
  margin-left: 36px;
}

.escoMaintenance__body {
  margin-top: 12vh;
  width: 526px;
}

.escoMaintenance__brand {
  bottom: 28px;
  left: 36px;
  position: absolute;
  width: 70px;
}

.escoMaintenance__image {
  margin-bottom: 66px;
}

.escoMaintenance__header {
  color: var(--es-accent);
  margin-bottom: 14px;
}

.escoMaintenance__message {
  font-size: 21px;
  margin-bottom: 14px;
}

.escoMaintenance__subtitle {
  font-size: 21px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/MaintenanceView/MaintenanceView.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,sBAAA;EACA,YAAA;AACF;;AAEA;EACE,mBAAA;EACA,6BAAA;EACA,aAAA;EACA,YAAA;EACA,WAAA;AACF;;AAEA;EACE,YAAA;EACA,iBAAA;AACF;;AAEA;EACE,gBAAA;EACA,YAAA;AACF;;AAEA;EACE,YAAA;EACA,UAAA;EACA,kBAAA;EACA,WAAA;AACF;;AAEA;EACE,mBAAA;AACF;;AAEA;EACE,uBAAA;EACA,mBAAA;AACF;;AAEA;EACE,eAAA;EACA,mBAAA;AACF;;AAEA;EACE,eAAA;AACF","sourcesContent":[".escoMaintenance {\n  align-items: center;\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n}\n\n.escoMaintenance__bar {\n  align-items: center;\n  background: var(--es-surface);\n  display: flex;\n  height: 96px;\n  width: 100%;\n}\n\n.escoMaintenance__logo {\n  height: 40px;\n  margin-left: 36px;\n}\n\n.escoMaintenance__body {\n  margin-top: 12vh;\n  width: 526px;\n}\n\n.escoMaintenance__brand {\n  bottom: 28px;\n  left: 36px;\n  position: absolute;\n  width: 70px;\n}\n\n.escoMaintenance__image {\n  margin-bottom: 66px;\n}\n\n.escoMaintenance__header {\n  color: var(--es-accent);\n  margin-bottom: 14px;\n}\n\n.escoMaintenance__message {\n  font-size: 21px;\n  margin-bottom: 14px;\n}\n\n.escoMaintenance__subtitle {\n  font-size: 21px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/Map.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/Map.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoMap {
  position: relative;
}
.escoMap .ol-control button {
  cursor: pointer;
}

.escoMap__map {
  height: 100%;
  position: relative;
  width: 100%;
}

.escoMap__container {
  display: block;
  position: relative;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/Map.scss"],"names":[],"mappings":"AAAA;EACE,kBAAA;AACF;AACE;EACE,eAAA;AACJ;;AAGA;EACE,YAAA;EACA,kBAAA;EACA,WAAA;AAAF;;AAGA;EACE,cAAA;EACA,kBAAA;AAAF","sourcesContent":[".escoMap {\n  position: relative;\n\n  .ol-control button {\n    cursor: pointer;\n  }\n}\n\n.escoMap__map {\n  height: 100%;\n  position: relative;\n  width: 100%;\n}\n\n.escoMap__container {\n  display: block;\n  position: relative;\n}\n\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoFeatureInfoPopup {
  max-width: 400px;
  padding: 32px;
  position: relative;
}
.escoFeatureInfoPopup::before {
  background-color: white;
  content: "";
  display: block;
  height: 12px;
  position: absolute;
  right: -6px;
  top: calc(50% - 6px);
  transform: rotate(45deg);
  width: 12px;
}

.escoFeatureInfoPopup__content {
  overflow-wrap: anywhere;
  overflow-y: auto;
  padding-right: 12px;
  word-break: break-word;
}

.escoFeatureInfoPopup__closeButton {
  position: absolute;
  right: 2px;
  top: 2px;
}

.escoFeatureInfoPopupList {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.escoFeatureInfoPopup__heading {
  margin-bottom: 8px;
}

.escoFeatureInfoPopupListItem {
  margin-bottom: 4px;
}

.escoFeatureInfoPopupListItem__property {
  font-weight: bold;
  margin-right: 4px;
}

.escoFeatureInfoPopupListItem__value {
  overflow-wrap: anywhere;
  word-break: break-word;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;EACA,aAAA;EACA,kBAAA;AACF;AACE;EACE,uBAAA;EACA,WAAA;EACA,cAAA;EACA,YAAA;EACA,kBAAA;EACA,WAAA;EACA,oBAAA;EACA,wBAAA;EACA,WAAA;AACJ;;AAGA;EACE,uBAAA;EACA,gBAAA;EACA,mBAAA;EACA,sBAAA;AAAF;;AAGA;EACE,kBAAA;EACA,UAAA;EACA,QAAA;AAAF;;AAGA;EACE,qBAAA;EACA,SAAA;EACA,UAAA;AAAF;;AAGA;EACE,kBAAA;AAAF;;AAGA;EACE,kBAAA;AAAF;;AAGA;EACE,iBAAA;EACA,iBAAA;AAAF;;AAGA;EACE,uBAAA;EACA,sBAAA;AAAF","sourcesContent":[".escoFeatureInfoPopup {\n  max-width: 400px;\n  padding: 32px;\n  position: relative;\n\n  &::before {\n    background-color: white;\n    content: '';\n    display: block;\n    height: 12px;\n    position: absolute;\n    right: -6px;\n    top: calc(50% - 6px);\n    transform: rotate(45deg);\n    width: 12px;\n  }\n}\n\n.escoFeatureInfoPopup__content {\n  overflow-wrap: anywhere;\n  overflow-y: auto;\n  padding-right: 12px;\n  word-break: break-word;\n}\n\n.escoFeatureInfoPopup__closeButton {\n  position: absolute;\n  right: 2px;\n  top: 2px;\n}\n\n.escoFeatureInfoPopupList {\n  list-style-type: none;\n  margin: 0;\n  padding: 0;\n}\n\n.escoFeatureInfoPopup__heading {\n  margin-bottom: 8px;\n}\n\n.escoFeatureInfoPopupListItem {\n  margin-bottom: 4px;\n}\n\n.escoFeatureInfoPopupListItem__property {\n  font-weight: bold;\n  margin-right: 4px;\n}\n\n.escoFeatureInfoPopupListItem__value {\n  overflow-wrap: anywhere;\n  word-break: break-word;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/AttributionControl/AttributionControl.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/AttributionControl/AttributionControl.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoAttributionControl.ol-control {
  max-width: unset;
  position: unset;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/controls/AttributionControl/AttributionControl.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;EACA,eAAA;AACF","sourcesContent":[".escoAttributionControl.ol-control {\n  max-width: unset;\n  position: unset;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ControlButton/ControlButton.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ControlButton/ControlButton.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoControlButton {
  background-color: white;
  border-radius: 2px;
  color: #666;
  padding: 6px;
}
.escoControlButton.escoControlButton--active, .escoControlButton:hover {
  background-color: white;
  outline: 1px solid #666;
}
.escoControlButton:last-child {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.escoControlButton:first-child {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.escoControlButton:not(:last-child) {
  margin-right: 1px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/controls/ControlButton/ControlButton.scss"],"names":[],"mappings":"AAAA;EACE,uBAAA;EACA,kBAAA;EACA,WAAA;EACA,YAAA;AACF;AACE;EAEE,uBAAA;EACA,uBAAA;AAAJ;AAGE;EACE,4BAAA;EACA,yBAAA;AADJ;AAIE;EACE,6BAAA;EACA,0BAAA;AAFJ;AAKE;EACE,iBAAA;AAHJ","sourcesContent":[".escoControlButton {\n  background-color: white;\n  border-radius: 2px;\n  color: #666;\n  padding: 6px;\n\n  &.escoControlButton--active,\n  &:hover {\n    background-color: white;\n    outline: 1px solid #666;\n  }\n\n  &:last-child {\n    border-bottom-left-radius: 0;\n    border-top-left-radius: 0;\n  }\n\n  &:first-child {\n    border-bottom-right-radius: 0;\n    border-top-right-radius: 0;\n  }\n\n  &:not(:last-child) {\n    margin-right: 1px;\n  }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ControlGroup/ControlGroup.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ControlGroup/ControlGroup.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoControlGroup {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  padding: 0.5em;
  position: absolute;
  z-index: 1;
}

.escoControlGroup--bottom-right {
  bottom: 0;
  right: 0;
}

.escoControlGroup--bottom-left {
  bottom: 0;
  left: 0;
}

.escoControlGroup--top-right {
  right: 0;
  top: 0;
}

.escoControlGroup--top-left {
  left: 0;
  top: 0;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/controls/ControlGroup/ControlGroup.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,mBAAA;EACA,UAAA;EACA,cAAA;EACA,kBAAA;EACA,UAAA;AACF;;AAEA;EACE,SAAA;EACA,QAAA;AACF;;AAEA;EACE,SAAA;EACA,OAAA;AACF;;AAEA;EACE,QAAA;EACA,MAAA;AACF;;AAEA;EACE,OAAA;EACA,MAAA;AACF","sourcesContent":[".escoControlGroup {\n  display: flex;\n  flex-direction: row;\n  gap: 0.5em;\n  padding: 0.5em;\n  position: absolute;\n  z-index: 1;\n}\n\n.escoControlGroup--bottom-right {\n  bottom: 0;\n  right: 0;\n}\n\n.escoControlGroup--bottom-left {\n  bottom: 0;\n  left: 0;\n}\n\n.escoControlGroup--top-right {\n  right: 0;\n  top: 0;\n}\n\n.escoControlGroup--top-left {\n  left: 0;\n  top: 0;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoMapControlGroup {
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 4px;
  pointer-events: none;
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  z-index: 1000;
}

.escoMapControlGroup > * {
  pointer-events: auto;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.scss"],"names":[],"mappings":"AAAA;EACE,2CAAA;EACA,kBAAA;EACA,oBAAA;EACA,kBAAA;EACA,YAAA;EACA,UAAA;EACA,aAAA;AACF;;AAEA;EACE,oBAAA;AACF","sourcesContent":[".escoMapControlGroup {\n  border: 1px solid rgba(128, 128, 128, 0.25);\n  border-radius: 4px;\n  pointer-events: none;\n  position: absolute;\n  right: .5em;\n  top: .5em;\n  z-index: 1000;\n}\n\n.escoMapControlGroup > * {\n  pointer-events: auto;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoLayerLegendControl {
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 4px;
  bottom: 0.5em;
  color: #666;
  left: 0.5em;
  max-height: 80%;
  max-width: 40%;
  min-width: 200px;
  overflow: auto;
  position: absolute;
}
.escoLayerLegendControl:hover {
  outline: 1px solid #666;
}

.escoLayerLegendControl__placeholder {
  font-style: italic;
}

.escoLayerControl__header {
  align-items: center;
  background-color: white;
  border-radius: 2px;
  color: #666;
}

.escoLayerControl__button {
  background-color: white;
  border-radius: 2px;
  color: #666;
  width: 100%;
}
.escoLayerControl__button:hover {
  background-color: white;
  color: #333;
}

.escoLayerLegendControl__content {
  background-color: white;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top: 0.5px solid #666;
  padding: 16px;
}

.escoLayerLegendControlItem {
  margin-bottom: 8px;
}

.escoLayerLegendControlItem__title {
  margin-bottom: 4px;
}

.escoLayerLegendControlItem__placeholder--error {
  font-size: 12px;
  font-style: italic;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.scss"],"names":[],"mappings":"AAAA;EACE,2CAAA;EACA,kBAAA;EACA,aAAA;EACA,WAAA;EACA,WAAA;EACA,eAAA;EACA,cAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;AACF;AACE;EACE,uBAAA;AACJ;;AAIA;EACE,kBAAA;AADF;;AAIA;EACE,mBAAA;EACA,uBAAA;EACA,kBAAA;EACA,WAAA;AADF;;AAIA;EACE,uBAAA;EACA,kBAAA;EACA,WAAA;EACA,WAAA;AADF;AAGE;EACE,uBAAA;EACA,WAAA;AADJ;;AAKA;EACE,uBAAA;EACA,8BAAA;EACA,+BAAA;EACA,4BAAA;EACA,aAAA;AAFF;;AAKA;EACE,kBAAA;AAFF;;AAKA;EACE,kBAAA;AAFF;;AAKA;EACE,eAAA;EACA,kBAAA;AAFF","sourcesContent":[".escoLayerLegendControl {\n  border: 1px solid rgba(128, 128, 128, 0.25);\n  border-radius: 4px;\n  bottom: 0.5em;\n  color: #666;\n  left: 0.5em;\n  max-height: 80%;\n  max-width: 40%;\n  min-width: 200px;\n  overflow: auto;\n  position: absolute;\n\n  &:hover {\n    outline: 1px solid #666;\n  }\n}\n\n\n.escoLayerLegendControl__placeholder {\n  font-style: italic;\n}\n\n.escoLayerControl__header {\n  align-items: center;\n  background-color: white;\n  border-radius: 2px;\n  color: #666;\n}\n\n.escoLayerControl__button {\n  background-color: white;\n  border-radius: 2px;\n  color: #666;\n  width: 100%;\n\n  &:hover {\n    background-color: white;\n    color: #333;\n  }\n}\n\n.escoLayerLegendControl__content {\n  background-color: white;\n  border-bottom-left-radius: 4px;\n  border-bottom-right-radius: 4px;\n  border-top: 0.5px solid #666;\n  padding: 16px;\n}\n\n.escoLayerLegendControlItem {\n  margin-bottom: 8px;\n}\n\n.escoLayerLegendControlItem__title {\n  margin-bottom: 4px;\n}\n\n.escoLayerLegendControlItem__placeholder--error {\n  font-size: 12px;\n  font-style: italic;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoLayerSwitcherControl {
  align-items: center;
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 4px;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: calc(0.5em + 2px);
  top: calc(0.5em + 2px);
  z-index: 998;
}

.escoLayerSwitcherControl__paper {
  height: 60vh;
  padding: 16px;
  position: absolute;
  right: 0;
  top: 0;
  width: 250px;
  z-index: 999;
}

.escoLayerSwitcherControl__closeButton {
  text-align: right;
}

.escoLayerSwitcherControl__layers {
  flex-wrap: nowrap;
  height: calc(100% - 20px);
  overflow-y: auto;
}

.escoLayerSwitcherControl__layersButton {
  background-color: white;
  border: 0;
  color: #666;
}

.escoLayerSwitcherControl__layersButton:hover {
  background-color: white;
  border: 0;
  color: #333;
  outline: 1px solid #666;
}

.escoLayerSwitcherItem__controlLabel {
  margin: 0;
  padding: 5px 0;
}

.escoLayerSwitcherItem__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 250px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.scss"],"names":[],"mappings":"AACA;EACE,mBAAA;EACA,2CAAA;EACA,kBAAA;EACA,aAAA;EACA,yBAAA;EACA,kBAAA;EACA,wBAAA;EACA,sBAAA;EACA,YAAA;AAAF;;AAGA;EACE,YAAA;EACA,aAAA;EACA,kBAAA;EACA,QAAA;EACA,MAAA;EACA,YAAA;EACA,YAAA;AAAF;;AAGA;EACE,iBAAA;AAAF;;AAGA;EACE,iBAAA;EACA,yBAAA;EACA,gBAAA;AAAF;;AAGA;EACE,uBAAA;EACA,SAAA;EACA,WAAA;AAAF;;AAGA;EACE,uBAAA;EACA,SAAA;EACA,WAAA;EACA,uBAAA;AAAF;;AAGA;EACE,SAAA;EACA,cAAA;AAAF;;AAGA;EACE,cAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;AAAF","sourcesContent":["\n.escoLayerSwitcherControl {\n  align-items: center;\n  border: 1px solid rgba(128, 128, 128, 0.25);\n  border-radius: 4px;\n  display: flex;\n  justify-content: flex-end;\n  position: absolute;\n  right: calc(0.5em + 2px);\n  top: calc(0.5em + 2px);\n  z-index: 998;\n}\n\n.escoLayerSwitcherControl__paper {\n  height: 60vh;\n  padding: 16px;\n  position: absolute;\n  right: 0;\n  top: 0;\n  width: 250px;\n  z-index: 999;\n}\n\n.escoLayerSwitcherControl__closeButton {\n  text-align: right;\n}\n\n.escoLayerSwitcherControl__layers {\n  flex-wrap: nowrap;\n  height: calc(100% - 20px);\n  overflow-y: auto;\n}\n\n.escoLayerSwitcherControl__layersButton {\n  background-color: white;\n  border: 0;\n  color: #666;\n}\n\n.escoLayerSwitcherControl__layersButton:hover {\n  background-color: white;\n  border: 0;\n  color: #333;\n  outline: 1px solid #666;\n}\n\n.escoLayerSwitcherItem__controlLabel {\n  margin: 0;\n  padding: 5px 0;\n}\n\n.escoLayerSwitcherItem__label {\n  display: block;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  width: 250px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoMapScaleLineControl {
  align-items: center;
  align-self: center;
  background: var(--ol-partial-background-color);
  border-radius: 4px;
  display: flex;
  height: 20px;
  padding: 2px;
}

.escoMapScaleLineControl > * {
  border: 1px solid var(--ol-subtle-foreground-color);
  border-top: 0;
  color: var(--ol-foreground-color);
  font-size: 10px;
  margin: 1px;
  text-align: center;
  transition: all 0.25s;
  will-change: contents, width;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,kBAAA;EACA,8CAAA;EACA,kBAAA;EACA,aAAA;EACA,YAAA;EACA,YAAA;AACF;;AAEA;EACE,mDAAA;EACA,aAAA;EACA,iCAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;EACA,qBAAA;EACA,4BAAA;AACF","sourcesContent":[".escoMapScaleLineControl {\n  align-items: center;\n  align-self: center;\n  background: var(--ol-partial-background-color);\n  border-radius: 4px;\n  display: flex;\n  height: 20px;\n  padding: 2px;\n}\n\n.escoMapScaleLineControl > * {\n  border: 1px solid var(--ol-subtle-foreground-color);\n  border-top: 0;\n  color: var(--ol-foreground-color);\n  font-size: 10px;\n  margin: 1px;\n  text-align: center;\n  transition: all 0.25s;\n  will-change: contents, width;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/SearchInput/SearchInput.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/SearchInput/SearchInput.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSearchInput {
  background-color: var(--es-input-bg);
  border-radius: 4px;
  color: var(--es-text);
  height: 48px;
  padding: 16px 12px 13px;
  width: 100%;
}
.escoSearchInput input::placeholder {
  opacity: 1;
}

.escoSearchInput__adornment {
  color: var(--es-text);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/SearchInput/SearchInput.scss"],"names":[],"mappings":"AAEA;EACE,oCAAA;EACA,kBAAA;EACA,qBAAA;EACA,YAAA;EACA,uBAAA;EACA,WAAA;AADF;AAGE;EACE,UAAA;AADJ;;AAKA;EACE,qBAAA;AAFF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoSearchInput {\n  background-color: var(--es-input-bg);\n  border-radius: 4px;\n  color: var(--es-text);\n  height: 48px;\n  padding: 16px 12px 13px;\n  width: 100%;\n\n  input::placeholder {\n    opacity: 1;\n  }\n}\n\n.escoSearchInput__adornment {\n  color: var(--es-text);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/TableView/components/CellExpand/index.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/TableView/components/CellExpand/index.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoCellExpand__paper {
  padding: 12px;
  overflow: auto;
}

.escoCellExpand__paper--clickable {
  cursor: pointer;
}

.escoCellExpand__prompt {
  margin-top: 12px;
  max-height: 280px;
}

.escoCellExpand__prompt .rdformsEditor .rdformsField {
  padding: 0px;
}

.escoCellExpand__paper .rdformsFieldControl {
  position: relative;
  padding-left: 7px;
}

.escoCellExpand__paper .rdformsEditor .rdformsRow.rdformsTopLevel {
  margin-bottom: 0px;
}

.escoCellExpandHeader {
  display: flex;
}

.escoCellExpandHeader__closeButton {
  margin-left: auto;
}

.MuiDataGrid-root .MuiDataGrid-cell.MuiDataGrid-cell--withRenderer {
  padding: unset;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/TableView/components/CellExpand/index.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,cAAA;AACF;;AAEA;EACE,eAAA;AACF;;AAEA;EACE,gBAAA;EACA,iBAAA;AACF;;AAEA;EACE,YAAA;AACF;;AAEA;EACE,kBAAA;EACA,iBAAA;AACF;;AAEA;EACE,kBAAA;AACF;;AAEA;EACE,aAAA;AACF;;AAEA;EACE,iBAAA;AACF;;AAEA;EACE,cAAA;AACF","sourcesContent":[".escoCellExpand__paper {\n  padding: 12px;\n  overflow: auto;\n}\n\n.escoCellExpand__paper--clickable {\n  cursor: pointer;\n}\n\n.escoCellExpand__prompt {\n  margin-top: 12px;\n  max-height: 280px;\n}\n\n.escoCellExpand__prompt .rdformsEditor .rdformsField {\n  padding: 0px;\n}\n\n.escoCellExpand__paper .rdformsFieldControl {\n  position: relative;\n  padding-left: 7px;\n}\n\n.escoCellExpand__paper .rdformsEditor .rdformsRow.rdformsTopLevel {\n  margin-bottom: 0px;\n}\n\n.escoCellExpandHeader {\n  display: flex;\n}\n\n.escoCellExpandHeader__closeButton {\n  margin-left: auto;\n}\n\n.MuiDataGrid-root .MuiDataGrid-cell.MuiDataGrid-cell--withRenderer {\n  padding: unset;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/TableView/style.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/TableView/style.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoTableView__buttonWrapper {
  align-items: center;
  display: flex;
  flex-grow: 1;
}

.escoTableView__errorMessage {
  color: var(--es-error);
  padding-top: 6px;
}

.escoTableView__errors {
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
}

.escoTableView__pagination {
  min-width: 360px;
}

.MuiDataGrid-main .MuiCheckbox-colorPrimary.Mui-disabled {
  display: none;
}

.MuiDataGrid-root .MuiDataGrid-row.Mui-selected {
  background: rgba(247, 206, 38, 0.2) !important;
}
.MuiDataGrid-root .MuiDataGrid-row.Mui-selected:hover {
  background: rgba(247, 206, 38, 0.24) !important;
}

.MuiDataGrid-root .MuiDataGrid-columnsContainer {
  justify-content: center;
}

.MuiDataGrid-root .MuiDataGrid-columnHeader:focus {
  outline: none;
}

.escoTableView__main {
  height: 70vh;
  margin-top: 36px;
  width: 100%;
}

.escoTableView__headerButtons {
  border: 0;
}

.escoTableView__headerButtons:hover {
  border: 0;
}

.escoTableView__columnHeader {
  font-size: inherit;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.escoTableView__circularProgress {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.escoTableView__footerContainer {
  flex-wrap: inherit;
}

.escoTableView__footerButton {
  margin: 6px !important;
}

.escoTableViewSearch {
  align-items: center;
  display: flex;
}

.escoTableViewSearch__root {
  background-color: var(--es-input-bg);
  border-radius: 4px;
  color: var(--es-text);
  height: 48px;
  padding: 16px 12px 13px;
  width: 250px;
}
.escoTableViewSearch__root input::placeholder {
  opacity: 1;
}

.escoTableViewSearch__adornment {
  color: var(--es-text);
}

.escoTableViewSearch__adornment--disabled {
  background-color: transparent;
  color: var(--es-text-disabled);
}

.escoTableViewSearch__statusMessage {
  padding-left: 12px;
}

.escoTableView__listViewIcon {
  margin-left: auto;
}

.escoTableView__profileFormControl {
  margin: 0;
  min-width: 120px;
}

.escoTableView__profileInputBase {
  min-width: 200px;
}

.escoTableView__filterBar {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.escoTableView__filterControls {
  margin-left: auto;
}

.escoTableView__pagination--disabled {
  color: var(--es-text-secondary);
}

.escoTableView__cell--error {
  border-bottom: 2px solid var(--es-error) !important;
}

.MuiDataGrid-root .MuiDataGrid-row.escoTableView__row--error {
  background-color: rgba(205, 40, 35, 0.15);
}
.MuiDataGrid-root .MuiDataGrid-row.escoTableView__row--error:hover {
  background-color: rgba(205, 40, 35, 0.2);
}

.MuiDataGrid-root .MuiDataGrid-row.escoTableView__row--edited {
  background-color: rgba(247, 206, 38, 0.15);
}
.MuiDataGrid-root .MuiDataGrid-row.escoTableView__row--edited:hover {
  background-color: rgba(247, 206, 38, 0.25);
}

.escoTableView__rowActions {
  display: flex;
  flex: 1;
  justify-content: center;
}

.escoTableView__rowActionsButton {
  margin-right: unset;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/TableView/style.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;EACA,aAAA;EACA,YAAA;AADF;;AAIA;EACE,sBAAA;EACA,gBAAA;AADF;;AAIA;EACE,aAAA;EACA,sBAAA;EACA,iBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,aAAA;AADF;;AAIA;EACE,8CAAA;AADF;AAGE;EACE,+CAAA;AADJ;;AAKA;EACE,uBAAA;AAFF;;AAKA;EACE,aAAA;AAFF;;AAKA;EACE,YAAA;EACA,gBAAA;EACA,WAAA;AAFF;;AAKA;EACE,SAAA;AAFF;;AAKA;EACE,SAAA;AAFF;;AAKA;EACE,kBAAA;EACA,YAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;EACA,WAAA;AAFF;;AAKA;EACE,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,eAAA;AAFF;;AAKA;EACE,kBAAA;AAFF;;AAKA;EACE,sBAAA;AAFF;;AAKA;EACE,mBAAA;EACA,aAAA;AAFF;;AAKA;EACE,oCAAA;EACA,kBAAA;EACA,qBAAA;EACA,YAAA;EACA,uBAAA;EACA,YAAA;AAFF;AAIE;EACE,UAAA;AAFJ;;AAMA;EACE,qBAAA;AAHF;;AAMA;EACE,6BAAA;EACA,8BAAA;AAHF;;AAMA;EACE,kBAAA;AAHF;;AAMA;EACE,iBAAA;AAHF;;AAMA;EACE,SAAA;EACA,gBAAA;AAHF;;AAMA;EACE,gBAAA;AAHF;;AAMA;EACE,mBAAA;EACA,aAAA;EACA,SAAA;EACA,mBAAA;AAHF;;AAMA;EACE,iBAAA;AAHF;;AAMA;EACE,+BAAA;AAHF;;AAMA;EACE,mDAAA;AAHF;;AAMA;EACE,yCAAA;AAHF;AAIE;EACE,wCAAA;AAFJ;;AAMA;EACE,0CAAA;AAHF;AAIE;EACE,0CAAA;AAFJ;;AAMA;EACE,aAAA;EACA,OAAA;EACA,uBAAA;AAHF;;AAMA;EACE,mBAAA;AAHF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoTableView__buttonWrapper {\n  align-items: center;\n  display: flex;\n  flex-grow: 1;\n}\n\n.escoTableView__errorMessage {\n  color: var(--es-error);\n  padding-top: 6px;\n}\n\n.escoTableView__errors {\n  display: flex;\n  flex-direction: column;\n  padding: 6px 12px;\n}\n\n.escoTableView__pagination {\n  min-width: 360px;\n}\n\n.MuiDataGrid-main .MuiCheckbox-colorPrimary.Mui-disabled {\n  display: none;\n}\n\n.MuiDataGrid-root .MuiDataGrid-row.Mui-selected {\n  background: rgba(247, 206, 38, 0.2) !important; // warning.main with opacity\n\n  &:hover {\n    background: rgba(247, 206, 38, 0.24) !important;\n  }\n}\n\n.MuiDataGrid-root .MuiDataGrid-columnsContainer {\n  justify-content: center;\n}\n\n.MuiDataGrid-root .MuiDataGrid-columnHeader:focus {\n  outline: none;\n}\n\n.escoTableView__main {\n  height: 70vh;\n  margin-top: 36px;\n  width: 100%;\n}\n\n.escoTableView__headerButtons {\n  border: 0;\n}\n\n.escoTableView__headerButtons:hover {\n  border: 0;\n}\n\n.escoTableView__columnHeader {\n  font-size: inherit;\n  height: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  width: 100%;\n}\n\n.escoTableView__circularProgress {\n  align-items: center;\n  display: flex;\n  justify-content: center;\n  padding: 20px 0;\n}\n\n.escoTableView__footerContainer {\n  flex-wrap: inherit;\n}\n\n.escoTableView__footerButton {\n  margin: 6px !important;\n}\n\n.escoTableViewSearch {\n  align-items: center;\n  display: flex;\n}\n\n.escoTableViewSearch__root {\n  background-color: var(--es-input-bg);\n  border-radius: 4px;\n  color: var(--es-text);\n  height: 48px;\n  padding: 16px 12px 13px;\n  width: 250px;\n\n  input::placeholder {\n    opacity: 1;\n  }\n}\n\n.escoTableViewSearch__adornment {\n  color: var(--es-text);\n}\n\n.escoTableViewSearch__adornment--disabled {\n  background-color: transparent;\n  color: var(--es-text-disabled);\n}\n\n.escoTableViewSearch__statusMessage {\n  padding-left: 12px;\n}\n\n.escoTableView__listViewIcon {\n  margin-left: auto;\n}\n\n.escoTableView__profileFormControl {\n  margin: 0;\n  min-width: 120px;\n}\n\n.escoTableView__profileInputBase {\n  min-width: 200px;\n}\n\n.escoTableView__filterBar {\n  align-items: center;\n  display: flex;\n  gap: 12px;\n  margin-bottom: 12px;\n}\n\n.escoTableView__filterControls {\n  margin-left: auto;\n}\n\n.escoTableView__pagination--disabled {\n  color: var(--es-text-secondary);\n}\n\n.escoTableView__cell--error {\n  border-bottom: 2px solid var(--es-error) !important;\n}\n\n.MuiDataGrid-root .MuiDataGrid-row.escoTableView__row--error {\n  background-color: rgba(205, 40, 35, 0.15); // error-main to rgba\n  &:hover {\n    background-color: rgba(205, 40, 35, 0.2);\n  }\n}\n\n.MuiDataGrid-root .MuiDataGrid-row.escoTableView__row--edited {\n  background-color: rgba(247, 206, 38, 0.15); // warning-main to rgba\n  &:hover {\n    background-color: rgba(247, 206, 38, 0.25);\n  }\n}\n\n.escoTableView__rowActions {\n  display: flex;\n  flex: 1;\n  justify-content: center;\n}\n\n.escoTableView__rowActionsButton {\n  margin-right: unset;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ValidationReport/ValidationReport.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ValidationReport/ValidationReport.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoValidationReport__header {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.escoValidationReport__alert {
  width: fit-content;
}

.escoValidationReport__titleWrapper {
  align-items: center;
  display: flex;
}

.escoValidationReport__rdfType {
  color: var(--es-text-secondary);
  display: block;
  font-size: 12px;
  font-weight: normal;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/ValidationReport/ValidationReport.scss"],"names":[],"mappings":"AAAA;EACE,qBAAA;EACA,aAAA;EACA,8BAAA;AACF;;AAEA;EACE,kBAAA;AACF;;AAEA;EACE,mBAAA;EACA,aAAA;AACF;;AAEA;EACE,+BAAA;EACA,cAAA;EACA,eAAA;EACA,mBAAA;AACF","sourcesContent":[".escoValidationReport__header {\n  align-items: baseline;\n  display: flex;\n  justify-content: space-between;\n}\n\n.escoValidationReport__alert {\n  width: fit-content;\n}\n\n.escoValidationReport__titleWrapper {\n  align-items: center;\n  display: flex;\n}\n\n.escoValidationReport__rdfType {\n  color: var(--es-text-secondary);\n  display: block;\n  font-size: 12px;\n  font-weight: normal;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoActionsMenuButton {
  margin-top: 8px;
  min-width: 160px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.scss"],"names":[],"mappings":"AAAA;EACE,eAAA;EACA,gBAAA;AACF","sourcesContent":[".escoActionsMenuButton {\n  margin-top: 8px;\n  min-width: 160px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/ExpandButton/ExpandButton.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/ExpandButton/ExpandButton.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoMetadataExpandableAreaButton {
  align-self: flex-start;
  margin-bottom: 12px;
  margin-left: -8px;
}

.escoMetadataExpandableArea {
  margin-bottom: 24px;
}

.escoExpandButton__button {
  margin-bottom: 24px;
  margin-left: -8px;
}

.escoExpandButton__collapse {
  background: var(--es-surface);
  margin-bottom: 36px;
  margin-left: -12px;
  padding: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/buttons/ExpandButton/ExpandButton.scss"],"names":[],"mappings":"AAEA;EACE,sBAAA;EACA,mBAAA;EACA,iBAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,mBAAA;EACA,iBAAA;AADF;;AAIA;EACE,6BAAA;EACA,mBAAA;EACA,kBAAA;EACA,aAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoMetadataExpandableAreaButton {\n  align-self: flex-start;\n  margin-bottom: 12px;\n  margin-left: -8px;\n}\n\n.escoMetadataExpandableArea {\n  margin-bottom: 24px;\n}\n\n.escoExpandButton__button {\n  margin-bottom: 24px;\n  margin-left: -8px;\n}\n\n.escoExpandButton__collapse {\n  background: var(--es-surface);\n  margin-bottom: 36px;\n  margin-left: -12px;\n  padding: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/IconButton/index.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/IconButton/index.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoIconButton {
  box-shadow: none;
  height: 36px;
  min-width: 36px;
  width: 36px;
}

.escoIconButton__icon {
  display: inherit;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/buttons/IconButton/index.scss"],"names":[],"mappings":"AAEA;EACE,gBAAA;EACA,YAJmB;EAKnB,eALmB;EAMnB,WANmB;AAKrB;;AAIA;EACE,gBAAA;AADF","sourcesContent":["$escoIconButtonSize: 36px;\n\n.escoIconButton {\n  box-shadow: none;\n  height: $escoIconButtonSize;\n  min-width: $escoIconButtonSize;\n  width: $escoIconButtonSize;\n}\n\n.escoIconButton__icon {\n  display: inherit;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListMultiCreateButton {
  margin-top: 8px;
  min-width: 160px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.scss"],"names":[],"mappings":"AAAA;EACE,eAAA;EACA,gBAAA;AACF","sourcesContent":[".escoListMultiCreateButton {\n  margin-top: 8px;\n  min-width: 160px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/Chart/Chart.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/Chart/Chart.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoChart {
  position: relative;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/chart/Chart/Chart.scss"],"names":[],"mappings":"AAAA;EACE,kBAAA;AACF","sourcesContent":[".escoChart {\n  position: relative;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoChartPlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 306px;
  width: 100%;
}

.escoChartPlaceholder__label {
  position: absolute;
  width: 246px;
  text-align: center;
  font-weight: bold;
}

.escoChartPlaceholder__progress {
  position: absolute;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,aAAA;EACA,WAAA;AACF;;AAEA;EACE,kBAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;AACF;;AAEA;EACE,kBAAA;AACF","sourcesContent":[".escoChartPlaceholder {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: 306px;\n  width: 100%;\n}\n\n.escoChartPlaceholder__label {\n  position: absolute;\n  width: 246px;\n  text-align: center;\n  font-weight: bold;\n}\n\n.escoChartPlaceholder__progress {\n  position: absolute;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/style.css"
/*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/style.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoChart__hidden {
  display: none;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/chart/style.css"],"names":[],"mappings":"AAAA;EACI,aAAA;AACJ","sourcesContent":[".escoChart__hidden {\n    display: none;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/ExpandableListItem/index.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/ExpandableListItem/index.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoExpandableListItem {
  background-color: var(--es-surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  color: var(--es-text);
  margin: 12px 0;
}

.escoExpandableListItem__details {
  border-top: 1px solid var(--es-border);
  flex-direction: column;
  padding: 14px 24px 23px 66px;
}

.escoExpandableListItemHeader {
  display: flex;
  height: 48px;
}

.escoExpandableListeItemHeader__toggle {
  order: -1;
  padding-left: 6px;
  padding-right: 20px;
}

.MuiAccordionSummary-expandIconWrapper.Mui-expanded {
  transform: unset;
}

.escoExpandableListeItemHeader__primary {
  display: flex;
  flex-direction: column;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  width: 100%;
}

.escoExpandableListeItemHeader__secondary {
  align-content: center;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/ExpandableListItem/index.scss"],"names":[],"mappings":"AAEA;EACE,mCAAA;EACA,yCAAA;EACA,qBAAA;EACA,cAAA;AADF;;AAIA;EACE,sCAAA;EACA,sBAAA;EACA,4BAAA;AADF;;AAIA;EACE,aAAA;EACA,YAAA;AADF;;AAIA;EACE,SAAA;EACA,iBAAA;EACA,mBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,aAAA;EACA,sBAAA;EACA,iDAAA;EACA,eAAA;EACA,gBAAA;EACA,uBAAA;EACA,WAAA;AADF;;AAIA;EACE,qBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoExpandableListItem {\n  background-color: var(--es-surface);\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);\n  color: var(--es-text);\n  margin: 12px 0;\n}\n\n.escoExpandableListItem__details {\n  border-top: 1px solid var(--es-border);\n  flex-direction: column;\n  padding: 14px 24px 23px 66px;\n}\n\n.escoExpandableListItemHeader {\n  display: flex;\n  height: 48px;\n}\n\n.escoExpandableListeItemHeader__toggle {\n  order: -1;\n  padding-left: 6px;\n  padding-right: 20px;\n}\n\n.MuiAccordionSummary-expandIconWrapper.Mui-expanded {\n  transform: unset;\n}\n\n.escoExpandableListeItemHeader__primary {\n  display: flex;\n  flex-direction: column;\n  font-family: 'Source Sans Pro', Arial, sans-serif;\n  font-size: 16px;\n  font-weight: 600;\n  justify-content: center;\n  width: 100%;\n}\n\n.escoExpandableListeItemHeader__secondary {\n  align-content: center;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Icons/index.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Icons/index.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoPublicIcon {
  display: flex;
  align-items: center;
  padding: 12px;
}

.escoPublicIcon__statusPublic {
  fill: #629f00;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/Icons/index.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;EACA,mBAAA;EACA,aAAA;AADF;;AAIA;EACE,aCca;ADff","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoPublicIcon {\n  display: flex;\n  align-items: center;\n  padding: 12px;\n}\n\n.escoPublicIcon__statusPublic {\n  fill: $success-main;\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Placeholder/Placeholder.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Placeholder/Placeholder.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoPlaceholder {
  align-items: center;
  color: var(--es-text-secondary);
  display: flex;
  font-size: 21px;
  font-weight: bold;
  justify-content: flex-start;
  margin-bottom: 48px;
  padding-top: 160px;
  text-align: center;
  width: 100%;
}

.escoPlaceholder__children {
  display: flex;
  margin-top: 42px;
}
.escoPlaceholder__children :not(:first-child) {
  margin-left: 12px;
}

.escoPlaceholder--dialog {
  margin-top: 48px;
  padding: 24px 0;
}

.escoPlaceholder--view {
  margin-bottom: 0;
  padding-top: 120px;
}

.escoPlaceholder--compact {
  align-content: start;
  font-size: 16px;
  font-style: italic;
  font-weight: normal;
  height: auto;
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 16px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/Placeholder/Placeholder.scss"],"names":[],"mappings":"AAAA;EAEE,mBAAA;EACA,+BAAA;EACA,aAAA;EACA,eAAA;EACA,iBAAA;EACA,2BAAA;EACA,mBAAA;EACA,kBAAA;EACA,kBAAA;EACA,WAAA;AAAF;;AAGA;EACE,aAAA;EACA,gBAAA;AAAF;AAEE;EACE,iBAAA;AAAJ;;AAIA;EACE,gBAAA;EACA,eAAA;AADF;;AAIA;EACE,gBAAA;EACA,kBAAA;AADF;;AAIA;EACE,oBAAA;EACA,eAAA;EACA,kBAAA;EACA,mBAAA;EACA,YAAA;EACA,gBAAA;EACA,aAAA;EACA,iBAAA;AADF","sourcesContent":[".escoPlaceholder {\n  // ! replace with escoPlaceholder when we get rid of the other\n  align-items: center;\n  color: var(--es-text-secondary);\n  display: flex;\n  font-size: 21px;\n  font-weight: bold;\n  justify-content: flex-start;\n  margin-bottom: 48px;\n  padding-top: 160px;\n  text-align: center;\n  width: 100%;\n}\n\n.escoPlaceholder__children {\n  display: flex;\n  margin-top: 42px;\n\n  :not(:first-child) {\n    margin-left: 12px;\n  }\n}\n\n.escoPlaceholder--dialog {\n  margin-top: 48px;\n  padding: 24px 0;\n}\n\n.escoPlaceholder--view {\n  margin-bottom: 0;\n  padding-top: 120px;\n}\n\n.escoPlaceholder--compact {\n  align-content: start;\n  font-size: 16px;\n  font-style: italic;\n  font-weight: normal;\n  height: auto;\n  margin-bottom: 0;\n  margin-top: 0;\n  padding-top: 16px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/ProgressList/ProgressList.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/ProgressList/ProgressList.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoProgressList__linearBar--error {
  background-color: var(--es-error);
}

.escoProgressList__linearBar--success {
  background-color: var(--es-success);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/ProgressList/ProgressList.scss"],"names":[],"mappings":"AAEA;EACE,iCAAA;AADF;;AAIA;EACE,mCAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoProgressList__linearBar--error {\n  background-color: var(--es-error);\n}\n\n.escoProgressList__linearBar--success {\n  background-color: var(--es-success);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.SegmentedControlTabs {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 60px;
  padding-top: 30px;
}

.SegmentedControlTabs__inner .itemBasic {
  min-height: 36px;
}

.SegmentedControlTabs__item {
  cursor: pointer;
}

.SegmentedControlTabs__item:disabled {
  cursor: none;
  opacity: 0.2;
}

.SegmentedControlTabs__item--selected:disabled {
  opacity: 1;
}

.SegmentedControlTabs__inner .SegmentedControlTabs__item {
  color: var(--es-text);
  flex: 1;
  min-height: 36px;
  padding-bottom: 0;
  padding-top: 0;
  text-transform: capitalize;
}

.SegmentedControlTabs__inner .SegmentedControlTabs__item--selected {
  background-color: var(--es-text);
  color: var(--es-surface);
}

.segmentedControlTabs__indicator {
  height: 0;
}

.segmentedControlTabs__flexContainer {
  border: 1px solid var(--es-text);
  border-radius: 4px;
  width: 320px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,gBAAA;EACA,iBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,YAAA;EACA,YAAA;AADF;;AAIA;EACE,UAAA;AADF;;AAIA;EACE,qBAAA;EACA,OAAA;EACA,gBAAA;EACA,iBAAA;EACA,cAAA;EACA,0BAAA;AADF;;AAIA;EACE,gCAAA;EACA,wBAAA;AADF;;AAIA;EACE,SAAA;AADF;;AAIA;EACE,gCAAA;EACA,kBAAA;EACA,YAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.SegmentedControlTabs {\n  align-items: center;\n  display: flex;\n  justify-content: center;\n  min-height: 60px;\n  padding-top: 30px;\n}\n\n.SegmentedControlTabs__inner .itemBasic {\n  min-height: 36px;\n}\n\n.SegmentedControlTabs__item {\n  cursor: pointer;\n}\n\n.SegmentedControlTabs__item:disabled {\n  cursor: none;\n  opacity: 0.2;\n}\n\n.SegmentedControlTabs__item--selected:disabled {\n  opacity: 1;\n}\n\n.SegmentedControlTabs__inner .SegmentedControlTabs__item {\n  color: var(--es-text);\n  flex: 1;\n  min-height: 36px;\n  padding-bottom: 0;\n  padding-top: 0;\n  text-transform: capitalize;\n}\n\n.SegmentedControlTabs__inner .SegmentedControlTabs__item--selected {\n  background-color: var(--es-text);\n  color: var(--es-surface);\n}\n\n.segmentedControlTabs__indicator {\n  height: 0;\n}\n\n.segmentedControlTabs__flexContainer {\n  border: 1px solid var(--es-text);\n  border-radius: 4px;\n  width: 320px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Spin/Spin.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Spin/Spin.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.escoSpin {
  animation: spin 1.5s linear infinite;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/Spin/Spin.scss"],"names":[],"mappings":"AAAA;EACE;IACE,uBAAA;EACF;EACA;IACE,yBAAA;EACF;AACF;AAEA;EACE,oCAAA;AAAF","sourcesContent":["@keyframes spin {\n  from {\n    transform: rotate(0deg);\n  }\n  to {\n    transform: rotate(360deg);\n  }\n}\n\n.escoSpin {\n  animation: spin 1.5s linear infinite;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Switch/index.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Switch/index.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSwitch--focused {
  background: rgba(97, 103, 106, 0.3);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/Switch/index.scss"],"names":[],"mappings":"AAAA;EACE,mCAAA;AACF","sourcesContent":[".escoSwitch--focused {\n  background: rgba(97, 103, 106, 0.3);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Tabs/Tabs.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Tabs/Tabs.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoTab {
  font-size: 18px;
  margin-right: 24px;
  min-height: 32px;
  min-width: auto;
  padding: 8px 4px;
  text-transform: capitalize;
}

.escoTab__wrapper {
  flex-direction: row;
}

.escoTabs {
  min-height: 32px;
}

.escoTabs__indicator {
  border-bottom: 4px solid var(--es-primary);
}

.escoTabs .escoTab:last-of-type {
  margin-right: 0;
}

.escoTabpanel {
  min-height: 350px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/Tabs/Tabs.scss"],"names":[],"mappings":"AAEA;EACE,eAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;EACA,gBAAA;EACA,0BAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,0CAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoTab {\n  font-size: 18px;\n  margin-right: 24px;\n  min-height: 32px;\n  min-width: auto;\n  padding: 8px 4px;\n  text-transform: capitalize;\n}\n\n.escoTab__wrapper {\n  flex-direction: row;\n}\n\n.escoTabs {\n  min-height: 32px;\n}\n\n.escoTabs__indicator {\n  border-bottom: 4px solid var(--es-primary);\n}\n\n.escoTabs .escoTab:last-of-type {\n  margin-right: 0;\n}\n\n.escoTabpanel {\n  min-height: 350px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoDialogTwoColumnLayout__secondaryColumn {
  order: 1;
  padding-left: 24px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.scss"],"names":[],"mappings":"AAAA;EACE,QAAA;EACA,kBAAA;AACF","sourcesContent":[".escoDialogTwoColumnLayout__secondaryColumn {\n  order: 1;\n  padding-left: 24px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/dialogs/ListActionDialog/index.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/dialogs/ListActionDialog/index.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoListActionDialog--fixedHeight {
  max-height: 90vh;
  min-height: 90vh;
}

.escoListActionDialog__title {
  overflow-wrap: anywhere;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/common/dialogs/ListActionDialog/index.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;EACA,gBAAA;AACF;;AAEA;EACE,uBAAA;AACF","sourcesContent":[".escoListActionDialog--fixedHeight {\n  max-height: 90vh;\n  min-height: 90vh;\n}\n\n.escoListActionDialog__title {\n  overflow-wrap: anywhere;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/entry/Import/index.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/entry/Import/index.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoEntryImportTabs {
  padding-bottom: 6px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/entry/Import/index.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;AACF","sourcesContent":[".escoEntryImportTabs {\n  padding-bottom: 6px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/filters/SearchFilter/SearchFilter.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/filters/SearchFilter/SearchFilter.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSearchFilter {
  max-height: 220px;
  width: 100%;
}

.escoSearchFilter__Box {
  display: "flex";
  flex-wrap: "wrap";
}

.escoSearchFilter__Box > * {
  margin-right: 0.5em;
}

.escoSearchFilter__formControl {
  margin: 8px 8px 8px 0;
  min-height: 65px;
  width: 300px;
}

.escoSearchFilter__divider {
  background-color: var(--es-border);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/filters/SearchFilter/SearchFilter.scss"],"names":[],"mappings":"AAAA;EACE,iBAAA;EACA,WAAA;AACF;;AAEA;EACE,eAAA;EACA,iBAAA;AACF;;AAEA;EACE,mBAAA;AACF;;AAEA;EACE,qBAAA;EACA,gBAAA;EACA,YAAA;AACF;;AAEA;EACE,kCAAA;AACF","sourcesContent":[".escoSearchFilter {\n  max-height: 220px;\n  width: 100%;\n}\n\n.escoSearchFilter__Box {\n  display: 'flex';\n  flex-wrap: 'wrap';\n}\n\n.escoSearchFilter__Box > * {\n  margin-right: 0.5em;\n}\n\n.escoSearchFilter__formControl {\n  margin: 8px 8px 8px 0;\n  min-height: 65px;\n  width: 300px;\n}\n\n.escoSearchFilter__divider {\n  background-color: var(--es-border);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/filters/SearchFilters/SearchFilters.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/filters/SearchFilters/SearchFilters.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSearchFilters__collapse {
  background: none;
  box-shadow: none;
  margin: 0 !important;
}

.escoSearchFilters__container {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
}

.escoSearchFilters__clearButton {
  height: 56px;
  margin: 8px 0 8px 8px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/filters/SearchFilters/SearchFilters.scss"],"names":[],"mappings":"AAEA;EACE,gBAAA;EACA,gBAAA;EACA,oBAAA;AADF;;AAIA;EACE,aAAA;EACA,8BAAA;EACA,gBAAA;AADF;;AAIA;EACE,YAAA;EACA,qBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoSearchFilters__collapse {\n  background: none;\n  box-shadow: none;\n  margin: 0 !important;\n}\n\n.escoSearchFilters__container {\n  display: flex;\n  justify-content: space-between;\n  margin-top: 36px;\n}\n\n.escoSearchFilters__clearButton {\n  height: 56px;\n  margin: 8px 0 8px 8px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/EditSection/EditSection.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/EditSection/EditSection.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoFormEditSection {
  margin-bottom: 32px;
  width: 100%;
}

.escoFormEditSection__heading {
  color: var(--es-accent);
  margin-bottom: 16px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/editors/EditSection/EditSection.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,WAAA;AACF;;AAEA;EACE,uBAAA;EACA,mBAAA;AACF","sourcesContent":[".escoFormEditSection {\n  margin-bottom: 32px;\n  width: 100%;\n}\n\n.escoFormEditSection__heading {\n  color: var(--es-accent);\n  margin-bottom: 16px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Field/Field.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Field/Field.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoField {
  align-items: center;
  display: flex;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/editors/Field/Field.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,WAAA;AACF","sourcesContent":[".escoField {\n  align-items: center;\n  display: flex;\n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/FieldControl/FieldControl.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/FieldControl/FieldControl.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoFieldControl {
  display: inline-block;
  flex-shrink: 0;
  margin-top: 10px;
  padding: 0 8px;
  position: relative;
  width: 48px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/editors/FieldControl/FieldControl.scss"],"names":[],"mappings":"AAAA;EACE,qBAAA;EACA,cAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;EACA,WAAA;AACF","sourcesContent":[".escoFieldControl {\n  display: inline-block;\n  flex-shrink: 0;\n  margin-top: 10px;\n  padding: 0 8px;\n  position: relative;\n  width: 48px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Fields/Fields.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Fields/Fields.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoFields {
  color: var(--es-text);
  margin-bottom: 18px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/editors/Fields/Fields.scss"],"names":[],"mappings":"AAAA;EACE,qBAAA;EACA,mBAAA;AACF","sourcesContent":[".esmoFields {\n  color: var(--es-text);\n  margin-bottom: 18px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Group/Group.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Group/Group.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoFormGroup {
  border: 1px solid var(--es-border);
  border-radius: 4px;
  margin-bottom: 16px;
  margin-top: 16px;
  padding: 16px 12px 0 24px;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/editors/Group/Group.scss"],"names":[],"mappings":"AAAA;EACE,kCAAA;EACA,kBAAA;EACA,mBAAA;EACA,gBAAA;EACA,yBAAA;EACA,WAAA;AACF","sourcesContent":[".escoFormGroup {\n  border: 1px solid var(--es-border);\n  border-radius: 4px;\n  margin-bottom: 16px;\n  margin-top: 16px;\n  padding: 16px 12px 0 24px;\n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/RadioGroup/RadioGroup.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/RadioGroup/RadioGroup.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoRadioGroup__control {
  margin: 0;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/editors/RadioGroup/RadioGroup.scss"],"names":[],"mappings":"AAAA;EACE,SAAA;AACF","sourcesContent":[".escoRadioGroup__control {\n  margin: 0;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Subform/Subform.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Subform/Subform.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoSubformEditor {
  border: 1px solid var(--es-border);
  border-radius: 4px;
  margin-bottom: 8px;
  padding: 16px 12px 0 24px;
  width: 100%;
}

.escoSubformEditor__placeholder {
  margin-bottom: 16px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/editors/Subform/Subform.scss"],"names":[],"mappings":"AAAA;EACE,kCAAA;EACA,kBAAA;EACA,kBAAA;EACA,yBAAA;EACA,WAAA;AACF;;AAEA;EACE,mBAAA;AACF","sourcesContent":[".escoSubformEditor {\n  border: 1px solid var(--es-border);\n  border-radius: 4px;\n  margin-bottom: 8px;\n  padding: 16px 12px 0 24px;\n  width: 100%;\n}\n\n.escoSubformEditor__placeholder {\n  margin-bottom: 16px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Field/Field.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Field/Field.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoPresenterField {
  align-items: center;
  display: flex;
  width: 100%;
}
.escoPresenterField:not(:first-child) {
  border-top: 1px solid var(--es-border-light);
  margin-top: 2px;
  padding-top: 2px;
}

.escoPresenterField.escoPresenterField--no-divider:not(:first-child) {
  border-top: 0;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/presenters/Field/Field.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,WAAA;AACF;AACE;EACE,4CAAA;EACA,eAAA;EACA,gBAAA;AACJ;;AAIE;EACE,aAAA;AADJ","sourcesContent":[".escoPresenterField {\n  align-items: center;\n  display: flex;\n  width: 100%;\n\n  &:not(:first-child) {\n    border-top: 1px solid var(--es-border-light);\n    margin-top: 2px;\n    padding-top: 2px;\n  }\n}\n\n.escoPresenterField.escoPresenterField--no-divider {\n  &:not(:first-child) {\n    border-top: 0;\n  }\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Fields/Fields.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Fields/Fields.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoFieldsPresenter {
  color: var(--es-text);
  margin-bottom: 16px;
}

.esmoFieldsPresenter--inline {
  margin-left: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/presenters/Fields/Fields.scss"],"names":[],"mappings":"AAAA;EACE,qBAAA;EACA,mBAAA;AACF;;AAEA;EACE,gBAAA;EACA,uBAAA;EACA,sBAAA;AACF","sourcesContent":[".esmoFieldsPresenter {\n  color: var(--es-text);\n  margin-bottom: 16px;\n}\n\n.esmoFieldsPresenter--inline {\n  margin-left: 4px;\n  overflow-wrap: anywhere;\n  word-break: break-word;  \n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoFieldsLabel {
  display: flex;
  margin-bottom: 5px;
}

.escoFieldsLabel__label {
  font-weight: bold;
}

.escoFieldsLabel_marker {
  font-weight: bold;
  margin-left: 4px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.scss"],"names":[],"mappings":"AACA;EACE,aAAA;EACA,kBAAA;AAAF;;AAGA;EACE,iBAAA;AAAF;;AAGA;EACE,iBAAA;EACA,gBAAA;AAAF","sourcesContent":["\n.escoFieldsLabel {\n  display: flex;\n  margin-bottom: 5px;\n}\n\n.escoFieldsLabel__label {\n  font-weight: bold;\n}\n\n.escoFieldsLabel_marker {\n  font-weight: bold;\n  margin-left: 4px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Language/Language.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Language/Language.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoPresenterLanguage {
  display: flex;
  margin-left: auto;
}

.escoPresenterLanguage__text {
  background: #474747;
  border-radius: 5px;
  color: white;
  font-family: sans-serif;
  font-size: 10px;
  font-weight: bolder;
  margin: 0 10px;
  padding: 3px 5px;
  text-transform: uppercase;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/forms/presenters/Language/Language.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,iBAAA;AACF;;AAEA;EACE,mBAAA;EACA,kBAAA;EACA,YAAA;EACA,uBAAA;EACA,eAAA;EACA,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,yBAAA;AACF","sourcesContent":[".escoPresenterLanguage {\n  display: flex;\n  margin-left: auto;\n}\n\n.escoPresenterLanguage__text {\n  background: #474747;\n  border-radius: 5px;\n  color: white;\n  font-family: sans-serif;\n  font-size: 10px;\n  font-weight: bolder;\n  margin: 0 10px;\n  padding: 3px 5px;\n  text-transform: uppercase;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/Overview/index.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/Overview/index.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverview__main {
  flex: 1;
  max-width: 1200px;
  min-width: 700px;
  padding: 12px;
  position: relative;
}

.escoOverview__divider {
  background-color: var(--es-border);
  margin: 16px 0;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/Overview/index.scss"],"names":[],"mappings":"AAEA;EACE,OAAA;EACA,iBAAA;EACA,gBAAA;EACA,aAAA;EACA,kBAAA;AADF;;AAIA;EACE,kCAAA;EACA,cAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoOverview__main {\n  flex: 1;\n  max-width: 1200px;\n  min-width: 700px;\n  padding: 12px;\n  position: relative;\n}\n\n.escoOverview__divider {\n  background-color: var(--es-border);\n  margin: 16px 0;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewBackButton {
  color: var(--es-accent);
  left: -28px;
  position: absolute;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.scss"],"names":[],"mappings":"AAAA;EACE,uBAAA;EACA,WAAA;EACA,kBAAA;AACF","sourcesContent":[".escoOverviewBackButton {\n  color: var(--es-accent);\n  left: -28px;\n  position: absolute;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewDescription/OverviewDescription.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewDescription/OverviewDescription.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverview__description {
  white-space: pre-line;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewDescription/OverviewDescription.scss"],"names":[],"mappings":"AAAA;EACE,qBAAA;AACF","sourcesContent":[".escoOverview__description {\n  white-space: pre-line;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewHeader/OverviewHeader.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewHeader/OverviewHeader.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewHeader {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin-bottom: 12px;
}

.escoOverviewHeader__label {
  align-items: center;
  display: flex;
}

.escoOverviewHeader__labelIcon {
  margin-left: 6px;
}

.escoOverviewHeader__heading {
  color: var(--es-accent);
  margin-right: 6px;
}

.escoOverviewHeader__subHeading {
  margin-right: 6px;
}

.escoOverviewHeader__actions {
  align-items: center;
  display: flex;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewHeader/OverviewHeader.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;EACA,aAAA;EACA,OAAA;EACA,8BAAA;EACA,mBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,uBAAA;EACA,iBAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoOverviewHeader {\n  align-items: center;\n  display: flex;\n  flex: 1;\n  justify-content: space-between;\n  margin-bottom: 12px;\n}\n\n.escoOverviewHeader__label {\n  align-items: center;\n  display: flex;\n}\n\n.escoOverviewHeader__labelIcon {\n  margin-left: 6px;\n}\n\n.escoOverviewHeader__heading {\n  color: var(--es-accent);\n  margin-right: 6px;\n}\n\n.escoOverviewHeader__subHeading {\n  margin-right: 6px;\n}\n\n.escoOverviewHeader__actions {\n  align-items: center;\n  display: flex;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewListHeader {
  margin-bottom: 18px;
  padding: 0;
}

.escoOverviewListHeader__actionContainer {
  margin-left: 16px;
}

.escoOverviewListHeader__headingContainer {
  align-items: center;
  display: flex;
}

.escoOverviewListHeader__helperIcon {
  font-size: 20px;
  margin-left: 6px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.scss"],"names":[],"mappings":"AACA;EACE,mBAAA;EACA,UAAA;AAAF;;AAGA;EACE,iBAAA;AAAF;;AAGA;EACE,mBAAA;EACA,aAAA;AAAF;;AAGA;EACE,eAAA;EACA,gBAAA;AAAF","sourcesContent":["\n.escoOverviewListHeader {\n  margin-bottom: 18px;\n  padding: 0;\n}\n\n.escoOverviewListHeader__actionContainer {\n  margin-left: 16px;\n}\n\n.escoOverviewListHeader__headingContainer {\n  align-items: center;\n  display: flex;\n}\n\n.escoOverviewListHeader__helperIcon {\n  font-size: 20px;\n  margin-left: 6px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewListPlaceholder {
  font-style: italic;
  margin-bottom: 36px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.scss"],"names":[],"mappings":"AAAA;EACE,kBAAA;EACA,mBAAA;AACF","sourcesContent":[".escoOverviewListPlaceholder {\n  font-style: italic;\n  margin-bottom: 36px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverview__MetadataList {
  margin: 0;
  margin-bottom: 24px;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.scss"],"names":[],"mappings":"AAAA;EACE,SAAA;EACA,mBAAA;EACA,WAAA;AACF","sourcesContent":[".escoOverview__MetadataList {\n  margin: 0;\n  margin-bottom: 24px;\n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewMetadataListItem__header {
  font-size: 16px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.scss"],"names":[],"mappings":"AAAA;EACE,eAAA;AACF","sourcesContent":[".escoOverviewMetadataListItem__header {\n  font-size: 16px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSection/OverviewSection.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSection/OverviewSection.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewSection {
  margin-bottom: 24px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewSection/OverviewSection.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;AACF","sourcesContent":[".escoOverviewSection {\n  margin-bottom: 24px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverview__sidebar {
  max-width: 296px;
  padding: 12px 0 12px 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;EACA,yBAAA;AACF","sourcesContent":[".escoOverview__sidebar {\n  max-width: 296px;\n  padding: 12px 0 12px 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewSidebarListItem__button {
  box-shadow: none;
  justify-content: start;
  width: 248px;
}

.escoOverviewSidebarButtonLabel {
  color: inherit;
  font-weight: 600;
}

.escoOverviewSidebarButtonLabel--disabled {
  color: var(--es-text-disabled);
  font-weight: 600;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.scss"],"names":[],"mappings":"AAEA;EACE,gBAAA;EACA,sBAAA;EACA,YAAA;AADF;;AAIA;EACE,cAAA;EACA,gBAAA;AADF;;AAIA;EACE,8BAAA;EACA,gBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoOverviewSidebarListItem__button {\n  box-shadow: none;\n  justify-content: start;\n  width: 248px;\n}\n\n.escoOverviewSidebarButtonLabel {\n  color: inherit;\n  font-weight: 600;\n}\n\n.escoOverviewSidebarButtonLabel--disabled {\n  color: var(--es-text-disabled);\n  font-weight: 600;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewSidebarDivider {
  background-color: var(--es-border);
  margin: 12px 0;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.scss"],"names":[],"mappings":"AAAA;EACE,kCAAA;EACA,cAAA;EACA,WAAA;AACF","sourcesContent":[".escoOverviewSidebarDivider {\n  background-color: var(--es-border);\n  margin: 12px 0;\n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewSidebarItem {
  padding-bottom: 6px;
  padding-top: 6px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,gBAAA;AACF","sourcesContent":[".escoOverviewSidebarItem {\n  padding-bottom: 6px;\n  padding-top: 6px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTags/OverviewTags.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTags/OverviewTags.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverview__tags {
  margin-bottom: 12px;
  margin-top: -12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewTags/OverviewTags.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,iBAAA;AACF","sourcesContent":[".escoOverview__tags {\n  margin-bottom: 12px;\n  margin-top: -12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewTileButton {
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  justify-content: flex-start;
  padding: 6px 12px;
  width: 160px;
}

.escoOverviewTileButton--disabled:disabled {
  background-color: #1c7cd1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  color: var(--es-surface);
  opacity: 0.2;
}

.escoOverviewTileButton__labelPrefix {
  font-weight: 800;
}

.escoOverviewTileButton__label {
  margin-left: 6px;
}

.escoOverviewTileButton--primary {
  background-color: var(--es-accent);
}
.escoOverviewTileButton--primary:hover {
  background-color: #ca5c28;
  background-position: 0 100%;
  transition: background-position 300ms;
}

.escoOverviewTileButton__icon {
  margin-left: auto;
  opacity: 0;
  transition: opacity 300ms;
}

.escoOverviewTileButton:hover .escoOverviewTileButton__icon {
  opacity: 1;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAEA;EACE,gBAAA;EACA,wCAAA;EACA,2BAAA;EACA,iBAAA;EACA,YAAA;AADF;;AAIA;EACE,yBCNU;EDOV,wCAAA;EACA,wBAAA;EACA,YAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,kCAAA;AADF;AAGE;EACE,yBCXO;EDYP,2BAAA;EACA,qCAAA;AADJ;;AAKA;EACE,iBAAA;EACA,UAAA;EACA,yBAAA;AAFF;;AAKA;EACE,UAAA;AAFF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoOverviewTileButton {\n  border-radius: 0;\n  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n  justify-content: flex-start;\n  padding: 6px 12px;\n  width: 160px;\n}\n\n.escoOverviewTileButton--disabled:disabled {\n  background-color: $blue-main;\n  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);\n  color: var(--es-surface);\n  opacity: 0.2;\n}\n\n.escoOverviewTileButton__labelPrefix {\n  font-weight: 800;\n}\n\n.escoOverviewTileButton__label {\n  margin-left: 6px;\n}\n\n.escoOverviewTileButton--primary {\n  background-color: var(--es-accent);\n\n  &:hover {\n    background-color: $dark-red;\n    background-position: 0 100%;\n    transition: background-position 300ms;\n  }\n}\n\n.escoOverviewTileButton__icon {\n  margin-left: auto;\n  opacity: 0;\n  transition: opacity 300ms;\n}\n\n.escoOverviewTileButton:hover .escoOverviewTileButton__icon {\n  opacity: 1;\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoOverviewTileButtonGroup {
  margin-bottom: 24px;
}

.escoOverview__horizontalButtons {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.escoOverview__tile {
  margin: 0 5px 10px 0;
  overflow: visible;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;AADF;;AAIA;EACE,aAAA;EACA,eAAA;EACA,SAAA;AADF;;AAIA;EACE,oBAAA;EACA,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoOverviewTileButtonGroup {\n  margin-bottom: 24px;\n}\n\n.escoOverview__horizontalButtons {\n  display: flex;\n  flex-wrap: wrap;\n  margin: 0;\n}\n\n.escoOverview__tile {\n  margin: 0 5px 10px 0;\n  overflow: visible;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/progress/LinearProgress/LinearProgress.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/progress/LinearProgress/LinearProgress.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoLinearProgress {
  border: 1px solid var(--es-border);
  height: 12px;
}

.escoLinearProgress__background {
  background-color: var(--es-surface);
}

.escoLinearProgress__bar--red {
  background-color: var(--es-accent);
}

.escoLinearProgress__bar--green {
  background-color: var(--es-success);
}

.escoLinearProgress__bar--gray {
  background-color: var(--es-text-secondary);
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/progress/LinearProgress/LinearProgress.scss"],"names":[],"mappings":"AAAA;EACE,kCAAA;EACA,YAAA;AACF;;AAEA;EACE,mCAAA;AACF;;AAEA;EACE,kCAAA;AACF;;AAEA;EACE,mCAAA;AACF;;AAEA;EACE,0CAAA;AACF","sourcesContent":[".escoLinearProgress {\n  border: 1px solid var(--es-border);\n  height: 12px;\n}\n\n.escoLinearProgress__background {\n  background-color: var(--es-surface);\n}\n\n.escoLinearProgress__bar--red {\n  background-color: var(--es-accent);\n}\n\n.escoLinearProgress__bar--green {\n  background-color: var(--es-success);\n}\n\n.escoLinearProgress__bar--gray {\n  background-color: var(--es-text-secondary);\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/progress/LinearProgressButton/LinearProgressButton.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/progress/LinearProgressButton/LinearProgressButton.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoLinearProgressButton {
  display: block;
  width: 100%;
  height: 70%;
  margin: 5px 0;
}

.escoLinearProgressButton--disabled {
  cursor: auto;
}

.escoLinearProgressButton:hover {
  border-radius: 5px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/progress/LinearProgressButton/LinearProgressButton.scss"],"names":[],"mappings":"AAAA;EACE,cAAA;EACA,WAAA;EACA,WAAA;EACA,aAAA;AACF;;AAEA;EACE,YAAA;AACF;;AAEA;EACE,kBAAA;AACF","sourcesContent":[".escoLinearProgressButton {\n  display: block;\n  width: 100%;\n  height: 70%;\n  margin: 5px 0;\n}\n\n.escoLinearProgressButton--disabled {\n  cursor: auto;\n}\n\n.escoLinearProgressButton:hover {\n  border-radius: 5px;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoEntrySelectList__placeholder {
  height: auto;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.scss"],"names":[],"mappings":"AAAA;EACE,YAAA;AACF","sourcesContent":[".escoEntrySelectList__placeholder {\n  height: auto;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/FieldWrapper/index.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/FieldWrapper/index.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.MuiTooltip-tooltip:has(.rdformsDescription),
.MuiTooltip-tooltip:has(.rdformsProperty) {
  background: var(--es-surface);
  border-radius: 4px;
  color: var(--es-text);
}
.MuiTooltip-tooltip:has(.rdformsDescription) a,
.MuiTooltip-tooltip:has(.rdformsProperty) a {
  color: var(--es-primary);
}

.rdforms {
  color: var(--es-text);
}
.rdforms .rdformsLabel {
  color: var(--es-text);
  margin-bottom: 8px;
}
.rdforms .rdformsField > .MuiFormControl-root {
  margin: 0;
}
.rdforms .rdformsLanguage {
  margin-left: auto;
  order: 1;
  word-break: normal;
}
.rdforms {
  /* stylelint-disable-next-line selector-max-compound-selectors */
}
.rdforms .cardgroup > .rdformsFields > .rdformsGroup {
  margin-bottom: 0;
  margin-top: 0;
  width: 100%;
}
.rdforms {
  /* Override rdforms library cardgroup/card backgrounds for dark mode */
  /* stylelint-disable selector-max-compound-selectors */
}
.rdforms .cardgroupEditor > .rdformsFields > .rdformsGroup,
.rdforms .cardgroup > .rdformsFields > .rdformsGroup,
.rdforms .rdformsCard > .rdformsFields > .rdformsGroup {
  background-color: var(--es-surface-light);
  border-color: var(--es-border);
}
.rdforms {
  /* stylelint-enable selector-max-compound-selectors */
}
.rdforms .rdformsField {
  align-items: center;
  display: flex;
}
.rdforms .rdformsField a,
.rdforms .rdformsGroup a {
  color: var(--es-primary);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.rdforms .rdformsRepeatedValue {
  margin-top: 4px;
  padding-top: 4px;
}

.rdforms.rdformsEditor .rdformsField {
  align-items: center;
  display: flex;
  padding-right: 55px;
}
.rdforms.rdformsEditor .rdformsField > button {
  color: var(--es-primary);
  margin-top: 10px;
}
.rdforms.rdformsEditor .rdformsMandatoryMark {
  color: var(--es-text);
  display: inline;
}
.rdforms.rdformsEditor .rdformsRecommendedMark,
.rdforms.rdformsEditor .rdformsOptionalMark {
  color: var(--es-text-secondary);
  display: inline;
  font-size: unset;
  padding-left: 6px;
}
.rdforms.rdformsEditor .rdformsTwoThirds {
  margin: 0 12px 0 0;
}
.rdforms.rdformsEditor .rdformsAddChild {
  height: auto;
  margin: 14px 0 0 10px;
  padding: 0;
}
.rdforms.rdformsEditor .rdformsLangControl {
  margin: 0;
}
.rdforms.rdformsEditor .rdformsField.rdformsRepeatedValue {
  margin-top: 18px;
}
.rdforms.rdformsEditor .rdformsSearch > div {
  margin: 0;
}
.rdforms.rdformsEditor .rdformsRow.rdformsTopLevel {
  margin-bottom: 18px;
  padding-top: 0;
}
.rdforms.rdformsEditor .rdformsDatePicker > * {
  margin: 0 12px 0 0;
}
.rdforms.rdformsEditor .rdformsDatePicker label {
  color: var(--es-text);
}
.rdforms.rdformsEditor .rdformsFieldControl {
  margin-top: 10px;
  top: unset;
  width: 48px;
}
.rdforms.rdformsEditor .rdformsError,
.rdforms.rdformsEditor .rdformsRow.missingDepsWithValue {
  border: 2px solid var(--es-error);
  border-radius: 4px;
}
.rdforms.rdformsEditor .rdformsWarning {
  color: var(--es-error);
  font-size: 14px;
  font-weight: unset;
}
.rdforms.rdformsEditor .rdformsDurationInput {
  margin-left: 12px;
}
.rdforms.rdformsEditor .rdformsDurationInput:first-child {
  margin-left: 0;
}

.rdformsDescriptionIcon {
  color: var(--es-text-secondary) !important;
}

.rdforms.rdformsValidator .rdformsValidationMessage {
  color: var(--es-text);
}
.rdforms.rdformsValidator .error .rdformsValidationMessageWrapper {
  color: #de524c;
}
.rdforms.rdformsValidator .warning .rdformsValidationMessageWrapper {
  color: #f7ce26;
}
.rdforms.rdformsValidator .rdformsField.error,
.rdforms.rdformsValidator .rdformsField.warning,
.rdforms.rdformsValidator .rdformsField.deprecated {
  align-items: start;
  display: flex;
  flex-direction: column;
}
.rdforms.rdformsValidator .rdformsField.deprecated {
  color: #1c7cd1;
}
.rdforms.rdformsValidator .rdformsField.deprecated svg {
  color: #1c7cd1;
}
.rdforms.rdformsValidator .rdformsField.error {
  color: var(--es-error);
}
.rdforms.rdformsValidator .rdformsField.warning {
  color: #f7ce26;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/FieldWrapper/index.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAMA;;EAEE,6BAAA;EACA,kBAAA;EACA,qBAAA;AALF;AAOE;;EACE,wBAAA;AAJJ;;AAQA;EACE,qBAAA;AALF;AAOE;EACE,qBAAA;EACA,kBAAA;AALJ;AAQE;EACE,SAAA;AANJ;AASE;EACE,iBAAA;EACA,QAAA;EACA,kBAAA;AAPJ;AARA;EAkBE,gEAAA;AAPF;AAQE;EACE,gBAAA;EACA,aAAA;EACA,WAAA;AANJ;AAhBA;EAyBE,sEAAA;EACA,sDAAA;AANF;AAOE;;;EAGE,yCAAA;EACA,8BAAA;AALJ;AA1BA;EAiCE,qDAAA;AAJF;AAME;EACE,mBAAA;EACA,aAAA;AAJJ;AAOE;;EAEE,wBAAA;EACA,uBAAA;EACA,sBAAA;AALJ;AAQE;EACE,eAAA;EACA,gBAAA;AANJ;;AAWE;EACE,mBAAA;EACA,aAAA;EACA,mBAAA;AARJ;AAWE;EACE,wBAAA;EACA,gBAAA;AATJ;AAYE;EACE,qBAAA;EACA,eAAA;AAVJ;AAaE;;EAEE,+BAAA;EACA,eAAA;EACA,gBAAA;EACA,iBAAA;AAXJ;AAcE;EACE,kBAAA;AAZJ;AAeE;EACE,YAAA;EACA,qBAAA;EACA,UAAA;AAbJ;AAgBE;EACE,SAAA;AAdJ;AAiBE;EACE,gBAAA;AAfJ;AAkBE;EACE,SAAA;AAhBJ;AAmBE;EACE,mBAAA;EACA,cAAA;AAjBJ;AAoBE;EACE,kBAAA;AAlBJ;AAqBE;EACE,qBAAA;AAnBJ;AAsBE;EACE,gBAAA;EACA,UAAA;EACA,WAAA;AApBJ;AAuBE;;EAEE,iCAAA;EACA,kBAAA;AArBJ;AAwBE;EACE,sBAAA;EACA,eAAA;EACA,kBAAA;AAtBJ;AAyBE;EACE,iBAAA;AAvBJ;AA0BE;EACE,cAAA;AAxBJ;;AA4BA;EACE,0CAAA;AAzBF;;AA6BE;EACE,qBAAA;AA1BJ;AA6BE;EACE,cC/IU;ADoHd;AA8BE;EACE,cCjJW;ADqHf;AA+BE;;;EAGE,kBAAA;EACA,aAAA;EACA,sBAAA;AA7BJ;AAgCE;EACE,cClLQ;ADoJZ;AAiCE;EACE,cCtLQ;ADuJZ;AAkCE;EACE,sBAAA;AAhCJ;AAmCE;EACE,cCzKW;ADwIf","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n// RDForms style overrides\n// TODO should move elsewhere\n\n// rdforms tooltips render as a portal outside .rdforms, scope via their content classes\n.MuiTooltip-tooltip:has(.rdformsDescription),\n.MuiTooltip-tooltip:has(.rdformsProperty) {\n  background: var(--es-surface);\n  border-radius: 4px;\n  color: var(--es-text);\n\n  a {\n    color: var(--es-primary);\n  }\n}\n\n.rdforms {\n  color: var(--es-text);\n\n  .rdformsLabel {\n    color: var(--es-text);\n    margin-bottom: 8px;\n  }\n\n  .rdformsField > .MuiFormControl-root {\n    margin: 0;\n  }\n\n  .rdformsLanguage {\n    margin-left: auto;\n    order: 1;\n    word-break: normal;\n  }\n\n  /* stylelint-disable-next-line selector-max-compound-selectors */\n  .cardgroup > .rdformsFields > .rdformsGroup {\n    margin-bottom: 0;\n    margin-top: 0;\n    width: 100%;\n  }\n\n  /* Override rdforms library cardgroup/card backgrounds for dark mode */\n  /* stylelint-disable selector-max-compound-selectors */\n  .cardgroupEditor > .rdformsFields > .rdformsGroup,\n  .cardgroup > .rdformsFields > .rdformsGroup,\n  .rdformsCard > .rdformsFields > .rdformsGroup {\n    background-color: var(--es-surface-light);\n    border-color: var(--es-border);\n  }\n  /* stylelint-enable selector-max-compound-selectors */\n\n  .rdformsField {\n    align-items: center;\n    display: flex;\n  }\n\n  .rdformsField a,\n  .rdformsGroup a {\n    color: var(--es-primary);\n    overflow-wrap: anywhere;\n    word-break: break-word;\n  }\n\n  .rdformsRepeatedValue {\n    margin-top: 4px;\n    padding-top: 4px;\n  }\n}\n\n.rdforms.rdformsEditor {\n  .rdformsField {\n    align-items: center;\n    display: flex;\n    padding-right: 55px;\n  }\n\n  .rdformsField > button {\n    color: var(--es-primary);\n    margin-top: 10px;\n  }\n\n  .rdformsMandatoryMark {\n    color: var(--es-text);\n    display: inline;\n  }\n\n  .rdformsRecommendedMark,\n  .rdformsOptionalMark {\n    color: var(--es-text-secondary);\n    display: inline;\n    font-size: unset;\n    padding-left: 6px;\n  }\n\n  .rdformsTwoThirds {\n    margin: 0 12px 0 0;\n  }\n\n  .rdformsAddChild {\n    height: auto;\n    margin: 14px 0 0 10px;\n    padding: 0;\n  }\n\n  .rdformsLangControl {\n    margin: 0;\n  }\n\n  .rdformsField.rdformsRepeatedValue {\n    margin-top: 18px;\n  }\n\n  .rdformsSearch > div {\n    margin: 0;\n  }\n\n  .rdformsRow.rdformsTopLevel {\n    margin-bottom: 18px;\n    padding-top: 0;\n  }\n\n  .rdformsDatePicker > * {\n    margin: 0 12px 0 0;\n  }\n\n  .rdformsDatePicker label {\n    color: var(--es-text);\n  }\n\n  .rdformsFieldControl {\n    margin-top: 10px;\n    top: unset;\n    width: 48px;\n  }\n\n  .rdformsError,\n  .rdformsRow.missingDepsWithValue {\n    border: 2px solid var(--es-error);\n    border-radius: 4px;\n  }\n\n  .rdformsWarning {\n    color: var(--es-error);\n    font-size: 14px;\n    font-weight: unset;\n  }\n\n  .rdformsDurationInput {\n    margin-left: 12px;\n  }\n\n  .rdformsDurationInput:first-child {\n    margin-left: 0;\n  }\n}\n\n.rdformsDescriptionIcon {\n  color: var(--es-text-secondary) !important;\n}\n\n.rdforms.rdformsValidator {\n  .rdformsValidationMessage {\n    color: var(--es-text);\n  }\n\n  .error .rdformsValidationMessageWrapper {\n    color: $error-light;\n  }\n\n  .warning .rdformsValidationMessageWrapper {\n    color: $warning-main;\n  }\n\n  .rdformsField.error,\n  .rdformsField.warning,\n  .rdformsField.deprecated {\n    align-items: start;\n    display: flex;\n    flex-direction: column;\n  }\n\n  .rdformsField.deprecated {\n    color: $blue-main;\n  }\n\n  .rdformsField.deprecated svg {\n    color: $blue-main;\n  }\n\n  .rdformsField.error {\n    color: var(--es-error);\n  }\n\n  .rdformsField.warning {\n    color: $warning-main;\n  }\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoGeoEditor {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.escoGeoEditor .MuiFormControl-root {
  margin: 0 0 25px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,sBAAA;EACA,kBAAA;EACA,WAAA;AACF;;AAEA;EACE,gBAAA;AACF","sourcesContent":[".escoGeoEditor {\n  display: flex;\n  flex-direction: column;\n  position: relative;\n  width: 100%;\n}\n\n.escoGeoEditor .MuiFormControl-root {\n  margin: 0 0 25px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoGeonamesChooser__dialog {
  height: calc(90% - 64px);
}

.escoGeonamesChooser__dialogContent {
  padding-top: 0;
}

.escoGeonamesChooser__loading {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
}

.escoGeonamesChooser__locationDetails {
  margin-bottom: 16px;
  padding: 16px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss"],"names":[],"mappings":"AAEA;EACE,wBAAA;AADF;;AAIA;EACE,cAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,YAAA;EACA,uBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoGeonamesChooser__dialog {\n  height: calc(90% - 64px);\n}\n\n.escoGeonamesChooser__dialogContent {\n  padding-top: 0;\n}\n\n.escoGeonamesChooser__loading {\n  align-items: center;\n  display: flex;\n  height: 100%;\n  justify-content: center;\n}\n\n.escoGeonamesChooser__locationDetails {\n  margin-bottom: 16px;\n  padding: 16px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/LevelSelector/LevelSelector.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/LevelSelector/LevelSelector.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.LevelSelector {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin-bottom: 24px;
}

.LevelSelector__level {
  align-items: center;
  background: var(--es-surface);
  display: flex;
  flex: 1;
  height: 48px;
  justify-content: center;
  margin-right: 4px;
  width: 180px;
}

.LevelSelector__level--unchecked {
  background: var(--es-surface-light);
}

.LevelSelector__level:first-child {
  background: var(--es-surface);
}

.LevelSelector__level:last-child {
  margin-right: 0;
}

.LevelSelector__label {
  text-transform: capitalize;
}

.LevelSelector__level--unchecked .LevelSelector__label {
  color: var(--es-text-secondary) !important;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/LevelSelector/LevelSelector.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;EACA,OAAA;EACA,8BAAA;EACA,mBAAA;AADF;;AAIA;EACE,mBAAA;EACA,6BAAA;EACA,aAAA;EACA,OAAA;EACA,YAAA;EACA,uBAAA;EACA,iBAAA;EACA,YAAA;AADF;;AAIA;EACE,mCAAA;AADF;;AAIA;EACE,6BAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,0BAAA;AADF;;AAIA;EACE,0CAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.LevelSelector {\n  display: flex;\n  flex: 1;\n  justify-content: space-between;\n  margin-bottom: 24px;\n}\n\n.LevelSelector__level {\n  align-items: center;\n  background: var(--es-surface);\n  display: flex;\n  flex: 1;\n  height: 48px;\n  justify-content: center;\n  margin-right: 4px;\n  width: 180px;\n}\n\n.LevelSelector__level--unchecked {\n  background: var(--es-surface-light);\n}\n\n.LevelSelector__level:first-child {\n  background: var(--es-surface);\n}\n\n.LevelSelector__level:last-child {\n  margin-right: 0;\n}\n\n.LevelSelector__label {\n  text-transform: capitalize;\n}\n\n.LevelSelector__level--unchecked .LevelSelector__label {\n  color: var(--es-text-secondary) !important;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/LinkBehaviour/linkBehaviour.css"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/LinkBehaviour/linkBehaviour.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.rdformsLinkIcon,
.rdformsExternalLinkIcon {
  font-size: 16px;
  vertical-align: middle;
  margin-left: 6px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/LinkBehaviour/linkBehaviour.css"],"names":[],"mappings":"AAAA;;EAEI,eAAA;EACA,sBAAA;EACA,gBAAA;AACJ","sourcesContent":[".rdformsLinkIcon,\n.rdformsExternalLinkIcon {\n    font-size: 16px;\n    vertical-align: middle;\n    margin-left: 6px;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoRdformsAlert {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.escoRdformsAlert__alert {
  width: 80%;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,uBAAA;EACA,gBAAA;AACF;;AAEA;EACE,UAAA;AACF","sourcesContent":[".escoRdformsAlert {\n  display: flex;\n  justify-content: center;\n  margin-top: 24px;\n}\n\n.escoRdformsAlert__alert {\n  width: 80%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsDialogFormWrapper/style.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsDialogFormWrapper/style.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoRDFormsDialogWrapper {
  display: flex;
  flex-direction: column;
}

.escoRDFormsDialogWrapper__sticky {
  background: var(--es-canvas);
  margin-bottom: 12px;
  margin-top: -24px;
  padding-top: 24px;
  position: sticky;
  top: -24px;
  z-index: 1299;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/RdformsDialogFormWrapper/style.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;EACA,sBAAA;AADF;;AAIA;EACE,4BAAA;EACA,mBAAA;EACA,iBAAA;EACA,iBAAA;EACA,gBAAA;EACA,UAAA;EACA,aAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoRDFormsDialogWrapper {\n  display: flex;\n  flex-direction: column;\n}\n\n.escoRDFormsDialogWrapper__sticky {\n  background: var(--es-canvas);\n  margin-bottom: 12px;\n  margin-top: -24px;\n  padding-top: 24px;\n  position: sticky;\n  top: -24px;\n  z-index: 1299;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoRdformsOutline {
  font-size: 14px;
  position: sticky;
  top: 0;
}

.escoRdformsOutline__listItem {
  border-left: 2px solid var(--es-border);
  padding: 2px 12px;
}

.escoRdformsOutline__listItem--indented {
  padding-left: 30px;
}

.escoRdformsOutline__listItem--active {
  background: rgba(22, 115, 199, 0.05);
  border-left: 2px solid var(--es-primary);
}

.escoRdformsOutline__listItem--error {
  border-left: 2px solid var(--es-error);
}
.escoRdformsOutline__listItem--error a {
  color: var(--es-error);
}

.escoRdformsOutline__header {
  font-size: 13px;
  margin-top: 12px;
  text-transform: uppercase;
}

.escoRdformsOutline__searchPlaceholder {
  margin-top: 12px;
}

.escoRdformsOutline__navigation {
  height: 60vh;
  margin-top: 12px;
  overflow-y: auto;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.scss"],"names":[],"mappings":"AAEA;EACE,eAAA;EACA,gBAAA;EACA,MAAA;AADF;;AAIA;EACE,uCAAA;EACA,iBAAA;AADF;;AAIA;EACE,kBAAA;AADF;;AAIA;EACE,oCAAA;EACA,wCAAA;AADF;;AAIA;EACE,sCAAA;AADF;AAGE;EACE,sBAAA;AADJ;;AAKA;EACE,eAAA;EACA,gBAAA;EACA,yBAAA;AAFF;;AAKA;EACE,gBAAA;AAFF;;AAKA;EACE,YAAA;EACA,gBAAA;EACA,gBAAA;AAFF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoRdformsOutline {\n  font-size: 14px;\n  position: sticky;\n  top: 0;\n}\n\n.escoRdformsOutline__listItem {\n  border-left: 2px solid var(--es-border);\n  padding: 2px 12px;\n}\n\n.escoRdformsOutline__listItem--indented {\n  padding-left: 30px;\n}\n\n.escoRdformsOutline__listItem--active {\n  background: rgba(22, 115, 199, 0.05);\n  border-left: 2px solid var(--es-primary);\n}\n\n.escoRdformsOutline__listItem--error {\n  border-left: 2px solid var(--es-error);\n\n  a {\n    color: var(--es-error);\n  }\n}\n\n.escoRdformsOutline__header {\n  font-size: 13px;\n  margin-top: 12px;\n  text-transform: uppercase;\n}\n\n.escoRdformsOutline__searchPlaceholder {\n  margin-top: 12px;\n}\n\n.escoRdformsOutline__navigation {\n  height: 60vh;\n  margin-top: 12px;\n  overflow-y: auto;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/ResourceInfo/index.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/ResourceInfo/index.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoResourceTabContainer {
  column-gap: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.escoResourceInfoItem {
  padding-bottom: 12px;
}

.escoResourceInfoItem__title {
  font-weight: bold;
}

.escoResourceInfoItem__resourceLinkContainer {
  align-items: center;
  display: flex;
}

.escoResourceInfoItem__resourceLink {
  display: inline-block;
  max-width: 35ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.escoResourceInfoItem__baseText {
  max-width: 35ch;
  overflow: hidden;
  padding: 4px 0 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.escoResourceInfoItem__downloadlinks {
  display: flex;
  padding-top: 8px;
}

.escoResourceInfoItem__textLine {
  overflow-wrap: break-word;
}

.escoResourceTabSection__title {
  color: var(--es-accent);
}

.escoResourceTabSection__children {
  display: grid;
  grid-template-columns: 1fr 2fr;
  row-gap: 8px;
}

.escoResourceTabItem__label {
  color: var(--es-text);
  font-weight: bold;
}

.escoResourceTabItem__link {
  cursor: pointer;
  width: fit-content;
}

.escoResourceTabItem__linkContainer {
  display: flex;
  flex-flow: column;
}

.escoResourceTabItem__value {
  color: var(--es-text);
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.escoResourceDownloadSection {
  margin-bottom: 18px;
}

.escoResourceInfoItem__copyButton {
  margin-left: 6px;
  padding: 10px;
}

.escoResourceInfoItem__copyIcon {
  fill: var(--es-primary);
  font-size: 18px;
}

.escoResourceInfoItem__advancedButton {
  margin-bottom: 6px;
  margin-left: -8px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/ResourceInfo/index.scss"],"names":[],"mappings":"AAEA;EACE,gBAAA;EACA,aAAA;EACA,8BAAA;AADF;;AAIA;EACE,oBAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;AADF;;AAIA;EACE,qBAAA;EACA,eAAA;EACA,gBAAA;EACA,uBAAA;EACA,mBAAA;AADF;;AAIA;EACE,eAAA;EACA,gBAAA;EACA,kBAAA;EACA,uBAAA;EACA,mBAAA;AADF;;AAIA;EACE,aAAA;EACA,gBAAA;AADF;;AAIA;EACE,yBAAA;AADF;;AAIA;EACE,uBAAA;AADF;;AAIA;EACE,aAAA;EACA,8BAAA;EACA,YAAA;AADF;;AAIA;EACE,qBAAA;EACA,iBAAA;AADF;;AAIA;EACE,eAAA;EACA,kBAAA;AADF;;AAIA;EACE,aAAA;EACA,iBAAA;AADF;;AAIA;EACE,qBAAA;EACA,uBAAA;EACA,qBAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,gBAAA;EACA,aAAA;AADF;;AAIA;EACE,uBAAA;EACA,eAAA;AADF;;AAIA;EACE,kBAAA;EACA,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoResourceTabContainer {\n  column-gap: 16px;\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n}\n\n.escoResourceInfoItem {\n  padding-bottom: 12px;\n}\n\n.escoResourceInfoItem__title {\n  font-weight: bold;\n}\n\n.escoResourceInfoItem__resourceLinkContainer {\n  align-items: center;\n  display: flex;\n}\n\n.escoResourceInfoItem__resourceLink {\n  display: inline-block;\n  max-width: 35ch;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.escoResourceInfoItem__baseText {\n  max-width: 35ch;\n  overflow: hidden;\n  padding: 4px 0 8px;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.escoResourceInfoItem__downloadlinks {\n  display: flex;\n  padding-top: 8px;\n}\n\n.escoResourceInfoItem__textLine {\n  overflow-wrap: break-word;\n}\n\n.escoResourceTabSection__title {\n  color: var(--es-accent);\n}\n\n.escoResourceTabSection__children {\n  display: grid;\n  grid-template-columns: 1fr 2fr;\n  row-gap: 8px;\n}\n\n.escoResourceTabItem__label {\n  color: var(--es-text);\n  font-weight: bold;\n}\n\n.escoResourceTabItem__link {\n  cursor: pointer;\n  width: fit-content;\n}\n\n.escoResourceTabItem__linkContainer {\n  display: flex;\n  flex-flow: column;\n}\n\n.escoResourceTabItem__value {\n  color: var(--es-text);\n  overflow-wrap: anywhere;\n  word-wrap: break-word;\n}\n\n.escoResourceDownloadSection {\n  margin-bottom: 18px;\n}\n\n.escoResourceInfoItem__copyButton {\n  margin-left: 6px;\n  padding: 10px;\n}\n\n.escoResourceInfoItem__copyIcon {\n  fill: var(--es-primary);\n  font-size: 18px;\n}\n\n.escoResourceInfoItem__advancedButton {\n  margin-bottom: 6px;\n  margin-left: -8px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoRevisionsPresenter__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,yBAAA;EACA,gBAAA;AACF","sourcesContent":[".escoRevisionsPresenter__actions {\n  display: flex;\n  justify-content: flex-end;\n  margin-top: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/tags/Tag/Tag.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/tags/Tag/Tag.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoTag {
  border-radius: 4px;
  font-size: 12px;
  margin: 1px 2px 0 0;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/tags/Tag/Tag.scss"],"names":[],"mappings":"AAAA;EACE,kBAAA;EACA,eAAA;EACA,mBAAA;AACF","sourcesContent":[".escoTag {\n  border-radius: 4px;\n  font-size: 12px;\n  margin: 1px 2px 0 0;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/toggles/Toggle/Toggle.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/toggles/Toggle/Toggle.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoToggle__switchLabel {
  align-items: center;
  display: flex;
  padding-left: 11px;
}

.escoToggle__icon--dense {
  min-width: 40px;
}

.escaToggle__primaryLabel {
  font-weight: 600;
}

.escoToggle__labelSecondary {
  font-size: 16px;
  line-height: 1.5;
}

.escoToggle__labelSecondary--inactive {
  color: var(--es-error);
}

.escoToggle__secondaryAction {
  right: 16px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/components/toggles/Toggle/Toggle.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,kBAAA;AACF;;AAEA;EACE,eAAA;AACF;;AAEA;EACE,gBAAA;AACF;;AAEA;EACE,eAAA;EACA,gBAAA;AACF;;AAEA;EACE,sBAAA;AACF;;AAEA;EACE,WAAA;AACF","sourcesContent":[".escoToggle__switchLabel {\n  align-items: center;\n  display: flex;\n  padding-left: 11px;\n}\n\n.escoToggle__icon--dense {\n  min-width: 40px;\n}\n\n.escaToggle__primaryLabel {\n  font-weight: 600;\n}\n\n.escoToggle__labelSecondary {\n  font-size: 16px;\n  line-height: 1.5;\n}\n\n.escoToggle__labelSecondary--inactive {\n  color: var(--es-error);\n}\n\n.escoToggle__secondaryAction {\n  right: 16px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/errors/ErrorDialog/ErrorDialog.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/errors/ErrorDialog/ErrorDialog.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoErrorDialog__content {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  padding: 60px 75px !important;
}

.escoErrorDialog__row {
  flex: 1 1 100%;
}

.escoErrorDialog__icon {
  font-size: 36px;
}

.escoErrorDialogAccordion {
  background: var(--es-canvas);
}

.escoErrorDialogAccordionDetails__label {
  color: var(--es-surface);
  word-break: break-all;
}

.escoErrorDialogAccordionSummary {
  border: 1px solid var(--es-text);
  border-radius: 4px;
  height: 24px;
  min-height: 24px;
}

.escoErrorDialogAccordionSummary--expanded {
  min-height: 24px !important;
}

.escoErrorDialogAccordionDetails {
  border-radius: 4px;
  margin-top: 12px;
  padding: 0;
}

.escoErrorDialogAccordionDetails__paper {
  background: #191c1d;
  color: #ffffff;
  flex: 1;
  padding: 6px 16px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/errors/ErrorDialog/ErrorDialog.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;EACA,aAAA;EACA,eAAA;EACA,6BAAA;AADF;;AAIA;EACE,cAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,4BAAA;AADF;;AAIA;EACE,wBAAA;EACA,qBAAA;AADF;;AAIA;EACE,gCAAA;EACA,kBAAA;EACA,YAAA;EACA,gBAAA;AADF;;AAIA;EACE,2BAAA;AADF;;AAIA;EACE,kBAAA;EACA,gBAAA;EACA,UAAA;AADF;;AAIA;EACE,mBCvBU;EDwBV,cC3CW;ED4CX,OAAA;EACA,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoErrorDialog__content {\n  align-items: center;\n  display: flex;\n  flex-wrap: wrap;\n  padding: 60px 75px !important;\n}\n\n.escoErrorDialog__row {\n  flex: 1 1 100%;\n}\n\n.escoErrorDialog__icon {\n  font-size: 36px;\n}\n\n.escoErrorDialogAccordion {\n  background: var(--es-canvas);\n}\n\n.escoErrorDialogAccordionDetails__label {\n  color: var(--es-surface);\n  word-break: break-all;\n}\n\n.escoErrorDialogAccordionSummary {\n  border: 1px solid var(--es-text);\n  border-radius: 4px;\n  height: 24px;\n  min-height: 24px;\n}\n\n.escoErrorDialogAccordionSummary--expanded {\n  min-height: 24px !important;\n}\n\n.escoErrorDialogAccordionDetails {\n  border-radius: 4px;\n  margin-top: 12px;\n  padding: 0;\n}\n\n.escoErrorDialogAccordionDetails__paper {\n  background: $info-main;\n  color: $white-main;\n  flex: 1;\n  padding: 6px 16px;\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoMaintenanceDialogTitle {
  align-items: center;
  display: flex;
}

.escoMaintenanceDialogTitle__icon {
  margin-left: 6px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;AACF;;AAEA;EACE,gBAAA;AACF","sourcesContent":[".escoMaintenanceDialogTitle {\n  align-items: center;\n  display: flex;\n}\n\n.escoMaintenanceDialogTitle__icon {\n  margin-left: 6px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/nav/components/Cards/index.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/nav/components/Cards/index.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreCards {
  background-color: var(--es-surface);
  padding: 18px 48px 31px;
}

.escoCards {
  background-color: var(--es-canvas);
  padding: 48px;
}

.escoCardList {
  max-width: 1000px;
  width: 100%;
}

.esreCardList__li {
  justify-content: center;
  padding: 18px 24px;
}

.esreCardList__li:hover {
  background-color: var(--es-surface-light);
}

.escoCardList__li {
  background-color: var(--es-surface);
  justify-content: center;
  padding: 18px 24px;
}

.escoCardList__li:hover {
  background-color: var(--es-surface-light);
}

.escoLinkWrapper {
  color: var(--es-text);
  text-decoration: none;
}

.escoCard {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.escoCard__header,
.escoCard_footer {
  align-items: flex-end;
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
}

.escoCard__text {
  font-size: 18px;
}

.escoCard__text--color-blue {
  color: var(--es-primary);
}

.escoCard__linkIcon {
  font-size: 14px;
  margin-left: 2px;
  place-self: start;
}`, "",{"version":3,"sources":["webpack://./modules/commons/nav/components/Cards/index.scss"],"names":[],"mappings":"AAEA;EACE,mCAAA;EACA,uBAAA;AADF;;AAIA;EACE,kCAAA;EACA,aAAA;AADF;;AAIA;EACE,iBAAA;EACA,WAAA;AADF;;AAIA;EACE,uBAAA;EACA,kBAAA;AADF;;AAIA;EACE,yCAAA;AADF;;AAIA;EACE,mCAAA;EACA,uBAAA;EACA,kBAAA;AADF;;AAIA;EACE,yCAAA;AADF;;AAIA;EACE,qBAAA;EACA,qBAAA;AADF;;AAIA;EACE,mBAAA;EACA,oBAAA;EACA,sBAAA;EACA,YAAA;EACA,uBAAA;EACA,WAAA;AADF;;AAIA;;EAEE,qBAAA;EACA,oBAAA;EACA,mBAAA;EACA,2BAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,wBAAA;AADF;;AAIA;EACE,eAAA;EACA,gBAAA;EACA,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreCards {\n  background-color: var(--es-surface);\n  padding: 18px 48px 31px;\n}\n\n.escoCards {\n  background-color: var(--es-canvas);\n  padding: 48px;\n}\n\n.escoCardList {\n  max-width: 1000px;\n  width: 100%;\n}\n\n.esreCardList__li {\n  justify-content: center;\n  padding: 18px 24px;\n}\n\n.esreCardList__li:hover {\n  background-color: var(--es-surface-light);\n}\n\n.escoCardList__li {\n  background-color: var(--es-surface);\n  justify-content: center;\n  padding: 18px 24px;\n}\n\n.escoCardList__li:hover {\n  background-color: var(--es-surface-light);\n}\n\n.escoLinkWrapper {\n  color: var(--es-text);\n  text-decoration: none;\n}\n\n.escoCard {\n  align-items: center;\n  display: inline-flex;\n  flex-direction: column;\n  height: 100%;\n  justify-content: center;\n  width: 100%;\n}\n\n.escoCard__header,\n.escoCard_footer {\n  align-items: flex-end;\n  display: inline-flex;\n  flex-direction: row;\n  justify-content: flex-start;\n}\n\n.escoCard__text {\n  font-size: 18px;\n}\n\n.escoCard__text--color-blue {\n  color: var(--es-primary);\n}\n\n.escoCard__linkIcon {\n  font-size: 14px;\n  margin-left: 2px;\n  place-self: start;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/nav/components/StartBanner/index.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/nav/components/StartBanner/index.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoStartBanner {
  padding: 48px;
}

.escoStartBanner__GridItem {
  padding: 0 24px;
}

.escoStartBanner__header {
  color: var(--es-accent);
  height: 54px;
}

.escoStartBanner__text {
  color: var(--es-text);
  font-size: 21px;
}

.escoStartBanner__buttonContainer {
  width: 40%;
}

.escoStartBanner__GridItem--padding-top {
  padding-top: 24px;
}

.escoStartBanner__GridItem--margin-right {
  margin-right: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/nav/components/StartBanner/index.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;AADF;;AAGA;EACE,eAAA;AAAF;;AAEA;EACE,uBAAA;EACA,YAAA;AACF;;AACA;EACE,qBAAA;EACA,eAAA;AAEF;;AAAA;EACE,UAAA;AAGF;;AADA;EACE,iBAAA;AAIF;;AAFA;EACE,kBAAA;AAKF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoStartBanner {\n  padding: 48px;\n}\n.escoStartBanner__GridItem {\n  padding: 0 24px;\n}\n.escoStartBanner__header {\n  color: var(--es-accent);\n  height: 54px;\n}\n.escoStartBanner__text {\n  color: var(--es-text);\n  font-size: 21px;\n}\n.escoStartBanner__buttonContainer {\n  width: 40%;\n}\n.escoStartBanner__GridItem--padding-top {\n  padding-top: 24px;\n}\n.escoStartBanner__GridItem--margin-right {\n  margin-right: 12px;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/types/ProfileChooser/ProfileChooser.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/types/ProfileChooser/ProfileChooser.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoProfileChooserButton {
  margin-left: 24px;
  width: 110px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/types/ProfileChooser/ProfileChooser.scss"],"names":[],"mappings":"AAAA;EACE,iBAAA;EACA,YAAA;AACF","sourcesContent":[".escoProfileChooserButton {\n  margin-left: 24px;\n  width: 110px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoProfileChooser__card {
  width: 100%;
  margin-top: 12px;
}

.escoProfileChooser__card--selected {
  outline: 2px solid var(--es-primary);
}

.escoProfileChooser__infoBlock {
  margin-top: 24px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.scss"],"names":[],"mappings":"AAEA;EACE,WAAA;EAEA,gBAAA;AAFF;;AAKA;EACE,oCAAA;AAFF;;AAKA;EACE,gBAAA;AAFF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.escoProfileChooser__card {\n  width: 100%;\n  // margin-bottom: 12px;\n  margin-top: 12px;\n}\n\n.escoProfileChooser__card--selected {\n  outline: 2px solid var(--es-primary);\n}\n\n.escoProfileChooser__infoBlock {\n  margin-top: 24px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/view/Error/index.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/view/Error/index.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.escoError {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 800px;
  justify-content: center;
}

.escoError__header {
  color: var(--es-accent);
  margin-top: 54px;
}

.escoError__body {
  font-size: 21px;
  margin-top: 18px;
}`, "",{"version":3,"sources":["webpack://./modules/commons/view/Error/index.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,sBAAA;EACA,aAAA;EACA,uBAAA;AACF;;AAEA;EACE,uBAAA;EACA,gBAAA;AACF;;AAEA;EACE,eAAA;EACA,gBAAA;AACF","sourcesContent":[".escoError {\n  align-items: center;\n  display: flex;\n  flex-direction: column;\n  height: 800px;\n  justify-content: center;\n}\n\n.escoError__header {\n  color: var(--es-accent);\n  margin-top: 54px;\n}\n\n.escoError__body {\n  font-size: 21px;\n  margin-top: 18px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/Information.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/Information.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreInformation {
  background-color: var(--es-canvas);
  display: flex;
}

.esreInformation__actions {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.esreInformation__actionButton {
  width: 180px;
}

.esreInformation_sidebarItem {
  padding: 6px 16px;
}

.esreInformation__data {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.esreInformation__Label {
  font-weight: bold;
}

.esreInformation__ListItem {
  display: inherit;
}

.esreInformation__infoBlock {
  margin: 10px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Information/Information.scss"],"names":[],"mappings":"AAEA;EACE,kCAAA;EACA,aAAA;AADF;;AAIA;EACE,aAAA;EACA,sBAAA;EACA,gBAAA;AADF;;AAIA;EACE,YAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,aAAA;EACA,sBAAA;EACA,YAAA;EACA,YAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,YAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreInformation {\n  background-color: var(--es-canvas);\n  display: flex;\n}\n\n.esreInformation__actions {\n  display: flex;\n  flex-direction: column;\n  margin-top: 12px;\n}\n\n.esreInformation__actionButton {\n  width: 180px;\n}\n\n.esreInformation_sidebarItem {\n  padding: 6px 16px;\n}\n\n.esreInformation__data {\n  display: flex;\n  flex-direction: column;\n  flex-grow: 1;\n  min-width: 0;\n}\n\n.esreInformation__Label {\n  font-weight: bold;\n}\n\n.esreInformation__ListItem {\n  display: inherit;\n}\n\n.esreInformation__infoBlock {\n  margin: 10px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/PipelinePresenter/PipelinePresenter.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/PipelinePresenter/PipelinePresenter.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esrePipelinePresenter__transformsButton {
  margin-bottom: 10px;
  margin-left: 12px;
  width: fit-content;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Information/PipelinePresenter/PipelinePresenter.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,iBAAA;EACA,kBAAA;AACF","sourcesContent":[".esrePipelinePresenter__transformsButton {\n  margin-bottom: 10px;\n  margin-left: 12px;\n  width: fit-content;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/TransformsPresenter/TransformsPresenter.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/TransformsPresenter/TransformsPresenter.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreTransformsPresenter__name {
  color: var(--es-accent);
  font-weight: 600;
}

.esreTransformsPresenter__timelineOppositeContent {
  flex: 0.01;
  padding-left: 0;
}

.esreTransformsPresenter__Table {
  margin-bottom: 24px;
  margin-top: 12px;
}

.esreTransformsPresenter__TableCell--first {
  font-weight: 600;
  width: 100px;
}

.esreTransformsPresenter__header {
  margin-left: 16px;
  margin-top: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Information/TransformsPresenter/TransformsPresenter.scss"],"names":[],"mappings":"AAAA;EACE,uBAAA;EACA,gBAAA;AACF;;AAEA;EACE,UAAA;EACA,eAAA;AACF;;AAEA;EACE,mBAAA;EACA,gBAAA;AACF;;AAEA;EACE,gBAAA;EACA,YAAA;AACF;;AAEA;EACE,iBAAA;EACA,gBAAA;AACF","sourcesContent":[".esreTransformsPresenter__name {\n  color: var(--es-accent);\n  font-weight: 600;\n}\n\n.esreTransformsPresenter__timelineOppositeContent {\n  flex: 0.01;\n  padding-left: 0;\n}\n\n.esreTransformsPresenter__Table {\n  margin-bottom: 24px;\n  margin-top: 12px;\n}\n\n.esreTransformsPresenter__TableCell--first {\n  font-weight: 600;\n  width: 100px;\n}\n\n.esreTransformsPresenter__header {\n  margin-left: 16px;\n  margin-top: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/LinkCheckReport/LinkCheckReport.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/LinkCheckReport/LinkCheckReport.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreLinkCheck__HeaderContainer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.esreLinkCheckDashboard {
  display: flex;
  margin: 36px 0;
}

.esreLinkCheckDashboard__Card {
  flex: 1;
  text-align: center;
}

.esreLinkCheckDashboard__CardContent--failed {
  color: #de524c;
}

.esreLinkCheckDashboard__CardContent--excluded {
  color: #f7ce26;
}

.esreTableCell--bold {
  font-weight: 600;
}

.esreTable__header {
  margin: 24px 0 12px;
}

.esreLinkCheck__Header {
  background-color: var(--es-surface);
}

.esreOpenNewLink__Link {
  display: flex;
}

.esreViewRawData__Icon {
  height: 12px;
  margin: 6px 0 0 6px;
  width: 12px;
}

.esreTableCell--broken {
  color: #de524c;
}

.esreUriLink {
  font-size: inherit;
  font-weight: 600;
}

.esreUriLink:hover {
  text-decoration: underline !important;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/LinkCheckReport/LinkCheckReport.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;EACA,8BAAA;EACA,gBAAA;AADF;;AAIA;EACE,aAAA;EACA,cAAA;AADF;;AAIA;EACE,OAAA;EACA,kBAAA;AADF;;AAIA;EACE,cCKY;ADNd;;AAIA;EACE,cCGa;ADJf;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,mCAAA;AADF;;AAIA;EACE,aAAA;AADF;;AAIA;EACE,YAAA;EACA,mBAAA;EACA,WAAA;AADF;;AAIA;EACE,cCzBY;ADwBd;;AAIA;EACE,kBAAA;EACA,gBAAA;AADF;;AAIA;EACE,qCAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreLinkCheck__HeaderContainer {\n  display: flex;\n  justify-content: space-between;\n  margin-top: 12px;\n}\n\n.esreLinkCheckDashboard {\n  display: flex;\n  margin: 36px 0;\n}\n\n.esreLinkCheckDashboard__Card {\n  flex: 1;\n  text-align: center;\n}\n\n.esreLinkCheckDashboard__CardContent--failed {\n  color: $error-light;\n}\n\n.esreLinkCheckDashboard__CardContent--excluded {\n  color: $warning-main;\n}\n\n.esreTableCell--bold {\n  font-weight: 600;\n}\n\n.esreTable__header {\n  margin: 24px 0 12px;\n}\n\n.esreLinkCheck__Header {\n  background-color: var(--es-surface);\n}\n\n.esreOpenNewLink__Link {\n  display: flex;\n}\n\n.esreViewRawData__Icon {\n  height: 12px;\n  margin: 6px 0 0 6px;\n  width: 12px;\n}\n\n.esreTableCell--broken {\n  color: $error-light;\n}\n\n.esreUriLink {\n  font-size: inherit;\n  font-weight: 600;\n}\n\n.esreUriLink:hover {\n  text-decoration: underline !important;\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.linkCheckDetails__referencesTitle {
  font-size: 18.72px;
  font-weight: bold;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.scss"],"names":[],"mappings":"AAAA;EACE,kBAAA;EACA,iBAAA;AACF","sourcesContent":[".linkCheckDetails__referencesTitle {\n  font-size: 18.72px;\n  font-weight: bold;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Notifications/Notifications.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Notifications/Notifications.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreNotifications__view {
  width: 675px;
}

.esreNotifications__view__label {
  font-weight: bold;
  margin-bottom: 4px;
}

.esreNotifications__notificationStatus {
  margin-top: 12px;
}

.esreNotifications__editButton {
  text-align: right;
}

.esreNotifications__view__text {
  padding-top: 12px;
}

.esreNotifications__form {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.esreNotifications__inputLabel {
  display: inline-block;
  padding: 7px 0 9px;
  position: relative;
  transform: translate(0, 0);
  width: 100%;
}

.esreNotifications__typography {
  margin-top: 18px;
}

.esreNotifications__h2 {
  margin-top: 28px;
  padding-bottom: 10px;
}

.esreNotifications__formControl {
  align-items: baseline;
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  padding-bottom: 18px;
}

.esreNotifications__formControlLabel {
  align-self: flex-start;
  margin: 24.5px 0 25px;
}

.esreNotifications__select {
  max-width: 271px;
}

.esreNotifications__label {
  margin-right: 14px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Notifications/Notifications.scss"],"names":[],"mappings":"AAAA;EACE,YAAA;AACF;;AAEA;EACE,iBAAA;EACA,kBAAA;AACF;;AAEA;EACE,gBAAA;AACF;;AAEA;EACE,iBAAA;AACF;;AAEA;EACE,iBAAA;AACF;;AAEA;EACE,oBAAA;EACA,sBAAA;EACA,2BAAA;EACA,WAAA;AACF;;AAGA;EACE,qBAAA;EACA,kBAAA;EACA,kBAAA;EACA,0BAAA;EACA,WAAA;AAAF;;AAGA;EACE,gBAAA;AAAF;;AAGA;EACE,gBAAA;EACA,oBAAA;AAAF;;AAGA;EACE,qBAAA;EACA,oBAAA;EACA,mBAAA;EACA,2BAAA;EACA,oBAAA;AAAF;;AAGA;EACE,sBAAA;EACA,qBAAA;AAAF;;AAGA;EACE,gBAAA;AAAF;;AAGA;EACE,kBAAA;AAAF","sourcesContent":[".esreNotifications__view {\n  width: 675px;\n}\n\n.esreNotifications__view__label {\n  font-weight: bold;\n  margin-bottom: 4px;\n}\n\n.esreNotifications__notificationStatus {\n  margin-top: 12px;\n}\n\n.esreNotifications__editButton {\n  text-align: right;\n}\n\n.esreNotifications__view__text {\n  padding-top: 12px;\n}\n\n.esreNotifications__form {\n  display: inline-flex;\n  flex-direction: column;\n  justify-content: flex-start;\n  width: 100%;\n}\n\n// override MuiInputLabel-formControl class\n.esreNotifications__inputLabel {\n  display: inline-block;\n  padding: 7px 0 9px;\n  position: relative;\n  transform: translate(0, 0);\n  width: 100%;\n}\n\n.esreNotifications__typography {\n  margin-top: 18px;\n}\n\n.esreNotifications__h2 {\n  margin-top: 28px;\n  padding-bottom: 10px;\n}\n\n.esreNotifications__formControl {\n  align-items: baseline;\n  display: inline-flex;\n  flex-direction: row;\n  justify-content: flex-start;\n  padding-bottom: 18px;\n}\n\n.esreNotifications__formControlLabel {\n  align-self: flex-start;\n  margin: 24.5px 0 25px;\n}\n\n.esreNotifications__select {\n  max-width: 271px;\n}\n\n.esreNotifications__label {\n  margin-right: 14px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Statistics/tables/index.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Statistics/tables/index.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreStatistics--padding-bottom {
  padding-bottom: 9px;
}

.esreStatistics__header {
  margin: 24px 0 12px 0;
}

.esreStatisics__Progress {
  height: 186px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esreTable__th--bold {
  font-weight: 600;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Statistics/tables/index.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;AACF;;AACA;EACE,qBAAA;AAEF;;AAAA;EACE,aAAA;EACA,WAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;AAGF;;AADA;EACE,gBAAA;AAIF","sourcesContent":[".esreStatistics--padding-bottom {\n  padding-bottom: 9px;\n}\n.esreStatistics__header {\n  margin: 24px 0 12px 0;\n}\n.esreStatisics__Progress {\n  height: 186px;\n  width: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n.esreTable__th--bold {\n  font-weight: 600;\n}"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Status/HarvestReport/HarvestReport.scss"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Status/HarvestReport/HarvestReport.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreHarvestReport__BlockTime {
  align-items: center;
  color: var(--es-text-secondary);
  display: flex;
}

.esreHarvestReport__Time {
  margin: 0 18px;
  width: 230px;
}

.esreHarvestReportCard__Button {
  margin-left: -8px;
  margin-top: -12px;
}

.esreHarvestReportCardBlock {
  padding: 24px 0;
}

.esreHarvestReportCardBlock:first-child {
  padding-top: 10px;
}

.esreHarvestReportCardBlock__Header {
  color: var(--es-accent);
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 12px;
}

.esreHarvestReport__Cards {
  display: flex;
}

.esreHarvestReport__Card {
  width: 25%;
}

.esreHarvestReportCard__Header {
  font-weight: bold;
}

.esreHarvestReportAlert {
  margin-bottom: 16px;
  max-width: 800px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Status/HarvestReport/HarvestReport.scss"],"names":[],"mappings":"AAEA;EACE,mBAAA;EACA,+BAAA;EACA,aAAA;AADF;;AAIA;EACE,cAAA;EACA,YAAA;AADF;;AAIA;EACE,iBAAA;EACA,iBAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,uBAAA;EACA,eAAA;EACA,iBAAA;EACA,mBAAA;AADF;;AAIA;EACE,aAAA;AADF;;AAIA;EACE,UAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,mBAAA;EACA,gBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreHarvestReport__BlockTime {\n  align-items: center;\n  color: var(--es-text-secondary);\n  display: flex;\n}\n\n.esreHarvestReport__Time {\n  margin: 0 18px;\n  width: 230px;\n}\n\n.esreHarvestReportCard__Button {\n  margin-left: -8px;\n  margin-top: -12px;\n}\n\n.esreHarvestReportCardBlock {\n  padding: 24px 0;\n}\n\n.esreHarvestReportCardBlock:first-child {\n  padding-top: 10px;\n}\n\n.esreHarvestReportCardBlock__Header {\n  color: var(--es-accent);\n  font-size: 21px;\n  font-weight: bold;\n  margin-bottom: 12px;\n}\n\n.esreHarvestReport__Cards {\n  display: flex;\n}\n\n.esreHarvestReport__Card {\n  width: 25%;\n}\n\n.esreHarvestReportCard__Header {\n  font-weight: bold;\n}\n\n.esreHarvestReportAlert {\n  margin-bottom: 16px;\n  max-width: 800px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Status/index.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Status/index.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreHarvestStatus__Header {
  border-bottom: 2px solid var(--es-input-bg);
  margin: 6px 0 36px;
  padding: 24px 0;
}

.esreHarvestReportList {
  padding-bottom: 24px;
}

.esrePipelineResultHeader {
  align-items: center;
  border-bottom: 2px solid var(--es-input-bg);
  display: flex;
  font-size: 21px;
  justify-content: space-between;
  margin-bottom: 24px;
  margin-top: 36px;
  padding-bottom: 6px;
}

.esrePipelineResultHeader__actions {
  align-items: center;
  display: flex;
}

.esreHarvestList__Refresh {
  margin-right: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Status/index.scss"],"names":[],"mappings":"AAAA;EACE,2CAAA;EACA,kBAAA;EACA,eAAA;AACF;;AAEA;EACE,oBAAA;AACF;;AAEA;EACE,mBAAA;EACA,2CAAA;EACA,aAAA;EACA,eAAA;EACA,8BAAA;EACA,mBAAA;EACA,gBAAA;EACA,mBAAA;AACF;;AAEA;EACE,mBAAA;EACA,aAAA;AACF;;AAEA;EACE,kBAAA;AACF","sourcesContent":[".esreHarvestStatus__Header {\n  border-bottom: 2px solid var(--es-input-bg);\n  margin: 6px 0 36px;\n  padding: 24px 0;\n}\n\n.esreHarvestReportList {\n  padding-bottom: 24px;\n}\n\n.esrePipelineResultHeader {\n  align-items: center;\n  border-bottom: 2px solid var(--es-input-bg);\n  display: flex;\n  font-size: 21px;\n  justify-content: space-between;\n  margin-bottom: 24px;\n  margin-top: 36px;\n  padding-bottom: 6px;\n}\n\n.esrePipelineResultHeader__actions {\n  align-items: center;\n  display: flex;\n}\n\n.esreHarvestList__Refresh {\n  margin-right: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Validation/Validation.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Validation/Validation.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreValidation__header {
  margin-bottom: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/Validation/Validation.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;AACF","sourcesContent":[".esreValidation__header {\n  margin-bottom: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreAppBar__Tabs {
  box-shadow: none;
  margin-bottom: 12px;
}

.esreTabs {
  background-color: var(--es-surface);
  padding-left: 24px;
}

.esreTabPanel__button {
  align-items: center;
  background-color: var(--es-surface-light);
  border-radius: 4px;
  color: var(--es-text);
  display: flex;
  font-size: 14px;
  justify-content: center;
  padding: 2px 4px;
}

.esreTabPanel__buttons {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.esreOpenNewLink__Icon {
  height: 12px;
  margin-left: 5px;
  width: 12px;
}

.esrePipelineDialog__DialogTitle {
  background-color: var(--es-surface);
  color: var(--es-text);
  font-size: 28px;
  padding: 24px;
}

.esrePipelineDialog__DialogContent {
  height: 60vh;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.scss"],"names":[],"mappings":"AAEA;EACE,gBAAA;EACA,mBAAA;AADF;;AAIA;EACE,mCAAA;EACA,kBAAA;AADF;;AAIA;EACE,mBAAA;EACA,yCAAA;EACA,kBAAA;EACA,qBAAA;EACA,aAAA;EACA,eAAA;EACA,uBAAA;EACA,gBAAA;AADF;;AAIA;EACE,aAAA;EACA,QAAA;EACA,yBAAA;AADF;;AAIA;EACE,YAAA;EACA,gBAAA;EACA,WAAA;AADF;;AAIA;EACE,mCAAA;EACA,qBAAA;EACA,eAAA;EACA,aAAA;AADF;;AAIA;EACE,YAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreAppBar__Tabs {\n  box-shadow: none;\n  margin-bottom: 12px;\n}\n\n.esreTabs {\n  background-color: var(--es-surface);\n  padding-left: 24px;\n}\n\n.esreTabPanel__button {\n  align-items: center;\n  background-color: var(--es-surface-light);\n  border-radius: 4px;\n  color: var(--es-text);\n  display: flex;\n  font-size: 14px;\n  justify-content: center;\n  padding: 2px 4px;\n}\n\n.esreTabPanel__buttons {\n  display: flex;\n  gap: 4px;\n  justify-content: flex-end;\n}\n\n.esreOpenNewLink__Icon {\n  height: 12px;\n  margin-left: 5px;\n  width: 12px;\n}\n\n.esrePipelineDialog__DialogTitle {\n  background-color: var(--es-surface);\n  color: var(--es-text);\n  font-size: 28px;\n  padding: 24px;\n}\n\n.esrePipelineDialog__DialogContent {\n  height: 60vh;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/forms/PipelineForm/PipelineForm.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/forms/PipelineForm/PipelineForm.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esrePipelineForm__header {
  margin-top: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/forms/PipelineForm/PipelineForm.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;AACF","sourcesContent":[".esrePipelineForm__header {\n  margin-top: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/forms/TransformsForm/TransformsForm.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/forms/TransformsForm/TransformsForm.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreTransformsForm {
  display: flex;
  flex-direction: column;
}

.esreTransformsForm__formGroup {
  padding: 16px 12px 16px 24px;
}

.esreTransformsForm__header {
  margin-top: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/harvest/forms/TransformsForm/TransformsForm.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,sBAAA;AACF;;AAEA;EACE,4BAAA;AACF;;AAEA;EACE,gBAAA;AACF","sourcesContent":[".esreTransformsForm {\n  display: flex;\n  flex-direction: column;\n}\n\n.esreTransformsForm__formGroup {\n  padding: 16px 12px 16px 24px;\n}\n\n.esreTransformsForm__header {\n  margin-top: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/components/ExtendsButton/ExtendsButton.scss"
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/components/ExtendsButton/ExtendsButton.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoExtends {
  margin-bottom: 16px;
  margin-right: 48px;
  margin-top: -12px;
}
.esmoExtends .esmoFieldsPresenter {
  margin-bottom: 0;
}

.esmoExtendsButton {
  font-size: 0.875rem;
  margin: 6px 0;
  padding: 0;
}
.esmoExtendsButton .esmoExtendsButton__icon {
  font-size: 1.125rem;
  margin-left: 2px;
  vertical-align: text-bottom;
}

.esmoExtends__collapse {
  margin-bottom: 0;
}`, "",{"version":3,"sources":["webpack://./modules/models/components/ExtendsButton/ExtendsButton.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,kBAAA;EACA,iBAAA;AACF;AACE;EACE,gBAAA;AACJ;;AAGA;EACE,mBAAA;EACA,aAAA;EACA,UAAA;AAAF;AAEE;EACE,mBAAA;EACA,gBAAA;EACA,2BAAA;AAAJ;;AAIA;EACE,gBAAA;AADF","sourcesContent":[".esmoExtends {\n  margin-bottom: 16px;\n  margin-right: 48px;\n  margin-top: -12px;\n\n  .esmoFieldsPresenter {\n    margin-bottom: 0;\n  }\n}\n\n.esmoExtendsButton {\n  font-size: 0.875rem;\n  margin: 6px 0;\n  padding: 0;\n\n  .esmoExtendsButton__icon {\n    font-size: 1.125rem;\n    margin-left: 2px;\n    vertical-align: text-bottom;\n  }\n}\n\n.esmoExtends__collapse {\n  margin-bottom: 0;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/AttributesEditor/AttributesEditor.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/AttributesEditor/AttributesEditor.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoAttributesEditorFilters {
  align-items: center;
  display: flex;
  margin-top: 4px;
}`, "",{"version":3,"sources":["webpack://./modules/models/editors/AttributesEditor/AttributesEditor.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,eAAA;AACF","sourcesContent":[".esmoAttributesEditorFilters {\n  align-items: center;\n  display: flex;\n  margin-top: 4px;\n};\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/ConstraintEditor/ConstraintEditor.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/ConstraintEditor/ConstraintEditor.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoConstraintEditor {
  border: 1px solid var(--es-border);
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 16px 12px 0 24px;
  width: 100%;
}`, "",{"version":3,"sources":["webpack://./modules/models/editors/ConstraintEditor/ConstraintEditor.scss"],"names":[],"mappings":"AAAA;EACE,kCAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,WAAA;AACF","sourcesContent":[".esmoConstraintEditor {\n  border: 1px solid var(--es-border);\n  border-radius: 4px;\n  margin-bottom: 16px;\n  padding: 16px 12px 0 24px;\n  width: 100%;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/FieldEditor/FieldEditor.scss"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/FieldEditor/FieldEditor.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoExtendsFieldEditor .esmoFields {
  margin-bottom: 0;
}

.esmoExtendsModeChip {
  border-radius: 4px;
  font-size: 12px;
  margin: 1px 2px 0 0;
}
.esmoExtendsModeChip .MuiChip-label {
  padding-left: 10px;
  padding-right: 6px;
}

.esmoExtendsModeChip__label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.esmoExtendsFieldEditor--replace .esmoExtendsModeChip {
  margin-bottom: 8px;
}

.esmoExtendsFieldEditor__placeholder {
  font-style: italic;
  margin-top: 8px;
}`, "",{"version":3,"sources":["webpack://./modules/models/editors/FieldEditor/FieldEditor.scss"],"names":[],"mappings":"AAAA;EACE,gBAAA;AACF;;AAEA;EACE,kBAAA;EACA,eAAA;EACA,mBAAA;AACF;AACE;EACE,kBAAA;EACA,kBAAA;AACJ;;AAGA;EACE,mBAAA;EACA,oBAAA;EACA,QAAA;AAAF;;AAGA;EACE,kBAAA;AAAF;;AAGA;EACE,kBAAA;EACA,eAAA;AAAF","sourcesContent":[".esmoExtendsFieldEditor .esmoFields {\n  margin-bottom: 0;\n}\n\n.esmoExtendsModeChip {\n  border-radius: 4px;\n  font-size: 12px;\n  margin: 1px 2px 0 0;\n\n  .MuiChip-label {\n    padding-left: 10px;\n    padding-right: 6px;\n  }\n}\n\n.esmoExtendsModeChip__label {\n  align-items: center;\n  display: inline-flex;\n  gap: 6px;\n}\n\n.esmoExtendsFieldEditor--replace .esmoExtendsModeChip {\n  margin-bottom: 8px;\n}\n\n.esmoExtendsFieldEditor__placeholder {\n  font-style: italic;\n  margin-top: 8px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/presenters/Attributes/Attributes.scss"
/*!***********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/presenters/Attributes/Attributes.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoAttributes__chip {
  margin: 4px 8px 2px 0;
}
.esmoAttributes__chip:last-child {
  margin-right: 0;
}`, "",{"version":3,"sources":["webpack://./modules/models/presenters/Attributes/Attributes.scss"],"names":[],"mappings":"AAAA;EACE,qBAAA;AACF;AACE;EACE,eAAA;AACJ","sourcesContent":[".esmoAttributes__chip {\n  margin: 4px 8px 2px 0;\n\n  &:last-child {\n    margin-right: 0;\n  }\n};\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/presenters/Constraints/Constraints.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/presenters/Constraints/Constraints.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esmoConstraint {
  width: 100%;
}
.esmoConstraint:not(:first-child) {
  border-top: 1px solid rgb(230, 230, 230);
  margin-top: 2px;
  padding-top: 2px;
}

.esmoConstraint__value {
  margin-left: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}`, "",{"version":3,"sources":["webpack://./modules/models/presenters/Constraints/Constraints.scss"],"names":[],"mappings":"AAAA;EACE,WAAA;AACF;AACE;EACE,wCAAA;EACA,eAAA;EACA,gBAAA;AACJ;;AAGA;EACE,gBAAA;EACA,uBAAA;EACA,sBAAA;AAAF","sourcesContent":[".esmoConstraint {\n  width: 100%;\n\n  &:not(:first-child) {\n    border-top: 1px solid rgb(230, 230, 230);\n    margin-top: 2px;\n    padding-top: 2px;    \n  }  \n}\n\n.esmoConstraint__value {\n  margin-left: 4px;\n  overflow-wrap: anywhere;\n  word-break: break-word;  \n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/status/Overview/Overview.scss"
/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/status/Overview/Overview.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreStatusCard {
  width: 186px;
}

.esreStatusCard__value {
  font-size: 28px;
  font-weight: 800;
}

.esreStatusCard__label {
  font-size: 18px;
}

.esreStatusCard--background-color {
  background-color: var(--es-surface);
  color: var(--es-text);
  margin-top: 3px;
  padding: 8px;
}

.esreStatusCard__header {
  margin-bottom: 24px;
}

.esreStatusCard__charts {
  height: 100%;
  padding: 24px;
}

.chart-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pie-chart-container {
  margin-top: 48px;
  max-height: 350px;
}`, "",{"version":3,"sources":["webpack://./modules/status/Overview/Overview.scss"],"names":[],"mappings":"AAEA;EACE,YAAA;AADF;;AAIA;EACE,eAAA;EACA,gBAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,mCAAA;EACA,qBAAA;EACA,eAAA;EACA,YAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,YAAA;EACA,aAAA;AADF;;AAIA;EACE,aAAA;EACA,sBAAA;EACA,uBAAA;AADF;;AAIA;EACE,gBAAA;EACA,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreStatusCard {\n  width: 186px;\n}\n\n.esreStatusCard__value {\n  font-size: 28px;\n  font-weight: 800;\n}\n\n.esreStatusCard__label {\n  font-size: 18px;\n}\n\n.esreStatusCard--background-color {\n  background-color: var(--es-surface);\n  color: var(--es-text);\n  margin-top: 3px;\n  padding: 8px;\n}\n\n.esreStatusCard__header {\n  margin-bottom: 24px;\n}\n\n.esreStatusCard__charts {\n  height: 100%;\n  padding: 24px;\n}\n\n.chart-container {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n}\n\n.pie-chart-container {\n  margin-top: 48px;\n  max-height: 350px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Catalog/Catalog.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Catalog/Catalog.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreSource__textArea {
  background: var(--es-surface);
  border-color: var(--es-border);
  border-radius: 0;
  font-family: monospace;
}

.esreSource__Tabs {
  color: var(--es-text);
  width: fit-content;
  z-index: 1;
}

.esreSource__Tabs--selected {
  background: inherit;
}

.esreSource__Tab {
  background: var(--es-canvas);
  border: 1px solid var(--es-border);
  height: 66px;
  opacity: 1;
}

.esreSource__Tab--selected {
  background: var(--es-surface);
  border-bottom: 0;
}

.esreSource__Tab--first {
  border-right: 0;
}

.esreSource__TabPanel {
  margin-top: -2px;
}

.esreSource__AppBar {
  align-items: center;
  background: inherit;
  flex-direction: row;
}

.esreSource__TabBarButton {
  margin-left: 16px;
}

.esreSource__LoadingButton--failure {
  background: var(--es-error);
}

.esreSource__actionBar {
  align-items: center;
  display: flex;
  margin-top: 20px;
}

.esreSource__actionBarSecondaryButton {
  margin-left: 16px;
}

.esreSource__header {
  margin-bottom: 1.5em;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Catalog/Catalog.scss"],"names":[],"mappings":"AAEA;EACE,6BAAA;EACA,8BAAA;EACA,gBAAA;EACA,sBAAA;AADF;;AAIA;EACE,qBAAA;EACA,kBAAA;EACA,UAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,4BAAA;EACA,kCAAA;EACA,YAAA;EACA,UAAA;AADF;;AAIA;EACE,6BAAA;EACA,gBAAA;AADF;;AAIA;EACE,eAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,mBAAA;EACA,mBAAA;EACA,mBAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,2BAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,gBAAA;AADF;;AAIA;EACE,iBAAA;AADF;;AAIA;EACE,oBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreSource__textArea {\n  background: var(--es-surface);\n  border-color: var(--es-border);\n  border-radius: 0;\n  font-family: monospace;\n}\n\n.esreSource__Tabs {\n  color: var(--es-text);\n  width: fit-content;\n  z-index: 1;\n}\n\n.esreSource__Tabs--selected {\n  background: inherit;\n}\n\n.esreSource__Tab {\n  background: var(--es-canvas);\n  border: 1px solid var(--es-border);\n  height: 66px;\n  opacity: 1;\n}\n\n.esreSource__Tab--selected {\n  background: var(--es-surface);\n  border-bottom: 0;\n}\n\n.esreSource__Tab--first {\n  border-right: 0;\n}\n\n.esreSource__TabPanel {\n  margin-top: -2px;\n}\n\n.esreSource__AppBar {\n  align-items: center;\n  background: inherit;\n  flex-direction: row;\n}\n\n.esreSource__TabBarButton {\n  margin-left: 16px;\n}\n\n.esreSource__LoadingButton--failure {\n  background: var(--es-error);\n}\n\n.esreSource__actionBar {\n  align-items: center;\n  display: flex;\n  margin-top: 20px;\n}\n\n.esreSource__actionBarSecondaryButton {\n  margin-left: 16px;\n}\n\n.esreSource__header {\n  margin-bottom: 1.5em;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Convert/Convert.scss"
/*!*******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Convert/Convert.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreConvert__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5em;
}

.esreConvert__tableActions {
  align-items: baseline;
  display: flex;
}

.esreConvert__tableContainer {
  margin-bottom: 20px;
}

.esreConvert__tableBody {
  word-break: break-all;
}

.esreConvert__button {
  margin-left: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Convert/Convert.scss"],"names":[],"mappings":"AAAA;EACE,aAAA;EACA,sBAAA;EACA,oBAAA;AACF;;AAEA;EACE,qBAAA;EACA,aAAA;AACF;;AAEA;EACE,mBAAA;AACF;;AAEA;EACE,qBAAA;AACF;;AAEA;EACE,iBAAA;AACF","sourcesContent":[".esreConvert__header {\n  display: flex;\n  flex-direction: column;\n  margin-bottom: 1.5em;\n}\n\n.esreConvert__tableActions {\n  align-items: baseline;\n  display: flex;\n}\n\n.esreConvert__tableContainer {\n  margin-bottom: 20px;\n}\n\n.esreConvert__tableBody {\n  word-break: break-all;\n}\n\n.esreConvert__button {\n  margin-left: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/Merge.scss"
/*!***************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/Merge.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreMerge__header {
  margin-bottom: 30px;
}

.esreMerge__button {
  box-shadow: none;
  min-width: 104px;
}

.esreMerge__actions {
  display: flex;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Merge/Merge.scss"],"names":[],"mappings":"AACA;EACE,mBAAA;AAAF;;AAGA;EACE,gBAAA;EACA,gBAAA;AAAF;;AAGA;EACE,aAAA;AAAF","sourcesContent":["\n.esreMerge__header {\n  margin-bottom: 30px;\n}\n\n.esreMerge__button {\n  box-shadow: none;\n  min-width: 104px;\n}\n\n.esreMerge__actions {\n  display: flex;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/MergeCard/index.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/MergeCard/index.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreMergeCard {
  background-color: var(--es-surface);
  border-radius: 0;
  box-shadow: var(--es-shadow);
  margin-bottom: 12px;
}

.esreMergeCard:last-child {
  margin-bottom: 20px;
}

.esreMergeCardHeader {
  align-items: center;
  display: flex;
  padding: 6px 24px;
}

.esreMergeCardHeader__heading {
  color: var(--es-text);
  font-weight: 600;
}

.esreMergeCardHeader__button {
  box-shadow: none;
  height: 36px;
  margin-left: auto;
}

.esreMergeCard__content {
  color: var(--es-text);
  padding: 0 24px 1px 66px;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Merge/MergeCard/index.scss"],"names":[],"mappings":"AAEA;EACE,mCAAA;EACA,gBAAA;EACA,4BAAA;EACA,mBAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,iBAAA;AADF;;AAIA;EACE,qBAAA;EACA,gBAAA;AADF;;AAIA;EACE,gBAAA;EACA,YAAA;EACA,iBAAA;AADF;;AAIA;EACE,qBAAA;EACA,wBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreMergeCard {\n  background-color: var(--es-surface);\n  border-radius: 0;\n  box-shadow: var(--es-shadow);\n  margin-bottom: 12px;\n}\n\n.esreMergeCard:last-child {\n  margin-bottom: 20px;\n}\n\n.esreMergeCardHeader {\n  align-items: center;\n  display: flex;\n  padding: 6px 24px;\n}\n\n.esreMergeCardHeader__heading {\n  color: var(--es-text);\n  font-weight: 600;\n}\n\n.esreMergeCardHeader__button {\n  box-shadow: none;\n  height: 36px;\n  margin-left: auto;\n}\n\n.esreMergeCard__content {\n  color: var(--es-text);\n  padding: 0 24px 1px 66px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/MergeList/index.scss"
/*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/MergeList/index.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreMergeList__emptyListText {
  font-style: italic;
  padding-bottom: 15px;
  padding-top: 13px;
}

.esreMergeList {
  margin: 13px 0 15px;
}

.esreMergeListItem {
  align-items: center;
  display: flex;
}

.esreMergeListItem__title {
  align-items: center;
  display: flex;
  padding: 6px 0;
}

.esreMergeListItem__list {
  margin-block-end: 0;
  margin-block-start: 0;
  margin-bottom: 6px;
  margin-left: 1.5em;
}

.esreMergeListItem:last-child {
  border-bottom: 0;
}

.esreMergeListItem__icon {
  color: var(--es-success);
  margin: 0 6px;
}

.esreMergeListItem__button {
  margin-left: auto;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Merge/MergeList/index.scss"],"names":[],"mappings":"AAEA;EACE,kBAAA;EACA,oBAAA;EACA,iBAAA;AADF;;AAIA;EACE,mBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,cAAA;AADF;;AAIA;EACE,mBAAA;EACA,qBAAA;EACA,kBAAA;EACA,kBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,wBAAA;EACA,aAAA;AADF;;AAIA;EACE,iBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreMergeList__emptyListText {\n  font-style: italic;\n  padding-bottom: 15px;\n  padding-top: 13px;\n}\n\n.esreMergeList {\n  margin: 13px 0 15px;\n}\n\n.esreMergeListItem {\n  align-items: center;\n  display: flex;\n}\n\n.esreMergeListItem__title {\n  align-items: center;\n  display: flex;\n  padding: 6px 0;\n}\n\n.esreMergeListItem__list {\n  margin-block-end: 0;\n  margin-block-start: 0;\n  margin-bottom: 6px;\n  margin-left: 1.5em;\n}\n\n.esreMergeListItem:last-child {\n  border-bottom: 0;\n}\n\n.esreMergeListItem__icon {\n  color: var(--es-success);\n  margin: 0 6px;\n}\n\n.esreMergeListItem__button {\n  margin-left: auto;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/ClassReport/ClassReport.scss"
/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/ClassReport/ClassReport.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreClassReport {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-bottom: 36px;
}

.esreClassReportHeader {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.esreClassReportHeader__label {
  margin-right: 0.25em;
}

.esreClassReportHeader__buttonContainer {
  align-items: center;
  align-self: flex-start;
  justify-content: flex-end;
}

.esreClassReportHeader__button {
  height: 36px;
}

.esreClassReportHeader__link {
  word-break: break-all;
}

.esreClassReportHeaderSecondary {
  align-items: center;
  display: flex;
}

.esreClassReportHeaderSecondary__indicator {
  align-items: center;
  display: flex;
  margin-right: 12px;
}

.esreClassReportHeaderSecondary__icon {
  margin-left: 6px;
}

.esreClassReportAlert {
  margin-bottom: 24px;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Validate/ClassReport/ClassReport.scss"],"names":[],"mappings":"AAEA;EACE,aAAA;EACA,OAAA;EACA,sBAAA;EACA,mBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,8BAAA;AADF;;AAIA;EACE,oBAAA;AADF;;AAIA;EACE,mBAAA;EACA,sBAAA;EACA,yBAAA;AADF;;AAIA;EACE,YAAA;AADF;;AAIA;EACE,qBAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;AADF;;AAIA;EACE,mBAAA;EACA,aAAA;EACA,kBAAA;AADF;;AAIA;EACE,gBAAA;AADF;;AAIA;EACE,mBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreClassReport {\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  margin-bottom: 36px;\n}\n\n.esreClassReportHeader {\n  align-items: center;\n  display: flex;\n  justify-content: space-between;\n}\n\n.esreClassReportHeader__label {\n  margin-right: 0.25em;\n}\n\n.esreClassReportHeader__buttonContainer {\n  align-items: center;\n  align-self: flex-start;\n  justify-content: flex-end;\n}\n\n.esreClassReportHeader__button {\n  height: 36px;\n}\n\n.esreClassReportHeader__link {\n  word-break: break-all;\n}\n\n.esreClassReportHeaderSecondary {\n  align-items: center;\n  display: flex;\n}\n\n.esreClassReportHeaderSecondary__indicator {\n  align-items: center;\n  display: flex;\n  margin-right: 12px;\n}\n\n.esreClassReportHeaderSecondary__icon {\n  margin-left: 6px;\n}\n\n.esreClassReportAlert {\n  margin-bottom: 24px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreInstanceReportDialog__toggleButtonGroup {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.esreInstanceReportDialog--fixedHeight {
  max-height: 90vh;
  min-height: 90vh;
}

.esreInstanceReportDialog__content {
  scrollbar-gutter: stable;
}

.esreInstanceReportDialog__alert {
  margin-bottom: 24px;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;AACF;;AAEA;EACE,gBAAA;EACA,gBAAA;AACF;;AAEA;EACE,wBAAA;AACF;;AAEA;EACE,mBAAA;AACF","sourcesContent":[".esreInstanceReportDialog__toggleButtonGroup {\n  align-items: center;\n  display: flex;\n  justify-content: center;\n  margin-bottom: 24px;\n}\n\n.esreInstanceReportDialog--fixedHeight {\n  max-height: 90vh;\n  min-height: 90vh;\n}\n\n.esreInstanceReportDialog__content {\n  scrollbar-gutter: stable;\n}\n\n.esreInstanceReportDialog__alert {\n  margin-bottom: 24px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/Validate.scss"
/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/Validate.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreValidate__header {
  margin-bottom: 12px;
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Validate/Validate.scss"],"names":[],"mappings":"AAAA;EACE,mBAAA;AACF","sourcesContent":[".esreValidate__header {\n  margin-bottom: 12px;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/ValidationIcon/ValidationIcon.scss"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/ValidationIcon/ValidationIcon.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.esreValidate__errorIcon {
  color: #de524c;
}

.esreValidate__warningIcon {
  color: #f7ce26;
}

.esreValidate__deprecatedIcon {
  color: #1c7cd1;
}

.esreValidate__validIcon {
  color: var(--es-success);
}`, "",{"version":3,"sources":["webpack://./modules/toolkit/Validate/ValidationIcon/ValidationIcon.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAEA;EACE,cCqBY;ADtBd;;AAIA;EACE,cCmBa;ADpBf;;AAIA;EACE,cCNU;ADKZ;;AAIA;EACE,wBAAA;AADF","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.esreValidate__errorIcon {\n  color: $error-light;\n}\n\n.esreValidate__warningIcon {\n  color: $warning-main;\n}\n\n.esreValidate__deprecatedIcon {\n  color: $blue-main;\n}\n\n.esreValidate__validIcon {\n  color: var(--es-success);\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.scss"
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
// Imports


var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.eswoConfigureEntityType__warning {
  color: #de524c;
}`, "",{"version":3,"sources":["webpack://./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.scss","webpack://./modules/commons/theme/css/colors.scss"],"names":[],"mappings":"AAEA;EACE,cCqBY;ADtBd","sourcesContent":["@use 'commons/theme/css/colors.scss' as *;\n\n.eswoConfigureEntityType__warning {\n  color: $error-light;\n}\n","$primary-main: #1673c7;\n$accent-main: #e05f21;\n$white-main: #ffffff;\n$canvas-main: #f6f7f7;\n\n$blue-main: #1c7cd1;\n\n$grayBlue-main: #7a8184;\n\n$light-gray-light: #e6eaeb;\n$light-gray-main: #dfe4e6;\n\n$medium-gray-lightest: #f2f3f4;\n$medium-gray-light: #eceeee;\n$medium-gray-main: #5f686d; // Darkened from #808b90 for WCAG AA compliance\n\n$dark-gray-light: #61676a;\n$dark-gray-main: #474d50;\n$dark-red: #ca5c28;\n$dark-blue: #1f6bad;\n\n$info-main: #191c1d;\n$success-light: #c0d999;\n$success-main: #629f00;\n$error-light: #de524c;\n$error-main: #cd2823;\n$warning-main: #f7ce26;\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/style.css"
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/style.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js");
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js");
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_resources_rdforms_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! -!../../../../../../../css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../resources/rdforms.css */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/resources/rdforms.css");
// Imports



var ___CSS_LOADER_EXPORT___ = _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
___CSS_LOADER_EXPORT___.i(_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_resources_rdforms_css__WEBPACK_IMPORTED_MODULE_2__["default"]);
// Module
___CSS_LOADER_EXPORT___.push([module.id, `.rdforms.rdformsEditor .rdformsField {
  padding-right: 36px;
}

.rdforms.rdformsEditor .rdformsFieldControl {
  width: 26px;
  top: 14px;
}

.rdformsLabelRow {
  vertical-align: top;
  display: flex;
}

.rdformsLabel:hover {
  text-decoration: none;
  cursor: default;
}

.rdformsDescriptionIcon {
  color: grey !important;
  font-size: 16px !important;
}

.rdformsLabelRow .MuiButtonBase-root {
  margin-top: -4px;
  margin-left: 7px;
}

.rdformsLabelRow .MuiButtonBase-root.rdformsButtonSeparator {
  margin-left: 0;
}

.compact.rdformsPresenter .rdformsTopLevel > .rdformsLabel {
  padding-top: 6px;
}

.rdformsLabelRow.rdformsLabel {
  display: inline-block;
}

.compact .rdformsLabelRow.rdformsLabel {
  display: block;
}

.rdformsPresenter .rdformsRow.rdformsTopLevel {
  margin-bottom: 0.5em;
}

.rdformsEditor .cardgroupEditor > .rdformsFields > .rdformsGroup,
.cardgroup > .rdformsFields > .rdformsGroup,
.rdformsCard > .rdformsFields > .rdformsGroup {
  padding: 6px 6px 6px 12px;
  margin-right: -5px;
  margin-bottom: 14px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
}

.rdforms .form-group.rdforms-upgrade {
  display: inline-block;
  width: 300px;
  margin: 0;
}

.rdforms .durationLabel:first-child {
  padding-left: 0;
}

.rdforms .durationLabel {
  padding-right: 8px;
  padding-left: 12px;
}

.rdforms .durationValue {
  width: 4em;
}

.rdformsEditor .rdformsFieldControl {
  top: 8px;
  width: 1em;
}

.rdformsLabelRow .action {
  margin-top: 2px;
  margin-left: 5px;
}

.rdformsLabelRow .action.fa-plus,
.rdformsLabelRow .action.indentRemove {
  margin-left: 10px;
}

.rdformsEditor .rdformsField .mismatch .MuiFormControlLabel-label {
  color: rgba(255, 0, 0, 0.38);
}

/* Make the input fields fill the whole width */
.rdformsField > .MuiFormControl-root {
  width: 100%;
}

/* Bigger distance between repeated values when filled */
.rdformsEditor .rdformsField.rdformsRepeatedValue {
  margin-top: 5px;
}

/* .MuiFilledInput-input padding top is just too big
.rdformsEditor .MuiFilledInput-input {
    padding-top: 10px;
} */
.rdformsEditor .rdformsSearch {
  margin-right: 10px;
  width: calc(66.66% - 7px);
  display: inline-block;
  vertical-align: middle;
}

.rdformsEditor .rdformsSearch > div {
  width: 100%;
}

.rdformsEditor .rdformsDatePicker {
  display: flex;
  justify-content: start;
  flex-grow: 1;
}

.rdformsEditor .rdformsDatePicker > * {
  margin-right: 12px;
  width: calc(33.33% - 8px);
}

.rdformsEditor .rdformsDatePicker > *:last-child {
  margin-right: 0px;
}

/* Two thirds text input*/
.rdformsEditor .rdformsTwoThirds {
  margin-right: 12px;
  width: calc(66.66% - 8px);
}

.rdformsEditor .rdformsLangControl {
  width: calc(33.33% - 4px);
}

/* Duration */
.rdformsEditor .rdformsDurationInput {
  margin-left: 12px;
  width: calc(20% - 10px);
}

.rdformsEditor .rdformsDurationInput:first-child {
  margin-left: 0;
}

/* Fixes for tooltip*/
div.MuiTooltip-tooltip {
  font-weight: normal;
  border-radius: 0;
  padding: 20px;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* More air and no indent */
.rdformsGroup,
.rdformsField {
  margin-left: 0;
}

.rdformsRow.rdformsTopLevel {
  padding-bottom: 1.5em;
}

.rdforms .rdformsRow.rdformsTopLevel:last-child {
  padding-bottom: 0;
}

.rdformsGroup .rdformsRow {
  padding-bottom: 1em;
}

.rdformsGroup .rdformsRow:last-child {
  padding-bottom: 0;
}

.rdformsEditor .cardgroupEditor > .rdformsFields > .rdformsGroup,
.cardgroup > .rdformsFields > .rdformsGroup,
.rdformsCard > .rdformsFields > .rdformsGroup {
  margin-bottom: 5px;
}

.rdformsEditor .rdformsAddChild {
  margin-top: 6px;
}

.rdformsEditor .rdformsRow.rdformsTopLevel {
  margin-bottom: 36px;
  padding-bottom: 0;
}

/* Better style for error reports */
.mismatchReport {
  border: 2px solid red;
  border-radius: 4px;
  padding: 12px 2px 0px 12px;
}

.mismatchReport .rdformsWarning {
  padding-top: 12px;
}

.rdformsError,
.rdformsDeprecated {
  padding: 12px 2px 0px 12px;
}

.rdformsEditor .rdformsError.cardgroupEditor > .rdformsFields > .rdformsGroup,
.rdformsError.cardgroup > .rdformsFields > .rdformsGroup,
.rdformsError.rdformsCard > .rdformsFields > .rdformsGroup {
  margin-right: 11px;
}

.rdformsDependency {
  display: none;
}

.missingDepsWithValue .rdformsDependency {
  display: block;
}

.rdforms .rdformsLanguage {
  margin: 0 10px 0px;
  background: #474747;
  color: white;
  padding: 3px 5px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: bolder;
  font-family: sans-serif;
}

.rdformsHeading > .rdformsDescription {
  margin: -20px 0 20px;
}

.Mui-disabled.rdformsDatatypeOption {
  color: red;
}

.rdformsPresenter .rdformsShowLess,
.rdformsPresenter .rdformsShowMore {
  margin-left: 0;
}

.rdformsPresenter .rdformsInline {
  padding-left: 0em;
}`, "",{"version":3,"sources":["webpack://./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/style.css"],"names":[],"mappings":"AAEA;EACI,mBAAA;AAAJ;;AAGA;EACI,WAAA;EACA,SAAA;AAAJ;;AAGA;EACI,mBAAA;EACA,aAAA;AAAJ;;AAGA;EACI,qBAAA;EACA,eAAA;AAAJ;;AAGA;EACI,sBAAA;EACA,0BAAA;AAAJ;;AAGA;EACI,gBAAA;EACA,gBAAA;AAAJ;;AAGA;EACI,cAAA;AAAJ;;AAGA;EACI,gBAAA;AAAJ;;AAGA;EACI,qBAAA;AAAJ;;AAGA;EACI,cAAA;AAAJ;;AAGA;EACI,oBAAA;AAAJ;;AAGA;;;EAGI,yBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,yBAAA;EACA,kBAAA;AAAJ;;AAGA;EACI,qBAAA;EACA,YAAA;EACA,SAAA;AAAJ;;AAGA;EACI,eAAA;AAAJ;;AAGA;EACI,kBAAA;EACA,kBAAA;AAAJ;;AAGA;EACI,UAAA;AAAJ;;AAGA;EACI,QAAA;EACA,UAAA;AAAJ;;AAGA;EACI,eAAA;EACA,gBAAA;AAAJ;;AAEA;;EAEI,iBAAA;AACJ;;AAEA;EACI,4BAAA;AACJ;;AAEA,+CAAA;AACA;EACI,WAAA;AACJ;;AAEA,wDAAA;AACA;EACI,eAAA;AACJ;;AAEA;;;GAAA;AAKA;EACI,kBAAA;EACA,yBAAA;EACA,qBAAA;EACA,sBAAA;AAAJ;;AAGA;EACI,WAAA;AAAJ;;AAGA;EACI,aAAA;EACA,sBAAA;EACA,YAAA;AAAJ;;AAGA;EACI,kBAAA;EACA,yBAAA;AAAJ;;AAGA;EACI,iBAAA;AAAJ;;AAGA,yBAAA;AACA;EACI,kBAAA;EACA,yBAAA;AAAJ;;AAGA;EACI,yBAAA;AAAJ;;AAGA,aAAA;AACA;EACI,iBAAA;EACA,uBAAA;AAAJ;;AAEA;EACI,cAAA;AACJ;;AAEA,qBAAA;AACA;EACI,mBAAA;EACA,gBAAA;EACA,aAAA;EACA,4CAAA;AACJ;;AAEA,2BAAA;AACA;;EAEI,cAAA;AACJ;;AACA;EACI,qBAAA;AAEJ;;AAAA;EACI,iBAAA;AAGJ;;AADA;EACI,mBAAA;AAIJ;;AAFA;EACI,iBAAA;AAKJ;;AAHA;;;EAGI,kBAAA;AAMJ;;AAHA;EACI,eAAA;AAMJ;;AAHA;EACI,mBAAA;EACA,iBAAA;AAMJ;;AAHA,mCAAA;AACA;EACI,qBAAA;EACA,kBAAA;EACA,0BAAA;AAMJ;;AAHA;EACI,iBAAA;AAMJ;;AAHA;;EAEI,0BAAA;AAMJ;;AAHA;;;EAGI,kBAAA;AAMJ;;AAHA;EACI,aAAA;AAMJ;;AAHA;EACI,cAAA;AAMJ;;AAHA;EACI,kBAAA;EACA,mBAAA;EACA,YAAA;EACA,gBAAA;EACA,kBAAA;EACA,yBAAA;EACA,eAAA;EACA,mBAAA;EACA,uBAAA;AAMJ;;AAHA;EACI,oBAAA;AAMJ;;AAHA;EACI,UAAA;AAMJ;;AAHA;;EAEI,cAAA;AAMJ;;AAHA;EACI,iBAAA;AAMJ","sourcesContent":["@import \"../resources/rdforms.css\";\n\n.rdforms.rdformsEditor .rdformsField {\n    padding-right: 36px;\n}\n\n.rdforms.rdformsEditor .rdformsFieldControl {\n    width: 26px;\n    top: 14px;\n}\n\n.rdformsLabelRow {\n    vertical-align: top;\n    display: flex;\n}\n\n.rdformsLabel:hover {\n    text-decoration: none;\n    cursor: default;\n}\n\n.rdformsDescriptionIcon {\n    color: grey !important;\n    font-size: 16px !important;\n}\n\n.rdformsLabelRow .MuiButtonBase-root {\n    margin-top: -4px;\n    margin-left: 7px;\n}\n\n.rdformsLabelRow .MuiButtonBase-root.rdformsButtonSeparator {\n    margin-left: 0;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n    padding-top: 6px;\n}\n\n.rdformsLabelRow.rdformsLabel {\n    display: inline-block;\n}\n\n.compact .rdformsLabelRow.rdformsLabel {\n    display: block;\n}\n\n.rdformsPresenter .rdformsRow.rdformsTopLevel {\n    margin-bottom: 0.5em;\n}\n\n.rdformsEditor .cardgroupEditor>.rdformsFields>.rdformsGroup,\n.cardgroup>.rdformsFields>.rdformsGroup,\n.rdformsCard>.rdformsFields>.rdformsGroup {\n    padding: 6px 6px 6px 12px;\n    margin-right: -5px;\n    margin-bottom: 14px;\n    background-color: #f7f7f9;\n    border: 1px solid #e1e1e8;\n    border-radius: 4px;\n}\n\n.rdforms .form-group.rdforms-upgrade {\n    display: inline-block;\n    width: 300px;\n    margin: 0;\n}\n\n.rdforms .durationLabel:first-child {\n    padding-left: 0;\n}\n\n.rdforms .durationLabel {\n    padding-right: 8px;\n    padding-left: 12px;\n}\n\n.rdforms .durationValue {\n    width: 4em;\n}\n\n.rdformsEditor .rdformsFieldControl {\n    top: 8px;\n    width: 1em;\n}\n\n.rdformsLabelRow .action {\n    margin-top: 2px;\n    margin-left: 5px;\n}\n.rdformsLabelRow .action.fa-plus,\n.rdformsLabelRow .action.indentRemove {\n    margin-left: 10px;\n}\n\n.rdformsEditor .rdformsField .mismatch .MuiFormControlLabel-label {\n    color: rgba(255, 0, 0, 0.38);\n}\n\n/* Make the input fields fill the whole width */\n.rdformsField>.MuiFormControl-root {\n    width: 100%;\n}\n\n/* Bigger distance between repeated values when filled */\n.rdformsEditor .rdformsField.rdformsRepeatedValue {\n    margin-top: 5px;\n}\n\n/* .MuiFilledInput-input padding top is just too big\n.rdformsEditor .MuiFilledInput-input {\n    padding-top: 10px;\n} */\n\n.rdformsEditor .rdformsSearch {\n    margin-right: 10px;\n    width: calc(66.66% - 7px);\n    display: inline-block;\n    vertical-align: middle;\n}\n\n.rdformsEditor .rdformsSearch>div {\n    width: 100%;\n}\n\n.rdformsEditor .rdformsDatePicker {\n    display: flex;\n    justify-content: start;\n    flex-grow: 1;\n}\n\n.rdformsEditor .rdformsDatePicker>* {\n    margin-right: 12px;\n    width: calc(33.33% - 8px);\n}\n\n.rdformsEditor .rdformsDatePicker>*:last-child {\n    margin-right: 0px;\n}\n\n/* Two thirds text input*/\n.rdformsEditor .rdformsTwoThirds {\n    margin-right: 12px;\n    width: calc(66.66% - 8px);\n}\n\n.rdformsEditor .rdformsLangControl {\n    width: calc(33.33% - 4px);\n}\n\n/* Duration */\n.rdformsEditor .rdformsDurationInput {\n    margin-left: 12px;\n    width: calc(20% - 10px);\n}\n.rdformsEditor .rdformsDurationInput:first-child {\n    margin-left: 0;\n}\n\n/* Fixes for tooltip*/\ndiv.MuiTooltip-tooltip {\n    font-weight: normal;\n    border-radius: 0;\n    padding: 20px;\n    -webkit-font-smoothing: subpixel-antialiased;\n}\n\n/* More air and no indent */\n.rdformsGroup,\n.rdformsField {\n    margin-left: 0;\n}\n.rdformsRow.rdformsTopLevel {\n    padding-bottom: 1.5em;\n}\n.rdforms .rdformsRow.rdformsTopLevel:last-child {\n    padding-bottom: 0;\n}\n.rdformsGroup .rdformsRow {\n    padding-bottom: 1em;\n}\n.rdformsGroup .rdformsRow:last-child {\n    padding-bottom: 0;\n}\n.rdformsEditor .cardgroupEditor>.rdformsFields>.rdformsGroup,\n.cardgroup>.rdformsFields>.rdformsGroup,\n.rdformsCard>.rdformsFields>.rdformsGroup {\n    margin-bottom: 5px;\n}\n\n.rdformsEditor .rdformsAddChild {\n    margin-top: 6px;\n}\n\n.rdformsEditor .rdformsRow.rdformsTopLevel {\n    margin-bottom: 36px;\n    padding-bottom: 0;\n}\n\n/* Better style for error reports */\n.mismatchReport {\n    border: 2px solid red;\n    border-radius: 4px;\n    padding: 12px 2px 0px 12px;\n}\n\n.mismatchReport .rdformsWarning {\n    padding-top: 12px;\n}\n\n.rdformsError,\n.rdformsDeprecated {\n    padding: 12px 2px 0px 12px;\n}\n\n.rdformsEditor .rdformsError.cardgroupEditor>.rdformsFields>.rdformsGroup,\n.rdformsError.cardgroup>.rdformsFields>.rdformsGroup,\n.rdformsError.rdformsCard>.rdformsFields>.rdformsGroup {\n    margin-right: 11px;\n}\n\n.rdformsDependency {\n    display: none;\n}\n\n.missingDepsWithValue .rdformsDependency {\n    display: block;\n}\n\n.rdforms .rdformsLanguage {\n    margin: 0 10px 0px;\n    background: #474747;\n    color: white;\n    padding: 3px 5px;\n    border-radius: 5px;\n    text-transform: uppercase;\n    font-size: 10px;\n    font-weight: bolder;\n    font-family: sans-serif;\n}\n\n.rdformsHeading>.rdformsDescription {\n    margin: -20px 0 20px;\n}\n\n.Mui-disabled.rdformsDatatypeOption {\n    color: red;\n}\n\n.rdformsPresenter .rdformsShowLess,\n.rdformsPresenter .rdformsShowMore {\n    margin-left: 0;\n}\n\n.rdformsPresenter .rdformsInline {\n    padding-left: 0em;\n}\n"],"sourceRoot":""}]);
// Exports
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);


/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/api.js ***!
  \**********************************************************************************************************/
(module) {

"use strict";


/*
  MIT License http://www.opensource.org/licenses/mit-license.php
  Author Tobias Koppers @sokra
*/
module.exports = function (cssWithMappingToString) {
  var list = [];

  // return the list of modules as css string
  list.toString = function toString() {
    return this.map(function (item) {
      var content = "";
      var needLayer = typeof item[5] !== "undefined";
      if (item[4]) {
        content += "@supports (".concat(item[4], ") {");
      }
      if (item[2]) {
        content += "@media ".concat(item[2], " {");
      }
      if (needLayer) {
        content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
      }
      content += cssWithMappingToString(item);
      if (needLayer) {
        content += "}";
      }
      if (item[2]) {
        content += "}";
      }
      if (item[4]) {
        content += "}";
      }
      return content;
    }).join("");
  };

  // import a list of modules into the list
  list.i = function i(modules, media, dedupe, supports, layer) {
    if (typeof modules === "string") {
      modules = [[null, modules, undefined]];
    }
    var alreadyImportedModules = {};
    if (dedupe) {
      for (var k = 0; k < this.length; k++) {
        var id = this[k][0];
        if (id != null) {
          alreadyImportedModules[id] = true;
        }
      }
    }
    for (var _k = 0; _k < modules.length; _k++) {
      var item = [].concat(modules[_k]);
      if (dedupe && alreadyImportedModules[item[0]]) {
        continue;
      }
      if (typeof layer !== "undefined") {
        if (typeof item[5] === "undefined") {
          item[5] = layer;
        } else {
          item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
          item[5] = layer;
        }
      }
      if (media) {
        if (!item[2]) {
          item[2] = media;
        } else {
          item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
          item[2] = media;
        }
      }
      if (supports) {
        if (!item[4]) {
          item[4] = "".concat(supports);
        } else {
          item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
          item[4] = supports;
        }
      }
      list.push(item);
    }
  };
  return list;
};

/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/getUrl.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/getUrl.js ***!
  \*************************************************************************************************************/
(module) {

"use strict";


module.exports = function (url, options) {
  if (!options) {
    options = {};
  }
  if (!url) {
    return url;
  }
  url = String(url.__esModule ? url.default : url);

  // If url is already wrapped in quotes, remove them
  if (/^['"].*['"]$/.test(url)) {
    url = url.slice(1, -1);
  }
  if (options.hash) {
    url += options.hash;
  }

  // Should url be wrapped?
  // See https://drafts.csswg.org/css-values-3/#urls
  if (/["'() \t\n]|(%20)/.test(url) || options.needQuotes) {
    return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\"");
  }
  return url;
};

/***/ },

/***/ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/runtime/sourceMaps.js ***!
  \*****************************************************************************************************************/
(module) {

"use strict";


module.exports = function (item) {
  var content = item[1];
  var cssMapping = item[3];
  if (!cssMapping) {
    return content;
  }
  if (typeof btoa === "function") {
    var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
    var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
    var sourceMapping = "/*# ".concat(data, " */");
    return [content].concat([sourceMapping]).join("\n");
  }
  return [content].join("\n");
};

/***/ },

/***/ "./node_modules/.pnpm/css-vendor@2.0.8/node_modules/css-vendor/dist/css-vendor.esm.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/css-vendor@2.0.8/node_modules/css-vendor/dist/css-vendor.esm.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   prefix: () => (/* binding */ prefix),
/* harmony export */   supportedKeyframes: () => (/* binding */ supportedKeyframes),
/* harmony export */   supportedProperty: () => (/* binding */ supportedProperty),
/* harmony export */   supportedValue: () => (/* binding */ supportedValue)
/* harmony export */ });
/* harmony import */ var is_in_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! is-in-browser */ "./node_modules/.pnpm/is-in-browser@1.1.3/node_modules/is-in-browser/dist/module.js");
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");



// Export javascript style and css style vendor prefixes.
var js = '';
var css = '';
var vendor = '';
var browser = '';
var isTouch = is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"] && 'ontouchstart' in document.documentElement; // We should not do anything if required serverside.

if (is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"]) {
  // Order matters. We need to check Webkit the last one because
  // other vendors use to add Webkit prefixes to some properties
  var jsCssMap = {
    Moz: '-moz-',
    ms: '-ms-',
    O: '-o-',
    Webkit: '-webkit-'
  };

  var _document$createEleme = document.createElement('p'),
      style = _document$createEleme.style;

  var testProp = 'Transform';

  for (var key in jsCssMap) {
    if (key + testProp in style) {
      js = key;
      css = jsCssMap[key];
      break;
    }
  } // Correctly detect the Edge browser.


  if (js === 'Webkit' && 'msHyphens' in style) {
    js = 'ms';
    css = jsCssMap.ms;
    browser = 'edge';
  } // Correctly detect the Safari browser.


  if (js === 'Webkit' && '-apple-trailing-word' in style) {
    vendor = 'apple';
  }
}
/**
 * Vendor prefix string for the current browser.
 *
 * @type {{js: String, css: String, vendor: String, browser: String}}
 * @api public
 */


var prefix = {
  js: js,
  css: css,
  vendor: vendor,
  browser: browser,
  isTouch: isTouch
};

/**
 * Test if a keyframe at-rule should be prefixed or not
 *
 * @param {String} vendor prefix string for the current browser.
 * @return {String}
 * @api public
 */

function supportedKeyframes(key) {
  // Keyframes is already prefixed. e.g. key = '@-webkit-keyframes a'
  if (key[1] === '-') return key; // No need to prefix IE/Edge. Older browsers will ignore unsupported rules.
  // https://caniuse.com/#search=keyframes

  if (prefix.js === 'ms') return key;
  return "@" + prefix.css + "keyframes" + key.substr(10);
}

// https://caniuse.com/#search=appearance

var appearence = {
  noPrefill: ['appearance'],
  supportedProperty: function supportedProperty(prop) {
    if (prop !== 'appearance') return false;
    if (prefix.js === 'ms') return "-webkit-" + prop;
    return prefix.css + prop;
  }
};

// https://caniuse.com/#search=color-adjust

var colorAdjust = {
  noPrefill: ['color-adjust'],
  supportedProperty: function supportedProperty(prop) {
    if (prop !== 'color-adjust') return false;
    if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
    return prop;
  }
};

var regExp = /[-\s]+(.)?/g;
/**
 * Replaces the letter with the capital letter
 *
 * @param {String} match
 * @param {String} c
 * @return {String}
 * @api private
 */

function toUpper(match, c) {
  return c ? c.toUpperCase() : '';
}
/**
 * Convert dash separated strings to camel-cased.
 *
 * @param {String} str
 * @return {String}
 * @api private
 */


function camelize(str) {
  return str.replace(regExp, toUpper);
}

/**
 * Convert dash separated strings to pascal cased.
 *
 * @param {String} str
 * @return {String}
 * @api private
 */

function pascalize(str) {
  return camelize("-" + str);
}

// but we can use a longhand property instead.
// https://caniuse.com/#search=mask

var mask = {
  noPrefill: ['mask'],
  supportedProperty: function supportedProperty(prop, style) {
    if (!/^mask/.test(prop)) return false;

    if (prefix.js === 'Webkit') {
      var longhand = 'mask-image';

      if (camelize(longhand) in style) {
        return prop;
      }

      if (prefix.js + pascalize(longhand) in style) {
        return prefix.css + prop;
      }
    }

    return prop;
  }
};

// https://caniuse.com/#search=text-orientation

var textOrientation = {
  noPrefill: ['text-orientation'],
  supportedProperty: function supportedProperty(prop) {
    if (prop !== 'text-orientation') return false;

    if (prefix.vendor === 'apple' && !prefix.isTouch) {
      return prefix.css + prop;
    }

    return prop;
  }
};

// https://caniuse.com/#search=transform

var transform = {
  noPrefill: ['transform'],
  supportedProperty: function supportedProperty(prop, style, options) {
    if (prop !== 'transform') return false;

    if (options.transform) {
      return prop;
    }

    return prefix.css + prop;
  }
};

// https://caniuse.com/#search=transition

var transition = {
  noPrefill: ['transition'],
  supportedProperty: function supportedProperty(prop, style, options) {
    if (prop !== 'transition') return false;

    if (options.transition) {
      return prop;
    }

    return prefix.css + prop;
  }
};

// https://caniuse.com/#search=writing-mode

var writingMode = {
  noPrefill: ['writing-mode'],
  supportedProperty: function supportedProperty(prop) {
    if (prop !== 'writing-mode') return false;

    if (prefix.js === 'Webkit' || prefix.js === 'ms' && prefix.browser !== 'edge') {
      return prefix.css + prop;
    }

    return prop;
  }
};

// https://caniuse.com/#search=user-select

var userSelect = {
  noPrefill: ['user-select'],
  supportedProperty: function supportedProperty(prop) {
    if (prop !== 'user-select') return false;

    if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {
      return prefix.css + prop;
    }

    return prop;
  }
};

// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177

var breakPropsOld = {
  supportedProperty: function supportedProperty(prop, style) {
    if (!/^break-/.test(prop)) return false;

    if (prefix.js === 'Webkit') {
      var jsProp = "WebkitColumn" + pascalize(prop);
      return jsProp in style ? prefix.css + "column-" + prop : false;
    }

    if (prefix.js === 'Moz') {
      var _jsProp = "page" + pascalize(prop);

      return _jsProp in style ? "page-" + prop : false;
    }

    return false;
  }
};

// See https://github.com/postcss/autoprefixer/issues/324.

var inlineLogicalOld = {
  supportedProperty: function supportedProperty(prop, style) {
    if (!/^(border|margin|padding)-inline/.test(prop)) return false;
    if (prefix.js === 'Moz') return prop;
    var newProp = prop.replace('-inline', '');
    return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
  }
};

// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.

var unprefixed = {
  supportedProperty: function supportedProperty(prop, style) {
    return camelize(prop) in style ? prop : false;
  }
};

var prefixed = {
  supportedProperty: function supportedProperty(prop, style) {
    var pascalized = pascalize(prop); // Return custom CSS variable without prefixing.

    if (prop[0] === '-') return prop; // Return already prefixed value without prefixing.

    if (prop[0] === '-' && prop[1] === '-') return prop;
    if (prefix.js + pascalized in style) return prefix.css + prop; // Try webkit fallback.

    if (prefix.js !== 'Webkit' && "Webkit" + pascalized in style) return "-webkit-" + prop;
    return false;
  }
};

// https://caniuse.com/#search=scroll-snap

var scrollSnap = {
  supportedProperty: function supportedProperty(prop) {
    if (prop.substring(0, 11) !== 'scroll-snap') return false;

    if (prefix.js === 'ms') {
      return "" + prefix.css + prop;
    }

    return prop;
  }
};

// https://caniuse.com/#search=overscroll-behavior

var overscrollBehavior = {
  supportedProperty: function supportedProperty(prop) {
    if (prop !== 'overscroll-behavior') return false;

    if (prefix.js === 'ms') {
      return prefix.css + "scroll-chaining";
    }

    return prop;
  }
};

var propMap = {
  'flex-grow': 'flex-positive',
  'flex-shrink': 'flex-negative',
  'flex-basis': 'flex-preferred-size',
  'justify-content': 'flex-pack',
  order: 'flex-order',
  'align-items': 'flex-align',
  'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.

}; // Support old flex spec from 2012.

var flex2012 = {
  supportedProperty: function supportedProperty(prop, style) {
    var newProp = propMap[prop];
    if (!newProp) return false;
    return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
  }
};

var propMap$1 = {
  flex: 'box-flex',
  'flex-grow': 'box-flex',
  'flex-direction': ['box-orient', 'box-direction'],
  order: 'box-ordinal-group',
  'align-items': 'box-align',
  'flex-flow': ['box-orient', 'box-direction'],
  'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap$1);

var prefixCss = function prefixCss(p) {
  return prefix.css + p;
}; // Support old flex spec from 2009.


var flex2009 = {
  supportedProperty: function supportedProperty(prop, style, _ref) {
    var multiple = _ref.multiple;

    if (propKeys.indexOf(prop) > -1) {
      var newProp = propMap$1[prop];

      if (!Array.isArray(newProp)) {
        return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
      }

      if (!multiple) return false;

      for (var i = 0; i < newProp.length; i++) {
        if (!(prefix.js + pascalize(newProp[0]) in style)) {
          return false;
        }
      }

      return newProp.map(prefixCss);
    }

    return false;
  }
};

// plugins = [
//   ...plugins,
//    breakPropsOld,
//    inlineLogicalOld,
//    unprefixed,
//    prefixed,
//    scrollSnap,
//    flex2012,
//    flex2009
// ]
// Plugins without 'noPrefill' value, going last.
// 'flex-*' plugins should be at the bottom.
// 'flex2009' going after 'flex2012'.
// 'prefixed' going after 'unprefixed'

var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
var propertyDetectors = plugins.filter(function (p) {
  return p.supportedProperty;
}).map(function (p) {
  return p.supportedProperty;
});
var noPrefill = plugins.filter(function (p) {
  return p.noPrefill;
}).reduce(function (a, p) {
  a.push.apply(a, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(p.noPrefill));
  return a;
}, []);

var el;
var cache = {};

if (is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"]) {
  el = document.createElement('p'); // We test every property on vendor prefix requirement.
  // Once tested, result is cached. It gives us up to 70% perf boost.
  // http://jsperf.com/element-style-object-access-vs-plain-object
  //
  // Prefill cache with known css properties to reduce amount of
  // properties we need to feature test at runtime.
  // http://davidwalsh.name/vendor-prefix

  var computed = window.getComputedStyle(document.documentElement, '');

  for (var key$1 in computed) {
    // eslint-disable-next-line no-restricted-globals
    if (!isNaN(key$1)) cache[computed[key$1]] = computed[key$1];
  } // Properties that cannot be correctly detected using the
  // cache prefill method.


  noPrefill.forEach(function (x) {
    return delete cache[x];
  });
}
/**
 * Test if a property is supported, returns supported property with vendor
 * prefix if required. Returns `false` if not supported.
 *
 * @param {String} prop dash separated
 * @param {Object} [options]
 * @return {String|Boolean}
 * @api public
 */


function supportedProperty(prop, options) {
  if (options === void 0) {
    options = {};
  }

  // For server-side rendering.
  if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.

  if ( true && cache[prop] != null) {
    return cache[prop];
  } // Check if 'transition' or 'transform' natively supported in browser.


  if (prop === 'transition' || prop === 'transform') {
    options[prop] = prop in el.style;
  } // Find a plugin for current prefix property.


  for (var i = 0; i < propertyDetectors.length; i++) {
    cache[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.

    if (cache[prop]) break;
  } // Reset styles for current property.
  // Firefox can even throw an error for invalid properties, e.g., "0".


  try {
    el.style[prop] = '';
  } catch (err) {
    return false;
  }

  return cache[prop];
}

var cache$1 = {};
var transitionProperties = {
  transition: 1,
  'transition-property': 1,
  '-webkit-transition': 1,
  '-webkit-transition-property': 1
};
var transPropsRegExp = /(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;
var el$1;
/**
 * Returns prefixed value transition/transform if needed.
 *
 * @param {String} match
 * @param {String} p1
 * @param {String} p2
 * @return {String}
 * @api private
 */

function prefixTransitionCallback(match, p1, p2) {
  if (p1 === 'var') return 'var';
  if (p1 === 'all') return 'all';
  if (p2 === 'all') return ', all';
  var prefixedValue = p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
  if (!prefixedValue) return p1 || p2;
  return prefixedValue;
}

if (is_in_browser__WEBPACK_IMPORTED_MODULE_0__["default"]) el$1 = document.createElement('p');
/**
 * Returns prefixed value if needed. Returns `false` if value is not supported.
 *
 * @param {String} property
 * @param {String} value
 * @return {String|Boolean}
 * @api public
 */

function supportedValue(property, value) {
  // For server-side rendering.
  var prefixedValue = value;
  if (!el$1 || property === 'content') return value; // It is a string or a number as a string like '1'.
  // We want only prefixable values here.
  // eslint-disable-next-line no-restricted-globals

  if (typeof prefixedValue !== 'string' || !isNaN(parseInt(prefixedValue, 10))) {
    return prefixedValue;
  } // Create cache key for current value.


  var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.

  if ( true && cache$1[cacheKey] != null) {
    return cache$1[cacheKey];
  } // IE can even throw an error in some cases, for e.g. style.content = 'bar'.


  try {
    // Test value as it is.
    el$1.style[property] = prefixedValue;
  } catch (err) {
    // Return false if value not supported.
    cache$1[cacheKey] = false;
    return false;
  } // If 'transition' or 'transition-property' property.


  if (transitionProperties[property]) {
    prefixedValue = prefixedValue.replace(transPropsRegExp, prefixTransitionCallback);
  } else if (el$1.style[property] === '') {
    // Value with a vendor prefix.
    prefixedValue = prefix.css + prefixedValue; // Hardcode test to convert "flex" to "-ms-flexbox" for IE10.

    if (prefixedValue === '-ms-flex') el$1.style[property] = '-ms-flexbox'; // Test prefixed value.

    el$1.style[property] = prefixedValue; // Return false if value not supported.

    if (el$1.style[property] === '') {
      cache$1[cacheKey] = false;
      return false;
    }
  } // Reset styles for current property.


  el$1.style[property] = ''; // Write current value to cache.

  cache$1[cacheKey] = prefixedValue;
  return cache$1[cacheKey];
}




/***/ },

/***/ "./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/addClass.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/addClass.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ addClass)
/* harmony export */ });
/* harmony import */ var _hasClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hasClass */ "./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/hasClass.js");

/**
 * Adds a CSS class to a given element.
 * 
 * @param element the element
 * @param className the CSS class name
 */

function addClass(element, className) {
  if (element.classList) element.classList.add(className);else if (!(0,_hasClass__WEBPACK_IMPORTED_MODULE_0__["default"])(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
}

/***/ },

/***/ "./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/hasClass.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/hasClass.js ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ hasClass)
/* harmony export */ });
/**
 * Checks if a given element has a CSS class.
 * 
 * @param element the element
 * @param className the CSS class name
 */
function hasClass(element, className) {
  if (element.classList) return !!className && element.classList.contains(className);
  return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
}

/***/ },

/***/ "./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/removeClass.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/removeClass.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ removeClass)
/* harmony export */ });
function replaceClassName(origClass, classToRemove) {
  return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
}
/**
 * Removes a CSS class from a given element.
 * 
 * @param element the element
 * @param className the CSS class name
 */


function removeClass(element, className) {
  if (element.classList) {
    element.classList.remove(className);
  } else if (typeof element.className === 'string') {
    element.className = replaceClassName(element.className, className);
  } else {
    element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));
  }
}

/***/ },

/***/ "./node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js ***!
  \********************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var callBind = __webpack_require__(/*! call-bind-apply-helpers */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js");
var gOPD = __webpack_require__(/*! gopd */ "./node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js");

var hasProtoAccessor;
try {
	// eslint-disable-next-line no-extra-parens, no-proto
	hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
} catch (e) {
	if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
		throw e;
	}
}

// eslint-disable-next-line no-extra-parens
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));

var $Object = Object;
var $getPrototypeOf = $Object.getPrototypeOf;

/** @type {import('./get')} */
module.exports = desc && typeof desc.get === 'function'
	? callBind([desc.get])
	: typeof $getPrototypeOf === 'function'
		? /** @type {import('./get')} */ function getDunder(value) {
			// eslint-disable-next-line eqeqeq
			return $getPrototypeOf(value == null ? value : $Object(value));
		}
		: false;


/***/ },

/***/ "./node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js ***!
  \**********************************************************************************************/
(module) {

"use strict";


/** @type {import('.')} */
var $defineProperty = Object.defineProperty || false;
if ($defineProperty) {
	try {
		$defineProperty({}, 'a', { value: 1 });
	} catch (e) {
		// IE 8 has a broken defineProperty
		$defineProperty = false;
	}
}

module.exports = $defineProperty;


/***/ },

/***/ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js ***!
  \***************************************************************************/
(module) {

"use strict";


/** @type {import('./eval')} */
module.exports = EvalError;


/***/ },

/***/ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js ***!
  \****************************************************************************/
(module) {

"use strict";


/** @type {import('.')} */
module.exports = Error;


/***/ },

/***/ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js ***!
  \****************************************************************************/
(module) {

"use strict";


/** @type {import('./range')} */
module.exports = RangeError;


/***/ },

/***/ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"
/*!**************************************************************************!*\
  !*** ./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js ***!
  \**************************************************************************/
(module) {

"use strict";


/** @type {import('./ref')} */
module.exports = ReferenceError;


/***/ },

/***/ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js ***!
  \*****************************************************************************/
(module) {

"use strict";


/** @type {import('./syntax')} */
module.exports = SyntaxError;


/***/ },

/***/ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js ***!
  \***************************************************************************/
(module) {

"use strict";


/** @type {import('./type')} */
module.exports = TypeError;


/***/ },

/***/ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"
/*!**************************************************************************!*\
  !*** ./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js ***!
  \**************************************************************************/
(module) {

"use strict";


/** @type {import('./uri')} */
module.exports = URIError;


/***/ },

/***/ "./node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js ***!
  \****************************************************************************************/
(module) {

"use strict";


/** @type {import('.')} */
module.exports = Object;


/***/ },

/***/ "./node_modules/.pnpm/events@3.3.0/node_modules/events/events.js"
/*!***********************************************************************!*\
  !*** ./node_modules/.pnpm/events@3.3.0/node_modules/events/events.js ***!
  \***********************************************************************/
(module) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.



var R = typeof Reflect === 'object' ? Reflect : null
var ReflectApply = R && typeof R.apply === 'function'
  ? R.apply
  : function ReflectApply(target, receiver, args) {
    return Function.prototype.apply.call(target, receiver, args);
  }

var ReflectOwnKeys
if (R && typeof R.ownKeys === 'function') {
  ReflectOwnKeys = R.ownKeys
} else if (Object.getOwnPropertySymbols) {
  ReflectOwnKeys = function ReflectOwnKeys(target) {
    return Object.getOwnPropertyNames(target)
      .concat(Object.getOwnPropertySymbols(target));
  };
} else {
  ReflectOwnKeys = function ReflectOwnKeys(target) {
    return Object.getOwnPropertyNames(target);
  };
}

function ProcessEmitWarning(warning) {
  if (console && console.warn) console.warn(warning);
}

var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {
  return value !== value;
}

function EventEmitter() {
  EventEmitter.init.call(this);
}
module.exports = EventEmitter;
module.exports.once = once;

// Backwards-compat with node 0.10.x
EventEmitter.EventEmitter = EventEmitter;

EventEmitter.prototype._events = undefined;
EventEmitter.prototype._eventsCount = 0;
EventEmitter.prototype._maxListeners = undefined;

// By default EventEmitters will print a warning if more than 10 listeners are
// added to it. This is a useful default which helps finding memory leaks.
var defaultMaxListeners = 10;

function checkListener(listener) {
  if (typeof listener !== 'function') {
    throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener);
  }
}

Object.defineProperty(EventEmitter, 'defaultMaxListeners', {
  enumerable: true,
  get: function() {
    return defaultMaxListeners;
  },
  set: function(arg) {
    if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {
      throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.');
    }
    defaultMaxListeners = arg;
  }
});

EventEmitter.init = function() {

  if (this._events === undefined ||
      this._events === Object.getPrototypeOf(this)._events) {
    this._events = Object.create(null);
    this._eventsCount = 0;
  }

  this._maxListeners = this._maxListeners || undefined;
};

// Obviously not all Emitters should be limited to 10. This function allows
// that to be increased. Set to zero for unlimited.
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
  if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {
    throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.');
  }
  this._maxListeners = n;
  return this;
};

function _getMaxListeners(that) {
  if (that._maxListeners === undefined)
    return EventEmitter.defaultMaxListeners;
  return that._maxListeners;
}

EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
  return _getMaxListeners(this);
};

EventEmitter.prototype.emit = function emit(type) {
  var args = [];
  for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);
  var doError = (type === 'error');

  var events = this._events;
  if (events !== undefined)
    doError = (doError && events.error === undefined);
  else if (!doError)
    return false;

  // If there is no 'error' event listener then throw.
  if (doError) {
    var er;
    if (args.length > 0)
      er = args[0];
    if (er instanceof Error) {
      // Note: The comments on the `throw` lines are intentional, they show
      // up in Node's output if this results in an unhandled exception.
      throw er; // Unhandled 'error' event
    }
    // At least give some kind of context to the user
    var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));
    err.context = er;
    throw err; // Unhandled 'error' event
  }

  var handler = events[type];

  if (handler === undefined)
    return false;

  if (typeof handler === 'function') {
    ReflectApply(handler, this, args);
  } else {
    var len = handler.length;
    var listeners = arrayClone(handler, len);
    for (var i = 0; i < len; ++i)
      ReflectApply(listeners[i], this, args);
  }

  return true;
};

function _addListener(target, type, listener, prepend) {
  var m;
  var events;
  var existing;

  checkListener(listener);

  events = target._events;
  if (events === undefined) {
    events = target._events = Object.create(null);
    target._eventsCount = 0;
  } else {
    // To avoid recursion in the case that type === "newListener"! Before
    // adding it to the listeners, first emit "newListener".
    if (events.newListener !== undefined) {
      target.emit('newListener', type,
                  listener.listener ? listener.listener : listener);

      // Re-assign `events` because a newListener handler could have caused the
      // this._events to be assigned to a new object
      events = target._events;
    }
    existing = events[type];
  }

  if (existing === undefined) {
    // Optimize the case of one listener. Don't need the extra array object.
    existing = events[type] = listener;
    ++target._eventsCount;
  } else {
    if (typeof existing === 'function') {
      // Adding the second element, need to change to array.
      existing = events[type] =
        prepend ? [listener, existing] : [existing, listener];
      // If we've already got an array, just append.
    } else if (prepend) {
      existing.unshift(listener);
    } else {
      existing.push(listener);
    }

    // Check for listener leak
    m = _getMaxListeners(target);
    if (m > 0 && existing.length > m && !existing.warned) {
      existing.warned = true;
      // No error code for this since it is a Warning
      // eslint-disable-next-line no-restricted-syntax
      var w = new Error('Possible EventEmitter memory leak detected. ' +
                          existing.length + ' ' + String(type) + ' listeners ' +
                          'added. Use emitter.setMaxListeners() to ' +
                          'increase limit');
      w.name = 'MaxListenersExceededWarning';
      w.emitter = target;
      w.type = type;
      w.count = existing.length;
      ProcessEmitWarning(w);
    }
  }

  return target;
}

EventEmitter.prototype.addListener = function addListener(type, listener) {
  return _addListener(this, type, listener, false);
};

EventEmitter.prototype.on = EventEmitter.prototype.addListener;

EventEmitter.prototype.prependListener =
    function prependListener(type, listener) {
      return _addListener(this, type, listener, true);
    };

function onceWrapper() {
  if (!this.fired) {
    this.target.removeListener(this.type, this.wrapFn);
    this.fired = true;
    if (arguments.length === 0)
      return this.listener.call(this.target);
    return this.listener.apply(this.target, arguments);
  }
}

function _onceWrap(target, type, listener) {
  var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };
  var wrapped = onceWrapper.bind(state);
  wrapped.listener = listener;
  state.wrapFn = wrapped;
  return wrapped;
}

EventEmitter.prototype.once = function once(type, listener) {
  checkListener(listener);
  this.on(type, _onceWrap(this, type, listener));
  return this;
};

EventEmitter.prototype.prependOnceListener =
    function prependOnceListener(type, listener) {
      checkListener(listener);
      this.prependListener(type, _onceWrap(this, type, listener));
      return this;
    };

// Emits a 'removeListener' event if and only if the listener was removed.
EventEmitter.prototype.removeListener =
    function removeListener(type, listener) {
      var list, events, position, i, originalListener;

      checkListener(listener);

      events = this._events;
      if (events === undefined)
        return this;

      list = events[type];
      if (list === undefined)
        return this;

      if (list === listener || list.listener === listener) {
        if (--this._eventsCount === 0)
          this._events = Object.create(null);
        else {
          delete events[type];
          if (events.removeListener)
            this.emit('removeListener', type, list.listener || listener);
        }
      } else if (typeof list !== 'function') {
        position = -1;

        for (i = list.length - 1; i >= 0; i--) {
          if (list[i] === listener || list[i].listener === listener) {
            originalListener = list[i].listener;
            position = i;
            break;
          }
        }

        if (position < 0)
          return this;

        if (position === 0)
          list.shift();
        else {
          spliceOne(list, position);
        }

        if (list.length === 1)
          events[type] = list[0];

        if (events.removeListener !== undefined)
          this.emit('removeListener', type, originalListener || listener);
      }

      return this;
    };

EventEmitter.prototype.off = EventEmitter.prototype.removeListener;

EventEmitter.prototype.removeAllListeners =
    function removeAllListeners(type) {
      var listeners, events, i;

      events = this._events;
      if (events === undefined)
        return this;

      // not listening for removeListener, no need to emit
      if (events.removeListener === undefined) {
        if (arguments.length === 0) {
          this._events = Object.create(null);
          this._eventsCount = 0;
        } else if (events[type] !== undefined) {
          if (--this._eventsCount === 0)
            this._events = Object.create(null);
          else
            delete events[type];
        }
        return this;
      }

      // emit removeListener for all listeners on all events
      if (arguments.length === 0) {
        var keys = Object.keys(events);
        var key;
        for (i = 0; i < keys.length; ++i) {
          key = keys[i];
          if (key === 'removeListener') continue;
          this.removeAllListeners(key);
        }
        this.removeAllListeners('removeListener');
        this._events = Object.create(null);
        this._eventsCount = 0;
        return this;
      }

      listeners = events[type];

      if (typeof listeners === 'function') {
        this.removeListener(type, listeners);
      } else if (listeners !== undefined) {
        // LIFO order
        for (i = listeners.length - 1; i >= 0; i--) {
          this.removeListener(type, listeners[i]);
        }
      }

      return this;
    };

function _listeners(target, type, unwrap) {
  var events = target._events;

  if (events === undefined)
    return [];

  var evlistener = events[type];
  if (evlistener === undefined)
    return [];

  if (typeof evlistener === 'function')
    return unwrap ? [evlistener.listener || evlistener] : [evlistener];

  return unwrap ?
    unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
}

EventEmitter.prototype.listeners = function listeners(type) {
  return _listeners(this, type, true);
};

EventEmitter.prototype.rawListeners = function rawListeners(type) {
  return _listeners(this, type, false);
};

EventEmitter.listenerCount = function(emitter, type) {
  if (typeof emitter.listenerCount === 'function') {
    return emitter.listenerCount(type);
  } else {
    return listenerCount.call(emitter, type);
  }
};

EventEmitter.prototype.listenerCount = listenerCount;
function listenerCount(type) {
  var events = this._events;

  if (events !== undefined) {
    var evlistener = events[type];

    if (typeof evlistener === 'function') {
      return 1;
    } else if (evlistener !== undefined) {
      return evlistener.length;
    }
  }

  return 0;
}

EventEmitter.prototype.eventNames = function eventNames() {
  return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
};

function arrayClone(arr, n) {
  var copy = new Array(n);
  for (var i = 0; i < n; ++i)
    copy[i] = arr[i];
  return copy;
}

function spliceOne(list, index) {
  for (; index + 1 < list.length; index++)
    list[index] = list[index + 1];
  list.pop();
}

function unwrapListeners(arr) {
  var ret = new Array(arr.length);
  for (var i = 0; i < ret.length; ++i) {
    ret[i] = arr[i].listener || arr[i];
  }
  return ret;
}

function once(emitter, name) {
  return new Promise(function (resolve, reject) {
    function errorListener(err) {
      emitter.removeListener(name, resolver);
      reject(err);
    }

    function resolver() {
      if (typeof emitter.removeListener === 'function') {
        emitter.removeListener('error', errorListener);
      }
      resolve([].slice.call(arguments));
    };

    eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });
    if (name !== 'error') {
      addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
    }
  });
}

function addErrorHandlerIfEventEmitter(emitter, handler, flags) {
  if (typeof emitter.on === 'function') {
    eventTargetAgnosticAddListener(emitter, 'error', handler, flags);
  }
}

function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
  if (typeof emitter.on === 'function') {
    if (flags.once) {
      emitter.once(name, listener);
    } else {
      emitter.on(name, listener);
    }
  } else if (typeof emitter.addEventListener === 'function') {
    // EventTarget does not have `error` event semantics like Node
    // EventEmitters, we do not listen for `error` events here.
    emitter.addEventListener(name, function wrapListener(arg) {
      // IE does not have builtin `{ once: true }` support so we
      // have to do it manually.
      if (flags.once) {
        emitter.removeEventListener(name, wrapListener);
      }
      listener(arg);
    });
  } else {
    throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
  }
}


/***/ },

/***/ "./node_modules/.pnpm/fast-safe-stringify@2.1.1/node_modules/fast-safe-stringify/index.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/fast-safe-stringify@2.1.1/node_modules/fast-safe-stringify/index.js ***!
  \************************************************************************************************/
(module) {

module.exports = stringify
stringify.default = stringify
stringify.stable = deterministicStringify
stringify.stableStringify = deterministicStringify

var LIMIT_REPLACE_NODE = '[...]'
var CIRCULAR_REPLACE_NODE = '[Circular]'

var arr = []
var replacerStack = []

function defaultOptions () {
  return {
    depthLimit: Number.MAX_SAFE_INTEGER,
    edgesLimit: Number.MAX_SAFE_INTEGER
  }
}

// Regular stringify
function stringify (obj, replacer, spacer, options) {
  if (typeof options === 'undefined') {
    options = defaultOptions()
  }

  decirc(obj, '', 0, [], undefined, 0, options)
  var res
  try {
    if (replacerStack.length === 0) {
      res = JSON.stringify(obj, replacer, spacer)
    } else {
      res = JSON.stringify(obj, replaceGetterValues(replacer), spacer)
    }
  } catch (_) {
    return JSON.stringify('[unable to serialize, circular reference is too complex to analyze]')
  } finally {
    while (arr.length !== 0) {
      var part = arr.pop()
      if (part.length === 4) {
        Object.defineProperty(part[0], part[1], part[3])
      } else {
        part[0][part[1]] = part[2]
      }
    }
  }
  return res
}

function setReplace (replace, val, k, parent) {
  var propertyDescriptor = Object.getOwnPropertyDescriptor(parent, k)
  if (propertyDescriptor.get !== undefined) {
    if (propertyDescriptor.configurable) {
      Object.defineProperty(parent, k, { value: replace })
      arr.push([parent, k, val, propertyDescriptor])
    } else {
      replacerStack.push([val, k, replace])
    }
  } else {
    parent[k] = replace
    arr.push([parent, k, val])
  }
}

function decirc (val, k, edgeIndex, stack, parent, depth, options) {
  depth += 1
  var i
  if (typeof val === 'object' && val !== null) {
    for (i = 0; i < stack.length; i++) {
      if (stack[i] === val) {
        setReplace(CIRCULAR_REPLACE_NODE, val, k, parent)
        return
      }
    }

    if (
      typeof options.depthLimit !== 'undefined' &&
      depth > options.depthLimit
    ) {
      setReplace(LIMIT_REPLACE_NODE, val, k, parent)
      return
    }

    if (
      typeof options.edgesLimit !== 'undefined' &&
      edgeIndex + 1 > options.edgesLimit
    ) {
      setReplace(LIMIT_REPLACE_NODE, val, k, parent)
      return
    }

    stack.push(val)
    // Optimize for Arrays. Big arrays could kill the performance otherwise!
    if (Array.isArray(val)) {
      for (i = 0; i < val.length; i++) {
        decirc(val[i], i, i, stack, val, depth, options)
      }
    } else {
      var keys = Object.keys(val)
      for (i = 0; i < keys.length; i++) {
        var key = keys[i]
        decirc(val[key], key, i, stack, val, depth, options)
      }
    }
    stack.pop()
  }
}

// Stable-stringify
function compareFunction (a, b) {
  if (a < b) {
    return -1
  }
  if (a > b) {
    return 1
  }
  return 0
}

function deterministicStringify (obj, replacer, spacer, options) {
  if (typeof options === 'undefined') {
    options = defaultOptions()
  }

  var tmp = deterministicDecirc(obj, '', 0, [], undefined, 0, options) || obj
  var res
  try {
    if (replacerStack.length === 0) {
      res = JSON.stringify(tmp, replacer, spacer)
    } else {
      res = JSON.stringify(tmp, replaceGetterValues(replacer), spacer)
    }
  } catch (_) {
    return JSON.stringify('[unable to serialize, circular reference is too complex to analyze]')
  } finally {
    // Ensure that we restore the object as it was.
    while (arr.length !== 0) {
      var part = arr.pop()
      if (part.length === 4) {
        Object.defineProperty(part[0], part[1], part[3])
      } else {
        part[0][part[1]] = part[2]
      }
    }
  }
  return res
}

function deterministicDecirc (val, k, edgeIndex, stack, parent, depth, options) {
  depth += 1
  var i
  if (typeof val === 'object' && val !== null) {
    for (i = 0; i < stack.length; i++) {
      if (stack[i] === val) {
        setReplace(CIRCULAR_REPLACE_NODE, val, k, parent)
        return
      }
    }
    try {
      if (typeof val.toJSON === 'function') {
        return
      }
    } catch (_) {
      return
    }

    if (
      typeof options.depthLimit !== 'undefined' &&
      depth > options.depthLimit
    ) {
      setReplace(LIMIT_REPLACE_NODE, val, k, parent)
      return
    }

    if (
      typeof options.edgesLimit !== 'undefined' &&
      edgeIndex + 1 > options.edgesLimit
    ) {
      setReplace(LIMIT_REPLACE_NODE, val, k, parent)
      return
    }

    stack.push(val)
    // Optimize for Arrays. Big arrays could kill the performance otherwise!
    if (Array.isArray(val)) {
      for (i = 0; i < val.length; i++) {
        deterministicDecirc(val[i], i, i, stack, val, depth, options)
      }
    } else {
      // Create a temporary object in the required way
      var tmp = {}
      var keys = Object.keys(val).sort(compareFunction)
      for (i = 0; i < keys.length; i++) {
        var key = keys[i]
        deterministicDecirc(val[key], key, i, stack, val, depth, options)
        tmp[key] = val[key]
      }
      if (typeof parent !== 'undefined') {
        arr.push([parent, k, val])
        parent[k] = tmp
      } else {
        return tmp
      }
    }
    stack.pop()
  }
}

// wraps replacer function to handle values we couldn't replace
// and mark them as replaced value
function replaceGetterValues (replacer) {
  replacer =
    typeof replacer !== 'undefined'
      ? replacer
      : function (k, v) {
        return v
      }
  return function (key, val) {
    if (replacerStack.length > 0) {
      for (var i = 0; i < replacerStack.length; i++) {
        var part = replacerStack[i]
        if (part[1] === key && part[0] === val) {
          val = part[2]
          replacerStack.splice(i, 1)
          break
        }
      }
    }
    return replacer.call(this, key, val)
  }
}


/***/ },

/***/ "./node_modules/.pnpm/file-saver@1.3.8/node_modules/file-saver/FileSaver.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/file-saver@1.3.8/node_modules/file-saver/FileSaver.js ***!
  \**********************************************************************************/
(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_RESULT__;/* FileSaver.js
 * A saveAs() FileSaver implementation.
 * 1.3.2
 * 2016-06-16 18:25:19
 *
 * By Eli Grey, http://eligrey.com
 * License: MIT
 *   See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md
 */

/*global self */
/*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */

/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */

var saveAs = saveAs || (function(view) {
	"use strict";
	// IE <10 is explicitly unsupported
	if (typeof view === "undefined" || typeof navigator !== "undefined" && /MSIE [1-9]\./.test(navigator.userAgent)) {
		return;
	}
	var
		  doc = view.document
		  // only get URL when necessary in case Blob.js hasn't overridden it yet
		, get_URL = function() {
			return view.URL || view.webkitURL || view;
		}
		, save_link = doc.createElementNS("http://www.w3.org/1999/xhtml", "a")
		, can_use_save_link = "download" in save_link
		, click = function(node) {
			var event = new MouseEvent("click");
			node.dispatchEvent(event);
		}
		, is_safari = /constructor/i.test(view.HTMLElement) || view.safari
		, is_chrome_ios =/CriOS\/[\d]+/.test(navigator.userAgent)
		, throw_outside = function(ex) {
			(view.setImmediate || view.setTimeout)(function() {
				throw ex;
			}, 0);
		}
		, force_saveable_type = "application/octet-stream"
		// the Blob API is fundamentally broken as there is no "downloadfinished" event to subscribe to
		, arbitrary_revoke_timeout = 1000 * 40 // in ms
		, revoke = function(file) {
			var revoker = function() {
				if (typeof file === "string") { // file is an object URL
					get_URL().revokeObjectURL(file);
				} else { // file is a File
					file.remove();
				}
			};
			setTimeout(revoker, arbitrary_revoke_timeout);
		}
		, dispatch = function(filesaver, event_types, event) {
			event_types = [].concat(event_types);
			var i = event_types.length;
			while (i--) {
				var listener = filesaver["on" + event_types[i]];
				if (typeof listener === "function") {
					try {
						listener.call(filesaver, event || filesaver);
					} catch (ex) {
						throw_outside(ex);
					}
				}
			}
		}
		, auto_bom = function(blob) {
			// prepend BOM for UTF-8 XML and text/* types (including HTML)
			// note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF
			if (/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type)) {
				return new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
			}
			return blob;
		}
		, FileSaver = function(blob, name, no_auto_bom) {
			if (!no_auto_bom) {
				blob = auto_bom(blob);
			}
			// First try a.download, then web filesystem, then object URLs
			var
				  filesaver = this
				, type = blob.type
				, force = type === force_saveable_type
				, object_url
				, dispatch_all = function() {
					dispatch(filesaver, "writestart progress write writeend".split(" "));
				}
				// on any filesys errors revert to saving with object URLs
				, fs_error = function() {
					if ((is_chrome_ios || (force && is_safari)) && view.FileReader) {
						// Safari doesn't allow downloading of blob urls
						var reader = new FileReader();
						reader.onloadend = function() {
							var url = is_chrome_ios ? reader.result : reader.result.replace(/^data:[^;]*;/, 'data:attachment/file;');
							var popup = view.open(url, '_blank');
							if(!popup) view.location.href = url;
							url=undefined; // release reference before dispatching
							filesaver.readyState = filesaver.DONE;
							dispatch_all();
						};
						reader.readAsDataURL(blob);
						filesaver.readyState = filesaver.INIT;
						return;
					}
					// don't create more object URLs than needed
					if (!object_url) {
						object_url = get_URL().createObjectURL(blob);
					}
					if (force) {
						view.location.href = object_url;
					} else {
						var opened = view.open(object_url, "_blank");
						if (!opened) {
							// Apple does not allow window.open, see https://developer.apple.com/library/safari/documentation/Tools/Conceptual/SafariExtensionGuide/WorkingwithWindowsandTabs/WorkingwithWindowsandTabs.html
							view.location.href = object_url;
						}
					}
					filesaver.readyState = filesaver.DONE;
					dispatch_all();
					revoke(object_url);
				}
			;
			filesaver.readyState = filesaver.INIT;

			if (can_use_save_link) {
				object_url = get_URL().createObjectURL(blob);
				setTimeout(function() {
					save_link.href = object_url;
					save_link.download = name;
					click(save_link);
					dispatch_all();
					revoke(object_url);
					filesaver.readyState = filesaver.DONE;
				});
				return;
			}

			fs_error();
		}
		, FS_proto = FileSaver.prototype
		, saveAs = function(blob, name, no_auto_bom) {
			return new FileSaver(blob, name || blob.name || "download", no_auto_bom);
		}
	;
	// IE 10+ (native saveAs)
	if (typeof navigator !== "undefined" && navigator.msSaveOrOpenBlob) {
		return function(blob, name, no_auto_bom) {
			name = name || blob.name || "download";

			if (!no_auto_bom) {
				blob = auto_bom(blob);
			}
			return navigator.msSaveOrOpenBlob(blob, name);
		};
	}

	FS_proto.abort = function(){};
	FS_proto.readyState = FS_proto.INIT = 0;
	FS_proto.WRITING = 1;
	FS_proto.DONE = 2;

	FS_proto.error =
	FS_proto.onwritestart =
	FS_proto.onprogress =
	FS_proto.onwrite =
	FS_proto.onabort =
	FS_proto.onerror =
	FS_proto.onwriteend =
		null;

	return saveAs;
}(
	   typeof self !== "undefined" && self
	|| typeof window !== "undefined" && window
	|| this.content
));
// `self` is undefined in Firefox for Android content script context
// while `this` is nsIContentFrameMessageManager
// with an attribute `content` that corresponds to the window

if ( true && module.exports) {
  module.exports.saveAs = saveAs;
} else if (( true && __webpack_require__.amdD !== null) && (__webpack_require__.amdO !== null)) {
  !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
    return saveAs;
  }).call(exports, __webpack_require__, exports, module),
		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
}


/***/ },

/***/ "./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js ***!
  \*********************************************************************************************/
(module) {

"use strict";


/* eslint no-invalid-this: 1 */

var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
var toStr = Object.prototype.toString;
var max = Math.max;
var funcType = '[object Function]';

var concatty = function concatty(a, b) {
    var arr = [];

    for (var i = 0; i < a.length; i += 1) {
        arr[i] = a[i];
    }
    for (var j = 0; j < b.length; j += 1) {
        arr[j + a.length] = b[j];
    }

    return arr;
};

var slicy = function slicy(arrLike, offset) {
    var arr = [];
    for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
        arr[j] = arrLike[i];
    }
    return arr;
};

var joiny = function (arr, joiner) {
    var str = '';
    for (var i = 0; i < arr.length; i += 1) {
        str += arr[i];
        if (i + 1 < arr.length) {
            str += joiner;
        }
    }
    return str;
};

module.exports = function bind(that) {
    var target = this;
    if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
        throw new TypeError(ERROR_MESSAGE + target);
    }
    var args = slicy(arguments, 1);

    var bound;
    var binder = function () {
        if (this instanceof bound) {
            var result = target.apply(
                this,
                concatty(args, arguments)
            );
            if (Object(result) === result) {
                return result;
            }
            return this;
        }
        return target.apply(
            that,
            concatty(args, arguments)
        );

    };

    var boundLength = max(0, target.length - args.length);
    var boundArgs = [];
    for (var i = 0; i < boundLength; i++) {
        boundArgs[i] = '$' + i;
    }

    bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);

    if (target.prototype) {
        var Empty = function Empty() {};
        Empty.prototype = target.prototype;
        bound.prototype = new Empty();
        Empty.prototype = null;
    }

    return bound;
};


/***/ },

/***/ "./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js ***!
  \************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var implementation = __webpack_require__(/*! ./implementation */ "./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js");

module.exports = Function.prototype.bind || implementation;


/***/ },

/***/ "./node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js ***!
  \************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var undefined;

var $Object = __webpack_require__(/*! es-object-atoms */ "./node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js");

var $Error = __webpack_require__(/*! es-errors */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js");
var $EvalError = __webpack_require__(/*! es-errors/eval */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js");
var $RangeError = __webpack_require__(/*! es-errors/range */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js");
var $ReferenceError = __webpack_require__(/*! es-errors/ref */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js");
var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js");
var $TypeError = __webpack_require__(/*! es-errors/type */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js");
var $URIError = __webpack_require__(/*! es-errors/uri */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js");

var abs = __webpack_require__(/*! math-intrinsics/abs */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js");
var floor = __webpack_require__(/*! math-intrinsics/floor */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js");
var max = __webpack_require__(/*! math-intrinsics/max */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js");
var min = __webpack_require__(/*! math-intrinsics/min */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js");
var pow = __webpack_require__(/*! math-intrinsics/pow */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js");
var round = __webpack_require__(/*! math-intrinsics/round */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js");
var sign = __webpack_require__(/*! math-intrinsics/sign */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js");

var $Function = Function;

// eslint-disable-next-line consistent-return
var getEvalledConstructor = function (expressionSyntax) {
	try {
		return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
	} catch (e) {}
};

var $gOPD = __webpack_require__(/*! gopd */ "./node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js");
var $defineProperty = __webpack_require__(/*! es-define-property */ "./node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js");

var throwTypeError = function () {
	throw new $TypeError();
};
var ThrowTypeError = $gOPD
	? (function () {
		try {
			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
			arguments.callee; // IE 8 does not throw here
			return throwTypeError;
		} catch (calleeThrows) {
			try {
				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
				return $gOPD(arguments, 'callee').get;
			} catch (gOPDthrows) {
				return throwTypeError;
			}
		}
	}())
	: throwTypeError;

var hasSymbols = __webpack_require__(/*! has-symbols */ "./node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js")();

var getProto = __webpack_require__(/*! get-proto */ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js");
var $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js");
var $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js");

var $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js");
var $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ "./node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js");

var needsEval = {};

var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);

var INTRINSICS = {
	__proto__: null,
	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
	'%Array%': Array,
	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
	'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
	'%AsyncFromSyncIteratorPrototype%': undefined,
	'%AsyncFunction%': needsEval,
	'%AsyncGenerator%': needsEval,
	'%AsyncGeneratorFunction%': needsEval,
	'%AsyncIteratorPrototype%': needsEval,
	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
	'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
	'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
	'%Boolean%': Boolean,
	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
	'%Date%': Date,
	'%decodeURI%': decodeURI,
	'%decodeURIComponent%': decodeURIComponent,
	'%encodeURI%': encodeURI,
	'%encodeURIComponent%': encodeURIComponent,
	'%Error%': $Error,
	'%eval%': eval, // eslint-disable-line no-eval
	'%EvalError%': $EvalError,
	'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
	'%Function%': $Function,
	'%GeneratorFunction%': needsEval,
	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
	'%isFinite%': isFinite,
	'%isNaN%': isNaN,
	'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
	'%Map%': typeof Map === 'undefined' ? undefined : Map,
	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
	'%Math%': Math,
	'%Number%': Number,
	'%Object%': $Object,
	'%Object.getOwnPropertyDescriptor%': $gOPD,
	'%parseFloat%': parseFloat,
	'%parseInt%': parseInt,
	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
	'%RangeError%': $RangeError,
	'%ReferenceError%': $ReferenceError,
	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
	'%RegExp%': RegExp,
	'%Set%': typeof Set === 'undefined' ? undefined : Set,
	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
	'%String%': String,
	'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
	'%Symbol%': hasSymbols ? Symbol : undefined,
	'%SyntaxError%': $SyntaxError,
	'%ThrowTypeError%': ThrowTypeError,
	'%TypedArray%': TypedArray,
	'%TypeError%': $TypeError,
	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
	'%URIError%': $URIError,
	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,

	'%Function.prototype.call%': $call,
	'%Function.prototype.apply%': $apply,
	'%Object.defineProperty%': $defineProperty,
	'%Object.getPrototypeOf%': $ObjectGPO,
	'%Math.abs%': abs,
	'%Math.floor%': floor,
	'%Math.max%': max,
	'%Math.min%': min,
	'%Math.pow%': pow,
	'%Math.round%': round,
	'%Math.sign%': sign,
	'%Reflect.getPrototypeOf%': $ReflectGPO
};

if (getProto) {
	try {
		null.error; // eslint-disable-line no-unused-expressions
	} catch (e) {
		// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
		var errorProto = getProto(getProto(e));
		INTRINSICS['%Error.prototype%'] = errorProto;
	}
}

var doEval = function doEval(name) {
	var value;
	if (name === '%AsyncFunction%') {
		value = getEvalledConstructor('async function () {}');
	} else if (name === '%GeneratorFunction%') {
		value = getEvalledConstructor('function* () {}');
	} else if (name === '%AsyncGeneratorFunction%') {
		value = getEvalledConstructor('async function* () {}');
	} else if (name === '%AsyncGenerator%') {
		var fn = doEval('%AsyncGeneratorFunction%');
		if (fn) {
			value = fn.prototype;
		}
	} else if (name === '%AsyncIteratorPrototype%') {
		var gen = doEval('%AsyncGenerator%');
		if (gen && getProto) {
			value = getProto(gen.prototype);
		}
	}

	INTRINSICS[name] = value;

	return value;
};

var LEGACY_ALIASES = {
	__proto__: null,
	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
	'%ArrayPrototype%': ['Array', 'prototype'],
	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
	'%BooleanPrototype%': ['Boolean', 'prototype'],
	'%DataViewPrototype%': ['DataView', 'prototype'],
	'%DatePrototype%': ['Date', 'prototype'],
	'%ErrorPrototype%': ['Error', 'prototype'],
	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
	'%FunctionPrototype%': ['Function', 'prototype'],
	'%Generator%': ['GeneratorFunction', 'prototype'],
	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
	'%JSONParse%': ['JSON', 'parse'],
	'%JSONStringify%': ['JSON', 'stringify'],
	'%MapPrototype%': ['Map', 'prototype'],
	'%NumberPrototype%': ['Number', 'prototype'],
	'%ObjectPrototype%': ['Object', 'prototype'],
	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
	'%PromisePrototype%': ['Promise', 'prototype'],
	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
	'%Promise_all%': ['Promise', 'all'],
	'%Promise_reject%': ['Promise', 'reject'],
	'%Promise_resolve%': ['Promise', 'resolve'],
	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
	'%RegExpPrototype%': ['RegExp', 'prototype'],
	'%SetPrototype%': ['Set', 'prototype'],
	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
	'%StringPrototype%': ['String', 'prototype'],
	'%SymbolPrototype%': ['Symbol', 'prototype'],
	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
	'%URIErrorPrototype%': ['URIError', 'prototype'],
	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
	'%WeakSetPrototype%': ['WeakSet', 'prototype']
};

var bind = __webpack_require__(/*! function-bind */ "./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js");
var hasOwn = __webpack_require__(/*! hasown */ "./node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js");
var $concat = bind.call($call, Array.prototype.concat);
var $spliceApply = bind.call($apply, Array.prototype.splice);
var $replace = bind.call($call, String.prototype.replace);
var $strSlice = bind.call($call, String.prototype.slice);
var $exec = bind.call($call, RegExp.prototype.exec);

/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
var stringToPath = function stringToPath(string) {
	var first = $strSlice(string, 0, 1);
	var last = $strSlice(string, -1);
	if (first === '%' && last !== '%') {
		throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
	} else if (last === '%' && first !== '%') {
		throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
	}
	var result = [];
	$replace(string, rePropName, function (match, number, quote, subString) {
		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
	});
	return result;
};
/* end adaptation */

var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
	var intrinsicName = name;
	var alias;
	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
		alias = LEGACY_ALIASES[intrinsicName];
		intrinsicName = '%' + alias[0] + '%';
	}

	if (hasOwn(INTRINSICS, intrinsicName)) {
		var value = INTRINSICS[intrinsicName];
		if (value === needsEval) {
			value = doEval(intrinsicName);
		}
		if (typeof value === 'undefined' && !allowMissing) {
			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
		}

		return {
			alias: alias,
			name: intrinsicName,
			value: value
		};
	}

	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
};

module.exports = function GetIntrinsic(name, allowMissing) {
	if (typeof name !== 'string' || name.length === 0) {
		throw new $TypeError('intrinsic name must be a non-empty string');
	}
	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
		throw new $TypeError('"allowMissing" argument must be a boolean');
	}

	if ($exec(/^%?[^%]*%?$/, name) === null) {
		throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
	}
	var parts = stringToPath(name);
	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';

	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
	var intrinsicRealName = intrinsic.name;
	var value = intrinsic.value;
	var skipFurtherCaching = false;

	var alias = intrinsic.alias;
	if (alias) {
		intrinsicBaseName = alias[0];
		$spliceApply(parts, $concat([0, 1], alias));
	}

	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
		var part = parts[i];
		var first = $strSlice(part, 0, 1);
		var last = $strSlice(part, -1);
		if (
			(
				(first === '"' || first === "'" || first === '`')
				|| (last === '"' || last === "'" || last === '`')
			)
			&& first !== last
		) {
			throw new $SyntaxError('property names with quotes must have matching quotes');
		}
		if (part === 'constructor' || !isOwn) {
			skipFurtherCaching = true;
		}

		intrinsicBaseName += '.' + part;
		intrinsicRealName = '%' + intrinsicBaseName + '%';

		if (hasOwn(INTRINSICS, intrinsicRealName)) {
			value = INTRINSICS[intrinsicRealName];
		} else if (value != null) {
			if (!(part in value)) {
				if (!allowMissing) {
					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
				}
				return void undefined;
			}
			if ($gOPD && (i + 1) >= parts.length) {
				var desc = $gOPD(value, part);
				isOwn = !!desc;

				// By convention, when a data property is converted to an accessor
				// property to emulate a data property that does not suffer from
				// the override mistake, that accessor's getter is marked with
				// an `originalValue` property. Here, when we detect this, we
				// uphold the illusion by pretending to see that original data
				// property, i.e., returning the value rather than the getter
				// itself.
				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
					value = desc.get;
				} else {
					value = value[part];
				}
			} else {
				isOwn = hasOwn(value, part);
				value = value[part];
			}

			if (isOwn && !skipFurtherCaching) {
				INTRINSICS[intrinsicRealName] = value;
			}
		}
	}
	return value;
};


/***/ },

/***/ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var $Object = __webpack_require__(/*! es-object-atoms */ "./node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js");

/** @type {import('./Object.getPrototypeOf')} */
module.exports = $Object.getPrototypeOf || null;


/***/ },

/***/ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js ***!
  \*********************************************************************************************/
(module) {

"use strict";


/** @type {import('./Reflect.getPrototypeOf')} */
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;


/***/ },

/***/ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js ***!
  \****************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js");
var originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ "./node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js");

var getDunderProto = __webpack_require__(/*! dunder-proto/get */ "./node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js");

/** @type {import('.')} */
module.exports = reflectGetProto
	? function getProto(O) {
		// @ts-expect-error TS can't narrow inside a closure, for some reason
		return reflectGetProto(O);
	}
	: originalGetProto
		? function getProto(O) {
			if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
				throw new TypeError('getProto: not an object');
			}
			// @ts-expect-error TS can't narrow inside a closure, for some reason
			return originalGetProto(O);
		}
		: getDunderProto
			? function getProto(O) {
				// @ts-expect-error TS can't narrow inside a closure, for some reason
				return getDunderProto(O);
			}
			: null;


/***/ },

/***/ "./node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"
/*!*****************************************************************!*\
  !*** ./node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js ***!
  \*****************************************************************/
(module) {

"use strict";


/** @type {import('./gOPD')} */
module.exports = Object.getOwnPropertyDescriptor;


/***/ },

/***/ "./node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"
/*!******************************************************************!*\
  !*** ./node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js ***!
  \******************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


/** @type {import('.')} */
var $gOPD = __webpack_require__(/*! ./gOPD */ "./node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js");

if ($gOPD) {
	try {
		$gOPD([], 'length');
	} catch (e) {
		// IE 8 has a broken gOPD
		$gOPD = null;
	}
}

module.exports = $gOPD;


/***/ },

/***/ "./node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js ***!
  \********************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var origSymbol = typeof Symbol !== 'undefined' && Symbol;
var hasSymbolSham = __webpack_require__(/*! ./shams */ "./node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js");

/** @type {import('.')} */
module.exports = function hasNativeSymbols() {
	if (typeof origSymbol !== 'function') { return false; }
	if (typeof Symbol !== 'function') { return false; }
	if (typeof origSymbol('foo') !== 'symbol') { return false; }
	if (typeof Symbol('bar') !== 'symbol') { return false; }

	return hasSymbolSham();
};


/***/ },

/***/ "./node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js ***!
  \********************************************************************************/
(module) {

"use strict";


/** @type {import('./shams')} */
/* eslint complexity: [2, 18], max-statements: [2, 33] */
module.exports = function hasSymbols() {
	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
	if (typeof Symbol.iterator === 'symbol') { return true; }

	/** @type {{ [k in symbol]?: unknown }} */
	var obj = {};
	var sym = Symbol('test');
	var symObj = Object(sym);
	if (typeof sym === 'string') { return false; }

	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }

	// temp disabled per https://github.com/ljharb/object.assign/issues/17
	// if (sym instanceof Symbol) { return false; }
	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
	// if (!(symObj instanceof Symbol)) { return false; }

	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }

	var symVal = 42;
	obj[sym] = symVal;
	for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }

	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }

	var syms = Object.getOwnPropertySymbols(obj);
	if (syms.length !== 1 || syms[0] !== sym) { return false; }

	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }

	if (typeof Object.getOwnPropertyDescriptor === 'function') {
		// eslint-disable-next-line no-extra-parens
		var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
	}

	return true;
};


/***/ },

/***/ "./node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js"
/*!**********************************************************************!*\
  !*** ./node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js ***!
  \**********************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var call = Function.prototype.call;
var $hasOwn = Object.prototype.hasOwnProperty;
var bind = __webpack_require__(/*! function-bind */ "./node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js");

/** @type {import('.')} */
module.exports = bind.call(call, $hasOwn);


/***/ },

/***/ "./node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"
/*!***********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
  \***********************************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var reactIs = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js");

/**
 * Copyright 2015, Yahoo! Inc.
 * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
 */
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[reactIs.ForwardRef] = FORWARD_REF_STATICS;
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;

function getStatics(component) {
  // React v16.11 and below
  if (reactIs.isMemo(component)) {
    return MEMO_STATICS;
  } // React v16.12 and above


  return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
}

var defineProperty = Object.defineProperty;
var getOwnPropertyNames = Object.getOwnPropertyNames;
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var getPrototypeOf = Object.getPrototypeOf;
var objectPrototype = Object.prototype;
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
  if (typeof sourceComponent !== 'string') {
    // don't hoist over string (html) components
    if (objectPrototype) {
      var inheritedComponent = getPrototypeOf(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 key = keys[i];

      if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
        var descriptor = getOwnPropertyDescriptor(sourceComponent, key);

        try {
          // Avoid failures from read-only properties
          defineProperty(targetComponent, key, descriptor);
        } catch (e) {}
      }
    }
  }

  return targetComponent;
}

module.exports = hoistNonReactStatics;


/***/ },

/***/ "./node_modules/.pnpm/hyphenate-style-name@1.1.0/node_modules/hyphenate-style-name/index.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/hyphenate-style-name@1.1.0/node_modules/hyphenate-style-name/index.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* eslint-disable no-var, prefer-template */
var uppercasePattern = /[A-Z]/g
var msPattern = /^ms-/
var cache = {}

function toHyphenLower(match) {
  return '-' + match.toLowerCase()
}

function hyphenateStyleName(name) {
  if (cache.hasOwnProperty(name)) {
    return cache[name]
  }

  var hName = name.replace(uppercasePattern, toHyphenLower)
  return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hyphenateStyleName);


/***/ },

/***/ "./node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js"
/*!************************************************************************!*\
  !*** ./node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js ***!
  \************************************************************************/
(__unused_webpack_module, exports) {

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
  var e, m
  var eLen = (nBytes * 8) - mLen - 1
  var eMax = (1 << eLen) - 1
  var eBias = eMax >> 1
  var nBits = -7
  var i = isLE ? (nBytes - 1) : 0
  var d = isLE ? -1 : 1
  var s = buffer[offset + i]

  i += d

  e = s & ((1 << (-nBits)) - 1)
  s >>= (-nBits)
  nBits += eLen
  for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}

  m = e & ((1 << (-nBits)) - 1)
  e >>= (-nBits)
  nBits += mLen
  for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}

  if (e === 0) {
    e = 1 - eBias
  } else if (e === eMax) {
    return m ? NaN : ((s ? -1 : 1) * Infinity)
  } else {
    m = m + Math.pow(2, mLen)
    e = e - eBias
  }
  return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
}

exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
  var e, m, c
  var eLen = (nBytes * 8) - mLen - 1
  var eMax = (1 << eLen) - 1
  var eBias = eMax >> 1
  var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
  var i = isLE ? 0 : (nBytes - 1)
  var d = isLE ? 1 : -1
  var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0

  value = Math.abs(value)

  if (isNaN(value) || value === Infinity) {
    m = isNaN(value) ? 1 : 0
    e = eMax
  } else {
    e = Math.floor(Math.log(value) / Math.LN2)
    if (value * (c = Math.pow(2, -e)) < 1) {
      e--
      c *= 2
    }
    if (e + eBias >= 1) {
      value += rt / c
    } else {
      value += rt * Math.pow(2, 1 - eBias)
    }
    if (value * c >= 2) {
      e++
      c /= 2
    }

    if (e + eBias >= eMax) {
      m = 0
      e = eMax
    } else if (e + eBias >= 1) {
      m = ((value * c) - 1) * Math.pow(2, mLen)
      e = e + eBias
    } else {
      m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
      e = 0
    }
  }

  for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}

  e = (e << mLen) | m
  eLen += mLen
  for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}

  buffer[offset + i - d] |= s * 128
}


/***/ },

/***/ "./node_modules/.pnpm/is-buffer@1.1.6/node_modules/is-buffer/index.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/is-buffer@1.1.6/node_modules/is-buffer/index.js ***!
  \****************************************************************************/
(module) {

/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */

// The _isBuffer check is for Safari 5-7 support, because it's missing
// Object.prototype.constructor. Remove this eventually
module.exports = function (obj) {
  return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
}

function isBuffer (obj) {
  return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
}

// For Node v0.10 support. Remove this eventually.
function isSlowBuffer (obj) {
  return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
}


/***/ },

/***/ "./node_modules/.pnpm/is-in-browser@1.1.3/node_modules/is-in-browser/dist/module.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/is-in-browser@1.1.3/node_modules/is-in-browser/dist/module.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   isBrowser: () => (/* binding */ isBrowser)
/* harmony export */ });
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === 'object' && document.nodeType === 9;

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isBrowser);


/***/ },

/***/ "./node_modules/.pnpm/is-url@1.2.4/node_modules/is-url/index.js"
/*!**********************************************************************!*\
  !*** ./node_modules/.pnpm/is-url@1.2.4/node_modules/is-url/index.js ***!
  \**********************************************************************/
(module) {


/**
 * Expose `isUrl`.
 */

module.exports = isUrl;

/**
 * RegExps.
 * A URL must match #1 and then at least one of #2/#3.
 * Use two levels of REs to avoid REDOS.
 */

var protocolAndDomainRE = /^(?:\w+:)?\/\/(\S+)$/;

var localhostDomainRE = /^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/
var nonLocalhostDomainRE = /^[^\s\.]+\.\S{2,}$/;

/**
 * Loosely validate a URL `string`.
 *
 * @param {String} string
 * @return {Boolean}
 */

function isUrl(string){
  if (typeof string !== 'string') {
    return false;
  }

  var match = string.match(protocolAndDomainRE);
  if (!match) {
    return false;
  }

  var everythingAfterProtocol = match[1];
  if (!everythingAfterProtocol) {
    return false;
  }

  if (localhostDomainRE.test(everythingAfterProtocol) ||
      nonLocalhostDomainRE.test(everythingAfterProtocol)) {
    return true;
  }

  return false;
}


/***/ },

/***/ "./node_modules/.pnpm/jss-plugin-camel-case@10.10.0/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js"
/*!*******************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/jss-plugin-camel-case@10.10.0/node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js ***!
  \*******************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hyphenate-style-name */ "./node_modules/.pnpm/hyphenate-style-name@1.1.0/node_modules/hyphenate-style-name/index.js");


/**
 * Convert camel cased property names to dash separated.
 */

function convertCase(style) {
  var converted = {};

  for (var prop in style) {
    var key = prop.indexOf('--') === 0 ? prop : (0,hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__["default"])(prop);
    converted[key] = style[prop];
  }

  if (style.fallbacks) {
    if (Array.isArray(style.fallbacks)) converted.fallbacks = style.fallbacks.map(convertCase);else converted.fallbacks = convertCase(style.fallbacks);
  }

  return converted;
}
/**
 * Allow camel cased property names by converting them back to dasherized.
 */


function camelCase() {
  function onProcessStyle(style) {
    if (Array.isArray(style)) {
      // Handle rules like @font-face, which can have multiple styles in an array
      for (var index = 0; index < style.length; index++) {
        style[index] = convertCase(style[index]);
      }

      return style;
    }

    return convertCase(style);
  }

  function onChangeValue(value, prop, rule) {
    if (prop.indexOf('--') === 0) {
      return value;
    }

    var hyphenatedProp = (0,hyphenate_style_name__WEBPACK_IMPORTED_MODULE_0__["default"])(prop); // There was no camel case in place

    if (prop === hyphenatedProp) return value;
    rule.prop(hyphenatedProp, value); // Core will ignore that property value we set the proper one above.

    return null;
  }

  return {
    onProcessStyle: onProcessStyle,
    onChangeValue: onChangeValue
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (camelCase);


/***/ },

/***/ "./node_modules/.pnpm/jss-plugin-default-unit@10.10.0/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js"
/*!*************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/jss-plugin-default-unit@10.10.0/node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jss */ "./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js");


var px = jss__WEBPACK_IMPORTED_MODULE_0__.hasCSSTOMSupport && CSS ? CSS.px : 'px';
var ms = jss__WEBPACK_IMPORTED_MODULE_0__.hasCSSTOMSupport && CSS ? CSS.ms : 'ms';
var percent = jss__WEBPACK_IMPORTED_MODULE_0__.hasCSSTOMSupport && CSS ? CSS.percent : '%';
/**
 * Generated jss-plugin-default-unit CSS property units
 */

var defaultUnits = {
  // Animation properties
  'animation-delay': ms,
  'animation-duration': ms,
  // Background properties
  'background-position': px,
  'background-position-x': px,
  'background-position-y': px,
  'background-size': px,
  // Border Properties
  border: px,
  'border-bottom': px,
  'border-bottom-left-radius': px,
  'border-bottom-right-radius': px,
  'border-bottom-width': px,
  'border-left': px,
  'border-left-width': px,
  'border-radius': px,
  'border-right': px,
  'border-right-width': px,
  'border-top': px,
  'border-top-left-radius': px,
  'border-top-right-radius': px,
  'border-top-width': px,
  'border-width': px,
  'border-block': px,
  'border-block-end': px,
  'border-block-end-width': px,
  'border-block-start': px,
  'border-block-start-width': px,
  'border-block-width': px,
  'border-inline': px,
  'border-inline-end': px,
  'border-inline-end-width': px,
  'border-inline-start': px,
  'border-inline-start-width': px,
  'border-inline-width': px,
  'border-start-start-radius': px,
  'border-start-end-radius': px,
  'border-end-start-radius': px,
  'border-end-end-radius': px,
  // Margin properties
  margin: px,
  'margin-bottom': px,
  'margin-left': px,
  'margin-right': px,
  'margin-top': px,
  'margin-block': px,
  'margin-block-end': px,
  'margin-block-start': px,
  'margin-inline': px,
  'margin-inline-end': px,
  'margin-inline-start': px,
  // Padding properties
  padding: px,
  'padding-bottom': px,
  'padding-left': px,
  'padding-right': px,
  'padding-top': px,
  'padding-block': px,
  'padding-block-end': px,
  'padding-block-start': px,
  'padding-inline': px,
  'padding-inline-end': px,
  'padding-inline-start': px,
  // Mask properties
  'mask-position-x': px,
  'mask-position-y': px,
  'mask-size': px,
  // Width and height properties
  height: px,
  width: px,
  'min-height': px,
  'max-height': px,
  'min-width': px,
  'max-width': px,
  // Position properties
  bottom: px,
  left: px,
  top: px,
  right: px,
  inset: px,
  'inset-block': px,
  'inset-block-end': px,
  'inset-block-start': px,
  'inset-inline': px,
  'inset-inline-end': px,
  'inset-inline-start': px,
  // Shadow properties
  'box-shadow': px,
  'text-shadow': px,
  // Column properties
  'column-gap': px,
  'column-rule': px,
  'column-rule-width': px,
  'column-width': px,
  // Font and text properties
  'font-size': px,
  'font-size-delta': px,
  'letter-spacing': px,
  'text-decoration-thickness': px,
  'text-indent': px,
  'text-stroke': px,
  'text-stroke-width': px,
  'word-spacing': px,
  // Motion properties
  motion: px,
  'motion-offset': px,
  // Outline properties
  outline: px,
  'outline-offset': px,
  'outline-width': px,
  // Perspective properties
  perspective: px,
  'perspective-origin-x': percent,
  'perspective-origin-y': percent,
  // Transform properties
  'transform-origin': percent,
  'transform-origin-x': percent,
  'transform-origin-y': percent,
  'transform-origin-z': percent,
  // Transition properties
  'transition-delay': ms,
  'transition-duration': ms,
  // Alignment properties
  'vertical-align': px,
  'flex-basis': px,
  // Some random properties
  'shape-margin': px,
  size: px,
  gap: px,
  // Grid properties
  grid: px,
  'grid-gap': px,
  'row-gap': px,
  'grid-row-gap': px,
  'grid-column-gap': px,
  'grid-template-rows': px,
  'grid-template-columns': px,
  'grid-auto-rows': px,
  'grid-auto-columns': px,
  // Not existing properties.
  // Used to avoid issues with jss-plugin-expand integration.
  'box-shadow-x': px,
  'box-shadow-y': px,
  'box-shadow-blur': px,
  'box-shadow-spread': px,
  'font-line-height': px,
  'text-shadow-x': px,
  'text-shadow-y': px,
  'text-shadow-blur': px
};

/**
 * Clones the object and adds a camel cased property version.
 */

function addCamelCasedVersion(obj) {
  var regExp = /(-[a-z])/g;

  var replace = function replace(str) {
    return str[1].toUpperCase();
  };

  var newObj = {};

  for (var key in obj) {
    newObj[key] = obj[key];
    newObj[key.replace(regExp, replace)] = obj[key];
  }

  return newObj;
}

var units = addCamelCasedVersion(defaultUnits);
/**
 * Recursive deep style passing function
 */

function iterate(prop, value, options) {
  if (value == null) return value;

  if (Array.isArray(value)) {
    for (var i = 0; i < value.length; i++) {
      value[i] = iterate(prop, value[i], options);
    }
  } else if (typeof value === 'object') {
    if (prop === 'fallbacks') {
      for (var innerProp in value) {
        value[innerProp] = iterate(innerProp, value[innerProp], options);
      }
    } else {
      for (var _innerProp in value) {
        value[_innerProp] = iterate(prop + "-" + _innerProp, value[_innerProp], options);
      }
    } // eslint-disable-next-line no-restricted-globals

  } else if (typeof value === 'number' && isNaN(value) === false) {
    var unit = options[prop] || units[prop]; // Add the unit if available, except for the special case of 0px.

    if (unit && !(value === 0 && unit === px)) {
      return typeof unit === 'function' ? unit(value).toString() : "" + value + unit;
    }

    return value.toString();
  }

  return value;
}
/**
 * Add unit to numeric values.
 */


function defaultUnit(options) {
  if (options === void 0) {
    options = {};
  }

  var camelCasedOptions = addCamelCasedVersion(options);

  function onProcessStyle(style, rule) {
    if (rule.type !== 'style') return style;

    for (var prop in style) {
      style[prop] = iterate(prop, style[prop], camelCasedOptions);
    }

    return style;
  }

  function onChangeValue(value, prop) {
    return iterate(prop, value, camelCasedOptions);
  }

  return {
    onProcessStyle: onProcessStyle,
    onChangeValue: onChangeValue
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultUnit);


/***/ },

/***/ "./node_modules/.pnpm/jss-plugin-global@10.10.0/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/jss-plugin-global@10.10.0/node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js ***!
  \*******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ "./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js");



var at = '@global';
var atPrefix = '@global ';

var GlobalContainerRule =
/*#__PURE__*/
function () {
  function GlobalContainerRule(key, styles, options) {
    this.type = 'global';
    this.at = at;
    this.isProcessed = false;
    this.key = key;
    this.options = options;
    this.rules = new jss__WEBPACK_IMPORTED_MODULE_1__.RuleList((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      parent: this
    }));

    for (var selector in styles) {
      this.rules.add(selector, styles[selector]);
    }

    this.rules.process();
  }
  /**
   * Get a rule.
   */


  var _proto = GlobalContainerRule.prototype;

  _proto.getRule = function getRule(name) {
    return this.rules.get(name);
  }
  /**
   * Create and register rule, run plugins.
   */
  ;

  _proto.addRule = function addRule(name, style, options) {
    var rule = this.rules.add(name, style, options);
    if (rule) this.options.jss.plugins.onProcessRule(rule);
    return rule;
  }
  /**
   * Replace rule, run plugins.
   */
  ;

  _proto.replaceRule = function replaceRule(name, style, options) {
    var newRule = this.rules.replace(name, style, options);
    if (newRule) this.options.jss.plugins.onProcessRule(newRule);
    return newRule;
  }
  /**
   * Get index of a rule.
   */
  ;

  _proto.indexOf = function indexOf(rule) {
    return this.rules.indexOf(rule);
  }
  /**
   * Generates a CSS string.
   */
  ;

  _proto.toString = function toString(options) {
    return this.rules.toString(options);
  };

  return GlobalContainerRule;
}();

var GlobalPrefixedRule =
/*#__PURE__*/
function () {
  function GlobalPrefixedRule(key, style, options) {
    this.type = 'global';
    this.at = at;
    this.isProcessed = false;
    this.key = key;
    this.options = options;
    var selector = key.substr(atPrefix.length);
    this.rule = options.jss.createRule(selector, style, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      parent: this
    }));
  }

  var _proto2 = GlobalPrefixedRule.prototype;

  _proto2.toString = function toString(options) {
    return this.rule ? this.rule.toString(options) : '';
  };

  return GlobalPrefixedRule;
}();

var separatorRegExp = /\s*,\s*/g;

function addScope(selector, scope) {
  var parts = selector.split(separatorRegExp);
  var scoped = '';

  for (var i = 0; i < parts.length; i++) {
    scoped += scope + " " + parts[i].trim();
    if (parts[i + 1]) scoped += ', ';
  }

  return scoped;
}

function handleNestedGlobalContainerRule(rule, sheet) {
  var options = rule.options,
      style = rule.style;
  var rules = style ? style[at] : null;
  if (!rules) return;

  for (var name in rules) {
    sheet.addRule(name, rules[name], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      selector: addScope(name, rule.selector)
    }));
  }

  delete style[at];
}

function handlePrefixedGlobalRule(rule, sheet) {
  var options = rule.options,
      style = rule.style;

  for (var prop in style) {
    if (prop[0] !== '@' || prop.substr(0, at.length) !== at) continue;
    var selector = addScope(prop.substr(at.length), rule.selector);
    sheet.addRule(selector, style[prop], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      selector: selector
    }));
    delete style[prop];
  }
}
/**
 * Convert nested rules to separate, remove them from original styles.
 */


function jssGlobal() {
  function onCreateRule(name, styles, options) {
    if (!name) return null;

    if (name === at) {
      return new GlobalContainerRule(name, styles, options);
    }

    if (name[0] === '@' && name.substr(0, atPrefix.length) === atPrefix) {
      return new GlobalPrefixedRule(name, styles, options);
    }

    var parent = options.parent;

    if (parent) {
      if (parent.type === 'global' || parent.options.parent && parent.options.parent.type === 'global') {
        options.scoped = false;
      }
    }

    if (!options.selector && options.scoped === false) {
      options.selector = name;
    }

    return null;
  }

  function onProcessRule(rule, sheet) {
    if (rule.type !== 'style' || !sheet) return;
    handleNestedGlobalContainerRule(rule, sheet);
    handlePrefixedGlobalRule(rule, sheet);
  }

  return {
    onCreateRule: onCreateRule,
    onProcessRule: onProcessRule
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jssGlobal);


/***/ },

/***/ "./node_modules/.pnpm/jss-plugin-nested@10.10.0/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/jss-plugin-nested@10.10.0/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js ***!
  \*******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-warning */ "./node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js");



var separatorRegExp = /\s*,\s*/g;
var parentRegExp = /&/g;
var refRegExp = /\$([\w-]+)/g;
/**
 * Convert nested rules to separate, remove them from original styles.
 */

function jssNested() {
  // Get a function to be used for $ref replacement.
  function getReplaceRef(container, sheet) {
    return function (match, key) {
      var rule = container.getRule(key) || sheet && sheet.getRule(key);

      if (rule) {
        return rule.selector;
      }

       true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_1__["default"])(false, "[JSS] Could not find the referenced rule \"" + key + "\" in \"" + (container.options.meta || container.toString()) + "\".") : 0;
      return key;
    };
  }

  function replaceParentRefs(nestedProp, parentProp) {
    var parentSelectors = parentProp.split(separatorRegExp);
    var nestedSelectors = nestedProp.split(separatorRegExp);
    var result = '';

    for (var i = 0; i < parentSelectors.length; i++) {
      var parent = parentSelectors[i];

      for (var j = 0; j < nestedSelectors.length; j++) {
        var nested = nestedSelectors[j];
        if (result) result += ', '; // Replace all & by the parent or prefix & with the parent.

        result += nested.indexOf('&') !== -1 ? nested.replace(parentRegExp, parent) : parent + " " + nested;
      }
    }

    return result;
  }

  function getOptions(rule, container, prevOptions) {
    // Options has been already created, now we only increase index.
    if (prevOptions) return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, prevOptions, {
      index: prevOptions.index + 1
    });
    var nestingLevel = rule.options.nestingLevel;
    nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;

    var options = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, rule.options, {
      nestingLevel: nestingLevel,
      index: container.indexOf(rule) + 1 // We don't need the parent name to be set options for chlid.

    });

    delete options.name;
    return options;
  }

  function onProcessStyle(style, rule, sheet) {
    if (rule.type !== 'style') return style;
    var styleRule = rule;
    var container = styleRule.options.parent;
    var options;
    var replaceRef;

    for (var prop in style) {
      var isNested = prop.indexOf('&') !== -1;
      var isNestedConditional = prop[0] === '@';
      if (!isNested && !isNestedConditional) continue;
      options = getOptions(styleRule, container, options);

      if (isNested) {
        var selector = replaceParentRefs(prop, styleRule.selector); // Lazily create the ref replacer function just once for
        // all nested rules within the sheet.

        if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.

        selector = selector.replace(refRegExp, replaceRef);
        var name = styleRule.key + "-" + prop;

        if ('replaceRule' in container) {
          // for backward compatibility
          container.replaceRule(name, style[prop], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
            selector: selector
          }));
        } else {
          container.addRule(name, style[prop], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
            selector: selector
          }));
        }
      } else if (isNestedConditional) {
        // Place conditional right after the parent rule to ensure right ordering.
        container.addRule(prop, {}, options).addRule(styleRule.key, style[prop], {
          selector: styleRule.selector
        });
      }

      delete style[prop];
    }

    return style;
  }

  return {
    onProcessStyle: onProcessStyle
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jssNested);


/***/ },

/***/ "./node_modules/.pnpm/jss-plugin-props-sort@10.10.0/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js"
/*!*******************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/jss-plugin-props-sort@10.10.0/node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js ***!
  \*******************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Sort props by length.
 */
function jssPropsSort() {
  var sort = function sort(prop0, prop1) {
    if (prop0.length === prop1.length) {
      return prop0 > prop1 ? 1 : -1;
    }

    return prop0.length - prop1.length;
  };

  return {
    onProcessStyle: function onProcessStyle(style, rule) {
      if (rule.type !== 'style') return style;
      var newStyle = {};
      var props = Object.keys(style).sort(sort);

      for (var i = 0; i < props.length; i++) {
        newStyle[props[i]] = style[props[i]];
      }

      return newStyle;
    }
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jssPropsSort);


/***/ },

/***/ "./node_modules/.pnpm/jss-plugin-rule-value-function@10.10.0/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js"
/*!**********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/jss-plugin-rule-value-function@10.10.0/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js ***!
  \**********************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-warning */ "./node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js");
/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ "./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js");



var now = Date.now();
var fnValuesNs = "fnValues" + now;
var fnRuleNs = "fnStyle" + ++now;

var functionPlugin = function functionPlugin() {
  return {
    onCreateRule: function onCreateRule(name, decl, options) {
      if (typeof decl !== 'function') return null;
      var rule = (0,jss__WEBPACK_IMPORTED_MODULE_1__.createRule)(name, {}, options);
      rule[fnRuleNs] = decl;
      return rule;
    },
    onProcessStyle: function onProcessStyle(style, rule) {
      // We need to extract function values from the declaration, so that we can keep core unaware of them.
      // We need to do that only once.
      // We don't need to extract functions on each style update, since this can happen only once.
      // We don't support function values inside of function rules.
      if (fnValuesNs in rule || fnRuleNs in rule) return style;
      var fnValues = {};

      for (var prop in style) {
        var value = style[prop];
        if (typeof value !== 'function') continue;
        delete style[prop];
        fnValues[prop] = value;
      }

      rule[fnValuesNs] = fnValues;
      return style;
    },
    onUpdate: function onUpdate(data, rule, sheet, options) {
      var styleRule = rule;
      var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object
      // will be returned from that function.

      if (fnRule) {
        // Empty object will remove all currently defined props
        // in case function rule returns a falsy value.
        styleRule.style = fnRule(data) || {};

        if (true) {
          for (var prop in styleRule.style) {
            if (typeof styleRule.style[prop] === 'function') {
               true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_0__["default"])(false, '[JSS] Function values inside function rules are not supported.') : 0;
              break;
            }
          }
        }
      }

      var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.

      if (fnValues) {
        for (var _prop in fnValues) {
          styleRule.prop(_prop, fnValues[_prop](data), options);
        }
      }
    }
  };
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (functionPlugin);


/***/ },

/***/ "./node_modules/.pnpm/jss-plugin-vendor-prefixer@10.10.0/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js"
/*!**********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/jss-plugin-vendor-prefixer@10.10.0/node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js ***!
  \**********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var css_vendor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! css-vendor */ "./node_modules/.pnpm/css-vendor@2.0.8/node_modules/css-vendor/dist/css-vendor.esm.js");
/* harmony import */ var jss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jss */ "./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js");



/**
 * Add vendor prefix to a property name when needed.
 */

function jssVendorPrefixer() {
  function onProcessRule(rule) {
    if (rule.type === 'keyframes') {
      var atRule = rule;
      atRule.at = (0,css_vendor__WEBPACK_IMPORTED_MODULE_0__.supportedKeyframes)(atRule.at);
    }
  }

  function prefixStyle(style) {
    for (var prop in style) {
      var value = style[prop];

      if (prop === 'fallbacks' && Array.isArray(value)) {
        style[prop] = value.map(prefixStyle);
        continue;
      }

      var changeProp = false;
      var supportedProp = (0,css_vendor__WEBPACK_IMPORTED_MODULE_0__.supportedProperty)(prop);
      if (supportedProp && supportedProp !== prop) changeProp = true;
      var changeValue = false;
      var supportedValue$1 = (0,css_vendor__WEBPACK_IMPORTED_MODULE_0__.supportedValue)(supportedProp, (0,jss__WEBPACK_IMPORTED_MODULE_1__.toCssValue)(value));
      if (supportedValue$1 && supportedValue$1 !== value) changeValue = true;

      if (changeProp || changeValue) {
        if (changeProp) delete style[prop];
        style[supportedProp || prop] = supportedValue$1 || value;
      }
    }

    return style;
  }

  function onProcessStyle(style, rule) {
    if (rule.type !== 'style') return style;
    return prefixStyle(style);
  }

  function onChangeValue(value, prop) {
    return (0,css_vendor__WEBPACK_IMPORTED_MODULE_0__.supportedValue)(prop, (0,jss__WEBPACK_IMPORTED_MODULE_1__.toCssValue)(value)) || value;
  }

  return {
    onProcessRule: onProcessRule,
    onProcessStyle: onProcessStyle,
    onChangeValue: onChangeValue
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (jssVendorPrefixer);


/***/ },

/***/ "./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js"
/*!*************************************************************************!*\
  !*** ./node_modules/.pnpm/jss@10.10.0/node_modules/jss/dist/jss.esm.js ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   RuleList: () => (/* binding */ RuleList),
/* harmony export */   SheetsManager: () => (/* binding */ SheetsManager),
/* harmony export */   SheetsRegistry: () => (/* binding */ SheetsRegistry),
/* harmony export */   create: () => (/* binding */ createJss),
/* harmony export */   createGenerateId: () => (/* binding */ createGenerateId),
/* harmony export */   createRule: () => (/* binding */ createRule),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDynamicStyles: () => (/* binding */ getDynamicStyles),
/* harmony export */   hasCSSTOMSupport: () => (/* binding */ hasCSSTOMSupport),
/* harmony export */   sheets: () => (/* binding */ sheets),
/* harmony export */   toCssValue: () => (/* binding */ toCssValue)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var is_in_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! is-in-browser */ "./node_modules/.pnpm/is-in-browser@1.1.3/node_modules/is-in-browser/dist/module.js");
/* harmony import */ var tiny_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-warning */ "./node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js");
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js");
/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");








var plainObjectConstrurctor = {}.constructor;
function cloneStyle(style) {
  if (style == null || typeof style !== 'object') return style;
  if (Array.isArray(style)) return style.map(cloneStyle);
  if (style.constructor !== plainObjectConstrurctor) return style;
  var newStyle = {};

  for (var name in style) {
    newStyle[name] = cloneStyle(style[name]);
  }

  return newStyle;
}

/**
 * Create a rule instance.
 */

function createRule(name, decl, options) {
  if (name === void 0) {
    name = 'unnamed';
  }

  var jss = options.jss;
  var declCopy = cloneStyle(decl);
  var rule = jss.plugins.onCreateRule(name, declCopy, options);
  if (rule) return rule; // It is an at-rule and it has no instance.

  if (name[0] === '@') {
     true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Unknown rule " + name) : 0;
  }

  return null;
}

var join = function join(value, by) {
  var result = '';

  for (var i = 0; i < value.length; i++) {
    // Remove !important from the value, it will be readded later.
    if (value[i] === '!important') break;
    if (result) result += by;
    result += value[i];
  }

  return result;
};
/**
 * Converts JSS array value to a CSS string.
 *
 * `margin: [['5px', '10px']]` > `margin: 5px 10px;`
 * `border: ['1px', '2px']` > `border: 1px, 2px;`
 * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
 * `color: ['red', !important]` > `color: red !important;`
 */


var toCssValue = function toCssValue(value) {
  if (!Array.isArray(value)) return value;
  var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.

  if (Array.isArray(value[0])) {
    for (var i = 0; i < value.length; i++) {
      if (value[i] === '!important') break;
      if (cssValue) cssValue += ', ';
      cssValue += join(value[i], ' ');
    }
  } else cssValue = join(value, ', '); // Add !important, because it was ignored.


  if (value[value.length - 1] === '!important') {
    cssValue += ' !important';
  }

  return cssValue;
};

function getWhitespaceSymbols(options) {
  if (options && options.format === false) {
    return {
      linebreak: '',
      space: ''
    };
  }

  return {
    linebreak: '\n',
    space: ' '
  };
}

/**
 * Indent a string.
 * http://jsperf.com/array-join-vs-for
 */

function indentStr(str, indent) {
  var result = '';

  for (var index = 0; index < indent; index++) {
    result += '  ';
  }

  return result + str;
}
/**
 * Converts a Rule to CSS string.
 */


function toCss(selector, style, options) {
  if (options === void 0) {
    options = {};
  }

  var result = '';
  if (!style) return result;
  var _options = options,
      _options$indent = _options.indent,
      indent = _options$indent === void 0 ? 0 : _options$indent;
  var fallbacks = style.fallbacks;

  if (options.format === false) {
    indent = -Infinity;
  }

  var _getWhitespaceSymbols = getWhitespaceSymbols(options),
      linebreak = _getWhitespaceSymbols.linebreak,
      space = _getWhitespaceSymbols.space;

  if (selector) indent++; // Apply fallbacks first.

  if (fallbacks) {
    // Array syntax {fallbacks: [{prop: value}]}
    if (Array.isArray(fallbacks)) {
      for (var index = 0; index < fallbacks.length; index++) {
        var fallback = fallbacks[index];

        for (var prop in fallback) {
          var value = fallback[prop];

          if (value != null) {
            if (result) result += linebreak;
            result += indentStr(prop + ":" + space + toCssValue(value) + ";", indent);
          }
        }
      }
    } else {
      // Object syntax {fallbacks: {prop: value}}
      for (var _prop in fallbacks) {
        var _value = fallbacks[_prop];

        if (_value != null) {
          if (result) result += linebreak;
          result += indentStr(_prop + ":" + space + toCssValue(_value) + ";", indent);
        }
      }
    }
  }

  for (var _prop2 in style) {
    var _value2 = style[_prop2];

    if (_value2 != null && _prop2 !== 'fallbacks') {
      if (result) result += linebreak;
      result += indentStr(_prop2 + ":" + space + toCssValue(_value2) + ";", indent);
    }
  } // Allow empty style in this case, because properties will be added dynamically.


  if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.

  if (!selector) return result;
  indent--;
  if (result) result = "" + linebreak + result + linebreak;
  return indentStr("" + selector + space + "{" + result, indent) + indentStr('}', indent);
}

var escapeRegex = /([[\].#*$><+~=|^:(),"'`\s])/g;
var nativeEscape = typeof CSS !== 'undefined' && CSS.escape;
var escape = (function (str) {
  return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\$1');
});

var BaseStyleRule =
/*#__PURE__*/
function () {
  function BaseStyleRule(key, style, options) {
    this.type = 'style';
    this.isProcessed = false;
    var sheet = options.sheet,
        Renderer = options.Renderer;
    this.key = key;
    this.options = options;
    this.style = style;
    if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();
  }
  /**
   * Get or set a style property.
   */


  var _proto = BaseStyleRule.prototype;

  _proto.prop = function prop(name, value, options) {
    // It's a getter.
    if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.

    var force = options ? options.force : false;
    if (!force && this.style[name] === value) return this;
    var newValue = value;

    if (!options || options.process !== false) {
      newValue = this.options.jss.plugins.onChangeValue(value, name, this);
    }

    var isEmpty = newValue == null || newValue === false;
    var isDefined = name in this.style; // Value is empty and wasn't defined before.

    if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.

    var remove = isEmpty && isDefined;
    if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.

    if (this.renderable && this.renderer) {
      if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);
      return this;
    }

    var sheet = this.options.sheet;

    if (sheet && sheet.attached) {
       true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, '[JSS] Rule is not linked. Missing sheet option "link: true".') : 0;
    }

    return this;
  };

  return BaseStyleRule;
}();
var StyleRule =
/*#__PURE__*/
function (_BaseStyleRule) {
  (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__["default"])(StyleRule, _BaseStyleRule);

  function StyleRule(key, style, options) {
    var _this;

    _this = _BaseStyleRule.call(this, key, style, options) || this;
    var selector = options.selector,
        scoped = options.scoped,
        sheet = options.sheet,
        generateId = options.generateId;

    if (selector) {
      _this.selectorText = selector;
    } else if (scoped !== false) {
      _this.id = generateId((0,_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)), sheet);
      _this.selectorText = "." + escape(_this.id);
    }

    return _this;
  }
  /**
   * Set selector string.
   * Attention: use this with caution. Most browsers didn't implement
   * selectorText setter, so this may result in rerendering of entire Style Sheet.
   */


  var _proto2 = StyleRule.prototype;

  /**
   * Apply rule to an element inline.
   */
  _proto2.applyTo = function applyTo(renderable) {
    var renderer = this.renderer;

    if (renderer) {
      var json = this.toJSON();

      for (var prop in json) {
        renderer.setProperty(renderable, prop, json[prop]);
      }
    }

    return this;
  }
  /**
   * Returns JSON representation of the rule.
   * Fallbacks are not supported.
   * Useful for inline styles.
   */
  ;

  _proto2.toJSON = function toJSON() {
    var json = {};

    for (var prop in this.style) {
      var value = this.style[prop];
      if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);
    }

    return json;
  }
  /**
   * Generates a CSS string.
   */
  ;

  _proto2.toString = function toString(options) {
    var sheet = this.options.sheet;
    var link = sheet ? sheet.options.link : false;
    var opts = link ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      allowEmpty: true
    }) : options;
    return toCss(this.selectorText, this.style, opts);
  };

  (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(StyleRule, [{
    key: "selector",
    set: function set(selector) {
      if (selector === this.selectorText) return;
      this.selectorText = selector;
      var renderer = this.renderer,
          renderable = this.renderable;
      if (!renderable || !renderer) return;
      var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.

      if (!hasChanged) {
        renderer.replaceRule(renderable, this);
      }
    }
    /**
     * Get selector string.
     */
    ,
    get: function get() {
      return this.selectorText;
    }
  }]);

  return StyleRule;
}(BaseStyleRule);
var pluginStyleRule = {
  onCreateRule: function onCreateRule(key, style, options) {
    if (key[0] === '@' || options.parent && options.parent.type === 'keyframes') {
      return null;
    }

    return new StyleRule(key, style, options);
  }
};

var defaultToStringOptions = {
  indent: 1,
  children: true
};
var atRegExp = /@([\w-]+)/;
/**
 * Conditional rule for @media, @supports
 */

var ConditionalRule =
/*#__PURE__*/
function () {
  function ConditionalRule(key, styles, options) {
    this.type = 'conditional';
    this.isProcessed = false;
    this.key = key;
    var atMatch = key.match(atRegExp);
    this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.

    this.query = options.name || "@" + this.at;
    this.options = options;
    this.rules = new RuleList((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      parent: this
    }));

    for (var name in styles) {
      this.rules.add(name, styles[name]);
    }

    this.rules.process();
  }
  /**
   * Get a rule.
   */


  var _proto = ConditionalRule.prototype;

  _proto.getRule = function getRule(name) {
    return this.rules.get(name);
  }
  /**
   * Get index of a rule.
   */
  ;

  _proto.indexOf = function indexOf(rule) {
    return this.rules.indexOf(rule);
  }
  /**
   * Create and register rule, run plugins.
   */
  ;

  _proto.addRule = function addRule(name, style, options) {
    var rule = this.rules.add(name, style, options);
    if (!rule) return null;
    this.options.jss.plugins.onProcessRule(rule);
    return rule;
  }
  /**
   * Replace rule, run plugins.
   */
  ;

  _proto.replaceRule = function replaceRule(name, style, options) {
    var newRule = this.rules.replace(name, style, options);
    if (newRule) this.options.jss.plugins.onProcessRule(newRule);
    return newRule;
  }
  /**
   * Generates a CSS string.
   */
  ;

  _proto.toString = function toString(options) {
    if (options === void 0) {
      options = defaultToStringOptions;
    }

    var _getWhitespaceSymbols = getWhitespaceSymbols(options),
        linebreak = _getWhitespaceSymbols.linebreak;

    if (options.indent == null) options.indent = defaultToStringOptions.indent;
    if (options.children == null) options.children = defaultToStringOptions.children;

    if (options.children === false) {
      return this.query + " {}";
    }

    var children = this.rules.toString(options);
    return children ? this.query + " {" + linebreak + children + linebreak + "}" : '';
  };

  return ConditionalRule;
}();
var keyRegExp = /@container|@media|@supports\s+/;
var pluginConditionalRule = {
  onCreateRule: function onCreateRule(key, styles, options) {
    return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;
  }
};

var defaultToStringOptions$1 = {
  indent: 1,
  children: true
};
var nameRegExp = /@keyframes\s+([\w-]+)/;
/**
 * Rule for @keyframes
 */

var KeyframesRule =
/*#__PURE__*/
function () {
  function KeyframesRule(key, frames, options) {
    this.type = 'keyframes';
    this.at = '@keyframes';
    this.isProcessed = false;
    var nameMatch = key.match(nameRegExp);

    if (nameMatch && nameMatch[1]) {
      this.name = nameMatch[1];
    } else {
      this.name = 'noname';
       true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Bad keyframes name " + key) : 0;
    }

    this.key = this.type + "-" + this.name;
    this.options = options;
    var scoped = options.scoped,
        sheet = options.sheet,
        generateId = options.generateId;
    this.id = scoped === false ? this.name : escape(generateId(this, sheet));
    this.rules = new RuleList((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      parent: this
    }));

    for (var name in frames) {
      this.rules.add(name, frames[name], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
        parent: this
      }));
    }

    this.rules.process();
  }
  /**
   * Generates a CSS string.
   */


  var _proto = KeyframesRule.prototype;

  _proto.toString = function toString(options) {
    if (options === void 0) {
      options = defaultToStringOptions$1;
    }

    var _getWhitespaceSymbols = getWhitespaceSymbols(options),
        linebreak = _getWhitespaceSymbols.linebreak;

    if (options.indent == null) options.indent = defaultToStringOptions$1.indent;
    if (options.children == null) options.children = defaultToStringOptions$1.children;

    if (options.children === false) {
      return this.at + " " + this.id + " {}";
    }

    var children = this.rules.toString(options);
    if (children) children = "" + linebreak + children + linebreak;
    return this.at + " " + this.id + " {" + children + "}";
  };

  return KeyframesRule;
}();
var keyRegExp$1 = /@keyframes\s+/;
var refRegExp = /\$([\w-]+)/g;

var findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {
  if (typeof val === 'string') {
    return val.replace(refRegExp, function (match, name) {
      if (name in keyframes) {
        return keyframes[name];
      }

       true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Referenced keyframes rule \"" + name + "\" is not defined.") : 0;
      return match;
    });
  }

  return val;
};
/**
 * Replace the reference for a animation name.
 */


var replaceRef = function replaceRef(style, prop, keyframes) {
  var value = style[prop];
  var refKeyframe = findReferencedKeyframe(value, keyframes);

  if (refKeyframe !== value) {
    style[prop] = refKeyframe;
  }
};

var pluginKeyframesRule = {
  onCreateRule: function onCreateRule(key, frames, options) {
    return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;
  },
  // Animation name ref replacer.
  onProcessStyle: function onProcessStyle(style, rule, sheet) {
    if (rule.type !== 'style' || !sheet) return style;
    if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);
    if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);
    return style;
  },
  onChangeValue: function onChangeValue(val, prop, rule) {
    var sheet = rule.options.sheet;

    if (!sheet) {
      return val;
    }

    switch (prop) {
      case 'animation':
        return findReferencedKeyframe(val, sheet.keyframes);

      case 'animation-name':
        return findReferencedKeyframe(val, sheet.keyframes);

      default:
        return val;
    }
  }
};

var KeyframeRule =
/*#__PURE__*/
function (_BaseStyleRule) {
  (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__["default"])(KeyframeRule, _BaseStyleRule);

  function KeyframeRule() {
    return _BaseStyleRule.apply(this, arguments) || this;
  }

  var _proto = KeyframeRule.prototype;

  /**
   * Generates a CSS string.
   */
  _proto.toString = function toString(options) {
    var sheet = this.options.sheet;
    var link = sheet ? sheet.options.link : false;
    var opts = link ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      allowEmpty: true
    }) : options;
    return toCss(this.key, this.style, opts);
  };

  return KeyframeRule;
}(BaseStyleRule);
var pluginKeyframeRule = {
  onCreateRule: function onCreateRule(key, style, options) {
    if (options.parent && options.parent.type === 'keyframes') {
      return new KeyframeRule(key, style, options);
    }

    return null;
  }
};

var FontFaceRule =
/*#__PURE__*/
function () {
  function FontFaceRule(key, style, options) {
    this.type = 'font-face';
    this.at = '@font-face';
    this.isProcessed = false;
    this.key = key;
    this.style = style;
    this.options = options;
  }
  /**
   * Generates a CSS string.
   */


  var _proto = FontFaceRule.prototype;

  _proto.toString = function toString(options) {
    var _getWhitespaceSymbols = getWhitespaceSymbols(options),
        linebreak = _getWhitespaceSymbols.linebreak;

    if (Array.isArray(this.style)) {
      var str = '';

      for (var index = 0; index < this.style.length; index++) {
        str += toCss(this.at, this.style[index]);
        if (this.style[index + 1]) str += linebreak;
      }

      return str;
    }

    return toCss(this.at, this.style, options);
  };

  return FontFaceRule;
}();
var keyRegExp$2 = /@font-face/;
var pluginFontFaceRule = {
  onCreateRule: function onCreateRule(key, style, options) {
    return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;
  }
};

var ViewportRule =
/*#__PURE__*/
function () {
  function ViewportRule(key, style, options) {
    this.type = 'viewport';
    this.at = '@viewport';
    this.isProcessed = false;
    this.key = key;
    this.style = style;
    this.options = options;
  }
  /**
   * Generates a CSS string.
   */


  var _proto = ViewportRule.prototype;

  _proto.toString = function toString(options) {
    return toCss(this.key, this.style, options);
  };

  return ViewportRule;
}();
var pluginViewportRule = {
  onCreateRule: function onCreateRule(key, style, options) {
    return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;
  }
};

var SimpleRule =
/*#__PURE__*/
function () {
  function SimpleRule(key, value, options) {
    this.type = 'simple';
    this.isProcessed = false;
    this.key = key;
    this.value = value;
    this.options = options;
  }
  /**
   * Generates a CSS string.
   */
  // eslint-disable-next-line no-unused-vars


  var _proto = SimpleRule.prototype;

  _proto.toString = function toString(options) {
    if (Array.isArray(this.value)) {
      var str = '';

      for (var index = 0; index < this.value.length; index++) {
        str += this.key + " " + this.value[index] + ";";
        if (this.value[index + 1]) str += '\n';
      }

      return str;
    }

    return this.key + " " + this.value + ";";
  };

  return SimpleRule;
}();
var keysMap = {
  '@charset': true,
  '@import': true,
  '@namespace': true
};
var pluginSimpleRule = {
  onCreateRule: function onCreateRule(key, value, options) {
    return key in keysMap ? new SimpleRule(key, value, options) : null;
  }
};

var plugins = [pluginStyleRule, pluginConditionalRule, pluginKeyframesRule, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];

var defaultUpdateOptions = {
  process: true
};
var forceUpdateOptions = {
  force: true,
  process: true
  /**
   * Contains rules objects and allows adding/removing etc.
   * Is used for e.g. by `StyleSheet` or `ConditionalRule`.
   */

};

var RuleList =
/*#__PURE__*/
function () {
  // Rules registry for access by .get() method.
  // It contains the same rule registered by name and by selector.
  // Original styles object.
  // Used to ensure correct rules order.
  function RuleList(options) {
    this.map = {};
    this.raw = {};
    this.index = [];
    this.counter = 0;
    this.options = options;
    this.classes = options.classes;
    this.keyframes = options.keyframes;
  }
  /**
   * Create and register rule.
   *
   * Will not render after Style Sheet was rendered the first time.
   */


  var _proto = RuleList.prototype;

  _proto.add = function add(name, decl, ruleOptions) {
    var _this$options = this.options,
        parent = _this$options.parent,
        sheet = _this$options.sheet,
        jss = _this$options.jss,
        Renderer = _this$options.Renderer,
        generateId = _this$options.generateId,
        scoped = _this$options.scoped;

    var options = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
      classes: this.classes,
      parent: parent,
      sheet: sheet,
      jss: jss,
      Renderer: Renderer,
      generateId: generateId,
      scoped: scoped,
      name: name,
      keyframes: this.keyframes,
      selector: undefined
    }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but
    // `sheet.addRule()` opens the door for any duplicate rule name. When this happens
    // we need to make the key unique within this RuleList instance scope.


    var key = name;

    if (name in this.raw) {
      key = name + "-d" + this.counter++;
    } // We need to save the original decl before creating the rule
    // because cache plugin needs to use it as a key to return a cached rule.


    this.raw[key] = decl;

    if (key in this.classes) {
      // E.g. rules inside of @media container
      options.selector = "." + escape(this.classes[key]);
    }

    var rule = createRule(key, decl, options);
    if (!rule) return null;
    this.register(rule);
    var index = options.index === undefined ? this.index.length : options.index;
    this.index.splice(index, 0, rule);
    return rule;
  }
  /**
   * Replace rule.
   * Create a new rule and remove old one instead of overwriting
   * because we want to invoke onCreateRule hook to make plugins work.
   */
  ;

  _proto.replace = function replace(name, decl, ruleOptions) {
    var oldRule = this.get(name);
    var oldIndex = this.index.indexOf(oldRule);

    if (oldRule) {
      this.remove(oldRule);
    }

    var options = ruleOptions;
    if (oldIndex !== -1) options = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, ruleOptions, {
      index: oldIndex
    });
    return this.add(name, decl, options);
  }
  /**
   * Get a rule by name or selector.
   */
  ;

  _proto.get = function get(nameOrSelector) {
    return this.map[nameOrSelector];
  }
  /**
   * Delete a rule.
   */
  ;

  _proto.remove = function remove(rule) {
    this.unregister(rule);
    delete this.raw[rule.key];
    this.index.splice(this.index.indexOf(rule), 1);
  }
  /**
   * Get index of a rule.
   */
  ;

  _proto.indexOf = function indexOf(rule) {
    return this.index.indexOf(rule);
  }
  /**
   * Run `onProcessRule()` plugins on every rule.
   */
  ;

  _proto.process = function process() {
    var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop
    // we end up with very hard-to-track-down side effects.

    this.index.slice(0).forEach(plugins.onProcessRule, plugins);
  }
  /**
   * Register a rule in `.map`, `.classes` and `.keyframes` maps.
   */
  ;

  _proto.register = function register(rule) {
    this.map[rule.key] = rule;

    if (rule instanceof StyleRule) {
      this.map[rule.selector] = rule;
      if (rule.id) this.classes[rule.key] = rule.id;
    } else if (rule instanceof KeyframesRule && this.keyframes) {
      this.keyframes[rule.name] = rule.id;
    }
  }
  /**
   * Unregister a rule.
   */
  ;

  _proto.unregister = function unregister(rule) {
    delete this.map[rule.key];

    if (rule instanceof StyleRule) {
      delete this.map[rule.selector];
      delete this.classes[rule.key];
    } else if (rule instanceof KeyframesRule) {
      delete this.keyframes[rule.name];
    }
  }
  /**
   * Update the function values with a new data.
   */
  ;

  _proto.update = function update() {
    var name;
    var data;
    var options;

    if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {
      name = arguments.length <= 0 ? undefined : arguments[0];
      data = arguments.length <= 1 ? undefined : arguments[1];
      options = arguments.length <= 2 ? undefined : arguments[2];
    } else {
      data = arguments.length <= 0 ? undefined : arguments[0];
      options = arguments.length <= 1 ? undefined : arguments[1];
      name = null;
    }

    if (name) {
      this.updateOne(this.get(name), data, options);
    } else {
      for (var index = 0; index < this.index.length; index++) {
        this.updateOne(this.index[index], data, options);
      }
    }
  }
  /**
   * Execute plugins, update rule props.
   */
  ;

  _proto.updateOne = function updateOne(rule, data, options) {
    if (options === void 0) {
      options = defaultUpdateOptions;
    }

    var _this$options2 = this.options,
        plugins = _this$options2.jss.plugins,
        sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.

    if (rule.rules instanceof RuleList) {
      rule.rules.update(data, options);
      return;
    }

    var style = rule.style;
    plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.

    if (options.process && style && style !== rule.style) {
      // We need to run the plugins in case new `style` relies on syntax plugins.
      plugins.onProcessStyle(rule.style, rule, sheet); // Update and add props.

      for (var prop in rule.style) {
        var nextValue = rule.style[prop];
        var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
        // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.

        if (nextValue !== prevValue) {
          rule.prop(prop, nextValue, forceUpdateOptions);
        }
      } // Remove props.


      for (var _prop in style) {
        var _nextValue = rule.style[_prop];
        var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
        // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.

        if (_nextValue == null && _nextValue !== _prevValue) {
          rule.prop(_prop, null, forceUpdateOptions);
        }
      }
    }
  }
  /**
   * Convert rules to a CSS string.
   */
  ;

  _proto.toString = function toString(options) {
    var str = '';
    var sheet = this.options.sheet;
    var link = sheet ? sheet.options.link : false;

    var _getWhitespaceSymbols = getWhitespaceSymbols(options),
        linebreak = _getWhitespaceSymbols.linebreak;

    for (var index = 0; index < this.index.length; index++) {
      var rule = this.index[index];
      var css = rule.toString(options); // No need to render an empty rule.

      if (!css && !link) continue;
      if (str) str += linebreak;
      str += css;
    }

    return str;
  };

  return RuleList;
}();

var StyleSheet =
/*#__PURE__*/
function () {
  function StyleSheet(styles, options) {
    this.attached = false;
    this.deployed = false;
    this.classes = {};
    this.keyframes = {};
    this.options = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      sheet: this,
      parent: this,
      classes: this.classes,
      keyframes: this.keyframes
    });

    if (options.Renderer) {
      this.renderer = new options.Renderer(this);
    }

    this.rules = new RuleList(this.options);

    for (var name in styles) {
      this.rules.add(name, styles[name]);
    }

    this.rules.process();
  }
  /**
   * Attach renderable to the render tree.
   */


  var _proto = StyleSheet.prototype;

  _proto.attach = function attach() {
    if (this.attached) return this;
    if (this.renderer) this.renderer.attach();
    this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.

    if (!this.deployed) this.deploy();
    return this;
  }
  /**
   * Remove renderable from render tree.
   */
  ;

  _proto.detach = function detach() {
    if (!this.attached) return this;
    if (this.renderer) this.renderer.detach();
    this.attached = false;
    return this;
  }
  /**
   * Add a rule to the current stylesheet.
   * Will insert a rule also after the stylesheet has been rendered first time.
   */
  ;

  _proto.addRule = function addRule(name, decl, options) {
    var queue = this.queue; // Plugins can create rules.
    // In order to preserve the right order, we need to queue all `.addRule` calls,
    // which happen after the first `rules.add()` call.

    if (this.attached && !queue) this.queue = [];
    var rule = this.rules.add(name, decl, options);
    if (!rule) return null;
    this.options.jss.plugins.onProcessRule(rule);

    if (this.attached) {
      if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.
      // It will be inserted all together when .attach is called.

      if (queue) queue.push(rule);else {
        this.insertRule(rule);

        if (this.queue) {
          this.queue.forEach(this.insertRule, this);
          this.queue = undefined;
        }
      }
      return rule;
    } // We can't add rules to a detached style node.
    // We will redeploy the sheet once user will attach it.


    this.deployed = false;
    return rule;
  }
  /**
   * Replace a rule in the current stylesheet.
   */
  ;

  _proto.replaceRule = function replaceRule(nameOrSelector, decl, options) {
    var oldRule = this.rules.get(nameOrSelector);
    if (!oldRule) return this.addRule(nameOrSelector, decl, options);
    var newRule = this.rules.replace(nameOrSelector, decl, options);

    if (newRule) {
      this.options.jss.plugins.onProcessRule(newRule);
    }

    if (this.attached) {
      if (!this.deployed) return newRule; // Don't replace / delete rule directly if there is no stringified version yet.
      // It will be inserted all together when .attach is called.

      if (this.renderer) {
        if (!newRule) {
          this.renderer.deleteRule(oldRule);
        } else if (oldRule.renderable) {
          this.renderer.replaceRule(oldRule.renderable, newRule);
        }
      }

      return newRule;
    } // We can't replace rules to a detached style node.
    // We will redeploy the sheet once user will attach it.


    this.deployed = false;
    return newRule;
  }
  /**
   * Insert rule into the StyleSheet
   */
  ;

  _proto.insertRule = function insertRule(rule) {
    if (this.renderer) {
      this.renderer.insertRule(rule);
    }
  }
  /**
   * Create and add rules.
   * Will render also after Style Sheet was rendered the first time.
   */
  ;

  _proto.addRules = function addRules(styles, options) {
    var added = [];

    for (var name in styles) {
      var rule = this.addRule(name, styles[name], options);
      if (rule) added.push(rule);
    }

    return added;
  }
  /**
   * Get a rule by name or selector.
   */
  ;

  _proto.getRule = function getRule(nameOrSelector) {
    return this.rules.get(nameOrSelector);
  }
  /**
   * Delete a rule by name.
   * Returns `true`: if rule has been deleted from the DOM.
   */
  ;

  _proto.deleteRule = function deleteRule(name) {
    var rule = typeof name === 'object' ? name : this.rules.get(name);

    if (!rule || // Style sheet was created without link: true and attached, in this case we
    // won't be able to remove the CSS rule from the DOM.
    this.attached && !rule.renderable) {
      return false;
    }

    this.rules.remove(rule);

    if (this.attached && rule.renderable && this.renderer) {
      return this.renderer.deleteRule(rule.renderable);
    }

    return true;
  }
  /**
   * Get index of a rule.
   */
  ;

  _proto.indexOf = function indexOf(rule) {
    return this.rules.indexOf(rule);
  }
  /**
   * Deploy pure CSS string to a renderable.
   */
  ;

  _proto.deploy = function deploy() {
    if (this.renderer) this.renderer.deploy();
    this.deployed = true;
    return this;
  }
  /**
   * Update the function values with a new data.
   */
  ;

  _proto.update = function update() {
    var _this$rules;

    (_this$rules = this.rules).update.apply(_this$rules, arguments);

    return this;
  }
  /**
   * Updates a single rule.
   */
  ;

  _proto.updateOne = function updateOne(rule, data, options) {
    this.rules.updateOne(rule, data, options);
    return this;
  }
  /**
   * Convert rules to a CSS string.
   */
  ;

  _proto.toString = function toString(options) {
    return this.rules.toString(options);
  };

  return StyleSheet;
}();

var PluginsRegistry =
/*#__PURE__*/
function () {
  function PluginsRegistry() {
    this.plugins = {
      internal: [],
      external: []
    };
    this.registry = {};
  }

  var _proto = PluginsRegistry.prototype;

  /**
   * Call `onCreateRule` hooks and return an object if returned by a hook.
   */
  _proto.onCreateRule = function onCreateRule(name, decl, options) {
    for (var i = 0; i < this.registry.onCreateRule.length; i++) {
      var rule = this.registry.onCreateRule[i](name, decl, options);
      if (rule) return rule;
    }

    return null;
  }
  /**
   * Call `onProcessRule` hooks.
   */
  ;

  _proto.onProcessRule = function onProcessRule(rule) {
    if (rule.isProcessed) return;
    var sheet = rule.options.sheet;

    for (var i = 0; i < this.registry.onProcessRule.length; i++) {
      this.registry.onProcessRule[i](rule, sheet);
    }

    if (rule.style) this.onProcessStyle(rule.style, rule, sheet);
    rule.isProcessed = true;
  }
  /**
   * Call `onProcessStyle` hooks.
   */
  ;

  _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {
    for (var i = 0; i < this.registry.onProcessStyle.length; i++) {
      rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);
    }
  }
  /**
   * Call `onProcessSheet` hooks.
   */
  ;

  _proto.onProcessSheet = function onProcessSheet(sheet) {
    for (var i = 0; i < this.registry.onProcessSheet.length; i++) {
      this.registry.onProcessSheet[i](sheet);
    }
  }
  /**
   * Call `onUpdate` hooks.
   */
  ;

  _proto.onUpdate = function onUpdate(data, rule, sheet, options) {
    for (var i = 0; i < this.registry.onUpdate.length; i++) {
      this.registry.onUpdate[i](data, rule, sheet, options);
    }
  }
  /**
   * Call `onChangeValue` hooks.
   */
  ;

  _proto.onChangeValue = function onChangeValue(value, prop, rule) {
    var processedValue = value;

    for (var i = 0; i < this.registry.onChangeValue.length; i++) {
      processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);
    }

    return processedValue;
  }
  /**
   * Register a plugin.
   */
  ;

  _proto.use = function use(newPlugin, options) {
    if (options === void 0) {
      options = {
        queue: 'external'
      };
    }

    var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.

    if (plugins.indexOf(newPlugin) !== -1) {
      return;
    }

    plugins.push(newPlugin);
    this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {
      for (var name in plugin) {
        if (name in registry) {
          registry[name].push(plugin[name]);
        } else {
           true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Unknown hook \"" + name + "\".") : 0;
        }
      }

      return registry;
    }, {
      onCreateRule: [],
      onProcessRule: [],
      onProcessStyle: [],
      onProcessSheet: [],
      onChangeValue: [],
      onUpdate: []
    });
  };

  return PluginsRegistry;
}();

/**
 * Sheets registry to access all instances in one place.
 */

var SheetsRegistry =
/*#__PURE__*/
function () {
  function SheetsRegistry() {
    this.registry = [];
  }

  var _proto = SheetsRegistry.prototype;

  /**
   * Register a Style Sheet.
   */
  _proto.add = function add(sheet) {
    var registry = this.registry;
    var index = sheet.options.index;
    if (registry.indexOf(sheet) !== -1) return;

    if (registry.length === 0 || index >= this.index) {
      registry.push(sheet);
      return;
    } // Find a position.


    for (var i = 0; i < registry.length; i++) {
      if (registry[i].options.index > index) {
        registry.splice(i, 0, sheet);
        return;
      }
    }
  }
  /**
   * Reset the registry.
   */
  ;

  _proto.reset = function reset() {
    this.registry = [];
  }
  /**
   * Remove a Style Sheet.
   */
  ;

  _proto.remove = function remove(sheet) {
    var index = this.registry.indexOf(sheet);
    this.registry.splice(index, 1);
  }
  /**
   * Convert all attached sheets to a CSS string.
   */
  ;

  _proto.toString = function toString(_temp) {
    var _ref = _temp === void 0 ? {} : _temp,
        attached = _ref.attached,
        options = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_6__["default"])(_ref, ["attached"]);

    var _getWhitespaceSymbols = getWhitespaceSymbols(options),
        linebreak = _getWhitespaceSymbols.linebreak;

    var css = '';

    for (var i = 0; i < this.registry.length; i++) {
      var sheet = this.registry[i];

      if (attached != null && sheet.attached !== attached) {
        continue;
      }

      if (css) css += linebreak;
      css += sheet.toString(options);
    }

    return css;
  };

  (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(SheetsRegistry, [{
    key: "index",

    /**
     * Current highest index number.
     */
    get: function get() {
      return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;
    }
  }]);

  return SheetsRegistry;
}();

/**
 * This is a global sheets registry. Only DomRenderer will add sheets to it.
 * On the server one should use an own SheetsRegistry instance and add the
 * sheets to it, because you need to make sure to create a new registry for
 * each request in order to not leak sheets across requests.
 */

var sheets = new SheetsRegistry();

/* eslint-disable */

/**
 * Now that `globalThis` is available on most platforms
 * (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility)
 * we check for `globalThis` first. `globalThis` is necessary for jss
 * to run in Agoric's secure version of JavaScript (SES). Under SES,
 * `globalThis` exists, but `window`, `self`, and `Function('return
 * this')()` are all undefined for security reasons.
 *
 * https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
 */
var globalThis$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' && window.Math === Math ? window : typeof self !== 'undefined' && self.Math === Math ? self : Function('return this')();

var ns = '2f1acc6c3a606b082e5eef5e54414ffb';
if (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify
// the current version with just one short number and use it for classes generation
// we use a counter. Also it is more accurate, because user can manually reevaluate
// the module.

var moduleId = globalThis$1[ns]++;

var maxRules = 1e10;
/**
 * Returns a function which generates unique class names based on counters.
 * When new generator function is created, rule counter is reseted.
 * We need to reset the rule counter for SSR for each request.
 */

var createGenerateId = function createGenerateId(options) {
  if (options === void 0) {
    options = {};
  }

  var ruleCounter = 0;

  var generateId = function generateId(rule, sheet) {
    ruleCounter += 1;

    if (ruleCounter > maxRules) {
       true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] You might have a memory leak. Rule counter is at " + ruleCounter + ".") : 0;
    }

    var jssId = '';
    var prefix = '';

    if (sheet) {
      if (sheet.options.classNamePrefix) {
        prefix = sheet.options.classNamePrefix;
      }

      if (sheet.options.jss.id != null) {
        jssId = String(sheet.options.jss.id);
      }
    }

    if (options.minify) {
      // Using "c" because a number can't be the first char in a class name.
      return "" + (prefix || 'c') + moduleId + jssId + ruleCounter;
    }

    return prefix + rule.key + "-" + moduleId + (jssId ? "-" + jssId : '') + "-" + ruleCounter;
  };

  return generateId;
};

/**
 * Cache the value from the first time a function is called.
 */

var memoize = function memoize(fn) {
  var value;
  return function () {
    if (!value) value = fn();
    return value;
  };
};
/**
 * Get a style property value.
 */


var getPropertyValue = function getPropertyValue(cssRule, prop) {
  try {
    // Support CSSTOM.
    if (cssRule.attributeStyleMap) {
      return cssRule.attributeStyleMap.get(prop);
    }

    return cssRule.style.getPropertyValue(prop);
  } catch (err) {
    // IE may throw if property is unknown.
    return '';
  }
};
/**
 * Set a style property.
 */


var setProperty = function setProperty(cssRule, prop, value) {
  try {
    var cssValue = value;

    if (Array.isArray(value)) {
      cssValue = toCssValue(value);
    } // Support CSSTOM.


    if (cssRule.attributeStyleMap) {
      cssRule.attributeStyleMap.set(prop, cssValue);
    } else {
      var indexOfImportantFlag = cssValue ? cssValue.indexOf('!important') : -1;
      var cssValueWithoutImportantFlag = indexOfImportantFlag > -1 ? cssValue.substr(0, indexOfImportantFlag - 1) : cssValue;
      cssRule.style.setProperty(prop, cssValueWithoutImportantFlag, indexOfImportantFlag > -1 ? 'important' : '');
    }
  } catch (err) {
    // IE may throw if property is unknown.
    return false;
  }

  return true;
};
/**
 * Remove a style property.
 */


var removeProperty = function removeProperty(cssRule, prop) {
  try {
    // Support CSSTOM.
    if (cssRule.attributeStyleMap) {
      cssRule.attributeStyleMap.delete(prop);
    } else {
      cssRule.style.removeProperty(prop);
    }
  } catch (err) {
     true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] DOMException \"" + err.message + "\" was thrown. Tried to remove property \"" + prop + "\".") : 0;
  }
};
/**
 * Set the selector.
 */


var setSelector = function setSelector(cssRule, selectorText) {
  cssRule.selectorText = selectorText; // Return false if setter was not successful.
  // Currently works in chrome only.

  return cssRule.selectorText === selectorText;
};
/**
 * Gets the `head` element upon the first call and caches it.
 * We assume it can't be null.
 */


var getHead = memoize(function () {
  return document.querySelector('head');
});
/**
 * Find attached sheet with an index higher than the passed one.
 */

function findHigherSheet(registry, options) {
  for (var i = 0; i < registry.length; i++) {
    var sheet = registry[i];

    if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {
      return sheet;
    }
  }

  return null;
}
/**
 * Find attached sheet with the highest index.
 */


function findHighestSheet(registry, options) {
  for (var i = registry.length - 1; i >= 0; i--) {
    var sheet = registry[i];

    if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {
      return sheet;
    }
  }

  return null;
}
/**
 * Find a comment with "jss" inside.
 */


function findCommentNode(text) {
  var head = getHead();

  for (var i = 0; i < head.childNodes.length; i++) {
    var node = head.childNodes[i];

    if (node.nodeType === 8 && node.nodeValue.trim() === text) {
      return node;
    }
  }

  return null;
}
/**
 * Find a node before which we can insert the sheet.
 */


function findPrevNode(options) {
  var registry = sheets.registry;

  if (registry.length > 0) {
    // Try to insert before the next higher sheet.
    var sheet = findHigherSheet(registry, options);

    if (sheet && sheet.renderer) {
      return {
        parent: sheet.renderer.element.parentNode,
        node: sheet.renderer.element
      };
    } // Otherwise insert after the last attached.


    sheet = findHighestSheet(registry, options);

    if (sheet && sheet.renderer) {
      return {
        parent: sheet.renderer.element.parentNode,
        node: sheet.renderer.element.nextSibling
      };
    }
  } // Try to find a comment placeholder if registry is empty.


  var insertionPoint = options.insertionPoint;

  if (insertionPoint && typeof insertionPoint === 'string') {
    var comment = findCommentNode(insertionPoint);

    if (comment) {
      return {
        parent: comment.parentNode,
        node: comment.nextSibling
      };
    } // If user specifies an insertion point and it can't be found in the document -
    // bad specificity issues may appear.


     true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] Insertion point \"" + insertionPoint + "\" not found.") : 0;
  }

  return false;
}
/**
 * Insert style element into the DOM.
 */


function insertStyle(style, options) {
  var insertionPoint = options.insertionPoint;
  var nextNode = findPrevNode(options);

  if (nextNode !== false && nextNode.parent) {
    nextNode.parent.insertBefore(style, nextNode.node);
    return;
  } // Works with iframes and any node types.


  if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
    var insertionPointElement = insertionPoint;
    var parentNode = insertionPointElement.parentNode;
    if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else  true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, '[JSS] Insertion point is not in the DOM.') : 0;
    return;
  }

  getHead().appendChild(style);
}
/**
 * Read jss nonce setting from the page if the user has set it.
 */


var getNonce = memoize(function () {
  var node = document.querySelector('meta[property="csp-nonce"]');
  return node ? node.getAttribute('content') : null;
});

var _insertRule = function insertRule(container, rule, index) {
  try {
    if ('insertRule' in container) {
      container.insertRule(rule, index);
    } // Keyframes rule.
    else if ('appendRule' in container) {
        container.appendRule(rule);
      }
  } catch (err) {
     true ? (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] " + err.message) : 0;
    return false;
  }

  return container.cssRules[index];
};

var getValidRuleInsertionIndex = function getValidRuleInsertionIndex(container, index) {
  var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong

  if (index === undefined || index > maxIndex) {
    // eslint-disable-next-line no-param-reassign
    return maxIndex;
  }

  return index;
};

var createStyle = function createStyle() {
  var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we
  // insert rules after we insert the style tag.
  // It seems to kick-off the source order specificity algorithm.

  el.textContent = '\n';
  return el;
};

var DomRenderer =
/*#__PURE__*/
function () {
  // Will be empty if link: true option is not set, because
  // it is only for use together with insertRule API.
  function DomRenderer(sheet) {
    this.getPropertyValue = getPropertyValue;
    this.setProperty = setProperty;
    this.removeProperty = removeProperty;
    this.setSelector = setSelector;
    this.hasInsertedRules = false;
    this.cssRules = [];
    // There is no sheet when the renderer is used from a standalone StyleRule.
    if (sheet) sheets.add(sheet);
    this.sheet = sheet;

    var _ref = this.sheet ? this.sheet.options : {},
        media = _ref.media,
        meta = _ref.meta,
        element = _ref.element;

    this.element = element || createStyle();
    this.element.setAttribute('data-jss', '');
    if (media) this.element.setAttribute('media', media);
    if (meta) this.element.setAttribute('data-meta', meta);
    var nonce = getNonce();
    if (nonce) this.element.setAttribute('nonce', nonce);
  }
  /**
   * Insert style element into render tree.
   */


  var _proto = DomRenderer.prototype;

  _proto.attach = function attach() {
    // In the case the element node is external and it is already in the DOM.
    if (this.element.parentNode || !this.sheet) return;
    insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`
    // most browsers create a new CSSStyleSheet, except of all IEs.

    var deployed = Boolean(this.sheet && this.sheet.deployed);

    if (this.hasInsertedRules && deployed) {
      this.hasInsertedRules = false;
      this.deploy();
    }
  }
  /**
   * Remove style element from render tree.
   */
  ;

  _proto.detach = function detach() {
    if (!this.sheet) return;
    var parentNode = this.element.parentNode;
    if (parentNode) parentNode.removeChild(this.element); // In the most browsers, rules inserted using insertRule() API will be lost when style element is removed.
    // Though IE will keep them and we need a consistent behavior.

    if (this.sheet.options.link) {
      this.cssRules = [];
      this.element.textContent = '\n';
    }
  }
  /**
   * Inject CSS string into element.
   */
  ;

  _proto.deploy = function deploy() {
    var sheet = this.sheet;
    if (!sheet) return;

    if (sheet.options.link) {
      this.insertRules(sheet.rules);
      return;
    }

    this.element.textContent = "\n" + sheet.toString() + "\n";
  }
  /**
   * Insert RuleList into an element.
   */
  ;

  _proto.insertRules = function insertRules(rules, nativeParent) {
    for (var i = 0; i < rules.index.length; i++) {
      this.insertRule(rules.index[i], i, nativeParent);
    }
  }
  /**
   * Insert a rule into element.
   */
  ;

  _proto.insertRule = function insertRule(rule, index, nativeParent) {
    if (nativeParent === void 0) {
      nativeParent = this.element.sheet;
    }

    if (rule.rules) {
      var parent = rule;
      var latestNativeParent = nativeParent;

      if (rule.type === 'conditional' || rule.type === 'keyframes') {
        var _insertionIndex = getValidRuleInsertionIndex(nativeParent, index); // We need to render the container without children first.


        latestNativeParent = _insertRule(nativeParent, parent.toString({
          children: false
        }), _insertionIndex);

        if (latestNativeParent === false) {
          return false;
        }

        this.refCssRule(rule, _insertionIndex, latestNativeParent);
      }

      this.insertRules(parent.rules, latestNativeParent);
      return latestNativeParent;
    }

    var ruleStr = rule.toString();
    if (!ruleStr) return false;
    var insertionIndex = getValidRuleInsertionIndex(nativeParent, index);

    var nativeRule = _insertRule(nativeParent, ruleStr, insertionIndex);

    if (nativeRule === false) {
      return false;
    }

    this.hasInsertedRules = true;
    this.refCssRule(rule, insertionIndex, nativeRule);
    return nativeRule;
  };

  _proto.refCssRule = function refCssRule(rule, index, cssRule) {
    rule.renderable = cssRule; // We only want to reference the top level rules, deleteRule API doesn't support removing nested rules
    // like rules inside media queries or keyframes

    if (rule.options.parent instanceof StyleSheet) {
      this.cssRules.splice(index, 0, cssRule);
    }
  }
  /**
   * Delete a rule.
   */
  ;

  _proto.deleteRule = function deleteRule(cssRule) {
    var sheet = this.element.sheet;
    var index = this.indexOf(cssRule);
    if (index === -1) return false;
    sheet.deleteRule(index);
    this.cssRules.splice(index, 1);
    return true;
  }
  /**
   * Get index of a CSS Rule.
   */
  ;

  _proto.indexOf = function indexOf(cssRule) {
    return this.cssRules.indexOf(cssRule);
  }
  /**
   * Generate a new CSS rule and replace the existing one.
   */
  ;

  _proto.replaceRule = function replaceRule(cssRule, rule) {
    var index = this.indexOf(cssRule);
    if (index === -1) return false;
    this.element.sheet.deleteRule(index);
    this.cssRules.splice(index, 1);
    return this.insertRule(rule, index);
  }
  /**
   * Get all rules elements.
   */
  ;

  _proto.getRules = function getRules() {
    return this.element.sheet.cssRules;
  };

  return DomRenderer;
}();

var instanceCounter = 0;

var Jss =
/*#__PURE__*/
function () {
  function Jss(options) {
    this.id = instanceCounter++;
    this.version = "10.10.0";
    this.plugins = new PluginsRegistry();
    this.options = {
      id: {
        minify: false
      },
      createGenerateId: createGenerateId,
      Renderer: is_in_browser__WEBPACK_IMPORTED_MODULE_1__["default"] ? DomRenderer : null,
      plugins: []
    };
    this.generateId = createGenerateId({
      minify: false
    });

    for (var i = 0; i < plugins.length; i++) {
      this.plugins.use(plugins[i], {
        queue: 'internal'
      });
    }

    this.setup(options);
  }
  /**
   * Prepares various options, applies plugins.
   * Should not be used twice on the same instance, because there is no plugins
   * deduplication logic.
   */


  var _proto = Jss.prototype;

  _proto.setup = function setup(options) {
    if (options === void 0) {
      options = {};
    }

    if (options.createGenerateId) {
      this.options.createGenerateId = options.createGenerateId;
    }

    if (options.id) {
      this.options.id = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.options.id, options.id);
    }

    if (options.createGenerateId || options.id) {
      this.generateId = this.options.createGenerateId(this.options.id);
    }

    if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;

    if ('Renderer' in options) {
      this.options.Renderer = options.Renderer;
    } // eslint-disable-next-line prefer-spread


    if (options.plugins) this.use.apply(this, options.plugins);
    return this;
  }
  /**
   * Create a Style Sheet.
   */
  ;

  _proto.createStyleSheet = function createStyleSheet(styles, options) {
    if (options === void 0) {
      options = {};
    }

    var _options = options,
        index = _options.index;

    if (typeof index !== 'number') {
      index = sheets.index === 0 ? 0 : sheets.index + 1;
    }

    var sheet = new StyleSheet(styles, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      jss: this,
      generateId: options.generateId || this.generateId,
      insertionPoint: this.options.insertionPoint,
      Renderer: this.options.Renderer,
      index: index
    }));
    this.plugins.onProcessSheet(sheet);
    return sheet;
  }
  /**
   * Detach the Style Sheet and remove it from the registry.
   */
  ;

  _proto.removeStyleSheet = function removeStyleSheet(sheet) {
    sheet.detach();
    sheets.remove(sheet);
    return this;
  }
  /**
   * Create a rule without a Style Sheet.
   * [Deprecated] will be removed in the next major version.
   */
  ;

  _proto.createRule = function createRule$1(name, style, options) {
    if (style === void 0) {
      style = {};
    }

    if (options === void 0) {
      options = {};
    }

    // Enable rule without name for inline styles.
    if (typeof name === 'object') {
      return this.createRule(undefined, name, style);
    }

    var ruleOptions = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, options, {
      name: name,
      jss: this,
      Renderer: this.options.Renderer
    });

    if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;
    if (!ruleOptions.classes) ruleOptions.classes = {};
    if (!ruleOptions.keyframes) ruleOptions.keyframes = {};

    var rule = createRule(name, style, ruleOptions);

    if (rule) this.plugins.onProcessRule(rule);
    return rule;
  }
  /**
   * Register plugin. Passed function will be invoked with a rule instance.
   */
  ;

  _proto.use = function use() {
    var _this = this;

    for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
      plugins[_key] = arguments[_key];
    }

    plugins.forEach(function (plugin) {
      _this.plugins.use(plugin);
    });
    return this;
  };

  return Jss;
}();

var createJss = function createJss(options) {
  return new Jss(options);
};

/**
 * SheetsManager is like a WeakMap which is designed to count StyleSheet
 * instances and attach/detach automatically.
 * Used in react-jss.
 */

var SheetsManager =
/*#__PURE__*/
function () {
  function SheetsManager() {
    this.length = 0;
    this.sheets = new WeakMap();
  }

  var _proto = SheetsManager.prototype;

  _proto.get = function get(key) {
    var entry = this.sheets.get(key);
    return entry && entry.sheet;
  };

  _proto.add = function add(key, sheet) {
    if (this.sheets.has(key)) return;
    this.length++;
    this.sheets.set(key, {
      sheet: sheet,
      refs: 0
    });
  };

  _proto.manage = function manage(key) {
    var entry = this.sheets.get(key);

    if (entry) {
      if (entry.refs === 0) {
        entry.sheet.attach();
      }

      entry.refs++;
      return entry.sheet;
    }

    (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "[JSS] SheetsManager: can't find sheet to manage");
    return undefined;
  };

  _proto.unmanage = function unmanage(key) {
    var entry = this.sheets.get(key);

    if (entry) {
      if (entry.refs > 0) {
        entry.refs--;
        if (entry.refs === 0) entry.sheet.detach();
      }
    } else {
      (0,tiny_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(false, "SheetsManager: can't find sheet to unmanage");
    }
  };

  (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(SheetsManager, [{
    key: "size",
    get: function get() {
      return this.length;
    }
  }]);

  return SheetsManager;
}();

/**
* Export a constant indicating if this browser has CSSTOM support.
* https://developers.google.com/web/updates/2018/03/cssom
*/
var hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;

/**
 * Extracts a styles object with only props that contain function values.
 */
function getDynamicStyles(styles) {
  var to = null;

  for (var key in styles) {
    var value = styles[key];
    var type = typeof value;

    if (type === 'function') {
      if (!to) to = {};
      to[key] = value;
    } else if (type === 'object' && value !== null && !Array.isArray(value)) {
      var extracted = getDynamicStyles(value);

      if (extracted) {
        if (!to) to = {};
        to[key] = extracted;
      }
    }
  }

  return to;
}

/**
 * A better abstraction over CSS.
 *
 * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
 * @website https://github.com/cssinjs/jss
 * @license MIT
 */
var index = createJss();

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (index);



/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js ***!
  \**************************************************************************************/
(module) {

"use strict";


/** @type {import('./abs')} */
module.exports = Math.abs;


/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js ***!
  \****************************************************************************************/
(module) {

"use strict";


/** @type {import('./floor')} */
module.exports = Math.floor;


/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js ***!
  \****************************************************************************************/
(module) {

"use strict";


/** @type {import('./isNaN')} */
module.exports = Number.isNaN || function isNaN(a) {
	return a !== a;
};


/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js ***!
  \**************************************************************************************/
(module) {

"use strict";


/** @type {import('./max')} */
module.exports = Math.max;


/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js ***!
  \**************************************************************************************/
(module) {

"use strict";


/** @type {import('./min')} */
module.exports = Math.min;


/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js ***!
  \**************************************************************************************/
(module) {

"use strict";


/** @type {import('./pow')} */
module.exports = Math.pow;


/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js ***!
  \****************************************************************************************/
(module) {

"use strict";


/** @type {import('./round')} */
module.exports = Math.round;


/***/ },

/***/ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var $isNaN = __webpack_require__(/*! ./isNaN */ "./node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js");

/** @type {import('./sign')} */
module.exports = function sign(number) {
	if ($isNaN(number) || number === 0) {
		return number;
	}
	return number < 0 ? -1 : +1;
};


/***/ },

/***/ "./node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js"
/*!**************************************************************!*\
  !*** ./node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js ***!
  \**************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

(function(){
  var crypt = __webpack_require__(/*! crypt */ "./node_modules/.pnpm/crypt@0.0.2/node_modules/crypt/crypt.js"),
      utf8 = (__webpack_require__(/*! charenc */ "./node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js").utf8),
      isBuffer = __webpack_require__(/*! is-buffer */ "./node_modules/.pnpm/is-buffer@1.1.6/node_modules/is-buffer/index.js"),
      bin = (__webpack_require__(/*! charenc */ "./node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js").bin),

  // The core
  md5 = function (message, options) {
    // Convert to byte array
    if (message.constructor == String)
      if (options && options.encoding === 'binary')
        message = bin.stringToBytes(message);
      else
        message = utf8.stringToBytes(message);
    else if (isBuffer(message))
      message = Array.prototype.slice.call(message, 0);
    else if (!Array.isArray(message) && message.constructor !== Uint8Array)
      message = message.toString();
    // else, assume byte array already

    var m = crypt.bytesToWords(message),
        l = message.length * 8,
        a =  1732584193,
        b = -271733879,
        c = -1732584194,
        d =  271733878;

    // Swap endian
    for (var i = 0; i < m.length; i++) {
      m[i] = ((m[i] <<  8) | (m[i] >>> 24)) & 0x00FF00FF |
             ((m[i] << 24) | (m[i] >>>  8)) & 0xFF00FF00;
    }

    // Padding
    m[l >>> 5] |= 0x80 << (l % 32);
    m[(((l + 64) >>> 9) << 4) + 14] = l;

    // Method shortcuts
    var FF = md5._ff,
        GG = md5._gg,
        HH = md5._hh,
        II = md5._ii;

    for (var i = 0; i < m.length; i += 16) {

      var aa = a,
          bb = b,
          cc = c,
          dd = d;

      a = FF(a, b, c, d, m[i+ 0],  7, -680876936);
      d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
      c = FF(c, d, a, b, m[i+ 2], 17,  606105819);
      b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
      a = FF(a, b, c, d, m[i+ 4],  7, -176418897);
      d = FF(d, a, b, c, m[i+ 5], 12,  1200080426);
      c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
      b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
      a = FF(a, b, c, d, m[i+ 8],  7,  1770035416);
      d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
      c = FF(c, d, a, b, m[i+10], 17, -42063);
      b = FF(b, c, d, a, m[i+11], 22, -1990404162);
      a = FF(a, b, c, d, m[i+12],  7,  1804603682);
      d = FF(d, a, b, c, m[i+13], 12, -40341101);
      c = FF(c, d, a, b, m[i+14], 17, -1502002290);
      b = FF(b, c, d, a, m[i+15], 22,  1236535329);

      a = GG(a, b, c, d, m[i+ 1],  5, -165796510);
      d = GG(d, a, b, c, m[i+ 6],  9, -1069501632);
      c = GG(c, d, a, b, m[i+11], 14,  643717713);
      b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
      a = GG(a, b, c, d, m[i+ 5],  5, -701558691);
      d = GG(d, a, b, c, m[i+10],  9,  38016083);
      c = GG(c, d, a, b, m[i+15], 14, -660478335);
      b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
      a = GG(a, b, c, d, m[i+ 9],  5,  568446438);
      d = GG(d, a, b, c, m[i+14],  9, -1019803690);
      c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
      b = GG(b, c, d, a, m[i+ 8], 20,  1163531501);
      a = GG(a, b, c, d, m[i+13],  5, -1444681467);
      d = GG(d, a, b, c, m[i+ 2],  9, -51403784);
      c = GG(c, d, a, b, m[i+ 7], 14,  1735328473);
      b = GG(b, c, d, a, m[i+12], 20, -1926607734);

      a = HH(a, b, c, d, m[i+ 5],  4, -378558);
      d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
      c = HH(c, d, a, b, m[i+11], 16,  1839030562);
      b = HH(b, c, d, a, m[i+14], 23, -35309556);
      a = HH(a, b, c, d, m[i+ 1],  4, -1530992060);
      d = HH(d, a, b, c, m[i+ 4], 11,  1272893353);
      c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
      b = HH(b, c, d, a, m[i+10], 23, -1094730640);
      a = HH(a, b, c, d, m[i+13],  4,  681279174);
      d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
      c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
      b = HH(b, c, d, a, m[i+ 6], 23,  76029189);
      a = HH(a, b, c, d, m[i+ 9],  4, -640364487);
      d = HH(d, a, b, c, m[i+12], 11, -421815835);
      c = HH(c, d, a, b, m[i+15], 16,  530742520);
      b = HH(b, c, d, a, m[i+ 2], 23, -995338651);

      a = II(a, b, c, d, m[i+ 0],  6, -198630844);
      d = II(d, a, b, c, m[i+ 7], 10,  1126891415);
      c = II(c, d, a, b, m[i+14], 15, -1416354905);
      b = II(b, c, d, a, m[i+ 5], 21, -57434055);
      a = II(a, b, c, d, m[i+12],  6,  1700485571);
      d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
      c = II(c, d, a, b, m[i+10], 15, -1051523);
      b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
      a = II(a, b, c, d, m[i+ 8],  6,  1873313359);
      d = II(d, a, b, c, m[i+15], 10, -30611744);
      c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
      b = II(b, c, d, a, m[i+13], 21,  1309151649);
      a = II(a, b, c, d, m[i+ 4],  6, -145523070);
      d = II(d, a, b, c, m[i+11], 10, -1120210379);
      c = II(c, d, a, b, m[i+ 2], 15,  718787259);
      b = II(b, c, d, a, m[i+ 9], 21, -343485551);

      a = (a + aa) >>> 0;
      b = (b + bb) >>> 0;
      c = (c + cc) >>> 0;
      d = (d + dd) >>> 0;
    }

    return crypt.endian([a, b, c, d]);
  };

  // Auxiliary functions
  md5._ff  = function (a, b, c, d, x, s, t) {
    var n = a + (b & c | ~b & d) + (x >>> 0) + t;
    return ((n << s) | (n >>> (32 - s))) + b;
  };
  md5._gg  = function (a, b, c, d, x, s, t) {
    var n = a + (b & d | c & ~d) + (x >>> 0) + t;
    return ((n << s) | (n >>> (32 - s))) + b;
  };
  md5._hh  = function (a, b, c, d, x, s, t) {
    var n = a + (b ^ c ^ d) + (x >>> 0) + t;
    return ((n << s) | (n >>> (32 - s))) + b;
  };
  md5._ii  = function (a, b, c, d, x, s, t) {
    var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
    return ((n << s) | (n >>> (32 - s))) + b;
  };

  // Package private blocksize
  md5._blocksize = 16;
  md5._digestsize = 16;

  module.exports = function (message, options) {
    if (message === undefined || message === null)
      throw new Error('Illegal argument ' + message);

    var digestbytes = crypt.wordsToBytes(md5(message, options));
    return options && options.asBytes ? digestbytes :
        options && options.asString ? bin.bytesToString(digestbytes) :
        crypt.bytesToHex(digestbytes);
  };

})();


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-at.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-at.js ***!
  \******************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : German (Austria) [de-at]
//! author : lluchs : https://github.com/lluchs
//! author: Menelion Elensúle: https://github.com/Oire
//! author : Martin Groller : https://github.com/MadMG
//! author : Mikolaj Dadela : https://github.com/mik01aj

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            m: ['eine Minute', 'einer Minute'],
            h: ['eine Stunde', 'einer Stunde'],
            d: ['ein Tag', 'einem Tag'],
            dd: [number + ' Tage', number + ' Tagen'],
            w: ['eine Woche', 'einer Woche'],
            M: ['ein Monat', 'einem Monat'],
            MM: [number + ' Monate', number + ' Monaten'],
            y: ['ein Jahr', 'einem Jahr'],
            yy: [number + ' Jahre', number + ' Jahren'],
        };
        return withoutSuffix ? format[key][0] : format[key][1];
    }

    var deAt = moment.defineLocale('de-at', {
        months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
            '_'
        ),
        monthsShort:
            'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
        monthsParseExact: true,
        weekdays:
            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
                '_'
            ),
        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY HH:mm',
            LLLL: 'dddd, D. MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[heute um] LT [Uhr]',
            sameElse: 'L',
            nextDay: '[morgen um] LT [Uhr]',
            nextWeek: 'dddd [um] LT [Uhr]',
            lastDay: '[gestern um] LT [Uhr]',
            lastWeek: '[letzten] dddd [um] LT [Uhr]',
        },
        relativeTime: {
            future: 'in %s',
            past: 'vor %s',
            s: 'ein paar Sekunden',
            ss: '%d Sekunden',
            m: processRelativeTime,
            mm: '%d Minuten',
            h: processRelativeTime,
            hh: '%d Stunden',
            d: processRelativeTime,
            dd: processRelativeTime,
            w: processRelativeTime,
            ww: '%d Wochen',
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return deAt;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-ch.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-ch.js ***!
  \******************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : German (Switzerland) [de-ch]
//! author : sschueller : https://github.com/sschueller

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            m: ['eine Minute', 'einer Minute'],
            h: ['eine Stunde', 'einer Stunde'],
            d: ['ein Tag', 'einem Tag'],
            dd: [number + ' Tage', number + ' Tagen'],
            w: ['eine Woche', 'einer Woche'],
            M: ['ein Monat', 'einem Monat'],
            MM: [number + ' Monate', number + ' Monaten'],
            y: ['ein Jahr', 'einem Jahr'],
            yy: [number + ' Jahre', number + ' Jahren'],
        };
        return withoutSuffix ? format[key][0] : format[key][1];
    }

    var deCh = moment.defineLocale('de-ch', {
        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
            '_'
        ),
        monthsShort:
            'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
        monthsParseExact: true,
        weekdays:
            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
                '_'
            ),
        weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY HH:mm',
            LLLL: 'dddd, D. MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[heute um] LT [Uhr]',
            sameElse: 'L',
            nextDay: '[morgen um] LT [Uhr]',
            nextWeek: 'dddd [um] LT [Uhr]',
            lastDay: '[gestern um] LT [Uhr]',
            lastWeek: '[letzten] dddd [um] LT [Uhr]',
        },
        relativeTime: {
            future: 'in %s',
            past: 'vor %s',
            s: 'ein paar Sekunden',
            ss: '%d Sekunden',
            m: processRelativeTime,
            mm: '%d Minuten',
            h: processRelativeTime,
            hh: '%d Stunden',
            d: processRelativeTime,
            dd: processRelativeTime,
            w: processRelativeTime,
            ww: '%d Wochen',
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return deCh;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de.js ***!
  \***************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : German [de]
//! author : lluchs : https://github.com/lluchs
//! author: Menelion Elensúle: https://github.com/Oire
//! author : Mikolaj Dadela : https://github.com/mik01aj

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            m: ['eine Minute', 'einer Minute'],
            h: ['eine Stunde', 'einer Stunde'],
            d: ['ein Tag', 'einem Tag'],
            dd: [number + ' Tage', number + ' Tagen'],
            w: ['eine Woche', 'einer Woche'],
            M: ['ein Monat', 'einem Monat'],
            MM: [number + ' Monate', number + ' Monaten'],
            y: ['ein Jahr', 'einem Jahr'],
            yy: [number + ' Jahre', number + ' Jahren'],
        };
        return withoutSuffix ? format[key][0] : format[key][1];
    }

    var de = moment.defineLocale('de', {
        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
            '_'
        ),
        monthsShort:
            'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
        monthsParseExact: true,
        weekdays:
            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
                '_'
            ),
        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY HH:mm',
            LLLL: 'dddd, D. MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[heute um] LT [Uhr]',
            sameElse: 'L',
            nextDay: '[morgen um] LT [Uhr]',
            nextWeek: 'dddd [um] LT [Uhr]',
            lastDay: '[gestern um] LT [Uhr]',
            lastWeek: '[letzten] dddd [um] LT [Uhr]',
        },
        relativeTime: {
            future: 'in %s',
            past: 'vor %s',
            s: 'ein paar Sekunden',
            ss: '%d Sekunden',
            m: processRelativeTime,
            mm: '%d Minuten',
            h: processRelativeTime,
            hh: '%d Stunden',
            d: processRelativeTime,
            dd: processRelativeTime,
            w: processRelativeTime,
            ww: '%d Wochen',
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return de;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ca.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ca.js ***!
  \******************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : French (Canada) [fr-ca]
//! author : Jonathan Abourbih : https://github.com/jonbca

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var frCa = moment.defineLocale('fr-ca', {
        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
            '_'
        ),
        monthsShort:
            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Aujourd’hui à] LT',
            nextDay: '[Demain à] LT',
            nextWeek: 'dddd [à] LT',
            lastDay: '[Hier à] LT',
            lastWeek: 'dddd [dernier à] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dans %s',
            past: 'il y a %s',
            s: 'quelques secondes',
            ss: '%d secondes',
            m: 'une minute',
            mm: '%d minutes',
            h: 'une heure',
            hh: '%d heures',
            d: 'un jour',
            dd: '%d jours',
            M: 'un mois',
            MM: '%d mois',
            y: 'un an',
            yy: '%d ans',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
        ordinal: function (number, period) {
            switch (period) {
                // Words with masculine grammatical gender: mois, trimestre, jour
                default:
                case 'M':
                case 'Q':
                case 'D':
                case 'DDD':
                case 'd':
                    return number + (number === 1 ? 'er' : 'e');

                // Words with feminine grammatical gender: semaine
                case 'w':
                case 'W':
                    return number + (number === 1 ? 're' : 'e');
            }
        },
    });

    return frCa;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ch.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ch.js ***!
  \******************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : French (Switzerland) [fr-ch]
//! author : Gaspard Bucher : https://github.com/gaspard

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var frCh = moment.defineLocale('fr-ch', {
        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
            '_'
        ),
        monthsShort:
            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Aujourd’hui à] LT',
            nextDay: '[Demain à] LT',
            nextWeek: 'dddd [à] LT',
            lastDay: '[Hier à] LT',
            lastWeek: 'dddd [dernier à] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dans %s',
            past: 'il y a %s',
            s: 'quelques secondes',
            ss: '%d secondes',
            m: 'une minute',
            mm: '%d minutes',
            h: 'une heure',
            hh: '%d heures',
            d: 'un jour',
            dd: '%d jours',
            M: 'un mois',
            MM: '%d mois',
            y: 'un an',
            yy: '%d ans',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
        ordinal: function (number, period) {
            switch (period) {
                // Words with masculine grammatical gender: mois, trimestre, jour
                default:
                case 'M':
                case 'Q':
                case 'D':
                case 'DDD':
                case 'd':
                    return number + (number === 1 ? 'er' : 'e');

                // Words with feminine grammatical gender: semaine
                case 'w':
                case 'W':
                    return number + (number === 1 ? 're' : 'e');
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return frCh;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr.js ***!
  \***************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : French [fr]
//! author : John Fischer : https://github.com/jfroffice

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsStrictRegex =
            /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
        monthsShortStrictRegex =
            /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
        monthsRegex =
            /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
        monthsParse = [
            /^janv/i,
            /^févr/i,
            /^mars/i,
            /^avr/i,
            /^mai/i,
            /^juin/i,
            /^juil/i,
            /^août/i,
            /^sept/i,
            /^oct/i,
            /^nov/i,
            /^déc/i,
        ];

    var fr = moment.defineLocale('fr', {
        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
            '_'
        ),
        monthsShort:
            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
                '_'
            ),
        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex: monthsStrictRegex,
        monthsShortStrictRegex: monthsShortStrictRegex,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Aujourd’hui à] LT',
            nextDay: '[Demain à] LT',
            nextWeek: 'dddd [à] LT',
            lastDay: '[Hier à] LT',
            lastWeek: 'dddd [dernier à] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dans %s',
            past: 'il y a %s',
            s: 'quelques secondes',
            ss: '%d secondes',
            m: 'une minute',
            mm: '%d minutes',
            h: 'une heure',
            hh: '%d heures',
            d: 'un jour',
            dd: '%d jours',
            w: 'une semaine',
            ww: '%d semaines',
            M: 'un mois',
            MM: '%d mois',
            y: 'un an',
            yy: '%d ans',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
        ordinal: function (number, period) {
            switch (period) {
                // TODO: Return 'e' when day of month > 1. Move this case inside
                // block for masculine words below.
                // See https://github.com/moment/moment/issues/3375
                case 'D':
                    return number + (number === 1 ? 'er' : '');

                // Words with masculine grammatical gender: mois, trimestre, jour
                default:
                case 'M':
                case 'Q':
                case 'DDD':
                case 'd':
                    return number + (number === 1 ? 'er' : 'e');

                // Words with feminine grammatical gender: semaine
                case 'w':
                case 'W':
                    return number + (number === 1 ? 're' : 'e');
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return fr;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/gom-deva.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/gom-deva.js ***!
  \*********************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Konkani Devanagari script [gom-deva]
//! author : The Discoverer : https://github.com/WikiDiscoverer

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
            ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
            m: ['एका मिणटान', 'एक मिनूट'],
            mm: [number + ' मिणटांनी', number + ' मिणटां'],
            h: ['एका वरान', 'एक वर'],
            hh: [number + ' वरांनी', number + ' वरां'],
            d: ['एका दिसान', 'एक दीस'],
            dd: [number + ' दिसांनी', number + ' दीस'],
            M: ['एका म्हयन्यान', 'एक म्हयनो'],
            MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
            y: ['एका वर्सान', 'एक वर्स'],
            yy: [number + ' वर्सांनी', number + ' वर्सां'],
        };
        return isFuture ? format[key][0] : format[key][1];
    }

    var gomDeva = moment.defineLocale('gom-deva', {
        months: {
            standalone:
                'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
                    '_'
                ),
            format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(
                '_'
            ),
            isFormat: /MMMM(\s)+D[oD]?/,
        },
        monthsShort:
            'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
        weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
        weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'A h:mm [वाजतां]',
            LTS: 'A h:mm:ss [वाजतां]',
            L: 'DD-MM-YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY A h:mm [वाजतां]',
            LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
            llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',
        },
        calendar: {
            sameDay: '[आयज] LT',
            nextDay: '[फाल्यां] LT',
            nextWeek: '[फुडलो] dddd[,] LT',
            lastDay: '[काल] LT',
            lastWeek: '[फाटलो] dddd[,] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s',
            past: '%s आदीं',
            s: processRelativeTime,
            ss: processRelativeTime,
            m: processRelativeTime,
            mm: processRelativeTime,
            h: processRelativeTime,
            hh: processRelativeTime,
            d: processRelativeTime,
            dd: processRelativeTime,
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
        ordinal: function (number, period) {
            switch (period) {
                // the ordinal 'वेर' only applies to day of the month
                case 'D':
                    return number + 'वेर';
                default:
                case 'M':
                case 'Q':
                case 'DDD':
                case 'd':
                case 'w':
                case 'W':
                    return number;
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week
            doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
        },
        meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'राती') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'सकाळीं') {
                return hour;
            } else if (meridiem === 'दनपारां') {
                return hour > 12 ? hour : hour + 12;
            } else if (meridiem === 'सांजे') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'राती';
            } else if (hour < 12) {
                return 'सकाळीं';
            } else if (hour < 16) {
                return 'दनपारां';
            } else if (hour < 20) {
                return 'सांजे';
            } else {
                return 'राती';
            }
        },
    });

    return gomDeva;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it-ch.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it-ch.js ***!
  \******************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Italian (Switzerland) [it-ch]
//! author : xfh : https://github.com/xfh

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var itCh = moment.defineLocale('it-ch', {
        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
            '_'
        ),
        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
            '_'
        ),
        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Oggi alle] LT',
            nextDay: '[Domani alle] LT',
            nextWeek: 'dddd [alle] LT',
            lastDay: '[Ieri alle] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[la scorsa] dddd [alle] LT';
                    default:
                        return '[lo scorso] dddd [alle] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: function (s) {
                return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
            },
            past: '%s fa',
            s: 'alcuni secondi',
            ss: '%d secondi',
            m: 'un minuto',
            mm: '%d minuti',
            h: "un'ora",
            hh: '%d ore',
            d: 'un giorno',
            dd: '%d giorni',
            M: 'un mese',
            MM: '%d mesi',
            y: 'un anno',
            yy: '%d anni',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return itCh;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it.js ***!
  \***************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Italian [it]
//! author : Lorenzo : https://github.com/aliem
//! author: Mattia Larentis: https://github.com/nostalgiaz
//! author: Marco : https://github.com/Manfre98

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var it = moment.defineLocale('it', {
        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
            '_'
        ),
        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
            '_'
        ),
        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: function () {
                return (
                    '[Oggi a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            nextDay: function () {
                return (
                    '[Domani a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            nextWeek: function () {
                return (
                    'dddd [a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            lastDay: function () {
                return (
                    '[Ieri a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return (
                            '[La scorsa] dddd [a' +
                            (this.hours() > 1
                                ? 'lle '
                                : this.hours() === 0
                                  ? ' '
                                  : "ll'") +
                            ']LT'
                        );
                    default:
                        return (
                            '[Lo scorso] dddd [a' +
                            (this.hours() > 1
                                ? 'lle '
                                : this.hours() === 0
                                  ? ' '
                                  : "ll'") +
                            ']LT'
                        );
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'tra %s',
            past: '%s fa',
            s: 'alcuni secondi',
            ss: '%d secondi',
            m: 'un minuto',
            mm: '%d minuti',
            h: "un'ora",
            hh: '%d ore',
            d: 'un giorno',
            dd: '%d giorni',
            w: 'una settimana',
            ww: '%d settimane',
            M: 'un mese',
            MM: '%d mesi',
            y: 'un anno',
            yy: '%d anni',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return it;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/sv.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/sv.js ***!
  \***************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Swedish [sv]
//! author : Jens Alm : https://github.com/ulmus

;(function (global, factory) {
    true ? factory(__webpack_require__(/*! ../moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js")) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var sv = moment.defineLocale('sv', {
        months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
            '_'
        ),
        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
        weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
        weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
        weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY [kl.] HH:mm',
            LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
            lll: 'D MMM YYYY HH:mm',
            llll: 'ddd D MMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Idag] LT',
            nextDay: '[Imorgon] LT',
            lastDay: '[Igår] LT',
            nextWeek: '[På] dddd LT',
            lastWeek: '[I] dddd[s] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'om %s',
            past: 'för %s sedan',
            s: 'några sekunder',
            ss: '%d sekunder',
            m: 'en minut',
            mm: '%d minuter',
            h: 'en timme',
            hh: '%d timmar',
            d: 'en dag',
            dd: '%d dagar',
            M: 'en månad',
            MM: '%d månader',
            y: 'ett år',
            yy: '%d år',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? ':e'
                        : b === 1
                          ? ':a'
                          : b === 2
                            ? ':a'
                            : b === 3
                              ? ':e'
                              : ':e';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return sv;

})));


/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale sync recursive de%7Csv%7Cit%7Cfr"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/ sync de%7Csv%7Cit%7Cfr ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

var map = {
	"./de": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de.js",
	"./de-at": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-at.js",
	"./de-at.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-at.js",
	"./de-ch": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-ch.js",
	"./de-ch.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de-ch.js",
	"./de.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/de.js",
	"./fr": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr.js",
	"./fr-ca": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ca.js",
	"./fr-ca.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ca.js",
	"./fr-ch": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ch.js",
	"./fr-ch.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr-ch.js",
	"./fr.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/fr.js",
	"./gom-deva": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/gom-deva.js",
	"./gom-deva.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/gom-deva.js",
	"./it": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it.js",
	"./it-ch": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it-ch.js",
	"./it-ch.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it-ch.js",
	"./it.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/it.js",
	"./sv": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/sv.js",
	"./sv.js": "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale/sv.js"
};


function webpackContext(req) {
	var id = webpackContextResolve(req);
	return __webpack_require__(id);
}
function webpackContextResolve(req) {
	if(!__webpack_require__.o(map, req)) {
		var e = new Error("Cannot find module '" + req + "'");
		e.code = 'MODULE_NOT_FOUND';
		throw e;
	}
	return map[req];
}
webpackContext.keys = function webpackContextKeys() {
	return Object.keys(map);
};
webpackContext.resolve = webpackContextResolve;
module.exports = webpackContext;
webpackContext.id = "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale sync recursive de%7Csv%7Cit%7Cfr";

/***/ },

/***/ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js"
/*!************************************************************************!*\
  !*** ./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js ***!
  \************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

/* module decorator */ module = __webpack_require__.nmd(module);
//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com

;(function (global, factory) {
     true ? module.exports = factory() :
    0
}(this, (function () { 'use strict';

    var hookCallback;

    function hooks() {
        return hookCallback.apply(null, arguments);
    }

    // This is done to register the method called with moment()
    // without creating circular dependencies.
    function setHookCallback(callback) {
        hookCallback = callback;
    }

    function isArray(input) {
        return (
            input instanceof Array ||
            Object.prototype.toString.call(input) === '[object Array]'
        );
    }

    function isObject(input) {
        // IE8 will treat undefined and null as object if it wasn't for
        // input != null
        return (
            input != null &&
            Object.prototype.toString.call(input) === '[object Object]'
        );
    }

    function hasOwnProp(a, b) {
        return Object.prototype.hasOwnProperty.call(a, b);
    }

    function isObjectEmpty(obj) {
        if (Object.getOwnPropertyNames) {
            return Object.getOwnPropertyNames(obj).length === 0;
        } else {
            var k;
            for (k in obj) {
                if (hasOwnProp(obj, k)) {
                    return false;
                }
            }
            return true;
        }
    }

    function isUndefined(input) {
        return input === void 0;
    }

    function isNumber(input) {
        return (
            typeof input === 'number' ||
            Object.prototype.toString.call(input) === '[object Number]'
        );
    }

    function isDate(input) {
        return (
            input instanceof Date ||
            Object.prototype.toString.call(input) === '[object Date]'
        );
    }

    function map(arr, fn) {
        var res = [],
            i,
            arrLen = arr.length;
        for (i = 0; i < arrLen; ++i) {
            res.push(fn(arr[i], i));
        }
        return res;
    }

    function extend(a, b) {
        for (var i in b) {
            if (hasOwnProp(b, i)) {
                a[i] = b[i];
            }
        }

        if (hasOwnProp(b, 'toString')) {
            a.toString = b.toString;
        }

        if (hasOwnProp(b, 'valueOf')) {
            a.valueOf = b.valueOf;
        }

        return a;
    }

    function createUTC(input, format, locale, strict) {
        return createLocalOrUTC(input, format, locale, strict, true).utc();
    }

    function defaultParsingFlags() {
        // We need to deep clone this object.
        return {
            empty: false,
            unusedTokens: [],
            unusedInput: [],
            overflow: -2,
            charsLeftOver: 0,
            nullInput: false,
            invalidEra: null,
            invalidMonth: null,
            invalidFormat: false,
            userInvalidated: false,
            iso: false,
            parsedDateParts: [],
            era: null,
            meridiem: null,
            rfc2822: false,
            weekdayMismatch: false,
        };
    }

    function getParsingFlags(m) {
        if (m._pf == null) {
            m._pf = defaultParsingFlags();
        }
        return m._pf;
    }

    var some;
    if (Array.prototype.some) {
        some = Array.prototype.some;
    } else {
        some = function (fun) {
            var t = Object(this),
                len = t.length >>> 0,
                i;

            for (i = 0; i < len; i++) {
                if (i in t && fun.call(this, t[i], i, t)) {
                    return true;
                }
            }

            return false;
        };
    }

    function isValid(m) {
        var flags = null,
            parsedParts = false,
            isNowValid = m._d && !isNaN(m._d.getTime());
        if (isNowValid) {
            flags = getParsingFlags(m);
            parsedParts = some.call(flags.parsedDateParts, function (i) {
                return i != null;
            });
            isNowValid =
                flags.overflow < 0 &&
                !flags.empty &&
                !flags.invalidEra &&
                !flags.invalidMonth &&
                !flags.invalidWeekday &&
                !flags.weekdayMismatch &&
                !flags.nullInput &&
                !flags.invalidFormat &&
                !flags.userInvalidated &&
                (!flags.meridiem || (flags.meridiem && parsedParts));
            if (m._strict) {
                isNowValid =
                    isNowValid &&
                    flags.charsLeftOver === 0 &&
                    flags.unusedTokens.length === 0 &&
                    flags.bigHour === undefined;
            }
        }
        if (Object.isFrozen == null || !Object.isFrozen(m)) {
            m._isValid = isNowValid;
        } else {
            return isNowValid;
        }
        return m._isValid;
    }

    function createInvalid(flags) {
        var m = createUTC(NaN);
        if (flags != null) {
            extend(getParsingFlags(m), flags);
        } else {
            getParsingFlags(m).userInvalidated = true;
        }

        return m;
    }

    // Plugins that add properties should also add the key here (null value),
    // so we can properly clone ourselves.
    var momentProperties = (hooks.momentProperties = []),
        updateInProgress = false;

    function copyConfig(to, from) {
        var i,
            prop,
            val,
            momentPropertiesLen = momentProperties.length;

        if (!isUndefined(from._isAMomentObject)) {
            to._isAMomentObject = from._isAMomentObject;
        }
        if (!isUndefined(from._i)) {
            to._i = from._i;
        }
        if (!isUndefined(from._f)) {
            to._f = from._f;
        }
        if (!isUndefined(from._l)) {
            to._l = from._l;
        }
        if (!isUndefined(from._strict)) {
            to._strict = from._strict;
        }
        if (!isUndefined(from._tzm)) {
            to._tzm = from._tzm;
        }
        if (!isUndefined(from._isUTC)) {
            to._isUTC = from._isUTC;
        }
        if (!isUndefined(from._offset)) {
            to._offset = from._offset;
        }
        if (!isUndefined(from._pf)) {
            to._pf = getParsingFlags(from);
        }
        if (!isUndefined(from._locale)) {
            to._locale = from._locale;
        }

        if (momentPropertiesLen > 0) {
            for (i = 0; i < momentPropertiesLen; i++) {
                prop = momentProperties[i];
                val = from[prop];
                if (!isUndefined(val)) {
                    to[prop] = val;
                }
            }
        }

        return to;
    }

    // Moment prototype object
    function Moment(config) {
        copyConfig(this, config);
        this._d = new Date(config._d != null ? config._d.getTime() : NaN);
        if (!this.isValid()) {
            this._d = new Date(NaN);
        }
        // Prevent infinite loop in case updateOffset creates new moment
        // objects.
        if (updateInProgress === false) {
            updateInProgress = true;
            hooks.updateOffset(this);
            updateInProgress = false;
        }
    }

    function isMoment(obj) {
        return (
            obj instanceof Moment || (obj != null && obj._isAMomentObject != null)
        );
    }

    function warn(msg) {
        if (
            hooks.suppressDeprecationWarnings === false &&
            typeof console !== 'undefined' &&
            console.warn
        ) {
            console.warn('Deprecation warning: ' + msg);
        }
    }

    function deprecate(msg, fn) {
        var firstTime = true;

        return extend(function () {
            if (hooks.deprecationHandler != null) {
                hooks.deprecationHandler(null, msg);
            }
            if (firstTime) {
                var args = [],
                    arg,
                    i,
                    key,
                    argLen = arguments.length;
                for (i = 0; i < argLen; i++) {
                    arg = '';
                    if (typeof arguments[i] === 'object') {
                        arg += '\n[' + i + '] ';
                        for (key in arguments[0]) {
                            if (hasOwnProp(arguments[0], key)) {
                                arg += key + ': ' + arguments[0][key] + ', ';
                            }
                        }
                        arg = arg.slice(0, -2); // Remove trailing comma and space
                    } else {
                        arg = arguments[i];
                    }
                    args.push(arg);
                }
                warn(
                    msg +
                        '\nArguments: ' +
                        Array.prototype.slice.call(args).join('') +
                        '\n' +
                        new Error().stack
                );
                firstTime = false;
            }
            return fn.apply(this, arguments);
        }, fn);
    }

    var deprecations = {};

    function deprecateSimple(name, msg) {
        if (hooks.deprecationHandler != null) {
            hooks.deprecationHandler(name, msg);
        }
        if (!deprecations[name]) {
            warn(msg);
            deprecations[name] = true;
        }
    }

    hooks.suppressDeprecationWarnings = false;
    hooks.deprecationHandler = null;

    function isFunction(input) {
        return (
            (typeof Function !== 'undefined' && input instanceof Function) ||
            Object.prototype.toString.call(input) === '[object Function]'
        );
    }

    function set(config) {
        var prop, i;
        for (i in config) {
            if (hasOwnProp(config, i)) {
                prop = config[i];
                if (isFunction(prop)) {
                    this[i] = prop;
                } else {
                    this['_' + i] = prop;
                }
            }
        }
        this._config = config;
        // Lenient ordinal parsing accepts just a number in addition to
        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
        // TODO: Remove "ordinalParse" fallback in next major release.
        this._dayOfMonthOrdinalParseLenient = new RegExp(
            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
                '|' +
                /\d{1,2}/.source
        );
    }

    function mergeConfigs(parentConfig, childConfig) {
        var res = extend({}, parentConfig),
            prop;
        for (prop in childConfig) {
            if (hasOwnProp(childConfig, prop)) {
                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
                    res[prop] = {};
                    extend(res[prop], parentConfig[prop]);
                    extend(res[prop], childConfig[prop]);
                } else if (childConfig[prop] != null) {
                    res[prop] = childConfig[prop];
                } else {
                    delete res[prop];
                }
            }
        }
        for (prop in parentConfig) {
            if (
                hasOwnProp(parentConfig, prop) &&
                !hasOwnProp(childConfig, prop) &&
                isObject(parentConfig[prop])
            ) {
                // make sure changes to properties don't modify parent config
                res[prop] = extend({}, res[prop]);
            }
        }
        return res;
    }

    function Locale(config) {
        if (config != null) {
            this.set(config);
        }
    }

    var keys;

    if (Object.keys) {
        keys = Object.keys;
    } else {
        keys = function (obj) {
            var i,
                res = [];
            for (i in obj) {
                if (hasOwnProp(obj, i)) {
                    res.push(i);
                }
            }
            return res;
        };
    }

    var defaultCalendar = {
        sameDay: '[Today at] LT',
        nextDay: '[Tomorrow at] LT',
        nextWeek: 'dddd [at] LT',
        lastDay: '[Yesterday at] LT',
        lastWeek: '[Last] dddd [at] LT',
        sameElse: 'L',
    };

    function calendar(key, mom, now) {
        var output = this._calendar[key] || this._calendar['sameElse'];
        return isFunction(output) ? output.call(mom, now) : output;
    }

    function zeroFill(number, targetLength, forceSign) {
        var absNumber = '' + Math.abs(number),
            zerosToFill = targetLength - absNumber.length,
            sign = number >= 0;
        return (
            (sign ? (forceSign ? '+' : '') : '-') +
            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +
            absNumber
        );
    }

    var formattingTokens =
            /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
        localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
        formatFunctions = {},
        formatTokenFunctions = {};

    // token:    'M'
    // padded:   ['MM', 2]
    // ordinal:  'Mo'
    // callback: function () { this.month() + 1 }
    function addFormatToken(token, padded, ordinal, callback) {
        var func = callback;
        if (typeof callback === 'string') {
            func = function () {
                return this[callback]();
            };
        }
        if (token) {
            formatTokenFunctions[token] = func;
        }
        if (padded) {
            formatTokenFunctions[padded[0]] = function () {
                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
            };
        }
        if (ordinal) {
            formatTokenFunctions[ordinal] = function () {
                return this.localeData().ordinal(
                    func.apply(this, arguments),
                    token
                );
            };
        }
    }

    function removeFormattingTokens(input) {
        if (input.match(/\[[\s\S]/)) {
            return input.replace(/^\[|\]$/g, '');
        }
        return input.replace(/\\/g, '');
    }

    function makeFormatFunction(format) {
        var array = format.match(formattingTokens),
            i,
            length;

        for (i = 0, length = array.length; i < length; i++) {
            if (formatTokenFunctions[array[i]]) {
                array[i] = formatTokenFunctions[array[i]];
            } else {
                array[i] = removeFormattingTokens(array[i]);
            }
        }

        return function (mom) {
            var output = '',
                i;
            for (i = 0; i < length; i++) {
                output += isFunction(array[i])
                    ? array[i].call(mom, format)
                    : array[i];
            }
            return output;
        };
    }

    // format date using native date object
    function formatMoment(m, format) {
        if (!m.isValid()) {
            return m.localeData().invalidDate();
        }

        format = expandFormat(format, m.localeData());
        formatFunctions[format] =
            formatFunctions[format] || makeFormatFunction(format);

        return formatFunctions[format](m);
    }

    function expandFormat(format, locale) {
        var i = 5;

        function replaceLongDateFormatTokens(input) {
            return locale.longDateFormat(input) || input;
        }

        localFormattingTokens.lastIndex = 0;
        while (i >= 0 && localFormattingTokens.test(format)) {
            format = format.replace(
                localFormattingTokens,
                replaceLongDateFormatTokens
            );
            localFormattingTokens.lastIndex = 0;
            i -= 1;
        }

        return format;
    }

    var defaultLongDateFormat = {
        LTS: 'h:mm:ss A',
        LT: 'h:mm A',
        L: 'MM/DD/YYYY',
        LL: 'MMMM D, YYYY',
        LLL: 'MMMM D, YYYY h:mm A',
        LLLL: 'dddd, MMMM D, YYYY h:mm A',
    };

    function longDateFormat(key) {
        var format = this._longDateFormat[key],
            formatUpper = this._longDateFormat[key.toUpperCase()];

        if (format || !formatUpper) {
            return format;
        }

        this._longDateFormat[key] = formatUpper
            .match(formattingTokens)
            .map(function (tok) {
                if (
                    tok === 'MMMM' ||
                    tok === 'MM' ||
                    tok === 'DD' ||
                    tok === 'dddd'
                ) {
                    return tok.slice(1);
                }
                return tok;
            })
            .join('');

        return this._longDateFormat[key];
    }

    var defaultInvalidDate = 'Invalid date';

    function invalidDate() {
        return this._invalidDate;
    }

    var defaultOrdinal = '%d',
        defaultDayOfMonthOrdinalParse = /\d{1,2}/;

    function ordinal(number) {
        return this._ordinal.replace('%d', number);
    }

    var defaultRelativeTime = {
        future: 'in %s',
        past: '%s ago',
        s: 'a few seconds',
        ss: '%d seconds',
        m: 'a minute',
        mm: '%d minutes',
        h: 'an hour',
        hh: '%d hours',
        d: 'a day',
        dd: '%d days',
        w: 'a week',
        ww: '%d weeks',
        M: 'a month',
        MM: '%d months',
        y: 'a year',
        yy: '%d years',
    };

    function relativeTime(number, withoutSuffix, string, isFuture) {
        var output = this._relativeTime[string];
        return isFunction(output)
            ? output(number, withoutSuffix, string, isFuture)
            : output.replace(/%d/i, number);
    }

    function pastFuture(diff, output) {
        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
        return isFunction(format) ? format(output) : format.replace(/%s/i, output);
    }

    var aliases = {
        D: 'date',
        dates: 'date',
        date: 'date',
        d: 'day',
        days: 'day',
        day: 'day',
        e: 'weekday',
        weekdays: 'weekday',
        weekday: 'weekday',
        E: 'isoWeekday',
        isoweekdays: 'isoWeekday',
        isoweekday: 'isoWeekday',
        DDD: 'dayOfYear',
        dayofyears: 'dayOfYear',
        dayofyear: 'dayOfYear',
        h: 'hour',
        hours: 'hour',
        hour: 'hour',
        ms: 'millisecond',
        milliseconds: 'millisecond',
        millisecond: 'millisecond',
        m: 'minute',
        minutes: 'minute',
        minute: 'minute',
        M: 'month',
        months: 'month',
        month: 'month',
        Q: 'quarter',
        quarters: 'quarter',
        quarter: 'quarter',
        s: 'second',
        seconds: 'second',
        second: 'second',
        gg: 'weekYear',
        weekyears: 'weekYear',
        weekyear: 'weekYear',
        GG: 'isoWeekYear',
        isoweekyears: 'isoWeekYear',
        isoweekyear: 'isoWeekYear',
        w: 'week',
        weeks: 'week',
        week: 'week',
        W: 'isoWeek',
        isoweeks: 'isoWeek',
        isoweek: 'isoWeek',
        y: 'year',
        years: 'year',
        year: 'year',
    };

    function normalizeUnits(units) {
        return typeof units === 'string'
            ? aliases[units] || aliases[units.toLowerCase()]
            : undefined;
    }

    function normalizeObjectUnits(inputObject) {
        var normalizedInput = {},
            normalizedProp,
            prop;

        for (prop in inputObject) {
            if (hasOwnProp(inputObject, prop)) {
                normalizedProp = normalizeUnits(prop);
                if (normalizedProp) {
                    normalizedInput[normalizedProp] = inputObject[prop];
                }
            }
        }

        return normalizedInput;
    }

    var priorities = {
        date: 9,
        day: 11,
        weekday: 11,
        isoWeekday: 11,
        dayOfYear: 4,
        hour: 13,
        millisecond: 16,
        minute: 14,
        month: 8,
        quarter: 7,
        second: 15,
        weekYear: 1,
        isoWeekYear: 1,
        week: 5,
        isoWeek: 5,
        year: 1,
    };

    function getPrioritizedUnits(unitsObj) {
        var units = [],
            u;
        for (u in unitsObj) {
            if (hasOwnProp(unitsObj, u)) {
                units.push({ unit: u, priority: priorities[u] });
            }
        }
        units.sort(function (a, b) {
            return a.priority - b.priority;
        });
        return units;
    }

    var match1 = /\d/, //       0 - 9
        match2 = /\d\d/, //      00 - 99
        match3 = /\d{3}/, //     000 - 999
        match4 = /\d{4}/, //    0000 - 9999
        match6 = /[+-]?\d{6}/, // -999999 - 999999
        match1to2 = /\d\d?/, //       0 - 99
        match3to4 = /\d\d\d\d?/, //     999 - 9999
        match5to6 = /\d\d\d\d\d\d?/, //   99999 - 999999
        match1to3 = /\d{1,3}/, //       0 - 999
        match1to4 = /\d{1,4}/, //       0 - 9999
        match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999
        matchUnsigned = /\d+/, //       0 - inf
        matchSigned = /[+-]?\d+/, //    -inf - inf
        matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z
        matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z
        matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
        // any word (or two) characters or numbers including two/three word month in arabic.
        // includes scottish gaelic two word and hyphenated months
        matchWord =
            /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
        match1to2NoLeadingZero = /^[1-9]\d?/, //         1-99
        match1to2HasZero = /^([1-9]\d|\d)/, //           0-99
        regexes;

    regexes = {};

    function addRegexToken(token, regex, strictRegex) {
        regexes[token] = isFunction(regex)
            ? regex
            : function (isStrict, localeData) {
                  return isStrict && strictRegex ? strictRegex : regex;
              };
    }

    function getParseRegexForToken(token, config) {
        if (!hasOwnProp(regexes, token)) {
            return new RegExp(unescapeFormat(token));
        }

        return regexes[token](config._strict, config._locale);
    }

    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
    function unescapeFormat(s) {
        return regexEscape(
            s
                .replace('\\', '')
                .replace(
                    /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
                    function (matched, p1, p2, p3, p4) {
                        return p1 || p2 || p3 || p4;
                    }
                )
        );
    }

    function regexEscape(s) {
        return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }

    function absFloor(number) {
        if (number < 0) {
            // -0 -> 0
            return Math.ceil(number) || 0;
        } else {
            return Math.floor(number);
        }
    }

    function toInt(argumentForCoercion) {
        var coercedNumber = +argumentForCoercion,
            value = 0;

        if (coercedNumber !== 0 && isFinite(coercedNumber)) {
            value = absFloor(coercedNumber);
        }

        return value;
    }

    var tokens = {};

    function addParseToken(token, callback) {
        var i,
            func = callback,
            tokenLen;
        if (typeof token === 'string') {
            token = [token];
        }
        if (isNumber(callback)) {
            func = function (input, array) {
                array[callback] = toInt(input);
            };
        }
        tokenLen = token.length;
        for (i = 0; i < tokenLen; i++) {
            tokens[token[i]] = func;
        }
    }

    function addWeekParseToken(token, callback) {
        addParseToken(token, function (input, array, config, token) {
            config._w = config._w || {};
            callback(input, config._w, config, token);
        });
    }

    function addTimeToArrayFromToken(token, input, config) {
        if (input != null && hasOwnProp(tokens, token)) {
            tokens[token](input, config._a, config, token);
        }
    }

    function isLeapYear(year) {
        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
    }

    var YEAR = 0,
        MONTH = 1,
        DATE = 2,
        HOUR = 3,
        MINUTE = 4,
        SECOND = 5,
        MILLISECOND = 6,
        WEEK = 7,
        WEEKDAY = 8;

    // FORMATTING

    addFormatToken('Y', 0, 0, function () {
        var y = this.year();
        return y <= 9999 ? zeroFill(y, 4) : '+' + y;
    });

    addFormatToken(0, ['YY', 2], 0, function () {
        return this.year() % 100;
    });

    addFormatToken(0, ['YYYY', 4], 0, 'year');
    addFormatToken(0, ['YYYYY', 5], 0, 'year');
    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');

    // PARSING

    addRegexToken('Y', matchSigned);
    addRegexToken('YY', match1to2, match2);
    addRegexToken('YYYY', match1to4, match4);
    addRegexToken('YYYYY', match1to6, match6);
    addRegexToken('YYYYYY', match1to6, match6);

    addParseToken(['YYYYY', 'YYYYYY'], YEAR);
    addParseToken('YYYY', function (input, array) {
        array[YEAR] =
            input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
    });
    addParseToken('YY', function (input, array) {
        array[YEAR] = hooks.parseTwoDigitYear(input);
    });
    addParseToken('Y', function (input, array) {
        array[YEAR] = parseInt(input, 10);
    });

    // HELPERS

    function daysInYear(year) {
        return isLeapYear(year) ? 366 : 365;
    }

    // HOOKS

    hooks.parseTwoDigitYear = function (input) {
        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
    };

    // MOMENTS

    var getSetYear = makeGetSet('FullYear', true);

    function getIsLeapYear() {
        return isLeapYear(this.year());
    }

    function makeGetSet(unit, keepTime) {
        return function (value) {
            if (value != null) {
                set$1(this, unit, value);
                hooks.updateOffset(this, keepTime);
                return this;
            } else {
                return get(this, unit);
            }
        };
    }

    function get(mom, unit) {
        if (!mom.isValid()) {
            return NaN;
        }

        var d = mom._d,
            isUTC = mom._isUTC;

        switch (unit) {
            case 'Milliseconds':
                return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();
            case 'Seconds':
                return isUTC ? d.getUTCSeconds() : d.getSeconds();
            case 'Minutes':
                return isUTC ? d.getUTCMinutes() : d.getMinutes();
            case 'Hours':
                return isUTC ? d.getUTCHours() : d.getHours();
            case 'Date':
                return isUTC ? d.getUTCDate() : d.getDate();
            case 'Day':
                return isUTC ? d.getUTCDay() : d.getDay();
            case 'Month':
                return isUTC ? d.getUTCMonth() : d.getMonth();
            case 'FullYear':
                return isUTC ? d.getUTCFullYear() : d.getFullYear();
            default:
                return NaN; // Just in case
        }
    }

    function set$1(mom, unit, value) {
        var d, isUTC, year, month, date;

        if (!mom.isValid() || isNaN(value)) {
            return;
        }

        d = mom._d;
        isUTC = mom._isUTC;

        switch (unit) {
            case 'Milliseconds':
                return void (isUTC
                    ? d.setUTCMilliseconds(value)
                    : d.setMilliseconds(value));
            case 'Seconds':
                return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));
            case 'Minutes':
                return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));
            case 'Hours':
                return void (isUTC ? d.setUTCHours(value) : d.setHours(value));
            case 'Date':
                return void (isUTC ? d.setUTCDate(value) : d.setDate(value));
            // case 'Day': // Not real
            //    return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
            // case 'Month': // Not used because we need to pass two variables
            //     return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));
            case 'FullYear':
                break; // See below ...
            default:
                return; // Just in case
        }

        year = value;
        month = mom.month();
        date = mom.date();
        date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;
        void (isUTC
            ? d.setUTCFullYear(year, month, date)
            : d.setFullYear(year, month, date));
    }

    // MOMENTS

    function stringGet(units) {
        units = normalizeUnits(units);
        if (isFunction(this[units])) {
            return this[units]();
        }
        return this;
    }

    function stringSet(units, value) {
        if (typeof units === 'object') {
            units = normalizeObjectUnits(units);
            var prioritized = getPrioritizedUnits(units),
                i,
                prioritizedLen = prioritized.length;
            for (i = 0; i < prioritizedLen; i++) {
                this[prioritized[i].unit](units[prioritized[i].unit]);
            }
        } else {
            units = normalizeUnits(units);
            if (isFunction(this[units])) {
                return this[units](value);
            }
        }
        return this;
    }

    function mod(n, x) {
        return ((n % x) + x) % x;
    }

    var indexOf;

    if (Array.prototype.indexOf) {
        indexOf = Array.prototype.indexOf;
    } else {
        indexOf = function (o) {
            // I know
            var i;
            for (i = 0; i < this.length; ++i) {
                if (this[i] === o) {
                    return i;
                }
            }
            return -1;
        };
    }

    function daysInMonth(year, month) {
        if (isNaN(year) || isNaN(month)) {
            return NaN;
        }
        var modMonth = mod(month, 12);
        year += (month - modMonth) / 12;
        return modMonth === 1
            ? isLeapYear(year)
                ? 29
                : 28
            : 31 - ((modMonth % 7) % 2);
    }

    // FORMATTING

    addFormatToken('M', ['MM', 2], 'Mo', function () {
        return this.month() + 1;
    });

    addFormatToken('MMM', 0, 0, function (format) {
        return this.localeData().monthsShort(this, format);
    });

    addFormatToken('MMMM', 0, 0, function (format) {
        return this.localeData().months(this, format);
    });

    // PARSING

    addRegexToken('M', match1to2, match1to2NoLeadingZero);
    addRegexToken('MM', match1to2, match2);
    addRegexToken('MMM', function (isStrict, locale) {
        return locale.monthsShortRegex(isStrict);
    });
    addRegexToken('MMMM', function (isStrict, locale) {
        return locale.monthsRegex(isStrict);
    });

    addParseToken(['M', 'MM'], function (input, array) {
        array[MONTH] = toInt(input) - 1;
    });

    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
        var month = config._locale.monthsParse(input, token, config._strict);
        // if we didn't find a month name, mark the date as invalid.
        if (month != null) {
            array[MONTH] = month;
        } else {
            getParsingFlags(config).invalidMonth = input;
        }
    });

    // LOCALES

    var defaultLocaleMonths =
            'January_February_March_April_May_June_July_August_September_October_November_December'.split(
                '_'
            ),
        defaultLocaleMonthsShort =
            'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
        defaultMonthsShortRegex = matchWord,
        defaultMonthsRegex = matchWord;

    function localeMonths(m, format) {
        if (!m) {
            return isArray(this._months)
                ? this._months
                : this._months['standalone'];
        }
        return isArray(this._months)
            ? this._months[m.month()]
            : this._months[
                  (this._months.isFormat || MONTHS_IN_FORMAT).test(format)
                      ? 'format'
                      : 'standalone'
              ][m.month()];
    }

    function localeMonthsShort(m, format) {
        if (!m) {
            return isArray(this._monthsShort)
                ? this._monthsShort
                : this._monthsShort['standalone'];
        }
        return isArray(this._monthsShort)
            ? this._monthsShort[m.month()]
            : this._monthsShort[
                  MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'
              ][m.month()];
    }

    function handleStrictParse(monthName, format, strict) {
        var i,
            ii,
            mom,
            llc = monthName.toLocaleLowerCase();
        if (!this._monthsParse) {
            // this is not used
            this._monthsParse = [];
            this._longMonthsParse = [];
            this._shortMonthsParse = [];
            for (i = 0; i < 12; ++i) {
                mom = createUTC([2000, i]);
                this._shortMonthsParse[i] = this.monthsShort(
                    mom,
                    ''
                ).toLocaleLowerCase();
                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
            }
        }

        if (strict) {
            if (format === 'MMM') {
                ii = indexOf.call(this._shortMonthsParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._longMonthsParse, llc);
                return ii !== -1 ? ii : null;
            }
        } else {
            if (format === 'MMM') {
                ii = indexOf.call(this._shortMonthsParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._longMonthsParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._longMonthsParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._shortMonthsParse, llc);
                return ii !== -1 ? ii : null;
            }
        }
    }

    function localeMonthsParse(monthName, format, strict) {
        var i, mom, regex;

        if (this._monthsParseExact) {
            return handleStrictParse.call(this, monthName, format, strict);
        }

        if (!this._monthsParse) {
            this._monthsParse = [];
            this._longMonthsParse = [];
            this._shortMonthsParse = [];
        }

        // TODO: add sorting
        // Sorting makes sure if one month (or abbr) is a prefix of another
        // see sorting in computeMonthsParse
        for (i = 0; i < 12; i++) {
            // make the regex if we don't have it already
            mom = createUTC([2000, i]);
            if (strict && !this._longMonthsParse[i]) {
                this._longMonthsParse[i] = new RegExp(
                    '^' + this.months(mom, '').replace('.', '') + '$',
                    'i'
                );
                this._shortMonthsParse[i] = new RegExp(
                    '^' + this.monthsShort(mom, '').replace('.', '') + '$',
                    'i'
                );
            }
            if (!strict && !this._monthsParse[i]) {
                regex =
                    '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
            }
            // test the regex
            if (
                strict &&
                format === 'MMMM' &&
                this._longMonthsParse[i].test(monthName)
            ) {
                return i;
            } else if (
                strict &&
                format === 'MMM' &&
                this._shortMonthsParse[i].test(monthName)
            ) {
                return i;
            } else if (!strict && this._monthsParse[i].test(monthName)) {
                return i;
            }
        }
    }

    // MOMENTS

    function setMonth(mom, value) {
        if (!mom.isValid()) {
            // No op
            return mom;
        }

        if (typeof value === 'string') {
            if (/^\d+$/.test(value)) {
                value = toInt(value);
            } else {
                value = mom.localeData().monthsParse(value);
                // TODO: Another silent failure?
                if (!isNumber(value)) {
                    return mom;
                }
            }
        }

        var month = value,
            date = mom.date();

        date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));
        void (mom._isUTC
            ? mom._d.setUTCMonth(month, date)
            : mom._d.setMonth(month, date));
        return mom;
    }

    function getSetMonth(value) {
        if (value != null) {
            setMonth(this, value);
            hooks.updateOffset(this, true);
            return this;
        } else {
            return get(this, 'Month');
        }
    }

    function getDaysInMonth() {
        return daysInMonth(this.year(), this.month());
    }

    function monthsShortRegex(isStrict) {
        if (this._monthsParseExact) {
            if (!hasOwnProp(this, '_monthsRegex')) {
                computeMonthsParse.call(this);
            }
            if (isStrict) {
                return this._monthsShortStrictRegex;
            } else {
                return this._monthsShortRegex;
            }
        } else {
            if (!hasOwnProp(this, '_monthsShortRegex')) {
                this._monthsShortRegex = defaultMonthsShortRegex;
            }
            return this._monthsShortStrictRegex && isStrict
                ? this._monthsShortStrictRegex
                : this._monthsShortRegex;
        }
    }

    function monthsRegex(isStrict) {
        if (this._monthsParseExact) {
            if (!hasOwnProp(this, '_monthsRegex')) {
                computeMonthsParse.call(this);
            }
            if (isStrict) {
                return this._monthsStrictRegex;
            } else {
                return this._monthsRegex;
            }
        } else {
            if (!hasOwnProp(this, '_monthsRegex')) {
                this._monthsRegex = defaultMonthsRegex;
            }
            return this._monthsStrictRegex && isStrict
                ? this._monthsStrictRegex
                : this._monthsRegex;
        }
    }

    function computeMonthsParse() {
        function cmpLenRev(a, b) {
            return b.length - a.length;
        }

        var shortPieces = [],
            longPieces = [],
            mixedPieces = [],
            i,
            mom,
            shortP,
            longP;
        for (i = 0; i < 12; i++) {
            // make the regex if we don't have it already
            mom = createUTC([2000, i]);
            shortP = regexEscape(this.monthsShort(mom, ''));
            longP = regexEscape(this.months(mom, ''));
            shortPieces.push(shortP);
            longPieces.push(longP);
            mixedPieces.push(longP);
            mixedPieces.push(shortP);
        }
        // Sorting makes sure if one month (or abbr) is a prefix of another it
        // will match the longer piece.
        shortPieces.sort(cmpLenRev);
        longPieces.sort(cmpLenRev);
        mixedPieces.sort(cmpLenRev);

        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
        this._monthsShortRegex = this._monthsRegex;
        this._monthsStrictRegex = new RegExp(
            '^(' + longPieces.join('|') + ')',
            'i'
        );
        this._monthsShortStrictRegex = new RegExp(
            '^(' + shortPieces.join('|') + ')',
            'i'
        );
    }

    function createDate(y, m, d, h, M, s, ms) {
        // can't just apply() to create a date:
        // https://stackoverflow.com/q/181348
        var date;
        // the date constructor remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            // preserve leap years using a full 400 year cycle, then reset
            date = new Date(y + 400, m, d, h, M, s, ms);
            if (isFinite(date.getFullYear())) {
                date.setFullYear(y);
            }
        } else {
            date = new Date(y, m, d, h, M, s, ms);
        }

        return date;
    }

    function createUTCDate(y) {
        var date, args;
        // the Date.UTC function remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            args = Array.prototype.slice.call(arguments);
            // preserve leap years using a full 400 year cycle, then reset
            args[0] = y + 400;
            date = new Date(Date.UTC.apply(null, args));
            if (isFinite(date.getUTCFullYear())) {
                date.setUTCFullYear(y);
            }
        } else {
            date = new Date(Date.UTC.apply(null, arguments));
        }

        return date;
    }

    // start-of-first-week - start-of-year
    function firstWeekOffset(year, dow, doy) {
        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)
            fwd = 7 + dow - doy,
            // first-week day local weekday -- which local weekday is fwd
            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;

        return -fwdlw + fwd - 1;
    }

    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
        var localWeekday = (7 + weekday - dow) % 7,
            weekOffset = firstWeekOffset(year, dow, doy),
            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,
            resYear,
            resDayOfYear;

        if (dayOfYear <= 0) {
            resYear = year - 1;
            resDayOfYear = daysInYear(resYear) + dayOfYear;
        } else if (dayOfYear > daysInYear(year)) {
            resYear = year + 1;
            resDayOfYear = dayOfYear - daysInYear(year);
        } else {
            resYear = year;
            resDayOfYear = dayOfYear;
        }

        return {
            year: resYear,
            dayOfYear: resDayOfYear,
        };
    }

    function weekOfYear(mom, dow, doy) {
        var weekOffset = firstWeekOffset(mom.year(), dow, doy),
            week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,
            resWeek,
            resYear;

        if (week < 1) {
            resYear = mom.year() - 1;
            resWeek = week + weeksInYear(resYear, dow, doy);
        } else if (week > weeksInYear(mom.year(), dow, doy)) {
            resWeek = week - weeksInYear(mom.year(), dow, doy);
            resYear = mom.year() + 1;
        } else {
            resYear = mom.year();
            resWeek = week;
        }

        return {
            week: resWeek,
            year: resYear,
        };
    }

    function weeksInYear(year, dow, doy) {
        var weekOffset = firstWeekOffset(year, dow, doy),
            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
    }

    // FORMATTING

    addFormatToken('w', ['ww', 2], 'wo', 'week');
    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');

    // PARSING

    addRegexToken('w', match1to2, match1to2NoLeadingZero);
    addRegexToken('ww', match1to2, match2);
    addRegexToken('W', match1to2, match1to2NoLeadingZero);
    addRegexToken('WW', match1to2, match2);

    addWeekParseToken(
        ['w', 'ww', 'W', 'WW'],
        function (input, week, config, token) {
            week[token.substr(0, 1)] = toInt(input);
        }
    );

    // HELPERS

    // LOCALES

    function localeWeek(mom) {
        return weekOfYear(mom, this._week.dow, this._week.doy).week;
    }

    var defaultLocaleWeek = {
        dow: 0, // Sunday is the first day of the week.
        doy: 6, // The week that contains Jan 6th is the first week of the year.
    };

    function localeFirstDayOfWeek() {
        return this._week.dow;
    }

    function localeFirstDayOfYear() {
        return this._week.doy;
    }

    // MOMENTS

    function getSetWeek(input) {
        var week = this.localeData().week(this);
        return input == null ? week : this.add((input - week) * 7, 'd');
    }

    function getSetISOWeek(input) {
        var week = weekOfYear(this, 1, 4).week;
        return input == null ? week : this.add((input - week) * 7, 'd');
    }

    // FORMATTING

    addFormatToken('d', 0, 'do', 'day');

    addFormatToken('dd', 0, 0, function (format) {
        return this.localeData().weekdaysMin(this, format);
    });

    addFormatToken('ddd', 0, 0, function (format) {
        return this.localeData().weekdaysShort(this, format);
    });

    addFormatToken('dddd', 0, 0, function (format) {
        return this.localeData().weekdays(this, format);
    });

    addFormatToken('e', 0, 0, 'weekday');
    addFormatToken('E', 0, 0, 'isoWeekday');

    // PARSING

    addRegexToken('d', match1to2);
    addRegexToken('e', match1to2);
    addRegexToken('E', match1to2);
    addRegexToken('dd', function (isStrict, locale) {
        return locale.weekdaysMinRegex(isStrict);
    });
    addRegexToken('ddd', function (isStrict, locale) {
        return locale.weekdaysShortRegex(isStrict);
    });
    addRegexToken('dddd', function (isStrict, locale) {
        return locale.weekdaysRegex(isStrict);
    });

    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
        var weekday = config._locale.weekdaysParse(input, token, config._strict);
        // if we didn't get a weekday name, mark the date as invalid
        if (weekday != null) {
            week.d = weekday;
        } else {
            getParsingFlags(config).invalidWeekday = input;
        }
    });

    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
        week[token] = toInt(input);
    });

    // HELPERS

    function parseWeekday(input, locale) {
        if (typeof input !== 'string') {
            return input;
        }

        if (!isNaN(input)) {
            return parseInt(input, 10);
        }

        input = locale.weekdaysParse(input);
        if (typeof input === 'number') {
            return input;
        }

        return null;
    }

    function parseIsoWeekday(input, locale) {
        if (typeof input === 'string') {
            return locale.weekdaysParse(input) % 7 || 7;
        }
        return isNaN(input) ? null : input;
    }

    // LOCALES
    function shiftWeekdays(ws, n) {
        return ws.slice(n, 7).concat(ws.slice(0, n));
    }

    var defaultLocaleWeekdays =
            'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
        defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        defaultWeekdaysRegex = matchWord,
        defaultWeekdaysShortRegex = matchWord,
        defaultWeekdaysMinRegex = matchWord;

    function localeWeekdays(m, format) {
        var weekdays = isArray(this._weekdays)
            ? this._weekdays
            : this._weekdays[
                  m && m !== true && this._weekdays.isFormat.test(format)
                      ? 'format'
                      : 'standalone'
              ];
        return m === true
            ? shiftWeekdays(weekdays, this._week.dow)
            : m
              ? weekdays[m.day()]
              : weekdays;
    }

    function localeWeekdaysShort(m) {
        return m === true
            ? shiftWeekdays(this._weekdaysShort, this._week.dow)
            : m
              ? this._weekdaysShort[m.day()]
              : this._weekdaysShort;
    }

    function localeWeekdaysMin(m) {
        return m === true
            ? shiftWeekdays(this._weekdaysMin, this._week.dow)
            : m
              ? this._weekdaysMin[m.day()]
              : this._weekdaysMin;
    }

    function handleStrictParse$1(weekdayName, format, strict) {
        var i,
            ii,
            mom,
            llc = weekdayName.toLocaleLowerCase();
        if (!this._weekdaysParse) {
            this._weekdaysParse = [];
            this._shortWeekdaysParse = [];
            this._minWeekdaysParse = [];

            for (i = 0; i < 7; ++i) {
                mom = createUTC([2000, 1]).day(i);
                this._minWeekdaysParse[i] = this.weekdaysMin(
                    mom,
                    ''
                ).toLocaleLowerCase();
                this._shortWeekdaysParse[i] = this.weekdaysShort(
                    mom,
                    ''
                ).toLocaleLowerCase();
                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
            }
        }

        if (strict) {
            if (format === 'dddd') {
                ii = indexOf.call(this._weekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else if (format === 'ddd') {
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._minWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            }
        } else {
            if (format === 'dddd') {
                ii = indexOf.call(this._weekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._minWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else if (format === 'ddd') {
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._weekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._minWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._minWeekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._weekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            }
        }
    }

    function localeWeekdaysParse(weekdayName, format, strict) {
        var i, mom, regex;

        if (this._weekdaysParseExact) {
            return handleStrictParse$1.call(this, weekdayName, format, strict);
        }

        if (!this._weekdaysParse) {
            this._weekdaysParse = [];
            this._minWeekdaysParse = [];
            this._shortWeekdaysParse = [];
            this._fullWeekdaysParse = [];
        }

        for (i = 0; i < 7; i++) {
            // make the regex if we don't have it already

            mom = createUTC([2000, 1]).day(i);
            if (strict && !this._fullWeekdaysParse[i]) {
                this._fullWeekdaysParse[i] = new RegExp(
                    '^' + this.weekdays(mom, '').replace('.', '\\.?') + '$',
                    'i'
                );
                this._shortWeekdaysParse[i] = new RegExp(
                    '^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$',
                    'i'
                );
                this._minWeekdaysParse[i] = new RegExp(
                    '^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$',
                    'i'
                );
            }
            if (!this._weekdaysParse[i]) {
                regex =
                    '^' +
                    this.weekdays(mom, '') +
                    '|^' +
                    this.weekdaysShort(mom, '') +
                    '|^' +
                    this.weekdaysMin(mom, '');
                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
            }
            // test the regex
            if (
                strict &&
                format === 'dddd' &&
                this._fullWeekdaysParse[i].test(weekdayName)
            ) {
                return i;
            } else if (
                strict &&
                format === 'ddd' &&
                this._shortWeekdaysParse[i].test(weekdayName)
            ) {
                return i;
            } else if (
                strict &&
                format === 'dd' &&
                this._minWeekdaysParse[i].test(weekdayName)
            ) {
                return i;
            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
                return i;
            }
        }
    }

    // MOMENTS

    function getSetDayOfWeek(input) {
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }

        var day = get(this, 'Day');
        if (input != null) {
            input = parseWeekday(input, this.localeData());
            return this.add(input - day, 'd');
        } else {
            return day;
        }
    }

    function getSetLocaleDayOfWeek(input) {
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }
        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
        return input == null ? weekday : this.add(input - weekday, 'd');
    }

    function getSetISODayOfWeek(input) {
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }

        // behaves the same as moment#day except
        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
        // as a setter, sunday should belong to the previous week.

        if (input != null) {
            var weekday = parseIsoWeekday(input, this.localeData());
            return this.day(this.day() % 7 ? weekday : weekday - 7);
        } else {
            return this.day() || 7;
        }
    }

    function weekdaysRegex(isStrict) {
        if (this._weekdaysParseExact) {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                computeWeekdaysParse.call(this);
            }
            if (isStrict) {
                return this._weekdaysStrictRegex;
            } else {
                return this._weekdaysRegex;
            }
        } else {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                this._weekdaysRegex = defaultWeekdaysRegex;
            }
            return this._weekdaysStrictRegex && isStrict
                ? this._weekdaysStrictRegex
                : this._weekdaysRegex;
        }
    }

    function weekdaysShortRegex(isStrict) {
        if (this._weekdaysParseExact) {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                computeWeekdaysParse.call(this);
            }
            if (isStrict) {
                return this._weekdaysShortStrictRegex;
            } else {
                return this._weekdaysShortRegex;
            }
        } else {
            if (!hasOwnProp(this, '_weekdaysShortRegex')) {
                this._weekdaysShortRegex = defaultWeekdaysShortRegex;
            }
            return this._weekdaysShortStrictRegex && isStrict
                ? this._weekdaysShortStrictRegex
                : this._weekdaysShortRegex;
        }
    }

    function weekdaysMinRegex(isStrict) {
        if (this._weekdaysParseExact) {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                computeWeekdaysParse.call(this);
            }
            if (isStrict) {
                return this._weekdaysMinStrictRegex;
            } else {
                return this._weekdaysMinRegex;
            }
        } else {
            if (!hasOwnProp(this, '_weekdaysMinRegex')) {
                this._weekdaysMinRegex = defaultWeekdaysMinRegex;
            }
            return this._weekdaysMinStrictRegex && isStrict
                ? this._weekdaysMinStrictRegex
                : this._weekdaysMinRegex;
        }
    }

    function computeWeekdaysParse() {
        function cmpLenRev(a, b) {
            return b.length - a.length;
        }

        var minPieces = [],
            shortPieces = [],
            longPieces = [],
            mixedPieces = [],
            i,
            mom,
            minp,
            shortp,
            longp;
        for (i = 0; i < 7; i++) {
            // make the regex if we don't have it already
            mom = createUTC([2000, 1]).day(i);
            minp = regexEscape(this.weekdaysMin(mom, ''));
            shortp = regexEscape(this.weekdaysShort(mom, ''));
            longp = regexEscape(this.weekdays(mom, ''));
            minPieces.push(minp);
            shortPieces.push(shortp);
            longPieces.push(longp);
            mixedPieces.push(minp);
            mixedPieces.push(shortp);
            mixedPieces.push(longp);
        }
        // Sorting makes sure if one weekday (or abbr) is a prefix of another it
        // will match the longer piece.
        minPieces.sort(cmpLenRev);
        shortPieces.sort(cmpLenRev);
        longPieces.sort(cmpLenRev);
        mixedPieces.sort(cmpLenRev);

        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
        this._weekdaysShortRegex = this._weekdaysRegex;
        this._weekdaysMinRegex = this._weekdaysRegex;

        this._weekdaysStrictRegex = new RegExp(
            '^(' + longPieces.join('|') + ')',
            'i'
        );
        this._weekdaysShortStrictRegex = new RegExp(
            '^(' + shortPieces.join('|') + ')',
            'i'
        );
        this._weekdaysMinStrictRegex = new RegExp(
            '^(' + minPieces.join('|') + ')',
            'i'
        );
    }

    // FORMATTING

    function hFormat() {
        return this.hours() % 12 || 12;
    }

    function kFormat() {
        return this.hours() || 24;
    }

    addFormatToken('H', ['HH', 2], 0, 'hour');
    addFormatToken('h', ['hh', 2], 0, hFormat);
    addFormatToken('k', ['kk', 2], 0, kFormat);

    addFormatToken('hmm', 0, 0, function () {
        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);
    });

    addFormatToken('hmmss', 0, 0, function () {
        return (
            '' +
            hFormat.apply(this) +
            zeroFill(this.minutes(), 2) +
            zeroFill(this.seconds(), 2)
        );
    });

    addFormatToken('Hmm', 0, 0, function () {
        return '' + this.hours() + zeroFill(this.minutes(), 2);
    });

    addFormatToken('Hmmss', 0, 0, function () {
        return (
            '' +
            this.hours() +
            zeroFill(this.minutes(), 2) +
            zeroFill(this.seconds(), 2)
        );
    });

    function meridiem(token, lowercase) {
        addFormatToken(token, 0, 0, function () {
            return this.localeData().meridiem(
                this.hours(),
                this.minutes(),
                lowercase
            );
        });
    }

    meridiem('a', true);
    meridiem('A', false);

    // PARSING

    function matchMeridiem(isStrict, locale) {
        return locale._meridiemParse;
    }

    addRegexToken('a', matchMeridiem);
    addRegexToken('A', matchMeridiem);
    addRegexToken('H', match1to2, match1to2HasZero);
    addRegexToken('h', match1to2, match1to2NoLeadingZero);
    addRegexToken('k', match1to2, match1to2NoLeadingZero);
    addRegexToken('HH', match1to2, match2);
    addRegexToken('hh', match1to2, match2);
    addRegexToken('kk', match1to2, match2);

    addRegexToken('hmm', match3to4);
    addRegexToken('hmmss', match5to6);
    addRegexToken('Hmm', match3to4);
    addRegexToken('Hmmss', match5to6);

    addParseToken(['H', 'HH'], HOUR);
    addParseToken(['k', 'kk'], function (input, array, config) {
        var kInput = toInt(input);
        array[HOUR] = kInput === 24 ? 0 : kInput;
    });
    addParseToken(['a', 'A'], function (input, array, config) {
        config._isPm = config._locale.isPM(input);
        config._meridiem = input;
    });
    addParseToken(['h', 'hh'], function (input, array, config) {
        array[HOUR] = toInt(input);
        getParsingFlags(config).bigHour = true;
    });
    addParseToken('hmm', function (input, array, config) {
        var pos = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos));
        array[MINUTE] = toInt(input.substr(pos));
        getParsingFlags(config).bigHour = true;
    });
    addParseToken('hmmss', function (input, array, config) {
        var pos1 = input.length - 4,
            pos2 = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos1));
        array[MINUTE] = toInt(input.substr(pos1, 2));
        array[SECOND] = toInt(input.substr(pos2));
        getParsingFlags(config).bigHour = true;
    });
    addParseToken('Hmm', function (input, array, config) {
        var pos = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos));
        array[MINUTE] = toInt(input.substr(pos));
    });
    addParseToken('Hmmss', function (input, array, config) {
        var pos1 = input.length - 4,
            pos2 = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos1));
        array[MINUTE] = toInt(input.substr(pos1, 2));
        array[SECOND] = toInt(input.substr(pos2));
    });

    // LOCALES

    function localeIsPM(input) {
        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
        // Using charAt should be more compatible.
        return (input + '').toLowerCase().charAt(0) === 'p';
    }

    var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i,
        // Setting the hour should keep the time, because the user explicitly
        // specified which hour they want. So trying to maintain the same hour (in
        // a new timezone) makes sense. Adding/subtracting hours does not follow
        // this rule.
        getSetHour = makeGetSet('Hours', true);

    function localeMeridiem(hours, minutes, isLower) {
        if (hours > 11) {
            return isLower ? 'pm' : 'PM';
        } else {
            return isLower ? 'am' : 'AM';
        }
    }

    var baseConfig = {
        calendar: defaultCalendar,
        longDateFormat: defaultLongDateFormat,
        invalidDate: defaultInvalidDate,
        ordinal: defaultOrdinal,
        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
        relativeTime: defaultRelativeTime,

        months: defaultLocaleMonths,
        monthsShort: defaultLocaleMonthsShort,

        week: defaultLocaleWeek,

        weekdays: defaultLocaleWeekdays,
        weekdaysMin: defaultLocaleWeekdaysMin,
        weekdaysShort: defaultLocaleWeekdaysShort,

        meridiemParse: defaultLocaleMeridiemParse,
    };

    // internal storage for locale config files
    var locales = {},
        localeFamilies = {},
        globalLocale;

    function commonPrefix(arr1, arr2) {
        var i,
            minl = Math.min(arr1.length, arr2.length);
        for (i = 0; i < minl; i += 1) {
            if (arr1[i] !== arr2[i]) {
                return i;
            }
        }
        return minl;
    }

    function normalizeLocale(key) {
        return key ? key.toLowerCase().replace('_', '-') : key;
    }

    // pick the locale from the array
    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
    function chooseLocale(names) {
        var i = 0,
            j,
            next,
            locale,
            split;

        while (i < names.length) {
            split = normalizeLocale(names[i]).split('-');
            j = split.length;
            next = normalizeLocale(names[i + 1]);
            next = next ? next.split('-') : null;
            while (j > 0) {
                locale = loadLocale(split.slice(0, j).join('-'));
                if (locale) {
                    return locale;
                }
                if (
                    next &&
                    next.length >= j &&
                    commonPrefix(split, next) >= j - 1
                ) {
                    //the next array item is better than a shallower substring of this one
                    break;
                }
                j--;
            }
            i++;
        }
        return globalLocale;
    }

    function isLocaleNameSane(name) {
        // Prevent names that look like filesystem paths, i.e contain '/' or '\'
        // Ensure name is available and function returns boolean
        return !!(name && name.match('^[^/\\\\]*$'));
    }

    function loadLocale(name) {
        var oldLocale = null,
            aliasedRequire;
        // TODO: Find a better way to register and load all the locales in Node
        if (
            locales[name] === undefined &&
            "object" !== 'undefined' &&
            module &&
            module.exports &&
            isLocaleNameSane(name)
        ) {
            try {
                oldLocale = globalLocale._abbr;
                aliasedRequire = undefined;
                __webpack_require__("./node_modules/.pnpm/moment@2.30.1/node_modules/moment/locale sync recursive de%7Csv%7Cit%7Cfr")("./" + name);
                getSetGlobalLocale(oldLocale);
            } catch (e) {
                // mark as not found to avoid repeating expensive file require call causing high CPU
                // when trying to find en-US, en_US, en-us for every format call
                locales[name] = null; // null means not found
            }
        }
        return locales[name];
    }

    // This function will load locale and then set the global locale.  If
    // no arguments are passed in, it will simply return the current global
    // locale key.
    function getSetGlobalLocale(key, values) {
        var data;
        if (key) {
            if (isUndefined(values)) {
                data = getLocale(key);
            } else {
                data = defineLocale(key, values);
            }

            if (data) {
                // moment.duration._locale = moment._locale = data;
                globalLocale = data;
            } else {
                if (typeof console !== 'undefined' && console.warn) {
                    //warn user if arguments are passed but the locale could not be set
                    console.warn(
                        'Locale ' + key + ' not found. Did you forget to load it?'
                    );
                }
            }
        }

        return globalLocale._abbr;
    }

    function defineLocale(name, config) {
        if (config !== null) {
            var locale,
                parentConfig = baseConfig;
            config.abbr = name;
            if (locales[name] != null) {
                deprecateSimple(
                    'defineLocaleOverride',
                    'use moment.updateLocale(localeName, config) to change ' +
                        'an existing locale. moment.defineLocale(localeName, ' +
                        'config) should only be used for creating a new locale ' +
                        'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'
                );
                parentConfig = locales[name]._config;
            } else if (config.parentLocale != null) {
                if (locales[config.parentLocale] != null) {
                    parentConfig = locales[config.parentLocale]._config;
                } else {
                    locale = loadLocale(config.parentLocale);
                    if (locale != null) {
                        parentConfig = locale._config;
                    } else {
                        if (!localeFamilies[config.parentLocale]) {
                            localeFamilies[config.parentLocale] = [];
                        }
                        localeFamilies[config.parentLocale].push({
                            name: name,
                            config: config,
                        });
                        return null;
                    }
                }
            }
            locales[name] = new Locale(mergeConfigs(parentConfig, config));

            if (localeFamilies[name]) {
                localeFamilies[name].forEach(function (x) {
                    defineLocale(x.name, x.config);
                });
            }

            // backwards compat for now: also set the locale
            // make sure we set the locale AFTER all child locales have been
            // created, so we won't end up with the child locale set.
            getSetGlobalLocale(name);

            return locales[name];
        } else {
            // useful for testing
            delete locales[name];
            return null;
        }
    }

    function updateLocale(name, config) {
        if (config != null) {
            var locale,
                tmpLocale,
                parentConfig = baseConfig;

            if (locales[name] != null && locales[name].parentLocale != null) {
                // Update existing child locale in-place to avoid memory-leaks
                locales[name].set(mergeConfigs(locales[name]._config, config));
            } else {
                // MERGE
                tmpLocale = loadLocale(name);
                if (tmpLocale != null) {
                    parentConfig = tmpLocale._config;
                }
                config = mergeConfigs(parentConfig, config);
                if (tmpLocale == null) {
                    // updateLocale is called for creating a new locale
                    // Set abbr so it will have a name (getters return
                    // undefined otherwise).
                    config.abbr = name;
                }
                locale = new Locale(config);
                locale.parentLocale = locales[name];
                locales[name] = locale;
            }

            // backwards compat for now: also set the locale
            getSetGlobalLocale(name);
        } else {
            // pass null for config to unupdate, useful for tests
            if (locales[name] != null) {
                if (locales[name].parentLocale != null) {
                    locales[name] = locales[name].parentLocale;
                    if (name === getSetGlobalLocale()) {
                        getSetGlobalLocale(name);
                    }
                } else if (locales[name] != null) {
                    delete locales[name];
                }
            }
        }
        return locales[name];
    }

    // returns locale data
    function getLocale(key) {
        var locale;

        if (key && key._locale && key._locale._abbr) {
            key = key._locale._abbr;
        }

        if (!key) {
            return globalLocale;
        }

        if (!isArray(key)) {
            //short-circuit everything else
            locale = loadLocale(key);
            if (locale) {
                return locale;
            }
            key = [key];
        }

        return chooseLocale(key);
    }

    function listLocales() {
        return keys(locales);
    }

    function checkOverflow(m) {
        var overflow,
            a = m._a;

        if (a && getParsingFlags(m).overflow === -2) {
            overflow =
                a[MONTH] < 0 || a[MONTH] > 11
                    ? MONTH
                    : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])
                      ? DATE
                      : a[HOUR] < 0 ||
                          a[HOUR] > 24 ||
                          (a[HOUR] === 24 &&
                              (a[MINUTE] !== 0 ||
                                  a[SECOND] !== 0 ||
                                  a[MILLISECOND] !== 0))
                        ? HOUR
                        : a[MINUTE] < 0 || a[MINUTE] > 59
                          ? MINUTE
                          : a[SECOND] < 0 || a[SECOND] > 59
                            ? SECOND
                            : a[MILLISECOND] < 0 || a[MILLISECOND] > 999
                              ? MILLISECOND
                              : -1;

            if (
                getParsingFlags(m)._overflowDayOfYear &&
                (overflow < YEAR || overflow > DATE)
            ) {
                overflow = DATE;
            }
            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
                overflow = WEEK;
            }
            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
                overflow = WEEKDAY;
            }

            getParsingFlags(m).overflow = overflow;
        }

        return m;
    }

    // iso 8601 regex
    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
    var extendedIsoRegex =
            /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
        basicIsoRegex =
            /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
        tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
        isoDates = [
            ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
            ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/],
            ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/],
            ['GGGG-[W]WW', /\d{4}-W\d\d/, false],
            ['YYYY-DDD', /\d{4}-\d{3}/],
            ['YYYY-MM', /\d{4}-\d\d/, false],
            ['YYYYYYMMDD', /[+-]\d{10}/],
            ['YYYYMMDD', /\d{8}/],
            ['GGGG[W]WWE', /\d{4}W\d{3}/],
            ['GGGG[W]WW', /\d{4}W\d{2}/, false],
            ['YYYYDDD', /\d{7}/],
            ['YYYYMM', /\d{6}/, false],
            ['YYYY', /\d{4}/, false],
        ],
        // iso time formats and regexes
        isoTimes = [
            ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/],
            ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/],
            ['HH:mm:ss', /\d\d:\d\d:\d\d/],
            ['HH:mm', /\d\d:\d\d/],
            ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/],
            ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/],
            ['HHmmss', /\d\d\d\d\d\d/],
            ['HHmm', /\d\d\d\d/],
            ['HH', /\d\d/],
        ],
        aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
        // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
        rfc2822 =
            /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
        obsOffsets = {
            UT: 0,
            GMT: 0,
            EDT: -4 * 60,
            EST: -5 * 60,
            CDT: -5 * 60,
            CST: -6 * 60,
            MDT: -6 * 60,
            MST: -7 * 60,
            PDT: -7 * 60,
            PST: -8 * 60,
        };

    // date from iso format
    function configFromISO(config) {
        var i,
            l,
            string = config._i,
            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
            allowTime,
            dateFormat,
            timeFormat,
            tzFormat,
            isoDatesLen = isoDates.length,
            isoTimesLen = isoTimes.length;

        if (match) {
            getParsingFlags(config).iso = true;
            for (i = 0, l = isoDatesLen; i < l; i++) {
                if (isoDates[i][1].exec(match[1])) {
                    dateFormat = isoDates[i][0];
                    allowTime = isoDates[i][2] !== false;
                    break;
                }
            }
            if (dateFormat == null) {
                config._isValid = false;
                return;
            }
            if (match[3]) {
                for (i = 0, l = isoTimesLen; i < l; i++) {
                    if (isoTimes[i][1].exec(match[3])) {
                        // match[2] should be 'T' or space
                        timeFormat = (match[2] || ' ') + isoTimes[i][0];
                        break;
                    }
                }
                if (timeFormat == null) {
                    config._isValid = false;
                    return;
                }
            }
            if (!allowTime && timeFormat != null) {
                config._isValid = false;
                return;
            }
            if (match[4]) {
                if (tzRegex.exec(match[4])) {
                    tzFormat = 'Z';
                } else {
                    config._isValid = false;
                    return;
                }
            }
            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
            configFromStringAndFormat(config);
        } else {
            config._isValid = false;
        }
    }

    function extractFromRFC2822Strings(
        yearStr,
        monthStr,
        dayStr,
        hourStr,
        minuteStr,
        secondStr
    ) {
        var result = [
            untruncateYear(yearStr),
            defaultLocaleMonthsShort.indexOf(monthStr),
            parseInt(dayStr, 10),
            parseInt(hourStr, 10),
            parseInt(minuteStr, 10),
        ];

        if (secondStr) {
            result.push(parseInt(secondStr, 10));
        }

        return result;
    }

    function untruncateYear(yearStr) {
        var year = parseInt(yearStr, 10);
        if (year <= 49) {
            return 2000 + year;
        } else if (year <= 999) {
            return 1900 + year;
        }
        return year;
    }

    function preprocessRFC2822(s) {
        // Remove comments and folding whitespace and replace multiple-spaces with a single space
        return s
            .replace(/\([^()]*\)|[\n\t]/g, ' ')
            .replace(/(\s\s+)/g, ' ')
            .replace(/^\s\s*/, '')
            .replace(/\s\s*$/, '');
    }

    function checkWeekday(weekdayStr, parsedInput, config) {
        if (weekdayStr) {
            // TODO: Replace the vanilla JS Date object with an independent day-of-week check.
            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),
                weekdayActual = new Date(
                    parsedInput[0],
                    parsedInput[1],
                    parsedInput[2]
                ).getDay();
            if (weekdayProvided !== weekdayActual) {
                getParsingFlags(config).weekdayMismatch = true;
                config._isValid = false;
                return false;
            }
        }
        return true;
    }

    function calculateOffset(obsOffset, militaryOffset, numOffset) {
        if (obsOffset) {
            return obsOffsets[obsOffset];
        } else if (militaryOffset) {
            // the only allowed military tz is Z
            return 0;
        } else {
            var hm = parseInt(numOffset, 10),
                m = hm % 100,
                h = (hm - m) / 100;
            return h * 60 + m;
        }
    }

    // date and time from ref 2822 format
    function configFromRFC2822(config) {
        var match = rfc2822.exec(preprocessRFC2822(config._i)),
            parsedArray;
        if (match) {
            parsedArray = extractFromRFC2822Strings(
                match[4],
                match[3],
                match[2],
                match[5],
                match[6],
                match[7]
            );
            if (!checkWeekday(match[1], parsedArray, config)) {
                return;
            }

            config._a = parsedArray;
            config._tzm = calculateOffset(match[8], match[9], match[10]);

            config._d = createUTCDate.apply(null, config._a);
            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);

            getParsingFlags(config).rfc2822 = true;
        } else {
            config._isValid = false;
        }
    }

    // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
    function configFromString(config) {
        var matched = aspNetJsonRegex.exec(config._i);
        if (matched !== null) {
            config._d = new Date(+matched[1]);
            return;
        }

        configFromISO(config);
        if (config._isValid === false) {
            delete config._isValid;
        } else {
            return;
        }

        configFromRFC2822(config);
        if (config._isValid === false) {
            delete config._isValid;
        } else {
            return;
        }

        if (config._strict) {
            config._isValid = false;
        } else {
            // Final attempt, use Input Fallback
            hooks.createFromInputFallback(config);
        }
    }

    hooks.createFromInputFallback = deprecate(
        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +
            'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +
            'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',
        function (config) {
            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
        }
    );

    // Pick the first defined of two or three arguments.
    function defaults(a, b, c) {
        if (a != null) {
            return a;
        }
        if (b != null) {
            return b;
        }
        return c;
    }

    function currentDateArray(config) {
        // hooks is actually the exported moment object
        var nowValue = new Date(hooks.now());
        if (config._useUTC) {
            return [
                nowValue.getUTCFullYear(),
                nowValue.getUTCMonth(),
                nowValue.getUTCDate(),
            ];
        }
        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
    }

    // convert an array to a date.
    // the array should mirror the parameters below
    // note: all values past the year are optional and will default to the lowest possible value.
    // [year, month, day , hour, minute, second, millisecond]
    function configFromArray(config) {
        var i,
            date,
            input = [],
            currentDate,
            expectedWeekday,
            yearToUse;

        if (config._d) {
            return;
        }

        currentDate = currentDateArray(config);

        //compute day of the year from weeks and weekdays
        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
            dayOfYearFromWeekInfo(config);
        }

        //if the day of the year is set, figure out what it is
        if (config._dayOfYear != null) {
            yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);

            if (
                config._dayOfYear > daysInYear(yearToUse) ||
                config._dayOfYear === 0
            ) {
                getParsingFlags(config)._overflowDayOfYear = true;
            }

            date = createUTCDate(yearToUse, 0, config._dayOfYear);
            config._a[MONTH] = date.getUTCMonth();
            config._a[DATE] = date.getUTCDate();
        }

        // Default to current date.
        // * if no year, month, day of month are given, default to today
        // * if day of month is given, default month and year
        // * if month is given, default only year
        // * if year is given, don't default anything
        for (i = 0; i < 3 && config._a[i] == null; ++i) {
            config._a[i] = input[i] = currentDate[i];
        }

        // Zero out whatever was not defaulted, including time
        for (; i < 7; i++) {
            config._a[i] = input[i] =
                config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];
        }

        // Check for 24:00:00.000
        if (
            config._a[HOUR] === 24 &&
            config._a[MINUTE] === 0 &&
            config._a[SECOND] === 0 &&
            config._a[MILLISECOND] === 0
        ) {
            config._nextDay = true;
            config._a[HOUR] = 0;
        }

        config._d = (config._useUTC ? createUTCDate : createDate).apply(
            null,
            input
        );
        expectedWeekday = config._useUTC
            ? config._d.getUTCDay()
            : config._d.getDay();

        // Apply timezone offset from input. The actual utcOffset can be changed
        // with parseZone.
        if (config._tzm != null) {
            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
        }

        if (config._nextDay) {
            config._a[HOUR] = 24;
        }

        // check for mismatching day of week
        if (
            config._w &&
            typeof config._w.d !== 'undefined' &&
            config._w.d !== expectedWeekday
        ) {
            getParsingFlags(config).weekdayMismatch = true;
        }
    }

    function dayOfYearFromWeekInfo(config) {
        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;

        w = config._w;
        if (w.GG != null || w.W != null || w.E != null) {
            dow = 1;
            doy = 4;

            // TODO: We need to take the current isoWeekYear, but that depends on
            // how we interpret now (local, utc, fixed offset). So create
            // a now version of current config (take local/utc/offset flags, and
            // create now).
            weekYear = defaults(
                w.GG,
                config._a[YEAR],
                weekOfYear(createLocal(), 1, 4).year
            );
            week = defaults(w.W, 1);
            weekday = defaults(w.E, 1);
            if (weekday < 1 || weekday > 7) {
                weekdayOverflow = true;
            }
        } else {
            dow = config._locale._week.dow;
            doy = config._locale._week.doy;

            curWeek = weekOfYear(createLocal(), dow, doy);

            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);

            // Default to current week.
            week = defaults(w.w, curWeek.week);

            if (w.d != null) {
                // weekday -- low day numbers are considered next week
                weekday = w.d;
                if (weekday < 0 || weekday > 6) {
                    weekdayOverflow = true;
                }
            } else if (w.e != null) {
                // local weekday -- counting starts from beginning of week
                weekday = w.e + dow;
                if (w.e < 0 || w.e > 6) {
                    weekdayOverflow = true;
                }
            } else {
                // default to beginning of week
                weekday = dow;
            }
        }
        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
            getParsingFlags(config)._overflowWeeks = true;
        } else if (weekdayOverflow != null) {
            getParsingFlags(config)._overflowWeekday = true;
        } else {
            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
            config._a[YEAR] = temp.year;
            config._dayOfYear = temp.dayOfYear;
        }
    }

    // constant that refers to the ISO standard
    hooks.ISO_8601 = function () {};

    // constant that refers to the RFC 2822 form
    hooks.RFC_2822 = function () {};

    // date from string and format string
    function configFromStringAndFormat(config) {
        // TODO: Move this to another part of the creation flow to prevent circular deps
        if (config._f === hooks.ISO_8601) {
            configFromISO(config);
            return;
        }
        if (config._f === hooks.RFC_2822) {
            configFromRFC2822(config);
            return;
        }
        config._a = [];
        getParsingFlags(config).empty = true;

        // This array is used to make a Date, either with `new Date` or `Date.UTC`
        var string = '' + config._i,
            i,
            parsedInput,
            tokens,
            token,
            skipped,
            stringLength = string.length,
            totalParsedInputLength = 0,
            era,
            tokenLen;

        tokens =
            expandFormat(config._f, config._locale).match(formattingTokens) || [];
        tokenLen = tokens.length;
        for (i = 0; i < tokenLen; i++) {
            token = tokens[i];
            parsedInput = (string.match(getParseRegexForToken(token, config)) ||
                [])[0];
            if (parsedInput) {
                skipped = string.substr(0, string.indexOf(parsedInput));
                if (skipped.length > 0) {
                    getParsingFlags(config).unusedInput.push(skipped);
                }
                string = string.slice(
                    string.indexOf(parsedInput) + parsedInput.length
                );
                totalParsedInputLength += parsedInput.length;
            }
            // don't parse if it's not a known token
            if (formatTokenFunctions[token]) {
                if (parsedInput) {
                    getParsingFlags(config).empty = false;
                } else {
                    getParsingFlags(config).unusedTokens.push(token);
                }
                addTimeToArrayFromToken(token, parsedInput, config);
            } else if (config._strict && !parsedInput) {
                getParsingFlags(config).unusedTokens.push(token);
            }
        }

        // add remaining unparsed input length to the string
        getParsingFlags(config).charsLeftOver =
            stringLength - totalParsedInputLength;
        if (string.length > 0) {
            getParsingFlags(config).unusedInput.push(string);
        }

        // clear _12h flag if hour is <= 12
        if (
            config._a[HOUR] <= 12 &&
            getParsingFlags(config).bigHour === true &&
            config._a[HOUR] > 0
        ) {
            getParsingFlags(config).bigHour = undefined;
        }

        getParsingFlags(config).parsedDateParts = config._a.slice(0);
        getParsingFlags(config).meridiem = config._meridiem;
        // handle meridiem
        config._a[HOUR] = meridiemFixWrap(
            config._locale,
            config._a[HOUR],
            config._meridiem
        );

        // handle era
        era = getParsingFlags(config).era;
        if (era !== null) {
            config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);
        }

        configFromArray(config);
        checkOverflow(config);
    }

    function meridiemFixWrap(locale, hour, meridiem) {
        var isPm;

        if (meridiem == null) {
            // nothing to do
            return hour;
        }
        if (locale.meridiemHour != null) {
            return locale.meridiemHour(hour, meridiem);
        } else if (locale.isPM != null) {
            // Fallback
            isPm = locale.isPM(meridiem);
            if (isPm && hour < 12) {
                hour += 12;
            }
            if (!isPm && hour === 12) {
                hour = 0;
            }
            return hour;
        } else {
            // this is not supposed to happen
            return hour;
        }
    }

    // date from string and array of format strings
    function configFromStringAndArray(config) {
        var tempConfig,
            bestMoment,
            scoreToBeat,
            i,
            currentScore,
            validFormatFound,
            bestFormatIsValid = false,
            configfLen = config._f.length;

        if (configfLen === 0) {
            getParsingFlags(config).invalidFormat = true;
            config._d = new Date(NaN);
            return;
        }

        for (i = 0; i < configfLen; i++) {
            currentScore = 0;
            validFormatFound = false;
            tempConfig = copyConfig({}, config);
            if (config._useUTC != null) {
                tempConfig._useUTC = config._useUTC;
            }
            tempConfig._f = config._f[i];
            configFromStringAndFormat(tempConfig);

            if (isValid(tempConfig)) {
                validFormatFound = true;
            }

            // if there is any input that was not parsed add a penalty for that format
            currentScore += getParsingFlags(tempConfig).charsLeftOver;

            //or tokens
            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;

            getParsingFlags(tempConfig).score = currentScore;

            if (!bestFormatIsValid) {
                if (
                    scoreToBeat == null ||
                    currentScore < scoreToBeat ||
                    validFormatFound
                ) {
                    scoreToBeat = currentScore;
                    bestMoment = tempConfig;
                    if (validFormatFound) {
                        bestFormatIsValid = true;
                    }
                }
            } else {
                if (currentScore < scoreToBeat) {
                    scoreToBeat = currentScore;
                    bestMoment = tempConfig;
                }
            }
        }

        extend(config, bestMoment || tempConfig);
    }

    function configFromObject(config) {
        if (config._d) {
            return;
        }

        var i = normalizeObjectUnits(config._i),
            dayOrDate = i.day === undefined ? i.date : i.day;
        config._a = map(
            [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],
            function (obj) {
                return obj && parseInt(obj, 10);
            }
        );

        configFromArray(config);
    }

    function createFromConfig(config) {
        var res = new Moment(checkOverflow(prepareConfig(config)));
        if (res._nextDay) {
            // Adding is smart enough around DST
            res.add(1, 'd');
            res._nextDay = undefined;
        }

        return res;
    }

    function prepareConfig(config) {
        var input = config._i,
            format = config._f;

        config._locale = config._locale || getLocale(config._l);

        if (input === null || (format === undefined && input === '')) {
            return createInvalid({ nullInput: true });
        }

        if (typeof input === 'string') {
            config._i = input = config._locale.preparse(input);
        }

        if (isMoment(input)) {
            return new Moment(checkOverflow(input));
        } else if (isDate(input)) {
            config._d = input;
        } else if (isArray(format)) {
            configFromStringAndArray(config);
        } else if (format) {
            configFromStringAndFormat(config);
        } else {
            configFromInput(config);
        }

        if (!isValid(config)) {
            config._d = null;
        }

        return config;
    }

    function configFromInput(config) {
        var input = config._i;
        if (isUndefined(input)) {
            config._d = new Date(hooks.now());
        } else if (isDate(input)) {
            config._d = new Date(input.valueOf());
        } else if (typeof input === 'string') {
            configFromString(config);
        } else if (isArray(input)) {
            config._a = map(input.slice(0), function (obj) {
                return parseInt(obj, 10);
            });
            configFromArray(config);
        } else if (isObject(input)) {
            configFromObject(config);
        } else if (isNumber(input)) {
            // from milliseconds
            config._d = new Date(input);
        } else {
            hooks.createFromInputFallback(config);
        }
    }

    function createLocalOrUTC(input, format, locale, strict, isUTC) {
        var c = {};

        if (format === true || format === false) {
            strict = format;
            format = undefined;
        }

        if (locale === true || locale === false) {
            strict = locale;
            locale = undefined;
        }

        if (
            (isObject(input) && isObjectEmpty(input)) ||
            (isArray(input) && input.length === 0)
        ) {
            input = undefined;
        }
        // object construction must be done this way.
        // https://github.com/moment/moment/issues/1423
        c._isAMomentObject = true;
        c._useUTC = c._isUTC = isUTC;
        c._l = locale;
        c._i = input;
        c._f = format;
        c._strict = strict;

        return createFromConfig(c);
    }

    function createLocal(input, format, locale, strict) {
        return createLocalOrUTC(input, format, locale, strict, false);
    }

    var prototypeMin = deprecate(
            'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',
            function () {
                var other = createLocal.apply(null, arguments);
                if (this.isValid() && other.isValid()) {
                    return other < this ? this : other;
                } else {
                    return createInvalid();
                }
            }
        ),
        prototypeMax = deprecate(
            'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',
            function () {
                var other = createLocal.apply(null, arguments);
                if (this.isValid() && other.isValid()) {
                    return other > this ? this : other;
                } else {
                    return createInvalid();
                }
            }
        );

    // Pick a moment m from moments so that m[fn](other) is true for all
    // other. This relies on the function fn to be transitive.
    //
    // moments should either be an array of moment objects or an array, whose
    // first element is an array of moment objects.
    function pickBy(fn, moments) {
        var res, i;
        if (moments.length === 1 && isArray(moments[0])) {
            moments = moments[0];
        }
        if (!moments.length) {
            return createLocal();
        }
        res = moments[0];
        for (i = 1; i < moments.length; ++i) {
            if (!moments[i].isValid() || moments[i][fn](res)) {
                res = moments[i];
            }
        }
        return res;
    }

    // TODO: Use [].sort instead?
    function min() {
        var args = [].slice.call(arguments, 0);

        return pickBy('isBefore', args);
    }

    function max() {
        var args = [].slice.call(arguments, 0);

        return pickBy('isAfter', args);
    }

    var now = function () {
        return Date.now ? Date.now() : +new Date();
    };

    var ordering = [
        'year',
        'quarter',
        'month',
        'week',
        'day',
        'hour',
        'minute',
        'second',
        'millisecond',
    ];

    function isDurationValid(m) {
        var key,
            unitHasDecimal = false,
            i,
            orderLen = ordering.length;
        for (key in m) {
            if (
                hasOwnProp(m, key) &&
                !(
                    indexOf.call(ordering, key) !== -1 &&
                    (m[key] == null || !isNaN(m[key]))
                )
            ) {
                return false;
            }
        }

        for (i = 0; i < orderLen; ++i) {
            if (m[ordering[i]]) {
                if (unitHasDecimal) {
                    return false; // only allow non-integers for smallest unit
                }
                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
                    unitHasDecimal = true;
                }
            }
        }

        return true;
    }

    function isValid$1() {
        return this._isValid;
    }

    function createInvalid$1() {
        return createDuration(NaN);
    }

    function Duration(duration) {
        var normalizedInput = normalizeObjectUnits(duration),
            years = normalizedInput.year || 0,
            quarters = normalizedInput.quarter || 0,
            months = normalizedInput.month || 0,
            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,
            days = normalizedInput.day || 0,
            hours = normalizedInput.hour || 0,
            minutes = normalizedInput.minute || 0,
            seconds = normalizedInput.second || 0,
            milliseconds = normalizedInput.millisecond || 0;

        this._isValid = isDurationValid(normalizedInput);

        // representation for dateAddRemove
        this._milliseconds =
            +milliseconds +
            seconds * 1e3 + // 1000
            minutes * 6e4 + // 1000 * 60
            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
        // Because of dateAddRemove treats 24 hours as different from a
        // day when working around DST, we need to store them separately
        this._days = +days + weeks * 7;
        // It is impossible to translate months into days without knowing
        // which months you are are talking about, so we have to store
        // it separately.
        this._months = +months + quarters * 3 + years * 12;

        this._data = {};

        this._locale = getLocale();

        this._bubble();
    }

    function isDuration(obj) {
        return obj instanceof Duration;
    }

    function absRound(number) {
        if (number < 0) {
            return Math.round(-1 * number) * -1;
        } else {
            return Math.round(number);
        }
    }

    // compare two arrays, return the number of differences
    function compareArrays(array1, array2, dontConvert) {
        var len = Math.min(array1.length, array2.length),
            lengthDiff = Math.abs(array1.length - array2.length),
            diffs = 0,
            i;
        for (i = 0; i < len; i++) {
            if (
                (dontConvert && array1[i] !== array2[i]) ||
                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))
            ) {
                diffs++;
            }
        }
        return diffs + lengthDiff;
    }

    // FORMATTING

    function offset(token, separator) {
        addFormatToken(token, 0, 0, function () {
            var offset = this.utcOffset(),
                sign = '+';
            if (offset < 0) {
                offset = -offset;
                sign = '-';
            }
            return (
                sign +
                zeroFill(~~(offset / 60), 2) +
                separator +
                zeroFill(~~offset % 60, 2)
            );
        });
    }

    offset('Z', ':');
    offset('ZZ', '');

    // PARSING

    addRegexToken('Z', matchShortOffset);
    addRegexToken('ZZ', matchShortOffset);
    addParseToken(['Z', 'ZZ'], function (input, array, config) {
        config._useUTC = true;
        config._tzm = offsetFromString(matchShortOffset, input);
    });

    // HELPERS

    // timezone chunker
    // '+10:00' > ['10',  '00']
    // '-1530'  > ['-15', '30']
    var chunkOffset = /([\+\-]|\d\d)/gi;

    function offsetFromString(matcher, string) {
        var matches = (string || '').match(matcher),
            chunk,
            parts,
            minutes;

        if (matches === null) {
            return null;
        }

        chunk = matches[matches.length - 1] || [];
        parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];
        minutes = +(parts[1] * 60) + toInt(parts[2]);

        return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;
    }

    // Return a moment from input, that is local/utc/zone equivalent to model.
    function cloneWithOffset(input, model) {
        var res, diff;
        if (model._isUTC) {
            res = model.clone();
            diff =
                (isMoment(input) || isDate(input)
                    ? input.valueOf()
                    : createLocal(input).valueOf()) - res.valueOf();
            // Use low-level api, because this fn is low-level api.
            res._d.setTime(res._d.valueOf() + diff);
            hooks.updateOffset(res, false);
            return res;
        } else {
            return createLocal(input).local();
        }
    }

    function getDateOffset(m) {
        // On Firefox.24 Date#getTimezoneOffset returns a floating point.
        // https://github.com/moment/moment/pull/1871
        return -Math.round(m._d.getTimezoneOffset());
    }

    // HOOKS

    // This function will be called whenever a moment is mutated.
    // It is intended to keep the offset in sync with the timezone.
    hooks.updateOffset = function () {};

    // MOMENTS

    // keepLocalTime = true means only change the timezone, without
    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
    // +0200, so we adjust the time as needed, to be valid.
    //
    // Keeping the time actually adds/subtracts (one hour)
    // from the actual represented time. That is why we call updateOffset
    // a second time. In case it wants us to change the offset again
    // _changeInProgress == true case, then we have to adjust, because
    // there is no such time in the given timezone.
    function getSetOffset(input, keepLocalTime, keepMinutes) {
        var offset = this._offset || 0,
            localAdjust;
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }
        if (input != null) {
            if (typeof input === 'string') {
                input = offsetFromString(matchShortOffset, input);
                if (input === null) {
                    return this;
                }
            } else if (Math.abs(input) < 16 && !keepMinutes) {
                input = input * 60;
            }
            if (!this._isUTC && keepLocalTime) {
                localAdjust = getDateOffset(this);
            }
            this._offset = input;
            this._isUTC = true;
            if (localAdjust != null) {
                this.add(localAdjust, 'm');
            }
            if (offset !== input) {
                if (!keepLocalTime || this._changeInProgress) {
                    addSubtract(
                        this,
                        createDuration(input - offset, 'm'),
                        1,
                        false
                    );
                } else if (!this._changeInProgress) {
                    this._changeInProgress = true;
                    hooks.updateOffset(this, true);
                    this._changeInProgress = null;
                }
            }
            return this;
        } else {
            return this._isUTC ? offset : getDateOffset(this);
        }
    }

    function getSetZone(input, keepLocalTime) {
        if (input != null) {
            if (typeof input !== 'string') {
                input = -input;
            }

            this.utcOffset(input, keepLocalTime);

            return this;
        } else {
            return -this.utcOffset();
        }
    }

    function setOffsetToUTC(keepLocalTime) {
        return this.utcOffset(0, keepLocalTime);
    }

    function setOffsetToLocal(keepLocalTime) {
        if (this._isUTC) {
            this.utcOffset(0, keepLocalTime);
            this._isUTC = false;

            if (keepLocalTime) {
                this.subtract(getDateOffset(this), 'm');
            }
        }
        return this;
    }

    function setOffsetToParsedOffset() {
        if (this._tzm != null) {
            this.utcOffset(this._tzm, false, true);
        } else if (typeof this._i === 'string') {
            var tZone = offsetFromString(matchOffset, this._i);
            if (tZone != null) {
                this.utcOffset(tZone);
            } else {
                this.utcOffset(0, true);
            }
        }
        return this;
    }

    function hasAlignedHourOffset(input) {
        if (!this.isValid()) {
            return false;
        }
        input = input ? createLocal(input).utcOffset() : 0;

        return (this.utcOffset() - input) % 60 === 0;
    }

    function isDaylightSavingTime() {
        return (
            this.utcOffset() > this.clone().month(0).utcOffset() ||
            this.utcOffset() > this.clone().month(5).utcOffset()
        );
    }

    function isDaylightSavingTimeShifted() {
        if (!isUndefined(this._isDSTShifted)) {
            return this._isDSTShifted;
        }

        var c = {},
            other;

        copyConfig(c, this);
        c = prepareConfig(c);

        if (c._a) {
            other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
            this._isDSTShifted =
                this.isValid() && compareArrays(c._a, other.toArray()) > 0;
        } else {
            this._isDSTShifted = false;
        }

        return this._isDSTShifted;
    }

    function isLocal() {
        return this.isValid() ? !this._isUTC : false;
    }

    function isUtcOffset() {
        return this.isValid() ? this._isUTC : false;
    }

    function isUtc() {
        return this.isValid() ? this._isUTC && this._offset === 0 : false;
    }

    // ASP.NET json date format regex
    var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
        // and further modified to allow for strings containing both week and day
        isoRegex =
            /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;

    function createDuration(input, key) {
        var duration = input,
            // matching against regexp is expensive, do it on demand
            match = null,
            sign,
            ret,
            diffRes;

        if (isDuration(input)) {
            duration = {
                ms: input._milliseconds,
                d: input._days,
                M: input._months,
            };
        } else if (isNumber(input) || !isNaN(+input)) {
            duration = {};
            if (key) {
                duration[key] = +input;
            } else {
                duration.milliseconds = +input;
            }
        } else if ((match = aspNetRegex.exec(input))) {
            sign = match[1] === '-' ? -1 : 1;
            duration = {
                y: 0,
                d: toInt(match[DATE]) * sign,
                h: toInt(match[HOUR]) * sign,
                m: toInt(match[MINUTE]) * sign,
                s: toInt(match[SECOND]) * sign,
                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match
            };
        } else if ((match = isoRegex.exec(input))) {
            sign = match[1] === '-' ? -1 : 1;
            duration = {
                y: parseIso(match[2], sign),
                M: parseIso(match[3], sign),
                w: parseIso(match[4], sign),
                d: parseIso(match[5], sign),
                h: parseIso(match[6], sign),
                m: parseIso(match[7], sign),
                s: parseIso(match[8], sign),
            };
        } else if (duration == null) {
            // checks for null or undefined
            duration = {};
        } else if (
            typeof duration === 'object' &&
            ('from' in duration || 'to' in duration)
        ) {
            diffRes = momentsDifference(
                createLocal(duration.from),
                createLocal(duration.to)
            );

            duration = {};
            duration.ms = diffRes.milliseconds;
            duration.M = diffRes.months;
        }

        ret = new Duration(duration);

        if (isDuration(input) && hasOwnProp(input, '_locale')) {
            ret._locale = input._locale;
        }

        if (isDuration(input) && hasOwnProp(input, '_isValid')) {
            ret._isValid = input._isValid;
        }

        return ret;
    }

    createDuration.fn = Duration.prototype;
    createDuration.invalid = createInvalid$1;

    function parseIso(inp, sign) {
        // We'd normally use ~~inp for this, but unfortunately it also
        // converts floats to ints.
        // inp may be undefined, so careful calling replace on it.
        var res = inp && parseFloat(inp.replace(',', '.'));
        // apply sign while we're at it
        return (isNaN(res) ? 0 : res) * sign;
    }

    function positiveMomentsDifference(base, other) {
        var res = {};

        res.months =
            other.month() - base.month() + (other.year() - base.year()) * 12;
        if (base.clone().add(res.months, 'M').isAfter(other)) {
            --res.months;
        }

        res.milliseconds = +other - +base.clone().add(res.months, 'M');

        return res;
    }

    function momentsDifference(base, other) {
        var res;
        if (!(base.isValid() && other.isValid())) {
            return { milliseconds: 0, months: 0 };
        }

        other = cloneWithOffset(other, base);
        if (base.isBefore(other)) {
            res = positiveMomentsDifference(base, other);
        } else {
            res = positiveMomentsDifference(other, base);
            res.milliseconds = -res.milliseconds;
            res.months = -res.months;
        }

        return res;
    }

    // TODO: remove 'name' arg after deprecation is removed
    function createAdder(direction, name) {
        return function (val, period) {
            var dur, tmp;
            //invert the arguments, but complain about it
            if (period !== null && !isNaN(+period)) {
                deprecateSimple(
                    name,
                    'moment().' +
                        name +
                        '(period, number) is deprecated. Please use moment().' +
                        name +
                        '(number, period). ' +
                        'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'
                );
                tmp = val;
                val = period;
                period = tmp;
            }

            dur = createDuration(val, period);
            addSubtract(this, dur, direction);
            return this;
        };
    }

    function addSubtract(mom, duration, isAdding, updateOffset) {
        var milliseconds = duration._milliseconds,
            days = absRound(duration._days),
            months = absRound(duration._months);

        if (!mom.isValid()) {
            // No op
            return;
        }

        updateOffset = updateOffset == null ? true : updateOffset;

        if (months) {
            setMonth(mom, get(mom, 'Month') + months * isAdding);
        }
        if (days) {
            set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
        }
        if (milliseconds) {
            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
        }
        if (updateOffset) {
            hooks.updateOffset(mom, days || months);
        }
    }

    var add = createAdder(1, 'add'),
        subtract = createAdder(-1, 'subtract');

    function isString(input) {
        return typeof input === 'string' || input instanceof String;
    }

    // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
    function isMomentInput(input) {
        return (
            isMoment(input) ||
            isDate(input) ||
            isString(input) ||
            isNumber(input) ||
            isNumberOrStringArray(input) ||
            isMomentInputObject(input) ||
            input === null ||
            input === undefined
        );
    }

    function isMomentInputObject(input) {
        var objectTest = isObject(input) && !isObjectEmpty(input),
            propertyTest = false,
            properties = [
                'years',
                'year',
                'y',
                'months',
                'month',
                'M',
                'days',
                'day',
                'd',
                'dates',
                'date',
                'D',
                'hours',
                'hour',
                'h',
                'minutes',
                'minute',
                'm',
                'seconds',
                'second',
                's',
                'milliseconds',
                'millisecond',
                'ms',
            ],
            i,
            property,
            propertyLen = properties.length;

        for (i = 0; i < propertyLen; i += 1) {
            property = properties[i];
            propertyTest = propertyTest || hasOwnProp(input, property);
        }

        return objectTest && propertyTest;
    }

    function isNumberOrStringArray(input) {
        var arrayTest = isArray(input),
            dataTypeTest = false;
        if (arrayTest) {
            dataTypeTest =
                input.filter(function (item) {
                    return !isNumber(item) && isString(input);
                }).length === 0;
        }
        return arrayTest && dataTypeTest;
    }

    function isCalendarSpec(input) {
        var objectTest = isObject(input) && !isObjectEmpty(input),
            propertyTest = false,
            properties = [
                'sameDay',
                'nextDay',
                'lastDay',
                'nextWeek',
                'lastWeek',
                'sameElse',
            ],
            i,
            property;

        for (i = 0; i < properties.length; i += 1) {
            property = properties[i];
            propertyTest = propertyTest || hasOwnProp(input, property);
        }

        return objectTest && propertyTest;
    }

    function getCalendarFormat(myMoment, now) {
        var diff = myMoment.diff(now, 'days', true);
        return diff < -6
            ? 'sameElse'
            : diff < -1
              ? 'lastWeek'
              : diff < 0
                ? 'lastDay'
                : diff < 1
                  ? 'sameDay'
                  : diff < 2
                    ? 'nextDay'
                    : diff < 7
                      ? 'nextWeek'
                      : 'sameElse';
    }

    function calendar$1(time, formats) {
        // Support for single parameter, formats only overload to the calendar function
        if (arguments.length === 1) {
            if (!arguments[0]) {
                time = undefined;
                formats = undefined;
            } else if (isMomentInput(arguments[0])) {
                time = arguments[0];
                formats = undefined;
            } else if (isCalendarSpec(arguments[0])) {
                formats = arguments[0];
                time = undefined;
            }
        }
        // We want to compare the start of today, vs this.
        // Getting start-of-today depends on whether we're local/utc/offset or not.
        var now = time || createLocal(),
            sod = cloneWithOffset(now, this).startOf('day'),
            format = hooks.calendarFormat(this, sod) || 'sameElse',
            output =
                formats &&
                (isFunction(formats[format])
                    ? formats[format].call(this, now)
                    : formats[format]);

        return this.format(
            output || this.localeData().calendar(format, this, createLocal(now))
        );
    }

    function clone() {
        return new Moment(this);
    }

    function isAfter(input, units) {
        var localInput = isMoment(input) ? input : createLocal(input);
        if (!(this.isValid() && localInput.isValid())) {
            return false;
        }
        units = normalizeUnits(units) || 'millisecond';
        if (units === 'millisecond') {
            return this.valueOf() > localInput.valueOf();
        } else {
            return localInput.valueOf() < this.clone().startOf(units).valueOf();
        }
    }

    function isBefore(input, units) {
        var localInput = isMoment(input) ? input : createLocal(input);
        if (!(this.isValid() && localInput.isValid())) {
            return false;
        }
        units = normalizeUnits(units) || 'millisecond';
        if (units === 'millisecond') {
            return this.valueOf() < localInput.valueOf();
        } else {
            return this.clone().endOf(units).valueOf() < localInput.valueOf();
        }
    }

    function isBetween(from, to, units, inclusivity) {
        var localFrom = isMoment(from) ? from : createLocal(from),
            localTo = isMoment(to) ? to : createLocal(to);
        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {
            return false;
        }
        inclusivity = inclusivity || '()';
        return (
            (inclusivity[0] === '('
                ? this.isAfter(localFrom, units)
                : !this.isBefore(localFrom, units)) &&
            (inclusivity[1] === ')'
                ? this.isBefore(localTo, units)
                : !this.isAfter(localTo, units))
        );
    }

    function isSame(input, units) {
        var localInput = isMoment(input) ? input : createLocal(input),
            inputMs;
        if (!(this.isValid() && localInput.isValid())) {
            return false;
        }
        units = normalizeUnits(units) || 'millisecond';
        if (units === 'millisecond') {
            return this.valueOf() === localInput.valueOf();
        } else {
            inputMs = localInput.valueOf();
            return (
                this.clone().startOf(units).valueOf() <= inputMs &&
                inputMs <= this.clone().endOf(units).valueOf()
            );
        }
    }

    function isSameOrAfter(input, units) {
        return this.isSame(input, units) || this.isAfter(input, units);
    }

    function isSameOrBefore(input, units) {
        return this.isSame(input, units) || this.isBefore(input, units);
    }

    function diff(input, units, asFloat) {
        var that, zoneDelta, output;

        if (!this.isValid()) {
            return NaN;
        }

        that = cloneWithOffset(input, this);

        if (!that.isValid()) {
            return NaN;
        }

        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;

        units = normalizeUnits(units);

        switch (units) {
            case 'year':
                output = monthDiff(this, that) / 12;
                break;
            case 'month':
                output = monthDiff(this, that);
                break;
            case 'quarter':
                output = monthDiff(this, that) / 3;
                break;
            case 'second':
                output = (this - that) / 1e3;
                break; // 1000
            case 'minute':
                output = (this - that) / 6e4;
                break; // 1000 * 60
            case 'hour':
                output = (this - that) / 36e5;
                break; // 1000 * 60 * 60
            case 'day':
                output = (this - that - zoneDelta) / 864e5;
                break; // 1000 * 60 * 60 * 24, negate dst
            case 'week':
                output = (this - that - zoneDelta) / 6048e5;
                break; // 1000 * 60 * 60 * 24 * 7, negate dst
            default:
                output = this - that;
        }

        return asFloat ? output : absFloor(output);
    }

    function monthDiff(a, b) {
        if (a.date() < b.date()) {
            // end-of-month calculations work correct when the start month has more
            // days than the end month.
            return -monthDiff(b, a);
        }
        // difference in months
        var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),
            // b is in (anchor - 1 month, anchor + 1 month)
            anchor = a.clone().add(wholeMonthDiff, 'months'),
            anchor2,
            adjust;

        if (b - anchor < 0) {
            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');
            // linear across the month
            adjust = (b - anchor) / (anchor - anchor2);
        } else {
            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
            // linear across the month
            adjust = (b - anchor) / (anchor2 - anchor);
        }

        //check for negative zero, return zero if negative zero
        return -(wholeMonthDiff + adjust) || 0;
    }

    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';

    function toString() {
        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
    }

    function toISOString(keepOffset) {
        if (!this.isValid()) {
            return null;
        }
        var utc = keepOffset !== true,
            m = utc ? this.clone().utc() : this;
        if (m.year() < 0 || m.year() > 9999) {
            return formatMoment(
                m,
                utc
                    ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'
                    : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'
            );
        }
        if (isFunction(Date.prototype.toISOString)) {
            // native implementation is ~50x faster, use it when we can
            if (utc) {
                return this.toDate().toISOString();
            } else {
                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)
                    .toISOString()
                    .replace('Z', formatMoment(m, 'Z'));
            }
        }
        return formatMoment(
            m,
            utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'
        );
    }

    /**
     * Return a human readable representation of a moment that can
     * also be evaluated to get a new moment which is the same
     *
     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
     */
    function inspect() {
        if (!this.isValid()) {
            return 'moment.invalid(/* ' + this._i + ' */)';
        }
        var func = 'moment',
            zone = '',
            prefix,
            year,
            datetime,
            suffix;
        if (!this.isLocal()) {
            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';
            zone = 'Z';
        }
        prefix = '[' + func + '("]';
        year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';
        datetime = '-MM-DD[T]HH:mm:ss.SSS';
        suffix = zone + '[")]';

        return this.format(prefix + year + datetime + suffix);
    }

    function format(inputString) {
        if (!inputString) {
            inputString = this.isUtc()
                ? hooks.defaultFormatUtc
                : hooks.defaultFormat;
        }
        var output = formatMoment(this, inputString);
        return this.localeData().postformat(output);
    }

    function from(time, withoutSuffix) {
        if (
            this.isValid() &&
            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())
        ) {
            return createDuration({ to: this, from: time })
                .locale(this.locale())
                .humanize(!withoutSuffix);
        } else {
            return this.localeData().invalidDate();
        }
    }

    function fromNow(withoutSuffix) {
        return this.from(createLocal(), withoutSuffix);
    }

    function to(time, withoutSuffix) {
        if (
            this.isValid() &&
            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())
        ) {
            return createDuration({ from: this, to: time })
                .locale(this.locale())
                .humanize(!withoutSuffix);
        } else {
            return this.localeData().invalidDate();
        }
    }

    function toNow(withoutSuffix) {
        return this.to(createLocal(), withoutSuffix);
    }

    // If passed a locale key, it will set the locale for this
    // instance.  Otherwise, it will return the locale configuration
    // variables for this instance.
    function locale(key) {
        var newLocaleData;

        if (key === undefined) {
            return this._locale._abbr;
        } else {
            newLocaleData = getLocale(key);
            if (newLocaleData != null) {
                this._locale = newLocaleData;
            }
            return this;
        }
    }

    var lang = deprecate(
        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',
        function (key) {
            if (key === undefined) {
                return this.localeData();
            } else {
                return this.locale(key);
            }
        }
    );

    function localeData() {
        return this._locale;
    }

    var MS_PER_SECOND = 1000,
        MS_PER_MINUTE = 60 * MS_PER_SECOND,
        MS_PER_HOUR = 60 * MS_PER_MINUTE,
        MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;

    // actual modulo - handles negative numbers (for dates before 1970):
    function mod$1(dividend, divisor) {
        return ((dividend % divisor) + divisor) % divisor;
    }

    function localStartOfDate(y, m, d) {
        // the date constructor remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            // preserve leap years using a full 400 year cycle, then reset
            return new Date(y + 400, m, d) - MS_PER_400_YEARS;
        } else {
            return new Date(y, m, d).valueOf();
        }
    }

    function utcStartOfDate(y, m, d) {
        // Date.UTC remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            // preserve leap years using a full 400 year cycle, then reset
            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
        } else {
            return Date.UTC(y, m, d);
        }
    }

    function startOf(units) {
        var time, startOfDate;
        units = normalizeUnits(units);
        if (units === undefined || units === 'millisecond' || !this.isValid()) {
            return this;
        }

        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;

        switch (units) {
            case 'year':
                time = startOfDate(this.year(), 0, 1);
                break;
            case 'quarter':
                time = startOfDate(
                    this.year(),
                    this.month() - (this.month() % 3),
                    1
                );
                break;
            case 'month':
                time = startOfDate(this.year(), this.month(), 1);
                break;
            case 'week':
                time = startOfDate(
                    this.year(),
                    this.month(),
                    this.date() - this.weekday()
                );
                break;
            case 'isoWeek':
                time = startOfDate(
                    this.year(),
                    this.month(),
                    this.date() - (this.isoWeekday() - 1)
                );
                break;
            case 'day':
            case 'date':
                time = startOfDate(this.year(), this.month(), this.date());
                break;
            case 'hour':
                time = this._d.valueOf();
                time -= mod$1(
                    time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
                    MS_PER_HOUR
                );
                break;
            case 'minute':
                time = this._d.valueOf();
                time -= mod$1(time, MS_PER_MINUTE);
                break;
            case 'second':
                time = this._d.valueOf();
                time -= mod$1(time, MS_PER_SECOND);
                break;
        }

        this._d.setTime(time);
        hooks.updateOffset(this, true);
        return this;
    }

    function endOf(units) {
        var time, startOfDate;
        units = normalizeUnits(units);
        if (units === undefined || units === 'millisecond' || !this.isValid()) {
            return this;
        }

        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;

        switch (units) {
            case 'year':
                time = startOfDate(this.year() + 1, 0, 1) - 1;
                break;
            case 'quarter':
                time =
                    startOfDate(
                        this.year(),
                        this.month() - (this.month() % 3) + 3,
                        1
                    ) - 1;
                break;
            case 'month':
                time = startOfDate(this.year(), this.month() + 1, 1) - 1;
                break;
            case 'week':
                time =
                    startOfDate(
                        this.year(),
                        this.month(),
                        this.date() - this.weekday() + 7
                    ) - 1;
                break;
            case 'isoWeek':
                time =
                    startOfDate(
                        this.year(),
                        this.month(),
                        this.date() - (this.isoWeekday() - 1) + 7
                    ) - 1;
                break;
            case 'day':
            case 'date':
                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
                break;
            case 'hour':
                time = this._d.valueOf();
                time +=
                    MS_PER_HOUR -
                    mod$1(
                        time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
                        MS_PER_HOUR
                    ) -
                    1;
                break;
            case 'minute':
                time = this._d.valueOf();
                time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
                break;
            case 'second':
                time = this._d.valueOf();
                time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
                break;
        }

        this._d.setTime(time);
        hooks.updateOffset(this, true);
        return this;
    }

    function valueOf() {
        return this._d.valueOf() - (this._offset || 0) * 60000;
    }

    function unix() {
        return Math.floor(this.valueOf() / 1000);
    }

    function toDate() {
        return new Date(this.valueOf());
    }

    function toArray() {
        var m = this;
        return [
            m.year(),
            m.month(),
            m.date(),
            m.hour(),
            m.minute(),
            m.second(),
            m.millisecond(),
        ];
    }

    function toObject() {
        var m = this;
        return {
            years: m.year(),
            months: m.month(),
            date: m.date(),
            hours: m.hours(),
            minutes: m.minutes(),
            seconds: m.seconds(),
            milliseconds: m.milliseconds(),
        };
    }

    function toJSON() {
        // new Date(NaN).toJSON() === null
        return this.isValid() ? this.toISOString() : null;
    }

    function isValid$2() {
        return isValid(this);
    }

    function parsingFlags() {
        return extend({}, getParsingFlags(this));
    }

    function invalidAt() {
        return getParsingFlags(this).overflow;
    }

    function creationData() {
        return {
            input: this._i,
            format: this._f,
            locale: this._locale,
            isUTC: this._isUTC,
            strict: this._strict,
        };
    }

    addFormatToken('N', 0, 0, 'eraAbbr');
    addFormatToken('NN', 0, 0, 'eraAbbr');
    addFormatToken('NNN', 0, 0, 'eraAbbr');
    addFormatToken('NNNN', 0, 0, 'eraName');
    addFormatToken('NNNNN', 0, 0, 'eraNarrow');

    addFormatToken('y', ['y', 1], 'yo', 'eraYear');
    addFormatToken('y', ['yy', 2], 0, 'eraYear');
    addFormatToken('y', ['yyy', 3], 0, 'eraYear');
    addFormatToken('y', ['yyyy', 4], 0, 'eraYear');

    addRegexToken('N', matchEraAbbr);
    addRegexToken('NN', matchEraAbbr);
    addRegexToken('NNN', matchEraAbbr);
    addRegexToken('NNNN', matchEraName);
    addRegexToken('NNNNN', matchEraNarrow);

    addParseToken(
        ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],
        function (input, array, config, token) {
            var era = config._locale.erasParse(input, token, config._strict);
            if (era) {
                getParsingFlags(config).era = era;
            } else {
                getParsingFlags(config).invalidEra = input;
            }
        }
    );

    addRegexToken('y', matchUnsigned);
    addRegexToken('yy', matchUnsigned);
    addRegexToken('yyy', matchUnsigned);
    addRegexToken('yyyy', matchUnsigned);
    addRegexToken('yo', matchEraYearOrdinal);

    addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);
    addParseToken(['yo'], function (input, array, config, token) {
        var match;
        if (config._locale._eraYearOrdinalRegex) {
            match = input.match(config._locale._eraYearOrdinalRegex);
        }

        if (config._locale.eraYearOrdinalParse) {
            array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
        } else {
            array[YEAR] = parseInt(input, 10);
        }
    });

    function localeEras(m, format) {
        var i,
            l,
            date,
            eras = this._eras || getLocale('en')._eras;
        for (i = 0, l = eras.length; i < l; ++i) {
            switch (typeof eras[i].since) {
                case 'string':
                    // truncate time
                    date = hooks(eras[i].since).startOf('day');
                    eras[i].since = date.valueOf();
                    break;
            }

            switch (typeof eras[i].until) {
                case 'undefined':
                    eras[i].until = +Infinity;
                    break;
                case 'string':
                    // truncate time
                    date = hooks(eras[i].until).startOf('day').valueOf();
                    eras[i].until = date.valueOf();
                    break;
            }
        }
        return eras;
    }

    function localeErasParse(eraName, format, strict) {
        var i,
            l,
            eras = this.eras(),
            name,
            abbr,
            narrow;
        eraName = eraName.toUpperCase();

        for (i = 0, l = eras.length; i < l; ++i) {
            name = eras[i].name.toUpperCase();
            abbr = eras[i].abbr.toUpperCase();
            narrow = eras[i].narrow.toUpperCase();

            if (strict) {
                switch (format) {
                    case 'N':
                    case 'NN':
                    case 'NNN':
                        if (abbr === eraName) {
                            return eras[i];
                        }
                        break;

                    case 'NNNN':
                        if (name === eraName) {
                            return eras[i];
                        }
                        break;

                    case 'NNNNN':
                        if (narrow === eraName) {
                            return eras[i];
                        }
                        break;
                }
            } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {
                return eras[i];
            }
        }
    }

    function localeErasConvertYear(era, year) {
        var dir = era.since <= era.until ? +1 : -1;
        if (year === undefined) {
            return hooks(era.since).year();
        } else {
            return hooks(era.since).year() + (year - era.offset) * dir;
        }
    }

    function getEraName() {
        var i,
            l,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (eras[i].since <= val && val <= eras[i].until) {
                return eras[i].name;
            }
            if (eras[i].until <= val && val <= eras[i].since) {
                return eras[i].name;
            }
        }

        return '';
    }

    function getEraNarrow() {
        var i,
            l,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (eras[i].since <= val && val <= eras[i].until) {
                return eras[i].narrow;
            }
            if (eras[i].until <= val && val <= eras[i].since) {
                return eras[i].narrow;
            }
        }

        return '';
    }

    function getEraAbbr() {
        var i,
            l,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (eras[i].since <= val && val <= eras[i].until) {
                return eras[i].abbr;
            }
            if (eras[i].until <= val && val <= eras[i].since) {
                return eras[i].abbr;
            }
        }

        return '';
    }

    function getEraYear() {
        var i,
            l,
            dir,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            dir = eras[i].since <= eras[i].until ? +1 : -1;

            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (
                (eras[i].since <= val && val <= eras[i].until) ||
                (eras[i].until <= val && val <= eras[i].since)
            ) {
                return (
                    (this.year() - hooks(eras[i].since).year()) * dir +
                    eras[i].offset
                );
            }
        }

        return this.year();
    }

    function erasNameRegex(isStrict) {
        if (!hasOwnProp(this, '_erasNameRegex')) {
            computeErasParse.call(this);
        }
        return isStrict ? this._erasNameRegex : this._erasRegex;
    }

    function erasAbbrRegex(isStrict) {
        if (!hasOwnProp(this, '_erasAbbrRegex')) {
            computeErasParse.call(this);
        }
        return isStrict ? this._erasAbbrRegex : this._erasRegex;
    }

    function erasNarrowRegex(isStrict) {
        if (!hasOwnProp(this, '_erasNarrowRegex')) {
            computeErasParse.call(this);
        }
        return isStrict ? this._erasNarrowRegex : this._erasRegex;
    }

    function matchEraAbbr(isStrict, locale) {
        return locale.erasAbbrRegex(isStrict);
    }

    function matchEraName(isStrict, locale) {
        return locale.erasNameRegex(isStrict);
    }

    function matchEraNarrow(isStrict, locale) {
        return locale.erasNarrowRegex(isStrict);
    }

    function matchEraYearOrdinal(isStrict, locale) {
        return locale._eraYearOrdinalRegex || matchUnsigned;
    }

    function computeErasParse() {
        var abbrPieces = [],
            namePieces = [],
            narrowPieces = [],
            mixedPieces = [],
            i,
            l,
            erasName,
            erasAbbr,
            erasNarrow,
            eras = this.eras();

        for (i = 0, l = eras.length; i < l; ++i) {
            erasName = regexEscape(eras[i].name);
            erasAbbr = regexEscape(eras[i].abbr);
            erasNarrow = regexEscape(eras[i].narrow);

            namePieces.push(erasName);
            abbrPieces.push(erasAbbr);
            narrowPieces.push(erasNarrow);
            mixedPieces.push(erasName);
            mixedPieces.push(erasAbbr);
            mixedPieces.push(erasNarrow);
        }

        this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
        this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');
        this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');
        this._erasNarrowRegex = new RegExp(
            '^(' + narrowPieces.join('|') + ')',
            'i'
        );
    }

    // FORMATTING

    addFormatToken(0, ['gg', 2], 0, function () {
        return this.weekYear() % 100;
    });

    addFormatToken(0, ['GG', 2], 0, function () {
        return this.isoWeekYear() % 100;
    });

    function addWeekYearFormatToken(token, getter) {
        addFormatToken(0, [token, token.length], 0, getter);
    }

    addWeekYearFormatToken('gggg', 'weekYear');
    addWeekYearFormatToken('ggggg', 'weekYear');
    addWeekYearFormatToken('GGGG', 'isoWeekYear');
    addWeekYearFormatToken('GGGGG', 'isoWeekYear');

    // ALIASES

    // PARSING

    addRegexToken('G', matchSigned);
    addRegexToken('g', matchSigned);
    addRegexToken('GG', match1to2, match2);
    addRegexToken('gg', match1to2, match2);
    addRegexToken('GGGG', match1to4, match4);
    addRegexToken('gggg', match1to4, match4);
    addRegexToken('GGGGG', match1to6, match6);
    addRegexToken('ggggg', match1to6, match6);

    addWeekParseToken(
        ['gggg', 'ggggg', 'GGGG', 'GGGGG'],
        function (input, week, config, token) {
            week[token.substr(0, 2)] = toInt(input);
        }
    );

    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
        week[token] = hooks.parseTwoDigitYear(input);
    });

    // MOMENTS

    function getSetWeekYear(input) {
        return getSetWeekYearHelper.call(
            this,
            input,
            this.week(),
            this.weekday() + this.localeData()._week.dow,
            this.localeData()._week.dow,
            this.localeData()._week.doy
        );
    }

    function getSetISOWeekYear(input) {
        return getSetWeekYearHelper.call(
            this,
            input,
            this.isoWeek(),
            this.isoWeekday(),
            1,
            4
        );
    }

    function getISOWeeksInYear() {
        return weeksInYear(this.year(), 1, 4);
    }

    function getISOWeeksInISOWeekYear() {
        return weeksInYear(this.isoWeekYear(), 1, 4);
    }

    function getWeeksInYear() {
        var weekInfo = this.localeData()._week;
        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
    }

    function getWeeksInWeekYear() {
        var weekInfo = this.localeData()._week;
        return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);
    }

    function getSetWeekYearHelper(input, week, weekday, dow, doy) {
        var weeksTarget;
        if (input == null) {
            return weekOfYear(this, dow, doy).year;
        } else {
            weeksTarget = weeksInYear(input, dow, doy);
            if (week > weeksTarget) {
                week = weeksTarget;
            }
            return setWeekAll.call(this, input, week, weekday, dow, doy);
        }
    }

    function setWeekAll(weekYear, week, weekday, dow, doy) {
        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);

        this.year(date.getUTCFullYear());
        this.month(date.getUTCMonth());
        this.date(date.getUTCDate());
        return this;
    }

    // FORMATTING

    addFormatToken('Q', 0, 'Qo', 'quarter');

    // PARSING

    addRegexToken('Q', match1);
    addParseToken('Q', function (input, array) {
        array[MONTH] = (toInt(input) - 1) * 3;
    });

    // MOMENTS

    function getSetQuarter(input) {
        return input == null
            ? Math.ceil((this.month() + 1) / 3)
            : this.month((input - 1) * 3 + (this.month() % 3));
    }

    // FORMATTING

    addFormatToken('D', ['DD', 2], 'Do', 'date');

    // PARSING

    addRegexToken('D', match1to2, match1to2NoLeadingZero);
    addRegexToken('DD', match1to2, match2);
    addRegexToken('Do', function (isStrict, locale) {
        // TODO: Remove "ordinalParse" fallback in next major release.
        return isStrict
            ? locale._dayOfMonthOrdinalParse || locale._ordinalParse
            : locale._dayOfMonthOrdinalParseLenient;
    });

    addParseToken(['D', 'DD'], DATE);
    addParseToken('Do', function (input, array) {
        array[DATE] = toInt(input.match(match1to2)[0]);
    });

    // MOMENTS

    var getSetDayOfMonth = makeGetSet('Date', true);

    // FORMATTING

    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');

    // PARSING

    addRegexToken('DDD', match1to3);
    addRegexToken('DDDD', match3);
    addParseToken(['DDD', 'DDDD'], function (input, array, config) {
        config._dayOfYear = toInt(input);
    });

    // HELPERS

    // MOMENTS

    function getSetDayOfYear(input) {
        var dayOfYear =
            Math.round(
                (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5
            ) + 1;
        return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');
    }

    // FORMATTING

    addFormatToken('m', ['mm', 2], 0, 'minute');

    // PARSING

    addRegexToken('m', match1to2, match1to2HasZero);
    addRegexToken('mm', match1to2, match2);
    addParseToken(['m', 'mm'], MINUTE);

    // MOMENTS

    var getSetMinute = makeGetSet('Minutes', false);

    // FORMATTING

    addFormatToken('s', ['ss', 2], 0, 'second');

    // PARSING

    addRegexToken('s', match1to2, match1to2HasZero);
    addRegexToken('ss', match1to2, match2);
    addParseToken(['s', 'ss'], SECOND);

    // MOMENTS

    var getSetSecond = makeGetSet('Seconds', false);

    // FORMATTING

    addFormatToken('S', 0, 0, function () {
        return ~~(this.millisecond() / 100);
    });

    addFormatToken(0, ['SS', 2], 0, function () {
        return ~~(this.millisecond() / 10);
    });

    addFormatToken(0, ['SSS', 3], 0, 'millisecond');
    addFormatToken(0, ['SSSS', 4], 0, function () {
        return this.millisecond() * 10;
    });
    addFormatToken(0, ['SSSSS', 5], 0, function () {
        return this.millisecond() * 100;
    });
    addFormatToken(0, ['SSSSSS', 6], 0, function () {
        return this.millisecond() * 1000;
    });
    addFormatToken(0, ['SSSSSSS', 7], 0, function () {
        return this.millisecond() * 10000;
    });
    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {
        return this.millisecond() * 100000;
    });
    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
        return this.millisecond() * 1000000;
    });

    // PARSING

    addRegexToken('S', match1to3, match1);
    addRegexToken('SS', match1to3, match2);
    addRegexToken('SSS', match1to3, match3);

    var token, getSetMillisecond;
    for (token = 'SSSS'; token.length <= 9; token += 'S') {
        addRegexToken(token, matchUnsigned);
    }

    function parseMs(input, array) {
        array[MILLISECOND] = toInt(('0.' + input) * 1000);
    }

    for (token = 'S'; token.length <= 9; token += 'S') {
        addParseToken(token, parseMs);
    }

    getSetMillisecond = makeGetSet('Milliseconds', false);

    // FORMATTING

    addFormatToken('z', 0, 0, 'zoneAbbr');
    addFormatToken('zz', 0, 0, 'zoneName');

    // MOMENTS

    function getZoneAbbr() {
        return this._isUTC ? 'UTC' : '';
    }

    function getZoneName() {
        return this._isUTC ? 'Coordinated Universal Time' : '';
    }

    var proto = Moment.prototype;

    proto.add = add;
    proto.calendar = calendar$1;
    proto.clone = clone;
    proto.diff = diff;
    proto.endOf = endOf;
    proto.format = format;
    proto.from = from;
    proto.fromNow = fromNow;
    proto.to = to;
    proto.toNow = toNow;
    proto.get = stringGet;
    proto.invalidAt = invalidAt;
    proto.isAfter = isAfter;
    proto.isBefore = isBefore;
    proto.isBetween = isBetween;
    proto.isSame = isSame;
    proto.isSameOrAfter = isSameOrAfter;
    proto.isSameOrBefore = isSameOrBefore;
    proto.isValid = isValid$2;
    proto.lang = lang;
    proto.locale = locale;
    proto.localeData = localeData;
    proto.max = prototypeMax;
    proto.min = prototypeMin;
    proto.parsingFlags = parsingFlags;
    proto.set = stringSet;
    proto.startOf = startOf;
    proto.subtract = subtract;
    proto.toArray = toArray;
    proto.toObject = toObject;
    proto.toDate = toDate;
    proto.toISOString = toISOString;
    proto.inspect = inspect;
    if (typeof Symbol !== 'undefined' && Symbol.for != null) {
        proto[Symbol.for('nodejs.util.inspect.custom')] = function () {
            return 'Moment<' + this.format() + '>';
        };
    }
    proto.toJSON = toJSON;
    proto.toString = toString;
    proto.unix = unix;
    proto.valueOf = valueOf;
    proto.creationData = creationData;
    proto.eraName = getEraName;
    proto.eraNarrow = getEraNarrow;
    proto.eraAbbr = getEraAbbr;
    proto.eraYear = getEraYear;
    proto.year = getSetYear;
    proto.isLeapYear = getIsLeapYear;
    proto.weekYear = getSetWeekYear;
    proto.isoWeekYear = getSetISOWeekYear;
    proto.quarter = proto.quarters = getSetQuarter;
    proto.month = getSetMonth;
    proto.daysInMonth = getDaysInMonth;
    proto.week = proto.weeks = getSetWeek;
    proto.isoWeek = proto.isoWeeks = getSetISOWeek;
    proto.weeksInYear = getWeeksInYear;
    proto.weeksInWeekYear = getWeeksInWeekYear;
    proto.isoWeeksInYear = getISOWeeksInYear;
    proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
    proto.date = getSetDayOfMonth;
    proto.day = proto.days = getSetDayOfWeek;
    proto.weekday = getSetLocaleDayOfWeek;
    proto.isoWeekday = getSetISODayOfWeek;
    proto.dayOfYear = getSetDayOfYear;
    proto.hour = proto.hours = getSetHour;
    proto.minute = proto.minutes = getSetMinute;
    proto.second = proto.seconds = getSetSecond;
    proto.millisecond = proto.milliseconds = getSetMillisecond;
    proto.utcOffset = getSetOffset;
    proto.utc = setOffsetToUTC;
    proto.local = setOffsetToLocal;
    proto.parseZone = setOffsetToParsedOffset;
    proto.hasAlignedHourOffset = hasAlignedHourOffset;
    proto.isDST = isDaylightSavingTime;
    proto.isLocal = isLocal;
    proto.isUtcOffset = isUtcOffset;
    proto.isUtc = isUtc;
    proto.isUTC = isUtc;
    proto.zoneAbbr = getZoneAbbr;
    proto.zoneName = getZoneName;
    proto.dates = deprecate(
        'dates accessor is deprecated. Use date instead.',
        getSetDayOfMonth
    );
    proto.months = deprecate(
        'months accessor is deprecated. Use month instead',
        getSetMonth
    );
    proto.years = deprecate(
        'years accessor is deprecated. Use year instead',
        getSetYear
    );
    proto.zone = deprecate(
        'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',
        getSetZone
    );
    proto.isDSTShifted = deprecate(
        'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',
        isDaylightSavingTimeShifted
    );

    function createUnix(input) {
        return createLocal(input * 1000);
    }

    function createInZone() {
        return createLocal.apply(null, arguments).parseZone();
    }

    function preParsePostFormat(string) {
        return string;
    }

    var proto$1 = Locale.prototype;

    proto$1.calendar = calendar;
    proto$1.longDateFormat = longDateFormat;
    proto$1.invalidDate = invalidDate;
    proto$1.ordinal = ordinal;
    proto$1.preparse = preParsePostFormat;
    proto$1.postformat = preParsePostFormat;
    proto$1.relativeTime = relativeTime;
    proto$1.pastFuture = pastFuture;
    proto$1.set = set;
    proto$1.eras = localeEras;
    proto$1.erasParse = localeErasParse;
    proto$1.erasConvertYear = localeErasConvertYear;
    proto$1.erasAbbrRegex = erasAbbrRegex;
    proto$1.erasNameRegex = erasNameRegex;
    proto$1.erasNarrowRegex = erasNarrowRegex;

    proto$1.months = localeMonths;
    proto$1.monthsShort = localeMonthsShort;
    proto$1.monthsParse = localeMonthsParse;
    proto$1.monthsRegex = monthsRegex;
    proto$1.monthsShortRegex = monthsShortRegex;
    proto$1.week = localeWeek;
    proto$1.firstDayOfYear = localeFirstDayOfYear;
    proto$1.firstDayOfWeek = localeFirstDayOfWeek;

    proto$1.weekdays = localeWeekdays;
    proto$1.weekdaysMin = localeWeekdaysMin;
    proto$1.weekdaysShort = localeWeekdaysShort;
    proto$1.weekdaysParse = localeWeekdaysParse;

    proto$1.weekdaysRegex = weekdaysRegex;
    proto$1.weekdaysShortRegex = weekdaysShortRegex;
    proto$1.weekdaysMinRegex = weekdaysMinRegex;

    proto$1.isPM = localeIsPM;
    proto$1.meridiem = localeMeridiem;

    function get$1(format, index, field, setter) {
        var locale = getLocale(),
            utc = createUTC().set(setter, index);
        return locale[field](utc, format);
    }

    function listMonthsImpl(format, index, field) {
        if (isNumber(format)) {
            index = format;
            format = undefined;
        }

        format = format || '';

        if (index != null) {
            return get$1(format, index, field, 'month');
        }

        var i,
            out = [];
        for (i = 0; i < 12; i++) {
            out[i] = get$1(format, i, field, 'month');
        }
        return out;
    }

    // ()
    // (5)
    // (fmt, 5)
    // (fmt)
    // (true)
    // (true, 5)
    // (true, fmt, 5)
    // (true, fmt)
    function listWeekdaysImpl(localeSorted, format, index, field) {
        if (typeof localeSorted === 'boolean') {
            if (isNumber(format)) {
                index = format;
                format = undefined;
            }

            format = format || '';
        } else {
            format = localeSorted;
            index = format;
            localeSorted = false;

            if (isNumber(format)) {
                index = format;
                format = undefined;
            }

            format = format || '';
        }

        var locale = getLocale(),
            shift = localeSorted ? locale._week.dow : 0,
            i,
            out = [];

        if (index != null) {
            return get$1(format, (index + shift) % 7, field, 'day');
        }

        for (i = 0; i < 7; i++) {
            out[i] = get$1(format, (i + shift) % 7, field, 'day');
        }
        return out;
    }

    function listMonths(format, index) {
        return listMonthsImpl(format, index, 'months');
    }

    function listMonthsShort(format, index) {
        return listMonthsImpl(format, index, 'monthsShort');
    }

    function listWeekdays(localeSorted, format, index) {
        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');
    }

    function listWeekdaysShort(localeSorted, format, index) {
        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');
    }

    function listWeekdaysMin(localeSorted, format, index) {
        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');
    }

    getSetGlobalLocale('en', {
        eras: [
            {
                since: '0001-01-01',
                until: +Infinity,
                offset: 1,
                name: 'Anno Domini',
                narrow: 'AD',
                abbr: 'AD',
            },
            {
                since: '0000-12-31',
                until: -Infinity,
                offset: 1,
                name: 'Before Christ',
                narrow: 'BC',
                abbr: 'BC',
            },
        ],
        dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    toInt((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                          ? 'st'
                          : b === 2
                            ? 'nd'
                            : b === 3
                              ? 'rd'
                              : 'th';
            return number + output;
        },
    });

    // Side effect imports

    hooks.lang = deprecate(
        'moment.lang is deprecated. Use moment.locale instead.',
        getSetGlobalLocale
    );
    hooks.langData = deprecate(
        'moment.langData is deprecated. Use moment.localeData instead.',
        getLocale
    );

    var mathAbs = Math.abs;

    function abs() {
        var data = this._data;

        this._milliseconds = mathAbs(this._milliseconds);
        this._days = mathAbs(this._days);
        this._months = mathAbs(this._months);

        data.milliseconds = mathAbs(data.milliseconds);
        data.seconds = mathAbs(data.seconds);
        data.minutes = mathAbs(data.minutes);
        data.hours = mathAbs(data.hours);
        data.months = mathAbs(data.months);
        data.years = mathAbs(data.years);

        return this;
    }

    function addSubtract$1(duration, input, value, direction) {
        var other = createDuration(input, value);

        duration._milliseconds += direction * other._milliseconds;
        duration._days += direction * other._days;
        duration._months += direction * other._months;

        return duration._bubble();
    }

    // supports only 2.0-style add(1, 's') or add(duration)
    function add$1(input, value) {
        return addSubtract$1(this, input, value, 1);
    }

    // supports only 2.0-style subtract(1, 's') or subtract(duration)
    function subtract$1(input, value) {
        return addSubtract$1(this, input, value, -1);
    }

    function absCeil(number) {
        if (number < 0) {
            return Math.floor(number);
        } else {
            return Math.ceil(number);
        }
    }

    function bubble() {
        var milliseconds = this._milliseconds,
            days = this._days,
            months = this._months,
            data = this._data,
            seconds,
            minutes,
            hours,
            years,
            monthsFromDays;

        // if we have a mix of positive and negative values, bubble down first
        // check: https://github.com/moment/moment/issues/2166
        if (
            !(
                (milliseconds >= 0 && days >= 0 && months >= 0) ||
                (milliseconds <= 0 && days <= 0 && months <= 0)
            )
        ) {
            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
            days = 0;
            months = 0;
        }

        // The following code bubbles up values, see the tests for
        // examples of what that means.
        data.milliseconds = milliseconds % 1000;

        seconds = absFloor(milliseconds / 1000);
        data.seconds = seconds % 60;

        minutes = absFloor(seconds / 60);
        data.minutes = minutes % 60;

        hours = absFloor(minutes / 60);
        data.hours = hours % 24;

        days += absFloor(hours / 24);

        // convert days to months
        monthsFromDays = absFloor(daysToMonths(days));
        months += monthsFromDays;
        days -= absCeil(monthsToDays(monthsFromDays));

        // 12 months -> 1 year
        years = absFloor(months / 12);
        months %= 12;

        data.days = days;
        data.months = months;
        data.years = years;

        return this;
    }

    function daysToMonths(days) {
        // 400 years have 146097 days (taking into account leap year rules)
        // 400 years have 12 months === 4800
        return (days * 4800) / 146097;
    }

    function monthsToDays(months) {
        // the reverse of daysToMonths
        return (months * 146097) / 4800;
    }

    function as(units) {
        if (!this.isValid()) {
            return NaN;
        }
        var days,
            months,
            milliseconds = this._milliseconds;

        units = normalizeUnits(units);

        if (units === 'month' || units === 'quarter' || units === 'year') {
            days = this._days + milliseconds / 864e5;
            months = this._months + daysToMonths(days);
            switch (units) {
                case 'month':
                    return months;
                case 'quarter':
                    return months / 3;
                case 'year':
                    return months / 12;
            }
        } else {
            // handle milliseconds separately because of floating point math errors (issue #1867)
            days = this._days + Math.round(monthsToDays(this._months));
            switch (units) {
                case 'week':
                    return days / 7 + milliseconds / 6048e5;
                case 'day':
                    return days + milliseconds / 864e5;
                case 'hour':
                    return days * 24 + milliseconds / 36e5;
                case 'minute':
                    return days * 1440 + milliseconds / 6e4;
                case 'second':
                    return days * 86400 + milliseconds / 1000;
                // Math.floor prevents floating point math errors here
                case 'millisecond':
                    return Math.floor(days * 864e5) + milliseconds;
                default:
                    throw new Error('Unknown unit ' + units);
            }
        }
    }

    function makeAs(alias) {
        return function () {
            return this.as(alias);
        };
    }

    var asMilliseconds = makeAs('ms'),
        asSeconds = makeAs('s'),
        asMinutes = makeAs('m'),
        asHours = makeAs('h'),
        asDays = makeAs('d'),
        asWeeks = makeAs('w'),
        asMonths = makeAs('M'),
        asQuarters = makeAs('Q'),
        asYears = makeAs('y'),
        valueOf$1 = asMilliseconds;

    function clone$1() {
        return createDuration(this);
    }

    function get$2(units) {
        units = normalizeUnits(units);
        return this.isValid() ? this[units + 's']() : NaN;
    }

    function makeGetter(name) {
        return function () {
            return this.isValid() ? this._data[name] : NaN;
        };
    }

    var milliseconds = makeGetter('milliseconds'),
        seconds = makeGetter('seconds'),
        minutes = makeGetter('minutes'),
        hours = makeGetter('hours'),
        days = makeGetter('days'),
        months = makeGetter('months'),
        years = makeGetter('years');

    function weeks() {
        return absFloor(this.days() / 7);
    }

    var round = Math.round,
        thresholds = {
            ss: 44, // a few seconds to seconds
            s: 45, // seconds to minute
            m: 45, // minutes to hour
            h: 22, // hours to day
            d: 26, // days to month/week
            w: null, // weeks to month
            M: 11, // months to year
        };

    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
        return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
    }

    function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {
        var duration = createDuration(posNegDuration).abs(),
            seconds = round(duration.as('s')),
            minutes = round(duration.as('m')),
            hours = round(duration.as('h')),
            days = round(duration.as('d')),
            months = round(duration.as('M')),
            weeks = round(duration.as('w')),
            years = round(duration.as('y')),
            a =
                (seconds <= thresholds.ss && ['s', seconds]) ||
                (seconds < thresholds.s && ['ss', seconds]) ||
                (minutes <= 1 && ['m']) ||
                (minutes < thresholds.m && ['mm', minutes]) ||
                (hours <= 1 && ['h']) ||
                (hours < thresholds.h && ['hh', hours]) ||
                (days <= 1 && ['d']) ||
                (days < thresholds.d && ['dd', days]);

        if (thresholds.w != null) {
            a =
                a ||
                (weeks <= 1 && ['w']) ||
                (weeks < thresholds.w && ['ww', weeks]);
        }
        a = a ||
            (months <= 1 && ['M']) ||
            (months < thresholds.M && ['MM', months]) ||
            (years <= 1 && ['y']) || ['yy', years];

        a[2] = withoutSuffix;
        a[3] = +posNegDuration > 0;
        a[4] = locale;
        return substituteTimeAgo.apply(null, a);
    }

    // This function allows you to set the rounding function for relative time strings
    function getSetRelativeTimeRounding(roundingFunction) {
        if (roundingFunction === undefined) {
            return round;
        }
        if (typeof roundingFunction === 'function') {
            round = roundingFunction;
            return true;
        }
        return false;
    }

    // This function allows you to set a threshold for relative time strings
    function getSetRelativeTimeThreshold(threshold, limit) {
        if (thresholds[threshold] === undefined) {
            return false;
        }
        if (limit === undefined) {
            return thresholds[threshold];
        }
        thresholds[threshold] = limit;
        if (threshold === 's') {
            thresholds.ss = limit - 1;
        }
        return true;
    }

    function humanize(argWithSuffix, argThresholds) {
        if (!this.isValid()) {
            return this.localeData().invalidDate();
        }

        var withSuffix = false,
            th = thresholds,
            locale,
            output;

        if (typeof argWithSuffix === 'object') {
            argThresholds = argWithSuffix;
            argWithSuffix = false;
        }
        if (typeof argWithSuffix === 'boolean') {
            withSuffix = argWithSuffix;
        }
        if (typeof argThresholds === 'object') {
            th = Object.assign({}, thresholds, argThresholds);
            if (argThresholds.s != null && argThresholds.ss == null) {
                th.ss = argThresholds.s - 1;
            }
        }

        locale = this.localeData();
        output = relativeTime$1(this, !withSuffix, th, locale);

        if (withSuffix) {
            output = locale.pastFuture(+this, output);
        }

        return locale.postformat(output);
    }

    var abs$1 = Math.abs;

    function sign(x) {
        return (x > 0) - (x < 0) || +x;
    }

    function toISOString$1() {
        // for ISO strings we do not use the normal bubbling rules:
        //  * milliseconds bubble up until they become hours
        //  * days do not bubble at all
        //  * months bubble up until they become years
        // This is because there is no context-free conversion between hours and days
        // (think of clock changes)
        // and also not between days and months (28-31 days per month)
        if (!this.isValid()) {
            return this.localeData().invalidDate();
        }

        var seconds = abs$1(this._milliseconds) / 1000,
            days = abs$1(this._days),
            months = abs$1(this._months),
            minutes,
            hours,
            years,
            s,
            total = this.asSeconds(),
            totalSign,
            ymSign,
            daysSign,
            hmsSign;

        if (!total) {
            // this is the same as C#'s (Noda) and python (isodate)...
            // but not other JS (goog.date)
            return 'P0D';
        }

        // 3600 seconds -> 60 minutes -> 1 hour
        minutes = absFloor(seconds / 60);
        hours = absFloor(minutes / 60);
        seconds %= 60;
        minutes %= 60;

        // 12 months -> 1 year
        years = absFloor(months / 12);
        months %= 12;

        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
        s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : '';

        totalSign = total < 0 ? '-' : '';
        ymSign = sign(this._months) !== sign(total) ? '-' : '';
        daysSign = sign(this._days) !== sign(total) ? '-' : '';
        hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';

        return (
            totalSign +
            'P' +
            (years ? ymSign + years + 'Y' : '') +
            (months ? ymSign + months + 'M' : '') +
            (days ? daysSign + days + 'D' : '') +
            (hours || minutes || seconds ? 'T' : '') +
            (hours ? hmsSign + hours + 'H' : '') +
            (minutes ? hmsSign + minutes + 'M' : '') +
            (seconds ? hmsSign + s + 'S' : '')
        );
    }

    var proto$2 = Duration.prototype;

    proto$2.isValid = isValid$1;
    proto$2.abs = abs;
    proto$2.add = add$1;
    proto$2.subtract = subtract$1;
    proto$2.as = as;
    proto$2.asMilliseconds = asMilliseconds;
    proto$2.asSeconds = asSeconds;
    proto$2.asMinutes = asMinutes;
    proto$2.asHours = asHours;
    proto$2.asDays = asDays;
    proto$2.asWeeks = asWeeks;
    proto$2.asMonths = asMonths;
    proto$2.asQuarters = asQuarters;
    proto$2.asYears = asYears;
    proto$2.valueOf = valueOf$1;
    proto$2._bubble = bubble;
    proto$2.clone = clone$1;
    proto$2.get = get$2;
    proto$2.milliseconds = milliseconds;
    proto$2.seconds = seconds;
    proto$2.minutes = minutes;
    proto$2.hours = hours;
    proto$2.days = days;
    proto$2.weeks = weeks;
    proto$2.months = months;
    proto$2.years = years;
    proto$2.humanize = humanize;
    proto$2.toISOString = toISOString$1;
    proto$2.toString = toISOString$1;
    proto$2.toJSON = toISOString$1;
    proto$2.locale = locale;
    proto$2.localeData = localeData;

    proto$2.toIsoString = deprecate(
        'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',
        toISOString$1
    );
    proto$2.lang = lang;

    // FORMATTING

    addFormatToken('X', 0, 0, 'unix');
    addFormatToken('x', 0, 0, 'valueOf');

    // PARSING

    addRegexToken('x', matchSigned);
    addRegexToken('X', matchTimestamp);
    addParseToken('X', function (input, array, config) {
        config._d = new Date(parseFloat(input) * 1000);
    });
    addParseToken('x', function (input, array, config) {
        config._d = new Date(toInt(input));
    });

    //! moment.js

    hooks.version = '2.30.1';

    setHookCallback(createLocal);

    hooks.fn = proto;
    hooks.min = min;
    hooks.max = max;
    hooks.now = now;
    hooks.utc = createUTC;
    hooks.unix = createUnix;
    hooks.months = listMonths;
    hooks.isDate = isDate;
    hooks.locale = getSetGlobalLocale;
    hooks.invalid = createInvalid;
    hooks.duration = createDuration;
    hooks.isMoment = isMoment;
    hooks.weekdays = listWeekdays;
    hooks.parseZone = createInZone;
    hooks.localeData = getLocale;
    hooks.isDuration = isDuration;
    hooks.monthsShort = listMonthsShort;
    hooks.weekdaysMin = listWeekdaysMin;
    hooks.defineLocale = defineLocale;
    hooks.updateLocale = updateLocale;
    hooks.locales = listLocales;
    hooks.weekdaysShort = listWeekdaysShort;
    hooks.normalizeUnits = normalizeUnits;
    hooks.relativeTimeRounding = getSetRelativeTimeRounding;
    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
    hooks.calendarFormat = getCalendarFormat;
    hooks.prototype = proto;

    // currently HTML5 input type only supports 24-hour formats
    hooks.HTML5_FMT = {
        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type="datetime-local" />
        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type="datetime-local" step="1" />
        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type="datetime-local" step="0.001" />
        DATE: 'YYYY-MM-DD', // <input type="date" />
        TIME: 'HH:mm', // <input type="time" />
        TIME_SECONDS: 'HH:mm:ss', // <input type="time" step="1" />
        TIME_MS: 'HH:mm:ss.SSS', // <input type="time" step="0.001" />
        WEEK: 'GGGG-[W]WW', // <input type="week" />
        MONTH: 'YYYY-MM', // <input type="month" />
    };

    return hooks;

})));


/***/ },

/***/ "./modules/admin/nls/esadContext.nls"
/*!*******************************************!*\
  !*** ./modules/admin/nls/esadContext.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"listHeaderLabel":"Project","unnamedWorkspace":"Project with ID \"$1\".","newContextnameHeader":"New project","createContextname":"Project name","createFullname":"Display name of the project","createFullnamePlaceholder":"Display name, may include spaces","setNamePlaceholder":"Project name, no whitespace","createEntryIdPlaceholder":"Entry ID, no whitespaces","contextnameTaken":"This project name is taken, choose a different one.","nameTaken":"This project name is taken, choose a different one","nameMalformed":"The project name must be lower case without any whitespace characters","removeContextMessage":"Remove project \"$1\"?","confirmRemove":"Remove","cancelRemove":"Cancel","failedRemoveContext":"Failed to remove project","contextName":"Project name","contextACL":"Sharing settings","editEntry":"Edit","createEntryName":"project","confirmGroupInProject":"This project belongs to a group. Do you want to remove the associated group \"$1\" as well?","context":"Project","makePremium":"Upgrade to premium","unmakePremium":"Downgrade from premium","upgradeToPremiumNotification":"Project has been upgraded to premium","downgradeFromPremiumNotification":"Project has been downgraded from premium","createButton":"Create","actionTooltip":"Create project","advancedOptions":"Advanced options","createEntryId":"Entry ID","entryIdTaken":"This entry ID is taken, choose a different one.","projectReindex":"Reindex","reindexConfirmationQuestionNLS":"Reindexing takes some time. Meanwhile you can use the application. Do you want to proceed with reindexing?","createProjectSuccess":"Project created successfully","createProjectFail":"Failed to create project","reindexError":"Something went wrong. Try reindexing later"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/esadContext.nls"},{"lang":"de","nls":{"unnamedWorkspace":"Projekt mit ID \"$1\".","newContextnameHeader":"Neues Projekt","createContextname":"Projektname","createFullname":"Anzeigename des Projektes","createFullnamePlaceholder":"Anzeigename, darf Leerzeichen enthalten","setNamePlaceholder":"Projektname, darf keine Leerzeichen enthalten","contextnameTaken":"Dieser Projektname ist bereits in Verwendung, wählen Sie einen anderen.","nameTaken":"Dieser Projektname ist bereits in Verwendung, wählen Sie einen anderen","nameMalformed":"Der Projektname muss aus Kleinbuchstaben bestehen und darf keine Leerzeichen enthalten","confirmRemove":"Entfernen","cancelRemove":"Abbrechen","contextName":"Projektname","contextACL":"Teilungseinstellungen","editEntry":"Bearbeiten","createEntryName":"Projekt","context":"Projekt","makePremium":"Auf Premium upgraden","unmakePremium":"Downgrade von Premium","listHeaderLabel":"Projekt","actionTooltip":"Projekt erstellen","createEntryIdPlaceholder":"Eintrags-ID, keine Leerzeichen","createButton":"Erstellen","advancedOptions":"Erweiterte Optionen","createEntryId":"Eintrags-ID","entryIdTaken":"Diese Eintrags-ID wird bereits verwendet, wählen Sie eine andere","removeContextMessage":"Projekt \"$1\" entfernen?","failedRemoveContext":"Das Projekt konnte nicht entfernt werden","confirmGroupInProject":"Dieses Projekt gehört zu einer Gruppe. Möchten Sie auch die zugehörige Gruppe \"$1\" entfernen?","projectReindex":"Neuindexieren","reindexConfirmationQuestionNLS":"Die Neuindexierung kann etwas Zeit in Anspruch nehmen. In der Zwischenzeit können Sie die Anwendung weiterverwenden. Möchten Sie mit der Neuindexierung fortfahren?","reindexError":"Ein Fehler ist aufgetreten. Versuchen Sie die Neuindexeriung zu einem anderen Zeitpunkt durchzuführen.","upgradeToPremiumNotification":"Das Projekt wurde auf Premium hochgestuft","downgradeFromPremiumNotification":"Das Projekt wurde von Premium heruntergestuft","createProjectSuccess":"Projekt erfolgreich erstellt","createProjectFail":"Projekt konnte nicht erstellt werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/de/esadContext.nls"},{"lang":"sv","nls":{"unnamedWorkspace":"Projekt med ID \"$1\".","newContextnameHeader":"Nytt projekt","createContextname":"Projektnamn","createFullname":"Projektets visningsnamn","createFullnamePlaceholder":"Visningsnamn, får innehålla blanktecken","setNamePlaceholder":"Projektnamn, inga blanktecken","contextnameTaken":"Detta projektnamn är taget, välj ett annat.","nameTaken":"Detta projektnamn är taget, välj ett annat.","nameMalformed":"Projektnamnet måste bestå av små bokstäver utan blanktecken","confirmRemove":"Ta bort","cancelRemove":"Avbryt","contextName":"Projektnamn","contextACL":"Delningsinställningar","editEntry":"Redigera","createEntryName":"projekt","context":"Projekt","makePremium":"Uppgradera till premium","unmakePremium":"Nedgradera från premium","listHeaderLabel":"Projekt","actionTooltip":"Skapa projekt","createEntryIdPlaceholder":"Post-ID, inga mellanslag","createButton":"Skapa","advancedOptions":"Avancerade inställningar","createEntryId":"Post-ID","entryIdTaken":"Detta post-ID används redan, välj ett annat.","removeContextMessage":"Ta bort projekt \"$1\"?","failedRemoveContext":"Projektet kunde inte tas bort","confirmGroupInProject":"Detta projekt tillhör en grupp. Vill du ta bort den tillhörande gruppen \"$1\" också?","projectReindex":"Omindexera","reindexConfirmationQuestionNLS":"Omindexering tar lite tid. Du kan använda programmet under omindexeringen. Vill du fortsätta med att omindexera?","reindexError":"Något gick fel. Prova att omindexa senare","upgradeToPremiumNotification":"Projektet har uppgraderats till premium","downgradeFromPremiumNotification":"Projektet har nedgraderats från premium","createProjectSuccess":"Projektet har skapats","createProjectFail":"Projektet kunde inte skapas"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/sv/esadContext.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/it/esadContext.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/fr/esadContext.nls"}];

/***/ },

/***/ "./modules/admin/nls/esadEntityType.nls"
/*!**********************************************!*\
  !*** ./modules/admin/nls/esadEntityType.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"typeInfoDialogTitle":"Entity type configuration","showTypeInfoDialogTitle":"Show entity type configuration","builtinLabel":"Built-in entity type","customLabel":"Custom entity type","addLabel":"Create","addTooltip":"Create custom entity type","builtinFilterLabel":"Built-in","customFilterLabel":"Custom","migrateToStoreLabel":"Migrate to backend","emptyListWarning":"Custom entity types will appear here","createHeader":"Create custom entity type","selectEntityTypeTitle":"Select entity type","selectEntityTypeLabel":"Select","selectEntityTypeTooltip":"Select entity type","editCustomEntityTypeSuccess":"Entity type saved successfully","editCustomEntityTypeFail":"Failed to save entity type","createCustomEntityTypeSuccess":"Entity type created successfully","createCustomEntityTypeFail":"Failed to create entity type","removeCustomEntityTypeSuccess":"Entity type removed successfully","removeCustomEntityTypeFail":"Failed to remove entity type"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/esadEntityType.nls"},{"lang":"de","nls":{"typeInfoDialogTitle":"Konfiguration des Objekttyps","showTypeInfoDialogTitle":"Konfiguration des Objekttyps anzeigen","builtinLabel":"Integrierter Objekttyp","customLabel":"Benutzerdefinierter Objekttyp","addLabel":"Erstellen","addTooltip":"Benutzerdefinierten Objekttyp erstellen","builtinFilterLabel":"Integriert","customFilterLabel":"Benutzerdefiniert","migrateToStoreLabel":"In das Backend migrieren","emptyListWarning":"Benutzerdefinierte Objekttypen werden hier angezeigt","createHeader":"Benutzerdefinierten Objekttyp erstellen","selectEntityTypeTitle":"Objekttyp wählen","selectEntityTypeLabel":"Wählen","selectEntityTypeTooltip":"Objekttyp wählen","editCustomEntityTypeSuccess":"Der Objekttyp wurde gespeichert","createCustomEntityTypeSuccess":"Der Objekttyp wurde erstellt","removeCustomEntityTypeSuccess":"Der Objekttyp wurde entfernt","removeCustomEntityTypeFail":"Der Objekttyp konnte nicht entfernt werden","editCustomEntityTypeFail":"Der Objekttyp konnte nicht gespeichert werden","createCustomEntityTypeFail":"Der Objekttyp konnte nicht erstellt werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/de/esadEntityType.nls"},{"lang":"sv","nls":{"typeInfoDialogTitle":"Konfiguration av entitetstyp","showTypeInfoDialogTitle":"Visa konfiguration av entitetstyp","builtinLabel":"Inbyggd entitetstyp","customLabel":"Anpassad entitetstyp","addLabel":"Skapa","addTooltip":"Skapa anpassad entitetstyp","builtinFilterLabel":"Inbyggd","customFilterLabel":"Anpassat","migrateToStoreLabel":"Migrera till backend","emptyListWarning":"Anpassade entitetstyper visas här","createHeader":"Skapa anpassad entitetstyp","selectEntityTypeTitle":"Välj entitetstyp","selectEntityTypeLabel":"Välj","selectEntityTypeTooltip":"Välj entitetstyp","editCustomEntityTypeSuccess":"Entitetstypen har sparats","createCustomEntityTypeSuccess":"Entitetstypen har sparats","removeCustomEntityTypeSuccess":"Entitetstypen har tagits bort","removeCustomEntityTypeFail":"Det gick inte att ta bort entitetstypen","editCustomEntityTypeFail":"Entitetstyp kunde inte sparas","createCustomEntityTypeFail":"Entitetstyp kunde inte skapas"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/sv/esadEntityType.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/it/esadEntityType.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/fr/esadEntityType.nls"}];

/***/ },

/***/ "./modules/admin/nls/esadEntityTypeSelect.nls"
/*!****************************************************!*\
  !*** ./modules/admin/nls/esadEntityTypeSelect.nls ***!
  \****************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"entityTypeSelectDialogTitle":"Select entity types","listHeaderLabel":"Entity types","entityTypeSelectDialogButtonLabel":"Select","editSelectionButton":"Edit selection","emptyListWarning":"Entity types will appear here","hideTooltip":"Hide selected entity types","showTooltip":"Show selected entity types","showSelectedLabel":"Show selected only","showAllLabel":"Show all","addSelectionLabel":"Add selection","selectionListPlaceholder":"Entity types will appear here","selectionListLabel":"Selected entity types","noSearchResults":"No results for \"$1\"","noSearchResultsFilters":"No entity types selected","noSearchResultsFiltersAndQuery":"No matching results in the selected entity types"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/esadEntityTypeSelect.nls"},{"lang":"de","nls":{"entityTypeSelectDialogTitle":"Wählen Sie Objekttypen","listHeaderLabel":"Objekttypen","entityTypeSelectDialogButtonLabel":"Auswählen","editSelectionButton":"Auswahl bearbeiten","emptyListWarning":"Objekttypen werden hier angezeigt","hideTooltip":"Ausgewählte Objekttypen ausblenden","showTooltip":"Ausgewählte Objekttypen anzeigen","showSelectedLabel":"Nur ausgewählte Objekttypen anzeigen","showAllLabel":"Alle anzeigen","addSelectionLabel":"Auswahl hinzufügen","selectionListPlaceholder":"Objekttypen werden hier angezeigt","selectionListLabel":"Ausgewählte Objekttypen","noSearchResults":"Keine Ergebnisse für \"$1\"","noSearchResultsFilters":"Keine Objekttypen ausgewählt","noSearchResultsFiltersAndQuery":"Keine Ergebnisse in den ausgewählten Entitätstypen"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/de/esadEntityTypeSelect.nls"},{"lang":"sv","nls":{"entityTypeSelectDialogTitle":"Välj entitetstyper","listHeaderLabel":"Entitetstyper","entityTypeSelectDialogButtonLabel":"Välj","editSelectionButton":"Redigera urval","emptyListWarning":"Entitetstyper visas här","hideTooltip":"Dölj valda entitetstyper","showTooltip":"Visa valda entitetstyper","showSelectedLabel":"Visa endast valda","showAllLabel":"Visa allt","addSelectionLabel":"Lägg till urval","selectionListPlaceholder":"Entitetstyper kommer att visas här","selectionListLabel":"Valda entitetstyper","noSearchResults":"Inga resultat för \"$1\"","noSearchResultsFilters":"Inga entitetstyper har valts","noSearchResultsFiltersAndQuery":"Inga matchande resultat för de valda entitetstyperna"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/sv/esadEntityTypeSelect.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/it/esadEntityTypeSelect.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/fr/esadEntityTypeSelect.nls"}];

/***/ },

/***/ "./modules/admin/nls/esadGroup.nls"
/*!*****************************************!*\
  !*** ./modules/admin/nls/esadGroup.nls ***!
  \*****************************************/
(module) {

module.exports = [{"lang":"root","nls":{"advancedOptionsCheckbox":"Advanced options","listHeaderLabel":"Group","createGroupHeader":"Create group","createGroupname":"Group name","createGroupnamePlaceholder":"Group name, must not contain whitespaces","createEntryId":"Entry ID","createEntryIdPlaceholder":"Entry ID, must not contain whitespaces","createGroupButton":"Create group","createFullname":"Display name of the group","createFullnamePlaceholder":"Display name, may include whitespaces","removeGroupMessage":"Remove group \"$1\"?","confirmRemove":"Remove","cancelRemove":"Cancel","removeHomecontext":"Do you also want to remove the associated project \"$1\"?","confirmRemoveHomecontext":"Remove","cancelRemoveHomecontext":"Cancel","failedRemoveGroup":"Failed to remove group","failCreateGroup":"Could not create group and context entry","memberHeader":"Members in group \"$1\"","memberList":"Members","groupACL":"Sharing settings","nameTaken":"This group name is already in use","nameMalformed":"The group name must be lowercase without any whitespace characters","entryIdTaken":"This entry ID is already in use","entryIdMalformed":"The entry ID must be lowercase without any whitespace characters","setNamePlaceholder":"Group name, without whitespaces","groupName":"Group name","editEntry":"Edit","createEntryName":"group","manager":"Manager","member":"Member","removeManager":"The user is manager and cannot be removed from the group. You have to downgrade the user to a regular member before removal.","removeMemberFromGroup":"Are you sure you want to remove the member from the group?","removeSuccessMessage":"The user has been removed from the group","removeFailMessage":"Failed to remove user from group","emptyMessageMembers":"Members of the group will be shown here","nonMemberInfoMsg":"Contact the manager of the group if you need to change something","actionTooltip":"Create group","removeGroupFromUser":"Are you sure you want to remove the user from the group?","unnamedWorkspace":"Group with ID \"$1\".","selectEntity":"Add","selectedEntityLabel":"Added","selectGroup":"Select a group to add the user to","addUserToGroupNLS":"Add user to group","emptyListWarning":"Groups the user is a member of will be shown here","createGroupSuccess":"Group created successfully","createGroupFail":"Failed to create group","close":"Close"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/esadGroup.nls"},{"lang":"de","nls":{"createGroupHeader":"Gruppe erstellen","createGroupname":"Gruppenname","createGroupnamePlaceholder":"Gruppenname, darf keine Leerzeichen enthalten","createGroupButton":"Gruppe erstellen","createFullname":"Anzeigename der Gruppe","createFullnamePlaceholder":"Anzeigename, darf Leerzeichen enthalten","confirmRemove":"Entfernen","cancelRemove":"Abbrechen","removeHomecontext":"Möchten Sie auch das zugehörige Projekt \"$1\" entfernen?","confirmRemoveHomecontext":"Entfernen","cancelRemoveHomecontext":"Abbrechen","memberHeader":"Mitglieder der Gruppe \"$1\"","memberList":"Mitglieder","groupACL":"Teilungseinstellungen","nameTaken":"Der Gruppenname ist bereits in Verwendung","nameMalformed":"Der Gruppenname muss aus Kleinbuchstaben bestehen und darf keine Leerzeichen enthalten","setNamePlaceholder":"Gruppenname, ohne Leerzeichen","groupName":"Gruppenname","editEntry":"Bearbeiten","createEntryName":"Gruppe","manager":"Manager","member":"Mitglied","removeManager":"Der Benutzer ist Manager und kann nicht aus der Gruppe entfernt werden. Sie müssen ihn zu einem regulären Mitglied herunterstufen bevor Sie ihn aus der Gruppe entfernen können.","emptyMessageMembers":"Gruppenmitglieder werden hier angezeigt werden","nonMemberInfoMsg":"Kontaktieren Sie den Manager dieser Gruppe falls Sie etwas ändern müssen","listHeaderLabel":"Gruppe","removeMemberFromGroup":"Möchten Sie den Benutzer aus der Gruppe entfernen?","actionTooltip":"Gruppe erstellen","addUserToGroupNLS":"Benutzer zur Gruppe hinzufügen","advancedOptionsCheckbox":"Erweiterte Optionen","createEntryId":"Eintrags-ID","createEntryIdPlaceholder":"Eintrags-ID, darf keine Leerzeichen enthalten","failCreateGroup":"Einträge für Gruppe oder Kontext konnte nicht erstellt werden","entryIdTaken":"Diese Eintrags-ID wird bereits verwendet","entryIdMalformed":"Die Eintrags-ID muss in Kleinbuchstaben und ohne Leerzeichen angegeben werden","removeGroupFromUser":"Soll der Benutzer aus der Gruppe entfernt werden?","unnamedWorkspace":"Gruppe mit ID \"$1\".","selectEntity":"Hinzufügen","selectGroup":"Wählen Sie eine Gruppe aus, zu der der Benutzer hinzugefügt werden soll","close":"Schließen","emptyListWarning":"Hier werden die Gruppen angezeigt, in denen der Benutzer Mitglied ist","removeGroupMessage":"Gruppe \"$1\" entfernen?","failedRemoveGroup":"Die Gruppe konnte nicht entfernt werden","selectedEntityLabel":"Hinzugefügt","removeSuccessMessage":"Der Benutzer wurde aus der Gruppe entfernt","removeFailMessage":"Der Benutzer konnte nicht aus der Gruppe entfernt werden","createGroupSuccess":"Gruppe erfolgreich erstellt","createGroupFail":"Gruppe konnte nicht erstellt werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/de/esadGroup.nls"},{"lang":"sv","nls":{"createGroupHeader":"Skapa grupp","createGroupname":"Gruppnamn","createGroupnamePlaceholder":"Gruppnamn, får inte innehålla blanktecken","createGroupButton":"Skapa grupp","createFullname":"Gruppens visningsnamn","createFullnamePlaceholder":"Visningsnamn, får innehålla mellanslag","confirmRemove":"Ta bort","cancelRemove":"Avbryt","removeHomecontext":"Vill du också ta bort det associerade projektet \"$1\"?","confirmRemoveHomecontext":"Ta bort","cancelRemoveHomecontext":"Avbryt","memberHeader":"Medlemmar i grupp \"$1\"","memberList":"Medlemmar","groupACL":"Delningsinställningar","nameTaken":"Detta gruppnamn är taget, välj ett annat.","nameMalformed":"Namnet får enbart bestå av små bokstäver och inte innehålla blanktecken.","setNamePlaceholder":"Gruppnamn, inga mellanslag","groupName":"Namn","editEntry":"Redigera","createEntryName":"grupp","manager":"Gruppansvarig","member":"Medlem","removeManager":"Användaren är gruppansvarig och kan inte tas bort från gruppen. Du måste nedgradera användaren till en vanlig medlem innan den kan tas bort.","emptyMessageMembers":"Gruppmedlemmar kommer visas här","nonMemberInfoMsg":"Kontakta gruppansvarig om du vill ändra någonting","listHeaderLabel":"Grupp","removeMemberFromGroup":"Vill du ta bort användaren från gruppen?","actionTooltip":"Skapa grupp","addUserToGroupNLS":"Lägg till användare i grupp","advancedOptionsCheckbox":"Avancerade inställningar","createEntryId":"Post-ID","createEntryIdPlaceholder":"Post-ID, får inte innehålla mellanslag","failCreateGroup":"Det gick inte att skapa poster för grupp och kontext","entryIdTaken":"Detta post-ID används redan","entryIdMalformed":"Post-ID måste bestå av gemener utan mellanslag","removeGroupFromUser":"Ska användaren tas bort från gruppen?","unnamedWorkspace":"Grupp med ID \"$1\".","selectEntity":"Lägg till","selectGroup":"Välj en grupp att lägga till användaren till","close":"Stäng","emptyListWarning":"Grupper som användaren är medlem i kommer visas här","removeGroupMessage":"Ta bort grupp \"$1\"?","failedRemoveGroup":"Gruppen kunde inte tas bort","selectedEntityLabel":"Lagt till","removeSuccessMessage":"Användaren har tagits bort från gruppen","removeFailMessage":"Det gick inte att ta bort användaren från gruppen","createGroupSuccess":"Gruppen har skapats","createGroupFail":"Gruppen kunde inte skapas"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/sv/esadGroup.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/it/esadGroup.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/fr/esadGroup.nls"}];

/***/ },

/***/ "./modules/admin/nls/esadProjectType.nls"
/*!***********************************************!*\
  !*** ./modules/admin/nls/esadProjectType.nls ***!
  \***********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"addLabel":"Create","addTooltip":"Create project type","createCustomEntityTypeSuccess":"Project type created successfully","createHeader":"Create project type","close":"Close","disabledSelectionTooltip":"Already in use","editCustomEntityTypeSuccess":"Project type saved successfully","editHeader":"Edit project type","emptyListWarning":"Project types will appear here","entityTypeSelectDialogTitle":"Select entity types","iconTooltip":"Project type","listHeaderLabel":"Project types","removeProjectTypeSuccess":"Project type removed successfully","removeProjectTypeFail":"An error occured while removing the project type","showTypeInfoDialogTitle":"Show project type configuration","typeInfoDialogTitle":"Project type configuration"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/esadProjectType.nls"},{"lang":"de","nls":{"addLabel":"Erstellen","addTooltip":"Projekttyp erstellen","createCustomEntityTypeSuccess":"Der Projekttyp wurde erstellt","createHeader":"Projekttyp erstellen","close":"Schließen","disabledSelectionTooltip":"Bereits in Verwendung","editCustomEntityTypeSuccess":"Der Projekttyp wurde gespeichert","editHeader":"Projekttyp bearbeiten","emptyListWarning":"Projekttypen werden hier angezeigt","entityTypeSelectDialogTitle":"Wählen Sie Objekttypen aus","iconTooltip":"Projekttyp","listHeaderLabel":"Projekttyp","removeProjectTypeSuccess":"Der Projekttyp wurde entfernt","removeProjectTypeFail":"Fehler beim Entfernen des Projekttyps","showTypeInfoDialogTitle":"Beim Entfernens des Projekttyps ist ein Fehler aufgetreten","typeInfoDialogTitle":"Konfiguration des Projekttyps"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/de/esadProjectType.nls"},{"lang":"sv","nls":{"addLabel":"Skapa","addTooltip":"Skapa projekttyp","createCustomEntityTypeSuccess":"Projekttypen har skapats","createHeader":"Skapa projekttyp","close":"Stäng","disabledSelectionTooltip":"Används redan","editCustomEntityTypeSuccess":"Projekttypen har sparats","editHeader":"Redigera projekttyp","emptyListWarning":"Projekttyper kommer att visas här","entityTypeSelectDialogTitle":"Välj entitetstyper","iconTooltip":"Projekttyp","listHeaderLabel":"Projekttyper","removeProjectTypeSuccess":"Projekttypen har tagits bort","removeProjectTypeFail":"Ett fel uppstod när projekttypen skulle tas bort","showTypeInfoDialogTitle":"Visa projekttypskonfiguration","typeInfoDialogTitle":"Projekttypskonfiguration"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/sv/esadProjectType.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/it/esadProjectType.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/fr/esadProjectType.nls"}];

/***/ },

/***/ "./modules/admin/nls/esadType.nls"
/*!****************************************!*\
  !*** ./modules/admin/nls/esadType.nls ***!
  \****************************************/
(module) {

module.exports = [{"lang":"root","nls":{"labelListHeader":"Label","modifiedListHeader":"Modified","close":"Close","createButtonLabel":"Create","editHeader":"Edit","endpointLabel":"Endpoint","labelsLabel":"Labels","showAdvancedLabel":"Show advanced options","hideAdvancedLabel":"Hide advanced options","confirmRemove":"Remove","cancelRemove":"Cancel","removeConfirmMessage":"Remove the entry?","constraintsLabel":"Constraints","constraintObjectLabel":"Constraint object","constraintPropertyLabel":"Constraint property","labelLabel":"Label","descriptionLabel":"Description","rdfTypeLabel":"RDF type","templateLabel":"Template","moduleLabel":"Module","includeInternalLabel":"Include internal","inlineCreationLabel":"Inline creation","includeFileLabel":"Include file","includeLinkLabel":"Include link","createOptionsLabel":"Create options","iconIdLabel":"Icon ID","useWithLabel":"Use with","refinesLabel":"Refines","templateLevelLabel":"Template level","publishControlLabel":"Publish control","searchPropsLabel":"Search props","allContextsLabel":"All contexts","contextLabel":"Context","uriPatternLabel":"URI pattern","restrictToLabel":"Restrict to","globalLabel":"Global","mainLabel":"Main","storeConfigLabel":"Store config","defaultEntityTypesLabel":"Default entity types","optioinalEntityTypesLabel":"Optional entity types","namespaceLabel":"Namespace","localNameLabel":"Local name"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/esadType.nls"},{"lang":"de","nls":{"labelListHeader":"Bezeichnung","modifiedListHeader":"Geändert","close":"Schließen","createButtonLabel":"Erstellen","editHeader":"Bearbeiten","showAdvancedLabel":"Erweiterte Optionen anzeigen","hideAdvancedLabel":"Erweiterte Optionen verbergen","confirmRemove":"Entfernen","cancelRemove":"Abbrechen","removeConfirmMessage":"Eintrag entfernen?","endpointLabel":"Endpunkt","labelsLabel":"Labels","constraintsLabel":"Begrenzungen","constraintObjectLabel":"Begrenzungsobjekt","constraintPropertyLabel":"Begrenzungseigenschaft","namespaceLabel":"Namensraum","localNameLabel":"Lokaler Name","labelLabel":"Name","descriptionLabel":"Beschreibung","rdfTypeLabel":"RDF-Typ","templateLabel":"Vorlage","moduleLabel":"Modul","includeInternalLabel":"Intern inkludieren","inlineCreationLabel":"Inline-Erstellung","includeFileLabel":"Datei inkludieren","includeLinkLabel":"Link inkludieren","createOptionsLabel":"Optionen erstellen","iconIdLabel":"Symbol ID","useWithLabel":"Verwenden mit","refinesLabel":"Verfeinert","templateLevelLabel":"Vorlagenebene","publishControlLabel":"Veröffentlichungskontrolle","searchPropsLabel":"Eigenschaften für Suche","allContextsLabel":"Alle Kontexte","contextLabel":"Kontext","uriPatternLabel":"URI-Muster","restrictToLabel":"Beschränken auf","globalLabel":"Global","mainLabel":"Main","storeConfigLabel":"Store-Konfiguration","defaultEntityTypesLabel":"Standardobjekttypen","optioinalEntityTypesLabel":"Optionale objekttypen"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/de/esadType.nls"},{"lang":"sv","nls":{"labelListHeader":"Beteckning","modifiedListHeader":"Ändrad","close":"Stäng","createButtonLabel":"Skapa","editHeader":"Redigera","showAdvancedLabel":"Visa avancerade alternativ","hideAdvancedLabel":"Dölj avancerade alternativ","confirmRemove":"Ta bort","cancelRemove":"Avbryt","removeConfirmMessage":"Ta bort posten?","endpointLabel":"Endpoint","labelsLabel":"Labels","constraintsLabel":"Begränsningar","constraintObjectLabel":"Begränsningsobjekt","constraintPropertyLabel":"Begränsningsegenskap","namespaceLabel":"Namnrymd","localNameLabel":"Lokalt namn","labelLabel":"Namn","descriptionLabel":"Beskrivning","rdfTypeLabel":"RDF-typ","templateLabel":"Mall","moduleLabel":"Modul","includeInternalLabel":"Inkludera internt","inlineCreationLabel":"Inline-skapning","includeFileLabel":"Inkludera fil","includeLinkLabel":"Inkludera länk","createOptionsLabel":"Skapa alternativ","iconIdLabel":"Symbol-ID","useWithLabel":"Använd med","refinesLabel":"Förfinar","templateLevelLabel":"Mallnivå","publishControlLabel":"Publiceringskontroll","searchPropsLabel":"Egenskaper för sökning","allContextsLabel":"Alla kontext","contextLabel":"Kontext","uriPatternLabel":"URI-mönster","restrictToLabel":"Begränsa till","globalLabel":"Global","mainLabel":"Main","storeConfigLabel":"Store-konfiguration","defaultEntityTypesLabel":"Standardentitetstyper","optioinalEntityTypesLabel":"Valfria entitetstyper"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/sv/esadType.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/it/esadType.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/fr/esadType.nls"}];

/***/ },

/***/ "./modules/admin/nls/esadUser.nls"
/*!****************************************!*\
  !*** ./modules/admin/nls/esadUser.nls ***!
  \****************************************/
(module) {

module.exports = [{"lang":"root","nls":{"listHeaderLabel":"User","unnamedUser":"User with ID \"${id}\".","createUserHeader":"Create user","createUsername":"Username","createUsernamePlaceholder":"Username, should be a valid email address","createUsernameHelptext":"Username, has to be a valid email address to be able to reset password","usernameTaken":"This username is already in use.","usernameHasSpaces":"The username should not contain spaces.","createUserButton":"Create user","createContextWithUser":"Create personal project","createFirstname":"Given name","createFirstnamePlaceholder":"The given name of the user","createLastname":"Family name","createLastnamePlaceholder":"The family name of the user","removeHomecontext":"Remove the user's personal project as well?","confirmRemoveHomecontext":"Remove","cancelRemoveHomecontext":"Cancel","groupsList":"Memberships","groupHeader":"Groups of which user \"${user}\" is member","userACL":"Sharing settings","selectUser":"Select user to add to group","selectEntity":"Select","listHeaderUser":"User","userStatusEnable":"Enable","userStatusDisable":"Disable","userStatusDisabled":"This user is disabled and cannot sign in to the application","userStatusEnableConfirmation":"Are you sure you want to enable this user? Doing so will allow the user to sign in to the application.","userStatusDisableConfirmation":"Are you sure you want to disable this user? Doing so will disallow the user from signing in to the application.","setPassword":"Change password","setPasswordHeader":"Change password","setPasswordButton":"Save new password","setPasswordError":"The password could not be changed","currentPasswordError":"The provided current password is wrong","setPasswordSuccess":"Password changed successfully","changeUsernameFail":"Failed to change username","customProperties":"Custom properties","createEntryName":"user","changeUsername":"Change username","currentUsernameLabel":"Current username","changeUsernameLabel":"Change username to","changeUsernameHeader":"Change username","changeUsernameButton":"Save new username","addToPremiumGroup":"Upgrade to premium","removeFromPremiumGroup":"Downgrade from premium","upgradeToPremiumNotification":"User has been upgraded to premium","downgradeFromPremiumNotification":"User has been downgraded from premium","actionTooltip":"Create user","usernameRequired":"Username is required","firstnameRequired":"First name is required","lastnameRequired":"Last name is required","disableUserButtonLabel":"Disable","createUserSuccess":"User created successfully","createUserFail":"Failed to create user","enableUserButtonLabel":"Enable","disabledTag":"Disabled","removeUserMessage":"Remove user \"$1\"?"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/esadUser.nls"},{"lang":"de","nls":{"unnamedUser":"Benutzer mit ID \"${id}\".","createUserHeader":"Benutzer erstellen","createUsername":"Benutzername","createUsernamePlaceholder":"Benutzername, muss eine gültige E-Mail-Adresse sein","usernameTaken":"Der Benutzername ist bereits in Verwendung.","createUserButton":"Benutzer erstellen","createContextWithUser":"Persönliches Projekt erstellen","createFirstname":"Vorname","createFirstnamePlaceholder":"Der Vorname des Benutzers","createLastname":"Nachname","createLastnamePlaceholder":"Der Nachname des Benutzers","removeHomecontext":"Soll auch das persönliche Projekt des Benutzers entfernt werden?","confirmRemoveHomecontext":"Entfernen","cancelRemoveHomecontext":"Abbrechen","groupsList":"Mitgliedschaften","groupHeader":"Gruppen, deren Mitglied \"${user}\" ist","userACL":"Teilungseinstellungen","setPassword":"Kennwort ändern","setPasswordHeader":"Kennwort ändern","setPasswordButton":"Neues Kennwort speichern","customProperties":"Benutzerdefinierte Eigenschaften","setPasswordError":"Das Kennwort konnte nicht geändert werden","createEntryName":"Benutzer","changeUsername":"Benutzername ändern","currentUsernameLabel":"Aktueller Benutzername","changeUsernameLabel":"Benutzername ändern auf","changeUsernameHeader":"Benutzername ändern","changeUsernameButton":"Benutzername speichern","addToPremiumGroup":"Auf Premium upgraden","removeFromPremiumGroup":"Downgrade von Premium","userStatusEnable":"Aktivieren","userStatusDisable":"Deaktivieren","userStatusDisabled":"Dieser Benutzer ist deaktiviert und kann sich nicht anmelden","userStatusEnableConfirmation":"Möchten Sie diesen Benutzer aktivieren? Dies ermöglicht dem Benutzer sich anzumelden.","userStatusDisableConfirmation":"Möchten Sie diesen Benutzer deaktivieren? Dies führt dazu dass der Benutzer sich nicht mehr anmelden kann.","usernameHasSpaces":"Der Benutzername sollte keine Leerzeichen enthalten.","listHeaderLabel":"Benutzer","selectUser":"Wählen Sie den Benutzer aus, der der Gruppe hinzugefügt werden soll","selectEntity":"Wählen","listHeaderUser":"Benutzer","setPasswordSuccess":"Das Kennwort wurde geändert","actionTooltip":"Benutzer erstellen","firstnameRequired":"Vorname ist erforderlich","lastnameRequired":"Nachname ist erforderlich","usernameRequired":"Ein Benutzername wird benötigt","disableUserButtonLabel":"Deaktivieren","enableUserButtonLabel":"Aktivieren","createUsernameHelptext":"Benutzername, muss eine gültige E-Mail-Adresse sein um das Kennwort zurücksetzen zu können","upgradeToPremiumNotification":"Der Benutzer wurde auf Premium hochgestuft","downgradeFromPremiumNotification":"Der Benutzer wurde von Premium heruntergestuft","currentPasswordError":"Das angegebene aktuelle Kennwort ist falsch","createUserSuccess":"Benutzer erfolgreich erstellt","createUserFail":"Benutzer konnte nicht erstellt werden","changeUsernameFail":"Der Benutzername konnte nicht geändert werden","removeUserMessage":"Benutzer \"$1\" entfernen?","disabledTag":"Deaktiviert"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/de/esadUser.nls"},{"lang":"sv","nls":{"unnamedUser":"Användare med ID \"${id}\".","createUserHeader":"Skapa användare","createUsername":"Användarnamn","createUsernamePlaceholder":"Användarnamn, måste vara en e-post-adress","usernameTaken":"Detta användarnamn är taget, välj ett annat.","createUserButton":"Skapa användare","createContextWithUser":"Skapa ett personligt projekt","createFirstname":"Förnamn","createFirstnamePlaceholder":"Användarens förnamn","createLastname":"Efternamn","createLastnamePlaceholder":"Användarens efternamn","removeHomecontext":"Ta även bort användarens personliga projekt?","confirmRemoveHomecontext":"Ta bort","cancelRemoveHomecontext":"Avbryt","groupsList":"Medlemskap","groupHeader":"Grupper där användaren \"${user}\" är medlem","userACL":"Delningsinställningar","setPassword":"Ändra lösenord","setPasswordHeader":"Ändra lösenord","setPasswordButton":"Spara nytt lösenord","customProperties":"Anpassade egenskaper","setPasswordError":"Lösenordet kunde inte ändras","createEntryName":"användare","changeUsername":"Ändra användarnamn","currentUsernameLabel":"Nuvarande användarnamn","changeUsernameLabel":"Ändra användarnamn till","changeUsernameHeader":"Ändra användarnamn","changeUsernameButton":"Spara nytt användarnamn","addToPremiumGroup":"Uppgradera till premium","removeFromPremiumGroup":"Nedgradera från premium","userStatusEnable":"Aktivera","userStatusDisable":"Inaktivera","userStatusDisabled":"Användaren är inaktiverad och kan inte logga in","userStatusEnableConfirmation":"Är du säker på att du vill aktivera användaren? Om du gör det kan användaren logga in.","userStatusDisableConfirmation":"Är du säker på att du vill inaktivera användaren? Om du gör det kommer användaren inte att kunna logga in.","usernameHasSpaces":"Användarnamnet bör inte innehålla mellanslag.","listHeaderLabel":"Användare","selectUser":"Välj användare som du vill lägga till i gruppen","selectEntity":"Välj","listHeaderUser":"Användare","setPasswordSuccess":"Lösenordet har ändrats","actionTooltip":"Skapa användare","firstnameRequired":"Förnamn krävs","lastnameRequired":"Efternamn krävs","usernameRequired":"Användarnamn krävs","disableUserButtonLabel":"Avaktivera","enableUserButtonLabel":"Aktivera","createUsernameHelptext":"Användarnamnet, måste vara en korrekt e-post-adress för att kunna återställa lösenordet","upgradeToPremiumNotification":"Användare har uppgraderats till premium","downgradeFromPremiumNotification":"Användare har nedgraderats från premium","currentPasswordError":"Det angivna aktuella lösenordet är fel","createUserSuccess":"Användaren har skapats","createUserFail":"Användaren kunde inte skapas","changeUsernameFail":"Användarnamn kunde inte sparas","removeUserMessage":"Ta bort användare \"$1\"?","disabledTag":"Inaktiverad"},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/sv/esadUser.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/it/esadUser.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/admin/nls/fr/esadUser.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaApiProgress.nls"
/*!*************************************************!*\
  !*** ./modules/catalog/nls/escaApiProgress.nls ***!
  \*************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"apiRegenerateHeader":"Refresh API","apiRegenerateButton":"Close","apiProgressFooterButton":"Done","apiCreateHeader":"Create API","apiInitialized":"Initialized","apiGenerationTask":"Generating API","apiFileProcessed":"${number} of ${totalFiles} files have been processed","apiFileProcessedOnlyAddition":"${number} of ${totalFiles} newly added files have been processed","apiProgressError":"Something went wrong while processing the input data. Check the input and refresh.","apiProgressWarning":"The API is still being processed. You can close this dialog safely and check the API info dialog later on.","nlsProgressSuccess":"API generated successfully","nlsProgressFailure":"API generation failed","activateApiDialogButton":"Close"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaApiProgress.nls"},{"lang":"de","nls":{"apiRegenerateHeader":"API aktualisieren","apiProgressFooterButton":"Fertig","apiCreateHeader":"API erstellen","apiInitialized":"Initialisiert","apiFileProcessed":"Datei ${number} wurde behandelt","apiProgressError":"Bei der Bearbeitung der tabellarischen Daten ist ein Fehler aufgetreten. Ändern Sie die Dateien und aktualisieren Sie die API.","apiGenerationTask":"API wird erstellt","nlsProgressSuccess":"Die API wurde erstellt","apiFileProcessedOnlyAddition":"${number} von ${totalFiles} neu hinzugefügten Dateien wurden verarbeitet","apiProgressWarning":"Die API wird noch verarbeitet. Sie können diesen Dialog schließen und den Status der API später über den Info-Dialog kontrollieren.","apiRegenerateButton":"Schließen","nlsProgressFailure":"Die Erstellung der API ist fehlgeschlagen","activateApiDialogButton":"Schließen"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaApiProgress.nls"},{"lang":"sv","nls":{"apiRegenerateHeader":"Uppdatera API","apiProgressFooterButton":"Klart","apiCreateHeader":"Skapa API","apiInitialized":"Initialiserad","apiFileProcessed":"Fil ${number} klar","apiProgressError":"Något med filerna gör att API:et inte kan uppdateras, ändra filerna och försök att uppdatera API:et igen.","apiGenerationTask":"Skapar API","nlsProgressSuccess":"API:et har skapats","apiFileProcessedOnlyAddition":"${number} av ${totalFiles} nya filer har bearbetats","apiProgressWarning":"API:et behandlas fortfarande. Du kan stänga den här dialogrutan och kontrollera API:ets status genom informationsdialogen vid ett senare tillfälle.","apiRegenerateButton":"Stäng","nlsProgressFailure":"API-skapning misslyckades","activateApiDialogButton":"Stäng"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaApiProgress.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaApiProgress.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaApiProgress.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaCatalog.nls"
/*!*********************************************!*\
  !*** ./modules/catalog/nls/escaCatalog.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"listHeaderLabel":"Catalog","createButtonLabel":"Create","createPopoverMessage":"Some data portals expect only one catalog per organization, in such cases it is recommended that you create multiple catalogs only if you represent multiple organizations.","createCatalogHeader":"Create catalog","createCatalogName":"Catalog name","createCatalogNamePlaceholder":"Catalog name","createCatalogDesc":"Catalog description","createCatalogDescPlaceholder":"Catalog description","createAgentName":"Publisher","createAgentNamePlaceholder":"Publisher","catalogExport":"Export","catalogEmbed":"Embed","catalogMember":"Sharing settings","confirmRemoveCatalog":"Remove this catalog including all its datasets, distributions and other related information?","confirmRemoveCatalogWithApiDistributions":"This catalog has API distributions which have to be removed first.","failureRemoveCatalog":"An error occurred while removing the catalog","privateCatalogTitle":"This catalog is not public","publicCatalogTitle":"This catalog is public","catalogSharingNoAccess":"You cannot publish or unpublish this catalog as you are not its owner.","exportText":"Export catalog metadata as single file, containing information about datasets, distributions, contact points, publishers, etc.","exportFormatSelect":"Select format","exportURLLabel":"Web address of catalog","downloadLabel":"Access catalog metadata in DCAT-AP format","downloadButton":"Download","emptyListWarning":"Catalogs will appear here","emptyListWithNoAccessWarning":"Catalogs will appear here. Contact an administrator to either create a catalog or to provide you with access to an existing one.","listNavAriaLabel":"Catalogs","apiExistsToUnpublishCatalog":"This catalog contains APIs which will continue to be accessible even if you unpublish this catalog.<br>Do you want to unpublish this catalog anyway?","agentNamePlaceholder":"Enter a name for the publisher","actionTooltip":"Create catalog","selectFormatAriaLabel":"Select format button group","nameRequired":"Name is required","descriptionRequired":"Description is required","reasonForRevisionMessage":"Datasets have been added and/or removed since the previous revision.","publisherRequired":"Publisher is required","download":"Export ${entryLabel}","close":"Close","changeProjectTypeLabel":"Change project type","noRevertSameGraphExcludeTitle":"There is nothing to restore. The latest revision is identical except for information that cannot be easily recovered (e.g. relationships to datasets).","distRevertExcludeMessage":"Changes in relations will not be reverted","createCatalogSuccess":"Catalog created successfully","removeSnackbarMessage":"Catalog removed successfully","removeFailSnackbarMessage":"Failed to remove catalog","overviewCatalogLabel":"Catalog","commentsLabel":"Comments","createCatalogFail":"Failed to create catalog","parentCatalogTag":"Parent catalog","subCatalogTag":"Subcatalog","searchDialogTitle":"Search for catalogs","addOrCreateRelationTitle":"Search for and add subcatalogs","relationsListPlaceholder":"Subcatalogs will appear here","overviewParentCatalog":"Parent catalog"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaCatalog.nls"},{"lang":"de","nls":{"createButtonLabel":"Erstellen","createPopoverMessage":"Manche Datenportale erwarten nur einen Katalog pro Organisation. In solchen Fällen wird daher empfohlen, dass Sie mehrere Kataloge nur dann erstellen, wenn Sie mehrere Organisationen repräsentieren.","createCatalogHeader":"Katalog erstellen","createCatalogName":"Katalogname","createCatalogNamePlaceholder":"Katalogname","createCatalogDesc":"Katalogbeschreibung","createCatalogDescPlaceholder":"Katalogbeschreibung","createAgentName":"Herausgeber","createAgentNamePlaceholder":"Herausgeber","confirmRemoveCatalog":"Wollen Sie diesen Katalog einschließlich aller Datensätze, Distributionen und anderen damit zusammenhängenden Informationen entfernen?","failureRemoveCatalog":"Während des Entfernens des Kataloges ist ein Fehler aufgetreten","privateCatalogTitle":"Dieser Katalog ist nicht öffentlich","publicCatalogTitle":"Dieser Katalog ist öffentlich","catalogSharingNoAccess":"Sie können die Teilungseinstellungen dieses Kataloges nicht ändern, da Sie nicht dessen Eigentümer sind.","exportText":"Katalog als Einzeldatei exportieren. Der Export enthält Metadaten zu allen Objekten wie Datensätzen, Distributionen, Kontaktpunkten und Herausgebern.","exportFormatSelect":"Format wählen","exportURLLabel":"Webadresse des Kataloges","downloadLabel":"Auf Metadaten des Kataloges im DCAT-AP Format zugreifen","downloadButton":"Herunterladen","emptyListWarning":"Hier werden Kataloge angezeigt","reasonForRevisionMessage":"Seit der letzten Version wurden Datensätze hinzugefügt und/oder entfernt.","catalogExport":"Exportieren","catalogEmbed":"Einbetten","catalogMember":"Teilungseinstellungen","confirmRemoveCatalogWithApiDistributions":"Dieser Katalog hat API-Distributionen, die zuerst entfernt werden müssen.","apiExistsToUnpublishCatalog":"Dieser Katalog enthält APIs die auch dann noch zugänglich sein werden, wenn Sie die Teilungseinstellungen dieses Katalogs ändern.<br>Möchten Sie dennoch fortfahren?","agentNamePlaceholder":"Geben Sie einen Namen für den Herausgeber ein","emptyListWithNoAccessWarning":"Kataloge werden hier angezeigt. Wenden Sie sich an einen Administrator um einen Katalog zu erstellen oder um Zugriff auf einen vorhandenen Katalog zu erhalten.","listHeaderLabel":"Katalog","listNavAriaLabel":"Kataloge","actionTooltip":"Katalog erstellen","selectFormatAriaLabel":"Buttongruppe zur Formatwahl","nameRequired":"Name ist erforderlich","descriptionRequired":"Beschreibung ist erforderlich","publisherRequired":"Herausgeber ist erforderlich","download":"${entryLabel} exportieren","close":"Schließen","changeProjectTypeLabel":"Projekttyp ändern","noRevertSameGraphExcludeTitle":"Es gibt nichts zu wiederherzustellen. Die neueste Revision ist identisch mit Ausnahme von Informationen die nicht einfach wiederhergestellt werden können (z.B. Verweise auf Datensätzen).","distRevertExcludeMessage":"Änderungen der Verweise werden nicht rückgängig gemacht","createCatalogSuccess":"Katalog erfolgreich erstellt","createCatalogFail":"Katalog konnte nicht erstellt werden","removeSnackbarMessage":"Katalog erfolgreich entfernt","removeFailSnackbarMessage":"Katalog konnte nicht entfernt werden","overviewCatalogLabel":"Katalog","commentsLabel":"Kommentare","parentCatalogTag":"Übergeordneter Katalog","subCatalogTag":"Unterkatalog","searchDialogTitle":"Suche nach Katalogen","addOrCreateRelationTitle":"Unterkataloge suchen und hinzufügen","relationsListPlaceholder":"Unterkataloge werden hier angezeigt","overviewParentCatalog":"Übergeordneter Katalog"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaCatalog.nls"},{"lang":"sv","nls":{"createButtonLabel":"Skapa","createPopoverMessage":"Vissa dataportaler förväntar sig enbart en katalog per organisation. I sådana fall rekommenderas att du skapar flera kataloger enbart om du företräder flera organisationer.","createCatalogHeader":"Skapa katalog","createCatalogName":"Katalognamn","createCatalogNamePlaceholder":"Katalognamn","createCatalogDesc":"Katalogbeskrivning","createCatalogDescPlaceholder":"Katalogbeskrivning","createAgentName":"Tillhandahållande organisation","createAgentNamePlaceholder":"Tillhandahållande organisation","confirmRemoveCatalog":"Är du säker att du vill ta bort katalogen med dess datamängder, distributioner och annan relaterad information?","failureRemoveCatalog":"Ett fel uppstod vid borttagningen av katalogen","privateCatalogTitle":"Katalogen är inte publik","publicCatalogTitle":"Katalogen är publik","catalogSharingNoAccess":"Du kan inte publicera eller avpublicera denna katalog då du inte är dess ägare.","exportText":"Katalogens metadata kan laddas ned som enskild fil som innehåller all information såsom datamängder, distributioner, kontakter, mm.","exportFormatSelect":"Välj format","exportURLLabel":"Katalogens webbadress","downloadLabel":"Få tillgång till metadata i DCAT-AP-format","downloadButton":"Ladda ner","emptyListWarning":"Kataloger kommer att visas här","reasonForRevisionMessage":"Datamängder har lagts till och/eller tagits bort sedan närmast föregående version.","catalogExport":"Exportera","catalogEmbed":"Inbäddning","catalogMember":"Delningsinställningar","confirmRemoveCatalogWithApiDistributions":"Denna katalog har API-distributioner som måste tas bort först","apiExistsToUnpublishCatalog":"Denna katalog innehåller API:er som kommer att vara tillgängliga även om du avpublicerar katalogen.<br>Vill du avpublicera katalogen ändå?","agentNamePlaceholder":"Ange ett namn för organisationen","emptyListWithNoAccessWarning":"Kataloger kommer att visas här. Kontakta en administratör för att antingen skapa en katalog eller för att ge dig tillgång till en befintlig.","listHeaderLabel":"Katalog","listNavAriaLabel":"Kataloger","actionTooltip":"Skapa katalog","selectFormatAriaLabel":"Knappgrupp för formatval","nameRequired":"Namn krävs","descriptionRequired":"Beskrivning krävs","publisherRequired":"Organisation krävs","download":"Exportera ${entryLabel}","close":"Stäng","changeProjectTypeLabel":"Ändra projekttyp","noRevertSameGraphExcludeTitle":"Det finns inget att återställa. Den senaste versionen är identisk förutom information som inte enkelt kan återställas (t.ex. relationer till datamängder).","distRevertExcludeMessage":"Ändringar i relationer kommer inte att återställas","createCatalogSuccess":"Katalog skapad","createCatalogFail":"Det gick inte att skapa katalogen","removeSnackbarMessage":"Katalogen har tagits bort","removeFailSnackbarMessage":"Katalogen kunde inte tas bort","overviewCatalogLabel":"Katalog","commentsLabel":"Kommentarer","parentCatalogTag":"Överordnad katalog","subCatalogTag":"Underkatalog","searchDialogTitle":"Sök efter kataloger","addOrCreateRelationTitle":"Sök efter och lägg till underkataloger","relationsListPlaceholder":"Underkataloger kommer att visas här","overviewParentCatalog":"Överordnad katalog"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaCatalog.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaCatalog.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaCatalog.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaCatalogSearch.nls"
/*!***************************************************!*\
  !*** ./modules/catalog/nls/escaCatalogSearch.nls ***!
  \***************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"sideBarHeading":"Catalogs","descriptionHeading":"Description","publisherHeading":"Publisher","datasetsHeading":"Datasets","headerTitleLabel":"Title","showMetadata":"Show catalog metadata","hideMetadata":"Hide catalog metadata","buttonTooltip":"Catalog metadata","ariaLabelText":"{{PLURAL|One dataset|$1 datasets}}","emptyCatalogListWarning":"There are no public catalogs to search in","emptyListWarning":"This catalog does not have public datasets yet"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaCatalogSearch.nls"},{"lang":"de","nls":{"sideBarHeading":"Kataloge","descriptionHeading":"Beschreibung","publisherHeading":"Organisation","datasetsHeading":"Datensätze","headerTitleLabel":"Titel","showMetadata":"Metadaten des Katalogs anzeigen","hideMetadata":"Metadaten des Katalogs ausblenden","buttonTooltip":"Katalogmetadaten","ariaLabelText":"{{PLURAL|Ein Datensatz|$1 Datensätze}}","emptyCatalogListWarning":"Es gibt keine öffentlichen Kataloge in denen gesucht werden könnte","emptyListWarning":"Dieser Katalog enthält noch keine öffentlichen Datensätze"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaCatalogSearch.nls"},{"lang":"sv","nls":{"sideBarHeading":"Kataloger","descriptionHeading":"Beskrivning","publisherHeading":"Organisation","datasetsHeading":"Datamängder","headerTitleLabel":"Titel","showMetadata":"Visa katalogens metadata","hideMetadata":"Dölj katalogens metadata","buttonTooltip":"Katalogens metadata","ariaLabelText":"{{PLURAL|En datamängd|$1 datamängder}}","emptyCatalogListWarning":"Det finns inga publicerade kataloger att söka i","emptyListWarning":"Denna katalog innehåller inga publicerade datamängder"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaCatalogSearch.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaCatalogSearch.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaCatalogSearch.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaContacts.nls"
/*!**********************************************!*\
  !*** ./modules/catalog/nls/escaContacts.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"unableToRemove":"This contact is in use by $1 and needs to be replaced before it can be removed.","createContactpointHeader":"Create contact","emptyListWarning":"Contacts will appear here","listHeaderLabel":"Contact","createButtonLabel":"Create","createContactSuccess":"Contact created successfully","actionTooltipContact":"Create contact","noContactsInCatalog":"No contacts found in this catalog","showContactsFromAllCatalogs":"Show contacts from all catalogs"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaContacts.nls"},{"lang":"de","nls":{"createContactpointHeader":"Kontakt erstellen","emptyListWarning":"Hier werden Kontakte angezeigt","listHeaderLabel":"Kontakt","createButtonLabel":"Erstellen","actionTooltipContact":"Kontakt erstellen","unableToRemove":"Dieser Kontakt wird von $1 verwendet und muss ersetzt werden bevor er entfernt werden kann.","createContactSuccess":"Kontakt erfolgreich erstellt","noContactsInCatalog":"Keine Kontakte in diesem Katalog gefunden","showContactsFromAllCatalogs":"Kontakte aus allen Katalogen anzeigen"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaContacts.nls"},{"lang":"sv","nls":{"createContactpointHeader":"Skapa kontakt","emptyListWarning":"Kontakter kommer att visas här","listHeaderLabel":"Kontakt","createButtonLabel":"Skapa","actionTooltipContact":"Skapa kontakt","unableToRemove":"Den här kontaktpunkten används av $1 och måste bytas ut innan den kan tas bort.","createContactSuccess":"Kontakten har skapats","noContactsInCatalog":"Inga kontakter hittades i denna katalog","showContactsFromAllCatalogs":"Visa kontakter från alla kataloger"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaContacts.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaContacts.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaContacts.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaDataset.nls"
/*!*********************************************!*\
  !*** ./modules/catalog/nls/escaDataset.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"lastUpdateLabel":"Last update","listHeader":"Datasets in catalog \"$1\"","listHeaderLabel":"Title","listHeaderCommentsLabel":"Comments","catalogListHeaderLabel":"Catalog","createButtonLabel":"Create","createButtonTooltipWithSubSeries":"Create dataset or series","createButtonTooltip":"Create dataset","createDatasetButton":"Dataset","createSeriesButton":"Dataset series","createFromServiceButton":"Dataset from service","createFromTemplateButton":"Dataset from template","createDatasetHeader":"Create dataset","createDatasetSeriesHeader":"Create dataset series","editDatasetTitle":"Edit","removeDatasetTitle":"Remove","cannotRemoveDatasetPublishedTitle":"This dataset is currently published and therefore cannot be removed","distributionsTitle":"Distributions","visualizationsTitle":"Visualizations","createDistributionHeader":"Create distribution","addDistributionTitle":"Create distribution","removeBrokenDatasetRefsWarning":"This dataset has references to distributions that don't exist. The broken references will now be removed.","removeDatasetQuestion":"Remove this dataset?","removeDatasetSeriesQuestion":"Remove this dataset series?","removeDatasetAndDistributionsQuestion":"Remove this dataset and its {{PLURAL|distribution|$1 distributions}}?","failedToRemoveDatasetDistributions":"Failed to remove some of the dataset's distributions. Aborting and not removing the dataset.","failedToCheckDataset":"Failed to load dataset information","removeDistributionQuestion":"Remove this distribution?","removeDistributionWithVisualizationQuestion":"Remove this distribution and its associated {{PLURAL:$1|visualization|$1 visualizations}}?","themeTitle":"Themes","editedTitle":"Edited by","editedByContributorNotFound":"Removed user","privateDatasetTitle":"This dataset is not public","privateDisabledDatasetTitle":"The surrounding catalog is not public, therefore you cannot make the dataset public","draftDisabledDatasetTitle":"This dataset is incomplete, therefore you cannot publish it","brokenDistPublishDisabled":"This dataset contains a broken distribution, therefore you cannot publish it","publicDatasetTitle":"This dataset is public","internallyPublishedTitle":"This dataset is internally published","psiDatasetLabel":"External","psiDatasetTooltip":"External datasets are actively re-distributed outside of the current organization (e.g. harvested to regional, national and international dataportals)","publishedTitle":"Status","externalPublishStatus":"External status","internalPublishStatus":"Internal status","publishedStatus":"Published","unpublishedStatus":"Unpublished","internalPublishTitle":"Internally published datasets are accessible for all logged in users","internalPublishDisabled":"This dataset is public, therefore it is also accessible internally","previewDatasetTitle":"Preview","apiDistributionTitle":"API information","apiInfoDialogHeader":"API information","apiInfoDialogfooterButtonTitle":"Close","apiInfoDialogCloseLabel":"Close","defaultDownloadTitle":"Downloadable file","defaultAccessTitle":"Access point","downloadButtonTitle":"Download","manageFilesButtonTitle":"Manage files","accessURLButtonTitle":"Web address of access point","fileUploadDistribution":"Upload file as distribution","accessURIDistribution":"Web address for access","apiActivateTitle":"Activate API","autoGeneratedAPI":"Auto-generated API","removeFileDistWithAPI":"You cannot remove this distribution since it has a connected API. You have to remove the API before you can remove this distribution.","unableToRemoveDatasetNoDataServices":"Any file or API distribution contained in this dataset needs to be removed first.","unableToRemoveDataset":"This dataset cannot be removed because it is currently served by at least one data service. Please update the dataset reference in the following data services: $1","unableToRemoveOther":"This dataset cannot be removed because it is currently linked to the following: $1","unableToRemoveDataService":"This data service cannot be removed because it is currently linked to the following: $1","unableToRemoveDatasetSeries":"This dataset series cannot be removed because it currently includes the following datasets: $1","commentTitle":"There {{PLURAL:$1|is one comment|are $1 comments}}.","commentMenu":"Comments","commentHeader":"Comments for dataset \"${1}\"","removeDatasetAndCommentsConfirm":"Remove this dataset and its {{PLURAL:$1|comment|$1 comments}}?","removeDatasetDistributionsAndCommentsConfirm":"Remove this dataset, its {{PLURAL:${distributions}|distribution|${distributions} distributions}} and its {{PLURAL:${comments}|comment|${comments} comments}}?","showresults":"Showcases","showresultsTitle":"Showcases connected to dataset","emptyListWarning":"Datasets will appear here","emptyListWarningSeriesEnabled":"Datasets and dataset series will appear here","seriesEmptyListPlaceholder":"Dataset series will appear here","distRevertExcludeMessage":"Files will neither be added nor removed.","datasetSharingNoAccess":"You cannot publish or unpublish this dataset as you are not the manager of the surrounding catalog","apiId":"API identifier","apiAlias":"API alias","apiSaveAlias":"Save alias","apiRemoveAlias":"Remove alias","replaceFile":"Replace file","replaceFileTitle":"Replace file","replaceFileHasVisualization":"The replaced distribution file had at least one associated visualizations that may now be broken. Do you want to keep them?","removeVizButtonLabel":"Remove","keepVizButtonLabel":"Keep","removeFileHasVisualization":"This distribution file has an associated visualization. Removing the file will remove any associated visualizations. Do you wish to proceed?","cannotRemoveSingleFile":"The file cannot be removed since a distribution must contain at least one file or a link.","fileResourceError":"File must be provided","addFile":"Add file","seeStatistics":"Statistics","seeStatisticsTitle":"Download and access statistics","reGenerateAPI":"Refresh API","reGenerateAPITitle":"Refresh API","copyDistDialogTitle":"Copy distribution","copyDistDialogButton":"Copy","copyDistributionAction":"Copy","invalidAliasName":"API aliases must not contain spaces or special characters.","duplicateAliasName":"The alias could not be set, choose a different one","showideas":"Ideas","cloneDialogTitle":"Copy dataset and selected distributions","copyDialogListHeader":"Distributions","copyDialogListPlaceholder":"Distributions will appear here","selectEntryListHeaderLabel":"Title","cloneDatasetQuestion":"A copy of the dataset will be created, without distributions, visualizations and comments. Do you want to proceed?","cloneDatasetWithDist":"A copy of the dataset will be created, including selected non-API distributions. Visualizations and comments will not be included.","cloneMenu":"Copy","cloneMenuTitle":"Create a copy","cloneCopy":"Copy of ","apiRegenarationWarning":"Do you want to regenerate the API?","apiExistsToUnpublishDataset":"This dataset has APIs which will continue to be accessible if you unpublish this dataset. Do you want to unpublish this dataset?","unpublishProhibited":"You are not allowed to unpublish datasets","publishProhibited":"You are not allowed to publish datasets","confirmPublishWithoutDistributions":"This dataset does not have any distributions. It is recommended to provide at least one distribution, do you want to proceed anyway?","proceedPublishWithoutDistributions":"Proceed","cancelPublishWithoutDistributions":"Cancel","backTitle":"Back to dataset list","suggestionOrigin":"This dataset originates from the following suggestions","actionTooltip":"Create dataset","activeTitle":"Active","inactiveTitle":"Inactive","archived":"Archived suggestion","overviewCatalogLabel":"Catalog","reasonForRevisionMessage":"Distributions have been added and/or removed since the previous revision.","psiFilterHeader":"External status","psiExternalLabel":"External","psiInternalLabel":"Internal","anyFilterLabel":"Any","publicFilterHeader":"Publication status","pubPublicLabel":"Published","pubUnpublishedLabel":"Unpublished","internallyPublishedLabel":"Internally published","profileFilterHeader":"Profile","distributionsListPlaceholder":"Distributions will appear here","currentFileLabel":"Current file","fileNameNotFound":"Current file name not available","comments":"Comments","togglePsiPrompt":"The \"external\" flag indicates whether a dataset should be displayed on data portals or public web sites.<br><br>Please note that this flag does not affect the dataset's access rights. A published dataset is always publicly available via the EntryScape API.","togglePsiAffirm":"OK","removeDatasetSuccess":"Dataset removed successfully","removeDatasetFail":"Failed to remove dataset","createDatasetSuccess":"Dataset created successfully","createDatasetFail":"Failed to create dataset","createDatasetSeriesSuccess":"Dataset series created successfully","createDatasetSeriesFail":"Failed to create dataset series","seriesIconTooltip":"Dataset series","publishDatasetSuccess":"Dataset published successfully","unpublishDatasetSuccess":"Dataset unpublished successfully","publishDatasetFail":"Failed to publish dataset","unpublishDatasetFail":"Failed to unpublish dataset","publishDatasetSeriesSuccess":"Dataset series published successfully","unpublishDatasetSeriesSuccess":"Dataset series unpublished successfully","publishDatasetSeriesFail":"Failed to publish dataset series","unpublishDatasetSeriesFail":"Failed to unpublish dataset series","togglePsiReject":"Cancel","copyDatasetFail":"Failed to copy dataset","previewEntry":"Preview","copyEntry":"Copy","hvdFilterHeader":"High-value datasets only","tooManyConnectedDatasets":"There are too many datasets connected to this dataservice to show them here.","addDatasetTitle":"Add dataset","relationsListPlaceholder":"Datasets will appear here","addOrCreateRelationTitle":"Add or create dataset","addOrCreateRelationTitleWithSeries":"Add or create dataset or series","searchOrCreateDialogTitle":"Search for or create dataset","searchDialogTitle":"Search for datasets","datasetsListPlaceholder":"Datasets will appear here","inSeriesFilterHeader":"Show datasets in series","datasetOrSeriesFilterHeader":"Type","datasetFilterLabel":"Dataset","removeFromSeriesLabel":"Remove from series","disconnectDialogPrompt":"Disconnect this dataset?","disconnectMenuItemLabel":"Remove from series","disconnectLabel":"Disconnect this dataset","connectedButtonLabel":"Added","connectButtonLabel":"Add to series","linkButtonLabel":"Link","linkedButtonLabel":"Linked","seriesFilterLabel":"Dataset series","manageSeriesButton":"Manage series","overviewInSeries":"In dataset series","manageSeriesDialogTitle":"Manage dataset series","createSeriesButtonLabel":"Create dataset series","createSeriesButtonTooltip":"Create a new series containing the dataset","listHeaderDatasetSeries":"Dataset series","seriesChangeSuccess":"Series including dataset updated successfully","inSeriesColumnHeader":"In series","seriesOverviewDatasets":"Datasets","datasetsHeading":"Datasets","serviceTypeHeader":"Data services","createFromServiceTitle":"Create from data service","createDatasetFromServiceMessage":"A dataset with a distribution will be created based on the metadata of the selected data service.","createDatasetFromServiceTitle":"Create dataset from data service","selectItemFromServicePlaceholder":"Result from selected data service will appear here","noSupportedServicePlaceholder":"No suitable data services were found for creating new resources","createDistributionButton":"Create distribution","createDistributionFromServiceMessage":"A distribution will be created based on the metadata of the selected data service.","createDistributionFromServiceButton":"Create distribution from data service"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaDataset.nls"},{"lang":"de","nls":{"listHeader":"Datensätze in Katalog \"$1\"","createButtonLabel":"Erstellen","createDatasetHeader":"Datensatz erstellen","editDatasetTitle":"Bearbeiten","removeDatasetTitle":"Entfernen","createDistributionHeader":"Distribution erstellen","addDistributionTitle":"Distribution erstellen","removeBrokenDatasetRefsWarning":"Dieser Datensatz beinhaltet Verweise auf nicht vorhandene Distributionen. Diese ungültigen Verweise werden entfernt.","removeDatasetQuestion":"Soll dieser Datensatz entfernt werden?","removeDatasetAndDistributionsQuestion":"Sollen dieser Datensatz und dessen {{PLURAL|Distribution|$1 Distributionen}} entfernt werden?","failedToRemoveDatasetDistributions":"Beim Entfernen von Distributionen des Datensatzes ist ein Fehler aufgetreten. Der Vorgang wird abgebrochen und der Datensatz nicht entfernt.","removeDistributionQuestion":"Soll diese Distribution entfernt werden?","privateDatasetTitle":"Der Datensatz ist nicht öffentlich","publicDatasetTitle":"Der Datensatz ist öffentlich","previewDatasetTitle":"Voransicht","apiDistributionTitle":"API Information","apiInfoDialogHeader":"API Information","apiInfoDialogfooterButtonTitle":"Schließen","apiInfoDialogCloseLabel":"Schließen","defaultDownloadTitle":"Datei zum Herunterladen","defaultAccessTitle":"Zugangspunkt","downloadButtonTitle":"Herunterladen","accessURLButtonTitle":"Webadresse des Zugangspunktes","fileUploadDistribution":"Datei als Distribution hochladen","accessURIDistribution":"Webadresse für den Zugriff","apiActivateTitle":"API aktivieren","autoGeneratedAPI":"Automatisch generierte API","removeFileDistWithAPI":"Sie können diese Distribution nicht entfernen, da sie einer automatisch generierten API zugrunde liegt. Sie müssen zuerst die API entfernen, um diese Distribution entfernen zu können.","commentTitle":"Es gibt {{PLURAL:$1|einen Kommentar|$1 Kommentare}}.","commentMenu":"Kommentare","commentHeader":"Kommentar zu Datensatz \"${1}\"","removeDatasetAndCommentsConfirm":"Soll dieser Datensatz und dessen {{PLURAL:$1|Kommentar|$1 Kommentare}} entfernt werden?","removeDatasetDistributionsAndCommentsConfirm":"Sollen dieser Datensatz und dessen {{PLURAL:${distributions}|Distribution|${distributions} Distributionen}} und {{PLURAL:${comments}|Kommentar|${comments} Kommentare}} entfernt werden?","showresults":"Showcases","showresultsTitle":"Mit dem Datensatz verbundene Showcases","emptyListWarning":"Hier werden Datensätze angezeigt","datasetSharingNoAccess":"Sie können diesen Datensatz nicht veröffentlichen, da Sie nicht Manager des umgebenden Katalogs sind","apiId":"API-Identifikator","apiAlias":"API-Alias","apiSaveAlias":"Alias speichern","apiRemoveAlias":"Alias entfernen","replaceFile":"Datei ersetzen","replaceFileTitle":"Datei ersetzen","addFile":"Datei hinzufügen","reGenerateAPI":"API aktualisieren","reGenerateAPITitle":"API aktualisieren","invalidAliasName":"Ein API-Alias darf keine Leerzeichen enthalten","duplicateAliasName":"Der Alias konnte nicht gesetzt werden, wählen Sie einen anderen","distRevertExcludeMessage":"Dateien werden weder hinzugefügt oder entfernt.","showideas":"Ideen","cloneDatasetQuestion":"Eine Kopie dieses Datensatzes wird ohne Distributionen, Visualisierungen und Kommentaren erstellt werden. Möchten Sie fortfahren?","cloneMenu":"Kopieren","cloneMenuTitle":"Kopie erstellen","cloneCopy":"Kopie von ","apiRegenarationWarning":"Soll die API neu erstellt werden?","apiExistsToUnpublishDataset":"Dieser Datensatz enthält APIs die auch dann noch zugänglich sein werden, wenn Sie den Veröffentlichungstatus dieses Datensatzes ändern. Möchten Sie dennoch fortfahren?","unpublishProhibited":"Ihre Rechte reichen nicht aus, um die Veröffentlichung von Datensätzen rückgängig zu machen","confirmPublishWithoutDistributions":"Dieser Datensatz enthält keine Distributionen. Es wird empfohlen mindestens eine Distribution bereitzustellen, möchten Sie dennoch fortfahren?","proceedPublishWithoutDistributions":"Fortfahren","cancelPublishWithoutDistributions":"Abbrechen","lastUpdateLabel":"Letzte Aktualisierung","distributionsTitle":"Distributionen","themeTitle":"Themen","editedTitle":"Bearbeitet von","publishedTitle":"Status","backTitle":"Zurück zur Datensatzliste","cannotRemoveDatasetPublishedTitle":"Dieser Datensatz ist derzeit veröffentlicht und kann daher nicht entfernt werden","seeStatistics":"Statistik","seeStatisticsTitle":"Auf Statistiken zugreifen","suggestionOrigin":"Dieser Datensatz hat seinen Ursprung in den folgenden Vorschlägen","removeDistributionWithVisualizationQuestion":"Sollen diese Distribution und die {{PLURAL:$1|zugehörige Visualisierung|$1 zugehörigen Visualisierungen}} entfernt werden?","replaceFileHasVisualization":"Die ersetzte Datei wurde von mindestens einer Visualisierung verwendet die jetzt möglicherweise beschädigt ist. Sollen die betroffenen Visualisierungen behalten werden?","actionTooltip":"Datensatz erstellen","listHeaderLabel":"Titel","visualizationsTitle":"Visualisierung","publishedStatus":"Veröffentlicht","unpublishedStatus":"Nicht veröffentlicht","activeTitle":"Aktiv","inactiveTitle":"Inaktiv","listHeaderCommentsLabel":"Kommentare","catalogListHeaderLabel":"Katalog","manageFilesButtonTitle":"Dateien verwalten","editedByContributorNotFound":"Entfernter Benutzer","removeFileHasVisualization":"Dieser Distributionsdatei ist eine Visualisierung zugeordnet. Durch das Entfernen der Datei werden auch alle zugehörigen Visualisierungen entfernt. Möchten Sie fortfahren?","cannotRemoveSingleFile":"Die Datei kann nicht entfernt werden da eine Distribution mindestens eine Datei oder einen Link enthalten muss.","unableToRemoveDatasetNoDataServices":"Jede Datei oder API-Distribution, die in diesem Dataset enthalten ist, muss zuerst entfernt werden.","unableToRemoveDataset":"Dieser Datensatz kann nicht entfernt werden da er derzeit von mindestens einem Datendienst bereitgestellt wird. Bitte aktualisieren Sie den Verweis auf diesen Datensatz in den folgenden Datendiensten: $1","archived":"Archivierter Vorschlag","overviewCatalogLabel":"Katalog","removeVizButtonLabel":"Entfernen","keepVizButtonLabel":"Behalten","reasonForRevisionMessage":"Seit der letzten Version wurden Distributionen hinzugefügt und/oder entfernt.","psiDatasetLabel":"Extern","psiDatasetTooltip":"Externe Datensätze werden außerhalb der aktuellen Organisation aktiv geteilt (z.B. durch regionale, nationale und internationale Datenportale geharvestet)","psiFilterHeader":"Extern-Status","psiExternalLabel":"Extern","psiInternalLabel":"Intern","anyFilterLabel":"Alle","publicFilterHeader":"Veröffentlichungsstatus","pubPublicLabel":"Veröffentlicht","pubUnpublishedLabel":"Nicht veröffentlicht","profileFilterHeader":"Profil","distributionsListPlaceholder":"Verteilungen werden hier angezeigt","comments":"Kommentare","currentFileLabel":"Aktuelle Datei","fileNameNotFound":"Der Dateiname ist nicht verfügbar","togglePsiPrompt":"Die Kennzeichnung als \"extern\" gibt an, ob ein Datensatz auf Datenportalen oder öffentlichen Webseiten angezeigt werden soll.<br><br>Bitte beachten Sie dass diese Kennzeichnung keinen Einfluss auf die Zugriffsrechte des Datensatzes hat. Ein veröffentlichter Datensatz ist immer über die EntryScape-API öffentlich verfügbar.","togglePsiAffirm":"OK","togglePsiReject":"Abbrechen","removeDatasetSuccess":"Datensatz erfolgreich entfernt","removeDatasetFail":"Datensatz konnte nicht entfernt werden","createDatasetSuccess":"Datensatz erfolgreich erstellt","createDatasetFail":"Datensatz konnte nicht erstellt werden","publishDatasetSuccess":"Datensatz erfolgreich veröffentlicht","unpublishDatasetSuccess":"Die Veröffentlichung des Datensatzes wurde erfolgreich aufgehoben","publishDatasetFail":"Datensatz konnte nicht veröffentlicht werden","unpublishDatasetFail":"Die Veröffentlichung des Datensatzes konnte nicht aufgehoben werden","failedToCheckDataset":"Datensatzinformationen konnten nicht geladen werden","unableToRemoveOther":"Dieser Datensatz kann nicht entfernt werden da er derzeit mit den folgenden Objekten verlinkt ist: $1","copyDatasetFail":"Der Datensatz konnte nicht kopiert werden","hvdFilterHeader":"Nur hochwertige Datensätze","previewEntry":"Voransicht","copyEntry":"Kopieren","privateDisabledDatasetTitle":"Der Katalog ist nicht öffentlich, daher können Sie den Datensatz nicht veröffentlichen","draftDisabledDatasetTitle":"Dieser Datensatz ist unvollständig und kann daher nicht veröffentlicht werden","publishProhibited":"Ihnen fehlen die Rechte zur Veröffentlichung des Datensatzes","tooManyConnectedDatasets":"Mit diesem Datendienst sind zu viele Datensätze verbunden, um sie hier anzuzeigen.","datasetsListPlaceholder":"Hier werden Datensätze angezeigt","createButtonTooltipWithSubSeries":"Datensatz oder Datensatzserie erstellen","createButtonTooltip":"Datensatz erstellen","createDatasetButton":"Datensatz","createSeriesButton":"Datensatzserie","createFromTemplateButton":"Datensatz aus Vorlage","createDatasetSeriesHeader":"Datensatzserie erstellen","removeDatasetSeriesQuestion":"Diese Datensatzserie entfernen?","emptyListWarningSeriesEnabled":"Datensätze und Datensatzserien werden hier angezeigt","seriesEmptyListPlaceholder":"Datensatzserien werden hier angezeigt","createDatasetSeriesSuccess":"Datensatzserie erfolgreich erstellt","createDatasetSeriesFail":"Datensatzserie konnte nicht erstellt werden","seriesIconTooltip":"Datensatzserie","publishDatasetSeriesSuccess":"Datensatzserie erfolgreich veröffentlicht","unpublishDatasetSeriesSuccess":"Die Veröffentlichung der Datensatzserie wurde erfolgreich aufgehoben","publishDatasetSeriesFail":"Datensatzserie konnte nicht veröffentlicht werden","unpublishDatasetSeriesFail":"Die Veröffentlichung der Datensatzserie konnte nicht aufgehoben werden","relationsListPlaceholder":"Datensätze werden hier angezeigt","addOrCreateRelationTitle":"Datensatz hinzufügen oder erstellen","addOrCreateRelationTitleWithSeries":"Datensatz oder Serie hinzufügen oder erstellen","searchOrCreateDialogTitle":"Suchen nach oder erstellen eines Datensatzes","connectButtonLabel":"Zu Serie hinzufügen","connectedButtonLabel":"Hinzugefügt","disconnectMenuItemLabel":"Aus Serie entfernen","inSeriesFilterHeader":"Datensätze in Serien anzeigen","datasetOrSeriesFilterHeader":"Typ","datasetFilterLabel":"Datensatz","removeFromSeriesLabel":"Aus Serie entfernen","disconnectDialogPrompt":"Soll die Verknüpfung mit dem Datensatz gelöst werden?","seriesFilterLabel":"Datensatzserie","manageSeriesButton":"Serie verwalten","overviewInSeries":"In Datensatzserie","manageSeriesDialogTitle":"Datensatzserie verwalten","createSeriesButtonLabel":"Datensatzserie erstellen","createSeriesButtonTooltip":"Erstellen Sie eine neue Serie, die den Datensatz enthält","listHeaderDatasetSeries":"Datensatzserie","seriesChangeSuccess":"Serie mit Datensatz erfolgreich aktualisiert","inSeriesColumnHeader":"In Serie","seriesOverviewDatasets":"Datensätze","unableToRemoveDatasetSeries":"Diese Datensatzserie kann nicht entfernt werden da sie derzeit folgende Datensätze enthält: $1","addDatasetTitle":"Datensatz hinzufügen","searchDialogTitle":"Suche nach Datensätzen","disconnectLabel":"Verknüpfung des Datensatzes lösen","linkButtonLabel":"Verknüpfen","linkedButtonLabel":"Verknüpft","datasetsHeading":"Datensätze","internallyPublishedTitle":"Dieser Datensatz ist intern veröffentlicht","externalPublishStatus":"Externer status","internalPublishStatus":"Interner status","internalPublishTitle":"Intern veröffentlichte Datensätze sind für alle angemeldete Benutzer zugänglich","internalPublishDisabled":"Dieser Datensatz ist öffentlich und daher auch intern zugänglich","brokenDistPublishDisabled":"Dieser Datensatz enthält eine fehlerhafte Distribution, daher können Sie ihn nicht veröffentlichen","fileResourceError":"Datei muss bereitgestellt werden","copyDistDialogTitle":"Distribution kopieren","copyDistDialogButton":"Kopieren","copyDistributionAction":"Kopieren","cloneDialogTitle":"Datensatz und ausgewählte Distributionen kopieren","copyDialogListPlaceholder":"Distributionen werden hier angezeigt","selectEntryListHeaderLabel":"Titel","cloneDatasetWithDist":"Es wird eine Kopie des Datensatzes erstellt, einschließlich ausgewählter Nicht-API-Distributionen. Visualisierungen und Kommentare werden nicht inkludiert.","internallyPublishedLabel":"Intern veröffentlicht","copyDialogListHeader":"Distributionen","createFromServiceButton":"Datensatz basierend auf Datendienst","serviceTypeHeader":"Datendienste","createFromServiceTitle":"Aus Datendienst erstellen","createDatasetFromServiceMessage":"Basierend auf den Metadaten des ausgewählten Datendienstes wird ein Datensatz mit einer Distribution erstellt.","createDatasetFromServiceTitle":"Datensatz aus Datendienst erstellen","selectItemFromServicePlaceholder":"Das Ergebnis des ausgewählten Datendienstes wird hier angezeigt","noSupportedServicePlaceholder":"Es wurden keine geeigneten Datendienste für die Erstellung neuer Ressourcen gefunden","createDistributionButton":"Distribution erstellen","createDistributionFromServiceMessage":"Es wird eine Distribution auf Grundlage der Metadaten des ausgewählten Datendienstes erstellt.","createDistributionFromServiceButton":"Distribution aus Datendienst erstellen","unableToRemoveDataService":"Dieser Datenservice kann nicht entfernt werden, da er derzeit mit Folgendem verbunden ist: $1"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaDataset.nls"},{"lang":"sv","nls":{"listHeader":"Datamängder i katalog \"$1\"","createButtonLabel":"Skapa","createDatasetHeader":"Skapa datamängd","editDatasetTitle":"Redigera","removeDatasetTitle":"Ta bort","createDistributionHeader":"Skapa distribution","addDistributionTitle":"Skapa distribution","removeBrokenDatasetRefsWarning":"Denna datamängd har referenser till distributioner som inte finns. De brytna referenserna kommer att tas bort.","removeDatasetQuestion":"Ta bort denna datamängd?","removeDatasetAndDistributionsQuestion":"Ta bort denna datamängd och dess {{PLURAL|distribution|$1 distributioner}}?","failedToRemoveDatasetDistributions":"Misslyckades att ta bort samtliga distributioner, datamängden har därför inte tagits bort.","removeDistributionQuestion":"Ta bort distribution?","privateDatasetTitle":"Datamängden är inte publik","publicDatasetTitle":"Datamängden är publik","previewDatasetTitle":"Förhandsvisa","apiDistributionTitle":"API information","apiInfoDialogHeader":"API information","apiInfoDialogfooterButtonTitle":"Stäng","apiInfoDialogCloseLabel":"Stäng","defaultDownloadTitle":"Nedladdningsbar fil","defaultAccessTitle":"Åtkomstpunkt","downloadButtonTitle":"Ladda ner","accessURLButtonTitle":"Åtkomstpunktens webbadress","fileUploadDistribution":"Ladda upp fil","accessURIDistribution":"Webbadress för åtkomst","apiActivateTitle":"Aktivera API","autoGeneratedAPI":"Automatiskt skapat API","removeFileDistWithAPI":"Du kan inte ta bort denna distribution då den har ett kopplat API. Du måste ta bort API:et innan du kan ta bort denna distribution.","commentTitle":"Det finns {{PLURAL:$1|en kommentar|$1 kommentarer}}.","commentMenu":"Kommentarer","commentHeader":"Kommentarer för datamängd \"${1}\"","removeDatasetAndCommentsConfirm":"Ta bort denna datamängd och dess {{PLURAL:$1|kommentar|$1 kommentarer}}?","removeDatasetDistributionsAndCommentsConfirm":"Ta bort denna datamängd och dess {{PLURAL:${distributions}|distribution|${distributions} distributioner}},{{PLURAL:${comments}|kommentar|${comments} kommentarer}}?","showresults":"Showcases","showresultsTitle":"Till datamängden kopplade showcases","emptyListWarning":"Datamängder kommer att visas här","datasetSharingNoAccess":"Du kan inte publicera eller avpublicera denna datamängd eftersom du inte är huvudansvarig för katalogen.","apiId":"API identifierare","apiAlias":"API alias","apiSaveAlias":"Ändra alias","apiRemoveAlias":"Ta bort alias","replaceFile":"Ersätt fil","replaceFileTitle":"Ersätt fil","addFile":"Lägg till fil","reGenerateAPI":"Uppdatera API","reGenerateAPITitle":"Uppdatera API","invalidAliasName":"Ett API alias får inte innehålla blanksteg","duplicateAliasName":"Aliaset kunde inte sparas, välj en annan","distRevertExcludeMessage":"Filer kommer varken läggas till eller tas bort.","showideas":"Idéer","cloneDatasetQuestion":"En kopia av datamängden kommer att skapas utan distributioner, visualiseringar och kommentarer. Vill du fortsätta?","cloneMenu":"Kopiera","cloneMenuTitle":"Skapa en kopia","cloneCopy":"Kopia av ","apiRegenarationWarning":"Ska API:et skapas på nytt?","apiExistsToUnpublishDataset":"Denna datamängd innehåller APIer som kommer att vara tillgängliga även om du avpublicerar datamängden. Vill du avpublicera datamängden ändå?","unpublishProhibited":"Du saknar rättigheter för att kunna avpublicera datamängder","confirmPublishWithoutDistributions":"Denna datamängd har inga distributioner. Det rekommenderas att tillhandahålla minst en distribution, vill du fortsätta ändå?","proceedPublishWithoutDistributions":"Fortsätt","cancelPublishWithoutDistributions":"Avbryt","lastUpdateLabel":"Senaste uppdatering","distributionsTitle":"Distributioner","themeTitle":"Teman","editedTitle":"Redigerad av","publishedTitle":"Status","backTitle":"Tillbaka till datamängdslistan","cannotRemoveDatasetPublishedTitle":"Denna datamängd är för närvarande publicerad och kan därför inte tas bort","seeStatistics":"Statistik","seeStatisticsTitle":"Åtkomst till statistik","suggestionOrigin":"Denna datamängd har sitt ursprung i följande förslag","removeDistributionWithVisualizationQuestion":"Ta bort denna distribution och dess tillhörande {{PLURAL:$1|visualisering| $1 visualiseringar}}?","replaceFileHasVisualization":"Den ersatta distributionsfilen hade minst en associerad visualisering som nu kan ha slutat att fungera. Vill du behålla de berörda visualiseringarna?","actionTooltip":"Skapa datamängd","listHeaderLabel":"Titel","visualizationsTitle":"Visualiseringar","publishedStatus":"Publicerad","unpublishedStatus":"Opublicerad","activeTitle":"Aktiv","inactiveTitle":"Inaktiv","listHeaderCommentsLabel":"Kommentarer","catalogListHeaderLabel":"Katalog","manageFilesButtonTitle":"Hantera filer","editedByContributorNotFound":"Borttagen användare","removeFileHasVisualization":"Denna distributionsfil har en tillhörande visualisering. Om du tar bort filen tas alla tillhörande visualiseringar bort. Vill du fortsätta?","cannotRemoveSingleFile":"Filen kan inte tas bort eftersom en distribution måste innehålla minst en fil eller en länk.","unableToRemoveDatasetNoDataServices":"Alla filer eller API-distributioner som finns i denna datamängd måste tas bort först.","unableToRemoveDataset":"Denna datamängd kan inte tas bort eftersom den för närvarande tillhandahålls av minst en datatjänst. Uppdatera referensen i följande datatjänster: $1","archived":"Arkiverat förslag","overviewCatalogLabel":"Katalog","removeVizButtonLabel":"Ta bort","keepVizButtonLabel":"Behåll","reasonForRevisionMessage":"Distributioner har lagts till och/eller tagits bort sedan den tidigare revisionen.","psiDatasetLabel":"Extern","psiDatasetTooltip":"Externa datamängder delas aktivt utanför den nuvarande organisationen (t.ex. genom skördning till regionala, nationella och internationella dataportaler)","psiFilterHeader":"Extern-status","psiExternalLabel":"Extern","psiInternalLabel":"Intern","anyFilterLabel":"Alla","publicFilterHeader":"Publiceringsstatus","pubPublicLabel":"Publicerad","pubUnpublishedLabel":"Opublicerad","profileFilterHeader":"Profil","distributionsListPlaceholder":"Distributioner kommer att visas här","comments":"Kommentarer","currentFileLabel":"Nuvarande fil","fileNameNotFound":"Filnamnet är inte tillgängligt","togglePsiPrompt":"Markeringen \"extern\" anger om en datamängd ska visas på dataportaler eller publika webbplatser.<br><br>Observera att denna markering inte påverkar datamängdens åtkomsträttigheter. En publicerad datamängd är alltid publikt tillgänglig via EntryScapes API.","togglePsiAffirm":"OK","togglePsiReject":"Avbryt","removeDatasetSuccess":"Datamängden har tagits bort","removeDatasetFail":"Datamängden kunde inte tas bort","createDatasetSuccess":"Datamängden har skapats","createDatasetFail":"Datamängden kunde inte skapas","publishDatasetSuccess":"Datamängden har publicerats","unpublishDatasetSuccess":"Datamängden har avpublicerats","publishDatasetFail":"Datamängden kunde inte publiceras","unpublishDatasetFail":"Datamängden kunde inte avpubliceras","failedToCheckDataset":"Det gick inte att ladda datamängdens information","unableToRemoveOther":"Denna datamängd kan inte tas bort eftersom den är ihoplänkad med följande entiteter: $1","copyDatasetFail":"Det gick inte att kopiera datamängden","hvdFilterHeader":"Endast värdefulla datamängder","previewEntry":"Förhandsvisa","copyEntry":"Kopiera","privateDisabledDatasetTitle":"Den omgivande katalogen är inte publik, därför kan du inte göra datamängden publik","draftDisabledDatasetTitle":"Denna datamängd är ofullständig och kan därför inte publiceras","publishProhibited":"Du saknar rättigheter för att publicera datatjänsten","tooManyConnectedDatasets":"Det finns för många datamängder kopplade till denna datatjänst för att visa dem här.","datasetsListPlaceholder":"Datamängder kommer att visas här","createButtonTooltipWithSubSeries":"Skapa datamängd eller serie","createButtonTooltip":"Skapa datamängd","createDatasetButton":"Datamängd","createSeriesButton":"Datamängdsserie","createFromTemplateButton":"Datamängd från mall","createDatasetSeriesHeader":"Skapa datamängdsserie","removeDatasetSeriesQuestion":"Ta bort den här datamängdsserien?","emptyListWarningSeriesEnabled":"Datamängder och datamängdsserier kommer att visas här","seriesEmptyListPlaceholder":"Datamängdsserier kommer att visas här","createDatasetSeriesSuccess":"Datamängdsserie skapades","createDatasetSeriesFail":"Skapning av datamängdsserien misslyckades","seriesIconTooltip":"Datamängdsserie","publishDatasetSeriesSuccess":"Datamängdsserien publicerades","unpublishDatasetSeriesSuccess":"Datamängdsserie avpublicerades","publishDatasetSeriesFail":"Publicering av datamängdsserien misslyckades","unpublishDatasetSeriesFail":"Avpublicering av datamängdsserien misslyckades","relationsListPlaceholder":"Datamängder kommer att visas här","addOrCreateRelationTitle":"Lägg till eller skapa datamängd","addOrCreateRelationTitleWithSeries":"Lägg till eller skapa datamängd eller serie","searchOrCreateDialogTitle":"Sök efter eller skapa datamängd","connectButtonLabel":"Lägg till i serie","connectedButtonLabel":"Tillagd","disconnectMenuItemLabel":"Ta bort från serie","inSeriesFilterHeader":"Visa datamängder i serier","datasetOrSeriesFilterHeader":"Typ","datasetFilterLabel":"Datamängd","removeFromSeriesLabel":"Ta bort från serie","disconnectDialogPrompt":"Ska denna datamängd kopplas loss?","seriesFilterLabel":"Datamängdsserie","manageSeriesButton":"Hantera serier","overviewInSeries":"I datamängdsserie","manageSeriesDialogTitle":"Hantera datamängdsserie","createSeriesButtonLabel":"Skapa datamängdsserie","createSeriesButtonTooltip":"Skapa en ny serie som innehåller datamängden","listHeaderDatasetSeries":"Datamängdsserie","seriesChangeSuccess":"Serie med datamängd uppdaterades","inSeriesColumnHeader":"I serie","seriesOverviewDatasets":"Datamängder","unableToRemoveDatasetSeries":"Denna datamängdsserie kan inte tas bort eftersom den innehåller följande datamängder: $1","addDatasetTitle":"Lägg till datamängd","searchDialogTitle":"Sök efter datamängder","disconnectLabel":"Koppla loss denna datamängd","linkButtonLabel":"Länka","linkedButtonLabel":"Länkat","datasetsHeading":"Datamängder","internallyPublishedTitle":"Denna datamängd är internt publicerad","externalPublishStatus":"Extern status","internalPublishStatus":"Intern status","internalPublishTitle":"Internt publicerade datamängder är tillgängliga för samtliga inloggade användare","internalPublishDisabled":"Denna datamängd är publicerad och är därför också tillgänglig internt","brokenDistPublishDisabled":"Denna datamängd kan inte publiceras eftersom den innehåller en trasig distribution","fileResourceError":"Fil måste tillhandahållas","copyDistDialogTitle":"Kopiera distribution","copyDistDialogButton":"Kopiera","copyDistributionAction":"Kopiera","cloneDialogTitle":"Kopiera datamängd och valda distributioner","copyDialogListPlaceholder":"Distributioner visas här","selectEntryListHeaderLabel":"Titel","cloneDatasetWithDist":"En kopia av datamängden kommer att skapas, inklusive utvalda icke-API-distributioner. Visualiseringar och kommentarer kommer inte att inkluderas.","internallyPublishedLabel":"Internt publicerad","copyDialogListHeader":"Distributioner","createFromServiceButton":"Datamängd baserad på datatjänst","serviceTypeHeader":"Datatjänster","createFromServiceTitle":"Skapa baserad på datatjänst","createDatasetFromServiceMessage":"En datamängd med distribution skapas baserat på metadata från den valda datatjänsten.","createDatasetFromServiceTitle":"Skapa datamängd baserad på datatjänst","selectItemFromServicePlaceholder":"Resultat från vald datatjänst visas här","noSupportedServicePlaceholder":"Inga lämpliga datatjänster hittades för att skapa nya resurser","createDistributionButton":"Skapa distribution","createDistributionFromServiceMessage":"En distribution kommer att skapas baserat på metadata från den valda datatjänsten.","createDistributionFromServiceButton":"Skapa distribution baserad på datatjänst","unableToRemoveDataService":"Denna datatjänst kan inte tas bort eftersom den för närvarande är kopplad till följande: $1"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaDataset.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaDataset.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaDataset.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaDatasetTemplate.nls"
/*!*****************************************************!*\
  !*** ./modules/catalog/nls/escaDatasetTemplate.nls ***!
  \*****************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"createFromTemplateDialogHeader":"Create from dataset template","createFromTemplateDialogCloseButton":"Close","createFromTemplateDialogButton":"Create","createdFromTemplateDialogButton":"Created","templateMetadataTooltip":"Show dataset template metadata","templateLinkTooltip":"Visit dataset template source","templatesListHeaderLabel":"Title","templatesListHeaderModified":"Modified","createFromTemplateButton":"Create from template","createDatasetFromTemplateHeader":"Create dataset from dataset template","createSuggestionFromTemplateButtonTooltip":"Create suggestion from dataset template","templateIconTooltip":"Based on a dataset template","templateTag":"Based on template","showMetadata":"Show dataset template metadata","hideMetadata":"Hide dataset template metadata","buttonTooltip":"Latest metadata from the dataset template this entry was based on","emptyListWarning":"No dataset templates found","searchPlaceholder":"Search","searchHelperText":"Enter at least 3 characters to initiate search","searchClearLabel":"Clear","clearFilters":"Clear all","contextSelect":"Catalog","categorySelect":"Category","selectDefault":"None","createDatasetSuccess":"Dataset created successfully","createDatasetFail":"Failed to create dataset","landingPageLinkTooltip":"Visit dataset template landing page"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaDatasetTemplate.nls"},{"lang":"de","nls":{"createFromTemplateDialogHeader":"Aus Datensatzvorlage erstellen","createFromTemplateDialogCloseButton":"Schließen","createFromTemplateDialogButton":"Erstellen","createdFromTemplateDialogButton":"Erstellt","templateMetadataTooltip":"Metadaten der Datensatzvorlage anzeigen","templateLinkTooltip":"Zur Quelle der Datensatzvorlage gehen","templatesListHeaderLabel":"Titel","templatesListHeaderModified":"Geändert","createFromTemplateButton":"Aus Vorlage erstellen","createDatasetFromTemplateHeader":"Datensatz aus Vorlage erstellen","createSuggestionFromTemplateButtonTooltip":"Vorschlag aus Datensatzvorlage erstellen","templateIconTooltip":"Basiert auf einer Datensatzvorlage","showMetadata":"Metadaten der Datensatzvorlage anzeigen","hideMetadata":"Metadaten der Datensatzvorlage ausblenden","buttonTooltip":"Neueste Metadaten aus der Datensatzvorlage auf der dieser Datensatz basiert","emptyListWarning":"Keine Datensatzvorlagen gefunden","searchPlaceholder":"Suchen","searchHelperText":"Für die Suche ist die Eingabe von mindestens 3 Zeichen notwendig","searchClearLabel":"Zurücksetzen","clearFilters":"Zurücksetzen","contextSelect":"Katalog","categorySelect":"Kategorie","selectDefault":"Keine","landingPageLinkTooltip":"Zielseite der Datensatzvorlage aufrufen","createDatasetSuccess":"Datensatz erfolgreich erstellt","createDatasetFail":"Datensatz konnte nicht erstellt werden","templateTag":"Basierend auf einer Vorlage"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaDatasetTemplate.nls"},{"lang":"sv","nls":{"createFromTemplateDialogHeader":"Skapa från datamängdsmall","createFromTemplateDialogCloseButton":"Stäng","createFromTemplateDialogButton":"Skapa","createdFromTemplateDialogButton":"Skapad","templateMetadataTooltip":"Visa metadata för datamängdsmall","templateLinkTooltip":"Besök källan till datamängdsmallen","templatesListHeaderLabel":"Titel","templatesListHeaderModified":"Ändrad","createFromTemplateButton":"Skapa från mall","createDatasetFromTemplateHeader":"Skapa datamängd från mallen","createSuggestionFromTemplateButtonTooltip":"Skapa förslag från datamängdsmallen","templateIconTooltip":"Baserat på en datamängdsmall","showMetadata":"Visa metadata för datamängdsmall","hideMetadata":"Dölj metadata för datamängdsmall","buttonTooltip":"Senaste metadata från datamängdsmallen som denna datamängd baserades på","emptyListWarning":"Inga datamängdsmallar hittades","searchPlaceholder":"Sök","searchHelperText":"Sökningen kräver minst 3 tecken","searchClearLabel":"Återställ","clearFilters":"Återställ","contextSelect":"Katalog","categorySelect":"Kategori","selectDefault":"Ingen","landingPageLinkTooltip":"Besök landningssidan för datamängdsmallen","createDatasetSuccess":"Datamängden har skapats","createDatasetFail":"Datamängden kunde inte skapas","templateTag":"Baserat på mall"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaDatasetTemplate.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaDatasetTemplate.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaDatasetTemplate.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaDocuments.nls"
/*!***********************************************!*\
  !*** ./modules/catalog/nls/escaDocuments.nls ***!
  \***********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"createButton":"Create","createHeader":"Create new document","createButtonLabel":"Create","replaceLinkMenu":"Change link","replaceFileMenu":"Replace file","replaceFileMenuTitle":"Replace file","downloadButton":"Download","downloadButtonTitle":"Download file","replaceFileHeader":"Replace file","replaceFileFooterButton":"Replace file","listHeaderLabel":"Document","importButton":"Import","emptyListWarning":"Documents will appear here","remoteSpecIconTooltip":"Imported specification","unavailableNewLink":"This URL is not available","currentFileLabel":"Current file","fileNameNotFound":"Current file name not available","publicTooltip":"The document is public as the surrounding catalog is public","createDocumentSuccess":"Document created successfully","createDocumentFail":"Failed to create document","importDocumentsSuccess":"{{PLURAL:$1|Document|Documents}} imported successfully","importDocumentsFail":"Failed to import {{PLURAL:$1|document|documents}}","privateTooltip":"The document is not public as the surrounding catalog is not public"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaDocuments.nls"},{"lang":"de","nls":{"createButton":"Erstellen","createHeader":"Neues Dokument erstellen","createButtonLabel":"Erstellen","replaceLinkMenu":"Link ändern","replaceFileMenu":"Datei ersetzen","replaceFileMenuTitle":"Datei ersetzen","downloadButton":"Herunterladen","downloadButtonTitle":"Datei herunterladen","importButton":"Importieren","replaceFileHeader":"Datei ersetzen","replaceFileFooterButton":"Datei ersetzen","listHeaderLabel":"Dokument","emptyListWarning":"Hier werden Dokumente angezeigt","remoteSpecIconTooltip":"Importierte Spezifikation","unavailableNewLink":"Diese Webadresse ist nicht verfügbar","publicTooltip":"Das Dokument ist öffentlich da der umgebende Katalog öffentlich ist","privateTooltip":"Das Dokument ist nicht öffentlich da der umgebende Katalog nicht öffentlich ist","currentFileLabel":"Aktuelle Datei","fileNameNotFound":"Der Dateiname ist nicht verfügbar","createDocumentSuccess":"Dokument erfolgreich erstellt","createDocumentFail":"Dokument konnte nicht erstellt werden","importDocumentsSuccess":"{{PLURAL:$1|Dokument|Dokumente}} erfolgreich importiert","importDocumentsFail":"Fehler beim Importieren {{PLURAL:$1|des Dokuments|der Dokumente}}"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaDocuments.nls"},{"lang":"sv","nls":{"createButton":"Skapa","createHeader":"Skapa nytt dokument","createButtonLabel":"Skapa","replaceLinkMenu":"Ändra länk","replaceFileMenu":"Ersätta fil","replaceFileMenuTitle":"Ersätta fil","downloadButton":"Ladda ner","downloadButtonTitle":"Ladda ner fil","importButton":"Importera","replaceFileHeader":"Ersätt fil","replaceFileFooterButton":"Ersätt fil","listHeaderLabel":"Dokument","emptyListWarning":"Dokument kommer att visas här","remoteSpecIconTooltip":"Importerad specifikation","unavailableNewLink":"Denna webbadress är inte tillgänglig","publicTooltip":"Dokumentet är publikt eftersom den omgivande katalogen är publik","privateTooltip":"Dokumentet är inte publikt eftersom den omgivande katalogen inte är publik","currentFileLabel":"Nuvarande fil","fileNameNotFound":"Filnamnet är inte tillgängligt","createDocumentSuccess":"Dokumentet har skapats","createDocumentFail":"Dokumentet kunde inte skapas","importDocumentsSuccess":"{{PLURAL:$1|Dokumentet|Dokumenten}} har importerats","importDocumentsFail":"{{PLURAL:$1|Dokumentet|Dokumenten}} kunde inte importeras"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaDocuments.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaDocuments.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaDocuments.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaEmbed.nls"
/*!*******************************************!*\
  !*** ./modules/catalog/nls/escaEmbed.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"embedHeader":"Embed code","previewButton":"Preview","copyButton":"Copy to clipboard","copiedMessage":"Snippet copied to clipboard","copyFailedMessage":"Snippet couldn't be copied to clipboard","configureHeading":"Configure","languageLabel":"Language","languageHelp":"Data will be shown in this language if available","languageEn":"English","languageSv":"Swedish","languageDe":"German","languageIt":"Italian","layoutLabel":"Type of layout","layoutHelp":"The \"List\" layout option can be embedded on a single page on your site","layoutList":"List","layoutSearchable":"Searchable list","layoutTypeahead":"Typeahead search list","layoutFaceted":"Typeahead search list + (left) responsive facets","layoutCompactFaceted":"Typeahead search list + expandable (top) facets","includeHeading":"Include in the embed","visualizationsLabel":"Visualizations","visualizationsHelp":"Visualizations can be included at the top of each dataset or as a list after it","vizList":"In a list beneath the datasets","vizTabbed":"Above datasets in tabs","sortingLabel":"Sorting option","sortingHelp":"Includes a dropdown for sorting the list","servicesLabel":"Data services","servicesHelp":"Activate if you have data services that are standalone datasets, not just distributions","extrasLabel":"Showcases and ideas","extrasHelp":"Use only if you have Showcases or Ideas in your project","dataPreviewLabel":"Preview of CSV data","dataPreviewHelp":"Adds a preview inside expanded views of supported CSV distributions","seoLabel":"Use indexable pages","seoHelp":"Disable if detail pages should not be indexed by e.g. Google, or if your site is incompatible with the URL parameters used","detailsPageLabel":"Dataset details page URL","detailsPageHelp":"Non-list layouts need a separate page for dataset details. Provide the relative URL.","detailsPageRequired":"This layout needs a dataset details page. Provide its relative URL.","embedTroubleshootingAlert":"If no data appears where the code is embedded, your website's Content Security Policy may be blocking the EntryScape scripts, or the EntryStore API may not be allowing requests from your website's domain (CORS). Contact your administrator.","pageSnippet":"Page snippet","detailsPageSnippet":"Dataset details page snippet"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaEmbed.nls"},{"lang":"de","nls":{"embedHeader":"Einbettungs-Code","previewButton":"Voransicht","previewClickNote":"Das Öffnen eines Datensatzes funktioniert dort, wo der Code eingebettet ist, nicht in dieser Vorschau.","copyButton":"In die Zwischenablage kopieren","copiedMessage":"Ausschnitt in die Zwischenablage kopiert","copyFailedMessage":"Der Ausschnitt konnte nicht in die Zwischenablage kopiert werden","configureHeading":"Konfigurieren","languageLabel":"Sprache","languageHelp":"Die Daten werden, sofern verfügbar, in dieser Sprache angezeigt","languageEn":"Englisch","languageSv":"Schwedisch","languageDe":"Deutsch","languageIt":"Italienisch","layoutLabel":"Art des Layouts","layoutHelp":"Die Layout-Option \"Liste\" kann auf einer einzelnen Seite Ihrer Website eingebettet werden","layoutList":"Liste","layoutSearchable":"Durchsuchbare Liste","layoutTypeahead":"Suchliste mit automatischer Vervollständigung","layoutFaceted":"Suchliste mit automatischer Vervollständigung + (links) adaptive Filter","layoutCompactFaceted":"Suchliste mit automatischer Vervollständigung + erweiterbare Facetten (oben)","includeHeading":"In den Einbettungscode aufnehmen","visualizationsLabel":"Visualisierungen","visualizationsHelp":"Visualisierungen können am Anfang jedes Datensatzes oder als Liste im Anschluss daran eingefügt werden","vizList":"In einer Liste unterhalb der Datensätze","vizTabbed":"Oberhalb der Datensätze in Tabs","sortingLabel":"Sortieroption","sortingHelp":"Enthält ein Dropdown-Menü zum Sortieren der Liste","servicesLabel":"Datendienste","servicesHelp":"Aktivieren Sie diese Option, wenn Sie Datendienste haben, bei denen es sich um eigenständige Datensätze handelt, nicht nur um Distributionen","extrasLabel":"Showcases und Ideen","extrasHelp":"Verwenden Sie diese Option nur, wenn Ihr Projekt \"Showcases\" oder \"Ideen\" enthält.","dataPreviewLabel":"Vorschau der CSV-Daten","dataPreviewHelp":"Fügt in den erweiterten Ansichten der unterstützten CSV-Distributionen eine Vorschau hinzu","seoLabel":"Indexierbare Seiten verwenden","seoHelp":"Deaktivieren Sie diese Option, wenn Detailseiten nicht von z. B. Google indexiert werden sollen oder wenn Ihre Website mit den verwendeten URL-Parametern nicht kompatibel ist.","detailsPageLabel":"URL der Detailseite des Datensatzes","detailsPageHelp":"Bei Layouts ohne Listenansicht ist eine separate Seite für die Details zum Datensatz erforderlich. Geben Sie bitte die relative URL an.","detailsPageRequired":"Für dieses Layout wird eine Seite mit Details zum Datensatz benötigt. Geben Sie bitte die relative URL an.","embedTroubleshootingAlert":"Sollten an der Stelle, an der der Code eingebettet ist, keine Daten angezeigt werden, blockiert möglicherweise die Content Security Policy Ihrer Website die EntryScape-Skripte, oder die EntryStore-API lässt keine Anfragen von der Domain Ihrer Website zu (CORS). Wenden Sie sich bitte an Ihren Administrator.","pageSnippet":"Codeausschnitt","detailsPageSnippet":"Codeausschnitt der Detailseite des Datensatzes"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaEmbed.nls"},{"lang":"sv","nls":{"embedHeader":"Inbäddningskod","previewButton":"Förhandsvisa","previewClickNote":"Att öppna en datamängd fungerar där koden är inbäddad, inte i den här förhandsvisningen.","copyButton":"Kopiera till urklipp","copiedMessage":"Kodsnutt kopierat till urklipp","copyFailedMessage":"Det gick inte att kopiera kodsnutten till urklipp","configureHeading":"Konfigurera","languageLabel":"Språk","languageHelp":"Data kommer att visas på detta språk om tillgängligt","languageEn":"Engelska","languageSv":"Svenska","languageDe":"Tyska","languageIt":"Italienska","layoutLabel":"Typ av layout","layoutHelp":"Layoutalternativet \"Lista\" kan bäddas in på en enda sida på din webbplats","layoutList":"Lista","layoutSearchable":"Sökbar lista","layoutTypeahead":"Söklista med autoförslag","layoutFaceted":"Söklista med autoförslag + (vänster) responsiva facetter","layoutCompactFaceted":"Söklista med autoförslag + expanderbara (överst) facetter","includeHeading":"Inkludera i inbäddningen","visualizationsLabel":"Visualiseringar","visualizationsHelp":"Visualiseringar kan inkluderas högst upp i varje datamängd eller som en lista efter den","vizList":"I en lista under datamängderna","vizTabbed":"Ovanstående datamängder i flikar","sortingLabel":"Sorteringsalternativ","sortingHelp":"Inkluderar en rullgardinsmeny för att sortera listan","servicesLabel":"Datatjänster","servicesHelp":"Aktivera om du har datatjänster som är fristående datamängder, inte bara distributioner","extrasLabel":"Showcases och idéer","extrasHelp":"Använd endast om du har showcases eller idéer i ditt projekt","dataPreviewLabel":"Förhandsgranskning av CSV-data","dataPreviewHelp":"Lägger till en förhandsgranskning i utökade vyer av CSV-distributioner som stöds","seoLabel":"Använd indexerbara sidor","seoHelp":"Inaktivera om detaljsidor inte ska indexeras av t.ex. Google, eller om din webbplats är inkompatibel med de URL-parametrar som används.","detailsPageLabel":"URL för datamängdens informationssida","detailsPageHelp":"Layouter som inte är listor behöver en separat sida för datamängdsinformation. Ange den relativa URL:en.","detailsPageRequired":"Den här layouten behöver en informationssida för datamängden. Ange dess relativa URL.","embedTroubleshootingAlert":"Om ingen data visas där koden är inbäddad kan din webbplats Content Security Policy blockera EntryScape-skripten, eller så tillåter inte EntryStore API:et förfrågningar från din webbplats domän (CORS). Kontakta din administratör.","pageSnippet":"Sidutdrag","detailsPageSnippet":"Sidutdrag med information om datamängden"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaEmbed.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaEmbed.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaEmbed.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaFiles.nls"
/*!*******************************************!*\
  !*** ./modules/catalog/nls/escaFiles.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"listHeader":"Files in catalog \"$1\"","createButtonLabel":"Upload file","createDialogMessage":"Choose a file","privateFileTitle":"This file is not public, click to change","publicFileTitle":"This file is public, click to change","fileAccessDetails":"File and API information","fileAccessDetailsTitle":"File and API information","datasetConnectLabel":"Connection to dataset","datasetConnected":"Connected to dataset:","noDatasetConnected":"No dataset connected","connectToExistingDataset":"Select an existing dataset","connectToNewDataset":"Add to new dataset","createDatasetHeader":"Create dataset for file","createDataset":"Create dataset","disconnectDataset":"Disconnect from dataset","removeOrphanedDataset":"The dataset references no other files, remove it?","confirmRemoveOrphanedDataset":"Yes, remove","rejectRemoveOrphanedDataset":"No","cancelEditAliasLabel":"Cancel","apiSaveAliasLabel":"Save","editAliasLabel":"Edit alias","apiBlockLabel":"API access (only for CSV-files)","apiStatusLabel":"API status","apiNotConnected":"Not activated","apiStatus_created":"Activated, waiting to be processed","apiStatus_accepted":"Processing will start shortly","apiStatus_processing":"Processing data","apiStatus_available":"Active","apiStatus_error":"The API is not available due to an error","missingAPIStatus":"Failed to detect API status","activateAPI":"Activate","deactivateAPI":"Deactivate","refreshAPIState":"Check API status","activateAPINotAllowedFileToBig":"The file is larger than the allowed limit of ${size} MB for API activation.","activateAPINotAllowedDatasetNotPublic":"The parent dataset or catalog is not published. All APIs are by default publicly accessible and by activating this API the data for this distribution will become publicly accessible.<br><br>Do you want to continue with the activation of the API?","onlyCSVSupported":"The file format is reported to be \"${format}\" and API activation is only supported for the \"text/csv\" format. You may proceed anyway if you know that the reported format is wrong and that the file does contain \"text/csv\".","confirmAPIActivation":"Proceed to activate API","abortAPIActivation":"Cancel","cannotRemoveFile":"The file \"${file}\" cannot be removed since it is either connected to a dataset or has an active API. Disconnect the file and try again.","removeFile":"Proceed and remove file \"${file}\".","removeFailed":"Failed to remove file \"${file}\".","columnLabel":"Columns in API","missingColumns":"No columns found","searchExampleLabel":"Example API call","searchExampleTitle":"You can match rows by providing one or several columns with substrings or regular expressions as part of the query.","apiAliasNamePlaceholder":"Only alphanumeric characters are allowed"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaFiles.nls"},{"lang":"de","nls":{"listHeader":"Dateien im Katalog \"$1\"","createButtonLabel":"Datei hochladen","createDialogMessage":"Wählen Sie eine Datei","privateFileTitle":"Diese Datei ist nicht öffentlich, hier klicken um die Zugriffsrechte zu ändern","publicFileTitle":"Diese Datei ist öffentlich, hier klicken um die Zugriffsrechte zu ändern","fileAccessDetails":"Datei- und API-Einstellungen","fileAccessDetailsTitle":"Datei- und API-Einstellungen","datasetConnectLabel":"Verknüpfung mit einem Datensatz","datasetConnected":"Verbunden mit Datensatz:","noDatasetConnected":"Es ist kein Datensatz verbunden","connectToExistingDataset":"Wählen Sie einen existierenden Datensatz","connectToNewDataset":"Zu einem neuen Datensatz hinzufügen","createDatasetHeader":"Einen Datensatz für diese Datei erstellen","createDataset":"Datensatz erstellen","disconnectDataset":"Verknüpfung mit Datensatz lösen","removeOrphanedDataset":"Dieser Datensatz enthält keine Verweise zu anderen Dateien, soll er entfernt werden?","confirmRemoveOrphanedDataset":"Ja, entfernen","rejectRemoveOrphanedDataset":"Nein","apiBlockLabel":"API-Zugang (nur für CSV-Dateien)","apiStatusLabel":"API-Status","apiNotConnected":"Nicht aktiviert","apiStatus_created":"Aktiviert, wartet auf Verarbeitung","apiStatus_accepted":"Verarbeitung startet in Kürze","apiStatus_processing":"Verarbeitung läuft","apiStatus_available":"Aktiviert","apiStatus_error":"Die API steht wegen eines Fehlers nicht zur Verfügung","activateAPI":"Aktivieren","deactivateAPI":"Deaktivieren","refreshAPIState":"Status der API überprüfen","activateAPINotAllowedFileToBig":"Die Größe der Datei übersteigt das erlaubte Limit von ${size} MB.","onlyCSVSupported":"Das Dateiformat wurde als \"${format}\" angegeben und die Aktivierung der API wird nur für das Format \"text/csv\" unterstützt. Sie können trotzdem fortfahren wenn Sie wissen dass das angegebene Format falsch ist und dass die Datei \"text/csv\" enthält.","confirmAPIActivation":"Fortfahren, um die API zu aktivieren","abortAPIActivation":"Abbrechen","cannotRemoveFile":"Die Datei \"${file}\" ist mit einem Datensatz oder einer API verbunden und kann nicht entfernt werden. Lösen Sie die Verbindung bevor Sie fortfahren.","removeFile":"Fortfahren und Datei \"${file}\" entfernen.","removeFailed":"Beim Entfernen der Datei \"${file}\" ist ein Fehler aufgetreten.","columnLabel":"Spalten in der API","searchExampleLabel":"Beispiel für eine API-Anfrage","searchExampleTitle":"Eine Abfrage besteht aus mindestens einer Spalte mit Teilzeichenfolgen oder regulären Ausdrücken und wird mit passenden Zeilen beantwortet.","apiAliasNamePlaceholder":"Nur alphanumerische Zeichen erlaubt","activateAPINotAllowedDatasetNotPublic":"Der Datensatz oder der Datenkatalog sind nicht veröffentlicht. Alle generierten APIs sind jedoch immer öffentlich zugänglich. Dies bedeutet, dass durch die Aktivierung der API die Daten für diese Distribution öffentlich zugänglich werden.<br/><br/>Möchten Sie mit der Aktivierung der API fortfahren?","cancelEditAliasLabel":"Abbrechen","apiSaveAliasLabel":"Speichern","editAliasLabel":"Alias bearbeiten","missingAPIStatus":"Der Status der API konnte nicht festgestellt werden","missingColumns":"Keine Spalten gefunden"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaFiles.nls"},{"lang":"sv","nls":{"listHeader":"Filer i katalog \"$1\"","createButtonLabel":"Ladda upp fil","createDialogMessage":"Välj en fil","privateFileTitle":"Filen är inte publik, klicka för att ändra","publicFileTitle":"Filen är publik, klicka för att ändra","fileAccessDetails":"Information om fil och API","fileAccessDetailsTitle":"Information om fil och API","datasetConnectLabel":"Koppling till datamängd","datasetConnected":"Kopplad till datamängd:","noDatasetConnected":"Ingen datamängd är kopplad","connectToExistingDataset":"Koppla till existerande datamängd","connectToNewDataset":"Koppla till ny datamängd","createDatasetHeader":"Skapa datamängd för fil","createDataset":"Skapa datamängd","disconnectDataset":"Koppla loss från datamängd","removeOrphanedDataset":"Datamängden refererar inga andra filer, ta bort den?","confirmRemoveOrphanedDataset":"Ja, ta bort","rejectRemoveOrphanedDataset":"Nej","apiBlockLabel":"API-åtkomst (bara för CSV-filer)","apiStatusLabel":"API status","apiNotConnected":"Inte aktiverat","apiStatus_created":"Aktiverat, väntar på bearbetning","apiStatus_accepted":"Bearbetning påbörjas snart","apiStatus_processing":"Bearbetar data","apiStatus_available":"Aktiverat","apiStatus_error":"API:et är inte tillgängligt på grund av ett fel","activateAPI":"Aktivera","deactivateAPI":"Avaktivera","refreshAPIState":"Uppdatera API status","activateAPINotAllowedFileToBig":"Filens storlek överstiger den tillåtna gränsen på ${size} MB för API-aktivering.","onlyCSVSupported":"Filens format är angivet som \"${format}\", men stöd för att aktivera ett API finns endast för filer i formatet \"text/csv\". Om du vet att formatet är fel angivet kan du välja att gå vidare ändå.","confirmAPIActivation":"Fortsätt med API-aktivering","abortAPIActivation":"Avbryt","cannotRemoveFile":"Filen \"${file}\" kan inte tas bort då den antingen är kopplad till en datamängd eller har ett aktiverat API. Koppla ifrån filen och försök igen.","removeFile":"Ta bort filen \"${file}\".","removeFailed":"Misslyckades att ta bort filen \"${file}\".","columnLabel":"Kolumner i API:et","searchExampleLabel":"Exempel för API-anrop","searchExampleTitle":"Du kan matcha rader genom att tillhandahålla värden för en eller flera fält via delsträngar eller reguljära uttryck.","apiAliasNamePlaceholder":"Endast alfanumeriska tecken är tillåtna","activateAPINotAllowedDatasetNotPublic":"Datamängden eller katalogen är inte offentlig. Alla genererade API:er är alltid publikt tillgängliga, det innebär att aktivering av API:et gör datan för denna distribution publikt tillgänglig.<br/><br/>Vill du fortsätta med aktiveringen av API:et?","cancelEditAliasLabel":"Avbryt","apiSaveAliasLabel":"Spara","editAliasLabel":"Ändra alias","missingAPIStatus":"Det gick inte att detektera API-status","missingColumns":"Inga kolumner hittades"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaFiles.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaFiles.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaFiles.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaFilesList.nls"
/*!***********************************************!*\
  !*** ./modules/catalog/nls/escaFilesList.nls ***!
  \***********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"createButtonLabel":"Add file","createHeader":"Add file to distribution","saveButtonLabel":"Save","addButtonLabel":"Add","listHeaderLabel":"Files","replaceMenu":"Replace file","confirmRemoveFile":"Do you want to remove this file?","editFileLabel":"Edit file","removeFileLabel":"Remove file","downloadButtonTitle":"Download"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaFilesList.nls"},{"lang":"de","nls":{"createButtonLabel":"Datei hinzufügen","createHeader":"Datei zu Distribution hinzufügen","replaceMenu":"Datei ersetzen","confirmRemoveFile":"Wollen Sie diese Datei entfernen?","editFileLabel":"Datei bearbeiten","removeFileLabel":"Datei entfernen","downloadButtonTitle":"Herunterladen","saveButtonLabel":"Speichern","listHeaderLabel":"Dateien","addButtonLabel":"Hinzufügen"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaFilesList.nls"},{"lang":"sv","nls":{"createButtonLabel":"Lägg till fil","createHeader":"Lägg till fil för distributionen","replaceMenu":"Ersätt fil","confirmRemoveFile":"Vill du ta bort denna fil?","editFileLabel":"Redigera fil","removeFileLabel":"Ta bort fil","downloadButtonTitle":"Ladda ner","saveButtonLabel":"Spara","listHeaderLabel":"Filer","addButtonLabel":"Lägg till"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaFilesList.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaFilesList.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaFilesList.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaIdeas.nls"
/*!*******************************************!*\
  !*** ./modules/catalog/nls/escaIdeas.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"actionTooltip":"Create idea","privateDisabledResultTitle":"The surrounding catalog is not public, therefore you cannot make the idea public","publicIdeaTitle":"This idea is public","privateIdeaTitle":"This idea is not public","createHeader":"Create idea","createButtonLabel":"Create","emptyListWarning":"Ideas will appear here","listHeaderLabel":"Ideas","publishToggleAriaLabel":"Public idea switch","createIdeaSuccess":"Idea created successfully","publishDisabledTitle":"The surrounding catalog is not public, therefore you cannot make this idea public","showIdeasDialogHeader":"Ideas for dataset \"$1\"","emptyShowListWarning":"There are no ideas for this dataset."},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaIdeas.nls"},{"lang":"de","nls":{"privateDisabledResultTitle":"Dieser Katalog ist nicht öffentlich, daher können Sie diese Idee nicht öffentlich machen","createHeader":"Idee erstellen","createButtonLabel":"Erstellen","emptyListWarning":"Hier werden Ideen angezeigt","actionTooltip":"Idee erstellen","listHeaderLabel":"Ideen","publishToggleAriaLabel":"Ändern des Veröffentlichungsstatus der Idee","publicIdeaTitle":"Diese Idee ist öffentlich","privateIdeaTitle":"Diese Idee ist nicht öffentlich","publishDisabledTitle":"Diese Idee kann nicht veröffentlicht werden da der umgebende Katalog nicht öffentlich ist","createIdeaSuccess":"Idee erfolgreich erstellt","showIdeasDialogHeader":"Ideen für Datensatz \"$1\"","emptyShowListWarning":"Es gibt keine Ideen für diesen Datensatz."},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaIdeas.nls"},{"lang":"sv","nls":{"privateDisabledResultTitle":"Den omgivande katalogen är inte publik, därför kan du inte göra idén publik","createHeader":"Skapa idé","createButtonLabel":"Skapa","emptyListWarning":"Idéer kommer att visas här","actionTooltip":"Skapa idé","listHeaderLabel":"Idéer","publishToggleAriaLabel":"Ändra publiceringsstatus","publicIdeaTitle":"Denna idé är publicerad","privateIdeaTitle":"Denna idé är inte publicerad","publishDisabledTitle":"Du kan inte publicera denna idé då den omgivande katalogen är opublicerad","createIdeaSuccess":"Idén har skapats","showIdeasDialogHeader":"Idéer för datamängd \"$1\"","emptyShowListWarning":"Det finns inga idéer för denna datamängd."},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaIdeas.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaIdeas.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaIdeas.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaManageFiles.nls"
/*!*************************************************!*\
  !*** ./modules/catalog/nls/escaManageFiles.nls ***!
  \*************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"manageFilesHeader":"Manage files","manageFilesFooterButton":"Close","addFile":"Add file","refreshAPI":"An API is already activated, do you want to refresh it?","emptyListWarning":"Distribution files will appear here"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaManageFiles.nls"},{"lang":"de","nls":{"manageFilesHeader":"Dateien verwalten","manageFilesFooterButton":"Schließen","refreshAPI":"Eine API ist bereits aktiviert. Möchten Sie diese aktualisieren?","addFile":"Datei hinzufügen","emptyListWarning":"Dateien der Distribution werden hier angezeigt"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaManageFiles.nls"},{"lang":"sv","nls":{"manageFilesHeader":"Hantera filer","manageFilesFooterButton":"Stäng","refreshAPI":"Ett API är redan aktiverat, vill du uppdatera det?","addFile":"Lägg till fil","emptyListWarning":"Distributioner kommer att visas här"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaManageFiles.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaManageFiles.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaManageFiles.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaOverview.nls"
/*!**********************************************!*\
  !*** ./modules/catalog/nls/escaOverview.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"lastUpdatedLabel":"Updated","createdLabel":"Created","datasetLabel":"Datasets","dataServiceLabel":"Data services","candidateLabel":"Candidates","catalogSuggestionLabel":"Suggestions","datasetDocumentLabel":"Documents","datasetResultLabel":"Showcases","publisherLabel":"Publishers","contactPointLabel":"Contacts","datasetIdeaLabel":"Ideas"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaOverview.nls"},{"lang":"de","nls":{"lastUpdatedLabel":"Modifiziert","createdLabel":"Erstellt","datasetLabel":"Datensätze","candidateLabel":"Kandidaten","publisherLabel":"Herausgeber","dataServiceLabel":"Datendienste","catalogSuggestionLabel":"Vorschläge","datasetDocumentLabel":"Dokumente","datasetResultLabel":"Showcases","contactPointLabel":"Kontakte","datasetIdeaLabel":"Ideen"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaOverview.nls"},{"lang":"sv","nls":{"lastUpdatedLabel":"Uppdaterad","createdLabel":"Skapad","datasetLabel":"Datamängder","candidateLabel":"Kandidater","publisherLabel":"Organisationer","dataServiceLabel":"Datatjänster","catalogSuggestionLabel":"Förslag","datasetDocumentLabel":"Dokument","datasetResultLabel":"Showcases","contactPointLabel":"Kontakter","datasetIdeaLabel":"Idéer"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaOverview.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaOverview.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaOverview.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaPreparations.nls"
/*!**************************************************!*\
  !*** ./modules/catalog/nls/escaPreparations.nls ***!
  \**************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"progressMenu":"Checklist","commentMenu":"Comments","commentHeader":"Comments for suggestion \"${1}\"","archiveMenu":"Archive","unArchiveMenu":"Unarchive","archiveSuggestion":"Archive this suggestion?","unArchiveSuggestion":"Unarchive this suggestion?","createDatasetMenu":"Create dataset","emptyListWarning":"Suggestions will appear here","noResults":"No active suggestions found, try creating one","suggestionListTitle":"Suggestions","linkDatasetConfirmQuestion":"Are you sure you want to link to this dataset?","unlinkDatasetConfirmQuestion":"Are you sure you want to unlink the suggestion from this dataset?","segmentedControlTabAriaLabel":"Segmented Control Tab","createButtonLabel":"Create","commentsHeaderLabel":"Comments","datasetPreviewHeaderLabel":"Dataset preview","listHeaderLabel":"Title","checkListHeaderLabel":"Checklist","createHeader":"Create new suggestion","actionTooltipSuggestion":"Create suggestion","statusFilterHeader":"Status","active":"Active","archived":"Archived","all":"All","unlinkButtonLabel":"Unlink","archiveButtonLabel":"Archive","unarchiveButtonLabel":"Unarchive","selectEntity":"Link","selectedEntityLabel":"Linked","showDatasetsTooltip":"Show linked datasets","hideDatasetsTooltip":"Hide linked datasets","linkDatasetEmptyList":"No datasets found","datasetOverviewLinkTooltip":"Go to dataset overview","ToolTipArchived":"Archived suggestion","createSuccessMessage":"{{PLURAL:$1|Suggestion|Suggestions}} created successfully","createFailMessage":"Failed to create {{PLURAL:$1|suggestion|suggestions}}","infoDialogHeader":"Information","searchOrCreateDialogTitle":"Search for or create a new dataset","addOrCreateRelationTitle":"Add or create dataset","createButtonTooltip":"Create new linked dataset"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaPreparations.nls"},{"lang":"de","nls":{"progressMenu":"Checkliste","commentMenu":"Kommentare","commentHeader":"Kommentare für Vorschlag \"${1}\"","archiveMenu":"Archivieren","unArchiveMenu":"Wiederherstellen","archiveSuggestion":"Soll dieser Vorschlag archiviert werden?","unArchiveSuggestion":"Soll dieser Vorschlag wiederhergestellt werden?","createDatasetMenu":"Datensatz erstellen","emptyListWarning":"Hier werden Vorschläge angezeigt","suggestionListTitle":"Vorschläge","linkDatasetConfirmQuestion":"Möchten Sie einen Link zu diesem Datensatz erstellen?","unlinkDatasetConfirmQuestion":"Möchten Sie den Link zwischen dem Vorschlag und diesem Datensatz entfernen?","segmentedControlTabAriaLabel":"Segmented Control Tab","createButtonLabel":"Erstellen","listHeaderLabel":"Titel","checkListHeaderLabel":"Checkliste","createHeader":"Neuen Vorschlag erstellen","actionTooltipSuggestion":"Vorschlag erstellen","active":"Aktiv","archived":"Archiviert","all":"Alle","datasetPreviewHeaderLabel":"Datensatzvorschau","unlinkButtonLabel":"Verknüpfung aufheben","archiveButtonLabel":"Archivieren","unarchiveButtonLabel":"Wiederherstellen","selectEntity":"Verknüpfen","showDatasetsTooltip":"Verknüpfte Datensätze anzeigen","hideDatasetsTooltip":"Verknüpfte Datensätze ausblenden","linkDatasetEmptyList":"Keine Datensätze gefunden","commentsHeaderLabel":"Kommentare","datasetOverviewLinkTooltip":"Zur Datensatzübersicht wechseln","ToolTipArchived":"Archivierter Vorschlag","selectedEntityLabel":"Verknüpft","infoDialogHeader":"Information","createSuccessMessage":"{{PLURAL:$1|Vorschlag|Vorschläge}} erfolgreich erstellt","createFailMessage":"Fehler beim Erstellen {{PLURAL:$1|des Vorschlages|der Vorschläge}}","statusFilterHeader":"Status","searchOrCreateDialogTitle":"Suchen nach oder erstellen eines neuen Datensatzes","addOrCreateRelationTitle":"Datensatz hinzufügen oder erstellen","createButtonTooltip":"Verlinkten Datensatz erstellen","noResults":"Es wurden keine aktiven Vorschläge gefunden, versuchen Sie einen zu erstellen"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaPreparations.nls"},{"lang":"sv","nls":{"progressMenu":"Checklista","commentMenu":"Kommentarer","commentHeader":"Kommentarer för förslag \"${1}\"","archiveMenu":"Arkivera","unArchiveMenu":"Avarkivera","archiveSuggestion":"Ska detta förslag arkiveras?","unArchiveSuggestion":"Avarkivera detta förslag","createDatasetMenu":"Lägg till datamängd","emptyListWarning":"Förslag kommer att visas här","suggestionListTitle":"Förslag","linkDatasetConfirmQuestion":"Är du säker på att du vill länka till denna datamängd?","unlinkDatasetConfirmQuestion":"Är du säker på att du vill koppla bort förslaget från denna datamängd?","segmentedControlTabAriaLabel":"Uppdelad kontrollflik","createButtonLabel":"Skapa","listHeaderLabel":"Titel","checkListHeaderLabel":"Checklista","createHeader":"Skapa nytt förslag","actionTooltipSuggestion":"Skapa förslag","active":"Aktiv","archived":"Arkiverad","all":"Alla","datasetPreviewHeaderLabel":"Förhandsvisning","unlinkButtonLabel":"Ta bort länk","archiveButtonLabel":"Arkivera","unarchiveButtonLabel":"Avarkivera","selectEntity":"Länka","showDatasetsTooltip":"Visa länkade datamängder","hideDatasetsTooltip":"Dölj länkade datamängder","linkDatasetEmptyList":"Inga datamängder hittades","commentsHeaderLabel":"Kommentarer","datasetOverviewLinkTooltip":"Gå till datamängdsöversikten","ToolTipArchived":"Arkiverat förslag","selectedEntityLabel":"Länkat","infoDialogHeader":"Information","createSuccessMessage":"{{PLURAL:$1|Förslaget|Förslagen}} har skapats","createFailMessage":"{{PLURAL:$1|Förslaget|Förslagen}} kunde inte skapas","statusFilterHeader":"Status","searchOrCreateDialogTitle":"Sök efter eller skapa en ny datamängd","addOrCreateRelationTitle":"Lägg till eller skapa datamängd","createButtonTooltip":"Skapa ny länkad datamängd","noResults":"Inga aktiva förslag hittades, försök skapa ett"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaPreparations.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaPreparations.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaPreparations.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaPublishers.nls"
/*!************************************************!*\
  !*** ./modules/catalog/nls/escaPublishers.nls ***!
  \************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"unableToRemove":"This publisher is in use by $1 and needs to be replaced before it can be removed.","createFOAFButton":"Create publisher","emptyListWarning":"Publishers will appear here","listHeaderLabel":"Publisher","overviewCatalogLabel":"Catalog","lastUpdateLabel":"Last update","createButtonLabel":"Create","backTitle":"Back to list of publishers","createPublisherSuccess":"Publisher created successfully","changeURIButton":"Change URI","URIChangeSnackbar":"URI changed successfully","replaceLinkHeader":"Change URI","replaceEntityURLCurrentLinkLabel":"Current URI","replaceEntityURLNewLinkLabel":"New URI","actionTooltipPublisher":"Create publisher","noPublishersInCatalog":"No publishers found in this catalog","showPublishersFromAllCatalogs":"Show publishers from all catalogs"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaPublishers.nls"},{"lang":"de","nls":{"createFOAFButton":"Herausgeber erstellen","emptyListWarning":"Hier werden Herausgeber angezeigt","createButtonLabel":"Erstellen","actionTooltipPublisher":"Herausgeber erstellen","unableToRemove":"Diese Organisation wird von $1 verwendet und muss ersetzt werden, bevor sie entfernt werden kann.","overviewCatalogLabel":"Katalog","lastUpdateLabel":"Letzte Aktualisierung","backTitle":"Zurück zur Liste der Herausgeber","createPublisherSuccess":"Herausgeber erfolgreich erstellt","listHeaderLabel":"Herausgeber","changeURIButton":"Link ändern","URIChangeSnackbar":"Link wurde geändert","replaceLinkHeader":"Link ändern","replaceEntityURLCurrentLinkLabel":"Aktueller Link","replaceEntityURLNewLinkLabel":"Neuer Link","noPublishersInCatalog":"Keine Organisationen in diesem Katalog gefunden","showPublishersFromAllCatalogs":"Organisationen aus allen Katalogen anzeigen"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaPublishers.nls"},{"lang":"sv","nls":{"createFOAFButton":"Skapa tillhandahållande organisation","emptyListWarning":"Organisationer kommer att visas här","createButtonLabel":"Skapa","actionTooltipPublisher":"Skapa organisation","unableToRemove":"Den här organisationen används av $1 och måste bytas ut innan den kan tas bort.","overviewCatalogLabel":"Katalog","lastUpdateLabel":"Senaste uppdatering","backTitle":"Tillbaka till organisationslistan","createPublisherSuccess":"Organisationen har skapats","listHeaderLabel":"Organisation","changeURIButton":"Ändra länk","URIChangeSnackbar":"Länken har ändrats","replaceLinkHeader":"Ändra länk","replaceEntityURLCurrentLinkLabel":"Aktuell länk","replaceEntityURLNewLinkLabel":"Ny länk","noPublishersInCatalog":"Inga utgivare hittades i denna katalog","showPublishersFromAllCatalogs":"Visa utgivare från alla kataloger"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaPublishers.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaPublishers.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaPublishers.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaReferences.nls"
/*!************************************************!*\
  !*** ./modules/catalog/nls/escaReferences.nls ***!
  \************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"entryWithId":"with ID \"$1\"","catalogAsRemoveItem":"Catalog $1","datasetAsRemoveItem":"Dataset $1","datasetseriesAsRemoveItem":"Dataset series $1","distributionAsRemoveItem":"Distribution $1","dataserviceAsRemoveItem":"Data service $1","suggestionAsRemoveItem":"Suggestion $1","otherAsRemoveItem":"$1"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaReferences.nls"},{"lang":"de","nls":{"entryWithId":"mit ID \"$1\"","catalogAsRemoveItem":"Katalog $1","datasetAsRemoveItem":"Datensatz $1","distributionAsRemoveItem":"Distribution $1","otherAsRemoveItem":"$1","dataserviceAsRemoveItem":"Datendienst $1","suggestionAsRemoveItem":"Vorschlag $1","datasetseriesAsRemoveItem":"Datensatzserie"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaReferences.nls"},{"lang":"sv","nls":{"entryWithId":"med ID \"$1\"","catalogAsRemoveItem":"Katalog $1","datasetAsRemoveItem":"Datamängd $1","distributionAsRemoveItem":"Distribution $1","otherAsRemoveItem":"$1","dataserviceAsRemoveItem":"Datatjänst $1","suggestionAsRemoveItem":"Förslag $1","datasetseriesAsRemoveItem":"Datamängdsserie"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaReferences.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaReferences.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaReferences.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaResults.nls"
/*!*********************************************!*\
  !*** ./modules/catalog/nls/escaResults.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"actionTooltip":"Create showcase","createHeader":"Create showcase","createButtonLabel":"Create","emptyListWarning":"Showcases will appear here","listHeaderLabel":"Showcase","showResultsDialogHeader":"Showcases for dataset \"$1\"","emptyShowListWarning":"There are no showcases for this dataset.","close":"Close","toggleShowcase":"Public showcase switch","showcaseEntityTypeDialogLabel":"Showcase","publicResultTitle":"This showcase is public","privateResultTitle":"This showcase is not public","createShowcaseSuccess":"Showcase created successfully","publishDisabledTitle":"The surrounding catalog is not public, therefore you cannot make this showcase public"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaResults.nls"},{"lang":"de","nls":{"privateResultTitle":"Dieser Showcase ist nicht öffentlich","publicResultTitle":"Dieser Showcase ist öffentlich","createHeader":"Showcase erstellen","createButtonLabel":"Erstellen","emptyListWarning":"Hier werden Showcases angezeigt","actionTooltip":"Showcase erstellen","listHeaderLabel":"Showcase","showResultsDialogHeader":"Showcases für Datensatz \"$1\"","toggleShowcase":"Switch für Showcase-Veröffentlichung","showcaseEntityTypeDialogLabel":"Showcase","publishDisabledTitle":"Der Showcase kann nicht veröffentlicht werden da der umliegende Katalog nicht öffentlich ist","close":"Schließen","createShowcaseSuccess":"Der Showcase wurde erstellt","emptyShowListWarning":"Es gibt keine Showcases für diesen Datensatz."},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaResults.nls"},{"lang":"sv","nls":{"privateResultTitle":"Detta showcase är inte publikt","publicResultTitle":"Detta showcase är publikt","createHeader":"Skapa showcase","createButtonLabel":"Skapa","emptyListWarning":"Showcases kommer att visas här","actionTooltip":"Skapa showcase","listHeaderLabel":"Showcase","showResultsDialogHeader":"Showcases för datamängd \"$1\"","toggleShowcase":"Publik showcase inställning","showcaseEntityTypeDialogLabel":"Showcase","publishDisabledTitle":"Du kan inte publicera detta showcase då den omgivande katalogen är opublicerad","close":"Stäng","createShowcaseSuccess":"Showcaset has skapats","emptyShowListWarning":"Det finns inga showcases för denna datamängd."},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaResults.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaResults.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaResults.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaServices.nls"
/*!**********************************************!*\
  !*** ./modules/catalog/nls/escaServices.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"unableToRemove":"This data service is in use by $1 and needs to be replaced before it can be removed","unableToRemoveDataService":"This data service cannot be removed","createEntryName":"data service","privateServiceTitle":"This data service is not public","privateDisabledServiceTitle":"The surrounding catalog is not public, therefore you cannot make the data service public","publicServiceTitle":"This data service is public","confirmRemoveService":"Do you want to delete this data service?","distributionWithLabel":"Distribution ${distributionLabel} in dataset ${datasetLabel}","distributionWithoutLabelOrFormat":"Unlabelled distribution in dataset ${datasetLabel}","distributionWithoutLabel":"Unlabelled distribution with format ${format} in dataset ${datasetLabel}","createHeader":"Create data service","listHeaderLabel":"Data service","createButtonLabel":"Create","createPopoverTitle":"Create a data service that can be referenced from distributions","actionTooltip":"Create data service","createSuccessMessage":"Data service created successfully","emptyListWarning":"Data services will appear here","hvdFilterHeader":"High-value datasets only","failedToCheckDataService":"Failed to load data service information","backTitle":"Back to data service list","activeTitle":"Active","inactiveTitle":"Inactive","draftDisabledDataserviceTitle":"This data service is incomplete and can therefore not be published","psiDataServiceLabel":"External","psiDataServiceTooltip":"External data services are actively re-distributed outside of the current organization (e.g. harvested to regional, national and international dataportals)","togglePsiDataServicePrompt":"The \"external\" flag indicates whether a data service should be displayed on data portals or public web sites. Please note that this flag does not affect the data service's access rights.","publishDataServiceSuccess":"Data service published successfully","unpublishDataServiceSuccess":"Data service unpublished successfully","publishDataServiceFail":"Failed to publish data service","unpublishDataServiceFail":"Failed to unpublish data service","dataServiceSharingNoAccess":"You do not have sufficient permissions to change the publication status of this data service","publishProhibited":"You are not authorized to change the publication status","unpublishProhibited":"You are not authorized to change the publication status","internalPublishStatus":"Internal status","internalPublishTitle":"Internally published data services are accessible for all logged in users","internalPublishDisabled":"This data service is public, therefore it is also accessible internally","externalPublishStatus":"External status"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaServices.nls"},{"lang":"de","nls":{"unableToRemove":"Dieser Datendienst wird von $1 verwendet und muss ersetzt werden bevor er entfernt werden kann","createEntryName":"Datendienst","privateServiceTitle":"Dieser Datendienst ist nicht öffentlich","privateDisabledServiceTitle":"Der Katalog ist nicht öffentlich, daher können Sie den Datendienst nicht öffentlich machen.","publicServiceTitle":"Dieser Datendienst ist öffentlich","confirmRemoveService":"Soll dieser Datendienst entfernt werden?","distributionWithLabel":"Distribution ${distributionLabel} in Datensatz ${datasetLabel}","distributionWithoutLabelOrFormat":"Unbenannte Distribution in Datensatz ${datasetLabel}","distributionWithoutLabel":"Unbenannte Distribution in Format ${format} in Datensatz ${datasetLabel}","createHeader":"Datendienst erstellen","listHeaderLabel":"Datendienst","createButtonLabel":"Erstellen","createPopoverTitle":"Erstellen Sie einen Datendienst auf den von Distributionen verwiesen werden kann","actionTooltip":"Datendienst erstellen","emptyListWarning":"Hier werden Datendienste angezeigt","createSuccessMessage":"Datendienst erfolgreich erstellt","hvdFilterHeader":"Nur hochwertige Datensätze","unableToRemoveDataService":"Dieser Datendienst kann nicht entfernt werden","failedToCheckDataService":"Es konnten keine Informationen zu diesem Datendienst geladen werden","draftDisabledDataserviceTitle":"Dieser Datendienst ist unvollständig und kann daher nicht veröffentlicht werden","backTitle":"Zurück zur Liste der Datendienste","activeTitle":"Aktiv","inactiveTitle":"Inaktiv","psiDataServiceLabel":"Extern","psiDataServiceTooltip":"Externe Datendienste werden aktiv außerhalb der aktuellen Organisation weiterverteilt (z.B. an regionale, nationale und internationale Datenportale)","togglePsiDataServicePrompt":"Die Einstellung \"Extern\" gibt an, ob ein Datendienst auf Datenportalen oder öffentlichen Websites angezeigt werden soll. Bitte beachten Sie, dass diese Einstellung keine Auswirkung auf die Zugriffsrechte des Datendienstes hat.","publishDataServiceSuccess":"Der Datendienst wurde veröffentlicht","unpublishDataServiceSuccess":"Die Veröffentlichung des Datendienst wurde aufgehoben","publishDataServiceFail":"Die Veröffentlichung des Datendienstes ist fehlgeschlagen","unpublishDataServiceFail":"Die Aufhebung der Veröffentlichung des Datendienstes ist fehlgeschlagen","dataServiceSharingNoAccess":"Sie sind nicht berechtigt, den Veröffentlichungsstatus dieses Datendienstes zu ändern","publishProhibited":"Sie sind nicht berechtigt, den Veröffentlichungsstatus zu ändern","unpublishProhibited":"Sie sind nicht berechtigt, den Veröffentlichungsstatus zu ändern","internalPublishStatus":"Interner status","internalPublishTitle":"Intern veröffentlichte Datendienste sind für alle angemeldeten Benutzer zugänglich","internalPublishDisabled":"Dieser Datenservice ist veröffentlicht und daher auch intern zugänglich","externalPublishStatus":"Externer status"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaServices.nls"},{"lang":"sv","nls":{"unableToRemove":"Den här datatjänsten används av $1 och måste bytas ut innan den kan tas bort","createEntryName":"datatjänst","privateServiceTitle":"Denna datatjänst är inte publik","privateDisabledServiceTitle":"Den omgivande katalogen är inte publik, därför kan du inte göra datatjänsten publik","publicServiceTitle":"Denna datatjänst är publik","confirmRemoveService":"Vill du ta bort denna datatjänst?","distributionWithLabel":"Distribution ${distributionLabel} i datamängd ${datasetLabel}","distributionWithoutLabelOrFormat":"Namnlös distribution i datamängd ${datasetLabel}","distributionWithoutLabel":"Namnlös distribution med formatet ${format} i datamängd ${datasetLabel}","createHeader":"Skapa datatjänst","listHeaderLabel":"Datatjänst","createButtonLabel":"Skapa","createPopoverTitle":"Skapa en datatjänst som kan refereras från distributioner","actionTooltip":"Skapa datatjänst","emptyListWarning":"Datatjänster kommer att visas här","createSuccessMessage":"Datatjänsten har skapats","hvdFilterHeader":"Endast värdefulla datamängder","unableToRemoveDataService":"Denna datatjänst kan inte tas bort","failedToCheckDataService":"Det gick inte att ladda information om datatjänsten","draftDisabledDataserviceTitle":"Denna datatjänst är ofullständig och kan därför inte publiceras","backTitle":"Tillbaka till listan över datatjänster","activeTitle":"Aktiv","inactiveTitle":"Inaktiv","psiDataServiceLabel":"Extern","psiDataServiceTooltip":"Externa datatjänster distribueras aktivt vidare utanför den nuvarande organisationen (t.ex. skördas till regionala, nationella och internationella dataportaler)","togglePsiDataServicePrompt":"Inställningen \"extern\" anger om en datatjänst ska visas på dataportaler eller offentliga webbplatser. Observera att denna inställning inte påverkar datatjänstens åtkomsträttigheter.","publishDataServiceSuccess":"Datatjänsten har publicerats","unpublishDataServiceSuccess":"Datatjänsten har avpublicerats","publishDataServiceFail":"Misslyckades med att publicera datatjänsten","unpublishDataServiceFail":"Misslyckades med att avpublicera datatjänsten","dataServiceSharingNoAccess":"Du är inte behörig att ändra publiceringsstatus för denna datatjänst","publishProhibited":"Du är inte behörig att ändra publiceringsstatus","unpublishProhibited":"Du är inte behörig att ändra publiceringsstatus","internalPublishStatus":"Intern status","internalPublishTitle":"Internt publicerade datatjänster är tillgängliga för alla inloggade användare","internalPublishDisabled":"Denna datatjänst är offentlig och är därför också tillgänglig internt","externalPublishStatus":"Extern status"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaServices.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaServices.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaServices.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaStatistics.nls"
/*!************************************************!*\
  !*** ./modules/catalog/nls/escaStatistics.nls ***!
  \************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"statsViewHeader":"Statistics for publicly downloadable files and APIs","statsNotPublishedCatalog":"Statistics are only available for published catalogs","statsChartPlaceholder":"No data available","statsChartAxisY":"Downloads/API requests","apiCallTitle":"API request to \"${1}\"","apiCallTitleFallback":"API request","timeRangeToday":"Today","timeRangeYesterday":"Yesterday","timeRangeThisMonth":"This month","timeRangeLastMonth":"Last month","timeRangeThisYear":"This year","timeRangeLastYear":"Last year","tabItemAll":"All","tabItemFiles":"Files","tabItemApiCalls":"API requests","tabItemDocuments":"Documents","tabHeaderTitle":"Title","tabHeaderFormat":"Format","tabHeaderDownload":"Downloads","statsDialogTimeRange":"Time range","statsDialogTitle":"Distribution statistics","statsDialogFooter":"Close","statsCatalogOverviewTitle":"Activity of the past 7 days","statsCatalogOverviewChartFileLabel":"File downloads","statsCatalogOverviewChartAPILabel":"API requests","searchClearLabel":"Clear search","searchPlaceholder":"Filter by name","actionsExport":"Download","actionsExportTooltip":"Download as CSV","actionsPrint":"Print","tabHeaderDataset":"Dataset"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaStatistics.nls"},{"lang":"de","nls":{"statsViewHeader":"Statistiken für öffentlich herunterladbare Dateien und APIs","statsNotPublishedCatalog":"Statistiken sind nur für veröffentlichte Kataloge verfügbar","timeRangeToday":"Heute","timeRangeYesterday":"Gestern","timeRangeThisMonth":"Aktueller Monat","timeRangeLastMonth":"Letzter Monat","timeRangeThisYear":"Dieses Jahr","timeRangeLastYear":"Letztes Jahr","tabItemFiles":"Dateien","tabItemApiCalls":"API-Aufrufe","tabHeaderTitle":"Titel","tabHeaderFormat":"Format","statsDialogTimeRange":"Zeitspanne","statsDialogTitle":"Statistik der Distribution","statsDialogFooter":"Schließen","statsCatalogOverviewTitle":"Statistik der letzten 7 Tage","statsCatalogOverviewChartFileLabel":"Dateidownloads","statsCatalogOverviewChartAPILabel":"API-Aufrufe","statsChartPlaceholder":"Keine Daten vorhanden","tabItemAll":"Alle","searchPlaceholder":"Nach Name filtern","actionsExport":"Herunterladen","actionsPrint":"Drucken","tabHeaderDownload":"Downloads","searchClearLabel":"Suchfeld leeren","actionsExportTooltip":"CSV herunterladen","tabItemDocuments":"Dokumente","tabHeaderDataset":"Datensatz","statsChartAxisY":"Downloads/API-Aufrufe","apiCallTitle":"API-Aufruf zu  \"${1}\"","apiCallTitleFallback":"API-Aufruf"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaStatistics.nls"},{"lang":"sv","nls":{"statsViewHeader":"Statistik för publikt nedladdningsbara filer och API:er","statsNotPublishedCatalog":"Statistiken är endast tillgänglig för publicerade kataloger","timeRangeToday":"Idag","timeRangeYesterday":"Igår","timeRangeThisMonth":"Innevarande månad","timeRangeLastMonth":"Förra månaden","timeRangeThisYear":"Innevarande år","timeRangeLastYear":"Förra året","tabItemFiles":"Filer","tabItemApiCalls":"API-anrop","tabHeaderTitle":"Titel","tabHeaderFormat":"Format","statsDialogTimeRange":"Tidsintervall","statsDialogTitle":"Distributionsstatistik","statsDialogFooter":"Stäng","statsCatalogOverviewTitle":"Statistik för de senaste 7 dagarna","statsCatalogOverviewChartFileLabel":"Filnedladdningar","statsCatalogOverviewChartAPILabel":"API-anrop","statsChartPlaceholder":"Inga data tillgängliga","tabItemAll":"Alla","searchPlaceholder":"Filtrera efter namn","actionsExport":"Ladda ner","actionsPrint":"Skriv ut","tabHeaderDownload":"Nedladdningar","searchClearLabel":"Rensa sökfältet","actionsExportTooltip":"Ladda ner CSV","tabItemDocuments":"Dokument","tabHeaderDataset":"Datamängd","statsChartAxisY":"Nedladdnings/API-anrop","apiCallTitle":"API-anrop till \"${1}\"","apiCallTitleFallback":"API-anrop"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaStatistics.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaStatistics.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaStatistics.nls"}];

/***/ },

/***/ "./modules/catalog/nls/escaVisualization.nls"
/*!***************************************************!*\
  !*** ./modules/catalog/nls/escaVisualization.nls ***!
  \***************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"vizDialogFooter":"Save","vizDialogDistributionTitle":"Distribution","vizDialogDistributionUse":"Pick a dataset distribution source to visualize","vizDialogDistributionSource":"Source","vizDialogNameviz":"Title","vizDialogTypeTitle":"Chart type","vizDialogAxesTitle":"Chart axes","vizDialogPreview":"Preview","vizDialogSupportedProjections":"Select map projection","vizTable":"Table","addTitleLabel":"Title","vizGraphMap":"Map","vizGraphBar":"Bar chart","vizGraphPie":"Pie chart","vizGraphLine":"Line chart","createViz":"Create visualization","vizNoDistribution":"A distribution with an uploaded CSV file or a Web Map Service is required to create a visualization.","vizAcknowledge":"OK","vizBarValue":"To get the value for each category:","vizBarValueCount":"Count the number of rows in which each ${xField} appears","vizBarValueSum":"Sum ${yField} values for each ${xField}","vizBarValueNone":"Do not use any aggregation method","xAxis":"X axis","xAxisPie":"Label","xAxisMap":"Longitude","yAxis":"Y axis","yAxisPie":"Value","yAxisCountLabel":"Count","yAxisSumLabel":"Sum","yAxisMap":"Latitude","title":"Visualizations","edit":"Edit","preview":"Preview","remove":"Remove","previewDialogTitle":"Preview visualization","previewDialogButtonLabel":"Close","editDialogTitle":"Edit visualization","editDialogButtonLabel":"Save","untitled":"Visualization","barXAxisHelpText":"In a bar chart, the X axis typically represents categorical data.","barYAxisHelpText":"The Y axis represents the value associated with each X axis category.","pieXAxisHelpText":"In a pie chart, the labels typically represent categorical data.","pieYAxisHelpText":"The value represents the data associated with each label.","lineXAxisHelpText":"In a line chart, the X axis typically represents time.","lineYAxisHelpText":"The Y axis represents the value associated with each distinct moment in time.","barChartHelpText":"A bar chart presents categorical data with rectangular bars proportional to the values they represent.","lineChartHelpText":"A line chart presents information as a series of data points connected by lines. It is often used to visualize data over time.","mapChartHelpText":"The supported map presents geographical data as points on a map.","processingMethod":"Aggregation method","titleFieldLabel":"Metadata","filesizeError":"This file is too large to handle using the browser, please select another file","placeholderLabel":"A preview of the visualization will be shown here","removalConfirmation":"Remove this visualization?","encodingLabel":"Encoding","previewVisualizationSource":"Source","previewVisualizationSourceTooltip":"Download file","brokenVizError":"The visualization contains errors","loadSourceError":"Failed to load source","brokenVizPlaceholderLabel":"The visualization contains errors that need to be addressed before a preview can be shown","visualizationListPlaceholder":"Visualizations will appear here","vizDialogMapControls":"Map controls","vizDialogMapLegendControlLabel":"Include legend","vizDialogMapLegendScaleLineLabel":"Include scale bar","featureTitle":"Field to use as title for features on the map","vizDialogMapControlsTitle":"Map controls","vizDialogFeaturesTitle":"Feature options","pieChartHelpText":"A pie chart is a circular statistical graphic that is divided into slices to illustrate numerical proportions."},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/escaVisualization.nls"},{"lang":"de","nls":{"vizDialogFooter":"Speichern","vizDialogDistributionTitle":"Distribution","vizDialogDistributionUse":"Wählen Sie eine Distribution zur Visualisierung aus","vizDialogNameviz":"Titel","vizDialogTypeTitle":"Diagrammtyp","vizDialogAxesTitle":"Diagrammachsen","vizDialogPreview":"Voransicht","vizGraphMap":"Karte","vizGraphBar":"Balkendiagramm","vizGraphLine":"Liniendiagramm","createViz":"Visualisierung erstellen","vizNoDistribution":"Um eine Visualisierung zu erstellen ist eine Distribution mit einer hochgeladenen CSV-Datei oder ein Web Map Service erforderlich.","vizAcknowledge":"OK","vizBarValue":"Um den Wert für jede Kategorie zu erhalten:","vizBarValueCount":"Anzahl der Zeilen zählen, in denen jedes ${xField} erscheint","vizBarValueSum":"Die Werte von ${yField} für jeden Wert in ${xField} summieren","vizBarValueNone":"Keine Aggregationsmethode verwenden","xAxis":"x-Achse","xAxisMap":"Längengrad","yAxis":"y-Achse","yAxisMap":"Breitengrad","title":"Visualisierungen","edit":"Bearbeiten","preview":"Voransicht","remove":"Entfernen","previewDialogTitle":"Visualisierungsvorschau anzeigen","previewDialogButtonLabel":"Schließen","editDialogTitle":"Visualisierung bearbeiten","editDialogButtonLabel":"Speichern","untitled":"Visualisierung","barXAxisHelpText":"In einem Balkendiagramm repräsentiert die x-Achse normalerweise Daten in Kategorien.","barYAxisHelpText":"Die y-Achse repräsentiert den Wert, der jeder Kategorie der x-Achse zugeordnet ist.","lineXAxisHelpText":"In einem Liniendiagramm repräsentiert die x-Achse normalerweise die Zeit.","lineYAxisHelpText":"Die y-Achse repräsentiert den Wert, der jedem bestimmten Zeitpunkt zugeordnet ist.","barChartHelpText":"Ein Balkendiagramm zeigt Daten mit rechteckigen Balken an, deren Größe proportional zu den dargestellten Werten ist.","lineChartHelpText":"Ein Liniendiagramm zeigt Informationen als Reihe von Datenpunkten an, die durch Linien verbunden sind. Es wird normalerweise verwendet, um Daten in einem zeitlichen Kontext darzustellen.","mapChartHelpText":"Die unterstützte Karte zeigt geografische Daten als Punkte auf einer Landkarte an.","processingMethod":"Aggregationsmethode","titleFieldLabel":"Metadaten","filesizeError":"Diese Datei ist zu groß, um mit dem Browser verarbeitet zu werden. Wählen Sie eine andere Datei aus.","placeholderLabel":"Hier wird eine Vorschau der Visualisierung angezeigt","removalConfirmation":"Soll diese Visualisierung entfernt werden?","encodingLabel":"Zeichenkodierung","previewVisualizationSource":"Quelle","yAxisCountLabel":"Anzahl","yAxisSumLabel":"Summe","vizDialogDistributionSource":"Quelle","vizTable":"Tabelle","brokenVizError":"Die Visualisierung enthält Fehler","brokenVizPlaceholderLabel":"Die Visualisierung enthält Fehler die behoben werden müssen bevor eine Vorschau angezeigt werden kann","vizDialogSupportedProjections":"Kartenprojektion auswählen","visualizationListPlaceholder":"Visualisierungen werden hier angezeigt","vizDialogMapControls":"Steuerelemente auf der Karte","vizDialogMapLegendControlLabel":"Legende anzeigen","featureTitle":"Feld das als Titel für Merkmale auf der Karte verwendet werden soll","vizDialogFeaturesTitle":"Einstellungen für Merkmale","vizDialogMapLegendScaleLineLabel":"Maßstabsleiste anzeigen","vizDialogMapControlsTitle":"Kartensteuerung","addTitleLabel":"Titel","vizGraphPie":"Kreisdiagramm","xAxisPie":"Etikette","yAxisPie":"Wert","pieXAxisHelpText":"In einem Kreisdiagramm stellen die Etiketten in der Regel kategorische Daten dar.","pieYAxisHelpText":"Der Wert stellt die Daten dar, die mit jedem Etikett verbunden sind.","loadSourceError":"Quelle konnte nicht geladen werden","pieChartHelpText":"Ein Tortendiagramm ist eine kreisförmige statistische Grafik, die in Scheiben unterteilt ist, um numerische Proportionen zu veranschaulichen.","previewVisualizationSourceTooltip":"Datei herunterladen"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/de/escaVisualization.nls"},{"lang":"sv","nls":{"vizDialogFooter":"Spara","vizDialogDistributionTitle":"Distribution","vizDialogDistributionUse":"Välj en distributionsfil för visualiseringen","vizDialogNameviz":"Titel","vizDialogTypeTitle":"Diagramtyp","vizDialogAxesTitle":"Diagramaxlar","vizDialogPreview":"Förhandsvisa","vizGraphMap":"Karta","vizGraphBar":"Stapeldiagram","vizGraphLine":"Linjediagram","createViz":"Skapa visualisering","vizNoDistribution":"För att kunna skapa en visualisering behövs en distribution med en uppladdad CSV-fil eller en Web Map Service.","vizAcknowledge":"OK","vizBarValue":"För att få värdet för varje kategori:","vizBarValueCount":"Summera antalet rader där varje ${xField} förekommer","vizBarValueSum":"Summera värdena av ${yField} för varje ${xField}","vizBarValueNone":"Använd inte någon aggregeringsmetod","xAxis":"x-axel","xAxisMap":"Longitud","yAxis":"y-axel","yAxisMap":"Latitud","title":"Visualiseringar","edit":"Redigera","preview":"Förhandsvisa","remove":"Ta bort","previewDialogTitle":"Förhandsvisa visualisering","previewDialogButtonLabel":"Stäng","editDialogTitle":"Redigera visualisering","editDialogButtonLabel":"Spara","untitled":"Visualisering","barXAxisHelpText":"I ett stapeldiagram representerar x-axeln vanligtvis kategorier.","barYAxisHelpText":"Y-axeln representerar värdet associerat med varje kategori på x-axeln.","lineXAxisHelpText":"I ett linjediagram representerar x-axeln vanligtvis tid.","lineYAxisHelpText":"Y-axeln representerar värdet associerat med varje tidpunkt.","barChartHelpText":"Ett stapeldiagram presenterar kategoriska data med rektangulära staplar som är proportionella mot de värden de representerar.","lineChartHelpText":"Ett linjediagram visar information som linjer mellan datapunkter och används vanligtvis för att visualisera tidsserier.","mapChartHelpText":"Kartvisualiseringen visar geografiska data som punkter på en karta.","processingMethod":"Aggregeringsmetod","titleFieldLabel":"Metadata","filesizeError":"Denna fil är för stor för att hantera med webbläsaren, välj en annan fil","placeholderLabel":"En förhandsvisning av visualiseringen kommer att visas här","removalConfirmation":"Ta bort denna visualisering?","encodingLabel":"Teckenkod","previewVisualizationSource":"Källa","yAxisCountLabel":"Antal","yAxisSumLabel":"Summa","vizDialogDistributionSource":"Källa","vizTable":"Tabell","brokenVizError":"Visualiseringen innehåller fel","brokenVizPlaceholderLabel":"Visualiseringen innehåller fel som måste åtgärdas innan en förhandsvisning kan visas","vizDialogSupportedProjections":"Välj kartprojektion","visualizationListPlaceholder":"Visualiseringar kommer att visas här","vizDialogMapControls":"Kartkontroller","vizDialogMapLegendControlLabel":"Inkludera kartlegend","featureTitle":"Fält att använda som titel för objekt på kartan","vizDialogFeaturesTitle":"Funktionsinställningar","vizDialogMapLegendScaleLineLabel":"Inkludera skalstock","vizDialogMapControlsTitle":"Kartstyrning","addTitleLabel":"Titel","vizGraphPie":"Cirkeldiagram","xAxisPie":"Etikett","yAxisPie":"Värde","pieXAxisHelpText":"I ett cirkeldiagram representerar etiketterna vanligtvis kategoriska data.","pieYAxisHelpText":"Värdet representerar de data som är associerade med varje etikett.","loadSourceError":"Det gick inte att ladda källan","pieChartHelpText":"Ett cirkeldiagram är en grafisk representation av data där en cirkel delas in i sektorer som visar proportionerna av en helhet.","previewVisualizationSourceTooltip":"Ladda ner fil"},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/sv/escaVisualization.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/it/escaVisualization.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/catalog/nls/fr/escaVisualization.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoChart.nls"
/*!*******************************************!*\
  !*** ./modules/commons/nls/escoChart.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"noDataMessage":"There is no data available to render the chart"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoChart.nls"},{"lang":"de","nls":{"noDataMessage":"Es sind keine Daten zum Anzeigen des Diagramms verfügbar"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoChart.nls"},{"lang":"sv","nls":{"noDataMessage":"Det finns inga data för att visa diagrammet"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoChart.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoChart.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoChart.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoComment.nls"
/*!*********************************************!*\
  !*** ./modules/commons/nls/escoComment.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"replyComment":"Reply","deleteComment":"Delete","editComment":"Edit","postComment":"Post comment","cancelReply":"Cancel","reply":"{{PLURAL:$1|One reply|$1 replies}}","comment":"Comment","subject":"Subject","commentEditSave":"Save","commentEditCancel":"Cancel","subjectInput_placeholder":"Enter subject for comment","commentInput_placeholder":"Enter comment","closeDialogButton":"Close","addedComment":"Comment posted successfully","addedReply":"Reply added successfully","deleteCommentAction":"Comment deleted successfully","editCommentAction":"Comment updated successfully"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoComment.nls"},{"lang":"de","nls":{"replyComment":"Antworten","deleteComment":"Entfernen","editComment":"Bearbeiten","postComment":"Kommentar hinzufügen","cancelReply":"Abbrechen","reply":"{{PLURAL:$1|Eine Antwort|$1 Antworten}}","comment":"Kommentar","subject":"Betreff","commentEditSave":"Speichern","commentEditCancel":"Abbrechen","subjectInput_placeholder":"Geben Sie einen Betreff für den Kommentar ein","commentInput_placeholder":"Geben Sie einen Kommentar ein","closeDialogButton":"Schließen","addedComment":"Der Kommentar wurde erstellt","addedReply":"Die Antwort wurde hinzugefügt","deleteCommentAction":"Der Kommentar wurde gelöscht","editCommentAction":"Der Kommentar wurde aktualisiert"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoComment.nls"},{"lang":"sv","nls":{"replyComment":"Svara","deleteComment":"Ta bort","editComment":"Redigera","postComment":"Lägg till kommentar","cancelReply":"Avbryt","reply":"{{PLURAL:$1|Ett svar|$1 svar}}","comment":"Kommentar","subject":"Ämne","commentEditSave":"Spara","commentEditCancel":"Avbryt","subjectInput_placeholder":"Ange ämne för kommentaren","commentInput_placeholder":"Ange kommentar","closeDialogButton":"Stäng","addedComment":"Kommentaren har skapats","addedReply":"Svaret har lagts till","deleteCommentAction":"Kommentaren har tagits bort","editCommentAction":"Kommentaren har uppdaterats"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoComment.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoComment.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoComment.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoContentview.nls"
/*!*************************************************!*\
  !*** ./modules/commons/nls/escoContentview.nls ***!
  \*************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"contentViewDialogCloseLabel":"Close","noImageProvided":"No image provided","loadingPlaceholder":"Loading...","imageDialogTitle":"Image"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoContentview.nls"},{"lang":"de","nls":{"contentViewDialogCloseLabel":"Schließen","noImageProvided":"Kein Bild vorhanden","loadingPlaceholder":"Lade...","imageDialogTitle":"Bild"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoContentview.nls"},{"lang":"sv","nls":{"contentViewDialogCloseLabel":"Stäng","noImageProvided":"Ingen bild angiven","loadingPlaceholder":"Laddar...","imageDialogTitle":"Bild"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoContentview.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoContentview.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoContentview.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoDialogs.nls"
/*!*********************************************!*\
  !*** ./modules/commons/nls/escoDialogs.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"confirm":"Yes","reject":"No","ok":"OK","resource":"Resource","download":"Download metadata","showMetadata":"Show resource information","hideMetadata":"Hide resource information","buttonTooltip":"Download metadata in various formats","cancel":"Cancel","proceed":"Proceed","next":"Next","unsavedChanges":"There are some unsaved changes that will be lost if proceeding. Do you want to proceed?","replaceEntityURLCurrentLinkLabel":"Current link","replaceEntityURLNewLinkLabel":"New link","replaceLinkHeader":"Change link","replaceLinkFooterButton":"Change link","replaceLinkCrossContextWarning":"There may be references to this entity that cannot be found or updated.","invalidNewLink":"Link is invalid","newLinkRequired":"Field must not be empty","sameOldLink":"New link must not be the same as the old link","fieldType":"Resource type","infoTabLabel":"Information","aboutTabLabel":"About","refsTabLabel":"References","loadingPlaceholder":"Loading...","errorPlaceholder":"Unable to retrieve data","templatePlaceholder":"Unable to retrieve template","emptyPresenters":"No information found","tabsAriaLabel":"Linked Data Browser tabs","refreshAriaLabel":"Refresh","backAriaLabel":"Back","forwardAriaLabel":"Forward","breadcrumbsAriaLabel":"Breadcrumbs","infoDialogTitle":"Information","unnamedLabel":"Unnamed entity","unnamedEntity":"Unnamed $1","close":"Close","save":"Save","remove":"Remove","createButtonLabel":"Create","import":"Import","importHeader":"Import","importedTooltip":"Imported","importSuccess":"Imported successfully","editEntry":"Edit","editSuccess":"Saved successfully","saveFail":"Failed to save changes","defaultError":"An error occurred, unable to complete action","languageSwitcherLabel":"Display language","showAllLanguagesTitle":"Show all languages","showSelectedLanguageTitle":"Only show selected language","editedBy":"Edited by","createdBy":"Created by","createdLabel":"Created","modifiedDate":"Last modified","entityType":"Entity type","contextLabel":"Context","fileDetails":"File details","fileDetailsName":"Name","fileDetailsFormat":"Format","fileDetailsSize":"Size","externalStatus":"Access","external":"External","internal":"Internal","resourceType":"Resource type","graphType":"Graph type","entryType":"Entry type","entryId":"Entry ID","internalName":"Internal name","advancedSectionTitle":"Advanced","updatesSectionTitle":"Contributions","typesSectionTitle":"Types","statusSectionTitle":"Status","otherSectionTitle":"Other","downloadSectionTitle":"Downloads","statusLabel":"Status","accessLabel":"Access","activeStatus":"Active","archivedStatus":"Archived","completeStatus":"Complete","incompleteStatus":"Incomplete","publicStatus":"Public status","public":"Published","private":"Unpublished","digitalResource":"Digital resource","identifier":"Identifier","copyContent":"Copy to clipboard","downloadResourceTooltip":"Download resource","downloadURI":"Download administrative information (metametadata)","linkTooltip":"Open resource in new tab","reuseHeader":"Reuse","lockedTag":"Locked","lockedStatus":"Locked","unlockedStatus":"Unlocked","lockLabel":"Lock status","lockTooltip":"When locked, no edit can be made","storeSelectLabel":"Source","contextFilterLabel":"Project","localLabel":"Local","currentProjectLabel":"Current project","entryNameLabel":"Entry name","noEditInfoText":"Cannot be edited.","showAdvanced":"Show advanced","hideAdvanced":"Hide advanced","downloadCached":"Download cached external metadata","overviewIconTooltip":"Open details view in new tab","incompleteReferenceSearchWarning":"References in projects you can't access aren't shown. Contact an administrator for a complete list.","removeAnyway":"Remove anyway","removeAnywayMessage":"Removing this entity will leave the references below pointing to a deleted entity."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoDialogs.nls"},{"lang":"de","nls":{"confirm":"Ja","reject":"Nein","ok":"OK","resource":"Ressource","download":"Metadaten herunterladen","showMetadata":"Informationen zur Ressource anzeigen","hideMetadata":"Informationen zur Ressource ausblenden","buttonTooltip":"Metadaten in verschiedenen Formaten herunterladen","cancel":"Abbrechen","proceed":"Fortfahren","unsavedChanges":"Es gibt einige nicht gespeicherte Änderungen die verloren gehen wenn Sie fortfahren. Wollen Sie fortfahren?","replaceEntityURLCurrentLinkLabel":"Aktueller Link","replaceEntityURLNewLinkLabel":"Neuer Link","replaceLinkHeader":"Link ändern","replaceLinkFooterButton":"Link ändern","invalidNewLink":"Link ist ungültig","newLinkRequired":"Feld darf nicht leer sein","sameOldLink":"Der neue Link darf nicht mit dem alten Link identisch sein","fieldType":"Ressourcentyp","close":"Schließen","infoTabLabel":"Information","aboutTabLabel":"Über","refsTabLabel":"Referenzen","loadingPlaceholder":"Wird geladen...","errorPlaceholder":"Information konnte nicht abgerufen werden","templatePlaceholder":"Vorlage konnte nicht abgerufen werden","tabsAriaLabel":"Linked Data Browser-Registerkarten","refreshAriaLabel":"Aktualisieren","backAriaLabel":"Zurück","forwardAriaLabel":"Weiter","breadcrumbsAriaLabel":"Brotkrümel","infoDialogTitle":"Information","unnamedLabel":"Unbenanntes Objekt","emptyPresenters":"Keine Information gefunden","unnamedEntity":"Unbenanntes Objekt: $1","save":"Speichern","remove":"Entfernen","createButtonLabel":"Erstellen","editEntry":"Bearbeiten","editSuccess":"Erfolgreich gespeichert","defaultError":"Die Aktion konnte aufgrund eines Fehlers nicht abgeschlossen werden","import":"Importieren","importHeader":"Importieren","importedTooltip":"Importiert","importSuccess":"Erfolgreich importiert","saveFail":"Die Änderungen konnten nicht gespeichert werden","languageSwitcherLabel":"Anzeigesprache","showAllLanguagesTitle":"Alle Sprachen anzeigen","showSelectedLanguageTitle":"Nur ausgewählte Sprache anzeigen","reuseHeader":"Wiederverwenden","editedBy":"Bearbeitet von","createdBy":"Erstellt von","createdLabel":"Erstellt","modifiedDate":"Zuletzt geändert","entityType":"Objekttyp","contextLabel":"Kontext","fileDetails":"Dateidetails","fileDetailsName":"Name","fileDetailsFormat":"Format","fileDetailsSize":"Größe","resourceType":"Ressourcentyp","digitalResource":"Digitale Ressource","identifier":"Identifikator","downloadResourceTooltip":"Ressource herunterladen","downloadURI":"Verwaltungsinformationen (Metametadaten) herunterladen","linkTooltip":"Ressource in neuem Reiter öffnen","externalStatus":"Zugriff","external":"Extern","internal":"Intern","graphType":"Graph-Typ","entryType":"Eintragstyp","entryId":"Eintrags-ID","internalName":"Interner Name","advancedSectionTitle":"Fortgeschritten","updatesSectionTitle":"Beiträge","typesSectionTitle":"Typen","statusSectionTitle":"Status","otherSectionTitle":"Sonstiges","downloadSectionTitle":"Downloads","statusLabel":"Status","accessLabel":"Zugriff","activeStatus":"Aktiv","archivedStatus":"Archiviert","completeStatus":"Vollständig","incompleteStatus":"Unvollständig","publicStatus":"Veröffentlichungsstatus","public":"Veröffentlicht","private":"Nicht veröffentlicht","copyContent":"In die Zwischenablage kopieren","lockedTag":"Gesperrt","lockedStatus":"Gesperrt","unlockedStatus":"Nicht gesperrt","lockLabel":"Status sperren","lockTooltip":"Wenn gesperrt, kann keine Bearbeitung vorgenommen werden","storeSelectLabel":"Quelle","contextFilterLabel":"Projekt","localLabel":"Lokal","currentProjectLabel":"Aktuelles Projekt","entryNameLabel":"Name des Eintrags","noEditInfoText":"Kann nicht bearbeitet werden.","showAdvanced":"Erweitert anzeigen","hideAdvanced":"Erweitert ausblenden","downloadCached":"Zwischengespeicherte externe Metadaten herunterladen","replaceLinkCrossContextWarning":"Möglicherweise gibt es Verweise auf dieses Objekt, die nicht gefunden oder aktualisiert werden können.","overviewIconTooltip":"Detailansicht in neuem Tab öffnen"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoDialogs.nls"},{"lang":"sv","nls":{"confirm":"Ja","reject":"Nej","ok":"OK","resource":"Resurs","download":"Ladda ner metadata","showMetadata":"Visa information om resursen","hideMetadata":"Dölj information om resursen","buttonTooltip":"Ladda ner metadata i olika format","cancel":"Avbryt","proceed":"Fortsätt","unsavedChanges":"Det finns några osparade ändringar som kommer att gå förlorade om du fortsätter. Vill du fortsätta?","replaceEntityURLCurrentLinkLabel":"Aktuell länk","replaceEntityURLNewLinkLabel":"Ny länk","replaceLinkHeader":"Ändra länk","replaceLinkFooterButton":"Ändra länk","invalidNewLink":"Länken är ogiltig","newLinkRequired":"Fältet får inte vara tomt","sameOldLink":"Den nya länken får inte vara samma som den gamla länken","fieldType":"Resurstyp","close":"Stäng","infoTabLabel":"Information","aboutTabLabel":"Om","refsTabLabel":"Referenser","loadingPlaceholder":"Laddar...","errorPlaceholder":"Data kunde inte hämtas","templatePlaceholder":"Mallen kunde inte hämtas","tabsAriaLabel":"Linked Data Browser-flikar","refreshAriaLabel":"Uppdatera","backAriaLabel":"Bakåt","forwardAriaLabel":"Framåt","breadcrumbsAriaLabel":"Brödsmulor","infoDialogTitle":"Information","unnamedLabel":"Namnlös entitet","emptyPresenters":"Ingen information hittades","unnamedEntity":"Namnlös $1","save":"Spara","remove":"Ta bort","createButtonLabel":"Skapa","editEntry":"Redigera","editSuccess":"Sparad","defaultError":"Ett fel uppstod och det gick inte att slutföra åtgärden","import":"Importera","importHeader":"Importera","importedTooltip":"Importerad","importSuccess":"Importerad","saveFail":"Ändringarna kunde inte sparas","languageSwitcherLabel":"Visningsspråk","showAllLanguagesTitle":"Visa alla språk","showSelectedLanguageTitle":"Visa endast valt språk","reuseHeader":"Återanvändning","editedBy":"Redigerad av","createdBy":"Skapad av","createdLabel":"Skapad","modifiedDate":"Senast ändrad","entityType":"Entitetstyp","contextLabel":"Kontext","fileDetails":"Filinformation","fileDetailsName":"Namn","fileDetailsFormat":"Format","fileDetailsSize":"Storlek","resourceType":"Resurstyp","digitalResource":"Digital resurs","identifier":"Identifierare","downloadResourceTooltip":"Ladda ner resurs","downloadURI":"Ladda ner administrativ information (metametadata)","linkTooltip":"Öppna resursen i ny flik","externalStatus":"Åtkomst","external":"Extern","internal":"Intern","graphType":"Graftyp","entryType":"Entry Type","entryId":"Entry ID","internalName":"Intern beteckning","advancedSectionTitle":"Avancerad","updatesSectionTitle":"Bidrag","typesSectionTitle":"Typer","statusSectionTitle":"Status","otherSectionTitle":"Övriga","downloadSectionTitle":"Nedladdningar","statusLabel":"Status","accessLabel":"Åtkomst","activeStatus":"Aktiv","archivedStatus":"Arkiverad","completeStatus":"Komplett","incompleteStatus":"Ofullständig","publicStatus":"Publiceringsstatus","public":"Publicerad","private":"Opublicerad","copyContent":"Kopiera till urklipp","lockedTag":"Låst","lockedStatus":"Låst","unlockedStatus":"Upplåst","lockLabel":"Låsstatus","lockTooltip":"När den är låst kan ingen ändring göras","storeSelectLabel":"Källa","contextFilterLabel":"Projekt","localLabel":"Lokal","currentProjectLabel":"Aktuellt projekt","entryNameLabel":"Postnamn","noEditInfoText":"Kan inte redigeras.","showAdvanced":"Visa avancerad","hideAdvanced":"Dölj avancerad","downloadCached":"Ladda ner cachade externa metadata","replaceLinkCrossContextWarning":"Det kan finnas hänvisningar till denna entitet som inte kan hittas eller uppdateras.","overviewIconTooltip":"Öppna detaljvyn i ny flik"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoDialogs.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoDialogs.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoDialogs.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoEntityOverview.nls"
/*!****************************************************!*\
  !*** ./modules/commons/nls/escoEntityOverview.nls ***!
  \****************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"replaceEntityURLCurrentLinkLabel":"Current link","replaceEntityURLNewLinkLabel":"New link","newURLRequired":"New URL is required","unavailableURLFeedback":"This URL is not available","replaceLinkHeader":"Change link","replaceFileFooterButton":"Replace file","replaceFileHeader":"Replace file","currentFileLabel":"Current file","fileNameNotFound":"Current file name not available","addRelationTitle":"Add new entity","maxEntitiesTooltip":"The maximum number of entities is $1","relationsListPlaceholder":"Entities will appear here","addOrCreateRelationTitle":"Add or create entity","disconnectDialogPrompt":"Remove link from this entity? Other links will remain intact.","removeAggregationConfirmation":"Remove this entity?","replaceLinkMenu":"Change link","replaceFileButtonLabel":"Replace file","connectButtonLabel":"Link","connectedButtonLabel":"Linked","disconnectMenuItemLabel":"Disconnect","downloadButton":"Download","fileChangeSnackbar":"File replaced successfully","linkChangeSnackbar":"Link replaced successfully","createEntityTypeSuccess":"Entity created successfully","unableToRemove":"This entity is in use by $1 and needs to be replaced before it can be removed.","createEntityTypeFail":"Failed to create entity"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoEntityOverview.nls"},{"lang":"de","nls":{"replaceEntityURLCurrentLinkLabel":"Aktueller Link","replaceEntityURLNewLinkLabel":"Neuer Link","newURLRequired":"Neue URL ist erforderlich","unavailableURLFeedback":"Diese URL ist nicht verfügbar","replaceLinkHeader":"Link ändern","replaceFileFooterButton":"Datei ersetzen","replaceFileHeader":"Datei ersetzen","currentFileLabel":"Aktuelle Datei","fileNameNotFound":"Aktueller Dateiname ist nicht verfügbar","addRelationTitle":"Neues Objekt hinzufügen","maxEntitiesTooltip":"Die maximale Anzahl an Objekten beträgt $1","relationsListPlaceholder":"Objekte werden hier angezeigt","addOrCreateRelationTitle":"Objekt erstellen oder hinzufügen","disconnectDialogPrompt":"Link von diesem Objekt entfernen? Andere Links bleiben erhalten.","replaceLinkMenu":"Link ändern","replaceFileButtonLabel":"Datei ersetzen","connectButtonLabel":"Link","connectedButtonLabel":"Verlinkt","disconnectMenuItemLabel":"Trennen","downloadButton":"Herunterladen","fileChangeSnackbar":"Die Datei wurde erfolgreich ersetzt","linkChangeSnackbar":"Der Link wurde erfolgreich ersetzt","createEntityTypeSuccess":"Das Objekt wurde erfolgreich erstellt","createEntityTypeFail":"Das Objekt konnte nicht erstellt werden","removeAggregationConfirmation":"Dieses Objekt entfernen?","unableToRemove":"Dieses Objekt wird von $1 verwendet und muss ersetzt werden bevor es entfernt werden kann."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoEntityOverview.nls"},{"lang":"sv","nls":{"replaceEntityURLCurrentLinkLabel":"Aktuell länk","replaceEntityURLNewLinkLabel":"Ny länk","newURLRequired":"Ny URL krävs","unavailableURLFeedback":"Denna URL är inte tillgänglig","replaceLinkHeader":"Ändra länk","replaceFileFooterButton":"Ersätt fil","replaceFileHeader":"Ersätt fil","currentFileLabel":"Aktuell fil","fileNameNotFound":"Filnamnet är inte tillgängligt","addRelationTitle":"Lägg till ny entitet","maxEntitiesTooltip":"Det maximala antalet entiteter är $1","relationsListPlaceholder":"Entiteter visas här","addOrCreateRelationTitle":"Lägg till eller skapa entitet","disconnectDialogPrompt":"Ta bort länken från denna entitet? Övriga länkar kommer att förbli intakta.","replaceLinkMenu":"Ändra länk","replaceFileButtonLabel":"Ersätt fil","connectButtonLabel":"Länka","connectedButtonLabel":"Länkat","disconnectMenuItemLabel":"Ta bort länken","downloadButton":"Ladda ner","fileChangeSnackbar":"Filen har ersatts","linkChangeSnackbar":"Länken har ersatts","createEntityTypeSuccess":"Entiteten har skapats","createEntityTypeFail":"Entiteten kunde inte skapas","removeAggregationConfirmation":"Ta bort denna entitet?","unableToRemove":"Denna entitet används av $1 och måste ersättas innan den kan tas bort."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoEntityOverview.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoEntityOverview.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoEntityOverview.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoEntryChooser.nls"
/*!**************************************************!*\
  !*** ./modules/commons/nls/escoEntryChooser.nls ***!
  \**************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"searchForHeader":"Provide an entity for field \"$1\"","errorMessage":"No entities found for field \"$1\"","entityDetails":"Detailed information","selectEntity":"Select","selectedEntityLabel":"Selected","createLabel":"Create","createEntryType":"Create \"$1\"","createButton":"Create","actionTooltip":"Create entity","terminologyLabel":"Terminology","emptyListWarning":"No concept available for chosen terminology","listHeaderLabel":"Title","listHeaderModifiedDate":"Modified","infoTooltip":"Detailed information","selectAll":"All","noResultFound":"There are no concepts to show","noSearchResults":"No results for \"$1\"","storeSelectLabel":"Source","contextFilterLabel":"Project","currentProjectLabel":"Current project","unnamedProject":"Project with ID \"$1\"","defaultStoreLabel":"Default"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoEntryChooser.nls"},{"lang":"de","nls":{"searchForHeader":"Wählen Sie ein Objekt für das Feld \"$1\"","errorMessage":"Für das Feld \"$1\" wurden keine Objekte gefunden","createLabel":"Erstellen","createEntryType":"Erstelle \"$1\"","entityDetails":"Detaillierte Information","selectEntity":"Auswählen","terminologyLabel":"Terminologie","emptyListWarning":"Für die ausgewählte Terminologie ist kein Konzept verfügbar","listHeaderLabel":"Titel","listHeaderModifiedDate":"Geändert","selectAll":"Alle","infoTooltip":"Detaillierte Informationen","noResultFound":"Es gibt keine Begriffe die angezeigt werden könnten","selectedEntityLabel":"Ausgewählt","storeSelectLabel":"Quelle","defaultStoreLabel":"Voreinstellung","createButton":"Erstellen","actionTooltip":"Objekt erstellen","noSearchResults":"Keine Ergebnisse für \"$1\"","contextFilterLabel":"Projekt","currentProjectLabel":"Aktuelles Projekt","unnamedProject":"Projekt mit der ID \"$1\""},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoEntryChooser.nls"},{"lang":"sv","nls":{"searchForHeader":"Sök efter entiteter för fält \"$1\"","errorMessage":"Inga entiteter hittades för fält \"$1\"","createLabel":"Skapa","createEntryType":"Skapa \"$1\"","entityDetails":"Detaljerad information","selectEntity":"Välj","terminologyLabel":"Terminologi","emptyListWarning":"Inget begrepp tillgängligt för vald terminologi","listHeaderLabel":"Titel","listHeaderModifiedDate":"Ändrad","selectAll":"Alla","infoTooltip":"Detaljerad information","noResultFound":"Det finns inga begrepp att visa","selectedEntityLabel":"Vald","storeSelectLabel":"Källa","defaultStoreLabel":"Standard","createButton":"Skapa","actionTooltip":"Skapa entitet","noSearchResults":"Inga resultat för \"$1\"","contextFilterLabel":"Projekt","currentProjectLabel":"Aktuellt projekt","unnamedProject":"Projekt med ID \"$1\""},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoEntryChooser.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoEntryChooser.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoEntryChooser.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoEntryType.nls"
/*!***********************************************!*\
  !*** ./modules/commons/nls/escoEntryType.nls ***!
  \***********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"linkLabel":"Link","fileLabel":"File","fileRequired":"A file is required","fileInputBrowse":"Browse files","linkInput_placeholder":"If empty, a web address will be created for this entity","linkInputExternal_placeholder":"A web address is required","linkRequired":"A web address is required","linkNotValid":"Invalid web address, it must start with \"http://\" or \"https://\" and the hostname must end with a top-level domain (e.g. \".se\")","browseFile":"Browse","internalLink":"A web address will be generated for this entity","webAddressLabel":"Web address","linkPatternUnavailableURL":"This URL is not available","uploadFile":"Upload file","importEntryTabsAriaLabel":"Import entry tabs","linkPlaceholder":"https://example.tld"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoEntryType.nls"},{"lang":"de","nls":{"linkLabel":"Webadresse","fileLabel":"Datei","linkInput_placeholder":"Wird hier nichts eingetragen, wird eine Webadresse für dieses Objekt automatisch erzeugt","linkInputExternal_placeholder":"Eine Webadresse ist erforderlich","linkNotValid":"Die Webadresse ist ungültig, sie muss mit \"http://\" oder \"https://\" beginnen und der Hostname muss mit einer Top-Level Domain enden (z.B. \".de\")","browseFile":"Durchsuchen","internalLink":"Eine Webadresse wird für dieses Objekt erzeugt","linkPatternUnavailableURL":"Diese Webadresse ist nicht verfügbar","fileRequired":"Eine Datei ist erforderlich","fileInputBrowse":"Dateien auswählen","linkRequired":"Eine Webadresse ist erforderlich","webAddressLabel":"Webadresse","uploadFile":"Datei hochladen","importEntryTabsAriaLabel":"Tabs für den Entryimport","linkPlaceholder":"https://example.tld"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoEntryType.nls"},{"lang":"sv","nls":{"linkLabel":"Länk","fileLabel":"Fil","linkInput_placeholder":"En webbadress kommer att skapas om detta fält lämnas tomt","linkInputExternal_placeholder":"En webbadress är nödvändig","linkNotValid":"Webbadressen måste börja på \"http://\" eller \"https://\" och domänen måste sluta med en top-level domän (t.ex. \".se\")","browseFile":"Utforska","internalLink":"En webbaddress kommer att skapas för denna entitet","linkPatternUnavailableURL":"Den här webbadressen är inte tillgänglig","fileRequired":"En fil krävs","fileInputBrowse":"Välj fil","linkRequired":"En webbadress krävs","webAddressLabel":"Webbadress","uploadFile":"Ladda upp fil","importEntryTabsAriaLabel":"Flikar för entitetsimport","linkPlaceholder":"https://example.tld"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoEntryType.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoEntryType.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoEntryType.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoErrors.nls"
/*!********************************************!*\
  !*** ./modules/commons/nls/escoErrors.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"errorHeader":"Something went wrong.","notConnected":"Action not performed since you are not connected. Connecting in ${time}...","connectionLost":"Connection lost, retrying in ${countdown} seconds.","tryNow":"Try now","loading":"Loading data...","genericProblem":"Unknown error. Try to reload EntryScape if the problem persists.","entityNotFoundError":"Entity not found","conflictProblem":"Someone has made changes to the resource you are currently editing. This prevents your changes from being saved. Reload and try again.","showDetails":"Show details","hideDetails":"Hide details","closeDialog":"Close","confirmCloseDialog":"OK","signedOut":"The action you tried to perform is only allowed for signed-in users","signIn":"Sign in","restrictionHeader":"Operation not permitted","restrictionFallback":"This action can’t be completed because of a restriction.","unauthorizedError":"This action cannot be completed since you are currently not authenticated. Do you want to proceed to the sign-in page? All unsaved data will be lost.","maintenanceHeader":"We will be right back","maintenanceContact":"If you have any questions, contact us at ","maintenanceImageAlt":"Maintenance image","maintenanceDialogTitle":"Planned maintenance","maintenanceDialogStart":"Start at","maintenanceDialogEnd":"End at","maintenanceDialogClose":"Close","maintenanceButton":"Maintenance","proceedToLoginLabel":"Proceed to sign-in page","cancelLabel":"Cancel","saveEditsFail":"Failed to save changes","createFail":"Failed to create entity","configurationError":"Configuration error, contact an administrator.","publishFail":"Failed to publish","unpublishFail":"Failed to unpublish"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoErrors.nls"},{"lang":"de","nls":{"notConnected":"Die Aktion konnte nicht durchgeführt werden, da Sie nicht verbunden sind. Erneuter Verbindungsversuch in ${time}...","tryNow":"Jetzt versuchen","loading":"Daten werden geladen...","genericProblem":"Ein Fehler ist aufgetreten. Versuchen Sie EntryScape neu zu laden, falls der Fehler weiter besteht.","conflictProblem":"Jemand hat Änderungen an der Ressource vorgenommen, die Sie gerade bearbeiten. Dadurch wird verhindert, dass Ihre Änderungen gespeichert werden. Laden Sie die Ressource neu und versuchen Sie es erneut.","showDetails":"Details anzeigen","hideDetails":"Details ausblenden","closeDialog":"Schließen","signedOut":"Diese Aktion kann nur von angemeldeten Benutzern durchgeführt werden","signIn":"Anmelden","restrictionHeader":"Aktion nicht erlaubt","connectionLost":"Keine Verbindung, neuer Versuch in ${countdown} Sekunden","restrictionFallback":"Diese Aktion kann aufgrund einer Einschränkung nicht ausgeführt werden.","errorHeader":"Ein Fehler ist aufgetreten.","confirmCloseDialog":"OK","unauthorizedError":"Diese Aktion kann nicht abgeschlossen werden da Sie derzeit nicht authentisiert sind. Möchten Sie zur Anmeldeseite fortfahren? Alle nicht gespeicherten Daten gehen verloren.","maintenanceHeader":"Wir sind gleich wieder da","maintenanceContact":"Wenn Sie Fragen haben, kontaktieren Sie uns unter ","maintenanceImageAlt":"Wartungsbild","maintenanceDialogTitle":"Geplante Wartung","maintenanceDialogStart":"Beginn","maintenanceDialogEnd":"Ende","maintenanceDialogClose":"Schließen","maintenanceButton":"Wartung","proceedToLoginLabel":"Weiter zur Anmeldeseite","cancelLabel":"Abbrechen","saveEditsFail":"Die Änderungen konnten nicht gespeichert werden","createFail":"Das Objekt konnte nicht erstellt werden","configurationError":"Konfigurationsfehler, wenden Sie sich an einen Administrator.","entityNotFoundError":"Objekt nicht gefunden","publishFail":"Die Veröffentlichung ist fehlgeschlagen","unpublishFail":"Die Aufhebung der Veröffentlichung ist fehlgeschlagen"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoErrors.nls"},{"lang":"sv","nls":{"notConnected":"Åtgärden genomfördes inte då du tappat kontakten med servern. Försöker återställa kontakten ${time}...","tryNow":"Försök nu","loading":"Laddar data...","genericProblem":"Ett okänt fel har inträffat. Försök ladda om EntryScape om problemet kvarstår.","conflictProblem":"Någon har ändrat i resursen som du jobbar med och hindrar dina ändringar från att sparas. Ladda om och försök igen.","showDetails":"Visa detaljer","hideDetails":"Göm detaljer","closeDialog":"Stäng","signedOut":"Du har loggats ut och den åtgärd du försökte utföra är endast tillåten för inloggade användare.","signIn":"Logga in","restrictionHeader":"Åtgärden är inte tillåten","connectionLost":"Ingen anslutning, nytt försök om ${countdown} sekunder","restrictionFallback":"Åtgärden kan inte slutföras på grund av en begränsning.","errorHeader":"Ett fel har uppstått.","confirmCloseDialog":"OK","unauthorizedError":"Den här åtgärden kan inte slutföras eftersom du för närvarande inte är inloggad. Vill du gå vidare till inloggningssidan? All osparad data kommer att gå förlorad.","maintenanceHeader":"Tjänsten är snart tillbaka","maintenanceContact":"Om du har några frågor, kontakta oss på ","maintenanceImageAlt":"Underhållsbild","maintenanceDialogTitle":"Planerat underhåll","maintenanceDialogStart":"Påbörjas","maintenanceDialogEnd":"Avslutas","maintenanceDialogClose":"Stäng","maintenanceButton":"Underhåll","proceedToLoginLabel":"Fortsätt till inloggningssidan","cancelLabel":"Avbryt","saveEditsFail":"Det gick inte att spara ändringarna","createFail":"Entiteten kunde inte skapas","configurationError":"Konfigurationsfel, kontakta en administratör.","entityNotFoundError":"Entiteten hittades inte","publishFail":"Misslyckades att publicera","unpublishFail":"Misslyckades att avpublicera"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoErrors.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoErrors.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoErrors.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoFile.nls"
/*!******************************************!*\
  !*** ./modules/commons/nls/escoFile.nls ***!
  \******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"fileUploadSizeLimit":"Uploaded file is too large. Current upload limit is set to ${limit} MB."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoFile.nls"},{"lang":"de","nls":{"fileUploadSizeLimit":"Die hochgeladene Datei ist zu groß. Das aktuelle Upload-Limit ist auf ${limit} MB festgelegt."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoFile.nls"},{"lang":"sv","nls":{"fileUploadSizeLimit":"Den uppladdade filen är för stor. Den aktuella storleksgränsen är ${limit} MB."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoFile.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoFile.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoFile.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoFilters.nls"
/*!*********************************************!*\
  !*** ./modules/commons/nls/escoFilters.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"clearAllButton":"Clear filters","searchFiltersButtonTooltip":"Search filters","anyFilterLabel":"Any","contextFilterHeader":"Restrict to current project","publicFilterHeader":"Publication status","pubPublicLabel":"Published","pubUnpublishedLabel":"Unpublished","contextFilterHeaderCatalog":"Restrict to current catalog","parentCatalogFilterHeader":"Show parent catalogs only"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoFilters.nls"},{"lang":"de","nls":{"clearAllButton":"Filter zurücksetzen","searchFiltersButtonTooltip":"Suchfilter","anyFilterLabel":"Alle","contextFilterHeader":"Auf aktuelles Projekt beschränken","contextFilterHeaderCatalog":"Auf aktuellen Katalog beschränken","publicFilterHeader":"Veröffentlichungsstatus","pubPublicLabel":"Veröffentlicht","pubUnpublishedLabel":"Nicht veröffentlicht","parentCatalogFilterHeader":"Nur übergeordnete Kataloge anzeigen"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoFilters.nls"},{"lang":"sv","nls":{"clearAllButton":"Rensa filter","searchFiltersButtonTooltip":"Sökfilter","anyFilterLabel":"Alla","contextFilterHeader":"Begränsa till aktuellt projekt","contextFilterHeaderCatalog":"Begränsa till aktuell katalog","publicFilterHeader":"Publiceringsstatus","pubPublicLabel":"Publicerad","pubUnpublishedLabel":"Opublicerad","parentCatalogFilterHeader":"Visa endast överordnade kataloger"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoFilters.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoFilters.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoFilters.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoForms.nls"
/*!*******************************************!*\
  !*** ./modules/commons/nls/escoForms.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"requiredFieldError":"This field is required","missingValueError":"Value is missing","uriValueError":"Value must be a URI","invalidValueError":"Value is invalid","constraintPropertyLabel":"Constraint property","constraintObjectLabel":"Object","moveDownTooltip":"Move down","moveUpTooltip":"Move up","builtinNamespaceError":"A built-in namespace with this name already exists","discardChangesWarning":"Do you want to discard your changes?","discardChanges":"Discard changes","saveChanges":"Save changes","keepChanges":"Keep editing","loadingText":"Loading..."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoForms.nls"},{"lang":"de","nls":{"requiredFieldError":"Dieses Feld ist erforderlich","missingValueError":"Wert fehlt","uriValueError":"Der Wert muss eine URI sein","constraintPropertyLabel":"Beschränkungseigenschaft","constraintObjectLabel":"Objekt","builtinNamespaceError":"Ein integrierter Namensraum mit diesem Namen ist bereits vorhanden","moveDownTooltip":"Nach unten verschieben","moveUpTooltip":"Nach oben verschieben","discardChangesWarning":"Sollen Ihre Änderungen verworfen werden?","discardChanges":"Änderungen verwerfen","saveChanges":"Änderungen speichern","keepChanges":"Bearbeitung fortsetzen","loadingText":"Wird geladen...","invalidValueError":"Der Wert ist ungültig"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoForms.nls"},{"lang":"sv","nls":{"requiredFieldError":"Detta fält är obligatoriskt","missingValueError":"Värde saknas","uriValueError":"Värdet måste vara en URI","constraintPropertyLabel":"Begränsningsegenskap","constraintObjectLabel":"Objekt","builtinNamespaceError":"En inbyggd namnrymd med detta namn finns redan","moveDownTooltip":"Flytta ner","moveUpTooltip":"Flytta upp","discardChangesWarning":"Vill du förkasta dina ändringar?","discardChanges":"Förkasta ändringar","saveChanges":"Spara ändringar","keepChanges":"Fortsätt redigera","loadingText":"Laddar...","invalidValueError":"Värdet är ogiltigt"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoForms.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoForms.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoForms.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoGeoMap.nls"
/*!********************************************!*\
  !*** ./modules/commons/nls/escoGeoMap.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"layersButtonLabel":"Layers","layersSelectText":"Select layers for visualization (zooming or panning may be required)","closeLayerSwitcher":"Close layer visibility options","missingLayerInformation":"Layer information missing","noSupportedProjectionsFound":"The WMS service does not contain information about supported projections","supportedProjectionNotFound":"Projection information not found for WMS service","loadFromHttpError":"The WMS URL must start with \"https://\"","getCapabilitiesLoadError":"Unable to load WMS data","getCapabilitiesParseError":"Unable to parse WMS data","missingBaseURI":"Base URI is missing","backgroundMapTitle":"Background map"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoGeoMap.nls"},{"lang":"de","nls":{"layersButtonLabel":"Ebenen","layersSelectText":"Wählen Sie Ebenen für die Visualisierung aus","closeLayerSwitcher":"Sichtbarkeitsoptionen für Schicht schließen","missingLayerInformation":"Schichtinformationen fehlen","noSupportedProjectionsFound":"Der WMS-Dienst enthält keine Informationen zu unterstützten Projektionen","supportedProjectionNotFound":"Keine Projektionsinformationen für den WMS-Dienst gefunden","loadFromHttpError":"Die WMS-URL muss mit \"https://\" beginnen","getCapabilitiesLoadError":"WMS-Daten können nicht geladen werden","getCapabilitiesParseError":"WMS-Daten können nicht analysiert werden","missingBaseURI":"Basis-URI fehlt","backgroundMapTitle":"Hintergrundkarte"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoGeoMap.nls"},{"lang":"sv","nls":{"layersButtonLabel":"Lager","layersSelectText":"Välj lager för visualisering","closeLayerSwitcher":"Stäng alternativ för lagersynlighet","missingLayerInformation":"Lagerinformation saknas","noSupportedProjectionsFound":"WMS-tjänsten saknar information om projektioner som stöds","supportedProjectionNotFound":"Ingen projektionsinformation hittades för WMS-tjänsten","loadFromHttpError":"WMS-adressen måste börja med \"https://\"","getCapabilitiesLoadError":"Det gick inte att ladda WMS-data","getCapabilitiesParseError":"Det går inte att tolka WMS-data","missingBaseURI":"Bas-URI saknas","backgroundMapTitle":"Bakgrundskarta"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoGeoMap.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoGeoMap.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoGeoMap.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoLayout.nls"
/*!********************************************!*\
  !*** ./modules/commons/nls/escoLayout.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"signOutLabel":"Sign out","goHomeLink":"Go to start view","settingsLabel":"Settings","settingsHeader":"Settings","username":"Username","firstname":"Given name","firstnamePlaceholder":"Provide your given name","lastname":"Family name","noSettingsError":"Settings could not be loaded.","firstNameTooShort":"Given name must consist of at least two characters.","lastNameTooShort":"Family name must consist of at least two characters.","firstNameMissing":"Given name is missing.","lastNameMissing":"Family name is missing.","savingSettings":"Saving...","passwordSaveError":"The password could not be saved.","metadataSaveError":"Metadata could not be saved.","settingsSaveError":"Settings could not be saved.","languageSaveError":"The language settings could not be saved.","language":"Language","unsupportedBrowserTitle":"Warning","unSupportedBrowser":"Your browser is not officially supported. EntryScape has been tested with the most recent versions of Chrome, Firefox, Edge and Safari.","continueUnsupportedBrowser":"Continue","privacyPolicyHeader":"Privacy Policy","privacyPolicyInitialInner":"You have not yet acknowledged our Privacy Policy.","privacyPolicyUpdateInner":"We have updated our Privacy Policy.","termsConditionsInitialInner":"You have not yet agreed to our Terms and Conditions.","termsConditionsUpdateInner":"We have updated our Terms and Conditions.","linkText":"Read the latest version","privacyPrompt":"To use the application, you need to acknowledge our Privacy Policy.","privacyPolicyAgree":"I acknowledge","termsConditionsHeader":"Terms and Conditions","termsPrompt":"To use the application, you need to agree to our Terms and Conditions.","termsConditionsAgree":"I agree","privacyPolicyAndTermsAgree":"I agree","privacyPolicy":"Privacy Policy","privacyPolicyLink":"Privacy Policy","privacyAndTermsPrompt":"To use the application, you need to acknowledge our Privacy Policy and agree to our Terms and Conditions.","signInFromBanner":"Sign in","pinSidebarLabel":"Pin sidebar","unpinSidebarLabel":"Unpin sidebar","accountButtonAriaLabel":"Current user account","skipLinkLabel":"Skip to main content","skipToSecondaryNavLabel":"Skip to secondary navigation","primaryNavigation":"Main","secondaryNavigation":"Secondary","userMenuTermsLabel":"Terms and Conditions","releaseInfoLabel":"What's new?","helpTitle":"Help","helpCloseTooltip":"Close help","helpAriaLabel":"Help","helpSearchPlaceholder":"Search documentation","helpSearchClearTooltip":"Clear","docsLinkLabel":"Browse documentation","themeMode":"Theme","themeModeLight":"Light","themeModeDark":"Dark","themeModeSystem":"System","themeModeHighContrast":"High contrast"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoLayout.nls"},{"lang":"de","nls":{"settingsHeader":"Einstellungen","username":"Benutzername","firstname":"Vorname","firstnamePlaceholder":"Geben Sie Ihren Vornamen ein","lastname":"Nachname","noSettingsError":"Die Einstellungen konnten nicht geladen werden.","firstNameMissing":"Der Vorname fehlt.","lastNameMissing":"Der Nachname fehlt.","savingSettings":"Speichere...","passwordSaveError":"Das Kennwort konnte nicht gespeichert werden.","metadataSaveError":"Die Metadaten konnten nicht gespeichert werden.","settingsSaveError":"Die Einstellungen konnten nicht gespeichert werden.","languageSaveError":"Die Spracheinstellungen konnten nicht gespeichert werden","language":"Sprache","unSupportedBrowser":"Ihr Webbrowser wird offiziell nicht unterstützt.<br>EntryScape wurde getestet mit den neuesten Versionen von: <ul><li>Chrome</li><li>Firefox</li><li>Edge</li><li>Safari</li></ul>","continueUnsupportedBrowser":"Fortsetzen","privacyPolicy":"Datenschutzerklärung","signInFromBanner":"Anmelden","signOutLabel":"Abmelden","settingsLabel":"Einstellungen","goHomeLink":"Zur Startansicht wechseln","privacyPolicyLink":"Datenschutzerklärung","privacyPolicyHeader":"Datenschutzerklärung","linkText":"Lesen Sie die neueste Version","privacyPrompt":"Um die Anwendung nutzen zu können, müssen Sie bestätigen dass Sie unsere Datenschutzerklärung zur Kenntnis genommen haben.","privacyPolicyAgree":"Ich bestätige","termsConditionsHeader":"Allgemeine Geschäftsbedingungen","termsPrompt":"Um die Anwendung nutzen zu können, müssen Sie unseren allgemeinen Geschäftsbedingungen zustimmen.","termsConditionsAgree":"Ich stimme zu","privacyPolicyAndTermsAgree":"Ich stimme zu","privacyAndTermsPrompt":"Um die Anwendung nutzen zu können, müssen Sie bestätigen dass Sie unsere Datenschutzerklärung zur Kenntnis genommen haben und dass Sie unseren allgemeinen Geschäftsbedingungen zustimmen.","privacyPolicyInitialInner":"Sie haben noch nicht bestätigt, dass Sie unsere Datenschutzerklärung zur Kenntnis genommen haben.","privacyPolicyUpdateInner":"Wir haben unsere Datenschutzerklärung aktualisiert.","termsConditionsInitialInner":"Sie haben unseren allgemeinen Geschäftsbedingungen noch nicht zugestimmt.","termsConditionsUpdateInner":"Wir haben unsere allgemeinen Geschäftsbedingungen aktualisiert.","unsupportedBrowserTitle":"Warnung","accountButtonAriaLabel":"Aktuelles Benutzerkonto","skipLinkLabel":"Zum Hauptinhalt wechseln","primaryNavigation":"Hauptnavigation","secondaryNavigation":"Sekundärnavigation","firstNameTooShort":"Der Vorname muss aus mindestens zwei Zeichen bestehen.","lastNameTooShort":"Der Familienname muss aus mindestens zwei Zeichen bestehen.","userMenuTermsLabel":"Allgemeine Geschäftsbedingungen","skipToSecondaryNavLabel":"Zur Sekundärnavigation springen","releaseInfoLabel":"Was gibt's Neues?","helpTitle":"Hilfe","helpCloseTooltip":"Hilfe schließen","helpAriaLabel":"Hilfe","helpSearchPlaceholder":"Dokumentation durchsuchen","helpSearchClearTooltip":"Zurücksetzen","docsLinkLabel":"Dokumentation durchblättern","themeMode":"Thema","themeModeLight":"Hell","themeModeDark":"Dunkel","themeModeSystem":"System","themeModeHighContrast":"Hoher Kontrast","pinSidebarLabel":"Seitenleiste anheften","unpinSidebarLabel":"Seitenleiste lösen"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoLayout.nls"},{"lang":"sv","nls":{"settingsHeader":"Inställningar","username":"Användarnamn","firstname":"Förnamn","firstnamePlaceholder":"Ange ditt förnamn","lastname":"Efternamn","noSettingsError":"Inställningar kunde inte laddas.","firstNameMissing":"Förnamn saknas.","lastNameMissing":"Efternamn saknas.","savingSettings":"Sparar...","passwordSaveError":"Lösenordet kunde inte sparas.","metadataSaveError":"Metadata kunde inte sparas.","settingsSaveError":"Inställningar kunde inte sparas.","languageSaveError":"Språketinställningar kunde inte sparas.","language":"Språk","unSupportedBrowser":"Din browser stöds inte officiellt.<br>EntryScape har testats med aktuella versioner av följande webbläsare:<ul><li>Chrome</li><li>Firefox</li><li>Edge</li><li>Safari</li></ul>","continueUnsupportedBrowser":"Fortsätt","privacyPolicy":"Integritetspolicy","signInFromBanner":"Logga in","signOutLabel":"Logga ut","settingsLabel":"Inställningar","goHomeLink":"Växla till startvyn","privacyPolicyLink":"Integritetspolicy","privacyPolicyHeader":"Integritetspolicy","linkText":"Läs den senaste versionen","privacyPrompt":"För att använda applikationen måste du bekräfta att du har tagit del av vår integritetspolicy.","privacyPolicyAgree":"Jag bekräftar","termsConditionsHeader":"Allmänna villkor","termsPrompt":"För att använda applikationen måste du godkänna våra allmänna villkor.","termsConditionsAgree":"Jag godkänner","privacyPolicyAndTermsAgree":"Jag godkänner","privacyAndTermsPrompt":"För att använda applikationen måste du bekräfta att du har tagit del av vår integritetspolicy och godkänna våra allmänna villkor.","privacyPolicyInitialInner":"Du har ännu inte bekräftat att du har tagit del av vår integritetspolicy.","privacyPolicyUpdateInner":"Vi har uppdaterat vår integritetspolicy.","termsConditionsInitialInner":"Du har ännu inte godkänt våra allmänna villkor.","termsConditionsUpdateInner":"Vi har uppdaterat våra allmänna villkor.","unsupportedBrowserTitle":"Varning","accountButtonAriaLabel":"Aktuellt användarkonto","skipLinkLabel":"Gå till huvudinnehåll","primaryNavigation":"Huvudnavigering","secondaryNavigation":"Sekundär navigering","firstNameTooShort":"Förnamnet måste bestå av minst två tecken.","lastNameTooShort":"Efternamnet måste bestå av minst två tecken.","userMenuTermsLabel":"Allmänna villkor","skipToSecondaryNavLabel":"Hoppa till sekundär navigering","releaseInfoLabel":"Vad är nytt?","helpTitle":"Hjälp","helpCloseTooltip":"Stäng hjälpen","helpAriaLabel":"Hjälp","helpSearchPlaceholder":"Sök i dokumentationen","helpSearchClearTooltip":"Tömma","docsLinkLabel":"Bläddra i dokumentationen","themeMode":"Tema","themeModeLight":"Ljus","themeModeDark":"Mörk","themeModeSystem":"System","themeModeHighContrast":"Hög kontrast","pinSidebarLabel":"Fäst sidofältet","unpinSidebarLabel":"Lossa sidofältet"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoLayout.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoLayout.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoLayout.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoList.nls"
/*!******************************************!*\
  !*** ./modules/commons/nls/escoList.nls ***!
  \******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"actionTooltipRefresh":"Refresh list","actionTooltipSort":"Sort $1","cancel":"Cancel","clear":"Clear search","createHeader":"Create new entity \"$1\"","createButton":"Create","finalizeButton":"Finalize","draftTooltip":"This is an incomplete entity","draftFilterHeader":"Completion status","draftLabel":"Incomplete","draftTag":"Incomplete","completedLabel":"Completed","unnamedEntity":"Entity with ID \"$1\"","downloadLabel":"Download","editEntry":"Edit","editHeader":"Edit","infoEntry":"Detailed information","invalidSearchMessage":"Invalid characters in search string, the following characters are not allowed: \" , ~ # ( )","listHeaderModifiedDate":"Modified","listHeaderPublicLabel":"Public","listHeaderStatusLabel":"Status","listResultSizeText":"{{PLURAL:$1|1 result|$1 results}}","listSearchTitle":"Enter at least 3 characters to initiate the search","search":"Search","emptySearchResult":"No results for \"$1\"","modifiedDateTitle":"Last modified at ${date}","moreOptions":"More","saveEditedEntry":"Save changes","sortOptionsLabel":"Sort by:","sortingFieldModifiedDate":"modification date","sortFieldInAsc":"Sort $1 in ascending order","sortFieldInDesc":"Sort $1 in descending order","refreshListLabel":"Refresh","removeAllEntries":"Do you want to remove the selected entities?","removeEntryConfirm":"Do you want to remove this entity?","removeEntryFailed":"Failed to remove entity","removeEntryLabel":"Remove","removeEntryTitle":"Remove","removeButtonLabel":"Remove","sharingSettingsLabel":"Sharing settings","sortOrderAsc":"in ascending order","sortOrderDesc":"in descending order","titleSortLabel":"Title","typeaheadPlaceholder":"Search for entities to add to list","versionsLabel":"Revisions","versionsTitle":"Revision history","removeContext":"Remove project?","yes":"Yes","no":"No","confirmDraftSave":"You are about to save without having provided all mandatory values. Do you want to continue?","settingsHeader":"User settings","passwordLink":"Change password","saveButton":"Save","publishToggleAriaLabel":"Publish toggle","entityTypeListAriaLabel":"Entity types","tableViewButtonTooltip":"Switch to table view","referencesList":"References","referencesListHeader":"Title","referencesListHeaderModified":"Modified","emptyReferenceListWarning":"No references found","entryWithId":"Entity with ID \"$1\"","noResults":"No results","noSearchResults":"No results for \"$1\"","noSearchResultsFilters":"No results for the selected filters","noSearchResultsFiltersAndQuery":"No results for the selected filters","contextRemoveSuccess":"Project removed successfully","contextRemoveFail":"Failed to remove project","publishSnackbarMessage":"Published successfully","unpublishSnackbarMessage":"Unpublished successfully","publicDraftSaveError":"This entity is public and can therefore not be saved without providing all mandatory values","rejectedPlaceholderLabel":"Something went wrong while loading the necessary data","removeFailMessage":"Entity could not be removed","saveFail":"Failed to save changes","loadFail":"Failed to load data","draftDisabledTitle":"You cannot publish entities before all mandatory values are provided","removeSuccessMessage":"Entity removed successfully","overviewIconTooltip":"Open details view in new tab","noAccessTooltip":"Details view not accessible due to lack of permissions","privateTitle":"This entity is not public","publicTitle":"This entity is public","internallyPublishedTitle":"This entity is internally published","listHeaderType":"Type","reusedTag":"Reused","disconnectActionTooltip":"Disconnect","connectButtonLabel":"Add","connectedButtonLabel":"Added"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoList.nls"},{"lang":"de","nls":{"editHeader":"Bearbeiten","saveEditedEntry":"Änderungen speichern","listSearchTitle":"Geben Sie mindestens 3 Buchstaben ein, um die Suche starten","sortOptionsLabel":"Sortieren nach:","titleSortLabel":"Titel","refreshListLabel":"Neu laden","createHeader":"Erstelle neues Objekt \"$1\"","createButton":"Erstellen","removeEntryLabel":"Entfernen","removeEntryTitle":"Entfernen","removeEntryConfirm":"Soll dieses Objekt entfernt werden?","removeEntryFailed":"Das Objekt konnte nicht entfernt werden","infoEntry":"Detaillierte Informationen","editEntry":"Bearbeiten","modifiedDateTitle":"Zuletzt geändert um ${date}","typeaheadPlaceholder":"Suchen Sie nach Objekten","versionsLabel":"Versionen","versionsTitle":"Versionsgeschichte","invalidSearchMessage":"Folgende Zeichen sind nicht in der Suche erlaubt: \" , ~ # ( )","listResultSizeText":"{{PLURAL:$1|1 Treffer|$1 Treffer}}","removeAllEntries":"Sollen die ausgewählten Objekte entfernt werden?","actionTooltipRefresh":"Liste aktualisieren","actionTooltipSort":"Sortieren nach $1","cancel":"Abbrechen","clear":"Suchleiste leeren","listHeaderModifiedDate":"Geändert","listHeaderPublicLabel":"Öffentlich","search":"Suche","moreOptions":"Mehr","sharingSettingsLabel":"Teilungseinstellungen","removeContext":"Projekt entfernen?","yes":"Ja","no":"Nein","settingsHeader":"Benutzereinstellungen","passwordLink":"Kennwort ändern","saveButton":"Speichern","publishToggleAriaLabel":"Veröffentlichungsschalter","entityTypeListAriaLabel":"Entitätstypen","emptySearchResult":"Keine Ergebnisse für \"$1\"","removeButtonLabel":"Entfernen","tableViewButtonTooltip":"Zur Tabellenansicht wechseln","referencesList":"Verweise","referencesListHeader":"Titel","referencesListHeaderModified":"Geändert","emptyReferenceListWarning":"Keine Verweise gefunden","entryWithId":"Objekt mit ID \"$1\"","sortingFieldModifiedDate":"Änderungsdatum","sortFieldInAsc":"$1 in aufsteigender Reihenfolge sortieren","sortFieldInDesc":"$1 in absteigender Reihenfolge sortieren","sortOrderAsc":"in aufsteigender Reihenfolge","sortOrderDesc":"in absteigender Reihenfolge","downloadLabel":"Herunterladen","noResults":"Keine Ergebnisse","noSearchResults":"Keine Ergebnisse für \"$1\"","noSearchResultsFilters":"Keine Ergebnisse mit den ausgewählten Filtern","noSearchResultsFiltersAndQuery":"Keine Ergebnisse mit den ausgewählten Filtern","rejectedPlaceholderLabel":"Beim Laden der erforderlichen Daten ist ein Fehler aufgetreten","contextRemoveSuccess":"Das Projekt wurde entfernt","contextRemoveFail":"Das Projekt konnte nicht entfernt werden","publishSnackbarMessage":"Erfolgreich veröffentlicht","unpublishSnackbarMessage":"Die Veröffentlichung wurde aufgehoben","removeFailMessage":"Das Objekt konnte nicht entfernt werden","removeSuccessMessage":"Das Objekt wurde entfernt","saveFail":"Die Änderungen konnten nicht gespeichert werden","loadFail":"Beim Laden der Daten ist ein Fehler aufgetreten","finalizeButton":"Finalisieren","draftTooltip":"Dies ist ein unvollständiges Objekt","draftFilterHeader":"Status der Fertigstellung","draftLabel":"Unvollständig","completedLabel":"Abgeschlossen","unnamedEntity":"Objekt mit ID \"$1\"","confirmDraftSave":"Sie sind im Begriff zu speichern, ohne alle verpflichtenden Werte eingegeben zu haben. Möchten Sie fortfahren?","publicDraftSaveError":"Dieses Objekt ist öffentlich und kann daher nicht gespeichert werden, ohne alle verpflichtenden Werte anzugeben","draftDisabledTitle":"Sie können Objekte erst veröffentlichen, wenn alle verpflichtenden Werte angegeben wurden","noAccessTooltip":"Die Detailanzeige kann aufgrund fehlender Berechtigungen nicht angezeigt werden","draftTag":"Unvollständig","overviewIconTooltip":"Detailansicht in neuem Tab öffnen","listHeaderStatusLabel":"Status","privateTitle":"Das Objekt ist nicht öffentlich","publicTitle":"Das Objekt ist öffentlich","internallyPublishedTitle":"Dieses Objekt wird intern veröffentlicht","listHeaderType":"Typ","reusedTag":"Wiederverwendet","disconnectActionTooltip":"Trennen","connectButtonLabel":"Hinzufügen","connectedButtonLabel":"Hinzugefügt"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoList.nls"},{"lang":"sv","nls":{"editHeader":"Redigera","saveEditedEntry":"Spara ändringar","listSearchTitle":"Det krävs minst 3 tecken för att starta sökningen.","sortOptionsLabel":"Sortera efter:","titleSortLabel":"Titel","refreshListLabel":"Uppdatera","createHeader":"Skapa ny entitet \"$1\"","createButton":"Skapa","removeEntryLabel":"Ta bort","removeEntryTitle":"Ta bort","removeEntryConfirm":"Vill du ta bort denna entitet?","removeEntryFailed":"Misslyckades med att ta bort entitet","infoEntry":"Detaljerad information","editEntry":"Redigera","modifiedDateTitle":"Senast ändrad vid ${date}","typeaheadPlaceholder":"Sök efter entiteter för att lägga till listan","versionsLabel":"Versioner","versionsTitle":"Versionshistorik","invalidSearchMessage":"Ogiltiga tecken i söksträngen, följande tecken är inte tillåtna: \" , ~ # ( )","listResultSizeText":"{{PLURAL:$1|1 träff|$1 träffar}}","removeAllEntries":"Ska alla valda entiteter tas bort?","actionTooltipRefresh":"Uppdatera listan","actionTooltipSort":"Sortera efter $1","cancel":"Avbryt","clear":"Rensa sökningen","listHeaderModifiedDate":"Ändrad","listHeaderPublicLabel":"Publik","search":"Sök","moreOptions":"Mer","sharingSettingsLabel":"Delningsinställningar","removeContext":"Ta bort projektet?","yes":"Ja","no":"Nej","settingsHeader":"Användarinställningar","passwordLink":"Ändra lösenord","saveButton":"Spara","publishToggleAriaLabel":"Publiceringsknapp","entityTypeListAriaLabel":"Entitetstyper","emptySearchResult":"Inga resultat för \"$1\"","removeButtonLabel":"Ta bort","tableViewButtonTooltip":"Växla till tabellvy","referencesList":"Referenser","referencesListHeader":"Titel","referencesListHeaderModified":"Ändrad","emptyReferenceListWarning":"Inga referenser hittades","entryWithId":"Entitet med ID \"$1\"","sortingFieldModifiedDate":"ändringsdatum","sortFieldInAsc":"Sortera efter $1 i stigande ordning","sortFieldInDesc":"Sortera efter $1 i fallande ordning","sortOrderAsc":"i stigande ordning","sortOrderDesc":"i fallande ordning","downloadLabel":"Ladda ner","noResults":"Inga resultat","noSearchResults":"Inga resultat för \"$1\"","noSearchResultsFilters":"Inga resultat för de valda filtren","noSearchResultsFiltersAndQuery":"Inga resultat för de valda filtren","rejectedPlaceholderLabel":"Något gick fel när nödvändig information laddades","contextRemoveSuccess":"Projektet har tagits bort","contextRemoveFail":"Projektet kunde inte tas bort","publishSnackbarMessage":"Publicerad","unpublishSnackbarMessage":"Avpublicerad","removeFailMessage":"Entiteten kunde inte tas bort","removeSuccessMessage":"Entiteten har tagits bort","saveFail":"Det gick inte att spara ändringarna","loadFail":"Ett fel uppstod vid laddningen av data","finalizeButton":"Slutföra","draftTooltip":"Detta är en ofullständig entitet","draftFilterHeader":"Status för färdigställande","draftLabel":"Ofullständig","completedLabel":"Färdigställd","unnamedEntity":"Entitet med ID \"$1\"","confirmDraftSave":"Du är på väg att spara utan att ha angett alla obligatoriska värden. Vill du fortsätta?","publicDraftSaveError":"Denna entitet är offentlig och kan därför inte sparas utan att alla obligatoriska värden anges","draftDisabledTitle":"Du kan inte publicera entiteter innan alla obligatoriska värden har angetts","noAccessTooltip":"Detaljvyn inte tillgänglig på grund av avsaknad av behörigheter","draftTag":"Ofullständig","overviewIconTooltip":"Öppna detaljvyn i ny flik","listHeaderStatusLabel":"Status","privateTitle":"Entiteten är inte publik","publicTitle":"Entiteten är publik","internallyPublishedTitle":"Entiteten är internt publicerad","listHeaderType":"Typ","reusedTag":"Återanvänd","disconnectActionTooltip":"Koppla bort","connectButtonLabel":"Lägg till","connectedButtonLabel":"Tillagd"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoList.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoList.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoList.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoMap.nls"
/*!*****************************************!*\
  !*** ./modules/commons/nls/escoMap.nls ***!
  \*****************************************/
(module) {

module.exports = [{"lang":"root","nls":{"bboxEditTitle":"Draw an area by placing two points","markerEditTitle":"Place a marker on a specific location","legendTitle":"Legend","legendPlaceholder":"No visible layers to show","legendItemPlaceholder":"No legend to show","hideLegendTooltip":"Hide legend","showLegendTooltip":"Show legend","legendImageText":"Legend for layer","closePopupLabel":"Close popup"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoMap.nls"},{"lang":"de","nls":{"bboxEditTitle":"Markieren Sie einen Bereich durch Platzierung zweiter Punkte","markerEditTitle":"Platzieren Sie eine Markierung an einer bestimmten Stelle","legendTitle":"Legende","legendPlaceholder":"Keine sichtbaren Schichten zum Anzeigen vorhanden","legendItemPlaceholder":"Keine Legende zum Anzeigen vorhanden","hideLegendTooltip":"Legende verbergen","showLegendTooltip":"Legende anzeigen","legendImageText":"Legende für Schicht","closePopupLabel":"Popup schließen"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoMap.nls"},{"lang":"sv","nls":{"bboxEditTitle":"Rita ett område genom att placera två punkter","markerEditTitle":"Placera en markör på en viss plats","legendTitle":"Teckenförklaring","legendPlaceholder":"Inga synliga lager att visa","legendItemPlaceholder":"Ingen teckenförklaring att visa","hideLegendTooltip":"Dölj teckenförklaring","showLegendTooltip":"Visa teckenförklaring","legendImageText":"Teckenförklaring för lager","closePopupLabel":"Stäng popup"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoMap.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoMap.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoMap.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoModules.nls"
/*!*********************************************!*\
  !*** ./modules/commons/nls/escoModules.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"catalog-title":"Catalog","terms-title":"Terms","import-title":"Import","admin-title":"Admin","workbench-title":"Workbench","search-title":"Search","description-title":"Description","openLink":"Open"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoModules.nls"},{"lang":"de","nls":{"catalog-title":"Kataloge","terms-title":"Begriffe","import-title":"Import","admin-title":"Admin","workbench-title":"Werkbank","search-title":"Suche","openLink":"Öffnen","description-title":"Beschreibung"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoModules.nls"},{"lang":"sv","nls":{"catalog-title":"Kataloger","terms-title":"Begrepp","import-title":"Import","admin-title":"Admin","workbench-title":"Arbetsbänk","search-title":"Sök","openLink":"Öppna","description-title":"Beskrivning"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoModules.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoModules.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoModules.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoOverview.nls"
/*!**********************************************!*\
  !*** ./modules/commons/nls/escoOverview.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"lastUpdateLabel":"Last update","editedByLabel":"Edited by","editedByContributorNotFound":"Removed user","editButtonLabel":"Edit","removeButtonLabel":"Remove","infoButtonLabel":"Information","revisionsButtonLabel":"Revisions","backButtonTooltip":"Back to list","publishedTitle":"Status","publishedStatus":"Published","unpublishedStatus":"Unpublished","publishSuccess":"Published successfully","unpublishSuccess":"Unpublished successfully","publishFail":"Failed to publish","unpublishFail":"Failed to unpublish","backTitle":"Back","projectTypeLabel":"Project type","defaultProjectType":"Default","draftIconLabel":"This is an incomplete entity","unnamedEntity":"Entity with ID \"$1\"","privateDisabledTitle":"The surrounding context is not public, therefore you cannot make the entity public","publishSnackbarMessage":"Published successfully","unpublishSnackbarMessage":"Unpublished successfully","draftDisabledTooltipNlsKey":"This entity is incomplete and can therefore not be published"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoOverview.nls"},{"lang":"de","nls":{"lastUpdateLabel":"Letztes Update","editedByLabel":"Bearbeitet von","editedByContributorNotFound":"Entfernter Benutzer","editButtonLabel":"Bearbeiten","removeButtonLabel":"Entfernen","infoButtonLabel":"Information","revisionsButtonLabel":"Versionen","backButtonTooltip":"Zurück zur Liste","publishedTitle":"Status","publishedStatus":"Veröffentlicht","unpublishedStatus":"Nicht veröffentlicht","privateDisabledTitle":"Der umgebende Kontext ist nicht öffentlich, daher kann das Objekt nicht veröffentlicht werden","backTitle":"Zurück","publishSuccess":"Erfolgreich veröffentlicht","unpublishSuccess":"Veröffentlichung aufgehoben","publishFail":"Die Veröffentlichung ist fehlgeschlagen","unpublishFail":"Die Aufhebung der Veröffentlichung ist fehlgeschlagen","projectTypeLabel":"Projekttyp","defaultProjectType":"Voreinstellung","draftIconLabel":"Dies ist ein unvollständiges Objekt","unnamedEntity":"Objekt mit ID \"$1\"","draftDisabledTooltipNlsKey":"Dieses Objekt ist unvollständig und kann daher nicht veröffentlicht werden","publishSnackbarMessage":"Veröffentlicht","unpublishSnackbarMessage":"Veröffentlichung aufgehoben"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoOverview.nls"},{"lang":"sv","nls":{"lastUpdateLabel":"Senaste uppdatering","editedByLabel":"Redigerad av","editedByContributorNotFound":"Borttagen användare","editButtonLabel":"Redigera","removeButtonLabel":"Ta bort","infoButtonLabel":"Information","revisionsButtonLabel":"Versioner","backButtonTooltip":"Tillbaka till listan","publishedTitle":"Status","publishedStatus":"Publicerad","unpublishedStatus":"Opublicerad","privateDisabledTitle":"Den omgivande kontexten är inte publicerat, därför kan du inte publicera entiteten","backTitle":"Tillbaka","publishSuccess":"Publicerad","unpublishSuccess":"Avpublicerad","publishFail":"Misslyckades att publicera","unpublishFail":"Misslyckades att avpublicera","projectTypeLabel":"Projekttyp","defaultProjectType":"Standard","draftIconLabel":"Detta är en ofullständig entitet","unnamedEntity":"Entitet med ID \"$1\"","draftDisabledTooltipNlsKey":"Denna entitet är ofullständig och kan därför inte publiceras","publishSnackbarMessage":"Publicerad","unpublishSnackbarMessage":"Avpublicerad"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoOverview.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoOverview.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoOverview.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoPagination.nls"
/*!************************************************!*\
  !*** ./modules/commons/nls/escoPagination.nls ***!
  \************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"backIconButtonText":"Previous page","nextIconButtonText":"Next page","labelRowsPerPage":"Rows per page"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoPagination.nls"},{"lang":"de","nls":{"backIconButtonText":"Vorherige Seite","nextIconButtonText":"Nächste Seite","labelRowsPerPage":"Zeilen pro Seite"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoPagination.nls"},{"lang":"sv","nls":{"backIconButtonText":"Föregående sida","nextIconButtonText":"Nästa sida","labelRowsPerPage":"Rader per sida"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoPagination.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoPagination.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoPagination.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoPermission.nls"
/*!************************************************!*\
  !*** ./modules/commons/nls/escoPermission.nls ***!
  \************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"permissionHeader":"Something went wrong.","permissionBody":"You do not have permission to view this content","permissionSignOut":"Sign out","permissionBackToStart":"Start page","errorImageAlt":"Error image"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoPermission.nls"},{"lang":"de","nls":{"permissionBody":"Sie haben keine Berechtigung, um diesen Inhalt anzuzeigen. Melden Sie sich an, wenn Sie ein Konto haben.","permissionSignOut":"Abmelden","permissionBackToStart":"Startseite","permissionHeader":"Ein Fehler ist aufgetreten.","errorImageAlt":"Fehlerbild"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoPermission.nls"},{"lang":"sv","nls":{"permissionBody":"Du saknar behörighet för att visa det här innehållet. Logga in om du har ett konto.","permissionSignOut":"Logga ut","permissionBackToStart":"Startsida","permissionHeader":"Ett fel har uppstått.","errorImageAlt":"Felbild"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoPermission.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoPermission.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoPermission.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoPlaceholder.nls"
/*!*************************************************!*\
  !*** ./modules/commons/nls/escoPlaceholder.nls ***!
  \*************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"emptyMessageWithName":"Entities of type \"$1\" will appear here","createButtonWithName":"Create \"$1\"","createButtonTitleWithName":"Create an entity for type \"$1\"","emptyMessage":"There is nothing to display yet.","emptySearchMessage":"No matching results.","loadingSearchMessage":"Results are loading..."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoPlaceholder.nls"},{"lang":"de","nls":{"emptyMessageWithName":"Hier werden Objekte vom Typ \"$1\" angezeigt.","emptyMessage":"Es gibt noch nichts zu zeigen.","emptySearchMessage":"Keine Treffer.","createButtonWithName":"Erstelle \"$1\"","createButtonTitleWithName":"Erstelle Objekt von Typ \"$1\"","loadingSearchMessage":"Ergebnisse werden geladen..."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoPlaceholder.nls"},{"lang":"sv","nls":{"emptyMessageWithName":"Entiteter av typ \"$1\" kommer att visas här","emptyMessage":"Det finns inget att visa ännu.","emptySearchMessage":"Inga träffar.","createButtonWithName":"Skapa \"$1\"","createButtonTitleWithName":"Skapa entitet av typ \"$1\"","loadingSearchMessage":"Sökresultat laddas..."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoPlaceholder.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoPlaceholder.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoPlaceholder.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoPresentExpandable.nls"
/*!*******************************************************!*\
  !*** ./modules/commons/nls/escoPresentExpandable.nls ***!
  \*******************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"showMetadata":"Show imported metadata","hideMetadata":"Hide imported metadata","buttonTooltip":"Imported metadata have been imported or harvested from other systems. They cannot be edited as changes are overwritten upon reimport/reharvest. Use the form below to provide additional metadata."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoPresentExpandable.nls"},{"lang":"de","nls":{"showMetadata":"Importierte Metadaten anzeigen","hideMetadata":"Importierte Metadaten nicht anzeigen","buttonTooltip":"Importierte Metadaten wurden von anderen Systemen importiert oder geharvested. Diese Metadaten können nicht bearbeitet werden da lokale Änderungen bei einem erneuerten Import überschrieben werden würden. Verwenden Sie das untenstehende Formular, um zusätzliche Metadaten anzugeben."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoPresentExpandable.nls"},{"lang":"sv","nls":{"showMetadata":"Visa importerade metadata","hideMetadata":"Dölj importerade metadata","buttonTooltip":"Importerade metadata har importerats eller skördats från andra system. De kan inte redigeras eftersom lokala ändringar skulle skrivas över vid återimport eller omskördning. Använd formuläret nedan för att tillhandahålla ytterligare metadata."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoPresentExpandable.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoPresentExpandable.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoPresentExpandable.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoProgress.nls"
/*!**********************************************!*\
  !*** ./modules/commons/nls/escoProgress.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"progressHeader":"Checklist","checkListDescription":"This checklist helps you to make sure that the available information meets the requirements of a publishable dataset.","progressFooterButton":"Save","mandatoryChecklistTitle":"Important","progressListNavAriaLabel":"List of tasks' progress"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoProgress.nls"},{"lang":"de","nls":{"progressHeader":"Checkliste","progressFooterButton":"Speichern","mandatoryChecklistTitle":"Wichtig","progressListNavAriaLabel":"Liste der Aufgabenfortschritte","checkListDescription":"Mithilfe dieser Checkliste können Sie sicherstellen, dass die verfügbaren Informationen den Anforderungen eines veröffentlichungsfähigen Datensatzes entsprechen."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoProgress.nls"},{"lang":"sv","nls":{"progressHeader":"Checklista","progressFooterButton":"Spara","mandatoryChecklistTitle":"Viktig","progressListNavAriaLabel":"Lista över uppgifternas framsteg","checkListDescription":"Checklistan är ett stöd för dig som användare för att kontrollera att informationen uppfyller villkoren för en publicerad datamängd."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoProgress.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoProgress.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoProgress.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoRdforms.nls"
/*!*********************************************!*\
  !*** ./modules/commons/nls/escoRdforms.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"metadataEditDialogHeader":"Edit","metadataPresentDialogHeader":"Information","metadataValidateDialogHeader":"Validate information","metadataEditDialogDoneLabel":"Close","metadataConflictMessage":"Your changes conflict with those made at the same time by another user. You may reload the information (which will discard your changes) and then resubmit your changes. By cancelling you keep your changes temporarily, allowing you to copy and paste the changes before reloading.","metadataConflictLoadChanges":"Reload information","metadataConflictCancel":"Cancel","metadataConflictRemainMessage":"The metadata could not be saved and needs to be reloaded","metadataConflictRefreshMessage":"The metadata has been reloaded, redo your changes","metadataPresentDialogCloseLabel":"Close","metadataValidateDialogCloseLabel":"Close","tooFewFields":"Too few values for one or more fields.","tooManyFields":"Too many values for one or more fields.","tooFewOrTooManyFields":"Some fields have an incorrect amount of values.","searchForHeader":"Search for \"$1\"","emptyMessage":"No matches found for \"$1\". You need to create \"$1\" separately, afterwards the result displays here and can be selected.","geoNamesHeader":"Choose an administrative region","geographicalHierarchy":"Geographical hierarchy","population":"Population","geoNameSelect":"Select","geoNameSubdivision":"Geographical/administrative subdivisions of $1","discardMetadataChangesWarning":"Do you want to discard your changes?","discardMetadataChanges":"Discard changes","saveChanges":"Save changes","keepMetadataChanges":"Keep editing","latitude":"Latitude (φ) measured in degrees (°)","longitude":"Longitude (λ) measured in degrees (°)","latitudeLabel":"Latitude","latitudeLabelShort":"Latitude","latitudePlaceholder":"A value between −180 and 180.","longitudeLabel":"Longitude","longitudeLabelShort":"Longitude","longitudePlaceholder":"A value between −180 and 180.","northLabel":"North","northLabelShort":"North","northPlaceholder":"A value between −90 and 90.","eastLabel":"East","eastLabelShort":"East","eastPlaceholder":"A value between −180 and 180.","southLabel":"South","southLabelShort":"South","southPlaceholder":"A value between −90 and 90.","westLabel":"West","westLabelShort":"West","westPlaceholder":"A value between −180 and 180.","searchLabel":"Search","createLabel":"Create","createEntryType":"Create \"$1\"","edit_add":"Add","edit_remove":"Remove","edit_browse":"Browse and select","edit_upgrade":"Provide additional information for this web address","edit_expand":"Expand","info_label":"Label","info_property":"Property","info_description":"Description","address_label":"Address","validation_min_recommended_one":"A recommended value is missing","validation_min_recommended_more":"A minimum of $1 values is required","validation_min_required_one":"A mandatory value is missing","validation_min_required_more":"A minimum of $1 values is required","validation_min_required":"{{PLURAL:$1|At least one value is|A minimum of $1 values is}} required","validation_min_recommended":"{{PLURAL:$1|At least one value is|A minimum of $1 values is}} recommended","validation_max":"{{PLURAL:$1|At most one value is|A maximum of $1 values are}} allowed","validation_deprecated":"This field is deprecated","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_nodetype":"Wrong node type","validation_value":"Wrong value","validation_datatype":"Wrong data type","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_year":"Year","date_time":"Time","date_date_and_time":"Date and time","date_openDatePicker":"Open date picker dialog","date_year_and_month":"Year and month","date_month_and_day":"Month and day","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMarkExplanation":"Indicates a mandatory field","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","openLinkExternally":"Open link in new window","entityChooserLabel":"Profile","entityChooserInfo":"Switching the profile changes the editable fields. The hidden fields' information is not lost. Switching back to the relevant profile will show it again.","entityChooserCancel":"Cancel","entityChooserSwitch":"Switch","entityChooserTooltip":"Switch profile to change the metadata form","entityChooserDialogTitle":"Switch profile","projectTypeChooserLabel":"Project type","internalLinkLabel":"A web address will be created for you","edit_clear":"Clear","edit_browse_create":"Browse and select or create","info_missing":"No information","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","disabledOptionalTooltip":"There are no optional metadata fields for this entity type","disabledRecommendedTooltip":"There are no recommended metadata fields for this entity type","fieldOutlineSearchPlaceholder":"Search properties","fieldOutlineClearTooltip":"Clear","fieldOutlineNoSearchResults":"No fields found","selectNoneLabel":"Default","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","localLabel":"Local","localTooltip":"Only show local metadata","externalLabel":"External","externalTooltip":"Only show external metadata","combinedLabel":"Combined","combinedTooltip":"Show both local and external metadata","mdVisibilityLabel":"Metadata visibility control"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoRdforms.nls"},{"lang":"de","nls":{"metadataEditDialogHeader":"Bearbeiten","metadataPresentDialogHeader":"Informationen","metadataValidateDialogHeader":"Informationen überprüfen","metadataEditDialogDoneLabel":"Schließen","metadataConflictMessage":"Ihre Änderungen stehen im Konflikt zu jenen, die gleichzeitig von einem anderen Benutzer gemacht werden. Sie können die Informationen neu laden (Ihre Änderungen werden dabei verworfen) und dann Ihre Änderungen erneut vornehmen. Mit dem Abbrechen behalten Sie Ihre Änderungen vorübergehend, so dass Sie die Änderungen vor dem erneuten Laden kopieren und einfügen können.","metadataConflictLoadChanges":"Informationen neu laden","metadataConflictCancel":"Abbrechen","metadataConflictRemainMessage":"Die Metadaten konnten nicht gespeichert werden und müssen neu geladen werden","metadataConflictRefreshMessage":"Metadaten wurden neu geladen, nehmen Sie Ihre Änderungen erneut vor","metadataPresentDialogCloseLabel":"Schließen","metadataValidateDialogCloseLabel":"Schließen","tooFewFields":"Zu wenige Werte für ein oder mehrere Felder.","searchForHeader":"Suchen nach \"$1\"","emptyMessage":"Keine Treffer für \"$1\". Sie müssen \"$1\" separat erstellen und danach hier wählen.","geoNamesHeader":"Wählen Sie eine administrative Region","population":"Bevölkerung","geoNameSelect":"Auswählen","geoNameSubdivision":"Geographische/administrative Unterteilungen von $1","discardMetadataChangesWarning":"Sollen Ihre Änderungen verworfen werden?","discardMetadataChanges":"Änderungen verwerfen","saveChanges":"Änderungen speichern","keepMetadataChanges":"Bearbeitung fortsetzen","latitude":"Breitengrad (φ) gemessen in Grad (°)","longitude":"Längengrad (λ) gemessen in Grad (°)","northLabel":"Norden","northLabelShort":"Norden","northPlaceholder":"Ein Wert zwischen -90 und 90.","eastLabel":"Osten","eastLabelShort":"Osten","eastPlaceholder":"Ein Wert zwischen -180 und 180.","southLabel":"Süden","southLabelShort":"Süden","southPlaceholder":"Ein Wert zwischen -90 und 90.","westLabel":"Westen","westLabelShort":"Westen","westPlaceholder":"Ein Wert zwischen -180 und 180.","searchLabel":"Suchen","createLabel":"Erstellen","createEntryType":"Erstellen von \"$1\"","edit_add":"Hinzufügen","edit_remove":"Entfernen","edit_browse":"Durchsuchen und auswählen","edit_expand":"Erweitern","info_label":"Etikette","info_property":"Eigenschaft","info_description":"Beschreibung","validation_min_required":"{{PLURAL:$1|Mindestens ein Wert ist|Mindestens $1 Werte sind}} erforderlich","validation_min_recommended":"{{PLURAL:$1|Mindestens ein Wert ist|Mindestens $1 Werte sind}} empfohlen","validation_max":"{{PLURAL:$1|Maximal ein Wert ist|Maximal $1 Werte sind}} erlaubt","validation_deprecated":"Dieses Feld ist veraltet","date_date":"Datum","date_year":"Jahr","date_date_and_time":"Datum und Uhrzeit","mandatoryLabel":"Verbindlich","recommendedLabel":"Empfohlen","optionalLabel":"Optional","today":"Heute","tooManyFields":"Zu viele Werte für ein oder mehrere Felder.","tooFewOrTooManyFields":"Einige Felder haben eine falsche Anzahl an Werten.","mandatoryMarkExplanation":"Markiert ein Pflichtfeld","mandatoryMark":"*","recommendedMark":"(Empfohlen)","optionalMark":"(Optional)","latitudeLabel":"Breitengrad","latitudeLabelShort":"Breitengrad","latitudePlaceholder":"Ein Wert zwischen -180 und 180.","longitudeLabel":"Längengrad","longitudeLabelShort":"Längengrad","longitudePlaceholder":"Ein Wert zwischen -180 und 180.","edit_upgrade":"Geben Sie zusätzliche Informationen für diese Webadresse ein","address_label":"Adresse","entityChooserLabel":"Profil","validation_nodetype":"Falscher Node Type","validation_value":"Falscher Wert","validation_datatype":"Falscher Datentyp","validation_constraints":"Einschränkungen fehlen","validation_pattern":"Wert folgt nicht dem Muster","validation_language":"Ein Sprachcode ist erforderlich","internalLinkLabel":"Eine Webadresse wird erstellt","edit_clear":"Leeren","edit_browse_create":"Durchsuchen und auswählen oder erstellen","info_missing":"Keine Information vorhanden","duration_years":"Jahre","duration_months":"Monate","duration_days":"Tage","duration_hours":"Stunden","duration_minutes":"Minuten","date_time":"Uhrzeit","date_openDatePicker":"Dialog zur Datumsauswahl öffnen","date_openTimePicker":"Dialog zur Uhrzeitauswahl öffnen","date_openYearPicker":"Dialog zur Jahresauswahl öffnen","geographicalHierarchy":"Geografische Hierarchie","validation_at_most_one_child":"Es ist maximal ein Wert zulässig","validation_at_least_one_child":"Es ist mindestens ein Wert erforderlich","validation_exactly_one_child":"Es ist genau ein Wert erforderlich","deprecatedField":"Dieses Feld wird nicht mehr unterstützt, bitte entfernen Sie es.","missingValueField":"Dieses Feld ist erforderlich, bitte geben Sie einen Wert an.","dependencyField":"Dieses Feld ist von einem anderen Feld abhängig. Überprüfen Sie das Feld, von dem es abhängt, oder entfernen Sie diesen Wert.","wrongValueField":"Dies ist ein ungültiger Wert. Bitte ändern oder entfernen Sie ihn.","date_nextMonth":"Nächster Monat","date_previousMonth":"Vorheriger Monat","openLinkExternally":"Link in neuem Fenster öffnen","disabledOptionalTooltip":"Es gibt keine optionalen Metadatenfelder für diesen Entitätstyp","disabledRecommendedTooltip":"Es gibt keine empfohlenen Metadatenfelder für diesen Entitätstyp","date_year_and_month":"Jahr und Monat","date_month_and_day":"Monat und Tag","validation_min_recommended_one":"Ein empfohlener Wert fehlt","projectTypeChooserLabel":"Projekttyp","fieldOutlineSearchPlaceholder":"Suche nach Eigenschaften","fieldOutlineClearTooltip":"Löschen","fieldOutlineNoSearchResults":"Keine Felder gefunden","selectNoneLabel":"Voreinstellung","wrongDatatypeField":"Der Wert hat einen ungültigen Datentyp. Ändern oder entfernen Sie ihn um fortzufahren.","entityChooserInfo":"Durch das Wechseln des Profils ändern sich die bearbeitbaren Felder. Die Informationen der verborgenen Felder gehen nicht verloren. Beim Zurückwechseln auf das entsprechende Profil werden sie wieder angezeigt.","entityChooserCancel":"Abbrechen","entityChooserSwitch":"Wechseln","entityChooserTooltip":"Profil wechseln um das Metadatenformular zu ändern","entityChooserDialogTitle":"Profil wechseln","validation_min_recommended_more":"Es sind mindestens $1 Werte erforderlich","validation_min_required_one":"Ein verbindlicher Wert fehlt","validation_min_required_more":"Es sind mindestens $1 Werte erforderlich","localLabel":"Lokal","localTooltip":"Nur lokale Metadaten anzeigen","externalLabel":"Extern","externalTooltip":"Nur externe Metadaten anzeigen","combinedLabel":"Kombiniert","combinedTooltip":"Sowohl lokale als auch externe Metadaten anzeigen","mdVisibilityLabel":"Einstellung der Metadaten-Sichtbarkeit"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoRdforms.nls"},{"lang":"sv","nls":{"metadataEditDialogHeader":"Redigera","metadataPresentDialogHeader":"Information","metadataValidateDialogHeader":"Validera information","metadataEditDialogDoneLabel":"Stäng","metadataConflictMessage":"Dina ändringar står i konflikt med de som har gjorts samtidigt av en annan användare. Du kan ladda om informationen (som kommer att förkasta dina ändringar) och sedan göra om dina ändringar. Genom att avbryta kan du hålla kvar dina ändringar tillfälligt, t.ex. för att kopiera och klistra in dina ändringar innan omladdning.","metadataConflictLoadChanges":"Ladda om information","metadataConflictCancel":"Avbryt","metadataConflictRemainMessage":"Informationen kan inte sparas och behöver laddas om","metadataConflictRefreshMessage":"Informationen har laddats om, ändringarna behöver göras om","metadataPresentDialogCloseLabel":"Stäng","metadataValidateDialogCloseLabel":"Stäng","tooFewFields":"Ett eller flera fält har för få värden.","searchForHeader":"Sök efter \"$1\"","emptyMessage":"Inget resultat matchade din sökning efter \"$1\". Du måste skapa \"$1\" separat, först därefter kommer resultatet dyka upp och bli valbart här.","geoNamesHeader":"Välj ett administrativt område","population":"Befolkning","geoNameSelect":"Välj","geoNameSubdivision":"Geografiska/administrativa indelningar av $1","discardMetadataChangesWarning":"Vill du förkasta dina ändringar?","discardMetadataChanges":"Förkasta","saveChanges":"Spara ändringar","keepMetadataChanges":"Fortsätt redigera","latitude":"Latitud (φ) mäts i grader (°)","longitude":"Longitud (λ) mäts i grader (°)","northLabel":"Norr","northLabelShort":"Norr","northPlaceholder":"Ett värde mellan −90 och 90.","eastLabel":"Öst","eastLabelShort":"Öst","eastPlaceholder":"Ett värde mellan −180 and 180.","southLabel":"Syd","southLabelShort":"Syd","southPlaceholder":"Ett värde mellan −90 och 90.","westLabel":"Väst","westLabelShort":"Väst","westPlaceholder":"Ett värde mellan −180 and 180.","searchLabel":"Sök","createLabel":"Skapa","createEntryType":"Skapa \"$1\"","edit_add":"Lägg till","edit_remove":"Ta bort","edit_browse":"Utforska och välj","edit_expand":"Expandera","info_label":"Etikett","info_property":"Egenskap","info_description":"Beskrivning","validation_min_required":"Det krävs {{PLURAL:$1|minst ett värde|minst $1 värden}}","validation_min_recommended":"{{PLURAL:$1|Minst ett värde är rekommenderat|Minst $1 värden rekommenderas}}","validation_max":"{{PLURAL:$1|Max ett värde är tillåtet|Max $1 värden är tillåtna}}","validation_deprecated":"Detta fält är utfasat","date_date":"Datum","date_year":"År","date_date_and_time":"Datum och tid","mandatoryLabel":"Obligatoriskt","recommendedLabel":"Rekommenderat","optionalLabel":"Frivilligt","today":"Idag","tooManyFields":"Ett eller flera fält har för många värden.","tooFewOrTooManyFields":"Vissa fält har en felaktig mängd värden.","mandatoryMarkExplanation":"Indikerar ett obligatoriskt fält","mandatoryMark":"*","recommendedMark":"(rekommenderat)","optionalMark":"(frivilligt)","latitudeLabel":"Latitud","latitudeLabelShort":"Latitud","latitudePlaceholder":"Ett värde mellan −180 and 180.","longitudeLabel":"Longitud","longitudeLabelShort":"Longitud","longitudePlaceholder":"Ett värde mellan −180 and 180.","edit_upgrade":"Ange ytterligare information för webbadressen","address_label":"Adress","entityChooserLabel":"Profil","validation_nodetype":"Fel nodtyp","validation_value":"Fel värde","validation_datatype":"Fel datatyp","validation_constraints":"Begränsningar saknas","validation_pattern":"Värdet följer inte mönstret","validation_language":"En språkkod krävs","internalLinkLabel":"En webbadress skapas åt dig","edit_clear":"Rensa","edit_browse_create":"Bläddra och välj eller skapa","info_missing":"Ingen information","duration_years":"År","duration_months":"Månader","duration_days":"Dagar","duration_hours":"Timmar","duration_minutes":"Minuter","date_time":"Tid","date_openDatePicker":"Öppna dialogrutan för att välja datum","date_openTimePicker":"Öppna dialogrutan för att välja tid","date_openYearPicker":"Öppna dialogrutan för att välja år","geographicalHierarchy":"Geografisk hierarki","validation_at_most_one_child":"Högst ett värde är tillåtet","validation_at_least_one_child":"Minst ett värde krävs","validation_exactly_one_child":"Exakt ett värde krävs","deprecatedField":"Detta fält stöds inte längre och behöver tas bort.","missingValueField":"Detta fält är obligatoriskt, ange ett värde.","dependencyField":"Detta fält är beroende av ett annat fält, dubbelkolla fältet det beror på eller ta bort detta värde.","wrongValueField":"Detta är ett ogiltigt värde, ändra eller ta bort det.","date_nextMonth":"Nästa månad","date_previousMonth":"Föregående månad","openLinkExternally":"Öppna länk i nytt fönster","disabledOptionalTooltip":"Det finns inga valfria metadatafält för den här entitetstypen","disabledRecommendedTooltip":"Det finns inga rekommenderade metadatafält för den här entitetstypen","date_year_and_month":"År och månad","date_month_and_day":"Månad och dag","validation_min_recommended_one":"Ett rekommenderat värde saknas","projectTypeChooserLabel":"Projekttyp","fieldOutlineSearchPlaceholder":"Sök egenskaper","fieldOutlineClearTooltip":"Tömma","fieldOutlineNoSearchResults":"Inga fält hittades","selectNoneLabel":"Standard","wrongDatatypeField":"Värdet har en ogiltig datatyp som behöver ändras eller tas bort.","entityChooserInfo":"Om du byter profil ändras de redigerbara fälten. De dolda fältens information går inte förlorad. Om du byter tillbaka till den relevanta profilen visas den igen.","entityChooserCancel":"Avbryt","entityChooserSwitch":"Byt","entityChooserTooltip":"Byt profil för att ändra metadataformuläret","entityChooserDialogTitle":"Byt profil","validation_min_recommended_more":"Minst $1 värden krävs","validation_min_required_one":"Ett obligatoriskt värde saknas","validation_min_required_more":"Minst $1 värden krävs","localLabel":"Lokal","localTooltip":"Visa endast lokala metadata","externalLabel":"Extern","externalTooltip":"Visa endast externa metadata","combinedLabel":"Kombinerad","combinedTooltip":"Visa både lokala och externa metadata","mdVisibilityLabel":"Synlighetsinställning för metadata"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoRdforms.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoRdforms.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoRdforms.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoSharingSettings.nls"
/*!*****************************************************!*\
  !*** ./modules/commons/nls/escoSharingSettings.nls ***!
  \*****************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"closeButtonLabel":"Close","addEntityTypeLabel":"Add","addedEntityTypeLabel":"Added","userStatusDisabled":"This user is disabled and cannot sign in to the application","groupACLHeader":"Sharing settings for \"${name}\"","groupACL":"Sharing settings","addUserToGroupNLS":"Add user to group","member":"Member","memberTitle":"Member of group","manager":"Manager","managerMenuTitle":"Manager of group, is allowed to change the roles of other users","managerDisabledTitle":"Manager of group, is not allowed to change own role","specialManagerTitle":"Manager of group, is allowed to change own and others role","managerTitle":"Manager of group","listHeaderUser":"User","selectUser":"Select user to add to group","listHeaderLabel":"User","removeMemberFromGroup":"Are you sure you want to remove the member from the group?","addUserFail":"Failed to add user","emptyListWarning":"No user found to add to group","removeManager":"The user is a manager and cannot be removed from the group. You have to downgrade the user to a regular member before removal."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoSharingSettings.nls"},{"lang":"de","nls":{"closeButtonLabel":"Schließen","addEntityTypeLabel":"Hinzufügen","addedEntityTypeLabel":"Hinzugefügt","userStatusDisabled":"Dieser Benutzer ist deaktiviert und kann sich nicht anmelden","groupACLHeader":"Teilungseinstellungen für \"${name}\"","groupACL":"Teilungseinstellungen","addUserToGroupNLS":"Benutzer zur Gruppe hinzufügen","member":"Mitglied","memberTitle":"Mitglied der Gruppe","manager":"Manager","managerMenuTitle":"Manager der Gruppe, darf die Rolle anderer Benutzer ändern","managerDisabledTitle":"Manager der Gruppe, darf die eigene Rolle nicht ändern","specialManagerTitle":"Manager der Gruppe, darf seine eigene Rolle und die anderer Benutzer ändern","managerTitle":"Manager der Gruppe","listHeaderUser":"Benutzer","selectUser":"Benutzer auswählen, der zur Gruppe hinzugefügt werden soll","listHeaderLabel":"Benutzer","removeMemberFromGroup":"Möchten Sie das Mitglied wirklich aus der Gruppe entfernen?","emptyListWarning":"Kein Benutzer gefunden der zur Gruppe hinzugefügt werden könnte","removeManager":"Der Benutzer ist ein Manager und kann nicht aus der Gruppe entfernt werden. Sie müssen den Benutzer vor dem Entfernen zu einem einfachen Mitglied herabstufen.","addUserFail":"Benutzer konnte nicht hinzugefügt werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoSharingSettings.nls"},{"lang":"sv","nls":{"closeButtonLabel":"Stäng","addEntityTypeLabel":"Lägg till","addedEntityTypeLabel":"Lagt till","userStatusDisabled":"Användaren är inaktiverad och kan inte logga in","groupACLHeader":"Delningsinställningar för \"${name}\"","groupACL":"Delningsinställningar","addUserToGroupNLS":"Lägg till användare i gruppen","member":"Medlem","memberTitle":"Gruppmedlem","manager":"Gruppansvarig","managerMenuTitle":"Gruppansvarig, får ändra andra användares roll","managerDisabledTitle":"Gruppansvarig, får inte ändra sin egen roll","specialManagerTitle":"Gruppansvarig, får ändra sin egen och andra användares roll","managerTitle":"Gruppansvarig","listHeaderUser":"Användare","selectUser":"Välj användare att lägga till i gruppen","listHeaderLabel":"Användare","removeMemberFromGroup":"Är du säker på att du vill ta bort medlemmen från gruppen?","emptyListWarning":"Ingen användare hittades för att lägga till i gruppen","removeManager":"Användaren är gruppansvarig och kan inte tas bort från gruppen. Du måste nedgradera användaren till en vanlig medlem innan borttagning.","addUserFail":"Användaren kunde inte läggas till"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoSharingSettings.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoSharingSettings.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoSharingSettings.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoSignin.nls"
/*!********************************************!*\
  !*** ./modules/commons/nls/escoSignin.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"signInButton":"Sign in","signupButton":"Create account","resetPasswordButton":"Forgot your password?","username":"Username","usernamePlaceholder":"Enter your email address","usernameRequired":"Username or email is required","signinError":"An error has occurred.","signinUnauthorized":"The username and password combination you entered is incorrect.","signupConfirmationMessage":"A confirmation email has been sent to you.","signupWrongDomain":"Sign-up from email domain \"${domain}\" is not allowed.","signupTooShortName":"The first name must consist of at least two characters.","signupTooShortSurname":"The surname must consist of at least two characters.","signupInvalidEmail":"Invalid email address.","signupErrorMessage":"Confirmation email could not be sent, try again later.","signOutButton":"Sign out","passwordRequired":"Password is required","currentPasswordRequired":"Current password is required","passwordResetConfirmationMessage":"A confirmation email has been sent to you.","passwordResetErrorMessage":"Confirmation email could not be sent, try again later.","firstName":"First name","lastname":"Surname","email":"Email address","emailRequired":"Email is required","confidentialityAgree":"I agree to the EntryScape Terms and Conditions and that MetaSolutions AB handles personal information about me.","confidentialityAgreeTitle":"Terms and Conditions","privacyPolicyLinkLabel":"Privacy Policy","createAccount":"Create account","resetPasswordHeader":"Reset password","resetPasswordEmail":"Email","resetToNewPassword":"New password","nationalNumber":"Civic Registration Number","nationalNumberError":"Invalid Civic Registration Number, use format YYMMDD-XXXX","password":"Password","newPassword":"Password","confirmPassword":"Confirm password","passwordMismatch":"The passwords do not match.","personalInfoApproval":"Personal information approval","passwordAndConfRequired":"Both password and confirmation are required.","signupButtonComplementaryText":"Don’t have an account?","signinButtonComplementaryText":"Already have an account?","firstNameRequired":"First name is required","lastNameRequired":"Last name is required","personalInfoApprovalRequired":"Personal information approval is required","captchaRequired":"Captcha is required","userStatusDisabled":"This user is disabled and cannot sign in to the application","passwordVisibility":"Toggle password visibility","ssoButtonLabel":"Use Single Sign-On (SSO)","dividerText":"OR","cancel":"Cancel","done":"Done","currentPassword":"Current password","next":"Next","signinWrongTooManyTimes":"Too many sign-in attempts. Please wait a few minutes and try again."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoSignin.nls"},{"lang":"de","nls":{"signInButton":"Anmelden","signupButton":"Konto erstellen","resetPasswordButton":"Kennwort vergessen?","username":"Benutzername","usernamePlaceholder":"Geben Sie Ihre E-Mail-Adresse ein","password":"Kennwort","signinError":"Ein Fehler ist aufgetreten.","signinUnauthorized":"Der Benutzername oder das Kennwort sind nicht korrekt.","signupConfirmationMessage":"Eine E-Mail wurde zur Bestätigung an Sie gesendet.","signupWrongDomain":"Sign-ups von der E-Mail-Domäne \"${domain}\" sind nicht erlaubt.","signupInvalidEmail":"Ungültige E-Mail-Adresse.","signupErrorMessage":"Die Bestätigungsnachricht konnte nicht gesendet werden, versuchen Sie es später erneut.","signOutButton":"Abmelden","passwordResetConfirmationMessage":"Eine E-Mail wurde zur Bestätigung an Sie gesendet.","passwordResetErrorMessage":"Die Bestätigungsnachricht konnte nicht gesendet werden, versuchen Sie es später erneut.","firstName":"Vorname","lastname":"Nachname","email":"E-Mail-Adresse","newPassword":"Kennwort","confidentialityAgree":"Ich stimme den allgemeinen Geschäftsbedingungen von EntryScape zu und bin damit einverstanden, dass MetaSolutions AB personenbezogene Daten über mich verarbeitet.","confidentialityAgreeTitle":"Geschäftsbedingungen","createAccount":"Konto erstellen","resetPasswordHeader":"Kennwort zurücksetzen","resetPasswordEmail":"E-Mail-Adresse","resetToNewPassword":"Neues Kennwort","nationalNumber":"Persönliche Registrierungsnummer","nationalNumberError":"Ungültige persönliche Registrierungsnummer, verwenden Sie das Format YYMMDD-XXXX","passwordMismatch":"Die Kennwörter stimmen nicht überein.","confirmPassword":"Kennwort bestätigen","signupTooShortName":"Der Vorname muss aus mindestens zwei Zeichen bestehen.","personalInfoApproval":"Verarbeitung personenbezogener Daten","passwordAndConfRequired":"Sowohl Kennwort als auch dessen Bestätigung sind erforderlich.","signupButtonComplementaryText":"Noch kein Konto?","signinButtonComplementaryText":"Sie haben bereits ein Konto?","firstNameRequired":"Der Vorname ist erforderlich.","lastNameRequired":"Der Nachname ist erforderlich.","emailRequired":"Die E-Mail-Adresse ist erforderlich.","personalInfoApprovalRequired":"Die Zustimmung zur Verarbeitung personenbezogener Daten ist erforderlich.","captchaRequired":"Das Captcha ist erforderlich.","usernameRequired":"Benutzername oder E-Mail ist erforderlich","passwordRequired":"Kennwort wird benötigt","userStatusDisabled":"Dieser Benutzer ist deaktiviert und kann sich nicht anmelden","passwordVisibility":"Kennwortsichtbarkeit umschalten","ssoButtonLabel":"Single Sign-On (SSO) verwenden","cancel":"Abbrechen","signupTooShortSurname":"Der Nachname muss aus mindestens zwei Buchstaben bestehen.","dividerText":"ODER","done":"Fertig","privacyPolicyLinkLabel":"Datenschutzerklärung","currentPasswordRequired":"Das aktuelle Kennwort ist erforderlich","currentPassword":"Aktuelles Kennwort","next":"Weiter","signinWrongTooManyTimes":"Zu viele Anmeldeversuche. Bitte warten Sie einige Minuten und versuchen Sie es erneut."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoSignin.nls"},{"lang":"sv","nls":{"signInButton":"Logga in","signupButton":"Skapa konto","resetPasswordButton":"Glömt lösenordet?","username":"Användarnamn","usernamePlaceholder":"Ange din e-postadress","password":"Lösenord","signinError":"Ett fel har inträffat.","signinUnauthorized":"Kombinationen av användarnamn och lösenord är felaktig.","signupConfirmationMessage":"Ett bekräftelsemail har skickats till dig.","signupWrongDomain":"E-postadresser med domän \"${domain}\" tillåts inte vid kontoskapning.","signupInvalidEmail":"Ogiltig e-postadress.","signupErrorMessage":"Bekräftelsemailet kunde inte skickas, försök igen senare.","signOutButton":"Logga ut","passwordResetConfirmationMessage":"Ett bekräftelsemail har skickats till dig.","passwordResetErrorMessage":"Bekräftelsemailet kunde inte skickas, försök igen senare.","firstName":"Förnamn","lastname":"Efternamn","email":"E-post","newPassword":"Lösenord","confidentialityAgree":"Jag accepterar EntryScapes allmänna villkor och samtycker till att MetaSolutions AB behandlar personuppgifter om mig i enlighet med integritetspolicyn.","confidentialityAgreeTitle":"Allmänna villkor","createAccount":"Skapa konto","resetPasswordHeader":"Återställ lösenord","resetPasswordEmail":"E-post","resetToNewPassword":"Nytt lösenord","nationalNumber":"Personnummer (10 siffror)","nationalNumberError":"Ogiltigt personnummer, använd formatet ÅÅMMDD-XXXX","passwordMismatch":"Lösenorden matchar inte.","confirmPassword":"Bekräfta lösenord","signupTooShortName":"Förnamnet måste vara minst två bokstäver långt.","personalInfoApproval":"Godkännande av personuppgiftshantering","passwordAndConfRequired":"Både lösenord och dess bekräftelse krävs.","signupButtonComplementaryText":"Inget konto?","signinButtonComplementaryText":"Har du redan ett konto?","firstNameRequired":"Förnamn krävs","lastNameRequired":"Efternamn krävs","emailRequired":"E-post-adress krävs","personalInfoApprovalRequired":"Godkännande av personuppgiftshantering krävs","captchaRequired":"Captcha krävs","usernameRequired":"Användarnamn eller e-postadress krävs","passwordRequired":"Lösenord krävs","userStatusDisabled":"Användaren är inaktiverad och kan inte logga in","passwordVisibility":"Ändra lösenordssynlighet","ssoButtonLabel":"Använd Single Sign-On (SSO)","cancel":"Avbryt","signupTooShortSurname":"Efternamnet måste bestå av minst två tecken.","dividerText":"ELLER","done":"Klart","privacyPolicyLinkLabel":"Integritetspolicy","currentPasswordRequired":"Aktuellt lösenord krävs","currentPassword":"Aktuellt lösenord","next":"Fortsätt","signinWrongTooManyTimes":"För många inloggningsförsök. Vänta några minuter och försök igen."},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoSignin.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoSignin.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoSignin.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoStatisticsReport.nls"
/*!******************************************************!*\
  !*** ./modules/commons/nls/escoStatisticsReport.nls ***!
  \******************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"header":"Overview","datasets":"Datasets","numberDatasets":"Number of datasets","percentageDatasets":"Datasets %","entries":"Entries","numberEntries":"Number of entries","type":"Type","field":"Field","fulfillment":"Fulfillment","percentageFulfillment":"Fulfillment %","fulfillmentMandatoryDataset":"Mandatory fields on datasets","fulfillmentRecommendedDataset":"Recommended fields on datasets","fulfillmentMandatoryDistribution":"Mandatory fields on distributions","fulfillmentRecommendedDistribution":"Recommended fields on distributions","publishers":"Publishers","contactPoints":"Contact points","metadataPerDataset":"Metadata statistics for datasets","metadataFulfillmentHeader":"Metadata fulfillment overview","metadata":"Metadata","title":"Title","titleMultilingual":"Title, multilingual","titleNoLanguage":"Title, no language","description":"Description","descriptionMultilingual":"Description, multilingual","descriptionNoLanguage":"Description, no language","publisher":"Publisher","contactPoint":"Contact point","distributions":"Distributions","numberDistributions":"Number of distributions","percentageDistributions":"Distributions %","metadataPerDistribution":"Metadata statistics for distributions","downloadURL":"Download URL","accessURL":"Access URL","formats":"Formats","licenses":"Licenses","distributionsPerDataset":"Distributions per dataset","url":"URL","timesUsed":"Times used","mediaType":"Media type","noStatsPlaceholder":"Statistics are not available yet, please check back later.","preventLoadPlaceholder":"Loading statistics was prevented due to the large amount of datasets and long loading time.","loadTimeWarning":"Due to a large number of datasets the loading may take a few moments. Please wait...","loadStatistics":"Load statistics"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoStatisticsReport.nls"},{"lang":"de","nls":{"header":"Überblick","datasets":"Datensätze","fulfillmentMandatoryDataset":"Pflichtfelder bei Datensätzen","fulfillmentRecommendedDataset":"Empfohlenen Felder bei Datensätzen","fulfillmentMandatoryDistribution":"Pflichtfelder bei Distributionen","fulfillmentRecommendedDistribution":"Empfohlene Felder bei Distributionen","publishers":"Herausgeber","contactPoints":"Kontakte","metadataPerDataset":"Metadaten-Statistik für Datensätze","metadata":"Metadaten","title":"Titel","titleMultilingual":"Titel, mehrsprachig","titleNoLanguage":"Titel, keine Sprache","description":"Beschreibung","descriptionMultilingual":"Beschreibung, mehrsprachig","descriptionNoLanguage":"Beschreibung, keine Sprache","publisher":"Herausgeber","contactPoint":"Kontakt","distributions":"Distributionen","metadataPerDistribution":"Metadaten-Statistik für Distributionen","downloadURL":"Download URL","accessURL":"Zugriffs-URL","formats":"Formate","licenses":"Lizenzen","distributionsPerDataset":"Distributionen pro Datensatz","url":"URL","timesUsed":"Verwendungsanzahl","mediaType":"Medientyp","noStatsPlaceholder":"Die Statistiken sind noch nicht verfügbar. Bitte versuchen Sie es später erneut.","preventLoadPlaceholder":"Das Laden der Statistiken wurde aufgrund der großen Menge an Datensätzen und der langen Ladezeit verhindert.","loadTimeWarning":"Aufgrund der großen Anzahl von Datensätzen kann das Laden einige Zeit in Anspruch nehmen. Bitte warten...","loadStatistics":"Statistiken laden","entries":"Einträge","type":"Typ","field":"Feld","fulfillment":"Erfüllungsgrad","metadataFulfillmentHeader":"Erfüllungsgrad der Metadaten","numberDatasets":"Anzahl der Datensätze","percentageDatasets":"Datensätze %","numberEntries":"Anzahl der Einträge","percentageFulfillment":"Erfüllungsgrad %","numberDistributions":"Anzahl der Distributionen","percentageDistributions":"Distributionen %"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoStatisticsReport.nls"},{"lang":"sv","nls":{"header":"Översikt","datasets":"Datamängder","fulfillmentMandatoryDataset":"Obligatoriska fält på datamängder","fulfillmentRecommendedDataset":"Rekommenderade fält på datamängder","fulfillmentMandatoryDistribution":"Obligatoriska fält på distributioner","fulfillmentRecommendedDistribution":"Rekommenderade fält på distributioner","publishers":"Tillhandahållande organisationer","contactPoints":"Kontaktpunkter","metadataPerDataset":"Metadatastatistik för datamängder","metadata":"Metadata","title":"Titel","titleMultilingual":"Titel, flerspråkig","titleNoLanguage":"Titel, utan språk","description":"Beskrivning","descriptionMultilingual":"Beskrivning, flerspråkig","descriptionNoLanguage":"Beskrivning, utan språk","publisher":"Tillhandahållande organisation","contactPoint":"Kontaktpunkt","distributions":"Distributioner","metadataPerDistribution":"Metadatastatistik för distributioner","downloadURL":"Nedladdnings-URL","accessURL":"Åtkomst-URL","formats":"Format","licenses":"Licenser","distributionsPerDataset":"Distributioner per datamängd","url":"URL","timesUsed":"Antal gånger använt","mediaType":"Medietyp","noStatsPlaceholder":"Statistiken är inte tillgänglig ännu, kolla lite senare.","preventLoadPlaceholder":"Laddning av statistiken förhindrades på grund av den långa laddningstiden som orsakas av det stora antalet datamängder.","loadTimeWarning":"På grund av ett stort antal datamängder kan laddningen ta lite tid. Vänligen vänta...","loadStatistics":"Ladda statistiken","entries":"Entiteter","type":"Typ","field":"Fält","fulfillment":"Fullständighet","metadataFulfillmentHeader":"Översikt över metadatauppfyllelse","numberDatasets":"Antal datamängder","percentageDatasets":"Datamängder %","numberEntries":"Antal entiteter","percentageFulfillment":"Uppfyllelse %","numberDistributions":"Antal distributioner","percentageDistributions":"Distributioner %"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoStatisticsReport.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoStatisticsReport.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoStatisticsReport.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoTableView.nls"
/*!***********************************************!*\
  !*** ./modules/commons/nls/escoTableView.nls ***!
  \***********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"searchPlaceholder":"Search","searchClearLabel":"Clear search","gotoListView":"Go to list view","clickToEdit":"Click to edit \"$1\"","clickToEditPlaceholder":"Click to edit","noSearchResults":"No results for \"$1\"","noSearchResultsFilters":"No results for the selected filters","noSearchResultsFiltersAndQuery":"No results for the selected filters","noResults":"No entries found, try choosing another profile","saveButtonLabel":"Save","saveNotification":"Changes in table view have been saved","discardButtonLabel":"Discard","discardNotification":"Changes in table view have been discarded","saveRowMenuItemLabel":"Save","discardRowMenuItemLabel":"Discard","editRowMenuItemLabel":"Edit","infoRowMenuItemLabel":"Information","rowMenuButtonLabel":"Actions","rowMenuButtonTooltip":"Show actions","actionsColumnHeaderTooltip":"Actions","saveRowNotification":"Changes in row have been saved","discardRowNotification":"Changes in row have been discarded","closePopoverTooltip":"Close","closePopoverLabel":"Close","validationErrorMessage":"The highlighted rows contain errors that must be addressed before saving","errorMessage":"An operation failed to complete, try again or contact support","editDialogSaveButton":"Save","editDialogCloseButton":"Close","editDialogHeader":"Edit","searchHelperText":"Enter at least 3 characters to initiate the search","typeSwitcherLabel":"Type","profileSwitcherLabel":"Profile","toolbarColumns":"Columns","columnsPanelTextFieldLabel":"Find column","columnsPanelTextFieldPlaceholder":"Column title","columnsPanelShowAllButton":"Show all","columnsPanelHideAllButton":"Hide all","labelRowsPerPage":"Rows per page"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoTableView.nls"},{"lang":"de","nls":{"searchPlaceholder":"Suchen","searchClearLabel":"Suchfeld leeren","gotoListView":"Zur Listenansicht wechseln","clickToEdit":"Klicken um \"$1\" zu bearbeiten","noSearchResults":"Keine Ergebnisse für \"$1\"","saveButtonLabel":"Speichern","saveNotification":"Änderungen in der Tabellenansicht wurden gespeichert","discardButtonLabel":"Verwerfen","discardNotification":"Änderungen in der Tabellenansicht wurden verworfen","saveRowMenuItemLabel":"Speichern","discardRowMenuItemLabel":"Verwerfen","editRowMenuItemLabel":"Bearbeiten","rowMenuButtonLabel":"Aktionen","actionsColumnHeaderTooltip":"Aktionen","saveRowNotification":"Änderungen in der Zeile wurden gespeichert","discardRowNotification":"Änderungen in der Zeile wurden verworfen","closePopoverTooltip":"Schließen","closePopoverLabel":"Schließen","rowMenuButtonTooltip":"Aktionen anzeigen","validationErrorMessage":"Die hervorgehobenen Zeilen enthalten Fehler die vor dem Speichern behoben werden müssen","errorMessage":"Ein Vorgang konnte nicht abgeschlossen werden, versuchen Sie es erneut oder wenden Sie sich an den Support","editDialogSaveButton":"Speichern","editDialogCloseButton":"Schließen","editDialogHeader":"Bearbeiten","searchHelperText":"Geben Sie mindestens 3 Buchstaben ein, um die Suche starten","profileSwitcherLabel":"Profil","noSearchResultsFilters":"Keine Ergebnisse mit den ausgewählten Filtern","noSearchResultsFiltersAndQuery":"Keine Ergebnisse mit den ausgewählten Filtern","noResults":"Keine Einträge gefunden, versuchen Sie es mit einem anderen Profil","toolbarColumns":"Spalten","columnsPanelTextFieldLabel":"Spalte suchen","columnsPanelTextFieldPlaceholder":"Spaltentitel","columnsPanelShowAllButton":"Alle anzeigen","columnsPanelHideAllButton":"Alle ausblenden","labelRowsPerPage":"Zeilen pro Seite","typeSwitcherLabel":"Typ","infoRowMenuItemLabel":"Information","clickToEditPlaceholder":"Klicken Sie zum Bearbeiten"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoTableView.nls"},{"lang":"sv","nls":{"searchPlaceholder":"Sök","searchClearLabel":"Rensa sökfältet","gotoListView":"Gå till listvy","clickToEdit":"Klicka för att editera \"$1\"","noSearchResults":"Inga resultat för \"$1\"","saveButtonLabel":"Spara","saveNotification":"Ändringar i tabellvyn har sparats","discardButtonLabel":"Förkasta","discardNotification":"Ändringar i tabellvyn har förkastats","saveRowMenuItemLabel":"Spara","discardRowMenuItemLabel":"Förkasta","editRowMenuItemLabel":"Redigera","rowMenuButtonLabel":"Åtgärder","actionsColumnHeaderTooltip":"Åtgärder","saveRowNotification":"Ändringar i raden har sparats","discardRowNotification":"Ändringar i raden har förkastats","closePopoverTooltip":"Stäng","closePopoverLabel":"Stäng","rowMenuButtonTooltip":"Visa åtgärder","validationErrorMessage":"De markerade raderna innehåller fel som måste åtgärdas innan du sparar","errorMessage":"En åtgärd kunde inte slutföras, försök igen eller kontakta supporten","editDialogSaveButton":"Spara","editDialogCloseButton":"Stäng","editDialogHeader":"Redigera","searchHelperText":"Det krävs minst 3 tecken för att starta sökningen","profileSwitcherLabel":"Profil","noSearchResultsFilters":"Inga resultat för de valda filtren","noSearchResultsFiltersAndQuery":"Inga resultat för de valda filtren","noResults":"Inga entiteter hittades, försök att välja en annan profil","toolbarColumns":"Kolumner","columnsPanelTextFieldLabel":"Hitta kolumn","columnsPanelTextFieldPlaceholder":"Kolumntitel","columnsPanelShowAllButton":"Visa allt","columnsPanelHideAllButton":"Dölj allt","labelRowsPerPage":"Rader per sida","typeSwitcherLabel":"Typ","infoRowMenuItemLabel":"Information","clickToEditPlaceholder":"Klicka för att redigera"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoTableView.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoTableView.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoTableView.nls"}];

/***/ },

/***/ "./modules/commons/nls/escoVersions.nls"
/*!**********************************************!*\
  !*** ./modules/commons/nls/escoVersions.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"versionsHeader":"Revision history","versionsCloseButton":"Close","revertLabel":"Revert","revertTitle":"Revert will create a new revision based on this revision","noRevertSameGraphTitle":"There is nothing to revert, the latest revision is identical.","revertMessage":"Do you want to revert to this revision? A copy of this revision will become the latest revision, no intermediate revision will be lost.","revertConfirm":"Revert","revertReject":"Cancel","revisionLabel":"Revision ${revision} by ${user}","noRevertSameGraphExcludeTitle":"Cannot revert to this version","noUserNameRevision":"${datetime}, by unnamed user with ID ${id}","deletedUserRevision":"Deleted user","currentRevision":"(latest revision)","currentRevisionRevertTitle":"No reason to revert to the latest revision.","revertSnackbarMessage":"Changes reverted"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/escoVersions.nls"},{"lang":"de","nls":{"versionsHeader":"Versionsgeschichte","versionsCloseButton":"Schließen","revertLabel":"Zurücksetzen","revertTitle":"Beim Zurücksetzen wird eine neue Version auf der Grundlage dieser Version erstellt","noRevertSameGraphTitle":"Es gibt nichts zurückzusetzen, die letzte Version ist identisch.","revertMessage":"Möchten Sie auf diese Version zurücksetzen? Eine Kopie dieser Version wird die letzte Version werden, keine Zwischenversion wird verloren gehen.","revertConfirm":"Zurücksetzen","revertReject":"Abbrechen","revisionLabel":"Version ${revision} von ${user}","noUserNameRevision":"${datetime}, von namenlosem Benutzer mit ID ${id}","currentRevision":"(letzte Version)","currentRevisionRevertTitle":"Es gibt keinen Grund um auf die letzte Version zurückzukehren.","deletedUserRevision":"Gelöschter Benutzer","noRevertSameGraphExcludeTitle":"Ein Zurücksetzen auf diese Version ist nicht möglich","revertSnackbarMessage":"Die Änderungen wurden rückgängig gemacht"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/de/escoVersions.nls"},{"lang":"sv","nls":{"versionsHeader":"Versionshistorik","versionsCloseButton":"Stäng","revertLabel":"Återställ","revertTitle":"När du återställer skapas en ny version baserat på denna version","noRevertSameGraphTitle":"Det finns inget att återställa, senaste versionen är identisk.","revertMessage":"Vill du återställa denna version? En kopia av versionen kommer bli den senaste, inga mellanliggande versioner kommer förloras.","revertConfirm":"Återställ","revertReject":"Avbryt","revisionLabel":"Version ${revision} skapades av ${user}","noUserNameRevision":"${datetime}, skapades av användare utan namn med id ${id}","currentRevision":"(senaste versionen)","currentRevisionRevertTitle":"Du kan inte återställa till den senaste versionen.","deletedUserRevision":"Borttagen användare","noRevertSameGraphExcludeTitle":"Kan inte återgå till denna version","revertSnackbarMessage":"Ändringarna har återställts"},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/sv/escoVersions.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/it/escoVersions.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/commons/nls/fr/escoVersions.nls"}];

/***/ },

/***/ "./modules/harvest/nls/esreHarvest.nls"
/*!*********************************************!*\
  !*** ./modules/harvest/nls/esreHarvest.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"cOHeader":"Create source","cPButton":"Create","cPTitle":"Title","cPTitlePlaceholder":"A name given to the source","cPDescription":"Description","cPDescPlaceholder":"A free-text account of the source","cpNotValidTitle":"Title must not be empty","cpOrgId":"Source identifier","cpOrgIdPlaceholder":"A unique identifier of this source","cpWebpage":"Web page","cpWebpagePlaceholder":"Web address of this source","cpPSIWebpage":"PSI web page","cpPSIWebpagePlaceholder":"Web address of the PSI web page of this source","removePipelineErrorMessage":"Failed to remove harvesting source","replaceUserErrorMessage":"Failed to replace username with new email address","pipelineTypeDCAT":"DCAT","pipelineTypeINSPIRE":"INSPIRE","pipelineTypeCKAN":"CKAN","pipelineDescriptionTypeDCAT":"Web address of the DCAT file, e.g. https://my.org/dcat.rdf","pipelineDescriptionTypeINSPIRE":"Web address of the CSW server, e.g. https://my.org/soapServices/CSWStartup","pipelineDescriptionTypeCKAN":"Web address of the CKAN server, e.g. https://demo.ckan.org","epEdit":"Save","epUrl":"Harvesting source","ePHeader":"Configure source and harvesting details","nonStandardRecipe":"This a non-standard harvester. Contact your administrator to edit its details.","confirmRemovePipeline":"Remove this harvesting source and any harvested data?","organizationDetails":"Source details","harvesterDetails":"Harvester details","publicLabel":"Public sector source","orgToggleAriaLabel":"Public source switch","cPUsernameLabel":"Username of source administrator","cPUsernamePlaceholder":"Must be a valid email address associated with an account, if account does not exist it will be created","cpNotValidUsername":"Username must not be empty","changeOrganizationTitle":"Change status of the source, choose between PSI and regular source","configureButton":"Edit","notificationsOff":"Notifications are off","notificationsOn":"Notifications are on","notificationsDialogTitle":"Configure harvesting notifications","notificationsPromptAction":"Edit","notificationsSavedSuccess":"Notification settings saved successfully","notificationsSavedError":"Failed to save notification settings","emptyListWarning":"Sources will appear here","publicHarvestTitle":"This source is publicly visible, click to change","privateHarvestTitle":"This source is not publicly visible, click to change","harvestingStatusHeader":"Harvesting status","dataValidationHeader":"Data validation","emailAlert":"You will be receiving harvesting notification emails at this email address.","firstFailureSelectOption":"directly on first failure","consequentFailuresSelectOption":"after three consequent failures","harvestingNotifyRadioLabel":"Notify me","harvestingDontNotifyRadioLabel":"Do not notify me","validationNotifyRadioLabel":"Notify me when there are missing","validationDontNotifyRadioLabel":"Do not notify me","mandatoryFieldsSelectOption":"mandatory fields","recommendedFieldsSelectOption":"recommended fields","listHeaderLabel":"Source","fieldIsRequired":"This field is required","invalidURL":"Must be a valid URL","invalidEmail":"Must be a valid email address","email":"Email","cancel":"Cancel","genericPipelineHeader":"Harvesting job steps","transformsHeader":"Transforms","typeSelectLabel":"Transform type","transformArguments":"Arguments","addTransformLabel":"Transform","addTransformTitle":"Add transform","showTransforms":"Show transforms","hideTransforms":"Hide transforms","editWarning":"Changes will be visible on the status report after the next harvest cycle.","editPipelineSavedSuccess":"Source saved successfully","editPipelineSavedError":"Failed to save source"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/esreHarvest.nls"},{"lang":"de","nls":{"cPButton":"Erstellen","cPTitle":"Titel","cPTitlePlaceholder":"Ein Titel für die Quelle","cPDescription":"Beschreibung","cPDescPlaceholder":"Eine Beschreibung der Quelle","cpNotValidTitle":"Es muss ein Titel eingegeben werden","epUrl":"Harvestingquelle","ePHeader":"Quelle und Harvestingeinstellungen konfigurieren","confirmRemovePipeline":"Soll diese Harvestingquelle mitsamt ihren Daten entfernt werden?","cPUsernameLabel":"Benutzername des Administrators der Quelle","cPUsernamePlaceholder":"Der Benutzername muss eine gültige E-Mail-Adresse sein; es wird ein neuer Benutzer erstellt falls er noch nicht existiert","cpNotValidUsername":"Der Benutzername darf nicht leer gelassen werden","changeOrganizationTitle":"Status der Quelle ändern, wählen Sie zwischen PSI und regulärer Quelle","cpOrgId":"Quellen-Identifikator","cpPSIWebpage":"PSI-Daten-Seite","replaceUserErrorMessage":"Der Benutzername konnte nicht mit einer neuen E-Mail-Adresse ersetzt werden","pipelineTypeDCAT":"DCAT","pipelineTypeINSPIRE":"INSPIRE","pipelineTypeCKAN":"CKAN","pipelineDescriptionTypeDCAT":"Webadresse der DCAT-Datei, z.B. https://my.org/dcat.rdf","pipelineDescriptionTypeINSPIRE":"Webadresse des CSW-Servers, z.B. https://my.org/soapServices/CSWStartup","pipelineDescriptionTypeCKAN":"Webadresse des CKAN-Servers, z.B. https://demo.ckan.org","epEdit":"Speichern","nonStandardRecipe":"Dieser Harvester muss von einem Administrator konfiguriert werden.","organizationDetails":"Details der Quelle","harvesterDetails":"Harvester-Details","publicLabel":"Quelle des öffentlichen Sektors","cOHeader":"Quelle erstellen","cpOrgIdPlaceholder":"Identifikator der Quelle","cpPSIWebpagePlaceholder":"PSI-Daten-Webadresse der Quelle","emptyListWarning":"Hier werden Quellen angezeigt","publicHarvestTitle":"Diese Quelle ist öffentlich sichtbar, hier klicken um Zugriffsrechte zu ändern","privateHarvestTitle":"Diese Quelle ist nicht öffentlich sichtbar, hier klicken um Zugriffsrechte zu ändern","cpWebpage":"Webseite","cpWebpagePlaceholder":"Webadresse dieser Quelle","notificationsDialogTitle":"Harvesting-Benachrichtigungen konfigurieren","notificationsPromptAction":"Bearbeiten","harvestingStatusHeader":"Harvesting-Status","dataValidationHeader":"Datenvalidierung","emailAlert":"Sie werden Benachrichtigungen zum Harvesting-Status unter dieser E-Mail-Adresse erhalten","firstFailureSelectOption":"beim ersten missglückten Harvesting-Versuch","consequentFailuresSelectOption":"nach drei aufeinander folgenden missglückten Harvesting-Versuchen","harvestingNotifyRadioLabel":"Benachrichtigungen erhalten","harvestingDontNotifyRadioLabel":"Keine Benachrichtigungen erhalten","validationNotifyRadioLabel":"Benachrichtigungen erhalten bei fehlenden","validationDontNotifyRadioLabel":"Keine Benachrichtigungen erhalten","mandatoryFieldsSelectOption":"verpflichtende Felder","recommendedFieldsSelectOption":"empfohlene Felder","orgToggleAriaLabel":"Öffentlicher Sektor Umschalter","configureButton":"Bearbeiten","notificationsOff":"Benachrichtigungen sind deaktiviert","notificationsOn":"Benachrichtigungen sind aktiviert","listHeaderLabel":"Quelle","fieldIsRequired":"Dieses Feld ist erforderlich","invalidURL":"Muss eine gültige Webadresse sein","invalidEmail":"Muss eine gültige E-Mail-Adresse sein","email":"E-Mail","cancel":"Abbrechen","removePipelineErrorMessage":"Fehler beim Entfernen der Harvesting-Quelle","genericPipelineHeader":"Schritte des Harvesting-Jobs","transformsHeader":"Transformationen","typeSelectLabel":"Transformationstyp","transformArguments":"Argumente","addTransformLabel":"Transformation","addTransformTitle":"Transformation hinzufügen","notificationsSavedSuccess":"Benachrichtigungseinstellungen erfolgreich gespeichert","notificationsSavedError":"Benachrichtigungseinstellungen konnten nicht gespeichert werden","showTransforms":"Transformationen anzeigen","hideTransforms":"Transformationen ausblenden","editWarning":"Die Änderungen werden nach dem nächsten Harvesting-Durchgang im Statusbericht sichtbar sein.","editPipelineSavedSuccess":"Quelle erfolgreich gespeichert","editPipelineSavedError":"Quelle konnte nicht gespeichert werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/de/esreHarvest.nls"},{"lang":"sv","nls":{"cPButton":"Skapa","cPTitle":"Titel","cPTitlePlaceholder":"Källans namn","cPDescription":"Beskrivning","cPDescPlaceholder":"En beskrivning av källan","cpNotValidTitle":"Titel får inte vara tom","epUrl":"Skördningskälla","ePHeader":"Konfigurera skördningskälla","confirmRemovePipeline":"Ta bort skördningskällan och alla skördade data","cPUsernameLabel":"Användarnamn för källans administratör","cPUsernamePlaceholder":"Användarnamn, måste vara en giltig e-postadress; skapar en ny användare om e-postadressen inte finns registrerad ännu","cpNotValidUsername":"Användarnamnet får inte vara tom","changeOrganizationTitle":"Ändra källans status, välj mellan PSI och annan källa","cpOrgId":"Källans identifierare","cpPSIWebpage":"PSI-data-sida","replaceUserErrorMessage":"Misslyckades med att ersätta användarnamnet med ny e-postadress","pipelineTypeDCAT":"DCAT","pipelineTypeINSPIRE":"INSPIRE","pipelineTypeCKAN":"CKAN","pipelineDescriptionTypeDCAT":"Webadress till DCAT-filen, t.ex. https://my.org/dcat.rdf","pipelineDescriptionTypeINSPIRE":"CSW-serverns webbadress, t.ex. https://my.org/soapServices/CSWStartup","pipelineDescriptionTypeCKAN":"CKAN-serverns webbadress, t.ex. https://demo.ckan.org","epEdit":"Spara","nonStandardRecipe":"Kontakta en administratör för att redigera skördningsdetaljerna.","organizationDetails":"Detaljer för källan","harvesterDetails":"Skördningsdetaljer","publicLabel":"Källa i offentlig sektor","cOHeader":"Skapa källa","cpOrgIdPlaceholder":"En unik identifierare för denna källa","cpPSIWebpagePlaceholder":"PSI-data webbsida tillhörande källan","emptyListWarning":"Källor kommer att visas här","publicHarvestTitle":"Källan är publikt synlig för alla, klicka för att ändra","privateHarvestTitle":"Källan är inte publikt synlig för alla, klicka för att ändra","cpWebpage":"Webbsida","cpWebpagePlaceholder":"Källans webbadress","notificationsDialogTitle":"Konfigurera skördningsnotifieringar","notificationsPromptAction":"Redigera","harvestingStatusHeader":"Skördningsstatus","dataValidationHeader":"Datavalidering","emailAlert":"Du får skördningsnotifieringar till denna e-post-adress.","firstFailureSelectOption":"vid första misslyckandet","consequentFailuresSelectOption":"efter tre påföljande misslyckanden","harvestingNotifyRadioLabel":"Informera mig","harvestingDontNotifyRadioLabel":"Informera mig inte","validationNotifyRadioLabel":"Informera mig om det saknas","validationDontNotifyRadioLabel":"Informera mig inte","mandatoryFieldsSelectOption":"obligatoriska fält","recommendedFieldsSelectOption":"rekommenderade fält","orgToggleAriaLabel":"Växla till eller från offentlig källa","configureButton":"Redigera","notificationsOff":"Notifieringar är avaktiverade","notificationsOn":"Notifieringar är aktiverade","listHeaderLabel":"Källa","fieldIsRequired":"Detta fält är obligatoriskt","invalidURL":"Måste vara en giltig URL","invalidEmail":"Måste vara en giltig e-post-adress","email":"E-post","cancel":"Avbryt","removePipelineErrorMessage":"Skördningskälla kunde inte tas bort","genericPipelineHeader":"Steg i skördningen","transformsHeader":"Transformationer","typeSelectLabel":"Transformationstyp","transformArguments":"Argument","addTransformLabel":"Transformation","addTransformTitle":"Lägg till transformation","notificationsSavedSuccess":"Notifieringsinställningar sparades","notificationsSavedError":"Misslyckades att spara notifieringsinställningarna","showTransforms":"Visa transformationer","hideTransforms":"Dölj transformationer","editWarning":"Förändringar kommer att synas i statusrapporten efter nästa skördningscykel.","editPipelineSavedSuccess":"Källa sparad","editPipelineSavedError":"Misslyckades med att spara källan"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/sv/esreHarvest.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/it/esreHarvest.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/fr/esreHarvest.nls"}];

/***/ },

/***/ "./modules/harvest/nls/esreLinkCheckReport.nls"
/*!*****************************************************!*\
  !*** ./modules/harvest/nls/esreLinkCheckReport.nls ***!
  \*****************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"linkCheckDialogHeader":"Link check details","linkCheckDialogFooterButton":"Close","uri":"URI","status":"Status","statusCode":"Status code","statusMessage":"Status message","attempts":"Attempts","checkedAt":"Checked at","entryType":"Type","entryURI":"URI","entryLabel":"Label","property":"Property","details":"Details","view":"View","total":"Total","failed":"Failed","excluded":"Excluded","successful":"Successful","linkCheckReportHeader":"Link check report","failedHeader":"Failed link checks","placeholder":"No links have been checked at this time.","uriMultipleOccurences":"The URI above appears in your source more than once. Please check the occurrences below.","viewRawData":"View raw data","linkCheckResult":"Link check result","entryData":"Entry data","noBrokenPlaceholder":"No broken links were detected.","entryReferencesTitle":"Entry references"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/esreLinkCheckReport.nls"},{"lang":"de","nls":{"linkCheckDialogHeader":"Details zur Linkprüfung","linkCheckDialogFooterButton":"Schließen","uri":"URI","status":"Status","statusCode":"Statuscode","statusMessage":"Statusnachricht","attempts":"Versuche","checkedAt":"Überprüft","entryType":"Typ","entryURI":"URI","entryLabel":"Bezeichnung","property":"Eigenschaft","details":"Details","view":"Ansicht","total":"Gesamt","failed":"Fehlgeschlagen","excluded":"Ausgenommen","successful":"Erfolgreich","linkCheckReportHeader":"Linkprüfungsbericht","failedHeader":"Fehlgeschlagene Linkprüfungen","placeholder":"Zu diesem Zeitpunkt wurden keine Links überprüft.","uriMultipleOccurences":"Der URI oben wird mehr als einmal in Ihrer Quelle verwendet. Bitte überprüfen Sie die Vorkommen unten.","viewRawData":"Rohdaten anzeigen","linkCheckResult":"Ergebnis der Linkprüfung","entryData":"Daten des Eintrages","noBrokenPlaceholder":"Es wurden keine defekten Verweise festgestellt.","entryReferencesTitle":"Referenzen des Eintrags"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/de/esreLinkCheckReport.nls"},{"lang":"sv","nls":{"linkCheckDialogHeader":"Länkkontrollinformation","linkCheckDialogFooterButton":"Stäng","uri":"URI","status":"Status","statusCode":"Statuskod","statusMessage":"Statusmeddelande","attempts":"Försök","checkedAt":"Kontrollerad","entryType":"Typ","entryURI":"URI","entryLabel":"Beteckning","property":"Egenskap","details":"Detaljer","view":"Vy","total":"Total","failed":"Misslyckad","excluded":"Undantagen","successful":"Framgångsrik","linkCheckReportHeader":"Länkkontrollrapport","failedHeader":"Misslyckade länkkontroller","placeholder":"Inga länkar har kontrollerats vid denna tidpunkt.","uriMultipleOccurences":"URI:n ovan förekommer i din källa mer än en gång. Vänligen kontrollera förekomsterna nedan.","viewRawData":"Visa rådata","linkCheckResult":"Länkkontrollresultat","entryData":"Postens data","noBrokenPlaceholder":"Inga trasiga länkar hittades.","entryReferencesTitle":"Postens referenser"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/sv/esreLinkCheckReport.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/it/esreLinkCheckReport.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/fr/esreLinkCheckReport.nls"}];

/***/ },

/***/ "./modules/harvest/nls/esrePipelineResult.nls"
/*!****************************************************!*\
  !*** ./modules/harvest/nls/esrePipelineResult.nls ***!
  \****************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"psiDataPageStatus":"PSI-data web page","dcatStatus":"Harvesting source","harvestingResult":"Harvesting status","validationResult":"Validation result","validationError":"Mandatory values missing","validationWarning":"Recommended values missing","validationDeprecated":"Deprecated values present","validationReport":"See validation report","mergeAdded":"Added","mergeUpdated":"Updated","mergeRemoved":"Removed","mergeUnchanged":"Unchanged","harvestDetailsHeader":"Detailed harvesting information","harvestDetailsType":"Type","modifiedDateTitle":"Checked at ${1}","titleDatasets":"{{PLURAL:$1|One entity|$1 entities}} found","noDatasets":"No entities found","noData":"No harvesting information yet","jobPending":"Job pending","jobRunning":"Job running","jobFailed":"Job failed","jobCompleted":"Job completed","foundText":"Found","notFoundText":"Not found","formatStatus":"Unsupported format","missingTypesWarning":"There was an error when retrieving harvesting information. Only available harvesting information will be presented.","invalidRDFStatus":"Invalid RDF detected"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/esrePipelineResult.nls"},{"lang":"de","nls":{"psiDataPageStatus":"PSI-Daten-Webadresse","dcatStatus":"Harvesting-Quelle","validationResult":"Validierungsbericht","validationError":"Validierungsfehler","validationWarning":"Validierungswarnungen","validationDeprecated":"Überholte Felder","validationReport":"Validierungsbericht anzeigen","modifiedDateTitle":"Überprüft: ${1}","titleDatasets":"{{PLURAL:$1|Ein Objekt|$1 Objekte}} gefunden","noDatasets":"Keine Objekte gefunden","foundText":"Gefunden","notFoundText":"Nicht gefunden","formatStatus":"Nicht unterstütztes Format","invalidRDFStatus":"Ungültiges RDF erkannt","harvestingResult":"Harvestingstatus","mergeAdded":"Hinzugefügt","mergeUpdated":"Geändert","mergeRemoved":"Entfernt","mergeUnchanged":"Unverändert","noData":"Noch keine Harvesting-Information vorhanden","jobPending":"Job ausstehend","jobRunning":"Job läuft","jobFailed":"Job fehlgeschlagen","jobCompleted":"Job erledigt","harvestDetailsHeader":"Detaillierte Harvesting-Informationen","harvestDetailsType":"Typ","missingTypesWarning":"Beim Abrufen der Harvesting-Informationen ist ein Fehler aufgetreten. Es werden nur verfügbare Informationen angezeigt."},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/de/esrePipelineResult.nls"},{"lang":"sv","nls":{"psiDataPageStatus":"PSI-data webbsida","dcatStatus":"Skördningskälla","validationResult":"Valideringsresultat","validationError":"Valideringsfel","validationWarning":"Valideringsvarningar","validationDeprecated":"Föråldrade fält","validationReport":"Se valideringsrapport","modifiedDateTitle":"Kontrollerat: ${1}","titleDatasets":"{{PLURAL:$1|En entitet|$1 entiteter}} hittades","noDatasets":"Inga entiteter hittades","foundText":"Hittades","notFoundText":"Hittades inte","formatStatus":"Formatet stöds inte","invalidRDFStatus":"Detekterade RDF som inte validerar","harvestingResult":"Skördningsstatus","mergeAdded":"Tillagt","mergeUpdated":"Uppdaterat","mergeRemoved":"Borttaget","mergeUnchanged":"Oförändrat","noData":"Det finns ingen skördningsinformation ännu","jobPending":"Jobb väntar","jobRunning":"Jobb exekveras","jobFailed":"Jobb misslyckades","jobCompleted":"Jobb avslutat","harvestDetailsHeader":"Detaljerad skördningsinformation","harvestDetailsType":"Typ","missingTypesWarning":"Det uppstod ett fel vid hämtning av skördningsinformationen. Endast tillgänglig information kommer att visas."},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/sv/esrePipelineResult.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/it/esrePipelineResult.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/fr/esrePipelineResult.nls"}];

/***/ },

/***/ "./modules/harvest/nls/esrePipelineResultListDialog.nls"
/*!**************************************************************!*\
  !*** ./modules/harvest/nls/esrePipelineResultListDialog.nls ***!
  \**************************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"pipelineResultRowButton":"Close","openSeparateReportWindow":"Direct link","openSeparateReportWindowTitle":"Open a new window with this information","openInSearch":"Open in search","harvestingLatestX":"Latest {{PLURAL:$1|harvest|$1 harvests}}","dcatAPI":"Harvesting source","psiPage":"PSI-data web page","notFound":"Not found","createButtonInitialLabel":"Harvest","pRcreateButtonLabel":"Reharvest","pRcreatePopoverTitle":"Adds a new background job to fetch and validate a harvesting source","status":"Status","information":"Information","statistics":"Statistics","validation":"Validation","linkCheckReport":"Link check report","failure":"Harvesting couldn't be completed.\nPreviously fetched entities remain.","success":"Harvesting success","yAxisLabel":"Entities","chartTitle":"Daily harvesting status","organizationInformation":"Source information","tabOptions":"Tab options","placeholder":"The harvesting status is currently not available.","cancel":"Close","legendLabelSuccess":"Successful","legendLabelFailed":"Not completed"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/esrePipelineResultListDialog.nls"},{"lang":"de","nls":{"pipelineResultRowButton":"Schließen","dcatAPI":"Harvestingquelle","psiPage":"PSI-Daten-Webadresse","notFound":"Nicht gefunden","openSeparateReportWindow":"Direktverweis","openSeparateReportWindowTitle":"Ein neues Fenster mit diesen Informationen öffnen","harvestingLatestX":"{{PLURAL:$1|Letzter Harvesting-Versuch|Die letzten $1 Harvesting-Versuche}}","pRcreateButtonLabel":"Neu laden","pRcreatePopoverTitle":"Erstellt neuen Hintergrundjob, um die Harvestingquelle zu laden und zu validieren","status":"Status","information":"Information","statistics":"Statistik","failure":"Das Harvesting konnte nicht abgeschlossen werden.\nZuvor abgerufene Objekte bleiben erhalten.","success":"Harvesting erfolgreich","yAxisLabel":"Objekte","chartTitle":"Täglicher Harvesting-Status","linkCheckReport":"Linkprüfungsbericht","organizationInformation":"Informationen zur Quelle","tabOptions":"Registerkartenoptionen","placeholder":"Der Harvesting-Status ist derzeit nicht verfügbar.","cancel":"Schließen","legendLabelSuccess":"Erfolgreich","legendLabelFailed":"Nicht vollständig","createButtonInitialLabel":"Harvesten","validation":"Validierung","openInSearch":"In der Suche öffnen"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/de/esrePipelineResultListDialog.nls"},{"lang":"sv","nls":{"pipelineResultRowButton":"Stäng","dcatAPI":"Skördningskälla","psiPage":"PSI-data webbsida","notFound":"Hittades inte","openSeparateReportWindow":"Direktlänk","openSeparateReportWindowTitle":"Öppna ett nytt fönster med den här informationen","harvestingLatestX":"Senaste {{PLURAL:$1|skördningsförsöket|$1 skördningsförsök}}","pRcreateButtonLabel":"Skörda om","pRcreatePopoverTitle":"Lägger till ett nytt bakgrundsjobb för att hämta och validera en skördningskälla","status":"Status","information":"Information","statistics":"Statistik","failure":"Skördningen kunde inte genomföras.\nTidigare hämtade entiteter finns kvar.","success":"Framgångsrik skördning","yAxisLabel":"Entiteter","chartTitle":"Daglig skördningsstatus","linkCheckReport":"Länkkontrollrapport","organizationInformation":"Information om källan","tabOptions":"Flikalternativ","placeholder":"Skördningsstatus är för närvarande inte tillgänglig.","cancel":"Stäng","legendLabelSuccess":"Lyckad","legendLabelFailed":"Ej genomförd","createButtonInitialLabel":"Skörda","validation":"Validering","openInSearch":"Öppna i sökningen"},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/sv/esrePipelineResultListDialog.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/it/esrePipelineResultListDialog.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/harvest/nls/fr/esrePipelineResultListDialog.nls"}];

/***/ },

/***/ "./modules/models/nls/esmoClasses.nls"
/*!********************************************!*\
  !*** ./modules/models/nls/esmoClasses.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"createClassTitle":"Create class","listHeaderLabel":"Classes","emptyListWarning":"Classes will appear here","publicField":"This class is public","privateField":"This class is not public","replaceURIClass":"Replace URI","removeConfirm":"Remove this class?","removeFailed":"Failed to remove class","publicTitle":"Click to unpublish","privateTitle":"Click to publish","publishDisabledTitle":"The surrounding project is not public, therefore you cannot make this class public","createFail":"Failed to create class","createSuccess":"Class created successfully","toggleAriaLabel":"Toggle for publishing/unpublishing the class"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/esmoClasses.nls"},{"lang":"de","nls":{"listHeaderLabel":"Klassen","emptyListWarning":"Hier werden Klassen angezeigt","publicField":"Diese Klasse ist öffentlich","privateField":"Diese Klasse ist nicht öffentlich","replaceURIClass":"URI ersetzen","removeConfirm":"Diese Klasse entfernen?","removeFailed":"Entfernung der Klasse fehlgeschlagen","publicTitle":"Klicken Sie zum Aufheben der Veröffentlichung","privateTitle":"Zum Veröffentlichen klicken","publishDisabledTitle":"Diese Klasse kann nicht veröffentlicht werden da das umgebende Projekt nicht veröffentlicht ist","toggleAriaLabel":"Ändern des Veröffentlichungsstatus der Klasse","createClassTitle":"Klasse erstellen","createFail":"Beim Erstellen der Klasse ist ein Fehler aufgetreten","createSuccess":"Klasse erfolgreich erstellt"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/de/esmoClasses.nls"},{"lang":"sv","nls":{"listHeaderLabel":"Klasser","emptyListWarning":"Klasser kommer att visas här","publicField":"Denna klass är publicerad","privateField":"Denna klass är inte publicerad","replaceURIClass":"Ersätt URI","removeConfirm":"Ta bort den här klassen?","removeFailed":"Borttagning av klassen misslyckades","publicTitle":"Klicka för att avpublicera","privateTitle":"Klicka för att publicera","publishDisabledTitle":"Du kan inte publicera denna klass eftersom det omgivande projektet inte är publicerat","toggleAriaLabel":"Klicka för att växla mellan att publicera/avpublicera klassen","createClassTitle":"Skapa klass","createFail":"Klassen kunde inte skapas","createSuccess":"Klassen skapades"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/sv/esmoClasses.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/it/esmoClasses.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/fr/esmoClasses.nls"}];

/***/ },

/***/ "./modules/models/nls/esmoCommons.nls"
/*!********************************************!*\
  !*** ./modules/models/nls/esmoCommons.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"fieldType":"Field type","formType":"Form type","nodetypeLabel":"Node type","labelLabel":"Label","descriptionLabel":"Description","purposeLabel":"Purpose","helpLabel":"Validation help","specificationLabel":"Definition","statusLabel":"Status","datatypeLabel":"Data type","editLabelLabel":"Editing label","editDescriptionLabel":"Editing description","placeholderLabel":"Placeholder","propertyLabel":"Property","recommendedLabel":"Recommended","optionalLabel":"Optional","alternativeTextLabel":"Alternative text","alternativeTextPlaceholder":"Alterative texts will appear here","textRoleLabel":"Role","textLabel":"Text","maxLabel":"Max","cardinalityLabel":"Cardinality","mandatoryLabel":"Mandatory","attributesLabel":"Attributes","constraintLabel":"Constraint","cssClassLabel":"CSS class","languageLabel":"Language","overrideFormItemsLabel":"Copy and override","noResultFound":"There are no items to show","constraintPropertyLabel":"Constraint property","constraintObjectLabel":"Constraint object","valueLabel":"Value","selectLabel":"Select","extendsLabel":"Extends","extendsTypeLabel":"Extend type","selectEntryTitle":"Select entry","projectLabel":"Model","titleLabel":"Title","aboutLabel":"About","extendedEntryLabel":"Extended entry","selectExtendsTooltip":"Browse and select entry to extend","typeLabel":"Type","selectAll":"All","importButtonLabel":"Import","importRfsButtonLabel":"Import RDForms bundle","importTooltip":"Import form","importRDFSLabel":"Import RDFS","importRDFSTooltip":"Import RDF Schema","cleanupLabel":"Cleanup","cleanupOptionsLabel":"Select what to clean up","cleanupFindRemoveLabel":"Find and remove unused","cleanupFindRemoveDescription":"Find unused fields, forms, classes and properties and remove them.","cleanupDetectReuseLabel":"Detect and reuse","cleanupDetectReuseDescription":"Detect classes and properties that can be reused.","classLabel":"Class","fieldLabel":"Field","formLabel":"Form","cleanupSelectedCount":"Selected for removal: $1","cleanupRemoveConfirm":"Remove {{PLURAL:$1|$1 selected item|$1 selected items}}? This action cannot be undone.","cleanupNoUnusedPlaceholder":"No unused items found","cleanupRemoveSuccess":"Selected items removed successfully","cleanupRemoveFail":"Failed to remove the selected items","cleanupSelectAll":"Select all","cleanupDeselectAll":"Deselect all","cleanupReuseNamespaceConflict":"Items to reuse for the namespace $1 were detected in more than one model. Select which model to reuse from:","cleanupReuseModelMatches":"{{PLURAL:$1|$1 match detected for reuse|$1 matches detected for reuse}}","cleanupReuseSelectedCount":"Selected for reuse: $1","cleanupReuseNoMatchesPlaceholder":"No classes or properties to reuse","cleanupReuseSuccess":"Selected items reused successfully","cleanupReuseFail":"Failed to reuse the selected items","extend":"Extend","inheritLabel":"Inherit","replaceLabel":"Replace","addToLabel":"Add to","discardLocalValuesConfirmation":"This will discard your local values. Do you want to proceed?","hideLabel":"Hide","inheritedButtonLabel":"Inherited value","noValuePlaceholder":"No value","namespaceLabel":"Namespace","localNameLabel":"Local name","modelLabel":"Model","optionPlaceholder":"Options will appear here","optionConceptsPlaceholder":"Options from selected terminology will appear here","addOptionTooltip":"Add option","editOptionHeader":"Edit option","addOptionHeader":"Add option","optionHeader":"Option","selectTermLabel":"Terminology","selectCollectionLabel":"Collection","useTerminologyLabel":"Use terminology","useManagedOptionsLabel":"Use managed options","getSavedTermError":"Failed to get saved terminology","confirmRemoveOptions":"There are managed options that will be lost by proceeding. Do you want to proceed?","importOptionTooltip":"Import options. After import they can be managed.","confirmImportOptions":"Imported options can be managed, but will be disconnected from the original terminology. Currently managed options will be lost.","terminologyOptionsInfo":"Concepts from the selected terminology will be used to generate options. These options cannot be edited and the order cannot be controlled. To modify them they need to be imported.","includeNestedConcepts":"Include nested concepts","confirmIncludeNestedOrdered":"This terminology has a custom order. Including nested concepts will flatten the hierarchy and the custom order will not be preserved.","valueTemplateLabel":"Value template","patternLabel":"Pattern","unstableLabel":"Unstable","stableLabel":"Stable","deprecatedLabel":"Deprecated","addLabel":"Add","doneLabel":"Done","editAttributesLabel":"Edit attributes","changeTypeLabel":"Change type","searchAttributesPlaceholder":"Search","showSelectedLabel":"Show selected only","showAllLabel":"Show all","editAttributesHeader":"Edit attributes","abbreviationLabel":"Abbreviation","fullTitleLabel":"Full title","textFieldLabel":"Text field","dataTypeLabel":"Data type field","selectFieldLabel":"Select field","lookupFieldLabel":"Lookup field","inlineFieldLabel":"Inline field","inlineFormLabel":"Inline object form","selectInlineFormTooltip":"Browse and select object form","objectFormLabel":"Object form","sectionFormLabel":"Section form","propertyFormLabel":"Property form","profileFormLabel":"Profile form","selectEntryListHeaderLabel":"Type","usedByListHeader":"Used by","usedByPlaceholder":"Forms using this field will appear here","usedByFieldPlaceholder":"Inline fields using this form will appear here","usedByPropertyPlaceholder":"Fields using this property will appear here","sourceLinkTooltip":"Go to overview","otherContextTooltip":"Maintained in other model","includedUsageWarning":"Please note that all usages may not be available for the current user.","extendedByHeader":"Extended by","selectPropertyTooltip":"Browse and select property","selectPropertyLabel":"Select property","namespacePropertyLabel":"Namespace property","manualPropertyLabel":"Manual","editModeLabel":"Edit mode","selectClassLabel":"Select class","selectTerminologyLabel":"Select terminology","noTerminologiesWarning":"Terminologies will appear here","advancedLabel":"Advanced","noClassesWarning":"Classes will appear here","noPropertiesWarning":"Properties will appear here","currentProjectLabel":"Current project","nodetypeChangeWarning":"Please note that some option values may be corrupted by this change and a manual modification may be necessary. Do you still want to proceed?","nodetypeConversionWarning":"Please note that some option values will be converted with this change. Do you still want to proceed?","depsFieldLabel":"Depends on","depsOnFieldLabel":"Field","depsOnValueFieldLabel":"Field value","selectFieldTooltip":"Browse and select field","selectFieldPlaceholder":"No selectable field found","selectFieldHeader":"Select field","preview":"Preview","noDataToPreview":"No data to preview","previewTemplateError":"Please check if a value is missing and try again.","previewBrokenReferenceError":"There's a broken reference from \"$from\" to \"$to\"","previewErrorHeading":"Failed to create preview","previewNotAuthorizedError":"You do not have access to this content. You can request access from your administrator.","previewCircularError":"The form contains an item that references itself in $1. This needs to be resolved before previewing or making a build.","previewLoadError":"Something went wrong while loading necessary data","publishDisabledTitle":"The surrounding project must be public first","saveEditsSuccess":"Changes saved successfully","saveEditsFail":"Failed to save changes","setDefaultLabel":"Set default","unsetDefaultLabel":"Unset default","defaultTooltip":"Default","publicTitle":"Public","privateTitle":"Not public","rdfShapeLabel":"RDF shape","presenterLabel":"Presenter","editorLabel":"Editor","designLabel":"Design","irreversibleChangeTitle":"Irreversible change","typeChangeInfo":"If changing type, unsupported properties will be removed and discarded.","breakingChangeTitle":"Breaking change","typeChangeWarning":"This item is extended by or extending another item. When changing type it is strongly recommended to also change to the same type for all dependencies.","reuseButtonLabel":"Reuse","reuseTitle":"Reuse from other models","overridenValues":"Has overridden values","externalize":"Externalize overridden values","externalizeFieldWarning":"Overridden values will be saved into a detached field, but will still be included in the form and retain the order.","externalizeFormWarning":"Overridden values will be saved into a detached form, but will still be included in the parent form and retain the order.","unsavedFormChanges":"There are unsaved changes in the form. Do you want to save the changes and proceed?","invalidValuesWarning":"Invalid values for the following fields have been identified:","removeValuesSuccess":"Invalid values have been removed.","noNamespaces":"No namespaces are currently available."},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/esmoCommons.nls"},{"lang":"de","nls":{"fieldType":"Feldtyp","formType":"Formulartyp","nodetypeLabel":"Knotentyp","labelLabel":"Name","descriptionLabel":"Beschreibung","purposeLabel":"Zweck","helpLabel":"Validierungshilfe","specificationLabel":"Definition","statusLabel":"Status","datatypeLabel":"Datentyp","editLabelLabel":"Bearbeitungsname","editDescriptionLabel":"Bearbeitungsbeschreibung","placeholderLabel":"Platzhalter","propertyLabel":"Eigenschaft","recommendedLabel":"Empfohlen","optionalLabel":"Optional","maxLabel":"Max","cardinalityLabel":"Kardinalität","mandatoryLabel":"Verbindlich","attributesLabel":"Attribute","constraintLabel":"Einschränkung","cssClassLabel":"CSS-Klasse","languageLabel":"Sprache","constraintPropertyLabel":"Begrenzungseigenschaft","constraintObjectLabel":"Begrenzungsobjekt","valueLabel":"Wert","selectLabel":"Auswählen","extendsLabel":"Erweitert","selectEntryTitle":"Objekt auswählen","projectLabel":"Modell","titleLabel":"Titel","aboutLabel":"Über","extendedEntryLabel":"Erweitertes Objekt","selectExtendsTooltip":"Suchen und wählen Sie das zu erweiternde Objekt","typeLabel":"Typ","selectAll":"Alle","importButtonLabel":"Importieren","importTooltip":"Formular importieren","namespaceLabel":"Namensraum","localNameLabel":"Lokaler Name","optionPlaceholder":"Hier werden Optionen angezeigt","addOptionTooltip":"Option hinzufügen","editOptionHeader":"Option bearbeiten","addOptionHeader":"Option hinzufügen","valueTemplateLabel":"Wertvorlage","patternLabel":"Muster","addLabel":"Hinzufügen","doneLabel":"Fertig","editAttributesLabel":"Attribute bearbeiten","searchAttributesPlaceholder":"Suchen","showSelectedLabel":"Nur ausgewählte anzeigen","showAllLabel":"Alle anzeigen","editAttributesHeader":"Attribute bearbeiten","importRDFSLabel":"RDFS importieren","importRDFSTooltip":"RDF-Schema importieren","modelLabel":"Modell","abbreviationLabel":"Abkürzung","fullTitleLabel":"Vollständiger Titel","textFieldLabel":"Textfeld","dataTypeLabel":"Datentypfeld","selectFieldLabel":"Auswahlfeld","lookupFieldLabel":"Nachschlagefeld","sectionFormLabel":"Abschnittsformular","propertyFormLabel":"Eigenschaftsformular","profileFormLabel":"Profilformular","unstableLabel":"Instabil","stableLabel":"Stabil","deprecatedLabel":"Veraltet","inlineFieldLabel":"Integriertes Feld","optionsFieldLabel":"Optionen","inlineFormLabel":"Integriertes Objektformular","selectInlineFormTooltip":"Suchen und wählen Sie das Objektformular","objectFormLabel":"Objektformular","selectEntryListHeaderLabel":"Typ","usedByListHeader":"Verwendet von","usedByPlaceholder":"Formulare die dieses Feld verwenden werden hier angezeigt","sourceLinkTooltip":"Zur Übersicht wechseln","otherContextTooltip":"Verwaltet in einem anderem Modell","includedUsageWarning":"Bitte beachten Sie dass möglicherweise nicht alle Verwendungen für den aktuellen Benutzer verfügbar sind.","extendedByHeader":"Erweitert durch","selectPropertyTooltip":"Suchen und wählen Sie eine Eigenschaft","selectPropertyLabel":"Eigenschaft auswählen","manualPropertyLabel":"Manuell","editModeLabel":"Bearbeitungsmodus","selectClassLabel":"Klasse wählen","advancedLabel":"Fortgeschritten","noClassesWarning":"Klassen werden hier angezeigt","noPropertiesWarning":"Eigenschaften werden hier angezeigt","namespacePropertyLabel":"Namensraumeigenschaft","currentProjectLabel":"Aktuelles Projekt","nodetypeChangeWarning":"Bitte beachten Sie dass einige Optionswerte durch diese Änderung korrumpiert werden können und eine manuelle Änderung erforderlich sein kann. Möchten Sie trotzdem fortfahren?","nodetypeConversionWarning":"Bitte beachten Sie dass einige Optionswerte bei dieser Änderung konvertiert werden. Möchten Sie trotzdem fortfahren?","usedByFieldPlaceholder":"Integrierte Felder, die dieses Formular verwenden, werden hier angezeigt","depsFieldLabel":"Abhängig von","depsOnFieldLabel":"Feld","depsOnValueFieldLabel":"Feldwert","selectFieldTooltip":"Durchsuchen und Feld auswählen","selectFieldPlaceholder":"Kein auswählbares Feld gefunden","selectFieldHeader":"Feld auswählen","noResultFound":"Es gibt keine Elemente zu zeigen","extendsTypeLabel":"Typ erweitern","extend":"Erweitern","preview":"Voransicht","noDataToPreview":"Keine Daten zur Vorschau","previewTemplateError":"Bitte prüfen Sie ob ein Wert fehlt und versuchen Sie es erneut.","previewErrorHeading":"Vorschau konnte nicht erstellt werden","previewCircularError":"Das Formular enthält ein Element, das in $1 auf sich selbst verweist. Dies muss behoben werden, bevor Sie eine Vorschau anzeigen oder ein Build erstellen können.","previewLoadError":"Beim Laden der erforderlichen Daten ist ein Fehler aufgetreten","publishDisabledTitle":"Das umgebende Projekt muss zuerst veröffentlicht werden","saveEditsSuccess":"Änderungen erfolgreich gespeichert","saveEditsFail":"Die Änderungen konnten nicht gespeichert werden","setDefaultLabel":"Als Standard einstellen","unsetDefaultLabel":"Standardeinstellung aufheben","defaultTooltip":"Voreinstellung","publicTitle":"Veröffentlicht","privateTitle":"Nicht veröffentlicht","overrideFormItemsLabel":"Kopieren und überschreiben","changeTypeLabel":"Typ ändern","rdfShapeLabel":"RDF Shape","presenterLabel":"Präsentation","editorLabel":"Bearbeitung","designLabel":"Design","irreversibleChangeTitle":"Unumkehrbare Änderung","typeChangeInfo":"Wenn Sie den Typ ändern, werden nicht unterstützte Eigenschaften entfernt und gehen verloren.","breakingChangeTitle":"Inkompatible Änderung","typeChangeWarning":"Dieses Element wird durch ein anderes Element erweitert oder erweitert dieses. Wenn Sie den Typ ändern, wird dringend empfohlen, auch für alle Abhängigkeiten den gleichen Typ zu wählen.","importRfsButtonLabel":"RDForms Bundle importieren","optionConceptsPlaceholder":"Optionen aus der gewählten Terminologie werden hier angezeigt","optionHeader":"Option","selectTermLabel":"Terminologie","selectCollectionLabel":"Sammlung","useTerminologyLabel":"Terminologie verwenden","useManagedOptionsLabel":"Verwaltete Optionen verwenden","getSavedTermError":"Gespeicherte Terminologie konnte nicht geladen werden","confirmRemoveOptions":"Es gibt verwaltete Optionen, die verloren gehen, wenn Sie fortfahren. Wollen Sie fortfahren?","importOptionTooltip":"Import von Optionen. Nach dem Import können die Optionen verwaltet werden.","confirmImportOptions":"Importierte Optionen können zwar verwaltet werden, werden aber von der ursprünglichen Terminologie getrennt. Aktuell verwaltete Optionen gehen dabei verloren.","terminologyOptionsInfo":"Die Begriffe aus der ausgewählten Terminologie werden verwendet, um Optionen zu generieren. Diese Optionen können nicht bearbeitet werden und die Reihenfolge kann nicht kontrolliert werden. Um sie zu ändern, müssen sie importiert werden.","previewNotAuthorizedError":"Sie haben keinen Zugriff auf diese Inhalte. Sie können Zugriff bei Ihrem Administrator beantragen.","reuseButtonLabel":"Wiederverwenden","reuseTitle":"Wiederverwendung von anderen Modellen","overridenValues":"Hat überschriebene Werte","alternativeTextLabel":"Alternativer Text","alternativeTextPlaceholder":"Alternative Texte werden hier angezeigt","textRoleLabel":"Rolle","textLabel":"Text","selectTerminologyLabel":"Terminologie auswählen","noTerminologiesWarning":"Hier werden Terminologien angezeigt","externalize":"Ersetzte Werte externalisieren","externalizeFieldWarning":"Ersetzte Werte werden in einem separaten Feld gespeichert, werden aber dennoch in das Formular aufgenommen und behalten die Reihenfolge bei.","externalizeFormWarning":"Ersetzte Werte werden in einem separaten Formular gespeichert, sind aber dennoch im übergeordneten Formular enthalten und behalten die Reihenfolge bei.","unsavedFormChanges":"Es gibt ungespeicherte Änderungen im Formular. Möchten Sie die Änderungen speichern und fortfahren?","invalidValuesWarning":"Es wurden ungültige Werte für die folgenden Felder ermittelt:","removeValuesSuccess":"Ungültige Werte wurden entfernt.","previewBrokenReferenceError":"Es gibt einen fehlerhaften Verweis von \"$from\" zu \"$to\"","noNamespaces":"Derzeit sind keine Namensräume verfügbar.","inheritLabel":"Erben","replaceLabel":"Ersetzen","addToLabel":"Hinzufügen","discardLocalValuesConfirmation":"Dadurch werden Ihre lokalen Werte verworfen. Möchten Sie fortfahren?","hideLabel":"Ausblenden","inheritedButtonLabel":"Geerbter Wert","noValuePlaceholder":"Kein Wert","includeNestedConcepts":"Verschachtelte Konzepte einbeziehen","confirmIncludeNestedOrdered":"Diese Terminologie hat eine benutzerdefinierte Reihenfolge. Wenn Sie verschachtelte Konzepte einbeziehen, wird die Hierarchie abgeflacht und die benutzerdefinierte Reihenfolge wird nicht beibehalten.","usedByPropertyPlaceholder":"Felder, die diese Eigenschaft verwenden, werden hier angezeigt"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/de/esmoCommons.nls"},{"lang":"sv","nls":{"fieldType":"Typ av fält","formType":"Typ av formulär","nodetypeLabel":"Typ av nod","labelLabel":"Namn","descriptionLabel":"Beskrivning","purposeLabel":"Syfte","helpLabel":"Valideringshjälp","specificationLabel":"Definition","statusLabel":"Status","datatypeLabel":"Datatyp","editLabelLabel":"Redigeringsnamn","editDescriptionLabel":"Redigeringsbeskrivning","placeholderLabel":"Platshållare","propertyLabel":"Egenskap","recommendedLabel":"Rekommenderat","optionalLabel":"Frivilligt","maxLabel":"Max","cardinalityLabel":"Kardinalitet","mandatoryLabel":"Obligatoriskt","attributesLabel":"Attribut","constraintLabel":"Begränsning","cssClassLabel":"CSS-klass","languageLabel":"Språk","constraintPropertyLabel":"Begränsningsegenskap","constraintObjectLabel":"Begränsningsobjekt","valueLabel":"Värde","selectLabel":"Välj","extendsLabel":"Utökar","selectEntryTitle":"Välj entitet","projectLabel":"Modell","titleLabel":"Titel","aboutLabel":"Om","extendedEntryLabel":"Utökad entitet","selectExtendsTooltip":"Sök efter och välj entitet för att utöka","typeLabel":"Typ","selectAll":"Alla","importButtonLabel":"Importera","importTooltip":"Importeringsformulär","namespaceLabel":"Namnrymd","localNameLabel":"Lokalt namn","optionPlaceholder":"Alternativ kommer att visas här","addOptionTooltip":"Lägg till alternativ","editOptionHeader":"Redigera alternativ","addOptionHeader":"Lägg till alternativ","valueTemplateLabel":"Värdemall","patternLabel":"Mönster","addLabel":"Lägg till","doneLabel":"Klart","editAttributesLabel":"Redigera attribut","searchAttributesPlaceholder":"Sök","showSelectedLabel":"Visa endast valda","showAllLabel":"Visa allt","editAttributesHeader":"Redigera attribut","importRDFSLabel":"Importera RDFS","importRDFSTooltip":"Importera RDF Schema","modelLabel":"Modell","abbreviationLabel":"Förkortning","fullTitleLabel":"Fullständig titel","textFieldLabel":"Textfält","dataTypeLabel":"Datatypsfält","selectFieldLabel":"Fält med val","lookupFieldLabel":"Uppslagsfält","sectionFormLabel":"Avsnittsformulär","propertyFormLabel":"Egenskapsformulär","profileFormLabel":"Profilformulär","unstableLabel":"Instabil","stableLabel":"Stabil","deprecatedLabel":"Föråldrat","inlineFieldLabel":"Inline-fält","optionsFieldLabel":"Alternativ","inlineFormLabel":"Integrerat objektformulär","selectInlineFormTooltip":"Bläddra och välj objektformulär","objectFormLabel":"Objektformulär","selectEntryListHeaderLabel":"Typ","usedByListHeader":"Används av","usedByPlaceholder":"Formulär som använder detta fält kommer att visas här","sourceLinkTooltip":"Gå till översikt","otherContextTooltip":"Förvaltas i en annan modell","includedUsageWarning":"Observera att alla användningar kanske inte är tillgängliga för den aktuella användaren.","extendedByHeader":"Utökad genom","selectPropertyTooltip":"Sök efter och välj egenskap","selectPropertyLabel":"Välj egenskap","manualPropertyLabel":"Manuell","editModeLabel":"Redigeringsläge","selectClassLabel":"Välj klass","advancedLabel":"Avancerad","noClassesWarning":"Klasser kommer att visas här","noPropertiesWarning":"Egenskaper kommer att visas här","namespacePropertyLabel":"Namnrymdsegenskap","currentProjectLabel":"Aktuellt projekt","nodetypeChangeWarning":"Observera att vissa alternativvärden kan förvanskas av denna ändring och att en manuell ändring kan vara nödvändig. Vill du fortsätta?","nodetypeConversionWarning":"Observera att vissa alternativvärden kommer att konverteras i och med denna ändring. Vill du fortsätta?","usedByFieldPlaceholder":"Integrerade fält som använder detta formulär visas här","depsFieldLabel":"Beror på","depsOnFieldLabel":"Fält","depsOnValueFieldLabel":"Fältvärde","selectFieldTooltip":"Sök efter och välj fält","selectFieldPlaceholder":"Inget valbart fält hittades","selectFieldHeader":"Fält med val","noResultFound":"Det finns inga objekt att visa","extendsTypeLabel":"Utöka typ","extend":"Utöka","preview":"Förhandsvisa","noDataToPreview":"Inga data att förhandsgranska","previewTemplateError":"Kontrollera om ett värde saknas och försök igen.","previewErrorHeading":"Det gick inte att skapa förhandsvisningen","previewCircularError":"Formuläret innehåller ett objekt som refererar till sig själv i $1. Detta måste åtgärdas innan förhandsgranskning eller bygge skapas.","previewLoadError":"Något gick fel vid inläsningen av nödvändiga data","publishDisabledTitle":"Det omgivande projektet måste vara publicerat först","saveEditsSuccess":"Ändringarna sparades","saveEditsFail":"Det gick inte att spara ändringarna","setDefaultLabel":"Aktivera som standard","unsetDefaultLabel":"Avaktivera som standard","defaultTooltip":"Standard","publicTitle":"Publik","privateTitle":"Icke publik","overrideFormItemsLabel":"Kopiera och ersätt","changeTypeLabel":"Ändra typ","rdfShapeLabel":"RDF shape","presenterLabel":"Visning","editorLabel":"Redigering","designLabel":"Design","irreversibleChangeTitle":"Oåterkallelig förändring","typeChangeInfo":"Om du ändrar typ kommer egenskaper som inte stöds att tas bort och gå förlorade.","breakingChangeTitle":"Inkompatibel förändring","typeChangeWarning":"Detta objekt utvigs av eller utvidgar ett annat objekt. När du ändrar typ rekommenderas det att du också ändrar till samma typ för alla beroenden.","importRfsButtonLabel":"Importera RDForms bundle","optionConceptsPlaceholder":"Alternativ från vald terminologi kommer att visas här","optionHeader":"Alternativ","selectTermLabel":"Terminologi","selectCollectionLabel":"Samling","useTerminologyLabel":"Använd terminologi","useManagedOptionsLabel":"Använd hanterade alternativ","getSavedTermError":"Misslyckades med att hämta sparad terminologi","confirmRemoveOptions":"Det finns hanterade alternativ som kommer att gå förlorade om du fortsätter. Vill du fortsätta?","importOptionTooltip":"Importera alternativ. Efter import kan de hanteras.","confirmImportOptions":"Importerade alternativ kan hanteras, men kommer att kopplas bort från den ursprungliga terminologin. Alternativ som hanteras för närvarande kommer att gå förlorade.","terminologyOptionsInfo":"Begrepp från vald terminologi används för att skapa alternativ. Dessa alternativ kan inte redigeras och ordningen kan inte ändras. För att ändra begreppen måste de importeras.","previewNotAuthorizedError":"Du har inte åtkomst till detta innehåll. Du kan begära åtkomst från din administratör.","reuseButtonLabel":"Återanvänd","reuseTitle":"Återanvänd från andra modeller","overridenValues":"Har ersatta värden","alternativeTextLabel":"Alternativ text","alternativeTextPlaceholder":"Alternativa texter kommer att visas här","textRoleLabel":"Roll","textLabel":"Text","selectTerminologyLabel":"Välj terminologi","noTerminologiesWarning":"Terminologier kommer att visas här","externalize":"Externalisera ersatta värden","externalizeFieldWarning":"Ersatta värden sparas i ett separat fält, men kommer ändå att ingå i formuläret och behålla ordningen.","externalizeFormWarning":"Ersatta värden sparas i ett separat formulär, men kommer fortfarande att ingå i det överordnade formuläret och behålla ordningen.","unsavedFormChanges":"Det finns osparade ändringar i formuläret. Vill du spara ändringarna och fortsätta?","invalidValuesWarning":"Ogiltiga värden för följande fält har identifierats:","removeValuesSuccess":"Ogiltiga värden har tagits bort.","previewBrokenReferenceError":"Det finns en trasig referens från \"$from\" till \"$to\"","noNamespaces":"Inga namnrymder är tillgängliga för närvarande.","inheritLabel":"Ärva","replaceLabel":"Byt ut","addToLabel":"Lägg till","discardLocalValuesConfirmation":"Detta kommer att förkasta dina lokala värden. Vill du fortsätta?","hideLabel":"Dölj","inheritedButtonLabel":"Ärvt värde","noValuePlaceholder":"Inget värde","includeNestedConcepts":"Inkludera nästlade begrepp","confirmIncludeNestedOrdered":"Denna terminologi har en anpassad ordning. Om du inkluderar nästlade begrepp blir hierarkin plattare och den anpassade ordningen bevaras inte.","usedByPropertyPlaceholder":"Fält som använder den här egenskapen visas här"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/sv/esmoCommons.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/it/esmoCommons.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/fr/esmoCommons.nls"}];

/***/ },

/***/ "./modules/models/nls/esmoFields.nls"
/*!*******************************************!*\
  !*** ./modules/models/nls/esmoFields.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"emptyListWarning":"Fields will appear here","emptyObjectFormListWarning":"Object forms will appear here","listHeaderLabel":"Field","createSuccess":"Field created successfully","createFieldTitle":"Create field","extendFieldTitle":"Extend field","editOptions":"Edit options","optionsListHeader":"Options","optionsDisabledTooltip":"Options of extended fields cannot be edited","removalConfirmation":"Remove this field?","backTitle":"Back to field list","extendedByFieldPlaceholder":"Fields extending this field will appear here","removeSuccessMessage":"Field removed successfully","removeFailMessage":"Failed to remove field","createFailMessage":"Failed to create field"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/esmoFields.nls"},{"lang":"de","nls":{"emptyListWarning":"Hier werden Felder angezeigt","listHeaderLabel":"Feld","optionsListHeader":"Optionen","removalConfirmation":"Dieses Feld entfernen?","backTitle":"Zurück zur Feldliste","optionsDisabledTooltip":"Optionen erweiterter Felder können nicht bearbeitet werden","extendedByFieldPlaceholder":"Felder die dieses Feld erweitern werden hier angezeigt","emptyObjectFormListWarning":"Hier werden Objektformulare angezeigt","createSuccess":"Das Feld wurde erstellt","removeSuccessMessage":"Feld erfolgreich entfernt","removeFailMessage":"Feld konnte nicht entfernt werden","createFieldTitle":"Feld erstellen","extendFieldTitle":"Feld erweitern","editOptions":"Optionen bearbeiten","createFailMessage":"Beim Erstellen des Feldes ist ein Fehler aufgetreten"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/de/esmoFields.nls"},{"lang":"sv","nls":{"emptyListWarning":"Fält kommer att visas här","listHeaderLabel":"Fält","optionsListHeader":"Alternativ","removalConfirmation":"Ta bort detta fält?","backTitle":"Tillbaka till listan av fält","optionsDisabledTooltip":"Alternativ för utökade fält kan inte redigeras","extendedByFieldPlaceholder":"Fält som utökar detta fält kommer att visas här","emptyObjectFormListWarning":"Objektformulär kommer att visas här","createSuccess":"Fältet har skapats","removeSuccessMessage":"Fältet har tagits bort","removeFailMessage":"Fältet kunde inte tas bort","createFieldTitle":"Skapa fält","extendFieldTitle":"Utöka fältet","editOptions":"Redigera alternativ","createFailMessage":"Fältet kunde inte skapas"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/sv/esmoFields.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/it/esmoFields.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/fr/esmoFields.nls"}];

/***/ },

/***/ "./modules/models/nls/esmoProperties.nls"
/*!***********************************************!*\
  !*** ./modules/models/nls/esmoProperties.nls ***!
  \***********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"createPropertyTitle":"Create property","listHeaderLabel":"Properties","emptyListWarning":"Properties will appear here","publicField":"This property is public","privateField":"This property is not public","replaceURIClass":"Replace URI","removeConfirm":"Do you want to remove this property","removeFailed":"Failed to remove property","publicTitle":"Click to unpublish","privateTitle":"Click to publish","publishDisabledTitle":"The surrounding project is not public, therefore you cannot make this property public","createSuccess":"Property created successfully","createFail":"Failed to create property","toggleAriaLabel":"Toggle for publishing/unpublishing the property"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/esmoProperties.nls"},{"lang":"de","nls":{"listHeaderLabel":"Eigenschaften","emptyListWarning":"Hier werden Eigenschaften angezeigt","publicField":"Diese Eigenschaft ist öffentlich","privateField":"Diese Eigenschaft ist nicht öffentlich","removeConfirm":"Möchten Sie diese Eigenschaft entfernen","removeFailed":"Entfernung von Eigenschaft fehlgeschlagen","replaceURIClass":"URI ersetzen","publicTitle":"Klicken Sie hier zum Aufheben der Veröffentlichung","privateTitle":"Zum Veröffentlichen hier klicken","publishDisabledTitle":"Diese Eigenschaft kann nicht veröffentlicht werden da das umgebende Projekt nicht öffentlich ist","toggleAriaLabel":"Ändern des Veröffentlichungsstatus der Eigenschaft","createPropertyTitle":"Eigenschaft erstellen","createSuccess":"Eigenschaft erfolgreich erstellt","createFail":"Eigenschaft konnte nicht erstellt werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/de/esmoProperties.nls"},{"lang":"sv","nls":{"listHeaderLabel":"Egenskaper","emptyListWarning":"Egenskaper kommer att visas här","publicField":"Denna egenskap är publicerad","privateField":"Denna egenskap är inte publicerad","removeConfirm":"Vill du ta bort denna egenskap","removeFailed":"Borttagning av egenskapen misslyckades","replaceURIClass":"Ersätt URI","publicTitle":"Klicka för att avpublicera","privateTitle":"Klicka för att publicera","publishDisabledTitle":"Du kan inte publicera denna egenskap eftersom det omgivande projektet inte är publicerat","toggleAriaLabel":"Växla mellan publicering/avpublicering av egenskapen","createPropertyTitle":"Skapa egenskap","createSuccess":"Egenskap skapad","createFail":"Misslyckades med att skapa egenskap"},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/sv/esmoProperties.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/it/esmoProperties.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/models/nls/fr/esmoProperties.nls"}];

/***/ },

/***/ "./modules/search/nls/esseSearch.nls"
/*!*******************************************!*\
  !*** ./modules/search/nls/esseSearch.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"contextFilterLabel":"Project","typeFilterLabel":"Type","listHeaderLabel":"Title","listHeaderEntityType":"Type","customTypesHeader":"Custom types","builtinTypesHeader":"Built-in types"},"path":"/opt/atlassian/pipelines/agent/build/modules/search/nls/esseSearch.nls"},{"lang":"de","nls":{"contextFilterLabel":"Projekt","typeFilterLabel":"Typ","listHeaderLabel":"Titel","listHeaderEntityType":"Typ","customTypesHeader":"Benutzerdefinierte Typen","builtinTypesHeader":"Integrierte Typen"},"path":"/opt/atlassian/pipelines/agent/build/modules/search/nls/de/esseSearch.nls"},{"lang":"sv","nls":{"contextFilterLabel":"Projekt","typeFilterLabel":"Typ","listHeaderLabel":"Titel","listHeaderEntityType":"Typ","customTypesHeader":"Anpassade typer","builtinTypesHeader":"Inbyggda typer"},"path":"/opt/atlassian/pipelines/agent/build/modules/search/nls/sv/esseSearch.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/search/nls/it/esseSearch.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/search/nls/fr/esseSearch.nls"}];

/***/ },

/***/ "./modules/status/nls/esreStatus.nls"
/*!*******************************************!*\
  !*** ./modules/status/nls/esreStatus.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"creationDateTitle":"Source checked at ${date}","organizationLabel":"Source","organizationTitle":"Source in the public sector, e.g. municipality or authority","otherOrgLabel":"Source","otherOrgTitle":"Source in the private sector, e.g. company or NGO","psiPageLabel":"Web page","psiPageTitle":"Specific web page for open data/PSI data found","dcatAPLabel":"Entities","dcatAPTitle":"Machine readable source with entities found","checkedLabel":"Checked","checkedTitle":"Time when source was last checked","placeholderEntityName":"Source","checkedSortTooltipLabel":"checked date","sectorFilterHeader":"Sector","publicFilterLabel":"Public sector","privateFilterLabel":"Private sector","anyFilterLabel":"Any","searchButtonTooltip":"Open in search"},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/esreStatus.nls"},{"lang":"de","nls":{"creationDateTitle":"Quelle überprüft am ${date}","organizationLabel":"Quelle","otherOrgLabel":"Quelle","psiPageLabel":"PSI-Daten-Webadresse","dcatAPLabel":"Objekte","checkedLabel":"Überprüft","organizationTitle":"Quelle im öffentlichen Sektor, z.B. Gemeinde oder Behörde","otherOrgTitle":"Quelle im privaten Sektor, z.B. Unternehmen oder NGO","psiPageTitle":"Webseite für Open Data/PSI-Daten gefunden","dcatAPTitle":"Maschinenlesbare Quelle mit Objekten gefunden","checkedTitle":"Zeitpunkt der letzten Überprüfung der Quelle","placeholderEntityName":"Quelle","checkedSortTooltipLabel":"Geprüftes Datum","sectorFilterHeader":"Sektor","publicFilterLabel":"Öffentlicher Sektor","privateFilterLabel":"Privater Sektor","anyFilterLabel":"Alle","searchButtonTooltip":"In der Suche öffnen"},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/de/esreStatus.nls"},{"lang":"sv","nls":{"creationDateTitle":"Källan kollad senast ${date}","organizationLabel":"Källa","otherOrgLabel":"Källa","psiPageLabel":"PSI-sida","dcatAPLabel":"Entiteter","checkedLabel":"Kontrollerad","organizationTitle":"Källa inom den offentliga sektorn, t.ex. kommun eller myndighet","otherOrgTitle":"Källa inom den privata sektorn, t.ex. företag eller icke-statliga organisationer","psiPageTitle":"Särskild webbsida för öppna data/PSI-data hittades","dcatAPTitle":"Maskinläsbar källa med entiteter hittades","checkedTitle":"Tid då källan senast kontrollerades","placeholderEntityName":"Källa","checkedSortTooltipLabel":"kontrollerat datum","sectorFilterHeader":"Sektor","publicFilterLabel":"Offentlig sektor","privateFilterLabel":"Privat sektor","anyFilterLabel":"Alla","searchButtonTooltip":"Öppna i sökningen"},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/sv/esreStatus.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/it/esreStatus.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/fr/esreStatus.nls"}];

/***/ },

/***/ "./modules/status/nls/esreVisualization.nls"
/*!**************************************************!*\
  !*** ./modules/status/nls/esreVisualization.nls ***!
  \**************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"datasetGrowth":"Growth of entities (last month)","orgStatus":"Status public sector sources","datasetsPerOrg":"Amount of entities per source","topOrganizations":"Top sources of last harvest","dcatAndPSILegend":"DCAT-AP and PSI page ($1)","onlyPSILegend":"Only PSI page ($1)","onlyDcatLegend":"Only DCAT-AP ($1)","neitherLegend":"Neither ($1)","datasetCount":"Number of entities","organizationCount":"Sources providing entities","datasetsTitle":"Entities","organizationsTitle":"Sources"},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/esreVisualization.nls"},{"lang":"de","nls":{"datasetGrowth":"Wachstum der Objekte (in den letzten 30 Tagen)","orgStatus":"Status der Quellen des öffentlichen Sektors","datasetsPerOrg":"Anzahl der Objekte pro Quelle","dcatAndPSILegend":"DCAT-AP und PSI-Daten-Seite ($1)","onlyPSILegend":"Nur PSI-Daten-Seite ($1)","onlyDcatLegend":"Nur DCAT-AP ($1)","neitherLegend":"Keiner der beiden ($1)","datasetCount":"Anzahl der Objekte","organizationCount":"Quellen die Objekte bereitstellen","topOrganizations":"Quellen mit den meisten Objekten","datasetsTitle":"Objekte","organizationsTitle":"Quellen"},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/de/esreVisualization.nls"},{"lang":"sv","nls":{"datasetGrowth":"Tillväxt av entiteter (senaste månaden)","orgStatus":"Status på källor inom offentlig sektor","datasetsPerOrg":"Antal entiteter per källa","dcatAndPSILegend":"DCAT-AP och PSI-sida ($1)","onlyPSILegend":"Enbart PSI-sida ($1)","onlyDcatLegend":"Enbart DCAT-AP ($1)","neitherLegend":"Ingetdera ($1)","datasetCount":"Antal entiteter","organizationCount":"Källor som tillhandahåller entiteter","topOrganizations":"En rankning av källorna efter den senaste skördningsomgången","datasetsTitle":"Entiteter","organizationsTitle":"Källor"},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/sv/esreVisualization.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/it/esreVisualization.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/status/nls/fr/esreVisualization.nls"}];

/***/ },

/***/ "./modules/terms/nls/esteImport.nls"
/*!******************************************!*\
  !*** ./modules/terms/nls/esteImport.nls ***!
  \******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"noSKOS":"No terminology found","noResponseFromLink":"No data was found at the provided web address","loadFromLinkProblem":"There was a problem loading the data","uploadTask":"Upload file","analysisTask":"Analyze scheme","importTask":"Import concepts","updateTask":"Updating concepts","nlsNumberOfConceptsImported":"${importedConcepts} of ${totalConcepts} concepts have been imported","numberOfConceptsUpdated":"${treated} of ${total} processed. ${updated} updated, ${unchanged} unchanged, ${added} added and ${removed} removed","terminologyURLHasChanged":"Cannot update the terminology since its URI has changed, maybe you are using the wrong terminology source?","importButtonLabel":"Import","updateButtonLabel":"Update","importAsEnhancedCheckboxLabel":"Restrict terminology to allowing only enhancements of imported concepts","importAsEnhancedTooltip":"Existing information will be read-only and concepts cannot be added or removed. Instead, updating or reimporting concepts later will be possible.","fileRequired":"A file is required in the format RDF/XML containing a single terminology expressed according to SKOS.","noConcepts":"No concepts found","noUriSpace":"Unable to determine the terminology's base URI. Try importing as restricted terminology instead.","confirmLargeImport":"A very large number of concepts has been detected. There is a high chance importing the terminology will fail, do you want to continue?","reject":"Cancel","confirm":"Continue"},"path":"/opt/atlassian/pipelines/agent/build/modules/terms/nls/esteImport.nls"},{"lang":"de","nls":{"noSKOS":"Keine Terminologie gefunden","noResponseFromLink":"An der angegebenen Webadresse konnten keine Daten gefunden werden","loadFromLinkProblem":"Beim Laden der Daten ist ein Problem aufgetreten","uploadTask":"Datei hochladen","analysisTask":"Struktur analysieren","importTask":"Begriffe importieren","nlsNumberOfConceptsImported":"${importedConcepts} von ${totalConcepts} Begriffen wurden importiert","importButtonLabel":"Import","updateTask":"Aktualisiere Begriffe","numberOfConceptsUpdated":"${treated} von ${total} verarbeitet. ${updated} aktualisiert, ${unchanged} unverändert, ${added} hinzugefügt und ${removed} entfernt","terminologyURLHasChanged":"Die Terminologie kann nicht aktualisiert werden, da sich die URI geändert hat. Verwenden Sie möglicherweise die falsche Quelle?","updateButtonLabel":"Aktualisieren","importAsEnhancedCheckboxLabel":"Terminologie beschränken und nur Erweiterungen importierter Begriffe zulassen","importAsEnhancedTooltip":"Vorhandene Information ist schreibgeschützt und Begriffe dürfen nicht hinzugefügt oder entfernt werden. Stattdessen ist es möglich, Begriffe später zu aktualisieren oder neu zu importieren.","fileRequired":"Es wird eine Datei im RDF/XML-Format benötigt, die eine einheitliche Terminologie gemäß SKOS enthält.","noConcepts":"Es wurden keine Begriffe gefunden","confirmLargeImport":"Es wurde eine sehr große Anzahl von Begriffen gefunden. Es besteht eine hohe Wahrscheinlichkeit, dass der Import der Terminologie fehlschlägt. Möchten Sie fortfahren?","reject":"Abbrechen","confirm":"Weiter","noUriSpace":"Die Basis-URI der Terminologie konnte nicht ermittelt werden. Versuchen Sie stattdessen, sie als eingeschränkte Terminologie zu importieren."},"path":"/opt/atlassian/pipelines/agent/build/modules/terms/nls/de/esteImport.nls"},{"lang":"sv","nls":{"noSKOS":"Ingen terminologi hittades","noResponseFromLink":"Inga data hittades på den angivna webbadressen","loadFromLinkProblem":"Det uppstod ett problem med att ladda data","uploadTask":"Ladda upp fil","analysisTask":"Analysera struktur","importTask":"Importera begrepp","nlsNumberOfConceptsImported":"${importedConcepts} av ${totalConcepts} begrepp har importerats","importButtonLabel":"Importera","updateTask":"Begrepp uppdateras","numberOfConceptsUpdated":"${treated} av ${total} hanterat. ${updated} uppdaterat, ${unchanged} oförändrat, ${added} har lagts till och ${removed} har tagits bort","terminologyURLHasChanged":"Det är inte möjligt att uppdatera terminologin eftersom dess URI har ändrats. Används rätt källa?","updateButtonLabel":"Uppdatera","importAsEnhancedCheckboxLabel":"Begränsa terminologin till att endast tillåta utökningar av importerade begrepp","importAsEnhancedTooltip":"Befintlig information kommer att vara skrivskyddad och begrepp kan inte läggas till eller tas bort. Istället kommer det att vara möjligt att uppdatera eller återimportera begrepp senare.","fileRequired":"En fil krävs i formatet RDF/XML innehållande en enda terminologi uttryckt enligt SKOS.","noConcepts":"Inga begrepp hittades","confirmLargeImport":"Ett mycket stort antal begrepp har upptäckts. Det finns en stor chans att importen av terminologin misslyckas, vill du fortsätta?","reject":"Avbryt","confirm":"Fortsätt","noUriSpace":"Det gick inte att fastställa terminologins bas-URI. Försök att importera som begränsad terminologi istället."},"path":"/opt/atlassian/pipelines/agent/build/modules/terms/nls/sv/esteImport.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/terms/nls/it/esteImport.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/terms/nls/fr/esteImport.nls"}];

/***/ },

/***/ "./modules/toolkit/nls/esreCatalogDetect.nls"
/*!***************************************************!*\
  !*** ./modules/toolkit/nls/esreCatalogDetect.nls ***!
  \***************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"catalogSource":"Catalog:","catalogTitle":"Catalog \"$1\"","catalogFallbackTitle":"Unnamed catalog","datasetItem":"{{PLURAL:$1|1 dataset|$1 datasets}}","distributionItem":"{{PLURAL:$1|1 distribution|$1 distributions}}","contactItem":"{{PLURAL:$1|1 contact|$1 contacts}}","publisherItem":"{{PLURAL:$1|1 publisher|$1 publishers}}","catalogError":"At most one catalog expected but found $1 catalogs.","nothingToMergeError":"Nothing to merge. No datasets, distributions, publishers or contacts found."},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/esreCatalogDetect.nls"},{"lang":"de","nls":{"catalogSource":"Katalog:","catalogError":"Höchstens ein Katalog erwartet, es wurden jedoch $1 Kataloge gefunden","nothingToMergeError":"Es gibt nichts zum Zusammenführen. Es wurden keine Datensätze, Distributionen, Herausgeber oder Kontakte gefunden.","catalogTitle":"Katalog \"$1\"","datasetItem":"{{PLURAL:$1|1 Datensatz|$1 Datensätze}}","distributionItem":"{{PLURAL:$1|1 Distribution|$1 Distributionen}}","contactItem":"{{PLURAL:$1|1 Kontakt|$1 Kontakte}}","publisherItem":"{{PLURAL:$1|1 Organisation|$1 Organisationen}}","catalogFallbackTitle":"Unbenannter Katalog"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/de/esreCatalogDetect.nls"},{"lang":"sv","nls":{"catalogSource":"Katalog:","catalogError":"Endast en katalog förväntas, hittade $1 kataloger.","nothingToMergeError":"Inget att slå samman. Hittade inga datamängder, distributioner, tillhandahållande organisationer eller kontakter.","catalogTitle":"Katalog \"$1\"","datasetItem":"{{PLURAL:$1|1 datamängd|$1 datamängder}}","distributionItem":"{{PLURAL:$1|1 distribution|$1 distributioner}}","contactItem":"{{PLURAL:$1|1 kontakt|$1 kontakter}}","publisherItem":"{{PLURAL:$1|1 organisation|$1 organisationer}}","catalogFallbackTitle":"Icke namngiven katalog"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/sv/esreCatalogDetect.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/it/esreCatalogDetect.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/fr/esreCatalogDetect.nls"}];

/***/ },

/***/ "./modules/toolkit/nls/esreConvert.nls"
/*!*********************************************!*\
  !*** ./modules/toolkit/nls/esreConvert.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"convertHeader":"DCAT conversion","convertSubheader":"Convert your metadata catalog from an older version of DCAT-AP to your preferred target version below.","toBeConverted":"{{PLURAL:$1|One value|$1 values}} will be changed upon conversion","issueType":"What to change","onSubject":"On subject","from":"From value","to":"To value","predicateFix":"Predicate","objectFix":"Object","convertButton":"Convert","nothingToConvert":"Nothing to convert","tableLabel":"Pending conversions table","conversionComplete":"Conversion complete. {{PLURAL:$1|One value has|$1 values have}} been converted to $version.","versionSelect":"Target version"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/esreConvert.nls"},{"lang":"de","nls":{"convertHeader":"DCAT-Konvertierung","toBeConverted":"{{PLURAL:$1|Ein Wert wird|$1 Werte werden}} bei einer Konvertierung geändert","issueType":"Was geändert wird","onSubject":"Subjekt","from":"Von Wert","to":"Zu Wert","predicateFix":"Prädikat","objectFix":"Objekt","convertButton":"Konvertieren","nothingToConvert":"Es gibt nichts zu konvertieren","tableLabel":"Tabelle mit ausstehenden Konvertierungen","conversionComplete":"Konvertierung abgeschlossen. {{PLURAL:$1|Ein Wert wurde|$1 Werte wurden}} auf Version $version konvertiert.","convertSubheader":"Konvertieren Sie Ihren Metadatenkatalog von einer älteren Version von DCAT-AP in Ihre bevorzugte Zielversion (siehe unten).","versionSelect":"Zielversion"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/de/esreConvert.nls"},{"lang":"sv","nls":{"convertHeader":"DCAT-konvertering","toBeConverted":"{{PLURAL:$1|Ett värde|$1 värden}} kommer att ändras vid konvertering","issueType":"Ändras","onSubject":"För subjekt","from":"Från värde","to":"Till värde","predicateFix":"Predikat","objectFix":"Objekt","convertButton":"Konvertera","nothingToConvert":"Det finns ingenting att konvertera","tableLabel":"Tabell med konverteringar som kommer att genomföras","conversionComplete":"Konverteringen slutförd. {{PLURAL: $1|Ett värde|$1 värden}} har konverterats till version $version.","convertSubheader":"Konvertera din metadatakatalog från en äldre DCAT-AP version till önskad målversion nedan.","versionSelect":"Målversion"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/sv/esreConvert.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/it/esreConvert.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/fr/esreConvert.nls"}];

/***/ },

/***/ "./modules/toolkit/nls/esreLoadDialog.nls"
/*!************************************************!*\
  !*** ./modules/toolkit/nls/esreLoadDialog.nls ***!
  \************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"loadTitle":"Load a source","loadButton":"Load","cancelButton":"Cancel","loadLinkError":"Request failed. Please check that the link is valid."},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/esreLoadDialog.nls"},{"lang":"de","nls":{"loadTitle":"Quelle laden","loadButton":"Laden","cancelButton":"Abbrechen","loadLinkError":"Anfrage fehlgeschlagen, bitte überprüfen Sie die Gültigkeit des Verweises."},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/de/esreLoadDialog.nls"},{"lang":"sv","nls":{"loadTitle":"Ladda en källa","loadButton":"Ladda","cancelButton":"Avbryt","loadLinkError":"Anropet misslyckades. Kontrollera att länken är giltig."},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/sv/esreLoadDialog.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/it/esreLoadDialog.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/fr/esreLoadDialog.nls"}];

/***/ },

/***/ "./modules/toolkit/nls/esreMerge.nls"
/*!*******************************************!*\
  !*** ./modules/toolkit/nls/esreMerge.nls ***!
  \*******************************************/
(module) {

module.exports = [{"lang":"root","nls":{"mergeHeader":"Merge multiple catalogs","mainCatalogHeader":"Main catalog","mergeCatalogListHeader":"Catalogs to merge into main catalog","addMergeCatalog":"Add","loadTitle":"Load a catalog","loadButton":"Load","removeCatalogLabel":"Remove catalog","mergeCatalogsButtonIntoMain":"Merge","noCatalogAddedToMerge":"No catalog added","catalogMerged":"Merge complete. The new catalog has been merged into the main catalog."},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/esreMerge.nls"},{"lang":"de","nls":{"mergeHeader":"Zusammenführen mehrerer Kataloge","mainCatalogHeader":"Hauptkatalog","mergeCatalogListHeader":"Kataloge, welche mit dem Hauptkatalog zusammengeführt werden","addMergeCatalog":"Hinzufügen","loadTitle":"Katalog laden","loadButton":"Laden","mergeCatalogsButtonIntoMain":"Zusammenführen","removeCatalogLabel":"Katalog entfernen","noCatalogAddedToMerge":"Kein Katalog hinzugefügt","catalogMerged":"Zusammenführung abgeschlossen. Der neue Katalog wurde in den Hauptkatalog eingegliedert."},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/de/esreMerge.nls"},{"lang":"sv","nls":{"mergeHeader":"Slå samman kataloger","mainCatalogHeader":"Huvudkatalog","mergeCatalogListHeader":"Kataloger att slå samman med huvudkatalogen","addMergeCatalog":"Lägg till","loadTitle":"Ladda en katalog","loadButton":"Ladda","mergeCatalogsButtonIntoMain":"Slå samman","removeCatalogLabel":"Ta bort katalog","noCatalogAddedToMerge":"Ingen katalog tillagd","catalogMerged":"Ihopslagningen är genomförd. Den nya katalogen har slagits ihop med huvudkatalogen."},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/sv/esreMerge.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/it/esreMerge.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/fr/esreMerge.nls"}];

/***/ },

/***/ "./modules/toolkit/nls/esreReport.nls"
/*!********************************************!*\
  !*** ./modules/toolkit/nls/esreReport.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"validationReport":"Validation report","instancesHeader":"{{PLURAL:${nr}|One instance|${nr} instances}} of class ${class}","severity":"Severity","path":"Property","problem":"Problem","error":"Error","errorTitle":"{{PLURAL:$1|1 error|$1 errors}}","warning":"Warning","warningTitle":"{{PLURAL:$1|1 warning|$1 warnings}}","deprecatedIconTitle":"deprecated","deprecated":"Deprecated value","deprecatedTitle":"{{PLURAL:$1|1 deprecated value|$1 deprecated values}}","report_min":"Mandatory value missing","report_pref":"Recommended value missing","report_many":"Too many values","report_value":"Wrong value","report_nodetype":"Wrong node type","report_datatype":"Wrong data type","report_constraints":"Missing constraints","report_pattern":"Value does not follow pattern","report_atmostonechild":"A single value is expected","report_atleastonechild":"At least one value is expected","report_exactlyonechild":"Exactly one value is expected","report_language":"A language code is required","reportHead":"has {{PLURAL:${errors}|one error|${errors} errors}} and {{PLURAL:${warnings}|one warning|${warnings} warnings}}","closeValidationDialog":"Close","viewValidation":"Validation report","untitledLabel":"Untitled $1","resourceURILabel":"Resource URI","reportIsValid":"is valid","validTitle":"Valid","tooManyInstancesWarning":"Only some instances are visible due to the large total number. Instances with errors and warnings are prioritized for display.","harvestSelectLabel":"Harvest","jobFailedValidation":"No validation report is available for this harvesting job since it failed. Reharvesting may help.","jobPendingValidation":"This harvesting job is still running, check the validation report when it's complete.","noDataValidationPlaceholder":"No harvested data to validate against, try harvesting first!","toggleButtonTable":"Issues","toggleTooltipTable":"View validation results in a concise list","toggleButtonForm":"Issues in context","toggleTooltipForm":"View validation results inline with all metadata","copyRuriTooltip":"Copy resource URI","toggleGroupAriaLabel":"Validation report view mode toggle","validSummaryPlaceholder":"This instance is valid!","validationDiff":"Validation results here may sometimes differ from the initial, which is based on the harvesting job's validation report.","viewReportTooltip":"View report data"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/esreReport.nls"},{"lang":"de","nls":{"validationReport":"Validierungsbericht","instancesHeader":"{{PLURAL:${nr}|Eine Instanz|${nr} Instanzen}} der Klasse ${class}","severity":"Schwere","path":"Eigenschaft","problem":"Problem","error":"Fehler","errorTitle":"{{PLURAL:$1|1 Fehler|$1 Fehler}}","warning":"Warnung","warningTitle":"{{PLURAL:$1|1 Warnung|$1 Warnungen}}","deprecated":"Überholter Wert","deprecatedTitle":"{{PLURAL:$1|Ein überholter Wert|$1 überholte Werte}}","report_many":"Zu viele Werte","reportHead":"hat {{PLURAL:${errors}|einen Fehler|${errors} Fehler}} und {{PLURAL:${warnings}|eine Warnung|${warnings} Warnungen}}","closeValidationDialog":"Schließen","viewValidation":"Validierungsbericht","report_min":"Verbindlicher Wert fehlt","report_pref":"Empfohlener Wert fehlt","report_value":"Falscher Wert","report_nodetype":"Falscher Node Type","report_datatype":"Falscher Datentyp","report_constraints":"Einschränkungen fehlen","report_pattern":"Wert folgt nicht dem Muster","report_language":"Ein Sprachcode ist erforderlich","deprecatedIconTitle":"veraltet","report_atmostonechild":"Ein einzelner Wert muss angegeben werden","report_atleastonechild":"Mindestens ein Wert muss angegeben werden","report_exactlyonechild":"Genau ein Wert ist erlaubt","untitledLabel":"$1 ohne Titel","resourceURILabel":"Ressourcen-URI","reportIsValid":"ist gültig","validTitle":"Gültig","tooManyInstancesWarning":"Aufgrund der großen Gesamtzahl sind nicht alle Instanzen sichtbar. Instanzen mit Fehlern und Warnungen werden bei der Anzeige priorisiert.","harvestSelectLabel":"Harvest","jobFailedValidation":"Für diesen Harvesting-Auftrag ist kein Validierungsbericht verfügbar, da er fehlgeschlagen ist. Ein erneutes Harvesting kann helfen.","jobPendingValidation":"Dieser Harvesting-Auftrag läuft noch, prüfen Sie den Validierungsbericht, wenn er abgeschlossen ist.","noDataValidationPlaceholder":"Es gibt keine geharvesteten Daten zu validieren, versuchen Sie zuerst zu Harvesten!","toggleButtonTable":"Probleme","toggleTooltipTable":"Validierungsresultate in einer übersichtlichen Liste anzeigen","toggleButtonForm":"Probleme im Kontext","toggleTooltipForm":"Validierungsresultate inline mit allen Metadaten anzeigen","copyRuriTooltip":"Ressource URI kopieren","toggleGroupAriaLabel":"Ansichtsmodus des Validierungsberichts umschalten","validSummaryPlaceholder":"Diese Instanz ist gültig!","validationDiff":"Die Validierungsergebnisse können hier manchmal von den ursprünglichen Ergebnissen abweichen, die auf dem Validierungsbericht des Harvestingjobs beruhen.","viewReportTooltip":"Berichtsdaten anzeigen"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/de/esreReport.nls"},{"lang":"sv","nls":{"validationReport":"Valideringsrapport för katalogen","instancesHeader":"{{PLURAL:${nr}|En instans|${nr} instanser}} av klassen ${class}","severity":"Hur allvarligt","path":"Egenskap i grafen","problem":"Problem","error":"Fel","errorTitle":"{{PLURAL:$1|1 fel|$1 fel}}","warning":"Varning","warningTitle":"{{PLURAL:$1|1 varning|$1 varningar}}","deprecated":"Föråldrat värde","deprecatedTitle":"{{PLURAL:$1|1 föråldrat värde|$1 föråldrade värden}}","report_many":"För många värden","reportHead":"har {{PLURAL:${errors}|ett fel|${errors} fel}} och {{PLURAL:${warnings}|en varning|${warnings} varningar}}","closeValidationDialog":"Stäng","viewValidation":"Valideringsrapport","report_min":"Obligatoriskt värde saknas","report_pref":"Rekommenderat värde saknas","report_value":"Fel värde","report_nodetype":"Fel nodtyp","report_datatype":"Fel datatyp","report_constraints":"Begränsningar saknas","report_pattern":"Värdet följer inte mönstret","report_language":"En språkkod krävs","deprecatedIconTitle":"utfasad","report_atmostonechild":"Endast ett värde tillåtet","report_atleastonechild":"Minst ett värde måste anges","report_exactlyonechild":"Exakt ett värde måste anges","untitledLabel":"$1 utan namn","resourceURILabel":"Resurs-URI","reportIsValid":"är giltigt","validTitle":"Giltigt","tooManyInstancesWarning":"Endast en delmängd är synlig på grund av det stora totala antalet. Förekomster med fel och varningar prioriteras för visning.","harvestSelectLabel":"Skörd","jobFailedValidation":"Valideringsrapporten är inte tillgänglig eftersom skördningen misslyckades. Omskördning kan hjälpa.","jobPendingValidation":"Harvesting-processen pågår fortfarande, kontrollera valideringsrapporten när den är slutfört.","noDataValidationPlaceholder":"Det finns inga data att validera, försök att skörda först!","toggleButtonTable":"Problem","toggleTooltipTable":"Visa valideringsresultat i en kortfattad lista","toggleButtonForm":"Problem i kontexten","toggleTooltipForm":"Visa valideringsresultat inline med alla metadata","copyRuriTooltip":"Kopiera resursens URI","toggleGroupAriaLabel":"Växla visningsläge för valideringsrapport","validSummaryPlaceholder":"Denna instans är giltig!","validationDiff":"Valideringsresultaten här kan ibland skilja sig från de ursprungliga, som baseras på skördningens valideringsrapport.","viewReportTooltip":"Visa rapportdata"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/sv/esreReport.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/it/esreReport.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/fr/esreReport.nls"}];

/***/ },

/***/ "./modules/toolkit/nls/esreSource.nls"
/*!********************************************!*\
  !*** ./modules/toolkit/nls/esreSource.nls ***!
  \********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"header":"Provide a source","header__dcat":"Provide a catalog","noRDF":"No source found. You will be forwarded to the view \"Source\" where you can load a source of your choice.","noRDF__dcat":"No catalog found. You will be forwarded to the view \"Catalog\" where you can load a catalog from a source of your choice.","noRDFProceed":"OK","validationMessage":"Found {{PLURAL:${errors}|one validation error|${errors} validation errors}} and {{PLURAL:${warnings}|one warning|${warnings} warnings}}","mandatoryMissing":"Instances missing for the following mandatory top-level classes: ","download":"Download","upload":"Load from link or file","example":"Load example","exploreHeader":"Explore datasets in catalog","exploreHeaderWithTitle":"Explore datasets in catalog \"$1\"","validationButtonLabel":"Validation results","tabsAriaLabel":"RDF editor tabs","invalidJSONError":"Invalid RDF/JSON","invalidTurtleError":"Invalid Turtle","invalidJSONLDError":"Invalid JSON-LD","truncatingRDF":"The RDF data is too large and is truncated.","readOnlyInfo":"Editing is disabled due to too large RDF data.","placeholder":"No resources found"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/esreSource.nls"},{"lang":"de","nls":{"header":"Stellen Sie einen Quelle bereit","noRDF":"Es wurde keine Quelle gefunden. Sie werden nun zur Ansicht \"Quelle\" weitergeleitet wo Sie von einer Quelle laden können.","noRDFProceed":"OK","validationMessage":"Es {{PLURAL:${errors}|wurde ein Fehler|wurden ${errors} Fehler}} und {{PLURAL:${warnings}|eine Warnung|${warnings} Warnungen}} gefunden","mandatoryMissing":"Für die folgenden verbindlichen Top-Level Klassen wurden keine Instanzen gefunden: ","download":"Download","upload":"Von Link oder Datei laden","example":"Beispiel laden","exploreHeader":"Datensätze im Katalog untersuchen","validationButtonLabel":"Validierungsresultat","tabsAriaLabel":"Reiter des RDF-Editors","invalidJSONError":"Ungültiges RDF/JSON","truncatingRDF":"Die RDF-Daten sind zu umfangreich und werden abgeschnitten.","readOnlyInfo":"Die Bearbeitung ist aufgrund zu umfangreicher RDF-Daten deaktiviert.","header__dcat":"Stellen Sie einen Katalog bereit","noRDF__dcat":"Es wurde kein Katalog gefunden. Sie werden nun zur Ansicht \"Katalog\" weitergeleitet wo Sie einen Katalog laden können.","placeholder":"Keine Ressourcen gefunden","exploreHeaderWithTitle":"Datensätze im Katalog \"$1\" durchsuchen"},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/de/esreSource.nls"},{"lang":"sv","nls":{"header":"Tillhandahåll en källa","noRDF":"Ingen källa hittades. Du blir nu omdirigerad till vyn \"källa\" där du kan tillhandahålla en källa.","noRDFProceed":"OK","validationMessage":"{{PLURAL:${errors}|Ett valideringsfel|${errors} valideringsfel}} och {{PLURAL:${warnings}|en varning|${warnings} varningar}} hittades","mandatoryMissing":"Instanser saknas för följande top-level obligatoriska klasser: ","download":"Ladda ner","upload":"Ladda från länk eller fil","example":"Ladda exempel","exploreHeader":"Utforska datamängder i katalogen","validationButtonLabel":"Valideringsresultat","tabsAriaLabel":"RDF-editor flikar","invalidJSONError":"Ogiltig RDF/JSON","truncatingRDF":"RDF-data är för omfattande och kortas av.","readOnlyInfo":"Redigering är inaktiverad på grund av för omfattande RDF-data","header__dcat":"Tillhandahåll en katalog","noRDF__dcat":"Ingen katalog hittades. Du blir nu omdirigerad till vyn \"Katalog\" där du kan tillhandahålla en katalog.","placeholder":"Inga resurser hittades","exploreHeaderWithTitle":"Utforska datamängder i katalogen \"$1\""},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/sv/esreSource.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/it/esreSource.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/toolkit/nls/fr/esreSource.nls"}];

/***/ },

/***/ "./modules/workbench/nls/eswoBench.nls"
/*!*********************************************!*\
  !*** ./modules/workbench/nls/eswoBench.nls ***!
  \*********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"listHeaderLabel":"Title","createButton":"Create","replaceLinkMenu":"Change link","privateTitle":"This entity is not public","privateDisabledTitle":"The surrounding project is not public, therefore you cannot make this entity public","publishToggleAriaLabel":"Public entity switch","publicTitle":"This entity is public","downloadButton":"Download","createDialogMissingLink":"You must provide a link for this entity","mainBadge":"main","unableToRemove":"This entity is linked to from $1 and needs to be disconnected before it can be removed.","replaceFileButtonLabel":"Replace file","relationsListPlaceholder":"Entities will appear here","addRelationTitle":"Add new entity","addOrCreateRelationTitle":"Add or create entity","maxEntitiesTooltip":"The maximum number of entities is $1","fileChangeSnackbar":"File replaced successfully","linkChangeSnackbar":"Link replaced successfully","searchOrCreateDialogTitle":"Search for or create a new entity","connectButtonLabel":"Link","connectedButtonLabel":"Linked","createButtonLabel":"Create","closeButtonLabel":"Close","createEntityTypeSuccess":"Entity created successfully","createEntityTypeFail":"Failed to create entity","createButtonTooltip":"Create new linked entity"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/eswoBench.nls"},{"lang":"de","nls":{"createButton":"Erstellen","replaceLinkMenu":"Link ändern","privateTitle":"Das Objekt ist nicht öffentlich","privateDisabledTitle":"Das umgebende Projekt ist nicht öffentlich, darum kann dieses Objekt nicht öffentlich gemacht werden","publicTitle":"Das Objekt ist öffentlich","downloadButton":"Herunterladen","createDialogMissingLink":"Sie müssen einen Link für dieses Objekt angeben","mainBadge":"primär","listHeaderLabel":"Titel","publishToggleAriaLabel":"Schalter zur Änderung des Veröffentlichungszustandes","unableToRemove":"Dieses Objekt ist von $1 ausgehend verknüpft und muss ersetzt werden bevor es entfernt werden kann.","replaceFileButtonLabel":"Datei ersetzen","relationsListPlaceholder":"Objekte werden hier angezeigt","addRelationTitle":"Neues Objekt hinzufügen","addOrCreateRelationTitle":"Objekt hinzufügen oder erstellen","maxEntitiesTooltip":"Die maximale Anzahl von Objekten beträgt $1","fileChangeSnackbar":"Datei erfolgreich ersetzt","linkChangeSnackbar":"Link erfolgreich ersetzt","searchOrCreateDialogTitle":"Suchen nach oder erstellen eines Objekts","connectButtonLabel":"Verlinken","connectedButtonLabel":"Verlinkt","createButtonLabel":"Erstellen","createButtonTooltip":"Verlinktes Objekt erstellen","closeButtonLabel":"Schließen","createEntityTypeSuccess":"Objekt erfolgreich erstellt","createEntityTypeFail":"Objekt konnte nicht erstellt werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/de/eswoBench.nls"},{"lang":"sv","nls":{"createButton":"Skapa","replaceLinkMenu":"Ändra länk","privateTitle":"Entiteten är inte publik","privateDisabledTitle":"Det omgivande projektet är inte publikt, därför kan entiteten inte göras publik","publicTitle":"Entiteten är publik","downloadButton":"Ladda ner","createDialogMissingLink":"Du måste ange en länk för denna entitet","mainBadge":"primär","listHeaderLabel":"Titel","publishToggleAriaLabel":"Knapp för ändring av publiceringsstatus","unableToRemove":"Denna entitet är länkad till från $1 och måste ersättas innan den kan tas bort.","replaceFileButtonLabel":"Ersätt fil","relationsListPlaceholder":"Entiteter visas här","addRelationTitle":"Lägg till entitet","addOrCreateRelationTitle":"Lägg till eller skapa entitet","maxEntitiesTooltip":"Det maximala antalet entiteter är $1","fileChangeSnackbar":"Filen har ersatts","linkChangeSnackbar":"Länken har ersatts","searchOrCreateDialogTitle":"Sök efter eller skapa en ny entitet","connectButtonLabel":"Länka","connectedButtonLabel":"Länkat","createButtonLabel":"Skapa","createButtonTooltip":"Skapa ny länkad entitet","closeButtonLabel":"Stäng","createEntityTypeSuccess":"Entiteten har skapats","createEntityTypeFail":"Entiteten kunde inte skapas"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/sv/eswoBench.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/it/eswoBench.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/fr/eswoBench.nls"}];

/***/ },

/***/ "./modules/workbench/nls/eswoConfigureEntityTypes.nls"
/*!************************************************************!*\
  !*** ./modules/workbench/nls/eswoConfigureEntityTypes.nls ***!
  \************************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"entityTypesTitle":"Manage entity types","entityTypesHeader":"Choose entity types for this project","entityTypesFromProjectTypeHeader":"Entity types for this project","entityTypesFooter":"Save","entry":"{{PLURAL:$1|entity|entities}}","errorMessage":"The project must be configured with at least one entity type.","projectTypeChangeWarning":"Please note that some of the previously selected entity types will no longer be visible when changing project type.","entityTypeConfigureFail":"Failed to save change","projectTypeTooltip":"Entity types cannot be changed when using project types"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/eswoConfigureEntityTypes.nls"},{"lang":"de","nls":{"entityTypesHeader":"Wählen Sie Objekttypen für dieses Projekt","entityTypesFooter":"Speichern","errorMessage":"Das Projekt muss mit mindestens einem Objekttyp konfiguriert sein.","entityTypesTitle":"Objekttypen verwalten","entityTypesFromProjectTypeHeader":"Objekttypen für dieses Projekt","projectTypeChangeWarning":"Bitte beachten Sie, dass einige der zuvor ausgewählten Objekttypen nicht mehr sichtbar sind, wenn Sie den Projekttyp ändern.","projectTypeTooltip":"Objekttypen können nicht geändert werden wenn Projekttypen verwendet werden","entry":"{{PLURAL:$1|Objekt|Objekte}}","entityTypeConfigureFail":"Die Änderung konnte nicht gespeichert werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/de/eswoConfigureEntityTypes.nls"},{"lang":"sv","nls":{"entityTypesHeader":"Välj entitetstyper för detta projekt","entityTypesFooter":"Spara","errorMessage":"Projektet måste konfigureras med minst en entitetstyp.","entityTypesTitle":"Hantera entitetstyper","entityTypesFromProjectTypeHeader":"Entitetstyper för detta projekt","projectTypeChangeWarning":"Observera att vissa av de tidigare valda enhetstyperna inte längre kommer att vara synliga när du byter projekttyp.","projectTypeTooltip":"Entitetstyper kan inte ändras när projekttyper används","entry":"{{PLURAL:$1|entitet|entiteter}}","entityTypeConfigureFail":"Ändringen kunde inte sparas"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/sv/eswoConfigureEntityTypes.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/it/eswoConfigureEntityTypes.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/fr/eswoConfigureEntityTypes.nls"}];

/***/ },

/***/ "./modules/workbench/nls/eswoOverview.nls"
/*!************************************************!*\
  !*** ./modules/workbench/nls/eswoOverview.nls ***!
  \************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"lastUpdatedLabel":"Updated","createdLabel":"Created","configuredEntitiesLabel":"Entity types","entitiesCountLabel":"Entities"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/eswoOverview.nls"},{"lang":"de","nls":{"lastUpdatedLabel":"Modifiziert","createdLabel":"Erstellt","configuredEntitiesLabel":"Konfigurierte Objekttypen","entitiesCountLabel":"Objekte"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/de/eswoOverview.nls"},{"lang":"sv","nls":{"lastUpdatedLabel":"Uppdaterad","createdLabel":"Skapad","configuredEntitiesLabel":"Entitetstyper","entitiesCountLabel":"Entiteter"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/sv/eswoOverview.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/it/eswoOverview.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/fr/eswoOverview.nls"}];

/***/ },

/***/ "./modules/workbench/nls/eswoReplaceDialog.nls"
/*!*****************************************************!*\
  !*** ./modules/workbench/nls/eswoReplaceDialog.nls ***!
  \*****************************************************/
(module) {

module.exports = [{"lang":"root","nls":{"replaceFileHeader":"Replace file","replaceLinkHeader":"Change link","replaceFileFooterButton":"Replace file","replaceLinkFooterButton":"Change link","invalidNewLink":"Link is invalid","newLinkRequired":"Field can't be empty","saveFail":"Failed to save change","sameOldLink":"Same as current link"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/eswoReplaceDialog.nls"},{"lang":"de","nls":{"replaceFileHeader":"Datei ersetzen","replaceLinkHeader":"Link ändern","replaceFileFooterButton":"Datei ersetzen","replaceLinkFooterButton":"Link ändern","invalidNewLink":"Link ist ungültig","newLinkRequired":"Feld darf nicht leer sein","sameOldLink":"Gleich wie aktueller Link","saveFail":"Die Änderung konnte nicht gespeichert werden"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/de/eswoReplaceDialog.nls"},{"lang":"sv","nls":{"replaceFileHeader":"Ersätt fil","replaceLinkHeader":"Ändra länk","replaceFileFooterButton":"Ersätt fil","replaceLinkFooterButton":"Ändra länk","invalidNewLink":"Länken är ogiltig","newLinkRequired":"Fältet får inte vara tomt","sameOldLink":"Samma som nuvarande länk","saveFail":"Ändringen kunde inte sparas"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/sv/eswoReplaceDialog.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/it/eswoReplaceDialog.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/fr/eswoReplaceDialog.nls"}];

/***/ },

/***/ "./modules/workbench/nls/eswoSpaces.nls"
/*!**********************************************!*\
  !*** ./modules/workbench/nls/eswoSpaces.nls ***!
  \**********************************************/
(module) {

module.exports = [{"lang":"root","nls":{"actionTooltip":"Create project","projectActionTooltip":"Create $1 project","listHeader":"My projects","listHeaderLabel":"Project","createButtonLabel":"Create","createPopoverTitle":"Create project","createPopoverMessage":"Each project contains a set of entities that are administered together.","publicWorkspaceTitle":"The project is public, click to change","privateWorkspaceTitle":"The project is not public, click to change","workspaceSharingNoAccess":"You cannot change the sharing settings of this project as you are not its owner.","confirmRemoveWorkspace":"Remove this project including all its contained entities?","workspaceSharingProblem":"The sharing configuration of this project is advanced and needs to be managed using EntryScape Admin.","workspaceMemberTitle":"Sharing settings","workspaceConfigure":"Configure entity types","workspaceConfigureTitle":"Configure entity types","createEntityHeader":"Create project","createProjectEntityHeader":"Create $1 project","createEntityTitle":"Project name","createEntityTitlePlaceholder":"Enter a name for the project","createEntityDesc":"Project description","createEntityDescPlaceholder":"Enter a description for the project","createEntityName":"Project URL","createEntityNote":"The project's name and description can be changed later.","createEntityButton":"Create project","insufficientInfoToCreateWorkspace":"You need to provide values for all fields to create a project.","emptyListWarning":"Projects will appear here","singleProjectPlaceholder":"Project to be created","namePlaceholder":"Enter a name for the project","descriptionPlaceholder":"Enter a description for the project","unavailableURLFeedback":"This URL is not available","helperTextURL":"The URL may contain only letters, digits and any of the following characters: ._-","editProjectNameTitle":"Edit project URL","editProjectNameButton":"Save","changeProjectTypeLabel":"Change project type","migrateURIsBody":"All existing entity URIs in this project will be rewritten to follow the new URL pattern. This cannot be undone.","migrateURIsOnProjectTypeBody":"This project type applies a URL pattern. All existing entity URIs in this project will be rewritten to follow it. This cannot be undone. Do you want to continue?","taskUpdateProjectURL":"Update project URL","taskUpdateProjectLinks":"${updatedEntriesCount} of ${totalEntries} entities in project updated","taskUpdateProjectNoEntriesToUpdate":"No entities in the project to update","replaceEntityURLCurrentLinkLabel":"Current link","replaceEntityURLNewLinkLabel":"New link","nameRequired":"Project name is required","URLRequired":"Path is required","newURLRequired":"New URL is required","progressListNavAriaLabel":"List of tasks' progress","currentFileLabel":"Current file","fileNameNotFound":"Current file name not available","createProjectSuccess":"Project created successfully","createProjectFail":"Failed to create project","updateTask":"Update URL"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/eswoSpaces.nls"},{"lang":"de","nls":{"listHeader":"Meine Projekte","createButtonLabel":"Erstellen","createPopoverTitle":"Projekt erstellen","createPopoverMessage":"Jedes Projekt enthält eine Reihe von Objekten welche zusammen verwaltet werden.","publicWorkspaceTitle":"Das Projekt ist öffentlich, hier klicken um die Zugriffsrechte zu ändern","privateWorkspaceTitle":"Das Projekt ist nicht öffentlich, hier klicken um Zugriffsrechte zu ändern","workspaceSharingNoAccess":"Sie können die Teilungseinstellungen dieses Projektes nicht ändern da Sie nicht dessen Eigentümer sind.","confirmRemoveWorkspace":"Soll dieses Projekt inklusive aller seiner Objekte entfernt werden?","workspaceSharingProblem":"Die Komplexität der Teilungseinstellungen dieses Projektes erfordern dass diese in EntryScape Admin geändert werden.","workspaceMemberTitle":"Teilungseinstellungen","insufficientInfoToCreateWorkspace":"Sie müssen Werte für alle Felder angeben um ein Projekt zu erstellen.","workspaceConfigure":"Objekttypen konfigurieren","workspaceConfigureTitle":"Objekttypen konfigurieren","emptyListWarning":"Hier werden Projekte angezeigt","createEntityHeader":"Projekt erstellen","createEntityTitle":"Projektname","createEntityTitlePlaceholder":"Geben Sie einen Namen für das Projekt ein","createEntityDesc":"Projektbeschreibung","createEntityDescPlaceholder":"Geben Sie eine Beschreibung für das Projekt ein","createEntityName":"Webadresse des Projektes","createEntityNote":"Der Name und die Beschreibung des Projekts können später geändert werden.","createEntityButton":"Projekt erstellen","namePlaceholder":"Geben Sie einen Namen für das Projekt ein","descriptionPlaceholder":"Geben Sie eine Beschreibung für das Projekt ein","unavailableURLFeedback":"Diese Webadresse ist nicht verfügbar","helperTextURL":"Die URL darf nur Buchstaben, Ziffern und die folgenden Zeichen enthalten: ._-","editProjectNameTitle":"Webadresse des Projektes bearbeiten","editProjectNameButton":"Speichern","taskUpdateProjectURL":"Webadresses des Projektes aktualisieren","taskUpdateProjectLinks":"${updatedEntriesCount} von ${totalEntries} Objekten im Projekt aktualisiert","taskUpdateProjectNoEntriesToUpdate":"Es gibt keine zu aktualisierenden Objekte im Projekt","replaceEntityURLCurrentLinkLabel":"Aktueller Link","replaceEntityURLNewLinkLabel":"Neuer Link","actionTooltip":"Projekt erstellen","listHeaderLabel":"Projekt","nameRequired":"Projektname ist erforderlich","URLRequired":"Pfad ist erforderlich","newURLRequired":"Neue URL ist erforderlich","progressListNavAriaLabel":"Liste der Aufgabenfortschritte","updateTask":"URL aktualisieren","currentFileLabel":"Aktuelle Datei","fileNameNotFound":"Dateiname ist nicht verfügbar","createProjectSuccess":"Projekt erfolgreich erstellt","createProjectFail":"Projekt konnte nicht erstellt werden","singleProjectPlaceholder":"Zu erstellendes Projekt","projectActionTooltip":"$1 Projekt erstellen","createProjectEntityHeader":"$1 Projekt erstellen"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/de/eswoSpaces.nls"},{"lang":"sv","nls":{"listHeader":"Mina projekt","createButtonLabel":"Skapa","createPopoverTitle":"Skapa projekt","createPopoverMessage":"Varje projekt innehåller en mängd entiteter som förvaltas gemensamt.","publicWorkspaceTitle":"Projektet är publikt, klicka för att ändra","privateWorkspaceTitle":"Projektet är inte publikt, klicka för att ändra","workspaceSharingNoAccess":"Du kan inte ändra delningsinställningarna av detta projekt då du inte är dess ägare.","confirmRemoveWorkspace":"Ta bort projektet med alla dess entiteter?","workspaceSharingProblem":"Delningsinställningarna av detta projekt är avancerade och behöver hanteras i EntryScape Admin.","workspaceMemberTitle":"Delningsinställningar","insufficientInfoToCreateWorkspace":"Alla fält måste vara ifyllda innan projektet kan skapas.","workspaceConfigure":"Konfigurera entitetstyper","workspaceConfigureTitle":"Konfigurera entitetstyper","emptyListWarning":"Projekt kommer att visas här","createEntityHeader":"Skapa projekt","createEntityTitle":"Projektnamn","createEntityTitlePlaceholder":"Ange ett namn för projektet","createEntityDesc":"Projektbeskrivning","createEntityDescPlaceholder":"Ange en beskrivning för projektet","createEntityName":"Projektets URL","createEntityNote":"Projektets namn och beskrivning kan ändras senare.","createEntityButton":"Skapa projekt","namePlaceholder":"Ange ett namn för projektet","descriptionPlaceholder":"Ange en beskrivning för projektet","unavailableURLFeedback":"Denna webbadress är inte tillgänglig","helperTextURL":"Webadressen får endast innehålla bokstäver, siffror och följande tecken: ._-","editProjectNameTitle":"Redigera projektets URL","editProjectNameButton":"Spara","taskUpdateProjectURL":"Uppdaterad projektets URL","taskUpdateProjectLinks":"${updatedEntriesCount} av ${totalEntries} entiteter uppdaterades i projektet","taskUpdateProjectNoEntriesToUpdate":"Det finns inga entiteter i projektet som behöver uppdateras","replaceEntityURLCurrentLinkLabel":"Aktuell länk","replaceEntityURLNewLinkLabel":"Ny länk","actionTooltip":"Skapa projekt","listHeaderLabel":"Projekt","nameRequired":"Projektnamn krävs","URLRequired":"Sökvägen är obligatorisk","newURLRequired":"Ny URL krävs","progressListNavAriaLabel":"Lista över framsteg","updateTask":"Uppdatera URL","currentFileLabel":"Nuvarande fil","fileNameNotFound":"Filnamnet är inte tillgängligt","createProjectSuccess":"Projektet har skapats","createProjectFail":"Projektet kunde inte skapas","singleProjectPlaceholder":"Projekt som ska skapas","projectActionTooltip":"Skapa $1-projekt","createProjectEntityHeader":"Skapa $1-projekt"},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/sv/eswoSpaces.nls"},{"lang":"it","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/it/eswoSpaces.nls"},{"lang":"fr","nls":{},"path":"/opt/atlassian/pipelines/agent/build/modules/workbench/nls/fr/eswoSpaces.nls"}];

/***/ },

/***/ "./node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js ***!
  \************************************************************************************/
(module) {

"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/


/* eslint-disable no-unused-vars */
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
var hasOwnProperty = Object.prototype.hasOwnProperty;
var propIsEnumerable = Object.prototype.propertyIsEnumerable;

function toObject(val) {
	if (val === null || val === undefined) {
		throw new TypeError('Object.assign cannot be called with null or undefined');
	}

	return Object(val);
}

function shouldUseNative() {
	try {
		if (!Object.assign) {
			return false;
		}

		// Detect buggy property enumeration order in older V8 versions.

		// https://bugs.chromium.org/p/v8/issues/detail?id=4118
		var test1 = new String('abc');  // eslint-disable-line no-new-wrappers
		test1[5] = 'de';
		if (Object.getOwnPropertyNames(test1)[0] === '5') {
			return false;
		}

		// https://bugs.chromium.org/p/v8/issues/detail?id=3056
		var test2 = {};
		for (var i = 0; i < 10; i++) {
			test2['_' + String.fromCharCode(i)] = i;
		}
		var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
			return test2[n];
		});
		if (order2.join('') !== '0123456789') {
			return false;
		}

		// https://bugs.chromium.org/p/v8/issues/detail?id=3056
		var test3 = {};
		'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
			test3[letter] = letter;
		});
		if (Object.keys(Object.assign({}, test3)).join('') !==
				'abcdefghijklmnopqrst') {
			return false;
		}

		return true;
	} catch (err) {
		// We don't expect any of the above to throw, but better to be safe.
		return false;
	}
}

module.exports = shouldUseNative() ? Object.assign : function (target, source) {
	var from;
	var to = toObject(target);
	var symbols;

	for (var s = 1; s < arguments.length; s++) {
		from = Object(arguments[s]);

		for (var key in from) {
			if (hasOwnProperty.call(from, key)) {
				to[key] = from[key];
			}
		}

		if (getOwnPropertySymbols) {
			symbols = getOwnPropertySymbols(from);
			for (var i = 0; i < symbols.length; i++) {
				if (propIsEnumerable.call(from, symbols[i])) {
					to[symbols[i]] = from[symbols[i]];
				}
			}
		}
	}

	return to;
};


/***/ },

/***/ "./node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

var hasMap = typeof Map === 'function' && Map.prototype;
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
var mapForEach = hasMap && Map.prototype.forEach;
var hasSet = typeof Set === 'function' && Set.prototype;
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
var setForEach = hasSet && Set.prototype.forEach;
var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
var booleanValueOf = Boolean.prototype.valueOf;
var objectToString = Object.prototype.toString;
var functionToString = Function.prototype.toString;
var $match = String.prototype.match;
var $slice = String.prototype.slice;
var $replace = String.prototype.replace;
var $toUpperCase = String.prototype.toUpperCase;
var $toLowerCase = String.prototype.toLowerCase;
var $test = RegExp.prototype.test;
var $concat = Array.prototype.concat;
var $join = Array.prototype.join;
var $arrSlice = Array.prototype.slice;
var $floor = Math.floor;
var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
var gOPS = Object.getOwnPropertySymbols;
var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
// ie, `has-tostringtag/shams
var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
    ? Symbol.toStringTag
    : null;
var isEnumerable = Object.prototype.propertyIsEnumerable;

var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
    [].__proto__ === Array.prototype // eslint-disable-line no-proto
        ? function (O) {
            return O.__proto__; // eslint-disable-line no-proto
        }
        : null
);

function addNumericSeparator(num, str) {
    if (
        num === Infinity
        || num === -Infinity
        || num !== num
        || (num && num > -1000 && num < 1000)
        || $test.call(/e/, str)
    ) {
        return str;
    }
    var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
    if (typeof num === 'number') {
        var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
        if (int !== num) {
            var intStr = String(int);
            var dec = $slice.call(str, intStr.length + 1);
            return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
        }
    }
    return $replace.call(str, sepRegex, '$&_');
}

var utilInspect = __webpack_require__(/*! ./util.inspect */ "?6b64");
var inspectCustom = utilInspect.custom;
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;

var quotes = {
    __proto__: null,
    'double': '"',
    single: "'"
};
var quoteREs = {
    __proto__: null,
    'double': /(["\\])/g,
    single: /(['\\])/g
};

module.exports = function inspect_(obj, options, depth, seen) {
    var opts = options || {};

    if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {
        throw new TypeError('option "quoteStyle" must be "single" or "double"');
    }
    if (
        has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
            ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
            : opts.maxStringLength !== null
        )
    ) {
        throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
    }
    var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
    if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
        throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
    }

    if (
        has(opts, 'indent')
        && opts.indent !== null
        && opts.indent !== '\t'
        && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
    ) {
        throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
    }
    if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
        throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
    }
    var numericSeparator = opts.numericSeparator;

    if (typeof obj === 'undefined') {
        return 'undefined';
    }
    if (obj === null) {
        return 'null';
    }
    if (typeof obj === 'boolean') {
        return obj ? 'true' : 'false';
    }

    if (typeof obj === 'string') {
        return inspectString(obj, opts);
    }
    if (typeof obj === 'number') {
        if (obj === 0) {
            return Infinity / obj > 0 ? '0' : '-0';
        }
        var str = String(obj);
        return numericSeparator ? addNumericSeparator(obj, str) : str;
    }
    if (typeof obj === 'bigint') {
        var bigIntStr = String(obj) + 'n';
        return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
    }

    var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
    if (typeof depth === 'undefined') { depth = 0; }
    if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
        return isArray(obj) ? '[Array]' : '[Object]';
    }

    var indent = getIndent(opts, depth);

    if (typeof seen === 'undefined') {
        seen = [];
    } else if (indexOf(seen, obj) >= 0) {
        return '[Circular]';
    }

    function inspect(value, from, noIndent) {
        if (from) {
            seen = $arrSlice.call(seen);
            seen.push(from);
        }
        if (noIndent) {
            var newOpts = {
                depth: opts.depth
            };
            if (has(opts, 'quoteStyle')) {
                newOpts.quoteStyle = opts.quoteStyle;
            }
            return inspect_(value, newOpts, depth + 1, seen);
        }
        return inspect_(value, opts, depth + 1, seen);
    }

    if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable
        var name = nameOf(obj);
        var keys = arrObjKeys(obj, inspect);
        return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
    }
    if (isSymbol(obj)) {
        var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
        return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
    }
    if (isElement(obj)) {
        var s = '<' + $toLowerCase.call(String(obj.nodeName));
        var attrs = obj.attributes || [];
        for (var i = 0; i < attrs.length; i++) {
            s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
        }
        s += '>';
        if (obj.childNodes && obj.childNodes.length) { s += '...'; }
        s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
        return s;
    }
    if (isArray(obj)) {
        if (obj.length === 0) { return '[]'; }
        var xs = arrObjKeys(obj, inspect);
        if (indent && !singleLineValues(xs)) {
            return '[' + indentedJoin(xs, indent) + ']';
        }
        return '[ ' + $join.call(xs, ', ') + ' ]';
    }
    if (isError(obj)) {
        var parts = arrObjKeys(obj, inspect);
        if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {
            return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
        }
        if (parts.length === 0) { return '[' + String(obj) + ']'; }
        return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
    }
    if (typeof obj === 'object' && customInspect) {
        if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {
            return utilInspect(obj, { depth: maxDepth - depth });
        } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
            return obj.inspect();
        }
    }
    if (isMap(obj)) {
        var mapParts = [];
        if (mapForEach) {
            mapForEach.call(obj, function (value, key) {
                mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
            });
        }
        return collectionOf('Map', mapSize.call(obj), mapParts, indent);
    }
    if (isSet(obj)) {
        var setParts = [];
        if (setForEach) {
            setForEach.call(obj, function (value) {
                setParts.push(inspect(value, obj));
            });
        }
        return collectionOf('Set', setSize.call(obj), setParts, indent);
    }
    if (isWeakMap(obj)) {
        return weakCollectionOf('WeakMap');
    }
    if (isWeakSet(obj)) {
        return weakCollectionOf('WeakSet');
    }
    if (isWeakRef(obj)) {
        return weakCollectionOf('WeakRef');
    }
    if (isNumber(obj)) {
        return markBoxed(inspect(Number(obj)));
    }
    if (isBigInt(obj)) {
        return markBoxed(inspect(bigIntValueOf.call(obj)));
    }
    if (isBoolean(obj)) {
        return markBoxed(booleanValueOf.call(obj));
    }
    if (isString(obj)) {
        return markBoxed(inspect(String(obj)));
    }
    // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other
    /* eslint-env browser */
    if (typeof window !== 'undefined' && obj === window) {
        return '{ [object Window] }';
    }
    if (
        (typeof globalThis !== 'undefined' && obj === globalThis)
        || (typeof __webpack_require__.g !== 'undefined' && obj === __webpack_require__.g)
    ) {
        return '{ [object globalThis] }';
    }
    if (!isDate(obj) && !isRegExp(obj)) {
        var ys = arrObjKeys(obj, inspect);
        var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
        var protoTag = obj instanceof Object ? '' : 'null prototype';
        var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
        var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
        var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
        if (ys.length === 0) { return tag + '{}'; }
        if (indent) {
            return tag + '{' + indentedJoin(ys, indent) + '}';
        }
        return tag + '{ ' + $join.call(ys, ', ') + ' }';
    }
    return String(obj);
};

function wrapQuotes(s, defaultStyle, opts) {
    var style = opts.quoteStyle || defaultStyle;
    var quoteChar = quotes[style];
    return quoteChar + s + quoteChar;
}

function quote(s) {
    return $replace.call(String(s), /"/g, '&quot;');
}

function canTrustToString(obj) {
    return !toStringTag || !(typeof obj === 'object' && (toStringTag in obj || typeof obj[toStringTag] !== 'undefined'));
}
function isArray(obj) { return toStr(obj) === '[object Array]' && canTrustToString(obj); }
function isDate(obj) { return toStr(obj) === '[object Date]' && canTrustToString(obj); }
function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && canTrustToString(obj); }
function isError(obj) { return toStr(obj) === '[object Error]' && canTrustToString(obj); }
function isString(obj) { return toStr(obj) === '[object String]' && canTrustToString(obj); }
function isNumber(obj) { return toStr(obj) === '[object Number]' && canTrustToString(obj); }
function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && canTrustToString(obj); }

// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
function isSymbol(obj) {
    if (hasShammedSymbols) {
        return obj && typeof obj === 'object' && obj instanceof Symbol;
    }
    if (typeof obj === 'symbol') {
        return true;
    }
    if (!obj || typeof obj !== 'object' || !symToString) {
        return false;
    }
    try {
        symToString.call(obj);
        return true;
    } catch (e) {}
    return false;
}

function isBigInt(obj) {
    if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
        return false;
    }
    try {
        bigIntValueOf.call(obj);
        return true;
    } catch (e) {}
    return false;
}

var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
function has(obj, key) {
    return hasOwn.call(obj, key);
}

function toStr(obj) {
    return objectToString.call(obj);
}

function nameOf(f) {
    if (f.name) { return f.name; }
    var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
    if (m) { return m[1]; }
    return null;
}

function indexOf(xs, x) {
    if (xs.indexOf) { return xs.indexOf(x); }
    for (var i = 0, l = xs.length; i < l; i++) {
        if (xs[i] === x) { return i; }
    }
    return -1;
}

function isMap(x) {
    if (!mapSize || !x || typeof x !== 'object') {
        return false;
    }
    try {
        mapSize.call(x);
        try {
            setSize.call(x);
        } catch (s) {
            return true;
        }
        return x instanceof Map; // core-js workaround, pre-v2.5.0
    } catch (e) {}
    return false;
}

function isWeakMap(x) {
    if (!weakMapHas || !x || typeof x !== 'object') {
        return false;
    }
    try {
        weakMapHas.call(x, weakMapHas);
        try {
            weakSetHas.call(x, weakSetHas);
        } catch (s) {
            return true;
        }
        return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
    } catch (e) {}
    return false;
}

function isWeakRef(x) {
    if (!weakRefDeref || !x || typeof x !== 'object') {
        return false;
    }
    try {
        weakRefDeref.call(x);
        return true;
    } catch (e) {}
    return false;
}

function isSet(x) {
    if (!setSize || !x || typeof x !== 'object') {
        return false;
    }
    try {
        setSize.call(x);
        try {
            mapSize.call(x);
        } catch (m) {
            return true;
        }
        return x instanceof Set; // core-js workaround, pre-v2.5.0
    } catch (e) {}
    return false;
}

function isWeakSet(x) {
    if (!weakSetHas || !x || typeof x !== 'object') {
        return false;
    }
    try {
        weakSetHas.call(x, weakSetHas);
        try {
            weakMapHas.call(x, weakMapHas);
        } catch (s) {
            return true;
        }
        return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
    } catch (e) {}
    return false;
}

function isElement(x) {
    if (!x || typeof x !== 'object') { return false; }
    if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
        return true;
    }
    return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
}

function inspectString(str, opts) {
    if (str.length > opts.maxStringLength) {
        var remaining = str.length - opts.maxStringLength;
        var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
        return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
    }
    var quoteRE = quoteREs[opts.quoteStyle || 'single'];
    quoteRE.lastIndex = 0;
    // eslint-disable-next-line no-control-regex
    var s = $replace.call($replace.call(str, quoteRE, '\\$1'), /[\x00-\x1f]/g, lowbyte);
    return wrapQuotes(s, 'single', opts);
}

function lowbyte(c) {
    var n = c.charCodeAt(0);
    var x = {
        8: 'b',
        9: 't',
        10: 'n',
        12: 'f',
        13: 'r'
    }[n];
    if (x) { return '\\' + x; }
    return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
}

function markBoxed(str) {
    return 'Object(' + str + ')';
}

function weakCollectionOf(type) {
    return type + ' { ? }';
}

function collectionOf(type, size, entries, indent) {
    var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
    return type + ' (' + size + ') {' + joinedEntries + '}';
}

function singleLineValues(xs) {
    for (var i = 0; i < xs.length; i++) {
        if (indexOf(xs[i], '\n') >= 0) {
            return false;
        }
    }
    return true;
}

function getIndent(opts, depth) {
    var baseIndent;
    if (opts.indent === '\t') {
        baseIndent = '\t';
    } else if (typeof opts.indent === 'number' && opts.indent > 0) {
        baseIndent = $join.call(Array(opts.indent + 1), ' ');
    } else {
        return null;
    }
    return {
        base: baseIndent,
        prev: $join.call(Array(depth + 1), baseIndent)
    };
}

function indentedJoin(xs, indent) {
    if (xs.length === 0) { return ''; }
    var lineJoiner = '\n' + indent.prev + indent.base;
    return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
}

function arrObjKeys(obj, inspect) {
    var isArr = isArray(obj);
    var xs = [];
    if (isArr) {
        xs.length = obj.length;
        for (var i = 0; i < obj.length; i++) {
            xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
        }
    }
    var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
    var symMap;
    if (hasShammedSymbols) {
        symMap = {};
        for (var k = 0; k < syms.length; k++) {
            symMap['$' + syms[k]] = syms[k];
        }
    }

    for (var key in obj) { // eslint-disable-line no-restricted-syntax
        if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
        if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
        if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
            // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
            continue; // eslint-disable-line no-restricted-syntax, no-continue
        } else if ($test.call(/[^\w$]/, key)) {
            xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
        } else {
            xs.push(key + ': ' + inspect(obj[key], obj));
        }
    }
    if (typeof gOPS === 'function') {
        for (var j = 0; j < syms.length; j++) {
            if (isEnumerable.call(obj, syms[j])) {
                xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
            }
        }
    }
    return xs;
}


/***/ },

/***/ "./node_modules/.pnpm/papaparse@5.5.4/node_modules/papaparse/papaparse.min.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/papaparse@5.5.4/node_modules/papaparse/papaparse.min.js ***!
  \************************************************************************************/
(module, exports) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* @license
Papa Parse
v5.5.4
https://github.com/mholt/PapaParse
License: MIT
*/
((e,t)=>{ true?!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (t),
		__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
		(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)):0})(this,function r(){var n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{};var d,s=!n.document&&!!n.postMessage,a=n.IS_PAPA_WORKER||!1,o={},h=0,v={};function P(e){return 65279===e.charCodeAt(0)?e.slice(1):e}function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=new i(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(t,e){var i=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<i){let e=this._config.newline;e||(r=this._config.quoteChar||'"',e=this._handle.guessLineEndings(t,r)),t=[...t.split(e).slice(i)].join(e)}this.isFirstChunk&&q(this._config.beforeFirstChunk)&&void 0!==(r=this._config.beforeFirstChunk(t))&&(t=r),this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+t,r=(this._partialLine="",this._handle.parse(i,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){t=r.meta.cursor,i=(this._finished||(this._partialLine=i.substring(t-this._baseIndex),this._baseIndex=t),r&&r.data&&(this._rowCount+=r.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview);if(a)n.postMessage({results:r,workerId:v.WORKER_ID,finished:i});else if(q(this._config.chunk)&&!e){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!i||!q(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),i||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){q(this._config.error)?this._config.error(e):a&&this._config.error&&n.postMessage({workerId:v.WORKER_ID,error:e,finished:!1})}}function f(e){var r;(e=e||{}).chunkSize||(e.chunkSize=v.RemoteChunkSize),u.call(this,e),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),s||(r.onload=y(this._chunkLoaded,this),r.onerror=y(this._chunkError,this)),r.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var e,t=this._config.downloadRequestHeaders;for(e in t)r.setRequestHeader(e,t[e])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,r.setRequestHeader("Range","bytes="+this._start+"-"+i));try{r.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}s&&0===r.status&&this._chunkError()}},this._chunkLoaded=function(){4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._start+=this._config.chunkSize||r.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>null!==(e=e.getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1)(r),this.parseChunk(r.responseText)))},this._chunkError=function(e){e=r.statusText||e;this._sendError(new Error(e))}}function l(e){(e=e||{}).chunkSize||(e.chunkSize=v.LocalChunkSize),u.call(this,e);var i,r,n="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,n?((i=new FileReader).onload=y(this._chunkLoaded,this),i.onerror=y(this._chunkError,this)):i=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,t=(this._config.chunkSize&&(t=Math.min(this._start+this._config.chunkSize,this._input.size),e=r.call(e,this._start,t)),i.readAsText(e,this._config.encoding));n||this._chunkLoaded({target:{result:t}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(i.error)}}function c(e){var i;u.call(this,e=e||{}),this.stream=function(e){return i=e,this._nextChunk()},this._nextChunk=function(){var e,t;if(!this._finished)return e=this._config.chunkSize,i=e?(t=i.substring(0,e),i.substring(e)):(t=i,""),this._finished=!i,this.parseChunk(t)}}function p(e){u.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0},this._streamData=y(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=y(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=y(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=y(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function i(m){var n,s,a,t,o=Math.pow(2,53),h=-o,u=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,d=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,i=this,r=0,f=0,l=!1,e=!1,c=[],p={data:[],errors:[],meta:{}};function y(e){return"greedy"===m.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function g(){if(p&&a&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+v.DefaultDelimiter+"'"),a=!1),m.skipEmptyLines&&(p.data=p.data.filter(function(e){return!y(e)})),_()){if(p)if(Array.isArray(p.data[0])){for(var e=0;_()&&e<p.data.length;e++)p.data[e].forEach(t);p.data.splice(0,1)}else p.data.forEach(t);function t(e,t){e=P(e),q(m.transformHeader)&&(e=m.transformHeader(e,t)),c.push(e)}}function i(e,t){for(var i=m.header?{}:[],r=0;r<e.length;r++){var n=r,s=e[r],s=((e,t)=>(e=>(m.dynamicTypingFunction&&void 0===m.dynamicTyping[e]&&(m.dynamicTyping[e]=m.dynamicTypingFunction(e)),!0===(m.dynamicTyping[e]||m.dynamicTyping)))(e)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&((e=>{if(u.test(e)){e=parseFloat(e);if(h<e&&e<o)return 1}})(t)?parseFloat(t):d.test(t)?new Date(t):""===t?null:t):t)(n=m.header?r>=c.length?"__parsed_extra":c[r]:n,s=m.transform?m.transform(s,n):s);"__parsed_extra"===n?(i[n]=i[n]||[],i[n].push(s)):i[n]=s}return m.header&&(r>c.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+c.length+" fields but parsed "+r,f+t):r<c.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+c.length+" fields but parsed "+r,f+t)),i}var r;p&&(m.header||m.dynamicTyping||m.transform)&&(r=1,!p.data.length||Array.isArray(p.data[0])?(p.data=p.data.map(i),r=p.data.length):p.data=i(p.data,0),m.header&&p.meta&&(p.meta.fields=c),f+=r)}function _(){return m.header&&0===c.length}function k(e,t,i,r){e={type:e,code:t,message:i};void 0!==r&&(e.row=r),p.errors.push(e)}q(m.step)&&(t=m.step,m.step=function(e){p=e,_()?g():(g(),0!==p.data.length&&(r+=e.data.length,m.preview&&r>m.preview?s.abort():(p.data=p.data[0],t(p,i))))}),this.parse=function(e,t,i){var r=m.quoteChar||'"',r=(m.newline||(m.newline=this.guessLineEndings(e,r)),a=!1,m.delimiter?q(m.delimiter)&&(m.delimiter=m.delimiter(e),p.meta.delimiter=m.delimiter):((r=((e,t,i,r,n)=>{var s,a,o,h;n=n||[",","\t","|",";",v.RECORD_SEP,v.UNIT_SEP];for(var u=0;u<n.length;u++){for(var d,f=n[u],l=0,c=0,p=0,g=(o=void 0,new E({comments:r,delimiter:f,newline:t,preview:10}).parse(e)),_=0;_<g.data.length;_++)i&&y(g.data[_])?p++:(d=g.data[_].length,c+=d,void 0===o?o=d:0<d&&(l+=Math.abs(d-o),o=d));0<g.data.length&&(c/=g.data.length-p),(void 0===a||l<=a)&&(void 0===h||h<c)&&1.99<c&&(a=l,s=f,h=c)}return{successful:!!(m.delimiter=s),bestDelimiter:s}})(e,m.newline,m.skipEmptyLines,m.comments,m.delimitersToGuess)).successful?m.delimiter=r.bestDelimiter:(a=!0,m.delimiter=v.DefaultDelimiter),p.meta.delimiter=m.delimiter),b(m));return m.preview&&m.header&&r.preview++,n=e,s=new E(r),p=s.parse(n,t,i),g(),l?{meta:{paused:!0}}:p||{meta:{paused:!1}}},this.paused=function(){return l},this.pause=function(){l=!0,s.abort(),n=q(m.chunk)?"":n.substring(s.getCharIndex())},this.resume=function(){i.streamer._halted?(l=!1,i.streamer.parseChunk(n,!0)):setTimeout(i.resume,3)},this.aborted=function(){return e},this.abort=function(){e=!0,s.abort(),p.meta.aborted=!0,q(m.complete)&&m.complete(p),n=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=new RegExp(U(t)+"([^]*?)"+U(t),"gm"),i=(e=e.replace(t,"")).split("\r"),t=e.split("\n"),e=1<t.length&&t[0].length<i[0].length;if(1===i.length||e)return"\n";for(var r=0,n=0;n<i.length;n++)"\n"===i[n][0]&&r++;return r>=i.length/2?"\r\n":"\r"}}function U(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(C){var S=(C=C||{}).delimiter,O=C.newline,x=C.comments,I=C.step,A=C.preview,T=C.fastMode,D=null,L=!1,F=null==C.quoteChar?'"':C.quoteChar,j=F;if(void 0!==C.escapeChar&&(j=C.escapeChar),("string"!=typeof S||-1<v.BAD_DELIMITERS.indexOf(S))&&(S=","),x===S)throw new Error("Comment character same as delimiter");!0===x?x="#":("string"!=typeof x||-1<v.BAD_DELIMITERS.indexOf(x))&&(x=!1),"\n"!==O&&"\r"!==O&&"\r\n"!==O&&(O="\n");var z=0,M=!1;this.parse=function(i,t,r){if("string"!=typeof i)throw new Error("Input must be a string");var n=i.length,e=S.length,s=O.length,a=x.length,o=q(I),h=[],u=[],d=[],f=z=0;if(!i)return w();if(T||!1!==T&&-1===i.indexOf(F)){for(var l=i.split(O),c=0;c<l.length;c++){if(d=l[c],z+=d.length,c!==l.length-1)z+=O.length;else if(r)return w();if(!x||d.substring(0,a)!==x){if(o){if(h=[],k(d.split(S)),R(),M)return w()}else k(d.split(S));if(A&&A<=c)return h=h.slice(0,A),w(!0)}}return w()}for(var p=i.indexOf(S,z),g=i.indexOf(O,z),_=new RegExp(U(j)+U(F),"g"),m=i.indexOf(F,z);;)if(i[z]===F)for(m=z,z++;;){if(-1===(m=i.indexOf(F,m+1)))return r||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:h.length,index:z}),E();if(m===n-1)return E(i.substring(z,m).replace(_,F));if(F===j&&i[m+1]===j)m++;else if(F===j||0===m||i[m-1]!==j){-1!==p&&p<m+1&&(p=i.indexOf(S,m+1));var y=v(-1===(g=-1!==g&&g<m+1?i.indexOf(O,m+1):g)?p:Math.min(p,g));if(i.substr(m+1+y,e)===S){d.push(i.substring(z,m).replace(_,F)),i[z=m+1+y+e]!==F&&(m=i.indexOf(F,z)),p=i.indexOf(S,z),g=i.indexOf(O,z);break}y=v(g);if(i.substring(m+1+y,m+1+y+s)===O){if(d.push(i.substring(z,m).replace(_,F)),b(m+1+y+s),p=i.indexOf(S,z),m=i.indexOf(F,z),o&&(R(),M))return w();if(A&&h.length>=A)return w(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:h.length,index:z}),m++}}else if(x&&0===d.length&&i.substring(z,z+a)===x){if(-1===g)return w();z=g+s,g=i.indexOf(O,z),p=i.indexOf(S,z)}else if(-1!==p&&(p<g||-1===g))d.push(i.substring(z,p)),z=p+e,p=i.indexOf(S,z);else{if(-1===g)break;if(d.push(i.substring(z,g)),b(g+s),o&&(R(),M))return w();if(A&&h.length>=A)return w(!0)}return E();function k(e){h.push(e),f=z}function v(e){var t=0;return t=-1!==e&&(e=i.substring(m+1,e))&&""===e.trim()?e.length:t}function E(e){return r||(void 0===e&&(e=i.substring(z)),d.push(e),z=n,k(d),o&&R()),w()}function b(e){z=e,k(d),d=[],g=i.indexOf(O,z)}function w(e){if(C.header&&!t&&h.length&&!L){var s=h[0],a=Object.create(null),o=new Set(s);let n=!1;for(let r=0;r<s.length;r++){let i=P(s[r]);if(a[i=q(C.transformHeader)?C.transformHeader(i,r):i]){let e,t=a[i];for(;e=i+"_"+t,t++,o.has(e););o.add(e),s[r]=e,a[i]++,n=!0,(D=null===D?{}:D)[e]=i}else a[i]=1,s[r]=i;o.add(i)}n&&console.warn("Duplicate headers found and renamed."),L=!0}return{data:h,errors:u,meta:{delimiter:S,linebreak:O,aborted:M,truncated:!!e,cursor:f+(t||0),renamedHeaders:D}}}function R(){I(w()),h=[],u=[]}},this.abort=function(){M=!0},this.getCharIndex=function(){return z}}function g(e){var t=e.data,i=o[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,_(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:m,resume:m};if(q(i.userStep)){for(var s=0;s<t.results.data.length&&(i.userStep({data:t.results.data[s],errors:t.results.errors,meta:t.results.meta},n),!r);s++);delete t.results}else q(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results)}t.finished&&!r&&_(t.workerId,t.results)}function _(e,t){var i=o[e];q(i.userComplete)&&i.userComplete(t),i.terminate(),delete o[e]}function m(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t,i=Array.isArray(e)?[]:{};for(t in e)i[t]=b(e[t]);return i}function y(e,t){return function(){e.apply(t,arguments)}}function q(e){return"function"==typeof e}return v.parse=function(e,t){var i=(t=t||{}).dynamicTyping||!1;q(i)&&(t.dynamicTypingFunction=i,i={});if(t.dynamicTyping=i,t.transform=!!q(t.transform)&&t.transform,!t.worker||!v.WORKERS_SUPPORTED)return i=null,v.NODE_STREAM_INPUT,"string"==typeof e?(e=P(e),i=new(t.download?f:c)(t)):!0===e.readable&&q(e.read)&&q(e.on)?i=new p(t):(n.File&&e instanceof File||e instanceof Object)&&(i=new l(t)),i.stream(e);(i=(()=>{var e;return!!v.WORKERS_SUPPORTED&&(e=(()=>{var e=n.URL||n.webkitURL||null,t=r.toString();return v.BLOB_URL||(v.BLOB_URL=e.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",t,")();"],{type:"text/javascript"})))})(),(e=new n.Worker(e)).onmessage=g,e.id=h++,o[e.id]=e)})()).userStep=t.step,i.userChunk=t.chunk,i.userComplete=t.complete,i.userError=t.error,t.step=q(t.step),t.chunk=q(t.chunk),t.complete=q(t.complete),t.error=q(t.error),delete t.worker,i.postMessage({input:e,config:t,workerId:i.id})},v.unparse=function(e,t){var s=!1,_=!0,m=",",y="\r\n",a='"',o=a+a,i=!1,r=null,h=!1,u=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||v.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(m=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(s=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(i=t.skipEmptyLines),"string"==typeof t.newline&&(y=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar,o=a+a),"boolean"==typeof t.header&&(_=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");r=t.columns}void 0!==t.escapeChar&&(o=t.escapeChar+a),t.escapeFormulae instanceof RegExp?h=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(h=/^[=+\-@\t\r].*$/)}})(),new RegExp(U(a),"g"));"string"==typeof e&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return n(null,e,i);if("object"==typeof e[0])return n(r||Object.keys(e[0]),e,i)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||r),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),n(e.fields||[],e.data||[],i);throw new Error("Unable to serialize unrecognized input");function n(e,t,i){var r="",n=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),s=!Array.isArray(t[0]);if(n&&_){for(var a=0;a<e.length;a++)0<a&&(r+=m),r+=k(e[a],a);0<t.length&&(r+=y)}for(var o=0;o<t.length;o++){var h=(n?e:t[o]).length,u=!1,d=n?0===Object.keys(t[o]).length:0===t[o].length;if(i&&!n&&(u="greedy"===i?""===t[o].join("").trim():1===t[o].length&&0===t[o][0].length),"greedy"===i&&n){for(var f=[],l=0;l<h;l++){var c=s?e[l]:l;f.push(t[o][c])}u=""===f.join("").trim()}if(!u){for(var p=0;p<h;p++){0<p&&!d&&(r+=m);var g=n&&s?e[p]:p;r+=k(t[o][g],p)}o<t.length-1&&(!i||0<h&&!d)&&(r+=y)}}return r}function k(e,t){var i,r,n;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(n=!1,h&&"string"==typeof e&&h.test(e)&&(e="'"+e,n=!0),r=(i=e.toString()).replace(u,o),(n=n||!0===s||"function"==typeof s&&s(e,t)||Array.isArray(s)&&s[t]||((e,t)=>{for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return!0;return!1})(r,v.BAD_DELIMITERS)||-1<r.indexOf(m)||-1<i.indexOf(a)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?a+r+a:r)}},v.RECORD_SEP=String.fromCharCode(30),v.UNIT_SEP=String.fromCharCode(31),v.BYTE_ORDER_MARK="\ufeff",v.BAD_DELIMITERS=["\r","\n",'"',v.BYTE_ORDER_MARK],v.WORKERS_SUPPORTED=!s&&!!n.Worker,v.NODE_STREAM_INPUT=1,v.LocalChunkSize=10485760,v.RemoteChunkSize=5242880,v.DefaultDelimiter=",",v.Parser=E,v.ParserHandle=i,v.NetworkStreamer=f,v.FileStreamer=l,v.StringStreamer=c,v.ReadableStreamStreamer=p,n.jQuery&&((d=n.jQuery).fn.parse=function(o){var i=o.config||{},h=[];return this.each(function(e){if(!("INPUT"===d(this).prop("tagName").toUpperCase()&&"file"===d(this).attr("type").toLowerCase()&&n.FileReader)||!this.files||0===this.files.length)return!0;for(var t=0;t<this.files.length;t++)h.push({file:this.files[t],inputElem:this,instanceConfig:d.extend({},i)})}),e(),this;function e(){if(0===h.length)q(o.complete)&&o.complete();else{var e,t,i,r,n=h[0];if(q(o.before)){var s=o.before(n.file,n.inputElem);if("object"==typeof s){if("abort"===s.action)return e="AbortError",t=n.file,i=n.inputElem,r=s.reason,void(q(o.error)&&o.error({name:e},t,i,r));if("skip"===s.action)return void u();"object"==typeof s.config&&(n.instanceConfig=d.extend(n.instanceConfig,s.config))}else if("skip"===s)return void u()}var a=n.instanceConfig.complete;n.instanceConfig.complete=function(e){q(a)&&a(e,n.file,n.inputElem),u()},v.parse(n.file,n.instanceConfig)}}function u(){h.splice(0,1),e()}}),a&&(n.onmessage=function(e){e=e.data;void 0===v.WORKER_ID&&e&&(v.WORKER_ID=e.workerId);"string"==typeof e.input?n.postMessage({workerId:v.WORKER_ID,results:v.parse(e.input,e.config),finished:!0}):(n.File&&e.input instanceof File||e.input instanceof Object)&&(e=v.parse(e.input,e.config))&&n.postMessage({workerId:v.WORKER_ID,results:e,finished:!0})}),(f.prototype=Object.create(u.prototype)).constructor=f,(l.prototype=Object.create(u.prototype)).constructor=l,(c.prototype=Object.create(c.prototype)).constructor=c,(p.prototype=Object.create(u.prototype)).constructor=p,v});

/***/ },

/***/ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js ***!
  \****************************************************************************/
(module) {

// shim for using process in browser
var process = module.exports = {};

// cached from whatever global is present so that test runners that stub it
// don't break things.  But we need to wrap it in a try catch in case it is
// wrapped in strict mode code which doesn't define any globals.  It's inside a
// function because try/catches deoptimize in certain engines.

var cachedSetTimeout;
var cachedClearTimeout;

function defaultSetTimout() {
    throw new Error('setTimeout has not been defined');
}
function defaultClearTimeout () {
    throw new Error('clearTimeout has not been defined');
}
(function () {
    try {
        if (typeof setTimeout === 'function') {
            cachedSetTimeout = setTimeout;
        } else {
            cachedSetTimeout = defaultSetTimout;
        }
    } catch (e) {
        cachedSetTimeout = defaultSetTimout;
    }
    try {
        if (typeof clearTimeout === 'function') {
            cachedClearTimeout = clearTimeout;
        } else {
            cachedClearTimeout = defaultClearTimeout;
        }
    } catch (e) {
        cachedClearTimeout = defaultClearTimeout;
    }
} ())
function runTimeout(fun) {
    if (cachedSetTimeout === setTimeout) {
        //normal enviroments in sane situations
        return setTimeout(fun, 0);
    }
    // if setTimeout wasn't available but was latter defined
    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
        cachedSetTimeout = setTimeout;
        return setTimeout(fun, 0);
    }
    try {
        // when when somebody has screwed with setTimeout but no I.E. maddness
        return cachedSetTimeout(fun, 0);
    } catch(e){
        try {
            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
            return cachedSetTimeout.call(null, fun, 0);
        } catch(e){
            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
            return cachedSetTimeout.call(this, fun, 0);
        }
    }


}
function runClearTimeout(marker) {
    if (cachedClearTimeout === clearTimeout) {
        //normal enviroments in sane situations
        return clearTimeout(marker);
    }
    // if clearTimeout wasn't available but was latter defined
    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
        cachedClearTimeout = clearTimeout;
        return clearTimeout(marker);
    }
    try {
        // when when somebody has screwed with setTimeout but no I.E. maddness
        return cachedClearTimeout(marker);
    } catch (e){
        try {
            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
            return cachedClearTimeout.call(null, marker);
        } catch (e){
            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
            // Some versions of I.E. have different rules for clearTimeout vs setTimeout
            return cachedClearTimeout.call(this, marker);
        }
    }



}
var queue = [];
var draining = false;
var currentQueue;
var queueIndex = -1;

function cleanUpNextTick() {
    if (!draining || !currentQueue) {
        return;
    }
    draining = false;
    if (currentQueue.length) {
        queue = currentQueue.concat(queue);
    } else {
        queueIndex = -1;
    }
    if (queue.length) {
        drainQueue();
    }
}

function drainQueue() {
    if (draining) {
        return;
    }
    var timeout = runTimeout(cleanUpNextTick);
    draining = true;

    var len = queue.length;
    while(len) {
        currentQueue = queue;
        queue = [];
        while (++queueIndex < len) {
            if (currentQueue) {
                currentQueue[queueIndex].run();
            }
        }
        queueIndex = -1;
        len = queue.length;
    }
    currentQueue = null;
    draining = false;
    runClearTimeout(timeout);
}

process.nextTick = function (fun) {
    var args = new Array(arguments.length - 1);
    if (arguments.length > 1) {
        for (var i = 1; i < arguments.length; i++) {
            args[i - 1] = arguments[i];
        }
    }
    queue.push(new Item(fun, args));
    if (queue.length === 1 && !draining) {
        runTimeout(drainQueue);
    }
};

// v8 likes predictible objects
function Item(fun, array) {
    this.fun = fun;
    this.array = array;
}
Item.prototype.run = function () {
    this.fun.apply(null, this.array);
};
process.title = 'browser';
process.browser = true;
process.env = {};
process.argv = [];
process.version = ''; // empty string to avoid regexp issues
process.versions = {};

function noop() {}

process.on = noop;
process.addListener = noop;
process.once = noop;
process.off = noop;
process.removeListener = noop;
process.removeAllListeners = noop;
process.emit = noop;
process.prependListener = noop;
process.prependOnceListener = noop;

process.listeners = function (name) { return [] }

process.binding = function (name) {
    throw new Error('process.binding is not supported');
};

process.cwd = function () { return '/' };
process.chdir = function (dir) {
    throw new Error('process.chdir is not supported');
};
process.umask = function() { return 0; };


/***/ },

/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */



var printWarning = function() {};

if (true) {
  var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js");
  var loggedTypeFailures = {};
  var has = __webpack_require__(/*! ./lib/has */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js");

  printWarning = function(text) {
    var message = 'Warning: ' + text;
    if (typeof console !== 'undefined') {
      console.error(message);
    }
    try {
      // --- Welcome to debugging React ---
      // This error was thrown as a convenience so that you can use this stack
      // to find the callsite that caused this warning to fire.
      throw new Error(message);
    } catch (x) { /**/ }
  };
}

/**
 * Assert that the values match with the type specs.
 * Error messages are memorized and will only be shown once.
 *
 * @param {object} typeSpecs Map of name to a ReactPropType
 * @param {object} values Runtime values that need to be type-checked
 * @param {string} location e.g. "prop", "context", "child context"
 * @param {string} componentName Name of the component for error messages.
 * @param {?Function} getStack Returns the component stack.
 * @private
 */
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
  if (true) {
    for (var typeSpecName in typeSpecs) {
      if (has(typeSpecs, typeSpecName)) {
        var error;
        // Prop type validation may throw. In case they do, we don't want to
        // fail the render phase where it didn't fail before. So we log it.
        // After these have been cleaned up, we'll let them throw.
        try {
          // This is intentionally an invariant that gets caught. It's the same
          // behavior as without this statement except with a better message.
          if (typeof typeSpecs[typeSpecName] !== 'function') {
            var err = Error(
              (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
              'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
              'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
            );
            err.name = 'Invariant Violation';
            throw err;
          }
          error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
        } catch (ex) {
          error = ex;
        }
        if (error && !(error instanceof Error)) {
          printWarning(
            (componentName || 'React class') + ': type specification of ' +
            location + ' `' + typeSpecName + '` is invalid; the type checker ' +
            'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
            'You may have forgotten to pass an argument to the type checker ' +
            'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
            'shape all require an argument).'
          );
        }
        if (error instanceof Error && !(error.message in loggedTypeFailures)) {
          // Only monitor this failure once because there tends to be a lot of the
          // same error.
          loggedTypeFailures[error.message] = true;

          var stack = getStack ? getStack() : '';

          printWarning(
            'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
          );
        }
      }
    }
  }
}

/**
 * Resets warning cache when testing.
 *
 * @private
 */
checkPropTypes.resetWarningCache = function() {
  if (true) {
    loggedTypeFailures = {};
  }
}

module.exports = checkPropTypes;


/***/ },

/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js ***!
  \*************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */



var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js");
var assign = __webpack_require__(/*! object-assign */ "./node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js");

var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js");
var has = __webpack_require__(/*! ./lib/has */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js");
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js");

var printWarning = function() {};

if (true) {
  printWarning = function(text) {
    var message = 'Warning: ' + text;
    if (typeof console !== 'undefined') {
      console.error(message);
    }
    try {
      // --- Welcome to debugging React ---
      // This error was thrown as a convenience so that you can use this stack
      // to find the callsite that caused this warning to fire.
      throw new Error(message);
    } catch (x) {}
  };
}

function emptyFunctionThatReturnsNull() {
  return null;
}

module.exports = function(isValidElement, throwOnDirectAccess) {
  /* global Symbol */
  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.

  /**
   * Returns the iterator method function contained on the iterable object.
   *
   * Be sure to invoke the function with the iterable as context:
   *
   *     var iteratorFn = getIteratorFn(myIterable);
   *     if (iteratorFn) {
   *       var iterator = iteratorFn.call(myIterable);
   *       ...
   *     }
   *
   * @param {?object} maybeIterable
   * @return {?function}
   */
  function getIteratorFn(maybeIterable) {
    var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
    if (typeof iteratorFn === 'function') {
      return iteratorFn;
    }
  }

  /**
   * Collection of methods that allow declaration and validation of props that are
   * supplied to React components. Example usage:
   *
   *   var Props = require('ReactPropTypes');
   *   var MyArticle = React.createClass({
   *     propTypes: {
   *       // An optional string prop named "description".
   *       description: Props.string,
   *
   *       // A required enum prop named "category".
   *       category: Props.oneOf(['News','Photos']).isRequired,
   *
   *       // A prop named "dialog" that requires an instance of Dialog.
   *       dialog: Props.instanceOf(Dialog).isRequired
   *     },
   *     render: function() { ... }
   *   });
   *
   * A more formal specification of how these methods are used:
   *
   *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
   *   decl := ReactPropTypes.{type}(.isRequired)?
   *
   * Each and every declaration produces a function with the same signature. This
   * allows the creation of custom validation functions. For example:
   *
   *  var MyLink = React.createClass({
   *    propTypes: {
   *      // An optional string or URI prop named "href".
   *      href: function(props, propName, componentName) {
   *        var propValue = props[propName];
   *        if (propValue != null && typeof propValue !== 'string' &&
   *            !(propValue instanceof URI)) {
   *          return new Error(
   *            'Expected a string or an URI for ' + propName + ' in ' +
   *            componentName
   *          );
   *        }
   *      }
   *    },
   *    render: function() {...}
   *  });
   *
   * @internal
   */

  var ANONYMOUS = '<<anonymous>>';

  // Important!
  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
  var ReactPropTypes = {
    array: createPrimitiveTypeChecker('array'),
    bigint: createPrimitiveTypeChecker('bigint'),
    bool: createPrimitiveTypeChecker('boolean'),
    func: createPrimitiveTypeChecker('function'),
    number: createPrimitiveTypeChecker('number'),
    object: createPrimitiveTypeChecker('object'),
    string: createPrimitiveTypeChecker('string'),
    symbol: createPrimitiveTypeChecker('symbol'),

    any: createAnyTypeChecker(),
    arrayOf: createArrayOfTypeChecker,
    element: createElementTypeChecker(),
    elementType: createElementTypeTypeChecker(),
    instanceOf: createInstanceTypeChecker,
    node: createNodeChecker(),
    objectOf: createObjectOfTypeChecker,
    oneOf: createEnumTypeChecker,
    oneOfType: createUnionTypeChecker,
    shape: createShapeTypeChecker,
    exact: createStrictShapeTypeChecker,
  };

  /**
   * inlined Object.is polyfill to avoid requiring consumers ship their own
   * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
   */
  /*eslint-disable no-self-compare*/
  function is(x, y) {
    // SameValue algorithm
    if (x === y) {
      // Steps 1-5, 7-10
      // Steps 6.b-6.e: +0 != -0
      return x !== 0 || 1 / x === 1 / y;
    } else {
      // Step 6.a: NaN == NaN
      return x !== x && y !== y;
    }
  }
  /*eslint-enable no-self-compare*/

  /**
   * We use an Error-like object for backward compatibility as people may call
   * PropTypes directly and inspect their output. However, we don't use real
   * Errors anymore. We don't inspect their stack anyway, and creating them
   * is prohibitively expensive if they are created too often, such as what
   * happens in oneOfType() for any type before the one that matched.
   */
  function PropTypeError(message, data) {
    this.message = message;
    this.data = data && typeof data === 'object' ? data: {};
    this.stack = '';
  }
  // Make `instanceof Error` still work for returned errors.
  PropTypeError.prototype = Error.prototype;

  function createChainableTypeChecker(validate) {
    if (true) {
      var manualPropTypeCallCache = {};
      var manualPropTypeWarningCount = 0;
    }
    function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
      componentName = componentName || ANONYMOUS;
      propFullName = propFullName || propName;

      if (secret !== ReactPropTypesSecret) {
        if (throwOnDirectAccess) {
          // New behavior only for users of `prop-types` package
          var err = 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'
          );
          err.name = 'Invariant Violation';
          throw err;
        } else if ( true && typeof console !== 'undefined') {
          // Old behavior for people using React.PropTypes
          var cacheKey = componentName + ':' + propName;
          if (
            !manualPropTypeCallCache[cacheKey] &&
            // Avoid spamming the console because they are often not actionable except for lib authors
            manualPropTypeWarningCount < 3
          ) {
            printWarning(
              'You are manually calling a React.PropTypes validation ' +
              'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
              'and will throw in the standalone `prop-types` package. ' +
              'You may be seeing this warning due to a third-party PropTypes ' +
              'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
            );
            manualPropTypeCallCache[cacheKey] = true;
            manualPropTypeWarningCount++;
          }
        }
      }
      if (props[propName] == null) {
        if (isRequired) {
          if (props[propName] === null) {
            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
          }
          return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
        }
        return null;
      } else {
        return validate(props, propName, componentName, location, propFullName);
      }
    }

    var chainedCheckType = checkType.bind(null, false);
    chainedCheckType.isRequired = checkType.bind(null, true);

    return chainedCheckType;
  }

  function createPrimitiveTypeChecker(expectedType) {
    function validate(props, propName, componentName, location, propFullName, secret) {
      var propValue = props[propName];
      var propType = getPropType(propValue);
      if (propType !== expectedType) {
        // `propValue` being instance of, say, date/regexp, pass the 'object'
        // check, but we can offer a more precise error message here rather than
        // 'of type `object`'.
        var preciseType = getPreciseType(propValue);

        return new PropTypeError(
          'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
          {expectedType: expectedType}
        );
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function createAnyTypeChecker() {
    return createChainableTypeChecker(emptyFunctionThatReturnsNull);
  }

  function createArrayOfTypeChecker(typeChecker) {
    function validate(props, propName, componentName, location, propFullName) {
      if (typeof typeChecker !== 'function') {
        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
      }
      var propValue = props[propName];
      if (!Array.isArray(propValue)) {
        var propType = getPropType(propValue);
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
      }
      for (var i = 0; i < propValue.length; i++) {
        var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
        if (error instanceof Error) {
          return error;
        }
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function createElementTypeChecker() {
    function validate(props, propName, componentName, location, propFullName) {
      var propValue = props[propName];
      if (!isValidElement(propValue)) {
        var propType = getPropType(propValue);
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function createElementTypeTypeChecker() {
    function validate(props, propName, componentName, location, propFullName) {
      var propValue = props[propName];
      if (!ReactIs.isValidElementType(propValue)) {
        var propType = getPropType(propValue);
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function createInstanceTypeChecker(expectedClass) {
    function validate(props, propName, componentName, location, propFullName) {
      if (!(props[propName] instanceof expectedClass)) {
        var expectedClassName = expectedClass.name || ANONYMOUS;
        var actualClassName = getClassName(props[propName]);
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function createEnumTypeChecker(expectedValues) {
    if (!Array.isArray(expectedValues)) {
      if (true) {
        if (arguments.length > 1) {
          printWarning(
            'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
            'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
          );
        } else {
          printWarning('Invalid argument supplied to oneOf, expected an array.');
        }
      }
      return emptyFunctionThatReturnsNull;
    }

    function validate(props, propName, componentName, location, propFullName) {
      var propValue = props[propName];
      for (var i = 0; i < expectedValues.length; i++) {
        if (is(propValue, expectedValues[i])) {
          return null;
        }
      }

      var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
        var type = getPreciseType(value);
        if (type === 'symbol') {
          return String(value);
        }
        return value;
      });
      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
    }
    return createChainableTypeChecker(validate);
  }

  function createObjectOfTypeChecker(typeChecker) {
    function validate(props, propName, componentName, location, propFullName) {
      if (typeof typeChecker !== 'function') {
        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
      }
      var propValue = props[propName];
      var propType = getPropType(propValue);
      if (propType !== 'object') {
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
      }
      for (var key in propValue) {
        if (has(propValue, key)) {
          var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
          if (error instanceof Error) {
            return error;
          }
        }
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function createUnionTypeChecker(arrayOfTypeCheckers) {
    if (!Array.isArray(arrayOfTypeCheckers)) {
       true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;
      return emptyFunctionThatReturnsNull;
    }

    for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
      var checker = arrayOfTypeCheckers[i];
      if (typeof checker !== 'function') {
        printWarning(
          'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
          'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
        );
        return emptyFunctionThatReturnsNull;
      }
    }

    function validate(props, propName, componentName, location, propFullName) {
      var expectedTypes = [];
      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
        var checker = arrayOfTypeCheckers[i];
        var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
        if (checkerResult == null) {
          return null;
        }
        if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
          expectedTypes.push(checkerResult.data.expectedType);
        }
      }
      var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
    }
    return createChainableTypeChecker(validate);
  }

  function createNodeChecker() {
    function validate(props, propName, componentName, location, propFullName) {
      if (!isNode(props[propName])) {
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function invalidValidatorError(componentName, location, propFullName, key, type) {
    return new PropTypeError(
      (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
      'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
    );
  }

  function createShapeTypeChecker(shapeTypes) {
    function validate(props, propName, componentName, location, propFullName) {
      var propValue = props[propName];
      var propType = getPropType(propValue);
      if (propType !== 'object') {
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
      }
      for (var key in shapeTypes) {
        var checker = shapeTypes[key];
        if (typeof checker !== 'function') {
          return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
        }
        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
        if (error) {
          return error;
        }
      }
      return null;
    }
    return createChainableTypeChecker(validate);
  }

  function createStrictShapeTypeChecker(shapeTypes) {
    function validate(props, propName, componentName, location, propFullName) {
      var propValue = props[propName];
      var propType = getPropType(propValue);
      if (propType !== 'object') {
        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
      }
      // We need to check all keys in case some are required but missing from props.
      var allKeys = assign({}, props[propName], shapeTypes);
      for (var key in allKeys) {
        var checker = shapeTypes[key];
        if (has(shapeTypes, key) && typeof checker !== 'function') {
          return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
        }
        if (!checker) {
          return new PropTypeError(
            'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
            '\nBad object: ' + JSON.stringify(props[propName], null, '  ') +
            '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, '  ')
          );
        }
        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
        if (error) {
          return error;
        }
      }
      return null;
    }

    return createChainableTypeChecker(validate);
  }

  function isNode(propValue) {
    switch (typeof propValue) {
      case 'number':
      case 'string':
      case 'undefined':
        return true;
      case 'boolean':
        return !propValue;
      case 'object':
        if (Array.isArray(propValue)) {
          return propValue.every(isNode);
        }
        if (propValue === null || isValidElement(propValue)) {
          return true;
        }

        var iteratorFn = getIteratorFn(propValue);
        if (iteratorFn) {
          var iterator = iteratorFn.call(propValue);
          var step;
          if (iteratorFn !== propValue.entries) {
            while (!(step = iterator.next()).done) {
              if (!isNode(step.value)) {
                return false;
              }
            }
          } else {
            // Iterator will provide entry [k,v] tuples rather than values.
            while (!(step = iterator.next()).done) {
              var entry = step.value;
              if (entry) {
                if (!isNode(entry[1])) {
                  return false;
                }
              }
            }
          }
        } else {
          return false;
        }

        return true;
      default:
        return false;
    }
  }

  function isSymbol(propType, propValue) {
    // Native Symbol.
    if (propType === 'symbol') {
      return true;
    }

    // falsy value can't be a Symbol
    if (!propValue) {
      return false;
    }

    // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
    if (propValue['@@toStringTag'] === 'Symbol') {
      return true;
    }

    // Fallback for non-spec compliant Symbols which are polyfilled.
    if (typeof Symbol === 'function' && propValue instanceof Symbol) {
      return true;
    }

    return false;
  }

  // Equivalent of `typeof` but with special handling for array and regexp.
  function getPropType(propValue) {
    var propType = typeof propValue;
    if (Array.isArray(propValue)) {
      return 'array';
    }
    if (propValue instanceof RegExp) {
      // Old webkits (at least until Android 4.0) return 'function' rather than
      // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
      // passes PropTypes.object.
      return 'object';
    }
    if (isSymbol(propType, propValue)) {
      return 'symbol';
    }
    return propType;
  }

  // This handles more types than `getPropType`. Only used for error messages.
  // See `createPrimitiveTypeChecker`.
  function getPreciseType(propValue) {
    if (typeof propValue === 'undefined' || propValue === null) {
      return '' + propValue;
    }
    var propType = getPropType(propValue);
    if (propType === 'object') {
      if (propValue instanceof Date) {
        return 'date';
      } else if (propValue instanceof RegExp) {
        return 'regexp';
      }
    }
    return propType;
  }

  // Returns a string that is postfixed to a warning about an invalid type.
  // For example, "undefined" or "of type array"
  function getPostfixForTypeWarning(value) {
    var type = getPreciseType(value);
    switch (type) {
      case 'array':
      case 'object':
        return 'an ' + type;
      case 'boolean':
      case 'date':
      case 'regexp':
        return 'a ' + type;
      default:
        return type;
    }
  }

  // Returns class name of the object, if any.
  function getClassName(propValue) {
    if (!propValue.constructor || !propValue.constructor.name) {
      return ANONYMOUS;
    }
    return propValue.constructor.name;
  }

  ReactPropTypes.checkPropTypes = checkPropTypes;
  ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
  ReactPropTypes.PropTypes = ReactPropTypes;

  return ReactPropTypes;
};


/***/ },

/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js ***!
  \*******************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

if (true) {
  var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js");

  // By explicitly using `prop-types` you are opting into new development behavior.
  // http://fb.me/prop-types-in-prod
  var throwOnDirectAccess = true;
  module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
} else // removed by dead control flow
{}


/***/ },

/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
  \**************************************************************************************************/
(module) {

"use strict";
/**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */



var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

module.exports = ReactPropTypesSecret;


/***/ },

/***/ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js ***!
  \*********************************************************************************/
(module) {

module.exports = Function.call.bind(Object.prototype.hasOwnProperty);


/***/ },

/***/ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/formats.js"
/*!*********************************************************************!*\
  !*** ./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/formats.js ***!
  \*********************************************************************/
(module) {

"use strict";


var replace = String.prototype.replace;
var percentTwenties = /%20/g;

var Format = {
    RFC1738: 'RFC1738',
    RFC3986: 'RFC3986'
};

module.exports = {
    'default': Format.RFC3986,
    formatters: {
        RFC1738: function (value) {
            return replace.call(value, percentTwenties, '+');
        },
        RFC3986: function (value) {
            return String(value);
        }
    },
    RFC1738: Format.RFC1738,
    RFC3986: Format.RFC3986
};


/***/ },

/***/ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/index.js"
/*!*******************************************************************!*\
  !*** ./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/index.js ***!
  \*******************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var stringify = __webpack_require__(/*! ./stringify */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/stringify.js");
var parse = __webpack_require__(/*! ./parse */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/parse.js");
var formats = __webpack_require__(/*! ./formats */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/formats.js");

module.exports = {
    formats: formats,
    parse: parse,
    stringify: stringify
};


/***/ },

/***/ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/parse.js"
/*!*******************************************************************!*\
  !*** ./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/parse.js ***!
  \*******************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var utils = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/utils.js");

var has = Object.prototype.hasOwnProperty;
var isArray = Array.isArray;

var defaults = {
    allowDots: false,
    allowEmptyArrays: false,
    allowPrototypes: false,
    allowSparse: false,
    arrayLimit: 20,
    charset: 'utf-8',
    charsetSentinel: false,
    comma: false,
    decodeDotInKeys: false,
    decoder: utils.decode,
    delimiter: '&',
    depth: 5,
    duplicates: 'combine',
    ignoreQueryPrefix: false,
    interpretNumericEntities: false,
    parameterLimit: 1000,
    parseArrays: true,
    plainObjects: false,
    strictDepth: false,
    strictMerge: true,
    strictNullHandling: false,
    throwOnLimitExceeded: false
};

var interpretNumericEntities = function (str) {
    return str.replace(/&#(\d+);/g, function ($0, numberStr) {
        return String.fromCharCode(parseInt(numberStr, 10));
    });
};

var parseArrayValue = function (val, options, currentArrayLength) {
    if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
        return val.split(',');
    }

    if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
        throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
    }

    return val;
};

// This is what browsers will submit when the ✓ character occurs in an
// application/x-www-form-urlencoded body and the encoding of the page containing
// the form is iso-8859-1, or when the submitted form has an accept-charset
// attribute of iso-8859-1. Presumably also with other charsets that do not contain
// the ✓ character, such as us-ascii.
var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')

// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')

var parseValues = function parseQueryStringValues(str, options) {
    var obj = { __proto__: null };

    var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
    cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');

    var limit = options.parameterLimit === Infinity ? void undefined : options.parameterLimit;
    var parts = cleanStr.split(
        options.delimiter,
        options.throwOnLimitExceeded && typeof limit !== 'undefined' ? limit + 1 : limit
    );

    if (options.throwOnLimitExceeded && typeof limit !== 'undefined' && parts.length > limit) {
        throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');
    }

    var skipIndex = -1; // Keep track of where the utf8 sentinel was found
    var i;

    var charset = options.charset;
    if (options.charsetSentinel) {
        for (i = 0; i < parts.length; ++i) {
            if (parts[i].indexOf('utf8=') === 0) {
                if (parts[i] === charsetSentinel) {
                    charset = 'utf-8';
                } else if (parts[i] === isoSentinel) {
                    charset = 'iso-8859-1';
                }
                skipIndex = i;
                i = parts.length; // The eslint settings do not allow break;
            }
        }
    }

    for (i = 0; i < parts.length; ++i) {
        if (i === skipIndex) {
            continue;
        }
        var part = parts[i];

        var bracketEqualsPos = part.indexOf(']=');
        var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;

        var key;
        var val;
        if (pos === -1) {
            key = options.decoder(part, defaults.decoder, charset, 'key');
            val = options.strictNullHandling ? null : '';
        } else {
            key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');

            if (key !== null) {
                val = utils.maybeMap(
                    parseArrayValue(
                        part.slice(pos + 1),
                        options,
                        isArray(obj[key]) ? obj[key].length : 0
                    ),
                    function (encodedVal) {
                        return options.decoder(encodedVal, defaults.decoder, charset, 'value');
                    }
                );
            }
        }

        if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
            val = interpretNumericEntities(String(val));
        }

        if (part.indexOf('[]=') > -1) {
            val = isArray(val) ? [val] : val;
        }

        if (options.comma && isArray(val) && val.length > options.arrayLimit) {
            if (options.throwOnLimitExceeded) {
                throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
            }
            val = utils.combine([], val, options.arrayLimit, options.plainObjects);
        }

        if (key !== null) {
            var existing = has.call(obj, key);
            if (existing && (options.duplicates === 'combine' || part.indexOf('[]=') > -1)) {
                obj[key] = utils.combine(
                    obj[key],
                    val,
                    options.arrayLimit,
                    options.plainObjects
                );
            } else if (!existing || options.duplicates === 'last') {
                obj[key] = val;
            }
        }
    }

    return obj;
};

var parseObject = function (chain, val, options, valuesParsed) {
    var currentArrayLength = 0;
    if (chain.length > 0 && chain[chain.length - 1] === '[]') {
        var parentKey = chain.slice(0, -1).join('');
        currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
    }

    var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);

    for (var i = chain.length - 1; i >= 0; --i) {
        var obj;
        var root = chain[i];

        if (root === '[]' && options.parseArrays) {
            if (utils.isOverflow(leaf)) {
                // leaf is already an overflow object, preserve it
                obj = leaf;
            } else {
                obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
                    ? []
                    : utils.combine(
                        [],
                        leaf,
                        options.arrayLimit,
                        options.plainObjects
                    );
            }
        } else {
            obj = options.plainObjects ? { __proto__: null } : {};
            var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
            var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
            var index = parseInt(decodedRoot, 10);
            var isValidArrayIndex = !isNaN(index)
                && root !== decodedRoot
                && String(index) === decodedRoot
                && index >= 0
                && options.parseArrays;
            if (!options.parseArrays && decodedRoot === '') {
                obj = { 0: leaf };
            } else if (isValidArrayIndex && index < options.arrayLimit) {
                obj = [];
                obj[index] = leaf;
            } else if (isValidArrayIndex && options.throwOnLimitExceeded) {
                throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
            } else if (isValidArrayIndex) {
                obj[index] = leaf;
                utils.markOverflow(obj, index);
            } else if (decodedRoot !== '__proto__') {
                obj[decodedRoot] = leaf;
            }
        }

        leaf = obj;
    }

    return leaf;
};

// Split a key like "a[b][c[]]" into ['a', '[b]', '[c[]]'] while preserving
// qs parse semantics for depth/prototype guards.
var splitKeyIntoSegments = function splitKeyIntoSegments(originalKey, options) {
    var key = options.allowDots ? originalKey.replace(/\.([^.[]+)/g, '[$1]') : originalKey;

    // depth <= 0 keeps the whole key as one segment
    if (options.depth <= 0) {
        if (!options.plainObjects && has.call(Object.prototype, key)) {
            if (!options.allowPrototypes) {
                return;
            }
        }

        return [key];
    }

    var segments = [];

    // parent before the first '[' (may be empty if key starts with '[')
    var first = key.indexOf('[');
    var parent = first >= 0 ? key.slice(0, first) : key;
    if (parent) {
        if (!options.plainObjects && has.call(Object.prototype, parent)) {
            if (!options.allowPrototypes) {
                return;
            }
        }

        segments[segments.length] = parent;
    }

    var n = key.length;
    var open = first;
    var collected = 0;

    while (open >= 0 && collected < options.depth) {
        var level = 1;
        var i = open + 1;
        var close = -1;

        // balance nested '[' and ']' inside this bracket group using a nesting level counter
        while (i < n && close < 0) {
            var cu = key.charCodeAt(i);
            if (cu === 0x5B) { // '['
                level += 1;
            } else if (cu === 0x5D) { // ']'
                level -= 1;
                if (level === 0) {
                    close = i; // found matching close; loop will exit by condition
                }
            }
            i += 1;
        }

        if (close < 0) {
            // Unterminated group: wrap the raw remainder in one bracket pair so it stays
            // a single literal segment (e.g. "[[]b" -> "[[]b]"); we do not infer missing ']'.
            segments[segments.length] = '[' + key.slice(open) + ']';
            return segments;
        }

        var seg = key.slice(open, close + 1);
        // prototype guard for the content of this group
        var content = seg.slice(1, -1);
        if (!options.plainObjects && has.call(Object.prototype, content) && !options.allowPrototypes) {
            return;
        }

        segments[segments.length] = seg;
        collected += 1;

        // find the next '[' after this balanced group
        open = key.indexOf('[', close + 1);
    }

    if (open >= 0) {
        if (options.strictDepth === true) {
            throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');
        }

        segments[segments.length] = '[' + key.slice(open) + ']';
    }

    return segments;
};

var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
    if (!givenKey) {
        return;
    }

    var keys = splitKeyIntoSegments(givenKey, options);

    if (!keys) {
        return;
    }

    return parseObject(keys, val, options, valuesParsed);
};

var normalizeParseOptions = function normalizeParseOptions(opts) {
    if (!opts) {
        return defaults;
    }

    if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
        throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
    }

    if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {
        throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');
    }

    if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {
        throw new TypeError('Decoder has to be a function.');
    }

    if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
        throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
    }

    if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {
        throw new TypeError('`throwOnLimitExceeded` option must be a boolean');
    }

    var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;

    var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;

    if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {
        throw new TypeError('The duplicates option must be either combine, first, or last');
    }

    var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;

    return {
        allowDots: allowDots,
        allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
        allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
        allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
        arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
        charset: charset,
        charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
        comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
        decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
        decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
        delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
        // eslint-disable-next-line no-implicit-coercion, no-extra-parens
        depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
        duplicates: duplicates,
        ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
        interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
        parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
        parseArrays: opts.parseArrays !== false,
        plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
        strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
        strictMerge: typeof opts.strictMerge === 'boolean' ? !!opts.strictMerge : defaults.strictMerge,
        strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
        throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
    };
};

module.exports = function (str, opts) {
    var options = normalizeParseOptions(opts);

    if (str === '' || str === null || typeof str === 'undefined') {
        return options.plainObjects ? { __proto__: null } : {};
    }

    var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
    var obj = options.plainObjects ? { __proto__: null } : {};

    // Iterate over the keys and setup the new object

    var keys = Object.keys(tempObj);
    for (var i = 0; i < keys.length; ++i) {
        var key = keys[i];
        var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
        obj = utils.merge(obj, newObj, options);
    }

    if (options.allowSparse === true) {
        return obj;
    }

    return utils.compact(obj);
};


/***/ },

/***/ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/stringify.js"
/*!***********************************************************************!*\
  !*** ./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/stringify.js ***!
  \***********************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var getSideChannel = __webpack_require__(/*! side-channel */ "./node_modules/.pnpm/side-channel@1.1.1/node_modules/side-channel/index.js");
var utils = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/utils.js");
var formats = __webpack_require__(/*! ./formats */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/formats.js");
var has = Object.prototype.hasOwnProperty;

var arrayPrefixGenerators = {
    brackets: function brackets(prefix) {
        return prefix + '[]';
    },
    comma: 'comma',
    indices: function indices(prefix, key) {
        return prefix + '[' + key + ']';
    },
    repeat: function repeat(prefix) {
        return prefix;
    }
};

var isArray = Array.isArray;
var push = Array.prototype.push;
var pushToArray = function (arr, valueOrArray) {
    push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
};

var toISO = Date.prototype.toISOString;

var defaultFormat = formats['default'];
var defaults = {
    addQueryPrefix: false,
    allowDots: false,
    allowEmptyArrays: false,
    arrayFormat: 'indices',
    charset: 'utf-8',
    charsetSentinel: false,
    commaRoundTrip: false,
    delimiter: '&',
    encode: true,
    encodeDotInKeys: false,
    encoder: utils.encode,
    encodeValuesOnly: false,
    filter: void undefined,
    format: defaultFormat,
    formatter: formats.formatters[defaultFormat],
    // deprecated
    indices: false,
    serializeDate: function serializeDate(date) {
        return toISO.call(date);
    },
    skipNulls: false,
    strictNullHandling: false
};

var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
    return typeof v === 'string'
        || typeof v === 'number'
        || typeof v === 'boolean'
        || typeof v === 'symbol'
        || typeof v === 'bigint';
};

var sentinel = {};

var stringify = function stringify(
    object,
    prefix,
    generateArrayPrefix,
    commaRoundTrip,
    allowEmptyArrays,
    strictNullHandling,
    skipNulls,
    encodeDotInKeys,
    encoder,
    filter,
    sort,
    allowDots,
    serializeDate,
    format,
    formatter,
    encodeValuesOnly,
    charset,
    sideChannel
) {
    var obj = object;

    var tmpSc = sideChannel;
    var step = 0;
    var findFlag = false;
    while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
        // Where object last appeared in the ref tree
        var pos = tmpSc.get(object);
        step += 1;
        if (typeof pos !== 'undefined') {
            if (pos === step) {
                throw new RangeError('Cyclic object value');
            } else {
                findFlag = true; // Break while
            }
        }
        if (typeof tmpSc.get(sentinel) === 'undefined') {
            step = 0;
        }
    }

    if (typeof filter === 'function') {
        obj = filter(prefix, obj);
    } else if (obj instanceof Date) {
        obj = serializeDate(obj);
    } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
        obj = utils.maybeMap(obj, function (value) {
            if (value instanceof Date) {
                return serializeDate(value);
            }
            return value;
        });
    }

    if (obj === null) {
        if (strictNullHandling) {
            return formatter(encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix);
        }

        obj = '';
    }

    if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
        if (encoder) {
            var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
            return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
        }
        return [formatter(prefix) + '=' + formatter(String(obj))];
    }

    var values = [];

    if (typeof obj === 'undefined') {
        return values;
    }

    var objKeys;
    if (generateArrayPrefix === 'comma' && isArray(obj)) {
        // we need to join elements in
        if (encodeValuesOnly && encoder) {
            obj = utils.maybeMap(obj, function (v) {
                return v == null ? v : encoder(v);
            });
        }
        objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
    } else if (isArray(filter)) {
        objKeys = filter;
    } else {
        var keys = Object.keys(obj);
        objKeys = sort ? keys.sort(sort) : keys;
    }

    var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);

    var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;

    if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
        return adjustedPrefix + '[]';
    }

    for (var j = 0; j < objKeys.length; ++j) {
        var key = objKeys[j];
        var value = typeof key === 'object' && key && typeof key.value !== 'undefined'
            ? key.value
            : obj[key];

        if (skipNulls && value === null) {
            continue;
        }

        var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
        var keyPrefix = isArray(obj)
            ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
            : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');

        sideChannel.set(object, step);
        var valueSideChannel = getSideChannel();
        valueSideChannel.set(sentinel, sideChannel);
        pushToArray(values, stringify(
            value,
            keyPrefix,
            generateArrayPrefix,
            commaRoundTrip,
            allowEmptyArrays,
            strictNullHandling,
            skipNulls,
            encodeDotInKeys,
            generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,
            filter,
            sort,
            allowDots,
            serializeDate,
            format,
            formatter,
            encodeValuesOnly,
            charset,
            valueSideChannel
        ));
    }

    return values;
};

var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
    if (!opts) {
        return defaults;
    }

    if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
        throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
    }

    if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {
        throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
    }

    if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
        throw new TypeError('Encoder has to be a function.');
    }

    var charset = opts.charset || defaults.charset;
    if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
        throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
    }

    var format = formats['default'];
    if (typeof opts.format !== 'undefined') {
        if (!has.call(formats.formatters, opts.format)) {
            throw new TypeError('Unknown format option provided.');
        }
        format = opts.format;
    }
    var formatter = formats.formatters[format];

    var filter = defaults.filter;
    if (typeof opts.filter === 'function' || isArray(opts.filter)) {
        filter = opts.filter;
    }

    var arrayFormat;
    if (opts.arrayFormat in arrayPrefixGenerators) {
        arrayFormat = opts.arrayFormat;
    } else if ('indices' in opts) {
        arrayFormat = opts.indices ? 'indices' : 'repeat';
    } else {
        arrayFormat = defaults.arrayFormat;
    }

    if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
        throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
    }

    var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;

    return {
        addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
        allowDots: allowDots,
        allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
        arrayFormat: arrayFormat,
        charset: charset,
        charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
        commaRoundTrip: !!opts.commaRoundTrip,
        delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
        encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
        encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
        encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
        encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
        filter: filter,
        format: format,
        formatter: formatter,
        serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
        skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
        sort: typeof opts.sort === 'function' ? opts.sort : null,
        strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
    };
};

module.exports = function (object, opts) {
    var obj = object;
    var options = normalizeStringifyOptions(opts);

    var objKeys;
    var filter;

    if (typeof options.filter === 'function') {
        filter = options.filter;
        obj = filter('', obj);
    } else if (isArray(options.filter)) {
        filter = options.filter;
        objKeys = filter;
    }

    var keys = [];

    if (typeof obj !== 'object' || obj === null) {
        return '';
    }

    var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
    var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;

    if (!objKeys) {
        objKeys = Object.keys(obj);
    }

    if (options.sort) {
        objKeys.sort(options.sort);
    }

    var sideChannel = getSideChannel();
    for (var i = 0; i < objKeys.length; ++i) {
        var key = objKeys[i];

        if (typeof key === 'undefined' || key === null) {
            continue;
        }

        var value = obj[key];

        if (options.skipNulls && value === null) {
            continue;
        }
        pushToArray(keys, stringify(
            value,
            key,
            generateArrayPrefix,
            commaRoundTrip,
            options.allowEmptyArrays,
            options.strictNullHandling,
            options.skipNulls,
            options.encodeDotInKeys,
            options.encode ? options.encoder : null,
            options.filter,
            options.sort,
            options.allowDots,
            options.serializeDate,
            options.format,
            options.formatter,
            options.encodeValuesOnly,
            options.charset,
            sideChannel
        ));
    }

    var joined = keys.join(options.delimiter);
    var prefix = options.addQueryPrefix === true ? '?' : '';

    if (options.charsetSentinel) {
        if (options.charset === 'iso-8859-1') {
            // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
            prefix += 'utf8=%26%2310003%3B' + options.delimiter;
        } else {
            // encodeURIComponent('✓')
            prefix += 'utf8=%E2%9C%93' + options.delimiter;
        }
    }

    return joined.length > 0 ? prefix + joined : '';
};


/***/ },

/***/ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/utils.js"
/*!*******************************************************************!*\
  !*** ./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/utils.js ***!
  \*******************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var formats = __webpack_require__(/*! ./formats */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/formats.js");
var getSideChannel = __webpack_require__(/*! side-channel */ "./node_modules/.pnpm/side-channel@1.1.1/node_modules/side-channel/index.js");

var has = Object.prototype.hasOwnProperty;
var isArray = Array.isArray;

// Track objects created from arrayLimit overflow using side-channel
// Stores the current max numeric index for O(1) lookup
var overflowChannel = getSideChannel();

var markOverflow = function markOverflow(obj, maxIndex) {
    overflowChannel.set(obj, maxIndex);
    return obj;
};

var isOverflow = function isOverflow(obj) {
    return overflowChannel.has(obj);
};

var getMaxIndex = function getMaxIndex(obj) {
    return overflowChannel.get(obj);
};

var setMaxIndex = function setMaxIndex(obj, maxIndex) {
    overflowChannel.set(obj, maxIndex);
};

var hexTable = (function () {
    var array = [];
    for (var i = 0; i < 256; ++i) {
        array[array.length] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase();
    }

    return array;
}());

var compactQueue = function compactQueue(queue) {
    while (queue.length > 1) {
        var item = queue.pop();
        var obj = item.obj[item.prop];

        if (isArray(obj)) {
            var compacted = [];

            for (var j = 0; j < obj.length; ++j) {
                if (typeof obj[j] !== 'undefined') {
                    compacted[compacted.length] = obj[j];
                }
            }

            item.obj[item.prop] = compacted;
        }
    }
};

var arrayToObject = function arrayToObject(source, options) {
    var obj = options && options.plainObjects ? { __proto__: null } : {};
    for (var i = 0; i < source.length; ++i) {
        if (typeof source[i] !== 'undefined') {
            obj[i] = source[i];
        }
    }

    return obj;
};

var merge = function merge(target, source, options) {
    /* eslint no-param-reassign: 0 */
    if (!source) {
        return target;
    }

    if (typeof source !== 'object' && typeof source !== 'function') {
        if (isArray(target)) {
            var nextIndex = target.length;
            if (options && typeof options.arrayLimit === 'number' && nextIndex > options.arrayLimit) {
                return markOverflow(arrayToObject(target.concat(source), options), nextIndex);
            }
            target[nextIndex] = source;
        } else if (target && typeof target === 'object') {
            if (isOverflow(target)) {
                // Add at next numeric index for overflow objects
                var newIndex = getMaxIndex(target) + 1;
                target[newIndex] = source;
                setMaxIndex(target, newIndex);
            } else if (options && options.strictMerge) {
                return [target, source];
            } else if (
                (options && (options.plainObjects || options.allowPrototypes))
                || !has.call(Object.prototype, source)
            ) {
                target[source] = true;
            }
        } else {
            return [target, source];
        }

        return target;
    }

    if (!target || typeof target !== 'object') {
        if (isOverflow(source)) {
            // Create new object with target at 0, source values shifted by 1
            var sourceKeys = Object.keys(source);
            var result = options && options.plainObjects
                ? { __proto__: null, 0: target }
                : { 0: target };
            for (var m = 0; m < sourceKeys.length; m++) {
                var oldKey = parseInt(sourceKeys[m], 10);
                result[oldKey + 1] = source[sourceKeys[m]];
            }
            return markOverflow(result, getMaxIndex(source) + 1);
        }
        var combined = [target].concat(source);
        if (options && typeof options.arrayLimit === 'number' && combined.length > options.arrayLimit) {
            return markOverflow(arrayToObject(combined, options), combined.length - 1);
        }
        return combined;
    }

    var mergeTarget = target;
    if (isArray(target) && !isArray(source)) {
        mergeTarget = arrayToObject(target, options);
    }

    if (isArray(target) && isArray(source)) {
        source.forEach(function (item, i) {
            if (has.call(target, i)) {
                var targetItem = target[i];
                if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
                    target[i] = merge(targetItem, item, options);
                } else {
                    target[target.length] = item;
                }
            } else {
                target[i] = item;
            }
        });
        return target;
    }

    return Object.keys(source).reduce(function (acc, key) {
        var value = source[key];

        if (has.call(acc, key)) {
            acc[key] = merge(acc[key], value, options);
        } else {
            acc[key] = value;
        }

        if (isOverflow(source) && !isOverflow(acc)) {
            markOverflow(acc, getMaxIndex(source));
        }
        if (isOverflow(acc)) {
            var keyNum = parseInt(key, 10);
            if (String(keyNum) === key && keyNum >= 0 && keyNum > getMaxIndex(acc)) {
                setMaxIndex(acc, keyNum);
            }
        }

        return acc;
    }, mergeTarget);
};

var assign = function assignSingleSource(target, source) {
    return Object.keys(source).reduce(function (acc, key) {
        acc[key] = source[key];
        return acc;
    }, target);
};

var decode = function (str, defaultDecoder, charset) {
    var strWithoutPlus = str.replace(/\+/g, ' ');
    if (charset === 'iso-8859-1') {
        // unescape never throws, no try...catch needed:
        return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
    }
    // utf-8
    try {
        return decodeURIComponent(strWithoutPlus);
    } catch (e) {
        return strWithoutPlus;
    }
};

var limit = 1024;

/* eslint operator-linebreak: [2, "before"] */

var encode = function encode(str, defaultEncoder, charset, kind, format) {
    // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
    // It has been adapted here for stricter adherence to RFC 3986
    if (str.length === 0) {
        return str;
    }

    var string = str;
    if (typeof str === 'symbol') {
        string = Symbol.prototype.toString.call(str);
    } else if (typeof str !== 'string') {
        string = String(str);
    }

    if (charset === 'iso-8859-1') {
        return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
            return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
        });
    }

    var out = '';
    for (var j = 0; j < string.length; j += limit) {
        var segment = string.length >= limit ? string.slice(j, j + limit) : string;
        var arr = [];

        for (var i = 0; i < segment.length; ++i) {
            var c = segment.charCodeAt(i);
            if (
                c === 0x2D // -
                || c === 0x2E // .
                || c === 0x5F // _
                || c === 0x7E // ~
                || (c >= 0x30 && c <= 0x39) // 0-9
                || (c >= 0x41 && c <= 0x5A) // a-z
                || (c >= 0x61 && c <= 0x7A) // A-Z
                || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
            ) {
                arr[arr.length] = segment.charAt(i);
                continue;
            }

            if (c < 0x80) {
                arr[arr.length] = hexTable[c];
                continue;
            }

            if (c < 0x800) {
                arr[arr.length] = hexTable[0xC0 | (c >> 6)]
                    + hexTable[0x80 | (c & 0x3F)];
                continue;
            }

            if (c < 0xD800 || c >= 0xE000) {
                arr[arr.length] = hexTable[0xE0 | (c >> 12)]
                    + hexTable[0x80 | ((c >> 6) & 0x3F)]
                    + hexTable[0x80 | (c & 0x3F)];
                continue;
            }

            i += 1;
            c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF));

            arr[arr.length] = hexTable[0xF0 | (c >> 18)]
                + hexTable[0x80 | ((c >> 12) & 0x3F)]
                + hexTable[0x80 | ((c >> 6) & 0x3F)]
                + hexTable[0x80 | (c & 0x3F)];
        }

        out += arr.join('');
    }

    return out;
};

var compact = function compact(value) {
    var queue = [{ obj: { o: value }, prop: 'o' }];
    var refs = [];

    for (var i = 0; i < queue.length; ++i) {
        var item = queue[i];
        var obj = item.obj[item.prop];

        var keys = Object.keys(obj);
        for (var j = 0; j < keys.length; ++j) {
            var key = keys[j];
            var val = obj[key];
            if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
                queue[queue.length] = { obj: obj, prop: key };
                refs[refs.length] = val;
            }
        }
    }

    compactQueue(queue);

    return value;
};

var isRegExp = function isRegExp(obj) {
    return Object.prototype.toString.call(obj) === '[object RegExp]';
};

var isBuffer = function isBuffer(obj) {
    if (!obj || typeof obj !== 'object') {
        return false;
    }

    return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
};

var combine = function combine(a, b, arrayLimit, plainObjects) {
    // If 'a' is already an overflow object, add to it
    if (isOverflow(a)) {
        var newIndex = getMaxIndex(a) + 1;
        a[newIndex] = b;
        setMaxIndex(a, newIndex);
        return a;
    }

    var result = [].concat(a, b);
    if (result.length > arrayLimit) {
        return markOverflow(arrayToObject(result, { plainObjects: plainObjects }), result.length - 1);
    }
    return result;
};

var maybeMap = function maybeMap(val, fn) {
    if (isArray(val)) {
        var mapped = [];
        for (var i = 0; i < val.length; i += 1) {
            mapped[mapped.length] = fn(val[i]);
        }
        return mapped;
    }
    return fn(val);
};

module.exports = {
    arrayToObject: arrayToObject,
    assign: assign,
    combine: combine,
    compact: compact,
    decode: decode,
    encode: encode,
    isBuffer: isBuffer,
    isOverflow: isOverflow,
    isRegExp: isRegExp,
    markOverflow: markOverflow,
    maybeMap: maybeMap,
    merge: merge
};


/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/index.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/index.js ***!
  \******************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
__exportStar(__webpack_require__(/*! ./lib/BlankNode */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/BlankNode.js"), exports);
__exportStar(__webpack_require__(/*! ./lib/DataFactory */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/DataFactory.js"), exports);
__exportStar(__webpack_require__(/*! ./lib/DefaultGraph */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/DefaultGraph.js"), exports);
__exportStar(__webpack_require__(/*! ./lib/Literal */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Literal.js"), exports);
__exportStar(__webpack_require__(/*! ./lib/NamedNode */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/NamedNode.js"), exports);
__exportStar(__webpack_require__(/*! ./lib/Quad */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Quad.js"), exports);
__exportStar(__webpack_require__(/*! ./lib/Variable */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Variable.js"), exports);
//# sourceMappingURL=index.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/BlankNode.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/BlankNode.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.BlankNode = void 0;
/**
 * A term that represents an RDF blank node with a label.
 */
class BlankNode {
    constructor(value) {
        this.termType = 'BlankNode';
        this.value = value;
    }
    equals(other) {
        return !!other && other.termType === 'BlankNode' && other.value === this.value;
    }
}
exports.BlankNode = BlankNode;
//# sourceMappingURL=BlankNode.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/DataFactory.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/DataFactory.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.DataFactory = void 0;
const BlankNode_1 = __webpack_require__(/*! ./BlankNode */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/BlankNode.js");
const DefaultGraph_1 = __webpack_require__(/*! ./DefaultGraph */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/DefaultGraph.js");
const Literal_1 = __webpack_require__(/*! ./Literal */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Literal.js");
const NamedNode_1 = __webpack_require__(/*! ./NamedNode */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/NamedNode.js");
const Quad_1 = __webpack_require__(/*! ./Quad */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Quad.js");
const Variable_1 = __webpack_require__(/*! ./Variable */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Variable.js");
let dataFactoryCounter = 0;
/**
 * A factory for instantiating RDF terms and quads.
 */
class DataFactory {
    constructor(options) {
        this.blankNodeCounter = 0;
        options = options || {};
        this.blankNodePrefix = options.blankNodePrefix || `df_${dataFactoryCounter++}_`;
    }
    /**
     * @param value The IRI for the named node.
     * @return A new instance of NamedNode.
     * @see NamedNode
     */
    namedNode(value) {
        return new NamedNode_1.NamedNode(value);
    }
    /**
     * @param value The optional blank node identifier.
     * @return A new instance of BlankNode.
     *         If the `value` parameter is undefined a new identifier
     *         for the blank node is generated for each call.
     * @see BlankNode
     */
    blankNode(value) {
        return new BlankNode_1.BlankNode(value || `${this.blankNodePrefix}${this.blankNodeCounter++}`);
    }
    /**
     * @param value              The literal value.
     * @param languageOrDatatype The optional language or datatype.
     *                           If `languageOrDatatype` is a NamedNode,
     *                           then it is used for the value of `NamedNode.datatype`.
     *                           Otherwise `languageOrDatatype` is used for the value
     *                           of `NamedNode.language`.
     * @return A new instance of Literal.
     * @see Literal
     */
    literal(value, languageOrDatatype) {
        return new Literal_1.Literal(value, languageOrDatatype);
    }
    /**
     * This method is optional.
     * @param value The variable name
     * @return A new instance of Variable.
     * @see Variable
     */
    variable(value) {
        return new Variable_1.Variable(value);
    }
    /**
     * @return An instance of DefaultGraph.
     */
    defaultGraph() {
        return DefaultGraph_1.DefaultGraph.INSTANCE;
    }
    /**
     * @param subject   The quad subject term.
     * @param predicate The quad predicate term.
     * @param object    The quad object term.
     * @param graph     The quad graph term.
     * @return A new instance of Quad.
     * @see Quad
     */
    quad(subject, predicate, object, graph) {
        return new Quad_1.Quad(subject, predicate, object, graph || this.defaultGraph());
    }
    /**
     * Create a deep copy of the given term using this data factory.
     * @param original An RDF term.
     * @return A deep copy of the given term.
     */
    fromTerm(original) {
        // TODO: remove nasty any casts when this TS bug has been fixed:
        //  https://github.com/microsoft/TypeScript/issues/26933
        switch (original.termType) {
            case 'NamedNode':
                return this.namedNode(original.value);
            case 'BlankNode':
                return this.blankNode(original.value);
            case 'Literal':
                if (original.language) {
                    return this.literal(original.value, original.language);
                }
                if (!original.datatype.equals(Literal_1.Literal.XSD_STRING)) {
                    return this.literal(original.value, this.fromTerm(original.datatype));
                }
                return this.literal(original.value);
            case 'Variable':
                return this.variable(original.value);
            case 'DefaultGraph':
                return this.defaultGraph();
            case 'Quad':
                return this.quad(this.fromTerm(original.subject), this.fromTerm(original.predicate), this.fromTerm(original.object), this.fromTerm(original.graph));
        }
    }
    /**
     * Create a deep copy of the given quad using this data factory.
     * @param original An RDF quad.
     * @return A deep copy of the given quad.
     */
    fromQuad(original) {
        return this.fromTerm(original);
    }
    /**
     * Reset the internal blank node counter.
     */
    resetBlankNodeCounter() {
        this.blankNodeCounter = 0;
    }
}
exports.DataFactory = DataFactory;
//# sourceMappingURL=DataFactory.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/DefaultGraph.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/DefaultGraph.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.DefaultGraph = void 0;
/**
 * A singleton term instance that represents the default graph.
 * It's only allowed to assign a DefaultGraph to the .graph property of a Quad.
 */
class DefaultGraph {
    constructor() {
        this.termType = 'DefaultGraph';
        this.value = '';
        // Private constructor
    }
    equals(other) {
        return !!other && other.termType === 'DefaultGraph';
    }
}
exports.DefaultGraph = DefaultGraph;
DefaultGraph.INSTANCE = new DefaultGraph();
//# sourceMappingURL=DefaultGraph.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Literal.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Literal.js ***!
  \************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Literal = void 0;
const NamedNode_1 = __webpack_require__(/*! ./NamedNode */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/NamedNode.js");
/**
 * A term that represents an RDF literal, containing a string with an optional language tag or datatype.
 */
class Literal {
    constructor(value, languageOrDatatype) {
        this.termType = 'Literal';
        this.value = value;
        if (typeof languageOrDatatype === 'string') {
            this.language = languageOrDatatype;
            this.datatype = Literal.RDF_LANGUAGE_STRING;
        }
        else if (languageOrDatatype) {
            this.language = '';
            this.datatype = languageOrDatatype;
        }
        else {
            this.language = '';
            this.datatype = Literal.XSD_STRING;
        }
    }
    equals(other) {
        return !!other && other.termType === 'Literal' && other.value === this.value &&
            other.language === this.language && this.datatype.equals(other.datatype);
    }
}
exports.Literal = Literal;
Literal.RDF_LANGUAGE_STRING = new NamedNode_1.NamedNode('http://www.w3.org/1999/02/22-rdf-syntax-ns#langString');
Literal.XSD_STRING = new NamedNode_1.NamedNode('http://www.w3.org/2001/XMLSchema#string');
//# sourceMappingURL=Literal.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/NamedNode.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/NamedNode.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.NamedNode = void 0;
/**
 * A term that contains an IRI.
 */
class NamedNode {
    constructor(value) {
        this.termType = 'NamedNode';
        this.value = value;
    }
    equals(other) {
        return !!other && other.termType === 'NamedNode' && other.value === this.value;
    }
}
exports.NamedNode = NamedNode;
//# sourceMappingURL=NamedNode.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Quad.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Quad.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Quad = void 0;
/**
 * An instance of DefaultGraph represents the default graph.
 * It's only allowed to assign a DefaultGraph to the .graph property of a Quad.
 */
class Quad {
    constructor(subject, predicate, object, graph) {
        this.termType = 'Quad';
        this.value = '';
        this.subject = subject;
        this.predicate = predicate;
        this.object = object;
        this.graph = graph;
    }
    equals(other) {
        // `|| !other.termType` is for backwards-compatibility with old factories without RDF* support.
        return !!other && (other.termType === 'Quad' || !other.termType) &&
            this.subject.equals(other.subject) &&
            this.predicate.equals(other.predicate) &&
            this.object.equals(other.object) &&
            this.graph.equals(other.graph);
    }
}
exports.Quad = Quad;
//# sourceMappingURL=Quad.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Variable.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/lib/Variable.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Variable = void 0;
/**
 * A term that represents a variable.
 */
class Variable {
    constructor(value) {
        this.termType = 'Variable';
        this.value = value;
    }
    equals(other) {
        return !!other && other.termType === 'Variable' && other.value === this.value;
    }
}
exports.Variable = Variable;
//# sourceMappingURL=Variable.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/index.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/index.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
__exportStar(__webpack_require__(/*! ./lib/RdfXmlParser */ "./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/lib/RdfXmlParser.js"), exports);
//# sourceMappingURL=index.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/lib/ParseError.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/lib/ParseError.js ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.ParseError = void 0;
/**
 * An error that includes line and column in the error message.
 */
class ParseError extends Error {
    constructor(parser, message) {
        const saxParser = parser.saxParser;
        super(parser.trackPosition ? `Line ${saxParser.line} column ${saxParser.column + 1}: ${message}` : message);
    }
}
exports.ParseError = ParseError;
//# sourceMappingURL=ParseError.js.map

/***/ },

/***/ "./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/lib/RdfXmlParser.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/lib/RdfXmlParser.js ***!
  \*******************************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.ParseType = exports.RdfXmlParser = void 0;
const relative_to_absolute_iri_1 = __webpack_require__(/*! relative-to-absolute-iri */ "./node_modules/.pnpm/relative-to-absolute-iri@1.0.8/node_modules/relative-to-absolute-iri/index.js");
const saxes_1 = __webpack_require__(/*! @rubensworks/saxes */ "./node_modules/.pnpm/@rubensworks+saxes@6.0.1/node_modules/@rubensworks/saxes/saxes.js");
const readable_stream_1 = __webpack_require__(/*! readable-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/browser.js");
const ParseError_1 = __webpack_require__(/*! ./ParseError */ "./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/lib/ParseError.js");
const rdf_data_factory_1 = __webpack_require__(/*! rdf-data-factory */ "./node_modules/.pnpm/rdf-data-factory@1.1.3/node_modules/rdf-data-factory/index.js");
const validate_iri_1 = __webpack_require__(/*! validate-iri */ "./node_modules/.pnpm/validate-iri@1.0.1/node_modules/validate-iri/index.js");
class RdfXmlParser extends readable_stream_1.Transform {
    constructor(args) {
        super({ readableObjectMode: true });
        this.activeTagStack = [];
        this.nodeIds = {};
        if (args) {
            Object.assign(this, args);
            this.options = args;
        }
        if (!this.dataFactory) {
            this.dataFactory = new rdf_data_factory_1.DataFactory();
        }
        if (!this.baseIRI) {
            this.baseIRI = '';
        }
        if (!this.defaultGraph) {
            this.defaultGraph = this.dataFactory.defaultGraph();
        }
        if (this.validateUri !== false) {
            this.validateUri = true;
        }
        if (!this.iriValidationStrategy) {
            this.iriValidationStrategy = this.validateUri ? validate_iri_1.IriValidationStrategy.Pragmatic : validate_iri_1.IriValidationStrategy.None;
        }
        this.saxParser = new saxes_1.SaxesParser({ xmlns: true, position: this.trackPosition });
        this.attachSaxListeners();
    }
    /**
     * Parses the given text stream into a quad stream.
     * @param {NodeJS.EventEmitter} stream A text stream.
     * @return {RDF.Stream} A quad stream.
     */
    import(stream) {
        const output = new readable_stream_1.PassThrough({ readableObjectMode: true });
        stream.on('error', (error) => parsed.emit('error', error));
        stream.on('data', (data) => output.push(data));
        stream.on('end', () => output.push(null));
        const parsed = output.pipe(new RdfXmlParser(this.options));
        return parsed;
    }
    _transform(chunk, encoding, callback) {
        try {
            this.saxParser.write(chunk);
        }
        catch (e) {
            return callback(e);
        }
        callback();
    }
    /**
     * Create a new parse error instance.
     * @param {string} message An error message.
     * @return {Error} An error instance.
     */
    newParseError(message) {
        return new ParseError_1.ParseError(this, message);
    }
    /**
     * Convert the given value to a IRI by taking into account the baseIRI.
     *
     * This will follow the RDF/XML spec for converting values with baseIRIs to a IRI.
     *
     * @param {string} value The value to convert to an IRI.
     * @param {IActiveTag} activeTag The active tag.
     * @return {NamedNode} an IRI.
     */
    valueToUri(value, activeTag) {
        return this.uriToNamedNode((0, relative_to_absolute_iri_1.resolve)(value, activeTag.baseIRI));
    }
    /**
     * Convert the given value URI string to a named node.
     *
     * This throw an error if the URI is invalid.
     *
     * @param {string} uri A URI string.
     * @return {NamedNode} a named node.
     */
    uriToNamedNode(uri) {
        // Validate URI
        const uriValidationResult = (0, validate_iri_1.validateIri)(uri, this.iriValidationStrategy);
        if (uriValidationResult instanceof Error) {
            throw this.newParseError(uriValidationResult.message);
        }
        return this.dataFactory.namedNode(uri);
    }
    /**
     * Validate the given value as an NCName: https://www.w3.org/TR/xml-names/#NT-NCName
     * If it is invalid, an error will thrown emitted.
     * @param {string} value A value.
     */
    validateNcname(value) {
        // Validate term as an NCName: https://www.w3.org/TR/xml-names/#NT-NCName
        if (!RdfXmlParser.NCNAME_MATCHER.test(value)) {
            throw this.newParseError(`Not a valid NCName: ${value}`);
        }
    }
    attachSaxListeners() {
        this.saxParser.on('error', (error) => this.emit('error', error));
        this.saxParser.on('opentag', this.onTag.bind(this));
        this.saxParser.on('text', this.onText.bind(this));
        this.saxParser.on('cdata', this.onText.bind(this));
        this.saxParser.on('closetag', this.onCloseTag.bind(this));
        this.saxParser.on('doctype', this.onDoctype.bind(this));
    }
    /**
     * Handle the given tag.
     * @param {SaxesTagNS} tag A SAX tag.
     */
    onTag(tag) {
        // Get parent tag
        const parentTag = this.activeTagStack.length
            ? this.activeTagStack[this.activeTagStack.length - 1] : null;
        let currentParseType = ParseType.RESOURCE;
        if (parentTag) {
            parentTag.hadChildren = true;
            currentParseType = parentTag.childrenParseType;
        }
        // Check if this tag needs to be converted to a string
        if (parentTag && parentTag.childrenStringTags) {
            // Convert this tag to a string
            const tagName = tag.name;
            let attributes = '';
            for (const attributeKey in tag.attributes) {
                attributes += ` ${attributeKey}="${tag.attributes[attributeKey].value}"`;
            }
            const tagContents = `${tagName}${attributes}`;
            const tagString = `<${tagContents}>`;
            parentTag.childrenStringTags.push(tagString);
            // Inherit the array, so that deeper tags are appended to this same array
            const stringActiveTag = { childrenStringTags: parentTag.childrenStringTags };
            stringActiveTag.childrenStringEmitClosingTag = `</${tagName}>`;
            this.activeTagStack.push(stringActiveTag);
            // Halt any further processing
            return;
        }
        const activeTag = {};
        if (parentTag) {
            // Inherit language scope and baseIRI from parent
            activeTag.language = parentTag.language;
            activeTag.baseIRI = parentTag.baseIRI;
        }
        else {
            activeTag.baseIRI = this.baseIRI;
        }
        this.activeTagStack.push(activeTag);
        if (currentParseType === ParseType.RESOURCE) {
            this.onTagResource(tag, activeTag, parentTag, !parentTag);
        }
        else { // currentParseType === ParseType.PROPERTY
            this.onTagProperty(tag, activeTag, parentTag);
        }
    }
    /**
     * Handle the given node element in resource-mode.
     * @param {SaxesTagNS} tag A SAX tag.
     * @param {IActiveTag} activeTag The currently active tag.
     * @param {IActiveTag} parentTag The parent tag or null.
     * @param {boolean} rootTag If we are currently processing the root tag.
     */
    onTagResource(tag, activeTag, parentTag, rootTag) {
        activeTag.childrenParseType = ParseType.PROPERTY;
        // Assume that the current node is a _typed_ node (2.13), unless we find an rdf:Description as node name
        let typedNode = true;
        if (tag.uri === RdfXmlParser.RDF) {
            // Check forbidden property element names
            if (!rootTag && RdfXmlParser.FORBIDDEN_NODE_ELEMENTS.indexOf(tag.local) >= 0) {
                throw this.newParseError(`Illegal node element name: ${tag.local}`);
            }
            switch (tag.local) {
                case 'RDF':
                    // Tags under <rdf:RDF> must always be resources
                    activeTag.childrenParseType = ParseType.RESOURCE;
                case 'Description':
                    typedNode = false;
            }
        }
        const predicates = [];
        const objects = [];
        // Collect all attributes as triples
        // Assign subject value only after all attributes have been processed, because baseIRI may change the final val
        let activeSubjectValue = null;
        let claimSubjectNodeId = false;
        let subjectValueBlank = false;
        let explicitType = null;
        for (const attributeKey in tag.attributes) {
            const attribute = tag.attributes[attributeKey];
            if (parentTag && attribute.uri === RdfXmlParser.RDF) {
                switch (attribute.local) {
                    case 'about':
                        if (activeSubjectValue) {
                            throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, \
while ${attribute.value} and ${activeSubjectValue} where found.`);
                        }
                        activeSubjectValue = attribute.value;
                        continue;
                    case 'ID':
                        if (activeSubjectValue) {
                            throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, \
while ${attribute.value} and ${activeSubjectValue} where found.`);
                        }
                        this.validateNcname(attribute.value);
                        activeSubjectValue = '#' + attribute.value;
                        claimSubjectNodeId = true;
                        continue;
                    case 'nodeID':
                        if (activeSubjectValue) {
                            throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, \
while ${attribute.value} and ${activeSubjectValue} where found.`);
                        }
                        this.validateNcname(attribute.value);
                        activeSubjectValue = attribute.value;
                        subjectValueBlank = true;
                        continue;
                    case 'bagID':
                        throw this.newParseError(`rdf:bagID is not supported.`);
                    case 'type':
                        // Emit the rdf:type later as named node instead of the default literal
                        explicitType = attribute.value;
                        continue;
                    case 'aboutEach':
                        throw this.newParseError(`rdf:aboutEach is not supported.`);
                    case 'aboutEachPrefix':
                        throw this.newParseError(`rdf:aboutEachPrefix is not supported.`);
                    case 'li':
                        throw this.newParseError(`rdf:li on node elements are not supported.`);
                }
            }
            else if (attribute.uri === RdfXmlParser.XML) {
                if (attribute.local === 'lang') {
                    activeTag.language = attribute.value === '' ? null : attribute.value.toLowerCase();
                    continue;
                }
                else if (attribute.local === 'base') {
                    // SAX Parser does not expand xml:base, based on DOCTYPE, so we have to do it manually
                    activeTag.baseIRI = (0, relative_to_absolute_iri_1.resolve)(attribute.value, activeTag.baseIRI);
                    continue;
                }
            }
            // Interpret attributes at this point as properties on this node,
            // but we ignore attributes that have no prefix or known expanded URI
            if (attribute.prefix !== 'xml' && attribute.prefix !== 'xmlns'
                && (attribute.prefix !== '' || attribute.local !== 'xmlns')
                && attribute.uri) {
                predicates.push(this.uriToNamedNode(attribute.uri + attribute.local));
                objects.push(attribute.value);
            }
        }
        // Create the subject value _after_ all attributes have been processed
        if (activeSubjectValue !== null) {
            activeTag.subject = subjectValueBlank
                ? this.dataFactory.blankNode(activeSubjectValue) : this.valueToUri(activeSubjectValue, activeTag);
            if (claimSubjectNodeId) {
                this.claimNodeId(activeTag.subject);
            }
        }
        // Force the creation of a subject if it doesn't exist yet
        if (!activeTag.subject) {
            activeTag.subject = this.dataFactory.blankNode();
        }
        // Emit the type if we're at a typed node
        if (typedNode) {
            const type = this.uriToNamedNode(tag.uri + tag.local);
            this.emitTriple(activeTag.subject, this.dataFactory.namedNode(RdfXmlParser.RDF + 'type'), type, parentTag ? parentTag.reifiedStatementId : null);
        }
        if (parentTag) {
            // If the parent tag defined a predicate, add the current tag as property value
            if (parentTag.predicate) {
                if (parentTag.childrenCollectionSubject) {
                    // RDF:List-based properties
                    const linkTerm = this.dataFactory.blankNode();
                    // Emit <x> <p> <current-chain> OR <previous-chain> <rdf:rest> <current-chain>
                    this.emitTriple(parentTag.childrenCollectionSubject, parentTag.childrenCollectionPredicate, linkTerm, parentTag.reifiedStatementId);
                    // Emit <current-chain> <rdf:first> value
                    this.emitTriple(linkTerm, this.dataFactory.namedNode(RdfXmlParser.RDF + 'first'), activeTag.subject, activeTag.reifiedStatementId);
                    // Store <current-chain> in the parent node
                    parentTag.childrenCollectionSubject = linkTerm;
                    parentTag.childrenCollectionPredicate = this.dataFactory.namedNode(RdfXmlParser.RDF + 'rest');
                }
                else { // !parentTag.predicateEmitted
                    // Set-based properties
                    this.emitTriple(parentTag.subject, parentTag.predicate, activeTag.subject, parentTag.reifiedStatementId);
                    // Emit pending properties on the parent tag that had no defined subject yet.
                    for (let i = 0; i < parentTag.predicateSubPredicates.length; i++) {
                        this.emitTriple(activeTag.subject, parentTag.predicateSubPredicates[i], parentTag.predicateSubObjects[i], null);
                    }
                    // Cleanup so we don't emit them again when the parent tag is closed
                    parentTag.predicateSubPredicates = [];
                    parentTag.predicateSubObjects = [];
                    parentTag.predicateEmitted = true;
                }
            }
            // Emit all collected triples
            for (let i = 0; i < predicates.length; i++) {
                const object = this.dataFactory.literal(objects[i], activeTag.datatype || activeTag.language);
                this.emitTriple(activeTag.subject, predicates[i], object, parentTag.reifiedStatementId);
            }
            // Emit the rdf:type as named node instead of literal
            if (explicitType) {
                this.emitTriple(activeTag.subject, this.dataFactory.namedNode(RdfXmlParser.RDF + 'type'), this.uriToNamedNode(explicitType), null);
            }
        }
    }
    /**
     * Handle the given property element in property-mode.
     * @param {SaxesTagNS} tag A SAX tag.
     * @param {IActiveTag} activeTag The currently active tag.
     * @param {IActiveTag} parentTag The parent tag or null.
     */
    onTagProperty(tag, activeTag, parentTag) {
        activeTag.childrenParseType = ParseType.RESOURCE;
        activeTag.subject = parentTag.subject; // Inherit parent subject
        if (tag.uri === RdfXmlParser.RDF && tag.local === 'li') {
            // Convert rdf:li to rdf:_x
            if (!parentTag.listItemCounter) {
                parentTag.listItemCounter = 1;
            }
            activeTag.predicate = this.uriToNamedNode(tag.uri + '_' + parentTag.listItemCounter++);
        }
        else {
            activeTag.predicate = this.uriToNamedNode(tag.uri + tag.local);
        }
        // Check forbidden property element names
        if (tag.uri === RdfXmlParser.RDF
            && RdfXmlParser.FORBIDDEN_PROPERTY_ELEMENTS.indexOf(tag.local) >= 0) {
            throw this.newParseError(`Illegal property element name: ${tag.local}`);
        }
        activeTag.predicateSubPredicates = [];
        activeTag.predicateSubObjects = [];
        let parseType = false;
        let attributedProperty = false;
        // Collect all attributes as triples
        // Assign subject value only after all attributes have been processed, because baseIRI may change the final val
        let activeSubSubjectValue = null;
        let subSubjectValueBlank = true;
        const predicates = [];
        const objects = [];
        for (const propertyAttributeKey in tag.attributes) {
            const propertyAttribute = tag.attributes[propertyAttributeKey];
            if (propertyAttribute.uri === RdfXmlParser.RDF) {
                switch (propertyAttribute.local) {
                    case 'resource':
                        if (activeSubSubjectValue) {
                            throw this.newParseError(`Found both rdf:resource (${propertyAttribute.value}) and rdf:nodeID (${activeSubSubjectValue}).`);
                        }
                        if (parseType) {
                            throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:resource (${propertyAttribute.value})`);
                        }
                        activeTag.hadChildren = true;
                        activeSubSubjectValue = propertyAttribute.value;
                        subSubjectValueBlank = false;
                        continue;
                    case 'datatype':
                        if (attributedProperty) {
                            throw this.newParseError(`Found both non-rdf:* property attributes and rdf:datatype (${propertyAttribute.value}).`);
                        }
                        if (parseType) {
                            throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${propertyAttribute.value})`);
                        }
                        activeTag.datatype = this.valueToUri(propertyAttribute.value, activeTag);
                        continue;
                    case 'nodeID':
                        if (attributedProperty) {
                            throw this.newParseError(`Found both non-rdf:* property attributes and rdf:nodeID (${propertyAttribute.value}).`);
                        }
                        if (activeTag.hadChildren) {
                            throw this.newParseError(`Found both rdf:resource and rdf:nodeID (${propertyAttribute.value}).`);
                        }
                        if (parseType) {
                            throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID (${propertyAttribute.value})`);
                        }
                        this.validateNcname(propertyAttribute.value);
                        activeTag.hadChildren = true;
                        activeSubSubjectValue = propertyAttribute.value;
                        subSubjectValueBlank = true;
                        continue;
                    case 'bagID':
                        throw this.newParseError(`rdf:bagID is not supported.`);
                    case 'parseType':
                        // Validation
                        if (attributedProperty) {
                            throw this.newParseError(`rdf:parseType is not allowed when non-rdf:* property attributes are present`);
                        }
                        if (activeTag.datatype) {
                            throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${activeTag.datatype.value})`);
                        }
                        if (activeSubSubjectValue) {
                            throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID or rdf:resource (${activeSubSubjectValue})`);
                        }
                        if (propertyAttribute.value === 'Resource') {
                            parseType = true;
                            activeTag.childrenParseType = ParseType.PROPERTY;
                            // Turn this property element into a node element
                            const nestedBNode = this.dataFactory.blankNode();
                            this.emitTriple(activeTag.subject, activeTag.predicate, nestedBNode, activeTag.reifiedStatementId);
                            activeTag.subject = nestedBNode;
                            activeTag.predicate = null;
                        }
                        else if (propertyAttribute.value === 'Collection') {
                            parseType = true;
                            // Interpret children as being part of an rdf:List
                            activeTag.hadChildren = true;
                            activeTag.childrenCollectionSubject = activeTag.subject;
                            activeTag.childrenCollectionPredicate = activeTag.predicate;
                            subSubjectValueBlank = false;
                        }
                        else if (propertyAttribute.value === 'Literal') {
                            parseType = true;
                            // Interpret children as being part of a literal string
                            activeTag.childrenTagsToString = true;
                            activeTag.childrenStringTags = [];
                        }
                        continue;
                    case 'ID':
                        this.validateNcname(propertyAttribute.value);
                        activeTag.reifiedStatementId = this.valueToUri('#' + propertyAttribute.value, activeTag);
                        this.claimNodeId(activeTag.reifiedStatementId);
                        continue;
                }
            }
            else if (propertyAttribute.uri === RdfXmlParser.XML && propertyAttribute.local === 'lang') {
                activeTag.language = propertyAttribute.value === ''
                    ? null : propertyAttribute.value.toLowerCase();
                continue;
            }
            // Interpret attributes at this point as properties via implicit blank nodes on the property,
            // but we ignore attributes that have no prefix or known expanded URI
            if (propertyAttribute.prefix !== 'xml' && propertyAttribute.prefix !== 'xmlns'
                && (propertyAttribute.prefix !== '' || propertyAttribute.local !== 'xmlns')
                && propertyAttribute.uri) {
                if (parseType || activeTag.datatype) {
                    throw this.newParseError(`Found illegal rdf:* properties on property element with attribute: ${propertyAttribute.value}`);
                }
                activeTag.hadChildren = true;
                attributedProperty = true;
                predicates.push(this.uriToNamedNode(propertyAttribute.uri + propertyAttribute.local));
                objects.push(this.dataFactory.literal(propertyAttribute.value, activeTag.datatype || activeTag.language));
            }
        }
        // Create the subject value _after_ all attributes have been processed
        if (activeSubSubjectValue !== null) {
            const subjectParent = activeTag.subject;
            activeTag.subject = subSubjectValueBlank
                ? this.dataFactory.blankNode(activeSubSubjectValue) : this.valueToUri(activeSubSubjectValue, activeTag);
            this.emitTriple(subjectParent, activeTag.predicate, activeTag.subject, activeTag.reifiedStatementId);
            // Emit our buffered triples
            for (let i = 0; i < predicates.length; i++) {
                this.emitTriple(activeTag.subject, predicates[i], objects[i], null);
            }
            activeTag.predicateEmitted = true;
        }
        else if (subSubjectValueBlank) {
            // The current property element has no defined subject
            // Let's buffer the properties until the child node defines a subject,
            // or if the tag closes.
            activeTag.predicateSubPredicates = predicates;
            activeTag.predicateSubObjects = objects;
            activeTag.predicateEmitted = false;
        }
    }
    /**
     * Emit the given triple to the stream.
     * @param {Term} subject A subject term.
     * @param {Term} predicate A predicate term.
     * @param {Term} object An object term.
     * @param {Term} statementId An optional resource that identifies the triple.
     *                           If truthy, then the given triple will also be emitted reified.
     */
    emitTriple(subject, predicate, object, statementId) {
        this.push(this.dataFactory.quad(subject, predicate, object, this.defaultGraph));
        // Reify triple
        if (statementId) {
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'type'), this.dataFactory.namedNode(RdfXmlParser.RDF + 'Statement'), this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'subject'), subject, this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'predicate'), predicate, this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'object'), object, this.defaultGraph));
        }
    }
    /**
     * Register the given term as a node ID.
     * If one was already registered, this will emit an error.
     *
     * This is used to check duplicate occurrences of rdf:ID in scope of the baseIRI.
     * @param {Term} term An RDF term.
     */
    claimNodeId(term) {
        if (!this.allowDuplicateRdfIds) {
            if (this.nodeIds[term.value]) {
                throw this.newParseError(`Found multiple occurrences of rdf:ID='${term.value}'.`);
            }
            this.nodeIds[term.value] = true;
        }
    }
    /**
     * Handle the given text string.
     * @param {string} text A parsed text string.
     */
    onText(text) {
        const activeTag = this.activeTagStack.length
            ? this.activeTagStack[this.activeTagStack.length - 1] : null;
        if (activeTag) {
            if (activeTag.childrenStringTags) {
                activeTag.childrenStringTags.push(text);
            }
            else if (activeTag.predicate) {
                activeTag.text = text;
            }
        }
    }
    /**
     * Handle the closing of the last tag.
     */
    onCloseTag() {
        const poppedTag = this.activeTagStack.pop();
        // If we were converting a tag to a string, and the tag was not self-closing, close it here.
        if (poppedTag.childrenStringEmitClosingTag) {
            poppedTag.childrenStringTags.push(poppedTag.childrenStringEmitClosingTag);
        }
        // Set the literal value if we were collecting XML tags to string
        if (poppedTag.childrenTagsToString) {
            poppedTag.datatype = this.dataFactory.namedNode(RdfXmlParser.RDF + 'XMLLiteral');
            poppedTag.text = poppedTag.childrenStringTags.join('');
            poppedTag.hadChildren = false; // Force a literal triple to be emitted hereafter
        }
        if (poppedTag.childrenCollectionSubject) {
            // Terminate the rdf:List
            this.emitTriple(poppedTag.childrenCollectionSubject, poppedTag.childrenCollectionPredicate, this.dataFactory.namedNode(RdfXmlParser.RDF + 'nil'), poppedTag.reifiedStatementId);
        }
        else if (poppedTag.predicate) {
            if (!poppedTag.hadChildren && poppedTag.childrenParseType !== ParseType.PROPERTY) {
                // Property element contains text
                this.emitTriple(poppedTag.subject, poppedTag.predicate, this.dataFactory.literal(poppedTag.text || '', poppedTag.datatype || poppedTag.language), poppedTag.reifiedStatementId);
            }
            else if (!poppedTag.predicateEmitted) {
                // Emit remaining properties on an anonymous property element
                const subject = this.dataFactory.blankNode();
                this.emitTriple(poppedTag.subject, poppedTag.predicate, subject, poppedTag.reifiedStatementId);
                for (let i = 0; i < poppedTag.predicateSubPredicates.length; i++) {
                    this.emitTriple(subject, poppedTag.predicateSubPredicates[i], poppedTag.predicateSubObjects[i], null);
                }
            }
        }
    }
    /**
     * Fetch local DOCTYPE ENTITY's and make the parser recognise them.
     * @param {string} doctype The read doctype.
     */
    onDoctype(doctype) {
        doctype.replace(/<!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*>/g, (match, prefix, uri) => {
            this.saxParser.ENTITIES[prefix] = uri;
            return '';
        });
    }
}
exports.RdfXmlParser = RdfXmlParser;
RdfXmlParser.MIME_TYPE = 'application/rdf+xml';
RdfXmlParser.RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
RdfXmlParser.XML = 'http://www.w3.org/XML/1998/namespace';
RdfXmlParser.FORBIDDEN_NODE_ELEMENTS = [
    'RDF',
    'ID',
    'about',
    'bagID',
    'parseType',
    'resource',
    'nodeID',
    'li',
    'aboutEach',
    'aboutEachPrefix',
];
RdfXmlParser.FORBIDDEN_PROPERTY_ELEMENTS = [
    'Description',
    'RDF',
    'ID',
    'about',
    'bagID',
    'parseType',
    'resource',
    'nodeID',
    'aboutEach',
    'aboutEachPrefix',
];
// tslint:disable-next-line:max-line-length
RdfXmlParser.NCNAME_MATCHER = /^([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_])([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_\-.0-9#xB7\u{0300}-\u{036F}\u{203F}-\u{2040}])*$/u;
var ParseType;
(function (ParseType) {
    ParseType[ParseType["RESOURCE"] = 0] = "RESOURCE";
    ParseType[ParseType["PROPERTY"] = 1] = "PROPERTY";
})(ParseType || (exports.ParseType = ParseType = {}));
//# sourceMappingURL=RdfXmlParser.js.map

/***/ },

/***/ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js ***!
  \**************************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
/**
 * @license React
 * react-dom.development.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.
 */



if (true) {
  (function() {

          'use strict';

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
    'function'
) {
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
          var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
var Scheduler = __webpack_require__(/*! scheduler */ "./node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js");

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

var suppressWarning = false;
function setSuppressWarning(newSuppressWarning) {
  {
    suppressWarning = newSuppressWarning;
  }
} // In DEV, calls to console.warn and console.error get replaced
// by calls to these methods by a Babel plugin.
//
// In PROD (or in packages without access to React internals),
// they are left as they are instead.

function warn(format) {
  {
    if (!suppressWarning) {
      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
        args[_key - 1] = arguments[_key];
      }

      printWarning('warn', format, args);
    }
  }
}
function error(format) {
  {
    if (!suppressWarning) {
      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
        args[_key2 - 1] = arguments[_key2];
      }

      printWarning('error', format, args);
    }
  }
}

function printWarning(level, format, args) {
  // When changing this logic, you might want to also
  // update consoleWithStackDev.www.js as well.
  {
    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
    var stack = ReactDebugCurrentFrame.getStackAddendum();

    if (stack !== '') {
      format += '%s';
      args = args.concat([stack]);
    } // eslint-disable-next-line react-internal/safe-string-coercion


    var argsWithFormat = args.map(function (item) {
      return String(item);
    }); // Careful: RN currently depends on this prefix

    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
    // breaks IE9: https://github.com/facebook/react/issues/13610
    // eslint-disable-next-line react-internal/no-production-logging

    Function.prototype.apply.call(console[level], console, argsWithFormat);
  }
}

var FunctionComponent = 0;
var ClassComponent = 1;
var IndeterminateComponent = 2; // Before we know whether it is function or class

var HostRoot = 3; // Root of a host tree. Could be nested inside another node.

var HostPortal = 4; // A subtree. Could be an entry point to a different renderer.

var HostComponent = 5;
var HostText = 6;
var Fragment = 7;
var Mode = 8;
var ContextConsumer = 9;
var ContextProvider = 10;
var ForwardRef = 11;
var Profiler = 12;
var SuspenseComponent = 13;
var MemoComponent = 14;
var SimpleMemoComponent = 15;
var LazyComponent = 16;
var IncompleteClassComponent = 17;
var DehydratedFragment = 18;
var SuspenseListComponent = 19;
var ScopeComponent = 21;
var OffscreenComponent = 22;
var LegacyHiddenComponent = 23;
var CacheComponent = 24;
var TracingMarkerComponent = 25;

// -----------------------------------------------------------------------------

var enableClientRenderFallbackOnTextMismatch = true; // TODO: Need to review this code one more time before landing
// the react-reconciler package.

var enableNewReconciler = false; // Support legacy Primer support on internal FB www

var enableLazyContextPropagation = false; // FB-only usage. The new API has different semantics.

var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber

var enableSuspenseAvoidThisFallback = false; // Enables unstable_avoidThisFallback feature in Fizz
// React DOM Chopping Block
//
// Similar to main Chopping Block but only flags related to React DOM. These are
// grouped because we will likely batch all of them into a single major release.
// -----------------------------------------------------------------------------
// Disable support for comment nodes as React DOM containers. Already disabled
// in open source, but www codebase still relies on it. Need to remove.

var disableCommentsAsDOMContainers = true; // Disable javascript: URL strings in href for XSS protection.
// and client rendering, mostly to allow JSX attributes to apply to the custom
// element's object properties instead of only HTML attributes.
// https://github.com/facebook/react/issues/11347

var enableCustomElementPropertySupport = false; // Disables children for <textarea> elements
var warnAboutStringRefs = true; // -----------------------------------------------------------------------------
// Debugging and DevTools
// -----------------------------------------------------------------------------
// Adds user timing marks for e.g. state updates, suspense, and work loop stuff,
// for an experimental timeline tool.

var enableSchedulingProfiler = true; // Helps identify side effects in render-phase lifecycle hooks and setState

var enableProfilerTimer = true; // Record durations for commit and passive effects phases.

var enableProfilerCommitHooks = true; // Phase param passed to onRender callback differentiates between an "update" and a "cascading-update".

var allNativeEvents = new Set();
/**
 * Mapping from registration name to event name
 */


var registrationNameDependencies = {};
/**
 * Mapping from lowercase registration names to the properly cased version,
 * used to warn in the case of missing event handlers. Available
 * only in true.
 * @type {Object}
 */

var possibleRegistrationNames =  {} ; // Trust the developer to only use possibleRegistrationNames in true

function registerTwoPhaseEvent(registrationName, dependencies) {
  registerDirectEvent(registrationName, dependencies);
  registerDirectEvent(registrationName + 'Capture', dependencies);
}
function registerDirectEvent(registrationName, dependencies) {
  {
    if (registrationNameDependencies[registrationName]) {
      error('EventRegistry: More than one plugin attempted to publish the same ' + 'registration name, `%s`.', registrationName);
    }
  }

  registrationNameDependencies[registrationName] = dependencies;

  {
    var lowerCasedName = registrationName.toLowerCase();
    possibleRegistrationNames[lowerCasedName] = registrationName;

    if (registrationName === 'onDoubleClick') {
      possibleRegistrationNames.ondblclick = registrationName;
    }
  }

  for (var i = 0; i < dependencies.length; i++) {
    allNativeEvents.add(dependencies[i]);
  }
}

var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');

var hasOwnProperty = Object.prototype.hasOwnProperty;

/*
 * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
 * and Temporal.* types. See https://github.com/facebook/react/pull/22064.
 *
 * The functions in this module will throw an easier-to-understand,
 * easier-to-debug exception with a clear errors message message explaining the
 * problem. (Instead of a confusing exception thrown inside the implementation
 * of the `value` object).
 */
// $FlowFixMe only called in DEV, so void return is not possible.
function typeName(value) {
  {
    // toStringTag is needed for namespaced types like Temporal.Instant
    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
    return type;
  }
} // $FlowFixMe only called in DEV, so void return is not possible.


function willCoercionThrow(value) {
  {
    try {
      testStringCoercion(value);
      return false;
    } catch (e) {
      return true;
    }
  }
}

function testStringCoercion(value) {
  // If you ended up here by following an exception call stack, here's what's
  // happened: you supplied an object or symbol value to React (as a prop, key,
  // DOM attribute, CSS property, string ref, etc.) and when React tried to
  // coerce it to a string using `'' + value`, an exception was thrown.
  //
  // The most common types that will cause this exception are `Symbol` instances
  // and Temporal objects like `Temporal.Instant`. But any object that has a
  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this
  // exception. (Library authors do this to prevent users from using built-in
  // numeric operators like `+` or comparison operators like `>=` because custom
  // methods are needed to perform accurate arithmetic or comparison.)
  //
  // To fix the problem, coerce this object or symbol value to a string before
  // passing it to React. The most reliable way is usually `String(value)`.
  //
  // To find which value is throwing, check the browser or debugger console.
  // Before this exception was thrown, there should be `console.error` output
  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the
  // problem and how that type was used: key, atrribute, input value prop, etc.
  // In most cases, this console output also shows the component and its
  // ancestor components where the exception happened.
  //
  // eslint-disable-next-line react-internal/safe-string-coercion
  return '' + value;
}

function checkAttributeStringCoercion(value, attributeName) {
  {
    if (willCoercionThrow(value)) {
      error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}
function checkKeyStringCoercion(value) {
  {
    if (willCoercionThrow(value)) {
      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}
function checkPropStringCoercion(value, propName) {
  {
    if (willCoercionThrow(value)) {
      error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}
function checkCSSPropertyStringCoercion(value, propName) {
  {
    if (willCoercionThrow(value)) {
      error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}
function checkHtmlStringCoercion(value) {
  {
    if (willCoercionThrow(value)) {
      error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}
function checkFormFieldValueStringCoercion(value) {
  {
    if (willCoercionThrow(value)) {
      error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}

// A reserved attribute.
// It is handled by React separately and shouldn't be written to the DOM.
var RESERVED = 0; // A simple string attribute.
// Attributes that aren't in the filter are presumed to have this type.

var STRING = 1; // A string attribute that accepts booleans in React. In HTML, these are called
// "enumerated" attributes with "true" and "false" as possible values.
// When true, it should be set to a "true" string.
// When false, it should be set to a "false" string.

var BOOLEANISH_STRING = 2; // A real boolean attribute.
// When true, it should be present (set either to an empty string or its name).
// When false, it should be omitted.

var BOOLEAN = 3; // An attribute that can be used as a flag as well as with a value.
// When true, it should be present (set either to an empty string or its name).
// When false, it should be omitted.
// For any other value, should be present with that value.

var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a numeric.
// When falsy, it should be removed.

var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
// When falsy, it should be removed.

var POSITIVE_NUMERIC = 6;

/* eslint-disable max-len */
var ATTRIBUTE_NAME_START_CHAR = ":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";
/* eslint-enable max-len */

var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + ATTRIBUTE_NAME_START_CHAR + '][' + ATTRIBUTE_NAME_CHAR + ']*$');
var illegalAttributeNameCache = {};
var validatedAttributeNameCache = {};
function isAttributeNameSafe(attributeName) {
  if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) {
    return true;
  }

  if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) {
    return false;
  }

  if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {
    validatedAttributeNameCache[attributeName] = true;
    return true;
  }

  illegalAttributeNameCache[attributeName] = true;

  {
    error('Invalid attribute name: `%s`', attributeName);
  }

  return false;
}
function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) {
  if (propertyInfo !== null) {
    return propertyInfo.type === RESERVED;
  }

  if (isCustomComponentTag) {
    return false;
  }

  if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) {
    return true;
  }

  return false;
}
function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) {
  if (propertyInfo !== null && propertyInfo.type === RESERVED) {
    return false;
  }

  switch (typeof value) {
    case 'function': // $FlowIssue symbol is perfectly valid here

    case 'symbol':
      // eslint-disable-line
      return true;

    case 'boolean':
      {
        if (isCustomComponentTag) {
          return false;
        }

        if (propertyInfo !== null) {
          return !propertyInfo.acceptsBooleans;
        } else {
          var prefix = name.toLowerCase().slice(0, 5);
          return prefix !== 'data-' && prefix !== 'aria-';
        }
      }

    default:
      return false;
  }
}
function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) {
  if (value === null || typeof value === 'undefined') {
    return true;
  }

  if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) {
    return true;
  }

  if (isCustomComponentTag) {

    return false;
  }

  if (propertyInfo !== null) {

    switch (propertyInfo.type) {
      case BOOLEAN:
        return !value;

      case OVERLOADED_BOOLEAN:
        return value === false;

      case NUMERIC:
        return isNaN(value);

      case POSITIVE_NUMERIC:
        return isNaN(value) || value < 1;
    }
  }

  return false;
}
function getPropertyInfo(name) {
  return properties.hasOwnProperty(name) ? properties[name] : null;
}

function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
  this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
  this.attributeName = attributeName;
  this.attributeNamespace = attributeNamespace;
  this.mustUseProperty = mustUseProperty;
  this.propertyName = name;
  this.type = type;
  this.sanitizeURL = sanitizeURL;
  this.removeEmptyString = removeEmptyString;
} // When adding attributes to this list, be sure to also add them to
// the `possibleStandardNames` module to ensure casing and incorrect
// name warnings.


var properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.

var reservedProps = ['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'];

reservedProps.forEach(function (name) {
  properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
  name, // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // A few React string attributes have a different name.
// This is a mapping from React prop names to the attribute names.

[['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {
  var name = _ref[0],
      attributeName = _ref[1];
  properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  attributeName, // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These are "enumerated" HTML attributes that accept "true" and "false".
// In React, we let users pass `true` and `false` even though technically
// these aren't boolean attributes (they are coerced to strings).

['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
  properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
  name.toLowerCase(), // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These are "enumerated" SVG attributes that accept "true" and "false".
// In React, we let users pass `true` and `false` even though technically
// these aren't boolean attributes (they are coerced to strings).
// Since these are SVG attributes, their attribute names are case-sensitive.

['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
  properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
  name, // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These are HTML boolean attributes.

['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 (name) {
  properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
  name.toLowerCase(), // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These are the few React props that we set as DOM properties
// rather than attributes. These are all booleans.

['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 (name) {
  properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
  name, // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These are HTML attributes that are "overloaded booleans": they behave like
// booleans, but can also accept a string value.

['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 (name) {
  properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
  name, // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These are HTML attributes that must be positive numbers.

['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 (name) {
  properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
  name, // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These are HTML attributes that must be numbers.

['rowSpan', 'start'].forEach(function (name) {
  properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
  name.toLowerCase(), // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
});
var CAMELIZE = /[\-\:]([a-z])/g;

var capitalize = function (token) {
  return token[1].toUpperCase();
}; // This is a list of all SVG attributes that need special casing, namespacing,
// or boolean value assignment. Regular attributes that just accept strings
// and have the same names are omitted, just like in the HTML attribute filter.
// Some of these attributes can be hard to find. This list was created by
// scraping the MDN documentation.


['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 (attributeName) {
  var name = attributeName.replace(CAMELIZE, capitalize);
  properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  attributeName, null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // String SVG attributes with the xlink namespace.

['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 (attributeName) {
  var name = attributeName.replace(CAMELIZE, capitalize);
  properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
  false);
}); // String SVG attributes with the xml namespace.

['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 (attributeName) {
  var name = attributeName.replace(CAMELIZE, capitalize);
  properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
  false);
}); // These attribute exists both in HTML and SVG.
// The attribute name is case-sensitive in SVG so we can't just use
// the React name like we do for attributes that exist only in HTML.

['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
  properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
  attributeName.toLowerCase(), // attributeName
  null, // attributeNamespace
  false, // sanitizeURL
  false);
}); // These attributes accept URLs. These must not allow javascript: URLS.
// These will also need to accept Trusted Types object in the future.

var xlinkHref = 'xlinkHref';
properties[xlinkHref] = new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
false);
['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
  properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
  attributeName.toLowerCase(), // attributeName
  null, // attributeNamespace
  true, // sanitizeURL
  true);
});

// and any newline or tab are filtered out as if they're not part of the URL.
// https://url.spec.whatwg.org/#url-parsing
// Tab or newline are defined as \r\n\t:
// https://infra.spec.whatwg.org/#ascii-tab-or-newline
// A C0 control is a code point in the range \u0000 NULL to \u001F
// INFORMATION SEPARATOR ONE, inclusive:
// https://infra.spec.whatwg.org/#c0-control-or-space

/* eslint-disable max-len */

var isJavaScriptProtocol = /^[\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;
var didWarn = false;

function sanitizeURL(url) {
  {
    if (!didWarn && isJavaScriptProtocol.test(url)) {
      didWarn = true;

      error('A future version of React will block javascript: URLs as a security precaution. ' + 'Use event handlers instead if you can. If you need to generate unsafe HTML try ' + 'using dangerouslySetInnerHTML instead. React was passed %s.', JSON.stringify(url));
    }
  }
}

/**
 * Get the value for a property on a node. Only used in DEV for SSR validation.
 * The "expected" argument is used as a hint of what the expected value is.
 * Some properties have multiple equivalent values.
 */
function getValueForProperty(node, name, expected, propertyInfo) {
  {
    if (propertyInfo.mustUseProperty) {
      var propertyName = propertyInfo.propertyName;
      return node[propertyName];
    } else {
      // This check protects multiple uses of `expected`, which is why the
      // react-internal/safe-string-coercion rule is disabled in several spots
      // below.
      {
        checkAttributeStringCoercion(expected, name);
      }

      if ( propertyInfo.sanitizeURL) {
        // If we haven't fully disabled javascript: URLs, and if
        // the hydration is successful of a javascript: URL, we
        // still want to warn on the client.
        // eslint-disable-next-line react-internal/safe-string-coercion
        sanitizeURL('' + expected);
      }

      var attributeName = propertyInfo.attributeName;
      var stringValue = null;

      if (propertyInfo.type === OVERLOADED_BOOLEAN) {
        if (node.hasAttribute(attributeName)) {
          var value = node.getAttribute(attributeName);

          if (value === '') {
            return true;
          }

          if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
            return value;
          } // eslint-disable-next-line react-internal/safe-string-coercion


          if (value === '' + expected) {
            return expected;
          }

          return value;
        }
      } else if (node.hasAttribute(attributeName)) {
        if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
          // We had an attribute but shouldn't have had one, so read it
          // for the error message.
          return node.getAttribute(attributeName);
        }

        if (propertyInfo.type === BOOLEAN) {
          // If this was a boolean, it doesn't matter what the value is
          // the fact that we have it is the same as the expected.
          return expected;
        } // Even if this property uses a namespace we use getAttribute
        // because we assume its namespaced name is the same as our config.
        // To use getAttributeNS we need the local name which we don't have
        // in our config atm.


        stringValue = node.getAttribute(attributeName);
      }

      if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
        return stringValue === null ? expected : stringValue; // eslint-disable-next-line react-internal/safe-string-coercion
      } else if (stringValue === '' + expected) {
        return expected;
      } else {
        return stringValue;
      }
    }
  }
}
/**
 * Get the value for a attribute on a node. Only used in DEV for SSR validation.
 * The third argument is used as a hint of what the expected value is. Some
 * attributes have multiple equivalent values.
 */

function getValueForAttribute(node, name, expected, isCustomComponentTag) {
  {
    if (!isAttributeNameSafe(name)) {
      return;
    }

    if (!node.hasAttribute(name)) {
      return expected === undefined ? undefined : null;
    }

    var value = node.getAttribute(name);

    {
      checkAttributeStringCoercion(expected, name);
    }

    if (value === '' + expected) {
      return expected;
    }

    return value;
  }
}
/**
 * Sets the value for a property on a node.
 *
 * @param {DOMElement} node
 * @param {string} name
 * @param {*} value
 */

function setValueForProperty(node, name, value, isCustomComponentTag) {
  var propertyInfo = getPropertyInfo(name);

  if (shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag)) {
    return;
  }

  if (shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag)) {
    value = null;
  }


  if (isCustomComponentTag || propertyInfo === null) {
    if (isAttributeNameSafe(name)) {
      var _attributeName = name;

      if (value === null) {
        node.removeAttribute(_attributeName);
      } else {
        {
          checkAttributeStringCoercion(value, name);
        }

        node.setAttribute(_attributeName,  '' + value);
      }
    }

    return;
  }

  var mustUseProperty = propertyInfo.mustUseProperty;

  if (mustUseProperty) {
    var propertyName = propertyInfo.propertyName;

    if (value === null) {
      var type = propertyInfo.type;
      node[propertyName] = type === BOOLEAN ? false : '';
    } else {
      // Contrary to `setAttribute`, object properties are properly
      // `toString`ed by IE8/9.
      node[propertyName] = value;
    }

    return;
  } // The rest are treated as attributes with special cases.


  var attributeName = propertyInfo.attributeName,
      attributeNamespace = propertyInfo.attributeNamespace;

  if (value === null) {
    node.removeAttribute(attributeName);
  } else {
    var _type = propertyInfo.type;
    var attributeValue;

    if (_type === BOOLEAN || _type === OVERLOADED_BOOLEAN && value === true) {
      // If attribute type is boolean, we know for sure it won't be an execution sink
      // and we won't require Trusted Type here.
      attributeValue = '';
    } else {
      // `setAttribute` with objects becomes only `[object]` in IE8/9,
      // ('' + value) makes it output the correct toString()-value.
      {
        {
          checkAttributeStringCoercion(value, attributeName);
        }

        attributeValue = '' + value;
      }

      if (propertyInfo.sanitizeURL) {
        sanitizeURL(attributeValue.toString());
      }
    }

    if (attributeNamespace) {
      node.setAttributeNS(attributeNamespace, attributeName, attributeValue);
    } else {
      node.setAttribute(attributeName, attributeValue);
    }
  }
}

// ATTENTION
// When adding new symbols to this file,
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
// The Symbol used to tag the ReactElement-like types.
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
var REACT_MEMO_TYPE = Symbol.for('react.memo');
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
var REACT_SCOPE_TYPE = Symbol.for('react.scope');
var REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for('react.debug_trace_mode');
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
var REACT_LEGACY_HIDDEN_TYPE = Symbol.for('react.legacy_hidden');
var REACT_CACHE_TYPE = Symbol.for('react.cache');
var REACT_TRACING_MARKER_TYPE = Symbol.for('react.tracing_marker');
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
var FAUX_ITERATOR_SYMBOL = '@@iterator';
function getIteratorFn(maybeIterable) {
  if (maybeIterable === null || typeof maybeIterable !== 'object') {
    return null;
  }

  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];

  if (typeof maybeIterator === 'function') {
    return maybeIterator;
  }

  return null;
}

var assign = Object.assign;

// Helpers to patch console.logs to avoid logging during side-effect free
// replaying on render function. This currently only patches the object
// lazily which won't cover if the log function was extracted eagerly.
// We could also eagerly patch the method.
var disabledDepth = 0;
var prevLog;
var prevInfo;
var prevWarn;
var prevError;
var prevGroup;
var prevGroupCollapsed;
var prevGroupEnd;

function disabledLog() {}

disabledLog.__reactDisabledLog = true;
function disableLogs() {
  {
    if (disabledDepth === 0) {
      /* eslint-disable react-internal/no-production-logging */
      prevLog = console.log;
      prevInfo = console.info;
      prevWarn = console.warn;
      prevError = console.error;
      prevGroup = console.group;
      prevGroupCollapsed = console.groupCollapsed;
      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099

      var props = {
        configurable: true,
        enumerable: true,
        value: disabledLog,
        writable: true
      }; // $FlowFixMe Flow thinks console is immutable.

      Object.defineProperties(console, {
        info: props,
        log: props,
        warn: props,
        error: props,
        group: props,
        groupCollapsed: props,
        groupEnd: props
      });
      /* eslint-enable react-internal/no-production-logging */
    }

    disabledDepth++;
  }
}
function reenableLogs() {
  {
    disabledDepth--;

    if (disabledDepth === 0) {
      /* eslint-disable react-internal/no-production-logging */
      var props = {
        configurable: true,
        enumerable: true,
        writable: true
      }; // $FlowFixMe Flow thinks console is immutable.

      Object.defineProperties(console, {
        log: assign({}, props, {
          value: prevLog
        }),
        info: assign({}, props, {
          value: prevInfo
        }),
        warn: assign({}, props, {
          value: prevWarn
        }),
        error: assign({}, props, {
          value: prevError
        }),
        group: assign({}, props, {
          value: prevGroup
        }),
        groupCollapsed: assign({}, props, {
          value: prevGroupCollapsed
        }),
        groupEnd: assign({}, props, {
          value: prevGroupEnd
        })
      });
      /* eslint-enable react-internal/no-production-logging */
    }

    if (disabledDepth < 0) {
      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
    }
  }
}

var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
var prefix;
function describeBuiltInComponentFrame(name, source, ownerFn) {
  {
    if (prefix === undefined) {
      // Extract the VM specific prefix used by each line.
      try {
        throw Error();
      } catch (x) {
        var match = x.stack.trim().match(/\n( *(at )?)/);
        prefix = match && match[1] || '';
      }
    } // We use the prefix to ensure our stacks line up with native stack frames.


    return '\n' + prefix + name;
  }
}
var reentry = false;
var componentFrameCache;

{
  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
  componentFrameCache = new PossiblyWeakMap();
}

function describeNativeComponentFrame(fn, construct) {
  // If something asked for a stack inside a fake render, it should get ignored.
  if ( !fn || reentry) {
    return '';
  }

  {
    var frame = componentFrameCache.get(fn);

    if (frame !== undefined) {
      return frame;
    }
  }

  var control;
  reentry = true;
  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.

  Error.prepareStackTrace = undefined;
  var previousDispatcher;

  {
    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
    // for warnings.

    ReactCurrentDispatcher.current = null;
    disableLogs();
  }

  try {
    // This should throw.
    if (construct) {
      // Something should be setting the props in the constructor.
      var Fake = function () {
        throw Error();
      }; // $FlowFixMe


      Object.defineProperty(Fake.prototype, 'props', {
        set: function () {
          // We use a throwing setter instead of frozen or non-writable props
          // because that won't throw in a non-strict mode function.
          throw Error();
        }
      });

      if (typeof Reflect === 'object' && Reflect.construct) {
        // We construct a different control for this case to include any extra
        // frames added by the construct call.
        try {
          Reflect.construct(Fake, []);
        } catch (x) {
          control = x;
        }

        Reflect.construct(fn, [], Fake);
      } else {
        try {
          Fake.call();
        } catch (x) {
          control = x;
        }

        fn.call(Fake.prototype);
      }
    } else {
      try {
        throw Error();
      } catch (x) {
        control = x;
      }

      fn();
    }
  } catch (sample) {
    // This is inlined manually because closure doesn't do it for us.
    if (sample && control && typeof sample.stack === 'string') {
      // This extracts the first frame from the sample that isn't also in the control.
      // Skipping one frame that we assume is the frame that calls the two.
      var sampleLines = sample.stack.split('\n');
      var controlLines = control.stack.split('\n');
      var s = sampleLines.length - 1;
      var c = controlLines.length - 1;

      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
        // We expect at least one stack frame to be shared.
        // Typically this will be the root most one. However, stack frames may be
        // cut off due to maximum stack limits. In this case, one maybe cut off
        // earlier than the other. We assume that the sample is longer or the same
        // and there for cut off earlier. So we should find the root most frame in
        // the sample somewhere in the control.
        c--;
      }

      for (; s >= 1 && c >= 0; s--, c--) {
        // Next we find the first one that isn't the same which should be the
        // frame that called our sample function and the control.
        if (sampleLines[s] !== controlLines[c]) {
          // In V8, the first line is describing the message but other VMs don't.
          // If we're about to return the first line, and the control is also on the same
          // line, that's a pretty good indicator that our sample threw at same line as
          // the control. I.e. before we entered the sample frame. So we ignore this result.
          // This can happen if you passed a class to function component, or non-function.
          if (s !== 1 || c !== 1) {
            do {
              s--;
              c--; // We may still have similar intermediate frames from the construct call.
              // The next one that isn't the same should be our match though.

              if (c < 0 || sampleLines[s] !== controlLines[c]) {
                // V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
                var _frame = '\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled "<anonymous>"
                // but we have a user-provided "displayName"
                // splice it in to make the stack more readable.


                if (fn.displayName && _frame.includes('<anonymous>')) {
                  _frame = _frame.replace('<anonymous>', fn.displayName);
                }

                {
                  if (typeof fn === 'function') {
                    componentFrameCache.set(fn, _frame);
                  }
                } // Return the line we found.


                return _frame;
              }
            } while (s >= 1 && c >= 0);
          }

          break;
        }
      }
    }
  } finally {
    reentry = false;

    {
      ReactCurrentDispatcher.current = previousDispatcher;
      reenableLogs();
    }

    Error.prepareStackTrace = previousPrepareStackTrace;
  } // Fallback to just using the name if we couldn't make it throw.


  var name = fn ? fn.displayName || fn.name : '';
  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';

  {
    if (typeof fn === 'function') {
      componentFrameCache.set(fn, syntheticFrame);
    }
  }

  return syntheticFrame;
}

function describeClassComponentFrame(ctor, source, ownerFn) {
  {
    return describeNativeComponentFrame(ctor, true);
  }
}
function describeFunctionComponentFrame(fn, source, ownerFn) {
  {
    return describeNativeComponentFrame(fn, false);
  }
}

function shouldConstruct(Component) {
  var prototype = Component.prototype;
  return !!(prototype && prototype.isReactComponent);
}

function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {

  if (type == null) {
    return '';
  }

  if (typeof type === 'function') {
    {
      return describeNativeComponentFrame(type, shouldConstruct(type));
    }
  }

  if (typeof type === 'string') {
    return describeBuiltInComponentFrame(type);
  }

  switch (type) {
    case REACT_SUSPENSE_TYPE:
      return describeBuiltInComponentFrame('Suspense');

    case REACT_SUSPENSE_LIST_TYPE:
      return describeBuiltInComponentFrame('SuspenseList');
  }

  if (typeof type === 'object') {
    switch (type.$$typeof) {
      case REACT_FORWARD_REF_TYPE:
        return describeFunctionComponentFrame(type.render);

      case REACT_MEMO_TYPE:
        // Memo may contain any component type so we recursively resolve it.
        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);

      case REACT_LAZY_TYPE:
        {
          var lazyComponent = type;
          var payload = lazyComponent._payload;
          var init = lazyComponent._init;

          try {
            // Lazy may contain any component type so we recursively resolve it.
            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
          } catch (x) {}
        }
    }
  }

  return '';
}

function describeFiber(fiber) {
  var owner =  fiber._debugOwner ? fiber._debugOwner.type : null ;
  var source =  fiber._debugSource ;

  switch (fiber.tag) {
    case HostComponent:
      return describeBuiltInComponentFrame(fiber.type);

    case LazyComponent:
      return describeBuiltInComponentFrame('Lazy');

    case SuspenseComponent:
      return describeBuiltInComponentFrame('Suspense');

    case SuspenseListComponent:
      return describeBuiltInComponentFrame('SuspenseList');

    case FunctionComponent:
    case IndeterminateComponent:
    case SimpleMemoComponent:
      return describeFunctionComponentFrame(fiber.type);

    case ForwardRef:
      return describeFunctionComponentFrame(fiber.type.render);

    case ClassComponent:
      return describeClassComponentFrame(fiber.type);

    default:
      return '';
  }
}

function getStackByFiberInDevAndProd(workInProgress) {
  try {
    var info = '';
    var node = workInProgress;

    do {
      info += describeFiber(node);
      node = node.return;
    } while (node);

    return info;
  } catch (x) {
    return '\nError generating stack: ' + x.message + '\n' + x.stack;
  }
}

function getWrappedName(outerType, innerType, wrapperName) {
  var displayName = outerType.displayName;

  if (displayName) {
    return displayName;
  }

  var functionName = innerType.displayName || innerType.name || '';
  return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
} // Keep in sync with react-reconciler/getComponentNameFromFiber


function getContextName(type) {
  return type.displayName || 'Context';
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.


function getComponentNameFromType(type) {
  if (type == null) {
    // Host root, text node or just invalid type.
    return null;
  }

  {
    if (typeof type.tag === 'number') {
      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
    }
  }

  if (typeof type === 'function') {
    return type.displayName || type.name || null;
  }

  if (typeof type === 'string') {
    return type;
  }

  switch (type) {
    case REACT_FRAGMENT_TYPE:
      return 'Fragment';

    case REACT_PORTAL_TYPE:
      return 'Portal';

    case REACT_PROFILER_TYPE:
      return 'Profiler';

    case REACT_STRICT_MODE_TYPE:
      return 'StrictMode';

    case REACT_SUSPENSE_TYPE:
      return 'Suspense';

    case REACT_SUSPENSE_LIST_TYPE:
      return 'SuspenseList';

  }

  if (typeof type === 'object') {
    switch (type.$$typeof) {
      case REACT_CONTEXT_TYPE:
        var context = type;
        return getContextName(context) + '.Consumer';

      case REACT_PROVIDER_TYPE:
        var provider = type;
        return getContextName(provider._context) + '.Provider';

      case REACT_FORWARD_REF_TYPE:
        return getWrappedName(type, type.render, 'ForwardRef');

      case REACT_MEMO_TYPE:
        var outerName = type.displayName || null;

        if (outerName !== null) {
          return outerName;
        }

        return getComponentNameFromType(type.type) || 'Memo';

      case REACT_LAZY_TYPE:
        {
          var lazyComponent = type;
          var payload = lazyComponent._payload;
          var init = lazyComponent._init;

          try {
            return getComponentNameFromType(init(payload));
          } catch (x) {
            return null;
          }
        }

      // eslint-disable-next-line no-fallthrough
    }
  }

  return null;
}

function getWrappedName$1(outerType, innerType, wrapperName) {
  var functionName = innerType.displayName || innerType.name || '';
  return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
} // Keep in sync with shared/getComponentNameFromType


function getContextName$1(type) {
  return type.displayName || 'Context';
}

function getComponentNameFromFiber(fiber) {
  var tag = fiber.tag,
      type = fiber.type;

  switch (tag) {
    case CacheComponent:
      return 'Cache';

    case ContextConsumer:
      var context = type;
      return getContextName$1(context) + '.Consumer';

    case ContextProvider:
      var provider = type;
      return getContextName$1(provider._context) + '.Provider';

    case DehydratedFragment:
      return 'DehydratedFragment';

    case ForwardRef:
      return getWrappedName$1(type, type.render, 'ForwardRef');

    case Fragment:
      return 'Fragment';

    case HostComponent:
      // Host component type is the display name (e.g. "div", "View")
      return type;

    case HostPortal:
      return 'Portal';

    case HostRoot:
      return 'Root';

    case HostText:
      return 'Text';

    case LazyComponent:
      // Name comes from the type in this case; we don't have a tag.
      return getComponentNameFromType(type);

    case Mode:
      if (type === REACT_STRICT_MODE_TYPE) {
        // Don't be less specific than shared/getComponentNameFromType
        return 'StrictMode';
      }

      return 'Mode';

    case OffscreenComponent:
      return 'Offscreen';

    case Profiler:
      return 'Profiler';

    case ScopeComponent:
      return 'Scope';

    case SuspenseComponent:
      return 'Suspense';

    case SuspenseListComponent:
      return 'SuspenseList';

    case TracingMarkerComponent:
      return 'TracingMarker';
    // The display name for this tags come from the user-provided type:

    case ClassComponent:
    case FunctionComponent:
    case IncompleteClassComponent:
    case IndeterminateComponent:
    case MemoComponent:
    case SimpleMemoComponent:
      if (typeof type === 'function') {
        return type.displayName || type.name || null;
      }

      if (typeof type === 'string') {
        return type;
      }

      break;

  }

  return null;
}

var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
var current = null;
var isRendering = false;
function getCurrentFiberOwnerNameInDevOrNull() {
  {
    if (current === null) {
      return null;
    }

    var owner = current._debugOwner;

    if (owner !== null && typeof owner !== 'undefined') {
      return getComponentNameFromFiber(owner);
    }
  }

  return null;
}

function getCurrentFiberStackInDev() {
  {
    if (current === null) {
      return '';
    } // Safe because if current fiber exists, we are reconciling,
    // and it is guaranteed to be the work-in-progress version.


    return getStackByFiberInDevAndProd(current);
  }
}

function resetCurrentFiber() {
  {
    ReactDebugCurrentFrame.getCurrentStack = null;
    current = null;
    isRendering = false;
  }
}
function setCurrentFiber(fiber) {
  {
    ReactDebugCurrentFrame.getCurrentStack = fiber === null ? null : getCurrentFiberStackInDev;
    current = fiber;
    isRendering = false;
  }
}
function getCurrentFiber() {
  {
    return current;
  }
}
function setIsRendering(rendering) {
  {
    isRendering = rendering;
  }
}

// Flow does not allow string concatenation of most non-string types. To work
// around this limitation, we use an opaque type that can only be obtained by
// passing the value through getToStringValue first.
function toString(value) {
  // The coercion safety check is performed in getToStringValue().
  // eslint-disable-next-line react-internal/safe-string-coercion
  return '' + value;
}
function getToStringValue(value) {
  switch (typeof value) {
    case 'boolean':
    case 'number':
    case 'string':
    case 'undefined':
      return value;

    case 'object':
      {
        checkFormFieldValueStringCoercion(value);
      }

      return value;

    default:
      // function, symbol are assigned as empty strings
      return '';
  }
}

var hasReadOnlyValue = {
  button: true,
  checkbox: true,
  image: true,
  hidden: true,
  radio: true,
  reset: true,
  submit: true
};
function checkControlledValueProps(tagName, props) {
  {
    if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) {
      error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
    }

    if (!(props.onChange || props.readOnly || props.disabled || props.checked == null)) {
      error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
    }
  }
}

function isCheckable(elem) {
  var type = elem.type;
  var nodeName = elem.nodeName;
  return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
}

function getTracker(node) {
  return node._valueTracker;
}

function detachTracker(node) {
  node._valueTracker = null;
}

function getValueFromNode(node) {
  var value = '';

  if (!node) {
    return value;
  }

  if (isCheckable(node)) {
    value = node.checked ? 'true' : 'false';
  } else {
    value = node.value;
  }

  return value;
}

function trackValueOnNode(node) {
  var valueField = isCheckable(node) ? 'checked' : 'value';
  var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField);

  {
    checkFormFieldValueStringCoercion(node[valueField]);
  }

  var currentValue = '' + node[valueField]; // if someone has already defined a value or Safari, then bail
  // and don't track value will cause over reporting of changes,
  // but it's better then a hard failure
  // (needed for certain tests that spyOn input values and Safari)

  if (node.hasOwnProperty(valueField) || typeof descriptor === 'undefined' || typeof descriptor.get !== 'function' || typeof descriptor.set !== 'function') {
    return;
  }

  var get = descriptor.get,
      set = descriptor.set;
  Object.defineProperty(node, valueField, {
    configurable: true,
    get: function () {
      return get.call(this);
    },
    set: function (value) {
      {
        checkFormFieldValueStringCoercion(value);
      }

      currentValue = '' + value;
      set.call(this, value);
    }
  }); // We could've passed this the first time
  // but it triggers a bug in IE11 and Edge 14/15.
  // Calling defineProperty() again should be equivalent.
  // https://github.com/facebook/react/issues/11768

  Object.defineProperty(node, valueField, {
    enumerable: descriptor.enumerable
  });
  var tracker = {
    getValue: function () {
      return currentValue;
    },
    setValue: function (value) {
      {
        checkFormFieldValueStringCoercion(value);
      }

      currentValue = '' + value;
    },
    stopTracking: function () {
      detachTracker(node);
      delete node[valueField];
    }
  };
  return tracker;
}

function track(node) {
  if (getTracker(node)) {
    return;
  } // TODO: Once it's just Fiber we can move this to node._wrapperState


  node._valueTracker = trackValueOnNode(node);
}
function updateValueIfChanged(node) {
  if (!node) {
    return false;
  }

  var tracker = getTracker(node); // if there is no tracker at this point it's unlikely
  // that trying again will succeed

  if (!tracker) {
    return true;
  }

  var lastValue = tracker.getValue();
  var nextValue = getValueFromNode(node);

  if (nextValue !== lastValue) {
    tracker.setValue(nextValue);
    return true;
  }

  return false;
}

function getActiveElement(doc) {
  doc = doc || (typeof document !== 'undefined' ? document : undefined);

  if (typeof doc === 'undefined') {
    return null;
  }

  try {
    return doc.activeElement || doc.body;
  } catch (e) {
    return doc.body;
  }
}

var didWarnValueDefaultValue = false;
var didWarnCheckedDefaultChecked = false;
var didWarnControlledToUncontrolled = false;
var didWarnUncontrolledToControlled = false;

function isControlled(props) {
  var usesChecked = props.type === 'checkbox' || props.type === 'radio';
  return usesChecked ? props.checked != null : props.value != null;
}
/**
 * Implements an <input> host component that allows setting these optional
 * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.
 *
 * If `checked` or `value` are not supplied (or null/undefined), user actions
 * that affect the checked state or value will trigger updates to the element.
 *
 * If they are supplied (and not null/undefined), the rendered element will not
 * trigger updates to the element. Instead, the props must change in order for
 * the rendered element to be updated.
 *
 * The rendered element will be initialized as unchecked (or `defaultChecked`)
 * with an empty value (or `defaultValue`).
 *
 * See http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html
 */


function getHostProps(element, props) {
  var node = element;
  var checked = props.checked;
  var hostProps = assign({}, props, {
    defaultChecked: undefined,
    defaultValue: undefined,
    value: undefined,
    checked: checked != null ? checked : node._wrapperState.initialChecked
  });
  return hostProps;
}
function initWrapperState(element, props) {
  {
    checkControlledValueProps('input', props);

    if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) {
      error('%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://reactjs.org/link/controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);

      didWarnCheckedDefaultChecked = true;
    }

    if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {
      error('%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://reactjs.org/link/controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);

      didWarnValueDefaultValue = true;
    }
  }

  var node = element;
  var defaultValue = props.defaultValue == null ? '' : props.defaultValue;
  node._wrapperState = {
    initialChecked: props.checked != null ? props.checked : props.defaultChecked,
    initialValue: getToStringValue(props.value != null ? props.value : defaultValue),
    controlled: isControlled(props)
  };
}
function updateChecked(element, props) {
  var node = element;
  var checked = props.checked;

  if (checked != null) {
    setValueForProperty(node, 'checked', checked, false);
  }
}
function updateWrapper(element, props) {
  var node = element;

  {
    var controlled = isControlled(props);

    if (!node._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) {
      error('A component is changing an uncontrolled input to be controlled. ' + 'This is likely caused by the value changing from undefined to ' + 'a defined value, which should not happen. ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components');

      didWarnUncontrolledToControlled = true;
    }

    if (node._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) {
      error('A component is changing a controlled input to be uncontrolled. ' + 'This is likely caused by the value changing from a defined to ' + 'undefined, which should not happen. ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components');

      didWarnControlledToUncontrolled = true;
    }
  }

  updateChecked(element, props);
  var value = getToStringValue(props.value);
  var type = props.type;

  if (value != null) {
    if (type === 'number') {
      if (value === 0 && node.value === '' || // We explicitly want to coerce to number here if possible.
      // eslint-disable-next-line
      node.value != value) {
        node.value = toString(value);
      }
    } else if (node.value !== toString(value)) {
      node.value = toString(value);
    }
  } else if (type === 'submit' || type === 'reset') {
    // Submit/reset inputs need the attribute removed completely to avoid
    // blank-text buttons.
    node.removeAttribute('value');
    return;
  }

  {
    // When syncing the value attribute, the value comes from a cascade of
    // properties:
    //  1. The value React property
    //  2. The defaultValue React property
    //  3. Otherwise there should be no change
    if (props.hasOwnProperty('value')) {
      setDefaultValue(node, props.type, value);
    } else if (props.hasOwnProperty('defaultValue')) {
      setDefaultValue(node, props.type, getToStringValue(props.defaultValue));
    }
  }

  {
    // When syncing the checked attribute, it only changes when it needs
    // to be removed, such as transitioning from a checkbox into a text input
    if (props.checked == null && props.defaultChecked != null) {
      node.defaultChecked = !!props.defaultChecked;
    }
  }
}
function postMountWrapper(element, props, isHydrating) {
  var node = element; // Do not assign value if it is already set. This prevents user text input
  // from being lost during SSR hydration.

  if (props.hasOwnProperty('value') || props.hasOwnProperty('defaultValue')) {
    var type = props.type;
    var isButton = type === 'submit' || type === 'reset'; // Avoid setting value attribute on submit/reset inputs as it overrides the
    // default value provided by the browser. See: #12872

    if (isButton && (props.value === undefined || props.value === null)) {
      return;
    }

    var initialValue = toString(node._wrapperState.initialValue); // Do not assign value if it is already set. This prevents user text input
    // from being lost during SSR hydration.

    if (!isHydrating) {
      {
        // When syncing the value attribute, the value property should use
        // the wrapperState._initialValue property. This uses:
        //
        //   1. The value React property when present
        //   2. The defaultValue React property when present
        //   3. An empty string
        if (initialValue !== node.value) {
          node.value = initialValue;
        }
      }
    }

    {
      // Otherwise, the value attribute is synchronized to the property,
      // so we assign defaultValue to the same thing as the value property
      // assignment step above.
      node.defaultValue = initialValue;
    }
  } // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug
  // this is needed to work around a chrome bug where setting defaultChecked
  // will sometimes influence the value of checked (even after detachment).
  // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416
  // We need to temporarily unset name to avoid disrupting radio button groups.


  var name = node.name;

  if (name !== '') {
    node.name = '';
  }

  {
    // When syncing the checked attribute, both the checked property and
    // attribute are assigned at the same time using defaultChecked. This uses:
    //
    //   1. The checked React property when present
    //   2. The defaultChecked React property when present
    //   3. Otherwise, false
    node.defaultChecked = !node.defaultChecked;
    node.defaultChecked = !!node._wrapperState.initialChecked;
  }

  if (name !== '') {
    node.name = name;
  }
}
function restoreControlledState(element, props) {
  var node = element;
  updateWrapper(node, props);
  updateNamedCousins(node, props);
}

function updateNamedCousins(rootNode, props) {
  var name = props.name;

  if (props.type === 'radio' && name != null) {
    var queryRoot = rootNode;

    while (queryRoot.parentNode) {
      queryRoot = queryRoot.parentNode;
    } // If `rootNode.form` was non-null, then we could try `form.elements`,
    // but that sometimes behaves strangely in IE8. We could also try using
    // `form.getElementsByName`, but that will only return direct children
    // and won't include inputs that use the HTML5 `form=` attribute. Since
    // the input might not even be in a form. It might not even be in the
    // document. Let's just use the local `querySelectorAll` to ensure we don't
    // miss anything.


    {
      checkAttributeStringCoercion(name, 'name');
    }

    var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type="radio"]');

    for (var i = 0; i < group.length; i++) {
      var otherNode = group[i];

      if (otherNode === rootNode || otherNode.form !== rootNode.form) {
        continue;
      } // This will throw if radio buttons rendered by different copies of React
      // and the same name are rendered into the same form (same as #1939).
      // That's probably okay; we don't support it just as we don't support
      // mixing React radio buttons with non-React ones.


      var otherProps = getFiberCurrentPropsFromNode(otherNode);

      if (!otherProps) {
        throw new Error('ReactDOMInput: Mixing React and non-React radio inputs with the ' + 'same `name` is not supported.');
      } // We need update the tracked value on the named cousin since the value
      // was changed but the input saw no event or value set


      updateValueIfChanged(otherNode); // If this is a controlled radio button group, forcing the input that
      // was previously checked to update will cause it to be come re-checked
      // as appropriate.

      updateWrapper(otherNode, otherProps);
    }
  }
} // In Chrome, assigning defaultValue to certain input types triggers input validation.
// For number inputs, the display value loses trailing decimal points. For email inputs,
// Chrome raises "The specified value <x> is not a valid email address".
//
// Here we check to see if the defaultValue has actually changed, avoiding these problems
// when the user is inputting text
//
// https://github.com/facebook/react/issues/7253


function setDefaultValue(node, type, value) {
  if ( // Focused number inputs synchronize on blur. See ChangeEventPlugin.js
  type !== 'number' || getActiveElement(node.ownerDocument) !== node) {
    if (value == null) {
      node.defaultValue = toString(node._wrapperState.initialValue);
    } else if (node.defaultValue !== toString(value)) {
      node.defaultValue = toString(value);
    }
  }
}

var didWarnSelectedSetOnOption = false;
var didWarnInvalidChild = false;
var didWarnInvalidInnerHTML = false;
/**
 * Implements an <option> host component that warns when `selected` is set.
 */

function validateProps(element, props) {
  {
    // If a value is not provided, then the children must be simple.
    if (props.value == null) {
      if (typeof props.children === 'object' && props.children !== null) {
        React.Children.forEach(props.children, function (child) {
          if (child == null) {
            return;
          }

          if (typeof child === 'string' || typeof child === 'number') {
            return;
          }

          if (!didWarnInvalidChild) {
            didWarnInvalidChild = true;

            error('Cannot infer the option value of complex children. ' + 'Pass a `value` prop or use a plain string as children to <option>.');
          }
        });
      } else if (props.dangerouslySetInnerHTML != null) {
        if (!didWarnInvalidInnerHTML) {
          didWarnInvalidInnerHTML = true;

          error('Pass a `value` prop if you set dangerouslyInnerHTML so React knows ' + 'which value should be selected.');
        }
      }
    } // TODO: Remove support for `selected` in <option>.


    if (props.selected != null && !didWarnSelectedSetOnOption) {
      error('Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.');

      didWarnSelectedSetOnOption = true;
    }
  }
}
function postMountWrapper$1(element, props) {
  // value="" should make a value attribute (#6219)
  if (props.value != null) {
    element.setAttribute('value', toString(getToStringValue(props.value)));
  }
}

var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare

function isArray(a) {
  return isArrayImpl(a);
}

var didWarnValueDefaultValue$1;

{
  didWarnValueDefaultValue$1 = false;
}

function getDeclarationErrorAddendum() {
  var ownerName = getCurrentFiberOwnerNameInDevOrNull();

  if (ownerName) {
    return '\n\nCheck the render method of `' + ownerName + '`.';
  }

  return '';
}

var valuePropNames = ['value', 'defaultValue'];
/**
 * Validation function for `value` and `defaultValue`.
 */

function checkSelectPropTypes(props) {
  {
    checkControlledValueProps('select', props);

    for (var i = 0; i < valuePropNames.length; i++) {
      var propName = valuePropNames[i];

      if (props[propName] == null) {
        continue;
      }

      var propNameIsArray = isArray(props[propName]);

      if (props.multiple && !propNameIsArray) {
        error('The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum());
      } else if (!props.multiple && propNameIsArray) {
        error('The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum());
      }
    }
  }
}

function updateOptions(node, multiple, propValue, setDefaultSelected) {
  var options = node.options;

  if (multiple) {
    var selectedValues = propValue;
    var selectedValue = {};

    for (var i = 0; i < selectedValues.length; i++) {
      // Prefix to avoid chaos with special keys.
      selectedValue['$' + selectedValues[i]] = true;
    }

    for (var _i = 0; _i < options.length; _i++) {
      var selected = selectedValue.hasOwnProperty('$' + options[_i].value);

      if (options[_i].selected !== selected) {
        options[_i].selected = selected;
      }

      if (selected && setDefaultSelected) {
        options[_i].defaultSelected = true;
      }
    }
  } else {
    // Do not set `select.value` as exact behavior isn't consistent across all
    // browsers for all cases.
    var _selectedValue = toString(getToStringValue(propValue));

    var defaultSelected = null;

    for (var _i2 = 0; _i2 < options.length; _i2++) {
      if (options[_i2].value === _selectedValue) {
        options[_i2].selected = true;

        if (setDefaultSelected) {
          options[_i2].defaultSelected = true;
        }

        return;
      }

      if (defaultSelected === null && !options[_i2].disabled) {
        defaultSelected = options[_i2];
      }
    }

    if (defaultSelected !== null) {
      defaultSelected.selected = true;
    }
  }
}
/**
 * Implements a <select> host component that allows optionally setting the
 * props `value` and `defaultValue`. If `multiple` is false, the prop must be a
 * stringable. If `multiple` is true, the prop must be an array of stringables.
 *
 * If `value` is not supplied (or null/undefined), user actions that change the
 * selected option will trigger updates to the rendered options.
 *
 * If it is supplied (and not null/undefined), the rendered options will not
 * update in response to user actions. Instead, the `value` prop must change in
 * order for the rendered options to update.
 *
 * If `defaultValue` is provided, any options with the supplied values will be
 * selected.
 */


function getHostProps$1(element, props) {
  return assign({}, props, {
    value: undefined
  });
}
function initWrapperState$1(element, props) {
  var node = element;

  {
    checkSelectPropTypes(props);
  }

  node._wrapperState = {
    wasMultiple: !!props.multiple
  };

  {
    if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue$1) {
      error('Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://reactjs.org/link/controlled-components');

      didWarnValueDefaultValue$1 = true;
    }
  }
}
function postMountWrapper$2(element, props) {
  var node = element;
  node.multiple = !!props.multiple;
  var value = props.value;

  if (value != null) {
    updateOptions(node, !!props.multiple, value, false);
  } else if (props.defaultValue != null) {
    updateOptions(node, !!props.multiple, props.defaultValue, true);
  }
}
function postUpdateWrapper(element, props) {
  var node = element;
  var wasMultiple = node._wrapperState.wasMultiple;
  node._wrapperState.wasMultiple = !!props.multiple;
  var value = props.value;

  if (value != null) {
    updateOptions(node, !!props.multiple, value, false);
  } else if (wasMultiple !== !!props.multiple) {
    // For simplicity, reapply `defaultValue` if `multiple` is toggled.
    if (props.defaultValue != null) {
      updateOptions(node, !!props.multiple, props.defaultValue, true);
    } else {
      // Revert the select back to its default unselected state.
      updateOptions(node, !!props.multiple, props.multiple ? [] : '', false);
    }
  }
}
function restoreControlledState$1(element, props) {
  var node = element;
  var value = props.value;

  if (value != null) {
    updateOptions(node, !!props.multiple, value, false);
  }
}

var didWarnValDefaultVal = false;

/**
 * Implements a <textarea> host component that allows setting `value`, and
 * `defaultValue`. This differs from the traditional DOM API because value is
 * usually set as PCDATA children.
 *
 * If `value` is not supplied (or null/undefined), user actions that affect the
 * value will trigger updates to the element.
 *
 * If `value` is supplied (and not null/undefined), the rendered element will
 * not trigger updates to the element. Instead, the `value` prop must change in
 * order for the rendered element to be updated.
 *
 * The rendered element will be initialized with an empty value, the prop
 * `defaultValue` if specified, or the children content (deprecated).
 */
function getHostProps$2(element, props) {
  var node = element;

  if (props.dangerouslySetInnerHTML != null) {
    throw new Error('`dangerouslySetInnerHTML` does not make sense on <textarea>.');
  } // Always set children to the same thing. In IE9, the selection range will
  // get reset if `textContent` is mutated.  We could add a check in setTextContent
  // to only set the value if/when the value differs from the node value (which would
  // completely solve this IE9 bug), but Sebastian+Sophie seemed to like this
  // solution. The value can be a boolean or object so that's why it's forced
  // to be a string.


  var hostProps = assign({}, props, {
    value: undefined,
    defaultValue: undefined,
    children: toString(node._wrapperState.initialValue)
  });

  return hostProps;
}
function initWrapperState$2(element, props) {
  var node = element;

  {
    checkControlledValueProps('textarea', props);

    if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValDefaultVal) {
      error('%s contains a textarea with both value and defaultValue props. ' + 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://reactjs.org/link/controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component');

      didWarnValDefaultVal = true;
    }
  }

  var initialValue = props.value; // Only bother fetching default value if we're going to use it

  if (initialValue == null) {
    var children = props.children,
        defaultValue = props.defaultValue;

    if (children != null) {
      {
        error('Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.');
      }

      {
        if (defaultValue != null) {
          throw new Error('If you supply `defaultValue` on a <textarea>, do not pass children.');
        }

        if (isArray(children)) {
          if (children.length > 1) {
            throw new Error('<textarea> can only have at most one child.');
          }

          children = children[0];
        }

        defaultValue = children;
      }
    }

    if (defaultValue == null) {
      defaultValue = '';
    }

    initialValue = defaultValue;
  }

  node._wrapperState = {
    initialValue: getToStringValue(initialValue)
  };
}
function updateWrapper$1(element, props) {
  var node = element;
  var value = getToStringValue(props.value);
  var defaultValue = getToStringValue(props.defaultValue);

  if (value != null) {
    // Cast `value` to a string to ensure the value is set correctly. While
    // browsers typically do this as necessary, jsdom doesn't.
    var newValue = toString(value); // To avoid side effects (such as losing text selection), only set value if changed

    if (newValue !== node.value) {
      node.value = newValue;
    }

    if (props.defaultValue == null && node.defaultValue !== newValue) {
      node.defaultValue = newValue;
    }
  }

  if (defaultValue != null) {
    node.defaultValue = toString(defaultValue);
  }
}
function postMountWrapper$3(element, props) {
  var node = element; // This is in postMount because we need access to the DOM node, which is not
  // available until after the component has mounted.

  var textContent = node.textContent; // Only set node.value if textContent is equal to the expected
  // initial value. In IE10/IE11 there is a bug where the placeholder attribute
  // will populate textContent as well.
  // https://developer.microsoft.com/microsoft-edge/platform/issues/101525/

  if (textContent === node._wrapperState.initialValue) {
    if (textContent !== '' && textContent !== null) {
      node.value = textContent;
    }
  }
}
function restoreControlledState$2(element, props) {
  // DOM component is still mounted; update
  updateWrapper$1(element, props);
}

var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
var MATH_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
var SVG_NAMESPACE = 'http://www.w3.org/2000/svg'; // Assumes there is no parent namespace.

function getIntrinsicNamespace(type) {
  switch (type) {
    case 'svg':
      return SVG_NAMESPACE;

    case 'math':
      return MATH_NAMESPACE;

    default:
      return HTML_NAMESPACE;
  }
}
function getChildNamespace(parentNamespace, type) {
  if (parentNamespace == null || parentNamespace === HTML_NAMESPACE) {
    // No (or default) parent namespace: potential entry point.
    return getIntrinsicNamespace(type);
  }

  if (parentNamespace === SVG_NAMESPACE && type === 'foreignObject') {
    // We're leaving SVG.
    return HTML_NAMESPACE;
  } // By default, pass namespace below.


  return parentNamespace;
}

/* globals MSApp */

/**
 * Create a function which has 'unsafe' privileges (required by windows8 apps)
 */
var createMicrosoftUnsafeLocalFunction = function (func) {
  if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {
    return function (arg0, arg1, arg2, arg3) {
      MSApp.execUnsafeLocalFunction(function () {
        return func(arg0, arg1, arg2, arg3);
      });
    };
  } else {
    return func;
  }
};

var reusableSVGContainer;
/**
 * Set the innerHTML property of a node
 *
 * @param {DOMElement} node
 * @param {string} html
 * @internal
 */

var setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {
  if (node.namespaceURI === SVG_NAMESPACE) {

    if (!('innerHTML' in node)) {
      // IE does not have innerHTML for SVG nodes, so instead we inject the
      // new markup in a temp node and then move the child nodes across into
      // the target node
      reusableSVGContainer = reusableSVGContainer || document.createElement('div');
      reusableSVGContainer.innerHTML = '<svg>' + html.valueOf().toString() + '</svg>';
      var svgNode = reusableSVGContainer.firstChild;

      while (node.firstChild) {
        node.removeChild(node.firstChild);
      }

      while (svgNode.firstChild) {
        node.appendChild(svgNode.firstChild);
      }

      return;
    }
  }

  node.innerHTML = html;
});

/**
 * HTML nodeType values that represent the type of the node
 */
var ELEMENT_NODE = 1;
var TEXT_NODE = 3;
var COMMENT_NODE = 8;
var DOCUMENT_NODE = 9;
var DOCUMENT_FRAGMENT_NODE = 11;

/**
 * Set the textContent property of a node. For text updates, it's faster
 * to set the `nodeValue` of the Text node directly instead of using
 * `.textContent` which will remove the existing node and create a new one.
 *
 * @param {DOMElement} node
 * @param {string} text
 * @internal
 */

var setTextContent = function (node, text) {
  if (text) {
    var firstChild = node.firstChild;

    if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) {
      firstChild.nodeValue = text;
      return;
    }
  }

  node.textContent = text;
};

// List derived from Gecko source code:
// https://github.com/mozilla/gecko-dev/blob/4e638efc71/layout/style/test/property_database.js
var shorthandToLonghand = {
  animation: ['animationDelay', 'animationDirection', 'animationDuration', 'animationFillMode', 'animationIterationCount', 'animationName', 'animationPlayState', 'animationTimingFunction'],
  background: ['backgroundAttachment', 'backgroundClip', 'backgroundColor', 'backgroundImage', 'backgroundOrigin', 'backgroundPositionX', 'backgroundPositionY', 'backgroundRepeat', 'backgroundSize'],
  backgroundPosition: ['backgroundPositionX', 'backgroundPositionY'],
  border: ['borderBottomColor', 'borderBottomStyle', 'borderBottomWidth', 'borderImageOutset', 'borderImageRepeat', 'borderImageSlice', 'borderImageSource', 'borderImageWidth', 'borderLeftColor', 'borderLeftStyle', 'borderLeftWidth', 'borderRightColor', 'borderRightStyle', 'borderRightWidth', 'borderTopColor', 'borderTopStyle', 'borderTopWidth'],
  borderBlockEnd: ['borderBlockEndColor', 'borderBlockEndStyle', 'borderBlockEndWidth'],
  borderBlockStart: ['borderBlockStartColor', 'borderBlockStartStyle', 'borderBlockStartWidth'],
  borderBottom: ['borderBottomColor', 'borderBottomStyle', 'borderBottomWidth'],
  borderColor: ['borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor'],
  borderImage: ['borderImageOutset', 'borderImageRepeat', 'borderImageSlice', 'borderImageSource', 'borderImageWidth'],
  borderInlineEnd: ['borderInlineEndColor', 'borderInlineEndStyle', 'borderInlineEndWidth'],
  borderInlineStart: ['borderInlineStartColor', 'borderInlineStartStyle', 'borderInlineStartWidth'],
  borderLeft: ['borderLeftColor', 'borderLeftStyle', 'borderLeftWidth'],
  borderRadius: ['borderBottomLeftRadius', 'borderBottomRightRadius', 'borderTopLeftRadius', 'borderTopRightRadius'],
  borderRight: ['borderRightColor', 'borderRightStyle', 'borderRightWidth'],
  borderStyle: ['borderBottomStyle', 'borderLeftStyle', 'borderRightStyle', 'borderTopStyle'],
  borderTop: ['borderTopColor', 'borderTopStyle', 'borderTopWidth'],
  borderWidth: ['borderBottomWidth', 'borderLeftWidth', 'borderRightWidth', 'borderTopWidth'],
  columnRule: ['columnRuleColor', 'columnRuleStyle', 'columnRuleWidth'],
  columns: ['columnCount', 'columnWidth'],
  flex: ['flexBasis', 'flexGrow', 'flexShrink'],
  flexFlow: ['flexDirection', 'flexWrap'],
  font: ['fontFamily', 'fontFeatureSettings', 'fontKerning', 'fontLanguageOverride', 'fontSize', 'fontSizeAdjust', 'fontStretch', 'fontStyle', 'fontVariant', 'fontVariantAlternates', 'fontVariantCaps', 'fontVariantEastAsian', 'fontVariantLigatures', 'fontVariantNumeric', 'fontVariantPosition', 'fontWeight', 'lineHeight'],
  fontVariant: ['fontVariantAlternates', 'fontVariantCaps', 'fontVariantEastAsian', 'fontVariantLigatures', 'fontVariantNumeric', 'fontVariantPosition'],
  gap: ['columnGap', 'rowGap'],
  grid: ['gridAutoColumns', 'gridAutoFlow', 'gridAutoRows', 'gridTemplateAreas', 'gridTemplateColumns', 'gridTemplateRows'],
  gridArea: ['gridColumnEnd', 'gridColumnStart', 'gridRowEnd', 'gridRowStart'],
  gridColumn: ['gridColumnEnd', 'gridColumnStart'],
  gridColumnGap: ['columnGap'],
  gridGap: ['columnGap', 'rowGap'],
  gridRow: ['gridRowEnd', 'gridRowStart'],
  gridRowGap: ['rowGap'],
  gridTemplate: ['gridTemplateAreas', 'gridTemplateColumns', 'gridTemplateRows'],
  listStyle: ['listStyleImage', 'listStylePosition', 'listStyleType'],
  margin: ['marginBottom', 'marginLeft', 'marginRight', 'marginTop'],
  marker: ['markerEnd', 'markerMid', 'markerStart'],
  mask: ['maskClip', 'maskComposite', 'maskImage', 'maskMode', 'maskOrigin', 'maskPositionX', 'maskPositionY', 'maskRepeat', 'maskSize'],
  maskPosition: ['maskPositionX', 'maskPositionY'],
  outline: ['outlineColor', 'outlineStyle', 'outlineWidth'],
  overflow: ['overflowX', 'overflowY'],
  padding: ['paddingBottom', 'paddingLeft', 'paddingRight', 'paddingTop'],
  placeContent: ['alignContent', 'justifyContent'],
  placeItems: ['alignItems', 'justifyItems'],
  placeSelf: ['alignSelf', 'justifySelf'],
  textDecoration: ['textDecorationColor', 'textDecorationLine', 'textDecorationStyle'],
  textEmphasis: ['textEmphasisColor', 'textEmphasisStyle'],
  transition: ['transitionDelay', 'transitionDuration', 'transitionProperty', 'transitionTimingFunction'],
  wordWrap: ['overflowWrap']
};

/**
 * CSS properties which accept numbers but are not in units of "px".
 */
var isUnitlessNumber = {
  animationIterationCount: true,
  aspectRatio: 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,
  gridArea: 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
};
/**
 * @param {string} prefix vendor-specific prefix, eg: Webkit
 * @param {string} key style name, eg: transitionDuration
 * @return {string} style name prefixed with `prefix`, properly camelCased, eg:
 * WebkitTransitionDuration
 */

function prefixKey(prefix, key) {
  return prefix + key.charAt(0).toUpperCase() + key.substring(1);
}
/**
 * Support style names that may come passed in prefixed by adding permutations
 * of vendor prefixes.
 */


var prefixes = ['Webkit', 'ms', 'Moz', 'O']; // Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an
// infinite loop, because it iterates over the newly added props too.

Object.keys(isUnitlessNumber).forEach(function (prop) {
  prefixes.forEach(function (prefix) {
    isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];
  });
});

/**
 * Convert a value into the proper css writable value. The style name `name`
 * should be logical (no hyphens), as specified
 * in `CSSProperty.isUnitlessNumber`.
 *
 * @param {string} name CSS property name such as `topMargin`.
 * @param {*} value CSS property value such as `10px`.
 * @return {string} Normalized style value with dimensions applied.
 */

function dangerousStyleValue(name, value, isCustomProperty) {
  // Note that we've removed escapeTextForBrowser() calls here since the
  // whole string will be escaped when the attribute is injected into
  // the markup. If you provide unsafe user data here they can inject
  // arbitrary CSS which may be problematic (I couldn't repro this):
  // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
  // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/
  // This is not an XSS hole but instead a potential CSS injection issue
  // which has lead to a greater discussion about how we're going to
  // trust URLs moving forward. See #2115901
  var isEmpty = value == null || typeof value === 'boolean' || value === '';

  if (isEmpty) {
    return '';
  }

  if (!isCustomProperty && typeof value === 'number' && value !== 0 && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name])) {
    return value + 'px'; // Presumes implicit 'px' suffix for unitless numbers
  }

  {
    checkCSSPropertyStringCoercion(value, name);
  }

  return ('' + value).trim();
}

var uppercasePattern = /([A-Z])/g;
var msPattern = /^ms-/;
/**
 * Hyphenates a camelcased CSS property name, for example:
 *
 *   > hyphenateStyleName('backgroundColor')
 *   < "background-color"
 *   > hyphenateStyleName('MozTransition')
 *   < "-moz-transition"
 *   > hyphenateStyleName('msTransition')
 *   < "-ms-transition"
 *
 * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix
 * is converted to `-ms-`.
 */

function hyphenateStyleName(name) {
  return name.replace(uppercasePattern, '-$1').toLowerCase().replace(msPattern, '-ms-');
}

var warnValidStyle = function () {};

{
  // 'msTransform' is correct, but the other prefixes should be capitalized
  var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;
  var msPattern$1 = /^-ms-/;
  var hyphenPattern = /-(.)/g; // style values shouldn't contain a semicolon

  var badStyleValueWithSemicolonPattern = /;\s*$/;
  var warnedStyleNames = {};
  var warnedStyleValues = {};
  var warnedForNaNValue = false;
  var warnedForInfinityValue = false;

  var camelize = function (string) {
    return string.replace(hyphenPattern, function (_, character) {
      return character.toUpperCase();
    });
  };

  var warnHyphenatedStyleName = function (name) {
    if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {
      return;
    }

    warnedStyleNames[name] = true;

    error('Unsupported style property %s. Did you mean %s?', name, // As Andi Smith suggests
    // (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
    // is converted to lowercase `ms`.
    camelize(name.replace(msPattern$1, 'ms-')));
  };

  var warnBadVendoredStyleName = function (name) {
    if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {
      return;
    }

    warnedStyleNames[name] = true;

    error('Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1));
  };

  var warnStyleValueWithSemicolon = function (name, value) {
    if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {
      return;
    }

    warnedStyleValues[value] = true;

    error("Style property values shouldn't contain a semicolon. " + 'Try "%s: %s" instead.', name, value.replace(badStyleValueWithSemicolonPattern, ''));
  };

  var warnStyleValueIsNaN = function (name, value) {
    if (warnedForNaNValue) {
      return;
    }

    warnedForNaNValue = true;

    error('`NaN` is an invalid value for the `%s` css style property.', name);
  };

  var warnStyleValueIsInfinity = function (name, value) {
    if (warnedForInfinityValue) {
      return;
    }

    warnedForInfinityValue = true;

    error('`Infinity` is an invalid value for the `%s` css style property.', name);
  };

  warnValidStyle = function (name, value) {
    if (name.indexOf('-') > -1) {
      warnHyphenatedStyleName(name);
    } else if (badVendoredStyleNamePattern.test(name)) {
      warnBadVendoredStyleName(name);
    } else if (badStyleValueWithSemicolonPattern.test(value)) {
      warnStyleValueWithSemicolon(name, value);
    }

    if (typeof value === 'number') {
      if (isNaN(value)) {
        warnStyleValueIsNaN(name, value);
      } else if (!isFinite(value)) {
        warnStyleValueIsInfinity(name, value);
      }
    }
  };
}

var warnValidStyle$1 = warnValidStyle;

/**
 * Operations for dealing with CSS properties.
 */

/**
 * This creates a string that is expected to be equivalent to the style
 * attribute generated by server-side rendering. It by-passes warnings and
 * security checks so it's not safe to use this value for anything other than
 * comparison. It is only used in DEV for SSR validation.
 */

function createDangerousStringForStyles(styles) {
  {
    var serialized = '';
    var delimiter = '';

    for (var styleName in styles) {
      if (!styles.hasOwnProperty(styleName)) {
        continue;
      }

      var styleValue = styles[styleName];

      if (styleValue != null) {
        var isCustomProperty = styleName.indexOf('--') === 0;
        serialized += delimiter + (isCustomProperty ? styleName : hyphenateStyleName(styleName)) + ':';
        serialized += dangerousStyleValue(styleName, styleValue, isCustomProperty);
        delimiter = ';';
      }
    }

    return serialized || null;
  }
}
/**
 * Sets the value for multiple styles on a node.  If a value is specified as
 * '' (empty string), the corresponding style property will be unset.
 *
 * @param {DOMElement} node
 * @param {object} styles
 */

function setValueForStyles(node, styles) {
  var style = node.style;

  for (var styleName in styles) {
    if (!styles.hasOwnProperty(styleName)) {
      continue;
    }

    var isCustomProperty = styleName.indexOf('--') === 0;

    {
      if (!isCustomProperty) {
        warnValidStyle$1(styleName, styles[styleName]);
      }
    }

    var styleValue = dangerousStyleValue(styleName, styles[styleName], isCustomProperty);

    if (styleName === 'float') {
      styleName = 'cssFloat';
    }

    if (isCustomProperty) {
      style.setProperty(styleName, styleValue);
    } else {
      style[styleName] = styleValue;
    }
  }
}

function isValueEmpty(value) {
  return value == null || typeof value === 'boolean' || value === '';
}
/**
 * Given {color: 'red', overflow: 'hidden'} returns {
 *   color: 'color',
 *   overflowX: 'overflow',
 *   overflowY: 'overflow',
 * }. This can be read as "the overflowY property was set by the overflow
 * shorthand". That is, the values are the property that each was derived from.
 */


function expandShorthandMap(styles) {
  var expanded = {};

  for (var key in styles) {
    var longhands = shorthandToLonghand[key] || [key];

    for (var i = 0; i < longhands.length; i++) {
      expanded[longhands[i]] = key;
    }
  }

  return expanded;
}
/**
 * When mixing shorthand and longhand property names, we warn during updates if
 * we expect an incorrect result to occur. In particular, we warn for:
 *
 * Updating a shorthand property (longhand gets overwritten):
 *   {font: 'foo', fontVariant: 'bar'} -> {font: 'baz', fontVariant: 'bar'}
 *   becomes .style.font = 'baz'
 * Removing a shorthand property (longhand gets lost too):
 *   {font: 'foo', fontVariant: 'bar'} -> {fontVariant: 'bar'}
 *   becomes .style.font = ''
 * Removing a longhand property (should revert to shorthand; doesn't):
 *   {font: 'foo', fontVariant: 'bar'} -> {font: 'foo'}
 *   becomes .style.fontVariant = ''
 */


function validateShorthandPropertyCollisionInDev(styleUpdates, nextStyles) {
  {
    if (!nextStyles) {
      return;
    }

    var expandedUpdates = expandShorthandMap(styleUpdates);
    var expandedStyles = expandShorthandMap(nextStyles);
    var warnedAbout = {};

    for (var key in expandedUpdates) {
      var originalKey = expandedUpdates[key];
      var correctOriginalKey = expandedStyles[key];

      if (correctOriginalKey && originalKey !== correctOriginalKey) {
        var warningKey = originalKey + ',' + correctOriginalKey;

        if (warnedAbout[warningKey]) {
          continue;
        }

        warnedAbout[warningKey] = true;

        error('%s a style property during rerender (%s) when a ' + 'conflicting property is set (%s) can lead to styling bugs. To ' + "avoid this, don't mix shorthand and non-shorthand properties " + 'for the same value; instead, replace the shorthand with ' + 'separate values.', isValueEmpty(styleUpdates[originalKey]) ? 'Removing' : 'Updating', originalKey, correctOriginalKey);
      }
    }
  }
}

// For HTML, certain tags should omit their close tag. We keep a list for
// those special-case tags.
var omittedCloseTags = {
  area: true,
  base: true,
  br: true,
  col: true,
  embed: true,
  hr: true,
  img: true,
  input: true,
  keygen: true,
  link: true,
  meta: true,
  param: true,
  source: true,
  track: true,
  wbr: true // NOTE: menuitem's close tag should be omitted, but that causes problems.

};

// `omittedCloseTags` except that `menuitem` should still have its closing tag.

var voidElementTags = assign({
  menuitem: true
}, omittedCloseTags);

var HTML = '__html';

function assertValidProps(tag, props) {
  if (!props) {
    return;
  } // Note the use of `==` which checks for null or undefined.


  if (voidElementTags[tag]) {
    if (props.children != null || props.dangerouslySetInnerHTML != null) {
      throw new Error(tag + " is a void element tag and must neither have `children` nor " + 'use `dangerouslySetInnerHTML`.');
    }
  }

  if (props.dangerouslySetInnerHTML != null) {
    if (props.children != null) {
      throw new Error('Can only set one of `children` or `props.dangerouslySetInnerHTML`.');
    }

    if (typeof props.dangerouslySetInnerHTML !== 'object' || !(HTML in props.dangerouslySetInnerHTML)) {
      throw new Error('`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' + 'Please visit https://reactjs.org/link/dangerously-set-inner-html ' + 'for more information.');
    }
  }

  {
    if (!props.suppressContentEditableWarning && props.contentEditable && props.children != null) {
      error('A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.');
    }
  }

  if (props.style != null && typeof props.style !== 'object') {
    throw new Error('The `style` prop expects a mapping from style properties to values, ' + "not a string. For example, style={{marginRight: spacing + 'em'}} when " + 'using JSX.');
  }
}

function isCustomComponent(tagName, props) {
  if (tagName.indexOf('-') === -1) {
    return typeof props.is === 'string';
  }

  switch (tagName) {
    // These are reserved SVG and MathML elements.
    // We don't mind this list 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;
  }
}

// When adding attributes to the HTML or SVG allowed attribute list, be sure to
// also add them to this module to ensure casing and incorrect name
// warnings.
var possibleStandardNames = {
  // HTML
  accept: 'accept',
  acceptcharset: 'acceptCharset',
  'accept-charset': 'acceptCharset',
  accesskey: 'accessKey',
  action: 'action',
  allowfullscreen: 'allowFullScreen',
  alt: 'alt',
  as: 'as',
  async: 'async',
  autocapitalize: 'autoCapitalize',
  autocomplete: 'autoComplete',
  autocorrect: 'autoCorrect',
  autofocus: 'autoFocus',
  autoplay: 'autoPlay',
  autosave: 'autoSave',
  capture: 'capture',
  cellpadding: 'cellPadding',
  cellspacing: 'cellSpacing',
  challenge: 'challenge',
  charset: 'charSet',
  checked: 'checked',
  children: 'children',
  cite: 'cite',
  class: 'className',
  classid: 'classID',
  classname: 'className',
  cols: 'cols',
  colspan: 'colSpan',
  content: 'content',
  contenteditable: 'contentEditable',
  contextmenu: 'contextMenu',
  controls: 'controls',
  controlslist: 'controlsList',
  coords: 'coords',
  crossorigin: 'crossOrigin',
  dangerouslysetinnerhtml: 'dangerouslySetInnerHTML',
  data: 'data',
  datetime: 'dateTime',
  default: 'default',
  defaultchecked: 'defaultChecked',
  defaultvalue: 'defaultValue',
  defer: 'defer',
  dir: 'dir',
  disabled: 'disabled',
  disablepictureinpicture: 'disablePictureInPicture',
  disableremoteplayback: 'disableRemotePlayback',
  download: 'download',
  draggable: 'draggable',
  enctype: 'encType',
  enterkeyhint: 'enterKeyHint',
  for: 'htmlFor',
  form: 'form',
  formmethod: 'formMethod',
  formaction: 'formAction',
  formenctype: 'formEncType',
  formnovalidate: 'formNoValidate',
  formtarget: 'formTarget',
  frameborder: 'frameBorder',
  headers: 'headers',
  height: 'height',
  hidden: 'hidden',
  high: 'high',
  href: 'href',
  hreflang: 'hrefLang',
  htmlfor: 'htmlFor',
  httpequiv: 'httpEquiv',
  'http-equiv': 'httpEquiv',
  icon: 'icon',
  id: 'id',
  imagesizes: 'imageSizes',
  imagesrcset: 'imageSrcSet',
  innerhtml: 'innerHTML',
  inputmode: 'inputMode',
  integrity: 'integrity',
  is: 'is',
  itemid: 'itemID',
  itemprop: 'itemProp',
  itemref: 'itemRef',
  itemscope: 'itemScope',
  itemtype: 'itemType',
  keyparams: 'keyParams',
  keytype: 'keyType',
  kind: 'kind',
  label: 'label',
  lang: 'lang',
  list: 'list',
  loop: 'loop',
  low: 'low',
  manifest: 'manifest',
  marginwidth: 'marginWidth',
  marginheight: 'marginHeight',
  max: 'max',
  maxlength: 'maxLength',
  media: 'media',
  mediagroup: 'mediaGroup',
  method: 'method',
  min: 'min',
  minlength: 'minLength',
  multiple: 'multiple',
  muted: 'muted',
  name: 'name',
  nomodule: 'noModule',
  nonce: 'nonce',
  novalidate: 'noValidate',
  open: 'open',
  optimum: 'optimum',
  pattern: 'pattern',
  placeholder: 'placeholder',
  playsinline: 'playsInline',
  poster: 'poster',
  preload: 'preload',
  profile: 'profile',
  radiogroup: 'radioGroup',
  readonly: 'readOnly',
  referrerpolicy: 'referrerPolicy',
  rel: 'rel',
  required: 'required',
  reversed: 'reversed',
  role: 'role',
  rows: 'rows',
  rowspan: 'rowSpan',
  sandbox: 'sandbox',
  scope: 'scope',
  scoped: 'scoped',
  scrolling: 'scrolling',
  seamless: 'seamless',
  selected: 'selected',
  shape: 'shape',
  size: 'size',
  sizes: 'sizes',
  span: 'span',
  spellcheck: 'spellCheck',
  src: 'src',
  srcdoc: 'srcDoc',
  srclang: 'srcLang',
  srcset: 'srcSet',
  start: 'start',
  step: 'step',
  style: 'style',
  summary: 'summary',
  tabindex: 'tabIndex',
  target: 'target',
  title: 'title',
  type: 'type',
  usemap: 'useMap',
  value: 'value',
  width: 'width',
  wmode: 'wmode',
  wrap: 'wrap',
  // SVG
  about: 'about',
  accentheight: 'accentHeight',
  'accent-height': 'accentHeight',
  accumulate: 'accumulate',
  additive: 'additive',
  alignmentbaseline: 'alignmentBaseline',
  'alignment-baseline': 'alignmentBaseline',
  allowreorder: 'allowReorder',
  alphabetic: 'alphabetic',
  amplitude: 'amplitude',
  arabicform: 'arabicForm',
  'arabic-form': 'arabicForm',
  ascent: 'ascent',
  attributename: 'attributeName',
  attributetype: 'attributeType',
  autoreverse: 'autoReverse',
  azimuth: 'azimuth',
  basefrequency: 'baseFrequency',
  baselineshift: 'baselineShift',
  'baseline-shift': 'baselineShift',
  baseprofile: 'baseProfile',
  bbox: 'bbox',
  begin: 'begin',
  bias: 'bias',
  by: 'by',
  calcmode: 'calcMode',
  capheight: 'capHeight',
  'cap-height': 'capHeight',
  clip: 'clip',
  clippath: 'clipPath',
  'clip-path': 'clipPath',
  clippathunits: 'clipPathUnits',
  cliprule: 'clipRule',
  'clip-rule': 'clipRule',
  color: 'color',
  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',
  cursor: 'cursor',
  cx: 'cx',
  cy: 'cy',
  d: 'd',
  datatype: 'datatype',
  decelerate: 'decelerate',
  descent: 'descent',
  diffuseconstant: 'diffuseConstant',
  direction: 'direction',
  display: 'display',
  divisor: 'divisor',
  dominantbaseline: 'dominantBaseline',
  'dominant-baseline': 'dominantBaseline',
  dur: 'dur',
  dx: 'dx',
  dy: 'dy',
  edgemode: 'edgeMode',
  elevation: 'elevation',
  enablebackground: 'enableBackground',
  'enable-background': 'enableBackground',
  end: 'end',
  exponent: 'exponent',
  externalresourcesrequired: 'externalResourcesRequired',
  fill: 'fill',
  fillopacity: 'fillOpacity',
  'fill-opacity': 'fillOpacity',
  fillrule: 'fillRule',
  'fill-rule': 'fillRule',
  filter: 'filter',
  filterres: 'filterRes',
  filterunits: 'filterUnits',
  floodopacity: 'floodOpacity',
  'flood-opacity': 'floodOpacity',
  floodcolor: 'floodColor',
  'flood-color': 'floodColor',
  focusable: 'focusable',
  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',
  format: 'format',
  from: 'from',
  fx: 'fx',
  fy: 'fy',
  g1: 'g1',
  g2: 'g2',
  glyphname: 'glyphName',
  'glyph-name': 'glyphName',
  glyphorientationhorizontal: 'glyphOrientationHorizontal',
  'glyph-orientation-horizontal': 'glyphOrientationHorizontal',
  glyphorientationvertical: 'glyphOrientationVertical',
  'glyph-orientation-vertical': 'glyphOrientationVertical',
  glyphref: 'glyphRef',
  gradienttransform: 'gradientTransform',
  gradientunits: 'gradientUnits',
  hanging: 'hanging',
  horizadvx: 'horizAdvX',
  'horiz-adv-x': 'horizAdvX',
  horizoriginx: 'horizOriginX',
  'horiz-origin-x': 'horizOriginX',
  ideographic: 'ideographic',
  imagerendering: 'imageRendering',
  'image-rendering': 'imageRendering',
  in2: 'in2',
  in: 'in',
  inlist: 'inlist',
  intercept: 'intercept',
  k1: 'k1',
  k2: 'k2',
  k3: 'k3',
  k4: 'k4',
  k: 'k',
  kernelmatrix: 'kernelMatrix',
  kernelunitlength: 'kernelUnitLength',
  kerning: 'kerning',
  keypoints: 'keyPoints',
  keysplines: 'keySplines',
  keytimes: 'keyTimes',
  lengthadjust: 'lengthAdjust',
  letterspacing: 'letterSpacing',
  'letter-spacing': 'letterSpacing',
  lightingcolor: 'lightingColor',
  'lighting-color': 'lightingColor',
  limitingconeangle: 'limitingConeAngle',
  local: 'local',
  markerend: 'markerEnd',
  'marker-end': 'markerEnd',
  markerheight: 'markerHeight',
  markermid: 'markerMid',
  'marker-mid': 'markerMid',
  markerstart: 'markerStart',
  'marker-start': 'markerStart',
  markerunits: 'markerUnits',
  markerwidth: 'markerWidth',
  mask: 'mask',
  maskcontentunits: 'maskContentUnits',
  maskunits: 'maskUnits',
  mathematical: 'mathematical',
  mode: 'mode',
  numoctaves: 'numOctaves',
  offset: 'offset',
  opacity: 'opacity',
  operator: 'operator',
  order: 'order',
  orient: 'orient',
  orientation: 'orientation',
  origin: 'origin',
  overflow: 'overflow',
  overlineposition: 'overlinePosition',
  'overline-position': 'overlinePosition',
  overlinethickness: 'overlineThickness',
  'overline-thickness': 'overlineThickness',
  paintorder: 'paintOrder',
  'paint-order': 'paintOrder',
  panose1: 'panose1',
  'panose-1': 'panose1',
  pathlength: 'pathLength',
  patterncontentunits: 'patternContentUnits',
  patterntransform: 'patternTransform',
  patternunits: 'patternUnits',
  pointerevents: 'pointerEvents',
  'pointer-events': 'pointerEvents',
  points: 'points',
  pointsatx: 'pointsAtX',
  pointsaty: 'pointsAtY',
  pointsatz: 'pointsAtZ',
  prefix: 'prefix',
  preservealpha: 'preserveAlpha',
  preserveaspectratio: 'preserveAspectRatio',
  primitiveunits: 'primitiveUnits',
  property: 'property',
  r: 'r',
  radius: 'radius',
  refx: 'refX',
  refy: 'refY',
  renderingintent: 'renderingIntent',
  'rendering-intent': 'renderingIntent',
  repeatcount: 'repeatCount',
  repeatdur: 'repeatDur',
  requiredextensions: 'requiredExtensions',
  requiredfeatures: 'requiredFeatures',
  resource: 'resource',
  restart: 'restart',
  result: 'result',
  results: 'results',
  rotate: 'rotate',
  rx: 'rx',
  ry: 'ry',
  scale: 'scale',
  security: 'security',
  seed: 'seed',
  shaperendering: 'shapeRendering',
  'shape-rendering': 'shapeRendering',
  slope: 'slope',
  spacing: 'spacing',
  specularconstant: 'specularConstant',
  specularexponent: 'specularExponent',
  speed: 'speed',
  spreadmethod: 'spreadMethod',
  startoffset: 'startOffset',
  stddeviation: 'stdDeviation',
  stemh: 'stemh',
  stemv: 'stemv',
  stitchtiles: 'stitchTiles',
  stopcolor: 'stopColor',
  'stop-color': 'stopColor',
  stopopacity: 'stopOpacity',
  'stop-opacity': 'stopOpacity',
  strikethroughposition: 'strikethroughPosition',
  'strikethrough-position': 'strikethroughPosition',
  strikethroughthickness: 'strikethroughThickness',
  'strikethrough-thickness': 'strikethroughThickness',
  string: 'string',
  stroke: 'stroke',
  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',
  to: 'to',
  transform: 'transform',
  typeof: 'typeof',
  u1: 'u1',
  u2: 'u2',
  underlineposition: 'underlinePosition',
  'underline-position': 'underlinePosition',
  underlinethickness: 'underlineThickness',
  'underline-thickness': 'underlineThickness',
  unicode: 'unicode',
  unicodebidi: 'unicodeBidi',
  'unicode-bidi': 'unicodeBidi',
  unicoderange: 'unicodeRange',
  'unicode-range': 'unicodeRange',
  unitsperem: 'unitsPerEm',
  'units-per-em': 'unitsPerEm',
  unselectable: 'unselectable',
  valphabetic: 'vAlphabetic',
  'v-alphabetic': 'vAlphabetic',
  values: 'values',
  vectoreffect: 'vectorEffect',
  'vector-effect': 'vectorEffect',
  version: 'version',
  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',
  visibility: 'visibility',
  vmathematical: 'vMathematical',
  'v-mathematical': 'vMathematical',
  vocab: 'vocab',
  widths: 'widths',
  wordspacing: 'wordSpacing',
  'word-spacing': 'wordSpacing',
  writingmode: 'writingMode',
  'writing-mode': 'writingMode',
  x1: 'x1',
  x2: 'x2',
  x: 'x',
  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',
  xmlns: 'xmlns',
  'xml:space': 'xmlSpace',
  xmlnsxlink: 'xmlnsXlink',
  'xmlns:xlink': 'xmlnsXlink',
  xmlspace: 'xmlSpace',
  y1: 'y1',
  y2: 'y2',
  y: 'y',
  ychannelselector: 'yChannelSelector',
  z: 'z',
  zoomandpan: 'zoomAndPan'
};

var ariaProperties = {
  'aria-current': 0,
  // state
  'aria-description': 0,
  'aria-details': 0,
  'aria-disabled': 0,
  // state
  'aria-hidden': 0,
  // state
  'aria-invalid': 0,
  // state
  'aria-keyshortcuts': 0,
  'aria-label': 0,
  'aria-roledescription': 0,
  // Widget Attributes
  'aria-autocomplete': 0,
  'aria-checked': 0,
  'aria-expanded': 0,
  'aria-haspopup': 0,
  'aria-level': 0,
  'aria-modal': 0,
  'aria-multiline': 0,
  'aria-multiselectable': 0,
  'aria-orientation': 0,
  'aria-placeholder': 0,
  'aria-pressed': 0,
  'aria-readonly': 0,
  'aria-required': 0,
  'aria-selected': 0,
  'aria-sort': 0,
  'aria-valuemax': 0,
  'aria-valuemin': 0,
  'aria-valuenow': 0,
  'aria-valuetext': 0,
  // Live Region Attributes
  'aria-atomic': 0,
  'aria-busy': 0,
  'aria-live': 0,
  'aria-relevant': 0,
  // Drag-and-Drop Attributes
  'aria-dropeffect': 0,
  'aria-grabbed': 0,
  // Relationship Attributes
  'aria-activedescendant': 0,
  'aria-colcount': 0,
  'aria-colindex': 0,
  'aria-colspan': 0,
  'aria-controls': 0,
  'aria-describedby': 0,
  'aria-errormessage': 0,
  'aria-flowto': 0,
  'aria-labelledby': 0,
  'aria-owns': 0,
  'aria-posinset': 0,
  'aria-rowcount': 0,
  'aria-rowindex': 0,
  'aria-rowspan': 0,
  'aria-setsize': 0
};

var warnedProperties = {};
var rARIA = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
var rARIACamel = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');

function validateProperty(tagName, name) {
  {
    if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name]) {
      return true;
    }

    if (rARIACamel.test(name)) {
      var ariaName = 'aria-' + name.slice(4).toLowerCase();
      var correctName = ariaProperties.hasOwnProperty(ariaName) ? ariaName : null; // If this is an aria-* attribute, but is not listed in the known DOM
      // DOM properties, then it is an invalid aria-* attribute.

      if (correctName == null) {
        error('Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.', name);

        warnedProperties[name] = true;
        return true;
      } // aria-* attributes should be lowercase; suggest the lowercase version.


      if (name !== correctName) {
        error('Invalid ARIA attribute `%s`. Did you mean `%s`?', name, correctName);

        warnedProperties[name] = true;
        return true;
      }
    }

    if (rARIA.test(name)) {
      var lowerCasedName = name.toLowerCase();
      var standardName = ariaProperties.hasOwnProperty(lowerCasedName) ? lowerCasedName : null; // If this is an aria-* attribute, but is not listed in the known DOM
      // DOM properties, then it is an invalid aria-* attribute.

      if (standardName == null) {
        warnedProperties[name] = true;
        return false;
      } // aria-* attributes should be lowercase; suggest the lowercase version.


      if (name !== standardName) {
        error('Unknown ARIA attribute `%s`. Did you mean `%s`?', name, standardName);

        warnedProperties[name] = true;
        return true;
      }
    }
  }

  return true;
}

function warnInvalidARIAProps(type, props) {
  {
    var invalidProps = [];

    for (var key in props) {
      var isValid = validateProperty(type, key);

      if (!isValid) {
        invalidProps.push(key);
      }
    }

    var unknownPropString = invalidProps.map(function (prop) {
      return '`' + prop + '`';
    }).join(', ');

    if (invalidProps.length === 1) {
      error('Invalid aria prop %s on <%s> tag. ' + 'For details, see https://reactjs.org/link/invalid-aria-props', unknownPropString, type);
    } else if (invalidProps.length > 1) {
      error('Invalid aria props %s on <%s> tag. ' + 'For details, see https://reactjs.org/link/invalid-aria-props', unknownPropString, type);
    }
  }
}

function validateProperties(type, props) {
  if (isCustomComponent(type, props)) {
    return;
  }

  warnInvalidARIAProps(type, props);
}

var didWarnValueNull = false;
function validateProperties$1(type, props) {
  {
    if (type !== 'input' && type !== 'textarea' && type !== 'select') {
      return;
    }

    if (props != null && props.value === null && !didWarnValueNull) {
      didWarnValueNull = true;

      if (type === 'select' && props.multiple) {
        error('`value` prop on `%s` should not be null. ' + 'Consider using an empty array when `multiple` is set to `true` ' + 'to clear the component or `undefined` for uncontrolled components.', type);
      } else {
        error('`value` prop on `%s` should not be null. ' + 'Consider using an empty string to clear the component or `undefined` ' + 'for uncontrolled components.', type);
      }
    }
  }
}

var validateProperty$1 = function () {};

{
  var warnedProperties$1 = {};
  var EVENT_NAME_REGEX = /^on./;
  var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/;
  var rARIA$1 = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
  var rARIACamel$1 = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');

  validateProperty$1 = function (tagName, name, value, eventRegistry) {
    if (hasOwnProperty.call(warnedProperties$1, name) && warnedProperties$1[name]) {
      return true;
    }

    var lowerCasedName = name.toLowerCase();

    if (lowerCasedName === 'onfocusin' || lowerCasedName === 'onfocusout') {
      error('React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.');

      warnedProperties$1[name] = true;
      return true;
    } // We can't rely on the event system being injected on the server.


    if (eventRegistry != null) {
      var registrationNameDependencies = eventRegistry.registrationNameDependencies,
          possibleRegistrationNames = eventRegistry.possibleRegistrationNames;

      if (registrationNameDependencies.hasOwnProperty(name)) {
        return true;
      }

      var registrationName = possibleRegistrationNames.hasOwnProperty(lowerCasedName) ? possibleRegistrationNames[lowerCasedName] : null;

      if (registrationName != null) {
        error('Invalid event handler property `%s`. Did you mean `%s`?', name, registrationName);

        warnedProperties$1[name] = true;
        return true;
      }

      if (EVENT_NAME_REGEX.test(name)) {
        error('Unknown event handler property `%s`. It will be ignored.', name);

        warnedProperties$1[name] = true;
        return true;
      }
    } else if (EVENT_NAME_REGEX.test(name)) {
      // If no event plugins have been injected, we are in a server environment.
      // So we can't tell if the event name is correct for sure, but we can filter
      // out known bad ones like `onclick`. We can't suggest a specific replacement though.
      if (INVALID_EVENT_NAME_REGEX.test(name)) {
        error('Invalid event handler property `%s`. ' + 'React events use the camelCase naming convention, for example `onClick`.', name);
      }

      warnedProperties$1[name] = true;
      return true;
    } // Let the ARIA attribute hook validate ARIA attributes


    if (rARIA$1.test(name) || rARIACamel$1.test(name)) {
      return true;
    }

    if (lowerCasedName === 'innerhtml') {
      error('Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.');

      warnedProperties$1[name] = true;
      return true;
    }

    if (lowerCasedName === 'aria') {
      error('The `aria` attribute is reserved for future use in React. ' + 'Pass individual `aria-` attributes instead.');

      warnedProperties$1[name] = true;
      return true;
    }

    if (lowerCasedName === 'is' && value !== null && value !== undefined && typeof value !== 'string') {
      error('Received a `%s` for a string attribute `is`. If this is expected, cast ' + 'the value to a string.', typeof value);

      warnedProperties$1[name] = true;
      return true;
    }

    if (typeof value === 'number' && isNaN(value)) {
      error('Received NaN for the `%s` attribute. If this is expected, cast ' + 'the value to a string.', name);

      warnedProperties$1[name] = true;
      return true;
    }

    var propertyInfo = getPropertyInfo(name);
    var isReserved = propertyInfo !== null && propertyInfo.type === RESERVED; // Known attributes should match the casing specified in the property config.

    if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {
      var standardName = possibleStandardNames[lowerCasedName];

      if (standardName !== name) {
        error('Invalid DOM property `%s`. Did you mean `%s`?', name, standardName);

        warnedProperties$1[name] = true;
        return true;
      }
    } else if (!isReserved && name !== lowerCasedName) {
      // Unknown attributes should have lowercase casing since that's how they
      // will be cased anyway with server rendering.
      error('React does not recognize the `%s` prop on a DOM element. If you ' + 'intentionally want it to appear in the DOM as a custom ' + 'attribute, spell it as lowercase `%s` instead. ' + 'If you accidentally passed it from a parent component, remove ' + 'it from the DOM element.', name, lowerCasedName);

      warnedProperties$1[name] = true;
      return true;
    }

    if (typeof value === 'boolean' && shouldRemoveAttributeWithWarning(name, value, propertyInfo, false)) {
      if (value) {
        error('Received `%s` for a non-boolean attribute `%s`.\n\n' + 'If you want to write it to the DOM, pass a string instead: ' + '%s="%s" or %s={value.toString()}.', value, name, name, value, name);
      } else {
        error('Received `%s` for a non-boolean attribute `%s`.\n\n' + 'If you want to write it to the DOM, pass a string instead: ' + '%s="%s" or %s={value.toString()}.\n\n' + 'If you used to conditionally omit it with %s={condition && value}, ' + 'pass %s={condition ? value : undefined} instead.', value, name, name, value, name, name, name);
      }

      warnedProperties$1[name] = true;
      return true;
    } // Now that we've validated casing, do not validate
    // data types for reserved props


    if (isReserved) {
      return true;
    } // Warn when a known attribute is a bad type


    if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, false)) {
      warnedProperties$1[name] = true;
      return false;
    } // Warn when passing the strings 'false' or 'true' into a boolean prop


    if ((value === 'false' || value === 'true') && propertyInfo !== null && propertyInfo.type === BOOLEAN) {
      error('Received the string `%s` for the boolean attribute `%s`. ' + '%s ' + 'Did you mean %s={%s}?', value, name, value === 'false' ? 'The browser will interpret it as a truthy value.' : 'Although this works, it will not work as expected if you pass the string "false".', name, value);

      warnedProperties$1[name] = true;
      return true;
    }

    return true;
  };
}

var warnUnknownProperties = function (type, props, eventRegistry) {
  {
    var unknownProps = [];

    for (var key in props) {
      var isValid = validateProperty$1(type, key, props[key], eventRegistry);

      if (!isValid) {
        unknownProps.push(key);
      }
    }

    var unknownPropString = unknownProps.map(function (prop) {
      return '`' + prop + '`';
    }).join(', ');

    if (unknownProps.length === 1) {
      error('Invalid value for prop %s on <%s> tag. Either remove it from the element, ' + 'or pass a string or number value to keep it in the DOM. ' + 'For details, see https://reactjs.org/link/attribute-behavior ', unknownPropString, type);
    } else if (unknownProps.length > 1) {
      error('Invalid values for props %s on <%s> tag. Either remove them from the element, ' + 'or pass a string or number value to keep them in the DOM. ' + 'For details, see https://reactjs.org/link/attribute-behavior ', unknownPropString, type);
    }
  }
};

function validateProperties$2(type, props, eventRegistry) {
  if (isCustomComponent(type, props)) {
    return;
  }

  warnUnknownProperties(type, props, eventRegistry);
}

var IS_EVENT_HANDLE_NON_MANAGED_NODE = 1;
var IS_NON_DELEGATED = 1 << 1;
var IS_CAPTURE_PHASE = 1 << 2;
// set to LEGACY_FB_SUPPORT. LEGACY_FB_SUPPORT only gets set when
// we call willDeferLaterForLegacyFBSupport, thus not bailing out
// will result in endless cycles like an infinite loop.
// We also don't want to defer during event replaying.

var SHOULD_NOT_PROCESS_POLYFILL_EVENT_PLUGINS = IS_EVENT_HANDLE_NON_MANAGED_NODE | IS_NON_DELEGATED | IS_CAPTURE_PHASE;

// This exists to avoid circular dependency between ReactDOMEventReplaying
// and DOMPluginEventSystem.
var currentReplayingEvent = null;
function setReplayingEvent(event) {
  {
    if (currentReplayingEvent !== null) {
      error('Expected currently replaying event to be null. This error ' + 'is likely caused by a bug in React. Please file an issue.');
    }
  }

  currentReplayingEvent = event;
}
function resetReplayingEvent() {
  {
    if (currentReplayingEvent === null) {
      error('Expected currently replaying event to not be null. This error ' + 'is likely caused by a bug in React. Please file an issue.');
    }
  }

  currentReplayingEvent = null;
}
function isReplayingEvent(event) {
  return event === currentReplayingEvent;
}

/**
 * Gets the target node from a native browser event by accounting for
 * inconsistencies in browser DOM APIs.
 *
 * @param {object} nativeEvent Native browser event.
 * @return {DOMEventTarget} Target node.
 */

function getEventTarget(nativeEvent) {
  // Fallback to nativeEvent.srcElement for IE9
  // https://github.com/facebook/react/issues/12506
  var target = nativeEvent.target || nativeEvent.srcElement || window; // Normalize SVG <use> element events #4963

  if (target.correspondingUseElement) {
    target = target.correspondingUseElement;
  } // Safari may fire events on text nodes (Node.TEXT_NODE is 3).
  // @see http://www.quirksmode.org/js/events_properties.html


  return target.nodeType === TEXT_NODE ? target.parentNode : target;
}

var restoreImpl = null;
var restoreTarget = null;
var restoreQueue = null;

function restoreStateOfTarget(target) {
  // We perform this translation at the end of the event loop so that we
  // always receive the correct fiber here
  var internalInstance = getInstanceFromNode(target);

  if (!internalInstance) {
    // Unmounted
    return;
  }

  if (typeof restoreImpl !== 'function') {
    throw new Error('setRestoreImplementation() needs to be called to handle a target for controlled ' + 'events. This error is likely caused by a bug in React. Please file an issue.');
  }

  var stateNode = internalInstance.stateNode; // Guard against Fiber being unmounted.

  if (stateNode) {
    var _props = getFiberCurrentPropsFromNode(stateNode);

    restoreImpl(internalInstance.stateNode, internalInstance.type, _props);
  }
}

function setRestoreImplementation(impl) {
  restoreImpl = impl;
}
function enqueueStateRestore(target) {
  if (restoreTarget) {
    if (restoreQueue) {
      restoreQueue.push(target);
    } else {
      restoreQueue = [target];
    }
  } else {
    restoreTarget = target;
  }
}
function needsStateRestore() {
  return restoreTarget !== null || restoreQueue !== null;
}
function restoreStateIfNeeded() {
  if (!restoreTarget) {
    return;
  }

  var target = restoreTarget;
  var queuedTargets = restoreQueue;
  restoreTarget = null;
  restoreQueue = null;
  restoreStateOfTarget(target);

  if (queuedTargets) {
    for (var i = 0; i < queuedTargets.length; i++) {
      restoreStateOfTarget(queuedTargets[i]);
    }
  }
}

// the renderer. Such as when we're dispatching events or if third party
// libraries need to call batchedUpdates. Eventually, this API will go away when
// everything is batched by default. We'll then have a similar API to opt-out of
// scheduled work and instead do synchronous work.
// Defaults

var batchedUpdatesImpl = function (fn, bookkeeping) {
  return fn(bookkeeping);
};

var flushSyncImpl = function () {};

var isInsideEventHandler = false;

function finishEventHandler() {
  // Here we wait until all updates have propagated, which is important
  // when using controlled components within layers:
  // https://github.com/facebook/react/issues/1698
  // Then we restore state of any controlled component.
  var controlledComponentsHavePendingUpdates = needsStateRestore();

  if (controlledComponentsHavePendingUpdates) {
    // If a controlled event was fired, we may need to restore the state of
    // the DOM node back to the controlled value. This is necessary when React
    // bails out of the update without touching the DOM.
    // TODO: Restore state in the microtask, after the discrete updates flush,
    // instead of early flushing them here.
    flushSyncImpl();
    restoreStateIfNeeded();
  }
}

function batchedUpdates(fn, a, b) {
  if (isInsideEventHandler) {
    // If we are currently inside another batch, we need to wait until it
    // fully completes before restoring state.
    return fn(a, b);
  }

  isInsideEventHandler = true;

  try {
    return batchedUpdatesImpl(fn, a, b);
  } finally {
    isInsideEventHandler = false;
    finishEventHandler();
  }
} // TODO: Replace with flushSync
function setBatchingImplementation(_batchedUpdatesImpl, _discreteUpdatesImpl, _flushSyncImpl) {
  batchedUpdatesImpl = _batchedUpdatesImpl;
  flushSyncImpl = _flushSyncImpl;
}

function isInteractive(tag) {
  return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';
}

function shouldPreventMouseEvent(name, type, props) {
  switch (name) {
    case 'onClick':
    case 'onClickCapture':
    case 'onDoubleClick':
    case 'onDoubleClickCapture':
    case 'onMouseDown':
    case 'onMouseDownCapture':
    case 'onMouseMove':
    case 'onMouseMoveCapture':
    case 'onMouseUp':
    case 'onMouseUpCapture':
    case 'onMouseEnter':
      return !!(props.disabled && isInteractive(type));

    default:
      return false;
  }
}
/**
 * @param {object} inst The instance, which is the source of events.
 * @param {string} registrationName Name of listener (e.g. `onClick`).
 * @return {?function} The stored callback.
 */


function getListener(inst, registrationName) {
  var stateNode = inst.stateNode;

  if (stateNode === null) {
    // Work in progress (ex: onload events in incremental mode).
    return null;
  }

  var props = getFiberCurrentPropsFromNode(stateNode);

  if (props === null) {
    // Work in progress.
    return null;
  }

  var listener = props[registrationName];

  if (shouldPreventMouseEvent(registrationName, inst.type, props)) {
    return null;
  }

  if (listener && typeof listener !== 'function') {
    throw new Error("Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof listener + "` type.");
  }

  return listener;
}

var passiveBrowserEventsSupported = false; // Check if browser support events with passive listeners
// https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support

if (canUseDOM) {
  try {
    var options = {}; // $FlowFixMe: Ignore Flow complaining about needing a value

    Object.defineProperty(options, 'passive', {
      get: function () {
        passiveBrowserEventsSupported = true;
      }
    });
    window.addEventListener('test', options, options);
    window.removeEventListener('test', options, options);
  } catch (e) {
    passiveBrowserEventsSupported = false;
  }
}

function invokeGuardedCallbackProd(name, func, context, a, b, c, d, e, f) {
  var funcArgs = Array.prototype.slice.call(arguments, 3);

  try {
    func.apply(context, funcArgs);
  } catch (error) {
    this.onError(error);
  }
}

var invokeGuardedCallbackImpl = invokeGuardedCallbackProd;

{
  // In DEV mode, we swap out invokeGuardedCallback for a special version
  // that plays more nicely with the browser's DevTools. The idea is to preserve
  // "Pause on exceptions" behavior. Because React wraps all user-provided
  // functions in invokeGuardedCallback, and the production version of
  // invokeGuardedCallback uses a try-catch, all user exceptions are treated
  // like caught exceptions, and the DevTools won't pause unless the developer
  // takes the extra step of enabling pause on caught exceptions. This is
  // unintuitive, though, because even though React has caught the error, from
  // the developer's perspective, the error is uncaught.
  //
  // To preserve the expected "Pause on exceptions" behavior, we don't use a
  // try-catch in DEV. Instead, we synchronously dispatch a fake event to a fake
  // DOM node, and call the user-provided callback from inside an event handler
  // for that fake event. If the callback throws, the error is "captured" using
  // a global event handler. But because the error happens in a different
  // event loop context, it does not interrupt the normal program flow.
  // Effectively, this gives us try-catch behavior without actually using
  // try-catch. Neat!
  // Check that the browser supports the APIs we need to implement our special
  // DEV version of invokeGuardedCallback
  if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {
    var fakeNode = document.createElement('react');

    invokeGuardedCallbackImpl = function invokeGuardedCallbackDev(name, func, context, a, b, c, d, e, f) {
      // If document doesn't exist we know for sure we will crash in this method
      // when we call document.createEvent(). However this can cause confusing
      // errors: https://github.com/facebook/create-react-app/issues/3482
      // So we preemptively throw with a better message instead.
      if (typeof document === 'undefined' || document === null) {
        throw new Error('The `document` global was defined when React was initialized, but is not ' + 'defined anymore. This can happen in a test environment if a component ' + 'schedules an update from an asynchronous callback, but the test has already ' + 'finished running. To solve this, you can either unmount the component at ' + 'the end of your test (and ensure that any asynchronous operations get ' + 'canceled in `componentWillUnmount`), or you can change the test itself ' + 'to be asynchronous.');
      }

      var evt = document.createEvent('Event');
      var didCall = false; // Keeps track of whether the user-provided callback threw an error. We
      // set this to true at the beginning, then set it to false right after
      // calling the function. If the function errors, `didError` will never be
      // set to false. This strategy works even if the browser is flaky and
      // fails to call our global error handler, because it doesn't rely on
      // the error event at all.

      var didError = true; // Keeps track of the value of window.event so that we can reset it
      // during the callback to let user code access window.event in the
      // browsers that support it.

      var windowEvent = window.event; // Keeps track of the descriptor of window.event to restore it after event
      // dispatching: https://github.com/facebook/react/issues/13688

      var windowEventDescriptor = Object.getOwnPropertyDescriptor(window, 'event');

      function restoreAfterDispatch() {
        // We immediately remove the callback from event listeners so that
        // nested `invokeGuardedCallback` calls do not clash. Otherwise, a
        // nested call would trigger the fake event handlers of any call higher
        // in the stack.
        fakeNode.removeEventListener(evtType, callCallback, false); // We check for window.hasOwnProperty('event') to prevent the
        // window.event assignment in both IE <= 10 as they throw an error
        // "Member not found" in strict mode, and in Firefox which does not
        // support window.event.

        if (typeof window.event !== 'undefined' && window.hasOwnProperty('event')) {
          window.event = windowEvent;
        }
      } // Create an event handler for our fake event. We will synchronously
      // dispatch our fake event using `dispatchEvent`. Inside the handler, we
      // call the user-provided callback.


      var funcArgs = Array.prototype.slice.call(arguments, 3);

      function callCallback() {
        didCall = true;
        restoreAfterDispatch();
        func.apply(context, funcArgs);
        didError = false;
      } // Create a global error event handler. We use this to capture the value
      // that was thrown. It's possible that this error handler will fire more
      // than once; for example, if non-React code also calls `dispatchEvent`
      // and a handler for that event throws. We should be resilient to most of
      // those cases. Even if our error event handler fires more than once, the
      // last error event is always used. If the callback actually does error,
      // we know that the last error event is the correct one, because it's not
      // possible for anything else to have happened in between our callback
      // erroring and the code that follows the `dispatchEvent` call below. If
      // the callback doesn't error, but the error event was fired, we know to
      // ignore it because `didError` will be false, as described above.


      var error; // Use this to track whether the error event is ever called.

      var didSetError = false;
      var isCrossOriginError = false;

      function handleWindowError(event) {
        error = event.error;
        didSetError = true;

        if (error === null && event.colno === 0 && event.lineno === 0) {
          isCrossOriginError = true;
        }

        if (event.defaultPrevented) {
          // Some other error handler has prevented default.
          // Browsers silence the error report if this happens.
          // We'll remember this to later decide whether to log it or not.
          if (error != null && typeof error === 'object') {
            try {
              error._suppressLogging = true;
            } catch (inner) {// Ignore.
            }
          }
        }
      } // Create a fake event type.


      var evtType = "react-" + (name ? name : 'invokeguardedcallback'); // Attach our event handlers

      window.addEventListener('error', handleWindowError);
      fakeNode.addEventListener(evtType, callCallback, false); // Synchronously dispatch our fake event. If the user-provided function
      // errors, it will trigger our global error handler.

      evt.initEvent(evtType, false, false);
      fakeNode.dispatchEvent(evt);

      if (windowEventDescriptor) {
        Object.defineProperty(window, 'event', windowEventDescriptor);
      }

      if (didCall && didError) {
        if (!didSetError) {
          // The callback errored, but the error event never fired.
          // eslint-disable-next-line react-internal/prod-error-codes
          error = new Error('An error was thrown inside one of your components, but React ' + "doesn't know what it was. This is likely due to browser " + 'flakiness. React does its best to preserve the "Pause on ' + 'exceptions" behavior of the DevTools, which requires some ' + "DEV-mode only tricks. It's possible that these don't work in " + 'your browser. Try triggering the error in production mode, ' + 'or switching to a modern browser. If you suspect that this is ' + 'actually an issue with React, please file an issue.');
        } else if (isCrossOriginError) {
          // eslint-disable-next-line react-internal/prod-error-codes
          error = new Error("A cross-origin error was thrown. React doesn't have access to " + 'the actual error object in development. ' + 'See https://reactjs.org/link/crossorigin-error for more information.');
        }

        this.onError(error);
      } // Remove our event listeners


      window.removeEventListener('error', handleWindowError);

      if (!didCall) {
        // Something went really wrong, and our event was not dispatched.
        // https://github.com/facebook/react/issues/16734
        // https://github.com/facebook/react/issues/16585
        // Fall back to the production implementation.
        restoreAfterDispatch();
        return invokeGuardedCallbackProd.apply(this, arguments);
      }
    };
  }
}

var invokeGuardedCallbackImpl$1 = invokeGuardedCallbackImpl;

var hasError = false;
var caughtError = null; // Used by event system to capture/rethrow the first error.

var hasRethrowError = false;
var rethrowError = null;
var reporter = {
  onError: function (error) {
    hasError = true;
    caughtError = error;
  }
};
/**
 * Call a function while guarding against errors that happens within it.
 * Returns an error if it throws, otherwise null.
 *
 * In production, this is implemented using a try-catch. The reason we don't
 * use a try-catch directly is so that we can swap out a different
 * implementation in DEV mode.
 *
 * @param {String} name of the guard to use for logging or debugging
 * @param {Function} func The function to invoke
 * @param {*} context The context to use when calling the function
 * @param {...*} args Arguments for function
 */

function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {
  hasError = false;
  caughtError = null;
  invokeGuardedCallbackImpl$1.apply(reporter, arguments);
}
/**
 * Same as invokeGuardedCallback, but instead of returning an error, it stores
 * it in a global so it can be rethrown by `rethrowCaughtError` later.
 * TODO: See if caughtError and rethrowError can be unified.
 *
 * @param {String} name of the guard to use for logging or debugging
 * @param {Function} func The function to invoke
 * @param {*} context The context to use when calling the function
 * @param {...*} args Arguments for function
 */

function invokeGuardedCallbackAndCatchFirstError(name, func, context, a, b, c, d, e, f) {
  invokeGuardedCallback.apply(this, arguments);

  if (hasError) {
    var error = clearCaughtError();

    if (!hasRethrowError) {
      hasRethrowError = true;
      rethrowError = error;
    }
  }
}
/**
 * During execution of guarded functions we will capture the first error which
 * we will rethrow to be handled by the top level error handler.
 */

function rethrowCaughtError() {
  if (hasRethrowError) {
    var error = rethrowError;
    hasRethrowError = false;
    rethrowError = null;
    throw error;
  }
}
function hasCaughtError() {
  return hasError;
}
function clearCaughtError() {
  if (hasError) {
    var error = caughtError;
    hasError = false;
    caughtError = null;
    return error;
  } else {
    throw new Error('clearCaughtError was called but no error was captured. This error ' + 'is likely caused by a bug in React. Please file an issue.');
  }
}

/**
 * `ReactInstanceMap` maintains a mapping from a public facing stateful
 * instance (key) and the internal representation (value). This allows public
 * methods to accept the user facing instance as an argument and map them back
 * to internal methods.
 *
 * Note that this module is currently shared and assumed to be stateless.
 * If this becomes an actual Map, that will break.
 */
function get(key) {
  return key._reactInternals;
}
function has(key) {
  return key._reactInternals !== undefined;
}
function set(key, value) {
  key._reactInternals = value;
}

// Don't change these two values. They're used by React Dev Tools.
var NoFlags =
/*                      */
0;
var PerformedWork =
/*                */
1; // You can change the rest (and add more).

var Placement =
/*                    */
2;
var Update =
/*                       */
4;
var ChildDeletion =
/*                */
16;
var ContentReset =
/*                 */
32;
var Callback =
/*                     */
64;
var DidCapture =
/*                   */
128;
var ForceClientRender =
/*            */
256;
var Ref =
/*                          */
512;
var Snapshot =
/*                     */
1024;
var Passive =
/*                      */
2048;
var Hydrating =
/*                    */
4096;
var Visibility =
/*                   */
8192;
var StoreConsistency =
/*             */
16384;
var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit)

var HostEffectMask =
/*               */
32767; // These are not really side effects, but we still reuse this field.

var Incomplete =
/*                   */
32768;
var ShouldCapture =
/*                */
65536;
var ForceUpdateForLegacySuspense =
/* */
131072;
var Forked =
/*                       */
1048576; // Static tags describe aspects of a fiber that are not specific to a render,
// e.g. a fiber uses a passive effect (even if there are no updates on this particular render).
// This enables us to defer more work in the unmount case,
// since we can defer traversing the tree during layout to look for Passive effects,
// and instead rely on the static flag as a signal that there may be cleanup work.

var RefStatic =
/*                    */
2097152;
var LayoutStatic =
/*                 */
4194304;
var PassiveStatic =
/*                */
8388608; // These flags allow us to traverse to fibers that have effects on mount
// without traversing the entire tree after every commit for
// double invoking

var MountLayoutDev =
/*               */
16777216;
var MountPassiveDev =
/*              */
33554432; // Groups of flags that are used in the commit phase to skip over trees that
// don't contain effects, by checking subtreeFlags.

var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility
// flag logic (see #20043)
Update | Snapshot | ( 0);
var MutationMask = Placement | Update | ChildDeletion | ContentReset | Ref | Hydrating | Visibility;
var LayoutMask = Update | Callback | Ref | Visibility; // TODO: Split into PassiveMountMask and PassiveUnmountMask

var PassiveMask = Passive | ChildDeletion; // Union of tags that don't get reset on clones.
// This allows certain concepts to persist without recalculating them,
// e.g. whether a subtree contains passive effects or portals.

var StaticMask = LayoutStatic | PassiveStatic | RefStatic;

var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
function getNearestMountedFiber(fiber) {
  var node = fiber;
  var nearestMounted = fiber;

  if (!fiber.alternate) {
    // If there is no alternate, this might be a new tree that isn't inserted
    // yet. If it is, then it will have a pending insertion effect on it.
    var nextNode = node;

    do {
      node = nextNode;

      if ((node.flags & (Placement | Hydrating)) !== NoFlags) {
        // This is an insertion or in-progress hydration. The nearest possible
        // mounted fiber is the parent but we need to continue to figure out
        // if that one is still mounted.
        nearestMounted = node.return;
      }

      nextNode = node.return;
    } while (nextNode);
  } else {
    while (node.return) {
      node = node.return;
    }
  }

  if (node.tag === HostRoot) {
    // TODO: Check if this was a nested HostRoot when used with
    // renderContainerIntoSubtree.
    return nearestMounted;
  } // If we didn't hit the root, that means that we're in an disconnected tree
  // that has been unmounted.


  return null;
}
function getSuspenseInstanceFromFiber(fiber) {
  if (fiber.tag === SuspenseComponent) {
    var suspenseState = fiber.memoizedState;

    if (suspenseState === null) {
      var current = fiber.alternate;

      if (current !== null) {
        suspenseState = current.memoizedState;
      }
    }

    if (suspenseState !== null) {
      return suspenseState.dehydrated;
    }
  }

  return null;
}
function getContainerFromFiber(fiber) {
  return fiber.tag === HostRoot ? fiber.stateNode.containerInfo : null;
}
function isFiberMounted(fiber) {
  return getNearestMountedFiber(fiber) === fiber;
}
function isMounted(component) {
  {
    var owner = ReactCurrentOwner.current;

    if (owner !== null && owner.tag === ClassComponent) {
      var ownerFiber = owner;
      var instance = ownerFiber.stateNode;

      if (!instance._warnedAboutRefsInRender) {
        error('%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', getComponentNameFromFiber(ownerFiber) || 'A component');
      }

      instance._warnedAboutRefsInRender = true;
    }
  }

  var fiber = get(component);

  if (!fiber) {
    return false;
  }

  return getNearestMountedFiber(fiber) === fiber;
}

function assertIsMounted(fiber) {
  if (getNearestMountedFiber(fiber) !== fiber) {
    throw new Error('Unable to find node on an unmounted component.');
  }
}

function findCurrentFiberUsingSlowPath(fiber) {
  var alternate = fiber.alternate;

  if (!alternate) {
    // If there is no alternate, then we only need to check if it is mounted.
    var nearestMounted = getNearestMountedFiber(fiber);

    if (nearestMounted === null) {
      throw new Error('Unable to find node on an unmounted component.');
    }

    if (nearestMounted !== fiber) {
      return null;
    }

    return fiber;
  } // If we have two possible branches, we'll walk backwards up to the root
  // to see what path the root points to. On the way we may hit one of the
  // special cases and we'll deal with them.


  var a = fiber;
  var b = alternate;

  while (true) {
    var parentA = a.return;

    if (parentA === null) {
      // We're at the root.
      break;
    }

    var parentB = parentA.alternate;

    if (parentB === null) {
      // There is no alternate. This is an unusual case. Currently, it only
      // happens when a Suspense component is hidden. An extra fragment fiber
      // is inserted in between the Suspense fiber and its children. Skip
      // over this extra fragment fiber and proceed to the next parent.
      var nextParent = parentA.return;

      if (nextParent !== null) {
        a = b = nextParent;
        continue;
      } // If there's no parent, we're at the root.


      break;
    } // If both copies of the parent fiber point to the same child, we can
    // assume that the child is current. This happens when we bailout on low
    // priority: the bailed out fiber's child reuses the current child.


    if (parentA.child === parentB.child) {
      var child = parentA.child;

      while (child) {
        if (child === a) {
          // We've determined that A is the current branch.
          assertIsMounted(parentA);
          return fiber;
        }

        if (child === b) {
          // We've determined that B is the current branch.
          assertIsMounted(parentA);
          return alternate;
        }

        child = child.sibling;
      } // We should never have an alternate for any mounting node. So the only
      // way this could possibly happen is if this was unmounted, if at all.


      throw new Error('Unable to find node on an unmounted component.');
    }

    if (a.return !== b.return) {
      // The return pointer of A and the return pointer of B point to different
      // fibers. We assume that return pointers never criss-cross, so A must
      // belong to the child set of A.return, and B must belong to the child
      // set of B.return.
      a = parentA;
      b = parentB;
    } else {
      // The return pointers point to the same fiber. We'll have to use the
      // default, slow path: scan the child sets of each parent alternate to see
      // which child belongs to which set.
      //
      // Search parent A's child set
      var didFindChild = false;
      var _child = parentA.child;

      while (_child) {
        if (_child === a) {
          didFindChild = true;
          a = parentA;
          b = parentB;
          break;
        }

        if (_child === b) {
          didFindChild = true;
          b = parentA;
          a = parentB;
          break;
        }

        _child = _child.sibling;
      }

      if (!didFindChild) {
        // Search parent B's child set
        _child = parentB.child;

        while (_child) {
          if (_child === a) {
            didFindChild = true;
            a = parentB;
            b = parentA;
            break;
          }

          if (_child === b) {
            didFindChild = true;
            b = parentB;
            a = parentA;
            break;
          }

          _child = _child.sibling;
        }

        if (!didFindChild) {
          throw new Error('Child was not found in either parent set. This indicates a bug ' + 'in React related to the return pointer. Please file an issue.');
        }
      }
    }

    if (a.alternate !== b) {
      throw new Error("Return fibers should always be each others' alternates. " + 'This error is likely caused by a bug in React. Please file an issue.');
    }
  } // If the root is not a host container, we're in a disconnected tree. I.e.
  // unmounted.


  if (a.tag !== HostRoot) {
    throw new Error('Unable to find node on an unmounted component.');
  }

  if (a.stateNode.current === a) {
    // We've determined that A is the current branch.
    return fiber;
  } // Otherwise B has to be current branch.


  return alternate;
}
function findCurrentHostFiber(parent) {
  var currentParent = findCurrentFiberUsingSlowPath(parent);
  return currentParent !== null ? findCurrentHostFiberImpl(currentParent) : null;
}

function findCurrentHostFiberImpl(node) {
  // Next we'll drill down this component to find the first HostComponent/Text.
  if (node.tag === HostComponent || node.tag === HostText) {
    return node;
  }

  var child = node.child;

  while (child !== null) {
    var match = findCurrentHostFiberImpl(child);

    if (match !== null) {
      return match;
    }

    child = child.sibling;
  }

  return null;
}

function findCurrentHostFiberWithNoPortals(parent) {
  var currentParent = findCurrentFiberUsingSlowPath(parent);
  return currentParent !== null ? findCurrentHostFiberWithNoPortalsImpl(currentParent) : null;
}

function findCurrentHostFiberWithNoPortalsImpl(node) {
  // Next we'll drill down this component to find the first HostComponent/Text.
  if (node.tag === HostComponent || node.tag === HostText) {
    return node;
  }

  var child = node.child;

  while (child !== null) {
    if (child.tag !== HostPortal) {
      var match = findCurrentHostFiberWithNoPortalsImpl(child);

      if (match !== null) {
        return match;
      }
    }

    child = child.sibling;
  }

  return null;
}

// This module only exists as an ESM wrapper around the external CommonJS
var scheduleCallback = Scheduler.unstable_scheduleCallback;
var cancelCallback = Scheduler.unstable_cancelCallback;
var shouldYield = Scheduler.unstable_shouldYield;
var requestPaint = Scheduler.unstable_requestPaint;
var now = Scheduler.unstable_now;
var getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel;
var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
var NormalPriority = Scheduler.unstable_NormalPriority;
var LowPriority = Scheduler.unstable_LowPriority;
var IdlePriority = Scheduler.unstable_IdlePriority;
// this doesn't actually exist on the scheduler, but it *does*
// on scheduler/unstable_mock, which we'll need for internal testing
var unstable_yieldValue = Scheduler.unstable_yieldValue;
var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;

var rendererID = null;
var injectedHook = null;
var injectedProfilingHooks = null;
var hasLoggedError = false;
var isDevToolsPresent = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined';
function injectInternals(internals) {
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {
    // No DevTools
    return false;
  }

  var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;

  if (hook.isDisabled) {
    // This isn't a real property on the hook, but it can be set to opt out
    // of DevTools integration and associated warnings and logs.
    // https://github.com/facebook/react/issues/3877
    return true;
  }

  if (!hook.supportsFiber) {
    {
      error('The installed version of React DevTools is too old and will not work ' + 'with the current version of React. Please update React DevTools. ' + 'https://reactjs.org/link/react-devtools');
    } // DevTools exists, even though it doesn't support Fiber.


    return true;
  }

  try {
    if (enableSchedulingProfiler) {
      // Conditionally inject these hooks only if Timeline profiler is supported by this build.
      // This gives DevTools a way to feature detect that isn't tied to version number
      // (since profiling and timeline are controlled by different feature flags).
      internals = assign({}, internals, {
        getLaneLabelMap: getLaneLabelMap,
        injectProfilingHooks: injectProfilingHooks
      });
    }

    rendererID = hook.inject(internals); // We have successfully injected, so now it is safe to set up hooks.

    injectedHook = hook;
  } catch (err) {
    // Catch all errors because it is unsafe to throw during initialization.
    {
      error('React instrumentation encountered an error: %s.', err);
    }
  }

  if (hook.checkDCE) {
    // This is the real DevTools.
    return true;
  } else {
    // This is likely a hook installed by Fast Refresh runtime.
    return false;
  }
}
function onScheduleRoot(root, children) {
  {
    if (injectedHook && typeof injectedHook.onScheduleFiberRoot === 'function') {
      try {
        injectedHook.onScheduleFiberRoot(rendererID, root, children);
      } catch (err) {
        if ( !hasLoggedError) {
          hasLoggedError = true;

          error('React instrumentation encountered an error: %s', err);
        }
      }
    }
  }
}
function onCommitRoot(root, eventPriority) {
  if (injectedHook && typeof injectedHook.onCommitFiberRoot === 'function') {
    try {
      var didError = (root.current.flags & DidCapture) === DidCapture;

      if (enableProfilerTimer) {
        var schedulerPriority;

        switch (eventPriority) {
          case DiscreteEventPriority:
            schedulerPriority = ImmediatePriority;
            break;

          case ContinuousEventPriority:
            schedulerPriority = UserBlockingPriority;
            break;

          case DefaultEventPriority:
            schedulerPriority = NormalPriority;
            break;

          case IdleEventPriority:
            schedulerPriority = IdlePriority;
            break;

          default:
            schedulerPriority = NormalPriority;
            break;
        }

        injectedHook.onCommitFiberRoot(rendererID, root, schedulerPriority, didError);
      } else {
        injectedHook.onCommitFiberRoot(rendererID, root, undefined, didError);
      }
    } catch (err) {
      {
        if (!hasLoggedError) {
          hasLoggedError = true;

          error('React instrumentation encountered an error: %s', err);
        }
      }
    }
  }
}
function onPostCommitRoot(root) {
  if (injectedHook && typeof injectedHook.onPostCommitFiberRoot === 'function') {
    try {
      injectedHook.onPostCommitFiberRoot(rendererID, root);
    } catch (err) {
      {
        if (!hasLoggedError) {
          hasLoggedError = true;

          error('React instrumentation encountered an error: %s', err);
        }
      }
    }
  }
}
function onCommitUnmount(fiber) {
  if (injectedHook && typeof injectedHook.onCommitFiberUnmount === 'function') {
    try {
      injectedHook.onCommitFiberUnmount(rendererID, fiber);
    } catch (err) {
      {
        if (!hasLoggedError) {
          hasLoggedError = true;

          error('React instrumentation encountered an error: %s', err);
        }
      }
    }
  }
}
function setIsStrictModeForDevtools(newIsStrictMode) {
  {
    if (typeof unstable_yieldValue === 'function') {
      // We're in a test because Scheduler.unstable_yieldValue only exists
      // in SchedulerMock. To reduce the noise in strict mode tests,
      // suppress warnings and disable scheduler yielding during the double render
      unstable_setDisableYieldValue(newIsStrictMode);
      setSuppressWarning(newIsStrictMode);
    }

    if (injectedHook && typeof injectedHook.setStrictMode === 'function') {
      try {
        injectedHook.setStrictMode(rendererID, newIsStrictMode);
      } catch (err) {
        {
          if (!hasLoggedError) {
            hasLoggedError = true;

            error('React instrumentation encountered an error: %s', err);
          }
        }
      }
    }
  }
} // Profiler API hooks

function injectProfilingHooks(profilingHooks) {
  injectedProfilingHooks = profilingHooks;
}

function getLaneLabelMap() {
  {
    var map = new Map();
    var lane = 1;

    for (var index = 0; index < TotalLanes; index++) {
      var label = getLabelForLane(lane);
      map.set(lane, label);
      lane *= 2;
    }

    return map;
  }
}

function markCommitStarted(lanes) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markCommitStarted === 'function') {
      injectedProfilingHooks.markCommitStarted(lanes);
    }
  }
}
function markCommitStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markCommitStopped === 'function') {
      injectedProfilingHooks.markCommitStopped();
    }
  }
}
function markComponentRenderStarted(fiber) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentRenderStarted === 'function') {
      injectedProfilingHooks.markComponentRenderStarted(fiber);
    }
  }
}
function markComponentRenderStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentRenderStopped === 'function') {
      injectedProfilingHooks.markComponentRenderStopped();
    }
  }
}
function markComponentPassiveEffectMountStarted(fiber) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectMountStarted === 'function') {
      injectedProfilingHooks.markComponentPassiveEffectMountStarted(fiber);
    }
  }
}
function markComponentPassiveEffectMountStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectMountStopped === 'function') {
      injectedProfilingHooks.markComponentPassiveEffectMountStopped();
    }
  }
}
function markComponentPassiveEffectUnmountStarted(fiber) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStarted === 'function') {
      injectedProfilingHooks.markComponentPassiveEffectUnmountStarted(fiber);
    }
  }
}
function markComponentPassiveEffectUnmountStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentPassiveEffectUnmountStopped === 'function') {
      injectedProfilingHooks.markComponentPassiveEffectUnmountStopped();
    }
  }
}
function markComponentLayoutEffectMountStarted(fiber) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectMountStarted === 'function') {
      injectedProfilingHooks.markComponentLayoutEffectMountStarted(fiber);
    }
  }
}
function markComponentLayoutEffectMountStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectMountStopped === 'function') {
      injectedProfilingHooks.markComponentLayoutEffectMountStopped();
    }
  }
}
function markComponentLayoutEffectUnmountStarted(fiber) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStarted === 'function') {
      injectedProfilingHooks.markComponentLayoutEffectUnmountStarted(fiber);
    }
  }
}
function markComponentLayoutEffectUnmountStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentLayoutEffectUnmountStopped === 'function') {
      injectedProfilingHooks.markComponentLayoutEffectUnmountStopped();
    }
  }
}
function markComponentErrored(fiber, thrownValue, lanes) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentErrored === 'function') {
      injectedProfilingHooks.markComponentErrored(fiber, thrownValue, lanes);
    }
  }
}
function markComponentSuspended(fiber, wakeable, lanes) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markComponentSuspended === 'function') {
      injectedProfilingHooks.markComponentSuspended(fiber, wakeable, lanes);
    }
  }
}
function markLayoutEffectsStarted(lanes) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markLayoutEffectsStarted === 'function') {
      injectedProfilingHooks.markLayoutEffectsStarted(lanes);
    }
  }
}
function markLayoutEffectsStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markLayoutEffectsStopped === 'function') {
      injectedProfilingHooks.markLayoutEffectsStopped();
    }
  }
}
function markPassiveEffectsStarted(lanes) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markPassiveEffectsStarted === 'function') {
      injectedProfilingHooks.markPassiveEffectsStarted(lanes);
    }
  }
}
function markPassiveEffectsStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markPassiveEffectsStopped === 'function') {
      injectedProfilingHooks.markPassiveEffectsStopped();
    }
  }
}
function markRenderStarted(lanes) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderStarted === 'function') {
      injectedProfilingHooks.markRenderStarted(lanes);
    }
  }
}
function markRenderYielded() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderYielded === 'function') {
      injectedProfilingHooks.markRenderYielded();
    }
  }
}
function markRenderStopped() {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderStopped === 'function') {
      injectedProfilingHooks.markRenderStopped();
    }
  }
}
function markRenderScheduled(lane) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markRenderScheduled === 'function') {
      injectedProfilingHooks.markRenderScheduled(lane);
    }
  }
}
function markForceUpdateScheduled(fiber, lane) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markForceUpdateScheduled === 'function') {
      injectedProfilingHooks.markForceUpdateScheduled(fiber, lane);
    }
  }
}
function markStateUpdateScheduled(fiber, lane) {
  {
    if (injectedProfilingHooks !== null && typeof injectedProfilingHooks.markStateUpdateScheduled === 'function') {
      injectedProfilingHooks.markStateUpdateScheduled(fiber, lane);
    }
  }
}

var NoMode =
/*                         */
0; // TODO: Remove ConcurrentMode by reading from the root tag instead

var ConcurrentMode =
/*                 */
1;
var ProfileMode =
/*                    */
2;
var StrictLegacyMode =
/*               */
8;
var StrictEffectsMode =
/*              */
16;

// TODO: This is pretty well supported by browsers. Maybe we can drop it.
var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback; // Count leading zeros.
// Based on:
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/clz32

var log = Math.log;
var LN2 = Math.LN2;

function clz32Fallback(x) {
  var asUint = x >>> 0;

  if (asUint === 0) {
    return 32;
  }

  return 31 - (log(asUint) / LN2 | 0) | 0;
}

// If those values are changed that package should be rebuilt and redeployed.

var TotalLanes = 31;
var NoLanes =
/*                        */
0;
var NoLane =
/*                          */
0;
var SyncLane =
/*                        */
1;
var InputContinuousHydrationLane =
/*    */
2;
var InputContinuousLane =
/*             */
4;
var DefaultHydrationLane =
/*            */
8;
var DefaultLane =
/*                     */
16;
var TransitionHydrationLane =
/*                */
32;
var TransitionLanes =
/*                       */
4194240;
var TransitionLane1 =
/*                        */
64;
var TransitionLane2 =
/*                        */
128;
var TransitionLane3 =
/*                        */
256;
var TransitionLane4 =
/*                        */
512;
var TransitionLane5 =
/*                        */
1024;
var TransitionLane6 =
/*                        */
2048;
var TransitionLane7 =
/*                        */
4096;
var TransitionLane8 =
/*                        */
8192;
var TransitionLane9 =
/*                        */
16384;
var TransitionLane10 =
/*                       */
32768;
var TransitionLane11 =
/*                       */
65536;
var TransitionLane12 =
/*                       */
131072;
var TransitionLane13 =
/*                       */
262144;
var TransitionLane14 =
/*                       */
524288;
var TransitionLane15 =
/*                       */
1048576;
var TransitionLane16 =
/*                       */
2097152;
var RetryLanes =
/*                            */
130023424;
var RetryLane1 =
/*                             */
4194304;
var RetryLane2 =
/*                             */
8388608;
var RetryLane3 =
/*                             */
16777216;
var RetryLane4 =
/*                             */
33554432;
var RetryLane5 =
/*                             */
67108864;
var SomeRetryLane = RetryLane1;
var SelectiveHydrationLane =
/*          */
134217728;
var NonIdleLanes =
/*                          */
268435455;
var IdleHydrationLane =
/*               */
268435456;
var IdleLane =
/*                        */
536870912;
var OffscreenLane =
/*                   */
1073741824; // This function is used for the experimental timeline (react-devtools-timeline)
// It should be kept in sync with the Lanes values above.

function getLabelForLane(lane) {
  {
    if (lane & SyncLane) {
      return 'Sync';
    }

    if (lane & InputContinuousHydrationLane) {
      return 'InputContinuousHydration';
    }

    if (lane & InputContinuousLane) {
      return 'InputContinuous';
    }

    if (lane & DefaultHydrationLane) {
      return 'DefaultHydration';
    }

    if (lane & DefaultLane) {
      return 'Default';
    }

    if (lane & TransitionHydrationLane) {
      return 'TransitionHydration';
    }

    if (lane & TransitionLanes) {
      return 'Transition';
    }

    if (lane & RetryLanes) {
      return 'Retry';
    }

    if (lane & SelectiveHydrationLane) {
      return 'SelectiveHydration';
    }

    if (lane & IdleHydrationLane) {
      return 'IdleHydration';
    }

    if (lane & IdleLane) {
      return 'Idle';
    }

    if (lane & OffscreenLane) {
      return 'Offscreen';
    }
  }
}
var NoTimestamp = -1;
var nextTransitionLane = TransitionLane1;
var nextRetryLane = RetryLane1;

function getHighestPriorityLanes(lanes) {
  switch (getHighestPriorityLane(lanes)) {
    case SyncLane:
      return SyncLane;

    case InputContinuousHydrationLane:
      return InputContinuousHydrationLane;

    case InputContinuousLane:
      return InputContinuousLane;

    case DefaultHydrationLane:
      return DefaultHydrationLane;

    case DefaultLane:
      return DefaultLane;

    case TransitionHydrationLane:
      return TransitionHydrationLane;

    case TransitionLane1:
    case TransitionLane2:
    case TransitionLane3:
    case TransitionLane4:
    case TransitionLane5:
    case TransitionLane6:
    case TransitionLane7:
    case TransitionLane8:
    case TransitionLane9:
    case TransitionLane10:
    case TransitionLane11:
    case TransitionLane12:
    case TransitionLane13:
    case TransitionLane14:
    case TransitionLane15:
    case TransitionLane16:
      return lanes & TransitionLanes;

    case RetryLane1:
    case RetryLane2:
    case RetryLane3:
    case RetryLane4:
    case RetryLane5:
      return lanes & RetryLanes;

    case SelectiveHydrationLane:
      return SelectiveHydrationLane;

    case IdleHydrationLane:
      return IdleHydrationLane;

    case IdleLane:
      return IdleLane;

    case OffscreenLane:
      return OffscreenLane;

    default:
      {
        error('Should have found matching lanes. This is a bug in React.');
      } // This shouldn't be reachable, but as a fallback, return the entire bitmask.


      return lanes;
  }
}

function getNextLanes(root, wipLanes) {
  // Early bailout if there's no pending work left.
  var pendingLanes = root.pendingLanes;

  if (pendingLanes === NoLanes) {
    return NoLanes;
  }

  var nextLanes = NoLanes;
  var suspendedLanes = root.suspendedLanes;
  var pingedLanes = root.pingedLanes; // Do not work on any idle work until all the non-idle work has finished,
  // even if the work is suspended.

  var nonIdlePendingLanes = pendingLanes & NonIdleLanes;

  if (nonIdlePendingLanes !== NoLanes) {
    var nonIdleUnblockedLanes = nonIdlePendingLanes & ~suspendedLanes;

    if (nonIdleUnblockedLanes !== NoLanes) {
      nextLanes = getHighestPriorityLanes(nonIdleUnblockedLanes);
    } else {
      var nonIdlePingedLanes = nonIdlePendingLanes & pingedLanes;

      if (nonIdlePingedLanes !== NoLanes) {
        nextLanes = getHighestPriorityLanes(nonIdlePingedLanes);
      }
    }
  } else {
    // The only remaining work is Idle.
    var unblockedLanes = pendingLanes & ~suspendedLanes;

    if (unblockedLanes !== NoLanes) {
      nextLanes = getHighestPriorityLanes(unblockedLanes);
    } else {
      if (pingedLanes !== NoLanes) {
        nextLanes = getHighestPriorityLanes(pingedLanes);
      }
    }
  }

  if (nextLanes === NoLanes) {
    // This should only be reachable if we're suspended
    // TODO: Consider warning in this path if a fallback timer is not scheduled.
    return NoLanes;
  } // If we're already in the middle of a render, switching lanes will interrupt
  // it and we'll lose our progress. We should only do this if the new lanes are
  // higher priority.


  if (wipLanes !== NoLanes && wipLanes !== nextLanes && // If we already suspended with a delay, then interrupting is fine. Don't
  // bother waiting until the root is complete.
  (wipLanes & suspendedLanes) === NoLanes) {
    var nextLane = getHighestPriorityLane(nextLanes);
    var wipLane = getHighestPriorityLane(wipLanes);

    if ( // Tests whether the next lane is equal or lower priority than the wip
    // one. This works because the bits decrease in priority as you go left.
    nextLane >= wipLane || // Default priority updates should not interrupt transition updates. The
    // only difference between default updates and transition updates is that
    // default updates do not support refresh transitions.
    nextLane === DefaultLane && (wipLane & TransitionLanes) !== NoLanes) {
      // Keep working on the existing in-progress tree. Do not interrupt.
      return wipLanes;
    }
  }

  if ((nextLanes & InputContinuousLane) !== NoLanes) {
    // When updates are sync by default, we entangle continuous priority updates
    // and default updates, so they render in the same batch. The only reason
    // they use separate lanes is because continuous updates should interrupt
    // transitions, but default updates should not.
    nextLanes |= pendingLanes & DefaultLane;
  } // Check for entangled lanes and add them to the batch.
  //
  // A lane is said to be entangled with another when it's not allowed to render
  // in a batch that does not also include the other lane. Typically we do this
  // when multiple updates have the same source, and we only want to respond to
  // the most recent event from that source.
  //
  // Note that we apply entanglements *after* checking for partial work above.
  // This means that if a lane is entangled during an interleaved event while
  // it's already rendering, we won't interrupt it. This is intentional, since
  // entanglement is usually "best effort": we'll try our best to render the
  // lanes in the same batch, but it's not worth throwing out partially
  // completed work in order to do it.
  // TODO: Reconsider this. The counter-argument is that the partial work
  // represents an intermediate state, which we don't want to show to the user.
  // And by spending extra time finishing it, we're increasing the amount of
  // time it takes to show the final state, which is what they are actually
  // waiting for.
  //
  // For those exceptions where entanglement is semantically important, like
  // useMutableSource, we should ensure that there is no partial work at the
  // time we apply the entanglement.


  var entangledLanes = root.entangledLanes;

  if (entangledLanes !== NoLanes) {
    var entanglements = root.entanglements;
    var lanes = nextLanes & entangledLanes;

    while (lanes > 0) {
      var index = pickArbitraryLaneIndex(lanes);
      var lane = 1 << index;
      nextLanes |= entanglements[index];
      lanes &= ~lane;
    }
  }

  return nextLanes;
}
function getMostRecentEventTime(root, lanes) {
  var eventTimes = root.eventTimes;
  var mostRecentEventTime = NoTimestamp;

  while (lanes > 0) {
    var index = pickArbitraryLaneIndex(lanes);
    var lane = 1 << index;
    var eventTime = eventTimes[index];

    if (eventTime > mostRecentEventTime) {
      mostRecentEventTime = eventTime;
    }

    lanes &= ~lane;
  }

  return mostRecentEventTime;
}

function computeExpirationTime(lane, currentTime) {
  switch (lane) {
    case SyncLane:
    case InputContinuousHydrationLane:
    case InputContinuousLane:
      // User interactions should expire slightly more quickly.
      //
      // NOTE: This is set to the corresponding constant as in Scheduler.js.
      // When we made it larger, a product metric in www regressed, suggesting
      // there's a user interaction that's being starved by a series of
      // synchronous updates. If that theory is correct, the proper solution is
      // to fix the starvation. However, this scenario supports the idea that
      // expiration times are an important safeguard when starvation
      // does happen.
      return currentTime + 250;

    case DefaultHydrationLane:
    case DefaultLane:
    case TransitionHydrationLane:
    case TransitionLane1:
    case TransitionLane2:
    case TransitionLane3:
    case TransitionLane4:
    case TransitionLane5:
    case TransitionLane6:
    case TransitionLane7:
    case TransitionLane8:
    case TransitionLane9:
    case TransitionLane10:
    case TransitionLane11:
    case TransitionLane12:
    case TransitionLane13:
    case TransitionLane14:
    case TransitionLane15:
    case TransitionLane16:
      return currentTime + 5000;

    case RetryLane1:
    case RetryLane2:
    case RetryLane3:
    case RetryLane4:
    case RetryLane5:
      // TODO: Retries should be allowed to expire if they are CPU bound for
      // too long, but when I made this change it caused a spike in browser
      // crashes. There must be some other underlying bug; not super urgent but
      // ideally should figure out why and fix it. Unfortunately we don't have
      // a repro for the crashes, only detected via production metrics.
      return NoTimestamp;

    case SelectiveHydrationLane:
    case IdleHydrationLane:
    case IdleLane:
    case OffscreenLane:
      // Anything idle priority or lower should never expire.
      return NoTimestamp;

    default:
      {
        error('Should have found matching lanes. This is a bug in React.');
      }

      return NoTimestamp;
  }
}

function markStarvedLanesAsExpired(root, currentTime) {
  // TODO: This gets called every time we yield. We can optimize by storing
  // the earliest expiration time on the root. Then use that to quickly bail out
  // of this function.
  var pendingLanes = root.pendingLanes;
  var suspendedLanes = root.suspendedLanes;
  var pingedLanes = root.pingedLanes;
  var expirationTimes = root.expirationTimes; // Iterate through the pending lanes and check if we've reached their
  // expiration time. If so, we'll assume the update is being starved and mark
  // it as expired to force it to finish.

  var lanes = pendingLanes;

  while (lanes > 0) {
    var index = pickArbitraryLaneIndex(lanes);
    var lane = 1 << index;
    var expirationTime = expirationTimes[index];

    if (expirationTime === NoTimestamp) {
      // Found a pending lane with no expiration time. If it's not suspended, or
      // if it's pinged, assume it's CPU-bound. Compute a new expiration time
      // using the current time.
      if ((lane & suspendedLanes) === NoLanes || (lane & pingedLanes) !== NoLanes) {
        // Assumes timestamps are monotonically increasing.
        expirationTimes[index] = computeExpirationTime(lane, currentTime);
      }
    } else if (expirationTime <= currentTime) {
      // This lane expired
      root.expiredLanes |= lane;
    }

    lanes &= ~lane;
  }
} // This returns the highest priority pending lanes regardless of whether they
// are suspended.

function getHighestPriorityPendingLanes(root) {
  return getHighestPriorityLanes(root.pendingLanes);
}
function getLanesToRetrySynchronouslyOnError(root) {
  var everythingButOffscreen = root.pendingLanes & ~OffscreenLane;

  if (everythingButOffscreen !== NoLanes) {
    return everythingButOffscreen;
  }

  if (everythingButOffscreen & OffscreenLane) {
    return OffscreenLane;
  }

  return NoLanes;
}
function includesSyncLane(lanes) {
  return (lanes & SyncLane) !== NoLanes;
}
function includesNonIdleWork(lanes) {
  return (lanes & NonIdleLanes) !== NoLanes;
}
function includesOnlyRetries(lanes) {
  return (lanes & RetryLanes) === lanes;
}
function includesOnlyNonUrgentLanes(lanes) {
  var UrgentLanes = SyncLane | InputContinuousLane | DefaultLane;
  return (lanes & UrgentLanes) === NoLanes;
}
function includesOnlyTransitions(lanes) {
  return (lanes & TransitionLanes) === lanes;
}
function includesBlockingLane(root, lanes) {

  var SyncDefaultLanes = InputContinuousHydrationLane | InputContinuousLane | DefaultHydrationLane | DefaultLane;
  return (lanes & SyncDefaultLanes) !== NoLanes;
}
function includesExpiredLane(root, lanes) {
  // This is a separate check from includesBlockingLane because a lane can
  // expire after a render has already started.
  return (lanes & root.expiredLanes) !== NoLanes;
}
function isTransitionLane(lane) {
  return (lane & TransitionLanes) !== NoLanes;
}
function claimNextTransitionLane() {
  // Cycle through the lanes, assigning each new transition to the next lane.
  // In most cases, this means every transition gets its own lane, until we
  // run out of lanes and cycle back to the beginning.
  var lane = nextTransitionLane;
  nextTransitionLane <<= 1;

  if ((nextTransitionLane & TransitionLanes) === NoLanes) {
    nextTransitionLane = TransitionLane1;
  }

  return lane;
}
function claimNextRetryLane() {
  var lane = nextRetryLane;
  nextRetryLane <<= 1;

  if ((nextRetryLane & RetryLanes) === NoLanes) {
    nextRetryLane = RetryLane1;
  }

  return lane;
}
function getHighestPriorityLane(lanes) {
  return lanes & -lanes;
}
function pickArbitraryLane(lanes) {
  // This wrapper function gets inlined. Only exists so to communicate that it
  // doesn't matter which bit is selected; you can pick any bit without
  // affecting the algorithms where its used. Here I'm using
  // getHighestPriorityLane because it requires the fewest operations.
  return getHighestPriorityLane(lanes);
}

function pickArbitraryLaneIndex(lanes) {
  return 31 - clz32(lanes);
}

function laneToIndex(lane) {
  return pickArbitraryLaneIndex(lane);
}

function includesSomeLane(a, b) {
  return (a & b) !== NoLanes;
}
function isSubsetOfLanes(set, subset) {
  return (set & subset) === subset;
}
function mergeLanes(a, b) {
  return a | b;
}
function removeLanes(set, subset) {
  return set & ~subset;
}
function intersectLanes(a, b) {
  return a & b;
} // Seems redundant, but it changes the type from a single lane (used for
// updates) to a group of lanes (used for flushing work).

function laneToLanes(lane) {
  return lane;
}
function higherPriorityLane(a, b) {
  // This works because the bit ranges decrease in priority as you go left.
  return a !== NoLane && a < b ? a : b;
}
function createLaneMap(initial) {
  // Intentionally pushing one by one.
  // https://v8.dev/blog/elements-kinds#avoid-creating-holes
  var laneMap = [];

  for (var i = 0; i < TotalLanes; i++) {
    laneMap.push(initial);
  }

  return laneMap;
}
function markRootUpdated(root, updateLane, eventTime) {
  root.pendingLanes |= updateLane; // If there are any suspended transitions, it's possible this new update
  // could unblock them. Clear the suspended lanes so that we can try rendering
  // them again.
  //
  // TODO: We really only need to unsuspend only lanes that are in the
  // `subtreeLanes` of the updated fiber, or the update lanes of the return
  // path. This would exclude suspended updates in an unrelated sibling tree,
  // since there's no way for this update to unblock it.
  //
  // We don't do this if the incoming update is idle, because we never process
  // idle updates until after all the regular updates have finished; there's no
  // way it could unblock a transition.

  if (updateLane !== IdleLane) {
    root.suspendedLanes = NoLanes;
    root.pingedLanes = NoLanes;
  }

  var eventTimes = root.eventTimes;
  var index = laneToIndex(updateLane); // We can always overwrite an existing timestamp because we prefer the most
  // recent event, and we assume time is monotonically increasing.

  eventTimes[index] = eventTime;
}
function markRootSuspended(root, suspendedLanes) {
  root.suspendedLanes |= suspendedLanes;
  root.pingedLanes &= ~suspendedLanes; // The suspended lanes are no longer CPU-bound. Clear their expiration times.

  var expirationTimes = root.expirationTimes;
  var lanes = suspendedLanes;

  while (lanes > 0) {
    var index = pickArbitraryLaneIndex(lanes);
    var lane = 1 << index;
    expirationTimes[index] = NoTimestamp;
    lanes &= ~lane;
  }
}
function markRootPinged(root, pingedLanes, eventTime) {
  root.pingedLanes |= root.suspendedLanes & pingedLanes;
}
function markRootFinished(root, remainingLanes) {
  var noLongerPendingLanes = root.pendingLanes & ~remainingLanes;
  root.pendingLanes = remainingLanes; // Let's try everything again

  root.suspendedLanes = NoLanes;
  root.pingedLanes = NoLanes;
  root.expiredLanes &= remainingLanes;
  root.mutableReadLanes &= remainingLanes;
  root.entangledLanes &= remainingLanes;
  var entanglements = root.entanglements;
  var eventTimes = root.eventTimes;
  var expirationTimes = root.expirationTimes; // Clear the lanes that no longer have pending work

  var lanes = noLongerPendingLanes;

  while (lanes > 0) {
    var index = pickArbitraryLaneIndex(lanes);
    var lane = 1 << index;
    entanglements[index] = NoLanes;
    eventTimes[index] = NoTimestamp;
    expirationTimes[index] = NoTimestamp;
    lanes &= ~lane;
  }
}
function markRootEntangled(root, entangledLanes) {
  // In addition to entangling each of the given lanes with each other, we also
  // have to consider _transitive_ entanglements. For each lane that is already
  // entangled with *any* of the given lanes, that lane is now transitively
  // entangled with *all* the given lanes.
  //
  // Translated: If C is entangled with A, then entangling A with B also
  // entangles C with B.
  //
  // If this is hard to grasp, it might help to intentionally break this
  // function and look at the tests that fail in ReactTransition-test.js. Try
  // commenting out one of the conditions below.
  var rootEntangledLanes = root.entangledLanes |= entangledLanes;
  var entanglements = root.entanglements;
  var lanes = rootEntangledLanes;

  while (lanes) {
    var index = pickArbitraryLaneIndex(lanes);
    var lane = 1 << index;

    if ( // Is this one of the newly entangled lanes?
    lane & entangledLanes | // Is this lane transitively entangled with the newly entangled lanes?
    entanglements[index] & entangledLanes) {
      entanglements[index] |= entangledLanes;
    }

    lanes &= ~lane;
  }
}
function getBumpedLaneForHydration(root, renderLanes) {
  var renderLane = getHighestPriorityLane(renderLanes);
  var lane;

  switch (renderLane) {
    case InputContinuousLane:
      lane = InputContinuousHydrationLane;
      break;

    case DefaultLane:
      lane = DefaultHydrationLane;
      break;

    case TransitionLane1:
    case TransitionLane2:
    case TransitionLane3:
    case TransitionLane4:
    case TransitionLane5:
    case TransitionLane6:
    case TransitionLane7:
    case TransitionLane8:
    case TransitionLane9:
    case TransitionLane10:
    case TransitionLane11:
    case TransitionLane12:
    case TransitionLane13:
    case TransitionLane14:
    case TransitionLane15:
    case TransitionLane16:
    case RetryLane1:
    case RetryLane2:
    case RetryLane3:
    case RetryLane4:
    case RetryLane5:
      lane = TransitionHydrationLane;
      break;

    case IdleLane:
      lane = IdleHydrationLane;
      break;

    default:
      // Everything else is already either a hydration lane, or shouldn't
      // be retried at a hydration lane.
      lane = NoLane;
      break;
  } // Check if the lane we chose is suspended. If so, that indicates that we
  // already attempted and failed to hydrate at that level. Also check if we're
  // already rendering that lane, which is rare but could happen.


  if ((lane & (root.suspendedLanes | renderLanes)) !== NoLane) {
    // Give up trying to hydrate and fall back to client render.
    return NoLane;
  }

  return lane;
}
function addFiberToLanesMap(root, fiber, lanes) {

  if (!isDevToolsPresent) {
    return;
  }

  var pendingUpdatersLaneMap = root.pendingUpdatersLaneMap;

  while (lanes > 0) {
    var index = laneToIndex(lanes);
    var lane = 1 << index;
    var updaters = pendingUpdatersLaneMap[index];
    updaters.add(fiber);
    lanes &= ~lane;
  }
}
function movePendingFibersToMemoized(root, lanes) {

  if (!isDevToolsPresent) {
    return;
  }

  var pendingUpdatersLaneMap = root.pendingUpdatersLaneMap;
  var memoizedUpdaters = root.memoizedUpdaters;

  while (lanes > 0) {
    var index = laneToIndex(lanes);
    var lane = 1 << index;
    var updaters = pendingUpdatersLaneMap[index];

    if (updaters.size > 0) {
      updaters.forEach(function (fiber) {
        var alternate = fiber.alternate;

        if (alternate === null || !memoizedUpdaters.has(alternate)) {
          memoizedUpdaters.add(fiber);
        }
      });
      updaters.clear();
    }

    lanes &= ~lane;
  }
}
function getTransitionsForLanes(root, lanes) {
  {
    return null;
  }
}

var DiscreteEventPriority = SyncLane;
var ContinuousEventPriority = InputContinuousLane;
var DefaultEventPriority = DefaultLane;
var IdleEventPriority = IdleLane;
var currentUpdatePriority = NoLane;
function getCurrentUpdatePriority() {
  return currentUpdatePriority;
}
function setCurrentUpdatePriority(newPriority) {
  currentUpdatePriority = newPriority;
}
function runWithPriority(priority, fn) {
  var previousPriority = currentUpdatePriority;

  try {
    currentUpdatePriority = priority;
    return fn();
  } finally {
    currentUpdatePriority = previousPriority;
  }
}
function higherEventPriority(a, b) {
  return a !== 0 && a < b ? a : b;
}
function lowerEventPriority(a, b) {
  return a === 0 || a > b ? a : b;
}
function isHigherEventPriority(a, b) {
  return a !== 0 && a < b;
}
function lanesToEventPriority(lanes) {
  var lane = getHighestPriorityLane(lanes);

  if (!isHigherEventPriority(DiscreteEventPriority, lane)) {
    return DiscreteEventPriority;
  }

  if (!isHigherEventPriority(ContinuousEventPriority, lane)) {
    return ContinuousEventPriority;
  }

  if (includesNonIdleWork(lane)) {
    return DefaultEventPriority;
  }

  return IdleEventPriority;
}

// This is imported by the event replaying implementation in React DOM. It's
// in a separate file to break a circular dependency between the renderer and
// the reconciler.
function isRootDehydrated(root) {
  var currentState = root.current.memoizedState;
  return currentState.isDehydrated;
}

var _attemptSynchronousHydration;

function setAttemptSynchronousHydration(fn) {
  _attemptSynchronousHydration = fn;
}
function attemptSynchronousHydration(fiber) {
  _attemptSynchronousHydration(fiber);
}
var attemptContinuousHydration;
function setAttemptContinuousHydration(fn) {
  attemptContinuousHydration = fn;
}
var attemptHydrationAtCurrentPriority;
function setAttemptHydrationAtCurrentPriority(fn) {
  attemptHydrationAtCurrentPriority = fn;
}
var getCurrentUpdatePriority$1;
function setGetCurrentUpdatePriority(fn) {
  getCurrentUpdatePriority$1 = fn;
}
var attemptHydrationAtPriority;
function setAttemptHydrationAtPriority(fn) {
  attemptHydrationAtPriority = fn;
} // TODO: Upgrade this definition once we're on a newer version of Flow that
// has this definition built-in.

var hasScheduledReplayAttempt = false; // The queue of discrete events to be replayed.

var queuedDiscreteEvents = []; // Indicates if any continuous event targets are non-null for early bailout.
// if the last target was dehydrated.

var queuedFocus = null;
var queuedDrag = null;
var queuedMouse = null; // For pointer events there can be one latest event per pointerId.

var queuedPointers = new Map();
var queuedPointerCaptures = new Map(); // We could consider replaying selectionchange and touchmoves too.

var queuedExplicitHydrationTargets = [];
var discreteReplayableEvents = ['mousedown', 'mouseup', 'touchcancel', 'touchend', 'touchstart', 'auxclick', 'dblclick', 'pointercancel', 'pointerdown', 'pointerup', 'dragend', 'dragstart', 'drop', 'compositionend', 'compositionstart', 'keydown', 'keypress', 'keyup', 'input', 'textInput', // Intentionally camelCase
'copy', 'cut', 'paste', 'click', 'change', 'contextmenu', 'reset', 'submit'];
function isDiscreteEventThatRequiresHydration(eventType) {
  return discreteReplayableEvents.indexOf(eventType) > -1;
}

function createQueuedReplayableEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
  return {
    blockedOn: blockedOn,
    domEventName: domEventName,
    eventSystemFlags: eventSystemFlags,
    nativeEvent: nativeEvent,
    targetContainers: [targetContainer]
  };
}

function clearIfContinuousEvent(domEventName, nativeEvent) {
  switch (domEventName) {
    case 'focusin':
    case 'focusout':
      queuedFocus = null;
      break;

    case 'dragenter':
    case 'dragleave':
      queuedDrag = null;
      break;

    case 'mouseover':
    case 'mouseout':
      queuedMouse = null;
      break;

    case 'pointerover':
    case 'pointerout':
      {
        var pointerId = nativeEvent.pointerId;
        queuedPointers.delete(pointerId);
        break;
      }

    case 'gotpointercapture':
    case 'lostpointercapture':
      {
        var _pointerId = nativeEvent.pointerId;
        queuedPointerCaptures.delete(_pointerId);
        break;
      }
  }
}

function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
  if (existingQueuedEvent === null || existingQueuedEvent.nativeEvent !== nativeEvent) {
    var queuedEvent = createQueuedReplayableEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent);

    if (blockedOn !== null) {
      var _fiber2 = getInstanceFromNode(blockedOn);

      if (_fiber2 !== null) {
        // Attempt to increase the priority of this target.
        attemptContinuousHydration(_fiber2);
      }
    }

    return queuedEvent;
  } // If we have already queued this exact event, then it's because
  // the different event systems have different DOM event listeners.
  // We can accumulate the flags, and the targetContainers, and
  // store a single event to be replayed.


  existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
  var targetContainers = existingQueuedEvent.targetContainers;

  if (targetContainer !== null && targetContainers.indexOf(targetContainer) === -1) {
    targetContainers.push(targetContainer);
  }

  return existingQueuedEvent;
}

function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
  // These set relatedTarget to null because the replayed event will be treated as if we
  // moved from outside the window (no target) onto the target once it hydrates.
  // Instead of mutating we could clone the event.
  switch (domEventName) {
    case 'focusin':
      {
        var focusEvent = nativeEvent;
        queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, focusEvent);
        return true;
      }

    case 'dragenter':
      {
        var dragEvent = nativeEvent;
        queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, dragEvent);
        return true;
      }

    case 'mouseover':
      {
        var mouseEvent = nativeEvent;
        queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, mouseEvent);
        return true;
      }

    case 'pointerover':
      {
        var pointerEvent = nativeEvent;
        var pointerId = pointerEvent.pointerId;
        queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, pointerEvent));
        return true;
      }

    case 'gotpointercapture':
      {
        var _pointerEvent = nativeEvent;
        var _pointerId2 = _pointerEvent.pointerId;
        queuedPointerCaptures.set(_pointerId2, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(_pointerId2) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, _pointerEvent));
        return true;
      }
  }

  return false;
} // Check if this target is unblocked. Returns true if it's unblocked.

function attemptExplicitHydrationTarget(queuedTarget) {
  // TODO: This function shares a lot of logic with findInstanceBlockingEvent.
  // Try to unify them. It's a bit tricky since it would require two return
  // values.
  var targetInst = getClosestInstanceFromNode(queuedTarget.target);

  if (targetInst !== null) {
    var nearestMounted = getNearestMountedFiber(targetInst);

    if (nearestMounted !== null) {
      var tag = nearestMounted.tag;

      if (tag === SuspenseComponent) {
        var instance = getSuspenseInstanceFromFiber(nearestMounted);

        if (instance !== null) {
          // We're blocked on hydrating this boundary.
          // Increase its priority.
          queuedTarget.blockedOn = instance;
          attemptHydrationAtPriority(queuedTarget.priority, function () {
            attemptHydrationAtCurrentPriority(nearestMounted);
          });
          return;
        }
      } else if (tag === HostRoot) {
        var root = nearestMounted.stateNode;

        if (isRootDehydrated(root)) {
          queuedTarget.blockedOn = getContainerFromFiber(nearestMounted); // We don't currently have a way to increase the priority of
          // a root other than sync.

          return;
        }
      }
    }
  }

  queuedTarget.blockedOn = null;
}

function queueExplicitHydrationTarget(target) {
  // TODO: This will read the priority if it's dispatched by the React
  // event system but not native events. Should read window.event.type, like
  // we do for updates (getCurrentEventPriority).
  var updatePriority = getCurrentUpdatePriority$1();
  var queuedTarget = {
    blockedOn: null,
    target: target,
    priority: updatePriority
  };
  var i = 0;

  for (; i < queuedExplicitHydrationTargets.length; i++) {
    // Stop once we hit the first target with lower priority than
    if (!isHigherEventPriority(updatePriority, queuedExplicitHydrationTargets[i].priority)) {
      break;
    }
  }

  queuedExplicitHydrationTargets.splice(i, 0, queuedTarget);

  if (i === 0) {
    attemptExplicitHydrationTarget(queuedTarget);
  }
}

function attemptReplayContinuousQueuedEvent(queuedEvent) {
  if (queuedEvent.blockedOn !== null) {
    return false;
  }

  var targetContainers = queuedEvent.targetContainers;

  while (targetContainers.length > 0) {
    var targetContainer = targetContainers[0];
    var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.domEventName, queuedEvent.eventSystemFlags, targetContainer, queuedEvent.nativeEvent);

    if (nextBlockedOn === null) {
      {
        var nativeEvent = queuedEvent.nativeEvent;
        var nativeEventClone = new nativeEvent.constructor(nativeEvent.type, nativeEvent);
        setReplayingEvent(nativeEventClone);
        nativeEvent.target.dispatchEvent(nativeEventClone);
        resetReplayingEvent();
      }
    } else {
      // We're still blocked. Try again later.
      var _fiber3 = getInstanceFromNode(nextBlockedOn);

      if (_fiber3 !== null) {
        attemptContinuousHydration(_fiber3);
      }

      queuedEvent.blockedOn = nextBlockedOn;
      return false;
    } // This target container was successfully dispatched. Try the next.


    targetContainers.shift();
  }

  return true;
}

function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
  if (attemptReplayContinuousQueuedEvent(queuedEvent)) {
    map.delete(key);
  }
}

function replayUnblockedEvents() {
  hasScheduledReplayAttempt = false;


  if (queuedFocus !== null && attemptReplayContinuousQueuedEvent(queuedFocus)) {
    queuedFocus = null;
  }

  if (queuedDrag !== null && attemptReplayContinuousQueuedEvent(queuedDrag)) {
    queuedDrag = null;
  }

  if (queuedMouse !== null && attemptReplayContinuousQueuedEvent(queuedMouse)) {
    queuedMouse = null;
  }

  queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
  queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
}

function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
  if (queuedEvent.blockedOn === unblocked) {
    queuedEvent.blockedOn = null;

    if (!hasScheduledReplayAttempt) {
      hasScheduledReplayAttempt = true; // Schedule a callback to attempt replaying as many events as are
      // now unblocked. This first might not actually be unblocked yet.
      // We could check it early to avoid scheduling an unnecessary callback.

      Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, replayUnblockedEvents);
    }
  }
}

function retryIfBlockedOn(unblocked) {
  // Mark anything that was blocked on this as no longer blocked
  // and eligible for a replay.
  if (queuedDiscreteEvents.length > 0) {
    scheduleCallbackIfUnblocked(queuedDiscreteEvents[0], unblocked); // This is a exponential search for each boundary that commits. I think it's
    // worth it because we expect very few discrete events to queue up and once
    // we are actually fully unblocked it will be fast to replay them.

    for (var i = 1; i < queuedDiscreteEvents.length; i++) {
      var queuedEvent = queuedDiscreteEvents[i];

      if (queuedEvent.blockedOn === unblocked) {
        queuedEvent.blockedOn = null;
      }
    }
  }

  if (queuedFocus !== null) {
    scheduleCallbackIfUnblocked(queuedFocus, unblocked);
  }

  if (queuedDrag !== null) {
    scheduleCallbackIfUnblocked(queuedDrag, unblocked);
  }

  if (queuedMouse !== null) {
    scheduleCallbackIfUnblocked(queuedMouse, unblocked);
  }

  var unblock = function (queuedEvent) {
    return scheduleCallbackIfUnblocked(queuedEvent, unblocked);
  };

  queuedPointers.forEach(unblock);
  queuedPointerCaptures.forEach(unblock);

  for (var _i = 0; _i < queuedExplicitHydrationTargets.length; _i++) {
    var queuedTarget = queuedExplicitHydrationTargets[_i];

    if (queuedTarget.blockedOn === unblocked) {
      queuedTarget.blockedOn = null;
    }
  }

  while (queuedExplicitHydrationTargets.length > 0) {
    var nextExplicitTarget = queuedExplicitHydrationTargets[0];

    if (nextExplicitTarget.blockedOn !== null) {
      // We're still blocked.
      break;
    } else {
      attemptExplicitHydrationTarget(nextExplicitTarget);

      if (nextExplicitTarget.blockedOn === null) {
        // We're unblocked.
        queuedExplicitHydrationTargets.shift();
      }
    }
  }
}

var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig; // TODO: can we stop exporting these?

var _enabled = true; // This is exported in FB builds for use by legacy FB layer infra.
// We'd like to remove this but it's not clear if this is safe.

function setEnabled(enabled) {
  _enabled = !!enabled;
}
function isEnabled() {
  return _enabled;
}
function createEventListenerWrapperWithPriority(targetContainer, domEventName, eventSystemFlags) {
  var eventPriority = getEventPriority(domEventName);
  var listenerWrapper;

  switch (eventPriority) {
    case DiscreteEventPriority:
      listenerWrapper = dispatchDiscreteEvent;
      break;

    case ContinuousEventPriority:
      listenerWrapper = dispatchContinuousEvent;
      break;

    case DefaultEventPriority:
    default:
      listenerWrapper = dispatchEvent;
      break;
  }

  return listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer);
}

function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {
  var previousPriority = getCurrentUpdatePriority();
  var prevTransition = ReactCurrentBatchConfig.transition;
  ReactCurrentBatchConfig.transition = null;

  try {
    setCurrentUpdatePriority(DiscreteEventPriority);
    dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
  } finally {
    setCurrentUpdatePriority(previousPriority);
    ReactCurrentBatchConfig.transition = prevTransition;
  }
}

function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) {
  var previousPriority = getCurrentUpdatePriority();
  var prevTransition = ReactCurrentBatchConfig.transition;
  ReactCurrentBatchConfig.transition = null;

  try {
    setCurrentUpdatePriority(ContinuousEventPriority);
    dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
  } finally {
    setCurrentUpdatePriority(previousPriority);
    ReactCurrentBatchConfig.transition = prevTransition;
  }
}

function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
  if (!_enabled) {
    return;
  }

  {
    dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay(domEventName, eventSystemFlags, targetContainer, nativeEvent);
  }
}

function dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
  var blockedOn = findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent);

  if (blockedOn === null) {
    dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer);
    clearIfContinuousEvent(domEventName, nativeEvent);
    return;
  }

  if (queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)) {
    nativeEvent.stopPropagation();
    return;
  } // We need to clear only if we didn't queue because
  // queueing is accumulative.


  clearIfContinuousEvent(domEventName, nativeEvent);

  if (eventSystemFlags & IS_CAPTURE_PHASE && isDiscreteEventThatRequiresHydration(domEventName)) {
    while (blockedOn !== null) {
      var fiber = getInstanceFromNode(blockedOn);

      if (fiber !== null) {
        attemptSynchronousHydration(fiber);
      }

      var nextBlockedOn = findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent);

      if (nextBlockedOn === null) {
        dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer);
      }

      if (nextBlockedOn === blockedOn) {
        break;
      }

      blockedOn = nextBlockedOn;
    }

    if (blockedOn !== null) {
      nativeEvent.stopPropagation();
    }

    return;
  } // This is not replayable so we'll invoke it but without a target,
  // in case the event system needs to trace it.


  dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, null, targetContainer);
}

var return_targetInst = null; // Returns a SuspenseInstance or Container if it's blocked.
// The return_targetInst field above is conceptually part of the return value.

function findInstanceBlockingEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
  // TODO: Warn if _enabled is false.
  return_targetInst = null;
  var nativeEventTarget = getEventTarget(nativeEvent);
  var targetInst = getClosestInstanceFromNode(nativeEventTarget);

  if (targetInst !== null) {
    var nearestMounted = getNearestMountedFiber(targetInst);

    if (nearestMounted === null) {
      // This tree has been unmounted already. Dispatch without a target.
      targetInst = null;
    } else {
      var tag = nearestMounted.tag;

      if (tag === SuspenseComponent) {
        var instance = getSuspenseInstanceFromFiber(nearestMounted);

        if (instance !== null) {
          // Queue the event to be replayed later. Abort dispatching since we
          // don't want this event dispatched twice through the event system.
          // TODO: If this is the first discrete event in the queue. Schedule an increased
          // priority for this boundary.
          return instance;
        } // This shouldn't happen, something went wrong but to avoid blocking
        // the whole system, dispatch the event without a target.
        // TODO: Warn.


        targetInst = null;
      } else if (tag === HostRoot) {
        var root = nearestMounted.stateNode;

        if (isRootDehydrated(root)) {
          // If this happens during a replay something went wrong and it might block
          // the whole system.
          return getContainerFromFiber(nearestMounted);
        }

        targetInst = null;
      } else if (nearestMounted !== targetInst) {
        // If we get an event (ex: img onload) before committing that
        // component's mount, ignore it for now (that is, treat it as if it was an
        // event on a non-React tree). We might also consider queueing events and
        // dispatching them after the mount.
        targetInst = null;
      }
    }
  }

  return_targetInst = targetInst; // We're not blocked on anything.

  return null;
}
function getEventPriority(domEventName) {
  switch (domEventName) {
    // Used by SimpleEventPlugin:
    case 'cancel':
    case 'click':
    case 'close':
    case 'contextmenu':
    case 'copy':
    case 'cut':
    case 'auxclick':
    case 'dblclick':
    case 'dragend':
    case 'dragstart':
    case 'drop':
    case 'focusin':
    case 'focusout':
    case 'input':
    case 'invalid':
    case 'keydown':
    case 'keypress':
    case 'keyup':
    case 'mousedown':
    case 'mouseup':
    case 'paste':
    case 'pause':
    case 'play':
    case 'pointercancel':
    case 'pointerdown':
    case 'pointerup':
    case 'ratechange':
    case 'reset':
    case 'resize':
    case 'seeked':
    case 'submit':
    case 'touchcancel':
    case 'touchend':
    case 'touchstart':
    case 'volumechange': // Used by polyfills:
    // eslint-disable-next-line no-fallthrough

    case 'change':
    case 'selectionchange':
    case 'textInput':
    case 'compositionstart':
    case 'compositionend':
    case 'compositionupdate': // Only enableCreateEventHandleAPI:
    // eslint-disable-next-line no-fallthrough

    case 'beforeblur':
    case 'afterblur': // Not used by React but could be by user code:
    // eslint-disable-next-line no-fallthrough

    case 'beforeinput':
    case 'blur':
    case 'fullscreenchange':
    case 'focus':
    case 'hashchange':
    case 'popstate':
    case 'select':
    case 'selectstart':
      return DiscreteEventPriority;

    case 'drag':
    case 'dragenter':
    case 'dragexit':
    case 'dragleave':
    case 'dragover':
    case 'mousemove':
    case 'mouseout':
    case 'mouseover':
    case 'pointermove':
    case 'pointerout':
    case 'pointerover':
    case 'scroll':
    case 'toggle':
    case 'touchmove':
    case 'wheel': // Not used by React but could be by user code:
    // eslint-disable-next-line no-fallthrough

    case 'mouseenter':
    case 'mouseleave':
    case 'pointerenter':
    case 'pointerleave':
      return ContinuousEventPriority;

    case 'message':
      {
        // We might be in the Scheduler callback.
        // Eventually this mechanism will be replaced by a check
        // of the current priority on the native scheduler.
        var schedulerPriority = getCurrentPriorityLevel();

        switch (schedulerPriority) {
          case ImmediatePriority:
            return DiscreteEventPriority;

          case UserBlockingPriority:
            return ContinuousEventPriority;

          case NormalPriority:
          case LowPriority:
            // TODO: Handle LowSchedulerPriority, somehow. Maybe the same lane as hydration.
            return DefaultEventPriority;

          case IdlePriority:
            return IdleEventPriority;

          default:
            return DefaultEventPriority;
        }
      }

    default:
      return DefaultEventPriority;
  }
}

function addEventBubbleListener(target, eventType, listener) {
  target.addEventListener(eventType, listener, false);
  return listener;
}
function addEventCaptureListener(target, eventType, listener) {
  target.addEventListener(eventType, listener, true);
  return listener;
}
function addEventCaptureListenerWithPassiveFlag(target, eventType, listener, passive) {
  target.addEventListener(eventType, listener, {
    capture: true,
    passive: passive
  });
  return listener;
}
function addEventBubbleListenerWithPassiveFlag(target, eventType, listener, passive) {
  target.addEventListener(eventType, listener, {
    passive: passive
  });
  return listener;
}

/**
 * These variables store information about text content of a target node,
 * allowing comparison of content before and after a given event.
 *
 * Identify the node where selection currently begins, then observe
 * both its text content and its current position in the DOM. Since the
 * browser may natively replace the target node during composition, we can
 * use its position to find its replacement.
 *
 *
 */
var root = null;
var startText = null;
var fallbackText = null;
function initialize(nativeEventTarget) {
  root = nativeEventTarget;
  startText = getText();
  return true;
}
function reset() {
  root = null;
  startText = null;
  fallbackText = null;
}
function getData() {
  if (fallbackText) {
    return fallbackText;
  }

  var start;
  var startValue = startText;
  var startLength = startValue.length;
  var end;
  var endValue = getText();
  var endLength = endValue.length;

  for (start = 0; start < startLength; start++) {
    if (startValue[start] !== endValue[start]) {
      break;
    }
  }

  var minEnd = startLength - start;

  for (end = 1; end <= minEnd; end++) {
    if (startValue[startLength - end] !== endValue[endLength - end]) {
      break;
    }
  }

  var sliceTail = end > 1 ? 1 - end : undefined;
  fallbackText = endValue.slice(start, sliceTail);
  return fallbackText;
}
function getText() {
  if ('value' in root) {
    return root.value;
  }

  return root.textContent;
}

/**
 * `charCode` represents the actual "character code" and is safe to use with
 * `String.fromCharCode`. As such, only keys that correspond to printable
 * characters produce a valid `charCode`, the only exception to this is Enter.
 * The Tab-key is considered non-printable and does not have a `charCode`,
 * presumably because it does not produce a tab-character in browsers.
 *
 * @param {object} nativeEvent Native browser event.
 * @return {number} Normalized `charCode` property.
 */
function getEventCharCode(nativeEvent) {
  var charCode;
  var keyCode = nativeEvent.keyCode;

  if ('charCode' in nativeEvent) {
    charCode = nativeEvent.charCode; // FF does not set `charCode` for the Enter-key, check against `keyCode`.

    if (charCode === 0 && keyCode === 13) {
      charCode = 13;
    }
  } else {
    // IE8 does not implement `charCode`, but `keyCode` has the correct value.
    charCode = keyCode;
  } // IE and Edge (on Windows) and Chrome / Safari (on Windows and Linux)
  // report Enter as charCode 10 when ctrl is pressed.


  if (charCode === 10) {
    charCode = 13;
  } // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.
  // Must not discard the (non-)printable Enter-key.


  if (charCode >= 32 || charCode === 13) {
    return charCode;
  }

  return 0;
}

function functionThatReturnsTrue() {
  return true;
}

function functionThatReturnsFalse() {
  return false;
} // This is intentionally a factory so that we have different returned constructors.
// If we had a single constructor, it would be megamorphic and engines would deopt.


function createSyntheticEvent(Interface) {
  /**
   * Synthetic events are dispatched by event plugins, typically in response to a
   * top-level event delegation handler.
   *
   * These systems should generally use pooling to reduce the frequency of garbage
   * collection. The system should check `isPersistent` to determine whether the
   * event should be released into the pool after being dispatched. Users that
   * need a persisted event should invoke `persist`.
   *
   * Synthetic events (and subclasses) implement the DOM Level 3 Events API by
   * normalizing browser quirks. Subclasses do not necessarily have to implement a
   * DOM interface; custom application-specific events can also subclass this.
   */
  function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
    this._reactName = reactName;
    this._targetInst = targetInst;
    this.type = reactEventType;
    this.nativeEvent = nativeEvent;
    this.target = nativeEventTarget;
    this.currentTarget = null;

    for (var _propName in Interface) {
      if (!Interface.hasOwnProperty(_propName)) {
        continue;
      }

      var normalize = Interface[_propName];

      if (normalize) {
        this[_propName] = normalize(nativeEvent);
      } else {
        this[_propName] = nativeEvent[_propName];
      }
    }

    var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;

    if (defaultPrevented) {
      this.isDefaultPrevented = functionThatReturnsTrue;
    } else {
      this.isDefaultPrevented = functionThatReturnsFalse;
    }

    this.isPropagationStopped = functionThatReturnsFalse;
    return this;
  }

  assign(SyntheticBaseEvent.prototype, {
    preventDefault: function () {
      this.defaultPrevented = true;
      var event = this.nativeEvent;

      if (!event) {
        return;
      }

      if (event.preventDefault) {
        event.preventDefault(); // $FlowFixMe - flow is not aware of `unknown` in IE
      } else if (typeof event.returnValue !== 'unknown') {
        event.returnValue = false;
      }

      this.isDefaultPrevented = functionThatReturnsTrue;
    },
    stopPropagation: function () {
      var event = this.nativeEvent;

      if (!event) {
        return;
      }

      if (event.stopPropagation) {
        event.stopPropagation(); // $FlowFixMe - flow is not aware of `unknown` in IE
      } else if (typeof event.cancelBubble !== 'unknown') {
        // The ChangeEventPlugin registers a "propertychange" event for
        // IE. This event does not support bubbling or cancelling, and
        // any references to cancelBubble throw "Member not found".  A
        // typeof check of "unknown" circumvents this issue (and is also
        // IE specific).
        event.cancelBubble = true;
      }

      this.isPropagationStopped = functionThatReturnsTrue;
    },

    /**
     * We release all dispatched `SyntheticEvent`s after each event loop, adding
     * them back into the pool. This allows a way to hold onto a reference that
     * won't be added back into the pool.
     */
    persist: function () {// Modern event system doesn't use pooling.
    },

    /**
     * Checks if this event should be released back into the pool.
     *
     * @return {boolean} True if this should not be released, false otherwise.
     */
    isPersistent: functionThatReturnsTrue
  });
  return SyntheticBaseEvent;
}
/**
 * @interface Event
 * @see http://www.w3.org/TR/DOM-Level-3-Events/
 */


var EventInterface = {
  eventPhase: 0,
  bubbles: 0,
  cancelable: 0,
  timeStamp: function (event) {
    return event.timeStamp || Date.now();
  },
  defaultPrevented: 0,
  isTrusted: 0
};
var SyntheticEvent = createSyntheticEvent(EventInterface);

var UIEventInterface = assign({}, EventInterface, {
  view: 0,
  detail: 0
});

var SyntheticUIEvent = createSyntheticEvent(UIEventInterface);
var lastMovementX;
var lastMovementY;
var lastMouseEvent;

function updateMouseMovementPolyfillState(event) {
  if (event !== lastMouseEvent) {
    if (lastMouseEvent && event.type === 'mousemove') {
      lastMovementX = event.screenX - lastMouseEvent.screenX;
      lastMovementY = event.screenY - lastMouseEvent.screenY;
    } else {
      lastMovementX = 0;
      lastMovementY = 0;
    }

    lastMouseEvent = event;
  }
}
/**
 * @interface MouseEvent
 * @see http://www.w3.org/TR/DOM-Level-3-Events/
 */


var MouseEventInterface = assign({}, UIEventInterface, {
  screenX: 0,
  screenY: 0,
  clientX: 0,
  clientY: 0,
  pageX: 0,
  pageY: 0,
  ctrlKey: 0,
  shiftKey: 0,
  altKey: 0,
  metaKey: 0,
  getModifierState: getEventModifierState,
  button: 0,
  buttons: 0,
  relatedTarget: function (event) {
    if (event.relatedTarget === undefined) return event.fromElement === event.srcElement ? event.toElement : event.fromElement;
    return event.relatedTarget;
  },
  movementX: function (event) {
    if ('movementX' in event) {
      return event.movementX;
    }

    updateMouseMovementPolyfillState(event);
    return lastMovementX;
  },
  movementY: function (event) {
    if ('movementY' in event) {
      return event.movementY;
    } // Don't need to call updateMouseMovementPolyfillState() here
    // because it's guaranteed to have already run when movementX
    // was copied.


    return lastMovementY;
  }
});

var SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface);
/**
 * @interface DragEvent
 * @see http://www.w3.org/TR/DOM-Level-3-Events/
 */

var DragEventInterface = assign({}, MouseEventInterface, {
  dataTransfer: 0
});

var SyntheticDragEvent = createSyntheticEvent(DragEventInterface);
/**
 * @interface FocusEvent
 * @see http://www.w3.org/TR/DOM-Level-3-Events/
 */

var FocusEventInterface = assign({}, UIEventInterface, {
  relatedTarget: 0
});

var SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface);
/**
 * @interface Event
 * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface
 * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent
 */

var AnimationEventInterface = assign({}, EventInterface, {
  animationName: 0,
  elapsedTime: 0,
  pseudoElement: 0
});

var SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface);
/**
 * @interface Event
 * @see http://www.w3.org/TR/clipboard-apis/
 */

var ClipboardEventInterface = assign({}, EventInterface, {
  clipboardData: function (event) {
    return 'clipboardData' in event ? event.clipboardData : window.clipboardData;
  }
});

var SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface);
/**
 * @interface Event
 * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
 */

var CompositionEventInterface = assign({}, EventInterface, {
  data: 0
});

var SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface);
/**
 * @interface Event
 * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105
 *      /#events-inputevents
 */
// Happens to share the same list for now.

var SyntheticInputEvent = SyntheticCompositionEvent;
/**
 * Normalization of deprecated HTML5 `key` values
 * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
 */

var normalizeKey = {
  Esc: 'Escape',
  Spacebar: ' ',
  Left: 'ArrowLeft',
  Up: 'ArrowUp',
  Right: 'ArrowRight',
  Down: 'ArrowDown',
  Del: 'Delete',
  Win: 'OS',
  Menu: 'ContextMenu',
  Apps: 'ContextMenu',
  Scroll: 'ScrollLock',
  MozPrintableKey: 'Unidentified'
};
/**
 * Translation from legacy `keyCode` to HTML5 `key`
 * Only special keys supported, all others depend on keyboard layout or browser
 * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
 */

var translateToKey = {
  '8': 'Backspace',
  '9': 'Tab',
  '12': 'Clear',
  '13': 'Enter',
  '16': 'Shift',
  '17': 'Control',
  '18': 'Alt',
  '19': 'Pause',
  '20': 'CapsLock',
  '27': 'Escape',
  '32': ' ',
  '33': 'PageUp',
  '34': 'PageDown',
  '35': 'End',
  '36': 'Home',
  '37': 'ArrowLeft',
  '38': 'ArrowUp',
  '39': 'ArrowRight',
  '40': 'ArrowDown',
  '45': 'Insert',
  '46': 'Delete',
  '112': 'F1',
  '113': 'F2',
  '114': 'F3',
  '115': 'F4',
  '116': 'F5',
  '117': 'F6',
  '118': 'F7',
  '119': 'F8',
  '120': 'F9',
  '121': 'F10',
  '122': 'F11',
  '123': 'F12',
  '144': 'NumLock',
  '145': 'ScrollLock',
  '224': 'Meta'
};
/**
 * @param {object} nativeEvent Native browser event.
 * @return {string} Normalized `key` property.
 */

function getEventKey(nativeEvent) {
  if (nativeEvent.key) {
    // Normalize inconsistent values reported by browsers due to
    // implementations of a working draft specification.
    // FireFox implements `key` but returns `MozPrintableKey` for all
    // printable characters (normalized to `Unidentified`), ignore it.
    var key = normalizeKey[nativeEvent.key] || nativeEvent.key;

    if (key !== 'Unidentified') {
      return key;
    }
  } // Browser does not implement `key`, polyfill as much of it as we can.


  if (nativeEvent.type === 'keypress') {
    var charCode = getEventCharCode(nativeEvent); // The enter-key is technically both printable and non-printable and can
    // thus be captured by `keypress`, no other non-printable key should.

    return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);
  }

  if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {
    // While user keyboard layout determines the actual meaning of each
    // `keyCode` value, almost all function keys have a universal value.
    return translateToKey[nativeEvent.keyCode] || 'Unidentified';
  }

  return '';
}
/**
 * Translation from modifier key to the associated property in the event.
 * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers
 */


var modifierKeyToProp = {
  Alt: 'altKey',
  Control: 'ctrlKey',
  Meta: 'metaKey',
  Shift: 'shiftKey'
}; // Older browsers (Safari <= 10, iOS Safari <= 10.2) do not support
// getModifierState. If getModifierState is not supported, we map it to a set of
// modifier keys exposed by the event. In this case, Lock-keys are not supported.

function modifierStateGetter(keyArg) {
  var syntheticEvent = this;
  var nativeEvent = syntheticEvent.nativeEvent;

  if (nativeEvent.getModifierState) {
    return nativeEvent.getModifierState(keyArg);
  }

  var keyProp = modifierKeyToProp[keyArg];
  return keyProp ? !!nativeEvent[keyProp] : false;
}

function getEventModifierState(nativeEvent) {
  return modifierStateGetter;
}
/**
 * @interface KeyboardEvent
 * @see http://www.w3.org/TR/DOM-Level-3-Events/
 */


var KeyboardEventInterface = assign({}, UIEventInterface, {
  key: getEventKey,
  code: 0,
  location: 0,
  ctrlKey: 0,
  shiftKey: 0,
  altKey: 0,
  metaKey: 0,
  repeat: 0,
  locale: 0,
  getModifierState: getEventModifierState,
  // Legacy Interface
  charCode: function (event) {
    // `charCode` is the result of a KeyPress event and represents the value of
    // the actual printable character.
    // KeyPress is deprecated, but its replacement is not yet final and not
    // implemented in any major browser. Only KeyPress has charCode.
    if (event.type === 'keypress') {
      return getEventCharCode(event);
    }

    return 0;
  },
  keyCode: function (event) {
    // `keyCode` is the result of a KeyDown/Up event and represents the value of
    // physical keyboard key.
    // The actual meaning of the value depends on the users' keyboard layout
    // which cannot be detected. Assuming that it is a US keyboard layout
    // provides a surprisingly accurate mapping for US and European users.
    // Due to this, it is left to the user to implement at this time.
    if (event.type === 'keydown' || event.type === 'keyup') {
      return event.keyCode;
    }

    return 0;
  },
  which: function (event) {
    // `which` is an alias for either `keyCode` or `charCode` depending on the
    // type of the event.
    if (event.type === 'keypress') {
      return getEventCharCode(event);
    }

    if (event.type === 'keydown' || event.type === 'keyup') {
      return event.keyCode;
    }

    return 0;
  }
});

var SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface);
/**
 * @interface PointerEvent
 * @see http://www.w3.org/TR/pointerevents/
 */

var PointerEventInterface = assign({}, MouseEventInterface, {
  pointerId: 0,
  width: 0,
  height: 0,
  pressure: 0,
  tangentialPressure: 0,
  tiltX: 0,
  tiltY: 0,
  twist: 0,
  pointerType: 0,
  isPrimary: 0
});

var SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface);
/**
 * @interface TouchEvent
 * @see http://www.w3.org/TR/touch-events/
 */

var TouchEventInterface = assign({}, UIEventInterface, {
  touches: 0,
  targetTouches: 0,
  changedTouches: 0,
  altKey: 0,
  metaKey: 0,
  ctrlKey: 0,
  shiftKey: 0,
  getModifierState: getEventModifierState
});

var SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface);
/**
 * @interface Event
 * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-
 * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent
 */

var TransitionEventInterface = assign({}, EventInterface, {
  propertyName: 0,
  elapsedTime: 0,
  pseudoElement: 0
});

var SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface);
/**
 * @interface WheelEvent
 * @see http://www.w3.org/TR/DOM-Level-3-Events/
 */

var WheelEventInterface = assign({}, MouseEventInterface, {
  deltaX: function (event) {
    return 'deltaX' in event ? event.deltaX : // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
    'wheelDeltaX' in event ? -event.wheelDeltaX : 0;
  },
  deltaY: function (event) {
    return 'deltaY' in event ? event.deltaY : // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
    'wheelDeltaY' in event ? -event.wheelDeltaY : // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
    'wheelDelta' in event ? -event.wheelDelta : 0;
  },
  deltaZ: 0,
  // Browsers without "deltaMode" is reporting in raw wheel delta where one
  // notch on the scroll is always +/- 120, roughly equivalent to pixels.
  // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
  // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
  deltaMode: 0
});

var SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface);

var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space

var START_KEYCODE = 229;
var canUseCompositionEvent = canUseDOM && 'CompositionEvent' in window;
var documentMode = null;

if (canUseDOM && 'documentMode' in document) {
  documentMode = document.documentMode;
} // Webkit offers a very useful `textInput` event that can be used to
// directly represent `beforeInput`. The IE `textinput` event is not as
// useful, so we don't use it.


var canUseTextInputEvent = canUseDOM && 'TextEvent' in window && !documentMode; // In IE9+, we have access to composition events, but the data supplied
// by the native compositionend event may be incorrect. Japanese ideographic
// spaces, for instance (\u3000) are not recorded correctly.

var useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);
var SPACEBAR_CODE = 32;
var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);

function registerEvents() {
  registerTwoPhaseEvent('onBeforeInput', ['compositionend', 'keypress', 'textInput', 'paste']);
  registerTwoPhaseEvent('onCompositionEnd', ['compositionend', 'focusout', 'keydown', 'keypress', 'keyup', 'mousedown']);
  registerTwoPhaseEvent('onCompositionStart', ['compositionstart', 'focusout', 'keydown', 'keypress', 'keyup', 'mousedown']);
  registerTwoPhaseEvent('onCompositionUpdate', ['compositionupdate', 'focusout', 'keydown', 'keypress', 'keyup', 'mousedown']);
} // Track whether we've ever handled a keypress on the space key.


var hasSpaceKeypress = false;
/**
 * Return whether a native keypress event is assumed to be a command.
 * This is required because Firefox fires `keypress` events for key commands
 * (cut, copy, select-all, etc.) even though no character is inserted.
 */

function isKeypressCommand(nativeEvent) {
  return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) && // ctrlKey && altKey is equivalent to AltGr, and is not a command.
  !(nativeEvent.ctrlKey && nativeEvent.altKey);
}
/**
 * Translate native top level events into event types.
 */


function getCompositionEventType(domEventName) {
  switch (domEventName) {
    case 'compositionstart':
      return 'onCompositionStart';

    case 'compositionend':
      return 'onCompositionEnd';

    case 'compositionupdate':
      return 'onCompositionUpdate';
  }
}
/**
 * Does our fallback best-guess model think this event signifies that
 * composition has begun?
 */


function isFallbackCompositionStart(domEventName, nativeEvent) {
  return domEventName === 'keydown' && nativeEvent.keyCode === START_KEYCODE;
}
/**
 * Does our fallback mode think that this event is the end of composition?
 */


function isFallbackCompositionEnd(domEventName, nativeEvent) {
  switch (domEventName) {
    case 'keyup':
      // Command keys insert or clear IME input.
      return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;

    case 'keydown':
      // Expect IME keyCode on each keydown. If we get any other
      // code we must have exited earlier.
      return nativeEvent.keyCode !== START_KEYCODE;

    case 'keypress':
    case 'mousedown':
    case 'focusout':
      // Events are not possible without cancelling IME.
      return true;

    default:
      return false;
  }
}
/**
 * Google Input Tools provides composition data via a CustomEvent,
 * with the `data` property populated in the `detail` object. If this
 * is available on the event object, use it. If not, this is a plain
 * composition event and we have nothing special to extract.
 *
 * @param {object} nativeEvent
 * @return {?string}
 */


function getDataFromCustomEvent(nativeEvent) {
  var detail = nativeEvent.detail;

  if (typeof detail === 'object' && 'data' in detail) {
    return detail.data;
  }

  return null;
}
/**
 * Check if a composition event was triggered by Korean IME.
 * Our fallback mode does not work well with IE's Korean IME,
 * so just use native composition events when Korean IME is used.
 * Although CompositionEvent.locale property is deprecated,
 * it is available in IE, where our fallback mode is enabled.
 *
 * @param {object} nativeEvent
 * @return {boolean}
 */


function isUsingKoreanIME(nativeEvent) {
  return nativeEvent.locale === 'ko';
} // Track the current IME composition status, if any.


var isComposing = false;
/**
 * @return {?object} A SyntheticCompositionEvent.
 */

function extractCompositionEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget) {
  var eventType;
  var fallbackData;

  if (canUseCompositionEvent) {
    eventType = getCompositionEventType(domEventName);
  } else if (!isComposing) {
    if (isFallbackCompositionStart(domEventName, nativeEvent)) {
      eventType = 'onCompositionStart';
    }
  } else if (isFallbackCompositionEnd(domEventName, nativeEvent)) {
    eventType = 'onCompositionEnd';
  }

  if (!eventType) {
    return null;
  }

  if (useFallbackCompositionData && !isUsingKoreanIME(nativeEvent)) {
    // The current composition is stored statically and must not be
    // overwritten while composition continues.
    if (!isComposing && eventType === 'onCompositionStart') {
      isComposing = initialize(nativeEventTarget);
    } else if (eventType === 'onCompositionEnd') {
      if (isComposing) {
        fallbackData = getData();
      }
    }
  }

  var listeners = accumulateTwoPhaseListeners(targetInst, eventType);

  if (listeners.length > 0) {
    var event = new SyntheticCompositionEvent(eventType, domEventName, null, nativeEvent, nativeEventTarget);
    dispatchQueue.push({
      event: event,
      listeners: listeners
    });

    if (fallbackData) {
      // Inject data generated from fallback path into the synthetic event.
      // This matches the property of native CompositionEventInterface.
      event.data = fallbackData;
    } else {
      var customData = getDataFromCustomEvent(nativeEvent);

      if (customData !== null) {
        event.data = customData;
      }
    }
  }
}

function getNativeBeforeInputChars(domEventName, nativeEvent) {
  switch (domEventName) {
    case 'compositionend':
      return getDataFromCustomEvent(nativeEvent);

    case 'keypress':
      /**
       * If native `textInput` events are available, our goal is to make
       * use of them. However, there is a special case: the spacebar key.
       * In Webkit, preventing default on a spacebar `textInput` event
       * cancels character insertion, but it *also* causes the browser
       * to fall back to its default spacebar behavior of scrolling the
       * page.
       *
       * Tracking at:
       * https://code.google.com/p/chromium/issues/detail?id=355103
       *
       * To avoid this issue, use the keypress event as if no `textInput`
       * event is available.
       */
      var which = nativeEvent.which;

      if (which !== SPACEBAR_CODE) {
        return null;
      }

      hasSpaceKeypress = true;
      return SPACEBAR_CHAR;

    case 'textInput':
      // Record the characters to be added to the DOM.
      var chars = nativeEvent.data; // If it's a spacebar character, assume that we have already handled
      // it at the keypress level and bail immediately. Android Chrome
      // doesn't give us keycodes, so we need to ignore it.

      if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {
        return null;
      }

      return chars;

    default:
      // For other native event types, do nothing.
      return null;
  }
}
/**
 * For browsers that do not provide the `textInput` event, extract the
 * appropriate string to use for SyntheticInputEvent.
 */


function getFallbackBeforeInputChars(domEventName, nativeEvent) {
  // If we are currently composing (IME) and using a fallback to do so,
  // try to extract the composed characters from the fallback object.
  // If composition event is available, we extract a string only at
  // compositionevent, otherwise extract it at fallback events.
  if (isComposing) {
    if (domEventName === 'compositionend' || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent)) {
      var chars = getData();
      reset();
      isComposing = false;
      return chars;
    }

    return null;
  }

  switch (domEventName) {
    case 'paste':
      // If a paste event occurs after a keypress, throw out the input
      // chars. Paste events should not lead to BeforeInput events.
      return null;

    case 'keypress':
      /**
       * As of v27, Firefox may fire keypress events even when no character
       * will be inserted. A few possibilities:
       *
       * - `which` is `0`. Arrow keys, Esc key, etc.
       *
       * - `which` is the pressed key code, but no char is available.
       *   Ex: 'AltGr + d` in Polish. There is no modified character for
       *   this key combination and no character is inserted into the
       *   document, but FF fires the keypress for char code `100` anyway.
       *   No `input` event will occur.
       *
       * - `which` is the pressed key code, but a command combination is
       *   being used. Ex: `Cmd+C`. No character is inserted, and no
       *   `input` event will occur.
       */
      if (!isKeypressCommand(nativeEvent)) {
        // IE fires the `keypress` event when a user types an emoji via
        // Touch keyboard of Windows.  In such a case, the `char` property
        // holds an emoji character like `\uD83D\uDE0A`.  Because its length
        // is 2, the property `which` does not represent an emoji correctly.
        // In such a case, we directly return the `char` property instead of
        // using `which`.
        if (nativeEvent.char && nativeEvent.char.length > 1) {
          return nativeEvent.char;
        } else if (nativeEvent.which) {
          return String.fromCharCode(nativeEvent.which);
        }
      }

      return null;

    case 'compositionend':
      return useFallbackCompositionData && !isUsingKoreanIME(nativeEvent) ? null : nativeEvent.data;

    default:
      return null;
  }
}
/**
 * Extract a SyntheticInputEvent for `beforeInput`, based on either native
 * `textInput` or fallback behavior.
 *
 * @return {?object} A SyntheticInputEvent.
 */


function extractBeforeInputEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget) {
  var chars;

  if (canUseTextInputEvent) {
    chars = getNativeBeforeInputChars(domEventName, nativeEvent);
  } else {
    chars = getFallbackBeforeInputChars(domEventName, nativeEvent);
  } // If no characters are being inserted, no BeforeInput event should
  // be fired.


  if (!chars) {
    return null;
  }

  var listeners = accumulateTwoPhaseListeners(targetInst, 'onBeforeInput');

  if (listeners.length > 0) {
    var event = new SyntheticInputEvent('onBeforeInput', 'beforeinput', null, nativeEvent, nativeEventTarget);
    dispatchQueue.push({
      event: event,
      listeners: listeners
    });
    event.data = chars;
  }
}
/**
 * Create an `onBeforeInput` event to match
 * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.
 *
 * This event plugin is based on the native `textInput` event
 * available in Chrome, Safari, Opera, and IE. This event fires after
 * `onKeyPress` and `onCompositionEnd`, but before `onInput`.
 *
 * `beforeInput` is spec'd but not implemented in any browsers, and
 * the `input` event does not provide any useful information about what has
 * actually been added, contrary to the spec. Thus, `textInput` is the best
 * available event to identify the characters that have actually been inserted
 * into the target node.
 *
 * This plugin is also responsible for emitting `composition` events, thus
 * allowing us to share composition fallback code for both `beforeInput` and
 * `composition` event types.
 */


function extractEvents(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
  extractCompositionEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
  extractBeforeInputEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
}

/**
 * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
 */
var supportedInputTypes = {
  color: true,
  date: true,
  datetime: true,
  'datetime-local': true,
  email: true,
  month: true,
  number: true,
  password: true,
  range: true,
  search: true,
  tel: true,
  text: true,
  time: true,
  url: true,
  week: true
};

function isTextInputElement(elem) {
  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();

  if (nodeName === 'input') {
    return !!supportedInputTypes[elem.type];
  }

  if (nodeName === 'textarea') {
    return true;
  }

  return false;
}

/**
 * Checks if an event is supported in the current execution environment.
 *
 * NOTE: This will not work correctly for non-generic events such as `change`,
 * `reset`, `load`, `error`, and `select`.
 *
 * Borrows from Modernizr.
 *
 * @param {string} eventNameSuffix Event name, e.g. "click".
 * @return {boolean} True if the event is supported.
 * @internal
 * @license Modernizr 3.0.0pre (Custom Build) | MIT
 */

function isEventSupported(eventNameSuffix) {
  if (!canUseDOM) {
    return false;
  }

  var eventName = 'on' + eventNameSuffix;
  var isSupported = (eventName in document);

  if (!isSupported) {
    var element = document.createElement('div');
    element.setAttribute(eventName, 'return;');
    isSupported = typeof element[eventName] === 'function';
  }

  return isSupported;
}

function registerEvents$1() {
  registerTwoPhaseEvent('onChange', ['change', 'click', 'focusin', 'focusout', 'input', 'keydown', 'keyup', 'selectionchange']);
}

function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) {
  // Flag this event loop as needing state restore.
  enqueueStateRestore(target);
  var listeners = accumulateTwoPhaseListeners(inst, 'onChange');

  if (listeners.length > 0) {
    var event = new SyntheticEvent('onChange', 'change', null, nativeEvent, target);
    dispatchQueue.push({
      event: event,
      listeners: listeners
    });
  }
}
/**
 * For IE shims
 */


var activeElement = null;
var activeElementInst = null;
/**
 * SECTION: handle `change` event
 */

function shouldUseChangeEvent(elem) {
  var nodeName = elem.nodeName && elem.nodeName.toLowerCase();
  return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';
}

function manualDispatchChangeEvent(nativeEvent) {
  var dispatchQueue = [];
  createAndAccumulateChangeEvent(dispatchQueue, activeElementInst, nativeEvent, getEventTarget(nativeEvent)); // If change and propertychange bubbled, we'd just bind to it like all the
  // other events and have it go through ReactBrowserEventEmitter. Since it
  // doesn't, we manually listen for the events and so we have to enqueue and
  // process the abstract event manually.
  //
  // Batching is necessary here in order to ensure that all event handlers run
  // before the next rerender (including event handlers attached to ancestor
  // elements instead of directly on the input). Without this, controlled
  // components don't work properly in conjunction with event bubbling because
  // the component is rerendered and the value reverted before all the event
  // handlers can run. See https://github.com/facebook/react/issues/708.

  batchedUpdates(runEventInBatch, dispatchQueue);
}

function runEventInBatch(dispatchQueue) {
  processDispatchQueue(dispatchQueue, 0);
}

function getInstIfValueChanged(targetInst) {
  var targetNode = getNodeFromInstance(targetInst);

  if (updateValueIfChanged(targetNode)) {
    return targetInst;
  }
}

function getTargetInstForChangeEvent(domEventName, targetInst) {
  if (domEventName === 'change') {
    return targetInst;
  }
}
/**
 * SECTION: handle `input` event
 */


var isInputEventSupported = false;

if (canUseDOM) {
  // IE9 claims to support the input event but fails to trigger it when
  // deleting text, so we ignore its input events.
  isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 9);
}
/**
 * (For IE <=9) Starts tracking propertychange events on the passed-in element
 * and override the value property so that we can distinguish user events from
 * value changes in JS.
 */


function startWatchingForValueChange(target, targetInst) {
  activeElement = target;
  activeElementInst = targetInst;
  activeElement.attachEvent('onpropertychange', handlePropertyChange);
}
/**
 * (For IE <=9) Removes the event listeners from the currently-tracked element,
 * if any exists.
 */


function stopWatchingForValueChange() {
  if (!activeElement) {
    return;
  }

  activeElement.detachEvent('onpropertychange', handlePropertyChange);
  activeElement = null;
  activeElementInst = null;
}
/**
 * (For IE <=9) Handles a propertychange event, sending a `change` event if
 * the value of the active element has changed.
 */


function handlePropertyChange(nativeEvent) {
  if (nativeEvent.propertyName !== 'value') {
    return;
  }

  if (getInstIfValueChanged(activeElementInst)) {
    manualDispatchChangeEvent(nativeEvent);
  }
}

function handleEventsForInputEventPolyfill(domEventName, target, targetInst) {
  if (domEventName === 'focusin') {
    // In IE9, propertychange fires for most input events but is buggy and
    // doesn't fire when text is deleted, but conveniently, selectionchange
    // appears to fire in all of the remaining cases so we catch those and
    // forward the event if the value has changed
    // In either case, we don't want to call the event handler if the value
    // is changed from JS so we redefine a setter for `.value` that updates
    // our activeElementValue variable, allowing us to ignore those changes
    //
    // stopWatching() should be a noop here but we call it just in case we
    // missed a blur event somehow.
    stopWatchingForValueChange();
    startWatchingForValueChange(target, targetInst);
  } else if (domEventName === 'focusout') {
    stopWatchingForValueChange();
  }
} // For IE8 and IE9.


function getTargetInstForInputEventPolyfill(domEventName, targetInst) {
  if (domEventName === 'selectionchange' || domEventName === 'keyup' || domEventName === 'keydown') {
    // On the selectionchange event, the target is just document which isn't
    // helpful for us so just check activeElement instead.
    //
    // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire
    // propertychange on the first input event after setting `value` from a
    // script and fires only keydown, keypress, keyup. Catching keyup usually
    // gets it and catching keydown lets us fire an event for the first
    // keystroke if user does a key repeat (it'll be a little delayed: right
    // before the second keystroke). Other input methods (e.g., paste) seem to
    // fire selectionchange normally.
    return getInstIfValueChanged(activeElementInst);
  }
}
/**
 * SECTION: handle `click` event
 */


function shouldUseClickEvent(elem) {
  // Use the `click` event to detect changes to checkbox and radio inputs.
  // This approach works across all browsers, whereas `change` does not fire
  // until `blur` in IE8.
  var nodeName = elem.nodeName;
  return nodeName && nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');
}

function getTargetInstForClickEvent(domEventName, targetInst) {
  if (domEventName === 'click') {
    return getInstIfValueChanged(targetInst);
  }
}

function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {
  if (domEventName === 'input' || domEventName === 'change') {
    return getInstIfValueChanged(targetInst);
  }
}

function handleControlledInputBlur(node) {
  var state = node._wrapperState;

  if (!state || !state.controlled || node.type !== 'number') {
    return;
  }

  {
    // If controlled, assign the value attribute to the current value on blur
    setDefaultValue(node, 'number', node.value);
  }
}
/**
 * This plugin creates an `onChange` event that normalizes change events
 * across form elements. This event fires at a time when it's possible to
 * change the element's value without seeing a flicker.
 *
 * Supported elements are:
 * - input (see `isTextInputElement`)
 * - textarea
 * - select
 */


function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
  var targetNode = targetInst ? getNodeFromInstance(targetInst) : window;
  var getTargetInstFunc, handleEventFunc;

  if (shouldUseChangeEvent(targetNode)) {
    getTargetInstFunc = getTargetInstForChangeEvent;
  } else if (isTextInputElement(targetNode)) {
    if (isInputEventSupported) {
      getTargetInstFunc = getTargetInstForInputOrChangeEvent;
    } else {
      getTargetInstFunc = getTargetInstForInputEventPolyfill;
      handleEventFunc = handleEventsForInputEventPolyfill;
    }
  } else if (shouldUseClickEvent(targetNode)) {
    getTargetInstFunc = getTargetInstForClickEvent;
  }

  if (getTargetInstFunc) {
    var inst = getTargetInstFunc(domEventName, targetInst);

    if (inst) {
      createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, nativeEventTarget);
      return;
    }
  }

  if (handleEventFunc) {
    handleEventFunc(domEventName, targetNode, targetInst);
  } // When blurring, set the value attribute for number inputs


  if (domEventName === 'focusout') {
    handleControlledInputBlur(targetNode);
  }
}

function registerEvents$2() {
  registerDirectEvent('onMouseEnter', ['mouseout', 'mouseover']);
  registerDirectEvent('onMouseLeave', ['mouseout', 'mouseover']);
  registerDirectEvent('onPointerEnter', ['pointerout', 'pointerover']);
  registerDirectEvent('onPointerLeave', ['pointerout', 'pointerover']);
}
/**
 * For almost every interaction we care about, there will be both a top-level
 * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that
 * we do not extract duplicate events. However, moving the mouse into the
 * browser from outside will not fire a `mouseout` event. In this case, we use
 * the `mouseover` top-level event.
 */


function extractEvents$2(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
  var isOverEvent = domEventName === 'mouseover' || domEventName === 'pointerover';
  var isOutEvent = domEventName === 'mouseout' || domEventName === 'pointerout';

  if (isOverEvent && !isReplayingEvent(nativeEvent)) {
    // If this is an over event with a target, we might have already dispatched
    // the event in the out event of the other target. If this is replayed,
    // then it's because we couldn't dispatch against this target previously
    // so we have to do it now instead.
    var related = nativeEvent.relatedTarget || nativeEvent.fromElement;

    if (related) {
      // If the related node is managed by React, we can assume that we have
      // already dispatched the corresponding events during its mouseout.
      if (getClosestInstanceFromNode(related) || isContainerMarkedAsRoot(related)) {
        return;
      }
    }
  }

  if (!isOutEvent && !isOverEvent) {
    // Must not be a mouse or pointer in or out - ignoring.
    return;
  }

  var win; // TODO: why is this nullable in the types but we read from it?

  if (nativeEventTarget.window === nativeEventTarget) {
    // `nativeEventTarget` is probably a window object.
    win = nativeEventTarget;
  } else {
    // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.
    var doc = nativeEventTarget.ownerDocument;

    if (doc) {
      win = doc.defaultView || doc.parentWindow;
    } else {
      win = window;
    }
  }

  var from;
  var to;

  if (isOutEvent) {
    var _related = nativeEvent.relatedTarget || nativeEvent.toElement;

    from = targetInst;
    to = _related ? getClosestInstanceFromNode(_related) : null;

    if (to !== null) {
      var nearestMounted = getNearestMountedFiber(to);

      if (to !== nearestMounted || to.tag !== HostComponent && to.tag !== HostText) {
        to = null;
      }
    }
  } else {
    // Moving to a node from outside the window.
    from = null;
    to = targetInst;
  }

  if (from === to) {
    // Nothing pertains to our managed components.
    return;
  }

  var SyntheticEventCtor = SyntheticMouseEvent;
  var leaveEventType = 'onMouseLeave';
  var enterEventType = 'onMouseEnter';
  var eventTypePrefix = 'mouse';

  if (domEventName === 'pointerout' || domEventName === 'pointerover') {
    SyntheticEventCtor = SyntheticPointerEvent;
    leaveEventType = 'onPointerLeave';
    enterEventType = 'onPointerEnter';
    eventTypePrefix = 'pointer';
  }

  var fromNode = from == null ? win : getNodeFromInstance(from);
  var toNode = to == null ? win : getNodeFromInstance(to);
  var leave = new SyntheticEventCtor(leaveEventType, eventTypePrefix + 'leave', from, nativeEvent, nativeEventTarget);
  leave.target = fromNode;
  leave.relatedTarget = toNode;
  var enter = null; // We should only process this nativeEvent if we are processing
  // the first ancestor. Next time, we will ignore the event.

  var nativeTargetInst = getClosestInstanceFromNode(nativeEventTarget);

  if (nativeTargetInst === targetInst) {
    var enterEvent = new SyntheticEventCtor(enterEventType, eventTypePrefix + 'enter', to, nativeEvent, nativeEventTarget);
    enterEvent.target = toNode;
    enterEvent.relatedTarget = fromNode;
    enter = enterEvent;
  }

  accumulateEnterLeaveTwoPhaseListeners(dispatchQueue, leave, enter, from, to);
}

/**
 * inlined Object.is polyfill to avoid requiring consumers ship their own
 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
 */
function is(x, y) {
  return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
  ;
}

var objectIs = typeof Object.is === 'function' ? Object.is : is;

/**
 * Performs equality by iterating through keys on an object and returning false
 * when any key has values which are not strictly equal between the arguments.
 * Returns true when the values of all keys are strictly equal.
 */

function shallowEqual(objA, objB) {
  if (objectIs(objA, objB)) {
    return true;
  }

  if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
    return false;
  }

  var keysA = Object.keys(objA);
  var keysB = Object.keys(objB);

  if (keysA.length !== keysB.length) {
    return false;
  } // Test for A's keys different from B.


  for (var i = 0; i < keysA.length; i++) {
    var currentKey = keysA[i];

    if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) {
      return false;
    }
  }

  return true;
}

/**
 * Given any node return the first leaf node without children.
 *
 * @param {DOMElement|DOMTextNode} node
 * @return {DOMElement|DOMTextNode}
 */

function getLeafNode(node) {
  while (node && node.firstChild) {
    node = node.firstChild;
  }

  return node;
}
/**
 * Get the next sibling within a container. This will walk up the
 * DOM if a node's siblings have been exhausted.
 *
 * @param {DOMElement|DOMTextNode} node
 * @return {?DOMElement|DOMTextNode}
 */


function getSiblingNode(node) {
  while (node) {
    if (node.nextSibling) {
      return node.nextSibling;
    }

    node = node.parentNode;
  }
}
/**
 * Get object describing the nodes which contain characters at offset.
 *
 * @param {DOMElement|DOMTextNode} root
 * @param {number} offset
 * @return {?object}
 */


function getNodeForCharacterOffset(root, offset) {
  var node = getLeafNode(root);
  var nodeStart = 0;
  var nodeEnd = 0;

  while (node) {
    if (node.nodeType === TEXT_NODE) {
      nodeEnd = nodeStart + node.textContent.length;

      if (nodeStart <= offset && nodeEnd >= offset) {
        return {
          node: node,
          offset: offset - nodeStart
        };
      }

      nodeStart = nodeEnd;
    }

    node = getLeafNode(getSiblingNode(node));
  }
}

/**
 * @param {DOMElement} outerNode
 * @return {?object}
 */

function getOffsets(outerNode) {
  var ownerDocument = outerNode.ownerDocument;
  var win = ownerDocument && ownerDocument.defaultView || window;
  var selection = win.getSelection && win.getSelection();

  if (!selection || selection.rangeCount === 0) {
    return null;
  }

  var anchorNode = selection.anchorNode,
      anchorOffset = selection.anchorOffset,
      focusNode = selection.focusNode,
      focusOffset = selection.focusOffset; // In Firefox, anchorNode and focusNode can be "anonymous divs", e.g. the
  // up/down buttons on an <input type="number">. Anonymous divs do not seem to
  // expose properties, triggering a "Permission denied error" if any of its
  // properties are accessed. The only seemingly possible way to avoid erroring
  // is to access a property that typically works for non-anonymous divs and
  // catch any error that may otherwise arise. See
  // https://bugzilla.mozilla.org/show_bug.cgi?id=208427

  try {
    /* eslint-disable no-unused-expressions */
    anchorNode.nodeType;
    focusNode.nodeType;
    /* eslint-enable no-unused-expressions */
  } catch (e) {
    return null;
  }

  return getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset);
}
/**
 * Returns {start, end} where `start` is the character/codepoint index of
 * (anchorNode, anchorOffset) within the textContent of `outerNode`, and
 * `end` is the index of (focusNode, focusOffset).
 *
 * Returns null if you pass in garbage input but we should probably just crash.
 *
 * Exported only for testing.
 */

function getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset) {
  var length = 0;
  var start = -1;
  var end = -1;
  var indexWithinAnchor = 0;
  var indexWithinFocus = 0;
  var node = outerNode;
  var parentNode = null;

  outer: while (true) {
    var next = null;

    while (true) {
      if (node === anchorNode && (anchorOffset === 0 || node.nodeType === TEXT_NODE)) {
        start = length + anchorOffset;
      }

      if (node === focusNode && (focusOffset === 0 || node.nodeType === TEXT_NODE)) {
        end = length + focusOffset;
      }

      if (node.nodeType === TEXT_NODE) {
        length += node.nodeValue.length;
      }

      if ((next = node.firstChild) === null) {
        break;
      } // Moving from `node` to its first child `next`.


      parentNode = node;
      node = next;
    }

    while (true) {
      if (node === outerNode) {
        // If `outerNode` has children, this is always the second time visiting
        // it. If it has no children, this is still the first loop, and the only
        // valid selection is anchorNode and focusNode both equal to this node
        // and both offsets 0, in which case we will have handled above.
        break outer;
      }

      if (parentNode === anchorNode && ++indexWithinAnchor === anchorOffset) {
        start = length;
      }

      if (parentNode === focusNode && ++indexWithinFocus === focusOffset) {
        end = length;
      }

      if ((next = node.nextSibling) !== null) {
        break;
      }

      node = parentNode;
      parentNode = node.parentNode;
    } // Moving from `node` to its next sibling `next`.


    node = next;
  }

  if (start === -1 || end === -1) {
    // This should never happen. (Would happen if the anchor/focus nodes aren't
    // actually inside the passed-in node.)
    return null;
  }

  return {
    start: start,
    end: end
  };
}
/**
 * In modern non-IE browsers, we can support both forward and backward
 * selections.
 *
 * Note: IE10+ supports the Selection object, but it does not support
 * the `extend` method, which means that even in modern IE, it's not possible
 * to programmatically create a backward selection. Thus, for all IE
 * versions, we use the old IE API to create our selections.
 *
 * @param {DOMElement|DOMTextNode} node
 * @param {object} offsets
 */

function setOffsets(node, offsets) {
  var doc = node.ownerDocument || document;
  var win = doc && doc.defaultView || window; // Edge fails with "Object expected" in some scenarios.
  // (For instance: TinyMCE editor used in a list component that supports pasting to add more,
  // fails when pasting 100+ items)

  if (!win.getSelection) {
    return;
  }

  var selection = win.getSelection();
  var length = node.textContent.length;
  var start = Math.min(offsets.start, length);
  var end = offsets.end === undefined ? start : Math.min(offsets.end, length); // IE 11 uses modern selection, but doesn't support the extend method.
  // Flip backward selections, so we can set with a single range.

  if (!selection.extend && start > end) {
    var temp = end;
    end = start;
    start = temp;
  }

  var startMarker = getNodeForCharacterOffset(node, start);
  var endMarker = getNodeForCharacterOffset(node, end);

  if (startMarker && endMarker) {
    if (selection.rangeCount === 1 && selection.anchorNode === startMarker.node && selection.anchorOffset === startMarker.offset && selection.focusNode === endMarker.node && selection.focusOffset === endMarker.offset) {
      return;
    }

    var range = doc.createRange();
    range.setStart(startMarker.node, startMarker.offset);
    selection.removeAllRanges();

    if (start > end) {
      selection.addRange(range);
      selection.extend(endMarker.node, endMarker.offset);
    } else {
      range.setEnd(endMarker.node, endMarker.offset);
      selection.addRange(range);
    }
  }
}

function isTextNode(node) {
  return node && node.nodeType === TEXT_NODE;
}

function containsNode(outerNode, innerNode) {
  if (!outerNode || !innerNode) {
    return false;
  } else if (outerNode === innerNode) {
    return true;
  } else if (isTextNode(outerNode)) {
    return false;
  } else if (isTextNode(innerNode)) {
    return containsNode(outerNode, innerNode.parentNode);
  } else if ('contains' in outerNode) {
    return outerNode.contains(innerNode);
  } else if (outerNode.compareDocumentPosition) {
    return !!(outerNode.compareDocumentPosition(innerNode) & 16);
  } else {
    return false;
  }
}

function isInDocument(node) {
  return node && node.ownerDocument && containsNode(node.ownerDocument.documentElement, node);
}

function isSameOriginFrame(iframe) {
  try {
    // Accessing the contentDocument of a HTMLIframeElement can cause the browser
    // to throw, e.g. if it has a cross-origin src attribute.
    // Safari will show an error in the console when the access results in "Blocked a frame with origin". e.g:
    // iframe.contentDocument.defaultView;
    // A safety way is to access one of the cross origin properties: Window or Location
    // Which might result in "SecurityError" DOM Exception and it is compatible to Safari.
    // https://html.spec.whatwg.org/multipage/browsers.html#integration-with-idl
    return typeof iframe.contentWindow.location.href === 'string';
  } catch (err) {
    return false;
  }
}

function getActiveElementDeep() {
  var win = window;
  var element = getActiveElement();

  while (element instanceof win.HTMLIFrameElement) {
    if (isSameOriginFrame(element)) {
      win = element.contentWindow;
    } else {
      return element;
    }

    element = getActiveElement(win.document);
  }

  return element;
}
/**
 * @ReactInputSelection: React input selection module. Based on Selection.js,
 * but modified to be suitable for react and has a couple of bug fixes (doesn't
 * assume buttons have range selections allowed).
 * Input selection module for React.
 */

/**
 * @hasSelectionCapabilities: we get the element types that support selection
 * from https://html.spec.whatwg.org/#do-not-apply, looking at `selectionStart`
 * and `selectionEnd` rows.
 */


function hasSelectionCapabilities(elem) {
  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
  return nodeName && (nodeName === 'input' && (elem.type === 'text' || elem.type === 'search' || elem.type === 'tel' || elem.type === 'url' || elem.type === 'password') || nodeName === 'textarea' || elem.contentEditable === 'true');
}
function getSelectionInformation() {
  var focusedElem = getActiveElementDeep();
  return {
    focusedElem: focusedElem,
    selectionRange: hasSelectionCapabilities(focusedElem) ? getSelection(focusedElem) : null
  };
}
/**
 * @restoreSelection: If any selection information was potentially lost,
 * restore it. This is useful when performing operations that could remove dom
 * nodes and place them back in, resulting in focus being lost.
 */

function restoreSelection(priorSelectionInformation) {
  var curFocusedElem = getActiveElementDeep();
  var priorFocusedElem = priorSelectionInformation.focusedElem;
  var priorSelectionRange = priorSelectionInformation.selectionRange;

  if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {
    if (priorSelectionRange !== null && hasSelectionCapabilities(priorFocusedElem)) {
      setSelection(priorFocusedElem, priorSelectionRange);
    } // Focusing a node can change the scroll position, which is undesirable


    var ancestors = [];
    var ancestor = priorFocusedElem;

    while (ancestor = ancestor.parentNode) {
      if (ancestor.nodeType === ELEMENT_NODE) {
        ancestors.push({
          element: ancestor,
          left: ancestor.scrollLeft,
          top: ancestor.scrollTop
        });
      }
    }

    if (typeof priorFocusedElem.focus === 'function') {
      priorFocusedElem.focus();
    }

    for (var i = 0; i < ancestors.length; i++) {
      var info = ancestors[i];
      info.element.scrollLeft = info.left;
      info.element.scrollTop = info.top;
    }
  }
}
/**
 * @getSelection: Gets the selection bounds of a focused textarea, input or
 * contentEditable node.
 * -@input: Look up selection bounds of this input
 * -@return {start: selectionStart, end: selectionEnd}
 */

function getSelection(input) {
  var selection;

  if ('selectionStart' in input) {
    // Modern browser with input or textarea.
    selection = {
      start: input.selectionStart,
      end: input.selectionEnd
    };
  } else {
    // Content editable or old IE textarea.
    selection = getOffsets(input);
  }

  return selection || {
    start: 0,
    end: 0
  };
}
/**
 * @setSelection: Sets the selection bounds of a textarea or input and focuses
 * the input.
 * -@input     Set selection bounds of this input or textarea
 * -@offsets   Object of same form that is returned from get*
 */

function setSelection(input, offsets) {
  var start = offsets.start;
  var end = offsets.end;

  if (end === undefined) {
    end = start;
  }

  if ('selectionStart' in input) {
    input.selectionStart = start;
    input.selectionEnd = Math.min(end, input.value.length);
  } else {
    setOffsets(input, offsets);
  }
}

var skipSelectionChangeEvent = canUseDOM && 'documentMode' in document && document.documentMode <= 11;

function registerEvents$3() {
  registerTwoPhaseEvent('onSelect', ['focusout', 'contextmenu', 'dragend', 'focusin', 'keydown', 'keyup', 'mousedown', 'mouseup', 'selectionchange']);
}

var activeElement$1 = null;
var activeElementInst$1 = null;
var lastSelection = null;
var mouseDown = false;
/**
 * Get an object which is a unique representation of the current selection.
 *
 * The return value will not be consistent across nodes or browsers, but
 * two identical selections on the same node will return identical objects.
 */

function getSelection$1(node) {
  if ('selectionStart' in node && hasSelectionCapabilities(node)) {
    return {
      start: node.selectionStart,
      end: node.selectionEnd
    };
  } else {
    var win = node.ownerDocument && node.ownerDocument.defaultView || window;
    var selection = win.getSelection();
    return {
      anchorNode: selection.anchorNode,
      anchorOffset: selection.anchorOffset,
      focusNode: selection.focusNode,
      focusOffset: selection.focusOffset
    };
  }
}
/**
 * Get document associated with the event target.
 */


function getEventTargetDocument(eventTarget) {
  return eventTarget.window === eventTarget ? eventTarget.document : eventTarget.nodeType === DOCUMENT_NODE ? eventTarget : eventTarget.ownerDocument;
}
/**
 * Poll selection to see whether it's changed.
 *
 * @param {object} nativeEvent
 * @param {object} nativeEventTarget
 * @return {?SyntheticEvent}
 */


function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {
  // Ensure we have the right element, and that the user is not dragging a
  // selection (this matches native `select` event behavior). In HTML5, select
  // fires only on input and textarea thus if there's no focused element we
  // won't dispatch.
  var doc = getEventTargetDocument(nativeEventTarget);

  if (mouseDown || activeElement$1 == null || activeElement$1 !== getActiveElement(doc)) {
    return;
  } // Only fire when selection has actually changed.


  var currentSelection = getSelection$1(activeElement$1);

  if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {
    lastSelection = currentSelection;
    var listeners = accumulateTwoPhaseListeners(activeElementInst$1, 'onSelect');

    if (listeners.length > 0) {
      var event = new SyntheticEvent('onSelect', 'select', null, nativeEvent, nativeEventTarget);
      dispatchQueue.push({
        event: event,
        listeners: listeners
      });
      event.target = activeElement$1;
    }
  }
}
/**
 * This plugin creates an `onSelect` event that normalizes select events
 * across form elements.
 *
 * Supported elements are:
 * - input (see `isTextInputElement`)
 * - textarea
 * - contentEditable
 *
 * This differs from native browser implementations in the following ways:
 * - Fires on contentEditable fields as well as inputs.
 * - Fires for collapsed selection.
 * - Fires after user input.
 */


function extractEvents$3(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
  var targetNode = targetInst ? getNodeFromInstance(targetInst) : window;

  switch (domEventName) {
    // Track the input node that has focus.
    case 'focusin':
      if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') {
        activeElement$1 = targetNode;
        activeElementInst$1 = targetInst;
        lastSelection = null;
      }

      break;

    case 'focusout':
      activeElement$1 = null;
      activeElementInst$1 = null;
      lastSelection = null;
      break;
    // Don't fire the event while the user is dragging. This matches the
    // semantics of the native select event.

    case 'mousedown':
      mouseDown = true;
      break;

    case 'contextmenu':
    case 'mouseup':
    case 'dragend':
      mouseDown = false;
      constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);
      break;
    // Chrome and IE fire non-standard event when selection is changed (and
    // sometimes when it hasn't). IE's event fires out of order with respect
    // to key and input events on deletion, so we discard it.
    //
    // Firefox doesn't support selectionchange, so check selection status
    // after each key entry. The selection changes after keydown and before
    // keyup, but we check on keydown as well in the case of holding down a
    // key, when multiple keydown events are fired but only one keyup is.
    // This is also our approach for IE handling, for the reason above.

    case 'selectionchange':
      if (skipSelectionChangeEvent) {
        break;
      }

    // falls through

    case 'keydown':
    case 'keyup':
      constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);
  }
}

/**
 * Generate a mapping of standard vendor prefixes using the defined style property and event name.
 *
 * @param {string} styleProp
 * @param {string} eventName
 * @returns {object}
 */

function makePrefixMap(styleProp, eventName) {
  var prefixes = {};
  prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();
  prefixes['Webkit' + styleProp] = 'webkit' + eventName;
  prefixes['Moz' + styleProp] = 'moz' + eventName;
  return prefixes;
}
/**
 * A list of event names to a configurable list of vendor prefixes.
 */


var vendorPrefixes = {
  animationend: makePrefixMap('Animation', 'AnimationEnd'),
  animationiteration: makePrefixMap('Animation', 'AnimationIteration'),
  animationstart: makePrefixMap('Animation', 'AnimationStart'),
  transitionend: makePrefixMap('Transition', 'TransitionEnd')
};
/**
 * Event names that have already been detected and prefixed (if applicable).
 */

var prefixedEventNames = {};
/**
 * Element to check for prefixes on.
 */

var style = {};
/**
 * Bootstrap if a DOM exists.
 */

if (canUseDOM) {
  style = document.createElement('div').style; // On some platforms, in particular some releases of Android 4.x,
  // the un-prefixed "animation" and "transition" properties are defined on the
  // style object but the events that fire will still be prefixed, so we need
  // to check if the un-prefixed events are usable, and if not remove them from the map.

  if (!('AnimationEvent' in window)) {
    delete vendorPrefixes.animationend.animation;
    delete vendorPrefixes.animationiteration.animation;
    delete vendorPrefixes.animationstart.animation;
  } // Same as above


  if (!('TransitionEvent' in window)) {
    delete vendorPrefixes.transitionend.transition;
  }
}
/**
 * Attempts to determine the correct vendor prefixed event name.
 *
 * @param {string} eventName
 * @returns {string}
 */


function getVendorPrefixedEventName(eventName) {
  if (prefixedEventNames[eventName]) {
    return prefixedEventNames[eventName];
  } else if (!vendorPrefixes[eventName]) {
    return eventName;
  }

  var prefixMap = vendorPrefixes[eventName];

  for (var styleProp in prefixMap) {
    if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {
      return prefixedEventNames[eventName] = prefixMap[styleProp];
    }
  }

  return eventName;
}

var ANIMATION_END = getVendorPrefixedEventName('animationend');
var ANIMATION_ITERATION = getVendorPrefixedEventName('animationiteration');
var ANIMATION_START = getVendorPrefixedEventName('animationstart');
var TRANSITION_END = getVendorPrefixedEventName('transitionend');

var topLevelEventsToReactNames = new Map(); // NOTE: Capitalization is important in this list!
//
// E.g. it needs "pointerDown", not "pointerdown".
// This is because we derive both React name ("onPointerDown")
// and DOM name ("pointerdown") from the same list.
//
// Exceptions that don't match this convention are listed separately.
//
// prettier-ignore

var simpleEventPluginEvents = ['abort', 'auxClick', 'cancel', 'canPlay', 'canPlayThrough', 'click', 'close', 'contextMenu', 'copy', 'cut', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'pointerCancel', 'pointerDown', 'pointerMove', 'pointerOut', 'pointerOver', 'pointerUp', 'progress', 'rateChange', 'reset', 'resize', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'scroll', 'toggle', 'touchMove', 'waiting', 'wheel'];

function registerSimpleEvent(domEventName, reactName) {
  topLevelEventsToReactNames.set(domEventName, reactName);
  registerTwoPhaseEvent(reactName, [domEventName]);
}

function registerSimpleEvents() {
  for (var i = 0; i < simpleEventPluginEvents.length; i++) {
    var eventName = simpleEventPluginEvents[i];
    var domEventName = eventName.toLowerCase();
    var capitalizedEvent = eventName[0].toUpperCase() + eventName.slice(1);
    registerSimpleEvent(domEventName, 'on' + capitalizedEvent);
  } // Special cases where event names don't match.


  registerSimpleEvent(ANIMATION_END, 'onAnimationEnd');
  registerSimpleEvent(ANIMATION_ITERATION, 'onAnimationIteration');
  registerSimpleEvent(ANIMATION_START, 'onAnimationStart');
  registerSimpleEvent('dblclick', 'onDoubleClick');
  registerSimpleEvent('focusin', 'onFocus');
  registerSimpleEvent('focusout', 'onBlur');
  registerSimpleEvent(TRANSITION_END, 'onTransitionEnd');
}

function extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
  var reactName = topLevelEventsToReactNames.get(domEventName);

  if (reactName === undefined) {
    return;
  }

  var SyntheticEventCtor = SyntheticEvent;
  var reactEventType = domEventName;

  switch (domEventName) {
    case 'keypress':
      // Firefox creates a keypress event for function keys too. This removes
      // the unwanted keypress events. Enter is however both printable and
      // non-printable. One would expect Tab to be as well (but it isn't).
      if (getEventCharCode(nativeEvent) === 0) {
        return;
      }

    /* falls through */

    case 'keydown':
    case 'keyup':
      SyntheticEventCtor = SyntheticKeyboardEvent;
      break;

    case 'focusin':
      reactEventType = 'focus';
      SyntheticEventCtor = SyntheticFocusEvent;
      break;

    case 'focusout':
      reactEventType = 'blur';
      SyntheticEventCtor = SyntheticFocusEvent;
      break;

    case 'beforeblur':
    case 'afterblur':
      SyntheticEventCtor = SyntheticFocusEvent;
      break;

    case 'click':
      // Firefox creates a click event on right mouse clicks. This removes the
      // unwanted click events.
      if (nativeEvent.button === 2) {
        return;
      }

    /* falls through */

    case 'auxclick':
    case 'dblclick':
    case 'mousedown':
    case 'mousemove':
    case 'mouseup': // TODO: Disabled elements should not respond to mouse events

    /* falls through */

    case 'mouseout':
    case 'mouseover':
    case 'contextmenu':
      SyntheticEventCtor = SyntheticMouseEvent;
      break;

    case 'drag':
    case 'dragend':
    case 'dragenter':
    case 'dragexit':
    case 'dragleave':
    case 'dragover':
    case 'dragstart':
    case 'drop':
      SyntheticEventCtor = SyntheticDragEvent;
      break;

    case 'touchcancel':
    case 'touchend':
    case 'touchmove':
    case 'touchstart':
      SyntheticEventCtor = SyntheticTouchEvent;
      break;

    case ANIMATION_END:
    case ANIMATION_ITERATION:
    case ANIMATION_START:
      SyntheticEventCtor = SyntheticAnimationEvent;
      break;

    case TRANSITION_END:
      SyntheticEventCtor = SyntheticTransitionEvent;
      break;

    case 'scroll':
      SyntheticEventCtor = SyntheticUIEvent;
      break;

    case 'wheel':
      SyntheticEventCtor = SyntheticWheelEvent;
      break;

    case 'copy':
    case 'cut':
    case 'paste':
      SyntheticEventCtor = SyntheticClipboardEvent;
      break;

    case 'gotpointercapture':
    case 'lostpointercapture':
    case 'pointercancel':
    case 'pointerdown':
    case 'pointermove':
    case 'pointerout':
    case 'pointerover':
    case 'pointerup':
      SyntheticEventCtor = SyntheticPointerEvent;
      break;
  }

  var inCapturePhase = (eventSystemFlags & IS_CAPTURE_PHASE) !== 0;

  {
    // Some events don't bubble in the browser.
    // In the past, React has always bubbled them, but this can be surprising.
    // We're going to try aligning closer to the browser behavior by not bubbling
    // them in React either. We'll start by not bubbling onScroll, and then expand.
    var accumulateTargetOnly = !inCapturePhase && // TODO: ideally, we'd eventually add all events from
    // nonDelegatedEvents list in DOMPluginEventSystem.
    // Then we can remove this special list.
    // This is a breaking change that can wait until React 18.
    domEventName === 'scroll';

    var _listeners = accumulateSinglePhaseListeners(targetInst, reactName, nativeEvent.type, inCapturePhase, accumulateTargetOnly);

    if (_listeners.length > 0) {
      // Intentionally create event lazily.
      var _event = new SyntheticEventCtor(reactName, reactEventType, null, nativeEvent, nativeEventTarget);

      dispatchQueue.push({
        event: _event,
        listeners: _listeners
      });
    }
  }
}

// TODO: remove top-level side effect.
registerSimpleEvents();
registerEvents$2();
registerEvents$1();
registerEvents$3();
registerEvents();

function extractEvents$5(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) {
  // TODO: we should remove the concept of a "SimpleEventPlugin".
  // This is the basic functionality of the event system. All
  // the other plugins are essentially polyfills. So the plugin
  // should probably be inlined somewhere and have its logic
  // be core the to event system. This would potentially allow
  // us to ship builds of React without the polyfilled plugins below.
  extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
  var shouldProcessPolyfillPlugins = (eventSystemFlags & SHOULD_NOT_PROCESS_POLYFILL_EVENT_PLUGINS) === 0; // We don't process these events unless we are in the
  // event's native "bubble" phase, which means that we're
  // not in the capture phase. That's because we emulate
  // the capture phase here still. This is a trade-off,
  // because in an ideal world we would not emulate and use
  // the phases properly, like we do with the SimpleEvent
  // plugin. However, the plugins below either expect
  // emulation (EnterLeave) or use state localized to that
  // plugin (BeforeInput, Change, Select). The state in
  // these modules complicates things, as you'll essentially
  // get the case where the capture phase event might change
  // state, only for the following bubble event to come in
  // later and not trigger anything as the state now
  // invalidates the heuristics of the event plugin. We
  // could alter all these plugins to work in such ways, but
  // that might cause other unknown side-effects that we
  // can't foresee right now.

  if (shouldProcessPolyfillPlugins) {
    extractEvents$2(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
    extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
    extractEvents$3(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
    extractEvents(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget);
  }
} // List of events that need to be individually attached to media elements.


var mediaEventTypes = ['abort', 'canplay', 'canplaythrough', 'durationchange', 'emptied', 'encrypted', 'ended', 'error', 'loadeddata', 'loadedmetadata', 'loadstart', 'pause', 'play', 'playing', 'progress', 'ratechange', 'resize', 'seeked', 'seeking', 'stalled', 'suspend', 'timeupdate', 'volumechange', 'waiting']; // We should not delegate these events to the container, but rather
// set them on the actual target element itself. This is primarily
// because these events do not consistently bubble in the DOM.

var nonDelegatedEvents = new Set(['cancel', 'close', 'invalid', 'load', 'scroll', 'toggle'].concat(mediaEventTypes));

function executeDispatch(event, listener, currentTarget) {
  var type = event.type || 'unknown-event';
  event.currentTarget = currentTarget;
  invokeGuardedCallbackAndCatchFirstError(type, listener, undefined, event);
  event.currentTarget = null;
}

function processDispatchQueueItemsInOrder(event, dispatchListeners, inCapturePhase) {
  var previousInstance;

  if (inCapturePhase) {
    for (var i = dispatchListeners.length - 1; i >= 0; i--) {
      var _dispatchListeners$i = dispatchListeners[i],
          instance = _dispatchListeners$i.instance,
          currentTarget = _dispatchListeners$i.currentTarget,
          listener = _dispatchListeners$i.listener;

      if (instance !== previousInstance && event.isPropagationStopped()) {
        return;
      }

      executeDispatch(event, listener, currentTarget);
      previousInstance = instance;
    }
  } else {
    for (var _i = 0; _i < dispatchListeners.length; _i++) {
      var _dispatchListeners$_i = dispatchListeners[_i],
          _instance = _dispatchListeners$_i.instance,
          _currentTarget = _dispatchListeners$_i.currentTarget,
          _listener = _dispatchListeners$_i.listener;

      if (_instance !== previousInstance && event.isPropagationStopped()) {
        return;
      }

      executeDispatch(event, _listener, _currentTarget);
      previousInstance = _instance;
    }
  }
}

function processDispatchQueue(dispatchQueue, eventSystemFlags) {
  var inCapturePhase = (eventSystemFlags & IS_CAPTURE_PHASE) !== 0;

  for (var i = 0; i < dispatchQueue.length; i++) {
    var _dispatchQueue$i = dispatchQueue[i],
        event = _dispatchQueue$i.event,
        listeners = _dispatchQueue$i.listeners;
    processDispatchQueueItemsInOrder(event, listeners, inCapturePhase); //  event system doesn't use pooling.
  } // This would be a good time to rethrow if any of the event handlers threw.


  rethrowCaughtError();
}

function dispatchEventsForPlugins(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) {
  var nativeEventTarget = getEventTarget(nativeEvent);
  var dispatchQueue = [];
  extractEvents$5(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags);
  processDispatchQueue(dispatchQueue, eventSystemFlags);
}

function listenToNonDelegatedEvent(domEventName, targetElement) {
  {
    if (!nonDelegatedEvents.has(domEventName)) {
      error('Did not expect a listenToNonDelegatedEvent() call for "%s". ' + 'This is a bug in React. Please file an issue.', domEventName);
    }
  }

  var isCapturePhaseListener = false;
  var listenerSet = getEventListenerSet(targetElement);
  var listenerSetKey = getListenerSetKey(domEventName, isCapturePhaseListener);

  if (!listenerSet.has(listenerSetKey)) {
    addTrappedEventListener(targetElement, domEventName, IS_NON_DELEGATED, isCapturePhaseListener);
    listenerSet.add(listenerSetKey);
  }
}
function listenToNativeEvent(domEventName, isCapturePhaseListener, target) {
  {
    if (nonDelegatedEvents.has(domEventName) && !isCapturePhaseListener) {
      error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. ' + 'This is a bug in React. Please file an issue.', domEventName);
    }
  }

  var eventSystemFlags = 0;

  if (isCapturePhaseListener) {
    eventSystemFlags |= IS_CAPTURE_PHASE;
  }

  addTrappedEventListener(target, domEventName, eventSystemFlags, isCapturePhaseListener);
} // This is only used by createEventHandle when the
var listeningMarker = '_reactListening' + Math.random().toString(36).slice(2);
function listenToAllSupportedEvents(rootContainerElement) {
  if (!rootContainerElement[listeningMarker]) {
    rootContainerElement[listeningMarker] = true;
    allNativeEvents.forEach(function (domEventName) {
      // We handle selectionchange separately because it
      // doesn't bubble and needs to be on the document.
      if (domEventName !== 'selectionchange') {
        if (!nonDelegatedEvents.has(domEventName)) {
          listenToNativeEvent(domEventName, false, rootContainerElement);
        }

        listenToNativeEvent(domEventName, true, rootContainerElement);
      }
    });
    var ownerDocument = rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;

    if (ownerDocument !== null) {
      // The selectionchange event also needs deduplication
      // but it is attached to the document.
      if (!ownerDocument[listeningMarker]) {
        ownerDocument[listeningMarker] = true;
        listenToNativeEvent('selectionchange', false, ownerDocument);
      }
    }
  }
}

function addTrappedEventListener(targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener, isDeferredListenerForLegacyFBSupport) {
  var listener = createEventListenerWrapperWithPriority(targetContainer, domEventName, eventSystemFlags); // If passive option is not supported, then the event will be
  // active and not passive.

  var isPassiveListener = undefined;

  if (passiveBrowserEventsSupported) {
    // Browsers introduced an intervention, making these events
    // passive by default on document. React doesn't bind them
    // to document anymore, but changing this now would undo
    // the performance wins from the change. So we emulate
    // the existing behavior manually on the roots now.
    // https://github.com/facebook/react/issues/19651
    if (domEventName === 'touchstart' || domEventName === 'touchmove' || domEventName === 'wheel') {
      isPassiveListener = true;
    }
  }

  targetContainer =  targetContainer;
  var unsubscribeListener; // When legacyFBSupport is enabled, it's for when we


  if (isCapturePhaseListener) {
    if (isPassiveListener !== undefined) {
      unsubscribeListener = addEventCaptureListenerWithPassiveFlag(targetContainer, domEventName, listener, isPassiveListener);
    } else {
      unsubscribeListener = addEventCaptureListener(targetContainer, domEventName, listener);
    }
  } else {
    if (isPassiveListener !== undefined) {
      unsubscribeListener = addEventBubbleListenerWithPassiveFlag(targetContainer, domEventName, listener, isPassiveListener);
    } else {
      unsubscribeListener = addEventBubbleListener(targetContainer, domEventName, listener);
    }
  }
}

function isMatchingRootContainer(grandContainer, targetContainer) {
  return grandContainer === targetContainer || grandContainer.nodeType === COMMENT_NODE && grandContainer.parentNode === targetContainer;
}

function dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) {
  var ancestorInst = targetInst;

  if ((eventSystemFlags & IS_EVENT_HANDLE_NON_MANAGED_NODE) === 0 && (eventSystemFlags & IS_NON_DELEGATED) === 0) {
    var targetContainerNode = targetContainer; // If we are using the legacy FB support flag, we

    if (targetInst !== null) {
      // The below logic attempts to work out if we need to change
      // the target fiber to a different ancestor. We had similar logic
      // in the legacy event system, except the big difference between
      // systems is that the modern event system now has an event listener
      // attached to each React Root and React Portal Root. Together,
      // the DOM nodes representing these roots are the "rootContainer".
      // To figure out which ancestor instance we should use, we traverse
      // up the fiber tree from the target instance and attempt to find
      // root boundaries that match that of our current "rootContainer".
      // If we find that "rootContainer", we find the parent fiber
      // sub-tree for that root and make that our ancestor instance.
      var node = targetInst;

      mainLoop: while (true) {
        if (node === null) {
          return;
        }

        var nodeTag = node.tag;

        if (nodeTag === HostRoot || nodeTag === HostPortal) {
          var container = node.stateNode.containerInfo;

          if (isMatchingRootContainer(container, targetContainerNode)) {
            break;
          }

          if (nodeTag === HostPortal) {
            // The target is a portal, but it's not the rootContainer we're looking for.
            // Normally portals handle their own events all the way down to the root.
            // So we should be able to stop now. However, we don't know if this portal
            // was part of *our* root.
            var grandNode = node.return;

            while (grandNode !== null) {
              var grandTag = grandNode.tag;

              if (grandTag === HostRoot || grandTag === HostPortal) {
                var grandContainer = grandNode.stateNode.containerInfo;

                if (isMatchingRootContainer(grandContainer, targetContainerNode)) {
                  // This is the rootContainer we're looking for and we found it as
                  // a parent of the Portal. That means we can ignore it because the
                  // Portal will bubble through to us.
                  return;
                }
              }

              grandNode = grandNode.return;
            }
          } // Now we need to find it's corresponding host fiber in the other
          // tree. To do this we can use getClosestInstanceFromNode, but we
          // need to validate that the fiber is a host instance, otherwise
          // we need to traverse up through the DOM till we find the correct
          // node that is from the other tree.


          while (container !== null) {
            var parentNode = getClosestInstanceFromNode(container);

            if (parentNode === null) {
              return;
            }

            var parentTag = parentNode.tag;

            if (parentTag === HostComponent || parentTag === HostText) {
              node = ancestorInst = parentNode;
              continue mainLoop;
            }

            container = container.parentNode;
          }
        }

        node = node.return;
      }
    }
  }

  batchedUpdates(function () {
    return dispatchEventsForPlugins(domEventName, eventSystemFlags, nativeEvent, ancestorInst);
  });
}

function createDispatchListener(instance, listener, currentTarget) {
  return {
    instance: instance,
    listener: listener,
    currentTarget: currentTarget
  };
}

function accumulateSinglePhaseListeners(targetFiber, reactName, nativeEventType, inCapturePhase, accumulateTargetOnly, nativeEvent) {
  var captureName = reactName !== null ? reactName + 'Capture' : null;
  var reactEventName = inCapturePhase ? captureName : reactName;
  var listeners = [];
  var instance = targetFiber;
  var lastHostComponent = null; // Accumulate all instances and listeners via the target -> root path.

  while (instance !== null) {
    var _instance2 = instance,
        stateNode = _instance2.stateNode,
        tag = _instance2.tag; // Handle listeners that are on HostComponents (i.e. <div>)

    if (tag === HostComponent && stateNode !== null) {
      lastHostComponent = stateNode; // createEventHandle listeners


      if (reactEventName !== null) {
        var listener = getListener(instance, reactEventName);

        if (listener != null) {
          listeners.push(createDispatchListener(instance, listener, lastHostComponent));
        }
      }
    } // If we are only accumulating events for the target, then we don't
    // continue to propagate through the React fiber tree to find other
    // listeners.


    if (accumulateTargetOnly) {
      break;
    } // If we are processing the onBeforeBlur event, then we need to take

    instance = instance.return;
  }

  return listeners;
} // We should only use this function for:
// - BeforeInputEventPlugin
// - ChangeEventPlugin
// - SelectEventPlugin
// This is because we only process these plugins
// in the bubble phase, so we need to accumulate two
// phase event listeners (via emulation).

function accumulateTwoPhaseListeners(targetFiber, reactName) {
  var captureName = reactName + 'Capture';
  var listeners = [];
  var instance = targetFiber; // Accumulate all instances and listeners via the target -> root path.

  while (instance !== null) {
    var _instance3 = instance,
        stateNode = _instance3.stateNode,
        tag = _instance3.tag; // Handle listeners that are on HostComponents (i.e. <div>)

    if (tag === HostComponent && stateNode !== null) {
      var currentTarget = stateNode;
      var captureListener = getListener(instance, captureName);

      if (captureListener != null) {
        listeners.unshift(createDispatchListener(instance, captureListener, currentTarget));
      }

      var bubbleListener = getListener(instance, reactName);

      if (bubbleListener != null) {
        listeners.push(createDispatchListener(instance, bubbleListener, currentTarget));
      }
    }

    instance = instance.return;
  }

  return listeners;
}

function getParent(inst) {
  if (inst === null) {
    return null;
  }

  do {
    inst = inst.return; // TODO: If this is a HostRoot we might want to bail out.
    // That is depending on if we want nested subtrees (layers) to bubble
    // events to their parent. We could also go through parentNode on the
    // host node but that wouldn't work for React Native and doesn't let us
    // do the portal feature.
  } while (inst && inst.tag !== HostComponent);

  if (inst) {
    return inst;
  }

  return null;
}
/**
 * Return the lowest common ancestor of A and B, or null if they are in
 * different trees.
 */


function getLowestCommonAncestor(instA, instB) {
  var nodeA = instA;
  var nodeB = instB;
  var depthA = 0;

  for (var tempA = nodeA; tempA; tempA = getParent(tempA)) {
    depthA++;
  }

  var depthB = 0;

  for (var tempB = nodeB; tempB; tempB = getParent(tempB)) {
    depthB++;
  } // If A is deeper, crawl up.


  while (depthA - depthB > 0) {
    nodeA = getParent(nodeA);
    depthA--;
  } // If B is deeper, crawl up.


  while (depthB - depthA > 0) {
    nodeB = getParent(nodeB);
    depthB--;
  } // Walk in lockstep until we find a match.


  var depth = depthA;

  while (depth--) {
    if (nodeA === nodeB || nodeB !== null && nodeA === nodeB.alternate) {
      return nodeA;
    }

    nodeA = getParent(nodeA);
    nodeB = getParent(nodeB);
  }

  return null;
}

function accumulateEnterLeaveListenersForEvent(dispatchQueue, event, target, common, inCapturePhase) {
  var registrationName = event._reactName;
  var listeners = [];
  var instance = target;

  while (instance !== null) {
    if (instance === common) {
      break;
    }

    var _instance4 = instance,
        alternate = _instance4.alternate,
        stateNode = _instance4.stateNode,
        tag = _instance4.tag;

    if (alternate !== null && alternate === common) {
      break;
    }

    if (tag === HostComponent && stateNode !== null) {
      var currentTarget = stateNode;

      if (inCapturePhase) {
        var captureListener = getListener(instance, registrationName);

        if (captureListener != null) {
          listeners.unshift(createDispatchListener(instance, captureListener, currentTarget));
        }
      } else if (!inCapturePhase) {
        var bubbleListener = getListener(instance, registrationName);

        if (bubbleListener != null) {
          listeners.push(createDispatchListener(instance, bubbleListener, currentTarget));
        }
      }
    }

    instance = instance.return;
  }

  if (listeners.length !== 0) {
    dispatchQueue.push({
      event: event,
      listeners: listeners
    });
  }
} // We should only use this function for:
// - EnterLeaveEventPlugin
// This is because we only process this plugin
// in the bubble phase, so we need to accumulate two
// phase event listeners.


function accumulateEnterLeaveTwoPhaseListeners(dispatchQueue, leaveEvent, enterEvent, from, to) {
  var common = from && to ? getLowestCommonAncestor(from, to) : null;

  if (from !== null) {
    accumulateEnterLeaveListenersForEvent(dispatchQueue, leaveEvent, from, common, false);
  }

  if (to !== null && enterEvent !== null) {
    accumulateEnterLeaveListenersForEvent(dispatchQueue, enterEvent, to, common, true);
  }
}
function getListenerSetKey(domEventName, capture) {
  return domEventName + "__" + (capture ? 'capture' : 'bubble');
}

var didWarnInvalidHydration = false;
var DANGEROUSLY_SET_INNER_HTML = 'dangerouslySetInnerHTML';
var SUPPRESS_CONTENT_EDITABLE_WARNING = 'suppressContentEditableWarning';
var SUPPRESS_HYDRATION_WARNING = 'suppressHydrationWarning';
var AUTOFOCUS = 'autoFocus';
var CHILDREN = 'children';
var STYLE = 'style';
var HTML$1 = '__html';
var warnedUnknownTags;
var validatePropertiesInDevelopment;
var warnForPropDifference;
var warnForExtraAttributes;
var warnForInvalidEventListener;
var canDiffStyleForHydrationWarning;
var normalizeHTML;

{
  warnedUnknownTags = {
    // There are working polyfills for <dialog>. Let people use it.
    dialog: true,
    // Electron ships a custom <webview> tag to display external web content in
    // an isolated frame and process.
    // This tag is not present in non Electron environments such as JSDom which
    // is often used for testing purposes.
    // @see https://electronjs.org/docs/api/webview-tag
    webview: true
  };

  validatePropertiesInDevelopment = function (type, props) {
    validateProperties(type, props);
    validateProperties$1(type, props);
    validateProperties$2(type, props, {
      registrationNameDependencies: registrationNameDependencies,
      possibleRegistrationNames: possibleRegistrationNames
    });
  }; // IE 11 parses & normalizes the style attribute as opposed to other
  // browsers. It adds spaces and sorts the properties in some
  // non-alphabetical order. Handling that would require sorting CSS
  // properties in the client & server versions or applying
  // `expectedStyle` to a temporary DOM node to read its `style` attribute
  // normalized. Since it only affects IE, we're skipping style warnings
  // in that browser completely in favor of doing all that work.
  // See https://github.com/facebook/react/issues/11807


  canDiffStyleForHydrationWarning = canUseDOM && !document.documentMode;

  warnForPropDifference = function (propName, serverValue, clientValue) {
    if (didWarnInvalidHydration) {
      return;
    }

    var normalizedClientValue = normalizeMarkupForTextOrAttribute(clientValue);
    var normalizedServerValue = normalizeMarkupForTextOrAttribute(serverValue);

    if (normalizedServerValue === normalizedClientValue) {
      return;
    }

    didWarnInvalidHydration = true;

    error('Prop `%s` did not match. Server: %s Client: %s', propName, JSON.stringify(normalizedServerValue), JSON.stringify(normalizedClientValue));
  };

  warnForExtraAttributes = function (attributeNames) {
    if (didWarnInvalidHydration) {
      return;
    }

    didWarnInvalidHydration = true;
    var names = [];
    attributeNames.forEach(function (name) {
      names.push(name);
    });

    error('Extra attributes from the server: %s', names);
  };

  warnForInvalidEventListener = function (registrationName, listener) {
    if (listener === false) {
      error('Expected `%s` listener to be a function, instead got `false`.\n\n' + 'If you used to conditionally omit it with %s={condition && value}, ' + 'pass %s={condition ? value : undefined} instead.', registrationName, registrationName, registrationName);
    } else {
      error('Expected `%s` listener to be a function, instead got a value of `%s` type.', registrationName, typeof listener);
    }
  }; // Parse the HTML and read it back to normalize the HTML string so that it
  // can be used for comparison.


  normalizeHTML = function (parent, html) {
    // We could have created a separate document here to avoid
    // re-initializing custom elements if they exist. But this breaks
    // how <noscript> is being handled. So we use the same document.
    // See the discussion in https://github.com/facebook/react/pull/11157.
    var testElement = parent.namespaceURI === HTML_NAMESPACE ? parent.ownerDocument.createElement(parent.tagName) : parent.ownerDocument.createElementNS(parent.namespaceURI, parent.tagName);
    testElement.innerHTML = html;
    return testElement.innerHTML;
  };
} // HTML parsing normalizes CR and CRLF to LF.
// It also can turn \u0000 into \uFFFD inside attributes.
// https://www.w3.org/TR/html5/single-page.html#preprocessing-the-input-stream
// If we have a mismatch, it might be caused by that.
// We will still patch up in this case but not fire the warning.


var NORMALIZE_NEWLINES_REGEX = /\r\n?/g;
var NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g;

function normalizeMarkupForTextOrAttribute(markup) {
  {
    checkHtmlStringCoercion(markup);
  }

  var markupString = typeof markup === 'string' ? markup : '' + markup;
  return markupString.replace(NORMALIZE_NEWLINES_REGEX, '\n').replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, '');
}

function checkForUnmatchedText(serverText, clientText, isConcurrentMode, shouldWarnDev) {
  var normalizedClientText = normalizeMarkupForTextOrAttribute(clientText);
  var normalizedServerText = normalizeMarkupForTextOrAttribute(serverText);

  if (normalizedServerText === normalizedClientText) {
    return;
  }

  if (shouldWarnDev) {
    {
      if (!didWarnInvalidHydration) {
        didWarnInvalidHydration = true;

        error('Text content did not match. Server: "%s" Client: "%s"', normalizedServerText, normalizedClientText);
      }
    }
  }

  if (isConcurrentMode && enableClientRenderFallbackOnTextMismatch) {
    // In concurrent roots, we throw when there's a text mismatch and revert to
    // client rendering, up to the nearest Suspense boundary.
    throw new Error('Text content does not match server-rendered HTML.');
  }
}

function getOwnerDocumentFromRootContainer(rootContainerElement) {
  return rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
}

function noop() {}

function trapClickOnNonInteractiveElement(node) {
  // Mobile Safari does not fire properly bubble click events on
  // non-interactive elements, which means delegated click listeners do not
  // fire. The workaround for this bug involves attaching an empty click
  // listener on the target node.
  // https://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
  // Just set it using the onclick property so that we don't have to manage any
  // bookkeeping for it. Not sure if we need to clear it when the listener is
  // removed.
  // TODO: Only do this for the relevant Safaris maybe?
  node.onclick = noop;
}

function setInitialDOMProperties(tag, domElement, rootContainerElement, nextProps, isCustomComponentTag) {
  for (var propKey in nextProps) {
    if (!nextProps.hasOwnProperty(propKey)) {
      continue;
    }

    var nextProp = nextProps[propKey];

    if (propKey === STYLE) {
      {
        if (nextProp) {
          // Freeze the next style object so that we can assume it won't be
          // mutated. We have already warned for this in the past.
          Object.freeze(nextProp);
        }
      } // Relies on `updateStylesByID` not mutating `styleUpdates`.


      setValueForStyles(domElement, nextProp);
    } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
      var nextHtml = nextProp ? nextProp[HTML$1] : undefined;

      if (nextHtml != null) {
        setInnerHTML(domElement, nextHtml);
      }
    } else if (propKey === CHILDREN) {
      if (typeof nextProp === 'string') {
        // Avoid setting initial textContent when the text is empty. In IE11 setting
        // textContent on a <textarea> will cause the placeholder to not
        // show within the <textarea> until it has been focused and blurred again.
        // https://github.com/facebook/react/issues/6731#issuecomment-254874553
        var canSetTextContent = tag !== 'textarea' || nextProp !== '';

        if (canSetTextContent) {
          setTextContent(domElement, nextProp);
        }
      } else if (typeof nextProp === 'number') {
        setTextContent(domElement, '' + nextProp);
      }
    } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING) ; else if (propKey === AUTOFOCUS) ; else if (registrationNameDependencies.hasOwnProperty(propKey)) {
      if (nextProp != null) {
        if ( typeof nextProp !== 'function') {
          warnForInvalidEventListener(propKey, nextProp);
        }

        if (propKey === 'onScroll') {
          listenToNonDelegatedEvent('scroll', domElement);
        }
      }
    } else if (nextProp != null) {
      setValueForProperty(domElement, propKey, nextProp, isCustomComponentTag);
    }
  }
}

function updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag) {
  // TODO: Handle wasCustomComponentTag
  for (var i = 0; i < updatePayload.length; i += 2) {
    var propKey = updatePayload[i];
    var propValue = updatePayload[i + 1];

    if (propKey === STYLE) {
      setValueForStyles(domElement, propValue);
    } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
      setInnerHTML(domElement, propValue);
    } else if (propKey === CHILDREN) {
      setTextContent(domElement, propValue);
    } else {
      setValueForProperty(domElement, propKey, propValue, isCustomComponentTag);
    }
  }
}

function createElement(type, props, rootContainerElement, parentNamespace) {
  var isCustomComponentTag; // We create tags in the namespace of their parent container, except HTML
  // tags get no namespace.

  var ownerDocument = getOwnerDocumentFromRootContainer(rootContainerElement);
  var domElement;
  var namespaceURI = parentNamespace;

  if (namespaceURI === HTML_NAMESPACE) {
    namespaceURI = getIntrinsicNamespace(type);
  }

  if (namespaceURI === HTML_NAMESPACE) {
    {
      isCustomComponentTag = isCustomComponent(type, props); // Should this check be gated by parent namespace? Not sure we want to
      // allow <SVG> or <mATH>.

      if (!isCustomComponentTag && type !== type.toLowerCase()) {
        error('<%s /> is using incorrect casing. ' + 'Use PascalCase for React components, ' + 'or lowercase for HTML elements.', type);
      }
    }

    if (type === 'script') {
      // Create the script via .innerHTML so its "parser-inserted" flag is
      // set to true and it does not execute
      var div = ownerDocument.createElement('div');

      div.innerHTML = '<script><' + '/script>'; // eslint-disable-line
      // This is guaranteed to yield a script element.

      var firstChild = div.firstChild;
      domElement = div.removeChild(firstChild);
    } else if (typeof props.is === 'string') {
      // $FlowIssue `createElement` should be updated for Web Components
      domElement = ownerDocument.createElement(type, {
        is: props.is
      });
    } else {
      // Separate else branch instead of using `props.is || undefined` above because of a Firefox bug.
      // See discussion in https://github.com/facebook/react/pull/6896
      // and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240
      domElement = ownerDocument.createElement(type); // Normally attributes are assigned in `setInitialDOMProperties`, however the `multiple` and `size`
      // attributes on `select`s needs to be added before `option`s are inserted.
      // This prevents:
      // - a bug where the `select` does not scroll to the correct option because singular
      //  `select` elements automatically pick the first item #13222
      // - a bug where the `select` set the first item as selected despite the `size` attribute #14239
      // See https://github.com/facebook/react/issues/13222
      // and https://github.com/facebook/react/issues/14239

      if (type === 'select') {
        var node = domElement;

        if (props.multiple) {
          node.multiple = true;
        } else if (props.size) {
          // Setting a size greater than 1 causes a select to behave like `multiple=true`, where
          // it is possible that no option is selected.
          //
          // This is only necessary when a select in "single selection mode".
          node.size = props.size;
        }
      }
    }
  } else {
    domElement = ownerDocument.createElementNS(namespaceURI, type);
  }

  {
    if (namespaceURI === HTML_NAMESPACE) {
      if (!isCustomComponentTag && Object.prototype.toString.call(domElement) === '[object HTMLUnknownElement]' && !hasOwnProperty.call(warnedUnknownTags, type)) {
        warnedUnknownTags[type] = true;

        error('The tag <%s> is unrecognized in this browser. ' + 'If you meant to render a React component, start its name with ' + 'an uppercase letter.', type);
      }
    }
  }

  return domElement;
}
function createTextNode(text, rootContainerElement) {
  return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text);
}
function setInitialProperties(domElement, tag, rawProps, rootContainerElement) {
  var isCustomComponentTag = isCustomComponent(tag, rawProps);

  {
    validatePropertiesInDevelopment(tag, rawProps);
  } // TODO: Make sure that we check isMounted before firing any of these events.


  var props;

  switch (tag) {
    case 'dialog':
      listenToNonDelegatedEvent('cancel', domElement);
      listenToNonDelegatedEvent('close', domElement);
      props = rawProps;
      break;

    case 'iframe':
    case 'object':
    case 'embed':
      // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the load event.
      listenToNonDelegatedEvent('load', domElement);
      props = rawProps;
      break;

    case 'video':
    case 'audio':
      // We listen to these events in case to ensure emulated bubble
      // listeners still fire for all the media events.
      for (var i = 0; i < mediaEventTypes.length; i++) {
        listenToNonDelegatedEvent(mediaEventTypes[i], domElement);
      }

      props = rawProps;
      break;

    case 'source':
      // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the error event.
      listenToNonDelegatedEvent('error', domElement);
      props = rawProps;
      break;

    case 'img':
    case 'image':
    case 'link':
      // We listen to these events in case to ensure emulated bubble
      // listeners still fire for error and load events.
      listenToNonDelegatedEvent('error', domElement);
      listenToNonDelegatedEvent('load', domElement);
      props = rawProps;
      break;

    case 'details':
      // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the toggle event.
      listenToNonDelegatedEvent('toggle', domElement);
      props = rawProps;
      break;

    case 'input':
      initWrapperState(domElement, rawProps);
      props = getHostProps(domElement, rawProps); // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the invalid event.

      listenToNonDelegatedEvent('invalid', domElement);
      break;

    case 'option':
      validateProps(domElement, rawProps);
      props = rawProps;
      break;

    case 'select':
      initWrapperState$1(domElement, rawProps);
      props = getHostProps$1(domElement, rawProps); // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the invalid event.

      listenToNonDelegatedEvent('invalid', domElement);
      break;

    case 'textarea':
      initWrapperState$2(domElement, rawProps);
      props = getHostProps$2(domElement, rawProps); // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the invalid event.

      listenToNonDelegatedEvent('invalid', domElement);
      break;

    default:
      props = rawProps;
  }

  assertValidProps(tag, props);
  setInitialDOMProperties(tag, domElement, rootContainerElement, props, isCustomComponentTag);

  switch (tag) {
    case 'input':
      // TODO: Make sure we check if this is still unmounted or do any clean
      // up necessary since we never stop tracking anymore.
      track(domElement);
      postMountWrapper(domElement, rawProps, false);
      break;

    case 'textarea':
      // TODO: Make sure we check if this is still unmounted or do any clean
      // up necessary since we never stop tracking anymore.
      track(domElement);
      postMountWrapper$3(domElement);
      break;

    case 'option':
      postMountWrapper$1(domElement, rawProps);
      break;

    case 'select':
      postMountWrapper$2(domElement, rawProps);
      break;

    default:
      if (typeof props.onClick === 'function') {
        // TODO: This cast may not be sound for SVG, MathML or custom elements.
        trapClickOnNonInteractiveElement(domElement);
      }

      break;
  }
} // Calculate the diff between the two objects.

function diffProperties(domElement, tag, lastRawProps, nextRawProps, rootContainerElement) {
  {
    validatePropertiesInDevelopment(tag, nextRawProps);
  }

  var updatePayload = null;
  var lastProps;
  var nextProps;

  switch (tag) {
    case 'input':
      lastProps = getHostProps(domElement, lastRawProps);
      nextProps = getHostProps(domElement, nextRawProps);
      updatePayload = [];
      break;

    case 'select':
      lastProps = getHostProps$1(domElement, lastRawProps);
      nextProps = getHostProps$1(domElement, nextRawProps);
      updatePayload = [];
      break;

    case 'textarea':
      lastProps = getHostProps$2(domElement, lastRawProps);
      nextProps = getHostProps$2(domElement, nextRawProps);
      updatePayload = [];
      break;

    default:
      lastProps = lastRawProps;
      nextProps = nextRawProps;

      if (typeof lastProps.onClick !== 'function' && typeof nextProps.onClick === 'function') {
        // TODO: This cast may not be sound for SVG, MathML or custom elements.
        trapClickOnNonInteractiveElement(domElement);
      }

      break;
  }

  assertValidProps(tag, nextProps);
  var propKey;
  var styleName;
  var styleUpdates = null;

  for (propKey in lastProps) {
    if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {
      continue;
    }

    if (propKey === STYLE) {
      var lastStyle = lastProps[propKey];

      for (styleName in lastStyle) {
        if (lastStyle.hasOwnProperty(styleName)) {
          if (!styleUpdates) {
            styleUpdates = {};
          }

          styleUpdates[styleName] = '';
        }
      }
    } else if (propKey === DANGEROUSLY_SET_INNER_HTML || propKey === CHILDREN) ; else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING) ; else if (propKey === AUTOFOCUS) ; else if (registrationNameDependencies.hasOwnProperty(propKey)) {
      // This is a special case. If any listener updates we need to ensure
      // that the "current" fiber pointer gets updated so we need a commit
      // to update this element.
      if (!updatePayload) {
        updatePayload = [];
      }
    } else {
      // For all other deleted properties we add it to the queue. We use
      // the allowed property list in the commit phase instead.
      (updatePayload = updatePayload || []).push(propKey, null);
    }
  }

  for (propKey in nextProps) {
    var nextProp = nextProps[propKey];
    var lastProp = lastProps != null ? lastProps[propKey] : undefined;

    if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {
      continue;
    }

    if (propKey === STYLE) {
      {
        if (nextProp) {
          // Freeze the next style object so that we can assume it won't be
          // mutated. We have already warned for this in the past.
          Object.freeze(nextProp);
        }
      }

      if (lastProp) {
        // Unset styles on `lastProp` but not on `nextProp`.
        for (styleName in lastProp) {
          if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {
            if (!styleUpdates) {
              styleUpdates = {};
            }

            styleUpdates[styleName] = '';
          }
        } // Update styles that changed since `lastProp`.


        for (styleName in nextProp) {
          if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {
            if (!styleUpdates) {
              styleUpdates = {};
            }

            styleUpdates[styleName] = nextProp[styleName];
          }
        }
      } else {
        // Relies on `updateStylesByID` not mutating `styleUpdates`.
        if (!styleUpdates) {
          if (!updatePayload) {
            updatePayload = [];
          }

          updatePayload.push(propKey, styleUpdates);
        }

        styleUpdates = nextProp;
      }
    } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
      var nextHtml = nextProp ? nextProp[HTML$1] : undefined;
      var lastHtml = lastProp ? lastProp[HTML$1] : undefined;

      if (nextHtml != null) {
        if (lastHtml !== nextHtml) {
          (updatePayload = updatePayload || []).push(propKey, nextHtml);
        }
      }
    } else if (propKey === CHILDREN) {
      if (typeof nextProp === 'string' || typeof nextProp === 'number') {
        (updatePayload = updatePayload || []).push(propKey, '' + nextProp);
      }
    } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING) ; else if (registrationNameDependencies.hasOwnProperty(propKey)) {
      if (nextProp != null) {
        // We eagerly listen to this even though we haven't committed yet.
        if ( typeof nextProp !== 'function') {
          warnForInvalidEventListener(propKey, nextProp);
        }

        if (propKey === 'onScroll') {
          listenToNonDelegatedEvent('scroll', domElement);
        }
      }

      if (!updatePayload && lastProp !== nextProp) {
        // This is a special case. If any listener updates we need to ensure
        // that the "current" props pointer gets updated so we need a commit
        // to update this element.
        updatePayload = [];
      }
    } else {
      // For any other property we always add it to the queue and then we
      // filter it out using the allowed property list during the commit.
      (updatePayload = updatePayload || []).push(propKey, nextProp);
    }
  }

  if (styleUpdates) {
    {
      validateShorthandPropertyCollisionInDev(styleUpdates, nextProps[STYLE]);
    }

    (updatePayload = updatePayload || []).push(STYLE, styleUpdates);
  }

  return updatePayload;
} // Apply the diff.

function updateProperties(domElement, updatePayload, tag, lastRawProps, nextRawProps) {
  // Update checked *before* name.
  // In the middle of an update, it is possible to have multiple checked.
  // When a checked radio tries to change name, browser makes another radio's checked false.
  if (tag === 'input' && nextRawProps.type === 'radio' && nextRawProps.name != null) {
    updateChecked(domElement, nextRawProps);
  }

  var wasCustomComponentTag = isCustomComponent(tag, lastRawProps);
  var isCustomComponentTag = isCustomComponent(tag, nextRawProps); // Apply the diff.

  updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag); // TODO: Ensure that an update gets scheduled if any of the special props
  // changed.

  switch (tag) {
    case 'input':
      // Update the wrapper around inputs *after* updating props. This has to
      // happen after `updateDOMProperties`. Otherwise HTML5 input validations
      // raise warnings and prevent the new value from being assigned.
      updateWrapper(domElement, nextRawProps);
      break;

    case 'textarea':
      updateWrapper$1(domElement, nextRawProps);
      break;

    case 'select':
      // <select> value update needs to occur after <option> children
      // reconciliation
      postUpdateWrapper(domElement, nextRawProps);
      break;
  }
}

function getPossibleStandardName(propName) {
  {
    var lowerCasedName = propName.toLowerCase();

    if (!possibleStandardNames.hasOwnProperty(lowerCasedName)) {
      return null;
    }

    return possibleStandardNames[lowerCasedName] || null;
  }
}

function diffHydratedProperties(domElement, tag, rawProps, parentNamespace, rootContainerElement, isConcurrentMode, shouldWarnDev) {
  var isCustomComponentTag;
  var extraAttributeNames;

  {
    isCustomComponentTag = isCustomComponent(tag, rawProps);
    validatePropertiesInDevelopment(tag, rawProps);
  } // TODO: Make sure that we check isMounted before firing any of these events.


  switch (tag) {
    case 'dialog':
      listenToNonDelegatedEvent('cancel', domElement);
      listenToNonDelegatedEvent('close', domElement);
      break;

    case 'iframe':
    case 'object':
    case 'embed':
      // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the load event.
      listenToNonDelegatedEvent('load', domElement);
      break;

    case 'video':
    case 'audio':
      // We listen to these events in case to ensure emulated bubble
      // listeners still fire for all the media events.
      for (var i = 0; i < mediaEventTypes.length; i++) {
        listenToNonDelegatedEvent(mediaEventTypes[i], domElement);
      }

      break;

    case 'source':
      // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the error event.
      listenToNonDelegatedEvent('error', domElement);
      break;

    case 'img':
    case 'image':
    case 'link':
      // We listen to these events in case to ensure emulated bubble
      // listeners still fire for error and load events.
      listenToNonDelegatedEvent('error', domElement);
      listenToNonDelegatedEvent('load', domElement);
      break;

    case 'details':
      // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the toggle event.
      listenToNonDelegatedEvent('toggle', domElement);
      break;

    case 'input':
      initWrapperState(domElement, rawProps); // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the invalid event.

      listenToNonDelegatedEvent('invalid', domElement);
      break;

    case 'option':
      validateProps(domElement, rawProps);
      break;

    case 'select':
      initWrapperState$1(domElement, rawProps); // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the invalid event.

      listenToNonDelegatedEvent('invalid', domElement);
      break;

    case 'textarea':
      initWrapperState$2(domElement, rawProps); // We listen to this event in case to ensure emulated bubble
      // listeners still fire for the invalid event.

      listenToNonDelegatedEvent('invalid', domElement);
      break;
  }

  assertValidProps(tag, rawProps);

  {
    extraAttributeNames = new Set();
    var attributes = domElement.attributes;

    for (var _i = 0; _i < attributes.length; _i++) {
      var name = attributes[_i].name.toLowerCase();

      switch (name) {
        // Controlled attributes are not validated
        // TODO: Only ignore them on controlled tags.
        case 'value':
          break;

        case 'checked':
          break;

        case 'selected':
          break;

        default:
          // Intentionally use the original name.
          // See discussion in https://github.com/facebook/react/pull/10676.
          extraAttributeNames.add(attributes[_i].name);
      }
    }
  }

  var updatePayload = null;

  for (var propKey in rawProps) {
    if (!rawProps.hasOwnProperty(propKey)) {
      continue;
    }

    var nextProp = rawProps[propKey];

    if (propKey === CHILDREN) {
      // For text content children we compare against textContent. This
      // might match additional HTML that is hidden when we read it using
      // textContent. E.g. "foo" will match "f<span>oo</span>" but that still
      // satisfies our requirement. Our requirement is not to produce perfect
      // HTML and attributes. Ideally we should preserve structure but it's
      // ok not to if the visible content is still enough to indicate what
      // even listeners these nodes might be wired up to.
      // TODO: Warn if there is more than a single textNode as a child.
      // TODO: Should we use domElement.firstChild.nodeValue to compare?
      if (typeof nextProp === 'string') {
        if (domElement.textContent !== nextProp) {
          if (rawProps[SUPPRESS_HYDRATION_WARNING] !== true) {
            checkForUnmatchedText(domElement.textContent, nextProp, isConcurrentMode, shouldWarnDev);
          }

          updatePayload = [CHILDREN, nextProp];
        }
      } else if (typeof nextProp === 'number') {
        if (domElement.textContent !== '' + nextProp) {
          if (rawProps[SUPPRESS_HYDRATION_WARNING] !== true) {
            checkForUnmatchedText(domElement.textContent, nextProp, isConcurrentMode, shouldWarnDev);
          }

          updatePayload = [CHILDREN, '' + nextProp];
        }
      }
    } else if (registrationNameDependencies.hasOwnProperty(propKey)) {
      if (nextProp != null) {
        if ( typeof nextProp !== 'function') {
          warnForInvalidEventListener(propKey, nextProp);
        }

        if (propKey === 'onScroll') {
          listenToNonDelegatedEvent('scroll', domElement);
        }
      }
    } else if (shouldWarnDev && true && // Convince Flow we've calculated it (it's DEV-only in this method.)
    typeof isCustomComponentTag === 'boolean') {
      // Validate that the properties correspond to their expected values.
      var serverValue = void 0;
      var propertyInfo = isCustomComponentTag && enableCustomElementPropertySupport ? null : getPropertyInfo(propKey);

      if (rawProps[SUPPRESS_HYDRATION_WARNING] === true) ; else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING || // Controlled attributes are not validated
      // TODO: Only ignore them on controlled tags.
      propKey === 'value' || propKey === 'checked' || propKey === 'selected') ; else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
        var serverHTML = domElement.innerHTML;
        var nextHtml = nextProp ? nextProp[HTML$1] : undefined;

        if (nextHtml != null) {
          var expectedHTML = normalizeHTML(domElement, nextHtml);

          if (expectedHTML !== serverHTML) {
            warnForPropDifference(propKey, serverHTML, expectedHTML);
          }
        }
      } else if (propKey === STYLE) {
        // $FlowFixMe - Should be inferred as not undefined.
        extraAttributeNames.delete(propKey);

        if (canDiffStyleForHydrationWarning) {
          var expectedStyle = createDangerousStringForStyles(nextProp);
          serverValue = domElement.getAttribute('style');

          if (expectedStyle !== serverValue) {
            warnForPropDifference(propKey, serverValue, expectedStyle);
          }
        }
      } else if (isCustomComponentTag && !enableCustomElementPropertySupport) {
        // $FlowFixMe - Should be inferred as not undefined.
        extraAttributeNames.delete(propKey.toLowerCase());
        serverValue = getValueForAttribute(domElement, propKey, nextProp);

        if (nextProp !== serverValue) {
          warnForPropDifference(propKey, serverValue, nextProp);
        }
      } else if (!shouldIgnoreAttribute(propKey, propertyInfo, isCustomComponentTag) && !shouldRemoveAttribute(propKey, nextProp, propertyInfo, isCustomComponentTag)) {
        var isMismatchDueToBadCasing = false;

        if (propertyInfo !== null) {
          // $FlowFixMe - Should be inferred as not undefined.
          extraAttributeNames.delete(propertyInfo.attributeName);
          serverValue = getValueForProperty(domElement, propKey, nextProp, propertyInfo);
        } else {
          var ownNamespace = parentNamespace;

          if (ownNamespace === HTML_NAMESPACE) {
            ownNamespace = getIntrinsicNamespace(tag);
          }

          if (ownNamespace === HTML_NAMESPACE) {
            // $FlowFixMe - Should be inferred as not undefined.
            extraAttributeNames.delete(propKey.toLowerCase());
          } else {
            var standardName = getPossibleStandardName(propKey);

            if (standardName !== null && standardName !== propKey) {
              // If an SVG prop is supplied with bad casing, it will
              // be successfully parsed from HTML, but will produce a mismatch
              // (and would be incorrectly rendered on the client).
              // However, we already warn about bad casing elsewhere.
              // So we'll skip the misleading extra mismatch warning in this case.
              isMismatchDueToBadCasing = true; // $FlowFixMe - Should be inferred as not undefined.

              extraAttributeNames.delete(standardName);
            } // $FlowFixMe - Should be inferred as not undefined.


            extraAttributeNames.delete(propKey);
          }

          serverValue = getValueForAttribute(domElement, propKey, nextProp);
        }

        var dontWarnCustomElement = enableCustomElementPropertySupport  ;

        if (!dontWarnCustomElement && nextProp !== serverValue && !isMismatchDueToBadCasing) {
          warnForPropDifference(propKey, serverValue, nextProp);
        }
      }
    }
  }

  {
    if (shouldWarnDev) {
      if ( // $FlowFixMe - Should be inferred as not undefined.
      extraAttributeNames.size > 0 && rawProps[SUPPRESS_HYDRATION_WARNING] !== true) {
        // $FlowFixMe - Should be inferred as not undefined.
        warnForExtraAttributes(extraAttributeNames);
      }
    }
  }

  switch (tag) {
    case 'input':
      // TODO: Make sure we check if this is still unmounted or do any clean
      // up necessary since we never stop tracking anymore.
      track(domElement);
      postMountWrapper(domElement, rawProps, true);
      break;

    case 'textarea':
      // TODO: Make sure we check if this is still unmounted or do any clean
      // up necessary since we never stop tracking anymore.
      track(domElement);
      postMountWrapper$3(domElement);
      break;

    case 'select':
    case 'option':
      // For input and textarea we current always set the value property at
      // post mount to force it to diverge from attributes. However, for
      // option and select we don't quite do the same thing and select
      // is not resilient to the DOM state changing so we don't do that here.
      // TODO: Consider not doing this for input and textarea.
      break;

    default:
      if (typeof rawProps.onClick === 'function') {
        // TODO: This cast may not be sound for SVG, MathML or custom elements.
        trapClickOnNonInteractiveElement(domElement);
      }

      break;
  }

  return updatePayload;
}
function diffHydratedText(textNode, text, isConcurrentMode) {
  var isDifferent = textNode.nodeValue !== text;
  return isDifferent;
}
function warnForDeletedHydratableElement(parentNode, child) {
  {
    if (didWarnInvalidHydration) {
      return;
    }

    didWarnInvalidHydration = true;

    error('Did not expect server HTML to contain a <%s> in <%s>.', child.nodeName.toLowerCase(), parentNode.nodeName.toLowerCase());
  }
}
function warnForDeletedHydratableText(parentNode, child) {
  {
    if (didWarnInvalidHydration) {
      return;
    }

    didWarnInvalidHydration = true;

    error('Did not expect server HTML to contain the text node "%s" in <%s>.', child.nodeValue, parentNode.nodeName.toLowerCase());
  }
}
function warnForInsertedHydratedElement(parentNode, tag, props) {
  {
    if (didWarnInvalidHydration) {
      return;
    }

    didWarnInvalidHydration = true;

    error('Expected server HTML to contain a matching <%s> in <%s>.', tag, parentNode.nodeName.toLowerCase());
  }
}
function warnForInsertedHydratedText(parentNode, text) {
  {
    if (text === '') {
      // We expect to insert empty text nodes since they're not represented in
      // the HTML.
      // TODO: Remove this special case if we can just avoid inserting empty
      // text nodes.
      return;
    }

    if (didWarnInvalidHydration) {
      return;
    }

    didWarnInvalidHydration = true;

    error('Expected server HTML to contain a matching text node for "%s" in <%s>.', text, parentNode.nodeName.toLowerCase());
  }
}
function restoreControlledState$3(domElement, tag, props) {
  switch (tag) {
    case 'input':
      restoreControlledState(domElement, props);
      return;

    case 'textarea':
      restoreControlledState$2(domElement, props);
      return;

    case 'select':
      restoreControlledState$1(domElement, props);
      return;
  }
}

var validateDOMNesting = function () {};

var updatedAncestorInfo = function () {};

{
  // This validation code was written based on the HTML5 parsing spec:
  // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
  //
  // Note: this does not catch all invalid nesting, nor does it try to (as it's
  // not clear what practical benefit doing so provides); instead, we warn only
  // for cases where the parser will give a parse tree differing from what React
  // intended. For example, <b><div></div></b> is invalid but we don't warn
  // because it still parses correctly; we do warn for other cases like nested
  // <p> tags where the beginning of the second element implicitly closes the
  // first, causing a confusing mess.
  // https://html.spec.whatwg.org/multipage/syntax.html#special
  var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp']; // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope

  var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template', // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
  // TODO: Distinguish by namespace here -- for <title>, including it here
  // errs on the side of fewer warnings
  'foreignObject', 'desc', 'title']; // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope

  var buttonScopeTags = inScopeTags.concat(['button']); // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags

  var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];
  var emptyAncestorInfo = {
    current: null,
    formTag: null,
    aTagInScope: null,
    buttonTagInScope: null,
    nobrTagInScope: null,
    pTagInButtonScope: null,
    listItemTagAutoclosing: null,
    dlItemTagAutoclosing: null
  };

  updatedAncestorInfo = function (oldInfo, tag) {
    var ancestorInfo = assign({}, oldInfo || emptyAncestorInfo);

    var info = {
      tag: tag
    };

    if (inScopeTags.indexOf(tag) !== -1) {
      ancestorInfo.aTagInScope = null;
      ancestorInfo.buttonTagInScope = null;
      ancestorInfo.nobrTagInScope = null;
    }

    if (buttonScopeTags.indexOf(tag) !== -1) {
      ancestorInfo.pTagInButtonScope = null;
    } // See rules for 'li', 'dd', 'dt' start tags in
    // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody


    if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {
      ancestorInfo.listItemTagAutoclosing = null;
      ancestorInfo.dlItemTagAutoclosing = null;
    }

    ancestorInfo.current = info;

    if (tag === 'form') {
      ancestorInfo.formTag = info;
    }

    if (tag === 'a') {
      ancestorInfo.aTagInScope = info;
    }

    if (tag === 'button') {
      ancestorInfo.buttonTagInScope = info;
    }

    if (tag === 'nobr') {
      ancestorInfo.nobrTagInScope = info;
    }

    if (tag === 'p') {
      ancestorInfo.pTagInButtonScope = info;
    }

    if (tag === 'li') {
      ancestorInfo.listItemTagAutoclosing = info;
    }

    if (tag === 'dd' || tag === 'dt') {
      ancestorInfo.dlItemTagAutoclosing = info;
    }

    return ancestorInfo;
  };
  /**
   * Returns whether
   */


  var isTagValidWithParent = function (tag, parentTag) {
    // First, let's check if we're in an unusual parsing mode...
    switch (parentTag) {
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect
      case 'select':
        return tag === 'option' || tag === 'optgroup' || tag === '#text';

      case 'optgroup':
        return tag === 'option' || tag === '#text';
      // Strictly speaking, seeing an <option> doesn't mean we're in a <select>
      // but

      case 'option':
        return tag === '#text';
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption
      // No special behavior since these rules fall back to "in body" mode for
      // all except special table nodes which cause bad parsing behavior anyway.
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr

      case 'tr':
        return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody

      case 'tbody':
      case 'thead':
      case 'tfoot':
        return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup

      case 'colgroup':
        return tag === 'col' || tag === 'template';
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable

      case 'table':
        return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';
      // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead

      case 'head':
        return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';
      // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element

      case 'html':
        return tag === 'head' || tag === 'body' || tag === 'frameset';

      case 'frameset':
        return tag === 'frame';

      case '#document':
        return tag === 'html';
    } // Probably in the "in body" parsing mode, so we outlaw only tag combos
    // where the parsing rules cause implicit opens or closes to be added.
    // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody


    switch (tag) {
      case 'h1':
      case 'h2':
      case 'h3':
      case 'h4':
      case 'h5':
      case 'h6':
        return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';

      case 'rp':
      case 'rt':
        return impliedEndTags.indexOf(parentTag) === -1;

      case 'body':
      case 'caption':
      case 'col':
      case 'colgroup':
      case 'frameset':
      case 'frame':
      case 'head':
      case 'html':
      case 'tbody':
      case 'td':
      case 'tfoot':
      case 'th':
      case 'thead':
      case 'tr':
        // These tags are only valid with a few parents that have special child
        // parsing rules -- if we're down here, then none of those matched and
        // so we allow it only if we don't know what the parent is, as all other
        // cases are invalid.
        return parentTag == null;
    }

    return true;
  };
  /**
   * Returns whether
   */


  var findInvalidAncestorForTag = function (tag, ancestorInfo) {
    switch (tag) {
      case 'address':
      case 'article':
      case 'aside':
      case 'blockquote':
      case 'center':
      case 'details':
      case 'dialog':
      case 'dir':
      case 'div':
      case 'dl':
      case 'fieldset':
      case 'figcaption':
      case 'figure':
      case 'footer':
      case 'header':
      case 'hgroup':
      case 'main':
      case 'menu':
      case 'nav':
      case 'ol':
      case 'p':
      case 'section':
      case 'summary':
      case 'ul':
      case 'pre':
      case 'listing':
      case 'table':
      case 'hr':
      case 'xmp':
      case 'h1':
      case 'h2':
      case 'h3':
      case 'h4':
      case 'h5':
      case 'h6':
        return ancestorInfo.pTagInButtonScope;

      case 'form':
        return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;

      case 'li':
        return ancestorInfo.listItemTagAutoclosing;

      case 'dd':
      case 'dt':
        return ancestorInfo.dlItemTagAutoclosing;

      case 'button':
        return ancestorInfo.buttonTagInScope;

      case 'a':
        // Spec says something about storing a list of markers, but it sounds
        // equivalent to this check.
        return ancestorInfo.aTagInScope;

      case 'nobr':
        return ancestorInfo.nobrTagInScope;
    }

    return null;
  };

  var didWarn$1 = {};

  validateDOMNesting = function (childTag, childText, ancestorInfo) {
    ancestorInfo = ancestorInfo || emptyAncestorInfo;
    var parentInfo = ancestorInfo.current;
    var parentTag = parentInfo && parentInfo.tag;

    if (childText != null) {
      if (childTag != null) {
        error('validateDOMNesting: when childText is passed, childTag should be null');
      }

      childTag = '#text';
    }

    var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;
    var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);
    var invalidParentOrAncestor = invalidParent || invalidAncestor;

    if (!invalidParentOrAncestor) {
      return;
    }

    var ancestorTag = invalidParentOrAncestor.tag;
    var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag;

    if (didWarn$1[warnKey]) {
      return;
    }

    didWarn$1[warnKey] = true;
    var tagDisplayName = childTag;
    var whitespaceInfo = '';

    if (childTag === '#text') {
      if (/\S/.test(childText)) {
        tagDisplayName = 'Text nodes';
      } else {
        tagDisplayName = 'Whitespace text nodes';
        whitespaceInfo = " Make sure you don't have any extra whitespace between tags on " + 'each line of your source code.';
      }
    } else {
      tagDisplayName = '<' + childTag + '>';
    }

    if (invalidParent) {
      var info = '';

      if (ancestorTag === 'table' && childTag === 'tr') {
        info += ' Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by ' + 'the browser.';
      }

      error('validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s', tagDisplayName, ancestorTag, whitespaceInfo, info);
    } else {
      error('validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>.', tagDisplayName, ancestorTag);
    }
  };
}

var SUPPRESS_HYDRATION_WARNING$1 = 'suppressHydrationWarning';
var SUSPENSE_START_DATA = '$';
var SUSPENSE_END_DATA = '/$';
var SUSPENSE_PENDING_START_DATA = '$?';
var SUSPENSE_FALLBACK_START_DATA = '$!';
var STYLE$1 = 'style';
var eventsEnabled = null;
var selectionInformation = null;
function getRootHostContext(rootContainerInstance) {
  var type;
  var namespace;
  var nodeType = rootContainerInstance.nodeType;

  switch (nodeType) {
    case DOCUMENT_NODE:
    case DOCUMENT_FRAGMENT_NODE:
      {
        type = nodeType === DOCUMENT_NODE ? '#document' : '#fragment';
        var root = rootContainerInstance.documentElement;
        namespace = root ? root.namespaceURI : getChildNamespace(null, '');
        break;
      }

    default:
      {
        var container = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance;
        var ownNamespace = container.namespaceURI || null;
        type = container.tagName;
        namespace = getChildNamespace(ownNamespace, type);
        break;
      }
  }

  {
    var validatedTag = type.toLowerCase();
    var ancestorInfo = updatedAncestorInfo(null, validatedTag);
    return {
      namespace: namespace,
      ancestorInfo: ancestorInfo
    };
  }
}
function getChildHostContext(parentHostContext, type, rootContainerInstance) {
  {
    var parentHostContextDev = parentHostContext;
    var namespace = getChildNamespace(parentHostContextDev.namespace, type);
    var ancestorInfo = updatedAncestorInfo(parentHostContextDev.ancestorInfo, type);
    return {
      namespace: namespace,
      ancestorInfo: ancestorInfo
    };
  }
}
function getPublicInstance(instance) {
  return instance;
}
function prepareForCommit(containerInfo) {
  eventsEnabled = isEnabled();
  selectionInformation = getSelectionInformation();
  var activeInstance = null;

  setEnabled(false);
  return activeInstance;
}
function resetAfterCommit(containerInfo) {
  restoreSelection(selectionInformation);
  setEnabled(eventsEnabled);
  eventsEnabled = null;
  selectionInformation = null;
}
function createInstance(type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
  var parentNamespace;

  {
    // TODO: take namespace into account when validating.
    var hostContextDev = hostContext;
    validateDOMNesting(type, null, hostContextDev.ancestorInfo);

    if (typeof props.children === 'string' || typeof props.children === 'number') {
      var string = '' + props.children;
      var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
      validateDOMNesting(null, string, ownAncestorInfo);
    }

    parentNamespace = hostContextDev.namespace;
  }

  var domElement = createElement(type, props, rootContainerInstance, parentNamespace);
  precacheFiberNode(internalInstanceHandle, domElement);
  updateFiberProps(domElement, props);
  return domElement;
}
function appendInitialChild(parentInstance, child) {
  parentInstance.appendChild(child);
}
function finalizeInitialChildren(domElement, type, props, rootContainerInstance, hostContext) {
  setInitialProperties(domElement, type, props, rootContainerInstance);

  switch (type) {
    case 'button':
    case 'input':
    case 'select':
    case 'textarea':
      return !!props.autoFocus;

    case 'img':
      return true;

    default:
      return false;
  }
}
function prepareUpdate(domElement, type, oldProps, newProps, rootContainerInstance, hostContext) {
  {
    var hostContextDev = hostContext;

    if (typeof newProps.children !== typeof oldProps.children && (typeof newProps.children === 'string' || typeof newProps.children === 'number')) {
      var string = '' + newProps.children;
      var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
      validateDOMNesting(null, string, ownAncestorInfo);
    }
  }

  return diffProperties(domElement, type, oldProps, newProps);
}
function shouldSetTextContent(type, props) {
  return type === 'textarea' || type === 'noscript' || typeof props.children === 'string' || typeof props.children === 'number' || typeof props.dangerouslySetInnerHTML === 'object' && props.dangerouslySetInnerHTML !== null && props.dangerouslySetInnerHTML.__html != null;
}
function createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle) {
  {
    var hostContextDev = hostContext;
    validateDOMNesting(null, text, hostContextDev.ancestorInfo);
  }

  var textNode = createTextNode(text, rootContainerInstance);
  precacheFiberNode(internalInstanceHandle, textNode);
  return textNode;
}
function getCurrentEventPriority() {
  var currentEvent = window.event;

  if (currentEvent === undefined) {
    return DefaultEventPriority;
  }

  return getEventPriority(currentEvent.type);
}
// if a component just imports ReactDOM (e.g. for findDOMNode).
// Some environments might not have setTimeout or clearTimeout.

var scheduleTimeout = typeof setTimeout === 'function' ? setTimeout : undefined;
var cancelTimeout = typeof clearTimeout === 'function' ? clearTimeout : undefined;
var noTimeout = -1;
var localPromise = typeof Promise === 'function' ? Promise : undefined; // -------------------
var scheduleMicrotask = typeof queueMicrotask === 'function' ? queueMicrotask : typeof localPromise !== 'undefined' ? function (callback) {
  return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick);
} : scheduleTimeout; // TODO: Determine the best fallback here.

function handleErrorInNextTick(error) {
  setTimeout(function () {
    throw error;
  });
} // -------------------
function commitMount(domElement, type, newProps, internalInstanceHandle) {
  // Despite the naming that might imply otherwise, this method only
  // fires if there is an `Update` effect scheduled during mounting.
  // This happens if `finalizeInitialChildren` returns `true` (which it
  // does to implement the `autoFocus` attribute on the client). But
  // there are also other cases when this might happen (such as patching
  // up text content during hydration mismatch). So we'll check this again.
  switch (type) {
    case 'button':
    case 'input':
    case 'select':
    case 'textarea':
      if (newProps.autoFocus) {
        domElement.focus();
      }

      return;

    case 'img':
      {
        if (newProps.src) {
          domElement.src = newProps.src;
        }

        return;
      }
  }
}
function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
  // Apply the diff to the DOM node.
  updateProperties(domElement, updatePayload, type, oldProps, newProps); // Update the props handle so that we know which props are the ones with
  // with current event handlers.

  updateFiberProps(domElement, newProps);
}
function resetTextContent(domElement) {
  setTextContent(domElement, '');
}
function commitTextUpdate(textInstance, oldText, newText) {
  textInstance.nodeValue = newText;
}
function appendChild(parentInstance, child) {
  parentInstance.appendChild(child);
}
function appendChildToContainer(container, child) {
  var parentNode;

  if (container.nodeType === COMMENT_NODE) {
    parentNode = container.parentNode;
    parentNode.insertBefore(child, container);
  } else {
    parentNode = container;
    parentNode.appendChild(child);
  } // This container might be used for a portal.
  // If something inside a portal is clicked, that click should bubble
  // through the React tree. However, on Mobile Safari the click would
  // never bubble through the *DOM* tree unless an ancestor with onclick
  // event exists. So we wouldn't see it and dispatch it.
  // This is why we ensure that non React root containers have inline onclick
  // defined.
  // https://github.com/facebook/react/issues/11918


  var reactRootContainer = container._reactRootContainer;

  if ((reactRootContainer === null || reactRootContainer === undefined) && parentNode.onclick === null) {
    // TODO: This cast may not be sound for SVG, MathML or custom elements.
    trapClickOnNonInteractiveElement(parentNode);
  }
}
function insertBefore(parentInstance, child, beforeChild) {
  parentInstance.insertBefore(child, beforeChild);
}
function insertInContainerBefore(container, child, beforeChild) {
  if (container.nodeType === COMMENT_NODE) {
    container.parentNode.insertBefore(child, beforeChild);
  } else {
    container.insertBefore(child, beforeChild);
  }
}

function removeChild(parentInstance, child) {
  parentInstance.removeChild(child);
}
function removeChildFromContainer(container, child) {
  if (container.nodeType === COMMENT_NODE) {
    container.parentNode.removeChild(child);
  } else {
    container.removeChild(child);
  }
}
function clearSuspenseBoundary(parentInstance, suspenseInstance) {
  var node = suspenseInstance; // Delete all nodes within this suspense boundary.
  // There might be nested nodes so we need to keep track of how
  // deep we are and only break out when we're back on top.

  var depth = 0;

  do {
    var nextNode = node.nextSibling;
    parentInstance.removeChild(node);

    if (nextNode && nextNode.nodeType === COMMENT_NODE) {
      var data = nextNode.data;

      if (data === SUSPENSE_END_DATA) {
        if (depth === 0) {
          parentInstance.removeChild(nextNode); // Retry if any event replaying was blocked on this.

          retryIfBlockedOn(suspenseInstance);
          return;
        } else {
          depth--;
        }
      } else if (data === SUSPENSE_START_DATA || data === SUSPENSE_PENDING_START_DATA || data === SUSPENSE_FALLBACK_START_DATA) {
        depth++;
      }
    }

    node = nextNode;
  } while (node); // TODO: Warn, we didn't find the end comment boundary.
  // Retry if any event replaying was blocked on this.


  retryIfBlockedOn(suspenseInstance);
}
function clearSuspenseBoundaryFromContainer(container, suspenseInstance) {
  if (container.nodeType === COMMENT_NODE) {
    clearSuspenseBoundary(container.parentNode, suspenseInstance);
  } else if (container.nodeType === ELEMENT_NODE) {
    clearSuspenseBoundary(container, suspenseInstance);
  } // Retry if any event replaying was blocked on this.


  retryIfBlockedOn(container);
}
function hideInstance(instance) {
  // TODO: Does this work for all element types? What about MathML? Should we
  // pass host context to this method?
  instance = instance;
  var style = instance.style;

  if (typeof style.setProperty === 'function') {
    style.setProperty('display', 'none', 'important');
  } else {
    style.display = 'none';
  }
}
function hideTextInstance(textInstance) {
  textInstance.nodeValue = '';
}
function unhideInstance(instance, props) {
  instance = instance;
  var styleProp = props[STYLE$1];
  var display = styleProp !== undefined && styleProp !== null && styleProp.hasOwnProperty('display') ? styleProp.display : null;
  instance.style.display = dangerousStyleValue('display', display);
}
function unhideTextInstance(textInstance, text) {
  textInstance.nodeValue = text;
}
function clearContainer(container) {
  if (container.nodeType === ELEMENT_NODE) {
    container.textContent = '';
  } else if (container.nodeType === DOCUMENT_NODE) {
    if (container.documentElement) {
      container.removeChild(container.documentElement);
    }
  }
} // -------------------
function canHydrateInstance(instance, type, props) {
  if (instance.nodeType !== ELEMENT_NODE || type.toLowerCase() !== instance.nodeName.toLowerCase()) {
    return null;
  } // This has now been refined to an element node.


  return instance;
}
function canHydrateTextInstance(instance, text) {
  if (text === '' || instance.nodeType !== TEXT_NODE) {
    // Empty strings are not parsed by HTML so there won't be a correct match here.
    return null;
  } // This has now been refined to a text node.


  return instance;
}
function canHydrateSuspenseInstance(instance) {
  if (instance.nodeType !== COMMENT_NODE) {
    // Empty strings are not parsed by HTML so there won't be a correct match here.
    return null;
  } // This has now been refined to a suspense node.


  return instance;
}
function isSuspenseInstancePending(instance) {
  return instance.data === SUSPENSE_PENDING_START_DATA;
}
function isSuspenseInstanceFallback(instance) {
  return instance.data === SUSPENSE_FALLBACK_START_DATA;
}
function getSuspenseInstanceFallbackErrorDetails(instance) {
  var dataset = instance.nextSibling && instance.nextSibling.dataset;
  var digest, message, stack;

  if (dataset) {
    digest = dataset.dgst;

    {
      message = dataset.msg;
      stack = dataset.stck;
    }
  }

  {
    return {
      message: message,
      digest: digest,
      stack: stack
    };
  } // let value = {message: undefined, hash: undefined};
  // const nextSibling = instance.nextSibling;
  // if (nextSibling) {
  //   const dataset = ((nextSibling: any): HTMLTemplateElement).dataset;
  //   value.message = dataset.msg;
  //   value.hash = dataset.hash;
  //   if (true) {
  //     value.stack = dataset.stack;
  //   }
  // }
  // return value;

}
function registerSuspenseInstanceRetry(instance, callback) {
  instance._reactRetry = callback;
}

function getNextHydratable(node) {
  // Skip non-hydratable nodes.
  for (; node != null; node = node.nextSibling) {
    var nodeType = node.nodeType;

    if (nodeType === ELEMENT_NODE || nodeType === TEXT_NODE) {
      break;
    }

    if (nodeType === COMMENT_NODE) {
      var nodeData = node.data;

      if (nodeData === SUSPENSE_START_DATA || nodeData === SUSPENSE_FALLBACK_START_DATA || nodeData === SUSPENSE_PENDING_START_DATA) {
        break;
      }

      if (nodeData === SUSPENSE_END_DATA) {
        return null;
      }
    }
  }

  return node;
}

function getNextHydratableSibling(instance) {
  return getNextHydratable(instance.nextSibling);
}
function getFirstHydratableChild(parentInstance) {
  return getNextHydratable(parentInstance.firstChild);
}
function getFirstHydratableChildWithinContainer(parentContainer) {
  return getNextHydratable(parentContainer.firstChild);
}
function getFirstHydratableChildWithinSuspenseInstance(parentInstance) {
  return getNextHydratable(parentInstance.nextSibling);
}
function hydrateInstance(instance, type, props, rootContainerInstance, hostContext, internalInstanceHandle, shouldWarnDev) {
  precacheFiberNode(internalInstanceHandle, instance); // TODO: Possibly defer this until the commit phase where all the events
  // get attached.

  updateFiberProps(instance, props);
  var parentNamespace;

  {
    var hostContextDev = hostContext;
    parentNamespace = hostContextDev.namespace;
  } // TODO: Temporary hack to check if we're in a concurrent root. We can delete
  // when the legacy root API is removed.


  var isConcurrentMode = (internalInstanceHandle.mode & ConcurrentMode) !== NoMode;
  return diffHydratedProperties(instance, type, props, parentNamespace, rootContainerInstance, isConcurrentMode, shouldWarnDev);
}
function hydrateTextInstance(textInstance, text, internalInstanceHandle, shouldWarnDev) {
  precacheFiberNode(internalInstanceHandle, textInstance); // TODO: Temporary hack to check if we're in a concurrent root. We can delete
  // when the legacy root API is removed.

  var isConcurrentMode = (internalInstanceHandle.mode & ConcurrentMode) !== NoMode;
  return diffHydratedText(textInstance, text);
}
function hydrateSuspenseInstance(suspenseInstance, internalInstanceHandle) {
  precacheFiberNode(internalInstanceHandle, suspenseInstance);
}
function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) {
  var node = suspenseInstance.nextSibling; // Skip past all nodes within this suspense boundary.
  // There might be nested nodes so we need to keep track of how
  // deep we are and only break out when we're back on top.

  var depth = 0;

  while (node) {
    if (node.nodeType === COMMENT_NODE) {
      var data = node.data;

      if (data === SUSPENSE_END_DATA) {
        if (depth === 0) {
          return getNextHydratableSibling(node);
        } else {
          depth--;
        }
      } else if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA) {
        depth++;
      }
    }

    node = node.nextSibling;
  } // TODO: Warn, we didn't find the end comment boundary.


  return null;
} // Returns the SuspenseInstance if this node is a direct child of a
// SuspenseInstance. I.e. if its previous sibling is a Comment with
// SUSPENSE_x_START_DATA. Otherwise, null.

function getParentSuspenseInstance(targetInstance) {
  var node = targetInstance.previousSibling; // Skip past all nodes within this suspense boundary.
  // There might be nested nodes so we need to keep track of how
  // deep we are and only break out when we're back on top.

  var depth = 0;

  while (node) {
    if (node.nodeType === COMMENT_NODE) {
      var data = node.data;

      if (data === SUSPENSE_START_DATA || data === SUSPENSE_FALLBACK_START_DATA || data === SUSPENSE_PENDING_START_DATA) {
        if (depth === 0) {
          return node;
        } else {
          depth--;
        }
      } else if (data === SUSPENSE_END_DATA) {
        depth++;
      }
    }

    node = node.previousSibling;
  }

  return null;
}
function commitHydratedContainer(container) {
  // Retry if any event replaying was blocked on this.
  retryIfBlockedOn(container);
}
function commitHydratedSuspenseInstance(suspenseInstance) {
  // Retry if any event replaying was blocked on this.
  retryIfBlockedOn(suspenseInstance);
}
function shouldDeleteUnhydratedTailInstances(parentType) {
  return parentType !== 'head' && parentType !== 'body';
}
function didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, text, isConcurrentMode) {
  var shouldWarnDev = true;
  checkForUnmatchedText(textInstance.nodeValue, text, isConcurrentMode, shouldWarnDev);
}
function didNotMatchHydratedTextInstance(parentType, parentProps, parentInstance, textInstance, text, isConcurrentMode) {
  if (parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
    var shouldWarnDev = true;
    checkForUnmatchedText(textInstance.nodeValue, text, isConcurrentMode, shouldWarnDev);
  }
}
function didNotHydrateInstanceWithinContainer(parentContainer, instance) {
  {
    if (instance.nodeType === ELEMENT_NODE) {
      warnForDeletedHydratableElement(parentContainer, instance);
    } else if (instance.nodeType === COMMENT_NODE) ; else {
      warnForDeletedHydratableText(parentContainer, instance);
    }
  }
}
function didNotHydrateInstanceWithinSuspenseInstance(parentInstance, instance) {
  {
    // $FlowFixMe: Only Element or Document can be parent nodes.
    var parentNode = parentInstance.parentNode;

    if (parentNode !== null) {
      if (instance.nodeType === ELEMENT_NODE) {
        warnForDeletedHydratableElement(parentNode, instance);
      } else if (instance.nodeType === COMMENT_NODE) ; else {
        warnForDeletedHydratableText(parentNode, instance);
      }
    }
  }
}
function didNotHydrateInstance(parentType, parentProps, parentInstance, instance, isConcurrentMode) {
  {
    if (isConcurrentMode || parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
      if (instance.nodeType === ELEMENT_NODE) {
        warnForDeletedHydratableElement(parentInstance, instance);
      } else if (instance.nodeType === COMMENT_NODE) ; else {
        warnForDeletedHydratableText(parentInstance, instance);
      }
    }
  }
}
function didNotFindHydratableInstanceWithinContainer(parentContainer, type, props) {
  {
    warnForInsertedHydratedElement(parentContainer, type);
  }
}
function didNotFindHydratableTextInstanceWithinContainer(parentContainer, text) {
  {
    warnForInsertedHydratedText(parentContainer, text);
  }
}
function didNotFindHydratableInstanceWithinSuspenseInstance(parentInstance, type, props) {
  {
    // $FlowFixMe: Only Element or Document can be parent nodes.
    var parentNode = parentInstance.parentNode;
    if (parentNode !== null) warnForInsertedHydratedElement(parentNode, type);
  }
}
function didNotFindHydratableTextInstanceWithinSuspenseInstance(parentInstance, text) {
  {
    // $FlowFixMe: Only Element or Document can be parent nodes.
    var parentNode = parentInstance.parentNode;
    if (parentNode !== null) warnForInsertedHydratedText(parentNode, text);
  }
}
function didNotFindHydratableInstance(parentType, parentProps, parentInstance, type, props, isConcurrentMode) {
  {
    if (isConcurrentMode || parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
      warnForInsertedHydratedElement(parentInstance, type);
    }
  }
}
function didNotFindHydratableTextInstance(parentType, parentProps, parentInstance, text, isConcurrentMode) {
  {
    if (isConcurrentMode || parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) {
      warnForInsertedHydratedText(parentInstance, text);
    }
  }
}
function errorHydratingContainer(parentContainer) {
  {
    // TODO: This gets logged by onRecoverableError, too, so we should be
    // able to remove it.
    error('An error occurred during hydration. The server HTML was replaced with client content in <%s>.', parentContainer.nodeName.toLowerCase());
  }
}
function preparePortalMount(portalInstance) {
  listenToAllSupportedEvents(portalInstance);
}

var randomKey = Math.random().toString(36).slice(2);
var internalInstanceKey = '__reactFiber$' + randomKey;
var internalPropsKey = '__reactProps$' + randomKey;
var internalContainerInstanceKey = '__reactContainer$' + randomKey;
var internalEventHandlersKey = '__reactEvents$' + randomKey;
var internalEventHandlerListenersKey = '__reactListeners$' + randomKey;
var internalEventHandlesSetKey = '__reactHandles$' + randomKey;
function detachDeletedInstance(node) {
  // TODO: This function is only called on host components. I don't think all of
  // these fields are relevant.
  delete node[internalInstanceKey];
  delete node[internalPropsKey];
  delete node[internalEventHandlersKey];
  delete node[internalEventHandlerListenersKey];
  delete node[internalEventHandlesSetKey];
}
function precacheFiberNode(hostInst, node) {
  node[internalInstanceKey] = hostInst;
}
function markContainerAsRoot(hostRoot, node) {
  node[internalContainerInstanceKey] = hostRoot;
}
function unmarkContainerAsRoot(node) {
  node[internalContainerInstanceKey] = null;
}
function isContainerMarkedAsRoot(node) {
  return !!node[internalContainerInstanceKey];
} // Given a DOM node, return the closest HostComponent or HostText fiber ancestor.
// If the target node is part of a hydrated or not yet rendered subtree, then
// this may also return a SuspenseComponent or HostRoot to indicate that.
// Conceptually the HostRoot fiber is a child of the Container node. So if you
// pass the Container node as the targetNode, you will not actually get the
// HostRoot back. To get to the HostRoot, you need to pass a child of it.
// The same thing applies to Suspense boundaries.

function getClosestInstanceFromNode(targetNode) {
  var targetInst = targetNode[internalInstanceKey];

  if (targetInst) {
    // Don't return HostRoot or SuspenseComponent here.
    return targetInst;
  } // If the direct event target isn't a React owned DOM node, we need to look
  // to see if one of its parents is a React owned DOM node.


  var parentNode = targetNode.parentNode;

  while (parentNode) {
    // We'll check if this is a container root that could include
    // React nodes in the future. We need to check this first because
    // if we're a child of a dehydrated container, we need to first
    // find that inner container before moving on to finding the parent
    // instance. Note that we don't check this field on  the targetNode
    // itself because the fibers are conceptually between the container
    // node and the first child. It isn't surrounding the container node.
    // If it's not a container, we check if it's an instance.
    targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey];

    if (targetInst) {
      // Since this wasn't the direct target of the event, we might have
      // stepped past dehydrated DOM nodes to get here. However they could
      // also have been non-React nodes. We need to answer which one.
      // If we the instance doesn't have any children, then there can't be
      // a nested suspense boundary within it. So we can use this as a fast
      // bailout. Most of the time, when people add non-React children to
      // the tree, it is using a ref to a child-less DOM node.
      // Normally we'd only need to check one of the fibers because if it
      // has ever gone from having children to deleting them or vice versa
      // it would have deleted the dehydrated boundary nested inside already.
      // However, since the HostRoot starts out with an alternate it might
      // have one on the alternate so we need to check in case this was a
      // root.
      var alternate = targetInst.alternate;

      if (targetInst.child !== null || alternate !== null && alternate.child !== null) {
        // Next we need to figure out if the node that skipped past is
        // nested within a dehydrated boundary and if so, which one.
        var suspenseInstance = getParentSuspenseInstance(targetNode);

        while (suspenseInstance !== null) {
          // We found a suspense instance. That means that we haven't
          // hydrated it yet. Even though we leave the comments in the
          // DOM after hydrating, and there are boundaries in the DOM
          // that could already be hydrated, we wouldn't have found them
          // through this pass since if the target is hydrated it would
          // have had an internalInstanceKey on it.
          // Let's get the fiber associated with the SuspenseComponent
          // as the deepest instance.
          var targetSuspenseInst = suspenseInstance[internalInstanceKey];

          if (targetSuspenseInst) {
            return targetSuspenseInst;
          } // If we don't find a Fiber on the comment, it might be because
          // we haven't gotten to hydrate it yet. There might still be a
          // parent boundary that hasn't above this one so we need to find
          // the outer most that is known.


          suspenseInstance = getParentSuspenseInstance(suspenseInstance); // If we don't find one, then that should mean that the parent
          // host component also hasn't hydrated yet. We can return it
          // below since it will bail out on the isMounted check later.
        }
      }

      return targetInst;
    }

    targetNode = parentNode;
    parentNode = targetNode.parentNode;
  }

  return null;
}
/**
 * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent
 * instance, or null if the node was not rendered by this React.
 */

function getInstanceFromNode(node) {
  var inst = node[internalInstanceKey] || node[internalContainerInstanceKey];

  if (inst) {
    if (inst.tag === HostComponent || inst.tag === HostText || inst.tag === SuspenseComponent || inst.tag === HostRoot) {
      return inst;
    } else {
      return null;
    }
  }

  return null;
}
/**
 * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding
 * DOM node.
 */

function getNodeFromInstance(inst) {
  if (inst.tag === HostComponent || inst.tag === HostText) {
    // In Fiber this, is just the state node right now. We assume it will be
    // a host component or host text.
    return inst.stateNode;
  } // Without this first invariant, passing a non-DOM-component triggers the next
  // invariant for a missing parent, which is super confusing.


  throw new Error('getNodeFromInstance: Invalid argument.');
}
function getFiberCurrentPropsFromNode(node) {
  return node[internalPropsKey] || null;
}
function updateFiberProps(node, props) {
  node[internalPropsKey] = props;
}
function getEventListenerSet(node) {
  var elementListenerSet = node[internalEventHandlersKey];

  if (elementListenerSet === undefined) {
    elementListenerSet = node[internalEventHandlersKey] = new Set();
  }

  return elementListenerSet;
}

var loggedTypeFailures = {};
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;

function setCurrentlyValidatingElement(element) {
  {
    if (element) {
      var owner = element._owner;
      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
    } else {
      ReactDebugCurrentFrame$1.setExtraStackFrame(null);
    }
  }
}

function checkPropTypes(typeSpecs, values, location, componentName, element) {
  {
    // $FlowFixMe This is okay but Flow doesn't know it.
    var has = Function.call.bind(hasOwnProperty);

    for (var typeSpecName in typeSpecs) {
      if (has(typeSpecs, typeSpecName)) {
        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
        // fail the render phase where it didn't fail before. So we log it.
        // After these have been cleaned up, we'll let them throw.

        try {
          // This is intentionally an invariant that gets caught. It's the same
          // behavior as without this statement except with a better message.
          if (typeof typeSpecs[typeSpecName] !== 'function') {
            // eslint-disable-next-line react-internal/prod-error-codes
            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
            err.name = 'Invariant Violation';
            throw err;
          }

          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
        } catch (ex) {
          error$1 = ex;
        }

        if (error$1 && !(error$1 instanceof Error)) {
          setCurrentlyValidatingElement(element);

          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);

          setCurrentlyValidatingElement(null);
        }

        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
          // Only monitor this failure once because there tends to be a lot of the
          // same error.
          loggedTypeFailures[error$1.message] = true;
          setCurrentlyValidatingElement(element);

          error('Failed %s type: %s', location, error$1.message);

          setCurrentlyValidatingElement(null);
        }
      }
    }
  }
}

var valueStack = [];
var fiberStack;

{
  fiberStack = [];
}

var index = -1;

function createCursor(defaultValue) {
  return {
    current: defaultValue
  };
}

function pop(cursor, fiber) {
  if (index < 0) {
    {
      error('Unexpected pop.');
    }

    return;
  }

  {
    if (fiber !== fiberStack[index]) {
      error('Unexpected Fiber popped.');
    }
  }

  cursor.current = valueStack[index];
  valueStack[index] = null;

  {
    fiberStack[index] = null;
  }

  index--;
}

function push(cursor, value, fiber) {
  index++;
  valueStack[index] = cursor.current;

  {
    fiberStack[index] = fiber;
  }

  cursor.current = value;
}

var warnedAboutMissingGetChildContext;

{
  warnedAboutMissingGetChildContext = {};
}

var emptyContextObject = {};

{
  Object.freeze(emptyContextObject);
} // A cursor to the current merged context object on the stack.


var contextStackCursor = createCursor(emptyContextObject); // A cursor to a boolean indicating whether the context has changed.

var didPerformWorkStackCursor = createCursor(false); // Keep track of the previous context object that was on the stack.
// We use this to get access to the parent context after we have already
// pushed the next context provider, and now need to merge their contexts.

var previousContext = emptyContextObject;

function getUnmaskedContext(workInProgress, Component, didPushOwnContextIfProvider) {
  {
    if (didPushOwnContextIfProvider && isContextProvider(Component)) {
      // If the fiber is a context provider itself, when we read its context
      // we may have already pushed its own child context on the stack. A context
      // provider should not "see" its own child context. Therefore we read the
      // previous (parent) context instead for a context provider.
      return previousContext;
    }

    return contextStackCursor.current;
  }
}

function cacheContext(workInProgress, unmaskedContext, maskedContext) {
  {
    var instance = workInProgress.stateNode;
    instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
    instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
  }
}

function getMaskedContext(workInProgress, unmaskedContext) {
  {
    var type = workInProgress.type;
    var contextTypes = type.contextTypes;

    if (!contextTypes) {
      return emptyContextObject;
    } // Avoid recreating masked context unless unmasked context has changed.
    // Failing to do this will result in unnecessary calls to componentWillReceiveProps.
    // This may trigger infinite loops if componentWillReceiveProps calls setState.


    var instance = workInProgress.stateNode;

    if (instance && instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext) {
      return instance.__reactInternalMemoizedMaskedChildContext;
    }

    var context = {};

    for (var key in contextTypes) {
      context[key] = unmaskedContext[key];
    }

    {
      var name = getComponentNameFromFiber(workInProgress) || 'Unknown';
      checkPropTypes(contextTypes, context, 'context', name);
    } // Cache unmasked context so we can avoid recreating masked context unless necessary.
    // Context is created before the class component is instantiated so check for instance.


    if (instance) {
      cacheContext(workInProgress, unmaskedContext, context);
    }

    return context;
  }
}

function hasContextChanged() {
  {
    return didPerformWorkStackCursor.current;
  }
}

function isContextProvider(type) {
  {
    var childContextTypes = type.childContextTypes;
    return childContextTypes !== null && childContextTypes !== undefined;
  }
}

function popContext(fiber) {
  {
    pop(didPerformWorkStackCursor, fiber);
    pop(contextStackCursor, fiber);
  }
}

function popTopLevelContextObject(fiber) {
  {
    pop(didPerformWorkStackCursor, fiber);
    pop(contextStackCursor, fiber);
  }
}

function pushTopLevelContextObject(fiber, context, didChange) {
  {
    if (contextStackCursor.current !== emptyContextObject) {
      throw new Error('Unexpected context found on stack. ' + 'This error is likely caused by a bug in React. Please file an issue.');
    }

    push(contextStackCursor, context, fiber);
    push(didPerformWorkStackCursor, didChange, fiber);
  }
}

function processChildContext(fiber, type, parentContext) {
  {
    var instance = fiber.stateNode;
    var childContextTypes = type.childContextTypes; // TODO (bvaughn) Replace this behavior with an invariant() in the future.
    // It has only been added in Fiber to match the (unintentional) behavior in Stack.

    if (typeof instance.getChildContext !== 'function') {
      {
        var componentName = getComponentNameFromFiber(fiber) || 'Unknown';

        if (!warnedAboutMissingGetChildContext[componentName]) {
          warnedAboutMissingGetChildContext[componentName] = true;

          error('%s.childContextTypes is specified but there is no getChildContext() method ' + 'on the instance. You can either define getChildContext() on %s or remove ' + 'childContextTypes from it.', componentName, componentName);
        }
      }

      return parentContext;
    }

    var childContext = instance.getChildContext();

    for (var contextKey in childContext) {
      if (!(contextKey in childContextTypes)) {
        throw new Error((getComponentNameFromFiber(fiber) || 'Unknown') + ".getChildContext(): key \"" + contextKey + "\" is not defined in childContextTypes.");
      }
    }

    {
      var name = getComponentNameFromFiber(fiber) || 'Unknown';
      checkPropTypes(childContextTypes, childContext, 'child context', name);
    }

    return assign({}, parentContext, childContext);
  }
}

function pushContextProvider(workInProgress) {
  {
    var instance = workInProgress.stateNode; // We push the context as early as possible to ensure stack integrity.
    // If the instance does not exist yet, we will push null at first,
    // and replace it on the stack later when invalidating the context.

    var memoizedMergedChildContext = instance && instance.__reactInternalMemoizedMergedChildContext || emptyContextObject; // Remember the parent context so we can merge with it later.
    // Inherit the parent's did-perform-work value to avoid inadvertently blocking updates.

    previousContext = contextStackCursor.current;
    push(contextStackCursor, memoizedMergedChildContext, workInProgress);
    push(didPerformWorkStackCursor, didPerformWorkStackCursor.current, workInProgress);
    return true;
  }
}

function invalidateContextProvider(workInProgress, type, didChange) {
  {
    var instance = workInProgress.stateNode;

    if (!instance) {
      throw new Error('Expected to have an instance by this point. ' + 'This error is likely caused by a bug in React. Please file an issue.');
    }

    if (didChange) {
      // Merge parent and own context.
      // Skip this if we're not updating due to sCU.
      // This avoids unnecessarily recomputing memoized values.
      var mergedContext = processChildContext(workInProgress, type, previousContext);
      instance.__reactInternalMemoizedMergedChildContext = mergedContext; // Replace the old (or empty) context with the new one.
      // It is important to unwind the context in the reverse order.

      pop(didPerformWorkStackCursor, workInProgress);
      pop(contextStackCursor, workInProgress); // Now push the new context and mark that it has changed.

      push(contextStackCursor, mergedContext, workInProgress);
      push(didPerformWorkStackCursor, didChange, workInProgress);
    } else {
      pop(didPerformWorkStackCursor, workInProgress);
      push(didPerformWorkStackCursor, didChange, workInProgress);
    }
  }
}

function findCurrentUnmaskedContext(fiber) {
  {
    // Currently this is only used with renderSubtreeIntoContainer; not sure if it
    // makes sense elsewhere
    if (!isFiberMounted(fiber) || fiber.tag !== ClassComponent) {
      throw new Error('Expected subtree parent to be a mounted class component. ' + 'This error is likely caused by a bug in React. Please file an issue.');
    }

    var node = fiber;

    do {
      switch (node.tag) {
        case HostRoot:
          return node.stateNode.context;

        case ClassComponent:
          {
            var Component = node.type;

            if (isContextProvider(Component)) {
              return node.stateNode.__reactInternalMemoizedMergedChildContext;
            }

            break;
          }
      }

      node = node.return;
    } while (node !== null);

    throw new Error('Found unexpected detached subtree parent. ' + 'This error is likely caused by a bug in React. Please file an issue.');
  }
}

var LegacyRoot = 0;
var ConcurrentRoot = 1;

var syncQueue = null;
var includesLegacySyncCallbacks = false;
var isFlushingSyncQueue = false;
function scheduleSyncCallback(callback) {
  // Push this callback into an internal queue. We'll flush these either in
  // the next tick, or earlier if something calls `flushSyncCallbackQueue`.
  if (syncQueue === null) {
    syncQueue = [callback];
  } else {
    // Push onto existing queue. Don't need to schedule a callback because
    // we already scheduled one when we created the queue.
    syncQueue.push(callback);
  }
}
function scheduleLegacySyncCallback(callback) {
  includesLegacySyncCallbacks = true;
  scheduleSyncCallback(callback);
}
function flushSyncCallbacksOnlyInLegacyMode() {
  // Only flushes the queue if there's a legacy sync callback scheduled.
  // TODO: There's only a single type of callback: performSyncOnWorkOnRoot. So
  // it might make more sense for the queue to be a list of roots instead of a
  // list of generic callbacks. Then we can have two: one for legacy roots, one
  // for concurrent roots. And this method would only flush the legacy ones.
  if (includesLegacySyncCallbacks) {
    flushSyncCallbacks();
  }
}
function flushSyncCallbacks() {
  if (!isFlushingSyncQueue && syncQueue !== null) {
    // Prevent re-entrance.
    isFlushingSyncQueue = true;
    var i = 0;
    var previousUpdatePriority = getCurrentUpdatePriority();

    try {
      var isSync = true;
      var queue = syncQueue; // TODO: Is this necessary anymore? The only user code that runs in this
      // queue is in the render or commit phases.

      setCurrentUpdatePriority(DiscreteEventPriority);

      for (; i < queue.length; i++) {
        var callback = queue[i];

        do {
          callback = callback(isSync);
        } while (callback !== null);
      }

      syncQueue = null;
      includesLegacySyncCallbacks = false;
    } catch (error) {
      // If something throws, leave the remaining callbacks on the queue.
      if (syncQueue !== null) {
        syncQueue = syncQueue.slice(i + 1);
      } // Resume flushing in the next tick


      scheduleCallback(ImmediatePriority, flushSyncCallbacks);
      throw error;
    } finally {
      setCurrentUpdatePriority(previousUpdatePriority);
      isFlushingSyncQueue = false;
    }
  }

  return null;
}

// TODO: Use the unified fiber stack module instead of this local one?
// Intentionally not using it yet to derisk the initial implementation, because
// the way we push/pop these values is a bit unusual. If there's a mistake, I'd
// rather the ids be wrong than crash the whole reconciler.
var forkStack = [];
var forkStackIndex = 0;
var treeForkProvider = null;
var treeForkCount = 0;
var idStack = [];
var idStackIndex = 0;
var treeContextProvider = null;
var treeContextId = 1;
var treeContextOverflow = '';
function isForkedChild(workInProgress) {
  warnIfNotHydrating();
  return (workInProgress.flags & Forked) !== NoFlags;
}
function getForksAtLevel(workInProgress) {
  warnIfNotHydrating();
  return treeForkCount;
}
function getTreeId() {
  var overflow = treeContextOverflow;
  var idWithLeadingBit = treeContextId;
  var id = idWithLeadingBit & ~getLeadingBit(idWithLeadingBit);
  return id.toString(32) + overflow;
}
function pushTreeFork(workInProgress, totalChildren) {
  // This is called right after we reconcile an array (or iterator) of child
  // fibers, because that's the only place where we know how many children in
  // the whole set without doing extra work later, or storing addtional
  // information on the fiber.
  //
  // That's why this function is separate from pushTreeId — it's called during
  // the render phase of the fork parent, not the child, which is where we push
  // the other context values.
  //
  // In the Fizz implementation this is much simpler because the child is
  // rendered in the same callstack as the parent.
  //
  // It might be better to just add a `forks` field to the Fiber type. It would
  // make this module simpler.
  warnIfNotHydrating();
  forkStack[forkStackIndex++] = treeForkCount;
  forkStack[forkStackIndex++] = treeForkProvider;
  treeForkProvider = workInProgress;
  treeForkCount = totalChildren;
}
function pushTreeId(workInProgress, totalChildren, index) {
  warnIfNotHydrating();
  idStack[idStackIndex++] = treeContextId;
  idStack[idStackIndex++] = treeContextOverflow;
  idStack[idStackIndex++] = treeContextProvider;
  treeContextProvider = workInProgress;
  var baseIdWithLeadingBit = treeContextId;
  var baseOverflow = treeContextOverflow; // The leftmost 1 marks the end of the sequence, non-inclusive. It's not part
  // of the id; we use it to account for leading 0s.

  var baseLength = getBitLength(baseIdWithLeadingBit) - 1;
  var baseId = baseIdWithLeadingBit & ~(1 << baseLength);
  var slot = index + 1;
  var length = getBitLength(totalChildren) + baseLength; // 30 is the max length we can store without overflowing, taking into
  // consideration the leading 1 we use to mark the end of the sequence.

  if (length > 30) {
    // We overflowed the bitwise-safe range. Fall back to slower algorithm.
    // This branch assumes the length of the base id is greater than 5; it won't
    // work for smaller ids, because you need 5 bits per character.
    //
    // We encode the id in multiple steps: first the base id, then the
    // remaining digits.
    //
    // Each 5 bit sequence corresponds to a single base 32 character. So for
    // example, if the current id is 23 bits long, we can convert 20 of those
    // bits into a string of 4 characters, with 3 bits left over.
    //
    // First calculate how many bits in the base id represent a complete
    // sequence of characters.
    var numberOfOverflowBits = baseLength - baseLength % 5; // Then create a bitmask that selects only those bits.

    var newOverflowBits = (1 << numberOfOverflowBits) - 1; // Select the bits, and convert them to a base 32 string.

    var newOverflow = (baseId & newOverflowBits).toString(32); // Now we can remove those bits from the base id.

    var restOfBaseId = baseId >> numberOfOverflowBits;
    var restOfBaseLength = baseLength - numberOfOverflowBits; // Finally, encode the rest of the bits using the normal algorithm. Because
    // we made more room, this time it won't overflow.

    var restOfLength = getBitLength(totalChildren) + restOfBaseLength;
    var restOfNewBits = slot << restOfBaseLength;
    var id = restOfNewBits | restOfBaseId;
    var overflow = newOverflow + baseOverflow;
    treeContextId = 1 << restOfLength | id;
    treeContextOverflow = overflow;
  } else {
    // Normal path
    var newBits = slot << baseLength;

    var _id = newBits | baseId;

    var _overflow = baseOverflow;
    treeContextId = 1 << length | _id;
    treeContextOverflow = _overflow;
  }
}
function pushMaterializedTreeId(workInProgress) {
  warnIfNotHydrating(); // This component materialized an id. This will affect any ids that appear
  // in its children.

  var returnFiber = workInProgress.return;

  if (returnFiber !== null) {
    var numberOfForks = 1;
    var slotIndex = 0;
    pushTreeFork(workInProgress, numberOfForks);
    pushTreeId(workInProgress, numberOfForks, slotIndex);
  }
}

function getBitLength(number) {
  return 32 - clz32(number);
}

function getLeadingBit(id) {
  return 1 << getBitLength(id) - 1;
}

function popTreeContext(workInProgress) {
  // Restore the previous values.
  // This is a bit more complicated than other context-like modules in Fiber
  // because the same Fiber may appear on the stack multiple times and for
  // different reasons. We have to keep popping until the work-in-progress is
  // no longer at the top of the stack.
  while (workInProgress === treeForkProvider) {
    treeForkProvider = forkStack[--forkStackIndex];
    forkStack[forkStackIndex] = null;
    treeForkCount = forkStack[--forkStackIndex];
    forkStack[forkStackIndex] = null;
  }

  while (workInProgress === treeContextProvider) {
    treeContextProvider = idStack[--idStackIndex];
    idStack[idStackIndex] = null;
    treeContextOverflow = idStack[--idStackIndex];
    idStack[idStackIndex] = null;
    treeContextId = idStack[--idStackIndex];
    idStack[idStackIndex] = null;
  }
}
function getSuspendedTreeContext() {
  warnIfNotHydrating();

  if (treeContextProvider !== null) {
    return {
      id: treeContextId,
      overflow: treeContextOverflow
    };
  } else {
    return null;
  }
}
function restoreSuspendedTreeContext(workInProgress, suspendedContext) {
  warnIfNotHydrating();
  idStack[idStackIndex++] = treeContextId;
  idStack[idStackIndex++] = treeContextOverflow;
  idStack[idStackIndex++] = treeContextProvider;
  treeContextId = suspendedContext.id;
  treeContextOverflow = suspendedContext.overflow;
  treeContextProvider = workInProgress;
}

function warnIfNotHydrating() {
  {
    if (!getIsHydrating()) {
      error('Expected to be hydrating. This is a bug in React. Please file ' + 'an issue.');
    }
  }
}

// This may have been an insertion or a hydration.

var hydrationParentFiber = null;
var nextHydratableInstance = null;
var isHydrating = false; // This flag allows for warning supression when we expect there to be mismatches
// due to earlier mismatches or a suspended fiber.

var didSuspendOrErrorDEV = false; // Hydration errors that were thrown inside this boundary

var hydrationErrors = null;

function warnIfHydrating() {
  {
    if (isHydrating) {
      error('We should not be hydrating here. This is a bug in React. Please file a bug.');
    }
  }
}

function markDidThrowWhileHydratingDEV() {
  {
    didSuspendOrErrorDEV = true;
  }
}
function didSuspendOrErrorWhileHydratingDEV() {
  {
    return didSuspendOrErrorDEV;
  }
}

function enterHydrationState(fiber) {

  var parentInstance = fiber.stateNode.containerInfo;
  nextHydratableInstance = getFirstHydratableChildWithinContainer(parentInstance);
  hydrationParentFiber = fiber;
  isHydrating = true;
  hydrationErrors = null;
  didSuspendOrErrorDEV = false;
  return true;
}

function reenterHydrationStateFromDehydratedSuspenseInstance(fiber, suspenseInstance, treeContext) {

  nextHydratableInstance = getFirstHydratableChildWithinSuspenseInstance(suspenseInstance);
  hydrationParentFiber = fiber;
  isHydrating = true;
  hydrationErrors = null;
  didSuspendOrErrorDEV = false;

  if (treeContext !== null) {
    restoreSuspendedTreeContext(fiber, treeContext);
  }

  return true;
}

function warnUnhydratedInstance(returnFiber, instance) {
  {
    switch (returnFiber.tag) {
      case HostRoot:
        {
          didNotHydrateInstanceWithinContainer(returnFiber.stateNode.containerInfo, instance);
          break;
        }

      case HostComponent:
        {
          var isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;
          didNotHydrateInstance(returnFiber.type, returnFiber.memoizedProps, returnFiber.stateNode, instance, // TODO: Delete this argument when we remove the legacy root API.
          isConcurrentMode);
          break;
        }

      case SuspenseComponent:
        {
          var suspenseState = returnFiber.memoizedState;
          if (suspenseState.dehydrated !== null) didNotHydrateInstanceWithinSuspenseInstance(suspenseState.dehydrated, instance);
          break;
        }
    }
  }
}

function deleteHydratableInstance(returnFiber, instance) {
  warnUnhydratedInstance(returnFiber, instance);
  var childToDelete = createFiberFromHostInstanceForDeletion();
  childToDelete.stateNode = instance;
  childToDelete.return = returnFiber;
  var deletions = returnFiber.deletions;

  if (deletions === null) {
    returnFiber.deletions = [childToDelete];
    returnFiber.flags |= ChildDeletion;
  } else {
    deletions.push(childToDelete);
  }
}

function warnNonhydratedInstance(returnFiber, fiber) {
  {
    if (didSuspendOrErrorDEV) {
      // Inside a boundary that already suspended. We're currently rendering the
      // siblings of a suspended node. The mismatch may be due to the missing
      // data, so it's probably a false positive.
      return;
    }

    switch (returnFiber.tag) {
      case HostRoot:
        {
          var parentContainer = returnFiber.stateNode.containerInfo;

          switch (fiber.tag) {
            case HostComponent:
              var type = fiber.type;
              var props = fiber.pendingProps;
              didNotFindHydratableInstanceWithinContainer(parentContainer, type);
              break;

            case HostText:
              var text = fiber.pendingProps;
              didNotFindHydratableTextInstanceWithinContainer(parentContainer, text);
              break;
          }

          break;
        }

      case HostComponent:
        {
          var parentType = returnFiber.type;
          var parentProps = returnFiber.memoizedProps;
          var parentInstance = returnFiber.stateNode;

          switch (fiber.tag) {
            case HostComponent:
              {
                var _type = fiber.type;
                var _props = fiber.pendingProps;
                var isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;
                didNotFindHydratableInstance(parentType, parentProps, parentInstance, _type, _props, // TODO: Delete this argument when we remove the legacy root API.
                isConcurrentMode);
                break;
              }

            case HostText:
              {
                var _text = fiber.pendingProps;

                var _isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;

                didNotFindHydratableTextInstance(parentType, parentProps, parentInstance, _text, // TODO: Delete this argument when we remove the legacy root API.
                _isConcurrentMode);
                break;
              }
          }

          break;
        }

      case SuspenseComponent:
        {
          var suspenseState = returnFiber.memoizedState;
          var _parentInstance = suspenseState.dehydrated;
          if (_parentInstance !== null) switch (fiber.tag) {
            case HostComponent:
              var _type2 = fiber.type;
              var _props2 = fiber.pendingProps;
              didNotFindHydratableInstanceWithinSuspenseInstance(_parentInstance, _type2);
              break;

            case HostText:
              var _text2 = fiber.pendingProps;
              didNotFindHydratableTextInstanceWithinSuspenseInstance(_parentInstance, _text2);
              break;
          }
          break;
        }

      default:
        return;
    }
  }
}

function insertNonHydratedInstance(returnFiber, fiber) {
  fiber.flags = fiber.flags & ~Hydrating | Placement;
  warnNonhydratedInstance(returnFiber, fiber);
}

function tryHydrate(fiber, nextInstance) {
  switch (fiber.tag) {
    case HostComponent:
      {
        var type = fiber.type;
        var props = fiber.pendingProps;
        var instance = canHydrateInstance(nextInstance, type);

        if (instance !== null) {
          fiber.stateNode = instance;
          hydrationParentFiber = fiber;
          nextHydratableInstance = getFirstHydratableChild(instance);
          return true;
        }

        return false;
      }

    case HostText:
      {
        var text = fiber.pendingProps;
        var textInstance = canHydrateTextInstance(nextInstance, text);

        if (textInstance !== null) {
          fiber.stateNode = textInstance;
          hydrationParentFiber = fiber; // Text Instances don't have children so there's nothing to hydrate.

          nextHydratableInstance = null;
          return true;
        }

        return false;
      }

    case SuspenseComponent:
      {
        var suspenseInstance = canHydrateSuspenseInstance(nextInstance);

        if (suspenseInstance !== null) {
          var suspenseState = {
            dehydrated: suspenseInstance,
            treeContext: getSuspendedTreeContext(),
            retryLane: OffscreenLane
          };
          fiber.memoizedState = suspenseState; // Store the dehydrated fragment as a child fiber.
          // This simplifies the code for getHostSibling and deleting nodes,
          // since it doesn't have to consider all Suspense boundaries and
          // check if they're dehydrated ones or not.

          var dehydratedFragment = createFiberFromDehydratedFragment(suspenseInstance);
          dehydratedFragment.return = fiber;
          fiber.child = dehydratedFragment;
          hydrationParentFiber = fiber; // While a Suspense Instance does have children, we won't step into
          // it during the first pass. Instead, we'll reenter it later.

          nextHydratableInstance = null;
          return true;
        }

        return false;
      }

    default:
      return false;
  }
}

function shouldClientRenderOnMismatch(fiber) {
  return (fiber.mode & ConcurrentMode) !== NoMode && (fiber.flags & DidCapture) === NoFlags;
}

function throwOnHydrationMismatch(fiber) {
  throw new Error('Hydration failed because the initial UI does not match what was ' + 'rendered on the server.');
}

function tryToClaimNextHydratableInstance(fiber) {
  if (!isHydrating) {
    return;
  }

  var nextInstance = nextHydratableInstance;

  if (!nextInstance) {
    if (shouldClientRenderOnMismatch(fiber)) {
      warnNonhydratedInstance(hydrationParentFiber, fiber);
      throwOnHydrationMismatch();
    } // Nothing to hydrate. Make it an insertion.


    insertNonHydratedInstance(hydrationParentFiber, fiber);
    isHydrating = false;
    hydrationParentFiber = fiber;
    return;
  }

  var firstAttemptedInstance = nextInstance;

  if (!tryHydrate(fiber, nextInstance)) {
    if (shouldClientRenderOnMismatch(fiber)) {
      warnNonhydratedInstance(hydrationParentFiber, fiber);
      throwOnHydrationMismatch();
    } // If we can't hydrate this instance let's try the next one.
    // We use this as a heuristic. It's based on intuition and not data so it
    // might be flawed or unnecessary.


    nextInstance = getNextHydratableSibling(firstAttemptedInstance);
    var prevHydrationParentFiber = hydrationParentFiber;

    if (!nextInstance || !tryHydrate(fiber, nextInstance)) {
      // Nothing to hydrate. Make it an insertion.
      insertNonHydratedInstance(hydrationParentFiber, fiber);
      isHydrating = false;
      hydrationParentFiber = fiber;
      return;
    } // We matched the next one, we'll now assume that the first one was
    // superfluous and we'll delete it. Since we can't eagerly delete it
    // we'll have to schedule a deletion. To do that, this node needs a dummy
    // fiber associated with it.


    deleteHydratableInstance(prevHydrationParentFiber, firstAttemptedInstance);
  }
}

function prepareToHydrateHostInstance(fiber, rootContainerInstance, hostContext) {

  var instance = fiber.stateNode;
  var shouldWarnIfMismatchDev = !didSuspendOrErrorDEV;
  var updatePayload = hydrateInstance(instance, fiber.type, fiber.memoizedProps, rootContainerInstance, hostContext, fiber, shouldWarnIfMismatchDev); // TODO: Type this specific to this type of component.

  fiber.updateQueue = updatePayload; // If the update payload indicates that there is a change or if there
  // is a new ref we mark this as an update.

  if (updatePayload !== null) {
    return true;
  }

  return false;
}

function prepareToHydrateHostTextInstance(fiber) {

  var textInstance = fiber.stateNode;
  var textContent = fiber.memoizedProps;
  var shouldUpdate = hydrateTextInstance(textInstance, textContent, fiber);

  if (shouldUpdate) {
    // We assume that prepareToHydrateHostTextInstance is called in a context where the
    // hydration parent is the parent host component of this host text.
    var returnFiber = hydrationParentFiber;

    if (returnFiber !== null) {
      switch (returnFiber.tag) {
        case HostRoot:
          {
            var parentContainer = returnFiber.stateNode.containerInfo;
            var isConcurrentMode = (returnFiber.mode & ConcurrentMode) !== NoMode;
            didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, textContent, // TODO: Delete this argument when we remove the legacy root API.
            isConcurrentMode);
            break;
          }

        case HostComponent:
          {
            var parentType = returnFiber.type;
            var parentProps = returnFiber.memoizedProps;
            var parentInstance = returnFiber.stateNode;

            var _isConcurrentMode2 = (returnFiber.mode & ConcurrentMode) !== NoMode;

            didNotMatchHydratedTextInstance(parentType, parentProps, parentInstance, textInstance, textContent, // TODO: Delete this argument when we remove the legacy root API.
            _isConcurrentMode2);
            break;
          }
      }
    }
  }

  return shouldUpdate;
}

function prepareToHydrateHostSuspenseInstance(fiber) {

  var suspenseState = fiber.memoizedState;
  var suspenseInstance = suspenseState !== null ? suspenseState.dehydrated : null;

  if (!suspenseInstance) {
    throw new Error('Expected to have a hydrated suspense instance. ' + 'This error is likely caused by a bug in React. Please file an issue.');
  }

  hydrateSuspenseInstance(suspenseInstance, fiber);
}

function skipPastDehydratedSuspenseInstance(fiber) {

  var suspenseState = fiber.memoizedState;
  var suspenseInstance = suspenseState !== null ? suspenseState.dehydrated : null;

  if (!suspenseInstance) {
    throw new Error('Expected to have a hydrated suspense instance. ' + 'This error is likely caused by a bug in React. Please file an issue.');
  }

  return getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance);
}

function popToNextHostParent(fiber) {
  var parent = fiber.return;

  while (parent !== null && parent.tag !== HostComponent && parent.tag !== HostRoot && parent.tag !== SuspenseComponent) {
    parent = parent.return;
  }

  hydrationParentFiber = parent;
}

function popHydrationState(fiber) {

  if (fiber !== hydrationParentFiber) {
    // We're deeper than the current hydration context, inside an inserted
    // tree.
    return false;
  }

  if (!isHydrating) {
    // If we're not currently hydrating but we're in a hydration context, then
    // we were an insertion and now need to pop up reenter hydration of our
    // siblings.
    popToNextHostParent(fiber);
    isHydrating = true;
    return false;
  } // If we have any remaining hydratable nodes, we need to delete them now.
  // We only do this deeper than head and body since they tend to have random
  // other nodes in them. We also ignore components with pure text content in
  // side of them. We also don't delete anything inside the root container.


  if (fiber.tag !== HostRoot && (fiber.tag !== HostComponent || shouldDeleteUnhydratedTailInstances(fiber.type) && !shouldSetTextContent(fiber.type, fiber.memoizedProps))) {
    var nextInstance = nextHydratableInstance;

    if (nextInstance) {
      if (shouldClientRenderOnMismatch(fiber)) {
        warnIfUnhydratedTailNodes(fiber);
        throwOnHydrationMismatch();
      } else {
        while (nextInstance) {
          deleteHydratableInstance(fiber, nextInstance);
          nextInstance = getNextHydratableSibling(nextInstance);
        }
      }
    }
  }

  popToNextHostParent(fiber);

  if (fiber.tag === SuspenseComponent) {
    nextHydratableInstance = skipPastDehydratedSuspenseInstance(fiber);
  } else {
    nextHydratableInstance = hydrationParentFiber ? getNextHydratableSibling(fiber.stateNode) : null;
  }

  return true;
}

function hasUnhydratedTailNodes() {
  return isHydrating && nextHydratableInstance !== null;
}

function warnIfUnhydratedTailNodes(fiber) {
  var nextInstance = nextHydratableInstance;

  while (nextInstance) {
    warnUnhydratedInstance(fiber, nextInstance);
    nextInstance = getNextHydratableSibling(nextInstance);
  }
}

function resetHydrationState() {

  hydrationParentFiber = null;
  nextHydratableInstance = null;
  isHydrating = false;
  didSuspendOrErrorDEV = false;
}

function upgradeHydrationErrorsToRecoverable() {
  if (hydrationErrors !== null) {
    // Successfully completed a forced client render. The errors that occurred
    // during the hydration attempt are now recovered. We will log them in
    // commit phase, once the entire tree has finished.
    queueRecoverableErrors(hydrationErrors);
    hydrationErrors = null;
  }
}

function getIsHydrating() {
  return isHydrating;
}

function queueHydrationError(error) {
  if (hydrationErrors === null) {
    hydrationErrors = [error];
  } else {
    hydrationErrors.push(error);
  }
}

var ReactCurrentBatchConfig$1 = ReactSharedInternals.ReactCurrentBatchConfig;
var NoTransition = null;
function requestCurrentTransition() {
  return ReactCurrentBatchConfig$1.transition;
}

var ReactStrictModeWarnings = {
  recordUnsafeLifecycleWarnings: function (fiber, instance) {},
  flushPendingUnsafeLifecycleWarnings: function () {},
  recordLegacyContextWarning: function (fiber, instance) {},
  flushLegacyContextWarning: function () {},
  discardPendingWarnings: function () {}
};

{
  var findStrictRoot = function (fiber) {
    var maybeStrictRoot = null;
    var node = fiber;

    while (node !== null) {
      if (node.mode & StrictLegacyMode) {
        maybeStrictRoot = node;
      }

      node = node.return;
    }

    return maybeStrictRoot;
  };

  var setToSortedString = function (set) {
    var array = [];
    set.forEach(function (value) {
      array.push(value);
    });
    return array.sort().join(', ');
  };

  var pendingComponentWillMountWarnings = [];
  var pendingUNSAFE_ComponentWillMountWarnings = [];
  var pendingComponentWillReceivePropsWarnings = [];
  var pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
  var pendingComponentWillUpdateWarnings = [];
  var pendingUNSAFE_ComponentWillUpdateWarnings = []; // Tracks components we have already warned about.

  var didWarnAboutUnsafeLifecycles = new Set();

  ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function (fiber, instance) {
    // Dedupe strategy: Warn once per component.
    if (didWarnAboutUnsafeLifecycles.has(fiber.type)) {
      return;
    }

    if (typeof instance.componentWillMount === 'function' && // Don't warn about react-lifecycles-compat polyfilled components.
    instance.componentWillMount.__suppressDeprecationWarning !== true) {
      pendingComponentWillMountWarnings.push(fiber);
    }

    if (fiber.mode & StrictLegacyMode && typeof instance.UNSAFE_componentWillMount === 'function') {
      pendingUNSAFE_ComponentWillMountWarnings.push(fiber);
    }

    if (typeof instance.componentWillReceiveProps === 'function' && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true) {
      pendingComponentWillReceivePropsWarnings.push(fiber);
    }

    if (fiber.mode & StrictLegacyMode && typeof instance.UNSAFE_componentWillReceiveProps === 'function') {
      pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber);
    }

    if (typeof instance.componentWillUpdate === 'function' && instance.componentWillUpdate.__suppressDeprecationWarning !== true) {
      pendingComponentWillUpdateWarnings.push(fiber);
    }

    if (fiber.mode & StrictLegacyMode && typeof instance.UNSAFE_componentWillUpdate === 'function') {
      pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber);
    }
  };

  ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings = function () {
    // We do an initial pass to gather component names
    var componentWillMountUniqueNames = new Set();

    if (pendingComponentWillMountWarnings.length > 0) {
      pendingComponentWillMountWarnings.forEach(function (fiber) {
        componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || 'Component');
        didWarnAboutUnsafeLifecycles.add(fiber.type);
      });
      pendingComponentWillMountWarnings = [];
    }

    var UNSAFE_componentWillMountUniqueNames = new Set();

    if (pendingUNSAFE_ComponentWillMountWarnings.length > 0) {
      pendingUNSAFE_ComponentWillMountWarnings.forEach(function (fiber) {
        UNSAFE_componentWillMountUniqueNames.add(getComponentNameFromFiber(fiber) || 'Component');
        didWarnAboutUnsafeLifecycles.add(fiber.type);
      });
      pendingUNSAFE_ComponentWillMountWarnings = [];
    }

    var componentWillReceivePropsUniqueNames = new Set();

    if (pendingComponentWillReceivePropsWarnings.length > 0) {
      pendingComponentWillReceivePropsWarnings.forEach(function (fiber) {
        componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || 'Component');
        didWarnAboutUnsafeLifecycles.add(fiber.type);
      });
      pendingComponentWillReceivePropsWarnings = [];
    }

    var UNSAFE_componentWillReceivePropsUniqueNames = new Set();

    if (pendingUNSAFE_ComponentWillReceivePropsWarnings.length > 0) {
      pendingUNSAFE_ComponentWillReceivePropsWarnings.forEach(function (fiber) {
        UNSAFE_componentWillReceivePropsUniqueNames.add(getComponentNameFromFiber(fiber) || 'Component');
        didWarnAboutUnsafeLifecycles.add(fiber.type);
      });
      pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
    }

    var componentWillUpdateUniqueNames = new Set();

    if (pendingComponentWillUpdateWarnings.length > 0) {
      pendingComponentWillUpdateWarnings.forEach(function (fiber) {
        componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || 'Component');
        didWarnAboutUnsafeLifecycles.add(fiber.type);
      });
      pendingComponentWillUpdateWarnings = [];
    }

    var UNSAFE_componentWillUpdateUniqueNames = new Set();

    if (pendingUNSAFE_ComponentWillUpdateWarnings.length > 0) {
      pendingUNSAFE_ComponentWillUpdateWarnings.forEach(function (fiber) {
        UNSAFE_componentWillUpdateUniqueNames.add(getComponentNameFromFiber(fiber) || 'Component');
        didWarnAboutUnsafeLifecycles.add(fiber.type);
      });
      pendingUNSAFE_ComponentWillUpdateWarnings = [];
    } // Finally, we flush all the warnings
    // UNSAFE_ ones before the deprecated ones, since they'll be 'louder'


    if (UNSAFE_componentWillMountUniqueNames.size > 0) {
      var sortedNames = setToSortedString(UNSAFE_componentWillMountUniqueNames);

      error('Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. ' + 'See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n' + '* Move code with side effects to componentDidMount, and set initial state in the constructor.\n' + '\nPlease update the following components: %s', sortedNames);
    }

    if (UNSAFE_componentWillReceivePropsUniqueNames.size > 0) {
      var _sortedNames = setToSortedString(UNSAFE_componentWillReceivePropsUniqueNames);

      error('Using UNSAFE_componentWillReceiveProps in strict mode is not recommended ' + 'and may indicate bugs in your code. ' + 'See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n' + '* Move data fetching code or side effects to componentDidUpdate.\n' + "* If you're updating state whenever props change, " + 'refactor your code to use memoization techniques or move it to ' + 'static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n' + '\nPlease update the following components: %s', _sortedNames);
    }

    if (UNSAFE_componentWillUpdateUniqueNames.size > 0) {
      var _sortedNames2 = setToSortedString(UNSAFE_componentWillUpdateUniqueNames);

      error('Using UNSAFE_componentWillUpdate in strict mode is not recommended ' + 'and may indicate bugs in your code. ' + 'See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n' + '* Move data fetching code or side effects to componentDidUpdate.\n' + '\nPlease update the following components: %s', _sortedNames2);
    }

    if (componentWillMountUniqueNames.size > 0) {
      var _sortedNames3 = setToSortedString(componentWillMountUniqueNames);

      warn('componentWillMount has been renamed, and is not recommended for use. ' + 'See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n' + '* Move code with side effects to componentDidMount, and set initial state in the constructor.\n' + '* Rename componentWillMount to UNSAFE_componentWillMount to suppress ' + 'this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. ' + 'To rename all deprecated lifecycles to their new names, you can run ' + '`npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n' + '\nPlease update the following components: %s', _sortedNames3);
    }

    if (componentWillReceivePropsUniqueNames.size > 0) {
      var _sortedNames4 = setToSortedString(componentWillReceivePropsUniqueNames);

      warn('componentWillReceiveProps has been renamed, and is not recommended for use. ' + 'See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n' + '* Move data fetching code or side effects to componentDidUpdate.\n' + "* If you're updating state whenever props change, refactor your " + 'code to use memoization techniques or move it to ' + 'static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n' + '* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress ' + 'this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. ' + 'To rename all deprecated lifecycles to their new names, you can run ' + '`npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n' + '\nPlease update the following components: %s', _sortedNames4);
    }

    if (componentWillUpdateUniqueNames.size > 0) {
      var _sortedNames5 = setToSortedString(componentWillUpdateUniqueNames);

      warn('componentWillUpdate has been renamed, and is not recommended for use. ' + 'See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n' + '* Move data fetching code or side effects to componentDidUpdate.\n' + '* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress ' + 'this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. ' + 'To rename all deprecated lifecycles to their new names, you can run ' + '`npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n' + '\nPlease update the following components: %s', _sortedNames5);
    }
  };

  var pendingLegacyContextWarning = new Map(); // Tracks components we have already warned about.

  var didWarnAboutLegacyContext = new Set();

  ReactStrictModeWarnings.recordLegacyContextWarning = function (fiber, instance) {
    var strictRoot = findStrictRoot(fiber);

    if (strictRoot === null) {
      error('Expected to find a StrictMode component in a strict mode tree. ' + 'This error is likely caused by a bug in React. Please file an issue.');

      return;
    } // Dedup strategy: Warn once per component.


    if (didWarnAboutLegacyContext.has(fiber.type)) {
      return;
    }

    var warningsForRoot = pendingLegacyContextWarning.get(strictRoot);

    if (fiber.type.contextTypes != null || fiber.type.childContextTypes != null || instance !== null && typeof instance.getChildContext === 'function') {
      if (warningsForRoot === undefined) {
        warningsForRoot = [];
        pendingLegacyContextWarning.set(strictRoot, warningsForRoot);
      }

      warningsForRoot.push(fiber);
    }
  };

  ReactStrictModeWarnings.flushLegacyContextWarning = function () {
    pendingLegacyContextWarning.forEach(function (fiberArray, strictRoot) {
      if (fiberArray.length === 0) {
        return;
      }

      var firstFiber = fiberArray[0];
      var uniqueNames = new Set();
      fiberArray.forEach(function (fiber) {
        uniqueNames.add(getComponentNameFromFiber(fiber) || 'Component');
        didWarnAboutLegacyContext.add(fiber.type);
      });
      var sortedNames = setToSortedString(uniqueNames);

      try {
        setCurrentFiber(firstFiber);

        error('Legacy context API has been detected within a strict-mode tree.' + '\n\nThe old API will be supported in all 16.x releases, but applications ' + 'using it should migrate to the new version.' + '\n\nPlease update the following components: %s' + '\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context', sortedNames);
      } finally {
        resetCurrentFiber();
      }
    });
  };

  ReactStrictModeWarnings.discardPendingWarnings = function () {
    pendingComponentWillMountWarnings = [];
    pendingUNSAFE_ComponentWillMountWarnings = [];
    pendingComponentWillReceivePropsWarnings = [];
    pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
    pendingComponentWillUpdateWarnings = [];
    pendingUNSAFE_ComponentWillUpdateWarnings = [];
    pendingLegacyContextWarning = new Map();
  };
}

var didWarnAboutMaps;
var didWarnAboutGenerators;
var didWarnAboutStringRefs;
var ownerHasKeyUseWarning;
var ownerHasFunctionTypeWarning;

var warnForMissingKey = function (child, returnFiber) {};

{
  didWarnAboutMaps = false;
  didWarnAboutGenerators = false;
  didWarnAboutStringRefs = {};
  /**
   * Warn if there's no key explicitly set on dynamic arrays of children or
   * object keys are not valid. This allows us to keep track of children between
   * updates.
   */

  ownerHasKeyUseWarning = {};
  ownerHasFunctionTypeWarning = {};

  warnForMissingKey = function (child, returnFiber) {
    if (child === null || typeof child !== 'object') {
      return;
    }

    if (!child._store || child._store.validated || child.key != null) {
      return;
    }

    if (typeof child._store !== 'object') {
      throw new Error('React Component in warnForMissingKey should have a _store. ' + 'This error is likely caused by a bug in React. Please file an issue.');
    }

    child._store.validated = true;
    var componentName = getComponentNameFromFiber(returnFiber) || 'Component';

    if (ownerHasKeyUseWarning[componentName]) {
      return;
    }

    ownerHasKeyUseWarning[componentName] = true;

    error('Each child in a list should have a unique ' + '"key" prop. See https://reactjs.org/link/warning-keys for ' + 'more information.');
  };
}

function isReactClass(type) {
  return type.prototype && type.prototype.isReactComponent;
}

function coerceRef(returnFiber, current, element) {
  var mixedRef = element.ref;

  if (mixedRef !== null && typeof mixedRef !== 'function' && typeof mixedRef !== 'object') {
    {
      // TODO: Clean this up once we turn on the string ref warning for
      // everyone, because the strict mode case will no longer be relevant
      if ((returnFiber.mode & StrictLegacyMode || warnAboutStringRefs) && // We warn in ReactElement.js if owner and self are equal for string refs
      // because these cannot be automatically converted to an arrow function
      // using a codemod. Therefore, we don't have to warn about string refs again.
      !(element._owner && element._self && element._owner.stateNode !== element._self) && // Will already throw with "Function components cannot have string refs"
      !(element._owner && element._owner.tag !== ClassComponent) && // Will already warn with "Function components cannot be given refs"
      !(typeof element.type === 'function' && !isReactClass(element.type)) && // Will already throw with "Element ref was specified as a string (someStringRef) but no owner was set"
      element._owner) {
        var componentName = getComponentNameFromFiber(returnFiber) || 'Component';

        if (!didWarnAboutStringRefs[componentName]) {
          {
            error('Component "%s" contains the string ref "%s". Support for string refs ' + 'will be removed in a future major release. We recommend using ' + 'useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', componentName, mixedRef);
          }

          didWarnAboutStringRefs[componentName] = true;
        }
      }
    }

    if (element._owner) {
      var owner = element._owner;
      var inst;

      if (owner) {
        var ownerFiber = owner;

        if (ownerFiber.tag !== ClassComponent) {
          throw new Error('Function components cannot have string refs. ' + 'We recommend using useRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref');
        }

        inst = ownerFiber.stateNode;
      }

      if (!inst) {
        throw new Error("Missing owner for string ref " + mixedRef + ". This error is likely caused by a " + 'bug in React. Please file an issue.');
      } // Assigning this to a const so Flow knows it won't change in the closure


      var resolvedInst = inst;

      {
        checkPropStringCoercion(mixedRef, 'ref');
      }

      var stringRef = '' + mixedRef; // Check if previous string ref matches new string ref

      if (current !== null && current.ref !== null && typeof current.ref === 'function' && current.ref._stringRef === stringRef) {
        return current.ref;
      }

      var ref = function (value) {
        var refs = resolvedInst.refs;

        if (value === null) {
          delete refs[stringRef];
        } else {
          refs[stringRef] = value;
        }
      };

      ref._stringRef = stringRef;
      return ref;
    } else {
      if (typeof mixedRef !== 'string') {
        throw new Error('Expected ref to be a function, a string, an object returned by React.createRef(), or null.');
      }

      if (!element._owner) {
        throw new Error("Element ref was specified as a string (" + mixedRef + ") but no owner was set. This could happen for one of" + ' the following reasons:\n' + '1. You may be adding a ref to a function component\n' + "2. You may be adding a ref to a component that was not created inside a component's render method\n" + '3. You have multiple copies of React loaded\n' + 'See https://reactjs.org/link/refs-must-have-owner for more information.');
      }
    }
  }

  return mixedRef;
}

function throwOnInvalidObjectType(returnFiber, newChild) {
  var childString = Object.prototype.toString.call(newChild);
  throw new Error("Objects are not valid as a React child (found: " + (childString === '[object Object]' ? 'object with keys {' + Object.keys(newChild).join(', ') + '}' : childString) + "). " + 'If you meant to render a collection of children, use an array ' + 'instead.');
}

function warnOnFunctionType(returnFiber) {
  {
    var componentName = getComponentNameFromFiber(returnFiber) || 'Component';

    if (ownerHasFunctionTypeWarning[componentName]) {
      return;
    }

    ownerHasFunctionTypeWarning[componentName] = true;

    error('Functions are not valid as a React child. This may happen if ' + 'you return a Component instead of <Component /> from render. ' + 'Or maybe you meant to call this function rather than return it.');
  }
}

function resolveLazy(lazyType) {
  var payload = lazyType._payload;
  var init = lazyType._init;
  return init(payload);
} // This wrapper function exists because I expect to clone the code in each path
// to be able to optimize each path individually by branching early. This needs
// a compiler or we can do it manually. Helpers that don't need this branching
// live outside of this function.


function ChildReconciler(shouldTrackSideEffects) {
  function deleteChild(returnFiber, childToDelete) {
    if (!shouldTrackSideEffects) {
      // Noop.
      return;
    }

    var deletions = returnFiber.deletions;

    if (deletions === null) {
      returnFiber.deletions = [childToDelete];
      returnFiber.flags |= ChildDeletion;
    } else {
      deletions.push(childToDelete);
    }
  }

  function deleteRemainingChildren(returnFiber, currentFirstChild) {
    if (!shouldTrackSideEffects) {
      // Noop.
      return null;
    } // TODO: For the shouldClone case, this could be micro-optimized a bit by
    // assuming that after the first child we've already added everything.


    var childToDelete = currentFirstChild;

    while (childToDelete !== null) {
      deleteChild(returnFiber, childToDelete);
      childToDelete = childToDelete.sibling;
    }

    return null;
  }

  function mapRemainingChildren(returnFiber, currentFirstChild) {
    // Add the remaining children to a temporary map so that we can find them by
    // keys quickly. Implicit (null) keys get added to this set with their index
    // instead.
    var existingChildren = new Map();
    var existingChild = currentFirstChild;

    while (existingChild !== null) {
      if (existingChild.key !== null) {
        existingChildren.set(existingChild.key, existingChild);
      } else {
        existingChildren.set(existingChild.index, existingChild);
      }

      existingChild = existingChild.sibling;
    }

    return existingChildren;
  }

  function useFiber(fiber, pendingProps) {
    // We currently set sibling to null and index to 0 here because it is easy
    // to forget to do before returning it. E.g. for the single child case.
    var clone = createWorkInProgress(fiber, pendingProps);
    clone.index = 0;
    clone.sibling = null;
    return clone;
  }

  function placeChild(newFiber, lastPlacedIndex, newIndex) {
    newFiber.index = newIndex;

    if (!shouldTrackSideEffects) {
      // During hydration, the useId algorithm needs to know which fibers are
      // part of a list of children (arrays, iterators).
      newFiber.flags |= Forked;
      return lastPlacedIndex;
    }

    var current = newFiber.alternate;

    if (current !== null) {
      var oldIndex = current.index;

      if (oldIndex < lastPlacedIndex) {
        // This is a move.
        newFiber.flags |= Placement;
        return lastPlacedIndex;
      } else {
        // This item can stay in place.
        return oldIndex;
      }
    } else {
      // This is an insertion.
      newFiber.flags |= Placement;
      return lastPlacedIndex;
    }
  }

  function placeSingleChild(newFiber) {
    // This is simpler for the single child case. We only need to do a
    // placement for inserting new children.
    if (shouldTrackSideEffects && newFiber.alternate === null) {
      newFiber.flags |= Placement;
    }

    return newFiber;
  }

  function updateTextNode(returnFiber, current, textContent, lanes) {
    if (current === null || current.tag !== HostText) {
      // Insert
      var created = createFiberFromText(textContent, returnFiber.mode, lanes);
      created.return = returnFiber;
      return created;
    } else {
      // Update
      var existing = useFiber(current, textContent);
      existing.return = returnFiber;
      return existing;
    }
  }

  function updateElement(returnFiber, current, element, lanes) {
    var elementType = element.type;

    if (elementType === REACT_FRAGMENT_TYPE) {
      return updateFragment(returnFiber, current, element.props.children, lanes, element.key);
    }

    if (current !== null) {
      if (current.elementType === elementType || ( // Keep this check inline so it only runs on the false path:
       isCompatibleFamilyForHotReloading(current, element) ) || // Lazy types should reconcile their resolved type.
      // We need to do this after the Hot Reloading check above,
      // because hot reloading has different semantics than prod because
      // it doesn't resuspend. So we can't let the call below suspend.
      typeof elementType === 'object' && elementType !== null && elementType.$$typeof === REACT_LAZY_TYPE && resolveLazy(elementType) === current.type) {
        // Move based on index
        var existing = useFiber(current, element.props);
        existing.ref = coerceRef(returnFiber, current, element);
        existing.return = returnFiber;

        {
          existing._debugSource = element._source;
          existing._debugOwner = element._owner;
        }

        return existing;
      }
    } // Insert


    var created = createFiberFromElement(element, returnFiber.mode, lanes);
    created.ref = coerceRef(returnFiber, current, element);
    created.return = returnFiber;
    return created;
  }

  function updatePortal(returnFiber, current, portal, lanes) {
    if (current === null || current.tag !== HostPortal || current.stateNode.containerInfo !== portal.containerInfo || current.stateNode.implementation !== portal.implementation) {
      // Insert
      var created = createFiberFromPortal(portal, returnFiber.mode, lanes);
      created.return = returnFiber;
      return created;
    } else {
      // Update
      var existing = useFiber(current, portal.children || []);
      existing.return = returnFiber;
      return existing;
    }
  }

  function updateFragment(returnFiber, current, fragment, lanes, key) {
    if (current === null || current.tag !== Fragment) {
      // Insert
      var created = createFiberFromFragment(fragment, returnFiber.mode, lanes, key);
      created.return = returnFiber;
      return created;
    } else {
      // Update
      var existing = useFiber(current, fragment);
      existing.return = returnFiber;
      return existing;
    }
  }

  function createChild(returnFiber, newChild, lanes) {
    if (typeof newChild === 'string' && newChild !== '' || typeof newChild === 'number') {
      // Text nodes don't have keys. If the previous node is implicitly keyed
      // we can continue to replace it without aborting even if it is not a text
      // node.
      var created = createFiberFromText('' + newChild, returnFiber.mode, lanes);
      created.return = returnFiber;
      return created;
    }

    if (typeof newChild === 'object' && newChild !== null) {
      switch (newChild.$$typeof) {
        case REACT_ELEMENT_TYPE:
          {
            var _created = createFiberFromElement(newChild, returnFiber.mode, lanes);

            _created.ref = coerceRef(returnFiber, null, newChild);
            _created.return = returnFiber;
            return _created;
          }

        case REACT_PORTAL_TYPE:
          {
            var _created2 = createFiberFromPortal(newChild, returnFiber.mode, lanes);

            _created2.return = returnFiber;
            return _created2;
          }

        case REACT_LAZY_TYPE:
          {
            var payload = newChild._payload;
            var init = newChild._init;
            return createChild(returnFiber, init(payload), lanes);
          }
      }

      if (isArray(newChild) || getIteratorFn(newChild)) {
        var _created3 = createFiberFromFragment(newChild, returnFiber.mode, lanes, null);

        _created3.return = returnFiber;
        return _created3;
      }

      throwOnInvalidObjectType(returnFiber, newChild);
    }

    {
      if (typeof newChild === 'function') {
        warnOnFunctionType(returnFiber);
      }
    }

    return null;
  }

  function updateSlot(returnFiber, oldFiber, newChild, lanes) {
    // Update the fiber if the keys match, otherwise return null.
    var key = oldFiber !== null ? oldFiber.key : null;

    if (typeof newChild === 'string' && newChild !== '' || typeof newChild === 'number') {
      // Text nodes don't have keys. If the previous node is implicitly keyed
      // we can continue to replace it without aborting even if it is not a text
      // node.
      if (key !== null) {
        return null;
      }

      return updateTextNode(returnFiber, oldFiber, '' + newChild, lanes);
    }

    if (typeof newChild === 'object' && newChild !== null) {
      switch (newChild.$$typeof) {
        case REACT_ELEMENT_TYPE:
          {
            if (newChild.key === key) {
              return updateElement(returnFiber, oldFiber, newChild, lanes);
            } else {
              return null;
            }
          }

        case REACT_PORTAL_TYPE:
          {
            if (newChild.key === key) {
              return updatePortal(returnFiber, oldFiber, newChild, lanes);
            } else {
              return null;
            }
          }

        case REACT_LAZY_TYPE:
          {
            var payload = newChild._payload;
            var init = newChild._init;
            return updateSlot(returnFiber, oldFiber, init(payload), lanes);
          }
      }

      if (isArray(newChild) || getIteratorFn(newChild)) {
        if (key !== null) {
          return null;
        }

        return updateFragment(returnFiber, oldFiber, newChild, lanes, null);
      }

      throwOnInvalidObjectType(returnFiber, newChild);
    }

    {
      if (typeof newChild === 'function') {
        warnOnFunctionType(returnFiber);
      }
    }

    return null;
  }

  function updateFromMap(existingChildren, returnFiber, newIdx, newChild, lanes) {
    if (typeof newChild === 'string' && newChild !== '' || typeof newChild === 'number') {
      // Text nodes don't have keys, so we neither have to check the old nor
      // new node for the key. If both are text nodes, they match.
      var matchedFiber = existingChildren.get(newIdx) || null;
      return updateTextNode(returnFiber, matchedFiber, '' + newChild, lanes);
    }

    if (typeof newChild === 'object' && newChild !== null) {
      switch (newChild.$$typeof) {
        case REACT_ELEMENT_TYPE:
          {
            var _matchedFiber = existingChildren.get(newChild.key === null ? newIdx : newChild.key) || null;

            return updateElement(returnFiber, _matchedFiber, newChild, lanes);
          }

        case REACT_PORTAL_TYPE:
          {
            var _matchedFiber2 = existingChildren.get(newChild.key === null ? newIdx : newChild.key) || null;

            return updatePortal(returnFiber, _matchedFiber2, newChild, lanes);
          }

        case REACT_LAZY_TYPE:
          var payload = newChild._payload;
          var init = newChild._init;
          return updateFromMap(existingChildren, returnFiber, newIdx, init(payload), lanes);
      }

      if (isArray(newChild) || getIteratorFn(newChild)) {
        var _matchedFiber3 = existingChildren.get(newIdx) || null;

        return updateFragment(returnFiber, _matchedFiber3, newChild, lanes, null);
      }

      throwOnInvalidObjectType(returnFiber, newChild);
    }

    {
      if (typeof newChild === 'function') {
        warnOnFunctionType(returnFiber);
      }
    }

    return null;
  }
  /**
   * Warns if there is a duplicate or missing key
   */


  function warnOnInvalidKey(child, knownKeys, returnFiber) {
    {
      if (typeof child !== 'object' || child === null) {
        return knownKeys;
      }

      switch (child.$$typeof) {
        case REACT_ELEMENT_TYPE:
        case REACT_PORTAL_TYPE:
          warnForMissingKey(child, returnFiber);
          var key = child.key;

          if (typeof key !== 'string') {
            break;
          }

          if (knownKeys === null) {
            knownKeys = new Set();
            knownKeys.add(key);
            break;
          }

          if (!knownKeys.has(key)) {
            knownKeys.add(key);
            break;
          }

          error('Encountered two children with the same key, `%s`. ' + 'Keys should be unique so that components maintain their identity ' + 'across updates. Non-unique keys may cause children to be ' + 'duplicated and/or omitted — the behavior is unsupported and ' + 'could change in a future version.', key);

          break;

        case REACT_LAZY_TYPE:
          var payload = child._payload;
          var init = child._init;
          warnOnInvalidKey(init(payload), knownKeys, returnFiber);
          break;
      }
    }

    return knownKeys;
  }

  function reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, lanes) {
    // This algorithm can't optimize by searching from both ends since we
    // don't have backpointers on fibers. I'm trying to see how far we can get
    // with that model. If it ends up not being worth the tradeoffs, we can
    // add it later.
    // Even with a two ended optimization, we'd want to optimize for the case
    // where there are few changes and brute force the comparison instead of
    // going for the Map. It'd like to explore hitting that path first in
    // forward-only mode and only go for the Map once we notice that we need
    // lots of look ahead. This doesn't handle reversal as well as two ended
    // search but that's unusual. Besides, for the two ended optimization to
    // work on Iterables, we'd need to copy the whole set.
    // In this first iteration, we'll just live with hitting the bad case
    // (adding everything to a Map) in for every insert/move.
    // If you change this code, also update reconcileChildrenIterator() which
    // uses the same algorithm.
    {
      // First, validate keys.
      var knownKeys = null;

      for (var i = 0; i < newChildren.length; i++) {
        var child = newChildren[i];
        knownKeys = warnOnInvalidKey(child, knownKeys, returnFiber);
      }
    }

    var resultingFirstChild = null;
    var previousNewFiber = null;
    var oldFiber = currentFirstChild;
    var lastPlacedIndex = 0;
    var newIdx = 0;
    var nextOldFiber = null;

    for (; oldFiber !== null && newIdx < newChildren.length; newIdx++) {
      if (oldFiber.index > newIdx) {
        nextOldFiber = oldFiber;
        oldFiber = null;
      } else {
        nextOldFiber = oldFiber.sibling;
      }

      var newFiber = updateSlot(returnFiber, oldFiber, newChildren[newIdx], lanes);

      if (newFiber === null) {
        // TODO: This breaks on empty slots like null children. That's
        // unfortunate because it triggers the slow path all the time. We need
        // a better way to communicate whether this was a miss or null,
        // boolean, undefined, etc.
        if (oldFiber === null) {
          oldFiber = nextOldFiber;
        }

        break;
      }

      if (shouldTrackSideEffects) {
        if (oldFiber && newFiber.alternate === null) {
          // We matched the slot, but we didn't reuse the existing fiber, so we
          // need to delete the existing child.
          deleteChild(returnFiber, oldFiber);
        }
      }

      lastPlacedIndex = placeChild(newFiber, lastPlacedIndex, newIdx);

      if (previousNewFiber === null) {
        // TODO: Move out of the loop. This only happens for the first run.
        resultingFirstChild = newFiber;
      } else {
        // TODO: Defer siblings if we're not at the right index for this slot.
        // I.e. if we had null values before, then we want to defer this
        // for each null value. However, we also don't want to call updateSlot
        // with the previous one.
        previousNewFiber.sibling = newFiber;
      }

      previousNewFiber = newFiber;
      oldFiber = nextOldFiber;
    }

    if (newIdx === newChildren.length) {
      // We've reached the end of the new children. We can delete the rest.
      deleteRemainingChildren(returnFiber, oldFiber);

      if (getIsHydrating()) {
        var numberOfForks = newIdx;
        pushTreeFork(returnFiber, numberOfForks);
      }

      return resultingFirstChild;
    }

    if (oldFiber === null) {
      // If we don't have any more existing children we can choose a fast path
      // since the rest will all be insertions.
      for (; newIdx < newChildren.length; newIdx++) {
        var _newFiber = createChild(returnFiber, newChildren[newIdx], lanes);

        if (_newFiber === null) {
          continue;
        }

        lastPlacedIndex = placeChild(_newFiber, lastPlacedIndex, newIdx);

        if (previousNewFiber === null) {
          // TODO: Move out of the loop. This only happens for the first run.
          resultingFirstChild = _newFiber;
        } else {
          previousNewFiber.sibling = _newFiber;
        }

        previousNewFiber = _newFiber;
      }

      if (getIsHydrating()) {
        var _numberOfForks = newIdx;
        pushTreeFork(returnFiber, _numberOfForks);
      }

      return resultingFirstChild;
    } // Add all children to a key map for quick lookups.


    var existingChildren = mapRemainingChildren(returnFiber, oldFiber); // Keep scanning and use the map to restore deleted items as moves.

    for (; newIdx < newChildren.length; newIdx++) {
      var _newFiber2 = updateFromMap(existingChildren, returnFiber, newIdx, newChildren[newIdx], lanes);

      if (_newFiber2 !== null) {
        if (shouldTrackSideEffects) {
          if (_newFiber2.alternate !== null) {
            // The new fiber is a work in progress, but if there exists a
            // current, that means that we reused the fiber. We need to delete
            // it from the child list so that we don't add it to the deletion
            // list.
            existingChildren.delete(_newFiber2.key === null ? newIdx : _newFiber2.key);
          }
        }

        lastPlacedIndex = placeChild(_newFiber2, lastPlacedIndex, newIdx);

        if (previousNewFiber === null) {
          resultingFirstChild = _newFiber2;
        } else {
          previousNewFiber.sibling = _newFiber2;
        }

        previousNewFiber = _newFiber2;
      }
    }

    if (shouldTrackSideEffects) {
      // Any existing children that weren't consumed above were deleted. We need
      // to add them to the deletion list.
      existingChildren.forEach(function (child) {
        return deleteChild(returnFiber, child);
      });
    }

    if (getIsHydrating()) {
      var _numberOfForks2 = newIdx;
      pushTreeFork(returnFiber, _numberOfForks2);
    }

    return resultingFirstChild;
  }

  function reconcileChildrenIterator(returnFiber, currentFirstChild, newChildrenIterable, lanes) {
    // This is the same implementation as reconcileChildrenArray(),
    // but using the iterator instead.
    var iteratorFn = getIteratorFn(newChildrenIterable);

    if (typeof iteratorFn !== 'function') {
      throw new Error('An object is not an iterable. This error is likely caused by a bug in ' + 'React. Please file an issue.');
    }

    {
      // We don't support rendering Generators because it's a mutation.
      // See https://github.com/facebook/react/issues/12995
      if (typeof Symbol === 'function' && // $FlowFixMe Flow doesn't know about toStringTag
      newChildrenIterable[Symbol.toStringTag] === 'Generator') {
        if (!didWarnAboutGenerators) {
          error('Using Generators as children is unsupported and will likely yield ' + 'unexpected results because enumerating a generator mutates it. ' + 'You may convert it to an array with `Array.from()` or the ' + '`[...spread]` operator before rendering. Keep in mind ' + 'you might need to polyfill these features for older browsers.');
        }

        didWarnAboutGenerators = true;
      } // Warn about using Maps as children


      if (newChildrenIterable.entries === iteratorFn) {
        if (!didWarnAboutMaps) {
          error('Using Maps as children is not supported. ' + 'Use an array of keyed ReactElements instead.');
        }

        didWarnAboutMaps = true;
      } // First, validate keys.
      // We'll get a different iterator later for the main pass.


      var _newChildren = iteratorFn.call(newChildrenIterable);

      if (_newChildren) {
        var knownKeys = null;

        var _step = _newChildren.next();

        for (; !_step.done; _step = _newChildren.next()) {
          var child = _step.value;
          knownKeys = warnOnInvalidKey(child, knownKeys, returnFiber);
        }
      }
    }

    var newChildren = iteratorFn.call(newChildrenIterable);

    if (newChildren == null) {
      throw new Error('An iterable object provided no iterator.');
    }

    var resultingFirstChild = null;
    var previousNewFiber = null;
    var oldFiber = currentFirstChild;
    var lastPlacedIndex = 0;
    var newIdx = 0;
    var nextOldFiber = null;
    var step = newChildren.next();

    for (; oldFiber !== null && !step.done; newIdx++, step = newChildren.next()) {
      if (oldFiber.index > newIdx) {
        nextOldFiber = oldFiber;
        oldFiber = null;
      } else {
        nextOldFiber = oldFiber.sibling;
      }

      var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);

      if (newFiber === null) {
        // TODO: This breaks on empty slots like null children. That's
        // unfortunate because it triggers the slow path all the time. We need
        // a better way to communicate whether this was a miss or null,
        // boolean, undefined, etc.
        if (oldFiber === null) {
          oldFiber = nextOldFiber;
        }

        break;
      }

      if (shouldTrackSideEffects) {
        if (oldFiber && newFiber.alternate === null) {
          // We matched the slot, but we didn't reuse the existing fiber, so we
          // need to delete the existing child.
          deleteChild(returnFiber, oldFiber);
        }
      }

      lastPlacedIndex = placeChild(newFiber, lastPlacedIndex, newIdx);

      if (previousNewFiber === null) {
        // TODO: Move out of the loop. This only happens for the first run.
        resultingFirstChild = newFiber;
      } else {
        // TODO: Defer siblings if we're not at the right index for this slot.
        // I.e. if we had null values before, then we want to defer this
        // for each null value. However, we also don't want to call updateSlot
        // with the previous one.
        previousNewFiber.sibling = newFiber;
      }

      previousNewFiber = newFiber;
      oldFiber = nextOldFiber;
    }

    if (step.done) {
      // We've reached the end of the new children. We can delete the rest.
      deleteRemainingChildren(returnFiber, oldFiber);

      if (getIsHydrating()) {
        var numberOfForks = newIdx;
        pushTreeFork(returnFiber, numberOfForks);
      }

      return resultingFirstChild;
    }

    if (oldFiber === null) {
      // If we don't have any more existing children we can choose a fast path
      // since the rest will all be insertions.
      for (; !step.done; newIdx++, step = newChildren.next()) {
        var _newFiber3 = createChild(returnFiber, step.value, lanes);

        if (_newFiber3 === null) {
          continue;
        }

        lastPlacedIndex = placeChild(_newFiber3, lastPlacedIndex, newIdx);

        if (previousNewFiber === null) {
          // TODO: Move out of the loop. This only happens for the first run.
          resultingFirstChild = _newFiber3;
        } else {
          previousNewFiber.sibling = _newFiber3;
        }

        previousNewFiber = _newFiber3;
      }

      if (getIsHydrating()) {
        var _numberOfForks3 = newIdx;
        pushTreeFork(returnFiber, _numberOfForks3);
      }

      return resultingFirstChild;
    } // Add all children to a key map for quick lookups.


    var existingChildren = mapRemainingChildren(returnFiber, oldFiber); // Keep scanning and use the map to restore deleted items as moves.

    for (; !step.done; newIdx++, step = newChildren.next()) {
      var _newFiber4 = updateFromMap(existingChildren, returnFiber, newIdx, step.value, lanes);

      if (_newFiber4 !== null) {
        if (shouldTrackSideEffects) {
          if (_newFiber4.alternate !== null) {
            // The new fiber is a work in progress, but if there exists a
            // current, that means that we reused the fiber. We need to delete
            // it from the child list so that we don't add it to the deletion
            // list.
            existingChildren.delete(_newFiber4.key === null ? newIdx : _newFiber4.key);
          }
        }

        lastPlacedIndex = placeChild(_newFiber4, lastPlacedIndex, newIdx);

        if (previousNewFiber === null) {
          resultingFirstChild = _newFiber4;
        } else {
          previousNewFiber.sibling = _newFiber4;
        }

        previousNewFiber = _newFiber4;
      }
    }

    if (shouldTrackSideEffects) {
      // Any existing children that weren't consumed above were deleted. We need
      // to add them to the deletion list.
      existingChildren.forEach(function (child) {
        return deleteChild(returnFiber, child);
      });
    }

    if (getIsHydrating()) {
      var _numberOfForks4 = newIdx;
      pushTreeFork(returnFiber, _numberOfForks4);
    }

    return resultingFirstChild;
  }

  function reconcileSingleTextNode(returnFiber, currentFirstChild, textContent, lanes) {
    // There's no need to check for keys on text nodes since we don't have a
    // way to define them.
    if (currentFirstChild !== null && currentFirstChild.tag === HostText) {
      // We already have an existing node so let's just update it and delete
      // the rest.
      deleteRemainingChildren(returnFiber, currentFirstChild.sibling);
      var existing = useFiber(currentFirstChild, textContent);
      existing.return = returnFiber;
      return existing;
    } // The existing first child is not a text node so we need to create one
    // and delete the existing ones.


    deleteRemainingChildren(returnFiber, currentFirstChild);
    var created = createFiberFromText(textContent, returnFiber.mode, lanes);
    created.return = returnFiber;
    return created;
  }

  function reconcileSingleElement(returnFiber, currentFirstChild, element, lanes) {
    var key = element.key;
    var child = currentFirstChild;

    while (child !== null) {
      // TODO: If key === null and child.key === null, then this only applies to
      // the first item in the list.
      if (child.key === key) {
        var elementType = element.type;

        if (elementType === REACT_FRAGMENT_TYPE) {
          if (child.tag === Fragment) {
            deleteRemainingChildren(returnFiber, child.sibling);
            var existing = useFiber(child, element.props.children);
            existing.return = returnFiber;

            {
              existing._debugSource = element._source;
              existing._debugOwner = element._owner;
            }

            return existing;
          }
        } else {
          if (child.elementType === elementType || ( // Keep this check inline so it only runs on the false path:
           isCompatibleFamilyForHotReloading(child, element) ) || // Lazy types should reconcile their resolved type.
          // We need to do this after the Hot Reloading check above,
          // because hot reloading has different semantics than prod because
          // it doesn't resuspend. So we can't let the call below suspend.
          typeof elementType === 'object' && elementType !== null && elementType.$$typeof === REACT_LAZY_TYPE && resolveLazy(elementType) === child.type) {
            deleteRemainingChildren(returnFiber, child.sibling);

            var _existing = useFiber(child, element.props);

            _existing.ref = coerceRef(returnFiber, child, element);
            _existing.return = returnFiber;

            {
              _existing._debugSource = element._source;
              _existing._debugOwner = element._owner;
            }

            return _existing;
          }
        } // Didn't match.


        deleteRemainingChildren(returnFiber, child);
        break;
      } else {
        deleteChild(returnFiber, child);
      }

      child = child.sibling;
    }

    if (element.type === REACT_FRAGMENT_TYPE) {
      var created = createFiberFromFragment(element.props.children, returnFiber.mode, lanes, element.key);
      created.return = returnFiber;
      return created;
    } else {
      var _created4 = createFiberFromElement(element, returnFiber.mode, lanes);

      _created4.ref = coerceRef(returnFiber, currentFirstChild, element);
      _created4.return = returnFiber;
      return _created4;
    }
  }

  function reconcileSinglePortal(returnFiber, currentFirstChild, portal, lanes) {
    var key = portal.key;
    var child = currentFirstChild;

    while (child !== null) {
      // TODO: If key === null and child.key === null, then this only applies to
      // the first item in the list.
      if (child.key === key) {
        if (child.tag === HostPortal && child.stateNode.containerInfo === portal.containerInfo && child.stateNode.implementation === portal.implementation) {
          deleteRemainingChildren(returnFiber, child.sibling);
          var existing = useFiber(child, portal.children || []);
          existing.return = returnFiber;
          return existing;
        } else {
          deleteRemainingChildren(returnFiber, child);
          break;
        }
      } else {
        deleteChild(returnFiber, child);
      }

      child = child.sibling;
    }

    var created = createFiberFromPortal(portal, returnFiber.mode, lanes);
    created.return = returnFiber;
    return created;
  } // This API will tag the children with the side-effect of the reconciliation
  // itself. They will be added to the side-effect list as we pass through the
  // children and the parent.


  function reconcileChildFibers(returnFiber, currentFirstChild, newChild, lanes) {
    // This function is not recursive.
    // If the top level item is an array, we treat it as a set of children,
    // not as a fragment. Nested arrays on the other hand will be treated as
    // fragment nodes. Recursion happens at the normal flow.
    // Handle top level unkeyed fragments as if they were arrays.
    // This leads to an ambiguity between <>{[...]}</> and <>...</>.
    // We treat the ambiguous cases above the same.
    var isUnkeyedTopLevelFragment = typeof newChild === 'object' && newChild !== null && newChild.type === REACT_FRAGMENT_TYPE && newChild.key === null;

    if (isUnkeyedTopLevelFragment) {
      newChild = newChild.props.children;
    } // Handle object types


    if (typeof newChild === 'object' && newChild !== null) {
      switch (newChild.$$typeof) {
        case REACT_ELEMENT_TYPE:
          return placeSingleChild(reconcileSingleElement(returnFiber, currentFirstChild, newChild, lanes));

        case REACT_PORTAL_TYPE:
          return placeSingleChild(reconcileSinglePortal(returnFiber, currentFirstChild, newChild, lanes));

        case REACT_LAZY_TYPE:
          var payload = newChild._payload;
          var init = newChild._init; // TODO: This function is supposed to be non-recursive.

          return reconcileChildFibers(returnFiber, currentFirstChild, init(payload), lanes);
      }

      if (isArray(newChild)) {
        return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes);
      }

      if (getIteratorFn(newChild)) {
        return reconcileChildrenIterator(returnFiber, currentFirstChild, newChild, lanes);
      }

      throwOnInvalidObjectType(returnFiber, newChild);
    }

    if (typeof newChild === 'string' && newChild !== '' || typeof newChild === 'number') {
      return placeSingleChild(reconcileSingleTextNode(returnFiber, currentFirstChild, '' + newChild, lanes));
    }

    {
      if (typeof newChild === 'function') {
        warnOnFunctionType(returnFiber);
      }
    } // Remaining cases are all treated as empty.


    return deleteRemainingChildren(returnFiber, currentFirstChild);
  }

  return reconcileChildFibers;
}

var reconcileChildFibers = ChildReconciler(true);
var mountChildFibers = ChildReconciler(false);
function cloneChildFibers(current, workInProgress) {
  if (current !== null && workInProgress.child !== current.child) {
    throw new Error('Resuming work not yet implemented.');
  }

  if (workInProgress.child === null) {
    return;
  }

  var currentChild = workInProgress.child;
  var newChild = createWorkInProgress(currentChild, currentChild.pendingProps);
  workInProgress.child = newChild;
  newChild.return = workInProgress;

  while (currentChild.sibling !== null) {
    currentChild = currentChild.sibling;
    newChild = newChild.sibling = createWorkInProgress(currentChild, currentChild.pendingProps);
    newChild.return = workInProgress;
  }

  newChild.sibling = null;
} // Reset a workInProgress child set to prepare it for a second pass.

function resetChildFibers(workInProgress, lanes) {
  var child = workInProgress.child;

  while (child !== null) {
    resetWorkInProgress(child, lanes);
    child = child.sibling;
  }
}

var valueCursor = createCursor(null);
var rendererSigil;

{
  // Use this to detect multiple renderers using the same context
  rendererSigil = {};
}

var currentlyRenderingFiber = null;
var lastContextDependency = null;
var lastFullyObservedContext = null;
var isDisallowedContextReadInDEV = false;
function resetContextDependencies() {
  // This is called right before React yields execution, to ensure `readContext`
  // cannot be called outside the render phase.
  currentlyRenderingFiber = null;
  lastContextDependency = null;
  lastFullyObservedContext = null;

  {
    isDisallowedContextReadInDEV = false;
  }
}
function enterDisallowedContextReadInDEV() {
  {
    isDisallowedContextReadInDEV = true;
  }
}
function exitDisallowedContextReadInDEV() {
  {
    isDisallowedContextReadInDEV = false;
  }
}
function pushProvider(providerFiber, context, nextValue) {
  {
    push(valueCursor, context._currentValue, providerFiber);
    context._currentValue = nextValue;

    {
      if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) {
        error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.');
      }

      context._currentRenderer = rendererSigil;
    }
  }
}
function popProvider(context, providerFiber) {
  var currentValue = valueCursor.current;
  pop(valueCursor, providerFiber);

  {
    {
      context._currentValue = currentValue;
    }
  }
}
function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {
  // Update the child lanes of all the ancestors, including the alternates.
  var node = parent;

  while (node !== null) {
    var alternate = node.alternate;

    if (!isSubsetOfLanes(node.childLanes, renderLanes)) {
      node.childLanes = mergeLanes(node.childLanes, renderLanes);

      if (alternate !== null) {
        alternate.childLanes = mergeLanes(alternate.childLanes, renderLanes);
      }
    } else if (alternate !== null && !isSubsetOfLanes(alternate.childLanes, renderLanes)) {
      alternate.childLanes = mergeLanes(alternate.childLanes, renderLanes);
    }

    if (node === propagationRoot) {
      break;
    }

    node = node.return;
  }

  {
    if (node !== propagationRoot) {
      error('Expected to find the propagation root when scheduling context work. ' + 'This error is likely caused by a bug in React. Please file an issue.');
    }
  }
}
function propagateContextChange(workInProgress, context, renderLanes) {
  {
    propagateContextChange_eager(workInProgress, context, renderLanes);
  }
}

function propagateContextChange_eager(workInProgress, context, renderLanes) {

  var fiber = workInProgress.child;

  if (fiber !== null) {
    // Set the return pointer of the child to the work-in-progress fiber.
    fiber.return = workInProgress;
  }

  while (fiber !== null) {
    var nextFiber = void 0; // Visit this fiber.

    var list = fiber.dependencies;

    if (list !== null) {
      nextFiber = fiber.child;
      var dependency = list.firstContext;

      while (dependency !== null) {
        // Check if the context matches.
        if (dependency.context === context) {
          // Match! Schedule an update on this fiber.
          if (fiber.tag === ClassComponent) {
            // Schedule a force update on the work-in-progress.
            var lane = pickArbitraryLane(renderLanes);
            var update = createUpdate(NoTimestamp, lane);
            update.tag = ForceUpdate; // TODO: Because we don't have a work-in-progress, this will add the
            // update to the current fiber, too, which means it will persist even if
            // this render is thrown away. Since it's a race condition, not sure it's
            // worth fixing.
            // Inlined `enqueueUpdate` to remove interleaved update check

            var updateQueue = fiber.updateQueue;

            if (updateQueue === null) ; else {
              var sharedQueue = updateQueue.shared;
              var pending = sharedQueue.pending;

              if (pending === null) {
                // This is the first update. Create a circular list.
                update.next = update;
              } else {
                update.next = pending.next;
                pending.next = update;
              }

              sharedQueue.pending = update;
            }
          }

          fiber.lanes = mergeLanes(fiber.lanes, renderLanes);
          var alternate = fiber.alternate;

          if (alternate !== null) {
            alternate.lanes = mergeLanes(alternate.lanes, renderLanes);
          }

          scheduleContextWorkOnParentPath(fiber.return, renderLanes, workInProgress); // Mark the updated lanes on the list, too.

          list.lanes = mergeLanes(list.lanes, renderLanes); // Since we already found a match, we can stop traversing the
          // dependency list.

          break;
        }

        dependency = dependency.next;
      }
    } else if (fiber.tag === ContextProvider) {
      // Don't scan deeper if this is a matching provider
      nextFiber = fiber.type === workInProgress.type ? null : fiber.child;
    } else if (fiber.tag === DehydratedFragment) {
      // If a dehydrated suspense boundary is in this subtree, we don't know
      // if it will have any context consumers in it. The best we can do is
      // mark it as having updates.
      var parentSuspense = fiber.return;

      if (parentSuspense === null) {
        throw new Error('We just came from a parent so we must have had a parent. This is a bug in React.');
      }

      parentSuspense.lanes = mergeLanes(parentSuspense.lanes, renderLanes);
      var _alternate = parentSuspense.alternate;

      if (_alternate !== null) {
        _alternate.lanes = mergeLanes(_alternate.lanes, renderLanes);
      } // This is intentionally passing this fiber as the parent
      // because we want to schedule this fiber as having work
      // on its children. We'll use the childLanes on
      // this fiber to indicate that a context has changed.


      scheduleContextWorkOnParentPath(parentSuspense, renderLanes, workInProgress);
      nextFiber = fiber.sibling;
    } else {
      // Traverse down.
      nextFiber = fiber.child;
    }

    if (nextFiber !== null) {
      // Set the return pointer of the child to the work-in-progress fiber.
      nextFiber.return = fiber;
    } else {
      // No child. Traverse to next sibling.
      nextFiber = fiber;

      while (nextFiber !== null) {
        if (nextFiber === workInProgress) {
          // We're back to the root of this subtree. Exit.
          nextFiber = null;
          break;
        }

        var sibling = nextFiber.sibling;

        if (sibling !== null) {
          // Set the return pointer of the sibling to the work-in-progress fiber.
          sibling.return = nextFiber.return;
          nextFiber = sibling;
          break;
        } // No more siblings. Traverse up.


        nextFiber = nextFiber.return;
      }
    }

    fiber = nextFiber;
  }
}
function prepareToReadContext(workInProgress, renderLanes) {
  currentlyRenderingFiber = workInProgress;
  lastContextDependency = null;
  lastFullyObservedContext = null;
  var dependencies = workInProgress.dependencies;

  if (dependencies !== null) {
    {
      var firstContext = dependencies.firstContext;

      if (firstContext !== null) {
        if (includesSomeLane(dependencies.lanes, renderLanes)) {
          // Context list has a pending update. Mark that this fiber performed work.
          markWorkInProgressReceivedUpdate();
        } // Reset the work-in-progress list


        dependencies.firstContext = null;
      }
    }
  }
}
function readContext(context) {
  {
    // This warning would fire if you read context inside a Hook like useMemo.
    // Unlike the class check below, it's not enforced in production for perf.
    if (isDisallowedContextReadInDEV) {
      error('Context can only be read while React is rendering. ' + 'In classes, you can read it in the render method or getDerivedStateFromProps. ' + 'In function components, you can read it directly in the function body, but not ' + 'inside Hooks like useReducer() or useMemo().');
    }
  }

  var value =  context._currentValue ;

  if (lastFullyObservedContext === context) ; else {
    var contextItem = {
      context: context,
      memoizedValue: value,
      next: null
    };

    if (lastContextDependency === null) {
      if (currentlyRenderingFiber === null) {
        throw new Error('Context can only be read while React is rendering. ' + 'In classes, you can read it in the render method or getDerivedStateFromProps. ' + 'In function components, you can read it directly in the function body, but not ' + 'inside Hooks like useReducer() or useMemo().');
      } // This is the first dependency for this component. Create a new list.


      lastContextDependency = contextItem;
      currentlyRenderingFiber.dependencies = {
        lanes: NoLanes,
        firstContext: contextItem
      };
    } else {
      // Append a new context item.
      lastContextDependency = lastContextDependency.next = contextItem;
    }
  }

  return value;
}

// render. When this render exits, either because it finishes or because it is
// interrupted, the interleaved updates will be transferred onto the main part
// of the queue.

var concurrentQueues = null;
function pushConcurrentUpdateQueue(queue) {
  if (concurrentQueues === null) {
    concurrentQueues = [queue];
  } else {
    concurrentQueues.push(queue);
  }
}
function finishQueueingConcurrentUpdates() {
  // Transfer the interleaved updates onto the main queue. Each queue has a
  // `pending` field and an `interleaved` field. When they are not null, they
  // point to the last node in a circular linked list. We need to append the
  // interleaved list to the end of the pending list by joining them into a
  // single, circular list.
  if (concurrentQueues !== null) {
    for (var i = 0; i < concurrentQueues.length; i++) {
      var queue = concurrentQueues[i];
      var lastInterleavedUpdate = queue.interleaved;

      if (lastInterleavedUpdate !== null) {
        queue.interleaved = null;
        var firstInterleavedUpdate = lastInterleavedUpdate.next;
        var lastPendingUpdate = queue.pending;

        if (lastPendingUpdate !== null) {
          var firstPendingUpdate = lastPendingUpdate.next;
          lastPendingUpdate.next = firstInterleavedUpdate;
          lastInterleavedUpdate.next = firstPendingUpdate;
        }

        queue.pending = lastInterleavedUpdate;
      }
    }

    concurrentQueues = null;
  }
}
function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {
  var interleaved = queue.interleaved;

  if (interleaved === null) {
    // This is the first update. Create a circular list.
    update.next = update; // At the end of the current render, this queue's interleaved updates will
    // be transferred to the pending queue.

    pushConcurrentUpdateQueue(queue);
  } else {
    update.next = interleaved.next;
    interleaved.next = update;
  }

  queue.interleaved = update;
  return markUpdateLaneFromFiberToRoot(fiber, lane);
}
function enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, update, lane) {
  var interleaved = queue.interleaved;

  if (interleaved === null) {
    // This is the first update. Create a circular list.
    update.next = update; // At the end of the current render, this queue's interleaved updates will
    // be transferred to the pending queue.

    pushConcurrentUpdateQueue(queue);
  } else {
    update.next = interleaved.next;
    interleaved.next = update;
  }

  queue.interleaved = update;
}
function enqueueConcurrentClassUpdate(fiber, queue, update, lane) {
  var interleaved = queue.interleaved;

  if (interleaved === null) {
    // This is the first update. Create a circular list.
    update.next = update; // At the end of the current render, this queue's interleaved updates will
    // be transferred to the pending queue.

    pushConcurrentUpdateQueue(queue);
  } else {
    update.next = interleaved.next;
    interleaved.next = update;
  }

  queue.interleaved = update;
  return markUpdateLaneFromFiberToRoot(fiber, lane);
}
function enqueueConcurrentRenderForLane(fiber, lane) {
  return markUpdateLaneFromFiberToRoot(fiber, lane);
} // Calling this function outside this module should only be done for backwards
// compatibility and should always be accompanied by a warning.

var unsafe_markUpdateLaneFromFiberToRoot = markUpdateLaneFromFiberToRoot;

function markUpdateLaneFromFiberToRoot(sourceFiber, lane) {
  // Update the source fiber's lanes
  sourceFiber.lanes = mergeLanes(sourceFiber.lanes, lane);
  var alternate = sourceFiber.alternate;

  if (alternate !== null) {
    alternate.lanes = mergeLanes(alternate.lanes, lane);
  }

  {
    if (alternate === null && (sourceFiber.flags & (Placement | Hydrating)) !== NoFlags) {
      warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
    }
  } // Walk the parent path to the root and update the child lanes.


  var node = sourceFiber;
  var parent = sourceFiber.return;

  while (parent !== null) {
    parent.childLanes = mergeLanes(parent.childLanes, lane);
    alternate = parent.alternate;

    if (alternate !== null) {
      alternate.childLanes = mergeLanes(alternate.childLanes, lane);
    } else {
      {
        if ((parent.flags & (Placement | Hydrating)) !== NoFlags) {
          warnAboutUpdateOnNotYetMountedFiberInDEV(sourceFiber);
        }
      }
    }

    node = parent;
    parent = parent.return;
  }

  if (node.tag === HostRoot) {
    var root = node.stateNode;
    return root;
  } else {
    return null;
  }
}

var UpdateState = 0;
var ReplaceState = 1;
var ForceUpdate = 2;
var CaptureUpdate = 3; // Global state that is reset at the beginning of calling `processUpdateQueue`.
// It should only be read right after calling `processUpdateQueue`, via
// `checkHasForceUpdateAfterProcessing`.

var hasForceUpdate = false;
var didWarnUpdateInsideUpdate;
var currentlyProcessingQueue;

{
  didWarnUpdateInsideUpdate = false;
  currentlyProcessingQueue = null;
}

function initializeUpdateQueue(fiber) {
  var queue = {
    baseState: fiber.memoizedState,
    firstBaseUpdate: null,
    lastBaseUpdate: null,
    shared: {
      pending: null,
      interleaved: null,
      lanes: NoLanes
    },
    effects: null
  };
  fiber.updateQueue = queue;
}
function cloneUpdateQueue(current, workInProgress) {
  // Clone the update queue from current. Unless it's already a clone.
  var queue = workInProgress.updateQueue;
  var currentQueue = current.updateQueue;

  if (queue === currentQueue) {
    var clone = {
      baseState: currentQueue.baseState,
      firstBaseUpdate: currentQueue.firstBaseUpdate,
      lastBaseUpdate: currentQueue.lastBaseUpdate,
      shared: currentQueue.shared,
      effects: currentQueue.effects
    };
    workInProgress.updateQueue = clone;
  }
}
function createUpdate(eventTime, lane) {
  var update = {
    eventTime: eventTime,
    lane: lane,
    tag: UpdateState,
    payload: null,
    callback: null,
    next: null
  };
  return update;
}
function enqueueUpdate(fiber, update, lane) {
  var updateQueue = fiber.updateQueue;

  if (updateQueue === null) {
    // Only occurs if the fiber has been unmounted.
    return null;
  }

  var sharedQueue = updateQueue.shared;

  {
    if (currentlyProcessingQueue === sharedQueue && !didWarnUpdateInsideUpdate) {
      error('An update (setState, replaceState, or forceUpdate) was scheduled ' + 'from inside an update function. Update functions should be pure, ' + 'with zero side-effects. Consider using componentDidUpdate or a ' + 'callback.');

      didWarnUpdateInsideUpdate = true;
    }
  }

  if (isUnsafeClassRenderPhaseUpdate()) {
    // This is an unsafe render phase update. Add directly to the update
    // queue so we can process it immediately during the current render.
    var pending = sharedQueue.pending;

    if (pending === null) {
      // This is the first update. Create a circular list.
      update.next = update;
    } else {
      update.next = pending.next;
      pending.next = update;
    }

    sharedQueue.pending = update; // Update the childLanes even though we're most likely already rendering
    // this fiber. This is for backwards compatibility in the case where you
    // update a different component during render phase than the one that is
    // currently renderings (a pattern that is accompanied by a warning).

    return unsafe_markUpdateLaneFromFiberToRoot(fiber, lane);
  } else {
    return enqueueConcurrentClassUpdate(fiber, sharedQueue, update, lane);
  }
}
function entangleTransitions(root, fiber, lane) {
  var updateQueue = fiber.updateQueue;

  if (updateQueue === null) {
    // Only occurs if the fiber has been unmounted.
    return;
  }

  var sharedQueue = updateQueue.shared;

  if (isTransitionLane(lane)) {
    var queueLanes = sharedQueue.lanes; // If any entangled lanes are no longer pending on the root, then they must
    // have finished. We can remove them from the shared queue, which represents
    // a superset of the actually pending lanes. In some cases we may entangle
    // more than we need to, but that's OK. In fact it's worse if we *don't*
    // entangle when we should.

    queueLanes = intersectLanes(queueLanes, root.pendingLanes); // Entangle the new transition lane with the other transition lanes.

    var newQueueLanes = mergeLanes(queueLanes, lane);
    sharedQueue.lanes = newQueueLanes; // Even if queue.lanes already include lane, we don't know for certain if
    // the lane finished since the last time we entangled it. So we need to
    // entangle it again, just to be sure.

    markRootEntangled(root, newQueueLanes);
  }
}
function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
  // Captured updates are updates that are thrown by a child during the render
  // phase. They should be discarded if the render is aborted. Therefore,
  // we should only put them on the work-in-progress queue, not the current one.
  var queue = workInProgress.updateQueue; // Check if the work-in-progress queue is a clone.

  var current = workInProgress.alternate;

  if (current !== null) {
    var currentQueue = current.updateQueue;

    if (queue === currentQueue) {
      // The work-in-progress queue is the same as current. This happens when
      // we bail out on a parent fiber that then captures an error thrown by
      // a child. Since we want to append the update only to the work-in
      // -progress queue, we need to clone the updates. We usually clone during
      // processUpdateQueue, but that didn't happen in this case because we
      // skipped over the parent when we bailed out.
      var newFirst = null;
      var newLast = null;
      var firstBaseUpdate = queue.firstBaseUpdate;

      if (firstBaseUpdate !== null) {
        // Loop through the updates and clone them.
        var update = firstBaseUpdate;

        do {
          var clone = {
            eventTime: update.eventTime,
            lane: update.lane,
            tag: update.tag,
            payload: update.payload,
            callback: update.callback,
            next: null
          };

          if (newLast === null) {
            newFirst = newLast = clone;
          } else {
            newLast.next = clone;
            newLast = clone;
          }

          update = update.next;
        } while (update !== null); // Append the captured update the end of the cloned list.


        if (newLast === null) {
          newFirst = newLast = capturedUpdate;
        } else {
          newLast.next = capturedUpdate;
          newLast = capturedUpdate;
        }
      } else {
        // There are no base updates.
        newFirst = newLast = capturedUpdate;
      }

      queue = {
        baseState: currentQueue.baseState,
        firstBaseUpdate: newFirst,
        lastBaseUpdate: newLast,
        shared: currentQueue.shared,
        effects: currentQueue.effects
      };
      workInProgress.updateQueue = queue;
      return;
    }
  } // Append the update to the end of the list.


  var lastBaseUpdate = queue.lastBaseUpdate;

  if (lastBaseUpdate === null) {
    queue.firstBaseUpdate = capturedUpdate;
  } else {
    lastBaseUpdate.next = capturedUpdate;
  }

  queue.lastBaseUpdate = capturedUpdate;
}

function getStateFromUpdate(workInProgress, queue, update, prevState, nextProps, instance) {
  switch (update.tag) {
    case ReplaceState:
      {
        var payload = update.payload;

        if (typeof payload === 'function') {
          // Updater function
          {
            enterDisallowedContextReadInDEV();
          }

          var nextState = payload.call(instance, prevState, nextProps);

          {
            if ( workInProgress.mode & StrictLegacyMode) {
              setIsStrictModeForDevtools(true);

              try {
                payload.call(instance, prevState, nextProps);
              } finally {
                setIsStrictModeForDevtools(false);
              }
            }

            exitDisallowedContextReadInDEV();
          }

          return nextState;
        } // State object


        return payload;
      }

    case CaptureUpdate:
      {
        workInProgress.flags = workInProgress.flags & ~ShouldCapture | DidCapture;
      }
    // Intentional fallthrough

    case UpdateState:
      {
        var _payload = update.payload;
        var partialState;

        if (typeof _payload === 'function') {
          // Updater function
          {
            enterDisallowedContextReadInDEV();
          }

          partialState = _payload.call(instance, prevState, nextProps);

          {
            if ( workInProgress.mode & StrictLegacyMode) {
              setIsStrictModeForDevtools(true);

              try {
                _payload.call(instance, prevState, nextProps);
              } finally {
                setIsStrictModeForDevtools(false);
              }
            }

            exitDisallowedContextReadInDEV();
          }
        } else {
          // Partial state object
          partialState = _payload;
        }

        if (partialState === null || partialState === undefined) {
          // Null and undefined are treated as no-ops.
          return prevState;
        } // Merge the partial state and the previous state.


        return assign({}, prevState, partialState);
      }

    case ForceUpdate:
      {
        hasForceUpdate = true;
        return prevState;
      }
  }

  return prevState;
}

function processUpdateQueue(workInProgress, props, instance, renderLanes) {
  // This is always non-null on a ClassComponent or HostRoot
  var queue = workInProgress.updateQueue;
  hasForceUpdate = false;

  {
    currentlyProcessingQueue = queue.shared;
  }

  var firstBaseUpdate = queue.firstBaseUpdate;
  var lastBaseUpdate = queue.lastBaseUpdate; // Check if there are pending updates. If so, transfer them to the base queue.

  var pendingQueue = queue.shared.pending;

  if (pendingQueue !== null) {
    queue.shared.pending = null; // The pending queue is circular. Disconnect the pointer between first
    // and last so that it's non-circular.

    var lastPendingUpdate = pendingQueue;
    var firstPendingUpdate = lastPendingUpdate.next;
    lastPendingUpdate.next = null; // Append pending updates to base queue

    if (lastBaseUpdate === null) {
      firstBaseUpdate = firstPendingUpdate;
    } else {
      lastBaseUpdate.next = firstPendingUpdate;
    }

    lastBaseUpdate = lastPendingUpdate; // If there's a current queue, and it's different from the base queue, then
    // we need to transfer the updates to that queue, too. Because the base
    // queue is a singly-linked list with no cycles, we can append to both
    // lists and take advantage of structural sharing.
    // TODO: Pass `current` as argument

    var current = workInProgress.alternate;

    if (current !== null) {
      // This is always non-null on a ClassComponent or HostRoot
      var currentQueue = current.updateQueue;
      var currentLastBaseUpdate = currentQueue.lastBaseUpdate;

      if (currentLastBaseUpdate !== lastBaseUpdate) {
        if (currentLastBaseUpdate === null) {
          currentQueue.firstBaseUpdate = firstPendingUpdate;
        } else {
          currentLastBaseUpdate.next = firstPendingUpdate;
        }

        currentQueue.lastBaseUpdate = lastPendingUpdate;
      }
    }
  } // These values may change as we process the queue.


  if (firstBaseUpdate !== null) {
    // Iterate through the list of updates to compute the result.
    var newState = queue.baseState; // TODO: Don't need to accumulate this. Instead, we can remove renderLanes
    // from the original lanes.

    var newLanes = NoLanes;
    var newBaseState = null;
    var newFirstBaseUpdate = null;
    var newLastBaseUpdate = null;
    var update = firstBaseUpdate;

    do {
      var updateLane = update.lane;
      var updateEventTime = update.eventTime;

      if (!isSubsetOfLanes(renderLanes, updateLane)) {
        // Priority is insufficient. Skip this update. If this is the first
        // skipped update, the previous update/state is the new base
        // update/state.
        var clone = {
          eventTime: updateEventTime,
          lane: updateLane,
          tag: update.tag,
          payload: update.payload,
          callback: update.callback,
          next: null
        };

        if (newLastBaseUpdate === null) {
          newFirstBaseUpdate = newLastBaseUpdate = clone;
          newBaseState = newState;
        } else {
          newLastBaseUpdate = newLastBaseUpdate.next = clone;
        } // Update the remaining priority in the queue.


        newLanes = mergeLanes(newLanes, updateLane);
      } else {
        // This update does have sufficient priority.
        if (newLastBaseUpdate !== null) {
          var _clone = {
            eventTime: updateEventTime,
            // This update is going to be committed so we never want uncommit
            // it. Using NoLane works because 0 is a subset of all bitmasks, so
            // this will never be skipped by the check above.
            lane: NoLane,
            tag: update.tag,
            payload: update.payload,
            callback: update.callback,
            next: null
          };
          newLastBaseUpdate = newLastBaseUpdate.next = _clone;
        } // Process this update.


        newState = getStateFromUpdate(workInProgress, queue, update, newState, props, instance);
        var callback = update.callback;

        if (callback !== null && // If the update was already committed, we should not queue its
        // callback again.
        update.lane !== NoLane) {
          workInProgress.flags |= Callback;
          var effects = queue.effects;

          if (effects === null) {
            queue.effects = [update];
          } else {
            effects.push(update);
          }
        }
      }

      update = update.next;

      if (update === null) {
        pendingQueue = queue.shared.pending;

        if (pendingQueue === null) {
          break;
        } else {
          // An update was scheduled from inside a reducer. Add the new
          // pending updates to the end of the list and keep processing.
          var _lastPendingUpdate = pendingQueue; // Intentionally unsound. Pending updates form a circular list, but we
          // unravel them when transferring them to the base queue.

          var _firstPendingUpdate = _lastPendingUpdate.next;
          _lastPendingUpdate.next = null;
          update = _firstPendingUpdate;
          queue.lastBaseUpdate = _lastPendingUpdate;
          queue.shared.pending = null;
        }
      }
    } while (true);

    if (newLastBaseUpdate === null) {
      newBaseState = newState;
    }

    queue.baseState = newBaseState;
    queue.firstBaseUpdate = newFirstBaseUpdate;
    queue.lastBaseUpdate = newLastBaseUpdate; // Interleaved updates are stored on a separate queue. We aren't going to
    // process them during this render, but we do need to track which lanes
    // are remaining.

    var lastInterleaved = queue.shared.interleaved;

    if (lastInterleaved !== null) {
      var interleaved = lastInterleaved;

      do {
        newLanes = mergeLanes(newLanes, interleaved.lane);
        interleaved = interleaved.next;
      } while (interleaved !== lastInterleaved);
    } else if (firstBaseUpdate === null) {
      // `queue.lanes` is used for entangling transitions. We can set it back to
      // zero once the queue is empty.
      queue.shared.lanes = NoLanes;
    } // Set the remaining expiration time to be whatever is remaining in the queue.
    // This should be fine because the only two other things that contribute to
    // expiration time are props and context. We're already in the middle of the
    // begin phase by the time we start processing the queue, so we've already
    // dealt with the props. Context in components that specify
    // shouldComponentUpdate is tricky; but we'll have to account for
    // that regardless.


    markSkippedUpdateLanes(newLanes);
    workInProgress.lanes = newLanes;
    workInProgress.memoizedState = newState;
  }

  {
    currentlyProcessingQueue = null;
  }
}

function callCallback(callback, context) {
  if (typeof callback !== 'function') {
    throw new Error('Invalid argument passed as callback. Expected a function. Instead ' + ("received: " + callback));
  }

  callback.call(context);
}

function resetHasForceUpdateBeforeProcessing() {
  hasForceUpdate = false;
}
function checkHasForceUpdateAfterProcessing() {
  return hasForceUpdate;
}
function commitUpdateQueue(finishedWork, finishedQueue, instance) {
  // Commit the effects
  var effects = finishedQueue.effects;
  finishedQueue.effects = null;

  if (effects !== null) {
    for (var i = 0; i < effects.length; i++) {
      var effect = effects[i];
      var callback = effect.callback;

      if (callback !== null) {
        effect.callback = null;
        callCallback(callback, instance);
      }
    }
  }
}

var NO_CONTEXT = {};
var contextStackCursor$1 = createCursor(NO_CONTEXT);
var contextFiberStackCursor = createCursor(NO_CONTEXT);
var rootInstanceStackCursor = createCursor(NO_CONTEXT);

function requiredContext(c) {
  if (c === NO_CONTEXT) {
    throw new Error('Expected host context to exist. This error is likely caused by a bug ' + 'in React. Please file an issue.');
  }

  return c;
}

function getRootHostContainer() {
  var rootInstance = requiredContext(rootInstanceStackCursor.current);
  return rootInstance;
}

function pushHostContainer(fiber, nextRootInstance) {
  // Push current root instance onto the stack;
  // This allows us to reset root when portals are popped.
  push(rootInstanceStackCursor, nextRootInstance, fiber); // Track the context and the Fiber that provided it.
  // This enables us to pop only Fibers that provide unique contexts.

  push(contextFiberStackCursor, fiber, fiber); // Finally, we need to push the host context to the stack.
  // However, we can't just call getRootHostContext() and push it because
  // we'd have a different number of entries on the stack depending on
  // whether getRootHostContext() throws somewhere in renderer code or not.
  // So we push an empty value first. This lets us safely unwind on errors.

  push(contextStackCursor$1, NO_CONTEXT, fiber);
  var nextRootContext = getRootHostContext(nextRootInstance); // Now that we know this function doesn't throw, replace it.

  pop(contextStackCursor$1, fiber);
  push(contextStackCursor$1, nextRootContext, fiber);
}

function popHostContainer(fiber) {
  pop(contextStackCursor$1, fiber);
  pop(contextFiberStackCursor, fiber);
  pop(rootInstanceStackCursor, fiber);
}

function getHostContext() {
  var context = requiredContext(contextStackCursor$1.current);
  return context;
}

function pushHostContext(fiber) {
  var rootInstance = requiredContext(rootInstanceStackCursor.current);
  var context = requiredContext(contextStackCursor$1.current);
  var nextContext = getChildHostContext(context, fiber.type); // Don't push this Fiber's context unless it's unique.

  if (context === nextContext) {
    return;
  } // Track the context and the Fiber that provided it.
  // This enables us to pop only Fibers that provide unique contexts.


  push(contextFiberStackCursor, fiber, fiber);
  push(contextStackCursor$1, nextContext, fiber);
}

function popHostContext(fiber) {
  // Do not pop unless this Fiber provided the current context.
  // pushHostContext() only pushes Fibers that provide unique contexts.
  if (contextFiberStackCursor.current !== fiber) {
    return;
  }

  pop(contextStackCursor$1, fiber);
  pop(contextFiberStackCursor, fiber);
}

var DefaultSuspenseContext = 0; // The Suspense Context is split into two parts. The lower bits is
// inherited deeply down the subtree. The upper bits only affect
// this immediate suspense boundary and gets reset each new
// boundary or suspense list.

var SubtreeSuspenseContextMask = 1; // Subtree Flags:
// InvisibleParentSuspenseContext indicates that one of our parent Suspense
// boundaries is not currently showing visible main content.
// Either because it is already showing a fallback or is not mounted at all.
// We can use this to determine if it is desirable to trigger a fallback at
// the parent. If not, then we might need to trigger undesirable boundaries
// and/or suspend the commit to avoid hiding the parent content.

var InvisibleParentSuspenseContext = 1; // Shallow Flags:
// ForceSuspenseFallback can be used by SuspenseList to force newly added
// items into their fallback state during one of the render passes.

var ForceSuspenseFallback = 2;
var suspenseStackCursor = createCursor(DefaultSuspenseContext);
function hasSuspenseContext(parentContext, flag) {
  return (parentContext & flag) !== 0;
}
function setDefaultShallowSuspenseContext(parentContext) {
  return parentContext & SubtreeSuspenseContextMask;
}
function setShallowSuspenseContext(parentContext, shallowContext) {
  return parentContext & SubtreeSuspenseContextMask | shallowContext;
}
function addSubtreeSuspenseContext(parentContext, subtreeContext) {
  return parentContext | subtreeContext;
}
function pushSuspenseContext(fiber, newContext) {
  push(suspenseStackCursor, newContext, fiber);
}
function popSuspenseContext(fiber) {
  pop(suspenseStackCursor, fiber);
}

function shouldCaptureSuspense(workInProgress, hasInvisibleParent) {
  // If it was the primary children that just suspended, capture and render the
  // fallback. Otherwise, don't capture and bubble to the next boundary.
  var nextState = workInProgress.memoizedState;

  if (nextState !== null) {
    if (nextState.dehydrated !== null) {
      // A dehydrated boundary always captures.
      return true;
    }

    return false;
  }

  var props = workInProgress.memoizedProps; // Regular boundaries always capture.

  {
    return true;
  } // If it's a boundary we should avoid, then we prefer to bubble up to the
}
function findFirstSuspended(row) {
  var node = row;

  while (node !== null) {
    if (node.tag === SuspenseComponent) {
      var state = node.memoizedState;

      if (state !== null) {
        var dehydrated = state.dehydrated;

        if (dehydrated === null || isSuspenseInstancePending(dehydrated) || isSuspenseInstanceFallback(dehydrated)) {
          return node;
        }
      }
    } else if (node.tag === SuspenseListComponent && // revealOrder undefined can't be trusted because it don't
    // keep track of whether it suspended or not.
    node.memoizedProps.revealOrder !== undefined) {
      var didSuspend = (node.flags & DidCapture) !== NoFlags;

      if (didSuspend) {
        return node;
      }
    } else if (node.child !== null) {
      node.child.return = node;
      node = node.child;
      continue;
    }

    if (node === row) {
      return null;
    }

    while (node.sibling === null) {
      if (node.return === null || node.return === row) {
        return null;
      }

      node = node.return;
    }

    node.sibling.return = node.return;
    node = node.sibling;
  }

  return null;
}

var NoFlags$1 =
/*   */
0; // Represents whether effect should fire.

var HasEffect =
/* */
1; // Represents the phase in which the effect (not the clean-up) fires.

var Insertion =
/*  */
2;
var Layout =
/*    */
4;
var Passive$1 =
/*   */
8;

// and should be reset before starting a new render.
// This tracks which mutable sources need to be reset after a render.

var workInProgressSources = [];
function resetWorkInProgressVersions() {
  for (var i = 0; i < workInProgressSources.length; i++) {
    var mutableSource = workInProgressSources[i];

    {
      mutableSource._workInProgressVersionPrimary = null;
    }
  }

  workInProgressSources.length = 0;
}
// This ensures that the version used for server rendering matches the one
// that is eventually read during hydration.
// If they don't match there's a potential tear and a full deopt render is required.

function registerMutableSourceForHydration(root, mutableSource) {
  var getVersion = mutableSource._getVersion;
  var version = getVersion(mutableSource._source); // TODO Clear this data once all pending hydration work is finished.
  // Retaining it forever may interfere with GC.

  if (root.mutableSourceEagerHydrationData == null) {
    root.mutableSourceEagerHydrationData = [mutableSource, version];
  } else {
    root.mutableSourceEagerHydrationData.push(mutableSource, version);
  }
}

var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
    ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig;
var didWarnAboutMismatchedHooksForComponent;
var didWarnUncachedGetSnapshot;

{
  didWarnAboutMismatchedHooksForComponent = new Set();
}

// These are set right before calling the component.
var renderLanes = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from
// the work-in-progress hook.

var currentlyRenderingFiber$1 = null; // Hooks are stored as a linked list on the fiber's memoizedState field. The
// current hook list is the list that belongs to the current fiber. The
// work-in-progress hook list is a new list that will be added to the
// work-in-progress fiber.

var currentHook = null;
var workInProgressHook = null; // Whether an update was scheduled at any point during the render phase. This
// does not get reset if we do another render pass; only when we're completely
// finished evaluating this component. This is an optimization so we know
// whether we need to clear render phase updates after a throw.

var didScheduleRenderPhaseUpdate = false; // Where an update was scheduled only during the current render pass. This
// gets reset after each attempt.
// TODO: Maybe there's some way to consolidate this with
// `didScheduleRenderPhaseUpdate`. Or with `numberOfReRenders`.

var didScheduleRenderPhaseUpdateDuringThisPass = false; // Counts the number of useId hooks in this component.

var localIdCounter = 0; // Used for ids that are generated completely client-side (i.e. not during
// hydration). This counter is global, so client ids are not stable across
// render attempts.

var globalClientIdCounter = 0;
var RE_RENDER_LIMIT = 25; // In DEV, this is the name of the currently executing primitive hook

var currentHookNameInDev = null; // In DEV, this list ensures that hooks are called in the same order between renders.
// The list stores the order of hooks used during the initial render (mount).
// Subsequent renders (updates) reference this list.

var hookTypesDev = null;
var hookTypesUpdateIndexDev = -1; // In DEV, this tracks whether currently rendering component needs to ignore
// the dependencies for Hooks that need them (e.g. useEffect or useMemo).
// When true, such Hooks will always be "remounted". Only used during hot reload.

var ignorePreviousDependencies = false;

function mountHookTypesDev() {
  {
    var hookName = currentHookNameInDev;

    if (hookTypesDev === null) {
      hookTypesDev = [hookName];
    } else {
      hookTypesDev.push(hookName);
    }
  }
}

function updateHookTypesDev() {
  {
    var hookName = currentHookNameInDev;

    if (hookTypesDev !== null) {
      hookTypesUpdateIndexDev++;

      if (hookTypesDev[hookTypesUpdateIndexDev] !== hookName) {
        warnOnHookMismatchInDev(hookName);
      }
    }
  }
}

function checkDepsAreArrayDev(deps) {
  {
    if (deps !== undefined && deps !== null && !isArray(deps)) {
      // Verify deps, but only on mount to avoid extra checks.
      // It's unlikely their type would change as usually you define them inline.
      error('%s received a final argument that is not an array (instead, received `%s`). When ' + 'specified, the final argument must be an array.', currentHookNameInDev, typeof deps);
    }
  }
}

function warnOnHookMismatchInDev(currentHookName) {
  {
    var componentName = getComponentNameFromFiber(currentlyRenderingFiber$1);

    if (!didWarnAboutMismatchedHooksForComponent.has(componentName)) {
      didWarnAboutMismatchedHooksForComponent.add(componentName);

      if (hookTypesDev !== null) {
        var table = '';
        var secondColumnStart = 30;

        for (var i = 0; i <= hookTypesUpdateIndexDev; i++) {
          var oldHookName = hookTypesDev[i];
          var newHookName = i === hookTypesUpdateIndexDev ? currentHookName : oldHookName;
          var row = i + 1 + ". " + oldHookName; // Extra space so second column lines up
          // lol @ IE not supporting String#repeat

          while (row.length < secondColumnStart) {
            row += ' ';
          }

          row += newHookName + '\n';
          table += row;
        }

        error('React has detected a change in the order of Hooks called by %s. ' + 'This will lead to bugs and errors if not fixed. ' + 'For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n' + '   Previous render            Next render\n' + '   ------------------------------------------------------\n' + '%s' + '   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', componentName, table);
      }
    }
  }
}

function throwInvalidHookError() {
  throw new Error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
}

function areHookInputsEqual(nextDeps, prevDeps) {
  {
    if (ignorePreviousDependencies) {
      // Only true when this component is being hot reloaded.
      return false;
    }
  }

  if (prevDeps === null) {
    {
      error('%s received a final argument during this render, but not during ' + 'the previous render. Even though the final argument is optional, ' + 'its type cannot change between renders.', currentHookNameInDev);
    }

    return false;
  }

  {
    // Don't bother comparing lengths in prod because these arrays should be
    // passed inline.
    if (nextDeps.length !== prevDeps.length) {
      error('The final argument passed to %s changed size between renders. The ' + 'order and size of this array must remain constant.\n\n' + 'Previous: %s\n' + 'Incoming: %s', currentHookNameInDev, "[" + prevDeps.join(', ') + "]", "[" + nextDeps.join(', ') + "]");
    }
  }

  for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) {
    if (objectIs(nextDeps[i], prevDeps[i])) {
      continue;
    }

    return false;
  }

  return true;
}

function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) {
  renderLanes = nextRenderLanes;
  currentlyRenderingFiber$1 = workInProgress;

  {
    hookTypesDev = current !== null ? current._debugHookTypes : null;
    hookTypesUpdateIndexDev = -1; // Used for hot reloading:

    ignorePreviousDependencies = current !== null && current.type !== workInProgress.type;
  }

  workInProgress.memoizedState = null;
  workInProgress.updateQueue = null;
  workInProgress.lanes = NoLanes; // The following should have already been reset
  // currentHook = null;
  // workInProgressHook = null;
  // didScheduleRenderPhaseUpdate = false;
  // localIdCounter = 0;
  // TODO Warn if no hooks are used at all during mount, then some are used during update.
  // Currently we will identify the update render as a mount because memoizedState === null.
  // This is tricky because it's valid for certain types of components (e.g. React.lazy)
  // Using memoizedState to differentiate between mount/update only works if at least one stateful hook is used.
  // Non-stateful hooks (e.g. context) don't get added to memoizedState,
  // so memoizedState would be null during updates and mounts.

  {
    if (current !== null && current.memoizedState !== null) {
      ReactCurrentDispatcher$1.current = HooksDispatcherOnUpdateInDEV;
    } else if (hookTypesDev !== null) {
      // This dispatcher handles an edge case where a component is updating,
      // but no stateful hooks have been used.
      // We want to match the production code behavior (which will use HooksDispatcherOnMount),
      // but with the extra DEV validation to ensure hooks ordering hasn't changed.
      // This dispatcher does that.
      ReactCurrentDispatcher$1.current = HooksDispatcherOnMountWithHookTypesInDEV;
    } else {
      ReactCurrentDispatcher$1.current = HooksDispatcherOnMountInDEV;
    }
  }

  var children = Component(props, secondArg); // Check if there was a render phase update

  if (didScheduleRenderPhaseUpdateDuringThisPass) {
    // Keep rendering in a loop for as long as render phase updates continue to
    // be scheduled. Use a counter to prevent infinite loops.
    var numberOfReRenders = 0;

    do {
      didScheduleRenderPhaseUpdateDuringThisPass = false;
      localIdCounter = 0;

      if (numberOfReRenders >= RE_RENDER_LIMIT) {
        throw new Error('Too many re-renders. React limits the number of renders to prevent ' + 'an infinite loop.');
      }

      numberOfReRenders += 1;

      {
        // Even when hot reloading, allow dependencies to stabilize
        // after first render to prevent infinite render phase updates.
        ignorePreviousDependencies = false;
      } // Start over from the beginning of the list


      currentHook = null;
      workInProgressHook = null;
      workInProgress.updateQueue = null;

      {
        // Also validate hook order for cascading updates.
        hookTypesUpdateIndexDev = -1;
      }

      ReactCurrentDispatcher$1.current =  HooksDispatcherOnRerenderInDEV ;
      children = Component(props, secondArg);
    } while (didScheduleRenderPhaseUpdateDuringThisPass);
  } // We can assume the previous dispatcher is always this one, since we set it
  // at the beginning of the render phase and there's no re-entrance.


  ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;

  {
    workInProgress._debugHookTypes = hookTypesDev;
  } // This check uses currentHook so that it works the same in DEV and prod bundles.
  // hookTypesDev could catch more cases (e.g. context) but only in DEV bundles.


  var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null;
  renderLanes = NoLanes;
  currentlyRenderingFiber$1 = null;
  currentHook = null;
  workInProgressHook = null;

  {
    currentHookNameInDev = null;
    hookTypesDev = null;
    hookTypesUpdateIndexDev = -1; // Confirm that a static flag was not added or removed since the last
    // render. If this fires, it suggests that we incorrectly reset the static
    // flags in some other part of the codebase. This has happened before, for
    // example, in the SuspenseList implementation.

    if (current !== null && (current.flags & StaticMask) !== (workInProgress.flags & StaticMask) && // Disable this warning in legacy mode, because legacy Suspense is weird
    // and creates false positives. To make this work in legacy mode, we'd
    // need to mark fibers that commit in an incomplete state, somehow. For
    // now I'll disable the warning that most of the bugs that would trigger
    // it are either exclusive to concurrent mode or exist in both.
    (current.mode & ConcurrentMode) !== NoMode) {
      error('Internal React error: Expected static flag was missing. Please ' + 'notify the React team.');
    }
  }

  didScheduleRenderPhaseUpdate = false; // This is reset by checkDidRenderIdHook
  // localIdCounter = 0;

  if (didRenderTooFewHooks) {
    throw new Error('Rendered fewer hooks than expected. This may be caused by an accidental ' + 'early return statement.');
  }

  return children;
}
function checkDidRenderIdHook() {
  // This should be called immediately after every renderWithHooks call.
  // Conceptually, it's part of the return value of renderWithHooks; it's only a
  // separate function to avoid using an array tuple.
  var didRenderIdHook = localIdCounter !== 0;
  localIdCounter = 0;
  return didRenderIdHook;
}
function bailoutHooks(current, workInProgress, lanes) {
  workInProgress.updateQueue = current.updateQueue; // TODO: Don't need to reset the flags here, because they're reset in the
  // complete phase (bubbleProperties).

  if ( (workInProgress.mode & StrictEffectsMode) !== NoMode) {
    workInProgress.flags &= ~(MountPassiveDev | MountLayoutDev | Passive | Update);
  } else {
    workInProgress.flags &= ~(Passive | Update);
  }

  current.lanes = removeLanes(current.lanes, lanes);
}
function resetHooksAfterThrow() {
  // We can assume the previous dispatcher is always this one, since we set it
  // at the beginning of the render phase and there's no re-entrance.
  ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;

  if (didScheduleRenderPhaseUpdate) {
    // There were render phase updates. These are only valid for this render
    // phase, which we are now aborting. Remove the updates from the queues so
    // they do not persist to the next render. Do not remove updates from hooks
    // that weren't processed.
    //
    // Only reset the updates from the queue if it has a clone. If it does
    // not have a clone, that means it wasn't processed, and the updates were
    // scheduled before we entered the render phase.
    var hook = currentlyRenderingFiber$1.memoizedState;

    while (hook !== null) {
      var queue = hook.queue;

      if (queue !== null) {
        queue.pending = null;
      }

      hook = hook.next;
    }

    didScheduleRenderPhaseUpdate = false;
  }

  renderLanes = NoLanes;
  currentlyRenderingFiber$1 = null;
  currentHook = null;
  workInProgressHook = null;

  {
    hookTypesDev = null;
    hookTypesUpdateIndexDev = -1;
    currentHookNameInDev = null;
    isUpdatingOpaqueValueInRenderPhase = false;
  }

  didScheduleRenderPhaseUpdateDuringThisPass = false;
  localIdCounter = 0;
}

function mountWorkInProgressHook() {
  var hook = {
    memoizedState: null,
    baseState: null,
    baseQueue: null,
    queue: null,
    next: null
  };

  if (workInProgressHook === null) {
    // This is the first hook in the list
    currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook;
  } else {
    // Append to the end of the list
    workInProgressHook = workInProgressHook.next = hook;
  }

  return workInProgressHook;
}

function updateWorkInProgressHook() {
  // This function is used both for updates and for re-renders triggered by a
  // render phase update. It assumes there is either a current hook we can
  // clone, or a work-in-progress hook from a previous render pass that we can
  // use as a base. When we reach the end of the base list, we must switch to
  // the dispatcher used for mounts.
  var nextCurrentHook;

  if (currentHook === null) {
    var current = currentlyRenderingFiber$1.alternate;

    if (current !== null) {
      nextCurrentHook = current.memoizedState;
    } else {
      nextCurrentHook = null;
    }
  } else {
    nextCurrentHook = currentHook.next;
  }

  var nextWorkInProgressHook;

  if (workInProgressHook === null) {
    nextWorkInProgressHook = currentlyRenderingFiber$1.memoizedState;
  } else {
    nextWorkInProgressHook = workInProgressHook.next;
  }

  if (nextWorkInProgressHook !== null) {
    // There's already a work-in-progress. Reuse it.
    workInProgressHook = nextWorkInProgressHook;
    nextWorkInProgressHook = workInProgressHook.next;
    currentHook = nextCurrentHook;
  } else {
    // Clone from the current hook.
    if (nextCurrentHook === null) {
      throw new Error('Rendered more hooks than during the previous render.');
    }

    currentHook = nextCurrentHook;
    var newHook = {
      memoizedState: currentHook.memoizedState,
      baseState: currentHook.baseState,
      baseQueue: currentHook.baseQueue,
      queue: currentHook.queue,
      next: null
    };

    if (workInProgressHook === null) {
      // This is the first hook in the list.
      currentlyRenderingFiber$1.memoizedState = workInProgressHook = newHook;
    } else {
      // Append to the end of the list.
      workInProgressHook = workInProgressHook.next = newHook;
    }
  }

  return workInProgressHook;
}

function createFunctionComponentUpdateQueue() {
  return {
    lastEffect: null,
    stores: null
  };
}

function basicStateReducer(state, action) {
  // $FlowFixMe: Flow doesn't like mixed types
  return typeof action === 'function' ? action(state) : action;
}

function mountReducer(reducer, initialArg, init) {
  var hook = mountWorkInProgressHook();
  var initialState;

  if (init !== undefined) {
    initialState = init(initialArg);
  } else {
    initialState = initialArg;
  }

  hook.memoizedState = hook.baseState = initialState;
  var queue = {
    pending: null,
    interleaved: null,
    lanes: NoLanes,
    dispatch: null,
    lastRenderedReducer: reducer,
    lastRenderedState: initialState
  };
  hook.queue = queue;
  var dispatch = queue.dispatch = dispatchReducerAction.bind(null, currentlyRenderingFiber$1, queue);
  return [hook.memoizedState, dispatch];
}

function updateReducer(reducer, initialArg, init) {
  var hook = updateWorkInProgressHook();
  var queue = hook.queue;

  if (queue === null) {
    throw new Error('Should have a queue. This is likely a bug in React. Please file an issue.');
  }

  queue.lastRenderedReducer = reducer;
  var current = currentHook; // The last rebase update that is NOT part of the base state.

  var baseQueue = current.baseQueue; // The last pending update that hasn't been processed yet.

  var pendingQueue = queue.pending;

  if (pendingQueue !== null) {
    // We have new updates that haven't been processed yet.
    // We'll add them to the base queue.
    if (baseQueue !== null) {
      // Merge the pending queue and the base queue.
      var baseFirst = baseQueue.next;
      var pendingFirst = pendingQueue.next;
      baseQueue.next = pendingFirst;
      pendingQueue.next = baseFirst;
    }

    {
      if (current.baseQueue !== baseQueue) {
        // Internal invariant that should never happen, but feasibly could in
        // the future if we implement resuming, or some form of that.
        error('Internal error: Expected work-in-progress queue to be a clone. ' + 'This is a bug in React.');
      }
    }

    current.baseQueue = baseQueue = pendingQueue;
    queue.pending = null;
  }

  if (baseQueue !== null) {
    // We have a queue to process.
    var first = baseQueue.next;
    var newState = current.baseState;
    var newBaseState = null;
    var newBaseQueueFirst = null;
    var newBaseQueueLast = null;
    var update = first;

    do {
      var updateLane = update.lane;

      if (!isSubsetOfLanes(renderLanes, updateLane)) {
        // Priority is insufficient. Skip this update. If this is the first
        // skipped update, the previous update/state is the new base
        // update/state.
        var clone = {
          lane: updateLane,
          action: update.action,
          hasEagerState: update.hasEagerState,
          eagerState: update.eagerState,
          next: null
        };

        if (newBaseQueueLast === null) {
          newBaseQueueFirst = newBaseQueueLast = clone;
          newBaseState = newState;
        } else {
          newBaseQueueLast = newBaseQueueLast.next = clone;
        } // Update the remaining priority in the queue.
        // TODO: Don't need to accumulate this. Instead, we can remove
        // renderLanes from the original lanes.


        currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, updateLane);
        markSkippedUpdateLanes(updateLane);
      } else {
        // This update does have sufficient priority.
        if (newBaseQueueLast !== null) {
          var _clone = {
            // This update is going to be committed so we never want uncommit
            // it. Using NoLane works because 0 is a subset of all bitmasks, so
            // this will never be skipped by the check above.
            lane: NoLane,
            action: update.action,
            hasEagerState: update.hasEagerState,
            eagerState: update.eagerState,
            next: null
          };
          newBaseQueueLast = newBaseQueueLast.next = _clone;
        } // Process this update.


        if (update.hasEagerState) {
          // If this update is a state update (not a reducer) and was processed eagerly,
          // we can use the eagerly computed state
          newState = update.eagerState;
        } else {
          var action = update.action;
          newState = reducer(newState, action);
        }
      }

      update = update.next;
    } while (update !== null && update !== first);

    if (newBaseQueueLast === null) {
      newBaseState = newState;
    } else {
      newBaseQueueLast.next = newBaseQueueFirst;
    } // Mark that the fiber performed work, but only if the new state is
    // different from the current state.


    if (!objectIs(newState, hook.memoizedState)) {
      markWorkInProgressReceivedUpdate();
    }

    hook.memoizedState = newState;
    hook.baseState = newBaseState;
    hook.baseQueue = newBaseQueueLast;
    queue.lastRenderedState = newState;
  } // Interleaved updates are stored on a separate queue. We aren't going to
  // process them during this render, but we do need to track which lanes
  // are remaining.


  var lastInterleaved = queue.interleaved;

  if (lastInterleaved !== null) {
    var interleaved = lastInterleaved;

    do {
      var interleavedLane = interleaved.lane;
      currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, interleavedLane);
      markSkippedUpdateLanes(interleavedLane);
      interleaved = interleaved.next;
    } while (interleaved !== lastInterleaved);
  } else if (baseQueue === null) {
    // `queue.lanes` is used for entangling transitions. We can set it back to
    // zero once the queue is empty.
    queue.lanes = NoLanes;
  }

  var dispatch = queue.dispatch;
  return [hook.memoizedState, dispatch];
}

function rerenderReducer(reducer, initialArg, init) {
  var hook = updateWorkInProgressHook();
  var queue = hook.queue;

  if (queue === null) {
    throw new Error('Should have a queue. This is likely a bug in React. Please file an issue.');
  }

  queue.lastRenderedReducer = reducer; // This is a re-render. Apply the new render phase updates to the previous
  // work-in-progress hook.

  var dispatch = queue.dispatch;
  var lastRenderPhaseUpdate = queue.pending;
  var newState = hook.memoizedState;

  if (lastRenderPhaseUpdate !== null) {
    // The queue doesn't persist past this render pass.
    queue.pending = null;
    var firstRenderPhaseUpdate = lastRenderPhaseUpdate.next;
    var update = firstRenderPhaseUpdate;

    do {
      // Process this render phase update. We don't have to check the
      // priority because it will always be the same as the current
      // render's.
      var action = update.action;
      newState = reducer(newState, action);
      update = update.next;
    } while (update !== firstRenderPhaseUpdate); // Mark that the fiber performed work, but only if the new state is
    // different from the current state.


    if (!objectIs(newState, hook.memoizedState)) {
      markWorkInProgressReceivedUpdate();
    }

    hook.memoizedState = newState; // Don't persist the state accumulated from the render phase updates to
    // the base state unless the queue is empty.
    // TODO: Not sure if this is the desired semantics, but it's what we
    // do for gDSFP. I can't remember why.

    if (hook.baseQueue === null) {
      hook.baseState = newState;
    }

    queue.lastRenderedState = newState;
  }

  return [newState, dispatch];
}

function mountMutableSource(source, getSnapshot, subscribe) {
  {
    return undefined;
  }
}

function updateMutableSource(source, getSnapshot, subscribe) {
  {
    return undefined;
  }
}

function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
  var fiber = currentlyRenderingFiber$1;
  var hook = mountWorkInProgressHook();
  var nextSnapshot;
  var isHydrating = getIsHydrating();

  if (isHydrating) {
    if (getServerSnapshot === undefined) {
      throw new Error('Missing getServerSnapshot, which is required for ' + 'server-rendered content. Will revert to client rendering.');
    }

    nextSnapshot = getServerSnapshot();

    {
      if (!didWarnUncachedGetSnapshot) {
        if (nextSnapshot !== getServerSnapshot()) {
          error('The result of getServerSnapshot should be cached to avoid an infinite loop');

          didWarnUncachedGetSnapshot = true;
        }
      }
    }
  } else {
    nextSnapshot = getSnapshot();

    {
      if (!didWarnUncachedGetSnapshot) {
        var cachedSnapshot = getSnapshot();

        if (!objectIs(nextSnapshot, cachedSnapshot)) {
          error('The result of getSnapshot should be cached to avoid an infinite loop');

          didWarnUncachedGetSnapshot = true;
        }
      }
    } // Unless we're rendering a blocking lane, schedule a consistency check.
    // Right before committing, we will walk the tree and check if any of the
    // stores were mutated.
    //
    // We won't do this if we're hydrating server-rendered content, because if
    // the content is stale, it's already visible anyway. Instead we'll patch
    // it up in a passive effect.


    var root = getWorkInProgressRoot();

    if (root === null) {
      throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.');
    }

    if (!includesBlockingLane(root, renderLanes)) {
      pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
    }
  } // Read the current snapshot from the store on every render. This breaks the
  // normal rules of React, and only works because store updates are
  // always synchronous.


  hook.memoizedState = nextSnapshot;
  var inst = {
    value: nextSnapshot,
    getSnapshot: getSnapshot
  };
  hook.queue = inst; // Schedule an effect to subscribe to the store.

  mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [subscribe]); // Schedule an effect to update the mutable instance fields. We will update
  // this whenever subscribe, getSnapshot, or value changes. Because there's no
  // clean-up function, and we track the deps correctly, we can call pushEffect
  // directly, without storing any additional state. For the same reason, we
  // don't need to set a static flag, either.
  // TODO: We can move this to the passive phase once we add a pre-commit
  // consistency check. See the next comment.

  fiber.flags |= Passive;
  pushEffect(HasEffect | Passive$1, updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot), undefined, null);
  return nextSnapshot;
}

function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
  var fiber = currentlyRenderingFiber$1;
  var hook = updateWorkInProgressHook(); // Read the current snapshot from the store on every render. This breaks the
  // normal rules of React, and only works because store updates are
  // always synchronous.

  var nextSnapshot = getSnapshot();

  {
    if (!didWarnUncachedGetSnapshot) {
      var cachedSnapshot = getSnapshot();

      if (!objectIs(nextSnapshot, cachedSnapshot)) {
        error('The result of getSnapshot should be cached to avoid an infinite loop');

        didWarnUncachedGetSnapshot = true;
      }
    }
  }

  var prevSnapshot = hook.memoizedState;
  var snapshotChanged = !objectIs(prevSnapshot, nextSnapshot);

  if (snapshotChanged) {
    hook.memoizedState = nextSnapshot;
    markWorkInProgressReceivedUpdate();
  }

  var inst = hook.queue;
  updateEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [subscribe]); // Whenever getSnapshot or subscribe changes, we need to check in the
  // commit phase if there was an interleaved mutation. In concurrent mode
  // this can happen all the time, but even in synchronous mode, an earlier
  // effect may have mutated the store.

  if (inst.getSnapshot !== getSnapshot || snapshotChanged || // Check if the susbcribe function changed. We can save some memory by
  // checking whether we scheduled a subscription effect above.
  workInProgressHook !== null && workInProgressHook.memoizedState.tag & HasEffect) {
    fiber.flags |= Passive;
    pushEffect(HasEffect | Passive$1, updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot), undefined, null); // Unless we're rendering a blocking lane, schedule a consistency check.
    // Right before committing, we will walk the tree and check if any of the
    // stores were mutated.

    var root = getWorkInProgressRoot();

    if (root === null) {
      throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.');
    }

    if (!includesBlockingLane(root, renderLanes)) {
      pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
    }
  }

  return nextSnapshot;
}

function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {
  fiber.flags |= StoreConsistency;
  var check = {
    getSnapshot: getSnapshot,
    value: renderedSnapshot
  };
  var componentUpdateQueue = currentlyRenderingFiber$1.updateQueue;

  if (componentUpdateQueue === null) {
    componentUpdateQueue = createFunctionComponentUpdateQueue();
    currentlyRenderingFiber$1.updateQueue = componentUpdateQueue;
    componentUpdateQueue.stores = [check];
  } else {
    var stores = componentUpdateQueue.stores;

    if (stores === null) {
      componentUpdateQueue.stores = [check];
    } else {
      stores.push(check);
    }
  }
}

function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {
  // These are updated in the passive phase
  inst.value = nextSnapshot;
  inst.getSnapshot = getSnapshot; // Something may have been mutated in between render and commit. This could
  // have been in an event that fired before the passive effects, or it could
  // have been in a layout effect. In that case, we would have used the old
  // snapsho and getSnapshot values to bail out. We need to check one more time.

  if (checkIfSnapshotChanged(inst)) {
    // Force a re-render.
    forceStoreRerender(fiber);
  }
}

function subscribeToStore(fiber, inst, subscribe) {
  var handleStoreChange = function () {
    // The store changed. Check if the snapshot changed since the last time we
    // read from the store.
    if (checkIfSnapshotChanged(inst)) {
      // Force a re-render.
      forceStoreRerender(fiber);
    }
  }; // Subscribe to the store and return a clean-up function.


  return subscribe(handleStoreChange);
}

function checkIfSnapshotChanged(inst) {
  var latestGetSnapshot = inst.getSnapshot;
  var prevValue = inst.value;

  try {
    var nextValue = latestGetSnapshot();
    return !objectIs(prevValue, nextValue);
  } catch (error) {
    return true;
  }
}

function forceStoreRerender(fiber) {
  var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

  if (root !== null) {
    scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
  }
}

function mountState(initialState) {
  var hook = mountWorkInProgressHook();

  if (typeof initialState === 'function') {
    // $FlowFixMe: Flow doesn't like mixed types
    initialState = initialState();
  }

  hook.memoizedState = hook.baseState = initialState;
  var queue = {
    pending: null,
    interleaved: null,
    lanes: NoLanes,
    dispatch: null,
    lastRenderedReducer: basicStateReducer,
    lastRenderedState: initialState
  };
  hook.queue = queue;
  var dispatch = queue.dispatch = dispatchSetState.bind(null, currentlyRenderingFiber$1, queue);
  return [hook.memoizedState, dispatch];
}

function updateState(initialState) {
  return updateReducer(basicStateReducer);
}

function rerenderState(initialState) {
  return rerenderReducer(basicStateReducer);
}

function pushEffect(tag, create, destroy, deps) {
  var effect = {
    tag: tag,
    create: create,
    destroy: destroy,
    deps: deps,
    // Circular
    next: null
  };
  var componentUpdateQueue = currentlyRenderingFiber$1.updateQueue;

  if (componentUpdateQueue === null) {
    componentUpdateQueue = createFunctionComponentUpdateQueue();
    currentlyRenderingFiber$1.updateQueue = componentUpdateQueue;
    componentUpdateQueue.lastEffect = effect.next = effect;
  } else {
    var lastEffect = componentUpdateQueue.lastEffect;

    if (lastEffect === null) {
      componentUpdateQueue.lastEffect = effect.next = effect;
    } else {
      var firstEffect = lastEffect.next;
      lastEffect.next = effect;
      effect.next = firstEffect;
      componentUpdateQueue.lastEffect = effect;
    }
  }

  return effect;
}

function mountRef(initialValue) {
  var hook = mountWorkInProgressHook();

  {
    var _ref2 = {
      current: initialValue
    };
    hook.memoizedState = _ref2;
    return _ref2;
  }
}

function updateRef(initialValue) {
  var hook = updateWorkInProgressHook();
  return hook.memoizedState;
}

function mountEffectImpl(fiberFlags, hookFlags, create, deps) {
  var hook = mountWorkInProgressHook();
  var nextDeps = deps === undefined ? null : deps;
  currentlyRenderingFiber$1.flags |= fiberFlags;
  hook.memoizedState = pushEffect(HasEffect | hookFlags, create, undefined, nextDeps);
}

function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
  var hook = updateWorkInProgressHook();
  var nextDeps = deps === undefined ? null : deps;
  var destroy = undefined;

  if (currentHook !== null) {
    var prevEffect = currentHook.memoizedState;
    destroy = prevEffect.destroy;

    if (nextDeps !== null) {
      var prevDeps = prevEffect.deps;

      if (areHookInputsEqual(nextDeps, prevDeps)) {
        hook.memoizedState = pushEffect(hookFlags, create, destroy, nextDeps);
        return;
      }
    }
  }

  currentlyRenderingFiber$1.flags |= fiberFlags;
  hook.memoizedState = pushEffect(HasEffect | hookFlags, create, destroy, nextDeps);
}

function mountEffect(create, deps) {
  if ( (currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode) {
    return mountEffectImpl(MountPassiveDev | Passive | PassiveStatic, Passive$1, create, deps);
  } else {
    return mountEffectImpl(Passive | PassiveStatic, Passive$1, create, deps);
  }
}

function updateEffect(create, deps) {
  return updateEffectImpl(Passive, Passive$1, create, deps);
}

function mountInsertionEffect(create, deps) {
  return mountEffectImpl(Update, Insertion, create, deps);
}

function updateInsertionEffect(create, deps) {
  return updateEffectImpl(Update, Insertion, create, deps);
}

function mountLayoutEffect(create, deps) {
  var fiberFlags = Update;

  {
    fiberFlags |= LayoutStatic;
  }

  if ( (currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode) {
    fiberFlags |= MountLayoutDev;
  }

  return mountEffectImpl(fiberFlags, Layout, create, deps);
}

function updateLayoutEffect(create, deps) {
  return updateEffectImpl(Update, Layout, create, deps);
}

function imperativeHandleEffect(create, ref) {
  if (typeof ref === 'function') {
    var refCallback = ref;

    var _inst = create();

    refCallback(_inst);
    return function () {
      refCallback(null);
    };
  } else if (ref !== null && ref !== undefined) {
    var refObject = ref;

    {
      if (!refObject.hasOwnProperty('current')) {
        error('Expected useImperativeHandle() first argument to either be a ' + 'ref callback or React.createRef() object. Instead received: %s.', 'an object with keys {' + Object.keys(refObject).join(', ') + '}');
      }
    }

    var _inst2 = create();

    refObject.current = _inst2;
    return function () {
      refObject.current = null;
    };
  }
}

function mountImperativeHandle(ref, create, deps) {
  {
    if (typeof create !== 'function') {
      error('Expected useImperativeHandle() second argument to be a function ' + 'that creates a handle. Instead received: %s.', create !== null ? typeof create : 'null');
    }
  } // TODO: If deps are provided, should we skip comparing the ref itself?


  var effectDeps = deps !== null && deps !== undefined ? deps.concat([ref]) : null;
  var fiberFlags = Update;

  {
    fiberFlags |= LayoutStatic;
  }

  if ( (currentlyRenderingFiber$1.mode & StrictEffectsMode) !== NoMode) {
    fiberFlags |= MountLayoutDev;
  }

  return mountEffectImpl(fiberFlags, Layout, imperativeHandleEffect.bind(null, create, ref), effectDeps);
}

function updateImperativeHandle(ref, create, deps) {
  {
    if (typeof create !== 'function') {
      error('Expected useImperativeHandle() second argument to be a function ' + 'that creates a handle. Instead received: %s.', create !== null ? typeof create : 'null');
    }
  } // TODO: If deps are provided, should we skip comparing the ref itself?


  var effectDeps = deps !== null && deps !== undefined ? deps.concat([ref]) : null;
  return updateEffectImpl(Update, Layout, imperativeHandleEffect.bind(null, create, ref), effectDeps);
}

function mountDebugValue(value, formatterFn) {// This hook is normally a no-op.
  // The react-debug-hooks package injects its own implementation
  // so that e.g. DevTools can display custom hook values.
}

var updateDebugValue = mountDebugValue;

function mountCallback(callback, deps) {
  var hook = mountWorkInProgressHook();
  var nextDeps = deps === undefined ? null : deps;
  hook.memoizedState = [callback, nextDeps];
  return callback;
}

function updateCallback(callback, deps) {
  var hook = updateWorkInProgressHook();
  var nextDeps = deps === undefined ? null : deps;
  var prevState = hook.memoizedState;

  if (prevState !== null) {
    if (nextDeps !== null) {
      var prevDeps = prevState[1];

      if (areHookInputsEqual(nextDeps, prevDeps)) {
        return prevState[0];
      }
    }
  }

  hook.memoizedState = [callback, nextDeps];
  return callback;
}

function mountMemo(nextCreate, deps) {
  var hook = mountWorkInProgressHook();
  var nextDeps = deps === undefined ? null : deps;
  var nextValue = nextCreate();
  hook.memoizedState = [nextValue, nextDeps];
  return nextValue;
}

function updateMemo(nextCreate, deps) {
  var hook = updateWorkInProgressHook();
  var nextDeps = deps === undefined ? null : deps;
  var prevState = hook.memoizedState;

  if (prevState !== null) {
    // Assume these are defined. If they're not, areHookInputsEqual will warn.
    if (nextDeps !== null) {
      var prevDeps = prevState[1];

      if (areHookInputsEqual(nextDeps, prevDeps)) {
        return prevState[0];
      }
    }
  }

  var nextValue = nextCreate();
  hook.memoizedState = [nextValue, nextDeps];
  return nextValue;
}

function mountDeferredValue(value) {
  var hook = mountWorkInProgressHook();
  hook.memoizedState = value;
  return value;
}

function updateDeferredValue(value) {
  var hook = updateWorkInProgressHook();
  var resolvedCurrentHook = currentHook;
  var prevValue = resolvedCurrentHook.memoizedState;
  return updateDeferredValueImpl(hook, prevValue, value);
}

function rerenderDeferredValue(value) {
  var hook = updateWorkInProgressHook();

  if (currentHook === null) {
    // This is a rerender during a mount.
    hook.memoizedState = value;
    return value;
  } else {
    // This is a rerender during an update.
    var prevValue = currentHook.memoizedState;
    return updateDeferredValueImpl(hook, prevValue, value);
  }
}

function updateDeferredValueImpl(hook, prevValue, value) {
  var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes);

  if (shouldDeferValue) {
    // This is an urgent update. If the value has changed, keep using the
    // previous value and spawn a deferred render to update it later.
    if (!objectIs(value, prevValue)) {
      // Schedule a deferred render
      var deferredLane = claimNextTransitionLane();
      currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane);
      markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent
      // from the latest value. The name "baseState" doesn't really match how we
      // use it because we're reusing a state hook field instead of creating a
      // new one.

      hook.baseState = true;
    } // Reuse the previous value


    return prevValue;
  } else {
    // This is not an urgent update, so we can use the latest value regardless
    // of what it is. No need to defer it.
    // However, if we're currently inside a spawned render, then we need to mark
    // this as an update to prevent the fiber from bailing out.
    //
    // `baseState` is true when the current value is different from the rendered
    // value. The name doesn't really match how we use it because we're reusing
    // a state hook field instead of creating a new one.
    if (hook.baseState) {
      // Flip this back to false.
      hook.baseState = false;
      markWorkInProgressReceivedUpdate();
    }

    hook.memoizedState = value;
    return value;
  }
}

function startTransition(setPending, callback, options) {
  var previousPriority = getCurrentUpdatePriority();
  setCurrentUpdatePriority(higherEventPriority(previousPriority, ContinuousEventPriority));
  setPending(true);
  var prevTransition = ReactCurrentBatchConfig$2.transition;
  ReactCurrentBatchConfig$2.transition = {};
  var currentTransition = ReactCurrentBatchConfig$2.transition;

  {
    ReactCurrentBatchConfig$2.transition._updatedFibers = new Set();
  }

  try {
    setPending(false);
    callback();
  } finally {
    setCurrentUpdatePriority(previousPriority);
    ReactCurrentBatchConfig$2.transition = prevTransition;

    {
      if (prevTransition === null && currentTransition._updatedFibers) {
        var updatedFibersCount = currentTransition._updatedFibers.size;

        if (updatedFibersCount > 10) {
          warn('Detected a large number of updates inside startTransition. ' + 'If this is due to a subscription please re-write it to use React provided hooks. ' + 'Otherwise concurrent mode guarantees are off the table.');
        }

        currentTransition._updatedFibers.clear();
      }
    }
  }
}

function mountTransition() {
  var _mountState = mountState(false),
      isPending = _mountState[0],
      setPending = _mountState[1]; // The `start` method never changes.


  var start = startTransition.bind(null, setPending);
  var hook = mountWorkInProgressHook();
  hook.memoizedState = start;
  return [isPending, start];
}

function updateTransition() {
  var _updateState = updateState(),
      isPending = _updateState[0];

  var hook = updateWorkInProgressHook();
  var start = hook.memoizedState;
  return [isPending, start];
}

function rerenderTransition() {
  var _rerenderState = rerenderState(),
      isPending = _rerenderState[0];

  var hook = updateWorkInProgressHook();
  var start = hook.memoizedState;
  return [isPending, start];
}

var isUpdatingOpaqueValueInRenderPhase = false;
function getIsUpdatingOpaqueValueInRenderPhaseInDEV() {
  {
    return isUpdatingOpaqueValueInRenderPhase;
  }
}

function mountId() {
  var hook = mountWorkInProgressHook();
  var root = getWorkInProgressRoot(); // TODO: In Fizz, id generation is specific to each server config. Maybe we
  // should do this in Fiber, too? Deferring this decision for now because
  // there's no other place to store the prefix except for an internal field on
  // the public createRoot object, which the fiber tree does not currently have
  // a reference to.

  var identifierPrefix = root.identifierPrefix;
  var id;

  if (getIsHydrating()) {
    var treeId = getTreeId(); // Use a captial R prefix for server-generated ids.

    id = ':' + identifierPrefix + 'R' + treeId; // Unless this is the first id at this level, append a number at the end
    // that represents the position of this useId hook among all the useId
    // hooks for this fiber.

    var localId = localIdCounter++;

    if (localId > 0) {
      id += 'H' + localId.toString(32);
    }

    id += ':';
  } else {
    // Use a lowercase r prefix for client-generated ids.
    var globalClientId = globalClientIdCounter++;
    id = ':' + identifierPrefix + 'r' + globalClientId.toString(32) + ':';
  }

  hook.memoizedState = id;
  return id;
}

function updateId() {
  var hook = updateWorkInProgressHook();
  var id = hook.memoizedState;
  return id;
}

function dispatchReducerAction(fiber, queue, action) {
  {
    if (typeof arguments[3] === 'function') {
      error("State updates from the useState() and useReducer() Hooks don't support the " + 'second callback argument. To execute a side effect after ' + 'rendering, declare it in the component body with useEffect().');
    }
  }

  var lane = requestUpdateLane(fiber);
  var update = {
    lane: lane,
    action: action,
    hasEagerState: false,
    eagerState: null,
    next: null
  };

  if (isRenderPhaseUpdate(fiber)) {
    enqueueRenderPhaseUpdate(queue, update);
  } else {
    var root = enqueueConcurrentHookUpdate(fiber, queue, update, lane);

    if (root !== null) {
      var eventTime = requestEventTime();
      scheduleUpdateOnFiber(root, fiber, lane, eventTime);
      entangleTransitionUpdate(root, queue, lane);
    }
  }

  markUpdateInDevTools(fiber, lane);
}

function dispatchSetState(fiber, queue, action) {
  {
    if (typeof arguments[3] === 'function') {
      error("State updates from the useState() and useReducer() Hooks don't support the " + 'second callback argument. To execute a side effect after ' + 'rendering, declare it in the component body with useEffect().');
    }
  }

  var lane = requestUpdateLane(fiber);
  var update = {
    lane: lane,
    action: action,
    hasEagerState: false,
    eagerState: null,
    next: null
  };

  if (isRenderPhaseUpdate(fiber)) {
    enqueueRenderPhaseUpdate(queue, update);
  } else {
    var alternate = fiber.alternate;

    if (fiber.lanes === NoLanes && (alternate === null || alternate.lanes === NoLanes)) {
      // The queue is currently empty, which means we can eagerly compute the
      // next state before entering the render phase. If the new state is the
      // same as the current state, we may be able to bail out entirely.
      var lastRenderedReducer = queue.lastRenderedReducer;

      if (lastRenderedReducer !== null) {
        var prevDispatcher;

        {
          prevDispatcher = ReactCurrentDispatcher$1.current;
          ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;
        }

        try {
          var currentState = queue.lastRenderedState;
          var eagerState = lastRenderedReducer(currentState, action); // Stash the eagerly computed state, and the reducer used to compute
          // it, on the update object. If the reducer hasn't changed by the
          // time we enter the render phase, then the eager state can be used
          // without calling the reducer again.

          update.hasEagerState = true;
          update.eagerState = eagerState;

          if (objectIs(eagerState, currentState)) {
            // Fast path. We can bail out without scheduling React to re-render.
            // It's still possible that we'll need to rebase this update later,
            // if the component re-renders for a different reason and by that
            // time the reducer has changed.
            // TODO: Do we still need to entangle transitions in this case?
            enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, update, lane);
            return;
          }
        } catch (error) {// Suppress the error. It will throw again in the render phase.
        } finally {
          {
            ReactCurrentDispatcher$1.current = prevDispatcher;
          }
        }
      }
    }

    var root = enqueueConcurrentHookUpdate(fiber, queue, update, lane);

    if (root !== null) {
      var eventTime = requestEventTime();
      scheduleUpdateOnFiber(root, fiber, lane, eventTime);
      entangleTransitionUpdate(root, queue, lane);
    }
  }

  markUpdateInDevTools(fiber, lane);
}

function isRenderPhaseUpdate(fiber) {
  var alternate = fiber.alternate;
  return fiber === currentlyRenderingFiber$1 || alternate !== null && alternate === currentlyRenderingFiber$1;
}

function enqueueRenderPhaseUpdate(queue, update) {
  // This is a render phase update. Stash it in a lazily-created map of
  // queue -> linked list of updates. After this render pass, we'll restart
  // and apply the stashed updates on top of the work-in-progress hook.
  didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = true;
  var pending = queue.pending;

  if (pending === null) {
    // This is the first update. Create a circular list.
    update.next = update;
  } else {
    update.next = pending.next;
    pending.next = update;
  }

  queue.pending = update;
} // TODO: Move to ReactFiberConcurrentUpdates?


function entangleTransitionUpdate(root, queue, lane) {
  if (isTransitionLane(lane)) {
    var queueLanes = queue.lanes; // If any entangled lanes are no longer pending on the root, then they
    // must have finished. We can remove them from the shared queue, which
    // represents a superset of the actually pending lanes. In some cases we
    // may entangle more than we need to, but that's OK. In fact it's worse if
    // we *don't* entangle when we should.

    queueLanes = intersectLanes(queueLanes, root.pendingLanes); // Entangle the new transition lane with the other transition lanes.

    var newQueueLanes = mergeLanes(queueLanes, lane);
    queue.lanes = newQueueLanes; // Even if queue.lanes already include lane, we don't know for certain if
    // the lane finished since the last time we entangled it. So we need to
    // entangle it again, just to be sure.

    markRootEntangled(root, newQueueLanes);
  }
}

function markUpdateInDevTools(fiber, lane, action) {

  {
    markStateUpdateScheduled(fiber, lane);
  }
}

var ContextOnlyDispatcher = {
  readContext: readContext,
  useCallback: throwInvalidHookError,
  useContext: throwInvalidHookError,
  useEffect: throwInvalidHookError,
  useImperativeHandle: throwInvalidHookError,
  useInsertionEffect: throwInvalidHookError,
  useLayoutEffect: throwInvalidHookError,
  useMemo: throwInvalidHookError,
  useReducer: throwInvalidHookError,
  useRef: throwInvalidHookError,
  useState: throwInvalidHookError,
  useDebugValue: throwInvalidHookError,
  useDeferredValue: throwInvalidHookError,
  useTransition: throwInvalidHookError,
  useMutableSource: throwInvalidHookError,
  useSyncExternalStore: throwInvalidHookError,
  useId: throwInvalidHookError,
  unstable_isNewReconciler: enableNewReconciler
};

var HooksDispatcherOnMountInDEV = null;
var HooksDispatcherOnMountWithHookTypesInDEV = null;
var HooksDispatcherOnUpdateInDEV = null;
var HooksDispatcherOnRerenderInDEV = null;
var InvalidNestedHooksDispatcherOnMountInDEV = null;
var InvalidNestedHooksDispatcherOnUpdateInDEV = null;
var InvalidNestedHooksDispatcherOnRerenderInDEV = null;

{
  var warnInvalidContextAccess = function () {
    error('Context can only be read while React is rendering. ' + 'In classes, you can read it in the render method or getDerivedStateFromProps. ' + 'In function components, you can read it directly in the function body, but not ' + 'inside Hooks like useReducer() or useMemo().');
  };

  var warnInvalidHookAccess = function () {
    error('Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. ' + 'You can only call Hooks at the top level of your React function. ' + 'For more information, see ' + 'https://reactjs.org/link/rules-of-hooks');
  };

  HooksDispatcherOnMountInDEV = {
    readContext: function (context) {
      return readContext(context);
    },
    useCallback: function (callback, deps) {
      currentHookNameInDev = 'useCallback';
      mountHookTypesDev();
      checkDepsAreArrayDev(deps);
      return mountCallback(callback, deps);
    },
    useContext: function (context) {
      currentHookNameInDev = 'useContext';
      mountHookTypesDev();
      return readContext(context);
    },
    useEffect: function (create, deps) {
      currentHookNameInDev = 'useEffect';
      mountHookTypesDev();
      checkDepsAreArrayDev(deps);
      return mountEffect(create, deps);
    },
    useImperativeHandle: function (ref, create, deps) {
      currentHookNameInDev = 'useImperativeHandle';
      mountHookTypesDev();
      checkDepsAreArrayDev(deps);
      return mountImperativeHandle(ref, create, deps);
    },
    useInsertionEffect: function (create, deps) {
      currentHookNameInDev = 'useInsertionEffect';
      mountHookTypesDev();
      checkDepsAreArrayDev(deps);
      return mountInsertionEffect(create, deps);
    },
    useLayoutEffect: function (create, deps) {
      currentHookNameInDev = 'useLayoutEffect';
      mountHookTypesDev();
      checkDepsAreArrayDev(deps);
      return mountLayoutEffect(create, deps);
    },
    useMemo: function (create, deps) {
      currentHookNameInDev = 'useMemo';
      mountHookTypesDev();
      checkDepsAreArrayDev(deps);
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountMemo(create, deps);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useReducer: function (reducer, initialArg, init) {
      currentHookNameInDev = 'useReducer';
      mountHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountReducer(reducer, initialArg, init);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useRef: function (initialValue) {
      currentHookNameInDev = 'useRef';
      mountHookTypesDev();
      return mountRef(initialValue);
    },
    useState: function (initialState) {
      currentHookNameInDev = 'useState';
      mountHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountState(initialState);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useDebugValue: function (value, formatterFn) {
      currentHookNameInDev = 'useDebugValue';
      mountHookTypesDev();
      return mountDebugValue();
    },
    useDeferredValue: function (value) {
      currentHookNameInDev = 'useDeferredValue';
      mountHookTypesDev();
      return mountDeferredValue(value);
    },
    useTransition: function () {
      currentHookNameInDev = 'useTransition';
      mountHookTypesDev();
      return mountTransition();
    },
    useMutableSource: function (source, getSnapshot, subscribe) {
      currentHookNameInDev = 'useMutableSource';
      mountHookTypesDev();
      return mountMutableSource();
    },
    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
      currentHookNameInDev = 'useSyncExternalStore';
      mountHookTypesDev();
      return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
    },
    useId: function () {
      currentHookNameInDev = 'useId';
      mountHookTypesDev();
      return mountId();
    },
    unstable_isNewReconciler: enableNewReconciler
  };

  HooksDispatcherOnMountWithHookTypesInDEV = {
    readContext: function (context) {
      return readContext(context);
    },
    useCallback: function (callback, deps) {
      currentHookNameInDev = 'useCallback';
      updateHookTypesDev();
      return mountCallback(callback, deps);
    },
    useContext: function (context) {
      currentHookNameInDev = 'useContext';
      updateHookTypesDev();
      return readContext(context);
    },
    useEffect: function (create, deps) {
      currentHookNameInDev = 'useEffect';
      updateHookTypesDev();
      return mountEffect(create, deps);
    },
    useImperativeHandle: function (ref, create, deps) {
      currentHookNameInDev = 'useImperativeHandle';
      updateHookTypesDev();
      return mountImperativeHandle(ref, create, deps);
    },
    useInsertionEffect: function (create, deps) {
      currentHookNameInDev = 'useInsertionEffect';
      updateHookTypesDev();
      return mountInsertionEffect(create, deps);
    },
    useLayoutEffect: function (create, deps) {
      currentHookNameInDev = 'useLayoutEffect';
      updateHookTypesDev();
      return mountLayoutEffect(create, deps);
    },
    useMemo: function (create, deps) {
      currentHookNameInDev = 'useMemo';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountMemo(create, deps);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useReducer: function (reducer, initialArg, init) {
      currentHookNameInDev = 'useReducer';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountReducer(reducer, initialArg, init);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useRef: function (initialValue) {
      currentHookNameInDev = 'useRef';
      updateHookTypesDev();
      return mountRef(initialValue);
    },
    useState: function (initialState) {
      currentHookNameInDev = 'useState';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountState(initialState);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useDebugValue: function (value, formatterFn) {
      currentHookNameInDev = 'useDebugValue';
      updateHookTypesDev();
      return mountDebugValue();
    },
    useDeferredValue: function (value) {
      currentHookNameInDev = 'useDeferredValue';
      updateHookTypesDev();
      return mountDeferredValue(value);
    },
    useTransition: function () {
      currentHookNameInDev = 'useTransition';
      updateHookTypesDev();
      return mountTransition();
    },
    useMutableSource: function (source, getSnapshot, subscribe) {
      currentHookNameInDev = 'useMutableSource';
      updateHookTypesDev();
      return mountMutableSource();
    },
    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
      currentHookNameInDev = 'useSyncExternalStore';
      updateHookTypesDev();
      return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
    },
    useId: function () {
      currentHookNameInDev = 'useId';
      updateHookTypesDev();
      return mountId();
    },
    unstable_isNewReconciler: enableNewReconciler
  };

  HooksDispatcherOnUpdateInDEV = {
    readContext: function (context) {
      return readContext(context);
    },
    useCallback: function (callback, deps) {
      currentHookNameInDev = 'useCallback';
      updateHookTypesDev();
      return updateCallback(callback, deps);
    },
    useContext: function (context) {
      currentHookNameInDev = 'useContext';
      updateHookTypesDev();
      return readContext(context);
    },
    useEffect: function (create, deps) {
      currentHookNameInDev = 'useEffect';
      updateHookTypesDev();
      return updateEffect(create, deps);
    },
    useImperativeHandle: function (ref, create, deps) {
      currentHookNameInDev = 'useImperativeHandle';
      updateHookTypesDev();
      return updateImperativeHandle(ref, create, deps);
    },
    useInsertionEffect: function (create, deps) {
      currentHookNameInDev = 'useInsertionEffect';
      updateHookTypesDev();
      return updateInsertionEffect(create, deps);
    },
    useLayoutEffect: function (create, deps) {
      currentHookNameInDev = 'useLayoutEffect';
      updateHookTypesDev();
      return updateLayoutEffect(create, deps);
    },
    useMemo: function (create, deps) {
      currentHookNameInDev = 'useMemo';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return updateMemo(create, deps);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useReducer: function (reducer, initialArg, init) {
      currentHookNameInDev = 'useReducer';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return updateReducer(reducer, initialArg, init);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useRef: function (initialValue) {
      currentHookNameInDev = 'useRef';
      updateHookTypesDev();
      return updateRef();
    },
    useState: function (initialState) {
      currentHookNameInDev = 'useState';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return updateState(initialState);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useDebugValue: function (value, formatterFn) {
      currentHookNameInDev = 'useDebugValue';
      updateHookTypesDev();
      return updateDebugValue();
    },
    useDeferredValue: function (value) {
      currentHookNameInDev = 'useDeferredValue';
      updateHookTypesDev();
      return updateDeferredValue(value);
    },
    useTransition: function () {
      currentHookNameInDev = 'useTransition';
      updateHookTypesDev();
      return updateTransition();
    },
    useMutableSource: function (source, getSnapshot, subscribe) {
      currentHookNameInDev = 'useMutableSource';
      updateHookTypesDev();
      return updateMutableSource();
    },
    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
      currentHookNameInDev = 'useSyncExternalStore';
      updateHookTypesDev();
      return updateSyncExternalStore(subscribe, getSnapshot);
    },
    useId: function () {
      currentHookNameInDev = 'useId';
      updateHookTypesDev();
      return updateId();
    },
    unstable_isNewReconciler: enableNewReconciler
  };

  HooksDispatcherOnRerenderInDEV = {
    readContext: function (context) {
      return readContext(context);
    },
    useCallback: function (callback, deps) {
      currentHookNameInDev = 'useCallback';
      updateHookTypesDev();
      return updateCallback(callback, deps);
    },
    useContext: function (context) {
      currentHookNameInDev = 'useContext';
      updateHookTypesDev();
      return readContext(context);
    },
    useEffect: function (create, deps) {
      currentHookNameInDev = 'useEffect';
      updateHookTypesDev();
      return updateEffect(create, deps);
    },
    useImperativeHandle: function (ref, create, deps) {
      currentHookNameInDev = 'useImperativeHandle';
      updateHookTypesDev();
      return updateImperativeHandle(ref, create, deps);
    },
    useInsertionEffect: function (create, deps) {
      currentHookNameInDev = 'useInsertionEffect';
      updateHookTypesDev();
      return updateInsertionEffect(create, deps);
    },
    useLayoutEffect: function (create, deps) {
      currentHookNameInDev = 'useLayoutEffect';
      updateHookTypesDev();
      return updateLayoutEffect(create, deps);
    },
    useMemo: function (create, deps) {
      currentHookNameInDev = 'useMemo';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;

      try {
        return updateMemo(create, deps);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useReducer: function (reducer, initialArg, init) {
      currentHookNameInDev = 'useReducer';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;

      try {
        return rerenderReducer(reducer, initialArg, init);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useRef: function (initialValue) {
      currentHookNameInDev = 'useRef';
      updateHookTypesDev();
      return updateRef();
    },
    useState: function (initialState) {
      currentHookNameInDev = 'useState';
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnRerenderInDEV;

      try {
        return rerenderState(initialState);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useDebugValue: function (value, formatterFn) {
      currentHookNameInDev = 'useDebugValue';
      updateHookTypesDev();
      return updateDebugValue();
    },
    useDeferredValue: function (value) {
      currentHookNameInDev = 'useDeferredValue';
      updateHookTypesDev();
      return rerenderDeferredValue(value);
    },
    useTransition: function () {
      currentHookNameInDev = 'useTransition';
      updateHookTypesDev();
      return rerenderTransition();
    },
    useMutableSource: function (source, getSnapshot, subscribe) {
      currentHookNameInDev = 'useMutableSource';
      updateHookTypesDev();
      return updateMutableSource();
    },
    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
      currentHookNameInDev = 'useSyncExternalStore';
      updateHookTypesDev();
      return updateSyncExternalStore(subscribe, getSnapshot);
    },
    useId: function () {
      currentHookNameInDev = 'useId';
      updateHookTypesDev();
      return updateId();
    },
    unstable_isNewReconciler: enableNewReconciler
  };

  InvalidNestedHooksDispatcherOnMountInDEV = {
    readContext: function (context) {
      warnInvalidContextAccess();
      return readContext(context);
    },
    useCallback: function (callback, deps) {
      currentHookNameInDev = 'useCallback';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountCallback(callback, deps);
    },
    useContext: function (context) {
      currentHookNameInDev = 'useContext';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return readContext(context);
    },
    useEffect: function (create, deps) {
      currentHookNameInDev = 'useEffect';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountEffect(create, deps);
    },
    useImperativeHandle: function (ref, create, deps) {
      currentHookNameInDev = 'useImperativeHandle';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountImperativeHandle(ref, create, deps);
    },
    useInsertionEffect: function (create, deps) {
      currentHookNameInDev = 'useInsertionEffect';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountInsertionEffect(create, deps);
    },
    useLayoutEffect: function (create, deps) {
      currentHookNameInDev = 'useLayoutEffect';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountLayoutEffect(create, deps);
    },
    useMemo: function (create, deps) {
      currentHookNameInDev = 'useMemo';
      warnInvalidHookAccess();
      mountHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountMemo(create, deps);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useReducer: function (reducer, initialArg, init) {
      currentHookNameInDev = 'useReducer';
      warnInvalidHookAccess();
      mountHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountReducer(reducer, initialArg, init);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useRef: function (initialValue) {
      currentHookNameInDev = 'useRef';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountRef(initialValue);
    },
    useState: function (initialState) {
      currentHookNameInDev = 'useState';
      warnInvalidHookAccess();
      mountHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnMountInDEV;

      try {
        return mountState(initialState);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useDebugValue: function (value, formatterFn) {
      currentHookNameInDev = 'useDebugValue';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountDebugValue();
    },
    useDeferredValue: function (value) {
      currentHookNameInDev = 'useDeferredValue';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountDeferredValue(value);
    },
    useTransition: function () {
      currentHookNameInDev = 'useTransition';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountTransition();
    },
    useMutableSource: function (source, getSnapshot, subscribe) {
      currentHookNameInDev = 'useMutableSource';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountMutableSource();
    },
    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
      currentHookNameInDev = 'useSyncExternalStore';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
    },
    useId: function () {
      currentHookNameInDev = 'useId';
      warnInvalidHookAccess();
      mountHookTypesDev();
      return mountId();
    },
    unstable_isNewReconciler: enableNewReconciler
  };

  InvalidNestedHooksDispatcherOnUpdateInDEV = {
    readContext: function (context) {
      warnInvalidContextAccess();
      return readContext(context);
    },
    useCallback: function (callback, deps) {
      currentHookNameInDev = 'useCallback';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateCallback(callback, deps);
    },
    useContext: function (context) {
      currentHookNameInDev = 'useContext';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return readContext(context);
    },
    useEffect: function (create, deps) {
      currentHookNameInDev = 'useEffect';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateEffect(create, deps);
    },
    useImperativeHandle: function (ref, create, deps) {
      currentHookNameInDev = 'useImperativeHandle';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateImperativeHandle(ref, create, deps);
    },
    useInsertionEffect: function (create, deps) {
      currentHookNameInDev = 'useInsertionEffect';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateInsertionEffect(create, deps);
    },
    useLayoutEffect: function (create, deps) {
      currentHookNameInDev = 'useLayoutEffect';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateLayoutEffect(create, deps);
    },
    useMemo: function (create, deps) {
      currentHookNameInDev = 'useMemo';
      warnInvalidHookAccess();
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return updateMemo(create, deps);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useReducer: function (reducer, initialArg, init) {
      currentHookNameInDev = 'useReducer';
      warnInvalidHookAccess();
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return updateReducer(reducer, initialArg, init);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useRef: function (initialValue) {
      currentHookNameInDev = 'useRef';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateRef();
    },
    useState: function (initialState) {
      currentHookNameInDev = 'useState';
      warnInvalidHookAccess();
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return updateState(initialState);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useDebugValue: function (value, formatterFn) {
      currentHookNameInDev = 'useDebugValue';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateDebugValue();
    },
    useDeferredValue: function (value) {
      currentHookNameInDev = 'useDeferredValue';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateDeferredValue(value);
    },
    useTransition: function () {
      currentHookNameInDev = 'useTransition';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateTransition();
    },
    useMutableSource: function (source, getSnapshot, subscribe) {
      currentHookNameInDev = 'useMutableSource';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateMutableSource();
    },
    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
      currentHookNameInDev = 'useSyncExternalStore';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateSyncExternalStore(subscribe, getSnapshot);
    },
    useId: function () {
      currentHookNameInDev = 'useId';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateId();
    },
    unstable_isNewReconciler: enableNewReconciler
  };

  InvalidNestedHooksDispatcherOnRerenderInDEV = {
    readContext: function (context) {
      warnInvalidContextAccess();
      return readContext(context);
    },
    useCallback: function (callback, deps) {
      currentHookNameInDev = 'useCallback';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateCallback(callback, deps);
    },
    useContext: function (context) {
      currentHookNameInDev = 'useContext';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return readContext(context);
    },
    useEffect: function (create, deps) {
      currentHookNameInDev = 'useEffect';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateEffect(create, deps);
    },
    useImperativeHandle: function (ref, create, deps) {
      currentHookNameInDev = 'useImperativeHandle';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateImperativeHandle(ref, create, deps);
    },
    useInsertionEffect: function (create, deps) {
      currentHookNameInDev = 'useInsertionEffect';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateInsertionEffect(create, deps);
    },
    useLayoutEffect: function (create, deps) {
      currentHookNameInDev = 'useLayoutEffect';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateLayoutEffect(create, deps);
    },
    useMemo: function (create, deps) {
      currentHookNameInDev = 'useMemo';
      warnInvalidHookAccess();
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return updateMemo(create, deps);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useReducer: function (reducer, initialArg, init) {
      currentHookNameInDev = 'useReducer';
      warnInvalidHookAccess();
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return rerenderReducer(reducer, initialArg, init);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useRef: function (initialValue) {
      currentHookNameInDev = 'useRef';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateRef();
    },
    useState: function (initialState) {
      currentHookNameInDev = 'useState';
      warnInvalidHookAccess();
      updateHookTypesDev();
      var prevDispatcher = ReactCurrentDispatcher$1.current;
      ReactCurrentDispatcher$1.current = InvalidNestedHooksDispatcherOnUpdateInDEV;

      try {
        return rerenderState(initialState);
      } finally {
        ReactCurrentDispatcher$1.current = prevDispatcher;
      }
    },
    useDebugValue: function (value, formatterFn) {
      currentHookNameInDev = 'useDebugValue';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateDebugValue();
    },
    useDeferredValue: function (value) {
      currentHookNameInDev = 'useDeferredValue';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return rerenderDeferredValue(value);
    },
    useTransition: function () {
      currentHookNameInDev = 'useTransition';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return rerenderTransition();
    },
    useMutableSource: function (source, getSnapshot, subscribe) {
      currentHookNameInDev = 'useMutableSource';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateMutableSource();
    },
    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
      currentHookNameInDev = 'useSyncExternalStore';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateSyncExternalStore(subscribe, getSnapshot);
    },
    useId: function () {
      currentHookNameInDev = 'useId';
      warnInvalidHookAccess();
      updateHookTypesDev();
      return updateId();
    },
    unstable_isNewReconciler: enableNewReconciler
  };
}

var now$1 = Scheduler.unstable_now;
var commitTime = 0;
var layoutEffectStartTime = -1;
var profilerStartTime = -1;
var passiveEffectStartTime = -1;
/**
 * Tracks whether the current update was a nested/cascading update (scheduled from a layout effect).
 *
 * The overall sequence is:
 *   1. render
 *   2. commit (and call `onRender`, `onCommit`)
 *   3. check for nested updates
 *   4. flush passive effects (and call `onPostCommit`)
 *
 * Nested updates are identified in step 3 above,
 * but step 4 still applies to the work that was just committed.
 * We use two flags to track nested updates then:
 * one tracks whether the upcoming update is a nested update,
 * and the other tracks whether the current update was a nested update.
 * The first value gets synced to the second at the start of the render phase.
 */

var currentUpdateIsNested = false;
var nestedUpdateScheduled = false;

function isCurrentUpdateNested() {
  return currentUpdateIsNested;
}

function markNestedUpdateScheduled() {
  {
    nestedUpdateScheduled = true;
  }
}

function resetNestedUpdateFlag() {
  {
    currentUpdateIsNested = false;
    nestedUpdateScheduled = false;
  }
}

function syncNestedUpdateFlag() {
  {
    currentUpdateIsNested = nestedUpdateScheduled;
    nestedUpdateScheduled = false;
  }
}

function getCommitTime() {
  return commitTime;
}

function recordCommitTime() {

  commitTime = now$1();
}

function startProfilerTimer(fiber) {

  profilerStartTime = now$1();

  if (fiber.actualStartTime < 0) {
    fiber.actualStartTime = now$1();
  }
}

function stopProfilerTimerIfRunning(fiber) {

  profilerStartTime = -1;
}

function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {

  if (profilerStartTime >= 0) {
    var elapsedTime = now$1() - profilerStartTime;
    fiber.actualDuration += elapsedTime;

    if (overrideBaseTime) {
      fiber.selfBaseDuration = elapsedTime;
    }

    profilerStartTime = -1;
  }
}

function recordLayoutEffectDuration(fiber) {

  if (layoutEffectStartTime >= 0) {
    var elapsedTime = now$1() - layoutEffectStartTime;
    layoutEffectStartTime = -1; // Store duration on the next nearest Profiler ancestor
    // Or the root (for the DevTools Profiler to read)

    var parentFiber = fiber.return;

    while (parentFiber !== null) {
      switch (parentFiber.tag) {
        case HostRoot:
          var root = parentFiber.stateNode;
          root.effectDuration += elapsedTime;
          return;

        case Profiler:
          var parentStateNode = parentFiber.stateNode;
          parentStateNode.effectDuration += elapsedTime;
          return;
      }

      parentFiber = parentFiber.return;
    }
  }
}

function recordPassiveEffectDuration(fiber) {

  if (passiveEffectStartTime >= 0) {
    var elapsedTime = now$1() - passiveEffectStartTime;
    passiveEffectStartTime = -1; // Store duration on the next nearest Profiler ancestor
    // Or the root (for the DevTools Profiler to read)

    var parentFiber = fiber.return;

    while (parentFiber !== null) {
      switch (parentFiber.tag) {
        case HostRoot:
          var root = parentFiber.stateNode;

          if (root !== null) {
            root.passiveEffectDuration += elapsedTime;
          }

          return;

        case Profiler:
          var parentStateNode = parentFiber.stateNode;

          if (parentStateNode !== null) {
            // Detached fibers have their state node cleared out.
            // In this case, the return pointer is also cleared out,
            // so we won't be able to report the time spent in this Profiler's subtree.
            parentStateNode.passiveEffectDuration += elapsedTime;
          }

          return;
      }

      parentFiber = parentFiber.return;
    }
  }
}

function startLayoutEffectTimer() {

  layoutEffectStartTime = now$1();
}

function startPassiveEffectTimer() {

  passiveEffectStartTime = now$1();
}

function transferActualDuration(fiber) {
  // Transfer time spent rendering these children so we don't lose it
  // after we rerender. This is used as a helper in special cases
  // where we should count the work of multiple passes.
  var child = fiber.child;

  while (child) {
    fiber.actualDuration += child.actualDuration;
    child = child.sibling;
  }
}

function resolveDefaultProps(Component, baseProps) {
  if (Component && Component.defaultProps) {
    // Resolve default props. Taken from ReactElement
    var props = assign({}, baseProps);
    var defaultProps = Component.defaultProps;

    for (var propName in defaultProps) {
      if (props[propName] === undefined) {
        props[propName] = defaultProps[propName];
      }
    }

    return props;
  }

  return baseProps;
}

var fakeInternalInstance = {};
var didWarnAboutStateAssignmentForComponent;
var didWarnAboutUninitializedState;
var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
var didWarnAboutLegacyLifecyclesAndDerivedState;
var didWarnAboutUndefinedDerivedState;
var warnOnUndefinedDerivedState;
var warnOnInvalidCallback;
var didWarnAboutDirectlyAssigningPropsToState;
var didWarnAboutContextTypeAndContextTypes;
var didWarnAboutInvalidateContextType;
var didWarnAboutLegacyContext$1;

{
  didWarnAboutStateAssignmentForComponent = new Set();
  didWarnAboutUninitializedState = new Set();
  didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = new Set();
  didWarnAboutLegacyLifecyclesAndDerivedState = new Set();
  didWarnAboutDirectlyAssigningPropsToState = new Set();
  didWarnAboutUndefinedDerivedState = new Set();
  didWarnAboutContextTypeAndContextTypes = new Set();
  didWarnAboutInvalidateContextType = new Set();
  didWarnAboutLegacyContext$1 = new Set();
  var didWarnOnInvalidCallback = new Set();

  warnOnInvalidCallback = function (callback, callerName) {
    if (callback === null || typeof callback === 'function') {
      return;
    }

    var key = callerName + '_' + callback;

    if (!didWarnOnInvalidCallback.has(key)) {
      didWarnOnInvalidCallback.add(key);

      error('%s(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callerName, callback);
    }
  };

  warnOnUndefinedDerivedState = function (type, partialState) {
    if (partialState === undefined) {
      var componentName = getComponentNameFromType(type) || 'Component';

      if (!didWarnAboutUndefinedDerivedState.has(componentName)) {
        didWarnAboutUndefinedDerivedState.add(componentName);

        error('%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. ' + 'You have returned undefined.', componentName);
      }
    }
  }; // This is so gross but it's at least non-critical and can be removed if
  // it causes problems. This is meant to give a nicer error message for
  // ReactDOM15.unstable_renderSubtreeIntoContainer(reactDOM16Component,
  // ...)) which otherwise throws a "_processChildContext is not a function"
  // exception.


  Object.defineProperty(fakeInternalInstance, '_processChildContext', {
    enumerable: false,
    value: function () {
      throw new Error('_processChildContext is not available in React 16+. This likely ' + 'means you have multiple copies of React and are attempting to nest ' + 'a React 15 tree inside a React 16 tree using ' + "unstable_renderSubtreeIntoContainer, which isn't supported. Try " + 'to make sure you have only one copy of React (and ideally, switch ' + 'to ReactDOM.createPortal).');
    }
  });
  Object.freeze(fakeInternalInstance);
}

function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {
  var prevState = workInProgress.memoizedState;
  var partialState = getDerivedStateFromProps(nextProps, prevState);

  {
    if ( workInProgress.mode & StrictLegacyMode) {
      setIsStrictModeForDevtools(true);

      try {
        // Invoke the function an extra time to help detect side-effects.
        partialState = getDerivedStateFromProps(nextProps, prevState);
      } finally {
        setIsStrictModeForDevtools(false);
      }
    }

    warnOnUndefinedDerivedState(ctor, partialState);
  } // Merge the partial state and the previous state.


  var memoizedState = partialState === null || partialState === undefined ? prevState : assign({}, prevState, partialState);
  workInProgress.memoizedState = memoizedState; // Once the update queue is empty, persist the derived state onto the
  // base state.

  if (workInProgress.lanes === NoLanes) {
    // Queue is always non-null for classes
    var updateQueue = workInProgress.updateQueue;
    updateQueue.baseState = memoizedState;
  }
}

var classComponentUpdater = {
  isMounted: isMounted,
  enqueueSetState: function (inst, payload, callback) {
    var fiber = get(inst);
    var eventTime = requestEventTime();
    var lane = requestUpdateLane(fiber);
    var update = createUpdate(eventTime, lane);
    update.payload = payload;

    if (callback !== undefined && callback !== null) {
      {
        warnOnInvalidCallback(callback, 'setState');
      }

      update.callback = callback;
    }

    var root = enqueueUpdate(fiber, update, lane);

    if (root !== null) {
      scheduleUpdateOnFiber(root, fiber, lane, eventTime);
      entangleTransitions(root, fiber, lane);
    }

    {
      markStateUpdateScheduled(fiber, lane);
    }
  },
  enqueueReplaceState: function (inst, payload, callback) {
    var fiber = get(inst);
    var eventTime = requestEventTime();
    var lane = requestUpdateLane(fiber);
    var update = createUpdate(eventTime, lane);
    update.tag = ReplaceState;
    update.payload = payload;

    if (callback !== undefined && callback !== null) {
      {
        warnOnInvalidCallback(callback, 'replaceState');
      }

      update.callback = callback;
    }

    var root = enqueueUpdate(fiber, update, lane);

    if (root !== null) {
      scheduleUpdateOnFiber(root, fiber, lane, eventTime);
      entangleTransitions(root, fiber, lane);
    }

    {
      markStateUpdateScheduled(fiber, lane);
    }
  },
  enqueueForceUpdate: function (inst, callback) {
    var fiber = get(inst);
    var eventTime = requestEventTime();
    var lane = requestUpdateLane(fiber);
    var update = createUpdate(eventTime, lane);
    update.tag = ForceUpdate;

    if (callback !== undefined && callback !== null) {
      {
        warnOnInvalidCallback(callback, 'forceUpdate');
      }

      update.callback = callback;
    }

    var root = enqueueUpdate(fiber, update, lane);

    if (root !== null) {
      scheduleUpdateOnFiber(root, fiber, lane, eventTime);
      entangleTransitions(root, fiber, lane);
    }

    {
      markForceUpdateScheduled(fiber, lane);
    }
  }
};

function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) {
  var instance = workInProgress.stateNode;

  if (typeof instance.shouldComponentUpdate === 'function') {
    var shouldUpdate = instance.shouldComponentUpdate(newProps, newState, nextContext);

    {
      if ( workInProgress.mode & StrictLegacyMode) {
        setIsStrictModeForDevtools(true);

        try {
          // Invoke the function an extra time to help detect side-effects.
          shouldUpdate = instance.shouldComponentUpdate(newProps, newState, nextContext);
        } finally {
          setIsStrictModeForDevtools(false);
        }
      }

      if (shouldUpdate === undefined) {
        error('%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', getComponentNameFromType(ctor) || 'Component');
      }
    }

    return shouldUpdate;
  }

  if (ctor.prototype && ctor.prototype.isPureReactComponent) {
    return !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState);
  }

  return true;
}

function checkClassInstance(workInProgress, ctor, newProps) {
  var instance = workInProgress.stateNode;

  {
    var name = getComponentNameFromType(ctor) || 'Component';
    var renderPresent = instance.render;

    if (!renderPresent) {
      if (ctor.prototype && typeof ctor.prototype.render === 'function') {
        error('%s(...): No `render` method found on the returned component ' + 'instance: did you accidentally return an object from the constructor?', name);
      } else {
        error('%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`.', name);
      }
    }

    if (instance.getInitialState && !instance.getInitialState.isReactClassApproved && !instance.state) {
      error('getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', name);
    }

    if (instance.getDefaultProps && !instance.getDefaultProps.isReactClassApproved) {
      error('getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', name);
    }

    if (instance.propTypes) {
      error('propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', name);
    }

    if (instance.contextType) {
      error('contextType was defined as an instance property on %s. Use a static ' + 'property to define contextType instead.', name);
    }

    {
      if (ctor.childContextTypes && !didWarnAboutLegacyContext$1.has(ctor) && // Strict Mode has its own warning for legacy context, so we can skip
      // this one.
      (workInProgress.mode & StrictLegacyMode) === NoMode) {
        didWarnAboutLegacyContext$1.add(ctor);

        error('%s uses the legacy childContextTypes API which is no longer ' + 'supported and will be removed in the next major release. Use ' + 'React.createContext() instead\n\n.' + 'Learn more about this warning here: https://reactjs.org/link/legacy-context', name);
      }

      if (ctor.contextTypes && !didWarnAboutLegacyContext$1.has(ctor) && // Strict Mode has its own warning for legacy context, so we can skip
      // this one.
      (workInProgress.mode & StrictLegacyMode) === NoMode) {
        didWarnAboutLegacyContext$1.add(ctor);

        error('%s uses the legacy contextTypes API which is no longer supported ' + 'and will be removed in the next major release. Use ' + 'React.createContext() with static contextType instead.\n\n' + 'Learn more about this warning here: https://reactjs.org/link/legacy-context', name);
      }

      if (instance.contextTypes) {
        error('contextTypes was defined as an instance property on %s. Use a static ' + 'property to define contextTypes instead.', name);
      }

      if (ctor.contextType && ctor.contextTypes && !didWarnAboutContextTypeAndContextTypes.has(ctor)) {
        didWarnAboutContextTypeAndContextTypes.add(ctor);

        error('%s declares both contextTypes and contextType static properties. ' + 'The legacy contextTypes property will be ignored.', name);
      }
    }

    if (typeof instance.componentShouldUpdate === 'function') {
      error('%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', name);
    }

    if (ctor.prototype && ctor.prototype.isPureReactComponent && typeof instance.shouldComponentUpdate !== 'undefined') {
      error('%s has a method called shouldComponentUpdate(). ' + 'shouldComponentUpdate should not be used when extending React.PureComponent. ' + 'Please extend React.Component if shouldComponentUpdate is used.', getComponentNameFromType(ctor) || 'A pure component');
    }

    if (typeof instance.componentDidUnmount === 'function') {
      error('%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', name);
    }

    if (typeof instance.componentDidReceiveProps === 'function') {
      error('%s has a method called ' + 'componentDidReceiveProps(). But there is no such lifecycle method. ' + 'If you meant to update the state in response to changing props, ' + 'use componentWillReceiveProps(). If you meant to fetch data or ' + 'run side-effects or mutations after React has updated the UI, use componentDidUpdate().', name);
    }

    if (typeof instance.componentWillRecieveProps === 'function') {
      error('%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', name);
    }

    if (typeof instance.UNSAFE_componentWillRecieveProps === 'function') {
      error('%s has a method called ' + 'UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?', name);
    }

    var hasMutatedProps = instance.props !== newProps;

    if (instance.props !== undefined && hasMutatedProps) {
      error('%s(...): When calling super() in `%s`, make sure to pass ' + "up the same props that your component's constructor was passed.", name, name);
    }

    if (instance.defaultProps) {
      error('Setting defaultProps as an instance property on %s is not supported and will be ignored.' + ' Instead, define defaultProps as a static property on %s.', name, name);
    }

    if (typeof instance.getSnapshotBeforeUpdate === 'function' && typeof instance.componentDidUpdate !== 'function' && !didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(ctor)) {
      didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(ctor);

      error('%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). ' + 'This component defines getSnapshotBeforeUpdate() only.', getComponentNameFromType(ctor));
    }

    if (typeof instance.getDerivedStateFromProps === 'function') {
      error('%s: getDerivedStateFromProps() is defined as an instance method ' + 'and will be ignored. Instead, declare it as a static method.', name);
    }

    if (typeof instance.getDerivedStateFromError === 'function') {
      error('%s: getDerivedStateFromError() is defined as an instance method ' + 'and will be ignored. Instead, declare it as a static method.', name);
    }

    if (typeof ctor.getSnapshotBeforeUpdate === 'function') {
      error('%s: getSnapshotBeforeUpdate() is defined as a static method ' + 'and will be ignored. Instead, declare it as an instance method.', name);
    }

    var _state = instance.state;

    if (_state && (typeof _state !== 'object' || isArray(_state))) {
      error('%s.state: must be set to an object or null', name);
    }

    if (typeof instance.getChildContext === 'function' && typeof ctor.childContextTypes !== 'object') {
      error('%s.getChildContext(): childContextTypes must be defined in order to ' + 'use getChildContext().', name);
    }
  }
}

function adoptClassInstance(workInProgress, instance) {
  instance.updater = classComponentUpdater;
  workInProgress.stateNode = instance; // The instance needs access to the fiber so that it can schedule updates

  set(instance, workInProgress);

  {
    instance._reactInternalInstance = fakeInternalInstance;
  }
}

function constructClassInstance(workInProgress, ctor, props) {
  var isLegacyContextConsumer = false;
  var unmaskedContext = emptyContextObject;
  var context = emptyContextObject;
  var contextType = ctor.contextType;

  {
    if ('contextType' in ctor) {
      var isValid = // Allow null for conditional declaration
      contextType === null || contextType !== undefined && contextType.$$typeof === REACT_CONTEXT_TYPE && contextType._context === undefined; // Not a <Context.Consumer>

      if (!isValid && !didWarnAboutInvalidateContextType.has(ctor)) {
        didWarnAboutInvalidateContextType.add(ctor);
        var addendum = '';

        if (contextType === undefined) {
          addendum = ' However, it is set to undefined. ' + 'This can be caused by a typo or by mixing up named and default imports. ' + 'This can also happen due to a circular dependency, so ' + 'try moving the createContext() call to a separate file.';
        } else if (typeof contextType !== 'object') {
          addendum = ' However, it is set to a ' + typeof contextType + '.';
        } else if (contextType.$$typeof === REACT_PROVIDER_TYPE) {
          addendum = ' Did you accidentally pass the Context.Provider instead?';
        } else if (contextType._context !== undefined) {
          // <Context.Consumer>
          addendum = ' Did you accidentally pass the Context.Consumer instead?';
        } else {
          addendum = ' However, it is set to an object with keys {' + Object.keys(contextType).join(', ') + '}.';
        }

        error('%s defines an invalid contextType. ' + 'contextType should point to the Context object returned by React.createContext().%s', getComponentNameFromType(ctor) || 'Component', addendum);
      }
    }
  }

  if (typeof contextType === 'object' && contextType !== null) {
    context = readContext(contextType);
  } else {
    unmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
    var contextTypes = ctor.contextTypes;
    isLegacyContextConsumer = contextTypes !== null && contextTypes !== undefined;
    context = isLegacyContextConsumer ? getMaskedContext(workInProgress, unmaskedContext) : emptyContextObject;
  }

  var instance = new ctor(props, context); // Instantiate twice to help detect side-effects.

  {
    if ( workInProgress.mode & StrictLegacyMode) {
      setIsStrictModeForDevtools(true);

      try {
        instance = new ctor(props, context); // eslint-disable-line no-new
      } finally {
        setIsStrictModeForDevtools(false);
      }
    }
  }

  var state = workInProgress.memoizedState = instance.state !== null && instance.state !== undefined ? instance.state : null;
  adoptClassInstance(workInProgress, instance);

  {
    if (typeof ctor.getDerivedStateFromProps === 'function' && state === null) {
      var componentName = getComponentNameFromType(ctor) || 'Component';

      if (!didWarnAboutUninitializedState.has(componentName)) {
        didWarnAboutUninitializedState.add(componentName);

        error('`%s` uses `getDerivedStateFromProps` but its initial state is ' + '%s. This is not recommended. Instead, define the initial state by ' + 'assigning an object to `this.state` in the constructor of `%s`. ' + 'This ensures that `getDerivedStateFromProps` arguments have a consistent shape.', componentName, instance.state === null ? 'null' : 'undefined', componentName);
      }
    } // If new component APIs are defined, "unsafe" lifecycles won't be called.
    // Warn about these lifecycles if they are present.
    // Don't warn about react-lifecycles-compat polyfilled methods though.


    if (typeof ctor.getDerivedStateFromProps === 'function' || typeof instance.getSnapshotBeforeUpdate === 'function') {
      var foundWillMountName = null;
      var foundWillReceivePropsName = null;
      var foundWillUpdateName = null;

      if (typeof instance.componentWillMount === 'function' && instance.componentWillMount.__suppressDeprecationWarning !== true) {
        foundWillMountName = 'componentWillMount';
      } else if (typeof instance.UNSAFE_componentWillMount === 'function') {
        foundWillMountName = 'UNSAFE_componentWillMount';
      }

      if (typeof instance.componentWillReceiveProps === 'function' && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true) {
        foundWillReceivePropsName = 'componentWillReceiveProps';
      } else if (typeof instance.UNSAFE_componentWillReceiveProps === 'function') {
        foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';
      }

      if (typeof instance.componentWillUpdate === 'function' && instance.componentWillUpdate.__suppressDeprecationWarning !== true) {
        foundWillUpdateName = 'componentWillUpdate';
      } else if (typeof instance.UNSAFE_componentWillUpdate === 'function') {
        foundWillUpdateName = 'UNSAFE_componentWillUpdate';
      }

      if (foundWillMountName !== null || foundWillReceivePropsName !== null || foundWillUpdateName !== null) {
        var _componentName = getComponentNameFromType(ctor) || 'Component';

        var newApiName = typeof ctor.getDerivedStateFromProps === 'function' ? 'getDerivedStateFromProps()' : 'getSnapshotBeforeUpdate()';

        if (!didWarnAboutLegacyLifecyclesAndDerivedState.has(_componentName)) {
          didWarnAboutLegacyLifecyclesAndDerivedState.add(_componentName);

          error('Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n' + '%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n' + 'The above lifecycles should be removed. Learn more about this warning here:\n' + 'https://reactjs.org/link/unsafe-component-lifecycles', _componentName, newApiName, foundWillMountName !== null ? "\n  " + foundWillMountName : '', foundWillReceivePropsName !== null ? "\n  " + foundWillReceivePropsName : '', foundWillUpdateName !== null ? "\n  " + foundWillUpdateName : '');
        }
      }
    }
  } // Cache unmasked context so we can avoid recreating masked context unless necessary.
  // ReactFiberContext usually updates this cache but can't for newly-created instances.


  if (isLegacyContextConsumer) {
    cacheContext(workInProgress, unmaskedContext, context);
  }

  return instance;
}

function callComponentWillMount(workInProgress, instance) {
  var oldState = instance.state;

  if (typeof instance.componentWillMount === 'function') {
    instance.componentWillMount();
  }

  if (typeof instance.UNSAFE_componentWillMount === 'function') {
    instance.UNSAFE_componentWillMount();
  }

  if (oldState !== instance.state) {
    {
      error('%s.componentWillMount(): Assigning directly to this.state is ' + "deprecated (except inside a component's " + 'constructor). Use setState instead.', getComponentNameFromFiber(workInProgress) || 'Component');
    }

    classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
  }
}

function callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext) {
  var oldState = instance.state;

  if (typeof instance.componentWillReceiveProps === 'function') {
    instance.componentWillReceiveProps(newProps, nextContext);
  }

  if (typeof instance.UNSAFE_componentWillReceiveProps === 'function') {
    instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);
  }

  if (instance.state !== oldState) {
    {
      var componentName = getComponentNameFromFiber(workInProgress) || 'Component';

      if (!didWarnAboutStateAssignmentForComponent.has(componentName)) {
        didWarnAboutStateAssignmentForComponent.add(componentName);

        error('%s.componentWillReceiveProps(): Assigning directly to ' + "this.state is deprecated (except inside a component's " + 'constructor). Use setState instead.', componentName);
      }
    }

    classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
  }
} // Invokes the mount life-cycles on a previously never rendered instance.


function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {
  {
    checkClassInstance(workInProgress, ctor, newProps);
  }

  var instance = workInProgress.stateNode;
  instance.props = newProps;
  instance.state = workInProgress.memoizedState;
  instance.refs = {};
  initializeUpdateQueue(workInProgress);
  var contextType = ctor.contextType;

  if (typeof contextType === 'object' && contextType !== null) {
    instance.context = readContext(contextType);
  } else {
    var unmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
    instance.context = getMaskedContext(workInProgress, unmaskedContext);
  }

  {
    if (instance.state === newProps) {
      var componentName = getComponentNameFromType(ctor) || 'Component';

      if (!didWarnAboutDirectlyAssigningPropsToState.has(componentName)) {
        didWarnAboutDirectlyAssigningPropsToState.add(componentName);

        error('%s: It is not recommended to assign props directly to state ' + "because updates to props won't be reflected in state. " + 'In most cases, it is better to use props directly.', componentName);
      }
    }

    if (workInProgress.mode & StrictLegacyMode) {
      ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, instance);
    }

    {
      ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress, instance);
    }
  }

  instance.state = workInProgress.memoizedState;
  var getDerivedStateFromProps = ctor.getDerivedStateFromProps;

  if (typeof getDerivedStateFromProps === 'function') {
    applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, newProps);
    instance.state = workInProgress.memoizedState;
  } // In order to support react-lifecycles-compat polyfilled components,
  // Unsafe lifecycles should not be invoked for components using the new APIs.


  if (typeof ctor.getDerivedStateFromProps !== 'function' && typeof instance.getSnapshotBeforeUpdate !== 'function' && (typeof instance.UNSAFE_componentWillMount === 'function' || typeof instance.componentWillMount === 'function')) {
    callComponentWillMount(workInProgress, instance); // If we had additional state updates during this life-cycle, let's
    // process them now.

    processUpdateQueue(workInProgress, newProps, instance, renderLanes);
    instance.state = workInProgress.memoizedState;
  }

  if (typeof instance.componentDidMount === 'function') {
    var fiberFlags = Update;

    {
      fiberFlags |= LayoutStatic;
    }

    if ( (workInProgress.mode & StrictEffectsMode) !== NoMode) {
      fiberFlags |= MountLayoutDev;
    }

    workInProgress.flags |= fiberFlags;
  }
}

function resumeMountClassInstance(workInProgress, ctor, newProps, renderLanes) {
  var instance = workInProgress.stateNode;
  var oldProps = workInProgress.memoizedProps;
  instance.props = oldProps;
  var oldContext = instance.context;
  var contextType = ctor.contextType;
  var nextContext = emptyContextObject;

  if (typeof contextType === 'object' && contextType !== null) {
    nextContext = readContext(contextType);
  } else {
    var nextLegacyUnmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
    nextContext = getMaskedContext(workInProgress, nextLegacyUnmaskedContext);
  }

  var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
  var hasNewLifecycles = typeof getDerivedStateFromProps === 'function' || typeof instance.getSnapshotBeforeUpdate === 'function'; // Note: During these life-cycles, instance.props/instance.state are what
  // ever the previously attempted to render - not the "current". However,
  // during componentDidUpdate we pass the "current" props.
  // In order to support react-lifecycles-compat polyfilled components,
  // Unsafe lifecycles should not be invoked for components using the new APIs.

  if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillReceiveProps === 'function' || typeof instance.componentWillReceiveProps === 'function')) {
    if (oldProps !== newProps || oldContext !== nextContext) {
      callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext);
    }
  }

  resetHasForceUpdateBeforeProcessing();
  var oldState = workInProgress.memoizedState;
  var newState = instance.state = oldState;
  processUpdateQueue(workInProgress, newProps, instance, renderLanes);
  newState = workInProgress.memoizedState;

  if (oldProps === newProps && oldState === newState && !hasContextChanged() && !checkHasForceUpdateAfterProcessing()) {
    // If an update was already in progress, we should schedule an Update
    // effect even though we're bailing out, so that cWU/cDU are called.
    if (typeof instance.componentDidMount === 'function') {
      var fiberFlags = Update;

      {
        fiberFlags |= LayoutStatic;
      }

      if ( (workInProgress.mode & StrictEffectsMode) !== NoMode) {
        fiberFlags |= MountLayoutDev;
      }

      workInProgress.flags |= fiberFlags;
    }

    return false;
  }

  if (typeof getDerivedStateFromProps === 'function') {
    applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, newProps);
    newState = workInProgress.memoizedState;
  }

  var shouldUpdate = checkHasForceUpdateAfterProcessing() || checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext);

  if (shouldUpdate) {
    // In order to support react-lifecycles-compat polyfilled components,
    // Unsafe lifecycles should not be invoked for components using the new APIs.
    if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillMount === 'function' || typeof instance.componentWillMount === 'function')) {
      if (typeof instance.componentWillMount === 'function') {
        instance.componentWillMount();
      }

      if (typeof instance.UNSAFE_componentWillMount === 'function') {
        instance.UNSAFE_componentWillMount();
      }
    }

    if (typeof instance.componentDidMount === 'function') {
      var _fiberFlags = Update;

      {
        _fiberFlags |= LayoutStatic;
      }

      if ( (workInProgress.mode & StrictEffectsMode) !== NoMode) {
        _fiberFlags |= MountLayoutDev;
      }

      workInProgress.flags |= _fiberFlags;
    }
  } else {
    // If an update was already in progress, we should schedule an Update
    // effect even though we're bailing out, so that cWU/cDU are called.
    if (typeof instance.componentDidMount === 'function') {
      var _fiberFlags2 = Update;

      {
        _fiberFlags2 |= LayoutStatic;
      }

      if ( (workInProgress.mode & StrictEffectsMode) !== NoMode) {
        _fiberFlags2 |= MountLayoutDev;
      }

      workInProgress.flags |= _fiberFlags2;
    } // If shouldComponentUpdate returned false, we should still update the
    // memoized state to indicate that this work can be reused.


    workInProgress.memoizedProps = newProps;
    workInProgress.memoizedState = newState;
  } // Update the existing instance's state, props, and context pointers even
  // if shouldComponentUpdate returns false.


  instance.props = newProps;
  instance.state = newState;
  instance.context = nextContext;
  return shouldUpdate;
} // Invokes the update life-cycles and returns false if it shouldn't rerender.


function updateClassInstance(current, workInProgress, ctor, newProps, renderLanes) {
  var instance = workInProgress.stateNode;
  cloneUpdateQueue(current, workInProgress);
  var unresolvedOldProps = workInProgress.memoizedProps;
  var oldProps = workInProgress.type === workInProgress.elementType ? unresolvedOldProps : resolveDefaultProps(workInProgress.type, unresolvedOldProps);
  instance.props = oldProps;
  var unresolvedNewProps = workInProgress.pendingProps;
  var oldContext = instance.context;
  var contextType = ctor.contextType;
  var nextContext = emptyContextObject;

  if (typeof contextType === 'object' && contextType !== null) {
    nextContext = readContext(contextType);
  } else {
    var nextUnmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
    nextContext = getMaskedContext(workInProgress, nextUnmaskedContext);
  }

  var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
  var hasNewLifecycles = typeof getDerivedStateFromProps === 'function' || typeof instance.getSnapshotBeforeUpdate === 'function'; // Note: During these life-cycles, instance.props/instance.state are what
  // ever the previously attempted to render - not the "current". However,
  // during componentDidUpdate we pass the "current" props.
  // In order to support react-lifecycles-compat polyfilled components,
  // Unsafe lifecycles should not be invoked for components using the new APIs.

  if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillReceiveProps === 'function' || typeof instance.componentWillReceiveProps === 'function')) {
    if (unresolvedOldProps !== unresolvedNewProps || oldContext !== nextContext) {
      callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext);
    }
  }

  resetHasForceUpdateBeforeProcessing();
  var oldState = workInProgress.memoizedState;
  var newState = instance.state = oldState;
  processUpdateQueue(workInProgress, newProps, instance, renderLanes);
  newState = workInProgress.memoizedState;

  if (unresolvedOldProps === unresolvedNewProps && oldState === newState && !hasContextChanged() && !checkHasForceUpdateAfterProcessing() && !(enableLazyContextPropagation   )) {
    // If an update was already in progress, we should schedule an Update
    // effect even though we're bailing out, so that cWU/cDU are called.
    if (typeof instance.componentDidUpdate === 'function') {
      if (unresolvedOldProps !== current.memoizedProps || oldState !== current.memoizedState) {
        workInProgress.flags |= Update;
      }
    }

    if (typeof instance.getSnapshotBeforeUpdate === 'function') {
      if (unresolvedOldProps !== current.memoizedProps || oldState !== current.memoizedState) {
        workInProgress.flags |= Snapshot;
      }
    }

    return false;
  }

  if (typeof getDerivedStateFromProps === 'function') {
    applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, newProps);
    newState = workInProgress.memoizedState;
  }

  var shouldUpdate = checkHasForceUpdateAfterProcessing() || checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) || // TODO: In some cases, we'll end up checking if context has changed twice,
  // both before and after `shouldComponentUpdate` has been called. Not ideal,
  // but I'm loath to refactor this function. This only happens for memoized
  // components so it's not that common.
  enableLazyContextPropagation   ;

  if (shouldUpdate) {
    // In order to support react-lifecycles-compat polyfilled components,
    // Unsafe lifecycles should not be invoked for components using the new APIs.
    if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillUpdate === 'function' || typeof instance.componentWillUpdate === 'function')) {
      if (typeof instance.componentWillUpdate === 'function') {
        instance.componentWillUpdate(newProps, newState, nextContext);
      }

      if (typeof instance.UNSAFE_componentWillUpdate === 'function') {
        instance.UNSAFE_componentWillUpdate(newProps, newState, nextContext);
      }
    }

    if (typeof instance.componentDidUpdate === 'function') {
      workInProgress.flags |= Update;
    }

    if (typeof instance.getSnapshotBeforeUpdate === 'function') {
      workInProgress.flags |= Snapshot;
    }
  } else {
    // If an update was already in progress, we should schedule an Update
    // effect even though we're bailing out, so that cWU/cDU are called.
    if (typeof instance.componentDidUpdate === 'function') {
      if (unresolvedOldProps !== current.memoizedProps || oldState !== current.memoizedState) {
        workInProgress.flags |= Update;
      }
    }

    if (typeof instance.getSnapshotBeforeUpdate === 'function') {
      if (unresolvedOldProps !== current.memoizedProps || oldState !== current.memoizedState) {
        workInProgress.flags |= Snapshot;
      }
    } // If shouldComponentUpdate returned false, we should still update the
    // memoized props/state to indicate that this work can be reused.


    workInProgress.memoizedProps = newProps;
    workInProgress.memoizedState = newState;
  } // Update the existing instance's state, props, and context pointers even
  // if shouldComponentUpdate returns false.


  instance.props = newProps;
  instance.state = newState;
  instance.context = nextContext;
  return shouldUpdate;
}

function createCapturedValueAtFiber(value, source) {
  // If the value is an error, call this function immediately after it is thrown
  // so the stack is accurate.
  return {
    value: value,
    source: source,
    stack: getStackByFiberInDevAndProd(source),
    digest: null
  };
}
function createCapturedValue(value, digest, stack) {
  return {
    value: value,
    source: null,
    stack: stack != null ? stack : null,
    digest: digest != null ? digest : null
  };
}

// This module is forked in different environments.
// By default, return `true` to log errors to the console.
// Forks can return `false` if this isn't desirable.
function showErrorDialog(boundary, errorInfo) {
  return true;
}

function logCapturedError(boundary, errorInfo) {
  try {
    var logError = showErrorDialog(boundary, errorInfo); // Allow injected showErrorDialog() to prevent default console.error logging.
    // This enables renderers like ReactNative to better manage redbox behavior.

    if (logError === false) {
      return;
    }

    var error = errorInfo.value;

    if (true) {
      var source = errorInfo.source;
      var stack = errorInfo.stack;
      var componentStack = stack !== null ? stack : ''; // Browsers support silencing uncaught errors by calling
      // `preventDefault()` in window `error` handler.
      // We record this information as an expando on the error.

      if (error != null && error._suppressLogging) {
        if (boundary.tag === ClassComponent) {
          // The error is recoverable and was silenced.
          // Ignore it and don't print the stack addendum.
          // This is handy for testing error boundaries without noise.
          return;
        } // The error is fatal. Since the silencing might have
        // been accidental, we'll surface it anyway.
        // However, the browser would have silenced the original error
        // so we'll print it first, and then print the stack addendum.


        console['error'](error); // Don't transform to our wrapper
        // For a more detailed description of this block, see:
        // https://github.com/facebook/react/pull/13384
      }

      var componentName = source ? getComponentNameFromFiber(source) : null;
      var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component:" : 'The above error occurred in one of your React components:';
      var errorBoundaryMessage;

      if (boundary.tag === HostRoot) {
        errorBoundaryMessage = 'Consider adding an error boundary to your tree to customize error handling behavior.\n' + 'Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.';
      } else {
        var errorBoundaryName = getComponentNameFromFiber(boundary) || 'Anonymous';
        errorBoundaryMessage = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + errorBoundaryName + ".");
      }

      var combinedMessage = componentNameMessage + "\n" + componentStack + "\n\n" + ("" + errorBoundaryMessage); // In development, we provide our own message with just the component stack.
      // We don't include the original error message and JS stack because the browser
      // has already printed it. Even if the application swallows the error, it is still
      // displayed by the browser thanks to the DEV-only fake event trick in ReactErrorUtils.

      console['error'](combinedMessage); // Don't transform to our wrapper
    } else // removed by dead control flow
{}
  } catch (e) {
    // This method must not throw, or React internal state will get messed up.
    // If console.error is overridden, or logCapturedError() shows a dialog that throws,
    // we want to report this error outside of the normal stack as a last resort.
    // https://github.com/facebook/react/issues/13188
    setTimeout(function () {
      throw e;
    });
  }
}

var PossiblyWeakMap$1 = typeof WeakMap === 'function' ? WeakMap : Map;

function createRootErrorUpdate(fiber, errorInfo, lane) {
  var update = createUpdate(NoTimestamp, lane); // Unmount the root by rendering null.

  update.tag = CaptureUpdate; // Caution: React DevTools currently depends on this property
  // being called "element".

  update.payload = {
    element: null
  };
  var error = errorInfo.value;

  update.callback = function () {
    onUncaughtError(error);
    logCapturedError(fiber, errorInfo);
  };

  return update;
}

function createClassErrorUpdate(fiber, errorInfo, lane) {
  var update = createUpdate(NoTimestamp, lane);
  update.tag = CaptureUpdate;
  var getDerivedStateFromError = fiber.type.getDerivedStateFromError;

  if (typeof getDerivedStateFromError === 'function') {
    var error$1 = errorInfo.value;

    update.payload = function () {
      return getDerivedStateFromError(error$1);
    };

    update.callback = function () {
      {
        markFailedErrorBoundaryForHotReloading(fiber);
      }

      logCapturedError(fiber, errorInfo);
    };
  }

  var inst = fiber.stateNode;

  if (inst !== null && typeof inst.componentDidCatch === 'function') {
    update.callback = function callback() {
      {
        markFailedErrorBoundaryForHotReloading(fiber);
      }

      logCapturedError(fiber, errorInfo);

      if (typeof getDerivedStateFromError !== 'function') {
        // To preserve the preexisting retry behavior of error boundaries,
        // we keep track of which ones already failed during this batch.
        // This gets reset before we yield back to the browser.
        // TODO: Warn in strict mode if getDerivedStateFromError is
        // not defined.
        markLegacyErrorBoundaryAsFailed(this);
      }

      var error$1 = errorInfo.value;
      var stack = errorInfo.stack;
      this.componentDidCatch(error$1, {
        componentStack: stack !== null ? stack : ''
      });

      {
        if (typeof getDerivedStateFromError !== 'function') {
          // If componentDidCatch is the only error boundary method defined,
          // then it needs to call setState to recover from errors.
          // If no state update is scheduled then the boundary will swallow the error.
          if (!includesSomeLane(fiber.lanes, SyncLane)) {
            error('%s: Error boundaries should implement getDerivedStateFromError(). ' + 'In that method, return a state update to display an error message or fallback UI.', getComponentNameFromFiber(fiber) || 'Unknown');
          }
        }
      }
    };
  }

  return update;
}

function attachPingListener(root, wakeable, lanes) {
  // Attach a ping listener
  //
  // The data might resolve before we have a chance to commit the fallback. Or,
  // in the case of a refresh, we'll never commit a fallback. So we need to
  // attach a listener now. When it resolves ("pings"), we can decide whether to
  // try rendering the tree again.
  //
  // Only attach a listener if one does not already exist for the lanes
  // we're currently rendering (which acts like a "thread ID" here).
  //
  // We only need to do this in concurrent mode. Legacy Suspense always
  // commits fallbacks synchronously, so there are no pings.
  var pingCache = root.pingCache;
  var threadIDs;

  if (pingCache === null) {
    pingCache = root.pingCache = new PossiblyWeakMap$1();
    threadIDs = new Set();
    pingCache.set(wakeable, threadIDs);
  } else {
    threadIDs = pingCache.get(wakeable);

    if (threadIDs === undefined) {
      threadIDs = new Set();
      pingCache.set(wakeable, threadIDs);
    }
  }

  if (!threadIDs.has(lanes)) {
    // Memoize using the thread ID to prevent redundant listeners.
    threadIDs.add(lanes);
    var ping = pingSuspendedRoot.bind(null, root, wakeable, lanes);

    {
      if (isDevToolsPresent) {
        // If we have pending work still, restore the original updaters
        restorePendingUpdaters(root, lanes);
      }
    }

    wakeable.then(ping, ping);
  }
}

function attachRetryListener(suspenseBoundary, root, wakeable, lanes) {
  // Retry listener
  //
  // If the fallback does commit, we need to attach a different type of
  // listener. This one schedules an update on the Suspense boundary to turn
  // the fallback state off.
  //
  // Stash the wakeable on the boundary fiber so we can access it in the
  // commit phase.
  //
  // When the wakeable resolves, we'll attempt to render the boundary
  // again ("retry").
  var wakeables = suspenseBoundary.updateQueue;

  if (wakeables === null) {
    var updateQueue = new Set();
    updateQueue.add(wakeable);
    suspenseBoundary.updateQueue = updateQueue;
  } else {
    wakeables.add(wakeable);
  }
}

function resetSuspendedComponent(sourceFiber, rootRenderLanes) {
  // A legacy mode Suspense quirk, only relevant to hook components.


  var tag = sourceFiber.tag;

  if ((sourceFiber.mode & ConcurrentMode) === NoMode && (tag === FunctionComponent || tag === ForwardRef || tag === SimpleMemoComponent)) {
    var currentSource = sourceFiber.alternate;

    if (currentSource) {
      sourceFiber.updateQueue = currentSource.updateQueue;
      sourceFiber.memoizedState = currentSource.memoizedState;
      sourceFiber.lanes = currentSource.lanes;
    } else {
      sourceFiber.updateQueue = null;
      sourceFiber.memoizedState = null;
    }
  }
}

function getNearestSuspenseBoundaryToCapture(returnFiber) {
  var node = returnFiber;

  do {
    if (node.tag === SuspenseComponent && shouldCaptureSuspense(node)) {
      return node;
    } // This boundary already captured during this render. Continue to the next
    // boundary.


    node = node.return;
  } while (node !== null);

  return null;
}

function markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root, rootRenderLanes) {
  // This marks a Suspense boundary so that when we're unwinding the stack,
  // it captures the suspended "exception" and does a second (fallback) pass.
  if ((suspenseBoundary.mode & ConcurrentMode) === NoMode) {
    // Legacy Mode Suspense
    //
    // If the boundary is in legacy mode, we should *not*
    // suspend the commit. Pretend as if the suspended component rendered
    // null and keep rendering. When the Suspense boundary completes,
    // we'll do a second pass to render the fallback.
    if (suspenseBoundary === returnFiber) {
      // Special case where we suspended while reconciling the children of
      // a Suspense boundary's inner Offscreen wrapper fiber. This happens
      // when a React.lazy component is a direct child of a
      // Suspense boundary.
      //
      // Suspense boundaries are implemented as multiple fibers, but they
      // are a single conceptual unit. The legacy mode behavior where we
      // pretend the suspended fiber committed as `null` won't work,
      // because in this case the "suspended" fiber is the inner
      // Offscreen wrapper.
      //
      // Because the contents of the boundary haven't started rendering
      // yet (i.e. nothing in the tree has partially rendered) we can
      // switch to the regular, concurrent mode behavior: mark the
      // boundary with ShouldCapture and enter the unwind phase.
      suspenseBoundary.flags |= ShouldCapture;
    } else {
      suspenseBoundary.flags |= DidCapture;
      sourceFiber.flags |= ForceUpdateForLegacySuspense; // We're going to commit this fiber even though it didn't complete.
      // But we shouldn't call any lifecycle methods or callbacks. Remove
      // all lifecycle effect tags.

      sourceFiber.flags &= ~(LifecycleEffectMask | Incomplete);

      if (sourceFiber.tag === ClassComponent) {
        var currentSourceFiber = sourceFiber.alternate;

        if (currentSourceFiber === null) {
          // This is a new mount. Change the tag so it's not mistaken for a
          // completed class component. For example, we should not call
          // componentWillUnmount if it is deleted.
          sourceFiber.tag = IncompleteClassComponent;
        } else {
          // When we try rendering again, we should not reuse the current fiber,
          // since it's known to be in an inconsistent state. Use a force update to
          // prevent a bail out.
          var update = createUpdate(NoTimestamp, SyncLane);
          update.tag = ForceUpdate;
          enqueueUpdate(sourceFiber, update, SyncLane);
        }
      } // The source fiber did not complete. Mark it with Sync priority to
      // indicate that it still has pending work.


      sourceFiber.lanes = mergeLanes(sourceFiber.lanes, SyncLane);
    }

    return suspenseBoundary;
  } // Confirmed that the boundary is in a concurrent mode tree. Continue
  // with the normal suspend path.
  //
  // After this we'll use a set of heuristics to determine whether this
  // render pass will run to completion or restart or "suspend" the commit.
  // The actual logic for this is spread out in different places.
  //
  // This first principle is that if we're going to suspend when we complete
  // a root, then we should also restart if we get an update or ping that
  // might unsuspend it, and vice versa. The only reason to suspend is
  // because you think you might want to restart before committing. However,
  // it doesn't make sense to restart only while in the period we're suspended.
  //
  // Restarting too aggressively is also not good because it starves out any
  // intermediate loading state. So we use heuristics to determine when.
  // Suspense Heuristics
  //
  // If nothing threw a Promise or all the same fallbacks are already showing,
  // then don't suspend/restart.
  //
  // If this is an initial render of a new tree of Suspense boundaries and
  // those trigger a fallback, then don't suspend/restart. We want to ensure
  // that we can show the initial loading state as quickly as possible.
  //
  // If we hit a "Delayed" case, such as when we'd switch from content back into
  // a fallback, then we should always suspend/restart. Transitions apply
  // to this case. If none is defined, JND is used instead.
  //
  // If we're already showing a fallback and it gets "retried", allowing us to show
  // another level, but there's still an inner boundary that would show a fallback,
  // then we suspend/restart for 500ms since the last time we showed a fallback
  // anywhere in the tree. This effectively throttles progressive loading into a
  // consistent train of commits. This also gives us an opportunity to restart to
  // get to the completed state slightly earlier.
  //
  // If there's ambiguity due to batching it's resolved in preference of:
  // 1) "delayed", 2) "initial render", 3) "retry".
  //
  // We want to ensure that a "busy" state doesn't get force committed. We want to
  // ensure that new initial loading states can commit as soon as possible.


  suspenseBoundary.flags |= ShouldCapture; // TODO: I think we can remove this, since we now use `DidCapture` in
  // the begin phase to prevent an early bailout.

  suspenseBoundary.lanes = rootRenderLanes;
  return suspenseBoundary;
}

function throwException(root, returnFiber, sourceFiber, value, rootRenderLanes) {
  // The source fiber did not complete.
  sourceFiber.flags |= Incomplete;

  {
    if (isDevToolsPresent) {
      // If we have pending work still, restore the original updaters
      restorePendingUpdaters(root, rootRenderLanes);
    }
  }

  if (value !== null && typeof value === 'object' && typeof value.then === 'function') {
    // This is a wakeable. The component suspended.
    var wakeable = value;
    resetSuspendedComponent(sourceFiber);

    {
      if (getIsHydrating() && sourceFiber.mode & ConcurrentMode) {
        markDidThrowWhileHydratingDEV();
      }
    }


    var suspenseBoundary = getNearestSuspenseBoundaryToCapture(returnFiber);

    if (suspenseBoundary !== null) {
      suspenseBoundary.flags &= ~ForceClientRender;
      markSuspenseBoundaryShouldCapture(suspenseBoundary, returnFiber, sourceFiber, root, rootRenderLanes); // We only attach ping listeners in concurrent mode. Legacy Suspense always
      // commits fallbacks synchronously, so there are no pings.

      if (suspenseBoundary.mode & ConcurrentMode) {
        attachPingListener(root, wakeable, rootRenderLanes);
      }

      attachRetryListener(suspenseBoundary, root, wakeable);
      return;
    } else {
      // No boundary was found. Unless this is a sync update, this is OK.
      // We can suspend and wait for more data to arrive.
      if (!includesSyncLane(rootRenderLanes)) {
        // This is not a sync update. Suspend. Since we're not activating a
        // Suspense boundary, this will unwind all the way to the root without
        // performing a second pass to render a fallback. (This is arguably how
        // refresh transitions should work, too, since we're not going to commit
        // the fallbacks anyway.)
        //
        // This case also applies to initial hydration.
        attachPingListener(root, wakeable, rootRenderLanes);
        renderDidSuspendDelayIfPossible();
        return;
      } // This is a sync/discrete update. We treat this case like an error
      // because discrete renders are expected to produce a complete tree
      // synchronously to maintain consistency with external state.


      var uncaughtSuspenseError = new Error('A component suspended while responding to synchronous input. This ' + 'will cause the UI to be replaced with a loading indicator. To ' + 'fix, updates that suspend should be wrapped ' + 'with startTransition.'); // If we're outside a transition, fall through to the regular error path.
      // The error will be caught by the nearest suspense boundary.

      value = uncaughtSuspenseError;
    }
  } else {
    // This is a regular error, not a Suspense wakeable.
    if (getIsHydrating() && sourceFiber.mode & ConcurrentMode) {
      markDidThrowWhileHydratingDEV();

      var _suspenseBoundary = getNearestSuspenseBoundaryToCapture(returnFiber); // If the error was thrown during hydration, we may be able to recover by
      // discarding the dehydrated content and switching to a client render.
      // Instead of surfacing the error, find the nearest Suspense boundary
      // and render it again without hydration.


      if (_suspenseBoundary !== null) {
        if ((_suspenseBoundary.flags & ShouldCapture) === NoFlags) {
          // Set a flag to indicate that we should try rendering the normal
          // children again, not the fallback.
          _suspenseBoundary.flags |= ForceClientRender;
        }

        markSuspenseBoundaryShouldCapture(_suspenseBoundary, returnFiber, sourceFiber, root, rootRenderLanes); // Even though the user may not be affected by this error, we should
        // still log it so it can be fixed.

        queueHydrationError(createCapturedValueAtFiber(value, sourceFiber));
        return;
      }
    }
  }

  value = createCapturedValueAtFiber(value, sourceFiber);
  renderDidError(value); // We didn't find a boundary that could handle this type of exception. Start
  // over and traverse parent path again, this time treating the exception
  // as an error.

  var workInProgress = returnFiber;

  do {
    switch (workInProgress.tag) {
      case HostRoot:
        {
          var _errorInfo = value;
          workInProgress.flags |= ShouldCapture;
          var lane = pickArbitraryLane(rootRenderLanes);
          workInProgress.lanes = mergeLanes(workInProgress.lanes, lane);
          var update = createRootErrorUpdate(workInProgress, _errorInfo, lane);
          enqueueCapturedUpdate(workInProgress, update);
          return;
        }

      case ClassComponent:
        // Capture and retry
        var errorInfo = value;
        var ctor = workInProgress.type;
        var instance = workInProgress.stateNode;

        if ((workInProgress.flags & DidCapture) === NoFlags && (typeof ctor.getDerivedStateFromError === 'function' || instance !== null && typeof instance.componentDidCatch === 'function' && !isAlreadyFailedLegacyErrorBoundary(instance))) {
          workInProgress.flags |= ShouldCapture;

          var _lane = pickArbitraryLane(rootRenderLanes);

          workInProgress.lanes = mergeLanes(workInProgress.lanes, _lane); // Schedule the error boundary to re-render using updated state

          var _update = createClassErrorUpdate(workInProgress, errorInfo, _lane);

          enqueueCapturedUpdate(workInProgress, _update);
          return;
        }

        break;
    }

    workInProgress = workInProgress.return;
  } while (workInProgress !== null);
}

function getSuspendedCache() {
  {
    return null;
  } // This function is called when a Suspense boundary suspends. It returns the
}

var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
var didReceiveUpdate = false;
var didWarnAboutBadClass;
var didWarnAboutModulePatternComponent;
var didWarnAboutContextTypeOnFunctionComponent;
var didWarnAboutGetDerivedStateOnFunctionComponent;
var didWarnAboutFunctionRefs;
var didWarnAboutReassigningProps;
var didWarnAboutRevealOrder;
var didWarnAboutTailOptions;
var didWarnAboutDefaultPropsOnFunctionComponent;

{
  didWarnAboutBadClass = {};
  didWarnAboutModulePatternComponent = {};
  didWarnAboutContextTypeOnFunctionComponent = {};
  didWarnAboutGetDerivedStateOnFunctionComponent = {};
  didWarnAboutFunctionRefs = {};
  didWarnAboutReassigningProps = false;
  didWarnAboutRevealOrder = {};
  didWarnAboutTailOptions = {};
  didWarnAboutDefaultPropsOnFunctionComponent = {};
}

function reconcileChildren(current, workInProgress, nextChildren, renderLanes) {
  if (current === null) {
    // If this is a fresh new component that hasn't been rendered yet, we
    // won't update its child set by applying minimal side-effects. Instead,
    // we will add them all to the child before it gets rendered. That means
    // we can optimize this reconciliation pass by not tracking side-effects.
    workInProgress.child = mountChildFibers(workInProgress, null, nextChildren, renderLanes);
  } else {
    // If the current child is the same as the work in progress, it means that
    // we haven't yet started any work on these children. Therefore, we use
    // the clone algorithm to create a copy of all the current children.
    // If we had any progressed work already, that is invalid at this point so
    // let's throw it out.
    workInProgress.child = reconcileChildFibers(workInProgress, current.child, nextChildren, renderLanes);
  }
}

function forceUnmountCurrentAndReconcile(current, workInProgress, nextChildren, renderLanes) {
  // This function is fork of reconcileChildren. It's used in cases where we
  // want to reconcile without matching against the existing set. This has the
  // effect of all current children being unmounted; even if the type and key
  // are the same, the old child is unmounted and a new child is created.
  //
  // To do this, we're going to go through the reconcile algorithm twice. In
  // the first pass, we schedule a deletion for all the current children by
  // passing null.
  workInProgress.child = reconcileChildFibers(workInProgress, current.child, null, renderLanes); // In the second pass, we mount the new children. The trick here is that we
  // pass null in place of where we usually pass the current child set. This has
  // the effect of remounting all children regardless of whether their
  // identities match.

  workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderLanes);
}

function updateForwardRef(current, workInProgress, Component, nextProps, renderLanes) {
  // TODO: current can be non-null here even if the component
  // hasn't yet mounted. This happens after the first render suspends.
  // We'll need to figure out if this is fine or can cause issues.
  {
    if (workInProgress.type !== workInProgress.elementType) {
      // Lazy component props can't be validated in createElement
      // because they're only guaranteed to be resolved here.
      var innerPropTypes = Component.propTypes;

      if (innerPropTypes) {
        checkPropTypes(innerPropTypes, nextProps, // Resolved props
        'prop', getComponentNameFromType(Component));
      }
    }
  }

  var render = Component.render;
  var ref = workInProgress.ref; // The rest is a fork of updateFunctionComponent

  var nextChildren;
  var hasId;
  prepareToReadContext(workInProgress, renderLanes);

  {
    markComponentRenderStarted(workInProgress);
  }

  {
    ReactCurrentOwner$1.current = workInProgress;
    setIsRendering(true);
    nextChildren = renderWithHooks(current, workInProgress, render, nextProps, ref, renderLanes);
    hasId = checkDidRenderIdHook();

    if ( workInProgress.mode & StrictLegacyMode) {
      setIsStrictModeForDevtools(true);

      try {
        nextChildren = renderWithHooks(current, workInProgress, render, nextProps, ref, renderLanes);
        hasId = checkDidRenderIdHook();
      } finally {
        setIsStrictModeForDevtools(false);
      }
    }

    setIsRendering(false);
  }

  {
    markComponentRenderStopped();
  }

  if (current !== null && !didReceiveUpdate) {
    bailoutHooks(current, workInProgress, renderLanes);
    return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
  }

  if (getIsHydrating() && hasId) {
    pushMaterializedTreeId(workInProgress);
  } // React DevTools reads this flag.


  workInProgress.flags |= PerformedWork;
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
}

function updateMemoComponent(current, workInProgress, Component, nextProps, renderLanes) {
  if (current === null) {
    var type = Component.type;

    if (isSimpleFunctionComponent(type) && Component.compare === null && // SimpleMemoComponent codepath doesn't resolve outer props either.
    Component.defaultProps === undefined) {
      var resolvedType = type;

      {
        resolvedType = resolveFunctionForHotReloading(type);
      } // If this is a plain function component without default props,
      // and with only the default shallow comparison, we upgrade it
      // to a SimpleMemoComponent to allow fast path updates.


      workInProgress.tag = SimpleMemoComponent;
      workInProgress.type = resolvedType;

      {
        validateFunctionComponentInDev(workInProgress, type);
      }

      return updateSimpleMemoComponent(current, workInProgress, resolvedType, nextProps, renderLanes);
    }

    {
      var innerPropTypes = type.propTypes;

      if (innerPropTypes) {
        // Inner memo component props aren't currently validated in createElement.
        // We could move it there, but we'd still need this for lazy code path.
        checkPropTypes(innerPropTypes, nextProps, // Resolved props
        'prop', getComponentNameFromType(type));
      }

      if ( Component.defaultProps !== undefined) {
        var componentName = getComponentNameFromType(type) || 'Unknown';

        if (!didWarnAboutDefaultPropsOnFunctionComponent[componentName]) {
          error('%s: Support for defaultProps will be removed from memo components ' + 'in a future major release. Use JavaScript default parameters instead.', componentName);

          didWarnAboutDefaultPropsOnFunctionComponent[componentName] = true;
        }
      }
    }

    var child = createFiberFromTypeAndProps(Component.type, null, nextProps, workInProgress, workInProgress.mode, renderLanes);
    child.ref = workInProgress.ref;
    child.return = workInProgress;
    workInProgress.child = child;
    return child;
  }

  {
    var _type = Component.type;
    var _innerPropTypes = _type.propTypes;

    if (_innerPropTypes) {
      // Inner memo component props aren't currently validated in createElement.
      // We could move it there, but we'd still need this for lazy code path.
      checkPropTypes(_innerPropTypes, nextProps, // Resolved props
      'prop', getComponentNameFromType(_type));
    }
  }

  var currentChild = current.child; // This is always exactly one child

  var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current, renderLanes);

  if (!hasScheduledUpdateOrContext) {
    // This will be the props with resolved defaultProps,
    // unlike current.memoizedProps which will be the unresolved ones.
    var prevProps = currentChild.memoizedProps; // Default to shallow comparison

    var compare = Component.compare;
    compare = compare !== null ? compare : shallowEqual;

    if (compare(prevProps, nextProps) && current.ref === workInProgress.ref) {
      return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
    }
  } // React DevTools reads this flag.


  workInProgress.flags |= PerformedWork;
  var newChild = createWorkInProgress(currentChild, nextProps);
  newChild.ref = workInProgress.ref;
  newChild.return = workInProgress;
  workInProgress.child = newChild;
  return newChild;
}

function updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes) {
  // TODO: current can be non-null here even if the component
  // hasn't yet mounted. This happens when the inner render suspends.
  // We'll need to figure out if this is fine or can cause issues.
  {
    if (workInProgress.type !== workInProgress.elementType) {
      // Lazy component props can't be validated in createElement
      // because they're only guaranteed to be resolved here.
      var outerMemoType = workInProgress.elementType;

      if (outerMemoType.$$typeof === REACT_LAZY_TYPE) {
        // We warn when you define propTypes on lazy()
        // so let's just skip over it to find memo() outer wrapper.
        // Inner props for memo are validated later.
        var lazyComponent = outerMemoType;
        var payload = lazyComponent._payload;
        var init = lazyComponent._init;

        try {
          outerMemoType = init(payload);
        } catch (x) {
          outerMemoType = null;
        } // Inner propTypes will be validated in the function component path.


        var outerPropTypes = outerMemoType && outerMemoType.propTypes;

        if (outerPropTypes) {
          checkPropTypes(outerPropTypes, nextProps, // Resolved (SimpleMemoComponent has no defaultProps)
          'prop', getComponentNameFromType(outerMemoType));
        }
      }
    }
  }

  if (current !== null) {
    var prevProps = current.memoizedProps;

    if (shallowEqual(prevProps, nextProps) && current.ref === workInProgress.ref && ( // Prevent bailout if the implementation changed due to hot reload.
     workInProgress.type === current.type )) {
      didReceiveUpdate = false; // The props are shallowly equal. Reuse the previous props object, like we
      // would during a normal fiber bailout.
      //
      // We don't have strong guarantees that the props object is referentially
      // equal during updates where we can't bail out anyway — like if the props
      // are shallowly equal, but there's a local state or context update in the
      // same batch.
      //
      // However, as a principle, we should aim to make the behavior consistent
      // across different ways of memoizing a component. For example, React.memo
      // has a different internal Fiber layout if you pass a normal function
      // component (SimpleMemoComponent) versus if you pass a different type
      // like forwardRef (MemoComponent). But this is an implementation detail.
      // Wrapping a component in forwardRef (or React.lazy, etc) shouldn't
      // affect whether the props object is reused during a bailout.

      workInProgress.pendingProps = nextProps = prevProps;

      if (!checkScheduledUpdateOrContext(current, renderLanes)) {
        // The pending lanes were cleared at the beginning of beginWork. We're
        // about to bail out, but there might be other lanes that weren't
        // included in the current render. Usually, the priority level of the
        // remaining updates is accumulated during the evaluation of the
        // component (i.e. when processing the update queue). But since since
        // we're bailing out early *without* evaluating the component, we need
        // to account for it here, too. Reset to the value of the current fiber.
        // NOTE: This only applies to SimpleMemoComponent, not MemoComponent,
        // because a MemoComponent fiber does not have hooks or an update queue;
        // rather, it wraps around an inner component, which may or may not
        // contains hooks.
        // TODO: Move the reset at in beginWork out of the common path so that
        // this is no longer necessary.
        workInProgress.lanes = current.lanes;
        return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
      } else if ((current.flags & ForceUpdateForLegacySuspense) !== NoFlags) {
        // This is a special case that only exists for legacy mode.
        // See https://github.com/facebook/react/pull/19216.
        didReceiveUpdate = true;
      }
    }
  }

  return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
}

function updateOffscreenComponent(current, workInProgress, renderLanes) {
  var nextProps = workInProgress.pendingProps;
  var nextChildren = nextProps.children;
  var prevState = current !== null ? current.memoizedState : null;

  if (nextProps.mode === 'hidden' || enableLegacyHidden ) {
    // Rendering a hidden tree.
    if ((workInProgress.mode & ConcurrentMode) === NoMode) {
      // In legacy sync mode, don't defer the subtree. Render it now.
      // TODO: Consider how Offscreen should work with transitions in the future
      var nextState = {
        baseLanes: NoLanes,
        cachePool: null,
        transitions: null
      };
      workInProgress.memoizedState = nextState;

      pushRenderLanes(workInProgress, renderLanes);
    } else if (!includesSomeLane(renderLanes, OffscreenLane)) {
      var spawnedCachePool = null; // We're hidden, and we're not rendering at Offscreen. We will bail out
      // and resume this tree later.

      var nextBaseLanes;

      if (prevState !== null) {
        var prevBaseLanes = prevState.baseLanes;
        nextBaseLanes = mergeLanes(prevBaseLanes, renderLanes);
      } else {
        nextBaseLanes = renderLanes;
      } // Schedule this fiber to re-render at offscreen priority. Then bailout.


      workInProgress.lanes = workInProgress.childLanes = laneToLanes(OffscreenLane);
      var _nextState = {
        baseLanes: nextBaseLanes,
        cachePool: spawnedCachePool,
        transitions: null
      };
      workInProgress.memoizedState = _nextState;
      workInProgress.updateQueue = null;
      // to avoid a push/pop misalignment.


      pushRenderLanes(workInProgress, nextBaseLanes);

      return null;
    } else {
      // This is the second render. The surrounding visible content has already
      // committed. Now we resume rendering the hidden tree.
      // Rendering at offscreen, so we can clear the base lanes.
      var _nextState2 = {
        baseLanes: NoLanes,
        cachePool: null,
        transitions: null
      };
      workInProgress.memoizedState = _nextState2; // Push the lanes that were skipped when we bailed out.

      var subtreeRenderLanes = prevState !== null ? prevState.baseLanes : renderLanes;

      pushRenderLanes(workInProgress, subtreeRenderLanes);
    }
  } else {
    // Rendering a visible tree.
    var _subtreeRenderLanes;

    if (prevState !== null) {
      // We're going from hidden -> visible.
      _subtreeRenderLanes = mergeLanes(prevState.baseLanes, renderLanes);

      workInProgress.memoizedState = null;
    } else {
      // We weren't previously hidden, and we still aren't, so there's nothing
      // special to do. Need to push to the stack regardless, though, to avoid
      // a push/pop misalignment.
      _subtreeRenderLanes = renderLanes;
    }

    pushRenderLanes(workInProgress, _subtreeRenderLanes);
  }

  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
} // Note: These happen to have identical begin phases, for now. We shouldn't hold

function updateFragment(current, workInProgress, renderLanes) {
  var nextChildren = workInProgress.pendingProps;
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
}

function updateMode(current, workInProgress, renderLanes) {
  var nextChildren = workInProgress.pendingProps.children;
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
}

function updateProfiler(current, workInProgress, renderLanes) {
  {
    workInProgress.flags |= Update;

    {
      // Reset effect durations for the next eventual effect phase.
      // These are reset during render to allow the DevTools commit hook a chance to read them,
      var stateNode = workInProgress.stateNode;
      stateNode.effectDuration = 0;
      stateNode.passiveEffectDuration = 0;
    }
  }

  var nextProps = workInProgress.pendingProps;
  var nextChildren = nextProps.children;
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
}

function markRef(current, workInProgress) {
  var ref = workInProgress.ref;

  if (current === null && ref !== null || current !== null && current.ref !== ref) {
    // Schedule a Ref effect
    workInProgress.flags |= Ref;

    {
      workInProgress.flags |= RefStatic;
    }
  }
}

function updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes) {
  {
    if (workInProgress.type !== workInProgress.elementType) {
      // Lazy component props can't be validated in createElement
      // because they're only guaranteed to be resolved here.
      var innerPropTypes = Component.propTypes;

      if (innerPropTypes) {
        checkPropTypes(innerPropTypes, nextProps, // Resolved props
        'prop', getComponentNameFromType(Component));
      }
    }
  }

  var context;

  {
    var unmaskedContext = getUnmaskedContext(workInProgress, Component, true);
    context = getMaskedContext(workInProgress, unmaskedContext);
  }

  var nextChildren;
  var hasId;
  prepareToReadContext(workInProgress, renderLanes);

  {
    markComponentRenderStarted(workInProgress);
  }

  {
    ReactCurrentOwner$1.current = workInProgress;
    setIsRendering(true);
    nextChildren = renderWithHooks(current, workInProgress, Component, nextProps, context, renderLanes);
    hasId = checkDidRenderIdHook();

    if ( workInProgress.mode & StrictLegacyMode) {
      setIsStrictModeForDevtools(true);

      try {
        nextChildren = renderWithHooks(current, workInProgress, Component, nextProps, context, renderLanes);
        hasId = checkDidRenderIdHook();
      } finally {
        setIsStrictModeForDevtools(false);
      }
    }

    setIsRendering(false);
  }

  {
    markComponentRenderStopped();
  }

  if (current !== null && !didReceiveUpdate) {
    bailoutHooks(current, workInProgress, renderLanes);
    return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
  }

  if (getIsHydrating() && hasId) {
    pushMaterializedTreeId(workInProgress);
  } // React DevTools reads this flag.


  workInProgress.flags |= PerformedWork;
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
}

function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {
  {
    // This is used by DevTools to force a boundary to error.
    switch (shouldError(workInProgress)) {
      case false:
        {
          var _instance = workInProgress.stateNode;
          var ctor = workInProgress.type; // TODO This way of resetting the error boundary state is a hack.
          // Is there a better way to do this?

          var tempInstance = new ctor(workInProgress.memoizedProps, _instance.context);
          var state = tempInstance.state;

          _instance.updater.enqueueSetState(_instance, state, null);

          break;
        }

      case true:
        {
          workInProgress.flags |= DidCapture;
          workInProgress.flags |= ShouldCapture; // eslint-disable-next-line react-internal/prod-error-codes

          var error$1 = new Error('Simulated error coming from DevTools');
          var lane = pickArbitraryLane(renderLanes);
          workInProgress.lanes = mergeLanes(workInProgress.lanes, lane); // Schedule the error boundary to re-render using updated state

          var update = createClassErrorUpdate(workInProgress, createCapturedValueAtFiber(error$1, workInProgress), lane);
          enqueueCapturedUpdate(workInProgress, update);
          break;
        }
    }

    if (workInProgress.type !== workInProgress.elementType) {
      // Lazy component props can't be validated in createElement
      // because they're only guaranteed to be resolved here.
      var innerPropTypes = Component.propTypes;

      if (innerPropTypes) {
        checkPropTypes(innerPropTypes, nextProps, // Resolved props
        'prop', getComponentNameFromType(Component));
      }
    }
  } // Push context providers early to prevent context stack mismatches.
  // During mounting we don't know the child context yet as the instance doesn't exist.
  // We will invalidate the child context in finishClassComponent() right after rendering.


  var hasContext;

  if (isContextProvider(Component)) {
    hasContext = true;
    pushContextProvider(workInProgress);
  } else {
    hasContext = false;
  }

  prepareToReadContext(workInProgress, renderLanes);
  var instance = workInProgress.stateNode;
  var shouldUpdate;

  if (instance === null) {
    resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress); // In the initial pass we might need to construct the instance.

    constructClassInstance(workInProgress, Component, nextProps);
    mountClassInstance(workInProgress, Component, nextProps, renderLanes);
    shouldUpdate = true;
  } else if (current === null) {
    // In a resume, we'll already have an instance we can reuse.
    shouldUpdate = resumeMountClassInstance(workInProgress, Component, nextProps, renderLanes);
  } else {
    shouldUpdate = updateClassInstance(current, workInProgress, Component, nextProps, renderLanes);
  }

  var nextUnitOfWork = finishClassComponent(current, workInProgress, Component, shouldUpdate, hasContext, renderLanes);

  {
    var inst = workInProgress.stateNode;

    if (shouldUpdate && inst.props !== nextProps) {
      if (!didWarnAboutReassigningProps) {
        error('It looks like %s is reassigning its own `this.props` while rendering. ' + 'This is not supported and can lead to confusing bugs.', getComponentNameFromFiber(workInProgress) || 'a component');
      }

      didWarnAboutReassigningProps = true;
    }
  }

  return nextUnitOfWork;
}

function finishClassComponent(current, workInProgress, Component, shouldUpdate, hasContext, renderLanes) {
  // Refs should update even if shouldComponentUpdate returns false
  markRef(current, workInProgress);
  var didCaptureError = (workInProgress.flags & DidCapture) !== NoFlags;

  if (!shouldUpdate && !didCaptureError) {
    // Context providers should defer to sCU for rendering
    if (hasContext) {
      invalidateContextProvider(workInProgress, Component, false);
    }

    return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
  }

  var instance = workInProgress.stateNode; // Rerender

  ReactCurrentOwner$1.current = workInProgress;
  var nextChildren;

  if (didCaptureError && typeof Component.getDerivedStateFromError !== 'function') {
    // If we captured an error, but getDerivedStateFromError is not defined,
    // unmount all the children. componentDidCatch will schedule an update to
    // re-render a fallback. This is temporary until we migrate everyone to
    // the new API.
    // TODO: Warn in a future release.
    nextChildren = null;

    {
      stopProfilerTimerIfRunning();
    }
  } else {
    {
      markComponentRenderStarted(workInProgress);
    }

    {
      setIsRendering(true);
      nextChildren = instance.render();

      if ( workInProgress.mode & StrictLegacyMode) {
        setIsStrictModeForDevtools(true);

        try {
          instance.render();
        } finally {
          setIsStrictModeForDevtools(false);
        }
      }

      setIsRendering(false);
    }

    {
      markComponentRenderStopped();
    }
  } // React DevTools reads this flag.


  workInProgress.flags |= PerformedWork;

  if (current !== null && didCaptureError) {
    // If we're recovering from an error, reconcile without reusing any of
    // the existing children. Conceptually, the normal children and the children
    // that are shown on error are two different sets, so we shouldn't reuse
    // normal children even if their identities match.
    forceUnmountCurrentAndReconcile(current, workInProgress, nextChildren, renderLanes);
  } else {
    reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  } // Memoize state using the values we just used to render.
  // TODO: Restructure so we never read values from the instance.


  workInProgress.memoizedState = instance.state; // The context might have changed so we need to recalculate it.

  if (hasContext) {
    invalidateContextProvider(workInProgress, Component, true);
  }

  return workInProgress.child;
}

function pushHostRootContext(workInProgress) {
  var root = workInProgress.stateNode;

  if (root.pendingContext) {
    pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context);
  } else if (root.context) {
    // Should always be set
    pushTopLevelContextObject(workInProgress, root.context, false);
  }

  pushHostContainer(workInProgress, root.containerInfo);
}

function updateHostRoot(current, workInProgress, renderLanes) {
  pushHostRootContext(workInProgress);

  if (current === null) {
    throw new Error('Should have a current fiber. This is a bug in React.');
  }

  var nextProps = workInProgress.pendingProps;
  var prevState = workInProgress.memoizedState;
  var prevChildren = prevState.element;
  cloneUpdateQueue(current, workInProgress);
  processUpdateQueue(workInProgress, nextProps, null, renderLanes);
  var nextState = workInProgress.memoizedState;
  var root = workInProgress.stateNode;
  // being called "element".


  var nextChildren = nextState.element;

  if ( prevState.isDehydrated) {
    // This is a hydration root whose shell has not yet hydrated. We should
    // attempt to hydrate.
    // Flip isDehydrated to false to indicate that when this render
    // finishes, the root will no longer be dehydrated.
    var overrideState = {
      element: nextChildren,
      isDehydrated: false,
      cache: nextState.cache,
      pendingSuspenseBoundaries: nextState.pendingSuspenseBoundaries,
      transitions: nextState.transitions
    };
    var updateQueue = workInProgress.updateQueue; // `baseState` can always be the last state because the root doesn't
    // have reducer functions so it doesn't need rebasing.

    updateQueue.baseState = overrideState;
    workInProgress.memoizedState = overrideState;

    if (workInProgress.flags & ForceClientRender) {
      // Something errored during a previous attempt to hydrate the shell, so we
      // forced a client render.
      var recoverableError = createCapturedValueAtFiber(new Error('There was an error while hydrating. Because the error happened outside ' + 'of a Suspense boundary, the entire root will switch to ' + 'client rendering.'), workInProgress);
      return mountHostRootWithoutHydrating(current, workInProgress, nextChildren, renderLanes, recoverableError);
    } else if (nextChildren !== prevChildren) {
      var _recoverableError = createCapturedValueAtFiber(new Error('This root received an early update, before anything was able ' + 'hydrate. Switched the entire root to client rendering.'), workInProgress);

      return mountHostRootWithoutHydrating(current, workInProgress, nextChildren, renderLanes, _recoverableError);
    } else {
      // The outermost shell has not hydrated yet. Start hydrating.
      enterHydrationState(workInProgress);

      var child = mountChildFibers(workInProgress, null, nextChildren, renderLanes);
      workInProgress.child = child;
      var node = child;

      while (node) {
        // Mark each child as hydrating. This is a fast path to know whether this
        // tree is part of a hydrating tree. This is used to determine if a child
        // node has fully mounted yet, and for scheduling event replaying.
        // Conceptually this is similar to Placement in that a new subtree is
        // inserted into the React tree here. It just happens to not need DOM
        // mutations because it already exists.
        node.flags = node.flags & ~Placement | Hydrating;
        node = node.sibling;
      }
    }
  } else {
    // Root is not dehydrated. Either this is a client-only root, or it
    // already hydrated.
    resetHydrationState();

    if (nextChildren === prevChildren) {
      return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
    }

    reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  }

  return workInProgress.child;
}

function mountHostRootWithoutHydrating(current, workInProgress, nextChildren, renderLanes, recoverableError) {
  // Revert to client rendering.
  resetHydrationState();
  queueHydrationError(recoverableError);
  workInProgress.flags |= ForceClientRender;
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
}

function updateHostComponent(current, workInProgress, renderLanes) {
  pushHostContext(workInProgress);

  if (current === null) {
    tryToClaimNextHydratableInstance(workInProgress);
  }

  var type = workInProgress.type;
  var nextProps = workInProgress.pendingProps;
  var prevProps = current !== null ? current.memoizedProps : null;
  var nextChildren = nextProps.children;
  var isDirectTextChild = shouldSetTextContent(type, nextProps);

  if (isDirectTextChild) {
    // We special case a direct text child of a host node. This is a common
    // case. We won't handle it as a reified child. We will instead handle
    // this in the host environment that also has access to this prop. That
    // avoids allocating another HostText fiber and traversing it.
    nextChildren = null;
  } else if (prevProps !== null && shouldSetTextContent(type, prevProps)) {
    // If we're switching from a direct text child to a normal child, or to
    // empty, we need to schedule the text content to be reset.
    workInProgress.flags |= ContentReset;
  }

  markRef(current, workInProgress);
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  return workInProgress.child;
}

function updateHostText(current, workInProgress) {
  if (current === null) {
    tryToClaimNextHydratableInstance(workInProgress);
  } // Nothing to do here. This is terminal. We'll do the completion step
  // immediately after.


  return null;
}

function mountLazyComponent(_current, workInProgress, elementType, renderLanes) {
  resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress);
  var props = workInProgress.pendingProps;
  var lazyComponent = elementType;
  var payload = lazyComponent._payload;
  var init = lazyComponent._init;
  var Component = init(payload); // Store the unwrapped component in the type.

  workInProgress.type = Component;
  var resolvedTag = workInProgress.tag = resolveLazyComponentTag(Component);
  var resolvedProps = resolveDefaultProps(Component, props);
  var child;

  switch (resolvedTag) {
    case FunctionComponent:
      {
        {
          validateFunctionComponentInDev(workInProgress, Component);
          workInProgress.type = Component = resolveFunctionForHotReloading(Component);
        }

        child = updateFunctionComponent(null, workInProgress, Component, resolvedProps, renderLanes);
        return child;
      }

    case ClassComponent:
      {
        {
          workInProgress.type = Component = resolveClassForHotReloading(Component);
        }

        child = updateClassComponent(null, workInProgress, Component, resolvedProps, renderLanes);
        return child;
      }

    case ForwardRef:
      {
        {
          workInProgress.type = Component = resolveForwardRefForHotReloading(Component);
        }

        child = updateForwardRef(null, workInProgress, Component, resolvedProps, renderLanes);
        return child;
      }

    case MemoComponent:
      {
        {
          if (workInProgress.type !== workInProgress.elementType) {
            var outerPropTypes = Component.propTypes;

            if (outerPropTypes) {
              checkPropTypes(outerPropTypes, resolvedProps, // Resolved for outer only
              'prop', getComponentNameFromType(Component));
            }
          }
        }

        child = updateMemoComponent(null, workInProgress, Component, resolveDefaultProps(Component.type, resolvedProps), // The inner type can have defaults too
        renderLanes);
        return child;
      }
  }

  var hint = '';

  {
    if (Component !== null && typeof Component === 'object' && Component.$$typeof === REACT_LAZY_TYPE) {
      hint = ' Did you wrap a component in React.lazy() more than once?';
    }
  } // This message intentionally doesn't mention ForwardRef or MemoComponent
  // because the fact that it's a separate type of work is an
  // implementation detail.


  throw new Error("Element type is invalid. Received a promise that resolves to: " + Component + ". " + ("Lazy element type must resolve to a class or function." + hint));
}

function mountIncompleteClassComponent(_current, workInProgress, Component, nextProps, renderLanes) {
  resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress); // Promote the fiber to a class and try rendering again.

  workInProgress.tag = ClassComponent; // The rest of this function is a fork of `updateClassComponent`
  // Push context providers early to prevent context stack mismatches.
  // During mounting we don't know the child context yet as the instance doesn't exist.
  // We will invalidate the child context in finishClassComponent() right after rendering.

  var hasContext;

  if (isContextProvider(Component)) {
    hasContext = true;
    pushContextProvider(workInProgress);
  } else {
    hasContext = false;
  }

  prepareToReadContext(workInProgress, renderLanes);
  constructClassInstance(workInProgress, Component, nextProps);
  mountClassInstance(workInProgress, Component, nextProps, renderLanes);
  return finishClassComponent(null, workInProgress, Component, true, hasContext, renderLanes);
}

function mountIndeterminateComponent(_current, workInProgress, Component, renderLanes) {
  resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress);
  var props = workInProgress.pendingProps;
  var context;

  {
    var unmaskedContext = getUnmaskedContext(workInProgress, Component, false);
    context = getMaskedContext(workInProgress, unmaskedContext);
  }

  prepareToReadContext(workInProgress, renderLanes);
  var value;
  var hasId;

  {
    markComponentRenderStarted(workInProgress);
  }

  {
    if (Component.prototype && typeof Component.prototype.render === 'function') {
      var componentName = getComponentNameFromType(Component) || 'Unknown';

      if (!didWarnAboutBadClass[componentName]) {
        error("The <%s /> component appears to have a render method, but doesn't extend React.Component. " + 'This is likely to cause errors. Change %s to extend React.Component instead.', componentName, componentName);

        didWarnAboutBadClass[componentName] = true;
      }
    }

    if (workInProgress.mode & StrictLegacyMode) {
      ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, null);
    }

    setIsRendering(true);
    ReactCurrentOwner$1.current = workInProgress;
    value = renderWithHooks(null, workInProgress, Component, props, context, renderLanes);
    hasId = checkDidRenderIdHook();
    setIsRendering(false);
  }

  {
    markComponentRenderStopped();
  } // React DevTools reads this flag.


  workInProgress.flags |= PerformedWork;

  {
    // Support for module components is deprecated and is removed behind a flag.
    // Whether or not it would crash later, we want to show a good message in DEV first.
    if (typeof value === 'object' && value !== null && typeof value.render === 'function' && value.$$typeof === undefined) {
      var _componentName = getComponentNameFromType(Component) || 'Unknown';

      if (!didWarnAboutModulePatternComponent[_componentName]) {
        error('The <%s /> component appears to be a function component that returns a class instance. ' + 'Change %s to a class that extends React.Component instead. ' + "If you can't use a class try assigning the prototype on the function as a workaround. " + "`%s.prototype = React.Component.prototype`. Don't use an arrow function since it " + 'cannot be called with `new` by React.', _componentName, _componentName, _componentName);

        didWarnAboutModulePatternComponent[_componentName] = true;
      }
    }
  }

  if ( // Run these checks in production only if the flag is off.
  // Eventually we'll delete this branch altogether.
   typeof value === 'object' && value !== null && typeof value.render === 'function' && value.$$typeof === undefined) {
    {
      var _componentName2 = getComponentNameFromType(Component) || 'Unknown';

      if (!didWarnAboutModulePatternComponent[_componentName2]) {
        error('The <%s /> component appears to be a function component that returns a class instance. ' + 'Change %s to a class that extends React.Component instead. ' + "If you can't use a class try assigning the prototype on the function as a workaround. " + "`%s.prototype = React.Component.prototype`. Don't use an arrow function since it " + 'cannot be called with `new` by React.', _componentName2, _componentName2, _componentName2);

        didWarnAboutModulePatternComponent[_componentName2] = true;
      }
    } // Proceed under the assumption that this is a class instance


    workInProgress.tag = ClassComponent; // Throw out any hooks that were used.

    workInProgress.memoizedState = null;
    workInProgress.updateQueue = null; // Push context providers early to prevent context stack mismatches.
    // During mounting we don't know the child context yet as the instance doesn't exist.
    // We will invalidate the child context in finishClassComponent() right after rendering.

    var hasContext = false;

    if (isContextProvider(Component)) {
      hasContext = true;
      pushContextProvider(workInProgress);
    } else {
      hasContext = false;
    }

    workInProgress.memoizedState = value.state !== null && value.state !== undefined ? value.state : null;
    initializeUpdateQueue(workInProgress);
    adoptClassInstance(workInProgress, value);
    mountClassInstance(workInProgress, Component, props, renderLanes);
    return finishClassComponent(null, workInProgress, Component, true, hasContext, renderLanes);
  } else {
    // Proceed under the assumption that this is a function component
    workInProgress.tag = FunctionComponent;

    {

      if ( workInProgress.mode & StrictLegacyMode) {
        setIsStrictModeForDevtools(true);

        try {
          value = renderWithHooks(null, workInProgress, Component, props, context, renderLanes);
          hasId = checkDidRenderIdHook();
        } finally {
          setIsStrictModeForDevtools(false);
        }
      }
    }

    if (getIsHydrating() && hasId) {
      pushMaterializedTreeId(workInProgress);
    }

    reconcileChildren(null, workInProgress, value, renderLanes);

    {
      validateFunctionComponentInDev(workInProgress, Component);
    }

    return workInProgress.child;
  }
}

function validateFunctionComponentInDev(workInProgress, Component) {
  {
    if (Component) {
      if (Component.childContextTypes) {
        error('%s(...): childContextTypes cannot be defined on a function component.', Component.displayName || Component.name || 'Component');
      }
    }

    if (workInProgress.ref !== null) {
      var info = '';
      var ownerName = getCurrentFiberOwnerNameInDevOrNull();

      if (ownerName) {
        info += '\n\nCheck the render method of `' + ownerName + '`.';
      }

      var warningKey = ownerName || '';
      var debugSource = workInProgress._debugSource;

      if (debugSource) {
        warningKey = debugSource.fileName + ':' + debugSource.lineNumber;
      }

      if (!didWarnAboutFunctionRefs[warningKey]) {
        didWarnAboutFunctionRefs[warningKey] = true;

        error('Function components cannot be given refs. ' + 'Attempts to access this ref will fail. ' + 'Did you mean to use React.forwardRef()?%s', info);
      }
    }

    if ( Component.defaultProps !== undefined) {
      var componentName = getComponentNameFromType(Component) || 'Unknown';

      if (!didWarnAboutDefaultPropsOnFunctionComponent[componentName]) {
        error('%s: Support for defaultProps will be removed from function components ' + 'in a future major release. Use JavaScript default parameters instead.', componentName);

        didWarnAboutDefaultPropsOnFunctionComponent[componentName] = true;
      }
    }

    if (typeof Component.getDerivedStateFromProps === 'function') {
      var _componentName3 = getComponentNameFromType(Component) || 'Unknown';

      if (!didWarnAboutGetDerivedStateOnFunctionComponent[_componentName3]) {
        error('%s: Function components do not support getDerivedStateFromProps.', _componentName3);

        didWarnAboutGetDerivedStateOnFunctionComponent[_componentName3] = true;
      }
    }

    if (typeof Component.contextType === 'object' && Component.contextType !== null) {
      var _componentName4 = getComponentNameFromType(Component) || 'Unknown';

      if (!didWarnAboutContextTypeOnFunctionComponent[_componentName4]) {
        error('%s: Function components do not support contextType.', _componentName4);

        didWarnAboutContextTypeOnFunctionComponent[_componentName4] = true;
      }
    }
  }
}

var SUSPENDED_MARKER = {
  dehydrated: null,
  treeContext: null,
  retryLane: NoLane
};

function mountSuspenseOffscreenState(renderLanes) {
  return {
    baseLanes: renderLanes,
    cachePool: getSuspendedCache(),
    transitions: null
  };
}

function updateSuspenseOffscreenState(prevOffscreenState, renderLanes) {
  var cachePool = null;

  return {
    baseLanes: mergeLanes(prevOffscreenState.baseLanes, renderLanes),
    cachePool: cachePool,
    transitions: prevOffscreenState.transitions
  };
} // TODO: Probably should inline this back


function shouldRemainOnFallback(suspenseContext, current, workInProgress, renderLanes) {
  // If we're already showing a fallback, there are cases where we need to
  // remain on that fallback regardless of whether the content has resolved.
  // For example, SuspenseList coordinates when nested content appears.
  if (current !== null) {
    var suspenseState = current.memoizedState;

    if (suspenseState === null) {
      // Currently showing content. Don't hide it, even if ForceSuspenseFallback
      // is true. More precise name might be "ForceRemainSuspenseFallback".
      // Note: This is a factoring smell. Can't remain on a fallback if there's
      // no fallback to remain on.
      return false;
    }
  } // Not currently showing content. Consult the Suspense context.


  return hasSuspenseContext(suspenseContext, ForceSuspenseFallback);
}

function getRemainingWorkInPrimaryTree(current, renderLanes) {
  // TODO: Should not remove render lanes that were pinged during this render
  return removeLanes(current.childLanes, renderLanes);
}

function updateSuspenseComponent(current, workInProgress, renderLanes) {
  var nextProps = workInProgress.pendingProps; // This is used by DevTools to force a boundary to suspend.

  {
    if (shouldSuspend(workInProgress)) {
      workInProgress.flags |= DidCapture;
    }
  }

  var suspenseContext = suspenseStackCursor.current;
  var showFallback = false;
  var didSuspend = (workInProgress.flags & DidCapture) !== NoFlags;

  if (didSuspend || shouldRemainOnFallback(suspenseContext, current)) {
    // Something in this boundary's subtree already suspended. Switch to
    // rendering the fallback children.
    showFallback = true;
    workInProgress.flags &= ~DidCapture;
  } else {
    // Attempting the main content
    if (current === null || current.memoizedState !== null) {
      // This is a new mount or this boundary is already showing a fallback state.
      // Mark this subtree context as having at least one invisible parent that could
      // handle the fallback state.
      // Avoided boundaries are not considered since they cannot handle preferred fallback states.
      {
        suspenseContext = addSubtreeSuspenseContext(suspenseContext, InvisibleParentSuspenseContext);
      }
    }
  }

  suspenseContext = setDefaultShallowSuspenseContext(suspenseContext);
  pushSuspenseContext(workInProgress, suspenseContext); // OK, the next part is confusing. We're about to reconcile the Suspense
  // boundary's children. This involves some custom reconciliation logic. Two
  // main reasons this is so complicated.
  //
  // First, Legacy Mode has different semantics for backwards compatibility. The
  // primary tree will commit in an inconsistent state, so when we do the
  // second pass to render the fallback, we do some exceedingly, uh, clever
  // hacks to make that not totally break. Like transferring effects and
  // deletions from hidden tree. In Concurrent Mode, it's much simpler,
  // because we bailout on the primary tree completely and leave it in its old
  // state, no effects. Same as what we do for Offscreen (except that
  // Offscreen doesn't have the first render pass).
  //
  // Second is hydration. During hydration, the Suspense fiber has a slightly
  // different layout, where the child points to a dehydrated fragment, which
  // contains the DOM rendered by the server.
  //
  // Third, even if you set all that aside, Suspense is like error boundaries in
  // that we first we try to render one tree, and if that fails, we render again
  // and switch to a different tree. Like a try/catch block. So we have to track
  // which branch we're currently rendering. Ideally we would model this using
  // a stack.

  if (current === null) {
    // Initial mount
    // Special path for hydration
    // If we're currently hydrating, try to hydrate this boundary.
    tryToClaimNextHydratableInstance(workInProgress); // This could've been a dehydrated suspense component.

    var suspenseState = workInProgress.memoizedState;

    if (suspenseState !== null) {
      var dehydrated = suspenseState.dehydrated;

      if (dehydrated !== null) {
        return mountDehydratedSuspenseComponent(workInProgress, dehydrated);
      }
    }

    var nextPrimaryChildren = nextProps.children;
    var nextFallbackChildren = nextProps.fallback;

    if (showFallback) {
      var fallbackFragment = mountSuspenseFallbackChildren(workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes);
      var primaryChildFragment = workInProgress.child;
      primaryChildFragment.memoizedState = mountSuspenseOffscreenState(renderLanes);
      workInProgress.memoizedState = SUSPENDED_MARKER;

      return fallbackFragment;
    } else {
      return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren);
    }
  } else {
    // This is an update.
    // Special path for hydration
    var prevState = current.memoizedState;

    if (prevState !== null) {
      var _dehydrated = prevState.dehydrated;

      if (_dehydrated !== null) {
        return updateDehydratedSuspenseComponent(current, workInProgress, didSuspend, nextProps, _dehydrated, prevState, renderLanes);
      }
    }

    if (showFallback) {
      var _nextFallbackChildren = nextProps.fallback;
      var _nextPrimaryChildren = nextProps.children;
      var fallbackChildFragment = updateSuspenseFallbackChildren(current, workInProgress, _nextPrimaryChildren, _nextFallbackChildren, renderLanes);
      var _primaryChildFragment2 = workInProgress.child;
      var prevOffscreenState = current.child.memoizedState;
      _primaryChildFragment2.memoizedState = prevOffscreenState === null ? mountSuspenseOffscreenState(renderLanes) : updateSuspenseOffscreenState(prevOffscreenState, renderLanes);

      _primaryChildFragment2.childLanes = getRemainingWorkInPrimaryTree(current, renderLanes);
      workInProgress.memoizedState = SUSPENDED_MARKER;
      return fallbackChildFragment;
    } else {
      var _nextPrimaryChildren2 = nextProps.children;

      var _primaryChildFragment3 = updateSuspensePrimaryChildren(current, workInProgress, _nextPrimaryChildren2, renderLanes);

      workInProgress.memoizedState = null;
      return _primaryChildFragment3;
    }
  }
}

function mountSuspensePrimaryChildren(workInProgress, primaryChildren, renderLanes) {
  var mode = workInProgress.mode;
  var primaryChildProps = {
    mode: 'visible',
    children: primaryChildren
  };
  var primaryChildFragment = mountWorkInProgressOffscreenFiber(primaryChildProps, mode);
  primaryChildFragment.return = workInProgress;
  workInProgress.child = primaryChildFragment;
  return primaryChildFragment;
}

function mountSuspenseFallbackChildren(workInProgress, primaryChildren, fallbackChildren, renderLanes) {
  var mode = workInProgress.mode;
  var progressedPrimaryFragment = workInProgress.child;
  var primaryChildProps = {
    mode: 'hidden',
    children: primaryChildren
  };
  var primaryChildFragment;
  var fallbackChildFragment;

  if ((mode & ConcurrentMode) === NoMode && progressedPrimaryFragment !== null) {
    // In legacy mode, we commit the primary tree as if it successfully
    // completed, even though it's in an inconsistent state.
    primaryChildFragment = progressedPrimaryFragment;
    primaryChildFragment.childLanes = NoLanes;
    primaryChildFragment.pendingProps = primaryChildProps;

    if ( workInProgress.mode & ProfileMode) {
      // Reset the durations from the first pass so they aren't included in the
      // final amounts. This seems counterintuitive, since we're intentionally
      // not measuring part of the render phase, but this makes it match what we
      // do in Concurrent Mode.
      primaryChildFragment.actualDuration = 0;
      primaryChildFragment.actualStartTime = -1;
      primaryChildFragment.selfBaseDuration = 0;
      primaryChildFragment.treeBaseDuration = 0;
    }

    fallbackChildFragment = createFiberFromFragment(fallbackChildren, mode, renderLanes, null);
  } else {
    primaryChildFragment = mountWorkInProgressOffscreenFiber(primaryChildProps, mode);
    fallbackChildFragment = createFiberFromFragment(fallbackChildren, mode, renderLanes, null);
  }

  primaryChildFragment.return = workInProgress;
  fallbackChildFragment.return = workInProgress;
  primaryChildFragment.sibling = fallbackChildFragment;
  workInProgress.child = primaryChildFragment;
  return fallbackChildFragment;
}

function mountWorkInProgressOffscreenFiber(offscreenProps, mode, renderLanes) {
  // The props argument to `createFiberFromOffscreen` is `any` typed, so we use
  // this wrapper function to constrain it.
  return createFiberFromOffscreen(offscreenProps, mode, NoLanes, null);
}

function updateWorkInProgressOffscreenFiber(current, offscreenProps) {
  // The props argument to `createWorkInProgress` is `any` typed, so we use this
  // wrapper function to constrain it.
  return createWorkInProgress(current, offscreenProps);
}

function updateSuspensePrimaryChildren(current, workInProgress, primaryChildren, renderLanes) {
  var currentPrimaryChildFragment = current.child;
  var currentFallbackChildFragment = currentPrimaryChildFragment.sibling;
  var primaryChildFragment = updateWorkInProgressOffscreenFiber(currentPrimaryChildFragment, {
    mode: 'visible',
    children: primaryChildren
  });

  if ((workInProgress.mode & ConcurrentMode) === NoMode) {
    primaryChildFragment.lanes = renderLanes;
  }

  primaryChildFragment.return = workInProgress;
  primaryChildFragment.sibling = null;

  if (currentFallbackChildFragment !== null) {
    // Delete the fallback child fragment
    var deletions = workInProgress.deletions;

    if (deletions === null) {
      workInProgress.deletions = [currentFallbackChildFragment];
      workInProgress.flags |= ChildDeletion;
    } else {
      deletions.push(currentFallbackChildFragment);
    }
  }

  workInProgress.child = primaryChildFragment;
  return primaryChildFragment;
}

function updateSuspenseFallbackChildren(current, workInProgress, primaryChildren, fallbackChildren, renderLanes) {
  var mode = workInProgress.mode;
  var currentPrimaryChildFragment = current.child;
  var currentFallbackChildFragment = currentPrimaryChildFragment.sibling;
  var primaryChildProps = {
    mode: 'hidden',
    children: primaryChildren
  };
  var primaryChildFragment;

  if ( // In legacy mode, we commit the primary tree as if it successfully
  // completed, even though it's in an inconsistent state.
  (mode & ConcurrentMode) === NoMode && // Make sure we're on the second pass, i.e. the primary child fragment was
  // already cloned. In legacy mode, the only case where this isn't true is
  // when DevTools forces us to display a fallback; we skip the first render
  // pass entirely and go straight to rendering the fallback. (In Concurrent
  // Mode, SuspenseList can also trigger this scenario, but this is a legacy-
  // only codepath.)
  workInProgress.child !== currentPrimaryChildFragment) {
    var progressedPrimaryFragment = workInProgress.child;
    primaryChildFragment = progressedPrimaryFragment;
    primaryChildFragment.childLanes = NoLanes;
    primaryChildFragment.pendingProps = primaryChildProps;

    if ( workInProgress.mode & ProfileMode) {
      // Reset the durations from the first pass so they aren't included in the
      // final amounts. This seems counterintuitive, since we're intentionally
      // not measuring part of the render phase, but this makes it match what we
      // do in Concurrent Mode.
      primaryChildFragment.actualDuration = 0;
      primaryChildFragment.actualStartTime = -1;
      primaryChildFragment.selfBaseDuration = currentPrimaryChildFragment.selfBaseDuration;
      primaryChildFragment.treeBaseDuration = currentPrimaryChildFragment.treeBaseDuration;
    } // The fallback fiber was added as a deletion during the first pass.
    // However, since we're going to remain on the fallback, we no longer want
    // to delete it.


    workInProgress.deletions = null;
  } else {
    primaryChildFragment = updateWorkInProgressOffscreenFiber(currentPrimaryChildFragment, primaryChildProps); // Since we're reusing a current tree, we need to reuse the flags, too.
    // (We don't do this in legacy mode, because in legacy mode we don't re-use
    // the current tree; see previous branch.)

    primaryChildFragment.subtreeFlags = currentPrimaryChildFragment.subtreeFlags & StaticMask;
  }

  var fallbackChildFragment;

  if (currentFallbackChildFragment !== null) {
    fallbackChildFragment = createWorkInProgress(currentFallbackChildFragment, fallbackChildren);
  } else {
    fallbackChildFragment = createFiberFromFragment(fallbackChildren, mode, renderLanes, null); // Needs a placement effect because the parent (the Suspense boundary) already
    // mounted but this is a new fiber.

    fallbackChildFragment.flags |= Placement;
  }

  fallbackChildFragment.return = workInProgress;
  primaryChildFragment.return = workInProgress;
  primaryChildFragment.sibling = fallbackChildFragment;
  workInProgress.child = primaryChildFragment;
  return fallbackChildFragment;
}

function retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, recoverableError) {
  // Falling back to client rendering. Because this has performance
  // implications, it's considered a recoverable error, even though the user
  // likely won't observe anything wrong with the UI.
  //
  // The error is passed in as an argument to enforce that every caller provide
  // a custom message, or explicitly opt out (currently the only path that opts
  // out is legacy mode; every concurrent path provides an error).
  if (recoverableError !== null) {
    queueHydrationError(recoverableError);
  } // This will add the old fiber to the deletion list


  reconcileChildFibers(workInProgress, current.child, null, renderLanes); // We're now not suspended nor dehydrated.

  var nextProps = workInProgress.pendingProps;
  var primaryChildren = nextProps.children;
  var primaryChildFragment = mountSuspensePrimaryChildren(workInProgress, primaryChildren); // Needs a placement effect because the parent (the Suspense boundary) already
  // mounted but this is a new fiber.

  primaryChildFragment.flags |= Placement;
  workInProgress.memoizedState = null;
  return primaryChildFragment;
}

function mountSuspenseFallbackAfterRetryWithoutHydrating(current, workInProgress, primaryChildren, fallbackChildren, renderLanes) {
  var fiberMode = workInProgress.mode;
  var primaryChildProps = {
    mode: 'visible',
    children: primaryChildren
  };
  var primaryChildFragment = mountWorkInProgressOffscreenFiber(primaryChildProps, fiberMode);
  var fallbackChildFragment = createFiberFromFragment(fallbackChildren, fiberMode, renderLanes, null); // Needs a placement effect because the parent (the Suspense
  // boundary) already mounted but this is a new fiber.

  fallbackChildFragment.flags |= Placement;
  primaryChildFragment.return = workInProgress;
  fallbackChildFragment.return = workInProgress;
  primaryChildFragment.sibling = fallbackChildFragment;
  workInProgress.child = primaryChildFragment;

  if ((workInProgress.mode & ConcurrentMode) !== NoMode) {
    // We will have dropped the effect list which contains the
    // deletion. We need to reconcile to delete the current child.
    reconcileChildFibers(workInProgress, current.child, null, renderLanes);
  }

  return fallbackChildFragment;
}

function mountDehydratedSuspenseComponent(workInProgress, suspenseInstance, renderLanes) {
  // During the first pass, we'll bail out and not drill into the children.
  // Instead, we'll leave the content in place and try to hydrate it later.
  if ((workInProgress.mode & ConcurrentMode) === NoMode) {
    {
      error('Cannot hydrate Suspense in legacy mode. Switch from ' + 'ReactDOM.hydrate(element, container) to ' + 'ReactDOMClient.hydrateRoot(container, <App />)' + '.render(element) or remove the Suspense components from ' + 'the server rendered components.');
    }

    workInProgress.lanes = laneToLanes(SyncLane);
  } else if (isSuspenseInstanceFallback(suspenseInstance)) {
    // This is a client-only boundary. Since we won't get any content from the server
    // for this, we need to schedule that at a higher priority based on when it would
    // have timed out. In theory we could render it in this pass but it would have the
    // wrong priority associated with it and will prevent hydration of parent path.
    // Instead, we'll leave work left on it to render it in a separate commit.
    // TODO This time should be the time at which the server rendered response that is
    // a parent to this boundary was displayed. However, since we currently don't have
    // a protocol to transfer that time, we'll just estimate it by using the current
    // time. This will mean that Suspense timeouts are slightly shifted to later than
    // they should be.
    // Schedule a normal pri update to render this content.
    workInProgress.lanes = laneToLanes(DefaultHydrationLane);
  } else {
    // We'll continue hydrating the rest at offscreen priority since we'll already
    // be showing the right content coming from the server, it is no rush.
    workInProgress.lanes = laneToLanes(OffscreenLane);
  }

  return null;
}

function updateDehydratedSuspenseComponent(current, workInProgress, didSuspend, nextProps, suspenseInstance, suspenseState, renderLanes) {
  if (!didSuspend) {
    // This is the first render pass. Attempt to hydrate.
    // We should never be hydrating at this point because it is the first pass,
    // but after we've already committed once.
    warnIfHydrating();

    if ((workInProgress.mode & ConcurrentMode) === NoMode) {
      return retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, // TODO: When we delete legacy mode, we should make this error argument
      // required — every concurrent mode path that causes hydration to
      // de-opt to client rendering should have an error message.
      null);
    }

    if (isSuspenseInstanceFallback(suspenseInstance)) {
      // This boundary is in a permanent fallback state. In this case, we'll never
      // get an update and we'll never be able to hydrate the final content. Let's just try the
      // client side render instead.
      var digest, message, stack;

      {
        var _getSuspenseInstanceF = getSuspenseInstanceFallbackErrorDetails(suspenseInstance);

        digest = _getSuspenseInstanceF.digest;
        message = _getSuspenseInstanceF.message;
        stack = _getSuspenseInstanceF.stack;
      }

      var error;

      if (message) {
        // eslint-disable-next-line react-internal/prod-error-codes
        error = new Error(message);
      } else {
        error = new Error('The server could not finish this Suspense boundary, likely ' + 'due to an error during server rendering. Switched to ' + 'client rendering.');
      }

      var capturedValue = createCapturedValue(error, digest, stack);
      return retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, capturedValue);
    }
    // any context has changed, we need to treat is as if the input might have changed.


    var hasContextChanged = includesSomeLane(renderLanes, current.childLanes);

    if (didReceiveUpdate || hasContextChanged) {
      // This boundary has changed since the first render. This means that we are now unable to
      // hydrate it. We might still be able to hydrate it using a higher priority lane.
      var root = getWorkInProgressRoot();

      if (root !== null) {
        var attemptHydrationAtLane = getBumpedLaneForHydration(root, renderLanes);

        if (attemptHydrationAtLane !== NoLane && attemptHydrationAtLane !== suspenseState.retryLane) {
          // Intentionally mutating since this render will get interrupted. This
          // is one of the very rare times where we mutate the current tree
          // during the render phase.
          suspenseState.retryLane = attemptHydrationAtLane; // TODO: Ideally this would inherit the event time of the current render

          var eventTime = NoTimestamp;
          enqueueConcurrentRenderForLane(current, attemptHydrationAtLane);
          scheduleUpdateOnFiber(root, current, attemptHydrationAtLane, eventTime);
        }
      } // If we have scheduled higher pri work above, this will probably just abort the render
      // since we now have higher priority work, but in case it doesn't, we need to prepare to
      // render something, if we time out. Even if that requires us to delete everything and
      // skip hydration.
      // Delay having to do this as long as the suspense timeout allows us.


      renderDidSuspendDelayIfPossible();

      var _capturedValue = createCapturedValue(new Error('This Suspense boundary received an update before it finished ' + 'hydrating. This caused the boundary to switch to client rendering. ' + 'The usual way to fix this is to wrap the original update ' + 'in startTransition.'));

      return retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, _capturedValue);
    } else if (isSuspenseInstancePending(suspenseInstance)) {
      // This component is still pending more data from the server, so we can't hydrate its
      // content. We treat it as if this component suspended itself. It might seem as if
      // we could just try to render it client-side instead. However, this will perform a
      // lot of unnecessary work and is unlikely to complete since it often will suspend
      // on missing data anyway. Additionally, the server might be able to render more
      // than we can on the client yet. In that case we'd end up with more fallback states
      // on the client than if we just leave it alone. If the server times out or errors
      // these should update this boundary to the permanent Fallback state instead.
      // Mark it as having captured (i.e. suspended).
      workInProgress.flags |= DidCapture; // Leave the child in place. I.e. the dehydrated fragment.

      workInProgress.child = current.child; // Register a callback to retry this boundary once the server has sent the result.

      var retry = retryDehydratedSuspenseBoundary.bind(null, current);
      registerSuspenseInstanceRetry(suspenseInstance, retry);
      return null;
    } else {
      // This is the first attempt.
      reenterHydrationStateFromDehydratedSuspenseInstance(workInProgress, suspenseInstance, suspenseState.treeContext);
      var primaryChildren = nextProps.children;
      var primaryChildFragment = mountSuspensePrimaryChildren(workInProgress, primaryChildren); // Mark the children as hydrating. This is a fast path to know whether this
      // tree is part of a hydrating tree. This is used to determine if a child
      // node has fully mounted yet, and for scheduling event replaying.
      // Conceptually this is similar to Placement in that a new subtree is
      // inserted into the React tree here. It just happens to not need DOM
      // mutations because it already exists.

      primaryChildFragment.flags |= Hydrating;
      return primaryChildFragment;
    }
  } else {
    // This is the second render pass. We already attempted to hydrated, but
    // something either suspended or errored.
    if (workInProgress.flags & ForceClientRender) {
      // Something errored during hydration. Try again without hydrating.
      workInProgress.flags &= ~ForceClientRender;

      var _capturedValue2 = createCapturedValue(new Error('There was an error while hydrating this Suspense boundary. ' + 'Switched to client rendering.'));

      return retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes, _capturedValue2);
    } else if (workInProgress.memoizedState !== null) {
      // Something suspended and we should still be in dehydrated mode.
      // Leave the existing child in place.
      workInProgress.child = current.child; // The dehydrated completion pass expects this flag to be there
      // but the normal suspense pass doesn't.

      workInProgress.flags |= DidCapture;
      return null;
    } else {
      // Suspended but we should no longer be in dehydrated mode.
      // Therefore we now have to render the fallback.
      var nextPrimaryChildren = nextProps.children;
      var nextFallbackChildren = nextProps.fallback;
      var fallbackChildFragment = mountSuspenseFallbackAfterRetryWithoutHydrating(current, workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes);
      var _primaryChildFragment4 = workInProgress.child;
      _primaryChildFragment4.memoizedState = mountSuspenseOffscreenState(renderLanes);
      workInProgress.memoizedState = SUSPENDED_MARKER;
      return fallbackChildFragment;
    }
  }
}

function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {
  fiber.lanes = mergeLanes(fiber.lanes, renderLanes);
  var alternate = fiber.alternate;

  if (alternate !== null) {
    alternate.lanes = mergeLanes(alternate.lanes, renderLanes);
  }

  scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);
}

function propagateSuspenseContextChange(workInProgress, firstChild, renderLanes) {
  // Mark any Suspense boundaries with fallbacks as having work to do.
  // If they were previously forced into fallbacks, they may now be able
  // to unblock.
  var node = firstChild;

  while (node !== null) {
    if (node.tag === SuspenseComponent) {
      var state = node.memoizedState;

      if (state !== null) {
        scheduleSuspenseWorkOnFiber(node, renderLanes, workInProgress);
      }
    } else if (node.tag === SuspenseListComponent) {
      // If the tail is hidden there might not be an Suspense boundaries
      // to schedule work on. In this case we have to schedule it on the
      // list itself.
      // We don't have to traverse to the children of the list since
      // the list will propagate the change when it rerenders.
      scheduleSuspenseWorkOnFiber(node, renderLanes, workInProgress);
    } else if (node.child !== null) {
      node.child.return = node;
      node = node.child;
      continue;
    }

    if (node === workInProgress) {
      return;
    }

    while (node.sibling === null) {
      if (node.return === null || node.return === workInProgress) {
        return;
      }

      node = node.return;
    }

    node.sibling.return = node.return;
    node = node.sibling;
  }
}

function findLastContentRow(firstChild) {
  // This is going to find the last row among these children that is already
  // showing content on the screen, as opposed to being in fallback state or
  // new. If a row has multiple Suspense boundaries, any of them being in the
  // fallback state, counts as the whole row being in a fallback state.
  // Note that the "rows" will be workInProgress, but any nested children
  // will still be current since we haven't rendered them yet. The mounted
  // order may not be the same as the new order. We use the new order.
  var row = firstChild;
  var lastContentRow = null;

  while (row !== null) {
    var currentRow = row.alternate; // New rows can't be content rows.

    if (currentRow !== null && findFirstSuspended(currentRow) === null) {
      lastContentRow = row;
    }

    row = row.sibling;
  }

  return lastContentRow;
}

function validateRevealOrder(revealOrder) {
  {
    if (revealOrder !== undefined && revealOrder !== 'forwards' && revealOrder !== 'backwards' && revealOrder !== 'together' && !didWarnAboutRevealOrder[revealOrder]) {
      didWarnAboutRevealOrder[revealOrder] = true;

      if (typeof revealOrder === 'string') {
        switch (revealOrder.toLowerCase()) {
          case 'together':
          case 'forwards':
          case 'backwards':
            {
              error('"%s" is not a valid value for revealOrder on <SuspenseList />. ' + 'Use lowercase "%s" instead.', revealOrder, revealOrder.toLowerCase());

              break;
            }

          case 'forward':
          case 'backward':
            {
              error('"%s" is not a valid value for revealOrder on <SuspenseList />. ' + 'React uses the -s suffix in the spelling. Use "%ss" instead.', revealOrder, revealOrder.toLowerCase());

              break;
            }

          default:
            error('"%s" is not a supported revealOrder on <SuspenseList />. ' + 'Did you mean "together", "forwards" or "backwards"?', revealOrder);

            break;
        }
      } else {
        error('%s is not a supported value for revealOrder on <SuspenseList />. ' + 'Did you mean "together", "forwards" or "backwards"?', revealOrder);
      }
    }
  }
}

function validateTailOptions(tailMode, revealOrder) {
  {
    if (tailMode !== undefined && !didWarnAboutTailOptions[tailMode]) {
      if (tailMode !== 'collapsed' && tailMode !== 'hidden') {
        didWarnAboutTailOptions[tailMode] = true;

        error('"%s" is not a supported value for tail on <SuspenseList />. ' + 'Did you mean "collapsed" or "hidden"?', tailMode);
      } else if (revealOrder !== 'forwards' && revealOrder !== 'backwards') {
        didWarnAboutTailOptions[tailMode] = true;

        error('<SuspenseList tail="%s" /> is only valid if revealOrder is ' + '"forwards" or "backwards". ' + 'Did you mean to specify revealOrder="forwards"?', tailMode);
      }
    }
  }
}

function validateSuspenseListNestedChild(childSlot, index) {
  {
    var isAnArray = isArray(childSlot);
    var isIterable = !isAnArray && typeof getIteratorFn(childSlot) === 'function';

    if (isAnArray || isIterable) {
      var type = isAnArray ? 'array' : 'iterable';

      error('A nested %s was passed to row #%s in <SuspenseList />. Wrap it in ' + 'an additional SuspenseList to configure its revealOrder: ' + '<SuspenseList revealOrder=...> ... ' + '<SuspenseList revealOrder=...>{%s}</SuspenseList> ... ' + '</SuspenseList>', type, index, type);

      return false;
    }
  }

  return true;
}

function validateSuspenseListChildren(children, revealOrder) {
  {
    if ((revealOrder === 'forwards' || revealOrder === 'backwards') && children !== undefined && children !== null && children !== false) {
      if (isArray(children)) {
        for (var i = 0; i < children.length; i++) {
          if (!validateSuspenseListNestedChild(children[i], i)) {
            return;
          }
        }
      } else {
        var iteratorFn = getIteratorFn(children);

        if (typeof iteratorFn === 'function') {
          var childrenIterator = iteratorFn.call(children);

          if (childrenIterator) {
            var step = childrenIterator.next();
            var _i = 0;

            for (; !step.done; step = childrenIterator.next()) {
              if (!validateSuspenseListNestedChild(step.value, _i)) {
                return;
              }

              _i++;
            }
          }
        } else {
          error('A single row was passed to a <SuspenseList revealOrder="%s" />. ' + 'This is not useful since it needs multiple rows. ' + 'Did you mean to pass multiple children or an array?', revealOrder);
        }
      }
    }
  }
}

function initSuspenseListRenderState(workInProgress, isBackwards, tail, lastContentRow, tailMode) {
  var renderState = workInProgress.memoizedState;

  if (renderState === null) {
    workInProgress.memoizedState = {
      isBackwards: isBackwards,
      rendering: null,
      renderingStartTime: 0,
      last: lastContentRow,
      tail: tail,
      tailMode: tailMode
    };
  } else {
    // We can reuse the existing object from previous renders.
    renderState.isBackwards = isBackwards;
    renderState.rendering = null;
    renderState.renderingStartTime = 0;
    renderState.last = lastContentRow;
    renderState.tail = tail;
    renderState.tailMode = tailMode;
  }
} // This can end up rendering this component multiple passes.
// The first pass splits the children fibers into two sets. A head and tail.
// We first render the head. If anything is in fallback state, we do another
// pass through beginWork to rerender all children (including the tail) with
// the force suspend context. If the first render didn't have anything in
// in fallback state. Then we render each row in the tail one-by-one.
// That happens in the completeWork phase without going back to beginWork.


function updateSuspenseListComponent(current, workInProgress, renderLanes) {
  var nextProps = workInProgress.pendingProps;
  var revealOrder = nextProps.revealOrder;
  var tailMode = nextProps.tail;
  var newChildren = nextProps.children;
  validateRevealOrder(revealOrder);
  validateTailOptions(tailMode, revealOrder);
  validateSuspenseListChildren(newChildren, revealOrder);
  reconcileChildren(current, workInProgress, newChildren, renderLanes);
  var suspenseContext = suspenseStackCursor.current;
  var shouldForceFallback = hasSuspenseContext(suspenseContext, ForceSuspenseFallback);

  if (shouldForceFallback) {
    suspenseContext = setShallowSuspenseContext(suspenseContext, ForceSuspenseFallback);
    workInProgress.flags |= DidCapture;
  } else {
    var didSuspendBefore = current !== null && (current.flags & DidCapture) !== NoFlags;

    if (didSuspendBefore) {
      // If we previously forced a fallback, we need to schedule work
      // on any nested boundaries to let them know to try to render
      // again. This is the same as context updating.
      propagateSuspenseContextChange(workInProgress, workInProgress.child, renderLanes);
    }

    suspenseContext = setDefaultShallowSuspenseContext(suspenseContext);
  }

  pushSuspenseContext(workInProgress, suspenseContext);

  if ((workInProgress.mode & ConcurrentMode) === NoMode) {
    // In legacy mode, SuspenseList doesn't work so we just
    // use make it a noop by treating it as the default revealOrder.
    workInProgress.memoizedState = null;
  } else {
    switch (revealOrder) {
      case 'forwards':
        {
          var lastContentRow = findLastContentRow(workInProgress.child);
          var tail;

          if (lastContentRow === null) {
            // The whole list is part of the tail.
            // TODO: We could fast path by just rendering the tail now.
            tail = workInProgress.child;
            workInProgress.child = null;
          } else {
            // Disconnect the tail rows after the content row.
            // We're going to render them separately later.
            tail = lastContentRow.sibling;
            lastContentRow.sibling = null;
          }

          initSuspenseListRenderState(workInProgress, false, // isBackwards
          tail, lastContentRow, tailMode);
          break;
        }

      case 'backwards':
        {
          // We're going to find the first row that has existing content.
          // At the same time we're going to reverse the list of everything
          // we pass in the meantime. That's going to be our tail in reverse
          // order.
          var _tail = null;
          var row = workInProgress.child;
          workInProgress.child = null;

          while (row !== null) {
            var currentRow = row.alternate; // New rows can't be content rows.

            if (currentRow !== null && findFirstSuspended(currentRow) === null) {
              // This is the beginning of the main content.
              workInProgress.child = row;
              break;
            }

            var nextRow = row.sibling;
            row.sibling = _tail;
            _tail = row;
            row = nextRow;
          } // TODO: If workInProgress.child is null, we can continue on the tail immediately.


          initSuspenseListRenderState(workInProgress, true, // isBackwards
          _tail, null, // last
          tailMode);
          break;
        }

      case 'together':
        {
          initSuspenseListRenderState(workInProgress, false, // isBackwards
          null, // tail
          null, // last
          undefined);
          break;
        }

      default:
        {
          // The default reveal order is the same as not having
          // a boundary.
          workInProgress.memoizedState = null;
        }
    }
  }

  return workInProgress.child;
}

function updatePortalComponent(current, workInProgress, renderLanes) {
  pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);
  var nextChildren = workInProgress.pendingProps;

  if (current === null) {
    // Portals are special because we don't append the children during mount
    // but at commit. Therefore we need to track insertions which the normal
    // flow doesn't do during mount. This doesn't happen at the root because
    // the root always starts with a "current" with a null child.
    // TODO: Consider unifying this with how the root works.
    workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderLanes);
  } else {
    reconcileChildren(current, workInProgress, nextChildren, renderLanes);
  }

  return workInProgress.child;
}

var hasWarnedAboutUsingNoValuePropOnContextProvider = false;

function updateContextProvider(current, workInProgress, renderLanes) {
  var providerType = workInProgress.type;
  var context = providerType._context;
  var newProps = workInProgress.pendingProps;
  var oldProps = workInProgress.memoizedProps;
  var newValue = newProps.value;

  {
    if (!('value' in newProps)) {
      if (!hasWarnedAboutUsingNoValuePropOnContextProvider) {
        hasWarnedAboutUsingNoValuePropOnContextProvider = true;

        error('The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?');
      }
    }

    var providerPropTypes = workInProgress.type.propTypes;

    if (providerPropTypes) {
      checkPropTypes(providerPropTypes, newProps, 'prop', 'Context.Provider');
    }
  }

  pushProvider(workInProgress, context, newValue);

  {
    if (oldProps !== null) {
      var oldValue = oldProps.value;

      if (objectIs(oldValue, newValue)) {
        // No change. Bailout early if children are the same.
        if (oldProps.children === newProps.children && !hasContextChanged()) {
          return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
        }
      } else {
        // The context value changed. Search for matching consumers and schedule
        // them to update.
        propagateContextChange(workInProgress, context, renderLanes);
      }
    }
  }

  var newChildren = newProps.children;
  reconcileChildren(current, workInProgress, newChildren, renderLanes);
  return workInProgress.child;
}

var hasWarnedAboutUsingContextAsConsumer = false;

function updateContextConsumer(current, workInProgress, renderLanes) {
  var context = workInProgress.type; // The logic below for Context differs depending on PROD or DEV mode. In
  // DEV mode, we create a separate object for Context.Consumer that acts
  // like a proxy to Context. This proxy object adds unnecessary code in PROD
  // so we use the old behaviour (Context.Consumer references Context) to
  // reduce size and overhead. The separate object references context via
  // a property called "_context", which also gives us the ability to check
  // in DEV mode if this property exists or not and warn if it does not.

  {
    if (context._context === undefined) {
      // This may be because it's a Context (rather than a Consumer).
      // Or it may be because it's older React where they're the same thing.
      // We only want to warn if we're sure it's a new React.
      if (context !== context.Consumer) {
        if (!hasWarnedAboutUsingContextAsConsumer) {
          hasWarnedAboutUsingContextAsConsumer = true;

          error('Rendering <Context> directly is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
        }
      }
    } else {
      context = context._context;
    }
  }

  var newProps = workInProgress.pendingProps;
  var render = newProps.children;

  {
    if (typeof render !== 'function') {
      error('A context consumer was rendered with multiple children, or a child ' + "that isn't a function. A context consumer expects a single child " + 'that is a function. If you did pass a function, make sure there ' + 'is no trailing or leading whitespace around it.');
    }
  }

  prepareToReadContext(workInProgress, renderLanes);
  var newValue = readContext(context);

  {
    markComponentRenderStarted(workInProgress);
  }

  var newChildren;

  {
    ReactCurrentOwner$1.current = workInProgress;
    setIsRendering(true);
    newChildren = render(newValue);
    setIsRendering(false);
  }

  {
    markComponentRenderStopped();
  } // React DevTools reads this flag.


  workInProgress.flags |= PerformedWork;
  reconcileChildren(current, workInProgress, newChildren, renderLanes);
  return workInProgress.child;
}

function markWorkInProgressReceivedUpdate() {
  didReceiveUpdate = true;
}

function resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress) {
  if ((workInProgress.mode & ConcurrentMode) === NoMode) {
    if (current !== null) {
      // A lazy component only mounts if it suspended inside a non-
      // concurrent tree, in an inconsistent state. We want to treat it like
      // a new mount, even though an empty version of it already committed.
      // Disconnect the alternate pointers.
      current.alternate = null;
      workInProgress.alternate = null; // Since this is conceptually a new fiber, schedule a Placement effect

      workInProgress.flags |= Placement;
    }
  }
}

function bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {
  if (current !== null) {
    // Reuse previous dependencies
    workInProgress.dependencies = current.dependencies;
  }

  {
    // Don't update "base" render times for bailouts.
    stopProfilerTimerIfRunning();
  }

  markSkippedUpdateLanes(workInProgress.lanes); // Check if the children have any pending work.

  if (!includesSomeLane(renderLanes, workInProgress.childLanes)) {
    // The children don't have any work either. We can skip them.
    // TODO: Once we add back resuming, we should check if the children are
    // a work-in-progress set. If so, we need to transfer their effects.
    {
      return null;
    }
  } // This fiber doesn't have work, but its subtree does. Clone the child
  // fibers and continue.


  cloneChildFibers(current, workInProgress);
  return workInProgress.child;
}

function remountFiber(current, oldWorkInProgress, newWorkInProgress) {
  {
    var returnFiber = oldWorkInProgress.return;

    if (returnFiber === null) {
      // eslint-disable-next-line react-internal/prod-error-codes
      throw new Error('Cannot swap the root fiber.');
    } // Disconnect from the old current.
    // It will get deleted.


    current.alternate = null;
    oldWorkInProgress.alternate = null; // Connect to the new tree.

    newWorkInProgress.index = oldWorkInProgress.index;
    newWorkInProgress.sibling = oldWorkInProgress.sibling;
    newWorkInProgress.return = oldWorkInProgress.return;
    newWorkInProgress.ref = oldWorkInProgress.ref; // Replace the child/sibling pointers above it.

    if (oldWorkInProgress === returnFiber.child) {
      returnFiber.child = newWorkInProgress;
    } else {
      var prevSibling = returnFiber.child;

      if (prevSibling === null) {
        // eslint-disable-next-line react-internal/prod-error-codes
        throw new Error('Expected parent to have a child.');
      }

      while (prevSibling.sibling !== oldWorkInProgress) {
        prevSibling = prevSibling.sibling;

        if (prevSibling === null) {
          // eslint-disable-next-line react-internal/prod-error-codes
          throw new Error('Expected to find the previous sibling.');
        }
      }

      prevSibling.sibling = newWorkInProgress;
    } // Delete the old fiber and place the new one.
    // Since the old fiber is disconnected, we have to schedule it manually.


    var deletions = returnFiber.deletions;

    if (deletions === null) {
      returnFiber.deletions = [current];
      returnFiber.flags |= ChildDeletion;
    } else {
      deletions.push(current);
    }

    newWorkInProgress.flags |= Placement; // Restart work from the new fiber.

    return newWorkInProgress;
  }
}

function checkScheduledUpdateOrContext(current, renderLanes) {
  // Before performing an early bailout, we must check if there are pending
  // updates or context.
  var updateLanes = current.lanes;

  if (includesSomeLane(updateLanes, renderLanes)) {
    return true;
  } // No pending update, but because context is propagated lazily, we need

  return false;
}

function attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes) {
  // This fiber does not have any pending work. Bailout without entering
  // the begin phase. There's still some bookkeeping we that needs to be done
  // in this optimized path, mostly pushing stuff onto the stack.
  switch (workInProgress.tag) {
    case HostRoot:
      pushHostRootContext(workInProgress);
      var root = workInProgress.stateNode;

      resetHydrationState();
      break;

    case HostComponent:
      pushHostContext(workInProgress);
      break;

    case ClassComponent:
      {
        var Component = workInProgress.type;

        if (isContextProvider(Component)) {
          pushContextProvider(workInProgress);
        }

        break;
      }

    case HostPortal:
      pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);
      break;

    case ContextProvider:
      {
        var newValue = workInProgress.memoizedProps.value;
        var context = workInProgress.type._context;
        pushProvider(workInProgress, context, newValue);
        break;
      }

    case Profiler:
      {
        // Profiler should only call onRender when one of its descendants actually rendered.
        var hasChildWork = includesSomeLane(renderLanes, workInProgress.childLanes);

        if (hasChildWork) {
          workInProgress.flags |= Update;
        }

        {
          // Reset effect durations for the next eventual effect phase.
          // These are reset during render to allow the DevTools commit hook a chance to read them,
          var stateNode = workInProgress.stateNode;
          stateNode.effectDuration = 0;
          stateNode.passiveEffectDuration = 0;
        }
      }

      break;

    case SuspenseComponent:
      {
        var state = workInProgress.memoizedState;

        if (state !== null) {
          if (state.dehydrated !== null) {
            pushSuspenseContext(workInProgress, setDefaultShallowSuspenseContext(suspenseStackCursor.current)); // We know that this component will suspend again because if it has
            // been unsuspended it has committed as a resolved Suspense component.
            // If it needs to be retried, it should have work scheduled on it.

            workInProgress.flags |= DidCapture; // We should never render the children of a dehydrated boundary until we
            // upgrade it. We return null instead of bailoutOnAlreadyFinishedWork.

            return null;
          } // If this boundary is currently timed out, we need to decide
          // whether to retry the primary children, or to skip over it and
          // go straight to the fallback. Check the priority of the primary
          // child fragment.


          var primaryChildFragment = workInProgress.child;
          var primaryChildLanes = primaryChildFragment.childLanes;

          if (includesSomeLane(renderLanes, primaryChildLanes)) {
            // The primary children have pending work. Use the normal path
            // to attempt to render the primary children again.
            return updateSuspenseComponent(current, workInProgress, renderLanes);
          } else {
            // The primary child fragment does not have pending work marked
            // on it
            pushSuspenseContext(workInProgress, setDefaultShallowSuspenseContext(suspenseStackCursor.current)); // The primary children do not have pending work with sufficient
            // priority. Bailout.

            var child = bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);

            if (child !== null) {
              // The fallback children have pending work. Skip over the
              // primary children and work on the fallback.
              return child.sibling;
            } else {
              // Note: We can return `null` here because we already checked
              // whether there were nested context consumers, via the call to
              // `bailoutOnAlreadyFinishedWork` above.
              return null;
            }
          }
        } else {
          pushSuspenseContext(workInProgress, setDefaultShallowSuspenseContext(suspenseStackCursor.current));
        }

        break;
      }

    case SuspenseListComponent:
      {
        var didSuspendBefore = (current.flags & DidCapture) !== NoFlags;

        var _hasChildWork = includesSomeLane(renderLanes, workInProgress.childLanes);

        if (didSuspendBefore) {
          if (_hasChildWork) {
            // If something was in fallback state last time, and we have all the
            // same children then we're still in progressive loading state.
            // Something might get unblocked by state updates or retries in the
            // tree which will affect the tail. So we need to use the normal
            // path to compute the correct tail.
            return updateSuspenseListComponent(current, workInProgress, renderLanes);
          } // If none of the children had any work, that means that none of
          // them got retried so they'll still be blocked in the same way
          // as before. We can fast bail out.


          workInProgress.flags |= DidCapture;
        } // If nothing suspended before and we're rendering the same children,
        // then the tail doesn't matter. Anything new that suspends will work
        // in the "together" mode, so we can continue from the state we had.


        var renderState = workInProgress.memoizedState;

        if (renderState !== null) {
          // Reset to the "together" mode in case we've started a different
          // update in the past but didn't complete it.
          renderState.rendering = null;
          renderState.tail = null;
          renderState.lastEffect = null;
        }

        pushSuspenseContext(workInProgress, suspenseStackCursor.current);

        if (_hasChildWork) {
          break;
        } else {
          // If none of the children had any work, that means that none of
          // them got retried so they'll still be blocked in the same way
          // as before. We can fast bail out.
          return null;
        }
      }

    case OffscreenComponent:
    case LegacyHiddenComponent:
      {
        // Need to check if the tree still needs to be deferred. This is
        // almost identical to the logic used in the normal update path,
        // so we'll just enter that. The only difference is we'll bail out
        // at the next level instead of this one, because the child props
        // have not changed. Which is fine.
        // TODO: Probably should refactor `beginWork` to split the bailout
        // path from the normal path. I'm tempted to do a labeled break here
        // but I won't :)
        workInProgress.lanes = NoLanes;
        return updateOffscreenComponent(current, workInProgress, renderLanes);
      }
  }

  return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
}

function beginWork(current, workInProgress, renderLanes) {
  {
    if (workInProgress._debugNeedsRemount && current !== null) {
      // This will restart the begin phase with a new fiber.
      return remountFiber(current, workInProgress, createFiberFromTypeAndProps(workInProgress.type, workInProgress.key, workInProgress.pendingProps, workInProgress._debugOwner || null, workInProgress.mode, workInProgress.lanes));
    }
  }

  if (current !== null) {
    var oldProps = current.memoizedProps;
    var newProps = workInProgress.pendingProps;

    if (oldProps !== newProps || hasContextChanged() || ( // Force a re-render if the implementation changed due to hot reload:
     workInProgress.type !== current.type )) {
      // If props or context changed, mark the fiber as having performed work.
      // This may be unset if the props are determined to be equal later (memo).
      didReceiveUpdate = true;
    } else {
      // Neither props nor legacy context changes. Check if there's a pending
      // update or context change.
      var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current, renderLanes);

      if (!hasScheduledUpdateOrContext && // If this is the second pass of an error or suspense boundary, there
      // may not be work scheduled on `current`, so we check for this flag.
      (workInProgress.flags & DidCapture) === NoFlags) {
        // No pending updates or context. Bail out now.
        didReceiveUpdate = false;
        return attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes);
      }

      if ((current.flags & ForceUpdateForLegacySuspense) !== NoFlags) {
        // This is a special case that only exists for legacy mode.
        // See https://github.com/facebook/react/pull/19216.
        didReceiveUpdate = true;
      } else {
        // An update was scheduled on this fiber, but there are no new props
        // nor legacy context. Set this to false. If an update queue or context
        // consumer produces a changed value, it will set this to true. Otherwise,
        // the component will assume the children have not changed and bail out.
        didReceiveUpdate = false;
      }
    }
  } else {
    didReceiveUpdate = false;

    if (getIsHydrating() && isForkedChild(workInProgress)) {
      // Check if this child belongs to a list of muliple children in
      // its parent.
      //
      // In a true multi-threaded implementation, we would render children on
      // parallel threads. This would represent the beginning of a new render
      // thread for this subtree.
      //
      // We only use this for id generation during hydration, which is why the
      // logic is located in this special branch.
      var slotIndex = workInProgress.index;
      var numberOfForks = getForksAtLevel();
      pushTreeId(workInProgress, numberOfForks, slotIndex);
    }
  } // Before entering the begin phase, clear pending update priority.
  // TODO: This assumes that we're about to evaluate the component and process
  // the update queue. However, there's an exception: SimpleMemoComponent
  // sometimes bails out later in the begin phase. This indicates that we should
  // move this assignment out of the common path and into each branch.


  workInProgress.lanes = NoLanes;

  switch (workInProgress.tag) {
    case IndeterminateComponent:
      {
        return mountIndeterminateComponent(current, workInProgress, workInProgress.type, renderLanes);
      }

    case LazyComponent:
      {
        var elementType = workInProgress.elementType;
        return mountLazyComponent(current, workInProgress, elementType, renderLanes);
      }

    case FunctionComponent:
      {
        var Component = workInProgress.type;
        var unresolvedProps = workInProgress.pendingProps;
        var resolvedProps = workInProgress.elementType === Component ? unresolvedProps : resolveDefaultProps(Component, unresolvedProps);
        return updateFunctionComponent(current, workInProgress, Component, resolvedProps, renderLanes);
      }

    case ClassComponent:
      {
        var _Component = workInProgress.type;
        var _unresolvedProps = workInProgress.pendingProps;

        var _resolvedProps = workInProgress.elementType === _Component ? _unresolvedProps : resolveDefaultProps(_Component, _unresolvedProps);

        return updateClassComponent(current, workInProgress, _Component, _resolvedProps, renderLanes);
      }

    case HostRoot:
      return updateHostRoot(current, workInProgress, renderLanes);

    case HostComponent:
      return updateHostComponent(current, workInProgress, renderLanes);

    case HostText:
      return updateHostText(current, workInProgress);

    case SuspenseComponent:
      return updateSuspenseComponent(current, workInProgress, renderLanes);

    case HostPortal:
      return updatePortalComponent(current, workInProgress, renderLanes);

    case ForwardRef:
      {
        var type = workInProgress.type;
        var _unresolvedProps2 = workInProgress.pendingProps;

        var _resolvedProps2 = workInProgress.elementType === type ? _unresolvedProps2 : resolveDefaultProps(type, _unresolvedProps2);

        return updateForwardRef(current, workInProgress, type, _resolvedProps2, renderLanes);
      }

    case Fragment:
      return updateFragment(current, workInProgress, renderLanes);

    case Mode:
      return updateMode(current, workInProgress, renderLanes);

    case Profiler:
      return updateProfiler(current, workInProgress, renderLanes);

    case ContextProvider:
      return updateContextProvider(current, workInProgress, renderLanes);

    case ContextConsumer:
      return updateContextConsumer(current, workInProgress, renderLanes);

    case MemoComponent:
      {
        var _type2 = workInProgress.type;
        var _unresolvedProps3 = workInProgress.pendingProps; // Resolve outer props first, then resolve inner props.

        var _resolvedProps3 = resolveDefaultProps(_type2, _unresolvedProps3);

        {
          if (workInProgress.type !== workInProgress.elementType) {
            var outerPropTypes = _type2.propTypes;

            if (outerPropTypes) {
              checkPropTypes(outerPropTypes, _resolvedProps3, // Resolved for outer only
              'prop', getComponentNameFromType(_type2));
            }
          }
        }

        _resolvedProps3 = resolveDefaultProps(_type2.type, _resolvedProps3);
        return updateMemoComponent(current, workInProgress, _type2, _resolvedProps3, renderLanes);
      }

    case SimpleMemoComponent:
      {
        return updateSimpleMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes);
      }

    case IncompleteClassComponent:
      {
        var _Component2 = workInProgress.type;
        var _unresolvedProps4 = workInProgress.pendingProps;

        var _resolvedProps4 = workInProgress.elementType === _Component2 ? _unresolvedProps4 : resolveDefaultProps(_Component2, _unresolvedProps4);

        return mountIncompleteClassComponent(current, workInProgress, _Component2, _resolvedProps4, renderLanes);
      }

    case SuspenseListComponent:
      {
        return updateSuspenseListComponent(current, workInProgress, renderLanes);
      }

    case ScopeComponent:
      {

        break;
      }

    case OffscreenComponent:
      {
        return updateOffscreenComponent(current, workInProgress, renderLanes);
      }
  }

  throw new Error("Unknown unit of work tag (" + workInProgress.tag + "). This error is likely caused by a bug in " + 'React. Please file an issue.');
}

function markUpdate(workInProgress) {
  // Tag the fiber with an update effect. This turns a Placement into
  // a PlacementAndUpdate.
  workInProgress.flags |= Update;
}

function markRef$1(workInProgress) {
  workInProgress.flags |= Ref;

  {
    workInProgress.flags |= RefStatic;
  }
}

var appendAllChildren;
var updateHostContainer;
var updateHostComponent$1;
var updateHostText$1;

{
  // Mutation mode
  appendAllChildren = function (parent, workInProgress, needsVisibilityToggle, isHidden) {
    // We only have the top Fiber that was created but we need recurse down its
    // children to find all the terminal nodes.
    var node = workInProgress.child;

    while (node !== null) {
      if (node.tag === HostComponent || node.tag === HostText) {
        appendInitialChild(parent, node.stateNode);
      } else if (node.tag === HostPortal) ; else if (node.child !== null) {
        node.child.return = node;
        node = node.child;
        continue;
      }

      if (node === workInProgress) {
        return;
      }

      while (node.sibling === null) {
        if (node.return === null || node.return === workInProgress) {
          return;
        }

        node = node.return;
      }

      node.sibling.return = node.return;
      node = node.sibling;
    }
  };

  updateHostContainer = function (current, workInProgress) {// Noop
  };

  updateHostComponent$1 = function (current, workInProgress, type, newProps, rootContainerInstance) {
    // If we have an alternate, that means this is an update and we need to
    // schedule a side-effect to do the updates.
    var oldProps = current.memoizedProps;

    if (oldProps === newProps) {
      // In mutation mode, this is sufficient for a bailout because
      // we won't touch this node even if children changed.
      return;
    } // If we get updated because one of our children updated, we don't
    // have newProps so we'll have to reuse them.
    // TODO: Split the update API as separate for the props vs. children.
    // Even better would be if children weren't special cased at all tho.


    var instance = workInProgress.stateNode;
    var currentHostContext = getHostContext(); // TODO: Experiencing an error where oldProps is null. Suggests a host
    // component is hitting the resume path. Figure out why. Possibly
    // related to `hidden`.

    var updatePayload = prepareUpdate(instance, type, oldProps, newProps, rootContainerInstance, currentHostContext); // TODO: Type this specific to this type of component.

    workInProgress.updateQueue = updatePayload; // If the update payload indicates that there is a change or if there
    // is a new ref we mark this as an update. All the work is done in commitWork.

    if (updatePayload) {
      markUpdate(workInProgress);
    }
  };

  updateHostText$1 = function (current, workInProgress, oldText, newText) {
    // If the text differs, mark it as an update. All the work in done in commitWork.
    if (oldText !== newText) {
      markUpdate(workInProgress);
    }
  };
}

function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
  if (getIsHydrating()) {
    // If we're hydrating, we should consume as many items as we can
    // so we don't leave any behind.
    return;
  }

  switch (renderState.tailMode) {
    case 'hidden':
      {
        // Any insertions at the end of the tail list after this point
        // should be invisible. If there are already mounted boundaries
        // anything before them are not considered for collapsing.
        // Therefore we need to go through the whole tail to find if
        // there are any.
        var tailNode = renderState.tail;
        var lastTailNode = null;

        while (tailNode !== null) {
          if (tailNode.alternate !== null) {
            lastTailNode = tailNode;
          }

          tailNode = tailNode.sibling;
        } // Next we're simply going to delete all insertions after the
        // last rendered item.


        if (lastTailNode === null) {
          // All remaining items in the tail are insertions.
          renderState.tail = null;
        } else {
          // Detach the insertion after the last node that was already
          // inserted.
          lastTailNode.sibling = null;
        }

        break;
      }

    case 'collapsed':
      {
        // Any insertions at the end of the tail list after this point
        // should be invisible. If there are already mounted boundaries
        // anything before them are not considered for collapsing.
        // Therefore we need to go through the whole tail to find if
        // there are any.
        var _tailNode = renderState.tail;
        var _lastTailNode = null;

        while (_tailNode !== null) {
          if (_tailNode.alternate !== null) {
            _lastTailNode = _tailNode;
          }

          _tailNode = _tailNode.sibling;
        } // Next we're simply going to delete all insertions after the
        // last rendered item.


        if (_lastTailNode === null) {
          // All remaining items in the tail are insertions.
          if (!hasRenderedATailFallback && renderState.tail !== null) {
            // We suspended during the head. We want to show at least one
            // row at the tail. So we'll keep on and cut off the rest.
            renderState.tail.sibling = null;
          } else {
            renderState.tail = null;
          }
        } else {
          // Detach the insertion after the last node that was already
          // inserted.
          _lastTailNode.sibling = null;
        }

        break;
      }
  }
}

function bubbleProperties(completedWork) {
  var didBailout = completedWork.alternate !== null && completedWork.alternate.child === completedWork.child;
  var newChildLanes = NoLanes;
  var subtreeFlags = NoFlags;

  if (!didBailout) {
    // Bubble up the earliest expiration time.
    if ( (completedWork.mode & ProfileMode) !== NoMode) {
      // In profiling mode, resetChildExpirationTime is also used to reset
      // profiler durations.
      var actualDuration = completedWork.actualDuration;
      var treeBaseDuration = completedWork.selfBaseDuration;
      var child = completedWork.child;

      while (child !== null) {
        newChildLanes = mergeLanes(newChildLanes, mergeLanes(child.lanes, child.childLanes));
        subtreeFlags |= child.subtreeFlags;
        subtreeFlags |= child.flags; // When a fiber is cloned, its actualDuration is reset to 0. This value will
        // only be updated if work is done on the fiber (i.e. it doesn't bailout).
        // When work is done, it should bubble to the parent's actualDuration. If
        // the fiber has not been cloned though, (meaning no work was done), then
        // this value will reflect the amount of time spent working on a previous
        // render. In that case it should not bubble. We determine whether it was
        // cloned by comparing the child pointer.

        actualDuration += child.actualDuration;
        treeBaseDuration += child.treeBaseDuration;
        child = child.sibling;
      }

      completedWork.actualDuration = actualDuration;
      completedWork.treeBaseDuration = treeBaseDuration;
    } else {
      var _child = completedWork.child;

      while (_child !== null) {
        newChildLanes = mergeLanes(newChildLanes, mergeLanes(_child.lanes, _child.childLanes));
        subtreeFlags |= _child.subtreeFlags;
        subtreeFlags |= _child.flags; // Update the return pointer so the tree is consistent. This is a code
        // smell because it assumes the commit phase is never concurrent with
        // the render phase. Will address during refactor to alternate model.

        _child.return = completedWork;
        _child = _child.sibling;
      }
    }

    completedWork.subtreeFlags |= subtreeFlags;
  } else {
    // Bubble up the earliest expiration time.
    if ( (completedWork.mode & ProfileMode) !== NoMode) {
      // In profiling mode, resetChildExpirationTime is also used to reset
      // profiler durations.
      var _treeBaseDuration = completedWork.selfBaseDuration;
      var _child2 = completedWork.child;

      while (_child2 !== null) {
        newChildLanes = mergeLanes(newChildLanes, mergeLanes(_child2.lanes, _child2.childLanes)); // "Static" flags share the lifetime of the fiber/hook they belong to,
        // so we should bubble those up even during a bailout. All the other
        // flags have a lifetime only of a single render + commit, so we should
        // ignore them.

        subtreeFlags |= _child2.subtreeFlags & StaticMask;
        subtreeFlags |= _child2.flags & StaticMask;
        _treeBaseDuration += _child2.treeBaseDuration;
        _child2 = _child2.sibling;
      }

      completedWork.treeBaseDuration = _treeBaseDuration;
    } else {
      var _child3 = completedWork.child;

      while (_child3 !== null) {
        newChildLanes = mergeLanes(newChildLanes, mergeLanes(_child3.lanes, _child3.childLanes)); // "Static" flags share the lifetime of the fiber/hook they belong to,
        // so we should bubble those up even during a bailout. All the other
        // flags have a lifetime only of a single render + commit, so we should
        // ignore them.

        subtreeFlags |= _child3.subtreeFlags & StaticMask;
        subtreeFlags |= _child3.flags & StaticMask; // Update the return pointer so the tree is consistent. This is a code
        // smell because it assumes the commit phase is never concurrent with
        // the render phase. Will address during refactor to alternate model.

        _child3.return = completedWork;
        _child3 = _child3.sibling;
      }
    }

    completedWork.subtreeFlags |= subtreeFlags;
  }

  completedWork.childLanes = newChildLanes;
  return didBailout;
}

function completeDehydratedSuspenseBoundary(current, workInProgress, nextState) {
  if (hasUnhydratedTailNodes() && (workInProgress.mode & ConcurrentMode) !== NoMode && (workInProgress.flags & DidCapture) === NoFlags) {
    warnIfUnhydratedTailNodes(workInProgress);
    resetHydrationState();
    workInProgress.flags |= ForceClientRender | Incomplete | ShouldCapture;
    return false;
  }

  var wasHydrated = popHydrationState(workInProgress);

  if (nextState !== null && nextState.dehydrated !== null) {
    // We might be inside a hydration state the first time we're picking up this
    // Suspense boundary, and also after we've reentered it for further hydration.
    if (current === null) {
      if (!wasHydrated) {
        throw new Error('A dehydrated suspense component was completed without a hydrated node. ' + 'This is probably a bug in React.');
      }

      prepareToHydrateHostSuspenseInstance(workInProgress);
      bubbleProperties(workInProgress);

      {
        if ((workInProgress.mode & ProfileMode) !== NoMode) {
          var isTimedOutSuspense = nextState !== null;

          if (isTimedOutSuspense) {
            // Don't count time spent in a timed out Suspense subtree as part of the base duration.
            var primaryChildFragment = workInProgress.child;

            if (primaryChildFragment !== null) {
              // $FlowFixMe Flow doesn't support type casting in combination with the -= operator
              workInProgress.treeBaseDuration -= primaryChildFragment.treeBaseDuration;
            }
          }
        }
      }

      return false;
    } else {
      // We might have reentered this boundary to hydrate it. If so, we need to reset the hydration
      // state since we're now exiting out of it. popHydrationState doesn't do that for us.
      resetHydrationState();

      if ((workInProgress.flags & DidCapture) === NoFlags) {
        // This boundary did not suspend so it's now hydrated and unsuspended.
        workInProgress.memoizedState = null;
      } // If nothing suspended, we need to schedule an effect to mark this boundary
      // as having hydrated so events know that they're free to be invoked.
      // It's also a signal to replay events and the suspense callback.
      // If something suspended, schedule an effect to attach retry listeners.
      // So we might as well always mark this.


      workInProgress.flags |= Update;
      bubbleProperties(workInProgress);

      {
        if ((workInProgress.mode & ProfileMode) !== NoMode) {
          var _isTimedOutSuspense = nextState !== null;

          if (_isTimedOutSuspense) {
            // Don't count time spent in a timed out Suspense subtree as part of the base duration.
            var _primaryChildFragment = workInProgress.child;

            if (_primaryChildFragment !== null) {
              // $FlowFixMe Flow doesn't support type casting in combination with the -= operator
              workInProgress.treeBaseDuration -= _primaryChildFragment.treeBaseDuration;
            }
          }
        }
      }

      return false;
    }
  } else {
    // Successfully completed this tree. If this was a forced client render,
    // there may have been recoverable errors during first hydration
    // attempt. If so, add them to a queue so we can log them in the
    // commit phase.
    upgradeHydrationErrorsToRecoverable(); // Fall through to normal Suspense path

    return true;
  }
}

function completeWork(current, workInProgress, renderLanes) {
  var newProps = workInProgress.pendingProps; // Note: This intentionally doesn't check if we're hydrating because comparing
  // to the current tree provider fiber is just as fast and less error-prone.
  // Ideally we would have a special version of the work loop only
  // for hydration.

  popTreeContext(workInProgress);

  switch (workInProgress.tag) {
    case IndeterminateComponent:
    case LazyComponent:
    case SimpleMemoComponent:
    case FunctionComponent:
    case ForwardRef:
    case Fragment:
    case Mode:
    case Profiler:
    case ContextConsumer:
    case MemoComponent:
      bubbleProperties(workInProgress);
      return null;

    case ClassComponent:
      {
        var Component = workInProgress.type;

        if (isContextProvider(Component)) {
          popContext(workInProgress);
        }

        bubbleProperties(workInProgress);
        return null;
      }

    case HostRoot:
      {
        var fiberRoot = workInProgress.stateNode;
        popHostContainer(workInProgress);
        popTopLevelContextObject(workInProgress);
        resetWorkInProgressVersions();

        if (fiberRoot.pendingContext) {
          fiberRoot.context = fiberRoot.pendingContext;
          fiberRoot.pendingContext = null;
        }

        if (current === null || current.child === null) {
          // If we hydrated, pop so that we can delete any remaining children
          // that weren't hydrated.
          var wasHydrated = popHydrationState(workInProgress);

          if (wasHydrated) {
            // If we hydrated, then we'll need to schedule an update for
            // the commit side-effects on the root.
            markUpdate(workInProgress);
          } else {
            if (current !== null) {
              var prevState = current.memoizedState;

              if ( // Check if this is a client root
              !prevState.isDehydrated || // Check if we reverted to client rendering (e.g. due to an error)
              (workInProgress.flags & ForceClientRender) !== NoFlags) {
                // Schedule an effect to clear this container at the start of the
                // next commit. This handles the case of React rendering into a
                // container with previous children. It's also safe to do for
                // updates too, because current.child would only be null if the
                // previous render was null (so the container would already
                // be empty).
                workInProgress.flags |= Snapshot; // If this was a forced client render, there may have been
                // recoverable errors during first hydration attempt. If so, add
                // them to a queue so we can log them in the commit phase.

                upgradeHydrationErrorsToRecoverable();
              }
            }
          }
        }

        updateHostContainer(current, workInProgress);
        bubbleProperties(workInProgress);

        return null;
      }

    case HostComponent:
      {
        popHostContext(workInProgress);
        var rootContainerInstance = getRootHostContainer();
        var type = workInProgress.type;

        if (current !== null && workInProgress.stateNode != null) {
          updateHostComponent$1(current, workInProgress, type, newProps, rootContainerInstance);

          if (current.ref !== workInProgress.ref) {
            markRef$1(workInProgress);
          }
        } else {
          if (!newProps) {
            if (workInProgress.stateNode === null) {
              throw new Error('We must have new props for new mounts. This error is likely ' + 'caused by a bug in React. Please file an issue.');
            } // This can happen when we abort work.


            bubbleProperties(workInProgress);
            return null;
          }

          var currentHostContext = getHostContext(); // TODO: Move createInstance to beginWork and keep it on a context
          // "stack" as the parent. Then append children as we go in beginWork
          // or completeWork depending on whether we want to add them top->down or
          // bottom->up. Top->down is faster in IE11.

          var _wasHydrated = popHydrationState(workInProgress);

          if (_wasHydrated) {
            // TODO: Move this and createInstance step into the beginPhase
            // to consolidate.
            if (prepareToHydrateHostInstance(workInProgress, rootContainerInstance, currentHostContext)) {
              // If changes to the hydrated node need to be applied at the
              // commit-phase we mark this as such.
              markUpdate(workInProgress);
            }
          } else {
            var instance = createInstance(type, newProps, rootContainerInstance, currentHostContext, workInProgress);
            appendAllChildren(instance, workInProgress, false, false);
            workInProgress.stateNode = instance; // Certain renderers require commit-time effects for initial mount.
            // (eg DOM renderer supports auto-focus for certain elements).
            // Make sure such renderers get scheduled for later work.

            if (finalizeInitialChildren(instance, type, newProps, rootContainerInstance)) {
              markUpdate(workInProgress);
            }
          }

          if (workInProgress.ref !== null) {
            // If there is a ref on a host node we need to schedule a callback
            markRef$1(workInProgress);
          }
        }

        bubbleProperties(workInProgress);
        return null;
      }

    case HostText:
      {
        var newText = newProps;

        if (current && workInProgress.stateNode != null) {
          var oldText = current.memoizedProps; // If we have an alternate, that means this is an update and we need
          // to schedule a side-effect to do the updates.

          updateHostText$1(current, workInProgress, oldText, newText);
        } else {
          if (typeof newText !== 'string') {
            if (workInProgress.stateNode === null) {
              throw new Error('We must have new props for new mounts. This error is likely ' + 'caused by a bug in React. Please file an issue.');
            } // This can happen when we abort work.

          }

          var _rootContainerInstance = getRootHostContainer();

          var _currentHostContext = getHostContext();

          var _wasHydrated2 = popHydrationState(workInProgress);

          if (_wasHydrated2) {
            if (prepareToHydrateHostTextInstance(workInProgress)) {
              markUpdate(workInProgress);
            }
          } else {
            workInProgress.stateNode = createTextInstance(newText, _rootContainerInstance, _currentHostContext, workInProgress);
          }
        }

        bubbleProperties(workInProgress);
        return null;
      }

    case SuspenseComponent:
      {
        popSuspenseContext(workInProgress);
        var nextState = workInProgress.memoizedState; // Special path for dehydrated boundaries. We may eventually move this
        // to its own fiber type so that we can add other kinds of hydration
        // boundaries that aren't associated with a Suspense tree. In anticipation
        // of such a refactor, all the hydration logic is contained in
        // this branch.

        if (current === null || current.memoizedState !== null && current.memoizedState.dehydrated !== null) {
          var fallthroughToNormalSuspensePath = completeDehydratedSuspenseBoundary(current, workInProgress, nextState);

          if (!fallthroughToNormalSuspensePath) {
            if (workInProgress.flags & ShouldCapture) {
              // Special case. There were remaining unhydrated nodes. We treat
              // this as a mismatch. Revert to client rendering.
              return workInProgress;
            } else {
              // Did not finish hydrating, either because this is the initial
              // render or because something suspended.
              return null;
            }
          } // Continue with the normal Suspense path.

        }

        if ((workInProgress.flags & DidCapture) !== NoFlags) {
          // Something suspended. Re-render with the fallback children.
          workInProgress.lanes = renderLanes; // Do not reset the effect list.

          if ( (workInProgress.mode & ProfileMode) !== NoMode) {
            transferActualDuration(workInProgress);
          } // Don't bubble properties in this case.


          return workInProgress;
        }

        var nextDidTimeout = nextState !== null;
        var prevDidTimeout = current !== null && current.memoizedState !== null;
        // a passive effect, which is when we process the transitions


        if (nextDidTimeout !== prevDidTimeout) {
          // an effect to toggle the subtree's visibility. When we switch from
          // fallback -> primary, the inner Offscreen fiber schedules this effect
          // as part of its normal complete phase. But when we switch from
          // primary -> fallback, the inner Offscreen fiber does not have a complete
          // phase. So we need to schedule its effect here.
          //
          // We also use this flag to connect/disconnect the effects, but the same
          // logic applies: when re-connecting, the Offscreen fiber's complete
          // phase will handle scheduling the effect. It's only when the fallback
          // is active that we have to do anything special.


          if (nextDidTimeout) {
            var _offscreenFiber2 = workInProgress.child;
            _offscreenFiber2.flags |= Visibility; // TODO: This will still suspend a synchronous tree if anything
            // in the concurrent tree already suspended during this render.
            // This is a known bug.

            if ((workInProgress.mode & ConcurrentMode) !== NoMode) {
              // TODO: Move this back to throwException because this is too late
              // if this is a large tree which is common for initial loads. We
              // don't know if we should restart a render or not until we get
              // this marker, and this is too late.
              // If this render already had a ping or lower pri updates,
              // and this is the first time we know we're going to suspend we
              // should be able to immediately restart from within throwException.
              var hasInvisibleChildContext = current === null && (workInProgress.memoizedProps.unstable_avoidThisFallback !== true || !enableSuspenseAvoidThisFallback);

              if (hasInvisibleChildContext || hasSuspenseContext(suspenseStackCursor.current, InvisibleParentSuspenseContext)) {
                // If this was in an invisible tree or a new render, then showing
                // this boundary is ok.
                renderDidSuspend();
              } else {
                // Otherwise, we're going to have to hide content so we should
                // suspend for longer if possible.
                renderDidSuspendDelayIfPossible();
              }
            }
          }
        }

        var wakeables = workInProgress.updateQueue;

        if (wakeables !== null) {
          // Schedule an effect to attach a retry listener to the promise.
          // TODO: Move to passive phase
          workInProgress.flags |= Update;
        }

        bubbleProperties(workInProgress);

        {
          if ((workInProgress.mode & ProfileMode) !== NoMode) {
            if (nextDidTimeout) {
              // Don't count time spent in a timed out Suspense subtree as part of the base duration.
              var primaryChildFragment = workInProgress.child;

              if (primaryChildFragment !== null) {
                // $FlowFixMe Flow doesn't support type casting in combination with the -= operator
                workInProgress.treeBaseDuration -= primaryChildFragment.treeBaseDuration;
              }
            }
          }
        }

        return null;
      }

    case HostPortal:
      popHostContainer(workInProgress);
      updateHostContainer(current, workInProgress);

      if (current === null) {
        preparePortalMount(workInProgress.stateNode.containerInfo);
      }

      bubbleProperties(workInProgress);
      return null;

    case ContextProvider:
      // Pop provider fiber
      var context = workInProgress.type._context;
      popProvider(context, workInProgress);
      bubbleProperties(workInProgress);
      return null;

    case IncompleteClassComponent:
      {
        // Same as class component case. I put it down here so that the tags are
        // sequential to ensure this switch is compiled to a jump table.
        var _Component = workInProgress.type;

        if (isContextProvider(_Component)) {
          popContext(workInProgress);
        }

        bubbleProperties(workInProgress);
        return null;
      }

    case SuspenseListComponent:
      {
        popSuspenseContext(workInProgress);
        var renderState = workInProgress.memoizedState;

        if (renderState === null) {
          // We're running in the default, "independent" mode.
          // We don't do anything in this mode.
          bubbleProperties(workInProgress);
          return null;
        }

        var didSuspendAlready = (workInProgress.flags & DidCapture) !== NoFlags;
        var renderedTail = renderState.rendering;

        if (renderedTail === null) {
          // We just rendered the head.
          if (!didSuspendAlready) {
            // This is the first pass. We need to figure out if anything is still
            // suspended in the rendered set.
            // If new content unsuspended, but there's still some content that
            // didn't. Then we need to do a second pass that forces everything
            // to keep showing their fallbacks.
            // We might be suspended if something in this render pass suspended, or
            // something in the previous committed pass suspended. Otherwise,
            // there's no chance so we can skip the expensive call to
            // findFirstSuspended.
            var cannotBeSuspended = renderHasNotSuspendedYet() && (current === null || (current.flags & DidCapture) === NoFlags);

            if (!cannotBeSuspended) {
              var row = workInProgress.child;

              while (row !== null) {
                var suspended = findFirstSuspended(row);

                if (suspended !== null) {
                  didSuspendAlready = true;
                  workInProgress.flags |= DidCapture;
                  cutOffTailIfNeeded(renderState, false); // If this is a newly suspended tree, it might not get committed as
                  // part of the second pass. In that case nothing will subscribe to
                  // its thenables. Instead, we'll transfer its thenables to the
                  // SuspenseList so that it can retry if they resolve.
                  // There might be multiple of these in the list but since we're
                  // going to wait for all of them anyway, it doesn't really matter
                  // which ones gets to ping. In theory we could get clever and keep
                  // track of how many dependencies remain but it gets tricky because
                  // in the meantime, we can add/remove/change items and dependencies.
                  // We might bail out of the loop before finding any but that
                  // doesn't matter since that means that the other boundaries that
                  // we did find already has their listeners attached.

                  var newThenables = suspended.updateQueue;

                  if (newThenables !== null) {
                    workInProgress.updateQueue = newThenables;
                    workInProgress.flags |= Update;
                  } // Rerender the whole list, but this time, we'll force fallbacks
                  // to stay in place.
                  // Reset the effect flags before doing the second pass since that's now invalid.
                  // Reset the child fibers to their original state.


                  workInProgress.subtreeFlags = NoFlags;
                  resetChildFibers(workInProgress, renderLanes); // Set up the Suspense Context to force suspense and immediately
                  // rerender the children.

                  pushSuspenseContext(workInProgress, setShallowSuspenseContext(suspenseStackCursor.current, ForceSuspenseFallback)); // Don't bubble properties in this case.

                  return workInProgress.child;
                }

                row = row.sibling;
              }
            }

            if (renderState.tail !== null && now() > getRenderTargetTime()) {
              // We have already passed our CPU deadline but we still have rows
              // left in the tail. We'll just give up further attempts to render
              // the main content and only render fallbacks.
              workInProgress.flags |= DidCapture;
              didSuspendAlready = true;
              cutOffTailIfNeeded(renderState, false); // Since nothing actually suspended, there will nothing to ping this
              // to get it started back up to attempt the next item. While in terms
              // of priority this work has the same priority as this current render,
              // it's not part of the same transition once the transition has
              // committed. If it's sync, we still want to yield so that it can be
              // painted. Conceptually, this is really the same as pinging.
              // We can use any RetryLane even if it's the one currently rendering
              // since we're leaving it behind on this node.

              workInProgress.lanes = SomeRetryLane;
            }
          } else {
            cutOffTailIfNeeded(renderState, false);
          } // Next we're going to render the tail.

        } else {
          // Append the rendered row to the child list.
          if (!didSuspendAlready) {
            var _suspended = findFirstSuspended(renderedTail);

            if (_suspended !== null) {
              workInProgress.flags |= DidCapture;
              didSuspendAlready = true; // Ensure we transfer the update queue to the parent so that it doesn't
              // get lost if this row ends up dropped during a second pass.

              var _newThenables = _suspended.updateQueue;

              if (_newThenables !== null) {
                workInProgress.updateQueue = _newThenables;
                workInProgress.flags |= Update;
              }

              cutOffTailIfNeeded(renderState, true); // This might have been modified.

              if (renderState.tail === null && renderState.tailMode === 'hidden' && !renderedTail.alternate && !getIsHydrating() // We don't cut it if we're hydrating.
              ) {
                  // We're done.
                  bubbleProperties(workInProgress);
                  return null;
                }
            } else if ( // The time it took to render last row is greater than the remaining
            // time we have to render. So rendering one more row would likely
            // exceed it.
            now() * 2 - renderState.renderingStartTime > getRenderTargetTime() && renderLanes !== OffscreenLane) {
              // We have now passed our CPU deadline and we'll just give up further
              // attempts to render the main content and only render fallbacks.
              // The assumption is that this is usually faster.
              workInProgress.flags |= DidCapture;
              didSuspendAlready = true;
              cutOffTailIfNeeded(renderState, false); // Since nothing actually suspended, there will nothing to ping this
              // to get it started back up to attempt the next item. While in terms
              // of priority this work has the same priority as this current render,
              // it's not part of the same transition once the transition has
              // committed. If it's sync, we still want to yield so that it can be
              // painted. Conceptually, this is really the same as pinging.
              // We can use any RetryLane even if it's the one currently rendering
              // since we're leaving it behind on this node.

              workInProgress.lanes = SomeRetryLane;
            }
          }

          if (renderState.isBackwards) {
            // The effect list of the backwards tail will have been added
            // to the end. This breaks the guarantee that life-cycles fire in
            // sibling order but that isn't a strong guarantee promised by React.
            // Especially since these might also just pop in during future commits.
            // Append to the beginning of the list.
            renderedTail.sibling = workInProgress.child;
            workInProgress.child = renderedTail;
          } else {
            var previousSibling = renderState.last;

            if (previousSibling !== null) {
              previousSibling.sibling = renderedTail;
            } else {
              workInProgress.child = renderedTail;
            }

            renderState.last = renderedTail;
          }
        }

        if (renderState.tail !== null) {
          // We still have tail rows to render.
          // Pop a row.
          var next = renderState.tail;
          renderState.rendering = next;
          renderState.tail = next.sibling;
          renderState.renderingStartTime = now();
          next.sibling = null; // Restore the context.
          // TODO: We can probably just avoid popping it instead and only
          // setting it the first time we go from not suspended to suspended.

          var suspenseContext = suspenseStackCursor.current;

          if (didSuspendAlready) {
            suspenseContext = setShallowSuspenseContext(suspenseContext, ForceSuspenseFallback);
          } else {
            suspenseContext = setDefaultShallowSuspenseContext(suspenseContext);
          }

          pushSuspenseContext(workInProgress, suspenseContext); // Do a pass over the next row.
          // Don't bubble properties in this case.

          return next;
        }

        bubbleProperties(workInProgress);
        return null;
      }

    case ScopeComponent:
      {

        break;
      }

    case OffscreenComponent:
    case LegacyHiddenComponent:
      {
        popRenderLanes(workInProgress);
        var _nextState = workInProgress.memoizedState;
        var nextIsHidden = _nextState !== null;

        if (current !== null) {
          var _prevState = current.memoizedState;
          var prevIsHidden = _prevState !== null;

          if (prevIsHidden !== nextIsHidden && ( // LegacyHidden doesn't do any hiding — it only pre-renders.
          !enableLegacyHidden )) {
            workInProgress.flags |= Visibility;
          }
        }

        if (!nextIsHidden || (workInProgress.mode & ConcurrentMode) === NoMode) {
          bubbleProperties(workInProgress);
        } else {
          // Don't bubble properties for hidden children unless we're rendering
          // at offscreen priority.
          if (includesSomeLane(subtreeRenderLanes, OffscreenLane)) {
            bubbleProperties(workInProgress);

            {
              // Check if there was an insertion or update in the hidden subtree.
              // If so, we need to hide those nodes in the commit phase, so
              // schedule a visibility effect.
              if ( workInProgress.subtreeFlags & (Placement | Update)) {
                workInProgress.flags |= Visibility;
              }
            }
          }
        }
        return null;
      }

    case CacheComponent:
      {

        return null;
      }

    case TracingMarkerComponent:
      {

        return null;
      }
  }

  throw new Error("Unknown unit of work tag (" + workInProgress.tag + "). This error is likely caused by a bug in " + 'React. Please file an issue.');
}

function unwindWork(current, workInProgress, renderLanes) {
  // Note: This intentionally doesn't check if we're hydrating because comparing
  // to the current tree provider fiber is just as fast and less error-prone.
  // Ideally we would have a special version of the work loop only
  // for hydration.
  popTreeContext(workInProgress);

  switch (workInProgress.tag) {
    case ClassComponent:
      {
        var Component = workInProgress.type;

        if (isContextProvider(Component)) {
          popContext(workInProgress);
        }

        var flags = workInProgress.flags;

        if (flags & ShouldCapture) {
          workInProgress.flags = flags & ~ShouldCapture | DidCapture;

          if ( (workInProgress.mode & ProfileMode) !== NoMode) {
            transferActualDuration(workInProgress);
          }

          return workInProgress;
        }

        return null;
      }

    case HostRoot:
      {
        var root = workInProgress.stateNode;
        popHostContainer(workInProgress);
        popTopLevelContextObject(workInProgress);
        resetWorkInProgressVersions();
        var _flags = workInProgress.flags;

        if ((_flags & ShouldCapture) !== NoFlags && (_flags & DidCapture) === NoFlags) {
          // There was an error during render that wasn't captured by a suspense
          // boundary. Do a second pass on the root to unmount the children.
          workInProgress.flags = _flags & ~ShouldCapture | DidCapture;
          return workInProgress;
        } // We unwound to the root without completing it. Exit.


        return null;
      }

    case HostComponent:
      {
        // TODO: popHydrationState
        popHostContext(workInProgress);
        return null;
      }

    case SuspenseComponent:
      {
        popSuspenseContext(workInProgress);
        var suspenseState = workInProgress.memoizedState;

        if (suspenseState !== null && suspenseState.dehydrated !== null) {
          if (workInProgress.alternate === null) {
            throw new Error('Threw in newly mounted dehydrated component. This is likely a bug in ' + 'React. Please file an issue.');
          }

          resetHydrationState();
        }

        var _flags2 = workInProgress.flags;

        if (_flags2 & ShouldCapture) {
          workInProgress.flags = _flags2 & ~ShouldCapture | DidCapture; // Captured a suspense effect. Re-render the boundary.

          if ( (workInProgress.mode & ProfileMode) !== NoMode) {
            transferActualDuration(workInProgress);
          }

          return workInProgress;
        }

        return null;
      }

    case SuspenseListComponent:
      {
        popSuspenseContext(workInProgress); // SuspenseList doesn't actually catch anything. It should've been
        // caught by a nested boundary. If not, it should bubble through.

        return null;
      }

    case HostPortal:
      popHostContainer(workInProgress);
      return null;

    case ContextProvider:
      var context = workInProgress.type._context;
      popProvider(context, workInProgress);
      return null;

    case OffscreenComponent:
    case LegacyHiddenComponent:
      popRenderLanes(workInProgress);
      return null;

    case CacheComponent:

      return null;

    default:
      return null;
  }
}

function unwindInterruptedWork(current, interruptedWork, renderLanes) {
  // Note: This intentionally doesn't check if we're hydrating because comparing
  // to the current tree provider fiber is just as fast and less error-prone.
  // Ideally we would have a special version of the work loop only
  // for hydration.
  popTreeContext(interruptedWork);

  switch (interruptedWork.tag) {
    case ClassComponent:
      {
        var childContextTypes = interruptedWork.type.childContextTypes;

        if (childContextTypes !== null && childContextTypes !== undefined) {
          popContext(interruptedWork);
        }

        break;
      }

    case HostRoot:
      {
        var root = interruptedWork.stateNode;
        popHostContainer(interruptedWork);
        popTopLevelContextObject(interruptedWork);
        resetWorkInProgressVersions();
        break;
      }

    case HostComponent:
      {
        popHostContext(interruptedWork);
        break;
      }

    case HostPortal:
      popHostContainer(interruptedWork);
      break;

    case SuspenseComponent:
      popSuspenseContext(interruptedWork);
      break;

    case SuspenseListComponent:
      popSuspenseContext(interruptedWork);
      break;

    case ContextProvider:
      var context = interruptedWork.type._context;
      popProvider(context, interruptedWork);
      break;

    case OffscreenComponent:
    case LegacyHiddenComponent:
      popRenderLanes(interruptedWork);
      break;
  }
}

var didWarnAboutUndefinedSnapshotBeforeUpdate = null;

{
  didWarnAboutUndefinedSnapshotBeforeUpdate = new Set();
} // Used during the commit phase to track the state of the Offscreen component stack.
// Allows us to avoid traversing the return path to find the nearest Offscreen ancestor.
// Only used when enableSuspenseLayoutEffectSemantics is enabled.


var offscreenSubtreeIsHidden = false;
var offscreenSubtreeWasHidden = false;
var PossiblyWeakSet = typeof WeakSet === 'function' ? WeakSet : Set;
var nextEffect = null; // Used for Profiling builds to track updaters.

var inProgressLanes = null;
var inProgressRoot = null;
function reportUncaughtErrorInDEV(error) {
  // Wrapping each small part of the commit phase into a guarded
  // callback is a bit too slow (https://github.com/facebook/react/pull/21666).
  // But we rely on it to surface errors to DEV tools like overlays
  // (https://github.com/facebook/react/issues/21712).
  // As a compromise, rethrow only caught errors in a guard.
  {
    invokeGuardedCallback(null, function () {
      throw error;
    });
    clearCaughtError();
  }
}

var callComponentWillUnmountWithTimer = function (current, instance) {
  instance.props = current.memoizedProps;
  instance.state = current.memoizedState;

  if ( current.mode & ProfileMode) {
    try {
      startLayoutEffectTimer();
      instance.componentWillUnmount();
    } finally {
      recordLayoutEffectDuration(current);
    }
  } else {
    instance.componentWillUnmount();
  }
}; // Capture errors so they don't interrupt mounting.


function safelyCallCommitHookLayoutEffectListMount(current, nearestMountedAncestor) {
  try {
    commitHookEffectListMount(Layout, current);
  } catch (error) {
    captureCommitPhaseError(current, nearestMountedAncestor, error);
  }
} // Capture errors so they don't interrupt unmounting.


function safelyCallComponentWillUnmount(current, nearestMountedAncestor, instance) {
  try {
    callComponentWillUnmountWithTimer(current, instance);
  } catch (error) {
    captureCommitPhaseError(current, nearestMountedAncestor, error);
  }
} // Capture errors so they don't interrupt mounting.


function safelyCallComponentDidMount(current, nearestMountedAncestor, instance) {
  try {
    instance.componentDidMount();
  } catch (error) {
    captureCommitPhaseError(current, nearestMountedAncestor, error);
  }
} // Capture errors so they don't interrupt mounting.


function safelyAttachRef(current, nearestMountedAncestor) {
  try {
    commitAttachRef(current);
  } catch (error) {
    captureCommitPhaseError(current, nearestMountedAncestor, error);
  }
}

function safelyDetachRef(current, nearestMountedAncestor) {
  var ref = current.ref;

  if (ref !== null) {
    if (typeof ref === 'function') {
      var retVal;

      try {
        if (enableProfilerTimer && enableProfilerCommitHooks && current.mode & ProfileMode) {
          try {
            startLayoutEffectTimer();
            retVal = ref(null);
          } finally {
            recordLayoutEffectDuration(current);
          }
        } else {
          retVal = ref(null);
        }
      } catch (error) {
        captureCommitPhaseError(current, nearestMountedAncestor, error);
      }

      {
        if (typeof retVal === 'function') {
          error('Unexpected return value from a callback ref in %s. ' + 'A callback ref should not return a function.', getComponentNameFromFiber(current));
        }
      }
    } else {
      ref.current = null;
    }
  }
}

function safelyCallDestroy(current, nearestMountedAncestor, destroy) {
  try {
    destroy();
  } catch (error) {
    captureCommitPhaseError(current, nearestMountedAncestor, error);
  }
}

var focusedInstanceHandle = null;
var shouldFireAfterActiveInstanceBlur = false;
function commitBeforeMutationEffects(root, firstChild) {
  focusedInstanceHandle = prepareForCommit(root.containerInfo);
  nextEffect = firstChild;
  commitBeforeMutationEffects_begin(); // We no longer need to track the active instance fiber

  var shouldFire = shouldFireAfterActiveInstanceBlur;
  shouldFireAfterActiveInstanceBlur = false;
  focusedInstanceHandle = null;
  return shouldFire;
}

function commitBeforeMutationEffects_begin() {
  while (nextEffect !== null) {
    var fiber = nextEffect; // This phase is only used for beforeActiveInstanceBlur.

    var child = fiber.child;

    if ((fiber.subtreeFlags & BeforeMutationMask) !== NoFlags && child !== null) {
      child.return = fiber;
      nextEffect = child;
    } else {
      commitBeforeMutationEffects_complete();
    }
  }
}

function commitBeforeMutationEffects_complete() {
  while (nextEffect !== null) {
    var fiber = nextEffect;
    setCurrentFiber(fiber);

    try {
      commitBeforeMutationEffectsOnFiber(fiber);
    } catch (error) {
      captureCommitPhaseError(fiber, fiber.return, error);
    }

    resetCurrentFiber();
    var sibling = fiber.sibling;

    if (sibling !== null) {
      sibling.return = fiber.return;
      nextEffect = sibling;
      return;
    }

    nextEffect = fiber.return;
  }
}

function commitBeforeMutationEffectsOnFiber(finishedWork) {
  var current = finishedWork.alternate;
  var flags = finishedWork.flags;

  if ((flags & Snapshot) !== NoFlags) {
    setCurrentFiber(finishedWork);

    switch (finishedWork.tag) {
      case FunctionComponent:
      case ForwardRef:
      case SimpleMemoComponent:
        {
          break;
        }

      case ClassComponent:
        {
          if (current !== null) {
            var prevProps = current.memoizedProps;
            var prevState = current.memoizedState;
            var instance = finishedWork.stateNode; // We could update instance props and state here,
            // but instead we rely on them being set during last render.
            // TODO: revisit this when we implement resuming.

            {
              if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
                if (instance.props !== finishedWork.memoizedProps) {
                  error('Expected %s props to match memoized props before ' + 'getSnapshotBeforeUpdate. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.props`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                }

                if (instance.state !== finishedWork.memoizedState) {
                  error('Expected %s state to match memoized state before ' + 'getSnapshotBeforeUpdate. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.state`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                }
              }
            }

            var snapshot = instance.getSnapshotBeforeUpdate(finishedWork.elementType === finishedWork.type ? prevProps : resolveDefaultProps(finishedWork.type, prevProps), prevState);

            {
              var didWarnSet = didWarnAboutUndefinedSnapshotBeforeUpdate;

              if (snapshot === undefined && !didWarnSet.has(finishedWork.type)) {
                didWarnSet.add(finishedWork.type);

                error('%s.getSnapshotBeforeUpdate(): A snapshot value (or null) ' + 'must be returned. You have returned undefined.', getComponentNameFromFiber(finishedWork));
              }
            }

            instance.__reactInternalSnapshotBeforeUpdate = snapshot;
          }

          break;
        }

      case HostRoot:
        {
          {
            var root = finishedWork.stateNode;
            clearContainer(root.containerInfo);
          }

          break;
        }

      case HostComponent:
      case HostText:
      case HostPortal:
      case IncompleteClassComponent:
        // Nothing to do for these component types
        break;

      default:
        {
          throw new Error('This unit of work tag should not have side-effects. This error is ' + 'likely caused by a bug in React. Please file an issue.');
        }
    }

    resetCurrentFiber();
  }
}

function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) {
  var updateQueue = finishedWork.updateQueue;
  var lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;

  if (lastEffect !== null) {
    var firstEffect = lastEffect.next;
    var effect = firstEffect;

    do {
      if ((effect.tag & flags) === flags) {
        // Unmount
        var destroy = effect.destroy;
        effect.destroy = undefined;

        if (destroy !== undefined) {
          {
            if ((flags & Passive$1) !== NoFlags$1) {
              markComponentPassiveEffectUnmountStarted(finishedWork);
            } else if ((flags & Layout) !== NoFlags$1) {
              markComponentLayoutEffectUnmountStarted(finishedWork);
            }
          }

          {
            if ((flags & Insertion) !== NoFlags$1) {
              setIsRunningInsertionEffect(true);
            }
          }

          safelyCallDestroy(finishedWork, nearestMountedAncestor, destroy);

          {
            if ((flags & Insertion) !== NoFlags$1) {
              setIsRunningInsertionEffect(false);
            }
          }

          {
            if ((flags & Passive$1) !== NoFlags$1) {
              markComponentPassiveEffectUnmountStopped();
            } else if ((flags & Layout) !== NoFlags$1) {
              markComponentLayoutEffectUnmountStopped();
            }
          }
        }
      }

      effect = effect.next;
    } while (effect !== firstEffect);
  }
}

function commitHookEffectListMount(flags, finishedWork) {
  var updateQueue = finishedWork.updateQueue;
  var lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;

  if (lastEffect !== null) {
    var firstEffect = lastEffect.next;
    var effect = firstEffect;

    do {
      if ((effect.tag & flags) === flags) {
        {
          if ((flags & Passive$1) !== NoFlags$1) {
            markComponentPassiveEffectMountStarted(finishedWork);
          } else if ((flags & Layout) !== NoFlags$1) {
            markComponentLayoutEffectMountStarted(finishedWork);
          }
        } // Mount


        var create = effect.create;

        {
          if ((flags & Insertion) !== NoFlags$1) {
            setIsRunningInsertionEffect(true);
          }
        }

        effect.destroy = create();

        {
          if ((flags & Insertion) !== NoFlags$1) {
            setIsRunningInsertionEffect(false);
          }
        }

        {
          if ((flags & Passive$1) !== NoFlags$1) {
            markComponentPassiveEffectMountStopped();
          } else if ((flags & Layout) !== NoFlags$1) {
            markComponentLayoutEffectMountStopped();
          }
        }

        {
          var destroy = effect.destroy;

          if (destroy !== undefined && typeof destroy !== 'function') {
            var hookName = void 0;

            if ((effect.tag & Layout) !== NoFlags) {
              hookName = 'useLayoutEffect';
            } else if ((effect.tag & Insertion) !== NoFlags) {
              hookName = 'useInsertionEffect';
            } else {
              hookName = 'useEffect';
            }

            var addendum = void 0;

            if (destroy === null) {
              addendum = ' You returned null. If your effect does not require clean ' + 'up, return undefined (or nothing).';
            } else if (typeof destroy.then === 'function') {
              addendum = '\n\nIt looks like you wrote ' + hookName + '(async () => ...) or returned a Promise. ' + 'Instead, write the async function inside your effect ' + 'and call it immediately:\n\n' + hookName + '(() => {\n' + '  async function fetchData() {\n' + '    // You can await here\n' + '    const response = await MyAPI.getData(someId);\n' + '    // ...\n' + '  }\n' + '  fetchData();\n' + "}, [someId]); // Or [] if effect doesn't need props or state\n\n" + 'Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching';
            } else {
              addendum = ' You returned: ' + destroy;
            }

            error('%s must not return anything besides a function, ' + 'which is used for clean-up.%s', hookName, addendum);
          }
        }
      }

      effect = effect.next;
    } while (effect !== firstEffect);
  }
}

function commitPassiveEffectDurations(finishedRoot, finishedWork) {
  {
    // Only Profilers with work in their subtree will have an Update effect scheduled.
    if ((finishedWork.flags & Update) !== NoFlags) {
      switch (finishedWork.tag) {
        case Profiler:
          {
            var passiveEffectDuration = finishedWork.stateNode.passiveEffectDuration;
            var _finishedWork$memoize = finishedWork.memoizedProps,
                id = _finishedWork$memoize.id,
                onPostCommit = _finishedWork$memoize.onPostCommit; // This value will still reflect the previous commit phase.
            // It does not get reset until the start of the next commit phase.

            var commitTime = getCommitTime();
            var phase = finishedWork.alternate === null ? 'mount' : 'update';

            {
              if (isCurrentUpdateNested()) {
                phase = 'nested-update';
              }
            }

            if (typeof onPostCommit === 'function') {
              onPostCommit(id, phase, passiveEffectDuration, commitTime);
            } // Bubble times to the next nearest ancestor Profiler.
            // After we process that Profiler, we'll bubble further up.


            var parentFiber = finishedWork.return;

            outer: while (parentFiber !== null) {
              switch (parentFiber.tag) {
                case HostRoot:
                  var root = parentFiber.stateNode;
                  root.passiveEffectDuration += passiveEffectDuration;
                  break outer;

                case Profiler:
                  var parentStateNode = parentFiber.stateNode;
                  parentStateNode.passiveEffectDuration += passiveEffectDuration;
                  break outer;
              }

              parentFiber = parentFiber.return;
            }

            break;
          }
      }
    }
  }
}

function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork, committedLanes) {
  if ((finishedWork.flags & LayoutMask) !== NoFlags) {
    switch (finishedWork.tag) {
      case FunctionComponent:
      case ForwardRef:
      case SimpleMemoComponent:
        {
          if ( !offscreenSubtreeWasHidden) {
            // At this point layout effects have already been destroyed (during mutation phase).
            // This is done to prevent sibling component effects from interfering with each other,
            // e.g. a destroy function in one component should never override a ref set
            // by a create function in another component during the same commit.
            if ( finishedWork.mode & ProfileMode) {
              try {
                startLayoutEffectTimer();
                commitHookEffectListMount(Layout | HasEffect, finishedWork);
              } finally {
                recordLayoutEffectDuration(finishedWork);
              }
            } else {
              commitHookEffectListMount(Layout | HasEffect, finishedWork);
            }
          }

          break;
        }

      case ClassComponent:
        {
          var instance = finishedWork.stateNode;

          if (finishedWork.flags & Update) {
            if (!offscreenSubtreeWasHidden) {
              if (current === null) {
                // We could update instance props and state here,
                // but instead we rely on them being set during last render.
                // TODO: revisit this when we implement resuming.
                {
                  if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
                    if (instance.props !== finishedWork.memoizedProps) {
                      error('Expected %s props to match memoized props before ' + 'componentDidMount. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.props`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                    }

                    if (instance.state !== finishedWork.memoizedState) {
                      error('Expected %s state to match memoized state before ' + 'componentDidMount. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.state`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                    }
                  }
                }

                if ( finishedWork.mode & ProfileMode) {
                  try {
                    startLayoutEffectTimer();
                    instance.componentDidMount();
                  } finally {
                    recordLayoutEffectDuration(finishedWork);
                  }
                } else {
                  instance.componentDidMount();
                }
              } else {
                var prevProps = finishedWork.elementType === finishedWork.type ? current.memoizedProps : resolveDefaultProps(finishedWork.type, current.memoizedProps);
                var prevState = current.memoizedState; // We could update instance props and state here,
                // but instead we rely on them being set during last render.
                // TODO: revisit this when we implement resuming.

                {
                  if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
                    if (instance.props !== finishedWork.memoizedProps) {
                      error('Expected %s props to match memoized props before ' + 'componentDidUpdate. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.props`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                    }

                    if (instance.state !== finishedWork.memoizedState) {
                      error('Expected %s state to match memoized state before ' + 'componentDidUpdate. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.state`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                    }
                  }
                }

                if ( finishedWork.mode & ProfileMode) {
                  try {
                    startLayoutEffectTimer();
                    instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate);
                  } finally {
                    recordLayoutEffectDuration(finishedWork);
                  }
                } else {
                  instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate);
                }
              }
            }
          } // TODO: I think this is now always non-null by the time it reaches the
          // commit phase. Consider removing the type check.


          var updateQueue = finishedWork.updateQueue;

          if (updateQueue !== null) {
            {
              if (finishedWork.type === finishedWork.elementType && !didWarnAboutReassigningProps) {
                if (instance.props !== finishedWork.memoizedProps) {
                  error('Expected %s props to match memoized props before ' + 'processing the update queue. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.props`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                }

                if (instance.state !== finishedWork.memoizedState) {
                  error('Expected %s state to match memoized state before ' + 'processing the update queue. ' + 'This might either be because of a bug in React, or because ' + 'a component reassigns its own `this.state`. ' + 'Please file an issue.', getComponentNameFromFiber(finishedWork) || 'instance');
                }
              }
            } // We could update instance props and state here,
            // but instead we rely on them being set during last render.
            // TODO: revisit this when we implement resuming.


            commitUpdateQueue(finishedWork, updateQueue, instance);
          }

          break;
        }

      case HostRoot:
        {
          // TODO: I think this is now always non-null by the time it reaches the
          // commit phase. Consider removing the type check.
          var _updateQueue = finishedWork.updateQueue;

          if (_updateQueue !== null) {
            var _instance = null;

            if (finishedWork.child !== null) {
              switch (finishedWork.child.tag) {
                case HostComponent:
                  _instance = getPublicInstance(finishedWork.child.stateNode);
                  break;

                case ClassComponent:
                  _instance = finishedWork.child.stateNode;
                  break;
              }
            }

            commitUpdateQueue(finishedWork, _updateQueue, _instance);
          }

          break;
        }

      case HostComponent:
        {
          var _instance2 = finishedWork.stateNode; // Renderers may schedule work to be done after host components are mounted
          // (eg DOM renderer may schedule auto-focus for inputs and form controls).
          // These effects should only be committed when components are first mounted,
          // aka when there is no current/alternate.

          if (current === null && finishedWork.flags & Update) {
            var type = finishedWork.type;
            var props = finishedWork.memoizedProps;
            commitMount(_instance2, type, props);
          }

          break;
        }

      case HostText:
        {
          // We have no life-cycles associated with text.
          break;
        }

      case HostPortal:
        {
          // We have no life-cycles associated with portals.
          break;
        }

      case Profiler:
        {
          {
            var _finishedWork$memoize2 = finishedWork.memoizedProps,
                onCommit = _finishedWork$memoize2.onCommit,
                onRender = _finishedWork$memoize2.onRender;
            var effectDuration = finishedWork.stateNode.effectDuration;
            var commitTime = getCommitTime();
            var phase = current === null ? 'mount' : 'update';

            {
              if (isCurrentUpdateNested()) {
                phase = 'nested-update';
              }
            }

            if (typeof onRender === 'function') {
              onRender(finishedWork.memoizedProps.id, phase, finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, commitTime);
            }

            {
              if (typeof onCommit === 'function') {
                onCommit(finishedWork.memoizedProps.id, phase, effectDuration, commitTime);
              } // Schedule a passive effect for this Profiler to call onPostCommit hooks.
              // This effect should be scheduled even if there is no onPostCommit callback for this Profiler,
              // because the effect is also where times bubble to parent Profilers.


              enqueuePendingPassiveProfilerEffect(finishedWork); // Propagate layout effect durations to the next nearest Profiler ancestor.
              // Do not reset these values until the next render so DevTools has a chance to read them first.

              var parentFiber = finishedWork.return;

              outer: while (parentFiber !== null) {
                switch (parentFiber.tag) {
                  case HostRoot:
                    var root = parentFiber.stateNode;
                    root.effectDuration += effectDuration;
                    break outer;

                  case Profiler:
                    var parentStateNode = parentFiber.stateNode;
                    parentStateNode.effectDuration += effectDuration;
                    break outer;
                }

                parentFiber = parentFiber.return;
              }
            }
          }

          break;
        }

      case SuspenseComponent:
        {
          commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
          break;
        }

      case SuspenseListComponent:
      case IncompleteClassComponent:
      case ScopeComponent:
      case OffscreenComponent:
      case LegacyHiddenComponent:
      case TracingMarkerComponent:
        {
          break;
        }

      default:
        throw new Error('This unit of work tag should not have side-effects. This error is ' + 'likely caused by a bug in React. Please file an issue.');
    }
  }

  if ( !offscreenSubtreeWasHidden) {
    {
      if (finishedWork.flags & Ref) {
        commitAttachRef(finishedWork);
      }
    }
  }
}

function reappearLayoutEffectsOnFiber(node) {
  // Turn on layout effects in a tree that previously disappeared.
  // TODO (Offscreen) Check: flags & LayoutStatic
  switch (node.tag) {
    case FunctionComponent:
    case ForwardRef:
    case SimpleMemoComponent:
      {
        if ( node.mode & ProfileMode) {
          try {
            startLayoutEffectTimer();
            safelyCallCommitHookLayoutEffectListMount(node, node.return);
          } finally {
            recordLayoutEffectDuration(node);
          }
        } else {
          safelyCallCommitHookLayoutEffectListMount(node, node.return);
        }

        break;
      }

    case ClassComponent:
      {
        var instance = node.stateNode;

        if (typeof instance.componentDidMount === 'function') {
          safelyCallComponentDidMount(node, node.return, instance);
        }

        safelyAttachRef(node, node.return);
        break;
      }

    case HostComponent:
      {
        safelyAttachRef(node, node.return);
        break;
      }
  }
}

function hideOrUnhideAllChildren(finishedWork, isHidden) {
  // Only hide or unhide the top-most host nodes.
  var hostSubtreeRoot = null;

  {
    // We only have the top Fiber that was inserted but we need to recurse down its
    // children to find all the terminal nodes.
    var node = finishedWork;

    while (true) {
      if (node.tag === HostComponent) {
        if (hostSubtreeRoot === null) {
          hostSubtreeRoot = node;

          try {
            var instance = node.stateNode;

            if (isHidden) {
              hideInstance(instance);
            } else {
              unhideInstance(node.stateNode, node.memoizedProps);
            }
          } catch (error) {
            captureCommitPhaseError(finishedWork, finishedWork.return, error);
          }
        }
      } else if (node.tag === HostText) {
        if (hostSubtreeRoot === null) {
          try {
            var _instance3 = node.stateNode;

            if (isHidden) {
              hideTextInstance(_instance3);
            } else {
              unhideTextInstance(_instance3, node.memoizedProps);
            }
          } catch (error) {
            captureCommitPhaseError(finishedWork, finishedWork.return, error);
          }
        }
      } else if ((node.tag === OffscreenComponent || node.tag === LegacyHiddenComponent) && node.memoizedState !== null && node !== finishedWork) ; else if (node.child !== null) {
        node.child.return = node;
        node = node.child;
        continue;
      }

      if (node === finishedWork) {
        return;
      }

      while (node.sibling === null) {
        if (node.return === null || node.return === finishedWork) {
          return;
        }

        if (hostSubtreeRoot === node) {
          hostSubtreeRoot = null;
        }

        node = node.return;
      }

      if (hostSubtreeRoot === node) {
        hostSubtreeRoot = null;
      }

      node.sibling.return = node.return;
      node = node.sibling;
    }
  }
}

function commitAttachRef(finishedWork) {
  var ref = finishedWork.ref;

  if (ref !== null) {
    var instance = finishedWork.stateNode;
    var instanceToUse;

    switch (finishedWork.tag) {
      case HostComponent:
        instanceToUse = getPublicInstance(instance);
        break;

      default:
        instanceToUse = instance;
    } // Moved outside to ensure DCE works with this flag

    if (typeof ref === 'function') {
      var retVal;

      if ( finishedWork.mode & ProfileMode) {
        try {
          startLayoutEffectTimer();
          retVal = ref(instanceToUse);
        } finally {
          recordLayoutEffectDuration(finishedWork);
        }
      } else {
        retVal = ref(instanceToUse);
      }

      {
        if (typeof retVal === 'function') {
          error('Unexpected return value from a callback ref in %s. ' + 'A callback ref should not return a function.', getComponentNameFromFiber(finishedWork));
        }
      }
    } else {
      {
        if (!ref.hasOwnProperty('current')) {
          error('Unexpected ref object provided for %s. ' + 'Use either a ref-setter function or React.createRef().', getComponentNameFromFiber(finishedWork));
        }
      }

      ref.current = instanceToUse;
    }
  }
}

function detachFiberMutation(fiber) {
  // Cut off the return pointer to disconnect it from the tree.
  // This enables us to detect and warn against state updates on an unmounted component.
  // It also prevents events from bubbling from within disconnected components.
  //
  // Ideally, we should also clear the child pointer of the parent alternate to let this
  // get GC:ed but we don't know which for sure which parent is the current
  // one so we'll settle for GC:ing the subtree of this child.
  // This child itself will be GC:ed when the parent updates the next time.
  //
  // Note that we can't clear child or sibling pointers yet.
  // They're needed for passive effects and for findDOMNode.
  // We defer those fields, and all other cleanup, to the passive phase (see detachFiberAfterEffects).
  //
  // Don't reset the alternate yet, either. We need that so we can detach the
  // alternate's fields in the passive phase. Clearing the return pointer is
  // sufficient for findDOMNode semantics.
  var alternate = fiber.alternate;

  if (alternate !== null) {
    alternate.return = null;
  }

  fiber.return = null;
}

function detachFiberAfterEffects(fiber) {
  var alternate = fiber.alternate;

  if (alternate !== null) {
    fiber.alternate = null;
    detachFiberAfterEffects(alternate);
  } // Note: Defensively using negation instead of < in case
  // `deletedTreeCleanUpLevel` is undefined.


  {
    // Clear cyclical Fiber fields. This level alone is designed to roughly
    // approximate the planned Fiber refactor. In that world, `setState` will be
    // bound to a special "instance" object instead of a Fiber. The Instance
    // object will not have any of these fields. It will only be connected to
    // the fiber tree via a single link at the root. So if this level alone is
    // sufficient to fix memory issues, that bodes well for our plans.
    fiber.child = null;
    fiber.deletions = null;
    fiber.sibling = null; // The `stateNode` is cyclical because on host nodes it points to the host
    // tree, which has its own pointers to children, parents, and siblings.
    // The other host nodes also point back to fibers, so we should detach that
    // one, too.

    if (fiber.tag === HostComponent) {
      var hostInstance = fiber.stateNode;

      if (hostInstance !== null) {
        detachDeletedInstance(hostInstance);
      }
    }

    fiber.stateNode = null; // I'm intentionally not clearing the `return` field in this level. We
    // already disconnect the `return` pointer at the root of the deleted
    // subtree (in `detachFiberMutation`). Besides, `return` by itself is not
    // cyclical — it's only cyclical when combined with `child`, `sibling`, and
    // `alternate`. But we'll clear it in the next level anyway, just in case.

    {
      fiber._debugOwner = null;
    }

    {
      // Theoretically, nothing in here should be necessary, because we already
      // disconnected the fiber from the tree. So even if something leaks this
      // particular fiber, it won't leak anything else
      //
      // The purpose of this branch is to be super aggressive so we can measure
      // if there's any difference in memory impact. If there is, that could
      // indicate a React leak we don't know about.
      fiber.return = null;
      fiber.dependencies = null;
      fiber.memoizedProps = null;
      fiber.memoizedState = null;
      fiber.pendingProps = null;
      fiber.stateNode = null; // TODO: Move to `commitPassiveUnmountInsideDeletedTreeOnFiber` instead.

      fiber.updateQueue = null;
    }
  }
}

function getHostParentFiber(fiber) {
  var parent = fiber.return;

  while (parent !== null) {
    if (isHostParent(parent)) {
      return parent;
    }

    parent = parent.return;
  }

  throw new Error('Expected to find a host parent. This error is likely caused by a bug ' + 'in React. Please file an issue.');
}

function isHostParent(fiber) {
  return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
}

function getHostSibling(fiber) {
  // We're going to search forward into the tree until we find a sibling host
  // node. Unfortunately, if multiple insertions are done in a row we have to
  // search past them. This leads to exponential search for the next sibling.
  // TODO: Find a more efficient way to do this.
  var node = fiber;

  siblings: while (true) {
    // If we didn't find anything, let's try the next sibling.
    while (node.sibling === null) {
      if (node.return === null || isHostParent(node.return)) {
        // If we pop out of the root or hit the parent the fiber we are the
        // last sibling.
        return null;
      }

      node = node.return;
    }

    node.sibling.return = node.return;
    node = node.sibling;

    while (node.tag !== HostComponent && node.tag !== HostText && node.tag !== DehydratedFragment) {
      // If it is not host node and, we might have a host node inside it.
      // Try to search down until we find one.
      if (node.flags & Placement) {
        // If we don't have a child, try the siblings instead.
        continue siblings;
      } // If we don't have a child, try the siblings instead.
      // We also skip portals because they are not part of this host tree.


      if (node.child === null || node.tag === HostPortal) {
        continue siblings;
      } else {
        node.child.return = node;
        node = node.child;
      }
    } // Check if this host node is stable or about to be placed.


    if (!(node.flags & Placement)) {
      // Found it!
      return node.stateNode;
    }
  }
}

function commitPlacement(finishedWork) {


  var parentFiber = getHostParentFiber(finishedWork); // Note: these two variables *must* always be updated together.

  switch (parentFiber.tag) {
    case HostComponent:
      {
        var parent = parentFiber.stateNode;

        if (parentFiber.flags & ContentReset) {
          // Reset the text content of the parent before doing any insertions
          resetTextContent(parent); // Clear ContentReset from the effect tag

          parentFiber.flags &= ~ContentReset;
        }

        var before = getHostSibling(finishedWork); // We only have the top Fiber that was inserted but we need to recurse down its
        // children to find all the terminal nodes.

        insertOrAppendPlacementNode(finishedWork, before, parent);
        break;
      }

    case HostRoot:
    case HostPortal:
      {
        var _parent = parentFiber.stateNode.containerInfo;

        var _before = getHostSibling(finishedWork);

        insertOrAppendPlacementNodeIntoContainer(finishedWork, _before, _parent);
        break;
      }
    // eslint-disable-next-line-no-fallthrough

    default:
      throw new Error('Invalid host parent fiber. This error is likely caused by a bug ' + 'in React. Please file an issue.');
  }
}

function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
  var tag = node.tag;
  var isHost = tag === HostComponent || tag === HostText;

  if (isHost) {
    var stateNode = node.stateNode;

    if (before) {
      insertInContainerBefore(parent, stateNode, before);
    } else {
      appendChildToContainer(parent, stateNode);
    }
  } else if (tag === HostPortal) ; else {
    var child = node.child;

    if (child !== null) {
      insertOrAppendPlacementNodeIntoContainer(child, before, parent);
      var sibling = child.sibling;

      while (sibling !== null) {
        insertOrAppendPlacementNodeIntoContainer(sibling, before, parent);
        sibling = sibling.sibling;
      }
    }
  }
}

function insertOrAppendPlacementNode(node, before, parent) {
  var tag = node.tag;
  var isHost = tag === HostComponent || tag === HostText;

  if (isHost) {
    var stateNode = node.stateNode;

    if (before) {
      insertBefore(parent, stateNode, before);
    } else {
      appendChild(parent, stateNode);
    }
  } else if (tag === HostPortal) ; else {
    var child = node.child;

    if (child !== null) {
      insertOrAppendPlacementNode(child, before, parent);
      var sibling = child.sibling;

      while (sibling !== null) {
        insertOrAppendPlacementNode(sibling, before, parent);
        sibling = sibling.sibling;
      }
    }
  }
} // These are tracked on the stack as we recursively traverse a
// deleted subtree.
// TODO: Update these during the whole mutation phase, not just during
// a deletion.


var hostParent = null;
var hostParentIsContainer = false;

function commitDeletionEffects(root, returnFiber, deletedFiber) {
  {
    // We only have the top Fiber that was deleted but we need to recurse down its
    // children to find all the terminal nodes.
    // Recursively delete all host nodes from the parent, detach refs, clean
    // up mounted layout effects, and call componentWillUnmount.
    // We only need to remove the topmost host child in each branch. But then we
    // still need to keep traversing to unmount effects, refs, and cWU. TODO: We
    // could split this into two separate traversals functions, where the second
    // one doesn't include any removeChild logic. This is maybe the same
    // function as "disappearLayoutEffects" (or whatever that turns into after
    // the layout phase is refactored to use recursion).
    // Before starting, find the nearest host parent on the stack so we know
    // which instance/container to remove the children from.
    // TODO: Instead of searching up the fiber return path on every deletion, we
    // can track the nearest host component on the JS stack as we traverse the
    // tree during the commit phase. This would make insertions faster, too.
    var parent = returnFiber;

    findParent: while (parent !== null) {
      switch (parent.tag) {
        case HostComponent:
          {
            hostParent = parent.stateNode;
            hostParentIsContainer = false;
            break findParent;
          }

        case HostRoot:
          {
            hostParent = parent.stateNode.containerInfo;
            hostParentIsContainer = true;
            break findParent;
          }

        case HostPortal:
          {
            hostParent = parent.stateNode.containerInfo;
            hostParentIsContainer = true;
            break findParent;
          }
      }

      parent = parent.return;
    }

    if (hostParent === null) {
      throw new Error('Expected to find a host parent. This error is likely caused by ' + 'a bug in React. Please file an issue.');
    }

    commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber);
    hostParent = null;
    hostParentIsContainer = false;
  }

  detachFiberMutation(deletedFiber);
}

function recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, parent) {
  // TODO: Use a static flag to skip trees that don't have unmount effects
  var child = parent.child;

  while (child !== null) {
    commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, child);
    child = child.sibling;
  }
}

function commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, deletedFiber) {
  onCommitUnmount(deletedFiber); // The cases in this outer switch modify the stack before they traverse
  // into their subtree. There are simpler cases in the inner switch
  // that don't modify the stack.

  switch (deletedFiber.tag) {
    case HostComponent:
      {
        if (!offscreenSubtreeWasHidden) {
          safelyDetachRef(deletedFiber, nearestMountedAncestor);
        } // Intentional fallthrough to next branch

      }
    // eslint-disable-next-line-no-fallthrough

    case HostText:
      {
        // We only need to remove the nearest host child. Set the host parent
        // to `null` on the stack to indicate that nested children don't
        // need to be removed.
        {
          var prevHostParent = hostParent;
          var prevHostParentIsContainer = hostParentIsContainer;
          hostParent = null;
          recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
          hostParent = prevHostParent;
          hostParentIsContainer = prevHostParentIsContainer;

          if (hostParent !== null) {
            // Now that all the child effects have unmounted, we can remove the
            // node from the tree.
            if (hostParentIsContainer) {
              removeChildFromContainer(hostParent, deletedFiber.stateNode);
            } else {
              removeChild(hostParent, deletedFiber.stateNode);
            }
          }
        }

        return;
      }

    case DehydratedFragment:
      {
        // Delete the dehydrated suspense boundary and all of its content.


        {
          if (hostParent !== null) {
            if (hostParentIsContainer) {
              clearSuspenseBoundaryFromContainer(hostParent, deletedFiber.stateNode);
            } else {
              clearSuspenseBoundary(hostParent, deletedFiber.stateNode);
            }
          }
        }

        return;
      }

    case HostPortal:
      {
        {
          // When we go into a portal, it becomes the parent to remove from.
          var _prevHostParent = hostParent;
          var _prevHostParentIsContainer = hostParentIsContainer;
          hostParent = deletedFiber.stateNode.containerInfo;
          hostParentIsContainer = true;
          recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
          hostParent = _prevHostParent;
          hostParentIsContainer = _prevHostParentIsContainer;
        }

        return;
      }

    case FunctionComponent:
    case ForwardRef:
    case MemoComponent:
    case SimpleMemoComponent:
      {
        if (!offscreenSubtreeWasHidden) {
          var updateQueue = deletedFiber.updateQueue;

          if (updateQueue !== null) {
            var lastEffect = updateQueue.lastEffect;

            if (lastEffect !== null) {
              var firstEffect = lastEffect.next;
              var effect = firstEffect;

              do {
                var _effect = effect,
                    destroy = _effect.destroy,
                    tag = _effect.tag;

                if (destroy !== undefined) {
                  if ((tag & Insertion) !== NoFlags$1) {
                    safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy);
                  } else if ((tag & Layout) !== NoFlags$1) {
                    {
                      markComponentLayoutEffectUnmountStarted(deletedFiber);
                    }

                    if ( deletedFiber.mode & ProfileMode) {
                      startLayoutEffectTimer();
                      safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy);
                      recordLayoutEffectDuration(deletedFiber);
                    } else {
                      safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy);
                    }

                    {
                      markComponentLayoutEffectUnmountStopped();
                    }
                  }
                }

                effect = effect.next;
              } while (effect !== firstEffect);
            }
          }
        }

        recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
        return;
      }

    case ClassComponent:
      {
        if (!offscreenSubtreeWasHidden) {
          safelyDetachRef(deletedFiber, nearestMountedAncestor);
          var instance = deletedFiber.stateNode;

          if (typeof instance.componentWillUnmount === 'function') {
            safelyCallComponentWillUnmount(deletedFiber, nearestMountedAncestor, instance);
          }
        }

        recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
        return;
      }

    case ScopeComponent:
      {

        recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
        return;
      }

    case OffscreenComponent:
      {
        if ( // TODO: Remove this dead flag
         deletedFiber.mode & ConcurrentMode) {
          // If this offscreen component is hidden, we already unmounted it. Before
          // deleting the children, track that it's already unmounted so that we
          // don't attempt to unmount the effects again.
          // TODO: If the tree is hidden, in most cases we should be able to skip
          // over the nested children entirely. An exception is we haven't yet found
          // the topmost host node to delete, which we already track on the stack.
          // But the other case is portals, which need to be detached no matter how
          // deeply they are nested. We should use a subtree flag to track whether a
          // subtree includes a nested portal.
          var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
          offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || deletedFiber.memoizedState !== null;
          recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
          offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
        } else {
          recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
        }

        break;
      }

    default:
      {
        recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
        return;
      }
  }
}

function commitSuspenseCallback(finishedWork) {
  // TODO: Move this to passive phase
  var newState = finishedWork.memoizedState;
}

function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {

  var newState = finishedWork.memoizedState;

  if (newState === null) {
    var current = finishedWork.alternate;

    if (current !== null) {
      var prevState = current.memoizedState;

      if (prevState !== null) {
        var suspenseInstance = prevState.dehydrated;

        if (suspenseInstance !== null) {
          commitHydratedSuspenseInstance(suspenseInstance);
        }
      }
    }
  }
}

function attachSuspenseRetryListeners(finishedWork) {
  // If this boundary just timed out, then it will have a set of wakeables.
  // For each wakeable, attach a listener so that when it resolves, React
  // attempts to re-render the boundary in the primary (pre-timeout) state.
  var wakeables = finishedWork.updateQueue;

  if (wakeables !== null) {
    finishedWork.updateQueue = null;
    var retryCache = finishedWork.stateNode;

    if (retryCache === null) {
      retryCache = finishedWork.stateNode = new PossiblyWeakSet();
    }

    wakeables.forEach(function (wakeable) {
      // Memoize using the boundary fiber to prevent redundant listeners.
      var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);

      if (!retryCache.has(wakeable)) {
        retryCache.add(wakeable);

        {
          if (isDevToolsPresent) {
            if (inProgressLanes !== null && inProgressRoot !== null) {
              // If we have pending work still, associate the original updaters with it.
              restorePendingUpdaters(inProgressRoot, inProgressLanes);
            } else {
              throw Error('Expected finished root and lanes to be set. This is a bug in React.');
            }
          }
        }

        wakeable.then(retry, retry);
      }
    });
  }
} // This function detects when a Suspense boundary goes from visible to hidden.
function commitMutationEffects(root, finishedWork, committedLanes) {
  inProgressLanes = committedLanes;
  inProgressRoot = root;
  setCurrentFiber(finishedWork);
  commitMutationEffectsOnFiber(finishedWork, root);
  setCurrentFiber(finishedWork);
  inProgressLanes = null;
  inProgressRoot = null;
}

function recursivelyTraverseMutationEffects(root, parentFiber, lanes) {
  // Deletions effects can be scheduled on any fiber type. They need to happen
  // before the children effects hae fired.
  var deletions = parentFiber.deletions;

  if (deletions !== null) {
    for (var i = 0; i < deletions.length; i++) {
      var childToDelete = deletions[i];

      try {
        commitDeletionEffects(root, parentFiber, childToDelete);
      } catch (error) {
        captureCommitPhaseError(childToDelete, parentFiber, error);
      }
    }
  }

  var prevDebugFiber = getCurrentFiber();

  if (parentFiber.subtreeFlags & MutationMask) {
    var child = parentFiber.child;

    while (child !== null) {
      setCurrentFiber(child);
      commitMutationEffectsOnFiber(child, root);
      child = child.sibling;
    }
  }

  setCurrentFiber(prevDebugFiber);
}

function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
  var current = finishedWork.alternate;
  var flags = finishedWork.flags; // The effect flag should be checked *after* we refine the type of fiber,
  // because the fiber tag is more specific. An exception is any flag related
  // to reconcilation, because those can be set on all fiber types.

  switch (finishedWork.tag) {
    case FunctionComponent:
    case ForwardRef:
    case MemoComponent:
    case SimpleMemoComponent:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);

        if (flags & Update) {
          try {
            commitHookEffectListUnmount(Insertion | HasEffect, finishedWork, finishedWork.return);
            commitHookEffectListMount(Insertion | HasEffect, finishedWork);
          } catch (error) {
            captureCommitPhaseError(finishedWork, finishedWork.return, error);
          } // Layout effects are destroyed during the mutation phase so that all
          // destroy functions for all fibers are called before any create functions.
          // This prevents sibling component effects from interfering with each other,
          // e.g. a destroy function in one component should never override a ref set
          // by a create function in another component during the same commit.


          if ( finishedWork.mode & ProfileMode) {
            try {
              startLayoutEffectTimer();
              commitHookEffectListUnmount(Layout | HasEffect, finishedWork, finishedWork.return);
            } catch (error) {
              captureCommitPhaseError(finishedWork, finishedWork.return, error);
            }

            recordLayoutEffectDuration(finishedWork);
          } else {
            try {
              commitHookEffectListUnmount(Layout | HasEffect, finishedWork, finishedWork.return);
            } catch (error) {
              captureCommitPhaseError(finishedWork, finishedWork.return, error);
            }
          }
        }

        return;
      }

    case ClassComponent:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);

        if (flags & Ref) {
          if (current !== null) {
            safelyDetachRef(current, current.return);
          }
        }

        return;
      }

    case HostComponent:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);

        if (flags & Ref) {
          if (current !== null) {
            safelyDetachRef(current, current.return);
          }
        }

        {
          // TODO: ContentReset gets cleared by the children during the commit
          // phase. This is a refactor hazard because it means we must read
          // flags the flags after `commitReconciliationEffects` has already run;
          // the order matters. We should refactor so that ContentReset does not
          // rely on mutating the flag during commit. Like by setting a flag
          // during the render phase instead.
          if (finishedWork.flags & ContentReset) {
            var instance = finishedWork.stateNode;

            try {
              resetTextContent(instance);
            } catch (error) {
              captureCommitPhaseError(finishedWork, finishedWork.return, error);
            }
          }

          if (flags & Update) {
            var _instance4 = finishedWork.stateNode;

            if (_instance4 != null) {
              // Commit the work prepared earlier.
              var newProps = finishedWork.memoizedProps; // For hydration we reuse the update path but we treat the oldProps
              // as the newProps. The updatePayload will contain the real change in
              // this case.

              var oldProps = current !== null ? current.memoizedProps : newProps;
              var type = finishedWork.type; // TODO: Type the updateQueue to be specific to host components.

              var updatePayload = finishedWork.updateQueue;
              finishedWork.updateQueue = null;

              if (updatePayload !== null) {
                try {
                  commitUpdate(_instance4, updatePayload, type, oldProps, newProps, finishedWork);
                } catch (error) {
                  captureCommitPhaseError(finishedWork, finishedWork.return, error);
                }
              }
            }
          }
        }

        return;
      }

    case HostText:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);

        if (flags & Update) {
          {
            if (finishedWork.stateNode === null) {
              throw new Error('This should have a text node initialized. This error is likely ' + 'caused by a bug in React. Please file an issue.');
            }

            var textInstance = finishedWork.stateNode;
            var newText = finishedWork.memoizedProps; // For hydration we reuse the update path but we treat the oldProps
            // as the newProps. The updatePayload will contain the real change in
            // this case.

            var oldText = current !== null ? current.memoizedProps : newText;

            try {
              commitTextUpdate(textInstance, oldText, newText);
            } catch (error) {
              captureCommitPhaseError(finishedWork, finishedWork.return, error);
            }
          }
        }

        return;
      }

    case HostRoot:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);

        if (flags & Update) {
          {
            if (current !== null) {
              var prevRootState = current.memoizedState;

              if (prevRootState.isDehydrated) {
                try {
                  commitHydratedContainer(root.containerInfo);
                } catch (error) {
                  captureCommitPhaseError(finishedWork, finishedWork.return, error);
                }
              }
            }
          }
        }

        return;
      }

    case HostPortal:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);

        return;
      }

    case SuspenseComponent:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);
        var offscreenFiber = finishedWork.child;

        if (offscreenFiber.flags & Visibility) {
          var offscreenInstance = offscreenFiber.stateNode;
          var newState = offscreenFiber.memoizedState;
          var isHidden = newState !== null; // Track the current state on the Offscreen instance so we can
          // read it during an event

          offscreenInstance.isHidden = isHidden;

          if (isHidden) {
            var wasHidden = offscreenFiber.alternate !== null && offscreenFiber.alternate.memoizedState !== null;

            if (!wasHidden) {
              // TODO: Move to passive phase
              markCommitTimeOfFallback();
            }
          }
        }

        if (flags & Update) {
          try {
            commitSuspenseCallback(finishedWork);
          } catch (error) {
            captureCommitPhaseError(finishedWork, finishedWork.return, error);
          }

          attachSuspenseRetryListeners(finishedWork);
        }

        return;
      }

    case OffscreenComponent:
      {
        var _wasHidden = current !== null && current.memoizedState !== null;

        if ( // TODO: Remove this dead flag
         finishedWork.mode & ConcurrentMode) {
          // Before committing the children, track on the stack whether this
          // offscreen subtree was already hidden, so that we don't unmount the
          // effects again.
          var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
          offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || _wasHidden;
          recursivelyTraverseMutationEffects(root, finishedWork);
          offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
        } else {
          recursivelyTraverseMutationEffects(root, finishedWork);
        }

        commitReconciliationEffects(finishedWork);

        if (flags & Visibility) {
          var _offscreenInstance = finishedWork.stateNode;
          var _newState = finishedWork.memoizedState;

          var _isHidden = _newState !== null;

          var offscreenBoundary = finishedWork; // Track the current state on the Offscreen instance so we can
          // read it during an event

          _offscreenInstance.isHidden = _isHidden;

          {
            if (_isHidden) {
              if (!_wasHidden) {
                if ((offscreenBoundary.mode & ConcurrentMode) !== NoMode) {
                  nextEffect = offscreenBoundary;
                  var offscreenChild = offscreenBoundary.child;

                  while (offscreenChild !== null) {
                    nextEffect = offscreenChild;
                    disappearLayoutEffects_begin(offscreenChild);
                    offscreenChild = offscreenChild.sibling;
                  }
                }
              }
            }
          }

          {
            // TODO: This needs to run whenever there's an insertion or update
            // inside a hidden Offscreen tree.
            hideOrUnhideAllChildren(offscreenBoundary, _isHidden);
          }
        }

        return;
      }

    case SuspenseListComponent:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);

        if (flags & Update) {
          attachSuspenseRetryListeners(finishedWork);
        }

        return;
      }

    case ScopeComponent:
      {

        return;
      }

    default:
      {
        recursivelyTraverseMutationEffects(root, finishedWork);
        commitReconciliationEffects(finishedWork);
        return;
      }
  }
}

function commitReconciliationEffects(finishedWork) {
  // Placement effects (insertions, reorders) can be scheduled on any fiber
  // type. They needs to happen after the children effects have fired, but
  // before the effects on this fiber have fired.
  var flags = finishedWork.flags;

  if (flags & Placement) {
    try {
      commitPlacement(finishedWork);
    } catch (error) {
      captureCommitPhaseError(finishedWork, finishedWork.return, error);
    } // Clear the "placement" from effect tag so that we know that this is
    // inserted, before any life-cycles like componentDidMount gets called.
    // TODO: findDOMNode doesn't rely on this any more but isMounted does
    // and isMounted is deprecated anyway so we should be able to kill this.


    finishedWork.flags &= ~Placement;
  }

  if (flags & Hydrating) {
    finishedWork.flags &= ~Hydrating;
  }
}

function commitLayoutEffects(finishedWork, root, committedLanes) {
  inProgressLanes = committedLanes;
  inProgressRoot = root;
  nextEffect = finishedWork;
  commitLayoutEffects_begin(finishedWork, root, committedLanes);
  inProgressLanes = null;
  inProgressRoot = null;
}

function commitLayoutEffects_begin(subtreeRoot, root, committedLanes) {
  // Suspense layout effects semantics don't change for legacy roots.
  var isModernRoot = (subtreeRoot.mode & ConcurrentMode) !== NoMode;

  while (nextEffect !== null) {
    var fiber = nextEffect;
    var firstChild = fiber.child;

    if ( fiber.tag === OffscreenComponent && isModernRoot) {
      // Keep track of the current Offscreen stack's state.
      var isHidden = fiber.memoizedState !== null;
      var newOffscreenSubtreeIsHidden = isHidden || offscreenSubtreeIsHidden;

      if (newOffscreenSubtreeIsHidden) {
        // The Offscreen tree is hidden. Skip over its layout effects.
        commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes);
        continue;
      } else {
        // TODO (Offscreen) Also check: subtreeFlags & LayoutMask
        var current = fiber.alternate;
        var wasHidden = current !== null && current.memoizedState !== null;
        var newOffscreenSubtreeWasHidden = wasHidden || offscreenSubtreeWasHidden;
        var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
        var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; // Traverse the Offscreen subtree with the current Offscreen as the root.

        offscreenSubtreeIsHidden = newOffscreenSubtreeIsHidden;
        offscreenSubtreeWasHidden = newOffscreenSubtreeWasHidden;

        if (offscreenSubtreeWasHidden && !prevOffscreenSubtreeWasHidden) {
          // This is the root of a reappearing boundary. Turn its layout effects
          // back on.
          nextEffect = fiber;
          reappearLayoutEffects_begin(fiber);
        }

        var child = firstChild;

        while (child !== null) {
          nextEffect = child;
          commitLayoutEffects_begin(child, // New root; bubble back up to here and stop.
          root, committedLanes);
          child = child.sibling;
        } // Restore Offscreen state and resume in our-progress traversal.


        nextEffect = fiber;
        offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
        offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
        commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes);
        continue;
      }
    }

    if ((fiber.subtreeFlags & LayoutMask) !== NoFlags && firstChild !== null) {
      firstChild.return = fiber;
      nextEffect = firstChild;
    } else {
      commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes);
    }
  }
}

function commitLayoutMountEffects_complete(subtreeRoot, root, committedLanes) {
  while (nextEffect !== null) {
    var fiber = nextEffect;

    if ((fiber.flags & LayoutMask) !== NoFlags) {
      var current = fiber.alternate;
      setCurrentFiber(fiber);

      try {
        commitLayoutEffectOnFiber(root, current, fiber, committedLanes);
      } catch (error) {
        captureCommitPhaseError(fiber, fiber.return, error);
      }

      resetCurrentFiber();
    }

    if (fiber === subtreeRoot) {
      nextEffect = null;
      return;
    }

    var sibling = fiber.sibling;

    if (sibling !== null) {
      sibling.return = fiber.return;
      nextEffect = sibling;
      return;
    }

    nextEffect = fiber.return;
  }
}

function disappearLayoutEffects_begin(subtreeRoot) {
  while (nextEffect !== null) {
    var fiber = nextEffect;
    var firstChild = fiber.child; // TODO (Offscreen) Check: flags & (RefStatic | LayoutStatic)

    switch (fiber.tag) {
      case FunctionComponent:
      case ForwardRef:
      case MemoComponent:
      case SimpleMemoComponent:
        {
          if ( fiber.mode & ProfileMode) {
            try {
              startLayoutEffectTimer();
              commitHookEffectListUnmount(Layout, fiber, fiber.return);
            } finally {
              recordLayoutEffectDuration(fiber);
            }
          } else {
            commitHookEffectListUnmount(Layout, fiber, fiber.return);
          }

          break;
        }

      case ClassComponent:
        {
          // TODO (Offscreen) Check: flags & RefStatic
          safelyDetachRef(fiber, fiber.return);
          var instance = fiber.stateNode;

          if (typeof instance.componentWillUnmount === 'function') {
            safelyCallComponentWillUnmount(fiber, fiber.return, instance);
          }

          break;
        }

      case HostComponent:
        {
          safelyDetachRef(fiber, fiber.return);
          break;
        }

      case OffscreenComponent:
        {
          // Check if this is a
          var isHidden = fiber.memoizedState !== null;

          if (isHidden) {
            // Nested Offscreen tree is already hidden. Don't disappear
            // its effects.
            disappearLayoutEffects_complete(subtreeRoot);
            continue;
          }

          break;
        }
    } // TODO (Offscreen) Check: subtreeFlags & LayoutStatic


    if (firstChild !== null) {
      firstChild.return = fiber;
      nextEffect = firstChild;
    } else {
      disappearLayoutEffects_complete(subtreeRoot);
    }
  }
}

function disappearLayoutEffects_complete(subtreeRoot) {
  while (nextEffect !== null) {
    var fiber = nextEffect;

    if (fiber === subtreeRoot) {
      nextEffect = null;
      return;
    }

    var sibling = fiber.sibling;

    if (sibling !== null) {
      sibling.return = fiber.return;
      nextEffect = sibling;
      return;
    }

    nextEffect = fiber.return;
  }
}

function reappearLayoutEffects_begin(subtreeRoot) {
  while (nextEffect !== null) {
    var fiber = nextEffect;
    var firstChild = fiber.child;

    if (fiber.tag === OffscreenComponent) {
      var isHidden = fiber.memoizedState !== null;

      if (isHidden) {
        // Nested Offscreen tree is still hidden. Don't re-appear its effects.
        reappearLayoutEffects_complete(subtreeRoot);
        continue;
      }
    } // TODO (Offscreen) Check: subtreeFlags & LayoutStatic


    if (firstChild !== null) {
      // This node may have been reused from a previous render, so we can't
      // assume its return pointer is correct.
      firstChild.return = fiber;
      nextEffect = firstChild;
    } else {
      reappearLayoutEffects_complete(subtreeRoot);
    }
  }
}

function reappearLayoutEffects_complete(subtreeRoot) {
  while (nextEffect !== null) {
    var fiber = nextEffect; // TODO (Offscreen) Check: flags & LayoutStatic

    setCurrentFiber(fiber);

    try {
      reappearLayoutEffectsOnFiber(fiber);
    } catch (error) {
      captureCommitPhaseError(fiber, fiber.return, error);
    }

    resetCurrentFiber();

    if (fiber === subtreeRoot) {
      nextEffect = null;
      return;
    }

    var sibling = fiber.sibling;

    if (sibling !== null) {
      // This node may have been reused from a previous render, so we can't
      // assume its return pointer is correct.
      sibling.return = fiber.return;
      nextEffect = sibling;
      return;
    }

    nextEffect = fiber.return;
  }
}

function commitPassiveMountEffects(root, finishedWork, committedLanes, committedTransitions) {
  nextEffect = finishedWork;
  commitPassiveMountEffects_begin(finishedWork, root, committedLanes, committedTransitions);
}

function commitPassiveMountEffects_begin(subtreeRoot, root, committedLanes, committedTransitions) {
  while (nextEffect !== null) {
    var fiber = nextEffect;
    var firstChild = fiber.child;

    if ((fiber.subtreeFlags & PassiveMask) !== NoFlags && firstChild !== null) {
      firstChild.return = fiber;
      nextEffect = firstChild;
    } else {
      commitPassiveMountEffects_complete(subtreeRoot, root, committedLanes, committedTransitions);
    }
  }
}

function commitPassiveMountEffects_complete(subtreeRoot, root, committedLanes, committedTransitions) {
  while (nextEffect !== null) {
    var fiber = nextEffect;

    if ((fiber.flags & Passive) !== NoFlags) {
      setCurrentFiber(fiber);

      try {
        commitPassiveMountOnFiber(root, fiber, committedLanes, committedTransitions);
      } catch (error) {
        captureCommitPhaseError(fiber, fiber.return, error);
      }

      resetCurrentFiber();
    }

    if (fiber === subtreeRoot) {
      nextEffect = null;
      return;
    }

    var sibling = fiber.sibling;

    if (sibling !== null) {
      sibling.return = fiber.return;
      nextEffect = sibling;
      return;
    }

    nextEffect = fiber.return;
  }
}

function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions) {
  switch (finishedWork.tag) {
    case FunctionComponent:
    case ForwardRef:
    case SimpleMemoComponent:
      {
        if ( finishedWork.mode & ProfileMode) {
          startPassiveEffectTimer();

          try {
            commitHookEffectListMount(Passive$1 | HasEffect, finishedWork);
          } finally {
            recordPassiveEffectDuration(finishedWork);
          }
        } else {
          commitHookEffectListMount(Passive$1 | HasEffect, finishedWork);
        }

        break;
      }
  }
}

function commitPassiveUnmountEffects(firstChild) {
  nextEffect = firstChild;
  commitPassiveUnmountEffects_begin();
}

function commitPassiveUnmountEffects_begin() {
  while (nextEffect !== null) {
    var fiber = nextEffect;
    var child = fiber.child;

    if ((nextEffect.flags & ChildDeletion) !== NoFlags) {
      var deletions = fiber.deletions;

      if (deletions !== null) {
        for (var i = 0; i < deletions.length; i++) {
          var fiberToDelete = deletions[i];
          nextEffect = fiberToDelete;
          commitPassiveUnmountEffectsInsideOfDeletedTree_begin(fiberToDelete, fiber);
        }

        {
          // A fiber was deleted from this parent fiber, but it's still part of
          // the previous (alternate) parent fiber's list of children. Because
          // children are a linked list, an earlier sibling that's still alive
          // will be connected to the deleted fiber via its `alternate`:
          //
          //   live fiber
          //   --alternate--> previous live fiber
          //   --sibling--> deleted fiber
          //
          // We can't disconnect `alternate` on nodes that haven't been deleted
          // yet, but we can disconnect the `sibling` and `child` pointers.
          var previousFiber = fiber.alternate;

          if (previousFiber !== null) {
            var detachedChild = previousFiber.child;

            if (detachedChild !== null) {
              previousFiber.child = null;

              do {
                var detachedSibling = detachedChild.sibling;
                detachedChild.sibling = null;
                detachedChild = detachedSibling;
              } while (detachedChild !== null);
            }
          }
        }

        nextEffect = fiber;
      }
    }

    if ((fiber.subtreeFlags & PassiveMask) !== NoFlags && child !== null) {
      child.return = fiber;
      nextEffect = child;
    } else {
      commitPassiveUnmountEffects_complete();
    }
  }
}

function commitPassiveUnmountEffects_complete() {
  while (nextEffect !== null) {
    var fiber = nextEffect;

    if ((fiber.flags & Passive) !== NoFlags) {
      setCurrentFiber(fiber);
      commitPassiveUnmountOnFiber(fiber);
      resetCurrentFiber();
    }

    var sibling = fiber.sibling;

    if (sibling !== null) {
      sibling.return = fiber.return;
      nextEffect = sibling;
      return;
    }

    nextEffect = fiber.return;
  }
}

function commitPassiveUnmountOnFiber(finishedWork) {
  switch (finishedWork.tag) {
    case FunctionComponent:
    case ForwardRef:
    case SimpleMemoComponent:
      {
        if ( finishedWork.mode & ProfileMode) {
          startPassiveEffectTimer();
          commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return);
          recordPassiveEffectDuration(finishedWork);
        } else {
          commitHookEffectListUnmount(Passive$1 | HasEffect, finishedWork, finishedWork.return);
        }

        break;
      }
  }
}

function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor) {
  while (nextEffect !== null) {
    var fiber = nextEffect; // Deletion effects fire in parent -> child order
    // TODO: Check if fiber has a PassiveStatic flag

    setCurrentFiber(fiber);
    commitPassiveUnmountInsideDeletedTreeOnFiber(fiber, nearestMountedAncestor);
    resetCurrentFiber();
    var child = fiber.child; // TODO: Only traverse subtree if it has a PassiveStatic flag. (But, if we
    // do this, still need to handle `deletedTreeCleanUpLevel` correctly.)

    if (child !== null) {
      child.return = fiber;
      nextEffect = child;
    } else {
      commitPassiveUnmountEffectsInsideOfDeletedTree_complete(deletedSubtreeRoot);
    }
  }
}

function commitPassiveUnmountEffectsInsideOfDeletedTree_complete(deletedSubtreeRoot) {
  while (nextEffect !== null) {
    var fiber = nextEffect;
    var sibling = fiber.sibling;
    var returnFiber = fiber.return;

    {
      // Recursively traverse the entire deleted tree and clean up fiber fields.
      // This is more aggressive than ideal, and the long term goal is to only
      // have to detach the deleted tree at the root.
      detachFiberAfterEffects(fiber);

      if (fiber === deletedSubtreeRoot) {
        nextEffect = null;
        return;
      }
    }

    if (sibling !== null) {
      sibling.return = returnFiber;
      nextEffect = sibling;
      return;
    }

    nextEffect = returnFiber;
  }
}

function commitPassiveUnmountInsideDeletedTreeOnFiber(current, nearestMountedAncestor) {
  switch (current.tag) {
    case FunctionComponent:
    case ForwardRef:
    case SimpleMemoComponent:
      {
        if ( current.mode & ProfileMode) {
          startPassiveEffectTimer();
          commitHookEffectListUnmount(Passive$1, current, nearestMountedAncestor);
          recordPassiveEffectDuration(current);
        } else {
          commitHookEffectListUnmount(Passive$1, current, nearestMountedAncestor);
        }

        break;
      }
  }
} // TODO: Reuse reappearLayoutEffects traversal here?


function invokeLayoutEffectMountInDEV(fiber) {
  {
    // We don't need to re-check StrictEffectsMode here.
    // This function is only called if that check has already passed.
    switch (fiber.tag) {
      case FunctionComponent:
      case ForwardRef:
      case SimpleMemoComponent:
        {
          try {
            commitHookEffectListMount(Layout | HasEffect, fiber);
          } catch (error) {
            captureCommitPhaseError(fiber, fiber.return, error);
          }

          break;
        }

      case ClassComponent:
        {
          var instance = fiber.stateNode;

          try {
            instance.componentDidMount();
          } catch (error) {
            captureCommitPhaseError(fiber, fiber.return, error);
          }

          break;
        }
    }
  }
}

function invokePassiveEffectMountInDEV(fiber) {
  {
    // We don't need to re-check StrictEffectsMode here.
    // This function is only called if that check has already passed.
    switch (fiber.tag) {
      case FunctionComponent:
      case ForwardRef:
      case SimpleMemoComponent:
        {
          try {
            commitHookEffectListMount(Passive$1 | HasEffect, fiber);
          } catch (error) {
            captureCommitPhaseError(fiber, fiber.return, error);
          }

          break;
        }
    }
  }
}

function invokeLayoutEffectUnmountInDEV(fiber) {
  {
    // We don't need to re-check StrictEffectsMode here.
    // This function is only called if that check has already passed.
    switch (fiber.tag) {
      case FunctionComponent:
      case ForwardRef:
      case SimpleMemoComponent:
        {
          try {
            commitHookEffectListUnmount(Layout | HasEffect, fiber, fiber.return);
          } catch (error) {
            captureCommitPhaseError(fiber, fiber.return, error);
          }

          break;
        }

      case ClassComponent:
        {
          var instance = fiber.stateNode;

          if (typeof instance.componentWillUnmount === 'function') {
            safelyCallComponentWillUnmount(fiber, fiber.return, instance);
          }

          break;
        }
    }
  }
}

function invokePassiveEffectUnmountInDEV(fiber) {
  {
    // We don't need to re-check StrictEffectsMode here.
    // This function is only called if that check has already passed.
    switch (fiber.tag) {
      case FunctionComponent:
      case ForwardRef:
      case SimpleMemoComponent:
        {
          try {
            commitHookEffectListUnmount(Passive$1 | HasEffect, fiber, fiber.return);
          } catch (error) {
            captureCommitPhaseError(fiber, fiber.return, error);
          }
        }
    }
  }
}

var COMPONENT_TYPE = 0;
var HAS_PSEUDO_CLASS_TYPE = 1;
var ROLE_TYPE = 2;
var TEST_NAME_TYPE = 3;
var TEXT_TYPE = 4;

if (typeof Symbol === 'function' && Symbol.for) {
  var symbolFor = Symbol.for;
  COMPONENT_TYPE = symbolFor('selector.component');
  HAS_PSEUDO_CLASS_TYPE = symbolFor('selector.has_pseudo_class');
  ROLE_TYPE = symbolFor('selector.role');
  TEST_NAME_TYPE = symbolFor('selector.test_id');
  TEXT_TYPE = symbolFor('selector.text');
}
var commitHooks = [];
function onCommitRoot$1() {
  {
    commitHooks.forEach(function (commitHook) {
      return commitHook();
    });
  }
}

var ReactCurrentActQueue = ReactSharedInternals.ReactCurrentActQueue;
function isLegacyActEnvironment(fiber) {
  {
    // Legacy mode. We preserve the behavior of React 17's act. It assumes an
    // act environment whenever `jest` is defined, but you can still turn off
    // spurious warnings by setting IS_REACT_ACT_ENVIRONMENT explicitly
    // to false.
    var isReactActEnvironmentGlobal = // $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
    typeof IS_REACT_ACT_ENVIRONMENT !== 'undefined' ? IS_REACT_ACT_ENVIRONMENT : undefined; // $FlowExpectedError - Flow doesn't know about jest

    var jestIsDefined = typeof jest !== 'undefined';
    return  jestIsDefined && isReactActEnvironmentGlobal !== false;
  }
}
function isConcurrentActEnvironment() {
  {
    var isReactActEnvironmentGlobal = // $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
    typeof IS_REACT_ACT_ENVIRONMENT !== 'undefined' ? IS_REACT_ACT_ENVIRONMENT : undefined;

    if (!isReactActEnvironmentGlobal && ReactCurrentActQueue.current !== null) {
      // TODO: Include link to relevant documentation page.
      error('The current testing environment is not configured to support ' + 'act(...)');
    }

    return isReactActEnvironmentGlobal;
  }
}

var ceil = Math.ceil;
var ReactCurrentDispatcher$2 = ReactSharedInternals.ReactCurrentDispatcher,
    ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner,
    ReactCurrentBatchConfig$3 = ReactSharedInternals.ReactCurrentBatchConfig,
    ReactCurrentActQueue$1 = ReactSharedInternals.ReactCurrentActQueue;
var NoContext =
/*             */
0;
var BatchedContext =
/*               */
1;
var RenderContext =
/*                */
2;
var CommitContext =
/*                */
4;
var RootInProgress = 0;
var RootFatalErrored = 1;
var RootErrored = 2;
var RootSuspended = 3;
var RootSuspendedWithDelay = 4;
var RootCompleted = 5;
var RootDidNotComplete = 6; // Describes where we are in the React execution stack

var executionContext = NoContext; // The root we're working on

var workInProgressRoot = null; // The fiber we're working on

var workInProgress = null; // The lanes we're rendering

var workInProgressRootRenderLanes = NoLanes; // Stack that allows components to change the render lanes for its subtree
// This is a superset of the lanes we started working on at the root. The only
// case where it's different from `workInProgressRootRenderLanes` is when we
// enter a subtree that is hidden and needs to be unhidden: Suspense and
// Offscreen component.
//
// Most things in the work loop should deal with workInProgressRootRenderLanes.
// Most things in begin/complete phases should deal with subtreeRenderLanes.

var subtreeRenderLanes = NoLanes;
var subtreeRenderLanesCursor = createCursor(NoLanes); // Whether to root completed, errored, suspended, etc.

var workInProgressRootExitStatus = RootInProgress; // A fatal error, if one is thrown

var workInProgressRootFatalError = null; // "Included" lanes refer to lanes that were worked on during this render. It's
// slightly different than `renderLanes` because `renderLanes` can change as you
// enter and exit an Offscreen tree. This value is the combination of all render
// lanes for the entire render phase.

var workInProgressRootIncludedLanes = NoLanes; // The work left over by components that were visited during this render. Only
// includes unprocessed updates, not work in bailed out children.

var workInProgressRootSkippedLanes = NoLanes; // Lanes that were updated (in an interleaved event) during this render.

var workInProgressRootInterleavedUpdatedLanes = NoLanes; // Lanes that were updated during the render phase (*not* an interleaved event).

var workInProgressRootPingedLanes = NoLanes; // Errors that are thrown during the render phase.

var workInProgressRootConcurrentErrors = null; // These are errors that we recovered from without surfacing them to the UI.
// We will log them once the tree commits.

var workInProgressRootRecoverableErrors = null; // The most recent time we committed a fallback. This lets us ensure a train
// model where we don't commit new loading states in too quick succession.

var globalMostRecentFallbackTime = 0;
var FALLBACK_THROTTLE_MS = 500; // The absolute time for when we should start giving up on rendering
// more and prefer CPU suspense heuristics instead.

var workInProgressRootRenderTargetTime = Infinity; // How long a render is supposed to take before we start following CPU
// suspense heuristics and opt out of rendering more content.

var RENDER_TIMEOUT_MS = 500;
var workInProgressTransitions = null;

function resetRenderTimer() {
  workInProgressRootRenderTargetTime = now() + RENDER_TIMEOUT_MS;
}

function getRenderTargetTime() {
  return workInProgressRootRenderTargetTime;
}
var hasUncaughtError = false;
var firstUncaughtError = null;
var legacyErrorBoundariesThatAlreadyFailed = null; // Only used when enableProfilerNestedUpdateScheduledHook is true;
var rootDoesHavePassiveEffects = false;
var rootWithPendingPassiveEffects = null;
var pendingPassiveEffectsLanes = NoLanes;
var pendingPassiveProfilerEffects = [];
var pendingPassiveTransitions = null; // Use these to prevent an infinite loop of nested updates

var NESTED_UPDATE_LIMIT = 50;
var nestedUpdateCount = 0;
var rootWithNestedUpdates = null;
var isFlushingPassiveEffects = false;
var didScheduleUpdateDuringPassiveEffects = false;
var NESTED_PASSIVE_UPDATE_LIMIT = 50;
var nestedPassiveUpdateCount = 0;
var rootWithPassiveNestedUpdates = null; // If two updates are scheduled within the same event, we should treat their
// event times as simultaneous, even if the actual clock time has advanced
// between the first and second call.

var currentEventTime = NoTimestamp;
var currentEventTransitionLane = NoLanes;
var isRunningInsertionEffect = false;
function getWorkInProgressRoot() {
  return workInProgressRoot;
}
function requestEventTime() {
  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
    // We're inside React, so it's fine to read the actual time.
    return now();
  } // We're not inside React, so we may be in the middle of a browser event.


  if (currentEventTime !== NoTimestamp) {
    // Use the same start time for all updates until we enter React again.
    return currentEventTime;
  } // This is the first update since React yielded. Compute a new start time.


  currentEventTime = now();
  return currentEventTime;
}
function requestUpdateLane(fiber) {
  // Special cases
  var mode = fiber.mode;

  if ((mode & ConcurrentMode) === NoMode) {
    return SyncLane;
  } else if ( (executionContext & RenderContext) !== NoContext && workInProgressRootRenderLanes !== NoLanes) {
    // This is a render phase update. These are not officially supported. The
    // old behavior is to give this the same "thread" (lanes) as
    // whatever is currently rendering. So if you call `setState` on a component
    // that happens later in the same render, it will flush. Ideally, we want to
    // remove the special case and treat them as if they came from an
    // interleaved event. Regardless, this pattern is not officially supported.
    // This behavior is only a fallback. The flag only exists until we can roll
    // out the setState warning, since existing code might accidentally rely on
    // the current behavior.
    return pickArbitraryLane(workInProgressRootRenderLanes);
  }

  var isTransition = requestCurrentTransition() !== NoTransition;

  if (isTransition) {
    if ( ReactCurrentBatchConfig$3.transition !== null) {
      var transition = ReactCurrentBatchConfig$3.transition;

      if (!transition._updatedFibers) {
        transition._updatedFibers = new Set();
      }

      transition._updatedFibers.add(fiber);
    } // The algorithm for assigning an update to a lane should be stable for all
    // updates at the same priority within the same event. To do this, the
    // inputs to the algorithm must be the same.
    //
    // The trick we use is to cache the first of each of these inputs within an
    // event. Then reset the cached values once we can be sure the event is
    // over. Our heuristic for that is whenever we enter a concurrent work loop.


    if (currentEventTransitionLane === NoLane) {
      // All transitions within the same event are assigned the same lane.
      currentEventTransitionLane = claimNextTransitionLane();
    }

    return currentEventTransitionLane;
  } // Updates originating inside certain React methods, like flushSync, have
  // their priority set by tracking it with a context variable.
  //
  // The opaque type returned by the host config is internally a lane, so we can
  // use that directly.
  // TODO: Move this type conversion to the event priority module.


  var updateLane = getCurrentUpdatePriority();

  if (updateLane !== NoLane) {
    return updateLane;
  } // This update originated outside React. Ask the host environment for an
  // appropriate priority, based on the type of event.
  //
  // The opaque type returned by the host config is internally a lane, so we can
  // use that directly.
  // TODO: Move this type conversion to the event priority module.


  var eventLane = getCurrentEventPriority();
  return eventLane;
}

function requestRetryLane(fiber) {
  // This is a fork of `requestUpdateLane` designed specifically for Suspense
  // "retries" — a special update that attempts to flip a Suspense boundary
  // from its placeholder state to its primary/resolved state.
  // Special cases
  var mode = fiber.mode;

  if ((mode & ConcurrentMode) === NoMode) {
    return SyncLane;
  }

  return claimNextRetryLane();
}

function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
  checkForNestedUpdates();

  {
    if (isRunningInsertionEffect) {
      error('useInsertionEffect must not schedule updates.');
    }
  }

  {
    if (isFlushingPassiveEffects) {
      didScheduleUpdateDuringPassiveEffects = true;
    }
  } // Mark that the root has a pending update.


  markRootUpdated(root, lane, eventTime);

  if ((executionContext & RenderContext) !== NoLanes && root === workInProgressRoot) {
    // This update was dispatched during the render phase. This is a mistake
    // if the update originates from user space (with the exception of local
    // hook updates, which are handled differently and don't reach this
    // function), but there are some internal React features that use this as
    // an implementation detail, like selective hydration.
    warnAboutRenderPhaseUpdatesInDEV(fiber); // Track lanes that were updated during the render phase
  } else {
    // This is a normal update, scheduled from outside the render phase. For
    // example, during an input event.
    {
      if (isDevToolsPresent) {
        addFiberToLanesMap(root, fiber, lane);
      }
    }

    warnIfUpdatesNotWrappedWithActDEV(fiber);

    if (root === workInProgressRoot) {
      // Received an update to a tree that's in the middle of rendering. Mark
      // that there was an interleaved update work on this root. Unless the
      // `deferRenderPhaseUpdateToNextBatch` flag is off and this is a render
      // phase update. In that case, we don't treat render phase updates as if
      // they were interleaved, for backwards compat reasons.
      if ( (executionContext & RenderContext) === NoContext) {
        workInProgressRootInterleavedUpdatedLanes = mergeLanes(workInProgressRootInterleavedUpdatedLanes, lane);
      }

      if (workInProgressRootExitStatus === RootSuspendedWithDelay) {
        // The root already suspended with a delay, which means this render
        // definitely won't finish. Since we have a new update, let's mark it as
        // suspended now, right before marking the incoming update. This has the
        // effect of interrupting the current render and switching to the update.
        // TODO: Make sure this doesn't override pings that happen while we've
        // already started rendering.
        markRootSuspended$1(root, workInProgressRootRenderLanes);
      }
    }

    ensureRootIsScheduled(root, eventTime);

    if (lane === SyncLane && executionContext === NoContext && (fiber.mode & ConcurrentMode) === NoMode && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
    !( ReactCurrentActQueue$1.isBatchingLegacy)) {
      // Flush the synchronous work now, unless we're already working or inside
      // a batch. This is intentionally inside scheduleUpdateOnFiber instead of
      // scheduleCallbackForFiber to preserve the ability to schedule a callback
      // without immediately flushing it. We only do this for user-initiated
      // updates, to preserve historical behavior of legacy mode.
      resetRenderTimer();
      flushSyncCallbacksOnlyInLegacyMode();
    }
  }
}
function scheduleInitialHydrationOnRoot(root, lane, eventTime) {
  // This is a special fork of scheduleUpdateOnFiber that is only used to
  // schedule the initial hydration of a root that has just been created. Most
  // of the stuff in scheduleUpdateOnFiber can be skipped.
  //
  // The main reason for this separate path, though, is to distinguish the
  // initial children from subsequent updates. In fully client-rendered roots
  // (createRoot instead of hydrateRoot), all top-level renders are modeled as
  // updates, but hydration roots are special because the initial render must
  // match what was rendered on the server.
  var current = root.current;
  current.lanes = lane;
  markRootUpdated(root, lane, eventTime);
  ensureRootIsScheduled(root, eventTime);
}
function isUnsafeClassRenderPhaseUpdate(fiber) {
  // Check if this is a render phase update. Only called by class components,
  // which special (deprecated) behavior for UNSAFE_componentWillReceive props.
  return (// TODO: Remove outdated deferRenderPhaseUpdateToNextBatch experiment. We
    // decided not to enable it.
     (executionContext & RenderContext) !== NoContext
  );
} // Use this function to schedule a task for a root. There's only one task per
// root; if a task was already scheduled, we'll check to make sure the priority
// of the existing task is the same as the priority of the next level that the
// root has work on. This function is called on every update, and right before
// exiting a task.

function ensureRootIsScheduled(root, currentTime) {
  var existingCallbackNode = root.callbackNode; // Check if any lanes are being starved by other work. If so, mark them as
  // expired so we know to work on those next.

  markStarvedLanesAsExpired(root, currentTime); // Determine the next lanes to work on, and their priority.

  var nextLanes = getNextLanes(root, root === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);

  if (nextLanes === NoLanes) {
    // Special case: There's nothing to work on.
    if (existingCallbackNode !== null) {
      cancelCallback$1(existingCallbackNode);
    }

    root.callbackNode = null;
    root.callbackPriority = NoLane;
    return;
  } // We use the highest priority lane to represent the priority of the callback.


  var newCallbackPriority = getHighestPriorityLane(nextLanes); // Check if there's an existing task. We may be able to reuse it.

  var existingCallbackPriority = root.callbackPriority;

  if (existingCallbackPriority === newCallbackPriority && // Special case related to `act`. If the currently scheduled task is a
  // Scheduler task, rather than an `act` task, cancel it and re-scheduled
  // on the `act` queue.
  !( ReactCurrentActQueue$1.current !== null && existingCallbackNode !== fakeActCallbackNode)) {
    {
      // If we're going to re-use an existing task, it needs to exist.
      // Assume that discrete update microtasks are non-cancellable and null.
      // TODO: Temporary until we confirm this warning is not fired.
      if (existingCallbackNode == null && existingCallbackPriority !== SyncLane) {
        error('Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.');
      }
    } // The priority hasn't changed. We can reuse the existing task. Exit.


    return;
  }

  if (existingCallbackNode != null) {
    // Cancel the existing callback. We'll schedule a new one below.
    cancelCallback$1(existingCallbackNode);
  } // Schedule a new callback.


  var newCallbackNode;

  if (newCallbackPriority === SyncLane) {
    // Special case: Sync React callbacks are scheduled on a special
    // internal queue
    if (root.tag === LegacyRoot) {
      if ( ReactCurrentActQueue$1.isBatchingLegacy !== null) {
        ReactCurrentActQueue$1.didScheduleLegacyUpdate = true;
      }

      scheduleLegacySyncCallback(performSyncWorkOnRoot.bind(null, root));
    } else {
      scheduleSyncCallback(performSyncWorkOnRoot.bind(null, root));
    }

    {
      // Flush the queue in a microtask.
      if ( ReactCurrentActQueue$1.current !== null) {
        // Inside `act`, use our internal `act` queue so that these get flushed
        // at the end of the current scope even when using the sync version
        // of `act`.
        ReactCurrentActQueue$1.current.push(flushSyncCallbacks);
      } else {
        scheduleMicrotask(function () {
          // In Safari, appending an iframe forces microtasks to run.
          // https://github.com/facebook/react/issues/22459
          // We don't support running callbacks in the middle of render
          // or commit so we need to check against that.
          if ((executionContext & (RenderContext | CommitContext)) === NoContext) {
            // Note that this would still prematurely flush the callbacks
            // if this happens outside render or commit phase (e.g. in an event).
            flushSyncCallbacks();
          }
        });
      }
    }

    newCallbackNode = null;
  } else {
    var schedulerPriorityLevel;

    switch (lanesToEventPriority(nextLanes)) {
      case DiscreteEventPriority:
        schedulerPriorityLevel = ImmediatePriority;
        break;

      case ContinuousEventPriority:
        schedulerPriorityLevel = UserBlockingPriority;
        break;

      case DefaultEventPriority:
        schedulerPriorityLevel = NormalPriority;
        break;

      case IdleEventPriority:
        schedulerPriorityLevel = IdlePriority;
        break;

      default:
        schedulerPriorityLevel = NormalPriority;
        break;
    }

    newCallbackNode = scheduleCallback$1(schedulerPriorityLevel, performConcurrentWorkOnRoot.bind(null, root));
  }

  root.callbackPriority = newCallbackPriority;
  root.callbackNode = newCallbackNode;
} // This is the entry point for every concurrent task, i.e. anything that
// goes through Scheduler.


function performConcurrentWorkOnRoot(root, didTimeout) {
  {
    resetNestedUpdateFlag();
  } // Since we know we're in a React event, we can clear the current
  // event time. The next update will compute a new event time.


  currentEventTime = NoTimestamp;
  currentEventTransitionLane = NoLanes;

  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
    throw new Error('Should not already be working.');
  } // Flush any pending passive effects before deciding which lanes to work on,
  // in case they schedule additional work.


  var originalCallbackNode = root.callbackNode;
  var didFlushPassiveEffects = flushPassiveEffects();

  if (didFlushPassiveEffects) {
    // Something in the passive effect phase may have canceled the current task.
    // Check if the task node for this root was changed.
    if (root.callbackNode !== originalCallbackNode) {
      // The current task was canceled. Exit. We don't need to call
      // `ensureRootIsScheduled` because the check above implies either that
      // there's a new task, or that there's no remaining work on this root.
      return null;
    }
  } // Determine the next lanes to work on, using the fields stored
  // on the root.


  var lanes = getNextLanes(root, root === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes);

  if (lanes === NoLanes) {
    // Defensive coding. This is never expected to happen.
    return null;
  } // We disable time-slicing in some cases: if the work has been CPU-bound
  // for too long ("expired" work, to prevent starvation), or we're in
  // sync-updates-by-default mode.
  // TODO: We only check `didTimeout` defensively, to account for a Scheduler
  // bug we're still investigating. Once the bug in Scheduler is fixed,
  // we can remove this, since we track expiration ourselves.


  var shouldTimeSlice = !includesBlockingLane(root, lanes) && !includesExpiredLane(root, lanes) && ( !didTimeout);
  var exitStatus = shouldTimeSlice ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes);

  if (exitStatus !== RootInProgress) {
    if (exitStatus === RootErrored) {
      // If something threw an error, try rendering one more time. We'll
      // render synchronously to block concurrent data mutations, and we'll
      // includes all pending updates are included. If it still fails after
      // the second attempt, we'll give up and commit the resulting tree.
      var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);

      if (errorRetryLanes !== NoLanes) {
        lanes = errorRetryLanes;
        exitStatus = recoverFromConcurrentError(root, errorRetryLanes);
      }
    }

    if (exitStatus === RootFatalErrored) {
      var fatalError = workInProgressRootFatalError;
      prepareFreshStack(root, NoLanes);
      markRootSuspended$1(root, lanes);
      ensureRootIsScheduled(root, now());
      throw fatalError;
    }

    if (exitStatus === RootDidNotComplete) {
      // The render unwound without completing the tree. This happens in special
      // cases where need to exit the current render without producing a
      // consistent tree or committing.
      //
      // This should only happen during a concurrent render, not a discrete or
      // synchronous update. We should have already checked for this when we
      // unwound the stack.
      markRootSuspended$1(root, lanes);
    } else {
      // The render completed.
      // Check if this render may have yielded to a concurrent event, and if so,
      // confirm that any newly rendered stores are consistent.
      // TODO: It's possible that even a concurrent render may never have yielded
      // to the main thread, if it was fast enough, or if it expired. We could
      // skip the consistency check in that case, too.
      var renderWasConcurrent = !includesBlockingLane(root, lanes);
      var finishedWork = root.current.alternate;

      if (renderWasConcurrent && !isRenderConsistentWithExternalStores(finishedWork)) {
        // A store was mutated in an interleaved event. Render again,
        // synchronously, to block further mutations.
        exitStatus = renderRootSync(root, lanes); // We need to check again if something threw

        if (exitStatus === RootErrored) {
          var _errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);

          if (_errorRetryLanes !== NoLanes) {
            lanes = _errorRetryLanes;
            exitStatus = recoverFromConcurrentError(root, _errorRetryLanes); // We assume the tree is now consistent because we didn't yield to any
            // concurrent events.
          }
        }

        if (exitStatus === RootFatalErrored) {
          var _fatalError = workInProgressRootFatalError;
          prepareFreshStack(root, NoLanes);
          markRootSuspended$1(root, lanes);
          ensureRootIsScheduled(root, now());
          throw _fatalError;
        }
      } // We now have a consistent tree. The next step is either to commit it,
      // or, if something suspended, wait to commit it after a timeout.


      root.finishedWork = finishedWork;
      root.finishedLanes = lanes;
      finishConcurrentRender(root, exitStatus, lanes);
    }
  }

  ensureRootIsScheduled(root, now());

  if (root.callbackNode === originalCallbackNode) {
    // The task node scheduled for this root is the same one that's
    // currently executed. Need to return a continuation.
    return performConcurrentWorkOnRoot.bind(null, root);
  }

  return null;
}

function recoverFromConcurrentError(root, errorRetryLanes) {
  // If an error occurred during hydration, discard server response and fall
  // back to client side render.
  // Before rendering again, save the errors from the previous attempt.
  var errorsFromFirstAttempt = workInProgressRootConcurrentErrors;

  if (isRootDehydrated(root)) {
    // The shell failed to hydrate. Set a flag to force a client rendering
    // during the next attempt. To do this, we call prepareFreshStack now
    // to create the root work-in-progress fiber. This is a bit weird in terms
    // of factoring, because it relies on renderRootSync not calling
    // prepareFreshStack again in the call below, which happens because the
    // root and lanes haven't changed.
    //
    // TODO: I think what we should do is set ForceClientRender inside
    // throwException, like we do for nested Suspense boundaries. The reason
    // it's here instead is so we can switch to the synchronous work loop, too.
    // Something to consider for a future refactor.
    var rootWorkInProgress = prepareFreshStack(root, errorRetryLanes);
    rootWorkInProgress.flags |= ForceClientRender;

    {
      errorHydratingContainer(root.containerInfo);
    }
  }

  var exitStatus = renderRootSync(root, errorRetryLanes);

  if (exitStatus !== RootErrored) {
    // Successfully finished rendering on retry
    // The errors from the failed first attempt have been recovered. Add
    // them to the collection of recoverable errors. We'll log them in the
    // commit phase.
    var errorsFromSecondAttempt = workInProgressRootRecoverableErrors;
    workInProgressRootRecoverableErrors = errorsFromFirstAttempt; // The errors from the second attempt should be queued after the errors
    // from the first attempt, to preserve the causal sequence.

    if (errorsFromSecondAttempt !== null) {
      queueRecoverableErrors(errorsFromSecondAttempt);
    }
  }

  return exitStatus;
}

function queueRecoverableErrors(errors) {
  if (workInProgressRootRecoverableErrors === null) {
    workInProgressRootRecoverableErrors = errors;
  } else {
    workInProgressRootRecoverableErrors.push.apply(workInProgressRootRecoverableErrors, errors);
  }
}

function finishConcurrentRender(root, exitStatus, lanes) {
  switch (exitStatus) {
    case RootInProgress:
    case RootFatalErrored:
      {
        throw new Error('Root did not complete. This is a bug in React.');
      }
    // Flow knows about invariant, so it complains if I add a break
    // statement, but eslint doesn't know about invariant, so it complains
    // if I do. eslint-disable-next-line no-fallthrough

    case RootErrored:
      {
        // We should have already attempted to retry this tree. If we reached
        // this point, it errored again. Commit it.
        commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);
        break;
      }

    case RootSuspended:
      {
        markRootSuspended$1(root, lanes); // We have an acceptable loading state. We need to figure out if we
        // should immediately commit it or wait a bit.

        if (includesOnlyRetries(lanes) && // do not delay if we're inside an act() scope
        !shouldForceFlushFallbacksInDEV()) {
          // This render only included retries, no updates. Throttle committing
          // retries so that we don't show too many loading states too quickly.
          var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now(); // Don't bother with a very short suspense time.

          if (msUntilTimeout > 10) {
            var nextLanes = getNextLanes(root, NoLanes);

            if (nextLanes !== NoLanes) {
              // There's additional work on this root.
              break;
            }

            var suspendedLanes = root.suspendedLanes;

            if (!isSubsetOfLanes(suspendedLanes, lanes)) {
              // We should prefer to render the fallback of at the last
              // suspended level. Ping the last suspended level to try
              // rendering it again.
              // FIXME: What if the suspended lanes are Idle? Should not restart.
              var eventTime = requestEventTime();
              markRootPinged(root, suspendedLanes);
              break;
            } // The render is suspended, it hasn't timed out, and there's no
            // lower priority work to do. Instead of committing the fallback
            // immediately, wait for more data to arrive.


            root.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root, workInProgressRootRecoverableErrors, workInProgressTransitions), msUntilTimeout);
            break;
          }
        } // The work expired. Commit immediately.


        commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);
        break;
      }

    case RootSuspendedWithDelay:
      {
        markRootSuspended$1(root, lanes);

        if (includesOnlyTransitions(lanes)) {
          // This is a transition, so we should exit without committing a
          // placeholder and without scheduling a timeout. Delay indefinitely
          // until we receive more data.
          break;
        }

        if (!shouldForceFlushFallbacksInDEV()) {
          // This is not a transition, but we did trigger an avoided state.
          // Schedule a placeholder to display after a short delay, using the Just
          // Noticeable Difference.
          // TODO: Is the JND optimization worth the added complexity? If this is
          // the only reason we track the event time, then probably not.
          // Consider removing.
          var mostRecentEventTime = getMostRecentEventTime(root, lanes);
          var eventTimeMs = mostRecentEventTime;
          var timeElapsedMs = now() - eventTimeMs;

          var _msUntilTimeout = jnd(timeElapsedMs) - timeElapsedMs; // Don't bother with a very short suspense time.


          if (_msUntilTimeout > 10) {
            // Instead of committing the fallback immediately, wait for more data
            // to arrive.
            root.timeoutHandle = scheduleTimeout(commitRoot.bind(null, root, workInProgressRootRecoverableErrors, workInProgressTransitions), _msUntilTimeout);
            break;
          }
        } // Commit the placeholder.


        commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);
        break;
      }

    case RootCompleted:
      {
        // The work completed. Ready to commit.
        commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions);
        break;
      }

    default:
      {
        throw new Error('Unknown root exit status.');
      }
  }
}

function isRenderConsistentWithExternalStores(finishedWork) {
  // Search the rendered tree for external store reads, and check whether the
  // stores were mutated in a concurrent event. Intentionally using an iterative
  // loop instead of recursion so we can exit early.
  var node = finishedWork;

  while (true) {
    if (node.flags & StoreConsistency) {
      var updateQueue = node.updateQueue;

      if (updateQueue !== null) {
        var checks = updateQueue.stores;

        if (checks !== null) {
          for (var i = 0; i < checks.length; i++) {
            var check = checks[i];
            var getSnapshot = check.getSnapshot;
            var renderedValue = check.value;

            try {
              if (!objectIs(getSnapshot(), renderedValue)) {
                // Found an inconsistent store.
                return false;
              }
            } catch (error) {
              // If `getSnapshot` throws, return `false`. This will schedule
              // a re-render, and the error will be rethrown during render.
              return false;
            }
          }
        }
      }
    }

    var child = node.child;

    if (node.subtreeFlags & StoreConsistency && child !== null) {
      child.return = node;
      node = child;
      continue;
    }

    if (node === finishedWork) {
      return true;
    }

    while (node.sibling === null) {
      if (node.return === null || node.return === finishedWork) {
        return true;
      }

      node = node.return;
    }

    node.sibling.return = node.return;
    node = node.sibling;
  } // Flow doesn't know this is unreachable, but eslint does
  // eslint-disable-next-line no-unreachable


  return true;
}

function markRootSuspended$1(root, suspendedLanes) {
  // When suspending, we should always exclude lanes that were pinged or (more
  // rarely, since we try to avoid it) updated during the render phase.
  // TODO: Lol maybe there's a better way to factor this besides this
  // obnoxiously named function :)
  suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes);
  suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes);
  markRootSuspended(root, suspendedLanes);
} // This is the entry point for synchronous tasks that don't go
// through Scheduler


function performSyncWorkOnRoot(root) {
  {
    syncNestedUpdateFlag();
  }

  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
    throw new Error('Should not already be working.');
  }

  flushPassiveEffects();
  var lanes = getNextLanes(root, NoLanes);

  if (!includesSomeLane(lanes, SyncLane)) {
    // There's no remaining sync work left.
    ensureRootIsScheduled(root, now());
    return null;
  }

  var exitStatus = renderRootSync(root, lanes);

  if (root.tag !== LegacyRoot && exitStatus === RootErrored) {
    // If something threw an error, try rendering one more time. We'll render
    // synchronously to block concurrent data mutations, and we'll includes
    // all pending updates are included. If it still fails after the second
    // attempt, we'll give up and commit the resulting tree.
    var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);

    if (errorRetryLanes !== NoLanes) {
      lanes = errorRetryLanes;
      exitStatus = recoverFromConcurrentError(root, errorRetryLanes);
    }
  }

  if (exitStatus === RootFatalErrored) {
    var fatalError = workInProgressRootFatalError;
    prepareFreshStack(root, NoLanes);
    markRootSuspended$1(root, lanes);
    ensureRootIsScheduled(root, now());
    throw fatalError;
  }

  if (exitStatus === RootDidNotComplete) {
    throw new Error('Root did not complete. This is a bug in React.');
  } // We now have a consistent tree. Because this is a sync render, we
  // will commit it even if something suspended.


  var finishedWork = root.current.alternate;
  root.finishedWork = finishedWork;
  root.finishedLanes = lanes;
  commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); // Before exiting, make sure there's a callback scheduled for the next
  // pending level.

  ensureRootIsScheduled(root, now());
  return null;
}

function flushRoot(root, lanes) {
  if (lanes !== NoLanes) {
    markRootEntangled(root, mergeLanes(lanes, SyncLane));
    ensureRootIsScheduled(root, now());

    if ((executionContext & (RenderContext | CommitContext)) === NoContext) {
      resetRenderTimer();
      flushSyncCallbacks();
    }
  }
}
function batchedUpdates$1(fn, a) {
  var prevExecutionContext = executionContext;
  executionContext |= BatchedContext;

  try {
    return fn(a);
  } finally {
    executionContext = prevExecutionContext; // If there were legacy sync updates, flush them at the end of the outer
    // most batchedUpdates-like method.

    if (executionContext === NoContext && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
    !( ReactCurrentActQueue$1.isBatchingLegacy)) {
      resetRenderTimer();
      flushSyncCallbacksOnlyInLegacyMode();
    }
  }
}
function discreteUpdates(fn, a, b, c, d) {
  var previousPriority = getCurrentUpdatePriority();
  var prevTransition = ReactCurrentBatchConfig$3.transition;

  try {
    ReactCurrentBatchConfig$3.transition = null;
    setCurrentUpdatePriority(DiscreteEventPriority);
    return fn(a, b, c, d);
  } finally {
    setCurrentUpdatePriority(previousPriority);
    ReactCurrentBatchConfig$3.transition = prevTransition;

    if (executionContext === NoContext) {
      resetRenderTimer();
    }
  }
} // Overload the definition to the two valid signatures.
// Warning, this opts-out of checking the function body.

// eslint-disable-next-line no-redeclare
function flushSync(fn) {
  // In legacy mode, we flush pending passive effects at the beginning of the
  // next event, not at the end of the previous one.
  if (rootWithPendingPassiveEffects !== null && rootWithPendingPassiveEffects.tag === LegacyRoot && (executionContext & (RenderContext | CommitContext)) === NoContext) {
    flushPassiveEffects();
  }

  var prevExecutionContext = executionContext;
  executionContext |= BatchedContext;
  var prevTransition = ReactCurrentBatchConfig$3.transition;
  var previousPriority = getCurrentUpdatePriority();

  try {
    ReactCurrentBatchConfig$3.transition = null;
    setCurrentUpdatePriority(DiscreteEventPriority);

    if (fn) {
      return fn();
    } else {
      return undefined;
    }
  } finally {
    setCurrentUpdatePriority(previousPriority);
    ReactCurrentBatchConfig$3.transition = prevTransition;
    executionContext = prevExecutionContext; // Flush the immediate callbacks that were scheduled during this batch.
    // Note that this will happen even if batchedUpdates is higher up
    // the stack.

    if ((executionContext & (RenderContext | CommitContext)) === NoContext) {
      flushSyncCallbacks();
    }
  }
}
function isAlreadyRendering() {
  // Used by the renderer to print a warning if certain APIs are called from
  // the wrong context.
  return  (executionContext & (RenderContext | CommitContext)) !== NoContext;
}
function pushRenderLanes(fiber, lanes) {
  push(subtreeRenderLanesCursor, subtreeRenderLanes, fiber);
  subtreeRenderLanes = mergeLanes(subtreeRenderLanes, lanes);
  workInProgressRootIncludedLanes = mergeLanes(workInProgressRootIncludedLanes, lanes);
}
function popRenderLanes(fiber) {
  subtreeRenderLanes = subtreeRenderLanesCursor.current;
  pop(subtreeRenderLanesCursor, fiber);
}

function prepareFreshStack(root, lanes) {
  root.finishedWork = null;
  root.finishedLanes = NoLanes;
  var timeoutHandle = root.timeoutHandle;

  if (timeoutHandle !== noTimeout) {
    // The root previous suspended and scheduled a timeout to commit a fallback
    // state. Now that we have additional work, cancel the timeout.
    root.timeoutHandle = noTimeout; // $FlowFixMe Complains noTimeout is not a TimeoutID, despite the check above

    cancelTimeout(timeoutHandle);
  }

  if (workInProgress !== null) {
    var interruptedWork = workInProgress.return;

    while (interruptedWork !== null) {
      var current = interruptedWork.alternate;
      unwindInterruptedWork(current, interruptedWork);
      interruptedWork = interruptedWork.return;
    }
  }

  workInProgressRoot = root;
  var rootWorkInProgress = createWorkInProgress(root.current, null);
  workInProgress = rootWorkInProgress;
  workInProgressRootRenderLanes = subtreeRenderLanes = workInProgressRootIncludedLanes = lanes;
  workInProgressRootExitStatus = RootInProgress;
  workInProgressRootFatalError = null;
  workInProgressRootSkippedLanes = NoLanes;
  workInProgressRootInterleavedUpdatedLanes = NoLanes;
  workInProgressRootPingedLanes = NoLanes;
  workInProgressRootConcurrentErrors = null;
  workInProgressRootRecoverableErrors = null;
  finishQueueingConcurrentUpdates();

  {
    ReactStrictModeWarnings.discardPendingWarnings();
  }

  return rootWorkInProgress;
}

function handleError(root, thrownValue) {
  do {
    var erroredWork = workInProgress;

    try {
      // Reset module-level state that was set during the render phase.
      resetContextDependencies();
      resetHooksAfterThrow();
      resetCurrentFiber(); // TODO: I found and added this missing line while investigating a
      // separate issue. Write a regression test using string refs.

      ReactCurrentOwner$2.current = null;

      if (erroredWork === null || erroredWork.return === null) {
        // Expected to be working on a non-root fiber. This is a fatal error
        // because there's no ancestor that can handle it; the root is
        // supposed to capture all errors that weren't caught by an error
        // boundary.
        workInProgressRootExitStatus = RootFatalErrored;
        workInProgressRootFatalError = thrownValue; // Set `workInProgress` to null. This represents advancing to the next
        // sibling, or the parent if there are no siblings. But since the root
        // has no siblings nor a parent, we set it to null. Usually this is
        // handled by `completeUnitOfWork` or `unwindWork`, but since we're
        // intentionally not calling those, we need set it here.
        // TODO: Consider calling `unwindWork` to pop the contexts.

        workInProgress = null;
        return;
      }

      if (enableProfilerTimer && erroredWork.mode & ProfileMode) {
        // Record the time spent rendering before an error was thrown. This
        // avoids inaccurate Profiler durations in the case of a
        // suspended render.
        stopProfilerTimerIfRunningAndRecordDelta(erroredWork, true);
      }

      if (enableSchedulingProfiler) {
        markComponentRenderStopped();

        if (thrownValue !== null && typeof thrownValue === 'object' && typeof thrownValue.then === 'function') {
          var wakeable = thrownValue;
          markComponentSuspended(erroredWork, wakeable, workInProgressRootRenderLanes);
        } else {
          markComponentErrored(erroredWork, thrownValue, workInProgressRootRenderLanes);
        }
      }

      throwException(root, erroredWork.return, erroredWork, thrownValue, workInProgressRootRenderLanes);
      completeUnitOfWork(erroredWork);
    } catch (yetAnotherThrownValue) {
      // Something in the return path also threw.
      thrownValue = yetAnotherThrownValue;

      if (workInProgress === erroredWork && erroredWork !== null) {
        // If this boundary has already errored, then we had trouble processing
        // the error. Bubble it to the next boundary.
        erroredWork = erroredWork.return;
        workInProgress = erroredWork;
      } else {
        erroredWork = workInProgress;
      }

      continue;
    } // Return to the normal work loop.


    return;
  } while (true);
}

function pushDispatcher() {
  var prevDispatcher = ReactCurrentDispatcher$2.current;
  ReactCurrentDispatcher$2.current = ContextOnlyDispatcher;

  if (prevDispatcher === null) {
    // The React isomorphic package does not include a default dispatcher.
    // Instead the first renderer will lazily attach one, in order to give
    // nicer error messages.
    return ContextOnlyDispatcher;
  } else {
    return prevDispatcher;
  }
}

function popDispatcher(prevDispatcher) {
  ReactCurrentDispatcher$2.current = prevDispatcher;
}

function markCommitTimeOfFallback() {
  globalMostRecentFallbackTime = now();
}
function markSkippedUpdateLanes(lane) {
  workInProgressRootSkippedLanes = mergeLanes(lane, workInProgressRootSkippedLanes);
}
function renderDidSuspend() {
  if (workInProgressRootExitStatus === RootInProgress) {
    workInProgressRootExitStatus = RootSuspended;
  }
}
function renderDidSuspendDelayIfPossible() {
  if (workInProgressRootExitStatus === RootInProgress || workInProgressRootExitStatus === RootSuspended || workInProgressRootExitStatus === RootErrored) {
    workInProgressRootExitStatus = RootSuspendedWithDelay;
  } // Check if there are updates that we skipped tree that might have unblocked
  // this render.


  if (workInProgressRoot !== null && (includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes))) {
    // Mark the current render as suspended so that we switch to working on
    // the updates that were skipped. Usually we only suspend at the end of
    // the render phase.
    // TODO: We should probably always mark the root as suspended immediately
    // (inside this function), since by suspending at the end of the render
    // phase introduces a potential mistake where we suspend lanes that were
    // pinged or updated while we were rendering.
    markRootSuspended$1(workInProgressRoot, workInProgressRootRenderLanes);
  }
}
function renderDidError(error) {
  if (workInProgressRootExitStatus !== RootSuspendedWithDelay) {
    workInProgressRootExitStatus = RootErrored;
  }

  if (workInProgressRootConcurrentErrors === null) {
    workInProgressRootConcurrentErrors = [error];
  } else {
    workInProgressRootConcurrentErrors.push(error);
  }
} // Called during render to determine if anything has suspended.
// Returns false if we're not sure.

function renderHasNotSuspendedYet() {
  // If something errored or completed, we can't really be sure,
  // so those are false.
  return workInProgressRootExitStatus === RootInProgress;
}

function renderRootSync(root, lanes) {
  var prevExecutionContext = executionContext;
  executionContext |= RenderContext;
  var prevDispatcher = pushDispatcher(); // If the root or lanes have changed, throw out the existing stack
  // and prepare a fresh one. Otherwise we'll continue where we left off.

  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
    {
      if (isDevToolsPresent) {
        var memoizedUpdaters = root.memoizedUpdaters;

        if (memoizedUpdaters.size > 0) {
          restorePendingUpdaters(root, workInProgressRootRenderLanes);
          memoizedUpdaters.clear();
        } // At this point, move Fibers that scheduled the upcoming work from the Map to the Set.
        // If we bailout on this work, we'll move them back (like above).
        // It's important to move them now in case the work spawns more work at the same priority with different updaters.
        // That way we can keep the current update and future updates separate.


        movePendingFibersToMemoized(root, lanes);
      }
    }

    workInProgressTransitions = getTransitionsForLanes();
    prepareFreshStack(root, lanes);
  }

  {
    markRenderStarted(lanes);
  }

  do {
    try {
      workLoopSync();
      break;
    } catch (thrownValue) {
      handleError(root, thrownValue);
    }
  } while (true);

  resetContextDependencies();
  executionContext = prevExecutionContext;
  popDispatcher(prevDispatcher);

  if (workInProgress !== null) {
    // This is a sync render, so we should have finished the whole tree.
    throw new Error('Cannot commit an incomplete root. This error is likely caused by a ' + 'bug in React. Please file an issue.');
  }

  {
    markRenderStopped();
  } // Set this to null to indicate there's no in-progress render.


  workInProgressRoot = null;
  workInProgressRootRenderLanes = NoLanes;
  return workInProgressRootExitStatus;
} // The work loop is an extremely hot path. Tell Closure not to inline it.

/** @noinline */


function workLoopSync() {
  // Already timed out, so perform work without checking if we need to yield.
  while (workInProgress !== null) {
    performUnitOfWork(workInProgress);
  }
}

function renderRootConcurrent(root, lanes) {
  var prevExecutionContext = executionContext;
  executionContext |= RenderContext;
  var prevDispatcher = pushDispatcher(); // If the root or lanes have changed, throw out the existing stack
  // and prepare a fresh one. Otherwise we'll continue where we left off.

  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
    {
      if (isDevToolsPresent) {
        var memoizedUpdaters = root.memoizedUpdaters;

        if (memoizedUpdaters.size > 0) {
          restorePendingUpdaters(root, workInProgressRootRenderLanes);
          memoizedUpdaters.clear();
        } // At this point, move Fibers that scheduled the upcoming work from the Map to the Set.
        // If we bailout on this work, we'll move them back (like above).
        // It's important to move them now in case the work spawns more work at the same priority with different updaters.
        // That way we can keep the current update and future updates separate.


        movePendingFibersToMemoized(root, lanes);
      }
    }

    workInProgressTransitions = getTransitionsForLanes();
    resetRenderTimer();
    prepareFreshStack(root, lanes);
  }

  {
    markRenderStarted(lanes);
  }

  do {
    try {
      workLoopConcurrent();
      break;
    } catch (thrownValue) {
      handleError(root, thrownValue);
    }
  } while (true);

  resetContextDependencies();
  popDispatcher(prevDispatcher);
  executionContext = prevExecutionContext;


  if (workInProgress !== null) {
    // Still work remaining.
    {
      markRenderYielded();
    }

    return RootInProgress;
  } else {
    // Completed the tree.
    {
      markRenderStopped();
    } // Set this to null to indicate there's no in-progress render.


    workInProgressRoot = null;
    workInProgressRootRenderLanes = NoLanes; // Return the final exit status.

    return workInProgressRootExitStatus;
  }
}
/** @noinline */


function workLoopConcurrent() {
  // Perform work until Scheduler asks us to yield
  while (workInProgress !== null && !shouldYield()) {
    performUnitOfWork(workInProgress);
  }
}

function performUnitOfWork(unitOfWork) {
  // The current, flushed, state of this fiber is the alternate. Ideally
  // nothing should rely on this, but relying on it here means that we don't
  // need an additional field on the work in progress.
  var current = unitOfWork.alternate;
  setCurrentFiber(unitOfWork);
  var next;

  if ( (unitOfWork.mode & ProfileMode) !== NoMode) {
    startProfilerTimer(unitOfWork);
    next = beginWork$1(current, unitOfWork, subtreeRenderLanes);
    stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, true);
  } else {
    next = beginWork$1(current, unitOfWork, subtreeRenderLanes);
  }

  resetCurrentFiber();
  unitOfWork.memoizedProps = unitOfWork.pendingProps;

  if (next === null) {
    // If this doesn't spawn new work, complete the current work.
    completeUnitOfWork(unitOfWork);
  } else {
    workInProgress = next;
  }

  ReactCurrentOwner$2.current = null;
}

function completeUnitOfWork(unitOfWork) {
  // Attempt to complete the current unit of work, then move to the next
  // sibling. If there are no more siblings, return to the parent fiber.
  var completedWork = unitOfWork;

  do {
    // The current, flushed, state of this fiber is the alternate. Ideally
    // nothing should rely on this, but relying on it here means that we don't
    // need an additional field on the work in progress.
    var current = completedWork.alternate;
    var returnFiber = completedWork.return; // Check if the work completed or if something threw.

    if ((completedWork.flags & Incomplete) === NoFlags) {
      setCurrentFiber(completedWork);
      var next = void 0;

      if ( (completedWork.mode & ProfileMode) === NoMode) {
        next = completeWork(current, completedWork, subtreeRenderLanes);
      } else {
        startProfilerTimer(completedWork);
        next = completeWork(current, completedWork, subtreeRenderLanes); // Update render duration assuming we didn't error.

        stopProfilerTimerIfRunningAndRecordDelta(completedWork, false);
      }

      resetCurrentFiber();

      if (next !== null) {
        // Completing this fiber spawned new work. Work on that next.
        workInProgress = next;
        return;
      }
    } else {
      // This fiber did not complete because something threw. Pop values off
      // the stack without entering the complete phase. If this is a boundary,
      // capture values if possible.
      var _next = unwindWork(current, completedWork); // Because this fiber did not complete, don't reset its lanes.


      if (_next !== null) {
        // If completing this work spawned new work, do that next. We'll come
        // back here again.
        // Since we're restarting, remove anything that is not a host effect
        // from the effect tag.
        _next.flags &= HostEffectMask;
        workInProgress = _next;
        return;
      }

      if ( (completedWork.mode & ProfileMode) !== NoMode) {
        // Record the render duration for the fiber that errored.
        stopProfilerTimerIfRunningAndRecordDelta(completedWork, false); // Include the time spent working on failed children before continuing.

        var actualDuration = completedWork.actualDuration;
        var child = completedWork.child;

        while (child !== null) {
          actualDuration += child.actualDuration;
          child = child.sibling;
        }

        completedWork.actualDuration = actualDuration;
      }

      if (returnFiber !== null) {
        // Mark the parent fiber as incomplete and clear its subtree flags.
        returnFiber.flags |= Incomplete;
        returnFiber.subtreeFlags = NoFlags;
        returnFiber.deletions = null;
      } else {
        // We've unwound all the way to the root.
        workInProgressRootExitStatus = RootDidNotComplete;
        workInProgress = null;
        return;
      }
    }

    var siblingFiber = completedWork.sibling;

    if (siblingFiber !== null) {
      // If there is more work to do in this returnFiber, do that next.
      workInProgress = siblingFiber;
      return;
    } // Otherwise, return to the parent


    completedWork = returnFiber; // Update the next thing we're working on in case something throws.

    workInProgress = completedWork;
  } while (completedWork !== null); // We've reached the root.


  if (workInProgressRootExitStatus === RootInProgress) {
    workInProgressRootExitStatus = RootCompleted;
  }
}

function commitRoot(root, recoverableErrors, transitions) {
  // TODO: This no longer makes any sense. We already wrap the mutation and
  // layout phases. Should be able to remove.
  var previousUpdateLanePriority = getCurrentUpdatePriority();
  var prevTransition = ReactCurrentBatchConfig$3.transition;

  try {
    ReactCurrentBatchConfig$3.transition = null;
    setCurrentUpdatePriority(DiscreteEventPriority);
    commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority);
  } finally {
    ReactCurrentBatchConfig$3.transition = prevTransition;
    setCurrentUpdatePriority(previousUpdateLanePriority);
  }

  return null;
}

function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) {
  do {
    // `flushPassiveEffects` will call `flushSyncUpdateQueue` at the end, which
    // means `flushPassiveEffects` will sometimes result in additional
    // passive effects. So we need to keep flushing in a loop until there are
    // no more pending effects.
    // TODO: Might be better if `flushPassiveEffects` did not automatically
    // flush synchronous work at the end, to avoid factoring hazards like this.
    flushPassiveEffects();
  } while (rootWithPendingPassiveEffects !== null);

  flushRenderPhaseStrictModeWarningsInDEV();

  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
    throw new Error('Should not already be working.');
  }

  var finishedWork = root.finishedWork;
  var lanes = root.finishedLanes;

  {
    markCommitStarted(lanes);
  }

  if (finishedWork === null) {

    {
      markCommitStopped();
    }

    return null;
  } else {
    {
      if (lanes === NoLanes) {
        error('root.finishedLanes should not be empty during a commit. This is a ' + 'bug in React.');
      }
    }
  }

  root.finishedWork = null;
  root.finishedLanes = NoLanes;

  if (finishedWork === root.current) {
    throw new Error('Cannot commit the same tree as before. This error is likely caused by ' + 'a bug in React. Please file an issue.');
  } // commitRoot never returns a continuation; it always finishes synchronously.
  // So we can clear these now to allow a new callback to be scheduled.


  root.callbackNode = null;
  root.callbackPriority = NoLane; // Update the first and last pending times on this root. The new first
  // pending time is whatever is left on the root fiber.

  var remainingLanes = mergeLanes(finishedWork.lanes, finishedWork.childLanes);
  markRootFinished(root, remainingLanes);

  if (root === workInProgressRoot) {
    // We can reset these now that they are finished.
    workInProgressRoot = null;
    workInProgress = null;
    workInProgressRootRenderLanes = NoLanes;
  } // If there are pending passive effects, schedule a callback to process them.
  // Do this as early as possible, so it is queued before anything else that
  // might get scheduled in the commit phase. (See #16714.)
  // TODO: Delete all other places that schedule the passive effect callback
  // They're redundant.


  if ((finishedWork.subtreeFlags & PassiveMask) !== NoFlags || (finishedWork.flags & PassiveMask) !== NoFlags) {
    if (!rootDoesHavePassiveEffects) {
      rootDoesHavePassiveEffects = true;
      // to store it in pendingPassiveTransitions until they get processed
      // We need to pass this through as an argument to commitRoot
      // because workInProgressTransitions might have changed between
      // the previous render and commit if we throttle the commit
      // with setTimeout

      pendingPassiveTransitions = transitions;
      scheduleCallback$1(NormalPriority, function () {
        flushPassiveEffects(); // This render triggered passive effects: release the root cache pool
        // *after* passive effects fire to avoid freeing a cache pool that may
        // be referenced by a node in the tree (HostRoot, Cache boundary etc)

        return null;
      });
    }
  } // Check if there are any effects in the whole tree.
  // TODO: This is left over from the effect list implementation, where we had
  // to check for the existence of `firstEffect` to satisfy Flow. I think the
  // only other reason this optimization exists is because it affects profiling.
  // Reconsider whether this is necessary.


  var subtreeHasEffects = (finishedWork.subtreeFlags & (BeforeMutationMask | MutationMask | LayoutMask | PassiveMask)) !== NoFlags;
  var rootHasEffect = (finishedWork.flags & (BeforeMutationMask | MutationMask | LayoutMask | PassiveMask)) !== NoFlags;

  if (subtreeHasEffects || rootHasEffect) {
    var prevTransition = ReactCurrentBatchConfig$3.transition;
    ReactCurrentBatchConfig$3.transition = null;
    var previousPriority = getCurrentUpdatePriority();
    setCurrentUpdatePriority(DiscreteEventPriority);
    var prevExecutionContext = executionContext;
    executionContext |= CommitContext; // Reset this to null before calling lifecycles

    ReactCurrentOwner$2.current = null; // The commit phase is broken into several sub-phases. We do a separate pass
    // of the effect list for each phase: all mutation effects come before all
    // layout effects, and so on.
    // The first phase a "before mutation" phase. We use this phase to read the
    // state of the host tree right before we mutate it. This is where
    // getSnapshotBeforeUpdate is called.

    var shouldFireAfterActiveInstanceBlur = commitBeforeMutationEffects(root, finishedWork);

    {
      // Mark the current commit time to be shared by all Profilers in this
      // batch. This enables them to be grouped later.
      recordCommitTime();
    }


    commitMutationEffects(root, finishedWork, lanes);

    resetAfterCommit(root.containerInfo); // The work-in-progress tree is now the current tree. This must come after
    // the mutation phase, so that the previous tree is still current during
    // componentWillUnmount, but before the layout phase, so that the finished
    // work is current during componentDidMount/Update.

    root.current = finishedWork; // The next phase is the layout phase, where we call effects that read

    {
      markLayoutEffectsStarted(lanes);
    }

    commitLayoutEffects(finishedWork, root, lanes);

    {
      markLayoutEffectsStopped();
    }
    // opportunity to paint.


    requestPaint();
    executionContext = prevExecutionContext; // Reset the priority to the previous non-sync value.

    setCurrentUpdatePriority(previousPriority);
    ReactCurrentBatchConfig$3.transition = prevTransition;
  } else {
    // No effects.
    root.current = finishedWork; // Measure these anyway so the flamegraph explicitly shows that there were
    // no effects.
    // TODO: Maybe there's a better way to report this.

    {
      recordCommitTime();
    }
  }

  var rootDidHavePassiveEffects = rootDoesHavePassiveEffects;

  if (rootDoesHavePassiveEffects) {
    // This commit has passive effects. Stash a reference to them. But don't
    // schedule a callback until after flushing layout work.
    rootDoesHavePassiveEffects = false;
    rootWithPendingPassiveEffects = root;
    pendingPassiveEffectsLanes = lanes;
  } else {

    {
      nestedPassiveUpdateCount = 0;
      rootWithPassiveNestedUpdates = null;
    }
  } // Read this again, since an effect might have updated it


  remainingLanes = root.pendingLanes; // Check if there's remaining work on this root
  // TODO: This is part of the `componentDidCatch` implementation. Its purpose
  // is to detect whether something might have called setState inside
  // `componentDidCatch`. The mechanism is known to be flawed because `setState`
  // inside `componentDidCatch` is itself flawed — that's why we recommend
  // `getDerivedStateFromError` instead. However, it could be improved by
  // checking if remainingLanes includes Sync work, instead of whether there's
  // any work remaining at all (which would also include stuff like Suspense
  // retries or transitions). It's been like this for a while, though, so fixing
  // it probably isn't that urgent.

  if (remainingLanes === NoLanes) {
    // If there's no remaining work, we can clear the set of already failed
    // error boundaries.
    legacyErrorBoundariesThatAlreadyFailed = null;
  }

  {
    if (!rootDidHavePassiveEffects) {
      commitDoubleInvokeEffectsInDEV(root.current, false);
    }
  }

  onCommitRoot(finishedWork.stateNode, renderPriorityLevel);

  {
    if (isDevToolsPresent) {
      root.memoizedUpdaters.clear();
    }
  }

  {
    onCommitRoot$1();
  } // Always call this before exiting `commitRoot`, to ensure that any
  // additional work on this root is scheduled.


  ensureRootIsScheduled(root, now());

  if (recoverableErrors !== null) {
    // There were errors during this render, but recovered from them without
    // needing to surface it to the UI. We log them here.
    var onRecoverableError = root.onRecoverableError;

    for (var i = 0; i < recoverableErrors.length; i++) {
      var recoverableError = recoverableErrors[i];
      var componentStack = recoverableError.stack;
      var digest = recoverableError.digest;
      onRecoverableError(recoverableError.value, {
        componentStack: componentStack,
        digest: digest
      });
    }
  }

  if (hasUncaughtError) {
    hasUncaughtError = false;
    var error$1 = firstUncaughtError;
    firstUncaughtError = null;
    throw error$1;
  } // If the passive effects are the result of a discrete render, flush them
  // synchronously at the end of the current task so that the result is
  // immediately observable. Otherwise, we assume that they are not
  // order-dependent and do not need to be observed by external systems, so we
  // can wait until after paint.
  // TODO: We can optimize this by not scheduling the callback earlier. Since we
  // currently schedule the callback in multiple places, will wait until those
  // are consolidated.


  if (includesSomeLane(pendingPassiveEffectsLanes, SyncLane) && root.tag !== LegacyRoot) {
    flushPassiveEffects();
  } // Read this again, since a passive effect might have updated it


  remainingLanes = root.pendingLanes;

  if (includesSomeLane(remainingLanes, SyncLane)) {
    {
      markNestedUpdateScheduled();
    } // Count the number of times the root synchronously re-renders without
    // finishing. If there are too many, it indicates an infinite update loop.


    if (root === rootWithNestedUpdates) {
      nestedUpdateCount++;
    } else {
      nestedUpdateCount = 0;
      rootWithNestedUpdates = root;
    }
  } else {
    nestedUpdateCount = 0;
  } // If layout work was scheduled, flush it now.


  flushSyncCallbacks();

  {
    markCommitStopped();
  }

  return null;
}

function flushPassiveEffects() {
  // Returns whether passive effects were flushed.
  // TODO: Combine this check with the one in flushPassiveEFfectsImpl. We should
  // probably just combine the two functions. I believe they were only separate
  // in the first place because we used to wrap it with
  // `Scheduler.runWithPriority`, which accepts a function. But now we track the
  // priority within React itself, so we can mutate the variable directly.
  if (rootWithPendingPassiveEffects !== null) {
    var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes);
    var priority = lowerEventPriority(DefaultEventPriority, renderPriority);
    var prevTransition = ReactCurrentBatchConfig$3.transition;
    var previousPriority = getCurrentUpdatePriority();

    try {
      ReactCurrentBatchConfig$3.transition = null;
      setCurrentUpdatePriority(priority);
      return flushPassiveEffectsImpl();
    } finally {
      setCurrentUpdatePriority(previousPriority);
      ReactCurrentBatchConfig$3.transition = prevTransition; // Once passive effects have run for the tree - giving components a
    }
  }

  return false;
}
function enqueuePendingPassiveProfilerEffect(fiber) {
  {
    pendingPassiveProfilerEffects.push(fiber);

    if (!rootDoesHavePassiveEffects) {
      rootDoesHavePassiveEffects = true;
      scheduleCallback$1(NormalPriority, function () {
        flushPassiveEffects();
        return null;
      });
    }
  }
}

function flushPassiveEffectsImpl() {
  if (rootWithPendingPassiveEffects === null) {
    return false;
  } // Cache and clear the transitions flag


  var transitions = pendingPassiveTransitions;
  pendingPassiveTransitions = null;
  var root = rootWithPendingPassiveEffects;
  var lanes = pendingPassiveEffectsLanes;
  rootWithPendingPassiveEffects = null; // TODO: This is sometimes out of sync with rootWithPendingPassiveEffects.
  // Figure out why and fix it. It's not causing any known issues (probably
  // because it's only used for profiling), but it's a refactor hazard.

  pendingPassiveEffectsLanes = NoLanes;

  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) {
    throw new Error('Cannot flush passive effects while already rendering.');
  }

  {
    isFlushingPassiveEffects = true;
    didScheduleUpdateDuringPassiveEffects = false;
  }

  {
    markPassiveEffectsStarted(lanes);
  }

  var prevExecutionContext = executionContext;
  executionContext |= CommitContext;
  commitPassiveUnmountEffects(root.current);
  commitPassiveMountEffects(root, root.current, lanes, transitions); // TODO: Move to commitPassiveMountEffects

  {
    var profilerEffects = pendingPassiveProfilerEffects;
    pendingPassiveProfilerEffects = [];

    for (var i = 0; i < profilerEffects.length; i++) {
      var _fiber = profilerEffects[i];
      commitPassiveEffectDurations(root, _fiber);
    }
  }

  {
    markPassiveEffectsStopped();
  }

  {
    commitDoubleInvokeEffectsInDEV(root.current, true);
  }

  executionContext = prevExecutionContext;
  flushSyncCallbacks();

  {
    // If additional passive effects were scheduled, increment a counter. If this
    // exceeds the limit, we'll fire a warning.
    if (didScheduleUpdateDuringPassiveEffects) {
      if (root === rootWithPassiveNestedUpdates) {
        nestedPassiveUpdateCount++;
      } else {
        nestedPassiveUpdateCount = 0;
        rootWithPassiveNestedUpdates = root;
      }
    } else {
      nestedPassiveUpdateCount = 0;
    }

    isFlushingPassiveEffects = false;
    didScheduleUpdateDuringPassiveEffects = false;
  } // TODO: Move to commitPassiveMountEffects


  onPostCommitRoot(root);

  {
    var stateNode = root.current.stateNode;
    stateNode.effectDuration = 0;
    stateNode.passiveEffectDuration = 0;
  }

  return true;
}

function isAlreadyFailedLegacyErrorBoundary(instance) {
  return legacyErrorBoundariesThatAlreadyFailed !== null && legacyErrorBoundariesThatAlreadyFailed.has(instance);
}
function markLegacyErrorBoundaryAsFailed(instance) {
  if (legacyErrorBoundariesThatAlreadyFailed === null) {
    legacyErrorBoundariesThatAlreadyFailed = new Set([instance]);
  } else {
    legacyErrorBoundariesThatAlreadyFailed.add(instance);
  }
}

function prepareToThrowUncaughtError(error) {
  if (!hasUncaughtError) {
    hasUncaughtError = true;
    firstUncaughtError = error;
  }
}

var onUncaughtError = prepareToThrowUncaughtError;

function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
  var errorInfo = createCapturedValueAtFiber(error, sourceFiber);
  var update = createRootErrorUpdate(rootFiber, errorInfo, SyncLane);
  var root = enqueueUpdate(rootFiber, update, SyncLane);
  var eventTime = requestEventTime();

  if (root !== null) {
    markRootUpdated(root, SyncLane, eventTime);
    ensureRootIsScheduled(root, eventTime);
  }
}

function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error$1) {
  {
    reportUncaughtErrorInDEV(error$1);
    setIsRunningInsertionEffect(false);
  }

  if (sourceFiber.tag === HostRoot) {
    // Error was thrown at the root. There is no parent, so the root
    // itself should capture it.
    captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error$1);
    return;
  }

  var fiber = null;

  {
    fiber = nearestMountedAncestor;
  }

  while (fiber !== null) {
    if (fiber.tag === HostRoot) {
      captureCommitPhaseErrorOnRoot(fiber, sourceFiber, error$1);
      return;
    } else if (fiber.tag === ClassComponent) {
      var ctor = fiber.type;
      var instance = fiber.stateNode;

      if (typeof ctor.getDerivedStateFromError === 'function' || typeof instance.componentDidCatch === 'function' && !isAlreadyFailedLegacyErrorBoundary(instance)) {
        var errorInfo = createCapturedValueAtFiber(error$1, sourceFiber);
        var update = createClassErrorUpdate(fiber, errorInfo, SyncLane);
        var root = enqueueUpdate(fiber, update, SyncLane);
        var eventTime = requestEventTime();

        if (root !== null) {
          markRootUpdated(root, SyncLane, eventTime);
          ensureRootIsScheduled(root, eventTime);
        }

        return;
      }
    }

    fiber = fiber.return;
  }

  {
    // TODO: Until we re-land skipUnmountedBoundaries (see #20147), this warning
    // will fire for errors that are thrown by destroy functions inside deleted
    // trees. What it should instead do is propagate the error to the parent of
    // the deleted tree. In the meantime, do not add this warning to the
    // allowlist; this is only for our internal use.
    error('Internal React error: Attempted to capture a commit phase error ' + 'inside a detached tree. This indicates a bug in React. Likely ' + 'causes include deleting the same fiber more than once, committing an ' + 'already-finished tree, or an inconsistent return pointer.\n\n' + 'Error message:\n\n%s', error$1);
  }
}
function pingSuspendedRoot(root, wakeable, pingedLanes) {
  var pingCache = root.pingCache;

  if (pingCache !== null) {
    // The wakeable resolved, so we no longer need to memoize, because it will
    // never be thrown again.
    pingCache.delete(wakeable);
  }

  var eventTime = requestEventTime();
  markRootPinged(root, pingedLanes);
  warnIfSuspenseResolutionNotWrappedWithActDEV(root);

  if (workInProgressRoot === root && isSubsetOfLanes(workInProgressRootRenderLanes, pingedLanes)) {
    // Received a ping at the same priority level at which we're currently
    // rendering. We might want to restart this render. This should mirror
    // the logic of whether or not a root suspends once it completes.
    // TODO: If we're rendering sync either due to Sync, Batched or expired,
    // we should probably never restart.
    // If we're suspended with delay, or if it's a retry, we'll always suspend
    // so we can always restart.
    if (workInProgressRootExitStatus === RootSuspendedWithDelay || workInProgressRootExitStatus === RootSuspended && includesOnlyRetries(workInProgressRootRenderLanes) && now() - globalMostRecentFallbackTime < FALLBACK_THROTTLE_MS) {
      // Restart from the root.
      prepareFreshStack(root, NoLanes);
    } else {
      // Even though we can't restart right now, we might get an
      // opportunity later. So we mark this render as having a ping.
      workInProgressRootPingedLanes = mergeLanes(workInProgressRootPingedLanes, pingedLanes);
    }
  }

  ensureRootIsScheduled(root, eventTime);
}

function retryTimedOutBoundary(boundaryFiber, retryLane) {
  // The boundary fiber (a Suspense component or SuspenseList component)
  // previously was rendered in its fallback state. One of the promises that
  // suspended it has resolved, which means at least part of the tree was
  // likely unblocked. Try rendering again, at a new lanes.
  if (retryLane === NoLane) {
    // TODO: Assign this to `suspenseState.retryLane`? to avoid
    // unnecessary entanglement?
    retryLane = requestRetryLane(boundaryFiber);
  } // TODO: Special case idle priority?


  var eventTime = requestEventTime();
  var root = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);

  if (root !== null) {
    markRootUpdated(root, retryLane, eventTime);
    ensureRootIsScheduled(root, eventTime);
  }
}

function retryDehydratedSuspenseBoundary(boundaryFiber) {
  var suspenseState = boundaryFiber.memoizedState;
  var retryLane = NoLane;

  if (suspenseState !== null) {
    retryLane = suspenseState.retryLane;
  }

  retryTimedOutBoundary(boundaryFiber, retryLane);
}
function resolveRetryWakeable(boundaryFiber, wakeable) {
  var retryLane = NoLane; // Default

  var retryCache;

  switch (boundaryFiber.tag) {
    case SuspenseComponent:
      retryCache = boundaryFiber.stateNode;
      var suspenseState = boundaryFiber.memoizedState;

      if (suspenseState !== null) {
        retryLane = suspenseState.retryLane;
      }

      break;

    case SuspenseListComponent:
      retryCache = boundaryFiber.stateNode;
      break;

    default:
      throw new Error('Pinged unknown suspense boundary type. ' + 'This is probably a bug in React.');
  }

  if (retryCache !== null) {
    // The wakeable resolved, so we no longer need to memoize, because it will
    // never be thrown again.
    retryCache.delete(wakeable);
  }

  retryTimedOutBoundary(boundaryFiber, retryLane);
} // Computes the next Just Noticeable Difference (JND) boundary.
// The theory is that a person can't tell the difference between small differences in time.
// Therefore, if we wait a bit longer than necessary that won't translate to a noticeable
// difference in the experience. However, waiting for longer might mean that we can avoid
// showing an intermediate loading state. The longer we have already waited, the harder it
// is to tell small differences in time. Therefore, the longer we've already waited,
// the longer we can wait additionally. At some point we have to give up though.
// We pick a train model where the next boundary commits at a consistent schedule.
// These particular numbers are vague estimates. We expect to adjust them based on research.

function jnd(timeElapsed) {
  return timeElapsed < 120 ? 120 : timeElapsed < 480 ? 480 : timeElapsed < 1080 ? 1080 : timeElapsed < 1920 ? 1920 : timeElapsed < 3000 ? 3000 : timeElapsed < 4320 ? 4320 : ceil(timeElapsed / 1960) * 1960;
}

function checkForNestedUpdates() {
  if (nestedUpdateCount > NESTED_UPDATE_LIMIT) {
    nestedUpdateCount = 0;
    rootWithNestedUpdates = null;
    throw new Error('Maximum update depth exceeded. This can happen when a component ' + 'repeatedly calls setState inside componentWillUpdate or ' + 'componentDidUpdate. React limits the number of nested updates to ' + 'prevent infinite loops.');
  }

  {
    if (nestedPassiveUpdateCount > NESTED_PASSIVE_UPDATE_LIMIT) {
      nestedPassiveUpdateCount = 0;
      rootWithPassiveNestedUpdates = null;

      error('Maximum update depth exceeded. This can happen when a component ' + "calls setState inside useEffect, but useEffect either doesn't " + 'have a dependency array, or one of the dependencies changes on ' + 'every render.');
    }
  }
}

function flushRenderPhaseStrictModeWarningsInDEV() {
  {
    ReactStrictModeWarnings.flushLegacyContextWarning();

    {
      ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
    }
  }
}

function commitDoubleInvokeEffectsInDEV(fiber, hasPassiveEffects) {
  {
    // TODO (StrictEffects) Should we set a marker on the root if it contains strict effects
    // so we don't traverse unnecessarily? similar to subtreeFlags but just at the root level.
    // Maybe not a big deal since this is DEV only behavior.
    setCurrentFiber(fiber);
    invokeEffectsInDev(fiber, MountLayoutDev, invokeLayoutEffectUnmountInDEV);

    if (hasPassiveEffects) {
      invokeEffectsInDev(fiber, MountPassiveDev, invokePassiveEffectUnmountInDEV);
    }

    invokeEffectsInDev(fiber, MountLayoutDev, invokeLayoutEffectMountInDEV);

    if (hasPassiveEffects) {
      invokeEffectsInDev(fiber, MountPassiveDev, invokePassiveEffectMountInDEV);
    }

    resetCurrentFiber();
  }
}

function invokeEffectsInDev(firstChild, fiberFlags, invokeEffectFn) {
  {
    // We don't need to re-check StrictEffectsMode here.
    // This function is only called if that check has already passed.
    var current = firstChild;
    var subtreeRoot = null;

    while (current !== null) {
      var primarySubtreeFlag = current.subtreeFlags & fiberFlags;

      if (current !== subtreeRoot && current.child !== null && primarySubtreeFlag !== NoFlags) {
        current = current.child;
      } else {
        if ((current.flags & fiberFlags) !== NoFlags) {
          invokeEffectFn(current);
        }

        if (current.sibling !== null) {
          current = current.sibling;
        } else {
          current = subtreeRoot = current.return;
        }
      }
    }
  }
}

var didWarnStateUpdateForNotYetMountedComponent = null;
function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {
  {
    if ((executionContext & RenderContext) !== NoContext) {
      // We let the other warning about render phase updates deal with this one.
      return;
    }

    if (!(fiber.mode & ConcurrentMode)) {
      return;
    }

    var tag = fiber.tag;

    if (tag !== IndeterminateComponent && tag !== HostRoot && tag !== ClassComponent && tag !== FunctionComponent && tag !== ForwardRef && tag !== MemoComponent && tag !== SimpleMemoComponent) {
      // Only warn for user-defined components, not internal ones like Suspense.
      return;
    } // We show the whole stack but dedupe on the top component's name because
    // the problematic code almost always lies inside that component.


    var componentName = getComponentNameFromFiber(fiber) || 'ReactComponent';

    if (didWarnStateUpdateForNotYetMountedComponent !== null) {
      if (didWarnStateUpdateForNotYetMountedComponent.has(componentName)) {
        return;
      }

      didWarnStateUpdateForNotYetMountedComponent.add(componentName);
    } else {
      didWarnStateUpdateForNotYetMountedComponent = new Set([componentName]);
    }

    var previousFiber = current;

    try {
      setCurrentFiber(fiber);

      error("Can't perform a React state update on a component that hasn't mounted yet. " + 'This indicates that you have a side-effect in your render function that ' + 'asynchronously later calls tries to update the component. Move this work to ' + 'useEffect instead.');
    } finally {
      if (previousFiber) {
        setCurrentFiber(fiber);
      } else {
        resetCurrentFiber();
      }
    }
  }
}
var beginWork$1;

{
  var dummyFiber = null;

  beginWork$1 = function (current, unitOfWork, lanes) {
    // If a component throws an error, we replay it again in a synchronously
    // dispatched event, so that the debugger will treat it as an uncaught
    // error See ReactErrorUtils for more information.
    // Before entering the begin phase, copy the work-in-progress onto a dummy
    // fiber. If beginWork throws, we'll use this to reset the state.
    var originalWorkInProgressCopy = assignFiberPropertiesInDEV(dummyFiber, unitOfWork);

    try {
      return beginWork(current, unitOfWork, lanes);
    } catch (originalError) {
      if (didSuspendOrErrorWhileHydratingDEV() || originalError !== null && typeof originalError === 'object' && typeof originalError.then === 'function') {
        // Don't replay promises.
        // Don't replay errors if we are hydrating and have already suspended or handled an error
        throw originalError;
      } // Keep this code in sync with handleError; any changes here must have
      // corresponding changes there.


      resetContextDependencies();
      resetHooksAfterThrow(); // Don't reset current debug fiber, since we're about to work on the
      // same fiber again.
      // Unwind the failed stack frame

      unwindInterruptedWork(current, unitOfWork); // Restore the original properties of the fiber.

      assignFiberPropertiesInDEV(unitOfWork, originalWorkInProgressCopy);

      if ( unitOfWork.mode & ProfileMode) {
        // Reset the profiler timer.
        startProfilerTimer(unitOfWork);
      } // Run beginWork again.


      invokeGuardedCallback(null, beginWork, null, current, unitOfWork, lanes);

      if (hasCaughtError()) {
        var replayError = clearCaughtError();

        if (typeof replayError === 'object' && replayError !== null && replayError._suppressLogging && typeof originalError === 'object' && originalError !== null && !originalError._suppressLogging) {
          // If suppressed, let the flag carry over to the original error which is the one we'll rethrow.
          originalError._suppressLogging = true;
        }
      } // We always throw the original error in case the second render pass is not idempotent.
      // This can happen if a memoized function or CommonJS module doesn't throw after first invocation.


      throw originalError;
    }
  };
}

var didWarnAboutUpdateInRender = false;
var didWarnAboutUpdateInRenderForAnotherComponent;

{
  didWarnAboutUpdateInRenderForAnotherComponent = new Set();
}

function warnAboutRenderPhaseUpdatesInDEV(fiber) {
  {
    if (isRendering && !getIsUpdatingOpaqueValueInRenderPhaseInDEV()) {
      switch (fiber.tag) {
        case FunctionComponent:
        case ForwardRef:
        case SimpleMemoComponent:
          {
            var renderingComponentName = workInProgress && getComponentNameFromFiber(workInProgress) || 'Unknown'; // Dedupe by the rendering component because it's the one that needs to be fixed.

            var dedupeKey = renderingComponentName;

            if (!didWarnAboutUpdateInRenderForAnotherComponent.has(dedupeKey)) {
              didWarnAboutUpdateInRenderForAnotherComponent.add(dedupeKey);
              var setStateComponentName = getComponentNameFromFiber(fiber) || 'Unknown';

              error('Cannot update a component (`%s`) while rendering a ' + 'different component (`%s`). To locate the bad setState() call inside `%s`, ' + 'follow the stack trace as described in https://reactjs.org/link/setstate-in-render', setStateComponentName, renderingComponentName, renderingComponentName);
            }

            break;
          }

        case ClassComponent:
          {
            if (!didWarnAboutUpdateInRender) {
              error('Cannot update during an existing state transition (such as ' + 'within `render`). Render methods should be a pure ' + 'function of props and state.');

              didWarnAboutUpdateInRender = true;
            }

            break;
          }
      }
    }
  }
}

function restorePendingUpdaters(root, lanes) {
  {
    if (isDevToolsPresent) {
      var memoizedUpdaters = root.memoizedUpdaters;
      memoizedUpdaters.forEach(function (schedulingFiber) {
        addFiberToLanesMap(root, schedulingFiber, lanes);
      }); // This function intentionally does not clear memoized updaters.
      // Those may still be relevant to the current commit
      // and a future one (e.g. Suspense).
    }
  }
}
var fakeActCallbackNode = {};

function scheduleCallback$1(priorityLevel, callback) {
  {
    // If we're currently inside an `act` scope, bypass Scheduler and push to
    // the `act` queue instead.
    var actQueue = ReactCurrentActQueue$1.current;

    if (actQueue !== null) {
      actQueue.push(callback);
      return fakeActCallbackNode;
    } else {
      return scheduleCallback(priorityLevel, callback);
    }
  }
}

function cancelCallback$1(callbackNode) {
  if ( callbackNode === fakeActCallbackNode) {
    return;
  } // In production, always call Scheduler. This function will be stripped out.


  return cancelCallback(callbackNode);
}

function shouldForceFlushFallbacksInDEV() {
  // Never force flush in production. This function should get stripped out.
  return  ReactCurrentActQueue$1.current !== null;
}

function warnIfUpdatesNotWrappedWithActDEV(fiber) {
  {
    if (fiber.mode & ConcurrentMode) {
      if (!isConcurrentActEnvironment()) {
        // Not in an act environment. No need to warn.
        return;
      }
    } else {
      // Legacy mode has additional cases where we suppress a warning.
      if (!isLegacyActEnvironment()) {
        // Not in an act environment. No need to warn.
        return;
      }

      if (executionContext !== NoContext) {
        // Legacy mode doesn't warn if the update is batched, i.e.
        // batchedUpdates or flushSync.
        return;
      }

      if (fiber.tag !== FunctionComponent && fiber.tag !== ForwardRef && fiber.tag !== SimpleMemoComponent) {
        // For backwards compatibility with pre-hooks code, legacy mode only
        // warns for updates that originate from a hook.
        return;
      }
    }

    if (ReactCurrentActQueue$1.current === null) {
      var previousFiber = current;

      try {
        setCurrentFiber(fiber);

        error('An update to %s inside a test was not wrapped in act(...).\n\n' + 'When testing, code that causes React state updates should be ' + 'wrapped into act(...):\n\n' + 'act(() => {\n' + '  /* fire events that update state */\n' + '});\n' + '/* assert on the output */\n\n' + "This ensures that you're testing the behavior the user would see " + 'in the browser.' + ' Learn more at https://reactjs.org/link/wrap-tests-with-act', getComponentNameFromFiber(fiber));
      } finally {
        if (previousFiber) {
          setCurrentFiber(fiber);
        } else {
          resetCurrentFiber();
        }
      }
    }
  }
}

function warnIfSuspenseResolutionNotWrappedWithActDEV(root) {
  {
    if (root.tag !== LegacyRoot && isConcurrentActEnvironment() && ReactCurrentActQueue$1.current === null) {
      error('A suspended resource finished loading inside a test, but the event ' + 'was not wrapped in act(...).\n\n' + 'When testing, code that resolves suspended data should be wrapped ' + 'into act(...):\n\n' + 'act(() => {\n' + '  /* finish loading suspended data */\n' + '});\n' + '/* assert on the output */\n\n' + "This ensures that you're testing the behavior the user would see " + 'in the browser.' + ' Learn more at https://reactjs.org/link/wrap-tests-with-act');
    }
  }
}

function setIsRunningInsertionEffect(isRunning) {
  {
    isRunningInsertionEffect = isRunning;
  }
}

/* eslint-disable react-internal/prod-error-codes */
var resolveFamily = null; // $FlowFixMe Flow gets confused by a WeakSet feature check below.

var failedBoundaries = null;
var setRefreshHandler = function (handler) {
  {
    resolveFamily = handler;
  }
};
function resolveFunctionForHotReloading(type) {
  {
    if (resolveFamily === null) {
      // Hot reloading is disabled.
      return type;
    }

    var family = resolveFamily(type);

    if (family === undefined) {
      return type;
    } // Use the latest known implementation.


    return family.current;
  }
}
function resolveClassForHotReloading(type) {
  // No implementation differences.
  return resolveFunctionForHotReloading(type);
}
function resolveForwardRefForHotReloading(type) {
  {
    if (resolveFamily === null) {
      // Hot reloading is disabled.
      return type;
    }

    var family = resolveFamily(type);

    if (family === undefined) {
      // Check if we're dealing with a real forwardRef. Don't want to crash early.
      if (type !== null && type !== undefined && typeof type.render === 'function') {
        // ForwardRef is special because its resolved .type is an object,
        // but it's possible that we only have its inner render function in the map.
        // If that inner render function is different, we'll build a new forwardRef type.
        var currentRender = resolveFunctionForHotReloading(type.render);

        if (type.render !== currentRender) {
          var syntheticType = {
            $$typeof: REACT_FORWARD_REF_TYPE,
            render: currentRender
          };

          if (type.displayName !== undefined) {
            syntheticType.displayName = type.displayName;
          }

          return syntheticType;
        }
      }

      return type;
    } // Use the latest known implementation.


    return family.current;
  }
}
function isCompatibleFamilyForHotReloading(fiber, element) {
  {
    if (resolveFamily === null) {
      // Hot reloading is disabled.
      return false;
    }

    var prevType = fiber.elementType;
    var nextType = element.type; // If we got here, we know types aren't === equal.

    var needsCompareFamilies = false;
    var $$typeofNextType = typeof nextType === 'object' && nextType !== null ? nextType.$$typeof : null;

    switch (fiber.tag) {
      case ClassComponent:
        {
          if (typeof nextType === 'function') {
            needsCompareFamilies = true;
          }

          break;
        }

      case FunctionComponent:
        {
          if (typeof nextType === 'function') {
            needsCompareFamilies = true;
          } else if ($$typeofNextType === REACT_LAZY_TYPE) {
            // We don't know the inner type yet.
            // We're going to assume that the lazy inner type is stable,
            // and so it is sufficient to avoid reconciling it away.
            // We're not going to unwrap or actually use the new lazy type.
            needsCompareFamilies = true;
          }

          break;
        }

      case ForwardRef:
        {
          if ($$typeofNextType === REACT_FORWARD_REF_TYPE) {
            needsCompareFamilies = true;
          } else if ($$typeofNextType === REACT_LAZY_TYPE) {
            needsCompareFamilies = true;
          }

          break;
        }

      case MemoComponent:
      case SimpleMemoComponent:
        {
          if ($$typeofNextType === REACT_MEMO_TYPE) {
            // TODO: if it was but can no longer be simple,
            // we shouldn't set this.
            needsCompareFamilies = true;
          } else if ($$typeofNextType === REACT_LAZY_TYPE) {
            needsCompareFamilies = true;
          }

          break;
        }

      default:
        return false;
    } // Check if both types have a family and it's the same one.


    if (needsCompareFamilies) {
      // Note: memo() and forwardRef() we'll compare outer rather than inner type.
      // This means both of them need to be registered to preserve state.
      // If we unwrapped and compared the inner types for wrappers instead,
      // then we would risk falsely saying two separate memo(Foo)
      // calls are equivalent because they wrap the same Foo function.
      var prevFamily = resolveFamily(prevType);

      if (prevFamily !== undefined && prevFamily === resolveFamily(nextType)) {
        return true;
      }
    }

    return false;
  }
}
function markFailedErrorBoundaryForHotReloading(fiber) {
  {
    if (resolveFamily === null) {
      // Hot reloading is disabled.
      return;
    }

    if (typeof WeakSet !== 'function') {
      return;
    }

    if (failedBoundaries === null) {
      failedBoundaries = new WeakSet();
    }

    failedBoundaries.add(fiber);
  }
}
var scheduleRefresh = function (root, update) {
  {
    if (resolveFamily === null) {
      // Hot reloading is disabled.
      return;
    }

    var staleFamilies = update.staleFamilies,
        updatedFamilies = update.updatedFamilies;
    flushPassiveEffects();
    flushSync(function () {
      scheduleFibersWithFamiliesRecursively(root.current, updatedFamilies, staleFamilies);
    });
  }
};
var scheduleRoot = function (root, element) {
  {
    if (root.context !== emptyContextObject) {
      // Super edge case: root has a legacy _renderSubtree context
      // but we don't know the parentComponent so we can't pass it.
      // Just ignore. We'll delete this with _renderSubtree code path later.
      return;
    }

    flushPassiveEffects();
    flushSync(function () {
      updateContainer(element, root, null, null);
    });
  }
};

function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {
  {
    var alternate = fiber.alternate,
        child = fiber.child,
        sibling = fiber.sibling,
        tag = fiber.tag,
        type = fiber.type;
    var candidateType = null;

    switch (tag) {
      case FunctionComponent:
      case SimpleMemoComponent:
      case ClassComponent:
        candidateType = type;
        break;

      case ForwardRef:
        candidateType = type.render;
        break;
    }

    if (resolveFamily === null) {
      throw new Error('Expected resolveFamily to be set during hot reload.');
    }

    var needsRender = false;
    var needsRemount = false;

    if (candidateType !== null) {
      var family = resolveFamily(candidateType);

      if (family !== undefined) {
        if (staleFamilies.has(family)) {
          needsRemount = true;
        } else if (updatedFamilies.has(family)) {
          if (tag === ClassComponent) {
            needsRemount = true;
          } else {
            needsRender = true;
          }
        }
      }
    }

    if (failedBoundaries !== null) {
      if (failedBoundaries.has(fiber) || alternate !== null && failedBoundaries.has(alternate)) {
        needsRemount = true;
      }
    }

    if (needsRemount) {
      fiber._debugNeedsRemount = true;
    }

    if (needsRemount || needsRender) {
      var _root = enqueueConcurrentRenderForLane(fiber, SyncLane);

      if (_root !== null) {
        scheduleUpdateOnFiber(_root, fiber, SyncLane, NoTimestamp);
      }
    }

    if (child !== null && !needsRemount) {
      scheduleFibersWithFamiliesRecursively(child, updatedFamilies, staleFamilies);
    }

    if (sibling !== null) {
      scheduleFibersWithFamiliesRecursively(sibling, updatedFamilies, staleFamilies);
    }
  }
}

var findHostInstancesForRefresh = function (root, families) {
  {
    var hostInstances = new Set();
    var types = new Set(families.map(function (family) {
      return family.current;
    }));
    findHostInstancesForMatchingFibersRecursively(root.current, types, hostInstances);
    return hostInstances;
  }
};

function findHostInstancesForMatchingFibersRecursively(fiber, types, hostInstances) {
  {
    var child = fiber.child,
        sibling = fiber.sibling,
        tag = fiber.tag,
        type = fiber.type;
    var candidateType = null;

    switch (tag) {
      case FunctionComponent:
      case SimpleMemoComponent:
      case ClassComponent:
        candidateType = type;
        break;

      case ForwardRef:
        candidateType = type.render;
        break;
    }

    var didMatch = false;

    if (candidateType !== null) {
      if (types.has(candidateType)) {
        didMatch = true;
      }
    }

    if (didMatch) {
      // We have a match. This only drills down to the closest host components.
      // There's no need to search deeper because for the purpose of giving
      // visual feedback, "flashing" outermost parent rectangles is sufficient.
      findHostInstancesForFiberShallowly(fiber, hostInstances);
    } else {
      // If there's no match, maybe there will be one further down in the child tree.
      if (child !== null) {
        findHostInstancesForMatchingFibersRecursively(child, types, hostInstances);
      }
    }

    if (sibling !== null) {
      findHostInstancesForMatchingFibersRecursively(sibling, types, hostInstances);
    }
  }
}

function findHostInstancesForFiberShallowly(fiber, hostInstances) {
  {
    var foundHostInstances = findChildHostInstancesForFiberShallowly(fiber, hostInstances);

    if (foundHostInstances) {
      return;
    } // If we didn't find any host children, fallback to closest host parent.


    var node = fiber;

    while (true) {
      switch (node.tag) {
        case HostComponent:
          hostInstances.add(node.stateNode);
          return;

        case HostPortal:
          hostInstances.add(node.stateNode.containerInfo);
          return;

        case HostRoot:
          hostInstances.add(node.stateNode.containerInfo);
          return;
      }

      if (node.return === null) {
        throw new Error('Expected to reach root first.');
      }

      node = node.return;
    }
  }
}

function findChildHostInstancesForFiberShallowly(fiber, hostInstances) {
  {
    var node = fiber;
    var foundHostInstances = false;

    while (true) {
      if (node.tag === HostComponent) {
        // We got a match.
        foundHostInstances = true;
        hostInstances.add(node.stateNode); // There may still be more, so keep searching.
      } else if (node.child !== null) {
        node.child.return = node;
        node = node.child;
        continue;
      }

      if (node === fiber) {
        return foundHostInstances;
      }

      while (node.sibling === null) {
        if (node.return === null || node.return === fiber) {
          return foundHostInstances;
        }

        node = node.return;
      }

      node.sibling.return = node.return;
      node = node.sibling;
    }
  }

  return false;
}

var hasBadMapPolyfill;

{
  hasBadMapPolyfill = false;

  try {
    var nonExtensibleObject = Object.preventExtensions({});
    /* eslint-disable no-new */

    new Map([[nonExtensibleObject, null]]);
    new Set([nonExtensibleObject]);
    /* eslint-enable no-new */
  } catch (e) {
    // TODO: Consider warning about bad polyfills
    hasBadMapPolyfill = true;
  }
}

function FiberNode(tag, pendingProps, key, mode) {
  // Instance
  this.tag = tag;
  this.key = key;
  this.elementType = null;
  this.type = null;
  this.stateNode = null; // Fiber

  this.return = null;
  this.child = null;
  this.sibling = null;
  this.index = 0;
  this.ref = null;
  this.pendingProps = pendingProps;
  this.memoizedProps = null;
  this.updateQueue = null;
  this.memoizedState = null;
  this.dependencies = null;
  this.mode = mode; // Effects

  this.flags = NoFlags;
  this.subtreeFlags = NoFlags;
  this.deletions = null;
  this.lanes = NoLanes;
  this.childLanes = NoLanes;
  this.alternate = null;

  {
    // Note: The following is done to avoid a v8 performance cliff.
    //
    // Initializing the fields below to smis and later updating them with
    // double values will cause Fibers to end up having separate shapes.
    // This behavior/bug has something to do with Object.preventExtension().
    // Fortunately this only impacts DEV builds.
    // Unfortunately it makes React unusably slow for some applications.
    // To work around this, initialize the fields below with doubles.
    //
    // Learn more about this here:
    // https://github.com/facebook/react/issues/14365
    // https://bugs.chromium.org/p/v8/issues/detail?id=8538
    this.actualDuration = Number.NaN;
    this.actualStartTime = Number.NaN;
    this.selfBaseDuration = Number.NaN;
    this.treeBaseDuration = Number.NaN; // It's okay to replace the initial doubles with smis after initialization.
    // This won't trigger the performance cliff mentioned above,
    // and it simplifies other profiler code (including DevTools).

    this.actualDuration = 0;
    this.actualStartTime = -1;
    this.selfBaseDuration = 0;
    this.treeBaseDuration = 0;
  }

  {
    // This isn't directly used but is handy for debugging internals:
    this._debugSource = null;
    this._debugOwner = null;
    this._debugNeedsRemount = false;
    this._debugHookTypes = null;

    if (!hasBadMapPolyfill && typeof Object.preventExtensions === 'function') {
      Object.preventExtensions(this);
    }
  }
} // This is a constructor function, rather than a POJO constructor, still
// please ensure we do the following:
// 1) Nobody should add any instance methods on this. Instance methods can be
//    more difficult to predict when they get optimized and they are almost
//    never inlined properly in static compilers.
// 2) Nobody should rely on `instanceof Fiber` for type testing. We should
//    always know when it is a fiber.
// 3) We might want to experiment with using numeric keys since they are easier
//    to optimize in a non-JIT environment.
// 4) We can easily go from a constructor to a createFiber object literal if that
//    is faster.
// 5) It should be easy to port this to a C struct and keep a C implementation
//    compatible.


var createFiber = function (tag, pendingProps, key, mode) {
  // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors
  return new FiberNode(tag, pendingProps, key, mode);
};

function shouldConstruct$1(Component) {
  var prototype = Component.prototype;
  return !!(prototype && prototype.isReactComponent);
}

function isSimpleFunctionComponent(type) {
  return typeof type === 'function' && !shouldConstruct$1(type) && type.defaultProps === undefined;
}
function resolveLazyComponentTag(Component) {
  if (typeof Component === 'function') {
    return shouldConstruct$1(Component) ? ClassComponent : FunctionComponent;
  } else if (Component !== undefined && Component !== null) {
    var $$typeof = Component.$$typeof;

    if ($$typeof === REACT_FORWARD_REF_TYPE) {
      return ForwardRef;
    }

    if ($$typeof === REACT_MEMO_TYPE) {
      return MemoComponent;
    }
  }

  return IndeterminateComponent;
} // This is used to create an alternate fiber to do work on.

function createWorkInProgress(current, pendingProps) {
  var workInProgress = current.alternate;

  if (workInProgress === null) {
    // We use a double buffering pooling technique because we know that we'll
    // only ever need at most two versions of a tree. We pool the "other" unused
    // node that we're free to reuse. This is lazily created to avoid allocating
    // extra objects for things that are never updated. It also allow us to
    // reclaim the extra memory if needed.
    workInProgress = createFiber(current.tag, pendingProps, current.key, current.mode);
    workInProgress.elementType = current.elementType;
    workInProgress.type = current.type;
    workInProgress.stateNode = current.stateNode;

    {
      // DEV-only fields
      workInProgress._debugSource = current._debugSource;
      workInProgress._debugOwner = current._debugOwner;
      workInProgress._debugHookTypes = current._debugHookTypes;
    }

    workInProgress.alternate = current;
    current.alternate = workInProgress;
  } else {
    workInProgress.pendingProps = pendingProps; // Needed because Blocks store data on type.

    workInProgress.type = current.type; // We already have an alternate.
    // Reset the effect tag.

    workInProgress.flags = NoFlags; // The effects are no longer valid.

    workInProgress.subtreeFlags = NoFlags;
    workInProgress.deletions = null;

    {
      // We intentionally reset, rather than copy, actualDuration & actualStartTime.
      // This prevents time from endlessly accumulating in new commits.
      // This has the downside of resetting values for different priority renders,
      // But works for yielding (the common case) and should support resuming.
      workInProgress.actualDuration = 0;
      workInProgress.actualStartTime = -1;
    }
  } // Reset all effects except static ones.
  // Static effects are not specific to a render.


  workInProgress.flags = current.flags & StaticMask;
  workInProgress.childLanes = current.childLanes;
  workInProgress.lanes = current.lanes;
  workInProgress.child = current.child;
  workInProgress.memoizedProps = current.memoizedProps;
  workInProgress.memoizedState = current.memoizedState;
  workInProgress.updateQueue = current.updateQueue; // Clone the dependencies object. This is mutated during the render phase, so
  // it cannot be shared with the current fiber.

  var currentDependencies = current.dependencies;
  workInProgress.dependencies = currentDependencies === null ? null : {
    lanes: currentDependencies.lanes,
    firstContext: currentDependencies.firstContext
  }; // These will be overridden during the parent's reconciliation

  workInProgress.sibling = current.sibling;
  workInProgress.index = current.index;
  workInProgress.ref = current.ref;

  {
    workInProgress.selfBaseDuration = current.selfBaseDuration;
    workInProgress.treeBaseDuration = current.treeBaseDuration;
  }

  {
    workInProgress._debugNeedsRemount = current._debugNeedsRemount;

    switch (workInProgress.tag) {
      case IndeterminateComponent:
      case FunctionComponent:
      case SimpleMemoComponent:
        workInProgress.type = resolveFunctionForHotReloading(current.type);
        break;

      case ClassComponent:
        workInProgress.type = resolveClassForHotReloading(current.type);
        break;

      case ForwardRef:
        workInProgress.type = resolveForwardRefForHotReloading(current.type);
        break;
    }
  }

  return workInProgress;
} // Used to reuse a Fiber for a second pass.

function resetWorkInProgress(workInProgress, renderLanes) {
  // This resets the Fiber to what createFiber or createWorkInProgress would
  // have set the values to before during the first pass. Ideally this wouldn't
  // be necessary but unfortunately many code paths reads from the workInProgress
  // when they should be reading from current and writing to workInProgress.
  // We assume pendingProps, index, key, ref, return are still untouched to
  // avoid doing another reconciliation.
  // Reset the effect flags but keep any Placement tags, since that's something
  // that child fiber is setting, not the reconciliation.
  workInProgress.flags &= StaticMask | Placement; // The effects are no longer valid.

  var current = workInProgress.alternate;

  if (current === null) {
    // Reset to createFiber's initial values.
    workInProgress.childLanes = NoLanes;
    workInProgress.lanes = renderLanes;
    workInProgress.child = null;
    workInProgress.subtreeFlags = NoFlags;
    workInProgress.memoizedProps = null;
    workInProgress.memoizedState = null;
    workInProgress.updateQueue = null;
    workInProgress.dependencies = null;
    workInProgress.stateNode = null;

    {
      // Note: We don't reset the actualTime counts. It's useful to accumulate
      // actual time across multiple render passes.
      workInProgress.selfBaseDuration = 0;
      workInProgress.treeBaseDuration = 0;
    }
  } else {
    // Reset to the cloned values that createWorkInProgress would've.
    workInProgress.childLanes = current.childLanes;
    workInProgress.lanes = current.lanes;
    workInProgress.child = current.child;
    workInProgress.subtreeFlags = NoFlags;
    workInProgress.deletions = null;
    workInProgress.memoizedProps = current.memoizedProps;
    workInProgress.memoizedState = current.memoizedState;
    workInProgress.updateQueue = current.updateQueue; // Needed because Blocks store data on type.

    workInProgress.type = current.type; // Clone the dependencies object. This is mutated during the render phase, so
    // it cannot be shared with the current fiber.

    var currentDependencies = current.dependencies;
    workInProgress.dependencies = currentDependencies === null ? null : {
      lanes: currentDependencies.lanes,
      firstContext: currentDependencies.firstContext
    };

    {
      // Note: We don't reset the actualTime counts. It's useful to accumulate
      // actual time across multiple render passes.
      workInProgress.selfBaseDuration = current.selfBaseDuration;
      workInProgress.treeBaseDuration = current.treeBaseDuration;
    }
  }

  return workInProgress;
}
function createHostRootFiber(tag, isStrictMode, concurrentUpdatesByDefaultOverride) {
  var mode;

  if (tag === ConcurrentRoot) {
    mode = ConcurrentMode;

    if (isStrictMode === true) {
      mode |= StrictLegacyMode;

      {
        mode |= StrictEffectsMode;
      }
    }
  } else {
    mode = NoMode;
  }

  if ( isDevToolsPresent) {
    // Always collect profile timings when DevTools are present.
    // This enables DevTools to start capturing timing at any point–
    // Without some nodes in the tree having empty base times.
    mode |= ProfileMode;
  }

  return createFiber(HostRoot, null, null, mode);
}
function createFiberFromTypeAndProps(type, // React$ElementType
key, pendingProps, owner, mode, lanes) {
  var fiberTag = IndeterminateComponent; // The resolved type is set if we know what the final type will be. I.e. it's not lazy.

  var resolvedType = type;

  if (typeof type === 'function') {
    if (shouldConstruct$1(type)) {
      fiberTag = ClassComponent;

      {
        resolvedType = resolveClassForHotReloading(resolvedType);
      }
    } else {
      {
        resolvedType = resolveFunctionForHotReloading(resolvedType);
      }
    }
  } else if (typeof type === 'string') {
    fiberTag = HostComponent;
  } else {
    getTag: switch (type) {
      case REACT_FRAGMENT_TYPE:
        return createFiberFromFragment(pendingProps.children, mode, lanes, key);

      case REACT_STRICT_MODE_TYPE:
        fiberTag = Mode;
        mode |= StrictLegacyMode;

        if ( (mode & ConcurrentMode) !== NoMode) {
          // Strict effects should never run on legacy roots
          mode |= StrictEffectsMode;
        }

        break;

      case REACT_PROFILER_TYPE:
        return createFiberFromProfiler(pendingProps, mode, lanes, key);

      case REACT_SUSPENSE_TYPE:
        return createFiberFromSuspense(pendingProps, mode, lanes, key);

      case REACT_SUSPENSE_LIST_TYPE:
        return createFiberFromSuspenseList(pendingProps, mode, lanes, key);

      case REACT_OFFSCREEN_TYPE:
        return createFiberFromOffscreen(pendingProps, mode, lanes, key);

      case REACT_LEGACY_HIDDEN_TYPE:

      // eslint-disable-next-line no-fallthrough

      case REACT_SCOPE_TYPE:

      // eslint-disable-next-line no-fallthrough

      case REACT_CACHE_TYPE:

      // eslint-disable-next-line no-fallthrough

      case REACT_TRACING_MARKER_TYPE:

      // eslint-disable-next-line no-fallthrough

      case REACT_DEBUG_TRACING_MODE_TYPE:

      // eslint-disable-next-line no-fallthrough

      default:
        {
          if (typeof type === 'object' && type !== null) {
            switch (type.$$typeof) {
              case REACT_PROVIDER_TYPE:
                fiberTag = ContextProvider;
                break getTag;

              case REACT_CONTEXT_TYPE:
                // This is a consumer
                fiberTag = ContextConsumer;
                break getTag;

              case REACT_FORWARD_REF_TYPE:
                fiberTag = ForwardRef;

                {
                  resolvedType = resolveForwardRefForHotReloading(resolvedType);
                }

                break getTag;

              case REACT_MEMO_TYPE:
                fiberTag = MemoComponent;
                break getTag;

              case REACT_LAZY_TYPE:
                fiberTag = LazyComponent;
                resolvedType = null;
                break getTag;
            }
          }

          var info = '';

          {
            if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
              info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and " + 'named imports.';
            }

            var ownerName = owner ? getComponentNameFromFiber(owner) : null;

            if (ownerName) {
              info += '\n\nCheck the render method of `' + ownerName + '`.';
            }
          }

          throw new Error('Element type is invalid: expected a string (for built-in ' + 'components) or a class/function (for composite components) ' + ("but got: " + (type == null ? type : typeof type) + "." + info));
        }
    }
  }

  var fiber = createFiber(fiberTag, pendingProps, key, mode);
  fiber.elementType = type;
  fiber.type = resolvedType;
  fiber.lanes = lanes;

  {
    fiber._debugOwner = owner;
  }

  return fiber;
}
function createFiberFromElement(element, mode, lanes) {
  var owner = null;

  {
    owner = element._owner;
  }

  var type = element.type;
  var key = element.key;
  var pendingProps = element.props;
  var fiber = createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes);

  {
    fiber._debugSource = element._source;
    fiber._debugOwner = element._owner;
  }

  return fiber;
}
function createFiberFromFragment(elements, mode, lanes, key) {
  var fiber = createFiber(Fragment, elements, key, mode);
  fiber.lanes = lanes;
  return fiber;
}

function createFiberFromProfiler(pendingProps, mode, lanes, key) {
  {
    if (typeof pendingProps.id !== 'string') {
      error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof pendingProps.id);
    }
  }

  var fiber = createFiber(Profiler, pendingProps, key, mode | ProfileMode);
  fiber.elementType = REACT_PROFILER_TYPE;
  fiber.lanes = lanes;

  {
    fiber.stateNode = {
      effectDuration: 0,
      passiveEffectDuration: 0
    };
  }

  return fiber;
}

function createFiberFromSuspense(pendingProps, mode, lanes, key) {
  var fiber = createFiber(SuspenseComponent, pendingProps, key, mode);
  fiber.elementType = REACT_SUSPENSE_TYPE;
  fiber.lanes = lanes;
  return fiber;
}
function createFiberFromSuspenseList(pendingProps, mode, lanes, key) {
  var fiber = createFiber(SuspenseListComponent, pendingProps, key, mode);
  fiber.elementType = REACT_SUSPENSE_LIST_TYPE;
  fiber.lanes = lanes;
  return fiber;
}
function createFiberFromOffscreen(pendingProps, mode, lanes, key) {
  var fiber = createFiber(OffscreenComponent, pendingProps, key, mode);
  fiber.elementType = REACT_OFFSCREEN_TYPE;
  fiber.lanes = lanes;
  var primaryChildInstance = {
    isHidden: false
  };
  fiber.stateNode = primaryChildInstance;
  return fiber;
}
function createFiberFromText(content, mode, lanes) {
  var fiber = createFiber(HostText, content, null, mode);
  fiber.lanes = lanes;
  return fiber;
}
function createFiberFromHostInstanceForDeletion() {
  var fiber = createFiber(HostComponent, null, null, NoMode);
  fiber.elementType = 'DELETED';
  return fiber;
}
function createFiberFromDehydratedFragment(dehydratedNode) {
  var fiber = createFiber(DehydratedFragment, null, null, NoMode);
  fiber.stateNode = dehydratedNode;
  return fiber;
}
function createFiberFromPortal(portal, mode, lanes) {
  var pendingProps = portal.children !== null ? portal.children : [];
  var fiber = createFiber(HostPortal, pendingProps, portal.key, mode);
  fiber.lanes = lanes;
  fiber.stateNode = {
    containerInfo: portal.containerInfo,
    pendingChildren: null,
    // Used by persistent updates
    implementation: portal.implementation
  };
  return fiber;
} // Used for stashing WIP properties to replay failed work in DEV.

function assignFiberPropertiesInDEV(target, source) {
  if (target === null) {
    // This Fiber's initial properties will always be overwritten.
    // We only use a Fiber to ensure the same hidden class so DEV isn't slow.
    target = createFiber(IndeterminateComponent, null, null, NoMode);
  } // This is intentionally written as a list of all properties.
  // We tried to use Object.assign() instead but this is called in
  // the hottest path, and Object.assign() was too slow:
  // https://github.com/facebook/react/issues/12502
  // This code is DEV-only so size is not a concern.


  target.tag = source.tag;
  target.key = source.key;
  target.elementType = source.elementType;
  target.type = source.type;
  target.stateNode = source.stateNode;
  target.return = source.return;
  target.child = source.child;
  target.sibling = source.sibling;
  target.index = source.index;
  target.ref = source.ref;
  target.pendingProps = source.pendingProps;
  target.memoizedProps = source.memoizedProps;
  target.updateQueue = source.updateQueue;
  target.memoizedState = source.memoizedState;
  target.dependencies = source.dependencies;
  target.mode = source.mode;
  target.flags = source.flags;
  target.subtreeFlags = source.subtreeFlags;
  target.deletions = source.deletions;
  target.lanes = source.lanes;
  target.childLanes = source.childLanes;
  target.alternate = source.alternate;

  {
    target.actualDuration = source.actualDuration;
    target.actualStartTime = source.actualStartTime;
    target.selfBaseDuration = source.selfBaseDuration;
    target.treeBaseDuration = source.treeBaseDuration;
  }

  target._debugSource = source._debugSource;
  target._debugOwner = source._debugOwner;
  target._debugNeedsRemount = source._debugNeedsRemount;
  target._debugHookTypes = source._debugHookTypes;
  return target;
}

function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onRecoverableError) {
  this.tag = tag;
  this.containerInfo = containerInfo;
  this.pendingChildren = null;
  this.current = null;
  this.pingCache = null;
  this.finishedWork = null;
  this.timeoutHandle = noTimeout;
  this.context = null;
  this.pendingContext = null;
  this.callbackNode = null;
  this.callbackPriority = NoLane;
  this.eventTimes = createLaneMap(NoLanes);
  this.expirationTimes = createLaneMap(NoTimestamp);
  this.pendingLanes = NoLanes;
  this.suspendedLanes = NoLanes;
  this.pingedLanes = NoLanes;
  this.expiredLanes = NoLanes;
  this.mutableReadLanes = NoLanes;
  this.finishedLanes = NoLanes;
  this.entangledLanes = NoLanes;
  this.entanglements = createLaneMap(NoLanes);
  this.identifierPrefix = identifierPrefix;
  this.onRecoverableError = onRecoverableError;

  {
    this.mutableSourceEagerHydrationData = null;
  }

  {
    this.effectDuration = 0;
    this.passiveEffectDuration = 0;
  }

  {
    this.memoizedUpdaters = new Set();
    var pendingUpdatersLaneMap = this.pendingUpdatersLaneMap = [];

    for (var _i = 0; _i < TotalLanes; _i++) {
      pendingUpdatersLaneMap.push(new Set());
    }
  }

  {
    switch (tag) {
      case ConcurrentRoot:
        this._debugRootType = hydrate ? 'hydrateRoot()' : 'createRoot()';
        break;

      case LegacyRoot:
        this._debugRootType = hydrate ? 'hydrate()' : 'render()';
        break;
    }
  }
}

function createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, // TODO: We have several of these arguments that are conceptually part of the
// host config, but because they are passed in at runtime, we have to thread
// them through the root constructor. Perhaps we should put them all into a
// single type, like a DynamicHostConfig that is defined by the renderer.
identifierPrefix, onRecoverableError, transitionCallbacks) {
  var root = new FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onRecoverableError);
  // stateNode is any.


  var uninitializedFiber = createHostRootFiber(tag, isStrictMode);
  root.current = uninitializedFiber;
  uninitializedFiber.stateNode = root;

  {
    var _initialState = {
      element: initialChildren,
      isDehydrated: hydrate,
      cache: null,
      // not enabled yet
      transitions: null,
      pendingSuspenseBoundaries: null
    };
    uninitializedFiber.memoizedState = _initialState;
  }

  initializeUpdateQueue(uninitializedFiber);
  return root;
}

var ReactVersion = '18.3.1';

function createPortal(children, containerInfo, // TODO: figure out the API for cross-renderer implementation.
implementation) {
  var key = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;

  {
    checkKeyStringCoercion(key);
  }

  return {
    // This tag allow us to uniquely identify this as a React Portal
    $$typeof: REACT_PORTAL_TYPE,
    key: key == null ? null : '' + key,
    children: children,
    containerInfo: containerInfo,
    implementation: implementation
  };
}

var didWarnAboutNestedUpdates;
var didWarnAboutFindNodeInStrictMode;

{
  didWarnAboutNestedUpdates = false;
  didWarnAboutFindNodeInStrictMode = {};
}

function getContextForSubtree(parentComponent) {
  if (!parentComponent) {
    return emptyContextObject;
  }

  var fiber = get(parentComponent);
  var parentContext = findCurrentUnmaskedContext(fiber);

  if (fiber.tag === ClassComponent) {
    var Component = fiber.type;

    if (isContextProvider(Component)) {
      return processChildContext(fiber, Component, parentContext);
    }
  }

  return parentContext;
}

function findHostInstanceWithWarning(component, methodName) {
  {
    var fiber = get(component);

    if (fiber === undefined) {
      if (typeof component.render === 'function') {
        throw new Error('Unable to find node on an unmounted component.');
      } else {
        var keys = Object.keys(component).join(',');
        throw new Error("Argument appears to not be a ReactComponent. Keys: " + keys);
      }
    }

    var hostFiber = findCurrentHostFiber(fiber);

    if (hostFiber === null) {
      return null;
    }

    if (hostFiber.mode & StrictLegacyMode) {
      var componentName = getComponentNameFromFiber(fiber) || 'Component';

      if (!didWarnAboutFindNodeInStrictMode[componentName]) {
        didWarnAboutFindNodeInStrictMode[componentName] = true;
        var previousFiber = current;

        try {
          setCurrentFiber(hostFiber);

          if (fiber.mode & StrictLegacyMode) {
            error('%s is deprecated in StrictMode. ' + '%s was passed an instance of %s which is inside StrictMode. ' + 'Instead, add a ref directly to the element you want to reference. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-find-node', methodName, methodName, componentName);
          } else {
            error('%s is deprecated in StrictMode. ' + '%s was passed an instance of %s which renders StrictMode children. ' + 'Instead, add a ref directly to the element you want to reference. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-find-node', methodName, methodName, componentName);
          }
        } finally {
          // Ideally this should reset to previous but this shouldn't be called in
          // render and there's another warning for that anyway.
          if (previousFiber) {
            setCurrentFiber(previousFiber);
          } else {
            resetCurrentFiber();
          }
        }
      }
    }

    return hostFiber.stateNode;
  }
}

function createContainer(containerInfo, tag, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {
  var hydrate = false;
  var initialChildren = null;
  return createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
}
function createHydrationContainer(initialChildren, // TODO: Remove `callback` when we delete legacy mode.
callback, containerInfo, tag, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks) {
  var hydrate = true;
  var root = createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError); // TODO: Move this to FiberRoot constructor

  root.context = getContextForSubtree(null); // Schedule the initial render. In a hydration root, this is different from
  // a regular update because the initial render must match was was rendered
  // on the server.
  // NOTE: This update intentionally doesn't have a payload. We're only using
  // the update to schedule work on the root fiber (and, for legacy roots, to
  // enqueue the callback if one is provided).

  var current = root.current;
  var eventTime = requestEventTime();
  var lane = requestUpdateLane(current);
  var update = createUpdate(eventTime, lane);
  update.callback = callback !== undefined && callback !== null ? callback : null;
  enqueueUpdate(current, update, lane);
  scheduleInitialHydrationOnRoot(root, lane, eventTime);
  return root;
}
function updateContainer(element, container, parentComponent, callback) {
  {
    onScheduleRoot(container, element);
  }

  var current$1 = container.current;
  var eventTime = requestEventTime();
  var lane = requestUpdateLane(current$1);

  {
    markRenderScheduled(lane);
  }

  var context = getContextForSubtree(parentComponent);

  if (container.context === null) {
    container.context = context;
  } else {
    container.pendingContext = context;
  }

  {
    if (isRendering && current !== null && !didWarnAboutNestedUpdates) {
      didWarnAboutNestedUpdates = true;

      error('Render methods should be a pure function of props and state; ' + 'triggering nested component updates from render is not allowed. ' + 'If necessary, trigger nested updates in componentDidUpdate.\n\n' + 'Check the render method of %s.', getComponentNameFromFiber(current) || 'Unknown');
    }
  }

  var update = createUpdate(eventTime, lane); // Caution: React DevTools currently depends on this property
  // being called "element".

  update.payload = {
    element: element
  };
  callback = callback === undefined ? null : callback;

  if (callback !== null) {
    {
      if (typeof callback !== 'function') {
        error('render(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callback);
      }
    }

    update.callback = callback;
  }

  var root = enqueueUpdate(current$1, update, lane);

  if (root !== null) {
    scheduleUpdateOnFiber(root, current$1, lane, eventTime);
    entangleTransitions(root, current$1, lane);
  }

  return lane;
}
function getPublicRootInstance(container) {
  var containerFiber = container.current;

  if (!containerFiber.child) {
    return null;
  }

  switch (containerFiber.child.tag) {
    case HostComponent:
      return getPublicInstance(containerFiber.child.stateNode);

    default:
      return containerFiber.child.stateNode;
  }
}
function attemptSynchronousHydration$1(fiber) {
  switch (fiber.tag) {
    case HostRoot:
      {
        var root = fiber.stateNode;

        if (isRootDehydrated(root)) {
          // Flush the first scheduled "update".
          var lanes = getHighestPriorityPendingLanes(root);
          flushRoot(root, lanes);
        }

        break;
      }

    case SuspenseComponent:
      {
        flushSync(function () {
          var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

          if (root !== null) {
            var eventTime = requestEventTime();
            scheduleUpdateOnFiber(root, fiber, SyncLane, eventTime);
          }
        }); // If we're still blocked after this, we need to increase
        // the priority of any promises resolving within this
        // boundary so that they next attempt also has higher pri.

        var retryLane = SyncLane;
        markRetryLaneIfNotHydrated(fiber, retryLane);
        break;
      }
  }
}

function markRetryLaneImpl(fiber, retryLane) {
  var suspenseState = fiber.memoizedState;

  if (suspenseState !== null && suspenseState.dehydrated !== null) {
    suspenseState.retryLane = higherPriorityLane(suspenseState.retryLane, retryLane);
  }
} // Increases the priority of thenables when they resolve within this boundary.


function markRetryLaneIfNotHydrated(fiber, retryLane) {
  markRetryLaneImpl(fiber, retryLane);
  var alternate = fiber.alternate;

  if (alternate) {
    markRetryLaneImpl(alternate, retryLane);
  }
}
function attemptContinuousHydration$1(fiber) {
  if (fiber.tag !== SuspenseComponent) {
    // We ignore HostRoots here because we can't increase
    // their priority and they should not suspend on I/O,
    // since you have to wrap anything that might suspend in
    // Suspense.
    return;
  }

  var lane = SelectiveHydrationLane;
  var root = enqueueConcurrentRenderForLane(fiber, lane);

  if (root !== null) {
    var eventTime = requestEventTime();
    scheduleUpdateOnFiber(root, fiber, lane, eventTime);
  }

  markRetryLaneIfNotHydrated(fiber, lane);
}
function attemptHydrationAtCurrentPriority$1(fiber) {
  if (fiber.tag !== SuspenseComponent) {
    // We ignore HostRoots here because we can't increase
    // their priority other than synchronously flush it.
    return;
  }

  var lane = requestUpdateLane(fiber);
  var root = enqueueConcurrentRenderForLane(fiber, lane);

  if (root !== null) {
    var eventTime = requestEventTime();
    scheduleUpdateOnFiber(root, fiber, lane, eventTime);
  }

  markRetryLaneIfNotHydrated(fiber, lane);
}
function findHostInstanceWithNoPortals(fiber) {
  var hostFiber = findCurrentHostFiberWithNoPortals(fiber);

  if (hostFiber === null) {
    return null;
  }

  return hostFiber.stateNode;
}

var shouldErrorImpl = function (fiber) {
  return null;
};

function shouldError(fiber) {
  return shouldErrorImpl(fiber);
}

var shouldSuspendImpl = function (fiber) {
  return false;
};

function shouldSuspend(fiber) {
  return shouldSuspendImpl(fiber);
}
var overrideHookState = null;
var overrideHookStateDeletePath = null;
var overrideHookStateRenamePath = null;
var overrideProps = null;
var overridePropsDeletePath = null;
var overridePropsRenamePath = null;
var scheduleUpdate = null;
var setErrorHandler = null;
var setSuspenseHandler = null;

{
  var copyWithDeleteImpl = function (obj, path, index) {
    var key = path[index];
    var updated = isArray(obj) ? obj.slice() : assign({}, obj);

    if (index + 1 === path.length) {
      if (isArray(updated)) {
        updated.splice(key, 1);
      } else {
        delete updated[key];
      }

      return updated;
    } // $FlowFixMe number or string is fine here


    updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);
    return updated;
  };

  var copyWithDelete = function (obj, path) {
    return copyWithDeleteImpl(obj, path, 0);
  };

  var copyWithRenameImpl = function (obj, oldPath, newPath, index) {
    var oldKey = oldPath[index];
    var updated = isArray(obj) ? obj.slice() : assign({}, obj);

    if (index + 1 === oldPath.length) {
      var newKey = newPath[index]; // $FlowFixMe number or string is fine here

      updated[newKey] = updated[oldKey];

      if (isArray(updated)) {
        updated.splice(oldKey, 1);
      } else {
        delete updated[oldKey];
      }
    } else {
      // $FlowFixMe number or string is fine here
      updated[oldKey] = copyWithRenameImpl( // $FlowFixMe number or string is fine here
      obj[oldKey], oldPath, newPath, index + 1);
    }

    return updated;
  };

  var copyWithRename = function (obj, oldPath, newPath) {
    if (oldPath.length !== newPath.length) {
      warn('copyWithRename() expects paths of the same length');

      return;
    } else {
      for (var i = 0; i < newPath.length - 1; i++) {
        if (oldPath[i] !== newPath[i]) {
          warn('copyWithRename() expects paths to be the same except for the deepest key');

          return;
        }
      }
    }

    return copyWithRenameImpl(obj, oldPath, newPath, 0);
  };

  var copyWithSetImpl = function (obj, path, index, value) {
    if (index >= path.length) {
      return value;
    }

    var key = path[index];
    var updated = isArray(obj) ? obj.slice() : assign({}, obj); // $FlowFixMe number or string is fine here

    updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);
    return updated;
  };

  var copyWithSet = function (obj, path, value) {
    return copyWithSetImpl(obj, path, 0, value);
  };

  var findHook = function (fiber, id) {
    // For now, the "id" of stateful hooks is just the stateful hook index.
    // This may change in the future with e.g. nested hooks.
    var currentHook = fiber.memoizedState;

    while (currentHook !== null && id > 0) {
      currentHook = currentHook.next;
      id--;
    }

    return currentHook;
  }; // Support DevTools editable values for useState and useReducer.


  overrideHookState = function (fiber, id, path, value) {
    var hook = findHook(fiber, id);

    if (hook !== null) {
      var newState = copyWithSet(hook.memoizedState, path, value);
      hook.memoizedState = newState;
      hook.baseState = newState; // We aren't actually adding an update to the queue,
      // because there is no update we can add for useReducer hooks that won't trigger an error.
      // (There's no appropriate action type for DevTools overrides.)
      // As a result though, React will see the scheduled update as a noop and bailout.
      // Shallow cloning props works as a workaround for now to bypass the bailout check.

      fiber.memoizedProps = assign({}, fiber.memoizedProps);
      var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

      if (root !== null) {
        scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
      }
    }
  };

  overrideHookStateDeletePath = function (fiber, id, path) {
    var hook = findHook(fiber, id);

    if (hook !== null) {
      var newState = copyWithDelete(hook.memoizedState, path);
      hook.memoizedState = newState;
      hook.baseState = newState; // We aren't actually adding an update to the queue,
      // because there is no update we can add for useReducer hooks that won't trigger an error.
      // (There's no appropriate action type for DevTools overrides.)
      // As a result though, React will see the scheduled update as a noop and bailout.
      // Shallow cloning props works as a workaround for now to bypass the bailout check.

      fiber.memoizedProps = assign({}, fiber.memoizedProps);
      var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

      if (root !== null) {
        scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
      }
    }
  };

  overrideHookStateRenamePath = function (fiber, id, oldPath, newPath) {
    var hook = findHook(fiber, id);

    if (hook !== null) {
      var newState = copyWithRename(hook.memoizedState, oldPath, newPath);
      hook.memoizedState = newState;
      hook.baseState = newState; // We aren't actually adding an update to the queue,
      // because there is no update we can add for useReducer hooks that won't trigger an error.
      // (There's no appropriate action type for DevTools overrides.)
      // As a result though, React will see the scheduled update as a noop and bailout.
      // Shallow cloning props works as a workaround for now to bypass the bailout check.

      fiber.memoizedProps = assign({}, fiber.memoizedProps);
      var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

      if (root !== null) {
        scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
      }
    }
  }; // Support DevTools props for function components, forwardRef, memo, host components, etc.


  overrideProps = function (fiber, path, value) {
    fiber.pendingProps = copyWithSet(fiber.memoizedProps, path, value);

    if (fiber.alternate) {
      fiber.alternate.pendingProps = fiber.pendingProps;
    }

    var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

    if (root !== null) {
      scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
    }
  };

  overridePropsDeletePath = function (fiber, path) {
    fiber.pendingProps = copyWithDelete(fiber.memoizedProps, path);

    if (fiber.alternate) {
      fiber.alternate.pendingProps = fiber.pendingProps;
    }

    var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

    if (root !== null) {
      scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
    }
  };

  overridePropsRenamePath = function (fiber, oldPath, newPath) {
    fiber.pendingProps = copyWithRename(fiber.memoizedProps, oldPath, newPath);

    if (fiber.alternate) {
      fiber.alternate.pendingProps = fiber.pendingProps;
    }

    var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

    if (root !== null) {
      scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
    }
  };

  scheduleUpdate = function (fiber) {
    var root = enqueueConcurrentRenderForLane(fiber, SyncLane);

    if (root !== null) {
      scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
    }
  };

  setErrorHandler = function (newShouldErrorImpl) {
    shouldErrorImpl = newShouldErrorImpl;
  };

  setSuspenseHandler = function (newShouldSuspendImpl) {
    shouldSuspendImpl = newShouldSuspendImpl;
  };
}

function findHostInstanceByFiber(fiber) {
  var hostFiber = findCurrentHostFiber(fiber);

  if (hostFiber === null) {
    return null;
  }

  return hostFiber.stateNode;
}

function emptyFindFiberByHostInstance(instance) {
  return null;
}

function getCurrentFiberForDevTools() {
  return current;
}

function injectIntoDevTools(devToolsConfig) {
  var findFiberByHostInstance = devToolsConfig.findFiberByHostInstance;
  var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
  return injectInternals({
    bundleType: devToolsConfig.bundleType,
    version: devToolsConfig.version,
    rendererPackageName: devToolsConfig.rendererPackageName,
    rendererConfig: devToolsConfig.rendererConfig,
    overrideHookState: overrideHookState,
    overrideHookStateDeletePath: overrideHookStateDeletePath,
    overrideHookStateRenamePath: overrideHookStateRenamePath,
    overrideProps: overrideProps,
    overridePropsDeletePath: overridePropsDeletePath,
    overridePropsRenamePath: overridePropsRenamePath,
    setErrorHandler: setErrorHandler,
    setSuspenseHandler: setSuspenseHandler,
    scheduleUpdate: scheduleUpdate,
    currentDispatcherRef: ReactCurrentDispatcher,
    findHostInstanceByFiber: findHostInstanceByFiber,
    findFiberByHostInstance: findFiberByHostInstance || emptyFindFiberByHostInstance,
    // React Refresh
    findHostInstancesForRefresh:  findHostInstancesForRefresh ,
    scheduleRefresh:  scheduleRefresh ,
    scheduleRoot:  scheduleRoot ,
    setRefreshHandler:  setRefreshHandler ,
    // Enables DevTools to append owner stacks to error messages in DEV mode.
    getCurrentFiber:  getCurrentFiberForDevTools ,
    // Enables DevTools to detect reconciler version rather than renderer version
    // which may not match for third party renderers.
    reconcilerVersion: ReactVersion
  });
}

/* global reportError */

var defaultOnRecoverableError = typeof reportError === 'function' ? // In modern browsers, reportError will dispatch an error event,
// emulating an uncaught JavaScript error.
reportError : function (error) {
  // In older browsers and test environments, fallback to console.error.
  // eslint-disable-next-line react-internal/no-production-logging
  console['error'](error);
};

function ReactDOMRoot(internalRoot) {
  this._internalRoot = internalRoot;
}

ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function (children) {
  var root = this._internalRoot;

  if (root === null) {
    throw new Error('Cannot update an unmounted root.');
  }

  {
    if (typeof arguments[1] === 'function') {
      error('render(...): does not support the second callback argument. ' + 'To execute a side effect after rendering, declare it in a component body with useEffect().');
    } else if (isValidContainer(arguments[1])) {
      error('You passed a container to the second argument of root.render(...). ' + "You don't need to pass it again since you already passed it to create the root.");
    } else if (typeof arguments[1] !== 'undefined') {
      error('You passed a second argument to root.render(...) but it only accepts ' + 'one argument.');
    }

    var container = root.containerInfo;

    if (container.nodeType !== COMMENT_NODE) {
      var hostInstance = findHostInstanceWithNoPortals(root.current);

      if (hostInstance) {
        if (hostInstance.parentNode !== container) {
          error('render(...): It looks like the React-rendered content of the ' + 'root container was removed without using React. This is not ' + 'supported and will cause errors. Instead, call ' + "root.unmount() to empty a root's container.");
        }
      }
    }
  }

  updateContainer(children, root, null, null);
};

ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function () {
  {
    if (typeof arguments[0] === 'function') {
      error('unmount(...): does not support a callback argument. ' + 'To execute a side effect after rendering, declare it in a component body with useEffect().');
    }
  }

  var root = this._internalRoot;

  if (root !== null) {
    this._internalRoot = null;
    var container = root.containerInfo;

    {
      if (isAlreadyRendering()) {
        error('Attempted to synchronously unmount a root while React was already ' + 'rendering. React cannot finish unmounting the root until the ' + 'current render has completed, which may lead to a race condition.');
      }
    }

    flushSync(function () {
      updateContainer(null, root, null, null);
    });
    unmarkContainerAsRoot(container);
  }
};

function createRoot(container, options) {
  if (!isValidContainer(container)) {
    throw new Error('createRoot(...): Target container is not a DOM element.');
  }

  warnIfReactDOMContainerInDEV(container);
  var isStrictMode = false;
  var concurrentUpdatesByDefaultOverride = false;
  var identifierPrefix = '';
  var onRecoverableError = defaultOnRecoverableError;
  var transitionCallbacks = null;

  if (options !== null && options !== undefined) {
    {
      if (options.hydrate) {
        warn('hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.');
      } else {
        if (typeof options === 'object' && options !== null && options.$$typeof === REACT_ELEMENT_TYPE) {
          error('You passed a JSX element to createRoot. You probably meant to ' + 'call root.render instead. ' + 'Example usage:\n\n' + '  let root = createRoot(domContainer);\n' + '  root.render(<App />);');
        }
      }
    }

    if (options.unstable_strictMode === true) {
      isStrictMode = true;
    }

    if (options.identifierPrefix !== undefined) {
      identifierPrefix = options.identifierPrefix;
    }

    if (options.onRecoverableError !== undefined) {
      onRecoverableError = options.onRecoverableError;
    }

    if (options.transitionCallbacks !== undefined) {
      transitionCallbacks = options.transitionCallbacks;
    }
  }

  var root = createContainer(container, ConcurrentRoot, null, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
  markContainerAsRoot(root.current, container);
  var rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
  listenToAllSupportedEvents(rootContainerElement);
  return new ReactDOMRoot(root);
}

function ReactDOMHydrationRoot(internalRoot) {
  this._internalRoot = internalRoot;
}

function scheduleHydration(target) {
  if (target) {
    queueExplicitHydrationTarget(target);
  }
}

ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = scheduleHydration;
function hydrateRoot(container, initialChildren, options) {
  if (!isValidContainer(container)) {
    throw new Error('hydrateRoot(...): Target container is not a DOM element.');
  }

  warnIfReactDOMContainerInDEV(container);

  {
    if (initialChildren === undefined) {
      error('Must provide initial children as second argument to hydrateRoot. ' + 'Example usage: hydrateRoot(domContainer, <App />)');
    }
  } // For now we reuse the whole bag of options since they contain
  // the hydration callbacks.


  var hydrationCallbacks = options != null ? options : null; // TODO: Delete this option

  var mutableSources = options != null && options.hydratedSources || null;
  var isStrictMode = false;
  var concurrentUpdatesByDefaultOverride = false;
  var identifierPrefix = '';
  var onRecoverableError = defaultOnRecoverableError;

  if (options !== null && options !== undefined) {
    if (options.unstable_strictMode === true) {
      isStrictMode = true;
    }

    if (options.identifierPrefix !== undefined) {
      identifierPrefix = options.identifierPrefix;
    }

    if (options.onRecoverableError !== undefined) {
      onRecoverableError = options.onRecoverableError;
    }
  }

  var root = createHydrationContainer(initialChildren, null, container, ConcurrentRoot, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
  markContainerAsRoot(root.current, container); // This can't be a comment node since hydration doesn't work on comment nodes anyway.

  listenToAllSupportedEvents(container);

  if (mutableSources) {
    for (var i = 0; i < mutableSources.length; i++) {
      var mutableSource = mutableSources[i];
      registerMutableSourceForHydration(root, mutableSource);
    }
  }

  return new ReactDOMHydrationRoot(root);
}
function isValidContainer(node) {
  return !!(node && (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE || !disableCommentsAsDOMContainers  ));
} // TODO: Remove this function which also includes comment nodes.
// We only use it in places that are currently more relaxed.

function isValidContainerLegacy(node) {
  return !!(node && (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE || node.nodeType === COMMENT_NODE && node.nodeValue === ' react-mount-point-unstable '));
}

function warnIfReactDOMContainerInDEV(container) {
  {
    if (container.nodeType === ELEMENT_NODE && container.tagName && container.tagName.toUpperCase() === 'BODY') {
      error('createRoot(): Creating roots directly with document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try using a container element created ' + 'for your app.');
    }

    if (isContainerMarkedAsRoot(container)) {
      if (container._reactRootContainer) {
        error('You are calling ReactDOMClient.createRoot() on a container that was previously ' + 'passed to ReactDOM.render(). This is not supported.');
      } else {
        error('You are calling ReactDOMClient.createRoot() on a container that ' + 'has already been passed to createRoot() before. Instead, call ' + 'root.render() on the existing root instead if you want to update it.');
      }
    }
  }
}

var ReactCurrentOwner$3 = ReactSharedInternals.ReactCurrentOwner;
var topLevelUpdateWarnings;

{
  topLevelUpdateWarnings = function (container) {
    if (container._reactRootContainer && container.nodeType !== COMMENT_NODE) {
      var hostInstance = findHostInstanceWithNoPortals(container._reactRootContainer.current);

      if (hostInstance) {
        if (hostInstance.parentNode !== container) {
          error('render(...): It looks like the React-rendered content of this ' + 'container was removed without using React. This is not ' + 'supported and will cause errors. Instead, call ' + 'ReactDOM.unmountComponentAtNode to empty a container.');
        }
      }
    }

    var isRootRenderedBySomeReact = !!container._reactRootContainer;
    var rootEl = getReactRootElementInContainer(container);
    var hasNonRootReactChild = !!(rootEl && getInstanceFromNode(rootEl));

    if (hasNonRootReactChild && !isRootRenderedBySomeReact) {
      error('render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.');
    }

    if (container.nodeType === ELEMENT_NODE && container.tagName && container.tagName.toUpperCase() === 'BODY') {
      error('render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.');
    }
  };
}

function getReactRootElementInContainer(container) {
  if (!container) {
    return null;
  }

  if (container.nodeType === DOCUMENT_NODE) {
    return container.documentElement;
  } else {
    return container.firstChild;
  }
}

function noopOnRecoverableError() {// This isn't reachable because onRecoverableError isn't called in the
  // legacy API.
}

function legacyCreateRootFromDOMContainer(container, initialChildren, parentComponent, callback, isHydrationContainer) {
  if (isHydrationContainer) {
    if (typeof callback === 'function') {
      var originalCallback = callback;

      callback = function () {
        var instance = getPublicRootInstance(root);
        originalCallback.call(instance);
      };
    }

    var root = createHydrationContainer(initialChildren, callback, container, LegacyRoot, null, // hydrationCallbacks
    false, // isStrictMode
    false, // concurrentUpdatesByDefaultOverride,
    '', // identifierPrefix
    noopOnRecoverableError);
    container._reactRootContainer = root;
    markContainerAsRoot(root.current, container);
    var rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;
    listenToAllSupportedEvents(rootContainerElement);
    flushSync();
    return root;
  } else {
    // First clear any existing content.
    var rootSibling;

    while (rootSibling = container.lastChild) {
      container.removeChild(rootSibling);
    }

    if (typeof callback === 'function') {
      var _originalCallback = callback;

      callback = function () {
        var instance = getPublicRootInstance(_root);

        _originalCallback.call(instance);
      };
    }

    var _root = createContainer(container, LegacyRoot, null, // hydrationCallbacks
    false, // isStrictMode
    false, // concurrentUpdatesByDefaultOverride,
    '', // identifierPrefix
    noopOnRecoverableError);

    container._reactRootContainer = _root;
    markContainerAsRoot(_root.current, container);

    var _rootContainerElement = container.nodeType === COMMENT_NODE ? container.parentNode : container;

    listenToAllSupportedEvents(_rootContainerElement); // Initial mount should not be batched.

    flushSync(function () {
      updateContainer(initialChildren, _root, parentComponent, callback);
    });
    return _root;
  }
}

function warnOnInvalidCallback$1(callback, callerName) {
  {
    if (callback !== null && typeof callback !== 'function') {
      error('%s(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callerName, callback);
    }
  }
}

function legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback) {
  {
    topLevelUpdateWarnings(container);
    warnOnInvalidCallback$1(callback === undefined ? null : callback, 'render');
  }

  var maybeRoot = container._reactRootContainer;
  var root;

  if (!maybeRoot) {
    // Initial mount
    root = legacyCreateRootFromDOMContainer(container, children, parentComponent, callback, forceHydrate);
  } else {
    root = maybeRoot;

    if (typeof callback === 'function') {
      var originalCallback = callback;

      callback = function () {
        var instance = getPublicRootInstance(root);
        originalCallback.call(instance);
      };
    } // Update


    updateContainer(children, root, parentComponent, callback);
  }

  return getPublicRootInstance(root);
}

var didWarnAboutFindDOMNode = false;
function findDOMNode(componentOrElement) {
  {
    if (!didWarnAboutFindDOMNode) {
      didWarnAboutFindDOMNode = true;

      error('findDOMNode is deprecated and will be removed in the next major ' + 'release. Instead, add a ref directly to the element you want ' + 'to reference. Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-find-node');
    }

    var owner = ReactCurrentOwner$3.current;

    if (owner !== null && owner.stateNode !== null) {
      var warnedAboutRefsInRender = owner.stateNode._warnedAboutRefsInRender;

      if (!warnedAboutRefsInRender) {
        error('%s is accessing findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', getComponentNameFromType(owner.type) || 'A component');
      }

      owner.stateNode._warnedAboutRefsInRender = true;
    }
  }

  if (componentOrElement == null) {
    return null;
  }

  if (componentOrElement.nodeType === ELEMENT_NODE) {
    return componentOrElement;
  }

  {
    return findHostInstanceWithWarning(componentOrElement, 'findDOMNode');
  }
}
function hydrate(element, container, callback) {
  {
    error('ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot ' + 'instead. Until you switch to the new API, your app will behave as ' + "if it's running React 17. Learn " + 'more: https://reactjs.org/link/switch-to-createroot');
  }

  if (!isValidContainerLegacy(container)) {
    throw new Error('Target container is not a DOM element.');
  }

  {
    var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === undefined;

    if (isModernRoot) {
      error('You are calling ReactDOM.hydrate() on a container that was previously ' + 'passed to ReactDOMClient.createRoot(). This is not supported. ' + 'Did you mean to call hydrateRoot(container, element)?');
    }
  } // TODO: throw or warn if we couldn't hydrate?


  return legacyRenderSubtreeIntoContainer(null, element, container, true, callback);
}
function render(element, container, callback) {
  {
    error('ReactDOM.render is no longer supported in React 18. Use createRoot ' + 'instead. Until you switch to the new API, your app will behave as ' + "if it's running React 17. Learn " + 'more: https://reactjs.org/link/switch-to-createroot');
  }

  if (!isValidContainerLegacy(container)) {
    throw new Error('Target container is not a DOM element.');
  }

  {
    var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === undefined;

    if (isModernRoot) {
      error('You are calling ReactDOM.render() on a container that was previously ' + 'passed to ReactDOMClient.createRoot(). This is not supported. ' + 'Did you mean to call root.render(element)?');
    }
  }

  return legacyRenderSubtreeIntoContainer(null, element, container, false, callback);
}
function unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
  {
    error('ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported ' + 'in React 18. Consider using a portal instead. Until you switch to ' + "the createRoot API, your app will behave as if it's running React " + '17. Learn more: https://reactjs.org/link/switch-to-createroot');
  }

  if (!isValidContainerLegacy(containerNode)) {
    throw new Error('Target container is not a DOM element.');
  }

  if (parentComponent == null || !has(parentComponent)) {
    throw new Error('parentComponent must be a valid React Component');
  }

  return legacyRenderSubtreeIntoContainer(parentComponent, element, containerNode, false, callback);
}
var didWarnAboutUnmountComponentAtNode = false;
function unmountComponentAtNode(container) {
  {
    if (!didWarnAboutUnmountComponentAtNode) {
      didWarnAboutUnmountComponentAtNode = true;

      error('unmountComponentAtNode is deprecated and will be removed in the ' + 'next major release. Switch to the createRoot API. Learn ' + 'more: https://reactjs.org/link/switch-to-createroot');
    }
  }

  if (!isValidContainerLegacy(container)) {
    throw new Error('unmountComponentAtNode(...): Target container is not a DOM element.');
  }

  {
    var isModernRoot = isContainerMarkedAsRoot(container) && container._reactRootContainer === undefined;

    if (isModernRoot) {
      error('You are calling ReactDOM.unmountComponentAtNode() on a container that was previously ' + 'passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?');
    }
  }

  if (container._reactRootContainer) {
    {
      var rootEl = getReactRootElementInContainer(container);
      var renderedByDifferentReact = rootEl && !getInstanceFromNode(rootEl);

      if (renderedByDifferentReact) {
        error("unmountComponentAtNode(): The node you're attempting to unmount " + 'was rendered by another copy of React.');
      }
    } // Unmount should not be batched.


    flushSync(function () {
      legacyRenderSubtreeIntoContainer(null, null, container, false, function () {
        // $FlowFixMe This should probably use `delete container._reactRootContainer`
        container._reactRootContainer = null;
        unmarkContainerAsRoot(container);
      });
    }); // If you call unmountComponentAtNode twice in quick succession, you'll
    // get `true` twice. That's probably fine?

    return true;
  } else {
    {
      var _rootEl = getReactRootElementInContainer(container);

      var hasNonRootReactChild = !!(_rootEl && getInstanceFromNode(_rootEl)); // Check if the container itself is a React root node.

      var isContainerReactRoot = container.nodeType === ELEMENT_NODE && isValidContainerLegacy(container.parentNode) && !!container.parentNode._reactRootContainer;

      if (hasNonRootReactChild) {
        error("unmountComponentAtNode(): The node you're attempting to unmount " + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.');
      }
    }

    return false;
  }
}

setAttemptSynchronousHydration(attemptSynchronousHydration$1);
setAttemptContinuousHydration(attemptContinuousHydration$1);
setAttemptHydrationAtCurrentPriority(attemptHydrationAtCurrentPriority$1);
setGetCurrentUpdatePriority(getCurrentUpdatePriority);
setAttemptHydrationAtPriority(runWithPriority);

{
  if (typeof Map !== 'function' || // $FlowIssue Flow incorrectly thinks Map has no prototype
  Map.prototype == null || typeof Map.prototype.forEach !== 'function' || typeof Set !== 'function' || // $FlowIssue Flow incorrectly thinks Set has no prototype
  Set.prototype == null || typeof Set.prototype.clear !== 'function' || typeof Set.prototype.forEach !== 'function') {
    error('React depends on Map and Set built-in types. Make sure that you load a ' + 'polyfill in older browsers. https://reactjs.org/link/react-polyfills');
  }
}

setRestoreImplementation(restoreControlledState$3);
setBatchingImplementation(batchedUpdates$1, discreteUpdates, flushSync);

function createPortal$1(children, container) {
  var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;

  if (!isValidContainer(container)) {
    throw new Error('Target container is not a DOM element.');
  } // TODO: pass ReactDOM portal implementation as third argument
  // $FlowFixMe The Flow type is opaque but there's no way to actually create it.


  return createPortal(children, container, null, key);
}

function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
  return unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback);
}

var Internals = {
  usingClientEntryPoint: false,
  // Keep in sync with ReactTestUtils.js.
  // This is an array for better minification.
  Events: [getInstanceFromNode, getNodeFromInstance, getFiberCurrentPropsFromNode, enqueueStateRestore, restoreStateIfNeeded, batchedUpdates$1]
};

function createRoot$1(container, options) {
  {
    if (!Internals.usingClientEntryPoint && !false) {
      error('You are importing createRoot from "react-dom" which is not supported. ' + 'You should instead import it from "react-dom/client".');
    }
  }

  return createRoot(container, options);
}

function hydrateRoot$1(container, initialChildren, options) {
  {
    if (!Internals.usingClientEntryPoint && !false) {
      error('You are importing hydrateRoot from "react-dom" which is not supported. ' + 'You should instead import it from "react-dom/client".');
    }
  }

  return hydrateRoot(container, initialChildren, options);
} // Overload the definition to the two valid signatures.
// Warning, this opts-out of checking the function body.


// eslint-disable-next-line no-redeclare
function flushSync$1(fn) {
  {
    if (isAlreadyRendering()) {
      error('flushSync was called from inside a lifecycle method. React cannot ' + 'flush when React is already rendering. Consider moving this call to ' + 'a scheduler task or micro task.');
    }
  }

  return flushSync(fn);
}
var foundDevTools = injectIntoDevTools({
  findFiberByHostInstance: getClosestInstanceFromNode,
  bundleType:  1 ,
  version: ReactVersion,
  rendererPackageName: 'react-dom'
});

{
  if (!foundDevTools && canUseDOM && window.top === window.self) {
    // If we're in Chrome or Firefox, provide a download link if not installed.
    if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) {
      var protocol = window.location.protocol; // Don't warn in exotic cases like chrome-extension://.

      if (/^(https?|file):$/.test(protocol)) {
        // eslint-disable-next-line react-internal/no-production-logging
        console.info('%cDownload the React DevTools ' + 'for a better development experience: ' + 'https://reactjs.org/link/react-devtools' + (protocol === 'file:' ? '\nYou might need to use a local HTTP server (instead of file://): ' + 'https://reactjs.org/link/react-devtools-faq' : ''), 'font-weight:bold');
      }
    }
  }
}

exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = createPortal$1;
exports.createRoot = createRoot$1;
exports.findDOMNode = findDOMNode;
exports.flushSync = flushSync$1;
exports.hydrate = hydrate;
exports.hydrateRoot = hydrateRoot$1;
exports.render = render;
exports.unmountComponentAtNode = unmountComponentAtNode;
exports.unstable_batchedUpdates = batchedUpdates$1;
exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer;
exports.version = ReactVersion;
          /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
    'function'
) {
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
}
        
  })();
}


/***/ },

/***/ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";


var m = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js");
if (false) // removed by dead control flow
{} else {
  var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
  exports.createRoot = function(c, o) {
    i.usingClientEntryPoint = true;
    try {
      return m.createRoot(c, o);
    } finally {
      i.usingClientEntryPoint = false;
    }
  };
  exports.hydrateRoot = function(c, h, o) {
    i.usingClientEntryPoint = true;
    try {
      return m.hydrateRoot(c, h, o);
    } finally {
      i.usingClientEntryPoint = false;
    }
  };
}


/***/ },

/***/ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


function checkDCE() {
  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
  if (
    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
  ) {
    return;
  }
  if (true) {
    // This branch is unreachable because this function is only called
    // in production, but the condition is true only in development.
    // Therefore if the branch is still here, dead code elimination wasn't
    // properly applied.
    // Don't change the message. React DevTools relies on it. Also make sure
    // this message doesn't occur elsewhere in this function, or it will cause
    // a false positive.
    throw new Error('^_^');
  }
  // removed by dead control flow

}

if (false) // removed by dead control flow
{} else {
  module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js");
}


/***/ },

/***/ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";
/** @license React v16.13.1
 * react-is.development.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.
 */





if (true) {
  (function() {
'use strict';

// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
// nor polyfill, then a plain number is used for performance.
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
// (unstable) APIs that have been removed. Can we remove the symbols?

var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;

function isValidElementType(type) {
  return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
  type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
}

function typeOf(object) {
  if (typeof object === 'object' && object !== null) {
    var $$typeof = object.$$typeof;

    switch ($$typeof) {
      case REACT_ELEMENT_TYPE:
        var type = object.type;

        switch (type) {
          case REACT_ASYNC_MODE_TYPE:
          case REACT_CONCURRENT_MODE_TYPE:
          case REACT_FRAGMENT_TYPE:
          case REACT_PROFILER_TYPE:
          case REACT_STRICT_MODE_TYPE:
          case REACT_SUSPENSE_TYPE:
            return type;

          default:
            var $$typeofType = type && type.$$typeof;

            switch ($$typeofType) {
              case REACT_CONTEXT_TYPE:
              case REACT_FORWARD_REF_TYPE:
              case REACT_LAZY_TYPE:
              case REACT_MEMO_TYPE:
              case REACT_PROVIDER_TYPE:
                return $$typeofType;

              default:
                return $$typeof;
            }

        }

      case REACT_PORTAL_TYPE:
        return $$typeof;
    }
  }

  return undefined;
} // AsyncMode is deprecated along with isAsyncMode

var AsyncMode = REACT_ASYNC_MODE_TYPE;
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
var ContextConsumer = REACT_CONTEXT_TYPE;
var ContextProvider = REACT_PROVIDER_TYPE;
var Element = REACT_ELEMENT_TYPE;
var ForwardRef = REACT_FORWARD_REF_TYPE;
var Fragment = REACT_FRAGMENT_TYPE;
var Lazy = REACT_LAZY_TYPE;
var Memo = REACT_MEMO_TYPE;
var Portal = REACT_PORTAL_TYPE;
var Profiler = REACT_PROFILER_TYPE;
var StrictMode = REACT_STRICT_MODE_TYPE;
var Suspense = REACT_SUSPENSE_TYPE;
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated

function isAsyncMode(object) {
  {
    if (!hasWarnedAboutDeprecatedIsAsyncMode) {
      hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint

      console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
    }
  }

  return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
}
function isConcurrentMode(object) {
  return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
}
function isContextConsumer(object) {
  return typeOf(object) === REACT_CONTEXT_TYPE;
}
function isContextProvider(object) {
  return typeOf(object) === REACT_PROVIDER_TYPE;
}
function isElement(object) {
  return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
}
function isForwardRef(object) {
  return typeOf(object) === REACT_FORWARD_REF_TYPE;
}
function isFragment(object) {
  return typeOf(object) === REACT_FRAGMENT_TYPE;
}
function isLazy(object) {
  return typeOf(object) === REACT_LAZY_TYPE;
}
function isMemo(object) {
  return typeOf(object) === REACT_MEMO_TYPE;
}
function isPortal(object) {
  return typeOf(object) === REACT_PORTAL_TYPE;
}
function isProfiler(object) {
  return typeOf(object) === REACT_PROFILER_TYPE;
}
function isStrictMode(object) {
  return typeOf(object) === REACT_STRICT_MODE_TYPE;
}
function isSuspense(object) {
  return typeOf(object) === REACT_SUSPENSE_TYPE;
}

exports.AsyncMode = AsyncMode;
exports.ConcurrentMode = ConcurrentMode;
exports.ContextConsumer = ContextConsumer;
exports.ContextProvider = ContextProvider;
exports.Element = Element;
exports.ForwardRef = ForwardRef;
exports.Fragment = Fragment;
exports.Lazy = Lazy;
exports.Memo = Memo;
exports.Portal = Portal;
exports.Profiler = Profiler;
exports.StrictMode = StrictMode;
exports.Suspense = Suspense;
exports.isAsyncMode = isAsyncMode;
exports.isConcurrentMode = isConcurrentMode;
exports.isContextConsumer = isContextConsumer;
exports.isContextProvider = isContextProvider;
exports.isElement = isElement;
exports.isForwardRef = isForwardRef;
exports.isFragment = isFragment;
exports.isLazy = isLazy;
exports.isMemo = isMemo;
exports.isPortal = isPortal;
exports.isProfiler = isProfiler;
exports.isStrictMode = isStrictMode;
exports.isSuspense = isSuspense;
exports.isValidElementType = isValidElementType;
exports.typeOf = typeOf;
  })();
}


/***/ },

/***/ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js ***!
  \****************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


if (false) // removed by dead control flow
{} else {
  module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js");
}


/***/ },

/***/ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";
/**
 * @license React
 * react-is.development.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.
 */


 true &&
  (function () {
    function typeOf(object) {
      if ("object" === typeof object && null !== object) {
        var $$typeof = object.$$typeof;
        switch ($$typeof) {
          case REACT_ELEMENT_TYPE:
            switch (((object = object.type), object)) {
              case REACT_FRAGMENT_TYPE:
              case REACT_PROFILER_TYPE:
              case REACT_STRICT_MODE_TYPE:
              case REACT_SUSPENSE_TYPE:
              case REACT_SUSPENSE_LIST_TYPE:
              case REACT_VIEW_TRANSITION_TYPE:
                return object;
              default:
                switch (((object = object && object.$$typeof), object)) {
                  case REACT_CONTEXT_TYPE:
                  case REACT_FORWARD_REF_TYPE:
                  case REACT_LAZY_TYPE:
                  case REACT_MEMO_TYPE:
                    return object;
                  case REACT_CONSUMER_TYPE:
                    return object;
                  default:
                    return $$typeof;
                }
            }
          case REACT_PORTAL_TYPE:
            return $$typeof;
        }
      }
    }
    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_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
      REACT_MEMO_TYPE = Symbol.for("react.memo"),
      REACT_LAZY_TYPE = Symbol.for("react.lazy"),
      REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
      REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
    exports.ContextConsumer = REACT_CONSUMER_TYPE;
    exports.ContextProvider = REACT_CONTEXT_TYPE;
    exports.Element = REACT_ELEMENT_TYPE;
    exports.ForwardRef = REACT_FORWARD_REF_TYPE;
    exports.Fragment = REACT_FRAGMENT_TYPE;
    exports.Lazy = REACT_LAZY_TYPE;
    exports.Memo = REACT_MEMO_TYPE;
    exports.Portal = REACT_PORTAL_TYPE;
    exports.Profiler = REACT_PROFILER_TYPE;
    exports.StrictMode = REACT_STRICT_MODE_TYPE;
    exports.Suspense = REACT_SUSPENSE_TYPE;
    exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
    exports.isContextConsumer = function (object) {
      return typeOf(object) === REACT_CONSUMER_TYPE;
    };
    exports.isContextProvider = function (object) {
      return typeOf(object) === REACT_CONTEXT_TYPE;
    };
    exports.isElement = function (object) {
      return (
        "object" === typeof object &&
        null !== object &&
        object.$$typeof === REACT_ELEMENT_TYPE
      );
    };
    exports.isForwardRef = function (object) {
      return typeOf(object) === REACT_FORWARD_REF_TYPE;
    };
    exports.isFragment = function (object) {
      return typeOf(object) === REACT_FRAGMENT_TYPE;
    };
    exports.isLazy = function (object) {
      return typeOf(object) === REACT_LAZY_TYPE;
    };
    exports.isMemo = function (object) {
      return typeOf(object) === REACT_MEMO_TYPE;
    };
    exports.isPortal = function (object) {
      return typeOf(object) === REACT_PORTAL_TYPE;
    };
    exports.isProfiler = function (object) {
      return typeOf(object) === REACT_PROFILER_TYPE;
    };
    exports.isStrictMode = function (object) {
      return typeOf(object) === REACT_STRICT_MODE_TYPE;
    };
    exports.isSuspense = function (object) {
      return typeOf(object) === REACT_SUSPENSE_TYPE;
    };
    exports.isSuspenseList = function (object) {
      return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
    };
    exports.isValidElementType = function (type) {
      return "string" === typeof type ||
        "function" === typeof type ||
        type === REACT_FRAGMENT_TYPE ||
        type === REACT_PROFILER_TYPE ||
        type === REACT_STRICT_MODE_TYPE ||
        type === REACT_SUSPENSE_TYPE ||
        type === REACT_SUSPENSE_LIST_TYPE ||
        ("object" === typeof type &&
          null !== type &&
          (type.$$typeof === REACT_LAZY_TYPE ||
            type.$$typeof === REACT_MEMO_TYPE ||
            type.$$typeof === REACT_CONTEXT_TYPE ||
            type.$$typeof === REACT_CONSUMER_TYPE ||
            type.$$typeof === REACT_FORWARD_REF_TYPE ||
            type.$$typeof === REACT_CLIENT_REFERENCE ||
            void 0 !== type.getModuleId))
        ? !0
        : !1;
    };
    exports.typeOf = typeOf;
  })();


/***/ },

/***/ "./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js"
/*!********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-router-dom@6.30.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js ***!
  \********************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
var react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache;
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AbortedDeferredError: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.AbortedDeferredError),
/* harmony export */   Await: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.Await),
/* harmony export */   BrowserRouter: () => (/* binding */ BrowserRouter),
/* harmony export */   Form: () => (/* binding */ Form),
/* harmony export */   HashRouter: () => (/* binding */ HashRouter),
/* harmony export */   Link: () => (/* binding */ Link),
/* harmony export */   MemoryRouter: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.MemoryRouter),
/* harmony export */   NavLink: () => (/* binding */ NavLink),
/* harmony export */   Navigate: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.Navigate),
/* harmony export */   NavigationType: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.Action),
/* harmony export */   Outlet: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.Outlet),
/* harmony export */   Route: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.Route),
/* harmony export */   Router: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.Router),
/* harmony export */   RouterProvider: () => (/* binding */ RouterProvider),
/* harmony export */   Routes: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.Routes),
/* harmony export */   ScrollRestoration: () => (/* binding */ ScrollRestoration),
/* harmony export */   UNSAFE_DataRouterContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_DataRouterContext),
/* harmony export */   UNSAFE_DataRouterStateContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_DataRouterStateContext),
/* harmony export */   UNSAFE_ErrorResponseImpl: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_ErrorResponseImpl),
/* harmony export */   UNSAFE_FetchersContext: () => (/* binding */ FetchersContext),
/* harmony export */   UNSAFE_LocationContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_LocationContext),
/* harmony export */   UNSAFE_NavigationContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_NavigationContext),
/* harmony export */   UNSAFE_RouteContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_RouteContext),
/* harmony export */   UNSAFE_ViewTransitionContext: () => (/* binding */ ViewTransitionContext),
/* harmony export */   UNSAFE_useRouteId: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_useRouteId),
/* harmony export */   UNSAFE_useScrollRestoration: () => (/* binding */ useScrollRestoration),
/* harmony export */   createBrowserRouter: () => (/* binding */ createBrowserRouter),
/* harmony export */   createHashRouter: () => (/* binding */ createHashRouter),
/* harmony export */   createMemoryRouter: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.createMemoryRouter),
/* harmony export */   createPath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.createPath),
/* harmony export */   createRoutesFromChildren: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.createRoutesFromChildren),
/* harmony export */   createRoutesFromElements: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.createRoutesFromElements),
/* harmony export */   createSearchParams: () => (/* binding */ createSearchParams),
/* harmony export */   defer: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.defer),
/* harmony export */   generatePath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.generatePath),
/* harmony export */   isRouteErrorResponse: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.isRouteErrorResponse),
/* harmony export */   json: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.json),
/* harmony export */   matchPath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.matchPath),
/* harmony export */   matchRoutes: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.matchRoutes),
/* harmony export */   parsePath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.parsePath),
/* harmony export */   redirect: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.redirect),
/* harmony export */   redirectDocument: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.redirectDocument),
/* harmony export */   renderMatches: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.renderMatches),
/* harmony export */   replace: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.replace),
/* harmony export */   resolvePath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_3__.resolvePath),
/* harmony export */   unstable_HistoryRouter: () => (/* binding */ HistoryRouter),
/* harmony export */   unstable_usePrompt: () => (/* binding */ usePrompt),
/* harmony export */   useActionData: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useActionData),
/* harmony export */   useAsyncError: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useAsyncError),
/* harmony export */   useAsyncValue: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useAsyncValue),
/* harmony export */   useBeforeUnload: () => (/* binding */ useBeforeUnload),
/* harmony export */   useBlocker: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useBlocker),
/* harmony export */   useFetcher: () => (/* binding */ useFetcher),
/* harmony export */   useFetchers: () => (/* binding */ useFetchers),
/* harmony export */   useFormAction: () => (/* binding */ useFormAction),
/* harmony export */   useHref: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useHref),
/* harmony export */   useInRouterContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useInRouterContext),
/* harmony export */   useLinkClickHandler: () => (/* binding */ useLinkClickHandler),
/* harmony export */   useLoaderData: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useLoaderData),
/* harmony export */   useLocation: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useLocation),
/* harmony export */   useMatch: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useMatch),
/* harmony export */   useMatches: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useMatches),
/* harmony export */   useNavigate: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useNavigate),
/* harmony export */   useNavigation: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useNavigation),
/* harmony export */   useNavigationType: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useNavigationType),
/* harmony export */   useOutlet: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useOutlet),
/* harmony export */   useOutletContext: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useOutletContext),
/* harmony export */   useParams: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useParams),
/* harmony export */   useResolvedPath: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useResolvedPath),
/* harmony export */   useRevalidator: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useRevalidator),
/* harmony export */   useRouteError: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useRouteError),
/* harmony export */   useRouteLoaderData: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useRouteLoaderData),
/* harmony export */   useRoutes: () => (/* reexport safe */ react_router__WEBPACK_IMPORTED_MODULE_2__.useRoutes),
/* harmony export */   useSearchParams: () => (/* binding */ useSearchParams),
/* harmony export */   useSubmit: () => (/* binding */ useSubmit),
/* harmony export */   useViewTransitionState: () => (/* binding */ useViewTransitionState)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js");
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-router */ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js");
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @remix-run/router */ "./node_modules/.pnpm/@remix-run+router@1.23.3/node_modules/@remix-run/router/dist/router.js");
/**
 * React Router DOM v6.30.4
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */







function _extends() {
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
    for (var e = 1; e < arguments.length; e++) {
      var t = arguments[e];
      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
    }
    return n;
  }, _extends.apply(null, arguments);
}
function _objectWithoutPropertiesLoose(r, e) {
  if (null == r) return {};
  var t = {};
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
    if (-1 !== e.indexOf(n)) continue;
    t[n] = r[n];
  }
  return t;
}

const defaultMethod = "get";
const defaultEncType = "application/x-www-form-urlencoded";
function isHtmlElement(object) {
  return object != null && typeof object.tagName === "string";
}
function isButtonElement(object) {
  return isHtmlElement(object) && object.tagName.toLowerCase() === "button";
}
function isFormElement(object) {
  return isHtmlElement(object) && object.tagName.toLowerCase() === "form";
}
function isInputElement(object) {
  return isHtmlElement(object) && object.tagName.toLowerCase() === "input";
}
function isModifiedEvent(event) {
  return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
}
function shouldProcessLinkClick(event, target) {
  return event.button === 0 && (
  // Ignore everything but left clicks
  !target || target === "_self") &&
  // Let browser handle "target=_blank" etc.
  !isModifiedEvent(event) // Ignore clicks with modifier keys
;
}
/**
 * Creates a URLSearchParams object using the given initializer.
 *
 * This is identical to `new URLSearchParams(init)` except it also
 * supports arrays as values in the object form of the initializer
 * instead of just strings. This is convenient when you need multiple
 * values for a given key, but don't want to use an array initializer.
 *
 * For example, instead of:
 *
 *   let searchParams = new URLSearchParams([
 *     ['sort', 'name'],
 *     ['sort', 'price']
 *   ]);
 *
 * you can do:
 *
 *   let searchParams = createSearchParams({
 *     sort: ['name', 'price']
 *   });
 */
function createSearchParams(init) {
  if (init === void 0) {
    init = "";
  }
  return new URLSearchParams(typeof init === "string" || Array.isArray(init) || init instanceof URLSearchParams ? init : Object.keys(init).reduce((memo, key) => {
    let value = init[key];
    return memo.concat(Array.isArray(value) ? value.map(v => [key, v]) : [[key, value]]);
  }, []));
}
function getSearchParamsForLocation(locationSearch, defaultSearchParams) {
  let searchParams = createSearchParams(locationSearch);
  if (defaultSearchParams) {
    // Use `defaultSearchParams.forEach(...)` here instead of iterating of
    // `defaultSearchParams.keys()` to work-around a bug in Firefox related to
    // web extensions. Relevant Bugzilla tickets:
    // https://bugzilla.mozilla.org/show_bug.cgi?id=1414602
    // https://bugzilla.mozilla.org/show_bug.cgi?id=1023984
    defaultSearchParams.forEach((_, key) => {
      if (!searchParams.has(key)) {
        defaultSearchParams.getAll(key).forEach(value => {
          searchParams.append(key, value);
        });
      }
    });
  }
  return searchParams;
}
// One-time check for submitter support
let _formDataSupportsSubmitter = null;
function isFormDataSubmitterSupported() {
  if (_formDataSupportsSubmitter === null) {
    try {
      new FormData(document.createElement("form"),
      // @ts-expect-error if FormData supports the submitter parameter, this will throw
      0);
      _formDataSupportsSubmitter = false;
    } catch (e) {
      _formDataSupportsSubmitter = true;
    }
  }
  return _formDataSupportsSubmitter;
}
const supportedFormEncTypes = new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
function getFormEncType(encType) {
  if (encType != null && !supportedFormEncTypes.has(encType)) {
     true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_warning)(false, "\"" + encType + "\" is not a valid `encType` for `<Form>`/`<fetcher.Form>` " + ("and will default to \"" + defaultEncType + "\"")) : 0;
    return null;
  }
  return encType;
}
function getFormSubmissionInfo(target, basename) {
  let method;
  let action;
  let encType;
  let formData;
  let body;
  if (isFormElement(target)) {
    // When grabbing the action from the element, it will have had the basename
    // prefixed to ensure non-JS scenarios work, so strip it since we'll
    // re-prefix in the router
    let attr = target.getAttribute("action");
    action = attr ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.stripBasename)(attr, basename) : null;
    method = target.getAttribute("method") || defaultMethod;
    encType = getFormEncType(target.getAttribute("enctype")) || defaultEncType;
    formData = new FormData(target);
  } else if (isButtonElement(target) || isInputElement(target) && (target.type === "submit" || target.type === "image")) {
    let form = target.form;
    if (form == null) {
      throw new Error("Cannot submit a <button> or <input type=\"submit\"> without a <form>");
    }
    // <button>/<input type="submit"> may override attributes of <form>
    // When grabbing the action from the element, it will have had the basename
    // prefixed to ensure non-JS scenarios work, so strip it since we'll
    // re-prefix in the router
    let attr = target.getAttribute("formaction") || form.getAttribute("action");
    action = attr ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.stripBasename)(attr, basename) : null;
    method = target.getAttribute("formmethod") || form.getAttribute("method") || defaultMethod;
    encType = getFormEncType(target.getAttribute("formenctype")) || getFormEncType(form.getAttribute("enctype")) || defaultEncType;
    // Build a FormData object populated from a form and submitter
    formData = new FormData(form, target);
    // If this browser doesn't support the `FormData(el, submitter)` format,
    // then tack on the submitter value at the end.  This is a lightweight
    // solution that is not 100% spec compliant.  For complete support in older
    // browsers, consider using the `formdata-submitter-polyfill` package
    if (!isFormDataSubmitterSupported()) {
      let {
        name,
        type,
        value
      } = target;
      if (type === "image") {
        let prefix = name ? name + "." : "";
        formData.append(prefix + "x", "0");
        formData.append(prefix + "y", "0");
      } else if (name) {
        formData.append(name, value);
      }
    }
  } else if (isHtmlElement(target)) {
    throw new Error("Cannot submit element that is not <form>, <button>, or " + "<input type=\"submit|image\">");
  } else {
    method = defaultMethod;
    action = null;
    encType = defaultEncType;
    body = target;
  }
  // Send body for <Form encType="text/plain" so we encode it into text
  if (formData && encType === "text/plain") {
    body = formData;
    formData = undefined;
  }
  return {
    action,
    method: method.toLowerCase(),
    encType,
    formData,
    body
  };
}

const _excluded = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "viewTransition"],
  _excluded2 = ["aria-current", "caseSensitive", "className", "end", "style", "to", "viewTransition", "children"],
  _excluded3 = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "viewTransition"];
// HEY YOU! DON'T TOUCH THIS VARIABLE!
//
// It is replaced with the proper version at build time via a babel plugin in
// the rollup config.
//
// Export a global property onto the window for React Router detection by the
// Core Web Vitals Technology Report.  This way they can configure the `wappalyzer`
// to detect and properly classify live websites as being built with React Router:
// https://github.com/HTTPArchive/wappalyzer/blob/main/src/technologies/r.json
const REACT_ROUTER_VERSION = "6";
try {
  window.__reactRouterVersion = REACT_ROUTER_VERSION;
} catch (e) {
  // no-op
}
function createBrowserRouter(routes, opts) {
  return (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createRouter)({
    basename: opts == null ? void 0 : opts.basename,
    future: _extends({}, opts == null ? void 0 : opts.future, {
      v7_prependBasename: true
    }),
    history: (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createBrowserHistory)({
      window: opts == null ? void 0 : opts.window
    }),
    hydrationData: (opts == null ? void 0 : opts.hydrationData) || parseHydrationData(),
    routes,
    mapRouteProperties: react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_mapRouteProperties,
    dataStrategy: opts == null ? void 0 : opts.dataStrategy,
    patchRoutesOnNavigation: opts == null ? void 0 : opts.patchRoutesOnNavigation,
    window: opts == null ? void 0 : opts.window
  }).initialize();
}
function createHashRouter(routes, opts) {
  return (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createRouter)({
    basename: opts == null ? void 0 : opts.basename,
    future: _extends({}, opts == null ? void 0 : opts.future, {
      v7_prependBasename: true
    }),
    history: (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createHashHistory)({
      window: opts == null ? void 0 : opts.window
    }),
    hydrationData: (opts == null ? void 0 : opts.hydrationData) || parseHydrationData(),
    routes,
    mapRouteProperties: react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_mapRouteProperties,
    dataStrategy: opts == null ? void 0 : opts.dataStrategy,
    patchRoutesOnNavigation: opts == null ? void 0 : opts.patchRoutesOnNavigation,
    window: opts == null ? void 0 : opts.window
  }).initialize();
}
function parseHydrationData() {
  var _window;
  let state = (_window = window) == null ? void 0 : _window.__staticRouterHydrationData;
  if (state && state.errors) {
    state = _extends({}, state, {
      errors: deserializeErrors(state.errors)
    });
  }
  return state;
}
function deserializeErrors(errors) {
  if (!errors) return null;
  let entries = Object.entries(errors);
  let serialized = {};
  for (let [key, val] of entries) {
    // Hey you!  If you change this, please change the corresponding logic in
    // serializeErrors in react-router-dom/server.tsx :)
    if (val && val.__type === "RouteErrorResponse") {
      serialized[key] = new react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_ErrorResponseImpl(val.status, val.statusText, val.data, val.internal === true);
    } else if (val && val.__type === "Error") {
      // Attempt to reconstruct the right type of Error (i.e., ReferenceError)
      if (val.__subType) {
        let ErrorConstructor = window[val.__subType];
        if (typeof ErrorConstructor === "function") {
          try {
            // @ts-expect-error
            let error = new ErrorConstructor(val.message);
            // Wipe away the client-side stack trace.  Nothing to fill it in with
            // because we don't serialize SSR stack traces for security reasons
            error.stack = "";
            serialized[key] = error;
          } catch (e) {
            // no-op - fall through and create a normal Error
          }
        }
      }
      if (serialized[key] == null) {
        let error = new Error(val.message);
        // Wipe away the client-side stack trace.  Nothing to fill it in with
        // because we don't serialize SSR stack traces for security reasons
        error.stack = "";
        serialized[key] = error;
      }
    } else {
      serialized[key] = val;
    }
  }
  return serialized;
}
const ViewTransitionContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({
  isTransitioning: false
});
if (true) {
  ViewTransitionContext.displayName = "ViewTransition";
}
const FetchersContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(new Map());
if (true) {
  FetchersContext.displayName = "Fetchers";
}
//#endregion
////////////////////////////////////////////////////////////////////////////////
//#region Components
////////////////////////////////////////////////////////////////////////////////
/**
  Webpack + React 17 fails to compile on any of the following because webpack
  complains that `startTransition` doesn't exist in `React`:
  * import { startTransition } from "react"
  * import * as React from from "react";
    "startTransition" in React ? React.startTransition(() => setState()) : setState()
  * import * as React from from "react";
    "startTransition" in React ? React["startTransition"](() => setState()) : setState()

  Moving it to a constant such as the following solves the Webpack/React 17 issue:
  * import * as React from from "react";
    const START_TRANSITION = "startTransition";
    START_TRANSITION in React ? React[START_TRANSITION](() => setState()) : setState()

  However, that introduces webpack/terser minification issues in production builds
  in React 18 where minification/obfuscation ends up removing the call of
  React.startTransition entirely from the first half of the ternary.  Grabbing
  this exported reference once up front resolves that issue.

  See https://github.com/remix-run/react-router/issues/10579
*/
const START_TRANSITION = "startTransition";
const startTransitionImpl = react__WEBPACK_IMPORTED_MODULE_0__[START_TRANSITION];
const FLUSH_SYNC = "flushSync";
const flushSyncImpl = /*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_1__, 2)))[FLUSH_SYNC];
const USE_ID = "useId";
const useIdImpl = react__WEBPACK_IMPORTED_MODULE_0__[USE_ID];
function startTransitionSafe(cb) {
  if (startTransitionImpl) {
    startTransitionImpl(cb);
  } else {
    cb();
  }
}
function flushSyncSafe(cb) {
  if (flushSyncImpl) {
    flushSyncImpl(cb);
  } else {
    cb();
  }
}
class Deferred {
  constructor() {
    this.status = "pending";
    this.promise = new Promise((resolve, reject) => {
      this.resolve = value => {
        if (this.status === "pending") {
          this.status = "resolved";
          resolve(value);
        }
      };
      this.reject = reason => {
        if (this.status === "pending") {
          this.status = "rejected";
          reject(reason);
        }
      };
    });
  }
}
/**
 * Given a Remix Router instance, render the appropriate UI
 */
function RouterProvider(_ref) {
  let {
    fallbackElement,
    router,
    future
  } = _ref;
  let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState(router.state);
  let [pendingState, setPendingState] = react__WEBPACK_IMPORTED_MODULE_0__.useState();
  let [vtContext, setVtContext] = react__WEBPACK_IMPORTED_MODULE_0__.useState({
    isTransitioning: false
  });
  let [renderDfd, setRenderDfd] = react__WEBPACK_IMPORTED_MODULE_0__.useState();
  let [transition, setTransition] = react__WEBPACK_IMPORTED_MODULE_0__.useState();
  let [interruption, setInterruption] = react__WEBPACK_IMPORTED_MODULE_0__.useState();
  let fetcherData = react__WEBPACK_IMPORTED_MODULE_0__.useRef(new Map());
  let {
    v7_startTransition
  } = future || {};
  let optInStartTransition = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(cb => {
    if (v7_startTransition) {
      startTransitionSafe(cb);
    } else {
      cb();
    }
  }, [v7_startTransition]);
  let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((newState, _ref2) => {
    let {
      deletedFetchers,
      flushSync: flushSync,
      viewTransitionOpts: viewTransitionOpts
    } = _ref2;
    newState.fetchers.forEach((fetcher, key) => {
      if (fetcher.data !== undefined) {
        fetcherData.current.set(key, fetcher.data);
      }
    });
    deletedFetchers.forEach(key => fetcherData.current.delete(key));
    let isViewTransitionUnavailable = router.window == null || router.window.document == null || typeof router.window.document.startViewTransition !== "function";
    // If this isn't a view transition or it's not available in this browser,
    // just update and be done with it
    if (!viewTransitionOpts || isViewTransitionUnavailable) {
      if (flushSync) {
        flushSyncSafe(() => setStateImpl(newState));
      } else {
        optInStartTransition(() => setStateImpl(newState));
      }
      return;
    }
    // flushSync + startViewTransition
    if (flushSync) {
      // Flush through the context to mark DOM elements as transition=ing
      flushSyncSafe(() => {
        // Cancel any pending transitions
        if (transition) {
          renderDfd && renderDfd.resolve();
          transition.skipTransition();
        }
        setVtContext({
          isTransitioning: true,
          flushSync: true,
          currentLocation: viewTransitionOpts.currentLocation,
          nextLocation: viewTransitionOpts.nextLocation
        });
      });
      // Update the DOM
      let t = router.window.document.startViewTransition(() => {
        flushSyncSafe(() => setStateImpl(newState));
      });
      // Clean up after the animation completes
      t.finished.finally(() => {
        flushSyncSafe(() => {
          setRenderDfd(undefined);
          setTransition(undefined);
          setPendingState(undefined);
          setVtContext({
            isTransitioning: false
          });
        });
      });
      flushSyncSafe(() => setTransition(t));
      return;
    }
    // startTransition + startViewTransition
    if (transition) {
      // Interrupting an in-progress transition, cancel and let everything flush
      // out, and then kick off a new transition from the interruption state
      renderDfd && renderDfd.resolve();
      transition.skipTransition();
      setInterruption({
        state: newState,
        currentLocation: viewTransitionOpts.currentLocation,
        nextLocation: viewTransitionOpts.nextLocation
      });
    } else {
      // Completed navigation update with opted-in view transitions, let 'er rip
      setPendingState(newState);
      setVtContext({
        isTransitioning: true,
        flushSync: false,
        currentLocation: viewTransitionOpts.currentLocation,
        nextLocation: viewTransitionOpts.nextLocation
      });
    }
  }, [router.window, transition, renderDfd, fetcherData, optInStartTransition]);
  // Need to use a layout effect here so we are subscribed early enough to
  // pick up on any render-driven redirects/navigations (useEffect/<Navigate>)
  react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => router.subscribe(setState), [router, setState]);
  // When we start a view transition, create a Deferred we can use for the
  // eventual "completed" render
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (vtContext.isTransitioning && !vtContext.flushSync) {
      setRenderDfd(new Deferred());
    }
  }, [vtContext]);
  // Once the deferred is created, kick off startViewTransition() to update the
  // DOM and then wait on the Deferred to resolve (indicating the DOM update has
  // happened)
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (renderDfd && pendingState && router.window) {
      let newState = pendingState;
      let renderPromise = renderDfd.promise;
      let transition = router.window.document.startViewTransition(async () => {
        optInStartTransition(() => setStateImpl(newState));
        await renderPromise;
      });
      transition.finished.finally(() => {
        setRenderDfd(undefined);
        setTransition(undefined);
        setPendingState(undefined);
        setVtContext({
          isTransitioning: false
        });
      });
      setTransition(transition);
    }
  }, [optInStartTransition, pendingState, renderDfd, router.window]);
  // When the new location finally renders and is committed to the DOM, this
  // effect will run to resolve the transition
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (renderDfd && pendingState && state.location.key === pendingState.location.key) {
      renderDfd.resolve();
    }
  }, [renderDfd, transition, state.location, pendingState]);
  // If we get interrupted with a new navigation during a transition, we skip
  // the active transition, let it cleanup, then kick it off again here
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!vtContext.isTransitioning && interruption) {
      setPendingState(interruption.state);
      setVtContext({
        isTransitioning: true,
        flushSync: false,
        currentLocation: interruption.currentLocation,
        nextLocation: interruption.nextLocation
      });
      setInterruption(undefined);
    }
  }, [vtContext.isTransitioning, interruption]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
     true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_warning)(fallbackElement == null || !router.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using " + "`v7_partialHydration`, use a `HydrateFallback` component instead") : 0;
    // Only log this once on initial mount
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);
  let navigator = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    return {
      createHref: router.createHref,
      encodeLocation: router.encodeLocation,
      go: n => router.navigate(n),
      push: (to, state, opts) => router.navigate(to, {
        state,
        preventScrollReset: opts == null ? void 0 : opts.preventScrollReset
      }),
      replace: (to, state, opts) => router.navigate(to, {
        replace: true,
        state,
        preventScrollReset: opts == null ? void 0 : opts.preventScrollReset
      })
    };
  }, [router]);
  let basename = router.basename || "/";
  let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    router,
    navigator,
    static: false,
    basename
  }), [router, navigator, basename]);
  let routerFuture = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    v7_relativeSplatPath: router.future.v7_relativeSplatPath
  }), [router.future.v7_relativeSplatPath]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_logV6DeprecationWarnings)(future, router.future), [future, router.future]);
  // The fragment and {null} here are important!  We need them to keep React 18's
  // useId happy when we are server-rendering since we may have a <script> here
  // containing the hydrated server-side staticContext (from StaticRouterProvider).
  // useId relies on the component tree structure to generate deterministic id's
  // so we need to ensure it remains the same on the client even though
  // we don't need the <script> tag
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_DataRouterContext.Provider, {
    value: dataRouterContext
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_DataRouterStateContext.Provider, {
    value: state
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(FetchersContext.Provider, {
    value: fetcherData.current
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ViewTransitionContext.Provider, {
    value: vtContext
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.Router, {
    basename: basename,
    location: state.location,
    navigationType: state.historyAction,
    navigator: navigator,
    future: routerFuture
  }, state.initialized || router.future.v7_partialHydration ? (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(MemoizedDataRoutes, {
    routes: router.routes,
    future: router.future,
    state: state
  })) : fallbackElement))))), null);
}
// Memoize to avoid re-renders when updating `ViewTransitionContext`
const MemoizedDataRoutes = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.memo(DataRoutes);
function DataRoutes(_ref3) {
  let {
    routes,
    future,
    state
  } = _ref3;
  return (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_useRoutesImpl)(routes, undefined, state, future);
}
/**
 * A `<Router>` for use in web browsers. Provides the cleanest URLs.
 */
function BrowserRouter(_ref4) {
  let {
    basename,
    children,
    future,
    window
  } = _ref4;
  let historyRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  if (historyRef.current == null) {
    historyRef.current = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createBrowserHistory)({
      window,
      v5Compat: true
    });
  }
  let history = historyRef.current;
  let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({
    action: history.action,
    location: history.location
  });
  let {
    v7_startTransition
  } = future || {};
  let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => {
    v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState);
  }, [setStateImpl, v7_startTransition]);
  react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_logV6DeprecationWarnings)(future), [future]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.Router, {
    basename: basename,
    children: children,
    location: state.location,
    navigationType: state.action,
    navigator: history,
    future: future
  });
}
/**
 * A `<Router>` for use in web browsers. Stores the location in the hash
 * portion of the URL so it is not sent to the server.
 */
function HashRouter(_ref5) {
  let {
    basename,
    children,
    future,
    window
  } = _ref5;
  let historyRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  if (historyRef.current == null) {
    historyRef.current = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createHashHistory)({
      window,
      v5Compat: true
    });
  }
  let history = historyRef.current;
  let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({
    action: history.action,
    location: history.location
  });
  let {
    v7_startTransition
  } = future || {};
  let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => {
    v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState);
  }, [setStateImpl, v7_startTransition]);
  react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_logV6DeprecationWarnings)(future), [future]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.Router, {
    basename: basename,
    children: children,
    location: state.location,
    navigationType: state.action,
    navigator: history,
    future: future
  });
}
/**
 * A `<Router>` that accepts a pre-instantiated history object. It's important
 * to note that using your own history object is highly discouraged and may add
 * two versions of the history library to your bundles unless you use the same
 * version of the history library that React Router uses internally.
 */
function HistoryRouter(_ref6) {
  let {
    basename,
    children,
    future,
    history
  } = _ref6;
  let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({
    action: history.action,
    location: history.location
  });
  let {
    v7_startTransition
  } = future || {};
  let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => {
    v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState);
  }, [setStateImpl, v7_startTransition]);
  react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_logV6DeprecationWarnings)(future), [future]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.Router, {
    basename: basename,
    children: children,
    location: state.location,
    navigationType: state.action,
    navigator: history,
    future: future
  });
}
if (true) {
  HistoryRouter.displayName = "unstable_HistoryRouter";
}
const isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
const ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;
/**
 * The public API for rendering a history-aware `<a>`.
 */
const Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function LinkWithRef(_ref7, ref) {
  let {
      onClick,
      relative,
      reloadDocument,
      replace,
      state,
      target,
      to,
      preventScrollReset,
      viewTransition
    } = _ref7,
    rest = _objectWithoutPropertiesLoose(_ref7, _excluded);
  let {
    basename
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_NavigationContext);
  // Rendered into <a href> for absolute URLs
  let absoluteHref;
  let isExternal = false;
  if (typeof to === "string" && ABSOLUTE_URL_REGEX.test(to)) {
    // Render the absolute href server- and client-side
    absoluteHref = to;
    // Only check for external origins client-side
    if (isBrowser) {
      try {
        let currentUrl = new URL(window.location.href);
        let targetUrl = to.startsWith("//") ? new URL(currentUrl.protocol + to) : new URL(to);
        let path = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.stripBasename)(targetUrl.pathname, basename);
        if (targetUrl.origin === currentUrl.origin && path != null) {
          // Strip the protocol/origin/basename for same-origin absolute URLs
          to = path + targetUrl.search + targetUrl.hash;
        } else {
          isExternal = true;
        }
      } catch (e) {
        // We can't do external URL detection without a valid URL
         true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_warning)(false, "<Link to=\"" + to + "\"> contains an invalid URL which will probably break " + "when clicked - please update to a valid URL path.") : 0;
      }
    }
  }
  // Rendered into <a href> for relative URLs
  let href = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useHref)(to, {
    relative
  });
  let internalOnClick = useLinkClickHandler(to, {
    replace,
    state,
    target,
    preventScrollReset,
    relative,
    viewTransition
  });
  function handleClick(event) {
    if (onClick) onClick(event);
    if (!event.defaultPrevented) {
      internalOnClick(event);
    }
  }
  return (
    /*#__PURE__*/
    // eslint-disable-next-line jsx-a11y/anchor-has-content
    react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", _extends({}, rest, {
      href: absoluteHref || href,
      onClick: isExternal || reloadDocument ? onClick : handleClick,
      ref: ref,
      target: target
    }))
  );
});
if (true) {
  Link.displayName = "Link";
}
/**
 * A `<Link>` wrapper that knows if it's "active" or not.
 */
const NavLink = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function NavLinkWithRef(_ref8, ref) {
  let {
      "aria-current": ariaCurrentProp = "page",
      caseSensitive = false,
      className: classNameProp = "",
      end = false,
      style: styleProp,
      to,
      viewTransition,
      children
    } = _ref8,
    rest = _objectWithoutPropertiesLoose(_ref8, _excluded2);
  let path = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useResolvedPath)(to, {
    relative: rest.relative
  });
  let location = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
  let routerState = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_DataRouterStateContext);
  let {
    navigator,
    basename
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_NavigationContext);
  let isTransitioning = routerState != null &&
  // Conditional usage is OK here because the usage of a data router is static
  // eslint-disable-next-line react-hooks/rules-of-hooks
  useViewTransitionState(path) && viewTransition === true;
  let toPathname = navigator.encodeLocation ? navigator.encodeLocation(path).pathname : path.pathname;
  let locationPathname = location.pathname;
  let nextLocationPathname = routerState && routerState.navigation && routerState.navigation.location ? routerState.navigation.location.pathname : null;
  if (!caseSensitive) {
    locationPathname = locationPathname.toLowerCase();
    nextLocationPathname = nextLocationPathname ? nextLocationPathname.toLowerCase() : null;
    toPathname = toPathname.toLowerCase();
  }
  if (nextLocationPathname && basename) {
    nextLocationPathname = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.stripBasename)(nextLocationPathname, basename) || nextLocationPathname;
  }
  // If the `to` has a trailing slash, look at that exact spot.  Otherwise,
  // we're looking for a slash _after_ what's in `to`.  For example:
  //
  // <NavLink to="/users"> and <NavLink to="/users/">
  // both want to look for a / at index 6 to match URL `/users/matt`
  const endSlashPosition = toPathname !== "/" && toPathname.endsWith("/") ? toPathname.length - 1 : toPathname.length;
  let isActive = locationPathname === toPathname || !end && locationPathname.startsWith(toPathname) && locationPathname.charAt(endSlashPosition) === "/";
  let isPending = nextLocationPathname != null && (nextLocationPathname === toPathname || !end && nextLocationPathname.startsWith(toPathname) && nextLocationPathname.charAt(toPathname.length) === "/");
  let renderProps = {
    isActive,
    isPending,
    isTransitioning
  };
  let ariaCurrent = isActive ? ariaCurrentProp : undefined;
  let className;
  if (typeof classNameProp === "function") {
    className = classNameProp(renderProps);
  } else {
    // If the className prop is not a function, we use a default `active`
    // class for <NavLink />s that are active. In v5 `active` was the default
    // value for `activeClassName`, but we are removing that API and can still
    // use the old default behavior for a cleaner upgrade path and keep the
    // simple styling rules working as they currently do.
    className = [classNameProp, isActive ? "active" : null, isPending ? "pending" : null, isTransitioning ? "transitioning" : null].filter(Boolean).join(" ");
  }
  let style = typeof styleProp === "function" ? styleProp(renderProps) : styleProp;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Link, _extends({}, rest, {
    "aria-current": ariaCurrent,
    className: className,
    ref: ref,
    style: style,
    to: to,
    viewTransition: viewTransition
  }), typeof children === "function" ? children(renderProps) : children);
});
if (true) {
  NavLink.displayName = "NavLink";
}
/**
 * A `@remix-run/router`-aware `<form>`. It behaves like a normal form except
 * that the interaction with the server is with `fetch` instead of new document
 * requests, allowing components to add nicer UX to the page as the form is
 * submitted and returns with data.
 */
const Form = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((_ref9, forwardedRef) => {
  let {
      fetcherKey,
      navigate,
      reloadDocument,
      replace,
      state,
      method = defaultMethod,
      action,
      onSubmit,
      relative,
      preventScrollReset,
      viewTransition
    } = _ref9,
    props = _objectWithoutPropertiesLoose(_ref9, _excluded3);
  let submit = useSubmit();
  let formAction = useFormAction(action, {
    relative
  });
  let formMethod = method.toLowerCase() === "get" ? "get" : "post";
  let submitHandler = event => {
    onSubmit && onSubmit(event);
    if (event.defaultPrevented) return;
    event.preventDefault();
    let submitter = event.nativeEvent.submitter;
    let submitMethod = (submitter == null ? void 0 : submitter.getAttribute("formmethod")) || method;
    submit(submitter || event.currentTarget, {
      fetcherKey,
      method: submitMethod,
      navigate,
      replace,
      state,
      relative,
      preventScrollReset,
      viewTransition
    });
  };
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("form", _extends({
    ref: forwardedRef,
    method: formMethod,
    action: formAction,
    onSubmit: reloadDocument ? onSubmit : submitHandler
  }, props));
});
if (true) {
  Form.displayName = "Form";
}
/**
 * This component will emulate the browser's scroll restoration on location
 * changes.
 */
function ScrollRestoration(_ref0) {
  let {
    getKey,
    storageKey
  } = _ref0;
  useScrollRestoration({
    getKey,
    storageKey
  });
  return null;
}
if (true) {
  ScrollRestoration.displayName = "ScrollRestoration";
}
//#endregion
////////////////////////////////////////////////////////////////////////////////
//#region Hooks
////////////////////////////////////////////////////////////////////////////////
var DataRouterHook;
(function (DataRouterHook) {
  DataRouterHook["UseScrollRestoration"] = "useScrollRestoration";
  DataRouterHook["UseSubmit"] = "useSubmit";
  DataRouterHook["UseSubmitFetcher"] = "useSubmitFetcher";
  DataRouterHook["UseFetcher"] = "useFetcher";
  DataRouterHook["useViewTransitionState"] = "useViewTransitionState";
})(DataRouterHook || (DataRouterHook = {}));
var DataRouterStateHook;
(function (DataRouterStateHook) {
  DataRouterStateHook["UseFetcher"] = "useFetcher";
  DataRouterStateHook["UseFetchers"] = "useFetchers";
  DataRouterStateHook["UseScrollRestoration"] = "useScrollRestoration";
})(DataRouterStateHook || (DataRouterStateHook = {}));
// Internal hooks
function getDataRouterConsoleError(hookName) {
  return hookName + " must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router.";
}
function useDataRouterContext(hookName) {
  let ctx = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_DataRouterContext);
  !ctx ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0;
  return ctx;
}
function useDataRouterState(hookName) {
  let state = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_DataRouterStateContext);
  !state ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0;
  return state;
}
// External hooks
/**
 * Handles the click behavior for router `<Link>` components. This is useful if
 * you need to create custom `<Link>` components with the same click behavior we
 * use in our exported `<Link>`.
 */
function useLinkClickHandler(to, _temp) {
  let {
    target,
    replace: replaceProp,
    state,
    preventScrollReset,
    relative,
    viewTransition
  } = _temp === void 0 ? {} : _temp;
  let navigate = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useNavigate)();
  let location = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
  let path = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useResolvedPath)(to, {
    relative
  });
  return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    if (shouldProcessLinkClick(event, target)) {
      event.preventDefault();
      // If the URL hasn't changed, a regular <a> will do a replace instead of
      // a push, so do the same here unless the replace prop is explicitly set
      let replace = replaceProp !== undefined ? replaceProp : (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createPath)(location) === (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createPath)(path);
      navigate(to, {
        replace,
        state,
        preventScrollReset,
        relative,
        viewTransition
      });
    }
  }, [location, navigate, path, replaceProp, state, target, to, preventScrollReset, relative, viewTransition]);
}
/**
 * A convenient wrapper for reading and writing search parameters via the
 * URLSearchParams interface.
 */
function useSearchParams(defaultInit) {
   true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_warning)(typeof URLSearchParams !== "undefined", "You cannot use the `useSearchParams` hook in a browser that does not " + "support the URLSearchParams API. If you need to support Internet " + "Explorer 11, we recommend you load a polyfill such as " + "https://github.com/ungap/url-search-params.") : 0;
  let defaultSearchParamsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(createSearchParams(defaultInit));
  let hasSetSearchParamsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  let location = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
  let searchParams = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() =>
  // Only merge in the defaults if we haven't yet called setSearchParams.
  // Once we call that we want those to take precedence, otherwise you can't
  // remove a param with setSearchParams({}) if it has an initial value
  getSearchParamsForLocation(location.search, hasSetSearchParamsRef.current ? null : defaultSearchParamsRef.current), [location.search]);
  let navigate = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useNavigate)();
  let setSearchParams = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((nextInit, navigateOptions) => {
    const newSearchParams = createSearchParams(typeof nextInit === "function" ? nextInit(searchParams) : nextInit);
    hasSetSearchParamsRef.current = true;
    navigate("?" + newSearchParams, navigateOptions);
  }, [navigate, searchParams]);
  return [searchParams, setSearchParams];
}
function validateClientSideSubmission() {
  if (typeof document === "undefined") {
    throw new Error("You are calling submit during the server render. " + "Try calling submit within a `useEffect` or callback instead.");
  }
}
let fetcherId = 0;
let getUniqueFetcherId = () => "__" + String(++fetcherId) + "__";
/**
 * Returns a function that may be used to programmatically submit a form (or
 * some arbitrary data) to the server.
 */
function useSubmit() {
  let {
    router
  } = useDataRouterContext(DataRouterHook.UseSubmit);
  let {
    basename
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_NavigationContext);
  let currentRouteId = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_useRouteId)();
  return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (target, options) {
    if (options === void 0) {
      options = {};
    }
    validateClientSideSubmission();
    let {
      action,
      method,
      encType,
      formData,
      body
    } = getFormSubmissionInfo(target, basename);
    if (options.navigate === false) {
      let key = options.fetcherKey || getUniqueFetcherId();
      router.fetch(key, currentRouteId, options.action || action, {
        preventScrollReset: options.preventScrollReset,
        formData,
        body,
        formMethod: options.method || method,
        formEncType: options.encType || encType,
        flushSync: options.flushSync
      });
    } else {
      router.navigate(options.action || action, {
        preventScrollReset: options.preventScrollReset,
        formData,
        body,
        formMethod: options.method || method,
        formEncType: options.encType || encType,
        replace: options.replace,
        state: options.state,
        fromRouteId: currentRouteId,
        flushSync: options.flushSync,
        viewTransition: options.viewTransition
      });
    }
  }, [router, basename, currentRouteId]);
}
// v7: Eventually we should deprecate this entirely in favor of using the
// router method directly?
function useFormAction(action, _temp2) {
  let {
    relative
  } = _temp2 === void 0 ? {} : _temp2;
  let {
    basename
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_NavigationContext);
  let routeContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_RouteContext);
  !routeContext ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, "useFormAction must be used inside a RouteContext") : 0 : void 0;
  let [match] = routeContext.matches.slice(-1);
  // Shallow clone path so we can modify it below, otherwise we modify the
  // object referenced by useMemo inside useResolvedPath
  let path = _extends({}, (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useResolvedPath)(action ? action : ".", {
    relative
  }));
  // If no action was specified, browsers will persist current search params
  // when determining the path, so match that behavior
  // https://github.com/remix-run/remix/issues/927
  let location = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
  if (action == null) {
    // Safe to write to this directly here since if action was undefined, we
    // would have called useResolvedPath(".") which will never include a search
    path.search = location.search;
    // When grabbing search params from the URL, remove any included ?index param
    // since it might not apply to our contextual route.  We add it back based
    // on match.route.index below
    let params = new URLSearchParams(path.search);
    let indexValues = params.getAll("index");
    let hasNakedIndexParam = indexValues.some(v => v === "");
    if (hasNakedIndexParam) {
      params.delete("index");
      indexValues.filter(v => v).forEach(v => params.append("index", v));
      let qs = params.toString();
      path.search = qs ? "?" + qs : "";
    }
  }
  if ((!action || action === ".") && match.route.index) {
    path.search = path.search ? path.search.replace(/^\?/, "?index&") : "?index";
  }
  // If we're operating within a basename, prepend it to the pathname prior
  // to creating the form action.  If this is a root navigation, then just use
  // the raw basename which allows the basename to have full control over the
  // presence of a trailing slash on root actions
  if (basename !== "/") {
    path.pathname = path.pathname === "/" ? basename : (0,react_router__WEBPACK_IMPORTED_MODULE_3__.joinPaths)([basename, path.pathname]);
  }
  return (0,react_router__WEBPACK_IMPORTED_MODULE_3__.createPath)(path);
}
// TODO: (v7) Change the useFetcher generic default from `any` to `unknown`
/**
 * Interacts with route loaders and actions without causing a navigation. Great
 * for any interaction that stays on the same page.
 */
function useFetcher(_temp3) {
  var _route$matches;
  let {
    key
  } = _temp3 === void 0 ? {} : _temp3;
  let {
    router
  } = useDataRouterContext(DataRouterHook.UseFetcher);
  let state = useDataRouterState(DataRouterStateHook.UseFetcher);
  let fetcherData = react__WEBPACK_IMPORTED_MODULE_0__.useContext(FetchersContext);
  let route = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_RouteContext);
  let routeId = (_route$matches = route.matches[route.matches.length - 1]) == null ? void 0 : _route$matches.route.id;
  !fetcherData ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, "useFetcher must be used inside a FetchersContext") : 0 : void 0;
  !route ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, "useFetcher must be used inside a RouteContext") : 0 : void 0;
  !(routeId != null) ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, "useFetcher can only be used on routes that contain a unique \"id\"") : 0 : void 0;
  // Fetcher key handling
  // OK to call conditionally to feature detect `useId`
  // eslint-disable-next-line react-hooks/rules-of-hooks
  let defaultKey = useIdImpl ? useIdImpl() : "";
  let [fetcherKey, setFetcherKey] = react__WEBPACK_IMPORTED_MODULE_0__.useState(key || defaultKey);
  if (key && key !== fetcherKey) {
    setFetcherKey(key);
  } else if (!fetcherKey) {
    // We will only fall through here when `useId` is not available
    setFetcherKey(getUniqueFetcherId());
  }
  // Registration/cleanup
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    router.getFetcher(fetcherKey);
    return () => {
      // Tell the router we've unmounted - if v7_fetcherPersist is enabled this
      // will not delete immediately but instead queue up a delete after the
      // fetcher returns to an `idle` state
      router.deleteFetcher(fetcherKey);
    };
  }, [router, fetcherKey]);
  // Fetcher additions
  let load = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((href, opts) => {
    !routeId ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, "No routeId available for fetcher.load()") : 0 : void 0;
    router.fetch(fetcherKey, routeId, href, opts);
  }, [fetcherKey, routeId, router]);
  let submitImpl = useSubmit();
  let submit = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((target, opts) => {
    submitImpl(target, _extends({}, opts, {
      navigate: false,
      fetcherKey
    }));
  }, [fetcherKey, submitImpl]);
  let FetcherForm = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    let FetcherForm = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((props, ref) => {
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Form, _extends({}, props, {
        navigate: false,
        fetcherKey: fetcherKey,
        ref: ref
      }));
    });
    if (true) {
      FetcherForm.displayName = "fetcher.Form";
    }
    return FetcherForm;
  }, [fetcherKey]);
  // Exposed FetcherWithComponents
  let fetcher = state.fetchers.get(fetcherKey) || react_router__WEBPACK_IMPORTED_MODULE_3__.IDLE_FETCHER;
  let data = fetcherData.get(fetcherKey);
  let fetcherWithComponents = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => _extends({
    Form: FetcherForm,
    submit,
    load
  }, fetcher, {
    data
  }), [FetcherForm, submit, load, fetcher, data]);
  return fetcherWithComponents;
}
/**
 * Provides all fetchers currently on the page. Useful for layouts and parent
 * routes that need to provide pending/optimistic UI regarding the fetch.
 */
function useFetchers() {
  let state = useDataRouterState(DataRouterStateHook.UseFetchers);
  return Array.from(state.fetchers.entries()).map(_ref1 => {
    let [key, fetcher] = _ref1;
    return _extends({}, fetcher, {
      key
    });
  });
}
const SCROLL_RESTORATION_STORAGE_KEY = "react-router-scroll-positions";
let savedScrollPositions = {};
/**
 * When rendered inside a RouterProvider, will restore scroll positions on navigations
 */
function useScrollRestoration(_temp4) {
  let {
    getKey,
    storageKey
  } = _temp4 === void 0 ? {} : _temp4;
  let {
    router
  } = useDataRouterContext(DataRouterHook.UseScrollRestoration);
  let {
    restoreScrollPosition,
    preventScrollReset
  } = useDataRouterState(DataRouterStateHook.UseScrollRestoration);
  let {
    basename
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_2__.UNSAFE_NavigationContext);
  let location = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
  let matches = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useMatches)();
  let navigation = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useNavigation)();
  // Trigger manual scroll restoration while we're active
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    window.history.scrollRestoration = "manual";
    return () => {
      window.history.scrollRestoration = "auto";
    };
  }, []);
  // Save positions on pagehide
  usePageHide(react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (navigation.state === "idle") {
      let key = (getKey ? getKey(location, matches) : null) || location.key;
      savedScrollPositions[key] = window.scrollY;
    }
    try {
      sessionStorage.setItem(storageKey || SCROLL_RESTORATION_STORAGE_KEY, JSON.stringify(savedScrollPositions));
    } catch (error) {
       true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_warning)(false, "Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (" + error + ").") : 0;
    }
    window.history.scrollRestoration = "auto";
  }, [storageKey, getKey, navigation.state, location, matches]));
  // Read in any saved scroll locations
  if (typeof document !== "undefined") {
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => {
      try {
        let sessionPositions = sessionStorage.getItem(storageKey || SCROLL_RESTORATION_STORAGE_KEY);
        if (sessionPositions) {
          savedScrollPositions = JSON.parse(sessionPositions);
        }
      } catch (e) {
        // no-op, use default empty object
      }
    }, [storageKey]);
    // Enable scroll restoration in the router
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => {
      let getKeyWithoutBasename = getKey && basename !== "/" ? (location, matches) => getKey(// Strip the basename to match useLocation()
      _extends({}, location, {
        pathname: (0,react_router__WEBPACK_IMPORTED_MODULE_3__.stripBasename)(location.pathname, basename) || location.pathname
      }), matches) : getKey;
      let disableScrollRestoration = router == null ? void 0 : router.enableScrollRestoration(savedScrollPositions, () => window.scrollY, getKeyWithoutBasename);
      return () => disableScrollRestoration && disableScrollRestoration();
    }, [router, basename, getKey]);
    // Restore scrolling when state.restoreScrollPosition changes
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => {
      // Explicit false means don't do anything (used for submissions)
      if (restoreScrollPosition === false) {
        return;
      }
      // been here before, scroll to it
      if (typeof restoreScrollPosition === "number") {
        window.scrollTo(0, restoreScrollPosition);
        return;
      }
      // try to scroll to the hash
      if (location.hash) {
        let el = document.getElementById(decodeURIComponent(location.hash.slice(1)));
        if (el) {
          el.scrollIntoView();
          return;
        }
      }
      // Don't reset if this navigation opted out
      if (preventScrollReset === true) {
        return;
      }
      // otherwise go to the top on new locations
      window.scrollTo(0, 0);
    }, [location, restoreScrollPosition, preventScrollReset]);
  }
}
/**
 * Setup a callback to be fired on the window's `beforeunload` event. This is
 * useful for saving some data to `window.localStorage` just before the page
 * refreshes.
 *
 * Note: The `callback` argument should be a function created with
 * `React.useCallback()`.
 */
function useBeforeUnload(callback, options) {
  let {
    capture
  } = options || {};
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    let opts = capture != null ? {
      capture
    } : undefined;
    window.addEventListener("beforeunload", callback, opts);
    return () => {
      window.removeEventListener("beforeunload", callback, opts);
    };
  }, [callback, capture]);
}
/**
 * Setup a callback to be fired on the window's `pagehide` event. This is
 * useful for saving some data to `window.localStorage` just before the page
 * refreshes.  This event is better supported than beforeunload across browsers.
 *
 * Note: The `callback` argument should be a function created with
 * `React.useCallback()`.
 */
function usePageHide(callback, options) {
  let {
    capture
  } = options || {};
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    let opts = capture != null ? {
      capture
    } : undefined;
    window.addEventListener("pagehide", callback, opts);
    return () => {
      window.removeEventListener("pagehide", callback, opts);
    };
  }, [callback, capture]);
}
/**
 * Wrapper around useBlocker to show a window.confirm prompt to users instead
 * of building a custom UI with useBlocker.
 *
 * Warning: This has *a lot of rough edges* and behaves very differently (and
 * very incorrectly in some cases) across browsers if user click addition
 * back/forward navigations while the confirm is open.  Use at your own risk.
 */
function usePrompt(_ref10) {
  let {
    when,
    message
  } = _ref10;
  let blocker = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useBlocker)(when);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (blocker.state === "blocked") {
      let proceed = window.confirm(message);
      if (proceed) {
        // This timeout is needed to avoid a weird "race" on POP navigations
        // between the `window.history` revert navigation and the result of
        // `window.confirm`
        setTimeout(blocker.proceed, 0);
      } else {
        blocker.reset();
      }
    }
  }, [blocker, message]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (blocker.state === "blocked" && !when) {
      blocker.reset();
    }
  }, [blocker, when]);
}
/**
 * Return a boolean indicating if there is an active view transition to the
 * given href.  You can use this value to render CSS classes or viewTransitionName
 * styles onto your elements
 *
 * @param href The destination href
 * @param [opts.relative] Relative routing type ("route" | "path")
 */
function useViewTransitionState(to, opts) {
  if (opts === void 0) {
    opts = {};
  }
  let vtContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ViewTransitionContext);
  !(vtContext != null) ?  true ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__.UNSAFE_invariant)(false, "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  " + "Did you accidentally import `RouterProvider` from `react-router`?") : 0 : void 0;
  let {
    basename
  } = useDataRouterContext(DataRouterHook.useViewTransitionState);
  let path = (0,react_router__WEBPACK_IMPORTED_MODULE_2__.useResolvedPath)(to, {
    relative: opts.relative
  });
  if (!vtContext.isTransitioning) {
    return false;
  }
  let currentPath = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.stripBasename)(vtContext.currentLocation.pathname, basename) || vtContext.currentLocation.pathname;
  let nextPath = (0,react_router__WEBPACK_IMPORTED_MODULE_3__.stripBasename)(vtContext.nextLocation.pathname, basename) || vtContext.nextLocation.pathname;
  // Transition is active if we're going to or coming from the indicated
  // destination.  This ensures that other PUSH navigations that reverse
  // an indicated transition apply.  I.e., on the list view you have:
  //
  //   <NavLink to="/details/1" viewTransition>
  //
  // If you click the breadcrumb back to the list view:
  //
  //   <NavLink to="/list" viewTransition>
  //
  // We should apply the transition because it's indicated as active going
  // from /list -> /details/1 and therefore should be active on the reverse
  // (even though this isn't strictly a POP reverse)
  return (0,react_router__WEBPACK_IMPORTED_MODULE_3__.matchPath)(path.pathname, nextPath) != null || (0,react_router__WEBPACK_IMPORTED_MODULE_3__.matchPath)(path.pathname, currentPath) != null;
}
//#endregion


//# sourceMappingURL=index.js.map


/***/ },

/***/ "./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-router@6.30.4_react@18.3.1/node_modules/react-router/dist/index.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AbortedDeferredError: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.AbortedDeferredError),
/* harmony export */   Await: () => (/* binding */ Await),
/* harmony export */   MemoryRouter: () => (/* binding */ MemoryRouter),
/* harmony export */   Navigate: () => (/* binding */ Navigate),
/* harmony export */   NavigationType: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.Action),
/* harmony export */   Outlet: () => (/* binding */ Outlet),
/* harmony export */   Route: () => (/* binding */ Route),
/* harmony export */   Router: () => (/* binding */ Router),
/* harmony export */   RouterProvider: () => (/* binding */ RouterProvider),
/* harmony export */   Routes: () => (/* binding */ Routes),
/* harmony export */   UNSAFE_DataRouterContext: () => (/* binding */ DataRouterContext),
/* harmony export */   UNSAFE_DataRouterStateContext: () => (/* binding */ DataRouterStateContext),
/* harmony export */   UNSAFE_LocationContext: () => (/* binding */ LocationContext),
/* harmony export */   UNSAFE_NavigationContext: () => (/* binding */ NavigationContext),
/* harmony export */   UNSAFE_RouteContext: () => (/* binding */ RouteContext),
/* harmony export */   UNSAFE_logV6DeprecationWarnings: () => (/* binding */ logV6DeprecationWarnings),
/* harmony export */   UNSAFE_mapRouteProperties: () => (/* binding */ mapRouteProperties),
/* harmony export */   UNSAFE_useRouteId: () => (/* binding */ useRouteId),
/* harmony export */   UNSAFE_useRoutesImpl: () => (/* binding */ useRoutesImpl),
/* harmony export */   createMemoryRouter: () => (/* binding */ createMemoryRouter),
/* harmony export */   createPath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createPath),
/* harmony export */   createRoutesFromChildren: () => (/* binding */ createRoutesFromChildren),
/* harmony export */   createRoutesFromElements: () => (/* binding */ createRoutesFromChildren),
/* harmony export */   defer: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.defer),
/* harmony export */   generatePath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.generatePath),
/* harmony export */   isRouteErrorResponse: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.isRouteErrorResponse),
/* harmony export */   json: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.json),
/* harmony export */   matchPath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchPath),
/* harmony export */   matchRoutes: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchRoutes),
/* harmony export */   parsePath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.parsePath),
/* harmony export */   redirect: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.redirect),
/* harmony export */   redirectDocument: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.redirectDocument),
/* harmony export */   renderMatches: () => (/* binding */ renderMatches),
/* harmony export */   replace: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.replace),
/* harmony export */   resolvePath: () => (/* reexport safe */ _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolvePath),
/* harmony export */   useActionData: () => (/* binding */ useActionData),
/* harmony export */   useAsyncError: () => (/* binding */ useAsyncError),
/* harmony export */   useAsyncValue: () => (/* binding */ useAsyncValue),
/* harmony export */   useBlocker: () => (/* binding */ useBlocker),
/* harmony export */   useHref: () => (/* binding */ useHref),
/* harmony export */   useInRouterContext: () => (/* binding */ useInRouterContext),
/* harmony export */   useLoaderData: () => (/* binding */ useLoaderData),
/* harmony export */   useLocation: () => (/* binding */ useLocation),
/* harmony export */   useMatch: () => (/* binding */ useMatch),
/* harmony export */   useMatches: () => (/* binding */ useMatches),
/* harmony export */   useNavigate: () => (/* binding */ useNavigate),
/* harmony export */   useNavigation: () => (/* binding */ useNavigation),
/* harmony export */   useNavigationType: () => (/* binding */ useNavigationType),
/* harmony export */   useOutlet: () => (/* binding */ useOutlet),
/* harmony export */   useOutletContext: () => (/* binding */ useOutletContext),
/* harmony export */   useParams: () => (/* binding */ useParams),
/* harmony export */   useResolvedPath: () => (/* binding */ useResolvedPath),
/* harmony export */   useRevalidator: () => (/* binding */ useRevalidator),
/* harmony export */   useRouteError: () => (/* binding */ useRouteError),
/* harmony export */   useRouteLoaderData: () => (/* binding */ useRouteLoaderData),
/* harmony export */   useRoutes: () => (/* binding */ useRoutes)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _remix_run_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @remix-run/router */ "./node_modules/.pnpm/@remix-run+router@1.23.3/node_modules/@remix-run/router/dist/router.js");
/**
 * React Router v6.30.4
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */




function _extends() {
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
    for (var e = 1; e < arguments.length; e++) {
      var t = arguments[e];
      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
    }
    return n;
  }, _extends.apply(null, arguments);
}

// Create react-specific types from the agnostic types in @remix-run/router to
// export from react-router

const DataRouterContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  DataRouterContext.displayName = "DataRouter";
}
const DataRouterStateContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  DataRouterStateContext.displayName = "DataRouterState";
}
const AwaitContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  AwaitContext.displayName = "Await";
}

/**
 * A Navigator is a "location changer"; it's how you get to different locations.
 *
 * Every history instance conforms to the Navigator interface, but the
 * distinction is useful primarily when it comes to the low-level `<Router>` API
 * where both the location and a navigator must be provided separately in order
 * to avoid "tearing" that may occur in a suspense-enabled app if the action
 * and/or location were to be read directly from the history instance.
 */

const NavigationContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  NavigationContext.displayName = "Navigation";
}
const LocationContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  LocationContext.displayName = "Location";
}
const RouteContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({
  outlet: null,
  matches: [],
  isDataRoute: false
});
if (true) {
  RouteContext.displayName = "Route";
}
const RouteErrorContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  RouteErrorContext.displayName = "RouteError";
}

/**
 * Returns the full href for the given "to" value. This is useful for building
 * custom links that are also accessible and preserve right-click behavior.
 *
 * @see https://reactrouter.com/v6/hooks/use-href
 */
function useHref(to, _temp) {
  let {
    relative
  } = _temp === void 0 ? {} : _temp;
  !useInRouterContext() ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the
  // router loaded. We can help them understand how to avoid that.
  "useHref() may be used only in the context of a <Router> component.") : 0 : void 0;
  let {
    basename,
    navigator
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext);
  let {
    hash,
    pathname,
    search
  } = useResolvedPath(to, {
    relative
  });
  let joinedPathname = pathname;

  // If we're operating within a basename, prepend it to the pathname prior
  // to creating the href.  If this is a root navigation, then just use the raw
  // basename which allows the basename to have full control over the presence
  // of a trailing slash on root links
  if (basename !== "/") {
    joinedPathname = pathname === "/" ? basename : (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([basename, pathname]);
  }
  return navigator.createHref({
    pathname: joinedPathname,
    search,
    hash
  });
}

/**
 * Returns true if this component is a descendant of a `<Router>`.
 *
 * @see https://reactrouter.com/v6/hooks/use-in-router-context
 */
function useInRouterContext() {
  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(LocationContext) != null;
}

/**
 * Returns the current location object, which represents the current URL in web
 * browsers.
 *
 * Note: If you're using this it may mean you're doing some of your own
 * "routing" in your app, and we'd like to know what your use case is. We may
 * be able to provide something higher-level to better suit your needs.
 *
 * @see https://reactrouter.com/v6/hooks/use-location
 */
function useLocation() {
  !useInRouterContext() ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the
  // router loaded. We can help them understand how to avoid that.
  "useLocation() may be used only in the context of a <Router> component.") : 0 : void 0;
  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(LocationContext).location;
}

/**
 * Returns the current navigation action which describes how the router came to
 * the current location, either by a pop, push, or replace on the history stack.
 *
 * @see https://reactrouter.com/v6/hooks/use-navigation-type
 */
function useNavigationType() {
  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(LocationContext).navigationType;
}

/**
 * Returns a PathMatch object if the given pattern matches the current URL.
 * This is useful for components that need to know "active" state, e.g.
 * `<NavLink>`.
 *
 * @see https://reactrouter.com/v6/hooks/use-match
 */
function useMatch(pattern) {
  !useInRouterContext() ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the
  // router loaded. We can help them understand how to avoid that.
  "useMatch() may be used only in the context of a <Router> component.") : 0 : void 0;
  let {
    pathname
  } = useLocation();
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchPath)(pattern, (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_decodePath)(pathname)), [pathname, pattern]);
}

/**
 * The interface for the navigate() function returned from useNavigate().
 */

const navigateEffectWarning = "You should call navigate() in a React.useEffect(), not when " + "your component is first rendered.";

// Mute warnings for calls to useNavigate in SSR environments
function useIsomorphicLayoutEffect(cb) {
  let isStatic = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext).static;
  if (!isStatic) {
    // We should be able to get rid of this once react 18.3 is released
    // See: https://github.com/facebook/react/pull/26395
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(cb);
  }
}

/**
 * Returns an imperative method for changing the location. Used by `<Link>`s, but
 * may also be used by other elements to change the location.
 *
 * @see https://reactrouter.com/v6/hooks/use-navigate
 */
function useNavigate() {
  let {
    isDataRoute
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext);
  // Conditional usage is OK here because the usage of a data router is static
  // eslint-disable-next-line react-hooks/rules-of-hooks
  return isDataRoute ? useNavigateStable() : useNavigateUnstable();
}
function useNavigateUnstable() {
  !useInRouterContext() ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the
  // router loaded. We can help them understand how to avoid that.
  "useNavigate() may be used only in the context of a <Router> component.") : 0 : void 0;
  let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterContext);
  let {
    basename,
    future,
    navigator
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext);
  let {
    matches
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext);
  let {
    pathname: locationPathname
  } = useLocation();
  let routePathnamesJson = JSON.stringify((0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_getResolveToMatches)(matches, future.v7_relativeSplatPath));
  let activeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  useIsomorphicLayoutEffect(() => {
    activeRef.current = true;
  });
  let navigate = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (to, options) {
    if (options === void 0) {
      options = {};
    }
     true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(activeRef.current, navigateEffectWarning) : 0;

    // Short circuit here since if this happens on first render the navigate
    // is useless because we haven't wired up our history listener yet
    if (!activeRef.current) return;
    if (typeof to === "number") {
      navigator.go(to);
      return;
    }
    let path = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolveTo)(to, JSON.parse(routePathnamesJson), locationPathname, options.relative === "path");

    // If we're operating within a basename, prepend it to the pathname prior
    // to handing off to history (but only if we're not in a data router,
    // otherwise it'll prepend the basename inside of the router).
    // If this is a root navigation, then we navigate to the raw basename
    // which allows the basename to have full control over the presence of a
    // trailing slash on root links
    if (dataRouterContext == null && basename !== "/") {
      path.pathname = path.pathname === "/" ? basename : (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([basename, path.pathname]);
    }
    (!!options.replace ? navigator.replace : navigator.push)(path, options.state, options);
  }, [basename, navigator, routePathnamesJson, locationPathname, dataRouterContext]);
  return navigate;
}
const OutletContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);

/**
 * Returns the context (if provided) for the child route at this level of the route
 * hierarchy.
 * @see https://reactrouter.com/v6/hooks/use-outlet-context
 */
function useOutletContext() {
  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(OutletContext);
}

/**
 * Returns the element for the child route at this level of the route
 * hierarchy. Used internally by `<Outlet>` to render child routes.
 *
 * @see https://reactrouter.com/v6/hooks/use-outlet
 */
function useOutlet(context) {
  let outlet = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext).outlet;
  if (outlet) {
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(OutletContext.Provider, {
      value: context
    }, outlet);
  }
  return outlet;
}

/**
 * Returns an object of key/value pairs of the dynamic params from the current
 * URL that were matched by the route path.
 *
 * @see https://reactrouter.com/v6/hooks/use-params
 */
function useParams() {
  let {
    matches
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext);
  let routeMatch = matches[matches.length - 1];
  return routeMatch ? routeMatch.params : {};
}

/**
 * Resolves the pathname of the given `to` value against the current location.
 *
 * @see https://reactrouter.com/v6/hooks/use-resolved-path
 */
function useResolvedPath(to, _temp2) {
  let {
    relative
  } = _temp2 === void 0 ? {} : _temp2;
  let {
    future
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext);
  let {
    matches
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext);
  let {
    pathname: locationPathname
  } = useLocation();
  let routePathnamesJson = JSON.stringify((0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_getResolveToMatches)(matches, future.v7_relativeSplatPath));
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolveTo)(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [to, routePathnamesJson, locationPathname, relative]);
}

/**
 * Returns the element of the route that matched the current location, prepared
 * with the correct context to render the remainder of the route tree. Route
 * elements in the tree must render an `<Outlet>` to render their child route's
 * element.
 *
 * @see https://reactrouter.com/v6/hooks/use-routes
 */
function useRoutes(routes, locationArg) {
  return useRoutesImpl(routes, locationArg);
}

// Internal implementation with accept optional param for RouterProvider usage
function useRoutesImpl(routes, locationArg, dataRouterState, future) {
  !useInRouterContext() ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of the
  // router loaded. We can help them understand how to avoid that.
  "useRoutes() may be used only in the context of a <Router> component.") : 0 : void 0;
  let {
    navigator
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext);
  let {
    matches: parentMatches
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext);
  let routeMatch = parentMatches[parentMatches.length - 1];
  let parentParams = routeMatch ? routeMatch.params : {};
  let parentPathname = routeMatch ? routeMatch.pathname : "/";
  let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : "/";
  let parentRoute = routeMatch && routeMatch.route;
  if (true) {
    // You won't get a warning about 2 different <Routes> under a <Route>
    // without a trailing *, but this is a best-effort warning anyway since we
    // cannot even give the warning unless they land at the parent route.
    //
    // Example:
    //
    // <Routes>
    //   {/* This route path MUST end with /* because otherwise
    //       it will never match /blog/post/123 */}
    //   <Route path="blog" element={<Blog />} />
    //   <Route path="blog/feed" element={<BlogFeed />} />
    // </Routes>
    //
    // function Blog() {
    //   return (
    //     <Routes>
    //       <Route path="post/:id" element={<Post />} />
    //     </Routes>
    //   );
    // }
    let parentPath = parentRoute && parentRoute.path || "";
    warningOnce(parentPathname, !parentRoute || parentPath.endsWith("*"), "You rendered descendant <Routes> (or called `useRoutes()`) at " + ("\"" + parentPathname + "\" (under <Route path=\"" + parentPath + "\">) but the ") + "parent route path has no trailing \"*\". This means if you navigate " + "deeper, the parent won't match anymore and therefore the child " + "routes will never render.\n\n" + ("Please change the parent <Route path=\"" + parentPath + "\"> to <Route ") + ("path=\"" + (parentPath === "/" ? "*" : parentPath + "/*") + "\">."));
  }
  let locationFromContext = useLocation();
  let location;
  if (locationArg) {
    var _parsedLocationArg$pa;
    let parsedLocationArg = typeof locationArg === "string" ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.parsePath)(locationArg) : locationArg;
    !(parentPathnameBase === "/" || ((_parsedLocationArg$pa = parsedLocationArg.pathname) == null ? void 0 : _parsedLocationArg$pa.startsWith(parentPathnameBase))) ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, " + "the location pathname must begin with the portion of the URL pathname that was " + ("matched by all parent routes. The current pathname base is \"" + parentPathnameBase + "\" ") + ("but pathname \"" + parsedLocationArg.pathname + "\" was given in the `location` prop.")) : 0 : void 0;
    location = parsedLocationArg;
  } else {
    location = locationFromContext;
  }
  let pathname = location.pathname || "/";
  let remainingPathname = pathname;
  if (parentPathnameBase !== "/") {
    // Determine the remaining pathname by removing the # of URL segments the
    // parentPathnameBase has, instead of removing based on character count.
    // This is because we can't guarantee that incoming/outgoing encodings/
    // decodings will match exactly.
    // We decode paths before matching on a per-segment basis with
    // decodeURIComponent(), but we re-encode pathnames via `new URL()` so they
    // match what `window.location.pathname` would reflect.  Those don't 100%
    // align when it comes to encoded URI characters such as % and &.
    //
    // So we may end up with:
    //   pathname:           "/descendant/a%25b/match"
    //   parentPathnameBase: "/descendant/a%b"
    //
    // And the direct substring removal approach won't work :/
    let parentSegments = parentPathnameBase.replace(/^\//, "").split("/");
    let segments = pathname.replace(/^\//, "").split("/");
    remainingPathname = "/" + segments.slice(parentSegments.length).join("/");
  }
  let matches = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.matchRoutes)(routes, {
    pathname: remainingPathname
  });
  if (true) {
     true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(parentRoute || matches != null, "No routes matched location \"" + location.pathname + location.search + location.hash + "\" ") : 0;
     true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(matches == null || matches[matches.length - 1].route.element !== undefined || matches[matches.length - 1].route.Component !== undefined || matches[matches.length - 1].route.lazy !== undefined, "Matched leaf route at location \"" + location.pathname + location.search + location.hash + "\" " + "does not have an element or Component. This means it will render an <Outlet /> with a " + "null value by default resulting in an \"empty\" page.") : 0;
  }
  let renderedMatches = _renderMatches(matches && matches.map(match => Object.assign({}, match, {
    params: Object.assign({}, parentParams, match.params),
    pathname: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([parentPathnameBase,
    // Re-encode pathnames that were decoded inside matchRoutes
    navigator.encodeLocation ? navigator.encodeLocation(match.pathname).pathname : match.pathname]),
    pathnameBase: match.pathnameBase === "/" ? parentPathnameBase : (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.joinPaths)([parentPathnameBase,
    // Re-encode pathnames that were decoded inside matchRoutes
    navigator.encodeLocation ? navigator.encodeLocation(match.pathnameBase).pathname : match.pathnameBase])
  })), parentMatches, dataRouterState, future);

  // When a user passes in a `locationArg`, the associated routes need to
  // be wrapped in a new `LocationContext.Provider` in order for `useLocation`
  // to use the scoped location instead of the global location.
  if (locationArg && renderedMatches) {
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(LocationContext.Provider, {
      value: {
        location: _extends({
          pathname: "/",
          search: "",
          hash: "",
          state: null,
          key: "default"
        }, location),
        navigationType: _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.Action.Pop
      }
    }, renderedMatches);
  }
  return renderedMatches;
}
function DefaultErrorComponent() {
  let error = useRouteError();
  let message = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.isRouteErrorResponse)(error) ? error.status + " " + error.statusText : error instanceof Error ? error.message : JSON.stringify(error);
  let stack = error instanceof Error ? error.stack : null;
  let lightgrey = "rgba(200,200,200, 0.5)";
  let preStyles = {
    padding: "0.5rem",
    backgroundColor: lightgrey
  };
  let codeStyles = {
    padding: "2px 4px",
    backgroundColor: lightgrey
  };
  let devInfo = null;
  if (true) {
    console.error("Error handled by React Router default ErrorBoundary:", error);
    devInfo = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", null, "\uD83D\uDCBF Hey developer \uD83D\uDC4B"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("code", {
      style: codeStyles
    }, "ErrorBoundary"), " or", " ", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("code", {
      style: codeStyles
    }, "errorElement"), " prop on your route."));
  }
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("h2", null, "Unexpected Application Error!"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("h3", {
    style: {
      fontStyle: "italic"
    }
  }, message), stack ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("pre", {
    style: preStyles
  }, stack) : null, devInfo);
}
const defaultErrorElement = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DefaultErrorComponent, null);
class RenderErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
  constructor(props) {
    super(props);
    this.state = {
      location: props.location,
      revalidation: props.revalidation,
      error: props.error
    };
  }
  static getDerivedStateFromError(error) {
    return {
      error: error
    };
  }
  static getDerivedStateFromProps(props, state) {
    // When we get into an error state, the user will likely click "back" to the
    // previous page that didn't have an error. Because this wraps the entire
    // application, that will have no effect--the error page continues to display.
    // This gives us a mechanism to recover from the error when the location changes.
    //
    // Whether we're in an error state or not, we update the location in state
    // so that when we are in an error state, it gets reset when a new location
    // comes in and the user recovers from the error.
    if (state.location !== props.location || state.revalidation !== "idle" && props.revalidation === "idle") {
      return {
        error: props.error,
        location: props.location,
        revalidation: props.revalidation
      };
    }

    // If we're not changing locations, preserve the location but still surface
    // any new errors that may come through. We retain the existing error, we do
    // this because the error provided from the app state may be cleared without
    // the location changing.
    return {
      error: props.error !== undefined ? props.error : state.error,
      location: state.location,
      revalidation: props.revalidation || state.revalidation
    };
  }
  componentDidCatch(error, errorInfo) {
    console.error("React Router caught the following error during render", error, errorInfo);
  }
  render() {
    return this.state.error !== undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteContext.Provider, {
      value: this.props.routeContext
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteErrorContext.Provider, {
      value: this.state.error,
      children: this.props.component
    })) : this.props.children;
  }
}
function RenderedRoute(_ref) {
  let {
    routeContext,
    match,
    children
  } = _ref;
  let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterContext);

  // Track how deep we got in our render pass to emulate SSR componentDidCatch
  // in a DataStaticRouter
  if (dataRouterContext && dataRouterContext.static && dataRouterContext.staticContext && (match.route.errorElement || match.route.ErrorBoundary)) {
    dataRouterContext.staticContext._deepestRenderedBoundaryId = match.route.id;
  }
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteContext.Provider, {
    value: routeContext
  }, children);
}
function _renderMatches(matches, parentMatches, dataRouterState, future) {
  var _dataRouterState;
  if (parentMatches === void 0) {
    parentMatches = [];
  }
  if (dataRouterState === void 0) {
    dataRouterState = null;
  }
  if (future === void 0) {
    future = null;
  }
  if (matches == null) {
    var _future;
    if (!dataRouterState) {
      return null;
    }
    if (dataRouterState.errors) {
      // Don't bail if we have data router errors so we can render them in the
      // boundary.  Use the pre-matched (or shimmed) matches
      matches = dataRouterState.matches;
    } else if ((_future = future) != null && _future.v7_partialHydration && parentMatches.length === 0 && !dataRouterState.initialized && dataRouterState.matches.length > 0) {
      // Don't bail if we're initializing with partial hydration and we have
      // router matches.  That means we're actively running `patchRoutesOnNavigation`
      // so we should render down the partial matches to the appropriate
      // `HydrateFallback`.  We only do this if `parentMatches` is empty so it
      // only impacts the root matches for `RouterProvider` and no descendant
      // `<Routes>`
      matches = dataRouterState.matches;
    } else {
      return null;
    }
  }
  let renderedMatches = matches;

  // If we have data errors, trim matches to the highest error boundary
  let errors = (_dataRouterState = dataRouterState) == null ? void 0 : _dataRouterState.errors;
  if (errors != null) {
    let errorIndex = renderedMatches.findIndex(m => m.route.id && (errors == null ? void 0 : errors[m.route.id]) !== undefined);
    !(errorIndex >= 0) ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "Could not find a matching route for errors on route IDs: " + Object.keys(errors).join(",")) : 0 : void 0;
    renderedMatches = renderedMatches.slice(0, Math.min(renderedMatches.length, errorIndex + 1));
  }

  // If we're in a partial hydration mode, detect if we need to render down to
  // a given HydrateFallback while we load the rest of the hydration data
  let renderFallback = false;
  let fallbackIndex = -1;
  if (dataRouterState && future && future.v7_partialHydration) {
    for (let i = 0; i < renderedMatches.length; i++) {
      let match = renderedMatches[i];
      // Track the deepest fallback up until the first route without data
      if (match.route.HydrateFallback || match.route.hydrateFallbackElement) {
        fallbackIndex = i;
      }
      if (match.route.id) {
        let {
          loaderData,
          errors
        } = dataRouterState;
        let needsToRunLoader = match.route.loader && loaderData[match.route.id] === undefined && (!errors || errors[match.route.id] === undefined);
        if (match.route.lazy || needsToRunLoader) {
          // We found the first route that's not ready to render (waiting on
          // lazy, or has a loader that hasn't run yet).  Flag that we need to
          // render a fallback and render up until the appropriate fallback
          renderFallback = true;
          if (fallbackIndex >= 0) {
            renderedMatches = renderedMatches.slice(0, fallbackIndex + 1);
          } else {
            renderedMatches = [renderedMatches[0]];
          }
          break;
        }
      }
    }
  }
  return renderedMatches.reduceRight((outlet, match, index) => {
    // Only data routers handle errors/fallbacks
    let error;
    let shouldRenderHydrateFallback = false;
    let errorElement = null;
    let hydrateFallbackElement = null;
    if (dataRouterState) {
      error = errors && match.route.id ? errors[match.route.id] : undefined;
      errorElement = match.route.errorElement || defaultErrorElement;
      if (renderFallback) {
        if (fallbackIndex < 0 && index === 0) {
          warningOnce("route-fallback", false, "No `HydrateFallback` element provided to render during initial hydration");
          shouldRenderHydrateFallback = true;
          hydrateFallbackElement = null;
        } else if (fallbackIndex === index) {
          shouldRenderHydrateFallback = true;
          hydrateFallbackElement = match.route.hydrateFallbackElement || null;
        }
      }
    }
    let matches = parentMatches.concat(renderedMatches.slice(0, index + 1));
    let getChildren = () => {
      let children;
      if (error) {
        children = errorElement;
      } else if (shouldRenderHydrateFallback) {
        children = hydrateFallbackElement;
      } else if (match.route.Component) {
        // Note: This is a de-optimized path since React won't re-use the
        // ReactElement since it's identity changes with each new
        // React.createElement call.  We keep this so folks can use
        // `<Route Component={...}>` in `<Routes>` but generally `Component`
        // usage is only advised in `RouterProvider` when we can convert it to
        // `element` ahead of time.
        children = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(match.route.Component, null);
      } else if (match.route.element) {
        children = match.route.element;
      } else {
        children = outlet;
      }
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RenderedRoute, {
        match: match,
        routeContext: {
          outlet,
          matches,
          isDataRoute: dataRouterState != null
        },
        children: children
      });
    };
    // Only wrap in an error boundary within data router usages when we have an
    // ErrorBoundary/errorElement on this route.  Otherwise let it bubble up to
    // an ancestor ErrorBoundary/errorElement
    return dataRouterState && (match.route.ErrorBoundary || match.route.errorElement || index === 0) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RenderErrorBoundary, {
      location: dataRouterState.location,
      revalidation: dataRouterState.revalidation,
      component: errorElement,
      error: error,
      children: getChildren(),
      routeContext: {
        outlet: null,
        matches,
        isDataRoute: true
      }
    }) : getChildren();
  }, null);
}
var DataRouterHook = /*#__PURE__*/function (DataRouterHook) {
  DataRouterHook["UseBlocker"] = "useBlocker";
  DataRouterHook["UseRevalidator"] = "useRevalidator";
  DataRouterHook["UseNavigateStable"] = "useNavigate";
  return DataRouterHook;
}(DataRouterHook || {});
var DataRouterStateHook = /*#__PURE__*/function (DataRouterStateHook) {
  DataRouterStateHook["UseBlocker"] = "useBlocker";
  DataRouterStateHook["UseLoaderData"] = "useLoaderData";
  DataRouterStateHook["UseActionData"] = "useActionData";
  DataRouterStateHook["UseRouteError"] = "useRouteError";
  DataRouterStateHook["UseNavigation"] = "useNavigation";
  DataRouterStateHook["UseRouteLoaderData"] = "useRouteLoaderData";
  DataRouterStateHook["UseMatches"] = "useMatches";
  DataRouterStateHook["UseRevalidator"] = "useRevalidator";
  DataRouterStateHook["UseNavigateStable"] = "useNavigate";
  DataRouterStateHook["UseRouteId"] = "useRouteId";
  return DataRouterStateHook;
}(DataRouterStateHook || {});
function getDataRouterConsoleError(hookName) {
  return hookName + " must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router.";
}
function useDataRouterContext(hookName) {
  let ctx = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterContext);
  !ctx ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0;
  return ctx;
}
function useDataRouterState(hookName) {
  let state = react__WEBPACK_IMPORTED_MODULE_0__.useContext(DataRouterStateContext);
  !state ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0;
  return state;
}
function useRouteContext(hookName) {
  let route = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext);
  !route ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, getDataRouterConsoleError(hookName)) : 0 : void 0;
  return route;
}

// Internal version with hookName-aware debugging
function useCurrentRouteId(hookName) {
  let route = useRouteContext(hookName);
  let thisRoute = route.matches[route.matches.length - 1];
  !thisRoute.route.id ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, hookName + " can only be used on routes that contain a unique \"id\"") : 0 : void 0;
  return thisRoute.route.id;
}

/**
 * Returns the ID for the nearest contextual route
 */
function useRouteId() {
  return useCurrentRouteId(DataRouterStateHook.UseRouteId);
}

/**
 * Returns the current navigation, defaulting to an "idle" navigation when
 * no navigation is in progress
 */
function useNavigation() {
  let state = useDataRouterState(DataRouterStateHook.UseNavigation);
  return state.navigation;
}

/**
 * Returns a revalidate function for manually triggering revalidation, as well
 * as the current state of any manual revalidations
 */
function useRevalidator() {
  let dataRouterContext = useDataRouterContext(DataRouterHook.UseRevalidator);
  let state = useDataRouterState(DataRouterStateHook.UseRevalidator);
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    revalidate: dataRouterContext.router.revalidate,
    state: state.revalidation
  }), [dataRouterContext.router.revalidate, state.revalidation]);
}

/**
 * Returns the active route matches, useful for accessing loaderData for
 * parent/child routes or the route "handle" property
 */
function useMatches() {
  let {
    matches,
    loaderData
  } = useDataRouterState(DataRouterStateHook.UseMatches);
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => matches.map(m => (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_convertRouteMatchToUiMatch)(m, loaderData)), [matches, loaderData]);
}

/**
 * Returns the loader data for the nearest ancestor Route loader
 */
function useLoaderData() {
  let state = useDataRouterState(DataRouterStateHook.UseLoaderData);
  let routeId = useCurrentRouteId(DataRouterStateHook.UseLoaderData);
  if (state.errors && state.errors[routeId] != null) {
    console.error("You cannot `useLoaderData` in an errorElement (routeId: " + routeId + ")");
    return undefined;
  }
  return state.loaderData[routeId];
}

/**
 * Returns the loaderData for the given routeId
 */
function useRouteLoaderData(routeId) {
  let state = useDataRouterState(DataRouterStateHook.UseRouteLoaderData);
  return state.loaderData[routeId];
}

/**
 * Returns the action data for the nearest ancestor Route action
 */
function useActionData() {
  let state = useDataRouterState(DataRouterStateHook.UseActionData);
  let routeId = useCurrentRouteId(DataRouterStateHook.UseLoaderData);
  return state.actionData ? state.actionData[routeId] : undefined;
}

/**
 * Returns the nearest ancestor Route error, which could be a loader/action
 * error or a render error.  This is intended to be called from your
 * ErrorBoundary/errorElement to display a proper error message.
 */
function useRouteError() {
  var _state$errors;
  let error = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteErrorContext);
  let state = useDataRouterState(DataRouterStateHook.UseRouteError);
  let routeId = useCurrentRouteId(DataRouterStateHook.UseRouteError);

  // If this was a render error, we put it in a RouteError context inside
  // of RenderErrorBoundary
  if (error !== undefined) {
    return error;
  }

  // Otherwise look for errors from our data router state
  return (_state$errors = state.errors) == null ? void 0 : _state$errors[routeId];
}

/**
 * Returns the happy-path data from the nearest ancestor `<Await />` value
 */
function useAsyncValue() {
  let value = react__WEBPACK_IMPORTED_MODULE_0__.useContext(AwaitContext);
  return value == null ? void 0 : value._data;
}

/**
 * Returns the error from the nearest ancestor `<Await />` value
 */
function useAsyncError() {
  let value = react__WEBPACK_IMPORTED_MODULE_0__.useContext(AwaitContext);
  return value == null ? void 0 : value._error;
}
let blockerId = 0;

/**
 * Allow the application to block navigations within the SPA and present the
 * user a confirmation dialog to confirm the navigation.  Mostly used to avoid
 * using half-filled form data.  This does not handle hard-reloads or
 * cross-origin navigations.
 */
function useBlocker(shouldBlock) {
  let {
    router,
    basename
  } = useDataRouterContext(DataRouterHook.UseBlocker);
  let state = useDataRouterState(DataRouterStateHook.UseBlocker);
  let [blockerKey, setBlockerKey] = react__WEBPACK_IMPORTED_MODULE_0__.useState("");
  let blockerFunction = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(arg => {
    if (typeof shouldBlock !== "function") {
      return !!shouldBlock;
    }
    if (basename === "/") {
      return shouldBlock(arg);
    }

    // If they provided us a function and we've got an active basename, strip
    // it from the locations we expose to the user to match the behavior of
    // useLocation
    let {
      currentLocation,
      nextLocation,
      historyAction
    } = arg;
    return shouldBlock({
      currentLocation: _extends({}, currentLocation, {
        pathname: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.stripBasename)(currentLocation.pathname, basename) || currentLocation.pathname
      }),
      nextLocation: _extends({}, nextLocation, {
        pathname: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.stripBasename)(nextLocation.pathname, basename) || nextLocation.pathname
      }),
      historyAction
    });
  }, [basename, shouldBlock]);

  // This effect is in charge of blocker key assignment and deletion (which is
  // tightly coupled to the key)
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    let key = String(++blockerId);
    setBlockerKey(key);
    return () => router.deleteBlocker(key);
  }, [router]);

  // This effect handles assigning the blockerFunction.  This is to handle
  // unstable blocker function identities, and happens only after the prior
  // effect so we don't get an orphaned blockerFunction in the router with a
  // key of "".  Until then we just have the IDLE_BLOCKER.
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (blockerKey !== "") {
      router.getBlocker(blockerKey, blockerFunction);
    }
  }, [router, blockerKey, blockerFunction]);

  // Prefer the blocker from `state` not `router.state` since DataRouterContext
  // is memoized so this ensures we update on blocker state updates
  return blockerKey && state.blockers.has(blockerKey) ? state.blockers.get(blockerKey) : _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.IDLE_BLOCKER;
}

/**
 * Stable version of useNavigate that is used when we are in the context of
 * a RouterProvider.
 */
function useNavigateStable() {
  let {
    router
  } = useDataRouterContext(DataRouterHook.UseNavigateStable);
  let id = useCurrentRouteId(DataRouterStateHook.UseNavigateStable);
  let activeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  useIsomorphicLayoutEffect(() => {
    activeRef.current = true;
  });
  let navigate = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (to, options) {
    if (options === void 0) {
      options = {};
    }
     true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(activeRef.current, navigateEffectWarning) : 0;

    // Short circuit here since if this happens on first render the navigate
    // is useless because we haven't wired up our router subscriber yet
    if (!activeRef.current) return;
    if (typeof to === "number") {
      router.navigate(to);
    } else {
      router.navigate(to, _extends({
        fromRouteId: id
      }, options));
    }
  }, [router, id]);
  return navigate;
}
const alreadyWarned$1 = {};
function warningOnce(key, cond, message) {
  if (!cond && !alreadyWarned$1[key]) {
    alreadyWarned$1[key] = true;
     true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, message) : 0;
  }
}

const alreadyWarned = {};
function warnOnce(key, message) {
  if ( true && !alreadyWarned[message]) {
    alreadyWarned[message] = true;
    console.warn(message);
  }
}
const logDeprecation = (flag, msg, link) => warnOnce(flag, "\u26A0\uFE0F React Router Future Flag Warning: " + msg + ". " + ("You can use the `" + flag + "` future flag to opt-in early. ") + ("For more information, see " + link + "."));
function logV6DeprecationWarnings(renderFuture, routerFuture) {
  if ((renderFuture == null ? void 0 : renderFuture.v7_startTransition) === undefined) {
    logDeprecation("v7_startTransition", "React Router will begin wrapping state updates in `React.startTransition` in v7", "https://reactrouter.com/v6/upgrading/future#v7_starttransition");
  }
  if ((renderFuture == null ? void 0 : renderFuture.v7_relativeSplatPath) === undefined && (!routerFuture || routerFuture.v7_relativeSplatPath === undefined)) {
    logDeprecation("v7_relativeSplatPath", "Relative route resolution within Splat routes is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath");
  }
  if (routerFuture) {
    if (routerFuture.v7_fetcherPersist === undefined) {
      logDeprecation("v7_fetcherPersist", "The persistence behavior of fetchers is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist");
    }
    if (routerFuture.v7_normalizeFormMethod === undefined) {
      logDeprecation("v7_normalizeFormMethod", "Casing of `formMethod` fields is being normalized to uppercase in v7", "https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod");
    }
    if (routerFuture.v7_partialHydration === undefined) {
      logDeprecation("v7_partialHydration", "`RouterProvider` hydration behavior is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_partialhydration");
    }
    if (routerFuture.v7_skipActionErrorRevalidation === undefined) {
      logDeprecation("v7_skipActionErrorRevalidation", "The revalidation behavior after 4xx/5xx `action` responses is changing in v7", "https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation");
    }
  }
}

/**
  Webpack + React 17 fails to compile on any of the following because webpack
  complains that `startTransition` doesn't exist in `React`:
  * import { startTransition } from "react"
  * import * as React from from "react";
    "startTransition" in React ? React.startTransition(() => setState()) : setState()
  * import * as React from from "react";
    "startTransition" in React ? React["startTransition"](() => setState()) : setState()

  Moving it to a constant such as the following solves the Webpack/React 17 issue:
  * import * as React from from "react";
    const START_TRANSITION = "startTransition";
    START_TRANSITION in React ? React[START_TRANSITION](() => setState()) : setState()

  However, that introduces webpack/terser minification issues in production builds
  in React 18 where minification/obfuscation ends up removing the call of
  React.startTransition entirely from the first half of the ternary.  Grabbing
  this exported reference once up front resolves that issue.

  See https://github.com/remix-run/react-router/issues/10579
*/
const START_TRANSITION = "startTransition";
const startTransitionImpl = react__WEBPACK_IMPORTED_MODULE_0__[START_TRANSITION];

/**
 * Given a Remix Router instance, render the appropriate UI
 */
function RouterProvider(_ref) {
  let {
    fallbackElement,
    router,
    future
  } = _ref;
  let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState(router.state);
  let {
    v7_startTransition
  } = future || {};
  let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => {
    if (v7_startTransition && startTransitionImpl) {
      startTransitionImpl(() => setStateImpl(newState));
    } else {
      setStateImpl(newState);
    }
  }, [setStateImpl, v7_startTransition]);

  // Need to use a layout effect here so we are subscribed early enough to
  // pick up on any render-driven redirects/navigations (useEffect/<Navigate>)
  react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => router.subscribe(setState), [router, setState]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
     true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(fallbackElement == null || !router.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using " + "`v7_partialHydration`, use a `HydrateFallback` component instead") : 0;
    // Only log this once on initial mount
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);
  let navigator = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    return {
      createHref: router.createHref,
      encodeLocation: router.encodeLocation,
      go: n => router.navigate(n),
      push: (to, state, opts) => router.navigate(to, {
        state,
        preventScrollReset: opts == null ? void 0 : opts.preventScrollReset
      }),
      replace: (to, state, opts) => router.navigate(to, {
        replace: true,
        state,
        preventScrollReset: opts == null ? void 0 : opts.preventScrollReset
      })
    };
  }, [router]);
  let basename = router.basename || "/";
  let dataRouterContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    router,
    navigator,
    static: false,
    basename
  }), [router, navigator, basename]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => logV6DeprecationWarnings(future, router.future), [router, future]);

  // The fragment and {null} here are important!  We need them to keep React 18's
  // useId happy when we are server-rendering since we may have a <script> here
  // containing the hydrated server-side staticContext (from StaticRouterProvider).
  // useId relies on the component tree structure to generate deterministic id's
  // so we need to ensure it remains the same on the client even though
  // we don't need the <script> tag
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DataRouterContext.Provider, {
    value: dataRouterContext
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DataRouterStateContext.Provider, {
    value: state
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, {
    basename: basename,
    location: state.location,
    navigationType: state.historyAction,
    navigator: navigator,
    future: {
      v7_relativeSplatPath: router.future.v7_relativeSplatPath
    }
  }, state.initialized || router.future.v7_partialHydration ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(DataRoutes, {
    routes: router.routes,
    future: router.future,
    state: state
  }) : fallbackElement))), null);
}
function DataRoutes(_ref2) {
  let {
    routes,
    future,
    state
  } = _ref2;
  return useRoutesImpl(routes, undefined, state, future);
}
/**
 * A `<Router>` that stores all entries in memory.
 *
 * @see https://reactrouter.com/v6/router-components/memory-router
 */
function MemoryRouter(_ref3) {
  let {
    basename,
    children,
    initialEntries,
    initialIndex,
    future
  } = _ref3;
  let historyRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  if (historyRef.current == null) {
    historyRef.current = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createMemoryHistory)({
      initialEntries,
      initialIndex,
      v5Compat: true
    });
  }
  let history = historyRef.current;
  let [state, setStateImpl] = react__WEBPACK_IMPORTED_MODULE_0__.useState({
    action: history.action,
    location: history.location
  });
  let {
    v7_startTransition
  } = future || {};
  let setState = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newState => {
    v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState);
  }, [setStateImpl, v7_startTransition]);
  react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => history.listen(setState), [history, setState]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => logV6DeprecationWarnings(future), [future]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, {
    basename: basename,
    children: children,
    location: state.location,
    navigationType: state.action,
    navigator: history,
    future: future
  });
}
/**
 * Changes the current location.
 *
 * Note: This API is mostly useful in React.Component subclasses that are not
 * able to use hooks. In functional components, we recommend you use the
 * `useNavigate` hook instead.
 *
 * @see https://reactrouter.com/v6/components/navigate
 */
function Navigate(_ref4) {
  let {
    to,
    replace,
    state,
    relative
  } = _ref4;
  !useInRouterContext() ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, // TODO: This error is probably because they somehow have 2 versions of
  // the router loaded. We can help them understand how to avoid that.
  "<Navigate> may be used only in the context of a <Router> component.") : 0 : void 0;
  let {
    future,
    static: isStatic
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(NavigationContext);
   true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(!isStatic, "<Navigate> must not be used on the initial render in a <StaticRouter>. " + "This is a no-op, but you should modify your code so the <Navigate> is " + "only ever rendered in response to some user interaction or state change.") : 0;
  let {
    matches
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RouteContext);
  let {
    pathname: locationPathname
  } = useLocation();
  let navigate = useNavigate();

  // Resolve the path outside of the effect so that when effects run twice in
  // StrictMode they navigate to the same place
  let path = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.resolveTo)(to, (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_getResolveToMatches)(matches, future.v7_relativeSplatPath), locationPathname, relative === "path");
  let jsonPath = JSON.stringify(path);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => navigate(JSON.parse(jsonPath), {
    replace,
    state,
    relative
  }), [navigate, jsonPath, relative, replace, state]);
  return null;
}
/**
 * Renders the child route's element, if there is one.
 *
 * @see https://reactrouter.com/v6/components/outlet
 */
function Outlet(props) {
  return useOutlet(props.context);
}
/**
 * Declares an element that should be rendered at a certain URL path.
 *
 * @see https://reactrouter.com/v6/components/route
 */
function Route(_props) {
   true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "A <Route> is only ever to be used as the child of <Routes> element, " + "never rendered directly. Please wrap your <Route> in a <Routes>.") : 0 ;
}
/**
 * Provides location context for the rest of the app.
 *
 * Note: You usually won't render a `<Router>` directly. Instead, you'll render a
 * router that is more specific to your environment such as a `<BrowserRouter>`
 * in web browsers or a `<StaticRouter>` for server rendering.
 *
 * @see https://reactrouter.com/v6/router-components/router
 */
function Router(_ref5) {
  let {
    basename: basenameProp = "/",
    children = null,
    location: locationProp,
    navigationType = _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.Action.Pop,
    navigator,
    static: staticProp = false,
    future
  } = _ref5;
  !!useInRouterContext() ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "You cannot render a <Router> inside another <Router>." + " You should never have more than one in your app.") : 0 : void 0;

  // Preserve trailing slashes on basename, so we can let the user control
  // the enforcement of trailing slashes throughout the app
  let basename = basenameProp.replace(/^\/*/, "/");
  let navigationContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    basename,
    navigator,
    static: staticProp,
    future: _extends({
      v7_relativeSplatPath: false
    }, future)
  }), [basename, future, navigator, staticProp]);
  if (typeof locationProp === "string") {
    locationProp = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.parsePath)(locationProp);
  }
  let {
    pathname = "/",
    search = "",
    hash = "",
    state = null,
    key = "default"
  } = locationProp;
  let locationContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    let trailingPathname = (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.stripBasename)(pathname, basename);
    if (trailingPathname == null) {
      return null;
    }
    return {
      location: {
        pathname: trailingPathname,
        search,
        hash,
        state,
        key
      },
      navigationType
    };
  }, [basename, pathname, search, hash, state, key, navigationType]);
   true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(locationContext != null, "<Router basename=\"" + basename + "\"> is not able to match the URL " + ("\"" + pathname + search + hash + "\" because it does not start with the ") + "basename, so the <Router> won't render anything.") : 0;
  if (locationContext == null) {
    return null;
  }
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(NavigationContext.Provider, {
    value: navigationContext
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(LocationContext.Provider, {
    children: children,
    value: locationContext
  }));
}
/**
 * A container for a nested tree of `<Route>` elements that renders the branch
 * that best matches the current location.
 *
 * @see https://reactrouter.com/v6/components/routes
 */
function Routes(_ref6) {
  let {
    children,
    location
  } = _ref6;
  return useRoutes(createRoutesFromChildren(children), location);
}
/**
 * Component to use for rendering lazily loaded data from returning defer()
 * in a loader function
 */
function Await(_ref7) {
  let {
    children,
    errorElement,
    resolve
  } = _ref7;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(AwaitErrorBoundary, {
    resolve: resolve,
    errorElement: errorElement
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ResolveAwait, null, children));
}
var AwaitRenderStatus = /*#__PURE__*/function (AwaitRenderStatus) {
  AwaitRenderStatus[AwaitRenderStatus["pending"] = 0] = "pending";
  AwaitRenderStatus[AwaitRenderStatus["success"] = 1] = "success";
  AwaitRenderStatus[AwaitRenderStatus["error"] = 2] = "error";
  return AwaitRenderStatus;
}(AwaitRenderStatus || {});
const neverSettledPromise = new Promise(() => {});
class AwaitErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
  constructor(props) {
    super(props);
    this.state = {
      error: null
    };
  }
  static getDerivedStateFromError(error) {
    return {
      error
    };
  }
  componentDidCatch(error, errorInfo) {
    console.error("<Await> caught the following error during render", error, errorInfo);
  }
  render() {
    let {
      children,
      errorElement,
      resolve
    } = this.props;
    let promise = null;
    let status = AwaitRenderStatus.pending;
    if (!(resolve instanceof Promise)) {
      // Didn't get a promise - provide as a resolved promise
      status = AwaitRenderStatus.success;
      promise = Promise.resolve();
      Object.defineProperty(promise, "_tracked", {
        get: () => true
      });
      Object.defineProperty(promise, "_data", {
        get: () => resolve
      });
    } else if (this.state.error) {
      // Caught a render error, provide it as a rejected promise
      status = AwaitRenderStatus.error;
      let renderError = this.state.error;
      promise = Promise.reject().catch(() => {}); // Avoid unhandled rejection warnings
      Object.defineProperty(promise, "_tracked", {
        get: () => true
      });
      Object.defineProperty(promise, "_error", {
        get: () => renderError
      });
    } else if (resolve._tracked) {
      // Already tracked promise - check contents
      promise = resolve;
      status = "_error" in promise ? AwaitRenderStatus.error : "_data" in promise ? AwaitRenderStatus.success : AwaitRenderStatus.pending;
    } else {
      // Raw (untracked) promise - track it
      status = AwaitRenderStatus.pending;
      Object.defineProperty(resolve, "_tracked", {
        get: () => true
      });
      promise = resolve.then(data => Object.defineProperty(resolve, "_data", {
        get: () => data
      }), error => Object.defineProperty(resolve, "_error", {
        get: () => error
      }));
    }
    if (status === AwaitRenderStatus.error && promise._error instanceof _remix_run_router__WEBPACK_IMPORTED_MODULE_1__.AbortedDeferredError) {
      // Freeze the UI by throwing a never resolved promise
      throw neverSettledPromise;
    }
    if (status === AwaitRenderStatus.error && !errorElement) {
      // No errorElement, throw to the nearest route-level error boundary
      throw promise._error;
    }
    if (status === AwaitRenderStatus.error) {
      // Render via our errorElement
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(AwaitContext.Provider, {
        value: promise,
        children: errorElement
      });
    }
    if (status === AwaitRenderStatus.success) {
      // Render children with resolved value
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(AwaitContext.Provider, {
        value: promise,
        children: children
      });
    }

    // Throw to the suspense boundary
    throw promise;
  }
}

/**
 * @private
 * Indirection to leverage useAsyncValue for a render-prop API on `<Await>`
 */
function ResolveAwait(_ref8) {
  let {
    children
  } = _ref8;
  let data = useAsyncValue();
  let toRender = typeof children === "function" ? children(data) : children;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, toRender);
}

///////////////////////////////////////////////////////////////////////////////
// UTILS
///////////////////////////////////////////////////////////////////////////////

/**
 * Creates a route config from a React "children" object, which is usually
 * either a `<Route>` element or an array of them. Used internally by
 * `<Routes>` to create a route config from its children.
 *
 * @see https://reactrouter.com/v6/utils/create-routes-from-children
 */
function createRoutesFromChildren(children, parentPath) {
  if (parentPath === void 0) {
    parentPath = [];
  }
  let routes = [];
  react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children, (element, index) => {
    if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(element)) {
      // Ignore non-elements. This allows people to more easily inline
      // conditionals in their route config.
      return;
    }
    let treePath = [...parentPath, index];
    if (element.type === react__WEBPACK_IMPORTED_MODULE_0__.Fragment) {
      // Transparently support React.Fragment and its children.
      routes.push.apply(routes, createRoutesFromChildren(element.props.children, treePath));
      return;
    }
    !(element.type === Route) ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "[" + (typeof element.type === "string" ? element.type : element.type.name) + "] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>") : 0 : void 0;
    !(!element.props.index || !element.props.children) ?  true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_invariant)(false, "An index route cannot have child routes.") : 0 : void 0;
    let route = {
      id: element.props.id || treePath.join("-"),
      caseSensitive: element.props.caseSensitive,
      element: element.props.element,
      Component: element.props.Component,
      index: element.props.index,
      path: element.props.path,
      loader: element.props.loader,
      action: element.props.action,
      errorElement: element.props.errorElement,
      ErrorBoundary: element.props.ErrorBoundary,
      hasErrorBoundary: element.props.ErrorBoundary != null || element.props.errorElement != null,
      shouldRevalidate: element.props.shouldRevalidate,
      handle: element.props.handle,
      lazy: element.props.lazy
    };
    if (element.props.children) {
      route.children = createRoutesFromChildren(element.props.children, treePath);
    }
    routes.push(route);
  });
  return routes;
}

/**
 * Renders the result of `matchRoutes()` into a React element.
 */
function renderMatches(matches) {
  return _renderMatches(matches);
}

function mapRouteProperties(route) {
  let updates = {
    // Note: this check also occurs in createRoutesFromChildren so update
    // there if you change this -- please and thank you!
    hasErrorBoundary: route.ErrorBoundary != null || route.errorElement != null
  };
  if (route.Component) {
    if (true) {
      if (route.element) {
         true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, "You should not include both `Component` and `element` on your route - " + "`Component` will be used.") : 0;
      }
    }
    Object.assign(updates, {
      element: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.Component),
      Component: undefined
    });
  }
  if (route.HydrateFallback) {
    if (true) {
      if (route.hydrateFallbackElement) {
         true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, "You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - " + "`HydrateFallback` will be used.") : 0;
      }
    }
    Object.assign(updates, {
      hydrateFallbackElement: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.HydrateFallback),
      HydrateFallback: undefined
    });
  }
  if (route.ErrorBoundary) {
    if (true) {
      if (route.errorElement) {
         true ? (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.UNSAFE_warning)(false, "You should not include both `ErrorBoundary` and `errorElement` on your route - " + "`ErrorBoundary` will be used.") : 0;
      }
    }
    Object.assign(updates, {
      errorElement: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.ErrorBoundary),
      ErrorBoundary: undefined
    });
  }
  return updates;
}
function createMemoryRouter(routes, opts) {
  return (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createRouter)({
    basename: opts == null ? void 0 : opts.basename,
    future: _extends({}, opts == null ? void 0 : opts.future, {
      v7_prependBasename: true
    }),
    history: (0,_remix_run_router__WEBPACK_IMPORTED_MODULE_1__.createMemoryHistory)({
      initialEntries: opts == null ? void 0 : opts.initialEntries,
      initialIndex: opts == null ? void 0 : opts.initialIndex
    }),
    hydrationData: opts == null ? void 0 : opts.hydrationData,
    routes,
    mapRouteProperties,
    dataStrategy: opts == null ? void 0 : opts.dataStrategy,
    patchRoutesOnNavigation: opts == null ? void 0 : opts.patchRoutesOnNavigation
  }).initialize();
}


//# sourceMappingURL=index.js.map


/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/CSSTransition.js"
/*!**************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/CSSTransition.js ***!
  \**************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var dom_helpers_addClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! dom-helpers/addClass */ "./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/addClass.js");
/* harmony import */ var dom_helpers_removeClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! dom-helpers/removeClass */ "./node_modules/.pnpm/dom-helpers@5.2.1/node_modules/dom-helpers/esm/removeClass.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var _Transition__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Transition */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js");
/* harmony import */ var _utils_PropTypes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/PropTypes */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/PropTypes.js");
/* harmony import */ var _utils_reflow__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/reflow */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/reflow.js");











var _addClass = function addClass(node, classes) {
  return node && classes && classes.split(' ').forEach(function (c) {
    return (0,dom_helpers_addClass__WEBPACK_IMPORTED_MODULE_4__["default"])(node, c);
  });
};

var removeClass = function removeClass(node, classes) {
  return node && classes && classes.split(' ').forEach(function (c) {
    return (0,dom_helpers_removeClass__WEBPACK_IMPORTED_MODULE_5__["default"])(node, c);
  });
};
/**
 * A transition component inspired by the excellent
 * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
 * use it if you're using CSS transitions or animations. It's built upon the
 * [`Transition`](https://reactcommunity.org/react-transition-group/transition)
 * component, so it inherits all of its props.
 *
 * `CSSTransition` applies a pair of class names during the `appear`, `enter`,
 * and `exit` states of the transition. The first class is applied and then a
 * second `*-active` class in order to activate the CSS transition. After the
 * transition, matching `*-done` class names are applied to persist the
 * transition state.
 *
 * ```jsx
 * function App() {
 *   const [inProp, setInProp] = useState(false);
 *   return (
 *     <div>
 *       <CSSTransition in={inProp} timeout={200} classNames="my-node">
 *         <div>
 *           {"I'll receive my-node-* classes"}
 *         </div>
 *       </CSSTransition>
 *       <button type="button" onClick={() => setInProp(true)}>
 *         Click to Enter
 *       </button>
 *     </div>
 *   );
 * }
 * ```
 *
 * When the `in` prop is set to `true`, the child component will first receive
 * the class `example-enter`, then the `example-enter-active` will be added in
 * the next tick. `CSSTransition` [forces a
 * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
 * between before adding the `example-enter-active`. This is an important trick
 * because it allows us to transition between `example-enter` and
 * `example-enter-active` even though they were added immediately one after
 * another. Most notably, this is what makes it possible for us to animate
 * _appearance_.
 *
 * ```css
 * .my-node-enter {
 *   opacity: 0;
 * }
 * .my-node-enter-active {
 *   opacity: 1;
 *   transition: opacity 200ms;
 * }
 * .my-node-exit {
 *   opacity: 1;
 * }
 * .my-node-exit-active {
 *   opacity: 0;
 *   transition: opacity 200ms;
 * }
 * ```
 *
 * `*-active` classes represent which styles you want to animate **to**, so it's
 * important to add `transition` declaration only to them, otherwise transitions
 * might not behave as intended! This might not be obvious when the transitions
 * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
 * the example above (minus `transition`), but it becomes apparent in more
 * complex transitions.
 *
 * **Note**: If you're using the
 * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
 * prop, make sure to define styles for `.appear-*` classes as well.
 */


var CSSTransition = /*#__PURE__*/function (_React$Component) {
  (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__["default"])(CSSTransition, _React$Component);

  function CSSTransition() {
    var _this;

    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
    _this.appliedClasses = {
      appear: {},
      enter: {},
      exit: {}
    };

    _this.onEnter = function (maybeNode, maybeAppearing) {
      var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
          node = _this$resolveArgument[0],
          appearing = _this$resolveArgument[1];

      _this.removeClasses(node, 'exit');

      _this.addClass(node, appearing ? 'appear' : 'enter', 'base');

      if (_this.props.onEnter) {
        _this.props.onEnter(maybeNode, maybeAppearing);
      }
    };

    _this.onEntering = function (maybeNode, maybeAppearing) {
      var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
          node = _this$resolveArgument2[0],
          appearing = _this$resolveArgument2[1];

      var type = appearing ? 'appear' : 'enter';

      _this.addClass(node, type, 'active');

      if (_this.props.onEntering) {
        _this.props.onEntering(maybeNode, maybeAppearing);
      }
    };

    _this.onEntered = function (maybeNode, maybeAppearing) {
      var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
          node = _this$resolveArgument3[0],
          appearing = _this$resolveArgument3[1];

      var type = appearing ? 'appear' : 'enter';

      _this.removeClasses(node, type);

      _this.addClass(node, type, 'done');

      if (_this.props.onEntered) {
        _this.props.onEntered(maybeNode, maybeAppearing);
      }
    };

    _this.onExit = function (maybeNode) {
      var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
          node = _this$resolveArgument4[0];

      _this.removeClasses(node, 'appear');

      _this.removeClasses(node, 'enter');

      _this.addClass(node, 'exit', 'base');

      if (_this.props.onExit) {
        _this.props.onExit(maybeNode);
      }
    };

    _this.onExiting = function (maybeNode) {
      var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
          node = _this$resolveArgument5[0];

      _this.addClass(node, 'exit', 'active');

      if (_this.props.onExiting) {
        _this.props.onExiting(maybeNode);
      }
    };

    _this.onExited = function (maybeNode) {
      var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
          node = _this$resolveArgument6[0];

      _this.removeClasses(node, 'exit');

      _this.addClass(node, 'exit', 'done');

      if (_this.props.onExited) {
        _this.props.onExited(maybeNode);
      }
    };

    _this.resolveArguments = function (maybeNode, maybeAppearing) {
      return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
      : [maybeNode, maybeAppearing];
    };

    _this.getClassNames = function (type) {
      var classNames = _this.props.classNames;
      var isStringClassNames = typeof classNames === 'string';
      var prefix = isStringClassNames && classNames ? classNames + "-" : '';
      var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
      var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
      var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
      return {
        baseClassName: baseClassName,
        activeClassName: activeClassName,
        doneClassName: doneClassName
      };
    };

    return _this;
  }

  var _proto = CSSTransition.prototype;

  _proto.addClass = function addClass(node, type, phase) {
    var className = this.getClassNames(type)[phase + "ClassName"];

    var _this$getClassNames = this.getClassNames('enter'),
        doneClassName = _this$getClassNames.doneClassName;

    if (type === 'appear' && phase === 'done' && doneClassName) {
      className += " " + doneClassName;
    } // This is to force a repaint,
    // which is necessary in order to transition styles when adding a class name.


    if (phase === 'active') {
      if (node) (0,_utils_reflow__WEBPACK_IMPORTED_MODULE_9__.forceReflow)(node);
    }

    if (className) {
      this.appliedClasses[type][phase] = className;

      _addClass(node, className);
    }
  };

  _proto.removeClasses = function removeClasses(node, type) {
    var _this$appliedClasses$ = this.appliedClasses[type],
        baseClassName = _this$appliedClasses$.base,
        activeClassName = _this$appliedClasses$.active,
        doneClassName = _this$appliedClasses$.done;
    this.appliedClasses[type] = {};

    if (baseClassName) {
      removeClass(node, baseClassName);
    }

    if (activeClassName) {
      removeClass(node, activeClassName);
    }

    if (doneClassName) {
      removeClass(node, doneClassName);
    }
  };

  _proto.render = function render() {
    var _this$props = this.props,
        _ = _this$props.classNames,
        props = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["classNames"]);

    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_Transition__WEBPACK_IMPORTED_MODULE_7__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
      onEnter: this.onEnter,
      onEntered: this.onEntered,
      onEntering: this.onEntering,
      onExit: this.onExit,
      onExiting: this.onExiting,
      onExited: this.onExited
    }));
  };

  return CSSTransition;
}((react__WEBPACK_IMPORTED_MODULE_6___default().Component));

CSSTransition.defaultProps = {
  classNames: ''
};
CSSTransition.propTypes =  true ? (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _Transition__WEBPACK_IMPORTED_MODULE_7__["default"].propTypes, {
  /**
   * The animation classNames applied to the component as it appears, enters,
   * exits or has finished the transition. A single name can be provided, which
   * will be suffixed for each stage, e.g. `classNames="fade"` applies:
   *
   * - `fade-appear`, `fade-appear-active`, `fade-appear-done`
   * - `fade-enter`, `fade-enter-active`, `fade-enter-done`
   * - `fade-exit`, `fade-exit-active`, `fade-exit-done`
   *
   * A few details to note about how these classes are applied:
   *
   * 1. They are _joined_ with the ones that are already defined on the child
   *    component, so if you want to add some base styles, you can use
   *    `className` without worrying that it will be overridden.
   *
   * 2. If the transition component mounts with `in={false}`, no classes are
   *    applied yet. You might be expecting `*-exit-done`, but if you think
   *    about it, a component cannot finish exiting if it hasn't entered yet.
   *
   * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This
   *    allows you to define different behavior for when appearing is done and
   *    when regular entering is done, using selectors like
   *    `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply
   *    an epic entrance animation when element first appears in the DOM using
   *    [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can
   *    simply use `fade-enter-done` for defining both cases.
   *
   * Each individual classNames can also be specified independently like:
   *
   * ```js
   * classNames={{
   *  appear: 'my-appear',
   *  appearActive: 'my-active-appear',
   *  appearDone: 'my-done-appear',
   *  enter: 'my-enter',
   *  enterActive: 'my-active-enter',
   *  enterDone: 'my-done-enter',
   *  exit: 'my-exit',
   *  exitActive: 'my-active-exit',
   *  exitDone: 'my-done-exit',
   * }}
   * ```
   *
   * If you want to set these classes using CSS Modules:
   *
   * ```js
   * import styles from './styles.css';
   * ```
   *
   * you might want to use camelCase in your CSS file, that way could simply
   * spread them instead of listing them one by one:
   *
   * ```js
   * classNames={{ ...styles }}
   * ```
   *
   * @type {string | {
   *  appear?: string,
   *  appearActive?: string,
   *  appearDone?: string,
   *  enter?: string,
   *  enterActive?: string,
   *  enterDone?: string,
   *  exit?: string,
   *  exitActive?: string,
   *  exitDone?: string,
   * }}
   */
  classNames: _utils_PropTypes__WEBPACK_IMPORTED_MODULE_8__.classNamesShape,

  /**
   * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
   * applied.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement, isAppearing: bool)
   */
  onEnter: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * A `<Transition>` callback fired immediately after the 'enter-active' or
   * 'appear-active' class is applied.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement, isAppearing: bool)
   */
  onEntering: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * A `<Transition>` callback fired immediately after the 'enter' or
   * 'appear' classes are **removed** and the `done` class is added to the DOM node.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement, isAppearing: bool)
   */
  onEntered: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * A `<Transition>` callback fired immediately after the 'exit' class is
   * applied.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed
   *
   * @type Function(node: HtmlElement)
   */
  onExit: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * A `<Transition>` callback fired immediately after the 'exit-active' is applied.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed
   *
   * @type Function(node: HtmlElement)
   */
  onExiting: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func),

  /**
   * A `<Transition>` callback fired immediately after the 'exit' classes
   * are **removed** and the `exit-done` class is added to the DOM node.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed
   *
   * @type Function(node: HtmlElement)
   */
  onExited: (prop_types__WEBPACK_IMPORTED_MODULE_3___default().func)
}) : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CSSTransition);

/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js"
/*!***********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js ***!
  \***********************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ENTERED: () => (/* binding */ ENTERED),
/* harmony export */   ENTERING: () => (/* binding */ ENTERING),
/* harmony export */   EXITED: () => (/* binding */ EXITED),
/* harmony export */   EXITING: () => (/* binding */ EXITING),
/* harmony export */   UNMOUNTED: () => (/* binding */ UNMOUNTED),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js");
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/config.js");
/* harmony import */ var _utils_PropTypes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/PropTypes */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/PropTypes.js");
/* harmony import */ var _TransitionGroupContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TransitionGroupContext */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroupContext.js");
/* harmony import */ var _utils_reflow__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/reflow */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/reflow.js");









var UNMOUNTED = 'unmounted';
var EXITED = 'exited';
var ENTERING = 'entering';
var ENTERED = 'entered';
var EXITING = 'exiting';
/**
 * The Transition component lets you describe a transition from one component
 * state to another _over time_ with a simple declarative API. Most commonly
 * it's used to animate the mounting and unmounting of a component, but can also
 * be used to describe in-place transition states as well.
 *
 * ---
 *
 * **Note**: `Transition` is a platform-agnostic base component. If you're using
 * transitions in CSS, you'll probably want to use
 * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
 * instead. It inherits all the features of `Transition`, but contains
 * additional features necessary to play nice with CSS transitions (hence the
 * name of the component).
 *
 * ---
 *
 * By default the `Transition` component does not alter the behavior of the
 * component it renders, it only tracks "enter" and "exit" states for the
 * components. It's up to you to give meaning and effect to those states. For
 * example we can add styles to a component when it enters or exits:
 *
 * ```jsx
 * import { Transition } from 'react-transition-group';
 *
 * const duration = 300;
 *
 * const defaultStyle = {
 *   transition: `opacity ${duration}ms ease-in-out`,
 *   opacity: 0,
 * }
 *
 * const transitionStyles = {
 *   entering: { opacity: 1 },
 *   entered:  { opacity: 1 },
 *   exiting:  { opacity: 0 },
 *   exited:  { opacity: 0 },
 * };
 *
 * const Fade = ({ in: inProp }) => (
 *   <Transition in={inProp} timeout={duration}>
 *     {state => (
 *       <div style={{
 *         ...defaultStyle,
 *         ...transitionStyles[state]
 *       }}>
 *         I'm a fade Transition!
 *       </div>
 *     )}
 *   </Transition>
 * );
 * ```
 *
 * There are 4 main states a Transition can be in:
 *  - `'entering'`
 *  - `'entered'`
 *  - `'exiting'`
 *  - `'exited'`
 *
 * Transition state is toggled via the `in` prop. When `true` the component
 * begins the "Enter" stage. During this stage, the component will shift from
 * its current transition state, to `'entering'` for the duration of the
 * transition and then to the `'entered'` stage once it's complete. Let's take
 * the following example (we'll use the
 * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
 *
 * ```jsx
 * function App() {
 *   const [inProp, setInProp] = useState(false);
 *   return (
 *     <div>
 *       <Transition in={inProp} timeout={500}>
 *         {state => (
 *           // ...
 *         )}
 *       </Transition>
 *       <button onClick={() => setInProp(true)}>
 *         Click to Enter
 *       </button>
 *     </div>
 *   );
 * }
 * ```
 *
 * When the button is clicked the component will shift to the `'entering'` state
 * and stay there for 500ms (the value of `timeout`) before it finally switches
 * to `'entered'`.
 *
 * When `in` is `false` the same thing happens except the state moves from
 * `'exiting'` to `'exited'`.
 */

var Transition = /*#__PURE__*/function (_React$Component) {
  (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(Transition, _React$Component);

  function Transition(props, context) {
    var _this;

    _this = _React$Component.call(this, props, context) || this;
    var parentGroup = context; // In the context of a TransitionGroup all enters are really appears

    var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
    var initialStatus;
    _this.appearStatus = null;

    if (props.in) {
      if (appear) {
        initialStatus = EXITED;
        _this.appearStatus = ENTERING;
      } else {
        initialStatus = ENTERED;
      }
    } else {
      if (props.unmountOnExit || props.mountOnEnter) {
        initialStatus = UNMOUNTED;
      } else {
        initialStatus = EXITED;
      }
    }

    _this.state = {
      status: initialStatus
    };
    _this.nextCallback = null;
    return _this;
  }

  Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
    var nextIn = _ref.in;

    if (nextIn && prevState.status === UNMOUNTED) {
      return {
        status: EXITED
      };
    }

    return null;
  } // getSnapshotBeforeUpdate(prevProps) {
  //   let nextStatus = null
  //   if (prevProps !== this.props) {
  //     const { status } = this.state
  //     if (this.props.in) {
  //       if (status !== ENTERING && status !== ENTERED) {
  //         nextStatus = ENTERING
  //       }
  //     } else {
  //       if (status === ENTERING || status === ENTERED) {
  //         nextStatus = EXITING
  //       }
  //     }
  //   }
  //   return { nextStatus }
  // }
  ;

  var _proto = Transition.prototype;

  _proto.componentDidMount = function componentDidMount() {
    this.updateStatus(true, this.appearStatus);
  };

  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
    var nextStatus = null;

    if (prevProps !== this.props) {
      var status = this.state.status;

      if (this.props.in) {
        if (status !== ENTERING && status !== ENTERED) {
          nextStatus = ENTERING;
        }
      } else {
        if (status === ENTERING || status === ENTERED) {
          nextStatus = EXITING;
        }
      }
    }

    this.updateStatus(false, nextStatus);
  };

  _proto.componentWillUnmount = function componentWillUnmount() {
    this.cancelNextCallback();
  };

  _proto.getTimeouts = function getTimeouts() {
    var timeout = this.props.timeout;
    var exit, enter, appear;
    exit = enter = appear = timeout;

    if (timeout != null && typeof timeout !== 'number') {
      exit = timeout.exit;
      enter = timeout.enter; // TODO: remove fallback for next major

      appear = timeout.appear !== undefined ? timeout.appear : enter;
    }

    return {
      exit: exit,
      enter: enter,
      appear: appear
    };
  };

  _proto.updateStatus = function updateStatus(mounting, nextStatus) {
    if (mounting === void 0) {
      mounting = false;
    }

    if (nextStatus !== null) {
      // nextStatus will always be ENTERING or EXITING.
      this.cancelNextCallback();

      if (nextStatus === ENTERING) {
        if (this.props.unmountOnExit || this.props.mountOnEnter) {
          var node = this.props.nodeRef ? this.props.nodeRef.current : react_dom__WEBPACK_IMPORTED_MODULE_4__.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749
          // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.
          // To make the animation happen,  we have to separate each rendering and avoid being processed as batched.

          if (node) (0,_utils_reflow__WEBPACK_IMPORTED_MODULE_8__.forceReflow)(node);
        }

        this.performEnter(mounting);
      } else {
        this.performExit();
      }
    } else if (this.props.unmountOnExit && this.state.status === EXITED) {
      this.setState({
        status: UNMOUNTED
      });
    }
  };

  _proto.performEnter = function performEnter(mounting) {
    var _this2 = this;

    var enter = this.props.enter;
    var appearing = this.context ? this.context.isMounting : mounting;

    var _ref2 = this.props.nodeRef ? [appearing] : [react_dom__WEBPACK_IMPORTED_MODULE_4__.findDOMNode(this), appearing],
        maybeNode = _ref2[0],
        maybeAppearing = _ref2[1];

    var timeouts = this.getTimeouts();
    var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
    // if we are mounting and running this it means appear _must_ be set

    if (!mounting && !enter || _config__WEBPACK_IMPORTED_MODULE_5__["default"].disabled) {
      this.safeSetState({
        status: ENTERED
      }, function () {
        _this2.props.onEntered(maybeNode);
      });
      return;
    }

    this.props.onEnter(maybeNode, maybeAppearing);
    this.safeSetState({
      status: ENTERING
    }, function () {
      _this2.props.onEntering(maybeNode, maybeAppearing);

      _this2.onTransitionEnd(enterTimeout, function () {
        _this2.safeSetState({
          status: ENTERED
        }, function () {
          _this2.props.onEntered(maybeNode, maybeAppearing);
        });
      });
    });
  };

  _proto.performExit = function performExit() {
    var _this3 = this;

    var exit = this.props.exit;
    var timeouts = this.getTimeouts();
    var maybeNode = this.props.nodeRef ? undefined : react_dom__WEBPACK_IMPORTED_MODULE_4__.findDOMNode(this); // no exit animation skip right to EXITED

    if (!exit || _config__WEBPACK_IMPORTED_MODULE_5__["default"].disabled) {
      this.safeSetState({
        status: EXITED
      }, function () {
        _this3.props.onExited(maybeNode);
      });
      return;
    }

    this.props.onExit(maybeNode);
    this.safeSetState({
      status: EXITING
    }, function () {
      _this3.props.onExiting(maybeNode);

      _this3.onTransitionEnd(timeouts.exit, function () {
        _this3.safeSetState({
          status: EXITED
        }, function () {
          _this3.props.onExited(maybeNode);
        });
      });
    });
  };

  _proto.cancelNextCallback = function cancelNextCallback() {
    if (this.nextCallback !== null) {
      this.nextCallback.cancel();
      this.nextCallback = null;
    }
  };

  _proto.safeSetState = function safeSetState(nextState, callback) {
    // This shouldn't be necessary, but there are weird race conditions with
    // setState callbacks and unmounting in testing, so always make sure that
    // we can cancel any pending setState callbacks after we unmount.
    callback = this.setNextCallback(callback);
    this.setState(nextState, callback);
  };

  _proto.setNextCallback = function setNextCallback(callback) {
    var _this4 = this;

    var active = true;

    this.nextCallback = function (event) {
      if (active) {
        active = false;
        _this4.nextCallback = null;
        callback(event);
      }
    };

    this.nextCallback.cancel = function () {
      active = false;
    };

    return this.nextCallback;
  };

  _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
    this.setNextCallback(handler);
    var node = this.props.nodeRef ? this.props.nodeRef.current : react_dom__WEBPACK_IMPORTED_MODULE_4__.findDOMNode(this);
    var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;

    if (!node || doesNotHaveTimeoutOrListener) {
      setTimeout(this.nextCallback, 0);
      return;
    }

    if (this.props.addEndListener) {
      var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
          maybeNode = _ref3[0],
          maybeNextCallback = _ref3[1];

      this.props.addEndListener(maybeNode, maybeNextCallback);
    }

    if (timeout != null) {
      setTimeout(this.nextCallback, timeout);
    }
  };

  _proto.render = function render() {
    var status = this.state.status;

    if (status === UNMOUNTED) {
      return null;
    }

    var _this$props = this.props,
        children = _this$props.children,
        _in = _this$props.in,
        _mountOnEnter = _this$props.mountOnEnter,
        _unmountOnExit = _this$props.unmountOnExit,
        _appear = _this$props.appear,
        _enter = _this$props.enter,
        _exit = _this$props.exit,
        _timeout = _this$props.timeout,
        _addEndListener = _this$props.addEndListener,
        _onEnter = _this$props.onEnter,
        _onEntering = _this$props.onEntering,
        _onEntered = _this$props.onEntered,
        _onExit = _this$props.onExit,
        _onExiting = _this$props.onExiting,
        _onExited = _this$props.onExited,
        _nodeRef = _this$props.nodeRef,
        childProps = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);

    return (
      /*#__PURE__*/
      // allows for nested Transitions
      react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_TransitionGroupContext__WEBPACK_IMPORTED_MODULE_7__["default"].Provider, {
        value: null
      }, typeof children === 'function' ? children(status, childProps) : react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(react__WEBPACK_IMPORTED_MODULE_3___default().Children.only(children), childProps))
    );
  };

  return Transition;
}((react__WEBPACK_IMPORTED_MODULE_3___default().Component));

Transition.contextType = _TransitionGroupContext__WEBPACK_IMPORTED_MODULE_7__["default"];
Transition.propTypes =  true ? {
  /**
   * A React reference to DOM element that need to transition:
   * https://stackoverflow.com/a/51127130/4671932
   *
   *   - When `nodeRef` prop is used, `node` is not passed to callback functions
   *      (e.g. `onEnter`) because user already has direct access to the node.
   *   - When changing `key` prop of `Transition` in a `TransitionGroup` a new
   *     `nodeRef` need to be provided to `Transition` with changed `key` prop
   *     (see
   *     [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
   */
  nodeRef: prop_types__WEBPACK_IMPORTED_MODULE_2___default().shape({
    current: typeof Element === 'undefined' ? (prop_types__WEBPACK_IMPORTED_MODULE_2___default().any) : function (propValue, key, componentName, location, propFullName, secret) {
      var value = propValue[key];
      return prop_types__WEBPACK_IMPORTED_MODULE_2___default().instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
    }
  }),

  /**
   * A `function` child can be used instead of a React element. This function is
   * called with the current transition status (`'entering'`, `'entered'`,
   * `'exiting'`, `'exited'`), which can be used to apply context
   * specific props to a component.
   *
   * ```jsx
   * <Transition in={this.state.in} timeout={150}>
   *   {state => (
   *     <MyComponent className={`fade fade-${state}`} />
   *   )}
   * </Transition>
   * ```
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_2___default().func).isRequired, (prop_types__WEBPACK_IMPORTED_MODULE_2___default().element).isRequired]).isRequired,

  /**
   * Show the component; triggers the enter or exit states
   */
  in: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * By default the child component is mounted immediately along with
   * the parent `Transition` component. If you want to "lazy mount" the component on the
   * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
   * mounted, even on "exited", unless you also specify `unmountOnExit`.
   */
  mountOnEnter: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * By default the child component stays mounted after it reaches the `'exited'` state.
   * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
   */
  unmountOnExit: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * By default the child component does not perform the enter transition when
   * it first mounts, regardless of the value of `in`. If you want this
   * behavior, set both `appear` and `in` to `true`.
   *
   * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
   * > only adds an additional enter transition. However, in the
   * > `<CSSTransition>` component that first enter transition does result in
   * > additional `.appear-*` classes, that way you can choose to style it
   * > differently.
   */
  appear: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * Enable or disable enter transitions.
   */
  enter: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * Enable or disable exit transitions.
   */
  exit: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),

  /**
   * The duration of the transition, in milliseconds.
   * Required unless `addEndListener` is provided.
   *
   * You may specify a single timeout for all transitions:
   *
   * ```jsx
   * timeout={500}
   * ```
   *
   * or individually:
   *
   * ```jsx
   * timeout={{
   *  appear: 500,
   *  enter: 300,
   *  exit: 500,
   * }}
   * ```
   *
   * - `appear` defaults to the value of `enter`
   * - `enter` defaults to `0`
   * - `exit` defaults to `0`
   *
   * @type {number | { enter?: number, exit?: number, appear?: number }}
   */
  timeout: function timeout(props) {
    var pt = _utils_PropTypes__WEBPACK_IMPORTED_MODULE_6__.timeoutsShape;
    if (!props.addEndListener) pt = pt.isRequired;

    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      args[_key - 1] = arguments[_key];
    }

    return pt.apply(void 0, [props].concat(args));
  },

  /**
   * Add a custom transition end trigger. Called with the transitioning
   * DOM node and a `done` callback. Allows for more fine grained transition end
   * logic. Timeouts are still used as a fallback if provided.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * ```jsx
   * addEndListener={(node, done) => {
   *   // use the css transitionend event to mark the finish of a transition
   *   node.addEventListener('transitionend', done, false);
   * }}
   * ```
   */
  addEndListener: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),

  /**
   * Callback fired before the "entering" status is applied. An extra parameter
   * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement, isAppearing: bool) -> void
   */
  onEnter: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),

  /**
   * Callback fired after the "entering" status is applied. An extra parameter
   * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement, isAppearing: bool)
   */
  onEntering: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),

  /**
   * Callback fired after the "entered" status is applied. An extra parameter
   * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement, isAppearing: bool) -> void
   */
  onEntered: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),

  /**
   * Callback fired before the "exiting" status is applied.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement) -> void
   */
  onExit: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),

  /**
   * Callback fired after the "exiting" status is applied.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed.
   *
   * @type Function(node: HtmlElement) -> void
   */
  onExiting: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),

  /**
   * Callback fired after the "exited" status is applied.
   *
   * **Note**: when `nodeRef` prop is passed, `node` is not passed
   *
   * @type Function(node: HtmlElement) -> void
   */
  onExited: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
} : 0; // Name the function so it is clearer in the documentation

function noop() {}

Transition.defaultProps = {
  in: false,
  mountOnEnter: false,
  unmountOnExit: false,
  appear: false,
  enter: true,
  exit: true,
  onEnter: noop,
  onEntering: noop,
  onEntered: noop,
  onExit: noop,
  onExiting: noop,
  onExited: noop
};
Transition.UNMOUNTED = UNMOUNTED;
Transition.EXITED = EXITED;
Transition.ENTERING = ENTERING;
Transition.ENTERED = ENTERED;
Transition.EXITING = EXITING;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Transition);

/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.js"
/*!****************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.js ***!
  \****************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js");
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _TransitionGroupContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TransitionGroupContext */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroupContext.js");
/* harmony import */ var _utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/ChildMapping */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/ChildMapping.js");









var values = Object.values || function (obj) {
  return Object.keys(obj).map(function (k) {
    return obj[k];
  });
};

var defaultProps = {
  component: 'div',
  childFactory: function childFactory(child) {
    return child;
  }
};
/**
 * The `<TransitionGroup>` component manages a set of transition components
 * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition
 * components, `<TransitionGroup>` is a state machine for managing the mounting
 * and unmounting of components over time.
 *
 * Consider the example below. As items are removed or added to the TodoList the
 * `in` prop is toggled automatically by the `<TransitionGroup>`.
 *
 * Note that `<TransitionGroup>`  does not define any animation behavior!
 * Exactly _how_ a list item animates is up to the individual transition
 * component. This means you can mix and match animations across different list
 * items.
 */

var TransitionGroup = /*#__PURE__*/function (_React$Component) {
  (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_3__["default"])(TransitionGroup, _React$Component);

  function TransitionGroup(props, context) {
    var _this;

    _this = _React$Component.call(this, props, context) || this;

    var handleExited = _this.handleExited.bind((0,_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__["default"])(_this)); // Initial children should all be entering, dependent on appear


    _this.state = {
      contextValue: {
        isMounting: true
      },
      handleExited: handleExited,
      firstRender: true
    };
    return _this;
  }

  var _proto = TransitionGroup.prototype;

  _proto.componentDidMount = function componentDidMount() {
    this.mounted = true;
    this.setState({
      contextValue: {
        isMounting: false
      }
    });
  };

  _proto.componentWillUnmount = function componentWillUnmount() {
    this.mounted = false;
  };

  TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
    var prevChildMapping = _ref.children,
        handleExited = _ref.handleExited,
        firstRender = _ref.firstRender;
    return {
      children: firstRender ? (0,_utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__.getInitialChildMapping)(nextProps, handleExited) : (0,_utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__.getNextChildMapping)(nextProps, prevChildMapping, handleExited),
      firstRender: false
    };
  } // node is `undefined` when user provided `nodeRef` prop
  ;

  _proto.handleExited = function handleExited(child, node) {
    var currentChildMapping = (0,_utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__.getChildMapping)(this.props.children);
    if (child.key in currentChildMapping) return;

    if (child.props.onExited) {
      child.props.onExited(node);
    }

    if (this.mounted) {
      this.setState(function (state) {
        var children = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state.children);

        delete children[child.key];
        return {
          children: children
        };
      });
    }
  };

  _proto.render = function render() {
    var _this$props = this.props,
        Component = _this$props.component,
        childFactory = _this$props.childFactory,
        props = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$props, ["component", "childFactory"]);

    var contextValue = this.state.contextValue;
    var children = values(this.state.children).map(childFactory);
    delete props.appear;
    delete props.enter;
    delete props.exit;

    if (Component === null) {
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_TransitionGroupContext__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
        value: contextValue
      }, children);
    }

    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_TransitionGroupContext__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
      value: contextValue
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Component, props, children));
  };

  return TransitionGroup;
}((react__WEBPACK_IMPORTED_MODULE_5___default().Component));

TransitionGroup.propTypes =  true ? {
  /**
   * `<TransitionGroup>` renders a `<div>` by default. You can change this
   * behavior by providing a `component` prop.
   * If you use React v16+ and would like to avoid a wrapping `<div>` element
   * you can pass in `component={null}`. This is useful if the wrapping div
   * borks your css styles.
   */
  component: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().any),

  /**
   * A set of `<Transition>` components, that are toggled `in` and out as they
   * leave. the `<TransitionGroup>` will inject specific transition props, so
   * remember to spread them through if you are wrapping the `<Transition>` as
   * with our `<Fade>` example.
   *
   * While this component is meant for multiple `Transition` or `CSSTransition`
   * children, sometimes you may want to have a single transition child with
   * content that you want to be transitioned out and in when you change it
   * (e.g. routes, images etc.) In that case you can change the `key` prop of
   * the transition child as you change its content, this will cause
   * `TransitionGroup` to transition the child out and back in.
   */
  children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),

  /**
   * A convenience prop that enables or disables appear animations
   * for all children. Note that specifying this will override any defaults set
   * on individual children Transitions.
   */
  appear: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),

  /**
   * A convenience prop that enables or disables enter animations
   * for all children. Note that specifying this will override any defaults set
   * on individual children Transitions.
   */
  enter: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),

  /**
   * A convenience prop that enables or disables exit animations
   * for all children. Note that specifying this will override any defaults set
   * on individual children Transitions.
   */
  exit: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),

  /**
   * You may need to apply reactive updates to a child as it is exiting.
   * This is generally done by using `cloneElement` however in the case of an exiting
   * child the element has already been removed and not accessible to the consumer.
   *
   * If you do need to update a child as it leaves you can provide a `childFactory`
   * to wrap every child, even the ones that are leaving.
   *
   * @type Function(child: ReactElement) -> ReactElement
   */
  childFactory: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
} : 0;
TransitionGroup.defaultProps = defaultProps;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TransitionGroup);

/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroupContext.js"
/*!***********************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroupContext.js ***!
  \***********************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (react__WEBPACK_IMPORTED_MODULE_0___default().createContext(null));

/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/config.js"
/*!*******************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/config.js ***!
  \*******************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  disabled: false
});

/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/ChildMapping.js"
/*!*******************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/ChildMapping.js ***!
  \*******************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getChildMapping: () => (/* binding */ getChildMapping),
/* harmony export */   getInitialChildMapping: () => (/* binding */ getInitialChildMapping),
/* harmony export */   getNextChildMapping: () => (/* binding */ getNextChildMapping),
/* harmony export */   mergeChildMappings: () => (/* binding */ mergeChildMappings)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

/**
 * Given `this.props.children`, return an object mapping key to child.
 *
 * @param {*} children `this.props.children`
 * @return {object} Mapping of key to child
 */

function getChildMapping(children, mapFn) {
  var mapper = function mapper(child) {
    return mapFn && (0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(child) ? mapFn(child) : child;
  };

  var result = Object.create(null);
  if (children) react__WEBPACK_IMPORTED_MODULE_0__.Children.map(children, function (c) {
    return c;
  }).forEach(function (child) {
    // run the map function here instead so that the key is the computed one
    result[child.key] = mapper(child);
  });
  return result;
}
/**
 * When you're adding or removing children some may be added or removed in the
 * same render pass. We want to show *both* since we want to simultaneously
 * animate elements in and out. This function takes a previous set of keys
 * and a new set of keys and merges them with its best guess of the correct
 * ordering. In the future we may expose some of the utilities in
 * ReactMultiChild to make this easy, but for now React itself does not
 * directly have this concept of the union of prevChildren and nextChildren
 * so we implement it here.
 *
 * @param {object} prev prev children as returned from
 * `ReactTransitionChildMapping.getChildMapping()`.
 * @param {object} next next children as returned from
 * `ReactTransitionChildMapping.getChildMapping()`.
 * @return {object} a key set that contains all keys in `prev` and all keys
 * in `next` in a reasonable order.
 */

function mergeChildMappings(prev, next) {
  prev = prev || {};
  next = next || {};

  function getValueForKey(key) {
    return key in next ? next[key] : prev[key];
  } // For each key of `next`, the list of keys to insert before that key in
  // the combined list


  var nextKeysPending = Object.create(null);
  var pendingKeys = [];

  for (var prevKey in prev) {
    if (prevKey in next) {
      if (pendingKeys.length) {
        nextKeysPending[prevKey] = pendingKeys;
        pendingKeys = [];
      }
    } else {
      pendingKeys.push(prevKey);
    }
  }

  var i;
  var childMapping = {};

  for (var nextKey in next) {
    if (nextKeysPending[nextKey]) {
      for (i = 0; i < nextKeysPending[nextKey].length; i++) {
        var pendingNextKey = nextKeysPending[nextKey][i];
        childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
      }
    }

    childMapping[nextKey] = getValueForKey(nextKey);
  } // Finally, add the keys which didn't appear before any key in `next`


  for (i = 0; i < pendingKeys.length; i++) {
    childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
  }

  return childMapping;
}

function getProp(child, prop, props) {
  return props[prop] != null ? props[prop] : child.props[prop];
}

function getInitialChildMapping(props, onExited) {
  return getChildMapping(props.children, function (child) {
    return (0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(child, {
      onExited: onExited.bind(null, child),
      in: true,
      appear: getProp(child, 'appear', props),
      enter: getProp(child, 'enter', props),
      exit: getProp(child, 'exit', props)
    });
  });
}
function getNextChildMapping(nextProps, prevChildMapping, onExited) {
  var nextChildMapping = getChildMapping(nextProps.children);
  var children = mergeChildMappings(prevChildMapping, nextChildMapping);
  Object.keys(children).forEach(function (key) {
    var child = children[key];
    if (!(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(child)) return;
    var hasPrev = (key in prevChildMapping);
    var hasNext = (key in nextChildMapping);
    var prevChild = prevChildMapping[key];
    var isLeaving = (0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(prevChild) && !prevChild.props.in; // item is new (entering)

    if (hasNext && (!hasPrev || isLeaving)) {
      // console.log('entering', key)
      children[key] = (0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(child, {
        onExited: onExited.bind(null, child),
        in: true,
        exit: getProp(child, 'exit', nextProps),
        enter: getProp(child, 'enter', nextProps)
      });
    } else if (!hasNext && hasPrev && !isLeaving) {
      // item is old (exiting)
      // console.log('leaving', key)
      children[key] = (0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(child, {
        in: false
      });
    } else if (hasNext && hasPrev && (0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(prevChild)) {
      // item hasn't changed transition states
      // copy over the last transition props;
      // console.log('unchanged', key)
      children[key] = (0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(child, {
        onExited: onExited.bind(null, child),
        in: prevChild.props.in,
        exit: getProp(child, 'exit', nextProps),
        enter: getProp(child, 'enter', nextProps)
      });
    }
  });
  return children;
}

/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/PropTypes.js"
/*!****************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/PropTypes.js ***!
  \****************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   classNamesShape: () => (/* binding */ classNamesShape),
/* harmony export */   timeoutsShape: () => (/* binding */ timeoutsShape)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);

var timeoutsShape =  true ? prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().number), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
  enter: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  exit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
  appear: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
}).isRequired]) : 0;
var classNamesShape =  true ? prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
  enter: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  exit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  active: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
}), prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
  enter: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  enterDone: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  enterActive: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  exit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  exitDone: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
  exitActive: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
})]) : 0;

/***/ },

/***/ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/reflow.js"
/*!*************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/reflow.js ***!
  \*************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   forceReflow: () => (/* binding */ forceReflow)
/* harmony export */ });
var forceReflow = function forceReflow(node) {
  return node.scrollTop;
};

/***/ },

/***/ "./node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
/**
 * @license React
 * react-jsx-runtime.development.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.
 */



if (true) {
  (function() {
'use strict';

var React = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

// ATTENTION
// When adding new symbols to this file,
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
// The Symbol used to tag the ReactElement-like types.
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
var REACT_MEMO_TYPE = Symbol.for('react.memo');
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
var FAUX_ITERATOR_SYMBOL = '@@iterator';
function getIteratorFn(maybeIterable) {
  if (maybeIterable === null || typeof maybeIterable !== 'object') {
    return null;
  }

  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];

  if (typeof maybeIterator === 'function') {
    return maybeIterator;
  }

  return null;
}

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

function error(format) {
  {
    {
      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
        args[_key2 - 1] = arguments[_key2];
      }

      printWarning('error', format, args);
    }
  }
}

function printWarning(level, format, args) {
  // When changing this logic, you might want to also
  // update consoleWithStackDev.www.js as well.
  {
    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
    var stack = ReactDebugCurrentFrame.getStackAddendum();

    if (stack !== '') {
      format += '%s';
      args = args.concat([stack]);
    } // eslint-disable-next-line react-internal/safe-string-coercion


    var argsWithFormat = args.map(function (item) {
      return String(item);
    }); // Careful: RN currently depends on this prefix

    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
    // breaks IE9: https://github.com/facebook/react/issues/13610
    // eslint-disable-next-line react-internal/no-production-logging

    Function.prototype.apply.call(console[level], console, argsWithFormat);
  }
}

// -----------------------------------------------------------------------------

var enableScopeAPI = false; // Experimental Create Event Handle API.
var enableCacheElement = false;
var enableTransitionTracing = false; // No known bugs, but needs performance testing

var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
// stuff. Intended to enable React core members to more easily debug scheduling
// issues in DEV builds.

var enableDebugTracing = false; // Track which Fiber(s) schedule render work.

var REACT_MODULE_REFERENCE;

{
  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
}

function isValidElementType(type) {
  if (typeof type === 'string' || typeof type === 'function') {
    return true;
  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).


  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {
    return true;
  }

  if (typeof type === 'object' && type !== null) {
    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
    // types supported by any Flight configuration anywhere since
    // we don't know which Flight build this will end up being used
    // with.
    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
      return true;
    }
  }

  return false;
}

function getWrappedName(outerType, innerType, wrapperName) {
  var displayName = outerType.displayName;

  if (displayName) {
    return displayName;
  }

  var functionName = innerType.displayName || innerType.name || '';
  return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
} // Keep in sync with react-reconciler/getComponentNameFromFiber


function getContextName(type) {
  return type.displayName || 'Context';
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.


function getComponentNameFromType(type) {
  if (type == null) {
    // Host root, text node or just invalid type.
    return null;
  }

  {
    if (typeof type.tag === 'number') {
      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
    }
  }

  if (typeof type === 'function') {
    return type.displayName || type.name || null;
  }

  if (typeof type === 'string') {
    return type;
  }

  switch (type) {
    case REACT_FRAGMENT_TYPE:
      return 'Fragment';

    case REACT_PORTAL_TYPE:
      return 'Portal';

    case REACT_PROFILER_TYPE:
      return 'Profiler';

    case REACT_STRICT_MODE_TYPE:
      return 'StrictMode';

    case REACT_SUSPENSE_TYPE:
      return 'Suspense';

    case REACT_SUSPENSE_LIST_TYPE:
      return 'SuspenseList';

  }

  if (typeof type === 'object') {
    switch (type.$$typeof) {
      case REACT_CONTEXT_TYPE:
        var context = type;
        return getContextName(context) + '.Consumer';

      case REACT_PROVIDER_TYPE:
        var provider = type;
        return getContextName(provider._context) + '.Provider';

      case REACT_FORWARD_REF_TYPE:
        return getWrappedName(type, type.render, 'ForwardRef');

      case REACT_MEMO_TYPE:
        var outerName = type.displayName || null;

        if (outerName !== null) {
          return outerName;
        }

        return getComponentNameFromType(type.type) || 'Memo';

      case REACT_LAZY_TYPE:
        {
          var lazyComponent = type;
          var payload = lazyComponent._payload;
          var init = lazyComponent._init;

          try {
            return getComponentNameFromType(init(payload));
          } catch (x) {
            return null;
          }
        }

      // eslint-disable-next-line no-fallthrough
    }
  }

  return null;
}

var assign = Object.assign;

// Helpers to patch console.logs to avoid logging during side-effect free
// replaying on render function. This currently only patches the object
// lazily which won't cover if the log function was extracted eagerly.
// We could also eagerly patch the method.
var disabledDepth = 0;
var prevLog;
var prevInfo;
var prevWarn;
var prevError;
var prevGroup;
var prevGroupCollapsed;
var prevGroupEnd;

function disabledLog() {}

disabledLog.__reactDisabledLog = true;
function disableLogs() {
  {
    if (disabledDepth === 0) {
      /* eslint-disable react-internal/no-production-logging */
      prevLog = console.log;
      prevInfo = console.info;
      prevWarn = console.warn;
      prevError = console.error;
      prevGroup = console.group;
      prevGroupCollapsed = console.groupCollapsed;
      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099

      var props = {
        configurable: true,
        enumerable: true,
        value: disabledLog,
        writable: true
      }; // $FlowFixMe Flow thinks console is immutable.

      Object.defineProperties(console, {
        info: props,
        log: props,
        warn: props,
        error: props,
        group: props,
        groupCollapsed: props,
        groupEnd: props
      });
      /* eslint-enable react-internal/no-production-logging */
    }

    disabledDepth++;
  }
}
function reenableLogs() {
  {
    disabledDepth--;

    if (disabledDepth === 0) {
      /* eslint-disable react-internal/no-production-logging */
      var props = {
        configurable: true,
        enumerable: true,
        writable: true
      }; // $FlowFixMe Flow thinks console is immutable.

      Object.defineProperties(console, {
        log: assign({}, props, {
          value: prevLog
        }),
        info: assign({}, props, {
          value: prevInfo
        }),
        warn: assign({}, props, {
          value: prevWarn
        }),
        error: assign({}, props, {
          value: prevError
        }),
        group: assign({}, props, {
          value: prevGroup
        }),
        groupCollapsed: assign({}, props, {
          value: prevGroupCollapsed
        }),
        groupEnd: assign({}, props, {
          value: prevGroupEnd
        })
      });
      /* eslint-enable react-internal/no-production-logging */
    }

    if (disabledDepth < 0) {
      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
    }
  }
}

var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
var prefix;
function describeBuiltInComponentFrame(name, source, ownerFn) {
  {
    if (prefix === undefined) {
      // Extract the VM specific prefix used by each line.
      try {
        throw Error();
      } catch (x) {
        var match = x.stack.trim().match(/\n( *(at )?)/);
        prefix = match && match[1] || '';
      }
    } // We use the prefix to ensure our stacks line up with native stack frames.


    return '\n' + prefix + name;
  }
}
var reentry = false;
var componentFrameCache;

{
  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
  componentFrameCache = new PossiblyWeakMap();
}

function describeNativeComponentFrame(fn, construct) {
  // If something asked for a stack inside a fake render, it should get ignored.
  if ( !fn || reentry) {
    return '';
  }

  {
    var frame = componentFrameCache.get(fn);

    if (frame !== undefined) {
      return frame;
    }
  }

  var control;
  reentry = true;
  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.

  Error.prepareStackTrace = undefined;
  var previousDispatcher;

  {
    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
    // for warnings.

    ReactCurrentDispatcher.current = null;
    disableLogs();
  }

  try {
    // This should throw.
    if (construct) {
      // Something should be setting the props in the constructor.
      var Fake = function () {
        throw Error();
      }; // $FlowFixMe


      Object.defineProperty(Fake.prototype, 'props', {
        set: function () {
          // We use a throwing setter instead of frozen or non-writable props
          // because that won't throw in a non-strict mode function.
          throw Error();
        }
      });

      if (typeof Reflect === 'object' && Reflect.construct) {
        // We construct a different control for this case to include any extra
        // frames added by the construct call.
        try {
          Reflect.construct(Fake, []);
        } catch (x) {
          control = x;
        }

        Reflect.construct(fn, [], Fake);
      } else {
        try {
          Fake.call();
        } catch (x) {
          control = x;
        }

        fn.call(Fake.prototype);
      }
    } else {
      try {
        throw Error();
      } catch (x) {
        control = x;
      }

      fn();
    }
  } catch (sample) {
    // This is inlined manually because closure doesn't do it for us.
    if (sample && control && typeof sample.stack === 'string') {
      // This extracts the first frame from the sample that isn't also in the control.
      // Skipping one frame that we assume is the frame that calls the two.
      var sampleLines = sample.stack.split('\n');
      var controlLines = control.stack.split('\n');
      var s = sampleLines.length - 1;
      var c = controlLines.length - 1;

      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
        // We expect at least one stack frame to be shared.
        // Typically this will be the root most one. However, stack frames may be
        // cut off due to maximum stack limits. In this case, one maybe cut off
        // earlier than the other. We assume that the sample is longer or the same
        // and there for cut off earlier. So we should find the root most frame in
        // the sample somewhere in the control.
        c--;
      }

      for (; s >= 1 && c >= 0; s--, c--) {
        // Next we find the first one that isn't the same which should be the
        // frame that called our sample function and the control.
        if (sampleLines[s] !== controlLines[c]) {
          // In V8, the first line is describing the message but other VMs don't.
          // If we're about to return the first line, and the control is also on the same
          // line, that's a pretty good indicator that our sample threw at same line as
          // the control. I.e. before we entered the sample frame. So we ignore this result.
          // This can happen if you passed a class to function component, or non-function.
          if (s !== 1 || c !== 1) {
            do {
              s--;
              c--; // We may still have similar intermediate frames from the construct call.
              // The next one that isn't the same should be our match though.

              if (c < 0 || sampleLines[s] !== controlLines[c]) {
                // V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
                var _frame = '\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled "<anonymous>"
                // but we have a user-provided "displayName"
                // splice it in to make the stack more readable.


                if (fn.displayName && _frame.includes('<anonymous>')) {
                  _frame = _frame.replace('<anonymous>', fn.displayName);
                }

                {
                  if (typeof fn === 'function') {
                    componentFrameCache.set(fn, _frame);
                  }
                } // Return the line we found.


                return _frame;
              }
            } while (s >= 1 && c >= 0);
          }

          break;
        }
      }
    }
  } finally {
    reentry = false;

    {
      ReactCurrentDispatcher.current = previousDispatcher;
      reenableLogs();
    }

    Error.prepareStackTrace = previousPrepareStackTrace;
  } // Fallback to just using the name if we couldn't make it throw.


  var name = fn ? fn.displayName || fn.name : '';
  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';

  {
    if (typeof fn === 'function') {
      componentFrameCache.set(fn, syntheticFrame);
    }
  }

  return syntheticFrame;
}
function describeFunctionComponentFrame(fn, source, ownerFn) {
  {
    return describeNativeComponentFrame(fn, false);
  }
}

function shouldConstruct(Component) {
  var prototype = Component.prototype;
  return !!(prototype && prototype.isReactComponent);
}

function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {

  if (type == null) {
    return '';
  }

  if (typeof type === 'function') {
    {
      return describeNativeComponentFrame(type, shouldConstruct(type));
    }
  }

  if (typeof type === 'string') {
    return describeBuiltInComponentFrame(type);
  }

  switch (type) {
    case REACT_SUSPENSE_TYPE:
      return describeBuiltInComponentFrame('Suspense');

    case REACT_SUSPENSE_LIST_TYPE:
      return describeBuiltInComponentFrame('SuspenseList');
  }

  if (typeof type === 'object') {
    switch (type.$$typeof) {
      case REACT_FORWARD_REF_TYPE:
        return describeFunctionComponentFrame(type.render);

      case REACT_MEMO_TYPE:
        // Memo may contain any component type so we recursively resolve it.
        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);

      case REACT_LAZY_TYPE:
        {
          var lazyComponent = type;
          var payload = lazyComponent._payload;
          var init = lazyComponent._init;

          try {
            // Lazy may contain any component type so we recursively resolve it.
            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
          } catch (x) {}
        }
    }
  }

  return '';
}

var hasOwnProperty = Object.prototype.hasOwnProperty;

var loggedTypeFailures = {};
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;

function setCurrentlyValidatingElement(element) {
  {
    if (element) {
      var owner = element._owner;
      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
      ReactDebugCurrentFrame.setExtraStackFrame(stack);
    } else {
      ReactDebugCurrentFrame.setExtraStackFrame(null);
    }
  }
}

function checkPropTypes(typeSpecs, values, location, componentName, element) {
  {
    // $FlowFixMe This is okay but Flow doesn't know it.
    var has = Function.call.bind(hasOwnProperty);

    for (var typeSpecName in typeSpecs) {
      if (has(typeSpecs, typeSpecName)) {
        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
        // fail the render phase where it didn't fail before. So we log it.
        // After these have been cleaned up, we'll let them throw.

        try {
          // This is intentionally an invariant that gets caught. It's the same
          // behavior as without this statement except with a better message.
          if (typeof typeSpecs[typeSpecName] !== 'function') {
            // eslint-disable-next-line react-internal/prod-error-codes
            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
            err.name = 'Invariant Violation';
            throw err;
          }

          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
        } catch (ex) {
          error$1 = ex;
        }

        if (error$1 && !(error$1 instanceof Error)) {
          setCurrentlyValidatingElement(element);

          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);

          setCurrentlyValidatingElement(null);
        }

        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
          // Only monitor this failure once because there tends to be a lot of the
          // same error.
          loggedTypeFailures[error$1.message] = true;
          setCurrentlyValidatingElement(element);

          error('Failed %s type: %s', location, error$1.message);

          setCurrentlyValidatingElement(null);
        }
      }
    }
  }
}

var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare

function isArray(a) {
  return isArrayImpl(a);
}

/*
 * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
 * and Temporal.* types. See https://github.com/facebook/react/pull/22064.
 *
 * The functions in this module will throw an easier-to-understand,
 * easier-to-debug exception with a clear errors message message explaining the
 * problem. (Instead of a confusing exception thrown inside the implementation
 * of the `value` object).
 */
// $FlowFixMe only called in DEV, so void return is not possible.
function typeName(value) {
  {
    // toStringTag is needed for namespaced types like Temporal.Instant
    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
    return type;
  }
} // $FlowFixMe only called in DEV, so void return is not possible.


function willCoercionThrow(value) {
  {
    try {
      testStringCoercion(value);
      return false;
    } catch (e) {
      return true;
    }
  }
}

function testStringCoercion(value) {
  // If you ended up here by following an exception call stack, here's what's
  // happened: you supplied an object or symbol value to React (as a prop, key,
  // DOM attribute, CSS property, string ref, etc.) and when React tried to
  // coerce it to a string using `'' + value`, an exception was thrown.
  //
  // The most common types that will cause this exception are `Symbol` instances
  // and Temporal objects like `Temporal.Instant`. But any object that has a
  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this
  // exception. (Library authors do this to prevent users from using built-in
  // numeric operators like `+` or comparison operators like `>=` because custom
  // methods are needed to perform accurate arithmetic or comparison.)
  //
  // To fix the problem, coerce this object or symbol value to a string before
  // passing it to React. The most reliable way is usually `String(value)`.
  //
  // To find which value is throwing, check the browser or debugger console.
  // Before this exception was thrown, there should be `console.error` output
  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the
  // problem and how that type was used: key, atrribute, input value prop, etc.
  // In most cases, this console output also shows the component and its
  // ancestor components where the exception happened.
  //
  // eslint-disable-next-line react-internal/safe-string-coercion
  return '' + value;
}
function checkKeyStringCoercion(value) {
  {
    if (willCoercionThrow(value)) {
      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}

var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
var RESERVED_PROPS = {
  key: true,
  ref: true,
  __self: true,
  __source: true
};
var specialPropKeyWarningShown;
var specialPropRefWarningShown;
var didWarnAboutStringRefs;

{
  didWarnAboutStringRefs = {};
}

function hasValidRef(config) {
  {
    if (hasOwnProperty.call(config, 'ref')) {
      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;

      if (getter && getter.isReactWarning) {
        return false;
      }
    }
  }

  return config.ref !== undefined;
}

function hasValidKey(config) {
  {
    if (hasOwnProperty.call(config, 'key')) {
      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;

      if (getter && getter.isReactWarning) {
        return false;
      }
    }
  }

  return config.key !== undefined;
}

function warnIfStringRefCannotBeAutoConverted(config, self) {
  {
    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);

      if (!didWarnAboutStringRefs[componentName]) {
        error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);

        didWarnAboutStringRefs[componentName] = true;
      }
    }
  }
}

function defineKeyPropWarningGetter(props, displayName) {
  {
    var warnAboutAccessingKey = function () {
      if (!specialPropKeyWarningShown) {
        specialPropKeyWarningShown = true;

        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
      }
    };

    warnAboutAccessingKey.isReactWarning = true;
    Object.defineProperty(props, 'key', {
      get: warnAboutAccessingKey,
      configurable: true
    });
  }
}

function defineRefPropWarningGetter(props, displayName) {
  {
    var warnAboutAccessingRef = function () {
      if (!specialPropRefWarningShown) {
        specialPropRefWarningShown = true;

        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
      }
    };

    warnAboutAccessingRef.isReactWarning = true;
    Object.defineProperty(props, 'ref', {
      get: warnAboutAccessingRef,
      configurable: true
    });
  }
}
/**
 * Factory method to create a new React element. This no longer adheres to
 * the class pattern, so do not use new to call it. Also, instanceof check
 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check
 * if something is a React Element.
 *
 * @param {*} type
 * @param {*} props
 * @param {*} key
 * @param {string|object} ref
 * @param {*} owner
 * @param {*} self A *temporary* helper to detect places where `this` is
 * different from the `owner` when React.createElement is called, so that we
 * can warn. We want to get rid of owner and replace string `ref`s with arrow
 * functions, and as long as `this` and owner are the same, there will be no
 * change in behavior.
 * @param {*} source An annotation object (added by a transpiler or otherwise)
 * indicating filename, line number, and/or other information.
 * @internal
 */


var ReactElement = function (type, key, ref, self, source, owner, props) {
  var element = {
    // This tag allows us to uniquely identify this as a React Element
    $$typeof: REACT_ELEMENT_TYPE,
    // Built-in properties that belong on the element
    type: type,
    key: key,
    ref: ref,
    props: props,
    // Record the component responsible for creating this element.
    _owner: owner
  };

  {
    // The validation flag is currently mutative. We put it on
    // an external backing store so that we can freeze the whole object.
    // This can be replaced with a WeakMap once they are implemented in
    // commonly used development environments.
    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
    // the validation flag non-enumerable (where possible, which should
    // include every environment we run tests in), so the test framework
    // ignores it.

    Object.defineProperty(element._store, 'validated', {
      configurable: false,
      enumerable: false,
      writable: true,
      value: false
    }); // self and source are DEV only properties.

    Object.defineProperty(element, '_self', {
      configurable: false,
      enumerable: false,
      writable: false,
      value: self
    }); // Two elements created in two different places should be considered
    // equal for testing purposes and therefore we hide it from enumeration.

    Object.defineProperty(element, '_source', {
      configurable: false,
      enumerable: false,
      writable: false,
      value: source
    });

    if (Object.freeze) {
      Object.freeze(element.props);
      Object.freeze(element);
    }
  }

  return element;
};
/**
 * https://github.com/reactjs/rfcs/pull/107
 * @param {*} type
 * @param {object} props
 * @param {string} key
 */

function jsxDEV(type, config, maybeKey, source, self) {
  {
    var propName; // Reserved names are extracted

    var props = {};
    var key = null;
    var ref = null; // Currently, key can be spread in as a prop. This causes a potential
    // issue if key is also explicitly declared (ie. <div {...props} key="Hi" />
    // or <div key="Hi" {...props} /> ). We want to deprecate key spread,
    // but as an intermediary step, we will use jsxDEV for everything except
    // <div {...props} key="Hi" />, because we aren't currently able to tell if
    // key is explicitly declared to be undefined or not.

    if (maybeKey !== undefined) {
      {
        checkKeyStringCoercion(maybeKey);
      }

      key = '' + maybeKey;
    }

    if (hasValidKey(config)) {
      {
        checkKeyStringCoercion(config.key);
      }

      key = '' + config.key;
    }

    if (hasValidRef(config)) {
      ref = config.ref;
      warnIfStringRefCannotBeAutoConverted(config, self);
    } // Remaining properties are added to a new props object


    for (propName in config) {
      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
        props[propName] = config[propName];
      }
    } // Resolve default props


    if (type && type.defaultProps) {
      var defaultProps = type.defaultProps;

      for (propName in defaultProps) {
        if (props[propName] === undefined) {
          props[propName] = defaultProps[propName];
        }
      }
    }

    if (key || ref) {
      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;

      if (key) {
        defineKeyPropWarningGetter(props, displayName);
      }

      if (ref) {
        defineRefPropWarningGetter(props, displayName);
      }
    }

    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
  }
}

var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;

function setCurrentlyValidatingElement$1(element) {
  {
    if (element) {
      var owner = element._owner;
      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
    } else {
      ReactDebugCurrentFrame$1.setExtraStackFrame(null);
    }
  }
}

var propTypesMisspellWarningShown;

{
  propTypesMisspellWarningShown = false;
}
/**
 * Verifies the object is a ReactElement.
 * See https://reactjs.org/docs/react-api.html#isvalidelement
 * @param {?object} object
 * @return {boolean} True if `object` is a ReactElement.
 * @final
 */


function isValidElement(object) {
  {
    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
  }
}

function getDeclarationErrorAddendum() {
  {
    if (ReactCurrentOwner$1.current) {
      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);

      if (name) {
        return '\n\nCheck the render method of `' + name + '`.';
      }
    }

    return '';
  }
}

function getSourceInfoErrorAddendum(source) {
  {
    if (source !== undefined) {
      var fileName = source.fileName.replace(/^.*[\\\/]/, '');
      var lineNumber = source.lineNumber;
      return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
    }

    return '';
  }
}
/**
 * Warn if there's no key explicitly set on dynamic arrays of children or
 * object keys are not valid. This allows us to keep track of children between
 * updates.
 */


var ownerHasKeyUseWarning = {};

function getCurrentComponentErrorInfo(parentType) {
  {
    var info = getDeclarationErrorAddendum();

    if (!info) {
      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;

      if (parentName) {
        info = "\n\nCheck the top-level render call using <" + parentName + ">.";
      }
    }

    return info;
  }
}
/**
 * Warn if the element doesn't have an explicit key assigned to it.
 * This element is in an array. The array could grow and shrink or be
 * reordered. All children that haven't already been validated are required to
 * have a "key" property assigned to it. Error statuses are cached so a warning
 * will only be shown once.
 *
 * @internal
 * @param {ReactElement} element Element that requires a key.
 * @param {*} parentType element's parent's type.
 */


function validateExplicitKey(element, parentType) {
  {
    if (!element._store || element._store.validated || element.key != null) {
      return;
    }

    element._store.validated = true;
    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);

    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
      return;
    }

    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
    // property, it may be the creator of the child that's responsible for
    // assigning it a key.

    var childOwner = '';

    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
      // Give the component that originally created this child.
      childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
    }

    setCurrentlyValidatingElement$1(element);

    error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);

    setCurrentlyValidatingElement$1(null);
  }
}
/**
 * Ensure that every element either is passed in a static location, in an
 * array with an explicit keys property defined, or in an object literal
 * with valid key property.
 *
 * @internal
 * @param {ReactNode} node Statically passed child of any type.
 * @param {*} parentType node's parent's type.
 */


function validateChildKeys(node, parentType) {
  {
    if (typeof node !== 'object') {
      return;
    }

    if (isArray(node)) {
      for (var i = 0; i < node.length; i++) {
        var child = node[i];

        if (isValidElement(child)) {
          validateExplicitKey(child, parentType);
        }
      }
    } else if (isValidElement(node)) {
      // This element was passed in a valid location.
      if (node._store) {
        node._store.validated = true;
      }
    } else if (node) {
      var iteratorFn = getIteratorFn(node);

      if (typeof iteratorFn === 'function') {
        // Entry iterators used to provide implicit keys,
        // but now we print a separate warning for them later.
        if (iteratorFn !== node.entries) {
          var iterator = iteratorFn.call(node);
          var step;

          while (!(step = iterator.next()).done) {
            if (isValidElement(step.value)) {
              validateExplicitKey(step.value, parentType);
            }
          }
        }
      }
    }
  }
}
/**
 * Given an element, validate that its props follow the propTypes definition,
 * provided by the type.
 *
 * @param {ReactElement} element
 */


function validatePropTypes(element) {
  {
    var type = element.type;

    if (type === null || type === undefined || typeof type === 'string') {
      return;
    }

    var propTypes;

    if (typeof type === 'function') {
      propTypes = type.propTypes;
    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
    // Inner props are checked in the reconciler.
    type.$$typeof === REACT_MEMO_TYPE)) {
      propTypes = type.propTypes;
    } else {
      return;
    }

    if (propTypes) {
      // Intentionally inside to avoid triggering lazy initializers:
      var name = getComponentNameFromType(type);
      checkPropTypes(propTypes, element.props, 'prop', name, element);
    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:

      var _name = getComponentNameFromType(type);

      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
    }

    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
    }
  }
}
/**
 * Given a fragment, validate that it can only be provided with fragment props
 * @param {ReactElement} fragment
 */


function validateFragmentProps(fragment) {
  {
    var keys = Object.keys(fragment.props);

    for (var i = 0; i < keys.length; i++) {
      var key = keys[i];

      if (key !== 'children' && key !== 'key') {
        setCurrentlyValidatingElement$1(fragment);

        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);

        setCurrentlyValidatingElement$1(null);
        break;
      }
    }

    if (fragment.ref !== null) {
      setCurrentlyValidatingElement$1(fragment);

      error('Invalid attribute `ref` supplied to `React.Fragment`.');

      setCurrentlyValidatingElement$1(null);
    }
  }
}

var didWarnAboutKeySpread = {};
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
  {
    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
    // succeed and there will likely be errors in render.

    if (!validType) {
      var info = '';

      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
        info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
      }

      var sourceInfo = getSourceInfoErrorAddendum(source);

      if (sourceInfo) {
        info += sourceInfo;
      } else {
        info += getDeclarationErrorAddendum();
      }

      var typeString;

      if (type === null) {
        typeString = 'null';
      } else if (isArray(type)) {
        typeString = 'array';
      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
        typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />";
        info = ' Did you accidentally export a JSX literal instead of a component?';
      } else {
        typeString = typeof type;
      }

      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
    }

    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
    // TODO: Drop this when these are no longer allowed as the type argument.

    if (element == null) {
      return element;
    } // Skip key warning if the type isn't valid since our key validation logic
    // doesn't expect a non-string/function type and can throw confusing errors.
    // We don't want exception behavior to differ between dev and prod.
    // (Rendering will throw with a helpful message and as soon as the type is
    // fixed, the key warnings will appear.)


    if (validType) {
      var children = props.children;

      if (children !== undefined) {
        if (isStaticChildren) {
          if (isArray(children)) {
            for (var i = 0; i < children.length; i++) {
              validateChildKeys(children[i], type);
            }

            if (Object.freeze) {
              Object.freeze(children);
            }
          } else {
            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
          }
        } else {
          validateChildKeys(children, type);
        }
      }
    }

    {
      if (hasOwnProperty.call(props, 'key')) {
        var componentName = getComponentNameFromType(type);
        var keys = Object.keys(props).filter(function (k) {
          return k !== 'key';
        });
        var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';

        if (!didWarnAboutKeySpread[componentName + beforeExample]) {
          var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';

          error('A props object containing a "key" prop is being spread into JSX:\n' + '  let props = %s;\n' + '  <%s {...props} />\n' + 'React keys must be passed directly to JSX without using spread:\n' + '  let props = %s;\n' + '  <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);

          didWarnAboutKeySpread[componentName + beforeExample] = true;
        }
      }
    }

    if (type === REACT_FRAGMENT_TYPE) {
      validateFragmentProps(element);
    } else {
      validatePropTypes(element);
    }

    return element;
  }
} // These two functions exist to still get child warnings in dev
// even with the prod transform. This means that jsxDEV is purely
// opt-in behavior for better messages but that we won't stop
// giving you warnings if you use production apis.

function jsxWithValidationStatic(type, props, key) {
  {
    return jsxWithValidation(type, props, key, true);
  }
}
function jsxWithValidationDynamic(type, props, key) {
  {
    return jsxWithValidation(type, props, key, false);
  }
}

var jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.
// for now we can ship identical prod functions

var jsxs =  jsxWithValidationStatic ;

exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = jsx;
exports.jsxs = jsxs;
  })();
}


/***/ },

/***/ "./node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js ***!
  \*************************************************************************************/
(module, exports, __webpack_require__) {

"use strict";
/* module decorator */ module = __webpack_require__.nmd(module);
/**
 * @license React
 * react.development.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.
 */



if (true) {
  (function() {

          'use strict';

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
    'function'
) {
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
          var ReactVersion = '18.3.1';

// ATTENTION
// When adding new symbols to this file,
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
// The Symbol used to tag the ReactElement-like types.
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
var REACT_MEMO_TYPE = Symbol.for('react.memo');
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
var FAUX_ITERATOR_SYMBOL = '@@iterator';
function getIteratorFn(maybeIterable) {
  if (maybeIterable === null || typeof maybeIterable !== 'object') {
    return null;
  }

  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];

  if (typeof maybeIterator === 'function') {
    return maybeIterator;
  }

  return null;
}

/**
 * Keeps track of the current dispatcher.
 */
var ReactCurrentDispatcher = {
  /**
   * @internal
   * @type {ReactComponent}
   */
  current: null
};

/**
 * Keeps track of the current batch's configuration such as how long an update
 * should suspend for if it needs to.
 */
var ReactCurrentBatchConfig = {
  transition: null
};

var ReactCurrentActQueue = {
  current: null,
  // Used to reproduce behavior of `batchedUpdates` in legacy mode.
  isBatchingLegacy: false,
  didScheduleLegacyUpdate: false
};

/**
 * Keeps track of the current owner.
 *
 * The current owner is the component who should own any components that are
 * currently being constructed.
 */
var ReactCurrentOwner = {
  /**
   * @internal
   * @type {ReactComponent}
   */
  current: null
};

var ReactDebugCurrentFrame = {};
var currentExtraStackFrame = null;
function setExtraStackFrame(stack) {
  {
    currentExtraStackFrame = stack;
  }
}

{
  ReactDebugCurrentFrame.setExtraStackFrame = function (stack) {
    {
      currentExtraStackFrame = stack;
    }
  }; // Stack implementation injected by the current renderer.


  ReactDebugCurrentFrame.getCurrentStack = null;

  ReactDebugCurrentFrame.getStackAddendum = function () {
    var stack = ''; // Add an extra top frame while an element is being validated

    if (currentExtraStackFrame) {
      stack += currentExtraStackFrame;
    } // Delegate to the injected renderer-specific implementation


    var impl = ReactDebugCurrentFrame.getCurrentStack;

    if (impl) {
      stack += impl() || '';
    }

    return stack;
  };
}

// -----------------------------------------------------------------------------

var enableScopeAPI = false; // Experimental Create Event Handle API.
var enableCacheElement = false;
var enableTransitionTracing = false; // No known bugs, but needs performance testing

var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
// stuff. Intended to enable React core members to more easily debug scheduling
// issues in DEV builds.

var enableDebugTracing = false; // Track which Fiber(s) schedule render work.

var ReactSharedInternals = {
  ReactCurrentDispatcher: ReactCurrentDispatcher,
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
  ReactCurrentOwner: ReactCurrentOwner
};

{
  ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
  ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
}

// by calls to these methods by a Babel plugin.
//
// In PROD (or in packages without access to React internals),
// they are left as they are instead.

function warn(format) {
  {
    {
      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
        args[_key - 1] = arguments[_key];
      }

      printWarning('warn', format, args);
    }
  }
}
function error(format) {
  {
    {
      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
        args[_key2 - 1] = arguments[_key2];
      }

      printWarning('error', format, args);
    }
  }
}

function printWarning(level, format, args) {
  // When changing this logic, you might want to also
  // update consoleWithStackDev.www.js as well.
  {
    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
    var stack = ReactDebugCurrentFrame.getStackAddendum();

    if (stack !== '') {
      format += '%s';
      args = args.concat([stack]);
    } // eslint-disable-next-line react-internal/safe-string-coercion


    var argsWithFormat = args.map(function (item) {
      return String(item);
    }); // Careful: RN currently depends on this prefix

    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
    // breaks IE9: https://github.com/facebook/react/issues/13610
    // eslint-disable-next-line react-internal/no-production-logging

    Function.prototype.apply.call(console[level], console, argsWithFormat);
  }
}

var didWarnStateUpdateForUnmountedComponent = {};

function warnNoop(publicInstance, callerName) {
  {
    var _constructor = publicInstance.constructor;
    var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
    var warningKey = componentName + "." + callerName;

    if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
      return;
    }

    error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);

    didWarnStateUpdateForUnmountedComponent[warningKey] = true;
  }
}
/**
 * This is the abstract API for an update queue.
 */


var ReactNoopUpdateQueue = {
  /**
   * Checks whether or not this composite component is mounted.
   * @param {ReactClass} publicInstance The instance we want to test.
   * @return {boolean} True if mounted, false otherwise.
   * @protected
   * @final
   */
  isMounted: function (publicInstance) {
    return false;
  },

  /**
   * Forces an update. This should only be invoked when it is known with
   * certainty that we are **not** in a DOM transaction.
   *
   * You may want to call this when you know that some deeper aspect of the
   * component's state has changed but `setState` was not called.
   *
   * This will not invoke `shouldComponentUpdate`, but it will invoke
   * `componentWillUpdate` and `componentDidUpdate`.
   *
   * @param {ReactClass} publicInstance The instance that should rerender.
   * @param {?function} callback Called after component is updated.
   * @param {?string} callerName name of the calling function in the public API.
   * @internal
   */
  enqueueForceUpdate: function (publicInstance, callback, callerName) {
    warnNoop(publicInstance, 'forceUpdate');
  },

  /**
   * Replaces all of the state. Always use this or `setState` to mutate state.
   * You should treat `this.state` as immutable.
   *
   * There is no guarantee that `this.state` will be immediately updated, so
   * accessing `this.state` after calling this method may return the old value.
   *
   * @param {ReactClass} publicInstance The instance that should rerender.
   * @param {object} completeState Next state.
   * @param {?function} callback Called after component is updated.
   * @param {?string} callerName name of the calling function in the public API.
   * @internal
   */
  enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
    warnNoop(publicInstance, 'replaceState');
  },

  /**
   * Sets a subset of the state. This only exists because _pendingState is
   * internal. This provides a merging strategy that is not available to deep
   * properties which is confusing. TODO: Expose pendingState or don't use it
   * during the merge.
   *
   * @param {ReactClass} publicInstance The instance that should rerender.
   * @param {object} partialState Next partial state to be merged with state.
   * @param {?function} callback Called after component is updated.
   * @param {?string} Name of the calling function in the public API.
   * @internal
   */
  enqueueSetState: function (publicInstance, partialState, callback, callerName) {
    warnNoop(publicInstance, 'setState');
  }
};

var assign = Object.assign;

var emptyObject = {};

{
  Object.freeze(emptyObject);
}
/**
 * Base class helpers for the updating state of a component.
 */


function Component(props, context, updater) {
  this.props = props;
  this.context = context; // If a component has string refs, we will assign a different object later.

  this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the
  // renderer.

  this.updater = updater || ReactNoopUpdateQueue;
}

Component.prototype.isReactComponent = {};
/**
 * Sets a subset of the state. Always use this to mutate
 * state. You should treat `this.state` as immutable.
 *
 * There is no guarantee that `this.state` will be immediately updated, so
 * accessing `this.state` after calling this method may return the old value.
 *
 * There is no guarantee that calls to `setState` will run synchronously,
 * as they may eventually be batched together.  You can provide an optional
 * callback that will be executed when the call to setState is actually
 * completed.
 *
 * When a function is provided to setState, it will be called at some point in
 * the future (not synchronously). It will be called with the up to date
 * component arguments (state, props, context). These values can be different
 * from this.* because your function may be called after receiveProps but before
 * shouldComponentUpdate, and this new state, props, and context will not yet be
 * assigned to this.
 *
 * @param {object|function} partialState Next partial state or function to
 *        produce next partial state to be merged with current state.
 * @param {?function} callback Called after state is updated.
 * @final
 * @protected
 */

Component.prototype.setState = function (partialState, callback) {
  if (typeof partialState !== 'object' && typeof partialState !== 'function' && partialState != null) {
    throw new Error('setState(...): 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');
};
/**
 * Forces an update. This should only be invoked when it is known with
 * certainty that we are **not** in a DOM transaction.
 *
 * You may want to call this when you know that some deeper aspect of the
 * component's state has changed but `setState` was not called.
 *
 * This will not invoke `shouldComponentUpdate`, but it will invoke
 * `componentWillUpdate` and `componentDidUpdate`.
 *
 * @param {?function} callback Called after update is complete.
 * @final
 * @protected
 */


Component.prototype.forceUpdate = function (callback) {
  this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
};
/**
 * Deprecated APIs. These APIs used to exist on classic React classes but since
 * we would like to deprecate them, we're not going to move them over to this
 * modern base class. Instead, we define a getter that warns if it's accessed.
 */


{
  var deprecatedAPIs = {
    isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
    replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
  };

  var defineDeprecationWarning = function (methodName, info) {
    Object.defineProperty(Component.prototype, methodName, {
      get: function () {
        warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);

        return undefined;
      }
    });
  };

  for (var fnName in deprecatedAPIs) {
    if (deprecatedAPIs.hasOwnProperty(fnName)) {
      defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
    }
  }
}

function ComponentDummy() {}

ComponentDummy.prototype = Component.prototype;
/**
 * Convenience component with default shallow equality check for sCU.
 */

function PureComponent(props, context, updater) {
  this.props = props;
  this.context = context; // If a component has string refs, we will assign a different object later.

  this.refs = emptyObject;
  this.updater = updater || ReactNoopUpdateQueue;
}

var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods.

assign(pureComponentPrototype, Component.prototype);
pureComponentPrototype.isPureReactComponent = true;

// an immutable object with a single mutable value
function createRef() {
  var refObject = {
    current: null
  };

  {
    Object.seal(refObject);
  }

  return refObject;
}

var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare

function isArray(a) {
  return isArrayImpl(a);
}

/*
 * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
 * and Temporal.* types. See https://github.com/facebook/react/pull/22064.
 *
 * The functions in this module will throw an easier-to-understand,
 * easier-to-debug exception with a clear errors message message explaining the
 * problem. (Instead of a confusing exception thrown inside the implementation
 * of the `value` object).
 */
// $FlowFixMe only called in DEV, so void return is not possible.
function typeName(value) {
  {
    // toStringTag is needed for namespaced types like Temporal.Instant
    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
    return type;
  }
} // $FlowFixMe only called in DEV, so void return is not possible.


function willCoercionThrow(value) {
  {
    try {
      testStringCoercion(value);
      return false;
    } catch (e) {
      return true;
    }
  }
}

function testStringCoercion(value) {
  // If you ended up here by following an exception call stack, here's what's
  // happened: you supplied an object or symbol value to React (as a prop, key,
  // DOM attribute, CSS property, string ref, etc.) and when React tried to
  // coerce it to a string using `'' + value`, an exception was thrown.
  //
  // The most common types that will cause this exception are `Symbol` instances
  // and Temporal objects like `Temporal.Instant`. But any object that has a
  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this
  // exception. (Library authors do this to prevent users from using built-in
  // numeric operators like `+` or comparison operators like `>=` because custom
  // methods are needed to perform accurate arithmetic or comparison.)
  //
  // To fix the problem, coerce this object or symbol value to a string before
  // passing it to React. The most reliable way is usually `String(value)`.
  //
  // To find which value is throwing, check the browser or debugger console.
  // Before this exception was thrown, there should be `console.error` output
  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the
  // problem and how that type was used: key, atrribute, input value prop, etc.
  // In most cases, this console output also shows the component and its
  // ancestor components where the exception happened.
  //
  // eslint-disable-next-line react-internal/safe-string-coercion
  return '' + value;
}
function checkKeyStringCoercion(value) {
  {
    if (willCoercionThrow(value)) {
      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));

      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
    }
  }
}

function getWrappedName(outerType, innerType, wrapperName) {
  var displayName = outerType.displayName;

  if (displayName) {
    return displayName;
  }

  var functionName = innerType.displayName || innerType.name || '';
  return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
} // Keep in sync with react-reconciler/getComponentNameFromFiber


function getContextName(type) {
  return type.displayName || 'Context';
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.


function getComponentNameFromType(type) {
  if (type == null) {
    // Host root, text node or just invalid type.
    return null;
  }

  {
    if (typeof type.tag === 'number') {
      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
    }
  }

  if (typeof type === 'function') {
    return type.displayName || type.name || null;
  }

  if (typeof type === 'string') {
    return type;
  }

  switch (type) {
    case REACT_FRAGMENT_TYPE:
      return 'Fragment';

    case REACT_PORTAL_TYPE:
      return 'Portal';

    case REACT_PROFILER_TYPE:
      return 'Profiler';

    case REACT_STRICT_MODE_TYPE:
      return 'StrictMode';

    case REACT_SUSPENSE_TYPE:
      return 'Suspense';

    case REACT_SUSPENSE_LIST_TYPE:
      return 'SuspenseList';

  }

  if (typeof type === 'object') {
    switch (type.$$typeof) {
      case REACT_CONTEXT_TYPE:
        var context = type;
        return getContextName(context) + '.Consumer';

      case REACT_PROVIDER_TYPE:
        var provider = type;
        return getContextName(provider._context) + '.Provider';

      case REACT_FORWARD_REF_TYPE:
        return getWrappedName(type, type.render, 'ForwardRef');

      case REACT_MEMO_TYPE:
        var outerName = type.displayName || null;

        if (outerName !== null) {
          return outerName;
        }

        return getComponentNameFromType(type.type) || 'Memo';

      case REACT_LAZY_TYPE:
        {
          var lazyComponent = type;
          var payload = lazyComponent._payload;
          var init = lazyComponent._init;

          try {
            return getComponentNameFromType(init(payload));
          } catch (x) {
            return null;
          }
        }

      // eslint-disable-next-line no-fallthrough
    }
  }

  return null;
}

var hasOwnProperty = Object.prototype.hasOwnProperty;

var RESERVED_PROPS = {
  key: true,
  ref: true,
  __self: true,
  __source: true
};
var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;

{
  didWarnAboutStringRefs = {};
}

function hasValidRef(config) {
  {
    if (hasOwnProperty.call(config, 'ref')) {
      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;

      if (getter && getter.isReactWarning) {
        return false;
      }
    }
  }

  return config.ref !== undefined;
}

function hasValidKey(config) {
  {
    if (hasOwnProperty.call(config, 'key')) {
      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;

      if (getter && getter.isReactWarning) {
        return false;
      }
    }
  }

  return config.key !== undefined;
}

function defineKeyPropWarningGetter(props, displayName) {
  var warnAboutAccessingKey = function () {
    {
      if (!specialPropKeyWarningShown) {
        specialPropKeyWarningShown = true;

        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
      }
    }
  };

  warnAboutAccessingKey.isReactWarning = true;
  Object.defineProperty(props, 'key', {
    get: warnAboutAccessingKey,
    configurable: true
  });
}

function defineRefPropWarningGetter(props, displayName) {
  var warnAboutAccessingRef = function () {
    {
      if (!specialPropRefWarningShown) {
        specialPropRefWarningShown = true;

        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
      }
    }
  };

  warnAboutAccessingRef.isReactWarning = true;
  Object.defineProperty(props, 'ref', {
    get: warnAboutAccessingRef,
    configurable: true
  });
}

function warnIfStringRefCannotBeAutoConverted(config) {
  {
    if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);

      if (!didWarnAboutStringRefs[componentName]) {
        error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);

        didWarnAboutStringRefs[componentName] = true;
      }
    }
  }
}
/**
 * Factory method to create a new React element. This no longer adheres to
 * the class pattern, so do not use new to call it. Also, instanceof check
 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check
 * if something is a React Element.
 *
 * @param {*} type
 * @param {*} props
 * @param {*} key
 * @param {string|object} ref
 * @param {*} owner
 * @param {*} self A *temporary* helper to detect places where `this` is
 * different from the `owner` when React.createElement is called, so that we
 * can warn. We want to get rid of owner and replace string `ref`s with arrow
 * functions, and as long as `this` and owner are the same, there will be no
 * change in behavior.
 * @param {*} source An annotation object (added by a transpiler or otherwise)
 * indicating filename, line number, and/or other information.
 * @internal
 */


var ReactElement = function (type, key, ref, self, source, owner, props) {
  var element = {
    // This tag allows us to uniquely identify this as a React Element
    $$typeof: REACT_ELEMENT_TYPE,
    // Built-in properties that belong on the element
    type: type,
    key: key,
    ref: ref,
    props: props,
    // Record the component responsible for creating this element.
    _owner: owner
  };

  {
    // The validation flag is currently mutative. We put it on
    // an external backing store so that we can freeze the whole object.
    // This can be replaced with a WeakMap once they are implemented in
    // commonly used development environments.
    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
    // the validation flag non-enumerable (where possible, which should
    // include every environment we run tests in), so the test framework
    // ignores it.

    Object.defineProperty(element._store, 'validated', {
      configurable: false,
      enumerable: false,
      writable: true,
      value: false
    }); // self and source are DEV only properties.

    Object.defineProperty(element, '_self', {
      configurable: false,
      enumerable: false,
      writable: false,
      value: self
    }); // Two elements created in two different places should be considered
    // equal for testing purposes and therefore we hide it from enumeration.

    Object.defineProperty(element, '_source', {
      configurable: false,
      enumerable: false,
      writable: false,
      value: source
    });

    if (Object.freeze) {
      Object.freeze(element.props);
      Object.freeze(element);
    }
  }

  return element;
};
/**
 * Create and return a new ReactElement of the given type.
 * See https://reactjs.org/docs/react-api.html#createelement
 */

function createElement(type, config, children) {
  var propName; // Reserved names are extracted

  var props = {};
  var key = null;
  var ref = null;
  var self = null;
  var source = null;

  if (config != null) {
    if (hasValidRef(config)) {
      ref = config.ref;

      {
        warnIfStringRefCannotBeAutoConverted(config);
      }
    }

    if (hasValidKey(config)) {
      {
        checkKeyStringCoercion(config.key);
      }

      key = '' + config.key;
    }

    self = config.__self === undefined ? null : config.__self;
    source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object

    for (propName in config) {
      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
        props[propName] = config[propName];
      }
    }
  } // Children can be more than one argument, and those are transferred onto
  // the newly allocated props object.


  var childrenLength = arguments.length - 2;

  if (childrenLength === 1) {
    props.children = children;
  } else if (childrenLength > 1) {
    var childArray = Array(childrenLength);

    for (var i = 0; i < childrenLength; i++) {
      childArray[i] = arguments[i + 2];
    }

    {
      if (Object.freeze) {
        Object.freeze(childArray);
      }
    }

    props.children = childArray;
  } // Resolve default props


  if (type && type.defaultProps) {
    var defaultProps = type.defaultProps;

    for (propName in defaultProps) {
      if (props[propName] === undefined) {
        props[propName] = defaultProps[propName];
      }
    }
  }

  {
    if (key || ref) {
      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;

      if (key) {
        defineKeyPropWarningGetter(props, displayName);
      }

      if (ref) {
        defineRefPropWarningGetter(props, displayName);
      }
    }
  }

  return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
}
function cloneAndReplaceKey(oldElement, newKey) {
  var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
  return newElement;
}
/**
 * Clone and return a new ReactElement using element as the starting point.
 * See https://reactjs.org/docs/react-api.html#cloneelement
 */

function cloneElement(element, config, children) {
  if (element === null || element === undefined) {
    throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
  }

  var propName; // Original props are copied

  var props = assign({}, element.props); // Reserved names are extracted

  var key = element.key;
  var ref = element.ref; // Self is preserved since the owner is preserved.

  var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a
  // transpiler, and the original source is probably a better indicator of the
  // true owner.

  var source = element._source; // Owner will be preserved, unless ref is overridden

  var owner = element._owner;

  if (config != null) {
    if (hasValidRef(config)) {
      // Silently steal the ref from the parent.
      ref = config.ref;
      owner = ReactCurrentOwner.current;
    }

    if (hasValidKey(config)) {
      {
        checkKeyStringCoercion(config.key);
      }

      key = '' + config.key;
    } // Remaining properties override existing props


    var defaultProps;

    if (element.type && element.type.defaultProps) {
      defaultProps = element.type.defaultProps;
    }

    for (propName in config) {
      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
        if (config[propName] === undefined && defaultProps !== undefined) {
          // Resolve default props
          props[propName] = defaultProps[propName];
        } else {
          props[propName] = config[propName];
        }
      }
    }
  } // Children can be more than one argument, and those are transferred onto
  // the newly allocated props object.


  var childrenLength = arguments.length - 2;

  if (childrenLength === 1) {
    props.children = children;
  } else if (childrenLength > 1) {
    var childArray = Array(childrenLength);

    for (var i = 0; i < childrenLength; i++) {
      childArray[i] = arguments[i + 2];
    }

    props.children = childArray;
  }

  return ReactElement(element.type, key, ref, self, source, owner, props);
}
/**
 * Verifies the object is a ReactElement.
 * See https://reactjs.org/docs/react-api.html#isvalidelement
 * @param {?object} object
 * @return {boolean} True if `object` is a ReactElement.
 * @final
 */

function isValidElement(object) {
  return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
}

var SEPARATOR = '.';
var SUBSEPARATOR = ':';
/**
 * Escape and wrap key so it is safe to use as a reactid
 *
 * @param {string} key to be escaped.
 * @return {string} the escaped key.
 */

function escape(key) {
  var escapeRegex = /[=:]/g;
  var escaperLookup = {
    '=': '=0',
    ':': '=2'
  };
  var escapedString = key.replace(escapeRegex, function (match) {
    return escaperLookup[match];
  });
  return '$' + escapedString;
}
/**
 * TODO: Test that a single child and an array with one item have the same key
 * pattern.
 */


var didWarnAboutMaps = false;
var userProvidedKeyEscapeRegex = /\/+/g;

function escapeUserProvidedKey(text) {
  return text.replace(userProvidedKeyEscapeRegex, '$&/');
}
/**
 * Generate a key string that identifies a element within a set.
 *
 * @param {*} element A element that could contain a manual key.
 * @param {number} index Index that is used if a manual key is not provided.
 * @return {string}
 */


function getElementKey(element, index) {
  // Do some typechecking here since we call this blindly. We want to ensure
  // that we don't block potential future ES APIs.
  if (typeof element === 'object' && element !== null && element.key != null) {
    // Explicit key
    {
      checkKeyStringCoercion(element.key);
    }

    return escape('' + element.key);
  } // Implicit key determined by the index in the set


  return index.toString(36);
}

function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
  var type = typeof children;

  if (type === 'undefined' || type === 'boolean') {
    // All of the above are perceived as null.
    children = null;
  }

  var invokeCallback = false;

  if (children === null) {
    invokeCallback = true;
  } else {
    switch (type) {
      case 'string':
      case 'number':
        invokeCallback = true;
        break;

      case 'object':
        switch (children.$$typeof) {
          case REACT_ELEMENT_TYPE:
          case REACT_PORTAL_TYPE:
            invokeCallback = true;
        }

    }
  }

  if (invokeCallback) {
    var _child = children;
    var mappedChild = callback(_child); // If it's the only child, treat the name as if it was wrapped in an array
    // so that it's consistent if the number of children grows:

    var childKey = nameSoFar === '' ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;

    if (isArray(mappedChild)) {
      var escapedChildKey = '';

      if (childKey != null) {
        escapedChildKey = escapeUserProvidedKey(childKey) + '/';
      }

      mapIntoArray(mappedChild, array, escapedChildKey, '', function (c) {
        return c;
      });
    } else if (mappedChild != null) {
      if (isValidElement(mappedChild)) {
        {
          // The `if` statement here prevents auto-disabling of the safe
          // coercion ESLint rule, so we must manually disable it below.
          // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
          if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
            checkKeyStringCoercion(mappedChild.key);
          }
        }

        mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as
        // traverseAllChildren used to do for objects as children
        escapedPrefix + ( // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
        mappedChild.key && (!_child || _child.key !== mappedChild.key) ? // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
        // eslint-disable-next-line react-internal/safe-string-coercion
        escapeUserProvidedKey('' + mappedChild.key) + '/' : '') + childKey);
      }

      array.push(mappedChild);
    }

    return 1;
  }

  var child;
  var nextName;
  var subtreeCount = 0; // Count of children found in the current subtree.

  var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;

  if (isArray(children)) {
    for (var i = 0; i < children.length; i++) {
      child = children[i];
      nextName = nextNamePrefix + getElementKey(child, i);
      subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
    }
  } else {
    var iteratorFn = getIteratorFn(children);

    if (typeof iteratorFn === 'function') {
      var iterableChildren = children;

      {
        // Warn about using Maps as children
        if (iteratorFn === iterableChildren.entries) {
          if (!didWarnAboutMaps) {
            warn('Using Maps as children is not supported. ' + 'Use an array of keyed ReactElements instead.');
          }

          didWarnAboutMaps = true;
        }
      }

      var iterator = iteratorFn.call(iterableChildren);
      var step;
      var ii = 0;

      while (!(step = iterator.next()).done) {
        child = step.value;
        nextName = nextNamePrefix + getElementKey(child, ii++);
        subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
      }
    } else if (type === 'object') {
      // eslint-disable-next-line react-internal/safe-string-coercion
      var childrenString = String(children);
      throw new Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + "). " + 'If you meant to render a collection of children, use an array ' + 'instead.');
    }
  }

  return subtreeCount;
}

/**
 * Maps children that are typically specified as `props.children`.
 *
 * See https://reactjs.org/docs/react-api.html#reactchildrenmap
 *
 * The provided mapFunction(child, index) will be called for each
 * leaf child.
 *
 * @param {?*} children Children tree container.
 * @param {function(*, int)} func The map function.
 * @param {*} context Context for mapFunction.
 * @return {object} Object containing the ordered map of results.
 */
function mapChildren(children, func, context) {
  if (children == null) {
    return children;
  }

  var result = [];
  var count = 0;
  mapIntoArray(children, result, '', '', function (child) {
    return func.call(context, child, count++);
  });
  return result;
}
/**
 * Count the number of children that are typically specified as
 * `props.children`.
 *
 * See https://reactjs.org/docs/react-api.html#reactchildrencount
 *
 * @param {?*} children Children tree container.
 * @return {number} The number of children.
 */


function countChildren(children) {
  var n = 0;
  mapChildren(children, function () {
    n++; // Don't return anything
  });
  return n;
}

/**
 * Iterates through children that are typically specified as `props.children`.
 *
 * See https://reactjs.org/docs/react-api.html#reactchildrenforeach
 *
 * The provided forEachFunc(child, index) will be called for each
 * leaf child.
 *
 * @param {?*} children Children tree container.
 * @param {function(*, int)} forEachFunc
 * @param {*} forEachContext Context for forEachContext.
 */
function forEachChildren(children, forEachFunc, forEachContext) {
  mapChildren(children, function () {
    forEachFunc.apply(this, arguments); // Don't return anything.
  }, forEachContext);
}
/**
 * Flatten a children object (typically specified as `props.children`) and
 * return an array with appropriately re-keyed children.
 *
 * See https://reactjs.org/docs/react-api.html#reactchildrentoarray
 */


function toArray(children) {
  return mapChildren(children, function (child) {
    return child;
  }) || [];
}
/**
 * Returns the first child in a collection of children and verifies that there
 * is only one child in the collection.
 *
 * See https://reactjs.org/docs/react-api.html#reactchildrenonly
 *
 * The current implementation of this function assumes that a single child gets
 * passed without a wrapper, but the purpose of this helper function is to
 * abstract away the particular structure of children.
 *
 * @param {?object} children Child collection structure.
 * @return {ReactElement} The first and only `ReactElement` contained in the
 * structure.
 */


function onlyChild(children) {
  if (!isValidElement(children)) {
    throw new Error('React.Children.only expected to receive a single React element child.');
  }

  return children;
}

function createContext(defaultValue) {
  // TODO: Second argument used to be an optional `calculateChangedBits`
  // function. Warn to reserve for future use?
  var context = {
    $$typeof: REACT_CONTEXT_TYPE,
    // As a workaround to support multiple concurrent renderers, we categorize
    // some renderers as primary and others as secondary. We only expect
    // there to be two concurrent renderers at most: React Native (primary) and
    // Fabric (secondary); React DOM (primary) and React ART (secondary).
    // Secondary renderers store their context values on separate fields.
    _currentValue: defaultValue,
    _currentValue2: defaultValue,
    // Used to track how many concurrent renderers this context currently
    // supports within in a single renderer. Such as parallel server rendering.
    _threadCount: 0,
    // These are circular
    Provider: null,
    Consumer: null,
    // Add these to use same hidden class in VM as ServerContext
    _defaultValue: null,
    _globalName: null
  };
  context.Provider = {
    $$typeof: REACT_PROVIDER_TYPE,
    _context: context
  };
  var hasWarnedAboutUsingNestedContextConsumers = false;
  var hasWarnedAboutUsingConsumerProvider = false;
  var hasWarnedAboutDisplayNameOnConsumer = false;

  {
    // A separate object, but proxies back to the original context object for
    // backwards compatibility. It has a different $$typeof, so we can properly
    // warn for the incorrect usage of Context as a Consumer.
    var Consumer = {
      $$typeof: REACT_CONTEXT_TYPE,
      _context: context
    }; // $FlowFixMe: Flow complains about not setting a value, which is intentional here

    Object.defineProperties(Consumer, {
      Provider: {
        get: function () {
          if (!hasWarnedAboutUsingConsumerProvider) {
            hasWarnedAboutUsingConsumerProvider = true;

            error('Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
          }

          return context.Provider;
        },
        set: function (_Provider) {
          context.Provider = _Provider;
        }
      },
      _currentValue: {
        get: function () {
          return context._currentValue;
        },
        set: function (_currentValue) {
          context._currentValue = _currentValue;
        }
      },
      _currentValue2: {
        get: function () {
          return context._currentValue2;
        },
        set: function (_currentValue2) {
          context._currentValue2 = _currentValue2;
        }
      },
      _threadCount: {
        get: function () {
          return context._threadCount;
        },
        set: function (_threadCount) {
          context._threadCount = _threadCount;
        }
      },
      Consumer: {
        get: function () {
          if (!hasWarnedAboutUsingNestedContextConsumers) {
            hasWarnedAboutUsingNestedContextConsumers = true;

            error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
          }

          return context.Consumer;
        }
      },
      displayName: {
        get: function () {
          return context.displayName;
        },
        set: function (displayName) {
          if (!hasWarnedAboutDisplayNameOnConsumer) {
            warn('Setting `displayName` on Context.Consumer has no effect. ' + "You should set it directly on the context with Context.displayName = '%s'.", displayName);

            hasWarnedAboutDisplayNameOnConsumer = true;
          }
        }
      }
    }); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty

    context.Consumer = Consumer;
  }

  {
    context._currentRenderer = null;
    context._currentRenderer2 = null;
  }

  return context;
}

var Uninitialized = -1;
var Pending = 0;
var Resolved = 1;
var Rejected = 2;

function lazyInitializer(payload) {
  if (payload._status === Uninitialized) {
    var ctor = payload._result;
    var thenable = ctor(); // Transition to the next state.
    // This might throw either because it's missing or throws. If so, we treat it
    // as still uninitialized and try again next time. Which is the same as what
    // happens if the ctor or any wrappers processing the ctor throws. This might
    // end up fixing it if the resolution was a concurrency bug.

    thenable.then(function (moduleObject) {
      if (payload._status === Pending || payload._status === Uninitialized) {
        // Transition to the next state.
        var resolved = payload;
        resolved._status = Resolved;
        resolved._result = moduleObject;
      }
    }, function (error) {
      if (payload._status === Pending || payload._status === Uninitialized) {
        // Transition to the next state.
        var rejected = payload;
        rejected._status = Rejected;
        rejected._result = error;
      }
    });

    if (payload._status === Uninitialized) {
      // In case, we're still uninitialized, then we're waiting for the thenable
      // to resolve. Set it as pending in the meantime.
      var pending = payload;
      pending._status = Pending;
      pending._result = thenable;
    }
  }

  if (payload._status === Resolved) {
    var moduleObject = payload._result;

    {
      if (moduleObject === undefined) {
        error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n  ' + // Break up imports to avoid accidentally parsing them as dependencies.
        'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))\n\n" + 'Did you accidentally put curly braces around the import?', moduleObject);
      }
    }

    {
      if (!('default' in moduleObject)) {
        error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n  ' + // Break up imports to avoid accidentally parsing them as dependencies.
        'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
      }
    }

    return moduleObject.default;
  } else {
    throw payload._result;
  }
}

function lazy(ctor) {
  var payload = {
    // We use these fields to store the result.
    _status: Uninitialized,
    _result: ctor
  };
  var lazyType = {
    $$typeof: REACT_LAZY_TYPE,
    _payload: payload,
    _init: lazyInitializer
  };

  {
    // In production, this would just set it on the object.
    var defaultProps;
    var propTypes; // $FlowFixMe

    Object.defineProperties(lazyType, {
      defaultProps: {
        configurable: true,
        get: function () {
          return defaultProps;
        },
        set: function (newDefaultProps) {
          error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');

          defaultProps = newDefaultProps; // Match production behavior more closely:
          // $FlowFixMe

          Object.defineProperty(lazyType, 'defaultProps', {
            enumerable: true
          });
        }
      },
      propTypes: {
        configurable: true,
        get: function () {
          return propTypes;
        },
        set: function (newPropTypes) {
          error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');

          propTypes = newPropTypes; // Match production behavior more closely:
          // $FlowFixMe

          Object.defineProperty(lazyType, 'propTypes', {
            enumerable: true
          });
        }
      }
    });
  }

  return lazyType;
}

function forwardRef(render) {
  {
    if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
      error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
    } else if (typeof render !== 'function') {
      error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
    } else {
      if (render.length !== 0 && render.length !== 2) {
        error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');
      }
    }

    if (render != null) {
      if (render.defaultProps != null || render.propTypes != null) {
        error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
      }
    }
  }

  var elementType = {
    $$typeof: REACT_FORWARD_REF_TYPE,
    render: render
  };

  {
    var ownName;
    Object.defineProperty(elementType, 'displayName', {
      enumerable: false,
      configurable: true,
      get: function () {
        return ownName;
      },
      set: function (name) {
        ownName = name; // The inner component shouldn't inherit this display name in most cases,
        // because the component may be used elsewhere.
        // But it's nice for anonymous functions to inherit the name,
        // so that our component-stack generation logic will display their frames.
        // An anonymous function generally suggests a pattern like:
        //   React.forwardRef((props, ref) => {...});
        // This kind of inner function is not used elsewhere so the side effect is okay.

        if (!render.name && !render.displayName) {
          render.displayName = name;
        }
      }
    });
  }

  return elementType;
}

var REACT_MODULE_REFERENCE;

{
  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
}

function isValidElementType(type) {
  if (typeof type === 'string' || typeof type === 'function') {
    return true;
  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).


  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {
    return true;
  }

  if (typeof type === 'object' && type !== null) {
    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
    // types supported by any Flight configuration anywhere since
    // we don't know which Flight build this will end up being used
    // with.
    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
      return true;
    }
  }

  return false;
}

function memo(type, compare) {
  {
    if (!isValidElementType(type)) {
      error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
    }
  }

  var elementType = {
    $$typeof: REACT_MEMO_TYPE,
    type: type,
    compare: compare === undefined ? null : compare
  };

  {
    var ownName;
    Object.defineProperty(elementType, 'displayName', {
      enumerable: false,
      configurable: true,
      get: function () {
        return ownName;
      },
      set: function (name) {
        ownName = name; // The inner component shouldn't inherit this display name in most cases,
        // because the component may be used elsewhere.
        // But it's nice for anonymous functions to inherit the name,
        // so that our component-stack generation logic will display their frames.
        // An anonymous function generally suggests a pattern like:
        //   React.memo((props) => {...});
        // This kind of inner function is not used elsewhere so the side effect is okay.

        if (!type.name && !type.displayName) {
          type.displayName = name;
        }
      }
    });
  }

  return elementType;
}

function resolveDispatcher() {
  var dispatcher = ReactCurrentDispatcher.current;

  {
    if (dispatcher === null) {
      error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
    }
  } // Will result in a null access error if accessed outside render phase. We
  // intentionally don't throw our own error because this is in a hot path.
  // Also helps ensure this is inlined.


  return dispatcher;
}
function useContext(Context) {
  var dispatcher = resolveDispatcher();

  {
    // TODO: add a more generic warning for invalid values.
    if (Context._context !== undefined) {
      var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
      // and nobody should be using this in existing code.

      if (realContext.Consumer === Context) {
        error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
      } else if (realContext.Provider === Context) {
        error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
      }
    }
  }

  return dispatcher.useContext(Context);
}
function useState(initialState) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useState(initialState);
}
function useReducer(reducer, initialArg, init) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useReducer(reducer, initialArg, init);
}
function useRef(initialValue) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useRef(initialValue);
}
function useEffect(create, deps) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useEffect(create, deps);
}
function useInsertionEffect(create, deps) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useInsertionEffect(create, deps);
}
function useLayoutEffect(create, deps) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useLayoutEffect(create, deps);
}
function useCallback(callback, deps) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useCallback(callback, deps);
}
function useMemo(create, deps) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useMemo(create, deps);
}
function useImperativeHandle(ref, create, deps) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useImperativeHandle(ref, create, deps);
}
function useDebugValue(value, formatterFn) {
  {
    var dispatcher = resolveDispatcher();
    return dispatcher.useDebugValue(value, formatterFn);
  }
}
function useTransition() {
  var dispatcher = resolveDispatcher();
  return dispatcher.useTransition();
}
function useDeferredValue(value) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useDeferredValue(value);
}
function useId() {
  var dispatcher = resolveDispatcher();
  return dispatcher.useId();
}
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
  var dispatcher = resolveDispatcher();
  return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
}

// Helpers to patch console.logs to avoid logging during side-effect free
// replaying on render function. This currently only patches the object
// lazily which won't cover if the log function was extracted eagerly.
// We could also eagerly patch the method.
var disabledDepth = 0;
var prevLog;
var prevInfo;
var prevWarn;
var prevError;
var prevGroup;
var prevGroupCollapsed;
var prevGroupEnd;

function disabledLog() {}

disabledLog.__reactDisabledLog = true;
function disableLogs() {
  {
    if (disabledDepth === 0) {
      /* eslint-disable react-internal/no-production-logging */
      prevLog = console.log;
      prevInfo = console.info;
      prevWarn = console.warn;
      prevError = console.error;
      prevGroup = console.group;
      prevGroupCollapsed = console.groupCollapsed;
      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099

      var props = {
        configurable: true,
        enumerable: true,
        value: disabledLog,
        writable: true
      }; // $FlowFixMe Flow thinks console is immutable.

      Object.defineProperties(console, {
        info: props,
        log: props,
        warn: props,
        error: props,
        group: props,
        groupCollapsed: props,
        groupEnd: props
      });
      /* eslint-enable react-internal/no-production-logging */
    }

    disabledDepth++;
  }
}
function reenableLogs() {
  {
    disabledDepth--;

    if (disabledDepth === 0) {
      /* eslint-disable react-internal/no-production-logging */
      var props = {
        configurable: true,
        enumerable: true,
        writable: true
      }; // $FlowFixMe Flow thinks console is immutable.

      Object.defineProperties(console, {
        log: assign({}, props, {
          value: prevLog
        }),
        info: assign({}, props, {
          value: prevInfo
        }),
        warn: assign({}, props, {
          value: prevWarn
        }),
        error: assign({}, props, {
          value: prevError
        }),
        group: assign({}, props, {
          value: prevGroup
        }),
        groupCollapsed: assign({}, props, {
          value: prevGroupCollapsed
        }),
        groupEnd: assign({}, props, {
          value: prevGroupEnd
        })
      });
      /* eslint-enable react-internal/no-production-logging */
    }

    if (disabledDepth < 0) {
      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
    }
  }
}

var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
var prefix;
function describeBuiltInComponentFrame(name, source, ownerFn) {
  {
    if (prefix === undefined) {
      // Extract the VM specific prefix used by each line.
      try {
        throw Error();
      } catch (x) {
        var match = x.stack.trim().match(/\n( *(at )?)/);
        prefix = match && match[1] || '';
      }
    } // We use the prefix to ensure our stacks line up with native stack frames.


    return '\n' + prefix + name;
  }
}
var reentry = false;
var componentFrameCache;

{
  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
  componentFrameCache = new PossiblyWeakMap();
}

function describeNativeComponentFrame(fn, construct) {
  // If something asked for a stack inside a fake render, it should get ignored.
  if ( !fn || reentry) {
    return '';
  }

  {
    var frame = componentFrameCache.get(fn);

    if (frame !== undefined) {
      return frame;
    }
  }

  var control;
  reentry = true;
  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.

  Error.prepareStackTrace = undefined;
  var previousDispatcher;

  {
    previousDispatcher = ReactCurrentDispatcher$1.current; // Set the dispatcher in DEV because this might be call in the render function
    // for warnings.

    ReactCurrentDispatcher$1.current = null;
    disableLogs();
  }

  try {
    // This should throw.
    if (construct) {
      // Something should be setting the props in the constructor.
      var Fake = function () {
        throw Error();
      }; // $FlowFixMe


      Object.defineProperty(Fake.prototype, 'props', {
        set: function () {
          // We use a throwing setter instead of frozen or non-writable props
          // because that won't throw in a non-strict mode function.
          throw Error();
        }
      });

      if (typeof Reflect === 'object' && Reflect.construct) {
        // We construct a different control for this case to include any extra
        // frames added by the construct call.
        try {
          Reflect.construct(Fake, []);
        } catch (x) {
          control = x;
        }

        Reflect.construct(fn, [], Fake);
      } else {
        try {
          Fake.call();
        } catch (x) {
          control = x;
        }

        fn.call(Fake.prototype);
      }
    } else {
      try {
        throw Error();
      } catch (x) {
        control = x;
      }

      fn();
    }
  } catch (sample) {
    // This is inlined manually because closure doesn't do it for us.
    if (sample && control && typeof sample.stack === 'string') {
      // This extracts the first frame from the sample that isn't also in the control.
      // Skipping one frame that we assume is the frame that calls the two.
      var sampleLines = sample.stack.split('\n');
      var controlLines = control.stack.split('\n');
      var s = sampleLines.length - 1;
      var c = controlLines.length - 1;

      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
        // We expect at least one stack frame to be shared.
        // Typically this will be the root most one. However, stack frames may be
        // cut off due to maximum stack limits. In this case, one maybe cut off
        // earlier than the other. We assume that the sample is longer or the same
        // and there for cut off earlier. So we should find the root most frame in
        // the sample somewhere in the control.
        c--;
      }

      for (; s >= 1 && c >= 0; s--, c--) {
        // Next we find the first one that isn't the same which should be the
        // frame that called our sample function and the control.
        if (sampleLines[s] !== controlLines[c]) {
          // In V8, the first line is describing the message but other VMs don't.
          // If we're about to return the first line, and the control is also on the same
          // line, that's a pretty good indicator that our sample threw at same line as
          // the control. I.e. before we entered the sample frame. So we ignore this result.
          // This can happen if you passed a class to function component, or non-function.
          if (s !== 1 || c !== 1) {
            do {
              s--;
              c--; // We may still have similar intermediate frames from the construct call.
              // The next one that isn't the same should be our match though.

              if (c < 0 || sampleLines[s] !== controlLines[c]) {
                // V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
                var _frame = '\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled "<anonymous>"
                // but we have a user-provided "displayName"
                // splice it in to make the stack more readable.


                if (fn.displayName && _frame.includes('<anonymous>')) {
                  _frame = _frame.replace('<anonymous>', fn.displayName);
                }

                {
                  if (typeof fn === 'function') {
                    componentFrameCache.set(fn, _frame);
                  }
                } // Return the line we found.


                return _frame;
              }
            } while (s >= 1 && c >= 0);
          }

          break;
        }
      }
    }
  } finally {
    reentry = false;

    {
      ReactCurrentDispatcher$1.current = previousDispatcher;
      reenableLogs();
    }

    Error.prepareStackTrace = previousPrepareStackTrace;
  } // Fallback to just using the name if we couldn't make it throw.


  var name = fn ? fn.displayName || fn.name : '';
  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';

  {
    if (typeof fn === 'function') {
      componentFrameCache.set(fn, syntheticFrame);
    }
  }

  return syntheticFrame;
}
function describeFunctionComponentFrame(fn, source, ownerFn) {
  {
    return describeNativeComponentFrame(fn, false);
  }
}

function shouldConstruct(Component) {
  var prototype = Component.prototype;
  return !!(prototype && prototype.isReactComponent);
}

function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {

  if (type == null) {
    return '';
  }

  if (typeof type === 'function') {
    {
      return describeNativeComponentFrame(type, shouldConstruct(type));
    }
  }

  if (typeof type === 'string') {
    return describeBuiltInComponentFrame(type);
  }

  switch (type) {
    case REACT_SUSPENSE_TYPE:
      return describeBuiltInComponentFrame('Suspense');

    case REACT_SUSPENSE_LIST_TYPE:
      return describeBuiltInComponentFrame('SuspenseList');
  }

  if (typeof type === 'object') {
    switch (type.$$typeof) {
      case REACT_FORWARD_REF_TYPE:
        return describeFunctionComponentFrame(type.render);

      case REACT_MEMO_TYPE:
        // Memo may contain any component type so we recursively resolve it.
        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);

      case REACT_LAZY_TYPE:
        {
          var lazyComponent = type;
          var payload = lazyComponent._payload;
          var init = lazyComponent._init;

          try {
            // Lazy may contain any component type so we recursively resolve it.
            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
          } catch (x) {}
        }
    }
  }

  return '';
}

var loggedTypeFailures = {};
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;

function setCurrentlyValidatingElement(element) {
  {
    if (element) {
      var owner = element._owner;
      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
    } else {
      ReactDebugCurrentFrame$1.setExtraStackFrame(null);
    }
  }
}

function checkPropTypes(typeSpecs, values, location, componentName, element) {
  {
    // $FlowFixMe This is okay but Flow doesn't know it.
    var has = Function.call.bind(hasOwnProperty);

    for (var typeSpecName in typeSpecs) {
      if (has(typeSpecs, typeSpecName)) {
        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
        // fail the render phase where it didn't fail before. So we log it.
        // After these have been cleaned up, we'll let them throw.

        try {
          // This is intentionally an invariant that gets caught. It's the same
          // behavior as without this statement except with a better message.
          if (typeof typeSpecs[typeSpecName] !== 'function') {
            // eslint-disable-next-line react-internal/prod-error-codes
            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
            err.name = 'Invariant Violation';
            throw err;
          }

          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
        } catch (ex) {
          error$1 = ex;
        }

        if (error$1 && !(error$1 instanceof Error)) {
          setCurrentlyValidatingElement(element);

          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);

          setCurrentlyValidatingElement(null);
        }

        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
          // Only monitor this failure once because there tends to be a lot of the
          // same error.
          loggedTypeFailures[error$1.message] = true;
          setCurrentlyValidatingElement(element);

          error('Failed %s type: %s', location, error$1.message);

          setCurrentlyValidatingElement(null);
        }
      }
    }
  }
}

function setCurrentlyValidatingElement$1(element) {
  {
    if (element) {
      var owner = element._owner;
      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
      setExtraStackFrame(stack);
    } else {
      setExtraStackFrame(null);
    }
  }
}

var propTypesMisspellWarningShown;

{
  propTypesMisspellWarningShown = false;
}

function getDeclarationErrorAddendum() {
  if (ReactCurrentOwner.current) {
    var name = getComponentNameFromType(ReactCurrentOwner.current.type);

    if (name) {
      return '\n\nCheck the render method of `' + name + '`.';
    }
  }

  return '';
}

function getSourceInfoErrorAddendum(source) {
  if (source !== undefined) {
    var fileName = source.fileName.replace(/^.*[\\\/]/, '');
    var lineNumber = source.lineNumber;
    return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
  }

  return '';
}

function getSourceInfoErrorAddendumForProps(elementProps) {
  if (elementProps !== null && elementProps !== undefined) {
    return getSourceInfoErrorAddendum(elementProps.__source);
  }

  return '';
}
/**
 * Warn if there's no key explicitly set on dynamic arrays of children or
 * object keys are not valid. This allows us to keep track of children between
 * updates.
 */


var ownerHasKeyUseWarning = {};

function getCurrentComponentErrorInfo(parentType) {
  var info = getDeclarationErrorAddendum();

  if (!info) {
    var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;

    if (parentName) {
      info = "\n\nCheck the top-level render call using <" + parentName + ">.";
    }
  }

  return info;
}
/**
 * Warn if the element doesn't have an explicit key assigned to it.
 * This element is in an array. The array could grow and shrink or be
 * reordered. All children that haven't already been validated are required to
 * have a "key" property assigned to it. Error statuses are cached so a warning
 * will only be shown once.
 *
 * @internal
 * @param {ReactElement} element Element that requires a key.
 * @param {*} parentType element's parent's type.
 */


function validateExplicitKey(element, parentType) {
  if (!element._store || element._store.validated || element.key != null) {
    return;
  }

  element._store.validated = true;
  var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);

  if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
    return;
  }

  ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
  // property, it may be the creator of the child that's responsible for
  // assigning it a key.

  var childOwner = '';

  if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
    // Give the component that originally created this child.
    childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
  }

  {
    setCurrentlyValidatingElement$1(element);

    error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);

    setCurrentlyValidatingElement$1(null);
  }
}
/**
 * Ensure that every element either is passed in a static location, in an
 * array with an explicit keys property defined, or in an object literal
 * with valid key property.
 *
 * @internal
 * @param {ReactNode} node Statically passed child of any type.
 * @param {*} parentType node's parent's type.
 */


function validateChildKeys(node, parentType) {
  if (typeof node !== 'object') {
    return;
  }

  if (isArray(node)) {
    for (var i = 0; i < node.length; i++) {
      var child = node[i];

      if (isValidElement(child)) {
        validateExplicitKey(child, parentType);
      }
    }
  } else if (isValidElement(node)) {
    // This element was passed in a valid location.
    if (node._store) {
      node._store.validated = true;
    }
  } else if (node) {
    var iteratorFn = getIteratorFn(node);

    if (typeof iteratorFn === 'function') {
      // Entry iterators used to provide implicit keys,
      // but now we print a separate warning for them later.
      if (iteratorFn !== node.entries) {
        var iterator = iteratorFn.call(node);
        var step;

        while (!(step = iterator.next()).done) {
          if (isValidElement(step.value)) {
            validateExplicitKey(step.value, parentType);
          }
        }
      }
    }
  }
}
/**
 * Given an element, validate that its props follow the propTypes definition,
 * provided by the type.
 *
 * @param {ReactElement} element
 */


function validatePropTypes(element) {
  {
    var type = element.type;

    if (type === null || type === undefined || typeof type === 'string') {
      return;
    }

    var propTypes;

    if (typeof type === 'function') {
      propTypes = type.propTypes;
    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
    // Inner props are checked in the reconciler.
    type.$$typeof === REACT_MEMO_TYPE)) {
      propTypes = type.propTypes;
    } else {
      return;
    }

    if (propTypes) {
      // Intentionally inside to avoid triggering lazy initializers:
      var name = getComponentNameFromType(type);
      checkPropTypes(propTypes, element.props, 'prop', name, element);
    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:

      var _name = getComponentNameFromType(type);

      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
    }

    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
    }
  }
}
/**
 * Given a fragment, validate that it can only be provided with fragment props
 * @param {ReactElement} fragment
 */


function validateFragmentProps(fragment) {
  {
    var keys = Object.keys(fragment.props);

    for (var i = 0; i < keys.length; i++) {
      var key = keys[i];

      if (key !== 'children' && key !== 'key') {
        setCurrentlyValidatingElement$1(fragment);

        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);

        setCurrentlyValidatingElement$1(null);
        break;
      }
    }

    if (fragment.ref !== null) {
      setCurrentlyValidatingElement$1(fragment);

      error('Invalid attribute `ref` supplied to `React.Fragment`.');

      setCurrentlyValidatingElement$1(null);
    }
  }
}
function createElementWithValidation(type, props, children) {
  var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
  // succeed and there will likely be errors in render.

  if (!validType) {
    var info = '';

    if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
      info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
    }

    var sourceInfo = getSourceInfoErrorAddendumForProps(props);

    if (sourceInfo) {
      info += sourceInfo;
    } else {
      info += getDeclarationErrorAddendum();
    }

    var typeString;

    if (type === null) {
      typeString = 'null';
    } else if (isArray(type)) {
      typeString = 'array';
    } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
      typeString = "<" + (getComponentNameFromType(type.type) || 'Unknown') + " />";
      info = ' Did you accidentally export a JSX literal instead of a component?';
    } else {
      typeString = typeof type;
    }

    {
      error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
    }
  }

  var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
  // TODO: Drop this when these are no longer allowed as the type argument.

  if (element == null) {
    return element;
  } // Skip key warning if the type isn't valid since our key validation logic
  // doesn't expect a non-string/function type and can throw confusing errors.
  // We don't want exception behavior to differ between dev and prod.
  // (Rendering will throw with a helpful message and as soon as the type is
  // fixed, the key warnings will appear.)


  if (validType) {
    for (var i = 2; i < arguments.length; i++) {
      validateChildKeys(arguments[i], type);
    }
  }

  if (type === REACT_FRAGMENT_TYPE) {
    validateFragmentProps(element);
  } else {
    validatePropTypes(element);
  }

  return element;
}
var didWarnAboutDeprecatedCreateFactory = false;
function createFactoryWithValidation(type) {
  var validatedFactory = createElementWithValidation.bind(null, type);
  validatedFactory.type = type;

  {
    if (!didWarnAboutDeprecatedCreateFactory) {
      didWarnAboutDeprecatedCreateFactory = true;

      warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.');
    } // Legacy hook: remove it


    Object.defineProperty(validatedFactory, 'type', {
      enumerable: false,
      get: function () {
        warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');

        Object.defineProperty(this, 'type', {
          value: type
        });
        return type;
      }
    });
  }

  return validatedFactory;
}
function cloneElementWithValidation(element, props, children) {
  var newElement = cloneElement.apply(this, arguments);

  for (var i = 2; i < arguments.length; i++) {
    validateChildKeys(arguments[i], newElement.type);
  }

  validatePropTypes(newElement);
  return newElement;
}

function startTransition(scope, options) {
  var prevTransition = ReactCurrentBatchConfig.transition;
  ReactCurrentBatchConfig.transition = {};
  var currentTransition = ReactCurrentBatchConfig.transition;

  {
    ReactCurrentBatchConfig.transition._updatedFibers = new Set();
  }

  try {
    scope();
  } finally {
    ReactCurrentBatchConfig.transition = prevTransition;

    {
      if (prevTransition === null && currentTransition._updatedFibers) {
        var updatedFibersCount = currentTransition._updatedFibers.size;

        if (updatedFibersCount > 10) {
          warn('Detected a large number of updates inside startTransition. ' + 'If this is due to a subscription please re-write it to use React provided hooks. ' + 'Otherwise concurrent mode guarantees are off the table.');
        }

        currentTransition._updatedFibers.clear();
      }
    }
  }
}

var didWarnAboutMessageChannel = false;
var enqueueTaskImpl = null;
function enqueueTask(task) {
  if (enqueueTaskImpl === null) {
    try {
      // read require off the module object to get around the bundlers.
      // we don't want them to detect a require and bundle a Node polyfill.
      var requireString = ('require' + Math.random()).slice(0, 7);
      var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
      // version of setImmediate, bypassing fake timers if any.

      enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
    } catch (_err) {
      // we're in a browser
      // we can't use regular timers because they may still be faked
      // so we try MessageChannel+postMessage instead
      enqueueTaskImpl = function (callback) {
        {
          if (didWarnAboutMessageChannel === false) {
            didWarnAboutMessageChannel = true;

            if (typeof MessageChannel === 'undefined') {
              error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
            }
          }
        }

        var channel = new MessageChannel();
        channel.port1.onmessage = callback;
        channel.port2.postMessage(undefined);
      };
    }
  }

  return enqueueTaskImpl(task);
}

var actScopeDepth = 0;
var didWarnNoAwaitAct = false;
function act(callback) {
  {
    // `act` calls can be nested, so we track the depth. This represents the
    // number of `act` scopes on the stack.
    var prevActScopeDepth = actScopeDepth;
    actScopeDepth++;

    if (ReactCurrentActQueue.current === null) {
      // This is the outermost `act` scope. Initialize the queue. The reconciler
      // will detect the queue and use it instead of Scheduler.
      ReactCurrentActQueue.current = [];
    }

    var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
    var result;

    try {
      // Used to reproduce behavior of `batchedUpdates` in legacy mode. Only
      // set to `true` while the given callback is executed, not for updates
      // triggered during an async event, because this is how the legacy
      // implementation of `act` behaved.
      ReactCurrentActQueue.isBatchingLegacy = true;
      result = callback(); // Replicate behavior of original `act` implementation in legacy mode,
      // which flushed updates immediately after the scope function exits, even
      // if it's an async function.

      if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
        var queue = ReactCurrentActQueue.current;

        if (queue !== null) {
          ReactCurrentActQueue.didScheduleLegacyUpdate = false;
          flushActQueue(queue);
        }
      }
    } catch (error) {
      popActScope(prevActScopeDepth);
      throw error;
    } finally {
      ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
    }

    if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
      var thenableResult = result; // The callback is an async function (i.e. returned a promise). Wait
      // for it to resolve before exiting the current scope.

      var wasAwaited = false;
      var thenable = {
        then: function (resolve, reject) {
          wasAwaited = true;
          thenableResult.then(function (returnValue) {
            popActScope(prevActScopeDepth);

            if (actScopeDepth === 0) {
              // We've exited the outermost act scope. Recursively flush the
              // queue until there's no remaining work.
              recursivelyFlushAsyncActWork(returnValue, resolve, reject);
            } else {
              resolve(returnValue);
            }
          }, function (error) {
            // The callback threw an error.
            popActScope(prevActScopeDepth);
            reject(error);
          });
        }
      };

      {
        if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
          // eslint-disable-next-line no-undef
          Promise.resolve().then(function () {}).then(function () {
            if (!wasAwaited) {
              didWarnNoAwaitAct = true;

              error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');
            }
          });
        }
      }

      return thenable;
    } else {
      var returnValue = result; // The callback is not an async function. Exit the current scope
      // immediately, without awaiting.

      popActScope(prevActScopeDepth);

      if (actScopeDepth === 0) {
        // Exiting the outermost act scope. Flush the queue.
        var _queue = ReactCurrentActQueue.current;

        if (_queue !== null) {
          flushActQueue(_queue);
          ReactCurrentActQueue.current = null;
        } // Return a thenable. If the user awaits it, we'll flush again in
        // case additional work was scheduled by a microtask.


        var _thenable = {
          then: function (resolve, reject) {
            // Confirm we haven't re-entered another `act` scope, in case
            // the user does something weird like await the thenable
            // multiple times.
            if (ReactCurrentActQueue.current === null) {
              // Recursively flush the queue until there's no remaining work.
              ReactCurrentActQueue.current = [];
              recursivelyFlushAsyncActWork(returnValue, resolve, reject);
            } else {
              resolve(returnValue);
            }
          }
        };
        return _thenable;
      } else {
        // Since we're inside a nested `act` scope, the returned thenable
        // immediately resolves. The outer scope will flush the queue.
        var _thenable2 = {
          then: function (resolve, reject) {
            resolve(returnValue);
          }
        };
        return _thenable2;
      }
    }
  }
}

function popActScope(prevActScopeDepth) {
  {
    if (prevActScopeDepth !== actScopeDepth - 1) {
      error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
    }

    actScopeDepth = prevActScopeDepth;
  }
}

function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
  {
    var queue = ReactCurrentActQueue.current;

    if (queue !== null) {
      try {
        flushActQueue(queue);
        enqueueTask(function () {
          if (queue.length === 0) {
            // No additional work was scheduled. Finish.
            ReactCurrentActQueue.current = null;
            resolve(returnValue);
          } else {
            // Keep flushing work until there's none left.
            recursivelyFlushAsyncActWork(returnValue, resolve, reject);
          }
        });
      } catch (error) {
        reject(error);
      }
    } else {
      resolve(returnValue);
    }
  }
}

var isFlushing = false;

function flushActQueue(queue) {
  {
    if (!isFlushing) {
      // Prevent re-entrance.
      isFlushing = true;
      var i = 0;

      try {
        for (; i < queue.length; i++) {
          var callback = queue[i];

          do {
            callback = callback(true);
          } while (callback !== null);
        }

        queue.length = 0;
      } catch (error) {
        // If something throws, leave the remaining callbacks on the queue.
        queue = queue.slice(i + 1);
        throw error;
      } finally {
        isFlushing = false;
      }
    }
  }
}

var createElement$1 =  createElementWithValidation ;
var cloneElement$1 =  cloneElementWithValidation ;
var createFactory =  createFactoryWithValidation ;
var Children = {
  map: mapChildren,
  forEach: forEachChildren,
  count: countChildren,
  toArray: toArray,
  only: onlyChild
};

exports.Children = Children;
exports.Component = Component;
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.Profiler = REACT_PROFILER_TYPE;
exports.PureComponent = PureComponent;
exports.StrictMode = REACT_STRICT_MODE_TYPE;
exports.Suspense = REACT_SUSPENSE_TYPE;
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
exports.act = act;
exports.cloneElement = cloneElement$1;
exports.createContext = createContext;
exports.createElement = createElement$1;
exports.createFactory = createFactory;
exports.createRef = createRef;
exports.forwardRef = forwardRef;
exports.isValidElement = isValidElement;
exports.lazy = lazy;
exports.memo = memo;
exports.startTransition = startTransition;
exports.unstable_act = act;
exports.useCallback = useCallback;
exports.useContext = useContext;
exports.useDebugValue = useDebugValue;
exports.useDeferredValue = useDeferredValue;
exports.useEffect = useEffect;
exports.useId = useId;
exports.useImperativeHandle = useImperativeHandle;
exports.useInsertionEffect = useInsertionEffect;
exports.useLayoutEffect = useLayoutEffect;
exports.useMemo = useMemo;
exports.useReducer = useReducer;
exports.useRef = useRef;
exports.useState = useState;
exports.useSyncExternalStore = useSyncExternalStore;
exports.useTransition = useTransition;
exports.version = ReactVersion;
          /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
    'function'
) {
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
}
        
  })();
}


/***/ },

/***/ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"
/*!*********************************************************************!*\
  !*** ./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js ***!
  \*********************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


if (false) // removed by dead control flow
{} else {
  module.exports = __webpack_require__(/*! ./cjs/react.development.js */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js");
}


/***/ },

/***/ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js ***!
  \***************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


if (false) // removed by dead control flow
{} else {
  module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js");
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"
/*!************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js ***!
  \************************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { SymbolDispose } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const { AbortError, codes } = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { isNodeStream, isWebStream, kControllerErrorFunction } = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const eos = __webpack_require__(/*! ./end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
const { ERR_INVALID_ARG_TYPE } = codes
let addAbortListener

// This method is inlined here for readable-stream
// It also does not allow for signal to not exist on the stream
// https://github.com/nodejs/node/pull/36061#discussion_r533718029
const validateAbortSignal = (signal, name) => {
  if (typeof signal !== 'object' || !('aborted' in signal)) {
    throw new ERR_INVALID_ARG_TYPE(name, 'AbortSignal', signal)
  }
}
module.exports.addAbortSignal = function addAbortSignal(signal, stream) {
  validateAbortSignal(signal, 'signal')
  if (!isNodeStream(stream) && !isWebStream(stream)) {
    throw new ERR_INVALID_ARG_TYPE('stream', ['ReadableStream', 'WritableStream', 'Stream'], stream)
  }
  return module.exports.addAbortSignalNoValidate(signal, stream)
}
module.exports.addAbortSignalNoValidate = function (signal, stream) {
  if (typeof signal !== 'object' || !('aborted' in signal)) {
    return stream
  }
  const onAbort = isNodeStream(stream)
    ? () => {
        stream.destroy(
          new AbortError(undefined, {
            cause: signal.reason
          })
        )
      }
    : () => {
        stream[kControllerErrorFunction](
          new AbortError(undefined, {
            cause: signal.reason
          })
        )
      }
  if (signal.aborted) {
    onAbort()
  } else {
    addAbortListener = addAbortListener || (__webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js").addAbortListener)
    const disposable = addAbortListener(signal, onAbort)
    eos(stream, disposable[SymbolDispose])
  }
  return stream
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/buffer_list.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/buffer_list.js ***!
  \*******************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { StringPrototypeSlice, SymbolIterator, TypedArrayPrototypeSet, Uint8Array } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const { Buffer } = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")
const { inspect } = __webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js")
module.exports = class BufferList {
  constructor() {
    this.head = null
    this.tail = null
    this.length = 0
  }
  push(v) {
    const entry = {
      data: v,
      next: null
    }
    if (this.length > 0) this.tail.next = entry
    else this.head = entry
    this.tail = entry
    ++this.length
  }
  unshift(v) {
    const entry = {
      data: v,
      next: this.head
    }
    if (this.length === 0) this.tail = entry
    this.head = entry
    ++this.length
  }
  shift() {
    if (this.length === 0) return
    const ret = this.head.data
    if (this.length === 1) this.head = this.tail = null
    else this.head = this.head.next
    --this.length
    return ret
  }
  clear() {
    this.head = this.tail = null
    this.length = 0
  }
  join(s) {
    if (this.length === 0) return ''
    let p = this.head
    let ret = '' + p.data
    while ((p = p.next) !== null) ret += s + p.data
    return ret
  }
  concat(n) {
    if (this.length === 0) return Buffer.alloc(0)
    const ret = Buffer.allocUnsafe(n >>> 0)
    let p = this.head
    let i = 0
    while (p) {
      TypedArrayPrototypeSet(ret, p.data, i)
      i += p.data.length
      p = p.next
    }
    return ret
  }

  // Consumes a specified amount of bytes or characters from the buffered data.
  consume(n, hasStrings) {
    const data = this.head.data
    if (n < data.length) {
      // `slice` is the same for buffers and strings.
      const slice = data.slice(0, n)
      this.head.data = data.slice(n)
      return slice
    }
    if (n === data.length) {
      // First chunk is a perfect match.
      return this.shift()
    }
    // Result spans more than one buffer.
    return hasStrings ? this._getString(n) : this._getBuffer(n)
  }
  first() {
    return this.head.data
  }
  *[SymbolIterator]() {
    for (let p = this.head; p; p = p.next) {
      yield p.data
    }
  }

  // Consumes a specified amount of characters from the buffered data.
  _getString(n) {
    let ret = ''
    let p = this.head
    let c = 0
    do {
      const str = p.data
      if (n > str.length) {
        ret += str
        n -= str.length
      } else {
        if (n === str.length) {
          ret += str
          ++c
          if (p.next) this.head = p.next
          else this.head = this.tail = null
        } else {
          ret += StringPrototypeSlice(str, 0, n)
          this.head = p
          p.data = StringPrototypeSlice(str, n)
        }
        break
      }
      ++c
    } while ((p = p.next) !== null)
    this.length -= c
    return ret
  }

  // Consumes a specified amount of bytes from the buffered data.
  _getBuffer(n) {
    const ret = Buffer.allocUnsafe(n)
    const retLen = n
    let p = this.head
    let c = 0
    do {
      const buf = p.data
      if (n > buf.length) {
        TypedArrayPrototypeSet(ret, buf, retLen - n)
        n -= buf.length
      } else {
        if (n === buf.length) {
          TypedArrayPrototypeSet(ret, buf, retLen - n)
          ++c
          if (p.next) this.head = p.next
          else this.head = this.tail = null
        } else {
          TypedArrayPrototypeSet(ret, new Uint8Array(buf.buffer, buf.byteOffset, n), retLen - n)
          this.head = p
          p.data = buf.slice(n)
        }
        break
      }
      ++c
    } while ((p = p.next) !== null)
    this.length -= c
    return ret
  }

  // Make sure the linked list only shows the minimal necessary information.
  [Symbol.for('nodejs.util.inspect.custom')](_, options) {
    return inspect(this, {
      ...options,
      // Only inspect one level.
      depth: 0,
      // It should not recurse.
      customInspect: false
    })
  }
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/compose.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/compose.js ***!
  \***************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { pipeline } = __webpack_require__(/*! ./pipeline */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/pipeline.js")
const Duplex = __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")
const { destroyer } = __webpack_require__(/*! ./destroy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js")
const {
  isNodeStream,
  isReadable,
  isWritable,
  isWebStream,
  isTransformStream,
  isWritableStream,
  isReadableStream
} = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const {
  AbortError,
  codes: { ERR_INVALID_ARG_VALUE, ERR_MISSING_ARGS }
} = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const eos = __webpack_require__(/*! ./end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
module.exports = function compose(...streams) {
  if (streams.length === 0) {
    throw new ERR_MISSING_ARGS('streams')
  }
  if (streams.length === 1) {
    return Duplex.from(streams[0])
  }
  const orgStreams = [...streams]
  if (typeof streams[0] === 'function') {
    streams[0] = Duplex.from(streams[0])
  }
  if (typeof streams[streams.length - 1] === 'function') {
    const idx = streams.length - 1
    streams[idx] = Duplex.from(streams[idx])
  }
  for (let n = 0; n < streams.length; ++n) {
    if (!isNodeStream(streams[n]) && !isWebStream(streams[n])) {
      // TODO(ronag): Add checks for non streams.
      continue
    }
    if (
      n < streams.length - 1 &&
      !(isReadable(streams[n]) || isReadableStream(streams[n]) || isTransformStream(streams[n]))
    ) {
      throw new ERR_INVALID_ARG_VALUE(`streams[${n}]`, orgStreams[n], 'must be readable')
    }
    if (n > 0 && !(isWritable(streams[n]) || isWritableStream(streams[n]) || isTransformStream(streams[n]))) {
      throw new ERR_INVALID_ARG_VALUE(`streams[${n}]`, orgStreams[n], 'must be writable')
    }
  }
  let ondrain
  let onfinish
  let onreadable
  let onclose
  let d
  function onfinished(err) {
    const cb = onclose
    onclose = null
    if (cb) {
      cb(err)
    } else if (err) {
      d.destroy(err)
    } else if (!readable && !writable) {
      d.destroy()
    }
  }
  const head = streams[0]
  const tail = pipeline(streams, onfinished)
  const writable = !!(isWritable(head) || isWritableStream(head) || isTransformStream(head))
  const readable = !!(isReadable(tail) || isReadableStream(tail) || isTransformStream(tail))

  // TODO(ronag): Avoid double buffering.
  // Implement Writable/Readable/Duplex traits.
  // See, https://github.com/nodejs/node/pull/33515.
  d = new Duplex({
    // TODO (ronag): highWaterMark?
    writableObjectMode: !!(head !== null && head !== undefined && head.writableObjectMode),
    readableObjectMode: !!(tail !== null && tail !== undefined && tail.readableObjectMode),
    writable,
    readable
  })
  if (writable) {
    if (isNodeStream(head)) {
      d._write = function (chunk, encoding, callback) {
        if (head.write(chunk, encoding)) {
          callback()
        } else {
          ondrain = callback
        }
      }
      d._final = function (callback) {
        head.end()
        onfinish = callback
      }
      head.on('drain', function () {
        if (ondrain) {
          const cb = ondrain
          ondrain = null
          cb()
        }
      })
    } else if (isWebStream(head)) {
      const writable = isTransformStream(head) ? head.writable : head
      const writer = writable.getWriter()
      d._write = async function (chunk, encoding, callback) {
        try {
          await writer.ready
          writer.write(chunk).catch(() => {})
          callback()
        } catch (err) {
          callback(err)
        }
      }
      d._final = async function (callback) {
        try {
          await writer.ready
          writer.close().catch(() => {})
          onfinish = callback
        } catch (err) {
          callback(err)
        }
      }
    }
    const toRead = isTransformStream(tail) ? tail.readable : tail
    eos(toRead, () => {
      if (onfinish) {
        const cb = onfinish
        onfinish = null
        cb()
      }
    })
  }
  if (readable) {
    if (isNodeStream(tail)) {
      tail.on('readable', function () {
        if (onreadable) {
          const cb = onreadable
          onreadable = null
          cb()
        }
      })
      tail.on('end', function () {
        d.push(null)
      })
      d._read = function () {
        while (true) {
          const buf = tail.read()
          if (buf === null) {
            onreadable = d._read
            return
          }
          if (!d.push(buf)) {
            return
          }
        }
      }
    } else if (isWebStream(tail)) {
      const readable = isTransformStream(tail) ? tail.readable : tail
      const reader = readable.getReader()
      d._read = async function () {
        while (true) {
          try {
            const { value, done } = await reader.read()
            if (!d.push(value)) {
              return
            }
            if (done) {
              d.push(null)
              return
            }
          } catch {
            return
          }
        }
      }
    }
  }
  d._destroy = function (err, callback) {
    if (!err && onclose !== null) {
      err = new AbortError()
    }
    onreadable = null
    ondrain = null
    onfinish = null
    if (onclose === null) {
      callback(err)
    } else {
      onclose = callback
      if (isNodeStream(tail)) {
        destroyer(tail, err)
      }
    }
  }
  return d
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js ***!
  \***************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


/* replacement start */

const process = __webpack_require__(/*! process/ */ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js")

/* replacement end */

const {
  aggregateTwoErrors,
  codes: { ERR_MULTIPLE_CALLBACK },
  AbortError
} = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { Symbol } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const { kIsDestroyed, isDestroyed, isFinished, isServerRequest } = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const kDestroy = Symbol('kDestroy')
const kConstruct = Symbol('kConstruct')
function checkError(err, w, r) {
  if (err) {
    // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364
    err.stack // eslint-disable-line no-unused-expressions

    if (w && !w.errored) {
      w.errored = err
    }
    if (r && !r.errored) {
      r.errored = err
    }
  }
}

// Backwards compat. cb() is undocumented and unused in core but
// unfortunately might be used by modules.
function destroy(err, cb) {
  const r = this._readableState
  const w = this._writableState
  // With duplex streams we use the writable side for state.
  const s = w || r
  if ((w !== null && w !== undefined && w.destroyed) || (r !== null && r !== undefined && r.destroyed)) {
    if (typeof cb === 'function') {
      cb()
    }
    return this
  }

  // We set destroyed to true before firing error callbacks in order
  // to make it re-entrance safe in case destroy() is called within callbacks
  checkError(err, w, r)
  if (w) {
    w.destroyed = true
  }
  if (r) {
    r.destroyed = true
  }

  // If still constructing then defer calling _destroy.
  if (!s.constructed) {
    this.once(kDestroy, function (er) {
      _destroy(this, aggregateTwoErrors(er, err), cb)
    })
  } else {
    _destroy(this, err, cb)
  }
  return this
}
function _destroy(self, err, cb) {
  let called = false
  function onDestroy(err) {
    if (called) {
      return
    }
    called = true
    const r = self._readableState
    const w = self._writableState
    checkError(err, w, r)
    if (w) {
      w.closed = true
    }
    if (r) {
      r.closed = true
    }
    if (typeof cb === 'function') {
      cb(err)
    }
    if (err) {
      process.nextTick(emitErrorCloseNT, self, err)
    } else {
      process.nextTick(emitCloseNT, self)
    }
  }
  try {
    self._destroy(err || null, onDestroy)
  } catch (err) {
    onDestroy(err)
  }
}
function emitErrorCloseNT(self, err) {
  emitErrorNT(self, err)
  emitCloseNT(self)
}
function emitCloseNT(self) {
  const r = self._readableState
  const w = self._writableState
  if (w) {
    w.closeEmitted = true
  }
  if (r) {
    r.closeEmitted = true
  }
  if ((w !== null && w !== undefined && w.emitClose) || (r !== null && r !== undefined && r.emitClose)) {
    self.emit('close')
  }
}
function emitErrorNT(self, err) {
  const r = self._readableState
  const w = self._writableState
  if ((w !== null && w !== undefined && w.errorEmitted) || (r !== null && r !== undefined && r.errorEmitted)) {
    return
  }
  if (w) {
    w.errorEmitted = true
  }
  if (r) {
    r.errorEmitted = true
  }
  self.emit('error', err)
}
function undestroy() {
  const r = this._readableState
  const w = this._writableState
  if (r) {
    r.constructed = true
    r.closed = false
    r.closeEmitted = false
    r.destroyed = false
    r.errored = null
    r.errorEmitted = false
    r.reading = false
    r.ended = r.readable === false
    r.endEmitted = r.readable === false
  }
  if (w) {
    w.constructed = true
    w.destroyed = false
    w.closed = false
    w.closeEmitted = false
    w.errored = null
    w.errorEmitted = false
    w.finalCalled = false
    w.prefinished = false
    w.ended = w.writable === false
    w.ending = w.writable === false
    w.finished = w.writable === false
  }
}
function errorOrDestroy(stream, err, sync) {
  // We have tests that rely on errors being emitted
  // in the same tick, so changing this is semver major.
  // For now when you opt-in to autoDestroy we allow
  // the error to be emitted nextTick. In a future
  // semver major update we should change the default to this.

  const r = stream._readableState
  const w = stream._writableState
  if ((w !== null && w !== undefined && w.destroyed) || (r !== null && r !== undefined && r.destroyed)) {
    return this
  }
  if ((r !== null && r !== undefined && r.autoDestroy) || (w !== null && w !== undefined && w.autoDestroy))
    stream.destroy(err)
  else if (err) {
    // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364
    err.stack // eslint-disable-line no-unused-expressions

    if (w && !w.errored) {
      w.errored = err
    }
    if (r && !r.errored) {
      r.errored = err
    }
    if (sync) {
      process.nextTick(emitErrorNT, stream, err)
    } else {
      emitErrorNT(stream, err)
    }
  }
}
function construct(stream, cb) {
  if (typeof stream._construct !== 'function') {
    return
  }
  const r = stream._readableState
  const w = stream._writableState
  if (r) {
    r.constructed = false
  }
  if (w) {
    w.constructed = false
  }
  stream.once(kConstruct, cb)
  if (stream.listenerCount(kConstruct) > 1) {
    // Duplex
    return
  }
  process.nextTick(constructNT, stream)
}
function constructNT(stream) {
  let called = false
  function onConstruct(err) {
    if (called) {
      errorOrDestroy(stream, err !== null && err !== undefined ? err : new ERR_MULTIPLE_CALLBACK())
      return
    }
    called = true
    const r = stream._readableState
    const w = stream._writableState
    const s = w || r
    if (r) {
      r.constructed = true
    }
    if (w) {
      w.constructed = true
    }
    if (s.destroyed) {
      stream.emit(kDestroy, err)
    } else if (err) {
      errorOrDestroy(stream, err, true)
    } else {
      process.nextTick(emitConstructNT, stream)
    }
  }
  try {
    stream._construct((err) => {
      process.nextTick(onConstruct, err)
    })
  } catch (err) {
    process.nextTick(onConstruct, err)
  }
}
function emitConstructNT(stream) {
  stream.emit(kConstruct)
}
function isRequest(stream) {
  return (stream === null || stream === undefined ? undefined : stream.setHeader) && typeof stream.abort === 'function'
}
function emitCloseLegacy(stream) {
  stream.emit('close')
}
function emitErrorCloseLegacy(stream, err) {
  stream.emit('error', err)
  process.nextTick(emitCloseLegacy, stream)
}

// Normalize destroy for legacy.
function destroyer(stream, err) {
  if (!stream || isDestroyed(stream)) {
    return
  }
  if (!err && !isFinished(stream)) {
    err = new AbortError()
  }

  // TODO: Remove isRequest branches.
  if (isServerRequest(stream)) {
    stream.socket = null
    stream.destroy(err)
  } else if (isRequest(stream)) {
    stream.abort()
  } else if (isRequest(stream.req)) {
    stream.req.abort()
  } else if (typeof stream.destroy === 'function') {
    stream.destroy(err)
  } else if (typeof stream.close === 'function') {
    // TODO: Don't lose err?
    stream.close()
  } else if (err) {
    process.nextTick(emitErrorCloseLegacy, stream, err)
  } else {
    process.nextTick(emitCloseLegacy, stream)
  }
  if (!stream.destroyed) {
    stream[kIsDestroyed] = true
  }
}
module.exports = {
  construct,
  destroyer,
  destroy,
  undestroy,
  errorOrDestroy
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js ***!
  \**************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// a duplex stream is just a stream that is both readable and writable.
// Since JS doesn't have multiple prototype inheritance, this class
// prototypically inherits from Readable, and then parasitically from
// Writable.



const {
  ObjectDefineProperties,
  ObjectGetOwnPropertyDescriptor,
  ObjectKeys,
  ObjectSetPrototypeOf
} = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
module.exports = Duplex
const Readable = __webpack_require__(/*! ./readable */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/readable.js")
const Writable = __webpack_require__(/*! ./writable */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/writable.js")
ObjectSetPrototypeOf(Duplex.prototype, Readable.prototype)
ObjectSetPrototypeOf(Duplex, Readable)
{
  const keys = ObjectKeys(Writable.prototype)
  // Allow the keys array to be GC'ed.
  for (let i = 0; i < keys.length; i++) {
    const method = keys[i]
    if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]
  }
}
function Duplex(options) {
  if (!(this instanceof Duplex)) return new Duplex(options)
  Readable.call(this, options)
  Writable.call(this, options)
  if (options) {
    this.allowHalfOpen = options.allowHalfOpen !== false
    if (options.readable === false) {
      this._readableState.readable = false
      this._readableState.ended = true
      this._readableState.endEmitted = true
    }
    if (options.writable === false) {
      this._writableState.writable = false
      this._writableState.ending = true
      this._writableState.ended = true
      this._writableState.finished = true
    }
  } else {
    this.allowHalfOpen = true
  }
}
ObjectDefineProperties(Duplex.prototype, {
  writable: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writable')
  },
  writableHighWaterMark: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableHighWaterMark')
  },
  writableObjectMode: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableObjectMode')
  },
  writableBuffer: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableBuffer')
  },
  writableLength: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableLength')
  },
  writableFinished: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableFinished')
  },
  writableCorked: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableCorked')
  },
  writableEnded: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableEnded')
  },
  writableNeedDrain: {
    __proto__: null,
    ...ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableNeedDrain')
  },
  destroyed: {
    __proto__: null,
    get() {
      if (this._readableState === undefined || this._writableState === undefined) {
        return false
      }
      return this._readableState.destroyed && this._writableState.destroyed
    },
    set(value) {
      // Backward compatibility, the user is explicitly
      // managing destroyed.
      if (this._readableState && this._writableState) {
        this._readableState.destroyed = value
        this._writableState.destroyed = value
      }
    }
  }
})
let webStreamsAdapters

// Lazy to avoid circular references
function lazyWebStreams() {
  if (webStreamsAdapters === undefined) webStreamsAdapters = {}
  return webStreamsAdapters
}
Duplex.fromWeb = function (pair, options) {
  return lazyWebStreams().newStreamDuplexFromReadableWritablePair(pair, options)
}
Duplex.toWeb = function (duplex) {
  return lazyWebStreams().newReadableWritablePairFromDuplex(duplex)
}
let duplexify
Duplex.from = function (body) {
  if (!duplexify) {
    duplexify = __webpack_require__(/*! ./duplexify */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplexify.js")
  }
  return duplexify(body, 'body')
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplexify.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplexify.js ***!
  \*****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

/* replacement start */

const process = __webpack_require__(/*! process/ */ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js")

/* replacement end */

;('use strict')
const bufferModule = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")
const {
  isReadable,
  isWritable,
  isIterable,
  isNodeStream,
  isReadableNodeStream,
  isWritableNodeStream,
  isDuplexNodeStream,
  isReadableStream,
  isWritableStream
} = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const eos = __webpack_require__(/*! ./end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
const {
  AbortError,
  codes: { ERR_INVALID_ARG_TYPE, ERR_INVALID_RETURN_VALUE }
} = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { destroyer } = __webpack_require__(/*! ./destroy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js")
const Duplex = __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")
const Readable = __webpack_require__(/*! ./readable */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/readable.js")
const Writable = __webpack_require__(/*! ./writable */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/writable.js")
const { createDeferredPromise } = __webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js")
const from = __webpack_require__(/*! ./from */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/from.js")
const Blob = globalThis.Blob || bufferModule.Blob
const isBlob =
  typeof Blob !== 'undefined'
    ? function isBlob(b) {
        return b instanceof Blob
      }
    : function isBlob(b) {
        return false
      }
const AbortController = globalThis.AbortController || (__webpack_require__(/*! abort-controller */ "./node_modules/.pnpm/abort-controller@3.0.0/node_modules/abort-controller/browser.js").AbortController)
const { FunctionPrototypeCall } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")

// This is needed for pre node 17.
class Duplexify extends Duplex {
  constructor(options) {
    super(options)

    // https://github.com/nodejs/node/pull/34385

    if ((options === null || options === undefined ? undefined : options.readable) === false) {
      this._readableState.readable = false
      this._readableState.ended = true
      this._readableState.endEmitted = true
    }
    if ((options === null || options === undefined ? undefined : options.writable) === false) {
      this._writableState.writable = false
      this._writableState.ending = true
      this._writableState.ended = true
      this._writableState.finished = true
    }
  }
}
module.exports = function duplexify(body, name) {
  if (isDuplexNodeStream(body)) {
    return body
  }
  if (isReadableNodeStream(body)) {
    return _duplexify({
      readable: body
    })
  }
  if (isWritableNodeStream(body)) {
    return _duplexify({
      writable: body
    })
  }
  if (isNodeStream(body)) {
    return _duplexify({
      writable: false,
      readable: false
    })
  }
  if (isReadableStream(body)) {
    return _duplexify({
      readable: Readable.fromWeb(body)
    })
  }
  if (isWritableStream(body)) {
    return _duplexify({
      writable: Writable.fromWeb(body)
    })
  }
  if (typeof body === 'function') {
    const { value, write, final, destroy } = fromAsyncGen(body)
    if (isIterable(value)) {
      return from(Duplexify, value, {
        // TODO (ronag): highWaterMark?
        objectMode: true,
        write,
        final,
        destroy
      })
    }
    const then = value === null || value === undefined ? undefined : value.then
    if (typeof then === 'function') {
      let d
      const promise = FunctionPrototypeCall(
        then,
        value,
        (val) => {
          if (val != null) {
            throw new ERR_INVALID_RETURN_VALUE('nully', 'body', val)
          }
        },
        (err) => {
          destroyer(d, err)
        }
      )
      return (d = new Duplexify({
        // TODO (ronag): highWaterMark?
        objectMode: true,
        readable: false,
        write,
        final(cb) {
          final(async () => {
            try {
              await promise
              process.nextTick(cb, null)
            } catch (err) {
              process.nextTick(cb, err)
            }
          })
        },
        destroy
      }))
    }
    throw new ERR_INVALID_RETURN_VALUE('Iterable, AsyncIterable or AsyncFunction', name, value)
  }
  if (isBlob(body)) {
    return duplexify(body.arrayBuffer())
  }
  if (isIterable(body)) {
    return from(Duplexify, body, {
      // TODO (ronag): highWaterMark?
      objectMode: true,
      writable: false
    })
  }
  if (
    isReadableStream(body === null || body === undefined ? undefined : body.readable) &&
    isWritableStream(body === null || body === undefined ? undefined : body.writable)
  ) {
    return Duplexify.fromWeb(body)
  }
  if (
    typeof (body === null || body === undefined ? undefined : body.writable) === 'object' ||
    typeof (body === null || body === undefined ? undefined : body.readable) === 'object'
  ) {
    const readable =
      body !== null && body !== undefined && body.readable
        ? isReadableNodeStream(body === null || body === undefined ? undefined : body.readable)
          ? body === null || body === undefined
            ? undefined
            : body.readable
          : duplexify(body.readable)
        : undefined
    const writable =
      body !== null && body !== undefined && body.writable
        ? isWritableNodeStream(body === null || body === undefined ? undefined : body.writable)
          ? body === null || body === undefined
            ? undefined
            : body.writable
          : duplexify(body.writable)
        : undefined
    return _duplexify({
      readable,
      writable
    })
  }
  const then = body === null || body === undefined ? undefined : body.then
  if (typeof then === 'function') {
    let d
    FunctionPrototypeCall(
      then,
      body,
      (val) => {
        if (val != null) {
          d.push(val)
        }
        d.push(null)
      },
      (err) => {
        destroyer(d, err)
      }
    )
    return (d = new Duplexify({
      objectMode: true,
      writable: false,
      read() {}
    }))
  }
  throw new ERR_INVALID_ARG_TYPE(
    name,
    [
      'Blob',
      'ReadableStream',
      'WritableStream',
      'Stream',
      'Iterable',
      'AsyncIterable',
      'Function',
      '{ readable, writable } pair',
      'Promise'
    ],
    body
  )
}
function fromAsyncGen(fn) {
  let { promise, resolve } = createDeferredPromise()
  const ac = new AbortController()
  const signal = ac.signal
  const value = fn(
    (async function* () {
      while (true) {
        const _promise = promise
        promise = null
        const { chunk, done, cb } = await _promise
        process.nextTick(cb)
        if (done) return
        if (signal.aborted)
          throw new AbortError(undefined, {
            cause: signal.reason
          })
        ;({ promise, resolve } = createDeferredPromise())
        yield chunk
      }
    })(),
    {
      signal
    }
  )
  return {
    value,
    write(chunk, encoding, cb) {
      const _resolve = resolve
      resolve = null
      _resolve({
        chunk,
        done: false,
        cb
      })
    },
    final(cb) {
      const _resolve = resolve
      resolve = null
      _resolve({
        done: true,
        cb
      })
    },
    destroy(err, cb) {
      ac.abort()
      cb(err)
    }
  }
}
function _duplexify(pair) {
  const r = pair.readable && typeof pair.readable.read !== 'function' ? Readable.wrap(pair.readable) : pair.readable
  const w = pair.writable
  let readable = !!isReadable(r)
  let writable = !!isWritable(w)
  let ondrain
  let onfinish
  let onreadable
  let onclose
  let d
  function onfinished(err) {
    const cb = onclose
    onclose = null
    if (cb) {
      cb(err)
    } else if (err) {
      d.destroy(err)
    }
  }

  // TODO(ronag): Avoid double buffering.
  // Implement Writable/Readable/Duplex traits.
  // See, https://github.com/nodejs/node/pull/33515.
  d = new Duplexify({
    // TODO (ronag): highWaterMark?
    readableObjectMode: !!(r !== null && r !== undefined && r.readableObjectMode),
    writableObjectMode: !!(w !== null && w !== undefined && w.writableObjectMode),
    readable,
    writable
  })
  if (writable) {
    eos(w, (err) => {
      writable = false
      if (err) {
        destroyer(r, err)
      }
      onfinished(err)
    })
    d._write = function (chunk, encoding, callback) {
      if (w.write(chunk, encoding)) {
        callback()
      } else {
        ondrain = callback
      }
    }
    d._final = function (callback) {
      w.end()
      onfinish = callback
    }
    w.on('drain', function () {
      if (ondrain) {
        const cb = ondrain
        ondrain = null
        cb()
      }
    })
    w.on('finish', function () {
      if (onfinish) {
        const cb = onfinish
        onfinish = null
        cb()
      }
    })
  }
  if (readable) {
    eos(r, (err) => {
      readable = false
      if (err) {
        destroyer(r, err)
      }
      onfinished(err)
    })
    r.on('readable', function () {
      if (onreadable) {
        const cb = onreadable
        onreadable = null
        cb()
      }
    })
    r.on('end', function () {
      d.push(null)
    })
    d._read = function () {
      while (true) {
        const buf = r.read()
        if (buf === null) {
          onreadable = d._read
          return
        }
        if (!d.push(buf)) {
          return
        }
      }
    }
  }
  d._destroy = function (err, callback) {
    if (!err && onclose !== null) {
      err = new AbortError()
    }
    onreadable = null
    ondrain = null
    onfinish = null
    if (onclose === null) {
      callback(err)
    } else {
      onclose = callback
      destroyer(w, err)
      destroyer(r, err)
    }
  }
  return d
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"
/*!*********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js ***!
  \*********************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// Ported from https://github.com/mafintosh/end-of-stream with
// permission from the author, Mathias Buus (@mafintosh).



/* replacement start */

const process = __webpack_require__(/*! process/ */ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js")

/* replacement end */

const { AbortError, codes } = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { ERR_INVALID_ARG_TYPE, ERR_STREAM_PREMATURE_CLOSE } = codes
const { kEmptyObject, once } = __webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js")
const { validateAbortSignal, validateFunction, validateObject, validateBoolean } = __webpack_require__(/*! ../validators */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/validators.js")
const { Promise, PromisePrototypeThen, SymbolDispose } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const {
  isClosed,
  isReadable,
  isReadableNodeStream,
  isReadableStream,
  isReadableFinished,
  isReadableErrored,
  isWritable,
  isWritableNodeStream,
  isWritableStream,
  isWritableFinished,
  isWritableErrored,
  isNodeStream,
  willEmitClose: _willEmitClose,
  kIsClosedPromise
} = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
let addAbortListener
function isRequest(stream) {
  return stream.setHeader && typeof stream.abort === 'function'
}
const nop = () => {}
function eos(stream, options, callback) {
  var _options$readable, _options$writable
  if (arguments.length === 2) {
    callback = options
    options = kEmptyObject
  } else if (options == null) {
    options = kEmptyObject
  } else {
    validateObject(options, 'options')
  }
  validateFunction(callback, 'callback')
  validateAbortSignal(options.signal, 'options.signal')
  callback = once(callback)
  if (isReadableStream(stream) || isWritableStream(stream)) {
    return eosWeb(stream, options, callback)
  }
  if (!isNodeStream(stream)) {
    throw new ERR_INVALID_ARG_TYPE('stream', ['ReadableStream', 'WritableStream', 'Stream'], stream)
  }
  const readable =
    (_options$readable = options.readable) !== null && _options$readable !== undefined
      ? _options$readable
      : isReadableNodeStream(stream)
  const writable =
    (_options$writable = options.writable) !== null && _options$writable !== undefined
      ? _options$writable
      : isWritableNodeStream(stream)
  const wState = stream._writableState
  const rState = stream._readableState
  const onlegacyfinish = () => {
    if (!stream.writable) {
      onfinish()
    }
  }

  // TODO (ronag): Improve soft detection to include core modules and
  // common ecosystem modules that do properly emit 'close' but fail
  // this generic check.
  let willEmitClose =
    _willEmitClose(stream) && isReadableNodeStream(stream) === readable && isWritableNodeStream(stream) === writable
  let writableFinished = isWritableFinished(stream, false)
  const onfinish = () => {
    writableFinished = true
    // Stream should not be destroyed here. If it is that
    // means that user space is doing something differently and
    // we cannot trust willEmitClose.
    if (stream.destroyed) {
      willEmitClose = false
    }
    if (willEmitClose && (!stream.readable || readable)) {
      return
    }
    if (!readable || readableFinished) {
      callback.call(stream)
    }
  }
  let readableFinished = isReadableFinished(stream, false)
  const onend = () => {
    readableFinished = true
    // Stream should not be destroyed here. If it is that
    // means that user space is doing something differently and
    // we cannot trust willEmitClose.
    if (stream.destroyed) {
      willEmitClose = false
    }
    if (willEmitClose && (!stream.writable || writable)) {
      return
    }
    if (!writable || writableFinished) {
      callback.call(stream)
    }
  }
  const onerror = (err) => {
    callback.call(stream, err)
  }
  let closed = isClosed(stream)
  const onclose = () => {
    closed = true
    const errored = isWritableErrored(stream) || isReadableErrored(stream)
    if (errored && typeof errored !== 'boolean') {
      return callback.call(stream, errored)
    }
    if (readable && !readableFinished && isReadableNodeStream(stream, true)) {
      if (!isReadableFinished(stream, false)) return callback.call(stream, new ERR_STREAM_PREMATURE_CLOSE())
    }
    if (writable && !writableFinished) {
      if (!isWritableFinished(stream, false)) return callback.call(stream, new ERR_STREAM_PREMATURE_CLOSE())
    }
    callback.call(stream)
  }
  const onclosed = () => {
    closed = true
    const errored = isWritableErrored(stream) || isReadableErrored(stream)
    if (errored && typeof errored !== 'boolean') {
      return callback.call(stream, errored)
    }
    callback.call(stream)
  }
  const onrequest = () => {
    stream.req.on('finish', onfinish)
  }
  if (isRequest(stream)) {
    stream.on('complete', onfinish)
    if (!willEmitClose) {
      stream.on('abort', onclose)
    }
    if (stream.req) {
      onrequest()
    } else {
      stream.on('request', onrequest)
    }
  } else if (writable && !wState) {
    // legacy streams
    stream.on('end', onlegacyfinish)
    stream.on('close', onlegacyfinish)
  }

  // Not all streams will emit 'close' after 'aborted'.
  if (!willEmitClose && typeof stream.aborted === 'boolean') {
    stream.on('aborted', onclose)
  }
  stream.on('end', onend)
  stream.on('finish', onfinish)
  if (options.error !== false) {
    stream.on('error', onerror)
  }
  stream.on('close', onclose)
  if (closed) {
    process.nextTick(onclose)
  } else if (
    (wState !== null && wState !== undefined && wState.errorEmitted) ||
    (rState !== null && rState !== undefined && rState.errorEmitted)
  ) {
    if (!willEmitClose) {
      process.nextTick(onclosed)
    }
  } else if (
    !readable &&
    (!willEmitClose || isReadable(stream)) &&
    (writableFinished || isWritable(stream) === false)
  ) {
    process.nextTick(onclosed)
  } else if (
    !writable &&
    (!willEmitClose || isWritable(stream)) &&
    (readableFinished || isReadable(stream) === false)
  ) {
    process.nextTick(onclosed)
  } else if (rState && stream.req && stream.aborted) {
    process.nextTick(onclosed)
  }
  const cleanup = () => {
    callback = nop
    stream.removeListener('aborted', onclose)
    stream.removeListener('complete', onfinish)
    stream.removeListener('abort', onclose)
    stream.removeListener('request', onrequest)
    if (stream.req) stream.req.removeListener('finish', onfinish)
    stream.removeListener('end', onlegacyfinish)
    stream.removeListener('close', onlegacyfinish)
    stream.removeListener('finish', onfinish)
    stream.removeListener('end', onend)
    stream.removeListener('error', onerror)
    stream.removeListener('close', onclose)
  }
  if (options.signal && !closed) {
    const abort = () => {
      // Keep it because cleanup removes it.
      const endCallback = callback
      cleanup()
      endCallback.call(
        stream,
        new AbortError(undefined, {
          cause: options.signal.reason
        })
      )
    }
    if (options.signal.aborted) {
      process.nextTick(abort)
    } else {
      addAbortListener = addAbortListener || (__webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js").addAbortListener)
      const disposable = addAbortListener(options.signal, abort)
      const originalCallback = callback
      callback = once((...args) => {
        disposable[SymbolDispose]()
        originalCallback.apply(stream, args)
      })
    }
  }
  return cleanup
}
function eosWeb(stream, options, callback) {
  let isAborted = false
  let abort = nop
  if (options.signal) {
    abort = () => {
      isAborted = true
      callback.call(
        stream,
        new AbortError(undefined, {
          cause: options.signal.reason
        })
      )
    }
    if (options.signal.aborted) {
      process.nextTick(abort)
    } else {
      addAbortListener = addAbortListener || (__webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js").addAbortListener)
      const disposable = addAbortListener(options.signal, abort)
      const originalCallback = callback
      callback = once((...args) => {
        disposable[SymbolDispose]()
        originalCallback.apply(stream, args)
      })
    }
  }
  const resolverFn = (...args) => {
    if (!isAborted) {
      process.nextTick(() => callback.apply(stream, args))
    }
  }
  PromisePrototypeThen(stream[kIsClosedPromise].promise, resolverFn, resolverFn)
  return nop
}
function finished(stream, opts) {
  var _opts
  let autoCleanup = false
  if (opts === null) {
    opts = kEmptyObject
  }
  if ((_opts = opts) !== null && _opts !== undefined && _opts.cleanup) {
    validateBoolean(opts.cleanup, 'cleanup')
    autoCleanup = opts.cleanup
  }
  return new Promise((resolve, reject) => {
    const cleanup = eos(stream, opts, (err) => {
      if (autoCleanup) {
        cleanup()
      }
      if (err) {
        reject(err)
      } else {
        resolve()
      }
    })
  })
}
module.exports = eos
module.exports.finished = finished


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/from.js"
/*!************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/from.js ***!
  \************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


/* replacement start */

const process = __webpack_require__(/*! process/ */ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js")

/* replacement end */

const { PromisePrototypeThen, SymbolAsyncIterator, SymbolIterator } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const { Buffer } = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")
const { ERR_INVALID_ARG_TYPE, ERR_STREAM_NULL_VALUES } = (__webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js").codes)
function from(Readable, iterable, opts) {
  let iterator
  if (typeof iterable === 'string' || iterable instanceof Buffer) {
    return new Readable({
      objectMode: true,
      ...opts,
      read() {
        this.push(iterable)
        this.push(null)
      }
    })
  }
  let isAsync
  if (iterable && iterable[SymbolAsyncIterator]) {
    isAsync = true
    iterator = iterable[SymbolAsyncIterator]()
  } else if (iterable && iterable[SymbolIterator]) {
    isAsync = false
    iterator = iterable[SymbolIterator]()
  } else {
    throw new ERR_INVALID_ARG_TYPE('iterable', ['Iterable'], iterable)
  }
  const readable = new Readable({
    objectMode: true,
    highWaterMark: 1,
    // TODO(ronag): What options should be allowed?
    ...opts
  })

  // Flag to protect against _read
  // being called before last iteration completion.
  let reading = false
  readable._read = function () {
    if (!reading) {
      reading = true
      next()
    }
  }
  readable._destroy = function (error, cb) {
    PromisePrototypeThen(
      close(error),
      () => process.nextTick(cb, error),
      // nextTick is here in case cb throws
      (e) => process.nextTick(cb, e || error)
    )
  }
  async function close(error) {
    const hadError = error !== undefined && error !== null
    const hasThrow = typeof iterator.throw === 'function'
    if (hadError && hasThrow) {
      const { value, done } = await iterator.throw(error)
      await value
      if (done) {
        return
      }
    }
    if (typeof iterator.return === 'function') {
      const { value } = await iterator.return()
      await value
    }
  }
  async function next() {
    for (;;) {
      try {
        const { value, done } = isAsync ? await iterator.next() : iterator.next()
        if (done) {
          readable.push(null)
        } else {
          const res = value && typeof value.then === 'function' ? await value : value
          if (res === null) {
            reading = false
            throw new ERR_STREAM_NULL_VALUES()
          } else if (readable.push(res)) {
            continue
          } else {
            reading = false
          }
        }
      } catch (err) {
        readable.destroy(err)
      }
      break
    }
  }
  return readable
}
module.exports = from


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/legacy.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/legacy.js ***!
  \**************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { ArrayIsArray, ObjectSetPrototypeOf } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const { EventEmitter: EE } = __webpack_require__(/*! events */ "./node_modules/.pnpm/events@3.3.0/node_modules/events/events.js")
function Stream(opts) {
  EE.call(this, opts)
}
ObjectSetPrototypeOf(Stream.prototype, EE.prototype)
ObjectSetPrototypeOf(Stream, EE)
Stream.prototype.pipe = function (dest, options) {
  const source = this
  function ondata(chunk) {
    if (dest.writable && dest.write(chunk) === false && source.pause) {
      source.pause()
    }
  }
  source.on('data', ondata)
  function ondrain() {
    if (source.readable && source.resume) {
      source.resume()
    }
  }
  dest.on('drain', ondrain)

  // If the 'end' option is not supplied, dest.end() will be called when
  // source gets the 'end' or 'close' events.  Only dest.end() once.
  if (!dest._isStdio && (!options || options.end !== false)) {
    source.on('end', onend)
    source.on('close', onclose)
  }
  let didOnEnd = false
  function onend() {
    if (didOnEnd) return
    didOnEnd = true
    dest.end()
  }
  function onclose() {
    if (didOnEnd) return
    didOnEnd = true
    if (typeof dest.destroy === 'function') dest.destroy()
  }

  // Don't leave dangling pipes when there are errors.
  function onerror(er) {
    cleanup()
    if (EE.listenerCount(this, 'error') === 0) {
      this.emit('error', er)
    }
  }
  prependListener(source, 'error', onerror)
  prependListener(dest, 'error', onerror)

  // Remove all the event listeners that were added.
  function cleanup() {
    source.removeListener('data', ondata)
    dest.removeListener('drain', ondrain)
    source.removeListener('end', onend)
    source.removeListener('close', onclose)
    source.removeListener('error', onerror)
    dest.removeListener('error', onerror)
    source.removeListener('end', cleanup)
    source.removeListener('close', cleanup)
    dest.removeListener('close', cleanup)
  }
  source.on('end', cleanup)
  source.on('close', cleanup)
  dest.on('close', cleanup)
  dest.emit('pipe', source)

  // Allow for unix-like usage: A.pipe(B).pipe(C)
  return dest
}
function prependListener(emitter, event, fn) {
  // Sadly this is not cacheable as some libraries bundle their own
  // event emitter implementation with them.
  if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn)

  // This is a hack to make sure that our error handler is attached before any
  // userland ones.  NEVER DO THIS. This is here only because this code needs
  // to continue to work with older versions of Node.js that do not include
  // the prependListener() method. The goal is to eventually remove this hack.
  if (!emitter._events || !emitter._events[event]) emitter.on(event, fn)
  else if (ArrayIsArray(emitter._events[event])) emitter._events[event].unshift(fn)
  else emitter._events[event] = [fn, emitter._events[event]]
}
module.exports = {
  Stream,
  prependListener
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/operators.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/operators.js ***!
  \*****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const AbortController = globalThis.AbortController || (__webpack_require__(/*! abort-controller */ "./node_modules/.pnpm/abort-controller@3.0.0/node_modules/abort-controller/browser.js").AbortController)
const {
  codes: { ERR_INVALID_ARG_VALUE, ERR_INVALID_ARG_TYPE, ERR_MISSING_ARGS, ERR_OUT_OF_RANGE },
  AbortError
} = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { validateAbortSignal, validateInteger, validateObject } = __webpack_require__(/*! ../validators */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/validators.js")
const kWeakHandler = (__webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js").Symbol)('kWeak')
const kResistStopPropagation = (__webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js").Symbol)('kResistStopPropagation')
const { finished } = __webpack_require__(/*! ./end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
const staticCompose = __webpack_require__(/*! ./compose */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/compose.js")
const { addAbortSignalNoValidate } = __webpack_require__(/*! ./add-abort-signal */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js")
const { isWritable, isNodeStream } = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const { deprecate } = __webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js")
const {
  ArrayPrototypePush,
  Boolean,
  MathFloor,
  Number,
  NumberIsNaN,
  Promise,
  PromiseReject,
  PromiseResolve,
  PromisePrototypeThen,
  Symbol
} = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const kEmpty = Symbol('kEmpty')
const kEof = Symbol('kEof')
function compose(stream, options) {
  if (options != null) {
    validateObject(options, 'options')
  }
  if ((options === null || options === undefined ? undefined : options.signal) != null) {
    validateAbortSignal(options.signal, 'options.signal')
  }
  if (isNodeStream(stream) && !isWritable(stream)) {
    throw new ERR_INVALID_ARG_VALUE('stream', stream, 'must be writable')
  }
  const composedStream = staticCompose(this, stream)
  if (options !== null && options !== undefined && options.signal) {
    // Not validating as we already validated before
    addAbortSignalNoValidate(options.signal, composedStream)
  }
  return composedStream
}
function map(fn, options) {
  if (typeof fn !== 'function') {
    throw new ERR_INVALID_ARG_TYPE('fn', ['Function', 'AsyncFunction'], fn)
  }
  if (options != null) {
    validateObject(options, 'options')
  }
  if ((options === null || options === undefined ? undefined : options.signal) != null) {
    validateAbortSignal(options.signal, 'options.signal')
  }
  let concurrency = 1
  if ((options === null || options === undefined ? undefined : options.concurrency) != null) {
    concurrency = MathFloor(options.concurrency)
  }
  let highWaterMark = concurrency - 1
  if ((options === null || options === undefined ? undefined : options.highWaterMark) != null) {
    highWaterMark = MathFloor(options.highWaterMark)
  }
  validateInteger(concurrency, 'options.concurrency', 1)
  validateInteger(highWaterMark, 'options.highWaterMark', 0)
  highWaterMark += concurrency
  return async function* map() {
    const signal = (__webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js").AbortSignalAny)(
      [options === null || options === undefined ? undefined : options.signal].filter(Boolean)
    )
    const stream = this
    const queue = []
    const signalOpt = {
      signal
    }
    let next
    let resume
    let done = false
    let cnt = 0
    function onCatch() {
      done = true
      afterItemProcessed()
    }
    function afterItemProcessed() {
      cnt -= 1
      maybeResume()
    }
    function maybeResume() {
      if (resume && !done && cnt < concurrency && queue.length < highWaterMark) {
        resume()
        resume = null
      }
    }
    async function pump() {
      try {
        for await (let val of stream) {
          if (done) {
            return
          }
          if (signal.aborted) {
            throw new AbortError()
          }
          try {
            val = fn(val, signalOpt)
            if (val === kEmpty) {
              continue
            }
            val = PromiseResolve(val)
          } catch (err) {
            val = PromiseReject(err)
          }
          cnt += 1
          PromisePrototypeThen(val, afterItemProcessed, onCatch)
          queue.push(val)
          if (next) {
            next()
            next = null
          }
          if (!done && (queue.length >= highWaterMark || cnt >= concurrency)) {
            await new Promise((resolve) => {
              resume = resolve
            })
          }
        }
        queue.push(kEof)
      } catch (err) {
        const val = PromiseReject(err)
        PromisePrototypeThen(val, afterItemProcessed, onCatch)
        queue.push(val)
      } finally {
        done = true
        if (next) {
          next()
          next = null
        }
      }
    }
    pump()
    try {
      while (true) {
        while (queue.length > 0) {
          const val = await queue[0]
          if (val === kEof) {
            return
          }
          if (signal.aborted) {
            throw new AbortError()
          }
          if (val !== kEmpty) {
            yield val
          }
          queue.shift()
          maybeResume()
        }
        await new Promise((resolve) => {
          next = resolve
        })
      }
    } finally {
      done = true
      if (resume) {
        resume()
        resume = null
      }
    }
  }.call(this)
}
function asIndexedPairs(options = undefined) {
  if (options != null) {
    validateObject(options, 'options')
  }
  if ((options === null || options === undefined ? undefined : options.signal) != null) {
    validateAbortSignal(options.signal, 'options.signal')
  }
  return async function* asIndexedPairs() {
    let index = 0
    for await (const val of this) {
      var _options$signal
      if (
        options !== null &&
        options !== undefined &&
        (_options$signal = options.signal) !== null &&
        _options$signal !== undefined &&
        _options$signal.aborted
      ) {
        throw new AbortError({
          cause: options.signal.reason
        })
      }
      yield [index++, val]
    }
  }.call(this)
}
async function some(fn, options = undefined) {
  for await (const unused of filter.call(this, fn, options)) {
    return true
  }
  return false
}
async function every(fn, options = undefined) {
  if (typeof fn !== 'function') {
    throw new ERR_INVALID_ARG_TYPE('fn', ['Function', 'AsyncFunction'], fn)
  }
  // https://en.wikipedia.org/wiki/De_Morgan%27s_laws
  return !(await some.call(
    this,
    async (...args) => {
      return !(await fn(...args))
    },
    options
  ))
}
async function find(fn, options) {
  for await (const result of filter.call(this, fn, options)) {
    return result
  }
  return undefined
}
async function forEach(fn, options) {
  if (typeof fn !== 'function') {
    throw new ERR_INVALID_ARG_TYPE('fn', ['Function', 'AsyncFunction'], fn)
  }
  async function forEachFn(value, options) {
    await fn(value, options)
    return kEmpty
  }
  // eslint-disable-next-line no-unused-vars
  for await (const unused of map.call(this, forEachFn, options));
}
function filter(fn, options) {
  if (typeof fn !== 'function') {
    throw new ERR_INVALID_ARG_TYPE('fn', ['Function', 'AsyncFunction'], fn)
  }
  async function filterFn(value, options) {
    if (await fn(value, options)) {
      return value
    }
    return kEmpty
  }
  return map.call(this, filterFn, options)
}

// Specific to provide better error to reduce since the argument is only
// missing if the stream has no items in it - but the code is still appropriate
class ReduceAwareErrMissingArgs extends ERR_MISSING_ARGS {
  constructor() {
    super('reduce')
    this.message = 'Reduce of an empty stream requires an initial value'
  }
}
async function reduce(reducer, initialValue, options) {
  var _options$signal2
  if (typeof reducer !== 'function') {
    throw new ERR_INVALID_ARG_TYPE('reducer', ['Function', 'AsyncFunction'], reducer)
  }
  if (options != null) {
    validateObject(options, 'options')
  }
  if ((options === null || options === undefined ? undefined : options.signal) != null) {
    validateAbortSignal(options.signal, 'options.signal')
  }
  let hasInitialValue = arguments.length > 1
  if (
    options !== null &&
    options !== undefined &&
    (_options$signal2 = options.signal) !== null &&
    _options$signal2 !== undefined &&
    _options$signal2.aborted
  ) {
    const err = new AbortError(undefined, {
      cause: options.signal.reason
    })
    this.once('error', () => {}) // The error is already propagated
    await finished(this.destroy(err))
    throw err
  }
  const ac = new AbortController()
  const signal = ac.signal
  if (options !== null && options !== undefined && options.signal) {
    const opts = {
      once: true,
      [kWeakHandler]: this,
      [kResistStopPropagation]: true
    }
    options.signal.addEventListener('abort', () => ac.abort(), opts)
  }
  let gotAnyItemFromStream = false
  try {
    for await (const value of this) {
      var _options$signal3
      gotAnyItemFromStream = true
      if (
        options !== null &&
        options !== undefined &&
        (_options$signal3 = options.signal) !== null &&
        _options$signal3 !== undefined &&
        _options$signal3.aborted
      ) {
        throw new AbortError()
      }
      if (!hasInitialValue) {
        initialValue = value
        hasInitialValue = true
      } else {
        initialValue = await reducer(initialValue, value, {
          signal
        })
      }
    }
    if (!gotAnyItemFromStream && !hasInitialValue) {
      throw new ReduceAwareErrMissingArgs()
    }
  } finally {
    ac.abort()
  }
  return initialValue
}
async function toArray(options) {
  if (options != null) {
    validateObject(options, 'options')
  }
  if ((options === null || options === undefined ? undefined : options.signal) != null) {
    validateAbortSignal(options.signal, 'options.signal')
  }
  const result = []
  for await (const val of this) {
    var _options$signal4
    if (
      options !== null &&
      options !== undefined &&
      (_options$signal4 = options.signal) !== null &&
      _options$signal4 !== undefined &&
      _options$signal4.aborted
    ) {
      throw new AbortError(undefined, {
        cause: options.signal.reason
      })
    }
    ArrayPrototypePush(result, val)
  }
  return result
}
function flatMap(fn, options) {
  const values = map.call(this, fn, options)
  return async function* flatMap() {
    for await (const val of values) {
      yield* val
    }
  }.call(this)
}
function toIntegerOrInfinity(number) {
  // We coerce here to align with the spec
  // https://github.com/tc39/proposal-iterator-helpers/issues/169
  number = Number(number)
  if (NumberIsNaN(number)) {
    return 0
  }
  if (number < 0) {
    throw new ERR_OUT_OF_RANGE('number', '>= 0', number)
  }
  return number
}
function drop(number, options = undefined) {
  if (options != null) {
    validateObject(options, 'options')
  }
  if ((options === null || options === undefined ? undefined : options.signal) != null) {
    validateAbortSignal(options.signal, 'options.signal')
  }
  number = toIntegerOrInfinity(number)
  return async function* drop() {
    var _options$signal5
    if (
      options !== null &&
      options !== undefined &&
      (_options$signal5 = options.signal) !== null &&
      _options$signal5 !== undefined &&
      _options$signal5.aborted
    ) {
      throw new AbortError()
    }
    for await (const val of this) {
      var _options$signal6
      if (
        options !== null &&
        options !== undefined &&
        (_options$signal6 = options.signal) !== null &&
        _options$signal6 !== undefined &&
        _options$signal6.aborted
      ) {
        throw new AbortError()
      }
      if (number-- <= 0) {
        yield val
      }
    }
  }.call(this)
}
function take(number, options = undefined) {
  if (options != null) {
    validateObject(options, 'options')
  }
  if ((options === null || options === undefined ? undefined : options.signal) != null) {
    validateAbortSignal(options.signal, 'options.signal')
  }
  number = toIntegerOrInfinity(number)
  return async function* take() {
    var _options$signal7
    if (
      options !== null &&
      options !== undefined &&
      (_options$signal7 = options.signal) !== null &&
      _options$signal7 !== undefined &&
      _options$signal7.aborted
    ) {
      throw new AbortError()
    }
    for await (const val of this) {
      var _options$signal8
      if (
        options !== null &&
        options !== undefined &&
        (_options$signal8 = options.signal) !== null &&
        _options$signal8 !== undefined &&
        _options$signal8.aborted
      ) {
        throw new AbortError()
      }
      if (number-- > 0) {
        yield val
      }

      // Don't get another item from iterator in case we reached the end
      if (number <= 0) {
        return
      }
    }
  }.call(this)
}
module.exports.streamReturningOperators = {
  asIndexedPairs: deprecate(asIndexedPairs, 'readable.asIndexedPairs will be removed in a future version.'),
  drop,
  filter,
  flatMap,
  map,
  take,
  compose
}
module.exports.promiseReturningOperators = {
  every,
  forEach,
  reduce,
  toArray,
  some,
  find
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/passthrough.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/passthrough.js ***!
  \*******************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// a passthrough stream.
// basically just the most minimal sort of Transform stream.
// Every written chunk gets output as-is.



const { ObjectSetPrototypeOf } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
module.exports = PassThrough
const Transform = __webpack_require__(/*! ./transform */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/transform.js")
ObjectSetPrototypeOf(PassThrough.prototype, Transform.prototype)
ObjectSetPrototypeOf(PassThrough, Transform)
function PassThrough(options) {
  if (!(this instanceof PassThrough)) return new PassThrough(options)
  Transform.call(this, options)
}
PassThrough.prototype._transform = function (chunk, encoding, cb) {
  cb(null, chunk)
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/pipeline.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/pipeline.js ***!
  \****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

/* replacement start */

const process = __webpack_require__(/*! process/ */ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js")

/* replacement end */
// Ported from https://github.com/mafintosh/pump with
// permission from the author, Mathias Buus (@mafintosh).

;('use strict')
const { ArrayIsArray, Promise, SymbolAsyncIterator, SymbolDispose } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const eos = __webpack_require__(/*! ./end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
const { once } = __webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js")
const destroyImpl = __webpack_require__(/*! ./destroy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js")
const Duplex = __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")
const {
  aggregateTwoErrors,
  codes: {
    ERR_INVALID_ARG_TYPE,
    ERR_INVALID_RETURN_VALUE,
    ERR_MISSING_ARGS,
    ERR_STREAM_DESTROYED,
    ERR_STREAM_PREMATURE_CLOSE
  },
  AbortError
} = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { validateFunction, validateAbortSignal } = __webpack_require__(/*! ../validators */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/validators.js")
const {
  isIterable,
  isReadable,
  isReadableNodeStream,
  isNodeStream,
  isTransformStream,
  isWebStream,
  isReadableStream,
  isReadableFinished
} = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const AbortController = globalThis.AbortController || (__webpack_require__(/*! abort-controller */ "./node_modules/.pnpm/abort-controller@3.0.0/node_modules/abort-controller/browser.js").AbortController)
let PassThrough
let Readable
let addAbortListener
function destroyer(stream, reading, writing) {
  let finished = false
  stream.on('close', () => {
    finished = true
  })
  const cleanup = eos(
    stream,
    {
      readable: reading,
      writable: writing
    },
    (err) => {
      finished = !err
    }
  )
  return {
    destroy: (err) => {
      if (finished) return
      finished = true
      destroyImpl.destroyer(stream, err || new ERR_STREAM_DESTROYED('pipe'))
    },
    cleanup
  }
}
function popCallback(streams) {
  // Streams should never be an empty array. It should always contain at least
  // a single stream. Therefore optimize for the average case instead of
  // checking for length === 0 as well.
  validateFunction(streams[streams.length - 1], 'streams[stream.length - 1]')
  return streams.pop()
}
function makeAsyncIterable(val) {
  if (isIterable(val)) {
    return val
  } else if (isReadableNodeStream(val)) {
    // Legacy streams are not Iterable.
    return fromReadable(val)
  }
  throw new ERR_INVALID_ARG_TYPE('val', ['Readable', 'Iterable', 'AsyncIterable'], val)
}
async function* fromReadable(val) {
  if (!Readable) {
    Readable = __webpack_require__(/*! ./readable */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/readable.js")
  }
  yield* Readable.prototype[SymbolAsyncIterator].call(val)
}
async function pumpToNode(iterable, writable, finish, { end }) {
  let error
  let onresolve = null
  const resume = (err) => {
    if (err) {
      error = err
    }
    if (onresolve) {
      const callback = onresolve
      onresolve = null
      callback()
    }
  }
  const wait = () =>
    new Promise((resolve, reject) => {
      if (error) {
        reject(error)
      } else {
        onresolve = () => {
          if (error) {
            reject(error)
          } else {
            resolve()
          }
        }
      }
    })
  writable.on('drain', resume)
  const cleanup = eos(
    writable,
    {
      readable: false
    },
    resume
  )
  try {
    if (writable.writableNeedDrain) {
      await wait()
    }
    for await (const chunk of iterable) {
      if (!writable.write(chunk)) {
        await wait()
      }
    }
    if (end) {
      writable.end()
      await wait()
    }
    finish()
  } catch (err) {
    finish(error !== err ? aggregateTwoErrors(error, err) : err)
  } finally {
    cleanup()
    writable.off('drain', resume)
  }
}
async function pumpToWeb(readable, writable, finish, { end }) {
  if (isTransformStream(writable)) {
    writable = writable.writable
  }
  // https://streams.spec.whatwg.org/#example-manual-write-with-backpressure
  const writer = writable.getWriter()
  try {
    for await (const chunk of readable) {
      await writer.ready
      writer.write(chunk).catch(() => {})
    }
    await writer.ready
    if (end) {
      await writer.close()
    }
    finish()
  } catch (err) {
    try {
      await writer.abort(err)
      finish(err)
    } catch (err) {
      finish(err)
    }
  }
}
function pipeline(...streams) {
  return pipelineImpl(streams, once(popCallback(streams)))
}
function pipelineImpl(streams, callback, opts) {
  if (streams.length === 1 && ArrayIsArray(streams[0])) {
    streams = streams[0]
  }
  if (streams.length < 2) {
    throw new ERR_MISSING_ARGS('streams')
  }
  const ac = new AbortController()
  const signal = ac.signal
  const outerSignal = opts === null || opts === undefined ? undefined : opts.signal

  // Need to cleanup event listeners if last stream is readable
  // https://github.com/nodejs/node/issues/35452
  const lastStreamCleanup = []
  validateAbortSignal(outerSignal, 'options.signal')
  function abort() {
    finishImpl(new AbortError())
  }
  addAbortListener = addAbortListener || (__webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js").addAbortListener)
  let disposable
  if (outerSignal) {
    disposable = addAbortListener(outerSignal, abort)
  }
  let error
  let value
  const destroys = []
  let finishCount = 0
  function finish(err) {
    finishImpl(err, --finishCount === 0)
  }
  function finishImpl(err, final) {
    var _disposable
    if (err && (!error || error.code === 'ERR_STREAM_PREMATURE_CLOSE')) {
      error = err
    }
    if (!error && !final) {
      return
    }
    while (destroys.length) {
      destroys.shift()(error)
    }
    ;(_disposable = disposable) === null || _disposable === undefined ? undefined : _disposable[SymbolDispose]()
    ac.abort()
    if (final) {
      if (!error) {
        lastStreamCleanup.forEach((fn) => fn())
      }
      process.nextTick(callback, error, value)
    }
  }
  let ret
  for (let i = 0; i < streams.length; i++) {
    const stream = streams[i]
    const reading = i < streams.length - 1
    const writing = i > 0
    const end = reading || (opts === null || opts === undefined ? undefined : opts.end) !== false
    const isLastStream = i === streams.length - 1
    if (isNodeStream(stream)) {
      if (end) {
        const { destroy, cleanup } = destroyer(stream, reading, writing)
        destroys.push(destroy)
        if (isReadable(stream) && isLastStream) {
          lastStreamCleanup.push(cleanup)
        }
      }

      // Catch stream errors that occur after pipe/pump has completed.
      function onError(err) {
        if (err && err.name !== 'AbortError' && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {
          finish(err)
        }
      }
      stream.on('error', onError)
      if (isReadable(stream) && isLastStream) {
        lastStreamCleanup.push(() => {
          stream.removeListener('error', onError)
        })
      }
    }
    if (i === 0) {
      if (typeof stream === 'function') {
        ret = stream({
          signal
        })
        if (!isIterable(ret)) {
          throw new ERR_INVALID_RETURN_VALUE('Iterable, AsyncIterable or Stream', 'source', ret)
        }
      } else if (isIterable(stream) || isReadableNodeStream(stream) || isTransformStream(stream)) {
        ret = stream
      } else {
        ret = Duplex.from(stream)
      }
    } else if (typeof stream === 'function') {
      if (isTransformStream(ret)) {
        var _ret
        ret = makeAsyncIterable((_ret = ret) === null || _ret === undefined ? undefined : _ret.readable)
      } else {
        ret = makeAsyncIterable(ret)
      }
      ret = stream(ret, {
        signal
      })
      if (reading) {
        if (!isIterable(ret, true)) {
          throw new ERR_INVALID_RETURN_VALUE('AsyncIterable', `transform[${i - 1}]`, ret)
        }
      } else {
        var _ret2
        if (!PassThrough) {
          PassThrough = __webpack_require__(/*! ./passthrough */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/passthrough.js")
        }

        // If the last argument to pipeline is not a stream
        // we must create a proxy stream so that pipeline(...)
        // always returns a stream which can be further
        // composed through `.pipe(stream)`.

        const pt = new PassThrough({
          objectMode: true
        })

        // Handle Promises/A+ spec, `then` could be a getter that throws on
        // second use.
        const then = (_ret2 = ret) === null || _ret2 === undefined ? undefined : _ret2.then
        if (typeof then === 'function') {
          finishCount++
          then.call(
            ret,
            (val) => {
              value = val
              if (val != null) {
                pt.write(val)
              }
              if (end) {
                pt.end()
              }
              process.nextTick(finish)
            },
            (err) => {
              pt.destroy(err)
              process.nextTick(finish, err)
            }
          )
        } else if (isIterable(ret, true)) {
          finishCount++
          pumpToNode(ret, pt, finish, {
            end
          })
        } else if (isReadableStream(ret) || isTransformStream(ret)) {
          const toRead = ret.readable || ret
          finishCount++
          pumpToNode(toRead, pt, finish, {
            end
          })
        } else {
          throw new ERR_INVALID_RETURN_VALUE('AsyncIterable or Promise', 'destination', ret)
        }
        ret = pt
        const { destroy, cleanup } = destroyer(ret, false, true)
        destroys.push(destroy)
        if (isLastStream) {
          lastStreamCleanup.push(cleanup)
        }
      }
    } else if (isNodeStream(stream)) {
      if (isReadableNodeStream(ret)) {
        finishCount += 2
        const cleanup = pipe(ret, stream, finish, {
          end
        })
        if (isReadable(stream) && isLastStream) {
          lastStreamCleanup.push(cleanup)
        }
      } else if (isTransformStream(ret) || isReadableStream(ret)) {
        const toRead = ret.readable || ret
        finishCount++
        pumpToNode(toRead, stream, finish, {
          end
        })
      } else if (isIterable(ret)) {
        finishCount++
        pumpToNode(ret, stream, finish, {
          end
        })
      } else {
        throw new ERR_INVALID_ARG_TYPE(
          'val',
          ['Readable', 'Iterable', 'AsyncIterable', 'ReadableStream', 'TransformStream'],
          ret
        )
      }
      ret = stream
    } else if (isWebStream(stream)) {
      if (isReadableNodeStream(ret)) {
        finishCount++
        pumpToWeb(makeAsyncIterable(ret), stream, finish, {
          end
        })
      } else if (isReadableStream(ret) || isIterable(ret)) {
        finishCount++
        pumpToWeb(ret, stream, finish, {
          end
        })
      } else if (isTransformStream(ret)) {
        finishCount++
        pumpToWeb(ret.readable, stream, finish, {
          end
        })
      } else {
        throw new ERR_INVALID_ARG_TYPE(
          'val',
          ['Readable', 'Iterable', 'AsyncIterable', 'ReadableStream', 'TransformStream'],
          ret
        )
      }
      ret = stream
    } else {
      ret = Duplex.from(stream)
    }
  }
  if (
    (signal !== null && signal !== undefined && signal.aborted) ||
    (outerSignal !== null && outerSignal !== undefined && outerSignal.aborted)
  ) {
    process.nextTick(abort)
  }
  return ret
}
function pipe(src, dst, finish, { end }) {
  let ended = false
  dst.on('close', () => {
    if (!ended) {
      // Finish if the destination closes before the source has completed.
      finish(new ERR_STREAM_PREMATURE_CLOSE())
    }
  })
  src.pipe(dst, {
    end: false
  }) // If end is true we already will have a listener to end dst.

  if (end) {
    // Compat. Before node v10.12.0 stdio used to throw an error so
    // pipe() did/does not end() stdio destinations.
    // Now they allow it but "secretly" don't close the underlying fd.

    function endFn() {
      ended = true
      dst.end()
    }
    if (isReadableFinished(src)) {
      // End the destination if the source has already ended.
      process.nextTick(endFn)
    } else {
      src.once('end', endFn)
    }
  } else {
    finish()
  }
  eos(
    src,
    {
      readable: true,
      writable: false
    },
    (err) => {
      const rState = src._readableState
      if (
        err &&
        err.code === 'ERR_STREAM_PREMATURE_CLOSE' &&
        rState &&
        rState.ended &&
        !rState.errored &&
        !rState.errorEmitted
      ) {
        // Some readable streams will emit 'close' before 'end'. However, since
        // this is on the readable side 'end' should still be emitted if the
        // stream has been ended and no error emitted. This should be allowed in
        // favor of backwards compatibility. Since the stream is piped to a
        // destination this should not result in any observable difference.
        // We don't need to check if this is a writable premature close since
        // eos will only fail with premature close on the reading side for
        // duplex streams.
        src.once('end', finish).once('error', finish)
      } else {
        finish(err)
      }
    }
  )
  return eos(
    dst,
    {
      readable: false,
      writable: true
    },
    finish
  )
}
module.exports = {
  pipelineImpl,
  pipeline
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/readable.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/readable.js ***!
  \****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.



/* replacement start */

const process = __webpack_require__(/*! process/ */ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js")

/* replacement end */

const {
  ArrayPrototypeIndexOf,
  NumberIsInteger,
  NumberIsNaN,
  NumberParseInt,
  ObjectDefineProperties,
  ObjectKeys,
  ObjectSetPrototypeOf,
  Promise,
  SafeSet,
  SymbolAsyncDispose,
  SymbolAsyncIterator,
  Symbol
} = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
module.exports = Readable
Readable.ReadableState = ReadableState
const { EventEmitter: EE } = __webpack_require__(/*! events */ "./node_modules/.pnpm/events@3.3.0/node_modules/events/events.js")
const { Stream, prependListener } = __webpack_require__(/*! ./legacy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/legacy.js")
const { Buffer } = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")
const { addAbortSignal } = __webpack_require__(/*! ./add-abort-signal */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js")
const eos = __webpack_require__(/*! ./end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
let debug = (__webpack_require__(/*! ../../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js").debuglog)('stream', (fn) => {
  debug = fn
})
const BufferList = __webpack_require__(/*! ./buffer_list */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/buffer_list.js")
const destroyImpl = __webpack_require__(/*! ./destroy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js")
const { getHighWaterMark, getDefaultHighWaterMark } = __webpack_require__(/*! ./state */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/state.js")
const {
  aggregateTwoErrors,
  codes: {
    ERR_INVALID_ARG_TYPE,
    ERR_METHOD_NOT_IMPLEMENTED,
    ERR_OUT_OF_RANGE,
    ERR_STREAM_PUSH_AFTER_EOF,
    ERR_STREAM_UNSHIFT_AFTER_END_EVENT
  },
  AbortError
} = __webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { validateObject } = __webpack_require__(/*! ../validators */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/validators.js")
const kPaused = Symbol('kPaused')
const { StringDecoder } = __webpack_require__(/*! string_decoder/ */ "./node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js")
const from = __webpack_require__(/*! ./from */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/from.js")
ObjectSetPrototypeOf(Readable.prototype, Stream.prototype)
ObjectSetPrototypeOf(Readable, Stream)
const nop = () => {}
const { errorOrDestroy } = destroyImpl
const kObjectMode = 1 << 0
const kEnded = 1 << 1
const kEndEmitted = 1 << 2
const kReading = 1 << 3
const kConstructed = 1 << 4
const kSync = 1 << 5
const kNeedReadable = 1 << 6
const kEmittedReadable = 1 << 7
const kReadableListening = 1 << 8
const kResumeScheduled = 1 << 9
const kErrorEmitted = 1 << 10
const kEmitClose = 1 << 11
const kAutoDestroy = 1 << 12
const kDestroyed = 1 << 13
const kClosed = 1 << 14
const kCloseEmitted = 1 << 15
const kMultiAwaitDrain = 1 << 16
const kReadingMore = 1 << 17
const kDataEmitted = 1 << 18

// TODO(benjamingr) it is likely slower to do it this way than with free functions
function makeBitMapDescriptor(bit) {
  return {
    enumerable: false,
    get() {
      return (this.state & bit) !== 0
    },
    set(value) {
      if (value) this.state |= bit
      else this.state &= ~bit
    }
  }
}
ObjectDefineProperties(ReadableState.prototype, {
  objectMode: makeBitMapDescriptor(kObjectMode),
  ended: makeBitMapDescriptor(kEnded),
  endEmitted: makeBitMapDescriptor(kEndEmitted),
  reading: makeBitMapDescriptor(kReading),
  // Stream is still being constructed and cannot be
  // destroyed until construction finished or failed.
  // Async construction is opt in, therefore we start as
  // constructed.
  constructed: makeBitMapDescriptor(kConstructed),
  // A flag to be able to tell if the event 'readable'/'data' is emitted
  // immediately, or on a later tick.  We set this to true at first, because
  // any actions that shouldn't happen until "later" should generally also
  // not happen before the first read call.
  sync: makeBitMapDescriptor(kSync),
  // Whenever we return null, then we set a flag to say
  // that we're awaiting a 'readable' event emission.
  needReadable: makeBitMapDescriptor(kNeedReadable),
  emittedReadable: makeBitMapDescriptor(kEmittedReadable),
  readableListening: makeBitMapDescriptor(kReadableListening),
  resumeScheduled: makeBitMapDescriptor(kResumeScheduled),
  // True if the error was already emitted and should not be thrown again.
  errorEmitted: makeBitMapDescriptor(kErrorEmitted),
  emitClose: makeBitMapDescriptor(kEmitClose),
  autoDestroy: makeBitMapDescriptor(kAutoDestroy),
  // Has it been destroyed.
  destroyed: makeBitMapDescriptor(kDestroyed),
  // Indicates whether the stream has finished destroying.
  closed: makeBitMapDescriptor(kClosed),
  // True if close has been emitted or would have been emitted
  // depending on emitClose.
  closeEmitted: makeBitMapDescriptor(kCloseEmitted),
  multiAwaitDrain: makeBitMapDescriptor(kMultiAwaitDrain),
  // If true, a maybeReadMore has been scheduled.
  readingMore: makeBitMapDescriptor(kReadingMore),
  dataEmitted: makeBitMapDescriptor(kDataEmitted)
})
function ReadableState(options, stream, isDuplex) {
  // Duplex streams are both readable and writable, but share
  // the same options object.
  // However, some cases require setting options to different
  // values for the readable and the writable sides of the duplex stream.
  // These options can be provided separately as readableXXX and writableXXX.
  if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")

  // Bit map field to store ReadableState more effciently with 1 bit per field
  // instead of a V8 slot per field.
  this.state = kEmitClose | kAutoDestroy | kConstructed | kSync
  // Object stream flag. Used to make read(n) ignore n and to
  // make all the buffer merging and length checks go away.
  if (options && options.objectMode) this.state |= kObjectMode
  if (isDuplex && options && options.readableObjectMode) this.state |= kObjectMode

  // The point at which it stops calling _read() to fill the buffer
  // Note: 0 is a valid value, means "don't call _read preemptively ever"
  this.highWaterMark = options
    ? getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex)
    : getDefaultHighWaterMark(false)

  // A linked list is used to store data chunks instead of an array because the
  // linked list can remove elements from the beginning faster than
  // array.shift().
  this.buffer = new BufferList()
  this.length = 0
  this.pipes = []
  this.flowing = null
  this[kPaused] = null

  // Should close be emitted on destroy. Defaults to true.
  if (options && options.emitClose === false) this.state &= ~kEmitClose

  // Should .destroy() be called after 'end' (and potentially 'finish').
  if (options && options.autoDestroy === false) this.state &= ~kAutoDestroy

  // Indicates whether the stream has errored. When true no further
  // _read calls, 'data' or 'readable' events should occur. This is needed
  // since when autoDestroy is disabled we need a way to tell whether the
  // stream has failed.
  this.errored = null

  // Crypto is kind of old and crusty.  Historically, its default string
  // encoding is 'binary' so we have to make this configurable.
  // Everything else in the universe uses 'utf8', though.
  this.defaultEncoding = (options && options.defaultEncoding) || 'utf8'

  // Ref the piped dest which we need a drain event on it
  // type: null | Writable | Set<Writable>.
  this.awaitDrainWriters = null
  this.decoder = null
  this.encoding = null
  if (options && options.encoding) {
    this.decoder = new StringDecoder(options.encoding)
    this.encoding = options.encoding
  }
}
function Readable(options) {
  if (!(this instanceof Readable)) return new Readable(options)

  // Checking for a Stream.Duplex instance is faster here instead of inside
  // the ReadableState constructor, at least with V8 6.5.
  const isDuplex = this instanceof __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")
  this._readableState = new ReadableState(options, this, isDuplex)
  if (options) {
    if (typeof options.read === 'function') this._read = options.read
    if (typeof options.destroy === 'function') this._destroy = options.destroy
    if (typeof options.construct === 'function') this._construct = options.construct
    if (options.signal && !isDuplex) addAbortSignal(options.signal, this)
  }
  Stream.call(this, options)
  destroyImpl.construct(this, () => {
    if (this._readableState.needReadable) {
      maybeReadMore(this, this._readableState)
    }
  })
}
Readable.prototype.destroy = destroyImpl.destroy
Readable.prototype._undestroy = destroyImpl.undestroy
Readable.prototype._destroy = function (err, cb) {
  cb(err)
}
Readable.prototype[EE.captureRejectionSymbol] = function (err) {
  this.destroy(err)
}
Readable.prototype[SymbolAsyncDispose] = function () {
  let error
  if (!this.destroyed) {
    error = this.readableEnded ? null : new AbortError()
    this.destroy(error)
  }
  return new Promise((resolve, reject) => eos(this, (err) => (err && err !== error ? reject(err) : resolve(null))))
}

// Manually shove something into the read() buffer.
// This returns true if the highWaterMark has not been hit yet,
// similar to how Writable.write() returns true if you should
// write() some more.
Readable.prototype.push = function (chunk, encoding) {
  return readableAddChunk(this, chunk, encoding, false)
}

// Unshift should *always* be something directly out of read().
Readable.prototype.unshift = function (chunk, encoding) {
  return readableAddChunk(this, chunk, encoding, true)
}
function readableAddChunk(stream, chunk, encoding, addToFront) {
  debug('readableAddChunk', chunk)
  const state = stream._readableState
  let err
  if ((state.state & kObjectMode) === 0) {
    if (typeof chunk === 'string') {
      encoding = encoding || state.defaultEncoding
      if (state.encoding !== encoding) {
        if (addToFront && state.encoding) {
          // When unshifting, if state.encoding is set, we have to save
          // the string in the BufferList with the state encoding.
          chunk = Buffer.from(chunk, encoding).toString(state.encoding)
        } else {
          chunk = Buffer.from(chunk, encoding)
          encoding = ''
        }
      }
    } else if (chunk instanceof Buffer) {
      encoding = ''
    } else if (Stream._isUint8Array(chunk)) {
      chunk = Stream._uint8ArrayToBuffer(chunk)
      encoding = ''
    } else if (chunk != null) {
      err = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk)
    }
  }
  if (err) {
    errorOrDestroy(stream, err)
  } else if (chunk === null) {
    state.state &= ~kReading
    onEofChunk(stream, state)
  } else if ((state.state & kObjectMode) !== 0 || (chunk && chunk.length > 0)) {
    if (addToFront) {
      if ((state.state & kEndEmitted) !== 0) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT())
      else if (state.destroyed || state.errored) return false
      else addChunk(stream, state, chunk, true)
    } else if (state.ended) {
      errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF())
    } else if (state.destroyed || state.errored) {
      return false
    } else {
      state.state &= ~kReading
      if (state.decoder && !encoding) {
        chunk = state.decoder.write(chunk)
        if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false)
        else maybeReadMore(stream, state)
      } else {
        addChunk(stream, state, chunk, false)
      }
    }
  } else if (!addToFront) {
    state.state &= ~kReading
    maybeReadMore(stream, state)
  }

  // We can push more data if we are below the highWaterMark.
  // Also, if we have no data yet, we can stand some more bytes.
  // This is to work around cases where hwm=0, such as the repl.
  return !state.ended && (state.length < state.highWaterMark || state.length === 0)
}
function addChunk(stream, state, chunk, addToFront) {
  if (state.flowing && state.length === 0 && !state.sync && stream.listenerCount('data') > 0) {
    // Use the guard to avoid creating `Set()` repeatedly
    // when we have multiple pipes.
    if ((state.state & kMultiAwaitDrain) !== 0) {
      state.awaitDrainWriters.clear()
    } else {
      state.awaitDrainWriters = null
    }
    state.dataEmitted = true
    stream.emit('data', chunk)
  } else {
    // Update the buffer info.
    state.length += state.objectMode ? 1 : chunk.length
    if (addToFront) state.buffer.unshift(chunk)
    else state.buffer.push(chunk)
    if ((state.state & kNeedReadable) !== 0) emitReadable(stream)
  }
  maybeReadMore(stream, state)
}
Readable.prototype.isPaused = function () {
  const state = this._readableState
  return state[kPaused] === true || state.flowing === false
}

// Backwards compatibility.
Readable.prototype.setEncoding = function (enc) {
  const decoder = new StringDecoder(enc)
  this._readableState.decoder = decoder
  // If setEncoding(null), decoder.encoding equals utf8.
  this._readableState.encoding = this._readableState.decoder.encoding
  const buffer = this._readableState.buffer
  // Iterate over current buffer to convert already stored Buffers:
  let content = ''
  for (const data of buffer) {
    content += decoder.write(data)
  }
  buffer.clear()
  if (content !== '') buffer.push(content)
  this._readableState.length = content.length
  return this
}

// Don't raise the hwm > 1GB.
const MAX_HWM = 0x40000000
function computeNewHighWaterMark(n) {
  if (n > MAX_HWM) {
    throw new ERR_OUT_OF_RANGE('size', '<= 1GiB', n)
  } else {
    // Get the next highest power of 2 to prevent increasing hwm excessively in
    // tiny amounts.
    n--
    n |= n >>> 1
    n |= n >>> 2
    n |= n >>> 4
    n |= n >>> 8
    n |= n >>> 16
    n++
  }
  return n
}

// This function is designed to be inlinable, so please take care when making
// changes to the function body.
function howMuchToRead(n, state) {
  if (n <= 0 || (state.length === 0 && state.ended)) return 0
  if ((state.state & kObjectMode) !== 0) return 1
  if (NumberIsNaN(n)) {
    // Only flow one buffer at a time.
    if (state.flowing && state.length) return state.buffer.first().length
    return state.length
  }
  if (n <= state.length) return n
  return state.ended ? state.length : 0
}

// You can override either this method, or the async _read(n) below.
Readable.prototype.read = function (n) {
  debug('read', n)
  // Same as parseInt(undefined, 10), however V8 7.3 performance regressed
  // in this scenario, so we are doing it manually.
  if (n === undefined) {
    n = NaN
  } else if (!NumberIsInteger(n)) {
    n = NumberParseInt(n, 10)
  }
  const state = this._readableState
  const nOrig = n

  // If we're asking for more than the current hwm, then raise the hwm.
  if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n)
  if (n !== 0) state.state &= ~kEmittedReadable

  // If we're doing read(0) to trigger a readable event, but we
  // already have a bunch of data in the buffer, then just trigger
  // the 'readable' event and move on.
  if (
    n === 0 &&
    state.needReadable &&
    ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)
  ) {
    debug('read: emitReadable', state.length, state.ended)
    if (state.length === 0 && state.ended) endReadable(this)
    else emitReadable(this)
    return null
  }
  n = howMuchToRead(n, state)

  // If we've ended, and we're now clear, then finish it up.
  if (n === 0 && state.ended) {
    if (state.length === 0) endReadable(this)
    return null
  }

  // All the actual chunk generation logic needs to be
  // *below* the call to _read.  The reason is that in certain
  // synthetic stream cases, such as passthrough streams, _read
  // may be a completely synchronous operation which may change
  // the state of the read buffer, providing enough data when
  // before there was *not* enough.
  //
  // So, the steps are:
  // 1. Figure out what the state of things will be after we do
  // a read from the buffer.
  //
  // 2. If that resulting state will trigger a _read, then call _read.
  // Note that this may be asynchronous, or synchronous.  Yes, it is
  // deeply ugly to write APIs this way, but that still doesn't mean
  // that the Readable class should behave improperly, as streams are
  // designed to be sync/async agnostic.
  // Take note if the _read call is sync or async (ie, if the read call
  // has returned yet), so that we know whether or not it's safe to emit
  // 'readable' etc.
  //
  // 3. Actually pull the requested chunks out of the buffer and return.

  // if we need a readable event, then we need to do some reading.
  let doRead = (state.state & kNeedReadable) !== 0
  debug('need readable', doRead)

  // If we currently have less than the highWaterMark, then also read some.
  if (state.length === 0 || state.length - n < state.highWaterMark) {
    doRead = true
    debug('length less than watermark', doRead)
  }

  // However, if we've ended, then there's no point, if we're already
  // reading, then it's unnecessary, if we're constructing we have to wait,
  // and if we're destroyed or errored, then it's not allowed,
  if (state.ended || state.reading || state.destroyed || state.errored || !state.constructed) {
    doRead = false
    debug('reading, ended or constructing', doRead)
  } else if (doRead) {
    debug('do read')
    state.state |= kReading | kSync
    // If the length is currently zero, then we *need* a readable event.
    if (state.length === 0) state.state |= kNeedReadable

    // Call internal read method
    try {
      this._read(state.highWaterMark)
    } catch (err) {
      errorOrDestroy(this, err)
    }
    state.state &= ~kSync

    // If _read pushed data synchronously, then `reading` will be false,
    // and we need to re-evaluate how much data we can return to the user.
    if (!state.reading) n = howMuchToRead(nOrig, state)
  }
  let ret
  if (n > 0) ret = fromList(n, state)
  else ret = null
  if (ret === null) {
    state.needReadable = state.length <= state.highWaterMark
    n = 0
  } else {
    state.length -= n
    if (state.multiAwaitDrain) {
      state.awaitDrainWriters.clear()
    } else {
      state.awaitDrainWriters = null
    }
  }
  if (state.length === 0) {
    // If we have nothing in the buffer, then we want to know
    // as soon as we *do* get something into the buffer.
    if (!state.ended) state.needReadable = true

    // If we tried to read() past the EOF, then emit end on the next tick.
    if (nOrig !== n && state.ended) endReadable(this)
  }
  if (ret !== null && !state.errorEmitted && !state.closeEmitted) {
    state.dataEmitted = true
    this.emit('data', ret)
  }
  return ret
}
function onEofChunk(stream, state) {
  debug('onEofChunk')
  if (state.ended) return
  if (state.decoder) {
    const chunk = state.decoder.end()
    if (chunk && chunk.length) {
      state.buffer.push(chunk)
      state.length += state.objectMode ? 1 : chunk.length
    }
  }
  state.ended = true
  if (state.sync) {
    // If we are sync, wait until next tick to emit the data.
    // Otherwise we risk emitting data in the flow()
    // the readable code triggers during a read() call.
    emitReadable(stream)
  } else {
    // Emit 'readable' now to make sure it gets picked up.
    state.needReadable = false
    state.emittedReadable = true
    // We have to emit readable now that we are EOF. Modules
    // in the ecosystem (e.g. dicer) rely on this event being sync.
    emitReadable_(stream)
  }
}

// Don't emit readable right away in sync mode, because this can trigger
// another read() call => stack overflow.  This way, it might trigger
// a nextTick recursion warning, but that's not so bad.
function emitReadable(stream) {
  const state = stream._readableState
  debug('emitReadable', state.needReadable, state.emittedReadable)
  state.needReadable = false
  if (!state.emittedReadable) {
    debug('emitReadable', state.flowing)
    state.emittedReadable = true
    process.nextTick(emitReadable_, stream)
  }
}
function emitReadable_(stream) {
  const state = stream._readableState
  debug('emitReadable_', state.destroyed, state.length, state.ended)
  if (!state.destroyed && !state.errored && (state.length || state.ended)) {
    stream.emit('readable')
    state.emittedReadable = false
  }

  // The stream needs another readable event if:
  // 1. It is not flowing, as the flow mechanism will take
  //    care of it.
  // 2. It is not ended.
  // 3. It is below the highWaterMark, so we can schedule
  //    another readable later.
  state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark
  flow(stream)
}

// At this point, the user has presumably seen the 'readable' event,
// and called read() to consume some data.  that may have triggered
// in turn another _read(n) call, in which case reading = true if
// it's in progress.
// However, if we're not ended, or reading, and the length < hwm,
// then go ahead and try to read some more preemptively.
function maybeReadMore(stream, state) {
  if (!state.readingMore && state.constructed) {
    state.readingMore = true
    process.nextTick(maybeReadMore_, stream, state)
  }
}
function maybeReadMore_(stream, state) {
  // Attempt to read more data if we should.
  //
  // The conditions for reading more data are (one of):
  // - Not enough data buffered (state.length < state.highWaterMark). The loop
  //   is responsible for filling the buffer with enough data if such data
  //   is available. If highWaterMark is 0 and we are not in the flowing mode
  //   we should _not_ attempt to buffer any extra data. We'll get more data
  //   when the stream consumer calls read() instead.
  // - No data in the buffer, and the stream is in flowing mode. In this mode
  //   the loop below is responsible for ensuring read() is called. Failing to
  //   call read here would abort the flow and there's no other mechanism for
  //   continuing the flow if the stream consumer has just subscribed to the
  //   'data' event.
  //
  // In addition to the above conditions to keep reading data, the following
  // conditions prevent the data from being read:
  // - The stream has ended (state.ended).
  // - There is already a pending 'read' operation (state.reading). This is a
  //   case where the stream has called the implementation defined _read()
  //   method, but they are processing the call asynchronously and have _not_
  //   called push() with new data. In this case we skip performing more
  //   read()s. The execution ends in this method again after the _read() ends
  //   up calling push() with more data.
  while (
    !state.reading &&
    !state.ended &&
    (state.length < state.highWaterMark || (state.flowing && state.length === 0))
  ) {
    const len = state.length
    debug('maybeReadMore read 0')
    stream.read(0)
    if (len === state.length)
      // Didn't get any data, stop spinning.
      break
  }
  state.readingMore = false
}

// Abstract method.  to be overridden in specific implementation classes.
// call cb(er, data) where data is <= n in length.
// for virtual (non-string, non-buffer) streams, "length" is somewhat
// arbitrary, and perhaps not very meaningful.
Readable.prototype._read = function (n) {
  throw new ERR_METHOD_NOT_IMPLEMENTED('_read()')
}
Readable.prototype.pipe = function (dest, pipeOpts) {
  const src = this
  const state = this._readableState
  if (state.pipes.length === 1) {
    if (!state.multiAwaitDrain) {
      state.multiAwaitDrain = true
      state.awaitDrainWriters = new SafeSet(state.awaitDrainWriters ? [state.awaitDrainWriters] : [])
    }
  }
  state.pipes.push(dest)
  debug('pipe count=%d opts=%j', state.pipes.length, pipeOpts)
  const doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr
  const endFn = doEnd ? onend : unpipe
  if (state.endEmitted) process.nextTick(endFn)
  else src.once('end', endFn)
  dest.on('unpipe', onunpipe)
  function onunpipe(readable, unpipeInfo) {
    debug('onunpipe')
    if (readable === src) {
      if (unpipeInfo && unpipeInfo.hasUnpiped === false) {
        unpipeInfo.hasUnpiped = true
        cleanup()
      }
    }
  }
  function onend() {
    debug('onend')
    dest.end()
  }
  let ondrain
  let cleanedUp = false
  function cleanup() {
    debug('cleanup')
    // Cleanup event handlers once the pipe is broken.
    dest.removeListener('close', onclose)
    dest.removeListener('finish', onfinish)
    if (ondrain) {
      dest.removeListener('drain', ondrain)
    }
    dest.removeListener('error', onerror)
    dest.removeListener('unpipe', onunpipe)
    src.removeListener('end', onend)
    src.removeListener('end', unpipe)
    src.removeListener('data', ondata)
    cleanedUp = true

    // If the reader is waiting for a drain event from this
    // specific writer, then it would cause it to never start
    // flowing again.
    // So, if this is awaiting a drain, then we just call it now.
    // If we don't know, then assume that we are waiting for one.
    if (ondrain && state.awaitDrainWriters && (!dest._writableState || dest._writableState.needDrain)) ondrain()
  }
  function pause() {
    // If the user unpiped during `dest.write()`, it is possible
    // to get stuck in a permanently paused state if that write
    // also returned false.
    // => Check whether `dest` is still a piping destination.
    if (!cleanedUp) {
      if (state.pipes.length === 1 && state.pipes[0] === dest) {
        debug('false write response, pause', 0)
        state.awaitDrainWriters = dest
        state.multiAwaitDrain = false
      } else if (state.pipes.length > 1 && state.pipes.includes(dest)) {
        debug('false write response, pause', state.awaitDrainWriters.size)
        state.awaitDrainWriters.add(dest)
      }
      src.pause()
    }
    if (!ondrain) {
      // When the dest drains, it reduces the awaitDrain counter
      // on the source.  This would be more elegant with a .once()
      // handler in flow(), but adding and removing repeatedly is
      // too slow.
      ondrain = pipeOnDrain(src, dest)
      dest.on('drain', ondrain)
    }
  }
  src.on('data', ondata)
  function ondata(chunk) {
    debug('ondata')
    const ret = dest.write(chunk)
    debug('dest.write', ret)
    if (ret === false) {
      pause()
    }
  }

  // If the dest has an error, then stop piping into it.
  // However, don't suppress the throwing behavior for this.
  function onerror(er) {
    debug('onerror', er)
    unpipe()
    dest.removeListener('error', onerror)
    if (dest.listenerCount('error') === 0) {
      const s = dest._writableState || dest._readableState
      if (s && !s.errorEmitted) {
        // User incorrectly emitted 'error' directly on the stream.
        errorOrDestroy(dest, er)
      } else {
        dest.emit('error', er)
      }
    }
  }

  // Make sure our error handler is attached before userland ones.
  prependListener(dest, 'error', onerror)

  // Both close and finish should trigger unpipe, but only once.
  function onclose() {
    dest.removeListener('finish', onfinish)
    unpipe()
  }
  dest.once('close', onclose)
  function onfinish() {
    debug('onfinish')
    dest.removeListener('close', onclose)
    unpipe()
  }
  dest.once('finish', onfinish)
  function unpipe() {
    debug('unpipe')
    src.unpipe(dest)
  }

  // Tell the dest that it's being piped to.
  dest.emit('pipe', src)

  // Start the flow if it hasn't been started already.

  if (dest.writableNeedDrain === true) {
    pause()
  } else if (!state.flowing) {
    debug('pipe resume')
    src.resume()
  }
  return dest
}
function pipeOnDrain(src, dest) {
  return function pipeOnDrainFunctionResult() {
    const state = src._readableState

    // `ondrain` will call directly,
    // `this` maybe not a reference to dest,
    // so we use the real dest here.
    if (state.awaitDrainWriters === dest) {
      debug('pipeOnDrain', 1)
      state.awaitDrainWriters = null
    } else if (state.multiAwaitDrain) {
      debug('pipeOnDrain', state.awaitDrainWriters.size)
      state.awaitDrainWriters.delete(dest)
    }
    if ((!state.awaitDrainWriters || state.awaitDrainWriters.size === 0) && src.listenerCount('data')) {
      src.resume()
    }
  }
}
Readable.prototype.unpipe = function (dest) {
  const state = this._readableState
  const unpipeInfo = {
    hasUnpiped: false
  }

  // If we're not piping anywhere, then do nothing.
  if (state.pipes.length === 0) return this
  if (!dest) {
    // remove all.
    const dests = state.pipes
    state.pipes = []
    this.pause()
    for (let i = 0; i < dests.length; i++)
      dests[i].emit('unpipe', this, {
        hasUnpiped: false
      })
    return this
  }

  // Try to find the right one.
  const index = ArrayPrototypeIndexOf(state.pipes, dest)
  if (index === -1) return this
  state.pipes.splice(index, 1)
  if (state.pipes.length === 0) this.pause()
  dest.emit('unpipe', this, unpipeInfo)
  return this
}

// Set up data events if they are asked for
// Ensure readable listeners eventually get something.
Readable.prototype.on = function (ev, fn) {
  const res = Stream.prototype.on.call(this, ev, fn)
  const state = this._readableState
  if (ev === 'data') {
    // Update readableListening so that resume() may be a no-op
    // a few lines down. This is needed to support once('readable').
    state.readableListening = this.listenerCount('readable') > 0

    // Try start flowing on next tick if stream isn't explicitly paused.
    if (state.flowing !== false) this.resume()
  } else if (ev === 'readable') {
    if (!state.endEmitted && !state.readableListening) {
      state.readableListening = state.needReadable = true
      state.flowing = false
      state.emittedReadable = false
      debug('on readable', state.length, state.reading)
      if (state.length) {
        emitReadable(this)
      } else if (!state.reading) {
        process.nextTick(nReadingNextTick, this)
      }
    }
  }
  return res
}
Readable.prototype.addListener = Readable.prototype.on
Readable.prototype.removeListener = function (ev, fn) {
  const res = Stream.prototype.removeListener.call(this, ev, fn)
  if (ev === 'readable') {
    // We need to check if there is someone still listening to
    // readable and reset the state. However this needs to happen
    // after readable has been emitted but before I/O (nextTick) to
    // support once('readable', fn) cycles. This means that calling
    // resume within the same tick will have no
    // effect.
    process.nextTick(updateReadableListening, this)
  }
  return res
}
Readable.prototype.off = Readable.prototype.removeListener
Readable.prototype.removeAllListeners = function (ev) {
  const res = Stream.prototype.removeAllListeners.apply(this, arguments)
  if (ev === 'readable' || ev === undefined) {
    // We need to check if there is someone still listening to
    // readable and reset the state. However this needs to happen
    // after readable has been emitted but before I/O (nextTick) to
    // support once('readable', fn) cycles. This means that calling
    // resume within the same tick will have no
    // effect.
    process.nextTick(updateReadableListening, this)
  }
  return res
}
function updateReadableListening(self) {
  const state = self._readableState
  state.readableListening = self.listenerCount('readable') > 0
  if (state.resumeScheduled && state[kPaused] === false) {
    // Flowing needs to be set to true now, otherwise
    // the upcoming resume will not flow.
    state.flowing = true

    // Crude way to check if we should resume.
  } else if (self.listenerCount('data') > 0) {
    self.resume()
  } else if (!state.readableListening) {
    state.flowing = null
  }
}
function nReadingNextTick(self) {
  debug('readable nexttick read 0')
  self.read(0)
}

// pause() and resume() are remnants of the legacy readable stream API
// If the user uses them, then switch into old mode.
Readable.prototype.resume = function () {
  const state = this._readableState
  if (!state.flowing) {
    debug('resume')
    // We flow only if there is no one listening
    // for readable, but we still have to call
    // resume().
    state.flowing = !state.readableListening
    resume(this, state)
  }
  state[kPaused] = false
  return this
}
function resume(stream, state) {
  if (!state.resumeScheduled) {
    state.resumeScheduled = true
    process.nextTick(resume_, stream, state)
  }
}
function resume_(stream, state) {
  debug('resume', state.reading)
  if (!state.reading) {
    stream.read(0)
  }
  state.resumeScheduled = false
  stream.emit('resume')
  flow(stream)
  if (state.flowing && !state.reading) stream.read(0)
}
Readable.prototype.pause = function () {
  debug('call pause flowing=%j', this._readableState.flowing)
  if (this._readableState.flowing !== false) {
    debug('pause')
    this._readableState.flowing = false
    this.emit('pause')
  }
  this._readableState[kPaused] = true
  return this
}
function flow(stream) {
  const state = stream._readableState
  debug('flow', state.flowing)
  while (state.flowing && stream.read() !== null);
}

// Wrap an old-style stream as the async data source.
// This is *not* part of the readable stream interface.
// It is an ugly unfortunate mess of history.
Readable.prototype.wrap = function (stream) {
  let paused = false

  // TODO (ronag): Should this.destroy(err) emit
  // 'error' on the wrapped stream? Would require
  // a static factory method, e.g. Readable.wrap(stream).

  stream.on('data', (chunk) => {
    if (!this.push(chunk) && stream.pause) {
      paused = true
      stream.pause()
    }
  })
  stream.on('end', () => {
    this.push(null)
  })
  stream.on('error', (err) => {
    errorOrDestroy(this, err)
  })
  stream.on('close', () => {
    this.destroy()
  })
  stream.on('destroy', () => {
    this.destroy()
  })
  this._read = () => {
    if (paused && stream.resume) {
      paused = false
      stream.resume()
    }
  }

  // Proxy all the other methods. Important when wrapping filters and duplexes.
  const streamKeys = ObjectKeys(stream)
  for (let j = 1; j < streamKeys.length; j++) {
    const i = streamKeys[j]
    if (this[i] === undefined && typeof stream[i] === 'function') {
      this[i] = stream[i].bind(stream)
    }
  }
  return this
}
Readable.prototype[SymbolAsyncIterator] = function () {
  return streamToAsyncIterator(this)
}
Readable.prototype.iterator = function (options) {
  if (options !== undefined) {
    validateObject(options, 'options')
  }
  return streamToAsyncIterator(this, options)
}
function streamToAsyncIterator(stream, options) {
  if (typeof stream.read !== 'function') {
    stream = Readable.wrap(stream, {
      objectMode: true
    })
  }
  const iter = createAsyncIterator(stream, options)
  iter.stream = stream
  return iter
}
async function* createAsyncIterator(stream, options) {
  let callback = nop
  function next(resolve) {
    if (this === stream) {
      callback()
      callback = nop
    } else {
      callback = resolve
    }
  }
  stream.on('readable', next)
  let error
  const cleanup = eos(
    stream,
    {
      writable: false
    },
    (err) => {
      error = err ? aggregateTwoErrors(error, err) : null
      callback()
      callback = nop
    }
  )
  try {
    while (true) {
      const chunk = stream.destroyed ? null : stream.read()
      if (chunk !== null) {
        yield chunk
      } else if (error) {
        throw error
      } else if (error === null) {
        return
      } else {
        await new Promise(next)
      }
    }
  } catch (err) {
    error = aggregateTwoErrors(error, err)
    throw error
  } finally {
    if (
      (error || (options === null || options === undefined ? undefined : options.destroyOnReturn) !== false) &&
      (error === undefined || stream._readableState.autoDestroy)
    ) {
      destroyImpl.destroyer(stream, null)
    } else {
      stream.off('readable', next)
      cleanup()
    }
  }
}

// Making it explicit these properties are not enumerable
// because otherwise some prototype manipulation in
// userland will fail.
ObjectDefineProperties(Readable.prototype, {
  readable: {
    __proto__: null,
    get() {
      const r = this._readableState
      // r.readable === false means that this is part of a Duplex stream
      // where the readable side was disabled upon construction.
      // Compat. The user might manually disable readable side through
      // deprecated setter.
      return !!r && r.readable !== false && !r.destroyed && !r.errorEmitted && !r.endEmitted
    },
    set(val) {
      // Backwards compat.
      if (this._readableState) {
        this._readableState.readable = !!val
      }
    }
  },
  readableDidRead: {
    __proto__: null,
    enumerable: false,
    get: function () {
      return this._readableState.dataEmitted
    }
  },
  readableAborted: {
    __proto__: null,
    enumerable: false,
    get: function () {
      return !!(
        this._readableState.readable !== false &&
        (this._readableState.destroyed || this._readableState.errored) &&
        !this._readableState.endEmitted
      )
    }
  },
  readableHighWaterMark: {
    __proto__: null,
    enumerable: false,
    get: function () {
      return this._readableState.highWaterMark
    }
  },
  readableBuffer: {
    __proto__: null,
    enumerable: false,
    get: function () {
      return this._readableState && this._readableState.buffer
    }
  },
  readableFlowing: {
    __proto__: null,
    enumerable: false,
    get: function () {
      return this._readableState.flowing
    },
    set: function (state) {
      if (this._readableState) {
        this._readableState.flowing = state
      }
    }
  },
  readableLength: {
    __proto__: null,
    enumerable: false,
    get() {
      return this._readableState.length
    }
  },
  readableObjectMode: {
    __proto__: null,
    enumerable: false,
    get() {
      return this._readableState ? this._readableState.objectMode : false
    }
  },
  readableEncoding: {
    __proto__: null,
    enumerable: false,
    get() {
      return this._readableState ? this._readableState.encoding : null
    }
  },
  errored: {
    __proto__: null,
    enumerable: false,
    get() {
      return this._readableState ? this._readableState.errored : null
    }
  },
  closed: {
    __proto__: null,
    get() {
      return this._readableState ? this._readableState.closed : false
    }
  },
  destroyed: {
    __proto__: null,
    enumerable: false,
    get() {
      return this._readableState ? this._readableState.destroyed : false
    },
    set(value) {
      // We ignore the value if the stream
      // has not been initialized yet.
      if (!this._readableState) {
        return
      }

      // Backward compatibility, the user is explicitly
      // managing destroyed.
      this._readableState.destroyed = value
    }
  },
  readableEnded: {
    __proto__: null,
    enumerable: false,
    get() {
      return this._readableState ? this._readableState.endEmitted : false
    }
  }
})
ObjectDefineProperties(ReadableState.prototype, {
  // Legacy getter for `pipesCount`.
  pipesCount: {
    __proto__: null,
    get() {
      return this.pipes.length
    }
  },
  // Legacy property for `paused`.
  paused: {
    __proto__: null,
    get() {
      return this[kPaused] !== false
    },
    set(value) {
      this[kPaused] = !!value
    }
  }
})

// Exposed for testing purposes only.
Readable._fromList = fromList

// Pluck off n bytes from an array of buffers.
// Length is the combined lengths of all the buffers in the list.
// This function is designed to be inlinable, so please take care when making
// changes to the function body.
function fromList(n, state) {
  // nothing buffered.
  if (state.length === 0) return null
  let ret
  if (state.objectMode) ret = state.buffer.shift()
  else if (!n || n >= state.length) {
    // Read it all, truncate the list.
    if (state.decoder) ret = state.buffer.join('')
    else if (state.buffer.length === 1) ret = state.buffer.first()
    else ret = state.buffer.concat(state.length)
    state.buffer.clear()
  } else {
    // read part of list.
    ret = state.buffer.consume(n, state.decoder)
  }
  return ret
}
function endReadable(stream) {
  const state = stream._readableState
  debug('endReadable', state.endEmitted)
  if (!state.endEmitted) {
    state.ended = true
    process.nextTick(endReadableNT, state, stream)
  }
}
function endReadableNT(state, stream) {
  debug('endReadableNT', state.endEmitted, state.length)

  // Check that we didn't get one last unshift.
  if (!state.errored && !state.closeEmitted && !state.endEmitted && state.length === 0) {
    state.endEmitted = true
    stream.emit('end')
    if (stream.writable && stream.allowHalfOpen === false) {
      process.nextTick(endWritableNT, stream)
    } else if (state.autoDestroy) {
      // In case of duplex streams we need a way to detect
      // if the writable side is ready for autoDestroy as well.
      const wState = stream._writableState
      const autoDestroy =
        !wState ||
        (wState.autoDestroy &&
          // We don't expect the writable to ever 'finish'
          // if writable is explicitly set to false.
          (wState.finished || wState.writable === false))
      if (autoDestroy) {
        stream.destroy()
      }
    }
  }
}
function endWritableNT(stream) {
  const writable = stream.writable && !stream.writableEnded && !stream.destroyed
  if (writable) {
    stream.end()
  }
}
Readable.from = function (iterable, opts) {
  return from(Readable, iterable, opts)
}
let webStreamsAdapters

// Lazy to avoid circular references
function lazyWebStreams() {
  if (webStreamsAdapters === undefined) webStreamsAdapters = {}
  return webStreamsAdapters
}
Readable.fromWeb = function (readableStream, options) {
  return lazyWebStreams().newStreamReadableFromReadableStream(readableStream, options)
}
Readable.toWeb = function (streamReadable, options) {
  return lazyWebStreams().newReadableStreamFromStreamReadable(streamReadable, options)
}
Readable.wrap = function (src, options) {
  var _ref, _src$readableObjectMo
  return new Readable({
    objectMode:
      (_ref =
        (_src$readableObjectMo = src.readableObjectMode) !== null && _src$readableObjectMo !== undefined
          ? _src$readableObjectMo
          : src.objectMode) !== null && _ref !== undefined
        ? _ref
        : true,
    ...options,
    destroy(err, callback) {
      destroyImpl.destroyer(src, err)
      callback(err)
    }
  }).wrap(src)
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/state.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/state.js ***!
  \*************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { MathFloor, NumberIsInteger } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const { validateInteger } = __webpack_require__(/*! ../validators */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/validators.js")
const { ERR_INVALID_ARG_VALUE } = (__webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js").codes)
let defaultHighWaterMarkBytes = 16 * 1024
let defaultHighWaterMarkObjectMode = 16
function highWaterMarkFrom(options, isDuplex, duplexKey) {
  return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null
}
function getDefaultHighWaterMark(objectMode) {
  return objectMode ? defaultHighWaterMarkObjectMode : defaultHighWaterMarkBytes
}
function setDefaultHighWaterMark(objectMode, value) {
  validateInteger(value, 'value', 0)
  if (objectMode) {
    defaultHighWaterMarkObjectMode = value
  } else {
    defaultHighWaterMarkBytes = value
  }
}
function getHighWaterMark(state, options, duplexKey, isDuplex) {
  const hwm = highWaterMarkFrom(options, isDuplex, duplexKey)
  if (hwm != null) {
    if (!NumberIsInteger(hwm) || hwm < 0) {
      const name = isDuplex ? `options.${duplexKey}` : 'options.highWaterMark'
      throw new ERR_INVALID_ARG_VALUE(name, hwm)
    }
    return MathFloor(hwm)
  }

  // Default value
  return getDefaultHighWaterMark(state.objectMode)
}
module.exports = {
  getHighWaterMark,
  getDefaultHighWaterMark,
  setDefaultHighWaterMark
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/transform.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/transform.js ***!
  \*****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// a transform stream is a readable/writable stream where you do
// something with the data.  Sometimes it's called a "filter",
// but that's not a great name for it, since that implies a thing where
// some bits pass through, and others are simply ignored.  (That would
// be a valid example of a transform, of course.)
//
// While the output is causally related to the input, it's not a
// necessarily symmetric or synchronous transformation.  For example,
// a zlib stream might take multiple plain-text writes(), and then
// emit a single compressed chunk some time in the future.
//
// Here's how this works:
//
// The Transform stream has all the aspects of the readable and writable
// stream classes.  When you write(chunk), that calls _write(chunk,cb)
// internally, and returns false if there's a lot of pending writes
// buffered up.  When you call read(), that calls _read(n) until
// there's enough pending readable data buffered up.
//
// In a transform stream, the written data is placed in a buffer.  When
// _read(n) is called, it transforms the queued up data, calling the
// buffered _write cb's as it consumes chunks.  If consuming a single
// written chunk would result in multiple output chunks, then the first
// outputted bit calls the readcb, and subsequent chunks just go into
// the read buffer, and will cause it to emit 'readable' if necessary.
//
// This way, back-pressure is actually determined by the reading side,
// since _read has to be called to start processing a new chunk.  However,
// a pathological inflate type of transform can cause excessive buffering
// here.  For example, imagine a stream where every byte of input is
// interpreted as an integer from 0-255, and then results in that many
// bytes of output.  Writing the 4 bytes {ff,ff,ff,ff} would result in
// 1kb of data being output.  In this case, you could write a very small
// amount of input, and end up with a very large amount of output.  In
// such a pathological inflating mechanism, there'd be no way to tell
// the system to stop doing the transform.  A single 4MB write could
// cause the system to run out of memory.
//
// However, even in such a pathological case, only a single written chunk
// would be consumed, and then the rest would wait (un-transformed) until
// the results of the previous transformed chunk were consumed.



const { ObjectSetPrototypeOf, Symbol } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
module.exports = Transform
const { ERR_METHOD_NOT_IMPLEMENTED } = (__webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js").codes)
const Duplex = __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")
const { getHighWaterMark } = __webpack_require__(/*! ./state */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/state.js")
ObjectSetPrototypeOf(Transform.prototype, Duplex.prototype)
ObjectSetPrototypeOf(Transform, Duplex)
const kCallback = Symbol('kCallback')
function Transform(options) {
  if (!(this instanceof Transform)) return new Transform(options)

  // TODO (ronag): This should preferably always be
  // applied but would be semver-major. Or even better;
  // make Transform a Readable with the Writable interface.
  const readableHighWaterMark = options ? getHighWaterMark(this, options, 'readableHighWaterMark', true) : null
  if (readableHighWaterMark === 0) {
    // A Duplex will buffer both on the writable and readable side while
    // a Transform just wants to buffer hwm number of elements. To avoid
    // buffering twice we disable buffering on the writable side.
    options = {
      ...options,
      highWaterMark: null,
      readableHighWaterMark,
      // TODO (ronag): 0 is not optimal since we have
      // a "bug" where we check needDrain before calling _write and not after.
      // Refs: https://github.com/nodejs/node/pull/32887
      // Refs: https://github.com/nodejs/node/pull/35941
      writableHighWaterMark: options.writableHighWaterMark || 0
    }
  }
  Duplex.call(this, options)

  // We have implemented the _read method, and done the other things
  // that Readable wants before the first _read call, so unset the
  // sync guard flag.
  this._readableState.sync = false
  this[kCallback] = null
  if (options) {
    if (typeof options.transform === 'function') this._transform = options.transform
    if (typeof options.flush === 'function') this._flush = options.flush
  }

  // When the writable side finishes, then flush out anything remaining.
  // Backwards compat. Some Transform streams incorrectly implement _final
  // instead of or in addition to _flush. By using 'prefinish' instead of
  // implementing _final we continue supporting this unfortunate use case.
  this.on('prefinish', prefinish)
}
function final(cb) {
  if (typeof this._flush === 'function' && !this.destroyed) {
    this._flush((er, data) => {
      if (er) {
        if (cb) {
          cb(er)
        } else {
          this.destroy(er)
        }
        return
      }
      if (data != null) {
        this.push(data)
      }
      this.push(null)
      if (cb) {
        cb()
      }
    })
  } else {
    this.push(null)
    if (cb) {
      cb()
    }
  }
}
function prefinish() {
  if (this._final !== final) {
    final.call(this)
  }
}
Transform.prototype._final = final
Transform.prototype._transform = function (chunk, encoding, callback) {
  throw new ERR_METHOD_NOT_IMPLEMENTED('_transform()')
}
Transform.prototype._write = function (chunk, encoding, callback) {
  const rState = this._readableState
  const wState = this._writableState
  const length = rState.length
  this._transform(chunk, encoding, (err, val) => {
    if (err) {
      callback(err)
      return
    }
    if (val != null) {
      this.push(val)
    }
    if (
      wState.ended ||
      // Backwards compat.
      length === rState.length ||
      // Backwards compat.
      rState.length < rState.highWaterMark
    ) {
      callback()
    } else {
      this[kCallback] = callback
    }
  })
}
Transform.prototype._read = function () {
  if (this[kCallback]) {
    const callback = this[kCallback]
    this[kCallback] = null
    callback()
  }
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js ***!
  \*************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { SymbolAsyncIterator, SymbolIterator, SymbolFor } = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")

// We need to use SymbolFor to make these globally available
// for interopt with readable-stream, i.e. readable-stream
// and node core needs to be able to read/write private state
// from each other for proper interoperability.
const kIsDestroyed = SymbolFor('nodejs.stream.destroyed')
const kIsErrored = SymbolFor('nodejs.stream.errored')
const kIsReadable = SymbolFor('nodejs.stream.readable')
const kIsWritable = SymbolFor('nodejs.stream.writable')
const kIsDisturbed = SymbolFor('nodejs.stream.disturbed')
const kIsClosedPromise = SymbolFor('nodejs.webstream.isClosedPromise')
const kControllerErrorFunction = SymbolFor('nodejs.webstream.controllerErrorFunction')
function isReadableNodeStream(obj, strict = false) {
  var _obj$_readableState
  return !!(
    (
      obj &&
      typeof obj.pipe === 'function' &&
      typeof obj.on === 'function' &&
      (!strict || (typeof obj.pause === 'function' && typeof obj.resume === 'function')) &&
      (!obj._writableState ||
        ((_obj$_readableState = obj._readableState) === null || _obj$_readableState === undefined
          ? undefined
          : _obj$_readableState.readable) !== false) &&
      // Duplex
      (!obj._writableState || obj._readableState)
    ) // Writable has .pipe.
  )
}
function isWritableNodeStream(obj) {
  var _obj$_writableState
  return !!(
    (
      obj &&
      typeof obj.write === 'function' &&
      typeof obj.on === 'function' &&
      (!obj._readableState ||
        ((_obj$_writableState = obj._writableState) === null || _obj$_writableState === undefined
          ? undefined
          : _obj$_writableState.writable) !== false)
    ) // Duplex
  )
}
function isDuplexNodeStream(obj) {
  return !!(
    obj &&
    typeof obj.pipe === 'function' &&
    obj._readableState &&
    typeof obj.on === 'function' &&
    typeof obj.write === 'function'
  )
}
function isNodeStream(obj) {
  return (
    obj &&
    (obj._readableState ||
      obj._writableState ||
      (typeof obj.write === 'function' && typeof obj.on === 'function') ||
      (typeof obj.pipe === 'function' && typeof obj.on === 'function'))
  )
}
function isReadableStream(obj) {
  return !!(
    obj &&
    !isNodeStream(obj) &&
    typeof obj.pipeThrough === 'function' &&
    typeof obj.getReader === 'function' &&
    typeof obj.cancel === 'function'
  )
}
function isWritableStream(obj) {
  return !!(obj && !isNodeStream(obj) && typeof obj.getWriter === 'function' && typeof obj.abort === 'function')
}
function isTransformStream(obj) {
  return !!(obj && !isNodeStream(obj) && typeof obj.readable === 'object' && typeof obj.writable === 'object')
}
function isWebStream(obj) {
  return isReadableStream(obj) || isWritableStream(obj) || isTransformStream(obj)
}
function isIterable(obj, isAsync) {
  if (obj == null) return false
  if (isAsync === true) return typeof obj[SymbolAsyncIterator] === 'function'
  if (isAsync === false) return typeof obj[SymbolIterator] === 'function'
  return typeof obj[SymbolAsyncIterator] === 'function' || typeof obj[SymbolIterator] === 'function'
}
function isDestroyed(stream) {
  if (!isNodeStream(stream)) return null
  const wState = stream._writableState
  const rState = stream._readableState
  const state = wState || rState
  return !!(stream.destroyed || stream[kIsDestroyed] || (state !== null && state !== undefined && state.destroyed))
}

// Have been end():d.
function isWritableEnded(stream) {
  if (!isWritableNodeStream(stream)) return null
  if (stream.writableEnded === true) return true
  const wState = stream._writableState
  if (wState !== null && wState !== undefined && wState.errored) return false
  if (typeof (wState === null || wState === undefined ? undefined : wState.ended) !== 'boolean') return null
  return wState.ended
}

// Have emitted 'finish'.
function isWritableFinished(stream, strict) {
  if (!isWritableNodeStream(stream)) return null
  if (stream.writableFinished === true) return true
  const wState = stream._writableState
  if (wState !== null && wState !== undefined && wState.errored) return false
  if (typeof (wState === null || wState === undefined ? undefined : wState.finished) !== 'boolean') return null
  return !!(wState.finished || (strict === false && wState.ended === true && wState.length === 0))
}

// Have been push(null):d.
function isReadableEnded(stream) {
  if (!isReadableNodeStream(stream)) return null
  if (stream.readableEnded === true) return true
  const rState = stream._readableState
  if (!rState || rState.errored) return false
  if (typeof (rState === null || rState === undefined ? undefined : rState.ended) !== 'boolean') return null
  return rState.ended
}

// Have emitted 'end'.
function isReadableFinished(stream, strict) {
  if (!isReadableNodeStream(stream)) return null
  const rState = stream._readableState
  if (rState !== null && rState !== undefined && rState.errored) return false
  if (typeof (rState === null || rState === undefined ? undefined : rState.endEmitted) !== 'boolean') return null
  return !!(rState.endEmitted || (strict === false && rState.ended === true && rState.length === 0))
}
function isReadable(stream) {
  if (stream && stream[kIsReadable] != null) return stream[kIsReadable]
  if (typeof (stream === null || stream === undefined ? undefined : stream.readable) !== 'boolean') return null
  if (isDestroyed(stream)) return false
  return isReadableNodeStream(stream) && stream.readable && !isReadableFinished(stream)
}
function isWritable(stream) {
  if (stream && stream[kIsWritable] != null) return stream[kIsWritable]
  if (typeof (stream === null || stream === undefined ? undefined : stream.writable) !== 'boolean') return null
  if (isDestroyed(stream)) return false
  return isWritableNodeStream(stream) && stream.writable && !isWritableEnded(stream)
}
function isFinished(stream, opts) {
  if (!isNodeStream(stream)) {
    return null
  }
  if (isDestroyed(stream)) {
    return true
  }
  if ((opts === null || opts === undefined ? undefined : opts.readable) !== false && isReadable(stream)) {
    return false
  }
  if ((opts === null || opts === undefined ? undefined : opts.writable) !== false && isWritable(stream)) {
    return false
  }
  return true
}
function isWritableErrored(stream) {
  var _stream$_writableStat, _stream$_writableStat2
  if (!isNodeStream(stream)) {
    return null
  }
  if (stream.writableErrored) {
    return stream.writableErrored
  }
  return (_stream$_writableStat =
    (_stream$_writableStat2 = stream._writableState) === null || _stream$_writableStat2 === undefined
      ? undefined
      : _stream$_writableStat2.errored) !== null && _stream$_writableStat !== undefined
    ? _stream$_writableStat
    : null
}
function isReadableErrored(stream) {
  var _stream$_readableStat, _stream$_readableStat2
  if (!isNodeStream(stream)) {
    return null
  }
  if (stream.readableErrored) {
    return stream.readableErrored
  }
  return (_stream$_readableStat =
    (_stream$_readableStat2 = stream._readableState) === null || _stream$_readableStat2 === undefined
      ? undefined
      : _stream$_readableStat2.errored) !== null && _stream$_readableStat !== undefined
    ? _stream$_readableStat
    : null
}
function isClosed(stream) {
  if (!isNodeStream(stream)) {
    return null
  }
  if (typeof stream.closed === 'boolean') {
    return stream.closed
  }
  const wState = stream._writableState
  const rState = stream._readableState
  if (
    typeof (wState === null || wState === undefined ? undefined : wState.closed) === 'boolean' ||
    typeof (rState === null || rState === undefined ? undefined : rState.closed) === 'boolean'
  ) {
    return (
      (wState === null || wState === undefined ? undefined : wState.closed) ||
      (rState === null || rState === undefined ? undefined : rState.closed)
    )
  }
  if (typeof stream._closed === 'boolean' && isOutgoingMessage(stream)) {
    return stream._closed
  }
  return null
}
function isOutgoingMessage(stream) {
  return (
    typeof stream._closed === 'boolean' &&
    typeof stream._defaultKeepAlive === 'boolean' &&
    typeof stream._removedConnection === 'boolean' &&
    typeof stream._removedContLen === 'boolean'
  )
}
function isServerResponse(stream) {
  return typeof stream._sent100 === 'boolean' && isOutgoingMessage(stream)
}
function isServerRequest(stream) {
  var _stream$req
  return (
    typeof stream._consuming === 'boolean' &&
    typeof stream._dumped === 'boolean' &&
    ((_stream$req = stream.req) === null || _stream$req === undefined ? undefined : _stream$req.upgradeOrConnect) ===
      undefined
  )
}
function willEmitClose(stream) {
  if (!isNodeStream(stream)) return null
  const wState = stream._writableState
  const rState = stream._readableState
  const state = wState || rState
  return (
    (!state && isServerResponse(stream)) || !!(state && state.autoDestroy && state.emitClose && state.closed === false)
  )
}
function isDisturbed(stream) {
  var _stream$kIsDisturbed
  return !!(
    stream &&
    ((_stream$kIsDisturbed = stream[kIsDisturbed]) !== null && _stream$kIsDisturbed !== undefined
      ? _stream$kIsDisturbed
      : stream.readableDidRead || stream.readableAborted)
  )
}
function isErrored(stream) {
  var _ref,
    _ref2,
    _ref3,
    _ref4,
    _ref5,
    _stream$kIsErrored,
    _stream$_readableStat3,
    _stream$_writableStat3,
    _stream$_readableStat4,
    _stream$_writableStat4
  return !!(
    stream &&
    ((_ref =
      (_ref2 =
        (_ref3 =
          (_ref4 =
            (_ref5 =
              (_stream$kIsErrored = stream[kIsErrored]) !== null && _stream$kIsErrored !== undefined
                ? _stream$kIsErrored
                : stream.readableErrored) !== null && _ref5 !== undefined
              ? _ref5
              : stream.writableErrored) !== null && _ref4 !== undefined
            ? _ref4
            : (_stream$_readableStat3 = stream._readableState) === null || _stream$_readableStat3 === undefined
            ? undefined
            : _stream$_readableStat3.errorEmitted) !== null && _ref3 !== undefined
          ? _ref3
          : (_stream$_writableStat3 = stream._writableState) === null || _stream$_writableStat3 === undefined
          ? undefined
          : _stream$_writableStat3.errorEmitted) !== null && _ref2 !== undefined
        ? _ref2
        : (_stream$_readableStat4 = stream._readableState) === null || _stream$_readableStat4 === undefined
        ? undefined
        : _stream$_readableStat4.errored) !== null && _ref !== undefined
      ? _ref
      : (_stream$_writableStat4 = stream._writableState) === null || _stream$_writableStat4 === undefined
      ? undefined
      : _stream$_writableStat4.errored)
  )
}
module.exports = {
  isDestroyed,
  kIsDestroyed,
  isDisturbed,
  kIsDisturbed,
  isErrored,
  kIsErrored,
  isReadable,
  kIsReadable,
  kIsClosedPromise,
  kControllerErrorFunction,
  kIsWritable,
  isClosed,
  isDuplexNodeStream,
  isFinished,
  isIterable,
  isReadableNodeStream,
  isReadableStream,
  isReadableEnded,
  isReadableFinished,
  isReadableErrored,
  isNodeStream,
  isWebStream,
  isWritable,
  isWritableNodeStream,
  isWritableStream,
  isWritableEnded,
  isWritableFinished,
  isWritableErrored,
  isServerRequest,
  isServerResponse,
  willEmitClose,
  isTransformStream
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/writable.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/writable.js ***!
  \****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// A bit simpler than readable streams.
// Implement an async ._write(chunk, encoding, cb), and it'll handle all
// the drain event emission and buffering.



/* replacement start */

const process = __webpack_require__(/*! process/ */ "./node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js")

/* replacement end */

const {
  ArrayPrototypeSlice,
  Error,
  FunctionPrototypeSymbolHasInstance,
  ObjectDefineProperty,
  ObjectDefineProperties,
  ObjectSetPrototypeOf,
  StringPrototypeToLowerCase,
  Symbol,
  SymbolHasInstance
} = __webpack_require__(/*! ../../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
module.exports = Writable
Writable.WritableState = WritableState
const { EventEmitter: EE } = __webpack_require__(/*! events */ "./node_modules/.pnpm/events@3.3.0/node_modules/events/events.js")
const Stream = (__webpack_require__(/*! ./legacy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/legacy.js").Stream)
const { Buffer } = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")
const destroyImpl = __webpack_require__(/*! ./destroy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js")
const { addAbortSignal } = __webpack_require__(/*! ./add-abort-signal */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js")
const { getHighWaterMark, getDefaultHighWaterMark } = __webpack_require__(/*! ./state */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/state.js")
const {
  ERR_INVALID_ARG_TYPE,
  ERR_METHOD_NOT_IMPLEMENTED,
  ERR_MULTIPLE_CALLBACK,
  ERR_STREAM_CANNOT_PIPE,
  ERR_STREAM_DESTROYED,
  ERR_STREAM_ALREADY_FINISHED,
  ERR_STREAM_NULL_VALUES,
  ERR_STREAM_WRITE_AFTER_END,
  ERR_UNKNOWN_ENCODING
} = (__webpack_require__(/*! ../../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js").codes)
const { errorOrDestroy } = destroyImpl
ObjectSetPrototypeOf(Writable.prototype, Stream.prototype)
ObjectSetPrototypeOf(Writable, Stream)
function nop() {}
const kOnFinished = Symbol('kOnFinished')
function WritableState(options, stream, isDuplex) {
  // Duplex streams are both readable and writable, but share
  // the same options object.
  // However, some cases require setting options to different
  // values for the readable and the writable sides of the duplex stream,
  // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.
  if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")

  // Object stream flag to indicate whether or not this stream
  // contains buffers or objects.
  this.objectMode = !!(options && options.objectMode)
  if (isDuplex) this.objectMode = this.objectMode || !!(options && options.writableObjectMode)

  // The point at which write() starts returning false
  // Note: 0 is a valid value, means that we always return false if
  // the entire buffer is not flushed immediately on write().
  this.highWaterMark = options
    ? getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex)
    : getDefaultHighWaterMark(false)

  // if _final has been called.
  this.finalCalled = false

  // drain event flag.
  this.needDrain = false
  // At the start of calling end()
  this.ending = false
  // When end() has been called, and returned.
  this.ended = false
  // When 'finish' is emitted.
  this.finished = false

  // Has it been destroyed
  this.destroyed = false

  // Should we decode strings into buffers before passing to _write?
  // this is here so that some node-core streams can optimize string
  // handling at a lower level.
  const noDecode = !!(options && options.decodeStrings === false)
  this.decodeStrings = !noDecode

  // Crypto is kind of old and crusty.  Historically, its default string
  // encoding is 'binary' so we have to make this configurable.
  // Everything else in the universe uses 'utf8', though.
  this.defaultEncoding = (options && options.defaultEncoding) || 'utf8'

  // Not an actual buffer we keep track of, but a measurement
  // of how much we're waiting to get pushed to some underlying
  // socket or file.
  this.length = 0

  // A flag to see when we're in the middle of a write.
  this.writing = false

  // When true all writes will be buffered until .uncork() call.
  this.corked = 0

  // A flag to be able to tell if the onwrite cb is called immediately,
  // or on a later tick.  We set this to true at first, because any
  // actions that shouldn't happen until "later" should generally also
  // not happen before the first write call.
  this.sync = true

  // A flag to know if we're processing previously buffered items, which
  // may call the _write() callback in the same tick, so that we don't
  // end up in an overlapped onwrite situation.
  this.bufferProcessing = false

  // The callback that's passed to _write(chunk, cb).
  this.onwrite = onwrite.bind(undefined, stream)

  // The callback that the user supplies to write(chunk, encoding, cb).
  this.writecb = null

  // The amount that is being written when _write is called.
  this.writelen = 0

  // Storage for data passed to the afterWrite() callback in case of
  // synchronous _write() completion.
  this.afterWriteTickInfo = null
  resetBuffer(this)

  // Number of pending user-supplied write callbacks
  // this must be 0 before 'finish' can be emitted.
  this.pendingcb = 0

  // Stream is still being constructed and cannot be
  // destroyed until construction finished or failed.
  // Async construction is opt in, therefore we start as
  // constructed.
  this.constructed = true

  // Emit prefinish if the only thing we're waiting for is _write cbs
  // This is relevant for synchronous Transform streams.
  this.prefinished = false

  // True if the error was already emitted and should not be thrown again.
  this.errorEmitted = false

  // Should close be emitted on destroy. Defaults to true.
  this.emitClose = !options || options.emitClose !== false

  // Should .destroy() be called after 'finish' (and potentially 'end').
  this.autoDestroy = !options || options.autoDestroy !== false

  // Indicates whether the stream has errored. When true all write() calls
  // should return false. This is needed since when autoDestroy
  // is disabled we need a way to tell whether the stream has failed.
  this.errored = null

  // Indicates whether the stream has finished destroying.
  this.closed = false

  // True if close has been emitted or would have been emitted
  // depending on emitClose.
  this.closeEmitted = false
  this[kOnFinished] = []
}
function resetBuffer(state) {
  state.buffered = []
  state.bufferedIndex = 0
  state.allBuffers = true
  state.allNoop = true
}
WritableState.prototype.getBuffer = function getBuffer() {
  return ArrayPrototypeSlice(this.buffered, this.bufferedIndex)
}
ObjectDefineProperty(WritableState.prototype, 'bufferedRequestCount', {
  __proto__: null,
  get() {
    return this.buffered.length - this.bufferedIndex
  }
})
function Writable(options) {
  // Writable ctor is applied to Duplexes, too.
  // `realHasInstance` is necessary because using plain `instanceof`
  // would return false, as no `_writableState` property is attached.

  // Trying to use the custom `instanceof` for Writable here will also break the
  // Node.js LazyTransform implementation, which has a non-trivial getter for
  // `_writableState` that would lead to infinite recursion.

  // Checking for a Stream.Duplex instance is faster here instead of inside
  // the WritableState constructor, at least with V8 6.5.
  const isDuplex = this instanceof __webpack_require__(/*! ./duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")
  if (!isDuplex && !FunctionPrototypeSymbolHasInstance(Writable, this)) return new Writable(options)
  this._writableState = new WritableState(options, this, isDuplex)
  if (options) {
    if (typeof options.write === 'function') this._write = options.write
    if (typeof options.writev === 'function') this._writev = options.writev
    if (typeof options.destroy === 'function') this._destroy = options.destroy
    if (typeof options.final === 'function') this._final = options.final
    if (typeof options.construct === 'function') this._construct = options.construct
    if (options.signal) addAbortSignal(options.signal, this)
  }
  Stream.call(this, options)
  destroyImpl.construct(this, () => {
    const state = this._writableState
    if (!state.writing) {
      clearBuffer(this, state)
    }
    finishMaybe(this, state)
  })
}
ObjectDefineProperty(Writable, SymbolHasInstance, {
  __proto__: null,
  value: function (object) {
    if (FunctionPrototypeSymbolHasInstance(this, object)) return true
    if (this !== Writable) return false
    return object && object._writableState instanceof WritableState
  }
})

// Otherwise people can pipe Writable streams, which is just wrong.
Writable.prototype.pipe = function () {
  errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE())
}
function _write(stream, chunk, encoding, cb) {
  const state = stream._writableState
  if (typeof encoding === 'function') {
    cb = encoding
    encoding = state.defaultEncoding
  } else {
    if (!encoding) encoding = state.defaultEncoding
    else if (encoding !== 'buffer' && !Buffer.isEncoding(encoding)) throw new ERR_UNKNOWN_ENCODING(encoding)
    if (typeof cb !== 'function') cb = nop
  }
  if (chunk === null) {
    throw new ERR_STREAM_NULL_VALUES()
  } else if (!state.objectMode) {
    if (typeof chunk === 'string') {
      if (state.decodeStrings !== false) {
        chunk = Buffer.from(chunk, encoding)
        encoding = 'buffer'
      }
    } else if (chunk instanceof Buffer) {
      encoding = 'buffer'
    } else if (Stream._isUint8Array(chunk)) {
      chunk = Stream._uint8ArrayToBuffer(chunk)
      encoding = 'buffer'
    } else {
      throw new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk)
    }
  }
  let err
  if (state.ending) {
    err = new ERR_STREAM_WRITE_AFTER_END()
  } else if (state.destroyed) {
    err = new ERR_STREAM_DESTROYED('write')
  }
  if (err) {
    process.nextTick(cb, err)
    errorOrDestroy(stream, err, true)
    return err
  }
  state.pendingcb++
  return writeOrBuffer(stream, state, chunk, encoding, cb)
}
Writable.prototype.write = function (chunk, encoding, cb) {
  return _write(this, chunk, encoding, cb) === true
}
Writable.prototype.cork = function () {
  this._writableState.corked++
}
Writable.prototype.uncork = function () {
  const state = this._writableState
  if (state.corked) {
    state.corked--
    if (!state.writing) clearBuffer(this, state)
  }
}
Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {
  // node::ParseEncoding() requires lower case.
  if (typeof encoding === 'string') encoding = StringPrototypeToLowerCase(encoding)
  if (!Buffer.isEncoding(encoding)) throw new ERR_UNKNOWN_ENCODING(encoding)
  this._writableState.defaultEncoding = encoding
  return this
}

// If we're already writing something, then just put this
// in the queue, and wait our turn.  Otherwise, call _write
// If we return false, then we need a drain event, so set that flag.
function writeOrBuffer(stream, state, chunk, encoding, callback) {
  const len = state.objectMode ? 1 : chunk.length
  state.length += len

  // stream._write resets state.length
  const ret = state.length < state.highWaterMark
  // We must ensure that previous needDrain will not be reset to false.
  if (!ret) state.needDrain = true
  if (state.writing || state.corked || state.errored || !state.constructed) {
    state.buffered.push({
      chunk,
      encoding,
      callback
    })
    if (state.allBuffers && encoding !== 'buffer') {
      state.allBuffers = false
    }
    if (state.allNoop && callback !== nop) {
      state.allNoop = false
    }
  } else {
    state.writelen = len
    state.writecb = callback
    state.writing = true
    state.sync = true
    stream._write(chunk, encoding, state.onwrite)
    state.sync = false
  }

  // Return false if errored or destroyed in order to break
  // any synchronous while(stream.write(data)) loops.
  return ret && !state.errored && !state.destroyed
}
function doWrite(stream, state, writev, len, chunk, encoding, cb) {
  state.writelen = len
  state.writecb = cb
  state.writing = true
  state.sync = true
  if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'))
  else if (writev) stream._writev(chunk, state.onwrite)
  else stream._write(chunk, encoding, state.onwrite)
  state.sync = false
}
function onwriteError(stream, state, er, cb) {
  --state.pendingcb
  cb(er)
  // Ensure callbacks are invoked even when autoDestroy is
  // not enabled. Passing `er` here doesn't make sense since
  // it's related to one specific write, not to the buffered
  // writes.
  errorBuffer(state)
  // This can emit error, but error must always follow cb.
  errorOrDestroy(stream, er)
}
function onwrite(stream, er) {
  const state = stream._writableState
  const sync = state.sync
  const cb = state.writecb
  if (typeof cb !== 'function') {
    errorOrDestroy(stream, new ERR_MULTIPLE_CALLBACK())
    return
  }
  state.writing = false
  state.writecb = null
  state.length -= state.writelen
  state.writelen = 0
  if (er) {
    // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364
    er.stack // eslint-disable-line no-unused-expressions

    if (!state.errored) {
      state.errored = er
    }

    // In case of duplex streams we need to notify the readable side of the
    // error.
    if (stream._readableState && !stream._readableState.errored) {
      stream._readableState.errored = er
    }
    if (sync) {
      process.nextTick(onwriteError, stream, state, er, cb)
    } else {
      onwriteError(stream, state, er, cb)
    }
  } else {
    if (state.buffered.length > state.bufferedIndex) {
      clearBuffer(stream, state)
    }
    if (sync) {
      // It is a common case that the callback passed to .write() is always
      // the same. In that case, we do not schedule a new nextTick(), but
      // rather just increase a counter, to improve performance and avoid
      // memory allocations.
      if (state.afterWriteTickInfo !== null && state.afterWriteTickInfo.cb === cb) {
        state.afterWriteTickInfo.count++
      } else {
        state.afterWriteTickInfo = {
          count: 1,
          cb,
          stream,
          state
        }
        process.nextTick(afterWriteTick, state.afterWriteTickInfo)
      }
    } else {
      afterWrite(stream, state, 1, cb)
    }
  }
}
function afterWriteTick({ stream, state, count, cb }) {
  state.afterWriteTickInfo = null
  return afterWrite(stream, state, count, cb)
}
function afterWrite(stream, state, count, cb) {
  const needDrain = !state.ending && !stream.destroyed && state.length === 0 && state.needDrain
  if (needDrain) {
    state.needDrain = false
    stream.emit('drain')
  }
  while (count-- > 0) {
    state.pendingcb--
    cb()
  }
  if (state.destroyed) {
    errorBuffer(state)
  }
  finishMaybe(stream, state)
}

// If there's something in the buffer waiting, then invoke callbacks.
function errorBuffer(state) {
  if (state.writing) {
    return
  }
  for (let n = state.bufferedIndex; n < state.buffered.length; ++n) {
    var _state$errored
    const { chunk, callback } = state.buffered[n]
    const len = state.objectMode ? 1 : chunk.length
    state.length -= len
    callback(
      (_state$errored = state.errored) !== null && _state$errored !== undefined
        ? _state$errored
        : new ERR_STREAM_DESTROYED('write')
    )
  }
  const onfinishCallbacks = state[kOnFinished].splice(0)
  for (let i = 0; i < onfinishCallbacks.length; i++) {
    var _state$errored2
    onfinishCallbacks[i](
      (_state$errored2 = state.errored) !== null && _state$errored2 !== undefined
        ? _state$errored2
        : new ERR_STREAM_DESTROYED('end')
    )
  }
  resetBuffer(state)
}

// If there's something in the buffer waiting, then process it.
function clearBuffer(stream, state) {
  if (state.corked || state.bufferProcessing || state.destroyed || !state.constructed) {
    return
  }
  const { buffered, bufferedIndex, objectMode } = state
  const bufferedLength = buffered.length - bufferedIndex
  if (!bufferedLength) {
    return
  }
  let i = bufferedIndex
  state.bufferProcessing = true
  if (bufferedLength > 1 && stream._writev) {
    state.pendingcb -= bufferedLength - 1
    const callback = state.allNoop
      ? nop
      : (err) => {
          for (let n = i; n < buffered.length; ++n) {
            buffered[n].callback(err)
          }
        }
    // Make a copy of `buffered` if it's going to be used by `callback` above,
    // since `doWrite` will mutate the array.
    const chunks = state.allNoop && i === 0 ? buffered : ArrayPrototypeSlice(buffered, i)
    chunks.allBuffers = state.allBuffers
    doWrite(stream, state, true, state.length, chunks, '', callback)
    resetBuffer(state)
  } else {
    do {
      const { chunk, encoding, callback } = buffered[i]
      buffered[i++] = null
      const len = objectMode ? 1 : chunk.length
      doWrite(stream, state, false, len, chunk, encoding, callback)
    } while (i < buffered.length && !state.writing)
    if (i === buffered.length) {
      resetBuffer(state)
    } else if (i > 256) {
      buffered.splice(0, i)
      state.bufferedIndex = 0
    } else {
      state.bufferedIndex = i
    }
  }
  state.bufferProcessing = false
}
Writable.prototype._write = function (chunk, encoding, cb) {
  if (this._writev) {
    this._writev(
      [
        {
          chunk,
          encoding
        }
      ],
      cb
    )
  } else {
    throw new ERR_METHOD_NOT_IMPLEMENTED('_write()')
  }
}
Writable.prototype._writev = null
Writable.prototype.end = function (chunk, encoding, cb) {
  const state = this._writableState
  if (typeof chunk === 'function') {
    cb = chunk
    chunk = null
    encoding = null
  } else if (typeof encoding === 'function') {
    cb = encoding
    encoding = null
  }
  let err
  if (chunk !== null && chunk !== undefined) {
    const ret = _write(this, chunk, encoding)
    if (ret instanceof Error) {
      err = ret
    }
  }

  // .end() fully uncorks.
  if (state.corked) {
    state.corked = 1
    this.uncork()
  }
  if (err) {
    // Do nothing...
  } else if (!state.errored && !state.ending) {
    // This is forgiving in terms of unnecessary calls to end() and can hide
    // logic errors. However, usually such errors are harmless and causing a
    // hard error can be disproportionately destructive. It is not always
    // trivial for the user to determine whether end() needs to be called
    // or not.

    state.ending = true
    finishMaybe(this, state, true)
    state.ended = true
  } else if (state.finished) {
    err = new ERR_STREAM_ALREADY_FINISHED('end')
  } else if (state.destroyed) {
    err = new ERR_STREAM_DESTROYED('end')
  }
  if (typeof cb === 'function') {
    if (err || state.finished) {
      process.nextTick(cb, err)
    } else {
      state[kOnFinished].push(cb)
    }
  }
  return this
}
function needFinish(state) {
  return (
    state.ending &&
    !state.destroyed &&
    state.constructed &&
    state.length === 0 &&
    !state.errored &&
    state.buffered.length === 0 &&
    !state.finished &&
    !state.writing &&
    !state.errorEmitted &&
    !state.closeEmitted
  )
}
function callFinal(stream, state) {
  let called = false
  function onFinish(err) {
    if (called) {
      errorOrDestroy(stream, err !== null && err !== undefined ? err : ERR_MULTIPLE_CALLBACK())
      return
    }
    called = true
    state.pendingcb--
    if (err) {
      const onfinishCallbacks = state[kOnFinished].splice(0)
      for (let i = 0; i < onfinishCallbacks.length; i++) {
        onfinishCallbacks[i](err)
      }
      errorOrDestroy(stream, err, state.sync)
    } else if (needFinish(state)) {
      state.prefinished = true
      stream.emit('prefinish')
      // Backwards compat. Don't check state.sync here.
      // Some streams assume 'finish' will be emitted
      // asynchronously relative to _final callback.
      state.pendingcb++
      process.nextTick(finish, stream, state)
    }
  }
  state.sync = true
  state.pendingcb++
  try {
    stream._final(onFinish)
  } catch (err) {
    onFinish(err)
  }
  state.sync = false
}
function prefinish(stream, state) {
  if (!state.prefinished && !state.finalCalled) {
    if (typeof stream._final === 'function' && !state.destroyed) {
      state.finalCalled = true
      callFinal(stream, state)
    } else {
      state.prefinished = true
      stream.emit('prefinish')
    }
  }
}
function finishMaybe(stream, state, sync) {
  if (needFinish(state)) {
    prefinish(stream, state)
    if (state.pendingcb === 0) {
      if (sync) {
        state.pendingcb++
        process.nextTick(
          (stream, state) => {
            if (needFinish(state)) {
              finish(stream, state)
            } else {
              state.pendingcb--
            }
          },
          stream,
          state
        )
      } else if (needFinish(state)) {
        state.pendingcb++
        finish(stream, state)
      }
    }
  }
}
function finish(stream, state) {
  state.pendingcb--
  state.finished = true
  const onfinishCallbacks = state[kOnFinished].splice(0)
  for (let i = 0; i < onfinishCallbacks.length; i++) {
    onfinishCallbacks[i]()
  }
  stream.emit('finish')
  if (state.autoDestroy) {
    // In case of duplex streams we need a way to detect
    // if the readable side is ready for autoDestroy as well.
    const rState = stream._readableState
    const autoDestroy =
      !rState ||
      (rState.autoDestroy &&
        // We don't expect the readable to ever 'end'
        // if readable is explicitly set to false.
        (rState.endEmitted || rState.readable === false))
    if (autoDestroy) {
      stream.destroy()
    }
  }
}
ObjectDefineProperties(Writable.prototype, {
  closed: {
    __proto__: null,
    get() {
      return this._writableState ? this._writableState.closed : false
    }
  },
  destroyed: {
    __proto__: null,
    get() {
      return this._writableState ? this._writableState.destroyed : false
    },
    set(value) {
      // Backward compatibility, the user is explicitly managing destroyed.
      if (this._writableState) {
        this._writableState.destroyed = value
      }
    }
  },
  writable: {
    __proto__: null,
    get() {
      const w = this._writableState
      // w.writable === false means that this is part of a Duplex stream
      // where the writable side was disabled upon construction.
      // Compat. The user might manually disable writable side through
      // deprecated setter.
      return !!w && w.writable !== false && !w.destroyed && !w.errored && !w.ending && !w.ended
    },
    set(val) {
      // Backwards compatible.
      if (this._writableState) {
        this._writableState.writable = !!val
      }
    }
  },
  writableFinished: {
    __proto__: null,
    get() {
      return this._writableState ? this._writableState.finished : false
    }
  },
  writableObjectMode: {
    __proto__: null,
    get() {
      return this._writableState ? this._writableState.objectMode : false
    }
  },
  writableBuffer: {
    __proto__: null,
    get() {
      return this._writableState && this._writableState.getBuffer()
    }
  },
  writableEnded: {
    __proto__: null,
    get() {
      return this._writableState ? this._writableState.ending : false
    }
  },
  writableNeedDrain: {
    __proto__: null,
    get() {
      const wState = this._writableState
      if (!wState) return false
      return !wState.destroyed && !wState.ending && wState.needDrain
    }
  },
  writableHighWaterMark: {
    __proto__: null,
    get() {
      return this._writableState && this._writableState.highWaterMark
    }
  },
  writableCorked: {
    __proto__: null,
    get() {
      return this._writableState ? this._writableState.corked : 0
    }
  },
  writableLength: {
    __proto__: null,
    get() {
      return this._writableState && this._writableState.length
    }
  },
  errored: {
    __proto__: null,
    enumerable: false,
    get() {
      return this._writableState ? this._writableState.errored : null
    }
  },
  writableAborted: {
    __proto__: null,
    enumerable: false,
    get: function () {
      return !!(
        this._writableState.writable !== false &&
        (this._writableState.destroyed || this._writableState.errored) &&
        !this._writableState.finished
      )
    }
  }
})
const destroy = destroyImpl.destroy
Writable.prototype.destroy = function (err, cb) {
  const state = this._writableState

  // Invoke pending callbacks.
  if (!state.destroyed && (state.bufferedIndex < state.buffered.length || state[kOnFinished].length)) {
    process.nextTick(errorBuffer, state)
  }
  destroy.call(this, err, cb)
  return this
}
Writable.prototype._undestroy = destroyImpl.undestroy
Writable.prototype._destroy = function (err, cb) {
  cb(err)
}
Writable.prototype[EE.captureRejectionSymbol] = function (err) {
  this.destroy(err)
}
let webStreamsAdapters

// Lazy to avoid circular references
function lazyWebStreams() {
  if (webStreamsAdapters === undefined) webStreamsAdapters = {}
  return webStreamsAdapters
}
Writable.fromWeb = function (writableStream, options) {
  return lazyWebStreams().newStreamWritableFromWritableStream(writableStream, options)
}
Writable.toWeb = function (streamWritable) {
  return lazyWebStreams().newWritableStreamFromStreamWritable(streamWritable)
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/validators.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/validators.js ***!
  \**********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
/* eslint jsdoc/require-jsdoc: "error" */



const {
  ArrayIsArray,
  ArrayPrototypeIncludes,
  ArrayPrototypeJoin,
  ArrayPrototypeMap,
  NumberIsInteger,
  NumberIsNaN,
  NumberMAX_SAFE_INTEGER,
  NumberMIN_SAFE_INTEGER,
  NumberParseInt,
  ObjectPrototypeHasOwnProperty,
  RegExpPrototypeExec,
  String,
  StringPrototypeToUpperCase,
  StringPrototypeTrim
} = __webpack_require__(/*! ../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const {
  hideStackFrames,
  codes: { ERR_SOCKET_BAD_PORT, ERR_INVALID_ARG_TYPE, ERR_INVALID_ARG_VALUE, ERR_OUT_OF_RANGE, ERR_UNKNOWN_SIGNAL }
} = __webpack_require__(/*! ../ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { normalizeEncoding } = __webpack_require__(/*! ../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js")
const { isAsyncFunction, isArrayBufferView } = (__webpack_require__(/*! ../ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js").types)
const signals = {}

/**
 * @param {*} value
 * @returns {boolean}
 */
function isInt32(value) {
  return value === (value | 0)
}

/**
 * @param {*} value
 * @returns {boolean}
 */
function isUint32(value) {
  return value === value >>> 0
}
const octalReg = /^[0-7]+$/
const modeDesc = 'must be a 32-bit unsigned integer or an octal string'

/**
 * Parse and validate values that will be converted into mode_t (the S_*
 * constants). Only valid numbers and octal strings are allowed. They could be
 * converted to 32-bit unsigned integers or non-negative signed integers in the
 * C++ land, but any value higher than 0o777 will result in platform-specific
 * behaviors.
 * @param {*} value Values to be validated
 * @param {string} name Name of the argument
 * @param {number} [def] If specified, will be returned for invalid values
 * @returns {number}
 */
function parseFileMode(value, name, def) {
  if (typeof value === 'undefined') {
    value = def
  }
  if (typeof value === 'string') {
    if (RegExpPrototypeExec(octalReg, value) === null) {
      throw new ERR_INVALID_ARG_VALUE(name, value, modeDesc)
    }
    value = NumberParseInt(value, 8)
  }
  validateUint32(value, name)
  return value
}

/**
 * @callback validateInteger
 * @param {*} value
 * @param {string} name
 * @param {number} [min]
 * @param {number} [max]
 * @returns {asserts value is number}
 */

/** @type {validateInteger} */
const validateInteger = hideStackFrames((value, name, min = NumberMIN_SAFE_INTEGER, max = NumberMAX_SAFE_INTEGER) => {
  if (typeof value !== 'number') throw new ERR_INVALID_ARG_TYPE(name, 'number', value)
  if (!NumberIsInteger(value)) throw new ERR_OUT_OF_RANGE(name, 'an integer', value)
  if (value < min || value > max) throw new ERR_OUT_OF_RANGE(name, `>= ${min} && <= ${max}`, value)
})

/**
 * @callback validateInt32
 * @param {*} value
 * @param {string} name
 * @param {number} [min]
 * @param {number} [max]
 * @returns {asserts value is number}
 */

/** @type {validateInt32} */
const validateInt32 = hideStackFrames((value, name, min = -2147483648, max = 2147483647) => {
  // The defaults for min and max correspond to the limits of 32-bit integers.
  if (typeof value !== 'number') {
    throw new ERR_INVALID_ARG_TYPE(name, 'number', value)
  }
  if (!NumberIsInteger(value)) {
    throw new ERR_OUT_OF_RANGE(name, 'an integer', value)
  }
  if (value < min || value > max) {
    throw new ERR_OUT_OF_RANGE(name, `>= ${min} && <= ${max}`, value)
  }
})

/**
 * @callback validateUint32
 * @param {*} value
 * @param {string} name
 * @param {number|boolean} [positive=false]
 * @returns {asserts value is number}
 */

/** @type {validateUint32} */
const validateUint32 = hideStackFrames((value, name, positive = false) => {
  if (typeof value !== 'number') {
    throw new ERR_INVALID_ARG_TYPE(name, 'number', value)
  }
  if (!NumberIsInteger(value)) {
    throw new ERR_OUT_OF_RANGE(name, 'an integer', value)
  }
  const min = positive ? 1 : 0
  // 2 ** 32 === 4294967296
  const max = 4294967295
  if (value < min || value > max) {
    throw new ERR_OUT_OF_RANGE(name, `>= ${min} && <= ${max}`, value)
  }
})

/**
 * @callback validateString
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is string}
 */

/** @type {validateString} */
function validateString(value, name) {
  if (typeof value !== 'string') throw new ERR_INVALID_ARG_TYPE(name, 'string', value)
}

/**
 * @callback validateNumber
 * @param {*} value
 * @param {string} name
 * @param {number} [min]
 * @param {number} [max]
 * @returns {asserts value is number}
 */

/** @type {validateNumber} */
function validateNumber(value, name, min = undefined, max) {
  if (typeof value !== 'number') throw new ERR_INVALID_ARG_TYPE(name, 'number', value)
  if (
    (min != null && value < min) ||
    (max != null && value > max) ||
    ((min != null || max != null) && NumberIsNaN(value))
  ) {
    throw new ERR_OUT_OF_RANGE(
      name,
      `${min != null ? `>= ${min}` : ''}${min != null && max != null ? ' && ' : ''}${max != null ? `<= ${max}` : ''}`,
      value
    )
  }
}

/**
 * @callback validateOneOf
 * @template T
 * @param {T} value
 * @param {string} name
 * @param {T[]} oneOf
 */

/** @type {validateOneOf} */
const validateOneOf = hideStackFrames((value, name, oneOf) => {
  if (!ArrayPrototypeIncludes(oneOf, value)) {
    const allowed = ArrayPrototypeJoin(
      ArrayPrototypeMap(oneOf, (v) => (typeof v === 'string' ? `'${v}'` : String(v))),
      ', '
    )
    const reason = 'must be one of: ' + allowed
    throw new ERR_INVALID_ARG_VALUE(name, value, reason)
  }
})

/**
 * @callback validateBoolean
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is boolean}
 */

/** @type {validateBoolean} */
function validateBoolean(value, name) {
  if (typeof value !== 'boolean') throw new ERR_INVALID_ARG_TYPE(name, 'boolean', value)
}

/**
 * @param {any} options
 * @param {string} key
 * @param {boolean} defaultValue
 * @returns {boolean}
 */
function getOwnPropertyValueOrDefault(options, key, defaultValue) {
  return options == null || !ObjectPrototypeHasOwnProperty(options, key) ? defaultValue : options[key]
}

/**
 * @callback validateObject
 * @param {*} value
 * @param {string} name
 * @param {{
 *   allowArray?: boolean,
 *   allowFunction?: boolean,
 *   nullable?: boolean
 * }} [options]
 */

/** @type {validateObject} */
const validateObject = hideStackFrames((value, name, options = null) => {
  const allowArray = getOwnPropertyValueOrDefault(options, 'allowArray', false)
  const allowFunction = getOwnPropertyValueOrDefault(options, 'allowFunction', false)
  const nullable = getOwnPropertyValueOrDefault(options, 'nullable', false)
  if (
    (!nullable && value === null) ||
    (!allowArray && ArrayIsArray(value)) ||
    (typeof value !== 'object' && (!allowFunction || typeof value !== 'function'))
  ) {
    throw new ERR_INVALID_ARG_TYPE(name, 'Object', value)
  }
})

/**
 * @callback validateDictionary - We are using the Web IDL Standard definition
 *                                of "dictionary" here, which means any value
 *                                whose Type is either Undefined, Null, or
 *                                Object (which includes functions).
 * @param {*} value
 * @param {string} name
 * @see https://webidl.spec.whatwg.org/#es-dictionary
 * @see https://tc39.es/ecma262/#table-typeof-operator-results
 */

/** @type {validateDictionary} */
const validateDictionary = hideStackFrames((value, name) => {
  if (value != null && typeof value !== 'object' && typeof value !== 'function') {
    throw new ERR_INVALID_ARG_TYPE(name, 'a dictionary', value)
  }
})

/**
 * @callback validateArray
 * @param {*} value
 * @param {string} name
 * @param {number} [minLength]
 * @returns {asserts value is any[]}
 */

/** @type {validateArray} */
const validateArray = hideStackFrames((value, name, minLength = 0) => {
  if (!ArrayIsArray(value)) {
    throw new ERR_INVALID_ARG_TYPE(name, 'Array', value)
  }
  if (value.length < minLength) {
    const reason = `must be longer than ${minLength}`
    throw new ERR_INVALID_ARG_VALUE(name, value, reason)
  }
})

/**
 * @callback validateStringArray
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is string[]}
 */

/** @type {validateStringArray} */
function validateStringArray(value, name) {
  validateArray(value, name)
  for (let i = 0; i < value.length; i++) {
    validateString(value[i], `${name}[${i}]`)
  }
}

/**
 * @callback validateBooleanArray
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is boolean[]}
 */

/** @type {validateBooleanArray} */
function validateBooleanArray(value, name) {
  validateArray(value, name)
  for (let i = 0; i < value.length; i++) {
    validateBoolean(value[i], `${name}[${i}]`)
  }
}

/**
 * @callback validateAbortSignalArray
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is AbortSignal[]}
 */

/** @type {validateAbortSignalArray} */
function validateAbortSignalArray(value, name) {
  validateArray(value, name)
  for (let i = 0; i < value.length; i++) {
    const signal = value[i]
    const indexedName = `${name}[${i}]`
    if (signal == null) {
      throw new ERR_INVALID_ARG_TYPE(indexedName, 'AbortSignal', signal)
    }
    validateAbortSignal(signal, indexedName)
  }
}

/**
 * @param {*} signal
 * @param {string} [name='signal']
 * @returns {asserts signal is keyof signals}
 */
function validateSignalName(signal, name = 'signal') {
  validateString(signal, name)
  if (signals[signal] === undefined) {
    if (signals[StringPrototypeToUpperCase(signal)] !== undefined) {
      throw new ERR_UNKNOWN_SIGNAL(signal + ' (signals must use all capital letters)')
    }
    throw new ERR_UNKNOWN_SIGNAL(signal)
  }
}

/**
 * @callback validateBuffer
 * @param {*} buffer
 * @param {string} [name='buffer']
 * @returns {asserts buffer is ArrayBufferView}
 */

/** @type {validateBuffer} */
const validateBuffer = hideStackFrames((buffer, name = 'buffer') => {
  if (!isArrayBufferView(buffer)) {
    throw new ERR_INVALID_ARG_TYPE(name, ['Buffer', 'TypedArray', 'DataView'], buffer)
  }
})

/**
 * @param {string} data
 * @param {string} encoding
 */
function validateEncoding(data, encoding) {
  const normalizedEncoding = normalizeEncoding(encoding)
  const length = data.length
  if (normalizedEncoding === 'hex' && length % 2 !== 0) {
    throw new ERR_INVALID_ARG_VALUE('encoding', encoding, `is invalid for data of length ${length}`)
  }
}

/**
 * Check that the port number is not NaN when coerced to a number,
 * is an integer and that it falls within the legal range of port numbers.
 * @param {*} port
 * @param {string} [name='Port']
 * @param {boolean} [allowZero=true]
 * @returns {number}
 */
function validatePort(port, name = 'Port', allowZero = true) {
  if (
    (typeof port !== 'number' && typeof port !== 'string') ||
    (typeof port === 'string' && StringPrototypeTrim(port).length === 0) ||
    +port !== +port >>> 0 ||
    port > 0xffff ||
    (port === 0 && !allowZero)
  ) {
    throw new ERR_SOCKET_BAD_PORT(name, port, allowZero)
  }
  return port | 0
}

/**
 * @callback validateAbortSignal
 * @param {*} signal
 * @param {string} name
 */

/** @type {validateAbortSignal} */
const validateAbortSignal = hideStackFrames((signal, name) => {
  if (signal !== undefined && (signal === null || typeof signal !== 'object' || !('aborted' in signal))) {
    throw new ERR_INVALID_ARG_TYPE(name, 'AbortSignal', signal)
  }
})

/**
 * @callback validateFunction
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is Function}
 */

/** @type {validateFunction} */
const validateFunction = hideStackFrames((value, name) => {
  if (typeof value !== 'function') throw new ERR_INVALID_ARG_TYPE(name, 'Function', value)
})

/**
 * @callback validatePlainFunction
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is Function}
 */

/** @type {validatePlainFunction} */
const validatePlainFunction = hideStackFrames((value, name) => {
  if (typeof value !== 'function' || isAsyncFunction(value)) throw new ERR_INVALID_ARG_TYPE(name, 'Function', value)
})

/**
 * @callback validateUndefined
 * @param {*} value
 * @param {string} name
 * @returns {asserts value is undefined}
 */

/** @type {validateUndefined} */
const validateUndefined = hideStackFrames((value, name) => {
  if (value !== undefined) throw new ERR_INVALID_ARG_TYPE(name, 'undefined', value)
})

/**
 * @template T
 * @param {T} value
 * @param {string} name
 * @param {T[]} union
 */
function validateUnion(value, name, union) {
  if (!ArrayPrototypeIncludes(union, value)) {
    throw new ERR_INVALID_ARG_TYPE(name, `('${ArrayPrototypeJoin(union, '|')}')`, value)
  }
}

/*
  The rules for the Link header field are described here:
  https://www.rfc-editor.org/rfc/rfc8288.html#section-3

  This regex validates any string surrounded by angle brackets
  (not necessarily a valid URI reference) followed by zero or more
  link-params separated by semicolons.
*/
const linkValueRegExp = /^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/

/**
 * @param {any} value
 * @param {string} name
 */
function validateLinkHeaderFormat(value, name) {
  if (typeof value === 'undefined' || !RegExpPrototypeExec(linkValueRegExp, value)) {
    throw new ERR_INVALID_ARG_VALUE(
      name,
      value,
      'must be an array or string of format "</styles.css>; rel=preload; as=style"'
    )
  }
}

/**
 * @param {any} hints
 * @return {string}
 */
function validateLinkHeaderValue(hints) {
  if (typeof hints === 'string') {
    validateLinkHeaderFormat(hints, 'hints')
    return hints
  } else if (ArrayIsArray(hints)) {
    const hintsLength = hints.length
    let result = ''
    if (hintsLength === 0) {
      return result
    }
    for (let i = 0; i < hintsLength; i++) {
      const link = hints[i]
      validateLinkHeaderFormat(link, 'hints')
      result += link
      if (i !== hintsLength - 1) {
        result += ', '
      }
    }
    return result
  }
  throw new ERR_INVALID_ARG_VALUE(
    'hints',
    hints,
    'must be an array or string of format "</styles.css>; rel=preload; as=style"'
  )
}
module.exports = {
  isInt32,
  isUint32,
  parseFileMode,
  validateArray,
  validateStringArray,
  validateBooleanArray,
  validateAbortSignalArray,
  validateBoolean,
  validateBuffer,
  validateDictionary,
  validateEncoding,
  validateFunction,
  validateInt32,
  validateInteger,
  validateNumber,
  validateObject,
  validateOneOf,
  validatePlainFunction,
  validatePort,
  validateSignalName,
  validateString,
  validateUint32,
  validateUndefined,
  validateUnion,
  validateAbortSignal,
  validateLinkHeaderValue
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/browser.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/browser.js ***!
  \***************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const CustomStream = __webpack_require__(/*! ../stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream.js")
const promises = __webpack_require__(/*! ../stream/promises */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream/promises.js")
const originalDestroy = CustomStream.Readable.destroy
module.exports = CustomStream.Readable

// Explicit export naming is needed for ESM
module.exports._uint8ArrayToBuffer = CustomStream._uint8ArrayToBuffer
module.exports._isUint8Array = CustomStream._isUint8Array
module.exports.isDisturbed = CustomStream.isDisturbed
module.exports.isErrored = CustomStream.isErrored
module.exports.isReadable = CustomStream.isReadable
module.exports.Readable = CustomStream.Readable
module.exports.Writable = CustomStream.Writable
module.exports.Duplex = CustomStream.Duplex
module.exports.Transform = CustomStream.Transform
module.exports.PassThrough = CustomStream.PassThrough
module.exports.addAbortSignal = CustomStream.addAbortSignal
module.exports.finished = CustomStream.finished
module.exports.destroy = CustomStream.destroy
module.exports.destroy = originalDestroy
module.exports.pipeline = CustomStream.pipeline
module.exports.compose = CustomStream.compose
Object.defineProperty(CustomStream, 'promises', {
  configurable: true,
  enumerable: true,
  get() {
    return promises
  }
})
module.exports.Stream = CustomStream.Stream

// Allow default importing
module.exports["default"] = module.exports


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { format, inspect } = __webpack_require__(/*! ./util/inspect */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util/inspect.js")
const { AggregateError: CustomAggregateError } = __webpack_require__(/*! ./primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")

/*
  This file is a reduced and adapted version of the main lib/internal/errors.js file defined at

  https://github.com/nodejs/node/blob/main/lib/internal/errors.js

  Don't try to replace with the original file and keep it up to date (starting from E(...) definitions)
  with the upstream file.
*/

const AggregateError = globalThis.AggregateError || CustomAggregateError
const kIsNodeError = Symbol('kIsNodeError')
const kTypes = [
  'string',
  'function',
  'number',
  'object',
  // Accept 'Function' and 'Object' as alternative to the lower cased version.
  'Function',
  'Object',
  'boolean',
  'bigint',
  'symbol'
]
const classRegExp = /^([A-Z][a-z0-9]*)+$/
const nodeInternalPrefix = '__node_internal_'
const codes = {}
function assert(value, message) {
  if (!value) {
    throw new codes.ERR_INTERNAL_ASSERTION(message)
  }
}

// Only use this for integers! Decimal numbers do not work with this function.
function addNumericalSeparator(val) {
  let res = ''
  let i = val.length
  const start = val[0] === '-' ? 1 : 0
  for (; i >= start + 4; i -= 3) {
    res = `_${val.slice(i - 3, i)}${res}`
  }
  return `${val.slice(0, i)}${res}`
}
function getMessage(key, msg, args) {
  if (typeof msg === 'function') {
    assert(
      msg.length <= args.length,
      // Default options do not count.
      `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${msg.length}).`
    )
    return msg(...args)
  }
  const expectedLength = (msg.match(/%[dfijoOs]/g) || []).length
  assert(
    expectedLength === args.length,
    `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${expectedLength}).`
  )
  if (args.length === 0) {
    return msg
  }
  return format(msg, ...args)
}
function E(code, message, Base) {
  if (!Base) {
    Base = Error
  }
  class NodeError extends Base {
    constructor(...args) {
      super(getMessage(code, message, args))
    }
    toString() {
      return `${this.name} [${code}]: ${this.message}`
    }
  }
  Object.defineProperties(NodeError.prototype, {
    name: {
      value: Base.name,
      writable: true,
      enumerable: false,
      configurable: true
    },
    toString: {
      value() {
        return `${this.name} [${code}]: ${this.message}`
      },
      writable: true,
      enumerable: false,
      configurable: true
    }
  })
  NodeError.prototype.code = code
  NodeError.prototype[kIsNodeError] = true
  codes[code] = NodeError
}
function hideStackFrames(fn) {
  // We rename the functions that will be hidden to cut off the stacktrace
  // at the outermost one
  const hidden = nodeInternalPrefix + fn.name
  Object.defineProperty(fn, 'name', {
    value: hidden
  })
  return fn
}
function aggregateTwoErrors(innerError, outerError) {
  if (innerError && outerError && innerError !== outerError) {
    if (Array.isArray(outerError.errors)) {
      // If `outerError` is already an `AggregateError`.
      outerError.errors.push(innerError)
      return outerError
    }
    const err = new AggregateError([outerError, innerError], outerError.message)
    err.code = outerError.code
    return err
  }
  return innerError || outerError
}
class AbortError extends Error {
  constructor(message = 'The operation was aborted', options = undefined) {
    if (options !== undefined && typeof options !== 'object') {
      throw new codes.ERR_INVALID_ARG_TYPE('options', 'Object', options)
    }
    super(message, options)
    this.code = 'ABORT_ERR'
    this.name = 'AbortError'
  }
}
E('ERR_ASSERTION', '%s', Error)
E(
  'ERR_INVALID_ARG_TYPE',
  (name, expected, actual) => {
    assert(typeof name === 'string', "'name' must be a string")
    if (!Array.isArray(expected)) {
      expected = [expected]
    }
    let msg = 'The '
    if (name.endsWith(' argument')) {
      // For cases like 'first argument'
      msg += `${name} `
    } else {
      msg += `"${name}" ${name.includes('.') ? 'property' : 'argument'} `
    }
    msg += 'must be '
    const types = []
    const instances = []
    const other = []
    for (const value of expected) {
      assert(typeof value === 'string', 'All expected entries have to be of type string')
      if (kTypes.includes(value)) {
        types.push(value.toLowerCase())
      } else if (classRegExp.test(value)) {
        instances.push(value)
      } else {
        assert(value !== 'object', 'The value "object" should be written as "Object"')
        other.push(value)
      }
    }

    // Special handle `object` in case other instances are allowed to outline
    // the differences between each other.
    if (instances.length > 0) {
      const pos = types.indexOf('object')
      if (pos !== -1) {
        types.splice(types, pos, 1)
        instances.push('Object')
      }
    }
    if (types.length > 0) {
      switch (types.length) {
        case 1:
          msg += `of type ${types[0]}`
          break
        case 2:
          msg += `one of type ${types[0]} or ${types[1]}`
          break
        default: {
          const last = types.pop()
          msg += `one of type ${types.join(', ')}, or ${last}`
        }
      }
      if (instances.length > 0 || other.length > 0) {
        msg += ' or '
      }
    }
    if (instances.length > 0) {
      switch (instances.length) {
        case 1:
          msg += `an instance of ${instances[0]}`
          break
        case 2:
          msg += `an instance of ${instances[0]} or ${instances[1]}`
          break
        default: {
          const last = instances.pop()
          msg += `an instance of ${instances.join(', ')}, or ${last}`
        }
      }
      if (other.length > 0) {
        msg += ' or '
      }
    }
    switch (other.length) {
      case 0:
        break
      case 1:
        if (other[0].toLowerCase() !== other[0]) {
          msg += 'an '
        }
        msg += `${other[0]}`
        break
      case 2:
        msg += `one of ${other[0]} or ${other[1]}`
        break
      default: {
        const last = other.pop()
        msg += `one of ${other.join(', ')}, or ${last}`
      }
    }
    if (actual == null) {
      msg += `. Received ${actual}`
    } else if (typeof actual === 'function' && actual.name) {
      msg += `. Received function ${actual.name}`
    } else if (typeof actual === 'object') {
      var _actual$constructor
      if (
        (_actual$constructor = actual.constructor) !== null &&
        _actual$constructor !== undefined &&
        _actual$constructor.name
      ) {
        msg += `. Received an instance of ${actual.constructor.name}`
      } else {
        const inspected = inspect(actual, {
          depth: -1
        })
        msg += `. Received ${inspected}`
      }
    } else {
      let inspected = inspect(actual, {
        colors: false
      })
      if (inspected.length > 25) {
        inspected = `${inspected.slice(0, 25)}...`
      }
      msg += `. Received type ${typeof actual} (${inspected})`
    }
    return msg
  },
  TypeError
)
E(
  'ERR_INVALID_ARG_VALUE',
  (name, value, reason = 'is invalid') => {
    let inspected = inspect(value)
    if (inspected.length > 128) {
      inspected = inspected.slice(0, 128) + '...'
    }
    const type = name.includes('.') ? 'property' : 'argument'
    return `The ${type} '${name}' ${reason}. Received ${inspected}`
  },
  TypeError
)
E(
  'ERR_INVALID_RETURN_VALUE',
  (input, name, value) => {
    var _value$constructor
    const type =
      value !== null &&
      value !== undefined &&
      (_value$constructor = value.constructor) !== null &&
      _value$constructor !== undefined &&
      _value$constructor.name
        ? `instance of ${value.constructor.name}`
        : `type ${typeof value}`
    return `Expected ${input} to be returned from the "${name}"` + ` function but got ${type}.`
  },
  TypeError
)
E(
  'ERR_MISSING_ARGS',
  (...args) => {
    assert(args.length > 0, 'At least one arg needs to be specified')
    let msg
    const len = args.length
    args = (Array.isArray(args) ? args : [args]).map((a) => `"${a}"`).join(' or ')
    switch (len) {
      case 1:
        msg += `The ${args[0]} argument`
        break
      case 2:
        msg += `The ${args[0]} and ${args[1]} arguments`
        break
      default:
        {
          const last = args.pop()
          msg += `The ${args.join(', ')}, and ${last} arguments`
        }
        break
    }
    return `${msg} must be specified`
  },
  TypeError
)
E(
  'ERR_OUT_OF_RANGE',
  (str, range, input) => {
    assert(range, 'Missing "range" argument')
    let received
    if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {
      received = addNumericalSeparator(String(input))
    } else if (typeof input === 'bigint') {
      received = String(input)
      const limit = BigInt(2) ** BigInt(32)
      if (input > limit || input < -limit) {
        received = addNumericalSeparator(received)
      }
      received += 'n'
    } else {
      received = inspect(input)
    }
    return `The value of "${str}" is out of range. It must be ${range}. Received ${received}`
  },
  RangeError
)
E('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times', Error)
E('ERR_METHOD_NOT_IMPLEMENTED', 'The %s method is not implemented', Error)
E('ERR_STREAM_ALREADY_FINISHED', 'Cannot call %s after a stream was finished', Error)
E('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable', Error)
E('ERR_STREAM_DESTROYED', 'Cannot call %s after a stream was destroyed', Error)
E('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError)
E('ERR_STREAM_PREMATURE_CLOSE', 'Premature close', Error)
E('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF', Error)
E('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event', Error)
E('ERR_STREAM_WRITE_AFTER_END', 'write after end', Error)
E('ERR_UNKNOWN_ENCODING', 'Unknown encoding: %s', TypeError)
module.exports = {
  AbortError,
  aggregateTwoErrors: hideStackFrames(aggregateTwoErrors),
  hideStackFrames,
  codes
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js ***!
  \*******************************************************************************************************/
(module) {

"use strict";


/*
  This file is a reduced and adapted version of the main lib/internal/per_context/primordials.js file defined at

  https://github.com/nodejs/node/blob/main/lib/internal/per_context/primordials.js

  Don't try to replace with the original file and keep it up to date with the upstream file.
*/

// This is a simplified version of AggregateError
class AggregateError extends Error {
  constructor(errors) {
    if (!Array.isArray(errors)) {
      throw new TypeError(`Expected input to be an Array, got ${typeof errors}`)
    }
    let message = ''
    for (let i = 0; i < errors.length; i++) {
      message += `    ${errors[i].stack}\n`
    }
    super(message)
    this.name = 'AggregateError'
    this.errors = errors
  }
}
module.exports = {
  AggregateError,
  ArrayIsArray(self) {
    return Array.isArray(self)
  },
  ArrayPrototypeIncludes(self, el) {
    return self.includes(el)
  },
  ArrayPrototypeIndexOf(self, el) {
    return self.indexOf(el)
  },
  ArrayPrototypeJoin(self, sep) {
    return self.join(sep)
  },
  ArrayPrototypeMap(self, fn) {
    return self.map(fn)
  },
  ArrayPrototypePop(self, el) {
    return self.pop(el)
  },
  ArrayPrototypePush(self, el) {
    return self.push(el)
  },
  ArrayPrototypeSlice(self, start, end) {
    return self.slice(start, end)
  },
  Error,
  FunctionPrototypeCall(fn, thisArgs, ...args) {
    return fn.call(thisArgs, ...args)
  },
  FunctionPrototypeSymbolHasInstance(self, instance) {
    return Function.prototype[Symbol.hasInstance].call(self, instance)
  },
  MathFloor: Math.floor,
  Number,
  NumberIsInteger: Number.isInteger,
  NumberIsNaN: Number.isNaN,
  NumberMAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER,
  NumberMIN_SAFE_INTEGER: Number.MIN_SAFE_INTEGER,
  NumberParseInt: Number.parseInt,
  ObjectDefineProperties(self, props) {
    return Object.defineProperties(self, props)
  },
  ObjectDefineProperty(self, name, prop) {
    return Object.defineProperty(self, name, prop)
  },
  ObjectGetOwnPropertyDescriptor(self, name) {
    return Object.getOwnPropertyDescriptor(self, name)
  },
  ObjectKeys(obj) {
    return Object.keys(obj)
  },
  ObjectSetPrototypeOf(target, proto) {
    return Object.setPrototypeOf(target, proto)
  },
  Promise,
  PromisePrototypeCatch(self, fn) {
    return self.catch(fn)
  },
  PromisePrototypeThen(self, thenFn, catchFn) {
    return self.then(thenFn, catchFn)
  },
  PromiseReject(err) {
    return Promise.reject(err)
  },
  PromiseResolve(val) {
    return Promise.resolve(val)
  },
  ReflectApply: Reflect.apply,
  RegExpPrototypeTest(self, value) {
    return self.test(value)
  },
  SafeSet: Set,
  String,
  StringPrototypeSlice(self, start, end) {
    return self.slice(start, end)
  },
  StringPrototypeToLowerCase(self) {
    return self.toLowerCase()
  },
  StringPrototypeToUpperCase(self) {
    return self.toUpperCase()
  },
  StringPrototypeTrim(self) {
    return self.trim()
  },
  Symbol,
  SymbolFor: Symbol.for,
  SymbolAsyncIterator: Symbol.asyncIterator,
  SymbolHasInstance: Symbol.hasInstance,
  SymbolIterator: Symbol.iterator,
  SymbolDispose: Symbol.dispose || Symbol('Symbol.dispose'),
  SymbolAsyncDispose: Symbol.asyncDispose || Symbol('Symbol.asyncDispose'),
  TypedArrayPrototypeSet(self, buf, len) {
    return self.set(buf, len)
  },
  Boolean,
  Uint8Array
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js ***!
  \************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const bufferModule = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")
const { format, inspect } = __webpack_require__(/*! ./util/inspect */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util/inspect.js")
const {
  codes: { ERR_INVALID_ARG_TYPE }
} = __webpack_require__(/*! ./errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const { kResistStopPropagation, AggregateError, SymbolDispose } = __webpack_require__(/*! ./primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const AbortSignal = globalThis.AbortSignal || (__webpack_require__(/*! abort-controller */ "./node_modules/.pnpm/abort-controller@3.0.0/node_modules/abort-controller/browser.js").AbortSignal)
const AbortController = globalThis.AbortController || (__webpack_require__(/*! abort-controller */ "./node_modules/.pnpm/abort-controller@3.0.0/node_modules/abort-controller/browser.js").AbortController)
const AsyncFunction = Object.getPrototypeOf(async function () {}).constructor
const Blob = globalThis.Blob || bufferModule.Blob
/* eslint-disable indent */
const isBlob =
  typeof Blob !== 'undefined'
    ? function isBlob(b) {
        // eslint-disable-next-line indent
        return b instanceof Blob
      }
    : function isBlob(b) {
        return false
      }
/* eslint-enable indent */

const validateAbortSignal = (signal, name) => {
  if (signal !== undefined && (signal === null || typeof signal !== 'object' || !('aborted' in signal))) {
    throw new ERR_INVALID_ARG_TYPE(name, 'AbortSignal', signal)
  }
}
const validateFunction = (value, name) => {
  if (typeof value !== 'function') {
    throw new ERR_INVALID_ARG_TYPE(name, 'Function', value)
  }
}
module.exports = {
  AggregateError,
  kEmptyObject: Object.freeze({}),
  once(callback) {
    let called = false
    return function (...args) {
      if (called) {
        return
      }
      called = true
      callback.apply(this, args)
    }
  },
  createDeferredPromise: function () {
    let resolve
    let reject

    // eslint-disable-next-line promise/param-names
    const promise = new Promise((res, rej) => {
      resolve = res
      reject = rej
    })
    return {
      promise,
      resolve,
      reject
    }
  },
  promisify(fn) {
    return new Promise((resolve, reject) => {
      fn((err, ...args) => {
        if (err) {
          return reject(err)
        }
        return resolve(...args)
      })
    })
  },
  debuglog() {
    return function () {}
  },
  format,
  inspect,
  types: {
    isAsyncFunction(fn) {
      return fn instanceof AsyncFunction
    },
    isArrayBufferView(arr) {
      return ArrayBuffer.isView(arr)
    }
  },
  isBlob,
  deprecate(fn, message) {
    return fn
  },
  addAbortListener:
    (__webpack_require__(/*! events */ "./node_modules/.pnpm/events@3.3.0/node_modules/events/events.js").addAbortListener) ||
    function addAbortListener(signal, listener) {
      if (signal === undefined) {
        throw new ERR_INVALID_ARG_TYPE('signal', 'AbortSignal', signal)
      }
      validateAbortSignal(signal, 'signal')
      validateFunction(listener, 'listener')
      let removeEventListener
      if (signal.aborted) {
        queueMicrotask(() => listener())
      } else {
        signal.addEventListener('abort', listener, {
          __proto__: null,
          once: true,
          [kResistStopPropagation]: true
        })
        removeEventListener = () => {
          signal.removeEventListener('abort', listener)
        }
      }
      return {
        __proto__: null,
        [SymbolDispose]() {
          var _removeEventListener
          ;(_removeEventListener = removeEventListener) === null || _removeEventListener === undefined
            ? undefined
            : _removeEventListener()
        }
      }
    },
  AbortSignalAny:
    AbortSignal.any ||
    function AbortSignalAny(signals) {
      // Fast path if there is only one signal.
      if (signals.length === 1) {
        return signals[0]
      }
      const ac = new AbortController()
      const abort = () => ac.abort()
      signals.forEach((signal) => {
        validateAbortSignal(signal, 'signals')
        signal.addEventListener('abort', abort, {
          once: true
        })
      })
      ac.signal.addEventListener(
        'abort',
        () => {
          signals.forEach((signal) => signal.removeEventListener('abort', abort))
        },
        {
          once: true
        }
      )
      return ac.signal
    }
}
module.exports.promisify.custom = Symbol.for('nodejs.util.promisify.custom')


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util/inspect.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util/inspect.js ***!
  \********************************************************************************************************/
(module) {

"use strict";


/*
  This file is a reduced and adapted version of the main lib/internal/util/inspect.js file defined at

  https://github.com/nodejs/node/blob/main/lib/internal/util/inspect.js

  Don't try to replace with the original file and keep it up to date with the upstream file.
*/
module.exports = {
  format(format, ...args) {
    // Simplified version of https://nodejs.org/api/util.html#utilformatformat-args
    return format.replace(/%([sdifj])/g, function (...[_unused, type]) {
      const replacement = args.shift()
      if (type === 'f') {
        return replacement.toFixed(6)
      } else if (type === 'j') {
        return JSON.stringify(replacement)
      } else if (type === 's' && typeof replacement === 'object') {
        const ctor = replacement.constructor !== Object ? replacement.constructor.name : ''
        return `${ctor} {}`.trim()
      } else {
        return replacement.toString()
      }
    })
  },
  inspect(value) {
    // Vastly simplified version of https://nodejs.org/api/util.html#utilinspectobject-options
    switch (typeof value) {
      case 'string':
        if (value.includes("'")) {
          if (!value.includes('"')) {
            return `"${value}"`
          } else if (!value.includes('`') && !value.includes('${')) {
            return `\`${value}\``
          }
        }
        return `'${value}'`
      case 'number':
        if (isNaN(value)) {
          return 'NaN'
        } else if (Object.is(value, -0)) {
          return String(value)
        }
        return value
      case 'bigint':
        return `${String(value)}n`
      case 'boolean':
      case 'undefined':
        return String(value)
      case 'object':
        return '{}'
    }
  }
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.



/* replacement start */

const { Buffer } = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")

/* replacement end */

const { ObjectDefineProperty, ObjectKeys, ReflectApply } = __webpack_require__(/*! ./ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const {
  promisify: { custom: customPromisify }
} = __webpack_require__(/*! ./ours/util */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/util.js")
const { streamReturningOperators, promiseReturningOperators } = __webpack_require__(/*! ./internal/streams/operators */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/operators.js")
const {
  codes: { ERR_ILLEGAL_CONSTRUCTOR }
} = __webpack_require__(/*! ./ours/errors */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/errors.js")
const compose = __webpack_require__(/*! ./internal/streams/compose */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/compose.js")
const { setDefaultHighWaterMark, getDefaultHighWaterMark } = __webpack_require__(/*! ./internal/streams/state */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/state.js")
const { pipeline } = __webpack_require__(/*! ./internal/streams/pipeline */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/pipeline.js")
const { destroyer } = __webpack_require__(/*! ./internal/streams/destroy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/destroy.js")
const eos = __webpack_require__(/*! ./internal/streams/end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
const internalBuffer = {}
const promises = __webpack_require__(/*! ./stream/promises */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream/promises.js")
const utils = __webpack_require__(/*! ./internal/streams/utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const Stream = (module.exports = __webpack_require__(/*! ./internal/streams/legacy */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/legacy.js").Stream)
Stream.isDestroyed = utils.isDestroyed
Stream.isDisturbed = utils.isDisturbed
Stream.isErrored = utils.isErrored
Stream.isReadable = utils.isReadable
Stream.isWritable = utils.isWritable
Stream.Readable = __webpack_require__(/*! ./internal/streams/readable */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/readable.js")
for (const key of ObjectKeys(streamReturningOperators)) {
  const op = streamReturningOperators[key]
  function fn(...args) {
    if (new.target) {
      throw ERR_ILLEGAL_CONSTRUCTOR()
    }
    return Stream.Readable.from(ReflectApply(op, this, args))
  }
  ObjectDefineProperty(fn, 'name', {
    __proto__: null,
    value: op.name
  })
  ObjectDefineProperty(fn, 'length', {
    __proto__: null,
    value: op.length
  })
  ObjectDefineProperty(Stream.Readable.prototype, key, {
    __proto__: null,
    value: fn,
    enumerable: false,
    configurable: true,
    writable: true
  })
}
for (const key of ObjectKeys(promiseReturningOperators)) {
  const op = promiseReturningOperators[key]
  function fn(...args) {
    if (new.target) {
      throw ERR_ILLEGAL_CONSTRUCTOR()
    }
    return ReflectApply(op, this, args)
  }
  ObjectDefineProperty(fn, 'name', {
    __proto__: null,
    value: op.name
  })
  ObjectDefineProperty(fn, 'length', {
    __proto__: null,
    value: op.length
  })
  ObjectDefineProperty(Stream.Readable.prototype, key, {
    __proto__: null,
    value: fn,
    enumerable: false,
    configurable: true,
    writable: true
  })
}
Stream.Writable = __webpack_require__(/*! ./internal/streams/writable */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/writable.js")
Stream.Duplex = __webpack_require__(/*! ./internal/streams/duplex */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/duplex.js")
Stream.Transform = __webpack_require__(/*! ./internal/streams/transform */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/transform.js")
Stream.PassThrough = __webpack_require__(/*! ./internal/streams/passthrough */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/passthrough.js")
Stream.pipeline = pipeline
const { addAbortSignal } = __webpack_require__(/*! ./internal/streams/add-abort-signal */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js")
Stream.addAbortSignal = addAbortSignal
Stream.finished = eos
Stream.destroy = destroyer
Stream.compose = compose
Stream.setDefaultHighWaterMark = setDefaultHighWaterMark
Stream.getDefaultHighWaterMark = getDefaultHighWaterMark
ObjectDefineProperty(Stream, 'promises', {
  __proto__: null,
  configurable: true,
  enumerable: true,
  get() {
    return promises
  }
})
ObjectDefineProperty(pipeline, customPromisify, {
  __proto__: null,
  enumerable: true,
  get() {
    return promises.pipeline
  }
})
ObjectDefineProperty(eos, customPromisify, {
  __proto__: null,
  enumerable: true,
  get() {
    return promises.finished
  }
})

// Backwards-compat with node 0.4.x
Stream.Stream = Stream
Stream._isUint8Array = function isUint8Array(value) {
  return value instanceof Uint8Array
}
Stream._uint8ArrayToBuffer = function _uint8ArrayToBuffer(chunk) {
  return Buffer.from(chunk.buffer, chunk.byteOffset, chunk.byteLength)
}


/***/ },

/***/ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream/promises.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream/promises.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


const { ArrayPrototypePop, Promise } = __webpack_require__(/*! ../ours/primordials */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/ours/primordials.js")
const { isIterable, isNodeStream, isWebStream } = __webpack_require__(/*! ../internal/streams/utils */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/utils.js")
const { pipelineImpl: pl } = __webpack_require__(/*! ../internal/streams/pipeline */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/pipeline.js")
const { finished } = __webpack_require__(/*! ../internal/streams/end-of-stream */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")
__webpack_require__(/*! ../../lib/stream.js */ "./node_modules/.pnpm/readable-stream@4.7.0/node_modules/readable-stream/lib/stream.js")
function pipeline(...streams) {
  return new Promise((resolve, reject) => {
    let signal
    let end
    const lastArg = streams[streams.length - 1]
    if (
      lastArg &&
      typeof lastArg === 'object' &&
      !isNodeStream(lastArg) &&
      !isIterable(lastArg) &&
      !isWebStream(lastArg)
    ) {
      const options = ArrayPrototypePop(streams)
      signal = options.signal
      end = options.end
    }
    pl(
      streams,
      (err, value) => {
        if (err) {
          reject(err)
        } else {
          resolve(value)
        }
      },
      {
        signal,
        end
      }
    )
  })
}
module.exports = {
  finished,
  pipeline
}


/***/ },

/***/ "./node_modules/.pnpm/regenerator-runtime@0.13.11/node_modules/regenerator-runtime/runtime.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/regenerator-runtime@0.13.11/node_modules/regenerator-runtime/runtime.js ***!
  \****************************************************************************************************/
(module) {

/**
 * Copyright (c) 2014-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

var runtime = (function (exports) {
  "use strict";

  var Op = Object.prototype;
  var hasOwn = Op.hasOwnProperty;
  var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };
  var undefined; // More compressible than void 0.
  var $Symbol = typeof Symbol === "function" ? Symbol : {};
  var iteratorSymbol = $Symbol.iterator || "@@iterator";
  var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
  var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";

  function define(obj, key, value) {
    Object.defineProperty(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true
    });
    return obj[key];
  }
  try {
    // IE 8 has a broken Object.defineProperty that only works on DOM objects.
    define({}, "");
  } catch (err) {
    define = function(obj, key, value) {
      return obj[key] = value;
    };
  }

  function wrap(innerFn, outerFn, self, tryLocsList) {
    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
    var generator = Object.create(protoGenerator.prototype);
    var context = new Context(tryLocsList || []);

    // The ._invoke method unifies the implementations of the .next,
    // .throw, and .return methods.
    defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) });

    return generator;
  }
  exports.wrap = wrap;

  // Try/catch helper to minimize deoptimizations. Returns a completion
  // record like context.tryEntries[i].completion. This interface could
  // have been (and was previously) designed to take a closure to be
  // invoked without arguments, but in all the cases we care about we
  // already have an existing method we want to call, so there's no need
  // to create a new function object. We can even get away with assuming
  // the method takes exactly one argument, since that happens to be true
  // in every case, so we don't have to touch the arguments object. The
  // only additional allocation required is the completion record, which
  // has a stable shape and so hopefully should be cheap to allocate.
  function tryCatch(fn, obj, arg) {
    try {
      return { type: "normal", arg: fn.call(obj, arg) };
    } catch (err) {
      return { type: "throw", arg: err };
    }
  }

  var GenStateSuspendedStart = "suspendedStart";
  var GenStateSuspendedYield = "suspendedYield";
  var GenStateExecuting = "executing";
  var GenStateCompleted = "completed";

  // Returning this object from the innerFn has the same effect as
  // breaking out of the dispatch switch statement.
  var ContinueSentinel = {};

  // Dummy constructor functions that we use as the .constructor and
  // .constructor.prototype properties for functions that return Generator
  // objects. For full spec compliance, you may wish to configure your
  // minifier not to mangle the names of these two functions.
  function Generator() {}
  function GeneratorFunction() {}
  function GeneratorFunctionPrototype() {}

  // This is a polyfill for %IteratorPrototype% for environments that
  // don't natively support it.
  var IteratorPrototype = {};
  define(IteratorPrototype, iteratorSymbol, function () {
    return this;
  });

  var getProto = Object.getPrototypeOf;
  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  if (NativeIteratorPrototype &&
      NativeIteratorPrototype !== Op &&
      hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
    // This environment has a native %IteratorPrototype%; use it instead
    // of the polyfill.
    IteratorPrototype = NativeIteratorPrototype;
  }

  var Gp = GeneratorFunctionPrototype.prototype =
    Generator.prototype = Object.create(IteratorPrototype);
  GeneratorFunction.prototype = GeneratorFunctionPrototype;
  defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true });
  defineProperty(
    GeneratorFunctionPrototype,
    "constructor",
    { value: GeneratorFunction, configurable: true }
  );
  GeneratorFunction.displayName = define(
    GeneratorFunctionPrototype,
    toStringTagSymbol,
    "GeneratorFunction"
  );

  // Helper for defining the .next, .throw, and .return methods of the
  // Iterator interface in terms of a single ._invoke method.
  function defineIteratorMethods(prototype) {
    ["next", "throw", "return"].forEach(function(method) {
      define(prototype, method, function(arg) {
        return this._invoke(method, arg);
      });
    });
  }

  exports.isGeneratorFunction = function(genFun) {
    var ctor = typeof genFun === "function" && genFun.constructor;
    return ctor
      ? ctor === GeneratorFunction ||
        // For the native GeneratorFunction constructor, the best we can
        // do is to check its .name property.
        (ctor.displayName || ctor.name) === "GeneratorFunction"
      : false;
  };

  exports.mark = function(genFun) {
    if (Object.setPrototypeOf) {
      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
    } else {
      genFun.__proto__ = GeneratorFunctionPrototype;
      define(genFun, toStringTagSymbol, "GeneratorFunction");
    }
    genFun.prototype = Object.create(Gp);
    return genFun;
  };

  // Within the body of any async function, `await x` is transformed to
  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
  // `hasOwn.call(value, "__await")` to determine if the yielded value is
  // meant to be awaited.
  exports.awrap = function(arg) {
    return { __await: arg };
  };

  function AsyncIterator(generator, PromiseImpl) {
    function invoke(method, arg, resolve, reject) {
      var record = tryCatch(generator[method], generator, arg);
      if (record.type === "throw") {
        reject(record.arg);
      } else {
        var result = record.arg;
        var value = result.value;
        if (value &&
            typeof value === "object" &&
            hasOwn.call(value, "__await")) {
          return PromiseImpl.resolve(value.__await).then(function(value) {
            invoke("next", value, resolve, reject);
          }, function(err) {
            invoke("throw", err, resolve, reject);
          });
        }

        return PromiseImpl.resolve(value).then(function(unwrapped) {
          // When a yielded Promise is resolved, its final value becomes
          // the .value of the Promise<{value,done}> result for the
          // current iteration.
          result.value = unwrapped;
          resolve(result);
        }, function(error) {
          // If a rejected Promise was yielded, throw the rejection back
          // into the async generator function so it can be handled there.
          return invoke("throw", error, resolve, reject);
        });
      }
    }

    var previousPromise;

    function enqueue(method, arg) {
      function callInvokeWithMethodAndArg() {
        return new PromiseImpl(function(resolve, reject) {
          invoke(method, arg, resolve, reject);
        });
      }

      return previousPromise =
        // If enqueue has been called before, then we want to wait until
        // all previous Promises have been resolved before calling invoke,
        // so that results are always delivered in the correct order. If
        // enqueue has not been called before, then it is important to
        // call invoke immediately, without waiting on a callback to fire,
        // so that the async generator function has the opportunity to do
        // any necessary setup in a predictable way. This predictability
        // is why the Promise constructor synchronously invokes its
        // executor callback, and why async functions synchronously
        // execute code before the first await. Since we implement simple
        // async functions in terms of async generators, it is especially
        // important to get this right, even though it requires care.
        previousPromise ? previousPromise.then(
          callInvokeWithMethodAndArg,
          // Avoid propagating failures to Promises returned by later
          // invocations of the iterator.
          callInvokeWithMethodAndArg
        ) : callInvokeWithMethodAndArg();
    }

    // Define the unified helper method that is used to implement .next,
    // .throw, and .return (see defineIteratorMethods).
    defineProperty(this, "_invoke", { value: enqueue });
  }

  defineIteratorMethods(AsyncIterator.prototype);
  define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
    return this;
  });
  exports.AsyncIterator = AsyncIterator;

  // Note that simple async functions are implemented on top of
  // AsyncIterator objects; they just return a Promise for the value of
  // the final result produced by the iterator.
  exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
    if (PromiseImpl === void 0) PromiseImpl = Promise;

    var iter = new AsyncIterator(
      wrap(innerFn, outerFn, self, tryLocsList),
      PromiseImpl
    );

    return exports.isGeneratorFunction(outerFn)
      ? iter // If outerFn is a generator, return the full iterator.
      : iter.next().then(function(result) {
          return result.done ? result.value : iter.next();
        });
  };

  function makeInvokeMethod(innerFn, self, context) {
    var state = GenStateSuspendedStart;

    return function invoke(method, arg) {
      if (state === GenStateExecuting) {
        throw new Error("Generator is already running");
      }

      if (state === GenStateCompleted) {
        if (method === "throw") {
          throw arg;
        }

        // Be forgiving, per 25.3.3.3.3 of the spec:
        // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
        return doneResult();
      }

      context.method = method;
      context.arg = arg;

      while (true) {
        var delegate = context.delegate;
        if (delegate) {
          var delegateResult = maybeInvokeDelegate(delegate, context);
          if (delegateResult) {
            if (delegateResult === ContinueSentinel) continue;
            return delegateResult;
          }
        }

        if (context.method === "next") {
          // Setting context._sent for legacy support of Babel's
          // function.sent implementation.
          context.sent = context._sent = context.arg;

        } else if (context.method === "throw") {
          if (state === GenStateSuspendedStart) {
            state = GenStateCompleted;
            throw context.arg;
          }

          context.dispatchException(context.arg);

        } else if (context.method === "return") {
          context.abrupt("return", context.arg);
        }

        state = GenStateExecuting;

        var record = tryCatch(innerFn, self, context);
        if (record.type === "normal") {
          // If an exception is thrown from innerFn, we leave state ===
          // GenStateExecuting and loop back for another invocation.
          state = context.done
            ? GenStateCompleted
            : GenStateSuspendedYield;

          if (record.arg === ContinueSentinel) {
            continue;
          }

          return {
            value: record.arg,
            done: context.done
          };

        } else if (record.type === "throw") {
          state = GenStateCompleted;
          // Dispatch the exception by looping back around to the
          // context.dispatchException(context.arg) call above.
          context.method = "throw";
          context.arg = record.arg;
        }
      }
    };
  }

  // Call delegate.iterator[context.method](context.arg) and handle the
  // result, either by returning a { value, done } result from the
  // delegate iterator, or by modifying context.method and context.arg,
  // setting context.delegate to null, and returning the ContinueSentinel.
  function maybeInvokeDelegate(delegate, context) {
    var methodName = context.method;
    var method = delegate.iterator[methodName];
    if (method === undefined) {
      // A .throw or .return when the delegate iterator has no .throw
      // method, or a missing .next mehtod, always terminate the
      // yield* loop.
      context.delegate = null;

      // Note: ["return"] must be used for ES3 parsing compatibility.
      if (methodName === "throw" && delegate.iterator["return"]) {
        // If the delegate iterator has a return method, give it a
        // chance to clean up.
        context.method = "return";
        context.arg = undefined;
        maybeInvokeDelegate(delegate, context);

        if (context.method === "throw") {
          // If maybeInvokeDelegate(context) changed context.method from
          // "return" to "throw", let that override the TypeError below.
          return ContinueSentinel;
        }
      }
      if (methodName !== "return") {
        context.method = "throw";
        context.arg = new TypeError(
          "The iterator does not provide a '" + methodName + "' method");
      }

      return ContinueSentinel;
    }

    var record = tryCatch(method, delegate.iterator, context.arg);

    if (record.type === "throw") {
      context.method = "throw";
      context.arg = record.arg;
      context.delegate = null;
      return ContinueSentinel;
    }

    var info = record.arg;

    if (! info) {
      context.method = "throw";
      context.arg = new TypeError("iterator result is not an object");
      context.delegate = null;
      return ContinueSentinel;
    }

    if (info.done) {
      // Assign the result of the finished delegate to the temporary
      // variable specified by delegate.resultName (see delegateYield).
      context[delegate.resultName] = info.value;

      // Resume execution at the desired location (see delegateYield).
      context.next = delegate.nextLoc;

      // If context.method was "throw" but the delegate handled the
      // exception, let the outer generator proceed normally. If
      // context.method was "next", forget context.arg since it has been
      // "consumed" by the delegate iterator. If context.method was
      // "return", allow the original .return call to continue in the
      // outer generator.
      if (context.method !== "return") {
        context.method = "next";
        context.arg = undefined;
      }

    } else {
      // Re-yield the result returned by the delegate method.
      return info;
    }

    // The delegate iterator is finished, so forget it and continue with
    // the outer generator.
    context.delegate = null;
    return ContinueSentinel;
  }

  // Define Generator.prototype.{next,throw,return} in terms of the
  // unified ._invoke helper method.
  defineIteratorMethods(Gp);

  define(Gp, toStringTagSymbol, "Generator");

  // A Generator should always return itself as the iterator object when the
  // @@iterator function is called on it. Some browsers' implementations of the
  // iterator prototype chain incorrectly implement this, causing the Generator
  // object to not be returned from this call. This ensures that doesn't happen.
  // See https://github.com/facebook/regenerator/issues/274 for more details.
  define(Gp, iteratorSymbol, function() {
    return this;
  });

  define(Gp, "toString", function() {
    return "[object Generator]";
  });

  function pushTryEntry(locs) {
    var entry = { tryLoc: locs[0] };

    if (1 in locs) {
      entry.catchLoc = locs[1];
    }

    if (2 in locs) {
      entry.finallyLoc = locs[2];
      entry.afterLoc = locs[3];
    }

    this.tryEntries.push(entry);
  }

  function resetTryEntry(entry) {
    var record = entry.completion || {};
    record.type = "normal";
    delete record.arg;
    entry.completion = record;
  }

  function Context(tryLocsList) {
    // The root entry object (effectively a try statement without a catch
    // or a finally block) gives us a place to store values thrown from
    // locations where there is no enclosing try statement.
    this.tryEntries = [{ tryLoc: "root" }];
    tryLocsList.forEach(pushTryEntry, this);
    this.reset(true);
  }

  exports.keys = function(val) {
    var object = Object(val);
    var keys = [];
    for (var key in object) {
      keys.push(key);
    }
    keys.reverse();

    // Rather than returning an object with a next method, we keep
    // things simple and return the next function itself.
    return function next() {
      while (keys.length) {
        var key = keys.pop();
        if (key in object) {
          next.value = key;
          next.done = false;
          return next;
        }
      }

      // To avoid creating an additional object, we just hang the .value
      // and .done properties off the next function object itself. This
      // also ensures that the minifier will not anonymize the function.
      next.done = true;
      return next;
    };
  };

  function values(iterable) {
    if (iterable) {
      var iteratorMethod = iterable[iteratorSymbol];
      if (iteratorMethod) {
        return iteratorMethod.call(iterable);
      }

      if (typeof iterable.next === "function") {
        return iterable;
      }

      if (!isNaN(iterable.length)) {
        var i = -1, next = function next() {
          while (++i < iterable.length) {
            if (hasOwn.call(iterable, i)) {
              next.value = iterable[i];
              next.done = false;
              return next;
            }
          }

          next.value = undefined;
          next.done = true;

          return next;
        };

        return next.next = next;
      }
    }

    // Return an iterator with no values.
    return { next: doneResult };
  }
  exports.values = values;

  function doneResult() {
    return { value: undefined, done: true };
  }

  Context.prototype = {
    constructor: Context,

    reset: function(skipTempReset) {
      this.prev = 0;
      this.next = 0;
      // Resetting context._sent for legacy support of Babel's
      // function.sent implementation.
      this.sent = this._sent = undefined;
      this.done = false;
      this.delegate = null;

      this.method = "next";
      this.arg = undefined;

      this.tryEntries.forEach(resetTryEntry);

      if (!skipTempReset) {
        for (var name in this) {
          // Not sure about the optimal order of these conditions:
          if (name.charAt(0) === "t" &&
              hasOwn.call(this, name) &&
              !isNaN(+name.slice(1))) {
            this[name] = undefined;
          }
        }
      }
    },

    stop: function() {
      this.done = true;

      var rootEntry = this.tryEntries[0];
      var rootRecord = rootEntry.completion;
      if (rootRecord.type === "throw") {
        throw rootRecord.arg;
      }

      return this.rval;
    },

    dispatchException: function(exception) {
      if (this.done) {
        throw exception;
      }

      var context = this;
      function handle(loc, caught) {
        record.type = "throw";
        record.arg = exception;
        context.next = loc;

        if (caught) {
          // If the dispatched exception was caught by a catch block,
          // then let that catch block handle the exception normally.
          context.method = "next";
          context.arg = undefined;
        }

        return !! caught;
      }

      for (var i = this.tryEntries.length - 1; i >= 0; --i) {
        var entry = this.tryEntries[i];
        var record = entry.completion;

        if (entry.tryLoc === "root") {
          // Exception thrown outside of any try block that could handle
          // it, so set the completion value of the entire function to
          // throw the exception.
          return handle("end");
        }

        if (entry.tryLoc <= this.prev) {
          var hasCatch = hasOwn.call(entry, "catchLoc");
          var hasFinally = hasOwn.call(entry, "finallyLoc");

          if (hasCatch && hasFinally) {
            if (this.prev < entry.catchLoc) {
              return handle(entry.catchLoc, true);
            } else if (this.prev < entry.finallyLoc) {
              return handle(entry.finallyLoc);
            }

          } else if (hasCatch) {
            if (this.prev < entry.catchLoc) {
              return handle(entry.catchLoc, true);
            }

          } else if (hasFinally) {
            if (this.prev < entry.finallyLoc) {
              return handle(entry.finallyLoc);
            }

          } else {
            throw new Error("try statement without catch or finally");
          }
        }
      }
    },

    abrupt: function(type, arg) {
      for (var i = this.tryEntries.length - 1; i >= 0; --i) {
        var entry = this.tryEntries[i];
        if (entry.tryLoc <= this.prev &&
            hasOwn.call(entry, "finallyLoc") &&
            this.prev < entry.finallyLoc) {
          var finallyEntry = entry;
          break;
        }
      }

      if (finallyEntry &&
          (type === "break" ||
           type === "continue") &&
          finallyEntry.tryLoc <= arg &&
          arg <= finallyEntry.finallyLoc) {
        // Ignore the finally entry if control is not jumping to a
        // location outside the try/catch block.
        finallyEntry = null;
      }

      var record = finallyEntry ? finallyEntry.completion : {};
      record.type = type;
      record.arg = arg;

      if (finallyEntry) {
        this.method = "next";
        this.next = finallyEntry.finallyLoc;
        return ContinueSentinel;
      }

      return this.complete(record);
    },

    complete: function(record, afterLoc) {
      if (record.type === "throw") {
        throw record.arg;
      }

      if (record.type === "break" ||
          record.type === "continue") {
        this.next = record.arg;
      } else if (record.type === "return") {
        this.rval = this.arg = record.arg;
        this.method = "return";
        this.next = "end";
      } else if (record.type === "normal" && afterLoc) {
        this.next = afterLoc;
      }

      return ContinueSentinel;
    },

    finish: function(finallyLoc) {
      for (var i = this.tryEntries.length - 1; i >= 0; --i) {
        var entry = this.tryEntries[i];
        if (entry.finallyLoc === finallyLoc) {
          this.complete(entry.completion, entry.afterLoc);
          resetTryEntry(entry);
          return ContinueSentinel;
        }
      }
    },

    "catch": function(tryLoc) {
      for (var i = this.tryEntries.length - 1; i >= 0; --i) {
        var entry = this.tryEntries[i];
        if (entry.tryLoc === tryLoc) {
          var record = entry.completion;
          if (record.type === "throw") {
            var thrown = record.arg;
            resetTryEntry(entry);
          }
          return thrown;
        }
      }

      // The context.catch method must only be called with a location
      // argument that corresponds to a known catch block.
      throw new Error("illegal catch attempt");
    },

    delegateYield: function(iterable, resultName, nextLoc) {
      this.delegate = {
        iterator: values(iterable),
        resultName: resultName,
        nextLoc: nextLoc
      };

      if (this.method === "next") {
        // Deliberately forget the last sent value so that we don't
        // accidentally pass it on to the delegate.
        this.arg = undefined;
      }

      return ContinueSentinel;
    }
  };

  // Regardless of whether this script is executing as a CommonJS module
  // or not, return the runtime object so that we can declare the variable
  // regeneratorRuntime in the outer scope, which allows this module to be
  // injected easily by `bin/regenerator --include-runtime script.js`.
  return exports;

}(
  // If this script is executing as a CommonJS module, use module.exports
  // as the regeneratorRuntime namespace. Otherwise create a new empty
  // object. Either way, the resulting object will be used to initialize
  // the regeneratorRuntime variable at the top of this file.
   true ? module.exports : 0
));

try {
  regeneratorRuntime = runtime;
} catch (accidentalStrictMode) {
  // This module should not be running in strict mode, so the above
  // assignment should always work unless something is misconfigured. Just
  // in case runtime.js accidentally runs in strict mode, in modern engines
  // we can explicitly access globalThis. In older engines we can escape
  // strict mode using a global Function call. This could conceivably fail
  // if a Content Security Policy forbids using Function, but in that case
  // the proper solution is to fix the accidental strict mode problem. If
  // you've misconfigured your bundler to force strict mode and applied a
  // CSP to forbid Function, and you're not willing to fix either of those
  // problems, please detail your unique predicament in a GitHub issue.
  if (typeof globalThis === "object") {
    globalThis.regeneratorRuntime = runtime;
  } else {
    Function("r", "regeneratorRuntime = r")(runtime);
  }
}


/***/ },

/***/ "./node_modules/.pnpm/relative-to-absolute-iri@1.0.8/node_modules/relative-to-absolute-iri/index.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/relative-to-absolute-iri@1.0.8/node_modules/relative-to-absolute-iri/index.js ***!
  \**********************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
__exportStar(__webpack_require__(/*! ./lib/Resolve */ "./node_modules/.pnpm/relative-to-absolute-iri@1.0.8/node_modules/relative-to-absolute-iri/lib/Resolve.js"), exports);
//# sourceMappingURL=index.js.map

/***/ },

/***/ "./node_modules/.pnpm/relative-to-absolute-iri@1.0.8/node_modules/relative-to-absolute-iri/lib/Resolve.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/relative-to-absolute-iri@1.0.8/node_modules/relative-to-absolute-iri/lib/Resolve.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.removeDotSegmentsOfPath = exports.removeDotSegments = exports.resolve = void 0;
/**
 * Convert the given relative IRI to an absolute IRI
 * by taking into account the given optional baseIRI.
 *
 * @param {string} relativeIRI The relative IRI to convert to an absolute IRI.
 * @param {string} baseIRI The optional base IRI.
 * @return {string} an absolute IRI.
 */
function resolve(relativeIRI, baseIRI) {
    baseIRI = baseIRI || '';
    const baseFragmentPos = baseIRI.indexOf('#');
    // Ignore any fragments in the base IRI
    if (baseFragmentPos > 0) {
        baseIRI = baseIRI.substr(0, baseFragmentPos);
    }
    // Convert empty value directly to base IRI
    if (!relativeIRI.length) {
        // At this point, the baseIRI MUST be absolute, otherwise we error
        if (baseIRI.indexOf(':') < 0) {
            throw new Error(`Found invalid baseIRI '${baseIRI}' for value '${relativeIRI}'`);
        }
        return baseIRI;
    }
    // If the value starts with a query character, concat directly (but strip the existing query)
    if (relativeIRI.startsWith('?')) {
        const baseQueryPos = baseIRI.indexOf('?');
        if (baseQueryPos > 0) {
            baseIRI = baseIRI.substr(0, baseQueryPos);
        }
        return baseIRI + relativeIRI;
    }
    // If the value starts with a fragment character, concat directly
    if (relativeIRI.startsWith('#')) {
        return baseIRI + relativeIRI;
    }
    // Ignore baseIRI if it is empty
    if (!baseIRI.length) {
        const relativeColonPos = relativeIRI.indexOf(':');
        if (relativeColonPos < 0) {
            throw new Error(`Found invalid relative IRI '${relativeIRI}' for a missing baseIRI`);
        }
        return removeDotSegmentsOfPath(relativeIRI, relativeColonPos);
    }
    // Ignore baseIRI if the value is absolute.
    // Per RFC 3986, a URI scheme cannot contain a '/', so if a '/' appears before the first ':',
    // the IRI is a relative path (not an absolute IRI).
    const valueColonPos = relativeIRI.indexOf(':');
    if (valueColonPos >= 0) {
        const valueSlashPos = relativeIRI.indexOf('/');
        if (valueSlashPos < 0 || valueColonPos < valueSlashPos) {
            return removeDotSegmentsOfPath(relativeIRI, valueColonPos);
        }
    }
    // At this point, the baseIRI MUST be absolute, otherwise we error
    const baseColonPos = baseIRI.indexOf(':');
    if (baseColonPos < 0) {
        throw new Error(`Found invalid baseIRI '${baseIRI}' for value '${relativeIRI}'`);
    }
    const baseIRIScheme = baseIRI.substr(0, baseColonPos + 1);
    // Inherit the baseIRI scheme if the value starts with '//'
    if (relativeIRI.indexOf('//') === 0) {
        return baseIRIScheme + removeDotSegmentsOfPath(relativeIRI, valueColonPos);
    }
    // Check cases where '://' occurs in the baseIRI, and where there is no '/' after a ':' anymore.
    let baseSlashAfterColonPos;
    if (baseIRI.indexOf('//', baseColonPos) === baseColonPos + 1) {
        // If there is no additional '/' after the '//'.
        baseSlashAfterColonPos = baseIRI.indexOf('/', baseColonPos + 3);
        if (baseSlashAfterColonPos < 0) {
            // If something other than a '/' follows the '://', append the value after a '/',
            // otherwise, prefix the value with only the baseIRI scheme.
            if (baseIRI.length > baseColonPos + 3) {
                return baseIRI + '/' + removeDotSegmentsOfPath(relativeIRI, valueColonPos);
            }
            else {
                return baseIRIScheme + removeDotSegmentsOfPath(relativeIRI, valueColonPos);
            }
        }
    }
    else {
        // If there is not even a single '/' after the ':'
        baseSlashAfterColonPos = baseIRI.indexOf('/', baseColonPos + 1);
        if (baseSlashAfterColonPos < 0) {
            // If we don't have a '/' after the ':',
            // prefix the value with only the baseIRI scheme.
            return baseIRIScheme + removeDotSegmentsOfPath(relativeIRI, valueColonPos);
        }
    }
    // If the value starts with a '/', then prefix it with everything before the first effective slash of the base IRI.
    if (relativeIRI.indexOf('/') === 0) {
        return baseIRI.substr(0, baseSlashAfterColonPos) + removeDotSegments(relativeIRI);
    }
    let baseIRIPath = baseIRI.substr(baseSlashAfterColonPos);
    const baseIRILastSlashPos = baseIRIPath.lastIndexOf('/');
    // Ignore everything after the last '/' in the baseIRI path
    if (baseIRILastSlashPos >= 0 && baseIRILastSlashPos < baseIRIPath.length - 1) {
        baseIRIPath = baseIRIPath.substr(0, baseIRILastSlashPos + 1);
        // Also remove the first character of the relative path if it starts with '.' (and not '..' or './')
        // This change is only allowed if there is something else following the path
        if (relativeIRI[0] === '.' && relativeIRI[1] !== '.' && relativeIRI[1] !== '/' && relativeIRI[2]) {
            relativeIRI = relativeIRI.substr(1);
        }
    }
    // Prefix the value with the baseIRI path where
    relativeIRI = baseIRIPath + relativeIRI;
    // Remove dot segment from the IRI
    relativeIRI = removeDotSegments(relativeIRI);
    // Prefix our transformed value with the part of the baseIRI until the first '/' after the first ':'.
    return baseIRI.substr(0, baseSlashAfterColonPos) + relativeIRI;
}
exports.resolve = resolve;
/**
 * Remove dot segments from the given path,
 * as described in https://www.ietf.org/rfc/rfc3986.txt (page 32).
 * @param {string} path An IRI path.
 * @return {string} A path, will always start with a '/'.
 */
function removeDotSegments(path) {
    // Prepare a buffer with segments between each '/.
    // Each segment represents an array of characters.
    const segmentBuffers = [];
    let i = 0;
    while (i < path.length) {
        // Remove '/.' or '/..'
        switch (path[i]) {
            case '/':
                if (path[i + 1] === '.') {
                    if (path[i + 2] === '.') {
                        // Start a new segment if we find an invalid character after the '.'
                        if (!isCharacterAllowedAfterRelativePathSegment(path[i + 3])) {
                            segmentBuffers.push([]);
                            i++;
                            break;
                        }
                        // Go to parent directory,
                        // so we remove a parent segment
                        segmentBuffers.pop();
                        // Ensure that we end with a slash if there is a trailing '/..'
                        if (!path[i + 3]) {
                            segmentBuffers.push([]);
                        }
                        i += 3;
                    }
                    else {
                        // Start a new segment if we find an invalid character after the '.'
                        if (!isCharacterAllowedAfterRelativePathSegment(path[i + 2])) {
                            segmentBuffers.push([]);
                            i++;
                            break;
                        }
                        // Ensure that we end with a slash if there is a trailing '/.'
                        if (!path[i + 2]) {
                            segmentBuffers.push([]);
                        }
                        // Go to the current directory,
                        // so we do nothing
                        i += 2;
                    }
                }
                else {
                    // Start a new segment
                    segmentBuffers.push([]);
                    i++;
                }
                break;
            case '#':
            case '?':
                // Query and fragment string should be appended unchanged
                if (!segmentBuffers.length) {
                    segmentBuffers.push([]);
                }
                segmentBuffers[segmentBuffers.length - 1].push(path.substr(i));
                // Break the while loop
                i = path.length;
                break;
            default:
                // Not a special character, just append it to our buffer
                if (!segmentBuffers.length) {
                    segmentBuffers.push([]);
                }
                segmentBuffers[segmentBuffers.length - 1].push(path[i]);
                i++;
                break;
        }
    }
    return '/' + segmentBuffers.map((buffer) => buffer.join('')).join('/');
}
exports.removeDotSegments = removeDotSegments;
/**
 * Removes dot segments of the given IRI.
 * @param {string} iri An IRI (or part of IRI).
 * @param {number} colonPosition The position of the first ':' in the IRI.
 * @return {string} The IRI where dot segments were removed.
 */
function removeDotSegmentsOfPath(iri, colonPosition) {
    // Determine where we should start looking for the first '/' that indicates the start of the path
    let searchOffset = colonPosition + 1;
    if (colonPosition >= 0) {
        if (iri[colonPosition + 1] === '/' && iri[colonPosition + 2] === '/') {
            searchOffset = colonPosition + 3;
        }
    }
    else {
        if (iri[0] === '/' && iri[1] === '/') {
            searchOffset = 2;
        }
    }
    // Determine the path
    const pathSeparator = iri.indexOf('/', searchOffset);
    if (pathSeparator < 0) {
        return iri;
    }
    const base = iri.substr(0, pathSeparator);
    const path = iri.substr(pathSeparator);
    // Remove dot segments from the path
    return base + removeDotSegments(path);
}
exports.removeDotSegmentsOfPath = removeDotSegmentsOfPath;
function isCharacterAllowedAfterRelativePathSegment(character) {
    return !character || character === '#' || character === '?' || character === '/';
}
//# sourceMappingURL=Resolve.js.map

/***/ },

/***/ "./node_modules/.pnpm/reselect@4.1.8/node_modules/reselect/es/defaultMemoize.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/reselect@4.1.8/node_modules/reselect/es/defaultMemoize.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createCacheKeyComparator: () => (/* binding */ createCacheKeyComparator),
/* harmony export */   defaultEqualityCheck: () => (/* binding */ defaultEqualityCheck),
/* harmony export */   defaultMemoize: () => (/* binding */ defaultMemoize)
/* harmony export */ });
// Cache implementation based on Erik Rasmussen's `lru-memoize`:
// https://github.com/erikras/lru-memoize
var NOT_FOUND = 'NOT_FOUND';

function createSingletonCache(equals) {
  var entry;
  return {
    get: function get(key) {
      if (entry && equals(entry.key, key)) {
        return entry.value;
      }

      return NOT_FOUND;
    },
    put: function put(key, value) {
      entry = {
        key: key,
        value: value
      };
    },
    getEntries: function getEntries() {
      return entry ? [entry] : [];
    },
    clear: function clear() {
      entry = undefined;
    }
  };
}

function createLruCache(maxSize, equals) {
  var entries = [];

  function get(key) {
    var cacheIndex = entries.findIndex(function (entry) {
      return equals(key, entry.key);
    }); // We found a cached entry

    if (cacheIndex > -1) {
      var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top

      if (cacheIndex > 0) {
        entries.splice(cacheIndex, 1);
        entries.unshift(entry);
      }

      return entry.value;
    } // No entry found in cache, return sentinel


    return NOT_FOUND;
  }

  function put(key, value) {
    if (get(key) === NOT_FOUND) {
      // TODO Is unshift slow?
      entries.unshift({
        key: key,
        value: value
      });

      if (entries.length > maxSize) {
        entries.pop();
      }
    }
  }

  function getEntries() {
    return entries;
  }

  function clear() {
    entries = [];
  }

  return {
    get: get,
    put: put,
    getEntries: getEntries,
    clear: clear
  };
}

var defaultEqualityCheck = function defaultEqualityCheck(a, b) {
  return a === b;
};
function createCacheKeyComparator(equalityCheck) {
  return function areArgumentsShallowlyEqual(prev, next) {
    if (prev === null || next === null || prev.length !== next.length) {
      return false;
    } // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible.


    var length = prev.length;

    for (var i = 0; i < length; i++) {
      if (!equalityCheck(prev[i], next[i])) {
        return false;
      }
    }

    return true;
  };
}
// defaultMemoize now supports a configurable cache size with LRU behavior,
// and optional comparison of the result value with existing values
function defaultMemoize(func, equalityCheckOrOptions) {
  var providedOptions = typeof equalityCheckOrOptions === 'object' ? equalityCheckOrOptions : {
    equalityCheck: equalityCheckOrOptions
  };
  var _providedOptions$equa = providedOptions.equalityCheck,
      equalityCheck = _providedOptions$equa === void 0 ? defaultEqualityCheck : _providedOptions$equa,
      _providedOptions$maxS = providedOptions.maxSize,
      maxSize = _providedOptions$maxS === void 0 ? 1 : _providedOptions$maxS,
      resultEqualityCheck = providedOptions.resultEqualityCheck;
  var comparator = createCacheKeyComparator(equalityCheck);
  var cache = maxSize === 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); // we reference arguments instead of spreading them for performance reasons

  function memoized() {
    var value = cache.get(arguments);

    if (value === NOT_FOUND) {
      // @ts-ignore
      value = func.apply(null, arguments);

      if (resultEqualityCheck) {
        var entries = cache.getEntries();
        var matchingEntry = entries.find(function (entry) {
          return resultEqualityCheck(entry.value, value);
        });

        if (matchingEntry) {
          value = matchingEntry.value;
        }
      }

      cache.put(arguments, value);
    }

    return value;
  }

  memoized.clearCache = function () {
    return cache.clear();
  };

  return memoized;
}

/***/ },

/***/ "./node_modules/.pnpm/reselect@4.1.8/node_modules/reselect/es/index.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/reselect@4.1.8/node_modules/reselect/es/index.js ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createSelector: () => (/* binding */ createSelector),
/* harmony export */   createSelectorCreator: () => (/* binding */ createSelectorCreator),
/* harmony export */   createStructuredSelector: () => (/* binding */ createStructuredSelector),
/* harmony export */   defaultEqualityCheck: () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultEqualityCheck),
/* harmony export */   defaultMemoize: () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize)
/* harmony export */ });
/* harmony import */ var _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultMemoize */ "./node_modules/.pnpm/reselect@4.1.8/node_modules/reselect/es/defaultMemoize.js");



function getDependencies(funcs) {
  var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs;

  if (!dependencies.every(function (dep) {
    return typeof dep === 'function';
  })) {
    var dependencyTypes = dependencies.map(function (dep) {
      return typeof dep === 'function' ? "function " + (dep.name || 'unnamed') + "()" : typeof dep;
    }).join(', ');
    throw new Error("createSelector expects all input-selectors to be functions, but received the following types: [" + dependencyTypes + "]");
  }

  return dependencies;
}

function createSelectorCreator(memoize) {
  for (var _len = arguments.length, memoizeOptionsFromArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
    memoizeOptionsFromArgs[_key - 1] = arguments[_key];
  }

  var createSelector = function createSelector() {
    for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
      funcs[_key2] = arguments[_key2];
    }

    var _recomputations = 0;

    var _lastResult; // Due to the intricacies of rest params, we can't do an optional arg after `...funcs`.
    // So, start by declaring the default value here.
    // (And yes, the words 'memoize' and 'options' appear too many times in this next sequence.)


    var directlyPassedOptions = {
      memoizeOptions: undefined
    }; // Normally, the result func or "output selector" is the last arg

    var resultFunc = funcs.pop(); // If the result func is actually an _object_, assume it's our options object

    if (typeof resultFunc === 'object') {
      directlyPassedOptions = resultFunc; // and pop the real result func off

      resultFunc = funcs.pop();
    }

    if (typeof resultFunc !== 'function') {
      throw new Error("createSelector expects an output function after the inputs, but received: [" + typeof resultFunc + "]");
    } // Determine which set of options we're using. Prefer options passed directly,
    // but fall back to options given to createSelectorCreator.


    var _directlyPassedOption = directlyPassedOptions,
        _directlyPassedOption2 = _directlyPassedOption.memoizeOptions,
        memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2; // Simplifying assumption: it's unlikely that the first options arg of the provided memoizer
    // is an array. In most libs I've looked at, it's an equality function or options object.
    // Based on that, if `memoizeOptions` _is_ an array, we assume it's a full
    // user-provided array of options. Otherwise, it must be just the _first_ arg, and so
    // we wrap it in an array so we can apply it.

    var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions];
    var dependencies = getDependencies(funcs);
    var memoizedResultFunc = memoize.apply(void 0, [function recomputationWrapper() {
      _recomputations++; // apply arguments instead of spreading for performance.

      return resultFunc.apply(null, arguments);
    }].concat(finalMemoizeOptions)); // If a selector is called with the exact same arguments we don't need to traverse our dependencies again.

    var selector = memoize(function dependenciesChecker() {
      var params = [];
      var length = dependencies.length;

      for (var i = 0; i < length; i++) {
        // apply arguments instead of spreading and mutate a local list of params for performance.
        // @ts-ignore
        params.push(dependencies[i].apply(null, arguments));
      } // apply arguments instead of spreading for performance.


      _lastResult = memoizedResultFunc.apply(null, params);
      return _lastResult;
    });
    Object.assign(selector, {
      resultFunc: resultFunc,
      memoizedResultFunc: memoizedResultFunc,
      dependencies: dependencies,
      lastResult: function lastResult() {
        return _lastResult;
      },
      recomputations: function recomputations() {
        return _recomputations;
      },
      resetRecomputations: function resetRecomputations() {
        return _recomputations = 0;
      }
    });
    return selector;
  }; // @ts-ignore


  return createSelector;
}
var createSelector = /* #__PURE__ */createSelectorCreator(_defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize);
// Manual definition of state and output arguments
var createStructuredSelector = function createStructuredSelector(selectors, selectorCreator) {
  if (selectorCreator === void 0) {
    selectorCreator = createSelector;
  }

  if (typeof selectors !== 'object') {
    throw new Error('createStructuredSelector expects first argument to be an object ' + ("where each property is a selector, instead received a " + typeof selectors));
  }

  var objectKeys = Object.keys(selectors);
  var resultSelector = selectorCreator( // @ts-ignore
  objectKeys.map(function (key) {
    return selectors[key];
  }), function () {
    for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
      values[_key3] = arguments[_key3];
    }

    return values.reduce(function (composition, value, index) {
      composition[objectKeys[index]] = value;
      return composition;
    }, {});
  });
  return resultSelector;
};

/***/ },

/***/ "./node_modules/.pnpm/rifm@0.12.1_react@18.3.1/node_modules/rifm/dist/rifm.esm.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/rifm@0.12.1_react@18.3.1/node_modules/rifm/dist/rifm.esm.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Rifm: () => (/* binding */ Rifm),
/* harmony export */   useRifm: () => (/* binding */ useRifm)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);


const useRifm = props => {
  const [, refresh] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useReducer)(c => c + 1, 0);
  const valueRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
  const {
    replace,
    append
  } = props;
  const userValue = replace ? replace(props.format(props.value)) : props.format(props.value); // state of delete button see comments below about inputType support

  const isDeleleteButtonDownRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);

  const onChange = evt => {
    if (true) {
      if (evt.target.type === 'number') {
        console.error('Rifm does not support input type=number, use type=tel instead.');
        return;
      }

      if (evt.target.type === 'date') {
        console.error('Rifm does not support input type=date.');
        return;
      }
    }

    const eventValue = evt.target.value;
    valueRef.current = [eventValue, // eventValue
    evt.target, // input
    eventValue.length > userValue.length, // isSizeIncreaseOperation
    isDeleleteButtonDownRef.current, // isDeleleteButtonDown
    userValue === props.format(eventValue) // isNoOperation
    ];

    if (true) {
      const formattedEventValue = props.format(eventValue);

      if (eventValue !== formattedEventValue && eventValue.toLowerCase() === formattedEventValue.toLowerCase()) {
        console.warn('Case enforcement does not work with format. Please use replace={value => value.toLowerCase()} instead');
      }
    } // The main trick is to update underlying input with non formatted value (= eventValue)
    // that allows us to calculate right cursor position after formatting (see getCursorPosition)
    // then we format new value and call props.onChange with masked/formatted value
    // and finally we are able to set cursor position into right place


    refresh();
  }; // React prints warn on server in non production mode about useLayoutEffect usage
  // in both cases it's noop


  if ( false || typeof window !== 'undefined') {
    (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(() => {
      if (valueRef.current == null) return;
      let [eventValue, input, isSizeIncreaseOperation, isDeleleteButtonDown, // No operation means that value itself hasn't been changed, BTW cursor, selection etc can be changed
      isNoOperation] = valueRef.current;
      valueRef.current = null; // this usually occurs on deleting special symbols like ' here 123'123.00
      // in case of isDeleleteButtonDown cursor should move differently vs backspace

      const deleteWasNoOp = isDeleleteButtonDown && isNoOperation;
      const valueAfterSelectionStart = eventValue.slice(input.selectionStart);
      const acceptedCharIndexAfterDelete = valueAfterSelectionStart.search(props.accept || /\d/g);
      const charsToSkipAfterDelete = acceptedCharIndexAfterDelete !== -1 ? acceptedCharIndexAfterDelete : 0; // Create string from only accepted symbols

      const clean = str => (str.match(props.accept || /\d/g) || []).join('');

      const valueBeforeSelectionStart = clean(eventValue.substr(0, input.selectionStart)); // trying to find cursor position in formatted value having knowledge about valueBeforeSelectionStart
      // This works because we assume that format doesn't change the order of accepted symbols.
      // Imagine we have formatter which adds ' symbol between numbers, and by default we refuse all non numeric symbols
      // for example we had input = 1'2|'4 (| means cursor position) then user entered '3' symbol
      // inputValue = 1'23'|4 so valueBeforeSelectionStart = 123 and formatted value = 1'2'3'4
      // calling getCursorPosition("1'2'3'4") will give us position after 3, 1'2'3|'4
      // so for formatting just this function to determine cursor position after formatting is enough
      // with masking we need to do some additional checks see `mask` below

      const getCursorPosition = val => {
        let start = 0;
        let cleanPos = 0;

        for (let i = 0; i !== valueBeforeSelectionStart.length; ++i) {
          let newPos = val.indexOf(valueBeforeSelectionStart[i], start) + 1;
          let newCleanPos = clean(val).indexOf(valueBeforeSelectionStart[i], cleanPos) + 1; // this skips position change if accepted symbols order was broken
          // For example fixes edge case with fixed point numbers:
          // You have '0|.00', then press 1, it becomes 01|.00 and after format 1.00, this breaks our assumption
          // that order of accepted symbols is not changed after format,
          // so here we don't update start position if other accepted symbols was inbetween current and new position

          if (newCleanPos - cleanPos > 1) {
            newPos = start;
            newCleanPos = cleanPos;
          }

          cleanPos = Math.max(newCleanPos, cleanPos);
          start = Math.max(start, newPos);
        }

        return start;
      }; // Masking part, for masks if size of mask is above some value
      // we need to replace symbols instead of do nothing as like in format


      if (props.mask === true && isSizeIncreaseOperation && !isNoOperation) {
        let start = getCursorPosition(eventValue);
        const c = clean(eventValue.substr(start))[0];
        start = eventValue.indexOf(c, start);
        eventValue = `${eventValue.substr(0, start)}${eventValue.substr(start + 1)}`;
      }

      let formattedValue = props.format(eventValue);

      if (append != null && // cursor at the end
      input.selectionStart === eventValue.length && !isNoOperation) {
        if (isSizeIncreaseOperation) {
          formattedValue = append(formattedValue);
        } else {
          // If after delete last char is special character and we use append
          // delete it too
          // was: "12-3|" backspace pressed, then should be "12|"
          if (clean(formattedValue.slice(-1)) === '') {
            formattedValue = formattedValue.slice(0, -1);
          }
        }
      }

      const replacedValue = replace ? replace(formattedValue) : formattedValue;

      if (userValue === replacedValue) {
        // if nothing changed for formatted value, just refresh so userValue will be used at render
        refresh();
      } else {
        props.onChange(replacedValue);
      }

      return () => {
        let start = getCursorPosition(formattedValue); // Visually improves working with masked values,
        // like cursor jumping over refused symbols
        // as an example date mask: was "5|1-24-3" then user pressed "6"
        // it becomes "56-|12-43" with this code, and "56|-12-43" without

        if (props.mask != null && (isSizeIncreaseOperation || isDeleleteButtonDown && !deleteWasNoOp)) {
          while (formattedValue[start] && clean(formattedValue[start]) === '') {
            start += 1;
          }
        }

        input.selectionStart = input.selectionEnd = start + (deleteWasNoOp ? 1 + charsToSkipAfterDelete : 0);
      };
    });
  }

  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
    // until https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/inputType will be supported
    // by all major browsers (now supported by: +chrome, +safari, ?edge, !firefox)
    // there is no way I found to distinguish in onChange
    // backspace or delete was called in some situations
    // firefox track https://bugzilla.mozilla.org/show_bug.cgi?id=1447239
    const handleKeyDown = evt => {
      if (evt.code === 'Delete') {
        isDeleleteButtonDownRef.current = true;
      }
    };

    const handleKeyUp = evt => {
      if (evt.code === 'Delete') {
        isDeleleteButtonDownRef.current = false;
      }
    };

    document.addEventListener('keydown', handleKeyDown);
    document.addEventListener('keyup', handleKeyUp);
    return () => {
      document.removeEventListener('keydown', handleKeyDown);
      document.removeEventListener('keyup', handleKeyUp);
    };
  }, []);
  return {
    value: valueRef.current != null ? valueRef.current[0] : userValue,
    onChange
  };
};
const Rifm = props => {
  const renderProps = useRifm(props);
  return props.children(renderProps);
};




/***/ },

/***/ "./node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js ***!
  \********************************************************************************/
(module, exports, __webpack_require__) {

/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
/* eslint-disable node/no-deprecated-api */
var buffer = __webpack_require__(/*! buffer */ "./node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js")
var Buffer = buffer.Buffer

// alternative to using Object.keys for old browsers
function copyProps (src, dst) {
  for (var key in src) {
    dst[key] = src[key]
  }
}
if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
  module.exports = buffer
} else {
  // Copy properties from require('buffer')
  copyProps(buffer, exports)
  exports.Buffer = SafeBuffer
}

function SafeBuffer (arg, encodingOrOffset, length) {
  return Buffer(arg, encodingOrOffset, length)
}

SafeBuffer.prototype = Object.create(Buffer.prototype)

// Copy static methods from Buffer
copyProps(Buffer, SafeBuffer)

SafeBuffer.from = function (arg, encodingOrOffset, length) {
  if (typeof arg === 'number') {
    throw new TypeError('Argument must not be a number')
  }
  return Buffer(arg, encodingOrOffset, length)
}

SafeBuffer.alloc = function (size, fill, encoding) {
  if (typeof size !== 'number') {
    throw new TypeError('Argument must be a number')
  }
  var buf = Buffer(size)
  if (fill !== undefined) {
    if (typeof encoding === 'string') {
      buf.fill(fill, encoding)
    } else {
      buf.fill(fill)
    }
  } else {
    buf.fill(0)
  }
  return buf
}

SafeBuffer.allocUnsafe = function (size) {
  if (typeof size !== 'number') {
    throw new TypeError('Argument must be a number')
  }
  return Buffer(size)
}

SafeBuffer.allocUnsafeSlow = function (size) {
  if (typeof size !== 'number') {
    throw new TypeError('Argument must be a number')
  }
  return buffer.SlowBuffer(size)
}


/***/ },

/***/ "./node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";
/**
 * @license React
 * scheduler.development.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.
 */



if (true) {
  (function() {

          'use strict';

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
    'function'
) {
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
          var enableSchedulerDebugging = false;
var enableProfiling = false;
var frameYieldMs = 5;

function push(heap, node) {
  var index = heap.length;
  heap.push(node);
  siftUp(heap, node, index);
}
function peek(heap) {
  return heap.length === 0 ? null : heap[0];
}
function pop(heap) {
  if (heap.length === 0) {
    return null;
  }

  var first = heap[0];
  var last = heap.pop();

  if (last !== first) {
    heap[0] = last;
    siftDown(heap, last, 0);
  }

  return first;
}

function siftUp(heap, node, i) {
  var index = i;

  while (index > 0) {
    var parentIndex = index - 1 >>> 1;
    var parent = heap[parentIndex];

    if (compare(parent, node) > 0) {
      // The parent is larger. Swap positions.
      heap[parentIndex] = node;
      heap[index] = parent;
      index = parentIndex;
    } else {
      // The parent is smaller. Exit.
      return;
    }
  }
}

function siftDown(heap, node, i) {
  var index = i;
  var length = heap.length;
  var halfLength = length >>> 1;

  while (index < halfLength) {
    var leftIndex = (index + 1) * 2 - 1;
    var left = heap[leftIndex];
    var rightIndex = leftIndex + 1;
    var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.

    if (compare(left, node) < 0) {
      if (rightIndex < length && compare(right, left) < 0) {
        heap[index] = right;
        heap[rightIndex] = node;
        index = rightIndex;
      } else {
        heap[index] = left;
        heap[leftIndex] = node;
        index = leftIndex;
      }
    } else if (rightIndex < length && compare(right, node) < 0) {
      heap[index] = right;
      heap[rightIndex] = node;
      index = rightIndex;
    } else {
      // Neither child is smaller. Exit.
      return;
    }
  }
}

function compare(a, b) {
  // Compare sort index first, then task id.
  var diff = a.sortIndex - b.sortIndex;
  return diff !== 0 ? diff : a.id - b.id;
}

// TODO: Use symbols?
var ImmediatePriority = 1;
var UserBlockingPriority = 2;
var NormalPriority = 3;
var LowPriority = 4;
var IdlePriority = 5;

function markTaskErrored(task, ms) {
}

/* eslint-disable no-var */

var hasPerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';

if (hasPerformanceNow) {
  var localPerformance = performance;

  exports.unstable_now = function () {
    return localPerformance.now();
  };
} else {
  var localDate = Date;
  var initialTime = localDate.now();

  exports.unstable_now = function () {
    return localDate.now() - initialTime;
  };
} // Max 31 bit integer. The max integer size in V8 for 32-bit systems.
// Math.pow(2, 30) - 1
// 0b111111111111111111111111111111


var maxSigned31BitInt = 1073741823; // Times out immediately

var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out

var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
var NORMAL_PRIORITY_TIMEOUT = 5000;
var LOW_PRIORITY_TIMEOUT = 10000; // Never times out

var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt; // Tasks are stored on a min heap

var taskQueue = [];
var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.

var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
var currentTask = null;
var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrance.

var isPerformingWork = false;
var isHostCallbackScheduled = false;
var isHostTimeoutScheduled = false; // Capture local references to native APIs, in case a polyfill overrides them.

var localSetTimeout = typeof setTimeout === 'function' ? setTimeout : null;
var localClearTimeout = typeof clearTimeout === 'function' ? clearTimeout : null;
var localSetImmediate = typeof setImmediate !== 'undefined' ? setImmediate : null; // IE and Node.js + jsdom

var isInputPending = typeof navigator !== 'undefined' && navigator.scheduling !== undefined && navigator.scheduling.isInputPending !== undefined ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;

function advanceTimers(currentTime) {
  // Check for tasks that are no longer delayed and add them to the queue.
  var timer = peek(timerQueue);

  while (timer !== null) {
    if (timer.callback === null) {
      // Timer was cancelled.
      pop(timerQueue);
    } else if (timer.startTime <= currentTime) {
      // Timer fired. Transfer to the task queue.
      pop(timerQueue);
      timer.sortIndex = timer.expirationTime;
      push(taskQueue, timer);
    } else {
      // Remaining timers are pending.
      return;
    }

    timer = peek(timerQueue);
  }
}

function handleTimeout(currentTime) {
  isHostTimeoutScheduled = false;
  advanceTimers(currentTime);

  if (!isHostCallbackScheduled) {
    if (peek(taskQueue) !== null) {
      isHostCallbackScheduled = true;
      requestHostCallback(flushWork);
    } else {
      var firstTimer = peek(timerQueue);

      if (firstTimer !== null) {
        requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
      }
    }
  }
}

function flushWork(hasTimeRemaining, initialTime) {


  isHostCallbackScheduled = false;

  if (isHostTimeoutScheduled) {
    // We scheduled a timeout but it's no longer needed. Cancel it.
    isHostTimeoutScheduled = false;
    cancelHostTimeout();
  }

  isPerformingWork = true;
  var previousPriorityLevel = currentPriorityLevel;

  try {
    if (enableProfiling) {
      try {
        return workLoop(hasTimeRemaining, initialTime);
      } catch (error) {
        if (currentTask !== null) {
          var currentTime = exports.unstable_now();
          markTaskErrored(currentTask, currentTime);
          currentTask.isQueued = false;
        }

        throw error;
      }
    } else {
      // No catch in prod code path.
      return workLoop(hasTimeRemaining, initialTime);
    }
  } finally {
    currentTask = null;
    currentPriorityLevel = previousPriorityLevel;
    isPerformingWork = false;
  }
}

function workLoop(hasTimeRemaining, initialTime) {
  var currentTime = initialTime;
  advanceTimers(currentTime);
  currentTask = peek(taskQueue);

  while (currentTask !== null && !(enableSchedulerDebugging )) {
    if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
      // This currentTask hasn't expired, and we've reached the deadline.
      break;
    }

    var callback = currentTask.callback;

    if (typeof callback === 'function') {
      currentTask.callback = null;
      currentPriorityLevel = currentTask.priorityLevel;
      var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;

      var continuationCallback = callback(didUserCallbackTimeout);
      currentTime = exports.unstable_now();

      if (typeof continuationCallback === 'function') {
        currentTask.callback = continuationCallback;
      } else {

        if (currentTask === peek(taskQueue)) {
          pop(taskQueue);
        }
      }

      advanceTimers(currentTime);
    } else {
      pop(taskQueue);
    }

    currentTask = peek(taskQueue);
  } // Return whether there's additional work


  if (currentTask !== null) {
    return true;
  } else {
    var firstTimer = peek(timerQueue);

    if (firstTimer !== null) {
      requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
    }

    return false;
  }
}

function unstable_runWithPriority(priorityLevel, eventHandler) {
  switch (priorityLevel) {
    case ImmediatePriority:
    case UserBlockingPriority:
    case NormalPriority:
    case LowPriority:
    case IdlePriority:
      break;

    default:
      priorityLevel = NormalPriority;
  }

  var previousPriorityLevel = currentPriorityLevel;
  currentPriorityLevel = priorityLevel;

  try {
    return eventHandler();
  } finally {
    currentPriorityLevel = previousPriorityLevel;
  }
}

function unstable_next(eventHandler) {
  var priorityLevel;

  switch (currentPriorityLevel) {
    case ImmediatePriority:
    case UserBlockingPriority:
    case NormalPriority:
      // Shift down to normal priority
      priorityLevel = NormalPriority;
      break;

    default:
      // Anything lower than normal priority should remain at the current level.
      priorityLevel = currentPriorityLevel;
      break;
  }

  var previousPriorityLevel = currentPriorityLevel;
  currentPriorityLevel = priorityLevel;

  try {
    return eventHandler();
  } finally {
    currentPriorityLevel = previousPriorityLevel;
  }
}

function unstable_wrapCallback(callback) {
  var parentPriorityLevel = currentPriorityLevel;
  return function () {
    // This is a fork of runWithPriority, inlined for performance.
    var previousPriorityLevel = currentPriorityLevel;
    currentPriorityLevel = parentPriorityLevel;

    try {
      return callback.apply(this, arguments);
    } finally {
      currentPriorityLevel = previousPriorityLevel;
    }
  };
}

function unstable_scheduleCallback(priorityLevel, callback, options) {
  var currentTime = exports.unstable_now();
  var startTime;

  if (typeof options === 'object' && options !== null) {
    var delay = options.delay;

    if (typeof delay === 'number' && delay > 0) {
      startTime = currentTime + delay;
    } else {
      startTime = currentTime;
    }
  } else {
    startTime = currentTime;
  }

  var timeout;

  switch (priorityLevel) {
    case ImmediatePriority:
      timeout = IMMEDIATE_PRIORITY_TIMEOUT;
      break;

    case UserBlockingPriority:
      timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
      break;

    case IdlePriority:
      timeout = IDLE_PRIORITY_TIMEOUT;
      break;

    case LowPriority:
      timeout = LOW_PRIORITY_TIMEOUT;
      break;

    case NormalPriority:
    default:
      timeout = NORMAL_PRIORITY_TIMEOUT;
      break;
  }

  var expirationTime = startTime + timeout;
  var newTask = {
    id: taskIdCounter++,
    callback: callback,
    priorityLevel: priorityLevel,
    startTime: startTime,
    expirationTime: expirationTime,
    sortIndex: -1
  };

  if (startTime > currentTime) {
    // This is a delayed task.
    newTask.sortIndex = startTime;
    push(timerQueue, newTask);

    if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
      // All tasks are delayed, and this is the task with the earliest delay.
      if (isHostTimeoutScheduled) {
        // Cancel an existing timeout.
        cancelHostTimeout();
      } else {
        isHostTimeoutScheduled = true;
      } // Schedule a timeout.


      requestHostTimeout(handleTimeout, startTime - currentTime);
    }
  } else {
    newTask.sortIndex = expirationTime;
    push(taskQueue, newTask);
    // wait until the next time we yield.


    if (!isHostCallbackScheduled && !isPerformingWork) {
      isHostCallbackScheduled = true;
      requestHostCallback(flushWork);
    }
  }

  return newTask;
}

function unstable_pauseExecution() {
}

function unstable_continueExecution() {

  if (!isHostCallbackScheduled && !isPerformingWork) {
    isHostCallbackScheduled = true;
    requestHostCallback(flushWork);
  }
}

function unstable_getFirstCallbackNode() {
  return peek(taskQueue);
}

function unstable_cancelCallback(task) {
  // remove from the queue because you can't remove arbitrary nodes from an
  // array based heap, only the first one.)


  task.callback = null;
}

function unstable_getCurrentPriorityLevel() {
  return currentPriorityLevel;
}

var isMessageLoopRunning = false;
var scheduledHostCallback = null;
var taskTimeoutID = -1; // Scheduler periodically yields in case there is other work on the main
// thread, like user events. By default, it yields multiple times per frame.
// It does not attempt to align with frame boundaries, since most tasks don't
// need to be frame aligned; for those that do, use requestAnimationFrame.

var frameInterval = frameYieldMs;
var startTime = -1;

function shouldYieldToHost() {
  var timeElapsed = exports.unstable_now() - startTime;

  if (timeElapsed < frameInterval) {
    // The main thread has only been blocked for a really short amount of time;
    // smaller than a single frame. Don't yield yet.
    return false;
  } // The main thread has been blocked for a non-negligible amount of time. We


  return true;
}

function requestPaint() {

}

function forceFrameRate(fps) {
  if (fps < 0 || fps > 125) {
    // Using console['error'] to evade Babel and ESLint
    console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing frame rates higher than 125 fps is not supported');
    return;
  }

  if (fps > 0) {
    frameInterval = Math.floor(1000 / fps);
  } else {
    // reset the framerate
    frameInterval = frameYieldMs;
  }
}

var performWorkUntilDeadline = function () {
  if (scheduledHostCallback !== null) {
    var currentTime = exports.unstable_now(); // Keep track of the start time so we can measure how long the main thread
    // has been blocked.

    startTime = currentTime;
    var hasTimeRemaining = true; // If a scheduler task throws, exit the current browser task so the
    // error can be observed.
    //
    // Intentionally not using a try-catch, since that makes some debugging
    // techniques harder. Instead, if `scheduledHostCallback` errors, then
    // `hasMoreWork` will remain true, and we'll continue the work loop.

    var hasMoreWork = true;

    try {
      hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
    } finally {
      if (hasMoreWork) {
        // If there's more work, schedule the next message event at the end
        // of the preceding one.
        schedulePerformWorkUntilDeadline();
      } else {
        isMessageLoopRunning = false;
        scheduledHostCallback = null;
      }
    }
  } else {
    isMessageLoopRunning = false;
  } // Yielding to the browser will give it a chance to paint, so we can
};

var schedulePerformWorkUntilDeadline;

if (typeof localSetImmediate === 'function') {
  // Node.js and old IE.
  // There's a few reasons for why we prefer setImmediate.
  //
  // Unlike MessageChannel, it doesn't prevent a Node.js process from exiting.
  // (Even though this is a DOM fork of the Scheduler, you could get here
  // with a mix of Node.js 15+, which has a MessageChannel, and jsdom.)
  // https://github.com/facebook/react/issues/20756
  //
  // But also, it runs earlier which is the semantic we want.
  // If other browsers ever implement it, it's better to use it.
  // Although both of these would be inferior to native scheduling.
  schedulePerformWorkUntilDeadline = function () {
    localSetImmediate(performWorkUntilDeadline);
  };
} else if (typeof MessageChannel !== 'undefined') {
  // DOM and Worker environments.
  // We prefer MessageChannel because of the 4ms setTimeout clamping.
  var channel = new MessageChannel();
  var port = channel.port2;
  channel.port1.onmessage = performWorkUntilDeadline;

  schedulePerformWorkUntilDeadline = function () {
    port.postMessage(null);
  };
} else {
  // We should only fallback here in non-browser environments.
  schedulePerformWorkUntilDeadline = function () {
    localSetTimeout(performWorkUntilDeadline, 0);
  };
}

function requestHostCallback(callback) {
  scheduledHostCallback = callback;

  if (!isMessageLoopRunning) {
    isMessageLoopRunning = true;
    schedulePerformWorkUntilDeadline();
  }
}

function requestHostTimeout(callback, ms) {
  taskTimeoutID = localSetTimeout(function () {
    callback(exports.unstable_now());
  }, ms);
}

function cancelHostTimeout() {
  localClearTimeout(taskTimeoutID);
  taskTimeoutID = -1;
}

var unstable_requestPaint = requestPaint;
var unstable_Profiling =  null;

exports.unstable_IdlePriority = IdlePriority;
exports.unstable_ImmediatePriority = ImmediatePriority;
exports.unstable_LowPriority = LowPriority;
exports.unstable_NormalPriority = NormalPriority;
exports.unstable_Profiling = unstable_Profiling;
exports.unstable_UserBlockingPriority = UserBlockingPriority;
exports.unstable_cancelCallback = unstable_cancelCallback;
exports.unstable_continueExecution = unstable_continueExecution;
exports.unstable_forceFrameRate = forceFrameRate;
exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
exports.unstable_next = unstable_next;
exports.unstable_pauseExecution = unstable_pauseExecution;
exports.unstable_requestPaint = unstable_requestPaint;
exports.unstable_runWithPriority = unstable_runWithPriority;
exports.unstable_scheduleCallback = unstable_scheduleCallback;
exports.unstable_shouldYield = shouldYieldToHost;
exports.unstable_wrapCallback = unstable_wrapCallback;
          /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
    'function'
) {
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
}
        
  })();
}


/***/ },

/***/ "./node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js ***!
  \*****************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


if (false) // removed by dead control flow
{} else {
  module.exports = __webpack_require__(/*! ./cjs/scheduler.development.js */ "./node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js");
}


/***/ },

/***/ "./node_modules/.pnpm/side-channel-list@1.0.1/node_modules/side-channel-list/index.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/side-channel-list@1.0.1/node_modules/side-channel-list/index.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var inspect = __webpack_require__(/*! object-inspect */ "./node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js");

var $TypeError = __webpack_require__(/*! es-errors/type */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js");

/*
* This function traverses the list returning the node corresponding to the given key.
*
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.
* By doing so, all the recently used nodes can be accessed relatively quickly.
*/
/** @type {import('./list.d.ts').listGetNode} */
// eslint-disable-next-line consistent-return
var listGetNode = function (list, key, isDelete) {
	/** @type {typeof list | NonNullable<(typeof list)['next']>} */
	var prev = list;
	/** @type {(typeof list)['next']} */
	var curr;
	// eslint-disable-next-line eqeqeq
	for (; (curr = prev.next) != null; prev = curr) {
		if (curr.key === key) {
			prev.next = curr.next;
			if (!isDelete) {
				// eslint-disable-next-line no-extra-parens
				curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
				list.next = curr; // eslint-disable-line no-param-reassign
			}
			return curr;
		}
	}
};

/** @type {import('./list.d.ts').listGet} */
var listGet = function (objects, key) {
	if (!objects) {
		return void undefined;
	}
	var node = listGetNode(objects, key);
	return node && node.value;
};
/** @type {import('./list.d.ts').listSet} */
var listSet = function (objects, key, value) {
	var node = listGetNode(objects, key);
	if (node) {
		node.value = value;
	} else {
		// Prepend the new node to the beginning of the list
		objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
			key: key,
			next: objects.next,
			value: value
		});
	}
};
/** @type {import('./list.d.ts').listHas} */
var listHas = function (objects, key) {
	if (!objects) {
		return false;
	}
	return !!listGetNode(objects, key);
};
/** @type {import('./list.d.ts').listDelete} */
// eslint-disable-next-line consistent-return
var listDelete = function (objects, key) {
	if (objects) {
		return listGetNode(objects, key, true);
	}
};

/** @type {import('.')} */
module.exports = function getSideChannelList() {
	/** @typedef {ReturnType<typeof getSideChannelList>} Channel */
	/** @typedef {Parameters<Channel['get']>[0]} K */
	/** @typedef {Parameters<Channel['set']>[1]} V */

	/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;

	/** @type {Channel} */
	var channel = {
		assert: function (key) {
			if (!channel.has(key)) {
				throw new $TypeError('Side channel does not contain ' + inspect(key));
			}
		},
		'delete': function (key) {
			var deletedNode = listDelete($o, key);
			if (deletedNode && $o && !$o.next) {
				$o = void undefined;
			}
			return !!deletedNode;
		},
		get: function (key) {
			return listGet($o, key);
		},
		has: function (key) {
			return listHas($o, key);
		},
		set: function (key, value) {
			if (!$o) {
				// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
				$o = {
					next: void undefined
				};
			}
			// eslint-disable-next-line no-extra-parens
			listSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);
		}
	};
	return channel;
};


/***/ },

/***/ "./node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js");
var callBound = __webpack_require__(/*! call-bound */ "./node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js");
var inspect = __webpack_require__(/*! object-inspect */ "./node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js");

var $TypeError = __webpack_require__(/*! es-errors/type */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js");
var $Map = GetIntrinsic('%Map%', true);

/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
var $mapGet = callBound('Map.prototype.get', true);
/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */
var $mapSet = callBound('Map.prototype.set', true);
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
var $mapHas = callBound('Map.prototype.has', true);
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
var $mapDelete = callBound('Map.prototype.delete', true);
/** @type {<K, V>(thisArg: Map<K, V>) => number} */
var $mapSize = callBound('Map.prototype.size', true);

/** @type {import('.')} */
module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {
	/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */
	/** @typedef {Parameters<Channel['get']>[0]} K */
	/** @typedef {Parameters<Channel['set']>[1]} V */

	/** @type {Map<K, V> | undefined} */ var $m;

	/** @type {Channel} */
	var channel = {
		assert: function (key) {
			if (!channel.has(key)) {
				throw new $TypeError('Side channel does not contain ' + inspect(key));
			}
		},
		'delete': function (key) {
			if ($m) {
				var result = $mapDelete($m, key);
				if ($mapSize($m) === 0) {
					$m = void undefined;
				}
				return result;
			}
			return false;
		},
		get: function (key) { // eslint-disable-line consistent-return
			if ($m) {
				return $mapGet($m, key);
			}
		},
		has: function (key) {
			if ($m) {
				return $mapHas($m, key);
			}
			return false;
		},
		set: function (key, value) {
			if (!$m) {
				// @ts-expect-error TS can't handle narrowing a variable inside a closure
				$m = new $Map();
			}
			$mapSet($m, key, value);
		}
	};

	// @ts-expect-error TODO: figure out why TS is erroring here
	return channel;
};


/***/ },

/***/ "./node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js");
var callBound = __webpack_require__(/*! call-bound */ "./node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js");
var inspect = __webpack_require__(/*! object-inspect */ "./node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js");
var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "./node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js");

var $TypeError = __webpack_require__(/*! es-errors/type */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js");
var $WeakMap = GetIntrinsic('%WeakMap%', true);

/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
var $weakMapGet = callBound('WeakMap.prototype.get', true);
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */
var $weakMapSet = callBound('WeakMap.prototype.set', true);
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
var $weakMapHas = callBound('WeakMap.prototype.has', true);
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
var $weakMapDelete = callBound('WeakMap.prototype.delete', true);

/** @type {import('.')} */
module.exports = $WeakMap
	? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {
		/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */
		/** @typedef {Parameters<Channel['get']>[0]} K */
		/** @typedef {Parameters<Channel['set']>[1]} V */

		/** @type {WeakMap<K & object, V> | undefined} */ var $wm;
		/** @type {Channel | undefined} */ var $m;

		/** @type {Channel} */
		var channel = {
			assert: function (key) {
				if (!channel.has(key)) {
					throw new $TypeError('Side channel does not contain ' + inspect(key));
				}
			},
			'delete': function (key) {
				if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
					if ($wm) {
						return $weakMapDelete($wm, key);
					}
				} else if (getSideChannelMap) {
					if ($m) {
						return $m['delete'](key);
					}
				}
				return false;
			},
			get: function (key) {
				if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
					if ($wm) {
						return $weakMapGet($wm, key);
					}
				}
				return $m && $m.get(key);
			},
			has: function (key) {
				if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
					if ($wm) {
						return $weakMapHas($wm, key);
					}
				}
				return !!$m && $m.has(key);
			},
			set: function (key, value) {
				if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
					if (!$wm) {
						$wm = new $WeakMap();
					}
					$weakMapSet($wm, key, value);
				} else if (getSideChannelMap) {
					if (!$m) {
						$m = getSideChannelMap();
					}
					// eslint-disable-next-line no-extra-parens
					/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);
				}
			}
		};

		// @ts-expect-error TODO: figure out why this is erroring
		return channel;
	}
	: getSideChannelMap;


/***/ },

/***/ "./node_modules/.pnpm/side-channel@1.1.1/node_modules/side-channel/index.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/side-channel@1.1.1/node_modules/side-channel/index.js ***!
  \**********************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


var $TypeError = __webpack_require__(/*! es-errors/type */ "./node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js");
var inspect = __webpack_require__(/*! object-inspect */ "./node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js");
var getSideChannelList = __webpack_require__(/*! side-channel-list */ "./node_modules/.pnpm/side-channel-list@1.0.1/node_modules/side-channel-list/index.js");
var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "./node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js");
var getSideChannelWeakMap = __webpack_require__(/*! side-channel-weakmap */ "./node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js");

var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;

/** @type {import('.')} */
module.exports = function getSideChannel() {
	/** @typedef {ReturnType<typeof getSideChannel>} Channel */

	/** @type {Channel | undefined} */ var $channelData;

	/** @type {Channel} */
	var channel = {
		assert: function (key) {
			if (!channel.has(key)) {
				var keyDesc = key && Object(key) === key
					? 'the given object key'
					: inspect(key);
				throw new $TypeError('Side channel does not contain ' + keyDesc);
			}
		},
		'delete': function (key) {
			return !!$channelData && $channelData['delete'](key);
		},
		get: function (key) {
			return $channelData && $channelData.get(key);
		},
		has: function (key) {
			return !!$channelData && $channelData.has(key);
		},
		set: function (key, value) {
			if (!$channelData) {
				$channelData = makeChannel();
			}

			$channelData.set(key, value);
		}
	};

	return channel;
};


/***/ },

/***/ "./node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js ***!
  \***************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.



/*<replacement>*/

var Buffer = (__webpack_require__(/*! safe-buffer */ "./node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js").Buffer);
/*</replacement>*/

var isEncoding = Buffer.isEncoding || function (encoding) {
  encoding = '' + encoding;
  switch (encoding && encoding.toLowerCase()) {
    case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':
      return true;
    default:
      return false;
  }
};

function _normalizeEncoding(enc) {
  if (!enc) return 'utf8';
  var retried;
  while (true) {
    switch (enc) {
      case 'utf8':
      case 'utf-8':
        return 'utf8';
      case 'ucs2':
      case 'ucs-2':
      case 'utf16le':
      case 'utf-16le':
        return 'utf16le';
      case 'latin1':
      case 'binary':
        return 'latin1';
      case 'base64':
      case 'ascii':
      case 'hex':
        return enc;
      default:
        if (retried) return; // undefined
        enc = ('' + enc).toLowerCase();
        retried = true;
    }
  }
};

// Do not cache `Buffer.isEncoding` when checking encoding names as some
// modules monkey-patch it to support additional encodings
function normalizeEncoding(enc) {
  var nenc = _normalizeEncoding(enc);
  if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
  return nenc || enc;
}

// StringDecoder provides an interface for efficiently splitting a series of
// buffers into a series of JS strings without breaking apart multi-byte
// characters.
exports.StringDecoder = StringDecoder;
function StringDecoder(encoding) {
  this.encoding = normalizeEncoding(encoding);
  var nb;
  switch (this.encoding) {
    case 'utf16le':
      this.text = utf16Text;
      this.end = utf16End;
      nb = 4;
      break;
    case 'utf8':
      this.fillLast = utf8FillLast;
      nb = 4;
      break;
    case 'base64':
      this.text = base64Text;
      this.end = base64End;
      nb = 3;
      break;
    default:
      this.write = simpleWrite;
      this.end = simpleEnd;
      return;
  }
  this.lastNeed = 0;
  this.lastTotal = 0;
  this.lastChar = Buffer.allocUnsafe(nb);
}

StringDecoder.prototype.write = function (buf) {
  if (buf.length === 0) return '';
  var r;
  var i;
  if (this.lastNeed) {
    r = this.fillLast(buf);
    if (r === undefined) return '';
    i = this.lastNeed;
    this.lastNeed = 0;
  } else {
    i = 0;
  }
  if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);
  return r || '';
};

StringDecoder.prototype.end = utf8End;

// Returns only complete characters in a Buffer
StringDecoder.prototype.text = utf8Text;

// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer
StringDecoder.prototype.fillLast = function (buf) {
  if (this.lastNeed <= buf.length) {
    buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
    return this.lastChar.toString(this.encoding, 0, this.lastTotal);
  }
  buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
  this.lastNeed -= buf.length;
};

// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a
// continuation byte. If an invalid byte is detected, -2 is returned.
function utf8CheckByte(byte) {
  if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;
  return byte >> 6 === 0x02 ? -1 : -2;
}

// Checks at most 3 bytes at the end of a Buffer in order to detect an
// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)
// needed to complete the UTF-8 character (if applicable) are returned.
function utf8CheckIncomplete(self, buf, i) {
  var j = buf.length - 1;
  if (j < i) return 0;
  var nb = utf8CheckByte(buf[j]);
  if (nb >= 0) {
    if (nb > 0) self.lastNeed = nb - 1;
    return nb;
  }
  if (--j < i || nb === -2) return 0;
  nb = utf8CheckByte(buf[j]);
  if (nb >= 0) {
    if (nb > 0) self.lastNeed = nb - 2;
    return nb;
  }
  if (--j < i || nb === -2) return 0;
  nb = utf8CheckByte(buf[j]);
  if (nb >= 0) {
    if (nb > 0) {
      if (nb === 2) nb = 0;else self.lastNeed = nb - 3;
    }
    return nb;
  }
  return 0;
}

// Validates as many continuation bytes for a multi-byte UTF-8 character as
// needed or are available. If we see a non-continuation byte where we expect
// one, we "replace" the validated continuation bytes we've seen so far with
// a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding
// behavior. The continuation byte check is included three times in the case
// where all of the continuation bytes for a character exist in the same buffer.
// It is also done this way as a slight performance increase instead of using a
// loop.
function utf8CheckExtraBytes(self, buf, p) {
  if ((buf[0] & 0xC0) !== 0x80) {
    self.lastNeed = 0;
    return '\ufffd';
  }
  if (self.lastNeed > 1 && buf.length > 1) {
    if ((buf[1] & 0xC0) !== 0x80) {
      self.lastNeed = 1;
      return '\ufffd';
    }
    if (self.lastNeed > 2 && buf.length > 2) {
      if ((buf[2] & 0xC0) !== 0x80) {
        self.lastNeed = 2;
        return '\ufffd';
      }
    }
  }
}

// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.
function utf8FillLast(buf) {
  var p = this.lastTotal - this.lastNeed;
  var r = utf8CheckExtraBytes(this, buf, p);
  if (r !== undefined) return r;
  if (this.lastNeed <= buf.length) {
    buf.copy(this.lastChar, p, 0, this.lastNeed);
    return this.lastChar.toString(this.encoding, 0, this.lastTotal);
  }
  buf.copy(this.lastChar, p, 0, buf.length);
  this.lastNeed -= buf.length;
}

// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a
// partial character, the character's bytes are buffered until the required
// number of bytes are available.
function utf8Text(buf, i) {
  var total = utf8CheckIncomplete(this, buf, i);
  if (!this.lastNeed) return buf.toString('utf8', i);
  this.lastTotal = total;
  var end = buf.length - (total - this.lastNeed);
  buf.copy(this.lastChar, 0, end);
  return buf.toString('utf8', i, end);
}

// For UTF-8, a replacement character is added when ending on a partial
// character.
function utf8End(buf) {
  var r = buf && buf.length ? this.write(buf) : '';
  if (this.lastNeed) return r + '\ufffd';
  return r;
}

// UTF-16LE typically needs two bytes per character, but even if we have an even
// number of bytes available, we need to check if we end on a leading/high
// surrogate. In that case, we need to wait for the next two bytes in order to
// decode the last character properly.
function utf16Text(buf, i) {
  if ((buf.length - i) % 2 === 0) {
    var r = buf.toString('utf16le', i);
    if (r) {
      var c = r.charCodeAt(r.length - 1);
      if (c >= 0xD800 && c <= 0xDBFF) {
        this.lastNeed = 2;
        this.lastTotal = 4;
        this.lastChar[0] = buf[buf.length - 2];
        this.lastChar[1] = buf[buf.length - 1];
        return r.slice(0, -1);
      }
    }
    return r;
  }
  this.lastNeed = 1;
  this.lastTotal = 2;
  this.lastChar[0] = buf[buf.length - 1];
  return buf.toString('utf16le', i, buf.length - 1);
}

// For UTF-16LE we do not explicitly append special replacement characters if we
// end on a partial character, we simply let v8 handle that.
function utf16End(buf) {
  var r = buf && buf.length ? this.write(buf) : '';
  if (this.lastNeed) {
    var end = this.lastTotal - this.lastNeed;
    return r + this.lastChar.toString('utf16le', 0, end);
  }
  return r;
}

function base64Text(buf, i) {
  var n = (buf.length - i) % 3;
  if (n === 0) return buf.toString('base64', i);
  this.lastNeed = 3 - n;
  this.lastTotal = 3;
  if (n === 1) {
    this.lastChar[0] = buf[buf.length - 1];
  } else {
    this.lastChar[0] = buf[buf.length - 2];
    this.lastChar[1] = buf[buf.length - 1];
  }
  return buf.toString('base64', i, buf.length - n);
}

function base64End(buf) {
  var r = buf && buf.length ? this.write(buf) : '';
  if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);
  return r;
}

// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)
function simpleWrite(buf) {
  return buf.toString(this.encoding);
}

function simpleEnd(buf) {
  return buf && buf.length ? this.write(buf) : '';
}

/***/ },

/***/ "./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.scss"
/*!******************************************************************************!*\
  !*** ./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.scss ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ConstraintEditor.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/editors/ConstraintEditor/ConstraintEditor.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/admin/configs/types/presenters/Constraints/Constraints.scss"
/*!*****************************************************************************!*\
  !*** ./modules/admin/configs/types/presenters/Constraints/Constraints.scss ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Constraints.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/types/presenters/Constraints/Constraints.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.scss"
/*!***********************************************************************************************!*\
  !*** ./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.scss ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StoreConfigPresenter_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./StoreConfigPresenter.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/configs/types/presenters/StoreConfigPresenter/StoreConfigPresenter.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StoreConfigPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StoreConfigPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StoreConfigPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StoreConfigPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/style.scss"
/*!*******************************************************************************!*\
  !*** ./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/style.scss ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./style.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/admin/users/UsersView/dialogs/ChangePasswordDialog/style.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.scss"
/*!************************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.scss ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListItem.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/CatalogOverview/components/ListItem/ListItem.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.scss"
/*!****************************************************************************************!*\
  !*** ./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.scss ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Statistics_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Statistics.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/CatalogOverview/components/Statistics/Statistics.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Statistics_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Statistics_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Statistics_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Statistics_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.scss"
/*!***********************************************************************!*\
  !*** ./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.scss ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EmbedDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./EmbedDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/catalogs/dialogs/EmbedDialog/EmbedDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EmbedDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EmbedDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EmbedDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EmbedDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.scss"
/*!*****************************************************************************************************!*\
  !*** ./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.scss ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetTemplateListFilters_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./DatasetTemplateListFilters.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasetTemplates/DatasetTemplateListFilters/DatasetTemplateListFilters.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetTemplateListFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetTemplateListFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetTemplateListFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetTemplateListFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.scss"
/*!****************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.scss ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/ApiInfoDialog/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.scss"
/*!******************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.scss ***!
  \******************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StatisticsDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./StatisticsDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/DistributionList/dialogs/StatisticsDialog/StatisticsDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StatisticsDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StatisticsDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StatisticsDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_StatisticsDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.scss"
/*!*******************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.scss ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SelectGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SelectGroup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/SelectGroup/SelectGroup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SelectGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SelectGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SelectGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SelectGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.scss"
/*!*************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.scss ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionList_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SuggestionList.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/SuggestionList/SuggestionList.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionList_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionList_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.scss"
/*!*******************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.scss ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationForm_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./VisualizationForm.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationForm/VisualizationForm.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.scss"
/*!*************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.scss ***!
  \*************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationPreview_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./VisualizationPreview.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationPreview/VisualizationPreview.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_VisualizationPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.scss"
/*!**************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.scss ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_WmsPreview_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./WmsPreview.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationPreview/WmsPreview/WmsPreview.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_WmsPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_WmsPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_WmsPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_WmsPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.scss"
/*!********************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/VisualizationTable/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.scss"
/*!*****************************************************************************************************************!*\
  !*** ./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.scss ***!
  \*****************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CreateDistributionDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./CreateDistributionDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/DatasetOverview/dialogs/CreateDistributionDialog/CreateDistributionDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CreateDistributionDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CreateDistributionDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CreateDistributionDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CreateDistributionDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.scss"
/*!*****************************************************************************!*\
  !*** ./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.scss ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetPreview_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./DatasetPreview.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/datasets/preview/DatasetPreview/DatasetPreview.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DatasetPreview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/statistics/PrintButton/PrintButton.scss"
/*!*****************************************************************!*\
  !*** ./modules/catalog/statistics/PrintButton/PrintButton.scss ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrintButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./PrintButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/statistics/PrintButton/PrintButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrintButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrintButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrintButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrintButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/statistics/index.scss"
/*!***********************************************!*\
  !*** ./modules/catalog/statistics/index.scss ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/statistics/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionChecklistDialog.scss"
/*!******************************************************************************************************!*\
  !*** ./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionChecklistDialog.scss ***!
  \******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionChecklistDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SuggestionChecklistDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/catalog/suggestions/dialogs/SuggestionChecklistDialog/SuggestionChecklistDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionChecklistDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionChecklistDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionChecklistDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SuggestionChecklistDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/CommentsDialog/CommentDialog.scss"
/*!***********************************************************!*\
  !*** ./modules/commons/CommentsDialog/CommentDialog.scss ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CommentDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./CommentDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/CommentsDialog/CommentDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CommentDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CommentDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CommentDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_CommentDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.scss"
/*!****************************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.scss ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExternalLinks_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ExternalLinks.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/ExternalLinks/ExternalLinks.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExternalLinks_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExternalLinks_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExternalLinks_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExternalLinks_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.scss"
/*!**********************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.scss ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HelpDrawer_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./HelpDrawer.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/HelpDrawer/HelpDrawer.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HelpDrawer_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HelpDrawer_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HelpDrawer_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HelpDrawer_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/Layout/MainLayout/MainLayout.scss"
/*!***********************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/MainLayout.scss ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MainLayout_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./MainLayout.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/MainLayout.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MainLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MainLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MainLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MainLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/Layout/MainLayout/PinToggle/PinToggle.scss"
/*!********************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/PinToggle/PinToggle.scss ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PinToggle_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./PinToggle.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/PinToggle/PinToggle.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PinToggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PinToggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PinToggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PinToggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.scss"
/*!************************************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.scss ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrimaryNavigation_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./PrimaryNavigation.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/PrimaryNavigation/PrimaryNavigation.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrimaryNavigation_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrimaryNavigation_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrimaryNavigation_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PrimaryNavigation_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/Layout/MainLayout/UserMenu/UserMenu.scss"
/*!******************************************************************!*\
  !*** ./modules/commons/Layout/MainLayout/UserMenu/UserMenu.scss ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_UserMenu_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./UserMenu.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/MainLayout/UserMenu/UserMenu.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_UserMenu_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_UserMenu_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_UserMenu_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_UserMenu_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.scss"
/*!***************************************************************************!*\
  !*** ./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.scss ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SingleColumnLayout_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SingleColumnLayout.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/Layout/SingleColumnLayout/SingleColumnLayout.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SingleColumnLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SingleColumnLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SingleColumnLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SingleColumnLayout_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/animations/BalloonAnimation/BalloonAnimation.scss"
/*!***************************************************************************!*\
  !*** ./modules/commons/animations/BalloonAnimation/BalloonAnimation.scss ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BalloonAnimation_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./BalloonAnimation.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/animations/BalloonAnimation/BalloonAnimation.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BalloonAnimation_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BalloonAnimation_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BalloonAnimation_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BalloonAnimation_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/app.scss"
/*!**********************************!*\
  !*** ./modules/commons/app.scss ***!
  \**********************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_app_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./app.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/app.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_app_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_app_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_app_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_app_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/auth/Signin/Signin.scss"
/*!*************************************************!*\
  !*** ./modules/commons/auth/Signin/Signin.scss ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signin_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Signin.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/auth/Signin/Signin.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signin_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signin_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signin_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signin_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/auth/Signup/Signup.scss"
/*!*************************************************!*\
  !*** ./modules/commons/auth/Signup/Signup.scss ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Signup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/auth/Signup/Signup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Signup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Alert/Alert.scss"
/*!*****************************************************!*\
  !*** ./modules/commons/components/Alert/Alert.scss ***!
  \*****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Alert_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Alert.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Alert/Alert.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Alert_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Alert_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Alert_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Alert_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.scss"
/*!***************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.scss ***!
  \***************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./MultiCreateButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/buttons/MultiCreateButton/MultiCreateButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.scss"
/*!***************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.scss ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDownloadEntryDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListDownloadEntryDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/dialogs/ListDownloadEntryDialog/ListDownloadEntryDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDownloadEntryDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDownloadEntryDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDownloadEntryDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDownloadEntryDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.scss"
/*!***************************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.scss ***!
  \***************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListImageViewInfoDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListImageViewInfoDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/dialogs/ListImageViewInfoDialog/ListImageViewInfoDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListImageViewInfoDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListImageViewInfoDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListImageViewInfoDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListImageViewInfoDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.scss"
/*!*********************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.scss ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDraftStatusIcon_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListDraftStatusIcon.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/listItems/ListDraftStatusIcon/ListDraftStatusIcon.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDraftStatusIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDraftStatusIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDraftStatusIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListDraftStatusIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.scss"
/*!*******************************************************************************************************!*\
  !*** ./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.scss ***!
  \*******************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ReferenceEntriesList_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ReferenceEntriesList.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/EntryListView/lists/ReferenceEntriesList/ReferenceEntriesList.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ReferenceEntriesList_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ReferenceEntriesList_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ReferenceEntriesList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ReferenceEntriesList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Icon/Icon.scss"
/*!***************************************************!*\
  !*** ./modules/commons/components/Icon/Icon.scss ***!
  \***************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Icon_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Icon.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Icon/Icon.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Icon_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Icon_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Icon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Icon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ImagePresenter/ImagePresenter.scss"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/ImagePresenter/ImagePresenter.scss ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ImagePresenter_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ImagePresenter.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ImagePresenter/ImagePresenter.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ImagePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ImagePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ImagePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ImagePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/InformationBlock/InformationBlock.scss"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/InformationBlock/InformationBlock.scss ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InformationBlock_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./InformationBlock.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/InformationBlock/InformationBlock.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InformationBlock_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InformationBlock_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InformationBlock_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InformationBlock_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.scss"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.scss ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BrowserPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./BrowserPlaceholder.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/BrowserPlaceholder.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BrowserPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BrowserPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BrowserPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_BrowserPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.scss"
/*!***********************************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.scss ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LanguageControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LanguageControlGroup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/LanguageControlGroup/LanguageControlGroup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LanguageControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LanguageControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LanguageControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LanguageControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.scss"
/*!*****************************************************************************************!*\
  !*** ./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.scss ***!
  \*****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkedDataBrowserDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LinkedDataBrowserDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LinkedDataBrowserDialog/LinkedDataBrowserDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkedDataBrowserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkedDataBrowserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkedDataBrowserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkedDataBrowserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListActions/ListActions.scss"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListActions/ListActions.scss ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListActions_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListActions.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListActions/ListActions.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListActions_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListActions_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListActions_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListActions_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListHeader/ListHeader.scss"
/*!************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListHeader/ListHeader.scss ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListHeader_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListHeader.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListHeader/ListHeader.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.scss"
/*!***************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.scss ***!
  \***************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemSort_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListItemSort.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListHeader/ListItemSort/ListItemSort.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemSort_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemSort_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemSort_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemSort_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItem.scss"
/*!********************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItem.scss ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListItem.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItem.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.scss"
/*!*****************************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.scss ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemActionsGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListItemActionsGroup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemActionsGroup/ListItemActionsGroup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemActionsGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemActionsGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemActionsGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemActionsGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.scss"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.scss ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemIcon_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListItemIcon.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemIcon/ListItemIcon.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.scss"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.scss ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemText_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListItemText.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListItem/ListItemText/ListItemText.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemText_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemText_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemText_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListItemText_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.scss"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.scss ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListPlaceholder.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListPlaceholder/ListPlaceholder.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListSearch/ListSearch.scss"
/*!************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListSearch/ListSearch.scss ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearch_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListSearch.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListSearch/ListSearch.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearch_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearch_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearch_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearch_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.scss"
/*!*********************************************************************************************!*\
  !*** ./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.scss ***!
  \*********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearchField_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ListSearchField.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ListView/ListSearch/ListSearchField/ListSearchField.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearchField_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearchField_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearchField_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ListSearchField_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Loader/Loader.scss"
/*!*******************************************************!*\
  !*** ./modules/commons/components/Loader/Loader.scss ***!
  \*******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Loader_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Loader.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Loader/Loader.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Loader_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Loader_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Loader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Loader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/LoadingButton/index.scss"
/*!*************************************************************!*\
  !*** ./modules/commons/components/LoadingButton/index.scss ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/LoadingButton/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/MaintenanceView/MaintenanceView.scss"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/MaintenanceView/MaintenanceView.scss ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceView_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./MaintenanceView.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/MaintenanceView/MaintenanceView.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceView_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceView_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceView_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceView_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/Map.scss"
/*!*************************************************!*\
  !*** ./modules/commons/components/Map/Map.scss ***!
  \*************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Map_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Map.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/Map.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Map_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Map_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Map_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Map_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.scss"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FeatureInfo_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./FeatureInfo.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/components/FeatureInfo/FeatureInfo.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FeatureInfo_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FeatureInfo_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FeatureInfo_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FeatureInfo_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/controls/AttributionControl/AttributionControl.scss"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/AttributionControl/AttributionControl.scss ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributionControl_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./AttributionControl.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/AttributionControl/AttributionControl.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributionControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributionControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributionControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributionControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/controls/ControlButton/ControlButton.scss"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ControlButton/ControlButton.scss ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ControlButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ControlButton/ControlButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/controls/ControlGroup/ControlGroup.scss"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ControlGroup/ControlGroup.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ControlGroup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ControlGroup/ControlGroup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.scss"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.scss ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DrawControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./DrawControlGroup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/DrawControlGroup/DrawControlGroup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DrawControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DrawControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DrawControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_DrawControlGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.scss"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.scss ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerLegendControl_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LayerLegendControl.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/LayerLegendControl/LayerLegendControl.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerLegendControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerLegendControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerLegendControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerLegendControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.scss"
/*!************************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.scss ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerSwitcherControl_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LayerSwitcherControl.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/LayerSwitcherControl/LayerSwitcherControl.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerSwitcherControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerSwitcherControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerSwitcherControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LayerSwitcherControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.scss"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.scss ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ScaleLineControl_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ScaleLineControl.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/Map/controls/ScaleLineControl/ScaleLineControl.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ScaleLineControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ScaleLineControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ScaleLineControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ScaleLineControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/SearchInput/SearchInput.scss"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/SearchInput/SearchInput.scss ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchInput_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SearchInput.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/SearchInput/SearchInput.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchInput_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchInput_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchInput_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchInput_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/TableView/components/CellExpand/index.scss"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/TableView/components/CellExpand/index.scss ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/TableView/components/CellExpand/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/TableView/style.scss"
/*!*********************************************************!*\
  !*** ./modules/commons/components/TableView/style.scss ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./style.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/TableView/style.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/ValidationReport/ValidationReport.scss"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/ValidationReport/ValidationReport.scss ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationReport_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ValidationReport.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/ValidationReport/ValidationReport.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.scss"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.scss ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ActionsMenuButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ActionsMenuButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/ActionsMenuButton/ActionsMenuButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ActionsMenuButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ActionsMenuButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ActionsMenuButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ActionsMenuButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/buttons/ExpandButton/ExpandButton.scss"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/buttons/ExpandButton/ExpandButton.scss ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExpandButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ExpandButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/ExpandButton/ExpandButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExpandButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExpandButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExpandButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExpandButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/buttons/IconButton/index.scss"
/*!******************************************************************!*\
  !*** ./modules/commons/components/buttons/IconButton/index.scss ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/IconButton/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.scss"
/*!*************************************************************************************!*\
  !*** ./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.scss ***!
  \*************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./MultiCreateButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/buttons/MultiCreateButton/MultiCreateButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MultiCreateButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/chart/Chart/Chart.scss"
/*!***********************************************************!*\
  !*** ./modules/commons/components/chart/Chart/Chart.scss ***!
  \***********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Chart_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Chart.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/Chart/Chart.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Chart_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Chart_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Chart_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Chart_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.scss"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.scss ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ChartPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ChartPlaceholder.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/ChartPlaceholder/ChartPlaceholder.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ChartPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ChartPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ChartPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ChartPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/chart/style.css"
/*!****************************************************!*\
  !*** ./modules/commons/components/chart/style.css ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./style.css */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/chart/style.css");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/ExpandableListItem/index.scss"
/*!*************************************************************************!*\
  !*** ./modules/commons/components/common/ExpandableListItem/index.scss ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/ExpandableListItem/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/Icons/index.scss"
/*!************************************************************!*\
  !*** ./modules/commons/components/common/Icons/index.scss ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Icons/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/Placeholder/Placeholder.scss"
/*!************************************************************************!*\
  !*** ./modules/commons/components/common/Placeholder/Placeholder.scss ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Placeholder_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Placeholder.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Placeholder/Placeholder.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Placeholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Placeholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Placeholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Placeholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/ProgressList/ProgressList.scss"
/*!**************************************************************************!*\
  !*** ./modules/commons/components/common/ProgressList/ProgressList.scss ***!
  \**************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProgressList_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ProgressList.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/ProgressList/ProgressList.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProgressList_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProgressList_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProgressList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProgressList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.scss"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.scss ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SegmentedControlTabs_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SegmentedControlTabs.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/SegmentedControlTabs/SegmentedControlTabs.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SegmentedControlTabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SegmentedControlTabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SegmentedControlTabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SegmentedControlTabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/Spin/Spin.scss"
/*!**********************************************************!*\
  !*** ./modules/commons/components/common/Spin/Spin.scss ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Spin_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Spin.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Spin/Spin.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Spin_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Spin_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Spin_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Spin_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/Switch/index.scss"
/*!*************************************************************!*\
  !*** ./modules/commons/components/common/Switch/index.scss ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Switch/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/Tabs/Tabs.scss"
/*!**********************************************************!*\
  !*** ./modules/commons/components/common/Tabs/Tabs.scss ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tabs_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Tabs.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/Tabs/Tabs.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tabs_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.scss"
/*!************************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.scss ***!
  \************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/dialogs/DialogTwoColumnLayout/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/common/dialogs/ListActionDialog/index.scss"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/common/dialogs/ListActionDialog/index.scss ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/common/dialogs/ListActionDialog/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/entry/Import/index.scss"
/*!************************************************************!*\
  !*** ./modules/commons/components/entry/Import/index.scss ***!
  \************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/entry/Import/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/filters/SearchFilter/SearchFilter.scss"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFilter/SearchFilter.scss ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilter_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SearchFilter.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/filters/SearchFilter/SearchFilter.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilter_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilter_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/filters/SearchFilters/SearchFilters.scss"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/filters/SearchFilters/SearchFilters.scss ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilters_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./SearchFilters.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/filters/SearchFilters/SearchFilters.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_SearchFilters_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/editors/EditSection/EditSection.scss"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/EditSection/EditSection.scss ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EditSection_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./EditSection.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/EditSection/EditSection.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EditSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EditSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EditSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EditSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/editors/Field/Field.scss"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Field/Field.scss ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Field.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Field/Field.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/editors/FieldControl/FieldControl.scss"
/*!*********************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/FieldControl/FieldControl.scss ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldControl_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./FieldControl.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/FieldControl/FieldControl.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldControl_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/editors/Fields/Fields.scss"
/*!*********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Fields/Fields.scss ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Fields.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Fields/Fields.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/editors/Group/Group.scss"
/*!*******************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Group/Group.scss ***!
  \*******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Group_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Group.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Group/Group.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Group_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Group_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Group_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Group_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/editors/RadioGroup/RadioGroup.scss"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/forms/editors/RadioGroup/RadioGroup.scss ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RadioGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./RadioGroup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/RadioGroup/RadioGroup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RadioGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RadioGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RadioGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RadioGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/editors/Subform/Subform.scss"
/*!***********************************************************************!*\
  !*** ./modules/commons/components/forms/editors/Subform/Subform.scss ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Subform_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Subform.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/editors/Subform/Subform.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Subform_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Subform_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Subform_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Subform_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/presenters/Field/Field.scss"
/*!**********************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Field/Field.scss ***!
  \**********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Field.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Field/Field.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Field_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/presenters/Fields/Fields.scss"
/*!************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Fields/Fields.scss ***!
  \************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Fields.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Fields/Fields.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Fields_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.scss"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.scss ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldsLabel_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./FieldsLabel.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/FieldsLabel/FieldsLabel.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldsLabel_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldsLabel_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldsLabel_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldsLabel_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/forms/presenters/Language/Language.scss"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/forms/presenters/Language/Language.scss ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Language_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Language.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/forms/presenters/Language/Language.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Language_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Language_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Language_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Language_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/Overview/index.scss"
/*!*****************************************************************!*\
  !*** ./modules/commons/components/overview/Overview/index.scss ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/Overview/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.scss"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.scss ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewBackButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewBackButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewBackButton/OverviewBackButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewBackButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewBackButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewBackButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewBackButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewDescription/OverviewDescription.scss"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewDescription/OverviewDescription.scss ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewDescription_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewDescription.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewDescription/OverviewDescription.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewDescription_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewDescription_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewDescription_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewDescription_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewHeader/OverviewHeader.scss"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewHeader/OverviewHeader.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewHeader_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewHeader.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewHeader/OverviewHeader.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.scss"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.scss ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListHeader_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewListHeader.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewListHeader/OverviewListHeader.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListHeader_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.scss"
/*!**************************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.scss ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewListPlaceholder.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewListPlaceholder/OverviewListPlaceholder.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewListPlaceholder_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.scss"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.scss ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataList_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewMetadataList.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewMetadataList/OverviewMetadataList.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataList_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataList_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.scss"
/*!****************************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.scss ***!
  \****************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataListItem_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewMetadataListItem.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewMetadataListItem/OverviewMetadataListItem.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewMetadataListItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewSection/OverviewSection.scss"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSection/OverviewSection.scss ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSection_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewSection.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSection/OverviewSection.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSection_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.scss"
/*!**********************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.scss ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebar_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewSidebar.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebar/OverviewSidebar.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebar_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebar_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebar_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebar_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.scss"
/*!**********************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.scss ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewSidebarButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarButton/OverviewSidebarButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.scss"
/*!************************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.scss ***!
  \************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarDivider_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewSidebarDivider.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarDivider/OverviewSidebarDivider.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarDivider_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarDivider_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarDivider_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarDivider_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.scss"
/*!******************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.scss ***!
  \******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarItem_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewSidebarItem.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewSidebarItem/OverviewSidebarItem.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewSidebarItem_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewTags/OverviewTags.scss"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTags/OverviewTags.scss ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTags_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewTags.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTags/OverviewTags.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTags_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTags_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTags_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTags_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.scss"
/*!****************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.scss ***!
  \****************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewTileButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTileButton/OverviewTileButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.scss"
/*!**************************************************************************************************!*\
  !*** ./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.scss ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButtonGroup_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./OverviewTileButtonGroup.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/overview/OverviewTileButtonGroup/OverviewTileButtonGroup.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButtonGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButtonGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButtonGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_OverviewTileButtonGroup_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/progress/LinearProgress/LinearProgress.scss"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/progress/LinearProgress/LinearProgress.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgress_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LinearProgress.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/progress/LinearProgress/LinearProgress.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgress_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgress_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgress_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgress_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/progress/LinearProgressButton/LinearProgressButton.scss"
/*!********************************************************************************************!*\
  !*** ./modules/commons/components/progress/LinearProgressButton/LinearProgressButton.scss ***!
  \********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgressButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LinearProgressButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/progress/LinearProgressButton/LinearProgressButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgressButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgressButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgressButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinearProgressButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.scss"
/*!**********************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.scss ***!
  \**********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EntrySelectList_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./EntrySelectList.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/EntryChooser/EntrySelectList/EntrySelectList.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EntrySelectList_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EntrySelectList_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EntrySelectList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_EntrySelectList_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/FieldWrapper/index.scss"
/*!********************************************************************!*\
  !*** ./modules/commons/components/rdforms/FieldWrapper/index.scss ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/FieldWrapper/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.scss"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_GeoEditor_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./GeoEditor.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/GeoChooser/GeoEditor/GeoEditor.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_GeoEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_GeoEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_GeoEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_GeoEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_showDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./showDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/GeonamesChooser/showDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_showDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_showDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_showDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_showDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/LevelSelector/LevelSelector.scss"
/*!*****************************************************************************!*\
  !*** ./modules/commons/components/rdforms/LevelSelector/LevelSelector.scss ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LevelSelector_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LevelSelector.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/LevelSelector/LevelSelector.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LevelSelector_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LevelSelector_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LevelSelector_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LevelSelector_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/LinkBehaviour/linkBehaviour.css"
/*!****************************************************************************!*\
  !*** ./modules/commons/components/rdforms/LinkBehaviour/linkBehaviour.css ***!
  \****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_linkBehaviour_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./linkBehaviour.css */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/LinkBehaviour/linkBehaviour.css");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_linkBehaviour_css__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_linkBehaviour_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_linkBehaviour_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_linkBehaviour_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.scss"
/*!***************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.scss ***!
  \***************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsAlert_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./RdformsAlert.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsAlert/RdformsAlert.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsAlert_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsAlert_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsAlert_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsAlert_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/RdformsDialogFormWrapper/style.scss"
/*!********************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsDialogFormWrapper/style.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./style.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsDialogFormWrapper/style.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.scss"
/*!*******************************************************************************!*\
  !*** ./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.scss ***!
  \*******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsOutline_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./RdformsOutline.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/RdformsOutline/RdformsOutline.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsOutline_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsOutline_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsOutline_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RdformsOutline_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/ResourceInfo/index.scss"
/*!********************************************************************!*\
  !*** ./modules/commons/components/rdforms/ResourceInfo/index.scss ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/ResourceInfo/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.scss"
/*!***********************************************************************************************!*\
  !*** ./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.scss ***!
  \***********************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RevisionPresenter_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./RevisionPresenter.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/rdforms/Revisions/RevisionPresenter/RevisionPresenter.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RevisionPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RevisionPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RevisionPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_RevisionPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/tags/Tag/Tag.scss"
/*!******************************************************!*\
  !*** ./modules/commons/components/tags/Tag/Tag.scss ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tag_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Tag.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/tags/Tag/Tag.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tag_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tag_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tag_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Tag_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/components/toggles/Toggle/Toggle.scss"
/*!***************************************************************!*\
  !*** ./modules/commons/components/toggles/Toggle/Toggle.scss ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Toggle_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Toggle.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/components/toggles/Toggle/Toggle.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Toggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Toggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Toggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Toggle_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/errors/ErrorDialog/ErrorDialog.scss"
/*!*************************************************************!*\
  !*** ./modules/commons/errors/ErrorDialog/ErrorDialog.scss ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ErrorDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ErrorDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/errors/ErrorDialog/ErrorDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ErrorDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ErrorDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ErrorDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ErrorDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.scss"
/*!*************************************************************************!*\
  !*** ./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.scss ***!
  \*************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./MaintenanceDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/errors/MaintenanceDialog/MaintenanceDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_MaintenanceDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/nav/components/Cards/index.scss"
/*!*********************************************************!*\
  !*** ./modules/commons/nav/components/Cards/index.scss ***!
  \*********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/nav/components/Cards/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/nav/components/StartBanner/index.scss"
/*!***************************************************************!*\
  !*** ./modules/commons/nav/components/StartBanner/index.scss ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/nav/components/StartBanner/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/types/ProfileChooser/ProfileChooser.scss"
/*!******************************************************************!*\
  !*** ./modules/commons/types/ProfileChooser/ProfileChooser.scss ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooser_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ProfileChooser.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/types/ProfileChooser/ProfileChooser.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooser_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooser_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooser_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooser_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.scss"
/*!******************************************************************************!*\
  !*** ./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.scss ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooserDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ProfileChooserDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/types/ProfileChooserDialog/ProfileChooserDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ProfileChooserDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/commons/view/Error/index.scss"
/*!***********************************************!*\
  !*** ./modules/commons/view/Error/index.scss ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/commons/view/Error/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Information/Information.scss"
/*!******************************************************!*\
  !*** ./modules/harvest/Information/Information.scss ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Information_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Information.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/Information.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Information_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Information_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Information_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Information_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Information/PipelinePresenter/PipelinePresenter.scss"
/*!******************************************************************************!*\
  !*** ./modules/harvest/Information/PipelinePresenter/PipelinePresenter.scss ***!
  \******************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelinePresenter_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./PipelinePresenter.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/PipelinePresenter/PipelinePresenter.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelinePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelinePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelinePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelinePresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Information/TransformsPresenter/TransformsPresenter.scss"
/*!**********************************************************************************!*\
  !*** ./modules/harvest/Information/TransformsPresenter/TransformsPresenter.scss ***!
  \**********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsPresenter_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./TransformsPresenter.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Information/TransformsPresenter/TransformsPresenter.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsPresenter_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/LinkCheckReport/LinkCheckReport.scss"
/*!**************************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/LinkCheckReport.scss ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkCheckReport_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./LinkCheckReport.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/LinkCheckReport/LinkCheckReport.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkCheckReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkCheckReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkCheckReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_LinkCheckReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.scss"
/*!*****************************************************************************!*\
  !*** ./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.scss ***!
  \*****************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/LinkCheckReport/dialogs/LinkCheckDetails/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Notifications/Notifications.scss"
/*!**********************************************************!*\
  !*** ./modules/harvest/Notifications/Notifications.scss ***!
  \**********************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Notifications_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Notifications.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Notifications/Notifications.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Notifications_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Notifications_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Notifications_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Notifications_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Statistics/tables/index.scss"
/*!******************************************************!*\
  !*** ./modules/harvest/Statistics/tables/index.scss ***!
  \******************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Statistics/tables/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Status/HarvestReport/HarvestReport.scss"
/*!*****************************************************************!*\
  !*** ./modules/harvest/Status/HarvestReport/HarvestReport.scss ***!
  \*****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HarvestReport_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./HarvestReport.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Status/HarvestReport/HarvestReport.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HarvestReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HarvestReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HarvestReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_HarvestReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Status/index.scss"
/*!*******************************************!*\
  !*** ./modules/harvest/Status/index.scss ***!
  \*******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Status/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/Validation/Validation.scss"
/*!****************************************************!*\
  !*** ./modules/harvest/Validation/Validation.scss ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validation_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Validation.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/Validation/Validation.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validation_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validation_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validation_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validation_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.scss"
/*!********************************************************************************!*\
  !*** ./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.scss ***!
  \********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineResultDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./PipelineResultDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/dialogs/PipelineResultDialog/PipelineResultDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineResultDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineResultDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineResultDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineResultDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/forms/PipelineForm/PipelineForm.scss"
/*!**************************************************************!*\
  !*** ./modules/harvest/forms/PipelineForm/PipelineForm.scss ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineForm_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./PipelineForm.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/forms/PipelineForm/PipelineForm.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_PipelineForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/harvest/forms/TransformsForm/TransformsForm.scss"
/*!******************************************************************!*\
  !*** ./modules/harvest/forms/TransformsForm/TransformsForm.scss ***!
  \******************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsForm_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./TransformsForm.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/harvest/forms/TransformsForm/TransformsForm.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_TransformsForm_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/models/components/ExtendsButton/ExtendsButton.scss"
/*!********************************************************************!*\
  !*** ./modules/models/components/ExtendsButton/ExtendsButton.scss ***!
  \********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExtendsButton_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ExtendsButton.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/components/ExtendsButton/ExtendsButton.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExtendsButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExtendsButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExtendsButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ExtendsButton_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/models/editors/AttributesEditor/AttributesEditor.scss"
/*!***********************************************************************!*\
  !*** ./modules/models/editors/AttributesEditor/AttributesEditor.scss ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributesEditor_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./AttributesEditor.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/AttributesEditor/AttributesEditor.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributesEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributesEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributesEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_AttributesEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/models/editors/ConstraintEditor/ConstraintEditor.scss"
/*!***********************************************************************!*\
  !*** ./modules/models/editors/ConstraintEditor/ConstraintEditor.scss ***!
  \***********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ConstraintEditor.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/ConstraintEditor/ConstraintEditor.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConstraintEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/models/editors/FieldEditor/FieldEditor.scss"
/*!*************************************************************!*\
  !*** ./modules/models/editors/FieldEditor/FieldEditor.scss ***!
  \*************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldEditor_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./FieldEditor.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/editors/FieldEditor/FieldEditor.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_FieldEditor_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/models/presenters/Attributes/Attributes.scss"
/*!**************************************************************!*\
  !*** ./modules/models/presenters/Attributes/Attributes.scss ***!
  \**************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Attributes_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Attributes.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/presenters/Attributes/Attributes.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Attributes_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Attributes_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Attributes_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Attributes_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/models/presenters/Constraints/Constraints.scss"
/*!****************************************************************!*\
  !*** ./modules/models/presenters/Constraints/Constraints.scss ***!
  \****************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Constraints.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/models/presenters/Constraints/Constraints.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Constraints_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/status/Overview/Overview.scss"
/*!***********************************************!*\
  !*** ./modules/status/Overview/Overview.scss ***!
  \***********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Overview_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Overview.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/status/Overview/Overview.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Overview_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Overview_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Overview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Overview_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Catalog/Catalog.scss"
/*!**********************************************!*\
  !*** ./modules/toolkit/Catalog/Catalog.scss ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Catalog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Catalog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Catalog/Catalog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Catalog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Catalog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Catalog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Catalog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Convert/Convert.scss"
/*!**********************************************!*\
  !*** ./modules/toolkit/Convert/Convert.scss ***!
  \**********************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Convert_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Convert.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Convert/Convert.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Convert_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Convert_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Convert_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Convert_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Merge/Merge.scss"
/*!******************************************!*\
  !*** ./modules/toolkit/Merge/Merge.scss ***!
  \******************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Merge_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Merge.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/Merge.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Merge_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Merge_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Merge_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Merge_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Merge/MergeCard/index.scss"
/*!****************************************************!*\
  !*** ./modules/toolkit/Merge/MergeCard/index.scss ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/MergeCard/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Merge/MergeList/index.scss"
/*!****************************************************!*\
  !*** ./modules/toolkit/Merge/MergeList/index.scss ***!
  \****************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./index.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Merge/MergeList/index.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_index_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Validate/ClassReport/ClassReport.scss"
/*!***************************************************************!*\
  !*** ./modules/toolkit/Validate/ClassReport/ClassReport.scss ***!
  \***************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ClassReport_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ClassReport.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/ClassReport/ClassReport.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ClassReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ClassReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ClassReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ClassReport_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.scss"
/*!*********************************************************************************!*\
  !*** ./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.scss ***!
  \*********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InstanceReportDialog_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./InstanceReportDialog.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/InstanceReportDialog/InstanceReportDialog.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InstanceReportDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InstanceReportDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InstanceReportDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_InstanceReportDialog_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Validate/Validate.scss"
/*!************************************************!*\
  !*** ./modules/toolkit/Validate/Validate.scss ***!
  \************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validate_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./Validate.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/Validate.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validate_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validate_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validate_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_Validate_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/toolkit/Validate/ValidationIcon/ValidationIcon.scss"
/*!*********************************************************************!*\
  !*** ./modules/toolkit/Validate/ValidationIcon/ValidationIcon.scss ***!
  \*********************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationIcon_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ValidationIcon.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/toolkit/Validate/ValidationIcon/ValidationIcon.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ValidationIcon_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.scss"
/*!*******************************************************************************************!*\
  !*** ./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.scss ***!
  \*******************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConfigureEntityTypes_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./ConfigureEntityTypes.scss */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./modules/workbench/projects/dialogs/ConfigureEntityTypes/ConfigureEntityTypes.scss");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _node_modules_pnpm_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConfigureEntityTypes_scss__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConfigureEntityTypes_scss__WEBPACK_IMPORTED_MODULE_6__["default"] && _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConfigureEntityTypes_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _node_modules_pnpm_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_node_modules_pnpm_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_ConfigureEntityTypes_scss__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/style.css"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/style.css ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../../../style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../../../style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js");
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../../../style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js");
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../../../style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../../../../../style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js");
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../../../../../style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js");
/* harmony import */ var _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../../../../../css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!../../../../../../../sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./style.css */ "./node_modules/.pnpm/css-loader@6.11.0_webpack@5.107.2/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@16.0.8_sass@1.101.0_webpack@5.107.2/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/react/style.css");

      
      
      
      
      
      
      
      
      

var options = {};

options.styleTagTransform = (_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
options.setAttributes = (_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());

      options.insert = _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
    
options.domAPI = (_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
options.insertStyleElement = (_style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());

var update = _style_loader_3_3_4_webpack_5_107_2_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"], options);




       /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _css_loader_6_11_0_webpack_5_107_2_node_modules_css_loader_dist_cjs_js_sass_loader_16_0_8_sass_1_101_0_webpack_5_107_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_3_use_2_style_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);


/***/ },

/***/ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"
/*!**********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
  \**********************************************************************************************************************************/
(module) {

"use strict";


var stylesInDOM = [];
function getIndexByIdentifier(identifier) {
  var result = -1;
  for (var i = 0; i < stylesInDOM.length; i++) {
    if (stylesInDOM[i].identifier === identifier) {
      result = i;
      break;
    }
  }
  return result;
}
function modulesToDom(list, options) {
  var idCountMap = {};
  var identifiers = [];
  for (var i = 0; i < list.length; i++) {
    var item = list[i];
    var id = options.base ? item[0] + options.base : item[0];
    var count = idCountMap[id] || 0;
    var identifier = "".concat(id, " ").concat(count);
    idCountMap[id] = count + 1;
    var indexByIdentifier = getIndexByIdentifier(identifier);
    var obj = {
      css: item[1],
      media: item[2],
      sourceMap: item[3],
      supports: item[4],
      layer: item[5]
    };
    if (indexByIdentifier !== -1) {
      stylesInDOM[indexByIdentifier].references++;
      stylesInDOM[indexByIdentifier].updater(obj);
    } else {
      var updater = addElementStyle(obj, options);
      options.byIndex = i;
      stylesInDOM.splice(i, 0, {
        identifier: identifier,
        updater: updater,
        references: 1
      });
    }
    identifiers.push(identifier);
  }
  return identifiers;
}
function addElementStyle(obj, options) {
  var api = options.domAPI(options);
  api.update(obj);
  var updater = function updater(newObj) {
    if (newObj) {
      if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
        return;
      }
      api.update(obj = newObj);
    } else {
      api.remove();
    }
  };
  return updater;
}
module.exports = function (list, options) {
  options = options || {};
  list = list || [];
  var lastIdentifiers = modulesToDom(list, options);
  return function update(newList) {
    newList = newList || [];
    for (var i = 0; i < lastIdentifiers.length; i++) {
      var identifier = lastIdentifiers[i];
      var index = getIndexByIdentifier(identifier);
      stylesInDOM[index].references--;
    }
    var newLastIdentifiers = modulesToDom(newList, options);
    for (var _i = 0; _i < lastIdentifiers.length; _i++) {
      var _identifier = lastIdentifiers[_i];
      var _index = getIndexByIdentifier(_identifier);
      if (stylesInDOM[_index].references === 0) {
        stylesInDOM[_index].updater();
        stylesInDOM.splice(_index, 1);
      }
    }
    lastIdentifiers = newLastIdentifiers;
  };
};

/***/ },

/***/ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js"
/*!**************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertBySelector.js ***!
  \**************************************************************************************************************************/
(module) {

"use strict";


var memo = {};

/* istanbul ignore next  */
function getTarget(target) {
  if (typeof memo[target] === "undefined") {
    var styleTarget = document.querySelector(target);

    // Special case to return head of iframe instead of iframe itself
    if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
      try {
        // This will throw an exception if access to iframe is blocked
        // due to cross-origin restrictions
        styleTarget = styleTarget.contentDocument.head;
      } catch (e) {
        // istanbul ignore next
        styleTarget = null;
      }
    }
    memo[target] = styleTarget;
  }
  return memo[target];
}

/* istanbul ignore next  */
function insertBySelector(insert, style) {
  var target = getTarget(insert);
  if (!target) {
    throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
  }
  target.appendChild(style);
}
module.exports = insertBySelector;

/***/ },

/***/ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js"
/*!****************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
  \****************************************************************************************************************************/
(module) {

"use strict";


/* istanbul ignore next  */
function insertStyleElement(options) {
  var element = document.createElement("style");
  options.setAttributes(element, options.attributes);
  options.insert(element, options.options);
  return element;
}
module.exports = insertStyleElement;

/***/ },

/***/ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"
/*!****************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***!
  \****************************************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


/* istanbul ignore next  */
function setAttributesWithoutAttributes(styleElement) {
  var nonce =  true ? __webpack_require__.nc : 0;
  if (nonce) {
    styleElement.setAttribute("nonce", nonce);
  }
}
module.exports = setAttributesWithoutAttributes;

/***/ },

/***/ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js"
/*!*********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
  \*********************************************************************************************************************/
(module) {

"use strict";


/* istanbul ignore next  */
function apply(styleElement, options, obj) {
  var css = "";
  if (obj.supports) {
    css += "@supports (".concat(obj.supports, ") {");
  }
  if (obj.media) {
    css += "@media ".concat(obj.media, " {");
  }
  var needLayer = typeof obj.layer !== "undefined";
  if (needLayer) {
    css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
  }
  css += obj.css;
  if (needLayer) {
    css += "}";
  }
  if (obj.media) {
    css += "}";
  }
  if (obj.supports) {
    css += "}";
  }
  var sourceMap = obj.sourceMap;
  if (sourceMap && typeof btoa !== "undefined") {
    css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
  }

  // For old IE
  /* istanbul ignore if  */
  options.styleTagTransform(css, styleElement, options.options);
}
function removeStyleElement(styleElement) {
  // istanbul ignore if
  if (styleElement.parentNode === null) {
    return false;
  }
  styleElement.parentNode.removeChild(styleElement);
}

/* istanbul ignore next  */
function domAPI(options) {
  if (typeof document === "undefined") {
    return {
      update: function update() {},
      remove: function remove() {}
    };
  }
  var styleElement = options.insertStyleElement(options);
  return {
    update: function update(obj) {
      apply(styleElement, options, obj);
    },
    remove: function remove() {
      removeStyleElement(styleElement);
    }
  };
}
module.exports = domAPI;

/***/ },

/***/ "./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js"
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/style-loader@3.3.4_webpack@5.107.2/node_modules/style-loader/dist/runtime/styleTagTransform.js ***!
  \***************************************************************************************************************************/
(module) {

"use strict";


/* istanbul ignore next  */
function styleTagTransform(css, styleElement) {
  if (styleElement.styleSheet) {
    styleElement.styleSheet.cssText = css;
  } else {
    while (styleElement.firstChild) {
      styleElement.removeChild(styleElement.firstChild);
    }
    styleElement.appendChild(document.createTextNode(css));
  }
}
module.exports = styleTagTransform;

/***/ },

/***/ "./node_modules/.pnpm/superagent-jsonp@0.2.1/node_modules/superagent-jsonp/dist/superagent-jsonp.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/superagent-jsonp@0.2.1/node_modules/superagent-jsonp/dist/superagent-jsonp.js ***!
  \**********************************************************************************************************/
(module, exports) {

"use strict";
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

var removeCallback = function removeCallback(_ref) {
  var script = _ref.script,
      callbackName = _ref.callbackName,
      timeout = _ref.timeout;

  if (script && script.parentNode) script.parentNode.removeChild(script);

  delete window[callbackName];

  clearTimeout(timeout); // clear timeout (for onerror event listener)
};

var jsonp = function jsonp(requestOrConfig) {
  var end = function end() {
    var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

    return function handler(callback) {
      var _this = this;

      var callbackParam = config.callbackParam || 'callback';
      var callbackName = config.callbackName || 'superagentCallback' + (new Date().valueOf() + parseInt(Math.random() * 1000, 10));
      var timeoutLimit = config.timeout || 1000;

      var timeout = setTimeout(jsonp.errorWrapper.bind(this), timeoutLimit);

      this._jsonp = {
        callbackName: callbackName,
        callback: callback,
        timeout: timeout
      };

      window[callbackName] = jsonp.callbackWrapper.bind(this);

      this._query.push(encodeURIComponent(callbackParam) + '=' + encodeURIComponent(callbackName));
      var queryString = this._query.join('&');

      var s = document.createElement('script');
      {
        var separator = this.url.indexOf('?') > -1 ? '&' : '?';
        var url = this.url + separator + queryString;

        s.src = url;

        // Handle script load error #27
        s.onerror = function (e) {
          jsonp.errorWrapper.call(_this, e);
        };
      }

      document.head.appendChild(s);
      this._jsonp.script = s;

      return this;
    };
  };

  var reqFunc = function reqFunc(request) {
    // In case this is in nodejs, run without modifying request
    if (typeof window === 'undefined') return request;

    request.end = end.call(request, requestOrConfig);
    return request;
  };

  // if requestOrConfig is request
  if (typeof requestOrConfig.end === 'function') {
    return reqFunc(requestOrConfig);
  }

  return reqFunc;
};

jsonp.callbackWrapper = function callbackWrapper(body) {
  var err = null;
  var res = { body: body };

  removeCallback(this._jsonp);

  this._jsonp.callback.call(this, err, res);
};

jsonp.errorWrapper = function errorWrapper(error) {
  var err = new Error('404 Not found');
  if (error && error instanceof Event && error.type === 'error') {
    err = new Error('Connection issue');
  }

  removeCallback(this._jsonp);

  this._jsonp.callback.call(this, err, null);
};

// Prefer node/browserify style requires
if ( true && typeof module.exports !== 'undefined') {
  module.exports = jsonp;
} else if (true) {
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
    return { jsonp: jsonp };
  }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
} else // removed by dead control flow
{}

/***/ },

/***/ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/agent-base.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/agent-base.js ***!
  \****************************************************************************************/
(module) {

"use strict";


const defaults = ['use', 'on', 'once', 'set', 'query', 'type', 'accept', 'auth', 'withCredentials', 'sortQuery', 'retry', 'ok', 'redirects', 'timeout', 'buffer', 'serialize', 'parse', 'ca', 'key', 'pfx', 'cert', 'disableTLSCerts'];
class Agent {
  constructor() {
    this._defaults = [];
  }
  _setDefaults(request) {
    for (const def of this._defaults) {
      request[def.fn](...def.args);
    }
  }
}
for (const fn of defaults) {
  // Default setting for all requests from this agent
  Agent.prototype[fn] = function (...args) {
    this._defaults.push({
      fn,
      args
    });
    return this;
  };
}
module.exports = Agent;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJkZWZhdWx0cyIsIkFnZW50IiwiY29uc3RydWN0b3IiLCJfZGVmYXVsdHMiLCJfc2V0RGVmYXVsdHMiLCJyZXF1ZXN0IiwiZGVmIiwiZm4iLCJhcmdzIiwicHJvdG90eXBlIiwicHVzaCIsIm1vZHVsZSIsImV4cG9ydHMiXSwic291cmNlcyI6WyIuLi9zcmMvYWdlbnQtYmFzZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBkZWZhdWx0cyA9IFtcbiAgJ3VzZScsXG4gICdvbicsXG4gICdvbmNlJyxcbiAgJ3NldCcsXG4gICdxdWVyeScsXG4gICd0eXBlJyxcbiAgJ2FjY2VwdCcsXG4gICdhdXRoJyxcbiAgJ3dpdGhDcmVkZW50aWFscycsXG4gICdzb3J0UXVlcnknLFxuICAncmV0cnknLFxuICAnb2snLFxuICAncmVkaXJlY3RzJyxcbiAgJ3RpbWVvdXQnLFxuICAnYnVmZmVyJyxcbiAgJ3NlcmlhbGl6ZScsXG4gICdwYXJzZScsXG4gICdjYScsXG4gICdrZXknLFxuICAncGZ4JyxcbiAgJ2NlcnQnLFxuICAnZGlzYWJsZVRMU0NlcnRzJ1xuXVxuXG5jbGFzcyBBZ2VudCB7XG4gIGNvbnN0cnVjdG9yICgpIHtcbiAgICB0aGlzLl9kZWZhdWx0cyA9IFtdO1xuICB9XG5cbiAgX3NldERlZmF1bHRzIChyZXF1ZXN0KSB7XG4gICAgZm9yIChjb25zdCBkZWYgb2YgdGhpcy5fZGVmYXVsdHMpIHtcbiAgICAgIHJlcXVlc3RbZGVmLmZuXSguLi5kZWYuYXJncyk7XG4gICAgfVxuICB9XG59XG5cbmZvciAoY29uc3QgZm4gb2YgZGVmYXVsdHMpIHtcbiAgLy8gRGVmYXVsdCBzZXR0aW5nIGZvciBhbGwgcmVxdWVzdHMgZnJvbSB0aGlzIGFnZW50XG4gIEFnZW50LnByb3RvdHlwZVtmbl0gPSBmdW5jdGlvbiAoLi4uYXJncykge1xuICAgIHRoaXMuX2RlZmF1bHRzLnB1c2goeyBmbiwgYXJncyB9KTtcbiAgICByZXR1cm4gdGhpcztcbiAgfTtcbn1cblxuXG5tb2R1bGUuZXhwb3J0cyA9IEFnZW50O1xuIl0sIm1hcHBpbmdzIjoiOztBQUFBLE1BQU1BLFFBQVEsR0FBRyxDQUNmLEtBQUssRUFDTCxJQUFJLEVBQ0osTUFBTSxFQUNOLEtBQUssRUFDTCxPQUFPLEVBQ1AsTUFBTSxFQUNOLFFBQVEsRUFDUixNQUFNLEVBQ04saUJBQWlCLEVBQ2pCLFdBQVcsRUFDWCxPQUFPLEVBQ1AsSUFBSSxFQUNKLFdBQVcsRUFDWCxTQUFTLEVBQ1QsUUFBUSxFQUNSLFdBQVcsRUFDWCxPQUFPLEVBQ1AsSUFBSSxFQUNKLEtBQUssRUFDTCxLQUFLLEVBQ0wsTUFBTSxFQUNOLGlCQUFpQixDQUNsQjtBQUVELE1BQU1DLEtBQUssQ0FBQztFQUNWQyxXQUFXQSxDQUFBLEVBQUk7SUFDYixJQUFJLENBQUNDLFNBQVMsR0FBRyxFQUFFO0VBQ3JCO0VBRUFDLFlBQVlBLENBQUVDLE9BQU8sRUFBRTtJQUNyQixLQUFLLE1BQU1DLEdBQUcsSUFBSSxJQUFJLENBQUNILFNBQVMsRUFBRTtNQUNoQ0UsT0FBTyxDQUFDQyxHQUFHLENBQUNDLEVBQUUsQ0FBQyxDQUFDLEdBQUdELEdBQUcsQ0FBQ0UsSUFBSSxDQUFDO0lBQzlCO0VBQ0Y7QUFDRjtBQUVBLEtBQUssTUFBTUQsRUFBRSxJQUFJUCxRQUFRLEVBQUU7RUFDekI7RUFDQUMsS0FBSyxDQUFDUSxTQUFTLENBQUNGLEVBQUUsQ0FBQyxHQUFHLFVBQVUsR0FBR0MsSUFBSSxFQUFFO0lBQ3ZDLElBQUksQ0FBQ0wsU0FBUyxDQUFDTyxJQUFJLENBQUM7TUFBRUgsRUFBRTtNQUFFQztJQUFLLENBQUMsQ0FBQztJQUNqQyxPQUFPLElBQUk7RUFDYixDQUFDO0FBQ0g7QUFHQUcsTUFBTSxDQUFDQyxPQUFPLEdBQUdYLEtBQUsiLCJpZ25vcmVMaXN0IjpbXX0=

/***/ },

/***/ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/client.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/client.js ***!
  \************************************************************************************/
(module, exports, __webpack_require__) {

"use strict";


/**
 * Root reference for iframes.
 */

let root;
if (typeof window !== 'undefined') {
  // Browser window
  root = window;
} else if (typeof self === 'undefined') {
  // Other environments
  console.warn('Using browser-only version of superagent in non-browser environment');
  root = void 0;
} else {
  // Web Worker
  root = self;
}
const Emitter = __webpack_require__(/*! component-emitter */ "./node_modules/.pnpm/component-emitter@1.3.1/node_modules/component-emitter/index.js");
const safeStringify = __webpack_require__(/*! fast-safe-stringify */ "./node_modules/.pnpm/fast-safe-stringify@2.1.1/node_modules/fast-safe-stringify/index.js");
const qs = __webpack_require__(/*! qs */ "./node_modules/.pnpm/qs@6.15.2/node_modules/qs/lib/index.js");
const RequestBase = __webpack_require__(/*! ./request-base */ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/request-base.js");
const {
  isObject,
  mixin,
  hasOwn
} = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/utils.js");
const ResponseBase = __webpack_require__(/*! ./response-base */ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/response-base.js");
const Agent = __webpack_require__(/*! ./agent-base */ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/agent-base.js");

/**
 * Noop.
 */

function noop() {}

/**
 * Expose `request`.
 */

module.exports = function (method, url) {
  // callback
  if (typeof url === 'function') {
    return new exports.Request('GET', method).end(url);
  }

  // url first
  if (arguments.length === 1) {
    return new exports.Request('GET', method);
  }
  return new exports.Request(method, url);
};
exports = module.exports;
const request = exports;
exports.Request = Request;

/**
 * Determine XHR.
 */

request.getXHR = () => {
  if (root.XMLHttpRequest) {
    return new root.XMLHttpRequest();
  }
  throw new Error('Browser-only version of superagent could not find XHR');
};

/**
 * Removes leading and trailing whitespace, added to support IE.
 *
 * @param {String} s
 * @return {String}
 * @api private
 */

const trim = ''.trim ? s => s.trim() : s => s.replace(/(^\s*|\s*$)/g, '');

/**
 * Serialize the given `obj`.
 *
 * @param {Object} obj
 * @return {String}
 * @api private
 */

function serialize(object) {
  if (!isObject(object)) return object;
  const pairs = [];
  for (const key in object) {
    if (hasOwn(object, key)) pushEncodedKeyValuePair(pairs, key, object[key]);
  }
  return pairs.join('&');
}

/**
 * Helps 'serialize' with serializing arrays.
 * Mutates the pairs array.
 *
 * @param {Array} pairs
 * @param {String} key
 * @param {Mixed} val
 */

function pushEncodedKeyValuePair(pairs, key, value) {
  if (value === undefined) return;
  if (value === null) {
    pairs.push(encodeURI(key));
    return;
  }
  if (Array.isArray(value)) {
    for (const v of value) {
      pushEncodedKeyValuePair(pairs, key, v);
    }
  } else if (isObject(value)) {
    for (const subkey in value) {
      if (hasOwn(value, subkey)) pushEncodedKeyValuePair(pairs, `${key}[${subkey}]`, value[subkey]);
    }
  } else {
    pairs.push(encodeURI(key) + '=' + encodeURIComponent(value));
  }
}

/**
 * Expose serialization method.
 */

request.serializeObject = serialize;

/**
 * Parse the given x-www-form-urlencoded `str`.
 *
 * @param {String} str
 * @return {Object}
 * @api private
 */

function parseString(string_) {
  const object = {};
  const pairs = string_.split('&');
  let pair;
  let pos;
  for (let i = 0, length_ = pairs.length; i < length_; ++i) {
    pair = pairs[i];
    pos = pair.indexOf('=');
    if (pos === -1) {
      object[decodeURIComponent(pair)] = '';
    } else {
      object[decodeURIComponent(pair.slice(0, pos))] = decodeURIComponent(pair.slice(pos + 1));
    }
  }
  return object;
}

/**
 * Expose parser.
 */

request.parseString = parseString;

/**
 * Default MIME type map.
 *
 *     superagent.types.xml = 'application/xml';
 *
 */

request.types = {
  html: 'text/html',
  json: 'application/json',
  xml: 'text/xml',
  urlencoded: 'application/x-www-form-urlencoded',
  form: 'application/x-www-form-urlencoded',
  'form-data': 'application/x-www-form-urlencoded'
};

/**
 * Default serialization map.
 *
 *     superagent.serialize['application/xml'] = function(obj){
 *       return 'generated xml here';
 *     };
 *
 */

request.serialize = {
  'application/x-www-form-urlencoded': obj => {
    return qs.stringify(obj, {
      indices: false,
      strictNullHandling: true
    });
  },
  'application/json': safeStringify
};

/**
 * Default parsers.
 *
 *     superagent.parse['application/xml'] = function(str){
 *       return { object parsed from str };
 *     };
 *
 */

request.parse = {
  'application/x-www-form-urlencoded': parseString,
  'application/json': JSON.parse
};

/**
 * Parse the given header `str` into
 * an object containing the mapped fields.
 *
 * @param {String} str
 * @return {Object}
 * @api private
 */

function parseHeader(string_) {
  const lines = string_.split(/\r?\n/);
  const fields = {};
  let index;
  let line;
  let field;
  let value;
  for (let i = 0, length_ = lines.length; i < length_; ++i) {
    line = lines[i];
    index = line.indexOf(':');
    if (index === -1) {
      // could be empty line, just skip it
      continue;
    }
    field = line.slice(0, index).toLowerCase();
    value = trim(line.slice(index + 1));
    fields[field] = value;
  }
  return fields;
}

/**
 * Check if `mime` is json or has +json structured syntax suffix.
 *
 * @param {String} mime
 * @return {Boolean}
 * @api private
 */

function isJSON(mime) {
  // should match /json or +json
  // but not /json-seq
  return /[/+]json($|[^-\w])/i.test(mime);
}

/**
 * Initialize a new `Response` with the given `xhr`.
 *
 *  - set flags (.ok, .error, etc)
 *  - parse header
 *
 * Examples:
 *
 *  Aliasing `superagent` as `request` is nice:
 *
 *      request = superagent;
 *
 *  We can use the promise-like API, or pass callbacks:
 *
 *      request.get('/').end(function(res){});
 *      request.get('/', function(res){});
 *
 *  Sending data can be chained:
 *
 *      request
 *        .post('/user')
 *        .send({ name: 'tj' })
 *        .end(function(res){});
 *
 *  Or passed to `.send()`:
 *
 *      request
 *        .post('/user')
 *        .send({ name: 'tj' }, function(res){});
 *
 *  Or passed to `.post()`:
 *
 *      request
 *        .post('/user', { name: 'tj' })
 *        .end(function(res){});
 *
 * Or further reduced to a single call for simple cases:
 *
 *      request
 *        .post('/user', { name: 'tj' }, function(res){});
 *
 * @param {XMLHTTPRequest} xhr
 * @param {Object} options
 * @api private
 */

function Response(request_) {
  this.req = request_;
  this.xhr = this.req.xhr;
  // responseText is accessible only if responseType is '' or 'text' and on older browsers
  this.text = this.req.method !== 'HEAD' && (this.xhr.responseType === '' || this.xhr.responseType === 'text') || typeof this.xhr.responseType === 'undefined' ? this.xhr.responseText : null;
  this.statusText = this.req.xhr.statusText;
  let {
    status
  } = this.xhr;
  // handle IE9 bug: http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request
  if (status === 1223) {
    status = 204;
  }
  this._setStatusProperties(status);
  this.headers = parseHeader(this.xhr.getAllResponseHeaders());
  this.header = this.headers;
  // getAllResponseHeaders sometimes falsely returns "" for CORS requests, but
  // getResponseHeader still works. so we get content-type even if getting
  // other headers fails.
  this.header['content-type'] = this.xhr.getResponseHeader('content-type');
  this._setHeaderProperties(this.header);
  if (this.text === null && request_._responseType) {
    this.body = this.xhr.response;
  } else {
    this.body = this.req.method === 'HEAD' ? null : this._parseBody(this.text ? this.text : this.xhr.response);
  }
}
mixin(Response.prototype, ResponseBase.prototype);

/**
 * Parse the given body `str`.
 *
 * Used for auto-parsing of bodies. Parsers
 * are defined on the `superagent.parse` object.
 *
 * @param {String} str
 * @return {Mixed}
 * @api private
 */

Response.prototype._parseBody = function (string_) {
  let parse = request.parse[this.type];
  if (this.req._parser) {
    return this.req._parser(this, string_);
  }
  if (!parse && isJSON(this.type)) {
    parse = request.parse['application/json'];
  }
  return parse && string_ && (string_.length > 0 || string_ instanceof Object) ? parse(string_) : null;
};

/**
 * Return an `Error` representative of this response.
 *
 * @return {Error}
 * @api public
 */

Response.prototype.toError = function () {
  const {
    req
  } = this;
  const {
    method
  } = req;
  const {
    url
  } = req;
  const message = `cannot ${method} ${url} (${this.status})`;
  const error = new Error(message);
  error.status = this.status;
  error.method = method;
  error.url = url;
  return error;
};

/**
 * Expose `Response`.
 */

request.Response = Response;

/**
 * Initialize a new `Request` with the given `method` and `url`.
 *
 * @param {String} method
 * @param {String} url
 * @api public
 */

function Request(method, url) {
  const self = this;
  this._query = this._query || [];
  this.method = method;
  this.url = url;
  this.header = {}; // preserves header name case
  this._header = {}; // coerces header names to lowercase
  this.on('end', () => {
    let error = null;
    let res = null;
    try {
      res = new Response(self);
    } catch (err) {
      error = new Error('Parser is unable to parse the response');
      error.parse = true;
      error.original = err;
      // issue #675: return the raw response if the response parsing fails
      if (self.xhr) {
        // ie9 doesn't have 'response' property
        error.rawResponse = typeof self.xhr.responseType === 'undefined' ? self.xhr.responseText : self.xhr.response;
        // issue #876: return the http status code if the response parsing fails
        error.status = self.xhr.status ? self.xhr.status : null;
        error.statusCode = error.status; // backwards-compat only
      } else {
        error.rawResponse = null;
        error.status = null;
      }
      return self.callback(error);
    }
    self.emit('response', res);
    let new_error;
    try {
      if (!self._isResponseOK(res)) {
        new_error = new Error(res.statusText || res.text || 'Unsuccessful HTTP response');
      }
    } catch (err) {
      new_error = err; // ok() callback can throw
    }

    // #1000 don't catch errors from the callback to avoid double calling it
    if (new_error) {
      new_error.original = error;
      new_error.response = res;
      new_error.status = new_error.status || res.status;
      self.callback(new_error, res);
    } else {
      self.callback(null, res);
    }
  });
}

/**
 * Mixin `Emitter` and `RequestBase`.
 */

// eslint-disable-next-line new-cap
Emitter(Request.prototype);
mixin(Request.prototype, RequestBase.prototype);

/**
 * Set Content-Type to `type`, mapping values from `request.types`.
 *
 * Examples:
 *
 *      superagent.types.xml = 'application/xml';
 *
 *      request.post('/')
 *        .type('xml')
 *        .send(xmlstring)
 *        .end(callback);
 *
 *      request.post('/')
 *        .type('application/xml')
 *        .send(xmlstring)
 *        .end(callback);
 *
 * @param {String} type
 * @return {Request} for chaining
 * @api public
 */

Request.prototype.type = function (type) {
  this.set('Content-Type', request.types[type] || type);
  return this;
};

/**
 * Set Accept to `type`, mapping values from `request.types`.
 *
 * Examples:
 *
 *      superagent.types.json = 'application/json';
 *
 *      request.get('/agent')
 *        .accept('json')
 *        .end(callback);
 *
 *      request.get('/agent')
 *        .accept('application/json')
 *        .end(callback);
 *
 * @param {String} accept
 * @return {Request} for chaining
 * @api public
 */

Request.prototype.accept = function (type) {
  this.set('Accept', request.types[type] || type);
  return this;
};

/**
 * Set Authorization field value with `user` and `pass`.
 *
 * @param {String} user
 * @param {String} [pass] optional in case of using 'bearer' as type
 * @param {Object} options with 'type' property 'auto', 'basic' or 'bearer' (default 'basic')
 * @return {Request} for chaining
 * @api public
 */

Request.prototype.auth = function (user, pass, options) {
  if (arguments.length === 1) pass = '';
  if (typeof pass === 'object' && pass !== null) {
    // pass is optional and can be replaced with options
    options = pass;
    pass = '';
  }
  if (!options) {
    options = {
      type: typeof btoa === 'function' ? 'basic' : 'auto'
    };
  }
  const encoder = options.encoder ? options.encoder : string => {
    if (typeof btoa === 'function') {
      return btoa(string);
    }
    throw new Error('Cannot use basic auth, btoa is not a function');
  };
  return this._auth(user, pass, options, encoder);
};

/**
 * Add query-string `val`.
 *
 * Examples:
 *
 *   request.get('/shoes')
 *     .query('size=10')
 *     .query({ color: 'blue' })
 *
 * @param {Object|String} val
 * @return {Request} for chaining
 * @api public
 */

Request.prototype.query = function (value) {
  if (typeof value !== 'string') value = serialize(value);
  if (value) this._query.push(value);
  return this;
};

/**
 * Queue the given `file` as an attachment to the specified `field`,
 * with optional `options` (or filename).
 *
 * ``` js
 * request.post('/upload')
 *   .attach('content', new Blob(['<a id="a"><b id="b">hey!</b></a>'], { type: "text/html"}))
 *   .end(callback);
 * ```
 *
 * @param {String} field
 * @param {Blob|File} file
 * @param {String|Object} options
 * @return {Request} for chaining
 * @api public
 */

Request.prototype.attach = function (field, file, options) {
  if (file) {
    if (this._data) {
      throw new Error("superagent can't mix .send() and .attach()");
    }
    this._getFormData().append(field, file, options || file.name);
  }
  return this;
};
Request.prototype._getFormData = function () {
  if (!this._formData) {
    this._formData = new root.FormData();
  }
  return this._formData;
};

/**
 * Invoke the callback with `err` and `res`
 * and handle arity check.
 *
 * @param {Error} err
 * @param {Response} res
 * @api private
 */

Request.prototype.callback = function (error, res) {
  if (this._shouldRetry(error, res)) {
    return this._retry();
  }
  const fn = this._callback;
  this.clearTimeout();
  if (error) {
    if (this._maxRetries) error.retries = this._retries - 1;
    this.emit('error', error);
  }
  fn(error, res);
};

/**
 * Invoke callback with x-domain error.
 *
 * @api private
 */

Request.prototype.crossDomainError = function () {
  const error = new Error('Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.');
  error.crossDomain = true;
  error.status = this.status;
  error.method = this.method;
  error.url = this.url;
  this.callback(error);
};

// This only warns, because the request is still likely to work
Request.prototype.agent = function () {
  console.warn('This is not supported in browser version of superagent');
  return this;
};
Request.prototype.ca = Request.prototype.agent;
Request.prototype.buffer = Request.prototype.ca;

// This throws, because it can't send/receive data as expected
Request.prototype.write = () => {
  throw new Error('Streaming is not supported in browser version of superagent');
};
Request.prototype.pipe = Request.prototype.write;

/**
 * Check if `obj` is a host object,
 * we don't want to serialize these :)
 *
 * @param {Object} obj host object
 * @return {Boolean} is a host object
 * @api private
 */
Request.prototype._isHost = function (object) {
  // Native objects stringify to [object File], [object Blob], [object FormData], etc.
  return object && typeof object === 'object' && !Array.isArray(object) && Object.prototype.toString.call(object) !== '[object Object]';
};

/**
 * Initiate request, invoking callback `fn(res)`
 * with an instanceof `Response`.
 *
 * @param {Function} fn
 * @return {Request} for chaining
 * @api public
 */

Request.prototype.end = function (fn) {
  if (this._endCalled) {
    console.warn('Warning: .end() was called twice. This is not supported in superagent');
  }
  this._endCalled = true;

  // store callback
  this._callback = fn || noop;

  // querystring
  this._finalizeQueryString();
  this._end();
};
Request.prototype._setUploadTimeout = function () {
  const self = this;

  // upload timeout it's wokrs only if deadline timeout is off
  if (this._uploadTimeout && !this._uploadTimeoutTimer) {
    this._uploadTimeoutTimer = setTimeout(() => {
      self._timeoutError('Upload timeout of ', self._uploadTimeout, 'ETIMEDOUT');
    }, this._uploadTimeout);
  }
};

// eslint-disable-next-line complexity
Request.prototype._end = function () {
  if (this._aborted) return this.callback(new Error('The request has been aborted even before .end() was called'));
  const self = this;
  this.xhr = request.getXHR();
  const {
    xhr
  } = this;
  let data = this._formData || this._data;
  this._setTimeouts();

  // state change
  xhr.addEventListener('readystatechange', () => {
    const {
      readyState
    } = xhr;
    if (readyState >= 2 && self._responseTimeoutTimer) {
      clearTimeout(self._responseTimeoutTimer);
    }
    if (readyState !== 4) {
      return;
    }

    // In IE9, reads to any property (e.g. status) off of an aborted XHR will
    // result in the error "Could not complete the operation due to error c00c023f"
    let status;
    try {
      status = xhr.status;
    } catch (err) {
      status = 0;
    }
    if (!status) {
      if (self.timedout || self._aborted) return;
      return self.crossDomainError();
    }
    self.emit('end');
  });

  // progress
  const handleProgress = (direction, e) => {
    if (e.total > 0) {
      e.percent = e.loaded / e.total * 100;
      if (e.percent === 100) {
        clearTimeout(self._uploadTimeoutTimer);
      }
    }
    e.direction = direction;
    self.emit('progress', e);
  };
  if (this.hasListeners('progress')) {
    try {
      xhr.addEventListener('progress', handleProgress.bind(null, 'download'));
      if (xhr.upload) {
        xhr.upload.addEventListener('progress', handleProgress.bind(null, 'upload'));
      }
    } catch (err) {
      // Accessing xhr.upload fails in IE from a web worker, so just pretend it doesn't exist.
      // Reported here:
      // https://connect.microsoft.com/IE/feedback/details/837245/xmlhttprequest-upload-throws-invalid-argument-when-used-from-web-worker-context
    }
  }
  if (xhr.upload) {
    this._setUploadTimeout();
  }

  // initiate request
  try {
    if (this.username && this.password) {
      xhr.open(this.method, this.url, true, this.username, this.password);
    } else {
      xhr.open(this.method, this.url, true);
    }
  } catch (err) {
    // see #1149
    return this.callback(err);
  }

  // CORS
  if (this._withCredentials) xhr.withCredentials = true;

  // body
  if (!this._formData && this.method !== 'GET' && this.method !== 'HEAD' && typeof data !== 'string' && !this._isHost(data)) {
    // serialize stuff
    const contentType = this._header['content-type'];
    let serialize = this._serializer || request.serialize[contentType ? contentType.split(';')[0] : ''];
    if (!serialize && isJSON(contentType)) {
      serialize = request.serialize['application/json'];
    }
    if (serialize) data = serialize(data);
  }

  // set header fields
  for (const field in this.header) {
    if (this.header[field] === null) continue;
    if (hasOwn(this.header, field)) xhr.setRequestHeader(field, this.header[field]);
  }
  if (this._responseType) {
    xhr.responseType = this._responseType;
  }

  // send stuff
  this.emit('request', this);

  // IE11 xhr.send(undefined) sends 'undefined' string as POST payload (instead of nothing)
  // We need null here if data is undefined
  xhr.send(typeof data === 'undefined' ? null : data);
};

// create a Proxy that can instantiate a new Agent without using `new` keyword
// (for backward compatibility and chaining)
const proxyAgent = new Proxy(Agent, {
  apply(target, thisArg, argumentsList) {
    return new target(...argumentsList);
  }
});
request.agent = proxyAgent;
for (const method of ['GET', 'POST', 'OPTIONS', 'PATCH', 'PUT', 'DELETE']) {
  Agent.prototype[method.toLowerCase()] = function (url, fn) {
    const request_ = new request.Request(method, url);
    this._setDefaults(request_);
    if (fn) {
      request_.end(fn);
    }
    return request_;
  };
}
Agent.prototype.del = Agent.prototype.delete;

/**
 * GET `url` with optional callback `fn(res)`.
 *
 * @param {String} url
 * @param {Mixed|Function} [data] or fn
 * @param {Function} [fn]
 * @return {Request}
 * @api public
 */

request.get = (url, data, fn) => {
  const request_ = request('GET', url);
  if (typeof data === 'function') {
    fn = data;
    data = null;
  }
  if (data) request_.query(data);
  if (fn) request_.end(fn);
  return request_;
};

/**
 * HEAD `url` with optional callback `fn(res)`.
 *
 * @param {String} url
 * @param {Mixed|Function} [data] or fn
 * @param {Function} [fn]
 * @return {Request}
 * @api public
 */

request.head = (url, data, fn) => {
  const request_ = request('HEAD', url);
  if (typeof data === 'function') {
    fn = data;
    data = null;
  }
  if (data) request_.query(data);
  if (fn) request_.end(fn);
  return request_;
};

/**
 * OPTIONS query to `url` with optional callback `fn(res)`.
 *
 * @param {String} url
 * @param {Mixed|Function} [data] or fn
 * @param {Function} [fn]
 * @return {Request}
 * @api public
 */

request.options = (url, data, fn) => {
  const request_ = request('OPTIONS', url);
  if (typeof data === 'function') {
    fn = data;
    data = null;
  }
  if (data) request_.send(data);
  if (fn) request_.end(fn);
  return request_;
};

/**
 * DELETE `url` with optional `data` and callback `fn(res)`.
 *
 * @param {String} url
 * @param {Mixed} [data]
 * @param {Function} [fn]
 * @return {Request}
 * @api public
 */

function del(url, data, fn) {
  const request_ = request('DELETE', url);
  if (typeof data === 'function') {
    fn = data;
    data = null;
  }
  if (data) request_.send(data);
  if (fn) request_.end(fn);
  return request_;
}
request.del = del;
request.delete = del;

/**
 * PATCH `url` with optional `data` and callback `fn(res)`.
 *
 * @param {String} url
 * @param {Mixed} [data]
 * @param {Function} [fn]
 * @return {Request}
 * @api public
 */

request.patch = (url, data, fn) => {
  const request_ = request('PATCH', url);
  if (typeof data === 'function') {
    fn = data;
    data = null;
  }
  if (data) request_.send(data);
  if (fn) request_.end(fn);
  return request_;
};

/**
 * POST `url` with optional `data` and callback `fn(res)`.
 *
 * @param {String} url
 * @param {Mixed} [data]
 * @param {Function} [fn]
 * @return {Request}
 * @api public
 */

request.post = (url, data, fn) => {
  const request_ = request('POST', url);
  if (typeof data === 'function') {
    fn = data;
    data = null;
  }
  if (data) request_.send(data);
  if (fn) request_.end(fn);
  return request_;
};

/**
 * PUT `url` with optional `data` and callback `fn(res)`.
 *
 * @param {String} url
 * @param {Mixed|Function} [data] or fn
 * @param {Function} [fn]
 * @return {Request}
 * @api public
 */

request.put = (url, data, fn) => {
  const request_ = request('PUT', url);
  if (typeof data === 'function') {
    fn = data;
    data = null;
  }
  if (data) request_.send(data);
  if (fn) request_.end(fn);
  return request_;
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64, 

/***/ },

/***/ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/request-base.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/request-base.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


/**
 * Module of mixed-in functions shared between node and client code
 */
const {
  isObject,
  hasOwn
} = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/utils.js");

/**
 * Expose `RequestBase`.
 */

module.exports = RequestBase;

/**
 * Initialize a new `RequestBase`.
 *
 * @api public
 */

function RequestBase() {}

/**
 * Clear previous timeout.
 *
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.clearTimeout = function () {
  clearTimeout(this._timer);
  clearTimeout(this._responseTimeoutTimer);
  clearTimeout(this._uploadTimeoutTimer);
  delete this._timer;
  delete this._responseTimeoutTimer;
  delete this._uploadTimeoutTimer;
  return this;
};

/**
 * Override default response body parser
 *
 * This function will be called to convert incoming data into request.body
 *
 * @param {Function}
 * @api public
 */

RequestBase.prototype.parse = function (fn) {
  this._parser = fn;
  return this;
};

/**
 * Set format of binary response body.
 * In browser valid formats are 'blob' and 'arraybuffer',
 * which return Blob and ArrayBuffer, respectively.
 *
 * In Node all values result in Buffer.
 *
 * Examples:
 *
 *      req.get('/')
 *        .responseType('blob')
 *        .end(callback);
 *
 * @param {String} val
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.responseType = function (value) {
  this._responseType = value;
  return this;
};

/**
 * Override default request body serializer
 *
 * This function will be called to convert data set via .send or .attach into payload to send
 *
 * @param {Function}
 * @api public
 */

RequestBase.prototype.serialize = function (fn) {
  this._serializer = fn;
  return this;
};

/**
 * Set timeouts.
 *
 * - response timeout is time between sending request and receiving the first byte of the response. Includes DNS and connection time.
 * - deadline is the time from start of the request to receiving response body in full. If the deadline is too short large files may not load at all on slow connections.
 * - upload is the time  since last bit of data was sent or received. This timeout works only if deadline timeout is off
 *
 * Value of 0 or false means no timeout.
 *
 * @param {Number|Object} ms or {response, deadline}
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.timeout = function (options) {
  if (!options || typeof options !== 'object') {
    this._timeout = options;
    this._responseTimeout = 0;
    this._uploadTimeout = 0;
    return this;
  }
  for (const option in options) {
    if (hasOwn(options, option)) {
      switch (option) {
        case 'deadline':
          this._timeout = options.deadline;
          break;
        case 'response':
          this._responseTimeout = options.response;
          break;
        case 'upload':
          this._uploadTimeout = options.upload;
          break;
        default:
          console.warn('Unknown timeout option', option);
      }
    }
  }
  return this;
};

/**
 * Set number of retry attempts on error.
 *
 * Failed requests will be retried 'count' times if timeout or err.code >= 500.
 *
 * @param {Number} count
 * @param {Function} [fn]
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.retry = function (count, fn) {
  // Default to 1 if no count passed or true
  if (arguments.length === 0 || count === true) count = 1;
  if (count <= 0) count = 0;
  this._maxRetries = count;
  this._retries = 0;
  this._retryCallback = fn;
  return this;
};

//
// NOTE: we do not include ESOCKETTIMEDOUT because that is from `request` package
//       <https://github.com/sindresorhus/got/pull/537>
//
// NOTE: we do not include EADDRINFO because it was removed from libuv in 2014
//       <https://github.com/libuv/libuv/commit/02e1ebd40b807be5af46343ea873331b2ee4e9c1>
//       <https://github.com/request/request/search?q=ESOCKETTIMEDOUT&unscoped_q=ESOCKETTIMEDOUT>
//
//
// TODO: expose these as configurable defaults
//
const ERROR_CODES = new Set(['ETIMEDOUT', 'ECONNRESET', 'EADDRINUSE', 'ECONNREFUSED', 'EPIPE', 'ENOTFOUND', 'ENETUNREACH', 'EAI_AGAIN']);
const STATUS_CODES = new Set([408, 413, 429, 500, 502, 503, 504, 521, 522, 524]);

// TODO: we would need to make this easily configurable before adding it in (e.g. some might want to add POST)
// const METHODS = new Set(['GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE']);

/**
 * Determine if a request should be retried.
 * (Inspired by https://github.com/sindresorhus/got#retry)
 *
 * @param {Error} err an error
 * @param {Response} [res] response
 * @returns {Boolean} if segment should be retried
 */
RequestBase.prototype._shouldRetry = function (error, res) {
  if (!this._maxRetries || this._retries++ >= this._maxRetries) {
    return false;
  }
  if (this._retryCallback) {
    try {
      const override = this._retryCallback(error, res);
      if (override === true) return true;
      if (override === false) return false;
      // undefined falls back to defaults
    } catch (err) {
      console.error(err);
    }
  }

  // TODO: we would need to make this easily configurable before adding it in (e.g. some might want to add POST)
  /*
  if (
    this.req &&
    this.req.method &&
    !METHODS.has(this.req.method.toUpperCase())
  )
    return false;
  */
  if (res && res.status && STATUS_CODES.has(res.status)) return true;
  if (error) {
    if (error.code && ERROR_CODES.has(error.code)) return true;
    // Superagent timeout
    if (error.timeout && error.code === 'ECONNABORTED') return true;
    if (error.crossDomain) return true;
  }
  return false;
};

/**
 * Retry request
 *
 * @return {Request} for chaining
 * @api private
 */

RequestBase.prototype._retry = function () {
  this.clearTimeout();

  // node
  if (this.req) {
    this.req = null;
    this.req = this.request();
  }
  this._aborted = false;
  this.timedout = false;
  this.timedoutError = null;
  return this._end();
};

/**
 * Promise support
 *
 * @param {Function} resolve
 * @param {Function} [reject]
 * @return {Request}
 */

RequestBase.prototype.then = function (resolve, reject) {
  if (!this._fullfilledPromise) {
    const self = this;
    if (this._endCalled) {
      console.warn('Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises');
    }
    this._fullfilledPromise = new Promise((resolve, reject) => {
      self.on('abort', () => {
        if (this._maxRetries && this._maxRetries > this._retries) {
          return;
        }
        if (this.timedout && this.timedoutError) {
          reject(this.timedoutError);
          return;
        }
        const error = new Error('Aborted');
        error.code = 'ABORTED';
        error.status = this.status;
        error.method = this.method;
        error.url = this.url;
        reject(error);
      });
      self.end((error, res) => {
        if (error) reject(error);else resolve(res);
      });
    });
  }
  return this._fullfilledPromise.then(resolve, reject);
};
RequestBase.prototype.catch = function (callback) {
  return this.then(undefined, callback);
};

/**
 * Allow for extension
 */

RequestBase.prototype.use = function (fn) {
  fn(this);
  return this;
};
RequestBase.prototype.ok = function (callback) {
  if (typeof callback !== 'function') throw new Error('Callback required');
  this._okCallback = callback;
  return this;
};
RequestBase.prototype._isResponseOK = function (res) {
  if (!res) {
    return false;
  }
  if (this._okCallback) {
    return this._okCallback(res);
  }
  return res.status >= 200 && res.status < 300;
};

/**
 * Get request header `field`.
 * Case-insensitive.
 *
 * @param {String} field
 * @return {String}
 * @api public
 */

RequestBase.prototype.get = function (field) {
  return this._header[field.toLowerCase()];
};

/**
 * Get case-insensitive header `field` value.
 * This is a deprecated internal API. Use `.get(field)` instead.
 *
 * (getHeader is no longer used internally by the superagent code base)
 *
 * @param {String} field
 * @return {String}
 * @api private
 * @deprecated
 */

RequestBase.prototype.getHeader = RequestBase.prototype.get;

/**
 * Set header `field` to `val`, or multiple fields with one object.
 * Case-insensitive.
 *
 * Examples:
 *
 *      req.get('/')
 *        .set('Accept', 'application/json')
 *        .set('X-API-Key', 'foobar')
 *        .end(callback);
 *
 *      req.get('/')
 *        .set({ Accept: 'application/json', 'X-API-Key': 'foobar' })
 *        .end(callback);
 *
 * @param {String|Object} field
 * @param {String} val
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.set = function (field, value) {
  if (isObject(field)) {
    for (const key in field) {
      if (hasOwn(field, key)) this.set(key, field[key]);
    }
    return this;
  }
  this._header[field.toLowerCase()] = value;
  this.header[field] = value;
  return this;
};

/**
 * Remove header `field`.
 * Case-insensitive.
 *
 * Example:
 *
 *      req.get('/')
 *        .unset('User-Agent')
 *        .end(callback);
 *
 * @param {String} field field name
 */
RequestBase.prototype.unset = function (field) {
  delete this._header[field.toLowerCase()];
  delete this.header[field];
  return this;
};

/**
 * Write the field `name` and `val`, or multiple fields with one object
 * for "multipart/form-data" request bodies.
 *
 * ``` js
 * request.post('/upload')
 *   .field('foo', 'bar')
 *   .end(callback);
 *
 * request.post('/upload')
 *   .field({ foo: 'bar', baz: 'qux' })
 *   .end(callback);
 * ```
 *
 * @param {String|Object} name name of field
 * @param {String|Blob|File|Buffer|fs.ReadStream} val value of field
 * @param {String} options extra options, e.g. 'blob'
 * @return {Request} for chaining
 * @api public
 */
RequestBase.prototype.field = function (name, value, options) {
  // name should be either a string or an object.
  if (name === null || undefined === name) {
    throw new Error('.field(name, val) name can not be empty');
  }
  if (this._data) {
    throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");
  }
  if (isObject(name)) {
    for (const key in name) {
      if (hasOwn(name, key)) this.field(key, name[key]);
    }
    return this;
  }
  if (Array.isArray(value)) {
    for (const i in value) {
      if (hasOwn(value, i)) this.field(name, value[i]);
    }
    return this;
  }

  // val should be defined now
  if (value === null || undefined === value) {
    throw new Error('.field(name, val) val can not be empty');
  }
  if (typeof value === 'boolean') {
    value = String(value);
  }

  // fix https://github.com/ladjs/superagent/issues/1680
  if (options) this._getFormData().append(name, value, options);else this._getFormData().append(name, value);
  return this;
};

/**
 * Abort the request, and clear potential timeout.
 *
 * @return {Request} request
 * @api public
 */
RequestBase.prototype.abort = function () {
  if (this._aborted) {
    return this;
  }
  this._aborted = true;
  if (this.xhr) this.xhr.abort(); // browser
  if (this.req) {
    this.req.abort(); // node
  }
  this.clearTimeout();
  this.emit('abort');
  return this;
};
RequestBase.prototype._auth = function (user, pass, options, base64Encoder) {
  switch (options.type) {
    case 'basic':
      this.set('Authorization', `Basic ${base64Encoder(`${user}:${pass}`)}`);
      break;
    case 'auto':
      this.username = user;
      this.password = pass;
      break;
    case 'bearer':
      // usage would be .auth(accessToken, { type: 'bearer' })
      this.set('Authorization', `Bearer ${user}`);
      break;
    default:
      break;
  }
  return this;
};

/**
 * Enable transmission of cookies with x-domain requests.
 *
 * Note that for this to work the origin must not be
 * using "Access-Control-Allow-Origin" with a wildcard,
 * and also must set "Access-Control-Allow-Credentials"
 * to "true".
 * @param {Boolean} [on=true] - Set 'withCredentials' state
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.withCredentials = function (on) {
  // This is browser-only functionality. Node side is no-op.
  if (on === undefined) on = true;
  this._withCredentials = on;
  return this;
};

/**
 * Set the max redirects to `n`. Does nothing in browser XHR implementation.
 *
 * @param {Number} n
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.redirects = function (n) {
  this._maxRedirects = n;
  return this;
};

/**
 * Maximum size of buffered response body, in bytes. Counts uncompressed size.
 * Default 200MB.
 *
 * @param {Number} n number of bytes
 * @return {Request} for chaining
 */
RequestBase.prototype.maxResponseSize = function (n) {
  if (typeof n !== 'number') {
    throw new TypeError('Invalid argument');
  }
  this._maxResponseSize = n;
  return this;
};

/**
 * Convert to a plain javascript object (not JSON string) of scalar properties.
 * Note as this method is designed to return a useful non-this value,
 * it cannot be chained.
 *
 * @return {Object} describing method, url, and data of this request
 * @api public
 */

RequestBase.prototype.toJSON = function () {
  return {
    method: this.method,
    url: this.url,
    data: this._data,
    headers: this._header
  };
};

/**
 * Send `data` as the request body, defaulting the `.type()` to "json" when
 * an object is given.
 *
 * Examples:
 *
 *       // manual json
 *       request.post('/user')
 *         .type('json')
 *         .send('{"name":"tj"}')
 *         .end(callback)
 *
 *       // auto json
 *       request.post('/user')
 *         .send({ name: 'tj' })
 *         .end(callback)
 *
 *       // manual x-www-form-urlencoded
 *       request.post('/user')
 *         .type('form')
 *         .send('name=tj')
 *         .end(callback)
 *
 *       // auto x-www-form-urlencoded
 *       request.post('/user')
 *         .type('form')
 *         .send({ name: 'tj' })
 *         .end(callback)
 *
 *       // defaults to x-www-form-urlencoded
 *      request.post('/user')
 *        .send('name=tobi')
 *        .send('species=ferret')
 *        .end(callback)
 *
 * @param {String|Object} data
 * @return {Request} for chaining
 * @api public
 */

// eslint-disable-next-line complexity
RequestBase.prototype.send = function (data) {
  const isObject_ = isObject(data);
  let type = this._header['content-type'];
  if (this._formData) {
    throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");
  }
  if (isObject_ && !this._data) {
    if (Array.isArray(data)) {
      this._data = [];
    } else if (!this._isHost(data)) {
      this._data = {};
    }
  } else if (data && this._data && this._isHost(this._data)) {
    throw new Error("Can't merge these send calls");
  }

  // merge
  if (isObject_ && isObject(this._data)) {
    for (const key in data) {
      if (typeof data[key] == 'bigint' && !data[key].toJSON) throw new Error('Cannot serialize BigInt value to json');
      if (hasOwn(data, key)) this._data[key] = data[key];
    }
  } else if (typeof data === 'bigint') throw new Error("Cannot send value of type BigInt");else if (typeof data === 'string') {
    // default to x-www-form-urlencoded
    if (!type) this.type('form');
    type = this._header['content-type'];
    if (type) type = type.toLowerCase().trim();
    if (type === 'application/x-www-form-urlencoded') {
      this._data = this._data ? `${this._data}&${data}` : data;
    } else {
      this._data = (this._data || '') + data;
    }
  } else {
    this._data = data;
  }
  if (!isObject_ || this._isHost(data)) {
    return this;
  }

  // default to json
  if (!type) this.type('json');
  return this;
};

/**
 * Sort `querystring` by the sort function
 *
 *
 * Examples:
 *
 *       // default order
 *       request.get('/user')
 *         .query('name=Nick')
 *         .query('search=Manny')
 *         .sortQuery()
 *         .end(callback)
 *
 *       // customized sort function
 *       request.get('/user')
 *         .query('name=Nick')
 *         .query('search=Manny')
 *         .sortQuery(function(a, b){
 *           return a.length - b.length;
 *         })
 *         .end(callback)
 *
 *
 * @param {Function} sort
 * @return {Request} for chaining
 * @api public
 */

RequestBase.prototype.sortQuery = function (sort) {
  // _sort default to true but otherwise can be a function or boolean
  this._sort = typeof sort === 'undefined' ? true : sort;
  return this;
};

/**
 * Compose querystring to append to req.url
 *
 * @api private
 */
RequestBase.prototype._finalizeQueryString = function () {
  const query = this._query.join('&');
  if (query) {
    this.url += (this.url.includes('?') ? '&' : '?') + query;
  }
  this._query.length = 0; // Makes the call idempotent

  if (this._sort) {
    const index = this.url.indexOf('?');
    if (index >= 0) {
      const queryArray = this.url.slice(index + 1).split('&');
      if (typeof this._sort === 'function') {
        queryArray.sort(this._sort);
      } else {
        queryArray.sort();
      }
      this.url = this.url.slice(0, index) + '?' + queryArray.join('&');
    }
  }
};

// For backwards compat only
RequestBase.prototype._appendQueryString = () => {
  console.warn('Unsupported');
};

/**
 * Invoke callback with timeout error.
 *
 * @api private
 */

RequestBase.prototype._timeoutError = function (reason, timeout, errno) {
  if (this._aborted) {
    return;
  }
  const error = new Error(`${reason + timeout}ms exceeded`);
  error.timeout = timeout;
  error.code = 'ECONNABORTED';
  error.errno = errno;
  this.timedout = true;
  this.timedoutError = error;
  this.abort();
  this.callback(error);
};
RequestBase.prototype._setTimeouts = function () {
  const self = this;

  // deadline
  if (this._timeout && !this._timer) {
    this._timer = setTimeout(() => {
      self._timeoutError('Timeout of ', self._timeout, 'ETIME');
    }, this._timeout);
  }

  // response timeout
  if (this._responseTimeout && !this._responseTimeoutTimer) {
    this._responseTimeoutTimer = setTimeout(() => {
      self._timeoutError('Response timeout of ', self._responseTimeout, 'ETIMEDOUT');
    }, this._responseTimeout);
  }
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64, 

/***/ },

/***/ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/response-base.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/response-base.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";


/**
 * Module dependencies.
 */

const utils = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/utils.js");

/**
 * Expose `ResponseBase`.
 */

module.exports = ResponseBase;

/**
 * Initialize a new `ResponseBase`.
 *
 * @api public
 */

function ResponseBase() {}

/**
 * Get case-insensitive `field` value.
 *
 * @param {String} field
 * @return {String}
 * @api public
 */

ResponseBase.prototype.get = function (field) {
  return this.header[field.toLowerCase()];
};

/**
 * Set header related properties:
 *
 *   - `.type` the content type without params
 *
 * A response of "Content-Type: text/plain; charset=utf-8"
 * will provide you with a `.type` of "text/plain".
 *
 * @param {Object} header
 * @api private
 */

ResponseBase.prototype._setHeaderProperties = function (header) {
  // TODO: moar!
  // TODO: make this a util

  // content-type
  const ct = header['content-type'] || '';
  this.type = utils.type(ct);

  // params
  const parameters = utils.params(ct);
  for (const key in parameters) {
    if (Object.prototype.hasOwnProperty.call(parameters, key)) this[key] = parameters[key];
  }
  this.links = {};

  // links
  try {
    if (header.link) {
      this.links = utils.parseLinks(header.link);
    }
  } catch (err) {
    // ignore
  }
};

/**
 * Set flags such as `.ok` based on `status`.
 *
 * For example a 2xx response will give you a `.ok` of __true__
 * whereas 5xx will be __false__ and `.error` will be __true__. The
 * `.clientError` and `.serverError` are also available to be more
 * specific, and `.statusType` is the class of error ranging from 1..5
 * sometimes useful for mapping respond colors etc.
 *
 * "sugar" properties are also defined for common cases. Currently providing:
 *
 *   - .noContent
 *   - .badRequest
 *   - .unauthorized
 *   - .notAcceptable
 *   - .notFound
 *
 * @param {Number} status
 * @api private
 */

ResponseBase.prototype._setStatusProperties = function (status) {
  const type = Math.trunc(status / 100);

  // status / class
  this.statusCode = status;
  this.status = this.statusCode;
  this.statusType = type;

  // basics
  this.info = type === 1;
  this.ok = type === 2;
  this.redirect = type === 3;
  this.clientError = type === 4;
  this.serverError = type === 5;
  this.error = type === 4 || type === 5 ? this.toError() : false;

  // sugar
  this.created = status === 201;
  this.accepted = status === 202;
  this.noContent = status === 204;
  this.badRequest = status === 400;
  this.unauthorized = status === 401;
  this.notAcceptable = status === 406;
  this.forbidden = status === 403;
  this.notFound = status === 404;
  this.unprocessableEntity = status === 422;
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64, 

/***/ },

/***/ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/utils.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/utils.js ***!
  \***********************************************************************************/
(__unused_webpack_module, exports) {

"use strict";


/**
 * Return the mime type for the given `str`.
 *
 * @param {String} str
 * @return {String}
 * @api private
 */

exports.type = string_ => string_.split(/ *; */).shift();

/**
 * Return header field parameters.
 *
 * @param {String} str
 * @return {Object}
 * @api private
 */

exports.params = value => {
  const object = {};
  for (const string_ of value.split(/ *; */)) {
    const parts = string_.split(/ *= */);
    const key = parts.shift();
    const value = parts.shift();
    if (key && value) object[key] = value;
  }
  return object;
};

/**
 * Parse Link header fields.
 *
 * @param {String} str
 * @return {Object}
 * @api private
 */

exports.parseLinks = value => {
  const object = {};
  for (const string_ of value.split(/ *, */)) {
    const parts = string_.split(/ *; */);
    const url = parts[0].slice(1, -1);
    const rel = parts[1].split(/ *= */)[1].slice(1, -1);
    object[rel] = url;
  }
  return object;
};

/**
 * Strip content related fields from `header`.
 *
 * @param {Object} header
 * @return {Object} header
 * @api private
 */

exports.cleanHeader = (header, changesOrigin) => {
  delete header['content-type'];
  delete header['content-length'];
  delete header['transfer-encoding'];
  delete header.host;
  // secuirty
  if (changesOrigin) {
    delete header.authorization;
    delete header.cookie;
  }
  return header;
};
exports.normalizeHostname = hostname => {
  const [, normalized] = hostname.match(/^\[([^\]]+)\]$/) || [];
  return normalized || hostname;
};

/**
 * Check if `obj` is an object.
 *
 * @param {Object} object
 * @return {Boolean}
 * @api private
 */
exports.isObject = object => {
  return object !== null && typeof object === 'object';
};

/**
 * Object.hasOwn fallback/polyfill.
 *
 * @type {(object: object, property: string) => boolean} object
 * @api private
 */
exports.hasOwn = Object.hasOwn || function (object, property) {
  if (object == null) {
    throw new TypeError('Cannot convert undefined or null to object');
  }
  return Object.prototype.hasOwnProperty.call(new Object(object), property);
};
exports.mixin = (target, source) => {
  for (const key in source) {
    if (exports.hasOwn(source, key)) {
      target[key] = source[key];
    }
  }
};

/**
 * Check if the response is compressed using Gzip or Deflate.
 * @param {Object} res
 * @return {Boolean}
 */

exports.isGzipOrDeflateEncoding = res => {
  return new RegExp(/^\s*(?:deflate|gzip)\s*$/).test(res.headers['content-encoding']);
};

/**
 * Check if the response is compressed using Brotli.
 * @param {Object} res
 * @return {Boolean}
 */

exports.isBrotliEncoding = res => {
  return new RegExp(/^\s*(?:br)\s*$/).test(res.headers['content-encoding']);
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64, 

/***/ },

/***/ "./node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
var isProduction = "development" === 'production';
function warning(condition, message) {
  if (!isProduction) {
    if (condition) {
      return;
    }

    var text = "Warning: " + message;

    if (typeof console !== 'undefined') {
      console.warn(text);
    }

    try {
      throw Error(text);
    } catch (x) {}
  }
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (warning);


/***/ },

/***/ "./node_modules/.pnpm/ua-parser-js@1.0.41/node_modules/ua-parser-js/src/ua-parser.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/ua-parser-js@1.0.41/node_modules/ua-parser-js/src/ua-parser.js ***!
  \*******************************************************************************************/
(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_RESULT__;/////////////////////////////////////////////////////////////////////////////////
/* UAParser.js v1.0.41
   Copyright © 2012-2025 Faisal Salman <f@faisalman.com>
   MIT License *//*
   Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.
   Supports browser & node.js environment. 
   Demo   : https://faisalman.github.io/ua-parser-js
   Source : https://github.com/faisalman/ua-parser-js */
/////////////////////////////////////////////////////////////////////////////////

(function (window, undefined) {

    'use strict';

    //////////////
    // Constants
    /////////////


    var LIBVERSION  = '1.0.41',
        EMPTY       = '',
        UNKNOWN     = '?',
        FUNC_TYPE   = 'function',
        UNDEF_TYPE  = 'undefined',
        OBJ_TYPE    = 'object',
        STR_TYPE    = 'string',
        MAJOR       = 'major',
        MODEL       = 'model',
        NAME        = 'name',
        TYPE        = 'type',
        VENDOR      = 'vendor',
        VERSION     = 'version',
        ARCHITECTURE= 'architecture',
        CONSOLE     = 'console',
        MOBILE      = 'mobile',
        TABLET      = 'tablet',
        SMARTTV     = 'smarttv',
        WEARABLE    = 'wearable',
        EMBEDDED    = 'embedded',
        UA_MAX_LENGTH = 500;

    var AMAZON  = 'Amazon',
        APPLE   = 'Apple',
        ASUS    = 'ASUS',
        BLACKBERRY = 'BlackBerry',
        BROWSER = 'Browser',
        CHROME  = 'Chrome',
        EDGE    = 'Edge',
        FIREFOX = 'Firefox',
        GOOGLE  = 'Google',
        HONOR   = 'Honor',
        HUAWEI  = 'Huawei',
        LENOVO  = 'Lenovo',
        LG      = 'LG',
        MICROSOFT = 'Microsoft',
        MOTOROLA  = 'Motorola',
        NVIDIA  = 'Nvidia',
        ONEPLUS = 'OnePlus',
        OPERA   = 'Opera',
        OPPO    = 'OPPO',
        SAMSUNG = 'Samsung',
        SHARP   = 'Sharp',
        SONY    = 'Sony',
        XIAOMI  = 'Xiaomi',
        ZEBRA   = 'Zebra',
        FACEBOOK    = 'Facebook',
        CHROMIUM_OS = 'Chromium OS',
        MAC_OS  = 'Mac OS',
        SUFFIX_BROWSER = ' Browser';

    ///////////
    // Helper
    //////////

    var extend = function (regexes, extensions) {
            var mergedRegexes = {};
            for (var i in regexes) {
                if (extensions[i] && extensions[i].length % 2 === 0) {
                    mergedRegexes[i] = extensions[i].concat(regexes[i]);
                } else {
                    mergedRegexes[i] = regexes[i];
                }
            }
            return mergedRegexes;
        },
        enumerize = function (arr) {
            var enums = {};
            for (var i=0; i<arr.length; i++) {
                enums[arr[i].toUpperCase()] = arr[i];
            }
            return enums;
        },
        has = function (str1, str2) {
            return typeof str1 === STR_TYPE ? lowerize(str2).indexOf(lowerize(str1)) !== -1 : false;
        },
        lowerize = function (str) {
            return str.toLowerCase();
        },
        majorize = function (version) {
            return typeof(version) === STR_TYPE ? version.replace(/[^\d\.]/g, EMPTY).split('.')[0] : undefined;
        },
        trim = function (str, len) {
            if (typeof(str) === STR_TYPE) {
                str = str.replace(/^\s\s*/, EMPTY);
                return typeof(len) === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
            }
    };

    ///////////////
    // Map helper
    //////////////

    var rgxMapper = function (ua, arrays) {

            var i = 0, j, k, p, q, matches, match;

            // loop through all regexes maps
            while (i < arrays.length && !matches) {

                var regex = arrays[i],       // even sequence (0,2,4,..)
                    props = arrays[i + 1];   // odd sequence (1,3,5,..)
                j = k = 0;

                // try matching uastring with regexes
                while (j < regex.length && !matches) {

                    if (!regex[j]) { break; }
                    matches = regex[j++].exec(ua);

                    if (!!matches) {
                        for (p = 0; p < props.length; p++) {
                            match = matches[++k];
                            q = props[p];
                            // check if given property is actually array
                            if (typeof q === OBJ_TYPE && q.length > 0) {
                                if (q.length === 2) {
                                    if (typeof q[1] == FUNC_TYPE) {
                                        // assign modified match
                                        this[q[0]] = q[1].call(this, match);
                                    } else {
                                        // assign given value, ignore regex match
                                        this[q[0]] = q[1];
                                    }
                                } else if (q.length === 3) {
                                    // check whether function or regex
                                    if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {
                                        // call function (usually string mapper)
                                        this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;
                                    } else {
                                        // sanitize match using given regex
                                        this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;
                                    }
                                } else if (q.length === 4) {
                                        this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;
                                }
                            } else {
                                this[q] = match ? match : undefined;
                            }
                        }
                    }
                }
                i += 2;
            }
        },

        strMapper = function (str, map) {

            for (var i in map) {
                // check if current value is array
                if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {
                    for (var j = 0; j < map[i].length; j++) {
                        if (has(map[i][j], str)) {
                            return (i === UNKNOWN) ? undefined : i;
                        }
                    }
                } else if (has(map[i], str)) {
                    return (i === UNKNOWN) ? undefined : i;
                }
            }
            return map.hasOwnProperty('*') ? map['*'] : str;
    };

    ///////////////
    // String map
    //////////////

    // Safari < 3.0
    var oldSafariMap = {
            '1.0'   : '/8',
            '1.2'   : '/1',
            '1.3'   : '/3',
            '2.0'   : '/412',
            '2.0.2' : '/416',
            '2.0.3' : '/417',
            '2.0.4' : '/419',
            '?'     : '/'
        },
        windowsVersionMap = {
            'ME'        : '4.90',
            'NT 3.11'   : 'NT3.51',
            'NT 4.0'    : 'NT4.0',
            '2000'      : 'NT 5.0',
            'XP'        : ['NT 5.1', 'NT 5.2'],
            'Vista'     : 'NT 6.0',
            '7'         : 'NT 6.1',
            '8'         : 'NT 6.2',
            '8.1'       : 'NT 6.3',
            '10'        : ['NT 6.4', 'NT 10.0'],
            'RT'        : 'ARM'
    };

    //////////////
    // Regex map
    /////////////

    var regexes = {

        browser : [[

            /\b(?:crmo|crios)\/([\w\.]+)/i                                      // Chrome for Android/iOS
            ], [VERSION, [NAME, 'Chrome']], [
            /edg(?:e|ios|a)?\/([\w\.]+)/i                                       // Microsoft Edge
            ], [VERSION, [NAME, 'Edge']], [

            // Presto based
            /(opera mini)\/([-\w\.]+)/i,                                        // Opera Mini
            /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,                 // Opera Mobi/Tablet
            /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i                           // Opera
            ], [NAME, VERSION], [
            /opios[\/ ]+([\w\.]+)/i                                             // Opera mini on iphone >= 8.0
            ], [VERSION, [NAME, OPERA+' Mini']], [
            /\bop(?:rg)?x\/([\w\.]+)/i                                          // Opera GX
            ], [VERSION, [NAME, OPERA+' GX']], [
            /\bopr\/([\w\.]+)/i                                                 // Opera Webkit
            ], [VERSION, [NAME, OPERA]], [

            // Mixed
            /\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i            // Baidu
            ], [VERSION, [NAME, 'Baidu']], [
            /\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i                       // Maxthon
            ], [VERSION, [NAME, 'Maxthon']], [
            /(kindle)\/([\w\.]+)/i,                                             // Kindle
            /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,      
                                                                                // Lunascape/Maxthon/Netfront/Jasmine/Blazer/Sleipnir
            // Trident based
            /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,        // Avant/IEMobile/SlimBrowser/SlimBoat/Slimjet
            /(?:ms|\()(ie) ([\w\.]+)/i,                                         // Internet Explorer

            // Blink/Webkit/KHTML based                                         // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon
            /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,
                                                                                // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ//Vivaldi/DuckDuckGo/Klar/Helio/Dragon
            /(heytap|ovi|115)browser\/([\d\.]+)/i,                              // HeyTap/Ovi/115
            /(weibo)__([\d\.]+)/i                                               // Weibo
            ], [NAME, VERSION], [
            /quark(?:pc)?\/([-\w\.]+)/i                                         // Quark
            ], [VERSION, [NAME, 'Quark']], [
            /\bddg\/([\w\.]+)/i                                                 // DuckDuckGo
            ], [VERSION, [NAME, 'DuckDuckGo']], [
            /(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i                 // UCBrowser
            ], [VERSION, [NAME, 'UC'+BROWSER]], [
            /microm.+\bqbcore\/([\w\.]+)/i,                                     // WeChat Desktop for Windows Built-in Browser
            /\bqbcore\/([\w\.]+).+microm/i,
            /micromessenger\/([\w\.]+)/i                                        // WeChat
            ], [VERSION, [NAME, 'WeChat']], [
            /konqueror\/([\w\.]+)/i                                             // Konqueror
            ], [VERSION, [NAME, 'Konqueror']], [
            /trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i                       // IE11
            ], [VERSION, [NAME, 'IE']], [
            /ya(?:search)?browser\/([\w\.]+)/i                                  // Yandex
            ], [VERSION, [NAME, 'Yandex']], [
            /slbrowser\/([\w\.]+)/i                                             // Smart Lenovo Browser
            ], [VERSION, [NAME, 'Smart Lenovo '+BROWSER]], [
            /(avast|avg)\/([\w\.]+)/i                                           // Avast/AVG Secure Browser
            ], [[NAME, /(.+)/, '$1 Secure '+BROWSER], VERSION], [
            /\bfocus\/([\w\.]+)/i                                               // Firefox Focus
            ], [VERSION, [NAME, FIREFOX+' Focus']], [
            /\bopt\/([\w\.]+)/i                                                 // Opera Touch
            ], [VERSION, [NAME, OPERA+' Touch']], [
            /coc_coc\w+\/([\w\.]+)/i                                            // Coc Coc Browser
            ], [VERSION, [NAME, 'Coc Coc']], [
            /dolfin\/([\w\.]+)/i                                                // Dolphin
            ], [VERSION, [NAME, 'Dolphin']], [
            /coast\/([\w\.]+)/i                                                 // Opera Coast
            ], [VERSION, [NAME, OPERA+' Coast']], [
            /miuibrowser\/([\w\.]+)/i                                           // MIUI Browser
            ], [VERSION, [NAME, 'MIUI' + SUFFIX_BROWSER]], [
            /fxios\/([\w\.-]+)/i                                                // Firefox for iOS
            ], [VERSION, [NAME, FIREFOX]], [
            /\bqihoobrowser\/?([\w\.]*)/i                                       // 360
            ], [VERSION, [NAME, '360']], [
            /\b(qq)\/([\w\.]+)/i                                                // QQ
            ], [[NAME, /(.+)/, '$1Browser'], VERSION], [
            /(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
            ], [[NAME, /(.+)/, '$1' + SUFFIX_BROWSER], VERSION], [              // Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
            /samsungbrowser\/([\w\.]+)/i                                        // Samsung Internet
            ], [VERSION, [NAME, SAMSUNG + ' Internet']], [
            /metasr[\/ ]?([\d\.]+)/i                                            // Sogou Explorer
            ], [VERSION, [NAME, 'Sogou Explorer']], [
            /(sogou)mo\w+\/([\d\.]+)/i                                          // Sogou Mobile
            ], [[NAME, 'Sogou Mobile'], VERSION], [
            /(electron)\/([\w\.]+) safari/i,                                    // Electron-based App
            /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,                   // Tesla
            /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i   // QQ/2345
            ], [NAME, VERSION], [
            /(lbbrowser|rekonq)/i,                                              // LieBao Browser/Rekonq
            /\[(linkedin)app\]/i                                                // LinkedIn App for iOS & Android
            ], [NAME], [
            /ome\/([\w\.]+) \w* ?(iron) saf/i,                                  // Iron
            /ome\/([\w\.]+).+qihu (360)[es]e/i                                  // 360
            ], [VERSION, NAME], [

            // WebView
            /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i       // Facebook App for iOS & Android
            ], [[NAME, FACEBOOK], VERSION], [
            /(Klarna)\/([\w\.]+)/i,                                             // Klarna Shopping Browser for iOS & Android
            /(kakao(?:talk|story))[\/ ]([\w\.]+)/i,                             // Kakao App
            /(naver)\(.*?(\d+\.[\w\.]+).*\)/i,                                  // Naver InApp
            /(daum)apps[\/ ]([\w\.]+)/i,                                        // Daum App
            /safari (line)\/([\w\.]+)/i,                                        // Line App for iOS
            /\b(line)\/([\w\.]+)\/iab/i,                                        // Line App for Android
            /(alipay)client\/([\w\.]+)/i,                                       // Alipay
            /(twitter)(?:and| f.+e\/([\w\.]+))/i,                               // Twitter
            /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i                     // Chromium/Instagram/Snapchat
            ], [NAME, VERSION], [
            /\bgsa\/([\w\.]+) .*safari\//i                                      // Google Search Appliance on iOS
            ], [VERSION, [NAME, 'GSA']], [
            /musical_ly(?:.+app_?version\/|_)([\w\.]+)/i                        // TikTok
            ], [VERSION, [NAME, 'TikTok']], [

            /headlesschrome(?:\/([\w\.]+)| )/i                                  // Chrome Headless
            ], [VERSION, [NAME, CHROME+' Headless']], [

            / wv\).+(chrome)\/([\w\.]+)/i                                       // Chrome WebView
            ], [[NAME, CHROME+' WebView'], VERSION], [

            /droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i           // Android Browser
            ], [VERSION, [NAME, 'Android '+BROWSER]], [

            /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i       // Chrome/OmniWeb/Arora/Tizen/Nokia
            ], [NAME, VERSION], [

            /version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i                      // Mobile Safari
            ], [VERSION, [NAME, 'Mobile Safari']], [
            /version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i                // Safari & Safari Mobile
            ], [VERSION, NAME], [
            /webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i                      // Safari < 3.0
            ], [NAME, [VERSION, strMapper, oldSafariMap]], [

            /(webkit|khtml)\/([\w\.]+)/i
            ], [NAME, VERSION], [

            // Gecko based
            /(navigator|netscape\d?)\/([-\w\.]+)/i                              // Netscape
            ], [[NAME, 'Netscape'], VERSION], [
            /(wolvic|librewolf)\/([\w\.]+)/i                                    // Wolvic/LibreWolf
            ], [NAME, VERSION], [
            /mobile vr; rv:([\w\.]+)\).+firefox/i                               // Firefox Reality
            ], [VERSION, [NAME, FIREFOX+' Reality']], [
            /ekiohf.+(flow)\/([\w\.]+)/i,                                       // Flow
            /(swiftfox)/i,                                                      // Swiftfox
            /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,
                                                                                // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror
            /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,
                                                                                // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix
            /(firefox)\/([\w\.]+)/i,                                            // Other Firefox-based
            /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,                         // Mozilla

            // Other
            /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
                                                                                // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Obigo/Mosaic/Go/ICE/UP.Browser/Ladybird
            /\b(links) \(([\w\.]+)/i                                            // Links
            ], [NAME, [VERSION, /_/g, '.']], [
            
            /(cobalt)\/([\w\.]+)/i                                              // Cobalt
            ], [NAME, [VERSION, /master.|lts./, ""]]
        ],

        cpu : [[

            /\b((amd|x|x86[-_]?|wow|win)64)\b/i                                 // AMD64 (x64)
            ], [[ARCHITECTURE, 'amd64']], [

            /(ia32(?=;))/i,                                                     // IA32 (quicktime)
            /\b((i[346]|x)86)(pc)?\b/i                                          // IA32 (x86)
            ], [[ARCHITECTURE, 'ia32']], [

            /\b(aarch64|arm(v?[89]e?l?|_?64))\b/i                               // ARM64
            ], [[ARCHITECTURE, 'arm64']], [

            /\b(arm(v[67])?ht?n?[fl]p?)\b/i                                     // ARMHF
            ], [[ARCHITECTURE, 'armhf']], [

            // PocketPC mistakenly identified as PowerPC
            /( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
            ], [[ARCHITECTURE, 'arm']], [

            /((ppc|powerpc)(64)?)( mac|;|\))/i                                  // PowerPC
            ], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [

            / sun4\w[;\)]/i                                                     // SPARC
            ], [[ARCHITECTURE, 'sparc']], [

            /\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i
                                                                                // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
            ], [[ARCHITECTURE, lowerize]]
        ],

        device : [[

            //////////////////////////
            // MOBILES & TABLETS
            /////////////////////////

            // Samsung
            /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
            ], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [
            /\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
            /samsung[- ]((?!sm-[lr])[-\w]+)/i,
            /sec-(sgh\w+)/i
            ], [MODEL, [VENDOR, SAMSUNG], [TYPE, MOBILE]], [

            // Apple
            /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i                          // iPod/iPhone
            ], [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]], [
            /\((ipad);[-\w\),; ]+apple/i,                                       // iPad
            /applecoremedia\/[\w\.]+ \((ipad)/i,
            /\b(ipad)\d\d?,\d\d?[;\]].+ios/i
            ], [MODEL, [VENDOR, APPLE], [TYPE, TABLET]], [
            /(macintosh);/i
            ], [MODEL, [VENDOR, APPLE]], [

            // Sharp
            /\b(sh-?[altvz]?\d\d[a-ekm]?)/i
            ], [MODEL, [VENDOR, SHARP], [TYPE, MOBILE]], [

            // Honor
            /\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
            ], [MODEL, [VENDOR, HONOR], [TYPE, TABLET]], [
            /honor([-\w ]+)[;\)]/i
            ], [MODEL, [VENDOR, HONOR], [TYPE, MOBILE]], [

            // Huawei
            /\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
            ], [MODEL, [VENDOR, HUAWEI], [TYPE, TABLET]], [
            /(?:huawei)([-\w ]+)[;\)]/i,
            /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i
            ], [MODEL, [VENDOR, HUAWEI], [TYPE, MOBILE]], [

            // Xiaomi
            /oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
            /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i                                // Mi Pad tablets
            ],[[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, TABLET]], [

            /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,                  // Xiaomi POCO
            /\b; (\w+) build\/hm\1/i,                                           // Xiaomi Hongmi 'numeric' models
            /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,                             // Xiaomi Hongmi
            /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,                   // Xiaomi Redmi
            /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,        // Xiaomi Redmi 'numeric' models
            /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, // Xiaomi Mi
            / ([\w ]+) miui\/v?\d/i
            ], [[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, MOBILE]], [

            // OPPO
            /; (\w+) bui.+ oppo/i,
            /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
            ], [MODEL, [VENDOR, OPPO], [TYPE, MOBILE]], [
            /\b(opd2(\d{3}a?))(?: bui|\))/i
            ], [MODEL, [VENDOR, strMapper, { 'OnePlus' : ['304', '403', '203'], '*' : OPPO }], [TYPE, TABLET]], [

            // Vivo
            /vivo (\w+)(?: bui|\))/i,
            /\b(v[12]\d{3}\w?[at])(?: bui|;)/i
            ], [MODEL, [VENDOR, 'Vivo'], [TYPE, MOBILE]], [

            // Realme
            /\b(rmx[1-3]\d{3})(?: bui|;|\))/i
            ], [MODEL, [VENDOR, 'Realme'], [TYPE, MOBILE]], [

            // Motorola
            /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
            /\bmot(?:orola)?[- ](\w*)/i,
            /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
            ], [MODEL, [VENDOR, MOTOROLA], [TYPE, MOBILE]], [
            /\b(mz60\d|xoom[2 ]{0,2}) build\//i
            ], [MODEL, [VENDOR, MOTOROLA], [TYPE, TABLET]], [

            // LG
            /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
            ], [MODEL, [VENDOR, LG], [TYPE, TABLET]], [
            /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
            /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,
            /\blg-?([\d\w]+) bui/i
            ], [MODEL, [VENDOR, LG], [TYPE, MOBILE]], [

            // Lenovo
            /(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
            /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
            ], [MODEL, [VENDOR, LENOVO], [TYPE, TABLET]], [

            // Nokia
            /(nokia) (t[12][01])/i
            ], [VENDOR, MODEL, [TYPE, TABLET]], [
            /(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
            /nokia[-_ ]?(([-\w\. ]*))/i
            ], [[MODEL, /_/g, ' '], [TYPE, MOBILE], [VENDOR, 'Nokia']], [

            // Google
            /(pixel (c|tablet))\b/i                                             // Google Pixel C/Tablet
            ], [MODEL, [VENDOR, GOOGLE], [TYPE, TABLET]], [
            /droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i                         // Google Pixel
            ], [MODEL, [VENDOR, GOOGLE], [TYPE, MOBILE]], [

            // Sony
            /droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
            ], [MODEL, [VENDOR, SONY], [TYPE, MOBILE]], [
            /sony tablet [ps]/i,
            /\b(?:sony)?sgp\w+(?: bui|\))/i
            ], [[MODEL, 'Xperia Tablet'], [VENDOR, SONY], [TYPE, TABLET]], [

            // OnePlus
            / (kb2005|in20[12]5|be20[12][59])\b/i,
            /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
            ], [MODEL, [VENDOR, ONEPLUS], [TYPE, MOBILE]], [

            // Amazon
            /(alexa)webm/i,
            /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,                           // Kindle Fire without Silk / Echo Show
            /(kf[a-z]+)( bui|\)).+silk\//i                                      // Kindle Fire HD
            ], [MODEL, [VENDOR, AMAZON], [TYPE, TABLET]], [
            /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i                     // Fire Phone
            ], [[MODEL, /(.+)/g, 'Fire Phone $1'], [VENDOR, AMAZON], [TYPE, MOBILE]], [

            // BlackBerry
            /(playbook);[-\w\),; ]+(rim)/i                                      // BlackBerry PlayBook
            ], [MODEL, VENDOR, [TYPE, TABLET]], [
            /\b((?:bb[a-f]|st[hv])100-\d)/i,
            /\(bb10; (\w+)/i                                                    // BlackBerry 10
            ], [MODEL, [VENDOR, BLACKBERRY], [TYPE, MOBILE]], [

            // Asus
            /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
            ], [MODEL, [VENDOR, ASUS], [TYPE, TABLET]], [
            / (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
            ], [MODEL, [VENDOR, ASUS], [TYPE, MOBILE]], [

            // HTC
            /(nexus 9)/i                                                        // HTC Nexus 9
            ], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [
            /(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,                         // HTC

            // ZTE
            /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,
            /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i         // Alcatel/GeeksPhone/Nexian/Panasonic/Sony
            ], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [

            // TCL
            /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i
            ], [MODEL, [VENDOR, 'TCL'], [TYPE, TABLET]], [

            // itel
            /(itel) ((\w+))/i
            ], [[VENDOR, lowerize], MODEL, [TYPE, strMapper, { 'tablet' : ['p10001l', 'w7001'], '*' : 'mobile' }]], [

            // Acer
            /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
            ], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [

            // Meizu
            /droid.+; (m[1-5] note) bui/i,
            /\bmz-([-\w]{2,})/i
            ], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [
                
            // Ulefone
            /; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
            ], [MODEL, [VENDOR, 'Ulefone'], [TYPE, MOBILE]], [

            // Energizer
            /; (energy ?\w+)(?: bui|\))/i,
            /; energizer ([\w ]+)(?: bui|\))/i
            ], [MODEL, [VENDOR, 'Energizer'], [TYPE, MOBILE]], [

            // Cat
            /; cat (b35);/i,
            /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
            ], [MODEL, [VENDOR, 'Cat'], [TYPE, MOBILE]], [

            // Smartfren
            /((?:new )?andromax[\w- ]+)(?: bui|\))/i
            ], [MODEL, [VENDOR, 'Smartfren'], [TYPE, MOBILE]], [

            // Nothing
            /droid.+; (a(?:015|06[35]|142p?))/i
            ], [MODEL, [VENDOR, 'Nothing'], [TYPE, MOBILE]], [

            // Archos
            /; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
            /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i
            ], [MODEL, [VENDOR, 'Archos'], [TYPE, TABLET]], [
            /archos ([\w ]+)( b|\))/i,
            /; (ac[3-6]\d\w{2,8})( b|\))/i 
            ], [MODEL, [VENDOR, 'Archos'], [TYPE, MOBILE]], [

            // MIXED
            /(imo) (tab \w+)/i,                                                 // IMO
            /(infinix) (x1101b?)/i                                              // Infinix XPad
            ], [VENDOR, MODEL, [TYPE, TABLET]], [

            /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
                                                                                // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Infinix/Tecno/Micromax/Advan
            /; (hmd|imo) ([\w ]+?)(?: bui|\))/i,                                // HMD/IMO
            /(hp) ([\w ]+\w)/i,                                                 // HP iPAQ
            /(microsoft); (lumia[\w ]+)/i,                                      // Microsoft Lumia
            /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,                          // Lenovo
            /(oppo) ?([\w ]+) bui/i                                             // OPPO
            ], [VENDOR, MODEL, [TYPE, MOBILE]], [

            /(kobo)\s(ereader|touch)/i,                                         // Kobo
            /(hp).+(touchpad(?!.+tablet)|tablet)/i,                             // HP TouchPad
            /(kindle)\/([\w\.]+)/i,                                             // Kindle
            /(nook)[\w ]+build\/(\w+)/i,                                        // Nook
            /(dell) (strea[kpr\d ]*[\dko])/i,                                   // Dell Streak
            /(le[- ]+pan)[- ]+(\w{1,9}) bui/i,                                  // Le Pan Tablets
            /(trinity)[- ]*(t\d{3}) bui/i,                                      // Trinity Tablets
            /(gigaset)[- ]+(q\w{1,9}) bui/i,                                    // Gigaset Tablets
            /(vodafone) ([\w ]+)(?:\)| bui)/i                                   // Vodafone
            ], [VENDOR, MODEL, [TYPE, TABLET]], [

            /(surface duo)/i                                                    // Surface Duo
            ], [MODEL, [VENDOR, MICROSOFT], [TYPE, TABLET]], [
            /droid [\d\.]+; (fp\du?)(?: b|\))/i                                 // Fairphone
            ], [MODEL, [VENDOR, 'Fairphone'], [TYPE, MOBILE]], [
            /(u304aa)/i                                                         // AT&T
            ], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [
            /\bsie-(\w*)/i                                                      // Siemens
            ], [MODEL, [VENDOR, 'Siemens'], [TYPE, MOBILE]], [
            /\b(rct\w+) b/i                                                     // RCA Tablets
            ], [MODEL, [VENDOR, 'RCA'], [TYPE, TABLET]], [
            /\b(venue[\d ]{2,7}) b/i                                            // Dell Venue Tablets
            ], [MODEL, [VENDOR, 'Dell'], [TYPE, TABLET]], [
            /\b(q(?:mv|ta)\w+) b/i                                              // Verizon Tablet
            ], [MODEL, [VENDOR, 'Verizon'], [TYPE, TABLET]], [
            /\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i                       // Barnes & Noble Tablet
            ], [MODEL, [VENDOR, 'Barnes & Noble'], [TYPE, TABLET]], [
            /\b(tm\d{3}\w+) b/i
            ], [MODEL, [VENDOR, 'NuVision'], [TYPE, TABLET]], [
            /\b(k88) b/i                                                        // ZTE K Series Tablet
            ], [MODEL, [VENDOR, 'ZTE'], [TYPE, TABLET]], [
            /\b(nx\d{3}j) b/i                                                   // ZTE Nubia
            ], [MODEL, [VENDOR, 'ZTE'], [TYPE, MOBILE]], [
            /\b(gen\d{3}) b.+49h/i                                              // Swiss GEN Mobile
            ], [MODEL, [VENDOR, 'Swiss'], [TYPE, MOBILE]], [
            /\b(zur\d{3}) b/i                                                   // Swiss ZUR Tablet
            ], [MODEL, [VENDOR, 'Swiss'], [TYPE, TABLET]], [
            /\b((zeki)?tb.*\b) b/i                                              // Zeki Tablets
            ], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [
            /\b([yr]\d{2}) b/i,
            /\b(dragon[- ]+touch |dt)(\w{5}) b/i                                // Dragon Touch Tablet
            ], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [
            /\b(ns-?\w{0,9}) b/i                                                // Insignia Tablets
            ], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [
            /\b((nxa|next)-?\w{0,9}) b/i                                        // NextBook Tablets
            ], [MODEL, [VENDOR, 'NextBook'], [TYPE, TABLET]], [
            /\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i                  // Voice Xtreme Phones
            ], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [
            /\b(lvtel\-)?(v1[12]) b/i                                           // LvTel Phones
            ], [[VENDOR, 'LvTel'], MODEL, [TYPE, MOBILE]], [
            /\b(ph-1) /i                                                        // Essential PH-1
            ], [MODEL, [VENDOR, 'Essential'], [TYPE, MOBILE]], [
            /\b(v(100md|700na|7011|917g).*\b) b/i                               // Envizen Tablets
            ], [MODEL, [VENDOR, 'Envizen'], [TYPE, TABLET]], [
            /\b(trio[-\w\. ]+) b/i                                              // MachSpeed Tablets
            ], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [
            /\btu_(1491) b/i                                                    // Rotor Tablets
            ], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [
            /((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i              // Nvidia Tablets
            ], [MODEL, [VENDOR, NVIDIA], [TYPE, TABLET]], [
            /(sprint) (\w+)/i                                                   // Sprint Phones
            ], [VENDOR, MODEL, [TYPE, MOBILE]], [
            /(kin\.[onetw]{3})/i                                                // Microsoft Kin
            ], [[MODEL, /\./g, ' '], [VENDOR, MICROSOFT], [TYPE, MOBILE]], [
            /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i             // Zebra
            ], [MODEL, [VENDOR, ZEBRA], [TYPE, TABLET]], [
            /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
            ], [MODEL, [VENDOR, ZEBRA], [TYPE, MOBILE]], [

            ///////////////////
            // SMARTTVS
            ///////////////////

            /smart-tv.+(samsung)/i                                              // Samsung
            ], [VENDOR, [TYPE, SMARTTV]], [
            /hbbtv.+maple;(\d+)/i
            ], [[MODEL, /^/, 'SmartTV'], [VENDOR, SAMSUNG], [TYPE, SMARTTV]], [
            /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i        // LG SmartTV
            ], [[VENDOR, LG], [TYPE, SMARTTV]], [
            /(apple) ?tv/i                                                      // Apple TV
            ], [VENDOR, [MODEL, APPLE+' TV'], [TYPE, SMARTTV]], [
            /crkey/i                                                            // Google Chromecast
            ], [[MODEL, CHROME+'cast'], [VENDOR, GOOGLE], [TYPE, SMARTTV]], [
            /droid.+aft(\w+)( bui|\))/i                                         // Fire TV
            ], [MODEL, [VENDOR, AMAZON], [TYPE, SMARTTV]], [
            /(shield \w+ tv)/i                                                  // Nvidia Shield TV
            ], [MODEL, [VENDOR, NVIDIA], [TYPE, SMARTTV]], [
            /\(dtv[\);].+(aquos)/i,
            /(aquos-tv[\w ]+)\)/i                                               // Sharp
            ], [MODEL, [VENDOR, SHARP], [TYPE, SMARTTV]],[
            /(bravia[\w ]+)( bui|\))/i                                              // Sony
            ], [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]], [
            /(mi(tv|box)-?\w+) bui/i                                            // Xiaomi
            ], [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]], [
            /Hbbtv.*(technisat) (.*);/i                                         // TechniSAT
            ], [VENDOR, MODEL, [TYPE, SMARTTV]], [
            /\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,                          // Roku
            /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i         // HbbTV devices
            ], [[VENDOR, trim], [MODEL, trim], [TYPE, SMARTTV]], [
                                                                                // SmartTV from Unidentified Vendors
            /droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
            ], [MODEL, [TYPE, SMARTTV]], [
            /\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i
            ], [[TYPE, SMARTTV]], [

            ///////////////////
            // CONSOLES
            ///////////////////

            /(ouya)/i,                                                          // Ouya
            /(nintendo) ([wids3utch]+)/i                                        // Nintendo
            ], [VENDOR, MODEL, [TYPE, CONSOLE]], [
            /droid.+; (shield)( bui|\))/i                                       // Nvidia Portable
            ], [MODEL, [VENDOR, NVIDIA], [TYPE, CONSOLE]], [
            /(playstation \w+)/i                                                // Playstation
            ], [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]], [
            /\b(xbox(?: one)?(?!; xbox))[\); ]/i                                // Microsoft Xbox
            ], [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]], [

            ///////////////////
            // WEARABLES
            ///////////////////

            /\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i                       // Samsung Galaxy Watch
            ], [MODEL, [VENDOR, SAMSUNG], [TYPE, WEARABLE]], [
            /((pebble))app/i,                                                   // Pebble
            /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i        // Asus ZenWatch / LG Watch / Pixel Watch
            ], [VENDOR, MODEL, [TYPE, WEARABLE]], [
            /(ow(?:19|20)?we?[1-3]{1,3})/i                                      // Oppo Watch
            ], [MODEL, [VENDOR, OPPO], [TYPE, WEARABLE]], [
            /(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i                              // Apple Watch
            ], [MODEL, [VENDOR, APPLE], [TYPE, WEARABLE]], [
            /(opwwe\d{3})/i                                                     // OnePlus Watch
            ], [MODEL, [VENDOR, ONEPLUS], [TYPE, WEARABLE]], [
            /(moto 360)/i                                                       // Motorola 360
            ], [MODEL, [VENDOR, MOTOROLA], [TYPE, WEARABLE]], [
            /(smartwatch 3)/i                                                   // Sony SmartWatch
            ], [MODEL, [VENDOR, SONY], [TYPE, WEARABLE]], [
            /(g watch r)/i                                                      // LG G Watch R
            ], [MODEL, [VENDOR, LG], [TYPE, WEARABLE]], [
            /droid.+; (wt63?0{2,3})\)/i
            ], [MODEL, [VENDOR, ZEBRA], [TYPE, WEARABLE]], [

            ///////////////////
            // XR
            ///////////////////

            /droid.+; (glass) \d/i                                              // Google Glass
            ], [MODEL, [VENDOR, GOOGLE], [TYPE, WEARABLE]], [
            /(pico) (4|neo3(?: link|pro)?)/i                                    // Pico
            ], [VENDOR, MODEL, [TYPE, WEARABLE]], [
            /; (quest( \d| pro)?)/i                                             // Oculus Quest
            ], [MODEL, [VENDOR, FACEBOOK], [TYPE, WEARABLE]], [

            ///////////////////
            // EMBEDDED
            ///////////////////

            /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i                              // Tesla
            ], [VENDOR, [TYPE, EMBEDDED]], [
            /(aeobc)\b/i                                                        // Echo Dot
            ], [MODEL, [VENDOR, AMAZON], [TYPE, EMBEDDED]], [
            /(homepod).+mac os/i                                                // Apple HomePod
            ], [MODEL, [VENDOR, APPLE], [TYPE, EMBEDDED]], [
            /windows iot/i
            ], [[TYPE, EMBEDDED]], [

            ////////////////////
            // MIXED (GENERIC)
            ///////////////////

            /droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i    // Android Phones from Unidentified Vendors
            ], [MODEL, [TYPE, MOBILE]], [
            /droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i       // Android Tablets from Unidentified Vendors
            ], [MODEL, [TYPE, TABLET]], [
            /\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i                      // Unidentifiable Tablet
            ], [[TYPE, TABLET]], [
            /(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i    // Unidentifiable Mobile
            ], [[TYPE, MOBILE]], [
            /droid .+?; ([\w\. -]+)( bui|\))/i                                  // Generic Android Device
            ], [MODEL, [VENDOR, 'Generic']]
        ],

        engine : [[

            /windows.+ edge\/([\w\.]+)/i                                       // EdgeHTML
            ], [VERSION, [NAME, EDGE+'HTML']], [

            /(arkweb)\/([\w\.]+)/i                                              // ArkWeb
            ], [NAME, VERSION], [

            /webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i                         // Blink
            ], [VERSION, [NAME, 'Blink']], [

            /(presto)\/([\w\.]+)/i,                                             // Presto
            /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna/Servo
            /ekioh(flow)\/([\w\.]+)/i,                                          // Flow
            /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,                           // KHTML/Tasman/Links
            /(icab)[\/ ]([23]\.[\d\.]+)/i,                                      // iCab

            /\b(libweb)/i                                                       // LibWeb
            ], [NAME, VERSION], [
            /ladybird\//i
            ], [[NAME, 'LibWeb']], [

            /rv\:([\w\.]{1,9})\b.+(gecko)/i                                     // Gecko
            ], [VERSION, NAME]
        ],

        os : [[

            // Windows
            /microsoft (windows) (vista|xp)/i                                   // Windows (iTunes)
            ], [NAME, VERSION], [
            /(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i         // Windows Phone
            ], [NAME, [VERSION, strMapper, windowsVersionMap]], [
            /windows nt 6\.2; (arm)/i,                                          // Windows RT
            /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,
            /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
            ], [[VERSION, strMapper, windowsVersionMap], [NAME, 'Windows']], [

            // iOS/macOS
            /[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,             // iOS
            /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
            /cfnetwork\/.+darwin/i
            ], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [
            /(mac os x) ?([\w\. ]*)/i,
            /(macintosh|mac_powerpc\b)(?!.+haiku)/i                             // Mac OS
            ], [[NAME, MAC_OS], [VERSION, /_/g, '.']], [

            // Mobile OSes
            /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i                    // Android-x86/HarmonyOS
            ], [VERSION, NAME], [                                               
            /(ubuntu) ([\w\.]+) like android/i                                  // Ubuntu Touch
            ], [[NAME, /(.+)/, '$1 Touch'], VERSION], [
                                                                                // Android/Blackberry/WebOS/QNX/Bada/RIM/KaiOS/Maemo/MeeGo/S40/Sailfish OS/OpenHarmony/Tizen
            /(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i
            ], [NAME, VERSION], [
            /\(bb(10);/i                                                        // BlackBerry 10
            ], [VERSION, [NAME, BLACKBERRY]], [
            /(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i       // Symbian
            ], [VERSION, [NAME, 'Symbian']], [
            /mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i // Firefox OS
            ], [VERSION, [NAME, FIREFOX+' OS']], [
            /web0s;.+rt(tv)/i,
            /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i                              // WebOS
            ], [VERSION, [NAME, 'webOS']], [
            /watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i                              // watchOS
            ], [VERSION, [NAME, 'watchOS']], [

            // Google Chromecast
            /crkey\/([\d\.]+)/i                                                 // Google Chromecast
            ], [VERSION, [NAME, CHROME+'cast']], [
            /(cros) [\w]+(?:\)| ([\w\.]+)\b)/i                                  // Chromium OS
            ], [[NAME, CHROMIUM_OS], VERSION],[

            // Smart TVs
            /panasonic;(viera)/i,                                               // Panasonic Viera
            /(netrange)mmh/i,                                                   // Netrange
            /(nettv)\/(\d+\.[\w\.]+)/i,                                         // NetTV

            // Console
            /(nintendo|playstation) ([wids345portablevuch]+)/i,                 // Nintendo/Playstation
            /(xbox); +xbox ([^\);]+)/i,                                         // Microsoft Xbox (360, One, X, S, Series X, Series S)

            // Other
            /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,                            // Joli/Palm
            /(mint)[\/\(\) ]?(\w*)/i,                                           // Mint
            /(mageia|vectorlinux)[; ]/i,                                        // Mageia/VectorLinux
            /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,
                                                                                // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire
            /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,                     // Hurd/Linux
            /(gnu) ?([\w\.]*)/i,                                                // GNU
            /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly
            /(haiku) (\w+)/i                                                    // Haiku
            ], [NAME, VERSION], [
            /(sunos) ?([\w\.\d]*)/i                                             // Solaris
            ], [[NAME, 'Solaris'], VERSION], [
            /((?:open)?solaris)[-\/ ]?([\w\.]*)/i,                              // Solaris
            /(aix) ((\d)(?=\.|\)| )[\w\.])*/i,                                  // AIX
            /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX/SerenityOS
            /(unix) ?([\w\.]*)/i                                                // UNIX
            ], [NAME, VERSION]
        ]
    };

    /////////////////
    // Constructor
    ////////////////

    var UAParser = function (ua, extensions) {

        if (typeof ua === OBJ_TYPE) {
            extensions = ua;
            ua = undefined;
        }

        if (!(this instanceof UAParser)) {
            return new UAParser(ua, extensions).getResult();
        }

        var _navigator = (typeof window !== UNDEF_TYPE && window.navigator) ? window.navigator : undefined;
        var _ua = ua || ((_navigator && _navigator.userAgent) ? _navigator.userAgent : EMPTY);
        var _uach = (_navigator && _navigator.userAgentData) ? _navigator.userAgentData : undefined;
        var _rgxmap = extensions ? extend(regexes, extensions) : regexes;
        var _isSelfNav = _navigator && _navigator.userAgent == _ua;

        this.getBrowser = function () {
            var _browser = {};
            _browser[NAME] = undefined;
            _browser[VERSION] = undefined;
            rgxMapper.call(_browser, _ua, _rgxmap.browser);
            _browser[MAJOR] = majorize(_browser[VERSION]);
            // Brave-specific detection
            if (_isSelfNav && _navigator && _navigator.brave && typeof _navigator.brave.isBrave == FUNC_TYPE) {
                _browser[NAME] = 'Brave';
            }
            return _browser;
        };
        this.getCPU = function () {
            var _cpu = {};
            _cpu[ARCHITECTURE] = undefined;
            rgxMapper.call(_cpu, _ua, _rgxmap.cpu);
            return _cpu;
        };
        this.getDevice = function () {
            var _device = {};
            _device[VENDOR] = undefined;
            _device[MODEL] = undefined;
            _device[TYPE] = undefined;
            rgxMapper.call(_device, _ua, _rgxmap.device);
            if (_isSelfNav && !_device[TYPE] && _uach && _uach.mobile) {
                _device[TYPE] = MOBILE;
            }
            // iPadOS-specific detection: identified as Mac, but has some iOS-only properties
            if (_isSelfNav && _device[MODEL] == 'Macintosh' && _navigator && typeof _navigator.standalone !== UNDEF_TYPE && _navigator.maxTouchPoints && _navigator.maxTouchPoints > 2) {
                _device[MODEL] = 'iPad';
                _device[TYPE] = TABLET;
            }
            return _device;
        };
        this.getEngine = function () {
            var _engine = {};
            _engine[NAME] = undefined;
            _engine[VERSION] = undefined;
            rgxMapper.call(_engine, _ua, _rgxmap.engine);
            return _engine;
        };
        this.getOS = function () {
            var _os = {};
            _os[NAME] = undefined;
            _os[VERSION] = undefined;
            rgxMapper.call(_os, _ua, _rgxmap.os);
            if (_isSelfNav && !_os[NAME] && _uach && _uach.platform && _uach.platform != 'Unknown') {
                _os[NAME] = _uach.platform  
                                    .replace(/chrome os/i, CHROMIUM_OS)
                                    .replace(/macos/i, MAC_OS);           // backward compatibility
            }
            return _os;
        };
        this.getResult = function () {
            return {
                ua      : this.getUA(),
                browser : this.getBrowser(),
                engine  : this.getEngine(),
                os      : this.getOS(),
                device  : this.getDevice(),
                cpu     : this.getCPU()
            };
        };
        this.getUA = function () {
            return _ua;
        };
        this.setUA = function (ua) {
            _ua = (typeof ua === STR_TYPE && ua.length > UA_MAX_LENGTH) ? trim(ua, UA_MAX_LENGTH) : ua;
            return this;
        };
        this.setUA(_ua);
        return this;
    };

    UAParser.VERSION = LIBVERSION;
    UAParser.BROWSER =  enumerize([NAME, VERSION, MAJOR]);
    UAParser.CPU = enumerize([ARCHITECTURE]);
    UAParser.DEVICE = enumerize([MODEL, VENDOR, TYPE, CONSOLE, MOBILE, SMARTTV, TABLET, WEARABLE, EMBEDDED]);
    UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);

    ///////////
    // Export
    //////////

    // check js environment
    if (typeof(exports) !== UNDEF_TYPE) {
        // nodejs env
        if ("object" !== UNDEF_TYPE && module.exports) {
            exports = module.exports = UAParser;
        }
        exports.UAParser = UAParser;
    } else {
        // requirejs env (optional)
        if ("function" === FUNC_TYPE && __webpack_require__.amdO) {
            !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
                return UAParser;
            }).call(exports, __webpack_require__, exports, module),
		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
        } else if (typeof window !== UNDEF_TYPE) {
            // browser env
            window.UAParser = UAParser;
        }
    }

    // jQuery/Zepto specific (optional)
    // Note:
    //   In AMD env the global scope should be kept clean, but jQuery is an exception.
    //   jQuery always exports to global scope, unless jQuery.noConflict(true) is used,
    //   and we should catch that.
    var $ = typeof window !== UNDEF_TYPE && (window.jQuery || window.Zepto);
    if ($ && !$.ua) {
        var parser = new UAParser();
        $.ua = parser.getResult();
        $.ua.get = function () {
            return parser.getUA();
        };
        $.ua.set = function (ua) {
            parser.setUA(ua);
            var result = parser.getResult();
            for (var prop in result) {
                $.ua[prop] = result[prop];
            }
        };
    }

})(typeof window === 'object' ? window : this);


/***/ },

/***/ "./node_modules/.pnpm/validate-iri@1.0.1/node_modules/validate-iri/index.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/validate-iri@1.0.1/node_modules/validate-iri/index.js ***!
  \**********************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
__exportStar(__webpack_require__(/*! ./lib/Validate */ "./node_modules/.pnpm/validate-iri@1.0.1/node_modules/validate-iri/lib/Validate.js"), exports);
//# sourceMappingURL=index.js.map

/***/ },

/***/ "./node_modules/.pnpm/validate-iri@1.0.1/node_modules/validate-iri/lib/Validate.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/validate-iri@1.0.1/node_modules/validate-iri/lib/Validate.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.validateIri = exports.IriValidationStrategy = void 0;
function buildAbsoluteIriRfc3987Regex() {
    // The syntax is defined in https://www.rfc-editor.org/rfc/rfc3987#section-2.2
    // Rules are defined in reversed order
    const sub_delims_raw = `!$&'()*+,;=`;
    const sub_delims = `[${sub_delims_raw}]`;
    const pct_encoded = `%[a-fA-F0-9]{2}`;
    const dec_octet = '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';
    const ipv4address = `${dec_octet}\\.${dec_octet}\\.${dec_octet}\\.${dec_octet}`;
    const h16 = `[a-fA-F0-9]{1,4}`;
    const ls32 = `(${h16}:${h16}|${ipv4address})`;
    const ipv6address = `((${h16}:){6}${ls32}|::(${h16}:){5}${ls32}|(${h16})?::(${h16}:){4}${ls32}|((${h16}:){0,1}${h16})?::(${h16}:){3}${ls32}|((${h16}:){0,2}${h16})?::(${h16}:){2}${ls32}|((${h16}:){0,3}${h16})?::${h16}:${ls32}|((${h16}:){0,4}${h16})?::${ls32}|((${h16}:){0,5}${h16})?::${h16}|((${h16}:){0,6}${h16})?::)`;
    const ipvfuture = `v[a-fA-F0-9]+\\.(${sub_delims}|${sub_delims}|":)+`;
    const ip_literal = `\\[(${ipv6address}|${ipvfuture})\\]`;
    const port = `[0-9]*`;
    const scheme = `[a-zA-Z][a-zA-Z0-9+\\-.]*`;
    const iprivate_raw = `\u{E000}-\u{F8FF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}`;
    const iprivate = `[${iprivate_raw}]`;
    const ucschar_raw = `\u{A0}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFEF}\u{10000}-\u{1FFFD}\u{20000}-\u{2FFFD}\u{30000}-\u{3FFFD}\u{40000}-\u{4FFFD}\u{50000}-\u{5FFFD}\u{60000}-\u{6FFFD}\u{70000}-\u{7FFFD}\u{80000}-\u{8FFFD}\u{90000}-\u{9FFFD}\u{A0000}-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}\u{D0000}-\u{DFFFD}\u{E1000}-\u{EFFFD}`;
    const iunreserved_raw = `a-zA-Z0-9\\-._~${ucschar_raw}`;
    const iunreserved = `[${iunreserved_raw}]`;
    const ipchar = `(${iunreserved}|${pct_encoded}|${sub_delims}|[:@])*`;
    const ifragment = `(${ipchar}|[\\/?])*`;
    const iquery = `(${ipchar}|${iprivate}|[\\/?])*`;
    const isegment_nz = `(${ipchar})+`;
    const isegment = `(${ipchar})*`;
    const ipath_empty = '';
    const ipath_rootless = `${isegment_nz}(\\/${isegment})*`;
    const ipath_absolute = `\\/(${isegment_nz}(\\/${isegment})*)?`;
    const ipath_abempty = `(\\/${isegment})*`;
    const ireg_name = `(${iunreserved}|${pct_encoded}|${sub_delims})*`;
    const ihost = `(${ip_literal}|${ipv4address}|${ireg_name})`;
    const iuserinfo = `(${iunreserved}|${pct_encoded}|${sub_delims}|:)*`;
    const iauthority = `(${iuserinfo}@)?${ihost}(:${port})?`;
    const ihier_part = `(\\/\\/${iauthority}${ipath_abempty}|${ipath_absolute}|${ipath_rootless}|${ipath_empty})`;
    const iri = `^${scheme}:${ihier_part}(\\?${iquery})?(#${ifragment})?$`;
    return new RegExp(iri, 'u');
}
const STRICT_IRI_REGEX = buildAbsoluteIriRfc3987Regex();
// eslint-disable-next-line no-control-regex
const PRAGMATIC_IRI_REGEX = /^[A-Za-z][\d+-.A-Za-z]*:[^\u0000-\u0020"<>\\^`{|}]*$/u;
/**
 * Possible ways of validating an IRI
 */
var IriValidationStrategy;
(function (IriValidationStrategy) {
    /**
     * Validates the IRI according to RFC 3987.
     */
    IriValidationStrategy["Strict"] = "strict";
    /**
     * Validates that the IRI has a valid scheme and does not contain any character forbidden by the Turtle specification.
     */
    IriValidationStrategy["Pragmatic"] = "pragmatic";
    /**
     * Does not validate the IRI at all.
     */
    IriValidationStrategy["None"] = "none";
})(IriValidationStrategy = exports.IriValidationStrategy || (exports.IriValidationStrategy = {}));
/**
 * Validate a given IRI according to the given strategy.
 *
 * By default the IRI is fully validated according to RFC 3987.
 * But it is possible to do a lighter a faster validation using the "pragmatic" strategy.
 *
 * @param {string} iri a string that may be an IRI.
 * @param {IriValidationStrategy} strategy IRI validation strategy.
 * @return {Error | undefined} An error if the IRI is invalid, or undefined if it is valid.
 */
function validateIri(iri, strategy = IriValidationStrategy.Strict) {
    switch (strategy) {
        case IriValidationStrategy.Strict:
            return STRICT_IRI_REGEX.test(iri) ? undefined : new Error(`Invalid IRI according to RFC 3987: '${iri}'`);
        case IriValidationStrategy.Pragmatic:
            return PRAGMATIC_IRI_REGEX.test(iri) ? undefined : new Error(`Invalid IRI according to RDF Turtle: '${iri}'`);
        case IriValidationStrategy.None:
            return undefined;
        default:
            return new Error(`Not supported validation strategy "${strategy}"`);
    }
}
exports.validateIri = validateIri;
//# sourceMappingURL=Validate.js.map

/***/ },

/***/ "./node_modules/.pnpm/whatwg-fetch@3.6.20/node_modules/whatwg-fetch/fetch.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/whatwg-fetch@3.6.20/node_modules/whatwg-fetch/fetch.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DOMException: () => (/* binding */ DOMException),
/* harmony export */   Headers: () => (/* binding */ Headers),
/* harmony export */   Request: () => (/* binding */ Request),
/* harmony export */   Response: () => (/* binding */ Response),
/* harmony export */   fetch: () => (/* binding */ fetch)
/* harmony export */ });
/* eslint-disable no-prototype-builtins */
var g =
  (typeof globalThis !== 'undefined' && globalThis) ||
  (typeof self !== 'undefined' && self) ||
  // eslint-disable-next-line no-undef
  (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g) ||
  {}

var support = {
  searchParams: 'URLSearchParams' in g,
  iterable: 'Symbol' in g && 'iterator' in Symbol,
  blob:
    'FileReader' in g &&
    'Blob' in g &&
    (function() {
      try {
        new Blob()
        return true
      } catch (e) {
        return false
      }
    })(),
  formData: 'FormData' in g,
  arrayBuffer: 'ArrayBuffer' in g
}

function isDataView(obj) {
  return obj && DataView.prototype.isPrototypeOf(obj)
}

if (support.arrayBuffer) {
  var viewClasses = [
    '[object Int8Array]',
    '[object Uint8Array]',
    '[object Uint8ClampedArray]',
    '[object Int16Array]',
    '[object Uint16Array]',
    '[object Int32Array]',
    '[object Uint32Array]',
    '[object Float32Array]',
    '[object Float64Array]'
  ]

  var isArrayBufferView =
    ArrayBuffer.isView ||
    function(obj) {
      return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1
    }
}

function normalizeName(name) {
  if (typeof name !== 'string') {
    name = String(name)
  }
  if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {
    throw new TypeError('Invalid character in header field name: "' + name + '"')
  }
  return name.toLowerCase()
}

function normalizeValue(value) {
  if (typeof value !== 'string') {
    value = String(value)
  }
  return value
}

// Build a destructive iterator for the value list
function iteratorFor(items) {
  var iterator = {
    next: function() {
      var value = items.shift()
      return {done: value === undefined, value: value}
    }
  }

  if (support.iterable) {
    iterator[Symbol.iterator] = function() {
      return iterator
    }
  }

  return iterator
}

function Headers(headers) {
  this.map = {}

  if (headers instanceof Headers) {
    headers.forEach(function(value, name) {
      this.append(name, value)
    }, this)
  } else if (Array.isArray(headers)) {
    headers.forEach(function(header) {
      if (header.length != 2) {
        throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length)
      }
      this.append(header[0], header[1])
    }, this)
  } else if (headers) {
    Object.getOwnPropertyNames(headers).forEach(function(name) {
      this.append(name, headers[name])
    }, this)
  }
}

Headers.prototype.append = function(name, value) {
  name = normalizeName(name)
  value = normalizeValue(value)
  var oldValue = this.map[name]
  this.map[name] = oldValue ? oldValue + ', ' + value : value
}

Headers.prototype['delete'] = function(name) {
  delete this.map[normalizeName(name)]
}

Headers.prototype.get = function(name) {
  name = normalizeName(name)
  return this.has(name) ? this.map[name] : null
}

Headers.prototype.has = function(name) {
  return this.map.hasOwnProperty(normalizeName(name))
}

Headers.prototype.set = function(name, value) {
  this.map[normalizeName(name)] = normalizeValue(value)
}

Headers.prototype.forEach = function(callback, thisArg) {
  for (var name in this.map) {
    if (this.map.hasOwnProperty(name)) {
      callback.call(thisArg, this.map[name], name, this)
    }
  }
}

Headers.prototype.keys = function() {
  var items = []
  this.forEach(function(value, name) {
    items.push(name)
  })
  return iteratorFor(items)
}

Headers.prototype.values = function() {
  var items = []
  this.forEach(function(value) {
    items.push(value)
  })
  return iteratorFor(items)
}

Headers.prototype.entries = function() {
  var items = []
  this.forEach(function(value, name) {
    items.push([name, value])
  })
  return iteratorFor(items)
}

if (support.iterable) {
  Headers.prototype[Symbol.iterator] = Headers.prototype.entries
}

function consumed(body) {
  if (body._noBody) return
  if (body.bodyUsed) {
    return Promise.reject(new TypeError('Already read'))
  }
  body.bodyUsed = true
}

function fileReaderReady(reader) {
  return new Promise(function(resolve, reject) {
    reader.onload = function() {
      resolve(reader.result)
    }
    reader.onerror = function() {
      reject(reader.error)
    }
  })
}

function readBlobAsArrayBuffer(blob) {
  var reader = new FileReader()
  var promise = fileReaderReady(reader)
  reader.readAsArrayBuffer(blob)
  return promise
}

function readBlobAsText(blob) {
  var reader = new FileReader()
  var promise = fileReaderReady(reader)
  var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type)
  var encoding = match ? match[1] : 'utf-8'
  reader.readAsText(blob, encoding)
  return promise
}

function readArrayBufferAsText(buf) {
  var view = new Uint8Array(buf)
  var chars = new Array(view.length)

  for (var i = 0; i < view.length; i++) {
    chars[i] = String.fromCharCode(view[i])
  }
  return chars.join('')
}

function bufferClone(buf) {
  if (buf.slice) {
    return buf.slice(0)
  } else {
    var view = new Uint8Array(buf.byteLength)
    view.set(new Uint8Array(buf))
    return view.buffer
  }
}

function Body() {
  this.bodyUsed = false

  this._initBody = function(body) {
    /*
      fetch-mock wraps the Response object in an ES6 Proxy to
      provide useful test harness features such as flush. However, on
      ES5 browsers without fetch or Proxy support pollyfills must be used;
      the proxy-pollyfill is unable to proxy an attribute unless it exists
      on the object before the Proxy is created. This change ensures
      Response.bodyUsed exists on the instance, while maintaining the
      semantic of setting Request.bodyUsed in the constructor before
      _initBody is called.
    */
    // eslint-disable-next-line no-self-assign
    this.bodyUsed = this.bodyUsed
    this._bodyInit = body
    if (!body) {
      this._noBody = true;
      this._bodyText = ''
    } else if (typeof body === 'string') {
      this._bodyText = body
    } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
      this._bodyBlob = body
    } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
      this._bodyFormData = body
    } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
      this._bodyText = body.toString()
    } else if (support.arrayBuffer && support.blob && isDataView(body)) {
      this._bodyArrayBuffer = bufferClone(body.buffer)
      // IE 10-11 can't handle a DataView body.
      this._bodyInit = new Blob([this._bodyArrayBuffer])
    } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {
      this._bodyArrayBuffer = bufferClone(body)
    } else {
      this._bodyText = body = Object.prototype.toString.call(body)
    }

    if (!this.headers.get('content-type')) {
      if (typeof body === 'string') {
        this.headers.set('content-type', 'text/plain;charset=UTF-8')
      } else if (this._bodyBlob && this._bodyBlob.type) {
        this.headers.set('content-type', this._bodyBlob.type)
      } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
        this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')
      }
    }
  }

  if (support.blob) {
    this.blob = function() {
      var rejected = consumed(this)
      if (rejected) {
        return rejected
      }

      if (this._bodyBlob) {
        return Promise.resolve(this._bodyBlob)
      } else if (this._bodyArrayBuffer) {
        return Promise.resolve(new Blob([this._bodyArrayBuffer]))
      } else if (this._bodyFormData) {
        throw new Error('could not read FormData body as blob')
      } else {
        return Promise.resolve(new Blob([this._bodyText]))
      }
    }
  }

  this.arrayBuffer = function() {
    if (this._bodyArrayBuffer) {
      var isConsumed = consumed(this)
      if (isConsumed) {
        return isConsumed
      } else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {
        return Promise.resolve(
          this._bodyArrayBuffer.buffer.slice(
            this._bodyArrayBuffer.byteOffset,
            this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
          )
        )
      } else {
        return Promise.resolve(this._bodyArrayBuffer)
      }
    } else if (support.blob) {
      return this.blob().then(readBlobAsArrayBuffer)
    } else {
      throw new Error('could not read as ArrayBuffer')
    }
  }

  this.text = function() {
    var rejected = consumed(this)
    if (rejected) {
      return rejected
    }

    if (this._bodyBlob) {
      return readBlobAsText(this._bodyBlob)
    } else if (this._bodyArrayBuffer) {
      return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))
    } else if (this._bodyFormData) {
      throw new Error('could not read FormData body as text')
    } else {
      return Promise.resolve(this._bodyText)
    }
  }

  if (support.formData) {
    this.formData = function() {
      return this.text().then(decode)
    }
  }

  this.json = function() {
    return this.text().then(JSON.parse)
  }

  return this
}

// HTTP methods whose capitalization should be normalized
var methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE']

function normalizeMethod(method) {
  var upcased = method.toUpperCase()
  return methods.indexOf(upcased) > -1 ? upcased : method
}

function Request(input, options) {
  if (!(this instanceof Request)) {
    throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')
  }

  options = options || {}
  var body = options.body

  if (input instanceof Request) {
    if (input.bodyUsed) {
      throw new TypeError('Already read')
    }
    this.url = input.url
    this.credentials = input.credentials
    if (!options.headers) {
      this.headers = new Headers(input.headers)
    }
    this.method = input.method
    this.mode = input.mode
    this.signal = input.signal
    if (!body && input._bodyInit != null) {
      body = input._bodyInit
      input.bodyUsed = true
    }
  } else {
    this.url = String(input)
  }

  this.credentials = options.credentials || this.credentials || 'same-origin'
  if (options.headers || !this.headers) {
    this.headers = new Headers(options.headers)
  }
  this.method = normalizeMethod(options.method || this.method || 'GET')
  this.mode = options.mode || this.mode || null
  this.signal = options.signal || this.signal || (function () {
    if ('AbortController' in g) {
      var ctrl = new AbortController();
      return ctrl.signal;
    }
  }());
  this.referrer = null

  if ((this.method === 'GET' || this.method === 'HEAD') && body) {
    throw new TypeError('Body not allowed for GET or HEAD requests')
  }
  this._initBody(body)

  if (this.method === 'GET' || this.method === 'HEAD') {
    if (options.cache === 'no-store' || options.cache === 'no-cache') {
      // Search for a '_' parameter in the query string
      var reParamSearch = /([?&])_=[^&]*/
      if (reParamSearch.test(this.url)) {
        // If it already exists then set the value with the current time
        this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime())
      } else {
        // Otherwise add a new '_' parameter to the end with the current time
        var reQueryString = /\?/
        this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()
      }
    }
  }
}

Request.prototype.clone = function() {
  return new Request(this, {body: this._bodyInit})
}

function decode(body) {
  var form = new FormData()
  body
    .trim()
    .split('&')
    .forEach(function(bytes) {
      if (bytes) {
        var split = bytes.split('=')
        var name = split.shift().replace(/\+/g, ' ')
        var value = split.join('=').replace(/\+/g, ' ')
        form.append(decodeURIComponent(name), decodeURIComponent(value))
      }
    })
  return form
}

function parseHeaders(rawHeaders) {
  var headers = new Headers()
  // Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space
  // https://tools.ietf.org/html/rfc7230#section-3.2
  var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, ' ')
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
  // https://github.com/github/fetch/issues/748
  // https://github.com/zloirock/core-js/issues/751
  preProcessedHeaders
    .split('\r')
    .map(function(header) {
      return header.indexOf('\n') === 0 ? header.substr(1, header.length) : header
    })
    .forEach(function(line) {
      var parts = line.split(':')
      var key = parts.shift().trim()
      if (key) {
        var value = parts.join(':').trim()
        try {
          headers.append(key, value)
        } catch (error) {
          console.warn('Response ' + error.message)
        }
      }
    })
  return headers
}

Body.call(Request.prototype)

function Response(bodyInit, options) {
  if (!(this instanceof Response)) {
    throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')
  }
  if (!options) {
    options = {}
  }

  this.type = 'default'
  this.status = options.status === undefined ? 200 : options.status
  if (this.status < 200 || this.status > 599) {
    throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].")
  }
  this.ok = this.status >= 200 && this.status < 300
  this.statusText = options.statusText === undefined ? '' : '' + options.statusText
  this.headers = new Headers(options.headers)
  this.url = options.url || ''
  this._initBody(bodyInit)
}

Body.call(Response.prototype)

Response.prototype.clone = function() {
  return new Response(this._bodyInit, {
    status: this.status,
    statusText: this.statusText,
    headers: new Headers(this.headers),
    url: this.url
  })
}

Response.error = function() {
  var response = new Response(null, {status: 200, statusText: ''})
  response.ok = false
  response.status = 0
  response.type = 'error'
  return response
}

var redirectStatuses = [301, 302, 303, 307, 308]

Response.redirect = function(url, status) {
  if (redirectStatuses.indexOf(status) === -1) {
    throw new RangeError('Invalid status code')
  }

  return new Response(null, {status: status, headers: {location: url}})
}

var DOMException = g.DOMException
try {
  new DOMException()
} catch (err) {
  DOMException = function(message, name) {
    this.message = message
    this.name = name
    var error = Error(message)
    this.stack = error.stack
  }
  DOMException.prototype = Object.create(Error.prototype)
  DOMException.prototype.constructor = DOMException
}

function fetch(input, init) {
  return new Promise(function(resolve, reject) {
    var request = new Request(input, init)

    if (request.signal && request.signal.aborted) {
      return reject(new DOMException('Aborted', 'AbortError'))
    }

    var xhr = new XMLHttpRequest()

    function abortXhr() {
      xhr.abort()
    }

    xhr.onload = function() {
      var options = {
        statusText: xhr.statusText,
        headers: parseHeaders(xhr.getAllResponseHeaders() || '')
      }
      // This check if specifically for when a user fetches a file locally from the file system
      // Only if the status is out of a normal range
      if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {
        options.status = 200;
      } else {
        options.status = xhr.status;
      }
      options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')
      var body = 'response' in xhr ? xhr.response : xhr.responseText
      setTimeout(function() {
        resolve(new Response(body, options))
      }, 0)
    }

    xhr.onerror = function() {
      setTimeout(function() {
        reject(new TypeError('Network request failed'))
      }, 0)
    }

    xhr.ontimeout = function() {
      setTimeout(function() {
        reject(new TypeError('Network request timed out'))
      }, 0)
    }

    xhr.onabort = function() {
      setTimeout(function() {
        reject(new DOMException('Aborted', 'AbortError'))
      }, 0)
    }

    function fixUrl(url) {
      try {
        return url === '' && g.location.href ? g.location.href : url
      } catch (e) {
        return url
      }
    }

    xhr.open(request.method, fixUrl(request.url), true)

    if (request.credentials === 'include') {
      xhr.withCredentials = true
    } else if (request.credentials === 'omit') {
      xhr.withCredentials = false
    }

    if ('responseType' in xhr) {
      if (support.blob) {
        xhr.responseType = 'blob'
      } else if (
        support.arrayBuffer
      ) {
        xhr.responseType = 'arraybuffer'
      }
    }

    if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || (g.Headers && init.headers instanceof g.Headers))) {
      var names = [];
      Object.getOwnPropertyNames(init.headers).forEach(function(name) {
        names.push(normalizeName(name))
        xhr.setRequestHeader(name, normalizeValue(init.headers[name]))
      })
      request.headers.forEach(function(value, name) {
        if (names.indexOf(name) === -1) {
          xhr.setRequestHeader(name, value)
        }
      })
    } else {
      request.headers.forEach(function(value, name) {
        xhr.setRequestHeader(name, value)
      })
    }

    if (request.signal) {
      request.signal.addEventListener('abort', abortXhr)

      xhr.onreadystatechange = function() {
        // DONE (success or failure)
        if (xhr.readyState === 4) {
          request.signal.removeEventListener('abort', abortXhr)
        }
      }
    }

    xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)
  })
}

fetch.polyfill = true

if (!g.fetch) {
  g.fetch = fetch
  g.Headers = Headers
  g.Request = Request
  g.Response = Response
}


/***/ },

/***/ "./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.0/ed5.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.0/ed5.js ***!
  \********************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

/**
 * Character classes and associated utilities for the 5th edition of XML 1.0.
 *
 * @author Louis-Dominique Dubeau
 * @license MIT
 * @copyright Louis-Dominique Dubeau
 */
Object.defineProperty(exports, "__esModule", ({ value: true }));
//
// Fragments.
//
exports.CHAR = "\t\n\r -\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF";
exports.S = " \t\r\n";
// tslint:disable-next-line:max-line-length
exports.NAME_START_CHAR = ":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\uD800\uDC00-\uDB7F\uDFFF";
exports.NAME_CHAR = "-" + exports.NAME_START_CHAR + ".0-9\u00B7\u0300-\u036F\u203F-\u2040";
//
// Regular expressions.
//
exports.CHAR_RE = new RegExp("^[" + exports.CHAR + "]$", "u");
exports.S_RE = new RegExp("^[" + exports.S + "]+$", "u");
exports.NAME_START_CHAR_RE = new RegExp("^[" + exports.NAME_START_CHAR + "]$", "u");
exports.NAME_CHAR_RE = new RegExp("^[" + exports.NAME_CHAR + "]$", "u");
exports.NAME_RE = new RegExp("^[" + exports.NAME_START_CHAR + "][" + exports.NAME_CHAR + "]*$", "u");
exports.NMTOKEN_RE = new RegExp("^[" + exports.NAME_CHAR + "]+$", "u");
var TAB = 9;
var NL = 0xA;
var CR = 0xD;
var SPACE = 0x20;
//
// Lists.
//
/** All characters in the ``S`` production. */
exports.S_LIST = [SPACE, NL, CR, TAB];
/**
 * Determines whether a codepoint matches the ``CHAR`` production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``CHAR``.
 */
function isChar(c) {
    return (c >= SPACE && c <= 0xD7FF) ||
        c === NL || c === CR || c === TAB ||
        (c >= 0xE000 && c <= 0xFFFD) ||
        (c >= 0x10000 && c <= 0x10FFFF);
}
exports.isChar = isChar;
/**
 * Determines whether a codepoint matches the ``S`` (space) production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``S``.
 */
function isS(c) {
    return c === SPACE || c === NL || c === CR || c === TAB;
}
exports.isS = isS;
/**
 * Determines whether a codepoint matches the ``NAME_START_CHAR`` production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``NAME_START_CHAR``.
 */
function isNameStartChar(c) {
    return ((c >= 0x41 && c <= 0x5A) ||
        (c >= 0x61 && c <= 0x7A) ||
        c === 0x3A ||
        c === 0x5F ||
        c === 0x200C ||
        c === 0x200D ||
        (c >= 0xC0 && c <= 0xD6) ||
        (c >= 0xD8 && c <= 0xF6) ||
        (c >= 0x00F8 && c <= 0x02FF) ||
        (c >= 0x0370 && c <= 0x037D) ||
        (c >= 0x037F && c <= 0x1FFF) ||
        (c >= 0x2070 && c <= 0x218F) ||
        (c >= 0x2C00 && c <= 0x2FEF) ||
        (c >= 0x3001 && c <= 0xD7FF) ||
        (c >= 0xF900 && c <= 0xFDCF) ||
        (c >= 0xFDF0 && c <= 0xFFFD) ||
        (c >= 0x10000 && c <= 0xEFFFF));
}
exports.isNameStartChar = isNameStartChar;
/**
 * Determines whether a codepoint matches the ``NAME_CHAR`` production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``NAME_CHAR``.
 */
function isNameChar(c) {
    return isNameStartChar(c) ||
        (c >= 0x30 && c <= 0x39) ||
        c === 0x2D ||
        c === 0x2E ||
        c === 0xB7 ||
        (c >= 0x0300 && c <= 0x036F) ||
        (c >= 0x203F && c <= 0x2040);
}
exports.isNameChar = isNameChar;
//# sourceMappingURL=ed5.js.map

/***/ },

/***/ "./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.1/ed2.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xml/1.1/ed2.js ***!
  \********************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

/**
 * Character classes and associated utilities for the 2nd edition of XML 1.1.
 *
 * @author Louis-Dominique Dubeau
 * @license MIT
 * @copyright Louis-Dominique Dubeau
 */
Object.defineProperty(exports, "__esModule", ({ value: true }));
//
// Fragments.
//
exports.CHAR = "\u0001-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF";
exports.RESTRICTED_CHAR = "\u0001-\u0008\u000B\u000C\u000E-\u001F\u007F-\u0084\u0086-\u009F";
exports.S = " \t\r\n";
// tslint:disable-next-line:max-line-length
exports.NAME_START_CHAR = ":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\uD800\uDC00-\uDB7F\uDFFF";
exports.NAME_CHAR = "-" + exports.NAME_START_CHAR + ".0-9\u00B7\u0300-\u036F\u203F-\u2040";
//
// Regular expressions.
//
exports.CHAR_RE = new RegExp("^[" + exports.CHAR + "]$", "u");
exports.RESTRICTED_CHAR_RE = new RegExp("^[" + exports.RESTRICTED_CHAR + "]$", "u");
exports.S_RE = new RegExp("^[" + exports.S + "]+$", "u");
exports.NAME_START_CHAR_RE = new RegExp("^[" + exports.NAME_START_CHAR + "]$", "u");
exports.NAME_CHAR_RE = new RegExp("^[" + exports.NAME_CHAR + "]$", "u");
exports.NAME_RE = new RegExp("^[" + exports.NAME_START_CHAR + "][" + exports.NAME_CHAR + "]*$", "u");
exports.NMTOKEN_RE = new RegExp("^[" + exports.NAME_CHAR + "]+$", "u");
var TAB = 9;
var NL = 0xA;
var CR = 0xD;
var SPACE = 0x20;
//
// Lists.
//
/** All characters in the ``S`` production. */
exports.S_LIST = [SPACE, NL, CR, TAB];
/**
 * Determines whether a codepoint matches the ``CHAR`` production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``CHAR``.
 */
function isChar(c) {
    return (c >= 0x0001 && c <= 0xD7FF) ||
        (c >= 0xE000 && c <= 0xFFFD) ||
        (c >= 0x10000 && c <= 0x10FFFF);
}
exports.isChar = isChar;
/**
 * Determines whether a codepoint matches the ``RESTRICTED_CHAR`` production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``RESTRICTED_CHAR``.
 */
function isRestrictedChar(c) {
    return (c >= 0x1 && c <= 0x8) ||
        c === 0xB ||
        c === 0xC ||
        (c >= 0xE && c <= 0x1F) ||
        (c >= 0x7F && c <= 0x84) ||
        (c >= 0x86 && c <= 0x9F);
}
exports.isRestrictedChar = isRestrictedChar;
/**
 * Determines whether a codepoint matches the ``CHAR`` production and does not
 * match the ``RESTRICTED_CHAR`` production. ``isCharAndNotRestricted(x)`` is
 * equivalent to ``isChar(x) && !isRestrictedChar(x)``. This function is faster
 * than running the two-call equivalent.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``CHAR`` and does not match
 * ``RESTRICTED_CHAR``.
 */
function isCharAndNotRestricted(c) {
    return (c === 0x9) ||
        (c === 0xA) ||
        (c === 0xD) ||
        (c > 0x1F && c < 0x7F) ||
        (c === 0x85) ||
        (c > 0x9F && c <= 0xD7FF) ||
        (c >= 0xE000 && c <= 0xFFFD) ||
        (c >= 0x10000 && c <= 0x10FFFF);
}
exports.isCharAndNotRestricted = isCharAndNotRestricted;
/**
 * Determines whether a codepoint matches the ``S`` (space) production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``S``.
 */
function isS(c) {
    return c === SPACE || c === NL || c === CR || c === TAB;
}
exports.isS = isS;
/**
 * Determines whether a codepoint matches the ``NAME_START_CHAR`` production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``NAME_START_CHAR``.
 */
// tslint:disable-next-line:cyclomatic-complexity
function isNameStartChar(c) {
    return ((c >= 0x41 && c <= 0x5A) ||
        (c >= 0x61 && c <= 0x7A) ||
        c === 0x3A ||
        c === 0x5F ||
        c === 0x200C ||
        c === 0x200D ||
        (c >= 0xC0 && c <= 0xD6) ||
        (c >= 0xD8 && c <= 0xF6) ||
        (c >= 0x00F8 && c <= 0x02FF) ||
        (c >= 0x0370 && c <= 0x037D) ||
        (c >= 0x037F && c <= 0x1FFF) ||
        (c >= 0x2070 && c <= 0x218F) ||
        (c >= 0x2C00 && c <= 0x2FEF) ||
        (c >= 0x3001 && c <= 0xD7FF) ||
        (c >= 0xF900 && c <= 0xFDCF) ||
        (c >= 0xFDF0 && c <= 0xFFFD) ||
        (c >= 0x10000 && c <= 0xEFFFF));
}
exports.isNameStartChar = isNameStartChar;
/**
 * Determines whether a codepoint matches the ``NAME_CHAR`` production.
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches ``NAME_CHAR``.
 */
function isNameChar(c) {
    return isNameStartChar(c) ||
        (c >= 0x30 && c <= 0x39) ||
        c === 0x2D ||
        c === 0x2E ||
        c === 0xB7 ||
        (c >= 0x0300 && c <= 0x036F) ||
        (c >= 0x203F && c <= 0x2040);
}
exports.isNameChar = isNameChar;
//# sourceMappingURL=ed2.js.map

/***/ },

/***/ "./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xmlns/1.0/ed3.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/xmlchars@2.2.0/node_modules/xmlchars/xmlns/1.0/ed3.js ***!
  \**********************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

/**
 * Character class utilities for XML NS 1.0 edition 3.
 *
 * @author Louis-Dominique Dubeau
 * @license MIT
 * @copyright Louis-Dominique Dubeau
 */
Object.defineProperty(exports, "__esModule", ({ value: true }));
//
// Fragments.
//
// tslint:disable-next-line:max-line-length
exports.NC_NAME_START_CHAR = "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\uD800\uDC00-\uDB7F\uDFFF";
exports.NC_NAME_CHAR = "-" + exports.NC_NAME_START_CHAR + ".0-9\u00B7\u0300-\u036F\u203F-\u2040";
//
// Regular expressions.
//
exports.NC_NAME_START_CHAR_RE = new RegExp("^[" + exports.NC_NAME_START_CHAR + "]$", "u");
exports.NC_NAME_CHAR_RE = new RegExp("^[" + exports.NC_NAME_CHAR + "]$", "u");
exports.NC_NAME_RE = new RegExp("^[" + exports.NC_NAME_START_CHAR + "][" + exports.NC_NAME_CHAR + "]*$", "u");
/**
 * Determines whether a codepoint matches [[NC_NAME_START_CHAR]].
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches.
 */
// tslint:disable-next-line:cyclomatic-complexity
function isNCNameStartChar(c) {
    return ((c >= 0x41 && c <= 0x5A) ||
        c === 0x5F ||
        (c >= 0x61 && c <= 0x7A) ||
        (c >= 0xC0 && c <= 0xD6) ||
        (c >= 0xD8 && c <= 0xF6) ||
        (c >= 0x00F8 && c <= 0x02FF) ||
        (c >= 0x0370 && c <= 0x037D) ||
        (c >= 0x037F && c <= 0x1FFF) ||
        (c >= 0x200C && c <= 0x200D) ||
        (c >= 0x2070 && c <= 0x218F) ||
        (c >= 0x2C00 && c <= 0x2FEF) ||
        (c >= 0x3001 && c <= 0xD7FF) ||
        (c >= 0xF900 && c <= 0xFDCF) ||
        (c >= 0xFDF0 && c <= 0xFFFD) ||
        (c >= 0x10000 && c <= 0xEFFFF));
}
exports.isNCNameStartChar = isNCNameStartChar;
/**
 * Determines whether a codepoint matches [[NC_NAME_CHAR]].
 *
 * @param c The code point.
 *
 * @returns ``true`` if the codepoint matches.
 */
function isNCNameChar(c) {
    return isNCNameStartChar(c) ||
        (c === 0x2D ||
            c === 0x2E ||
            (c >= 0x30 && c <= 0x39) ||
            c === 0x00B7 ||
            (c >= 0x0300 && c <= 0x036F) ||
            (c >= 0x203F && c <= 0x2040));
}
exports.isNCNameChar = isNCNameChar;
//# sourceMappingURL=ed3.js.map

/***/ },

/***/ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII="
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII= ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module) {

"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII=";

/***/ },

/***/ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC"
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module) {

"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC";

/***/ },

/***/ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC"
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module) {

"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC";

/***/ },

/***/ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII="
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII= ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module) {

"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII=";

/***/ },

/***/ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC"
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module) {

"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC";

/***/ },

/***/ "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg=="
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg== ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
(module) {

"use strict";
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg==";

/***/ },

/***/ "?6b64"
/*!********************************!*\
  !*** ./util.inspect (ignored) ***!
  \********************************/
() {

/* (ignored) */

/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js");

var $TypeError = TypeError;

// `Assert: IsCallable(argument) is true`
module.exports = function (argument) {
  if (isCallable(argument)) return argument;
  throw new $TypeError(tryToString(argument) + ' is not a function');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-constructor.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-constructor.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-constructor.js");
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js");

var $TypeError = TypeError;

// `Assert: IsConstructor(argument) is true`
module.exports = function (argument) {
  if (isConstructor(argument)) return argument;
  throw new $TypeError(tryToString(argument) + ' is not a constructor');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-possible-prototype.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-possible-prototype.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-possible-prototype.js");

var $String = String;
var $TypeError = TypeError;

module.exports = function (argument) {
  if (isPossiblePrototype(argument)) return argument;
  throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/add-to-unscopables.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/add-to-unscopables.js ***!
  \************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js");
var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js").f);

var UNSCOPABLES = wellKnownSymbol('unscopables');
var ArrayPrototype = Array.prototype;

// Array.prototype[@@unscopables]
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
if (ArrayPrototype[UNSCOPABLES] === undefined) {
  defineProperty(ArrayPrototype, UNSCOPABLES, {
    configurable: true,
    value: create(null)
  });
}

// add a key to Array.prototype[@@unscopables]
module.exports = function (key) {
  ArrayPrototype[UNSCOPABLES][key] = true;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/advance-string-index.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/advance-string-index.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-multibyte.js").charAt);

// `AdvanceStringIndex` abstract operation
// https://tc39.es/ecma262/#sec-advancestringindex
module.exports = function (S, index, unicode) {
  return index + (unicode ? charAt(S, index).length || 1 : 1);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-instance.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-instance.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js");

var $TypeError = TypeError;

module.exports = function (it, Prototype) {
  if (isPrototypeOf(Prototype, it)) return it;
  throw new $TypeError('Incorrect invocation');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");

var $String = String;
var $TypeError = TypeError;

// `Assert: Type(argument) is Object`
module.exports = function (argument) {
  if (isObject(argument)) return argument;
  throw new $TypeError($String(argument) + ' is not an object');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-basic-detection.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-basic-detection.js ***!
  \**********************************************************************************************************/
(module) {

"use strict";

// eslint-disable-next-line es/no-typed-arrays -- safe
module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-view-core.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-view-core.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-basic-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-basic-detection.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js");
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js");
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in-accessor.js");
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js");
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-prototype-of.js");
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-set-prototype-of.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/uid.js");
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js");

var enforceInternalState = InternalStateModule.enforce;
var getInternalState = InternalStateModule.get;
var Int8Array = globalThis.Int8Array;
var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
var Uint8ClampedArray = globalThis.Uint8ClampedArray;
var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
var TypedArray = Int8Array && getPrototypeOf(Int8Array);
var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
var ObjectPrototype = Object.prototype;
var TypeError = globalThis.TypeError;

var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(globalThis.opera) !== 'Opera';
var TYPED_ARRAY_TAG_REQUIRED = false;
var NAME, Constructor, Prototype;

var TypedArrayConstructorsList = {
  Int8Array: 1,
  Uint8Array: 1,
  Uint8ClampedArray: 1,
  Int16Array: 2,
  Uint16Array: 2,
  Int32Array: 4,
  Uint32Array: 4,
  Float32Array: 4,
  Float64Array: 8
};

var BigIntArrayConstructorsList = {
  BigInt64Array: 8,
  BigUint64Array: 8
};

var isView = function isView(it) {
  if (!isObject(it)) return false;
  var klass = classof(it);
  return klass === 'DataView'
    || hasOwn(TypedArrayConstructorsList, klass)
    || hasOwn(BigIntArrayConstructorsList, klass);
};

var getTypedArrayConstructor = function (it) {
  var proto = getPrototypeOf(it);
  if (!isObject(proto)) return;
  var state = getInternalState(proto);
  return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
};

var isTypedArray = function (it) {
  if (!isObject(it)) return false;
  var klass = classof(it);
  return hasOwn(TypedArrayConstructorsList, klass)
    || hasOwn(BigIntArrayConstructorsList, klass);
};

var aTypedArray = function (it) {
  if (isTypedArray(it)) return it;
  throw new TypeError('Target is not a typed array');
};

var aTypedArrayConstructor = function (C) {
  if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
  throw new TypeError(tryToString(C) + ' is not a typed array constructor');
};

var exportTypedArrayMethod = function (KEY, property, forced, options) {
  if (!DESCRIPTORS) return;
  if (forced) for (var ARRAY in TypedArrayConstructorsList) {
    var TypedArrayConstructor = globalThis[ARRAY];
    if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
      delete TypedArrayConstructor.prototype[KEY];
    } catch (error) {
      // old WebKit bug - some methods are non-configurable
      try {
        TypedArrayConstructor.prototype[KEY] = property;
      } catch (error2) { /* empty */ }
    }
  }
  if (!TypedArrayPrototype[KEY] || forced) {
    defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
      : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
  }
};

var exportTypedArrayStaticMethod = function (KEY, property, forced) {
  var ARRAY, TypedArrayConstructor;
  if (!DESCRIPTORS) return;
  if (setPrototypeOf) {
    if (forced) for (ARRAY in TypedArrayConstructorsList) {
      TypedArrayConstructor = globalThis[ARRAY];
      if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
        delete TypedArrayConstructor[KEY];
      } catch (error) { /* empty */ }
    }
    if (!TypedArray[KEY] || forced) {
      // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
      try {
        return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
      } catch (error) { /* empty */ }
    } else return;
  }
  for (ARRAY in TypedArrayConstructorsList) {
    TypedArrayConstructor = globalThis[ARRAY];
    if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
      defineBuiltIn(TypedArrayConstructor, KEY, property);
    }
  }
};

for (NAME in TypedArrayConstructorsList) {
  Constructor = globalThis[NAME];
  Prototype = Constructor && Constructor.prototype;
  if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
  else NATIVE_ARRAY_BUFFER_VIEWS = false;
}

for (NAME in BigIntArrayConstructorsList) {
  Constructor = globalThis[NAME];
  Prototype = Constructor && Constructor.prototype;
  if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
}

// WebKit bug - typed arrays constructors prototype is Object.prototype
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
  // eslint-disable-next-line no-shadow -- safe
  TypedArray = function TypedArray() {
    throw new TypeError('Incorrect invocation');
  };
  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
    if (globalThis[NAME]) setPrototypeOf(globalThis[NAME], TypedArray);
  }
}

if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
  TypedArrayPrototype = TypedArray.prototype;
  if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
    if (globalThis[NAME]) setPrototypeOf(globalThis[NAME].prototype, TypedArrayPrototype);
  }
}

// WebKit bug - one more object in Uint8ClampedArray prototype chain
if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
  setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
}

if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
  TYPED_ARRAY_TAG_REQUIRED = true;
  defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
    configurable: true,
    get: function () {
      return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
    }
  });
  for (NAME in TypedArrayConstructorsList) if (globalThis[NAME]) {
    createNonEnumerableProperty(globalThis[NAME].prototype, TYPED_ARRAY_TAG, NAME);
  }
}

module.exports = {
  NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
  TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
  aTypedArray: aTypedArray,
  aTypedArrayConstructor: aTypedArrayConstructor,
  exportTypedArrayMethod: exportTypedArrayMethod,
  exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
  getTypedArrayConstructor: getTypedArrayConstructor,
  isView: isView,
  isTypedArray: isTypedArray,
  TypedArray: TypedArray,
  TypedArrayPrototype: TypedArrayPrototype
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-fill.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-fill.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-absolute-index.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");

// `Array.prototype.fill` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.fill
module.exports = function fill(value /* , start = 0, end = @length */) {
  var O = toObject(this);
  var length = lengthOfArrayLike(O);
  var argumentsLength = arguments.length;
  var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);
  var end = argumentsLength > 2 ? arguments[2] : undefined;
  var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
  while (endPos > index) O[index++] = value;
  return O;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-for-each.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-for-each.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $forEach = (__webpack_require__(/*! ../internals/array-iteration */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-iteration.js").forEach);
var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-method-is-strict.js");

var STRICT_METHOD = arrayMethodIsStrict('forEach');

// `Array.prototype.forEach` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.foreach
module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
} : [].forEach;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-from.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-from.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/call-with-safe-iteration-closing.js");
var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array-iterator-method.js");
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-constructor.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property.js");
var setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-set-length.js");
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator.js");
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator-method.js");
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-close.js");

var $Array = Array;

// `Array.from` method implementation
// https://tc39.es/ecma262/#sec-array.from
module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
  var IS_CONSTRUCTOR = isConstructor(this);
  var argumentsLength = arguments.length;
  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
  var mapping = mapfn !== undefined;
  if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
  var O = toObject(arrayLike);
  var iteratorMethod = getIteratorMethod(O);
  var index = 0;
  var length, result, step, iterator, next, value;
  // if the target is not iterable or it's an array with the default iterator - use a simple case
  if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
    result = IS_CONSTRUCTOR ? new this() : [];
    iterator = getIterator(O, iteratorMethod);
    next = iterator.next;
    for (;!(step = call(next, iterator)).done; index++) {
      value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
      try {
        createProperty(result, index, value);
      } catch (error) {
        iteratorClose(iterator, 'throw', error);
      }
    }
  } else {
    length = lengthOfArrayLike(O);
    result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
    for (;length > index; index++) {
      value = mapping ? mapfn(O[index], index) : O[index];
      createProperty(result, index, value);
    }
  }
  setArrayLength(result, index);
  return result;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-includes.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-includes.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-indexed-object.js");
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-absolute-index.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");

// `Array.prototype.{ indexOf, includes }` methods implementation
var createMethod = function (IS_INCLUDES) {
  return function ($this, el, fromIndex) {
    var O = toIndexedObject($this);
    var length = lengthOfArrayLike(O);
    if (length === 0) return !IS_INCLUDES && -1;
    var index = toAbsoluteIndex(fromIndex, length);
    var value;
    // Array#includes uses SameValueZero equality algorithm
    // eslint-disable-next-line no-self-compare -- NaN check
    if (IS_INCLUDES && el !== el) while (length > index) {
      value = O[index++];
      // eslint-disable-next-line no-self-compare -- NaN check
      if (value !== value) return true;
    // Array#indexOf ignores holes, Array#includes - not
    } else for (;length > index; index++) {
      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
    } return !IS_INCLUDES && -1;
  };
};

module.exports = {
  // `Array.prototype.includes` method
  // https://tc39.es/ecma262/#sec-array.prototype.includes
  includes: createMethod(true),
  // `Array.prototype.indexOf` method
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
  indexOf: createMethod(false)
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-iteration.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-iteration.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/indexed-object.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-create.js");
var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property.js");

// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
var createMethod = function (TYPE) {
  var IS_MAP = TYPE === 1;
  var IS_FILTER = TYPE === 2;
  var IS_SOME = TYPE === 3;
  var IS_EVERY = TYPE === 4;
  var IS_FIND_INDEX = TYPE === 6;
  var IS_FILTER_REJECT = TYPE === 7;
  var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
  return function ($this, callbackfn, that) {
    var O = toObject($this);
    var self = IndexedObject(O);
    var length = lengthOfArrayLike(self);
    var boundFunction = bind(callbackfn, that);
    var index = 0;
    var resIndex = 0;
    var target = IS_MAP ? arraySpeciesCreate($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate($this, 0) : undefined;
    var value, result;
    for (;length > index; index++) if (NO_HOLES || index in self) {
      value = self[index];
      result = boundFunction(value, index, O);
      if (TYPE) {
        if (IS_MAP) createProperty(target, index, result);    // map
        else if (result) switch (TYPE) {
          case 3: return true;                                // some
          case 5: return value;                               // find
          case 6: return index;                               // findIndex
          case 2: createProperty(target, resIndex++, value);  // filter
        } else switch (TYPE) {
          case 4: return false;                               // every
          case 7: createProperty(target, resIndex++, value);  // filterReject
        }
      }
    }
    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  };
};

module.exports = {
  // `Array.prototype.forEach` method
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
  forEach: createMethod(0),
  // `Array.prototype.map` method
  // https://tc39.es/ecma262/#sec-array.prototype.map
  map: createMethod(1),
  // `Array.prototype.filter` method
  // https://tc39.es/ecma262/#sec-array.prototype.filter
  filter: createMethod(2),
  // `Array.prototype.some` method
  // https://tc39.es/ecma262/#sec-array.prototype.some
  some: createMethod(3),
  // `Array.prototype.every` method
  // https://tc39.es/ecma262/#sec-array.prototype.every
  every: createMethod(4),
  // `Array.prototype.find` method
  // https://tc39.es/ecma262/#sec-array.prototype.find
  find: createMethod(5),
  // `Array.prototype.findIndex` method
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
  findIndex: createMethod(6),
  // `Array.prototype.filterReject` method
  // https://github.com/tc39/proposal-array-filtering
  filterReject: createMethod(7)
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-method-is-strict.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-method-is-strict.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

module.exports = function (METHOD_NAME, argument) {
  var method = [][METHOD_NAME];
  return !!method && fails(function () {
    // eslint-disable-next-line no-useless-call -- required for testing
    method.call(null, argument || function () { return 1; }, 1);
  });
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-reduce.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-reduce.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/indexed-object.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");

var $TypeError = TypeError;

var REDUCE_EMPTY = 'Reduce of empty array with no initial value';

// `Array.prototype.{ reduce, reduceRight }` methods implementation
var createMethod = function (IS_RIGHT) {
  return function (that, callbackfn, argumentsLength, memo) {
    var O = toObject(that);
    var self = IndexedObject(O);
    var length = lengthOfArrayLike(O);
    aCallable(callbackfn);
    if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);
    var index = IS_RIGHT ? length - 1 : 0;
    var i = IS_RIGHT ? -1 : 1;
    if (argumentsLength < 2) while (true) {
      if (index in self) {
        memo = self[index];
        index += i;
        break;
      }
      index += i;
      if (IS_RIGHT ? index < 0 : length <= index) {
        throw new $TypeError(REDUCE_EMPTY);
      }
    }
    for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
      memo = callbackfn(memo, self[index], index, O);
    }
    return memo;
  };
};

module.exports = {
  // `Array.prototype.reduce` method
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
  left: createMethod(false),
  // `Array.prototype.reduceRight` method
  // https://tc39.es/ecma262/#sec-array.prototype.reduceright
  right: createMethod(true)
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-set-length.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-set-length.js ***!
  \**********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array.js");

var $TypeError = TypeError;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;

// Safari < 13 does not throw an error in this case
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
  // makes no sense without proper strict mode support
  if (this !== undefined) return true;
  try {
    // eslint-disable-next-line es/no-object-defineproperty -- safe
    Object.defineProperty([], 'length', { writable: false }).length = 1;
  } catch (error) {
    return error instanceof TypeError;
  }
}();

module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
  if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
    throw new $TypeError('Cannot set read only .length');
  } return O.length = length;
} : function (O, length) {
  return O.length = length;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-slice.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-slice.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");

module.exports = uncurryThis([].slice);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-sort.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-sort.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-slice.js");

var floor = Math.floor;

var sort = function (array, comparefn) {
  var length = array.length;

  if (length < 8) {
    // insertion sort
    var i = 1;
    var element, j;

    while (i < length) {
      j = i;
      element = array[i];
      while (j && comparefn(array[j - 1], element) > 0) {
        array[j] = array[--j];
      }
      if (j !== i++) array[j] = element;
    }
  } else {
    // merge sort
    var middle = floor(length / 2);
    var left = sort(arraySlice(array, 0, middle), comparefn);
    var right = sort(arraySlice(array, middle), comparefn);
    var llength = left.length;
    var rlength = right.length;
    var lindex = 0;
    var rindex = 0;

    while (lindex < llength || rindex < rlength) {
      array[lindex + rindex] = (lindex < llength && rindex < rlength)
        ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
        : lindex < llength ? left[lindex++] : right[rindex++];
    }
  }

  return array;
};

module.exports = sort;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-constructor.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-constructor.js ***!
  \*******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array.js");
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-constructor.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var SPECIES = wellKnownSymbol('species');
var $Array = Array;

// a part of `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
module.exports = function (originalArray) {
  var C;
  if (isArray(originalArray)) {
    C = originalArray.constructor;
    // cross-realm fallback
    if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
    else if (isObject(C)) {
      C = C[SPECIES];
      if (C === null) C = undefined;
    }
  } return C === undefined ? $Array : C;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-create.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-create.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var arraySpeciesConstructor = __webpack_require__(/*! ../internals/array-species-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-constructor.js");

// `ArraySpeciesCreate` abstract operation
// https://tc39.es/ecma262/#sec-arrayspeciescreate
module.exports = function (originalArray, length) {
  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/call-with-safe-iteration-closing.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!
  \**************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-close.js");

// call something on iterator step with safe closing on error
module.exports = function (iterator, fn, value, ENTRIES) {
  try {
    return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
  } catch (error) {
    iteratorClose(iterator, 'throw', error);
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/check-correctness-of-iteration.js"
/*!************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/check-correctness-of-iteration.js ***!
  \************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var ITERATOR = wellKnownSymbol('iterator');
var SAFE_CLOSING = false;

try {
  var called = 0;
  var iteratorWithReturn = {
    next: function () {
      return { done: !!called++ };
    },
    'return': function () {
      SAFE_CLOSING = true;
    }
  };
  // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
  iteratorWithReturn[ITERATOR] = function () {
    return this;
  };
  // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
  Array.from(iteratorWithReturn, function () { throw 2; });
} catch (error) { /* empty */ }

module.exports = function (exec, SKIP_CLOSING) {
  try {
    if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
  } catch (error) { return false; } // workaround of old WebKit + `eval` bug
  var ITERATION_SUPPORT = false;
  try {
    var object = {};
    // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
    object[ITERATOR] = function () {
      return {
        next: function () {
          return { done: ITERATION_SUPPORT = true };
        }
      };
    };
    exec(object);
  } catch (error) { /* empty */ }
  return ITERATION_SUPPORT;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");

var toString = uncurryThis({}.toString);
var stringSlice = uncurryThis(''.slice);

module.exports = function (it) {
  return stringSlice(toString(it), 8, -1);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js ***!
  \*************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string-tag-support.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var $Object = Object;

// ES3 wrong here
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';

// fallback for IE11 Script Access Denied error
var tryGet = function (it, key) {
  try {
    return it[key];
  } catch (error) { /* empty */ }
};

// getting tag from ES6+ `Object.prototype.toString`
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
  var O, tag, result;
  return it === undefined ? 'Undefined' : it === null ? 'Null'
    // @@toStringTag case
    : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
    // builtinTag case
    : CORRECT_ARGUMENTS ? classofRaw(O)
    // ES3 arguments fallback
    : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/copy-constructor-properties.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/copy-constructor-properties.js ***!
  \*********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/own-keys.js");
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-descriptor.js");
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js");

module.exports = function (target, source, exceptions) {
  var keys = ownKeys(source);
  var defineProperty = definePropertyModule.f;
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  for (var i = 0; i < keys.length; i++) {
    var key = keys[i];
    if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
      defineProperty(target, key, getOwnPropertyDescriptor(source, key));
    }
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-is-regexp-logic.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-is-regexp-logic.js ***!
  \*****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var MATCH = wellKnownSymbol('match');

module.exports = function (METHOD_NAME) {
  var regexp = /./;
  try {
    '/./'[METHOD_NAME](regexp);
  } catch (error1) {
    try {
      regexp[MATCH] = false;
      return '/./'[METHOD_NAME](regexp);
    } catch (error2) { /* empty */ }
  } return false;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-prototype-getter.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-prototype-getter.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

module.exports = !fails(function () {
  function F() { /* empty */ }
  F.prototype.constructor = null;
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
  return Object.getPrototypeOf(new F()) !== F.prototype;
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-iter-result-object.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-iter-result-object.js ***!
  \*******************************************************************************************************/
(module) {

"use strict";

// `CreateIterResultObject` abstract operation
// https://tc39.es/ecma262/#sec-createiterresultobject
module.exports = function (value, done) {
  return { value: value, done: done };
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js"
/*!************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js ***!
  \************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js");
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property-descriptor.js");

module.exports = DESCRIPTORS ? function (object, key, value) {
  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
} : function (object, key, value) {
  object[key] = value;
  return object;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property-descriptor.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property-descriptor.js ***!
  \********************************************************************************************************/
(module) {

"use strict";

module.exports = function (bitmap, value) {
  return {
    enumerable: !(bitmap & 1),
    configurable: !(bitmap & 2),
    writable: !(bitmap & 4),
    value: value
  };
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js");
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property-descriptor.js");

module.exports = function (object, key, value) {
  if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
  else object[key] = value;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in-accessor.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in-accessor.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/make-built-in.js");
var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js");

module.exports = function (target, name, descriptor) {
  if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
  if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
  return defineProperty.f(target, name, descriptor);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js");
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/make-built-in.js");
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-global-property.js");

module.exports = function (O, key, value, options) {
  if (!options) options = {};
  var simple = options.enumerable;
  var name = options.name !== undefined ? options.name : key;
  if (isCallable(value)) makeBuiltIn(value, name, options);
  if (options.global) {
    if (simple) O[key] = value;
    else defineGlobalProperty(key, value);
  } else {
    try {
      if (!options.unsafe) delete O[key];
      else if (O[key]) simple = true;
    } catch (error) { /* empty */ }
    if (simple) O[key] = value;
    else definePropertyModule.f(O, key, {
      value: value,
      enumerable: false,
      configurable: !options.nonConfigurable,
      writable: !options.nonWritable
    });
  } return O;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-ins.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-ins.js ***!
  \**********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");

module.exports = function (target, src, options) {
  for (var key in src) defineBuiltIn(target, key, src[key], options);
  return target;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-global-property.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-global-property.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

// eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty = Object.defineProperty;

module.exports = function (key, value) {
  try {
    defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
  } catch (error) {
    globalThis[key] = value;
  } return value;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/delete-property-or-throw.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/delete-property-or-throw.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js");

var $TypeError = TypeError;

module.exports = function (O, P) {
  if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

// Detect IE8's incomplete defineProperty implementation
module.exports = !fails(function () {
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/document-create-element.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/document-create-element.js ***!
  \*****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");

var document = globalThis.document;
// typeof document.createElement is 'object' in old IE
var EXISTS = isObject(document) && isObject(document.createElement);

module.exports = function (it) {
  return EXISTS ? document.createElement(it) : {};
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/does-not-exceed-safe-integer.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/does-not-exceed-safe-integer.js ***!
  \**********************************************************************************************************/
(module) {

"use strict";

var $TypeError = TypeError;
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991

module.exports = function (it) {
  if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
  return it;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-iterables.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-iterables.js ***!
  \*******************************************************************************************/
(module) {

"use strict";

// iterable DOM collections
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
module.exports = {
  CSSRuleList: 0,
  CSSStyleDeclaration: 0,
  CSSValueList: 0,
  ClientRectList: 0,
  DOMRectList: 0,
  DOMStringList: 0,
  DOMTokenList: 1,
  DataTransferItemList: 0,
  FileList: 0,
  HTMLAllCollection: 0,
  HTMLCollection: 0,
  HTMLFormElement: 0,
  HTMLSelectElement: 0,
  MediaList: 0,
  MimeTypeArray: 0,
  NamedNodeMap: 0,
  NodeList: 1,
  PaintRequestList: 0,
  Plugin: 0,
  PluginArray: 0,
  SVGLengthList: 0,
  SVGNumberList: 0,
  SVGPathSegList: 0,
  SVGPointList: 0,
  SVGStringList: 0,
  SVGTransformList: 0,
  SourceBufferList: 0,
  StyleSheetList: 0,
  TextTrackCueList: 0,
  TextTrackList: 0,
  TouchList: 0
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-token-list-prototype.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-token-list-prototype.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/document-create-element.js");

var classList = documentCreateElement('span').classList;
var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;

module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/enum-bug-keys.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/enum-bug-keys.js ***!
  \*******************************************************************************************/
(module) {

"use strict";

// IE8- don't enum bug keys
module.exports = [
  'constructor',
  'hasOwnProperty',
  'isPrototypeOf',
  'propertyIsEnumerable',
  'toLocaleString',
  'toString',
  'valueOf'
];


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-ff-version.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-ff-version.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");

var firefox = userAgent.match(/firefox\/(\d+)/i);

module.exports = !!firefox && +firefox[1];


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ie-or-edge.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ie-or-edge.js ***!
  \*******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var UA = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");

module.exports = /MSIE|Trident/.test(UA);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ios-pebble.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ios-pebble.js ***!
  \*******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");

module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ios.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ios.js ***!
  \************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");

module.exports = /ipad|iphone|ipod/i.test(userAgent) && /applewebkit/i.test(userAgent);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-node.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-node.js ***!
  \*************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var ENVIRONMENT = __webpack_require__(/*! ../internals/environment */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment.js");

module.exports = ENVIRONMENT === 'NODE';


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-webos-webkit.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-webos-webkit.js ***!
  \*********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");

module.exports = /web0s(?!.*chrome)/i.test(userAgent);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

var navigator = globalThis.navigator;
var userAgent = navigator && navigator.userAgent;

module.exports = userAgent ? String(userAgent) : '';


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-v8-version.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-v8-version.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");

var process = globalThis.process;
var Deno = globalThis.Deno;
var versions = process && process.versions || Deno && Deno.version;
var v8 = versions && versions.v8;
var match, version;

if (v8) {
  match = v8.split('.');
  // in old Chrome, versions of V8 isn't V8 = Chrome / 10
  // but their correct versions are not interesting for us
  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
}

// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
// so check `userAgent` even if `.v8` exists, but 0
if (!version && userAgent) {
  match = userAgent.match(/Edge\/(\d+)/);
  if (!match || match[1] >= 74) {
    match = userAgent.match(/Chrome\/(\d+)/);
    if (match) version = +match[1];
  }
}

module.exports = version;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-webkit-version.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-webkit-version.js ***!
  \********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");

var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);

module.exports = !!webkit && +webkit[1];


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

/* global Bun, Deno -- detection */
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var userAgent = __webpack_require__(/*! ../internals/environment-user-agent */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-user-agent.js");
var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js");

var userAgentStartsWith = function (string) {
  return userAgent.slice(0, string.length) === string;
};

module.exports = (function () {
  if (userAgentStartsWith('Bun/')) return 'BUN';
  if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
  if (userAgentStartsWith('Deno/')) return 'DENO';
  if (userAgentStartsWith('Node.js/')) return 'NODE';
  if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
  if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
  if (classof(globalThis.process) === 'process') return 'NODE';
  if (globalThis.window && globalThis.document) return 'BROWSER';
  return 'REST';
})();


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js ***!
  \************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-global-property.js");
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/copy-constructor-properties.js");
var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-forced.js");

/*
  options.target         - name of the target object
  options.global         - target is the global object
  options.stat           - export as static methods of target
  options.proto          - export as prototype methods of target
  options.real           - real prototype method for the `pure` version
  options.forced         - export even if the native feature is available
  options.bind           - bind methods to the target, required for the `pure` version
  options.wrap           - wrap constructors to preventing global pollution, required for the `pure` version
  options.unsafe         - use the simple assignment of property instead of delete + defineProperty
  options.sham           - add a flag to not completely full polyfills
  options.enumerable     - export as enumerable property
  options.dontCallGetSet - prevent calling a getter on target
  options.name           - the .name of the function if it does not match the key
*/
module.exports = function (options, source) {
  var TARGET = options.target;
  var GLOBAL = options.global;
  var STATIC = options.stat;
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  if (GLOBAL) {
    target = globalThis;
  } else if (STATIC) {
    target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
  } else {
    target = globalThis[TARGET] && globalThis[TARGET].prototype;
  }
  if (target) for (key in source) {
    sourceProperty = source[key];
    if (options.dontCallGetSet) {
      descriptor = getOwnPropertyDescriptor(target, key);
      targetProperty = descriptor && descriptor.value;
    } else targetProperty = target[key];
    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
    // contained in target
    if (!FORCED && targetProperty !== undefined) {
      if (typeof sourceProperty == typeof targetProperty) continue;
      copyConstructorProperties(sourceProperty, targetProperty);
    }
    // add a flag to not completely full polyfills
    if (options.sham || (targetProperty && targetProperty.sham)) {
      createNonEnumerableProperty(sourceProperty, 'sham', true);
    }
    defineBuiltIn(target, key, sourceProperty, options);
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js ***!
  \***********************************************************************************/
(module) {

"use strict";

module.exports = function (exec) {
  try {
    return !!exec();
  } catch (error) {
    return true;
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js ***!
  \****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove from `core-js@4` since it's moved to entry points
__webpack_require__(/*! ../modules/es.regexp.exec */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");

var SPECIES = wellKnownSymbol('species');
var RegExpPrototype = RegExp.prototype;

module.exports = function (KEY, exec, FORCED, SHAM) {
  var SYMBOL = wellKnownSymbol(KEY);

  var DELEGATES_TO_SYMBOL = !fails(function () {
    // String methods call symbol-named RegExp methods
    var O = {};
    // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
    O[SYMBOL] = function () { return 7; };
    return ''[KEY](O) !== 7;
  });

  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
    // Symbol-named RegExp methods call .exec
    var execCalled = false;
    var re = /a/;

    if (KEY === 'split') {
      // We can't use real regex here since it causes deoptimization
      // and serious performance degradation in V8
      // https://github.com/zloirock/core-js/issues/306
      // RegExp[@@split] doesn't call the regex's exec method, but first creates
      // a new one. We need to return the patched regex when creating the new one.
      var constructor = {};
      // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
      constructor[SPECIES] = function () { return re; };
      re = { constructor: constructor, flags: '' };
      // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
      re[SYMBOL] = /./[SYMBOL];
    }

    re.exec = function () {
      execCalled = true;
      return null;
    };

    re[SYMBOL]('');
    return !execCalled;
  });

  if (
    !DELEGATES_TO_SYMBOL ||
    !DELEGATES_TO_EXEC ||
    FORCED
  ) {
    var nativeRegExpMethod = /./[SYMBOL];
    var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
      var $exec = regexp.exec;
      if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
        if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
          // The native String method already delegates to @@method (this
          // polyfilled function), leasing to infinite recursion.
          // We avoid it by directly calling the native @@method method.
          return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };
        }
        return { done: true, value: call(nativeMethod, str, regexp, arg2) };
      }
      return { done: false };
    });

    defineBuiltIn(String.prototype, KEY, methods[0]);
    defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
  }

  if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/flatten-into-array.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/flatten-into-array.js ***!
  \************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isArray = __webpack_require__(/*! ../internals/is-array */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/does-not-exceed-safe-integer.js");
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property.js");

// `FlattenIntoArray` abstract operation
// https://tc39.es/ecma262/#sec-flattenintoarray
var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
  var targetIndex = start;
  var sourceIndex = 0;
  var mapFn = mapper ? bind(mapper, thisArg) : false;
  var element, elementLen;

  while (sourceIndex < sourceLen) {
    if (sourceIndex in source) {
      element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];

      if (depth > 0 && isArray(element)) {
        elementLen = lengthOfArrayLike(element);
        targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;
      } else {
        doesNotExceedSafeInteger(targetIndex + 1);
        createProperty(target, targetIndex, element);
      }

      targetIndex++;
    }
    sourceIndex++;
  }
  return targetIndex;
};

module.exports = flattenIntoArray;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-apply.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-apply.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-native.js");

var FunctionPrototype = Function.prototype;
var apply = FunctionPrototype.apply;
var call = FunctionPrototype.call;

// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
  return call.apply(apply, arguments);
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js ***!
  \***************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-clause.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-native.js");

var bind = uncurryThis(uncurryThis.bind);

// optional / simple context binding
module.exports = function (fn, that) {
  aCallable(fn);
  return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
    return fn.apply(that, arguments);
  };
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-native.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-native.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

module.exports = !fails(function () {
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
  var test = function () { /* empty */ }.bind();
  // eslint-disable-next-line no-prototype-builtins -- safe
  return typeof test != 'function' || test.hasOwnProperty('prototype');
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-native.js");

var call = Function.prototype.call;
// eslint-disable-next-line es/no-function-prototype-bind -- safe
module.exports = NATIVE_BIND ? call.bind(call) : function () {
  return call.apply(call, arguments);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-name.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-name.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");

var FunctionPrototype = Function.prototype;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;

var EXISTS = hasOwn(FunctionPrototype, 'name');
// additional protection from minified / mangled / dropped function names
var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));

module.exports = {
  EXISTS: EXISTS,
  PROPER: PROPER,
  CONFIGURABLE: CONFIGURABLE
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-accessor.js"
/*!************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-accessor.js ***!
  \************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");

module.exports = function (object, key, method) {
  try {
    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
    return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
  } catch (error) { /* empty */ }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-clause.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-clause.js ***!
  \**********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");

module.exports = function (fn) {
  // Nashorn bug:
  //   https://github.com/zloirock/core-js/issues/1128
  //   https://github.com/zloirock/core-js/issues/1130
  if (classofRaw(fn) === 'Function') return uncurryThis(fn);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js ***!
  \***************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-native.js");

var FunctionPrototype = Function.prototype;
var call = FunctionPrototype.call;
// eslint-disable-next-line es/no-function-prototype-bind -- safe
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);

module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
  return function () {
    return call.apply(fn, arguments);
  };
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");

var aFunction = function (argument) {
  return isCallable(argument) ? argument : undefined;
};

module.exports = function (namespace, method) {
  return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator-method.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator-method.js ***!
  \*************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js");
var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js");
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-null-or-undefined.js");
var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var ITERATOR = wellKnownSymbol('iterator');

module.exports = function (it) {
  if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
    || getMethod(it, '@@iterator')
    || Iterators[classof(it)];
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js");
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator-method.js");

var $TypeError = TypeError;

module.exports = function (argument, usingIterator) {
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
  if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
  throw new $TypeError(tryToString(argument) + ' is not iterable');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-null-or-undefined.js");

// `GetMethod` abstract operation
// https://tc39.es/ecma262/#sec-getmethod
module.exports = function (V, P) {
  var func = V[P];
  return isNullOrUndefined(func) ? undefined : aCallable(func);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-substitution.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-substitution.js ***!
  \**********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");

var floor = Math.floor;
var charAt = uncurryThis(''.charAt);
var replace = uncurryThis(''.replace);
var stringSlice = uncurryThis(''.slice);
// eslint-disable-next-line redos/no-vulnerable -- safe
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;

// `GetSubstitution` abstract operation
// https://tc39.es/ecma262/#sec-getsubstitution
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
  var tailPos = position + matched.length;
  var m = captures.length;
  var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
  if (namedCaptures !== undefined) {
    namedCaptures = toObject(namedCaptures);
    symbols = SUBSTITUTION_SYMBOLS;
  }
  return replace(replacement, symbols, function (match, ch) {
    var capture;
    switch (charAt(ch, 0)) {
      case '$': return '$';
      case '&': return matched;
      case '`': return stringSlice(str, 0, position);
      case "'": return stringSlice(str, tailPos);
      case '<':
        capture = namedCaptures[stringSlice(ch, 1, -1)];
        break;
      default: // \d\d?
        var n = +ch;
        if (n === 0) return match;
        if (n > m) {
          var f = floor(n / 10);
          if (f === 0) return match;
          if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
          return match;
        }
        capture = captures[n - 1];
    }
    return capture === undefined ? '' : capture;
  });
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var check = function (it) {
  return it && it.Math === Math && it;
};

// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
module.exports =
  // eslint-disable-next-line es/no-global-this -- safe
  check(typeof globalThis == 'object' && globalThis) ||
  check(typeof window == 'object' && window) ||
  // eslint-disable-next-line no-restricted-globals -- safe
  check(typeof self == 'object' && self) ||
  check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
  check(typeof this == 'object' && this) ||
  // eslint-disable-next-line no-new-func -- fallback
  (function () { return this; })() || Function('return this')();


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js ***!
  \**********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");

var hasOwnProperty = uncurryThis({}.hasOwnProperty);

// `HasOwnProperty` abstract operation
// https://tc39.es/ecma262/#sec-hasownproperty
// eslint-disable-next-line es/no-object-hasown -- safe
module.exports = Object.hasOwn || function hasOwn(it, key) {
  return hasOwnProperty(toObject(it), key);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/hidden-keys.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/hidden-keys.js ***!
  \*****************************************************************************************/
(module) {

"use strict";

module.exports = {};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/host-report-errors.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/host-report-errors.js ***!
  \************************************************************************************************/
(module) {

"use strict";

module.exports = function (a, b) {
  try {
    // eslint-disable-next-line no-console -- safe
    arguments.length === 1 ? console.error(a) : console.error(a, b);
  } catch (error) { /* empty */ }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/html.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/html.js ***!
  \**********************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");

module.exports = getBuiltIn('document', 'documentElement');


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/ie8-dom-define.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/ie8-dom-define.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/document-create-element.js");

// Thanks to IE8 for its funny defineProperty
module.exports = !DESCRIPTORS && !fails(function () {
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  return Object.defineProperty(createElement('div'), 'a', {
    get: function () { return 7; }
  }).a !== 7;
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/indexed-object.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/indexed-object.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js");

var $Object = Object;
var split = uncurryThis(''.split);

// fallback for non-array-like ES3 and non-enumerable old V8 strings
module.exports = fails(function () {
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  // eslint-disable-next-line no-prototype-builtins -- safe
  return !$Object('z').propertyIsEnumerable(0);
}) ? function (it) {
  return classof(it) === 'String' ? split(it, '') : $Object(it);
} : $Object;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inherit-if-required.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inherit-if-required.js ***!
  \*************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-set-prototype-of.js");

// makes subclassing work correct for wrapped built-ins
module.exports = function ($this, dummy, Wrapper) {
  var NewTarget, NewTargetPrototype;
  if (
    // it can work only with native `setPrototypeOf`
    setPrototypeOf &&
    // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
    isCallable(NewTarget = dummy.constructor) &&
    NewTarget !== Wrapper &&
    isObject(NewTargetPrototype = NewTarget.prototype) &&
    NewTargetPrototype !== Wrapper.prototype
  ) setPrototypeOf($this, NewTargetPrototype);
  return $this;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inspect-source.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inspect-source.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-store.js");

var functionToString = uncurryThis(Function.toString);

// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
  store.inspectSource = function (it) {
    return functionToString(it);
  };
}

module.exports = store.inspectSource;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/weak-map-basic-detection.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var shared = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-store.js");
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-key.js");
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/hidden-keys.js");

var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
var TypeError = globalThis.TypeError;
var WeakMap = globalThis.WeakMap;
var set, get, has;

var enforce = function (it) {
  return has(it) ? get(it) : set(it, {});
};

var getterFor = function (TYPE) {
  return function (it) {
    var state;
    if (!isObject(it) || (state = get(it)).type !== TYPE) {
      throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
    } return state;
  };
};

if (NATIVE_WEAK_MAP || shared.state) {
  var store = shared.state || (shared.state = new WeakMap());
  /* eslint-disable no-self-assign -- prototype methods protection */
  store.get = store.get;
  store.has = store.has;
  store.set = store.set;
  /* eslint-enable no-self-assign -- prototype methods protection */
  set = function (it, metadata) {
    if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
    metadata.facade = it;
    store.set(it, metadata);
    return metadata;
  };
  get = function (it) {
    return store.get(it) || {};
  };
  has = function (it) {
    return store.has(it);
  };
} else {
  var STATE = sharedKey('state');
  hiddenKeys[STATE] = true;
  set = function (it, metadata) {
    if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
    metadata.facade = it;
    createNonEnumerableProperty(it, STATE, metadata);
    return metadata;
  };
  get = function (it) {
    return hasOwn(it, STATE) ? it[STATE] : {};
  };
  has = function (it) {
    return hasOwn(it, STATE);
  };
}

module.exports = {
  set: set,
  get: get,
  has: has,
  enforce: enforce,
  getterFor: getterFor
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array-iterator-method.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array-iterator-method.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators.js");

var ITERATOR = wellKnownSymbol('iterator');
var ArrayPrototype = Array.prototype;

// check on default Array iterator
module.exports = function (it) {
  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array.js ***!
  \**************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js");

// `IsArray` abstract operation
// https://tc39.es/ecma262/#sec-isarray
// eslint-disable-next-line es/no-array-isarray -- safe
module.exports = Array.isArray || function isArray(argument) {
  return classof(argument) === 'Array';
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js ***!
  \*****************************************************************************************/
(module) {

"use strict";

// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
var documentAll = typeof document == 'object' && document.all;

// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
  return typeof argument == 'function' || argument === documentAll;
} : function (argument) {
  return typeof argument == 'function';
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-constructor.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-constructor.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js");
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inspect-source.js");

var noop = function () { /* empty */ };
var construct = getBuiltIn('Reflect', 'construct');
var constructorRegExp = /^\s*(?:class|function)\b/;
var exec = uncurryThis(constructorRegExp.exec);
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);

var isConstructorModern = function isConstructor(argument) {
  if (!isCallable(argument)) return false;
  try {
    construct(noop, [], argument);
    return true;
  } catch (error) {
    return false;
  }
};

var isConstructorLegacy = function isConstructor(argument) {
  if (!isCallable(argument)) return false;
  switch (classof(argument)) {
    case 'AsyncFunction':
    case 'GeneratorFunction':
    case 'AsyncGeneratorFunction': return false;
  }
  try {
    // we can't check .prototype since constructors produced by .bind haven't it
    // `Function#toString` throws on some built-it function in some legacy engines
    // (for example, `DOMQuad` and similar in FF41-)
    return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
  } catch (error) {
    return true;
  }
};

isConstructorLegacy.sham = true;

// `IsConstructor` abstract operation
// https://tc39.es/ecma262/#sec-isconstructor
module.exports = !construct || fails(function () {
  var called;
  return isConstructorModern(isConstructorModern.call)
    || !isConstructorModern(Object)
    || !isConstructorModern(function () { called = true; })
    || called;
}) ? isConstructorLegacy : isConstructorModern;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-forced.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-forced.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");

var replacement = /#|\.prototype\./;

var isForced = function (feature, detection) {
  var value = data[normalize(feature)];
  return value === POLYFILL ? true
    : value === NATIVE ? false
    : isCallable(detection) ? fails(detection)
    : !!detection;
};

var normalize = isForced.normalize = function (string) {
  return String(string).replace(replacement, '.').toLowerCase();
};

var data = isForced.data = {};
var NATIVE = isForced.NATIVE = 'N';
var POLYFILL = isForced.POLYFILL = 'P';

module.exports = isForced;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-null-or-undefined.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-null-or-undefined.js ***!
  \**************************************************************************************************/
(module) {

"use strict";

// we can't use just `it == null` since of `document.all` special case
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
module.exports = function (it) {
  return it === null || it === undefined;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");

module.exports = function (it) {
  return typeof it == 'object' ? it !== null : isCallable(it);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-possible-prototype.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-possible-prototype.js ***!
  \***************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");

module.exports = function (argument) {
  return isObject(argument) || argument === null;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js ***!
  \*************************************************************************************/
(module) {

"use strict";

module.exports = false;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-regexp.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-regexp.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var MATCH = wellKnownSymbol('match');

// `IsRegExp` abstract operation
// https://tc39.es/ecma262/#sec-isregexp
module.exports = function (it) {
  var isRegExp;
  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-symbol.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-symbol.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js");
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/use-symbol-as-uid.js");

var $Object = Object;

module.exports = USE_SYMBOL_AS_UID ? function (it) {
  return typeof it == 'symbol';
} : function (it) {
  var $Symbol = getBuiltIn('Symbol');
  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterate.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterate.js ***!
  \*************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js");
var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-array-iterator-method.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js");
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator.js");
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator-method.js");
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-close.js");

var $TypeError = TypeError;

var Result = function (stopped, result) {
  this.stopped = stopped;
  this.result = result;
};

var ResultPrototype = Result.prototype;

module.exports = function (iterable, unboundFunction, options) {
  var that = options && options.that;
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
  var IS_RECORD = !!(options && options.IS_RECORD);
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
  var INTERRUPTED = !!(options && options.INTERRUPTED);
  var fn = bind(unboundFunction, that);
  var iterator, iterFn, index, length, result, next, step;

  var stop = function (condition) {
    var $iterator = iterator;
    iterator = undefined;
    if ($iterator) iteratorClose($iterator, 'normal');
    return new Result(true, condition);
  };

  var callFn = function (value) {
    if (AS_ENTRIES) {
      anObject(value);
      return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
    } return INTERRUPTED ? fn(value, stop) : fn(value);
  };

  if (IS_RECORD) {
    iterator = iterable.iterator;
  } else if (IS_ITERATOR) {
    iterator = iterable;
  } else {
    iterFn = getIteratorMethod(iterable);
    if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
    // optimisation for array iterators
    if (isArrayIteratorMethod(iterFn)) {
      for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
        result = callFn(iterable[index]);
        if (result && isPrototypeOf(ResultPrototype, result)) return result;
      } return new Result(false);
    }
    iterator = getIterator(iterable, iterFn);
  }

  next = IS_RECORD ? iterable.next : iterator.next;
  while (!(step = call(next, iterator)).done) {
    // `IteratorValue` errors should propagate without closing the iterator
    var value = step.value;
    try {
      result = callFn(value);
    } catch (error) {
      if (iterator) iteratorClose(iterator, 'throw', error);
      else throw error;
    }
    if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
  } return new Result(false);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-close.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-close.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js");

module.exports = function (iterator, kind, value) {
  var innerResult, innerError;
  anObject(iterator);
  try {
    innerResult = getMethod(iterator, 'return');
    if (!innerResult) {
      if (kind === 'throw') throw value;
      return value;
    }
    innerResult = call(innerResult, iterator);
  } catch (error) {
    innerError = true;
    innerResult = error;
  }
  if (kind === 'throw') throw value;
  if (innerError) throw innerResult;
  anObject(innerResult);
  return value;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-create-constructor.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-create-constructor.js ***!
  \*********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators-core.js").IteratorPrototype);
var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js");
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property-descriptor.js");
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js");
var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators.js");

var returnThis = function () { return this; };

module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
  var TO_STRING_TAG = NAME + ' Iterator';
  IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
  setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
  Iterators[TO_STRING_TAG] = returnThis;
  return IteratorConstructor;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-define.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-define.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var FunctionName = __webpack_require__(/*! ../internals/function-name */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-name.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-create-constructor.js");
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-prototype-of.js");
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-set-prototype-of.js");
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js");
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators.js");
var IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators-core.js");

var PROPER_FUNCTION_NAME = FunctionName.PROPER;
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
var IteratorPrototype = IteratorsCore.IteratorPrototype;
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
var ITERATOR = wellKnownSymbol('iterator');
var KEYS = 'keys';
var VALUES = 'values';
var ENTRIES = 'entries';

var returnThis = function () { return this; };

module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
  createIteratorConstructor(IteratorConstructor, NAME, next);

  var getIterationMethod = function (KIND) {
    if (KIND === DEFAULT && defaultIterator) return defaultIterator;
    if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];

    switch (KIND) {
      case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
      case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
      case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
    }

    return function () { return new IteratorConstructor(this); };
  };

  var TO_STRING_TAG = NAME + ' Iterator';
  var INCORRECT_VALUES_NAME = false;
  var IterablePrototype = Iterable.prototype;
  var nativeIterator = IterablePrototype[ITERATOR]
    || IterablePrototype['@@iterator']
    || DEFAULT && IterablePrototype[DEFAULT];
  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
  var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
  var CurrentIteratorPrototype, methods, KEY;

  // fix native
  if (anyNativeIterator) {
    CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
    if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
      if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
        if (setPrototypeOf) {
          setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
        } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
          defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);
        }
      }
      // Set @@toStringTag to native iterators
      setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
      if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
    }
  }

  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
  if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
    if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
      createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
    } else {
      INCORRECT_VALUES_NAME = true;
      defaultIterator = function values() { return call(nativeIterator, this); };
    }
  }

  // export additional methods
  if (DEFAULT) {
    methods = {
      values: getIterationMethod(VALUES),
      keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
      entries: getIterationMethod(ENTRIES)
    };
    if (FORCED) for (KEY in methods) {
      if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
        defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
      }
    } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
  }

  // define iterator
  if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
    defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
  }
  Iterators[NAME] = defaultIterator;

  return methods;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators-core.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators-core.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js");
var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-prototype-of.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");

var ITERATOR = wellKnownSymbol('iterator');
var BUGGY_SAFARI_ITERATORS = false;

// `%IteratorPrototype%` object
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;

/* eslint-disable es/no-array-prototype-keys -- safe */
if ([].keys) {
  arrayIterator = [].keys();
  // Safari 8 has buggy iterators w/o `next`
  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
  else {
    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
  }
}

var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
  var test = {};
  // FF44- legacy iterators case
  return IteratorPrototype[ITERATOR].call(test) !== test;
});

if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);

// `%IteratorPrototype%[@@iterator]()` method
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
if (!isCallable(IteratorPrototype[ITERATOR])) {
  defineBuiltIn(IteratorPrototype, ITERATOR, function () {
    return this;
  });
}

module.exports = {
  IteratorPrototype: IteratorPrototype,
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators.js ***!
  \***************************************************************************************/
(module) {

"use strict";

module.exports = {};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js");

// `LengthOfArrayLike` abstract operation
// https://tc39.es/ecma262/#sec-lengthofarraylike
module.exports = function (obj) {
  return toLength(obj.length);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/make-built-in.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/make-built-in.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-name.js").CONFIGURABLE);
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inspect-source.js");
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js");

var enforceInternalState = InternalStateModule.enforce;
var getInternalState = InternalStateModule.get;
var $String = String;
// eslint-disable-next-line es/no-object-defineproperty -- safe
var defineProperty = Object.defineProperty;
var stringSlice = uncurryThis(''.slice);
var replace = uncurryThis(''.replace);
var join = uncurryThis([].join);

var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
});

var TEMPLATE = String(String).split('String');

var makeBuiltIn = module.exports = function (value, name, options) {
  if (stringSlice($String(name), 0, 7) === 'Symbol(') {
    name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
  }
  if (options && options.getter) name = 'get ' + name;
  if (options && options.setter) name = 'set ' + name;
  if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
    if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
    else value.name = name;
  }
  if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
    defineProperty(value, 'length', { value: options.arity });
  }
  try {
    if (options && hasOwn(options, 'constructor') && options.constructor) {
      if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
    // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
    } else if (value.prototype) value.prototype = undefined;
  } catch (error) { /* empty */ }
  var state = enforceInternalState(value);
  if (!hasOwn(state, 'source')) {
    state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
  } return value;
};

// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
// eslint-disable-next-line no-extend-native -- required
Function.prototype.toString = makeBuiltIn(function toString() {
  return isCallable(this) && getInternalState(this).source || inspectSource(this);
}, 'toString');


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/math-trunc.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/math-trunc.js ***!
  \****************************************************************************************/
(module) {

"use strict";

var ceil = Math.ceil;
var floor = Math.floor;

// `Math.trunc` method
// https://tc39.es/ecma262/#sec-math.trunc
// eslint-disable-next-line es/no-math-trunc -- safe
module.exports = Math.trunc || function trunc(x) {
  var n = +x;
  return (n > 0 ? floor : ceil)(n);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/microtask.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/microtask.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var safeGetBuiltIn = __webpack_require__(/*! ../internals/safe-get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/safe-get-built-in.js");
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var macrotask = (__webpack_require__(/*! ../internals/task */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/task.js").set);
var Queue = __webpack_require__(/*! ../internals/queue */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/queue.js");
var IS_IOS = __webpack_require__(/*! ../internals/environment-is-ios */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ios.js");
var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/environment-is-ios-pebble */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ios-pebble.js");
var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/environment-is-webos-webkit */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-webos-webkit.js");
var IS_NODE = __webpack_require__(/*! ../internals/environment-is-node */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-node.js");

var MutationObserver = globalThis.MutationObserver || globalThis.WebKitMutationObserver;
var document = globalThis.document;
var process = globalThis.process;
var Promise = globalThis.Promise;
var microtask = safeGetBuiltIn('queueMicrotask');
var notify, toggle, node, promise, then;

// modern engines have queueMicrotask method
if (!microtask) {
  var queue = new Queue();

  var flush = function () {
    var parent, fn;
    if (IS_NODE && (parent = process.domain)) parent.exit();
    while (fn = queue.get()) try {
      fn();
    } catch (error) {
      if (queue.head) notify();
      throw error;
    }
    if (parent) parent.enter();
  };

  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
  if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
    toggle = true;
    node = document.createTextNode('');
    new MutationObserver(flush).observe(node, { characterData: true });
    notify = function () {
      node.data = toggle = !toggle;
    };
  // environments with maybe non-completely correct, but existent Promise
  } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {
    // Promise.resolve without an argument throws an error in LG WebOS 2
    promise = Promise.resolve(undefined);
    // workaround of WebKit ~ iOS Safari 10.1 bug
    promise.constructor = Promise;
    then = bind(promise.then, promise);
    notify = function () {
      then(flush);
    };
  // Node.js without promises
  } else if (IS_NODE) {
    notify = function () {
      process.nextTick(flush);
    };
  // for other environments - macrotask based on:
  // - setImmediate
  // - MessageChannel
  // - window.postMessage
  // - onreadystatechange
  // - setTimeout
  } else {
    // `webpack` dev server bug on IE global methods - use bind(fn, global)
    macrotask = bind(macrotask, globalThis);
    notify = function () {
      macrotask(flush);
    };
  }

  microtask = function (fn) {
    if (!queue.head) notify();
    queue.add(fn);
  };
}

module.exports = microtask;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");

var $TypeError = TypeError;

var PromiseCapability = function (C) {
  var resolve, reject;
  this.promise = new C(function ($$resolve, $$reject) {
    if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
    resolve = $$resolve;
    reject = $$reject;
  });
  this.resolve = aCallable(resolve);
  this.reject = aCallable(reject);
};

// `NewPromiseCapability` abstract operation
// https://tc39.es/ecma262/#sec-newpromisecapability
module.exports.f = function (C) {
  return new PromiseCapability(C);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/not-a-regexp.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/not-a-regexp.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-regexp.js");

var $TypeError = TypeError;

module.exports = function (it) {
  if (isRegExp(it)) {
    throw new $TypeError("The method doesn't accept regular expressions");
  } return it;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/number-parse-float.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/number-parse-float.js ***!
  \************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim.js").trim);
var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/whitespaces.js");

var charAt = uncurryThis(''.charAt);
var $parseFloat = globalThis.parseFloat;
var Symbol = globalThis.Symbol;
var ITERATOR = Symbol && Symbol.iterator;
var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity
  // MS Edge 18- broken with boxed symbols
  || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));

// `parseFloat` method
// https://tc39.es/ecma262/#sec-parsefloat-string
module.exports = FORCED ? function parseFloat(string) {
  var trimmedString = trim(toString(string));
  var result = $parseFloat(trimmedString);
  return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
} : $parseFloat;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/number-parse-int.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/number-parse-int.js ***!
  \**********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim.js").trim);
var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/whitespaces.js");

var $parseInt = globalThis.parseInt;
var Symbol = globalThis.Symbol;
var ITERATOR = Symbol && Symbol.iterator;
var hex = /^[+-]?0x/i;
var exec = uncurryThis(hex.exec);
var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
  // MS Edge 18- broken with boxed symbols
  || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));

// `parseInt` method
// https://tc39.es/ecma262/#sec-parseint-string-radix
module.exports = FORCED ? function parseInt(string, radix) {
  var S = trim(toString(string));
  return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
} : $parseInt;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-assign.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-assign.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys.js");
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-symbols.js");
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-property-is-enumerable.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/indexed-object.js");

// eslint-disable-next-line es/no-object-assign -- safe
var $assign = Object.assign;
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
var defineProperty = Object.defineProperty;
var concat = uncurryThis([].concat);

// `Object.assign` method
// https://tc39.es/ecma262/#sec-object.assign
module.exports = !$assign || fails(function () {
  // should have correct order of operations (Edge bug)
  if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
    enumerable: true,
    get: function () {
      defineProperty(this, 'b', {
        value: 3,
        enumerable: false
      });
    }
  }), { b: 2 })).b !== 1) return true;
  // should work with symbols and should have deterministic property order (V8 bug)
  var A = {};
  var B = {};
  // eslint-disable-next-line es/no-symbol -- safe
  var symbol = Symbol('assign detection');
  var alphabet = 'abcdefghijklmnopqrst';
  A[symbol] = 7;
  // eslint-disable-next-line es/no-array-prototype-foreach -- safe
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
  return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
  var T = toObject(target);
  var argumentsLength = arguments.length;
  var index = 1;
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
  while (argumentsLength > index) {
    var S = IndexedObject(arguments[index++]);
    var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
    var length = keys.length;
    var j = 0;
    var key;
    while (length > j) {
      key = keys[j++];
      if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
    }
  } return T;
} : $assign;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

/* global ActiveXObject -- old IE, WSH */
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-properties.js");
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/enum-bug-keys.js");
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/hidden-keys.js");
var html = __webpack_require__(/*! ../internals/html */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/html.js");
var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/document-create-element.js");
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-key.js");

var GT = '>';
var LT = '<';
var PROTOTYPE = 'prototype';
var SCRIPT = 'script';
var IE_PROTO = sharedKey('IE_PROTO');

var EmptyConstructor = function () { /* empty */ };

var scriptTag = function (content) {
  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
};

// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
var NullProtoObjectViaActiveX = function (activeXDocument) {
  activeXDocument.write(scriptTag(''));
  activeXDocument.close();
  var temp = activeXDocument.parentWindow.Object;
  // eslint-disable-next-line no-useless-assignment -- avoid memory leak
  activeXDocument = null;
  return temp;
};

// Create object with fake `null` prototype: use iframe Object with cleared prototype
var NullProtoObjectViaIFrame = function () {
  // Thrash, waste and sodomy: IE GC bug
  var iframe = documentCreateElement('iframe');
  var JS = 'java' + SCRIPT + ':';
  var iframeDocument;
  iframe.style.display = 'none';
  html.appendChild(iframe);
  // https://github.com/zloirock/core-js/issues/475
  iframe.src = String(JS);
  iframeDocument = iframe.contentWindow.document;
  iframeDocument.open();
  iframeDocument.write(scriptTag('document.F=Object'));
  iframeDocument.close();
  return iframeDocument.F;
};

// Check for document.domain and active x support
// No need to use active x approach when document.domain is not set
// see https://github.com/es-shims/es5-shim/issues/150
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
// avoid IE GC bug
var activeXDocument;
var NullProtoObject = function () {
  try {
    activeXDocument = new ActiveXObject('htmlfile');
  } catch (error) { /* ignore */ }
  NullProtoObject = typeof document != 'undefined'
    ? document.domain && activeXDocument
      ? NullProtoObjectViaActiveX(activeXDocument) // old IE
      : NullProtoObjectViaIFrame()
    : NullProtoObjectViaActiveX(activeXDocument); // WSH
  var length = enumBugKeys.length;
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  return NullProtoObject();
};

hiddenKeys[IE_PROTO] = true;

// `Object.create` method
// https://tc39.es/ecma262/#sec-object.create
// eslint-disable-next-line es/no-object-create -- safe
module.exports = Object.create || function create(O, Properties) {
  var result;
  if (O !== null) {
    EmptyConstructor[PROTOTYPE] = anObject(O);
    result = new EmptyConstructor();
    EmptyConstructor[PROTOTYPE] = null;
    // add "__proto__" for Object.getPrototypeOf polyfill
    result[IE_PROTO] = O;
  } else result = NullProtoObject();
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-properties.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-properties.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/v8-prototype-define-bug.js");
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-indexed-object.js");
var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys.js");

// `Object.defineProperties` method
// https://tc39.es/ecma262/#sec-object.defineproperties
// eslint-disable-next-line es/no-object-defineproperties -- safe
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
  anObject(O);
  var props = toIndexedObject(Properties);
  var keys = objectKeys(Properties);
  var length = keys.length;
  var index = 0;
  var key;
  while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
  return O;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js ***!
  \****************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/ie8-dom-define.js");
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/v8-prototype-define-bug.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-property-key.js");

var $TypeError = TypeError;
// eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var ENUMERABLE = 'enumerable';
var CONFIGURABLE = 'configurable';
var WRITABLE = 'writable';

// `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
  anObject(O);
  P = toPropertyKey(P);
  anObject(Attributes);
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
    var current = $getOwnPropertyDescriptor(O, P);
    if (current && current[WRITABLE]) {
      O[P] = Attributes.value;
      Attributes = {
        configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
        enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
        writable: false
      };
    }
  } return $defineProperty(O, P, Attributes);
} : $defineProperty : function defineProperty(O, P, Attributes) {
  anObject(O);
  P = toPropertyKey(P);
  anObject(Attributes);
  if (IE8_DOM_DEFINE) try {
    return $defineProperty(O, P, Attributes);
  } catch (error) { /* empty */ }
  if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
  if ('value' in Attributes) O[P] = Attributes.value;
  return O;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-descriptor.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
  \****************************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-property-is-enumerable.js");
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property-descriptor.js");
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-indexed-object.js");
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-property-key.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/ie8-dom-define.js");

// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;

// `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  O = toIndexedObject(O);
  P = toPropertyKey(P);
  if (IE8_DOM_DEFINE) try {
    return $getOwnPropertyDescriptor(O, P);
  } catch (error) { /* empty */ }
  if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-names.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-names.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, exports, __webpack_require__) {

"use strict";

var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys-internal.js");
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/enum-bug-keys.js");

var hiddenKeys = enumBugKeys.concat('length', 'prototype');

// `Object.getOwnPropertyNames` method
// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  return internalObjectKeys(O, hiddenKeys);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-symbols.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-symbols.js ***!
  \*************************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
exports.f = Object.getOwnPropertySymbols;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-prototype-of.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-prototype-of.js ***!
  \*****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-key.js");
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-prototype-getter.js");

var IE_PROTO = sharedKey('IE_PROTO');
var $Object = Object;
var ObjectPrototype = $Object.prototype;

// `Object.getPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.getprototypeof
// eslint-disable-next-line es/no-object-getprototypeof -- safe
module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
  var object = toObject(O);
  if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
  var constructor = object.constructor;
  if (isCallable(constructor) && object instanceof constructor) {
    return constructor.prototype;
  } return object instanceof $Object ? ObjectPrototype : null;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");

module.exports = uncurryThis({}.isPrototypeOf);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys-internal.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys-internal.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-indexed-object.js");
var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-includes.js").indexOf);
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/hidden-keys.js");

var push = uncurryThis([].push);

module.exports = function (object, names) {
  var O = toIndexedObject(object);
  var i = 0;
  var result = [];
  var key;
  for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
  // Don't enum bug & hidden keys
  while (names.length > i) if (hasOwn(O, key = names[i++])) {
    ~indexOf(result, key) || push(result, key);
  }
  return result;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-keys-internal.js");
var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/enum-bug-keys.js");

// `Object.keys` method
// https://tc39.es/ecma262/#sec-object.keys
// eslint-disable-next-line es/no-object-keys -- safe
module.exports = Object.keys || function keys(O) {
  return internalObjectKeys(O, enumBugKeys);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-property-is-enumerable.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-property-is-enumerable.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, exports) {

"use strict";

var $propertyIsEnumerable = {}.propertyIsEnumerable;
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;

// Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);

// `Object.prototype.propertyIsEnumerable` method implementation
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  var descriptor = getOwnPropertyDescriptor(this, V);
  return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-set-prototype-of.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-set-prototype-of.js ***!
  \*****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

/* eslint-disable no-proto -- safe */
var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-accessor.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-possible-prototype.js");

// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
// Works with __proto__ only. Old v8 can't work with null proto objects.
// eslint-disable-next-line es/no-object-setprototypeof -- safe
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
  var CORRECT_SETTER = false;
  var test = {};
  var setter;
  try {
    setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
    setter(test, []);
    CORRECT_SETTER = test instanceof Array;
  } catch (error) { /* empty */ }
  return function setPrototypeOf(O, proto) {
    requireObjectCoercible(O);
    aPossiblePrototype(proto);
    if (!isObject(O)) return O;
    if (CORRECT_SETTER) setter(O, proto);
    else O.__proto__ = proto;
    return O;
  };
}() : undefined);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/ordinary-to-primitive.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/ordinary-to-primitive.js ***!
  \***************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");

var $TypeError = TypeError;

// `OrdinaryToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
module.exports = function (input, pref) {
  var fn, val;
  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
  throw new $TypeError("Can't convert object to primitive value");
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/own-keys.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/own-keys.js ***!
  \**************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-names.js");
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-symbols.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");

var concat = uncurryThis([].concat);

// all object keys, includes non-enumerable and symbols
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  var keys = getOwnPropertyNamesModule.f(anObject(it));
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/path.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/path.js ***!
  \**********************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

module.exports = globalThis;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/perform.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/perform.js ***!
  \*************************************************************************************/
(module) {

"use strict";

module.exports = function (exec) {
  try {
    return { error: false, value: exec() };
  } catch (error) {
    return { error: true, value: error };
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-constructor-detection.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-constructor-detection.js ***!
  \***********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-forced.js");
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inspect-source.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var ENVIRONMENT = __webpack_require__(/*! ../internals/environment */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-v8-version.js");

var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
var SPECIES = wellKnownSymbol('species');
var SUBCLASSING = false;
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent);

var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
  var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
  // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
  // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
  // We can't detect it synchronously, so just check versions
  if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
  // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
  if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
  // We can't use @@species feature detection in V8 since it causes
  // deoptimization and performance degradation
  // https://github.com/zloirock/core-js/issues/679
  if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
    // Detect correctness of subclassing with @@species support
    var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
    var FakePromise = function (exec) {
      exec(function () { /* empty */ }, function () { /* empty */ });
    };
    var constructor = promise.constructor = {};
    constructor[SPECIES] = FakePromise;
    SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
    if (!SUBCLASSING) return true;
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
  } return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT;
});

module.exports = {
  CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
  REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
  SUBCLASSING: SUBCLASSING
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js ***!
  \********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

module.exports = globalThis.Promise;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-resolve.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-resolve.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var newPromiseCapability = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js");

module.exports = function (C, x) {
  anObject(C);
  if (isObject(x) && x.constructor === C) return x;
  var promiseCapability = newPromiseCapability.f(C);
  var resolve = promiseCapability.resolve;
  resolve(x);
  return promiseCapability.promise;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-statics-incorrect-iteration.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-statics-incorrect-iteration.js ***!
  \*****************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js");
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/check-correctness-of-iteration.js");
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);

module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
  NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/proxy-accessor.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/proxy-accessor.js ***!
  \********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js").f);

module.exports = function (Target, Source, key) {
  key in Target || defineProperty(Target, key, {
    configurable: true,
    get: function () { return Source[key]; },
    set: function (it) { Source[key] = it; }
  });
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/queue.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/queue.js ***!
  \***********************************************************************************/
(module) {

"use strict";

var Queue = function () {
  this.head = null;
  this.tail = null;
};

Queue.prototype = {
  add: function (item) {
    var entry = { item: item, next: null };
    var tail = this.tail;
    if (tail) tail.next = entry;
    else this.head = entry;
    this.tail = entry;
  },
  get: function () {
    var entry = this.head;
    if (entry) {
      var next = this.head = entry.next;
      if (next === null) this.tail = null;
      return entry.item;
    }
  }
};

module.exports = Queue;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec-abstract.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec-abstract.js ***!
  \**************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var classof = __webpack_require__(/*! ../internals/classof-raw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof-raw.js");
var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec.js");

var $TypeError = TypeError;

// `RegExpExec` abstract operation
// https://tc39.es/ecma262/#sec-regexpexec
module.exports = function (R, S) {
  var exec = R.exec;
  if (isCallable(exec)) {
    var result = call(exec, R, S);
    if (result !== null) anObject(result);
    return result;
  }
  if (classof(R) === 'RegExp') return call(regexpExec, R, S);
  throw new $TypeError('RegExp#exec called on incompatible receiver');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
/* eslint-disable regexp/no-useless-quantifier -- testing */
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var regexpFlags = __webpack_require__(/*! ../internals/regexp-flags */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-flags.js");
var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-sticky-helpers.js");
var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared.js");
var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js");
var getInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js").get);
var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-dot-all.js");
var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-ncg.js");

var nativeReplace = shared('native-string-replace', String.prototype.replace);
var nativeExec = RegExp.prototype.exec;
var patchedExec = nativeExec;
var charAt = uncurryThis(''.charAt);
var indexOf = uncurryThis(''.indexOf);
var replace = uncurryThis(''.replace);
var stringSlice = uncurryThis(''.slice);

var UPDATES_LAST_INDEX_WRONG = (function () {
  var re1 = /a/;
  var re2 = /b*/g;
  call(nativeExec, re1, 'a');
  call(nativeExec, re2, 'a');
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
})();

var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;

// nonparticipating capturing group, copied from es5-shim's String#split patch.
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;

var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;

var setGroups = function (re, groups) {
  var object = re.groups = create(null);
  for (var i = 0; i < groups.length; i++) {
    var group = groups[i];
    object[group[0]] = re[group[1]];
  }
};

if (PATCH) {
  patchedExec = function exec(string) {
    var re = this;
    var state = getInternalState(re);
    var str = toString(string);
    var raw = state.raw;
    var result, reCopy, lastIndex;

    if (raw) {
      raw.lastIndex = re.lastIndex;
      result = call(patchedExec, raw, str);
      re.lastIndex = raw.lastIndex;

      if (result && state.groups) setGroups(result, state.groups);

      return result;
    }

    var groups = state.groups;
    var sticky = UNSUPPORTED_Y && re.sticky;
    var flags = call(regexpFlags, re);
    var source = re.source;
    var charsAdded = 0;
    var strCopy = str;

    if (sticky) {
      flags = replace(flags, 'y', '');
      if (indexOf(flags, 'g') === -1) {
        flags += 'g';
      }

      strCopy = stringSlice(str, re.lastIndex);
      // Support anchored sticky behavior.
      var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
      if (re.lastIndex > 0 &&
        (!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
        source = '(?: (?:' + source + '))';
        strCopy = ' ' + strCopy;
        charsAdded++;
      }
      // ^(? + rx + ) is needed, in combination with some str slicing, to
      // simulate the 'y' flag.
      reCopy = new RegExp('^(?:' + source + ')', flags);
    }

    if (NPCG_INCLUDED) {
      reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
    }
    if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;

    var match = call(nativeExec, sticky ? reCopy : re, strCopy);

    if (sticky) {
      if (match) {
        match.input = str;
        match[0] = stringSlice(match[0], charsAdded);
        match.index = re.lastIndex;
        re.lastIndex += match[0].length;
      } else re.lastIndex = 0;
    } else if (UPDATES_LAST_INDEX_WRONG && match) {
      re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
    }
    if (NPCG_INCLUDED && match && match.length > 1) {
      // Fix browsers whose `exec` methods don't consistently return `undefined`
      // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
      call(nativeReplace, match[0], reCopy, function () {
        for (var i = 1; i < arguments.length - 2; i++) {
          if (arguments[i] === undefined) match[i] = undefined;
        }
      });
    }

    if (match && groups) setGroups(match, groups);

    return match;
  };
}

module.exports = patchedExec;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-flags-detection.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-flags-detection.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
var RegExp = globalThis.RegExp;

var FLAGS_GETTER_IS_CORRECT = !fails(function () {
  var INDICES_SUPPORT = true;
  try {
    RegExp('.', 'd');
  } catch (error) {
    INDICES_SUPPORT = false;
  }

  var O = {};
  // modern V8 bug
  var calls = '';
  var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';

  var addGetter = function (key, chr) {
    // eslint-disable-next-line es/no-object-defineproperty -- safe
    Object.defineProperty(O, key, { get: function () {
      calls += chr;
      return true;
    } });
  };

  var pairs = {
    dotAll: 's',
    global: 'g',
    ignoreCase: 'i',
    multiline: 'm',
    sticky: 'y'
  };

  if (INDICES_SUPPORT) pairs.hasIndices = 'd';

  for (var key in pairs) addGetter(key, pairs[key]);

  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
  var result = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get.call(O);

  return result !== expected || calls !== expected;
});

module.exports = { correct: FLAGS_GETTER_IS_CORRECT };


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-flags.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-flags.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");

// `RegExp.prototype.flags` getter implementation
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
module.exports = function () {
  var that = anObject(this);
  var result = '';
  if (that.hasIndices) result += 'd';
  if (that.global) result += 'g';
  if (that.ignoreCase) result += 'i';
  if (that.multiline) result += 'm';
  if (that.dotAll) result += 's';
  if (that.unicode) result += 'u';
  if (that.unicodeSets) result += 'v';
  if (that.sticky) result += 'y';
  return result;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-get-flags.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-get-flags.js ***!
  \**********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js");
var regExpFlagsDetection = __webpack_require__(/*! ../internals/regexp-flags-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-flags-detection.js");
var regExpFlagsGetterImplementation = __webpack_require__(/*! ../internals/regexp-flags */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-flags.js");

var RegExpPrototype = RegExp.prototype;

module.exports = regExpFlagsDetection.correct ? function (it) {
  return it.flags;
} : function (it) {
  return (!regExpFlagsDetection.correct && isPrototypeOf(RegExpPrototype, it) && !hasOwn(it, 'flags'))
    ? call(regExpFlagsGetterImplementation, it)
    : it.flags;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-sticky-helpers.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-sticky-helpers.js ***!
  \***************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
var $RegExp = globalThis.RegExp;

var UNSUPPORTED_Y = fails(function () {
  var re = $RegExp('a', 'y');
  re.lastIndex = 2;
  return re.exec('abcd') !== null;
});

// UC Browser bug
// https://github.com/zloirock/core-js/issues/1008
var MISSED_STICKY = UNSUPPORTED_Y || fails(function () {
  return !$RegExp('a', 'y').sticky;
});

var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
  var re = $RegExp('^r', 'gy');
  re.lastIndex = 2;
  return re.exec('str') !== null;
});

module.exports = {
  BROKEN_CARET: BROKEN_CARET,
  MISSED_STICKY: MISSED_STICKY,
  UNSUPPORTED_Y: UNSUPPORTED_Y
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-dot-all.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-dot-all.js ***!
  \********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
var $RegExp = globalThis.RegExp;

module.exports = fails(function () {
  var re = $RegExp('.', 's');
  return !(re.dotAll && re.test('\n') && re.flags === 's');
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-ncg.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-ncg.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
var $RegExp = globalThis.RegExp;

module.exports = fails(function () {
  var re = $RegExp('(?<a>b)', 'g');
  return re.exec('b').groups.a !== 'b' ||
    'b'.replace(re, '$<a>c') !== 'bc';
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-null-or-undefined.js");

var $TypeError = TypeError;

// `RequireObjectCoercible` abstract operation
// https://tc39.es/ecma262/#sec-requireobjectcoercible
module.exports = function (it) {
  if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
  return it;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/safe-get-built-in.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/safe-get-built-in.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");

// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;

// Avoid NodeJS experimental warning
module.exports = function (name) {
  if (!DESCRIPTORS) return globalThis[name];
  var descriptor = getOwnPropertyDescriptor(globalThis, name);
  return descriptor && descriptor.value;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/same-value.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/same-value.js ***!
  \****************************************************************************************/
(module) {

"use strict";

// `SameValue` abstract operation
// https://tc39.es/ecma262/#sec-samevalue
// eslint-disable-next-line es/no-object-is -- safe
module.exports = Object.is || function is(x, y) {
  // eslint-disable-next-line no-self-compare -- NaN check
  return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-species.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-species.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in-accessor.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");

var SPECIES = wellKnownSymbol('species');

module.exports = function (CONSTRUCTOR_NAME) {
  var Constructor = getBuiltIn(CONSTRUCTOR_NAME);

  if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
    defineBuiltInAccessor(Constructor, SPECIES, {
      configurable: true,
      get: function () { return this; }
    });
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js").f);
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var TO_STRING_TAG = wellKnownSymbol('toStringTag');

module.exports = function (target, TAG, STATIC) {
  if (target && !STATIC) target = target.prototype;
  if (target && !hasOwn(target, TO_STRING_TAG)) {
    defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-key.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-key.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared.js");
var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/uid.js");

var keys = shared('keys');

module.exports = function (key) {
  return keys[key] || (keys[key] = uid(key));
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-store.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-store.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-global-property.js");

var SHARED = '__core-js_shared__';
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});

(store.versions || (store.versions = [])).push({
  version: '3.49.0',
  mode: IS_PURE ? 'pure' : 'global',
  copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
  license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
  source: 'https://github.com/zloirock/core-js'
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared.js ***!
  \************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var store = __webpack_require__(/*! ../internals/shared-store */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared-store.js");

module.exports = function (key, value) {
  return store[key] || (store[key] = value || {});
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/species-constructor.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/species-constructor.js ***!
  \*************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var aConstructor = __webpack_require__(/*! ../internals/a-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-constructor.js");
var isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-null-or-undefined.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var SPECIES = wellKnownSymbol('species');

// `SpeciesConstructor` abstract operation
// https://tc39.es/ecma262/#sec-speciesconstructor
module.exports = function (O, defaultConstructor) {
  var C = anObject(O).constructor;
  var S;
  return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-multibyte.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-multibyte.js ***!
  \**********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");

var charAt = uncurryThis(''.charAt);
var charCodeAt = uncurryThis(''.charCodeAt);
var stringSlice = uncurryThis(''.slice);

var createMethod = function (CONVERT_TO_STRING) {
  return function ($this, pos) {
    var S = toString(requireObjectCoercible($this));
    var position = toIntegerOrInfinity(pos);
    var size = S.length;
    var first, second;
    if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
    first = charCodeAt(S, position);
    return first < 0xD800 || first > 0xDBFF || position + 1 === size
      || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
        ? CONVERT_TO_STRING
          ? charAt(S, position)
          : first
        : CONVERT_TO_STRING
          ? stringSlice(S, position, position + 2)
          : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
  };
};

module.exports = {
  // `String.prototype.codePointAt` method
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
  codeAt: createMethod(false),
  // `String.prototype.at` method
  // https://github.com/mathiasbynens/String.prototype.at
  charAt: createMethod(true)
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-punycode-to-ascii.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-punycode-to-ascii.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");

var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
var base = 36;
var tMin = 1;
var tMax = 26;
var skew = 38;
var damp = 700;
var initialBias = 72;
var initialN = 128; // 0x80
var delimiter = '-'; // '\x2D'
var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars
var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
var baseMinusTMin = base - tMin;

var $RangeError = RangeError;
var exec = uncurryThis(regexSeparators.exec);
var floor = Math.floor;
var fromCharCode = String.fromCharCode;
var charCodeAt = uncurryThis(''.charCodeAt);
var join = uncurryThis([].join);
var push = uncurryThis([].push);
var replace = uncurryThis(''.replace);
var split = uncurryThis(''.split);
var toLowerCase = uncurryThis(''.toLowerCase);

/**
 * Creates an array containing the numeric code points of each Unicode
 * character in the string. While JavaScript uses UCS-2 internally,
 * this function will convert a pair of surrogate halves (each of which
 * UCS-2 exposes as separate characters) into a single code point,
 * matching UTF-16.
 */
var ucs2decode = function (string) {
  var output = [];
  var counter = 0;
  var length = string.length;
  while (counter < length) {
    var value = charCodeAt(string, counter++);
    if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
      // It's a high surrogate, and there is a next character.
      var extra = charCodeAt(string, counter++);
      if ((extra & 0xFC00) === 0xDC00) { // Low surrogate.
        push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
      } else {
        // It's an unmatched surrogate; only append this code unit, in case the
        // next code unit is the high surrogate of a surrogate pair.
        push(output, value);
        counter--;
      }
    } else {
      push(output, value);
    }
  }
  return output;
};

/**
 * Converts a digit/integer into a basic code point.
 */
var digitToBasic = function (digit) {
  //  0..25 map to ASCII a..z or A..Z
  // 26..35 map to ASCII 0..9
  return digit + 22 + 75 * (digit < 26);
};

/**
 * Bias adaptation function as per section 3.4 of RFC 3492.
 * https://tools.ietf.org/html/rfc3492#section-3.4
 */
var adapt = function (delta, numPoints, firstTime) {
  var k = 0;
  delta = firstTime ? floor(delta / damp) : delta >> 1;
  delta += floor(delta / numPoints);
  while (delta > baseMinusTMin * tMax >> 1) {
    delta = floor(delta / baseMinusTMin);
    k += base;
  }
  return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
};

/**
 * Converts a string of Unicode symbols (e.g. a domain name label) to a
 * Punycode string of ASCII-only symbols.
 */
var encode = function (input) {
  var output = [];

  // Convert the input in UCS-2 to an array of Unicode code points.
  input = ucs2decode(input);

  // Cache the length.
  var inputLength = input.length;

  // Initialize the state.
  var n = initialN;
  var delta = 0;
  var bias = initialBias;
  var i, currentValue;

  // Handle the basic code points.
  for (i = 0; i < input.length; i++) {
    currentValue = input[i];
    if (currentValue < 0x80) {
      push(output, fromCharCode(currentValue));
    }
  }

  var basicLength = output.length; // number of basic code points.
  var handledCPCount = basicLength; // number of code points that have been handled;

  // Finish the basic string with a delimiter unless it's empty.
  if (basicLength) {
    push(output, delimiter);
  }

  // Main encoding loop:
  while (handledCPCount < inputLength) {
    // All non-basic code points < n have been handled already. Find the next larger one:
    var m = maxInt;
    for (i = 0; i < input.length; i++) {
      currentValue = input[i];
      if (currentValue >= n && currentValue < m) {
        m = currentValue;
      }
    }

    // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
    var handledCPCountPlusOne = handledCPCount + 1;
    if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
      throw new $RangeError(OVERFLOW_ERROR);
    }

    delta += (m - n) * handledCPCountPlusOne;
    n = m;

    for (i = 0; i < input.length; i++) {
      currentValue = input[i];
      if (currentValue < n && ++delta > maxInt) {
        throw new $RangeError(OVERFLOW_ERROR);
      }
      if (currentValue === n) {
        // Represent delta as a generalized variable-length integer.
        var q = delta;
        var k = base;
        while (true) {
          var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
          if (q < t) break;
          var qMinusT = q - t;
          var baseMinusT = base - t;
          push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));
          q = floor(qMinusT / baseMinusT);
          k += base;
        }

        push(output, fromCharCode(digitToBasic(q)));
        bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
        delta = 0;
        handledCPCount++;
      }
    }

    delta++;
    n++;
  }
  return join(output, '');
};

module.exports = function (input) {
  var encoded = [];
  var labels = split(replace(toLowerCase(input), regexSeparators, '\u002E'), '.');
  var i, label;
  for (i = 0; i < labels.length; i++) {
    label = labels[i];
    push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label);
  }
  return join(encoded, '.');
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-repeat.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-repeat.js ***!
  \*******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");

var $RangeError = RangeError;
var floor = Math.floor;

// `String.prototype.repeat` method implementation
// https://tc39.es/ecma262/#sec-string.prototype.repeat
module.exports = function repeat(count) {
  var str = toString(requireObjectCoercible(this));
  var result = '';
  var n = toIntegerOrInfinity(count);
  if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions');
  for (;n > 0; (n = floor(n / 2)) && (str += str)) if (n % 2) result += str;
  return result;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-end.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-end.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $trimEnd = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim.js").end);
var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-forced.js");

// `String.prototype.{ trimEnd, trimRight }` method
// https://tc39.es/ecma262/#sec-string.prototype.trimend
// https://tc39.es/ecma262/#String.prototype.trimright
module.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() {
  return $trimEnd(this);
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
} : ''.trimEnd;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-forced.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-forced.js ***!
  \************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-name.js").PROPER);
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/whitespaces.js");

var non = '\u200B\u0085\u180E';

// check that a method works with the correct list
// of whitespaces and has a correct name
module.exports = function (METHOD_NAME) {
  return fails(function () {
    return !!whitespaces[METHOD_NAME]()
      || non[METHOD_NAME]() !== non
      || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
  });
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-start.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-start.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $trimStart = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim.js").start);
var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-forced.js");

// `String.prototype.{ trimStart, trimLeft }` method
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
// https://tc39.es/ecma262/#String.prototype.trimleft
module.exports = forcedStringTrimMethod('trimStart') ? function trimStart() {
  return $trimStart(this);
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
} : ''.trimStart;


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim.js ***!
  \*****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/whitespaces.js");

var replace = uncurryThis(''.replace);
var ltrim = RegExp('^[' + whitespaces + ']+');
var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');

// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
var createMethod = function (TYPE) {
  return function ($this) {
    var string = toString(requireObjectCoercible($this));
    if (TYPE & 1) string = replace(string, ltrim, '');
    if (TYPE & 2) string = replace(string, rtrim, '$1');
    return string;
  };
};

module.exports = {
  // `String.prototype.{ trimLeft, trimStart }` methods
  // https://tc39.es/ecma262/#sec-string.prototype.trimstart
  start: createMethod(1),
  // `String.prototype.{ trimRight, trimEnd }` methods
  // https://tc39.es/ecma262/#sec-string.prototype.trimend
  end: createMethod(2),
  // `String.prototype.trim` method
  // https://tc39.es/ecma262/#sec-string.prototype.trim
  trim: createMethod(3)
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/symbol-constructor-detection.js"
/*!**********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/symbol-constructor-detection.js ***!
  \**********************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

/* eslint-disable es/no-symbol -- required for testing */
var V8_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-v8-version.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

var $String = globalThis.String;

// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
  var symbol = Symbol('symbol detection');
  // Chrome 38 Symbol has incorrect toString conversion
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
  // of course, fail.
  return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
    !Symbol.sham && V8_VERSION && V8_VERSION < 41;
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/task.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/task.js ***!
  \**********************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-apply.js");
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var html = __webpack_require__(/*! ../internals/html */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/html.js");
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-slice.js");
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/document-create-element.js");
var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/validate-arguments-length.js");
var IS_IOS = __webpack_require__(/*! ../internals/environment-is-ios */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ios.js");
var IS_NODE = __webpack_require__(/*! ../internals/environment-is-node */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-node.js");

var set = globalThis.setImmediate;
var clear = globalThis.clearImmediate;
var process = globalThis.process;
var Dispatch = globalThis.Dispatch;
var Function = globalThis.Function;
var MessageChannel = globalThis.MessageChannel;
var String = globalThis.String;
var counter = 0;
var queue = {};
var ONREADYSTATECHANGE = 'onreadystatechange';
var $location, defer, channel, port;

fails(function () {
  // Deno throws a ReferenceError on `location` access without `--location` flag
  $location = globalThis.location;
});

var run = function (id) {
  if (hasOwn(queue, id)) {
    var fn = queue[id];
    delete queue[id];
    fn();
  }
};

var runner = function (id) {
  return function () {
    run(id);
  };
};

var eventListener = function (event) {
  run(event.data);
};

var globalPostMessageDefer = function (id) {
  // old engines have not location.origin
  globalThis.postMessage(String(id), $location.protocol + '//' + $location.host);
};

// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
if (!set || !clear) {
  set = function setImmediate(handler) {
    validateArgumentsLength(arguments.length, 1);
    var fn = isCallable(handler) ? handler : Function(handler);
    var args = arraySlice(arguments, 1);
    queue[++counter] = function () {
      apply(fn, undefined, args);
    };
    defer(counter);
    return counter;
  };
  clear = function clearImmediate(id) {
    delete queue[id];
  };
  // Node.js 0.8-
  if (IS_NODE) {
    defer = function (id) {
      process.nextTick(runner(id));
    };
  // Sphere (JS game engine) Dispatch API
  } else if (Dispatch && Dispatch.now) {
    defer = function (id) {
      Dispatch.now(runner(id));
    };
  // Browsers with MessageChannel, includes WebWorkers
  // except iOS - https://github.com/zloirock/core-js/issues/624
  } else if (MessageChannel && !IS_IOS) {
    channel = new MessageChannel();
    port = channel.port2;
    channel.port1.onmessage = eventListener;
    defer = bind(port.postMessage, port);
  // Browsers with postMessage, skip WebWorkers
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
  } else if (
    globalThis.addEventListener &&
    isCallable(globalThis.postMessage) &&
    !globalThis.importScripts &&
    $location && $location.protocol !== 'file:' &&
    !fails(globalPostMessageDefer)
  ) {
    defer = globalPostMessageDefer;
    globalThis.addEventListener('message', eventListener, false);
  // IE8-
  } else if (ONREADYSTATECHANGE in createElement('script')) {
    defer = function (id) {
      html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
        html.removeChild(this);
        run(id);
      };
    };
  // Rest old browsers
  } else {
    defer = function (id) {
      setTimeout(runner(id), 0);
    };
  }
}

module.exports = {
  set: set,
  clear: clear
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/this-number-value.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/this-number-value.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");

// `thisNumberValue` abstract operation
// https://tc39.es/ecma262/#sec-thisnumbervalue
module.exports = uncurryThis(1.1.valueOf);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-absolute-index.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-absolute-index.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");

var max = Math.max;
var min = Math.min;

// Helper for a popular repeating case of the spec:
// Let integer be ? ToInteger(index).
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
module.exports = function (index, length) {
  var integer = toIntegerOrInfinity(index);
  return integer < 0 ? max(integer + length, 0) : min(integer, length);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-big-int.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-big-int.js ***!
  \****************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-primitive.js");

var $TypeError = TypeError;

// `ToBigInt` abstract operation
// https://tc39.es/ecma262/#sec-tobigint
module.exports = function (argument) {
  var prim = toPrimitive(argument, 'number');
  if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
  // eslint-disable-next-line es/no-bigint -- safe
  return BigInt(prim);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-indexed-object.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-indexed-object.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// toObject with fallback for non-array-like ES3 strings
var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/indexed-object.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");

module.exports = function (it) {
  return IndexedObject(requireObjectCoercible(it));
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js ***!
  \****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var trunc = __webpack_require__(/*! ../internals/math-trunc */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/math-trunc.js");

// `ToIntegerOrInfinity` abstract operation
// https://tc39.es/ecma262/#sec-tointegerorinfinity
module.exports = function (argument) {
  var number = +argument;
  // eslint-disable-next-line no-self-compare -- NaN check
  return number !== number || number === 0 ? 0 : trunc(number);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");

var min = Math.min;

// `ToLength` abstract operation
// https://tc39.es/ecma262/#sec-tolength
module.exports = function (argument) {
  var len = toIntegerOrInfinity(argument);
  return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");

var $Object = Object;

// `ToObject` abstract operation
// https://tc39.es/ecma262/#sec-toobject
module.exports = function (argument) {
  return $Object(requireObjectCoercible(argument));
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-offset.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-offset.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-positive-integer.js");

var $RangeError = RangeError;

module.exports = function (it, BYTES) {
  var offset = toPositiveInteger(it);
  if (offset % BYTES) throw new $RangeError('Wrong offset');
  return offset;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-positive-integer.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-positive-integer.js ***!
  \*************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");

var $RangeError = RangeError;

module.exports = function (it) {
  var result = toIntegerOrInfinity(it);
  if (result < 0) throw new $RangeError("The argument can't be less than 0");
  return result;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-primitive.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-primitive.js ***!
  \******************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-symbol.js");
var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js");
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/ordinary-to-primitive.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var $TypeError = TypeError;
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');

// `ToPrimitive` abstract operation
// https://tc39.es/ecma262/#sec-toprimitive
module.exports = function (input, pref) {
  if (!isObject(input) || isSymbol(input)) return input;
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
  var result;
  if (exoticToPrim) {
    if (pref === undefined) pref = 'default';
    result = call(exoticToPrim, input, pref);
    if (!isObject(result) || isSymbol(result)) return result;
    throw new $TypeError("Can't convert object to primitive value");
  }
  if (pref === undefined) pref = 'number';
  return ordinaryToPrimitive(input, pref);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-property-key.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-property-key.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-primitive.js");
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-symbol.js");

// `ToPropertyKey` abstract operation
// https://tc39.es/ecma262/#sec-topropertykey
module.exports = function (argument) {
  var key = toPrimitive(argument, 'string');
  return isSymbol(key) ? key : key + '';
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string-tag-support.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string-tag-support.js ***!
  \***************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var TO_STRING_TAG = wellKnownSymbol('toStringTag');
var test = {};
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
test[TO_STRING_TAG] = 'z';

module.exports = String(test) === '[object z]';


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js ***!
  \***************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js");

var $String = String;

module.exports = function (argument) {
  if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
  return $String(argument);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/try-to-string.js ***!
  \*******************************************************************************************/
(module) {

"use strict";

var $String = String;

module.exports = function (argument) {
  try {
    return $String(argument);
  } catch (error) {
    return 'Object';
  }
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/uid.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/uid.js ***!
  \*********************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");

var id = 0;
var postfix = Math.random();
var toString = uncurryThis(1.1.toString);

module.exports = function (key) {
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/url-constructor-detection.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/url-constructor-detection.js ***!
  \*******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");

var ITERATOR = wellKnownSymbol('iterator');

module.exports = !fails(function () {
  // eslint-disable-next-line unicorn/relative-url-style -- required for testing
  var url = new URL('b?a=1&b=2&c=3', 'https://a');
  var params = url.searchParams;
  var params2 = new URLSearchParams('a=1&a=2&b=3');
  var result = '';
  url.pathname = 'c%20d';
  params.forEach(function (value, key) {
    params['delete']('b');
    result += key + value;
  });
  params2['delete']('a', 2);
  // `undefined` case is a Chromium 117 bug
  // https://bugs.chromium.org/p/v8/issues/detail?id=14222
  params2['delete']('b', undefined);
  return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
    || (!params.size && (IS_PURE || !DESCRIPTORS))
    || !params.sort
    || url.href !== 'https://a/c%20d?a=1&c=3'
    || params.get('c') !== '3'
    || String(new URLSearchParams('?a=1')) !== 'a=1'
    || !params[ITERATOR]
    // throws in Edge
    || new URL('https://a@b').username !== 'a'
    || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
    // not punycoded in Edge
    || new URL('https://тест').host !== 'xn--e1aybc'
    // not escaped in Chrome 62-
    || new URL('https://a#б').hash !== '#%D0%B1'
    // fails in Chrome 66-
    || result !== 'a1c3'
    // throws in Safari
    || new URL('https://x', undefined).host !== 'x';
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/use-symbol-as-uid.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/use-symbol-as-uid.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

/* eslint-disable es/no-symbol -- required for testing */
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/symbol-constructor-detection.js");

module.exports = NATIVE_SYMBOL &&
  !Symbol.sham &&
  typeof Symbol.iterator == 'symbol';


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/v8-prototype-define-bug.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/v8-prototype-define-bug.js ***!
  \*****************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

// V8 ~ Chrome 36-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
module.exports = DESCRIPTORS && fails(function () {
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
    value: 42,
    writable: false
  }).prototype !== 42;
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/validate-arguments-length.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/validate-arguments-length.js ***!
  \*******************************************************************************************************/
(module) {

"use strict";

var $TypeError = TypeError;

module.exports = function (passed, required) {
  if (passed < required) throw new $TypeError('Not enough arguments');
  return passed;
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/weak-map-basic-detection.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/weak-map-basic-detection.js ***!
  \******************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");

var WeakMap = globalThis.WeakMap;

module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js ***!
  \***********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var shared = __webpack_require__(/*! ../internals/shared */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/shared.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var uid = __webpack_require__(/*! ../internals/uid */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/uid.js");
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/symbol-constructor-detection.js");
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/use-symbol-as-uid.js");

var Symbol = globalThis.Symbol;
var WellKnownSymbolsStore = shared('wks');
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;

module.exports = function (name) {
  if (!hasOwn(WellKnownSymbolsStore, name)) {
    WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
      ? Symbol[name]
      : createWellKnownSymbol('Symbol.' + name);
  } return WellKnownSymbolsStore[name];
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/whitespaces.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/whitespaces.js ***!
  \*****************************************************************************************/
(module) {

"use strict";

// a string of all valid unicode whitespaces
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat-map.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat-map.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/flatten-into-array.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-create.js");

// `Array.prototype.flatMap` method
// https://tc39.es/ecma262/#sec-array.prototype.flatmap
$({ target: 'Array', proto: true }, {
  flatMap: function flatMap(callbackfn /* , thisArg */) {
    var O = toObject(this);
    var sourceLen = lengthOfArrayLike(O);
    var A;
    aCallable(callbackfn);
    A = arraySpeciesCreate(O, 0);
    flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
    return A;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/flatten-into-array.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");
var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-species-create.js");

// `Array.prototype.flat` method
// https://tc39.es/ecma262/#sec-array.prototype.flat
$({ target: 'Array', proto: true }, {
  flat: function flat(/* depthArg = 1 */) {
    var depthArg = arguments.length ? arguments[0] : undefined;
    var O = toObject(this);
    var sourceLen = lengthOfArrayLike(O);
    var depthNum = depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg);
    var A = arraySpeciesCreate(O, 0);
    flattenIntoArray(A, O, O, sourceLen, 0, depthNum);
    return A;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js ***!
  \*********************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-indexed-object.js");
var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/add-to-unscopables.js");
var Iterators = __webpack_require__(/*! ../internals/iterators */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterators.js");
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js");
var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-define-property.js").f);
var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-define.js");
var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-iter-result-object.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");

var ARRAY_ITERATOR = 'Array Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);

// `Array.prototype.entries` method
// https://tc39.es/ecma262/#sec-array.prototype.entries
// `Array.prototype.keys` method
// https://tc39.es/ecma262/#sec-array.prototype.keys
// `Array.prototype.values` method
// https://tc39.es/ecma262/#sec-array.prototype.values
// `Array.prototype[@@iterator]` method
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
// `CreateArrayIterator` internal method
// https://tc39.es/ecma262/#sec-createarrayiterator
module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
  setInternalState(this, {
    type: ARRAY_ITERATOR,
    target: toIndexedObject(iterated), // target
    index: 0,                          // next index
    kind: kind                         // kind
  });
// `%ArrayIteratorPrototype%.next` method
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
}, function () {
  var state = getInternalState(this);
  var target = state.target;
  var index = state.index++;
  if (!target || index >= target.length) {
    state.target = null;
    return createIterResultObject(undefined, true);
  }
  switch (state.kind) {
    case 'keys': return createIterResultObject(index, false);
    case 'values': return createIterResultObject(target[index], false);
  } return createIterResultObject([index, target[index]], false);
}, 'values');

// argumentsList[@@iterator] is %ArrayProto_values%
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
var values = Iterators.Arguments = Iterators.Array;

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('keys');
addToUnscopables('values');
addToUnscopables('entries');

// V8 ~ Chrome 45- bug
if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
  defineProperty(values, 'name', { value: 'values' });
} catch (error) { /* empty */ }


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var $reduce = (__webpack_require__(/*! ../internals/array-reduce */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-reduce.js").left);
var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-method-is-strict.js");
var CHROME_VERSION = __webpack_require__(/*! ../internals/environment-v8-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-v8-version.js");
var IS_NODE = __webpack_require__(/*! ../internals/environment-is-node */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-node.js");

// Chrome 80-82 has a critical bug
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');

// `Array.prototype.reduce` method
// https://tc39.es/ecma262/#sec-array.prototype.reduce
$({ target: 'Array', proto: true, forced: FORCED }, {
  reduce: function reduce(callbackfn /* , initialValue */) {
    var length = arguments.length;
    return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js ***!
  \*****************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var toObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/delete-property-or-throw.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var internalSort = __webpack_require__(/*! ../internals/array-sort */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-sort.js");
var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-method-is-strict.js");
var FF = __webpack_require__(/*! ../internals/environment-ff-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-ff-version.js");
var IE_OR_EDGE = __webpack_require__(/*! ../internals/environment-is-ie-or-edge */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ie-or-edge.js");
var V8 = __webpack_require__(/*! ../internals/environment-v8-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-v8-version.js");
var WEBKIT = __webpack_require__(/*! ../internals/environment-webkit-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-webkit-version.js");

var test = [];
var nativeSort = uncurryThis(test.sort);
var push = uncurryThis(test.push);

// IE8-
var FAILS_ON_UNDEFINED = fails(function () {
  test.sort(undefined);
});
// V8 bug
var FAILS_ON_NULL = fails(function () {
  test.sort(null);
});
// Old WebKit
var STRICT_METHOD = arrayMethodIsStrict('sort');

var STABLE_SORT = !fails(function () {
  // feature detection can be too slow, so check engines versions
  if (V8) return V8 < 70;
  if (FF && FF > 3) return;
  if (IE_OR_EDGE) return true;
  if (WEBKIT) return WEBKIT < 603;

  var result = '';
  var code, chr, value, index;

  // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
  for (code = 65; code < 76; code++) {
    chr = String.fromCharCode(code);

    switch (code) {
      case 66: case 69: case 70: case 72: value = 3; break;
      case 68: case 71: value = 4; break;
      default: value = 2;
    }

    for (index = 0; index < 47; index++) {
      test.push({ k: chr + index, v: value });
    }
  }

  test.sort(function (a, b) { return b.v - a.v; });

  for (index = 0; index < test.length; index++) {
    chr = test[index].k.charAt(0);
    if (result.charAt(result.length - 1) !== chr) result += chr;
  }

  return result !== 'DGBEFHACIJK';
});

var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;

var getSortCompare = function (comparefn) {
  return function (x, y) {
    if (y === undefined) return -1;
    if (x === undefined) return 1;
    if (comparefn !== undefined) return +comparefn(x, y) || 0;
    var xString = toString(x);
    var yString = toString(y);
    return xString === yString ? 0 : xString > yString ? 1 : -1;
  };
};

// `Array.prototype.sort` method
// https://tc39.es/ecma262/#sec-array.prototype.sort
$({ target: 'Array', proto: true, forced: FORCED }, {
  sort: function sort(comparefn) {
    if (comparefn !== undefined) aCallable(comparefn);

    var array = toObject(this);

    if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);

    var items = [];
    var arrayLength = lengthOfArrayLike(array);
    var itemsLength, index;

    for (index = 0; index < arrayLength; index++) {
      if (index in array) push(items, array[index]);
    }

    internalSort(items, getSortCompare(comparefn));

    itemsLength = lengthOfArrayLike(items);
    index = 0;

    while (index < itemsLength) array[index] = items[index++];
    while (index < arrayLength) deletePropertyOrThrow(array, index++);

    return array;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat-map.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat-map.js ***!
  \*********************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// this method was added to unscopables after implementation
// in popular engines, so it's moved to a separate module
var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/add-to-unscopables.js");

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('flatMap');


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// this method was added to unscopables after implementation
// in popular engines, so it's moved to a separate module
var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/add-to-unscopables.js");

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables('flat');


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.global-this.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.global-this.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");

// `globalThis` object
// https://tc39.es/ecma262/#sec-globalthis
$({ global: true, forced: globalThis.globalThis !== globalThis }, {
  globalThis: globalThis
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.number.to-fixed.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.number.to-fixed.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");
var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/this-number-value.js");
var $repeat = __webpack_require__(/*! ../internals/string-repeat */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-repeat.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

var $RangeError = RangeError;
var $String = String;
var floor = Math.floor;
var repeat = uncurryThis($repeat);
var stringSlice = uncurryThis(''.slice);
var nativeToFixed = uncurryThis(1.1.toFixed);

var pow = function (x, n, acc) {
  return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
};

var log = function (x) {
  var n = 0;
  var x2 = x;
  while (x2 >= 4096) {
    n += 12;
    x2 /= 4096;
  }
  while (x2 >= 2) {
    n += 1;
    x2 /= 2;
  } return n;
};

var multiply = function (data, n, c) {
  var index = -1;
  var c2 = c;
  while (++index < 6) {
    c2 += n * data[index];
    data[index] = c2 % 1e7;
    c2 = floor(c2 / 1e7);
  }
};

var divide = function (data, n) {
  var index = 6;
  var c = 0;
  while (--index >= 0) {
    c += data[index];
    data[index] = floor(c / n);
    c = (c % n) * 1e7;
  }
};

var dataToString = function (data) {
  var index = 6;
  var s = '';
  while (--index >= 0) {
    if (s !== '' || index === 0 || data[index] !== 0) {
      var t = $String(data[index]);
      s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
    }
  } return s;
};

var FORCED = fails(function () {
  return nativeToFixed(0.00008, 3) !== '0.000' ||
    nativeToFixed(0.9, 0) !== '1' ||
    nativeToFixed(1.255, 2) !== '1.25' ||
    nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
}) || !fails(function () {
  // V8 ~ Android 4.3-
  nativeToFixed({});
});

// `Number.prototype.toFixed` method
// https://tc39.es/ecma262/#sec-number.prototype.tofixed
$({ target: 'Number', proto: true, forced: FORCED }, {
  toFixed: function toFixed(fractionDigits) {
    var number = thisNumberValue(this);
    var fractDigits = toIntegerOrInfinity(fractionDigits);
    var data = [0, 0, 0, 0, 0, 0];
    var sign = '';
    var result = '0';
    var e, z, j, k;

    // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
    if (fractDigits < 0 || fractDigits > 20) throw new $RangeError('Incorrect fraction digits');
    // eslint-disable-next-line no-self-compare -- NaN check
    if (number !== number) return 'NaN';
    if (number <= -1e21 || number >= 1e21) return $String(number);
    if (number < 0) {
      sign = '-';
      number = -number;
    }
    if (number > 1e-21) {
      e = log(number * pow(2, 69, 1)) - 69;
      z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
      z *= 0x10000000000000;
      e = 52 - e;
      if (e > 0) {
        multiply(data, 0, z);
        j = fractDigits;
        while (j >= 7) {
          multiply(data, 1e7, 0);
          j -= 7;
        }
        multiply(data, pow(10, j, 1), 0);
        j = e - 1;
        while (j >= 23) {
          divide(data, 1 << 23);
          j -= 23;
        }
        divide(data, 1 << j);
        multiply(data, 1, 1);
        divide(data, 2);
        result = dataToString(data);
      } else {
        multiply(data, 0, z);
        multiply(data, 1 << -e, 0);
        result = dataToString(data) + repeat('0', fractDigits);
      }
    }
    if (fractDigits > 0) {
      k = result.length;
      result = sign + (k <= fractDigits
        ? '0.' + repeat('0', fractDigits - k) + result
        : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));
    } else {
      result = sign + result;
    } return result;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var assign = __webpack_require__(/*! ../internals/object-assign */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-assign.js");

// `Object.assign` method
// https://tc39.es/ecma262/#sec-object.assign
// eslint-disable-next-line es/no-object-assign -- required for testing
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
  assign: assign
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.from-entries.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.from-entries.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterate.js");
var createProperty = __webpack_require__(/*! ../internals/create-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property.js");

// `Object.fromEntries` method
// https://tc39.es/ecma262/#sec-object.fromentries
$({ target: 'Object', stat: true }, {
  fromEntries: function fromEntries(iterable) {
    var obj = {};
    iterate(iterable, function (k, v) {
      createProperty(obj, k, v);
    }, { AS_ENTRIES: true });
    return obj;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var $parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/number-parse-float.js");

// `parseFloat` method
// https://tc39.es/ecma262/#sec-parsefloat-string
$({ global: true, forced: parseFloat !== $parseFloat }, {
  parseFloat: $parseFloat
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js ***!
  \****************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var $parseInt = __webpack_require__(/*! ../internals/number-parse-int */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/number-parse-int.js");

// `parseInt` method
// https://tc39.es/ecma262/#sec-parseint-string-radix
$({ global: true, forced: parseInt !== $parseInt }, {
  parseInt: $parseInt
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.all-settled.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.all-settled.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js");
var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/perform.js");
var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterate.js");
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-statics-incorrect-iteration.js");

// `Promise.allSettled` method
// https://tc39.es/ecma262/#sec-promise.allsettled
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
  allSettled: function allSettled(iterable) {
    var C = this;
    var capability = newPromiseCapabilityModule.f(C);
    var resolve = capability.resolve;
    var reject = capability.reject;
    var result = perform(function () {
      var promiseResolve = aCallable(C.resolve);
      var values = [];
      var counter = 0;
      var remaining = 1;
      iterate(iterable, function (promise) {
        var index = counter++;
        var alreadyCalled = false;
        remaining++;
        call(promiseResolve, C, promise).then(function (value) {
          if (alreadyCalled) return;
          alreadyCalled = true;
          values[index] = { status: 'fulfilled', value: value };
          --remaining || resolve(values);
        }, function (error) {
          if (alreadyCalled) return;
          alreadyCalled = true;
          values[index] = { status: 'rejected', reason: error };
          --remaining || resolve(values);
        });
      });
      --remaining || resolve(values);
    });
    if (result.error) reject(result.value);
    return capability.promise;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.all.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.all.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js");
var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/perform.js");
var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterate.js");
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-statics-incorrect-iteration.js");

// `Promise.all` method
// https://tc39.es/ecma262/#sec-promise.all
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
  all: function all(iterable) {
    var C = this;
    var capability = newPromiseCapabilityModule.f(C);
    var resolve = capability.resolve;
    var reject = capability.reject;
    var result = perform(function () {
      var $promiseResolve = aCallable(C.resolve);
      var values = [];
      var counter = 0;
      var remaining = 1;
      iterate(iterable, function (promise) {
        var index = counter++;
        var alreadyCalled = false;
        remaining++;
        call($promiseResolve, C, promise).then(function (value) {
          if (alreadyCalled) return;
          alreadyCalled = true;
          values[index] = value;
          --remaining || resolve(values);
        }, reject);
      });
      --remaining || resolve(values);
    });
    if (result.error) reject(result.value);
    return capability.promise;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.catch.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.catch.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js");
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");

var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;

// `Promise.prototype.catch` method
// https://tc39.es/ecma262/#sec-promise.prototype.catch
$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
  'catch': function (onRejected) {
    return this.then(undefined, onRejected);
  }
});

// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
  var method = getBuiltIn('Promise').prototype['catch'];
  if (NativePromisePrototype['catch'] !== method) {
    defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
  }
}


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.constructor.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.constructor.js ***!
  \**************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var IS_NODE = __webpack_require__(/*! ../internals/environment-is-node */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-node.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var path = __webpack_require__(/*! ../internals/path */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/path.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-set-prototype-of.js");
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js");
var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-species.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-instance.js");
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/species-constructor.js");
var task = (__webpack_require__(/*! ../internals/task */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/task.js").set);
var microtask = __webpack_require__(/*! ../internals/microtask */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/microtask.js");
var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/host-report-errors.js");
var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/perform.js");
var Queue = __webpack_require__(/*! ../internals/queue */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/queue.js");
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js");
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js");
var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-constructor-detection.js");
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js");

var PROMISE = 'Promise';
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
var setInternalState = InternalStateModule.set;
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
var PromiseConstructor = NativePromiseConstructor;
var PromisePrototype = NativePromisePrototype;
var TypeError = globalThis.TypeError;
var document = globalThis.document;
var process = globalThis.process;
var newPromiseCapability = newPromiseCapabilityModule.f;
var newGenericPromiseCapability = newPromiseCapability;

var DISPATCH_EVENT = !!(document && document.createEvent && globalThis.dispatchEvent);
var UNHANDLED_REJECTION = 'unhandledrejection';
var REJECTION_HANDLED = 'rejectionhandled';
var PENDING = 0;
var FULFILLED = 1;
var REJECTED = 2;
var HANDLED = 1;
var UNHANDLED = 2;

var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;

// helpers
var isThenable = function (it) {
  var then;
  return isObject(it) && isCallable(then = it.then) ? then : false;
};

var callReaction = function (reaction, state) {
  var value = state.value;
  var ok = state.state === FULFILLED;
  var handler = ok ? reaction.ok : reaction.fail;
  var resolve = reaction.resolve;
  var reject = reaction.reject;
  var domain = reaction.domain;
  var result, then, exited;
  try {
    if (handler) {
      if (!ok) {
        if (state.rejection === UNHANDLED) onHandleUnhandled(state);
        state.rejection = HANDLED;
      }
      if (handler === true) result = value;
      else {
        if (domain) domain.enter();
        result = handler(value); // can throw
        if (domain) {
          domain.exit();
          exited = true;
        }
      }
      if (result === reaction.promise) {
        reject(new TypeError('Promise-chain cycle'));
      } else if (then = isThenable(result)) {
        call(then, result, resolve, reject);
      } else resolve(result);
    } else reject(value);
  } catch (error) {
    if (domain && !exited) domain.exit();
    reject(error);
  }
};

var notify = function (state, isReject) {
  if (state.notified) return;
  state.notified = true;
  microtask(function () {
    var reactions = state.reactions;
    var reaction;
    while (reaction = reactions.get()) {
      callReaction(reaction, state);
    }
    state.notified = false;
    if (isReject && !state.rejection) onUnhandled(state);
  });
};

var dispatchEvent = function (name, promise, reason) {
  var event, handler;
  if (DISPATCH_EVENT) {
    event = document.createEvent('Event');
    event.promise = promise;
    event.reason = reason;
    event.initEvent(name, false, true);
    globalThis.dispatchEvent(event);
  } else event = { promise: promise, reason: reason };
  if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis['on' + name])) handler(event);
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
};

var onUnhandled = function (state) {
  call(task, globalThis, function () {
    var promise = state.facade;
    var value = state.value;
    var IS_UNHANDLED = isUnhandled(state);
    var result;
    if (IS_UNHANDLED) {
      result = perform(function () {
        if (IS_NODE) {
          process.emit('unhandledRejection', value, promise);
        } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
      });
      // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
      state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
      if (result.error) throw result.value;
    }
  });
};

var isUnhandled = function (state) {
  return state.rejection !== HANDLED && !state.parent;
};

var onHandleUnhandled = function (state) {
  call(task, globalThis, function () {
    var promise = state.facade;
    if (IS_NODE) {
      process.emit('rejectionHandled', promise);
    } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
  });
};

var bind = function (fn, state, unwrap) {
  return function (value) {
    fn(state, value, unwrap);
  };
};

var internalReject = function (state, value, unwrap) {
  if (state.done) return;
  state.done = true;
  if (unwrap) state = unwrap;
  state.value = value;
  state.state = REJECTED;
  notify(state, true);
};

var internalResolve = function (state, value, unwrap) {
  if (state.done) return;
  state.done = true;
  if (unwrap) state = unwrap;
  try {
    if (state.facade === value) throw new TypeError("Promise can't be resolved itself");
    var then = isThenable(value);
    if (then) {
      microtask(function () {
        var wrapper = { done: false };
        try {
          call(then, value,
            bind(internalResolve, wrapper, state),
            bind(internalReject, wrapper, state)
          );
        } catch (error) {
          internalReject(wrapper, error, state);
        }
      });
    } else {
      state.value = value;
      state.state = FULFILLED;
      notify(state, false);
    }
  } catch (error) {
    internalReject({ done: false }, error, state);
  }
};

// constructor polyfill
if (FORCED_PROMISE_CONSTRUCTOR) {
  // 25.4.3.1 Promise(executor)
  PromiseConstructor = function Promise(executor) {
    anInstance(this, PromisePrototype);
    aCallable(executor);
    call(Internal, this);
    var state = getInternalPromiseState(this);
    try {
      executor(bind(internalResolve, state), bind(internalReject, state));
    } catch (error) {
      internalReject(state, error);
    }
  };

  PromisePrototype = PromiseConstructor.prototype;

  // eslint-disable-next-line no-unused-vars -- required for `.length`
  Internal = function Promise(executor) {
    setInternalState(this, {
      type: PROMISE,
      done: false,
      notified: false,
      parent: false,
      reactions: new Queue(),
      rejection: false,
      state: PENDING,
      value: null
    });
  };

  // `Promise.prototype.then` method
  // https://tc39.es/ecma262/#sec-promise.prototype.then
  Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
    var state = getInternalPromiseState(this);
    var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
    state.parent = true;
    reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
    reaction.fail = isCallable(onRejected) && onRejected;
    reaction.domain = IS_NODE ? process.domain : undefined;
    if (state.state === PENDING) state.reactions.add(reaction);
    else microtask(function () {
      callReaction(reaction, state);
    });
    return reaction.promise;
  });

  OwnPromiseCapability = function () {
    var promise = new Internal();
    var state = getInternalPromiseState(promise);
    this.promise = promise;
    this.resolve = bind(internalResolve, state);
    this.reject = bind(internalReject, state);
  };

  newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
    return C === PromiseConstructor || C === PromiseWrapper
      ? new OwnPromiseCapability(C)
      : newGenericPromiseCapability(C);
  };

  if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
    nativeThen = NativePromisePrototype.then;

    if (!NATIVE_PROMISE_SUBCLASSING) {
      // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
      defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
        var that = this;
        return new PromiseConstructor(function (resolve, reject) {
          call(nativeThen, that, resolve, reject);
        }).then(onFulfilled, onRejected);
      // https://github.com/zloirock/core-js/issues/640
      }, { unsafe: true });
    }

    // make `.constructor === Promise` work for native promise-based APIs
    try {
      delete NativePromisePrototype.constructor;
    } catch (error) { /* empty */ }

    // make `instanceof Promise` work for native promise-based APIs
    if (setPrototypeOf) {
      setPrototypeOf(NativePromisePrototype, PromisePrototype);
    }
  }
}

// `Promise` constructor
// https://tc39.es/ecma262/#sec-promise-executor
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
  Promise: PromiseConstructor
});

PromiseWrapper = path.Promise;

setToStringTag(PromiseConstructor, PROMISE, false, true);
setSpecies(PROMISE);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.finally.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.finally.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/species-constructor.js");
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-resolve.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");

var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;

// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
var NON_GENERIC = !!NativePromiseConstructor && fails(function () {
  // eslint-disable-next-line unicorn/no-thenable -- required for testing
  NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
});

// `Promise.prototype.finally` method
// https://tc39.es/ecma262/#sec-promise.prototype.finally
$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
  'finally': function (onFinally) {
    var C = speciesConstructor(this, getBuiltIn('Promise'));
    var isFunction = isCallable(onFinally);
    return this.then(
      isFunction ? function (x) {
        return promiseResolve(C, onFinally()).then(function () { return x; });
      } : onFinally,
      isFunction ? function (e) {
        return promiseResolve(C, onFinally()).then(function () { throw e; });
      } : onFinally
    );
  }
});

// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
  var method = getBuiltIn('Promise').prototype['finally'];
  if (NativePromisePrototype['finally'] !== method) {
    defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true });
  }
}


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js ***!
  \**************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove this module from `core-js@4` since it's split to modules listed below
__webpack_require__(/*! ../modules/es.promise.constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.constructor.js");
__webpack_require__(/*! ../modules/es.promise.all */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.all.js");
__webpack_require__(/*! ../modules/es.promise.catch */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.catch.js");
__webpack_require__(/*! ../modules/es.promise.race */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.race.js");
__webpack_require__(/*! ../modules/es.promise.reject */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.reject.js");
__webpack_require__(/*! ../modules/es.promise.resolve */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.resolve.js");


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.race.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.race.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js");
var perform = __webpack_require__(/*! ../internals/perform */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/perform.js");
var iterate = __webpack_require__(/*! ../internals/iterate */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterate.js");
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-statics-incorrect-iteration.js");

// `Promise.race` method
// https://tc39.es/ecma262/#sec-promise.race
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
  race: function race(iterable) {
    var C = this;
    var capability = newPromiseCapabilityModule.f(C);
    var reject = capability.reject;
    var result = perform(function () {
      var $promiseResolve = aCallable(C.resolve);
      iterate(iterable, function (promise) {
        call($promiseResolve, C, promise).then(capability.resolve, reject);
      });
    });
    if (result.error) reject(result.value);
    return capability.promise;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.reject.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.reject.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/new-promise-capability.js");
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);

// `Promise.reject` method
// https://tc39.es/ecma262/#sec-promise.reject
$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
  reject: function reject(r) {
    var capability = newPromiseCapabilityModule.f(this);
    var capabilityReject = capability.reject;
    capabilityReject(r);
    return capability.promise;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.resolve.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.resolve.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-native-constructor.js");
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/promise-resolve.js");

var PromiseConstructorWrapper = getBuiltIn('Promise');
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;

// `Promise.resolve` method
// https://tc39.es/ecma262/#sec-promise.resolve
$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
  resolve: function resolve(x) {
    return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var isForced = __webpack_require__(/*! ../internals/is-forced */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-forced.js");
var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/inherit-if-required.js");
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");
var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js");
var getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-names.js").f);
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js");
var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-regexp.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-get-flags.js");
var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-sticky-helpers.js");
var proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/proxy-accessor.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var enforceInternalState = (__webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js").enforce);
var setSpecies = __webpack_require__(/*! ../internals/set-species */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-species.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var UNSUPPORTED_DOT_ALL = __webpack_require__(/*! ../internals/regexp-unsupported-dot-all */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-dot-all.js");
var UNSUPPORTED_NCG = __webpack_require__(/*! ../internals/regexp-unsupported-ncg */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-unsupported-ncg.js");

var MATCH = wellKnownSymbol('match');
var NativeRegExp = globalThis.RegExp;
var RegExpPrototype = NativeRegExp.prototype;
var SyntaxError = globalThis.SyntaxError;
var exec = uncurryThis(RegExpPrototype.exec);
var charAt = uncurryThis(''.charAt);
var replace = uncurryThis(''.replace);
var stringIndexOf = uncurryThis(''.indexOf);
var stringSlice = uncurryThis(''.slice);
// TODO: Use only proper RegExpIdentifierName
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
var re1 = /a/g;
var re2 = /a/g;

// "new" should create a new object, old webkit bug
var CORRECT_NEW = new NativeRegExp(re1) !== re1;

var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;

var BASE_FORCED = DESCRIPTORS &&
  (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
    re2[MATCH] = false;
    // RegExp constructor can alter flags and IsRegExp works correct with @@match
    // eslint-disable-next-line sonarjs/inconsistent-function-call -- required for testing
    return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
  }));

var handleDotAll = function (string) {
  var length = string.length;
  var index = 0;
  var result = '';
  var brackets = false;
  var chr;
  for (; index < length; index++) {
    chr = charAt(string, index);
    if (chr === '\\') {
      result += chr + charAt(string, ++index);
      continue;
    }
    if (!brackets && chr === '.') {
      result += '[\\s\\S]';
    } else {
      if (chr === '[') {
        brackets = true;
      } else if (chr === ']') {
        brackets = false;
      } result += chr;
    }
  } return result;
};

var handleNCG = function (string) {
  var length = string.length;
  var index = 0;
  var result = '';
  var named = [];
  var names = create(null);
  var brackets = false;
  var ncg = false;
  var groupid = 0;
  var groupname = '';
  var chr;
  for (; index < length; index++) {
    chr = charAt(string, index);
    if (chr === '\\') {
      chr += charAt(string, ++index);
      // use `\x5c` for escaped backslash to avoid corruption by `\k<name>` to `\N` replacement below
      if (!ncg && charAt(chr, 1) === '\\') {
        result += '\\x5c';
        continue;
      }
    } else if (chr === ']') {
      brackets = false;
    } else if (!brackets) switch (true) {
      case chr === '[':
        brackets = true;
        break;
      case chr === '(':
        result += chr;
        if (exec(IS_NCG, stringSlice(string, index + 1))) {
          index += 2;
          ncg = true;
          groupid++;
        } else if (charAt(string, index + 1) !== '?') {
          groupid++;
        }
        continue;
      case chr === '>' && ncg:
        if (groupname === '' || hasOwn(names, groupname)) {
          throw new SyntaxError('Invalid capture group name');
        }
        names[groupname] = true;
        named[named.length] = [groupname, groupid];
        ncg = false;
        groupname = '';
        continue;
    }
    if (ncg) groupname += chr;
    else result += chr;
  }
  // convert `\k<name>` backreferences to numbered backreferences
  for (var ni = 0; ni < named.length; ni++) {
    var backref = '\\k<' + named[ni][0] + '>';
    var numRef = '\\' + named[ni][1];
    while (stringIndexOf(result, backref) > -1) {
      result = replace(result, backref, numRef);
    }
  } return [result, named];
};

// `RegExp` constructor
// https://tc39.es/ecma262/#sec-regexp-constructor
if (isForced('RegExp', BASE_FORCED)) {
  var RegExpWrapper = function RegExp(pattern, flags) {
    var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);
    var patternIsRegExp = isRegExp(pattern);
    var flagsAreUndefined = flags === undefined;
    var groups = [];
    var rawPattern = pattern;
    var rawFlags, dotAll, sticky, handled, result, state;

    if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {
      return pattern;
    }

    if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {
      pattern = pattern.source;
      if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
    }

    pattern = pattern === undefined ? '' : toString(pattern);
    flags = flags === undefined ? '' : toString(flags);
    rawPattern = pattern;

    if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {
      dotAll = !!flags && stringIndexOf(flags, 's') > -1;
      if (dotAll) flags = replace(flags, /s/g, '');
    }

    rawFlags = flags;

    if (MISSED_STICKY && 'sticky' in re1) {
      sticky = !!flags && stringIndexOf(flags, 'y') > -1;
      if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');
    }

    if (UNSUPPORTED_NCG) {
      handled = handleNCG(pattern);
      pattern = handled[0];
      groups = handled[1];
    }

    result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);

    if (dotAll || sticky || groups.length) {
      state = enforceInternalState(result);
      if (dotAll) {
        state.dotAll = true;
        state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);
      }
      if (sticky) state.sticky = true;
      if (groups.length) state.groups = groups;
    }

    if (pattern !== rawPattern) try {
      // fails in old engines, but we have no alternatives for unsupported regex syntax
      createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);
    } catch (error) { /* empty */ }

    return result;
  };

  for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {
    proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);
  }

  RegExpPrototype.constructor = RegExpWrapper;
  RegExpWrapper.prototype = RegExpPrototype;
  defineBuiltIn(globalThis, 'RegExp', RegExpWrapper, { constructor: true });
}

// https://tc39.es/ecma262/#sec-get-regexp-@@species
setSpecies('RegExp');


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var exec = __webpack_require__(/*! ../internals/regexp-exec */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec.js");

// `RegExp.prototype.exec` method
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
  exec: exec
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-name.js").PROPER);
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-get-flags.js");

var TO_STRING = 'toString';
var RegExpPrototype = RegExp.prototype;
var nativeToString = RegExpPrototype[TO_STRING];

var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
// FF44- RegExp#toString has a wrong name
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;

// `RegExp.prototype.toString` method
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
if (NOT_GENERIC || INCORRECT_NAME) {
  defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
    var R = anObject(this);
    var pattern = $toString(R.source);
    var flags = $toString(getRegExpFlags(R));
    return '/' + pattern + '/' + flags;
  }, { unsafe: true });
}


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-clause.js");
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/not-a-regexp.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-is-regexp-logic.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");

var slice = uncurryThis(''.slice);
var min = Math.min;

var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
// https://github.com/zloirock/core-js/pull/702
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
  var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
  return descriptor && !descriptor.writable;
}();

// `String.prototype.endsWith` method
// https://tc39.es/ecma262/#sec-string.prototype.endswith
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
  endsWith: function endsWith(searchString /* , endPosition = @length */) {
    var that = toString(requireObjectCoercible(this));
    notARegExp(searchString);
    var search = toString(searchString);
    var endPosition = arguments.length > 1 ? arguments[1] : undefined;
    var len = that.length;
    var end = endPosition === undefined ? len : min(toLength(endPosition), len);
    return slice(that, end - search.length, end) === search;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.from-code-point.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.from-code-point.js ***!
  \*****************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-absolute-index.js");

var $RangeError = RangeError;
var fromCharCode = String.fromCharCode;
// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing
var $fromCodePoint = String.fromCodePoint;
var join = uncurryThis([].join);

// length should be 1, old FF problem
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;

// `String.fromCodePoint` method
// https://tc39.es/ecma262/#sec-string.fromcodepoint
$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {
  // eslint-disable-next-line no-unused-vars -- required for `.length`
  fromCodePoint: function fromCodePoint(x) {
    var elements = [];
    var length = arguments.length;
    var i = 0;
    var code;
    while (length > i) {
      code = +arguments[i];
      if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');
      elements[i++] = code < 0x10000
        ? fromCharCode(code)
        : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);
    } return join(elements, '');
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/not-a-regexp.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-is-regexp-logic.js");

var stringIndexOf = uncurryThis(''.indexOf);

// `String.prototype.includes` method
// https://tc39.es/ecma262/#sec-string.prototype.includes
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
  includes: function includes(searchString /* , position = 0 */) {
    return !!~stringIndexOf(
      toString(requireObjectCoercible(this)),
      toString(notARegExp(searchString)),
      arguments.length > 1 ? arguments[1] : undefined
    );
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.iterator.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.iterator.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var charAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-multibyte.js").charAt);
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js");
var defineIterator = __webpack_require__(/*! ../internals/iterator-define */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-define.js");
var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-iter-result-object.js");

var STRING_ITERATOR = 'String Iterator';
var setInternalState = InternalStateModule.set;
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);

// `String.prototype[@@iterator]` method
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
defineIterator(String, 'String', function (iterated) {
  setInternalState(this, {
    type: STRING_ITERATOR,
    string: toString(iterated),
    index: 0
  });
// `%StringIteratorPrototype%.next` method
// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
}, function next() {
  var state = getInternalState(this);
  var string = state.string;
  var index = state.index;
  var point;
  if (index >= string.length) return createIterResultObject(undefined, true);
  point = charAt(string, index);
  state.index += point.length;
  return createIterResultObject(point, false);
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js");
var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/advance-string-index.js");
var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-get-flags.js");
var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec-abstract.js");

var stringIndexOf = uncurryThis(''.indexOf);

// @@match logic
fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {
  return [
    // `String.prototype.match` method
    // https://tc39.es/ecma262/#sec-string.prototype.match
    function match(regexp) {
      var O = requireObjectCoercible(this);
      var matcher = isObject(regexp) ? getMethod(regexp, MATCH) : undefined;
      return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));
    },
    // `RegExp.prototype[@@match]` method
    // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
    function (string) {
      var rx = anObject(this);
      var S = toString(string);
      var res = maybeCallNative(nativeMatch, rx, S);

      if (res.done) return res.value;

      var flags = toString(getRegExpFlags(rx));

      if (!~stringIndexOf(flags, 'g')) return regExpExec(rx, S);

      var fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
      rx.lastIndex = 0;
      var A = [];
      var n = 0;
      var result;
      while ((result = regExpExec(rx, S)) !== null) {
        var matchStr = toString(result[0]);
        A[n] = matchStr;
        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
        n++;
      }
      return n === 0 ? null : A;
    }
  ];
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js"
/*!*********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js ***!
  \*********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-apply.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-integer-or-infinity.js");
var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/advance-string-index.js");
var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js");
var getSubstitution = __webpack_require__(/*! ../internals/get-substitution */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-substitution.js");
var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-get-flags.js");
var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec-abstract.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var REPLACE = wellKnownSymbol('replace');
var max = Math.max;
var min = Math.min;
var concat = uncurryThis([].concat);
var push = uncurryThis([].push);
var stringIndexOf = uncurryThis(''.indexOf);
var stringSlice = uncurryThis(''.slice);

var maybeToString = function (it) {
  return it === undefined ? it : String(it);
};

// IE <= 11 replaces $0 with the whole match, as if it was $&
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
var REPLACE_KEEPS_$0 = (function () {
  // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
  return 'a'.replace(/./, '$0') === '$0';
})();

// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
  if (/./[REPLACE]) {
    return /./[REPLACE]('a', '$0') === '';
  }
  return false;
})();

var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
  var re = /./;
  re.exec = function () {
    var result = [];
    result.groups = { a: '7' };
    return result;
  };
  // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
  return ''.replace(re, '$<a>') !== '7';
});

// @@replace logic
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
  var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';

  return [
    // `String.prototype.replace` method
    // https://tc39.es/ecma262/#sec-string.prototype.replace
    function replace(searchValue, replaceValue) {
      var O = requireObjectCoercible(this);
      var replacer = isObject(searchValue) ? getMethod(searchValue, REPLACE) : undefined;
      return replacer
        ? call(replacer, searchValue, O, replaceValue)
        : call(nativeReplace, toString(O), searchValue, replaceValue);
    },
    // `RegExp.prototype[@@replace]` method
    // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
    function (string, replaceValue) {
      var rx = anObject(this);
      var S = toString(string);

      var functionalReplace = isCallable(replaceValue);
      if (!functionalReplace) replaceValue = toString(replaceValue);
      var flags = toString(getRegExpFlags(rx));

      if (
        typeof replaceValue == 'string' &&
        !~stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) &&
        !~stringIndexOf(replaceValue, '$<') &&
        !~stringIndexOf(flags, 'y')
      ) {
        var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
        if (res.done) return res.value;
      }

      var global = !!~stringIndexOf(flags, 'g');
      var fullUnicode;
      if (global) {
        fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
        rx.lastIndex = 0;
      }

      var results = [];
      var result;
      while (true) {
        result = regExpExec(rx, S);
        if (result === null) break;

        push(results, result);
        if (!global) break;

        var matchStr = toString(result[0]);
        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
      }

      var accumulatedResult = '';
      var nextSourcePosition = 0;
      for (var i = 0; i < results.length; i++) {
        result = results[i];

        var matched = toString(result[0]);
        var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
        var captures = [];
        var replacement;
        // NOTE: This is equivalent to
        //   captures = result.slice(1).map(maybeToString)
        // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
        // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
        // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
        for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
        var namedCaptures = result.groups;
        if (functionalReplace) {
          var replacerArgs = concat([matched], captures, position, S);
          if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
          replacement = toString(apply(replaceValue, undefined, replacerArgs));
        } else {
          replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
        }
        if (position >= nextSourcePosition) {
          accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
          nextSourcePosition = position + matched.length;
        }
      }

      return accumulatedResult + stringSlice(S, nextSourcePosition);
    }
  ];
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js ***!
  \********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var sameValue = __webpack_require__(/*! ../internals/same-value */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/same-value.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js");
var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec-abstract.js");

// @@search logic
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
  return [
    // `String.prototype.search` method
    // https://tc39.es/ecma262/#sec-string.prototype.search
    function search(regexp) {
      var O = requireObjectCoercible(this);
      var searcher = isObject(regexp) ? getMethod(regexp, SEARCH) : undefined;
      return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
    },
    // `RegExp.prototype[@@search]` method
    // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
    function (string) {
      var rx = anObject(this);
      var S = toString(string);
      var res = maybeCallNative(nativeSearch, rx, S);

      if (res.done) return res.value;

      var previousLastIndex = rx.lastIndex;
      if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
      var result = regExpExec(rx, S);
      if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
      return result === null ? -1 : result.index;
    }
  ];
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.split.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.split.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/species-constructor.js");
var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/advance-string-index.js");
var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var getMethod = __webpack_require__(/*! ../internals/get-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-method.js");
var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-get-flags */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-get-flags.js");
var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-exec-abstract.js");
var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/regexp-sticky-helpers.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
var MAX_UINT32 = 0xFFFFFFFF;
var min = Math.min;
var push = uncurryThis([].push);
var stringSlice = uncurryThis(''.slice);
var stringIndexOf = uncurryThis(''.indexOf);

// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
  // eslint-disable-next-line regexp/no-empty-group -- required for testing
  var re = /(?:)/;
  var originalExec = re.exec;
  re.exec = function () { return originalExec.apply(this, arguments); };
  var result = 'ab'.split(re);
  return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
});

var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' ||
  // eslint-disable-next-line regexp/no-empty-group -- required for testing
  'test'.split(/(?:)/, -1).length !== 4 ||
  'ab'.split(/(?:ab)*/).length !== 2 ||
  '.'.split(/(.?)(.?)/).length !== 4 ||
  // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
  '.'.split(/()()/).length > 1 ||
  ''.split(/.?/).length;

// @@split logic
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
  var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) {
    return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
  } : nativeSplit;

  return [
    // `String.prototype.split` method
    // https://tc39.es/ecma262/#sec-string.prototype.split
    function split(separator, limit) {
      var O = requireObjectCoercible(this);
      var splitter = isObject(separator) ? getMethod(separator, SPLIT) : undefined;
      return splitter
        ? call(splitter, separator, O, limit)
        : call(internalSplit, toString(O), separator, limit);
    },
    // `RegExp.prototype[@@split]` method
    // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
    //
    // NOTE: This cannot be properly polyfilled in engines that don't support
    // the 'y' flag.
    function (string, limit) {
      var rx = anObject(this);
      var S = toString(string);

      if (!BUGGY) {
        var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
        if (res.done) return res.value;
      }

      var C = speciesConstructor(rx, RegExp);
      var flags = toString(getRegExpFlags(rx));
      var unicodeMatching = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
      if (UNSUPPORTED_Y) {
        if (!~stringIndexOf(flags, 'g')) flags += 'g';
      } else if (!~stringIndexOf(flags, 'y')) flags += 'y';
      // ^(? + rx + ) is needed, in combination with some S slicing, to
      // simulate the 'y' flag.
      var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
      var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
      if (lim === 0) return [];
      if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : [];
      var p = 0;
      var q = 0;
      var A = [];
      while (q < S.length) {
        splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
        var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
        var e;
        if (
          z === null ||
          (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
        ) {
          q = advanceStringIndex(S, q, unicodeMatching);
        } else {
          push(A, stringSlice(S, p, q));
          if (A.length === lim) return A;
          for (var i = 1; i <= z.length - 1; i++) {
            push(A, z[i]);
            if (A.length === lim) return A;
          }
          q = p = e;
        }
      }
      push(A, stringSlice(S, p));
      return A;
    }
  ];
}, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-clause.js");
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
var toLength = __webpack_require__(/*! ../internals/to-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-length.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/not-a-regexp.js");
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/require-object-coercible.js");
var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/correct-is-regexp-logic.js");
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-pure.js");

var stringSlice = uncurryThis(''.slice);
var min = Math.min;

var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
// https://github.com/zloirock/core-js/pull/702
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
  var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
  return descriptor && !descriptor.writable;
}();

// `String.prototype.startsWith` method
// https://tc39.es/ecma262/#sec-string.prototype.startswith
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
  startsWith: function startsWith(searchString /* , position = 0 */) {
    var that = toString(requireObjectCoercible(this));
    notARegExp(searchString);
    var search = toString(searchString);
    var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
    return stringSlice(that, index, index + search.length) === search;
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-end.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-end.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove this line from `core-js@4`
__webpack_require__(/*! ../modules/es.string.trim-right */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-right.js");
var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var trimEnd = __webpack_require__(/*! ../internals/string-trim-end */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-end.js");

// `String.prototype.trimEnd` method
// https://tc39.es/ecma262/#sec-string.prototype.trimend
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimEnd !== trimEnd }, {
  trimEnd: trimEnd
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-left.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-left.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var trimStart = __webpack_require__(/*! ../internals/string-trim-start */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-start.js");

// `String.prototype.trimLeft` method
// https://tc39.es/ecma262/#sec-string.prototype.trimleft
// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe
$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimLeft !== trimStart }, {
  trimLeft: trimStart
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-right.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-right.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var trimEnd = __webpack_require__(/*! ../internals/string-trim-end */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-end.js");

// `String.prototype.trimRight` method
// https://tc39.es/ecma262/#sec-string.prototype.trimend
// eslint-disable-next-line es/no-string-prototype-trimleft-trimright -- safe
$({ target: 'String', proto: true, name: 'trimEnd', forced: ''.trimRight !== trimEnd }, {
  trimRight: trimEnd
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-start.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-start.js ***!
  \************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove this line from `core-js@4`
__webpack_require__(/*! ../modules/es.string.trim-left */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim-left.js");
var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var trimStart = __webpack_require__(/*! ../internals/string-trim-start */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-start.js");

// `String.prototype.trimStart` method
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe
$({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart !== trimStart }, {
  trimStart: trimStart
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js ***!
  \******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var $trim = (__webpack_require__(/*! ../internals/string-trim */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim.js").trim);
var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-trim-forced.js");

// `String.prototype.trim` method
// https://tc39.es/ecma262/#sec-string.prototype.trim
$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
  trim: function trim() {
    return $trim(this);
  }
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
// `Symbol.prototype.description` getter
// https://tc39.es/ecma262/#sec-symbol.prototype.description

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-is-prototype-of.js");
var toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in-accessor.js");
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/copy-constructor-properties.js");

var NativeSymbol = globalThis.Symbol;
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;

if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
  // Safari 12 bug
  NativeSymbol().description !== undefined
)) {
  var EmptyStringDescriptionStore = {};
  // wrap Symbol constructor for correct work with undefined description
  var SymbolWrapper = function Symbol() {
    var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
    var result = isPrototypeOf(SymbolPrototype, this)
      // eslint-disable-next-line sonarjs/inconsistent-function-call -- ok
      ? new NativeSymbol(description)
      // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
      : description === undefined ? NativeSymbol() : NativeSymbol(description);
    if (description === '') EmptyStringDescriptionStore[result] = true;
    return result;
  };

  copyConstructorProperties(SymbolWrapper, NativeSymbol);
  // wrap Symbol.for for correct handling of empty string descriptions
  var nativeFor = SymbolWrapper['for'];
  SymbolWrapper['for'] = { 'for': function (key) {
    var stringKey = toString(key);
    var symbol = call(nativeFor, this, stringKey);
    if (stringKey === '') EmptyStringDescriptionStore[symbol] = true;
    return symbol;
  } }['for'];
  SymbolWrapper.prototype = SymbolPrototype;
  SymbolPrototype.constructor = SymbolWrapper;

  var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
  var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
  var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
  var regexp = /^Symbol\((.*)\)[^)]+$/;
  var replace = uncurryThis(''.replace);
  var stringSlice = uncurryThis(''.slice);

  defineBuiltInAccessor(SymbolPrototype, 'description', {
    configurable: true,
    get: function description() {
      var symbol = thisSymbolValue(this);
      if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
      var string = symbolDescriptiveString(symbol);
      var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
      return desc === '' ? undefined : desc;
    }
  });

  $({ global: true, constructor: true, forced: true }, {
    Symbol: SymbolWrapper
  });
}


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.fill.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.fill.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-view-core.js");
var $fill = __webpack_require__(/*! ../internals/array-fill */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-fill.js");
var toBigInt = __webpack_require__(/*! ../internals/to-big-int */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-big-int.js");
var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

var aTypedArray = ArrayBufferViewCore.aTypedArray;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
var slice = uncurryThis(''.slice);

// V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18
var CONVERSION_BUG = fails(function () {
  var count = 0;
  // eslint-disable-next-line es/no-typed-arrays -- safe
  new Int8Array(2).fill({ valueOf: function () { return count++; } });
  return count !== 1;
});

// `%TypedArray%.prototype.fill` method
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill
exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
  var length = arguments.length;
  aTypedArray(this);
  var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value;
  return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);
}, CONVERSION_BUG);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.set.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.set.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-view-core.js");
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/length-of-array-like.js");
var toOffset = __webpack_require__(/*! ../internals/to-offset */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-offset.js");
var toIndexedObject = __webpack_require__(/*! ../internals/to-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-object.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");

var RangeError = globalThis.RangeError;
var Int8Array = globalThis.Int8Array;
var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
var $set = Int8ArrayPrototype && Int8ArrayPrototype.set;
var aTypedArray = ArrayBufferViewCore.aTypedArray;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;

var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () {
  // eslint-disable-next-line es/no-typed-arrays -- required for testing
  var array = new Uint8ClampedArray(2);
  call($set, array, { length: 1, 0: 3 }, 1);
  return array[1] !== 3;
});

// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other
var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {
  var array = new Int8Array(2);
  array.set(1);
  array.set('2', 1);
  return array[0] !== 0 || array[1] !== 2;
});

// `%TypedArray%.prototype.set` method
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set
exportTypedArrayMethod('set', function set(arrayLike /* , offset */) {
  aTypedArray(this);
  var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
  var src = toIndexedObject(arrayLike);
  if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);
  var length = this.length;
  var len = lengthOfArrayLike(src);
  var index = 0;
  if (len + offset > length) throw new RangeError('Wrong length');
  while (index < len) this[offset + index] = src[index++];
}, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.sort.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.sort.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this-clause.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/a-callable.js");
var internalSort = __webpack_require__(/*! ../internals/array-sort */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-sort.js");
var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-view-core.js");
var FF = __webpack_require__(/*! ../internals/environment-ff-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-ff-version.js");
var IE_OR_EDGE = __webpack_require__(/*! ../internals/environment-is-ie-or-edge */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-is-ie-or-edge.js");
var V8 = __webpack_require__(/*! ../internals/environment-v8-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-v8-version.js");
var WEBKIT = __webpack_require__(/*! ../internals/environment-webkit-version */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/environment-webkit-version.js");

var aTypedArray = ArrayBufferViewCore.aTypedArray;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
var Uint16Array = globalThis.Uint16Array;
var nativeSort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);

// WebKit
var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !(fails(function () {
  nativeSort(new Uint16Array(2), null);
}) && fails(function () {
  nativeSort(new Uint16Array(2), {});
}));

var STABLE_SORT = !!nativeSort && !fails(function () {
  // feature detection can be too slow, so check engines versions
  if (V8) return V8 < 74;
  if (FF) return FF < 67;
  if (IE_OR_EDGE) return true;
  if (WEBKIT) return WEBKIT < 602;

  var array = new Uint16Array(516);
  var expected = Array(516);
  var index, mod;

  for (index = 0; index < 516; index++) {
    mod = index % 4;
    array[index] = 515 - index;
    expected[index] = index - 2 * mod + 3;
  }

  nativeSort(array, function (a, b) {
    return (a / 4 | 0) - (b / 4 | 0);
  });

  for (index = 0; index < 516; index++) {
    if (array[index] !== expected[index]) return true;
  }
});

var getSortCompare = function (comparefn) {
  return function (x, y) {
    if (comparefn !== undefined) return +comparefn(x, y) || 0;
    // eslint-disable-next-line no-self-compare -- NaN check
    if (y !== y) return x !== x ? 0 : -1;
    // eslint-disable-next-line no-self-compare -- NaN check
    if (x !== x) return 1;
    if (x === 0 && y === 0) return 1 / x > 0 ? (1 / y > 0 ? 0 : 1) : (1 / y > 0 ? -1 : 0);
    return x > y ? 1 : x < y ? -1 : 0;
  };
};

// `%TypedArray%.prototype.sort` method
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
exportTypedArrayMethod('sort', function sort(comparefn) {
  if (comparefn !== undefined) aCallable(comparefn);
  if (STABLE_SORT) return nativeSort(this, comparefn);

  return internalSort(aTypedArray(this), getSortCompare(comparefn));
}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.to-locale-string.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.typed-array.to-locale-string.js ***!
  \***********************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var apply = __webpack_require__(/*! ../internals/function-apply */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-apply.js");
var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-buffer-view-core.js");
var fails = __webpack_require__(/*! ../internals/fails */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/fails.js");
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-slice.js");

var Int8Array = globalThis.Int8Array;
var aTypedArray = ArrayBufferViewCore.aTypedArray;
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
var $toLocaleString = [].toLocaleString;

// iOS Safari 6.x fails here
var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {
  $toLocaleString.call(new Int8Array(1));
});

var FORCED = fails(function () {
  return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();
}) || !fails(function () {
  Int8Array.prototype.toLocaleString.call([1, 2]);
});

// `%TypedArray%.prototype.toLocaleString` method
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring
exportTypedArrayMethod('toLocaleString', function toLocaleString() {
  return apply(
    $toLocaleString,
    TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this),
    arraySlice(arguments)
  );
}, FORCED);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.global-this.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.global-this.js ***!
  \**********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove from `core-js@4`
__webpack_require__(/*! ../modules/es.global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.global-this.js");


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js"
/*!******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.promise.all-settled.js ***!
  \******************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove from `core-js@4`
__webpack_require__(/*! ../modules/es.promise.all-settled.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.all-settled.js");


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-iterables.js");
var DOMTokenListPrototype = __webpack_require__(/*! ../internals/dom-token-list-prototype */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-token-list-prototype.js");
var forEach = __webpack_require__(/*! ../internals/array-for-each */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-for-each.js");
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");

var handlePrototype = function (CollectionPrototype) {
  // some Chrome versions have non-configurable methods on DOMTokenList
  if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
    createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
  } catch (error) {
    CollectionPrototype.forEach = forEach;
  }
};

for (var COLLECTION_NAME in DOMIterables) {
  if (DOMIterables[COLLECTION_NAME]) {
    handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype);
  }
}

handlePrototype(DOMTokenListPrototype);


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js ***!
  \********************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-iterables.js");
var DOMTokenListPrototype = __webpack_require__(/*! ../internals/dom-token-list-prototype */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/dom-token-list-prototype.js");
var ArrayIteratorMethods = __webpack_require__(/*! ../modules/es.array.iterator */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-non-enumerable-property.js");
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");

var ITERATOR = wellKnownSymbol('iterator');
var ArrayValues = ArrayIteratorMethods.values;

var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
  if (CollectionPrototype) {
    // some Chrome versions have non-configurable methods on DOMTokenList
    if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
      createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
    } catch (error) {
      CollectionPrototype[ITERATOR] = ArrayValues;
    }
    setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
    if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
      // some Chrome versions have non-configurable methods on DOMTokenList
      if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
        createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
      } catch (error) {
        CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
      }
    }
  }
};

for (var COLLECTION_NAME in DOMIterables) {
  handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME);
}

handlePrototype(DOMTokenListPrototype, 'DOMTokenList');


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.constructor.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.constructor.js ***!
  \*************************************************************************************************************/
(module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
__webpack_require__(/*! ../modules/es.array.iterator */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
__webpack_require__(/*! ../modules/es.string.from-code-point */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.from-code-point.js");
var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var safeGetBuiltIn = __webpack_require__(/*! ../internals/safe-get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/safe-get-built-in.js");
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-built-in.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/url-constructor-detection.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in-accessor.js");
var defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-ins.js");
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js");
var createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/iterator-create-constructor.js");
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js");
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-instance.js");
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-callable.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var classof = __webpack_require__(/*! ../internals/classof */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/classof.js");
var anObject = __webpack_require__(/*! ../internals/an-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-object.js");
var isObject = __webpack_require__(/*! ../internals/is-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/is-object.js");
var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var create = __webpack_require__(/*! ../internals/object-create */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-create.js");
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-property-descriptor.js");
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator.js");
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/get-iterator-method.js");
var createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/create-iter-result-object.js");
var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/validate-arguments-length.js");
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/well-known-symbol.js");
var arraySort = __webpack_require__(/*! ../internals/array-sort */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-sort.js");

var ITERATOR = wellKnownSymbol('iterator');
var URL_SEARCH_PARAMS = 'URLSearchParams';
var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
var setInternalState = InternalStateModule.set;
var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);
var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);

var nativeFetch = safeGetBuiltIn('fetch');
var NativeRequest = safeGetBuiltIn('Request');
var Headers = safeGetBuiltIn('Headers');
var RequestPrototype = NativeRequest && NativeRequest.prototype;
var HeadersPrototype = Headers && Headers.prototype;
var TypeError = globalThis.TypeError;
var encodeURIComponent = globalThis.encodeURIComponent;
var fromCharCode = String.fromCharCode;
var fromCodePoint = getBuiltIn('String', 'fromCodePoint');
var $parseInt = parseInt;
var charAt = uncurryThis(''.charAt);
var join = uncurryThis([].join);
var push = uncurryThis([].push);
var replace = uncurryThis(''.replace);
var shift = uncurryThis([].shift);
var splice = uncurryThis([].splice);
var split = uncurryThis(''.split);
var stringSlice = uncurryThis(''.slice);
var exec = uncurryThis(/./.exec);

var plus = /\+/g;
var FALLBACK_REPLACER = '\uFFFD';
var VALID_HEX = /^[0-9a-f]+$/i;

var parseHexOctet = function (string, start) {
  var substr = stringSlice(string, start, start + 2);
  if (!exec(VALID_HEX, substr)) return NaN;

  return $parseInt(substr, 16);
};

var getLeadingOnes = function (octet) {
  var count = 0;
  for (var mask = 0x80; mask > 0 && (octet & mask) !== 0; mask >>= 1) {
    count++;
  }
  return count;
};

var utf8Decode = function (octets) {
  var codePoint = null;
  var length = octets.length;

  switch (length) {
    case 1:
      codePoint = octets[0];
      break;
    case 2:
      codePoint = (octets[0] & 0x1F) << 6 | (octets[1] & 0x3F);
      break;
    case 3:
      codePoint = (octets[0] & 0x0F) << 12 | (octets[1] & 0x3F) << 6 | (octets[2] & 0x3F);
      break;
    case 4:
      codePoint = (octets[0] & 0x07) << 18 | (octets[1] & 0x3F) << 12 | (octets[2] & 0x3F) << 6 | (octets[3] & 0x3F);
      break;
  }

  // reject surrogates, overlong encodings, and out-of-range codepoints
  if (codePoint === null
    || codePoint > 0x10FFFF
    || (codePoint >= 0xD800 && codePoint <= 0xDFFF)
    || codePoint < (length > 3 ? 0x10000 : length > 2 ? 0x800 : length > 1 ? 0x80 : 0)
  ) return null;

  return codePoint;
};

/* eslint-disable max-statements, max-depth -- ok */
var decode = function (input) {
  input = replace(input, plus, ' ');
  var length = input.length;
  var result = '';
  var i = 0;

  while (i < length) {
    var decodedChar = charAt(input, i);

    if (decodedChar === '%') {
      if (charAt(input, i + 1) === '%' || i + 3 > length) {
        result += '%';
        i++;
        continue;
      }

      var octet = parseHexOctet(input, i + 1);

      // eslint-disable-next-line no-self-compare -- NaN check
      if (octet !== octet) {
        result += decodedChar;
        i++;
        continue;
      }

      i += 2;
      var byteSequenceLength = getLeadingOnes(octet);

      if (byteSequenceLength === 0) {
        decodedChar = fromCharCode(octet);
      } else {
        if (byteSequenceLength === 1 || byteSequenceLength > 4) {
          result += FALLBACK_REPLACER;
          i++;
          continue;
        }

        var octets = [octet];
        var sequenceIndex = 1;

        while (sequenceIndex < byteSequenceLength) {
          i++;
          if (i + 3 > length || charAt(input, i) !== '%') break;

          var nextByte = parseHexOctet(input, i + 1);

          // eslint-disable-next-line no-self-compare -- NaN check
          if (nextByte !== nextByte || nextByte > 191 || nextByte < 128) break;

          // https://encoding.spec.whatwg.org/#utf-8-decoder - position-specific byte ranges
          if (sequenceIndex === 1) {
            if (octet === 0xE0 && nextByte < 0xA0) break;
            if (octet === 0xED && nextByte > 0x9F) break;
            if (octet === 0xF0 && nextByte < 0x90) break;
            if (octet === 0xF4 && nextByte > 0x8F) break;
          }

          push(octets, nextByte);
          i += 2;
          sequenceIndex++;
        }

        if (octets.length !== byteSequenceLength) {
          result += FALLBACK_REPLACER;
          continue;
        }

        var codePoint = utf8Decode(octets);
        if (codePoint === null) {
          for (var replacement = 0; replacement < byteSequenceLength; replacement++) result += FALLBACK_REPLACER;
          i++;
          continue;
        } else {
          decodedChar = fromCodePoint(codePoint);
        }
      }
    }

    result += decodedChar;
    i++;
  }

  return result;
};
/* eslint-enable max-statements, max-depth -- ok */

var find = /[!'()~]|%20/g;

var replacements = {
  '!': '%21',
  "'": '%27',
  '(': '%28',
  ')': '%29',
  '~': '%7E',
  '%20': '+'
};

var replacer = function (match) {
  return replacements[match];
};

var serialize = function (it) {
  return replace(encodeURIComponent(it), find, replacer);
};

var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
  setInternalState(this, {
    type: URL_SEARCH_PARAMS_ITERATOR,
    target: getInternalParamsState(params).entries,
    index: 0,
    kind: kind
  });
}, URL_SEARCH_PARAMS, function next() {
  var state = getInternalIteratorState(this);
  var target = state.target;
  var index = state.index++;
  if (!target || index >= target.length) {
    state.target = null;
    return createIterResultObject(undefined, true);
  }
  var entry = target[index];
  switch (state.kind) {
    case 'keys': return createIterResultObject(entry.key, false);
    case 'values': return createIterResultObject(entry.value, false);
  } return createIterResultObject([entry.key, entry.value], false);
}, true);

var URLSearchParamsState = function (init) {
  this.entries = [];
  this.url = null;

  if (init !== undefined) {
    if (isObject(init)) this.parseObject(init);
    else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));
  }
};

URLSearchParamsState.prototype = {
  type: URL_SEARCH_PARAMS,
  bindURL: function (url) {
    this.url = url;
    this.update();
  },
  parseObject: function (object) {
    var entries = this.entries;
    var iteratorMethod = getIteratorMethod(object);
    var iterator, next, step, entryIterator, entryNext, first, second;

    if (iteratorMethod) {
      iterator = getIterator(object, iteratorMethod);
      next = iterator.next;
      while (!(step = call(next, iterator)).done) {
        entryIterator = getIterator(anObject(step.value));
        entryNext = entryIterator.next;
        if (
          (first = call(entryNext, entryIterator)).done ||
          (second = call(entryNext, entryIterator)).done ||
          !call(entryNext, entryIterator).done
        ) throw new TypeError('Expected sequence with length 2');
        push(entries, { key: $toString(first.value), value: $toString(second.value) });
      }
    } else for (var key in object) if (hasOwn(object, key)) {
      push(entries, { key: key, value: $toString(object[key]) });
    }
  },
  parseQuery: function (query) {
    if (query) {
      var entries = this.entries;
      var attributes = split(query, '&');
      var index = 0;
      var attribute, entry;
      while (index < attributes.length) {
        attribute = attributes[index++];
        if (attribute.length) {
          entry = split(attribute, '=');
          push(entries, {
            key: decode(shift(entry)),
            value: decode(join(entry, '='))
          });
        }
      }
    }
  },
  serialize: function () {
    var entries = this.entries;
    var result = [];
    var index = 0;
    var entry;
    while (index < entries.length) {
      entry = entries[index++];
      push(result, serialize(entry.key) + '=' + serialize(entry.value));
    } return join(result, '&');
  },
  update: function () {
    this.entries.length = 0;
    this.parseQuery(this.url.query);
  },
  updateURL: function () {
    if (this.url) this.url.update();
  }
};

// `URLSearchParams` constructor
// https://url.spec.whatwg.org/#interface-urlsearchparams
var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
  anInstance(this, URLSearchParamsPrototype);
  var init = arguments.length > 0 ? arguments[0] : undefined;
  var state = setInternalState(this, new URLSearchParamsState(init));
  if (!DESCRIPTORS) this.size = state.entries.length;
};

var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;

defineBuiltIns(URLSearchParamsPrototype, {
  // `URLSearchParams.prototype.append` method
  // https://url.spec.whatwg.org/#dom-urlsearchparams-append
  append: function append(name, value) {
    var state = getInternalParamsState(this);
    validateArgumentsLength(arguments.length, 2);
    push(state.entries, { key: $toString(name), value: $toString(value) });
    if (!DESCRIPTORS) this.size++;
    state.updateURL();
  },
  // `URLSearchParams.prototype.delete` method
  // https://url.spec.whatwg.org/#dom-urlsearchparams-delete
  'delete': function (name /* , value */) {
    var state = getInternalParamsState(this);
    var length = validateArgumentsLength(arguments.length, 1);
    var entries = state.entries;
    var key = $toString(name);
    var $value = length < 2 ? undefined : arguments[1];
    var value = $value === undefined ? $value : $toString($value);
    var index = 0;
    while (index < entries.length) {
      var entry = entries[index];
      if (entry.key === key && (value === undefined || entry.value === value)) {
        splice(entries, index, 1);
      } else index++;
    }
    if (!DESCRIPTORS) this.size = entries.length;
    state.updateURL();
  },
  // `URLSearchParams.prototype.get` method
  // https://url.spec.whatwg.org/#dom-urlsearchparams-get
  get: function get(name) {
    var entries = getInternalParamsState(this).entries;
    validateArgumentsLength(arguments.length, 1);
    var key = $toString(name);
    var index = 0;
    for (; index < entries.length; index++) {
      if (entries[index].key === key) return entries[index].value;
    }
    return null;
  },
  // `URLSearchParams.prototype.getAll` method
  // https://url.spec.whatwg.org/#dom-urlsearchparams-getall
  getAll: function getAll(name) {
    var entries = getInternalParamsState(this).entries;
    validateArgumentsLength(arguments.length, 1);
    var key = $toString(name);
    var result = [];
    var index = 0;
    for (; index < entries.length; index++) {
      if (entries[index].key === key) push(result, entries[index].value);
    }
    return result;
  },
  // `URLSearchParams.prototype.has` method
  // https://url.spec.whatwg.org/#dom-urlsearchparams-has
  has: function has(name /* , value */) {
    var entries = getInternalParamsState(this).entries;
    var length = validateArgumentsLength(arguments.length, 1);
    var key = $toString(name);
    var $value = length < 2 ? undefined : arguments[1];
    var value = $value === undefined ? $value : $toString($value);
    var index = 0;
    while (index < entries.length) {
      var entry = entries[index++];
      if (entry.key === key && (value === undefined || entry.value === value)) return true;
    }
    return false;
  },
  // `URLSearchParams.prototype.set` method
  // https://url.spec.whatwg.org/#dom-urlsearchparams-set
  set: function set(name, value) {
    var state = getInternalParamsState(this);
    validateArgumentsLength(arguments.length, 2);
    var entries = state.entries;
    var found = false;
    var key = $toString(name);
    var val = $toString(value);
    var index = 0;
    var entry;
    for (; index < entries.length; index++) {
      entry = entries[index];
      if (entry.key === key) {
        if (found) splice(entries, index--, 1);
        else {
          found = true;
          entry.value = val;
        }
      }
    }
    if (!found) push(entries, { key: key, value: val });
    if (!DESCRIPTORS) this.size = entries.length;
    state.updateURL();
  },
  // `URLSearchParams.prototype.sort` method
  // https://url.spec.whatwg.org/#dom-urlsearchparams-sort
  sort: function sort() {
    var state = getInternalParamsState(this);
    arraySort(state.entries, function (a, b) {
      return a.key > b.key ? 1 : -1;
    });
    state.updateURL();
  },
  // `URLSearchParams.prototype.forEach` method
  forEach: function forEach(callback /* , thisArg */) {
    var entries = getInternalParamsState(this).entries;
    var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);
    var index = 0;
    var entry;
    while (index < entries.length) {
      entry = entries[index++];
      boundFunction(entry.value, entry.key, this);
    }
  },
  // `URLSearchParams.prototype.keys` method
  keys: function keys() {
    return new URLSearchParamsIterator(this, 'keys');
  },
  // `URLSearchParams.prototype.values` method
  values: function values() {
    return new URLSearchParamsIterator(this, 'values');
  },
  // `URLSearchParams.prototype.entries` method
  entries: function entries() {
    return new URLSearchParamsIterator(this, 'entries');
  }
}, { enumerable: true });

// `URLSearchParams.prototype[@@iterator]` method
defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });

// `URLSearchParams.prototype.toString` method
// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
defineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {
  return getInternalParamsState(this).serialize();
}, { enumerable: true });

// `URLSearchParams.prototype.size` getter
// https://url.spec.whatwg.org/#dom-urlsearchparams-size
if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
  get: function size() {
    return getInternalParamsState(this).entries.length;
  },
  configurable: true,
  enumerable: true
});

setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);

$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {
  URLSearchParams: URLSearchParamsConstructor
});

// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
if (!USE_NATIVE_URL && isCallable(Headers)) {
  var headersHas = uncurryThis(HeadersPrototype.has);
  var headersSet = uncurryThis(HeadersPrototype.set);

  var wrapRequestOptions = function (init) {
    if (isObject(init)) {
      var body = init.body;
      var headers;
      if (classof(body) === URL_SEARCH_PARAMS) {
        headers = init.headers ? new Headers(init.headers) : new Headers();
        if (!headersHas(headers, 'content-type')) {
          headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
        }
        return create(init, {
          body: createPropertyDescriptor(0, $toString(body)),
          headers: createPropertyDescriptor(0, headers)
        });
      }
    } return init;
  };

  if (isCallable(nativeFetch)) {
    $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
      fetch: function fetch(input /* , init */) {
        return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
      }
    });
  }

  if (isCallable(NativeRequest)) {
    var RequestConstructor = function Request(input /* , init */) {
      anInstance(this, RequestPrototype);
      return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
    };

    RequestPrototype.constructor = RequestConstructor;
    RequestConstructor.prototype = RequestPrototype;

    $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
      Request: RequestConstructor
    });
  }
}

module.exports = {
  URLSearchParams: URLSearchParamsConstructor,
  getState: getInternalParamsState
};


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js"
/*!*************************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js ***!
  \*************************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(/*! ../modules/web.url-search-params.constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.constructor.js");


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.constructor.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.constructor.js ***!
  \***********************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
__webpack_require__(/*! ../modules/es.string.iterator */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.iterator.js");
var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/descriptors.js");
var USE_NATIVE_URL = __webpack_require__(/*! ../internals/url-constructor-detection */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/url-constructor-detection.js");
var globalThis = __webpack_require__(/*! ../internals/global-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/global-this.js");
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-bind-context.js");
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-uncurry-this.js");
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in.js");
var defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/define-built-in-accessor.js");
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/an-instance.js");
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/has-own-property.js");
var assign = __webpack_require__(/*! ../internals/object-assign */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/object-assign.js");
var arrayFrom = __webpack_require__(/*! ../internals/array-from */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-from.js");
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/array-slice.js");
var codeAt = (__webpack_require__(/*! ../internals/string-multibyte */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-multibyte.js").codeAt);
var toASCII = __webpack_require__(/*! ../internals/string-punycode-to-ascii */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/string-punycode-to-ascii.js");
var $toString = __webpack_require__(/*! ../internals/to-string */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/to-string.js");
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/set-to-string-tag.js");
var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/validate-arguments-length.js");
var URLSearchParamsModule = __webpack_require__(/*! ../modules/web.url-search-params.constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.constructor.js");
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/internal-state.js");

var setInternalState = InternalStateModule.set;
var getInternalURLState = InternalStateModule.getterFor('URL');
var URLSearchParams = URLSearchParamsModule.URLSearchParams;
var getInternalSearchParamsState = URLSearchParamsModule.getState;

var NativeURL = globalThis.URL;
var TypeError = globalThis.TypeError;
var encodeURIComponent = globalThis.encodeURIComponent;
var parseInt = globalThis.parseInt;
var floor = Math.floor;
var pow = Math.pow;
var charAt = uncurryThis(''.charAt);
var exec = uncurryThis(/./.exec);
var join = uncurryThis([].join);
var numberToString = uncurryThis(1.1.toString);
var pop = uncurryThis([].pop);
var push = uncurryThis([].push);
var replace = uncurryThis(''.replace);
var shift = uncurryThis([].shift);
var split = uncurryThis(''.split);
var stringSlice = uncurryThis(''.slice);
var toLowerCase = uncurryThis(''.toLowerCase);
var unshift = uncurryThis([].unshift);

var INVALID_AUTHORITY = 'Invalid authority';
var INVALID_SCHEME = 'Invalid scheme';
var INVALID_HOST = 'Invalid host';
var INVALID_PORT = 'Invalid port';

var ALPHA = /[a-z]/i;
var ALPHANUMERIC_PLUS_MINUS_DOT = /[\d+\-.a-z]/i;
var DIGIT = /\d/;
var HEX_START = /^0x/i;
var OCT = /^[0-7]+$/;
var DEC = /^\d+$/;
var HEX = /^[\da-f]+$/i;
/* eslint-disable regexp/no-control-character -- safe */
var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/;
var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/;
var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/;
var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/;
var TAB_AND_NEW_LINE = /[\t\n\r]/g;
/* eslint-enable regexp/no-control-character -- safe */
// eslint-disable-next-line no-unassigned-vars -- expected `undefined` value
var EOF;

// https://url.spec.whatwg.org/#ends-in-a-number-checker
var endsInNumber = function (input) {
  var parts = split(input, '.');
  var last, hexPart;
  if (parts[parts.length - 1] === '') {
    if (parts.length === 1) return false;
    parts.length--;
  }
  last = parts[parts.length - 1];
  if (exec(DEC, last)) return true;
  if (exec(HEX_START, last)) {
    hexPart = stringSlice(last, 2);
    return hexPart === '' || !!exec(HEX, hexPart);
  }
  return false;
};

// https://url.spec.whatwg.org/#concept-ipv4-parser
var parseIPv4 = function (input) {
  var parts = split(input, '.');
  var partsLength, numbers, index, part, radix, number, ipv4;
  if (parts.length && parts[parts.length - 1] === '') {
    parts.length--;
  }
  partsLength = parts.length;
  if (partsLength > 4) return null;
  numbers = [];
  for (index = 0; index < partsLength; index++) {
    part = parts[index];
    if (part === '') return null;
    radix = 10;
    if (part.length > 1 && charAt(part, 0) === '0') {
      radix = exec(HEX_START, part) ? 16 : 8;
      part = stringSlice(part, radix === 8 ? 1 : 2);
    }
    if (part === '') {
      number = 0;
    } else {
      if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return null;
      number = parseInt(part, radix);
    }
    push(numbers, number);
  }
  for (index = 0; index < partsLength; index++) {
    number = numbers[index];
    if (index === partsLength - 1) {
      if (number >= pow(256, 5 - partsLength)) return null;
    } else if (number > 255) return null;
  }
  ipv4 = pop(numbers);
  for (index = 0; index < numbers.length; index++) {
    ipv4 += numbers[index] * pow(256, 3 - index);
  }
  return ipv4;
};

// https://url.spec.whatwg.org/#concept-ipv6-parser
// eslint-disable-next-line max-statements -- TODO
var parseIPv6 = function (input) {
  var address = [0, 0, 0, 0, 0, 0, 0, 0];
  var pieceIndex = 0;
  var compress = null;
  var pointer = 0;
  var value, length, numbersSeen, ipv4Piece, number, swaps, swap;

  var chr = function () {
    return charAt(input, pointer);
  };

  if (chr() === ':') {
    if (charAt(input, 1) !== ':') return;
    pointer += 2;
    pieceIndex++;
    compress = pieceIndex;
  }
  while (chr()) {
    if (pieceIndex === 8) return;
    if (chr() === ':') {
      if (compress !== null) return;
      pointer++;
      pieceIndex++;
      compress = pieceIndex;
      continue;
    }
    value = length = 0;
    while (length < 4 && exec(HEX, chr())) {
      value = value * 16 + parseInt(chr(), 16);
      pointer++;
      length++;
    }
    if (chr() === '.') {
      if (length === 0) return;
      pointer -= length;
      if (pieceIndex > 6) return;
      numbersSeen = 0;
      while (chr()) {
        ipv4Piece = null;
        if (numbersSeen > 0) {
          if (chr() === '.' && numbersSeen < 4) pointer++;
          else return;
        }
        if (!exec(DIGIT, chr())) return;
        while (exec(DIGIT, chr())) {
          number = parseInt(chr(), 10);
          if (ipv4Piece === null) ipv4Piece = number;
          else if (ipv4Piece === 0) return;
          else ipv4Piece = ipv4Piece * 10 + number;
          if (ipv4Piece > 255) return;
          pointer++;
        }
        address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
        numbersSeen++;
        if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++;
      }
      if (numbersSeen !== 4) return;
      break;
    } else if (chr() === ':') {
      pointer++;
      if (!chr()) return;
    } else if (chr()) return;
    address[pieceIndex++] = value;
  }
  if (compress !== null) {
    swaps = pieceIndex - compress;
    pieceIndex = 7;
    while (pieceIndex !== 0 && swaps > 0) {
      swap = address[pieceIndex];
      address[pieceIndex--] = address[compress + swaps - 1];
      address[compress + --swaps] = swap;
    }
  } else if (pieceIndex !== 8) return;
  return address;
};

var findLongestZeroSequence = function (ipv6) {
  var maxIndex = null;
  var maxLength = 1;
  var currStart = null;
  var currLength = 0;
  var index = 0;
  for (; index < 8; index++) {
    if (ipv6[index] !== 0) {
      if (currLength > maxLength) {
        maxIndex = currStart;
        maxLength = currLength;
      }
      currStart = null;
      currLength = 0;
    } else {
      if (currStart === null) currStart = index;
      ++currLength;
    }
  }
  return currLength > maxLength ? currStart : maxIndex;
};

// https://url.spec.whatwg.org/#host-serializing
var serializeHost = function (host) {
  var result, index, compress, ignore0;

  // ipv4
  if (typeof host == 'number') {
    result = [];
    for (index = 0; index < 4; index++) {
      unshift(result, host % 256);
      host = floor(host / 256);
    }
    return join(result, '.');
  }

  // ipv6
  if (typeof host == 'object') {
    result = '';
    compress = findLongestZeroSequence(host);
    for (index = 0; index < 8; index++) {
      if (ignore0 && host[index] === 0) continue;
      if (ignore0) ignore0 = false;
      if (compress === index) {
        result += index ? ':' : '::';
        ignore0 = true;
      } else {
        result += numberToString(host[index], 16);
        if (index < 7) result += ':';
      }
    }
    return '[' + result + ']';
  }

  return host;
};

var C0ControlPercentEncodeSet = {};
var queryPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {
  ' ': 1, '"': 1, '#': 1, '<': 1, '>': 1
});
var specialQueryPercentEncodeSet = assign({}, queryPercentEncodeSet, {
  "'": 1
});
var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {
  ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
});
var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {
  '#': 1, '?': 1, '{': 1, '}': 1, '^': 1
});
var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {
  '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
});

var percentEncode = function (chr, set) {
  var code = codeAt(chr, 0);
  // encodeURIComponent does not encode ', which is in the special-query percent-encode set
  return code >= 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : chr === "'" && hasOwn(set, chr) ? '%27' : encodeURIComponent(chr);
};

// https://url.spec.whatwg.org/#special-scheme
var specialSchemes = {
  ftp: 21,
  file: null,
  http: 80,
  https: 443,
  ws: 80,
  wss: 443
};

// https://url.spec.whatwg.org/#windows-drive-letter
var isWindowsDriveLetter = function (string, normalized) {
  var second;
  return string.length === 2 && exec(ALPHA, charAt(string, 0))
    && ((second = charAt(string, 1)) === ':' || (!normalized && second === '|'));
};

// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
var startsWithWindowsDriveLetter = function (string) {
  var third;
  return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (
    string.length === 2 ||
    ((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#')
  );
};

// https://url.spec.whatwg.org/#single-dot-path-segment
var isSingleDot = function (segment) {
  return segment === '.' || toLowerCase(segment) === '%2e';
};

// https://url.spec.whatwg.org/#double-dot-path-segment
var isDoubleDot = function (segment) {
  segment = toLowerCase(segment);
  return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';
};

// States:
var SCHEME_START = {};
var SCHEME = {};
var NO_SCHEME = {};
var SPECIAL_RELATIVE_OR_AUTHORITY = {};
var PATH_OR_AUTHORITY = {};
var RELATIVE = {};
var RELATIVE_SLASH = {};
var SPECIAL_AUTHORITY_SLASHES = {};
var SPECIAL_AUTHORITY_IGNORE_SLASHES = {};
var AUTHORITY = {};
var HOST = {};
var HOSTNAME = {};
var PORT = {};
var FILE = {};
var FILE_SLASH = {};
var FILE_HOST = {};
var PATH_START = {};
var PATH = {};
var CANNOT_BE_A_BASE_URL_PATH = {};
var QUERY = {};
var FRAGMENT = {};

var URLState = function (url, isBase, base) {
  var urlString = $toString(url);
  var baseState, failure, searchParams;
  if (isBase) {
    failure = this.parse(urlString);
    if (failure) throw new TypeError(failure);
    this.searchParams = null;
  } else {
    if (base !== undefined) baseState = new URLState(base, true);
    failure = this.parse(urlString, null, baseState);
    if (failure) throw new TypeError(failure);
    searchParams = getInternalSearchParamsState(new URLSearchParams());
    searchParams.bindURL(this);
    this.searchParams = searchParams;
  }
};

URLState.prototype = {
  type: 'URL',
  // https://url.spec.whatwg.org/#url-parsing
  // eslint-disable-next-line max-statements -- TODO
  parse: function (input, stateOverride, base) {
    var url = this;
    var state = stateOverride || SCHEME_START;
    var pointer = 0;
    var buffer = '';
    var seenAt = false;
    var seenBracket = false;
    var seenPasswordToken = false;
    var codePoints, chr, bufferCodePoints, failure;

    input = $toString(input);

    if (!stateOverride) {
      url.scheme = '';
      url.username = '';
      url.password = '';
      url.host = null;
      url.port = null;
      url.path = [];
      url.query = null;
      url.fragment = null;
      url.cannotBeABaseURL = false;
      input = replace(input, LEADING_C0_CONTROL_OR_SPACE, '');
      input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1');
    }

    input = replace(input, TAB_AND_NEW_LINE, '');

    codePoints = arrayFrom(input);

    while (pointer <= codePoints.length) {
      chr = codePoints[pointer];
      switch (state) {
        case SCHEME_START:
          if (chr && exec(ALPHA, chr)) {
            buffer += toLowerCase(chr);
            state = SCHEME;
          } else if (!stateOverride) {
            state = NO_SCHEME;
            continue;
          } else return INVALID_SCHEME;
          break;

        case SCHEME:
          if (chr && exec(ALPHANUMERIC_PLUS_MINUS_DOT, chr)) {
            buffer += toLowerCase(chr);
          } else if (chr === ':') {
            if (stateOverride && (
              (url.isSpecial() !== hasOwn(specialSchemes, buffer)) ||
              (buffer === 'file' && (url.includesCredentials() || url.port !== null)) ||
              (url.scheme === 'file' && url.host === '')
            )) return;
            url.scheme = buffer;
            if (stateOverride) {
              if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null;
              return;
            }
            buffer = '';
            if (url.scheme === 'file') {
              state = FILE;
            } else if (url.isSpecial() && base && base.scheme === url.scheme) {
              state = SPECIAL_RELATIVE_OR_AUTHORITY;
            } else if (url.isSpecial()) {
              state = SPECIAL_AUTHORITY_SLASHES;
            } else if (codePoints[pointer + 1] === '/') {
              state = PATH_OR_AUTHORITY;
              pointer++;
            } else {
              url.cannotBeABaseURL = true;
              push(url.path, '');
              state = CANNOT_BE_A_BASE_URL_PATH;
            }
          } else if (!stateOverride) {
            buffer = '';
            state = NO_SCHEME;
            pointer = 0;
            continue;
          } else return INVALID_SCHEME;
          break;

        case NO_SCHEME:
          if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME;
          if (base.cannotBeABaseURL && chr === '#') {
            url.scheme = base.scheme;
            url.path = arraySlice(base.path);
            url.query = base.query;
            url.fragment = '';
            url.cannotBeABaseURL = true;
            state = FRAGMENT;
            break;
          }
          state = base.scheme === 'file' ? FILE : RELATIVE;
          continue;

        case SPECIAL_RELATIVE_OR_AUTHORITY:
          if (chr === '/' && codePoints[pointer + 1] === '/') {
            state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
            pointer++;
          } else {
            state = RELATIVE;
            continue;
          } break;

        case PATH_OR_AUTHORITY:
          if (chr === '/') {
            state = AUTHORITY;
            break;
          } else {
            state = PATH;
            continue;
          }

        case RELATIVE:
          url.scheme = base.scheme;
          if (chr === EOF) {
            url.username = base.username;
            url.password = base.password;
            url.host = base.host;
            url.port = base.port;
            url.path = arraySlice(base.path);
            url.query = base.query;
          } else if (chr === '/' || (chr === '\\' && url.isSpecial())) {
            state = RELATIVE_SLASH;
          } else if (chr === '?') {
            url.username = base.username;
            url.password = base.password;
            url.host = base.host;
            url.port = base.port;
            url.path = arraySlice(base.path);
            url.query = '';
            state = QUERY;
          } else if (chr === '#') {
            url.username = base.username;
            url.password = base.password;
            url.host = base.host;
            url.port = base.port;
            url.path = arraySlice(base.path);
            url.query = base.query;
            url.fragment = '';
            state = FRAGMENT;
          } else {
            url.username = base.username;
            url.password = base.password;
            url.host = base.host;
            url.port = base.port;
            url.path = arraySlice(base.path);
            if (url.path.length) url.path.length--;
            state = PATH;
            continue;
          } break;

        case RELATIVE_SLASH:
          if (url.isSpecial() && (chr === '/' || chr === '\\')) {
            state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
          } else if (chr === '/') {
            state = AUTHORITY;
          } else {
            url.username = base.username;
            url.password = base.password;
            url.host = base.host;
            url.port = base.port;
            state = PATH;
            continue;
          } break;

        case SPECIAL_AUTHORITY_SLASHES:
          state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
          if (chr !== '/' || codePoints[pointer + 1] !== '/') continue;
          pointer++;
          break;

        case SPECIAL_AUTHORITY_IGNORE_SLASHES:
          if (chr !== '/' && chr !== '\\') {
            state = AUTHORITY;
            continue;
          } break;

        case AUTHORITY:
          if (chr === '@') {
            if (seenAt) buffer = '%40' + buffer;
            seenAt = true;
            bufferCodePoints = arrayFrom(buffer);
            for (var i = 0; i < bufferCodePoints.length; i++) {
              var codePoint = bufferCodePoints[i];
              if (codePoint === ':' && !seenPasswordToken) {
                seenPasswordToken = true;
                continue;
              }
              var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);
              if (seenPasswordToken) url.password += encodedCodePoints;
              else url.username += encodedCodePoints;
            }
            buffer = '';
          } else if (
            chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
            (chr === '\\' && url.isSpecial())
          ) {
            if (seenAt && buffer === '') return INVALID_AUTHORITY;
            pointer -= arrayFrom(buffer).length + 1;
            buffer = '';
            state = HOST;
          } else buffer += chr;
          break;

        case HOST:
        case HOSTNAME:
          if (stateOverride && url.scheme === 'file') {
            state = FILE_HOST;
            continue;
          } else if (chr === ':' && !seenBracket) {
            if (buffer === '') return INVALID_HOST;
            if (stateOverride === HOSTNAME) return;
            failure = url.parseHost(buffer);
            if (failure) return failure;
            buffer = '';
            state = PORT;
          } else if (
            chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
            (chr === '\\' && url.isSpecial())
          ) {
            if (url.isSpecial() && buffer === '') return INVALID_HOST;
            if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return;
            failure = url.parseHost(buffer);
            if (failure) return failure;
            buffer = '';
            state = PATH_START;
            if (stateOverride) return;
            continue;
          } else {
            if (chr === '[') seenBracket = true;
            else if (chr === ']') seenBracket = false;
            buffer += chr;
          } break;

        case PORT:
          if (exec(DIGIT, chr)) {
            buffer += chr;
          } else if (
            chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
            (chr === '\\' && url.isSpecial()) ||
            stateOverride
          ) {
            if (buffer !== '') {
              var port = parseInt(buffer, 10);
              if (port > 0xFFFF) return INVALID_PORT;
              url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;
              buffer = '';
            }
            if (stateOverride) return;
            state = PATH_START;
            continue;
          } else return INVALID_PORT;
          break;

        case FILE:
          url.scheme = 'file';
          url.host = '';
          if (chr === '/' || chr === '\\') state = FILE_SLASH;
          else if (base && base.scheme === 'file') {
            switch (chr) {
              case EOF:
                url.host = base.host;
                url.path = arraySlice(base.path);
                url.query = base.query;
                break;
              case '?':
                url.host = base.host;
                url.path = arraySlice(base.path);
                url.query = '';
                state = QUERY;
                break;
              case '#':
                url.host = base.host;
                url.path = arraySlice(base.path);
                url.query = base.query;
                url.fragment = '';
                state = FRAGMENT;
                break;
              default:
                url.host = base.host;
                if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
                  url.path = arraySlice(base.path);
                  url.shortenPath();
                }
                state = PATH;
                continue;
            }
          } else {
            state = PATH;
            continue;
          } break;

        case FILE_SLASH:
          if (chr === '/' || chr === '\\') {
            state = FILE_HOST;
            break;
          }
          if (base && base.scheme === 'file') {
            url.host = base.host;
            if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))
              && isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);
          }
          state = PATH;
          continue;

        case FILE_HOST:
          if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') {
            if (!stateOverride && isWindowsDriveLetter(buffer)) {
              state = PATH;
            } else if (buffer === '') {
              url.host = '';
              if (stateOverride) return;
              state = PATH_START;
            } else {
              failure = url.parseHost(buffer);
              if (failure) return failure;
              if (url.host === 'localhost') url.host = '';
              if (stateOverride) return;
              buffer = '';
              state = PATH_START;
            } continue;
          } else buffer += chr;
          break;

        case PATH_START:
          if (url.isSpecial()) {
            state = PATH;
            if (chr !== '/' && chr !== '\\') continue;
          } else if (!stateOverride && chr === '?') {
            url.query = '';
            state = QUERY;
          } else if (!stateOverride && chr === '#') {
            url.fragment = '';
            state = FRAGMENT;
          } else if (chr !== EOF) {
            state = PATH;
            if (chr !== '/') continue;
          } break;

        case PATH:
          if (
            chr === EOF || chr === '/' ||
            (chr === '\\' && url.isSpecial()) ||
            (!stateOverride && (chr === '?' || chr === '#'))
          ) {
            if (isDoubleDot(buffer)) {
              url.shortenPath();
              if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
                push(url.path, '');
              }
            } else if (isSingleDot(buffer)) {
              if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
                push(url.path, '');
              }
            } else {
              if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
                if (url.host !== null && url.host !== '') url.host = '';
                buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
              }
              push(url.path, buffer);
            }
            buffer = '';
            if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) {
              while (url.path.length > 1 && url.path[0] === '') {
                shift(url.path);
              }
            }
            if (chr === '?') {
              url.query = '';
              state = QUERY;
            } else if (chr === '#') {
              url.fragment = '';
              state = FRAGMENT;
            }
          } else {
            buffer += percentEncode(chr, pathPercentEncodeSet);
          } break;

        case CANNOT_BE_A_BASE_URL_PATH:
          if (chr === '?') {
            url.query = '';
            state = QUERY;
          } else if (chr === '#') {
            url.fragment = '';
            state = FRAGMENT;
          } else if (chr !== EOF) {
            url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);
          } break;

        case QUERY:
          if (!stateOverride && chr === '#') {
            url.fragment = '';
            state = FRAGMENT;
          } else if (chr !== EOF) {
            url.query += percentEncode(chr, url.isSpecial() ? specialQueryPercentEncodeSet : queryPercentEncodeSet);
          } break;

        case FRAGMENT:
          if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);
          break;
      }

      pointer++;
    }
  },
  // https://url.spec.whatwg.org/#host-parsing
  parseHost: function (input) {
    var result, codePoints, index;
    if (charAt(input, 0) === '[') {
      if (charAt(input, input.length - 1) !== ']') return INVALID_HOST;
      result = parseIPv6(stringSlice(input, 1, -1));
      if (!result) return INVALID_HOST;
      this.host = result;
    // opaque host
    } else if (!this.isSpecial()) {
      if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;
      result = '';
      codePoints = arrayFrom(input);
      for (index = 0; index < codePoints.length; index++) {
        result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);
      }
      this.host = result;
    } else {
      input = toASCII(input);
      if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;
      if (endsInNumber(input)) {
        result = parseIPv4(input);
        if (result === null) return INVALID_HOST;
        this.host = result;
      } else {
        this.host = input;
      }
    }
  },
  // https://url.spec.whatwg.org/#cannot-have-a-username-password-port
  cannotHaveUsernamePasswordPort: function () {
    return this.host === null || this.host === '' || this.cannotBeABaseURL || this.scheme === 'file';
  },
  // https://url.spec.whatwg.org/#include-credentials
  includesCredentials: function () {
    return this.username !== '' || this.password !== '';
  },
  // https://url.spec.whatwg.org/#is-special
  isSpecial: function () {
    return hasOwn(specialSchemes, this.scheme);
  },
  // https://url.spec.whatwg.org/#shorten-a-urls-path
  shortenPath: function () {
    var path = this.path;
    var pathSize = path.length;
    if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) {
      path.length--;
    }
  },
  // https://url.spec.whatwg.org/#concept-url-serializer
  serialize: function () {
    var url = this;
    var scheme = url.scheme;
    var username = url.username;
    var password = url.password;
    var host = url.host;
    var port = url.port;
    var path = url.path;
    var query = url.query;
    var fragment = url.fragment;
    var output = scheme + ':';
    if (host !== null) {
      output += '//';
      if (url.includesCredentials()) {
        output += username + (password ? ':' + password : '') + '@';
      }
      output += serializeHost(host);
      if (port !== null) output += ':' + port;
    } else if (scheme === 'file') output += '//';
    if (host === null && !url.cannotBeABaseURL && path.length > 1 && path[0] === '') output += '/.';
    output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
    if (query !== null) output += '?' + query;
    if (fragment !== null) output += '#' + fragment;
    return output;
  },
  // https://url.spec.whatwg.org/#dom-url-href
  setHref: function (href) {
    var failure = this.parse(href);
    if (failure) throw new TypeError(failure);
    this.searchParams.update();
  },
  // https://url.spec.whatwg.org/#dom-url-origin
  getOrigin: function () {
    var scheme = this.scheme;
    var port = this.port;
    if (scheme === 'blob') try {
      return new URLConstructor(this.path[0]).origin;
    } catch (error) {
      return 'null';
    }
    if (scheme === 'file' || !this.isSpecial()) return 'null';
    return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');
  },
  // https://url.spec.whatwg.org/#dom-url-protocol
  getProtocol: function () {
    return this.scheme + ':';
  },
  setProtocol: function (protocol) {
    this.parse($toString(protocol) + ':', SCHEME_START);
  },
  // https://url.spec.whatwg.org/#dom-url-username
  getUsername: function () {
    return this.username;
  },
  setUsername: function (username) {
    var codePoints = arrayFrom($toString(username));
    if (this.cannotHaveUsernamePasswordPort()) return;
    this.username = '';
    for (var i = 0; i < codePoints.length; i++) {
      this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);
    }
  },
  // https://url.spec.whatwg.org/#dom-url-password
  getPassword: function () {
    return this.password;
  },
  setPassword: function (password) {
    var codePoints = arrayFrom($toString(password));
    if (this.cannotHaveUsernamePasswordPort()) return;
    this.password = '';
    for (var i = 0; i < codePoints.length; i++) {
      this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);
    }
  },
  // https://url.spec.whatwg.org/#dom-url-host
  getHost: function () {
    var host = this.host;
    var port = this.port;
    return host === null ? ''
      : port === null ? serializeHost(host)
      : serializeHost(host) + ':' + port;
  },
  setHost: function (host) {
    if (this.cannotBeABaseURL) return;
    this.parse(host, HOST);
  },
  // https://url.spec.whatwg.org/#dom-url-hostname
  getHostname: function () {
    var host = this.host;
    return host === null ? '' : serializeHost(host);
  },
  setHostname: function (hostname) {
    if (this.cannotBeABaseURL) return;
    this.parse(hostname, HOSTNAME);
  },
  // https://url.spec.whatwg.org/#dom-url-port
  getPort: function () {
    var port = this.port;
    return port === null ? '' : $toString(port);
  },
  setPort: function (port) {
    if (this.cannotHaveUsernamePasswordPort()) return;
    port = $toString(port);
    if (port === '') this.port = null;
    else this.parse(port, PORT);
  },
  // https://url.spec.whatwg.org/#dom-url-pathname
  getPathname: function () {
    var path = this.path;
    return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
  },
  setPathname: function (pathname) {
    if (this.cannotBeABaseURL) return;
    this.path = [];
    this.parse(pathname, PATH_START);
  },
  // https://url.spec.whatwg.org/#dom-url-search
  getSearch: function () {
    var query = this.query;
    return query ? '?' + query : '';
  },
  setSearch: function (search) {
    search = $toString(search);
    if (search === '') {
      this.query = null;
    } else {
      if (charAt(search, 0) === '?') search = stringSlice(search, 1);
      this.query = '';
      this.parse(search, QUERY);
    }
    this.searchParams.update();
  },
  // https://url.spec.whatwg.org/#dom-url-searchparams
  getSearchParams: function () {
    return this.searchParams.facade;
  },
  // https://url.spec.whatwg.org/#dom-url-hash
  getHash: function () {
    var fragment = this.fragment;
    return fragment ? '#' + fragment : '';
  },
  setHash: function (hash) {
    hash = $toString(hash);
    if (hash === '') {
      this.fragment = null;
      return;
    }
    if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1);
    this.fragment = '';
    this.parse(hash, FRAGMENT);
  },
  update: function () {
    this.query = this.searchParams.serialize() || null;
  }
};

// `URL` constructor
// https://url.spec.whatwg.org/#url-class
var URLConstructor = function URL(url /* , base */) {
  var that = anInstance(this, URLPrototype);
  var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
  var state = setInternalState(that, new URLState(url, false, base));
  if (!DESCRIPTORS) {
    that.href = state.serialize();
    that.origin = state.getOrigin();
    that.protocol = state.getProtocol();
    that.username = state.getUsername();
    that.password = state.getPassword();
    that.host = state.getHost();
    that.hostname = state.getHostname();
    that.port = state.getPort();
    that.pathname = state.getPathname();
    that.search = state.getSearch();
    that.searchParams = state.getSearchParams();
    that.hash = state.getHash();
  }
};

var URLPrototype = URLConstructor.prototype;

var accessorDescriptor = function (getter, setter) {
  return {
    get: function () {
      return getInternalURLState(this)[getter]();
    },
    set: setter && function (value) {
      return getInternalURLState(this)[setter](value);
    },
    configurable: true,
    enumerable: true
  };
};

if (DESCRIPTORS) {
  // `URL.prototype.href` accessors pair
  // https://url.spec.whatwg.org/#dom-url-href
  defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref'));
  // `URL.prototype.origin` getter
  // https://url.spec.whatwg.org/#dom-url-origin
  defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin'));
  // `URL.prototype.protocol` accessors pair
  // https://url.spec.whatwg.org/#dom-url-protocol
  defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol'));
  // `URL.prototype.username` accessors pair
  // https://url.spec.whatwg.org/#dom-url-username
  defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername'));
  // `URL.prototype.password` accessors pair
  // https://url.spec.whatwg.org/#dom-url-password
  defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword'));
  // `URL.prototype.host` accessors pair
  // https://url.spec.whatwg.org/#dom-url-host
  defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost'));
  // `URL.prototype.hostname` accessors pair
  // https://url.spec.whatwg.org/#dom-url-hostname
  defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname'));
  // `URL.prototype.port` accessors pair
  // https://url.spec.whatwg.org/#dom-url-port
  defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort'));
  // `URL.prototype.pathname` accessors pair
  // https://url.spec.whatwg.org/#dom-url-pathname
  defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname'));
  // `URL.prototype.search` accessors pair
  // https://url.spec.whatwg.org/#dom-url-search
  defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch'));
  // `URL.prototype.searchParams` getter
  // https://url.spec.whatwg.org/#dom-url-searchparams
  defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams'));
  // `URL.prototype.hash` accessors pair
  // https://url.spec.whatwg.org/#dom-url-hash
  defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash'));
}

// `URL.prototype.toJSON` method
// https://url.spec.whatwg.org/#dom-url-tojson
defineBuiltIn(URLPrototype, 'toJSON', function toJSON() {
  return getInternalURLState(this).serialize();
}, { enumerable: true });

// `URL.prototype.toString` method
// https://url.spec.whatwg.org/#URL-stringification-behavior
defineBuiltIn(URLPrototype, 'toString', function toString() {
  return getInternalURLState(this).serialize();
}, { enumerable: true });

if (NativeURL) {
  var nativeCreateObjectURL = NativeURL.createObjectURL;
  var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
  // `URL.createObjectURL` method
  // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
  if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));
  // `URL.revokeObjectURL` method
  // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
  if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));
}

setToStringTag(URLConstructor, 'URL');

$({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
  URL: URLConstructor
});


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js ***!
  \***********************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__(/*! ../modules/web.url.constructor */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.constructor.js");


/***/ },

/***/ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js ***!
  \*******************************************************************************************/
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__(/*! ../internals/export */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/export.js");
var call = __webpack_require__(/*! ../internals/function-call */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/internals/function-call.js");

// `URL.prototype.toJSON` method
// https://url.spec.whatwg.org/#dom-url-tojson
$({ target: 'URL', proto: true, enumerable: true }, {
  toJSON: function toJSON() {
    return call(URL.prototype.toString, this);
  }
});


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js"
/*!**************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
  \**************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _arrayLikeToArray)
/* harmony export */ });
function _arrayLikeToArray(r, a) {
  (null == a || a > r.length) && (a = r.length);
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
  return n;
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
  \***************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _arrayWithoutHoles)
/* harmony export */ });
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");

function _arrayWithoutHoles(r) {
  if (Array.isArray(r)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r);
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
  \*******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _assertThisInitialized)
/* harmony export */ });
function _assertThisInitialized(e) {
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e;
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
  \*********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _createClass)
/* harmony export */ });
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");

function _defineProperties(e, r) {
  for (var t = 0; t < r.length; t++) {
    var o = r[t];
    o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o.key), o);
  }
}
function _createClass(e, r, t) {
  return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
    writable: !1
  }), e;
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js"
/*!*****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js ***!
  \*****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _extends)
/* harmony export */ });
function _extends() {
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
    for (var e = 1; e < arguments.length; e++) {
      var t = arguments[e];
      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
    }
    return n;
  }, _extends.apply(null, arguments);
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js ***!
  \***********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _inheritsLoose)
/* harmony export */ });
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");

function _inheritsLoose(t, o) {
  t.prototype = Object.create(o.prototype), t.prototype.constructor = t, (0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t, o);
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/iterableToArray.js"
/*!*************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
  \*************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _iterableToArray)
/* harmony export */ });
function _iterableToArray(r) {
  if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
  \***************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _nonIterableSpread)
/* harmony export */ });
function _nonIterableSpread() {
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"
/*!**************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
  \**************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _objectWithoutPropertiesLoose)
/* harmony export */ });
function _objectWithoutPropertiesLoose(r, e) {
  if (null == r) return {};
  var t = {};
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
    if (-1 !== e.indexOf(n)) continue;
    t[n] = r[n];
  }
  return t;
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"
/*!************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
  \************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _setPrototypeOf)
/* harmony export */ });
function _setPrototypeOf(t, e) {
  return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
    return t.__proto__ = e, t;
  }, _setPrototypeOf(t, e);
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"
/*!***************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
  \***************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _toConsumableArray)
/* harmony export */ });
/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js");
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js");




function _toConsumableArray(r) {
  return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(r) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(r) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
  \*********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ toPrimitive)
/* harmony export */ });
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js");

function toPrimitive(t, r) {
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"
/*!***********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
  \***********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ toPropertyKey)
/* harmony export */ });
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js");
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");


function toPropertyKey(t) {
  var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
  return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : i + "";
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _typeof)
/* harmony export */ });
function _typeof(o) {
  "@babel/helpers - typeof";

  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
    return typeof o;
  } : function (o) {
    return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
  }, _typeof(o);
}


/***/ },

/***/ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"
/*!************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
  \************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ _unsupportedIterableToArray)
/* harmony export */ });
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");

function _unsupportedIterableToArray(r, a) {
  if (r) {
    if ("string" == typeof r) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r, a);
    var t = {}.toString.call(r).slice(8, -1);
    return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r, a) : void 0;
  }
}


/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AcUnit.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AcUnit.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 11h-4.17l3.24-3.24-1.41-1.42L15 11h-2V9l4.66-4.66-1.42-1.41L13 6.17V2h-2v4.17L7.76 2.93 6.34 4.34 11 9v2H9L4.34 6.34 2.93 7.76 6.17 11H2v2h4.17l-3.24 3.24 1.41 1.42L9 13h2v2l-4.66 4.66 1.42 1.41L11 17.83V22h2v-4.17l3.24 3.24 1.42-1.41L13 15v-2h2l4.66 4.66 1.41-1.42L17.83 13H22z"
}), 'AcUnit'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Accessibility.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Accessibility.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 7h-6v13h-2v-6h-2v6H9V9H3V7h18z"
}), 'Accessibility'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountBalance.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountBalance.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"
}), 'AccountBalance'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountBalanceWallet.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountBalanceWallet.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2zm-9-2h10V8H12zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"
}), 'AccountBalanceWallet'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountCircle.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountCircle.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"
}), 'AccountCircle'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountTree.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AccountTree.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"
}), 'AccountTree'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Add.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
}), 'Add'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AddToPhotos.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AddToPhotos.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-1 9h-4v4h-2v-4H9V9h4V5h2v4h4z"
}), 'AddToPhotos'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AdminPanelSettings.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AdminPanelSettings.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12m0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17"
}, "1")], 'AdminPanelSettings'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Agriculture.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Agriculture.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.5 12c.93 0 1.78.28 2.5.76V8c0-1.1-.9-2-2-2h-6.29l-1.06-1.06 1.41-1.41-.71-.71-3.53 3.53.71.71 1.41-1.41L13 6.71V9c0 1.1-.9 2-2 2h-.54c.95 1.06 1.54 2.46 1.54 4 0 .34-.04.67-.09 1h3.14c.25-2.25 2.14-4 4.45-4"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.5 13c-1.93 0-3.5 1.57-3.5 3.5s1.57 3.5 3.5 3.5 3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5m0 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M4 9h5c0-1.1-.9-2-2-2H4c-.55 0-1 .45-1 1s.45 1 1 1m5.83 4.82-.18-.47.93-.35c-.46-1.06-1.28-1.91-2.31-2.43l-.4.89-.46-.21.4-.9C7.26 10.13 6.64 10 6 10c-.53 0-1.04.11-1.52.26l.34.91-.47.18-.35-.93c-1.06.46-1.91 1.28-2.43 2.31l.89.4-.21.46-.9-.4C1.13 13.74 1 14.36 1 15c0 .53.11 1.04.26 1.52l.91-.34.18.47-.93.35c.46 1.06 1.28 1.91 2.31 2.43l.4-.89.46.21-.4.9c.55.22 1.17.35 1.81.35.53 0 1.04-.11 1.52-.26l-.34-.91.47-.18.35.93c1.06-.46 1.91-1.28 2.43-2.31l-.89-.4.21-.46.9.4c.22-.55.35-1.17.35-1.81 0-.53-.11-1.04-.26-1.52zm-2.68 3.95c-1.53.63-3.29-.09-3.92-1.62s.09-3.29 1.62-3.92 3.29.09 3.92 1.62c.64 1.53-.09 3.29-1.62 3.92"
}, "1")], 'Agriculture'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Air.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Air.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14.5 17c0 1.65-1.35 3-3 3s-3-1.35-3-3h2c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1H2v-2h9.5c1.65 0 3 1.35 3 3M19 6.5C19 4.57 17.43 3 15.5 3S12 4.57 12 6.5h2c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S16.33 8 15.5 8H2v2h13.5c1.93 0 3.5-1.57 3.5-3.5m-.5 4.5H2v2h16.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5v2c1.93 0 3.5-1.57 3.5-3.5S20.43 11 18.5 11"
}), 'Air'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Alarm.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Alarm.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m22 5.72-4.6-3.86-1.29 1.53 4.6 3.86zM7.88 3.39 6.6 1.86 2 5.71l1.29 1.53zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9m0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"
}), 'Alarm'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Anchor.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Anchor.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m17 15 1.55 1.55c-.96 1.69-3.33 3.04-5.55 3.37V11h3V9h-3V7.82C14.16 7.4 15 6.3 15 5c0-1.65-1.35-3-3-3S9 3.35 9 5c0 1.3.84 2.4 2 2.82V9H8v2h3v8.92c-2.22-.33-4.59-1.68-5.55-3.37L7 15l-4-3v3c0 3.88 4.92 7 9 7s9-3.12 9-7v-3zM12 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1"
}), 'Anchor'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Apartment.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Apartment.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17 11V3H7v4H3v14h8v-4h2v4h8V11zM7 19H5v-2h2zm0-4H5v-2h2zm0-4H5V9h2zm4 4H9v-2h2zm0-4H9V9h2zm0-4H9V5h2zm4 8h-2v-2h2zm0-4h-2V9h2zm0-4h-2V5h2zm4 12h-2v-2h2zm0-4h-2v-2h2z"
}), 'Apartment'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AppRegistration.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AppRegistration.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 4h4v4h-4zM4 16h4v4H4zm0-6h4v4H4zm0-6h4v4H4zm10 8.42V10h-4v4h2.42zm6.88-1.13-1.17-1.17c-.16-.16-.42-.16-.58 0l-.88.88L20 12.75l.88-.88c.16-.16.16-.42 0-.58M11 18.25V20h1.75l6.67-6.67-1.75-1.75zM16 4h4v4h-4z"
}), 'AppRegistration'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Archive.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Archive.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m20.54 5.23-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27M12 17.5 6.5 12H10v-2h4v2h3.5zM5.12 5l.81-1h12l.94 1z"
}), 'Archive'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowBack.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowBack.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
}), 'ArrowBack'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowCircleDown.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowCircleDown.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 10V8h-2v4H8l4 4 4-4z"
}), 'ArrowCircleDown'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowCircleUp.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowCircleUp.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0 2c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10m-1-10v4h2v-4h3l-4-4-4 4z"
}), 'ArrowCircleUp'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDownward.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDownward.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"
}), 'ArrowDownward'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropDown.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropDown.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m7 10 5 5 5-5z"
}), 'ArrowDropDown'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropUp.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowDropUp.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m7 14 5-5 5 5z"
}), 'ArrowDropUp'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowForward.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowForward.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
}), 'ArrowForward'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowOutward.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowOutward.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"
}), 'ArrowOutward'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowUpward.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ArrowUpward.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"
}), 'ArrowUpward'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Article.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Article.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"
}), 'Article'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assessment.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assessment.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-7h2zm4 0h-2V7h2zm4 0h-2v-4h2z"
}), 'Assessment'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assignment.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Assignment.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"
}), 'Assignment'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AssignmentInd.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AssignmentInd.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1z"
}), 'AssignmentInd'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AssistWalker.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AssistWalker.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "12.5",
  cy: "4.5",
  r: "2"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m19.77 17.72-.64-6.37c-.07-.77-.72-1.35-1.49-1.35H16c-1.5-.02-2.86-.54-3.76-1.44l-2-1.98C10.08 6.42 9.62 6 8.83 6c-.51 0-1.02.2-1.41.59L4.08 9.91c-.53.68-.51 1.57-.21 2.13l1.43 2.8-3.15 4.05 1.57 1.24L7.4 15.4l-.17-1.36.77.71V20h2v-6.12l-2.12-2.12 2.36-2.36c.94.94 1.72 1.82 3.59 2.32L13 20h1.5l.41-3.5h3.18l.14 1.22c-.44.26-.73.74-.73 1.28 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.54-.29-1.02-.73-1.28M15.09 15l.41-3.5h2l.41 3.5z"
}, "1")], 'AssistWalker'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AttachMoney.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AttachMoney.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4"
}), 'AttachMoney'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Audiotrack.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Audiotrack.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3z"
}), 'Audiotrack'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AutoAwesomeMotionSharp.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/AutoAwesomeMotionSharp.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14 2H2v12h2V4h10zm4 4H6v12h2V8h10zm4 4H10v12h12z"
}), 'AutoAwesomeMotionSharp'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Autorenew.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Autorenew.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"
}), 'Autorenew'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Ballot.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Ballot.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  fillRule: "evenodd",
  d: "M13 9.5h5v-2h-5zm0 7h5v-2h-5zm6 4.5H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2M6 11h5V6H6zm1-4h3v3H7zM6 18h5v-5H6zm1-4h3v3H7z"
}), 'Ballot'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BarChart.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BarChart.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"
}), 'BarChart'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BatteryChargingFull.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BatteryChargingFull.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4M11 20v-5.5H9L13 7v5.5h2z"
}), 'BatteryChargingFull'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bed.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bed.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 10.78V8c0-1.65-1.35-3-3-3h-4c-.77 0-1.47.3-2 .78-.53-.48-1.23-.78-2-.78H6C4.35 5 3 6.35 3 8v2.78c-.61.55-1 1.34-1 2.22v6h2v-2h16v2h2v-6c0-.88-.39-1.67-1-2.22M14 7h4c.55 0 1 .45 1 1v2h-6V8c0-.55.45-1 1-1M5 8c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v2H5z"
}), 'Bed'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bolt.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bolt.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66s.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21"
}), 'Bolt'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Book.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Book.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 4h5v8l-2.5-1.5L6 12z"
}), 'Book'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bookmark.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Bookmark.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2"
}), 'Bookmark'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BorderAll.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BorderAll.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M3 3v18h18V3zm8 16H5v-6h6zm0-8H5V5h6zm8 8h-6v-6h6zm0-8h-6V5h6z"
}), 'BorderAll'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BorderColor.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BorderColor.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 24H2v-4h20zM13.06 5.19l3.75 3.75L7.75 18H4v-3.75zm4.82 2.68-3.75-3.75 1.83-1.83c.39-.39 1.02-.39 1.41 0l2.34 2.34c.39.39.39 1.02 0 1.41z"
}), 'BorderColor'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brightness2.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brightness2.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2"
}), 'Brightness2'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brightness6Outlined.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brightness6Outlined.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zm-2 5.79V18h-3.52L12 20.48 9.52 18H6v-3.52L3.52 12 6 9.52V6h3.52L12 3.52 14.48 6H18v3.52L20.48 12zM12 6.5v11c3.03 0 5.5-2.47 5.5-5.5S15.03 6.5 12 6.5"
}), 'Brightness6Outlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BrokenImage.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BrokenImage.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-3 6.42 3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4z"
}), 'BrokenImage'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brush.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Brush.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3m13.71-9.37-1.34-1.34a.996.996 0 0 0-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41"
}), 'Brush'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Build.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Build.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m22.7 19-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4"
}), 'Build'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Business.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Business.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 7V3H2v18h20V7zM6 19H4v-2h2zm0-4H4v-2h2zm0-4H4V9h2zm0-4H4V5h2zm4 12H8v-2h2zm0-4H8v-2h2zm0-4H8V9h2zm0-4H8V5h2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8zm-2-8h-2v2h2zm0 4h-2v2h2z"
}), 'Business'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BusinessCenter.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/BusinessCenter.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 16v-1H3.01L3 19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-4h-7v1zm10-9h-4.01V5l-2-2h-4l-2 2v2H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-2h4v2h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-6 0h-4V5h4z"
}), 'BusinessCenter'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Calculate.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Calculate.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"
}), 'Calculate'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CalendarMonth.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CalendarMonth.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"
}), 'CalendarMonth'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Call.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Call.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99"
}), 'Call'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cancel.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cancel.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 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 12z"
}), 'Cancel'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Check.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Check.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
}), 'Check'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckBox.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckBox.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
}), 'CheckBox'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckCircle.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CheckCircle.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
}), 'CheckCircle'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChevronRight.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChevronRight.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
}), 'ChevronRight'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChildCare.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChildCare.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "14.5",
  cy: "10.5",
  r: "1.25"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "9.5",
  cy: "10.5",
  r: "1.25"
}, "1"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22.94 12.66q.06-.315.06-.66c0-.345-.02-.45-.06-.66-.25-1.51-1.36-2.74-2.81-3.17-.53-1.12-1.28-2.1-2.19-2.91C16.36 3.85 14.28 3 12 3s-4.36.85-5.94 2.26c-.92.81-1.67 1.8-2.19 2.91-1.45.43-2.56 1.65-2.81 3.17Q1 11.655 1 12c0 .345.02.45.06.66.25 1.51 1.36 2.74 2.81 3.17.52 1.11 1.27 2.09 2.17 2.89C7.62 20.14 9.71 21 12 21s4.38-.86 5.97-2.28c.9-.8 1.65-1.79 2.17-2.89 1.44-.43 2.55-1.65 2.8-3.17M19 14c-.1 0-.19-.02-.29-.03-.2.67-.49 1.29-.86 1.86C16.6 17.74 14.45 19 12 19s-4.6-1.26-5.85-3.17c-.37-.57-.66-1.19-.86-1.86-.1.01-.19.03-.29.03-1.1 0-2-.9-2-2s.9-2 2-2c.1 0 .19.02.29.03.2-.67.49-1.29.86-1.86C7.4 6.26 9.55 5 12 5s4.6 1.26 5.85 3.17c.37.57.66 1.19.86 1.86.1-.01.19-.03.29-.03 1.1 0 2 .9 2 2s-.9 2-2 2M7.5 14c.76 1.77 2.49 3 4.5 3s3.74-1.23 4.5-3z"
}, "2")], 'ChildCare'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChildFriendly.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ChildFriendly.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 2v8h8c0-4.42-3.58-8-8-8m6.32 13.89C20.37 14.54 21 12.84 21 11H6.44l-.95-2H2v2h2.22s1.89 4.07 2.12 4.42c-1.1.59-1.84 1.75-1.84 3.08C4.5 20.43 6.07 22 8 22c1.76 0 3.22-1.3 3.46-3h2.08c.24 1.7 1.7 3 3.46 3 1.93 0 3.5-1.57 3.5-3.5 0-1.04-.46-1.97-1.18-2.61M8 20c-.83 0-1.5-.67-1.5-1.5S7.17 17 8 17s1.5.67 1.5 1.5S8.83 20 8 20m9 0c-.83 0-1.5-.67-1.5-1.5S16.17 17 17 17s1.5.67 1.5 1.5S17.83 20 17 20"
}), 'ChildFriendly'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Circle.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Circle.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2"
}), 'Circle'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Class.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Class.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 4h5v8l-2.5-1.5L6 12z"
}), 'Class'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CleaningServices.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CleaningServices.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 11h-1V3c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v8H8c-2.76 0-5 2.24-5 5v7h18v-7c0-2.76-2.24-5-5-5m3 10h-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v3h-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v3H9v-3c0-.55-.45-1-1-1s-1 .45-1 1v3H5v-5c0-1.65 1.35-3 3-3h8c1.65 0 3 1.35 3 3z"
}), 'CleaningServices'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Clear.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Clear.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 6.41 17.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"
}), 'Clear'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Close.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 6.41 17.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'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CloudUpload.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CloudUpload.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"
}), 'CloudUpload'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CloudySnowing.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CloudySnowing.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M5 18c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m12 0c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m-9 4c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m3-4c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m3 4c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1m3.5-6h-10C4.47 16 2 13.53 2 10.5c0-2.76 2.09-5.09 4.78-5.44C7.83 3.18 9.82 2 12 2c2.97 0 5.45 2.18 5.92 5.02C20.21 7.23 22 9.16 22 11.5c0 2.48-2.02 4.5-4.5 4.5"
}), 'CloudySnowing'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Code.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Code.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
}), 'Code'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ColorLens.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ColorLens.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8m-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12m3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8m5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8m3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5"
}), 'ColorLens'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Comment.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Comment.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4zM18 14H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"
}), 'Comment'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Commute.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Commute.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 4H5C3.34 4 2 5.34 2 7v8c0 1.66 1.34 3 3 3l-1 1v1h1l2-2.03L9 18v-5H4V5.98L13 6v2h2V7c0-1.66-1.34-3-3-3M5 14c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m15.57-4.34c-.14-.4-.52-.66-.97-.66h-7.19c-.46 0-.83.26-.98.66L10 13.77l.01 5.51c0 .38.31.72.69.72h.62c.38 0 .68-.38.68-.76V18h8v1.24c0 .38.31.76.69.76h.61c.38 0 .69-.34.69-.72l.01-1.37v-4.14zm-8.16.34h7.19l1.03 3h-9.25zM12 16c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m8 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"
}), 'Commute'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Compost.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Compost.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12.87 11.81c-.23-.38-.37-.83-.37-1.31C12.5 9.12 13.62 8 15 8h1c1.51 0 2-1 2-1s.55 6-3 6c-.49 0-.94-.14-1.32-.38-.24.64-.59 1.76-.76 2.96 1.26.22 2.28.89 2.77 1.77 1.69-1.17 2.81-3.13 2.81-5.35h3c0 5.24-4.26 9.5-9.5 9.5S2.5 17.24 2.5 12 6.76 2.5 12 2.5V0l4 4-4 4V5.5c-3.58 0-6.5 2.92-6.5 6.5 0 2.21 1.11 4.17 2.81 5.35.51-.92 1.63-1.62 2.98-1.8-.09-.69-.26-1.42-.49-2.03-.35.3-.8.48-1.3.48-1.1 0-2-.9-2-2v-.99c0-.56-.19-1.09-.5-1.51 0 0 4.45-.23 4.5 2.5 0 .29-.06.56-.17.8-.42-.32-.86-.6-1.33-.8.58.43 1.37 1.37 2 2.6.67-1.62 1.68-3.27 3-4.6-.76.52-1.47 1.12-2.13 1.81"
}), 'Compost'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Construction.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Construction.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m13.7826 15.1719 2.1213-2.1213 5.9963 5.9962-2.1213 2.1213zM17.5 10c1.93 0 3.5-1.57 3.5-3.5 0-.58-.16-1.12-.41-1.6l-2.7 2.7-1.49-1.49 2.7-2.7c-.48-.25-1.02-.41-1.6-.41C15.57 3 14 4.57 14 6.5c0 .41.08.8.21 1.16l-1.85 1.85-1.78-1.78.71-.71-1.41-1.41L12 3.49c-1.17-1.17-3.07-1.17-4.24 0L4.22 7.03l1.41 1.41H2.81l-.71.71 3.54 3.54.71-.71V9.15l1.41 1.41.71-.71 1.78 1.78-7.41 7.41 2.12 2.12L16.34 9.79c.36.13.75.21 1.16.21"
}), 'Construction'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentCopy.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentCopy.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"
}), 'ContentCopy'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentPaste.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContentPaste.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 2h-4.18C14.4.84 13.3 0 12 0S9.6.84 9.18 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m7 18H5V4h2v3h10V4h2z"
}), 'ContentPaste'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContrastOutlined.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ContrastOutlined.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10m1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93z"
}), 'ContrastOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CorporateFare.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CorporateFare.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 7V3H2v18h20V7zm-2 12H4v-2h6zm0-4H4v-2h6zm0-4H4V9h6zm0-4H4V5h6zm10 12h-8V9h8zm-2-8h-4v2h4zm0 4h-4v2h4z"
}), 'CorporateFare'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cottage.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Cottage.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 3 6 7.58V6H4v3.11L1 11.4l1.21 1.59L4 11.62V21h7v-6h2v6h7v-9.38l1.79 1.36L23 11.4zm-2-2c0 1.66-1.34 3-3 3-.55 0-1 .45-1 1H4c0-1.66 1.34-3 3-3 .55 0 1-.45 1-1z"
}), 'Cottage'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CropLandscape.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/CropLandscape.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 12H5V7h14z"
}), 'CropLandscape'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DarkModeOutlined.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DarkModeOutlined.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"
}), 'DarkModeOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DatasetLinked.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DatasetLinked.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M8.09 17H7v-4h3.69c.95-.63 2.09-1 3.31-1h6c.34 0 .67.04 1 .09V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h3.81C8.3 20.12 8 19.09 8 18c0-.34.04-.67.09-1M13 7h4v4h-4zM7 7h4v4H7z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 18c0-1.1.9-2 2-2h2v-2h-2c-2.21 0-4 1.79-4 4s1.79 4 4 4h2v-2h-2c-1.1 0-2-.9-2-2m8-4h-2v2h2c1.1 0 2 .9 2 2s-.9 2-2 2h-2v2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4"
}, "1"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14 17h6v2h-6z"
}, "2")], 'DatasetLinked'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Deck.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Deck.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 9 12 2 2 9h9v13h2V9z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m4.14 12-1.96.37.82 4.37V22h2l.02-4H7v4h2v-6H4.9zm14.96 4H15v6h2v-4h1.98l.02 4h2v-5.26l.82-4.37-1.96-.37z"
}, "1")], 'Deck'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Delete.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Delete.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
}), 'Delete'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DeleteOutline.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DeleteOutline.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"
}), 'DeleteOutline'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DepartureBoard.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DepartureBoard.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 1c-2.4 0-4.52 1.21-5.78 3.05.01-.01.01-.02.02-.03C9.84 4 9.42 4 9 4c-4.42 0-8 .5-8 4v10c0 .88.39 1.67 1 2.22V22c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h8v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1.78c.61-.55 1-1.34 1-2.22v-3.08c3.39-.49 6-3.39 6-6.92 0-3.87-3.13-7-7-7M4.5 19c-.83 0-1.5-.67-1.5-1.5S3.67 16 4.5 16s1.5.67 1.5 1.5S5.33 19 4.5 19M3 13V8h6c0 1.96.81 3.73 2.11 5zm10.5 6c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m2.5-6c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m.5-9H15v5l3.62 2.16.75-1.23-2.87-1.68z"
}), 'DepartureBoard'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Description.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Description.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"
}), 'Description'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DeviceThermostat.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DeviceThermostat.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15 13V5c0-1.66-1.34-3-3-3S9 3.34 9 5v8c-1.21.91-2 2.37-2 4 0 2.76 2.24 5 5 5s5-2.24 5-5c0-1.63-.79-3.09-2-4m-4-8c0-.55.45-1 1-1s1 .45 1 1h-1v1h1v2h-1v1h1v2h-2z"
}), 'DeviceThermostat'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Dining.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Dining.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-9 8.3c0 .93-.64 1.71-1.5 1.93V19H8v-6.77c-.86-.22-1.5-1-1.5-1.93V6.5c0-.28.22-.5.5-.5s.5.22.5.5V9h.75V6.5c0-.28.22-.5.5-.5s.5.22.5.5V9H10V6.5c0-.28.23-.5.5-.5.28 0 .5.22.5.5zm4.58 2.29-.08.03V19H14v-6.38l-.08-.04c-.97-.47-1.67-1.7-1.67-3.18 0-1.88 1.13-3.4 2.5-3.4 1.38 0 2.5 1.53 2.5 3.41 0 1.48-.7 2.71-1.67 3.18"
}), 'Dining'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBike.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBike.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2M5 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5m0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5m5.8-10 2.4-2.4.8.8c1.3 1.3 3 2.1 5.1 2.1V9c-1.5 0-2.7-.6-3.6-1.5l-1.9-1.9c-.5-.4-1-.6-1.6-.6s-1.1.2-1.4.6L7.8 8.4c-.4.4-.6.9-.6 1.4 0 .6.2 1.1.6 1.4L11 14v5h2v-6.2zM19 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5m0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5"
}), 'DirectionsBike'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBoat.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBoat.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 21c-1.39 0-2.78-.47-4-1.32-2.44 1.71-5.56 1.71-8 0C6.78 20.53 5.39 21 4 21H2v2h2c1.38 0 2.74-.35 4-.99 2.52 1.29 5.48 1.29 8 0 1.26.65 2.62.99 4 .99h2v-2zM3.95 19H4c1.6 0 3.02-.88 4-2 .98 1.12 2.4 2 4 2s3.02-.88 4-2c.98 1.12 2.4 2 4 2h.05l1.89-6.68c.08-.26.06-.54-.06-.78s-.34-.42-.6-.5L20 10.62V6c0-1.1-.9-2-2-2h-3V1H9v3H6c-1.1 0-2 .9-2 2v4.62l-1.29.42c-.26.08-.48.26-.6.5s-.15.52-.06.78zM6 6h12v3.97L12 8 6 9.97z"
}), 'DirectionsBoat'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBus.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsBus.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M4 16c0 .88.39 1.67 1 2.22V20c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h8v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1.78c.61-.55 1-1.34 1-2.22V6c0-3.5-3.58-4-8-4s-8 .5-8 4zm3.5 1c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17m9 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m1.5-6H6V6h12z"
}), 'DirectionsBus'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsCar.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsCar.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16m11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M5 11l1.5-4.5h11L19 11z"
}), 'DirectionsCar'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsRun.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsRun.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m-3.6 13.9 1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2v-3.4l1.8-.7-1.6 8.1-4.9-1-.4 2z"
}), 'DirectionsRun'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsSubway.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsSubway.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2c-4.42 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h12v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4M7.5 17c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17m3.5-6H6V6h5zm5.5 6c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m1.5-6h-5V6h5z"
}), 'DirectionsSubway'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsWalk.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/DirectionsWalk.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2M9.8 8.9 7 23h2.1l1.8-8 2.1 2v6h2v-7.5l-2.1-2 .6-3C14.8 12 16.8 13 19 13v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1L6 8.3V13h2V9.6z"
}), 'DirectionsWalk'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Discount.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Discount.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12.79 21 3 11.21v2c0 .53.21 1.04.59 1.41l7.79 7.79c.78.78 2.05.78 2.83 0l6.21-6.21c.78-.78.78-2.05 0-2.83z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11.38 17.41c.78.78 2.05.78 2.83 0l6.21-6.21c.78-.78.78-2.05 0-2.83L12.63.58C12.25.21 11.74 0 11.21 0H5C3.9 0 3 .9 3 2v6.21c0 .53.21 1.04.59 1.41zM7.25 3c.69 0 1.25.56 1.25 1.25S7.94 5.5 7.25 5.5 6 4.94 6 4.25 6.56 3 7.25 3"
}, "1")], 'Discount'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Diversity1.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Diversity1.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "4",
  cy: "14",
  r: "2"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M1.22 17.58C.48 17.9 0 18.62 0 19.43V21h4.5v-1.61c0-.83.23-1.61.63-2.29-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58"
}, "1"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "20",
  cy: "14",
  r: "2"
}, "2"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22.78 17.58c-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V21H24v-1.57c0-.81-.48-1.53-1.22-1.85m-6.54-.93c-1.17-.52-2.61-.9-4.24-.9s-3.07.39-4.24.9C6.68 17.13 6 18.21 6 19.39V21h12v-1.61c0-1.18-.68-2.26-1.76-2.74M9 12c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3"
}, "3"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M2.48 10.86C2.17 10.1 2 9.36 2 8.6 2 6.02 4.02 4 6.6 4c2.68 0 3.82 1.74 5.4 3.59C13.57 5.76 14.7 4 17.4 4 19.98 4 22 6.02 22 8.6c0 .76-.17 1.5-.48 2.26.65.31 1.18.82 1.53 1.44.6-1.2.95-2.42.95-3.7C24 4.9 21.1 2 17.4 2c-2.09 0-4.09.97-5.4 2.51C10.69 2.97 8.69 2 6.6 2 2.9 2 0 4.9 0 8.6c0 1.28.35 2.5.96 3.7.35-.62.88-1.13 1.52-1.44"
}, "4")], 'Diversity1'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Edit.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
}), 'Edit'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EditDocument.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EditDocument.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14 19.88V22h2.12l5.17-5.17-2.12-2.12zM20 8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H12v-2.95l8-8zm-7 1V3.5L18.5 9zm9.71 5-.71-.71a.996.996 0 0 0-1.41 0l-.71.71L22 16.12l.71-.71c.39-.39.39-1.02 0-1.41"
}), 'EditDocument'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EditNote.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EditNote.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M3 10h11v2H3zm0-2h11V6H3zm0 8h7v-2H3zm15.01-3.13.71-.71c.39-.39 1.02-.39 1.41 0l.71.71c.39.39.39 1.02 0 1.41l-.71.71zm-.71.71-5.3 5.3V21h2.12l5.3-5.3z"
}), 'EditNote'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Elderly.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Elderly.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6.5 7V23h-1V12.5c0-.28-.22-.5-.5-.5s-.5.22-.5.5v1h-1v-.69c-1.46-.38-2.7-1.29-3.51-2.52-.31.87-.49 1.78-.49 2.71 0 .23.02.46.03.69L15 16.5V23h-2v-5l-1.78-2.54L11 19l-3 4-1.6-1.2L9 18.33V13c0-1.15.18-2.29.5-3.39l-1.5.85V14H6V9.3l5.4-3.07v.01c.59-.31 1.32-.33 1.94.03.36.21.63.51.8.85l.79 1.67C15.58 10.1 16.94 11 18.5 11c.83 0 1.5.67 1.5 1.5"
}), 'Elderly'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ElderlyWoman.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ElderlyWoman.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18.5 11c-1.56 0-2.92-.9-3.58-2.21l-.79-1.67C14.12 7.1 13.63 6 12.34 6 8.72 6 6 16.69 6 19h2.5l-2.1 2.8L8 23l3-4h2v4h2v-4.03L13 13l.49-2.71c.81 1.23 2.05 2.14 3.51 2.52v.69h1v-1c0-.28.22-.5.5-.5s.5.22.5.5V23h1V12.5c0-.83-.67-1.5-1.5-1.5m-6.9-8.09c-.06.19-.1.38-.1.59 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2c-.21 0-.4.04-.59.1-.15-.35-.5-.6-.91-.6-.55 0-1 .45-1 1 0 .41.25.76.6.91"
}), 'ElderlyWoman'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ElectricalServices.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ElectricalServices.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 14c0-.55-.45-1-1-1h-2v2h2c.55 0 1-.45 1-1m-1 3h-2v2h2c.55 0 1-.45 1-1s-.45-1-1-1m-8-3h-2v4h2c0 1.1.9 2 2 2h3v-8h-3c-1.1 0-2 .9-2 2"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M5 13c0-1.1.9-2 2-2h1.5c1.93 0 3.5-1.57 3.5-3.5S10.43 4 8.5 4H5c-.55 0-1 .45-1 1s.45 1 1 1h3.5c.83 0 1.5.67 1.5 1.5S9.33 9 8.5 9H7c-2.21 0-4 1.79-4 4s1.79 4 4 4h2v-2H7c-1.1 0-2-.9-2-2"
}, "1")], 'ElectricalServices'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmergencyShare.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmergencyShare.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 9c-3.15 0-6 2.41-6 6.15q0 3.735 6 8.85 6-5.115 6-8.85C18 11.41 15.15 9 12 9m0 7.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M12 4c1.93 0 3.68.78 4.95 2.05l-1.41 1.41C14.63 6.56 13.38 6 12 6s-2.63.56-3.54 1.46L7.05 6.05C8.32 4.78 10.07 4 12 4m7.78-.77-1.41 1.41C16.74 3.01 14.49 2 12.01 2S7.27 3.01 5.64 4.63L4.22 3.22C6.22 1.23 8.97 0 12.01 0s5.78 1.23 7.77 3.23"
}), 'EmergencyShare'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiEvents.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiEvents.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z"
}), 'EmojiEvents'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiFlags.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiFlags.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m14 9-1-2H7V5.72c.6-.34 1-.98 1-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .74.4 1.38 1 1.72V21h2v-4h5l1 2h7V9h-6zm4 8h-4l-1-2H7V9h5l1 2h5v6z"
}), 'EmojiFlags'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiFoodBeverage.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EmojiFoodBeverage.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 3H9v2.4l1.81 1.45c.12.09.19.24.19.39v4.26c0 .28-.22.5-.5.5h-4c-.28 0-.5-.22-.5-.5V7.24c0-.15.07-.3.19-.39L8 5.4V3H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2m0 5h-2V5h2zM4 19h16v2H4z"
}), 'EmojiFoodBeverage'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Engineering.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Engineering.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m13.1-8.16c.01-.11.02-.22.02-.34s-.01-.23-.03-.34l.74-.58c.07-.05.08-.15.04-.22l-.7-1.21c-.04-.08-.14-.1-.21-.08l-.86.35c-.18-.14-.38-.25-.59-.34l-.13-.93c-.02-.09-.09-.15-.18-.15h-1.4c-.09 0-.16.06-.17.15l-.13.93c-.21.09-.41.21-.59.34l-.87-.35c-.08-.03-.17 0-.21.08l-.7 1.21c-.04.08-.03.17.04.22l.74.58c-.02.11-.03.23-.03.34s.01.23.03.34l-.74.58c-.07.05-.08.15-.04.22l.7 1.21c.04.08.14.1.21.08l.87-.35c.18.14.38.25.59.34l.13.93c.01.09.08.15.17.15h1.4c.09 0 .16-.06.17-.15l.13-.93c.21-.09.41-.21.59-.34l.87.35c.08.03.17 0 .21-.08l.7-1.21c.04-.08.03-.17-.04-.22zm-2.6.91c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m.42 3.93-.5-.87c-.03-.06-.1-.08-.15-.06l-.62.25q-.195-.15-.42-.24l-.09-.66c-.02-.06-.08-.1-.14-.1h-1c-.06 0-.11.04-.12.11l-.09.66c-.15.06-.29.15-.42.24l-.62-.25c-.06-.02-.12 0-.15.06l-.5.87c-.03.06-.02.12.03.16l.53.41c-.01.08-.02.16-.02.24s.01.17.02.24l-.53.41c-.05.04-.06.11-.03.16l.5.87c.03.06.1.08.15.06l.62-.25q.195.15.42.24l.09.66c.01.07.06.11.12.11h1c.06 0 .12-.04.12-.11l.09-.66c.15-.06.29-.15.42-.24l.62.25c.06.02.12 0 .15-.06l.5-.87c.03-.06.02-.12-.03-.16l-.52-.41c.01-.08.02-.16.02-.24s-.01-.17-.02-.24l.53-.41c.05-.04.06-.11.04-.17m-2.42 1.65c-.46 0-.83-.38-.83-.83 0-.46.38-.83.83-.83s.83.38.83.83c0 .46-.37.83-.83.83M4.74 9h8.53c.27 0 .49-.22.49-.49v-.02c0-.27-.22-.49-.49-.49H13c0-1.48-.81-2.75-2-3.45v.95c0 .28-.22.5-.5.5s-.5-.22-.5-.5V4.14C9.68 4.06 9.35 4 9 4s-.68.06-1 .14V5.5c0 .28-.22.5-.5.5S7 5.78 7 5.5v-.95C5.81 5.25 5 6.52 5 8h-.26c-.27 0-.49.22-.49.49v.03c0 .26.22.48.49.48M9 13c1.86 0 3.41-1.28 3.86-3H5.14c.45 1.72 2 3 3.86 3"
}), 'Engineering'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Equalizer.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Equalizer.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"
}), 'Equalizer'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Error.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Error.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"
}), 'Error'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EscalatorWarning.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/EscalatorWarning.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6.5 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 7.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5S17.83 8 17 8s-1.5.67-1.5 1.5m3 2.5h-2.84c-.58.01-1.14.32-1.45.86l-.92 1.32L9.72 8c-.37-.63-1.03-.99-1.71-1H5c-1.1 0-2 .9-2 2v6h1.5v7h5V11.61L12.03 16h2.2l.77-1.1V22h4v-5h1v-3.5c0-.82-.67-1.5-1.5-1.5"
}), 'EscalatorWarning'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExitToApp.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExitToApp.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
}), 'ExitToApp'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandLess.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandLess.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
}), 'ExpandLess'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandMore.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ExpandMore.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
}), 'ExpandMore'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Explore.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Explore.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1 1.1-.49 1.1-1.1-.49-1.1-1.1-1.1M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m2.19 12.19L6 18l3.81-8.19L18 6z"
}), 'Explore'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FactCheck.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FactCheck.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  fillRule: "evenodd",
  d: "M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M10 17H5v-2h5zm0-4H5v-2h5zm0-4H5V7h5zm4.82 6L12 12.16l1.41-1.41 1.41 1.42L17.99 9l1.42 1.42z"
}), 'FactCheck'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Factory.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Factory.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 10v12H2V10l7-3v2l5-2v3zm-4.8-1.5L18 2h3l.8 6.5zM11 18h2v-4h-2zm-4 0h2v-4H7zm10-4h-2v4h2z"
}), 'Factory'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FamilyRestroom.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FamilyRestroom.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2m4 18v-6h2.5l-2.54-7.63C19.68 7.55 18.92 7 18.06 7h-.12c-.86 0-1.63.55-1.9 1.37l-.86 2.58c1.08.6 1.82 1.73 1.82 3.05v8zm-7.5-10.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5S11 9.17 11 10s.67 1.5 1.5 1.5M5.5 6c1.11 0 2-.89 2-2s-.89-2-2-2-2 .89-2 2 .89 2 2 2m2 16v-7H9V9c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v6h1.5v7zm6.5 0v-4h1v-4c0-.82-.68-1.5-1.5-1.5h-2c-.82 0-1.5.68-1.5 1.5v4h1v4z"
}), 'FamilyRestroom'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FastForward.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FastForward.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m4 18 8.5-6L4 6zm9-12v12l8.5-6z"
}), 'FastForward'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Favorite.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Favorite.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z"
}), 'Favorite'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FileCopy.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FileCopy.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2zm-1 7h5.5L14 6.5z"
}), 'FileCopy'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterAlt.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterAlt.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"
}), 'FilterAlt'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterAltOff.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterAltOff.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.79 5.61C20.3 4.95 19.83 4 19 4H6.83l7.97 7.97zM2.81 2.81 1.39 4.22 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.17l5.78 5.78 1.41-1.41z"
}), 'FilterAltOff'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterVintage.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FilterVintage.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18.7 12.4c-.28-.16-.57-.29-.86-.4.29-.11.58-.24.86-.4 1.92-1.11 2.99-3.12 3-5.19-1.79-1.03-4.07-1.11-6 0-.28.16-.54.35-.78.54.05-.31.08-.63.08-.95 0-2.22-1.21-4.15-3-5.19C10.21 1.85 9 3.78 9 6c0 .32.03.64.08.95-.24-.2-.5-.39-.78-.55-1.92-1.11-4.2-1.03-6 0 0 2.07 1.07 4.08 3 5.19.28.16.57.29.86.4-.29.11-.58.24-.86.4-1.92 1.11-2.99 3.12-3 5.19 1.79 1.03 4.07 1.11 6 0 .28-.16.54-.35.78-.54-.05.32-.08.64-.08.96 0 2.22 1.21 4.15 3 5.19 1.79-1.04 3-2.97 3-5.19 0-.32-.03-.64-.08-.95q.36.3.78.54c1.92 1.11 4.2 1.03 6 0-.01-2.07-1.08-4.08-3-5.19M12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4"
}), 'FilterVintage'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FindInPage.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FindInPage.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3"
}), 'FindInPage'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Fireplace.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Fireplace.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M2 2v20h20V2zm9.86 14.96c.76-.24 1.4-1.04 1.53-1.63.13-.56-.1-1.05-.2-1.6-.08-.46-.07-.85.08-1.28.54 1.21 2.15 1.64 1.98 3.18-.19 1.7-2.11 2.38-3.39 1.33M20 20h-2v-2h-2.02c.63-.84 1.02-1.87 1.02-3 0-1.89-1.09-2.85-1.85-3.37C12.2 9.61 13 7 13 7c-6.73 3.57-6.02 7.47-6 8 .03.96.49 2.07 1.23 3H6v2H4V4h16z"
}), 'Fireplace'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FitnessCenter.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FitnessCenter.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20.57 14.86 22 13.43 20.57 12 17 15.57 8.43 7 12 3.43 10.57 2 9.14 3.43 7.71 2 5.57 4.14 4.14 2.71 2.71 4.14l1.43 1.43L2 7.71l1.43 1.43L2 10.57 3.43 12 7 8.43 15.57 17 12 20.57 13.43 22l1.43-1.43L16.29 22l2.14-2.14 1.43 1.43 1.43-1.43-1.43-1.43L22 16.29z"
}), 'FitnessCenter'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Flatware.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Flatware.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 7.08c0 1.77-.84 3.25-2 3.82V21h-2V10.9c-1.16-.57-2-2.05-2-3.82C10.01 4.83 11.35 3 13 3c1.66 0 3 1.83 3 4.08M17 3v18h2v-8h2V7c0-1.76-1.24-4-4-4M8.28 3c-.4 0-.72.32-.72.72V7h-.84V3.72C6.72 3.32 6.4 3 6 3s-.72.32-.72.72V7h-.84V3.72c0-.4-.32-.72-.72-.72S3 3.32 3 3.72V9c0 1.1.9 2 2 2v10h2V11c1.1 0 2-.9 2-2V3.72c0-.4-.32-.72-.72-.72"
}), 'Flatware'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Flight.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Flight.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z"
}), 'Flight'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FolderShared.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FolderShared.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2z"
}), 'FolderShared'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Forest.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Forest.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 12 9 2 2 12h1.86L0 18h7v4h4v-4h7l-3.86-6z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20.14 12H22L15 2l-2.39 3.41L17.92 13h-1.95l3.22 5H24zM13 19h4v3h-4z"
}, "1")], 'Forest'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FormatListNumbered.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FormatListNumbered.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"
}), 'FormatListNumbered'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FrontHand.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/FrontHand.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.75 8c-.69 0-1.25.56-1.25 1.25V15H18c-1.65 0-3 1.35-3 3h-1c0-2.04 1.53-3.72 3.5-3.97V3.25c0-.69-.56-1.25-1.25-1.25S15 2.56 15 3.25V11h-1V1.25C14 .56 13.44 0 12.75 0S11.5.56 11.5 1.25V11h-1V2.75c0-.69-.56-1.25-1.25-1.25S8 2.06 8 2.75V12H7V5.75c0-.69-.56-1.25-1.25-1.25S4.5 5.06 4.5 5.75v10c0 4.56 3.69 8.25 8.25 8.25S21 20.31 21 15.75v-6.5C21 8.56 20.44 8 19.75 8"
}), 'FrontHand'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Gavel.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Gavel.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m5.2494 8.0688 2.83-2.8269 14.1343 14.15-2.83 2.8269zm4.2363-4.2415 2.828-2.8289 5.6577 5.656-2.828 2.8289zM.9989 12.3147l2.8284-2.8285 5.6569 5.6569-2.8285 2.8284zM1 21h12v2H1z"
}), 'Gavel'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/GetApp.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/GetApp.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"
}), 'GetApp'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Grass.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Grass.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 20H2v-2h5.75c-.73-2.81-2.94-5.01-5.75-5.74.64-.16 1.31-.26 2-.26 4.42 0 8 3.58 8 8m10-7.74c-.64-.16-1.31-.26-2-.26-2.93 0-5.48 1.58-6.88 3.93.29.66.53 1.35.67 2.07.13.65.2 1.32.2 2h8v-2h-5.75c.74-2.81 2.95-5.01 5.76-5.74m-6.36-1.24c.78-2.09 2.23-3.84 4.09-5C15.44 6.16 12 9.67 12 14v.02c.95-1.27 2.2-2.3 3.64-3m-4.22-2.17C10.58 6.66 8.88 4.89 6.7 4 8.14 5.86 9 8.18 9 10.71c0 .21-.03.41-.04.61.43.24.83.52 1.22.82.21-1.18.65-2.29 1.24-3.29"
}), 'Grass'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Group.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"
}), 'Group'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Groups.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Groups.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29M20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3"
}), 'Groups'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Handshake.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Handshake.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16.48 10.41c-.39.39-1.04.39-1.43 0l-4.47-4.46-7.05 7.04-.66-.63c-1.17-1.17-1.17-3.07 0-4.24l4.24-4.24c1.17-1.17 3.07-1.17 4.24 0L16.48 9c.39.39.39 1.02 0 1.41m.7-2.12c.78.78.78 2.05 0 2.83-1.27 1.27-2.61.22-2.83 0l-3.76-3.76-5.57 5.57c-.39.39-.39 1.02 0 1.41s1.02.39 1.42 0l4.62-4.62.71.71-4.62 4.62c-.39.39-.39 1.02 0 1.41s1.02.39 1.42 0l4.62-4.62.71.71-4.62 4.62c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l4.62-4.62.71.71-4.62 4.62c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l8.32-8.34c1.17-1.17 1.17-3.07 0-4.24l-4.24-4.24c-1.15-1.15-3.01-1.17-4.18-.06z"
}), 'Handshake'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Healing.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Healing.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m17.73 12.02 3.98-3.98c.39-.39.39-1.02 0-1.41l-4.34-4.34a.996.996 0 0 0-1.41 0l-3.98 3.98L8 2.29C7.8 2.1 7.55 2 7.29 2c-.25 0-.51.1-.7.29L2.25 6.63c-.39.39-.39 1.02 0 1.41l3.98 3.98L2.25 16c-.39.39-.39 1.02 0 1.41l4.34 4.34c.39.39 1.02.39 1.41 0l3.98-3.98 3.98 3.98c.2.2.45.29.71.29s.51-.1.71-.29l4.34-4.34c.39-.39.39-1.02 0-1.41zM12 9c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m-4.71 1.96L3.66 7.34l3.63-3.63 3.62 3.62zM10 13c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m2 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m2-4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2.66 9.34-3.63-3.62 3.63-3.63 3.62 3.62z"
}), 'Healing'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HealthAndSafety.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HealthAndSafety.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10.5 13H8v-3h2.5V7.5h3V10H16v3h-2.5v2.5h-3zM12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5z"
}), 'HealthAndSafety'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HeartBroken.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HeartBroken.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16.5 3c-.96 0-1.9.25-2.73.69L12 9h3l-3 10 1-9h-3l1.54-5.39C10.47 3.61 9.01 3 7.5 3 4.42 3 2 5.42 2 8.5c0 4.13 4.16 7.18 10 12.5 5.47-4.94 10-8.26 10-12.5C22 5.42 19.58 3 16.5 3"
}), 'HeartBroken'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Help.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Help.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"
}), 'Help'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HelpOutline.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HelpOutline.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"
}), 'HelpOutline'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HighlightOff.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HighlightOff.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
}), 'HighlightOff'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HomeRepairService.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HomeRepairService.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18 16h-2v-1H8v1H6v-1H2v5h20v-5h-4zm2-8h-3V6c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v4h4v-2h2v2h8v-2h2v2h4v-4c0-1.1-.9-2-2-2m-5 0H9V6h6z"
}), 'HomeRepairService'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HowToVote.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/HowToVote.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18 13h-.68l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2H6l-3 3v4c0 1.1.89 2 1.99 2H19c1.1 0 2-.89 2-2v-4zm-1-5.05-4.95 4.95-3.54-3.54 4.95-4.95zm-4.24-5.66L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01"
}), 'HowToVote'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Image.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Image.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"
}), 'Image'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Info.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"
}), 'Info'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/InsertDriveFile.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/InsertDriveFile.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"
}), 'InsertDriveFile'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
}), 'KeyboardArrowDown'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowRight.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardArrowRight.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
}), 'KeyboardArrowRight'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardCommandKey.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/KeyboardCommandKey.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5 4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3M16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5 8 5.67 8 6.5V8zm3.5 6v-4h4v4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5m-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5"
}), 'KeyboardCommandKey'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Language.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Language.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56m2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z"
}), 'Language'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Launch.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Launch.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
}), 'Launch'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Layers.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Layers.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"
}), 'Layers'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LightModeOutlined.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LightModeOutlined.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"
}), 'LightModeOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Lightbulb.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Lightbulb.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7"
}), 'Lightbulb'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Link.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Link.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
}), 'Link'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LinkOff.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LinkOff.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"
}), 'LinkOff'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/List.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/List.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"
}), 'List'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ListAlt.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ListAlt.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"
}), 'ListAlt'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalFlorist.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalFlorist.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 22c4.97 0 9-4.03 9-9-4.97 0-9 4.03-9 9M5.6 10.25c0 1.38 1.12 2.5 2.5 2.5.53 0 1.01-.16 1.42-.44l-.02.19c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5l-.02-.19c.4.28.89.44 1.42.44 1.38 0 2.5-1.12 2.5-2.5 0-1-.59-1.85-1.43-2.25.84-.4 1.43-1.25 1.43-2.25 0-1.38-1.12-2.5-2.5-2.5-.53 0-1.01.16-1.42.44l.02-.19C14.5 2.12 13.38 1 12 1S9.5 2.12 9.5 3.5l.02.19c-.4-.28-.89-.44-1.42-.44-1.38 0-2.5 1.12-2.5 2.5 0 1 .59 1.85 1.43 2.25-.84.4-1.43 1.25-1.43 2.25M12 5.5c1.38 0 2.5 1.12 2.5 2.5s-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8s1.12-2.5 2.5-2.5M3 13c0 4.97 4.03 9 9 9 0-4.97-4.03-9-9-9"
}), 'LocalFlorist'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalGroceryStore.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalGroceryStore.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"
}), 'LocalGroceryStore'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalHospital.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalHospital.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4z"
}), 'LocalHospital'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalHotel.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalHotel.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7 13c1.66 0 3-1.34 3-3S8.66 7 7 7s-3 1.34-3 3 1.34 3 3 3m12-6h-8v7H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4"
}), 'LocalHotel'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalLibrary.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalLibrary.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 11.55C9.64 9.35 6.48 8 3 8v11c3.48 0 6.64 1.35 9 3.55 2.36-2.19 5.52-3.55 9-3.55V8c-3.48 0-6.64 1.35-9 3.55M12 8c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3"
}), 'LocalLibrary'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalMall.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalMall.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 6h-2c0-2.76-2.24-5-5-5S7 3.24 7 6H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-7-3c1.66 0 3 1.34 3 3H9c0-1.66 1.34-3 3-3m0 10c-2.76 0-5-2.24-5-5h2c0 1.66 1.34 3 3 3s3-1.34 3-3h2c0 2.76-2.24 5-5 5"
}), 'LocalMall'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalParking.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalParking.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6m.2 8H10V7h3.2c1.1 0 2 .9 2 2s-.9 2-2 2"
}), 'LocalParking'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalPharmacy.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalPharmacy.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 5h-2.64l1.14-3.14L17.15 1l-1.46 4H3v2l2 6-2 6v2h18v-2l-2-6 2-6zm-5 9h-3v3h-2v-3H8v-2h3V9h2v3h3z"
}), 'LocalPharmacy'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalPolice.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalPolice.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm2.5 11.59.9 3.88-3.4-2.05-3.4 2.05.9-3.87-3-2.59 3.96-.34L12 6.02l1.54 3.64 3.96.34z"
}), 'LocalPolice'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalSee.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalSee.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "12",
  cy: "12",
  r: "3.2"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"
}, "1")], 'LocalSee'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalShipping.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalShipping.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m13.5-9 1.96 2.5H17V9.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"
}), 'LocalShipping'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalTaxi.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LocalTaxi.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18.92 6.01C18.72 5.42 18.16 5 17.5 5H15V3H9v2H6.5c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16m11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M5 11l1.5-4.5h11L19 11z"
}), 'LocalTaxi'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOpen.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOpen.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"
}), 'LockOpen'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOutline.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOutline.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2M8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9zM18 20H6V10h12z"
}), 'LockOutline'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOutlined.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/LockOutlined.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2M9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9zm9 14H6V10h12zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"
}), 'LockOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ManageSearch.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ManageSearch.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7 9H2V7h5zm0 3H2v2h5zm13.59 7-3.83-3.83c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3 1.35 3 3 3 3-1.35 3-3M2 19h10v-2H2z"
}), 'ManageSearch'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Map.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Map.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M15 19l-6-2.11V5l6 2.11z"
}), 'Map'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Markunread.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Markunread.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"
}), 'Markunread'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MedicalServices.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MedicalServices.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 6h-4V4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2M10 4h4v2h-4zm6 11h-3v3h-2v-3H8v-2h3v-3h2v3h3z"
}), 'MedicalServices'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Medication.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Medication.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6 3h12v2H6zm11 3H7c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-1 9h-2.5v2.5h-3V15H8v-3h2.5V9.5h3V12H16z"
}), 'Medication'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MenuBook.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MenuBook.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1m0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17.5 10.5c.88 0 1.73.09 2.5.26V9.24c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99M13 12.49v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26V11.9c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.3-4.5.83m4.5 1.84c-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26v-1.52c-.79-.16-1.64-.24-2.5-.24"
}, "1")], 'MenuBook'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MonetizationOn.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MonetizationOn.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16"
}), 'MonetizationOn'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MoreHoriz.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MoreHoriz.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
}), 'MoreHoriz'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Movie.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Movie.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m18 4 2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"
}), 'Movie'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Moving.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Moving.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.71 9.71 22 12V6h-6l2.29 2.29-4.17 4.17c-.39.39-1.02.39-1.41 0l-1.17-1.17c-1.17-1.17-3.07-1.17-4.24 0L2 16.59 3.41 18l5.29-5.29c.39-.39 1.02-.39 1.41 0l1.17 1.17c1.17 1.17 3.07 1.17 4.24 0z"
}), 'Moving'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Museum.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Museum.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 11V9L12 2 2 9v2h2v9H2v2h20v-2h-2v-9zm-6 7h-2v-4l-2 3-2-3v4H8v-7h2l2 3 2-3h2z"
}), 'Museum'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MusicNote.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MusicNote.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3z"
}), 'MusicNote'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MusicVideo.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/MusicVideo.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H3V5h18zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3"
}), 'MusicVideo'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Nature.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Nature.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 16.12c3.47-.41 6.17-3.36 6.17-6.95 0-3.87-3.13-7-7-7s-7 3.13-7 7c0 3.47 2.52 6.34 5.83 6.89V20H5v2h14v-2h-6z"
}), 'Nature'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/NavigateBefore.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/NavigateBefore.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
}), 'NavigateBefore'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/NavigateNext.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/NavigateNext.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
}), 'NavigateNext'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Nightlight.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Nightlight.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14 2c1.82 0 3.53.5 5 1.35-2.99 1.73-5 4.95-5 8.65s2.01 6.92 5 8.65c-1.47.85-3.18 1.35-5 1.35-5.52 0-10-4.48-10-10S8.48 2 14 2"
}), 'Nightlight'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OfflineBolt.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OfflineBolt.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2.02c-5.51 0-9.98 4.47-9.98 9.98s4.47 9.98 9.98 9.98 9.98-4.47 9.98-9.98S17.51 2.02 12 2.02M11.48 20v-6.26H8L13 4v6.26h3.35z"
}), 'OfflineBolt'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OilBarrel.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OilBarrel.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 13c.55 0 1-.45 1-1s-.45-1-1-1h-1V5h1c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1h1v6H4c-.55 0-1 .45-1 1s.45 1 1 1h1v6H4c-.55 0-1 .45-1 1s.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1h-1v-6zm-8 3c-1.66 0-3-1.32-3-2.95 0-1.3.52-1.67 3-4.55 2.47 2.86 3 3.24 3 4.55 0 1.63-1.34 2.95-3 2.95"
}), 'OilBarrel'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/OpenInNew.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
}), 'OpenInNew'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Palette.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Palette.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"
}), 'Palette'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Panorama.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Panorama.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M23 18V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2M8.5 12.5l2.5 3.01L14.5 11l4.5 6H5z"
}), 'Panorama'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Park.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Park.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17 12h2L12 2 5.05 12H7l-3.9 6h6.92v4h3.96v-4H21z"
}), 'Park'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Payments.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Payments.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 14V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2m-9-1c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m13-6v11c0 1.1-.9 2-2 2H4v-2h17V7z"
}), 'Payments'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PedalBike.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PedalBike.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m18.18 10-1.7-4.68C16.19 4.53 15.44 4 14.6 4H12v2h2.6l1.46 4h-4.81l-.36-1H12V7H7v2h1.75l1.82 5H9.9c-.44-2.23-2.31-3.88-4.65-3.99C2.45 9.87 0 12.2 0 15s2.2 5 5 5c2.46 0 4.45-1.69 4.9-4h4.2c.44 2.23 2.31 3.88 4.65 3.99 2.8.13 5.25-2.19 5.25-5 0-2.8-2.2-5-5-5h-.82zM7.82 16c-.4 1.17-1.49 2-2.82 2-1.68 0-3-1.32-3-3s1.32-3 3-3c1.33 0 2.42.83 2.82 2H5v2zm6.28-2h-1.4l-.73-2H15c-.44.58-.76 1.25-.9 2m4.9 4c-1.68 0-3-1.32-3-3 0-.93.41-1.73 1.05-2.28l.96 2.64 1.88-.68-.97-2.67c.03 0 .06-.01.09-.01 1.68 0 3 1.32 3 3s-1.33 3-3.01 3"
}), 'PedalBike'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/People.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/People.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"
}), 'People'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAdd.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAdd.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"
}), 'PersonAdd'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAddDisabled.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PersonAddDisabled.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "15",
  cy: "8",
  r: "4"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M23 20v-2c0-2.3-4.1-3.7-6.9-3.9l6 5.9zm-11.6-5.5C9.2 15.1 7 16.3 7 18v2h9.9l4 4 1.3-1.3-21-20.9L0 3.1l4 4V10H1v2h3v3h2v-3h2.9zM6 10v-.9l.9.9z"
}, "1")], 'PersonAddDisabled'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Pets.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Pets.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "4.5",
  cy: "9.5",
  r: "2.5"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "9",
  cy: "5.5",
  r: "2.5"
}, "1"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "15",
  cy: "5.5",
  r: "2.5"
}, "2"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "19.5",
  cy: "9.5",
  r: "2.5"
}, "3"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32q-.165-.06-.33-.09c-.25-.04-.52-.04-.78-.04s-.53 0-.79.05q-.165.03-.33.09c-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8"
}, "4")], 'Pets'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PhotoCamera.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PhotoCamera.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "12",
  cy: "12",
  r: "3.2"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"
}, "1")], 'PhotoCamera'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PieChart.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PieChart.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10m2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99m0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99z"
}), 'PieChart'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Place.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Place.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"
}), 'Place'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PlayCircle.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PlayCircle.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M9.5 16.5v-9l7 4.5z"
}), 'PlayCircle'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Policy.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Policy.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m21 5-9-4-9 4v6c0 5.55 3.84 10.74 9 12 2.3-.56 4.33-1.9 5.88-3.71l-3.12-3.12c-1.94 1.29-4.58 1.07-6.29-.64-1.95-1.95-1.95-5.12 0-7.07s5.12-1.95 7.07 0c1.71 1.71 1.92 4.35.64 6.29l2.9 2.9C20.29 15.69 21 13.38 21 11z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "12",
  cy: "12",
  r: "3"
}, "1")], 'Policy'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Polyline.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Polyline.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15 16v1.26l-6-3v-3.17L11.7 8H16V2h-6v4.9L7.3 10H3v6h5l7 3.5V22h6v-6z"
}), 'Polyline'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Pool.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Pool.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 21c-1.11 0-1.73-.37-2.18-.64-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.46.27-1.07.64-2.18.64s-1.73-.37-2.18-.64c-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.46.27-1.08.64-2.19.64s-1.73-.37-2.18-.64c-.37-.23-.6-.36-1.15-.36s-.78.13-1.15.36c-.46.27-1.08.64-2.19.64v-2c.56 0 .78-.13 1.15-.36.46-.27 1.08-.64 2.19-.64s1.73.37 2.18.64c.37.23.59.36 1.15.36s.78-.13 1.15-.36c.46-.27 1.08-.64 2.19-.64s1.73.37 2.18.64c.37.22.6.36 1.15.36s.78-.13 1.15-.36c.45-.27 1.07-.64 2.18-.64s1.73.37 2.18.64c.37.23.59.36 1.15.36zm0-4.5c-1.11 0-1.73-.37-2.18-.64-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.45.27-1.07.64-2.18.64s-1.73-.37-2.18-.64c-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.45.27-1.07.64-2.18.64s-1.73-.37-2.18-.64c-.37-.22-.6-.36-1.15-.36s-.78.13-1.15.36c-.47.27-1.09.64-2.2.64v-2c.56 0 .78-.13 1.15-.36.45-.27 1.07-.64 2.18-.64s1.73.37 2.18.64c.37.22.6.36 1.15.36.56 0 .78-.13 1.15-.36.45-.27 1.07-.64 2.18-.64s1.73.37 2.18.64c.37.22.6.36 1.15.36s.78-.13 1.15-.36c.45-.27 1.07-.64 2.18-.64s1.73.37 2.18.64c.37.22.6.36 1.15.36v2zM8.67 12c.56 0 .78-.13 1.15-.36.46-.27 1.08-.64 2.19-.64s1.73.37 2.18.64c.37.22.6.36 1.15.36s.78-.13 1.15-.36c.12-.07.26-.15.41-.23L10.48 5C8.93 3.45 7.5 2.99 5 3v2.5c1.82-.01 2.89.39 4 1.5l1 1-3.25 3.25c.31.12.56.27.77.39.37.23.59.36 1.15.36"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "16.5",
  cy: "5.5",
  r: "2.5"
}, "1")], 'Pool'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Portrait.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Portrait.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 12.25c1.24 0 2.25-1.01 2.25-2.25S13.24 7.75 12 7.75 9.75 8.76 9.75 10s1.01 2.25 2.25 2.25m4.5 4c0-1.5-3-2.25-4.5-2.25s-4.5.75-4.5 2.25V17h9zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14z"
}), 'Portrait'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Power.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Power.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16.01 7 16 3h-2v4h-4V3H8v4h-.01C7 6.99 6 7.99 6 8.99v5.49L9.5 18v3h5v-3l3.5-3.51v-5.5c0-1-1-2-1.99-1.99"
}), 'Power'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Print.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Print.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3m-3 11H8v-5h8zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m-1-9H6v4h12z"
}), 'Print'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PriorityHigh.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PriorityHigh.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "12",
  cy: "19",
  r: "2"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 3h4v12h-4z"
}, "1")], 'PriorityHigh'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Psychology.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Psychology.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 8.57c-.79 0-1.43.64-1.43 1.43s.64 1.43 1.43 1.43 1.43-.64 1.43-1.43-.64-1.43-1.43-1.43"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 3C9.25 3 6.2 5.94 6.02 9.64L4.1 12.2c-.25.33-.01.8.4.8H6v3c0 1.1.9 2 2 2h1v3h7v-4.68c2.36-1.12 4-3.53 4-6.32 0-3.87-3.13-7-7-7m3 7c0 .13-.01.26-.02.39l.83.66c.08.06.1.16.05.25l-.8 1.39c-.05.09-.16.12-.24.09l-.99-.4c-.21.16-.43.29-.67.39L14 13.83c-.01.1-.1.17-.2.17h-1.6c-.1 0-.18-.07-.2-.17l-.15-1.06c-.25-.1-.47-.23-.68-.39l-.99.4c-.09.03-.2 0-.25-.09l-.8-1.39c-.05-.08-.03-.19.05-.25l.84-.66c-.01-.13-.02-.26-.02-.39s.02-.27.04-.39l-.85-.66c-.08-.06-.1-.16-.05-.26l.8-1.38c.05-.09.15-.12.24-.09l1 .4c.2-.15.43-.29.67-.39L12 6.17c.02-.1.1-.17.2-.17h1.6c.1 0 .18.07.2.17l.15 1.06c.24.1.46.23.67.39l1-.4c.09-.03.2 0 .24.09l.8 1.38c.05.09.03.2-.05.26l-.85.66c.03.12.04.25.04.39"
}, "1")], 'Psychology'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Public.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"
}), 'Public'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PublicOff.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PublicOff.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 8.17 6.49 3.66C8.07 2.61 9.96 2 12 2c5.52 0 10 4.48 10 10 0 2.04-.61 3.93-1.66 5.51l-1.46-1.46C19.59 14.87 20 13.48 20 12c0-3.35-2.07-6.22-5-7.41V5c0 1.1-.9 2-2 2h-2zm10.19 13.02-1.41 1.41-2.27-2.27C15.93 21.39 14.04 22 12 22 6.48 22 2 17.52 2 12c0-2.04.61-3.93 1.66-5.51L1.39 4.22 2.8 2.81zM11 18c-1.1 0-2-.9-2-2v-1l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.08 3.05 7.44 7 7.93z"
}), 'PublicOff'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Publish.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Publish.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M5 4v2h14V4zm0 10h4v6h6v-6h4l-7-7z"
}), 'Publish'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PushPin.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PushPin.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  fillRule: "evenodd",
  d: "M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"
}), 'PushPin'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PushPinOutlined.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/PushPinOutlined.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M14 4v5c0 1.12.37 2.16 1 3H9c.65-.86 1-1.9 1-3V4zm3-2H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3V4h1c.55 0 1-.45 1-1s-.45-1-1-1"
}), 'PushPinOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/QuestionAnswer.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/QuestionAnswer.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1m-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1"
}), 'QuestionAnswer'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Quiz.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Quiz.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-5.99 13c-.59 0-1.05-.47-1.05-1.05 0-.59.47-1.04 1.05-1.04.59 0 1.04.45 1.04 1.04-.01.58-.45 1.05-1.04 1.05m2.5-6.17c-.63.93-1.23 1.21-1.56 1.81-.13.24-.18.4-.18 1.18h-1.52c0-.41-.06-1.08.26-1.65.41-.73 1.18-1.16 1.63-1.8.48-.68.21-1.94-1.14-1.94-.88 0-1.32.67-1.5 1.23l-1.37-.57C11.51 5.96 12.52 5 13.99 5c1.23 0 2.08.56 2.51 1.26.37.61.58 1.73.01 2.57"
}, "1")], 'Quiz'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Receipt.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Receipt.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18 17H6v-2h12zm0-4H6v-2h12zm0-4H6V7h12zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2z"
}), 'Receipt'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Recycling.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Recycling.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M5.77 7.15 7.2 4.78l1.03-1.71c.39-.65 1.33-.65 1.72 0l1.48 2.46-1.23 2.06-1 1.62zm15.95 5.82-1.6-2.66-3.46 2L18.87 16H20c.76 0 1.45-.43 1.79-1.11.14-.28.21-.58.21-.89 0-.36-.1-.71-.28-1.03M16 21h1.5c.76 0 1.45-.43 1.79-1.11L20.74 17H16v-2l-4 4 4 4zm-6-4H5.7l-.84 1.41c-.3.5-.32 1.12-.06 1.65.28.57.87.94 1.52.94H10zm-3.88-2.65 1.73 1.04L6.48 9.9 1 11.27l1.7 1.02-.41.69c-.35.59-.38 1.31-.07 1.92l1.63 3.26zm10.9-9.21-1.3-2.17C15.35 2.37 14.7 2 14 2h-3.53l3.12 5.2-1.72 1.03 5.49 1.37 1.37-5.49z"
}), 'Recycling'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Refresh.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Refresh.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"
}), 'Refresh'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/RemoveCircle.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/RemoveCircle.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11H7v-2h10z"
}), 'RemoveCircle'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Reply.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Reply.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11"
}), 'Reply'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Report.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Report.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM12 17.3c-.72 0-1.3-.58-1.3-1.3s.58-1.3 1.3-1.3 1.3.58 1.3 1.3-.58 1.3-1.3 1.3m1-4.3h-2V7h2z"
}), 'Report'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ReportGmailerrorredOutlined.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ReportGmailerrorredOutlined.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM19 14.9 14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("circle", {
  cx: "12",
  cy: "16",
  r: "1"
}, "1"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 7h2v7h-2z"
}, "2")], 'ReportGmailerrorredOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Restaurant.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Restaurant.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4"
}), 'Restaurant'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Sailing.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Sailing.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 13.5V2L3 13.5zm10 0C21 6.5 14.5 1 12.5 1c0 0 1 3 1 6.5s-1 6-1 6zm1 1.5H2c.31 1.53 1.16 2.84 2.33 3.73.65-.27 1.22-.72 1.67-1.23.73.84 1.8 1.5 3 1.5s2.27-.66 3-1.5c.73.84 1.8 1.5 3 1.5s2.26-.66 3-1.5c.45.51 1.02.96 1.67 1.23 1.17-.89 2.02-2.2 2.33-3.73m0 8v-2h-1c-1.04 0-2.08-.35-3-1-1.83 1.3-4.17 1.3-6 0-1.83 1.3-4.17 1.3-6 0-.91.65-1.96 1-3 1H2v2h1c1.03 0 2.05-.25 3-.75 1.89 1 4.11 1 6 0 1.89 1 4.11 1 6 0 .95.5 1.97.75 3 .75z"
}), 'Sailing'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Save.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Save.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"
}), 'Save'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Savings.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Savings.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m19.83 7.5-2.27-2.27c.07-.42.18-.81.32-1.15.08-.18.12-.37.12-.58 0-.83-.67-1.5-1.5-1.5-1.64 0-3.09.79-4 2h-5C4.46 4 2 6.46 2 9.5S4.5 21 4.5 21H10v-2h2v2h5.5l1.68-5.59 2.82-.94V7.5zM13 9H8V7h5zm3 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"
}), 'Savings'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/School.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/School.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"
}), 'School'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Science.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Science.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.8 18.4 14 10.67V6.5l1.35-1.69c.26-.33.03-.81-.39-.81H9.04c-.42 0-.65.48-.39.81L10 6.5v4.17L4.2 18.4c-.49.66-.02 1.6.8 1.6h14c.82 0 1.29-.94.8-1.6"
}), 'Science'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Search.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
}), 'Search'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SearchOff.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SearchOff.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3 6.08 3 3.28 5.64 3.03 9h2.02C5.3 6.75 7.18 5 9.5 5 11.99 5 14 7.01 14 9.5S11.99 14 9.5 14c-.17 0-.33-.03-.5-.05v2.02c.17.02.33.03.5.03 1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6.47 10.82 4 13.29l-2.47-2.47-.71.71L3.29 14 .82 16.47l.71.71L4 14.71l2.47 2.47.71-.71L4.71 14l2.47-2.47z"
}, "1")], 'SearchOff'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Security.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Security.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"
}), 'Security'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Settings.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"
}), 'Settings'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsApplications.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsApplications.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69s.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69"
}), 'SettingsApplications'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsInputAntenna.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsInputAntenna.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7m1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 10.62 9.5 12c0 1.02.62 1.9 1.5 2.29v3.3L7.59 21 9 22.41l3-3 3 3L16.41 21 13 17.59zM12 1C5.93 1 1 5.93 1 12h2c0-4.97 4.03-9 9-9s9 4.03 9 9h2c0-6.07-4.93-11-11-11"
}), 'SettingsInputAntenna'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsInputComponent.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsInputComponent.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6z"
}), 'SettingsInputComponent'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsVoice.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SettingsVoice.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7 24h2v-2H7zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3m-1 11h2v-2h-2zm4 0h2v-2h-2zm4-14h-1.7c0 3-2.54 5.1-5.3 5.1S6.7 13 6.7 10H5c0 3.41 2.72 6.23 6 6.72V20h2v-3.28c3.28-.49 6-3.31 6-6.72"
}), 'SettingsVoice'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShoppingBag.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShoppingBag.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-8 4c0 .55-.45 1-1 1s-1-.45-1-1V8h2zm2-6c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m4 6c0 .55-.45 1-1 1s-1-.45-1-1V8h2z"
}), 'ShoppingBag'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShoppingCart.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShoppingCart.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"
}), 'ShoppingCart'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShowChart.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ShowChart.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"
}), 'ShowChart'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Signpost.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Signpost.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 10h5l3-3-3-3h-5V2h-2v2H4v6h7v2H6l-3 3 3 3h5v4h2v-4h7v-6h-7z"
}), 'Signpost'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SlowMotionVideo.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SlowMotionVideo.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13.05 9.79 10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zm0 0L10 7.5v9l3.05-2.29L16 12zM11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1.11-.86 2.44-1.44 3.9-1.62M5.69 7.1 4.26 5.68C3.05 7.16 2.25 8.99 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9M4.07 13H2.05c.2 2.01 1 3.84 2.21 5.32l1.43-1.43c-.86-1.1-1.44-2.43-1.62-3.89m1.61 6.74C7.16 20.95 9 21.75 11 21.95v-2.02c-1.46-.18-2.79-.76-3.9-1.62zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12"
}), 'SlowMotionVideo'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SolarPower.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SolarPower.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M3.33 16H11v-3H4zM13 16h7.67L20 13h-7zm8.11 2H13v4h9zM2 22h9v-4H2.89zm9-14h2v3h-2zm4.7644-.7948 1.4143-1.4142L19.3 7.9123l-1.4142 1.4142zm-11.0596.7076 2.1213-2.1213 1.4143 1.4142L6.119 9.327zM3 2h3v2H3zm15 0h3v2h-3zm-6 5c2.76 0 5-2.24 5-5H7c0 2.76 2.24 5 5 5"
}), 'SolarPower'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Spa.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Spa.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M8.55 12c-1.07-.71-2.25-1.27-3.53-1.61 1.28.34 2.46.9 3.53 1.61m10.43-1.61c-1.29.34-2.49.91-3.57 1.64 1.08-.73 2.28-1.3 3.57-1.64"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.49 9.63c-.18-2.79-1.31-5.51-3.43-7.63-2.14 2.14-3.32 4.86-3.55 7.63 1.28.68 2.46 1.56 3.49 2.63 1.03-1.06 2.21-1.94 3.49-2.63m-6.5 2.65c-.14-.1-.3-.19-.45-.29.15.11.31.19.45.29m6.42-.25c-.13.09-.27.16-.4.26.13-.1.27-.17.4-.26M12 15.45C9.85 12.17 6.18 10 2 10c0 5.32 3.36 9.82 8.03 11.49.63.23 1.29.4 1.97.51.68-.12 1.33-.29 1.97-.51C18.64 19.82 22 15.32 22 10c-4.18 0-7.85 2.17-10 5.45"
}, "1")], 'Spa'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Spoke.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Spoke.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M16 7c0 2.21-1.79 4-4 4S8 9.21 8 7s1.79-4 4-4 4 1.79 4 4m-9 6c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m10 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4"
}), 'Spoke'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SportsSoccer.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SportsSoccer.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 3.3 1.35-.95c1.82.56 3.37 1.76 4.38 3.34l-.39 1.34-1.35.46L13 6.7zm-3.35-.95L11 5.3v1.4L7.01 9.49l-1.35-.46-.39-1.34c1.01-1.57 2.56-2.77 4.38-3.34M7.08 17.11l-1.14.1C4.73 15.81 4 13.99 4 12c0-.12.01-.23.02-.35l1-.73 1.38.48 1.46 4.34zm7.42 2.48c-.79.26-1.63.41-2.5.41s-1.71-.15-2.5-.41l-.69-1.49.64-1.1h5.11l.64 1.11zM14.27 15H9.73l-1.35-4.02L12 8.44l3.63 2.54zm3.79 2.21-1.14-.1-.79-1.37 1.46-4.34 1.39-.47 1 .73c.01.11.02.22.02.34 0 1.99-.73 3.81-1.94 5.21"
}), 'SportsSoccer'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SportsTennis.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/SportsTennis.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.52 2.49C17.18.15 12.9.62 9.97 3.55c-1.6 1.6-2.52 3.87-2.54 5.46-.02 1.58.26 3.89-1.35 5.5l-4.24 4.24 1.42 1.42 4.24-4.24c1.61-1.61 3.92-1.33 5.5-1.35s3.86-.94 5.46-2.54c2.92-2.93 3.4-7.21 1.06-9.55m-9.2 9.19c-1.53-1.53-1.05-4.61 1.06-6.72s5.18-2.59 6.72-1.06c1.53 1.53 1.05 4.61-1.06 6.72s-5.18 2.59-6.72 1.06M18 17c.53 0 1.04.21 1.41.59.78.78.78 2.05 0 2.83-.37.37-.88.58-1.41.58s-1.04-.21-1.41-.59c-.78-.78-.78-2.05 0-2.83.37-.37.88-.58 1.41-.58m0-2c-1.02 0-2.05.39-2.83 1.17-1.56 1.56-1.56 4.09 0 5.66.78.78 1.81 1.17 2.83 1.17s2.05-.39 2.83-1.17c1.56-1.56 1.56-4.09 0-5.66C20.05 15.39 19.02 15 18 15"
}), 'SportsTennis'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/StackedLineChart.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/StackedLineChart.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m2 19.99 7.5-7.51 4 4 7.09-7.97L22 9.92l-8.5 9.56-4-4-6 6.01zm1.5-4.5 6-6.01 4 4L22 3.92l-1.41-1.41-7.09 7.97-4-4L2 13.99z"
}), 'StackedLineChart'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Star.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Star.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"
}), 'Star'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/StarBorder.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/StarBorder.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"
}), 'StarBorder'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Support.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Support.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m7.46 7.12-2.78 1.15c-.51-1.36-1.58-2.44-2.95-2.94l1.15-2.78c2.1.8 3.77 2.47 4.58 4.57M12 15c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3M9.13 4.54l1.17 2.78c-1.38.5-2.47 1.59-2.98 2.97L4.54 9.13c.81-2.11 2.48-3.78 4.59-4.59M4.54 14.87l2.78-1.15c.51 1.38 1.59 2.46 2.97 2.96l-1.17 2.78c-2.1-.81-3.77-2.48-4.58-4.59m10.34 4.59-1.15-2.78c1.37-.51 2.45-1.59 2.95-2.97l2.78 1.17c-.81 2.1-2.48 3.77-4.58 4.58"
}), 'Support'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Sync.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Sync.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"
}), 'Sync'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TableChart.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TableChart.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"
}), 'TableChart'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TagFaces.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TagFaces.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5m-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11m3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5"
}), 'TagFaces'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Terrain.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Terrain.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m14 6-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22z"
}), 'Terrain'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TheaterComedy.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TheaterComedy.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M2 16.5C2 19.54 4.46 22 7.5 22s5.5-2.46 5.5-5.5V10H2zm5.5 2C6.12 18.5 5 17.83 5 17h5c0 .83-1.12 1.5-2.5 1.5M10 13c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m-5 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 3v6h3v2.5c0-.83 1.12-1.5 2.5-1.5s2.5.67 2.5 1.5h-5v2.89c.75.38 1.6.61 2.5.61 3.04 0 5.5-2.46 5.5-5.5V3zm3 5.08c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1c0 .56-.45 1-1 1m5 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1c0 .56-.45 1-1 1"
}, "1")], 'TheaterComedy'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ThumbUp.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/ThumbUp.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M1 21h4V9H1zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73z"
}), 'ThumbUp'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Token.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Token.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19.97 6.43 12 2 4.03 6.43 9.1 9.24C9.83 8.48 10.86 8 12 8s2.17.48 2.9 1.24zM10 12c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2m1 9.44L3 17V8.14l5.13 2.85c-.09.32-.13.66-.13 1.01 0 1.86 1.27 3.43 3 3.87zm2 0v-5.57c1.73-.44 3-2.01 3-3.87 0-.35-.04-.69-.13-1.01L21 8.14V17z"
}), 'Token'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Traffic.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Traffic.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 10h-3V8.86c1.72-.45 3-2 3-3.86h-3V4c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v1H4c0 1.86 1.28 3.41 3 3.86V10H4c0 1.86 1.28 3.41 3 3.86V15H4c0 1.86 1.28 3.41 3 3.86V20c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-1.14c1.72-.45 3-2 3-3.86h-3v-1.14c1.72-.45 3-2 3-3.86m-8 9c-1.11 0-2-.9-2-2s.89-2 2-2c1.1 0 2 .9 2 2s-.89 2-2 2m0-5c-1.11 0-2-.9-2-2s.89-2 2-2c1.1 0 2 .9 2 2s-.89 2-2 2m0-5c-1.11 0-2-.9-2-2 0-1.11.89-2 2-2 1.1 0 2 .89 2 2 0 1.1-.89 2-2 2"
}), 'Traffic'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Train.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Train.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2c-4 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h2.23l2-2H14l2 2h2v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4M7.5 17c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17m3.5-7H6V6h5zm2 0V6h5v4zm3.5 7c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"
}), 'Train'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Transcribe.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Transcribe.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m17.93 16 1.63-1.63c-2.77-3.02-2.77-7.56 0-10.74L17.93 2c-3.9 3.89-3.91 9.95 0 14m4.99-5.05c-.84-1.18-.84-2.71 0-3.89l-1.68-1.69c-2.02 2.02-2.02 5.07 0 7.27zM9 13c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m6.39 2.56C13.71 14.7 11.53 14 9 14s-4.71.7-6.39 1.56C1.61 16.07 1 17.1 1 18.22V21h16v-2.78c0-1.12-.61-2.15-1.61-2.66"
}), 'Transcribe'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Translate.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Translate.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"
}), 'Translate'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TrendingUp.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/TrendingUp.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"
}), 'TrendingUp'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Tune.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Tune.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"
}), 'Tune'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Unarchive.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Unarchive.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "m20.55 5.22-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.49-.17-.93-.45-1.28M12 9.5l5.5 5.5H14v2h-4v-2H6.5zM5.12 5l.82-1h12l.93 1z"
}), 'Unarchive'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Vaccines.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Vaccines.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 5.5H8V4h.5c.55 0 1-.45 1-1s-.45-1-1-1h-3c-.55 0-1 .45-1 1s.45 1 1 1H6v1.5H3c-.55 0-1 .45-1 1s.45 1 1 1V15c0 1.1.9 2 2 2h1v4l2 1.5V17h1c1.1 0 2-.9 2-2V7.5c.55 0 1-.45 1-1s-.45-1-1-1M9 9H7.25c-.41 0-.75.34-.75.75s.34.75.75.75H9V12H7.25c-.41 0-.75.34-.75.75s.34.75.75.75H9V15H5V7.5h4zm10.5 1.5V10c.55 0 1-.45 1-1s-.45-1-1-1h-5c-.55 0-1 .45-1 1s.45 1 1 1v.5c0 .5-1.5 1.16-1.5 3V20c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2v-6.5c0-1.84-1.5-2.5-1.5-3m-3 0V10h1v.5c0 1.6 1.5 2 1.5 3v.5h-4v-.5c0-1 1.5-1.4 1.5-3M15 20v-1.5h4V20z"
}), 'Vaccines'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VerifiedUser.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VerifiedUser.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm-2 16-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z"
}), 'VerifiedUser'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Visibility.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
}), 'Visibility'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VisibilityOff.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VisibilityOff.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
}), 'VisibilityOff'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VolunteerActivism.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VolunteerActivism.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M1 11h4v11H1zm15-7.75C16.65 2.49 17.66 2 18.7 2 20.55 2 22 3.45 22 5.3c0 2.27-2.91 4.9-6 7.7-3.09-2.81-6-5.44-6-7.7C10 3.45 11.45 2 13.3 2c1.04 0 2.05.49 2.7 1.25M20 17h-7l-2.09-.73.33-.94L13 16h2.82c.65 0 1.18-.53 1.18-1.18 0-.49-.31-.93-.77-1.11L8.97 11H7v9.02L14 22l8.01-3c-.01-1.1-.9-2-2.01-2"
}), 'VolunteerActivism'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnKey.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnKey.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"
}), 'VpnKey'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnLock.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/VpnLock.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M22 4v-.5C22 2.12 20.88 1 19.5 1S17 2.12 17 3.5V4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1m-.8 0h-3.4v-.5c0-.94.76-1.7 1.7-1.7s1.7.76 1.7 1.7zm-2.28 8c.04.33.08.66.08 1 0 2.08-.8 3.97-2.1 5.39-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H7v-2h2c.55 0 1-.45 1-1V8h2c1.1 0 2-.9 2-2V3.46c-.95-.3-1.95-.46-3-.46C5.48 3 1 7.48 1 13s4.48 10 10 10 10-4.48 10-10c0-.34-.02-.67-.05-1zM10 20.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L8 16v1c0 1.1.9 2 2 2z"
}), 'VpnLock'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Warning.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Warning.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"
}), 'Warning'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WarningAmber.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WarningAmber.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 5.99 19.53 19H4.47zM12 2 1 21h22z"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 16h-2v2h2zm0-6h-2v5h2z"
}, "1")], 'WarningAmber'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Water.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Water.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M21.98 14H22zM5.35 13c1.19 0 1.42 1 3.33 1 1.95 0 2.09-1 3.33-1 1.19 0 1.42 1 3.33 1 1.95 0 2.09-1 3.33-1 1.19 0 1.4.98 3.31 1v-2c-1.19 0-1.42-1-3.33-1-1.95 0-2.09 1-3.33 1-1.19 0-1.42-1-3.33-1-1.95 0-2.09 1-3.33 1-1.19 0-1.42-1-3.33-1-1.95 0-2.09 1-3.33 1v2c1.9 0 2.17-1 3.35-1m13.32 2c-1.95 0-2.09 1-3.33 1-1.19 0-1.42-1-3.33-1-1.95 0-2.1 1-3.34 1s-1.38-1-3.33-1-2.1 1-3.34 1v2c1.95 0 2.11-1 3.34-1 1.24 0 1.38 1 3.33 1s2.1-1 3.34-1c1.19 0 1.42 1 3.33 1 1.94 0 2.09-1 3.33-1 1.19 0 1.42 1 3.33 1v-2c-1.24 0-1.38-1-3.33-1M5.35 9c1.19 0 1.42 1 3.33 1 1.95 0 2.09-1 3.33-1 1.19 0 1.42 1 3.33 1 1.95 0 2.09-1 3.33-1 1.19 0 1.4.98 3.31 1V8c-1.19 0-1.42-1-3.33-1-1.95 0-2.09 1-3.33 1-1.19 0-1.42-1-3.33-1-1.95 0-2.09 1-3.33 1-1.19 0-1.42-1-3.33-1C3.38 7 3.24 8 2 8v2c1.9 0 2.17-1 3.35-1"
}), 'Water'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WaterDrop.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WaterDrop.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2c-5.33 4.55-8 8.48-8 11.8 0 4.98 3.8 8.2 8 8.2s8-3.22 8-8.2c0-3.32-2.67-7.25-8-11.8M7.83 14c.37 0 .67.26.74.62.41 2.22 2.28 2.98 3.64 2.87.43-.02.79.32.79.75 0 .4-.32.73-.72.75-2.13.13-4.62-1.09-5.19-4.12-.08-.45.28-.87.74-.87"
}), 'WaterDrop'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Widgets.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Widgets.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M13 13v8h8v-8zM3 21h8v-8H3zM3 3v8h8V3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66z"
}), 'Widgets'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WindPower.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/WindPower.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])([/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M4 3h6v2H4zM1 7h5v2H1zm2 12h5v2H3zm10.73-8.39c.75.23 1.3.78 1.57 1.46l4.27-7.11c.65-1.08.3-2.48-.78-3.13-.87-.52-1.99-.41-2.73.29l-3.43 3.21c-.4.37-.63.9-.63 1.45v3.93c.36-.15.98-.33 1.73-.1m-3.12 1.66c.16-.52.48-.96.89-1.27H3.28C2.02 11 1 12.02 1 13.28c0 1.02.67 1.91 1.65 2.19l4.51 1.29c.53.15 1.1.08 1.58-.21l2.69-1.61c-.77-.62-1.13-1.67-.82-2.67m11.6 6.34-2.28-4.1c-.27-.48-.73-.83-1.26-.97l-3.18-.8c.03.32 0 .66-.1.99-.32 1.06-1.28 1.77-2.39 1.77-.61 0-.99-.22-1-.22V21c-1.1 0-2 .9-2 2h6c0-1.1-.9-2-2-2v-4.28l4.61 4.61c.89.89 2.33.89 3.22 0 .72-.72.88-1.83.38-2.72"
}, "0"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12.56 14.43c.79.24 1.63-.2 1.87-1 .24-.79-.2-1.63-1-1.87-.79-.24-1.63.2-1.87 1-.24.79.21 1.63 1 1.87"
}, "1")], 'WindPower'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Work.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+icons-material@7.3.11_@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19._417b31c996545a8ed49c4ea9d780aeb8/node_modules/@mui/icons-material/esm/Work.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
"use client";



/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-6 0h-4V4h4z"
}), 'Work'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/Accordion.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/Accordion.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Collapse_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Collapse/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _AccordionContext_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./AccordionContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/AccordionContext.js");
/* harmony import */ var _utils_useControlled_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/useControlled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _accordionClasses_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./accordionClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/accordionClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

















const useUtilityClasses = ownerState => {
  const {
    classes,
    square,
    expanded,
    disabled,
    disableGutters
  } = ownerState;
  const slots = {
    root: ['root', !square && 'rounded', expanded && 'expanded', disabled && 'disabled', !disableGutters && 'gutters'],
    heading: ['heading'],
    region: ['region']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _accordionClasses_js__WEBPACK_IMPORTED_MODULE_14__.getAccordionUtilityClass, classes);
};
const AccordionRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_10__["default"], {
  name: 'MuiAccordion',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_accordionClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].region}`]: styles.region
    }, styles.root, !ownerState.square && styles.rounded, !ownerState.disableGutters && styles.gutters];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => {
  const transition = {
    duration: theme.transitions.duration.shortest
  };
  return {
    position: 'relative',
    transition: theme.transitions.create(['margin'], transition),
    overflowAnchor: 'none',
    // Keep the same scrolling position
    '&::before': {
      position: 'absolute',
      left: 0,
      top: -1,
      right: 0,
      height: 1,
      content: '""',
      opacity: 1,
      backgroundColor: (theme.vars || theme).palette.divider,
      transition: theme.transitions.create(['opacity', 'background-color'], transition)
    },
    '&:first-of-type': {
      '&::before': {
        display: 'none'
      }
    },
    [`&.${_accordionClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].expanded}`]: {
      '&::before': {
        opacity: 0
      },
      '&:first-of-type': {
        marginTop: 0
      },
      '&:last-of-type': {
        marginBottom: 0
      },
      '& + &': {
        '&::before': {
          display: 'none'
        }
      }
    },
    [`&.${_accordionClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].disabled}`]: {
      backgroundColor: (theme.vars || theme).palette.action.disabledBackground
    }
  };
}), (0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  variants: [{
    props: props => !props.square,
    style: {
      borderRadius: 0,
      '&:first-of-type': {
        borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
        borderTopRightRadius: (theme.vars || theme).shape.borderRadius
      },
      '&:last-of-type': {
        borderBottomLeftRadius: (theme.vars || theme).shape.borderRadius,
        borderBottomRightRadius: (theme.vars || theme).shape.borderRadius,
        // Fix a rendering issue on Edge
        '@supports (-ms-ime-align: auto)': {
          borderBottomLeftRadius: 0,
          borderBottomRightRadius: 0
        }
      }
    }
  }, {
    props: props => !props.disableGutters,
    style: {
      [`&.${_accordionClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].expanded}`]: {
        margin: '16px 0'
      }
    }
  }]
})));
const AccordionHeading = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('h3', {
  name: 'MuiAccordion',
  slot: 'Heading'
})({
  all: 'unset'
});
const AccordionRegion = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiAccordion',
  slot: 'Region'
})({});
const Accordion = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Accordion(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiAccordion'
  });
  const {
    children: childrenProp,
    className,
    defaultExpanded = false,
    disabled = false,
    disableGutters = false,
    expanded: expandedProp,
    onChange,
    slots = {},
    slotProps = {},
    TransitionComponent: TransitionComponentProp,
    TransitionProps: TransitionPropsProp,
    ...other
  } = props;
  const [expanded, setExpandedState] = (0,_utils_useControlled_js__WEBPACK_IMPORTED_MODULE_12__["default"])({
    controlled: expandedProp,
    default: defaultExpanded,
    name: 'Accordion',
    state: 'expanded'
  });
  const handleChange = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    setExpandedState(!expanded);
    if (onChange) {
      onChange(event, !expanded);
    }
  }, [expanded, onChange, setExpandedState]);
  const [summary, ...children] = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(childrenProp);
  const contextValue = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    expanded,
    disabled,
    disableGutters,
    toggle: handleChange
  }), [expanded, disabled, disableGutters, handleChange]);
  const ownerState = {
    ...props,
    disabled,
    disableGutters,
    expanded
  };
  const classes = useUtilityClasses(ownerState);
  const backwardCompatibleSlots = {
    transition: TransitionComponentProp,
    ...slots
  };
  const backwardCompatibleSlotProps = {
    transition: TransitionPropsProp,
    ...slotProps
  };
  const externalForwardedProps = {
    slots: backwardCompatibleSlots,
    slotProps: backwardCompatibleSlotProps
  };
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('root', {
    elementType: AccordionRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    shouldForwardComponentProp: true,
    ownerState,
    ref
  });
  const [AccordionHeadingSlot, accordionProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('heading', {
    elementType: AccordionHeading,
    externalForwardedProps,
    className: classes.heading,
    ownerState
  });
  const [TransitionSlot, transitionProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('transition', {
    elementType: _Collapse_index_js__WEBPACK_IMPORTED_MODULE_9__["default"],
    externalForwardedProps,
    ownerState
  });
  const [AccordionRegionSlot, accordionRegionProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('region', {
    elementType: AccordionRegion,
    externalForwardedProps,
    ownerState,
    className: classes.region,
    additionalProps: {
      'aria-labelledby': summary.props.id,
      id: summary.props['aria-controls'],
      role: 'region'
    }
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(RootSlot, {
    ...rootProps,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(AccordionHeadingSlot, {
      ...accordionProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_AccordionContext_js__WEBPACK_IMPORTED_MODULE_11__["default"].Provider, {
        value: contextValue,
        children: summary
      })
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(TransitionSlot, {
      in: expanded,
      timeout: "auto",
      ...transitionProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(AccordionRegionSlot, {
        ...accordionRegionProps,
        children: children
      })
    })]
  });
});
 true ? Accordion.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_2__.node.isRequired, props => {
    const summary = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(props.children)[0];
    if ((0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(summary)) {
      return new Error("MUI: The Accordion doesn't accept a Fragment as a child. " + 'Consider providing an array instead.');
    }
    if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(summary)) {
      return new Error('MUI: Expected the first child of Accordion to be a valid element.');
    }
    return null;
  }),
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * If `true`, expands the accordion by default.
   * @default false
   */
  defaultExpanded: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, it removes the margin between two expanded accordion items and prevents the increased height when expanded.
   * @default false
   */
  disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, expands the accordion, otherwise collapses it.
   * Setting this prop enables control over the accordion.
   */
  expanded: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Callback fired when the expand/collapse state is changed.
   *
   * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
   * @param {boolean} expanded The `expanded` state of the accordion.
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    heading: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    region: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    heading: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    region: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
  /**
   * The component used for the transition.
   * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
   * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  TransitionComponent: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
  /**
   * Props applied to the transition element.
   * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
   * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  TransitionProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Accordion);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/AccordionContext.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/AccordionContext.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * @ignore - internal component.
 * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
 */
const AccordionContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
if (true) {
  AccordionContext.displayName = 'AccordionContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AccordionContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/accordionClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/accordionClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAccordionUtilityClass: () => (/* binding */ getAccordionUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getAccordionUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiAccordion', slot);
}
const accordionClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiAccordion', ['root', 'heading', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (accordionClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionDetails/AccordionDetails.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionDetails/AccordionDetails.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _accordionDetailsClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./accordionDetailsClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionDetails/accordionDetailsClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _accordionDetailsClasses_js__WEBPACK_IMPORTED_MODULE_7__.getAccordionDetailsUtilityClass, classes);
};
const AccordionDetailsRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiAccordionDetails',
  slot: 'Root'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  padding: theme.spacing(1, 2, 2)
})));
const AccordionDetails = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function AccordionDetails(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiAccordionDetails'
  });
  const {
    className,
    ...other
  } = props;
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(AccordionDetailsRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    ownerState: ownerState,
    ...other
  });
});
 true ? AccordionDetails.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AccordionDetails);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionDetails/accordionDetailsClasses.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionDetails/accordionDetailsClasses.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAccordionDetailsUtilityClass: () => (/* binding */ getAccordionDetailsUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getAccordionDetailsUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiAccordionDetails', slot);
}
const accordionDetailsClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiAccordionDetails', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (accordionDetailsClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionSummary/AccordionSummary.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionSummary/AccordionSummary.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _Accordion_AccordionContext_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Accordion/AccordionContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Accordion/AccordionContext.js");
/* harmony import */ var _accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./accordionSummaryClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionSummary/accordionSummaryClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const useUtilityClasses = ownerState => {
  const {
    classes,
    expanded,
    disabled,
    disableGutters
  } = ownerState;
  const slots = {
    root: ['root', expanded && 'expanded', disabled && 'disabled', !disableGutters && 'gutters'],
    focusVisible: ['focusVisible'],
    content: ['content', expanded && 'expanded', !disableGutters && 'contentGutters'],
    expandIconWrapper: ['expandIconWrapper', expanded && 'expanded']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__.getAccordionSummaryUtilityClass, classes);
};
const AccordionSummaryRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_7__["default"], {
  name: 'MuiAccordionSummary',
  slot: 'Root'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => {
  const transition = {
    duration: theme.transitions.duration.shortest
  };
  return {
    display: 'flex',
    width: '100%',
    minHeight: 48,
    padding: theme.spacing(0, 2),
    transition: theme.transitions.create(['min-height', 'background-color'], transition),
    [`&.${_accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].focusVisible}`]: {
      backgroundColor: (theme.vars || theme).palette.action.focus
    },
    [`&.${_accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].disabled}`]: {
      opacity: (theme.vars || theme).palette.action.disabledOpacity
    },
    [`&:hover:not(.${_accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].disabled})`]: {
      cursor: 'pointer'
    },
    variants: [{
      props: props => !props.disableGutters,
      style: {
        [`&.${_accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].expanded}`]: {
          minHeight: 64
        }
      }
    }]
  };
}));
const AccordionSummaryContent = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('span', {
  name: 'MuiAccordionSummary',
  slot: 'Content'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  display: 'flex',
  textAlign: 'start',
  flexGrow: 1,
  margin: '12px 0',
  variants: [{
    props: props => !props.disableGutters,
    style: {
      transition: theme.transitions.create(['margin'], {
        duration: theme.transitions.duration.shortest
      }),
      [`&.${_accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].expanded}`]: {
        margin: '20px 0'
      }
    }
  }]
})));
const AccordionSummaryExpandIconWrapper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('span', {
  name: 'MuiAccordionSummary',
  slot: 'ExpandIconWrapper'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  display: 'flex',
  color: (theme.vars || theme).palette.action.active,
  transform: 'rotate(0deg)',
  transition: theme.transitions.create('transform', {
    duration: theme.transitions.duration.shortest
  }),
  [`&.${_accordionSummaryClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].expanded}`]: {
    transform: 'rotate(180deg)'
  }
})));
const AccordionSummary = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function AccordionSummary(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiAccordionSummary'
  });
  const {
    children,
    className,
    expandIcon,
    focusVisibleClassName,
    onClick,
    slots,
    slotProps,
    ...other
  } = props;
  const {
    disabled = false,
    disableGutters,
    expanded,
    toggle
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_Accordion_AccordionContext_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
  const handleChange = event => {
    if (toggle) {
      toggle(event);
    }
    if (onClick) {
      onClick(event);
    }
  };
  const ownerState = {
    ...props,
    expanded,
    disabled,
    disableGutters
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots,
    slotProps
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__["default"])('root', {
    ref,
    shouldForwardComponentProp: true,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    elementType: AccordionSummaryRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    ownerState,
    additionalProps: {
      focusRipple: false,
      disableRipple: true,
      disabled,
      'aria-expanded': expanded,
      focusVisibleClassName: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.focusVisible, focusVisibleClassName)
    },
    getSlotProps: handlers => ({
      ...handlers,
      onClick: event => {
        handlers.onClick?.(event);
        handleChange(event);
      }
    })
  });
  const [ContentSlot, contentSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__["default"])('content', {
    className: classes.content,
    elementType: AccordionSummaryContent,
    externalForwardedProps,
    ownerState
  });
  const [ExpandIconWrapperSlot, expandIconWrapperSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__["default"])('expandIconWrapper', {
    className: classes.expandIconWrapper,
    elementType: AccordionSummaryExpandIconWrapper,
    externalForwardedProps,
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(RootSlot, {
    ...rootSlotProps,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(ContentSlot, {
      ...contentSlotProps,
      children: children
    }), expandIcon && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(ExpandIconWrapperSlot, {
      ...expandIconWrapperSlotProps,
      children: expandIcon
    })]
  });
});
 true ? AccordionSummary.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The icon to display as the expand indicator.
   */
  expandIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * This prop can help identify which element has keyboard focus.
   * The class name will be applied when the element gains the focus through keyboard interaction.
   * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
   * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
   * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
   * if needed.
   */
  focusVisibleClassName: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    content: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    expandIconWrapper: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    content: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    expandIconWrapper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AccordionSummary);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionSummary/accordionSummaryClasses.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AccordionSummary/accordionSummaryClasses.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAccordionSummaryUtilityClass: () => (/* binding */ getAccordionSummaryUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getAccordionSummaryUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiAccordionSummary', slot);
}
const accordionSummaryClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (accordionSummaryClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/Alert.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _alertClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./alertClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/alertClasses.js");
/* harmony import */ var _IconButton_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../IconButton/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _internal_svg_icons_SuccessOutlined_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internal/svg-icons/SuccessOutlined.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/SuccessOutlined.js");
/* harmony import */ var _internal_svg_icons_ReportProblemOutlined_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../internal/svg-icons/ReportProblemOutlined.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ReportProblemOutlined.js");
/* harmony import */ var _internal_svg_icons_ErrorOutline_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../internal/svg-icons/ErrorOutline.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ErrorOutline.js");
/* harmony import */ var _internal_svg_icons_InfoOutlined_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../internal/svg-icons/InfoOutlined.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/InfoOutlined.js");
/* harmony import */ var _internal_svg_icons_Close_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../internal/svg-icons/Close.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/Close.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';




















const useUtilityClasses = ownerState => {
  const {
    variant,
    color,
    severity,
    classes
  } = ownerState;
  const slots = {
    root: ['root', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(color || severity)}`, `${variant}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(color || severity)}`, `${variant}`],
    icon: ['icon'],
    message: ['message'],
    action: ['action']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _alertClasses_js__WEBPACK_IMPORTED_MODULE_11__.getAlertUtilityClass, classes);
};
const AlertRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_10__["default"], {
  name: 'MuiAlert',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(ownerState.color || ownerState.severity)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => {
  const getColor = theme.palette.mode === 'light' ? theme.darken : theme.lighten;
  const getBackgroundColor = theme.palette.mode === 'light' ? theme.lighten : theme.darken;
  return {
    ...theme.typography.body2,
    backgroundColor: 'transparent',
    display: 'flex',
    padding: '6px 16px',
    variants: [...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])(['light'])).map(([color]) => ({
      props: {
        colorSeverity: color,
        variant: 'standard'
      },
      style: {
        color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
        backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color}StandardBg`] : getBackgroundColor(theme.palette[color].light, 0.9),
        [`& .${_alertClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].icon}`]: theme.vars ? {
          color: theme.vars.palette.Alert[`${color}IconColor`]
        } : {
          color: theme.palette[color].main
        }
      }
    })), ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])(['light'])).map(([color]) => ({
      props: {
        colorSeverity: color,
        variant: 'outlined'
      },
      style: {
        color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
        border: `1px solid ${(theme.vars || theme).palette[color].light}`,
        [`& .${_alertClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].icon}`]: theme.vars ? {
          color: theme.vars.palette.Alert[`${color}IconColor`]
        } : {
          color: theme.palette[color].main
        }
      }
    })), ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])(['dark'])).map(([color]) => ({
      props: {
        colorSeverity: color,
        variant: 'filled'
      },
      style: {
        fontWeight: theme.typography.fontWeightMedium,
        ...(theme.vars ? {
          color: theme.vars.palette.Alert[`${color}FilledColor`],
          backgroundColor: theme.vars.palette.Alert[`${color}FilledBg`]
        } : {
          backgroundColor: theme.palette.mode === 'dark' ? theme.palette[color].dark : theme.palette[color].main,
          color: theme.palette.getContrastText(theme.palette[color].main)
        })
      }
    }))]
  };
}));
const AlertIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiAlert',
  slot: 'Icon'
})({
  marginRight: 12,
  padding: '7px 0',
  display: 'flex',
  fontSize: 22,
  opacity: 0.9
});
const AlertMessage = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiAlert',
  slot: 'Message'
})({
  padding: '8px 0',
  minWidth: 0,
  overflow: 'auto'
});
const AlertAction = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiAlert',
  slot: 'Action'
})({
  display: 'flex',
  alignItems: 'flex-start',
  padding: '4px 0 0 16px',
  marginLeft: 'auto',
  marginRight: -8
});
const defaultIconMapping = {
  success: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_internal_svg_icons_SuccessOutlined_js__WEBPACK_IMPORTED_MODULE_13__["default"], {
    fontSize: "inherit"
  }),
  warning: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_internal_svg_icons_ReportProblemOutlined_js__WEBPACK_IMPORTED_MODULE_14__["default"], {
    fontSize: "inherit"
  }),
  error: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_internal_svg_icons_ErrorOutline_js__WEBPACK_IMPORTED_MODULE_15__["default"], {
    fontSize: "inherit"
  }),
  info: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_internal_svg_icons_InfoOutlined_js__WEBPACK_IMPORTED_MODULE_16__["default"], {
    fontSize: "inherit"
  })
};
const Alert = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Alert(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiAlert'
  });
  const {
    action,
    children,
    className,
    closeText = 'Close',
    color,
    components = {},
    componentsProps = {},
    icon,
    iconMapping = defaultIconMapping,
    onClose,
    role = 'alert',
    severity = 'success',
    slotProps = {},
    slots = {},
    variant = 'standard',
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    severity,
    variant,
    colorSeverity: color || severity
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots: {
      closeButton: components.CloseButton,
      closeIcon: components.CloseIcon,
      ...slots
    },
    slotProps: {
      ...componentsProps,
      ...slotProps
    }
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_7__["default"])('root', {
    ref,
    shouldForwardComponentProp: true,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    elementType: AlertRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    ownerState,
    additionalProps: {
      role,
      elevation: 0
    }
  });
  const [IconSlot, iconSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_7__["default"])('icon', {
    className: classes.icon,
    elementType: AlertIcon,
    externalForwardedProps,
    ownerState
  });
  const [MessageSlot, messageSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_7__["default"])('message', {
    className: classes.message,
    elementType: AlertMessage,
    externalForwardedProps,
    ownerState
  });
  const [ActionSlot, actionSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_7__["default"])('action', {
    className: classes.action,
    elementType: AlertAction,
    externalForwardedProps,
    ownerState
  });
  const [CloseButtonSlot, closeButtonProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_7__["default"])('closeButton', {
    elementType: _IconButton_index_js__WEBPACK_IMPORTED_MODULE_12__["default"],
    externalForwardedProps,
    ownerState
  });
  const [CloseIconSlot, closeIconProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_7__["default"])('closeIcon', {
    elementType: _internal_svg_icons_Close_js__WEBPACK_IMPORTED_MODULE_17__["default"],
    externalForwardedProps,
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(RootSlot, {
    ...rootSlotProps,
    children: [icon !== false ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(IconSlot, {
      ...iconSlotProps,
      children: icon || iconMapping[severity] || defaultIconMapping[severity]
    }) : null, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(MessageSlot, {
      ...messageSlotProps,
      children: children
    }), action != null ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(ActionSlot, {
      ...actionSlotProps,
      children: action
    }) : null, action == null && onClose ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(ActionSlot, {
      ...actionSlotProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(CloseButtonSlot, {
        size: "small",
        "aria-label": closeText,
        title: closeText,
        color: "inherit",
        onClick: onClose,
        ...closeButtonProps,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(CloseIconSlot, {
          fontSize: "small",
          ...closeIconProps
        })
      })
    }) : null]
  });
});
 true ? Alert.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The action to display. It renders after the message, at the end of the alert.
   */
  action: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Override the default label for the *close popup* icon button.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'Close'
   */
  closeText: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component. Unless provided, the value is taken from the `severity` prop.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The components used for each slot inside.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    CloseButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    CloseIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    closeButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    closeIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * Override the icon displayed before the children.
   * Unless provided, the icon is mapped to the value of the `severity` prop.
   * Set to `false` to remove the `icon`.
   */
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The component maps the `severity` prop to a range of different icons,
   * for instance success to `<SuccessOutlined>`.
   * If you wish to change this mapping, you can provide your own.
   * Alternatively, you can use the `icon` prop to override the icon displayed.
   */
  iconMapping: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    error: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    info: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    success: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    warning: prop_types__WEBPACK_IMPORTED_MODULE_1__.node
  }),
  /**
   * Callback fired when the component requests to be closed.
   * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
   * @param {React.SyntheticEvent} event The event source of the callback.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The ARIA role attribute of the element.
   * @default 'alert'
   */
  role: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The severity of the alert. This defines the color and icon used.
   * @default 'success'
   */
  severity: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    action: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    closeButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    closeIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    message: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    action: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    closeButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    closeIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    message: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   * @default 'standard'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined', 'standard']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Alert);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/alertClasses.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Alert/alertClasses.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAlertUtilityClass: () => (/* binding */ getAlertUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getAlertUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiAlert', slot);
}
const alertClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'colorSuccess', 'colorInfo', 'colorWarning', 'colorError', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (alertClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AlertTitle/AlertTitle.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AlertTitle/AlertTitle.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _alertTitleClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./alertTitleClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AlertTitle/alertTitleClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _alertTitleClasses_js__WEBPACK_IMPORTED_MODULE_8__.getAlertTitleUtilityClass, classes);
};
const AlertTitleRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_Typography_index_js__WEBPACK_IMPORTED_MODULE_7__["default"], {
  name: 'MuiAlertTitle',
  slot: 'Root'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => {
  return {
    fontWeight: theme.typography.fontWeightMedium,
    marginTop: -2
  };
}));
const AlertTitle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function AlertTitle(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiAlertTitle'
  });
  const {
    className,
    ...other
  } = props;
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(AlertTitleRoot, {
    gutterBottom: true,
    component: "div",
    ownerState: ownerState,
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ...other
  });
});
 true ? AlertTitle.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AlertTitle);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AlertTitle/alertTitleClasses.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AlertTitle/alertTitleClasses.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAlertTitleUtilityClass: () => (/* binding */ getAlertTitleUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getAlertTitleUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiAlertTitle', slot);
}
const alertTitleClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiAlertTitle', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (alertTitleClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/AppBar.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/AppBar.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _appBarClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./appBarClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/appBarClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const useUtilityClasses = ownerState => {
  const {
    color,
    position,
    classes
  } = ownerState;
  const slots = {
    root: ['root', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`, `position${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(position)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _appBarClasses_js__WEBPACK_IMPORTED_MODULE_10__.getAppBarUtilityClass, classes);
};

// var2 is the fallback.
// Ex. var1: 'var(--a)', var2: 'var(--b)'; return: 'var(--a, var(--b))'
const joinVars = (var1, var2) => var1 ? `${var1.replace(')', '')}, ${var2})` : var2;
const AppBarRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_9__["default"], {
  name: 'MuiAppBar',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[`position${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(ownerState.position)}`], styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(ownerState.color)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  display: 'flex',
  flexDirection: 'column',
  width: '100%',
  boxSizing: 'border-box',
  // Prevent padding issue with the Modal and fixed positioned AppBar.
  flexShrink: 0,
  variants: [{
    props: {
      position: 'fixed'
    },
    style: {
      position: 'fixed',
      zIndex: (theme.vars || theme).zIndex.appBar,
      top: 0,
      left: 'auto',
      right: 0,
      '@media print': {
        // Prevent the app bar to be visible on each printed page.
        position: 'absolute'
      }
    }
  }, {
    props: {
      position: 'absolute'
    },
    style: {
      position: 'absolute',
      zIndex: (theme.vars || theme).zIndex.appBar,
      top: 0,
      left: 'auto',
      right: 0
    }
  }, {
    props: {
      position: 'sticky'
    },
    style: {
      position: 'sticky',
      zIndex: (theme.vars || theme).zIndex.appBar,
      top: 0,
      left: 'auto',
      right: 0
    }
  }, {
    props: {
      position: 'static'
    },
    style: {
      position: 'static'
    }
  }, {
    props: {
      position: 'relative'
    },
    style: {
      position: 'relative'
    }
  }, {
    props: {
      color: 'inherit'
    },
    style: {
      '--AppBar-color': 'inherit',
      color: 'var(--AppBar-color)'
    }
  }, {
    props: {
      color: 'default'
    },
    style: {
      '--AppBar-background': theme.vars ? theme.vars.palette.AppBar.defaultBg : theme.palette.grey[100],
      '--AppBar-color': theme.vars ? theme.vars.palette.text.primary : theme.palette.getContrastText(theme.palette.grey[100]),
      ...theme.applyStyles('dark', {
        '--AppBar-background': theme.vars ? theme.vars.palette.AppBar.defaultBg : theme.palette.grey[900],
        '--AppBar-color': theme.vars ? theme.vars.palette.text.primary : theme.palette.getContrastText(theme.palette.grey[900])
      })
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])(['contrastText'])).map(([color]) => ({
    props: {
      color
    },
    style: {
      '--AppBar-background': (theme.vars ?? theme).palette[color].main,
      '--AppBar-color': (theme.vars ?? theme).palette[color].contrastText
    }
  })), {
    props: props => props.enableColorOnDark === true && !['inherit', 'transparent'].includes(props.color),
    style: {
      backgroundColor: 'var(--AppBar-background)',
      color: 'var(--AppBar-color)'
    }
  }, {
    props: props => props.enableColorOnDark === false && !['inherit', 'transparent'].includes(props.color),
    style: {
      backgroundColor: 'var(--AppBar-background)',
      color: 'var(--AppBar-color)',
      ...theme.applyStyles('dark', {
        backgroundColor: theme.vars ? joinVars(theme.vars.palette.AppBar.darkBg, 'var(--AppBar-background)') : null,
        color: theme.vars ? joinVars(theme.vars.palette.AppBar.darkColor, 'var(--AppBar-color)') : null
      })
    }
  }, {
    props: {
      color: 'transparent'
    },
    style: {
      '--AppBar-background': 'transparent',
      '--AppBar-color': 'inherit',
      backgroundColor: 'var(--AppBar-background)',
      color: 'var(--AppBar-color)',
      ...theme.applyStyles('dark', {
        backgroundImage: 'none'
      })
    }
  }]
})));
const AppBar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function AppBar(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiAppBar'
  });
  const {
    className,
    color = 'primary',
    enableColorOnDark = false,
    position = 'fixed',
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    position,
    enableColorOnDark
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(AppBarRoot, {
    square: true,
    component: "header",
    ownerState: ownerState,
    elevation: 4,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className, position === 'fixed' && 'mui-fixed'),
    ref: ref,
    ...other
  });
});
 true ? AppBar.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Shadow depth, corresponds to `dp` in the spec.
   * It accepts values between 0 and 24 inclusive.
   * @default 4
   */
  elevation: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * If true, the `color` prop is applied in dark mode.
   * @default false
   */
  enableColorOnDark: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The positioning type. The behavior of the different options is described
   * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/position).
   * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
   * @default 'fixed'
   */
  position: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),
  /**
   * If `false`, rounded corners are enabled.
   * @default true
   */
  square: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AppBar);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/appBarClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/AppBar/appBarClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAppBarUtilityClass: () => (/* binding */ getAppBarUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getAppBarUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiAppBar', slot);
}
const appBarClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (appBarClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/Autocomplete.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/Autocomplete.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createFilterOptions: () => (/* reexport safe */ _useAutocomplete_index_js__WEBPACK_IMPORTED_MODULE_7__.createFilterOptions),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_useForcedRerendering__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/useForcedRerendering */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForcedRerendering/useForcedRerendering.js");
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _useAutocomplete_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../useAutocomplete/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useAutocomplete/useAutocomplete.js");
/* harmony import */ var _Popper_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Popper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js");
/* harmony import */ var _ListSubheader_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ListSubheader/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListSubheader/ListSubheader.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _IconButton_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../IconButton/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _Chip_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../Chip/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js");
/* harmony import */ var _Input_inputClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../Input/inputClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/inputClasses.js");
/* harmony import */ var _InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../InputBase/inputBaseClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js");
/* harmony import */ var _OutlinedInput_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../OutlinedInput/outlinedInputClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js");
/* harmony import */ var _FilledInput_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../FilledInput/filledInputClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js");
/* harmony import */ var _internal_svg_icons_Close_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../internal/svg-icons/Close.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/Close.js");
/* harmony import */ var _internal_svg_icons_ArrowDropDown_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../internal/svg-icons/ArrowDropDown.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./autocompleteClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/autocompleteClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

var _ClearIcon, _ArrowDropDownIcon;


























const useUtilityClasses = ownerState => {
  const {
    classes,
    disablePortal,
    expanded,
    focused,
    fullWidth,
    hasClearIcon,
    hasPopupIcon,
    inputFocused,
    popupOpen,
    size
  } = ownerState;
  const slots = {
    root: ['root', expanded && 'expanded', focused && 'focused', fullWidth && 'fullWidth', hasClearIcon && 'hasClearIcon', hasPopupIcon && 'hasPopupIcon'],
    inputRoot: ['inputRoot'],
    input: ['input', inputFocused && 'inputFocused'],
    tag: ['tag', `tagSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_23__["default"])(size)}`],
    endAdornment: ['endAdornment'],
    clearIndicator: ['clearIndicator'],
    popupIndicator: ['popupIndicator', popupOpen && 'popupIndicatorOpen'],
    popper: ['popper', disablePortal && 'popperDisablePortal'],
    paper: ['paper'],
    listbox: ['listbox'],
    loading: ['loading'],
    noOptions: ['noOptions'],
    option: ['option'],
    groupLabel: ['groupLabel'],
    groupUl: ['groupUl']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__.getAutocompleteUtilityClass, classes);
};
const AutocompleteRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])('div', {
  name: 'MuiAutocomplete',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    const {
      fullWidth,
      hasClearIcon,
      hasPopupIcon,
      inputFocused,
      size
    } = ownerState;
    return [{
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].tag}`]: styles.tag
    }, {
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].tag}`]: styles[`tagSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_23__["default"])(size)}`]
    }, {
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].inputRoot}`]: styles.inputRoot
    }, {
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: styles.input
    }, {
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: inputFocused && styles.inputFocused
    }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
  }
})({
  [`&.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].focused} .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].clearIndicator}`]: {
    visibility: 'visible'
  },
  /* Avoid double tap issue on iOS */
  '@media (pointer: fine)': {
    [`&:hover .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].clearIndicator}`]: {
      visibility: 'visible'
    }
  },
  [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].tag}`]: {
    margin: 3,
    maxWidth: 'calc(100% - 6px)'
  },
  [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].inputRoot}`]: {
    [`.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasPopupIcon}&, .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasClearIcon}&`]: {
      paddingRight: 26 + 4
    },
    [`.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasPopupIcon}.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasClearIcon}&`]: {
      paddingRight: 52 + 4
    },
    [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: {
      width: 0,
      minWidth: 30
    }
  },
  [`& .${_Input_inputClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].root}`]: {
    paddingBottom: 1,
    '& .MuiInput-input': {
      padding: '4px 4px 4px 0px'
    }
  },
  [`& .${_Input_inputClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].root}.${_InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].sizeSmall}`]: {
    [`& .${_Input_inputClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].input}`]: {
      padding: '2px 4px 3px 0'
    }
  },
  [`& .${_OutlinedInput_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_15__["default"].root}`]: {
    padding: 9,
    [`.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasPopupIcon}&, .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasClearIcon}&`]: {
      paddingRight: 26 + 4 + 9
    },
    [`.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasPopupIcon}.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasClearIcon}&`]: {
      paddingRight: 52 + 4 + 9
    },
    [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: {
      padding: '7.5px 4px 7.5px 5px'
    },
    [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].endAdornment}`]: {
      right: 9
    }
  },
  [`& .${_OutlinedInput_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_15__["default"].root}.${_InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].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,
    [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: {
      padding: '2.5px 4px 2.5px 8px'
    }
  },
  [`& .${_FilledInput_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].root}`]: {
    paddingTop: 19,
    paddingLeft: 8,
    [`.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasPopupIcon}&, .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasClearIcon}&`]: {
      paddingRight: 26 + 4 + 9
    },
    [`.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasPopupIcon}.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasClearIcon}&`]: {
      paddingRight: 52 + 4 + 9
    },
    [`& .${_FilledInput_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].input}`]: {
      padding: '7px 4px'
    },
    [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].endAdornment}`]: {
      right: 9
    }
  },
  [`& .${_FilledInput_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].root}.${_InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].sizeSmall}`]: {
    paddingBottom: 1,
    [`& .${_FilledInput_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].input}`]: {
      padding: '2.5px 4px'
    }
  },
  [`& .${_InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].hiddenLabel}`]: {
    paddingTop: 8
  },
  [`& .${_FilledInput_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].root}.${_InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].hiddenLabel}`]: {
    paddingTop: 0,
    paddingBottom: 0,
    [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: {
      paddingTop: 16,
      paddingBottom: 17
    }
  },
  [`& .${_FilledInput_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].root}.${_InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].hiddenLabel}.${_InputBase_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].sizeSmall}`]: {
    [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: {
      paddingTop: 8,
      paddingBottom: 9
    }
  },
  [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: {
    flexGrow: 1,
    textOverflow: 'ellipsis',
    opacity: 0
  },
  variants: [{
    props: {
      fullWidth: true
    },
    style: {
      width: '100%'
    }
  }, {
    props: {
      size: 'small'
    },
    style: {
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].tag}`]: {
        margin: 2,
        maxWidth: 'calc(100% - 4px)'
      }
    }
  }, {
    props: {
      inputFocused: true
    },
    style: {
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].input}`]: {
        opacity: 1
      }
    }
  }, {
    props: {
      multiple: true
    },
    style: {
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].inputRoot}`]: {
        flexWrap: 'wrap'
      }
    }
  }]
});
const AutocompleteEndAdornment = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])('div', {
  name: 'MuiAutocomplete',
  slot: 'EndAdornment'
})({
  // We use a position absolute to support wrapping tags.
  position: 'absolute',
  right: 0,
  top: '50%',
  transform: 'translate(0, -50%)'
});
const AutocompleteClearIndicator = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(_IconButton_index_js__WEBPACK_IMPORTED_MODULE_11__["default"], {
  name: 'MuiAutocomplete',
  slot: 'ClearIndicator'
})({
  marginRight: -2,
  padding: 4,
  visibility: 'hidden'
});
const AutocompletePopupIndicator = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(_IconButton_index_js__WEBPACK_IMPORTED_MODULE_11__["default"], {
  name: 'MuiAutocomplete',
  slot: 'PopupIndicator',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen];
  }
})({
  padding: 2,
  marginRight: -2,
  variants: [{
    props: {
      popupOpen: true
    },
    style: {
      transform: 'rotate(180deg)'
    }
  }]
});
const AutocompletePopper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(_Popper_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiAutocomplete',
  slot: 'Popper',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].option}`]: styles.option
    }, styles.popper, ownerState.disablePortal && styles.popperDisablePortal];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_20__["default"])(({
  theme
}) => ({
  zIndex: (theme.vars || theme).zIndex.modal,
  variants: [{
    props: {
      disablePortal: true
    },
    style: {
      position: 'absolute'
    }
  }]
})));
const AutocompletePaper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_10__["default"], {
  name: 'MuiAutocomplete',
  slot: 'Paper'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_20__["default"])(({
  theme
}) => ({
  ...theme.typography.body1,
  overflow: 'auto'
})));
const AutocompleteLoading = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])('div', {
  name: 'MuiAutocomplete',
  slot: 'Loading'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_20__["default"])(({
  theme
}) => ({
  color: (theme.vars || theme).palette.text.secondary,
  padding: '14px 16px'
})));
const AutocompleteNoOptions = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])('div', {
  name: 'MuiAutocomplete',
  slot: 'NoOptions'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_20__["default"])(({
  theme
}) => ({
  color: (theme.vars || theme).palette.text.secondary,
  padding: '14px 16px'
})));
const AutocompleteListbox = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])('ul', {
  name: 'MuiAutocomplete',
  slot: 'Listbox'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_20__["default"])(({
  theme
}) => ({
  listStyle: 'none',
  margin: 0,
  padding: '8px 0',
  maxHeight: '40vh',
  overflow: 'auto',
  position: 'relative',
  [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].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,
    [theme.breakpoints.up('sm')]: {
      minHeight: 'auto'
    },
    [`&.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].focused}`]: {
      backgroundColor: (theme.vars || theme).palette.action.hover,
      // Reset on touch devices, it doesn't add specificity
      '@media (hover: none)': {
        backgroundColor: 'transparent'
      }
    },
    '&[aria-disabled="true"]': {
      opacity: (theme.vars || theme).palette.action.disabledOpacity,
      pointerEvents: 'none'
    },
    [`&.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].focusVisible}`]: {
      backgroundColor: (theme.vars || theme).palette.action.focus
    },
    '&[aria-selected="true"]': {
      backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
      [`&.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].focused}`]: {
        backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
        // Reset on touch devices, it doesn't add specificity
        '@media (hover: none)': {
          backgroundColor: (theme.vars || theme).palette.action.selected
        }
      },
      [`&.${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].focusVisible}`]: {
        backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
      }
    }
  }
})));
const AutocompleteGroupLabel = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(_ListSubheader_index_js__WEBPACK_IMPORTED_MODULE_9__["default"], {
  name: 'MuiAutocomplete',
  slot: 'GroupLabel'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_20__["default"])(({
  theme
}) => ({
  backgroundColor: (theme.vars || theme).palette.background.paper,
  top: -8
})));
const AutocompleteGroupUl = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])('ul', {
  name: 'MuiAutocomplete',
  slot: 'GroupUl'
})({
  padding: 0,
  [`& .${_autocompleteClasses_js__WEBPACK_IMPORTED_MODULE_22__["default"].option}`]: {
    paddingLeft: 24
  }
});

const Autocomplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Autocomplete(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_21__.useDefaultProps)({
    props: inProps,
    name: 'MuiAutocomplete'
  });

  /* eslint-disable @typescript-eslint/no-unused-vars */
  const {
    autoComplete = false,
    autoHighlight = false,
    autoSelect = false,
    blurOnSelect = false,
    ChipProps: ChipPropsProp,
    className,
    clearIcon = _ClearIcon || (_ClearIcon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(_internal_svg_icons_Close_js__WEBPACK_IMPORTED_MODULE_17__["default"], {
      fontSize: "small"
    })),
    clearOnBlur = !props.freeSolo,
    clearOnEscape = false,
    clearText = 'Clear',
    closeText = 'Close',
    componentsProps,
    defaultValue = props.multiple ? [] : null,
    disableClearable = false,
    disableCloseOnSelect = false,
    disabled = false,
    disabledItemsFocusable = false,
    disableListWrap = false,
    disablePortal = false,
    filterOptions,
    filterSelectedOptions = false,
    forcePopupIcon = 'auto',
    freeSolo = false,
    fullWidth = false,
    getLimitTagsText = more => `+${more}`,
    getOptionDisabled,
    getOptionKey,
    getOptionLabel: getOptionLabelProp,
    isOptionEqualToValue,
    groupBy,
    handleHomeEndKeys = !props.freeSolo,
    id: idProp,
    includeInputInList = false,
    inputValue: inputValueProp,
    limitTags = -1,
    ListboxComponent: ListboxComponentProp,
    ListboxProps: ListboxPropsProp,
    loading = false,
    loadingText = 'Loading…',
    multiple = false,
    noOptionsText = 'No options',
    onChange,
    onClose,
    onHighlightChange,
    onInputChange,
    onOpen,
    open,
    openOnFocus = false,
    openText = 'Open',
    options,
    PaperComponent: PaperComponentProp,
    PopperComponent: PopperComponentProp,
    popupIcon = _ArrowDropDownIcon || (_ArrowDropDownIcon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(_internal_svg_icons_ArrowDropDown_js__WEBPACK_IMPORTED_MODULE_18__["default"], {})),
    readOnly = false,
    renderGroup: renderGroupProp,
    renderInput,
    renderOption: renderOptionProp,
    renderTags,
    renderValue,
    selectOnFocus = !props.freeSolo,
    size = 'medium',
    slots = {},
    slotProps = {},
    value: valueProp,
    ...other
  } = props;
  /* eslint-enable @typescript-eslint/no-unused-vars */

  const {
    getRootProps,
    getInputProps,
    getInputLabelProps,
    getPopupIndicatorProps,
    getClearProps,
    getItemProps,
    getListboxProps,
    getOptionProps,
    value,
    dirty,
    expanded,
    id,
    popupOpen,
    focused,
    focusedItem,
    anchorEl,
    setAnchorEl,
    inputValue,
    groupedOptions
  } = (0,_useAutocomplete_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
    ...props,
    componentName: 'Autocomplete'
  });

  // Re-render when anchorEl resizes so the Popper width stays in sync.
  // Width is always read synchronously from anchorEl.clientWidth during render
  // (no stale cached value). The hook just triggers a re-render on resize.
  const forceRenderOnResize = (0,_mui_utils_useForcedRerendering__WEBPACK_IMPORTED_MODULE_5__["default"])();
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!popupOpen || !anchorEl || typeof ResizeObserver === 'undefined') {
      return undefined;
    }
    let lastWidth = anchorEl.clientWidth;
    const observer = new ResizeObserver(() => {
      const newWidth = anchorEl.clientWidth;
      if (lastWidth !== newWidth) {
        lastWidth = newWidth;
        forceRenderOnResize();
      }
    });
    observer.observe(anchorEl);
    return () => {
      observer.disconnect();
    };
  }, [popupOpen, anchorEl, forceRenderOnResize]);

  // When popupOpen becomes false, useAutocomplete returns [] for groupedOptions.
  // Transitioned Poppers can remain mounted for their exit animation, so keep rendering
  // the last open-state options instead of flashing "No options" or an empty Paper.
  // These options are stale because they no longer reflect the hook's current
  // groupedOptions, but they are non-interactive while closing and reset on next open.
  const previousGroupedOptionsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef([]);
  const prevPopupOpenRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const renderedOptions = popupOpen ? groupedOptions : previousGroupedOptionsRef.current;
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_6__["default"])(() => {
    if (popupOpen && !prevPopupOpenRef.current) {
      previousGroupedOptionsRef.current = [];
    }
    prevPopupOpenRef.current = popupOpen;
    if (popupOpen && groupedOptions.length > 0) {
      previousGroupedOptionsRef.current = groupedOptions;
    }
  }, [popupOpen, groupedOptions]);
  const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;
  const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
  const {
    onMouseDown: handleInputMouseDown
  } = getInputProps();
  const {
    ref: listboxRef,
    ...otherListboxProps
  } = getListboxProps();
  const defaultGetOptionLabel = option => option.label ?? option;
  const getOptionLabel = getOptionLabelProp || defaultGetOptionLabel;

  // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.
  const ownerState = {
    ...props,
    disablePortal,
    expanded,
    focused,
    fullWidth,
    getOptionLabel,
    hasClearIcon,
    hasPopupIcon,
    inputFocused: focusedItem === -1,
    popupOpen,
    size
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots: {
      paper: PaperComponentProp,
      popper: PopperComponentProp,
      ...slots
    },
    slotProps: {
      chip: ChipPropsProp,
      listbox: ListboxPropsProp,
      ...componentsProps,
      ...slotProps
    }
  };
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_24__["default"])('root', {
    ref,
    className: [classes.root, className],
    elementType: AutocompleteRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    getSlotProps: getRootProps,
    ownerState
  });
  const [ListboxSlot, listboxProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_24__["default"])('listbox', {
    elementType: AutocompleteListbox,
    externalForwardedProps,
    ownerState,
    className: classes.listbox,
    additionalProps: otherListboxProps,
    ref: listboxRef
  });
  const [PaperSlot, paperProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_24__["default"])('paper', {
    elementType: _Paper_index_js__WEBPACK_IMPORTED_MODULE_10__["default"],
    externalForwardedProps,
    ownerState,
    className: classes.paper
  });
  const [PopperSlot, popperProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_24__["default"])('popper', {
    elementType: _Popper_index_js__WEBPACK_IMPORTED_MODULE_8__["default"],
    externalForwardedProps,
    ownerState,
    className: classes.popper,
    additionalProps: {
      disablePortal,
      style: {
        width: anchorEl ? anchorEl.clientWidth : null,
        // Prevent interaction with stale cached options during exit transitions.
        // The hook's filteredOptions is [] when popupOpen=false, so clicks on stale
        // rendered options would pass undefined to selectNewValue.
        pointerEvents: popupOpen ? undefined : 'none'
      },
      role: 'presentation',
      anchorEl,
      open: popupOpen
    }
  });

  // Don't render the Popper when there's no content to show.
  // In freeSolo mode, "No options" text is suppressed, so if there are also no
  // matching options and loading is false, the Paper would be empty.
  // Uses renderedOptions (not groupedOptions) so Popper stays during exit transitions.
  // Respect keepMounted from resolved popperProps (handles both object and callback slotProps forms).
  const hasPopupContent = renderedOptions.length > 0 || loading || !freeSolo || popperProps.keepMounted === true;
  const [ClearIndicatorSlot, clearIndicatorProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_24__["default"])('clearIndicator', {
    elementType: AutocompleteClearIndicator,
    externalForwardedProps,
    ownerState,
    className: classes.clearIndicator,
    shouldForwardComponentProp: true,
    additionalProps: {
      ...getClearProps(),
      'aria-label': clearText,
      title: clearText
    }
  });
  const [PopupIndicatorSlot, popupIndicatorProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_24__["default"])('popupIndicator', {
    elementType: AutocompletePopupIndicator,
    externalForwardedProps,
    ownerState,
    className: classes.popupIndicator,
    shouldForwardComponentProp: true,
    additionalProps: {
      ...getPopupIndicatorProps(),
      disabled,
      'aria-label': popupOpen ? closeText : openText,
      title: popupOpen ? closeText : openText
    }
  });
  let startAdornment;
  const getCustomizedItemProps = params => ({
    className: classes.tag,
    disabled,
    ...getItemProps(params)
  });
  if (multiple) {
    if (value.length > 0) {
      if (renderTags) {
        startAdornment = renderTags(value, getCustomizedItemProps, ownerState);
      } else if (renderValue) {
        startAdornment = renderValue(value, getCustomizedItemProps, ownerState);
      } else {
        startAdornment = value.map((option, index) => {
          const {
            key,
            ...customItemProps
          } = getCustomizedItemProps({
            index
          });
          return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(_Chip_index_js__WEBPACK_IMPORTED_MODULE_12__["default"], {
            label: getOptionLabel(option),
            size: size,
            ...customItemProps,
            ...externalForwardedProps.slotProps.chip
          }, key);
        });
      }
    }
  } else if (renderValue && value != null) {
    startAdornment = renderValue(value, getCustomizedItemProps, ownerState);
  }
  if (limitTags > -1 && Array.isArray(startAdornment)) {
    const more = startAdornment.length - limitTags;
    if (!focused && more > 0) {
      startAdornment = startAdornment.splice(0, limitTags);
      startAdornment.push(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)("span", {
        className: classes.tag,
        children: getLimitTagsText(more)
      }, startAdornment.length));
    }
  }
  const defaultRenderGroup = params => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsxs)("li", {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(AutocompleteGroupLabel, {
      className: classes.groupLabel,
      ownerState: ownerState,
      component: "div",
      children: params.group
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(AutocompleteGroupUl, {
      className: classes.groupUl,
      ownerState: ownerState,
      children: params.children
    })]
  }, params.key);
  const renderGroup = renderGroupProp || defaultRenderGroup;
  const defaultRenderOption = (props2, option) => {
    // Need to clearly apply key because of https://github.com/vercel/next.js/issues/55642
    const {
      key,
      ...otherProps
    } = props2;
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)("li", {
      ...otherProps,
      children: getOptionLabel(option)
    }, key);
  };
  const renderOption = renderOptionProp || defaultRenderOption;
  const renderListOption = (option, index) => {
    const optionProps = getOptionProps({
      option,
      index
    });
    return renderOption({
      ...optionProps,
      className: classes.option
    }, option, {
      selected: optionProps['aria-selected'],
      index,
      inputValue
    }, ownerState);
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(RootSlot, {
      ...rootProps,
      children: renderInput({
        id,
        disabled,
        fullWidth: props.fullWidth ?? true,
        size: size === 'small' ? 'small' : undefined,
        InputLabelProps: getInputLabelProps(),
        InputProps: {
          ref: setAnchorEl,
          className: classes.inputRoot,
          startAdornment,
          onMouseDown: event => {
            if (event.target === event.currentTarget) {
              handleInputMouseDown(event);
            }
          },
          ...((hasClearIcon || hasPopupIcon) && {
            endAdornment: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsxs)(AutocompleteEndAdornment, {
              className: classes.endAdornment,
              ownerState: ownerState,
              children: [hasClearIcon ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(ClearIndicatorSlot, {
                ...clearIndicatorProps,
                children: clearIcon
              }) : null, hasPopupIcon ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(PopupIndicatorSlot, {
                ...popupIndicatorProps,
                children: popupIcon
              }) : null]
            })
          })
        },
        inputProps: {
          className: classes.input,
          disabled,
          readOnly,
          ...getInputProps()
        }
      })
    }), anchorEl && hasPopupContent ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(AutocompletePopper, {
      as: PopperSlot,
      ...popperProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsxs)(AutocompletePaper, {
        as: PaperSlot,
        ...paperProps,
        children: [loading && renderedOptions.length === 0 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(AutocompleteLoading, {
          className: classes.loading,
          ownerState: ownerState,
          children: loadingText
        }) : null, renderedOptions.length === 0 && !freeSolo && !loading ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(AutocompleteNoOptions, {
          className: classes.noOptions,
          ownerState: ownerState,
          role: "presentation",
          onMouseDown: event => {
            // Prevent input blur when interacting with the "no options" content
            event.preventDefault();
          },
          children: noOptionsText
        }) : null, renderedOptions.length > 0 ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_25__.jsx)(ListboxSlot, {
          ...listboxProps,
          children: renderedOptions.map((option, index) => {
            if (groupBy) {
              return renderGroup({
                key: option.key,
                group: option.group,
                children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))
              });
            }
            return renderListOption(option, index);
          })
        }) : null]
      })
    }) : null]
  });
});
 true ? Autocomplete.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the portion of the selected suggestion that the user hasn't typed,
   * known as the completion string, appears inline after the input cursor in the textbox.
   * The inline completion string is visually highlighted and has a selected state.
   * @default false
   */
  autoComplete: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the first option is automatically highlighted.
   * @default false
   */
  autoHighlight: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the value is updated when the input loses focus under one of these conditions:
   *
   * - An option highlighted via keyboard navigation or `autoHighlight` is selected.
   *   Hover and touch highlights are ignored.
   * - Otherwise, in `freeSolo` mode, the typed text becomes the value.
   * @default false
   */
  autoSelect: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Control if the input should be blurred when an option is selected:
   *
   * - `false` the input is not blurred.
   * - `true` the input is always blurred.
   * - `touch` the input is blurred after a touch event.
   * - `mouse` the input is blurred after a mouse event.
   * @default false
   */
  blurOnSelect: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['mouse', 'touch']), prop_types__WEBPACK_IMPORTED_MODULE_1__.bool]),
  /**
   * Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
   * @deprecated Use `slotProps.chip` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  ChipProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The icon to display in place of the default clear icon.
   * @default <ClearIcon fontSize="small" />
   */
  clearIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `true`, the input's text is cleared on blur if no value is selected.
   *
   * Set it to `true` if you want to help the user enter a new value.
   * Set it to `false` if you want to help the user resume their search.
   * @default !props.freeSolo
   */
  clearOnBlur: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, clear all values when the user presses escape and the popup is closed.
   * @default false
   */
  clearOnEscape: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Override the default text for the *clear* icon button.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'Clear'
   */
  clearText: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Override the default text for the *close popup* icon button.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'Close'
   */
  closeText: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The props used for each slot inside.
   * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    clearIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    popper: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    popupIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * The default value. Use when the component is not controlled.
   * @default props.multiple ? [] : null
   */
  defaultValue: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.any, props => {
    if (props.multiple && props.defaultValue !== undefined && !Array.isArray(props.defaultValue)) {
      return new Error(['MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.', `However, ${props.defaultValue} was provided.`].join('\n'));
    }
    return null;
  }),
  /**
   * If `true`, the input can't be cleared.
   * @default false
   */
  disableClearable: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the popup won't close when a value is selected.
   * @default false
   */
  disableCloseOnSelect: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, will allow focus on disabled items.
   * @default false
   */
  disabledItemsFocusable: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the list box in the popup will not wrap focus.
   * @default false
   */
  disableListWrap: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `Popper` content will be under the DOM hierarchy of the parent component.
   * @default false
   */
  disablePortal: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * A function that determines the filtered options to be rendered on search.
   *
   * @default createFilterOptions()
   * @param {Value[]} options The options to render.
   * @param {object} state The state of the component.
   * @returns {Value[]}
   */
  filterOptions: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, hide the selected options from the list box.
   * @default false
   */
  filterSelectedOptions: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Force the visibility display of the popup icon.
   * @default 'auto'
   */
  forcePopupIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['auto']), prop_types__WEBPACK_IMPORTED_MODULE_1__.bool]),
  /**
   * If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
   * @default false
   */
  freeSolo: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the input will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The label to display when the tags are truncated (`limitTags`).
   *
   * @param {number} more The number of truncated tags.
   * @returns {ReactNode}
   * @default (more) => `+${more}`
   */
  getLimitTagsText: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Used to determine the disabled state for a given option.
   *
   * @param {Value} option The option to test.
   * @template Value The option shape. Will be the same shape as an item of the options.
   * @returns {boolean}
   */
  getOptionDisabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Used to determine the key for a given option.
   * This can be useful when the labels of options are not unique (since labels are used as keys by default).
   *
   * @param {Value} option The option to get the key for.
   * @returns {string | number}
   */
  getOptionKey: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Used to determine the string value for a given option.
   * It's used to fill the input (and the list box options if `renderOption` is not provided).
   *
   * If used in free solo mode, it must accept both the type of the options and a string.
   *
   * @param {Value} option
   * @returns {string}
   * @default (option) => option.label ?? option
   */
  getOptionLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If provided, the options will be grouped under the returned string.
   * The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
   *
   * @param {Value} option The Autocomplete option.
   * @returns {string}
   */
  groupBy: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component handles the "Home" and "End" keys when the popup is open.
   * It should move focus to the first option and last option, respectively.
   * @default !props.freeSolo
   */
  handleHomeEndKeys: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * This prop is used to help implement the accessibility logic.
   * If you don't provide an id it will fall back to a randomly generated one.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the highlight can move to the input.
   * @default false
   */
  includeInputInList: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The input value.
   */
  inputValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Used to determine if the option represents the given value.
   * Uses strict equality by default.
   * ⚠️ Both arguments need to be handled, an option can only match with one value.
   *
   * @param {Value} option The option to test.
   * @param {Value} value The value to test against.
   * @returns {boolean}
   */
  isOptionEqualToValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The maximum number of tags that will be visible when not focused.
   * Set `-1` to disable the limit.
   * @default -1
   */
  limitTags: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_2__["default"],
  /**
   * The component used to render the listbox.
   * @default 'ul'
   * @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  ListboxComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Props applied to the Listbox element.
   * @deprecated Use `slotProps.listbox` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  ListboxProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * If `true`, the component is in a loading state.
   * This shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).
   * @default false
   */
  loading: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Text to display when in a loading state.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'Loading…'
   */
  loadingText: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `true`, `value` must be an array and the menu will support multiple selections.
   * @default false
   */
  multiple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Text to display when there are no options.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'No options'
   */
  noOptionsText: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Callback fired when the value changes.
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   * @param {Value|Value[]} value The new value of the component.
   * @param {string} reason One of "createOption", "selectOption", "removeOption", "blur" or "clear".
   * @param {string} [details]
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the popup requests to be closed.
   * Use in controlled mode (see open).
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   * @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"selectOption"`, `"removeOption"`, `"blur"`.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the highlight option changes.
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   * @param {Value} option The highlighted option.
   * @param {string} reason Can be: `"keyboard"`, `"mouse"`, `"touch"`.
   */
  onHighlightChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the input value changes.
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   * @param {string} value The new value of the text input.
   * @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`, `"blur"`, `"selectOption"`, `"removeOption"`
   */
  onInputChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the popup requests to be opened.
   * Use in controlled mode (see open).
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   */
  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the popup will open on input focus.
   * @default false
   */
  openOnFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Override the default text for the *open popup* icon button.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'Open'
   */
  openText: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * A list of options that will be shown in the Autocomplete.
   */
  options: prop_types__WEBPACK_IMPORTED_MODULE_1__.array.isRequired,
  /**
   * The component used to render the body of the popup.
   * @default Paper
   * @deprecated Use `slots.paper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  PaperComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The component used to position the popup.
   * @default Popper
   * @deprecated Use `slots.popper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  PopperComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The icon to display in place of the default popup icon.
   * @default <ArrowDropDownIcon />
   */
  popupIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `true`, the component becomes readonly. It is also supported for multiple tags where the tag cannot be deleted.
   * @default false
   */
  readOnly: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Render the group.
   *
   * @param {AutocompleteRenderGroupParams} params The group to render.
   * @returns {ReactNode}
   */
  renderGroup: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Render the input.
   *
   * **Note:** The `renderInput` prop must return a `TextField` component or a compatible custom component
   * that correctly forwards `InputProps.ref` and spreads `inputProps`. This ensures proper integration
   * with the Autocomplete's internal logic (e.g., focus management and keyboard navigation).
   *
   * Avoid using components like `DatePicker` or `Select` directly, as they may not forward the required props,
   * leading to runtime errors or unexpected behavior.
   *
   * @param {object} params
   * @returns {ReactNode}
   */
  renderInput: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired,
  /**
   * Render the option, use `getOptionLabel` by default.
   *
   * @param {object} props The props to apply on the li element.
   * @param {Value} option The option to render.
   * @param {object} state The state of each option.
   * @param {object} ownerState The state of the Autocomplete component.
   * @returns {ReactNode}
   */
  renderOption: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Render the selected value when doing multiple selections.
   *
   * @deprecated Use `renderValue` prop instead
   *
   * @param {Value[]} value The `value` provided to the component.
   * @param {function} getTagProps A tag props getter.
   * @param {object} ownerState The state of the Autocomplete component.
   * @returns {ReactNode}
   */
  renderTags: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Renders the selected value(s) as rich content in the input for both single and multiple selections.
   *
   * @param {AutocompleteRenderValue<Value, Multiple, FreeSolo>} value The `value` provided to the component.
   * @param {function} getItemProps The value item props.
   * @param {object} ownerState The state of the Autocomplete component.
   * @returns {ReactNode}
   */
  renderValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the input's text is selected on focus.
   * It helps the user clear the selected value.
   * @default !props.freeSolo
   */
  selectOnFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['small', 'medium']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    chip: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    clearIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    listbox: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    popper: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    popupIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    clearIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    listbox: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    popper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    popupIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The value of the autocomplete.
   *
   * The value must have reference equality with the option in order to be selected.
   * You can customize the equality behavior with the `isOptionEqualToValue` prop.
   */
  value: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.any, props => {
    if (props.multiple && props.value !== undefined && !Array.isArray(props.value)) {
      return new Error(['MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.', `However, ${props.value} was provided.`].join('\n'));
    }
    return null;
  })
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Autocomplete);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/autocompleteClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Autocomplete/autocompleteClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAutocompleteUtilityClass: () => (/* binding */ getAutocompleteUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getAutocompleteUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiAutocomplete', slot);
}
const autocompleteClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('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']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (autocompleteClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/Backdrop.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/Backdrop.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _Fade_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Fade/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js");
/* harmony import */ var _backdropClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./backdropClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/backdropClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    invisible
  } = ownerState;
  const slots = {
    root: ['root', invisible && 'invisible']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _backdropClasses_js__WEBPACK_IMPORTED_MODULE_8__.getBackdropUtilityClass, classes);
};
const BackdropRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiBackdrop',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.invisible && styles.invisible];
  }
})({
  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',
  variants: [{
    props: {
      invisible: true
    },
    style: {
      backgroundColor: 'transparent'
    }
  }]
});
const Backdrop = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Backdrop(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiBackdrop'
  });
  const {
    children,
    className,
    component = 'div',
    invisible = false,
    open,
    components = {},
    componentsProps = {},
    slotProps = {},
    slots = {},
    TransitionComponent: TransitionComponentProp,
    transitionDuration,
    ...other
  } = props;
  const ownerState = {
    ...props,
    component,
    invisible
  };
  const classes = useUtilityClasses(ownerState);
  const backwardCompatibleSlots = {
    transition: TransitionComponentProp,
    root: components.Root,
    ...slots
  };
  const backwardCompatibleSlotProps = {
    ...componentsProps,
    ...slotProps
  };
  const externalForwardedProps = {
    component,
    slots: backwardCompatibleSlots,
    slotProps: backwardCompatibleSlotProps
  };
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_6__["default"])('root', {
    elementType: BackdropRoot,
    externalForwardedProps,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState
  });
  const [TransitionSlot, transitionProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_6__["default"])('transition', {
    elementType: _Fade_index_js__WEBPACK_IMPORTED_MODULE_7__["default"],
    externalForwardedProps,
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(TransitionSlot, {
    in: open,
    timeout: transitionDuration,
    ...other,
    ...transitionProps,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(RootSlot, {
      "aria-hidden": true,
      ...rootProps,
      ref: ref,
      children: children
    })
  });
});
 true ? Backdrop.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The components used for each slot inside.
   *
   * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * If `true`, the backdrop is invisible.
   * It can be used when rendering a popover or a custom select component.
   * @default false
   */
  invisible: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool.isRequired,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The component used for the transition.
   * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
   * @default Fade
   * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  TransitionComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   */
  transitionDuration: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Backdrop);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/backdropClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/backdropClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getBackdropUtilityClass: () => (/* binding */ getBackdropUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getBackdropUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiBackdrop', slot);
}
const backdropClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiBackdrop', ['root', 'invisible']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (backdropClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/Badge.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_usePreviousProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/usePreviousProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _useBadge_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./useBadge.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/useBadge.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _badgeClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./badgeClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/badgeClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const RADIUS_STANDARD = 10;
const RADIUS_DOT = 4;
const useUtilityClasses = ownerState => {
  const {
    color,
    anchorOrigin,
    invisible,
    overlap,
    variant,
    classes = {}
  } = ownerState;
  const slots = {
    root: ['root'],
    badge: ['badge', variant, invisible && 'invisible', `anchorOrigin${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(anchorOrigin.vertical)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(anchorOrigin.horizontal)}`, `anchorOrigin${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(anchorOrigin.vertical)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(anchorOrigin.horizontal)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(overlap)}`, `overlap${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(overlap)}`, color !== 'default' && `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(color)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _badgeClasses_js__WEBPACK_IMPORTED_MODULE_11__.getBadgeUtilityClass, classes);
};
const BadgeRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiBadge',
  slot: 'Root'
})({
  position: 'relative',
  display: 'inline-flex',
  // For correct alignment with the text.
  verticalAlign: 'middle',
  flexShrink: 0
});
const BadgeBadge = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiBadge',
  slot: 'Badge',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.badge, styles[ownerState.variant], styles[`anchorOrigin${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.anchorOrigin.vertical)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.anchorOrigin.horizontal)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.overlap)}`], ownerState.color !== 'default' && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.color)}`], ownerState.invisible && styles.invisible];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  display: 'flex',
  flexDirection: 'row',
  flexWrap: 'wrap',
  justifyContent: 'center',
  alignContent: 'center',
  alignItems: 'center',
  position: 'absolute',
  boxSizing: 'border-box',
  fontFamily: theme.typography.fontFamily,
  fontWeight: theme.typography.fontWeightMedium,
  fontSize: theme.typography.pxToRem(12),
  minWidth: RADIUS_STANDARD * 2,
  lineHeight: 1,
  padding: '0 6px',
  height: RADIUS_STANDARD * 2,
  borderRadius: RADIUS_STANDARD,
  zIndex: 1,
  // Render the badge on top of potential ripples.
  transition: theme.transitions.create('transform', {
    easing: theme.transitions.easing.easeInOut,
    duration: theme.transitions.duration.enteringScreen
  }),
  variants: [...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])(['contrastText'])).map(([color]) => ({
    props: {
      color
    },
    style: {
      backgroundColor: (theme.vars || theme).palette[color].main,
      color: (theme.vars || theme).palette[color].contrastText
    }
  })), {
    props: {
      variant: 'dot'
    },
    style: {
      borderRadius: RADIUS_DOT,
      height: RADIUS_DOT * 2,
      minWidth: RADIUS_DOT * 2,
      padding: 0
    }
  }, {
    props: {
      invisible: true
    },
    style: {
      transition: theme.transitions.create('transform', {
        easing: theme.transitions.easing.easeInOut,
        duration: theme.transitions.duration.leavingScreen
      })
    }
  }, {
    style: ({
      ownerState
    }) => {
      const {
        vertical,
        horizontal
      } = ownerState.anchorOrigin;
      const offset = ownerState.overlap === 'circular' ? '14%' : 0;
      return {
        '--Badge-translateX': horizontal === 'right' ? '50%' : '-50%',
        '--Badge-translateY': vertical === 'top' ? '-50%' : '50%',
        top: vertical === 'top' ? offset : 'initial',
        bottom: vertical === 'bottom' ? offset : 'initial',
        right: horizontal === 'right' ? offset : 'initial',
        left: horizontal === 'left' ? offset : 'initial',
        transform: 'scale(1) translate(var(--Badge-translateX), var(--Badge-translateY))',
        transformOrigin: `${horizontal === 'right' ? '100%' : '0%'} ${vertical === 'top' ? '0%' : '100%'}`,
        [`&.${_badgeClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].invisible}`]: {
          transform: 'scale(0) translate(var(--Badge-translateX), var(--Badge-translateY))'
        }
      };
    }
  }]
})));
function getAnchorOrigin(anchorOrigin) {
  return {
    vertical: anchorOrigin?.vertical ?? 'top',
    horizontal: anchorOrigin?.horizontal ?? 'right'
  };
}
const Badge = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Badge(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__.useDefaultProps)({
    props: inProps,
    name: 'MuiBadge'
  });
  const {
    anchorOrigin: anchorOriginProp,
    className,
    classes: classesProp,
    component,
    components = {},
    componentsProps = {},
    children,
    overlap: overlapProp = 'rectangular',
    color: colorProp = 'default',
    invisible: invisibleProp = false,
    max: maxProp = 99,
    badgeContent: badgeContentProp,
    slots,
    slotProps,
    showZero = false,
    variant: variantProp = 'standard',
    ...other
  } = props;
  const {
    badgeContent,
    invisible: invisibleFromHook,
    max,
    displayValue: displayValueFromHook
  } = (0,_useBadge_js__WEBPACK_IMPORTED_MODULE_5__["default"])({
    max: maxProp,
    invisible: invisibleProp,
    badgeContent: badgeContentProp,
    showZero
  });
  const prevProps = (0,_mui_utils_usePreviousProps__WEBPACK_IMPORTED_MODULE_3__["default"])({
    anchorOrigin: getAnchorOrigin(anchorOriginProp),
    color: colorProp,
    overlap: overlapProp,
    variant: variantProp,
    badgeContent: badgeContentProp
  });
  const invisible = invisibleFromHook || badgeContent == null && variantProp !== 'dot';
  const {
    color = colorProp,
    overlap = overlapProp,
    anchorOrigin: anchorOriginPropProp,
    variant = variantProp
  } = invisible ? prevProps : props;
  const anchorOrigin = getAnchorOrigin(anchorOriginPropProp);
  const displayValue = variant !== 'dot' ? displayValueFromHook : undefined;
  const ownerState = {
    ...props,
    badgeContent,
    invisible,
    max,
    displayValue,
    showZero,
    anchorOrigin,
    color,
    overlap,
    variant
  };
  const classes = useUtilityClasses(ownerState);

  // support both `slots` and `components` for backward compatibility
  const externalForwardedProps = {
    slots: {
      root: slots?.root ?? components.Root,
      badge: slots?.badge ?? components.Badge
    },
    slotProps: {
      root: slotProps?.root ?? componentsProps.root,
      badge: slotProps?.badge ?? componentsProps.badge
    }
  };
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_12__["default"])('root', {
    elementType: BadgeRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref,
    additionalProps: {
      as: component
    }
  });
  const [BadgeSlot, badgeProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_12__["default"])('badge', {
    elementType: BadgeBadge,
    externalForwardedProps,
    ownerState,
    className: classes.badge
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(RootSlot, {
    ...rootProps,
    children: [children, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(BadgeSlot, {
      ...badgeProps,
      children: displayValue
    })]
  });
});
 true ? Badge.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The anchor of the badge.
   * @default {
   *   vertical: 'top',
   *   horizontal: 'right',
   * }
   */
  anchorOrigin: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    horizontal: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['left', 'right']),
    vertical: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['bottom', 'top'])
  }),
  /**
   * The content rendered within the badge.
   */
  badgeContent: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The badge will be added relative to this node.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'default'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The components used for each slot inside.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Badge: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    badge: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * If `true`, the badge is invisible.
   * @default false
   */
  invisible: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Max count to show.
   * @default 99
   */
  max: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * Wrapped shape the badge should overlap.
   * @default 'rectangular'
   */
  overlap: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['circular', 'rectangular']),
  /**
   * Controls whether the badge is hidden when `badgeContent` is zero.
   * @default false
   */
  showZero: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    badge: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    badge: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   * @default 'standard'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dot', 'standard']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Badge);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/badgeClasses.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/badgeClasses.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getBadgeUtilityClass: () => (/* binding */ getBadgeUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getBadgeUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiBadge', slot);
}
const badgeClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopRight', 'anchorOriginBottomRight', 'anchorOriginTopLeft', 'anchorOriginBottomLeft', 'invisible', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'overlapRectangular', 'overlapCircular',
// TODO: v6 remove the overlap value from these class keys
'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (badgeClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/useBadge.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Badge/useBadge.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_usePreviousProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/usePreviousProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js");
'use client';


function useBadge(parameters) {
  const {
    badgeContent: badgeContentProp,
    invisible: invisibleProp = false,
    max: maxProp = 99,
    showZero = false
  } = parameters;
  const prevProps = (0,_mui_utils_usePreviousProps__WEBPACK_IMPORTED_MODULE_0__["default"])({
    badgeContent: badgeContentProp,
    max: maxProp
  });
  let invisible = invisibleProp;
  if (invisibleProp === false && badgeContentProp === 0 && !showZero) {
    invisible = true;
  }
  const {
    badgeContent,
    max = maxProp
  } = invisible ? prevProps : parameters;
  const displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
  return {
    badgeContent,
    invisible,
    max,
    displayValue
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useBadge);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js"
/*!***********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/Box.js ***!
  \***********************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createBox/createBox.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _className_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../className/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js");
/* harmony import */ var _styles_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTheme.js");
/* harmony import */ var _styles_identifier_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles/identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
/* harmony import */ var _boxClasses_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./boxClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/boxClasses.js");
'use client';







const defaultTheme = (0,_styles_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
const Box = (0,_mui_system__WEBPACK_IMPORTED_MODULE_0__["default"])({
  themeId: _styles_identifier_js__WEBPACK_IMPORTED_MODULE_4__["default"],
  defaultTheme,
  defaultClassName: _boxClasses_js__WEBPACK_IMPORTED_MODULE_5__["default"].root,
  generateClassName: _className_index_js__WEBPACK_IMPORTED_MODULE_2__["default"].generate
});
 true ? Box.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Box);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/boxClasses.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Box/boxClasses.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");

const boxClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiBox', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (boxClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _internal_svg_icons_MoreHoriz_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../internal/svg-icons/MoreHoriz.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';








const BreadcrumbCollapsedButton = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
  name: 'MuiBreadcrumbCollapsed'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_3__["default"])(({
  theme
}) => ({
  display: 'flex',
  marginLeft: `calc(${theme.spacing(1)} * 0.5)`,
  marginRight: `calc(${theme.spacing(1)} * 0.5)`,
  ...(theme.palette.mode === 'light' ? {
    backgroundColor: theme.palette.grey[100],
    color: theme.palette.grey[700]
  } : {
    backgroundColor: theme.palette.grey[700],
    color: theme.palette.grey[100]
  }),
  borderRadius: 2,
  '&:hover, &:focus': {
    ...(theme.palette.mode === 'light' ? {
      backgroundColor: theme.palette.grey[200]
    } : {
      backgroundColor: theme.palette.grey[600]
    })
  },
  '&:active': {
    boxShadow: theme.shadows[0],
    ...(theme.palette.mode === 'light' ? {
      backgroundColor: (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.emphasize)(theme.palette.grey[200], 0.12)
    } : {
      backgroundColor: (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.emphasize)(theme.palette.grey[600], 0.12)
    })
  }
})));
const BreadcrumbCollapsedIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_internal_svg_icons_MoreHoriz_js__WEBPACK_IMPORTED_MODULE_4__["default"])({
  width: 24,
  height: 16
});

/**
 * @ignore - internal component.
 */
function BreadcrumbCollapsed(props) {
  const {
    slots = {},
    slotProps = {},
    ...otherProps
  } = props;
  const ownerState = props;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("li", {
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(BreadcrumbCollapsedButton, {
      focusRipple: true,
      ...otherProps,
      ownerState: ownerState,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(BreadcrumbCollapsedIcon, {
        as: slots.CollapsedIcon,
        ownerState: ownerState,
        ...slotProps.collapsedIcon
      })
    })
  });
}
 true ? BreadcrumbCollapsed.propTypes = {
  /**
   * The props used for the CollapsedIcon slot.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_0__.shape({
    collapsedIcon: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object])
  }),
  /**
   * The components used for each slot inside the BreadcumbCollapsed.
   * Either a string to use a HTML element or a component.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_0__.shape({
    CollapsedIcon: prop_types__WEBPACK_IMPORTED_MODULE_0__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_0__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BreadcrumbCollapsed);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/useSlotProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _BreadcrumbCollapsed_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./BreadcrumbCollapsed.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js");
/* harmony import */ var _breadcrumbsClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./breadcrumbsClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';














const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    li: ['li'],
    ol: ['ol'],
    separator: ['separator']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _breadcrumbsClasses_js__WEBPACK_IMPORTED_MODULE_11__.getBreadcrumbsUtilityClass, classes);
};
const BreadcrumbsRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_Typography_index_js__WEBPACK_IMPORTED_MODULE_9__["default"], {
  name: 'MuiBreadcrumbs',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    return [{
      [`& .${_breadcrumbsClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].li}`]: styles.li
    }, styles.root];
  }
})({});
const BreadcrumbsOl = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('ol', {
  name: 'MuiBreadcrumbs',
  slot: 'Ol'
})({
  display: 'flex',
  flexWrap: 'wrap',
  alignItems: 'center',
  padding: 0,
  margin: 0,
  listStyle: 'none'
});
const BreadcrumbsSeparator = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('li', {
  name: 'MuiBreadcrumbs',
  slot: 'Separator'
})({
  display: 'flex',
  userSelect: 'none',
  marginLeft: 8,
  marginRight: 8
});
function insertSeparators(items, className, separator, ownerState) {
  return items.reduce((acc, current, index) => {
    if (index < items.length - 1) {
      acc = acc.concat(current, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(BreadcrumbsSeparator, {
        "aria-hidden": true,
        className: className,
        ownerState: ownerState,
        children: separator
      }, `separator-${index}`));
    } else {
      acc.push(current);
    }
    return acc;
  }, []);
}
const Breadcrumbs = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Breadcrumbs(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiBreadcrumbs'
  });
  const {
    children,
    className,
    component = 'nav',
    slots = {},
    slotProps = {},
    expandText = 'Show path',
    itemsAfterCollapse = 1,
    itemsBeforeCollapse = 1,
    maxItems = 8,
    separator = '/',
    ...other
  } = props;
  const [expanded, setExpanded] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const ownerState = {
    ...props,
    component,
    expanded,
    expandText,
    itemsAfterCollapse,
    itemsBeforeCollapse,
    maxItems,
    separator
  };
  const classes = useUtilityClasses(ownerState);
  const collapsedIconSlotProps = (0,_mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_6__["default"])({
    elementType: slots.CollapsedIcon,
    externalSlotProps: slotProps.collapsedIcon,
    ownerState
  });
  const listRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const renderItemsBeforeAndAfter = allItems => {
    const handleClickExpand = () => {
      setExpanded(true);

      // The clicked element received the focus but gets removed from the DOM.
      // Let's keep the focus in the component after expanding.
      // Moving it to the <ol> or <nav> does not cause any announcement in NVDA.
      // By moving it to some link/button at least we have some announcement.
      const focusable = listRef.current.querySelector('a[href],button,[tabindex]');
      if (focusable) {
        focusable.focus();
      }
    };

    // This defends against someone passing weird input, to ensure that if all
    // items would be shown anyway, we just show all items without the EllipsisItem
    if (itemsBeforeCollapse + itemsAfterCollapse >= allItems.length) {
      if (true) {
        console.error(['MUI: You have provided an invalid combination of props to the Breadcrumbs.', `itemsAfterCollapse={${itemsAfterCollapse}} + itemsBeforeCollapse={${itemsBeforeCollapse}} >= maxItems={${maxItems}}`].join('\n'));
      }
      return allItems;
    }
    return [...allItems.slice(0, itemsBeforeCollapse), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_BreadcrumbCollapsed_js__WEBPACK_IMPORTED_MODULE_10__["default"], {
      "aria-label": expandText,
      slots: {
        CollapsedIcon: slots.CollapsedIcon
      },
      slotProps: {
        collapsedIcon: collapsedIconSlotProps
      },
      onClick: handleClickExpand
    }, "ellipsis"), ...allItems.slice(allItems.length - itemsAfterCollapse, allItems.length)];
  };
  const allItems = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(children).filter(child => {
    if (true) {
      if ((0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)) {
        console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
      }
    }
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child);
  }).map((child, index) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("li", {
    className: classes.li,
    children: child
  }, `child-${index}`));
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(BreadcrumbsRoot, {
    ref: ref,
    component: component,
    color: "textSecondary",
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ownerState: ownerState,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(BreadcrumbsOl, {
      className: classes.ol,
      ref: listRef,
      ownerState: ownerState,
      children: insertSeparators(expanded || maxItems && allItems.length <= maxItems ? allItems : renderItemsBeforeAndAfter(allItems), classes.separator, separator, ownerState)
    })
  });
});
 true ? Breadcrumbs.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
  /**
   * Override the default label for the expand button.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'Show path'
   */
  expandText: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * If max items is exceeded, the number of items to show after the ellipsis.
   * @default 1
   */
  itemsAfterCollapse: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * If max items is exceeded, the number of items to show before the ellipsis.
   * @default 1
   */
  itemsBeforeCollapse: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * Specifies the maximum number of breadcrumbs to display. When there are more
   * than the maximum number, only the first `itemsBeforeCollapse` and last `itemsAfterCollapse`
   * will be shown, with an ellipsis in between.
   * @default 8
   */
  maxItems: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * Custom separator node.
   * @default '/'
   */
  separator: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * The props used for each slot inside the Breadcumb.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    collapsedIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
  }),
  /**
   * The components used for each slot inside the Breadcumb.
   * Either a string to use a HTML element or a component.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    CollapsedIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Breadcrumbs);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getBreadcrumbsUtilityClass: () => (/* binding */ getBreadcrumbsUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getBreadcrumbsUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiBreadcrumbs', slot);
}
const breadcrumbsClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (breadcrumbsClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/Button.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/resolveProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveProps/resolveProps.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _CircularProgress_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../CircularProgress/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./buttonClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/buttonClasses.js");
/* harmony import */ var _ButtonGroup_ButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../ButtonGroup/ButtonGroupContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js");
/* harmony import */ var _ButtonGroup_ButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../ButtonGroup/ButtonGroupButtonContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



















const useUtilityClasses = ownerState => {
  const {
    color,
    disableElevation,
    fullWidth,
    size,
    variant,
    loading,
    loadingPosition,
    classes
  } = ownerState;
  const slots = {
    root: ['root', loading && 'loading', variant, `${variant}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(color)}`, `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(size)}`, `${variant}Size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(size)}`, `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(color)}`, disableElevation && 'disableElevation', fullWidth && 'fullWidth', loading && `loadingPosition${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(loadingPosition)}`],
    startIcon: ['icon', 'startIcon', `iconSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(size)}`],
    endIcon: ['icon', 'endIcon', `iconSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(size)}`],
    loadingIndicator: ['loadingIndicator'],
    loadingWrapper: ['loadingWrapper']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__.getButtonUtilityClass, classes);
  return {
    ...classes,
    // forward the focused, disabled, etc. classes to the ButtonBase
    ...composedClasses
  };
};
const commonIconStyles = [{
  props: {
    size: 'small'
  },
  style: {
    '& > *:nth-of-type(1)': {
      fontSize: 18
    }
  }
}, {
  props: {
    size: 'medium'
  },
  style: {
    '& > *:nth-of-type(1)': {
      fontSize: 20
    }
  }
}, {
  props: {
    size: 'large'
  },
  style: {
    '& > *:nth-of-type(1)': {
      fontSize: 22
    }
  }
}];
const ButtonRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_10__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_6__["default"])(prop) || prop === 'classes',
  name: 'MuiButton',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.color)}`], styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.size)}`], styles[`${ownerState.variant}Size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.size)}`], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.loading && styles.loading];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => {
  const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
  const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
  return {
    ...theme.typography.button,
    minWidth: 64,
    padding: '6px 16px',
    border: 0,
    borderRadius: (theme.vars || theme).shape.borderRadius,
    transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
      duration: theme.transitions.duration.short
    }),
    '&:hover': {
      textDecoration: 'none'
    },
    [`&.${_buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].disabled}`]: {
      color: (theme.vars || theme).palette.action.disabled
    },
    variants: [{
      props: ({
        ownerState
      }) => ownerState.startIcon || ownerState.loading && ownerState.loadingPosition === 'start',
      style: {
        '&::before': {
          content: '"\\200b"',
          width: 0,
          overflow: 'hidden'
        }
      }
    }, {
      props: {
        variant: 'contained'
      },
      style: {
        color: `var(--variant-containedColor)`,
        backgroundColor: `var(--variant-containedBg)`,
        boxShadow: (theme.vars || theme).shadows[2],
        '&:hover': {
          boxShadow: (theme.vars || theme).shadows[4],
          // Reset on touch devices, it doesn't add specificity
          '@media (hover: none)': {
            boxShadow: (theme.vars || theme).shadows[2]
          }
        },
        '&:active': {
          boxShadow: (theme.vars || theme).shadows[8]
        },
        [`&.${_buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].focusVisible}`]: {
          boxShadow: (theme.vars || theme).shadows[6]
        },
        [`&.${_buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].disabled}`]: {
          color: (theme.vars || theme).palette.action.disabled,
          boxShadow: (theme.vars || theme).shadows[0],
          backgroundColor: (theme.vars || theme).palette.action.disabledBackground
        }
      }
    }, {
      props: {
        variant: 'outlined'
      },
      style: {
        padding: '5px 15px',
        border: '1px solid currentColor',
        borderColor: `var(--variant-outlinedBorder, currentColor)`,
        backgroundColor: `var(--variant-outlinedBg)`,
        color: `var(--variant-outlinedColor)`,
        [`&.${_buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].disabled}`]: {
          border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
        }
      }
    }, {
      props: {
        variant: 'text'
      },
      style: {
        padding: '6px 8px',
        color: `var(--variant-textColor)`,
        backgroundColor: `var(--variant-textBg)`
      }
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_13__["default"])()).map(([color]) => ({
      props: {
        color
      },
      style: {
        '--variant-textColor': (theme.vars || theme).palette[color].main,
        '--variant-outlinedColor': (theme.vars || theme).palette[color].main,
        '--variant-outlinedBorder': theme.alpha((theme.vars || theme).palette[color].main, 0.5),
        '--variant-containedColor': (theme.vars || theme).palette[color].contrastText,
        '--variant-containedBg': (theme.vars || theme).palette[color].main,
        '@media (hover: hover)': {
          '&:hover': {
            '--variant-containedBg': (theme.vars || theme).palette[color].dark,
            '--variant-textBg': theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity),
            '--variant-outlinedBorder': (theme.vars || theme).palette[color].main,
            '--variant-outlinedBg': theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)
          }
        }
      }
    })), {
      props: {
        color: 'inherit'
      },
      style: {
        color: 'inherit',
        borderColor: 'currentColor',
        '--variant-containedBg': theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
        '@media (hover: hover)': {
          '&:hover': {
            '--variant-containedBg': theme.vars ? theme.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,
            '--variant-textBg': theme.alpha((theme.vars || theme).palette.text.primary, (theme.vars || theme).palette.action.hoverOpacity),
            '--variant-outlinedBg': theme.alpha((theme.vars || theme).palette.text.primary, (theme.vars || theme).palette.action.hoverOpacity)
          }
        }
      }
    }, {
      props: {
        size: 'small',
        variant: 'text'
      },
      style: {
        padding: '4px 5px',
        fontSize: theme.typography.pxToRem(13)
      }
    }, {
      props: {
        size: 'large',
        variant: 'text'
      },
      style: {
        padding: '8px 11px',
        fontSize: theme.typography.pxToRem(15)
      }
    }, {
      props: {
        size: 'small',
        variant: 'outlined'
      },
      style: {
        padding: '3px 9px',
        fontSize: theme.typography.pxToRem(13)
      }
    }, {
      props: {
        size: 'large',
        variant: 'outlined'
      },
      style: {
        padding: '7px 21px',
        fontSize: theme.typography.pxToRem(15)
      }
    }, {
      props: {
        size: 'small',
        variant: 'contained'
      },
      style: {
        padding: '4px 10px',
        fontSize: theme.typography.pxToRem(13)
      }
    }, {
      props: {
        size: 'large',
        variant: 'contained'
      },
      style: {
        padding: '8px 22px',
        fontSize: theme.typography.pxToRem(15)
      }
    }, {
      props: {
        disableElevation: true
      },
      style: {
        boxShadow: 'none',
        '&:hover': {
          boxShadow: 'none'
        },
        [`&.${_buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].focusVisible}`]: {
          boxShadow: 'none'
        },
        '&:active': {
          boxShadow: 'none'
        },
        [`&.${_buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].disabled}`]: {
          boxShadow: 'none'
        }
      }
    }, {
      props: {
        fullWidth: true
      },
      style: {
        width: '100%'
      }
    }, {
      props: {
        loadingPosition: 'center'
      },
      style: {
        transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {
          duration: theme.transitions.duration.short
        }),
        [`&.${_buttonClasses_js__WEBPACK_IMPORTED_MODULE_14__["default"].loading}`]: {
          color: 'transparent'
        }
      }
    }]
  };
}));
const ButtonStartIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('span', {
  name: 'MuiButton',
  slot: 'StartIcon',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.startIcon, ownerState.loading && styles.startIconLoadingStart, styles[`iconSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.size)}`]];
  }
})(({
  theme
}) => ({
  display: 'inherit',
  marginRight: 8,
  marginLeft: -4,
  variants: [{
    props: {
      size: 'small'
    },
    style: {
      marginLeft: -2
    }
  }, {
    props: {
      loadingPosition: 'start',
      loading: true
    },
    style: {
      transition: theme.transitions.create(['opacity'], {
        duration: theme.transitions.duration.short
      }),
      opacity: 0
    }
  }, {
    props: {
      loadingPosition: 'start',
      loading: true,
      fullWidth: true
    },
    style: {
      marginRight: -8
    }
  }, ...commonIconStyles]
}));
const ButtonEndIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('span', {
  name: 'MuiButton',
  slot: 'EndIcon',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.endIcon, ownerState.loading && styles.endIconLoadingEnd, styles[`iconSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.size)}`]];
  }
})(({
  theme
}) => ({
  display: 'inherit',
  marginRight: -4,
  marginLeft: 8,
  variants: [{
    props: {
      size: 'small'
    },
    style: {
      marginRight: -2
    }
  }, {
    props: {
      loadingPosition: 'end',
      loading: true
    },
    style: {
      transition: theme.transitions.create(['opacity'], {
        duration: theme.transitions.duration.short
      }),
      opacity: 0
    }
  }, {
    props: {
      loadingPosition: 'end',
      loading: true,
      fullWidth: true
    },
    style: {
      marginLeft: -8
    }
  }, ...commonIconStyles]
}));
const ButtonLoadingIndicator = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('span', {
  name: 'MuiButton',
  slot: 'LoadingIndicator'
})(({
  theme
}) => ({
  display: 'none',
  position: 'absolute',
  visibility: 'visible',
  variants: [{
    props: {
      loading: true
    },
    style: {
      display: 'flex'
    }
  }, {
    props: {
      loadingPosition: 'start'
    },
    style: {
      left: 14
    }
  }, {
    props: {
      loadingPosition: 'start',
      size: 'small'
    },
    style: {
      left: 10
    }
  }, {
    props: {
      variant: 'text',
      loadingPosition: 'start'
    },
    style: {
      left: 6
    }
  }, {
    props: {
      loadingPosition: 'center'
    },
    style: {
      left: '50%',
      transform: 'translate(-50%)',
      color: (theme.vars || theme).palette.action.disabled
    }
  }, {
    props: {
      loadingPosition: 'end'
    },
    style: {
      right: 14
    }
  }, {
    props: {
      loadingPosition: 'end',
      size: 'small'
    },
    style: {
      right: 10
    }
  }, {
    props: {
      variant: 'text',
      loadingPosition: 'end'
    },
    style: {
      right: 6
    }
  }, {
    props: {
      loadingPosition: 'start',
      fullWidth: true
    },
    style: {
      position: 'relative',
      left: -10
    }
  }, {
    props: {
      loadingPosition: 'end',
      fullWidth: true
    },
    style: {
      position: 'relative',
      right: -10
    }
  }]
}));
const ButtonLoadingIconPlaceholder = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('span', {
  name: 'MuiButton',
  slot: 'LoadingIconPlaceholder'
})({
  display: 'inline-block',
  width: '1em',
  height: '1em'
});
const Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Button(inProps, ref) {
  // props priority: `inProps` > `contextProps` > `themeDefaultProps`
  const contextProps = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_ButtonGroup_ButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_15__["default"]);
  const buttonGroupButtonContextPositionClassName = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_ButtonGroup_ButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_16__["default"]);
  const resolvedProps = (0,_mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_3__["default"])(contextProps, inProps);
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__.useDefaultProps)({
    props: resolvedProps,
    name: 'MuiButton'
  });
  const {
    children,
    color = 'primary',
    component = 'button',
    className,
    disabled = false,
    disableElevation = false,
    disableFocusRipple = false,
    endIcon: endIconProp,
    focusVisibleClassName,
    fullWidth = false,
    id: idProp,
    loading = null,
    loadingIndicator: loadingIndicatorProp,
    loadingPosition = 'center',
    size = 'medium',
    startIcon: startIconProp,
    type,
    variant = 'text',
    ...other
  } = props;
  const loadingId = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(idProp);
  const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_CircularProgress_index_js__WEBPACK_IMPORTED_MODULE_11__["default"], {
    "aria-labelledby": loadingId,
    color: "inherit",
    size: 16
  });
  const ownerState = {
    ...props,
    color,
    component,
    disabled,
    disableElevation,
    disableFocusRipple,
    fullWidth,
    loading,
    loadingIndicator,
    loadingPosition,
    size,
    type,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  const startIcon = (startIconProp || loading && loadingPosition === 'start') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(ButtonStartIcon, {
    className: classes.startIcon,
    ownerState: ownerState,
    children: startIconProp || /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(ButtonLoadingIconPlaceholder, {
      className: classes.loadingIconPlaceholder,
      ownerState: ownerState
    })
  });
  const endIcon = (endIconProp || loading && loadingPosition === 'end') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(ButtonEndIcon, {
    className: classes.endIcon,
    ownerState: ownerState,
    children: endIconProp || /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(ButtonLoadingIconPlaceholder, {
      className: classes.loadingIconPlaceholder,
      ownerState: ownerState
    })
  });
  const positionClassName = buttonGroupButtonContextPositionClassName || '';
  const loader = typeof loading === 'boolean' ?
  /*#__PURE__*/
  // use plain HTML span to minimize the runtime overhead
  (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)("span", {
    className: classes.loadingWrapper,
    style: {
      display: 'contents'
    },
    children: loading && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(ButtonLoadingIndicator, {
      className: classes.loadingIndicator,
      ownerState: ownerState,
      children: loadingIndicator
    })
  }) : null;

  // Don't forward the 'root' classes to the ButtonBase, as they will get duplicated with the one passed to the className prop.
  const {
    root,
    ...forwardedClasses
  } = classes;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsxs)(ButtonRoot, {
    ownerState: ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(contextProps.className, classes.root, className, positionClassName),
    component: component,
    disabled: disabled || loading,
    focusRipple: !disableFocusRipple,
    focusVisibleClassName: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.focusVisible, focusVisibleClassName),
    ref: ref,
    type: type,
    id: loading ? loadingId : idProp,
    ...other,
    classes: forwardedClasses,
    children: [startIcon, loadingPosition !== 'end' && loader, children, loadingPosition === 'end' && loader, endIcon]
  });
});
 true ? Button.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, no elevation is used.
   * @default false
   */
  disableElevation: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the  keyboard focus ripple is disabled.
   * @default false
   */
  disableFocusRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   *
   * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
   * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Element placed after the children.
   */
  endIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  focusVisibleClassName: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the button will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The URL to link to when the button is clicked.
   * If defined, an `a` element will be used as the root node.
   */
  href: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the loading indicator is visible and the button is disabled.
   * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
   * @default null
   */
  loading: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Element placed before the children if the button is in loading state.
   * The node should contain an element with `role="progressbar"` with an accessible name.
   * By default, it renders a `CircularProgress` that is labeled by the button itself.
   * @default <CircularProgress color="inherit" size={16} />
   */
  loadingIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The loading indicator can be positioned on the start, end, or the center of the button.
   * @default 'center'
   */
  loadingPosition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'end', 'start']),
  /**
   * The size of the component.
   * `small` is equivalent to the dense button styling.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['small', 'medium', 'large']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Element placed before the children.
   */
  startIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * @ignore
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['button', 'reset', 'submit']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The variant to use.
   * @default 'text'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['contained', 'outlined', 'text']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Button);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/buttonClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Button/buttonClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getButtonUtilityClass: () => (/* binding */ getButtonUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getButtonUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiButton', slot);
}
const buttonClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorError', 'colorInfo', 'colorWarning', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'icon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge', 'loading', 'loadingWrapper', 'loadingIconPlaceholder', 'loadingIndicator', 'loadingPositionCenter', 'loadingPositionStart', 'loadingPositionEnd']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (buttonClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ButtonBaseRoot: () => (/* binding */ ButtonBaseRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/elementTypeAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/isFocusVisible */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/useEventCallback.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _useLazyRipple_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../useLazyRipple/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js");
/* harmony import */ var _TouchRipple_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./TouchRipple.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js");
/* harmony import */ var _buttonBaseClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./buttonBaseClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/buttonBaseClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
















const useUtilityClasses = ownerState => {
  const {
    disabled,
    focusVisible,
    focusVisibleClassName,
    classes
  } = ownerState;
  const slots = {
    root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _buttonBaseClasses_js__WEBPACK_IMPORTED_MODULE_13__.getButtonBaseUtilityClass, classes);
  if (focusVisible && focusVisibleClassName) {
    composedClasses.root += ` ${focusVisibleClassName}`;
  }
  return composedClasses;
};
const ButtonBaseRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('button', {
  name: 'MuiButtonBase',
  slot: '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.
  },
  [`&.${_buttonBaseClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].disabled}`]: {
    pointerEvents: 'none',
    // Disable link interactions
    cursor: 'default'
  },
  '@media print': {
    colorAdjust: 'exact'
  }
});

/**
 * `ButtonBase` contains as few styles as possible.
 * It aims to be a simple building block for creating a button.
 * It contains a load of style reset and some focus/ripple logic.
 */
const ButtonBase = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ButtonBase(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiButtonBase'
  });
  const {
    action,
    centerRipple = false,
    children,
    className,
    component = 'button',
    disabled = false,
    disableRipple = false,
    disableTouchRipple = false,
    focusRipple = false,
    focusVisibleClassName,
    LinkComponent = 'a',
    onBlur,
    onClick,
    onContextMenu,
    onDragLeave,
    onFocus,
    onFocusVisible,
    onKeyDown,
    onKeyUp,
    onMouseDown,
    onMouseLeave,
    onMouseUp,
    onTouchEnd,
    onTouchMove,
    onTouchStart,
    tabIndex = 0,
    TouchRippleProps,
    touchRippleRef,
    type,
    ...other
  } = props;
  const buttonRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const ripple = (0,_useLazyRipple_index_js__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const handleRippleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ripple.ref, touchRippleRef);
  const [focusVisible, setFocusVisible] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  if (disabled && focusVisible) {
    setFocusVisible(false);
  }
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(action, () => ({
    focusVisible: () => {
      setFocusVisible(true);
      buttonRef.current.focus();
    }
  }), []);
  const enableTouchRipple = ripple.shouldMount && !disableRipple && !disabled;
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (focusVisible && focusRipple && !disableRipple) {
      ripple.pulsate();
    }
  }, [disableRipple, focusRipple, focusVisible, ripple]);
  const handleMouseDown = useRippleHandler(ripple, 'start', onMouseDown, disableTouchRipple);
  const handleContextMenu = useRippleHandler(ripple, 'stop', onContextMenu, disableTouchRipple);
  const handleDragLeave = useRippleHandler(ripple, 'stop', onDragLeave, disableTouchRipple);
  const handleMouseUp = useRippleHandler(ripple, 'stop', onMouseUp, disableTouchRipple);
  const handleMouseLeave = useRippleHandler(ripple, 'stop', event => {
    if (focusVisible) {
      event.preventDefault();
    }
    if (onMouseLeave) {
      onMouseLeave(event);
    }
  }, disableTouchRipple);
  const handleTouchStart = useRippleHandler(ripple, 'start', onTouchStart, disableTouchRipple);
  const handleTouchEnd = useRippleHandler(ripple, 'stop', onTouchEnd, disableTouchRipple);
  const handleTouchMove = useRippleHandler(ripple, 'stop', onTouchMove, disableTouchRipple);
  const handleBlur = useRippleHandler(ripple, 'stop', event => {
    if (!(0,_mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_6__["default"])(event.target)) {
      setFocusVisible(false);
    }
    if (onBlur) {
      onBlur(event);
    }
  }, false);
  const handleFocus = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_10__["default"])(event => {
    // Fix for https://github.com/facebook/react/issues/7769
    if (!buttonRef.current) {
      buttonRef.current = event.currentTarget;
    }
    if ((0,_mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_6__["default"])(event.target)) {
      setFocusVisible(true);
      if (onFocusVisible) {
        onFocusVisible(event);
      }
    }
    if (onFocus) {
      onFocus(event);
    }
  });
  const isNonNativeButton = () => {
    const button = buttonRef.current;
    if (!button) {
      return component && component !== 'button';
    }
    if (button.tagName === 'BUTTON') {
      return false;
    }
    return !(button.tagName === 'A' && button.href);
  };
  const handleKeyDown = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_10__["default"])(event => {
    // Check if key is already down to avoid repeats being counted as multiple activations
    if (focusRipple && !event.repeat && focusVisible && event.key === ' ') {
      ripple.stop(event, () => {
        ripple.start(event);
      });
    }
    if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {
      event.preventDefault();
    }
    if (onKeyDown) {
      onKeyDown(event);
    }

    // Keyboard accessibility for non interactive elements
    if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {
      event.preventDefault();
      if (onClick) {
        onClick(event);
      }
    }
  });
  const handleKeyUp = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_10__["default"])(event => {
    // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
    // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
    if (focusRipple && event.key === ' ' && focusVisible && !event.defaultPrevented) {
      ripple.stop(event, () => {
        ripple.pulsate(event);
      });
    }
    if (onKeyUp) {
      onKeyUp(event);
    }

    // Keyboard accessibility for non interactive elements
    if (onClick && event.target === event.currentTarget && isNonNativeButton() && event.key === ' ' && !event.defaultPrevented && !disabled) {
      onClick(event);
    }
  });
  let ComponentProp = component;
  if (ComponentProp === 'button' && (other.href || other.to)) {
    ComponentProp = LinkComponent;
  }
  const buttonProps = {};
  if (ComponentProp === 'button') {
    const hasFormAttributes = !!other.formAction;
    // ButtonBase was defaulting to type="button" when no type prop was provided, which prevented form submission and broke formAction functionality.
    // The fix checks for form-related attributes and skips the default type to allow the browser's natural submit behavior (type="submit").
    buttonProps.type = type === undefined && !hasFormAttributes ? 'button' : type;
    buttonProps.disabled = disabled;
  } else {
    if (!other.href && !other.to) {
      buttonProps.role = 'button';
    }
    if (disabled) {
      buttonProps['aria-disabled'] = disabled;
    }
  }
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ref, buttonRef);
  const ownerState = {
    ...props,
    centerRipple,
    component,
    disabled,
    disableRipple,
    disableTouchRipple,
    focusRipple,
    tabIndex,
    focusVisible
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(ButtonBaseRoot, {
    as: ComponentProp,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    onBlur: handleBlur,
    onClick: onClick,
    onContextMenu: handleContextMenu,
    onFocus: handleFocus,
    onKeyDown: handleKeyDown,
    onKeyUp: handleKeyUp,
    onMouseDown: handleMouseDown,
    onMouseLeave: handleMouseLeave,
    onMouseUp: handleMouseUp,
    onDragLeave: handleDragLeave,
    onTouchEnd: handleTouchEnd,
    onTouchMove: handleTouchMove,
    onTouchStart: handleTouchStart,
    ref: handleRef,
    tabIndex: disabled ? -1 : tabIndex,
    type: type,
    ...buttonProps,
    ...other,
    children: [children, enableTouchRipple ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_TouchRipple_js__WEBPACK_IMPORTED_MODULE_12__["default"], {
      ref: handleRippleRef,
      center: centerRipple,
      ...TouchRippleProps
    }) : null]
  });
});
function useRippleHandler(ripple, rippleAction, eventCallback, skipRippleAction = false) {
  return (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_10__["default"])(event => {
    if (eventCallback) {
      eventCallback(event);
    }
    if (!skipRippleAction) {
      ripple[rippleAction](event);
    }
    return true;
  });
}
 true ? ButtonBase.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * A ref for imperative actions.
   * It currently only supports `focusVisible()` action.
   */
  action: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * If `true`, the ripples are centered.
   * They won't start at the cursor interaction position.
   * @default false
   */
  centerRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   *
   * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
   * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the touch ripple effect is disabled.
   * @default false
   */
  disableTouchRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the base button will have a keyboard focus ripple.
   * @default false
   */
  focusRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * This prop can help identify which element has keyboard focus.
   * The class name will be applied when the element gains the focus through keyboard interaction.
   * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
   * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
   * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
   * if needed.
   */
  focusVisibleClassName: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  formAction: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * @ignore
   */
  href: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * The component used to render a link when the `href` prop is provided.
   * @default 'a'
   */
  LinkComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * @ignore
   */
  onBlur: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onContextMenu: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onDragLeave: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the component is focused with a keyboard.
   * We trigger a `onFocus` callback too.
   */
  onFocusVisible: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onKeyUp: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onMouseDown: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onMouseLeave: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onMouseUp: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onTouchEnd: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onTouchMove: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onTouchStart: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * @default 0
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * Props applied to the `TouchRipple` element.
   */
  TouchRippleProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * A ref that points to the `TouchRipple` element.
   */
  touchRippleRef: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    current: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
      pulsate: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired,
      start: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired,
      stop: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired
    })
  })]),
  /**
   * @ignore
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['button', 'reset', 'submit']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ButtonBase);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/Ripple.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/Ripple.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';





/**
 * @ignore - internal component.
 */

function Ripple(props) {
  const {
    className,
    classes,
    pulsate = false,
    rippleX,
    rippleY,
    rippleSize,
    in: inProp,
    onExited,
    timeout
  } = props;
  const [leaving, setLeaving] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const rippleClassName = (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);
  const rippleStyles = {
    width: rippleSize,
    height: rippleSize,
    top: -(rippleSize / 2) + rippleY,
    left: -(rippleSize / 2) + rippleX
  };
  const childClassName = (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);
  if (!inProp && !leaving) {
    setLeaving(true);
  }
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!inProp && onExited != null) {
      // react-transition-group#onExited
      const timeoutId = setTimeout(onExited, timeout);
      return () => {
        clearTimeout(timeoutId);
      };
    }
    return undefined;
  }, [onExited, inProp, timeout]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span", {
    className: rippleClassName,
    style: rippleStyles,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span", {
      className: childClassName
    })
  });
}
 true ? Ripple.propTypes /* remove-proptypes */ = {
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object.isRequired,
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore - injected from TransitionGroup
   */
  in: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore - injected from TransitionGroup
   */
  onExited: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
   */
  pulsate: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Diameter of the ripple.
   */
  rippleSize: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * Horizontal position of the ripple center.
   */
  rippleX: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * Vertical position of the ripple center.
   */
  rippleY: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * exit delay
   */
  timeout: prop_types__WEBPACK_IMPORTED_MODULE_1__.number.isRequired
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Ripple);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DELAY_RIPPLE: () => (/* binding */ DELAY_RIPPLE),
/* harmony export */   TouchRippleRipple: () => (/* binding */ TouchRippleRipple),
/* harmony export */   TouchRippleRoot: () => (/* binding */ TouchRippleRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useTimeout */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Ripple_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Ripple.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/Ripple.js");
/* harmony import */ var _touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./touchRippleClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const DURATION = 550;
const DELAY_RIPPLE = 80;
const enterKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`;
const exitKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`;
const pulsateKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`;
const TouchRippleRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiTouchRipple',
  slot: 'Root'
})({
  overflow: 'hidden',
  pointerEvents: 'none',
  position: 'absolute',
  zIndex: 0,
  top: 0,
  right: 0,
  bottom: 0,
  left: 0,
  borderRadius: 'inherit'
});

// This `styled()` function invokes keyframes. `styled-components` only supports keyframes
// in string templates. Do not convert these styles in JS object as it will break.
const TouchRippleRipple = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])((0,_Ripple_js__WEBPACK_IMPORTED_MODULE_8__["default"]), {
  name: 'MuiTouchRipple',
  slot: 'Ripple'
})`
  opacity: 0;
  position: absolute;

  &.${_touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].rippleVisible} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${enterKeyframe};
    animation-duration: ${DURATION}ms;
    animation-timing-function: ${({
  theme
}) => theme.transitions.easing.easeInOut};
  }

  &.${_touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].ripplePulsate} {
    animation-duration: ${({
  theme
}) => theme.transitions.duration.shorter}ms;
  }

  & .${_touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].child} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${_touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].childLeaving} {
    opacity: 0;
    animation-name: ${exitKeyframe};
    animation-duration: ${DURATION}ms;
    animation-timing-function: ${({
  theme
}) => theme.transitions.easing.easeInOut};
  }

  & .${_touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].childPulsate} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${pulsateKeyframe};
    animation-duration: 2500ms;
    animation-timing-function: ${({
  theme
}) => theme.transitions.easing.easeInOut};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`;

/**
 * @ignore - internal component.
 *
 * TODO v5: Make private
 */
const TouchRipple = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TouchRipple(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiTouchRipple'
  });
  const {
    center: centerProp = false,
    classes = {},
    className,
    ...other
  } = props;
  const [ripples, setRipples] = react__WEBPACK_IMPORTED_MODULE_0__.useState([]);
  const nextKey = react__WEBPACK_IMPORTED_MODULE_0__.useRef(0);
  const rippleCallback = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (rippleCallback.current) {
      rippleCallback.current();
      rippleCallback.current = null;
    }
  }, [ripples]);

  // Used to filter out mouse emulated events on mobile.
  const ignoringMouseDown = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  // We use a timer in order to only show the ripples for touch "click" like events.
  // We don't want to display the ripple for touch scroll events.
  const startTimer = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_4__["default"])();

  // This is the hook called once the previous timeout is ready.
  const startTimerCommit = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const container = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const startCommit = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(params => {
    const {
      pulsate,
      rippleX,
      rippleY,
      rippleSize,
      cb
    } = params;
    setRipples(oldRipples => [...oldRipples, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TouchRippleRipple, {
      classes: {
        ripple: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.ripple, _touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].ripple),
        rippleVisible: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.rippleVisible, _touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].rippleVisible),
        ripplePulsate: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.ripplePulsate, _touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].ripplePulsate),
        child: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.child, _touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].child),
        childLeaving: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.childLeaving, _touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].childLeaving),
        childPulsate: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.childPulsate, _touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].childPulsate)
      },
      timeout: DURATION,
      pulsate: pulsate,
      rippleX: rippleX,
      rippleY: rippleY,
      rippleSize: rippleSize
    }, nextKey.current)]);
    nextKey.current += 1;
    rippleCallback.current = cb;
  }, [classes]);
  const start = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((event = {}, options = {}, cb = () => {}) => {
    const {
      pulsate = false,
      center = centerProp || options.pulsate,
      fakeElement = false // For test purposes
    } = options;
    if (event?.type === 'mousedown' && ignoringMouseDown.current) {
      ignoringMouseDown.current = false;
      return;
    }
    if (event?.type === 'touchstart') {
      ignoringMouseDown.current = true;
    }
    const element = fakeElement ? null : container.current;
    const rect = element ? element.getBoundingClientRect() : {
      width: 0,
      height: 0,
      left: 0,
      top: 0
    };

    // Get the size of the ripple
    let rippleX;
    let rippleY;
    let rippleSize;
    if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {
      rippleX = Math.round(rect.width / 2);
      rippleY = Math.round(rect.height / 2);
    } else {
      const {
        clientX,
        clientY
      } = event.touches && event.touches.length > 0 ? event.touches[0] : event;
      rippleX = Math.round(clientX - rect.left);
      rippleY = Math.round(clientY - rect.top);
    }
    if (center) {
      rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3);

      // For some reason the animation is broken on Mobile Chrome if the size is even.
      if (rippleSize % 2 === 0) {
        rippleSize += 1;
      }
    } else {
      const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;
      const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;
      rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);
    }

    // Touch devices
    if (event?.touches) {
      // check that this isn't another touchstart due to multitouch
      // otherwise we will only clear a single timer when unmounting while two
      // are running
      if (startTimerCommit.current === null) {
        // Prepare the ripple effect.
        startTimerCommit.current = () => {
          startCommit({
            pulsate,
            rippleX,
            rippleY,
            rippleSize,
            cb
          });
        };
        // Delay the execution of the ripple effect.
        // We have to make a tradeoff with this delay value.
        startTimer.start(DELAY_RIPPLE, () => {
          if (startTimerCommit.current) {
            startTimerCommit.current();
            startTimerCommit.current = null;
          }
        });
      }
    } else {
      startCommit({
        pulsate,
        rippleX,
        rippleY,
        rippleSize,
        cb
      });
    }
  }, [centerProp, startCommit, startTimer]);
  const pulsate = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    start({}, {
      pulsate: true
    });
  }, [start]);
  const stop = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((event, cb) => {
    startTimer.clear();

    // The touch interaction occurs too quickly.
    // We still want to show ripple effect.
    if (event?.type === 'touchend' && startTimerCommit.current) {
      startTimerCommit.current();
      startTimerCommit.current = null;
      startTimer.start(0, () => {
        stop(event, cb);
      });
      return;
    }
    startTimerCommit.current = null;
    setRipples(oldRipples => {
      if (oldRipples.length > 0) {
        return oldRipples.slice(1);
      }
      return oldRipples;
    });
    rippleCallback.current = cb;
  }, [startTimer]);
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(ref, () => ({
    pulsate,
    start,
    stop
  }), [pulsate, start, stop]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TouchRippleRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_touchRippleClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].root, classes.root, className),
    ref: container,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(react_transition_group__WEBPACK_IMPORTED_MODULE_2__["default"], {
      component: null,
      exit: true,
      children: ripples
    })
  });
});
 true ? TouchRipple.propTypes /* remove-proptypes */ = {
  /**
   * If `true`, the ripple starts at the center of the component
   * rather than at the point of interaction.
   */
  center: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TouchRipple);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/buttonBaseClasses.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/buttonBaseClasses.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getButtonBaseUtilityClass: () => (/* binding */ getButtonBaseUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getButtonBaseUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiButtonBase', slot);
}
const buttonBaseClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (buttonBaseClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/touchRippleClasses.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTouchRippleUtilityClass: () => (/* binding */ getTouchRippleUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTouchRippleUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTouchRipple', slot);
}
const touchRippleClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (touchRippleClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroup.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroup.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_getValidReactChildren__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/getValidReactChildren */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./buttonGroupClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/buttonGroupClasses.js");
/* harmony import */ var _ButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ButtonGroupContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js");
/* harmony import */ var _ButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ButtonGroupButtonContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const overridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [{
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: styles.grouped
  }, {
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: styles[`grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.orientation)}`]
  }, {
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: styles[`grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.variant)}`]
  }, {
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: styles[`grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.variant)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.orientation)}`]
  }, {
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: styles[`grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.variant)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.color)}`]
  }, {
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton}`]: styles.firstButton
  }, {
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton}`]: styles.lastButton
  }, {
    [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: styles.middleButton
  }, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
};
const useUtilityClasses = ownerState => {
  const {
    classes,
    color,
    disabled,
    disableElevation,
    fullWidth,
    orientation,
    variant
  } = ownerState;
  const slots = {
    root: ['root', variant, orientation, fullWidth && 'fullWidth', disableElevation && 'disableElevation', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(color)}`],
    grouped: ['grouped', `grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(orientation)}`, `grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(variant)}`, `grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(variant)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(orientation)}`, `grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(variant)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(color)}`, disabled && 'disabled'],
    firstButton: ['firstButton'],
    lastButton: ['lastButton'],
    middleButton: ['middleButton']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__.getButtonGroupUtilityClass, classes);
};
const ButtonGroupRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiButtonGroup',
  slot: 'Root',
  overridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  display: 'inline-flex',
  borderRadius: (theme.vars || theme).shape.borderRadius,
  variants: [{
    props: {
      variant: 'contained'
    },
    style: {
      boxShadow: (theme.vars || theme).shadows[2],
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: {
        boxShadow: 'none',
        '&:hover': {
          boxShadow: 'none'
        }
      }
    }
  }, {
    props: {
      disableElevation: true
    },
    style: {
      boxShadow: 'none'
    }
  }, {
    props: {
      fullWidth: true
    },
    style: {
      width: '100%'
    }
  }, {
    props: {
      orientation: 'vertical'
    },
    style: {
      flexDirection: 'column',
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderTopRightRadius: 0,
        borderTopLeftRadius: 0
      },
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderBottomRightRadius: 0,
        borderBottomLeftRadius: 0
      }
    }
  }, {
    props: {
      orientation: 'horizontal'
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderTopRightRadius: 0,
        borderBottomRightRadius: 0
      },
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderTopLeftRadius: 0,
        borderBottomLeftRadius: 0
      }
    }
  }, {
    props: {
      variant: 'text',
      orientation: 'horizontal'
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderRight: theme.vars ? `1px solid ${theme.alpha(theme.vars.palette.common.onBackground, 0.23)}` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
        [`&.${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
          borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
        }
      }
    }
  }, {
    props: {
      variant: 'text',
      orientation: 'vertical'
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderBottom: theme.vars ? `1px solid ${theme.alpha(theme.vars.palette.common.onBackground, 0.23)}` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
        [`&.${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
          borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
        }
      }
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()).flatMap(([color]) => [{
    props: {
      variant: 'text',
      color
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderColor: theme.alpha((theme.vars || theme).palette[color].main, 0.5)
      }
    }
  }]), {
    props: {
      variant: 'outlined',
      orientation: 'horizontal'
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderRightColor: 'transparent',
        '&:hover': {
          borderRightColor: 'currentColor'
        }
      },
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        marginLeft: -1
      }
    }
  }, {
    props: {
      variant: 'outlined',
      orientation: 'vertical'
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderBottomColor: 'transparent',
        '&:hover': {
          borderBottomColor: 'currentColor'
        }
      },
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        marginTop: -1
      }
    }
  }, {
    props: {
      variant: 'contained',
      orientation: 'horizontal'
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderRight: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
        [`&.${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
          borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
        }
      }
    }
  }, {
    props: {
      variant: 'contained',
      orientation: 'vertical'
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderBottom: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
        [`&.${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
          borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
        }
      }
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])(['dark'])).map(([color]) => ({
    props: {
      variant: 'contained',
      color
    },
    style: {
      [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderColor: (theme.vars || theme).palette[color].dark
      }
    }
  }))],
  [`& .${_buttonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: {
    minWidth: 40
  }
})));
const ButtonGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ButtonGroup(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__.useDefaultProps)({
    props: inProps,
    name: 'MuiButtonGroup'
  });
  const {
    children,
    className,
    color = 'primary',
    component = 'div',
    disabled = false,
    disableElevation = false,
    disableFocusRipple = false,
    disableRipple = false,
    fullWidth = false,
    orientation = 'horizontal',
    size = 'medium',
    variant = 'outlined',
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    component,
    disabled,
    disableElevation,
    disableFocusRipple,
    disableRipple,
    fullWidth,
    orientation,
    size,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    className: classes.grouped,
    color,
    disabled,
    disableElevation,
    disableFocusRipple,
    disableRipple,
    fullWidth,
    size,
    variant
  }), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
  const validChildren = (0,_mui_utils_getValidReactChildren__WEBPACK_IMPORTED_MODULE_4__["default"])(children);
  const childrenCount = validChildren.length;
  const getButtonPositionClassName = index => {
    const isFirstButton = index === 0;
    const isLastButton = index === childrenCount - 1;
    if (isFirstButton && isLastButton) {
      return '';
    }
    if (isFirstButton) {
      return classes.firstButton;
    }
    if (isLastButton) {
      return classes.lastButton;
    }
    return classes.middleButton;
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(ButtonGroupRoot, {
    as: component,
    role: "group",
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    ownerState: ownerState,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_ButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_11__["default"].Provider, {
      value: context,
      children: validChildren.map((child, index) => {
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_ButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_12__["default"].Provider, {
          value: getButtonPositionClassName(index),
          children: child
        }, index);
      })
    })
  });
});
 true ? ButtonGroup.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, no elevation is used.
   * @default false
   */
  disableElevation: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the button keyboard focus ripple is disabled.
   * @default false
   */
  disableFocusRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the button ripple effect is disabled.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the buttons will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The component orientation (layout flow direction).
   * @default 'horizontal'
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['horizontal', 'vertical']),
  /**
   * The size of the component.
   * `small` is equivalent to the dense button styling.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['small', 'medium', 'large']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   * @default 'outlined'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['contained', 'outlined', 'text']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ButtonGroup);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


/**
 * @ignore - internal component.
 */
const ButtonGroupButtonContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);
if (true) {
  ButtonGroupButtonContext.displayName = 'ButtonGroupButtonContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ButtonGroupButtonContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


/**
 * @ignore - internal component.
 */
const ButtonGroupContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
if (true) {
  ButtonGroupContext.displayName = 'ButtonGroupContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ButtonGroupContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/buttonGroupClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonGroup/buttonGroupClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getButtonGroupUtilityClass: () => (/* binding */ getButtonGroupUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getButtonGroupUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiButtonGroup', slot);
}
const buttonGroupClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'firstButton', 'fullWidth', 'horizontal', 'vertical', 'colorPrimary', 'colorSecondary', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary', 'lastButton', 'middleButton']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (buttonGroupClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Card/Card.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Card/Card.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _cardClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cardClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Card/cardClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _cardClasses_js__WEBPACK_IMPORTED_MODULE_8__.getCardUtilityClass, classes);
};
const CardRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_7__["default"], {
  name: 'MuiCard',
  slot: 'Root'
})({
  overflow: 'hidden'
});
const Card = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Card(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiCard'
  });
  const {
    className,
    raised = false,
    ...other
  } = props;
  const ownerState = {
    ...props,
    raised
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(CardRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    elevation: raised ? 8 : undefined,
    ref: ref,
    ownerState: ownerState,
    ...other
  });
});
 true ? Card.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the card will use raised styling.
   * @default false
   */
  raised: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.bool, props => {
    if (props.raised && props.variant === 'outlined') {
      return new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.');
    }
    return null;
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Card);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Card/cardClasses.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Card/cardClasses.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getCardUtilityClass: () => (/* binding */ getCardUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getCardUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCard', slot);
}
const cardClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCard', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cardClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardContent/CardContent.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardContent/CardContent.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _cardContentClasses_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cardContentClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardContent/cardContentClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _cardContentClasses_js__WEBPACK_IMPORTED_MODULE_6__.getCardContentUtilityClass, classes);
};
const CardContentRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiCardContent',
  slot: 'Root'
})({
  padding: 16,
  '&:last-child': {
    paddingBottom: 24
  }
});
const CardContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function CardContent(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiCardContent'
  });
  const {
    className,
    component = 'div',
    ...other
  } = props;
  const ownerState = {
    ...props,
    component
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(CardContentRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other
  });
});
 true ? CardContent.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CardContent);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardContent/cardContentClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardContent/cardContentClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getCardContentUtilityClass: () => (/* binding */ getCardContentUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getCardContentUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCardContent', slot);
}
const cardContentClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCardContent', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cardContentClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardHeader/CardHeader.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardHeader/CardHeader.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/typographyClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _cardHeaderClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cardHeaderClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardHeader/cardHeaderClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    avatar: ['avatar'],
    action: ['action'],
    content: ['content'],
    title: ['title'],
    subheader: ['subheader']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__["default"])(slots, _cardHeaderClasses_js__WEBPACK_IMPORTED_MODULE_7__.getCardHeaderUtilityClass, classes);
};
const CardHeaderRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiCardHeader',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    return [{
      [`& .${_cardHeaderClasses_js__WEBPACK_IMPORTED_MODULE_7__["default"].title}`]: styles.title
    }, {
      [`& .${_cardHeaderClasses_js__WEBPACK_IMPORTED_MODULE_7__["default"].subheader}`]: styles.subheader
    }, styles.root];
  }
})({
  display: 'flex',
  alignItems: 'center',
  padding: 16
});
const CardHeaderAvatar = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiCardHeader',
  slot: 'Avatar'
})({
  display: 'flex',
  flex: '0 0 auto',
  marginRight: 16
});
const CardHeaderAction = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiCardHeader',
  slot: 'Action'
})({
  flex: '0 0 auto',
  alignSelf: 'flex-start',
  marginTop: -4,
  marginRight: -8,
  marginBottom: -4
});
const CardHeaderContent = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiCardHeader',
  slot: 'Content'
})({
  flex: '1 1 auto',
  // Combine this and the below selector once https://github.com/emotion-js/emotion/issues/3366 is solved
  [`.${_Typography_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].root}:where(& .${_cardHeaderClasses_js__WEBPACK_IMPORTED_MODULE_7__["default"].title})`]: {
    display: 'block'
  },
  [`.${_Typography_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].root}:where(& .${_cardHeaderClasses_js__WEBPACK_IMPORTED_MODULE_7__["default"].subheader})`]: {
    display: 'block'
  }
});
const CardHeader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function CardHeader(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiCardHeader'
  });
  const {
    action,
    avatar,
    component = 'div',
    disableTypography = false,
    subheader: subheaderProp,
    subheaderTypographyProps,
    title: titleProp,
    titleTypographyProps,
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const ownerState = {
    ...props,
    component,
    disableTypography
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots,
    slotProps: {
      title: titleTypographyProps,
      subheader: subheaderTypographyProps,
      ...slotProps
    }
  };
  let title = titleProp;
  const [TitleSlot, titleSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_8__["default"])('title', {
    className: classes.title,
    elementType: _Typography_index_js__WEBPACK_IMPORTED_MODULE_3__["default"],
    externalForwardedProps,
    ownerState,
    additionalProps: {
      variant: avatar ? 'body2' : 'h5',
      component: 'span'
    }
  });
  if (title != null && title.type !== _Typography_index_js__WEBPACK_IMPORTED_MODULE_3__["default"] && !disableTypography) {
    title = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(TitleSlot, {
      ...titleSlotProps,
      children: title
    });
  }
  let subheader = subheaderProp;
  const [SubheaderSlot, subheaderSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_8__["default"])('subheader', {
    className: classes.subheader,
    elementType: _Typography_index_js__WEBPACK_IMPORTED_MODULE_3__["default"],
    externalForwardedProps,
    ownerState,
    additionalProps: {
      variant: avatar ? 'body2' : 'body1',
      color: 'textSecondary',
      component: 'span'
    }
  });
  if (subheader != null && subheader.type !== _Typography_index_js__WEBPACK_IMPORTED_MODULE_3__["default"] && !disableTypography) {
    subheader = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(SubheaderSlot, {
      ...subheaderSlotProps,
      children: subheader
    });
  }
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_8__["default"])('root', {
    ref,
    className: classes.root,
    elementType: CardHeaderRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other,
      component
    },
    ownerState
  });
  const [AvatarSlot, avatarSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_8__["default"])('avatar', {
    className: classes.avatar,
    elementType: CardHeaderAvatar,
    externalForwardedProps,
    ownerState
  });
  const [ContentSlot, contentSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_8__["default"])('content', {
    className: classes.content,
    elementType: CardHeaderContent,
    externalForwardedProps,
    ownerState
  });
  const [ActionSlot, actionSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_8__["default"])('action', {
    className: classes.action,
    elementType: CardHeaderAction,
    externalForwardedProps,
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(RootSlot, {
    ...rootSlotProps,
    children: [avatar && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(AvatarSlot, {
      ...avatarSlotProps,
      children: avatar
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(ContentSlot, {
      ...contentSlotProps,
      children: [title, subheader]
    }), action && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ActionSlot, {
      ...actionSlotProps,
      children: action
    })]
  });
});
 true ? CardHeader.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The action to display in the card header.
   */
  action: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The Avatar element to display.
   */
  avatar: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, `subheader` and `title` won't be wrapped by a Typography component.
   * This can be useful to render an alternative Typography variant by wrapping
   * the `title` text, and optional `subheader` text
   * with the Typography component.
   * @default false
   */
  disableTypography: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    action: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    avatar: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    content: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    subheader: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    title: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    action: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    avatar: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    content: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    subheader: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    title: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The content of the component.
   */
  subheader: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * These props will be forwarded to the subheader
   * (as long as disableTypography is not `true`).
   * @deprecated Use `slotProps.subheader` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  subheaderTypographyProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The content of the component.
   */
  title: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * These props will be forwarded to the title
   * (as long as disableTypography is not `true`).
   * @deprecated Use `slotProps.title` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  titleTypographyProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CardHeader);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardHeader/cardHeaderClasses.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CardHeader/cardHeaderClasses.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getCardHeaderUtilityClass: () => (/* binding */ getCardHeaderUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getCardHeaderUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCardHeader', slot);
}
const cardHeaderClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCardHeader', ['root', 'avatar', 'action', 'content', 'title', 'subheader']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cardHeaderClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/Checkbox.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _internal_SwitchBase_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../internal/SwitchBase.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/SwitchBase.js");
/* harmony import */ var _internal_svg_icons_CheckBoxOutlineBlank_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal/svg-icons/CheckBoxOutlineBlank.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/CheckBoxOutlineBlank.js");
/* harmony import */ var _internal_svg_icons_CheckBox_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal/svg-icons/CheckBox.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/CheckBox.js");
/* harmony import */ var _internal_svg_icons_IndeterminateCheckBox_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internal/svg-icons/IndeterminateCheckBox.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/IndeterminateCheckBox.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _checkboxClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./checkboxClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/mergeSlotProps.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



















const useUtilityClasses = ownerState => {
  const {
    classes,
    indeterminate,
    color,
    size
  } = ownerState;
  const slots = {
    root: ['root', indeterminate && 'indeterminate', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(color)}`, `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(size)}`]
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _checkboxClasses_js__WEBPACK_IMPORTED_MODULE_10__.getCheckboxUtilityClass, classes);
  return {
    ...classes,
    // forward the disabled and checked classes to the SwitchBase
    ...composedClasses
  };
};
const CheckboxRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__["default"])(_internal_SwitchBase_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_9__["default"])(prop) || prop === 'classes',
  name: 'MuiCheckbox',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.indeterminate && styles.indeterminate, styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(ownerState.size)}`], ownerState.color !== 'default' && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(ownerState.color)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_12__["default"])(({
  theme
}) => ({
  color: (theme.vars || theme).palette.text.secondary,
  variants: [{
    props: {
      color: 'default',
      disableRipple: false
    },
    style: {
      '&:hover': {
        backgroundColor: theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity)
      }
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_13__["default"])()).map(([color]) => ({
    props: {
      color,
      disableRipple: false
    },
    style: {
      '&:hover': {
        backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)
      }
    }
  })), ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_13__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      [`&.${_checkboxClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].checked}, &.${_checkboxClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].indeterminate}`]: {
        color: (theme.vars || theme).palette[color].main
      },
      [`&.${_checkboxClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
        color: (theme.vars || theme).palette.action.disabled
      }
    }
  })), {
    // Should be last to override other colors
    props: {
      disableRipple: false
    },
    style: {
      // Reset on touch devices, it doesn't add specificity
      '&:hover': {
        '@media (hover: none)': {
          backgroundColor: 'transparent'
        }
      }
    }
  }]
})));
const defaultCheckedIcon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_internal_svg_icons_CheckBox_js__WEBPACK_IMPORTED_MODULE_6__["default"], {});
const defaultIcon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_internal_svg_icons_CheckBoxOutlineBlank_js__WEBPACK_IMPORTED_MODULE_5__["default"], {});
const defaultIndeterminateIcon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_internal_svg_icons_IndeterminateCheckBox_js__WEBPACK_IMPORTED_MODULE_7__["default"], {});
const Checkbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Checkbox(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__.useDefaultProps)({
    props: inProps,
    name: 'MuiCheckbox'
  });
  const {
    checkedIcon = defaultCheckedIcon,
    color = 'primary',
    icon: iconProp = defaultIcon,
    indeterminate = false,
    indeterminateIcon: indeterminateIconProp = defaultIndeterminateIcon,
    inputProps,
    size = 'medium',
    disableRipple = false,
    className,
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const icon = indeterminate ? indeterminateIconProp : iconProp;
  const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
  const ownerState = {
    ...props,
    disableRipple,
    color,
    indeterminate,
    size
  };
  const classes = useUtilityClasses(ownerState);
  const externalInputProps = slotProps.input ?? inputProps;
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('root', {
    ref,
    elementType: CheckboxRoot,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    shouldForwardComponentProp: true,
    externalForwardedProps: {
      slots,
      slotProps,
      ...other
    },
    ownerState,
    additionalProps: {
      type: 'checkbox',
      icon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(icon, {
        fontSize: icon.props.fontSize ?? size
      }),
      checkedIcon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(indeterminateIcon, {
        fontSize: indeterminateIcon.props.fontSize ?? size
      }),
      disableRipple,
      slots,
      slotProps: {
        input: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_15__["default"])(typeof externalInputProps === 'function' ? externalInputProps(ownerState) : externalInputProps, {
          'data-indeterminate': indeterminate,
          'aria-checked': indeterminate ? 'mixed' : undefined
        })
      }
    }
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(RootSlot, {
    ...rootSlotProps,
    classes: classes
  });
});
 true ? Checkbox.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the component is checked.
   */
  checked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display when the component is checked.
   * @default <CheckBoxIcon />
   */
  checkedIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The default checked state. Use when the component is not controlled.
   */
  defaultChecked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display when the component is unchecked.
   * @default <CheckBoxOutlineBlankIcon />
   */
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the component appears indeterminate.
   * This does not set the native input element to indeterminate due
   * to inconsistent behavior across browsers.
   * However, we set a `data-indeterminate` attribute on the `input`.
   * @default false
   */
  indeterminate: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display when the component is indeterminate.
   * @default <IndeterminateCheckBoxIcon />
   */
  indeterminateIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Callback fired when the state is changed.
   *
   * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
   * You can pull out the new checked state by accessing `event.target.checked` (boolean).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the `input` element is required.
   * @default false
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * `small` is equivalent to the dense checkbox styling.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The value of the component. The DOM API casts this to a string.
   * The browser uses "on" as the default value.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Checkbox);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Checkbox/checkboxClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getCheckboxUtilityClass: () => (/* binding */ getCheckboxUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getCheckboxUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCheckbox', slot);
}
const checkboxClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (checkboxClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/Chip.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _internal_svg_icons_Cancel_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../internal/svg-icons/Cancel.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/Cancel.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_unsupportedProp_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/unsupportedProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/unsupportedProp.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _chipClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./chipClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/chipClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

















const useUtilityClasses = ownerState => {
  const {
    classes,
    disabled,
    size,
    color,
    iconColor,
    onDelete,
    clickable,
    variant
  } = ownerState;
  const slots = {
    root: ['root', variant, disabled && 'disabled', `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`, `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`, clickable && 'clickable', clickable && `clickableColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`, onDelete && 'deletable', onDelete && `deletableColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`, `${variant}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`],
    label: ['label', `label${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`],
    avatar: ['avatar', `avatar${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`, `avatarColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`],
    icon: ['icon', `icon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`, `iconColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(iconColor)}`],
    deleteIcon: ['deleteIcon', `deleteIcon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`, `deleteIconColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`, `deleteIcon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(variant)}Color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _chipClasses_js__WEBPACK_IMPORTED_MODULE_13__.getChipUtilityClass, classes);
};
const ChipRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])('div', {
  name: 'MuiChip',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    const {
      color,
      iconColor,
      clickable,
      onDelete,
      size,
      variant
    } = ownerState;
    return [{
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatar}`]: styles.avatar
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatar}`]: styles[`avatar${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`]
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatar}`]: styles[`avatarColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`]
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: styles.icon
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: styles[`icon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`]
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: styles[`iconColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(iconColor)}`]
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: styles.deleteIcon
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: styles[`deleteIcon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`]
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: styles[`deleteIconColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`]
    }, {
      [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: styles[`deleteIcon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(variant)}Color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`]
    }, styles.root, styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`], styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`], clickable && styles.clickable, clickable && color !== 'default' && styles[`clickableColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`], onDelete && styles.deletable, onDelete && color !== 'default' && styles[`deletableColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`], styles[variant], styles[`${variant}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_10__["default"])(({
  theme
}) => {
  const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];
  return {
    maxWidth: '100%',
    fontFamily: theme.typography.fontFamily,
    fontSize: theme.typography.pxToRem(13),
    display: 'inline-flex',
    alignItems: 'center',
    justifyContent: 'center',
    height: 32,
    lineHeight: 1.5,
    color: (theme.vars || theme).palette.text.primary,
    backgroundColor: (theme.vars || theme).palette.action.selected,
    borderRadius: 32 / 2,
    whiteSpace: 'nowrap',
    transition: theme.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',
    [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].disabled}`]: {
      opacity: (theme.vars || theme).palette.action.disabledOpacity,
      pointerEvents: 'none'
    },
    [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatar}`]: {
      marginLeft: 5,
      marginRight: -6,
      width: 24,
      height: 24,
      color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,
      fontSize: theme.typography.pxToRem(12)
    },
    [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatarColorPrimary}`]: {
      color: (theme.vars || theme).palette.primary.contrastText,
      backgroundColor: (theme.vars || theme).palette.primary.dark
    },
    [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatarColorSecondary}`]: {
      color: (theme.vars || theme).palette.secondary.contrastText,
      backgroundColor: (theme.vars || theme).palette.secondary.dark
    },
    [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatarSmall}`]: {
      marginLeft: 4,
      marginRight: -4,
      width: 18,
      height: 18,
      fontSize: theme.typography.pxToRem(10)
    },
    [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: {
      marginLeft: 5,
      marginRight: -6
    },
    [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: {
      WebkitTapHighlightColor: 'transparent',
      color: theme.alpha((theme.vars || theme).palette.text.primary, 0.26),
      fontSize: 22,
      cursor: 'pointer',
      margin: '0 5px 0 -6px',
      '&:hover': {
        color: theme.alpha((theme.vars || theme).palette.text.primary, 0.4)
      }
    },
    variants: [{
      props: {
        size: 'small'
      },
      style: {
        height: 24,
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: {
          fontSize: 18,
          marginLeft: 4,
          marginRight: -4
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: {
          fontSize: 16,
          marginRight: 4,
          marginLeft: -4
        }
      }
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_11__["default"])(['contrastText'])).map(([color]) => {
      return {
        props: {
          color
        },
        style: {
          backgroundColor: (theme.vars || theme).palette[color].main,
          color: (theme.vars || theme).palette[color].contrastText,
          [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: {
            color: theme.alpha((theme.vars || theme).palette[color].contrastText, 0.7),
            '&:hover, &:active': {
              color: (theme.vars || theme).palette[color].contrastText
            }
          }
        }
      };
    }), {
      props: props => props.iconColor === props.color,
      style: {
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: {
          color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor
        }
      }
    }, {
      props: props => props.iconColor === props.color && props.color !== 'default',
      style: {
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: {
          color: 'inherit'
        }
      }
    }, {
      props: {
        onDelete: true
      },
      style: {
        [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].focusVisible}`]: {
          backgroundColor: theme.alpha((theme.vars || theme).palette.action.selected, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
        }
      }
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_11__["default"])(['dark'])).map(([color]) => {
      return {
        props: {
          color,
          onDelete: true
        },
        style: {
          [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].focusVisible}`]: {
            background: (theme.vars || theme).palette[color].dark
          }
        }
      };
    }), {
      props: {
        clickable: true
      },
      style: {
        userSelect: 'none',
        WebkitTapHighlightColor: 'transparent',
        cursor: 'pointer',
        '&:hover': {
          backgroundColor: theme.alpha((theme.vars || theme).palette.action.selected, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`)
        },
        [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].focusVisible}`]: {
          backgroundColor: theme.alpha((theme.vars || theme).palette.action.selected, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
        },
        '&:active': {
          boxShadow: (theme.vars || theme).shadows[1]
        }
      }
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_11__["default"])(['dark'])).map(([color]) => ({
      props: {
        color,
        clickable: true
      },
      style: {
        [`&:hover, &.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].focusVisible}`]: {
          backgroundColor: (theme.vars || theme).palette[color].dark
        }
      }
    })), {
      props: {
        variant: 'outlined'
      },
      style: {
        backgroundColor: 'transparent',
        border: theme.vars ? `1px solid ${theme.vars.palette.Chip.defaultBorder}` : `1px solid ${theme.palette.mode === 'light' ? theme.palette.grey[400] : theme.palette.grey[700]}`,
        [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].clickable}:hover`]: {
          backgroundColor: (theme.vars || theme).palette.action.hover
        },
        [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].focusVisible}`]: {
          backgroundColor: (theme.vars || theme).palette.action.focus
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatar}`]: {
          marginLeft: 4
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].avatarSmall}`]: {
          marginLeft: 2
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].icon}`]: {
          marginLeft: 4
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].iconSmall}`]: {
          marginLeft: 2
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: {
          marginRight: 5
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIconSmall}`]: {
          marginRight: 3
        }
      }
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_11__["default"])()) // no need to check for mainChannel as it's calculated from main
    .map(([color]) => ({
      props: {
        variant: 'outlined',
        color
      },
      style: {
        color: (theme.vars || theme).palette[color].main,
        border: `1px solid ${theme.alpha((theme.vars || theme).palette[color].main, 0.7)}`,
        [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].clickable}:hover`]: {
          backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)
        },
        [`&.${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].focusVisible}`]: {
          backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.focusOpacity)
        },
        [`& .${_chipClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].deleteIcon}`]: {
          color: theme.alpha((theme.vars || theme).palette[color].main, 0.7),
          '&:hover, &:active': {
            color: (theme.vars || theme).palette[color].main
          }
        }
      }
    }))]
  };
}));
const ChipLabel = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])('span', {
  name: 'MuiChip',
  slot: 'Label',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    const {
      size
    } = ownerState;
    return [styles.label, styles[`label${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`]];
  }
})({
  overflow: 'hidden',
  textOverflow: 'ellipsis',
  paddingLeft: 12,
  paddingRight: 12,
  whiteSpace: 'nowrap',
  variants: [{
    props: {
      variant: 'outlined'
    },
    style: {
      paddingLeft: 11,
      paddingRight: 11
    }
  }, {
    props: {
      size: 'small'
    },
    style: {
      paddingLeft: 8,
      paddingRight: 8
    }
  }, {
    props: {
      size: 'small',
      variant: 'outlined'
    },
    style: {
      paddingLeft: 7,
      paddingRight: 7
    }
  }]
});
function isDeleteKeyboardEvent(keyboardEvent) {
  return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';
}

/**
 * Chips represent complex entities in small blocks, such as a contact.
 */
const Chip = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Chip(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__.useDefaultProps)({
    props: inProps,
    name: 'MuiChip'
  });
  const {
    avatar: avatarProp,
    className,
    clickable: clickableProp,
    color = 'default',
    component: ComponentProp,
    deleteIcon: deleteIconProp,
    disabled = false,
    icon: iconProp,
    label,
    onClick,
    onDelete,
    onKeyDown,
    onKeyUp,
    size = 'medium',
    variant = 'filled',
    tabIndex,
    skipFocusWhenDisabled = false,
    // TODO v6: Rename to `focusableWhenDisabled`.
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const chipRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_5__["default"])(chipRef, ref);
  const handleDeleteIconClick = event => {
    // Stop the event from bubbling up to the `Chip`
    event.stopPropagation();
    onDelete(event);
  };
  const handleKeyDown = event => {
    // Ignore events from children of `Chip`.
    if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {
      // Will be handled in keyUp, otherwise some browsers
      // might init navigation
      event.preventDefault();
    }
    if (onKeyDown) {
      onKeyDown(event);
    }
  };
  const handleKeyUp = event => {
    // Ignore events from children of `Chip`.
    if (event.currentTarget === event.target) {
      if (onDelete && isDeleteKeyboardEvent(event)) {
        onDelete(event);
      }
    }
    if (onKeyUp) {
      onKeyUp(event);
    }
  };
  const clickable = clickableProp !== false && onClick ? true : clickableProp;
  const component = clickable || onDelete ? _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_8__["default"] : ComponentProp || 'div';
  const ownerState = {
    ...props,
    component,
    disabled,
    size,
    color,
    iconColor: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(iconProp) ? iconProp.props.color || color : color,
    onDelete: !!onDelete,
    clickable,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  const moreProps = component === _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_8__["default"] ? {
    component: ComponentProp || 'div',
    focusVisibleClassName: classes.focusVisible,
    ...(onDelete && {
      disableRipple: true
    })
  } : {};
  let deleteIcon = null;
  if (onDelete) {
    deleteIcon = deleteIconProp && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(deleteIconProp) ? (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(deleteIconProp, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(deleteIconProp.props.className, classes.deleteIcon),
      onClick: handleDeleteIconClick
    })) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_internal_svg_icons_Cancel_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
      className: classes.deleteIcon,
      onClick: handleDeleteIconClick
    });
  }
  let avatar = null;
  if (avatarProp && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(avatarProp)) {
    avatar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(avatarProp, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.avatar, avatarProp.props.className)
    });
  }
  let icon = null;
  if (iconProp && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(iconProp)) {
    icon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(iconProp, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.icon, iconProp.props.className)
    });
  }
  if (true) {
    if (avatar && icon) {
      console.error('MUI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');
    }
  }
  const externalForwardedProps = {
    slots,
    slotProps
  };
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('root', {
    elementType: ChipRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    ownerState,
    // The `component` prop is preserved because `Chip` relies on it for internal logic. If `shouldForwardComponentProp` were `false`, `useSlot` would remove the `component` prop, potentially breaking the component's behavior.
    shouldForwardComponentProp: true,
    ref: handleRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    additionalProps: {
      disabled: clickable && disabled ? true : undefined,
      tabIndex: skipFocusWhenDisabled && disabled ? -1 : tabIndex,
      ...moreProps
    },
    getSlotProps: handlers => ({
      ...handlers,
      onClick: event => {
        handlers.onClick?.(event);
        onClick?.(event);
      },
      onKeyDown: event => {
        handlers.onKeyDown?.(event);
        handleKeyDown(event);
      },
      onKeyUp: event => {
        handlers.onKeyUp?.(event);
        handleKeyUp(event);
      }
    })
  });
  const [LabelSlot, labelProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('label', {
    elementType: ChipLabel,
    externalForwardedProps,
    ownerState,
    className: classes.label
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(RootSlot, {
    as: component,
    ...rootProps,
    children: [avatar || icon, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(LabelSlot, {
      ...labelProps,
      children: label
    }), deleteIcon]
  });
});
 true ? Chip.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The Avatar element to display.
   */
  avatar: prop_types__WEBPACK_IMPORTED_MODULE_1__.element,
  /**
   * This prop isn't supported.
   * Use the `component` prop if you need to change the children structure.
   */
  children: _utils_unsupportedProp_js__WEBPACK_IMPORTED_MODULE_6__["default"],
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the chip will appear clickable, and will raise when pressed,
   * even if the onClick prop is not defined.
   * If `false`, the chip will not appear clickable, even if onClick prop is defined.
   * This can be used, for example,
   * along with the component prop to indicate an anchor Chip is clickable.
   * Note: this controls the UI and does not affect the onClick event.
   */
  clickable: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'default'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Override the default delete icon element. Shown only if `onDelete` is set.
   */
  deleteIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.element,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Icon element.
   */
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.element,
  /**
   * The content of the component.
   */
  label: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the delete icon is clicked.
   * If set, the delete icon will be shown.
   */
  onDelete: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onKeyUp: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The size of the component.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, allows the disabled chip to escape focus.
   * If `false`, allows the disabled chip to receive focus.
   * @default false
   */
  skipFocusWhenDisabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    label: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    label: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * @ignore
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The variant to use.
   * @default 'filled'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Chip);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/chipClasses.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Chip/chipClasses.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getChipUtilityClass: () => (/* binding */ getChipUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getChipUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiChip', slot);
}
const chipClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorDefault', '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']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (chipClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _circularProgressClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./circularProgressClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/circularProgressClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const SIZE = 44;
const circularRotateKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`;
const circularDashKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: -126px;
  }
`;

// This implementation is for supporting both Styled-components v4+ and Pigment CSS.
// A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).
// which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).
const rotateAnimation = typeof circularRotateKeyframe !== 'string' ? (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.css)`
        animation: ${circularRotateKeyframe} 1.4s linear infinite;
      ` : null;
const dashAnimation = typeof circularDashKeyframe !== 'string' ? (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.css)`
        animation: ${circularDashKeyframe} 1.4s ease-in-out infinite;
      ` : null;
const useUtilityClasses = ownerState => {
  const {
    classes,
    variant,
    color,
    disableShrink
  } = ownerState;
  const slots = {
    root: ['root', variant, `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(color)}`],
    svg: ['svg'],
    track: ['track'],
    circle: ['circle', `circle${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(variant)}`, disableShrink && 'circleDisableShrink']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _circularProgressClasses_js__WEBPACK_IMPORTED_MODULE_11__.getCircularProgressUtilityClass, classes);
};
const CircularProgressRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiCircularProgress',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.variant], styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.color)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  display: 'inline-block',
  variants: [{
    props: {
      variant: 'determinate'
    },
    style: {
      transition: theme.transitions.create('transform')
    }
  }, {
    props: {
      variant: 'indeterminate'
    },
    style: rotateAnimation || {
      animation: `${circularRotateKeyframe} 1.4s linear infinite`
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_10__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      color: (theme.vars || theme).palette[color].main
    }
  }))]
})));
const CircularProgressSVG = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('svg', {
  name: 'MuiCircularProgress',
  slot: 'Svg'
})({
  display: 'block' // Keeps the progress centered
});
const CircularProgressCircle = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('circle', {
  name: 'MuiCircularProgress',
  slot: 'Circle',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.circle, styles[`circle${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.variant)}`], ownerState.disableShrink && styles.circleDisableShrink];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  stroke: 'currentColor',
  variants: [{
    props: {
      variant: 'determinate'
    },
    style: {
      transition: theme.transitions.create('stroke-dashoffset')
    }
  }, {
    props: {
      variant: 'indeterminate'
    },
    style: {
      // Some default value that looks fine waiting for the animation to kicks in.
      strokeDasharray: '80px, 200px',
      strokeDashoffset: 0 // Add the unit to fix a Edge 16 and below bug.
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.variant === 'indeterminate' && !ownerState.disableShrink,
    style: dashAnimation || {
      // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
      animation: `${circularDashKeyframe} 1.4s ease-in-out infinite`
    }
  }]
})));
const CircularProgressTrack = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('circle', {
  name: 'MuiCircularProgress',
  slot: 'Track'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  stroke: 'currentColor',
  opacity: (theme.vars || theme).palette.action.activatedOpacity
})));

/**
 * ## ARIA
 *
 * If the progress bar is describing the loading progress of a particular region of a page,
 * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`
 * attribute to `true` on that region until it has finished loading.
 */
const CircularProgress = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function CircularProgress(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiCircularProgress'
  });
  const {
    className,
    color = 'primary',
    disableShrink = false,
    enableTrackSlot = false,
    size = 40,
    style,
    thickness = 3.6,
    value = 0,
    variant = 'indeterminate',
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    disableShrink,
    size,
    thickness,
    value,
    variant,
    enableTrackSlot
  };
  const classes = useUtilityClasses(ownerState);
  const circleStyle = {};
  const rootStyle = {};
  const rootProps = {};
  if (variant === 'determinate') {
    const circumference = 2 * Math.PI * ((SIZE - thickness) / 2);
    circleStyle.strokeDasharray = circumference.toFixed(3);
    rootProps['aria-valuenow'] = Math.round(value);
    circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;
    rootStyle.transform = 'rotate(-90deg)';
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(CircularProgressRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    style: {
      width: size,
      height: size,
      ...rootStyle,
      ...style
    },
    ownerState: ownerState,
    ref: ref,
    role: "progressbar",
    ...rootProps,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(CircularProgressSVG, {
      className: classes.svg,
      ownerState: ownerState,
      viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,
      children: [enableTrackSlot ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(CircularProgressTrack, {
        className: classes.track,
        ownerState: ownerState,
        cx: SIZE,
        cy: SIZE,
        r: (SIZE - thickness) / 2,
        fill: "none",
        strokeWidth: thickness,
        "aria-hidden": "true"
      }) : null, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(CircularProgressCircle, {
        className: classes.circle,
        style: circleStyle,
        ownerState: ownerState,
        cx: SIZE,
        cy: SIZE,
        r: (SIZE - thickness) / 2,
        fill: "none",
        strokeWidth: thickness
      })]
    })
  });
});
 true ? CircularProgress.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the shrink animation is disabled.
   * This only works if variant is `indeterminate`.
   * @default false
   */
  disableShrink: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.bool, props => {
    if (props.disableShrink && props.variant && props.variant !== 'indeterminate') {
      return new Error('MUI: You have provided the `disableShrink` prop ' + 'with a variant other than `indeterminate`. This will have no effect.');
    }
    return null;
  }),
  /**
   * If `true`, a track circle slot is mounted to show a subtle background for the progress.
   * The `size` and `thickness` apply to the track slot to be consistent with the progress circle.
   * @default false
   */
  enableTrackSlot: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * If using a number, the pixel unit is assumed.
   * If using a string, you need to provide the CSS unit, for example '3rem'.
   * @default 40
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The thickness of the circle.
   * @default 3.6
   */
  thickness: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The value of the progress indicator for the determinate variant.
   * Value between 0 and 100.
   * @default 0
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The variant to use.
   * Use indeterminate when there is no progress value.
   * @default 'indeterminate'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['determinate', 'indeterminate'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CircularProgress);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/circularProgressClasses.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/circularProgressClasses.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getCircularProgressUtilityClass: () => (/* binding */ getCircularProgressUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getCircularProgressUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCircularProgress', slot);
}
const circularProgressClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'track', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (circularProgressClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ClickAwayListener/ClickAwayListener.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ClickAwayListener/ClickAwayListener.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ClickAwayListener: () => (/* binding */ ClickAwayListener)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_contains__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/contains */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/contains/contains.js");
/* harmony import */ var _mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/ownerDocument */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js");
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/useEventCallback */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
/* harmony import */ var _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/elementAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js");
/* harmony import */ var _mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils/exactProp */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
'use client';











// TODO: return `EventHandlerName extends `on${infer EventName}` ? Lowercase<EventName> : never` once generatePropTypes runs with TS 4.1
function mapEventPropToEvent(eventProp) {
  return eventProp.substring(2).toLowerCase();
}
function clickedRootScrollbar(event, doc) {
  return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
}
/**
 * Listen for click events that occur somewhere in the document, outside of the element itself.
 * For instance, if you need to hide a menu when people click anywhere else on your page.
 *
 * Demos:
 *
 * - [Click-Away Listener](https://v7.mui.com/material-ui/react-click-away-listener/)
 * - [Menu](https://v7.mui.com/material-ui/react-menu/)
 *
 * API:
 *
 * - [ClickAwayListener API](https://v7.mui.com/material-ui/api/click-away-listener/)
 */
function ClickAwayListener(props) {
  const {
    children,
    disableReactTree = false,
    mouseEvent = 'onClick',
    onClickAway,
    touchEvent = 'onTouchEnd'
  } = props;
  const movedRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const nodeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const activatedRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const syntheticEventRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    // Ensure that this component is not "activated" synchronously.
    // https://github.com/facebook/react/issues/20074
    setTimeout(() => {
      activatedRef.current = true;
    }, 0);
    return () => {
      activatedRef.current = false;
    };
  }, []);
  const handleRef = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__["default"])((0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_8__["default"])(children), nodeRef);

  // The handler doesn't take event.defaultPrevented into account:
  //
  // event.preventDefault() is meant to stop default behaviors like
  // clicking a checkbox to check it, hitting a button to submit a form,
  // and hitting left arrow to move the cursor in a text input etc.
  // Only special HTML elements have these default behaviors.
  const handleClickAway = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_5__["default"])(event => {
    // Given developers can stop the propagation of the synthetic event,
    // we can only be confident with a positive value.
    const insideReactTree = syntheticEventRef.current;
    syntheticEventRef.current = false;
    const doc = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_3__["default"])(nodeRef.current);

    // 1. IE11 support, which trigger the handleClickAway even after the unbind
    // 2. The child might render null.
    // 3. Behave like a blur listener.
    if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {
      return;
    }

    // Do not act if user performed touchmove
    if (movedRef.current) {
      movedRef.current = false;
      return;
    }
    let insideDOM;

    // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js
    if (event.composedPath) {
      insideDOM = event.composedPath().includes(nodeRef.current);
    } else {
      insideDOM = !(0,_mui_utils_contains__WEBPACK_IMPORTED_MODULE_2__["default"])(doc.documentElement, event.target) || (0,_mui_utils_contains__WEBPACK_IMPORTED_MODULE_2__["default"])(nodeRef.current, event.target);
    }
    if (!insideDOM && (disableReactTree || !insideReactTree)) {
      onClickAway(event);
    }
  });

  // Keep track of mouse/touch events that bubbled up through the portal.
  const createHandleSynthetic = handlerName => event => {
    syntheticEventRef.current = true;
    const childrenPropsHandler = children.props[handlerName];
    if (childrenPropsHandler) {
      childrenPropsHandler(event);
    }
  };
  const childrenProps = {
    ref: handleRef
  };
  if (touchEvent !== false) {
    childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
  }
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (touchEvent !== false) {
      const mappedTouchEvent = mapEventPropToEvent(touchEvent);
      const doc = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_3__["default"])(nodeRef.current);
      const handleTouchMove = () => {
        movedRef.current = true;
      };
      doc.addEventListener(mappedTouchEvent, handleClickAway);
      doc.addEventListener('touchmove', handleTouchMove);
      return () => {
        doc.removeEventListener(mappedTouchEvent, handleClickAway);
        doc.removeEventListener('touchmove', handleTouchMove);
      };
    }
    return undefined;
  }, [handleClickAway, touchEvent]);
  if (mouseEvent !== false) {
    childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
  }
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (mouseEvent !== false) {
      const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
      const doc = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_3__["default"])(nodeRef.current);
      doc.addEventListener(mappedMouseEvent, handleClickAway);
      return () => {
        doc.removeEventListener(mappedMouseEvent, handleClickAway);
      };
    }
    return undefined;
  }, [handleClickAway, mouseEvent]);
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, childrenProps);
}
 true ? ClickAwayListener.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The wrapped element.
   */
  children: _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_6__["default"].isRequired,
  /**
   * If `true`, the React tree is ignored and only the DOM tree is considered.
   * This prop changes how portaled elements are handled.
   * @default false
   */
  disableReactTree: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The mouse event to listen to. You can disable the listener by providing `false`.
   * @default 'onClick'
   */
  mouseEvent: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['onClick', 'onMouseDown', 'onMouseUp', 'onPointerDown', 'onPointerUp', false]),
  /**
   * Callback fired when a "click away" event is detected.
   */
  onClickAway: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired,
  /**
   * The touch event to listen to. You can disable the listener by providing `false`.
   * @default 'onTouchEnd'
   */
  touchEvent: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['onTouchEnd', 'onTouchStart', false])
} : 0;
if (true) {
  // eslint-disable-next-line
  ClickAwayListener['propTypes' + ''] = (0,_mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_7__["default"])(ClickAwayListener.propTypes);
}


/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/Collapse.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js");
/* harmony import */ var _mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useTimeout */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js");
/* harmony import */ var _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/elementTypeAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _styles_createTransitions_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../styles/createTransitions.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTransitions.js");
/* harmony import */ var _transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../transitions/utils.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/transitions/utils.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _collapseClasses_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./collapseClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/collapseClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

















const useUtilityClasses = ownerState => {
  const {
    orientation,
    classes
  } = ownerState;
  const slots = {
    root: ['root', orientation],
    entered: ['entered'],
    hidden: ['hidden'],
    wrapper: ['wrapper', orientation],
    wrapperInner: ['wrapperInner', orientation]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_6__["default"])(slots, _collapseClasses_js__WEBPACK_IMPORTED_MODULE_15__.getCollapseUtilityClass, classes);
};
const CollapseRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiCollapse',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.orientation], ownerState.state === 'entered' && styles.entered, ownerState.state === 'exited' && !ownerState.in && ownerState.collapsedSize === '0px' && styles.hidden];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  height: 0,
  overflow: 'hidden',
  transition: theme.transitions.create('height'),
  variants: [{
    props: {
      orientation: 'horizontal'
    },
    style: {
      height: 'auto',
      width: 0,
      transition: theme.transitions.create('width')
    }
  }, {
    props: {
      state: 'entered'
    },
    style: {
      height: 'auto',
      overflow: 'visible'
    }
  }, {
    props: {
      state: 'entered',
      orientation: 'horizontal'
    },
    style: {
      width: 'auto'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.state === 'exited' && !ownerState.in && ownerState.collapsedSize === '0px',
    style: {
      visibility: 'hidden'
    }
  }]
})));
const CollapseWrapper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiCollapse',
  slot: 'Wrapper'
})({
  // Hack to get children with a negative margin to not falsify the height computation.
  display: 'flex',
  width: '100%',
  variants: [{
    props: {
      orientation: 'horizontal'
    },
    style: {
      width: 'auto',
      height: '100%'
    }
  }]
});
const CollapseWrapperInner = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiCollapse',
  slot: 'WrapperInner'
})({
  width: '100%',
  variants: [{
    props: {
      orientation: 'horizontal'
    },
    style: {
      width: 'auto',
      height: '100%'
    }
  }]
});

/**
 * The Collapse transition is used by the
 * [Vertical Stepper](/material-ui/react-stepper/#vertical-stepper) StepContent component.
 * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
 */
const Collapse = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Collapse(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiCollapse'
  });
  const {
    addEndListener,
    children,
    className,
    collapsedSize: collapsedSizeProp = '0px',
    component,
    easing,
    in: inProp,
    onEnter,
    onEntered,
    onEntering,
    onExit,
    onExited,
    onExiting,
    orientation = 'vertical',
    slots = {},
    slotProps = {},
    style,
    timeout = _styles_createTransitions_js__WEBPACK_IMPORTED_MODULE_11__.duration.standard,
    // eslint-disable-next-line react/prop-types
    TransitionComponent = react_transition_group__WEBPACK_IMPORTED_MODULE_3__["default"],
    ...other
  } = props;
  const ownerState = {
    ...props,
    orientation,
    collapsedSize: collapsedSizeProp
  };
  const classes = useUtilityClasses(ownerState);
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const timer = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_4__["default"])();
  const wrapperRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const autoTransitionDuration = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const collapsedSize = typeof collapsedSizeProp === 'number' ? `${collapsedSizeProp}px` : collapsedSizeProp;
  const isHorizontal = orientation === 'horizontal';
  const size = isHorizontal ? 'width' : 'height';
  const nodeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_13__["default"])(ref, nodeRef);
  const getWrapperSize = () => wrapperRef.current ? wrapperRef.current[isHorizontal ? 'clientWidth' : 'clientHeight'] : 0;
  const handleEnter = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.normalizedTransitionCallback)(nodeRef, (node, isAppearing) => {
    if (wrapperRef.current && isHorizontal) {
      // Set absolute position to get the size of collapsed content
      wrapperRef.current.style.position = 'absolute';
    }
    node.style[size] = collapsedSize;
    if (onEnter) {
      onEnter(node, isAppearing);
    }
  });
  const handleEntering = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.normalizedTransitionCallback)(nodeRef, (node, isAppearing) => {
    const wrapperSize = getWrapperSize();
    if (wrapperRef.current && isHorizontal) {
      // After the size is read reset the position back to default
      wrapperRef.current.style.position = '';
    }
    const {
      duration: transitionDuration,
      easing: transitionTimingFunction
    } = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.getTransitionProps)({
      style,
      timeout,
      easing
    }, {
      mode: 'enter'
    });
    if (timeout === 'auto') {
      const duration2 = theme.transitions.getAutoHeightDuration(wrapperSize);
      node.style.transitionDuration = `${duration2}ms`;
      autoTransitionDuration.current = duration2;
    } else {
      node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;
    }
    node.style[size] = `${wrapperSize}px`;
    node.style.transitionTimingFunction = transitionTimingFunction;
    if (onEntering) {
      onEntering(node, isAppearing);
    }
  });
  const handleEntered = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.normalizedTransitionCallback)(nodeRef, (node, isAppearing) => {
    node.style[size] = 'auto';
    if (onEntered) {
      onEntered(node, isAppearing);
    }
  });
  const handleExit = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.normalizedTransitionCallback)(nodeRef, node => {
    node.style[size] = `${getWrapperSize()}px`;
    if (onExit) {
      onExit(node);
    }
  });
  const handleExited = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.normalizedTransitionCallback)(nodeRef, onExited);
  const handleExiting = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.normalizedTransitionCallback)(nodeRef, node => {
    const wrapperSize = getWrapperSize();
    const {
      duration: transitionDuration,
      easing: transitionTimingFunction
    } = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_12__.getTransitionProps)({
      style,
      timeout,
      easing
    }, {
      mode: 'exit'
    });
    if (timeout === 'auto') {
      // TODO: rename getAutoHeightDuration to something more generic (width support)
      // Actually it just calculates animation duration based on size
      const duration2 = theme.transitions.getAutoHeightDuration(wrapperSize);
      node.style.transitionDuration = `${duration2}ms`;
      autoTransitionDuration.current = duration2;
    } else {
      node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;
    }
    node.style[size] = collapsedSize;
    node.style.transitionTimingFunction = transitionTimingFunction;
    if (onExiting) {
      onExiting(node);
    }
  });
  const handleAddEndListener = next => {
    if (timeout === 'auto') {
      timer.start(autoTransitionDuration.current || 0, next);
    }
    if (addEndListener) {
      // Old call signature before `react-transition-group` implemented `nodeRef`
      addEndListener(nodeRef.current, next);
    }
  };
  const externalForwardedProps = {
    slots,
    slotProps,
    component
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('root', {
    ref: handleRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(classes.root, className),
    elementType: CollapseRoot,
    externalForwardedProps,
    ownerState,
    additionalProps: {
      style: {
        [isHorizontal ? 'minWidth' : 'minHeight']: collapsedSize,
        ...style
      }
    }
  });
  const [WrapperSlot, wrapperSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('wrapper', {
    ref: wrapperRef,
    className: classes.wrapper,
    elementType: CollapseWrapper,
    externalForwardedProps,
    ownerState
  });
  const [WrapperInnerSlot, wrapperInnerSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('wrapperInner', {
    className: classes.wrapperInner,
    elementType: CollapseWrapperInner,
    externalForwardedProps,
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(TransitionComponent, {
    in: inProp,
    onEnter: handleEnter,
    onEntered: handleEntered,
    onEntering: handleEntering,
    onExit: handleExit,
    onExited: handleExited,
    onExiting: handleExiting,
    addEndListener: handleAddEndListener,
    nodeRef: nodeRef,
    timeout: timeout === 'auto' ? null : timeout,
    ...other,
    children: (state, {
      ownerState: incomingOwnerState,
      ...restChildProps
    }) => {
      const stateOwnerState = {
        ...ownerState,
        state
      };
      return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(RootSlot, {
        ...rootSlotProps,
        className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(rootSlotProps.className, {
          'entered': classes.entered,
          'exited': !inProp && collapsedSize === '0px' && classes.hidden
        }[state]),
        ownerState: stateOwnerState,
        ...restChildProps,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(WrapperSlot, {
          ...wrapperSlotProps,
          ownerState: stateOwnerState,
          children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_16__.jsx)(WrapperInnerSlot, {
            ...wrapperInnerSlotProps,
            ownerState: stateOwnerState,
            children: children
          })
        })
      });
    }
  });
});
 true ? Collapse.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Add a custom transition end trigger. Called with the transitioning DOM
   * node and a done callback. Allows for more fine grained transition end
   * logic. Note: Timeouts are still used as a fallback if provided.
   */
  addEndListener: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * The content node to be collapsed.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * The width (horizontal) or height (vertical) of the container when collapsed.
   * @default '0px'
   */
  collapsedSize: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.number, prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_5__["default"],
  /**
   * The transition timing function.
   * You may specify a single easing or a object containing enter and exit values.
   */
  easing: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    enter: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_2__.string
  }), prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * If `true`, the component will transition in.
   */
  in: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * @ignore
   */
  onEnter: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * @ignore
   */
  onEntered: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * @ignore
   */
  onEntering: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * @ignore
   */
  onExit: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * @ignore
   */
  onExited: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * @ignore
   */
  onExiting: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * The transition orientation.
   * @default 'vertical'
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['horizontal', 'vertical']),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    wrapper: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    wrapperInner: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    wrapper: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    wrapperInner: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType
  }),
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   *
   * Set to 'auto' to automatically calculate transition time based on height.
   * @default duration.standard
   */
  timeout: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['auto']), prop_types__WEBPACK_IMPORTED_MODULE_2__.number, prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_2__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_2__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_2__.number
  })])
} : 0;
if (Collapse) {
  Collapse.muiSupportAuto = true;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Collapse);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/collapseClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Collapse/collapseClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getCollapseUtilityClass: () => (/* binding */ getCollapseUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getCollapseUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiCollapse', slot);
}
const collapseClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (collapseClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Container/Container.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Container/Container.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Container/createContainer.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _styles_styled_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles/styled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
'use client';






const Container = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"])({
  createStyledComponent: (0,_styles_styled_js__WEBPACK_IMPORTED_MODULE_3__["default"])('div', {
    name: 'MuiContainer',
    slot: 'Root',
    overridesResolver: (props, styles) => {
      const {
        ownerState
      } = props;
      return [styles.root, styles[`maxWidth${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_2__["default"])(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
    }
  }),
  useThemeProps: inProps => (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_4__.useDefaultProps)({
    props: inProps,
    name: 'MuiContainer'
  })
});
 true ? Container.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_0__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_0__.elementType,
  /**
   * If `true`, the left and right padding is removed.
   * @default false
   */
  disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_0__.bool,
  /**
   * Set the max-width to match the min-width of the current breakpoint.
   * This is useful if you'd prefer to design for a fixed set of sizes
   * instead of trying to accommodate a fully fluid viewport.
   * It's fluid by default.
   * @default false
   */
  fixed: prop_types__WEBPACK_IMPORTED_MODULE_0__.bool,
  /**
   * Determine the max-width of the container.
   * The container width grows with the size of the screen.
   * Set to `false` to disable `maxWidth`.
   * @default 'lg'
   */
  maxWidth: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), prop_types__WEBPACK_IMPORTED_MODULE_0__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Container);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useDefaultProps: () => (/* binding */ useDefaultProps)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system_DefaultPropsProvider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/system/DefaultPropsProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';





function DefaultPropsProvider(props) {
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_mui_system_DefaultPropsProvider__WEBPACK_IMPORTED_MODULE_2__["default"], {
    ...props
  });
}
 true ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.object.isRequired
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DefaultPropsProvider);
function useDefaultProps(params) {
  return (0,_mui_system_DefaultPropsProvider__WEBPACK_IMPORTED_MODULE_2__.useDefaultProps)(params);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/Dialog.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_useId__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useId */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _Modal_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Modal/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/Modal.js");
/* harmony import */ var _Fade_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Fade/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _dialogClasses_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./dialogClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/dialogClasses.js");
/* harmony import */ var _DialogContext_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./DialogContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/DialogContext.js");
/* harmony import */ var _Backdrop_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Backdrop/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/Backdrop.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _utils_focusable_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../utils/focusable.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/focusable.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



















const DialogBackdrop = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_13__["default"])(_Backdrop_index_js__WEBPACK_IMPORTED_MODULE_11__["default"], {
  name: 'MuiDialog',
  slot: 'Backdrop'
})({
  // Improve scrollable dialog support.
  zIndex: -1
});
const useUtilityClasses = ownerState => {
  const {
    classes,
    scroll,
    maxWidth,
    fullWidth,
    fullScreen
  } = ownerState;
  const slots = {
    root: ['root'],
    backdrop: ['backdrop'],
    container: ['container', `scroll${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(scroll)}`],
    paper: ['paper', `paperScroll${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(scroll)}`, `paperWidth${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(String(maxWidth))}`, fullWidth && 'paperFullWidth', fullScreen && 'paperFullScreen']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _dialogClasses_js__WEBPACK_IMPORTED_MODULE_9__.getDialogUtilityClass, classes);
};
const DialogRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_13__["default"])(_Modal_index_js__WEBPACK_IMPORTED_MODULE_6__["default"], {
  name: 'MuiDialog',
  slot: 'Root'
})({
  '@media print': {
    // Use !important to override the Modal inline-style.
    position: 'absolute !important'
  }
});
const DialogContainer = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_13__["default"])('div', {
  name: 'MuiDialog',
  slot: 'Container',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.container, styles[`scroll${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.scroll)}`]];
  }
})({
  height: '100%',
  '@media print': {
    height: 'auto'
  },
  // We disable the focus ring for mouse, touch and keyboard users.
  outline: 0,
  variants: [{
    props: {
      scroll: 'paper'
    },
    style: {
      display: 'flex',
      justifyContent: 'center',
      alignItems: 'center'
    }
  }, {
    props: {
      scroll: 'body'
    },
    style: {
      overflowY: 'auto',
      overflowX: 'hidden',
      textAlign: 'center',
      '&::after': {
        content: '""',
        display: 'inline-block',
        verticalAlign: 'middle',
        height: '100%',
        width: '0'
      }
    }
  }]
});
const DialogPaper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_13__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDialog',
  slot: 'Paper',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.paper, styles[`scrollPaper${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.scroll)}`], styles[`paperWidth${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(String(ownerState.maxWidth))}`], ownerState.fullWidth && styles.paperFullWidth, ownerState.fullScreen && styles.paperFullScreen];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_14__["default"])(({
  theme
}) => ({
  margin: 32,
  position: 'relative',
  overflowY: 'auto',
  '@media print': {
    overflowY: 'visible',
    boxShadow: 'none'
  },
  variants: [{
    props: {
      scroll: 'paper'
    },
    style: {
      display: 'flex',
      flexDirection: 'column',
      maxHeight: 'calc(100% - 64px)'
    }
  }, {
    props: {
      scroll: 'body'
    },
    style: {
      display: 'inline-block',
      verticalAlign: 'middle',
      textAlign: 'initial'
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.maxWidth,
    style: {
      maxWidth: 'calc(100% - 64px)'
    }
  }, {
    props: {
      maxWidth: 'xs'
    },
    style: {
      maxWidth: theme.breakpoints.unit === 'px' ? Math.max(theme.breakpoints.values.xs, 444) : `max(${theme.breakpoints.values.xs}${theme.breakpoints.unit}, 444px)`,
      [`&.${_dialogClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].paperScrollBody}`]: {
        [theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 444) + 32 * 2)]: {
          maxWidth: 'calc(100% - 64px)'
        }
      }
    }
  }, ...Object.keys(theme.breakpoints.values).filter(maxWidth => maxWidth !== 'xs').map(maxWidth => ({
    props: {
      maxWidth
    },
    style: {
      maxWidth: `${theme.breakpoints.values[maxWidth]}${theme.breakpoints.unit}`,
      [`&.${_dialogClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].paperScrollBody}`]: {
        [theme.breakpoints.down(theme.breakpoints.values[maxWidth] + 32 * 2)]: {
          maxWidth: 'calc(100% - 64px)'
        }
      }
    }
  })), {
    props: ({
      ownerState
    }) => ownerState.fullWidth,
    style: {
      width: 'calc(100% - 64px)'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.fullScreen,
    style: {
      margin: 0,
      width: '100%',
      maxWidth: '100%',
      height: '100%',
      maxHeight: 'none',
      borderRadius: 0,
      [`&.${_dialogClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].paperScrollBody}`]: {
        margin: 0,
        maxWidth: '100%'
      }
    }
  }]
})));

/**
 * Dialogs are overlaid modal paper based components with a backdrop.
 */
const Dialog = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Dialog(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_15__.useDefaultProps)({
    props: inProps,
    name: 'MuiDialog'
  });
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])();
  const defaultTransitionDuration = {
    enter: theme.transitions.duration.enteringScreen,
    exit: theme.transitions.duration.leavingScreen
  };
  const {
    'aria-describedby': ariaDescribedby,
    'aria-labelledby': ariaLabelledbyProp,
    'aria-modal': ariaModal = true,
    BackdropComponent,
    BackdropProps,
    children,
    className,
    disableEscapeKeyDown = false,
    fullScreen = false,
    fullWidth = false,
    maxWidth = 'sm',
    onClick,
    onClose,
    open,
    PaperComponent = _Paper_index_js__WEBPACK_IMPORTED_MODULE_8__["default"],
    PaperProps = {},
    role = 'dialog',
    scroll = 'paper',
    slots = {},
    slotProps = {},
    TransitionComponent = _Fade_index_js__WEBPACK_IMPORTED_MODULE_7__["default"],
    transitionDuration = defaultTransitionDuration,
    TransitionProps,
    ...other
  } = props;
  const ownerState = {
    ...props,
    disableEscapeKeyDown,
    fullScreen,
    fullWidth,
    maxWidth,
    scroll
  };
  const classes = useUtilityClasses(ownerState);
  const backdropClick = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const handleMouseDown = event => {
    // We don't want to close the dialog when clicking the dialog content.
    // Make sure the event starts and ends on the same DOM element.
    backdropClick.current = event.target === event.currentTarget;
  };
  const handleBackdropClick = event => {
    if (onClick) {
      onClick(event);
    }

    // Ignore the events not coming from the "backdrop".
    if (!backdropClick.current) {
      return;
    }
    backdropClick.current = null;
    if (onClose) {
      onClose(event, 'backdropClick');
    }
  };
  const ariaLabelledby = (0,_mui_utils_useId__WEBPACK_IMPORTED_MODULE_4__["default"])(ariaLabelledbyProp);
  const dialogContextValue = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    return {
      titleId: ariaLabelledby
    };
  }, [ariaLabelledby]);
  const backwardCompatibleSlots = {
    transition: TransitionComponent,
    ...slots
  };
  const backwardCompatibleSlotProps = {
    transition: TransitionProps,
    paper: PaperProps,
    backdrop: BackdropProps,
    ...slotProps
  };
  const externalForwardedProps = {
    slots: backwardCompatibleSlots,
    slotProps: backwardCompatibleSlotProps
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('root', {
    elementType: DialogRoot,
    shouldForwardComponentProp: true,
    externalForwardedProps,
    ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref
  });
  const [BackdropSlot, backdropSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('backdrop', {
    elementType: DialogBackdrop,
    shouldForwardComponentProp: true,
    externalForwardedProps,
    ownerState,
    className: classes.backdrop
  });
  const [PaperSlot, paperSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('paper', {
    elementType: DialogPaper,
    shouldForwardComponentProp: true,
    externalForwardedProps,
    ownerState,
    className: classes.paper,
    additionalProps: {
      elevation: 24,
      role,
      'aria-describedby': ariaDescribedby,
      'aria-labelledby': ariaLabelledby,
      'aria-modal': ariaModal,
      tabIndex: -1,
      [_utils_focusable_js__WEBPACK_IMPORTED_MODULE_17__.FOCUSABLE_ATTRIBUTE]: ''
    }
  });
  const [ContainerSlot, containerSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('container', {
    elementType: DialogContainer,
    externalForwardedProps,
    ownerState,
    className: classes.container
  });
  const [TransitionSlot, transitionSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('transition', {
    elementType: _Fade_index_js__WEBPACK_IMPORTED_MODULE_7__["default"],
    externalForwardedProps,
    ownerState,
    additionalProps: {
      appear: true,
      in: open,
      timeout: transitionDuration,
      role: 'presentation'
    }
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(RootSlot, {
    closeAfterTransition: true,
    slots: {
      backdrop: BackdropSlot
    },
    slotProps: {
      backdrop: {
        transitionDuration,
        as: BackdropComponent,
        ...backdropSlotProps
      }
    },
    disableEscapeKeyDown: disableEscapeKeyDown,
    onClose: onClose,
    open: open,
    onClick: handleBackdropClick,
    ...rootSlotProps,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(TransitionSlot, {
      ...transitionSlotProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(ContainerSlot, {
        onMouseDown: handleMouseDown,
        ...containerSlotProps,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(PaperSlot, {
          as: PaperComponent,
          ...paperSlotProps,
          children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_DialogContext_js__WEBPACK_IMPORTED_MODULE_10__["default"].Provider, {
            value: dialogContextValue,
            children: children
          })
        })
      })
    })
  });
});
 true ? Dialog.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The id(s) of the element(s) that describe the dialog.
   */
  'aria-describedby': prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The id(s) of the element(s) that label the dialog.
   */
  'aria-labelledby': prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Informs assistive technologies that the element is modal.
   * It's added on the element with role="dialog".
   * @default true
   */
  'aria-modal': prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['false', 'true']), prop_types__WEBPACK_IMPORTED_MODULE_1__.bool]),
  /**
   * A backdrop component. This prop enables custom backdrop rendering.
   * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
   * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
   * @default styled(Backdrop, {
   *   name: 'MuiModal',
   *   slot: 'Backdrop',
   * })({
   *   zIndex: -1,
   * })
   */
  BackdropComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * @ignore
   */
  BackdropProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Dialog children, usually the included sub-components.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, hitting escape will not fire the `onClose` callback.
   * @default false
   */
  disableEscapeKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the dialog is full-screen.
   * @default false
   */
  fullScreen: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the dialog stretches to `maxWidth`.
   *
   * Notice that the dialog width grow is limited by the default margin.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Determine the max-width of the dialog.
   * The dialog width grows with the size of the screen.
   * Set to `false` to disable `maxWidth`.
   * @default 'sm'
   */
  maxWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * @ignore
   */
  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the component requests to be closed.
   *
   * @param {object} event The event source of the callback.
   * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool.isRequired,
  /**
   * The component used to render the body of the dialog.
   * @default Paper
   */
  PaperComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
   * @default {}
   * @deprecated Use `slotProps.paper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  PaperProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The ARIA role for the dialog element.
   * The main dialog role is `dialog`, but `alertdialog` can be used if the content of the dialog requires immediate attention.
   * See https://www.w3.org/TR/wai-aria-1.2/#dialog and https://www.w3.org/TR/wai-aria-1.2/#alertdialog for more details.
   * @default 'dialog'
   */
  role: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['alertdialog', 'dialog']),
  /**
   * Determine the container for scrolling the dialog.
   * @default 'paper'
   */
  scroll: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['body', 'paper']),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    container: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    container: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The component used for the transition.
   * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
   * @default Fade
   * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  TransitionComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   * @default {
   *   enter: theme.transitions.duration.enteringScreen,
   *   exit: theme.transitions.duration.leavingScreen,
   * }
   */
  transitionDuration: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })]),
  /**
   * Props applied to the transition element.
   * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
   * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  TransitionProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Dialog);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/DialogContext.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/DialogContext.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


const DialogContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
if (true) {
  DialogContext.displayName = 'DialogContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DialogContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/dialogClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/dialogClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDialogUtilityClass: () => (/* binding */ getDialogUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getDialogUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDialog', slot);
}
const dialogClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDialog', ['root', 'backdrop', 'scrollPaper', 'scrollBody', 'container', 'paper', 'paperScrollPaper', 'paperScrollBody', 'paperWidthFalse', 'paperWidthXs', 'paperWidthSm', 'paperWidthMd', 'paperWidthLg', 'paperWidthXl', 'paperFullWidth', 'paperFullScreen']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (dialogClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/DialogActions.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _dialogActionsClasses_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dialogActionsClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/dialogActionsClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';









const useUtilityClasses = ownerState => {
  const {
    classes,
    disableSpacing
  } = ownerState;
  const slots = {
    root: ['root', !disableSpacing && 'spacing']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _dialogActionsClasses_js__WEBPACK_IMPORTED_MODULE_6__.getDialogActionsUtilityClass, classes);
};
const DialogActionsRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiDialogActions',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, !ownerState.disableSpacing && styles.spacing];
  }
})({
  display: 'flex',
  alignItems: 'center',
  padding: 8,
  justifyContent: 'flex-end',
  flex: '0 0 auto',
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.disableSpacing,
    style: {
      '& > :not(style) ~ :not(style)': {
        marginLeft: 8
      }
    }
  }]
});
const DialogActions = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function DialogActions(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiDialogActions'
  });
  const {
    className,
    disableSpacing = false,
    ...other
  } = props;
  const ownerState = {
    ...props,
    disableSpacing
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(DialogActionsRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other
  });
});
 true ? DialogActions.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the actions do not have additional margin.
   * @default false
   */
  disableSpacing: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DialogActions);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/dialogActionsClasses.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogActions/dialogActionsClasses.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDialogActionsUtilityClass: () => (/* binding */ getDialogActionsUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getDialogActionsUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDialogActions', slot);
}
const dialogActionsClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDialogActions', ['root', 'spacing']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (dialogActionsClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/DialogContent.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _dialogContentClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./dialogContentClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/dialogContentClasses.js");
/* harmony import */ var _DialogTitle_dialogTitleClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DialogTitle/dialogTitleClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    dividers
  } = ownerState;
  const slots = {
    root: ['root', dividers && 'dividers']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _dialogContentClasses_js__WEBPACK_IMPORTED_MODULE_7__.getDialogContentUtilityClass, classes);
};
const DialogContentRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiDialogContent',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.dividers && styles.dividers];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  flex: '1 1 auto',
  // Add iOS momentum scrolling for iOS < 13.0
  WebkitOverflowScrolling: 'touch',
  overflowY: 'auto',
  padding: '20px 24px',
  variants: [{
    props: ({
      ownerState
    }) => ownerState.dividers,
    style: {
      padding: '16px 24px',
      borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
      borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.dividers,
    style: {
      [`.${_DialogTitle_dialogTitleClasses_js__WEBPACK_IMPORTED_MODULE_8__["default"].root} + &`]: {
        paddingTop: 0
      }
    }
  }]
})));
const DialogContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function DialogContent(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiDialogContent'
  });
  const {
    className,
    dividers = false,
    ...other
  } = props;
  const ownerState = {
    ...props,
    dividers
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(DialogContentRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other
  });
});
 true ? DialogContent.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Display the top and bottom dividers.
   * @default false
   */
  dividers: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DialogContent);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/dialogContentClasses.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContent/dialogContentClasses.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDialogContentUtilityClass: () => (/* binding */ getDialogContentUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getDialogContentUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDialogContent', slot);
}
const dialogContentClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDialogContent', ['root', 'dividers']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (dialogContentClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/DialogContentText.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/DialogContentText.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _dialogContentTextClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dialogContentTextClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/dialogContentTextClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _dialogContentTextClasses_js__WEBPACK_IMPORTED_MODULE_8__.getDialogContentTextUtilityClass, classes);
  return {
    ...classes,
    // forward classes to the Typography
    ...composedClasses
  };
};
const DialogContentTextRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(_Typography_index_js__WEBPACK_IMPORTED_MODULE_7__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_4__["default"])(prop) || prop === 'classes',
  name: 'MuiDialogContentText',
  slot: 'Root'
})({});
const DialogContentText = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function DialogContentText(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiDialogContentText'
  });
  const {
    children,
    className,
    ...ownerState
  } = props;
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(DialogContentTextRoot, {
    component: "p",
    variant: "body1",
    color: "textSecondary",
    ref: ref,
    ownerState: ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ...props,
    classes: classes
  });
});
 true ? DialogContentText.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DialogContentText);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/dialogContentTextClasses.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogContentText/dialogContentTextClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDialogContentTextUtilityClass: () => (/* binding */ getDialogContentTextUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getDialogContentTextUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDialogContentText', slot);
}
const dialogContentTextClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDialogContentText', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (dialogContentTextClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/DialogTitle.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _dialogTitleClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./dialogTitleClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js");
/* harmony import */ var _Dialog_DialogContext_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Dialog/DialogContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Dialog/DialogContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _dialogTitleClasses_js__WEBPACK_IMPORTED_MODULE_7__.getDialogTitleUtilityClass, classes);
};
const DialogTitleRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(_Typography_index_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
  name: 'MuiDialogTitle',
  slot: 'Root'
})({
  padding: '16px 24px',
  flex: '0 0 auto'
});
const DialogTitle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function DialogTitle(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiDialogTitle'
  });
  const {
    className,
    id: idProp,
    ...other
  } = props;
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  const {
    titleId = idProp
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_Dialog_DialogContext_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(DialogTitleRoot, {
    component: "h2",
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    variant: "h6",
    id: idProp ?? titleId,
    ...other
  });
});
 true ? DialogTitle.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DialogTitle);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDialogTitleUtilityClass: () => (/* binding */ getDialogTitleUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getDialogTitleUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDialogTitle', slot);
}
const dialogTitleClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDialogTitle', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (dialogTitleClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/Divider.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _dividerClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./dividerClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/dividerClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    absolute,
    children,
    classes,
    flexItem,
    light,
    orientation,
    textAlign,
    variant
  } = ownerState;
  const slots = {
    root: ['root', absolute && 'absolute', variant, light && 'light', orientation === 'vertical' && 'vertical', flexItem && 'flexItem', children && 'withChildren', children && orientation === 'vertical' && 'withChildrenVertical', textAlign === 'right' && orientation !== 'vertical' && 'textAlignRight', textAlign === 'left' && orientation !== 'vertical' && 'textAlignLeft'],
    wrapper: ['wrapper', orientation === 'vertical' && 'wrapperVertical']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _dividerClasses_js__WEBPACK_IMPORTED_MODULE_7__.getDividerUtilityClass, classes);
};
const DividerRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiDivider',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.absolute && styles.absolute, styles[ownerState.variant], ownerState.light && styles.light, ownerState.orientation === 'vertical' && styles.vertical, ownerState.flexItem && styles.flexItem, ownerState.children && styles.withChildren, ownerState.children && ownerState.orientation === 'vertical' && styles.withChildrenVertical, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && styles.textAlignRight, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && styles.textAlignLeft];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  margin: 0,
  // Reset browser default style.
  flexShrink: 0,
  borderWidth: 0,
  borderStyle: 'solid',
  borderColor: (theme.vars || theme).palette.divider,
  borderBottomWidth: 'thin',
  variants: [{
    props: {
      absolute: true
    },
    style: {
      position: 'absolute',
      bottom: 0,
      left: 0,
      width: '100%'
    }
  }, {
    props: {
      light: true
    },
    style: {
      borderColor: theme.alpha((theme.vars || theme).palette.divider, 0.08)
    }
  }, {
    props: {
      variant: 'inset'
    },
    style: {
      marginLeft: 72
    }
  }, {
    props: {
      variant: 'middle',
      orientation: 'horizontal'
    },
    style: {
      marginLeft: theme.spacing(2),
      marginRight: theme.spacing(2)
    }
  }, {
    props: {
      variant: 'middle',
      orientation: 'vertical'
    },
    style: {
      marginTop: theme.spacing(1),
      marginBottom: theme.spacing(1)
    }
  }, {
    props: {
      orientation: 'vertical'
    },
    style: {
      height: '100%',
      borderBottomWidth: 0,
      borderRightWidth: 'thin'
    }
  }, {
    props: {
      flexItem: true
    },
    style: {
      alignSelf: 'stretch',
      height: 'auto'
    }
  }, {
    props: ({
      ownerState
    }) => !!ownerState.children,
    style: {
      display: 'flex',
      textAlign: 'center',
      border: 0,
      borderTopStyle: 'solid',
      borderLeftStyle: 'solid',
      '&::before, &::after': {
        content: '""',
        alignSelf: 'center'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.children && ownerState.orientation !== 'vertical',
    style: {
      '&::before, &::after': {
        width: '100%',
        borderTop: `thin solid ${(theme.vars || theme).palette.divider}`,
        borderTopStyle: 'inherit'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.orientation === 'vertical' && ownerState.children,
    style: {
      flexDirection: 'column',
      '&::before, &::after': {
        height: '100%',
        borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`,
        borderLeftStyle: 'inherit'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical',
    style: {
      '&::before': {
        width: '90%'
      },
      '&::after': {
        width: '10%'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical',
    style: {
      '&::before': {
        width: '10%'
      },
      '&::after': {
        width: '90%'
      }
    }
  }]
})));
const DividerWrapper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('span', {
  name: 'MuiDivider',
  slot: 'Wrapper',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.wrapper, ownerState.orientation === 'vertical' && styles.wrapperVertical];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  display: 'inline-block',
  paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
  paddingRight: `calc(${theme.spacing(1)} * 1.2)`,
  whiteSpace: 'nowrap',
  variants: [{
    props: {
      orientation: 'vertical'
    },
    style: {
      paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
      paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
    }
  }]
})));
const Divider = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Divider(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiDivider'
  });
  const {
    absolute = false,
    children,
    className,
    orientation = 'horizontal',
    component = children || orientation === 'vertical' ? 'div' : 'hr',
    flexItem = false,
    light = false,
    role = component !== 'hr' ? 'separator' : undefined,
    textAlign = 'center',
    variant = 'fullWidth',
    ...other
  } = props;
  const ownerState = {
    ...props,
    absolute,
    component,
    flexItem,
    light,
    orientation,
    role,
    textAlign,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(DividerRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    role: role,
    ref: ref,
    ownerState: ownerState,
    "aria-orientation": role === 'separator' && (component !== 'hr' || orientation === 'vertical') ? orientation : undefined,
    ...other,
    children: children ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(DividerWrapper, {
      className: classes.wrapper,
      ownerState: ownerState,
      children: children
    }) : null
  });
});

/**
 * The following flag is used to ensure that this component isn't tabbable i.e.
 * does not get highlight/focus inside of MUI List.
 */
if (Divider) {
  Divider.muiSkipListHighlight = true;
}
 true ? Divider.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Absolutely position the element.
   * @default false
   */
  absolute: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, a vertical divider will have the correct height when used in flex container.
   * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
   * @default false
   */
  flexItem: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the divider will have a lighter color.
   * @default false
   * @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  light: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The component orientation.
   * @default 'horizontal'
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['horizontal', 'vertical']),
  /**
   * @ignore
   */
  role: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The text alignment.
   * @default 'center'
   */
  textAlign: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'left', 'right']),
  /**
   * The variant to use.
   * @default 'fullWidth'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['fullWidth', 'inset', 'middle']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Divider);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/dividerClasses.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/dividerClasses.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDividerUtilityClass: () => (/* binding */ getDividerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getDividerUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDivider', slot);
}
const dividerClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (dividerClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Drawer/Drawer.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Drawer/Drawer.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getAnchor: () => (/* binding */ getAnchor),
/* harmony export */   isHorizontal: () => (/* binding */ isHorizontal)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _Modal_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Modal/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/Modal.js");
/* harmony import */ var _Slide_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Slide/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Slide/Slide.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _drawerClasses_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./drawerClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Drawer/drawerClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _utils_focusable_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils/focusable.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/focusable.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/mergeSlotProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';





















const overridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.root, (ownerState.variant === 'permanent' || ownerState.variant === 'persistent') && styles.docked, ownerState.variant === 'temporary' && styles.modal];
};
const useUtilityClasses = ownerState => {
  const {
    classes,
    anchor,
    variant
  } = ownerState;
  const slots = {
    root: ['root', `anchor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(anchor)}`],
    docked: [(variant === 'permanent' || variant === 'persistent') && 'docked'],
    modal: ['modal'],
    paper: ['paper', `paperAnchor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(anchor)}`, variant !== 'temporary' && `paperAnchorDocked${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(anchor)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _drawerClasses_js__WEBPACK_IMPORTED_MODULE_16__.getDrawerUtilityClass, classes);
};
const DrawerRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(_Modal_index_js__WEBPACK_IMPORTED_MODULE_6__["default"], {
  name: 'MuiDrawer',
  slot: 'Root',
  overridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_13__["default"])(({
  theme
}) => ({
  zIndex: (theme.vars || theme).zIndex.drawer
})));
const DrawerDockedRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])('div', {
  shouldForwardProp: _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_10__["default"],
  name: 'MuiDrawer',
  slot: 'Docked',
  skipVariantsResolver: false,
  overridesResolver
})({
  flex: '0 0 auto'
});
const DrawerPaper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiDrawer',
  slot: 'Paper',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.paper, styles[`paperAnchor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.anchor)}`], ownerState.variant !== 'temporary' && styles[`paperAnchorDocked${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.anchor)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_13__["default"])(({
  theme
}) => ({
  overflowY: 'auto',
  display: 'flex',
  flexDirection: 'column',
  height: '100%',
  flex: '1 0 auto',
  zIndex: (theme.vars || theme).zIndex.drawer,
  // Add iOS momentum scrolling for iOS < 13.0
  WebkitOverflowScrolling: 'touch',
  // temporary style
  position: 'fixed',
  top: 0,
  // We disable the focus ring for mouse, touch and keyboard users.
  // At some point, it would be better to keep it for keyboard users.
  // :focus-ring CSS pseudo-class will help.
  outline: 0,
  variants: [{
    props: {
      anchor: 'left'
    },
    style: {
      left: 0
    }
  }, {
    props: {
      anchor: 'top'
    },
    style: {
      top: 0,
      left: 0,
      right: 0,
      height: 'auto',
      maxHeight: '100%'
    }
  }, {
    props: {
      anchor: 'right'
    },
    style: {
      right: 0
    }
  }, {
    props: {
      anchor: 'bottom'
    },
    style: {
      top: 'auto',
      left: 0,
      bottom: 0,
      right: 0,
      height: 'auto',
      maxHeight: '100%'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchor === 'left' && ownerState.variant !== 'temporary',
    style: {
      borderRight: `1px solid ${(theme.vars || theme).palette.divider}`
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchor === 'top' && ownerState.variant !== 'temporary',
    style: {
      borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchor === 'right' && ownerState.variant !== 'temporary',
    style: {
      borderLeft: `1px solid ${(theme.vars || theme).palette.divider}`
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchor === 'bottom' && ownerState.variant !== 'temporary',
    style: {
      borderTop: `1px solid ${(theme.vars || theme).palette.divider}`
    }
  }]
})));
const oppositeDirection = {
  left: 'right',
  right: 'left',
  top: 'down',
  bottom: 'up'
};
function isHorizontal(anchor) {
  return ['left', 'right'].includes(anchor);
}
function getAnchor({
  direction
}, anchor) {
  return direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;
}

/**
 * The props of the [Modal](/material-ui/api/modal/) component are available
 * when `variant="temporary"` is set.
 */
const Drawer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Drawer(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__.useDefaultProps)({
    props: inProps,
    name: 'MuiDrawer'
  });
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__["default"])();
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_5__.useRtl)();
  const defaultTransitionDuration = {
    enter: theme.transitions.duration.enteringScreen,
    exit: theme.transitions.duration.leavingScreen
  };
  const {
    anchor: anchorProp = 'left',
    BackdropProps,
    children,
    className,
    elevation = 16,
    hideBackdrop = false,
    ModalProps: {
      BackdropProps: BackdropPropsProp,
      ...ModalProps
    } = {},
    onClose,
    open = false,
    PaperProps = {},
    SlideProps,
    // eslint-disable-next-line react/prop-types
    TransitionComponent,
    transitionDuration = defaultTransitionDuration,
    variant = 'temporary',
    slots = {},
    slotProps = {},
    ...other
  } = props;

  // Let's assume that the Drawer will always be rendered on user space.
  // We use this state is order to skip the appear transition during the
  // initial mount of the component.
  const mounted = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const rootRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_15__["default"])(ref, rootRef);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    mounted.current = true;
  }, []);

  // Resolve the container lazily so Slide reads the mounted modal root
  // after refs are assigned, rather than the initial null ref during render.
  const resolveSlideContainer = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => rootRef.current, []);
  const anchorInvariant = getAnchor({
    direction: isRtl ? 'rtl' : 'ltr'
  }, anchorProp);
  const anchor = anchorProp;
  const ownerState = {
    ...props,
    anchor,
    elevation,
    open,
    variant,
    ...other
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots: {
      transition: TransitionComponent,
      ...slots
    },
    slotProps: {
      paper: PaperProps,
      transition: SlideProps,
      ...slotProps,
      backdrop: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(slotProps.backdrop || {
        ...BackdropProps,
        ...BackdropPropsProp
      }, {
        transitionDuration
      })
    }
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('root', {
    ref: handleRef,
    elementType: DrawerRoot,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, classes.modal, className),
    shouldForwardComponentProp: true,
    ownerState,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other,
      ...ModalProps
    },
    additionalProps: {
      closeAfterTransition: true,
      open,
      onClose,
      hideBackdrop,
      slots: {
        backdrop: externalForwardedProps.slots.backdrop
      },
      slotProps: {
        backdrop: externalForwardedProps.slotProps.backdrop
      }
    }
  });
  const [PaperSlot, paperSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('paper', {
    elementType: DrawerPaper,
    shouldForwardComponentProp: true,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.paper, PaperProps.className),
    ownerState,
    externalForwardedProps,
    additionalProps: {
      elevation: variant === 'temporary' ? elevation : 0,
      square: true,
      ...(variant === 'temporary' && {
        role: 'dialog',
        'aria-modal': 'true',
        [_utils_focusable_js__WEBPACK_IMPORTED_MODULE_18__.FOCUSABLE_ATTRIBUTE]: '',
        tabIndex: -1
      })
    }
  });
  const [DockedSlot, dockedSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('docked', {
    elementType: DrawerDockedRoot,
    ref: handleRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, classes.docked, className),
    ownerState,
    externalForwardedProps,
    additionalProps: other // pass `other` here because `DockedSlot` is also a root slot for some variants
  });
  const [TransitionSlot, transitionSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('transition', {
    elementType: _Slide_index_js__WEBPACK_IMPORTED_MODULE_7__["default"],
    ownerState,
    externalForwardedProps,
    additionalProps: {
      in: open,
      direction: oppositeDirection[anchorInvariant],
      timeout: transitionDuration,
      appear: mounted.current,
      ...(variant === 'temporary' && (slots.transition == null || slots.transition === _Slide_index_js__WEBPACK_IMPORTED_MODULE_7__["default"]) && {
        container: resolveSlideContainer
      })
    }
  });
  const drawer = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(PaperSlot, {
    ...paperSlotProps,
    children: children
  });
  if (variant === 'permanent') {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(DockedSlot, {
      ...dockedSlotProps,
      children: drawer
    });
  }
  const slidingDrawer = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(TransitionSlot, {
    ...transitionSlotProps,
    children: drawer
  });
  if (variant === 'persistent') {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(DockedSlot, {
      ...dockedSlotProps,
      children: slidingDrawer
    });
  }

  // variant === temporary
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(RootSlot, {
    ...rootSlotProps,
    children: slidingDrawer
  });
});
 true ? Drawer.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Side from which the drawer will appear.
   * @default 'left'
   */
  anchor: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['bottom', 'left', 'right', 'top']),
  /**
   * @ignore
   */
  BackdropProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The elevation of the drawer.
   * @default 16
   */
  elevation: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * If `true`, the backdrop is not rendered.
   * @default false
   */
  hideBackdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Props applied to the [`Modal`](https://mui.com/material-ui/api/modal/) element.
   * @default {}
   */
  ModalProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Callback fired when the component requests to be closed.
   * The `reason` parameter can optionally be used to control the response to `onClose`.
   *
   * @param {object} event The event source of the callback.
   * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   * @default false
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
   * @deprecated use the `slotProps.paper` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  PaperProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
   * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  SlideProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    docked: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    docked: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   * @default {
   *   enter: theme.transitions.duration.enteringScreen,
   *   exit: theme.transitions.duration.leavingScreen,
   * }
   */
  transitionDuration: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })]),
  /**
   * The variant to use.
   * @default 'temporary'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['permanent', 'persistent', 'temporary'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Drawer);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Drawer/drawerClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Drawer/drawerClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getDrawerUtilityClass: () => (/* binding */ getDrawerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getDrawerUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiDrawer', slot);
}
const drawerClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiDrawer', ['root', 'docked', 'paper', 'anchorLeft', 'anchorRight', 'anchorTop', 'anchorBottom', 'paperAnchorLeft', 'paperAnchorRight', 'paperAnchorTop', 'paperAnchorBottom', 'paperAnchorDockedLeft', 'paperAnchorDockedRight', 'paperAnchorDockedTop', 'paperAnchorDockedBottom', 'modal']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (drawerClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Fade/Fade.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js");
/* harmony import */ var _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/elementAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../transitions/utils.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/transitions/utils.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const styles = {
  entering: {
    opacity: 1
  },
  entered: {
    opacity: 1
  },
  exiting: {
    opacity: 0
  },
  exited: {
    opacity: 0
  }
};
const hiddenStyles = {
  opacity: 0,
  visibility: 'hidden'
};

/**
 * The Fade transition is used by the [Modal](/material-ui/react-modal/) component.
 * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
 */
const Fade = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Fade(props, ref) {
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const defaultTimeout = {
    enter: theme.transitions.duration.enteringScreen,
    exit: theme.transitions.duration.leavingScreen
  };
  const {
    addEndListener,
    appear = true,
    children,
    easing,
    in: inProp,
    onEnter,
    onEntered,
    onEntering,
    onExit,
    onExited,
    onExiting,
    style,
    timeout = defaultTimeout,
    ...other
  } = props;
  const nodeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_7__["default"])(nodeRef, (0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_4__["default"])(children), ref);
  const handleEntering = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.normalizedTransitionCallback)(nodeRef, onEntering);
  const handleEnter = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.normalizedTransitionCallback)(nodeRef, (node, isAppearing) => {
    (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.reflow)(node); // So the animation always start from the start.

    const transitionProps = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.getTransitionProps)({
      style,
      timeout,
      easing
    }, {
      mode: 'enter'
    });
    node.style.transition = theme.transitions.create('opacity', transitionProps);
    if (onEnter) {
      onEnter(node, isAppearing);
    }
  });
  const handleEntered = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.normalizedTransitionCallback)(nodeRef, onEntered);
  const handleExiting = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.normalizedTransitionCallback)(nodeRef, onExiting);
  const handleExit = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.normalizedTransitionCallback)(nodeRef, node => {
    const transitionProps = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.getTransitionProps)({
      style,
      timeout,
      easing
    }, {
      mode: 'exit'
    });
    node.style.transition = theme.transitions.create('opacity', transitionProps);
    if (onExit) {
      onExit(node);
    }
  });
  const handleExited = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.normalizedTransitionCallback)(nodeRef, node => {
    // Clear the transition CSS to release the compositor layer when the
    // element is fully exited (prevents idle CPU usage on fixed elements
    // like Backdrop). handleEnter re-sets it on the next open.
    node.style.transition = '';
    if (onExited) {
      onExited(node);
    }
  });
  const handleAddEndListener = next => {
    if (addEndListener) {
      // Old call signature before `react-transition-group` implemented `nodeRef`
      addEndListener(nodeRef.current, next);
    }
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(react_transition_group__WEBPACK_IMPORTED_MODULE_2__["default"], {
    appear: appear,
    in: inProp,
    nodeRef: nodeRef,
    onEnter: handleEnter,
    onEntered: handleEntered,
    onEntering: handleEntering,
    onExit: handleExit,
    onExited: handleExited,
    onExiting: handleExiting,
    addEndListener: handleAddEndListener,
    timeout: timeout,
    ...other,
    children: (state, {
      ownerState,
      ...restChildProps
    }) => {
      const childStyle = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_6__.getTransitionChildStyle)(state, inProp, styles, hiddenStyles, style, children.props.style);
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, {
        style: childStyle,
        ref: handleRef,
        ...restChildProps
      });
    }
  });
});
 true ? Fade.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Add a custom transition end trigger. Called with the transitioning DOM
   * node and a done callback. Allows for more fine grained transition end
   * logic. Note: Timeouts are still used as a fallback if provided.
   */
  addEndListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Perform the enter transition when it first mounts if `in` is also `true`.
   * Set this to `false` to disable this behavior.
   * @default true
   */
  appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * A single child content element.
   */
  children: _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_3__["default"].isRequired,
  /**
   * The transition timing function.
   * You may specify a single easing or a object containing enter and exit values.
   */
  easing: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.string
  }), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the component will transition in.
   */
  in: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  onEnter: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onEntered: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onEntering: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExit: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExited: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExiting: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   * @default {
   *   enter: theme.transitions.duration.enteringScreen,
   *   exit: theme.transitions.duration.leavingScreen,
   * }
   */
  timeout: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Fade);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/FilledInput.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/FilledInput.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../InputBase/InputBase.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./filledInputClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
















const useUtilityClasses = ownerState => {
  const {
    classes,
    disableUnderline,
    startAdornment,
    endAdornment,
    size,
    hiddenLabel,
    multiline
  } = ownerState;
  const slots = {
    root: ['root', !disableUnderline && 'underline', startAdornment && 'adornedStart', endAdornment && 'adornedEnd', size === 'small' && `size${(0,_utils_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(size)}`, hiddenLabel && 'hiddenLabel', multiline && 'multiline'],
    input: ['input']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__.getFilledInputUtilityClass, classes);
  return {
    ...classes,
    // forward classes to the InputBase
    ...composedClasses
  };
};
const FilledInputRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.InputBaseRoot, {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_6__["default"])(prop) || prop === 'classes',
  name: 'MuiFilledInput',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [...(0,_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.rootOverridesResolver)(props, styles), !ownerState.disableUnderline && styles.underline];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => {
  const light = theme.palette.mode === 'light';
  const bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';
  const backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';
  const hoverBackground = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.13)';
  const disabledBackground = light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)';
  return {
    position: 'relative',
    backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor,
    borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
    borderTopRightRadius: (theme.vars || theme).shape.borderRadius,
    transition: theme.transitions.create('background-color', {
      duration: theme.transitions.duration.shorter,
      easing: theme.transitions.easing.easeOut
    }),
    '&:hover': {
      backgroundColor: theme.vars ? theme.vars.palette.FilledInput.hoverBg : hoverBackground,
      // Reset on touch devices, it doesn't add specificity
      '@media (hover: none)': {
        backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor
      }
    },
    [`&.${_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].focused}`]: {
      backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor
    },
    [`&.${_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
      backgroundColor: theme.vars ? theme.vars.palette.FilledInput.disabledBg : disabledBackground
    },
    variants: [{
      props: ({
        ownerState
      }) => !ownerState.disableUnderline,
      style: {
        '&::after': {
          left: 0,
          bottom: 0,
          content: '""',
          position: 'absolute',
          right: 0,
          transform: 'scaleX(0)',
          transition: theme.transitions.create('transform', {
            duration: theme.transitions.duration.shorter,
            easing: theme.transitions.easing.easeOut
          }),
          pointerEvents: 'none' // Transparent to the hover style.
        },
        [`&.${_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].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)'
        },
        [`&.${_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].error}`]: {
          '&::before, &::after': {
            borderBottomColor: (theme.vars || theme).palette.error.main
          }
        },
        '&::before': {
          borderBottom: `1px solid ${theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, theme.vars.opacity.inputUnderline) : bottomLineColor}`,
          left: 0,
          bottom: 0,
          content: '""',
          position: 'absolute',
          right: 0,
          transition: theme.transitions.create('border-bottom-color', {
            duration: theme.transitions.duration.shorter
          }),
          pointerEvents: 'none' // Transparent to the hover style.
        },
        [`&:hover:not(.${_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}, .${_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].error}):before`]: {
          borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`
        },
        [`&.${_filledInputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}:before`]: {
          borderBottomStyle: 'dotted'
        }
      }
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])()) // check all the used fields in the style below
    .map(([color]) => ({
      props: {
        disableUnderline: false,
        color
      },
      style: {
        '&::after': {
          borderBottom: `2px solid ${(theme.vars || theme).palette[color]?.main}`
        }
      }
    })), {
      props: ({
        ownerState
      }) => ownerState.startAdornment,
      style: {
        paddingLeft: 12
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.endAdornment,
      style: {
        paddingRight: 12
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.multiline,
      style: {
        padding: '25px 12px 8px'
      }
    }, {
      props: ({
        ownerState,
        size
      }) => ownerState.multiline && size === 'small',
      style: {
        paddingTop: 21,
        paddingBottom: 4
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.multiline && ownerState.hiddenLabel,
      style: {
        paddingTop: 16,
        paddingBottom: 17
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.multiline && ownerState.hiddenLabel && ownerState.size === 'small',
      style: {
        paddingTop: 8,
        paddingBottom: 9
      }
    }]
  };
}));
const FilledInputInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.InputBaseInput, {
  name: 'MuiFilledInput',
  slot: 'Input',
  overridesResolver: _InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.inputOverridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => ({
  paddingTop: 25,
  paddingRight: 12,
  paddingBottom: 8,
  paddingLeft: 12,
  ...(!theme.vars && {
    '&:-webkit-autofill': {
      WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',
      WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',
      caretColor: theme.palette.mode === 'light' ? null : '#fff',
      borderTopLeftRadius: 'inherit',
      borderTopRightRadius: 'inherit'
    }
  }),
  ...(theme.vars && {
    '&:-webkit-autofill': {
      borderTopLeftRadius: 'inherit',
      borderTopRightRadius: 'inherit'
    },
    [theme.getColorSchemeSelector('dark')]: {
      '&:-webkit-autofill': {
        WebkitBoxShadow: '0 0 0 100px #266798 inset',
        WebkitTextFillColor: '#fff',
        caretColor: '#fff'
      }
    }
  }),
  variants: [{
    props: {
      size: 'small'
    },
    style: {
      paddingTop: 21,
      paddingBottom: 4
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.hiddenLabel,
    style: {
      paddingTop: 16,
      paddingBottom: 17
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.startAdornment,
    style: {
      paddingLeft: 0
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.endAdornment,
    style: {
      paddingRight: 0
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.hiddenLabel && ownerState.size === 'small',
    style: {
      paddingTop: 8,
      paddingBottom: 9
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.multiline,
    style: {
      paddingTop: 0,
      paddingBottom: 0,
      paddingLeft: 0,
      paddingRight: 0
    }
  }]
})));
const FilledInput = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function FilledInput(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiFilledInput'
  });
  const {
    disableUnderline = false,
    components = {},
    componentsProps: componentsPropsProp,
    fullWidth = false,
    hiddenLabel,
    // declare here to prevent spreading to DOM
    inputComponent = 'input',
    multiline = false,
    slotProps,
    slots = {},
    type = 'text',
    ...other
  } = props;
  const ownerState = {
    ...props,
    disableUnderline,
    fullWidth,
    inputComponent,
    multiline,
    type
  };
  const classes = useUtilityClasses(props);
  const filledInputComponentsProps = {
    root: {
      ownerState
    },
    input: {
      ownerState
    }
  };
  const componentsProps = slotProps ?? componentsPropsProp ? (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__["default"])(filledInputComponentsProps, slotProps ?? componentsPropsProp) : filledInputComponentsProps;
  const RootSlot = slots.root ?? components.Root ?? FilledInputRoot;
  const InputSlot = slots.input ?? components.Input ?? FilledInputInput;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
    slots: {
      root: RootSlot,
      input: InputSlot
    },
    slotProps: componentsProps,
    fullWidth: fullWidth,
    inputComponent: inputComponent,
    multiline: multiline,
    ref: ref,
    type: type,
    ...other,
    classes: classes
  });
});
 true ? FilledInput.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * This prop helps users to fill forms faster, especially on mobile devices.
   * The name can be confusing, as it's more like an autofill.
   * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
   */
  autoComplete: prop_types__WEBPACK_IMPORTED_MODULE_3__.string,
  /**
   * If `true`, the `input` element is focused during the first mount.
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['primary', 'secondary']), prop_types__WEBPACK_IMPORTED_MODULE_3__.string]),
  /**
   * The components used for each slot inside.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    Input: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType,
    Root: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
    root: prop_types__WEBPACK_IMPORTED_MODULE_3__.object
  }),
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_3__.any,
  /**
   * If `true`, the component is disabled.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * If `true`, the input will not have an underline.
   * @default false
   */
  disableUnderline: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * End `InputAdornment` for this component.
   */
  endAdornment: prop_types__WEBPACK_IMPORTED_MODULE_3__.node,
  /**
   * If `true`, the `input` will indicate an error.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * If `true`, the `input` will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * If `true`, the label is hidden.
   * This is used to increase density for a `FilledInput`.
   * Be sure to add `aria-label` to the `input` element.
   * @default false
   */
  hiddenLabel: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_3__.string,
  /**
   * The component used for the `input` element.
   * Either a string to use a HTML element or a component.
   * @default 'input'
   */
  inputComponent: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @default {}
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
  /**
   * Pass a ref to the `input` element.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_2__["default"],
  /**
   * If `dense`, will adjust vertical spacing. This is normally obtained via context from
   * FormControl.
   * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['dense', 'none']),
  /**
   * Maximum number of rows to display when multiline option is set to true.
   */
  maxRows: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.number, prop_types__WEBPACK_IMPORTED_MODULE_3__.string]),
  /**
   * Minimum number of rows to display when multiline option is set to true.
   */
  minRows: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.number, prop_types__WEBPACK_IMPORTED_MODULE_3__.string]),
  /**
   * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
   * @default false
   */
  multiline: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * Name attribute of the `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_3__.string,
  /**
   * Callback fired when the value is changed.
   *
   * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_3__.func,
  /**
   * The short hint displayed in the `input` before the user enters a value.
   */
  placeholder: prop_types__WEBPACK_IMPORTED_MODULE_3__.string,
  /**
   * It prevents the user from changing the value of the field
   * (not from interacting with the field).
   */
  readOnly: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * If `true`, the `input` element is required.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * Number of rows to display when multiline option is set to true.
   */
  rows: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.number, prop_types__WEBPACK_IMPORTED_MODULE_3__.string]),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
   *
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
    root: prop_types__WEBPACK_IMPORTED_MODULE_3__.object
  }),
  /**
   * The components used for each slot inside.
   *
   * This prop is an alias for the `components` prop, which will be deprecated in the future.
   *
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType
  }),
  /**
   * Start `InputAdornment` for this component.
   */
  startAdornment: prop_types__WEBPACK_IMPORTED_MODULE_3__.node,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object, prop_types__WEBPACK_IMPORTED_MODULE_3__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object]),
  /**
   * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
   * @default 'text'
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_3__.string,
  /**
   * The value of the `input` element, required for a controlled component.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_3__.any
} : 0;
FilledInput.muiName = 'Input';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FilledInput);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/filledInputClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getFilledInputUtilityClass: () => (/* binding */ getFilledInputUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _InputBase_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../InputBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js");



function getFilledInputUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiFilledInput', slot);
}
const filledInputClasses = {
  ..._InputBase_index_js__WEBPACK_IMPORTED_MODULE_2__["default"],
  ...(0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiFilledInput', ['root', 'underline', 'input', 'adornedStart', 'adornedEnd', 'sizeSmall', 'multiline', 'hiddenLabel'])
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (filledInputClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _InputBase_utils_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../InputBase/utils.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/utils.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/isMuiElement.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isMuiElement.js");
/* harmony import */ var _FormControlContext_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FormControlContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControlContext.js");
/* harmony import */ var _formControlClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./formControlClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const useUtilityClasses = ownerState => {
  const {
    classes,
    margin,
    fullWidth
  } = ownerState;
  const slots = {
    root: ['root', margin !== 'none' && `margin${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(margin)}`, fullWidth && 'fullWidth']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _formControlClasses_js__WEBPACK_IMPORTED_MODULE_10__.getFormControlUtilityClasses, classes);
};
const FormControlRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiFormControl',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[`margin${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(ownerState.margin)}`], ownerState.fullWidth && styles.fullWidth];
  }
})({
  display: 'inline-flex',
  flexDirection: 'column',
  position: 'relative',
  // Reset fieldset default style.
  minWidth: 0,
  padding: 0,
  margin: 0,
  border: 0,
  verticalAlign: 'top',
  // Fix alignment issue on Safari.
  variants: [{
    props: {
      margin: 'normal'
    },
    style: {
      marginTop: 16,
      marginBottom: 8
    }
  }, {
    props: {
      margin: 'dense'
    },
    style: {
      marginTop: 8,
      marginBottom: 4
    }
  }, {
    props: {
      fullWidth: true
    },
    style: {
      width: '100%'
    }
  }]
});

/**
 * Provides context such as filled/focused/error/required for form inputs.
 * Relying on the context provides high flexibility and ensures that the state always stays
 * consistent across the children of the `FormControl`.
 * This context is used by the following components:
 *
 *  - FormLabel
 *  - FormHelperText
 *  - Input
 *  - InputLabel
 *
 * You can find one composition example below and more going to [the demos](/material-ui/react-text-field/#components).
 *
 * ```jsx
 * <FormControl>
 *   <InputLabel htmlFor="my-input">Email address</InputLabel>
 *   <Input id="my-input" aria-describedby="my-helper-text" />
 *   <FormHelperText id="my-helper-text">We'll never share your email.</FormHelperText>
 * </FormControl>
 * ```
 *
 * ⚠️ Only one `InputBase` can be used within a FormControl because it creates visual inconsistencies.
 * For instance, only one input can be focused at the same time, the state shouldn't be shared.
 */
const FormControl = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function FormControl(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiFormControl'
  });
  const {
    children,
    className,
    color = 'primary',
    component = 'div',
    disabled = false,
    error = false,
    focused: visuallyFocused,
    fullWidth = false,
    hiddenLabel = false,
    margin = 'none',
    required = false,
    size = 'medium',
    variant = 'outlined',
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    component,
    disabled,
    error,
    fullWidth,
    hiddenLabel,
    margin,
    required,
    size,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  const [adornedStart, setAdornedStart] = react__WEBPACK_IMPORTED_MODULE_0__.useState(() => {
    // We need to iterate through the children and find the Input in order
    // to fully support server-side rendering.
    let initialAdornedStart = false;
    if (children) {
      react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children, child => {
        if (!(0,_utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_8__["default"])(child, ['Input', 'Select'])) {
          return;
        }
        const input = (0,_utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_8__["default"])(child, ['Select']) ? child.props.input : child;
        if (input && (0,_InputBase_utils_js__WEBPACK_IMPORTED_MODULE_6__.isAdornedStart)(input.props)) {
          initialAdornedStart = true;
        }
      });
    }
    return initialAdornedStart;
  });
  const [filled, setFilled] = react__WEBPACK_IMPORTED_MODULE_0__.useState(() => {
    // We need to iterate through the children and find the Input in order
    // to fully support server-side rendering.
    let initialFilled = false;
    if (children) {
      react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children, child => {
        if (!(0,_utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_8__["default"])(child, ['Input', 'Select'])) {
          return;
        }
        if ((0,_InputBase_utils_js__WEBPACK_IMPORTED_MODULE_6__.isFilled)(child.props, true) || (0,_InputBase_utils_js__WEBPACK_IMPORTED_MODULE_6__.isFilled)(child.props.inputProps, true)) {
          initialFilled = true;
        }
      });
    }
    return initialFilled;
  });
  const [focusedState, setFocused] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  if (disabled && focusedState) {
    setFocused(false);
  }
  const focused = visuallyFocused !== undefined && !disabled ? visuallyFocused : focusedState;
  let registerEffect;
  const registeredInput = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  if (true) {
    registerEffect = () => {
      if (registeredInput.current) {
        console.error(['MUI: There are multiple `InputBase` components inside a FormControl.', 'This creates visual inconsistencies, only use one `InputBase`.'].join('\n'));
      }
      registeredInput.current = true;
      return () => {
        registeredInput.current = false;
      };
    };
  }
  const onFilled = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    setFilled(true);
  }, []);
  const onEmpty = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    setFilled(false);
  }, []);
  const childContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    return {
      adornedStart,
      setAdornedStart,
      color,
      disabled,
      error,
      filled,
      focused,
      fullWidth,
      hiddenLabel,
      size,
      onBlur: () => {
        setFocused(false);
      },
      onFocus: () => {
        setFocused(true);
      },
      onEmpty,
      onFilled,
      registerEffect,
      required,
      variant
    };
  }, [adornedStart, color, disabled, error, filled, focused, fullWidth, hiddenLabel, registerEffect, onEmpty, onFilled, required, size, variant]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_FormControlContext_js__WEBPACK_IMPORTED_MODULE_9__["default"].Provider, {
    value: childContext,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(FormControlRoot, {
      as: component,
      ownerState: ownerState,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ref: ref,
      ...other,
      children: children
    })
  });
});
 true ? FormControl.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the label, input and helper text should be displayed in a disabled state.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label is displayed in an error state.
   * @default false
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is displayed in focused state.
   */
  focused: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label is hidden.
   * This is used to increase density for a `FilledInput`.
   * Be sure to add `aria-label` to the `input` element.
   * @default false
   */
  hiddenLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
   * @default 'none'
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense', 'none', 'normal']),
  /**
   * If `true`, the label will indicate that the `input` is required.
   * @default false
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   * @default 'outlined'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined', 'standard'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormControl);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControlContext.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControlContext.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


/**
 * @ignore - internal component.
 */
const FormControlContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);
if (true) {
  FormControlContext.displayName = 'FormControlContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormControlContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlClasses.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getFormControlUtilityClasses: () => (/* binding */ getFormControlUtilityClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getFormControlUtilityClasses(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiFormControl', slot);
}
const formControlClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formControlClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ formControlState)
/* harmony export */ });
function formControlState({
  props,
  states,
  muiFormControl
}) {
  return states.reduce((acc, state) => {
    acc[state] = props[state];
    if (muiFormControl) {
      if (typeof props[state] === 'undefined') {
        acc[state] = muiFormControl[state];
      }
    }
    return acc;
  }, {});
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useFormControl)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _FormControlContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FormControlContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControlContext.js");
'use client';



function useFormControl() {
  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(_FormControlContext_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FormControlLabelRoot: () => (/* binding */ FormControlLabelRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _FormControl_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../FormControl/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _formControlLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./formControlLabelClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
















const useUtilityClasses = ownerState => {
  const {
    classes,
    disabled,
    labelPlacement,
    error,
    required
  } = ownerState;
  const slots = {
    root: ['root', disabled && 'disabled', `labelPlacement${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(labelPlacement)}`, error && 'error', required && 'required'],
    label: ['label', disabled && 'disabled'],
    asterisk: ['asterisk', error && 'error']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _formControlLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__.getFormControlLabelUtilityClasses, classes);
};
const FormControlLabelRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('label', {
  name: 'MuiFormControlLabel',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_formControlLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].label}`]: styles.label
    }, styles.root, styles[`labelPlacement${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.labelPlacement)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  display: 'inline-flex',
  alignItems: 'center',
  cursor: 'pointer',
  // For correct alignment with the text.
  verticalAlign: 'middle',
  WebkitTapHighlightColor: 'transparent',
  marginLeft: -11,
  marginRight: 16,
  // used for row presentation of radio/checkbox
  [`&.${_formControlLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
    cursor: 'default'
  },
  [`& .${_formControlLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].label}`]: {
    [`&.${_formControlLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
      color: (theme.vars || theme).palette.text.disabled
    }
  },
  variants: [{
    props: {
      labelPlacement: 'start'
    },
    style: {
      flexDirection: 'row-reverse',
      marginRight: -11
    }
  }, {
    props: {
      labelPlacement: 'top'
    },
    style: {
      flexDirection: 'column-reverse'
    }
  }, {
    props: {
      labelPlacement: 'bottom'
    },
    style: {
      flexDirection: 'column'
    }
  }, {
    props: ({
      labelPlacement
    }) => labelPlacement === 'start' || labelPlacement === 'top' || labelPlacement === 'bottom',
    style: {
      marginLeft: 16 // used for row presentation of radio/checkbox
    }
  }]
})));
const AsteriskComponent = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiFormControlLabel',
  slot: 'Asterisk'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  [`&.${_formControlLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].error}`]: {
    color: (theme.vars || theme).palette.error.main
  }
})));

/**
 * Drop-in replacement of the `Radio`, `Switch` and `Checkbox` component.
 * Use this component if you want to display an extra label.
 */
const FormControlLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function FormControlLabel(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiFormControlLabel'
  });
  const {
    checked,
    className,
    componentsProps = {},
    control,
    disabled: disabledProp,
    disableTypography,
    inputRef,
    label: labelProp,
    labelPlacement = 'end',
    name,
    onChange,
    required: requiredProp,
    slots = {},
    slotProps = {},
    value,
    ...other
  } = props;
  const muiFormControl = (0,_FormControl_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const disabled = disabledProp ?? control.props.disabled ?? muiFormControl?.disabled;
  const required = requiredProp ?? control.props.required;
  const controlProps = {
    disabled,
    required
  };
  ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(key => {
    if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {
      controlProps[key] = props[key];
    }
  });
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_12__["default"])({
    props,
    muiFormControl,
    states: ['error']
  });
  const ownerState = {
    ...props,
    disabled,
    labelPlacement,
    required,
    error: fcs.error
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots,
    slotProps: {
      ...componentsProps,
      ...slotProps
    }
  };
  const [TypographySlot, typographySlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('typography', {
    elementType: _Typography_index_js__WEBPACK_IMPORTED_MODULE_9__["default"],
    externalForwardedProps,
    ownerState
  });
  let label = labelProp;
  if (label != null && label.type !== _Typography_index_js__WEBPACK_IMPORTED_MODULE_9__["default"] && !disableTypography) {
    label = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(TypographySlot, {
      component: "span",
      ...typographySlotProps,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.label, typographySlotProps?.className),
      children: label
    });
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(FormControlLabelRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other,
    children: [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(control, controlProps), required ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
      children: [label, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(AsteriskComponent, {
        ownerState: ownerState,
        "aria-hidden": true,
        className: classes.asterisk,
        children: ["\u2009", '*']
      })]
    }) : label]
  });
});
 true ? FormControlLabel.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the component appears selected.
   */
  checked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The props used for each slot inside.
   * @default {}
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    typography: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
   */
  control: prop_types__WEBPACK_IMPORTED_MODULE_1__.element.isRequired,
  /**
   * If `true`, the control is disabled.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label is rendered as it is passed without an additional typography node.
   */
  disableTypography: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Pass a ref to the `input` element.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * A text or an element to be used in an enclosing label element.
   */
  label: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The position of the label.
   * @default 'end'
   */
  labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['bottom', 'end', 'start', 'top']),
  /**
   * @ignore
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Callback fired when the state is changed.
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   * You can pull out the new checked state by accessing `event.target.checked` (boolean).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the label will indicate that the `input` is required.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    typography: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    typography: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The value of the component.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormControlLabel);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControlLabel/formControlLabelClasses.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getFormControlLabelUtilityClasses: () => (/* binding */ getFormControlLabelUtilityClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getFormControlLabelUtilityClasses(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiFormControlLabel', slot);
}
const formControlLabelClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formControlLabelClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _formGroupClasses_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./formGroupClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/formGroupClasses.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    row,
    error
  } = ownerState;
  const slots = {
    root: ['root', row && 'row', error && 'error']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _formGroupClasses_js__WEBPACK_IMPORTED_MODULE_6__.getFormGroupUtilityClass, classes);
};
const FormGroupRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiFormGroup',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.row && styles.row];
  }
})({
  display: 'flex',
  flexDirection: 'column',
  flexWrap: 'wrap',
  variants: [{
    props: {
      row: true
    },
    style: {
      flexDirection: 'row'
    }
  }]
});

/**
 * `FormGroup` wraps controls such as `Checkbox` and `Switch`.
 * It provides compact row layout.
 * For the `Radio`, you should be using the `RadioGroup` component instead of this one.
 */
const FormGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function FormGroup(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiFormGroup'
  });
  const {
    className,
    row = false,
    ...other
  } = props;
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_8__["default"])({
    props,
    muiFormControl,
    states: ['error']
  });
  const ownerState = {
    ...props,
    row,
    error: fcs.error
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(FormGroupRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other
  });
});
 true ? FormGroup.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Display group of elements in a compact row.
   * @default false
   */
  row: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormGroup);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/formGroupClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/formGroupClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getFormGroupUtilityClass: () => (/* binding */ getFormGroupUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getFormGroupUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiFormGroup', slot);
}
const formGroupClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiFormGroup', ['root', 'row', 'error']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formGroupClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _formHelperTextClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./formHelperTextClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/formHelperTextClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

var _span;












const useUtilityClasses = ownerState => {
  const {
    classes,
    contained,
    size,
    disabled,
    error,
    filled,
    focused,
    required
  } = ownerState;
  const slots = {
    root: ['root', disabled && 'disabled', error && 'error', size && `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(size)}`, contained && 'contained', focused && 'focused', filled && 'filled', required && 'required']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _formHelperTextClasses_js__WEBPACK_IMPORTED_MODULE_10__.getFormHelperTextUtilityClasses, classes);
};
const FormHelperTextRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('p', {
  name: 'MuiFormHelperText',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.size && styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.size)}`], ownerState.contained && styles.contained, ownerState.filled && styles.filled];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  color: (theme.vars || theme).palette.text.secondary,
  ...theme.typography.caption,
  textAlign: 'left',
  marginTop: 3,
  marginRight: 0,
  marginBottom: 0,
  marginLeft: 0,
  [`&.${_formHelperTextClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
    color: (theme.vars || theme).palette.text.disabled
  },
  [`&.${_formHelperTextClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].error}`]: {
    color: (theme.vars || theme).palette.error.main
  },
  variants: [{
    props: {
      size: 'small'
    },
    style: {
      marginTop: 4
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.contained,
    style: {
      marginLeft: 14,
      marginRight: 14
    }
  }]
})));
const FormHelperText = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function FormHelperText(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiFormHelperText'
  });
  const {
    children,
    className,
    component = 'p',
    disabled,
    error,
    filled,
    focused,
    margin,
    required,
    variant,
    ...other
  } = props;
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props,
    muiFormControl,
    states: ['variant', 'size', 'disabled', 'error', 'filled', 'focused', 'required']
  });
  const ownerState = {
    ...props,
    component,
    contained: fcs.variant === 'filled' || fcs.variant === 'outlined',
    variant: fcs.variant,
    size: fcs.size,
    disabled: fcs.disabled,
    error: fcs.error,
    filled: fcs.filled,
    focused: fcs.focused,
    required: fcs.required
  };

  // This issue explains why this is required: https://github.com/mui/material-ui/issues/42184
  delete ownerState.ownerState;
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(FormHelperTextRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    ...other,
    ownerState: ownerState,
    children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue
    _span || (_span = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
      className: "notranslate",
      "aria-hidden": true,
      children: "\u200B"
    })) : children
  });
});
 true ? FormHelperText.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   *
   * If `' '` is provided, the component reserves one line height for displaying a future message.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the helper text should be displayed in a disabled state.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, helper text should be displayed in an error state.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the helper text should use filled classes key.
   */
  filled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the helper text should use focused classes key.
   */
  focused: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `dense`, will adjust vertical spacing. This is normally obtained via context from
   * FormControl.
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense']),
  /**
   * If `true`, the helper text should use required classes key.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined', 'standard']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormHelperText);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/formHelperTextClasses.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/formHelperTextClasses.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getFormHelperTextUtilityClasses: () => (/* binding */ getFormHelperTextUtilityClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getFormHelperTextUtilityClasses(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiFormHelperText', slot);
}
const formHelperTextClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiFormHelperText', ['root', 'error', 'disabled', 'sizeSmall', 'sizeMedium', 'contained', 'focused', 'filled', 'required']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formHelperTextClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/FormLabel.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/FormLabel.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FormLabelRoot: () => (/* binding */ FormLabelRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _formLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./formLabelClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';














const useUtilityClasses = ownerState => {
  const {
    classes,
    color,
    focused,
    disabled,
    error,
    filled,
    required
  } = ownerState;
  const slots = {
    root: ['root', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__["default"])(color)}`, disabled && 'disabled', error && 'error', filled && 'filled', focused && 'focused', required && 'required'],
    asterisk: ['asterisk', error && 'error']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _formLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__.getFormLabelUtilityClasses, classes);
};
const FormLabelRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('label', {
  name: 'MuiFormLabel',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.color === 'secondary' && styles.colorSecondary, ownerState.filled && styles.filled];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => ({
  color: (theme.vars || theme).palette.text.secondary,
  ...theme.typography.body1,
  lineHeight: '1.4375em',
  padding: 0,
  position: 'relative',
  variants: [...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      [`&.${_formLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].focused}`]: {
        color: (theme.vars || theme).palette[color].main
      }
    }
  })), {
    props: {},
    style: {
      [`&.${_formLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
        color: (theme.vars || theme).palette.text.disabled
      },
      [`&.${_formLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].error}`]: {
        color: (theme.vars || theme).palette.error.main
      }
    }
  }]
})));
const AsteriskComponent = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('span', {
  name: 'MuiFormLabel',
  slot: 'Asterisk'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => ({
  [`&.${_formLabelClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].error}`]: {
    color: (theme.vars || theme).palette.error.main
  }
})));
const FormLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function FormLabel(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiFormLabel'
  });
  const {
    children,
    className,
    color,
    component = 'label',
    disabled,
    error,
    filled,
    focused,
    required,
    ...other
  } = props;
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props,
    muiFormControl,
    states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']
  });
  const ownerState = {
    ...props,
    color: fcs.color || 'primary',
    component,
    disabled: fcs.disabled,
    error: fcs.error,
    filled: fcs.filled,
    focused: fcs.focused,
    required: fcs.required
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(FormLabelRoot, {
    as: component,
    ownerState: ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    ...other,
    children: [children, fcs.required && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(AsteriskComponent, {
      ownerState: ownerState,
      "aria-hidden": true,
      className: classes.asterisk,
      children: ["\u2009", '*']
    })]
  });
});
 true ? FormLabel.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the label should be displayed in a disabled state.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label is displayed in an error state.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label should use filled classes key.
   */
  filled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the input of this label is focused (used by `FormGroup` components).
   */
  focused: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label will indicate that the `input` is required.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FormLabel);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getFormLabelUtilityClasses: () => (/* binding */ getFormLabelUtilityClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getFormLabelUtilityClasses(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiFormLabel', slot);
}
const formLabelClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (formLabelClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js");
/* harmony import */ var _styles_defaultTheme_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles/defaultTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/defaultTheme.js");
/* harmony import */ var _styles_identifier_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles/identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';






function GlobalStyles(props) {
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"], {
    ...props,
    defaultTheme: _styles_defaultTheme_js__WEBPACK_IMPORTED_MODULE_2__["default"],
    themeId: _styles_identifier_js__WEBPACK_IMPORTED_MODULE_3__["default"]
  });
}
 true ? GlobalStyles.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The styles you want to apply globally.
   */
  styles: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.array, prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.bool])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GlobalStyles);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grid/Grid.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system_Grid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/Grid */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/createGrid.js");
/* harmony import */ var _utils_requirePropFactory_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/requirePropFactory.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/requirePropFactory.js");
/* harmony import */ var _styles_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _styles_useTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/useTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
'use client';







/**
 *
 * Demos:
 *
 * - [Grid](https://v7.mui.com/material-ui/react-grid/)
 *
 * API:
 *
 * - [Grid API](https://v7.mui.com/material-ui/api/grid/)
 */
const Grid = (0,_mui_system_Grid__WEBPACK_IMPORTED_MODULE_1__["default"])({
  createStyledComponent: (0,_styles_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])('div', {
    name: 'MuiGrid',
    slot: 'Root',
    overridesResolver: (props, styles) => {
      const {
        ownerState
      } = props;
      return [styles.root, ownerState.container && styles.container];
    }
  }),
  componentName: 'MuiGrid',
  useThemeProps: inProps => (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_4__.useDefaultProps)({
    props: inProps,
    name: 'MuiGrid'
  }),
  useTheme: _styles_useTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"]
});
 true ? Grid.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_0__.node,
  /**
   * The number of columns.
   * @default 12
   */
  columns: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.number), prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.object]),
  /**
   * Defines the horizontal space between the type `item` components.
   * It overrides the value of the `spacing` prop.
   */
  columnSpacing: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.string])), prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.string]),
  /**
   * If `true`, the component will have the flex *container* behavior.
   * You should be wrapping *items* with a *container*.
   * @default false
   */
  container: prop_types__WEBPACK_IMPORTED_MODULE_0__.bool,
  /**
   * Defines the `flex-direction` style property.
   * It is applied for all screen sizes.
   * @default 'row'
   */
  direction: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), prop_types__WEBPACK_IMPORTED_MODULE_0__.object]),
  /**
   * Defines the offset value for the type `item` components.
   */
  offset: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.number])), prop_types__WEBPACK_IMPORTED_MODULE_0__.object]),
  /**
   * Defines the vertical space between the type `item` components.
   * It overrides the value of the `spacing` prop.
   */
  rowSpacing: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.string])), prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.string]),
  /**
   * Defines the size of the the type `item` components.
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.bool, prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.bool, prop_types__WEBPACK_IMPORTED_MODULE_0__.number])), prop_types__WEBPACK_IMPORTED_MODULE_0__.object]),
  /**
   * Defines the space between the type `item` components.
   * It can only be used on a type `container` component.
   * @default 0
   */
  spacing: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.string])), prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.string]),
  /**
   * @ignore
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object]),
  /**
   * @internal
   * The level of the grid starts from `0` and increases when the grid nests
   * inside another grid. Nesting is defined as a container Grid being a direct
   * child of a container Grid.
   *
   * ```js
   * <Grid container> // level 0
   *   <Grid container> // level 1
   *     <Grid container> // level 2
   * ```
   *
   * Only consecutive grid is considered nesting. A grid container will start at
   * `0` if there are non-Grid container element above it.
   *
   * ```js
   * <Grid container> // level 0
   *   <div>
   *     <Grid container> // level 0
   * ```
   *
   * ```js
   * <Grid container> // level 0
   *   <Grid>
   *     <Grid container> // level 0
   * ```
   */
  unstable_level: prop_types__WEBPACK_IMPORTED_MODULE_0__.number,
  /**
   * Defines the `flex-wrap` style property.
   * It's applied for all screen sizes.
   * @default 'wrap'
   */
  wrap: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['nowrap', 'wrap-reverse', 'wrap'])
} : 0;
if (true) {
  const Component = Grid;
  const requireProp = (0,_utils_requirePropFactory_js__WEBPACK_IMPORTED_MODULE_2__["default"])('Grid', Component);
  // eslint-disable-next-line no-useless-concat
  Component['propTypes' + ''] = {
    // eslint-disable-next-line react/forbid-foreign-prop-types
    ...Component.propTypes,
    direction: requireProp('container'),
    spacing: requireProp('container'),
    wrap: requireProp('container')
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Grid);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grow/Grow.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grow/Grow.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/useTimeout */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js");
/* harmony import */ var _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/elementAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../transitions/utils.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/transitions/utils.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











function getScale(value) {
  return `scale(${value}, ${value ** 2})`;
}
const styles = {
  entering: {
    opacity: 1,
    transform: getScale(1)
  },
  entered: {
    opacity: 1,
    transform: 'none'
  },
  exiting: {
    opacity: 0,
    transform: getScale(0.75)
  },
  exited: {
    opacity: 0,
    transform: getScale(0.75)
  }
};
const hiddenStyles = {
  opacity: 0,
  transform: getScale(0.75),
  visibility: 'hidden'
};

/**
 * The Grow transition is used by the [Tooltip](/material-ui/react-tooltip/) and
 * [Popover](/material-ui/react-popover/) components.
 * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
 */
const Grow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Grow(props, ref) {
  const {
    addEndListener,
    appear = true,
    children,
    easing,
    in: inProp,
    onEnter,
    onEntered,
    onEntering,
    onExit,
    onExited,
    onExiting,
    style,
    timeout = 'auto',
    ...other
  } = props;
  const timer = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_2__["default"])();
  const autoTimeout = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])();
  const nodeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_8__["default"])(nodeRef, (0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_4__["default"])(children), ref);
  const handleEntering = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizedTransitionCallback)(nodeRef, onEntering);
  const handleEnter = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizedTransitionCallback)(nodeRef, (node, isAppearing) => {
    (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.reflow)(node); // So the animation always start from the start.

    const {
      duration: transitionDuration,
      delay,
      easing: transitionTimingFunction
    } = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.getTransitionProps)({
      style,
      timeout,
      easing
    }, {
      mode: 'enter'
    });
    let duration;
    if (timeout === 'auto') {
      duration = theme.transitions.getAutoHeightDuration(node.clientHeight);
      autoTimeout.current = duration;
    } else {
      duration = transitionDuration;
    }
    node.style.transition = [theme.transitions.create('opacity', {
      duration,
      delay
    }), theme.transitions.create('transform', {
      duration: duration * 0.666,
      delay,
      easing: transitionTimingFunction
    })].join(',');
    if (onEnter) {
      onEnter(node, isAppearing);
    }
  });
  const handleEntered = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizedTransitionCallback)(nodeRef, onEntered);
  const handleExiting = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizedTransitionCallback)(nodeRef, onExiting);
  const handleExit = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizedTransitionCallback)(nodeRef, node => {
    const {
      duration: transitionDuration,
      delay,
      easing: transitionTimingFunction
    } = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.getTransitionProps)({
      style,
      timeout,
      easing
    }, {
      mode: 'exit'
    });
    let duration;
    if (timeout === 'auto') {
      duration = theme.transitions.getAutoHeightDuration(node.clientHeight);
      autoTimeout.current = duration;
    } else {
      duration = transitionDuration;
    }
    node.style.transition = [theme.transitions.create('opacity', {
      duration,
      delay
    }), theme.transitions.create('transform', {
      duration: duration * 0.666,
      delay: delay || duration * 0.333,
      easing: transitionTimingFunction
    })].join(',');
    node.style.opacity = 0;
    node.style.transform = getScale(0.75);
    if (onExit) {
      onExit(node);
    }
  });
  const handleExited = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizedTransitionCallback)(nodeRef, node => {
    node.style.transition = '';
    if (onExited) {
      onExited(node);
    }
  });
  const handleAddEndListener = next => {
    if (timeout === 'auto') {
      timer.start(autoTimeout.current || 0, next);
    }
    if (addEndListener) {
      // Old call signature before `react-transition-group` implemented `nodeRef`
      addEndListener(nodeRef.current, next);
    }
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(react_transition_group__WEBPACK_IMPORTED_MODULE_5__["default"], {
    appear: appear,
    in: inProp,
    nodeRef: nodeRef,
    onEnter: handleEnter,
    onEntered: handleEntered,
    onEntering: handleEntering,
    onExit: handleExit,
    onExited: handleExited,
    onExiting: handleExiting,
    addEndListener: handleAddEndListener,
    timeout: timeout === 'auto' ? null : timeout,
    ...other,
    children: (state, {
      ownerState,
      ...restChildProps
    }) => {
      const childStyle = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_7__.getTransitionChildStyle)(state, inProp, styles, hiddenStyles, style, children.props.style);
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, {
        style: childStyle,
        ref: handleRef,
        ...restChildProps
      });
    }
  });
});
 true ? Grow.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Add a custom transition end trigger. Called with the transitioning DOM
   * node and a done callback. Allows for more fine grained transition end
   * logic. Note: Timeouts are still used as a fallback if provided.
   */
  addEndListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Perform the enter transition when it first mounts if `in` is also `true`.
   * Set this to `false` to disable this behavior.
   * @default true
   */
  appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * A single child content element.
   */
  children: _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_3__["default"].isRequired,
  /**
   * The transition timing function.
   * You may specify a single easing or a object containing enter and exit values.
   */
  easing: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.string
  }), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the component will transition in.
   */
  in: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  onEnter: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onEntered: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onEntering: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExit: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExited: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExiting: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   *
   * Set to 'auto' to automatically calculate transition time based on height.
   * @default 'auto'
   */
  timeout: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['auto']), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })])
} : 0;
if (Grow) {
  Grow.muiSupportAuto = true;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Grow);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Icon/Icon.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Icon/Icon.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _iconClasses_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./iconClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Icon/iconClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';












const useUtilityClasses = ownerState => {
  const {
    color,
    fontSize,
    classes
  } = ownerState;
  const slots = {
    root: ['root', color !== 'inherit' && `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(color)}`, `fontSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(fontSize)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _iconClasses_js__WEBPACK_IMPORTED_MODULE_9__.getIconUtilityClass, classes);
};
const IconRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('span', {
  name: 'MuiIcon',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.color !== 'inherit' && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.color)}`], styles[`fontSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.fontSize)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__["default"])(({
  theme
}) => ({
  userSelect: 'none',
  width: '1em',
  height: '1em',
  // Chrome fix for https://issues.chromium.org/issues/41375697
  // To remove at some point.
  overflow: 'hidden',
  display: 'inline-block',
  // allow overflow hidden to take action
  textAlign: 'center',
  // support non-square icon
  flexShrink: 0,
  variants: [{
    props: {
      fontSize: 'inherit'
    },
    style: {
      fontSize: 'inherit'
    }
  }, {
    props: {
      fontSize: 'small'
    },
    style: {
      fontSize: theme.typography.pxToRem(20)
    }
  }, {
    props: {
      fontSize: 'medium'
    },
    style: {
      fontSize: theme.typography.pxToRem(24)
    }
  }, {
    props: {
      fontSize: 'large'
    },
    style: {
      fontSize: theme.typography.pxToRem(36)
    }
  }, {
    props: {
      color: 'action'
    },
    style: {
      color: (theme.vars || theme).palette.action.active
    }
  }, {
    props: {
      color: 'disabled'
    },
    style: {
      color: (theme.vars || theme).palette.action.disabled
    }
  }, {
    props: {
      color: 'inherit'
    },
    style: {
      color: undefined
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_7__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      color: (theme.vars || theme).palette[color].main
    }
  }))]
})));
const Icon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Icon(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiIcon'
  });
  const {
    baseClassName = 'material-icons',
    className,
    color = 'inherit',
    component: Component = 'span',
    fontSize = 'medium',
    ...other
  } = props;
  const ownerState = {
    ...props,
    baseClassName,
    color,
    component: Component,
    fontSize
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(IconRoot, {
    as: Component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(baseClassName,
    // Prevent the translation of the text content.
    // The font relies on the exact text content to render the icon.
    'notranslate', classes.root, className),
    ownerState: ownerState,
    "aria-hidden": true,
    ref: ref,
    ...other
  });
});
 true ? Icon.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The base class applied to the icon. Defaults to 'material-icons', but can be changed to any
   * other base class that suits the icon font you're using (for example material-icons-rounded, fas, etc).
   * @default 'material-icons'
   */
  baseClassName: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The name of the icon font ligature.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'inherit'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
   * @default 'medium'
   */
  fontSize: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'large', 'medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
Icon.muiName = 'Icon';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Icon);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Icon/iconClasses.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Icon/iconClasses.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getIconUtilityClass: () => (/* binding */ getIconUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getIconUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiIcon', slot);
}
const iconClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iconClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _CircularProgress_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../CircularProgress/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _iconButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./iconButtonClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/iconButtonClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
















const useUtilityClasses = ownerState => {
  const {
    classes,
    disabled,
    color,
    edge,
    size,
    loading
  } = ownerState;
  const slots = {
    root: ['root', loading && 'loading', disabled && 'disabled', color !== 'default' && `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(color)}`, edge && `edge${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(edge)}`, `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(size)}`],
    loadingIndicator: ['loadingIndicator'],
    loadingWrapper: ['loadingWrapper']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _iconButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__.getIconButtonUtilityClass, classes);
};
const IconButtonRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_10__["default"], {
  name: 'MuiIconButton',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.loading && styles.loading, ownerState.color !== 'default' && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.color)}`], ownerState.edge && styles[`edge${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.edge)}`], styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_12__["default"])(ownerState.size)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  textAlign: 'center',
  flex: '0 0 auto',
  fontSize: theme.typography.pxToRem(24),
  padding: 8,
  borderRadius: '50%',
  color: (theme.vars || theme).palette.action.active,
  transition: theme.transitions.create('background-color', {
    duration: theme.transitions.duration.shortest
  }),
  variants: [{
    props: props => !props.disableRipple,
    style: {
      '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity),
      '&:hover': {
        backgroundColor: 'var(--IconButton-hoverBg)',
        // Reset on touch devices, it doesn't add specificity
        '@media (hover: none)': {
          backgroundColor: 'transparent'
        }
      }
    }
  }, {
    props: {
      edge: 'start'
    },
    style: {
      marginLeft: -12
    }
  }, {
    props: {
      edge: 'start',
      size: 'small'
    },
    style: {
      marginLeft: -3
    }
  }, {
    props: {
      edge: 'end'
    },
    style: {
      marginRight: -12
    }
  }, {
    props: {
      edge: 'end',
      size: 'small'
    },
    style: {
      marginRight: -3
    }
  }]
})), (0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  variants: [{
    props: {
      color: 'inherit'
    },
    style: {
      color: 'inherit'
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()) // check all the used fields in the style below
  .map(([color]) => ({
    props: {
      color
    },
    style: {
      color: (theme.vars || theme).palette[color].main
    }
  })), ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()) // check all the used fields in the style below
  .map(([color]) => ({
    props: {
      color
    },
    style: {
      '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)
    }
  })), {
    props: {
      size: 'small'
    },
    style: {
      padding: 5,
      fontSize: theme.typography.pxToRem(18)
    }
  }, {
    props: {
      size: 'large'
    },
    style: {
      padding: 12,
      fontSize: theme.typography.pxToRem(28)
    }
  }],
  [`&.${_iconButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].disabled}`]: {
    backgroundColor: 'transparent',
    color: (theme.vars || theme).palette.action.disabled
  },
  [`&.${_iconButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].loading}`]: {
    color: 'transparent'
  }
})));
const IconButtonLoadingIndicator = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiIconButton',
  slot: 'LoadingIndicator'
})(({
  theme
}) => ({
  display: 'none',
  position: 'absolute',
  visibility: 'visible',
  top: '50%',
  left: '50%',
  transform: 'translate(-50%, -50%)',
  color: (theme.vars || theme).palette.action.disabled,
  variants: [{
    props: {
      loading: true
    },
    style: {
      display: 'flex'
    }
  }]
}));

/**
 * Refer to the [Icons](/material-ui/icons/) section of the documentation
 * regarding the available icon options.
 */
const IconButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function IconButton(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__.useDefaultProps)({
    props: inProps,
    name: 'MuiIconButton'
  });
  const {
    edge = false,
    children,
    className,
    color = 'default',
    disabled = false,
    disableFocusRipple = false,
    size = 'medium',
    id: idProp,
    loading = null,
    loadingIndicator: loadingIndicatorProp,
    ...other
  } = props;
  const loadingId = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(idProp);
  const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_CircularProgress_index_js__WEBPACK_IMPORTED_MODULE_11__["default"], {
    "aria-labelledby": loadingId,
    color: "inherit",
    size: 16
  });
  const ownerState = {
    ...props,
    edge,
    color,
    disabled,
    disableFocusRipple,
    loading,
    loadingIndicator,
    size
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(IconButtonRoot, {
    id: loading ? loadingId : idProp,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    centerRipple: true,
    focusRipple: !disableFocusRipple,
    disabled: disabled || loading,
    ref: ref,
    ...other,
    ownerState: ownerState,
    children: [typeof loading === 'boolean' &&
    /*#__PURE__*/
    // use plain HTML span to minimize the runtime overhead
    (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("span", {
      className: classes.loadingWrapper,
      style: {
        display: 'contents'
      },
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(IconButtonLoadingIndicator, {
        className: classes.loadingIndicator,
        ownerState: ownerState,
        children: loading && loadingIndicator
      })
    }), children]
  });
});
 true ? IconButton.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The icon to display.
   */
  children: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.node, props => {
    const found = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(props.children).some(child => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child) && child.props.onClick);
    if (found) {
      return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\n'));
    }
    return null;
  }),
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'default'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the  keyboard focus ripple is disabled.
   * @default false
   */
  disableFocusRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   *
   * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
   * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If given, uses a negative margin to counteract the padding on one
   * side (this is often helpful for aligning the left or right
   * side of the icon with content above or below, without ruining the border
   * size and shape).
   * @default false
   */
  edge: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['end', 'start', false]),
  /**
   * @ignore
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the loading indicator is visible and the button is disabled.
   * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
   * @default null
   */
  loading: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Element placed before the children if the button is in loading state.
   * The node should contain an element with `role="progressbar"` with an accessible name.
   * By default, it renders a `CircularProgress` that is labeled by the button itself.
   * @default <CircularProgress color="inherit" size={16} />
   */
  loadingIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The size of the component.
   * `small` is equivalent to the dense button styling.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['small', 'medium', 'large']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (IconButton);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/iconButtonClasses.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/iconButtonClasses.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getIconButtonUtilityClass: () => (/* binding */ getIconButtonUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getIconButtonUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiIconButton', slot);
}
const iconButtonClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'loading', 'loadingIndicator', 'loadingWrapper']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (iconButtonClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/ImageList.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/ImageList.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _imageListClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./imageListClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/imageListClasses.js");
/* harmony import */ var _ImageListContext_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ImageListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/ImageListContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    variant
  } = ownerState;
  const slots = {
    root: ['root', variant]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_0__["default"])(slots, _imageListClasses_js__WEBPACK_IMPORTED_MODULE_7__.getImageListUtilityClass, classes);
};
const ImageListRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('ul', {
  name: 'MuiImageList',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.variant]];
  }
})({
  display: 'grid',
  overflowY: 'auto',
  listStyle: 'none',
  padding: 0,
  // Add iOS momentum scrolling for iOS < 13.0
  WebkitOverflowScrolling: 'touch',
  variants: [{
    props: {
      variant: 'masonry'
    },
    style: {
      display: 'block'
    }
  }]
});
const ImageList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.forwardRef(function ImageList(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiImageList'
  });
  const {
    children,
    className,
    cols = 2,
    component = 'ul',
    rowHeight = 'auto',
    gap = 4,
    style: styleProp,
    variant = 'standard',
    ...other
  } = props;
  const contextValue = react__WEBPACK_IMPORTED_MODULE_4__.useMemo(() => ({
    rowHeight,
    gap,
    variant
  }), [rowHeight, gap, variant]);
  const style = variant === 'masonry' ? {
    columnCount: cols,
    columnGap: gap,
    ...styleProp
  } : {
    gridTemplateColumns: `repeat(${cols}, 1fr)`,
    gap,
    ...styleProp
  };
  const ownerState = {
    ...props,
    component,
    gap,
    rowHeight,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ImageListRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, classes[variant], className),
    ref: ref,
    style: style,
    ownerState: ownerState,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_ImageListContext_js__WEBPACK_IMPORTED_MODULE_8__["default"].Provider, {
      value: contextValue,
      children: children
    })
  });
});
 true ? ImageList.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally `ImageListItem`s.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_3__.node.isRequired,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_3__.string,
  /**
   * Number of columns.
   * @default 2
   */
  cols: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_1__["default"],
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType,
  /**
   * The gap between items in px.
   * @default 4
   */
  gap: prop_types__WEBPACK_IMPORTED_MODULE_3__.number,
  /**
   * The height of one row in px.
   * @default 'auto'
   */
  rowHeight: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['auto']), prop_types__WEBPACK_IMPORTED_MODULE_3__.number]),
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object, prop_types__WEBPACK_IMPORTED_MODULE_3__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object]),
  /**
   * The variant to use.
   * @default 'standard'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['masonry', 'quilted', 'standard', 'woven']), prop_types__WEBPACK_IMPORTED_MODULE_3__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ImageList);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/ImageListContext.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/ImageListContext.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * @ignore - internal component.
 * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
 */
const ImageListContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
if (true) {
  ImageListContext.displayName = 'ImageListContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ImageListContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/imageListClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/imageListClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getImageListUtilityClass: () => (/* binding */ getImageListUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getImageListUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiImageList', slot);
}
const imageListClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiImageList', ['root', 'masonry', 'quilted', 'standard', 'woven']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (imageListClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageListItem/ImageListItem.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageListItem/ImageListItem.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var _ImageList_ImageListContext_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ImageList/ImageListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageList/ImageListContext.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/isMuiElement.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isMuiElement.js");
/* harmony import */ var _imageListItemClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./imageListItemClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageListItem/imageListItemClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const useUtilityClasses = ownerState => {
  const {
    classes,
    variant
  } = ownerState;
  const slots = {
    root: ['root', variant],
    img: ['img']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_0__["default"])(slots, _imageListItemClasses_js__WEBPACK_IMPORTED_MODULE_10__.getImageListItemUtilityClass, classes);
};
const ImageListItemRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('li', {
  name: 'MuiImageListItem',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_imageListItemClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].img}`]: styles.img
    }, styles.root, styles[ownerState.variant]];
  }
})({
  display: 'block',
  position: 'relative',
  [`& .${_imageListItemClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].img}`]: {
    objectFit: 'cover',
    width: '100%',
    height: '100%',
    display: 'block'
  },
  variants: [{
    props: {
      variant: 'standard'
    },
    style: {
      // For titlebar under list item
      display: 'flex',
      flexDirection: 'column'
    }
  }, {
    props: {
      variant: 'woven'
    },
    style: {
      height: '100%',
      alignSelf: 'center',
      '&:nth-of-type(even)': {
        height: '70%'
      }
    }
  }, {
    props: {
      variant: 'standard'
    },
    style: {
      [`& .${_imageListItemClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].img}`]: {
        height: 'auto',
        flexGrow: 1
      }
    }
  }]
});
const ImageListItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.forwardRef(function ImageListItem(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiImageListItem'
  });

  // TODO: - Use jsdoc @default?: "cols rows default values are for docs only"
  const {
    children,
    className,
    cols = 1,
    component = 'li',
    rows = 1,
    style,
    ...other
  } = props;
  const {
    rowHeight = 'auto',
    gap,
    variant
  } = react__WEBPACK_IMPORTED_MODULE_4__.useContext(_ImageList_ImageListContext_js__WEBPACK_IMPORTED_MODULE_6__["default"]);
  let height = 'auto';
  if (variant === 'woven') {
    height = undefined;
  } else if (rowHeight !== 'auto') {
    height = rowHeight * rows + gap * (rows - 1);
  }
  const ownerState = {
    ...props,
    cols,
    component,
    gap,
    rowHeight,
    rows,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(ImageListItemRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, classes[variant], className),
    ref: ref,
    style: {
      height,
      gridColumnEnd: variant !== 'masonry' ? `span ${cols}` : undefined,
      gridRowEnd: variant !== 'masonry' ? `span ${rows}` : undefined,
      marginBottom: variant === 'masonry' ? gap : undefined,
      breakInside: variant === 'masonry' ? 'avoid' : undefined,
      ...style
    },
    ownerState: ownerState,
    ...other,
    children: react__WEBPACK_IMPORTED_MODULE_4__.Children.map(children, child => {
      if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.isValidElement(child)) {
        return null;
      }
      if (true) {
        if ((0,react_is__WEBPACK_IMPORTED_MODULE_5__.isFragment)(child)) {
          console.error(["MUI: The ImageListItem component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
        }
      }
      if (child.type === 'img' || (0,_utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_9__["default"])(child, ['Image'])) {
        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.cloneElement(child, {
          className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.img, child.props.className)
        });
      }
      return child;
    })
  });
});
 true ? ImageListItem.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally an `<img>`.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_3__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_3__.string,
  /**
   * Width of the item in number of grid columns.
   * @default 1
   */
  cols: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_1__["default"],
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType,
  /**
   * Height of the item in number of grid rows.
   * @default 1
   */
  rows: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_1__["default"],
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object, prop_types__WEBPACK_IMPORTED_MODULE_3__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ImageListItem);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageListItem/imageListItemClasses.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ImageListItem/imageListItemClasses.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getImageListItemUtilityClass: () => (/* binding */ getImageListItemUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getImageListItemUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiImageListItem', slot);
}
const imageListItemClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiImageListItem', ['root', 'img', 'standard', 'woven', 'masonry', 'quilted']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (imageListItemClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   defaultConfig: () => (/* binding */ defaultConfig)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system_InitColorSchemeScript__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/InitColorSchemeScript */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");



const defaultConfig = {
  attribute: 'data-mui-color-scheme',
  colorSchemeStorageKey: 'mui-color-scheme',
  defaultLightColorScheme: 'light',
  defaultDarkColorScheme: 'dark',
  modeStorageKey: 'mui-mode'
};
/**
 *
 * Demos:
 *
 * - [InitColorSchemeScript](https://v7.mui.com/material-ui/react-init-color-scheme-script/)
 *
 * API:
 *
 * - [InitColorSchemeScript API](https://v7.mui.com/material-ui/api/init-color-scheme-script/)
 */
function InitColorSchemeScript(props) {
  const {
    defaultMode = 'system',
    defaultLightColorScheme = defaultConfig.defaultLightColorScheme,
    defaultDarkColorScheme = defaultConfig.defaultDarkColorScheme,
    modeStorageKey = defaultConfig.modeStorageKey,
    colorSchemeStorageKey = defaultConfig.colorSchemeStorageKey,
    attribute: initialAttribute = defaultConfig.attribute,
    colorSchemeNode = 'document.documentElement',
    nonce
  } = props;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_mui_system_InitColorSchemeScript__WEBPACK_IMPORTED_MODULE_1__["default"], {
    defaultMode: defaultMode,
    defaultLightColorScheme: defaultLightColorScheme,
    defaultDarkColorScheme: defaultDarkColorScheme,
    modeStorageKey: modeStorageKey,
    colorSchemeStorageKey: colorSchemeStorageKey,
    attribute: initialAttribute,
    colorSchemeNode: colorSchemeNode,
    nonce: nonce
  });
}
 true ? InitColorSchemeScript.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * DOM attribute for applying a color scheme.
   * @default 'data-mui-color-scheme'
   * @example '.mode-%s' // for class based color scheme
   * @example '[data-mode-%s]' // for data-attribute without '='
   */
  attribute: prop_types__WEBPACK_IMPORTED_MODULE_0__.string,
  /**
   * The node (provided as string) used to attach the color-scheme attribute.
   * @default 'document.documentElement'
   */
  colorSchemeNode: prop_types__WEBPACK_IMPORTED_MODULE_0__.string,
  /**
   * localStorage key used to store `colorScheme`.
   * @default 'mui-color-scheme'
   */
  colorSchemeStorageKey: prop_types__WEBPACK_IMPORTED_MODULE_0__.string,
  /**
   * The default color scheme to be used in dark mode.
   * @default 'dark'
   */
  defaultDarkColorScheme: prop_types__WEBPACK_IMPORTED_MODULE_0__.string,
  /**
   * The default color scheme to be used in light mode.
   * @default 'light'
   */
  defaultLightColorScheme: prop_types__WEBPACK_IMPORTED_MODULE_0__.string,
  /**
   * The default mode when the storage is empty (user's first visit).
   * @default 'system'
   */
  defaultMode: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['dark', 'light', 'system']),
  /**
   * localStorage key used to store `mode`.
   * @default 'mui-mode'
   */
  modeStorageKey: prop_types__WEBPACK_IMPORTED_MODULE_0__.string,
  /**
   * Nonce string to pass to the inline script for CSP headers.
   */
  nonce: prop_types__WEBPACK_IMPORTED_MODULE_0__.string
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InitColorSchemeScript);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/Input.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/Input.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../InputBase/InputBase.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _inputClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./inputClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/inputClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const useUtilityClasses = ownerState => {
  const {
    classes,
    disableUnderline
  } = ownerState;
  const slots = {
    root: ['root', !disableUnderline && 'underline'],
    input: ['input']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__["default"])(slots, _inputClasses_js__WEBPACK_IMPORTED_MODULE_11__.getInputUtilityClass, classes);
  return {
    ...classes,
    // forward classes to the InputBase
    ...composedClasses
  };
};
const InputRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.InputBaseRoot, {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_6__["default"])(prop) || prop === 'classes',
  name: 'MuiInput',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [...(0,_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.rootOverridesResolver)(props, styles), !ownerState.disableUnderline && styles.underline];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => {
  const light = theme.palette.mode === 'light';
  let bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';
  if (theme.vars) {
    bottomLineColor = theme.alpha(theme.vars.palette.common.onBackground, theme.vars.opacity.inputUnderline);
  }
  return {
    position: 'relative',
    variants: [{
      props: ({
        ownerState
      }) => ownerState.formControl,
      style: {
        'label + &': {
          marginTop: 16
        }
      }
    }, {
      props: ({
        ownerState
      }) => !ownerState.disableUnderline,
      style: {
        '&::after': {
          left: 0,
          bottom: 0,
          content: '""',
          position: 'absolute',
          right: 0,
          transform: 'scaleX(0)',
          transition: theme.transitions.create('transform', {
            duration: theme.transitions.duration.shorter,
            easing: theme.transitions.easing.easeOut
          }),
          pointerEvents: 'none' // Transparent to the hover style.
        },
        [`&.${_inputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].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)'
        },
        [`&.${_inputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].error}`]: {
          '&::before, &::after': {
            borderBottomColor: (theme.vars || theme).palette.error.main
          }
        },
        '&::before': {
          borderBottom: `1px solid ${bottomLineColor}`,
          left: 0,
          bottom: 0,
          content: '""',
          position: 'absolute',
          right: 0,
          transition: theme.transitions.create('border-bottom-color', {
            duration: theme.transitions.duration.shorter
          }),
          pointerEvents: 'none' // Transparent to the hover style.
        },
        [`&:hover:not(.${_inputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}, .${_inputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].error}):before`]: {
          borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
          // Reset on touch devices, it doesn't add specificity
          '@media (hover: none)': {
            borderBottom: `1px solid ${bottomLineColor}`
          }
        },
        [`&.${_inputClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}:before`]: {
          borderBottomStyle: 'dotted'
        }
      }
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])()).map(([color]) => ({
      props: {
        color,
        disableUnderline: false
      },
      style: {
        '&::after': {
          borderBottom: `2px solid ${(theme.vars || theme).palette[color].main}`
        }
      }
    }))]
  };
}));
const InputInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.InputBaseInput, {
  name: 'MuiInput',
  slot: 'Input',
  overridesResolver: _InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__.inputOverridesResolver
})({});
const Input = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Input(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiInput'
  });
  const {
    disableUnderline = false,
    components = {},
    componentsProps: componentsPropsProp,
    fullWidth = false,
    inputComponent = 'input',
    multiline = false,
    slotProps,
    slots = {},
    type = 'text',
    ...other
  } = props;
  const classes = useUtilityClasses(props);
  const ownerState = {
    disableUnderline
  };
  const inputComponentsProps = {
    root: {
      ownerState
    }
  };
  const componentsProps = slotProps ?? componentsPropsProp ? (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_3__["default"])(slotProps ?? componentsPropsProp, inputComponentsProps) : inputComponentsProps;
  const RootSlot = slots.root ?? components.Root ?? InputRoot;
  const InputSlot = slots.input ?? components.Input ?? InputInput;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_InputBase_index_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
    slots: {
      root: RootSlot,
      input: InputSlot
    },
    slotProps: componentsProps,
    fullWidth: fullWidth,
    inputComponent: inputComponent,
    multiline: multiline,
    ref: ref,
    type: type,
    ...other,
    classes: classes
  });
});
 true ? Input.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * This prop helps users to fill forms faster, especially on mobile devices.
   * The name can be confusing, as it's more like an autofill.
   * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
   */
  autoComplete: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the `input` element is focused during the first mount.
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['primary', 'secondary']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The components used for each slot inside.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * If `true`, the component is disabled.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` will not have an underline.
   * @default false
   */
  disableUnderline: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * End `InputAdornment` for this component.
   */
  endAdornment: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `true`, the `input` will indicate an error.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the `input` element.
   * Either a string to use a HTML element or a component.
   * @default 'input'
   */
  inputComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @default {}
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Pass a ref to the `input` element.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * If `dense`, will adjust vertical spacing. This is normally obtained via context from
   * FormControl.
   * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense', 'none']),
  /**
   * Maximum number of rows to display when multiline option is set to true.
   */
  maxRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Minimum number of rows to display when multiline option is set to true.
   */
  minRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
   * @default false
   */
  multiline: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Name attribute of the `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Callback fired when the value is changed.
   *
   * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The short hint displayed in the `input` before the user enters a value.
   */
  placeholder: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * It prevents the user from changing the value of the field
   * (not from interacting with the field).
   */
  readOnly: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` element is required.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Number of rows to display when multiline option is set to true.
   */
  rows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
   *
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * The components used for each slot inside.
   *
   * This prop is an alias for the `components` prop, which will be deprecated in the future.
   *
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * Start `InputAdornment` for this component.
   */
  startAdornment: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
   * @default 'text'
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The value of the `input` element, required for a controlled component.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
Input.muiName = 'Input';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Input);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/inputClasses.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/inputClasses.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getInputUtilityClass: () => (/* binding */ getInputUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _InputBase_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../InputBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js");



function getInputUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiInput', slot);
}
const inputClasses = {
  ..._InputBase_index_js__WEBPACK_IMPORTED_MODULE_2__["default"],
  ...(0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiInput', ['root', 'underline', 'input'])
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (inputClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/InputAdornment.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _FormControl_FormControlContext_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../FormControl/FormControlContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControlContext.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _inputAdornmentClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./inputAdornmentClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/inputAdornmentClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

var _span;













const overridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.root, styles[`position${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
};
const useUtilityClasses = ownerState => {
  const {
    classes,
    disablePointerEvents,
    hiddenLabel,
    position,
    size,
    variant
  } = ownerState;
  const slots = {
    root: ['root', disablePointerEvents && 'disablePointerEvents', position && `position${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(position)}`, variant, hiddenLabel && 'hiddenLabel', size && `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(size)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _inputAdornmentClasses_js__WEBPACK_IMPORTED_MODULE_11__.getInputAdornmentUtilityClass, classes);
};
const InputAdornmentRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiInputAdornment',
  slot: 'Root',
  overridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  display: 'flex',
  maxHeight: '2em',
  alignItems: 'center',
  whiteSpace: 'nowrap',
  color: (theme.vars || theme).palette.action.active,
  variants: [{
    props: {
      variant: 'filled'
    },
    style: {
      [`&.${_inputAdornmentClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].positionStart}&:not(.${_inputAdornmentClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].hiddenLabel})`]: {
        marginTop: 16
      }
    }
  }, {
    props: {
      position: 'start'
    },
    style: {
      marginRight: 8
    }
  }, {
    props: {
      position: 'end'
    },
    style: {
      marginLeft: 8
    }
  }, {
    props: {
      disablePointerEvents: true
    },
    style: {
      pointerEvents: 'none'
    }
  }]
})));
const InputAdornment = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function InputAdornment(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiInputAdornment'
  });
  const {
    children,
    className,
    component = 'div',
    disablePointerEvents = false,
    disableTypography = false,
    position,
    variant: variantProp,
    ...other
  } = props;
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_7__["default"])() || {};
  let variant = variantProp;
  if (variantProp && muiFormControl.variant) {
    if (true) {
      if (variantProp === muiFormControl.variant) {
        console.error('MUI: The `InputAdornment` variant infers the variant prop ' + 'you do not have to provide one.');
      }
    }
  }
  if (muiFormControl && !variant) {
    variant = muiFormControl.variant;
  }
  const ownerState = {
    ...props,
    hiddenLabel: muiFormControl.hiddenLabel,
    size: muiFormControl.size,
    disablePointerEvents,
    position,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_FormControl_FormControlContext_js__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
    value: null,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(InputAdornmentRoot, {
      as: component,
      ownerState: ownerState,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ref: ref,
      ...other,
      children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_Typography_index_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
        color: "textSecondary",
        children: children
      }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
        children: [position === 'start' ? (/* notranslate needed while Google Translate will not fix zero-width space issue */_span || (_span = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
          className: "notranslate",
          "aria-hidden": true,
          children: "\u200B"
        }))) : null, children]
      })
    })
  });
});
 true ? InputAdornment.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally an `IconButton` or string.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Disable pointer events on the root.
   * This allows for the content of the adornment to focus the `input` on click.
   * @default false
   */
  disablePointerEvents: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If children is a string then disable wrapping in a Typography component.
   * @default false
   */
  disableTypography: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The position this adornment should appear relative to the `Input`.
   */
  position: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['end', 'start']).isRequired,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   * Note: If you are using the `TextField` component or the `FormControl` component
   * you do not have to set this manually.
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined', 'standard'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InputAdornment);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/inputAdornmentClasses.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputAdornment/inputAdornmentClasses.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getInputAdornmentUtilityClass: () => (/* binding */ getInputAdornmentUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getInputAdornmentUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiInputAdornment', slot);
}
const inputAdornmentClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiInputAdornment', ['root', 'filled', 'standard', 'outlined', 'positionStart', 'positionEnd', 'disablePointerEvents', 'hiddenLabel', 'sizeSmall']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (inputAdornmentClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   InputBaseInput: () => (/* binding */ InputBaseInput),
/* harmony export */   InputBaseRoot: () => (/* binding */ InputBaseRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   inputOverridesResolver: () => (/* binding */ inputOverridesResolver),
/* harmony export */   rootOverridesResolver: () => (/* binding */ rootOverridesResolver)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/elementTypeAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/isHostComponent */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js");
/* harmony import */ var _TextareaAutosize_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../TextareaAutosize/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var _FormControl_FormControlContext_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../FormControl/FormControlContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControlContext.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/zero-styled/index.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../utils/useEnhancedEffect.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils/ownerDocument.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils/getActiveElement.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getActiveElement.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/utils.js");
/* harmony import */ var _inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./inputBaseClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';


var _InputGlobalStyles;






















const MUI_AUTO_FILL = 'mui-auto-fill';
const MUI_AUTO_FILL_CANCEL = 'mui-auto-fill-cancel';
const rootOverridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.root, ownerState.formControl && styles.formControl, ownerState.startAdornment && styles.adornedStart, ownerState.endAdornment && styles.adornedEnd, ownerState.error && styles.error, ownerState.size === 'small' && styles.sizeSmall, ownerState.multiline && styles.multiline, ownerState.color && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_15__["default"])(ownerState.color)}`], ownerState.fullWidth && styles.fullWidth, ownerState.hiddenLabel && styles.hiddenLabel];
};
const inputOverridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
};
const useUtilityClasses = ownerState => {
  const {
    classes,
    color,
    disabled,
    error,
    endAdornment,
    focused,
    formControl,
    fullWidth,
    hiddenLabel,
    multiline,
    readOnly,
    size,
    startAdornment,
    type
  } = ownerState;
  const slots = {
    root: ['root', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_15__["default"])(color)}`, disabled && 'disabled', error && 'error', fullWidth && 'fullWidth', focused && 'focused', formControl && 'formControl', size && size !== 'medium' && `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_15__["default"])(size)}`, multiline && 'multiline', startAdornment && 'adornedStart', endAdornment && 'adornedEnd', hiddenLabel && 'hiddenLabel', readOnly && 'readOnly'],
    input: ['input', disabled && 'disabled', type === 'search' && 'inputTypeSearch', multiline && 'inputMultiline', size === 'small' && 'inputSizeSmall', hiddenLabel && 'inputHiddenLabel', startAdornment && 'inputAdornedStart', endAdornment && 'inputAdornedEnd', readOnly && 'readOnly']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_21__.getInputBaseUtilityClass, classes);
};
const InputBaseRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])('div', {
  name: 'MuiInputBase',
  slot: 'Root',
  overridesResolver: rootOverridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_13__["default"])(({
  theme
}) => ({
  ...theme.typography.body1,
  color: (theme.vars || theme).palette.text.primary,
  lineHeight: '1.4375em',
  // 23px
  boxSizing: 'border-box',
  // Prevent padding issue with fullWidth.
  position: 'relative',
  cursor: 'text',
  display: 'inline-flex',
  alignItems: 'center',
  [`&.${_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].disabled}`]: {
    color: (theme.vars || theme).palette.text.disabled,
    cursor: 'default'
  },
  variants: [{
    props: ({
      ownerState
    }) => ownerState.multiline,
    style: {
      padding: '4px 0 5px'
    }
  }, {
    props: ({
      ownerState,
      size
    }) => ownerState.multiline && size === 'small',
    style: {
      paddingTop: 1
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.fullWidth,
    style: {
      width: '100%'
    }
  }]
})));
const InputBaseInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])('input', {
  name: 'MuiInputBase',
  slot: 'Input',
  overridesResolver: inputOverridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_13__["default"])(({
  theme
}) => {
  const light = theme.palette.mode === 'light';
  const placeholder = {
    color: 'currentColor',
    ...(theme.vars ? {
      opacity: theme.vars.opacity.inputPlaceholder
    } : {
      opacity: light ? 0.42 : 0.5
    }),
    transition: theme.transitions.create('opacity', {
      duration: theme.transitions.duration.shorter
    })
  };
  const placeholderHidden = {
    opacity: '0 !important'
  };
  const placeholderVisible = theme.vars ? {
    opacity: theme.vars.opacity.inputPlaceholder
  } : {
    opacity: light ? 0.42 : 0.5
  };
  return {
    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%',
    '&::-webkit-input-placeholder': placeholder,
    '&::-moz-placeholder': placeholder,
    // Firefox 19+
    '&::-ms-input-placeholder': placeholder,
    // 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] + .${_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].formControl} &`]: {
      '&::-webkit-input-placeholder': placeholderHidden,
      '&::-moz-placeholder': placeholderHidden,
      // Firefox 19+
      '&::-ms-input-placeholder': placeholderHidden,
      // Edge
      '&:focus::-webkit-input-placeholder': placeholderVisible,
      '&:focus::-moz-placeholder': placeholderVisible,
      // Firefox 19+
      '&:focus::-ms-input-placeholder': placeholderVisible // Edge
    },
    [`&.${_inputBaseClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].disabled}`]: {
      opacity: 1,
      // Reset iOS opacity
      WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug
    },
    variants: [{
      props: ({
        ownerState
      }) => !ownerState.disableInjectingGlobalStyles,
      style: {
        animationName: MUI_AUTO_FILL_CANCEL,
        animationDuration: '10ms',
        '&:-webkit-autofill': {
          animationDuration: '5000s',
          animationName: MUI_AUTO_FILL
        }
      }
    }, {
      props: {
        size: 'small'
      },
      style: {
        paddingTop: 1
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.multiline,
      style: {
        height: 'auto',
        resize: 'none',
        padding: 0,
        paddingTop: 0
      }
    }, {
      props: {
        type: 'search'
      },
      style: {
        MozAppearance: 'textfield' // Improve type search style.
      }
    }]
  };
}));
const InputGlobalStyles = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__.globalCss)({
  // Keep keyframes non-empty for Emotion production builds. Animation properties are ignored
  // inside keyframes, avoiding the visible display animation triggered by Chrome 117+.
  [`@keyframes ${MUI_AUTO_FILL}`]: {
    from: {
      animationName: MUI_AUTO_FILL
    }
  },
  [`@keyframes ${MUI_AUTO_FILL_CANCEL}`]: {
    from: {
      animationName: MUI_AUTO_FILL_CANCEL
    }
  }
});

/**
 * `InputBase` contains as few styles as possible.
 * It aims to be a simple building block for creating an input.
 * It contains a load of style reset and some state logic.
 */
const InputBase = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function InputBase(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__.useDefaultProps)({
    props: inProps,
    name: 'MuiInputBase'
  });
  const {
    'aria-describedby': ariaDescribedby,
    autoComplete,
    autoFocus,
    className,
    color,
    components = {},
    componentsProps = {},
    defaultValue,
    disabled,
    disableInjectingGlobalStyles,
    endAdornment,
    error,
    fullWidth = false,
    id,
    inputComponent = 'input',
    inputProps: inputPropsProp = {},
    inputRef: inputRefProp,
    margin,
    maxRows,
    minRows,
    multiline = false,
    name,
    onBlur,
    onChange,
    onClick,
    onFocus,
    onKeyDown,
    onKeyUp,
    placeholder,
    readOnly,
    renderSuffix,
    rows,
    size,
    slotProps = {},
    slots = {},
    startAdornment,
    type = 'text',
    value: valueProp,
    ...other
  } = props;
  const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
  const {
    current: isControlled
  } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(value != null);
  const inputRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const handleInputRefWarning = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(instance => {
    if (true) {
      if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {
        console.error(['MUI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `ref` prop.', 'Make sure the `ref` prop is called with a HTMLInputElement.'].join('\n'));
      }
    }
  }, []);
  const handleInputRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_16__["default"])(inputRef, inputRefProp, inputPropsProp.ref, handleInputRefWarning);
  const [focused, setFocused] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_10__["default"])();
  if (true) {
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (muiFormControl) {
        return muiFormControl.registerEffect();
      }
      return undefined;
    }, [muiFormControl]);
  }
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_8__["default"])({
    props,
    muiFormControl,
    states: ['color', 'disabled', 'error', 'hiddenLabel', 'size', 'required', 'filled']
  });
  fcs.focused = muiFormControl ? muiFormControl.focused : focused;

  // The blur won't fire when the disabled state is set on a focused input.
  // We need to book keep the focused state manually.
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!muiFormControl && disabled && focused) {
      setFocused(false);
      if (onBlur) {
        onBlur();
      }
    }
  }, [muiFormControl, disabled, focused, onBlur]);
  const onFilled = muiFormControl && muiFormControl.onFilled;
  const onEmpty = muiFormControl && muiFormControl.onEmpty;
  const checkDirty = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(obj => {
    if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_20__.isFilled)(obj)) {
      if (onFilled) {
        onFilled();
      }
    } else if (onEmpty) {
      onEmpty();
    }
  }, [onFilled, onEmpty]);
  (0,_utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_17__["default"])(() => {
    if (isControlled) {
      checkDirty({
        value
      });
    }
  }, [value, checkDirty, isControlled]);

  // Sync focused state when autoFocus is used in SSR.
  // If the browser focused the element before hydration, the onFocus handler never
  // fires. If it did not, React hydration does not call focus() for autoFocus.
  (0,_utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_17__["default"])(() => {
    if (!autoFocus) {
      return;
    }
    const input = inputRef.current;
    if (!input) {
      return;
    }
    const doc = (0,_utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_18__["default"])(input);
    const activeElement = (0,_utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_19__["default"])(doc);
    const noElementFocused = activeElement == null || activeElement === doc.body || activeElement === doc.documentElement;
    if (input === activeElement) {
      if (muiFormControl && muiFormControl.onFocus) {
        muiFormControl.onFocus();
      } else {
        setFocused(true);
      }
    } else if (noElementFocused) {
      input.focus();
    }
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [autoFocus]);
  const handleFocus = event => {
    if (onFocus) {
      onFocus(event);
    }
    if (inputPropsProp.onFocus) {
      inputPropsProp.onFocus(event);
    }
    if (muiFormControl && muiFormControl.onFocus) {
      muiFormControl.onFocus(event);
    } else {
      setFocused(true);
    }
  };
  const handleBlur = event => {
    if (onBlur) {
      onBlur(event);
    }
    if (inputPropsProp.onBlur) {
      inputPropsProp.onBlur(event);
    }
    if (muiFormControl && muiFormControl.onBlur) {
      muiFormControl.onBlur(event);
    } else {
      setFocused(false);
    }
  };
  const handleChange = (event, ...args) => {
    if (!isControlled) {
      const element = event.target || inputRef.current;
      if (element == null) {
        throw new Error( true ? 'MUI: Expected valid input target. ' + 'Did you use a custom `inputComponent` and forget to forward refs? ' + 'See https://mui.com/r/input-component-ref-interface for more info.' : 0);
      }
      checkDirty({
        value: element.value
      });
    }
    if (inputPropsProp.onChange) {
      inputPropsProp.onChange(event, ...args);
    }

    // Perform in the willUpdate
    if (onChange) {
      onChange(event, ...args);
    }
  };

  // Check the input state on mount, in case it was filled by the user
  // or auto filled by the browser before the hydration (for SSR).
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    checkDirty(inputRef.current);
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);
  const handleClick = event => {
    if (inputRef.current && event.currentTarget === event.target) {
      inputRef.current.focus();
    }
    if (onClick) {
      onClick(event);
    }
  };
  let InputComponent = inputComponent;
  let inputProps = inputPropsProp;
  if (multiline && InputComponent === 'input') {
    if (rows) {
      if (true) {
        if (minRows || maxRows) {
          console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
        }
      }
      inputProps = {
        type: undefined,
        minRows: rows,
        maxRows: rows,
        ...inputProps
      };
    } else {
      inputProps = {
        type: undefined,
        maxRows,
        minRows,
        ...inputProps
      };
    }
    InputComponent = _TextareaAutosize_index_js__WEBPACK_IMPORTED_MODULE_7__["default"];
  }
  const handleAutoFill = event => {
    // Provide a fake value as Chrome might not let you access it for security reasons.
    checkDirty(event.animationName === MUI_AUTO_FILL_CANCEL ? inputRef.current : {
      value: 'x'
    });
  };
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (muiFormControl) {
      muiFormControl.setAdornedStart(Boolean(startAdornment));
    }
  }, [muiFormControl, startAdornment]);
  const ownerState = {
    ...props,
    color: fcs.color || 'primary',
    disabled: fcs.disabled,
    endAdornment,
    error: fcs.error,
    focused: fcs.focused,
    formControl: muiFormControl,
    fullWidth,
    hiddenLabel: fcs.hiddenLabel,
    multiline,
    size: fcs.size,
    startAdornment,
    type
  };
  const classes = useUtilityClasses(ownerState);
  const Root = slots.root || components.Root || InputBaseRoot;
  const rootProps = slotProps.root || componentsProps.root || {};
  const Input = slots.input || components.Input || InputBaseInput;
  inputProps = {
    ...inputProps,
    ...(slotProps.input ?? componentsProps.input)
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [!disableInjectingGlobalStyles && typeof InputGlobalStyles === 'function' && (// For Emotion/Styled-components, InputGlobalStyles will be a function
    // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
    _InputGlobalStyles || (_InputGlobalStyles = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(InputGlobalStyles, {}))), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(Root, {
      ...rootProps,
      ref: ref,
      onClick: handleClick,
      ...other,
      ...(!(0,_mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_6__["default"])(Root) && {
        ownerState: {
          ...ownerState,
          ...rootProps.ownerState
        }
      }),
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),
      children: [startAdornment, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(_FormControl_FormControlContext_js__WEBPACK_IMPORTED_MODULE_9__["default"].Provider, {
        value: null,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(Input, {
          "aria-invalid": fcs.error,
          "aria-describedby": ariaDescribedby,
          autoComplete: autoComplete,
          autoFocus: autoFocus,
          defaultValue: defaultValue,
          disabled: fcs.disabled,
          id: id,
          onAnimationStart: handleAutoFill,
          name: name,
          placeholder: placeholder,
          readOnly: readOnly,
          required: fcs.required,
          rows: rows,
          value: value,
          onKeyDown: onKeyDown,
          onKeyUp: onKeyUp,
          type: type,
          ...inputProps,
          ...(!(0,_mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_6__["default"])(Input) && {
            as: InputComponent,
            ownerState: {
              ...ownerState,
              ...inputProps.ownerState
            }
          }),
          ref: handleInputRef,
          className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),
          onBlur: handleBlur,
          onChange: handleChange,
          onFocus: handleFocus
        })
      }), endAdornment, renderSuffix ? renderSuffix({
        ...fcs,
        startAdornment
      }) : null]
    })]
  });
});
 true ? InputBase.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  'aria-describedby': prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * This prop helps users to fill forms faster, especially on mobile devices.
   * The name can be confusing, as it's more like an autofill.
   * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
   */
  autoComplete: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the `input` element is focused during the first mount.
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The components used for each slot inside.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * If `true`, the component is disabled.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.
   * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
   * @default false
   */
  disableInjectingGlobalStyles: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * End `InputAdornment` for this component.
   */
  endAdornment: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `true`, the `input` will indicate an error.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the `input` element.
   * Either a string to use a HTML element or a component.
   * @default 'input'
   */
  inputComponent: _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @default {}
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Pass a ref to the `input` element.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * If `dense`, will adjust vertical spacing. This is normally obtained via context from
   * FormControl.
   * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense', 'none']),
  /**
   * Maximum number of rows to display when multiline option is set to true.
   */
  maxRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Minimum number of rows to display when multiline option is set to true.
   */
  minRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
   * @default false
   */
  multiline: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Name attribute of the `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Callback fired when the `input` is blurred.
   *
   * Notice that the first argument (event) might be undefined.
   */
  onBlur: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the value is changed.
   *
   * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the `input` doesn't satisfy its constraints.
   */
  onInvalid: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onKeyUp: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The short hint displayed in the `input` before the user enters a value.
   */
  placeholder: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * It prevents the user from changing the value of the field
   * (not from interacting with the field).
   */
  readOnly: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  renderSuffix: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the `input` element is required.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Number of rows to display when multiline option is set to true.
   */
  rows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The size of the component.
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
   *
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * The components used for each slot inside.
   *
   * This prop is an alias for the `components` prop, which will be deprecated in the future.
   *
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * Start `InputAdornment` for this component.
   */
  startAdornment: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
   * @default 'text'
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The value of the `input` element, required for a controlled component.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InputBase);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getInputBaseUtilityClass: () => (/* binding */ getInputBaseUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getInputBaseUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiInputBase', slot);
}
const inputBaseClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (inputBaseClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/utils.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/utils.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   hasValue: () => (/* binding */ hasValue),
/* harmony export */   isAdornedStart: () => (/* binding */ isAdornedStart),
/* harmony export */   isFilled: () => (/* binding */ isFilled)
/* harmony export */ });
// Supports determination of isControlled().
// Controlled input accepts its current value as a prop.
//
// @see https://facebook.github.io/react/docs/forms.html#controlled-components
// @param value
// @returns {boolean} true if string (including '') or number (including zero)
function hasValue(value) {
  return value != null && !(Array.isArray(value) && value.length === 0);
}

// Determine if field is empty or filled.
// Response determines if label is presented above field or as placeholder.
//
// @param obj
// @param SSR
// @returns {boolean} False when not present or empty string.
//                    True when any number or string with length.
function isFilled(obj, SSR = false) {
  return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');
}

// Determine if an Input is adorned on start.
// It's corresponding to the left with LTR.
//
// @param obj
// @returns {boolean} False when no adornments.
//                    True when adorned at the start.
function isAdornedStart(obj) {
  return obj.startAdornment;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _FormLabel_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../FormLabel/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/FormLabel.js");
/* harmony import */ var _FormLabel_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../FormLabel/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormLabel/formLabelClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _inputLabelClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./inputLabelClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/inputLabelClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const useUtilityClasses = ownerState => {
  const {
    classes,
    formControl,
    size,
    shrink,
    disableAnimation,
    variant,
    required
  } = ownerState;
  const slots = {
    root: ['root', formControl && 'formControl', !disableAnimation && 'animated', shrink && 'shrink', size && size !== 'medium' && `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(size)}`, variant],
    asterisk: [required && 'asterisk']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__["default"])(slots, _inputLabelClasses_js__WEBPACK_IMPORTED_MODULE_13__.getInputLabelUtilityClasses, classes);
  return {
    ...classes,
    // forward the focused, disabled, etc. classes to the FormLabel
    ...composedClasses
  };
};
const InputLabelRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])(_FormLabel_index_js__WEBPACK_IMPORTED_MODULE_6__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_9__["default"])(prop) || prop === 'classes',
  name: 'MuiInputLabel',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_FormLabel_index_js__WEBPACK_IMPORTED_MODULE_7__["default"].asterisk}`]: styles.asterisk
    }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, ownerState.focused && styles.focused, styles[ownerState.variant]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_11__["default"])(({
  theme
}) => ({
  display: 'block',
  transformOrigin: 'top left',
  whiteSpace: 'nowrap',
  overflow: 'hidden',
  textOverflow: 'ellipsis',
  maxWidth: '100%',
  variants: [{
    props: ({
      ownerState
    }) => ownerState.formControl,
    style: {
      position: 'absolute',
      left: 0,
      top: 0,
      // slight alteration to spec spacing to match visual spec result
      transform: 'translate(0, 20px) scale(1)'
    }
  }, {
    props: {
      size: 'small'
    },
    style: {
      // Compensation for the `Input.inputSizeSmall` style.
      transform: 'translate(0, 17px) scale(1)'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.shrink,
    style: {
      transform: 'translate(0, -1.5px) scale(0.75)',
      transformOrigin: 'top left',
      maxWidth: '133%'
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.disableAnimation,
    style: {
      transition: theme.transitions.create(['color', 'transform', 'max-width'], {
        duration: theme.transitions.duration.shorter,
        easing: theme.transitions.easing.easeOut
      })
    }
  }, {
    props: {
      variant: 'filled'
    },
    style: {
      // 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)'
    }
  }, {
    props: {
      variant: 'filled',
      size: 'small'
    },
    style: {
      transform: 'translate(12px, 13px) scale(1)'
    }
  }, {
    props: ({
      variant,
      ownerState
    }) => variant === 'filled' && ownerState.shrink,
    style: {
      userSelect: 'none',
      pointerEvents: 'auto',
      transform: 'translate(12px, 7px) scale(0.75)',
      maxWidth: 'calc(133% - 24px)'
    }
  }, {
    props: ({
      variant,
      ownerState,
      size
    }) => variant === 'filled' && ownerState.shrink && size === 'small',
    style: {
      transform: 'translate(12px, 4px) scale(0.75)'
    }
  }, {
    props: {
      variant: 'outlined'
    },
    style: {
      // see comment above on filled.zIndex
      zIndex: 1,
      pointerEvents: 'none',
      transform: 'translate(14px, 16px) scale(1)',
      maxWidth: 'calc(100% - 24px)'
    }
  }, {
    props: {
      variant: 'outlined',
      size: 'small'
    },
    style: {
      transform: 'translate(14px, 9px) scale(1)'
    }
  }, {
    props: ({
      variant,
      ownerState
    }) => variant === 'outlined' && ownerState.shrink,
    style: {
      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)'
    }
  }]
})));
const InputLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function InputLabel(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__.useDefaultProps)({
    name: 'MuiInputLabel',
    props: inProps
  });
  const {
    disableAnimation = false,
    margin,
    shrink: shrinkProp,
    variant,
    className,
    ...other
  } = props;
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__["default"])();
  let shrink = shrinkProp;
  if (typeof shrink === 'undefined' && muiFormControl) {
    shrink = muiFormControl.filled || muiFormControl.focused || muiFormControl.adornedStart;
  }
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_4__["default"])({
    props,
    muiFormControl,
    states: ['size', 'variant', 'required', 'focused']
  });
  const ownerState = {
    ...props,
    disableAnimation,
    formControl: muiFormControl,
    shrink,
    size: fcs.size,
    variant: fcs.variant,
    required: fcs.required,
    focused: fcs.focused
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(InputLabelRoot, {
    "data-shrink": shrink,
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ...other,
    ownerState: ownerState,
    classes: classes
  });
});
 true ? InputLabel.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the transition animation is disabled.
   * @default false
   */
  disableAnimation: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is disabled.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label is displayed in an error state.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` of this label is focused.
   */
  focused: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `dense`, will adjust vertical spacing. This is normally obtained via context from
   * FormControl.
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense']),
  /**
   * if `true`, the label will indicate that the `input` is required.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label is shrunk.
   */
  shrink: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined', 'standard'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InputLabel);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/inputLabelClasses.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/inputLabelClasses.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getInputLabelUtilityClasses: () => (/* binding */ getInputLabelUtilityClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getInputLabelUtilityClasses(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiInputLabel', slot);
}
const inputLabelClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (inputLabelClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/LinearProgress.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _linearProgressClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./linearProgressClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/linearProgressClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const TRANSITION_DURATION = 4; // seconds
const indeterminate1Keyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
`;

// This implementation is for supporting both Styled-components v4+ and Pigment CSS.
// A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).
// which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).
const indeterminate1Animation = typeof indeterminate1Keyframe !== 'string' ? (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.css)`
        animation: ${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
      ` : null;
const indeterminate2Keyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
`;
const indeterminate2Animation = typeof indeterminate2Keyframe !== 'string' ? (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.css)`
        animation: ${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
      ` : null;
const bufferKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    opacity: 1;
    background-position: 0 -23px;
  }

  60% {
    opacity: 0;
    background-position: 0 -23px;
  }

  100% {
    opacity: 1;
    background-position: -200px -23px;
  }
`;
const bufferAnimation = typeof bufferKeyframe !== 'string' ? (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.css)`
        animation: ${bufferKeyframe} 3s infinite linear;
      ` : null;
const useUtilityClasses = ownerState => {
  const {
    classes,
    variant,
    color
  } = ownerState;
  const slots = {
    root: ['root', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(color)}`, variant],
    dashed: ['dashed', `dashedColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(color)}`],
    bar1: ['bar', 'bar1', `barColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar1Indeterminate', variant === 'determinate' && 'bar1Determinate', variant === 'buffer' && 'bar1Buffer'],
    bar2: ['bar', 'bar2', variant !== 'buffer' && `barColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(color)}`, variant === 'buffer' && `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar2Indeterminate', variant === 'buffer' && 'bar2Buffer']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _linearProgressClasses_js__WEBPACK_IMPORTED_MODULE_11__.getLinearProgressUtilityClass, classes);
};
const getColorShade = (theme, color) => {
  if (theme.vars) {
    return theme.vars.palette.LinearProgress[`${color}Bg`];
  }
  return theme.palette.mode === 'light' ? theme.lighten(theme.palette[color].main, 0.62) : theme.darken(theme.palette[color].main, 0.5);
};
const LinearProgressRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiLinearProgress',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.color)}`], styles[ownerState.variant]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  position: 'relative',
  overflow: 'hidden',
  display: 'block',
  height: 4,
  // Fix Safari's bug during composition of different paint.
  zIndex: 0,
  '@media print': {
    colorAdjust: 'exact'
  },
  variants: [...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      backgroundColor: getColorShade(theme, color)
    }
  })), {
    props: ({
      ownerState
    }) => ownerState.color === 'inherit' && ownerState.variant !== 'buffer',
    style: {
      '&::before': {
        content: '""',
        position: 'absolute',
        left: 0,
        top: 0,
        right: 0,
        bottom: 0,
        backgroundColor: 'currentColor',
        opacity: 0.3
      }
    }
  }, {
    props: {
      variant: 'buffer'
    },
    style: {
      backgroundColor: 'transparent'
    }
  }, {
    props: {
      variant: 'query'
    },
    style: {
      transform: 'rotate(180deg)'
    }
  }]
})));
const LinearProgressDashed = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiLinearProgress',
  slot: 'Dashed',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.dashed, styles[`dashedColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.color)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  position: 'absolute',
  marginTop: 0,
  height: '100%',
  width: '100%',
  backgroundSize: '10px 10px',
  backgroundPosition: '0 -23px',
  variants: [{
    props: {
      color: 'inherit'
    },
    style: {
      opacity: 0.3,
      backgroundImage: `radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)`
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()).map(([color]) => {
    const backgroundColor = getColorShade(theme, color);
    return {
      props: {
        color
      },
      style: {
        backgroundImage: `radial-gradient(${backgroundColor} 0%, ${backgroundColor} 16%, transparent 42%)`
      }
    };
  })]
})), bufferAnimation || {
  // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
  animation: `${bufferKeyframe} 3s infinite linear`
});
const LinearProgressBar1 = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiLinearProgress',
  slot: 'Bar1',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.bar, styles.bar1, styles[`barColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar1Indeterminate, ownerState.variant === 'determinate' && styles.bar1Determinate, ownerState.variant === 'buffer' && styles.bar1Buffer];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  width: '100%',
  position: 'absolute',
  left: 0,
  bottom: 0,
  top: 0,
  transition: 'transform 0.2s linear',
  transformOrigin: 'left',
  variants: [{
    props: {
      color: 'inherit'
    },
    style: {
      backgroundColor: 'currentColor'
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      backgroundColor: (theme.vars || theme).palette[color].main
    }
  })), {
    props: {
      variant: 'determinate'
    },
    style: {
      transition: `transform .${TRANSITION_DURATION}s linear`
    }
  }, {
    props: {
      variant: 'buffer'
    },
    style: {
      zIndex: 1,
      transition: `transform .${TRANSITION_DURATION}s linear`
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
    style: {
      width: 'auto'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
    style: indeterminate1Animation || {
      animation: `${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
    }
  }]
})));
const LinearProgressBar2 = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiLinearProgress',
  slot: 'Bar2',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.bar, styles.bar2, styles[`barColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_10__["default"])(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar2Indeterminate, ownerState.variant === 'buffer' && styles.bar2Buffer];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  width: '100%',
  position: 'absolute',
  left: 0,
  bottom: 0,
  top: 0,
  transition: 'transform 0.2s linear',
  transformOrigin: 'left',
  variants: [...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      '--LinearProgressBar2-barColor': (theme.vars || theme).palette[color].main
    }
  })), {
    props: ({
      ownerState
    }) => ownerState.variant !== 'buffer' && ownerState.color !== 'inherit',
    style: {
      backgroundColor: 'var(--LinearProgressBar2-barColor, currentColor)'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.variant !== 'buffer' && ownerState.color === 'inherit',
    style: {
      backgroundColor: 'currentColor'
    }
  }, {
    props: {
      color: 'inherit'
    },
    style: {
      opacity: 0.3
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_8__["default"])()).map(([color]) => ({
    props: {
      color,
      variant: 'buffer'
    },
    style: {
      backgroundColor: getColorShade(theme, color),
      transition: `transform .${TRANSITION_DURATION}s linear`
    }
  })), {
    props: ({
      ownerState
    }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
    style: {
      width: 'auto'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
    style: indeterminate2Animation || {
      animation: `${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
    }
  }]
})));

/**
 * ## ARIA
 *
 * If the progress bar is describing the loading progress of a particular region of a page,
 * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`
 * attribute to `true` on that region until it has finished loading.
 */
const LinearProgress = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function LinearProgress(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__.useDefaultProps)({
    props: inProps,
    name: 'MuiLinearProgress'
  });
  const {
    className,
    color = 'primary',
    value,
    valueBuffer,
    variant = 'indeterminate',
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_4__.useRtl)();
  const rootProps = {};
  const inlineStyles = {
    bar1: {},
    bar2: {}
  };
  if (variant === 'determinate' || variant === 'buffer') {
    if (value !== undefined) {
      rootProps['aria-valuenow'] = Math.round(value);
      rootProps['aria-valuemin'] = 0;
      rootProps['aria-valuemax'] = 100;
      let transform = value - 100;
      if (isRtl) {
        transform = -transform;
      }
      inlineStyles.bar1.transform = `translateX(${transform}%)`;
    } else if (true) {
      console.error('MUI: You need to provide a value prop ' + 'when using the determinate or buffer variant of LinearProgress .');
    }
  }
  if (variant === 'buffer') {
    if (valueBuffer !== undefined) {
      let transform = (valueBuffer || 0) - 100;
      if (isRtl) {
        transform = -transform;
      }
      inlineStyles.bar2.transform = `translateX(${transform}%)`;
    } else if (true) {
      console.error('MUI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');
    }
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(LinearProgressRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    role: "progressbar",
    ...rootProps,
    ref: ref,
    ...other,
    children: [variant === 'buffer' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(LinearProgressDashed, {
      className: classes.dashed,
      ownerState: ownerState
    }) : null, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(LinearProgressBar1, {
      className: classes.bar1,
      ownerState: ownerState,
      style: inlineStyles.bar1
    }), variant === 'determinate' ? null : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(LinearProgressBar2, {
      className: classes.bar2,
      ownerState: ownerState,
      style: inlineStyles.bar2
    })]
  });
});
 true ? LinearProgress.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'primary', 'secondary']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The value of the progress indicator for the determinate and buffer variants.
   * Value between 0 and 100.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The value for the buffer variant.
   * Value between 0 and 100.
   */
  valueBuffer: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The variant to use.
   * Use indeterminate or query when there is no progress value.
   * @default 'indeterminate'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['buffer', 'determinate', 'indeterminate', 'query'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LinearProgress);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/linearProgressClasses.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/LinearProgress/linearProgressClasses.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getLinearProgressUtilityClass: () => (/* binding */ getLinearProgressUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getLinearProgressUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiLinearProgress', slot);
}
const linearProgressClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiLinearProgress', ['root', 'colorPrimary', 'colorSecondary', 'determinate', 'indeterminate', 'buffer', 'query', 'dashed', 'dashedColorPrimary', 'dashedColorSecondary', 'bar', 'bar1', 'bar2', 'barColorPrimary', 'barColorSecondary', 'bar1Indeterminate', 'bar1Determinate', 'bar1Buffer', 'bar2Indeterminate', 'bar2Buffer']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (linearProgressClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/Link.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/elementTypeAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/isFocusVisible */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _linkClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./linkClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/linkClasses.js");
/* harmony import */ var _getTextDecoration_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./getTextDecoration.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/getTextDecoration.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
















const v6Colors = {
  primary: true,
  secondary: true,
  error: true,
  info: true,
  success: true,
  warning: true,
  textPrimary: true,
  textSecondary: true,
  textDisabled: true
};
const useUtilityClasses = ownerState => {
  const {
    classes,
    component,
    focusVisible,
    underline
  } = ownerState;
  const slots = {
    root: ['root', `underline${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__["default"])(underline)}`, component === 'button' && 'button', focusVisible && 'focusVisible']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _linkClasses_js__WEBPACK_IMPORTED_MODULE_13__.getLinkUtilityClass, classes);
};
const LinkRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_Typography_index_js__WEBPACK_IMPORTED_MODULE_12__["default"], {
  name: 'MuiLink',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[`underline${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__["default"])(ownerState.underline)}`], ownerState.component === 'button' && styles.button];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => {
  return {
    variants: [{
      props: {
        underline: 'none'
      },
      style: {
        textDecoration: 'none'
      }
    }, {
      props: {
        underline: 'hover'
      },
      style: {
        textDecoration: 'none',
        '&:hover': {
          textDecoration: 'underline'
        }
      }
    }, {
      props: {
        underline: 'always'
      },
      style: {
        textDecoration: 'underline',
        '&:hover': {
          textDecorationColor: 'inherit'
        }
      }
    }, {
      props: ({
        underline,
        ownerState
      }) => underline === 'always' && ownerState.color !== 'inherit',
      style: {
        textDecorationColor: 'var(--Link-underlineColor)'
      }
    }, {
      props: ({
        underline,
        ownerState
      }) => underline === 'always' && ownerState.color === 'inherit',
      style: theme.colorSpace ? {
        textDecorationColor: theme.alpha('currentColor', 0.4)
      } : null
    }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_10__["default"])()).map(([color]) => ({
      props: {
        underline: 'always',
        color
      },
      style: {
        '--Link-underlineColor': theme.alpha((theme.vars || theme).palette[color].main, 0.4)
      }
    })), {
      props: {
        underline: 'always',
        color: 'textPrimary'
      },
      style: {
        '--Link-underlineColor': theme.alpha((theme.vars || theme).palette.text.primary, 0.4)
      }
    }, {
      props: {
        underline: 'always',
        color: 'textSecondary'
      },
      style: {
        '--Link-underlineColor': theme.alpha((theme.vars || theme).palette.text.secondary, 0.4)
      }
    }, {
      props: {
        underline: 'always',
        color: 'textDisabled'
      },
      style: {
        '--Link-underlineColor': (theme.vars || theme).palette.text.disabled
      }
    }, {
      props: {
        component: 'button'
      },
      style: {
        position: 'relative',
        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
        '&::-moz-focus-inner': {
          borderStyle: 'none' // Remove Firefox dotted outline.
        },
        [`&.${_linkClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].focusVisible}`]: {
          outline: 'auto'
        }
      }
    }]
  };
}));
const Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Link(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__.useDefaultProps)({
    props: inProps,
    name: 'MuiLink'
  });
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const {
    className,
    color = 'primary',
    component = 'a',
    onBlur,
    onFocus,
    TypographyClasses,
    underline = 'always',
    variant = 'inherit',
    sx,
    ...other
  } = props;
  const [focusVisible, setFocusVisible] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const handleBlur = event => {
    if (!(0,_mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_5__["default"])(event.target)) {
      setFocusVisible(false);
    }
    if (onBlur) {
      onBlur(event);
    }
  };
  const handleFocus = event => {
    if ((0,_mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_5__["default"])(event.target)) {
      setFocusVisible(true);
    }
    if (onFocus) {
      onFocus(event);
    }
  };
  const ownerState = {
    ...props,
    color,
    component,
    focusVisible,
    underline,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(LinkRoot, {
    color: color,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    classes: TypographyClasses,
    component: component,
    onBlur: handleBlur,
    onFocus: handleFocus,
    ref: ref,
    ownerState: ownerState,
    variant: variant,
    ...other,
    sx: [...(v6Colors[color] === undefined ? [{
      color
    }] : []), ...(Array.isArray(sx) ? sx : [sx])],
    style: {
      ...other.style,
      ...(underline === 'always' && color !== 'inherit' && !v6Colors[color] && {
        '--Link-underlineColor': (0,_getTextDecoration_js__WEBPACK_IMPORTED_MODULE_14__["default"])({
          theme,
          ownerState
        })
      })
    }
  });
});
 true ? Link.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the link.
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * @ignore
   */
  onBlur: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.
   */
  TypographyClasses: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Controls when the link should have an underline.
   * @default 'always'
   */
  underline: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['always', 'hover', 'none']),
  /**
   * Applies the theme typography styles.
   * @default 'inherit'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Link);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/getTextDecoration.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/getTextDecoration.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_system_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system/style */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js");
/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");


const getTextDecoration = ({
  theme,
  ownerState
}) => {
  const transformedColor = ownerState.color;
  if ('colorSpace' in theme && theme.colorSpace) {
    const color = (0,_mui_system_style__WEBPACK_IMPORTED_MODULE_0__.getPath)(theme, `palette.${transformedColor}.main`) || (0,_mui_system_style__WEBPACK_IMPORTED_MODULE_0__.getPath)(theme, `palette.${transformedColor}`) || ownerState.color;
    return theme.alpha(color, 0.4);
  }

  // check the `main` color first for a custom palette, then fallback to the color itself
  const color = (0,_mui_system_style__WEBPACK_IMPORTED_MODULE_0__.getPath)(theme, `palette.${transformedColor}.main`, false) || (0,_mui_system_style__WEBPACK_IMPORTED_MODULE_0__.getPath)(theme, `palette.${transformedColor}`, false) || ownerState.color;
  const channelColor = (0,_mui_system_style__WEBPACK_IMPORTED_MODULE_0__.getPath)(theme, `palette.${transformedColor}.mainChannel`) || (0,_mui_system_style__WEBPACK_IMPORTED_MODULE_0__.getPath)(theme, `palette.${transformedColor}Channel`);
  if ('vars' in theme && channelColor) {
    return `rgba(${channelColor} / 0.4)`;
  }
  return (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.alpha)(color, 0.4);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getTextDecoration);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/linkClasses.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Link/linkClasses.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getLinkUtilityClass: () => (/* binding */ getLinkUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getLinkUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiLink', slot);
}
const linkClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiLink', ['root', 'underlineNone', 'underlineHover', 'underlineAlways', 'button', 'focusVisible']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (linkClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _ListContext_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js");
/* harmony import */ var _listClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./listClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/listClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    classes,
    disablePadding,
    dense,
    subheader
  } = ownerState;
  const slots = {
    root: ['root', !disablePadding && 'padding', dense && 'dense', subheader && 'subheader']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _listClasses_js__WEBPACK_IMPORTED_MODULE_7__.getListUtilityClass, classes);
};
const ListRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('ul', {
  name: 'MuiList',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, !ownerState.disablePadding && styles.padding, ownerState.dense && styles.dense, ownerState.subheader && styles.subheader];
  }
})({
  listStyle: 'none',
  margin: 0,
  padding: 0,
  position: 'relative',
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.disablePadding,
    style: {
      paddingTop: 8,
      paddingBottom: 8
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.subheader,
    style: {
      paddingTop: 0
    }
  }]
});
const List = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function List(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiList'
  });
  const {
    children,
    className,
    component = 'ul',
    dense = false,
    disablePadding = false,
    subheader,
    ...other
  } = props;
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    dense
  }), [dense]);
  const ownerState = {
    ...props,
    component,
    dense,
    disablePadding
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ListContext_js__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, {
    value: context,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(ListRoot, {
      as: component,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ref: ref,
      ownerState: ownerState,
      ...other,
      children: [subheader, children]
    })
  });
});
 true ? List.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, compact vertical padding designed for keyboard and mouse input is used for
   * the list and list items.
   * The prop is available to descendant components as the `dense` context.
   * @default false
   */
  dense: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, vertical padding is removed from the list.
   * @default false
   */
  disablePadding: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The content of the subheader, normally `ListSubheader`.
   */
  subheader: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (List);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * @ignore - internal component.
 */
const ListContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
if (true) {
  ListContext.displayName = 'ListContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/listClasses.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/listClasses.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getListUtilityClass: () => (/* binding */ getListUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getListUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiList', slot);
}
const listClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiList', ['root', 'padding', 'dense', 'subheader']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/ListItem.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ListItemRoot: () => (/* binding */ ListItemRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   overridesResolver: () => (/* binding */ overridesResolver)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/elementTypeAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/isHostComponent */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/isMuiElement.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isMuiElement.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _List_ListContext_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../List/ListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js");
/* harmony import */ var _listItemClasses_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./listItemClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/listItemClasses.js");
/* harmony import */ var _ListItemButton_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../ListItemButton/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js");
/* harmony import */ var _ListItemSecondaryAction_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../ListItemSecondaryAction/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



















const overridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.hasSecondaryAction && styles.secondaryAction];
};
const useUtilityClasses = ownerState => {
  const {
    alignItems,
    classes,
    dense,
    disableGutters,
    disablePadding,
    divider,
    hasSecondaryAction
  } = ownerState;
  const slots = {
    root: ['root', dense && 'dense', !disableGutters && 'gutters', !disablePadding && 'padding', divider && 'divider', alignItems === 'flex-start' && 'alignItemsFlexStart', hasSecondaryAction && 'secondaryAction'],
    container: ['container'],
    secondaryAction: ['secondaryAction']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _listItemClasses_js__WEBPACK_IMPORTED_MODULE_14__.getListItemUtilityClass, classes);
};
const ListItemRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiListItem',
  slot: 'Root',
  overridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => ({
  display: 'flex',
  justifyContent: 'flex-start',
  alignItems: 'center',
  position: 'relative',
  textDecoration: 'none',
  width: '100%',
  boxSizing: 'border-box',
  textAlign: 'left',
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.disablePadding,
    style: {
      paddingTop: 8,
      paddingBottom: 8
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.disablePadding && ownerState.dense,
    style: {
      paddingTop: 4,
      paddingBottom: 4
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.disablePadding && !ownerState.disableGutters,
    style: {
      paddingLeft: 16,
      paddingRight: 16
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.disablePadding && !!ownerState.secondaryAction,
    style: {
      // Add some space to avoid collision as `ListItemSecondaryAction`
      // is absolutely positioned.
      paddingRight: 48
    }
  }, {
    props: ({
      ownerState
    }) => !!ownerState.secondaryAction,
    style: {
      [`& > .${_ListItemButton_index_js__WEBPACK_IMPORTED_MODULE_15__["default"].root}`]: {
        paddingRight: 48
      }
    }
  }, {
    props: {
      alignItems: 'flex-start'
    },
    style: {
      alignItems: 'flex-start'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.divider,
    style: {
      borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
      backgroundClip: 'padding-box'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.button,
    style: {
      transition: theme.transitions.create('background-color', {
        duration: theme.transitions.duration.shortest
      }),
      '&:hover': {
        textDecoration: 'none',
        backgroundColor: (theme.vars || theme).palette.action.hover,
        // Reset on touch devices, it doesn't add specificity
        '@media (hover: none)': {
          backgroundColor: 'transparent'
        }
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.hasSecondaryAction,
    style: {
      // Add some space to avoid collision as `ListItemSecondaryAction`
      // is absolutely positioned.
      paddingRight: 48
    }
  }]
})));
const ListItemContainer = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('li', {
  name: 'MuiListItem',
  slot: 'Container'
})({
  position: 'relative'
});

/**
 * Uses an additional container component if `ListItemSecondaryAction` is the last child.
 */
const ListItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ListItem(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__.useDefaultProps)({
    props: inProps,
    name: 'MuiListItem'
  });
  const {
    alignItems = 'center',
    children: childrenProp,
    className,
    component: componentProp,
    components = {},
    componentsProps = {},
    ContainerComponent = 'li',
    ContainerProps: {
      className: ContainerClassName,
      ...ContainerProps
    } = {},
    dense = false,
    disableGutters = false,
    disablePadding = false,
    divider = false,
    secondaryAction,
    slotProps = {},
    slots = {},
    ...other
  } = props;
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_13__["default"]);
  const childContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    dense: dense || context.dense || false,
    alignItems,
    disableGutters
  }), [alignItems, context.dense, dense, disableGutters]);
  const listItemRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const children = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(childrenProp);

  // v4 implementation, deprecated in v6, will be removed in a future major release
  const hasSecondaryAction = children.length && (0,_utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_10__["default"])(children[children.length - 1], ['ListItemSecondaryAction']);
  const ownerState = {
    ...props,
    alignItems,
    dense: childContext.dense,
    disableGutters,
    disablePadding,
    divider,
    hasSecondaryAction
  };
  const classes = useUtilityClasses(ownerState);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_11__["default"])(listItemRef, ref);
  const externalForwardedProps = {
    slots,
    slotProps
  };
  const [SecondaryActionSlot, secondaryActionSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_12__["default"])('secondaryAction', {
    elementType: _ListItemSecondaryAction_index_js__WEBPACK_IMPORTED_MODULE_16__["default"],
    externalForwardedProps,
    ownerState,
    className: classes.secondaryAction
  });
  const Root = slots.root || components.Root || ListItemRoot;
  const rootProps = slotProps.root || componentsProps.root || {};
  const componentProps = {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, rootProps.className, className),
    ...other
  };
  let Component = componentProp || 'li';

  // v4 implementation, deprecated in v6, will be removed in a future major release
  if (hasSecondaryAction) {
    // Use div by default.
    Component = !componentProps.component && !componentProp ? 'div' : Component;

    // Avoid nesting of li > li.
    if (ContainerComponent === 'li') {
      if (Component === 'li') {
        Component = 'div';
      } else if (componentProps.component === 'li') {
        componentProps.component = 'div';
      }
    }
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_13__["default"].Provider, {
      value: childContext,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsxs)(ListItemContainer, {
        as: ContainerComponent,
        className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.container, ContainerClassName),
        ref: handleRef,
        ownerState: ownerState,
        ...ContainerProps,
        children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(Root, {
          ...rootProps,
          ...(!(0,_mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_6__["default"])(Root) && {
            as: Component,
            ownerState: {
              ...ownerState,
              ...rootProps.ownerState
            }
          }),
          ...componentProps,
          children: children
        }), children.pop()]
      })
    });
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_13__["default"].Provider, {
    value: childContext,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsxs)(Root, {
      ...rootProps,
      as: Component,
      ref: handleRef,
      ...(!(0,_mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_6__["default"])(Root) && {
        ownerState: {
          ...ownerState,
          ...rootProps.ownerState
        }
      }),
      ...componentProps,
      children: [children, secondaryAction && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(SecondaryActionSlot, {
        ...secondaryActionSlotProps,
        children: secondaryAction
      })]
    })
  });
});
 true ? ListItem.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Defines the `align-items` style property.
   * @default 'center'
   */
  alignItems: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'flex-start']),
  /**
   * The content of the component if a `ListItemSecondaryAction` is used it must
   * be the last child.
   */
  children: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_5__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.node, props => {
    const children = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(props.children);

    // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)
    let secondaryActionIndex = -1;
    for (let i = children.length - 1; i >= 0; i -= 1) {
      const child = children[i];
      if ((0,_utils_isMuiElement_js__WEBPACK_IMPORTED_MODULE_10__["default"])(child, ['ListItemSecondaryAction'])) {
        secondaryActionIndex = i;
        break;
      }
    }

    //  is ListItemSecondaryAction the last child of ListItem
    if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {
      return new Error('MUI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');
    }
    return null;
  }),
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The components used for each slot inside.
   *
   * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * The container component used when a `ListItemSecondaryAction` is the last child.
   * @default 'li'
   * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  ContainerComponent: _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * Props applied to the container component if used.
   * @default {}
   * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  ContainerProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * If `true`, compact vertical padding designed for keyboard and mouse input is used.
   * The prop defaults to the value inherited from the parent List component.
   * @default false
   */
  dense: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the left and right padding is removed.
   * @default false
   */
  disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, all padding is removed.
   * @default false
   */
  disablePadding: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, a 1px light border is added to the bottom of the list item.
   * @default false
   */
  divider: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The element to display at the end of ListItem.
   */
  secondaryAction: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    secondaryAction: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   *
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    secondaryAction: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItem);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/listItemClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItem/listItemClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getListItemUtilityClass: () => (/* binding */ getListItemUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getListItemUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiListItem', slot);
}
const listItemClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiListItem', ['root', 'container', 'dense', 'alignItemsFlexStart', 'divider', 'gutters', 'padding', 'secondaryAction']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listItemClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   overridesResolver: () => (/* binding */ overridesResolver)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/useEnhancedEffect.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _List_ListContext_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../List/ListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js");
/* harmony import */ var _listItemButtonClasses_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./listItemButtonClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const overridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
};
const useUtilityClasses = ownerState => {
  const {
    alignItems,
    classes,
    dense,
    disabled,
    disableGutters,
    divider,
    selected
  } = ownerState;
  const slots = {
    root: ['root', dense && 'dense', !disableGutters && 'gutters', divider && 'divider', disabled && 'disabled', alignItems === 'flex-start' && 'alignItemsFlexStart', selected && 'selected']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _listItemButtonClasses_js__WEBPACK_IMPORTED_MODULE_12__.getListItemButtonUtilityClass, classes);
  return {
    ...classes,
    ...composedClasses
  };
};
const ListItemButtonRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_7__["default"])(prop) || prop === 'classes',
  name: 'MuiListItemButton',
  slot: 'Root',
  overridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  display: 'flex',
  flexGrow: 1,
  justifyContent: 'flex-start',
  alignItems: 'center',
  position: 'relative',
  textDecoration: 'none',
  minWidth: 0,
  boxSizing: 'border-box',
  textAlign: 'left',
  paddingTop: 8,
  paddingBottom: 8,
  transition: theme.transitions.create('background-color', {
    duration: theme.transitions.duration.shortest
  }),
  '&:hover': {
    textDecoration: 'none',
    backgroundColor: (theme.vars || theme).palette.action.hover,
    // Reset on touch devices, it doesn't add specificity
    '@media (hover: none)': {
      backgroundColor: 'transparent'
    }
  },
  [`&.${_listItemButtonClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].selected}`]: {
    backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
    [`&.${_listItemButtonClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].focusVisible}`]: {
      backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
    }
  },
  [`&.${_listItemButtonClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].selected}:hover`]: {
    backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
    // Reset on touch devices, it doesn't add specificity
    '@media (hover: none)': {
      backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity)
    }
  },
  [`&.${_listItemButtonClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].focusVisible}`]: {
    backgroundColor: (theme.vars || theme).palette.action.focus
  },
  [`&.${_listItemButtonClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].disabled}`]: {
    opacity: (theme.vars || theme).palette.action.disabledOpacity
  },
  variants: [{
    props: ({
      ownerState
    }) => ownerState.divider,
    style: {
      borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
      backgroundClip: 'padding-box'
    }
  }, {
    props: {
      alignItems: 'flex-start'
    },
    style: {
      alignItems: 'flex-start'
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.disableGutters,
    style: {
      paddingLeft: 16,
      paddingRight: 16
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.dense,
    style: {
      paddingTop: 4,
      paddingBottom: 4
    }
  }]
})));
const ListItemButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ListItemButton(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiListItemButton'
  });
  const {
    alignItems = 'center',
    autoFocus = false,
    component = 'div',
    children,
    dense = false,
    disableGutters = false,
    divider = false,
    focusVisibleClassName,
    selected = false,
    className,
    ...other
  } = props;
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_11__["default"]);
  const childContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    dense: dense || context.dense || false,
    alignItems,
    disableGutters
  }), [alignItems, context.dense, dense, disableGutters]);
  const listItemRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  (0,_utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_9__["default"])(() => {
    if (autoFocus) {
      if (listItemRef.current) {
        listItemRef.current.focus();
      } else if (true) {
        console.error('MUI: Unable to set focus to a ListItemButton whose component has not been rendered.');
      }
    }
  }, [autoFocus]);
  const ownerState = {
    ...props,
    alignItems,
    dense: childContext.dense,
    disableGutters,
    divider,
    selected
  };
  const classes = useUtilityClasses(ownerState);

  // Don't forward the 'root' class to the ButtonBase, as it will get duplicated with the one passed to the className prop.
  const {
    root,
    ...forwardedClasses
  } = classes;
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_10__["default"])(listItemRef, ref);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_11__["default"].Provider, {
    value: childContext,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(ListItemButtonRoot, {
      ref: handleRef,
      href: other.href || other.to
      // `ButtonBase` processes `href` or `to` if `component` is set to 'button'
      ,
      component: (other.href || other.to) && component === 'div' ? 'button' : component,
      focusVisibleClassName: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.focusVisible, focusVisibleClassName),
      ownerState: ownerState,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ...other,
      classes: forwardedClasses,
      children: children
    })
  });
});
 true ? ListItemButton.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Defines the `align-items` style property.
   * @default 'center'
   */
  alignItems: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'flex-start']),
  /**
   * If `true`, the list item is focused during the first mount.
   * Focus will also be triggered if the value changes from false to true.
   * @default false
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The content of the component if a `ListItemSecondaryAction` is used it must
   * be the last child.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, compact vertical padding designed for keyboard and mouse input is used.
   * The prop defaults to the value inherited from the parent List component.
   * @default false
   */
  dense: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the left and right padding is removed.
   * @default false
   */
  disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, a 1px light border is added to the bottom of the list item.
   * @default false
   */
  divider: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * This prop can help identify which element has keyboard focus.
   * The class name will be applied when the element gains the focus through keyboard interaction.
   * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
   * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
   * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
   * if needed.
   */
  focusVisibleClassName: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  href: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Use to apply selected styling.
   * @default false
   */
  selected: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItemButton);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemButton/listItemButtonClasses.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getListItemButtonUtilityClass: () => (/* binding */ getListItemButtonUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getListItemButtonUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiListItemButton', slot);
}
const listItemButtonClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiListItemButton', ['root', 'focusVisible', 'dense', 'alignItemsFlexStart', 'disabled', 'divider', 'gutters', 'selected']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listItemButtonClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _listItemIconClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./listItemIconClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js");
/* harmony import */ var _List_ListContext_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../List/ListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    alignItems,
    classes
  } = ownerState;
  const slots = {
    root: ['root', alignItems === 'flex-start' && 'alignItemsFlexStart']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _listItemIconClasses_js__WEBPACK_IMPORTED_MODULE_7__.getListItemIconUtilityClass, classes);
};
const ListItemIconRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiListItemIcon',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  minWidth: 56,
  color: (theme.vars || theme).palette.action.active,
  flexShrink: 0,
  display: 'inline-flex',
  variants: [{
    props: {
      alignItems: 'flex-start'
    },
    style: {
      marginTop: 8
    }
  }]
})));

/**
 * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
 */
const ListItemIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ListItemIcon(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiListItemIcon'
  });
  const {
    className,
    ...other
  } = props;
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
  const ownerState = {
    ...props,
    alignItems: context.alignItems
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ListItemIconRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other
  });
});
 true ? ListItemIcon.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally `Icon`, `SvgIcon`,
   * or a `@mui/icons-material` SVG icon element.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItemIcon);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getListItemIconUtilityClass: () => (/* binding */ getListItemIconUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getListItemIconUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiListItemIcon', slot);
}
const listItemIconClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiListItemIcon', ['root', 'alignItemsFlexStart']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listItemIconClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js"
/*!***************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js ***!
  \***************************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _List_ListContext_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../List/ListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js");
/* harmony import */ var _listItemSecondaryActionClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./listItemSecondaryActionClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemSecondaryAction/listItemSecondaryActionClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    disableGutters,
    classes
  } = ownerState;
  const slots = {
    root: ['root', disableGutters && 'disableGutters']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _listItemSecondaryActionClasses_js__WEBPACK_IMPORTED_MODULE_7__.getListItemSecondaryActionClassesUtilityClass, classes);
};
const ListItemSecondaryActionRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiListItemSecondaryAction',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.disableGutters && styles.disableGutters];
  }
})({
  position: 'absolute',
  right: 16,
  top: '50%',
  transform: 'translateY(-50%)',
  variants: [{
    props: ({
      ownerState
    }) => ownerState.disableGutters,
    style: {
      right: 0
    }
  }]
});

/**
 * Must be used as the last child of ListItem to function properly.
 *
 * @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
 */
const ListItemSecondaryAction = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ListItemSecondaryAction(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiListItemSecondaryAction'
  });
  const {
    className,
    ...other
  } = props;
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_6__["default"]);
  const ownerState = {
    ...props,
    disableGutters: context.disableGutters
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(ListItemSecondaryActionRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other
  });
});
 true ? ListItemSecondaryAction.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally an `IconButton` or selection control.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItemSecondaryAction);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemSecondaryAction/listItemSecondaryActionClasses.js"
/*!**********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemSecondaryAction/listItemSecondaryActionClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getListItemSecondaryActionClassesUtilityClass: () => (/* binding */ getListItemSecondaryActionClassesUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getListItemSecondaryActionClassesUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiListItemSecondaryAction', slot);
}
const listItemSecondaryActionClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiListItemSecondaryAction', ['root', 'disableGutters']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listItemSecondaryActionClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/ListItemText.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js");
/* harmony import */ var _Typography_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Typography/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/typographyClasses.js");
/* harmony import */ var _List_ListContext_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../List/ListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _listItemTextClasses_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./listItemTextClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';












const useUtilityClasses = ownerState => {
  const {
    classes,
    inset,
    primary,
    secondary,
    dense
  } = ownerState;
  const slots = {
    root: ['root', inset && 'inset', dense && 'dense', primary && secondary && 'multiline'],
    primary: ['primary'],
    secondary: ['secondary']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _listItemTextClasses_js__WEBPACK_IMPORTED_MODULE_9__.getListItemTextUtilityClass, classes);
};
const ListItemTextRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiListItemText',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_listItemTextClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].primary}`]: styles.primary
    }, {
      [`& .${_listItemTextClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].secondary}`]: styles.secondary
    }, styles.root, ownerState.inset && styles.inset, ownerState.primary && ownerState.secondary && styles.multiline, ownerState.dense && styles.dense];
  }
})({
  flex: '1 1 auto',
  minWidth: 0,
  marginTop: 4,
  marginBottom: 4,
  // Combine this and the below selector once https://github.com/emotion-js/emotion/issues/3366 is solved
  [`.${_Typography_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].root}:where(& .${_listItemTextClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].primary})`]: {
    display: 'block'
  },
  [`.${_Typography_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].root}:where(& .${_listItemTextClasses_js__WEBPACK_IMPORTED_MODULE_9__["default"].secondary})`]: {
    display: 'block'
  },
  variants: [{
    props: ({
      ownerState
    }) => ownerState.primary && ownerState.secondary,
    style: {
      marginTop: 6,
      marginBottom: 6
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.inset,
    style: {
      paddingLeft: 56
    }
  }]
});
const ListItemText = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ListItemText(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiListItemText'
  });
  const {
    children,
    className,
    disableTypography = false,
    inset = false,
    primary: primaryProp,
    primaryTypographyProps,
    secondary: secondaryProp,
    secondaryTypographyProps,
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const {
    dense
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_6__["default"]);
  let primary = primaryProp != null ? primaryProp : children;
  let secondary = secondaryProp;
  const ownerState = {
    ...props,
    disableTypography,
    inset,
    primary: !!primary,
    secondary: !!secondary,
    dense
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots,
    slotProps: {
      primary: primaryTypographyProps,
      secondary: secondaryTypographyProps,
      ...slotProps
    }
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__["default"])('root', {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    elementType: ListItemTextRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    ownerState,
    ref
  });
  const [PrimarySlot, primarySlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__["default"])('primary', {
    className: classes.primary,
    elementType: _Typography_index_js__WEBPACK_IMPORTED_MODULE_4__["default"],
    externalForwardedProps,
    ownerState
  });
  const [SecondarySlot, secondarySlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_10__["default"])('secondary', {
    className: classes.secondary,
    elementType: _Typography_index_js__WEBPACK_IMPORTED_MODULE_4__["default"],
    externalForwardedProps,
    ownerState
  });
  if (primary != null && primary.type !== _Typography_index_js__WEBPACK_IMPORTED_MODULE_4__["default"] && !disableTypography) {
    primary = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(PrimarySlot, {
      variant: dense ? 'body2' : 'body1',
      component: primarySlotProps?.variant ? undefined : 'span',
      ...primarySlotProps,
      children: primary
    });
  }
  if (secondary != null && secondary.type !== _Typography_index_js__WEBPACK_IMPORTED_MODULE_4__["default"] && !disableTypography) {
    secondary = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(SecondarySlot, {
      variant: "body2",
      color: "textSecondary",
      ...secondarySlotProps,
      children: secondary
    });
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(RootSlot, {
    ...rootSlotProps,
    children: [primary, secondary]
  });
});
 true ? ListItemText.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Alias for the `primary` prop.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the children won't be wrapped by a Typography component.
   * This can be useful to render an alternative Typography variant by wrapping
   * the `children` (or `primary`) text, and optional `secondary` text
   * with the Typography component.
   * @default false
   */
  disableTypography: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the children are indented.
   * This should be used if there is no left avatar or left icon.
   * @default false
   */
  inset: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The main content element.
   */
  primary: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * These props will be forwarded to the primary typography component
   * (as long as disableTypography is not `true`).
   * @deprecated Use `slotProps.primary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  primaryTypographyProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The secondary content element.
   */
  secondary: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * These props will be forwarded to the secondary typography component
   * (as long as disableTypography is not `true`).
   * @deprecated Use `slotProps.secondary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  secondaryTypographyProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    primary: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    secondary: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    primary: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    secondary: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListItemText);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getListItemTextUtilityClass: () => (/* binding */ getListItemTextUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getListItemTextUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiListItemText', slot);
}
const listItemTextClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiListItemText', ['root', 'multiline', 'dense', 'inset', 'primary', 'secondary']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listItemTextClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListSubheader/ListSubheader.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListSubheader/ListSubheader.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _listSubheaderClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./listSubheaderClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListSubheader/listSubheaderClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    color,
    disableGutters,
    inset,
    disableSticky
  } = ownerState;
  const slots = {
    root: ['root', color !== 'default' && `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`, !disableGutters && 'gutters', inset && 'inset', !disableSticky && 'sticky']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _listSubheaderClasses_js__WEBPACK_IMPORTED_MODULE_8__.getListSubheaderUtilityClass, classes);
};
const ListSubheaderRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('li', {
  name: 'MuiListSubheader',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.color !== 'default' && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(ownerState.color)}`], !ownerState.disableGutters && styles.gutters, ownerState.inset && styles.inset, !ownerState.disableSticky && styles.sticky];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  boxSizing: 'border-box',
  lineHeight: '48px',
  listStyle: 'none',
  color: (theme.vars || theme).palette.text.secondary,
  fontFamily: theme.typography.fontFamily,
  fontWeight: theme.typography.fontWeightMedium,
  fontSize: theme.typography.pxToRem(14),
  variants: [{
    props: {
      color: 'primary'
    },
    style: {
      color: (theme.vars || theme).palette.primary.main
    }
  }, {
    props: {
      color: 'inherit'
    },
    style: {
      color: 'inherit'
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.disableGutters,
    style: {
      paddingLeft: 16,
      paddingRight: 16
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.inset,
    style: {
      paddingLeft: 72
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.disableSticky,
    style: {
      position: 'sticky',
      top: 0,
      zIndex: 1,
      backgroundColor: (theme.vars || theme).palette.background.paper
    }
  }]
})));
const ListSubheader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ListSubheader(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiListSubheader'
  });
  const {
    className,
    color = 'default',
    component = 'li',
    disableGutters = false,
    disableSticky = false,
    inset = false,
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    component,
    disableGutters,
    disableSticky,
    inset
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ListSubheaderRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    ownerState: ownerState,
    ...other
  });
});
if (ListSubheader) {
  ListSubheader.muiSkipListHighlight = true;
}
 true ? ListSubheader.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component. It supports those theme colors that make sense for this component.
   * @default 'default'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['default', 'inherit', 'primary']),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the List Subheader will not have gutters.
   * @default false
   */
  disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the List Subheader will not stick to the top during scroll.
   * @default false
   */
  disableSticky: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the List Subheader is indented.
   * @default false
   */
  inset: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListSubheader);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListSubheader/listSubheaderClasses.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListSubheader/listSubheaderClasses.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getListSubheaderUtilityClass: () => (/* binding */ getListSubheaderUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getListSubheaderUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiListSubheader', slot);
}
const listSubheaderClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listSubheaderClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   MenuPaper: () => (/* binding */ MenuPaper),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/HTMLElementType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils/useSlotProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js");
/* harmony import */ var _MenuList_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../MenuList/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuList/MenuList.js");
/* harmony import */ var _Popover_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Popover/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popover/Popover.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _menuClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./menuClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/menuClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

















const RTL_ORIGIN = {
  vertical: 'top',
  horizontal: 'right'
};
const LTR_ORIGIN = {
  vertical: 'top',
  horizontal: 'left'
};
const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    paper: ['paper'],
    list: ['list']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _menuClasses_js__WEBPACK_IMPORTED_MODULE_13__.getMenuUtilityClass, classes);
};
const MenuRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__["default"])(_Popover_index_js__WEBPACK_IMPORTED_MODULE_9__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_10__["default"])(prop) || prop === 'classes',
  name: 'MuiMenu',
  slot: 'Root'
})({});
const MenuPaper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__["default"])(_Popover_index_js__WEBPACK_IMPORTED_MODULE_9__.PopoverPaper, {
  name: 'MuiMenu',
  slot: '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'
});
const MenuMenuList = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_11__["default"])(_MenuList_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiMenu',
  slot: 'List'
})({
  // We disable the focus ring for mouse, touch and keyboard users.
  outline: 0
});
const Menu = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Menu(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__.useDefaultProps)({
    props: inProps,
    name: 'MuiMenu'
  });
  const {
    autoFocus = true,
    children,
    className,
    disableAutoFocusItem = false,
    MenuListProps = {},
    onClose,
    open,
    PaperProps = {},
    PopoverClasses,
    transitionDuration = 'auto',
    TransitionProps: {
      onEntering,
      ...TransitionProps
    } = {},
    variant = 'selectedMenu',
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_6__.useRtl)();
  const ownerState = {
    ...props,
    autoFocus,
    disableAutoFocusItem,
    MenuListProps,
    onEntering,
    PaperProps,
    transitionDuration,
    TransitionProps,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
  const menuListActionsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleEntering = (element, isAppearing) => {
    if (menuListActionsRef.current) {
      menuListActionsRef.current.adjustStyleForScrollbar(element, {
        direction: isRtl ? 'rtl' : 'ltr'
      });
    }
    if (onEntering) {
      onEntering(element, isAppearing);
    }
  };
  const handleListKeyDown = event => {
    if (event.key === 'Tab') {
      event.preventDefault();
      if (onClose) {
        onClose(event, 'tabKeyDown');
      }
    }
  };

  /**
   * the index of the item should receive focus
   * in a `variant="selectedMenu"` it's the first `selected` item
   * otherwise it's the very first item.
   */
  let activeItemIndex = -1;
  // since we inject focus related props into children we have to do a lookahead
  // to check if there is a `selected` item. We're looking for the last `selected`
  // item and use the first valid item as a fallback
  react__WEBPACK_IMPORTED_MODULE_0__.Children.map(children, (child, index) => {
    if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child)) {
      return;
    }
    if (true) {
      if ((0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)) {
        console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
      }
    }
    if (!child.props.disabled) {
      if (variant === 'selectedMenu' && child.props.selected) {
        activeItemIndex = index;
      } else if (activeItemIndex === -1) {
        activeItemIndex = index;
      }
    }
  });
  const externalForwardedProps = {
    slots,
    slotProps: {
      list: MenuListProps,
      transition: TransitionProps,
      paper: PaperProps,
      ...slotProps
    }
  };
  const rootSlotProps = (0,_mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_7__["default"])({
    elementType: slots.root,
    externalSlotProps: slotProps.root,
    ownerState,
    className: [classes.root, className]
  });
  const [PaperSlot, paperSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('paper', {
    className: classes.paper,
    elementType: MenuPaper,
    externalForwardedProps,
    shouldForwardComponentProp: true,
    ownerState
  });
  const [ListSlot, listSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('list', {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.list, MenuListProps.className),
    elementType: MenuMenuList,
    shouldForwardComponentProp: true,
    externalForwardedProps,
    getSlotProps: handlers => ({
      ...handlers,
      onKeyDown: event => {
        handleListKeyDown(event);
        handlers.onKeyDown?.(event);
      }
    }),
    ownerState
  });
  const resolvedTransitionProps = typeof externalForwardedProps.slotProps.transition === 'function' ? externalForwardedProps.slotProps.transition(ownerState) : externalForwardedProps.slotProps.transition;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(MenuRoot, {
    onClose: onClose,
    anchorOrigin: {
      vertical: 'bottom',
      horizontal: isRtl ? 'right' : 'left'
    },
    transformOrigin: isRtl ? RTL_ORIGIN : LTR_ORIGIN,
    slots: {
      root: slots.root,
      paper: PaperSlot,
      backdrop: slots.backdrop,
      ...(slots.transition && {
        // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
        transition: slots.transition
      })
    },
    slotProps: {
      root: rootSlotProps,
      paper: paperSlotProps,
      backdrop: typeof slotProps.backdrop === 'function' ? slotProps.backdrop(ownerState) : slotProps.backdrop,
      transition: {
        ...resolvedTransitionProps,
        onEntering: (...args) => {
          handleEntering(...args);
          resolvedTransitionProps?.onEntering?.(...args);
        }
      }
    },
    open: open,
    ref: ref,
    transitionDuration: transitionDuration,
    ownerState: ownerState,
    ...other,
    classes: PopoverClasses,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(ListSlot, {
      actions: menuListActionsRef,
      autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
      autoFocusItem: autoFocusItem,
      variant: variant,
      ...listSlotProps,
      children: children
    })
  });
});
 true ? Menu.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * An HTML element, or a function that returns one.
   * It's used to set the position of the menu.
   */
  anchorEl: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_5__["default"], prop_types__WEBPACK_IMPORTED_MODULE_2__.func]),
  /**
   * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
   * children are not focusable. If you set this prop to `false` focus will be placed
   * on the parent modal container. This has severe accessibility implications
   * and should only be considered if you manage focus otherwise.
   * @default true
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Menu contents, normally `MenuItem`s.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * When opening the menu will not focus the active item but the `[role="menu"]`
   * unless `autoFocus` is also set to `false`. Not using the default means not
   * following WAI-ARIA authoring practices. Please be considerate about possible
   * accessibility implications.
   * @default false
   */
  disableAutoFocusItem: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
   * @deprecated use the `slotProps.list` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  MenuListProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * Callback fired when the component requests to be closed.
   *
   * @param {object} event The event source of the callback.
   * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool.isRequired,
  /**
   * @ignore
   */
  PaperProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * `classes` prop applied to the [`Popover`](https://mui.com/material-ui/api/popover/) element.
   */
  PopoverClasses: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    list: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    paper: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    list: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    paper: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
  /**
   * The length of the transition in `ms`, or 'auto'
   * @default 'auto'
   */
  transitionDuration: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['auto']), prop_types__WEBPACK_IMPORTED_MODULE_2__.number, prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_2__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_2__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_2__.number
  })]),
  /**
   * Props applied to the transition element.
   * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
   * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  TransitionProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * The variant to use. Use `menu` to prevent selected items from impacting the initial focus.
   * @default 'selectedMenu'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['menu', 'selectedMenu'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Menu);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/menuClasses.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/menuClasses.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getMenuUtilityClass: () => (/* binding */ getMenuUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getMenuUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiMenu', slot);
}
const menuClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiMenu', ['root', 'paper', 'list']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (menuClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   overridesResolver: () => (/* binding */ overridesResolver)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _List_ListContext_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../List/ListContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/ListContext.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/useEnhancedEffect.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _Divider_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../Divider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Divider/dividerClasses.js");
/* harmony import */ var _ListItemIcon_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ListItemIcon/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js");
/* harmony import */ var _ListItemText_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../ListItemText/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ListItemText/listItemTextClasses.js");
/* harmony import */ var _menuItemClasses_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./menuItemClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js");
/* harmony import */ var _Select_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../Select/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/SelectFocusSourceContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



















/**
 * If autoFocus is an object, it will attempt to call `element.focus()` with the options argument.
 * If the browser doesn't support the options argument, it will fall back to a simple `element.focus()` call.
 */

function focusWithVisible(element, focusSource) {
  if (focusSource == null) {
    element.focus();
    return;
  }
  try {
    element.focus({
      focusVisible: focusSource === 'keyboard'
    });
  } catch (error) {
    // If the browser doesn't support the focus options argument, fall back to a simple focus call.
    element.focus();
  }
}
const overridesResolver = (props, styles) => {
  const {
    ownerState
  } = props;
  return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
};
const useUtilityClasses = ownerState => {
  const {
    disabled,
    dense,
    divider,
    disableGutters,
    selected,
    classes
  } = ownerState;
  const slots = {
    root: ['root', dense && 'dense', disabled && 'disabled', !disableGutters && 'gutters', divider && 'divider', selected && 'selected']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _menuItemClasses_js__WEBPACK_IMPORTED_MODULE_15__.getMenuItemUtilityClass, classes);
  return {
    ...classes,
    ...composedClasses
  };
};
const MenuItemRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_9__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_4__["default"])(prop) || prop === 'classes',
  name: 'MuiMenuItem',
  slot: 'Root',
  overridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__["default"])(({
  theme
}) => ({
  ...theme.typography.body1,
  display: 'flex',
  justifyContent: 'flex-start',
  alignItems: 'center',
  position: 'relative',
  textDecoration: 'none',
  minHeight: 48,
  paddingTop: 6,
  paddingBottom: 6,
  boxSizing: 'border-box',
  whiteSpace: 'nowrap',
  '&:hover': {
    textDecoration: 'none',
    backgroundColor: (theme.vars || theme).palette.action.hover,
    // Reset on touch devices, it doesn't add specificity
    '@media (hover: none)': {
      backgroundColor: 'transparent'
    }
  },
  [`&.${_menuItemClasses_js__WEBPACK_IMPORTED_MODULE_15__["default"].selected}`]: {
    backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
    [`&.${_menuItemClasses_js__WEBPACK_IMPORTED_MODULE_15__["default"].focusVisible}`]: {
      backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.focusOpacity}`)
    }
  },
  [`&.${_menuItemClasses_js__WEBPACK_IMPORTED_MODULE_15__["default"].selected}:hover`]: {
    backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
    // Reset on touch devices, it doesn't add specificity
    '@media (hover: none)': {
      backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity)
    }
  },
  [`&.${_menuItemClasses_js__WEBPACK_IMPORTED_MODULE_15__["default"].focusVisible}`]: {
    backgroundColor: (theme.vars || theme).palette.action.focus
  },
  [`&.${_menuItemClasses_js__WEBPACK_IMPORTED_MODULE_15__["default"].disabled}`]: {
    opacity: (theme.vars || theme).palette.action.disabledOpacity
  },
  [`& + .${_Divider_index_js__WEBPACK_IMPORTED_MODULE_12__["default"].root}`]: {
    marginTop: theme.spacing(1),
    marginBottom: theme.spacing(1)
  },
  [`& + .${_Divider_index_js__WEBPACK_IMPORTED_MODULE_12__["default"].inset}`]: {
    marginLeft: 52
  },
  [`& .${_ListItemText_index_js__WEBPACK_IMPORTED_MODULE_14__["default"].root}`]: {
    marginTop: 0,
    marginBottom: 0
  },
  [`& .${_ListItemText_index_js__WEBPACK_IMPORTED_MODULE_14__["default"].inset}`]: {
    paddingLeft: 36
  },
  [`& .${_ListItemIcon_index_js__WEBPACK_IMPORTED_MODULE_13__["default"].root}`]: {
    minWidth: 36
  },
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.disableGutters,
    style: {
      paddingLeft: 16,
      paddingRight: 16
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.divider,
    style: {
      borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
      backgroundClip: 'padding-box'
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.dense,
    style: {
      [theme.breakpoints.up('sm')]: {
        minHeight: 'auto'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.dense,
    style: {
      minHeight: 32,
      // https://m2.material.io/components/menus#specs > Dense
      paddingTop: 4,
      paddingBottom: 4,
      ...theme.typography.body2,
      [`& .${_ListItemIcon_index_js__WEBPACK_IMPORTED_MODULE_13__["default"].root} svg`]: {
        fontSize: '1.25rem'
      }
    }
  }]
})));
const MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function MenuItem(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiMenuItem'
  });
  const {
    autoFocus = false,
    component = 'li',
    dense = false,
    divider = false,
    disableGutters = false,
    focusVisibleClassName,
    role = 'menuitem',
    tabIndex: tabIndexProp,
    className,
    ...other
  } = props;
  const focusSource = (0,_Select_index_js__WEBPACK_IMPORTED_MODULE_16__.useSelectFocusSource)();
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
  const childContext = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    dense: dense || context.dense || false,
    disableGutters
  }), [context.dense, dense, disableGutters]);
  const menuItemRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  (0,_utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_10__["default"])(() => {
    if (autoFocus) {
      if (menuItemRef.current) {
        focusWithVisible(menuItemRef.current, focusSource);
      } else if (true) {
        console.error('MUI: Unable to set focus to a MenuItem whose component has not been rendered.');
      }
    }
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [autoFocus]);
  const ownerState = {
    ...props,
    dense: childContext.dense,
    divider,
    disableGutters
  };
  const classes = useUtilityClasses(props);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_11__["default"])(menuItemRef, ref);
  // Don't forward the 'root' class to the ButtonBase, as it will get duplicated with the one passed to the className prop.
  const {
    root,
    ...forwardedClasses
  } = classes;
  let tabIndex;
  if (!props.disabled) {
    tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_List_ListContext_js__WEBPACK_IMPORTED_MODULE_8__["default"].Provider, {
    value: childContext,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(MenuItemRoot, {
      ref: handleRef,
      role: role,
      tabIndex: tabIndex,
      component: component,
      focusVisibleClassName: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.focusVisible, focusVisibleClassName),
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ...other,
      ownerState: ownerState,
      classes: forwardedClasses
    })
  });
});
 true ? MenuItem.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the list item is focused during the first mount.
   * Focus will also be triggered if the value changes from false to true.
   * @default false
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, compact vertical padding designed for keyboard and mouse input is used.
   * The prop defaults to the value inherited from the parent Menu component.
   * @default false
   */
  dense: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the left and right padding is removed.
   * @default false
   */
  disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, a 1px light border is added to the bottom of the menu item.
   * @default false
   */
  divider: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * This prop can help identify which element has keyboard focus.
   * The class name will be applied when the element gains the focus through keyboard interaction.
   * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
   * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
   * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
   * if needed.
   */
  focusVisibleClassName: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  role: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the component is selected.
   * @default false
   */
  selected: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * @default 0
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MenuItem);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/menuItemClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getMenuItemUtilityClass: () => (/* binding */ getMenuItemUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getMenuItemUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiMenuItem', slot);
}
const menuItemClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (menuItemClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuList/MenuList.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuList/MenuList.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/ownerDocument.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _List_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../List/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/List/List.js");
/* harmony import */ var _utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/getActiveElement.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getActiveElement.js");
/* harmony import */ var _utils_getScrollbarSize_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/getScrollbarSize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getScrollbarSize.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/useEnhancedEffect.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';












function nextItem(list, item, disableListWrap) {
  if (list === item) {
    return list.firstChild;
  }
  if (item && item.nextElementSibling) {
    return item.nextElementSibling;
  }
  return disableListWrap ? null : list.firstChild;
}
function previousItem(list, item, disableListWrap) {
  if (list === item) {
    return disableListWrap ? list.firstChild : list.lastChild;
  }
  if (item && item.previousElementSibling) {
    return item.previousElementSibling;
  }
  return disableListWrap ? null : list.lastChild;
}
function textCriteriaMatches(nextFocus, textCriteria) {
  if (textCriteria === undefined) {
    return true;
  }
  let text = nextFocus.innerText;
  if (text === undefined) {
    // jsdom doesn't support innerText
    text = nextFocus.textContent;
  }
  text = text.trim().toLowerCase();
  if (text.length === 0) {
    return false;
  }
  if (textCriteria.repeating) {
    return text[0] === textCriteria.keys[0];
  }
  return text.startsWith(textCriteria.keys.join(''));
}
function moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, traversalFunction, textCriteria) {
  let wrappedOnce = false;
  let nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);
  while (nextFocus) {
    // Prevent infinite loop.
    if (nextFocus === list.firstChild) {
      if (wrappedOnce) {
        return false;
      }
      wrappedOnce = true;
    }

    // Same logic as useAutocomplete.js
    const nextFocusDisabled = disabledItemsFocusable ? false : nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';
    if (!nextFocus.hasAttribute('tabindex') || !textCriteriaMatches(nextFocus, textCriteria) || nextFocusDisabled) {
      // Move to the next element.
      nextFocus = traversalFunction(list, nextFocus, disableListWrap);
    } else {
      nextFocus.focus();
      return true;
    }
  }
  return false;
}

/**
 * A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.
 * It's exposed to help customization of the [`Menu`](/material-ui/api/menu/) component if you
 * use it separately you need to move focus into the component manually. Once
 * the focus is placed inside the component it is fully keyboard accessible.
 */
const MenuList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function MenuList(props, ref) {
  const {
    // private
    // eslint-disable-next-line react/prop-types
    actions,
    autoFocus = false,
    autoFocusItem = false,
    children,
    className,
    disabledItemsFocusable = false,
    disableListWrap = false,
    onKeyDown,
    variant = 'selectedMenu',
    ...other
  } = props;
  const listRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const textCriteriaRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef({
    keys: [],
    repeating: true,
    previousKeyMatched: true,
    lastTime: null
  });
  (0,_utils_useEnhancedEffect_js__WEBPACK_IMPORTED_MODULE_8__["default"])(() => {
    if (autoFocus) {
      listRef.current.focus();
    }
  }, [autoFocus]);
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(actions, () => ({
    adjustStyleForScrollbar: (containerElement, {
      direction
    }) => {
      // Let's ignore that piece of logic if users are already overriding the width
      // of the menu.
      const noExplicitWidth = !listRef.current.style.width;
      if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {
        const scrollbarSize = `${(0,_utils_getScrollbarSize_js__WEBPACK_IMPORTED_MODULE_6__["default"])((0,_utils_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])(containerElement))}px`;
        listRef.current.style[direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;
        listRef.current.style.width = `calc(100% + ${scrollbarSize})`;
      }
      return listRef.current;
    }
  }), []);
  const handleKeyDown = event => {
    const list = listRef.current;
    const key = event.key;
    const isModifierKeyPressed = event.ctrlKey || event.metaKey || event.altKey;
    if (isModifierKeyPressed) {
      if (onKeyDown) {
        onKeyDown(event);
      }
      return;
    }

    /**
     * @type {Element} - will always be defined since we are in a keydown handler
     * attached to an element. A keydown event is either dispatched to the activeElement
     * or document.body or document.documentElement. Only the first case will
     * trigger this specific handler.
     */
    const currentFocus = (0,_utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_3__["default"])(list));
    if (key === 'ArrowDown') {
      // Prevent scroll of the page
      event.preventDefault();
      moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, nextItem);
    } else if (key === 'ArrowUp') {
      event.preventDefault();
      moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, previousItem);
    } else if (key === 'Home') {
      event.preventDefault();
      moveFocus(list, null, disableListWrap, disabledItemsFocusable, nextItem);
    } else if (key === 'End') {
      event.preventDefault();
      moveFocus(list, null, disableListWrap, disabledItemsFocusable, previousItem);
    } else if (key.length === 1) {
      const criteria = textCriteriaRef.current;
      const lowerKey = key.toLowerCase();
      const currTime = performance.now();
      if (criteria.keys.length > 0) {
        // Reset
        if (currTime - criteria.lastTime > 500) {
          criteria.keys = [];
          criteria.repeating = true;
          criteria.previousKeyMatched = true;
        } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {
          criteria.repeating = false;
        }
      }
      criteria.lastTime = currTime;
      criteria.keys.push(lowerKey);
      const keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);
      if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, disabledItemsFocusable, nextItem, criteria))) {
        event.preventDefault();
      } else {
        criteria.previousKeyMatched = false;
      }
    }
    if (onKeyDown) {
      onKeyDown(event);
    }
  };
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_7__["default"])(listRef, ref);

  /**
   * the index of the item should receive focus
   * in a `variant="selectedMenu"` it's the first `selected` item
   * otherwise it's the very first item.
   */
  let activeItemIndex = -1;
  // since we inject focus related props into children we have to do a lookahead
  // to check if there is a `selected` item. We're looking for the last `selected`
  // item and use the first valid item as a fallback
  react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(children, (child, index) => {
    if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child)) {
      if (activeItemIndex === index) {
        activeItemIndex += 1;
        if (activeItemIndex >= children.length) {
          // there are no focusable items within the list.
          activeItemIndex = -1;
        }
      }
      return;
    }
    if (true) {
      if ((0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)) {
        console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
      }
    }
    if (!child.props.disabled) {
      if (variant === 'selectedMenu' && child.props.selected) {
        activeItemIndex = index;
      } else if (activeItemIndex === -1) {
        activeItemIndex = index;
      }
    }
    if (activeItemIndex === index && (child.props.disabled || child.props.muiSkipListHighlight || child.type.muiSkipListHighlight)) {
      activeItemIndex += 1;
      if (activeItemIndex >= children.length) {
        // there are no focusable items within the list.
        activeItemIndex = -1;
      }
    }
  });
  const items = react__WEBPACK_IMPORTED_MODULE_0__.Children.map(children, (child, index) => {
    if (index === activeItemIndex) {
      const newChildProps = {};
      if (autoFocusItem) {
        newChildProps.autoFocus = true;
      }
      if (child.props.tabIndex === undefined && variant === 'selectedMenu') {
        newChildProps.tabIndex = 0;
      }
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(child, newChildProps);
    }
    return child;
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_List_index_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
    role: "menu",
    ref: handleRef,
    className: className,
    onKeyDown: handleKeyDown,
    tabIndex: autoFocus ? 0 : -1,
    ...other,
    children: items
  });
});
 true ? MenuList.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, will focus the `[role="menu"]` container and move into tab order.
   * @default false
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, will focus the first menuitem if `variant="menu"` or selected item
   * if `variant="selectedMenu"`.
   * @default false
   */
  autoFocusItem: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * MenuList contents, normally `MenuItem`s.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * If `true`, will allow focus on disabled items.
   * @default false
   */
  disabledItemsFocusable: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, the menu items will not wrap focus.
   * @default false
   */
  disableListWrap: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * @ignore
   */
  onKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * The variant to use. Use `menu` to prevent selected items from impacting the initial focus
   * and the vertical alignment relative to the anchor element.
   * @default 'selectedMenu'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['menu', 'selectedMenu'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MenuList);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/Modal.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/Modal.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/HTMLElementType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/elementAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Unstable_TrapFocus_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Unstable_TrapFocus/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js");
/* harmony import */ var _Portal_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../Portal/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Portal/Portal.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Backdrop_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Backdrop/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Backdrop/Backdrop.js");
/* harmony import */ var _useModal_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./useModal.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/useModal.js");
/* harmony import */ var _modalClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./modalClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/modalClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

















const useUtilityClasses = ownerState => {
  const {
    open,
    exited,
    classes
  } = ownerState;
  const slots = {
    root: ['root', !open && exited && 'hidden'],
    backdrop: ['backdrop']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _modalClasses_js__WEBPACK_IMPORTED_MODULE_13__.getModalUtilityClass, classes);
};
const ModalRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiModal',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, !ownerState.open && ownerState.exited && styles.hidden];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  position: 'fixed',
  zIndex: (theme.vars || theme).zIndex.modal,
  right: 0,
  bottom: 0,
  top: 0,
  left: 0,
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.open && ownerState.exited,
    style: {
      visibility: 'hidden'
    }
  }]
})));
const ModalBackdrop = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_Backdrop_index_js__WEBPACK_IMPORTED_MODULE_11__["default"], {
  name: 'MuiModal',
  slot: 'Backdrop'
})({
  zIndex: -1
});

/**
 * Modal is a lower-level construct that is leveraged by the following components:
 *
 * - [Dialog](/material-ui/api/dialog/)
 * - [Drawer](/material-ui/api/drawer/)
 * - [Menu](/material-ui/api/menu/)
 * - [Popover](/material-ui/api/popover/)
 *
 * If you are creating a modal dialog, you probably want to use the [Dialog](/material-ui/api/dialog/) component
 * rather than directly using Modal.
 *
 * This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
 */
const Modal = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Modal(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    name: 'MuiModal',
    props: inProps
  });
  const {
    BackdropComponent = ModalBackdrop,
    BackdropProps,
    classes: classesProp,
    className,
    closeAfterTransition = false,
    children,
    container,
    component,
    components = {},
    componentsProps = {},
    disableAutoFocus = false,
    disableEnforceFocus = false,
    disableEscapeKeyDown = false,
    disablePortal = false,
    disableRestoreFocus = false,
    disableScrollLock = false,
    hideBackdrop = false,
    keepMounted = false,
    onClose,
    onTransitionEnter,
    onTransitionExited,
    open,
    slotProps = {},
    slots = {},
    // eslint-disable-next-line react/prop-types
    theme,
    ...other
  } = props;
  const propsWithDefaults = {
    ...props,
    closeAfterTransition,
    disableAutoFocus,
    disableEnforceFocus,
    disableEscapeKeyDown,
    disablePortal,
    disableRestoreFocus,
    disableScrollLock,
    hideBackdrop,
    keepMounted
  };
  const {
    getRootProps,
    getBackdropProps,
    getTransitionProps,
    portalRef,
    isTopModal,
    exited,
    hasTransition
  } = (0,_useModal_js__WEBPACK_IMPORTED_MODULE_12__["default"])({
    ...propsWithDefaults,
    rootRef: ref
  });
  const ownerState = {
    ...propsWithDefaults,
    exited
  };
  const classes = useUtilityClasses(ownerState);
  const childProps = {};
  if (children.props.tabIndex === undefined) {
    childProps.tabIndex = '-1';
  }

  // It's a Transition like component
  if (hasTransition) {
    const {
      onEnter,
      onExited
    } = getTransitionProps();
    childProps.onEnter = onEnter;
    childProps.onExited = onExited;
  }
  const externalForwardedProps = {
    slots: {
      root: components.Root,
      backdrop: components.Backdrop,
      ...slots
    },
    slotProps: {
      ...componentsProps,
      ...slotProps
    }
  };
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('root', {
    ref,
    elementType: ModalRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other,
      component
    },
    getSlotProps: getRootProps,
    ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className, classes?.root, !ownerState.open && ownerState.exited && classes?.hidden)
  });
  const [BackdropSlot, backdropProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('backdrop', {
    ref: BackdropProps?.ref,
    elementType: BackdropComponent,
    externalForwardedProps,
    shouldForwardComponentProp: true,
    additionalProps: BackdropProps,
    getSlotProps: otherHandlers => {
      return getBackdropProps({
        ...otherHandlers,
        onClick: event => {
          if (otherHandlers?.onClick) {
            otherHandlers.onClick(event);
          }
        }
      });
    },
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(BackdropProps?.className, classes?.backdrop),
    ownerState
  });
  if (!keepMounted && !open && (!hasTransition || exited)) {
    return null;
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_Portal_index_js__WEBPACK_IMPORTED_MODULE_7__["default"], {
    ref: portalRef,
    container: container,
    disablePortal: disablePortal,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(RootSlot, {
      ...rootProps,
      children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(BackdropSlot, {
        ...backdropProps
      }) : null, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_Unstable_TrapFocus_index_js__WEBPACK_IMPORTED_MODULE_6__["default"], {
        disableEnforceFocus: disableEnforceFocus,
        disableAutoFocus: disableAutoFocus,
        disableRestoreFocus: disableRestoreFocus,
        isEnabled: isTopModal,
        open: open,
        children: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, childProps)
      })]
    })
  });
});
 true ? Modal.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * A backdrop component. This prop enables custom backdrop rendering.
   * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
   * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
   * @default styled(Backdrop, {
   *   name: 'MuiModal',
   *   slot: 'Backdrop',
   * })({
   *   zIndex: -1,
   * })
   */
  BackdropComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.
   * @deprecated Use `slotProps.backdrop` instead.
   */
  BackdropProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * A single child content element.
   */
  children: _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_4__["default"].isRequired,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * When set to true the Modal waits until a nested Transition is completed before closing.
   * @default false
   */
  closeAfterTransition: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The components used for each slot inside.
   *
   * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * An HTML element or function that returns one.
   * The `container` will have the portal children appended to it.
   *
   * You can also provide a callback, which is called in a React layout effect.
   * This lets you set the container from a ref, and also makes server-side rendering possible.
   *
   * By default, it uses the body of the top-level document object,
   * so it's simply `document.body` most of the time.
   */
  container: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_3__["default"], prop_types__WEBPACK_IMPORTED_MODULE_1__.func]),
  /**
   * If `true`, the modal will not automatically shift focus to itself when it opens, and
   * replace it to the last focused element when it closes.
   * This also works correctly with any modal children that have the `disableAutoFocus` prop.
   *
   * Generally this should never be set to `true` as it makes the modal less
   * accessible to assistive technologies, like screen readers.
   * @default false
   */
  disableAutoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the modal will not prevent focus from leaving the modal while open.
   *
   * Generally this should never be set to `true` as it makes the modal less
   * accessible to assistive technologies, like screen readers.
   * @default false
   */
  disableEnforceFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, hitting escape will not fire the `onClose` callback.
   * @default false
   */
  disableEscapeKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The `children` will be under the DOM hierarchy of the parent component.
   * @default false
   */
  disablePortal: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the modal will not restore focus to previously focused element once
   * modal is hidden or unmounted.
   * @default false
   */
  disableRestoreFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Disable the scroll lock behavior.
   * @default false
   */
  disableScrollLock: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the backdrop is not rendered.
   * @default false
   */
  hideBackdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Always keep the children in the DOM.
   * This prop can be useful in SEO situation or
   * when you want to maximize the responsiveness of the Modal.
   * @default false
   */
  keepMounted: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Callback fired when the component requests to be closed.
   * The `reason` parameter can optionally be used to control the response to `onClose`.
   *
   * @param {object} event The event source of the callback.
   * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * A function called when a transition enters.
   */
  onTransitionEnter: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * A function called when a transition has exited.
   */
  onTransitionExited: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool.isRequired,
  /**
   * The props used for each slot inside the Modal.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside the Modal.
   * Either a string to use a HTML element or a component.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Modal);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/ModalManager.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/ModalManager.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ModalManager: () => (/* binding */ ModalManager),
/* harmony export */   ariaHidden: () => (/* binding */ ariaHidden)
/* harmony export */ });
/* harmony import */ var _mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/ownerWindow */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js");
/* harmony import */ var _mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/ownerDocument */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js");
/* harmony import */ var _mui_utils_getScrollbarSize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/getScrollbarSize */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js");



// Is a vertical scrollbar displayed?
function isOverflowing(container) {
  const doc = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__["default"])(container);
  if (doc.body === container) {
    return (0,_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__["default"])(container).innerWidth > doc.documentElement.clientWidth;
  }
  return container.scrollHeight > container.clientHeight;
}
function ariaHidden(element, hide) {
  if (hide) {
    element.setAttribute('aria-hidden', 'true');
  } else {
    element.removeAttribute('aria-hidden');
  }
}
function getPaddingRight(element) {
  return parseFloat((0,_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__["default"])(element).getComputedStyle(element).paddingRight) || 0;
}
function isAriaHiddenForbiddenOnElement(element) {
  // The forbidden HTML tags are the ones from ARIA specification that
  // can be children of body and can't have aria-hidden attribute.
  // cf. https://www.w3.org/TR/html-aria/#docconformance
  const forbiddenTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE', 'LINK', 'MAP', 'META', 'NOSCRIPT', 'PICTURE', 'COL', 'COLGROUP', 'PARAM', 'SLOT', 'SOURCE', 'TRACK'];
  const isForbiddenTagName = forbiddenTagNames.includes(element.tagName);
  const isInputHidden = element.tagName === 'INPUT' && element.getAttribute('type') === 'hidden';
  return isForbiddenTagName || isInputHidden;
}
function ariaHiddenSiblings(container, mountElement, currentElement, elementsToExclude, hide) {
  const blacklist = [mountElement, currentElement, ...elementsToExclude];
  [].forEach.call(container.children, element => {
    const isNotExcludedElement = !blacklist.includes(element);
    const isNotForbiddenElement = !isAriaHiddenForbiddenOnElement(element);
    if (isNotExcludedElement && isNotForbiddenElement) {
      ariaHidden(element, hide);
    }
  });
}
function findIndexOf(items, callback) {
  let idx = -1;
  items.some((item, index) => {
    if (callback(item)) {
      idx = index;
      return true;
    }
    return false;
  });
  return idx;
}
function handleContainer(containerInfo, props) {
  const restoreStyle = [];
  const container = containerInfo.container;
  if (!props.disableScrollLock) {
    if (isOverflowing(container)) {
      // Compute the size before applying overflow hidden to avoid any scroll jumps.
      const scrollbarSize = (0,_mui_utils_getScrollbarSize__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__["default"])(container));
      restoreStyle.push({
        value: container.style.paddingRight,
        property: 'padding-right',
        el: container
      });
      // Use computed style, here to get the real padding to add our scrollbar width.
      container.style.paddingRight = `${getPaddingRight(container) + scrollbarSize}px`;

      // .mui-fixed is a global helper.
      const fixedElements = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__["default"])(container).querySelectorAll('.mui-fixed');
      [].forEach.call(fixedElements, element => {
        restoreStyle.push({
          value: element.style.paddingRight,
          property: 'padding-right',
          el: element
        });
        element.style.paddingRight = `${getPaddingRight(element) + scrollbarSize}px`;
      });
    }
    let scrollContainer;
    if (container.parentNode instanceof DocumentFragment) {
      scrollContainer = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__["default"])(container).body;
    } else {
      // Support html overflow-y: auto for scroll stability between pages
      // https://css-tricks.com/snippets/css/force-vertical-scrollbar/
      const parent = container.parentElement;
      const containerWindow = (0,_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__["default"])(container);
      scrollContainer = parent?.nodeName === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container;
    }

    // Block the scroll even if no scrollbar is visible to account for mobile keyboard
    // screensize shrink.
    restoreStyle.push({
      value: scrollContainer.style.overflow,
      property: 'overflow',
      el: scrollContainer
    }, {
      value: scrollContainer.style.overflowX,
      property: 'overflow-x',
      el: scrollContainer
    }, {
      value: scrollContainer.style.overflowY,
      property: 'overflow-y',
      el: scrollContainer
    });
    scrollContainer.style.overflow = 'hidden';
  }
  const restore = () => {
    restoreStyle.forEach(({
      value,
      el,
      property
    }) => {
      if (value) {
        el.style.setProperty(property, value);
      } else {
        el.style.removeProperty(property);
      }
    });
  };
  return restore;
}
function getHiddenSiblings(container) {
  const hiddenSiblings = [];
  [].forEach.call(container.children, element => {
    if (element.getAttribute('aria-hidden') === 'true') {
      hiddenSiblings.push(element);
    }
  });
  return hiddenSiblings;
}
/**
 * @ignore - do not document.
 *
 * Proper state management for containers and the modals in those containers.
 * Simplified, but inspired by react-overlay's ModalManager class.
 * Used by the Modal to ensure proper styling of containers.
 */
class ModalManager {
  constructor() {
    this.modals = [];
    this.containers = [];
  }
  add(modal, container) {
    let modalIndex = this.modals.indexOf(modal);
    if (modalIndex !== -1) {
      return modalIndex;
    }
    modalIndex = this.modals.length;
    this.modals.push(modal);

    // If the modal we are adding is already in the DOM.
    if (modal.modalRef) {
      ariaHidden(modal.modalRef, false);
    }
    const hiddenSiblings = getHiddenSiblings(container);
    ariaHiddenSiblings(container, modal.mount, modal.modalRef, hiddenSiblings, true);
    const containerIndex = findIndexOf(this.containers, item => item.container === container);
    if (containerIndex !== -1) {
      this.containers[containerIndex].modals.push(modal);
      return modalIndex;
    }
    this.containers.push({
      modals: [modal],
      container,
      restore: null,
      hiddenSiblings
    });
    return modalIndex;
  }
  mount(modal, props) {
    const containerIndex = findIndexOf(this.containers, item => item.modals.includes(modal));
    const containerInfo = this.containers[containerIndex];
    if (!containerInfo.restore) {
      containerInfo.restore = handleContainer(containerInfo, props);
    }
  }
  remove(modal, ariaHiddenState = true) {
    const modalIndex = this.modals.indexOf(modal);
    if (modalIndex === -1) {
      return modalIndex;
    }
    const containerIndex = findIndexOf(this.containers, item => item.modals.includes(modal));
    const containerInfo = this.containers[containerIndex];
    containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);
    this.modals.splice(modalIndex, 1);

    // If that was the last modal in a container, clean up the container.
    if (containerInfo.modals.length === 0) {
      // The modal might be closed before it had the chance to be mounted in the DOM.
      if (containerInfo.restore) {
        containerInfo.restore();
      }
      if (modal.modalRef) {
        // In case the modal wasn't in the DOM yet.
        ariaHidden(modal.modalRef, ariaHiddenState);
      }
      ariaHiddenSiblings(containerInfo.container, modal.mount, modal.modalRef, containerInfo.hiddenSiblings, false);
      this.containers.splice(containerIndex, 1);
    } else {
      // Otherwise make sure the next top modal is visible to a screen reader.
      const nextTop = containerInfo.modals[containerInfo.modals.length - 1];
      // as soon as a modal is adding its modalRef is undefined. it can't set
      // aria-hidden because the dom element doesn't exist either
      // when modal was unmounted before modalRef gets null
      if (nextTop.modalRef) {
        ariaHidden(nextTop.modalRef, false);
      }
    }
    return modalIndex;
  }
  isTopModal(modal) {
    return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/modalClasses.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/modalClasses.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getModalUtilityClass: () => (/* binding */ getModalUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getModalUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiModal', slot);
}
const modalClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiModal', ['root', 'hidden', 'backdrop']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (modalClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/useModal.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/useModal.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/ownerDocument */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js");
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/useEventCallback */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
/* harmony import */ var _mui_utils_createChainedFunction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/createChainedFunction */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js");
/* harmony import */ var _mui_utils_extractEventHandlers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/extractEventHandlers */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js");
/* harmony import */ var _ModalManager_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ModalManager.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/ModalManager.js");
'use client';








function getContainer(container) {
  return typeof container === 'function' ? container() : container;
}
function getHasTransition(children) {
  return children ? children.props.hasOwnProperty('in') : false;
}
const noop = () => {};

// A modal manager used to track and manage the state of open Modals.
// Modals don't open on the server so this won't conflict with concurrent requests.
const manager = new _ModalManager_js__WEBPACK_IMPORTED_MODULE_6__.ModalManager();
function useModal(parameters) {
  const {
    container,
    disableEscapeKeyDown = false,
    disableScrollLock = false,
    closeAfterTransition = false,
    onTransitionEnter,
    onTransitionExited,
    children,
    onClose,
    open,
    rootRef
  } = parameters;

  // @ts-ignore internal logic
  const modal = react__WEBPACK_IMPORTED_MODULE_0__.useRef({});
  const mountNodeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const modalRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_2__["default"])(modalRef, rootRef);
  const [exited, setExited] = react__WEBPACK_IMPORTED_MODULE_0__.useState(!open);
  const hasTransition = getHasTransition(children);
  let ariaHiddenProp = true;
  if (parameters['aria-hidden'] === 'false' || parameters['aria-hidden'] === false) {
    ariaHiddenProp = false;
  }
  const getDoc = () => (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__["default"])(mountNodeRef.current);
  const getModal = () => {
    modal.current.modalRef = modalRef.current;
    modal.current.mount = mountNodeRef.current;
    return modal.current;
  };
  const handleMounted = () => {
    manager.mount(getModal(), {
      disableScrollLock
    });

    // Fix a bug on Chrome where the scroll isn't initially 0.
    if (modalRef.current) {
      modalRef.current.scrollTop = 0;
    }
  };
  const handleOpen = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(() => {
    const resolvedContainer = getContainer(container) || getDoc().body;
    manager.add(getModal(), resolvedContainer);

    // The element was already mounted.
    if (modalRef.current) {
      handleMounted();
    }
  });
  const isTopModal = () => manager.isTopModal(getModal());
  const handlePortalRef = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(node => {
    mountNodeRef.current = node;
    if (!node) {
      return;
    }
    if (open && isTopModal()) {
      handleMounted();
    } else if (modalRef.current) {
      (0,_ModalManager_js__WEBPACK_IMPORTED_MODULE_6__.ariaHidden)(modalRef.current, ariaHiddenProp);
    }
  });
  const handleClose = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    manager.remove(getModal(), ariaHiddenProp);
  }, [ariaHiddenProp]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    return () => {
      handleClose();
    };
  }, [handleClose]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (open) {
      handleOpen();
    } else if (!hasTransition || !closeAfterTransition) {
      handleClose();
    }
  }, [open, handleClose, hasTransition, closeAfterTransition, handleOpen]);
  const createHandleKeyDown = otherHandlers => event => {
    otherHandlers.onKeyDown?.(event);

    // The handler doesn't take event.defaultPrevented into account:
    //
    // event.preventDefault() is meant to stop default behaviors like
    // clicking a checkbox to check it, hitting a button to submit a form,
    // and hitting left arrow to move the cursor in a text input etc.
    // Only special HTML elements have these default behaviors.
    if (event.key !== 'Escape' || event.which === 229 ||
    // Wait until IME is settled.
    !isTopModal()) {
      return;
    }
    if (!disableEscapeKeyDown) {
      // Swallow the event, in case someone is listening for the escape key on the body.
      event.stopPropagation();
      if (onClose) {
        onClose(event, 'escapeKeyDown');
      }
    }
  };
  const createHandleBackdropClick = otherHandlers => event => {
    otherHandlers.onClick?.(event);
    if (event.target !== event.currentTarget) {
      return;
    }
    if (onClose) {
      onClose(event, 'backdropClick');
    }
  };
  const getRootProps = (otherHandlers = {}) => {
    const propsEventHandlers = (0,_mui_utils_extractEventHandlers__WEBPACK_IMPORTED_MODULE_5__["default"])(parameters);

    // The custom event handlers shouldn't be spread on the root element
    delete propsEventHandlers.onTransitionEnter;
    delete propsEventHandlers.onTransitionExited;
    const externalEventHandlers = {
      ...propsEventHandlers,
      ...otherHandlers
    };
    return {
      /*
       * Marking an element with the role presentation indicates to assistive technology
       * that this element should be ignored; it exists to support the web application and
       * is not meant for humans to interact with directly.
       * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
       */
      role: 'presentation',
      ...externalEventHandlers,
      onKeyDown: createHandleKeyDown(externalEventHandlers),
      ref: handleRef
    };
  };
  const getBackdropProps = (otherHandlers = {}) => {
    const externalEventHandlers = otherHandlers;
    return {
      'aria-hidden': true,
      ...externalEventHandlers,
      onClick: createHandleBackdropClick(externalEventHandlers),
      open
    };
  };
  const getTransitionProps = () => {
    const handleEnter = () => {
      setExited(false);
      if (onTransitionEnter) {
        onTransitionEnter();
      }
    };
    const handleExited = () => {
      setExited(true);
      if (onTransitionExited) {
        onTransitionExited();
      }
      if (closeAfterTransition) {
        handleClose();
      }
    };
    return {
      onEnter: (0,_mui_utils_createChainedFunction__WEBPACK_IMPORTED_MODULE_4__["default"])(handleEnter, children?.props.onEnter ?? noop),
      onExited: (0,_mui_utils_createChainedFunction__WEBPACK_IMPORTED_MODULE_4__["default"])(handleExited, children?.props.onExited ?? noop)
    };
  };
  return {
    getRootProps,
    getBackdropProps,
    getTransitionProps,
    rootRef: handleRef,
    portalRef: handlePortalRef,
    isTopModal,
    exited,
    hasTransition
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useModal);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   StyledSelectIcon: () => (/* binding */ StyledSelectIcon),
/* harmony export */   StyledSelectSelect: () => (/* binding */ StyledSelectSelect),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _nativeSelectClasses_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./nativeSelectClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/NativeSelect/nativeSelectClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    variant,
    disabled,
    multiple,
    open,
    error
  } = ownerState;
  const slots = {
    select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],
    icon: ['icon', `icon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(variant)}`, open && 'iconOpen', disabled && 'disabled']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _nativeSelectClasses_js__WEBPACK_IMPORTED_MODULE_6__.getNativeSelectUtilityClasses, classes);
};
const StyledSelectSelect = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('select', {
  name: 'MuiNativeSelect'
})(({
  theme
}) => ({
  // Reset
  MozAppearance: 'none',
  // Reset
  WebkitAppearance: 'none',
  // When interacting quickly, the text can end up selected.
  // Native select can't be selected either.
  userSelect: 'none',
  // Reset
  borderRadius: 0,
  cursor: 'pointer',
  '&:focus': {
    // Reset Chrome style
    borderRadius: 0
  },
  [`&.${_nativeSelectClasses_js__WEBPACK_IMPORTED_MODULE_6__["default"].disabled}`]: {
    cursor: 'default'
  },
  '&[multiple]': {
    height: 'auto'
  },
  '&:not([multiple]) option, &:not([multiple]) optgroup': {
    backgroundColor: (theme.vars || theme).palette.background.paper
  },
  variants: [{
    props: ({
      ownerState
    }) => ownerState.variant !== 'filled' && ownerState.variant !== 'outlined',
    style: {
      // Bump specificity to allow extending custom inputs
      '&&&': {
        paddingRight: 24,
        minWidth: 16 // So it doesn't collapse.
      }
    }
  }, {
    props: {
      variant: 'filled'
    },
    style: {
      '&&&': {
        paddingRight: 32
      }
    }
  }, {
    props: {
      variant: 'outlined'
    },
    style: {
      borderRadius: (theme.vars || theme).shape.borderRadius,
      '&:focus': {
        borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
      },
      '&&&': {
        paddingRight: 32
      }
    }
  }]
}));
const NativeSelectSelect = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(StyledSelectSelect, {
  name: 'MuiNativeSelect',
  slot: 'Select',
  shouldForwardProp: _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_8__["default"],
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.select, styles[ownerState.variant], ownerState.error && styles.error, {
      [`&.${_nativeSelectClasses_js__WEBPACK_IMPORTED_MODULE_6__["default"].multiple}`]: styles.multiple
    }];
  }
})({});
const StyledSelectIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('svg', {
  name: 'MuiNativeSelect'
})(({
  theme
}) => ({
  // 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,
  // Center vertically, height is 1em
  top: 'calc(50% - .5em)',
  // Don't block pointer events on the select under the icon.
  pointerEvents: 'none',
  color: (theme.vars || theme).palette.action.active,
  [`&.${_nativeSelectClasses_js__WEBPACK_IMPORTED_MODULE_6__["default"].disabled}`]: {
    color: (theme.vars || theme).palette.action.disabled
  },
  variants: [{
    props: ({
      ownerState
    }) => ownerState.open,
    style: {
      transform: 'rotate(180deg)'
    }
  }, {
    props: {
      variant: 'filled'
    },
    style: {
      right: 7
    }
  }, {
    props: {
      variant: 'outlined'
    },
    style: {
      right: 7
    }
  }]
}));
const NativeSelectIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(StyledSelectIcon, {
  name: 'MuiNativeSelect',
  slot: 'Icon',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.icon, ownerState.variant && styles[`icon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.variant)}`], ownerState.open && styles.iconOpen];
  }
})({});

/**
 * @ignore - internal component.
 */
const NativeSelectInput = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function NativeSelectInput(props, ref) {
  const {
    className,
    disabled,
    error,
    IconComponent,
    inputRef,
    variant = 'standard',
    ...other
  } = props;
  const ownerState = {
    ...props,
    disabled,
    variant,
    error
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(NativeSelectSelect, {
      ownerState: ownerState,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.select, className),
      disabled: disabled,
      ref: inputRef || ref,
      ...other
    }), props.multiple ? null : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(NativeSelectIcon, {
      as: IconComponent,
      ownerState: ownerState,
      className: classes.icon
    })]
  });
});
 true ? NativeSelectInput.propTypes = {
  /**
   * The option elements to populate the select with.
   * Can be some `<option>` elements.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The CSS class name of the select element.
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the select is disabled.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `select input` will indicate an error.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon that displays the arrow.
   */
  IconComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType.isRequired,
  /**
   * Use that prop to pass a ref to the native select element.
   * @deprecated
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * @ignore
   */
  multiple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Name attribute of the `select` or hidden `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Callback fired when a menu item is selected.
   *
   * @param {object} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The input value.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * The variant to use.
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['standard', 'outlined', 'filled'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NativeSelectInput);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/NativeSelect/nativeSelectClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/NativeSelect/nativeSelectClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getNativeSelectUtilityClasses: () => (/* binding */ getNativeSelectUtilityClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getNativeSelectUtilityClasses(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiNativeSelect', slot);
}
const nativeSelectClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (nativeSelectClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/NotchedOutline.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/NotchedOutline.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ NotchedOutline)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

var _span;





const NotchedOutlineRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])('fieldset', {
  name: 'MuiNotchedOutlined',
  shouldForwardProp: _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_1__["default"]
})({
  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%'
});
const NotchedOutlineLegend = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])('legend', {
  name: 'MuiNotchedOutlined',
  shouldForwardProp: _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_1__["default"]
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_3__["default"])(({
  theme
}) => ({
  float: 'unset',
  // Fix conflict with bootstrap
  width: 'auto',
  // Fix conflict with bootstrap
  overflow: 'hidden',
  // Fix Horizontal scroll when label too long
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.withLabel,
    style: {
      padding: 0,
      lineHeight: '11px',
      // sync with `height` in `legend` styles
      transition: theme.transitions.create('width', {
        duration: 150,
        easing: theme.transitions.easing.easeOut
      })
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.withLabel,
    style: {
      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: theme.transitions.create('max-width', {
        duration: 50,
        easing: theme.transitions.easing.easeOut
      }),
      whiteSpace: 'nowrap',
      '& > span': {
        paddingLeft: 5,
        paddingRight: 5,
        display: 'inline-block',
        opacity: 0,
        visibility: 'visible'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.withLabel && ownerState.notched,
    style: {
      maxWidth: '100%',
      transition: theme.transitions.create('max-width', {
        duration: 100,
        easing: theme.transitions.easing.easeOut,
        delay: 50
      })
    }
  }]
})));

/**
 * @ignore - internal component.
 */
function NotchedOutline(props) {
  const {
    children,
    classes,
    className,
    label,
    notched,
    ...other
  } = props;
  const withLabel = label != null && label !== '';
  const ownerState = {
    ...props,
    notched,
    withLabel
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(NotchedOutlineRoot, {
    "aria-hidden": true,
    className: className,
    ownerState: ownerState,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(NotchedOutlineLegend, {
      ownerState: ownerState,
      children: withLabel ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("span", {
        children: label
      }) : // notranslate needed while Google Translate will not fix zero-width space issue
      _span || (_span = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("span", {
        className: "notranslate",
        "aria-hidden": true,
        children: "\u200B"
      }))
    })
  });
}
 true ? NotchedOutline.propTypes /* remove-proptypes */ = {
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_0__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_0__.string,
  /**
   * The label.
   */
  label: prop_types__WEBPACK_IMPORTED_MODULE_0__.node,
  /**
   * If `true`, the outline is notched to accommodate the label.
   */
  notched: prop_types__WEBPACK_IMPORTED_MODULE_0__.bool.isRequired,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_0__.object
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _NotchedOutline_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./NotchedOutline.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/NotchedOutline.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./outlinedInputClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js");
/* harmony import */ var _InputBase_InputBase_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../InputBase/InputBase.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    notchedOutline: ['notchedOutline'],
    input: ['input']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__.getOutlinedInputUtilityClass, classes);
  return {
    ...classes,
    // forward classes to the InputBase
    ...composedClasses
  };
};
const OutlinedInputRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_InputBase_InputBase_js__WEBPACK_IMPORTED_MODULE_13__.InputBaseRoot, {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_7__["default"])(prop) || prop === 'classes',
  name: 'MuiOutlinedInput',
  slot: 'Root',
  overridesResolver: _InputBase_InputBase_js__WEBPACK_IMPORTED_MODULE_13__.rootOverridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => {
  const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
  return {
    position: 'relative',
    borderRadius: (theme.vars || theme).shape.borderRadius,
    [`&:hover .${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].notchedOutline}`]: {
      borderColor: (theme.vars || theme).palette.text.primary
    },
    // Reset on touch devices, it doesn't add specificity
    '@media (hover: none)': {
      [`&:hover .${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].notchedOutline}`]: {
        borderColor: theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, 0.23) : borderColor
      }
    },
    [`&.${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].focused} .${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].notchedOutline}`]: {
      borderWidth: 2
    },
    variants: [...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_10__["default"])()).map(([color]) => ({
      props: {
        color
      },
      style: {
        [`&.${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].focused} .${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].notchedOutline}`]: {
          borderColor: (theme.vars || theme).palette[color].main
        }
      }
    })), {
      props: {},
      // to override the above style
      style: {
        [`&.${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].error} .${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].notchedOutline}`]: {
          borderColor: (theme.vars || theme).palette.error.main
        },
        [`&.${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].disabled} .${_outlinedInputClasses_js__WEBPACK_IMPORTED_MODULE_12__["default"].notchedOutline}`]: {
          borderColor: (theme.vars || theme).palette.action.disabled
        }
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.startAdornment,
      style: {
        paddingLeft: 14
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.endAdornment,
      style: {
        paddingRight: 14
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.multiline,
      style: {
        padding: '16.5px 14px'
      }
    }, {
      props: ({
        ownerState,
        size
      }) => ownerState.multiline && size === 'small',
      style: {
        padding: '8.5px 14px'
      }
    }]
  };
}));
const NotchedOutlineRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_NotchedOutline_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
  name: 'MuiOutlinedInput',
  slot: 'NotchedOutline'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => {
  const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
  return {
    borderColor: theme.vars ? theme.alpha(theme.vars.palette.common.onBackground, 0.23) : borderColor
  };
}));
const OutlinedInputInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_InputBase_InputBase_js__WEBPACK_IMPORTED_MODULE_13__.InputBaseInput, {
  name: 'MuiOutlinedInput',
  slot: 'Input',
  overridesResolver: _InputBase_InputBase_js__WEBPACK_IMPORTED_MODULE_13__.inputOverridesResolver
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  padding: '16.5px 14px',
  ...(!theme.vars && {
    '&:-webkit-autofill': {
      WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',
      WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',
      caretColor: theme.palette.mode === 'light' ? null : '#fff',
      borderRadius: 'inherit'
    }
  }),
  ...(theme.vars && {
    '&:-webkit-autofill': {
      borderRadius: 'inherit'
    },
    [theme.getColorSchemeSelector('dark')]: {
      '&:-webkit-autofill': {
        WebkitBoxShadow: '0 0 0 100px #266798 inset',
        WebkitTextFillColor: '#fff',
        caretColor: '#fff'
      }
    }
  }),
  variants: [{
    props: {
      size: 'small'
    },
    style: {
      padding: '8.5px 14px'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.multiline,
    style: {
      padding: 0
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.startAdornment,
    style: {
      paddingLeft: 0
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.endAdornment,
    style: {
      paddingRight: 0
    }
  }]
})));
const OutlinedInput = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function OutlinedInput(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__.useDefaultProps)({
    props: inProps,
    name: 'MuiOutlinedInput'
  });
  const {
    components = {},
    fullWidth = false,
    inputComponent = 'input',
    label,
    multiline = false,
    notched,
    slots = {},
    slotProps = {},
    type = 'text',
    ...other
  } = props;
  const classes = useUtilityClasses(props);
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_6__["default"])({
    props,
    muiFormControl,
    states: ['color', 'disabled', 'error', 'focused', 'hiddenLabel', 'size', 'required']
  });
  const ownerState = {
    ...props,
    color: fcs.color || 'primary',
    disabled: fcs.disabled,
    error: fcs.error,
    focused: fcs.focused,
    formControl: muiFormControl,
    fullWidth,
    hiddenLabel: fcs.hiddenLabel,
    multiline,
    size: fcs.size,
    type
  };
  const RootSlot = slots.root ?? components.Root ?? OutlinedInputRoot;
  const InputSlot = slots.input ?? components.Input ?? OutlinedInputInput;
  const [NotchedSlot, notchedProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_14__["default"])('notchedOutline', {
    elementType: NotchedOutlineRoot,
    className: classes.notchedOutline,
    shouldForwardComponentProp: true,
    ownerState,
    externalForwardedProps: {
      slots,
      slotProps
    },
    additionalProps: {
      label: label != null && label !== '' && fcs.required ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
        children: [label, "\u2009", '*']
      }) : label
    }
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(_InputBase_InputBase_js__WEBPACK_IMPORTED_MODULE_13__["default"], {
    slots: {
      root: RootSlot,
      input: InputSlot
    },
    slotProps: slotProps,
    renderSuffix: state => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(NotchedSlot, {
      ...notchedProps,
      notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)
    }),
    fullWidth: fullWidth,
    inputComponent: inputComponent,
    multiline: multiline,
    ref: ref,
    type: type,
    ...other,
    classes: {
      ...classes,
      notchedOutline: null
    }
  });
});
 true ? OutlinedInput.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * This prop helps users to fill forms faster, especially on mobile devices.
   * The name can be confusing, as it's more like an autofill.
   * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
   */
  autoComplete: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the `input` element is focused during the first mount.
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['primary', 'secondary']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The components used for each slot inside.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * If `true`, the component is disabled.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * End `InputAdornment` for this component.
   */
  endAdornment: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `true`, the `input` will indicate an error.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the `input` element.
   * Either a string to use a HTML element or a component.
   * @default 'input'
   */
  inputComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @default {}
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Pass a ref to the `input` element.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_2__["default"],
  /**
   * The label of the `input`. It is only used for layout. The actual labelling
   * is handled by `InputLabel`.
   */
  label: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `dense`, will adjust vertical spacing. This is normally obtained via context from
   * FormControl.
   * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense', 'none']),
  /**
   * Maximum number of rows to display when multiline option is set to true.
   */
  maxRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Minimum number of rows to display when multiline option is set to true.
   */
  minRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
   * @default false
   */
  multiline: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Name attribute of the `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the outline is notched to accommodate the label.
   */
  notched: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Callback fired when the value is changed.
   *
   * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The short hint displayed in the `input` before the user enters a value.
   */
  placeholder: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * It prevents the user from changing the value of the field
   * (not from interacting with the field).
   */
  readOnly: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` element is required.
   * The prop defaults to the value (`false`) inherited from the parent FormControl component.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Number of rows to display when multiline option is set to true.
   */
  rows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    notchedOutline: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    notchedOutline: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * Start `InputAdornment` for this component.
   */
  startAdornment: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
   * @default 'text'
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The value of the `input` element, required for a controlled component.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
OutlinedInput.muiName = 'Input';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OutlinedInput);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/outlinedInputClasses.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getOutlinedInputUtilityClass: () => (/* binding */ getOutlinedInputUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _InputBase_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../InputBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/inputBaseClasses.js");



function getOutlinedInputUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiOutlinedInput', slot);
}
const outlinedInputClasses = {
  ..._InputBase_index_js__WEBPACK_IMPORTED_MODULE_2__["default"],
  ...(0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiOutlinedInput', ['root', 'notchedOutline', 'input'])
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (outlinedInputClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _styles_getOverlayAlpha_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../styles/getOverlayAlpha.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/getOverlayAlpha.js");
/* harmony import */ var _paperClasses_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./paperClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/paperClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';














const useUtilityClasses = ownerState => {
  const {
    square,
    elevation,
    variant,
    classes
  } = ownerState;
  const slots = {
    root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _paperClasses_js__WEBPACK_IMPORTED_MODULE_12__.getPaperUtilityClass, classes);
};
const PaperRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('div', {
  name: 'MuiPaper',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  backgroundColor: (theme.vars || theme).palette.background.paper,
  color: (theme.vars || theme).palette.text.primary,
  transition: theme.transitions.create('box-shadow'),
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.square,
    style: {
      borderRadius: theme.shape.borderRadius
    }
  }, {
    props: {
      variant: 'outlined'
    },
    style: {
      border: `1px solid ${(theme.vars || theme).palette.divider}`
    }
  }, {
    props: {
      variant: 'elevation'
    },
    style: {
      boxShadow: 'var(--Paper-shadow)',
      backgroundImage: 'var(--Paper-overlay)'
    }
  }]
})));
const Paper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Paper(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiPaper'
  });
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
  const {
    className,
    component = 'div',
    elevation = 1,
    square = false,
    variant = 'elevation',
    ...other
  } = props;
  const ownerState = {
    ...props,
    component,
    elevation,
    square,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  if (true) {
    if (theme.shadows[elevation] === undefined) {
      console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
    }
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(PaperRoot, {
    as: component,
    ownerState: ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    ...other,
    style: {
      ...(variant === 'elevation' && {
        '--Paper-shadow': (theme.vars || theme).shadows[elevation],
        ...(theme.vars && {
          '--Paper-overlay': theme.vars.overlays?.[elevation]
        }),
        ...(!theme.vars && theme.palette.mode === 'dark' && {
          '--Paper-overlay': `linear-gradient(${(0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_6__.alpha)('#fff', (0,_styles_getOverlayAlpha_js__WEBPACK_IMPORTED_MODULE_11__["default"])(elevation))}, ${(0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_6__.alpha)('#fff', (0,_styles_getOverlayAlpha_js__WEBPACK_IMPORTED_MODULE_11__["default"])(elevation))})`
        })
      }),
      ...other.style
    }
  });
});
 true ? Paper.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Shadow depth, corresponds to `dp` in the spec.
   * It accepts values between 0 and 24 inclusive.
   * @default 1
   */
  elevation: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__["default"])(_mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__["default"], props => {
    const {
      elevation,
      variant
    } = props;
    if (elevation > 0 && variant === 'outlined') {
      return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
    }
    return null;
  }),
  /**
   * If `true`, rounded corners are disabled.
   * @default false
   */
  square: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   * @default 'elevation'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['elevation', 'outlined']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Paper);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/paperClasses.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/paperClasses.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getPaperUtilityClass: () => (/* binding */ getPaperUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getPaperUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPaper', slot);
}
const paperClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('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']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (paperClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popover/Popover.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popover/Popover.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   PopoverPaper: () => (/* binding */ PopoverPaper),
/* harmony export */   PopoverRoot: () => (/* binding */ PopoverRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getOffsetLeft: () => (/* binding */ getOffsetLeft),
/* harmony export */   getOffsetTop: () => (/* binding */ getOffsetTop)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/HTMLElementType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/elementTypeAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/utils/isHostComponent */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/isLayoutSupported.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isLayoutSupported.js");
/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/debounce.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js");
/* harmony import */ var _utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/ownerDocument.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _utils_ownerWindow_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/ownerWindow.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js");
/* harmony import */ var _Grow_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../Grow/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grow/Grow.js");
/* harmony import */ var _Modal_index_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../Modal/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Modal/Modal.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _popoverClasses_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./popoverClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popover/popoverClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/mergeSlotProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
























function getOffsetTop(rect, vertical) {
  let offset = 0;
  if (typeof vertical === 'number') {
    offset = vertical;
  } else if (vertical === 'center') {
    offset = rect.height / 2;
  } else if (vertical === 'bottom') {
    offset = rect.height;
  }
  return offset;
}
function getOffsetLeft(rect, horizontal) {
  let offset = 0;
  if (typeof horizontal === 'number') {
    offset = horizontal;
  } else if (horizontal === 'center') {
    offset = rect.width / 2;
  } else if (horizontal === 'right') {
    offset = rect.width;
  }
  return offset;
}
function getTransformOriginValue(transformOrigin) {
  return [transformOrigin.horizontal, transformOrigin.vertical].map(n => typeof n === 'number' ? `${n}px` : n).join(' ');
}
function resolveAnchorEl(anchorEl) {
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
}
const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    paper: ['paper']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _popoverClasses_js__WEBPACK_IMPORTED_MODULE_19__.getPopoverUtilityClass, classes);
};
const PopoverRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])(_Modal_index_js__WEBPACK_IMPORTED_MODULE_17__["default"], {
  name: 'MuiPopover',
  slot: 'Root'
})({});
const PopoverPaper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_18__["default"], {
  name: 'MuiPopover',
  slot: '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
});
const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Popover(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__.useDefaultProps)({
    props: inProps,
    name: 'MuiPopover'
  });
  const {
    action,
    anchorEl,
    anchorOrigin = {
      vertical: 'top',
      horizontal: 'left'
    },
    anchorPosition,
    anchorReference = 'anchorEl',
    children,
    className,
    container: containerProp,
    elevation = 8,
    marginThreshold = 16,
    open,
    PaperProps: PaperPropsProp = {},
    // TODO: remove in v7
    slots = {},
    slotProps = {},
    transformOrigin = {
      vertical: 'top',
      horizontal: 'left'
    },
    TransitionComponent,
    // TODO: remove in v7
    transitionDuration: transitionDurationProp = 'auto',
    TransitionProps = {},
    // TODO: remove in v7
    disableScrollLock = false,
    ...other
  } = props;
  const paperRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const ownerState = {
    ...props,
    anchorOrigin,
    anchorReference,
    elevation,
    marginThreshold,
    transformOrigin,
    TransitionComponent,
    transitionDuration: transitionDurationProp,
    TransitionProps
  };
  const classes = useUtilityClasses(ownerState);

  // Returns the top/left offset of the position
  // to attach to on the anchor element (or body if none is provided)
  const getAnchorOffset = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (anchorReference === 'anchorPosition') {
      if (true) {
        if (!anchorPosition) {
          console.error('MUI: You need to provide a `anchorPosition` prop when using ' + '<Popover anchorReference="anchorPosition" />.');
        }
      }
      return anchorPosition;
    }
    const resolvedAnchorEl = resolveAnchorEl(anchorEl);

    // If an anchor element wasn't provided, just use the parent body element of this Popover
    const anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : (0,_utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_14__["default"])(paperRef.current).body;
    const anchorRect = anchorElement.getBoundingClientRect();
    if (true) {
      const box = anchorElement.getBoundingClientRect();
      if ((0,_utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_12__["default"])() && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
        console.warn(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', "Make sure the element is present in the document or that it's not display none."].join('\n'));
      }
    }
    return {
      top: anchorRect.top + getOffsetTop(anchorRect, anchorOrigin.vertical),
      left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)
    };
  }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]);

  // Returns the base transform origin using the element
  const getTransformOrigin = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(elemRect => {
    return {
      vertical: getOffsetTop(elemRect, transformOrigin.vertical),
      horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)
    };
  }, [transformOrigin.horizontal, transformOrigin.vertical]);
  const getPositioningStyle = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(element => {
    const elemRect = {
      width: element.offsetWidth,
      height: element.offsetHeight
    };

    // Get the transform origin point on the element itself
    const elemTransformOrigin = getTransformOrigin(elemRect);
    if (anchorReference === 'none') {
      return {
        top: null,
        left: null,
        transformOrigin: getTransformOriginValue(elemTransformOrigin)
      };
    }

    // Get the offset of the anchoring element
    const anchorOffset = getAnchorOffset();

    // Calculate element positioning
    let top = anchorOffset.top - elemTransformOrigin.vertical;
    let left = anchorOffset.left - elemTransformOrigin.horizontal;
    const bottom = top + elemRect.height;
    const right = left + elemRect.width;

    // Use the parent window of the anchorEl if provided
    const containerWindow = (0,_utils_ownerWindow_js__WEBPACK_IMPORTED_MODULE_15__["default"])(resolveAnchorEl(anchorEl));

    // Window thresholds taking required margin into account
    const heightThreshold = containerWindow.innerHeight - marginThreshold;
    const widthThreshold = containerWindow.innerWidth - marginThreshold;

    // Check if the vertical axis needs shifting
    if (marginThreshold !== null && top < marginThreshold) {
      const diff = top - marginThreshold;
      top -= diff;
      elemTransformOrigin.vertical += diff;
    } else if (marginThreshold !== null && bottom > heightThreshold) {
      const diff = bottom - heightThreshold;
      top -= diff;
      elemTransformOrigin.vertical += diff;
    }
    if (true) {
      if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {
        console.error(['MUI: The popover component is too tall.', `Some part of it can not be seen on the screen (${elemRect.height - heightThreshold}px).`, 'Please consider adding a `max-height` to improve the user-experience.'].join('\n'));
      }
    }

    // Check if the horizontal axis needs shifting
    if (marginThreshold !== null && left < marginThreshold) {
      const diff = left - marginThreshold;
      left -= diff;
      elemTransformOrigin.horizontal += diff;
    } else if (right > widthThreshold) {
      const diff = right - widthThreshold;
      left -= diff;
      elemTransformOrigin.horizontal += diff;
    }
    return {
      top: `${Math.round(top)}px`,
      left: `${Math.round(left)}px`,
      transformOrigin: getTransformOriginValue(elemTransformOrigin)
    };
  }, [anchorEl, anchorReference, getAnchorOffset, getTransformOrigin, marginThreshold]);
  const [isPositioned, setIsPositioned] = react__WEBPACK_IMPORTED_MODULE_0__.useState(open);
  const setPositioningStyles = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    const element = paperRef.current;
    if (!element) {
      return;
    }
    const positioning = getPositioningStyle(element);
    if (positioning.top !== null) {
      element.style.setProperty('top', positioning.top);
    }
    if (positioning.left !== null) {
      element.style.left = positioning.left;
    }
    element.style.transformOrigin = positioning.transformOrigin;
    setIsPositioned(true);
  }, [getPositioningStyle]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (disableScrollLock) {
      window.addEventListener('scroll', setPositioningStyles);
    }
    return () => window.removeEventListener('scroll', setPositioningStyles);
  }, [anchorEl, disableScrollLock, setPositioningStyles]);
  const handleEntering = () => {
    setPositioningStyles();
  };
  const handleExited = () => {
    setIsPositioned(false);
  };
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (open) {
      setPositioningStyles();
    }
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(action, () => open ? {
    updatePosition: () => {
      setPositioningStyles();
    }
  } : null, [open, setPositioningStyles]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!open) {
      return undefined;
    }
    const handleResize = (0,_utils_debounce_js__WEBPACK_IMPORTED_MODULE_13__["default"])(() => {
      setPositioningStyles();
    });
    const containerWindow = (0,_utils_ownerWindow_js__WEBPACK_IMPORTED_MODULE_15__["default"])(resolveAnchorEl(anchorEl));
    containerWindow.addEventListener('resize', handleResize);
    return () => {
      handleResize.clear();
      containerWindow.removeEventListener('resize', handleResize);
    };
  }, [anchorEl, open, setPositioningStyles]);
  let transitionDuration = transitionDurationProp;
  const externalForwardedProps = {
    slots: {
      transition: TransitionComponent,
      ...slots
    },
    slotProps: {
      transition: TransitionProps,
      paper: PaperPropsProp,
      ...slotProps
    }
  };
  const [TransitionSlot, transitionSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__["default"])('transition', {
    elementType: _Grow_index_js__WEBPACK_IMPORTED_MODULE_16__["default"],
    externalForwardedProps,
    ownerState,
    getSlotProps: handlers => ({
      ...handlers,
      onEntering: (element, isAppearing) => {
        handlers.onEntering?.(element, isAppearing);
        handleEntering();
      },
      onExited: element => {
        handlers.onExited?.(element);
        handleExited();
      }
    }),
    additionalProps: {
      appear: true,
      in: open
    }
  });
  if (transitionDurationProp === 'auto' && !TransitionSlot.muiSupportAuto) {
    transitionDuration = undefined;
  }

  // If the container prop is provided, use that
  // If the anchorEl prop is provided, use its parent body element as the container
  // If neither are provided let the Modal take care of choosing the container
  const container = containerProp || (anchorEl ? (0,_utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_14__["default"])(resolveAnchorEl(anchorEl)).body : undefined);
  const [RootSlot, {
    slots: rootSlotsProp,
    slotProps: rootSlotPropsProp,
    ...rootProps
  }] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__["default"])('root', {
    ref,
    elementType: PopoverRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    shouldForwardComponentProp: true,
    additionalProps: {
      slots: {
        backdrop: slots.backdrop
      },
      slotProps: {
        backdrop: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_21__["default"])(typeof slotProps.backdrop === 'function' ? slotProps.backdrop(ownerState) : slotProps.backdrop, {
          invisible: true
        })
      },
      container,
      open
    },
    ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className)
  });
  const [PaperSlot, paperProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__["default"])('paper', {
    ref: paperRef,
    className: classes.paper,
    elementType: PopoverPaper,
    externalForwardedProps,
    shouldForwardComponentProp: true,
    additionalProps: {
      elevation,
      style: isPositioned ? undefined : {
        opacity: 0
      }
    },
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(RootSlot, {
    ...rootProps,
    ...(!(0,_mui_utils_isHostComponent__WEBPACK_IMPORTED_MODULE_9__["default"])(RootSlot) && {
      slots: rootSlotsProp,
      slotProps: rootSlotPropsProp,
      disableScrollLock
    }),
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(TransitionSlot, {
      ...transitionSlotProps,
      timeout: transitionDuration,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(PaperSlot, {
        ...paperProps,
        children: children
      })
    })
  });
});
 true ? Popover.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * A ref for imperative actions.
   * It currently only supports updatePosition() action.
   */
  action: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_5__["default"],
  /**
   * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
   * or a function that returns either.
   * It's used to set the position of the popover.
   */
  anchorEl: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_8__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_4__["default"], prop_types__WEBPACK_IMPORTED_MODULE_1__.func]), props => {
    if (props.open && (!props.anchorReference || props.anchorReference === 'anchorEl')) {
      const resolvedAnchorEl = resolveAnchorEl(props.anchorEl);
      if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {
        const box = resolvedAnchorEl.getBoundingClientRect();
        if (true) {
          if ((0,_utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_12__["default"])() && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
            return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', "Make sure the element is present in the document or that it's not display none."].join('\n'));
          }
        }
      } else {
        return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', `It should be an Element or PopoverVirtualElement instance but it's \`${resolvedAnchorEl}\` instead.`].join('\n'));
      }
    }
    return null;
  }),
  /**
   * This is the point on the anchor where the popover's
   * `anchorEl` will attach to. This is not used when the
   * anchorReference is 'anchorPosition'.
   *
   * Options:
   * vertical: [top, center, bottom];
   * horizontal: [left, center, right].
   * @default {
   *   vertical: 'top',
   *   horizontal: 'left',
   * }
   */
  anchorOrigin: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    horizontal: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'left', 'right']), prop_types__WEBPACK_IMPORTED_MODULE_1__.number]).isRequired,
    vertical: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['bottom', 'center', 'top']), prop_types__WEBPACK_IMPORTED_MODULE_1__.number]).isRequired
  }),
  /**
   * This is the position that may be used to set the position of the popover.
   * The coordinates are relative to the application's client area.
   */
  anchorPosition: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    left: prop_types__WEBPACK_IMPORTED_MODULE_1__.number.isRequired,
    top: prop_types__WEBPACK_IMPORTED_MODULE_1__.number.isRequired
  }),
  /**
   * This determines which anchor prop to refer to when setting
   * the position of the popover.
   * @default 'anchorEl'
   */
  anchorReference: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['anchorEl', 'anchorPosition', 'none']),
  /**
   * A backdrop component. This prop enables custom backdrop rendering.
   * @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default styled(Backdrop, {
   *   name: 'MuiModal',
   *   slot: 'Backdrop',
   *   overridesResolver: (props, styles) => {
   *     return styles.backdrop;
   *   },
   * })({
   *   zIndex: -1,
   * })
   */
  BackdropComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
   * @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  BackdropProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * An HTML element, component instance, or function that returns either.
   * The `container` will passed to the Modal component.
   *
   * By default, it uses the body of the anchorEl's top-level document object,
   * so it's simply `document.body` most of the time.
   */
  container: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_4__["default"], prop_types__WEBPACK_IMPORTED_MODULE_1__.func]),
  /**
   * Disable the scroll lock behavior.
   * @default false
   */
  disableScrollLock: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The elevation of the popover.
   * @default 8
   */
  elevation: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_7__["default"],
  /**
   * Specifies how close to the edge of the window the popover can appear.
   * If null, the popover will not be constrained by the window.
   * @default 16
   */
  marginThreshold: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * Callback fired when the component requests to be closed.
   * The `reason` parameter can optionally be used to control the response to `onClose`.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool.isRequired,
  /**
   * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
   *
   * This prop is an alias for `slotProps.paper` and will be overridden by it if both are used.
   * @deprecated Use `slotProps.paper` instead.
   *
   * @default {}
   */
  PaperProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    component: _mui_utils_elementTypeAcceptingRef__WEBPACK_IMPORTED_MODULE_6__["default"]
  }),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    backdrop: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    paper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * This is the point on the popover which
   * will attach to the anchor's origin.
   *
   * Options:
   * vertical: [top, center, bottom, x(px)];
   * horizontal: [left, center, right, x(px)].
   * @default {
   *   vertical: 'top',
   *   horizontal: 'left',
   * }
   */
  transformOrigin: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    horizontal: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'left', 'right']), prop_types__WEBPACK_IMPORTED_MODULE_1__.number]).isRequired,
    vertical: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['bottom', 'center', 'top']), prop_types__WEBPACK_IMPORTED_MODULE_1__.number]).isRequired
  }),
  /**
   * The component used for the transition.
   * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
   * @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default Grow
   */
  TransitionComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Set to 'auto' to automatically calculate transition time based on height.
   * @default 'auto'
   */
  transitionDuration: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['auto']), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })]),
  /**
   * Props applied to the transition element.
   * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
   * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  TransitionProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Popover);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popover/popoverClasses.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popover/popoverClasses.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getPopoverUtilityClass: () => (/* binding */ getPopoverUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getPopoverUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPopover', slot);
}
const popoverClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPopover', ['root', 'paper']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (popoverClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/BasePopper.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/BasePopper.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/ownerDocument */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js");
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/HTMLElementType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @popperjs/core */ "./node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @mui/utils/useSlotProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js");
/* harmony import */ var _utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/isLayoutSupported.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isLayoutSupported.js");
/* harmony import */ var _Portal_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../Portal/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Portal/Portal.js");
/* harmony import */ var _popperClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./popperClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/popperClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
















function flipPlacement(placement, direction) {
  if (direction === 'ltr') {
    return placement;
  }
  switch (placement) {
    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 placement;
  }
}
function resolveAnchorEl(anchorEl) {
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
}
function isHTMLElement(element) {
  return element.nodeType !== undefined;
}
function isVirtualElement(element) {
  return !isHTMLElement(element);
}
const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_9__["default"])(slots, _popperClasses_js__WEBPACK_IMPORTED_MODULE_13__.getPopperUtilityClass, classes);
};
const defaultPopperOptions = {};
const PopperTooltip = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function PopperTooltip(props, forwardedRef) {
  const {
    anchorEl,
    children,
    direction,
    disablePortal,
    modifiers,
    open,
    placement: initialPlacement,
    popperOptions,
    popperRef: popperRefProp,
    slotProps = {},
    slots = {},
    TransitionProps,
    // @ts-ignore internal logic
    ownerState: ownerStateProp,
    // prevent from spreading to DOM, it can come from the parent component e.g. Select.
    ...other
  } = props;
  const tooltipRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const ownRef = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_3__["default"])(tooltipRef, forwardedRef);
  const popperRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handlePopperRef = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_3__["default"])(popperRef, popperRefProp);
  const handlePopperRefRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(handlePopperRef);
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_2__["default"])(() => {
    handlePopperRefRef.current = handlePopperRef;
  }, [handlePopperRef]);
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(popperRefProp, () => popperRef.current, []);
  const rtlPlacement = flipPlacement(initialPlacement, direction);
  /**
   * placement initialized from prop but can change during lifetime if modifiers.flip.
   * modifiers.flip is essentially a flip for controlled/uncontrolled behavior
   */
  const [placement, setPlacement] = react__WEBPACK_IMPORTED_MODULE_0__.useState(rtlPlacement);
  const [resolvedAnchorElement, setResolvedAnchorElement] = react__WEBPACK_IMPORTED_MODULE_0__.useState(resolveAnchorEl(anchorEl));
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (popperRef.current) {
      popperRef.current.forceUpdate();
    }
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (anchorEl) {
      setResolvedAnchorElement(resolveAnchorEl(anchorEl));
    }
  }, [anchorEl]);
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_2__["default"])(() => {
    if (!resolvedAnchorElement || !open) {
      return undefined;
    }
    const handlePopperUpdate = data => {
      setPlacement(data.placement);
    };
    if (true) {
      if (resolvedAnchorElement && isHTMLElement(resolvedAnchorElement) && resolvedAnchorElement.nodeType === 1) {
        const box = resolvedAnchorElement.getBoundingClientRect();
        if ((0,_utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_11__["default"])() && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
          console.warn(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', "Make sure the element is present in the document or that it's not display none."].join('\n'));
        }
      }
    }
    let popperModifiers = [{
      name: 'preventOverflow',
      options: {
        altBoundary: disablePortal
      }
    }, {
      name: 'flip',
      options: {
        altBoundary: disablePortal
      }
    }, {
      name: 'onUpdate',
      enabled: true,
      phase: 'afterWrite',
      fn: ({
        state
      }) => {
        handlePopperUpdate(state);
      }
    }];
    if (modifiers != null) {
      popperModifiers = popperModifiers.concat(modifiers);
    }
    if (popperOptions && popperOptions.modifiers != null) {
      popperModifiers = popperModifiers.concat(popperOptions.modifiers);
    }
    const popper = (0,_popperjs_core__WEBPACK_IMPORTED_MODULE_7__.createPopper)(resolvedAnchorElement, tooltipRef.current, {
      placement: rtlPlacement,
      ...popperOptions,
      modifiers: popperModifiers
    });
    handlePopperRefRef.current(popper);
    const popperElement = tooltipRef.current;
    return () => {
      // popper.destroy() clears all inline positioning via the applyStyles
      // modifier cleanup, which causes the element to jump to its static
      // position. Snapshot and restore only the positioning properties so the
      // element stays in place during the destroy/recreate gap (prevents scroll
      // jumps when a child focuses between the two).
      // https://github.com/mui/mui-x/issues/21839
      if (popperElement) {
        const {
          style
        } = popperElement;
        const position = style.position;
        const top = style.top;
        const left = style.left;
        const transform = style.transform;
        popper.destroy();
        style.position = position;
        style.top = top;
        style.left = left;
        style.transform = transform;
      } else {
        popper.destroy();
      }
      handlePopperRefRef.current(null);
    };
  }, [resolvedAnchorElement, disablePortal, modifiers, open, popperOptions, rtlPlacement]);
  const childProps = {
    placement: placement
  };
  if (TransitionProps !== null) {
    childProps.TransitionProps = TransitionProps;
  }
  const classes = useUtilityClasses(props);
  const Root = slots.root ?? 'div';
  const rootProps = (0,_mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_10__["default"])({
    elementType: Root,
    externalSlotProps: slotProps.root,
    externalForwardedProps: other,
    additionalProps: {
      role: 'tooltip',
      ref: ownRef
    },
    ownerState: props,
    className: classes.root
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Root, {
    ...rootProps,
    children: typeof children === 'function' ? children(childProps) : children
  });
});

/**
 * @ignore - internal component.
 */
const Popper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Popper(props, forwardedRef) {
  const {
    anchorEl,
    children,
    container: containerProp,
    direction = 'ltr',
    disablePortal = false,
    keepMounted = false,
    modifiers,
    open,
    placement = 'bottom',
    popperOptions = defaultPopperOptions,
    popperRef,
    style,
    transition = false,
    slotProps = {},
    slots = {},
    ...other
  } = props;
  const [exited, setExited] = react__WEBPACK_IMPORTED_MODULE_0__.useState(true);
  const handleEnter = () => {
    setExited(false);
  };
  const handleExited = () => {
    setExited(true);
  };
  if (!keepMounted && !open && (!transition || exited)) {
    return null;
  }

  // If the container prop is provided, use that
  // If the anchorEl prop is provided, use its parent body element as the container
  // If neither are provided let the Modal take care of choosing the container
  let container;
  if (containerProp) {
    container = containerProp;
  } else if (anchorEl) {
    const resolvedAnchorEl = resolveAnchorEl(anchorEl);
    container = resolvedAnchorEl && isHTMLElement(resolvedAnchorEl) ? (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__["default"])(resolvedAnchorEl).body : (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_1__["default"])(null).body;
  }
  const display = !open && keepMounted && (!transition || exited) ? 'none' : undefined;
  const transitionProps = transition ? {
    in: open,
    onEnter: handleEnter,
    onExited: handleExited
  } : undefined;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_Portal_index_js__WEBPACK_IMPORTED_MODULE_12__["default"], {
    disablePortal: disablePortal,
    container: container,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(PopperTooltip, {
      anchorEl: anchorEl,
      direction: direction,
      disablePortal: disablePortal,
      modifiers: modifiers,
      ref: forwardedRef,
      open: transition ? !exited : open,
      placement: placement,
      popperOptions: popperOptions,
      popperRef: popperRef,
      slotProps: slotProps,
      slots: slots,
      ...other,
      style: {
        // 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,
        ...style
      },
      TransitionProps: transitionProps,
      children: children
    })
  });
});
 true ? Popper.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
   * or a function that returns either.
   * It's used to set the position of the popper.
   * The return value will passed as the reference object of the Popper instance.
   */
  anchorEl: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_5__["default"], prop_types__WEBPACK_IMPORTED_MODULE_8__.object, prop_types__WEBPACK_IMPORTED_MODULE_8__.func]), props => {
    if (props.open) {
      const resolvedAnchorEl = resolveAnchorEl(props.anchorEl);
      if (resolvedAnchorEl && isHTMLElement(resolvedAnchorEl) && resolvedAnchorEl.nodeType === 1) {
        const box = resolvedAnchorEl.getBoundingClientRect();
        if (true) {
          if ((0,_utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_11__["default"])() && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
            return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', "Make sure the element is present in the document or that it's not display none."].join('\n'));
          }
        }
      } else if (!resolvedAnchorEl || typeof resolvedAnchorEl.getBoundingClientRect !== 'function' || isVirtualElement(resolvedAnchorEl) && resolvedAnchorEl.contextElement != null && resolvedAnchorEl.contextElement.nodeType !== 1) {
        return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'It should be an HTML element instance or a virtualElement ', '(https://popper.js.org/docs/v2/virtual-elements/).'].join('\n'));
      }
    }
    return null;
  }),
  /**
   * Popper render function or node.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8__.node, prop_types__WEBPACK_IMPORTED_MODULE_8__.func]),
  /**
   * An HTML element or function that returns one.
   * The `container` will have the portal children appended to it.
   *
   * You can also provide a callback, which is called in a React layout effect.
   * This lets you set the container from a ref, and also makes server-side rendering possible.
   *
   * By default, it uses the body of the top-level document object,
   * so it's simply `document.body` most of the time.
   */
  container: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_5__["default"], prop_types__WEBPACK_IMPORTED_MODULE_8__.func]),
  /**
   * Direction of the text.
   * @default 'ltr'
   */
  direction: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOf(['ltr', 'rtl']),
  /**
   * The `children` will be under the DOM hierarchy of the parent component.
   * @default false
   */
  disablePortal: prop_types__WEBPACK_IMPORTED_MODULE_8__.bool,
  /**
   * Always keep the children in the DOM.
   * This prop can be useful in SEO situation or
   * when you want to maximize the responsiveness of the Popper.
   * @default false
   */
  keepMounted: prop_types__WEBPACK_IMPORTED_MODULE_8__.bool,
  /**
   * Popper.js is based on a "plugin-like" architecture,
   * most of its features are fully encapsulated "modifiers".
   *
   * A modifier is a function that is called each time Popper.js needs to
   * compute the position of the popper.
   * For this reason, modifiers should be very performant to avoid bottlenecks.
   * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
   */
  modifiers: prop_types__WEBPACK_IMPORTED_MODULE_8__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8__.shape({
    data: prop_types__WEBPACK_IMPORTED_MODULE_8__.object,
    effect: prop_types__WEBPACK_IMPORTED_MODULE_8__.func,
    enabled: prop_types__WEBPACK_IMPORTED_MODULE_8__.bool,
    fn: prop_types__WEBPACK_IMPORTED_MODULE_8__.func,
    name: prop_types__WEBPACK_IMPORTED_MODULE_8__.any,
    options: prop_types__WEBPACK_IMPORTED_MODULE_8__.object,
    phase: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),
    requires: prop_types__WEBPACK_IMPORTED_MODULE_8__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8__.string),
    requiresIfExists: prop_types__WEBPACK_IMPORTED_MODULE_8__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_8__.string)
  })),
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_8__.bool.isRequired,
  /**
   * Popper placement.
   * @default 'bottom'
   */
  placement: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
  /**
   * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
   * @default {}
   */
  popperOptions: prop_types__WEBPACK_IMPORTED_MODULE_8__.shape({
    modifiers: prop_types__WEBPACK_IMPORTED_MODULE_8__.array,
    onFirstUpdate: prop_types__WEBPACK_IMPORTED_MODULE_8__.func,
    placement: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
    strategy: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOf(['absolute', 'fixed'])
  }),
  /**
   * A ref that points to the used popper instance.
   */
  popperRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_6__["default"],
  /**
   * The props used for each slot inside the Popper.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_8__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_8__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8__.func, prop_types__WEBPACK_IMPORTED_MODULE_8__.object])
  }),
  /**
   * The components used for each slot inside the Popper.
   * Either a string to use a HTML element or a component.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_8__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_8__.elementType
  }),
  /**
   * Help supporting a react-transition-group/Transition component.
   * @default false
   */
  transition: prop_types__WEBPACK_IMPORTED_MODULE_8__.bool
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Popper);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/HTMLElementType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _BasePopper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BasePopper.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/BasePopper.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const PopperRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_BasePopper_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
  name: 'MuiPopper',
  slot: 'Root'
})({});

/**
 *
 * Demos:
 *
 * - [Autocomplete](https://v7.mui.com/material-ui/react-autocomplete/)
 * - [Menu](https://v7.mui.com/material-ui/react-menu/)
 * - [Popper](https://v7.mui.com/material-ui/react-popper/)
 *
 * API:
 *
 * - [Popper API](https://v7.mui.com/material-ui/api/popper/)
 */
const Popper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.forwardRef(function Popper(inProps, ref) {
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_0__.useRtl)();
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiPopper'
  });
  const {
    anchorEl,
    component,
    components,
    componentsProps,
    container,
    disablePortal,
    keepMounted,
    modifiers,
    open,
    placement,
    popperOptions,
    popperRef,
    transition,
    slots,
    slotProps,
    ...other
  } = props;
  const RootComponent = slots?.root ?? components?.Root;
  const otherProps = {
    anchorEl,
    container,
    disablePortal,
    keepMounted,
    modifiers,
    open,
    placement,
    popperOptions,
    popperRef,
    transition,
    ...other
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(PopperRoot, {
    as: component,
    direction: isRtl ? 'rtl' : 'ltr',
    slots: {
      root: RootComponent
    },
    slotProps: slotProps ?? componentsProps,
    ...otherProps,
    ref: ref
  });
});
 true ? Popper.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
   * or a function that returns either.
   * It's used to set the position of the popper.
   * The return value will passed as the reference object of the Popper instance.
   */
  anchorEl: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_2__["default"], prop_types__WEBPACK_IMPORTED_MODULE_3__.object, prop_types__WEBPACK_IMPORTED_MODULE_3__.func]),
  /**
   * Popper render function or node.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.node, prop_types__WEBPACK_IMPORTED_MODULE_3__.func]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType,
  /**
   * The components used for each slot inside the Popper.
   * Either a string to use a HTML element or a component.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    Root: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType
  }),
  /**
   * The props used for each slot inside the Popper.
   *
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object])
  }),
  /**
   * An HTML element or function that returns one.
   * The `container` will have the portal children appended to it.
   *
   * You can also provide a callback, which is called in a React layout effect.
   * This lets you set the container from a ref, and also makes server-side rendering possible.
   *
   * By default, it uses the body of the top-level document object,
   * so it's simply `document.body` most of the time.
   */
  container: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_2__["default"], prop_types__WEBPACK_IMPORTED_MODULE_3__.func]),
  /**
   * The `children` will be under the DOM hierarchy of the parent component.
   * @default false
   */
  disablePortal: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * Always keep the children in the DOM.
   * This prop can be useful in SEO situation or
   * when you want to maximize the responsiveness of the Popper.
   * @default false
   */
  keepMounted: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
  /**
   * Popper.js is based on a "plugin-like" architecture,
   * most of its features are fully encapsulated "modifiers".
   *
   * A modifier is a function that is called each time Popper.js needs to
   * compute the position of the popper.
   * For this reason, modifiers should be very performant to avoid bottlenecks.
   * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
   */
  modifiers: prop_types__WEBPACK_IMPORTED_MODULE_3__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    data: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
    effect: prop_types__WEBPACK_IMPORTED_MODULE_3__.func,
    enabled: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool,
    fn: prop_types__WEBPACK_IMPORTED_MODULE_3__.func,
    name: prop_types__WEBPACK_IMPORTED_MODULE_3__.any,
    options: prop_types__WEBPACK_IMPORTED_MODULE_3__.object,
    phase: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),
    requires: prop_types__WEBPACK_IMPORTED_MODULE_3__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3__.string),
    requiresIfExists: prop_types__WEBPACK_IMPORTED_MODULE_3__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3__.string)
  })),
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool.isRequired,
  /**
   * Popper placement.
   * @default 'bottom'
   */
  placement: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
  /**
   * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
   * @default {}
   */
  popperOptions: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    modifiers: prop_types__WEBPACK_IMPORTED_MODULE_3__.array,
    onFirstUpdate: prop_types__WEBPACK_IMPORTED_MODULE_3__.func,
    placement: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
    strategy: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOf(['absolute', 'fixed'])
  }),
  /**
   * A ref that points to the used popper instance.
   */
  popperRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_1__["default"],
  /**
   * The props used for each slot inside the Popper.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object])
  }),
  /**
   * The components used for each slot inside the Popper.
   * Either a string to use a HTML element or a component.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_3__.shape({
    root: prop_types__WEBPACK_IMPORTED_MODULE_3__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_3__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object, prop_types__WEBPACK_IMPORTED_MODULE_3__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_3__.func, prop_types__WEBPACK_IMPORTED_MODULE_3__.object]),
  /**
   * Help supporting a react-transition-group/Transition component.
   * @default false
   */
  transition: prop_types__WEBPACK_IMPORTED_MODULE_3__.bool
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Popper);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/popperClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/popperClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getPopperUtilityClass: () => (/* binding */ getPopperUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getPopperUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiPopper', slot);
}
const popperClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiPopper', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (popperClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Portal/Portal.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Portal/Portal.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _mui_utils_setRef__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/setRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/setRef/setRef.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
/* harmony import */ var _mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils/exactProp */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js");
/* harmony import */ var _mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/utils/HTMLElementType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
'use client';










function getContainer(container) {
  return typeof container === 'function' ? container() : container;
}

/**
 * Portals provide a first-class way to render children into a DOM node
 * that exists outside the DOM hierarchy of the parent component.
 *
 * Demos:
 *
 * - [Portal](https://v7.mui.com/material-ui/react-portal/)
 *
 * API:
 *
 * - [Portal API](https://v7.mui.com/material-ui/api/portal/)
 */
const Portal = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Portal(props, forwardedRef) {
  const {
    children,
    container,
    disablePortal = false
  } = props;
  const [mountNode, setMountNode] = react__WEBPACK_IMPORTED_MODULE_0__.useState(null);
  const handleRef = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__["default"])(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(children) ? (0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_6__["default"])(children) : null, forwardedRef);
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_3__["default"])(() => {
    if (!disablePortal) {
      setMountNode(getContainer(container) || document.body);
    }
  }, [container, disablePortal]);
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_3__["default"])(() => {
    if (mountNode && !disablePortal) {
      (0,_mui_utils_setRef__WEBPACK_IMPORTED_MODULE_5__["default"])(forwardedRef, mountNode);
      return () => {
        (0,_mui_utils_setRef__WEBPACK_IMPORTED_MODULE_5__["default"])(forwardedRef, null);
      };
    }
    return undefined;
  }, [forwardedRef, mountNode, disablePortal]);
  if (disablePortal) {
    if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(children)) {
      const newProps = {
        ref: handleRef
      };
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, newProps);
    }
    return children;
  }
  return mountNode ? /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal(children, mountNode) : mountNode;
});
 true ? Portal.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The children to render into the `container`.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * An HTML element or function that returns one.
   * The `container` will have the portal children appended to it.
   *
   * You can also provide a callback, which is called in a React layout effect.
   * This lets you set the container from a ref, and also makes server-side rendering possible.
   *
   * By default, it uses the body of the top-level document object,
   * so it's simply `document.body` most of the time.
   */
  container: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_8__["default"], prop_types__WEBPACK_IMPORTED_MODULE_2__.func]),
  /**
   * The `children` will be under the DOM hierarchy of the parent component.
   * @default false
   */
  disablePortal: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool
} : 0;
if (true) {
  // eslint-disable-next-line
  Portal['propTypes' + ''] = (0,_mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_7__["default"])(Portal.propTypes);
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Portal);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/Radio.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/Radio.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _internal_SwitchBase_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal/SwitchBase.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/SwitchBase.js");
/* harmony import */ var _RadioButtonIcon_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RadioButtonIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/RadioButtonIcon.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_createChainedFunction_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/createChainedFunction.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createChainedFunction.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _RadioGroup_useRadioGroup_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../RadioGroup/useRadioGroup.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/useRadioGroup.js");
/* harmony import */ var _radioClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./radioClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/radioClasses.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';




















const useUtilityClasses = ownerState => {
  const {
    classes,
    color,
    size
  } = ownerState;
  const slots = {
    root: ['root', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(color)}`, size !== 'medium' && `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(size)}`]
  };
  return {
    ...classes,
    ...(0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _radioClasses_js__WEBPACK_IMPORTED_MODULE_11__.getRadioUtilityClass, classes)
  };
};
const RadioRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_13__["default"])(_internal_SwitchBase_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_12__["default"])(prop) || prop === 'classes',
  name: 'MuiRadio',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.size !== 'medium' && styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(ownerState.size)}`], styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_7__["default"])(ownerState.color)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_14__["default"])(({
  theme
}) => ({
  color: (theme.vars || theme).palette.text.secondary,
  [`&.${_radioClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
    color: (theme.vars || theme).palette.action.disabled
  },
  variants: [{
    props: {
      color: 'default',
      disabled: false,
      disableRipple: false
    },
    style: {
      '&:hover': {
        backgroundColor: theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity)
      }
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_15__["default"])()).map(([color]) => ({
    props: {
      color,
      disabled: false,
      disableRipple: false
    },
    style: {
      '&:hover': {
        backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)
      }
    }
  })), ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_15__["default"])()).map(([color]) => ({
    props: {
      color,
      disabled: false
    },
    style: {
      [`&.${_radioClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].checked}`]: {
        color: (theme.vars || theme).palette[color].main
      }
    }
  })), {
    // Should be last to override other colors
    props: {
      disableRipple: false
    },
    style: {
      // Reset on touch devices, it doesn't add specificity
      '&:hover': {
        '@media (hover: none)': {
          backgroundColor: 'transparent'
        }
      }
    }
  }]
})));
function areEqualValues(a, b) {
  if (typeof b === 'object' && b !== null) {
    return a === b;
  }

  // The value could be a number, the DOM will stringify it anyway.
  return String(a) === String(b);
}
const defaultCheckedIcon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_RadioButtonIcon_js__WEBPACK_IMPORTED_MODULE_6__["default"], {
  checked: true
});
const defaultIcon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_RadioButtonIcon_js__WEBPACK_IMPORTED_MODULE_6__["default"], {});
const Radio = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Radio(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_17__.useDefaultProps)({
    props: inProps,
    name: 'MuiRadio'
  });
  const {
    checked: checkedProp,
    checkedIcon = defaultCheckedIcon,
    color = 'primary',
    icon = defaultIcon,
    name: nameProp,
    onChange: onChangeProp,
    size = 'medium',
    className,
    disabled: disabledProp,
    disableRipple = false,
    slots = {},
    slotProps = {},
    inputProps,
    ...other
  } = props;
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_9__["default"])();
  let disabled = disabledProp;
  if (muiFormControl) {
    if (typeof disabled === 'undefined') {
      disabled = muiFormControl.disabled;
    }
  }
  disabled ??= false;
  const ownerState = {
    ...props,
    disabled,
    disableRipple,
    color,
    size
  };
  const classes = useUtilityClasses(ownerState);
  const radioGroup = (0,_RadioGroup_useRadioGroup_js__WEBPACK_IMPORTED_MODULE_10__["default"])();
  let checked = checkedProp;
  const onChange = (0,_utils_createChainedFunction_js__WEBPACK_IMPORTED_MODULE_8__["default"])(onChangeProp, radioGroup && radioGroup.onChange);
  let name = nameProp;
  if (radioGroup) {
    if (typeof checked === 'undefined') {
      checked = areEqualValues(radioGroup.value, props.value);
    }
    if (typeof name === 'undefined') {
      name = radioGroup.name;
    }
  }
  const externalInputProps = slotProps.input ?? inputProps;
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('root', {
    ref,
    elementType: RadioRoot,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    shouldForwardComponentProp: true,
    externalForwardedProps: {
      slots,
      slotProps,
      ...other
    },
    getSlotProps: handlers => ({
      ...handlers,
      onChange: (event, ...args) => {
        handlers.onChange?.(event, ...args);
        onChange(event, ...args);
      }
    }),
    ownerState,
    additionalProps: {
      type: 'radio',
      icon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(icon, {
        fontSize: icon.props.fontSize ?? size
      }),
      checkedIcon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(checkedIcon, {
        fontSize: checkedIcon.props.fontSize ?? size
      }),
      disabled,
      name,
      checked,
      slots,
      slotProps: {
        // Do not forward `slotProps.root` again because it's already handled by the `RootSlot` in this file.
        input: typeof externalInputProps === 'function' ? externalInputProps(ownerState) : externalInputProps
      }
    }
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(RootSlot, {
    ...rootSlotProps,
    classes: classes
  });
});
 true ? Radio.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the component is checked.
   */
  checked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display when the component is checked.
   * @default <RadioButtonIcon checked />
   */
  checkedIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the component is disabled.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display when the component is unchecked.
   * @default <RadioButtonIcon />
   */
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Pass a ref to the `input` element.
   * @deprecated Use `slotProps.input.ref` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * Name attribute of the `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Callback fired when the state is changed.
   *
   * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   * You can pull out the new checked state by accessing `event.target.checked` (boolean).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the `input` element is required.
   * @default false
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * `small` is equivalent to the dense radio styling.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The value of the component. The DOM API casts this to a string.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Radio);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/RadioButtonIcon.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/RadioButtonIcon.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _internal_svg_icons_RadioButtonUnchecked_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal/svg-icons/RadioButtonUnchecked.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/RadioButtonUnchecked.js");
/* harmony import */ var _internal_svg_icons_RadioButtonChecked_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/svg-icons/RadioButtonChecked.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/RadioButtonChecked.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';








const RadioButtonIconRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('span', {
  name: 'MuiRadioButtonIcon',
  shouldForwardProp: _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_3__["default"]
})({
  position: 'relative',
  display: 'flex'
});
const RadioButtonIconBackground = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_internal_svg_icons_RadioButtonUnchecked_js__WEBPACK_IMPORTED_MODULE_1__["default"], {
  name: 'MuiRadioButtonIcon'
})({
  // Scale applied to prevent dot misalignment in Safari
  transform: 'scale(1)'
});
const RadioButtonIconDot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_internal_svg_icons_RadioButtonChecked_js__WEBPACK_IMPORTED_MODULE_2__["default"], {
  name: 'MuiRadioButtonIcon'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  left: 0,
  position: 'absolute',
  transform: 'scale(0)',
  transition: theme.transitions.create('transform', {
    easing: theme.transitions.easing.easeIn,
    duration: theme.transitions.duration.shortest
  }),
  variants: [{
    props: {
      checked: true
    },
    style: {
      transform: 'scale(1)',
      transition: theme.transitions.create('transform', {
        easing: theme.transitions.easing.easeOut,
        duration: theme.transitions.duration.shortest
      })
    }
  }]
})));

/**
 * @ignore - internal component.
 */
function RadioButtonIcon(props) {
  const {
    checked = false,
    classes = {},
    fontSize
  } = props;
  const ownerState = {
    ...props,
    checked
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(RadioButtonIconRoot, {
    className: classes.root,
    ownerState: ownerState,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(RadioButtonIconBackground, {
      fontSize: fontSize,
      className: classes.background,
      ownerState: ownerState
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(RadioButtonIconDot, {
      fontSize: fontSize,
      className: classes.dot,
      ownerState: ownerState
    })]
  });
}
 true ? RadioButtonIcon.propTypes /* remove-proptypes */ = {
  /**
   * If `true`, the component is checked.
   */
  checked: prop_types__WEBPACK_IMPORTED_MODULE_0__.bool,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
  /**
   * The size of the component.
   * `small` is equivalent to the dense radio styling.
   */
  fontSize: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['small', 'medium'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RadioButtonIcon);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/radioClasses.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Radio/radioClasses.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getRadioUtilityClass: () => (/* binding */ getRadioUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getRadioUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiRadio', slot);
}
const radioClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiRadio', ['root', 'checked', 'disabled', 'colorPrimary', 'colorSecondary', 'sizeSmall']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (radioClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroup.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroup.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _FormGroup_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../FormGroup/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormGroup/FormGroup.js");
/* harmony import */ var _radioGroupClasses_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./radioGroupClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/radioGroupClasses.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useControlled_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/useControlled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _RadioGroupContext_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./RadioGroupContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroupContext.js");
/* harmony import */ var _utils_useId_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/useId.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';












const useUtilityClasses = props => {
  const {
    classes,
    row,
    error
  } = props;
  const slots = {
    root: ['root', row && 'row', error && 'error']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _radioGroupClasses_js__WEBPACK_IMPORTED_MODULE_5__.getRadioGroupUtilityClass, classes);
};
const RadioGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function RadioGroup(props, ref) {
  const {
    // private
    // eslint-disable-next-line react/prop-types
    actions,
    children,
    className,
    defaultValue,
    name: nameProp,
    onChange,
    value: valueProp,
    ...other
  } = props;
  const rootRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const classes = useUtilityClasses(props);
  const [value, setValueState] = (0,_utils_useControlled_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
    controlled: valueProp,
    default: defaultValue,
    name: 'RadioGroup'
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(actions, () => ({
    focus: () => {
      let input = rootRef.current.querySelector('input:not(:disabled):checked');
      if (!input) {
        input = rootRef.current.querySelector('input:not(:disabled)');
      }
      if (input) {
        input.focus();
      }
    }
  }), []);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_6__["default"])(ref, rootRef);
  const name = (0,_utils_useId_js__WEBPACK_IMPORTED_MODULE_9__["default"])(nameProp);
  const contextValue = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    name,
    onChange(event) {
      setValueState(event.target.value);
      if (onChange) {
        onChange(event, event.target.value);
      }
    },
    value
  }), [name, onChange, setValueState, value]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_RadioGroupContext_js__WEBPACK_IMPORTED_MODULE_8__["default"].Provider, {
    value: contextValue,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_FormGroup_index_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
      role: "radiogroup",
      ref: handleRef,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ...other,
      children: children
    })
  });
});
 true ? RadioGroup.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * The name used to reference the value of the control.
   * If you don't provide this prop, it falls back to a randomly generated name.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Callback fired when a radio button is selected.
   *
   * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
   * @param {string} value The value of the selected radio button.
   * You can pull out the new value by accessing `event.target.value` (string).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Value of the selected radio button. The DOM API casts this to a string.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RadioGroup);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroupContext.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroupContext.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


/**
 * @ignore - internal component.
 */
const RadioGroupContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);
if (true) {
  RadioGroupContext.displayName = 'RadioGroupContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RadioGroupContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/radioGroupClasses.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/radioGroupClasses.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getRadioGroupUtilityClass: () => (/* binding */ getRadioGroupUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getRadioGroupUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiRadioGroup', slot);
}
const radioGroupClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiRadioGroup', ['root', 'row', 'error']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (radioGroupClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/useRadioGroup.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/useRadioGroup.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useRadioGroup)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _RadioGroupContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./RadioGroupContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/RadioGroup/RadioGroupContext.js");
'use client';



function useRadioGroup() {
  return react__WEBPACK_IMPORTED_MODULE_0__.useContext(_RadioGroupContext_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
/* harmony import */ var _SelectInput_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SelectInput.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/SelectInput.js");
/* harmony import */ var _FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../FormControl/formControlState.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/formControlState.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _internal_svg_icons_ArrowDropDown_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internal/svg-icons/ArrowDropDown.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js");
/* harmony import */ var _Input_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Input/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/Input.js");
/* harmony import */ var _NativeSelect_NativeSelectInput_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../NativeSelect/NativeSelectInput.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js");
/* harmony import */ var _FilledInput_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../FilledInput/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/FilledInput.js");
/* harmony import */ var _OutlinedInput_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../OutlinedInput/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _selectClasses_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./selectClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/selectClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';





















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _selectClasses_js__WEBPACK_IMPORTED_MODULE_18__.getSelectUtilityClasses, classes);
  return {
    ...classes,
    ...composedClasses
  };
};
const styledRootConfig = {
  name: 'MuiSelect',
  slot: 'Root',
  shouldForwardProp: prop => (0,_styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_17__["default"])(prop) && prop !== 'variant'
};
const StyledInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_16__["default"])(_Input_index_js__WEBPACK_IMPORTED_MODULE_10__["default"], styledRootConfig)('');
const StyledOutlinedInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_16__["default"])(_OutlinedInput_index_js__WEBPACK_IMPORTED_MODULE_13__["default"], styledRootConfig)('');
const StyledFilledInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_16__["default"])(_FilledInput_index_js__WEBPACK_IMPORTED_MODULE_12__["default"], styledRootConfig)('');
const Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Select(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_14__.useDefaultProps)({
    name: 'MuiSelect',
    props: inProps
  });
  const {
    autoWidth = false,
    children,
    classes: classesProp = {},
    className,
    defaultOpen = false,
    displayEmpty = false,
    IconComponent = _internal_svg_icons_ArrowDropDown_js__WEBPACK_IMPORTED_MODULE_9__["default"],
    id,
    input,
    inputProps,
    label,
    labelId,
    MenuProps,
    multiple = false,
    native = false,
    onClose,
    onOpen,
    open,
    renderValue,
    SelectDisplayProps,
    variant: variantProp = 'outlined',
    ...other
  } = props;
  const inputComponent = native ? _NativeSelect_NativeSelectInput_js__WEBPACK_IMPORTED_MODULE_11__["default"] : _SelectInput_js__WEBPACK_IMPORTED_MODULE_6__["default"];
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const fcs = (0,_FormControl_formControlState_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
    props,
    muiFormControl,
    states: ['variant', 'error']
  });
  const variant = fcs.variant || variantProp;
  const ownerState = {
    ...props,
    variant,
    classes: classesProp
  };
  const classes = useUtilityClasses(ownerState);
  const {
    root,
    ...restOfClasses
  } = classes;
  const InputComponent = input || {
    standard: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(StyledInput, {
      ownerState: ownerState
    }),
    outlined: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(StyledOutlinedInput, {
      label: label,
      ownerState: ownerState
    }),
    filled: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(StyledFilledInput, {
      ownerState: ownerState
    })
  }[variant];
  const inputComponentRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_15__["default"])(ref, (0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_5__["default"])(InputComponent));
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(InputComponent, {
      // Most of the logic is implemented in `SelectInput`.
      // The `Select` component is a simple API wrapper to expose something better to play with.
      inputComponent,
      inputProps: {
        children,
        error: fcs.error,
        IconComponent,
        variant,
        type: undefined,
        // We render a select. We can ignore the type provided by the `Input`.
        multiple,
        ...(native ? {
          id
        } : {
          autoWidth,
          defaultOpen,
          displayEmpty,
          labelId,
          MenuProps,
          onClose,
          onOpen,
          open,
          renderValue,
          SelectDisplayProps: {
            id,
            ...SelectDisplayProps
          }
        }),
        ...inputProps,
        classes: inputProps ? (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_3__["default"])(restOfClasses, inputProps.classes) : restOfClasses,
        ...(input ? input.props.inputProps : {})
      },
      ...((multiple && native || displayEmpty) && variant === 'outlined' ? {
        notched: true
      } : {}),
      ref: inputComponentRef,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(InputComponent.props.className, className, classes.root),
      // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
      ...(!input && {
        variant
      }),
      ...other
    })
  });
});
 true ? Select.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the width of the popover will automatically be set according to the items inside the
   * menu, otherwise it will be at least the width of the select input.
   * @default false
   */
  autoWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The option elements to populate the select with.
   * Can be some `MenuItem` when `native` is false and `option` when `native` is true.
   *
   * ⚠️The `MenuItem` elements **must** be direct descendants when `native` is false.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   * @default {}
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the component is initially open. Use when the component open state is not controlled (i.e. the `open` prop is not defined).
   * You can only use it when the `native` prop is `false` (default).
   * @default false
   */
  defaultOpen: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * If `true`, a value is displayed even if no items are selected.
   *
   * In order to display a meaningful value, a function can be passed to the `renderValue` prop which
   * returns the value to be displayed when no items are selected.
   *
   * ⚠️ When using this prop, make sure the label doesn't overlap with the empty displayed value.
   * The label should either be hidden or forced to a shrunk state.
   * @default false
   */
  displayEmpty: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon that displays the arrow.
   * @default ArrowDropDownIcon
   */
  IconComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The `id` of the wrapper element or the `select` element when `native`.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * An `Input` element; does not have to be a material-ui specific `Input`.
   */
  input: prop_types__WEBPACK_IMPORTED_MODULE_1__.element,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * When `native` is `true`, the attributes are applied on the `select` element.
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * See [OutlinedInput#label](https://mui.com/material-ui/api/outlined-input/#props)
   */
  label: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The ID of an element that acts as an additional label. The Select will
   * be labelled by the additional label and the selected value.
   */
  labelId: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Props applied to the [`Menu`](https://mui.com/material-ui/api/menu/) element.
   */
  MenuProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * If `true`, `value` must be an array and the menu will support multiple selections.
   * @default false
   */
  multiple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component uses a native `select` element.
   * @default false
   */
  native: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Callback fired when a menu item is selected.
   *
   * @param {SelectChangeEvent<Value>} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (any).
   * **Warning**: This is a generic event, not a change event, unless the change event is caused by browser autofill.
   * @param {object} [child] The react element that was selected when `native` is `false` (default).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the component requests to be closed.
   * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapses).
   *
   * @param {object} event The event source of the callback.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the component requests to be opened.
   * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select expands).
   *
   * @param {object} event The event source of the callback.
   */
  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   * You can only use it when the `native` prop is `false` (default).
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Render the selected value.
   * You can only use it when the `native` prop is `false` (default).
   *
   * @param {any} value The `value` provided to the component.
   * @returns {ReactNode}
   */
  renderValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Props applied to the clickable div element.
   */
  SelectDisplayProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The `input` value. Providing an empty string will select no options.
   * Set to an empty string `''` if you don't want any of the available options to be selected.
   *
   * If the value is an object it must have reference equality with the option in order to be selected.
   * If the value is not an object, the string representation must match with the string representation of the option in order to be selected.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['']), prop_types__WEBPACK_IMPORTED_MODULE_1__.any]),
  /**
   * The variant to use.
   * @default 'outlined'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined', 'standard'])
} : 0;
Select.muiName = 'Select';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Select);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/SelectInput.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/SelectInput.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_useId__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/useId */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/ownerDocument.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _Menu_Menu_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Menu/Menu.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Menu/Menu.js");
/* harmony import */ var _NativeSelect_NativeSelectInput_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../NativeSelect/NativeSelectInput.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/NativeSelect/NativeSelectInput.js");
/* harmony import */ var _InputBase_utils_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../InputBase/utils.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/utils.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _styles_slotShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../styles/slotShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useControlled_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/useControlled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _selectClasses_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./selectClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/selectClasses.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/getOpenInteractionType.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/isEmpty.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/areEqualValues.js");
/* harmony import */ var _utils_SelectFocusSourceContext_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./utils/SelectFocusSourceContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/SelectFocusSourceContext.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';


var _span;




















const SelectSelect = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(_NativeSelect_NativeSelectInput_js__WEBPACK_IMPORTED_MODULE_10__.StyledSelectSelect, {
  name: 'MuiSelect',
  slot: 'Select',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [
    // Win specificity over the input base
    {
      [`&.${_selectClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].select}`]: styles.select
    }, {
      [`&.${_selectClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].select}`]: styles[ownerState.variant]
    }, {
      [`&.${_selectClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].error}`]: styles.error
    }, {
      [`&.${_selectClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].multiple}`]: styles.multiple
    }];
  }
})({
  // Win specificity over the input base
  [`&.${_selectClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].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'
  }
});
const SelectIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(_NativeSelect_NativeSelectInput_js__WEBPACK_IMPORTED_MODULE_10__.StyledSelectIcon, {
  name: 'MuiSelect',
  slot: 'Icon',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.icon, ownerState.variant && styles[`icon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(ownerState.variant)}`], ownerState.open && styles.iconOpen];
  }
})({});
const SelectNativeInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])('input', {
  shouldForwardProp: prop => (0,_styles_slotShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_13__["default"])(prop) && prop !== 'classes',
  name: 'MuiSelect',
  slot: 'NativeInput'
})({
  bottom: 0,
  left: 0,
  position: 'absolute',
  opacity: 0,
  pointerEvents: 'none',
  width: '100%',
  boxSizing: 'border-box'
});
const useUtilityClasses = ownerState => {
  const {
    classes,
    variant,
    disabled,
    multiple,
    open,
    error
  } = ownerState;
  const slots = {
    select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],
    icon: ['icon', `icon${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(variant)}`, open && 'iconOpen', disabled && 'disabled'],
    nativeInput: ['nativeInput']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _selectClasses_js__WEBPACK_IMPORTED_MODULE_16__.getSelectUtilityClasses, classes);
};

/**
 * @ignore - internal component.
 */
const SelectInput = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function SelectInput(props, ref) {
  const {
    'aria-describedby': ariaDescribedby,
    'aria-label': ariaLabel,
    autoFocus,
    autoWidth,
    children,
    className,
    defaultOpen,
    defaultValue,
    disabled,
    displayEmpty,
    error = false,
    IconComponent,
    inputRef: inputRefProp,
    labelId,
    MenuProps = {},
    multiple,
    name,
    onBlur,
    onChange,
    onClose,
    onFocus,
    // eslint-disable-next-line react/prop-types
    onKeyDown,
    // eslint-disable-next-line react/prop-types
    onMouseDown,
    onOpen,
    open: openProp,
    readOnly,
    renderValue,
    required,
    SelectDisplayProps = {},
    tabIndex: tabIndexProp,
    // catching `type` from Input which makes no sense for SelectInput
    type,
    value: valueProp,
    variant = 'standard',
    ...other
  } = props;
  const [value, setValueState] = (0,_utils_useControlled_js__WEBPACK_IMPORTED_MODULE_15__["default"])({
    controlled: valueProp,
    default: defaultValue,
    name: 'Select'
  });
  const [openState, setOpenState] = (0,_utils_useControlled_js__WEBPACK_IMPORTED_MODULE_15__["default"])({
    controlled: openProp,
    default: defaultOpen,
    name: 'Select'
  });
  const inputRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const displayRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const [displayNode, setDisplayNode] = react__WEBPACK_IMPORTED_MODULE_0__.useState(null);
  const {
    current: isOpenControlled
  } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(openProp != null);
  const [menuMinWidthState, setMenuMinWidthState] = react__WEBPACK_IMPORTED_MODULE_0__.useState();
  const [openInteractionType, setOpenInteractionType] = react__WEBPACK_IMPORTED_MODULE_0__.useState(null);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_14__["default"])(ref, inputRefProp);
  const handleDisplayRef = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(node => {
    displayRef.current = node;
    if (node) {
      setDisplayNode(node);
    }
  }, []);
  const anchorElement = displayNode?.parentNode;
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(handleRef, () => ({
    focus: () => {
      displayRef.current.focus();
    },
    node: inputRef.current,
    value
  }), [value]);
  const open = displayNode !== null && openState;
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!open || !anchorElement || autoWidth) {
      return undefined;
    }
    if (typeof ResizeObserver === 'undefined') {
      return undefined;
    }
    const observer = new ResizeObserver(() => {
      setMenuMinWidthState(anchorElement.clientWidth);
    });
    observer.observe(anchorElement);
    return () => {
      observer.disconnect();
    };
  }, [open, anchorElement, autoWidth]);

  // Resize menu on `defaultOpen` automatic toggle.
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (defaultOpen && openState && displayNode && !isOpenControlled) {
      setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);
      displayRef.current.focus();
    }
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [displayNode, autoWidth]);
  // `isOpenControlled` is ignored because the component should never switch between controlled and uncontrolled modes.
  // `defaultOpen` and `openState` are ignored to avoid unnecessary callbacks.
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (autoFocus) {
      displayRef.current.focus();
    }
  }, [autoFocus]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!labelId) {
      return undefined;
    }
    const label = (0,_utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_7__["default"])(displayRef.current).getElementById(labelId);
    if (label) {
      const handler = () => {
        if (getSelection().isCollapsed) {
          displayRef.current.focus();
        }
      };
      label.addEventListener('click', handler);
      return () => {
        label.removeEventListener('click', handler);
      };
    }
    return undefined;
  }, [labelId]);
  const update = (openParam, event) => {
    if (openParam) {
      setOpenInteractionType((0,_utils_index_js__WEBPACK_IMPORTED_MODULE_17__["default"])(event));
      if (onOpen) {
        onOpen(event);
      }
    } else {
      setOpenInteractionType(null);
      if (onClose) {
        onClose(event);
      }
    }
    if (!isOpenControlled) {
      setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);
      setOpenState(openParam);
    }
  };
  const handleMouseDown = event => {
    onMouseDown?.(event);
    // Ignore everything but left-click
    if (event.button !== 0) {
      return;
    }
    // Hijack the default focus behavior.
    event.preventDefault();
    displayRef.current.focus();
    update(true, event);
  };
  const handleClose = event => {
    update(false, event);
  };
  const childrenArray = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(children);

  // Support autofill.
  const handleChange = event => {
    const child = childrenArray.find(childItem => childItem.props.value === event.target.value);
    if (child === undefined) {
      return;
    }
    setValueState(child.props.value);
    if (onChange) {
      onChange(event, child);
    }
  };
  const handleItemClick = child => event => {
    let newValue;

    // We use the tabindex attribute to signal the available options.
    if (!event.currentTarget.hasAttribute('tabindex')) {
      return;
    }
    if (multiple) {
      newValue = Array.isArray(value) ? value.slice() : [];
      const itemIndex = value.indexOf(child.props.value);
      if (itemIndex === -1) {
        newValue.push(child.props.value);
      } else {
        newValue.splice(itemIndex, 1);
      }
    } else {
      newValue = child.props.value;
    }
    if (child.props.onClick) {
      child.props.onClick(event);
    }
    if (value !== newValue) {
      setValueState(newValue);
      if (onChange) {
        // Redefine target to allow name and value to be read.
        // This allows seamless integration with the most popular form libraries.
        // https://github.com/mui/material-ui/issues/13485#issuecomment-676048492
        // Clone the event to not override `target` of the original event.
        const nativeEvent = event.nativeEvent || event;
        const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);
        Object.defineProperty(clonedEvent, 'target', {
          writable: true,
          value: {
            value: newValue,
            name
          }
        });
        onChange(clonedEvent, child);
      }
    }
    if (!multiple) {
      update(false, event);
    }
  };
  const handleKeyDown = event => {
    if (!readOnly) {
      const validKeys = [' ', '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'];
      if (validKeys.includes(event.key)) {
        event.preventDefault();
        update(true, event);
      }
      onKeyDown?.(event);
    }
  };
  const handleBlur = event => {
    // if open event.stopImmediatePropagation
    if (!open && onBlur) {
      // Preact support, target is read only property on a native event.
      Object.defineProperty(event, 'target', {
        writable: true,
        value: {
          value,
          name
        }
      });
      onBlur(event);
    }
  };
  delete other['aria-invalid'];
  let display;
  let displaySingle;
  const displayMultiple = [];
  let computeDisplay = false;
  let foundMatch = false;

  // No need to display any value if the field is empty.
  if ((0,_InputBase_utils_js__WEBPACK_IMPORTED_MODULE_11__.isFilled)({
    value
  }) || displayEmpty) {
    if (renderValue) {
      display = renderValue(value);
    } else {
      computeDisplay = true;
    }
  }
  const items = childrenArray.map(child => {
    if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child)) {
      return null;
    }
    if (true) {
      if ((0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)) {
        console.error(["MUI: The Select component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
      }
    }
    let selected;
    if (multiple) {
      if (!Array.isArray(value)) {
        throw new Error( true ? 'MUI: The `value` prop must be an array ' + 'when using the `Select` component with `multiple`.' : 0);
      }
      selected = value.some(v => (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(v, child.props.value));
      if (selected && computeDisplay) {
        displayMultiple.push(child.props.children);
      }
    } else {
      selected = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_19__["default"])(value, child.props.value);
      if (selected && computeDisplay) {
        displaySingle = child.props.children;
      }
    }
    if (selected) {
      foundMatch = true;
    }
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(child, {
      'aria-selected': selected ? 'true' : 'false',
      onClick: handleItemClick(child),
      onKeyUp: event => {
        if (event.key === ' ') {
          // otherwise our MenuItems dispatches a click event
          // it's not behavior of the native <option> and causes
          // the select to close immediately since we open on space keydown
          event.preventDefault();
        }
        if (child.props.onKeyUp) {
          child.props.onKeyUp(event);
        }
      },
      role: 'option',
      selected,
      value: undefined,
      // The value is most likely not a valid HTML attribute.
      'data-value': child.props.value // Instead, we provide it as a data attribute.
    });
  });
  if (true) {
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (!foundMatch && !multiple && value !== '') {
        const values = childrenArray.map(child => child.props.value);
        console.warn([`MUI: You have provided an out-of-range value \`${value}\` for the select ${name ? `(name="${name}") ` : ''}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${values.filter(x => x != null).map(x => `\`${x}\``).join(', ') || '""'}.`].join('\n'));
      }
    }, [foundMatch, childrenArray, multiple, name, value]);
  }
  if (computeDisplay) {
    if (multiple) {
      if (displayMultiple.length === 0) {
        display = null;
      } else {
        display = displayMultiple.reduce((output, child, index) => {
          output.push(child);
          if (index < displayMultiple.length - 1) {
            output.push(', ');
          }
          return output;
        }, []);
      }
    } else {
      display = displaySingle;
    }
  }

  // Avoid performing a layout computation in the render method.
  let menuMinWidth = menuMinWidthState;
  if (!autoWidth && isOpenControlled && displayNode) {
    menuMinWidth = anchorElement.clientWidth;
  }
  let tabIndex;
  if (typeof tabIndexProp !== 'undefined') {
    tabIndex = tabIndexProp;
  } else {
    tabIndex = disabled ? null : 0;
  }
  const buttonId = SelectDisplayProps.id || (name ? `mui-component-select-${name}` : undefined);
  const ownerState = {
    ...props,
    variant,
    value,
    open,
    error
  };
  const classes = useUtilityClasses(ownerState);
  const paperProps = {
    ...MenuProps.PaperProps,
    ...(typeof MenuProps.slotProps?.paper === 'function' ? MenuProps.slotProps.paper(ownerState) : MenuProps.slotProps?.paper)
  };
  const listProps = {
    ...MenuProps.MenuListProps,
    ...(typeof MenuProps.slotProps?.list === 'function' ? MenuProps.slotProps.list(ownerState) : MenuProps.slotProps?.list)
  };
  const listboxId = (0,_mui_utils_useId__WEBPACK_IMPORTED_MODULE_5__["default"])();
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(SelectSelect, {
      as: "div",
      ref: handleDisplayRef,
      tabIndex: tabIndex,
      role: "combobox",
      "aria-controls": open ? listboxId : undefined,
      "aria-disabled": disabled ? 'true' : undefined,
      "aria-expanded": open ? 'true' : 'false',
      "aria-haspopup": "listbox",
      "aria-label": ariaLabel,
      "aria-labelledby": [labelId, buttonId].filter(Boolean).join(' ') || undefined,
      "aria-describedby": ariaDescribedby,
      "aria-required": required ? 'true' : undefined,
      "aria-invalid": error ? 'true' : undefined,
      onKeyDown: handleKeyDown,
      onMouseDown: disabled || readOnly ? null : handleMouseDown,
      onBlur: handleBlur,
      onFocus: onFocus,
      ...SelectDisplayProps,
      ownerState: ownerState,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(SelectDisplayProps.className, classes.select, className)
      // The id is required for proper a11y
      ,
      id: buttonId,
      children: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_18__["default"])(display) ? // notranslate needed while Google Translate will not fix zero-width space issue
      _span || (_span = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)("span", {
        className: "notranslate",
        "aria-hidden": true,
        children: "\u200B"
      })) : display
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(SelectNativeInput, {
      "aria-invalid": error,
      value: Array.isArray(value) ? value.join(',') : value,
      name: name,
      ref: inputRef,
      "aria-hidden": true,
      onChange: handleChange,
      tabIndex: -1,
      disabled: disabled,
      className: classes.nativeInput,
      autoFocus: autoFocus,
      required: required,
      ...other,
      ownerState: ownerState
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(SelectIcon, {
      as: IconComponent,
      className: classes.icon,
      ownerState: ownerState
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(_utils_SelectFocusSourceContext_js__WEBPACK_IMPORTED_MODULE_20__.SelectFocusSourceProvider, {
      value: openInteractionType,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(_Menu_Menu_js__WEBPACK_IMPORTED_MODULE_9__["default"], {
        id: `menu-${name || ''}`,
        anchorEl: anchorElement,
        open: open,
        onClose: handleClose,
        anchorOrigin: {
          vertical: 'bottom',
          horizontal: 'center'
        },
        transformOrigin: {
          vertical: 'top',
          horizontal: 'center'
        },
        ...MenuProps,
        slotProps: {
          ...MenuProps.slotProps,
          list: {
            'aria-labelledby': labelId,
            role: 'listbox',
            'aria-multiselectable': multiple ? 'true' : undefined,
            disableListWrap: true,
            id: listboxId,
            ...listProps
          },
          paper: {
            ...paperProps,
            style: {
              minWidth: menuMinWidth,
              ...(paperProps != null ? paperProps.style : null)
            }
          }
        },
        children: items
      })
    })]
  });
});
 true ? SelectInput.propTypes = {
  /**
   * @ignore
   */
  'aria-describedby': prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * @ignore
   */
  'aria-label': prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * @ignore
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, the width of the popover will automatically be set according to the items inside the
   * menu, otherwise it will be at least the width of the select input.
   */
  autoWidth: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * The option elements to populate the select with.
   * Can be some `<MenuItem>` elements.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * The CSS class name of the select element.
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * If `true`, the component is toggled on mount. Use when the component open state is not controlled.
   * You can only use it when the `native` prop is `false` (default).
   */
  defaultOpen: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_2__.any,
  /**
   * If `true`, the select is disabled.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, the selected item is displayed even if its value is empty.
   */
  displayEmpty: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, the `select input` will indicate an error.
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * The icon that displays the arrow.
   */
  IconComponent: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType.isRequired,
  /**
   * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
   * Equivalent to `ref`
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_6__["default"],
  /**
   * The ID of an element that acts as an additional label. The Select will
   * be labelled by the additional label and the selected value.
   */
  labelId: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * Props applied to the [`Menu`](/material-ui/api/menu/) element.
   */
  MenuProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * If `true`, `value` must be an array and the menu will support multiple selections.
   */
  multiple: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Name attribute of the `select` or hidden `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * @ignore
   */
  onBlur: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * Callback fired when a menu item is selected.
   *
   * @param {object} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (any).
   * @param {object} [child] The react element that was selected.
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * Callback fired when the component requests to be closed.
   * Use in controlled mode (see open).
   *
   * @param {object} event The event source of the callback.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * Callback fired when the component requests to be opened.
   * Use in controlled mode (see open).
   *
   * @param {object} event The event source of the callback.
   */
  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * @ignore
   */
  readOnly: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Render the selected value.
   *
   * @param {any} value The `value` provided to the component.
   * @returns {ReactNode}
   */
  renderValue: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * If `true`, the component is required.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Props applied to the clickable div element.
   */
  SelectDisplayProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.number, prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * @ignore
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_2__.any,
  /**
   * The input value.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_2__.any,
  /**
   * The variant to use.
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['standard', 'outlined', 'filled'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SelectInput);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/selectClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/selectClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getSelectUtilityClasses: () => (/* binding */ getSelectUtilityClasses)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getSelectUtilityClasses(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiSelect', slot);
}
const selectClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (selectClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/SelectFocusSourceContext.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/SelectFocusSourceContext.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   SelectFocusSourceProvider: () => (/* binding */ SelectFocusSourceProvider),
/* harmony export */   useSelectFocusSource: () => (/* binding */ useSelectFocusSource)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


const SelectFocusSourceContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  SelectFocusSourceContext.displayName = 'SelectFocusSourceContext';
}
function useSelectFocusSource() {
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useContext(SelectFocusSourceContext);
  return context;
}
const SelectFocusSourceProvider = SelectFocusSourceContext.Provider;


/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/areEqualValues.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/areEqualValues.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ areEqualValues)
/* harmony export */ });
function areEqualValues(a, b) {
  if (typeof b === 'object' && b !== null) {
    return a === b;
  }

  // The value could be a number, the DOM will stringify it anyway.
  return String(a) === String(b);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/getOpenInteractionType.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/getOpenInteractionType.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getOpenInteractionType)
/* harmony export */ });
function getOpenInteractionType(event) {
  if (!event) {
    return null;
  }
  if (event.type === 'mousedown' || event.type === 'pointerdown' || event.type === 'touchstart') {
    return 'pointer';
  }
  if (event.type === 'keydown' || event.type === 'click' && event.detail === 0) {
    return 'keyboard';
  }
  return null;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/isEmpty.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/utils/isEmpty.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isEmpty)
/* harmony export */ });
function isEmpty(display) {
  return display == null || typeof display === 'string' && !display.trim();
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Skeleton/Skeleton.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Skeleton/Skeleton.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _styles_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/cssUtils.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _skeletonClasses_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./skeletonClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Skeleton/skeletonClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    variant,
    animation,
    hasChildren,
    width,
    height
  } = ownerState;
  const slots = {
    root: ['root', variant, animation, hasChildren && 'withChildren', hasChildren && !width && 'fitContent', hasChildren && !height && 'heightAuto']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _skeletonClasses_js__WEBPACK_IMPORTED_MODULE_9__.getSkeletonUtilityClass, classes);
};
const pulseKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`;
const waveKeyframe = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.keyframes)`
  0% {
    transform: translateX(-100%);
  }

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

  100% {
    transform: translateX(100%);
  }
`;

// This implementation is for supporting both Styled-components v4+ and Pigment CSS.
// A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).
// which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).
const pulseAnimation = typeof pulseKeyframe !== 'string' ? (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.css)`
        animation: ${pulseKeyframe} 2s ease-in-out 0.5s infinite;
      ` : null;
const waveAnimation = typeof waveKeyframe !== 'string' ? (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__.css)`
        &::after {
          animation: ${waveKeyframe} 2s linear 0.5s infinite;
        }
      ` : null;
const SkeletonRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiSkeleton',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.variant], ownerState.animation !== false && styles[ownerState.animation], ownerState.hasChildren && styles.withChildren, ownerState.hasChildren && !ownerState.width && styles.fitContent, ownerState.hasChildren && !ownerState.height && styles.heightAuto];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => {
  const radiusUnit = (0,_styles_index_js__WEBPACK_IMPORTED_MODULE_4__.getUnit)(theme.shape.borderRadius) || 'px';
  const radiusValue = (0,_styles_index_js__WEBPACK_IMPORTED_MODULE_4__.toUnitless)(theme.shape.borderRadius);
  return {
    display: 'block',
    // Create a "on paper" color with sufficient contrast retaining the color
    backgroundColor: theme.vars ? theme.vars.palette.Skeleton.bg : theme.alpha(theme.palette.text.primary, theme.palette.mode === 'light' ? 0.11 : 0.13),
    height: '1.2em',
    variants: [{
      props: {
        variant: 'text'
      },
      style: {
        marginTop: 0,
        marginBottom: 0,
        height: 'auto',
        transformOrigin: '0 55%',
        transform: 'scale(1, 0.60)',
        borderRadius: `${radiusValue}${radiusUnit}/${Math.round(radiusValue / 0.6 * 10) / 10}${radiusUnit}`,
        '&:empty:before': {
          content: '"\\00a0"'
        }
      }
    }, {
      props: {
        variant: 'circular'
      },
      style: {
        borderRadius: '50%'
      }
    }, {
      props: {
        variant: 'rounded'
      },
      style: {
        borderRadius: (theme.vars || theme).shape.borderRadius
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.hasChildren,
      style: {
        '& > *': {
          visibility: 'hidden'
        }
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.hasChildren && !ownerState.width,
      style: {
        maxWidth: 'fit-content'
      }
    }, {
      props: ({
        ownerState
      }) => ownerState.hasChildren && !ownerState.height,
      style: {
        height: 'auto'
      }
    }, {
      props: {
        animation: 'pulse'
      },
      style: pulseAnimation || {
        animation: `${pulseKeyframe} 2s ease-in-out 0.5s infinite`
      }
    }, {
      props: {
        animation: 'wave'
      },
      style: {
        position: 'relative',
        overflow: 'hidden',
        /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
        WebkitMaskImage: '-webkit-radial-gradient(white, black)',
        '&::after': {
          background: `linear-gradient(
                90deg,
                transparent,
                ${(theme.vars || theme).palette.action.hover},
                transparent
              )`,
          content: '""',
          position: 'absolute',
          transform: 'translateX(-100%)' /* Avoid flash during server-side hydration */,
          bottom: 0,
          left: 0,
          right: 0,
          top: 0
        }
      }
    }, {
      props: {
        animation: 'wave'
      },
      style: waveAnimation || {
        '&::after': {
          animation: `${waveKeyframe} 2s linear 0.5s infinite`
        }
      }
    }]
  };
}));
const Skeleton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Skeleton(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiSkeleton'
  });
  const {
    animation = 'pulse',
    className,
    component = 'span',
    height,
    style,
    variant = 'text',
    width,
    ...other
  } = props;
  const ownerState = {
    ...props,
    animation,
    component,
    variant,
    hasChildren: Boolean(other.children)
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(SkeletonRoot, {
    as: component,
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(classes.root, className),
    ownerState: ownerState,
    ...other,
    style: {
      width,
      height,
      ...style
    }
  });
});
 true ? Skeleton.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The animation.
   * If `false` the animation effect is disabled.
   * @default 'pulse'
   */
  animation: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['pulse', 'wave', false]),
  /**
   * Optional children to infer width and height from.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
  /**
   * Height of the skeleton.
   * Useful when you don't want to adapt the skeleton to a text element but for instance a card.
   */
  height: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.number, prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
  /**
   * The type of content that will be rendered.
   * @default 'text'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['circular', 'rectangular', 'rounded', 'text']), prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * Width of the skeleton.
   * Useful when the skeleton is inside an inline element with no width of its own.
   */
  width: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.number, prop_types__WEBPACK_IMPORTED_MODULE_2__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Skeleton);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Skeleton/skeletonClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Skeleton/skeletonClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getSkeletonUtilityClass: () => (/* binding */ getSkeletonUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getSkeletonUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiSkeleton', slot);
}
const skeletonClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiSkeleton', ['root', 'text', 'rectangular', 'rounded', 'circular', 'pulse', 'wave', 'withChildren', 'fitContent', 'heightAuto']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (skeletonClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Slide/Slide.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Slide/Slide.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   setTranslateValue: () => (/* binding */ setTranslateValue)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-transition-group */ "./node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/HTMLElementType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js");
/* harmony import */ var _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/elementAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
/* harmony import */ var _utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/isLayoutSupported.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isLayoutSupported.js");
/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/debounce.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../transitions/utils.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/transitions/utils.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const hiddenStyles = {
  visibility: 'hidden'
};

// Translate the node so it can't be seen on the screen.
// Later, we're going to translate the node back to its original location with `none`.
function getTranslateValue(direction, node, resolvedContainer) {
  const containerRect = resolvedContainer && resolvedContainer.getBoundingClientRect();
  const containerWindow = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(node);

  // Clear the inline transform and transition before reading layout and computed
  // style so we compute from the element's natural position, not its previous
  // off-screen translation. The transition must also be cleared, otherwise the
  // browser may report an animated intermediate value from a still-running
  // enter transition when reading getComputedStyle during exit.
  const previousTransform = node.style.transform;
  const previousTransition = node.style.transition;
  node.style.transition = '';
  node.style.transform = '';
  const rect = node.getBoundingClientRect();
  const computedStyle = containerWindow.getComputedStyle(node);
  const transform = computedStyle.getPropertyValue('transform');
  node.style.transform = previousTransform;
  node.style.transition = previousTransition;
  let offsetX = 0;
  let offsetY = 0;
  if (transform && transform !== 'none' && typeof transform === 'string') {
    const transformValues = transform.split('(')[1].split(')')[0].split(',');
    offsetX = parseInt(transformValues[4], 10);
    offsetY = parseInt(transformValues[5], 10);
  }
  if (direction === 'left') {
    if (containerRect) {
      return `translateX(${containerRect.right + offsetX - rect.left}px)`;
    }
    return `translateX(${containerWindow.innerWidth + offsetX - rect.left}px)`;
  }
  if (direction === 'right') {
    if (containerRect) {
      return `translateX(-${rect.right - containerRect.left - offsetX}px)`;
    }
    return `translateX(-${rect.left + rect.width - offsetX}px)`;
  }
  if (direction === 'up') {
    if (containerRect) {
      return `translateY(${containerRect.bottom + offsetY - rect.top}px)`;
    }
    return `translateY(${containerWindow.innerHeight + offsetY - rect.top}px)`;
  }

  // direction === 'down'
  if (containerRect) {
    return `translateY(-${rect.top - containerRect.top + rect.height - offsetY}px)`;
  }
  return `translateY(-${rect.top + rect.height - offsetY}px)`;
}
function resolveContainer(containerPropProp) {
  return typeof containerPropProp === 'function' ? containerPropProp() : containerPropProp;
}
function setTranslateValue(direction, node, containerProp) {
  const resolvedContainer = resolveContainer(containerProp);
  const transform = getTranslateValue(direction, node, resolvedContainer);
  if (transform) {
    node.style.transform = transform;
  }
}

/**
 * The Slide transition is used by the [Drawer](/material-ui/react-drawer/) component.
 * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
 */
const Slide = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Slide(props, ref) {
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])();
  const defaultEasing = {
    enter: theme.transitions.easing.easeOut,
    exit: theme.transitions.easing.sharp
  };
  const defaultTimeout = {
    enter: theme.transitions.duration.enteringScreen,
    exit: theme.transitions.duration.leavingScreen
  };
  const {
    addEndListener,
    appear = true,
    children,
    container: containerProp,
    direction = 'down',
    easing: easingProp = defaultEasing,
    in: inProp,
    onEnter,
    onEntered,
    onEntering,
    onExit,
    onExited,
    onExiting,
    style,
    timeout = defaultTimeout,
    ...other
  } = props;
  const childrenRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_9__["default"])((0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_6__["default"])(children), childrenRef, ref);
  const handleEnter = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.normalizedTransitionCallback)(childrenRef, (node, isAppearing) => {
    setTranslateValue(direction, node, containerProp);
    (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.reflow)(node);
    if (onEnter) {
      onEnter(node, isAppearing);
    }
  });
  const handleEntering = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.normalizedTransitionCallback)(childrenRef, (node, isAppearing) => {
    const transitionProps = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.getTransitionProps)({
      timeout,
      style,
      easing: easingProp
    }, {
      mode: 'enter'
    });
    node.style.transition = theme.transitions.create('transform', transitionProps);
    node.style.transform = 'none';
    if (onEntering) {
      onEntering(node, isAppearing);
    }
  });
  const handleEntered = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.normalizedTransitionCallback)(childrenRef, onEntered);
  const handleExiting = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.normalizedTransitionCallback)(childrenRef, onExiting);
  const handleExit = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.normalizedTransitionCallback)(childrenRef, node => {
    const transitionProps = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.getTransitionProps)({
      timeout,
      style,
      easing: easingProp
    }, {
      mode: 'exit'
    });
    node.style.transition = theme.transitions.create('transform', transitionProps);
    setTranslateValue(direction, node, containerProp);
    if (onExit) {
      onExit(node);
    }
  });
  const handleExited = (0,_transitions_utils_js__WEBPACK_IMPORTED_MODULE_11__.normalizedTransitionCallback)(childrenRef, node => {
    // No need for transitions when the component is hidden
    node.style.transition = '';
    if (onExited) {
      onExited(node);
    }
  });
  const handleAddEndListener = next => {
    if (addEndListener) {
      // Old call signature before `react-transition-group` implemented `nodeRef`
      addEndListener(childrenRef.current, next);
    }
  };
  const updatePosition = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (childrenRef.current) {
      setTranslateValue(direction, childrenRef.current, containerProp);
    }
  }, [direction, containerProp]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    // Skip configuration where the position is screen size invariant.
    if (inProp || direction === 'down' || direction === 'right') {
      return undefined;
    }
    const handleResize = (0,_utils_debounce_js__WEBPACK_IMPORTED_MODULE_8__["default"])(() => {
      if (childrenRef.current) {
        setTranslateValue(direction, childrenRef.current, containerProp);
      }
    });
    const containerWindow = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(childrenRef.current);
    containerWindow.addEventListener('resize', handleResize);
    return () => {
      handleResize.clear();
      containerWindow.removeEventListener('resize', handleResize);
    };
  }, [direction, inProp, containerProp]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!inProp) {
      // We need to update the position of the drawer when the direction change and
      // when it's hidden.
      updatePosition();
    }
  }, [inProp, updatePosition]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(react_transition_group__WEBPACK_IMPORTED_MODULE_2__["default"], {
    nodeRef: childrenRef,
    onEnter: handleEnter,
    onEntered: handleEntered,
    onEntering: handleEntering,
    onExit: handleExit,
    onExited: handleExited,
    onExiting: handleExiting,
    addEndListener: handleAddEndListener,
    appear: appear,
    in: inProp,
    timeout: timeout,
    ...other,
    children: (state, {
      ownerState,
      ...restChildProps
    }) => {
      let childStyle;
      if (state === 'exited' && !inProp) {
        childStyle = style || children.props.style ? {
          visibility: 'hidden',
          ...style,
          ...children.props.style
        } : hiddenStyles;
      } else if (style && children.props.style) {
        childStyle = {
          ...style,
          ...children.props.style
        };
      } else {
        childStyle = style || children.props.style;
      }
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, {
        ref: handleRef,
        style: childStyle,
        ...restChildProps
      });
    }
  });
});
 true ? Slide.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Add a custom transition end trigger. Called with the transitioning DOM
   * node and a done callback. Allows for more fine grained transition end
   * logic. Note: Timeouts are still used as a fallback if provided.
   */
  addEndListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Perform the enter transition when it first mounts if `in` is also `true`.
   * Set this to `false` to disable this behavior.
   * @default true
   */
  appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * A single child content element.
   */
  children: _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_5__["default"].isRequired,
  /**
   * An HTML element, or a function that returns one.
   * It's used to set the container the Slide is transitioning from.
   */
  container: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_3__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([_mui_utils_HTMLElementType__WEBPACK_IMPORTED_MODULE_4__["default"], prop_types__WEBPACK_IMPORTED_MODULE_1__.func]), props => {
    if (props.open) {
      const resolvedContainer = resolveContainer(props.container);
      if (resolvedContainer && resolvedContainer.nodeType === 1) {
        const box = resolvedContainer.getBoundingClientRect();
        if (true) {
          if ((0,_utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_7__["default"])() && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
            return new Error(['MUI: The `container` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', "Make sure the element is present in the document or that it's not display none."].join('\n'));
          }
        }
      } else if (!resolvedContainer || typeof resolvedContainer.getBoundingClientRect !== 'function' || resolvedContainer.contextElement != null && resolvedContainer.contextElement.nodeType !== 1) {
        return new Error(['MUI: The `container` prop provided to the component is invalid.', 'It should be an HTML element instance.'].join('\n'));
      }
    }
    return null;
  }),
  /**
   * Direction the child node will enter from.
   * @default 'down'
   */
  direction: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['down', 'left', 'right', 'up']),
  /**
   * The transition timing function.
   * You may specify a single easing or a object containing enter and exit values.
   * @default {
   *   enter: theme.transitions.easing.easeOut,
   *   exit: theme.transitions.easing.sharp,
   * }
   */
  easing: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.string
  }), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the component will transition in.
   */
  in: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  onEnter: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onEntered: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onEntering: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExit: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExited: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onExiting: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   * @default {
   *   enter: theme.transitions.duration.enteringScreen,
   *   exit: theme.transitions.duration.leavingScreen,
   * }
   */
  timeout: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Slide);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/Snackbar.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/Snackbar.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _useSnackbar_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useSnackbar.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/useSnackbar.js");
/* harmony import */ var _ClickAwayListener_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ClickAwayListener/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ClickAwayListener/ClickAwayListener.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _Grow_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../Grow/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grow/Grow.js");
/* harmony import */ var _SnackbarContent_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../SnackbarContent/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SnackbarContent/SnackbarContent.js");
/* harmony import */ var _snackbarClasses_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./snackbarClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/snackbarClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const useUtilityClasses = ownerState => {
  const {
    classes,
    anchorOrigin
  } = ownerState;
  const slots = {
    root: ['root', `anchorOrigin${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(anchorOrigin.vertical)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(anchorOrigin.horizontal)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_2__["default"])(slots, _snackbarClasses_js__WEBPACK_IMPORTED_MODULE_12__.getSnackbarUtilityClass, classes);
};
const SnackbarRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiSnackbar',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[`anchorOrigin${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.anchorOrigin.vertical)}${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.anchorOrigin.horizontal)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  zIndex: (theme.vars || theme).zIndex.snackbar,
  position: 'fixed',
  display: 'flex',
  left: 8,
  right: 8,
  justifyContent: 'center',
  alignItems: 'center',
  variants: [{
    props: ({
      ownerState
    }) => ownerState.anchorOrigin.vertical === 'top',
    style: {
      top: 8,
      [theme.breakpoints.up('sm')]: {
        top: 24
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchorOrigin.vertical !== 'top',
    style: {
      bottom: 8,
      [theme.breakpoints.up('sm')]: {
        bottom: 24
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchorOrigin.horizontal === 'left',
    style: {
      justifyContent: 'flex-start',
      [theme.breakpoints.up('sm')]: {
        left: 24,
        right: 'auto'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchorOrigin.horizontal === 'right',
    style: {
      justifyContent: 'flex-end',
      [theme.breakpoints.up('sm')]: {
        right: 24,
        left: 'auto'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.anchorOrigin.horizontal === 'center',
    style: {
      [theme.breakpoints.up('sm')]: {
        left: '50%',
        right: 'auto',
        transform: 'translateX(-50%)'
      }
    }
  }]
})));
const Snackbar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Snackbar(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiSnackbar'
  });
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])();
  const defaultTransitionDuration = {
    enter: theme.transitions.duration.enteringScreen,
    exit: theme.transitions.duration.leavingScreen
  };
  const {
    action,
    anchorOrigin: {
      vertical,
      horizontal
    } = {
      vertical: 'bottom',
      horizontal: 'left'
    },
    autoHideDuration = null,
    children,
    className,
    ClickAwayListenerProps: ClickAwayListenerPropsProp,
    ContentProps: ContentPropsProp,
    disableWindowBlurListener = false,
    message,
    onBlur,
    onClose,
    onFocus,
    onMouseEnter,
    onMouseLeave,
    open,
    resumeHideDuration,
    slots = {},
    slotProps = {},
    TransitionComponent: TransitionComponentProp,
    transitionDuration = defaultTransitionDuration,
    TransitionProps: {
      onEnter,
      onExited,
      ...TransitionPropsProp
    } = {},
    ...other
  } = props;
  const ownerState = {
    ...props,
    anchorOrigin: {
      vertical,
      horizontal
    },
    autoHideDuration,
    disableWindowBlurListener,
    TransitionComponent: TransitionComponentProp,
    transitionDuration
  };
  const classes = useUtilityClasses(ownerState);
  const {
    getRootProps,
    onClickAway
  } = (0,_useSnackbar_js__WEBPACK_IMPORTED_MODULE_3__["default"])(ownerState);
  const [exited, setExited] = react__WEBPACK_IMPORTED_MODULE_0__.useState(true);
  const handleExited = node => {
    setExited(true);
    if (onExited) {
      onExited(node);
    }
  };
  const handleEnter = (node, isAppearing) => {
    setExited(false);
    if (onEnter) {
      onEnter(node, isAppearing);
    }
  };
  const externalForwardedProps = {
    slots: {
      transition: TransitionComponentProp,
      ...slots
    },
    slotProps: {
      content: ContentPropsProp,
      clickAwayListener: ClickAwayListenerPropsProp,
      transition: TransitionPropsProp,
      ...slotProps
    }
  };
  const [Root, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('root', {
    ref,
    className: [classes.root, className],
    elementType: SnackbarRoot,
    getSlotProps: getRootProps,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    ownerState
  });
  const [ClickAwaySlot, {
    ownerState: clickAwayOwnerStateProp,
    ...clickAwayListenerProps
  }] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('clickAwayListener', {
    elementType: _ClickAwayListener_index_js__WEBPACK_IMPORTED_MODULE_4__.ClickAwayListener,
    externalForwardedProps,
    getSlotProps: handlers => ({
      onClickAway: (...params) => {
        const event = params[0];
        handlers.onClickAway?.(...params);
        if (event?.defaultMuiPrevented) {
          return;
        }
        onClickAway(...params);
      }
    }),
    ownerState
  });
  const [ContentSlot, contentSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('content', {
    elementType: _SnackbarContent_index_js__WEBPACK_IMPORTED_MODULE_11__["default"],
    shouldForwardComponentProp: true,
    externalForwardedProps,
    additionalProps: {
      message,
      action
    },
    ownerState
  });
  const [TransitionSlot, transitionProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('transition', {
    elementType: _Grow_index_js__WEBPACK_IMPORTED_MODULE_10__["default"],
    externalForwardedProps,
    getSlotProps: handlers => ({
      onEnter: (...params) => {
        handlers.onEnter?.(...params);
        handleEnter(...params);
      },
      onExited: (...params) => {
        handlers.onExited?.(...params);
        handleExited(...params);
      }
    }),
    additionalProps: {
      appear: true,
      in: open,
      timeout: transitionDuration,
      direction: vertical === 'top' ? 'down' : 'up'
    },
    ownerState
  });

  // So we only render active snackbars.
  if (!open && exited) {
    return null;
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ClickAwaySlot, {
    ...clickAwayListenerProps,
    ...(slots.clickAwayListener && {
      ownerState: clickAwayOwnerStateProp
    }),
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Root, {
      ...rootProps,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(TransitionSlot, {
        ...transitionProps,
        children: children || /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ContentSlot, {
          ...contentSlotProps
        })
      })
    })
  });
});
 true ? Snackbar.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The action to display. It renders after the message, at the end of the snackbar.
   */
  action: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The anchor of the `Snackbar`.
   * On smaller screens, the component grows to occupy all the available width,
   * the horizontal alignment is ignored.
   * @default { vertical: 'bottom', horizontal: 'left' }
   */
  anchorOrigin: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    horizontal: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'left', 'right']).isRequired,
    vertical: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['bottom', 'top']).isRequired
  }),
  /**
   * The number of milliseconds to wait before automatically calling the
   * `onClose` function. `onClose` should then set the state of the `open`
   * prop to hide the Snackbar. This behavior is disabled by default with
   * the `null` value.
   * @default null
   */
  autoHideDuration: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * Replace the `SnackbarContent` component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.element,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Props applied to the `ClickAwayListener` element.
   * @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  ClickAwayListenerProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
   * @deprecated Use `slotProps.content` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  ContentProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.
   * @default false
   */
  disableWindowBlurListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * When displaying multiple consecutive snackbars using a single parent-rendered
   * `<Snackbar/>`, add the `key` prop to ensure independent treatment of each message.
   * For instance, use `<Snackbar key={message} />`. Otherwise, messages might update
   * in place, and features like `autoHideDuration` could be affected.
   */
  key: () => null,
  /**
   * The message to display.
   */
  message: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  onBlur: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the component requests to be closed.
   * Typically `onClose` is used to set state in the parent component,
   * which is used to control the `Snackbar` `open` prop.
   * The `reason` parameter can optionally be used to control the response to `onClose`,
   * for example ignoring `clickaway`.
   *
   * @param {React.SyntheticEvent<any> | Event} event The event source of the callback.
   * @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`, or `"escapeKeyDown"`.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onMouseEnter: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onMouseLeave: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The number of milliseconds to wait before dismissing after user interaction.
   * If `autoHideDuration` prop isn't specified, it does nothing.
   * If `autoHideDuration` prop is specified but `resumeHideDuration` isn't,
   * we default to `autoHideDuration / 2` ms.
   */
  resumeHideDuration: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    clickAwayListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    content: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    clickAwayListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    content: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The component used for the transition.
   * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
   * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default Grow
   */
  TransitionComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The duration for the transition, in milliseconds.
   * You may specify a single timeout for all transitions, or individually with an object.
   * @default {
   *   enter: theme.transitions.duration.enteringScreen,
   *   exit: theme.transitions.duration.leavingScreen,
   * }
   */
  transitionDuration: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    appear: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    enter: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
    exit: prop_types__WEBPACK_IMPORTED_MODULE_1__.number
  })]),
  /**
   * Props applied to the transition element.
   * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
   * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  TransitionProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Snackbar);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/snackbarClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/snackbarClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getSnackbarUtilityClass: () => (/* binding */ getSnackbarUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getSnackbarUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiSnackbar', slot);
}
const snackbarClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiSnackbar', ['root', 'anchorOriginTopCenter', 'anchorOriginBottomCenter', 'anchorOriginTopRight', 'anchorOriginBottomRight', 'anchorOriginTopLeft', 'anchorOriginBottomLeft']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (snackbarClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/useSnackbar.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Snackbar/useSnackbar.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/useEventCallback */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
/* harmony import */ var _mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/useTimeout */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js");
/* harmony import */ var _mui_utils_extractEventHandlers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/extractEventHandlers */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js");
'use client';





function useSnackbar(parameters = {}) {
  const {
    autoHideDuration = null,
    disableWindowBlurListener = false,
    onClose,
    open,
    resumeHideDuration
  } = parameters;
  const timerAutoHide = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_2__["default"])();
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!open) {
      return undefined;
    }

    /**
     * @param {KeyboardEvent} nativeEvent
     */
    function handleKeyDown(nativeEvent) {
      if (!nativeEvent.defaultPrevented) {
        if (nativeEvent.key === 'Escape') {
          // not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar
          onClose?.(nativeEvent, 'escapeKeyDown');
        }
      }
    }
    document.addEventListener('keydown', handleKeyDown);
    return () => {
      document.removeEventListener('keydown', handleKeyDown);
    };
  }, [open, onClose]);
  const handleClose = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_1__["default"])((event, reason) => {
    onClose?.(event, reason);
  });
  const setAutoHideTimer = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_1__["default"])(autoHideDurationParam => {
    if (!onClose || autoHideDurationParam == null) {
      return;
    }
    timerAutoHide.start(autoHideDurationParam, () => {
      handleClose(null, 'timeout');
    });
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (open) {
      setAutoHideTimer(autoHideDuration);
    }
    return timerAutoHide.clear;
  }, [open, autoHideDuration, setAutoHideTimer, timerAutoHide]);
  const handleClickAway = event => {
    onClose?.(event, 'clickaway');
  };

  // Pause the timer when the user is interacting with the Snackbar
  // or when the user hide the window.
  const handlePause = timerAutoHide.clear;

  // Restart the timer when the user is no longer interacting with the Snackbar
  // or when the window is shown back.
  const handleResume = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (autoHideDuration != null) {
      setAutoHideTimer(resumeHideDuration != null ? resumeHideDuration : autoHideDuration * 0.5);
    }
  }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);
  const createHandleBlur = otherHandlers => event => {
    const onBlurCallback = otherHandlers.onBlur;
    onBlurCallback?.(event);
    handleResume();
  };
  const createHandleFocus = otherHandlers => event => {
    const onFocusCallback = otherHandlers.onFocus;
    onFocusCallback?.(event);
    handlePause();
  };
  const createMouseEnter = otherHandlers => event => {
    const onMouseEnterCallback = otherHandlers.onMouseEnter;
    onMouseEnterCallback?.(event);
    handlePause();
  };
  const createMouseLeave = otherHandlers => event => {
    const onMouseLeaveCallback = otherHandlers.onMouseLeave;
    onMouseLeaveCallback?.(event);
    handleResume();
  };
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    // TODO: window global should be refactored here
    if (!disableWindowBlurListener && open) {
      window.addEventListener('focus', handleResume);
      window.addEventListener('blur', handlePause);
      return () => {
        window.removeEventListener('focus', handleResume);
        window.removeEventListener('blur', handlePause);
      };
    }
    return undefined;
  }, [disableWindowBlurListener, open, handleResume, handlePause]);
  const getRootProps = (externalProps = {}) => {
    const externalEventHandlers = {
      ...(0,_mui_utils_extractEventHandlers__WEBPACK_IMPORTED_MODULE_3__["default"])(parameters),
      ...(0,_mui_utils_extractEventHandlers__WEBPACK_IMPORTED_MODULE_3__["default"])(externalProps)
    };
    return {
      // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
      // See https://github.com/mui/material-ui/issues/29080
      role: 'presentation',
      ...externalProps,
      ...externalEventHandlers,
      onBlur: createHandleBlur(externalEventHandlers),
      onFocus: createHandleFocus(externalEventHandlers),
      onMouseEnter: createMouseEnter(externalEventHandlers),
      onMouseLeave: createMouseLeave(externalEventHandlers)
    };
  };
  return {
    getRootProps,
    onClickAway: handleClickAway
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSnackbar);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SnackbarContent/SnackbarContent.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SnackbarContent/SnackbarContent.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Paper_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Paper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Paper/Paper.js");
/* harmony import */ var _snackbarContentClasses_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./snackbarContentClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SnackbarContent/snackbarContentClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';












const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    action: ['action'],
    message: ['message']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _snackbarContentClasses_js__WEBPACK_IMPORTED_MODULE_9__.getSnackbarContentUtilityClass, classes);
};
const SnackbarContentRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(_Paper_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiSnackbarContent',
  slot: 'Root'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__["default"])(({
  theme
}) => {
  const emphasis = theme.palette.mode === 'light' ? 0.8 : 0.98;
  return {
    ...theme.typography.body2,
    color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText((0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_4__.emphasize)(theme.palette.background.default, emphasis)),
    backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg : (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_4__.emphasize)(theme.palette.background.default, emphasis),
    display: 'flex',
    alignItems: 'center',
    flexWrap: 'wrap',
    padding: '6px 16px',
    flexGrow: 1,
    [theme.breakpoints.up('sm')]: {
      flexGrow: 'initial',
      minWidth: 288
    }
  };
}));
const SnackbarContentMessage = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiSnackbarContent',
  slot: 'Message'
})({
  padding: '8px 0'
});
const SnackbarContentAction = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiSnackbarContent',
  slot: 'Action'
})({
  display: 'flex',
  alignItems: 'center',
  marginLeft: 'auto',
  paddingLeft: 16,
  marginRight: -8
});
const SnackbarContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function SnackbarContent(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiSnackbarContent'
  });
  const {
    action,
    className,
    message,
    role = 'alert',
    ...other
  } = props;
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(SnackbarContentRoot, {
    role: role,
    elevation: 6,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ref: ref,
    ...other,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(SnackbarContentMessage, {
      className: classes.message,
      ownerState: ownerState,
      children: message
    }), action ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(SnackbarContentAction, {
      className: classes.action,
      ownerState: ownerState,
      children: action
    }) : null]
  });
});
 true ? SnackbarContent.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The action to display. It renders after the message, at the end of the snackbar.
   */
  action: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The message to display.
   */
  message: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The ARIA role attribute of the element.
   * @default 'alert'
   */
  role: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SnackbarContent);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SnackbarContent/snackbarContentClasses.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SnackbarContent/snackbarContentClasses.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getSnackbarContentUtilityClass: () => (/* binding */ getSnackbarContentUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getSnackbarContentUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiSnackbarContent', slot);
}
const snackbarContentClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiSnackbarContent', ['root', 'message', 'action']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (snackbarContentClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Stack/Stack.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Stack/Stack.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Stack/createStack.js");
/* harmony import */ var _styles_styled_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles/styled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
'use client';





const Stack = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"])({
  createStyledComponent: (0,_styles_styled_js__WEBPACK_IMPORTED_MODULE_2__["default"])('div', {
    name: 'MuiStack',
    slot: 'Root'
  }),
  useThemeProps: inProps => (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_3__.useDefaultProps)({
    props: inProps,
    name: 'MuiStack'
  })
});
 true ? Stack.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_0__.node,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_0__.elementType,
  /**
   * Defines the `flex-direction` style property.
   * It is applied for all screen sizes.
   * @default 'column'
   */
  direction: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), prop_types__WEBPACK_IMPORTED_MODULE_0__.object]),
  /**
   * Add an element between each child.
   */
  divider: prop_types__WEBPACK_IMPORTED_MODULE_0__.node,
  /**
   * Defines the space between immediate children.
   * @default 0
   */
  spacing: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.string])), prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.string]),
  /**
   * The system prop, which allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object]),
  /**
   * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
   *
   * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
   * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
   *
   * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
   * @default false
   */
  useFlexGap: prop_types__WEBPACK_IMPORTED_MODULE_0__.bool
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Stack);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _svgIconClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./svgIconClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    color,
    fontSize,
    classes
  } = ownerState;
  const slots = {
    root: ['root', color !== 'inherit' && `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(color)}`, `fontSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(fontSize)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _svgIconClasses_js__WEBPACK_IMPORTED_MODULE_8__.getSvgIconUtilityClass, classes);
};
const SvgIconRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('svg', {
  name: 'MuiSvgIcon',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.color !== 'inherit' && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.color)}`], styles[`fontSize${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.fontSize)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__["default"])(({
  theme
}) => ({
  userSelect: 'none',
  width: '1em',
  height: '1em',
  display: 'inline-block',
  flexShrink: 0,
  transition: theme.transitions?.create?.('fill', {
    duration: (theme.vars ?? theme).transitions?.duration?.shorter
  }),
  variants: [{
    props: props => !props.hasSvgAsChild,
    style: {
      // the <svg> will define the property that has `currentColor`
      // for example heroicons uses fill="none" and stroke="currentColor"
      fill: 'currentColor'
    }
  }, {
    props: {
      fontSize: 'inherit'
    },
    style: {
      fontSize: 'inherit'
    }
  }, {
    props: {
      fontSize: 'small'
    },
    style: {
      fontSize: theme.typography?.pxToRem?.(20) || '1.25rem'
    }
  }, {
    props: {
      fontSize: 'medium'
    },
    style: {
      fontSize: theme.typography?.pxToRem?.(24) || '1.5rem'
    }
  }, {
    props: {
      fontSize: 'large'
    },
    style: {
      fontSize: theme.typography?.pxToRem?.(35) || '2.1875rem'
    }
  },
  // TODO v5 deprecate color prop, v6 remove for sx
  ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color]) => ({
    props: {
      color
    },
    style: {
      color: (theme.vars ?? theme).palette?.[color]?.main
    }
  })), {
    props: {
      color: 'action'
    },
    style: {
      color: (theme.vars ?? theme).palette?.action?.active
    }
  }, {
    props: {
      color: 'disabled'
    },
    style: {
      color: (theme.vars ?? theme).palette?.action?.disabled
    }
  }, {
    props: {
      color: 'inherit'
    },
    style: {
      color: undefined
    }
  }]
})));
const SvgIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function SvgIcon(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiSvgIcon'
  });
  const {
    children,
    className,
    color = 'inherit',
    component = 'svg',
    fontSize = 'medium',
    htmlColor,
    inheritViewBox = false,
    titleAccess,
    viewBox = '0 0 24 24',
    ...other
  } = props;
  const hasSvgAsChild = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(children) && children.type === 'svg';
  const ownerState = {
    ...props,
    color,
    component,
    fontSize,
    instanceFontSize: inProps.fontSize,
    inheritViewBox,
    viewBox,
    hasSvgAsChild
  };
  const more = {};
  if (!inheritViewBox) {
    more.viewBox = viewBox;
  }
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(SvgIconRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    focusable: "false",
    color: htmlColor,
    "aria-hidden": titleAccess ? undefined : true,
    role: titleAccess ? 'img' : undefined,
    ref: ref,
    ...more,
    ...other,
    ...(hasSvgAsChild && children.props),
    ownerState: ownerState,
    children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("title", {
      children: titleAccess
    }) : null]
  });
});
 true ? SvgIcon.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Node passed into the SVG element.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
   * @default 'inherit'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
   * @default 'medium'
   */
  fontSize: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['inherit', 'large', 'medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Applies a color attribute to the SVG element.
   */
  htmlColor: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
   * prop will be ignored.
   * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
   * `component`'s viewBox to the root node.
   * @default false
   */
  inheritViewBox: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The shape-rendering attribute. The behavior of the different options is described on the
   * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
   * If you are having issues with blurry icons you should investigate this prop.
   */
  shapeRendering: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Provides a human-readable title for the element that contains it.
   * https://www.w3.org/TR/SVG-access/#Equivalent
   */
  titleAccess: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Allows you to redefine what the coordinates without units mean inside an SVG element.
   * For example, if the SVG element is 500 (width) by 200 (height),
   * and you pass viewBox="0 0 50 20",
   * this means that the coordinates inside the SVG will go from the top left corner (0,0)
   * to bottom right (50,20) and each unit will be worth 10px.
   * @default '0 0 24 24'
   */
  viewBox: prop_types__WEBPACK_IMPORTED_MODULE_1__.string
} : 0;
SvgIcon.muiName = 'SvgIcon';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgIcon);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getSvgIconUtilityClass: () => (/* binding */ getSvgIconUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getSvgIconUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiSvgIcon', slot);
}
const svgIconClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (svgIconClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/Switch.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/Switch.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _internal_SwitchBase_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internal/SwitchBase.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/SwitchBase.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _switchClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./switchClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/switchClasses.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/mergeSlotProps.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

// @inheritedComponent IconButton















const useUtilityClasses = ownerState => {
  const {
    classes,
    edge,
    size,
    color,
    checked,
    disabled
  } = ownerState;
  const slots = {
    root: ['root', edge && `edge${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(edge)}`, `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(size)}`],
    switchBase: ['switchBase', `color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(color)}`, checked && 'checked', disabled && 'disabled'],
    thumb: ['thumb'],
    track: ['track'],
    input: ['input']
  };
  const composedClasses = (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _switchClasses_js__WEBPACK_IMPORTED_MODULE_11__.getSwitchUtilityClass, classes);
  return {
    ...classes,
    // forward the disabled and checked classes to the SwitchBase
    ...composedClasses
  };
};
const SwitchRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('span', {
  name: 'MuiSwitch',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.edge && styles[`edge${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.edge)}`], styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.size)}`]];
  }
})({
  display: 'inline-flex',
  width: 34 + 12 * 2,
  height: 14 + 12 * 2,
  overflow: 'hidden',
  padding: 12,
  boxSizing: 'border-box',
  position: 'relative',
  flexShrink: 0,
  zIndex: 0,
  // Reset the stacking context.
  verticalAlign: 'middle',
  // For correct alignment with the text.
  '@media print': {
    colorAdjust: 'exact'
  },
  variants: [{
    props: {
      edge: 'start'
    },
    style: {
      marginLeft: -8
    }
  }, {
    props: {
      edge: 'end'
    },
    style: {
      marginRight: -8
    }
  }, {
    props: {
      size: 'small'
    },
    style: {
      width: 40,
      height: 24,
      padding: 7,
      [`& .${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].thumb}`]: {
        width: 16,
        height: 16
      },
      [`& .${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].switchBase}`]: {
        padding: 4,
        [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].checked}`]: {
          transform: 'translateX(16px)'
        }
      }
    }
  }]
});
const SwitchSwitchBase = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_internal_SwitchBase_js__WEBPACK_IMPORTED_MODULE_7__["default"], {
  name: 'MuiSwitch',
  slot: 'SwitchBase',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.switchBase, {
      [`& .${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].input}`]: styles.input
    }, ownerState.color !== 'default' && styles[`color${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.color)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  position: 'absolute',
  top: 0,
  left: 0,
  zIndex: 1,
  // Render above the focus ripple.
  color: theme.vars ? theme.vars.palette.Switch.defaultColor : `${theme.palette.mode === 'light' ? theme.palette.common.white : theme.palette.grey[300]}`,
  transition: theme.transitions.create(['left', 'transform'], {
    duration: theme.transitions.duration.shortest
  }),
  [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].checked}`]: {
    transform: 'translateX(20px)'
  },
  [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
    color: theme.vars ? theme.vars.palette.Switch.defaultDisabledColor : `${theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[600]}`
  },
  [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].checked} + .${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].track}`]: {
    opacity: 0.5
  },
  [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled} + .${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].track}`]: {
    opacity: theme.vars ? theme.vars.opacity.switchTrackDisabled : `${theme.palette.mode === 'light' ? 0.12 : 0.2}`
  },
  [`& .${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].input}`]: {
    left: '-100%',
    width: '300%'
  }
})), (0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  '&:hover': {
    backgroundColor: theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity),
    // Reset on touch devices, it doesn't add specificity
    '@media (hover: none)': {
      backgroundColor: 'transparent'
    }
  },
  variants: [...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_6__["default"])(['light'])) // check all the used fields in the style below
  .map(([color]) => ({
    props: {
      color
    },
    style: {
      [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].checked}`]: {
        color: (theme.vars || theme).palette[color].main,
        '&:hover': {
          backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity),
          '@media (hover: none)': {
            backgroundColor: 'transparent'
          }
        },
        [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
          color: theme.vars ? theme.vars.palette.Switch[`${color}DisabledColor`] : `${theme.palette.mode === 'light' ? theme.lighten(theme.palette[color].main, 0.62) : theme.darken(theme.palette[color].main, 0.55)}`
        }
      },
      [`&.${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].checked} + .${_switchClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].track}`]: {
        backgroundColor: (theme.vars || theme).palette[color].main
      }
    }
  }))]
})));
const SwitchTrack = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('span', {
  name: 'MuiSwitch',
  slot: 'Track'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  height: '100%',
  width: '100%',
  borderRadius: 14 / 2,
  boxSizing: 'border-box',
  border: '1px solid transparent',
  zIndex: -1,
  transition: theme.transitions.create(['opacity', 'background-color'], {
    duration: theme.transitions.duration.shortest
  }),
  backgroundColor: theme.vars ? theme.vars.palette.common.onBackground : `${theme.palette.mode === 'light' ? theme.palette.common.black : theme.palette.common.white}`,
  opacity: theme.vars ? theme.vars.opacity.switchTrack : `${theme.palette.mode === 'light' ? 0.38 : 0.3}`
})));
const SwitchThumb = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])('span', {
  name: 'MuiSwitch',
  slot: 'Thumb'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_9__["default"])(({
  theme
}) => ({
  boxShadow: (theme.vars || theme).shadows[1],
  backgroundColor: 'currentColor',
  boxSizing: 'border-box',
  border: '1px solid transparent',
  width: 20,
  height: 20,
  borderRadius: '50%'
})));
const Switch = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Switch(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiSwitch'
  });
  const {
    className,
    color = 'primary',
    edge = false,
    size = 'medium',
    sx,
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    edge,
    size
  };
  const classes = useUtilityClasses(ownerState);
  const externalInputProps = slotProps.input;
  const externalForwardedProps = {
    slots,
    slotProps
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('root', {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    elementType: SwitchRoot,
    externalForwardedProps,
    ownerState,
    additionalProps: {
      sx
    }
  });
  const [ThumbSlot, thumbSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('thumb', {
    className: classes.thumb,
    elementType: SwitchThumb,
    externalForwardedProps,
    ownerState
  });
  const icon = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ThumbSlot, {
    ...thumbSlotProps
  });
  const [TrackSlot, trackSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_13__["default"])('track', {
    className: classes.track,
    elementType: SwitchTrack,
    externalForwardedProps,
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(RootSlot, {
    ...rootSlotProps,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(SwitchSwitchBase, {
      type: "checkbox",
      icon: icon,
      checkedIcon: icon,
      ref: ref,
      ownerState: ownerState,
      ...other,
      classes: {
        ...classes,
        root: classes.switchBase
      },
      slots: {
        ...(slots.switchBase && {
          root: slots.switchBase
        }),
        ...(slots.input && {
          input: slots.input
        })
      },
      slotProps: {
        ...(slotProps.switchBase && {
          root: typeof slotProps.switchBase === 'function' ? slotProps.switchBase(ownerState) : slotProps.switchBase
        }),
        input: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_12__["default"])(typeof externalInputProps === 'function' ? externalInputProps(ownerState) : externalInputProps, {
          role: 'switch'
        })
      }
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(TrackSlot, {
      ...trackSlotProps
    })]
  });
});
 true ? Switch.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the component is checked.
   */
  checked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display when the component is checked.
   */
  checkedIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The default checked state. Use when the component is not controlled.
   */
  defaultChecked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is disabled.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If given, uses a negative margin to counteract the padding on one
   * side (this is often helpful for aligning the left or right
   * side of the icon with content above or below, without ruining the border
   * size and shape).
   * @default false
   */
  edge: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['end', 'start', false]),
  /**
   * The icon to display when the component is unchecked.
   */
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Pass a ref to the `input` element.
   * @deprecated Use `slotProps.input.ref` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_3__["default"],
  /**
   * Callback fired when the state is changed.
   *
   * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   * You can pull out the new checked state by accessing `event.target.checked` (boolean).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the `input` element is required.
   * @default false
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * `small` is equivalent to the dense switch styling.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    switchBase: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    thumb: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    track: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    switchBase: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    thumb: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    track: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The value of the component. The DOM API casts this to a string.
   * The browser uses "on" as the default value.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Switch);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/switchClasses.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Switch/switchClasses.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getSwitchUtilityClass: () => (/* binding */ getSwitchUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getSwitchUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiSwitch', slot);
}
const switchClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiSwitch', ['root', 'edgeStart', 'edgeEnd', 'switchBase', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium', 'checked', 'disabled', 'input', 'thumb', 'track']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (switchClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/Tab.js"
/*!***********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/Tab.js ***!
  \***********************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_unsupportedProp_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/unsupportedProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/unsupportedProp.js");
/* harmony import */ var _tabClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./tabClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/tabClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const useUtilityClasses = ownerState => {
  const {
    classes,
    textColor,
    fullWidth,
    wrapped,
    icon,
    label,
    selected,
    disabled
  } = ownerState;
  const slots = {
    root: ['root', icon && label && 'labelIcon', `textColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled'],
    icon: ['iconWrapper', 'icon']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tabClasses_js__WEBPACK_IMPORTED_MODULE_10__.getTabUtilityClass, classes);
};
const TabRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
  name: 'MuiTab',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_5__["default"])(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
      [`& .${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].iconWrapper}`]: styles.iconWrapper
    }, {
      [`& .${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].icon}`]: styles.icon
    }];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  ...theme.typography.button,
  maxWidth: 360,
  minWidth: 90,
  position: 'relative',
  minHeight: 48,
  flexShrink: 0,
  padding: '12px 16px',
  overflow: 'hidden',
  whiteSpace: 'normal',
  textAlign: 'center',
  lineHeight: 1.25,
  variants: [{
    props: ({
      ownerState
    }) => ownerState.label && (ownerState.iconPosition === 'top' || ownerState.iconPosition === 'bottom'),
    style: {
      flexDirection: 'column'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.label && ownerState.iconPosition !== 'top' && ownerState.iconPosition !== 'bottom',
    style: {
      flexDirection: 'row'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.icon && ownerState.label,
    style: {
      minHeight: 72,
      paddingTop: 9,
      paddingBottom: 9
    }
  }, {
    props: ({
      ownerState,
      iconPosition
    }) => ownerState.icon && ownerState.label && iconPosition === 'top',
    style: {
      [`& > .${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].icon}`]: {
        marginBottom: 6
      }
    }
  }, {
    props: ({
      ownerState,
      iconPosition
    }) => ownerState.icon && ownerState.label && iconPosition === 'bottom',
    style: {
      [`& > .${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].icon}`]: {
        marginTop: 6
      }
    }
  }, {
    props: ({
      ownerState,
      iconPosition
    }) => ownerState.icon && ownerState.label && iconPosition === 'start',
    style: {
      [`& > .${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].icon}`]: {
        marginRight: theme.spacing(1)
      }
    }
  }, {
    props: ({
      ownerState,
      iconPosition
    }) => ownerState.icon && ownerState.label && iconPosition === 'end',
    style: {
      [`& > .${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].icon}`]: {
        marginLeft: theme.spacing(1)
      }
    }
  }, {
    props: {
      textColor: 'inherit'
    },
    style: {
      color: 'inherit',
      opacity: 0.6,
      // same opacity as theme.palette.text.secondary
      [`&.${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].selected}`]: {
        opacity: 1
      },
      [`&.${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
        opacity: (theme.vars || theme).palette.action.disabledOpacity
      }
    }
  }, {
    props: {
      textColor: 'primary'
    },
    style: {
      color: (theme.vars || theme).palette.text.secondary,
      [`&.${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].selected}`]: {
        color: (theme.vars || theme).palette.primary.main
      },
      [`&.${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
        color: (theme.vars || theme).palette.text.disabled
      }
    }
  }, {
    props: {
      textColor: 'secondary'
    },
    style: {
      color: (theme.vars || theme).palette.text.secondary,
      [`&.${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].selected}`]: {
        color: (theme.vars || theme).palette.secondary.main
      },
      [`&.${_tabClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].disabled}`]: {
        color: (theme.vars || theme).palette.text.disabled
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.fullWidth,
    style: {
      flexShrink: 1,
      flexGrow: 1,
      flexBasis: 0,
      maxWidth: 'none'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.wrapped,
    style: {
      fontSize: theme.typography.pxToRem(12)
    }
  }]
})));
const Tab = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Tab(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiTab'
  });
  const {
    className,
    disabled = false,
    disableFocusRipple = false,
    // eslint-disable-next-line react/prop-types
    fullWidth,
    icon: iconProp,
    iconPosition = 'top',
    // eslint-disable-next-line react/prop-types
    indicator,
    label,
    onChange,
    onClick,
    onFocus,
    // eslint-disable-next-line react/prop-types
    selected,
    // eslint-disable-next-line react/prop-types
    selectionFollowsFocus,
    // eslint-disable-next-line react/prop-types
    textColor = 'inherit',
    value,
    wrapped = false,
    ...other
  } = props;
  const ownerState = {
    ...props,
    disabled,
    disableFocusRipple,
    selected,
    icon: !!iconProp,
    iconPosition,
    label: !!label,
    fullWidth,
    textColor,
    wrapped
  };
  const classes = useUtilityClasses(ownerState);
  const icon = iconProp && label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(iconProp) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(iconProp, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.icon, iconProp.props.className)
  }) : iconProp;
  const handleClick = event => {
    if (!selected && onChange) {
      onChange(event, value);
    }
    if (onClick) {
      onClick(event);
    }
  };
  const handleFocus = event => {
    if (selectionFollowsFocus && !selected && onChange) {
      onChange(event, value);
    }
    if (onFocus) {
      onFocus(event);
    }
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(TabRoot, {
    focusRipple: !disableFocusRipple,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    role: "tab",
    "aria-selected": selected,
    disabled: disabled,
    onClick: handleClick,
    onFocus: handleFocus,
    ownerState: ownerState,
    tabIndex: selected ? 0 : -1,
    ...other,
    children: [iconPosition === 'top' || iconPosition === 'start' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
      children: [icon, label]
    }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
      children: [label, icon]
    }), indicator]
  });
});
 true ? Tab.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * This prop isn't supported.
   * Use the `component` prop if you need to change the children structure.
   */
  children: _utils_unsupportedProp_js__WEBPACK_IMPORTED_MODULE_9__["default"],
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the  keyboard focus ripple is disabled.
   * @default false
   */
  disableFocusRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   *
   * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
   * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display.
   */
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.element, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The position of the icon relative to the label.
   * @default 'top'
   */
  iconPosition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['bottom', 'end', 'start', 'top']),
  /**
   * The label element.
   */
  label: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * You can provide your own value. Otherwise, we fallback to the child position index.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * Tab labels appear in a single row.
   * They can use a second line if needed.
   * @default false
   */
  wrapped: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tab);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/tabClasses.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tab/tabClasses.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTabUtilityClass: () => (/* binding */ getTabUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTabUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTab', slot);
}
const tabClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped', 'iconWrapper', 'icon']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tabClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/useSlotProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js");
/* harmony import */ var _internal_svg_icons_KeyboardArrowLeft_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal/svg-icons/KeyboardArrowLeft.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.js");
/* harmony import */ var _internal_svg_icons_KeyboardArrowRight_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internal/svg-icons/KeyboardArrowRight.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _tabScrollButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./tabScrollButtonClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

/* eslint-disable jsx-a11y/aria-role */













const useUtilityClasses = ownerState => {
  const {
    classes,
    orientation,
    disabled
  } = ownerState;
  const slots = {
    root: ['root', orientation, disabled && 'disabled']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tabScrollButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__.getTabScrollButtonUtilityClass, classes);
};
const TabScrollButtonRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
  name: 'MuiTabScrollButton',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.orientation && styles[ownerState.orientation]];
  }
})({
  width: 40,
  flexShrink: 0,
  opacity: 0.8,
  [`&.${_tabScrollButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
    opacity: 0
  },
  variants: [{
    props: {
      orientation: 'vertical'
    },
    style: {
      width: '100%',
      height: 40,
      '& svg': {
        transform: 'var(--TabScrollButton-svgRotate)'
      }
    }
  }]
});
const TabScrollButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TabScrollButton(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: inProps,
    name: 'MuiTabScrollButton'
  });
  const {
    className,
    slots = {},
    slotProps = {},
    direction,
    orientation,
    disabled,
    ...other
  } = props;
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_4__.useRtl)();
  const ownerState = {
    isRtl,
    ...props
  };
  const classes = useUtilityClasses(ownerState);
  const StartButtonIcon = slots.StartScrollButtonIcon ?? _internal_svg_icons_KeyboardArrowLeft_js__WEBPACK_IMPORTED_MODULE_6__["default"];
  const EndButtonIcon = slots.EndScrollButtonIcon ?? _internal_svg_icons_KeyboardArrowRight_js__WEBPACK_IMPORTED_MODULE_7__["default"];
  const startButtonIconProps = (0,_mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_5__["default"])({
    elementType: StartButtonIcon,
    externalSlotProps: slotProps.startScrollButtonIcon,
    additionalProps: {
      fontSize: 'small'
    },
    ownerState
  });
  const endButtonIconProps = (0,_mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_5__["default"])({
    elementType: EndButtonIcon,
    externalSlotProps: slotProps.endScrollButtonIcon,
    additionalProps: {
      fontSize: 'small'
    },
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(TabScrollButtonRoot, {
    component: "div",
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    role: null,
    ownerState: ownerState,
    tabIndex: null,
    ...other,
    style: {
      ...other.style,
      ...(orientation === 'vertical' && {
        '--TabScrollButton-svgRotate': `rotate(${isRtl ? -90 : 90}deg)`
      })
    },
    children: direction === 'left' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(StartButtonIcon, {
      ...startButtonIconProps
    }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(EndButtonIcon, {
      ...endButtonIconProps
    })
  });
});
 true ? TabScrollButton.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The direction the button should indicate.
   */
  direction: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['left', 'right']).isRequired,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The component orientation (layout flow direction).
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['horizontal', 'vertical']).isRequired,
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    endScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    startScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    EndScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    StartScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TabScrollButton);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TabScrollButton/tabScrollButtonClasses.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTabScrollButtonUtilityClass: () => (/* binding */ getTabScrollButtonUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTabScrollButtonUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTabScrollButton', slot);
}
const tabScrollButtonClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTabScrollButton', ['root', 'vertical', 'horizontal', 'disabled']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tabScrollButtonClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Table.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _TableContext_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TableContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/TableContext.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _tableClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./tableClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/tableClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    stickyHeader
  } = ownerState;
  const slots = {
    root: ['root', stickyHeader && 'stickyHeader']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tableClasses_js__WEBPACK_IMPORTED_MODULE_8__.getTableUtilityClass, classes);
};
const TableRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('table', {
  name: 'MuiTable',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.stickyHeader && styles.stickyHeader];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__["default"])(({
  theme
}) => ({
  display: 'table',
  width: '100%',
  borderCollapse: 'collapse',
  borderSpacing: 0,
  '& caption': {
    ...theme.typography.body2,
    padding: theme.spacing(2),
    color: (theme.vars || theme).palette.text.secondary,
    textAlign: 'left',
    captionSide: 'bottom'
  },
  variants: [{
    props: ({
      ownerState
    }) => ownerState.stickyHeader,
    style: {
      borderCollapse: 'separate'
    }
  }]
})));
const defaultComponent = 'table';
const Table = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Table(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiTable'
  });
  const {
    className,
    component = defaultComponent,
    padding = 'normal',
    size = 'medium',
    stickyHeader = false,
    ...other
  } = props;
  const ownerState = {
    ...props,
    component,
    padding,
    size,
    stickyHeader
  };
  const classes = useUtilityClasses(ownerState);
  const table = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    padding,
    size,
    stickyHeader
  }), [padding, size, stickyHeader]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_TableContext_js__WEBPACK_IMPORTED_MODULE_4__["default"].Provider, {
    value: table,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(TableRoot, {
      as: component,
      role: component === defaultComponent ? null : 'table',
      ref: ref,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ownerState: ownerState,
      ...other
    })
  });
});
 true ? Table.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the table, normally `TableHead` and `TableBody`.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Allows TableCells to inherit padding of the Table.
   * @default 'normal'
   */
  padding: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['checkbox', 'none', 'normal']),
  /**
   * Allows TableCells to inherit size of the Table.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Set the header sticky.
   * @default false
   */
  stickyHeader: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Table);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/TableContext.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/TableContext.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * @ignore - internal component.
 */
const TableContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext();
if (true) {
  TableContext.displayName = 'TableContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Tablelvl2Context.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Tablelvl2Context.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * @ignore - internal component.
 */
const Tablelvl2Context = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext();
if (true) {
  Tablelvl2Context.displayName = 'Tablelvl2Context';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tablelvl2Context);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/tableClasses.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/tableClasses.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTableUtilityClass: () => (/* binding */ getTableUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTableUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTable', slot);
}
const tableClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTable', ['root', 'stickyHeader']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tableClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/TableBody.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Table/Tablelvl2Context.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Tablelvl2Context.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _tableBodyClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./tableBodyClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/tableBodyClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tableBodyClasses_js__WEBPACK_IMPORTED_MODULE_7__.getTableBodyUtilityClass, classes);
};
const TableBodyRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('tbody', {
  name: 'MuiTableBody',
  slot: 'Root'
})({
  display: 'table-row-group'
});
const tablelvl2 = {
  variant: 'body'
};
const defaultComponent = 'tbody';
const TableBody = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TableBody(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiTableBody'
  });
  const {
    className,
    component = defaultComponent,
    ...other
  } = props;
  const ownerState = {
    ...props,
    component
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_4__["default"].Provider, {
    value: tablelvl2,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(TableBodyRoot, {
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      as: component,
      ref: ref,
      role: component === defaultComponent ? null : 'rowgroup',
      ownerState: ownerState,
      ...other
    })
  });
});
 true ? TableBody.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally `TableRow`.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableBody);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/tableBodyClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableBody/tableBodyClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTableBodyUtilityClass: () => (/* binding */ getTableBodyUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTableBodyUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTableBody', slot);
}
const tableBodyClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTableBody', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tableBodyClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _Table_TableContext_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Table/TableContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/TableContext.js");
/* harmony import */ var _Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Table/Tablelvl2Context.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Tablelvl2Context.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _tableCellClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./tableCellClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/tableCellClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';













const useUtilityClasses = ownerState => {
  const {
    classes,
    variant,
    align,
    padding,
    size,
    stickyHeader
  } = ownerState;
  const slots = {
    root: ['root', variant, stickyHeader && 'stickyHeader', align !== 'inherit' && `align${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(align)}`, padding !== 'normal' && `padding${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(padding)}`, `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(size)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tableCellClasses_js__WEBPACK_IMPORTED_MODULE_10__.getTableCellUtilityClass, classes);
};
const TableCellRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('td', {
  name: 'MuiTableCell',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[ownerState.variant], styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.size)}`], ownerState.padding !== 'normal' && styles[`padding${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.padding)}`], ownerState.align !== 'inherit' && styles[`align${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(ownerState.align)}`], ownerState.stickyHeader && styles.stickyHeader];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => ({
  ...theme.typography.body2,
  display: 'table-cell',
  verticalAlign: 'inherit',
  // Workaround for a rendering bug with spanned columns in Chrome 62.0.
  // Removes the alpha (sets it to 1), and lightens or darkens the theme color.
  borderBottom: theme.vars ? `1px solid ${theme.vars.palette.TableCell.border}` : `1px solid
    ${theme.palette.mode === 'light' ? theme.lighten(theme.alpha(theme.palette.divider, 1), 0.88) : theme.darken(theme.alpha(theme.palette.divider, 1), 0.68)}`,
  textAlign: 'left',
  padding: 16,
  variants: [{
    props: {
      variant: 'head'
    },
    style: {
      color: (theme.vars || theme).palette.text.primary,
      lineHeight: theme.typography.pxToRem(24),
      fontWeight: theme.typography.fontWeightMedium
    }
  }, {
    props: {
      variant: 'body'
    },
    style: {
      color: (theme.vars || theme).palette.text.primary
    }
  }, {
    props: {
      variant: 'footer'
    },
    style: {
      color: (theme.vars || theme).palette.text.secondary,
      lineHeight: theme.typography.pxToRem(21),
      fontSize: theme.typography.pxToRem(12)
    }
  }, {
    props: {
      size: 'small'
    },
    style: {
      padding: '6px 16px',
      [`&.${_tableCellClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].paddingCheckbox}`]: {
        width: 24,
        // prevent the checkbox column from growing
        padding: '0 12px 0 16px',
        '& > *': {
          padding: 0
        }
      }
    }
  }, {
    props: {
      padding: 'checkbox'
    },
    style: {
      width: 48,
      // prevent the checkbox column from growing
      padding: '0 0 0 4px'
    }
  }, {
    props: {
      padding: 'none'
    },
    style: {
      padding: 0
    }
  }, {
    props: {
      align: 'left'
    },
    style: {
      textAlign: 'left'
    }
  }, {
    props: {
      align: 'center'
    },
    style: {
      textAlign: 'center'
    }
  }, {
    props: {
      align: 'right'
    },
    style: {
      textAlign: 'right',
      flexDirection: 'row-reverse'
    }
  }, {
    props: {
      align: 'justify'
    },
    style: {
      textAlign: 'justify'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.stickyHeader,
    style: {
      position: 'sticky',
      top: 0,
      zIndex: 2,
      backgroundColor: (theme.vars || theme).palette.background.default
    }
  }]
})));

/**
 * The component renders a `<th>` element when the parent context is a header
 * or otherwise a `<td>` element.
 */
const TableCell = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TableCell(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_9__.useDefaultProps)({
    props: inProps,
    name: 'MuiTableCell'
  });
  const {
    align = 'inherit',
    className,
    component: componentProp,
    padding: paddingProp,
    scope: scopeProp,
    size: sizeProp,
    sortDirection,
    variant: variantProp,
    ...other
  } = props;
  const table = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_Table_TableContext_js__WEBPACK_IMPORTED_MODULE_5__["default"]);
  const tablelvl2 = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_6__["default"]);
  const isHeadCell = tablelvl2 && tablelvl2.variant === 'head';
  let component;
  if (componentProp) {
    component = componentProp;
  } else {
    component = isHeadCell ? 'th' : 'td';
  }
  let scope = scopeProp;
  // scope is not a valid attribute for <td/> elements.
  // source: https://html.spec.whatwg.org/multipage/tables.html#the-td-element
  if (component === 'td') {
    scope = undefined;
  } else if (!scope && isHeadCell) {
    scope = 'col';
  }
  const variant = variantProp || tablelvl2 && tablelvl2.variant;
  const ownerState = {
    ...props,
    align,
    component,
    padding: paddingProp || (table && table.padding ? table.padding : 'normal'),
    size: sizeProp || (table && table.size ? table.size : 'medium'),
    sortDirection,
    stickyHeader: variant === 'head' && table && table.stickyHeader,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  let ariaSort = null;
  if (sortDirection) {
    ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TableCellRoot, {
    as: component,
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    "aria-sort": ariaSort,
    scope: scope,
    ownerState: ownerState,
    ...other
  });
});
 true ? TableCell.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Set the text-align on the table cell content.
   *
   * Monetary or generally number fields **should be right aligned** as that allows
   * you to add them up quickly in your head without having to worry about decimals.
   * @default 'inherit'
   */
  align: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'inherit', 'justify', 'left', 'right']),
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Sets the padding applied to the cell.
   * The prop defaults to the value (`'default'`) inherited from the parent Table component.
   */
  padding: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['checkbox', 'none', 'normal']),
  /**
   * Set scope attribute.
   */
  scope: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Specify the size of the cell.
   * The prop defaults to the value (`'medium'`) inherited from the parent Table component.
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Set aria-sort direction.
   */
  sortDirection: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['asc', 'desc', false]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Specify the cell type.
   * The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['body', 'footer', 'head']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableCell);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/tableCellClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/tableCellClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTableCellUtilityClass: () => (/* binding */ getTableCellUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTableCellUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTableCell', slot);
}
const tableCellClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTableCell', ['root', 'head', 'body', 'footer', 'sizeSmall', 'sizeMedium', 'paddingCheckbox', 'paddingNone', 'alignLeft', 'alignCenter', 'alignRight', 'alignJustify', 'stickyHeader']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tableCellClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/TableContainer.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _tableContainerClasses_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tableContainerClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/tableContainerClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';









const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tableContainerClasses_js__WEBPACK_IMPORTED_MODULE_6__.getTableContainerUtilityClass, classes);
};
const TableContainerRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiTableContainer',
  slot: 'Root'
})({
  width: '100%',
  overflowX: 'auto'
});
const TableContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TableContainer(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_5__.useDefaultProps)({
    props: inProps,
    name: 'MuiTableContainer'
  });
  const {
    className,
    component = 'div',
    ...other
  } = props;
  const ownerState = {
    ...props,
    component
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(TableContainerRoot, {
    ref: ref,
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ownerState: ownerState,
    ...other
  });
});
 true ? TableContainer.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally `Table`.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableContainer);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/tableContainerClasses.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableContainer/tableContainerClasses.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTableContainerUtilityClass: () => (/* binding */ getTableContainerUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTableContainerUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTableContainer', slot);
}
const tableContainerClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTableContainer', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tableContainerClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/TableHead.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Table/Tablelvl2Context.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Tablelvl2Context.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _tableHeadClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./tableHeadClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/tableHeadClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tableHeadClasses_js__WEBPACK_IMPORTED_MODULE_7__.getTableHeadUtilityClass, classes);
};
const TableHeadRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('thead', {
  name: 'MuiTableHead',
  slot: 'Root'
})({
  display: 'table-header-group'
});
const tablelvl2 = {
  variant: 'head'
};
const defaultComponent = 'thead';
const TableHead = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TableHead(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiTableHead'
  });
  const {
    className,
    component = defaultComponent,
    ...other
  } = props;
  const ownerState = {
    ...props,
    component
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_4__["default"].Provider, {
    value: tablelvl2,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(TableHeadRoot, {
      as: component,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ref: ref,
      role: component === defaultComponent ? null : 'rowgroup',
      ownerState: ownerState,
      ...other
    })
  });
});
 true ? TableHead.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component, normally `TableRow`.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableHead);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/tableHeadClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableHead/tableHeadClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTableHeadUtilityClass: () => (/* binding */ getTableHeadUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTableHeadUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTableHead', slot);
}
const tableHeadClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTableHead', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tableHeadClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/TablePagination.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/TablePagination.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/integerPropType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js");
/* harmony import */ var _mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/chainPropTypes */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _InputBase_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../InputBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputBase/InputBase.js");
/* harmony import */ var _MenuItem_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../MenuItem/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/MenuItem/MenuItem.js");
/* harmony import */ var _Select_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Select/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _TableCell_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../TableCell/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableCell/TableCell.js");
/* harmony import */ var _Toolbar_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../Toolbar/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Toolbar/Toolbar.js");
/* harmony import */ var _TablePaginationActions_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../TablePaginationActions/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePaginationActions/TablePaginationActions.js");
/* harmony import */ var _utils_useId_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/useId.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _tablePaginationClasses_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./tablePaginationClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/tablePaginationClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

var _InputBase;




















const TablePaginationRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_TableCell_index_js__WEBPACK_IMPORTED_MODULE_12__["default"], {
  name: 'MuiTablePagination',
  slot: 'Root'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  overflow: 'auto',
  color: (theme.vars || theme).palette.text.primary,
  fontSize: theme.typography.pxToRem(14),
  // Increase the specificity to override TableCell.
  '&:last-child': {
    padding: 0
  }
})));
const TablePaginationToolbar = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_Toolbar_index_js__WEBPACK_IMPORTED_MODULE_13__["default"], {
  name: 'MuiTablePagination',
  slot: 'Toolbar',
  overridesResolver: (props, styles) => ({
    [`& .${_tablePaginationClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].actions}`]: styles.actions,
    ...styles.toolbar
  })
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  minHeight: 52,
  paddingRight: 2,
  [`${theme.breakpoints.up('xs')} and (orientation: landscape)`]: {
    minHeight: 52
  },
  [theme.breakpoints.up('sm')]: {
    minHeight: 52,
    paddingRight: 2
  },
  [`& .${_tablePaginationClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].actions}`]: {
    flexShrink: 0,
    marginLeft: 20
  }
})));
const TablePaginationSpacer = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiTablePagination',
  slot: 'Spacer'
})({
  flex: '1 1 100%'
});
const TablePaginationSelectLabel = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('p', {
  name: 'MuiTablePagination',
  slot: 'SelectLabel'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  ...theme.typography.body2,
  flexShrink: 0
})));
const TablePaginationSelect = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_Select_index_js__WEBPACK_IMPORTED_MODULE_11__["default"], {
  name: 'MuiTablePagination',
  slot: 'Select',
  overridesResolver: (props, styles) => ({
    [`& .${_tablePaginationClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].selectIcon}`]: styles.selectIcon,
    [`& .${_tablePaginationClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].select}`]: styles.select,
    ...styles.input,
    ...styles.selectRoot
  })
})({
  color: 'inherit',
  fontSize: 'inherit',
  flexShrink: 0,
  marginRight: 32,
  marginLeft: 8,
  [`& .${_tablePaginationClasses_js__WEBPACK_IMPORTED_MODULE_16__["default"].select}`]: {
    paddingLeft: 8,
    paddingRight: 24,
    textAlign: 'right',
    textAlignLast: 'right' // Align <select> on Chrome.
  }
});
const TablePaginationMenuItem = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_MenuItem_index_js__WEBPACK_IMPORTED_MODULE_10__["default"], {
  name: 'MuiTablePagination',
  slot: 'MenuItem'
})({});
const TablePaginationDisplayedRows = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('p', {
  name: 'MuiTablePagination',
  slot: 'DisplayedRows'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  ...theme.typography.body2,
  flexShrink: 0
})));
function defaultLabelDisplayedRows({
  from,
  to,
  count
}) {
  return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
}
function defaultGetAriaLabel(type) {
  return `Go to ${type} page`;
}
const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root'],
    toolbar: ['toolbar'],
    spacer: ['spacer'],
    selectLabel: ['selectLabel'],
    select: ['select'],
    input: ['input'],
    selectIcon: ['selectIcon'],
    menuItem: ['menuItem'],
    displayedRows: ['displayedRows'],
    actions: ['actions']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _tablePaginationClasses_js__WEBPACK_IMPORTED_MODULE_16__.getTablePaginationUtilityClass, classes);
};

/**
 * A `TableCell` based component for placing inside `TableFooter` for pagination.
 */
const TablePagination = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TablePagination(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiTablePagination'
  });
  const {
    ActionsComponent = _TablePaginationActions_index_js__WEBPACK_IMPORTED_MODULE_14__["default"],
    backIconButtonProps,
    colSpan: colSpanProp,
    component = _TableCell_index_js__WEBPACK_IMPORTED_MODULE_12__["default"],
    count,
    disabled = false,
    getItemAriaLabel = defaultGetAriaLabel,
    labelDisplayedRows = defaultLabelDisplayedRows,
    labelRowsPerPage = 'Rows per page:',
    nextIconButtonProps,
    onPageChange,
    onRowsPerPageChange,
    page,
    rowsPerPage,
    rowsPerPageOptions = [10, 25, 50, 100],
    SelectProps = {},
    showFirstButton = false,
    showLastButton = false,
    slotProps = {},
    slots = {},
    ...other
  } = props;
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  const selectProps = slotProps?.select ?? SelectProps;
  const MenuItemComponent = selectProps.native ? 'option' : TablePaginationMenuItem;
  let colSpan;
  if (component === _TableCell_index_js__WEBPACK_IMPORTED_MODULE_12__["default"] || component === 'td') {
    colSpan = colSpanProp || 1000; // col-span over everything
  }
  const selectId = (0,_utils_useId_js__WEBPACK_IMPORTED_MODULE_15__["default"])(selectProps.id);
  const labelId = (0,_utils_useId_js__WEBPACK_IMPORTED_MODULE_15__["default"])(selectProps.labelId);
  const getLabelDisplayedRowsTo = () => {
    if (count === -1) {
      return (page + 1) * rowsPerPage;
    }
    return rowsPerPage === -1 ? count : Math.min(count, (page + 1) * rowsPerPage);
  };
  const externalForwardedProps = {
    slots,
    slotProps
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('root', {
    ref,
    className: classes.root,
    elementType: TablePaginationRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      component,
      ...other
    },
    ownerState,
    additionalProps: {
      colSpan
    }
  });
  const [ToolbarSlot, toolbarSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('toolbar', {
    className: classes.toolbar,
    elementType: TablePaginationToolbar,
    externalForwardedProps,
    ownerState
  });
  const [SpacerSlot, spacerSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('spacer', {
    className: classes.spacer,
    elementType: TablePaginationSpacer,
    externalForwardedProps,
    ownerState
  });
  const [SelectLabelSlot, selectLabelSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('selectLabel', {
    className: classes.selectLabel,
    elementType: TablePaginationSelectLabel,
    externalForwardedProps,
    ownerState,
    additionalProps: {
      id: labelId
    }
  });
  const [SelectSlot, selectSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('select', {
    className: classes.select,
    elementType: TablePaginationSelect,
    externalForwardedProps,
    ownerState
  });
  const [MenuItemSlot, menuItemSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('menuItem', {
    className: classes.menuItem,
    elementType: MenuItemComponent,
    externalForwardedProps,
    ownerState
  });
  const [DisplayedRows, displayedRowsProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_17__["default"])('displayedRows', {
    className: classes.displayedRows,
    elementType: TablePaginationDisplayedRows,
    externalForwardedProps,
    ownerState
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(RootSlot, {
    ...rootSlotProps,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsxs)(ToolbarSlot, {
      ...toolbarSlotProps,
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(SpacerSlot, {
        ...spacerSlotProps
      }), rowsPerPageOptions.length > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(SelectLabelSlot, {
        ...selectLabelSlotProps,
        children: labelRowsPerPage
      }), rowsPerPageOptions.length > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(SelectSlot, {
        variant: "standard",
        ...(!selectProps.variant && {
          input: _InputBase || (_InputBase = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(_InputBase_index_js__WEBPACK_IMPORTED_MODULE_9__["default"], {}))
        }),
        value: rowsPerPage,
        onChange: onRowsPerPageChange,
        id: selectId,
        labelId: labelId,
        ...selectProps,
        classes: {
          ...selectProps.classes,
          // TODO v5 remove `classes.input`
          root: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.input, classes.selectRoot, (selectProps.classes || {}).root),
          select: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.select, (selectProps.classes || {}).select),
          // TODO v5 remove `selectIcon`
          icon: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.selectIcon, (selectProps.classes || {}).icon)
        },
        disabled: disabled,
        ...selectSlotProps,
        children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(MenuItemSlot, {
          ...menuItemSlotProps,
          key: rowsPerPageOption.label ? rowsPerPageOption.label : rowsPerPageOption,
          value: rowsPerPageOption.value ? rowsPerPageOption.value : rowsPerPageOption
        }, rowsPerPageOption.label ? rowsPerPageOption.label : rowsPerPageOption))
      }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(DisplayedRows, {
        ...displayedRowsProps,
        children: labelDisplayedRows({
          from: count === 0 ? 0 : page * rowsPerPage + 1,
          to: getLabelDisplayedRowsTo(),
          count: count === -1 ? -1 : count,
          page
        })
      }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_18__.jsx)(ActionsComponent, {
        className: classes.actions,
        backIconButtonProps: backIconButtonProps,
        count: count,
        nextIconButtonProps: nextIconButtonProps,
        onPageChange: onPageChange,
        page: page,
        rowsPerPage: rowsPerPage,
        showFirstButton: showFirstButton,
        showLastButton: showLastButton,
        slotProps: slotProps.actions,
        slots: slots.actions,
        getItemAriaLabel: getItemAriaLabel,
        disabled: disabled
      })]
    })
  });
});
 true ? TablePagination.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The component used for displaying the actions.
   * Either a string to use a HTML element or a component.
   * @default TablePaginationActions
   */
  ActionsComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Props applied to the back arrow [`IconButton`](https://mui.com/material-ui/api/icon-button/) component.
   *
   * This prop is an alias for `slotProps.actions.previousButton` and will be overridden by it if both are used.
   * @deprecated Use `slotProps.actions.previousButton` instead.
   */
  backIconButtonProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  colSpan: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * The total number of rows.
   *
   * To enable server side pagination for an unknown number of items, provide -1.
   */
  count: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__["default"].isRequired,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Accepts a function which returns a string value that provides a user-friendly name for the current page.
   * This is important for screen reader users.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @param {string} type The link or button type to format ('first' | 'last' | 'next' | 'previous').
   * @returns {string}
   * @default function defaultGetAriaLabel(type) {
   *   return `Go to ${type} page`;
   * }
   */
  getItemAriaLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Customize the displayed rows label. Invoked with a `{ from, to, count, page }`
   * object.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default function defaultLabelDisplayedRows({ from, to, count }) {
   *   return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
   * }
   */
  labelDisplayedRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Customize the rows per page label.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @default 'Rows per page:'
   */
  labelRowsPerPage: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Props applied to the next arrow [`IconButton`](https://mui.com/material-ui/api/icon-button/) element.
   *
   * This prop is an alias for `slotProps.actions.nextButton` and will be overridden by it if both are used.
   * @deprecated Use `slotProps.actions.nextButton` instead.
   */
  nextIconButtonProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Callback fired when the page is changed.
   *
   * @param {React.MouseEvent<HTMLButtonElement> | null} event The event source of the callback.
   * @param {number} page The page selected.
   */
  onPageChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired,
  /**
   * Callback fired when the number of rows per page is changed.
   *
   * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
   */
  onRowsPerPageChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The zero-based index of the current page.
   */
  page: (0,_mui_utils_chainPropTypes__WEBPACK_IMPORTED_MODULE_4__["default"])(_mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__["default"].isRequired, props => {
    const {
      count,
      page,
      rowsPerPage
    } = props;
    if (count === -1) {
      return null;
    }
    const newLastPage = Math.max(0, Math.ceil(count / rowsPerPage) - 1);
    if (page < 0 || page > newLastPage) {
      return new Error('MUI: The page prop of a TablePagination is out of range ' + `(0 to ${newLastPage}, but page is ${page}).`);
    }
    return null;
  }),
  /**
   * The number of rows per page.
   *
   * Set -1 to display all the rows.
   */
  rowsPerPage: _mui_utils_integerPropType__WEBPACK_IMPORTED_MODULE_3__["default"].isRequired,
  /**
   * Customizes the options of the rows per page select field. If less than two options are
   * available, no select field will be displayed.
   * Use -1 for the value with a custom label to show all the rows.
   * @default [10, 25, 50, 100]
   */
  rowsPerPageOptions: prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    label: prop_types__WEBPACK_IMPORTED_MODULE_1__.string.isRequired,
    value: prop_types__WEBPACK_IMPORTED_MODULE_1__.number.isRequired
  })]).isRequired),
  /**
   * Props applied to the rows per page [`Select`](https://mui.com/material-ui/api/select/) element.
   *
   * This prop is an alias for `slotProps.select` and will be overridden by it if both are used.
   * @deprecated Use `slotProps.select` instead.
   *
   * @default {}
   */
  SelectProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * If `true`, show the first-page button.
   * @default false
   */
  showFirstButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, show the last-page button.
   * @default false
   */
  showLastButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    actions: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
      firstButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
      firstButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
      lastButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
      lastButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
      nextButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
      nextButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
      previousButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
      previousButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
    }),
    displayedRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    menuItem: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    select: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    selectLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    spacer: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    toolbar: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    actions: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
      firstButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
      firstButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
      lastButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
      lastButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
      nextButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
      nextButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
      previousButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
      previousButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
    }),
    displayedRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    menuItem: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    select: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    selectLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    spacer: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    toolbar: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TablePagination);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/tablePaginationClasses.js"
/*!******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePagination/tablePaginationClasses.js ***!
  \******************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTablePaginationUtilityClass: () => (/* binding */ getTablePaginationUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTablePaginationUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTablePagination', slot);
}
const tablePaginationClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTablePagination', ['root', 'toolbar', 'spacer', 'selectLabel', 'selectRoot', 'select', 'selectIcon', 'input', 'menuItem', 'displayedRows', 'actions']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tablePaginationClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePaginationActions/TablePaginationActions.js"
/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePaginationActions/TablePaginationActions.js ***!
  \*************************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _internal_svg_icons_KeyboardArrowLeft_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internal/svg-icons/KeyboardArrowLeft.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.js");
/* harmony import */ var _internal_svg_icons_KeyboardArrowRight_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internal/svg-icons/KeyboardArrowRight.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.js");
/* harmony import */ var _IconButton_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../IconButton/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/IconButton/IconButton.js");
/* harmony import */ var _internal_svg_icons_LastPage_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internal/svg-icons/LastPage.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/LastPage.js");
/* harmony import */ var _internal_svg_icons_FirstPage_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../internal/svg-icons/FirstPage.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/FirstPage.js");
/* harmony import */ var _tablePaginationActionsClasses_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./tablePaginationActionsClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePaginationActions/tablePaginationActionsClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tablePaginationActionsClasses_js__WEBPACK_IMPORTED_MODULE_12__.getTablePaginationActionsUtilityClass, classes);
};
const TablePaginationActionsRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('div', {
  name: 'MuiTablePaginationActions',
  slot: 'Root'
})({});
const TablePaginationActions = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TablePaginationActions(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiTablePaginationActions'
  });
  const {
    backIconButtonProps,
    className,
    count,
    disabled = false,
    getItemAriaLabel,
    nextIconButtonProps,
    onPageChange,
    page,
    rowsPerPage,
    showFirstButton,
    showLastButton,
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_2__.useRtl)();
  const ownerState = props;
  const classes = useUtilityClasses(ownerState);
  const handleFirstPageButtonClick = event => {
    onPageChange(event, 0);
  };
  const handleBackButtonClick = event => {
    onPageChange(event, page - 1);
  };
  const handleNextButtonClick = event => {
    onPageChange(event, page + 1);
  };
  const handleLastPageButtonClick = event => {
    onPageChange(event, Math.max(0, Math.ceil(count / rowsPerPage) - 1));
  };
  const FirstButton = slots.firstButton ?? _IconButton_index_js__WEBPACK_IMPORTED_MODULE_9__["default"];
  const LastButton = slots.lastButton ?? _IconButton_index_js__WEBPACK_IMPORTED_MODULE_9__["default"];
  const NextButton = slots.nextButton ?? _IconButton_index_js__WEBPACK_IMPORTED_MODULE_9__["default"];
  const PreviousButton = slots.previousButton ?? _IconButton_index_js__WEBPACK_IMPORTED_MODULE_9__["default"];
  const FirstButtonIcon = slots.firstButtonIcon ?? _internal_svg_icons_FirstPage_js__WEBPACK_IMPORTED_MODULE_11__["default"];
  const LastButtonIcon = slots.lastButtonIcon ?? _internal_svg_icons_LastPage_js__WEBPACK_IMPORTED_MODULE_10__["default"];
  const NextButtonIcon = slots.nextButtonIcon ?? _internal_svg_icons_KeyboardArrowRight_js__WEBPACK_IMPORTED_MODULE_8__["default"];
  const PreviousButtonIcon = slots.previousButtonIcon ?? _internal_svg_icons_KeyboardArrowLeft_js__WEBPACK_IMPORTED_MODULE_7__["default"];
  const FirstButtonSlot = isRtl ? LastButton : FirstButton;
  const PreviousButtonSlot = isRtl ? NextButton : PreviousButton;
  const NextButtonSlot = isRtl ? PreviousButton : NextButton;
  const LastButtonSlot = isRtl ? FirstButton : LastButton;
  const firstButtonSlotProps = isRtl ? slotProps.lastButton : slotProps.firstButton;
  const previousButtonSlotProps = isRtl ? slotProps.nextButton : slotProps.previousButton;
  const nextButtonSlotProps = isRtl ? slotProps.previousButton : slotProps.nextButton;
  const lastButtonSlotProps = isRtl ? slotProps.firstButton : slotProps.lastButton;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsxs)(TablePaginationActionsRoot, {
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_4__["default"])(classes.root, className),
    ...other,
    children: [showFirstButton && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(FirstButtonSlot, {
      onClick: handleFirstPageButtonClick,
      disabled: disabled || page === 0,
      "aria-label": getItemAriaLabel('first', page),
      title: getItemAriaLabel('first', page),
      ...firstButtonSlotProps,
      children: isRtl ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(LastButtonIcon, {
        ...slotProps.lastButtonIcon
      }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(FirstButtonIcon, {
        ...slotProps.firstButtonIcon
      })
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(PreviousButtonSlot, {
      onClick: handleBackButtonClick,
      disabled: disabled || page === 0,
      color: "inherit",
      "aria-label": getItemAriaLabel('previous', page),
      title: getItemAriaLabel('previous', page),
      ...(previousButtonSlotProps ?? backIconButtonProps),
      children: isRtl ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(NextButtonIcon, {
        ...slotProps.nextButtonIcon
      }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(PreviousButtonIcon, {
        ...slotProps.previousButtonIcon
      })
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(NextButtonSlot, {
      onClick: handleNextButtonClick,
      disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
      color: "inherit",
      "aria-label": getItemAriaLabel('next', page),
      title: getItemAriaLabel('next', page),
      ...(nextButtonSlotProps ?? nextIconButtonProps),
      children: isRtl ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(PreviousButtonIcon, {
        ...slotProps.previousButtonIcon
      }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(NextButtonIcon, {
        ...slotProps.nextButtonIcon
      })
    }), showLastButton && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(LastButtonSlot, {
      onClick: handleLastPageButtonClick,
      disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
      "aria-label": getItemAriaLabel('last', page),
      title: getItemAriaLabel('last', page),
      ...lastButtonSlotProps,
      children: isRtl ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(FirstButtonIcon, {
        ...slotProps.firstButtonIcon
      }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(LastButtonIcon, {
        ...slotProps.lastButtonIcon
      })
    })]
  });
});
 true ? TablePaginationActions.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * This prop is an alias for `slotProps.previousButton` and will be overridden by it if both are used.
   * @deprecated Use `slotProps.previousButton` instead.
   */
  backIconButtonProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  count: prop_types__WEBPACK_IMPORTED_MODULE_1__.number.isRequired,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Accepts a function which returns a string value that provides a user-friendly name for the current page.
   * This is important for screen reader users.
   *
   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
   * @param {string} type The link or button type to format ('first' | 'last' | 'next' | 'previous').
   * @returns {string}
   */
  getItemAriaLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired,
  /**
   * This prop is an alias for `slotProps.nextButton` and will be overridden by it if both are used.
   * @deprecated Use `slotProps.nextButton` instead.
   */
  nextIconButtonProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  onPageChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired,
  /**
   * @ignore
   */
  page: prop_types__WEBPACK_IMPORTED_MODULE_1__.number.isRequired,
  /**
   * @ignore
   */
  rowsPerPage: prop_types__WEBPACK_IMPORTED_MODULE_1__.number.isRequired,
  /**
   * @ignore
   */
  showFirstButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool.isRequired,
  /**
   * @ignore
   */
  showLastButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool.isRequired,
  /**
   * @ignore
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    firstButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    firstButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    lastButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    lastButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    nextButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    nextButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    previousButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    previousButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * @ignore
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    firstButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    firstButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    lastButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    lastButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    nextButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    nextButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    previousButton: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    previousButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  })
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TablePaginationActions);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePaginationActions/tablePaginationActionsClasses.js"
/*!********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TablePaginationActions/tablePaginationActionsClasses.js ***!
  \********************************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTablePaginationActionsUtilityClass: () => (/* binding */ getTablePaginationActionsUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTablePaginationActionsUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTablePaginationActions', slot);
}
const tablePaginationActionsClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTablePaginationActions', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tablePaginationActionsClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/TableRow.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Table/Tablelvl2Context.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Table/Tablelvl2Context.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _tableRowClasses_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./tableRowClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/tableRowClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const useUtilityClasses = ownerState => {
  const {
    classes,
    selected,
    hover,
    head,
    footer
  } = ownerState;
  const slots = {
    root: ['root', selected && 'selected', hover && 'hover', head && 'head', footer && 'footer']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _tableRowClasses_js__WEBPACK_IMPORTED_MODULE_8__.getTableRowUtilityClass, classes);
};
const TableRowRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('tr', {
  name: 'MuiTableRow',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.head && styles.head, ownerState.footer && styles.footer];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__["default"])(({
  theme
}) => ({
  color: 'inherit',
  display: 'table-row',
  verticalAlign: 'middle',
  // We disable the focus ring for mouse, touch and keyboard users.
  outline: 0,
  [`&.${_tableRowClasses_js__WEBPACK_IMPORTED_MODULE_8__["default"].hover}:hover`]: {
    backgroundColor: (theme.vars || theme).palette.action.hover
  },
  [`&.${_tableRowClasses_js__WEBPACK_IMPORTED_MODULE_8__["default"].selected}`]: {
    backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, (theme.vars || theme).palette.action.selectedOpacity),
    '&:hover': {
      backgroundColor: theme.alpha((theme.vars || theme).palette.primary.main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`)
    }
  }
})));
const defaultComponent = 'tr';
/**
 * Will automatically set dynamic row height
 * based on the material table element parent (head, body, etc).
 */
const TableRow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TableRow(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiTableRow'
  });
  const {
    className,
    component = defaultComponent,
    hover = false,
    selected = false,
    ...other
  } = props;
  const tablelvl2 = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_Table_Tablelvl2Context_js__WEBPACK_IMPORTED_MODULE_4__["default"]);
  const ownerState = {
    ...props,
    component,
    hover,
    selected,
    head: tablelvl2 && tablelvl2.variant === 'head',
    footer: tablelvl2 && tablelvl2.variant === 'footer'
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(TableRowRoot, {
    as: component,
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    role: component === defaultComponent ? null : 'row',
    ownerState: ownerState,
    ...other
  });
});
 true ? TableRow.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Should be valid `<tr>` children such as `TableCell`.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the table row will shade on hover.
   * @default false
   */
  hover: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the table row will have the selected shading.
   * @default false
   */
  selected: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableRow);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/tableRowClasses.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableRow/tableRowClasses.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTableRowUtilityClass: () => (/* binding */ getTableRowUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTableRowUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTableRow', slot);
}
const tableRowClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTableRow', ['root', 'selected', 'hover', 'head', 'footer']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tableRowClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableSortLabel/TableSortLabel.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableSortLabel/TableSortLabel.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _internal_svg_icons_ArrowDownward_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal/svg-icons/ArrowDownward.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ArrowDownward.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _tableSortLabelClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./tableSortLabelClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableSortLabel/tableSortLabelClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';














const useUtilityClasses = ownerState => {
  const {
    classes,
    direction,
    active
  } = ownerState;
  const slots = {
    root: ['root', active && 'active', `direction${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(direction)}`],
    icon: ['icon', `iconDirection${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(direction)}`]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_0__["default"])(slots, _tableSortLabelClasses_js__WEBPACK_IMPORTED_MODULE_10__.getTableSortLabelUtilityClass, classes);
};
const TableSortLabelRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_4__["default"], {
  name: 'MuiTableSortLabel',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.active && styles.active];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  cursor: 'pointer',
  display: 'inline-flex',
  justifyContent: 'flex-start',
  flexDirection: 'inherit',
  alignItems: 'center',
  '&:focus': {
    color: (theme.vars || theme).palette.text.secondary
  },
  '&:hover': {
    color: (theme.vars || theme).palette.text.secondary,
    [`& .${_tableSortLabelClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].icon}`]: {
      opacity: 0.5
    }
  },
  [`&.${_tableSortLabelClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].active}`]: {
    color: (theme.vars || theme).palette.text.primary,
    [`& .${_tableSortLabelClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].icon}`]: {
      opacity: 1,
      color: (theme.vars || theme).palette.text.secondary
    }
  }
})));
const TableSortLabelIcon = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('span', {
  name: 'MuiTableSortLabel',
  slot: 'Icon',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.icon, styles[`iconDirection${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.direction)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  fontSize: 18,
  marginRight: 4,
  marginLeft: 4,
  opacity: 0,
  transition: theme.transitions.create(['opacity', 'transform'], {
    duration: theme.transitions.duration.shorter
  }),
  userSelect: 'none',
  variants: [{
    props: {
      direction: 'desc'
    },
    style: {
      transform: 'rotate(0deg)'
    }
  }, {
    props: {
      direction: 'asc'
    },
    style: {
      transform: 'rotate(180deg)'
    }
  }]
})));

/**
 * A button based label for placing inside `TableCell` for column sorting.
 */
const TableSortLabel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.forwardRef(function TableSortLabel(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiTableSortLabel'
  });
  const {
    active = false,
    children,
    className,
    direction = 'asc',
    hideSortIcon = false,
    IconComponent = _internal_svg_icons_ArrowDownward_js__WEBPACK_IMPORTED_MODULE_5__["default"],
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const ownerState = {
    ...props,
    active,
    direction,
    hideSortIcon,
    IconComponent
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots,
    slotProps
  };
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_11__["default"])('root', {
    elementType: TableSortLabelRoot,
    externalForwardedProps,
    ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(classes.root, className),
    ref
  });
  const [IconSlot, iconProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_11__["default"])('icon', {
    elementType: TableSortLabelIcon,
    externalForwardedProps,
    ownerState,
    className: classes.icon
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(RootSlot, {
    disableRipple: true,
    component: "span",
    ...rootProps,
    ...other,
    children: [children, hideSortIcon && !active ? null : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(IconSlot, {
      as: IconComponent,
      ...iconProps
    })]
  });
});
 true ? TableSortLabel.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, the label will have the active styling (should be true for the sorted column).
   * @default false
   */
  active: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Label contents, the arrow will be appended automatically.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * The current sort direction.
   * @default 'asc'
   */
  direction: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['asc', 'desc']),
  /**
   * Hide sort icon when active is false.
   * @default false
   */
  hideSortIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Sort icon to use.
   * @default ArrowDownwardIcon
   */
  IconComponent: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    icon: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    icon: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TableSortLabel);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableSortLabel/tableSortLabelClasses.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TableSortLabel/tableSortLabelClasses.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTableSortLabelUtilityClass: () => (/* binding */ getTableSortLabelUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTableSortLabelUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTableSortLabel', slot);
}
const tableSortLabelClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTableSortLabel', ['root', 'active', 'icon', 'iconDirectionDesc', 'iconDirectionAsc', 'directionDesc', 'directionAsc']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tableSortLabelClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/ScrollbarSize.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/ScrollbarSize.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ScrollbarSize)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/debounce.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';






const styles = {
  width: 99,
  height: 99,
  position: 'absolute',
  top: -9999,
  overflow: 'scroll'
};

/**
 * @ignore - internal component.
 * The component originates from https://github.com/STORIS/react-scrollbar-size.
 * It has been moved into the core in order to minimize the bundle size.
 */
function ScrollbarSize(props) {
  const {
    onChange,
    ...other
  } = props;
  const scrollbarHeight = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const nodeRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const setMeasurements = () => {
    scrollbarHeight.current = nodeRef.current.offsetHeight - nodeRef.current.clientHeight;
  };
  (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
    const handleResize = (0,_utils_debounce_js__WEBPACK_IMPORTED_MODULE_2__["default"])(() => {
      const prevHeight = scrollbarHeight.current;
      setMeasurements();
      if (prevHeight !== scrollbarHeight.current) {
        onChange(scrollbarHeight.current);
      }
    });
    const containerWindow = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(nodeRef.current);
    containerWindow.addEventListener('resize', handleResize);
    return () => {
      handleResize.clear();
      containerWindow.removeEventListener('resize', handleResize);
    };
  }, [onChange]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    setMeasurements();
    onChange(scrollbarHeight.current);
  }, [onChange]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div", {
    style: styles,
    ...other,
    ref: nodeRef
  });
}
 true ? ScrollbarSize.propTypes = {
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func.isRequired
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/Tabs.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/Tabs.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils/useSlotProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/debounce.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js");
/* harmony import */ var _internal_animate_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internal/animate.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/animate.js");
/* harmony import */ var _ScrollbarSize_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ScrollbarSize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/ScrollbarSize.js");
/* harmony import */ var _TabScrollButton_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../TabScrollButton/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TabScrollButton/TabScrollButton.js");
/* harmony import */ var _utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/useEventCallback.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _tabsClasses_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./tabsClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/tabsClasses.js");
/* harmony import */ var _utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils/ownerDocument.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js");
/* harmony import */ var _utils_ownerWindow_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils/ownerWindow.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js");
/* harmony import */ var _utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../utils/getActiveElement.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getActiveElement.js");
/* harmony import */ var _utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils/isLayoutSupported.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isLayoutSupported.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
























const nextItem = (list, item) => {
  if (list === item) {
    return list.firstChild;
  }
  if (item && item.nextElementSibling) {
    return item.nextElementSibling;
  }
  return list.firstChild;
};
const previousItem = (list, item) => {
  if (list === item) {
    return list.lastChild;
  }
  if (item && item.previousElementSibling) {
    return item.previousElementSibling;
  }
  return list.lastChild;
};
const moveFocus = (list, currentFocus, traversalFunction) => {
  let wrappedOnce = false;
  let nextFocus = traversalFunction(list, currentFocus);
  while (nextFocus) {
    // Prevent infinite loop.
    if (nextFocus === list.firstChild) {
      if (wrappedOnce) {
        return;
      }
      wrappedOnce = true;
    }

    // Same logic as useAutocomplete.js
    const nextFocusDisabled = nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';
    if (!nextFocus.hasAttribute('tabindex') || nextFocusDisabled) {
      // Move to the next element.
      nextFocus = traversalFunction(list, nextFocus);
    } else {
      nextFocus.focus();
      return;
    }
  }
};
const useUtilityClasses = ownerState => {
  const {
    vertical,
    fixed,
    hideScrollbar,
    scrollableX,
    scrollableY,
    centered,
    scrollButtonsHideMobile,
    classes
  } = ownerState;
  const slots = {
    root: ['root', vertical && 'vertical'],
    scroller: ['scroller', fixed && 'fixed', hideScrollbar && 'hideScrollbar', scrollableX && 'scrollableX', scrollableY && 'scrollableY'],
    list: ['list', 'flexContainer', vertical && 'flexContainerVertical', vertical && 'vertical', centered && 'centered'],
    indicator: ['indicator'],
    scrollButtons: ['scrollButtons', scrollButtonsHideMobile && 'scrollButtonsHideMobile'],
    scrollableX: [scrollableX && 'scrollableX'],
    hideScrollbar: [hideScrollbar && 'hideScrollbar']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _tabsClasses_js__WEBPACK_IMPORTED_MODULE_17__.getTabsUtilityClass, classes);
};
const TabsRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])('div', {
  name: 'MuiTabs',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_tabsClasses_js__WEBPACK_IMPORTED_MODULE_17__["default"].scrollButtons}`]: styles.scrollButtons
    }, {
      [`& .${_tabsClasses_js__WEBPACK_IMPORTED_MODULE_17__["default"].scrollButtons}`]: ownerState.scrollButtonsHideMobile && styles.scrollButtonsHideMobile
    }, styles.root, ownerState.vertical && styles.vertical];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_10__["default"])(({
  theme
}) => ({
  overflow: 'hidden',
  minHeight: 48,
  // Add iOS momentum scrolling for iOS < 13.0
  WebkitOverflowScrolling: 'touch',
  display: 'flex',
  variants: [{
    props: ({
      ownerState
    }) => ownerState.vertical,
    style: {
      flexDirection: 'column'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.scrollButtonsHideMobile,
    style: {
      [`& .${_tabsClasses_js__WEBPACK_IMPORTED_MODULE_17__["default"].scrollButtons}`]: {
        [theme.breakpoints.down('sm')]: {
          display: 'none'
        }
      }
    }
  }]
})));
const TabsScroller = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])('div', {
  name: 'MuiTabs',
  slot: 'Scroller',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.scroller, ownerState.fixed && styles.fixed, ownerState.hideScrollbar && styles.hideScrollbar, ownerState.scrollableX && styles.scrollableX, ownerState.scrollableY && styles.scrollableY];
  }
})({
  position: 'relative',
  display: 'inline-block',
  flex: '1 1 auto',
  whiteSpace: 'nowrap',
  variants: [{
    props: ({
      ownerState
    }) => ownerState.fixed,
    style: {
      overflowX: 'hidden',
      width: '100%'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.hideScrollbar,
    style: {
      // Hide dimensionless scrollbar on macOS
      scrollbarWidth: 'none',
      // Firefox
      '&::-webkit-scrollbar': {
        display: 'none' // Safari + Chrome
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.scrollableX,
    style: {
      overflowX: 'auto',
      overflowY: 'hidden'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.scrollableY,
    style: {
      overflowY: 'auto',
      overflowX: 'hidden'
    }
  }]
});
const List = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])('div', {
  name: 'MuiTabs',
  slot: 'List',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.list, styles.flexContainer, ownerState.vertical && styles.flexContainerVertical, ownerState.centered && styles.centered];
  }
})({
  display: 'flex',
  variants: [{
    props: ({
      ownerState
    }) => ownerState.vertical,
    style: {
      flexDirection: 'column'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.centered,
    style: {
      justifyContent: 'center'
    }
  }]
});
const TabsIndicator = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])('span', {
  name: 'MuiTabs',
  slot: 'Indicator'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_10__["default"])(({
  theme
}) => ({
  position: 'absolute',
  height: 2,
  bottom: 0,
  width: '100%',
  transition: theme.transitions.create(),
  variants: [{
    props: {
      indicatorColor: 'primary'
    },
    style: {
      backgroundColor: (theme.vars || theme).palette.primary.main
    }
  }, {
    props: {
      indicatorColor: 'secondary'
    },
    style: {
      backgroundColor: (theme.vars || theme).palette.secondary.main
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.vertical,
    style: {
      height: '100%',
      width: 2,
      right: 0
    }
  }]
})));
const TabsScrollbarSize = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])(_ScrollbarSize_js__WEBPACK_IMPORTED_MODULE_14__["default"])({
  overflowX: 'auto',
  overflowY: 'hidden',
  // Hide dimensionless scrollbar on macOS
  scrollbarWidth: 'none',
  // Firefox
  '&::-webkit-scrollbar': {
    display: 'none' // Safari + Chrome
  }
});
const defaultIndicatorStyle = {};
let warnedOnceTabPresent = false;
const Tabs = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Tabs(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_11__.useDefaultProps)({
    props: inProps,
    name: 'MuiTabs'
  });
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_6__.useRtl)();
  const {
    'aria-label': ariaLabel,
    'aria-labelledby': ariaLabelledBy,
    action,
    centered = false,
    children: childrenProp,
    className,
    component = 'div',
    allowScrollButtonsMobile = false,
    indicatorColor = 'primary',
    onChange,
    orientation = 'horizontal',
    ScrollButtonComponent,
    // TODO: remove in v7 (deprecated in v6)
    scrollButtons = 'auto',
    selectionFollowsFocus,
    slots = {},
    slotProps = {},
    TabIndicatorProps = {},
    // TODO: remove in v7 (deprecated in v6)
    TabScrollButtonProps = {},
    // TODO: remove in v7 (deprecated in v6)
    textColor = 'primary',
    value,
    variant = 'standard',
    visibleScrollbar = false,
    ...other
  } = props;
  const scrollable = variant === 'scrollable';
  const vertical = orientation === 'vertical';
  const scrollStart = vertical ? 'scrollTop' : 'scrollLeft';
  const start = vertical ? 'top' : 'left';
  const end = vertical ? 'bottom' : 'right';
  const clientSize = vertical ? 'clientHeight' : 'clientWidth';
  const size = vertical ? 'height' : 'width';
  const ownerState = {
    ...props,
    component,
    allowScrollButtonsMobile,
    indicatorColor,
    orientation,
    vertical,
    scrollButtons,
    textColor,
    variant,
    visibleScrollbar,
    fixed: !scrollable,
    hideScrollbar: scrollable && !visibleScrollbar,
    scrollableX: scrollable && !vertical,
    scrollableY: scrollable && vertical,
    centered: centered && !scrollable,
    scrollButtonsHideMobile: !allowScrollButtonsMobile
  };
  const classes = useUtilityClasses(ownerState);
  const startScrollButtonIconProps = (0,_mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_7__["default"])({
    elementType: slots.StartScrollButtonIcon,
    externalSlotProps: slotProps.startScrollButtonIcon,
    ownerState
  });
  const endScrollButtonIconProps = (0,_mui_utils_useSlotProps__WEBPACK_IMPORTED_MODULE_7__["default"])({
    elementType: slots.EndScrollButtonIcon,
    externalSlotProps: slotProps.endScrollButtonIcon,
    ownerState
  });
  if (true) {
    if (centered && scrollable) {
      console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties ' + 'at the same time on a `Tabs` component.');
    }
  }
  const [mounted, setMounted] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const [indicatorStyle, setIndicatorStyle] = react__WEBPACK_IMPORTED_MODULE_0__.useState(defaultIndicatorStyle);
  const [displayStartScroll, setDisplayStartScroll] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const [displayEndScroll, setDisplayEndScroll] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const [updateScrollObserver, setUpdateScrollObserver] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const [scrollerStyle, setScrollerStyle] = react__WEBPACK_IMPORTED_MODULE_0__.useState({
    overflow: 'hidden',
    scrollbarWidth: 0
  });
  const valueToIndex = new Map();
  const tabsRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const tabListRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const externalForwardedProps = {
    slots,
    slotProps: {
      indicator: TabIndicatorProps,
      scrollButtons: TabScrollButtonProps,
      ...slotProps
    }
  };
  const getTabsMeta = () => {
    const tabsNode = tabsRef.current;
    let tabsMeta;
    if (tabsNode) {
      const rect = tabsNode.getBoundingClientRect();
      // create a new object with ClientRect class props + scrollLeft
      tabsMeta = {
        clientWidth: tabsNode.clientWidth,
        scrollLeft: tabsNode.scrollLeft,
        scrollTop: tabsNode.scrollTop,
        scrollWidth: tabsNode.scrollWidth,
        top: rect.top,
        bottom: rect.bottom,
        left: rect.left,
        right: rect.right
      };
    }
    let tabMeta;
    if (tabsNode && value !== false) {
      const children = tabListRef.current.children;
      if (children.length > 0) {
        const tab = children[valueToIndex.get(value)];
        if (true) {
          if (!tab) {
            console.error([`MUI: The \`value\` provided to the Tabs component is invalid.`, `None of the Tabs' children match with "${value}".`, valueToIndex.keys ? `You can provide one of the following values: ${Array.from(valueToIndex.keys()).join(', ')}.` : null].join('\n'));
          }
        }
        tabMeta = tab ? tab.getBoundingClientRect() : null;
        if (true) {
          if ((0,_utils_isLayoutSupported_js__WEBPACK_IMPORTED_MODULE_21__["default"])() && !warnedOnceTabPresent && tabMeta && tabMeta.width === 0 && tabMeta.height === 0 &&
          // if the whole Tabs component is hidden, don't warn
          tabsMeta.clientWidth !== 0) {
            tabsMeta = null;
            console.error(['MUI: The `value` provided to the Tabs component is invalid.', `The Tab with this \`value\` ("${value}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join('\n'));
            warnedOnceTabPresent = true;
          }
        }
      }
    }
    return {
      tabsMeta,
      tabMeta
    };
  };
  const updateIndicatorState = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_16__["default"])(() => {
    const {
      tabsMeta,
      tabMeta
    } = getTabsMeta();
    let startValue = 0;
    let startIndicator;
    if (vertical) {
      startIndicator = 'top';
      if (tabMeta && tabsMeta) {
        startValue = tabMeta.top - tabsMeta.top + tabsMeta.scrollTop;
      }
    } else {
      startIndicator = isRtl ? 'right' : 'left';
      if (tabMeta && tabsMeta) {
        startValue = (isRtl ? -1 : 1) * (tabMeta[startIndicator] - tabsMeta[startIndicator] + tabsMeta.scrollLeft);
      }
    }
    const newIndicatorStyle = {
      [startIndicator]: startValue,
      // May be wrong until the font is loaded.
      [size]: tabMeta ? tabMeta[size] : 0
    };
    if (typeof indicatorStyle[startIndicator] !== 'number' || typeof indicatorStyle[size] !== 'number') {
      setIndicatorStyle(newIndicatorStyle);
    } else {
      const dStart = Math.abs(indicatorStyle[startIndicator] - newIndicatorStyle[startIndicator]);
      const dSize = Math.abs(indicatorStyle[size] - newIndicatorStyle[size]);
      if (dStart >= 1 || dSize >= 1) {
        setIndicatorStyle(newIndicatorStyle);
      }
    }
  });
  const scroll = (scrollValue, {
    animation = true
  } = {}) => {
    if (animation) {
      (0,_internal_animate_js__WEBPACK_IMPORTED_MODULE_13__["default"])(scrollStart, tabsRef.current, scrollValue, {
        duration: theme.transitions.duration.standard
      });
    } else {
      tabsRef.current[scrollStart] = scrollValue;
    }
  };
  const moveTabsScroll = delta => {
    let scrollValue = tabsRef.current[scrollStart];
    if (vertical) {
      scrollValue += delta;
    } else {
      scrollValue += delta * (isRtl ? -1 : 1);
    }
    scroll(scrollValue);
  };
  const getScrollSize = () => {
    const containerSize = tabsRef.current[clientSize];
    let totalSize = 0;
    const children = Array.from(tabListRef.current.children);
    for (let i = 0; i < children.length; i += 1) {
      const tab = children[i];
      if (totalSize + tab[clientSize] > containerSize) {
        // If the first item is longer than the container size, then only scroll
        // by the container size.
        if (i === 0) {
          totalSize = containerSize;
        }
        break;
      }
      totalSize += tab[clientSize];
    }
    return totalSize;
  };
  const handleStartScrollClick = () => {
    moveTabsScroll(-1 * getScrollSize());
  };
  const handleEndScrollClick = () => {
    moveTabsScroll(getScrollSize());
  };
  const [ScrollbarSlot, {
    onChange: scrollbarOnChange,
    ...scrollbarSlotProps
  }] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_22__["default"])('scrollbar', {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.scrollableX, classes.hideScrollbar),
    elementType: TabsScrollbarSize,
    shouldForwardComponentProp: true,
    externalForwardedProps,
    ownerState
  });

  // TODO Remove <ScrollbarSize /> as browser support for hiding the scrollbar
  // with CSS improves.
  const handleScrollbarSizeChange = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(scrollbarWidth => {
    scrollbarOnChange?.(scrollbarWidth);
    setScrollerStyle({
      overflow: null,
      scrollbarWidth
    });
  }, [scrollbarOnChange]);
  const [ScrollButtonsSlot, scrollButtonSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_22__["default"])('scrollButtons', {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.scrollButtons, TabScrollButtonProps.className),
    elementType: _TabScrollButton_index_js__WEBPACK_IMPORTED_MODULE_15__["default"],
    externalForwardedProps,
    ownerState,
    additionalProps: {
      orientation,
      slots: {
        StartScrollButtonIcon: slots.startScrollButtonIcon || slots.StartScrollButtonIcon,
        EndScrollButtonIcon: slots.endScrollButtonIcon || slots.EndScrollButtonIcon
      },
      slotProps: {
        startScrollButtonIcon: startScrollButtonIconProps,
        endScrollButtonIcon: endScrollButtonIconProps
      }
    }
  });
  const getConditionalElements = () => {
    const conditionalElements = {};
    conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(ScrollbarSlot, {
      ...scrollbarSlotProps,
      onChange: handleScrollbarSizeChange
    }) : null;
    const scrollButtonsActive = displayStartScroll || displayEndScroll;
    const showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === true);
    conditionalElements.scrollButtonStart = showScrollButtons ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(ScrollButtonsSlot, {
      direction: isRtl ? 'right' : 'left',
      onClick: handleStartScrollClick,
      disabled: !displayStartScroll,
      ...scrollButtonSlotProps
    }) : null;
    conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(ScrollButtonsSlot, {
      direction: isRtl ? 'left' : 'right',
      onClick: handleEndScrollClick,
      disabled: !displayEndScroll,
      ...scrollButtonSlotProps
    }) : null;
    return conditionalElements;
  };
  const scrollSelectedIntoView = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_16__["default"])(animation => {
    const {
      tabsMeta,
      tabMeta
    } = getTabsMeta();
    if (!tabMeta || !tabsMeta) {
      return;
    }
    if (tabMeta[start] < tabsMeta[start]) {
      // left side of button is out of view
      const nextScrollStart = tabsMeta[scrollStart] + (tabMeta[start] - tabsMeta[start]);
      scroll(nextScrollStart, {
        animation
      });
    } else if (tabMeta[end] > tabsMeta[end]) {
      // right side of button is out of view
      const nextScrollStart = tabsMeta[scrollStart] + (tabMeta[end] - tabsMeta[end]);
      scroll(nextScrollStart, {
        animation
      });
    }
  });
  const updateScrollButtonState = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_16__["default"])(() => {
    if (scrollable && scrollButtons !== false) {
      setUpdateScrollObserver(!updateScrollObserver);
    }
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    const handleResize = (0,_utils_debounce_js__WEBPACK_IMPORTED_MODULE_12__["default"])(() => {
      // If the Tabs component is replaced by Suspense with a fallback, the last
      // ResizeObserver's handler that runs because of the change in the layout is trying to
      // access a dom node that is no longer there (as the fallback component is being shown instead).
      // See https://github.com/mui/material-ui/issues/33276
      // TODO: Add tests that will ensure the component is not failing when
      // replaced by Suspense with a fallback, once React is updated to version 18
      if (tabsRef.current) {
        updateIndicatorState();
      }
    });
    let resizeObserver;

    /**
     * @type {MutationCallback}
     */
    const handleMutation = records => {
      records.forEach(record => {
        record.removedNodes.forEach(item => {
          resizeObserver?.unobserve(item);
        });
        record.addedNodes.forEach(item => {
          resizeObserver?.observe(item);
        });
      });
      handleResize();
      updateScrollButtonState();
    };
    const win = (0,_utils_ownerWindow_js__WEBPACK_IMPORTED_MODULE_19__["default"])(tabsRef.current);
    win.addEventListener('resize', handleResize);
    let mutationObserver;
    if (typeof ResizeObserver !== 'undefined') {
      resizeObserver = new ResizeObserver(handleResize);
      Array.from(tabListRef.current.children).forEach(child => {
        resizeObserver.observe(child);
      });
    }
    if (typeof MutationObserver !== 'undefined') {
      mutationObserver = new MutationObserver(handleMutation);
      mutationObserver.observe(tabListRef.current, {
        childList: true
      });
    }
    return () => {
      handleResize.clear();
      win.removeEventListener('resize', handleResize);
      mutationObserver?.disconnect();
      resizeObserver?.disconnect();
    };
  }, [updateIndicatorState, updateScrollButtonState]);

  /**
   * Toggle visibility of start and end scroll buttons
   * Using IntersectionObserver on first and last Tabs.
   */
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    const tabListChildren = Array.from(tabListRef.current.children);
    const length = tabListChildren.length;
    if (typeof IntersectionObserver !== 'undefined' && length > 0 && scrollable && scrollButtons !== false) {
      const firstTab = tabListChildren[0];
      const lastTab = tabListChildren[length - 1];
      const observerOptions = {
        root: tabsRef.current,
        threshold: 0.99
      };
      const handleScrollButtonStart = entries => {
        setDisplayStartScroll(!entries[0].isIntersecting);
      };
      const firstObserver = new IntersectionObserver(handleScrollButtonStart, observerOptions);
      firstObserver.observe(firstTab);
      const handleScrollButtonEnd = entries => {
        setDisplayEndScroll(!entries[0].isIntersecting);
      };
      const lastObserver = new IntersectionObserver(handleScrollButtonEnd, observerOptions);
      lastObserver.observe(lastTab);
      return () => {
        firstObserver.disconnect();
        lastObserver.disconnect();
      };
    }
    return undefined;
  }, [scrollable, scrollButtons, updateScrollObserver, childrenProp?.length]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    setMounted(true);
  }, []);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    updateIndicatorState();
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    // Don't animate on the first render.
    scrollSelectedIntoView(defaultIndicatorStyle !== indicatorStyle);
  }, [scrollSelectedIntoView, indicatorStyle]);
  react__WEBPACK_IMPORTED_MODULE_0__.useImperativeHandle(action, () => ({
    updateIndicator: updateIndicatorState,
    updateScrollButtons: updateScrollButtonState
  }), [updateIndicatorState, updateScrollButtonState]);
  const [IndicatorSlot, indicatorSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_22__["default"])('indicator', {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.indicator, TabIndicatorProps.className),
    elementType: TabsIndicator,
    externalForwardedProps,
    ownerState,
    additionalProps: {
      style: indicatorStyle
    }
  });
  const indicator = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(IndicatorSlot, {
    ...indicatorSlotProps
  });
  let childIndex = 0;
  const children = react__WEBPACK_IMPORTED_MODULE_0__.Children.map(childrenProp, child => {
    if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child)) {
      return null;
    }
    if (true) {
      if ((0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)) {
        console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
      }
    }
    const childValue = child.props.value === undefined ? childIndex : child.props.value;
    valueToIndex.set(childValue, childIndex);
    const selected = childValue === value;
    childIndex += 1;
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(child, {
      fullWidth: variant === 'fullWidth',
      indicator: selected && !mounted && indicator,
      selected,
      selectionFollowsFocus,
      onChange,
      textColor,
      value: childValue,
      ...(childIndex === 1 && value === false && !child.props.tabIndex ? {
        tabIndex: 0
      } : {})
    });
  });
  const handleKeyDown = event => {
    // Check if a modifier key (Alt, Shift, Ctrl, Meta) is pressed
    if (event.altKey || event.shiftKey || event.ctrlKey || event.metaKey) {
      return;
    }
    const list = tabListRef.current;
    const currentFocus = (0,_utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_20__["default"])((0,_utils_ownerDocument_js__WEBPACK_IMPORTED_MODULE_18__["default"])(list));
    // Keyboard navigation assumes that [role="tab"] are siblings
    // though we might warn in the future about nested, interactive elements
    // as a a11y violation
    const role = currentFocus?.getAttribute('role');
    if (role !== 'tab') {
      return;
    }
    let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';
    let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';
    if (orientation === 'horizontal' && isRtl) {
      // swap previousItemKey with nextItemKey
      previousItemKey = 'ArrowRight';
      nextItemKey = 'ArrowLeft';
    }
    switch (event.key) {
      case previousItemKey:
        event.preventDefault();
        moveFocus(list, currentFocus, previousItem);
        break;
      case nextItemKey:
        event.preventDefault();
        moveFocus(list, currentFocus, nextItem);
        break;
      case 'Home':
        event.preventDefault();
        moveFocus(list, null, nextItem);
        break;
      case 'End':
        event.preventDefault();
        moveFocus(list, null, previousItem);
        break;
      default:
        break;
    }
  };
  const conditionalElements = getConditionalElements();
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_22__["default"])('root', {
    ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    elementType: TabsRoot,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other,
      component
    },
    ownerState
  });
  const [ScrollerSlot, scrollerSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_22__["default"])('scroller', {
    ref: tabsRef,
    className: classes.scroller,
    elementType: TabsScroller,
    externalForwardedProps,
    ownerState,
    additionalProps: {
      style: {
        overflow: scrollerStyle.overflow,
        [vertical ? `margin${isRtl ? 'Left' : 'Right'}` : 'marginBottom']: visibleScrollbar ? undefined : -scrollerStyle.scrollbarWidth
      }
    }
  });
  const [ListSlot, listSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_22__["default"])('list', {
    ref: tabListRef,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.list, classes.flexContainer),
    elementType: List,
    externalForwardedProps,
    ownerState,
    getSlotProps: handlers => ({
      ...handlers,
      onKeyDown: event => {
        handleKeyDown(event);
        handlers.onKeyDown?.(event);
      }
    })
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(RootSlot, {
    ...rootSlotProps,
    children: [conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(ScrollerSlot, {
      ...scrollerSlotProps,
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(ListSlot, {
        "aria-label": ariaLabel,
        "aria-labelledby": ariaLabelledBy,
        "aria-orientation": orientation === 'vertical' ? 'vertical' : null,
        role: "tablist",
        ...listSlotProps,
        children: children
      }), mounted && indicator]
    }), conditionalElements.scrollButtonEnd]
  });
});
 true ? Tabs.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Callback fired when the component mounts.
   * This is useful when you want to trigger an action programmatically.
   * It supports two actions: `updateIndicator()` and `updateScrollButtons()`
   *
   * @param {object} actions This object contains all possible actions
   * that can be triggered programmatically.
   */
  action: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_4__["default"],
  /**
   * If `true`, the scroll buttons aren't forced hidden on mobile.
   * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
   * @default false
   */
  allowScrollButtonsMobile: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * The label for the Tabs as a string.
   */
  'aria-label': prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * An id or list of ids separated by a space that label the Tabs.
   */
  'aria-labelledby': prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * If `true`, the tabs are centered.
   * This prop is intended for large views.
   * @default false
   */
  centered: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
  /**
   * Determines the color of the indicator.
   * @default 'primary'
   */
  indicatorColor: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['primary', 'secondary']), prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * Callback fired when the value changes.
   *
   * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
   * @param {any} value We default to the index of the child (number)
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * The component orientation (layout flow direction).
   * @default 'horizontal'
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['horizontal', 'vertical']),
  /**
   * The component used to render the scroll buttons.
   * @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default TabScrollButton
   */
  ScrollButtonComponent: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
  /**
   * Determine behavior of scroll buttons when tabs are set to scroll:
   *
   * - `auto` will only present them when not all the items are visible.
   * - `true` will always present them.
   * - `false` will never present them.
   *
   * By default the scroll buttons are hidden on mobile.
   * This behavior can be disabled with `allowScrollButtonsMobile`.
   * @default 'auto'
   */
  scrollButtons: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['auto', false, true]),
  /**
   * If `true` the selected tab changes on focus. Otherwise it only
   * changes on activation.
   */
  selectionFollowsFocus: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    endScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    indicator: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    list: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    scrollbar: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    scrollButtons: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    scroller: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
    startScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_2__.shape({
    endScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    EndScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    indicator: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    list: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    scrollbar: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    scrollButtons: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    scroller: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    startScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType,
    StartScrollButtonIcon: prop_types__WEBPACK_IMPORTED_MODULE_2__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
  /**
   * Props applied to the tab indicator element.
   * @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default  {}
   */
  TabIndicatorProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
   * @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  TabScrollButtonProps: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * Determines the color of the `Tab`.
   * @default 'primary'
   */
  textColor: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['inherit', 'primary', 'secondary']),
  /**
   * The value of the currently selected `Tab`.
   * If you don't want any selected `Tab`, you can set this prop to `false`.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_2__.any,
  /**
   * Determines additional display behavior of the tabs:
   *
   *  - `scrollable` will invoke scrolling properties and allow for horizontally
   *  scrolling (or swiping) of the tab bar.
   *  - `fullWidth` will make the tabs grow to use all the available space,
   *  which should be used for small views, like on mobile.
   *  - `standard` will render the default state.
   * @default 'standard'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['fullWidth', 'scrollable', 'standard']),
  /**
   * If `true`, the scrollbar is visible. It can be useful when displaying
   * a long vertical list of tabs.
   * @default false
   */
  visibleScrollbar: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tabs);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/tabsClasses.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tabs/tabsClasses.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTabsUtilityClass: () => (/* binding */ getTabsUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTabsUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTabs', slot);
}
const tabsClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTabs', ['root', 'vertical', 'list', 'flexContainer', 'flexContainerVertical', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tabsClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/TextField.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_useId__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useId */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _Input_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Input/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Input/Input.js");
/* harmony import */ var _FilledInput_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../FilledInput/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FilledInput/FilledInput.js");
/* harmony import */ var _OutlinedInput_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../OutlinedInput/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/OutlinedInput/OutlinedInput.js");
/* harmony import */ var _InputLabel_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../InputLabel/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InputLabel/InputLabel.js");
/* harmony import */ var _FormControl_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../FormControl/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/FormControl.js");
/* harmony import */ var _FormHelperText_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../FormHelperText/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormHelperText/FormHelperText.js");
/* harmony import */ var _Select_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../Select/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Select/Select.js");
/* harmony import */ var _textFieldClasses_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./textFieldClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/textFieldClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



















const variantComponent = {
  standard: _Input_index_js__WEBPACK_IMPORTED_MODULE_8__["default"],
  filled: _FilledInput_index_js__WEBPACK_IMPORTED_MODULE_9__["default"],
  outlined: _OutlinedInput_index_js__WEBPACK_IMPORTED_MODULE_10__["default"]
};
const useUtilityClasses = ownerState => {
  const {
    classes
  } = ownerState;
  const slots = {
    root: ['root']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _textFieldClasses_js__WEBPACK_IMPORTED_MODULE_15__.getTextFieldUtilityClass, classes);
};
const TextFieldRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_FormControl_index_js__WEBPACK_IMPORTED_MODULE_12__["default"], {
  name: 'MuiTextField',
  slot: 'Root'
})({});

/**
 * The `TextField` is a convenience wrapper for the most common cases (80%).
 * It cannot be all things to all people, otherwise the API would grow out of control.
 *
 * ## Advanced Configuration
 *
 * It's important to understand that the text field is a simple abstraction
 * on top of the following components:
 *
 * - [FormControl](/material-ui/api/form-control/)
 * - [InputLabel](/material-ui/api/input-label/)
 * - [FilledInput](/material-ui/api/filled-input/)
 * - [OutlinedInput](/material-ui/api/outlined-input/)
 * - [Input](/material-ui/api/input/)
 * - [FormHelperText](/material-ui/api/form-helper-text/)
 *
 * If you wish to alter the props applied to the `input` element, you can do so as follows:
 *
 * ```jsx
 * const inputProps = {
 *   step: 300,
 * };
 *
 * return <TextField id="time" type="time" inputProps={inputProps} />;
 * ```
 *
 * For advanced cases, please look at the source of TextField by clicking on the
 * "Edit this page" button above. Consider either:
 *
 * - using the upper case props for passing values directly to the components
 * - using the underlying components directly as shown in the demos
 */
const TextField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TextField(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiTextField'
  });
  const {
    autoComplete,
    autoFocus = false,
    children,
    className,
    color = 'primary',
    defaultValue,
    disabled = false,
    error = false,
    FormHelperTextProps: FormHelperTextPropsProp,
    fullWidth = false,
    helperText,
    id: idOverride,
    InputLabelProps: InputLabelPropsProp,
    inputProps: inputPropsProp,
    InputProps: InputPropsProp,
    inputRef,
    label,
    maxRows,
    minRows,
    multiline = false,
    name,
    onBlur,
    onChange,
    onFocus,
    placeholder,
    required = false,
    rows,
    select = false,
    SelectProps: SelectPropsProp,
    slots = {},
    slotProps = {},
    type,
    value,
    variant = 'outlined',
    ...other
  } = props;
  const ownerState = {
    ...props,
    autoFocus,
    color,
    disabled,
    error,
    fullWidth,
    multiline,
    required,
    select,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  if (true) {
    if (select && !children) {
      console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');
    }
  }
  const id = (0,_mui_utils_useId__WEBPACK_IMPORTED_MODULE_4__["default"])(idOverride);
  const helperTextId = helperText && id ? `${id}-helper-text` : undefined;
  const inputLabelId = label && id ? `${id}-label` : undefined;
  const InputComponent = variantComponent[variant];
  const externalForwardedProps = {
    slots,
    slotProps: {
      input: InputPropsProp,
      inputLabel: InputLabelPropsProp,
      htmlInput: inputPropsProp,
      formHelperText: FormHelperTextPropsProp,
      select: SelectPropsProp,
      ...slotProps
    }
  };
  const inputAdditionalProps = {};
  const inputLabelSlotProps = externalForwardedProps.slotProps.inputLabel;
  if (variant === 'outlined') {
    if (inputLabelSlotProps && typeof inputLabelSlotProps.shrink !== 'undefined') {
      inputAdditionalProps.notched = inputLabelSlotProps.shrink;
    }
    inputAdditionalProps.label = label;
  }
  if (select) {
    // unset defaults from textbox inputs
    if (!SelectPropsProp || !SelectPropsProp.native) {
      inputAdditionalProps.id = undefined;
    }
    inputAdditionalProps['aria-describedby'] = undefined;
  }
  const [RootSlot, rootProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('root', {
    elementType: TextFieldRoot,
    shouldForwardComponentProp: true,
    externalForwardedProps: {
      ...externalForwardedProps,
      ...other
    },
    ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref,
    additionalProps: {
      disabled,
      error,
      fullWidth,
      required,
      color,
      variant
    }
  });
  const [InputSlot, inputProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('input', {
    elementType: InputComponent,
    externalForwardedProps,
    additionalProps: inputAdditionalProps,
    ownerState
  });
  const [InputLabelSlot, inputLabelProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('inputLabel', {
    elementType: _InputLabel_index_js__WEBPACK_IMPORTED_MODULE_11__["default"],
    externalForwardedProps,
    ownerState
  });
  const [HtmlInputSlot, htmlInputProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('htmlInput', {
    elementType: 'input',
    externalForwardedProps,
    ownerState
  });
  const [FormHelperTextSlot, formHelperTextProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('formHelperText', {
    elementType: _FormHelperText_index_js__WEBPACK_IMPORTED_MODULE_13__["default"],
    externalForwardedProps,
    ownerState
  });
  const [SelectSlot, selectProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_16__["default"])('select', {
    elementType: _Select_index_js__WEBPACK_IMPORTED_MODULE_14__["default"],
    externalForwardedProps,
    ownerState
  });
  const InputElement = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(InputSlot, {
    "aria-describedby": helperTextId,
    autoComplete: autoComplete,
    autoFocus: autoFocus,
    defaultValue: defaultValue,
    fullWidth: fullWidth,
    multiline: multiline,
    name: name,
    rows: rows,
    maxRows: maxRows,
    minRows: minRows,
    type: type,
    value: value,
    id: id,
    inputRef: inputRef,
    onBlur: onBlur,
    onChange: onChange,
    onFocus: onFocus,
    placeholder: placeholder,
    inputProps: htmlInputProps,
    slots: {
      input: slots.htmlInput ? HtmlInputSlot : undefined
    },
    ...inputProps
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsxs)(RootSlot, {
    ...rootProps,
    children: [label != null && label !== '' && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(InputLabelSlot, {
      htmlFor: id,
      id: inputLabelId,
      ...inputLabelProps,
      children: label
    }), select ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(SelectSlot, {
      "aria-describedby": helperTextId,
      id: id,
      labelId: inputLabelId,
      value: value,
      input: InputElement,
      ...selectProps,
      children: children
    }) : InputElement, helperText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(FormHelperTextSlot, {
      id: helperTextId,
      ...formHelperTextProps,
      children: helperText
    })]
  });
});
 true ? TextField.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * This prop helps users to fill forms faster, especially on mobile devices.
   * The name can be confusing, as it's more like an autofill.
   * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
   */
  autoComplete: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the `input` element is focused during the first mount.
   * @default false
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'primary'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The default value. Use when the component is not controlled.
   */
  defaultValue: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the label is displayed in an error state.
   * @default false
   */
  error: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
   * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  FormHelperTextProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * If `true`, the input will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The helper text content.
   */
  helperText: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The id of the `input` element.
   * Use this prop to make `label` and `helperText` accessible for screen readers.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
   * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
   * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  InputLabelProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Props applied to the Input element.
   * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
   * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
   * component depending on the `variant` prop value.
   * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  InputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Pass a ref to the `input` element.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_5__["default"],
  /**
   * The label content.
   */
  label: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
   * @default 'none'
   */
  margin: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense', 'none', 'normal']),
  /**
   * Maximum number of rows to display when multiline option is set to true.
   */
  maxRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Minimum number of rows to display when multiline option is set to true.
   */
  minRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, a `textarea` element is rendered instead of an input.
   * @default false
   */
  multiline: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Name attribute of the `input` element.
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  onBlur: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the value is changed.
   *
   * @param {object} event The event source of the callback.
   * You can pull out the new value by accessing `event.target.value` (string).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * The short hint displayed in the `input` before the user enters a value.
   */
  placeholder: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * If `true`, the label is displayed as required and the `input` element is required.
   * @default false
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Number of rows to display when multiline option is set to true.
   */
  rows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Render a [`Select`](https://mui.com/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
   * If this option is set you must pass the options of the select as children.
   * @default false
   */
  select: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
   * @deprecated Use `slotProps.select` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  SelectProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The size of the component.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['medium', 'small']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    formHelperText: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    htmlInput: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    inputLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    select: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    formHelperText: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    htmlInput: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    inputLabel: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    select: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The value of the `input` element, required for a controlled component.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
  /**
   * The variant to use.
   * @default 'outlined'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['filled', 'outlined', 'standard'])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TextField);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/textFieldClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextField/textFieldClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTextFieldUtilityClass: () => (/* binding */ getTextFieldUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTextFieldUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTextField', slot);
}
const textFieldClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTextField', ['root']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (textFieldClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/TextareaAutosize/TextareaAutosize.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_debounce__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/debounce */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/debounce/debounce.js");
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/useEventCallback */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
/* harmony import */ var _mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/ownerWindow */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';









function getStyleValue(value) {
  return parseInt(value, 10) || 0;
}
const styles = {
  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 isObjectEmpty(object) {
  // eslint-disable-next-line
  for (const _ in object) {
    return false;
  }
  return true;
}
function isEmpty(obj) {
  return isObjectEmpty(obj) || obj.outerHeightStyle === 0 && !obj.overflowing;
}

/**
 *
 * Demos:
 *
 * - [Textarea Autosize](https://v7.mui.com/material-ui/react-textarea-autosize/)
 *
 * API:
 *
 * - [TextareaAutosize API](https://v7.mui.com/material-ui/api/textarea-autosize/)
 */
const TextareaAutosize = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function TextareaAutosize(props, forwardedRef) {
  const {
    onChange,
    maxRows,
    minRows = 1,
    style,
    value,
    ...other
  } = props;
  const {
    current: isControlled
  } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(value != null);
  const textareaRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_3__["default"])(forwardedRef, textareaRef);
  const heightRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const hiddenTextareaRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const calculateTextareaStyles = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    const textarea = textareaRef.current;
    const hiddenTextarea = hiddenTextareaRef.current;
    if (!textarea || !hiddenTextarea) {
      return undefined;
    }
    const containerWindow = (0,_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_6__["default"])(textarea);
    const computedStyle = containerWindow.getComputedStyle(textarea);

    // If input's width is shrunk and it's not visible, don't sync height.
    if (computedStyle.width === '0px') {
      return {
        outerHeightStyle: 0,
        overflowing: false
      };
    }
    hiddenTextarea.style.width = computedStyle.width;
    hiddenTextarea.value = textarea.value || props.placeholder || 'x';
    if (hiddenTextarea.value.slice(-1) === '\n') {
      // Certain fonts which overflow the line height will cause the textarea
      // to report a different scrollHeight depending on whether the last line
      // is empty. Make it non-empty to avoid this issue.
      hiddenTextarea.value += ' ';
    }
    const boxSizing = computedStyle.boxSizing;
    const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);
    const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);

    // The height of the inner content
    const innerHeight = hiddenTextarea.scrollHeight;

    // Measure height of a textarea with a single row
    hiddenTextarea.value = 'x';
    const singleRowHeight = hiddenTextarea.scrollHeight;

    // The height of the outer content
    let outerHeight = innerHeight;
    if (minRows) {
      outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);
    }
    if (maxRows) {
      outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);
    }
    outerHeight = Math.max(outerHeight, singleRowHeight);

    // Take the box sizing into account for applying this value as a style.
    const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);
    const overflowing = Math.abs(outerHeight - innerHeight) <= 1;
    return {
      outerHeightStyle,
      overflowing
    };
  }, [maxRows, minRows, props.placeholder]);
  const didHeightChange = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_5__["default"])(() => {
    const textarea = textareaRef.current;
    const textareaStyles = calculateTextareaStyles();
    if (!textarea || !textareaStyles || isEmpty(textareaStyles)) {
      return false;
    }
    const outerHeightStyle = textareaStyles.outerHeightStyle;
    return heightRef.current != null && heightRef.current !== outerHeightStyle;
  });
  const syncHeight = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    const textarea = textareaRef.current;
    const textareaStyles = calculateTextareaStyles();
    if (!textarea || !textareaStyles || isEmpty(textareaStyles)) {
      return;
    }
    const outerHeightStyle = textareaStyles.outerHeightStyle;
    if (heightRef.current !== outerHeightStyle) {
      heightRef.current = outerHeightStyle;
      textarea.style.height = `${outerHeightStyle}px`;
    }
    textarea.style.overflow = textareaStyles.overflowing ? 'hidden' : '';
  }, [calculateTextareaStyles]);
  const frameRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(-1);
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
    const debouncedHandleResize = (0,_mui_utils_debounce__WEBPACK_IMPORTED_MODULE_2__["default"])(syncHeight);
    const textarea = textareaRef?.current;
    if (!textarea) {
      return undefined;
    }
    const containerWindow = (0,_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_6__["default"])(textarea);
    containerWindow.addEventListener('resize', debouncedHandleResize);
    let resizeObserver;
    if (typeof ResizeObserver !== 'undefined') {
      resizeObserver = new ResizeObserver(() => {
        if (didHeightChange()) {
          // avoid "ResizeObserver loop completed with undelivered notifications" error
          // by temporarily unobserving the textarea element while manipulating the height
          // and reobserving one frame later
          resizeObserver.unobserve(textarea);
          cancelAnimationFrame(frameRef.current);
          syncHeight();
          frameRef.current = requestAnimationFrame(() => {
            resizeObserver.observe(textarea);
          });
        }
      });
      resizeObserver.observe(textarea);
    }
    return () => {
      debouncedHandleResize.clear();
      cancelAnimationFrame(frameRef.current);
      containerWindow.removeEventListener('resize', debouncedHandleResize);
      if (resizeObserver) {
        resizeObserver.disconnect();
      }
    };
  }, [calculateTextareaStyles, syncHeight, didHeightChange]);
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
    syncHeight();
  });
  const handleChange = event => {
    if (!isControlled) {
      syncHeight();
    }
    const textarea = event.target;
    const countOfCharacters = textarea.value.length;
    const isLastCharacterNewLine = textarea.value.endsWith('\n');
    const isEndOfTheLine = textarea.selectionStart === countOfCharacters;

    // Set the cursor position to the very end of the text.
    if (isLastCharacterNewLine && isEndOfTheLine) {
      textarea.setSelectionRange(countOfCharacters, countOfCharacters);
    }
    if (onChange) {
      onChange(event);
    }
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("textarea", {
      value: value,
      onChange: handleChange,
      ref: handleRef
      // Apply the rows prop to get a "correct" first SSR paint
      ,
      rows: minRows,
      style: style,
      ...other
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("textarea", {
      "aria-hidden": true,
      className: props.className,
      readOnly: true,
      ref: hiddenTextareaRef,
      tabIndex: -1,
      style: {
        ...styles.shadow,
        ...style,
        paddingTop: 0,
        paddingBottom: 0
      }
    })]
  });
});
 true ? TextareaAutosize.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * Maximum number of rows to display.
   */
  maxRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * Minimum number of rows to display.
   * @default 1
   */
  minRows: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * @ignore
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  placeholder: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.string), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TextareaAutosize);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/ToggleButton.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/ToggleButton.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/resolveProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveProps/resolveProps.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./toggleButtonClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/toggleButtonClasses.js");
/* harmony import */ var _ToggleButtonGroup_ToggleButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ToggleButtonGroup/ToggleButtonGroupContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupContext.js");
/* harmony import */ var _ToggleButtonGroup_ToggleButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ToggleButtonGroup/ToggleButtonGroupButtonContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupButtonContext.js");
/* harmony import */ var _ToggleButtonGroup_isValueSelected_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../ToggleButtonGroup/isValueSelected.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/isValueSelected.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

// @inheritedComponent ButtonBase
















const useUtilityClasses = ownerState => {
  const {
    classes,
    fullWidth,
    selected,
    disabled,
    size,
    color
  } = ownerState;
  const slots = {
    root: ['root', selected && 'selected', disabled && 'disabled', fullWidth && 'fullWidth', `size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__["default"])(size)}`, color]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__.getToggleButtonUtilityClass, classes);
};
const ToggleButtonRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
  name: 'MuiToggleButton',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[`size${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_6__["default"])(ownerState.size)}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_8__["default"])(({
  theme
}) => ({
  ...theme.typography.button,
  borderRadius: (theme.vars || theme).shape.borderRadius,
  padding: 11,
  border: `1px solid ${(theme.vars || theme).palette.divider}`,
  color: (theme.vars || theme).palette.action.active,
  [`&.${_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].disabled}`]: {
    color: (theme.vars || theme).palette.action.disabled,
    border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
  },
  '&:hover': {
    textDecoration: 'none',
    // Reset on mouse devices
    backgroundColor: theme.alpha((theme.vars || theme).palette.text.primary, (theme.vars || theme).palette.action.hoverOpacity),
    '@media (hover: none)': {
      backgroundColor: 'transparent'
    }
  },
  variants: [{
    props: {
      color: 'standard'
    },
    style: {
      [`&.${_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].selected}`]: {
        color: (theme.vars || theme).palette.text.primary,
        backgroundColor: theme.alpha((theme.vars || theme).palette.text.primary, (theme.vars || theme).palette.action.selectedOpacity),
        '&:hover': {
          backgroundColor: theme.alpha((theme.vars || theme).palette.text.primary, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
          // Reset on touch devices, it doesn't add specificity
          '@media (hover: none)': {
            backgroundColor: theme.alpha((theme.vars || theme).palette.text.primary, (theme.vars || theme).palette.action.selectedOpacity)
          }
        }
      }
    }
  }, ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      [`&.${_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_11__["default"].selected}`]: {
        color: (theme.vars || theme).palette[color].main,
        backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.selectedOpacity),
        '&:hover': {
          backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, `${(theme.vars || theme).palette.action.selectedOpacity} + ${(theme.vars || theme).palette.action.hoverOpacity}`),
          // Reset on touch devices, it doesn't add specificity
          '@media (hover: none)': {
            backgroundColor: theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.selectedOpacity)
          }
        }
      }
    }
  })), {
    props: {
      fullWidth: true
    },
    style: {
      width: '100%'
    }
  }, {
    props: {
      size: 'small'
    },
    style: {
      padding: 7,
      fontSize: theme.typography.pxToRem(13)
    }
  }, {
    props: {
      size: 'large'
    },
    style: {
      padding: 15,
      fontSize: theme.typography.pxToRem(15)
    }
  }]
})));
const ToggleButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ToggleButton(inProps, ref) {
  // props priority: `inProps` > `contextProps` > `themeDefaultProps`
  const {
    value: contextValue,
    ...contextProps
  } = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_ToggleButtonGroup_ToggleButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_12__["default"]);
  const toggleButtonGroupButtonContextPositionClassName = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_ToggleButtonGroup_ToggleButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_13__["default"]);
  const resolvedProps = (0,_mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_3__["default"])({
    ...contextProps,
    selected: (0,_ToggleButtonGroup_isValueSelected_js__WEBPACK_IMPORTED_MODULE_14__["default"])(inProps.value, contextValue)
  }, inProps);
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_10__.useDefaultProps)({
    props: resolvedProps,
    name: 'MuiToggleButton'
  });
  const {
    children,
    className,
    color = 'standard',
    disabled = false,
    disableFocusRipple = false,
    fullWidth = false,
    onChange,
    onClick,
    selected,
    size = 'medium',
    value,
    ...other
  } = props;
  const ownerState = {
    ...props,
    color,
    disabled,
    disableFocusRipple,
    fullWidth,
    size
  };
  const classes = useUtilityClasses(ownerState);
  const handleChange = event => {
    if (onClick) {
      onClick(event, value);
      if (event.defaultPrevented) {
        return;
      }
    }
    if (onChange) {
      onChange(event, value);
    }
  };
  const positionClassName = toggleButtonGroupButtonContextPositionClassName || '';
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_15__.jsx)(ToggleButtonRoot, {
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(contextProps.className, classes.root, className, positionClassName),
    disabled: disabled,
    focusRipple: !disableFocusRipple,
    ref: ref,
    onClick: handleChange,
    onChange: onChange,
    value: value,
    ownerState: ownerState,
    "aria-pressed": selected,
    ...other,
    children: children
  });
});
 true ? ToggleButton.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the button when it is in an active state.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'standard'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * If `true`, the component is disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the  keyboard focus ripple is disabled.
   * @default false
   */
  disableFocusRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the ripple effect is disabled.
   *
   * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
   * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
   * @default false
   */
  disableRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the button will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Callback fired when the state changes.
   *
   * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
   * @param {any} value of the selected button.
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the button is clicked.
   *
   * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
   * @param {any} value of the selected button.
   */
  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the button is rendered in an active state.
   */
  selected: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The size of the component.
   * The prop defaults to the value inherited from the parent ToggleButtonGroup component.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['small', 'medium', 'large']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The value to associate with the button when selected in a
   * ToggleButtonGroup.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any.isRequired
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToggleButton);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/toggleButtonClasses.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/toggleButtonClasses.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getToggleButtonUtilityClass: () => (/* binding */ getToggleButtonUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getToggleButtonUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiToggleButton', slot);
}
const toggleButtonClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiToggleButton', ['root', 'disabled', 'selected', 'standard', 'primary', 'secondary', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'fullWidth']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toggleButtonClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_getValidReactChildren__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/getValidReactChildren */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./toggleButtonGroupClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/toggleButtonGroupClasses.js");
/* harmony import */ var _ToggleButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ToggleButtonGroupContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupContext.js");
/* harmony import */ var _ToggleButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ToggleButtonGroupButtonContext.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupButtonContext.js");
/* harmony import */ var _ToggleButton_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ToggleButton/toggleButtonClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButton/toggleButtonClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';
















const useUtilityClasses = ownerState => {
  const {
    classes,
    orientation,
    fullWidth,
    disabled
  } = ownerState;
  const slots = {
    root: ['root', orientation, fullWidth && 'fullWidth'],
    grouped: ['grouped', `grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(orientation)}`, disabled && 'disabled'],
    firstButton: ['firstButton'],
    lastButton: ['lastButton'],
    middleButton: ['middleButton']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, _toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__.getToggleButtonGroupUtilityClass, classes);
};
const ToggleButtonGroupRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiToggleButtonGroup',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [{
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: styles.grouped
    }, {
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: styles[`grouped${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_9__["default"])(ownerState.orientation)}`]
    }, {
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton}`]: styles.firstButton
    }, {
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton}`]: styles.lastButton
    }, {
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: styles.middleButton
    }, styles.root, ownerState.orientation === 'vertical' && styles.vertical, ownerState.fullWidth && styles.fullWidth];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])(({
  theme
}) => ({
  display: 'inline-flex',
  borderRadius: (theme.vars || theme).shape.borderRadius,
  variants: [{
    props: {
      orientation: 'vertical'
    },
    style: {
      flexDirection: 'column',
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: {
        [`&.${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].selected} + .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}.${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].selected}`]: {
          borderTop: 0,
          marginTop: 0
        }
      },
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderBottomLeftRadius: 0,
        borderBottomRightRadius: 0
      },
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton},& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        marginTop: -1,
        borderTop: '1px solid transparent',
        borderTopLeftRadius: 0,
        borderTopRightRadius: 0
      },
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton}.${_ToggleButton_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].disabled},& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}.${_ToggleButton_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].disabled}`]: {
        borderTop: '1px solid transparent'
      }
    }
  }, {
    props: {
      fullWidth: true
    },
    style: {
      width: '100%'
    }
  }, {
    props: {
      orientation: 'horizontal'
    },
    style: {
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}`]: {
        [`&.${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].selected} + .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].grouped}.${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].selected}`]: {
          borderLeft: 0,
          marginLeft: 0
        }
      },
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].firstButton},& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        borderTopRightRadius: 0,
        borderBottomRightRadius: 0
      },
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton},& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}`]: {
        marginLeft: -1,
        borderLeft: '1px solid transparent',
        borderTopLeftRadius: 0,
        borderBottomLeftRadius: 0
      },
      [`& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].lastButton}.${_ToggleButton_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].disabled},& .${_toggleButtonGroupClasses_js__WEBPACK_IMPORTED_MODULE_10__["default"].middleButton}.${_ToggleButton_toggleButtonClasses_js__WEBPACK_IMPORTED_MODULE_13__["default"].disabled}`]: {
        borderLeft: '1px solid transparent'
      }
    }
  }]
})));
const ToggleButtonGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function ToggleButtonGroup(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__.useDefaultProps)({
    props: inProps,
    name: 'MuiToggleButtonGroup'
  });
  const {
    children,
    className,
    color = 'standard',
    disabled = false,
    exclusive = false,
    fullWidth = false,
    onChange,
    orientation = 'horizontal',
    size = 'medium',
    value,
    ...other
  } = props;
  const ownerState = {
    ...props,
    disabled,
    fullWidth,
    orientation,
    size
  };
  const classes = useUtilityClasses(ownerState);
  const handleChange = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((event, buttonValue) => {
    if (!onChange) {
      return;
    }
    const index = value && value.indexOf(buttonValue);
    let newValue;
    if (value && index >= 0) {
      newValue = value.slice();
      newValue.splice(index, 1);
    } else {
      newValue = value ? value.concat(buttonValue) : [buttonValue];
    }
    onChange(event, newValue);
  }, [onChange, value]);
  const handleExclusiveChange = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((event, buttonValue) => {
    if (!onChange) {
      return;
    }
    onChange(event, value === buttonValue ? null : buttonValue);
  }, [onChange, value]);
  const context = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
    className: classes.grouped,
    onChange: exclusive ? handleExclusiveChange : handleChange,
    value,
    size,
    fullWidth,
    color,
    disabled
  }), [classes.grouped, exclusive, handleExclusiveChange, handleChange, value, size, fullWidth, color, disabled]);
  const validChildren = (0,_mui_utils_getValidReactChildren__WEBPACK_IMPORTED_MODULE_5__["default"])(children);
  const childrenCount = validChildren.length;
  const getButtonPositionClassName = index => {
    const isFirstButton = index === 0;
    const isLastButton = index === childrenCount - 1;
    if (isFirstButton && isLastButton) {
      return '';
    }
    if (isFirstButton) {
      return classes.firstButton;
    }
    if (isLastButton) {
      return classes.lastButton;
    }
    return classes.middleButton;
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(ToggleButtonGroupRoot, {
    role: "group",
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(classes.root, className),
    ref: ref,
    ownerState: ownerState,
    ...other,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ToggleButtonGroupContext_js__WEBPACK_IMPORTED_MODULE_11__["default"].Provider, {
      value: context,
      children: validChildren.map((child, index) => {
        if (true) {
          if ((0,react_is__WEBPACK_IMPORTED_MODULE_1__.isFragment)(child)) {
            console.error(["MUI: The ToggleButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
          }
        }
        return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ToggleButtonGroupButtonContext_js__WEBPACK_IMPORTED_MODULE_12__["default"].Provider, {
          value: getButtonPositionClassName(index),
          children: child
        }, index);
      })
    })
  });
});
 true ? ToggleButtonGroup.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_2__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_2__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_2__.string,
  /**
   * The color of the button when it is selected.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   * @default 'standard'
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * If `true`, the component is disabled. This implies that all ToggleButton children will be disabled.
   * @default false
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, only allow one of the child ToggleButton values to be selected.
   * @default false
   */
  exclusive: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * If `true`, the button group will take up the full width of its container.
   * @default false
   */
  fullWidth: prop_types__WEBPACK_IMPORTED_MODULE_2__.bool,
  /**
   * Callback fired when the value changes.
   *
   * @param {React.MouseEvent<HTMLElement>} event The event source of the callback.
   * @param {any} value of the selected buttons. When `exclusive` is true
   * this is a single value; when false an array of selected values. If no value
   * is selected and `exclusive` is true the value is null; when false an empty array.
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_2__.func,
  /**
   * The component orientation (layout flow direction).
   * @default 'horizontal'
   */
  orientation: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['horizontal', 'vertical']),
  /**
   * The size of the component.
   * @default 'medium'
   */
  size: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOf(['small', 'medium', 'large']), prop_types__WEBPACK_IMPORTED_MODULE_2__.string]),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_2__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object, prop_types__WEBPACK_IMPORTED_MODULE_2__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_2__.func, prop_types__WEBPACK_IMPORTED_MODULE_2__.object]),
  /**
   * The currently selected value within the group or an array of selected
   * values when `exclusive` is false.
   *
   * The value must have reference equality with the option in order to be selected.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_2__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToggleButtonGroup);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupButtonContext.js"
/*!****************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupButtonContext.js ***!
  \****************************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


/**
 * @ignore - internal component.
 */
const ToggleButtonGroupButtonContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);
if (true) {
  ToggleButtonGroupButtonContext.displayName = 'ToggleButtonGroupButtonContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToggleButtonGroupButtonContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupContext.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroupContext.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


/**
 * @ignore - internal component.
 */
const ToggleButtonGroupContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
if (true) {
  ToggleButtonGroupContext.displayName = 'ToggleButtonGroupContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToggleButtonGroupContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/isValueSelected.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/isValueSelected.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isValueSelected)
/* harmony export */ });
// Determine if the toggle button value matches, or is contained in, the
// candidate group value.
function isValueSelected(value, candidate) {
  if (candidate === undefined || value === undefined) {
    return false;
  }
  if (Array.isArray(candidate)) {
    return candidate.includes(value);
  }
  return value === candidate;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/toggleButtonGroupClasses.js"
/*!**********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ToggleButtonGroup/toggleButtonGroupClasses.js ***!
  \**********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getToggleButtonGroupUtilityClass: () => (/* binding */ getToggleButtonGroupUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getToggleButtonGroupUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiToggleButtonGroup', slot);
}
const toggleButtonGroupClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiToggleButtonGroup', ['root', 'selected', 'horizontal', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toggleButtonGroupClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Toolbar/Toolbar.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Toolbar/Toolbar.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _toolbarClasses_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./toolbarClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Toolbar/toolbarClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const useUtilityClasses = ownerState => {
  const {
    classes,
    disableGutters,
    variant
  } = ownerState;
  const slots = {
    root: ['root', !disableGutters && 'gutters', variant]
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _toolbarClasses_js__WEBPACK_IMPORTED_MODULE_7__.getToolbarUtilityClass, classes);
};
const ToolbarRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])('div', {
  name: 'MuiToolbar',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, !ownerState.disableGutters && styles.gutters, styles[ownerState.variant]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_5__["default"])(({
  theme
}) => ({
  position: 'relative',
  display: 'flex',
  alignItems: 'center',
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.disableGutters,
    style: {
      paddingLeft: theme.spacing(2),
      paddingRight: theme.spacing(2),
      [theme.breakpoints.up('sm')]: {
        paddingLeft: theme.spacing(3),
        paddingRight: theme.spacing(3)
      }
    }
  }, {
    props: {
      variant: 'dense'
    },
    style: {
      minHeight: 48
    }
  }, {
    props: {
      variant: 'regular'
    },
    style: theme.mixins.toolbar
  }]
})));
const Toolbar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Toolbar(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_6__.useDefaultProps)({
    props: inProps,
    name: 'MuiToolbar'
  });
  const {
    className,
    component = 'div',
    disableGutters = false,
    variant = 'regular',
    ...other
  } = props;
  const ownerState = {
    ...props,
    component,
    disableGutters,
    variant
  };
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(ToolbarRoot, {
    as: component,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ref: ref,
    ownerState: ownerState,
    ...other
  });
});
 true ? Toolbar.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * The Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.
   * The Toolbar is a flex container, allowing flex item properties to be used to lay out the children.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, disables gutter padding.
   * @default false
   */
  disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * The variant to use.
   * @default 'regular'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['dense', 'regular']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string])
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Toolbar);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Toolbar/toolbarClasses.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Toolbar/toolbarClasses.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getToolbarUtilityClass: () => (/* binding */ getToolbarUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getToolbarUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiToolbar', slot);
}
const toolbarClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiToolbar', ['root', 'gutters', 'regular', 'dense']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toolbarClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/Tooltip.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/Tooltip.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   testReset: () => (/* binding */ testReset)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/useTimeout */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js");
/* harmony import */ var _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/elementAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/system/RtlProvider */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/utils/isFocusVisible */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _Grow_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../Grow/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Grow/Grow.js");
/* harmony import */ var _Popper_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../Popper/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Popper/Popper.js");
/* harmony import */ var _utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils/useEventCallback.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js");
/* harmony import */ var _utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../utils/useForkRef.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js");
/* harmony import */ var _utils_useId_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils/useId.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js");
/* harmony import */ var _utils_useControlled_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils/useControlled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var _tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./tooltipClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/tooltipClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';























function round(value) {
  return Math.round(value * 1e5) / 1e5;
}
const useUtilityClasses = ownerState => {
  const {
    classes,
    disableInteractive,
    arrow,
    touch,
    placement
  } = ownerState;
  const slots = {
    popper: ['popper', !disableInteractive && 'popperInteractive', arrow && 'popperArrow'],
    tooltip: ['tooltip', arrow && 'tooltipArrow', touch && 'touch', `tooltipPlacement${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_13__["default"])(placement.split('-')[0])}`],
    arrow: ['arrow']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, _tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__.getTooltipUtilityClass, classes);
};
const TooltipPopper = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])(_Popper_index_js__WEBPACK_IMPORTED_MODULE_15__["default"], {
  name: 'MuiTooltip',
  slot: 'Popper',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.popper, !ownerState.disableInteractive && styles.popperInteractive, ownerState.arrow && styles.popperArrow, !ownerState.open && styles.popperClose];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_11__["default"])(({
  theme
}) => ({
  zIndex: (theme.vars || theme).zIndex.tooltip,
  pointerEvents: 'none',
  variants: [{
    props: ({
      ownerState
    }) => !ownerState.disableInteractive,
    style: {
      pointerEvents: 'auto'
    }
  }, {
    props: ({
      open
    }) => !open,
    style: {
      pointerEvents: 'none'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.arrow,
    style: {
      [`&[data-popper-placement*="bottom"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        top: 0,
        marginTop: '-0.71em',
        '&::before': {
          transformOrigin: '0 100%'
        }
      },
      [`&[data-popper-placement*="top"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        bottom: 0,
        marginBottom: '-0.71em',
        '&::before': {
          transformOrigin: '100% 0'
        }
      },
      [`&[data-popper-placement*="right"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        height: '1em',
        width: '0.71em',
        '&::before': {
          transformOrigin: '100% 100%'
        }
      },
      [`&[data-popper-placement*="left"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        height: '1em',
        width: '0.71em',
        '&::before': {
          transformOrigin: '0 0'
        }
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.arrow && !ownerState.isRtl,
    style: {
      [`&[data-popper-placement*="right"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        left: 0,
        marginLeft: '-0.71em'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.arrow && !!ownerState.isRtl,
    style: {
      [`&[data-popper-placement*="right"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        right: 0,
        marginRight: '-0.71em'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.arrow && !ownerState.isRtl,
    style: {
      [`&[data-popper-placement*="left"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        right: 0,
        marginRight: '-0.71em'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.arrow && !!ownerState.isRtl,
    style: {
      [`&[data-popper-placement*="left"] .${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].arrow}`]: {
        left: 0,
        marginLeft: '-0.71em'
      }
    }
  }]
})));
const TooltipTooltip = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])('div', {
  name: 'MuiTooltip',
  slot: 'Tooltip',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.tooltip, ownerState.touch && styles.touch, ownerState.arrow && styles.tooltipArrow, styles[`tooltipPlacement${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_13__["default"])(ownerState.placement.split('-')[0])}`]];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_11__["default"])(({
  theme
}) => ({
  backgroundColor: theme.vars ? theme.vars.palette.Tooltip.bg : theme.alpha(theme.palette.grey[700], 0.92),
  borderRadius: (theme.vars || theme).shape.borderRadius,
  color: (theme.vars || theme).palette.common.white,
  fontFamily: theme.typography.fontFamily,
  padding: '4px 8px',
  fontSize: theme.typography.pxToRem(11),
  maxWidth: 300,
  margin: 2,
  wordWrap: 'break-word',
  fontWeight: theme.typography.fontWeightMedium,
  [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="left"] &`]: {
    transformOrigin: 'right center'
  },
  [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="right"] &`]: {
    transformOrigin: 'left center'
  },
  [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="top"] &`]: {
    transformOrigin: 'center bottom',
    marginBottom: '14px'
  },
  [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="bottom"] &`]: {
    transformOrigin: 'center top',
    marginTop: '14px'
  },
  variants: [{
    props: ({
      ownerState
    }) => ownerState.arrow,
    style: {
      position: 'relative',
      margin: 0
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.touch,
    style: {
      padding: '8px 16px',
      fontSize: theme.typography.pxToRem(14),
      lineHeight: `${round(16 / 14)}em`,
      fontWeight: theme.typography.fontWeightRegular
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.isRtl,
    style: {
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="left"] &`]: {
        marginRight: '14px'
      },
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="right"] &`]: {
        marginLeft: '14px'
      }
    }
  }, {
    props: ({
      ownerState
    }) => !ownerState.isRtl && ownerState.touch,
    style: {
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="left"] &`]: {
        marginRight: '24px'
      },
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="right"] &`]: {
        marginLeft: '24px'
      }
    }
  }, {
    props: ({
      ownerState
    }) => !!ownerState.isRtl,
    style: {
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="left"] &`]: {
        marginLeft: '14px'
      },
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="right"] &`]: {
        marginRight: '14px'
      }
    }
  }, {
    props: ({
      ownerState
    }) => !!ownerState.isRtl && ownerState.touch,
    style: {
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="left"] &`]: {
        marginLeft: '24px'
      },
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="right"] &`]: {
        marginRight: '24px'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.touch,
    style: {
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="top"] &`]: {
        marginBottom: '24px'
      }
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.touch,
    style: {
      [`.${_tooltipClasses_js__WEBPACK_IMPORTED_MODULE_21__["default"].popper}[data-popper-placement*="bottom"] &`]: {
        marginTop: '24px'
      }
    }
  }]
})));
const TooltipArrow = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])('span', {
  name: 'MuiTooltip',
  slot: 'Arrow'
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_11__["default"])(({
  theme
}) => ({
  overflow: 'hidden',
  position: 'absolute',
  width: '1em',
  height: '0.71em' /* = width / sqrt(2) = (length of the hypotenuse) */,
  boxSizing: 'border-box',
  color: theme.vars ? theme.vars.palette.Tooltip.bg : theme.alpha(theme.palette.grey[700], 0.9),
  '&::before': {
    content: '""',
    margin: 'auto',
    display: 'block',
    width: '100%',
    height: '100%',
    backgroundColor: 'currentColor',
    transform: 'rotate(45deg)'
  }
})));
let hystersisOpen = false;
const hystersisTimer = new _mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_3__.Timeout();
let cursorPosition = {
  x: 0,
  y: 0
};
function testReset() {
  hystersisOpen = false;
  hystersisTimer.clear();
}
function composeEventHandler(handler, eventHandler) {
  return (event, ...params) => {
    if (eventHandler) {
      eventHandler(event, ...params);
    }
    handler(event, ...params);
  };
}

// TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
const Tooltip = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Tooltip(inProps, ref) {
  const props = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_12__.useDefaultProps)({
    props: inProps,
    name: 'MuiTooltip'
  });
  const {
    arrow = false,
    children: childrenProp,
    classes: classesProp,
    components = {},
    componentsProps = {},
    describeChild = false,
    disableFocusListener = false,
    disableHoverListener = false,
    disableInteractive: disableInteractiveProp = false,
    disableTouchListener = false,
    enterDelay = 100,
    enterNextDelay = 0,
    enterTouchDelay = 700,
    followCursor = false,
    id: idProp,
    leaveDelay = 0,
    leaveTouchDelay = 1500,
    onClose,
    onOpen,
    open: openProp,
    placement = 'bottom',
    PopperComponent: PopperComponentProp,
    PopperProps = {},
    slotProps = {},
    slots = {},
    title,
    TransitionComponent: TransitionComponentProp,
    TransitionProps,
    ...other
  } = props;

  // to prevent runtime errors, developers will need to provide a child as a React element anyway.
  const children = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(childrenProp) ? childrenProp : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("span", {
    children: childrenProp
  });
  const theme = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])();
  const isRtl = (0,_mui_system_RtlProvider__WEBPACK_IMPORTED_MODULE_6__.useRtl)();
  const [childNode, setChildNode] = react__WEBPACK_IMPORTED_MODULE_0__.useState();
  const [arrowRef, setArrowRef] = react__WEBPACK_IMPORTED_MODULE_0__.useState(null);
  const ignoreNonTouchEvents = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const disableInteractive = disableInteractiveProp || followCursor;
  const closeTimer = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const enterTimer = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const leaveTimer = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const touchTimer = (0,_mui_utils_useTimeout__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const [openState, setOpenState] = (0,_utils_useControlled_js__WEBPACK_IMPORTED_MODULE_19__["default"])({
    controlled: openProp,
    default: false,
    name: 'Tooltip',
    state: 'open'
  });
  let open = openState;
  if (true) {
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes
    const {
      current: isControlled
    } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(openProp !== undefined);

    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (childNode && childNode.disabled && !isControlled && title !== '' && childNode.tagName.toLowerCase() === 'button') {
        console.warn(['MUI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', "Tooltip needs to listen to the child element's events to display the title.", '', 'Add a simple wrapper element, such as a `span`.'].join('\n'));
      }
    }, [title, childNode, isControlled]);
  }
  const id = (0,_utils_useId_js__WEBPACK_IMPORTED_MODULE_18__["default"])(idProp);
  const prevUserSelect = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const stopTouchInteraction = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_16__["default"])(() => {
    if (prevUserSelect.current !== undefined) {
      document.body.style.WebkitUserSelect = prevUserSelect.current;
      prevUserSelect.current = undefined;
    }
    touchTimer.clear();
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => stopTouchInteraction, [stopTouchInteraction]);
  const handleOpen = event => {
    hystersisTimer.clear();
    hystersisOpen = true;

    // The mouseover event will trigger for every nested element in the tooltip.
    // We can skip rerendering when the tooltip is already open.
    // We are using the mouseover event instead of the mouseenter event to fix a hide/show issue.
    setOpenState(true);
    if (onOpen && !open) {
      onOpen(event);
    }
  };
  const handleClose = (0,_utils_useEventCallback_js__WEBPACK_IMPORTED_MODULE_16__["default"])(
  /**
   * @param {React.SyntheticEvent | Event} event
   */
  event => {
    hystersisTimer.start(800 + leaveDelay, () => {
      hystersisOpen = false;
    });
    setOpenState(false);
    if (onClose && open) {
      onClose(event);
    }
    closeTimer.start(theme.transitions.duration.shortest, () => {
      ignoreNonTouchEvents.current = false;
    });
  });
  const handleMouseOver = event => {
    if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {
      return;
    }

    // Remove the title ahead of time.
    // We don't want to wait for the next render commit.
    // We would risk displaying two tooltips at the same time (native + this one).
    if (childNode) {
      childNode.removeAttribute('title');
    }
    enterTimer.clear();
    leaveTimer.clear();
    if (enterDelay || hystersisOpen && enterNextDelay) {
      enterTimer.start(hystersisOpen ? enterNextDelay : enterDelay, () => {
        handleOpen(event);
      });
    } else {
      handleOpen(event);
    }
  };
  const handleMouseLeave = event => {
    enterTimer.clear();
    leaveTimer.start(leaveDelay, () => {
      handleClose(event);
    });
  };
  const [, setChildIsFocusVisible] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const handleBlur = event => {
    // Needed for https://github.com/mui/material-ui/issues/45373
    const target = event?.target ?? childNode;
    if (!target || !(0,_mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_7__["default"])(target)) {
      setChildIsFocusVisible(false);

      // InputBase can call onBlur() without an event when the input becomes disabled.
      // Tooltip must not assume an event object exists.
      const closeEvent = event ?? new Event('blur');

      // `new Event('blur')` has `target/currentTarget === null`, but Tooltip's close logic
      // (and user callbacks like onClose) may expect them to reference the anchor element.
      if (!event && target) {
        Object.defineProperty(closeEvent, 'target', {
          value: target
        });
        Object.defineProperty(closeEvent, 'currentTarget', {
          value: target
        });
      }
      handleMouseLeave(closeEvent);
    }
  };
  const handleFocus = event => {
    // Workaround for https://github.com/facebook/react/issues/7769
    // The autoFocus of React might trigger the event before the componentDidMount.
    // We need to account for this eventuality.
    if (!childNode) {
      setChildNode(event.currentTarget);
    }
    if ((0,_mui_utils_isFocusVisible__WEBPACK_IMPORTED_MODULE_7__["default"])(event.target)) {
      setChildIsFocusVisible(true);
      handleMouseOver(event);
    }
  };
  const detectTouchStart = event => {
    ignoreNonTouchEvents.current = true;
    const childrenProps = children.props;
    if (childrenProps.onTouchStart) {
      childrenProps.onTouchStart(event);
    }
  };
  const handleTouchStart = event => {
    detectTouchStart(event);
    leaveTimer.clear();
    closeTimer.clear();
    stopTouchInteraction();
    prevUserSelect.current = document.body.style.WebkitUserSelect;
    // Prevent iOS text selection on long-tap.
    document.body.style.WebkitUserSelect = 'none';
    touchTimer.start(enterTouchDelay, () => {
      document.body.style.WebkitUserSelect = prevUserSelect.current;
      handleMouseOver(event);
    });
  };
  const handleTouchEnd = event => {
    if (children.props.onTouchEnd) {
      children.props.onTouchEnd(event);
    }
    stopTouchInteraction();
    leaveTimer.start(leaveTouchDelay, () => {
      handleClose(event);
    });
  };
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (!open) {
      return undefined;
    }

    /**
     * @param {KeyboardEvent} nativeEvent
     */
    function handleKeyDown(nativeEvent) {
      if (nativeEvent.key === 'Escape') {
        handleClose(nativeEvent);
      }
    }
    document.addEventListener('keydown', handleKeyDown);
    return () => {
      document.removeEventListener('keydown', handleKeyDown);
    };
  }, [handleClose, open]);
  const handleRef = (0,_utils_useForkRef_js__WEBPACK_IMPORTED_MODULE_17__["default"])((0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_8__["default"])(children), setChildNode, ref);

  // There is no point in displaying an empty tooltip.
  // So we exclude all falsy values, except 0, which is valid.
  if (!title && title !== 0) {
    open = false;
  }
  const popperRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
  const handleMouseMove = event => {
    const childrenProps = children.props;
    if (childrenProps.onMouseMove) {
      childrenProps.onMouseMove(event);
    }
    cursorPosition = {
      x: event.clientX,
      y: event.clientY
    };
    if (popperRef.current) {
      popperRef.current.update();
    }
  };
  const nameOrDescProps = {};
  const titleIsString = typeof title === 'string';
  if (describeChild) {
    nameOrDescProps.title = !open && titleIsString && !disableHoverListener ? title : null;
    nameOrDescProps['aria-describedby'] = open ? id : null;
  } else {
    nameOrDescProps['aria-label'] = titleIsString ? title : null;
    nameOrDescProps['aria-labelledby'] = open && !titleIsString ? id : null;
  }
  const childrenProps = {
    ...nameOrDescProps,
    ...other,
    ...children.props,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(other.className, children.props.className),
    onTouchStart: detectTouchStart,
    ref: handleRef,
    ...(followCursor ? {
      onMouseMove: handleMouseMove
    } : {})
  };
  if (true) {
    childrenProps['data-mui-internal-clone-element'] = true;

    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks -- process.env never changes
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (childNode && !childNode.getAttribute('data-mui-internal-clone-element')) {
        console.error(['MUI: The `children` component of the Tooltip is not forwarding its props correctly.', 'Please make sure that props are spread on the same element that the ref is applied to.'].join('\n'));
      }
    }, [childNode]);
  }
  const interactiveWrapperListeners = {};
  if (!disableTouchListener) {
    childrenProps.onTouchStart = handleTouchStart;
    childrenProps.onTouchEnd = handleTouchEnd;
  }
  if (!disableHoverListener) {
    childrenProps.onMouseOver = composeEventHandler(handleMouseOver, childrenProps.onMouseOver);
    childrenProps.onMouseLeave = composeEventHandler(handleMouseLeave, childrenProps.onMouseLeave);
    if (!disableInteractive) {
      interactiveWrapperListeners.onMouseOver = handleMouseOver;
      interactiveWrapperListeners.onMouseLeave = handleMouseLeave;
    }
  }
  if (!disableFocusListener) {
    childrenProps.onFocus = composeEventHandler(handleFocus, childrenProps.onFocus);
    childrenProps.onBlur = composeEventHandler(handleBlur, childrenProps.onBlur);
    if (!disableInteractive) {
      interactiveWrapperListeners.onFocus = handleFocus;
      interactiveWrapperListeners.onBlur = handleBlur;
    }
  }
  if (true) {
    if (children.props.title) {
      console.error(['MUI: You have provided a `title` prop to the child of <Tooltip />.', `Remove this title prop \`${children.props.title}\` or the Tooltip component.`].join('\n'));
    }
  }
  const ownerState = {
    ...props,
    isRtl,
    arrow,
    disableInteractive,
    placement,
    PopperComponentProp,
    touch: ignoreNonTouchEvents.current
  };
  const resolvedPopperProps = typeof slotProps.popper === 'function' ? slotProps.popper(ownerState) : slotProps.popper;
  const popperOptions = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    let tooltipModifiers = [{
      name: 'arrow',
      enabled: Boolean(arrowRef),
      options: {
        element: arrowRef,
        padding: 4
      }
    }];
    if (PopperProps.popperOptions?.modifiers) {
      tooltipModifiers = tooltipModifiers.concat(PopperProps.popperOptions.modifiers);
    }
    if (resolvedPopperProps?.popperOptions?.modifiers) {
      tooltipModifiers = tooltipModifiers.concat(resolvedPopperProps.popperOptions.modifiers);
    }
    return {
      ...PopperProps.popperOptions,
      ...resolvedPopperProps?.popperOptions,
      modifiers: tooltipModifiers
    };
  }, [arrowRef, PopperProps.popperOptions, resolvedPopperProps?.popperOptions]);
  const classes = useUtilityClasses(ownerState);
  const resolvedTransitionProps = typeof slotProps.transition === 'function' ? slotProps.transition(ownerState) : slotProps.transition;
  const externalForwardedProps = {
    slots: {
      popper: components.Popper,
      transition: components.Transition ?? TransitionComponentProp,
      tooltip: components.Tooltip,
      arrow: components.Arrow,
      ...slots
    },
    slotProps: {
      arrow: slotProps.arrow ?? componentsProps.arrow,
      popper: {
        ...PopperProps,
        ...(resolvedPopperProps ?? componentsProps.popper)
      },
      // resolvedPopperProps can be spread because it's already an object
      tooltip: slotProps.tooltip ?? componentsProps.tooltip,
      transition: {
        ...TransitionProps,
        ...(resolvedTransitionProps ?? componentsProps.transition)
      }
    }
  };
  const [PopperSlot, popperSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__["default"])('popper', {
    elementType: TooltipPopper,
    externalForwardedProps,
    ownerState,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.popper, PopperProps?.className)
  });
  const [TransitionSlot, transitionSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__["default"])('transition', {
    elementType: _Grow_index_js__WEBPACK_IMPORTED_MODULE_14__["default"],
    externalForwardedProps,
    ownerState
  });
  const [TooltipSlot, tooltipSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__["default"])('tooltip', {
    elementType: TooltipTooltip,
    className: classes.tooltip,
    externalForwardedProps,
    ownerState
  });
  const [ArrowSlot, arrowSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_20__["default"])('arrow', {
    elementType: TooltipArrow,
    className: classes.arrow,
    externalForwardedProps,
    ownerState,
    ref: setArrowRef
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, childrenProps), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(PopperSlot, {
      as: PopperComponentProp ?? _Popper_index_js__WEBPACK_IMPORTED_MODULE_15__["default"],
      placement: placement,
      anchorEl: followCursor ? {
        getBoundingClientRect: () => ({
          top: cursorPosition.y,
          left: cursorPosition.x,
          right: cursorPosition.x,
          bottom: cursorPosition.y,
          width: 0,
          height: 0
        })
      } : childNode,
      popperRef: popperRef,
      open: childNode ? open : false,
      id: id,
      transition: true,
      ...interactiveWrapperListeners,
      ...popperSlotProps,
      popperOptions: popperOptions,
      children: ({
        TransitionProps: TransitionPropsInner
      }) => /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(TransitionSlot, {
        timeout: theme.transitions.duration.shorter,
        ...TransitionPropsInner,
        ...transitionSlotProps,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(TooltipSlot, {
          ...tooltipSlotProps,
          children: [title, arrow ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(ArrowSlot, {
            ...arrowSlotProps
          }) : null]
        })
      })
    })]
  });
});
 true ? Tooltip.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * If `true`, adds an arrow to the tooltip.
   * @default false
   */
  arrow: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Tooltip reference element.
   */
  children: _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_4__["default"].isRequired,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The components used for each slot inside.
   *
   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  components: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    Arrow: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Popper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Tooltip: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    Transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The extra props for the slot components.
   * You can override the existing props or add new ones.
   *
   * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   *
   * @default {}
   */
  componentsProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    arrow: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    popper: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    tooltip: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  }),
  /**
   * Set to `true` if the `title` acts as an accessible description.
   * By default the `title` acts as an accessible label for the child.
   * @default false
   */
  describeChild: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Do not respond to focus-visible events.
   * @default false
   */
  disableFocusListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Do not respond to hover events.
   * @default false
   */
  disableHoverListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Makes a tooltip not interactive, i.e. it will close when the user
   * hovers over the tooltip before the `leaveDelay` is expired.
   * @default false
   */
  disableInteractive: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Do not respond to long press touch events.
   * @default false
   */
  disableTouchListener: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The number of milliseconds to wait before showing the tooltip.
   * This prop won't impact the enter touch delay (`enterTouchDelay`).
   * @default 100
   */
  enterDelay: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The number of milliseconds to wait before showing the tooltip when one was already recently opened.
   * @default 0
   */
  enterNextDelay: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The number of milliseconds a user must touch the element before showing the tooltip.
   * @default 700
   */
  enterTouchDelay: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * If `true`, the tooltip follow the cursor over the wrapped element.
   * @default false
   */
  followCursor: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * This prop is used to help implement the accessibility logic.
   * If you don't provide this prop. It falls back to a randomly generated id.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The number of milliseconds to wait before hiding the tooltip.
   * This prop won't impact the leave touch delay (`leaveTouchDelay`).
   * @default 0
   */
  leaveDelay: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * The number of milliseconds after the user stops touching an element before hiding the tooltip.
   * @default 1500
   */
  leaveTouchDelay: prop_types__WEBPACK_IMPORTED_MODULE_1__.number,
  /**
   * Callback fired when the component requests to be closed.
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   */
  onClose: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the component requests to be open.
   *
   * @param {React.SyntheticEvent} event The event source of the callback.
   */
  onOpen: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, the component is shown.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Tooltip placement.
   * @default 'bottom'
   */
  placement: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
  /**
   * The component used for the popper.
   * @deprecated use the `slots.popper` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  PopperComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
   * @deprecated use the `slotProps.popper` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  PopperProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    arrow: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    popper: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    tooltip: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    arrow: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    popper: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    tooltip: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    transition: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
   */
  title: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * The component used for the transition.
   * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
   * @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  TransitionComponent: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * Props applied to the transition element.
   * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
   * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   * @default {}
   */
  TransitionProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tooltip);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/tooltipClasses.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Tooltip/tooltipClasses.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTooltipUtilityClass: () => (/* binding */ getTooltipUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTooltipUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTooltip', slot);
}
const tooltipClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTooltip', ['popper', 'popperInteractive', 'popperArrow', 'popperClose', 'tooltip', 'tooltipArrow', 'touch', 'tooltipPlacementLeft', 'tooltipPlacementRight', 'tooltipPlacementTop', 'tooltipPlacementBottom', 'arrow']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (tooltipClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/Typography.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TypographyRoot: () => (/* binding */ TypographyRoot),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/zero-styled/index.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/memoTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/createSimplePaletteValueFilter.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js");
/* harmony import */ var _typographyClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./typographyClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/typographyClasses.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';












const v6Colors = {
  primary: true,
  secondary: true,
  error: true,
  info: true,
  success: true,
  warning: true,
  textPrimary: true,
  textSecondary: true,
  textDisabled: true
};
const extendSxProp = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_4__.internal_createExtendSxProp)();
const useUtilityClasses = ownerState => {
  const {
    align,
    gutterBottom,
    noWrap,
    paragraph,
    variant,
    classes
  } = ownerState;
  const slots = {
    root: ['root', variant, ownerState.align !== 'inherit' && `align${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _typographyClasses_js__WEBPACK_IMPORTED_MODULE_10__.getTypographyUtilityClass, classes);
};
const TypographyRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])('span', {
  name: 'MuiTypography',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];
  }
})((0,_utils_memoTheme_js__WEBPACK_IMPORTED_MODULE_6__["default"])(({
  theme
}) => ({
  margin: 0,
  variants: [{
    props: {
      variant: 'inherit'
    },
    style: {
      // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
      font: 'inherit',
      lineHeight: 'inherit',
      letterSpacing: 'inherit'
    }
  }, ...Object.entries(theme.typography).filter(([variant, value]) => variant !== 'inherit' && value && typeof value === 'object').map(([variant, value]) => ({
    props: {
      variant
    },
    style: value
  })), ...Object.entries(theme.palette).filter((0,_utils_createSimplePaletteValueFilter_js__WEBPACK_IMPORTED_MODULE_9__["default"])()).map(([color]) => ({
    props: {
      color
    },
    style: {
      color: (theme.vars || theme).palette[color].main
    }
  })), ...Object.entries(theme.palette?.text || {}).filter(([, value]) => typeof value === 'string').map(([color]) => ({
    props: {
      color: `text${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_8__["default"])(color)}`
    },
    style: {
      color: (theme.vars || theme).palette.text[color]
    }
  })), {
    props: ({
      ownerState
    }) => ownerState.align !== 'inherit',
    style: {
      textAlign: 'var(--Typography-textAlign)'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.noWrap,
    style: {
      overflow: 'hidden',
      textOverflow: 'ellipsis',
      whiteSpace: 'nowrap'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.gutterBottom,
    style: {
      marginBottom: '0.35em'
    }
  }, {
    props: ({
      ownerState
    }) => ownerState.paragraph,
    style: {
      marginBottom: 16
    }
  }]
})));
const defaultVariantMapping = {
  h1: 'h1',
  h2: 'h2',
  h3: 'h3',
  h4: 'h4',
  h5: 'h5',
  h6: 'h6',
  subtitle1: 'h6',
  subtitle2: 'h6',
  body1: 'p',
  body2: 'p',
  inherit: 'p'
};
const Typography = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Typography(inProps, ref) {
  const {
    color,
    ...themeProps
  } = (0,_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_7__.useDefaultProps)({
    props: inProps,
    name: 'MuiTypography'
  });
  const isSxColor = !v6Colors[color];
  // TODO: Remove `extendSxProp` in v7
  const props = extendSxProp({
    ...themeProps,
    ...(isSxColor && {
      color
    })
  });
  const {
    align = 'inherit',
    className,
    component,
    gutterBottom = false,
    noWrap = false,
    paragraph = false,
    variant = 'body1',
    variantMapping = defaultVariantMapping,
    ...other
  } = props;
  const ownerState = {
    ...props,
    align,
    color,
    className,
    component,
    gutterBottom,
    noWrap,
    paragraph,
    variant,
    variantMapping
  };
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
  const classes = useUtilityClasses(ownerState);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(TypographyRoot, {
    as: Component,
    ref: ref,
    className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
    ...other,
    ownerState: ownerState,
    style: {
      ...(align !== 'inherit' && {
        '--Typography-textAlign': align
      }),
      ...other.style
    }
  });
});
 true ? Typography.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Set the text-align on the component.
   * @default 'inherit'
   */
  align: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['center', 'inherit', 'justify', 'left', 'right']),
  /**
   * The content of the component.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * The color of the component.
   * It supports both default and custom theme colors, which can be added as shown in the
   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
   */
  color: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component used for the root node.
   * Either a string to use a HTML element or a component.
   */
  component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
  /**
   * If `true`, the text will have a bottom margin.
   * @default false
   */
  gutterBottom: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
   *
   * Note that text overflow can only happen with block or inline-block level elements
   * (the element needs to have a width in order to overflow).
   * @default false
   */
  noWrap: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the element will be a paragraph element.
   * @default false
   * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
   */
  paragraph: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * @ignore
   */
  style: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
  /**
   * Applies the theme typography styles.
   * @default 'body1'
   */
  variant: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The component maps the variant prop to a range of different HTML element types.
   * For instance, subtitle1 to `<h6>`.
   * If you wish to change that mapping, you can provide your own.
   * Alternatively, you can use the `component` prop.
   * @default {
   *   h1: 'h1',
   *   h2: 'h2',
   *   h3: 'h3',
   *   h4: 'h4',
   *   h5: 'h5',
   *   h6: 'h6',
   *   subtitle1: 'h6',
   *   subtitle2: 'h6',
   *   body1: 'p',
   *   body2: 'p',
   *   inherit: 'p',
   * }
   */
  variantMapping: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Typography);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/typographyClasses.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Typography/typographyClasses.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTypographyUtilityClass: () => (/* binding */ getTypographyUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getTypographyUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('MuiTypography', slot);
}
const typographyClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (typographyClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/ownerDocument */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js");
/* harmony import */ var _mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/getReactElementRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js");
/* harmony import */ var _mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/exactProp */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js");
/* harmony import */ var _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/elementAcceptingRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js");
/* harmony import */ var _utils_contains_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/contains.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/contains.js");
/* harmony import */ var _utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/getActiveElement.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getActiveElement.js");
/* harmony import */ var _utils_focusable_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/focusable.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/focusable.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';

/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */











// Inspired by https://github.com/focus-trap/tabbable
const candidatesSelector = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])'].join(',');
function getTabIndex(node) {
  const tabindexAttr = parseInt(node.getAttribute('tabindex') || '', 10);
  if (!Number.isNaN(tabindexAttr)) {
    return tabindexAttr;
  }

  // Browsers do not return `tabIndex` correctly for contentEditable nodes;
  // https://issues.chromium.org/issues/41283952
  // so if they don't have a tabindex attribute specifically set, assume it's 0.
  // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
  //  `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
  //  yet they are still part of the regular tab order; in FF, they get a default
  //  `tabIndex` of 0; since Chrome still puts those elements in the regular tab
  //  order, consider their tab index to be 0.
  if (node.contentEditable === 'true' || (node.nodeName === 'AUDIO' || node.nodeName === 'VIDEO' || node.nodeName === 'DETAILS') && node.getAttribute('tabindex') === null) {
    return 0;
  }
  return node.tabIndex;
}
function isNonTabbableRadio(node) {
  if (node.tagName !== 'INPUT' || node.type !== 'radio') {
    return false;
  }
  if (!node.name) {
    return false;
  }
  const getRadio = selector => node.ownerDocument.querySelector(`input[type="radio"]${selector}`);
  let roving = getRadio(`[name="${node.name}"]:checked`);
  if (!roving) {
    roving = getRadio(`[name="${node.name}"]`);
  }
  return roving !== node;
}
function isNodeMatchingSelectorFocusable(node) {
  if (node.disabled || node.tagName === 'INPUT' && node.type === 'hidden' || isNonTabbableRadio(node)) {
    return false;
  }
  return true;
}
function defaultGetTabbable(root) {
  const regularTabNodes = [];
  const orderedTabNodes = [];
  Array.from(root.querySelectorAll(candidatesSelector)).forEach((node, i) => {
    const nodeTabIndex = getTabIndex(node);
    if (nodeTabIndex === -1 || !isNodeMatchingSelectorFocusable(node)) {
      return;
    }
    if (nodeTabIndex === 0) {
      regularTabNodes.push(node);
    } else {
      orderedTabNodes.push({
        documentOrder: i,
        tabIndex: nodeTabIndex,
        node: node
      });
    }
  });
  return orderedTabNodes.sort((a, b) => a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex).map(a => a.node).concat(regularTabNodes);
}
function defaultIsEnabled() {
  return true;
}

/**
 * @ignore - internal component.
 */
function FocusTrap(props) {
  const {
    children,
    disableAutoFocus = false,
    disableEnforceFocus = false,
    disableRestoreFocus = false,
    getTabbable = defaultGetTabbable,
    isEnabled = defaultIsEnabled,
    open
  } = props;
  const ignoreNextEnforceFocus = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const sentinelStart = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const sentinelEnd = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const nodeToRestore = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const reactFocusEventTarget = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  // This variable is useful when disableAutoFocus is true.
  // It waits for the active element to move into the component to activate.
  const activated = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const rootRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const handleRef = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_mui_utils_getReactElementRef__WEBPACK_IMPORTED_MODULE_4__["default"])(children), rootRef);
  const lastKeydown = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    // We might render an empty child.
    if (!open || !rootRef.current) {
      return;
    }
    activated.current = !disableAutoFocus;
  }, [disableAutoFocus, open]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    // Reset on every mount — React 18 Strict Mode double-mounts leave this
    // stuck at `true` after the cleanup of the previous mount set it.
    ignoreNextEnforceFocus.current = false;

    // We might render an empty child.
    if (!open || !rootRef.current) {
      return;
    }
    const doc = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_3__["default"])(rootRef.current);
    const activeElement = (0,_utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_8__["default"])(doc);

    // Prefer the explicitly marked focusable element. Fall back to the root
    // element for generic FocusTrap usage.
    const focusTarget = (0,_utils_focusable_js__WEBPACK_IMPORTED_MODULE_9__.getFocusTarget)(rootRef.current) ?? rootRef.current;
    if (!(0,_utils_contains_js__WEBPACK_IMPORTED_MODULE_7__["default"])(rootRef.current, activeElement)) {
      if (!focusTarget.hasAttribute('tabIndex')) {
        if (true) {
          console.error(['MUI: The modal content node does not accept focus.', 'For the benefit of assistive technologies, ' + 'the tabIndex of the node is being set to "-1".'].join('\n'));
        }
        focusTarget.setAttribute('tabIndex', '-1');
      }
      if (activated.current) {
        focusTarget.focus();
      }
    }
    return () => {
      // restoreLastFocus()
      if (!disableRestoreFocus) {
        // In IE11 it is possible for document.activeElement to be null resulting
        // in nodeToRestore.current being null.
        // Not all elements in IE11 have a focus method.
        // Once IE11 support is dropped the focus() call can be unconditional.
        if (nodeToRestore.current && nodeToRestore.current.focus) {
          ignoreNextEnforceFocus.current = true;
          nodeToRestore.current.focus();
        }
        nodeToRestore.current = null;
      }
    };
    // Missing `disableRestoreFocus` which is fine.
    // We don't support changing that prop on an open FocusTrap
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [open]);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    // We might render an empty child.
    if (!open || !rootRef.current) {
      return;
    }
    const doc = (0,_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_3__["default"])(rootRef.current);
    const loopFocus = nativeEvent => {
      lastKeydown.current = nativeEvent;
      if (disableEnforceFocus || !isEnabled() || nativeEvent.key !== 'Tab') {
        return;
      }
      const activeElement = (0,_utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_8__["default"])(doc);

      // Make sure the next tab starts from the right place.
      // activeElement refers to the origin.
      if (activeElement === rootRef.current && nativeEvent.shiftKey) {
        // We need to ignore the next contain as
        // it will try to move the focus back to the rootRef element.
        ignoreNextEnforceFocus.current = true;
        if (sentinelEnd.current) {
          sentinelEnd.current.focus();
        }
      }
    };
    const contain = () => {
      const rootElement = rootRef.current;

      // Cleanup functions are executed lazily in React 17.
      // Contain can be called between the component being unmounted and its cleanup function being run.
      if (rootElement === null) {
        return;
      }
      const activeEl = (0,_utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_8__["default"])(doc);
      if (!doc.hasFocus() || !isEnabled() || ignoreNextEnforceFocus.current) {
        ignoreNextEnforceFocus.current = false;
        return;
      }

      // The focus is already inside
      if ((0,_utils_contains_js__WEBPACK_IMPORTED_MODULE_7__["default"])(rootElement, activeEl)) {
        return;
      }

      // The disableEnforceFocus is set and the focus is outside of the focus trap (and sentinel nodes)
      if (disableEnforceFocus && activeEl !== sentinelStart.current && activeEl !== sentinelEnd.current) {
        return;
      }

      // if the focus event is not coming from inside the children's react tree, reset the refs
      if (activeEl !== reactFocusEventTarget.current) {
        reactFocusEventTarget.current = null;
      } else if (reactFocusEventTarget.current !== null) {
        return;
      }
      if (!activated.current) {
        return;
      }
      let tabbable = [];
      if (activeEl === sentinelStart.current || activeEl === sentinelEnd.current) {
        tabbable = getTabbable(rootRef.current);
      }

      // one of the sentinel nodes was focused, so move the focus
      // to the first/last tabbable element inside the focus trap
      if (tabbable.length > 0) {
        const isShiftTab = Boolean(lastKeydown.current?.shiftKey && lastKeydown.current?.key === 'Tab');
        const focusNext = tabbable[0];
        const focusPrevious = tabbable[tabbable.length - 1];
        if (typeof focusNext !== 'string' && typeof focusPrevious !== 'string') {
          if (isShiftTab) {
            focusPrevious.focus();
          } else {
            focusNext.focus();
          }
        }
        // no tabbable elements in the trap focus or the focus was outside of the focus trap
      } else {
        rootElement.focus();
      }
    };
    doc.addEventListener('focusin', contain);
    doc.addEventListener('keydown', loopFocus, true);

    // With Edge, Safari and Firefox, no focus related events are fired when the focused area stops being a focused area.
    // for example https://bugzilla.mozilla.org/show_bug.cgi?id=559561.
    // Instead, we can look if the active element was restored on the BODY element.
    //
    // The whatwg spec defines how the browser should behave but does not explicitly mention any events:
    // https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule.
    const interval = setInterval(() => {
      const activeEl = (0,_utils_getActiveElement_js__WEBPACK_IMPORTED_MODULE_8__["default"])(doc);
      if (activeEl && activeEl.tagName === 'BODY') {
        contain();
      }
    }, 50);
    return () => {
      clearInterval(interval);
      doc.removeEventListener('focusin', contain);
      doc.removeEventListener('keydown', loopFocus, true);
    };
  }, [disableAutoFocus, disableEnforceFocus, disableRestoreFocus, isEnabled, open, getTabbable]);
  const onFocus = event => {
    if (nodeToRestore.current === null) {
      nodeToRestore.current = event.relatedTarget;
    }
    activated.current = true;
    reactFocusEventTarget.current = event.target;
    const childrenPropsHandler = children.props.onFocus;
    if (childrenPropsHandler) {
      childrenPropsHandler(event);
    }
  };
  const handleFocusSentinel = event => {
    if (nodeToRestore.current === null) {
      nodeToRestore.current = event.relatedTarget;
    }
    activated.current = true;
  };
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", {
      tabIndex: open ? 0 : -1,
      onFocus: handleFocusSentinel,
      ref: sentinelStart,
      "data-testid": "sentinelStart"
    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(children, {
      ref: handleRef,
      onFocus
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", {
      tabIndex: open ? 0 : -1,
      onFocus: handleFocusSentinel,
      ref: sentinelEnd,
      "data-testid": "sentinelEnd"
    })]
  });
}
 true ? FocusTrap.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * A single child content element.
   */
  children: _mui_utils_elementAcceptingRef__WEBPACK_IMPORTED_MODULE_6__["default"],
  /**
   * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
   * replace it to the last focused element when it closes.
   * This also works correctly with any focus trap children that have the `disableAutoFocus` prop.
   *
   * Generally this should never be set to `true` as it makes the focus trap less
   * accessible to assistive technologies, like screen readers.
   * @default false
   */
  disableAutoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the focus trap will not prevent focus from leaving the focus trap while open.
   *
   * Generally this should never be set to `true` as it makes the focus trap less
   * accessible to assistive technologies, like screen readers.
   * @default false
   */
  disableEnforceFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the focus trap will not restore focus to previously focused element once
   * focus trap is hidden or unmounted.
   * @default false
   */
  disableRestoreFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
   * For instance, you can provide the "tabbable" npm dependency.
   * @param {HTMLElement} root
   */
  getTabbable: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * This prop extends the `open` prop.
   * It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.
   * This prop should be memoized.
   * It can be used to support multiple focus trap mounted at the same time.
   * @default function defaultIsEnabled(): boolean {
   *   return true;
   * }
   */
  isEnabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * If `true`, focus is locked.
   */
  open: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool.isRequired
} : 0;
if (true) {
  // eslint-disable-next-line
  FocusTrap['propTypes' + ''] = (0,_mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_5__["default"])(FocusTrap.propTypes);
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FocusTrap);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/blue.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/blue.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const blue = {
  50: '#e3f2fd',
  100: '#bbdefb',
  200: '#90caf9',
  300: '#64b5f6',
  400: '#42a5f5',
  500: '#2196f3',
  600: '#1e88e5',
  700: '#1976d2',
  800: '#1565c0',
  900: '#0d47a1',
  A100: '#82b1ff',
  A200: '#448aff',
  A400: '#2979ff',
  A700: '#2962ff'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (blue);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/common.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/common.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const common = {
  black: '#000',
  white: '#fff'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (common);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/green.js"
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/green.js ***!
  \****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const green = {
  50: '#e8f5e9',
  100: '#c8e6c9',
  200: '#a5d6a7',
  300: '#81c784',
  400: '#66bb6a',
  500: '#4caf50',
  600: '#43a047',
  700: '#388e3c',
  800: '#2e7d32',
  900: '#1b5e20',
  A100: '#b9f6ca',
  A200: '#69f0ae',
  A400: '#00e676',
  A700: '#00c853'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (green);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/grey.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/grey.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const grey = {
  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'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (grey);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/lightBlue.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/lightBlue.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const lightBlue = {
  50: '#e1f5fe',
  100: '#b3e5fc',
  200: '#81d4fa',
  300: '#4fc3f7',
  400: '#29b6f6',
  500: '#03a9f4',
  600: '#039be5',
  700: '#0288d1',
  800: '#0277bd',
  900: '#01579b',
  A100: '#80d8ff',
  A200: '#40c4ff',
  A400: '#00b0ff',
  A700: '#0091ea'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (lightBlue);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/orange.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/orange.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const orange = {
  50: '#fff3e0',
  100: '#ffe0b2',
  200: '#ffcc80',
  300: '#ffb74d',
  400: '#ffa726',
  500: '#ff9800',
  600: '#fb8c00',
  700: '#f57c00',
  800: '#ef6c00',
  900: '#e65100',
  A100: '#ffd180',
  A200: '#ffab40',
  A400: '#ff9100',
  A700: '#ff6d00'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (orange);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/purple.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/purple.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const purple = {
  50: '#f3e5f5',
  100: '#e1bee7',
  200: '#ce93d8',
  300: '#ba68c8',
  400: '#ab47bc',
  500: '#9c27b0',
  600: '#8e24aa',
  700: '#7b1fa2',
  800: '#6a1b9a',
  900: '#4a148c',
  A100: '#ea80fc',
  A200: '#e040fb',
  A400: '#d500f9',
  A700: '#aa00ff'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (purple);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/red.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/red.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const red = {
  50: '#ffebee',
  100: '#ffcdd2',
  200: '#ef9a9a',
  300: '#e57373',
  400: '#ef5350',
  500: '#f44336',
  600: '#e53935',
  700: '#d32f2f',
  800: '#c62828',
  900: '#b71c1c',
  A100: '#ff8a80',
  A200: '#ff5252',
  A400: '#ff1744',
  A700: '#d50000'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (red);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/SwitchBase.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/SwitchBase.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_refType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/refType */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/capitalize.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js");
/* harmony import */ var _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../zero-styled/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");
/* harmony import */ var _utils_useControlled_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/useControlled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js");
/* harmony import */ var _FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../FormControl/useFormControl.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/FormControl/useFormControl.js");
/* harmony import */ var _ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ButtonBase/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js");
/* harmony import */ var _switchBaseClasses_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./switchBaseClasses.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/switchBaseClasses.js");
/* harmony import */ var _utils_useSlot_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/useSlot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';














const useUtilityClasses = ownerState => {
  const {
    classes,
    checked,
    disabled,
    edge
  } = ownerState;
  const slots = {
    root: ['root', checked && 'checked', disabled && 'disabled', edge && `edge${(0,_utils_capitalize_js__WEBPACK_IMPORTED_MODULE_4__["default"])(edge)}`],
    input: ['input']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_3__["default"])(slots, _switchBaseClasses_js__WEBPACK_IMPORTED_MODULE_10__.getSwitchBaseUtilityClass, classes);
};
const SwitchBaseRoot = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_ButtonBase_index_js__WEBPACK_IMPORTED_MODULE_9__["default"], {
  name: 'MuiSwitchBase'
})({
  padding: 9,
  borderRadius: '50%',
  variants: [{
    props: {
      edge: 'start',
      size: 'small'
    },
    style: {
      marginLeft: -3
    }
  }, {
    props: ({
      edge,
      ownerState
    }) => edge === 'start' && ownerState.size !== 'small',
    style: {
      marginLeft: -12
    }
  }, {
    props: {
      edge: 'end',
      size: 'small'
    },
    style: {
      marginRight: -3
    }
  }, {
    props: ({
      edge,
      ownerState
    }) => edge === 'end' && ownerState.size !== 'small',
    style: {
      marginRight: -12
    }
  }]
});
const SwitchBaseInput = (0,_zero_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('input', {
  name: 'MuiSwitchBase',
  shouldForwardProp: _styles_rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_5__["default"]
})({
  cursor: 'inherit',
  position: 'absolute',
  opacity: 0,
  width: '100%',
  height: '100%',
  top: 0,
  left: 0,
  margin: 0,
  padding: 0,
  zIndex: 1
});

/**
 * @ignore - internal component.
 */
const SwitchBase = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function SwitchBase(props, ref) {
  const {
    autoFocus,
    checked: checkedProp,
    checkedIcon,
    defaultChecked,
    disabled: disabledProp,
    disableFocusRipple = false,
    edge = false,
    icon,
    id,
    inputProps,
    inputRef,
    name,
    onBlur,
    onChange,
    onFocus,
    readOnly,
    required = false,
    tabIndex,
    type,
    value,
    slots = {},
    slotProps = {},
    ...other
  } = props;
  const [checked, setCheckedState] = (0,_utils_useControlled_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
    controlled: checkedProp,
    default: Boolean(defaultChecked),
    name: 'SwitchBase',
    state: 'checked'
  });
  const muiFormControl = (0,_FormControl_useFormControl_js__WEBPACK_IMPORTED_MODULE_8__["default"])();
  const handleFocus = event => {
    if (onFocus) {
      onFocus(event);
    }
    if (muiFormControl && muiFormControl.onFocus) {
      muiFormControl.onFocus(event);
    }
  };
  const handleBlur = event => {
    if (onBlur) {
      onBlur(event);
    }
    if (muiFormControl && muiFormControl.onBlur) {
      muiFormControl.onBlur(event);
    }
  };
  const handleInputChange = event => {
    // Workaround for https://github.com/facebook/react/issues/9023
    if (event.nativeEvent.defaultPrevented || readOnly) {
      return;
    }
    const newChecked = event.target.checked;
    setCheckedState(newChecked);
    if (onChange) {
      // TODO v6: remove the second argument.
      onChange(event, newChecked);
    }
  };
  let disabled = disabledProp;
  if (muiFormControl) {
    if (typeof disabled === 'undefined') {
      disabled = muiFormControl.disabled;
    }
  }
  const hasLabelFor = type === 'checkbox' || type === 'radio';
  const ownerState = {
    ...props,
    checked,
    disabled,
    disableFocusRipple,
    edge
  };
  const classes = useUtilityClasses(ownerState);
  const externalForwardedProps = {
    slots,
    slotProps: {
      input: inputProps,
      ...slotProps
    }
  };
  const [RootSlot, rootSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_11__["default"])('root', {
    ref,
    elementType: SwitchBaseRoot,
    className: classes.root,
    shouldForwardComponentProp: true,
    externalForwardedProps: {
      ...externalForwardedProps,
      component: 'span',
      ...other
    },
    getSlotProps: handlers => ({
      ...handlers,
      onFocus: event => {
        handlers.onFocus?.(event);
        handleFocus(event);
      },
      onBlur: event => {
        handlers.onBlur?.(event);
        handleBlur(event);
      }
    }),
    ownerState,
    additionalProps: {
      centerRipple: true,
      focusRipple: !disableFocusRipple,
      role: undefined,
      tabIndex: null
    }
  });
  const [InputSlot, inputSlotProps] = (0,_utils_useSlot_js__WEBPACK_IMPORTED_MODULE_11__["default"])('input', {
    ref: inputRef,
    elementType: SwitchBaseInput,
    className: classes.input,
    externalForwardedProps,
    getSlotProps: handlers => ({
      ...handlers,
      onChange: event => {
        handlers.onChange?.(event);
        handleInputChange(event);
      }
    }),
    ownerState,
    additionalProps: {
      autoFocus,
      checked: checkedProp,
      defaultChecked,
      disabled,
      id: hasLabelFor ? id : undefined,
      name,
      readOnly,
      required,
      tabIndex,
      type,
      ...(type === 'checkbox' && value === undefined ? {} : {
        value
      })
    }
  });
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(RootSlot, {
    ...rootSlotProps,
    children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(InputSlot, {
      ...inputSlotProps
    }), checked ? checkedIcon : icon]
  });
});

// NB: If changed, please update Checkbox, Switch and Radio
// so that the API documentation is updated.
 true ? SwitchBase.propTypes = {
  /**
   * If `true`, the `input` element is focused during the first mount.
   */
  autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is checked.
   */
  checked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The icon to display when the component is checked.
   */
  checkedIcon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node.isRequired,
  /**
   * Override or extend the styles applied to the component.
   */
  classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  defaultChecked: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the component is disabled.
   */
  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the  keyboard focus ripple is disabled.
   * @default false
   */
  disableFocusRipple: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If given, uses a negative margin to counteract the padding on one
   * side (this is often helpful for aligning the left or right
   * side of the icon with content above or below, without ruining the border
   * size and shape).
   * @default false
   */
  edge: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['end', 'start', false]),
  /**
   * The icon to display when the component is unchecked.
   */
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1__.node.isRequired,
  /**
   * The id of the `input` element.
   */
  id: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
   */
  inputProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * Pass a ref to the `input` element.
   */
  inputRef: _mui_utils_refType__WEBPACK_IMPORTED_MODULE_2__["default"],
  /*
   * @ignore
   */
  name: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
  /**
   * @ignore
   */
  onBlur: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * Callback fired when the state is changed.
   *
   * @param {object} event The event source of the callback.
   * You can pull out the new checked state by accessing `event.target.checked` (boolean).
   */
  onChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * @ignore
   */
  onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
  /**
   * It prevents the user from changing the value of the field
   * (not from interacting with the field).
   */
  readOnly: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * If `true`, the `input` element is required.
   */
  required: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * The props used for each slot inside.
   * @default {}
   */
  slotProps: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  }),
  /**
   * The components used for each slot inside.
   * @default {}
   */
  slots: prop_types__WEBPACK_IMPORTED_MODULE_1__.shape({
    input: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    root: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType
  }),
  /**
   * The system prop that allows defining system overrides as well as additional CSS styles.
   */
  sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
  /**
   * @ignore
   */
  tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
  /**
   * The input component prop `type`.
   */
  type: prop_types__WEBPACK_IMPORTED_MODULE_1__.string.isRequired,
  /**
   * The value of the component.
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.any
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SwitchBase);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/animate.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/animate.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ animate)
/* harmony export */ });
function easeInOutSin(time) {
  return (1 + Math.sin(Math.PI * time - Math.PI / 2)) / 2;
}
function animate(property, element, to, options = {}, cb = () => {}) {
  const {
    ease = easeInOutSin,
    duration = 300 // standard
  } = options;
  let start = null;
  const from = element[property];
  let cancelled = false;
  const cancel = () => {
    cancelled = true;
  };
  const step = timestamp => {
    if (cancelled) {
      cb(new Error('Animation cancelled'));
      return;
    }
    if (start === null) {
      start = timestamp;
    }
    const time = Math.min(1, (timestamp - start) / duration);
    element[property] = ease(time) * (to - from) + from;
    if (time >= 1) {
      requestAnimationFrame(() => {
        cb(null);
      });
      return;
    }
    requestAnimationFrame(step);
  };
  if (from === to) {
    cb(new Error('Element already at target position'));
    return cancel;
  }
  requestAnimationFrame(step);
  return cancel;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ArrowDownward.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ArrowDownward.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
}), 'ArrowDownward'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js"
/*!************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ArrowDropDown.js ***!
  \************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M7 10l5 5 5-5z"
}), 'ArrowDropDown'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/Cancel.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/Cancel.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.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'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/CheckBox.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/CheckBox.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
}), 'CheckBox'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/CheckBoxOutlineBlank.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/CheckBoxOutlineBlank.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
}), 'CheckBoxOutlineBlank'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/Close.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/Close.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 *
 * Alias to `Clear`.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.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'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ErrorOutline.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ErrorOutline.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
}), 'ErrorOutline'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/FirstPage.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/FirstPage.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
}), 'FirstPage'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/IndeterminateCheckBox.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/IndeterminateCheckBox.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
}), 'IndeterminateCheckBox'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/InfoOutlined.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/InfoOutlined.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
}), 'InfoOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowLeft.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
}), 'KeyboardArrowLeft'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/KeyboardArrowRight.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
}), 'KeyboardArrowRight'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/LastPage.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/LastPage.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
}), 'LastPage'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
}), 'MoreHoriz'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/RadioButtonChecked.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/RadioButtonChecked.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
}), 'RadioButtonChecked'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/RadioButtonUnchecked.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/RadioButtonUnchecked.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
}), 'RadioButtonUnchecked'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ReportProblemOutlined.js"
/*!********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/ReportProblemOutlined.js ***!
  \********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
}), 'ReportProblemOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/SuccessOutlined.js"
/*!**************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/svg-icons/SuccessOutlined.js ***!
  \**************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/createSvgIcon.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';



/**
 * @ignore - internal component.
 */

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_utils_createSvgIcon_js__WEBPACK_IMPORTED_MODULE_0__["default"])(/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", {
  d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
}), 'SuccessOutlined'));

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/switchBaseClasses.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/internal/switchBaseClasses.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getSwitchBaseUtilityClass: () => (/* binding */ getSwitchBaseUtilityClass)
/* harmony export */ });
/* harmony import */ var _mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/generateUtilityClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");


function getSwitchBaseUtilityClass(slot) {
  return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_1__["default"])('PrivateSwitchBase', slot);
}
const switchBaseClasses = (0,_mui_utils_generateUtilityClasses__WEBPACK_IMPORTED_MODULE_0__["default"])('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (switchBaseClasses);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProvider.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProvider.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ThemeProvider)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _ThemeProviderNoVars_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ThemeProviderNoVars.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js");
/* harmony import */ var _ThemeProviderWithVars_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ThemeProviderWithVars.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProviderWithVars.js");
/* harmony import */ var _identifier_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';






function ThemeProvider({
  theme,
  ...props
}) {
  const noVarsTheme = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    if (typeof theme === 'function') {
      return theme;
    }
    const muiTheme = _identifier_js__WEBPACK_IMPORTED_MODULE_3__["default"] in theme ? theme[_identifier_js__WEBPACK_IMPORTED_MODULE_3__["default"]] : theme;
    if (!('colorSchemes' in muiTheme)) {
      if (!('vars' in muiTheme)) {
        // For non-CSS variables themes, set `vars` to null to prevent theme inheritance from the upper theme.
        // The example use case is the docs demo that uses ThemeProvider to customize the theme while the upper theme is using CSS variables.
        return {
          ...theme,
          vars: null
        };
      }
      return theme;
    }
    return null;
  }, [theme]);
  if (noVarsTheme) {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_ThemeProviderNoVars_js__WEBPACK_IMPORTED_MODULE_1__["default"], {
      theme: noVarsTheme,
      ...props
    });
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_ThemeProviderWithVars_js__WEBPACK_IMPORTED_MODULE_2__.CssVarsProvider, {
    theme: theme,
    ...props
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProviderNoVars.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ThemeProviderNoVars)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js");
/* harmony import */ var _identifier_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';





function ThemeProviderNoVars({
  theme: themeInput,
  ...props
}) {
  const scopedTheme = _identifier_js__WEBPACK_IMPORTED_MODULE_2__["default"] in themeInput ? themeInput[_identifier_js__WEBPACK_IMPORTED_MODULE_2__["default"]] : undefined;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"], {
    ...props,
    themeId: scopedTheme ? _identifier_js__WEBPACK_IMPORTED_MODULE_2__["default"] : undefined,
    theme: scopedTheme || themeInput
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProviderWithVars.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/ThemeProviderWithVars.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CssVarsProvider: () => (/* binding */ CssVarsProvider),
/* harmony export */   Experimental_CssVarsProvider: () => (/* binding */ Experimental_CssVarsProvider),
/* harmony export */   getInitColorSchemeScript: () => (/* binding */ getInitColorSchemeScript),
/* harmony export */   useColorScheme: () => (/* binding */ useColorScheme)
/* harmony export */ });
/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js");
/* harmony import */ var _createTheme_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTheme.js");
/* harmony import */ var _createTypography_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./createTypography.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTypography.js");
/* harmony import */ var _identifier_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
/* harmony import */ var _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../InitColorSchemeScript/InitColorSchemeScript.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';








const {
  CssVarsProvider: InternalCssVarsProvider,
  useColorScheme,
  getInitColorSchemeScript: deprecatedGetInitColorSchemeScript
} = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"])({
  themeId: _identifier_js__WEBPACK_IMPORTED_MODULE_4__["default"],
  // @ts-ignore ignore module augmentation tests
  theme: () => (0,_createTheme_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
    cssVariables: true
  }),
  colorSchemeStorageKey: _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_5__.defaultConfig.colorSchemeStorageKey,
  modeStorageKey: _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_5__.defaultConfig.modeStorageKey,
  defaultColorScheme: {
    light: _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_5__.defaultConfig.defaultLightColorScheme,
    dark: _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_5__.defaultConfig.defaultDarkColorScheme
  },
  resolveTheme: theme => {
    const newTheme = {
      ...theme,
      typography: (0,_createTypography_js__WEBPACK_IMPORTED_MODULE_3__["default"])(theme.palette, theme.typography)
    };
    newTheme.unstable_sx = function sx(props) {
      return (0,_mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_0__["default"])({
        sx: props,
        theme: this
      });
    };
    return newTheme;
  }
});
let warnedOnce = false;

// TODO: remove in v7
// eslint-disable-next-line @typescript-eslint/naming-convention
function Experimental_CssVarsProvider(props) {
  if (true) {
    if (!warnedOnce) {
      console.warn(['MUI: The Experimental_CssVarsProvider component has been ported into ThemeProvider.', '', "You should use `import { ThemeProvider } from '@mui/material/styles'` instead.", 'For more details, check out https://mui.com/material-ui/customization/css-theme-variables/usage/'].join('\n'));
      warnedOnce = true;
    }
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(InternalCssVarsProvider, {
    ...props
  });
}
let warnedInitScriptOnce = false;

// TODO: remove in v7
const getInitColorSchemeScript = params => {
  if (!warnedInitScriptOnce) {
    console.warn(['MUI: The getInitColorSchemeScript function has been deprecated.', '', "You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`", 'and replace the function call with `<InitColorSchemeScript />` instead.'].join('\n'));
    warnedInitScriptOnce = true;
  }
  return deprecatedGetInitColorSchemeScript(params);
};

/**
 * TODO: remove this export in v7
 * @deprecated
 * The `CssVarsProvider` component has been deprecated and ported into `ThemeProvider`.
 *
 * You should use `ThemeProvider` and `createTheme()` instead:
 *
 * ```diff
 * - import { CssVarsProvider, extendTheme } from '@mui/material/styles';
 * + import { ThemeProvider, createTheme } from '@mui/material/styles';
 *
 * - const theme = extendTheme();
 * + const theme = createTheme({
 * +   cssVariables: true,
 * +   colorSchemes: { light: true, dark: true },
 * + });
 *
 * - <CssVarsProvider theme={theme}>
 * + <ThemeProvider theme={theme}>
 * ```
 *
 * To see the full documentation, check out https://mui.com/material-ui/customization/css-theme-variables/usage/.
 */
const CssVarsProvider = InternalCssVarsProvider;


/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createColorScheme.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createColorScheme.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createColorScheme),
/* harmony export */   getOpacity: () => (/* binding */ getOpacity),
/* harmony export */   getOverlays: () => (/* binding */ getOverlays)
/* harmony export */ });
/* harmony import */ var _createPalette_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPalette.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createPalette.js");
/* harmony import */ var _getOverlayAlpha_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getOverlayAlpha.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/getOverlayAlpha.js");


const defaultDarkOverlays = [...Array(25)].map((_, index) => {
  if (index === 0) {
    return 'none';
  }
  const overlay = (0,_getOverlayAlpha_js__WEBPACK_IMPORTED_MODULE_1__["default"])(index);
  return `linear-gradient(rgba(255 255 255 / ${overlay}), rgba(255 255 255 / ${overlay}))`;
});
function getOpacity(mode) {
  return {
    inputPlaceholder: mode === 'dark' ? 0.5 : 0.42,
    inputUnderline: mode === 'dark' ? 0.7 : 0.42,
    switchTrackDisabled: mode === 'dark' ? 0.2 : 0.12,
    switchTrack: mode === 'dark' ? 0.3 : 0.38
  };
}
function getOverlays(mode) {
  return mode === 'dark' ? defaultDarkOverlays : [];
}
function createColorScheme(options) {
  const {
    palette: paletteInput = {
      mode: 'light'
    },
    // need to cast to avoid module augmentation test
    opacity,
    overlays,
    colorSpace,
    ...other
  } = options;
  // need to cast because `colorSpace` is considered internal at the moment.
  const palette = (0,_createPalette_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
    ...paletteInput,
    colorSpace
  });
  return {
    palette,
    opacity: {
      ...getOpacity(palette.mode),
      ...opacity
    },
    overlays: overlays || getOverlays(palette.mode),
    ...other
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createGetSelector.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createGetSelector.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _excludeVariablesFromRoot_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./excludeVariablesFromRoot.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (theme => (colorScheme, css) => {
  const root = theme.rootSelector || ':root';
  const selector = theme.colorSchemeSelector;
  let rule = selector;
  if (selector === 'class') {
    rule = '.%s';
  }
  if (selector === 'data') {
    rule = '[data-%s]';
  }
  if (selector?.startsWith('data-') && !selector.includes('%s')) {
    // 'data-mui-color-scheme' -> '[data-mui-color-scheme="%s"]'
    rule = `[${selector}="%s"]`;
  }
  if (theme.defaultColorScheme === colorScheme) {
    if (colorScheme === 'dark') {
      const excludedVariables = {};
      (0,_excludeVariablesFromRoot_js__WEBPACK_IMPORTED_MODULE_0__["default"])(theme.cssVarPrefix).forEach(cssVar => {
        excludedVariables[cssVar] = css[cssVar];
        delete css[cssVar];
      });
      if (rule === 'media') {
        return {
          [root]: css,
          [`@media (prefers-color-scheme: dark)`]: {
            [root]: excludedVariables
          }
        };
      }
      if (rule) {
        return {
          [rule.replace('%s', colorScheme)]: excludedVariables,
          [`${root}, ${rule.replace('%s', colorScheme)}`]: css
        };
      }
      return {
        [root]: {
          ...css,
          ...excludedVariables
        }
      };
    }
    if (rule && rule !== 'media') {
      return `${root}, ${rule.replace('%s', String(colorScheme))}`;
    }
  } else if (colorScheme) {
    if (rule === 'media') {
      return {
        [`@media (prefers-color-scheme: ${String(colorScheme)})`]: {
          [root]: css
        }
      };
    }
    if (rule) {
      return rule.replace('%s', String(colorScheme));
    }
  }
  return root;
});

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createMixins.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createMixins.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createMixins)
/* harmony export */ });
function createMixins(breakpoints, mixins) {
  return {
    toolbar: {
      minHeight: 56,
      [breakpoints.up('xs')]: {
        '@media (orientation: landscape)': {
          minHeight: 48
        }
      },
      [breakpoints.up('sm')]: {
        minHeight: 64
      }
    },
    ...mixins
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createPalette.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createPalette.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   contrastColor: () => (/* binding */ contrastColor),
/* harmony export */   dark: () => (/* binding */ dark),
/* harmony export */   "default": () => (/* binding */ createPalette),
/* harmony export */   light: () => (/* binding */ light)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _colors_common_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../colors/common.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/common.js");
/* harmony import */ var _colors_grey_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../colors/grey.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/grey.js");
/* harmony import */ var _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../colors/purple.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/purple.js");
/* harmony import */ var _colors_red_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../colors/red.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/red.js");
/* harmony import */ var _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../colors/orange.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/orange.js");
/* harmony import */ var _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../colors/blue.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/blue.js");
/* harmony import */ var _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../colors/lightBlue.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/lightBlue.js");
/* harmony import */ var _colors_green_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../colors/green.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/colors/green.js");











function getLight() {
  return {
    // 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: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].white,
      default: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].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
    }
  };
}
const light = getLight();
function getDark() {
  return {
    text: {
      primary: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].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: _colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"].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
    }
  };
}
const dark = getDark();
function addLightOrDark(intent, direction, shade, tonalOffset) {
  const tonalOffsetLight = tonalOffset.light || tonalOffset;
  const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;
  if (!intent[direction]) {
    if (intent.hasOwnProperty(shade)) {
      intent[direction] = intent[shade];
    } else if (direction === 'light') {
      intent.light = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.lighten)(intent.main, tonalOffsetLight);
    } else if (direction === 'dark') {
      intent.dark = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.darken)(intent.main, tonalOffsetDark);
    }
  }
}
function mixLightOrDark(colorSpace, intent, direction, shade, tonalOffset) {
  const tonalOffsetLight = tonalOffset.light || tonalOffset;
  const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;
  if (!intent[direction]) {
    if (intent.hasOwnProperty(shade)) {
      intent[direction] = intent[shade];
    } else if (direction === 'light') {
      intent.light = `color-mix(in ${colorSpace}, ${intent.main}, #fff ${(tonalOffsetLight * 100).toFixed(0)}%)`;
    } else if (direction === 'dark') {
      intent.dark = `color-mix(in ${colorSpace}, ${intent.main}, #000 ${(tonalOffsetDark * 100).toFixed(0)}%)`;
    }
  }
}
function getDefaultPrimary(mode = 'light') {
  if (mode === 'dark') {
    return {
      main: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][200],
      light: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][50],
      dark: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][400]
    };
  }
  return {
    main: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][700],
    light: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][400],
    dark: _colors_blue_js__WEBPACK_IMPORTED_MODULE_7__["default"][800]
  };
}
function getDefaultSecondary(mode = 'light') {
  if (mode === 'dark') {
    return {
      main: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][200],
      light: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][50],
      dark: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][400]
    };
  }
  return {
    main: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][500],
    light: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][300],
    dark: _colors_purple_js__WEBPACK_IMPORTED_MODULE_4__["default"][700]
  };
}
function getDefaultError(mode = 'light') {
  if (mode === 'dark') {
    return {
      main: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][500],
      light: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][300],
      dark: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][700]
    };
  }
  return {
    main: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][700],
    light: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][400],
    dark: _colors_red_js__WEBPACK_IMPORTED_MODULE_5__["default"][800]
  };
}
function getDefaultInfo(mode = 'light') {
  if (mode === 'dark') {
    return {
      main: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][400],
      light: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][300],
      dark: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][700]
    };
  }
  return {
    main: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][700],
    light: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][500],
    dark: _colors_lightBlue_js__WEBPACK_IMPORTED_MODULE_8__["default"][900]
  };
}
function getDefaultSuccess(mode = 'light') {
  if (mode === 'dark') {
    return {
      main: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][400],
      light: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][300],
      dark: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][700]
    };
  }
  return {
    main: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][800],
    light: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][500],
    dark: _colors_green_js__WEBPACK_IMPORTED_MODULE_9__["default"][900]
  };
}
function getDefaultWarning(mode = 'light') {
  if (mode === 'dark') {
    return {
      main: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][400],
      light: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][300],
      dark: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][700]
    };
  }
  return {
    main: '#ed6c02',
    // closest to orange[800] that pass 3:1.
    light: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][500],
    dark: _colors_orange_js__WEBPACK_IMPORTED_MODULE_6__["default"][900]
  };
}

// Use the same name as the experimental CSS `contrast-color` function.
function contrastColor(background) {
  return `oklch(from ${background} var(--__l) 0 h / var(--__a))`;
}
function createPalette(palette) {
  const {
    mode = 'light',
    contrastThreshold = 3,
    tonalOffset = 0.2,
    colorSpace,
    ...other
  } = palette;
  const primary = palette.primary || getDefaultPrimary(mode);
  const secondary = palette.secondary || getDefaultSecondary(mode);
  const error = palette.error || getDefaultError(mode);
  const info = palette.info || getDefaultInfo(mode);
  const success = palette.success || getDefaultSuccess(mode);
  const warning = palette.warning || getDefaultWarning(mode);

  // Use the same logic as
  // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59
  // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54
  function getContrastText(background) {
    if (colorSpace) {
      return contrastColor(background);
    }
    const contrastText = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.getContrastRatio)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
    if (true) {
      const contrast = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_1__.getContrastRatio)(background, contrastText);
      if (contrast < 3) {
        console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
      }
    }
    return contrastText;
  }
  const augmentColor = ({
    color,
    name,
    mainShade = 500,
    lightShade = 300,
    darkShade = 700
  }) => {
    color = {
      ...color
    };
    if (!color.main && color[mainShade]) {
      color.main = color[mainShade];
    }
    if (!color.hasOwnProperty('main')) {
      throw new Error( true ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n` + `The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : 0);
    }
    if (typeof color.main !== 'string') {
      throw new Error( true ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n` + `\`color.main\` should be a string, but \`${JSON.stringify(color.main)}\` was provided instead.\n` + '\n' + 'Did you intend to use one of the following approaches?\n' + '\n' + 'import { green } from "@mui/material/colors";\n' + '\n' + 'const theme1 = createTheme({ palette: {\n' + '  primary: green,\n' + '} });\n' + '\n' + 'const theme2 = createTheme({ palette: {\n' + '  primary: { main: green[500] },\n' + '} });' : 0);
    }
    if (colorSpace) {
      mixLightOrDark(colorSpace, color, 'light', lightShade, tonalOffset);
      mixLightOrDark(colorSpace, color, 'dark', darkShade, tonalOffset);
    } else {
      addLightOrDark(color, 'light', lightShade, tonalOffset);
      addLightOrDark(color, 'dark', darkShade, tonalOffset);
    }
    if (!color.contrastText) {
      color.contrastText = getContrastText(color.main);
    }
    return color;
  };
  let modeHydrated;
  if (mode === 'light') {
    modeHydrated = getLight();
  } else if (mode === 'dark') {
    modeHydrated = getDark();
  }
  if (true) {
    if (!modeHydrated) {
      console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
    }
  }
  const paletteOutput = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])({
    // A collection of common colors.
    common: {
      ..._colors_common_js__WEBPACK_IMPORTED_MODULE_2__["default"]
    },
    // prevent mutable object.
    // The palette mode, can be light or dark.
    mode,
    // The colors used to represent primary interface elements for a user.
    primary: augmentColor({
      color: primary,
      name: 'primary'
    }),
    // The colors used to represent secondary interface elements for a user.
    secondary: augmentColor({
      color: secondary,
      name: 'secondary',
      mainShade: 'A400',
      lightShade: 'A200',
      darkShade: 'A700'
    }),
    // The colors used to represent interface elements that the user should be made aware of.
    error: augmentColor({
      color: error,
      name: 'error'
    }),
    // The colors used to represent potentially dangerous actions or important messages.
    warning: augmentColor({
      color: warning,
      name: 'warning'
    }),
    // The colors used to present information to the user that is neutral and not necessarily important.
    info: augmentColor({
      color: info,
      name: 'info'
    }),
    // The colors used to indicate the successful completion of an action that user triggered.
    success: augmentColor({
      color: success,
      name: 'success'
    }),
    // The grey colors.
    grey: _colors_grey_js__WEBPACK_IMPORTED_MODULE_3__["default"],
    // Used by `getContrastText()` to maximize the contrast between
    // the background and the text.
    contrastThreshold,
    // Takes a background color and returns the text color that maximizes the contrast.
    getContrastText,
    // Generate a rich color object.
    augmentColor,
    // 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,
    // The light and dark mode object.
    ...modeHydrated
  }, other);
  return paletteOutput;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTheme.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTheme.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createTheme)
/* harmony export */ });
/* harmony import */ var _createPalette_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPalette.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createPalette.js");
/* harmony import */ var _createThemeWithVars_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createThemeWithVars.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createThemeWithVars.js");
/* harmony import */ var _createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createThemeNoVars.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createThemeNoVars.js");



// eslint-disable-next-line consistent-return
function attachColorScheme(theme, scheme, colorScheme) {
  if (!theme.colorSchemes) {
    return undefined;
  }
  if (colorScheme) {
    theme.colorSchemes[scheme] = {
      ...(colorScheme !== true && colorScheme),
      palette: (0,_createPalette_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
        ...(colorScheme === true ? {} : colorScheme.palette),
        mode: scheme
      }) // cast type to skip module augmentation test
    };
  }
}

/**
 * Generate a theme base on the options received.
 * @param options Takes an incomplete theme object and adds the missing parts.
 * @param args Deep merge the arguments with the about to be returned theme.
 * @returns A complete, ready-to-use theme object.
 */
function createTheme(options = {},
// cast type to skip module augmentation test
...args) {
  const {
    palette,
    cssVariables = false,
    colorSchemes: initialColorSchemes = !palette ? {
      light: true
    } : undefined,
    defaultColorScheme: initialDefaultColorScheme = palette?.mode,
    ...other
  } = options;
  const defaultColorSchemeInput = initialDefaultColorScheme || 'light';
  const defaultScheme = initialColorSchemes?.[defaultColorSchemeInput];
  const colorSchemesInput = {
    ...initialColorSchemes,
    ...(palette ? {
      [defaultColorSchemeInput]: {
        ...(typeof defaultScheme !== 'boolean' && defaultScheme),
        palette
      }
    } : undefined)
  };
  if (cssVariables === false) {
    if (!('colorSchemes' in options)) {
      // Behaves exactly as v5
      return (0,_createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_2__["default"])(options, ...args);
    }
    let paletteOptions = palette;
    if (!('palette' in options)) {
      if (colorSchemesInput[defaultColorSchemeInput]) {
        if (colorSchemesInput[defaultColorSchemeInput] !== true) {
          paletteOptions = colorSchemesInput[defaultColorSchemeInput].palette;
        } else if (defaultColorSchemeInput === 'dark') {
          // @ts-ignore to prevent the module augmentation test from failing
          paletteOptions = {
            mode: 'dark'
          };
        }
      }
    }
    const theme = (0,_createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
      ...options,
      palette: paletteOptions
    }, ...args);
    theme.defaultColorScheme = defaultColorSchemeInput;
    theme.colorSchemes = colorSchemesInput;
    if (theme.palette.mode === 'light') {
      theme.colorSchemes.light = {
        ...(colorSchemesInput.light !== true && colorSchemesInput.light),
        palette: theme.palette
      };
      attachColorScheme(theme, 'dark', colorSchemesInput.dark);
    }
    if (theme.palette.mode === 'dark') {
      theme.colorSchemes.dark = {
        ...(colorSchemesInput.dark !== true && colorSchemesInput.dark),
        palette: theme.palette
      };
      attachColorScheme(theme, 'light', colorSchemesInput.light);
    }
    return theme;
  }
  if (!palette && !('light' in colorSchemesInput) && defaultColorSchemeInput === 'light') {
    colorSchemesInput.light = true;
  }
  return (0,_createThemeWithVars_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
    ...other,
    colorSchemes: colorSchemesInput,
    defaultColorScheme: defaultColorSchemeInput,
    ...(typeof cssVariables !== 'boolean' && cssVariables)
  }, ...args);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createThemeNoVars.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createThemeNoVars.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
/* harmony import */ var _mui_system_createTheme__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/system/createTheme */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js");
/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _createMixins_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./createMixins.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createMixins.js");
/* harmony import */ var _createPalette_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./createPalette.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createPalette.js");
/* harmony import */ var _createTypography_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./createTypography.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTypography.js");
/* harmony import */ var _shadows_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./shadows.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/shadows.js");
/* harmony import */ var _createTransitions_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./createTransitions.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTransitions.js");
/* harmony import */ var _zIndex_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./zIndex.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/zIndex.js");
/* harmony import */ var _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./stringifyTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/stringifyTheme.js");













function coefficientToPercentage(coefficient) {
  if (typeof coefficient === 'number') {
    return `${(coefficient * 100).toFixed(0)}%`;
  }
  return `calc((${coefficient}) * 100%)`;
}

// This can be removed when moved to `color-mix()` entirely.
const parseAddition = str => {
  if (!Number.isNaN(+str)) {
    return +str;
  }
  const numbers = str.match(/\d*\.?\d+/g);
  if (!numbers) {
    return 0;
  }
  let sum = 0;
  for (let i = 0; i < numbers.length; i += 1) {
    sum += +numbers[i];
  }
  return sum;
};
function attachColorManipulators(theme) {
  Object.assign(theme, {
    alpha(color, coefficient) {
      const obj = this || theme;
      if (obj.colorSpace) {
        return `oklch(from ${color} l c h / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;
      }
      if (obj.vars) {
        // To preserve the behavior of the CSS theme variables
        // In the future, this could be replaced by `color-mix` (when https://caniuse.com/?search=color-mix reaches 95%).
        return `rgba(${color.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, 'var(--$1Channel)')} / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;
      }
      return (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_4__.alpha)(color, parseAddition(coefficient));
    },
    lighten(color, coefficient) {
      const obj = this || theme;
      if (obj.colorSpace) {
        return `color-mix(in ${obj.colorSpace}, ${color}, #fff ${coefficientToPercentage(coefficient)})`;
      }
      return (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_4__.lighten)(color, coefficient);
    },
    darken(color, coefficient) {
      const obj = this || theme;
      if (obj.colorSpace) {
        return `color-mix(in ${obj.colorSpace}, ${color}, #000 ${coefficientToPercentage(coefficient)})`;
      }
      return (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_4__.darken)(color, coefficient);
    }
  });
}
function createThemeNoVars(options = {}, ...args) {
  const {
    breakpoints: breakpointsInput,
    mixins: mixinsInput = {},
    spacing: spacingInput,
    palette: paletteInput = {},
    transitions: transitionsInput = {},
    typography: typographyInput = {},
    shape: shapeInput,
    colorSpace,
    ...other
  } = options;
  if (options.vars &&
  // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
  options.generateThemeVars === undefined) {
    throw new Error( true ? 'MUI: `vars` is a private field used for CSS variables support.\n' +
    // #host-reference
    'Please use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.' : 0);
  }
  const palette = (0,_createPalette_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
    ...paletteInput,
    colorSpace
  });
  const systemTheme = (0,_mui_system_createTheme__WEBPACK_IMPORTED_MODULE_3__["default"])(options);
  let muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(systemTheme, {
    mixins: (0,_createMixins_js__WEBPACK_IMPORTED_MODULE_6__["default"])(systemTheme.breakpoints, mixinsInput),
    palette,
    // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
    shadows: _shadows_js__WEBPACK_IMPORTED_MODULE_9__["default"].slice(),
    typography: (0,_createTypography_js__WEBPACK_IMPORTED_MODULE_8__["default"])(palette, typographyInput),
    transitions: (0,_createTransitions_js__WEBPACK_IMPORTED_MODULE_10__["default"])(transitionsInput),
    zIndex: {
      ..._zIndex_js__WEBPACK_IMPORTED_MODULE_11__["default"]
    }
  });
  muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(muiTheme, other);
  muiTheme = args.reduce((acc, argument) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, argument), muiTheme);
  if (true) {
    // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.
    const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];
    const traverse = (node, component) => {
      let key;

      // eslint-disable-next-line guard-for-in
      for (key in node) {
        const child = node[key];
        if (stateClasses.includes(key) && Object.keys(child).length > 0) {
          if (true) {
            const stateClass = (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_5__["default"])('', key);
            console.error([`MUI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
              root: {
                [`&.${stateClass}`]: child
              }
            }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\n'));
          }
          // Remove the style to prevent global conflicts.
          node[key] = {};
        }
      }
    };
    Object.keys(muiTheme.components).forEach(component => {
      const styleOverrides = muiTheme.components[component].styleOverrides;
      if (styleOverrides && component.startsWith('Mui')) {
        traverse(styleOverrides, component);
      }
    });
  }
  muiTheme.unstable_sxConfig = {
    ..._mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_2__["default"],
    ...other?.unstable_sxConfig
  };
  muiTheme.unstable_sx = function sx(props) {
    return (0,_mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_1__["default"])({
      sx: props,
      theme: this
    });
  };
  muiTheme.toRuntimeSource = _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_12__.stringifyTheme; // for Pigment CSS integration

  attachColorManipulators(muiTheme);
  return muiTheme;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createThemeNoVars);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createThemeWithVars.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createThemeWithVars.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createGetCssVar: () => (/* binding */ createGetCssVar),
/* harmony export */   "default": () => (/* binding */ createThemeWithVars)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createSpacing.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/createGetCssVar.js");
/* harmony import */ var _mui_system_spacing__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/system/spacing */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js");
/* harmony import */ var _mui_system_cssVars__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/system/cssVars */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/prepareCssVars.js");
/* harmony import */ var _mui_system_cssVars__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/system/cssVars */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js");
/* harmony import */ var _mui_system_cssVars__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/system/cssVars */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js");
/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
/* harmony import */ var _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @mui/system/colorManipulator */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js");
/* harmony import */ var _createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./createThemeNoVars.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createThemeNoVars.js");
/* harmony import */ var _createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./createColorScheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createColorScheme.js");
/* harmony import */ var _shouldSkipGeneratingVar_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./shouldSkipGeneratingVar.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js");
/* harmony import */ var _createGetSelector_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./createGetSelector.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createGetSelector.js");
/* harmony import */ var _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./stringifyTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/stringifyTheme.js");
/* harmony import */ var _createPalette_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./createPalette.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createPalette.js");













function assignNode(obj, keys) {
  keys.forEach(k => {
    if (!obj[k]) {
      obj[k] = {};
    }
  });
}
function setColor(obj, key, defaultValue) {
  if (!obj[key] && defaultValue) {
    obj[key] = defaultValue;
  }
}
function toRgb(color) {
  if (typeof color !== 'string' || !color.startsWith('hsl')) {
    return color;
  }
  return (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.hslToRgb)(color);
}
function setColorChannel(obj, key) {
  if (!(`${key}Channel` in obj)) {
    // custom channel token is not provided, generate one.
    // if channel token can't be generated, show a warning.
    obj[`${key}Channel`] = (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(obj[key]), `MUI: Can't create \`palette.${key}Channel\` because \`palette.${key}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\n' + `To suppress this warning, you need to explicitly provide the \`palette.${key}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`);
  }
}
function getSpacingVal(spacingInput) {
  if (typeof spacingInput === 'number') {
    return `${spacingInput}px`;
  }
  if (typeof spacingInput === 'string' || typeof spacingInput === 'function' || Array.isArray(spacingInput)) {
    return spacingInput;
  }
  return '8px';
}
const silent = fn => {
  try {
    return fn();
  } catch (error) {
    // ignore error
  }
  return undefined;
};
const createGetCssVar = (cssVarPrefix = 'mui') => (0,_mui_system__WEBPACK_IMPORTED_MODULE_2__["default"])(cssVarPrefix);
function attachColorScheme(colorSpace, colorSchemes, scheme, restTheme, colorScheme) {
  if (!scheme) {
    return undefined;
  }
  scheme = scheme === true ? {} : scheme;
  const mode = colorScheme === 'dark' ? 'dark' : 'light';
  if (!restTheme) {
    colorSchemes[colorScheme] = (0,_createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__["default"])({
      ...scheme,
      palette: {
        mode,
        ...scheme?.palette
      },
      colorSpace
    });
    return undefined;
  }
  const {
    palette,
    ...muiTheme
  } = (0,_createThemeNoVars_js__WEBPACK_IMPORTED_MODULE_10__["default"])({
    ...restTheme,
    palette: {
      mode,
      ...scheme?.palette
    },
    colorSpace
  });
  colorSchemes[colorScheme] = {
    ...scheme,
    palette,
    opacity: {
      ...(0,_createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__.getOpacity)(mode),
      ...scheme?.opacity
    },
    overlays: scheme?.overlays || (0,_createColorScheme_js__WEBPACK_IMPORTED_MODULE_11__.getOverlays)(mode)
  };
  return muiTheme;
}

/**
 * A default `createThemeWithVars` comes with a single color scheme, either `light` or `dark` based on the `defaultColorScheme`.
 * This is better suited for apps that only need a single color scheme.
 *
 * To enable built-in `light` and `dark` color schemes, either:
 * 1. provide a `colorSchemeSelector` to define how the color schemes will change.
 * 2. provide `colorSchemes.dark` will set `colorSchemeSelector: 'media'` by default.
 */
function createThemeWithVars(options = {}, ...args) {
  const {
    colorSchemes: colorSchemesInput = {
      light: true
    },
    defaultColorScheme: defaultColorSchemeInput,
    disableCssColorScheme = false,
    cssVarPrefix = 'mui',
    nativeColor = false,
    shouldSkipGeneratingVar = _shouldSkipGeneratingVar_js__WEBPACK_IMPORTED_MODULE_12__["default"],
    colorSchemeSelector: selector = colorSchemesInput.light && colorSchemesInput.dark ? 'media' : undefined,
    rootSelector = ':root',
    ...input
  } = options;
  const firstColorScheme = Object.keys(colorSchemesInput)[0];
  const defaultColorScheme = defaultColorSchemeInput || (colorSchemesInput.light && firstColorScheme !== 'light' ? 'light' : firstColorScheme);
  const getCssVar = createGetCssVar(cssVarPrefix);
  const {
    [defaultColorScheme]: defaultSchemeInput,
    light: builtInLight,
    dark: builtInDark,
    ...customColorSchemes
  } = colorSchemesInput;
  const colorSchemes = {
    ...customColorSchemes
  };
  let defaultScheme = defaultSchemeInput;

  // For built-in light and dark color schemes, ensure that the value is valid if they are the default color scheme.
  if (defaultColorScheme === 'dark' && !('dark' in colorSchemesInput) || defaultColorScheme === 'light' && !('light' in colorSchemesInput)) {
    defaultScheme = true;
  }
  if (!defaultScheme) {
    throw new Error( true ? `MUI: The \`colorSchemes.${defaultColorScheme}\` option is either missing or invalid.` : 0);
  }

  // The reason to use `oklch` is that it is the most perceptually uniform color space and widely supported.
  let colorSpace;
  if (nativeColor) {
    colorSpace = 'oklch';
  }

  // Create the palette for the default color scheme, either `light`, `dark`, or custom color scheme.
  const muiTheme = attachColorScheme(colorSpace, colorSchemes, defaultScheme, input, defaultColorScheme);
  if (builtInLight && !colorSchemes.light) {
    attachColorScheme(colorSpace, colorSchemes, builtInLight, undefined, 'light');
  }
  if (builtInDark && !colorSchemes.dark) {
    attachColorScheme(colorSpace, colorSchemes, builtInDark, undefined, 'dark');
  }
  let theme = {
    defaultColorScheme,
    ...muiTheme,
    cssVarPrefix,
    colorSchemeSelector: selector,
    rootSelector,
    getCssVar,
    colorSchemes,
    font: {
      ...(0,_mui_system_cssVars__WEBPACK_IMPORTED_MODULE_5__["default"])(muiTheme.typography),
      ...muiTheme.font
    },
    spacing: getSpacingVal(input.spacing)
  };
  Object.keys(theme.colorSchemes).forEach(key => {
    const palette = theme.colorSchemes[key].palette;
    const setCssVarColor = cssVar => {
      const tokens = cssVar.split('-');
      const color = tokens[1];
      const colorToken = tokens[2];
      return getCssVar(cssVar, palette[color][colorToken]);
    };

    // attach black & white channels to common node
    if (palette.mode === 'light') {
      setColor(palette.common, 'background', '#fff');
      setColor(palette.common, 'onBackground', '#000');
    }
    if (palette.mode === 'dark') {
      setColor(palette.common, 'background', '#000');
      setColor(palette.common, 'onBackground', '#fff');
    }
    function colorMix(method, color, coefficient) {
      if (colorSpace) {
        let mixer;
        if (method === _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha) {
          mixer = `transparent ${((1 - coefficient) * 100).toFixed(0)}%`;
        }
        if (method === _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken) {
          mixer = `#000 ${(coefficient * 100).toFixed(0)}%`;
        }
        if (method === _mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten) {
          mixer = `#fff ${(coefficient * 100).toFixed(0)}%`;
        }
        return `color-mix(in ${colorSpace}, ${color}, ${mixer})`;
      }
      return method(color, coefficient);
    }

    // assign component variables
    assignNode(palette, ['Alert', 'AppBar', 'Avatar', 'Button', 'Chip', 'FilledInput', 'LinearProgress', 'Skeleton', 'Slider', 'SnackbarContent', 'SpeedDialAction', 'StepConnector', 'StepContent', 'Switch', 'TableCell', 'Tooltip']);
    if (palette.mode === 'light') {
      setColor(palette.Alert, 'errorColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-error-light') : palette.error.light, 0.6));
      setColor(palette.Alert, 'infoColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-info-light') : palette.info.light, 0.6));
      setColor(palette.Alert, 'successColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-success-light') : palette.success.light, 0.6));
      setColor(palette.Alert, 'warningColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-warning-light') : palette.warning.light, 0.6));
      setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-main'));
      setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-main'));
      setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-main'));
      setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-main'));
      setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.main)));
      setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.main)));
      setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.main)));
      setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.main)));
      setColor(palette.Alert, 'errorStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-error-light') : palette.error.light, 0.9));
      setColor(palette.Alert, 'infoStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-info-light') : palette.info.light, 0.9));
      setColor(palette.Alert, 'successStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-success-light') : palette.success.light, 0.9));
      setColor(palette.Alert, 'warningStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-warning-light') : palette.warning.light, 0.9));
      setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));
      setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));
      setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));
      setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));
      setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-100'));
      setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-400'));
      setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-300'));
      setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-A100'));
      setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-400'));
      setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-700'));
      setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-700'));
      setColor(palette.FilledInput, 'bg', 'rgba(0, 0, 0, 0.06)');
      setColor(palette.FilledInput, 'hoverBg', 'rgba(0, 0, 0, 0.09)');
      setColor(palette.FilledInput, 'disabledBg', 'rgba(0, 0, 0, 0.12)');
      setColor(palette.LinearProgress, 'primaryBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-primary-main') : palette.primary.main, 0.62));
      setColor(palette.LinearProgress, 'secondaryBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-secondary-main') : palette.secondary.main, 0.62));
      setColor(palette.LinearProgress, 'errorBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-error-main') : palette.error.main, 0.62));
      setColor(palette.LinearProgress, 'infoBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-info-main') : palette.info.main, 0.62));
      setColor(palette.LinearProgress, 'successBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-success-main') : palette.success.main, 0.62));
      setColor(palette.LinearProgress, 'warningBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-warning-light') : palette.warning.main, 0.62));
      setColor(palette.Skeleton, 'bg', colorSpace ? colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha, nativeColor ? getCssVar('palette-text-primary') : palette.text.primary, 0.11) : `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.11)`);
      setColor(palette.Slider, 'primaryTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-primary-main') : palette.primary.main, 0.62));
      setColor(palette.Slider, 'secondaryTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-secondary-main') : palette.secondary.main, 0.62));
      setColor(palette.Slider, 'errorTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-error-main') : palette.error.main, 0.62));
      setColor(palette.Slider, 'infoTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-info-main') : palette.info.main, 0.62));
      setColor(palette.Slider, 'successTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-success-main') : palette.success.main, 0.62));
      setColor(palette.Slider, 'warningTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-warning-main') : palette.warning.main, 0.62));
      const snackbarContentBackground = colorSpace ? colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-background-default') : palette.background.default, 0.6825) // use `0.6825` instead of `0.8` to match the contrast ratio of JS implementation
      : (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.default, 0.8);
      setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);
      setColor(palette.SnackbarContent, 'color', silent(() => colorSpace ? _createPalette_js__WEBPACK_IMPORTED_MODULE_15__.dark.text.primary : palette.getContrastText(snackbarContentBackground)));
      setColor(palette.SpeedDialAction, 'fabHoverBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.paper, 0.15));
      setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-400'));
      setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-400'));
      setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-common-white'));
      setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-100'));
      setColor(palette.Switch, 'primaryDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-primary-main') : palette.primary.main, 0.62));
      setColor(palette.Switch, 'secondaryDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-secondary-main') : palette.secondary.main, 0.62));
      setColor(palette.Switch, 'errorDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-error-main') : palette.error.main, 0.62));
      setColor(palette.Switch, 'infoDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-info-main') : palette.info.main, 0.62));
      setColor(palette.Switch, 'successDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-success-main') : palette.success.main, 0.62));
      setColor(palette.Switch, 'warningDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-warning-main') : palette.warning.main, 0.62));
      setColor(palette.TableCell, 'border', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha)(nativeColor ? getCssVar('palette-divider') : palette.divider, 1), 0.88));
      setColor(palette.Tooltip, 'bg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha, nativeColor ? getCssVar('palette-grey-700') : palette.grey[700], 0.92));
    }
    if (palette.mode === 'dark') {
      setColor(palette.Alert, 'errorColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-error-light') : palette.error.light, 0.6));
      setColor(palette.Alert, 'infoColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-info-light') : palette.info.light, 0.6));
      setColor(palette.Alert, 'successColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-success-light') : palette.success.light, 0.6));
      setColor(palette.Alert, 'warningColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-warning-light') : palette.warning.light, 0.6));
      setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-dark'));
      setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-dark'));
      setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-dark'));
      setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-dark'));
      setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.dark)));
      setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.dark)));
      setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.dark)));
      setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.dark)));
      setColor(palette.Alert, 'errorStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-error-light') : palette.error.light, 0.9));
      setColor(palette.Alert, 'infoStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-info-light') : palette.info.light, 0.9));
      setColor(palette.Alert, 'successStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-success-light') : palette.success.light, 0.9));
      setColor(palette.Alert, 'warningStandardBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-warning-light') : palette.warning.light, 0.9));
      setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));
      setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));
      setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));
      setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));
      setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-900'));
      setColor(palette.AppBar, 'darkBg', setCssVarColor('palette-background-paper')); // specific for dark mode
      setColor(palette.AppBar, 'darkColor', setCssVarColor('palette-text-primary')); // specific for dark mode
      setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-600'));
      setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-800'));
      setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-700'));
      setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-700'));
      setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-300'));
      setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-300'));
      setColor(palette.FilledInput, 'bg', 'rgba(255, 255, 255, 0.09)');
      setColor(palette.FilledInput, 'hoverBg', 'rgba(255, 255, 255, 0.13)');
      setColor(palette.FilledInput, 'disabledBg', 'rgba(255, 255, 255, 0.12)');
      setColor(palette.LinearProgress, 'primaryBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-primary-main') : palette.primary.main, 0.5));
      setColor(palette.LinearProgress, 'secondaryBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-secondary-main') : palette.secondary.main, 0.5));
      setColor(palette.LinearProgress, 'errorBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-error-main') : palette.error.main, 0.5));
      setColor(palette.LinearProgress, 'infoBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-info-main') : palette.info.main, 0.5));
      setColor(palette.LinearProgress, 'successBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-success-main') : palette.success.main, 0.5));
      setColor(palette.LinearProgress, 'warningBg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-warning-main') : palette.warning.main, 0.5));
      setColor(palette.Skeleton, 'bg', colorSpace ? colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha, nativeColor ? getCssVar('palette-text-primary') : palette.text.primary, 0.13) : `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.13)`);
      setColor(palette.Slider, 'primaryTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-primary-main') : palette.primary.main, 0.5));
      setColor(palette.Slider, 'secondaryTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-secondary-main') : palette.secondary.main, 0.5));
      setColor(palette.Slider, 'errorTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-error-main') : palette.error.main, 0.5));
      setColor(palette.Slider, 'infoTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-info-main') : palette.info.main, 0.5));
      setColor(palette.Slider, 'successTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-success-main') : palette.success.main, 0.5));
      setColor(palette.Slider, 'warningTrack', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-warning-light') : palette.warning.main, 0.5));
      const snackbarContentBackground = colorSpace ? colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeLighten, nativeColor ? getCssVar('palette-background-default') : palette.background.default, 0.985) // use `0.985` instead of `0.98` to match the contrast ratio of JS implementation
      : (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.default, 0.98);
      setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);
      setColor(palette.SnackbarContent, 'color', silent(() => colorSpace ? _createPalette_js__WEBPACK_IMPORTED_MODULE_15__.light.text.primary : palette.getContrastText(snackbarContentBackground)));
      setColor(palette.SpeedDialAction, 'fabHoverBg', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeEmphasize)(palette.background.paper, 0.15));
      setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-600'));
      setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-600'));
      setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-grey-300'));
      setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-600'));
      setColor(palette.Switch, 'primaryDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-primary-main') : palette.primary.main, 0.55));
      setColor(palette.Switch, 'secondaryDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-secondary-main') : palette.secondary.main, 0.55));
      setColor(palette.Switch, 'errorDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-error-main') : palette.error.main, 0.55));
      setColor(palette.Switch, 'infoDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-info-main') : palette.info.main, 0.55));
      setColor(palette.Switch, 'successDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-success-main') : palette.success.main, 0.55));
      setColor(palette.Switch, 'warningDisabledColor', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, nativeColor ? getCssVar('palette-warning-light') : palette.warning.main, 0.55));
      setColor(palette.TableCell, 'border', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeDarken, (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha)(nativeColor ? getCssVar('palette-divider') : palette.divider, 1), 0.68));
      setColor(palette.Tooltip, 'bg', colorMix(_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeAlpha, nativeColor ? getCssVar('palette-grey-700') : palette.grey[700], 0.92));
    }
    if (!nativeColor) {
      setColorChannel(palette.background, 'default');

      // added for consistency with the `background.default` token
      setColorChannel(palette.background, 'paper');
      setColorChannel(palette.common, 'background');
      setColorChannel(palette.common, 'onBackground');
      setColorChannel(palette, 'divider');
    }
    Object.keys(palette).forEach(color => {
      const colors = palette[color];

      // The default palettes (primary, secondary, error, info, success, and warning) errors are handled by the above `createTheme(...)`.

      if (color !== 'tonalOffset' && !nativeColor && colors && typeof colors === 'object') {
        // Silent the error for custom palettes.
        if (colors.main) {
          setColor(palette[color], 'mainChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.main)));
        }
        if (colors.light) {
          setColor(palette[color], 'lightChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.light)));
        }
        if (colors.dark) {
          setColor(palette[color], 'darkChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.dark)));
        }
        if (colors.contrastText) {
          setColor(palette[color], 'contrastTextChannel', (0,_mui_system_colorManipulator__WEBPACK_IMPORTED_MODULE_9__.private_safeColorChannel)(toRgb(colors.contrastText)));
        }
        if (color === 'text') {
          // Text colors: text.primary, text.secondary
          setColorChannel(palette[color], 'primary');
          setColorChannel(palette[color], 'secondary');
        }
        if (color === 'action') {
          // Action colors: action.active, action.selected
          if (colors.active) {
            setColorChannel(palette[color], 'active');
          }
          if (colors.selected) {
            setColorChannel(palette[color], 'selected');
          }
        }
      }
    });
  });
  theme = args.reduce((acc, argument) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, argument), theme);
  const parserConfig = {
    prefix: cssVarPrefix,
    disableCssColorScheme,
    shouldSkipGeneratingVar,
    getSelector: (0,_createGetSelector_js__WEBPACK_IMPORTED_MODULE_13__["default"])(theme),
    enableContrastVars: nativeColor
  };
  const {
    vars,
    generateThemeVars,
    generateStyleSheets
  } = (0,_mui_system_cssVars__WEBPACK_IMPORTED_MODULE_4__["default"])(theme, parserConfig);
  theme.vars = vars;
  Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {
    theme[key] = value;
  });
  theme.generateThemeVars = generateThemeVars;
  theme.generateStyleSheets = generateStyleSheets;
  theme.generateSpacing = function generateSpacing() {
    return (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"])(input.spacing, (0,_mui_system_spacing__WEBPACK_IMPORTED_MODULE_3__.createUnarySpacing)(this));
  };
  theme.getColorSchemeSelector = (0,_mui_system_cssVars__WEBPACK_IMPORTED_MODULE_6__.createGetColorSchemeSelector)(selector);
  theme.spacing = theme.generateSpacing();
  theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;
  theme.unstable_sxConfig = {
    ..._mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_8__["default"],
    ...input?.unstable_sxConfig
  };
  theme.unstable_sx = function sx(props) {
    return (0,_mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_7__["default"])({
      sx: props,
      theme: this
    });
  };
  theme.toRuntimeSource = _stringifyTheme_js__WEBPACK_IMPORTED_MODULE_14__.stringifyTheme; // for Pigment CSS integration

  return theme;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTransitions.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTransitions.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createTransitions),
/* harmony export */   duration: () => (/* binding */ duration),
/* harmony export */   easing: () => (/* binding */ easing)
/* harmony export */ });
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
// to learn the context in which each easing should be used.
const easing = {
  // 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)'
};

// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations
// to learn when use what timing
const duration = {
  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 formatMs(milliseconds) {
  return `${Math.round(milliseconds)}ms`;
}
function getAutoHeightDuration(height) {
  if (!height) {
    return 0;
  }
  const constant = height / 36;

  // https://www.desmos.com/calculator/vbrp3ggqet
  return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);
}
function createTransitions(inputTransitions) {
  const mergedEasing = {
    ...easing,
    ...inputTransitions.easing
  };
  const mergedDuration = {
    ...duration,
    ...inputTransitions.duration
  };
  const create = (props = ['all'], options = {}) => {
    const {
      duration: durationOption = mergedDuration.standard,
      easing: easingOption = mergedEasing.easeInOut,
      delay = 0,
      ...other
    } = options;
    if (true) {
      const isString = value => typeof value === 'string';
      const isNumber = value => !Number.isNaN(parseFloat(value));
      if (!isString(props) && !Array.isArray(props)) {
        console.error('MUI: Argument "props" must be a string or Array.');
      }
      if (!isNumber(durationOption) && !isString(durationOption)) {
        console.error(`MUI: Argument "duration" must be a number or a string but found ${durationOption}.`);
      }
      if (!isString(easingOption)) {
        console.error('MUI: Argument "easing" must be a string.');
      }
      if (!isNumber(delay) && !isString(delay)) {
        console.error('MUI: Argument "delay" must be a number or a string.');
      }
      if (typeof options !== 'object') {
        console.error(['MUI: Secong argument of transition.create must be an object.', "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join('\n'));
      }
      if (Object.keys(other).length !== 0) {
        console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);
      }
    }
    return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
  };
  return {
    getAutoHeightDuration,
    create,
    ...inputTransitions,
    easing: mergedEasing,
    duration: mergedDuration
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTypography.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTypography.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createTypography)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");

function round(value) {
  return Math.round(value * 1e5) / 1e5;
}
const caseAllCaps = {
  textTransform: 'uppercase'
};
const defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';

/**
 * @see @link{https://m2.material.io/design/typography/the-type-system.html}
 * @see @link{https://m2.material.io/design/typography/understanding-typography.html}
 */
function createTypography(palette, typography) {
  const {
    fontFamily = defaultFontFamily,
    // The default font size of the Material Specification.
    fontSize = 14,
    // px
    fontWeightLight = 300,
    fontWeightRegular = 400,
    fontWeightMedium = 500,
    fontWeightBold = 700,
    // Tell MUI what's the font-size on the html element.
    // 16px is the default font-size used by browsers.
    htmlFontSize = 16,
    // Apply the CSS properties to all the variants.
    allVariants,
    pxToRem: pxToRem2,
    ...other
  } = typeof typography === 'function' ? typography(palette) : typography;
  if (true) {
    if (typeof fontSize !== 'number') {
      console.error('MUI: `fontSize` is required to be a number.');
    }
    if (typeof htmlFontSize !== 'number') {
      console.error('MUI: `htmlFontSize` is required to be a number.');
    }
  }
  const coef = fontSize / 14;
  const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
  const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({
    fontFamily,
    fontWeight,
    fontSize: pxToRem(size),
    // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
    lineHeight,
    // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
    // across font-families can cause issues with the kerning.
    ...(fontFamily === defaultFontFamily ? {
      letterSpacing: `${round(letterSpacing / size)}em`
    } : {}),
    ...casing,
    ...allVariants
  });
  const variants = {
    h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),
    h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),
    h3: buildVariant(fontWeightRegular, 48, 1.167, 0),
    h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),
    h5: buildVariant(fontWeightRegular, 24, 1.334, 0),
    h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),
    subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),
    subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),
    body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),
    body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),
    button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),
    caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
    overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),
    // 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 (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])({
    htmlFontSize,
    pxToRem,
    fontFamily,
    fontSize,
    fontWeightLight,
    fontWeightRegular,
    fontWeightMedium,
    fontWeightBold,
    ...variants
  }, other, {
    clone: false // No need to clone deep
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/cssUtils.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/cssUtils.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   alignProperty: () => (/* binding */ alignProperty),
/* harmony export */   convertLength: () => (/* binding */ convertLength),
/* harmony export */   fontGrid: () => (/* binding */ fontGrid),
/* harmony export */   getUnit: () => (/* binding */ getUnit),
/* harmony export */   isUnitless: () => (/* binding */ isUnitless),
/* harmony export */   responsiveProperty: () => (/* binding */ responsiveProperty),
/* harmony export */   toUnitless: () => (/* binding */ toUnitless)
/* harmony export */ });
function isUnitless(value) {
  return String(parseFloat(value)).length === String(value).length;
}

// Ported from Compass
// https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss
// Emulate the sass function "unit"
function getUnit(input) {
  return String(input).match(/[\d.\-+]*\s*(.*)/)[1] || '';
}

// Emulate the sass function "unitless"
function toUnitless(length) {
  return parseFloat(length);
}

// Convert any CSS <length> or <percentage> value to any another.
// From https://github.com/KyleAMathews/convert-css-length
function convertLength(baseFontSize) {
  return (length, toUnit) => {
    const fromUnit = getUnit(length);

    // Optimize for cases where `from` and `to` units are accidentally the same.
    if (fromUnit === toUnit) {
      return length;
    }

    // Convert input length to pixels.
    let pxLength = toUnitless(length);
    if (fromUnit !== 'px') {
      if (fromUnit === 'em') {
        pxLength = toUnitless(length) * toUnitless(baseFontSize);
      } else if (fromUnit === 'rem') {
        pxLength = toUnitless(length) * toUnitless(baseFontSize);
      }
    }

    // Convert length in pixels to the output unit
    let outputLength = pxLength;
    if (toUnit !== 'px') {
      if (toUnit === 'em') {
        outputLength = pxLength / toUnitless(baseFontSize);
      } else if (toUnit === 'rem') {
        outputLength = pxLength / toUnitless(baseFontSize);
      } else {
        return length;
      }
    }
    return parseFloat(outputLength.toFixed(5)) + toUnit;
  };
}
function alignProperty({
  size,
  grid
}) {
  const sizeBelow = size - size % grid;
  const sizeAbove = sizeBelow + grid;
  return size - sizeBelow < sizeAbove - size ? sizeBelow : sizeAbove;
}

// fontGrid finds a minimal grid (in rem) for the fontSize values so that the
// lineHeight falls under a x pixels grid, 4px in the case of Material Design,
// without changing the relative line height
function fontGrid({
  lineHeight,
  pixels,
  htmlFontSize
}) {
  return pixels / (lineHeight * htmlFontSize);
}

/**
 * generate a responsive version of a given CSS property
 * @example
 * responsiveProperty({
 *   cssProperty: 'fontSize',
 *   min: 15,
 *   max: 20,
 *   unit: 'px',
 *   breakpoints: [300, 600],
 * })
 *
 * // this returns
 *
 * {
 *   fontSize: '15px',
 *   '@media (min-width:300px)': {
 *     fontSize: '17.5px',
 *   },
 *   '@media (min-width:600px)': {
 *     fontSize: '20px',
 *   },
 * }
 * @param {Object} params
 * @param {string} params.cssProperty - The CSS property to be made responsive
 * @param {number} params.min - The smallest value of the CSS property
 * @param {number} params.max - The largest value of the CSS property
 * @param {string} [params.unit] - The unit to be used for the CSS property
 * @param {Array.number} [params.breakpoints]  - An array of breakpoints
 * @param {number} [params.alignStep] - Round scaled value to fall under this grid
 * @returns {Object} responsive styles for {params.cssProperty}
 */
function responsiveProperty({
  cssProperty,
  min,
  max,
  unit = 'rem',
  breakpoints = [600, 900, 1200],
  transform = null
}) {
  const output = {
    [cssProperty]: `${min}${unit}`
  };
  const factor = (max - min) / breakpoints[breakpoints.length - 1];
  breakpoints.forEach(breakpoint => {
    let value = min + factor * breakpoint;
    if (transform !== null) {
      value = transform(value);
    }
    output[`@media (min-width:${breakpoint}px)`] = {
      [cssProperty]: `${Math.round(value * 10000) / 10000}${unit}`
    };
  });
  return output;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/defaultTheme.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/defaultTheme.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _createTheme_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/createTheme.js");
'use client';


const defaultTheme = (0,_createTheme_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultTheme);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * @internal These variables should not appear in the :root stylesheet when the `defaultColorScheme="dark"`
 */
const excludeVariablesFromRoot = cssVarPrefix => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (excludeVariablesFromRoot);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/getOverlayAlpha.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/getOverlayAlpha.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getOverlayAlpha)
/* harmony export */ });
// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61
function getOverlayAlpha(elevation) {
  let alphaValue;
  if (elevation < 1) {
    alphaValue = 5.11916 * elevation ** 2;
  } else {
    alphaValue = 4.5 * Math.log(elevation + 1) + 2;
  }
  return Math.round(alphaValue * 10) / 1000;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ('$$material');

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _slotShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./slotShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js");

const rootShouldForwardProp = prop => (0,_slotShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_0__["default"])(prop) && prop !== 'classes';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rootShouldForwardProp);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/shadows.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/shadows.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const shadowKeyUmbraOpacity = 0.2;
const shadowKeyPenumbraOpacity = 0.14;
const shadowAmbientShadowOpacity = 0.12;
function createShadow(...px) {
  return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');
}

// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shadows);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ shouldSkipGeneratingVar)
/* harmony export */ });
function shouldSkipGeneratingVar(keys) {
  return !!keys[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!keys[0].match(/sxConfig$/) ||
  // ends with sxConfig
  keys[0] === 'palette' && !!keys[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
// copied from @mui/system/createStyled
function slotShouldForwardProp(prop) {
  return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (slotShouldForwardProp);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/stringifyTheme.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/stringifyTheme.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   stringifyTheme: () => (/* binding */ stringifyTheme)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* eslint-disable import/prefer-default-export */

function isSerializable(val) {
  return (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(val) || typeof val === 'undefined' || typeof val === 'string' || typeof val === 'boolean' || typeof val === 'number' || Array.isArray(val);
}

/**
 * `baseTheme` usually comes from `createTheme()` or `extendTheme()`.
 *
 * This function is intended to be used with zero-runtime CSS-in-JS like Pigment CSS
 * For example, in a Next.js project:
 *
 * ```js
 * // next.config.js
 * const { extendTheme } = require('@mui/material/styles');
 *
 * const theme = extendTheme();
 * // `.toRuntimeSource` is Pigment CSS specific to create a theme that is available at runtime.
 * theme.toRuntimeSource = stringifyTheme;
 *
 * module.exports = withPigment({
 *  theme,
 * });
 * ```
 */
function stringifyTheme(baseTheme = {}) {
  const serializableTheme = {
    ...baseTheme
  };
  function serializeTheme(object) {
    const array = Object.entries(object);
    // eslint-disable-next-line no-plusplus
    for (let index = 0; index < array.length; index++) {
      const [key, value] = array[index];
      if (!isSerializable(value) || key.startsWith('unstable_')) {
        delete object[key];
      } else if ((0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(value)) {
        object[key] = {
          ...value
        };
        serializeTheme(object[key]);
      }
    }
  }
  serializeTheme(serializableTheme);
  return `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';

const theme = ${JSON.stringify(serializableTheme, null, 2)};

theme.breakpoints = createBreakpoints(theme.breakpoints || {});
theme.transitions = createTransitions(theme.transitions || {});

export default theme;`;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   rootShouldForwardProp: () => (/* reexport safe */ _rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
/* harmony export */   slotShouldForwardProp: () => (/* reexport safe */ _slotShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_4__["default"])
/* harmony export */ });
/* harmony import */ var _mui_system_createStyled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system/createStyled */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createStyled/createStyled.js");
/* harmony import */ var _defaultTheme_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/defaultTheme.js");
/* harmony import */ var _identifier_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
/* harmony import */ var _rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rootShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/rootShouldForwardProp.js");
/* harmony import */ var _slotShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./slotShouldForwardProp.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/slotShouldForwardProp.js");
'use client';







const styled = (0,_mui_system_createStyled__WEBPACK_IMPORTED_MODULE_0__["default"])({
  themeId: _identifier_js__WEBPACK_IMPORTED_MODULE_2__["default"],
  defaultTheme: _defaultTheme_js__WEBPACK_IMPORTED_MODULE_1__["default"],
  rootShouldForwardProp: _rootShouldForwardProp_js__WEBPACK_IMPORTED_MODULE_3__["default"]
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styled);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useTheme)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js");
/* harmony import */ var _defaultTheme_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/defaultTheme.js");
/* harmony import */ var _identifier_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
'use client';





function useTheme() {
  const theme = (0,_mui_system__WEBPACK_IMPORTED_MODULE_1__["default"])(_defaultTheme_js__WEBPACK_IMPORTED_MODULE_2__["default"]);
  if (true) {
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useDebugValue(theme);
  }
  return theme[_identifier_js__WEBPACK_IMPORTED_MODULE_3__["default"]] || theme;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useThemeProps.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useThemeProps)
/* harmony export */ });
/* harmony import */ var _mui_system_useThemeProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system/useThemeProps */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js");
/* harmony import */ var _defaultTheme_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/defaultTheme.js");
/* harmony import */ var _identifier_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");
'use client';




function useThemeProps({
  props,
  name
}) {
  return (0,_mui_system_useThemeProps__WEBPACK_IMPORTED_MODULE_0__["default"])({
    props,
    name,
    defaultTheme: _defaultTheme_js__WEBPACK_IMPORTED_MODULE_1__["default"],
    themeId: _identifier_js__WEBPACK_IMPORTED_MODULE_2__["default"]
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/zIndex.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/zIndex.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
// We need to centralize the zIndex definitions as they work
// like global values in the browser.
const zIndex = {
  mobileStepper: 1000,
  fab: 1050,
  speedDial: 1050,
  appBar: 1100,
  drawer: 1200,
  modal: 1300,
  snackbar: 1400,
  tooltip: 1500
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (zIndex);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/transitions/utils.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/transitions/utils.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   getTransitionChildStyle: () => (/* binding */ getTransitionChildStyle),
/* harmony export */   getTransitionProps: () => (/* binding */ getTransitionProps),
/* harmony export */   normalizedTransitionCallback: () => (/* binding */ normalizedTransitionCallback),
/* harmony export */   reflow: () => (/* binding */ reflow)
/* harmony export */ });
const reflow = node => node.scrollTop;
function normalizedTransitionCallback(nodeRef, callback) {
  return maybeIsAppearing => {
    if (callback) {
      const node = nodeRef.current;
      // onEnterXxx and onExitXxx callbacks have a different arguments.length value.
      if (maybeIsAppearing === undefined) {
        callback(node);
      } else {
        callback(node, maybeIsAppearing);
      }
    }
  };
}
/**
 * Computes the child style for a transition component, reusing existing
 * references when possible to preserve referential equality for React.memo.
 */
function getTransitionChildStyle(state, inProp, baseStyles, hiddenStyles, styleProp, childStyle) {
  const base = state === 'exited' && !inProp ? hiddenStyles : baseStyles[state] || baseStyles.exited;
  return styleProp || childStyle ? {
    ...base,
    ...styleProp,
    ...childStyle
  } : base;
}
function getTransitionProps(props, options) {
  const {
    timeout,
    easing,
    style = {}
  } = props;
  return {
    duration: style.transitionDuration ?? (typeof timeout === 'number' ? timeout : timeout[options.mode] || 0),
    easing: style.transitionTimingFunction ?? (typeof easing === 'object' ? easing[options.mode] : easing),
    delay: style.transitionDelay
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useAutocomplete/useAutocomplete.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useAutocomplete/useAutocomplete.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createFilterOptions: () => (/* binding */ createFilterOptions),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_utils_contains__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/contains */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/contains/contains.js");
/* harmony import */ var _mui_utils_setRef__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/setRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/setRef/setRef.js");
/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/useEventCallback */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
/* harmony import */ var _mui_utils_useControlled__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useControlled */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js");
/* harmony import */ var _mui_utils_useId__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/useId */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js");
/* harmony import */ var _mui_utils_usePreviousProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mui/utils/usePreviousProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js");
'use client';








function areArraysSame({
  array1,
  array2,
  parser = value => value
}) {
  return array1 && array2 && array1.length === array2.length && array1.every((prevOption, index) => parser(prevOption) === parser(array2[index]));
}

// https://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript
function stripDiacritics(string) {
  return string.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
}
function createFilterOptions(config = {}) {
  const {
    ignoreAccents = true,
    ignoreCase = true,
    limit,
    matchFrom = 'any',
    stringify,
    trim = false
  } = config;
  return (options, {
    inputValue,
    getOptionLabel
  }) => {
    let input = trim ? inputValue.trim() : inputValue;
    if (ignoreCase) {
      input = input.toLowerCase();
    }
    if (ignoreAccents) {
      input = stripDiacritics(input);
    }
    const filteredOptions = !input ? options : options.filter(option => {
      let candidate = (stringify || getOptionLabel)(option);
      if (ignoreCase) {
        candidate = candidate.toLowerCase();
      }
      if (ignoreAccents) {
        candidate = stripDiacritics(candidate);
      }
      return matchFrom === 'start' ? candidate.startsWith(input) : candidate.includes(input);
    });
    return typeof limit === 'number' ? filteredOptions.slice(0, limit) : filteredOptions;
  };
}
const defaultFilterOptions = createFilterOptions();

// Number of options to jump in list box when `Page Up` and `Page Down` keys are used.
const pageSize = 5;
const defaultIsActiveElementInListbox = listboxRef => listboxRef.current !== null && (0,_mui_utils_contains__WEBPACK_IMPORTED_MODULE_1__["default"])(listboxRef.current.parentElement, document.activeElement);
const defaultIsOptionEqualToValue = (option, value) => option === value;
const MULTIPLE_DEFAULT_VALUE = [];
function getInputValue(value, multiple, getOptionLabel, renderValue) {
  if (multiple || value == null || renderValue) {
    return '';
  }
  const optionLabel = getOptionLabel(value);
  return typeof optionLabel === 'string' ? optionLabel : '';
}
function useAutocomplete(props) {
  const {
    // eslint-disable-next-line @typescript-eslint/naming-convention
    unstable_isActiveElementInListbox = defaultIsActiveElementInListbox,
    // eslint-disable-next-line @typescript-eslint/naming-convention
    unstable_classNamePrefix = 'Mui',
    autoComplete = false,
    autoHighlight = false,
    autoSelect = false,
    blurOnSelect = false,
    clearOnBlur = !props.freeSolo,
    clearOnEscape = false,
    componentName = 'useAutocomplete',
    defaultValue = props.multiple ? MULTIPLE_DEFAULT_VALUE : null,
    disableClearable = false,
    disableCloseOnSelect = false,
    disabled: disabledProp,
    disabledItemsFocusable = false,
    disableListWrap = false,
    filterOptions = defaultFilterOptions,
    filterSelectedOptions = false,
    freeSolo = false,
    getOptionDisabled,
    getOptionKey,
    getOptionLabel: getOptionLabelProp = option => option.label ?? option,
    groupBy,
    handleHomeEndKeys = !props.freeSolo,
    id: idProp,
    includeInputInList = false,
    inputValue: inputValueProp,
    isOptionEqualToValue = defaultIsOptionEqualToValue,
    multiple = false,
    onChange,
    onClose,
    onHighlightChange,
    onInputChange,
    onOpen,
    open: openProp,
    openOnFocus = false,
    options,
    readOnly = false,
    renderValue,
    selectOnFocus = !props.freeSolo,
    value: valueProp
  } = props;
  const id = (0,_mui_utils_useId__WEBPACK_IMPORTED_MODULE_5__["default"])(idProp);
  let getOptionLabel = getOptionLabelProp;
  getOptionLabel = option => {
    const optionLabel = getOptionLabelProp(option);
    if (typeof optionLabel !== 'string') {
      if (true) {
        const erroneousReturn = optionLabel === undefined ? 'undefined' : `${typeof optionLabel} (${optionLabel})`;
        console.error(`MUI: The \`getOptionLabel\` method of ${componentName} returned ${erroneousReturn} instead of a string for ${JSON.stringify(option)}.`);
      }
      return String(optionLabel);
    }
    return optionLabel;
  };
  const ignoreFocus = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const firstFocus = react__WEBPACK_IMPORTED_MODULE_0__.useRef(true);
  const inputRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const listboxRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const windowLostFocus = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const [anchorEl, setAnchorEl] = react__WEBPACK_IMPORTED_MODULE_0__.useState(null);
  const [focusedItem, setFocusedItem] = react__WEBPACK_IMPORTED_MODULE_0__.useState(-1);
  const defaultHighlighted = autoHighlight ? 0 : -1;
  const highlightedIndexRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(defaultHighlighted);

  // Tracks how the current highlight was set:
  // - 'keyboard' — arrow keys, Home/End, PageUp/PageDown
  // - 'mouse'    — handleOptionMouseMove
  // - 'touch'    — handleOptionTouchStart
  // - null       — programmatic (autoHighlight, value sync)
  //
  // This lets handleBlur and the Enter handler distinguish intentional
  // interactions from incidental ones — e.g. autoSelect should not commit
  // a highlight that came from a casual mouse hover.
  /** @type {React.RefObject<AutocompleteHighlightChangeReason | null>} */
  const highlightReasonRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);
  const touchScrolledRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
  const isTouchRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);

  // Calculate the initial inputValue on mount only.
  // useRef ensures it doesn't update dynamically with defaultValue or value props.
  const initialInputValue = react__WEBPACK_IMPORTED_MODULE_0__.useRef(getInputValue(defaultValue ?? valueProp, multiple, getOptionLabel)).current;
  const [value, setValueState] = (0,_mui_utils_useControlled__WEBPACK_IMPORTED_MODULE_4__["default"])({
    controlled: valueProp,
    default: defaultValue,
    name: componentName
  });
  const [inputValue, setInputValueState] = (0,_mui_utils_useControlled__WEBPACK_IMPORTED_MODULE_4__["default"])({
    controlled: inputValueProp,
    default: initialInputValue,
    name: componentName,
    state: 'inputValue'
  });
  const [focused, setFocused] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
  const resetInputValue = react__WEBPACK_IMPORTED_MODULE_0__.useCallback((event, newValue, reason) => {
    // retain current `inputValue` if new option isn't selected and `clearOnBlur` is false
    // When `multiple` is enabled, `newValue` is an array of all selected items including the newly selected item
    const isOptionSelected = multiple ? value.length < newValue.length : newValue !== null;
    if (!isOptionSelected && !clearOnBlur) {
      return;
    }
    const newInputValue = getInputValue(newValue, multiple, getOptionLabel, renderValue);
    if (inputValue === newInputValue) {
      return;
    }
    setInputValueState(newInputValue);
    if (onInputChange) {
      onInputChange(event, newInputValue, reason);
    }
  }, [getOptionLabel, inputValue, multiple, onInputChange, setInputValueState, clearOnBlur, value, renderValue]);
  const [open, setOpenState] = (0,_mui_utils_useControlled__WEBPACK_IMPORTED_MODULE_4__["default"])({
    controlled: openProp,
    default: false,
    name: componentName,
    state: 'open'
  });
  const [inputPristine, setInputPristine] = react__WEBPACK_IMPORTED_MODULE_0__.useState(true);
  const inputValueIsSelectedValue = !multiple && value != null && inputValue === getOptionLabel(value);
  const popupOpen = open && !readOnly;
  const selectedValues = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    if (multiple) {
      return value;
    }
    if (value != null) {
      return [value];
    }
    return [];
  }, [multiple, value]);
  const selectedValuesSet = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    // Fast path for the default strict equality comparator to avoid O(n^2) option checks.
    if (isOptionEqualToValue !== defaultIsOptionEqualToValue || selectedValues.length === 0) {
      return null;
    }
    return new Set(selectedValues);
  }, [isOptionEqualToValue, selectedValues]);
  const isOptionSelected = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(option => {
    if (selectedValuesSet) {
      return selectedValuesSet.has(option);
    }
    return selectedValues.some(value2 => value2 != null && isOptionEqualToValue(option, value2));
  }, [isOptionEqualToValue, selectedValues, selectedValuesSet]);
  const filteredOptions = popupOpen ? filterOptions(options.filter(option => {
    if (filterSelectedOptions && isOptionSelected(option)) {
      return false;
    }
    return true;
  }),
  // we use the empty string to manipulate `filterOptions` to not filter any options
  // i.e. the filter predicate always returns true
  {
    inputValue: inputValueIsSelectedValue && inputPristine ? '' : inputValue,
    getOptionLabel
  }) : [];
  const previousProps = (0,_mui_utils_usePreviousProps__WEBPACK_IMPORTED_MODULE_6__["default"])({
    filteredOptions,
    value,
    inputValue
  });
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    const valueChange = value !== previousProps.value;
    if (focused && !valueChange) {
      return;
    }

    // Only reset the input's value when freeSolo if the component's value changes.
    if (freeSolo && !valueChange) {
      return;
    }
    resetInputValue(null, value, 'reset');
  }, [value, resetInputValue, focused, previousProps.value, freeSolo]);
  const listboxAvailable = open && filteredOptions.length > 0 && !readOnly;
  const focusItem = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(itemToFocus => {
    if (itemToFocus === -1) {
      inputRef.current.focus();
    } else {
      // Using `data-tag-index` for deprecated `renderTags`. Remove when `renderTags` is gone.
      const indexType = renderValue ? 'data-item-index' : 'data-tag-index';
      anchorEl.querySelector(`[${indexType}="${itemToFocus}"]`).focus();
    }
  });

  // Ensure the focusedItem is never inconsistent
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (multiple && focusedItem > value.length - 1) {
      setFocusedItem(-1);
      focusItem(-1);
    }
  }, [value, multiple, focusedItem, focusItem]);
  function validOptionIndex(index, direction) {
    if (!listboxRef.current || index < 0 || index >= filteredOptions.length) {
      return -1;
    }
    let nextFocus = index;
    while (true) {
      const option = listboxRef.current.querySelector(`[data-option-index="${nextFocus}"]`);

      // Same logic as MenuList.js
      const nextFocusDisabled = disabledItemsFocusable ? false : !option || option.disabled || option.getAttribute('aria-disabled') === 'true';
      if (option && option.hasAttribute('tabindex') && !nextFocusDisabled) {
        // The next option is available
        return nextFocus;
      }

      // The next option is disabled, move to the next element.
      // with looped index
      if (direction === 'next') {
        nextFocus = (nextFocus + 1) % filteredOptions.length;
      } else {
        nextFocus = (nextFocus - 1 + filteredOptions.length) % filteredOptions.length;
      }

      // We end up with initial index, that means we don't have available options.
      // All of them are disabled
      if (nextFocus === index) {
        return -1;
      }
    }
  }
  const syncHighlightedIndexToDOM = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(({
    index,
    reason,
    preserveScroll = false
  }) => {
    // does the index exist?
    if (index === -1) {
      inputRef.current.removeAttribute('aria-activedescendant');
    } else {
      inputRef.current.setAttribute('aria-activedescendant', `${id}-option-${index}`);
    }
    if (!listboxRef.current) {
      return;
    }
    const prev = listboxRef.current.querySelector(`[role="option"].${unstable_classNamePrefix}-focused`);
    if (prev) {
      prev.classList.remove(`${unstable_classNamePrefix}-focused`);
      prev.classList.remove(`${unstable_classNamePrefix}-focusVisible`);
    }
    let listboxNode = listboxRef.current;
    if (listboxRef.current.getAttribute('role') !== 'listbox') {
      listboxNode = listboxRef.current.parentElement.querySelector('[role="listbox"]');
    }

    // "No results"
    if (!listboxNode) {
      return;
    }
    if (index === -1) {
      if (!preserveScroll) {
        listboxNode.scrollTop = 0;
      }
      return;
    }
    const option = listboxRef.current.querySelector(`[data-option-index="${index}"]`);
    if (!option) {
      return;
    }
    option.classList.add(`${unstable_classNamePrefix}-focused`);
    if (reason === 'keyboard') {
      option.classList.add(`${unstable_classNamePrefix}-focusVisible`);
    }

    // Scroll active descendant into view.
    // Logic copied from https://www.w3.org/WAI/content-assets/wai-aria-practices/patterns/combobox/examples/js/select-only.js
    // In case of mouse clicks and touch (in mobile devices) we avoid scrolling the element and keep both behaviors same.
    // Consider this API instead once it has a better browser support:
    // .scrollIntoView({ scrollMode: 'if-needed', block: 'nearest' });
    if (listboxNode.scrollHeight > listboxNode.clientHeight && reason !== 'mouse' && reason !== 'touch') {
      const element = option;
      const scrollBottom = listboxNode.clientHeight + listboxNode.scrollTop;
      const elementBottom = element.offsetTop + element.offsetHeight;
      if (elementBottom > scrollBottom) {
        listboxNode.scrollTop = elementBottom - listboxNode.clientHeight;
      } else if (element.offsetTop - element.offsetHeight * (groupBy ? 1.3 : 0) < listboxNode.scrollTop) {
        listboxNode.scrollTop = element.offsetTop - element.offsetHeight * (groupBy ? 1.3 : 0);
      }
    }
  });
  const setHighlightedIndex = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(({
    event,
    index,
    reason,
    preserveScroll = false
  }) => {
    highlightedIndexRef.current = index;
    highlightReasonRef.current = reason ?? null;
    if (onHighlightChange && ['mouse', 'keyboard', 'touch'].includes(reason)) {
      onHighlightChange(event, index === -1 ? null : filteredOptions[index], reason);
    }
    syncHighlightedIndexToDOM({
      index,
      reason,
      preserveScroll
    });
  });
  const setHighlightedIndexFromSync = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(({
    index
  }) => {
    highlightedIndexRef.current = index;
    syncHighlightedIndexToDOM({
      index,
      reason: highlightReasonRef.current
    });
  });
  const changeHighlightedIndex = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(({
    event,
    diff,
    direction = 'next',
    reason,
    preserveScroll
  }) => {
    if (!popupOpen) {
      return;
    }
    if (reason === 'keyboard') {
      touchScrolledRef.current = false;
      isTouchRef.current = false;
    }
    const getNextIndex = () => {
      const maxIndex = filteredOptions.length - 1;
      if (diff === 'reset') {
        return defaultHighlighted;
      }
      if (diff === 'start') {
        return 0;
      }
      if (diff === 'end') {
        return maxIndex;
      }
      const newIndex = highlightedIndexRef.current + diff;
      if (newIndex < 0) {
        if (newIndex === -1 && includeInputInList) {
          return -1;
        }
        if (disableListWrap && highlightedIndexRef.current !== -1 || Math.abs(diff) > 1) {
          return 0;
        }
        return maxIndex;
      }
      if (newIndex > maxIndex) {
        if (newIndex === maxIndex + 1 && includeInputInList) {
          return -1;
        }
        if (disableListWrap || Math.abs(diff) > 1) {
          return maxIndex;
        }
        return 0;
      }
      return newIndex;
    };
    const nextIndex = validOptionIndex(getNextIndex(), direction);
    setHighlightedIndex({
      index: nextIndex,
      reason,
      event,
      preserveScroll
    });

    // Sync the content of the input with the highlighted option.
    if (autoComplete && diff !== 'reset') {
      if (nextIndex === -1) {
        inputRef.current.value = inputValue;
      } else {
        const option = getOptionLabel(filteredOptions[nextIndex]);
        inputRef.current.value = option;

        // The portion of the selected suggestion that has not been typed by the user,
        // a completion string, appears inline after the input cursor in the textbox.
        const index = option.toLowerCase().indexOf(inputValue.toLowerCase());
        if (index === 0 && inputValue.length > 0) {
          inputRef.current.setSelectionRange(inputValue.length, option.length);
        }
      }
    }
  });
  const filteredOptionsChanged = !areArraysSame({
    array1: previousProps.filteredOptions,
    array2: filteredOptions,
    parser: getOptionLabel
  });
  const getPreviousHighlightedOptionIndex = () => {
    const isSameValue = (value1, value2) => {
      const label1 = value1 ? getOptionLabel(value1) : '';
      const label2 = value2 ? getOptionLabel(value2) : '';
      return label1 === label2;
    };
    if (highlightedIndexRef.current !== -1 && !areArraysSame({
      array1: previousProps.filteredOptions,
      array2: filteredOptions,
      parser: getOptionLabel
    }) && previousProps.inputValue === inputValue && (multiple ? value.length === previousProps.value.length && previousProps.value.every((val, i) => getOptionLabel(value[i]) === getOptionLabel(val)) : isSameValue(previousProps.value, value))) {
      const previousHighlightedOption = previousProps.filteredOptions[highlightedIndexRef.current];
      if (previousHighlightedOption) {
        return filteredOptions.findIndex(option => {
          return getOptionLabel(option) === getOptionLabel(previousHighlightedOption);
        });
      }
    }
    return -1;
  };
  const syncHighlightedIndex = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    if (!popupOpen) {
      return;
    }

    // Check if the previously highlighted option still exists in the updated filtered options list and if the value and inputValue haven't changed
    // If it exists and the value and the inputValue haven't changed, just update its index, otherwise continue execution
    const previousHighlightedOptionIndex = getPreviousHighlightedOptionIndex();
    if (previousHighlightedOptionIndex !== -1) {
      // Keep the original highlight reason while re-syncing the DOM state.
      // The highlighted option still exists after the filteredOptions array changed
      // (e.g. async fetch returns new options while the user is mid-navigation),
      // so the original interaction reason (keyboard, mouse, etc.) still applies.
      setHighlightedIndexFromSync({
        index: previousHighlightedOptionIndex
      });
      return;
    }
    const valueItem = multiple ? value[0] : value;

    // The popup is empty, reset
    if (filteredOptions.length === 0 || valueItem == null) {
      // Preserve scroll when new options are appended without changing the current filter.
      const isAppendOnly = filteredOptionsChanged && previousProps.inputValue === inputValue && previousProps.filteredOptions?.length > 0 && filteredOptions.length > previousProps.filteredOptions.length && previousProps.filteredOptions.every((option, index) => getOptionLabel(option) === getOptionLabel(filteredOptions[index]));
      changeHighlightedIndex({
        diff: 'reset',
        preserveScroll: isAppendOnly
      });
      return;
    }
    if (!listboxRef.current) {
      return;
    }

    // Synchronize the value with the highlighted index
    if (valueItem != null) {
      const currentOption = filteredOptions[highlightedIndexRef.current];

      // Keep the current selected highlight while the popup stays open;
      // on reopen, resync from the selected value.
      if (multiple && currentOption && value.findIndex(val => isOptionEqualToValue(currentOption, val)) !== -1 && previousProps.filteredOptions?.length > 0) {
        setHighlightedIndexFromSync({
          index: highlightedIndexRef.current
        });
        return;
      }
      const itemIndex = filteredOptions.findIndex(optionItem => isOptionEqualToValue(optionItem, valueItem));
      if (itemIndex === -1) {
        changeHighlightedIndex({
          diff: 'reset'
        });
      } else {
        setHighlightedIndex({
          index: itemIndex
        });
      }
      return;
    }

    // Prevent the highlighted index to leak outside the boundaries.
    if (highlightedIndexRef.current >= filteredOptions.length - 1) {
      setHighlightedIndex({
        index: filteredOptions.length - 1
      });
      return;
    }

    // Restore the focus to the previous index.
    setHighlightedIndex({
      index: highlightedIndexRef.current
    });
    // Ignore filteredOptions (and options, isOptionEqualToValue, getOptionLabel) not to break the scroll position
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [
  // Only sync the highlighted index when the option switch between empty and not
  filteredOptions.length,
  // Don't sync the highlighted index with the value when multiple
  // eslint-disable-next-line react-hooks/exhaustive-deps
  multiple ? false : value, changeHighlightedIndex, setHighlightedIndex, setHighlightedIndexFromSync, popupOpen, inputValue, multiple]);
  const handleListboxRef = (0,_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_3__["default"])(node => {
    (0,_mui_utils_setRef__WEBPACK_IMPORTED_MODULE_2__["default"])(listboxRef, node);
    if (!node) {
      return;
    }
    syncHighlightedIndex();
  });
  if (true) {
    // eslint-disable-next-line react-hooks/rules-of-hooks
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (!inputRef.current || inputRef.current.nodeName !== 'INPUT') {
        if (inputRef.current && inputRef.current.nodeName === 'TEXTAREA') {
          console.warn([`A textarea element was provided to ${componentName} where input was expected.`, `This is not a supported scenario but it may work under certain conditions.`, `A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).`, `Make sure to test keyboard navigation and add custom event handlers if necessary.`].join('\n'));
        } else {
          console.error([`MUI: Unable to find the input element. It was resolved to ${inputRef.current} while an HTMLInputElement was expected.`, `Instead, ${componentName} expects an input element.`, '', componentName === 'useAutocomplete' ? 'Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.' : 'Make sure you have customized the input component correctly.'].join('\n'));
        }
      }
    }, [componentName]);
  }
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (filteredOptionsChanged || popupOpen && !disableCloseOnSelect) {
      syncHighlightedIndex();
    }
  }, [syncHighlightedIndex, filteredOptionsChanged, popupOpen, disableCloseOnSelect]);

  // Listen for browser window blur to detect when the user switches tabs or windows.
  // This helps prevent the popup from reopening automatically when the window regains focus.
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (typeof window === 'undefined') {
      return undefined;
    }
    const handleWindowBlur = () => {
      windowLostFocus.current = true;
    };
    window.addEventListener('blur', handleWindowBlur);
    return () => {
      window.removeEventListener('blur', handleWindowBlur);
    };
  }, []);
  const handleOpen = event => {
    if (open) {
      return;
    }
    setOpenState(true);
    setInputPristine(true);
    isTouchRef.current = false;
    if (onOpen) {
      onOpen(event);
    }
  };
  const handleClose = (event, reason) => {
    if (!open) {
      return;
    }
    setOpenState(false);
    touchScrolledRef.current = false;
    highlightReasonRef.current = null;
    if (onClose) {
      onClose(event, reason);
    }
  };
  const handleValue = (event, newValue, reason, details) => {
    if (multiple) {
      if (value.length === newValue.length && value.every((val, i) => val === newValue[i])) {
        return;
      }
    } else if (value === newValue) {
      return;
    }
    if (onChange) {
      onChange(event, newValue, reason, details);
    }
    setValueState(newValue);
  };
  const selectNewValue = (event, option, reasonProp = 'selectOption', origin = 'options') => {
    let reason = reasonProp;
    let newValue = option;
    if (multiple) {
      newValue = Array.isArray(value) ? value.slice() : [];
      if (true) {
        const matches = newValue.filter(val => isOptionEqualToValue(option, val));
        if (matches.length > 1) {
          console.error([`MUI: The \`isOptionEqualToValue\` method of ${componentName} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${matches.length} matches.`].join('\n'));
        }
      }
      const itemIndex = newValue.findIndex(valueItem => isOptionEqualToValue(option, valueItem));
      if (itemIndex === -1) {
        newValue.push(option);
      } else if (origin !== 'freeSolo') {
        newValue.splice(itemIndex, 1);
        reason = 'removeOption';
      }
    }
    resetInputValue(event, newValue, reason);
    handleValue(event, newValue, reason, {
      option
    });
    if (!disableCloseOnSelect && (!event || !event.ctrlKey && !event.metaKey)) {
      handleClose(event, reason);
    }
    if (blurOnSelect === true || blurOnSelect === 'touch' && isTouchRef.current || blurOnSelect === 'mouse' && !isTouchRef.current) {
      inputRef.current.blur();
    }
  };
  function validItemIndex(index, direction) {
    if (index === -1) {
      return -1;
    }
    let nextFocus = index;
    while (true) {
      // Out of range
      if (direction === 'next' && nextFocus === value.length || direction === 'previous' && nextFocus === -1) {
        return -1;
      }

      // Using `data-tag-index` for deprecated `renderTags`. Remove when `renderTags` is removed.
      const indexType = renderValue ? 'data-item-index' : 'data-tag-index';
      const option = anchorEl.querySelector(`[${indexType}="${nextFocus}"]`);

      // Same logic as MenuList.js
      if (!option || !option.hasAttribute('tabindex') || option.disabled || option.getAttribute('aria-disabled') === 'true') {
        nextFocus += direction === 'next' ? 1 : -1;
      } else {
        return nextFocus;
      }
    }
  }
  const handleFocusItem = (event, direction) => {
    if (!multiple) {
      return;
    }
    if (inputValue === '') {
      handleClose(event, 'toggleInput');
    }
    let nextItem = focusedItem;

    // When moving focus from the input to tags with ArrowLeft,
    // always jump to the last tag (if any) from the input.
    if (focusedItem === -1 && direction === 'previous') {
      nextItem = value.length - 1;
      // In freeSolo, clear any draft text so it doesn't "come back" later.
      if (freeSolo && inputValue !== '') {
        setInputValueState('');
        if (onInputChange) {
          onInputChange(event, '', 'reset');
        }
      }
    } else {
      nextItem += direction === 'next' ? 1 : -1;
      if (nextItem < 0) {
        nextItem = 0;
      }
      if (nextItem === value.length) {
        nextItem = -1;
      }
    }
    nextItem = validItemIndex(nextItem, direction);
    setFocusedItem(nextItem);
    focusItem(nextItem);
  };
  const handleClear = event => {
    ignoreFocus.current = true;
    setInputValueState('');
    if (onInputChange) {
      onInputChange(event, '', 'clear');
    }
    handleValue(event, multiple ? [] : null, 'clear');
  };
  const handleKeyDown = other => event => {
    if (other.onKeyDown) {
      other.onKeyDown(event);
    }
    if (event.defaultMuiPrevented) {
      return;
    }
    if (focusedItem !== -1 && !['ArrowLeft', 'ArrowRight'].includes(event.key)) {
      setFocusedItem(-1);
      focusItem(-1);
    }

    // Wait until IME is settled.
    if (event.which !== 229) {
      switch (event.key) {
        case 'Home':
          if (popupOpen && handleHomeEndKeys) {
            // Prevent scroll of the page
            event.preventDefault();
            changeHighlightedIndex({
              diff: 'start',
              direction: 'next',
              reason: 'keyboard',
              event
            });
          }
          break;
        case 'End':
          if (popupOpen && handleHomeEndKeys) {
            // Prevent scroll of the page
            event.preventDefault();
            changeHighlightedIndex({
              diff: 'end',
              direction: 'previous',
              reason: 'keyboard',
              event
            });
          }
          break;
        case 'PageUp':
          // Prevent scroll of the page
          event.preventDefault();
          changeHighlightedIndex({
            diff: -pageSize,
            direction: 'previous',
            reason: 'keyboard',
            event
          });
          handleOpen(event);
          break;
        case 'PageDown':
          // Prevent scroll of the page
          event.preventDefault();
          changeHighlightedIndex({
            diff: pageSize,
            direction: 'next',
            reason: 'keyboard',
            event
          });
          handleOpen(event);
          break;
        case 'ArrowDown':
          // Prevent cursor move
          event.preventDefault();
          changeHighlightedIndex({
            diff: 1,
            direction: 'next',
            reason: 'keyboard',
            event
          });
          handleOpen(event);
          break;
        case 'ArrowUp':
          // Prevent cursor move
          event.preventDefault();
          changeHighlightedIndex({
            diff: -1,
            direction: 'previous',
            reason: 'keyboard',
            event
          });
          handleOpen(event);
          break;
        case 'ArrowLeft':
          {
            const input = inputRef.current;
            // Only handle ArrowLeft when the caret is at the start of the input.
            // Otherwise let the browser move the caret normally.
            const caretAtStart = input && input.selectionStart === 0 && input.selectionEnd === 0;
            if (!caretAtStart) {
              // Let the browser handle normal cursor movement
              return;
            }

            // Single-value rendering: move focus from input to the single tag.
            if (!multiple && renderValue && value != null) {
              // Moving from input to single tag; clear freeSolo draft text,
              // so it doesn't reappear when we move back.
              if (freeSolo && inputValue !== '') {
                setInputValueState('');
                if (onInputChange) {
                  onInputChange(event, '', 'reset');
                }
              }
              setFocusedItem(0);
              focusItem(0);
            } else {
              // Multi-value: delegate to tag navigation helper.
              handleFocusItem(event, 'previous');
            }
            break;
          }
        case 'ArrowRight':
          if (!multiple && renderValue) {
            setFocusedItem(-1);
            focusItem(-1);
          } else {
            handleFocusItem(event, 'next');
          }
          break;
        case 'Enter':
          {
            // In freeSolo, only select the highlighted option if the user hasn't
            // typed new text (inputPristine) or explicitly interacted with an option
            // (keyboard, mouse, or touch — any non-null reason). This lets typed
            // text win over a programmatic highlight (reason=null, e.g. from
            // syncHighlightedIndex matching a previous value) while still honoring
            // deliberate user interactions like hovering a suggestion then pressing Enter.
            const shouldSelectHighlighted = !freeSolo || inputPristine || highlightReasonRef.current !== null;
            if (highlightedIndexRef.current !== -1 && popupOpen && shouldSelectHighlighted &&
            // After a touch-scroll the highlight is stale (the user scrolled
            // past it), so skip selection until the next deliberate interaction.
            !touchScrolledRef.current) {
              const option = filteredOptions[highlightedIndexRef.current];
              const disabled = getOptionDisabled ? getOptionDisabled(option) : false;

              // Avoid early form validation, let the end-users continue filling the form.
              event.preventDefault();
              if (disabled) {
                return;
              }
              selectNewValue(event, option, 'selectOption');

              // Move the selection to the end.
              if (autoComplete) {
                inputRef.current.setSelectionRange(inputRef.current.value.length, inputRef.current.value.length);
              }
            } else if (freeSolo && inputValue !== '' && inputValueIsSelectedValue === false) {
              if (multiple) {
                // Allow people to add new values before they submit the form.
                event.preventDefault();
              }
              selectNewValue(event, inputValue, 'createOption', 'freeSolo');
            } else if (popupOpen && touchScrolledRef.current) {
              // The highlight is stale from a touch-scroll - close without selecting.
              event.preventDefault();
              // This happens on Enter, but re-using "escape" as the closest `AutocompleteCloseReason`
              // to avoid creating a new reason
              handleClose(event, 'escape');
            }
            break;
          }
        case 'Escape':
          if (popupOpen) {
            // Avoid Opera to exit fullscreen mode.
            event.preventDefault();
            // Avoid the Modal to handle the event.
            event.stopPropagation();
            handleClose(event, 'escape');
          } else if (clearOnEscape && (inputValue !== '' || multiple && value.length > 0 || renderValue)) {
            // Avoid Opera to exit fullscreen mode.
            event.preventDefault();
            // Avoid the Modal to handle the event.
            event.stopPropagation();
            handleClear(event);
          }
          break;
        case 'Backspace':
          // Remove the value on the left of the "cursor"
          if (multiple && !readOnly && inputValue === '' && value.length > 0) {
            const index = focusedItem === -1 ? value.length - 1 : focusedItem;
            const newValue = value.slice();
            newValue.splice(index, 1);
            handleValue(event, newValue, 'removeOption', {
              option: value[index]
            });
          }
          if (!multiple && renderValue && !readOnly && inputValue === '') {
            handleValue(event, null, 'removeOption', {
              option: value
            });
          }
          break;
        case 'Delete':
          // Remove the value on the right of the "cursor"
          if (multiple && !readOnly && inputValue === '' && value.length > 0 && focusedItem !== -1) {
            const index = focusedItem;
            const newValue = value.slice();
            newValue.splice(index, 1);
            handleValue(event, newValue, 'removeOption', {
              option: value[index]
            });
          }
          if (!multiple && renderValue && !readOnly && inputValue === '') {
            // Single-value rendering: Delete on empty input removes
            // the single rendered option, same "removeOption" reason as multiple.
            handleValue(event, null, 'removeOption', {
              option: value
            });
          }
          break;
        default:
      }
    }
  };
  const handleFocus = event => {
    setFocused(true);

    // When focusing the input, ensure any previously focused item (chip)
    // is cleared so the input receives the visible caret and the
    // input-focused styling is applied.
    if (focusedItem !== -1) {
      setFocusedItem(-1);
      // Ensure DOM focus lands on the input
      focusItem(-1);
    }

    // If the window previously lost focus while the popup was open,
    // ignore this focus event to prevent unintended reopening.
    // Reset the flag so normal focus behavior resumes.
    if (windowLostFocus.current) {
      windowLostFocus.current = false;
      return;
    }
    if (openOnFocus && !ignoreFocus.current) {
      handleOpen(event);
    }
  };
  const handleBlur = event => {
    // Ignore the event when using the scrollbar with IE11
    if (unstable_isActiveElementInListbox(listboxRef)) {
      inputRef.current.focus();
      return;
    }
    setFocused(false);
    firstFocus.current = true;
    ignoreFocus.current = false;

    // Auto-select the highlighted option on blur, but only if the highlight
    // came from keyboard navigation or was set programmatically (autoHighlight).
    // Mouse hover and touch should not trigger selection — the user may have
    // moved the pointer over an option without intending to commit to it.
    if (autoSelect && highlightedIndexRef.current !== -1 && popupOpen && highlightReasonRef.current !== 'mouse' && highlightReasonRef.current !== 'touch') {
      selectNewValue(event, filteredOptions[highlightedIndexRef.current], 'blur');
    } else if (autoSelect && freeSolo && inputValue !== '') {
      selectNewValue(event, inputValue, 'blur', 'freeSolo');
    } else if (clearOnBlur) {
      resetInputValue(event, value, 'blur');
    }
    handleClose(event, 'blur');
  };
  const handleInputChange = event => {
    const newValue = event.target.value;
    const valueChanged = inputValue !== newValue;
    if (valueChanged) {
      setInputValueState(newValue);
      touchScrolledRef.current = false;
      if (onInputChange) {
        onInputChange(event, newValue, 'input');
      }
    }
    if (newValue === '') {
      // For normal single-select, clearing the input clears the value.
      // For renderValue (chip-style single), only Backspace/Delete clear the value.
      if (!disableClearable && !multiple && !renderValue) {
        handleValue(event, null, 'clear');
      }
    } else {
      handleOpen(event);
    }

    // Called after handleOpen so it overrides handleOpen's setInputPristine(true)
    // when the first keystroke also opens the popup.
    if (valueChanged) {
      setInputPristine(false);
    }
  };
  const handleOptionMouseMove = event => {
    const index = Number(event.currentTarget.getAttribute('data-option-index'));
    if (highlightedIndexRef.current !== index) {
      setHighlightedIndex({
        event,
        index,
        reason: 'mouse'
      });
    } else {
      // The option is already highlighted (e.g. programmatically via autoHighlight),
      // but the user moved the mouse over it — mark as mouse-initiated so
      // autoSelect on blur correctly treats this as incidental hover.
      highlightReasonRef.current = 'mouse';
    }
    // Don't clear the touch-scroll guard while touch state is still latched.
    // After a touch gesture, browsers may fire compatibility mousemove
    // events; if those cleared the guard immediately, later compat events in
    // the same sequence could be misclassified as a real mouse interaction.
    // Touch state is cleared by the next deliberate interaction
    // (keyboard nav, handleOptionClick, or handleOpen).
    if (!isTouchRef.current) {
      touchScrolledRef.current = false;
    }
  };
  const handleOptionTouchStart = event => {
    touchScrolledRef.current = false;
    setHighlightedIndex({
      event,
      index: Number(event.currentTarget.getAttribute('data-option-index')),
      reason: 'touch'
    });
    isTouchRef.current = true;
  };
  const handleOptionClick = event => {
    const index = Number(event.currentTarget.getAttribute('data-option-index'));
    selectNewValue(event, filteredOptions[index], 'selectOption');
    isTouchRef.current = false;
  };
  const handleItemDelete = index => event => {
    const newValue = value.slice();
    newValue.splice(index, 1);
    handleValue(event, newValue, 'removeOption', {
      option: value[index]
    });
  };
  const handleSingleItemDelete = event => {
    handleValue(event, null, 'removeOption', {
      option: value
    });
  };
  const handlePopupIndicator = event => {
    if (open) {
      handleClose(event, 'toggleInput');
    } else {
      handleOpen(event);
    }
  };

  // Prevent input blur when interacting with the combobox
  const handleMouseDown = event => {
    // Prevent focusing the input if click is anywhere outside the Autocomplete
    if (!(0,_mui_utils_contains__WEBPACK_IMPORTED_MODULE_1__["default"])(event.currentTarget, event.target)) {
      return;
    }
    // Don't interfere with interactions outside the input area (e.g. helper text)
    if (anchorEl && !(0,_mui_utils_contains__WEBPACK_IMPORTED_MODULE_1__["default"])(anchorEl, event.target)) {
      return;
    }
    if (event.target.getAttribute('id') !== id) {
      event.preventDefault();
    }
  };

  // Focus the input when interacting with the combobox
  const handleClick = event => {
    // Prevent focusing the input if click is anywhere outside the Autocomplete
    if (!(0,_mui_utils_contains__WEBPACK_IMPORTED_MODULE_1__["default"])(event.currentTarget, event.target)) {
      return;
    }
    // Don't interfere with interactions outside the input area (e.g. helper text)
    if (anchorEl && !(0,_mui_utils_contains__WEBPACK_IMPORTED_MODULE_1__["default"])(anchorEl, event.target)) {
      return;
    }
    inputRef.current.focus();
    if (selectOnFocus && firstFocus.current && inputRef.current.selectionEnd - inputRef.current.selectionStart === 0) {
      inputRef.current.select();
    }
    firstFocus.current = false;
  };
  const handleInputMouseDown = event => {
    if (!disabledProp && (inputValue === '' || !open)) {
      handlePopupIndicator(event);
    }
  };
  let dirty = freeSolo && inputValue.length > 0;
  dirty = dirty || (multiple ? value.length > 0 : value !== null);
  let groupedOptions = filteredOptions;
  if (groupBy) {
    // used to keep track of key and indexes in the result array
    const indexBy = new Map();
    let warn = false;
    groupedOptions = filteredOptions.reduce((acc, option, index) => {
      const group = groupBy(option);
      if (acc.length > 0 && acc[acc.length - 1].group === group) {
        acc[acc.length - 1].options.push(option);
      } else {
        if (true) {
          if (indexBy.get(group) && !warn) {
            console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${componentName} returns duplicated headers.`, 'You can solve the issue by sorting the options with the output of `groupBy`.');
            warn = true;
          }
          indexBy.set(group, true);
        }
        acc.push({
          key: index,
          index,
          group,
          options: [option]
        });
      }
      return acc;
    }, []);
  }
  if (disabledProp && focused) {
    handleBlur();
  }
  return {
    getRootProps: (other = {}) => ({
      ...other,
      onKeyDown: handleKeyDown(other),
      onMouseDown: handleMouseDown,
      onClick: handleClick
    }),
    getInputLabelProps: () => ({
      id: `${id}-label`,
      htmlFor: id
    }),
    getInputProps: () => ({
      id,
      value: inputValue,
      onBlur: handleBlur,
      onFocus: handleFocus,
      onChange: handleInputChange,
      onMouseDown: handleInputMouseDown,
      // if open then this is handled imperatively so don't let react override
      // only have an opinion about this when closed
      'aria-activedescendant': popupOpen ? '' : null,
      'aria-autocomplete': autoComplete ? 'both' : 'list',
      'aria-controls': listboxAvailable ? `${id}-listbox` : undefined,
      'aria-expanded': listboxAvailable,
      // Disable browser's suggestion that might overlap with the popup.
      // Handle autocomplete but not autofill.
      autoComplete: 'off',
      ref: inputRef,
      autoCapitalize: 'none',
      spellCheck: 'false',
      role: 'combobox',
      disabled: disabledProp
    }),
    getClearProps: () => ({
      tabIndex: -1,
      type: 'button',
      onClick: handleClear
    }),
    getItemProps: ({
      index = 0
    } = {}) => ({
      ...(multiple && {
        key: index
      }),
      ...(renderValue ? {
        'data-item-index': index
      } : {
        'data-tag-index': index
      }),
      tabIndex: -1,
      ...(!readOnly && {
        onDelete: multiple ? handleItemDelete(index) : handleSingleItemDelete
      })
    }),
    getPopupIndicatorProps: () => ({
      tabIndex: -1,
      type: 'button',
      onClick: handlePopupIndicator
    }),
    // deprecated
    getTagProps: ({
      index
    }) => ({
      key: index,
      'data-tag-index': index,
      tabIndex: -1,
      ...(!readOnly && {
        onDelete: handleItemDelete(index)
      })
    }),
    getListboxProps: () => ({
      role: 'listbox',
      id: `${id}-listbox`,
      'aria-labelledby': `${id}-label`,
      'aria-multiselectable': multiple || undefined,
      ref: handleListboxRef,
      onMouseDown: event => {
        // Prevent blur
        event.preventDefault();
      },
      onScroll: () => {
        if (isTouchRef.current) {
          touchScrolledRef.current = true;
        }
      }
    }),
    getOptionProps: ({
      index,
      option
    }) => {
      const selected = isOptionSelected(option);
      const disabled = getOptionDisabled ? getOptionDisabled(option) : false;
      return {
        key: getOptionKey?.(option) ?? getOptionLabel(option),
        tabIndex: -1,
        role: 'option',
        id: `${id}-option-${index}`,
        onMouseMove: handleOptionMouseMove,
        onClick: handleOptionClick,
        onTouchStart: handleOptionTouchStart,
        'data-option-index': index,
        'aria-disabled': disabled,
        'aria-selected': selected
      };
    },
    id,
    inputValue,
    value,
    dirty,
    expanded: popupOpen && anchorEl,
    popupOpen,
    focused: focused || focusedItem !== -1,
    anchorEl,
    setAnchorEl,
    focusedItem,
    // deprecated
    focusedTag: focusedItem,
    groupedOptions
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useAutocomplete);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useLazyRipple/useLazyRipple.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LazyRipple: () => (/* binding */ LazyRipple),
/* harmony export */   "default": () => (/* binding */ useLazyRipple)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_utils_useLazyRef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/useLazyRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js");
'use client';



/**
 * Lazy initialization container for the Ripple instance. This improves
 * performance by delaying mounting the ripple until it's needed.
 */
class LazyRipple {
  /** React ref to the ripple instance */

  /** If the ripple component should be mounted */

  /** Promise that resolves when the ripple component is mounted */

  /** If the ripple component has been mounted */

  /** React state hook setter */

  static create() {
    return new LazyRipple();
  }
  static use() {
    /* eslint-disable */
    const ripple = (0,_mui_utils_useLazyRef__WEBPACK_IMPORTED_MODULE_1__["default"])(LazyRipple.create).current;
    const [shouldMount, setShouldMount] = react__WEBPACK_IMPORTED_MODULE_0__.useState(false);
    ripple.shouldMount = shouldMount;
    ripple.setShouldMount = setShouldMount;
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(ripple.mountEffect, [shouldMount]);
    /* eslint-enable */

    return ripple;
  }
  constructor() {
    this.ref = {
      current: null
    };
    this.mounted = null;
    this.didMount = false;
    this.shouldMount = false;
    this.setShouldMount = null;
  }
  mount() {
    if (!this.mounted) {
      this.mounted = createControlledPromise();
      this.shouldMount = true;
      this.setShouldMount(this.shouldMount);
    }
    return this.mounted;
  }
  mountEffect = () => {
    if (this.shouldMount && !this.didMount) {
      if (this.ref.current !== null) {
        this.didMount = true;
        this.mounted.resolve();
      }
    }
  };

  /* Ripple API */

  start(...args) {
    this.mount().then(() => this.ref.current?.start(...args));
  }
  stop(...args) {
    this.mount().then(() => this.ref.current?.stop(...args));
  }
  pulsate(...args) {
    this.mount().then(() => this.ref.current?.pulsate(...args));
  }
}
function useLazyRipple() {
  return LazyRipple.use();
}
function createControlledPromise() {
  let resolve;
  let reject;
  const p = new Promise((resolveFn, rejectFn) => {
    resolve = resolveFn;
    reject = rejectFn;
  });
  p.resolve = resolve;
  p.reject = reject;
  return p;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useMediaQuery/index.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/useMediaQuery/index.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_system_useMediaQuery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system/useMediaQuery */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js");
/* harmony import */ var _styles_identifier_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../styles/identifier.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/identifier.js");


const useMediaQuery = (0,_mui_system_useMediaQuery__WEBPACK_IMPORTED_MODULE_0__.unstable_createUseMediaQuery)({
  themeId: _styles_identifier_js__WEBPACK_IMPORTED_MODULE_1__["default"]
});
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useMediaQuery);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/capitalize.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/capitalize */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/contains.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/contains.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_contains__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/contains */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/contains/contains.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_contains__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createChainedFunction.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createChainedFunction.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_createChainedFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/createChainedFunction */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_createChainedFunction__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js"
/*!****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSimplePaletteValueFilter.js ***!
  \****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createSimplePaletteValueFilter)
/* harmony export */ });
/**
 * Type guard to check if the object has a "main" property of type string.
 *
 * @param obj - the object to check
 * @returns boolean
 */
function hasCorrectMainProperty(obj) {
  return typeof obj.main === 'string';
}
/**
 * Checks if the object conforms to the SimplePaletteColorOptions type.
 * The minimum requirement is that the object has a "main" property of type string, this is always checked.
 * Optionally, you can pass additional properties to check.
 *
 * @param obj - The object to check
 * @param additionalPropertiesToCheck - Array containing "light", "dark", and/or "contrastText"
 * @returns boolean
 */
function checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {
  if (!hasCorrectMainProperty(obj)) {
    return false;
  }
  for (const value of additionalPropertiesToCheck) {
    if (!obj.hasOwnProperty(value) || typeof obj[value] !== 'string') {
      return false;
    }
  }
  return true;
}

/**
 * Creates a filter function used to filter simple palette color options.
 * The minimum requirement is that the object has a "main" property of type string, this is always checked.
 * Optionally, you can pass additional properties to check.
 *
 * @param additionalPropertiesToCheck - Array containing "light", "dark", and/or "contrastText"
 * @returns ([, value]: [any, PaletteColorOptions]) => boolean
 */
function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {
  return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/createSvgIcon.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createSvgIcon)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _SvgIcon_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../SvgIcon/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';




/**
 * Private module reserved for @mui packages.
 */

function createSvgIcon(path, displayName) {
  function Component(props, ref) {
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_SvgIcon_index_js__WEBPACK_IMPORTED_MODULE_1__["default"], {
      "data-testid":  true ? `${displayName}Icon` : 0,
      ref: ref,
      ...props,
      children: path
    });
  }
  if (true) {
    // Need to set `displayName` on the inner component for React.memo.
    // React prior to 16.14 ignores `displayName` on the wrapper.
    Component.displayName = `${displayName}Icon`;
  }
  Component.muiName = _SvgIcon_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].muiName;
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.memo(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(Component));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/debounce.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_debounce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/debounce */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/debounce/debounce.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_debounce__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/focusable.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/focusable.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FOCUSABLE_ATTRIBUTE: () => (/* binding */ FOCUSABLE_ATTRIBUTE),
/* harmony export */   getFocusTarget: () => (/* binding */ getFocusTarget)
/* harmony export */ });
const FOCUSABLE_ATTRIBUTE = 'data-mui-focusable';

/**
 * Returns the element marked as the initial focus target inside a focus trap.
 * The root element takes precedence over marked descendants so components can
 * opt into focusing their own root surface directly.
 */
function getFocusTarget(rootElement) {
  if (!rootElement) {
    return null;
  }
  return rootElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? rootElement : rootElement.querySelector(`[${FOCUSABLE_ATTRIBUTE}]`);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getActiveElement.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getActiveElement.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/getActiveElement */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getActiveElement/getActiveElement.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getScrollbarSize.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/getScrollbarSize.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_getScrollbarSize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/getScrollbarSize */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_getScrollbarSize__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isLayoutSupported.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isLayoutSupported.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isLayoutSupported)
/* harmony export */ });
function isLayoutSupported() {
  return !(/jsdom|HappyDOM/.test(window.navigator.userAgent) ||
  // TODO(v9): Remove the test environment check
  // eslint-disable-next-line mui/consistent-production-guard
  "development" === 'test');
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isMuiElement.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/isMuiElement.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_isMuiElement__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/isMuiElement */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_isMuiElement__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/memoTheme.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/memoTheme.js");

const memoTheme = _mui_system__WEBPACK_IMPORTED_MODULE_0__["default"];
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (memoTheme);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/mergeSlotProps.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/mergeSlotProps.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ mergeSlotProps)
/* harmony export */ });
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");


// Brought from [Base UI](https://github.com/mui/base-ui/blob/master/packages/react/src/merge-props/mergeProps.ts#L119)
// Use it directly from Base UI once it's a package dependency.
function isEventHandler(key, value) {
  // This approach is more efficient than using a regex.
  const thirdCharCode = key.charCodeAt(2);
  return key[0] === 'o' && key[1] === 'n' && thirdCharCode >= 65 /* A */ && thirdCharCode <= 90 /* Z */ && typeof value === 'function';
}
function mergeSlotProps(externalSlotProps, defaultSlotProps) {
  if (!externalSlotProps) {
    return defaultSlotProps;
  }
  function extractHandlers(externalSlotPropsValue, defaultSlotPropsValue) {
    const handlers = {};
    Object.keys(defaultSlotPropsValue).forEach(key => {
      if (isEventHandler(key, defaultSlotPropsValue[key]) && typeof externalSlotPropsValue[key] === 'function') {
        // only compose the handlers if both default and external slot props match the event handler
        handlers[key] = (...args) => {
          externalSlotPropsValue[key](...args);
          defaultSlotPropsValue[key](...args);
        };
      }
    });
    return handlers;
  }
  if (typeof externalSlotProps === 'function' || typeof defaultSlotProps === 'function') {
    return ownerState => {
      const defaultSlotPropsValue = typeof defaultSlotProps === 'function' ? defaultSlotProps(ownerState) : defaultSlotProps;
      const externalSlotPropsValue = typeof externalSlotProps === 'function' ? externalSlotProps({
        ...ownerState,
        ...defaultSlotPropsValue
      }) : externalSlotProps;
      const className = (0,clsx__WEBPACK_IMPORTED_MODULE_0__["default"])(ownerState?.className, defaultSlotPropsValue?.className, externalSlotPropsValue?.className);
      const handlers = extractHandlers(externalSlotPropsValue, defaultSlotPropsValue);
      return {
        ...defaultSlotPropsValue,
        ...externalSlotPropsValue,
        ...handlers,
        ...(!!className && {
          className
        }),
        ...(defaultSlotPropsValue?.style && externalSlotPropsValue?.style && {
          style: {
            ...defaultSlotPropsValue.style,
            ...externalSlotPropsValue.style
          }
        }),
        ...(defaultSlotPropsValue?.sx && externalSlotPropsValue?.sx && {
          sx: [...(Array.isArray(defaultSlotPropsValue.sx) ? defaultSlotPropsValue.sx : [defaultSlotPropsValue.sx]), ...(Array.isArray(externalSlotPropsValue.sx) ? externalSlotPropsValue.sx : [externalSlotPropsValue.sx])]
        })
      };
    };
  }
  const typedDefaultSlotProps = defaultSlotProps;
  const handlers = extractHandlers(externalSlotProps, typedDefaultSlotProps);
  const className = (0,clsx__WEBPACK_IMPORTED_MODULE_0__["default"])(typedDefaultSlotProps?.className, externalSlotProps?.className);
  return {
    ...defaultSlotProps,
    ...externalSlotProps,
    ...handlers,
    ...(!!className && {
      className
    }),
    ...(typedDefaultSlotProps?.style && externalSlotProps?.style && {
      style: {
        ...typedDefaultSlotProps.style,
        ...externalSlotProps.style
      }
    }),
    ...(typedDefaultSlotProps?.sx && externalSlotProps?.sx && {
      sx: [...(Array.isArray(typedDefaultSlotProps.sx) ? typedDefaultSlotProps.sx : [typedDefaultSlotProps.sx]), ...(Array.isArray(externalSlotProps.sx) ? externalSlotProps.sx : [externalSlotProps.sx])]
    })
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerDocument.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/ownerDocument */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_ownerDocument__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/ownerWindow.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/ownerWindow */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_ownerWindow__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/requirePropFactory.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/requirePropFactory.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_requirePropFactory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/requirePropFactory */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_requirePropFactory__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/unsupportedProp.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/unsupportedProp.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_unsupportedProp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/unsupportedProp */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js");

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_unsupportedProp__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useControlled.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_useControlled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useControlled */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js");
'use client';


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useControlled__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEnhancedEffect.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
'use client';


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useEventCallback.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useEventCallback */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js");
'use client';


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useForkRef.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
'use client';


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useId.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_useId__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useId */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js");
'use client';


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useId__WEBPACK_IMPORTED_MODULE_0__["default"]);

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/utils/useSlot.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useSlot)
/* harmony export */ });
/* harmony import */ var _mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useForkRef */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _mui_utils_appendOwnerState__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/appendOwnerState */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js");
/* harmony import */ var _mui_utils_resolveComponentProps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/resolveComponentProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js");
/* harmony import */ var _mui_utils_mergeSlotProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/mergeSlotProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js");
'use client';





/**
 * An internal function to create a Material UI slot.
 *
 * This is an advanced version of Base UI `useSlotProps` because Material UI allows leaf component to be customized via `component` prop
 * while Base UI does not need to support leaf component customization.
 *
 * @param {string} name: name of the slot
 * @param {object} parameters
 * @returns {[Slot, slotProps]} The slot's React component and the slot's props
 *
 * Note: the returned slot's props
 * - will never contain `component` prop.
 * - might contain `as` prop.
 */
function useSlot(
/**
 * The slot's name. All Material UI components should have `root` slot.
 *
 * If the name is `root`, the logic behaves differently from other slots,
 * e.g. the `externalForwardedProps` are spread to `root` slot but not other slots.
 */
name, parameters) {
  const {
    className,
    elementType: initialElementType,
    ownerState,
    externalForwardedProps,
    internalForwardedProps,
    shouldForwardComponentProp = false,
    ...useSlotPropsParams
  } = parameters;
  const {
    component: rootComponent,
    slots = {
      [name]: undefined
    },
    slotProps = {
      [name]: undefined
    },
    ...other
  } = externalForwardedProps;
  const elementType = slots[name] || initialElementType;

  // `slotProps[name]` can be a callback that receives the component's ownerState.
  // `resolvedComponentsProps` is always a plain object.
  const resolvedComponentsProps = (0,_mui_utils_resolveComponentProps__WEBPACK_IMPORTED_MODULE_2__["default"])(slotProps[name], ownerState);
  const {
    props: {
      component: slotComponent,
      ...mergedProps
    },
    internalRef
  } = (0,_mui_utils_mergeSlotProps__WEBPACK_IMPORTED_MODULE_3__["default"])({
    className,
    ...useSlotPropsParams,
    externalForwardedProps: name === 'root' ? other : undefined,
    externalSlotProps: resolvedComponentsProps
  });
  const ref = (0,_mui_utils_useForkRef__WEBPACK_IMPORTED_MODULE_0__["default"])(internalRef, resolvedComponentsProps?.ref, parameters.ref);
  const LeafComponent = name === 'root' ? slotComponent || rootComponent : slotComponent;
  const props = (0,_mui_utils_appendOwnerState__WEBPACK_IMPORTED_MODULE_1__["default"])(elementType, {
    ...(name === 'root' && !rootComponent && !slots[name] && internalForwardedProps),
    ...(name !== 'root' && !slots[name] && internalForwardedProps),
    ...mergedProps,
    ...(LeafComponent && !shouldForwardComponentProp && {
      as: LeafComponent
    }),
    ...(LeafComponent && shouldForwardComponentProp && {
      component: LeafComponent
    }),
    ref
  }, ownerState);
  return [elementType, props];
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/zero-styled/index.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/zero-styled/index.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   css: () => (/* reexport safe */ _mui_system__WEBPACK_IMPORTED_MODULE_4__.css),
/* harmony export */   globalCss: () => (/* binding */ globalCss),
/* harmony export */   internal_createExtendSxProp: () => (/* binding */ internal_createExtendSxProp),
/* harmony export */   keyframes: () => (/* reexport safe */ _mui_system__WEBPACK_IMPORTED_MODULE_4__.keyframes),
/* harmony export */   styled: () => (/* reexport safe */ _styles_styled_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   useTheme: () => (/* reexport safe */ _styles_useTheme_js__WEBPACK_IMPORTED_MODULE_1__["default"])
/* harmony export */ });
/* harmony import */ var _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/system/styleFunctionSx */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js");
/* harmony import */ var _styles_useTheme_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../styles/useTheme.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/useTheme.js");
/* harmony import */ var _GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../GlobalStyles/index.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
/* harmony import */ var _mui_system__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/system */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
/* harmony import */ var _styles_styled_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/styled.js */ "./node_modules/.pnpm/@mui+material@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion_e9dab077db26e9fceb37b097a1273636/node_modules/@mui/material/esm/styles/styled.js");






function globalCss(styles) {
  return function GlobalStylesWrapper(props) {
    return (
      /*#__PURE__*/
      // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
      (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_2__["default"], {
        styles: typeof styles === 'function' ? theme => styles({
          theme,
          ...props
        }) : styles
      })
    );
  };
}

// eslint-disable-next-line @typescript-eslint/naming-convention
function internal_createExtendSxProp() {
  return _mui_system_styleFunctionSx__WEBPACK_IMPORTED_MODULE_0__["default"];
}


/***/ },

/***/ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js"
/*!***************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js ***!
  \***************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/exactProp */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js");
/* harmony import */ var _useTheme_ThemeContext_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../useTheme/ThemeContext.js */ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js");
/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/useTheme.js");
/* harmony import */ var _nested_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./nested.js */ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/ThemeProvider/nested.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");







// To support composition of theme.

function mergeOuterLocalTheme(outerTheme, localTheme) {
  if (typeof localTheme === 'function') {
    const mergedTheme = localTheme(outerTheme);
    if (true) {
      if (!mergedTheme) {
        console.error(['MUI: You should return an object from your theme function, i.e.', '<ThemeProvider theme={() => ({})} />'].join('\n'));
      }
    }
    return mergedTheme;
  }
  return {
    ...outerTheme,
    ...localTheme
  };
}

/**
 * This component takes a `theme` prop.
 * It makes the `theme` available down the React tree thanks to React context.
 * This component should preferably be used at **the root of your component tree**.
 */
function ThemeProvider(props) {
  const {
    children,
    theme: localTheme
  } = props;
  const outerTheme = (0,_useTheme_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])();
  if (true) {
    if (outerTheme === null && typeof localTheme === 'function') {
      console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
    }
  }
  const theme = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    const output = outerTheme === null ? {
      ...localTheme
    } : mergeOuterLocalTheme(outerTheme, localTheme);
    if (output != null) {
      output[_nested_js__WEBPACK_IMPORTED_MODULE_5__["default"]] = outerTheme !== null;
    }
    return output;
  }, [localTheme, outerTheme]);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_useTheme_ThemeContext_js__WEBPACK_IMPORTED_MODULE_3__["default"].Provider, {
    value: theme,
    children: children
  });
}
 true ? ThemeProvider.propTypes = {
  /**
   * Your component tree.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * A theme object. You can provide a function to extend the outer theme.
   */
  theme: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.func]).isRequired
} : 0;
if (true) {
   true ? ThemeProvider.propTypes = (0,_mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_2__["default"])(ThemeProvider.propTypes) : 0;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ThemeProvider);

/***/ },

/***/ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/ThemeProvider/nested.js"
/*!********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/ThemeProvider/nested.js ***!
  \********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const hasSymbol = typeof Symbol === 'function' && Symbol.for;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');

/***/ },

/***/ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js"
/*!*********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js ***!
  \*********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


const ThemeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);
if (true) {
  ThemeContext.displayName = 'ThemeContext';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ThemeContext);

/***/ },

/***/ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/useTheme.js"
/*!*****************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/useTheme.js ***!
  \*****************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useTheme)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _ThemeContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ThemeContext.js */ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js");
'use client';



function useTheme() {
  const theme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_ThemeContext_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
  if (true) {
    // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
    // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
    react__WEBPACK_IMPORTED_MODULE_0__.useDebugValue(theme);
  }
  return theme;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ GlobalStyles)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/react */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';




function isEmpty(obj) {
  return obj === undefined || obj === null || Object.keys(obj).length === 0;
}
function GlobalStyles(props) {
  const {
    styles,
    defaultTheme = {}
  } = props;
  const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles;
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_1__.Global, {
    styles: globalStyles
  });
}
 true ? GlobalStyles.propTypes = {
  defaultTheme: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
  styles: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.array, prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.func])
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/StyledEngineProvider/StyledEngineProvider.js"
/*!**************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/StyledEngineProvider/StyledEngineProvider.js ***!
  \**************************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   TEST_INTERNALS_DO_NOT_USE: () => (/* binding */ TEST_INTERNALS_DO_NOT_USE),
/* harmony export */   "default": () => (/* binding */ StyledEngineProvider)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/react */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/.pnpm/@emotion+cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js");
/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.development.esm.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';







// To fix [Jest performance](https://github.com/mui/material-ui/issues/45638).

const cacheMap = new Map();

// Need to add a private variable to test the generated CSS from Emotion, this is the simplest way to do it.
// We can't test the CSS from `style` tag easily because the `speedy: true` (produce empty text content) is enabled by Emotion.
// Even if we disable it, JSDOM needs extra configuration to be able to parse `@layer` CSS.
const TEST_INTERNALS_DO_NOT_USE = {
  /**
   * to intercept the generated CSS before inserting to the style tag, so that we can check the generated CSS.
   *
   * let rule;
   * TEST_INTERNALS_DO_NOT_USE.insert = (...args) => {
   *    rule = args[0];
   * };
   *
   * expect(rule).to.equal(...);
   */
  insert: undefined
};

// We might be able to remove this when this issue is fixed:
// https://github.com/emotion-js/emotion/issues/2790
const createEmotionCache = (options, CustomSheet) => {
  const cache = (0,_emotion_cache__WEBPACK_IMPORTED_MODULE_3__["default"])(options);

  // Do the same as https://github.com/emotion-js/emotion/blob/main/packages/cache/src/index.js#L238-L245
  cache.sheet = new CustomSheet({
    key: cache.key,
    nonce: cache.sheet.nonce,
    container: cache.sheet.container,
    speedy: cache.sheet.isSpeedy,
    prepend: cache.sheet.prepend,
    insertionPoint: cache.sheet.insertionPoint
  });
  return cache;
};
let insertionPoint;
if (typeof document === 'object') {
  // Use `insertionPoint` over `prepend`(deprecated) because it can be controlled for GlobalStyles injection order
  // For more information, see https://github.com/mui/material-ui/issues/44597
  insertionPoint = document.querySelector('[name="emotion-insertion-point"]');
  if (!insertionPoint) {
    insertionPoint = document.createElement('meta');
    insertionPoint.setAttribute('name', 'emotion-insertion-point');
    insertionPoint.setAttribute('content', '');
    const head = document.querySelector('head');
    if (head) {
      head.prepend(insertionPoint);
    }
  }
}
function getCache(injectFirst, enableCssLayer) {
  if (injectFirst || enableCssLayer) {
    /**
     * This is for client-side apps only.
     * A custom sheet is required to make the GlobalStyles API injected above the insertion point.
     * This is because the [sheet](https://github.com/emotion-js/emotion/blob/main/packages/react/src/global.js#L94-L99) does not consume the options.
     */
    class MyStyleSheet extends _emotion_sheet__WEBPACK_IMPORTED_MODULE_4__.StyleSheet {
      insert(rule, options) {
        if (TEST_INTERNALS_DO_NOT_USE.insert) {
          return TEST_INTERNALS_DO_NOT_USE.insert(rule, options);
        }
        if (this.key && this.key.endsWith('global')) {
          this.before = insertionPoint;
        }
        return super.insert(rule, options);
      }
    }
    const emotionCache = createEmotionCache({
      key: 'css',
      insertionPoint: injectFirst ? insertionPoint : undefined
    }, MyStyleSheet);
    if (enableCssLayer) {
      const prevInsert = emotionCache.insert;
      emotionCache.insert = (...args) => {
        if (!args[1].styles.match(/^@layer\s+[^{]*$/)) {
          // avoid nested @layer
          args[1].styles = `@layer mui {${args[1].styles}}`;
        }
        return prevInsert(...args);
      };
    }
    return emotionCache;
  }
  return undefined;
}
function StyledEngineProvider(props) {
  const {
    injectFirst,
    enableCssLayer,
    children
  } = props;
  const cache = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    const cacheKey = `${injectFirst}-${enableCssLayer}`;
    if (typeof document === 'object' && cacheMap.has(cacheKey)) {
      return cacheMap.get(cacheKey);
    }
    const fresh = getCache(injectFirst, enableCssLayer);
    cacheMap.set(cacheKey, fresh);
    return fresh;
  }, [injectFirst, enableCssLayer]);
  return cache ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_2__.C, {
    value: cache,
    children: children
  }) : children;
}
 true ? StyledEngineProvider.propTypes = {
  /**
   * Your component tree.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * If `true`, the styles are wrapped in `@layer mui`.
   * Learn more about [Cascade layers](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Cascade_layers).
   */
  enableCssLayer: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
  /**
   * By default, the styles are injected last in the <head> element of the page.
   * As a result, they gain more specificity than any other style sheet.
   * If you want to override MUI's styles, set this prop.
   */
  injectFirst: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool
} : 0;

/***/ },

/***/ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/index.js"
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/index.js ***!
  \**************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   GlobalStyles: () => (/* reexport safe */ _GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   StyledEngineProvider: () => (/* reexport safe */ _StyledEngineProvider_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
/* harmony export */   ThemeContext: () => (/* reexport safe */ _emotion_react__WEBPACK_IMPORTED_MODULE_3__.T),
/* harmony export */   css: () => (/* reexport safe */ _emotion_react__WEBPACK_IMPORTED_MODULE_2__.css),
/* harmony export */   "default": () => (/* binding */ styled),
/* harmony export */   internal_mutateStyles: () => (/* binding */ internal_mutateStyles),
/* harmony export */   internal_serializeStyles: () => (/* binding */ internal_serializeStyles),
/* harmony export */   keyframes: () => (/* reexport safe */ _emotion_react__WEBPACK_IMPORTED_MODULE_2__.keyframes)
/* harmony export */ });
/* harmony import */ var _emotion_styled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/styled */ "./node_modules/.pnpm/@emotion+styled@11.14.1_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@types+react@19.2.17_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js");
/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/.pnpm/@emotion+serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.development.esm.js");
/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/react */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js");
/* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/react */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
/* harmony import */ var _StyledEngineProvider_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./StyledEngineProvider/index.js */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/StyledEngineProvider/StyledEngineProvider.js");
/* harmony import */ var _GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GlobalStyles/index.js */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js");
/**
 * @mui/styled-engine v7.3.10
 *
 * @license MIT
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
'use client';

/* eslint-disable no-underscore-dangle */


function styled(tag, options) {
  const stylesFactory = (0,_emotion_styled__WEBPACK_IMPORTED_MODULE_0__["default"])(tag, options);
  if (true) {
    return (...styles) => {
      const component = typeof tag === 'string' ? `"${tag}"` : 'component';
      if (styles.length === 0) {
        console.error([`MUI: Seems like you called \`styled(${component})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join('\n'));
      } else if (styles.some(style => style === undefined)) {
        console.error(`MUI: the styled(${component})(...args) API requires all its args to be defined.`);
      }
      return stylesFactory(...styles);
    };
  }
  // removed by dead control flow

}

// eslint-disable-next-line @typescript-eslint/naming-convention
function internal_mutateStyles(tag, processor) {
  // Emotion attaches all the styles as `__emotion_styles`.
  // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
  if (Array.isArray(tag.__emotion_styles)) {
    tag.__emotion_styles = processor(tag.__emotion_styles);
  }
}

// Emotion only accepts an array, but we want to avoid allocations
const wrapper = [];
// eslint-disable-next-line @typescript-eslint/naming-convention
function internal_serializeStyles(styles) {
  wrapper[0] = styles;
  return (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_1__.serializeStyles)(wrapper);
}




/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Container/createContainer.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Container/createContainer.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createContainer)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/capitalize */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js");
/* harmony import */ var _useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../useThemeProps/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js");
/* harmony import */ var _styled_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../styled/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styled/styled.js");
/* harmony import */ var _createTheme_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../createTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const defaultTheme = (0,_createTheme_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])();
const defaultCreateStyledComponent = (0,_styled_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])('div', {
  name: 'MuiContainer',
  slot: 'Root',
  overridesResolver: (props, styles) => {
    const {
      ownerState
    } = props;
    return [styles.root, styles[`maxWidth${(0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_5__["default"])(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
  }
});
const useThemePropsDefault = inProps => (0,_useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])({
  props: inProps,
  name: 'MuiContainer',
  defaultTheme
});
const useUtilityClasses = (ownerState, componentName) => {
  const getContainerUtilityClass = slot => {
    return (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_3__["default"])(componentName, slot);
  };
  const {
    classes,
    fixed,
    disableGutters,
    maxWidth
  } = ownerState;
  const slots = {
    root: ['root', maxWidth && `maxWidth${(0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_5__["default"])(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']
  };
  return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_4__["default"])(slots, getContainerUtilityClass, classes);
};
function createContainer(options = {}) {
  const {
    // This will allow adding custom styled fn (for example for custom sx style function)
    createStyledComponent = defaultCreateStyledComponent,
    useThemeProps = useThemePropsDefault,
    componentName = 'MuiContainer'
  } = options;
  const ContainerRoot = createStyledComponent(({
    theme,
    ownerState
  }) => ({
    width: '100%',
    marginLeft: 'auto',
    boxSizing: 'border-box',
    marginRight: 'auto',
    ...(!ownerState.disableGutters && {
      paddingLeft: theme.spacing(2),
      paddingRight: theme.spacing(2),
      // @ts-ignore module augmentation fails if custom breakpoints are used
      [theme.breakpoints.up('sm')]: {
        paddingLeft: theme.spacing(3),
        paddingRight: theme.spacing(3)
      }
    })
  }), ({
    theme,
    ownerState
  }) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpointValueKey) => {
    const breakpoint = breakpointValueKey;
    const value = theme.breakpoints.values[breakpoint];
    if (value !== 0) {
      // @ts-ignore
      acc[theme.breakpoints.up(breakpoint)] = {
        maxWidth: `${value}${theme.breakpoints.unit}`
      };
    }
    return acc;
  }, {}), ({
    theme,
    ownerState
  }) => ({
    // @ts-ignore module augmentation fails if custom breakpoints are used
    ...(ownerState.maxWidth === 'xs' && {
      // @ts-ignore module augmentation fails if custom breakpoints are used
      [theme.breakpoints.up('xs')]: {
        // @ts-ignore module augmentation fails if custom breakpoints are used
        maxWidth: Math.max(theme.breakpoints.values.xs, 444)
      }
    }),
    ...(ownerState.maxWidth &&
    // @ts-ignore module augmentation fails if custom breakpoints are used
    ownerState.maxWidth !== 'xs' && {
      // @ts-ignore module augmentation fails if custom breakpoints are used
      [theme.breakpoints.up(ownerState.maxWidth)]: {
        // @ts-ignore module augmentation fails if custom breakpoints are used
        maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
      }
    })
  }));
  const Container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Container(inProps, ref) {
    const props = useThemeProps(inProps);
    const {
      className,
      component = 'div',
      disableGutters = false,
      fixed = false,
      maxWidth = 'lg',
      classes: classesProp,
      ...other
    } = props;
    const ownerState = {
      ...props,
      component,
      disableGutters,
      fixed,
      maxWidth
    };

    // @ts-ignore module augmentation fails if custom breakpoints are used
    const classes = useUtilityClasses(ownerState, componentName);
    return (
      /*#__PURE__*/
      // @ts-ignore theme is injected by the styled util
      (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ContainerRoot, {
        as: component
        // @ts-ignore module augmentation fails if custom breakpoints are used
        ,
        ownerState: ownerState,
        className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
        ref: ref,
        ...other
      })
    );
  });
   true ? Container.propTypes /* remove-proptypes */ = {
    children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    classes: prop_types__WEBPACK_IMPORTED_MODULE_1__.object,
    className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    disableGutters: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    fixed: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    maxWidth: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
    sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  } : 0;
  return Container;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js"
/*!*******************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js ***!
  \*******************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useDefaultProps: () => (/* binding */ useDefaultProps)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/resolveProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveProps/resolveProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';





const PropsContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);
function DefaultPropsProvider({
  value,
  children
}) {
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(PropsContext.Provider, {
    value: value,
    children: children
  });
}
 true ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * @ignore
   */
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
} : 0;
function getThemeProps(params) {
  const {
    theme,
    name,
    props
  } = params;
  if (!theme || !theme.components || !theme.components[name]) {
    return props;
  }
  const config = theme.components[name];
  if (config.defaultProps) {
    // compatible with v5 signature
    return (0,_mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_2__["default"])(config.defaultProps, props, theme.components.mergeClassNameAndStyle);
  }
  if (!config.styleOverrides && !config.variants) {
    // v6 signature, no property 'defaultProps'
    return (0,_mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_2__["default"])(config, props, theme.components.mergeClassNameAndStyle);
  }
  return props;
}
function useDefaultProps({
  props,
  name
}) {
  const ctx = react__WEBPACK_IMPORTED_MODULE_0__.useContext(PropsContext);
  return getThemeProps({
    props,
    name,
    theme: {
      components: ctx
    }
  });
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DefaultPropsProvider);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/index.js");
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js");
/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';





function wrapGlobalLayer(styles) {
  const serialized = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__.internal_serializeStyles)(styles);
  if (styles !== serialized && serialized.styles) {
    if (!serialized.styles.match(/^@layer\s+[^{]*$/)) {
      // If the styles are not already wrapped in a layer, wrap them in a global layer.
      serialized.styles = `@layer global{${serialized.styles}}`;
    }
    return serialized;
  }
  return styles;
}
function GlobalStyles({
  styles,
  themeId,
  defaultTheme = {}
}) {
  const upperTheme = (0,_useTheme_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(defaultTheme);
  const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
  let globalStyles = typeof styles === 'function' ? styles(resolvedTheme) : styles;
  if (resolvedTheme.modularCssLayers) {
    if (Array.isArray(globalStyles)) {
      globalStyles = globalStyles.map(styleArg => {
        if (typeof styleArg === 'function') {
          return wrapGlobalLayer(styleArg(resolvedTheme));
        }
        return wrapGlobalLayer(styleArg);
      });
    } else {
      globalStyles = wrapGlobalLayer(globalStyles);
    }
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__["default"], {
    styles: globalStyles
  });
}
 true ? GlobalStyles.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * @ignore
   */
  defaultTheme: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
  /**
   * @ignore
   */
  styles: prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.array, prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.bool]),
  /**
   * @ignore
   */
  themeId: prop_types__WEBPACK_IMPORTED_MODULE_0__.string
} : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GlobalStyles);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/createGrid.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/createGrid.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createGrid)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_isMuiElement__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/isMuiElement */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styled/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styled/styled.js");
/* harmony import */ var _useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../useThemeProps/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js");
/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js");
/* harmony import */ var _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../styleFunctionSx/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js");
/* harmony import */ var _createTheme_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../createTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js");
/* harmony import */ var _gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./gridGenerator.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/gridGenerator.js");
/* harmony import */ var _deleteLegacyGridProps_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./deleteLegacyGridProps.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';















const defaultTheme = (0,_createTheme_index_js__WEBPACK_IMPORTED_MODULE_10__["default"])();

// widening Theme to any so that the consumer can own the theme structure.
const defaultCreateStyledComponent = (0,_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiGrid',
  slot: 'Root'
});
function useThemePropsDefault(props) {
  return (0,_useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
    props,
    name: 'MuiGrid',
    defaultTheme
  });
}
function createGrid(options = {}) {
  const {
    // This will allow adding custom styled fn (for example for custom sx style function)
    createStyledComponent = defaultCreateStyledComponent,
    useThemeProps = useThemePropsDefault,
    useTheme = _useTheme_index_js__WEBPACK_IMPORTED_MODULE_8__["default"],
    componentName = 'MuiGrid'
  } = options;
  const useUtilityClasses = (ownerState, theme) => {
    const {
      container,
      direction,
      spacing,
      wrap,
      size
    } = ownerState;
    const slots = {
      root: ['root', container && 'container', wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, ...(0,_gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateDirectionClasses)(direction), ...(0,_gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateSizeClassNames)(size), ...(container ? (0,_gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateSpacingClassNames)(spacing, theme.breakpoints.keys[0]) : [])]
    };
    return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, slot => (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_4__["default"])(componentName, slot), {});
  };
  function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {
    const parsedProp = {};
    if (propValue === null) {
      return parsedProp;
    }
    if (Array.isArray(propValue)) {
      propValue.forEach((value, index) => {
        if (value !== null && shouldUseValue(value) && breakpoints.keys[index]) {
          parsedProp[breakpoints.keys[index]] = value;
        }
      });
    } else if (typeof propValue === 'object') {
      Object.keys(propValue).forEach(key => {
        const value = propValue[key];
        if (value !== null && value !== undefined && shouldUseValue(value)) {
          parsedProp[key] = value;
        }
      });
    } else {
      parsedProp[breakpoints.keys[0]] = propValue;
    }
    return parsedProp;
  }
  const GridRoot = createStyledComponent(_gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateGridColumnsStyles, _gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateGridColumnSpacingStyles, _gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateGridRowSpacingStyles, _gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateGridSizeStyles, _gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateGridDirectionStyles, _gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateGridStyles, _gridGenerator_js__WEBPACK_IMPORTED_MODULE_11__.generateGridOffsetStyles);
  const Grid = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Grid(inProps, ref) {
    const theme = useTheme();
    const themeProps = useThemeProps(inProps);
    const props = (0,_styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])(themeProps); // `color` type conflicts with html color attribute.

    // TODO v8: Remove when removing the legacy Grid component
    (0,_deleteLegacyGridProps_js__WEBPACK_IMPORTED_MODULE_12__["default"])(props, theme.breakpoints);
    const {
      className,
      children,
      columns: columnsProp = 12,
      container = false,
      component = 'div',
      direction = 'row',
      wrap = 'wrap',
      size: sizeProp = {},
      offset: offsetProp = {},
      spacing: spacingProp = 0,
      rowSpacing: rowSpacingProp = spacingProp,
      columnSpacing: columnSpacingProp = spacingProp,
      unstable_level: level = 0,
      ...other
    } = props;
    const size = parseResponsiveProp(sizeProp, theme.breakpoints, val => val !== false);
    const offset = parseResponsiveProp(offsetProp, theme.breakpoints);
    const columns = inProps.columns ?? (level ? undefined : columnsProp);
    const spacing = inProps.spacing ?? (level ? undefined : spacingProp);
    const rowSpacing = inProps.rowSpacing ?? inProps.spacing ?? (level ? undefined : rowSpacingProp);
    const columnSpacing = inProps.columnSpacing ?? inProps.spacing ?? (level ? undefined : columnSpacingProp);
    const ownerState = {
      ...props,
      level,
      columns,
      container,
      direction,
      wrap,
      spacing,
      rowSpacing,
      columnSpacing,
      size,
      offset
    };
    const classes = useUtilityClasses(ownerState, theme);
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_13__.jsx)(GridRoot, {
      ref: ref,
      as: component,
      ownerState: ownerState,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ...other,
      children: react__WEBPACK_IMPORTED_MODULE_0__.Children.map(children, child => {
        if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child) && (0,_mui_utils_isMuiElement__WEBPACK_IMPORTED_MODULE_3__["default"])(child, ['Grid']) && container && child.props.container) {
          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(child, {
            unstable_level: child.props?.unstable_level ?? level + 1
          });
        }
        return child;
      })
    });
  });
   true ? Grid.propTypes /* remove-proptypes */ = {
    children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    className: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    columns: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.number), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    columnSpacing: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string])), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
    component: prop_types__WEBPACK_IMPORTED_MODULE_1__.elementType,
    container: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    direction: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    offset: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.string, prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.string, prop_types__WEBPACK_IMPORTED_MODULE_1__.number])), prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    rowSpacing: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string])), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
    size: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.string, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool, prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.string, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool, prop_types__WEBPACK_IMPORTED_MODULE_1__.number])), prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    spacing: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string])), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
    sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    wrap: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['nowrap', 'wrap-reverse', 'wrap'])
  } : 0;

  // @ts-ignore internal logic for nested grid
  Grid.muiName = 'Grid';
  return Grid;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ deleteLegacyGridProps)
/* harmony export */ });
const getLegacyGridWarning = propName => {
  if (['item', 'zeroMinWidth'].includes(propName)) {
    return `The \`${propName}\` prop has been removed and is no longer necessary. You can safely remove it.`;
  }

  // #host-reference
  return `The \`${propName}\` prop has been removed. See https://v7.mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`;
};
const warnedAboutProps = [];

/**
 * Deletes the legacy Grid component props from the `props` object and warns once about them if found.
 *
 * @param {object} props The props object to remove the legacy Grid props from.
 * @param {Breakpoints} breakpoints The breakpoints object.
 */
function deleteLegacyGridProps(props, breakpoints) {
  const propsToWarn = [];
  if (props.item !== undefined) {
    delete props.item;
    propsToWarn.push('item');
  }
  if (props.zeroMinWidth !== undefined) {
    delete props.zeroMinWidth;
    propsToWarn.push('zeroMinWidth');
  }
  breakpoints.keys.forEach(breakpoint => {
    if (props[breakpoint] !== undefined) {
      propsToWarn.push(breakpoint);
      delete props[breakpoint];
    }
  });
  if (true) {
    propsToWarn.forEach(prop => {
      if (!warnedAboutProps.includes(prop)) {
        warnedAboutProps.push(prop);
        console.warn(`MUI Grid: ${getLegacyGridWarning(prop)}\n`);
      }
    });
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/gridGenerator.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/gridGenerator.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   generateDirectionClasses: () => (/* binding */ generateDirectionClasses),
/* harmony export */   generateGridColumnSpacingStyles: () => (/* binding */ generateGridColumnSpacingStyles),
/* harmony export */   generateGridColumnsStyles: () => (/* binding */ generateGridColumnsStyles),
/* harmony export */   generateGridDirectionStyles: () => (/* binding */ generateGridDirectionStyles),
/* harmony export */   generateGridOffsetStyles: () => (/* binding */ generateGridOffsetStyles),
/* harmony export */   generateGridRowSpacingStyles: () => (/* binding */ generateGridRowSpacingStyles),
/* harmony export */   generateGridSizeStyles: () => (/* binding */ generateGridSizeStyles),
/* harmony export */   generateGridStyles: () => (/* binding */ generateGridStyles),
/* harmony export */   generateSizeClassNames: () => (/* binding */ generateSizeClassNames),
/* harmony export */   generateSpacingClassNames: () => (/* binding */ generateSpacingClassNames)
/* harmony export */ });
/* harmony import */ var _traverseBreakpoints_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./traverseBreakpoints.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js");

function getSelfSpacingVar(axis) {
  return `--Grid-${axis}Spacing`;
}
function getParentSpacingVar(axis) {
  return `--Grid-parent-${axis}Spacing`;
}
const selfColumnsVar = '--Grid-columns';
const parentColumnsVar = '--Grid-parent-columns';
const generateGridSizeStyles = ({
  theme,
  ownerState
}) => {
  const styles = {};
  (0,_traverseBreakpoints_js__WEBPACK_IMPORTED_MODULE_0__.traverseBreakpoints)(theme.breakpoints, ownerState.size, (appendStyle, value) => {
    let style = {};
    if (value === 'grow') {
      style = {
        flexBasis: 0,
        flexGrow: 1,
        maxWidth: '100%'
      };
    }
    if (value === 'auto') {
      style = {
        flexBasis: 'auto',
        flexGrow: 0,
        flexShrink: 0,
        maxWidth: 'none',
        width: 'auto'
      };
    }
    if (typeof value === 'number') {
      style = {
        flexGrow: 0,
        flexBasis: 'auto',
        width: `calc(100% * ${value} / var(${parentColumnsVar}) - (var(${parentColumnsVar}) - ${value}) * (var(${getParentSpacingVar('column')}) / var(${parentColumnsVar})))`
      };
    }
    appendStyle(styles, style);
  });
  return styles;
};
const generateGridOffsetStyles = ({
  theme,
  ownerState
}) => {
  const styles = {};
  (0,_traverseBreakpoints_js__WEBPACK_IMPORTED_MODULE_0__.traverseBreakpoints)(theme.breakpoints, ownerState.offset, (appendStyle, value) => {
    let style = {};
    if (value === 'auto') {
      style = {
        marginLeft: 'auto'
      };
    }
    if (typeof value === 'number') {
      style = {
        marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / var(${parentColumnsVar}) + var(${getParentSpacingVar('column')}) * ${value} / var(${parentColumnsVar}))`
      };
    }
    appendStyle(styles, style);
  });
  return styles;
};
const generateGridColumnsStyles = ({
  theme,
  ownerState
}) => {
  if (!ownerState.container) {
    return {};
  }
  const styles = {
    [selfColumnsVar]: 12
  };
  (0,_traverseBreakpoints_js__WEBPACK_IMPORTED_MODULE_0__.traverseBreakpoints)(theme.breakpoints, ownerState.columns, (appendStyle, value) => {
    const columns = value ?? 12;
    appendStyle(styles, {
      [selfColumnsVar]: columns,
      '> *': {
        [parentColumnsVar]: columns
      }
    });
  });
  return styles;
};
const generateGridRowSpacingStyles = ({
  theme,
  ownerState
}) => {
  if (!ownerState.container) {
    return {};
  }
  const styles = {};
  (0,_traverseBreakpoints_js__WEBPACK_IMPORTED_MODULE_0__.traverseBreakpoints)(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {
    const spacing = typeof value === 'string' ? value : theme.spacing?.(value);
    appendStyle(styles, {
      [getSelfSpacingVar('row')]: spacing,
      '> *': {
        [getParentSpacingVar('row')]: spacing
      }
    });
  });
  return styles;
};
const generateGridColumnSpacingStyles = ({
  theme,
  ownerState
}) => {
  if (!ownerState.container) {
    return {};
  }
  const styles = {};
  (0,_traverseBreakpoints_js__WEBPACK_IMPORTED_MODULE_0__.traverseBreakpoints)(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {
    const spacing = typeof value === 'string' ? value : theme.spacing?.(value);
    appendStyle(styles, {
      [getSelfSpacingVar('column')]: spacing,
      '> *': {
        [getParentSpacingVar('column')]: spacing
      }
    });
  });
  return styles;
};
const generateGridDirectionStyles = ({
  theme,
  ownerState
}) => {
  if (!ownerState.container) {
    return {};
  }
  const styles = {};
  (0,_traverseBreakpoints_js__WEBPACK_IMPORTED_MODULE_0__.traverseBreakpoints)(theme.breakpoints, ownerState.direction, (appendStyle, value) => {
    appendStyle(styles, {
      flexDirection: value
    });
  });
  return styles;
};
const generateGridStyles = ({
  ownerState
}) => {
  return {
    minWidth: 0,
    boxSizing: 'border-box',
    ...(ownerState.container && {
      display: 'flex',
      flexWrap: 'wrap',
      ...(ownerState.wrap && ownerState.wrap !== 'wrap' && {
        flexWrap: ownerState.wrap
      }),
      gap: `var(${getSelfSpacingVar('row')}) var(${getSelfSpacingVar('column')})`
    })
  };
};
const generateSizeClassNames = size => {
  const classNames = [];
  Object.entries(size).forEach(([key, value]) => {
    if (value !== false && value !== undefined) {
      classNames.push(`grid-${key}-${String(value)}`);
    }
  });
  return classNames;
};
const generateSpacingClassNames = (spacing, smallestBreakpoint = 'xs') => {
  function isValidSpacing(val) {
    if (val === undefined) {
      return false;
    }
    return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;
  }
  if (isValidSpacing(spacing)) {
    return [`spacing-${smallestBreakpoint}-${String(spacing)}`];
  }
  if (typeof spacing === 'object' && !Array.isArray(spacing)) {
    const classNames = [];
    Object.entries(spacing).forEach(([key, value]) => {
      if (isValidSpacing(value)) {
        classNames.push(`spacing-${key}-${String(value)}`);
      }
    });
    return classNames;
  }
  return [];
};
const generateDirectionClasses = direction => {
  if (direction === undefined) {
    return [];
  }
  if (typeof direction === 'object') {
    return Object.entries(direction).map(([key, value]) => `direction-${key}-${value}`);
  }
  return [`direction-xs-${String(direction)}`];
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   filterBreakpointKeys: () => (/* binding */ filterBreakpointKeys),
/* harmony export */   traverseBreakpoints: () => (/* binding */ traverseBreakpoints)
/* harmony export */ });
const filterBreakpointKeys = (breakpointsKeys, responsiveKeys) => breakpointsKeys.filter(key => responsiveKeys.includes(key));
const traverseBreakpoints = (breakpoints, responsive, iterator) => {
  const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.

  if (Array.isArray(responsive)) {
    responsive.forEach((breakpointValue, index) => {
      iterator((responsiveStyles, style) => {
        if (index <= breakpoints.keys.length - 1) {
          if (index === 0) {
            Object.assign(responsiveStyles, style);
          } else {
            responsiveStyles[breakpoints.up(breakpoints.keys[index])] = style;
          }
        }
      }, breakpointValue);
    });
  } else if (responsive && typeof responsive === 'object') {
    // prevent null
    // responsive could be a very big object, pick the smallest responsive values

    const keys = Object.keys(responsive).length > breakpoints.keys.length ? breakpoints.keys : filterBreakpointKeys(breakpoints.keys, Object.keys(responsive));
    keys.forEach(key => {
      if (breakpoints.keys.includes(key)) {
        // @ts-ignore already checked that responsive is an object
        const breakpointValue = responsive[key];
        if (breakpointValue !== undefined) {
          iterator((responsiveStyles, style) => {
            if (smallestBreakpoint === key) {
              Object.assign(responsiveStyles, style);
            } else {
              responsiveStyles[breakpoints.up(key)] = style;
            }
          }, breakpointValue);
        }
      }
    });
  } else if (typeof responsive === 'number' || typeof responsive === 'string') {
    iterator((responsiveStyles, style) => {
      Object.assign(responsiveStyles, style);
    }, responsive);
  }
};

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js"
/*!*********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js ***!
  \*********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DEFAULT_ATTRIBUTE: () => (/* binding */ DEFAULT_ATTRIBUTE),
/* harmony export */   DEFAULT_COLOR_SCHEME_STORAGE_KEY: () => (/* binding */ DEFAULT_COLOR_SCHEME_STORAGE_KEY),
/* harmony export */   DEFAULT_MODE_STORAGE_KEY: () => (/* binding */ DEFAULT_MODE_STORAGE_KEY),
/* harmony export */   "default": () => (/* binding */ InitColorSchemeScript)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");

const DEFAULT_MODE_STORAGE_KEY = 'mode';
const DEFAULT_COLOR_SCHEME_STORAGE_KEY = 'color-scheme';
const DEFAULT_ATTRIBUTE = 'data-color-scheme';
function InitColorSchemeScript(options) {
  const {
    defaultMode = 'system',
    defaultLightColorScheme = 'light',
    defaultDarkColorScheme = 'dark',
    modeStorageKey = DEFAULT_MODE_STORAGE_KEY,
    colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,
    attribute: initialAttribute = DEFAULT_ATTRIBUTE,
    colorSchemeNode = 'document.documentElement',
    nonce
  } = options || {};
  let setter = '';
  let attribute = initialAttribute;
  if (initialAttribute === 'class') {
    attribute = '.%s';
  }
  if (initialAttribute === 'data') {
    attribute = '[data-%s]';
  }
  if (attribute.startsWith('.')) {
    const selector = attribute.substring(1);
    setter += `${colorSchemeNode}.classList.remove('${selector}'.replace('%s', light), '${selector}'.replace('%s', dark));
      ${colorSchemeNode}.classList.add('${selector}'.replace('%s', colorScheme));`;
  }
  const matches = attribute.match(/\[([^[\]]+)\]/); // case [data-color-scheme='%s'] or [data-color-scheme]
  if (matches) {
    const [attr, value] = matches[1].split('=');
    if (!value) {
      setter += `${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', light));
      ${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', dark));`;
    }
    setter += `
      ${colorSchemeNode}.setAttribute('${attr}'.replace('%s', colorScheme), ${value ? `${value}.replace('%s', colorScheme)` : '""'});`;
  } else if (attribute !== '.%s') {
    setter += `${colorSchemeNode}.setAttribute('${attribute}', colorScheme);`;
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("script", {
    suppressHydrationWarning: true,
    nonce: typeof window === 'undefined' ? nonce : ''
    // eslint-disable-next-line react/no-danger
    ,
    dangerouslySetInnerHTML: {
      __html: `(function() {
try {
  let colorScheme = '';
  const mode = localStorage.getItem('${modeStorageKey}') || '${defaultMode}';
  const dark = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
  const light = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
  if (mode === 'system') {
    // handle system mode
    const mql = window.matchMedia('(prefers-color-scheme: dark)');
    if (mql.matches) {
      colorScheme = dark
    } else {
      colorScheme = light
    }
  }
  if (mode === 'light') {
    colorScheme = light;
  }
  if (mode === 'dark') {
    colorScheme = dark;
  }
  if (colorScheme) {
    ${setter}
  }
} catch(e){}})();`
    }
  }, "mui-color-scheme-init");
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   useRtl: () => (/* binding */ useRtl)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';




const RtlContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext();
function RtlProvider({
  value,
  ...props
}) {
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(RtlContext.Provider, {
    value: value ?? true,
    ...props
  });
}
 true ? RtlProvider.propTypes = {
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  value: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool
} : 0;
const useRtl = () => {
  const value = react__WEBPACK_IMPORTED_MODULE_0__.useContext(RtlContext);
  return value ?? false;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RtlProvider);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Stack/createStack.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/Stack/createStack.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createStack),
/* harmony export */   style: () => (/* binding */ style)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/generateUtilityClass */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");
/* harmony import */ var _mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/utils/composeClasses */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js");
/* harmony import */ var _styled_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styled/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styled/styled.js");
/* harmony import */ var _useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../useThemeProps/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js");
/* harmony import */ var _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../styleFunctionSx/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js");
/* harmony import */ var _createTheme_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../createTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js");
/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js");
/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';














const defaultTheme = (0,_createTheme_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])();
// widening Theme to any so that the consumer can own the theme structure.
const defaultCreateStyledComponent = (0,_styled_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])('div', {
  name: 'MuiStack',
  slot: 'Root'
});
function useThemePropsDefault(props) {
  return (0,_useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
    props,
    name: 'MuiStack',
    defaultTheme
  });
}

/**
 * Return an array with the separator React element interspersed between
 * each React node of the input children.
 *
 * > joinChildren([1,2,3], 0)
 * [1,0,2,0,3]
 */
function joinChildren(children, separator) {
  const childrenArray = react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(children).filter(Boolean);
  return childrenArray.reduce((output, child, index) => {
    output.push(child);
    if (index < childrenArray.length - 1) {
      output.push(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(separator, {
        key: `separator-${index}`
      }));
    }
    return output;
  }, []);
}
const getSideFromDirection = direction => {
  return {
    row: 'Left',
    'row-reverse': 'Right',
    column: 'Top',
    'column-reverse': 'Bottom'
  }[direction];
};
const style = ({
  ownerState,
  theme
}) => {
  let styles = {
    display: 'flex',
    flexDirection: 'column',
    ...(0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_10__.handleBreakpoints)({
      theme
    }, (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_10__.resolveBreakpointValues)({
      values: ownerState.direction,
      breakpoints: theme.breakpoints.values
    }), propValue => ({
      flexDirection: propValue
    }))
  };
  if (ownerState.spacing) {
    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_11__.createUnarySpacing)(theme);
    const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
      if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {
        acc[breakpoint] = true;
      }
      return acc;
    }, {});
    const directionValues = (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_10__.resolveBreakpointValues)({
      values: ownerState.direction,
      base
    });
    const spacingValues = (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_10__.resolveBreakpointValues)({
      values: ownerState.spacing,
      base
    });
    if (typeof directionValues === 'object') {
      Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {
        const directionValue = directionValues[breakpoint];
        if (!directionValue) {
          const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';
          directionValues[breakpoint] = previousDirectionValue;
        }
      });
    }
    const styleFromPropValue = (propValue, breakpoint) => {
      if (ownerState.useFlexGap) {
        return {
          gap: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_11__.getValue)(transformer, propValue)
        };
      }
      return {
        // The useFlexGap={false} implement relies on each child to give up control of the margin.
        // We need to reset the margin to avoid double spacing.
        '& > :not(style):not(style)': {
          margin: 0
        },
        '& > :not(style) ~ :not(style)': {
          [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_11__.getValue)(transformer, propValue)
        }
      };
    };
    styles = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_3__["default"])(styles, (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_10__.handleBreakpoints)({
      theme
    }, spacingValues, styleFromPropValue));
  }
  styles = (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_10__.mergeBreakpointsInOrder)(theme.breakpoints, styles);
  return styles;
};
function createStack(options = {}) {
  const {
    // This will allow adding custom styled fn (for example for custom sx style function)
    createStyledComponent = defaultCreateStyledComponent,
    useThemeProps = useThemePropsDefault,
    componentName = 'MuiStack'
  } = options;
  const useUtilityClasses = () => {
    const slots = {
      root: ['root']
    };
    return (0,_mui_utils_composeClasses__WEBPACK_IMPORTED_MODULE_5__["default"])(slots, slot => (0,_mui_utils_generateUtilityClass__WEBPACK_IMPORTED_MODULE_4__["default"])(componentName, slot), {});
  };
  const StackRoot = createStyledComponent(style);
  const Stack = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Grid(inProps, ref) {
    const themeProps = useThemeProps(inProps);
    const props = (0,_styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_8__["default"])(themeProps); // `color` type conflicts with html color attribute.
    const {
      component = 'div',
      direction = 'column',
      spacing = 0,
      divider,
      children,
      className,
      useFlexGap = false,
      ...other
    } = props;
    const ownerState = {
      direction,
      spacing,
      useFlexGap
    };
    const classes = useUtilityClasses();
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(StackRoot, {
      as: component,
      ownerState: ownerState,
      ref: ref,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(classes.root, className),
      ...other,
      children: divider ? joinChildren(children, divider) : children
    });
  });
   true ? Stack.propTypes /* remove-proptypes */ = {
    children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    direction: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), prop_types__WEBPACK_IMPORTED_MODULE_1__.object]),
    divider: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    spacing: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.string])), prop_types__WEBPACK_IMPORTED_MODULE_1__.number, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.string]),
    sx: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object, prop_types__WEBPACK_IMPORTED_MODULE_1__.bool])), prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object])
  } : 0;
  return Stack;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_private_theming__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/private-theming */ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/useTheme.js");
/* harmony import */ var _mui_private_theming__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/private-theming */ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js");
/* harmony import */ var _mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/exactProp */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js");
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
/* harmony import */ var _useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../useThemeWithoutDefault/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js");
/* harmony import */ var _RtlProvider_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../RtlProvider/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/RtlProvider/index.js");
/* harmony import */ var _DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultPropsProvider/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js");
/* harmony import */ var _useLayerOrder_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./useLayerOrder.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';











const EMPTY_THEME = {};
function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
    if (typeof localTheme === 'function') {
      const mergedTheme = localTheme(resolvedTheme);
      const result = themeId ? {
        ...upperTheme,
        [themeId]: mergedTheme
      } : mergedTheme;
      // must return a function for the private theme to NOT merge with the upper theme.
      // see the test case "use provided theme from a callback" in ThemeProvider.test.js
      if (isPrivate) {
        return () => result;
      }
      return result;
    }
    return themeId ? {
      ...upperTheme,
      [themeId]: localTheme
    } : {
      ...upperTheme,
      ...localTheme
    };
  }, [themeId, upperTheme, localTheme, isPrivate]);
}

/**
 * This component makes the `theme` available down the React tree.
 * It should preferably be used at **the root of your component tree**.
 *
 * <ThemeProvider theme={theme}> // existing use case
 * <ThemeProvider theme={{ id: theme }}> // theme scoping
 */
function ThemeProvider(props) {
  const {
    children,
    theme: localTheme,
    themeId
  } = props;
  const upperTheme = (0,_useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_6__["default"])(EMPTY_THEME);
  const upperPrivateTheme = (0,_mui_private_theming__WEBPACK_IMPORTED_MODULE_2__["default"])() || EMPTY_THEME;
  if (true) {
    if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {
      console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
    }
  }
  const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);
  const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);
  const rtlValue = (themeId ? engineTheme[themeId] : engineTheme).direction === 'rtl';
  const layerOrder = (0,_useLayerOrder_js__WEBPACK_IMPORTED_MODULE_9__["default"])(engineTheme);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_mui_private_theming__WEBPACK_IMPORTED_MODULE_3__["default"], {
    theme: privateTheme,
    children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_mui_styled_engine__WEBPACK_IMPORTED_MODULE_5__.T.Provider, {
      value: engineTheme,
      children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_RtlProvider_index_js__WEBPACK_IMPORTED_MODULE_7__["default"], {
        value: rtlValue,
        children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(_DefaultPropsProvider_index_js__WEBPACK_IMPORTED_MODULE_8__["default"], {
          value: themeId ? engineTheme[themeId].components : engineTheme.components,
          children: [layerOrder, children]
        })
      })
    })
  });
}
 true ? ThemeProvider.propTypes /* remove-proptypes */ = {
  // ┌────────────────────────────── Warning ──────────────────────────────┐
  // │ These PropTypes are generated from the TypeScript type definitions. │
  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │
  // └─────────────────────────────────────────────────────────────────────┘
  /**
   * Your component tree.
   */
  children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
  /**
   * A theme object. You can provide a function to extend the outer theme.
   */
  theme: prop_types__WEBPACK_IMPORTED_MODULE_1__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1__.func, prop_types__WEBPACK_IMPORTED_MODULE_1__.object]).isRequired,
  /**
   * The design system's unique id for getting the corresponded theme when there are multiple design systems.
   */
  themeId: prop_types__WEBPACK_IMPORTED_MODULE_1__.string
} : 0;
if (true) {
   true ? ThemeProvider.propTypes = (0,_mui_utils_exactProp__WEBPACK_IMPORTED_MODULE_4__["default"])(ThemeProvider.propTypes) : 0;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ThemeProvider);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useLayerOrder)
/* harmony export */ });
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _mui_utils_useId__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/useId */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js");
/* harmony import */ var _GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../GlobalStyles/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js");
/* harmony import */ var _useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../useThemeWithoutDefault/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");





/**
 * This hook returns a `GlobalStyles` component that sets the CSS layer order (for server-side rendering).
 * Then on client-side, it injects the CSS layer order into the document head to ensure that the layer order is always present first before other Emotion styles.
 */

function useLayerOrder(theme) {
  const upperTheme = (0,_useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
  const id = (0,_mui_utils_useId__WEBPACK_IMPORTED_MODULE_1__["default"])() || '';
  const {
    modularCssLayers
  } = theme;
  let layerOrder = 'mui.global, mui.components, mui.theme, mui.custom, mui.sx';
  if (!modularCssLayers || upperTheme !== null) {
    // skip this hook if upper theme exists.
    layerOrder = '';
  } else if (typeof modularCssLayers === 'string') {
    layerOrder = modularCssLayers.replace(/mui(?!\.)/g, layerOrder);
  } else {
    layerOrder = `@layer ${layerOrder};`;
  }
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_0__["default"])(() => {
    const head = document.querySelector('head');
    if (!head) {
      return;
    }
    const firstChild = head.firstChild;
    if (layerOrder) {
      // Only insert if first child doesn't have data-mui-layer-order attribute
      if (firstChild && firstChild.hasAttribute?.('data-mui-layer-order') && firstChild.getAttribute('data-mui-layer-order') === id) {
        return;
      }
      const styleElement = document.createElement('style');
      styleElement.setAttribute('data-mui-layer-order', id);
      styleElement.textContent = layerOrder;
      head.prepend(styleElement);
    } else {
      head.querySelector(`style[data-mui-layer-order="${id}"]`)?.remove();
    }
  }, [layerOrder, id]);
  if (!layerOrder) {
    return null;
  }
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_GlobalStyles_index_js__WEBPACK_IMPORTED_MODULE_2__["default"], {
    styles: layerOrder
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/borders/borders.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/borders/borders.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   border: () => (/* binding */ border),
/* harmony export */   borderBottom: () => (/* binding */ borderBottom),
/* harmony export */   borderBottomColor: () => (/* binding */ borderBottomColor),
/* harmony export */   borderColor: () => (/* binding */ borderColor),
/* harmony export */   borderLeft: () => (/* binding */ borderLeft),
/* harmony export */   borderLeftColor: () => (/* binding */ borderLeftColor),
/* harmony export */   borderRadius: () => (/* binding */ borderRadius),
/* harmony export */   borderRight: () => (/* binding */ borderRight),
/* harmony export */   borderRightColor: () => (/* binding */ borderRightColor),
/* harmony export */   borderTop: () => (/* binding */ borderTop),
/* harmony export */   borderTopColor: () => (/* binding */ borderTopColor),
/* harmony export */   borderTransform: () => (/* binding */ borderTransform),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   outline: () => (/* binding */ outline),
/* harmony export */   outlineColor: () => (/* binding */ outlineColor)
/* harmony export */ });
/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");
/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js");
/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/compose/compose.js");
/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js");
/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js");





function borderTransform(value) {
  if (typeof value !== 'number') {
    return value;
  }
  return `${value}px solid`;
}
function createBorderStyle(prop, transform) {
  return (0,_style_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
    prop,
    themeKey: 'borders',
    transform
  });
}
const border = createBorderStyle('border', borderTransform);
const borderTop = createBorderStyle('borderTop', borderTransform);
const borderRight = createBorderStyle('borderRight', borderTransform);
const borderBottom = createBorderStyle('borderBottom', borderTransform);
const borderLeft = createBorderStyle('borderLeft', borderTransform);
const borderColor = createBorderStyle('borderColor');
const borderTopColor = createBorderStyle('borderTopColor');
const borderRightColor = createBorderStyle('borderRightColor');
const borderBottomColor = createBorderStyle('borderBottomColor');
const borderLeftColor = createBorderStyle('borderLeftColor');
const outline = createBorderStyle('outline', borderTransform);
const outlineColor = createBorderStyle('outlineColor');

// false positive
// eslint-disable-next-line react/function-component-definition
const borderRadius = props => {
  if (props.borderRadius !== undefined && props.borderRadius !== null) {
    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_3__.createUnaryUnit)(props.theme, 'shape.borderRadius', 4, 'borderRadius');
    const styleFromPropValue = propValue => ({
      borderRadius: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_3__.getValue)(transformer, propValue)
    });
    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_4__.handleBreakpoints)(props, props.borderRadius, styleFromPropValue);
  }
  return null;
};
borderRadius.propTypes =  true ? {
  borderRadius: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"]
} : 0;
borderRadius.filterProps = ['borderRadius'];
const borders = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (borders);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   computeBreakpointsBase: () => (/* binding */ computeBreakpointsBase),
/* harmony export */   createEmptyBreakpointObject: () => (/* binding */ createEmptyBreakpointObject),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   handleBreakpoints: () => (/* binding */ handleBreakpoints),
/* harmony export */   mergeBreakpointsInOrder: () => (/* binding */ mergeBreakpointsInOrder),
/* harmony export */   removeUnusedBreakpoints: () => (/* binding */ removeUnusedBreakpoints),
/* harmony export */   resolveBreakpointValues: () => (/* binding */ resolveBreakpointValues),
/* harmony export */   values: () => (/* binding */ values)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/merge/merge.js");
/* harmony import */ var _cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cssContainerQueries/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js");





// The breakpoint **start** at this value.
// For instance with the first breakpoint xs: [xs, sm[.
const values = {
  xs: 0,
  // phone
  sm: 600,
  // tablet
  md: 900,
  // small laptop
  lg: 1200,
  // desktop
  xl: 1536 // large screen
};
const defaultBreakpoints = {
  // 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: key => `@media (min-width:${values[key]}px)`
};
const defaultContainerQueries = {
  containerQueries: containerName => ({
    up: key => {
      let result = typeof key === 'number' ? key : values[key] || key;
      if (typeof result === 'number') {
        result = `${result}px`;
      }
      return containerName ? `@container ${containerName} (min-width:${result})` : `@container (min-width:${result})`;
    }
  })
};
function handleBreakpoints(props, propValue, styleFromPropValue) {
  const theme = props.theme || {};
  if (Array.isArray(propValue)) {
    const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
    return propValue.reduce((acc, item, index) => {
      acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
      return acc;
    }, {});
  }
  if (typeof propValue === 'object') {
    const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
    return Object.keys(propValue).reduce((acc, breakpoint) => {
      if ((0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_3__.isCqShorthand)(themeBreakpoints.keys, breakpoint)) {
        const containerKey = (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_3__.getContainerQuery)(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);
        if (containerKey) {
          acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
        }
      }
      // key is breakpoint
      else if (Object.keys(themeBreakpoints.values || values).includes(breakpoint)) {
        const mediaKey = themeBreakpoints.up(breakpoint);
        acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
      } else {
        const cssKey = breakpoint;
        acc[cssKey] = propValue[cssKey];
      }
      return acc;
    }, {});
  }
  const output = styleFromPropValue(propValue);
  return output;
}
function breakpoints(styleFunction) {
  // false positive
  // eslint-disable-next-line react/function-component-definition
  const newStyleFunction = props => {
    const theme = props.theme || {};
    const base = styleFunction(props);
    const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
    const extended = themeBreakpoints.keys.reduce((acc, key) => {
      if (props[key]) {
        acc = acc || {};
        acc[themeBreakpoints.up(key)] = styleFunction({
          theme,
          ...props[key]
        });
      }
      return acc;
    }, null);
    return (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(base, extended);
  };
  newStyleFunction.propTypes =  true ? {
    ...styleFunction.propTypes,
    xs: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
    sm: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
    md: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
    lg: prop_types__WEBPACK_IMPORTED_MODULE_0__.object,
    xl: prop_types__WEBPACK_IMPORTED_MODULE_0__.object
  } : 0;
  newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];
  return newStyleFunction;
}
function createEmptyBreakpointObject(breakpointsInput = {}) {
  const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {
    const breakpointStyleKey = breakpointsInput.up(key);
    acc[breakpointStyleKey] = {};
    return acc;
  }, {});
  return breakpointsInOrder || {};
}
function removeUnusedBreakpoints(breakpointKeys, style) {
  return breakpointKeys.reduce((acc, key) => {
    const breakpointOutput = acc[key];
    const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
    if (isBreakpointUnused) {
      delete acc[key];
    }
    return acc;
  }, style);
}
function mergeBreakpointsInOrder(breakpointsInput, ...styles) {
  const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
  const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__["default"])(prev, next), {});
  return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
}

// compute base for responsive values; e.g.,
// [1,2,3] => {xs: true, sm: true, md: true}
// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}
function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
  // fixed value
  if (typeof breakpointValues !== 'object') {
    return {};
  }
  const base = {};
  const breakpointsKeys = Object.keys(themeBreakpoints);
  if (Array.isArray(breakpointValues)) {
    breakpointsKeys.forEach((breakpoint, i) => {
      if (i < breakpointValues.length) {
        base[breakpoint] = true;
      }
    });
  } else {
    breakpointsKeys.forEach(breakpoint => {
      if (breakpointValues[breakpoint] != null) {
        base[breakpoint] = true;
      }
    });
  }
  return base;
}
function resolveBreakpointValues({
  values: breakpointValues,
  breakpoints: themeBreakpoints,
  base: customBase
}) {
  const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);
  const keys = Object.keys(base);
  if (keys.length === 0) {
    return breakpointValues;
  }
  let previous;
  return keys.reduce((acc, breakpoint, i) => {
    if (Array.isArray(breakpointValues)) {
      acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];
      previous = i;
    } else if (typeof breakpointValues === 'object') {
      acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];
      previous = breakpoint;
    } else {
      acc[breakpoint] = breakpointValues;
    }
    return acc;
  }, {});
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (breakpoints);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   alpha: () => (/* binding */ alpha),
/* harmony export */   blend: () => (/* binding */ blend),
/* harmony export */   colorChannel: () => (/* binding */ colorChannel),
/* harmony export */   darken: () => (/* binding */ darken),
/* harmony export */   decomposeColor: () => (/* binding */ decomposeColor),
/* harmony export */   emphasize: () => (/* binding */ emphasize),
/* harmony export */   getContrastRatio: () => (/* binding */ getContrastRatio),
/* harmony export */   getLuminance: () => (/* binding */ getLuminance),
/* harmony export */   hexToRgb: () => (/* binding */ hexToRgb),
/* harmony export */   hslToRgb: () => (/* binding */ hslToRgb),
/* harmony export */   lighten: () => (/* binding */ lighten),
/* harmony export */   private_safeAlpha: () => (/* binding */ private_safeAlpha),
/* harmony export */   private_safeColorChannel: () => (/* binding */ private_safeColorChannel),
/* harmony export */   private_safeDarken: () => (/* binding */ private_safeDarken),
/* harmony export */   private_safeEmphasize: () => (/* binding */ private_safeEmphasize),
/* harmony export */   private_safeLighten: () => (/* binding */ private_safeLighten),
/* harmony export */   recomposeColor: () => (/* binding */ recomposeColor),
/* harmony export */   rgbToHex: () => (/* binding */ rgbToHex)
/* harmony export */ });
/* harmony import */ var _mui_utils_clamp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/clamp */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/clamp/clamp.js");

/* eslint-disable @typescript-eslint/naming-convention */


/**
 * Returns a number whose value is limited to the given range.
 * @param {number} value The value to be clamped
 * @param {number} min The lower boundary of the output range
 * @param {number} max The upper boundary of the output range
 * @returns {number} A number in the range [min, max]
 */
function clampWrapper(value, min = 0, max = 1) {
  if (true) {
    if (value < min || value > max) {
      console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);
    }
  }
  return (0,_mui_utils_clamp__WEBPACK_IMPORTED_MODULE_0__["default"])(value, min, max);
}

/**
 * Converts a color from CSS hex format to CSS rgb format.
 * @param {string} color - Hex color, i.e. #nnn or #nnnnnn
 * @returns {string} A CSS rgb color string
 */
function hexToRgb(color) {
  color = color.slice(1);
  const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');
  let colors = color.match(re);
  if (colors && colors[0].length === 1) {
    colors = colors.map(n => n + n);
  }
  if (true) {
    if (color.length !== color.trim().length) {
      console.error(`MUI: The color: "${color}" is invalid. Make sure the color input doesn't contain leading/trailing space.`);
    }
  }
  return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
    return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
  }).join(', ')})` : '';
}
function intToHex(int) {
  const hex = int.toString(16);
  return hex.length === 1 ? `0${hex}` : hex;
}

/**
 * Returns an object with the type and values of a color.
 *
 * Note: Does not support rgb % values.
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @returns {object} - A MUI color object: {type: string, values: number[]}
 */
function decomposeColor(color) {
  // Idempotent
  if (color.type) {
    return color;
  }
  if (color.charAt(0) === '#') {
    return decomposeColor(hexToRgb(color));
  }
  const marker = color.indexOf('(');
  const type = color.substring(0, marker);
  if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {
    throw new Error( true ? `MUI: Unsupported \`${color}\` color.\n` + 'The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().' : 0);
  }
  let values = color.substring(marker + 1, color.length - 1);
  let colorSpace;
  if (type === 'color') {
    values = values.split(' ');
    colorSpace = values.shift();
    if (values.length === 4 && values[3].charAt(0) === '/') {
      values[3] = values[3].slice(1);
    }
    if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {
      throw new Error( true ? `MUI: unsupported \`${colorSpace}\` color space.\n` + 'The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.' : 0);
    }
  } else {
    values = values.split(',');
  }
  values = values.map(value => parseFloat(value));
  return {
    type,
    values,
    colorSpace
  };
}

/**
 * Returns a channel created from the input color.
 *
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @returns {string} - The channel for the color, that can be used in rgba or hsla colors
 */
const colorChannel = color => {
  const decomposedColor = decomposeColor(color);
  return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');
};
const private_safeColorChannel = (color, warning) => {
  try {
    return colorChannel(color);
  } catch (error) {
    if (warning && "development" !== 'production') {
      console.warn(warning);
    }
    return color;
  }
};

/**
 * Converts a color object with type and values to a string.
 * @param {object} color - Decomposed color
 * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'
 * @param {array} color.values - [n,n,n] or [n,n,n,n]
 * @returns {string} A CSS color string
 */
function recomposeColor(color) {
  const {
    type,
    colorSpace
  } = color;
  let {
    values
  } = color;
  if (type.includes('rgb')) {
    // Only convert the first 3 values to int (i.e. not alpha)
    values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);
  } else if (type.includes('hsl')) {
    values[1] = `${values[1]}%`;
    values[2] = `${values[2]}%`;
  }
  if (type.includes('color')) {
    values = `${colorSpace} ${values.join(' ')}`;
  } else {
    values = `${values.join(', ')}`;
  }
  return `${type}(${values})`;
}

/**
 * Converts a color from CSS rgb format to CSS hex format.
 * @param {string} color - RGB color, i.e. rgb(n, n, n)
 * @returns {string} A CSS rgb color string, i.e. #nnnnnn
 */
function rgbToHex(color) {
  // Idempotent
  if (color.startsWith('#')) {
    return color;
  }
  const {
    values
  } = decomposeColor(color);
  return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;
}

/**
 * Converts a color from hsl format to rgb format.
 * @param {string} color - HSL color values
 * @returns {string} rgb color values
 */
function hslToRgb(color) {
  color = decomposeColor(color);
  const {
    values
  } = color;
  const h = values[0];
  const s = values[1] / 100;
  const l = values[2] / 100;
  const a = s * Math.min(l, 1 - l);
  const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
  let type = 'rgb';
  const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];
  if (color.type === 'hsla') {
    type += 'a';
    rgb.push(values[3]);
  }
  return recomposeColor({
    type,
    values: rgb
  });
}
/**
 * The relative brightness of any point in a color space,
 * normalized to 0 for darkest black and 1 for lightest white.
 *
 * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @returns {number} The relative brightness of the color in the range 0 - 1
 */
function getLuminance(color) {
  color = decomposeColor(color);
  let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;
  rgb = rgb.map(val => {
    if (color.type !== 'color') {
      val /= 255; // normalized
    }
    return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;
  });

  // Truncate at 3 digits
  return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
}

/**
 * Calculates the contrast ratio between two colors.
 *
 * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
 * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
 * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
 * @returns {number} A contrast ratio value in the range 0 - 21.
 */
function getContrastRatio(foreground, background) {
  const lumA = getLuminance(foreground);
  const lumB = getLuminance(background);
  return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
}

/**
 * Sets the absolute transparency of a color.
 * Any existing alpha values are overwritten.
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @param {number} value - value to set the alpha channel to in the range 0 - 1
 * @returns {string} A CSS color string. Hex input values are returned as rgb
 */
function alpha(color, value) {
  color = decomposeColor(color);
  value = clampWrapper(value);
  if (color.type === 'rgb' || color.type === 'hsl') {
    color.type += 'a';
  }
  if (color.type === 'color') {
    color.values[3] = `/${value}`;
  } else {
    color.values[3] = value;
  }
  return recomposeColor(color);
}
function private_safeAlpha(color, value, warning) {
  try {
    return alpha(color, value);
  } catch (error) {
    if (warning && "development" !== 'production') {
      console.warn(warning);
    }
    return color;
  }
}

/**
 * Darkens a color.
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @param {number} coefficient - multiplier in the range 0 - 1
 * @returns {string} A CSS color string. Hex input values are returned as rgb
 */
function darken(color, coefficient) {
  color = decomposeColor(color);
  coefficient = clampWrapper(coefficient);
  if (color.type.includes('hsl')) {
    color.values[2] *= 1 - coefficient;
  } else if (color.type.includes('rgb') || color.type.includes('color')) {
    for (let i = 0; i < 3; i += 1) {
      color.values[i] *= 1 - coefficient;
    }
  }
  return recomposeColor(color);
}
function private_safeDarken(color, coefficient, warning) {
  try {
    return darken(color, coefficient);
  } catch (error) {
    if (warning && "development" !== 'production') {
      console.warn(warning);
    }
    return color;
  }
}

/**
 * Lightens a color.
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @param {number} coefficient - multiplier in the range 0 - 1
 * @returns {string} A CSS color string. Hex input values are returned as rgb
 */
function lighten(color, coefficient) {
  color = decomposeColor(color);
  coefficient = clampWrapper(coefficient);
  if (color.type.includes('hsl')) {
    color.values[2] += (100 - color.values[2]) * coefficient;
  } else if (color.type.includes('rgb')) {
    for (let i = 0; i < 3; i += 1) {
      color.values[i] += (255 - color.values[i]) * coefficient;
    }
  } else if (color.type.includes('color')) {
    for (let i = 0; i < 3; i += 1) {
      color.values[i] += (1 - color.values[i]) * coefficient;
    }
  }
  return recomposeColor(color);
}
function private_safeLighten(color, coefficient, warning) {
  try {
    return lighten(color, coefficient);
  } catch (error) {
    if (warning && "development" !== 'production') {
      console.warn(warning);
    }
    return color;
  }
}

/**
 * Darken or lighten a color, depending on its luminance.
 * Light colors are darkened, dark colors are lightened.
 * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
 * @param {number} coefficient=0.15 - multiplier in the range 0 - 1
 * @returns {string} A CSS color string. Hex input values are returned as rgb
 */
function emphasize(color, coefficient = 0.15) {
  return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
}
function private_safeEmphasize(color, coefficient, warning) {
  try {
    return emphasize(color, coefficient);
  } catch (error) {
    if (warning && "development" !== 'production') {
      console.warn(warning);
    }
    return color;
  }
}

/**
 * Blend a transparent overlay color with a background color, resulting in a single
 * RGB color.
 * @param {string} background - CSS color
 * @param {string} overlay - CSS color
 * @param {number} opacity - Opacity multiplier in the range 0 - 1
 * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.
 */
function blend(background, overlay, opacity, gamma = 1.0) {
  const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);
  const backgroundColor = decomposeColor(background);
  const overlayColor = decomposeColor(overlay);
  const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];
  return recomposeColor({
    type: 'rgb',
    values: rgb
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/compose/compose.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/compose/compose.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/merge/merge.js");

function compose(...styles) {
  const handlers = styles.reduce((acc, style) => {
    style.filterProps.forEach(prop => {
      acc[prop] = style;
    });
    return acc;
  }, {});

  // false positive
  // eslint-disable-next-line react/function-component-definition
  const fn = props => {
    return Object.keys(props).reduce((acc, prop) => {
      if (handlers[prop]) {
        return (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, handlers[prop](props));
      }
      return acc;
    }, {});
  };
  fn.propTypes =  true ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : 0;
  fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);
  return fn;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createBox/createBox.js"
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createBox/createBox.js ***!
  \*********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createBox)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/index.js");
/* harmony import */ var _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styleFunctionSx/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
/* harmony import */ var _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styleFunctionSx/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js");
/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';







function createBox(options = {}) {
  const {
    themeId,
    defaultTheme,
    defaultClassName = 'MuiBox-root',
    generateClassName
  } = options;
  const BoxRoot = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__["default"])('div', {
    shouldForwardProp: prop => prop !== 'theme' && prop !== 'sx' && prop !== 'as'
  })(_styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_3__["default"]);
  const Box = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Box(inProps, ref) {
    const theme = (0,_useTheme_index_js__WEBPACK_IMPORTED_MODULE_5__["default"])(defaultTheme);
    const {
      className,
      component = 'div',
      ...other
    } = (0,_styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(inProps);
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(BoxRoot, {
      as: component,
      ref: ref,
      className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__["default"])(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
      theme: themeId ? theme[themeId] || theme : theme,
      ...other
    });
  });
  return Box;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js"
/*!*************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js ***!
  \*************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   breakpointKeys: () => (/* binding */ breakpointKeys),
/* harmony export */   "default": () => (/* binding */ createBreakpoints)
/* harmony export */ });
// Sorted ASC by size. That's important.
// It can't be configured as it's used statically for propTypes.
const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];
const sortBreakpointsValues = values => {
  const breakpointsAsArray = Object.keys(values).map(key => ({
    key,
    val: values[key]
  })) || [];
  // Sort in ascending order
  breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
  return breakpointsAsArray.reduce((acc, obj) => {
    return {
      ...acc,
      [obj.key]: obj.val
    };
  }, {});
};

// Keep in mind that @media is inclusive by the CSS specification.
function createBreakpoints(breakpoints) {
  const {
    // The breakpoint **start** at this value.
    // For instance with the first breakpoint xs: [xs, sm).
    values = {
      xs: 0,
      // phone
      sm: 600,
      // tablet
      md: 900,
      // small laptop
      lg: 1200,
      // desktop
      xl: 1536 // large screen
    },
    unit = 'px',
    step = 5,
    ...other
  } = breakpoints;
  const sortedValues = sortBreakpointsValues(values);
  const keys = Object.keys(sortedValues);
  function up(key) {
    const value = typeof values[key] === 'number' ? values[key] : key;
    return `@media (min-width:${value}${unit})`;
  }
  function down(key) {
    const value = typeof values[key] === 'number' ? values[key] : key;
    return `@media (max-width:${value - step / 100}${unit})`;
  }
  function between(start, end) {
    const endIndex = keys.indexOf(end);
    return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;
  }
  function only(key) {
    if (keys.indexOf(key) + 1 < keys.length) {
      return between(key, keys[keys.indexOf(key) + 1]);
    }
    return up(key);
  }
  function not(key) {
    // handle first and last key separately, for better readability
    const keyIndex = keys.indexOf(key);
    if (keyIndex === 0) {
      return up(keys[1]);
    }
    if (keyIndex === keys.length - 1) {
      return down(keys[keyIndex]);
    }
    return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
  }
  return {
    keys,
    values: sortedValues,
    up,
    down,
    between,
    only,
    not,
    unit,
    ...other
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createStyled/createStyled.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createStyled/createStyled.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createStyled),
/* harmony export */   shouldForwardProp: () => (/* binding */ shouldForwardProp),
/* harmony export */   systemDefaultTheme: () => (/* binding */ systemDefaultTheme)
/* harmony export */ });
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/index.js");
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/utils/capitalize */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js");
/* harmony import */ var _mui_utils_getDisplayName__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/utils/getDisplayName */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js");
/* harmony import */ var _createTheme_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../createTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js");
/* harmony import */ var _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styleFunctionSx/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
/* harmony import */ var _preprocessStyles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../preprocessStyles.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/preprocessStyles.js");








/* eslint-disable no-underscore-dangle */
/* eslint-disable no-labels */
/* eslint-disable no-lone-blocks */

const systemDefaultTheme = (0,_createTheme_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])();

// Update /system/styled/#api in case if this changes
function shouldForwardProp(prop) {
  return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';
}
function shallowLayer(serialized, layerName) {
  if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.
  ) {
    serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;
  }
  return serialized;
}
function defaultOverridesResolver(slot) {
  if (!slot) {
    return null;
  }
  return (_props, styles) => styles[slot];
}
function attachTheme(props, themeId, defaultTheme) {
  props.theme = isObjectEmpty(props.theme) ? defaultTheme : props.theme[themeId] || props.theme;
}
function processStyle(props, style, layerName) {
  /*
   * Style types:
   *  - null/undefined
   *  - string
   *  - CSS style object: { [cssKey]: [cssValue], variants }
   *  - Processed style object: { style, variants, isProcessed: true }
   *  - Array of any of the above
   */

  const resolvedStyle = typeof style === 'function' ? style(props) : style;
  if (Array.isArray(resolvedStyle)) {
    return resolvedStyle.flatMap(subStyle => processStyle(props, subStyle, layerName));
  }
  if (Array.isArray(resolvedStyle?.variants)) {
    let rootStyle;
    if (resolvedStyle.isProcessed) {
      rootStyle = layerName ? shallowLayer(resolvedStyle.style, layerName) : resolvedStyle.style;
    } else {
      const {
        variants,
        ...otherStyles
      } = resolvedStyle;
      rootStyle = layerName ? shallowLayer((0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_serializeStyles)(otherStyles), layerName) : otherStyles;
    }
    return processStyleVariants(props, resolvedStyle.variants, [rootStyle], layerName);
  }
  if (resolvedStyle?.isProcessed) {
    return layerName ? shallowLayer((0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_serializeStyles)(resolvedStyle.style), layerName) : resolvedStyle.style;
  }
  return layerName ? shallowLayer((0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_serializeStyles)(resolvedStyle), layerName) : resolvedStyle;
}
function processStyleVariants(props, variants, results = [], layerName = undefined) {
  let mergedState; // We might not need it, initialized lazily

  variantLoop: for (let i = 0; i < variants.length; i += 1) {
    const variant = variants[i];
    if (typeof variant.props === 'function') {
      mergedState ??= {
        ...props,
        ...props.ownerState,
        ownerState: props.ownerState
      };
      if (!variant.props(mergedState)) {
        continue;
      }
    } else {
      for (const key in variant.props) {
        if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {
          continue variantLoop;
        }
      }
    }
    if (typeof variant.style === 'function') {
      mergedState ??= {
        ...props,
        ...props.ownerState,
        ownerState: props.ownerState
      };
      results.push(layerName ? shallowLayer((0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_serializeStyles)(variant.style(mergedState)), layerName) : variant.style(mergedState));
    } else {
      results.push(layerName ? shallowLayer((0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_serializeStyles)(variant.style), layerName) : variant.style);
    }
  }
  return results;
}
function createStyled(input = {}) {
  const {
    themeId,
    defaultTheme = systemDefaultTheme,
    rootShouldForwardProp = shouldForwardProp,
    slotShouldForwardProp = shouldForwardProp
  } = input;
  function styleAttachTheme(props) {
    attachTheme(props, themeId, defaultTheme);
  }
  const styled = (tag, inputOptions = {}) => {
    // If `tag` is already a styled component, filter out the `sx` style function
    // to prevent unnecessary styles generated by the composite components.
    (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_mutateStyles)(tag, styles => styles.filter(style => style !== _styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_5__["default"]));
    const {
      name: componentName,
      slot: componentSlot,
      skipVariantsResolver: inputSkipVariantsResolver,
      skipSx: inputSkipSx,
      // TODO v6: remove `lowercaseFirstLetter()` in the next major release
      // For more details: https://github.com/mui/material-ui/pull/37908
      overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),
      ...options
    } = inputOptions;
    const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';

    // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
    const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :
    // TODO v6: remove `Root` in the next major release
    // For more details: https://github.com/mui/material-ui/pull/37908
    componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;
    const skipSx = inputSkipSx || false;
    let shouldForwardPropOption = shouldForwardProp;

    // TODO v6: remove `Root` in the next major release
    // For more details: https://github.com/mui/material-ui/pull/37908
    if (componentSlot === 'Root' || componentSlot === 'root') {
      shouldForwardPropOption = rootShouldForwardProp;
    } else if (componentSlot) {
      // any other slot specified
      shouldForwardPropOption = slotShouldForwardProp;
    } else if (isStringTag(tag)) {
      // for string (html) tag, preserve the behavior in emotion & styled-components.
      shouldForwardPropOption = undefined;
    }
    const defaultStyledResolver = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__["default"])(tag, {
      shouldForwardProp: shouldForwardPropOption,
      label: generateStyledLabel(componentName, componentSlot),
      ...options
    });
    const transformStyle = style => {
      // - On the server Emotion doesn't use React.forwardRef for creating components, so the created
      //   component stays as a function. This condition makes sure that we do not interpolate functions
      //   which are basically components used as a selectors.
      // - `style` could be a styled component from a babel plugin for component selectors, This condition
      //   makes sure that we do not interpolate them.
      if (style.__emotion_real === style) {
        return style;
      }
      if (typeof style === 'function') {
        return function styleFunctionProcessor(props) {
          return processStyle(props, style, props.theme.modularCssLayers ? layerName : undefined);
        };
      }
      if ((0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(style)) {
        const serialized = (0,_preprocessStyles_js__WEBPACK_IMPORTED_MODULE_6__["default"])(style);
        return function styleObjectProcessor(props) {
          if (!serialized.variants) {
            return props.theme.modularCssLayers ? shallowLayer(serialized.style, layerName) : serialized.style;
          }
          return processStyle(props, serialized, props.theme.modularCssLayers ? layerName : undefined);
        };
      }
      return style;
    };
    const muiStyledResolver = (...expressionsInput) => {
      const expressionsHead = [];
      const expressionsBody = expressionsInput.map(transformStyle);
      const expressionsTail = [];

      // Preprocess `props` to set the scoped theme value.
      // This must run before any other expression.
      expressionsHead.push(styleAttachTheme);
      if (componentName && overridesResolver) {
        expressionsTail.push(function styleThemeOverrides(props) {
          const theme = props.theme;
          const styleOverrides = theme.components?.[componentName]?.styleOverrides;
          if (!styleOverrides) {
            return null;
          }
          const resolvedStyleOverrides = {};

          // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly
          // eslint-disable-next-line guard-for-in
          for (const slotKey in styleOverrides) {
            resolvedStyleOverrides[slotKey] = processStyle(props, styleOverrides[slotKey], props.theme.modularCssLayers ? 'theme' : undefined);
          }
          return overridesResolver(props, resolvedStyleOverrides);
        });
      }
      if (componentName && !skipVariantsResolver) {
        expressionsTail.push(function styleThemeVariants(props) {
          const theme = props.theme;
          const themeVariants = theme?.components?.[componentName]?.variants;
          if (!themeVariants) {
            return null;
          }
          return processStyleVariants(props, themeVariants, [], props.theme.modularCssLayers ? 'theme' : undefined);
        });
      }
      if (!skipSx) {
        expressionsTail.push(_styleFunctionSx_index_js__WEBPACK_IMPORTED_MODULE_5__["default"]);
      }

      // This function can be called as a tagged template, so the first argument would contain
      // CSS `string[]` values.
      if (Array.isArray(expressionsBody[0])) {
        const inputStrings = expressionsBody.shift();

        // We need to add placeholders in the tagged template for the custom functions we have
        // possibly added (attachTheme, overrides, variants, and sx).
        const placeholdersHead = new Array(expressionsHead.length).fill('');
        const placeholdersTail = new Array(expressionsTail.length).fill('');
        let outputStrings;
        // prettier-ignore
        {
          outputStrings = [...placeholdersHead, ...inputStrings, ...placeholdersTail];
          outputStrings.raw = [...placeholdersHead, ...inputStrings.raw, ...placeholdersTail];
        }

        // The only case where we put something before `attachTheme`
        expressionsHead.unshift(outputStrings);
      }
      const expressions = [...expressionsHead, ...expressionsBody, ...expressionsTail];
      const Component = defaultStyledResolver(...expressions);
      if (tag.muiName) {
        Component.muiName = tag.muiName;
      }
      if (true) {
        Component.displayName = generateDisplayName(componentName, componentSlot, tag);
      }
      return Component;
    };
    if (defaultStyledResolver.withConfig) {
      muiStyledResolver.withConfig = defaultStyledResolver.withConfig;
    }
    return muiStyledResolver;
  };
  return styled;
}
function generateDisplayName(componentName, componentSlot, tag) {
  if (componentName) {
    return `${componentName}${(0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_2__["default"])(componentSlot || '')}`;
  }
  return `Styled(${(0,_mui_utils_getDisplayName__WEBPACK_IMPORTED_MODULE_3__["default"])(tag)})`;
}
function generateStyledLabel(componentName, componentSlot) {
  let label;
  if (true) {
    if (componentName) {
      // TODO v6: remove `lowercaseFirstLetter()` in the next major release
      // For more details: https://github.com/mui/material-ui/pull/37908
      label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;
    }
  }
  return label;
}
function isObjectEmpty(object) {
  // eslint-disable-next-line
  for (const _ in object) {
    return false;
  }
  return true;
}

// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40
function isStringTag(tag) {
  return typeof tag === 'string' &&
  // 96 is one less than the char code
  // for "a" so this is checking that
  // it's a lowercase character
  tag.charCodeAt(0) > 96;
}
function lowercaseFirstLetter(string) {
  if (!string) {
    return string;
  }
  return string.charAt(0).toLowerCase() + string.slice(1);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/applyStyles.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/applyStyles.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ applyStyles)
/* harmony export */ });
/**
 * A universal utility to style components with multiple color modes. Always use it from the theme object.
 * It works with:
 *  - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)
 *  - [CSS theme variables](https://mui.com/material-ui/customization/css-theme-variables/overview/)
 *  - Zero-runtime engine
 *
 * Tips: Use an array over object spread and place `theme.applyStyles()` last.
 *
 * With the styled function:
 * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]
 * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}
 *
 * With the sx prop:
 * ✅ [{ background: '#e5e5e5' }, theme => theme.applyStyles('dark', { background: '#1c1c1c' })]
 * 🚫 { background: '#e5e5e5', ...theme => theme.applyStyles('dark', { background: '#1c1c1c' })}
 *
 * @example
 * 1. using with `styled`:
 * ```jsx
 *   const Component = styled('div')(({ theme }) => [
 *     { background: '#e5e5e5' },
 *     theme.applyStyles('dark', {
 *       background: '#1c1c1c',
 *       color: '#fff',
 *     }),
 *   ]);
 * ```
 *
 * @example
 * 2. using with `sx` prop:
 * ```jsx
 *   <Box sx={[
 *     { background: '#e5e5e5' },
 *     theme => theme.applyStyles('dark', {
 *        background: '#1c1c1c',
 *        color: '#fff',
 *      }),
 *     ]}
 *   />
 * ```
 *
 * @example
 * 3. theming a component:
 * ```jsx
 *   extendTheme({
 *     components: {
 *       MuiButton: {
 *         styleOverrides: {
 *           root: ({ theme }) => [
 *             { background: '#e5e5e5' },
 *             theme.applyStyles('dark', {
 *               background: '#1c1c1c',
 *               color: '#fff',
 *             }),
 *           ],
 *         },
 *       }
 *     }
 *   })
 *```
 */
function applyStyles(key, styles) {
  // @ts-expect-error this is 'any' type
  const theme = this;
  if (theme.vars) {
    if (!theme.colorSchemes?.[key] || typeof theme.getColorSchemeSelector !== 'function') {
      return {};
    }
    // If CssVarsProvider is used as a provider, returns '*:where({selector}) &'
    let selector = theme.getColorSchemeSelector(key);
    if (selector === '&') {
      return styles;
    }
    if (selector.includes('data-') || selector.includes('.')) {
      // '*' is required as a workaround for Emotion issue (https://github.com/emotion-js/emotion/issues/2836)
      selector = `*:where(${selector.replace(/\s*&$/, '')}) &`;
    }
    return {
      [selector]: styles
    };
  }
  if (theme.palette.mode === key) {
    return styles;
  }
  return {};
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createSpacing.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createSpacing.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createSpacing)
/* harmony export */ });
/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js");


// The different signatures imply different meaning for their arguments that can't be expressed structurally.
// We express the difference with variable names.

function createSpacing(spacingInput = 8,
// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.
// Smaller components, such as icons, can align to a 4dp grid.
// https://m2.material.io/design/layout/understanding-layout.html
transform = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.createUnarySpacing)({
  spacing: spacingInput
})) {
  // Already transformed.
  if (spacingInput.mui) {
    return spacingInput;
  }
  const spacing = (...argsInput) => {
    if (true) {
      if (!(argsInput.length <= 4)) {
        console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
      }
    }
    const args = argsInput.length === 0 ? [1] : argsInput;
    return args.map(argument => {
      const output = transform(argument);
      return typeof output === 'number' ? `${output}px` : output;
    }).join(' ');
  };
  spacing.mui = true;
  return spacing;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _createBreakpoints_createBreakpoints_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../createBreakpoints/createBreakpoints.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js");
/* harmony import */ var _cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cssContainerQueries/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js");
/* harmony import */ var _shape_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shape.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/shape.js");
/* harmony import */ var _createSpacing_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createSpacing.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createSpacing.js");
/* harmony import */ var _styleFunctionSx_styleFunctionSx_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styleFunctionSx/styleFunctionSx.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js");
/* harmony import */ var _styleFunctionSx_defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../styleFunctionSx/defaultSxConfig.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");
/* harmony import */ var _applyStyles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./applyStyles.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/applyStyles.js");








function createTheme(options = {}, ...args) {
  const {
    breakpoints: breakpointsInput = {},
    palette: paletteInput = {},
    spacing: spacingInput,
    shape: shapeInput = {},
    ...other
  } = options;
  const breakpoints = (0,_createBreakpoints_createBreakpoints_js__WEBPACK_IMPORTED_MODULE_1__["default"])(breakpointsInput);
  const spacing = (0,_createSpacing_js__WEBPACK_IMPORTED_MODULE_4__["default"])(spacingInput);
  let muiTheme = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])({
    breakpoints,
    direction: 'ltr',
    components: {},
    // Inject component definitions.
    palette: {
      mode: 'light',
      ...paletteInput
    },
    spacing,
    shape: {
      ..._shape_js__WEBPACK_IMPORTED_MODULE_3__["default"],
      ...shapeInput
    }
  }, other);
  muiTheme = (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(muiTheme);
  muiTheme.applyStyles = _applyStyles_js__WEBPACK_IMPORTED_MODULE_7__["default"];
  muiTheme = args.reduce((acc, argument) => (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, argument), muiTheme);
  muiTheme.unstable_sxConfig = {
    ..._styleFunctionSx_defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_6__["default"],
    ...other?.unstable_sxConfig
  };
  muiTheme.unstable_sx = function sx(props) {
    return (0,_styleFunctionSx_styleFunctionSx_js__WEBPACK_IMPORTED_MODULE_5__["default"])({
      sx: props,
      theme: this
    });
  };
  return muiTheme;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createTheme);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/shape.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/shape.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const shape = {
  borderRadius: 4
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shape);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js"
/*!*****************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js ***!
  \*****************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ cssContainerQueries),
/* harmony export */   getContainerQuery: () => (/* binding */ getContainerQuery),
/* harmony export */   isCqShorthand: () => (/* binding */ isCqShorthand),
/* harmony export */   sortContainerQueries: () => (/* binding */ sortContainerQueries)
/* harmony export */ });
/**
 * For using in `sx` prop to sort the breakpoint from low to high.
 * Note: this function does not work and will not support multiple units.
 *       e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }
 *            output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 even though 40rem > 300px
 */
function sortContainerQueries(theme, css) {
  if (!theme.containerQueries) {
    return css;
  }
  const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {
    const regex = /min-width:\s*([0-9.]+)/;
    return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);
  });
  if (!sorted.length) {
    return css;
  }
  return sorted.reduce((acc, key) => {
    const value = css[key];
    delete acc[key];
    acc[key] = value;
    return acc;
  }, {
    ...css
  });
}
function isCqShorthand(breakpointKeys, value) {
  return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\d/));
}
function getContainerQuery(theme, shorthand) {
  const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
  if (!matches) {
    if (true) {
      throw /* minify-error */new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.');
    }
    // removed by dead control flow

  }
  const [, containerQuery, containerName] = matches;
  const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;
  return theme.containerQueries(containerName).up(value);
}
function cssContainerQueries(themeInput) {
  const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');
  function attachCq(node, name) {
    node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
    node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
    node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
    node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
    node.not = (...args) => {
      const result = toContainerQuery(themeInput.breakpoints.not(...args), name);
      if (result.includes('not all and')) {
        // `@container` does not work with `not all and`, so need to invert the logic
        return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');
      }
      return result;
    };
  }
  const node = {};
  const containerQueries = name => {
    attachCq(node, name);
    return node;
  };
  attachCq(containerQueries);
  return {
    ...themeInput,
    containerQueries
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssGrid/cssGrid.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssGrid/cssGrid.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   columnGap: () => (/* binding */ columnGap),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   gap: () => (/* binding */ gap),
/* harmony export */   gridArea: () => (/* binding */ gridArea),
/* harmony export */   gridAutoColumns: () => (/* binding */ gridAutoColumns),
/* harmony export */   gridAutoFlow: () => (/* binding */ gridAutoFlow),
/* harmony export */   gridAutoRows: () => (/* binding */ gridAutoRows),
/* harmony export */   gridColumn: () => (/* binding */ gridColumn),
/* harmony export */   gridRow: () => (/* binding */ gridRow),
/* harmony export */   gridTemplateAreas: () => (/* binding */ gridTemplateAreas),
/* harmony export */   gridTemplateColumns: () => (/* binding */ gridTemplateColumns),
/* harmony export */   gridTemplateRows: () => (/* binding */ gridTemplateRows),
/* harmony export */   rowGap: () => (/* binding */ rowGap)
/* harmony export */ });
/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js");
/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/compose/compose.js");
/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js");
/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js");
/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");






// false positive
// eslint-disable-next-line react/function-component-definition
const gap = props => {
  if (props.gap !== undefined && props.gap !== null) {
    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.createUnaryUnit)(props.theme, 'spacing', 8, 'gap');
    const styleFromPropValue = propValue => ({
      gap: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.getValue)(transformer, propValue)
    });
    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, props.gap, styleFromPropValue);
  }
  return null;
};
gap.propTypes =  true ? {
  gap: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]
} : 0;
gap.filterProps = ['gap'];

// false positive
// eslint-disable-next-line react/function-component-definition
const columnGap = props => {
  if (props.columnGap !== undefined && props.columnGap !== null) {
    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.createUnaryUnit)(props.theme, 'spacing', 8, 'columnGap');
    const styleFromPropValue = propValue => ({
      columnGap: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.getValue)(transformer, propValue)
    });
    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, props.columnGap, styleFromPropValue);
  }
  return null;
};
columnGap.propTypes =  true ? {
  columnGap: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]
} : 0;
columnGap.filterProps = ['columnGap'];

// false positive
// eslint-disable-next-line react/function-component-definition
const rowGap = props => {
  if (props.rowGap !== undefined && props.rowGap !== null) {
    const transformer = (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.createUnaryUnit)(props.theme, 'spacing', 8, 'rowGap');
    const styleFromPropValue = propValue => ({
      rowGap: (0,_spacing_index_js__WEBPACK_IMPORTED_MODULE_2__.getValue)(transformer, propValue)
    });
    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, props.rowGap, styleFromPropValue);
  }
  return null;
};
rowGap.propTypes =  true ? {
  rowGap: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]
} : 0;
rowGap.filterProps = ['rowGap'];
const gridColumn = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridColumn'
});
const gridRow = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridRow'
});
const gridAutoFlow = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridAutoFlow'
});
const gridAutoColumns = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridAutoColumns'
});
const gridAutoRows = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridAutoRows'
});
const gridTemplateColumns = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridTemplateColumns'
});
const gridTemplateRows = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridTemplateRows'
});
const gridTemplateAreas = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridTemplateAreas'
});
const gridArea = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'gridArea'
});
const grid = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (grid);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   DISABLE_CSS_TRANSITION: () => (/* binding */ DISABLE_CSS_TRANSITION),
/* harmony export */   "default": () => (/* binding */ createCssVarsProvider)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js");
/* harmony import */ var _mui_private_theming__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mui/private-theming */ "./node_modules/.pnpm/@mui+private-theming@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/private-theming/esm/useTheme/useTheme.js");
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _ThemeProvider_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ThemeProvider/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js");
/* harmony import */ var _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../InitColorSchemeScript/InitColorSchemeScript.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js");
/* harmony import */ var _useCurrentColorScheme_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./useCurrentColorScheme.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js");
'use client';










const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
function createCssVarsProvider(options) {
  const {
    themeId,
    /**
     * This `theme` object needs to follow a certain structure to
     * be used correctly by the finel `CssVarsProvider`. It should have a
     * `colorSchemes` key with the light and dark (and any other) palette.
     * It should also ideally have a vars object created using `prepareCssVars`.
     */
    theme: defaultTheme = {},
    modeStorageKey: defaultModeStorageKey = _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_6__.DEFAULT_MODE_STORAGE_KEY,
    colorSchemeStorageKey: defaultColorSchemeStorageKey = _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_6__.DEFAULT_COLOR_SCHEME_STORAGE_KEY,
    disableTransitionOnChange: designSystemTransitionOnChange = false,
    defaultColorScheme,
    resolveTheme
  } = options;
  const defaultContext = {
    allColorSchemes: [],
    colorScheme: undefined,
    darkColorScheme: undefined,
    lightColorScheme: undefined,
    mode: undefined,
    setColorScheme: () => {},
    setMode: () => {},
    systemMode: undefined
  };
  const ColorSchemeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);
  if (true) {
    ColorSchemeContext.displayName = 'ColorSchemeContext';
  }
  const useColorScheme = () => react__WEBPACK_IMPORTED_MODULE_0__.useContext(ColorSchemeContext) || defaultContext;
  const defaultColorSchemes = {};
  const defaultComponents = {};
  function CssVarsProvider(props) {
    const {
      children,
      theme: themeProp,
      modeStorageKey = defaultModeStorageKey,
      colorSchemeStorageKey = defaultColorSchemeStorageKey,
      disableTransitionOnChange = designSystemTransitionOnChange,
      storageManager,
      storageWindow = typeof window === 'undefined' ? undefined : window,
      documentNode = typeof document === 'undefined' ? undefined : document,
      colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,
      disableNestedContext = false,
      disableStyleSheetGeneration = false,
      defaultMode: initialMode = 'system',
      forceThemeRerender = false,
      noSsr
    } = props;
    const hasMounted = react__WEBPACK_IMPORTED_MODULE_0__.useRef(false);
    const upperTheme = (0,_mui_private_theming__WEBPACK_IMPORTED_MODULE_3__["default"])();
    const ctx = react__WEBPACK_IMPORTED_MODULE_0__.useContext(ColorSchemeContext);
    const nested = !!ctx && !disableNestedContext;
    const initialTheme = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
      if (themeProp) {
        return themeProp;
      }
      return typeof defaultTheme === 'function' ? defaultTheme() : defaultTheme;
    }, [themeProp]);
    const scopedTheme = initialTheme[themeId];
    const restThemeProp = scopedTheme || initialTheme;
    const {
      colorSchemes = defaultColorSchemes,
      components = defaultComponents,
      cssVarPrefix
    } = restThemeProp;
    const joinedColorSchemes = Object.keys(colorSchemes).filter(k => !!colorSchemes[k]).join(',');
    const allColorSchemes = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => joinedColorSchemes.split(','), [joinedColorSchemes]);
    const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
    const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
    const defaultMode = colorSchemes[defaultLightColorScheme] && colorSchemes[defaultDarkColorScheme] ? initialMode : colorSchemes[restThemeProp.defaultColorScheme]?.palette?.mode || restThemeProp.palette?.mode;

    // 1. Get the data about the `mode`, `colorScheme`, and setter functions.
    const {
      mode: stateMode,
      setMode,
      systemMode,
      lightColorScheme,
      darkColorScheme,
      colorScheme: stateColorScheme,
      setColorScheme
    } = (0,_useCurrentColorScheme_js__WEBPACK_IMPORTED_MODULE_7__["default"])({
      supportedColorSchemes: allColorSchemes,
      defaultLightColorScheme,
      defaultDarkColorScheme,
      modeStorageKey,
      colorSchemeStorageKey,
      defaultMode,
      storageManager,
      storageWindow,
      noSsr
    });
    let mode = stateMode;
    let colorScheme = stateColorScheme;
    if (nested) {
      mode = ctx.mode;
      colorScheme = ctx.colorScheme;
    }
    if (true) {
      if (forceThemeRerender && !restThemeProp.vars) {
        console.warn(['MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.', 'Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution.'].join('\n'));
      }
    }

    // `colorScheme` is undefined on the server and hydration phase
    let calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;
    if (restThemeProp.vars && !forceThemeRerender) {
      calculatedColorScheme = restThemeProp.defaultColorScheme;
    }
    const memoTheme = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
      // 2. get the `vars` object that refers to the CSS custom properties
      const themeVars = restThemeProp.generateThemeVars?.() || restThemeProp.vars;

      // 3. Start composing the theme object
      const theme = {
        ...restThemeProp,
        components,
        colorSchemes,
        cssVarPrefix,
        vars: themeVars
      };
      if (typeof theme.generateSpacing === 'function') {
        theme.spacing = theme.generateSpacing();
      }

      // 4. Resolve the color scheme and merge it to the theme
      if (calculatedColorScheme) {
        const scheme = colorSchemes[calculatedColorScheme];
        if (scheme && typeof scheme === 'object') {
          // 4.1 Merge the selected color scheme to the theme
          Object.keys(scheme).forEach(schemeKey => {
            if (scheme[schemeKey] && typeof scheme[schemeKey] === 'object') {
              // shallow merge the 1st level structure of the theme.
              theme[schemeKey] = {
                ...theme[schemeKey],
                ...scheme[schemeKey]
              };
            } else {
              theme[schemeKey] = scheme[schemeKey];
            }
          });
        }
      }
      return resolveTheme ? resolveTheme(theme) : theme;
    }, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);

    // 5. Declaring effects
    // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.
    const colorSchemeSelector = restThemeProp.colorSchemeSelector;
    (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_4__["default"])(() => {
      if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== 'media') {
        const selector = colorSchemeSelector;
        let rule = colorSchemeSelector;
        if (selector === 'class') {
          rule = `.%s`;
        }
        if (selector === 'data') {
          rule = `[data-%s]`;
        }
        if (selector?.startsWith('data-') && !selector.includes('%s')) {
          // 'data-mui-color-scheme' -> '[data-mui-color-scheme="%s"]'
          rule = `[${selector}="%s"]`;
        }
        if (rule.startsWith('.')) {
          colorSchemeNode.classList.remove(...allColorSchemes.map(scheme => rule.substring(1).replace('%s', scheme)));
          colorSchemeNode.classList.add(rule.substring(1).replace('%s', colorScheme));
        } else {
          const matches = rule.replace('%s', colorScheme).match(/\[([^\]]+)\]/);
          if (matches) {
            const [attr, value] = matches[1].split('=');
            if (!value) {
              // for attributes like `data-theme-dark`, `data-theme-light`
              // remove all the existing data attributes before setting the new one
              allColorSchemes.forEach(scheme => {
                colorSchemeNode.removeAttribute(attr.replace(colorScheme, scheme));
              });
            }
            colorSchemeNode.setAttribute(attr, value ? value.replace(/"|'/g, '') : '');
          } else {
            colorSchemeNode.setAttribute(rule, colorScheme);
          }
        }
      }
    }, [colorScheme, colorSchemeSelector, colorSchemeNode, allColorSchemes]);

    // 5.2 Remove the CSS transition when color scheme changes to create instant experience.
    // credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      let timer;
      if (disableTransitionOnChange && hasMounted.current && documentNode) {
        const css = documentNode.createElement('style');
        css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));
        documentNode.head.appendChild(css);

        // Force browser repaint
        (() => window.getComputedStyle(documentNode.body))();
        timer = setTimeout(() => {
          documentNode.head.removeChild(css);
        }, 1);
      }
      return () => {
        clearTimeout(timer);
      };
    }, [colorScheme, disableTransitionOnChange, documentNode]);
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      hasMounted.current = true;
      return () => {
        hasMounted.current = false;
      };
    }, []);
    const contextValue = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
      allColorSchemes,
      colorScheme,
      darkColorScheme,
      lightColorScheme,
      mode,
      setColorScheme,
      setMode:  false ? 0 : newMode => {
        if (memoTheme.colorSchemeSelector === 'media') {
          // #host-reference
          console.error(['MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).', 'To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.', 'To learn more, visit https://v7.mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually'].join('\n'));
        }
        setMode(newMode);
      },
      systemMode
    }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode, memoTheme.colorSchemeSelector]);
    let shouldGenerateStyleSheet = true;
    if (disableStyleSheetGeneration || restThemeProp.cssVariables === false || nested && upperTheme?.cssVarPrefix === cssVarPrefix) {
      shouldGenerateStyleSheet = false;
    }
    const element = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
      children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ThemeProvider_index_js__WEBPACK_IMPORTED_MODULE_5__["default"], {
        themeId: scopedTheme ? themeId : undefined,
        theme: memoTheme,
        children: children
      }), shouldGenerateStyleSheet && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_mui_styled_engine__WEBPACK_IMPORTED_MODULE_2__["default"], {
        styles: memoTheme.generateStyleSheets?.() || []
      })]
    });
    if (nested) {
      return element;
    }
    return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(ColorSchemeContext.Provider, {
      value: contextValue,
      children: element
    });
  }
   true ? CssVarsProvider.propTypes = {
    /**
     * The component tree.
     */
    children: prop_types__WEBPACK_IMPORTED_MODULE_1__.node,
    /**
     * The node used to attach the color-scheme attribute
     */
    colorSchemeNode: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
    /**
     * localStorage key used to store `colorScheme`
     */
    colorSchemeStorageKey: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    /**
     * The default mode when the storage is empty,
     * require the theme to have `colorSchemes` with light and dark.
     */
    defaultMode: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    /**
     * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.
     */
    disableNestedContext: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    /**
     * If `true`, the style sheet won't be generated.
     *
     * This is useful for controlling nested CssVarsProvider behavior.
     */
    disableStyleSheetGeneration: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    /**
     * Disable CSS transitions when switching between modes or color schemes.
     */
    disableTransitionOnChange: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    /**
     * The document to attach the attribute to.
     */
    documentNode: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
    /**
     * If `true`, theme values are recalculated when the mode changes.
     */
    forceThemeRerender: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    /**
     * The key in the local storage used to store current color scheme.
     */
    modeStorageKey: prop_types__WEBPACK_IMPORTED_MODULE_1__.string,
    /**
     * If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.
     * You should use this option in conjunction with `InitColorSchemeScript` component.
     */
    noSsr: prop_types__WEBPACK_IMPORTED_MODULE_1__.bool,
    /**
     * The storage manager to be used for storing the mode and color scheme
     * @default using `window.localStorage`
     */
    storageManager: prop_types__WEBPACK_IMPORTED_MODULE_1__.func,
    /**
     * The window that attaches the 'storage' event listener.
     * @default window
     */
    storageWindow: prop_types__WEBPACK_IMPORTED_MODULE_1__.any,
    /**
     * The calculated theme object that will be passed through context.
     */
    theme: prop_types__WEBPACK_IMPORTED_MODULE_1__.object
  } : 0;
  const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
  const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
  const getInitColorSchemeScript = params => (0,_InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_6__["default"])({
    colorSchemeStorageKey: defaultColorSchemeStorageKey,
    defaultLightColorScheme,
    defaultDarkColorScheme,
    modeStorageKey: defaultModeStorageKey,
    ...params
  });
  return {
    CssVarsProvider,
    useColorScheme,
    getInitColorSchemeScript
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/createGetCssVar.js"
/*!*************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/createGetCssVar.js ***!
  \*************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createGetCssVar)
/* harmony export */ });
/**
 * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable
 * and they does not need to remember the prefix (defined once).
 */
function createGetCssVar(prefix = '') {
  function appendVar(...vars) {
    if (!vars.length) {
      return '';
    }
    const value = vars[0];
    if (typeof value === 'string' && !value.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)) {
      return `, var(--${prefix ? `${prefix}-` : ''}${value}${appendVar(...vars.slice(1))})`;
    }
    return `, ${value}`;
  }

  // AdditionalVars makes `getCssVar` less strict, so it can be use like this `getCssVar('non-mui-variable')` without type error.
  const getCssVar = (field, ...fallbacks) => {
    return `var(--${prefix ? `${prefix}-` : ''}${field}${appendVar(...fallbacks)})`;
  };
  return getCssVar;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/cssVarsParser.js"
/*!***********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/cssVarsParser.js ***!
  \***********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   assignNestedKeys: () => (/* binding */ assignNestedKeys),
/* harmony export */   "default": () => (/* binding */ cssVarsParser),
/* harmony export */   walkObjectDeep: () => (/* binding */ walkObjectDeep)
/* harmony export */ });
/**
 * This function create an object from keys, value and then assign to target
 *
 * @param {Object} obj : the target object to be assigned
 * @param {string[]} keys
 * @param {string | number} value
 *
 * @example
 * const source = {}
 * assignNestedKeys(source, ['palette', 'primary'], 'var(--palette-primary)')
 * console.log(source) // { palette: { primary: 'var(--palette-primary)' } }
 *
 * @example
 * const source = { palette: { primary: 'var(--palette-primary)' } }
 * assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')
 * console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }
 */
const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {
  let temp = obj;
  keys.forEach((k, index) => {
    if (index === keys.length - 1) {
      if (Array.isArray(temp)) {
        temp[Number(k)] = value;
      } else if (temp && typeof temp === 'object') {
        temp[k] = value;
      }
    } else if (temp && typeof temp === 'object') {
      if (!temp[k]) {
        temp[k] = arrayKeys.includes(k) ? [] : {};
      }
      temp = temp[k];
    }
  });
};

/**
 *
 * @param {Object} obj : source object
 * @param {Function} callback : a function that will be called when
 *                   - the deepest key in source object is reached
 *                   - the value of the deepest key is NOT `undefined` | `null`
 *
 * @example
 * walkObjectDeep({ palette: { primary: { main: '#000000' } } }, console.log)
 * // ['palette', 'primary', 'main'] '#000000'
 */
const walkObjectDeep = (obj, callback, shouldSkipPaths) => {
  function recurse(object, parentKeys = [], arrayKeys = []) {
    Object.entries(object).forEach(([key, value]) => {
      if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {
        if (value !== undefined && value !== null) {
          if (typeof value === 'object' && Object.keys(value).length > 0) {
            recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);
          } else {
            callback([...parentKeys, key], value, arrayKeys);
          }
        }
      }
    });
  }
  recurse(obj);
};
const getCssValue = (keys, value) => {
  if (typeof value === 'number') {
    if (['lineHeight', 'fontWeight', 'opacity', 'zIndex'].some(prop => keys.includes(prop))) {
      // CSS property that are unitless
      return value;
    }
    const lastKey = keys[keys.length - 1];
    if (lastKey.toLowerCase().includes('opacity')) {
      // opacity values are unitless
      return value;
    }
    return `${value}px`;
  }
  return value;
};

/**
 * a function that parse theme and return { css, vars }
 *
 * @param {Object} theme
 * @param {{
 *  prefix?: string,
 *  shouldSkipGeneratingVar?: (objectPathKeys: Array<string>, value: string | number) => boolean
 * }} options.
 *  `prefix`: The prefix of the generated CSS variables. This function does not change the value.
 *
 * @returns {{ css: Object, vars: Object }} `css` is the stylesheet, `vars` is an object to get css variable (same structure as theme).
 *
 * @example
 * const { css, vars } = parser({
 *   fontSize: 12,
 *   lineHeight: 1.2,
 *   palette: { primary: { 500: 'var(--color)' } }
 * }, { prefix: 'foo' })
 *
 * console.log(css) // { '--foo-fontSize': '12px', '--foo-lineHeight': 1.2, '--foo-palette-primary-500': 'var(--color)' }
 * console.log(vars) // { fontSize: 'var(--foo-fontSize)', lineHeight: 'var(--foo-lineHeight)', palette: { primary: { 500: 'var(--foo-palette-primary-500)' } } }
 */
function cssVarsParser(theme, options) {
  const {
    prefix,
    shouldSkipGeneratingVar
  } = options || {};
  const css = {};
  const vars = {};
  const varsWithDefaults = {};
  walkObjectDeep(theme, (keys, value, arrayKeys) => {
    if (typeof value === 'string' || typeof value === 'number') {
      if (!shouldSkipGeneratingVar || !shouldSkipGeneratingVar(keys, value)) {
        // only create css & var if `shouldSkipGeneratingVar` return false
        const cssVar = `--${prefix ? `${prefix}-` : ''}${keys.join('-')}`;
        const resolvedValue = getCssValue(keys, value);
        Object.assign(css, {
          [cssVar]: resolvedValue
        });
        assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);
        assignNestedKeys(varsWithDefaults, keys, `var(${cssVar}, ${resolvedValue})`, arrayKeys);
      }
    }
  }, keys => keys[0] === 'vars' // skip 'vars/*' paths
  );
  return {
    css,
    vars,
    varsWithDefaults
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createGetColorSchemeSelector: () => (/* binding */ createGetColorSchemeSelector)
/* harmony export */ });
/* eslint-disable import/prefer-default-export */
function createGetColorSchemeSelector(selector) {
  return function getColorSchemeSelector(colorScheme) {
    if (selector === 'media') {
      if (true) {
        if (colorScheme !== 'light' && colorScheme !== 'dark') {
          console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);
        }
      }
      return `@media (prefers-color-scheme: ${colorScheme})`;
    }
    if (selector) {
      if (selector.startsWith('data-') && !selector.includes('%s')) {
        return `[${selector}="${colorScheme}"] &`;
      }
      if (selector === 'class') {
        return `.${colorScheme} &`;
      }
      if (selector === 'data') {
        return `[data-${colorScheme}] &`;
      }
      return `${selector.replace('%s', colorScheme)} &`;
    }
    return '&';
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/localStorageManager.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/localStorageManager.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
function noop() {}
const localStorageManager = ({
  key,
  storageWindow
}) => {
  if (!storageWindow && typeof window !== 'undefined') {
    storageWindow = window;
  }
  return {
    get(defaultValue) {
      if (typeof window === 'undefined') {
        return undefined;
      }
      if (!storageWindow) {
        return defaultValue;
      }
      let value;
      try {
        value = storageWindow.localStorage.getItem(key);
      } catch {
        // Unsupported
      }
      return value || defaultValue;
    },
    set: value => {
      if (storageWindow) {
        try {
          storageWindow.localStorage.setItem(key, value);
        } catch {
          // Unsupported
        }
      }
    },
    subscribe: handler => {
      if (!storageWindow) {
        return noop;
      }
      const listener = event => {
        const value = event.newValue;
        if (event.key === key) {
          handler(value);
        }
      };
      storageWindow.addEventListener('storage', listener);
      return () => {
        storageWindow.removeEventListener('storage', listener);
      };
    }
  };
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (localStorageManager);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/prepareCssVars.js"
/*!************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/prepareCssVars.js ***!
  \************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cssVarsParser.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/cssVarsParser.js");


function prepareCssVars(theme, parserConfig = {}) {
  const {
    getSelector = defaultGetSelector,
    disableCssColorScheme,
    colorSchemeSelector: selector,
    enableContrastVars
  } = parserConfig;
  // @ts-ignore - ignore components do not exist
  const {
    colorSchemes = {},
    components,
    defaultColorScheme = 'light',
    ...otherTheme
  } = theme;
  const {
    vars: rootVars,
    css: rootCss,
    varsWithDefaults: rootVarsWithDefaults
  } = (0,_cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__["default"])(otherTheme, parserConfig);
  let themeVars = rootVarsWithDefaults;
  const colorSchemesMap = {};
  const {
    [defaultColorScheme]: defaultScheme,
    ...otherColorSchemes
  } = colorSchemes;
  Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {
    const {
      vars,
      css,
      varsWithDefaults
    } = (0,_cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scheme, parserConfig);
    themeVars = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(themeVars, varsWithDefaults);
    colorSchemesMap[key] = {
      css,
      vars
    };
  });
  if (defaultScheme) {
    // default color scheme vars should be merged last to set as default
    const {
      css,
      vars,
      varsWithDefaults
    } = (0,_cssVarsParser_js__WEBPACK_IMPORTED_MODULE_1__["default"])(defaultScheme, parserConfig);
    themeVars = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(themeVars, varsWithDefaults);
    colorSchemesMap[defaultColorScheme] = {
      css,
      vars
    };
  }
  function defaultGetSelector(colorScheme, cssObject) {
    let rule = selector;
    if (selector === 'class') {
      rule = '.%s';
    }
    if (selector === 'data') {
      rule = '[data-%s]';
    }
    if (selector?.startsWith('data-') && !selector.includes('%s')) {
      // 'data-joy-color-scheme' -> '[data-joy-color-scheme="%s"]'
      rule = `[${selector}="%s"]`;
    }
    if (colorScheme) {
      if (rule === 'media') {
        if (theme.defaultColorScheme === colorScheme) {
          return ':root';
        }
        const mode = colorSchemes[colorScheme]?.palette?.mode || colorScheme;
        return {
          [`@media (prefers-color-scheme: ${mode})`]: {
            ':root': cssObject
          }
        };
      }
      if (rule) {
        if (theme.defaultColorScheme === colorScheme) {
          return `:root, ${rule.replace('%s', String(colorScheme))}`;
        }
        return rule.replace('%s', String(colorScheme));
      }
    }
    return ':root';
  }
  const generateThemeVars = () => {
    let vars = {
      ...rootVars
    };
    Object.entries(colorSchemesMap).forEach(([, {
      vars: schemeVars
    }]) => {
      vars = (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(vars, schemeVars);
    });
    return vars;
  };
  const generateStyleSheets = () => {
    const stylesheets = [];
    const colorScheme = theme.defaultColorScheme || 'light';
    function insertStyleSheet(key, css) {
      if (Object.keys(css).length) {
        stylesheets.push(typeof key === 'string' ? {
          [key]: {
            ...css
          }
        } : key);
      }
    }
    insertStyleSheet(getSelector(undefined, {
      ...rootCss
    }), rootCss);
    const {
      [colorScheme]: defaultSchemeVal,
      ...other
    } = colorSchemesMap;
    if (defaultSchemeVal) {
      // default color scheme has to come before other color schemes
      const {
        css
      } = defaultSchemeVal;
      const cssColorSheme = colorSchemes[colorScheme]?.palette?.mode;
      const finalCss = !disableCssColorScheme && cssColorSheme ? {
        colorScheme: cssColorSheme,
        ...css
      } : {
        ...css
      };
      insertStyleSheet(getSelector(colorScheme, {
        ...finalCss
      }), finalCss);
    }
    Object.entries(other).forEach(([key, {
      css
    }]) => {
      const cssColorSheme = colorSchemes[key]?.palette?.mode;
      const finalCss = !disableCssColorScheme && cssColorSheme ? {
        colorScheme: cssColorSheme,
        ...css
      } : {
        ...css
      };
      insertStyleSheet(getSelector(key, {
        ...finalCss
      }), finalCss);
    });
    if (enableContrastVars) {
      stylesheets.push({
        ':root': {
          // use double underscore to indicate that these are private variables
          '--__l-threshold': '0.7',
          '--__l': 'clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)',
          '--__a': 'clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)' // 0.87 is the default alpha value for black text.
        }
      });
    }
    return stylesheets;
  };
  return {
    vars: themeVars,
    generateThemeVars,
    generateStyleSheets
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (prepareCssVars);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ prepareTypographyVars)
/* harmony export */ });
function prepareTypographyVars(typography) {
  const vars = {};
  const entries = Object.entries(typography);
  entries.forEach(entry => {
    const [key, value] = entry;
    if (typeof value === 'object') {
      vars[key] = `${value.fontStyle ? `${value.fontStyle} ` : ''}${value.fontVariant ? `${value.fontVariant} ` : ''}${value.fontWeight ? `${value.fontWeight} ` : ''}${value.fontStretch ? `${value.fontStretch} ` : ''}${value.fontSize || ''}${value.lineHeight ? `/${value.lineHeight} ` : ''}${value.fontFamily || ''}`;
    }
  });
  return vars;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js"
/*!*******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js ***!
  \*******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useCurrentColorScheme),
/* harmony export */   getColorScheme: () => (/* binding */ getColorScheme),
/* harmony export */   getSystemMode: () => (/* binding */ getSystemMode)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../InitColorSchemeScript/InitColorSchemeScript.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/InitColorSchemeScript/InitColorSchemeScript.js");
/* harmony import */ var _localStorageManager_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./localStorageManager.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssVars/localStorageManager.js");
'use client';




function noop() {}
function getSystemMode(mode) {
  if (typeof window !== 'undefined' && typeof window.matchMedia === 'function' && mode === 'system') {
    const mql = window.matchMedia('(prefers-color-scheme: dark)');
    if (mql.matches) {
      return 'dark';
    }
    return 'light';
  }
  return undefined;
}
function processState(state, callback) {
  if (state.mode === 'light' || state.mode === 'system' && state.systemMode === 'light') {
    return callback('light');
  }
  if (state.mode === 'dark' || state.mode === 'system' && state.systemMode === 'dark') {
    return callback('dark');
  }
  return undefined;
}
function getColorScheme(state) {
  return processState(state, mode => {
    if (mode === 'light') {
      return state.lightColorScheme;
    }
    if (mode === 'dark') {
      return state.darkColorScheme;
    }
    return undefined;
  });
}
function useCurrentColorScheme(options) {
  const {
    defaultMode = 'light',
    defaultLightColorScheme,
    defaultDarkColorScheme,
    supportedColorSchemes = [],
    modeStorageKey = _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_MODE_STORAGE_KEY,
    colorSchemeStorageKey = _InitColorSchemeScript_InitColorSchemeScript_js__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_COLOR_SCHEME_STORAGE_KEY,
    storageWindow = typeof window === 'undefined' ? undefined : window,
    storageManager = _localStorageManager_js__WEBPACK_IMPORTED_MODULE_2__["default"],
    noSsr = false
  } = options;
  const joinedColorSchemes = supportedColorSchemes.join(',');
  const isMultiSchemes = supportedColorSchemes.length > 1;
  const modeStorage = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => storageManager?.({
    key: modeStorageKey,
    storageWindow
  }), [storageManager, modeStorageKey, storageWindow]);
  const lightStorage = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => storageManager?.({
    key: `${colorSchemeStorageKey}-light`,
    storageWindow
  }), [storageManager, colorSchemeStorageKey, storageWindow]);
  const darkStorage = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => storageManager?.({
    key: `${colorSchemeStorageKey}-dark`,
    storageWindow
  }), [storageManager, colorSchemeStorageKey, storageWindow]);
  const [state, setState] = react__WEBPACK_IMPORTED_MODULE_0__.useState(() => {
    const initialMode = modeStorage?.get(defaultMode) || defaultMode;
    const lightColorScheme = lightStorage?.get(defaultLightColorScheme) || defaultLightColorScheme;
    const darkColorScheme = darkStorage?.get(defaultDarkColorScheme) || defaultDarkColorScheme;
    return {
      mode: initialMode,
      systemMode: getSystemMode(initialMode),
      lightColorScheme,
      darkColorScheme
    };
  });
  const [isClient, setIsClient] = react__WEBPACK_IMPORTED_MODULE_0__.useState(noSsr || !isMultiSchemes);
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    setIsClient(true); // to rerender the component after hydration
  }, []);
  const colorScheme = getColorScheme(state);
  const setMode = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(mode => {
    setState(currentState => {
      if (mode === currentState.mode) {
        // do nothing if mode does not change
        return currentState;
      }
      const newMode = mode ?? defaultMode;
      modeStorage?.set(newMode);
      return {
        ...currentState,
        mode: newMode,
        systemMode: getSystemMode(newMode)
      };
    });
  }, [modeStorage, defaultMode]);
  const setColorScheme = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(value => {
    if (!value) {
      setState(currentState => {
        lightStorage?.set(defaultLightColorScheme);
        darkStorage?.set(defaultDarkColorScheme);
        return {
          ...currentState,
          lightColorScheme: defaultLightColorScheme,
          darkColorScheme: defaultDarkColorScheme
        };
      });
    } else if (typeof value === 'string') {
      if (value && !joinedColorSchemes.includes(value)) {
        console.error(`\`${value}\` does not exist in \`theme.colorSchemes\`.`);
      } else {
        setState(currentState => {
          const newState = {
            ...currentState
          };
          processState(currentState, mode => {
            if (mode === 'light') {
              lightStorage?.set(value);
              newState.lightColorScheme = value;
            }
            if (mode === 'dark') {
              darkStorage?.set(value);
              newState.darkColorScheme = value;
            }
          });
          return newState;
        });
      }
    } else {
      setState(currentState => {
        const newState = {
          ...currentState
        };
        const newLightColorScheme = value.light === null ? defaultLightColorScheme : value.light;
        const newDarkColorScheme = value.dark === null ? defaultDarkColorScheme : value.dark;
        if (newLightColorScheme) {
          if (!joinedColorSchemes.includes(newLightColorScheme)) {
            console.error(`\`${newLightColorScheme}\` does not exist in \`theme.colorSchemes\`.`);
          } else {
            newState.lightColorScheme = newLightColorScheme;
            lightStorage?.set(newLightColorScheme);
          }
        }
        if (newDarkColorScheme) {
          if (!joinedColorSchemes.includes(newDarkColorScheme)) {
            console.error(`\`${newDarkColorScheme}\` does not exist in \`theme.colorSchemes\`.`);
          } else {
            newState.darkColorScheme = newDarkColorScheme;
            darkStorage?.set(newDarkColorScheme);
          }
        }
        return newState;
      });
    }
  }, [joinedColorSchemes, lightStorage, darkStorage, defaultLightColorScheme, defaultDarkColorScheme]);
  const handleMediaQuery = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(event => {
    if (state.mode === 'system') {
      setState(currentState => {
        const systemMode = event?.matches ? 'dark' : 'light';

        // Early exit, nothing changed.
        if (currentState.systemMode === systemMode) {
          return currentState;
        }
        return {
          ...currentState,
          systemMode
        };
      });
    }
  }, [state.mode]);

  // Ref hack to avoid adding handleMediaQuery as a dep
  const mediaListener = react__WEBPACK_IMPORTED_MODULE_0__.useRef(handleMediaQuery);
  mediaListener.current = handleMediaQuery;
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (typeof window.matchMedia !== 'function' || !isMultiSchemes) {
      return undefined;
    }
    const handler = (...args) => mediaListener.current(...args);

    // Always listen to System preference
    const media = window.matchMedia('(prefers-color-scheme: dark)');

    // Intentionally use deprecated listener methods to support iOS & old browsers
    media.addListener(handler);
    handler(media);
    return () => {
      media.removeListener(handler);
    };
  }, [isMultiSchemes]);

  // Handle when localStorage has changed
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (isMultiSchemes) {
      const unsubscribeMode = modeStorage?.subscribe(value => {
        if (!value || ['light', 'dark', 'system'].includes(value)) {
          setMode(value || defaultMode);
        }
      }) || noop;
      const unsubscribeLight = lightStorage?.subscribe(value => {
        if (!value || joinedColorSchemes.match(value)) {
          setColorScheme({
            light: value
          });
        }
      }) || noop;
      const unsubscribeDark = darkStorage?.subscribe(value => {
        if (!value || joinedColorSchemes.match(value)) {
          setColorScheme({
            dark: value
          });
        }
      }) || noop;
      return () => {
        unsubscribeMode();
        unsubscribeLight();
        unsubscribeDark();
      };
    }
    return undefined;
  }, [setColorScheme, setMode, joinedColorSchemes, defaultMode, storageWindow, isMultiSchemes, modeStorage, lightStorage, darkStorage]);
  return {
    ...state,
    mode: isClient ? state.mode : undefined,
    systemMode: isClient ? state.systemMode : undefined,
    colorScheme: isClient ? colorScheme : undefined,
    setMode,
    setColorScheme
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/memoTheme.js"
/*!***********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/memoTheme.js ***!
  \***********************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ unstable_memoTheme)
/* harmony export */ });
/* harmony import */ var _preprocessStyles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./preprocessStyles.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/preprocessStyles.js");


/* eslint-disable @typescript-eslint/naming-convention */

// We need to pass an argument as `{ theme }` for PigmentCSS, but we don't want to
// allocate more objects.
const arg = {
  theme: undefined
};

/**
 * Memoize style function on theme.
 * Intended to be used in styled() calls that only need access to the theme.
 */
function unstable_memoTheme(styleFn) {
  let lastValue;
  let lastTheme;
  return function styleMemoized(props) {
    let value = lastValue;
    if (value === undefined || props.theme !== lastTheme) {
      arg.theme = props.theme;
      value = (0,_preprocessStyles_js__WEBPACK_IMPORTED_MODULE_0__["default"])(styleFn(arg));
      lastValue = value;
      lastTheme = props.theme;
    }
    return value;
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/memoize/memoize.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/memoize/memoize.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ memoize)
/* harmony export */ });
function memoize(fn) {
  const cache = {};
  return arg => {
    if (cache[arg] === undefined) {
      cache[arg] = fn(arg);
    }
    return cache[arg];
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/merge/merge.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/merge/merge.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");

function merge(acc, item) {
  if (!item) {
    return acc;
  }
  return (0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__["default"])(acc, item, {
    clone: false // No need to clone deep, it's way faster.
  });
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (merge);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/palette/palette.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/palette/palette.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   backgroundColor: () => (/* binding */ backgroundColor),
/* harmony export */   bgcolor: () => (/* binding */ bgcolor),
/* harmony export */   color: () => (/* binding */ color),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   paletteTransform: () => (/* binding */ paletteTransform)
/* harmony export */ });
/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js");
/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/compose/compose.js");


function paletteTransform(value, userValue) {
  if (userValue === 'grey') {
    return userValue;
  }
  return value;
}
const color = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'color',
  themeKey: 'palette',
  transform: paletteTransform
});
const bgcolor = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'bgcolor',
  cssProperty: 'backgroundColor',
  themeKey: 'palette',
  transform: paletteTransform
});
const backgroundColor = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'backgroundColor',
  themeKey: 'palette',
  transform: paletteTransform
});
const palette = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(color, bgcolor, backgroundColor);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (palette);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/preprocessStyles.js"
/*!******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/preprocessStyles.js ***!
  \******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ preprocessStyles)
/* harmony export */ });
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@mui+styled-engine@7.3.10_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@em_6aee0af5c9400f74b15d3461fb2fb6fb/node_modules/@mui/styled-engine/esm/index.js");

function preprocessStyles(input) {
  const {
    variants,
    ...style
  } = input;
  const result = {
    variants,
    style: (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_serializeStyles)(style),
    isProcessed: true
  };

  // Not supported on styled-components
  if (result.style === style) {
    return result;
  }
  if (variants) {
    variants.forEach(variant => {
      if (typeof variant.style !== 'function') {
        variant.style = (0,_mui_styled_engine__WEBPACK_IMPORTED_MODULE_0__.internal_serializeStyles)(variant.style);
      }
    });
  }
  return result;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js"
/*!***************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js ***!
  \***************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");

const responsivePropType =  true ? prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.number, prop_types__WEBPACK_IMPORTED_MODULE_0__.string, prop_types__WEBPACK_IMPORTED_MODULE_0__.object, prop_types__WEBPACK_IMPORTED_MODULE_0__.array]) : 0;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (responsivePropType);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/sizing/sizing.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/sizing/sizing.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   boxSizing: () => (/* binding */ boxSizing),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   height: () => (/* binding */ height),
/* harmony export */   maxHeight: () => (/* binding */ maxHeight),
/* harmony export */   maxWidth: () => (/* binding */ maxWidth),
/* harmony export */   minHeight: () => (/* binding */ minHeight),
/* harmony export */   minWidth: () => (/* binding */ minWidth),
/* harmony export */   sizeHeight: () => (/* binding */ sizeHeight),
/* harmony export */   sizeWidth: () => (/* binding */ sizeWidth),
/* harmony export */   sizingTransform: () => (/* binding */ sizingTransform),
/* harmony export */   width: () => (/* binding */ width)
/* harmony export */ });
/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js");
/* harmony import */ var _compose_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../compose/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/compose/compose.js");
/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js");



function sizingTransform(value) {
  return value <= 1 && value !== 0 ? `${value * 100}%` : value;
}
const width = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'width',
  transform: sizingTransform
});
const maxWidth = props => {
  if (props.maxWidth !== undefined && props.maxWidth !== null) {
    const styleFromPropValue = propValue => {
      const breakpoint = props.theme?.breakpoints?.values?.[propValue] || _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__.values[propValue];
      if (!breakpoint) {
        return {
          maxWidth: sizingTransform(propValue)
        };
      }
      if (props.theme?.breakpoints?.unit !== 'px') {
        return {
          maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`
        };
      }
      return {
        maxWidth: breakpoint
      };
    };
    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__.handleBreakpoints)(props, props.maxWidth, styleFromPropValue);
  }
  return null;
};
maxWidth.filterProps = ['maxWidth'];
const minWidth = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'minWidth',
  transform: sizingTransform
});
const height = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'height',
  transform: sizingTransform
});
const maxHeight = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'maxHeight',
  transform: sizingTransform
});
const minHeight = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'minHeight',
  transform: sizingTransform
});
const sizeWidth = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'size',
  cssProperty: 'width',
  transform: sizingTransform
});
const sizeHeight = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'size',
  cssProperty: 'height',
  transform: sizingTransform
});
const boxSizing = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
  prop: 'boxSizing'
});
const sizing = (0,_compose_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (sizing);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js"
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js ***!
  \*****************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createUnarySpacing: () => (/* binding */ createUnarySpacing),
/* harmony export */   createUnaryUnit: () => (/* binding */ createUnaryUnit),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getStyleFromPropValue: () => (/* binding */ getStyleFromPropValue),
/* harmony export */   getValue: () => (/* binding */ getValue),
/* harmony export */   margin: () => (/* binding */ margin),
/* harmony export */   marginKeys: () => (/* binding */ marginKeys),
/* harmony export */   padding: () => (/* binding */ padding),
/* harmony export */   paddingKeys: () => (/* binding */ paddingKeys)
/* harmony export */ });
/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");
/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js");
/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js");
/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/merge/merge.js");
/* harmony import */ var _memoize_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../memoize/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/memoize/memoize.js");





const properties = {
  m: 'margin',
  p: 'padding'
};
const directions = {
  t: 'Top',
  r: 'Right',
  b: 'Bottom',
  l: 'Left',
  x: ['Left', 'Right'],
  y: ['Top', 'Bottom']
};
const aliases = {
  marginX: 'mx',
  marginY: 'my',
  paddingX: 'px',
  paddingY: 'py'
};

// memoize() impact:
// From 300,000 ops/sec
// To 350,000 ops/sec
const getCssProperties = (0,_memoize_index_js__WEBPACK_IMPORTED_MODULE_4__["default"])(prop => {
  // It's not a shorthand notation.
  if (prop.length > 2) {
    if (aliases[prop]) {
      prop = aliases[prop];
    } else {
      return [prop];
    }
  }
  const [a, b] = prop.split('');
  const property = properties[a];
  const direction = directions[b] || '';
  return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];
});
const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];
const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];
const spacingKeys = [...marginKeys, ...paddingKeys];
function createUnaryUnit(theme, themeKey, defaultValue, propName) {
  const themeSpacing = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getPath)(theme, themeKey, true) ?? defaultValue;
  if (typeof themeSpacing === 'number' || typeof themeSpacing === 'string') {
    return val => {
      if (typeof val === 'string') {
        return val;
      }
      if (true) {
        if (typeof val !== 'number') {
          console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);
        }
      }
      if (typeof themeSpacing === 'string') {
        if (themeSpacing.startsWith('var(') && val === 0) {
          return 0;
        }
        if (themeSpacing.startsWith('var(') && val === 1) {
          return themeSpacing;
        }
        return `calc(${val} * ${themeSpacing})`;
      }
      return themeSpacing * val;
    };
  }
  if (Array.isArray(themeSpacing)) {
    return val => {
      if (typeof val === 'string') {
        return val;
      }
      const abs = Math.abs(val);
      if (true) {
        if (!Number.isInteger(abs)) {
          console.error([`MUI: The \`theme.${themeKey}\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \`theme.${themeKey}\` as a number.`].join('\n'));
        } else if (abs > themeSpacing.length - 1) {
          console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\n'));
        }
      }
      const transformed = themeSpacing[abs];
      if (val >= 0) {
        return transformed;
      }
      if (typeof transformed === 'number') {
        return -transformed;
      }
      if (typeof transformed === 'string' && transformed.startsWith('var(')) {
        return `calc(-1 * ${transformed})`;
      }
      return `-${transformed}`;
    };
  }
  if (typeof themeSpacing === 'function') {
    return themeSpacing;
  }
  if (true) {
    console.error([`MUI: The \`theme.${themeKey}\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\n'));
  }
  return () => undefined;
}
function createUnarySpacing(theme) {
  return createUnaryUnit(theme, 'spacing', 8, 'spacing');
}
function getValue(transformer, propValue) {
  if (typeof propValue === 'string' || propValue == null) {
    return propValue;
  }
  return transformer(propValue);
}
function getStyleFromPropValue(cssProperties, transformer) {
  return propValue => cssProperties.reduce((acc, cssProperty) => {
    acc[cssProperty] = getValue(transformer, propValue);
    return acc;
  }, {});
}
function resolveCssProperty(props, keys, prop, transformer) {
  // Using a hash computation over an array iteration could be faster, but with only 28 items,
  // it's doesn't worth the bundle size.
  if (!keys.includes(prop)) {
    return null;
  }
  const cssProperties = getCssProperties(prop);
  const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
  const propValue = props[prop];
  return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_1__.handleBreakpoints)(props, propValue, styleFromPropValue);
}
function style(props, keys) {
  const transformer = createUnarySpacing(props.theme);
  return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(_merge_index_js__WEBPACK_IMPORTED_MODULE_3__["default"], {});
}
function margin(props) {
  return style(props, marginKeys);
}
margin.propTypes =  true ? marginKeys.reduce((obj, key) => {
  obj[key] = _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"];
  return obj;
}, {}) : 0;
margin.filterProps = marginKeys;
function padding(props) {
  return style(props, paddingKeys);
}
padding.propTypes =  true ? paddingKeys.reduce((obj, key) => {
  obj[key] = _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"];
  return obj;
}, {}) : 0;
padding.filterProps = paddingKeys;
function spacing(props) {
  return style(props, spacingKeys);
}
spacing.propTypes =  true ? spacingKeys.reduce((obj, key) => {
  obj[key] = _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_0__["default"];
  return obj;
}, {}) : 0;
spacing.filterProps = spacingKeys;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (spacing);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js"
/*!*************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js ***!
  \*************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getPath: () => (/* binding */ getPath),
/* harmony export */   getStyleValue: () => (/* binding */ getStyleValue)
/* harmony export */ });
/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/capitalize */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js");
/* harmony import */ var _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../responsivePropType/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js");
/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js");



function getPath(obj, path, checkVars = true) {
  if (!path || typeof path !== 'string') {
    return null;
  }

  // Check if CSS variables are used
  if (obj && obj.vars && checkVars) {
    const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
    if (val != null) {
      return val;
    }
  }
  return path.split('.').reduce((acc, item) => {
    if (acc && acc[item] != null) {
      return acc[item];
    }
    return null;
  }, obj);
}
function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
  let value;
  if (typeof themeMapping === 'function') {
    value = themeMapping(propValueFinal);
  } else if (Array.isArray(themeMapping)) {
    value = themeMapping[propValueFinal] || userValue;
  } else {
    value = getPath(themeMapping, propValueFinal) || userValue;
  }
  if (transform) {
    value = transform(value, userValue, themeMapping);
  }
  return value;
}
function style(options) {
  const {
    prop,
    cssProperty = options.prop,
    themeKey,
    transform
  } = options;

  // false positive
  // eslint-disable-next-line react/function-component-definition
  const fn = props => {
    if (props[prop] == null) {
      return null;
    }
    const propValue = props[prop];
    const theme = props.theme;
    const themeMapping = getPath(theme, themeKey) || {};
    const styleFromPropValue = propValueFinal => {
      let value = getStyleValue(themeMapping, transform, propValueFinal);
      if (propValueFinal === value && typeof propValueFinal === 'string') {
        // Haven't found value
        value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : (0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__["default"])(propValueFinal)}`, propValueFinal);
      }
      if (cssProperty === false) {
        return value;
      }
      return {
        [cssProperty]: value
      };
    };
    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_2__.handleBreakpoints)(props, propValue, styleFromPropValue);
  };
  fn.propTypes =  true ? {
    [prop]: _responsivePropType_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]
  } : 0;
  fn.filterProps = [prop];
  return fn;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (style);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../spacing/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/spacing/spacing.js");
/* harmony import */ var _borders_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../borders/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/borders/borders.js");
/* harmony import */ var _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cssGrid/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssGrid/cssGrid.js");
/* harmony import */ var _palette_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../palette/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/palette/palette.js");
/* harmony import */ var _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sizing/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/sizing/sizing.js");





const defaultSxConfig = {
  // borders
  border: {
    themeKey: 'borders',
    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
  },
  borderTop: {
    themeKey: 'borders',
    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
  },
  borderRight: {
    themeKey: 'borders',
    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
  },
  borderBottom: {
    themeKey: 'borders',
    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
  },
  borderLeft: {
    themeKey: 'borders',
    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
  },
  borderColor: {
    themeKey: 'palette'
  },
  borderTopColor: {
    themeKey: 'palette'
  },
  borderRightColor: {
    themeKey: 'palette'
  },
  borderBottomColor: {
    themeKey: 'palette'
  },
  borderLeftColor: {
    themeKey: 'palette'
  },
  outline: {
    themeKey: 'borders',
    transform: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderTransform
  },
  outlineColor: {
    themeKey: 'palette'
  },
  borderRadius: {
    themeKey: 'shape.borderRadius',
    style: _borders_index_js__WEBPACK_IMPORTED_MODULE_1__.borderRadius
  },
  // palette
  color: {
    themeKey: 'palette',
    transform: _palette_index_js__WEBPACK_IMPORTED_MODULE_3__.paletteTransform
  },
  bgcolor: {
    themeKey: 'palette',
    cssProperty: 'backgroundColor',
    transform: _palette_index_js__WEBPACK_IMPORTED_MODULE_3__.paletteTransform
  },
  backgroundColor: {
    themeKey: 'palette',
    transform: _palette_index_js__WEBPACK_IMPORTED_MODULE_3__.paletteTransform
  },
  // spacing
  p: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  pt: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  pr: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  pb: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  pl: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  px: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  py: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  padding: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingTop: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingRight: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingBottom: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingLeft: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingX: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingY: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingInline: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingInlineStart: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingInlineEnd: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingBlock: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingBlockStart: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  paddingBlockEnd: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.padding
  },
  m: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  mt: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  mr: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  mb: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  ml: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  mx: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  my: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  margin: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginTop: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginRight: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginBottom: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginLeft: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginX: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginY: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginInline: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginInlineStart: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginInlineEnd: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginBlock: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginBlockStart: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  marginBlockEnd: {
    style: _spacing_index_js__WEBPACK_IMPORTED_MODULE_0__.margin
  },
  // display
  displayPrint: {
    cssProperty: false,
    transform: value => ({
      '@media print': {
        display: value
      }
    })
  },
  display: {},
  overflow: {},
  textOverflow: {},
  visibility: {},
  whiteSpace: {},
  // flexbox
  flexBasis: {},
  flexDirection: {},
  flexWrap: {},
  justifyContent: {},
  alignItems: {},
  alignContent: {},
  order: {},
  flex: {},
  flexGrow: {},
  flexShrink: {},
  alignSelf: {},
  justifyItems: {},
  justifySelf: {},
  // grid
  gap: {
    style: _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__.gap
  },
  rowGap: {
    style: _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__.rowGap
  },
  columnGap: {
    style: _cssGrid_index_js__WEBPACK_IMPORTED_MODULE_2__.columnGap
  },
  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: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
  },
  maxWidth: {
    style: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.maxWidth
  },
  minWidth: {
    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
  },
  height: {
    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
  },
  maxHeight: {
    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
  },
  minHeight: {
    transform: _sizing_index_js__WEBPACK_IMPORTED_MODULE_4__.sizingTransform
  },
  boxSizing: {},
  // typography
  font: {
    themeKey: 'font'
  },
  fontFamily: {
    themeKey: 'typography'
  },
  fontSize: {
    themeKey: 'typography'
  },
  fontStyle: {
    themeKey: 'typography'
  },
  fontWeight: {
    themeKey: 'typography'
  },
  letterSpacing: {},
  textTransform: {},
  lineHeight: {},
  textAlign: {},
  typography: {
    cssProperty: false,
    themeKey: 'typography'
  }
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultSxConfig);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ extendSxProp)
/* harmony export */ });
/* harmony import */ var _mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/deepmerge */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js");
/* harmony import */ var _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultSxConfig.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");


const splitProps = props => {
  const result = {
    systemProps: {},
    otherProps: {}
  };
  const config = props?.theme?.unstable_sxConfig ?? _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_1__["default"];
  Object.keys(props).forEach(prop => {
    if (config[prop]) {
      result.systemProps[prop] = props[prop];
    } else {
      result.otherProps[prop] = props[prop];
    }
  });
  return result;
};
function extendSxProp(props) {
  const {
    sx: inSx,
    ...other
  } = props;
  const {
    systemProps,
    otherProps
  } = splitProps(other);
  let finalSx;
  if (Array.isArray(inSx)) {
    finalSx = [systemProps, ...inSx];
  } else if (typeof inSx === 'function') {
    finalSx = (...args) => {
      const result = inSx(...args);
      if (!(0,_mui_utils_deepmerge__WEBPACK_IMPORTED_MODULE_0__.isPlainObject)(result)) {
        return systemProps;
      }
      return {
        ...systemProps,
        ...result
      };
    };
  } else {
    finalSx = {
      ...systemProps,
      ...inSx
    };
  }
  return {
    ...otherProps,
    sx: finalSx
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   unstable_createStyleFunctionSx: () => (/* binding */ unstable_createStyleFunctionSx)
/* harmony export */ });
/* harmony import */ var _mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/capitalize */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js");
/* harmony import */ var _merge_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../merge/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/merge/merge.js");
/* harmony import */ var _style_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../style/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/style/style.js");
/* harmony import */ var _breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../breakpoints/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/breakpoints/breakpoints.js");
/* harmony import */ var _cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cssContainerQueries/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js");
/* harmony import */ var _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./defaultSxConfig.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js");






function objectsHaveSameKeys(...objects) {
  const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);
  const union = new Set(allKeys);
  return objects.every(object => union.size === Object.keys(object).length);
}
function callIfFn(maybeFn, arg) {
  return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;
}

// eslint-disable-next-line @typescript-eslint/naming-convention
function unstable_createStyleFunctionSx() {
  function getThemeValue(prop, val, theme, config) {
    const props = {
      [prop]: val,
      theme
    };
    const options = config[prop];
    if (!options) {
      return {
        [prop]: val
      };
    }
    const {
      cssProperty = prop,
      themeKey,
      transform,
      style
    } = options;
    if (val == null) {
      return null;
    }

    // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123
    if (themeKey === 'typography' && val === 'inherit') {
      return {
        [prop]: val
      };
    }
    const themeMapping = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getPath)(theme, themeKey) || {};
    if (style) {
      return style(props);
    }
    const styleFromPropValue = propValueFinal => {
      let value = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getStyleValue)(themeMapping, transform, propValueFinal);
      if (propValueFinal === value && typeof propValueFinal === 'string') {
        // Haven't found value
        value = (0,_style_index_js__WEBPACK_IMPORTED_MODULE_2__.getStyleValue)(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : (0,_mui_utils_capitalize__WEBPACK_IMPORTED_MODULE_0__["default"])(propValueFinal)}`, propValueFinal);
      }
      if (cssProperty === false) {
        return value;
      }
      return {
        [cssProperty]: value
      };
    };
    return (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)(props, val, styleFromPropValue);
  }
  function styleFunctionSx(props) {
    const {
      sx,
      theme = {},
      nested
    } = props || {};
    if (!sx) {
      return null; // Emotion & styled-components will neglect null
    }
    const config = theme.unstable_sxConfig ?? _defaultSxConfig_js__WEBPACK_IMPORTED_MODULE_5__["default"];

    /*
     * Receive `sxInput` as object or callback
     * and then recursively check keys & values to create media query object styles.
     * (the result will be used in `styled`)
     */
    function traverse(sxInput) {
      let sxObject = sxInput;
      if (typeof sxInput === 'function') {
        sxObject = sxInput(theme);
      } else if (typeof sxInput !== 'object') {
        // value
        return sxInput;
      }
      if (!sxObject) {
        return null;
      }
      const emptyBreakpoints = (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.createEmptyBreakpointObject)(theme.breakpoints);
      const breakpointsKeys = Object.keys(emptyBreakpoints);
      let css = emptyBreakpoints;
      Object.keys(sxObject).forEach(styleKey => {
        const value = callIfFn(sxObject[styleKey], theme);
        if (value !== null && value !== undefined) {
          if (typeof value === 'object') {
            if (config[styleKey]) {
              css = (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(css, getThemeValue(styleKey, value, theme, config));
            } else {
              const breakpointsValues = (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.handleBreakpoints)({
                theme
              }, value, x => ({
                [styleKey]: x
              }));
              if (objectsHaveSameKeys(breakpointsValues, value)) {
                css[styleKey] = styleFunctionSx({
                  sx: value,
                  theme,
                  nested: true
                });
              } else {
                css = (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(css, breakpointsValues);
              }
            }
          } else {
            css = (0,_merge_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(css, getThemeValue(styleKey, value, theme, config));
          }
        }
      });
      if (!nested && theme.modularCssLayers) {
        return {
          '@layer sx': (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_4__.sortContainerQueries)(theme, (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.removeUnusedBreakpoints)(breakpointsKeys, css))
        };
      }
      return (0,_cssContainerQueries_index_js__WEBPACK_IMPORTED_MODULE_4__.sortContainerQueries)(theme, (0,_breakpoints_index_js__WEBPACK_IMPORTED_MODULE_3__.removeUnusedBreakpoints)(breakpointsKeys, css));
    }
    return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
  }
  return styleFunctionSx;
}
const styleFunctionSx = unstable_createStyleFunctionSx();
styleFunctionSx.filterProps = ['sx'];
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styleFunctionSx);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styled/styled.js"
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/styled/styled.js ***!
  \***************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _createStyled_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createStyled/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createStyled/createStyled.js");

const styled = (0,_createStyled_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (styled);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache;
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   unstable_createUseMediaQuery: () => (/* binding */ unstable_createUseMediaQuery)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/utils/useEnhancedEffect */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
/* harmony import */ var _useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../useThemeProps/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js");
/* harmony import */ var _useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../useThemeWithoutDefault/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js");
'use client';





// TODO React 17: Remove `useMediaQueryOld` once React 17 support is removed
function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
  const [match, setMatch] = react__WEBPACK_IMPORTED_MODULE_0__.useState(() => {
    if (noSsr && matchMedia) {
      return matchMedia(query).matches;
    }
    if (ssrMatchMedia) {
      return ssrMatchMedia(query).matches;
    }

    // Once the component is mounted, we rely on the
    // event listeners to return the correct matches value.
    return defaultMatches;
  });
  (0,_mui_utils_useEnhancedEffect__WEBPACK_IMPORTED_MODULE_1__["default"])(() => {
    if (!matchMedia) {
      return undefined;
    }
    const queryList = matchMedia(query);
    const updateMatch = () => {
      setMatch(queryList.matches);
    };
    updateMatch();
    queryList.addEventListener('change', updateMatch);
    return () => {
      queryList.removeEventListener('change', updateMatch);
    };
  }, [query, matchMedia]);
  return match;
}

// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why
const safeReact = {
  .../*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2)))
};
const maybeReactUseSyncExternalStore = safeReact.useSyncExternalStore;
function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
  const getDefaultSnapshot = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => defaultMatches, [defaultMatches]);
  const getServerSnapshot = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    if (noSsr && matchMedia) {
      return () => matchMedia(query).matches;
    }
    if (ssrMatchMedia !== null) {
      const {
        matches
      } = ssrMatchMedia(query);
      return () => matches;
    }
    return getDefaultSnapshot;
  }, [getDefaultSnapshot, query, ssrMatchMedia, noSsr, matchMedia]);
  const [getSnapshot, subscribe] = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    if (matchMedia === null) {
      return [getDefaultSnapshot, () => () => {}];
    }
    const mediaQueryList = matchMedia(query);
    return [() => mediaQueryList.matches, notify => {
      mediaQueryList.addEventListener('change', notify);
      return () => {
        mediaQueryList.removeEventListener('change', notify);
      };
    }];
  }, [getDefaultSnapshot, matchMedia, query]);
  const match = maybeReactUseSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
  return match;
}

// eslint-disable-next-line @typescript-eslint/naming-convention
function unstable_createUseMediaQuery(params = {}) {
  const {
    themeId
  } = params;
  return function useMediaQuery(queryInput, options = {}) {
    let theme = (0,_useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
    if (theme && themeId) {
      theme = theme[themeId] || theme;
    }
    // Wait for jsdom to support the match media feature.
    // All the browsers MUI support have this built-in.
    // This defensive check is here for simplicity.
    // Most of the time, the match media logic isn't central to people tests.
    const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
    const {
      defaultMatches = false,
      matchMedia = supportMatchMedia ? window.matchMedia : null,
      ssrMatchMedia = null,
      noSsr = false
    } = (0,_useThemeProps_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
      name: 'MuiUseMediaQuery',
      props: options,
      theme
    });
    if (true) {
      if (typeof queryInput === 'function' && theme === null) {
        console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
      }
    }
    let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
    query = query.replace(/^@media( ?)/m, '');
    if (query.includes('print')) {
      console.warn([`MUI: You have provided a \`print\` query to the \`useMediaQuery\` hook.`, 'Using the print media query to modify print styles can lead to unexpected results.', 'Consider using the `displayPrint` field in the `sx` prop instead.', 'More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print.'].join('\n'));
    }
    const useMediaQueryImplementation = maybeReactUseSyncExternalStore !== undefined ? useMediaQueryNew : useMediaQueryOld;
    const match = useMediaQueryImplementation(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr);
    if (true) {
      // eslint-disable-next-line react-hooks/rules-of-hooks
      react__WEBPACK_IMPORTED_MODULE_0__.useDebugValue({
        query,
        match
      });
    }
    return match;
  };
}
const useMediaQuery = unstable_createUseMediaQuery();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useMediaQuery);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js"
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js ***!
  \*******************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   systemDefaultTheme: () => (/* binding */ systemDefaultTheme)
/* harmony export */ });
/* harmony import */ var _createTheme_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/createTheme/createTheme.js");
/* harmony import */ var _useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useThemeWithoutDefault/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js");
'use client';



const systemDefaultTheme = (0,_createTheme_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])();
function useTheme(defaultTheme = systemDefaultTheme) {
  return (0,_useThemeWithoutDefault_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(defaultTheme);
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTheme);

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getThemeProps)
/* harmony export */ });
/* harmony import */ var _mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/resolveProps */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveProps/resolveProps.js");

function getThemeProps(params) {
  const {
    theme,
    name,
    props
  } = params;
  if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {
    return props;
  }
  return (0,_mui_utils_resolveProps__WEBPACK_IMPORTED_MODULE_0__["default"])(theme.components[name].defaultProps, props);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js"
/*!*****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js ***!
  \*****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useThemeProps)
/* harmony export */ });
/* harmony import */ var _getThemeProps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getThemeProps.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js");
/* harmony import */ var _useTheme_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useTheme/index.js */ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useTheme/useTheme.js");
'use client';



function useThemeProps({
  props,
  name,
  defaultTheme,
  themeId
}) {
  let theme = (0,_useTheme_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(defaultTheme);
  if (themeId) {
    theme = theme[themeId] || theme;
  }
  return (0,_getThemeProps_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
    theme,
    name,
    props
  });
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js"
/*!***********************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+system@7.3.11_@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1__@emotion+s_581bb39ae55aa2cb68e3652e951d4490/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js ***!
  \***********************************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mui/styled-engine */ "./node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-489459f2.browser.development.esm.js");
'use client';



function isObjectEmpty(obj) {
  return Object.keys(obj).length === 0;
}
function useTheme(defaultTheme = null) {
  const contextTheme = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_mui_styled_engine__WEBPACK_IMPORTED_MODULE_1__.T);
  return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useTheme);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js"
/*!*****************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js ***!
  \*****************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const defaultGenerator = componentName => componentName;
const createClassNameGenerator = () => {
  let generate = defaultGenerator;
  return {
    configure(generator) {
      generate = generator;
    },
    generate(componentName) {
      return generate(componentName);
    },
    reset() {
      generate = defaultGenerator;
    }
  };
};
const ClassNameGenerator = createClassNameGenerator();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClassNameGenerator);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js"
/*!***********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js ***!
  \***********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ HTMLElementType)
/* harmony export */ });
function HTMLElementType(props, propName, componentName, location, propFullName) {
  if (false) // removed by dead control flow
{}
  const propValue = props[propName];
  const safePropName = propFullName || propName;
  if (propValue == null) {
    return null;
  }
  if (propValue && propValue.nodeType !== 1) {
    return new Error(`Invalid ${location} \`${safePropName}\` supplied to \`${componentName}\`. ` + `Expected an HTMLElement.`);
  }
  return null;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js"
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js ***!
  \*************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isHostComponent_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../isHostComponent/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js");


/**
 * Type of the ownerState based on the type of an element it applies to.
 * This resolves to the provided OwnerState for React components and `undefined` for host components.
 * Falls back to `OwnerState | undefined` when the exact type can't be determined in development time.
 */

/**
 * Appends the ownerState object to the props, merging with the existing one if necessary.
 *
 * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node or undefined, `ownerState` is not applied.
 * @param otherProps Props of the element.
 * @param ownerState
 */
function appendOwnerState(elementType, otherProps, ownerState) {
  if (elementType === undefined || (0,_isHostComponent_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(elementType)) {
    return otherProps;
  }
  return {
    ...otherProps,
    ownerState: {
      ...otherProps.ownerState,
      ...ownerState
    }
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (appendOwnerState);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js"
/*!*************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ capitalize)
/* harmony export */ });

// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
//
// A strict capitalization should uppercase the first letter of each word in the sentence.
// We only handle the first word.
function capitalize(string) {
  if (typeof string !== 'string') {
    throw new Error( true ? 'MUI: `capitalize(string)` expects a string argument.' : 0);
  }
  return string.charAt(0).toUpperCase() + string.slice(1);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js"
/*!*********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js ***!
  \*********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ chainPropTypes)
/* harmony export */ });
function chainPropTypes(propType1, propType2) {
  if (false) // removed by dead control flow
{}
  return function validate(...args) {
    return propType1(...args) || propType2(...args);
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/clamp/clamp.js"
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/clamp/clamp.js ***!
  \***************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {
  return Math.max(min, Math.min(val, max));
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clamp);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js"
/*!*********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js ***!
  \*********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ composeClasses)
/* harmony export */ });
/* eslint no-restricted-syntax: 0, prefer-template: 0, guard-for-in: 0
   ---
   These rules are preventing the performance optimizations below.
 */

/**
 * Compose classes from multiple sources.
 *
 * @example
 * ```tsx
 * const slots = {
 *  root: ['root', 'primary'],
 *  label: ['label'],
 * };
 *
 * const getUtilityClass = (slot) => `MuiButton-${slot}`;
 *
 * const classes = {
 *   root: 'my-root-class',
 * };
 *
 * const output = composeClasses(slots, getUtilityClass, classes);
 * // {
 * //   root: 'MuiButton-root MuiButton-primary my-root-class',
 * //   label: 'MuiButton-label',
 * // }
 * ```
 *
 * @param slots a list of classes for each possible slot
 * @param getUtilityClass a function to resolve the class based on the slot name
 * @param classes the input classes from props
 * @returns the resolved classes for all slots
 */
function composeClasses(slots, getUtilityClass, classes = undefined) {
  const output = {};
  for (const slotName in slots) {
    const slot = slots[slotName];
    let buffer = '';
    let start = true;
    for (let i = 0; i < slot.length; i += 1) {
      const value = slot[i];
      if (value) {
        buffer += (start === true ? '' : ' ') + getUtilityClass(value);
        start = false;
        if (classes && classes[value]) {
          buffer += ' ' + classes[value];
        }
      }
    }
    output[slotName] = buffer;
  }
  return output;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/contains/contains.js"
/*!*********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/contains/contains.js ***!
  \*********************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ contains)
/* harmony export */ });
/**
 * Copied from @base-ui/utils
 *
 * Shadow DOM-aware containment check.
 *
 * Native `parent.contains(child)` returns `false` when the child is inside a
 * shadow root that is a descendant of the parent. This function handles that
 * case by traversing up through shadow root hosts.
 *
 * @param parent - The potential ancestor element.
 * @param child - The potential descendant element.
 * @returns Whether `parent` contains `child`, even across shadow root boundaries.
 */
function contains(parent, child) {
  if (!parent || !child) {
    return false;
  }

  // First, attempt with the faster native method.
  if (parent.contains(child)) {
    return true;
  }

  // Then fall back to traversing out of shadow roots when needed.
  const rootNode = child.getRootNode?.();
  if (rootNode && rootNode instanceof ShadowRoot) {
    let next = child;
    while (next) {
      if (parent === next) {
        return true;
      }
      next = next.parentNode ?? next.host ?? null;
    }
  }
  return false;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js"
/*!***********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js ***!
  \***********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ createChainedFunction)
/* harmony export */ });
/**
 * Safe chained function.
 *
 * Will only create a new function if needed,
 * otherwise will pass back existing functions or null.
 */
function createChainedFunction(...funcs) {
  return funcs.reduce((acc, func) => {
    if (func == null) {
      return acc;
    }
    return function chainedFunction(...args) {
      acc.apply(this, args);
      func.apply(this, args);
    };
  }, () => {});
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/debounce/debounce.js"
/*!*********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/debounce/debounce.js ***!
  \*********************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ debounce)
/* harmony export */ });
// Corresponds to 10 frames at 60 Hz.
// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.
function debounce(func, wait = 166) {
  let timeout;
  function debounced(...args) {
    const later = () => {
      // @ts-ignore
      func.apply(this, args);
    };
    clearTimeout(timeout);
    timeout = setTimeout(later, wait);
  }
  debounced.clear = () => {
    clearTimeout(timeout);
  };
  return debounced;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js"
/*!***********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js ***!
  \***********************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ deepmerge),
/* harmony export */   isPlainObject: () => (/* binding */ isPlainObject)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");



// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
function isPlainObject(item) {
  if (typeof item !== 'object' || item === null) {
    return false;
  }
  const prototype = Object.getPrototypeOf(item);
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
}
function deepClone(source) {
  if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(source) || (0,react_is__WEBPACK_IMPORTED_MODULE_1__.isValidElementType)(source) || !isPlainObject(source)) {
    return source;
  }
  const output = {};
  Object.keys(source).forEach(key => {
    output[key] = deepClone(source[key]);
  });
  return output;
}

/**
 * Merge objects deeply.
 * It will shallow copy React elements.
 *
 * If `options.clone` is set to `false` the source object will be merged directly into the target object.
 *
 * @example
 * ```ts
 * deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
 * // => { a: { b: 1, c: 2 }, d: 4 }
 * ````
 *
 * @param target The target object.
 * @param source The source object.
 * @param options The merge options.
 * @param options.clone Set to `false` to merge the source object directly into the target object.
 * @returns The merged object.
 */
function deepmerge(target, source, options = {
  clone: true
}) {
  const output = options.clone ? {
    ...target
  } : target;
  if (isPlainObject(target) && isPlainObject(source)) {
    Object.keys(source).forEach(key => {
      if (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(source[key]) || (0,react_is__WEBPACK_IMPORTED_MODULE_1__.isValidElementType)(source[key])) {
        output[key] = source[key];
      } else if (isPlainObject(source[key]) &&
      // Avoid prototype pollution
      Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
        // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
        output[key] = deepmerge(target[key], source[key], options);
      } else if (options.clone) {
        output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
      } else {
        output[key] = source[key];
      }
    });
  }
  return output;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js"
/*!*******************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js ***!
  \*******************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var _chainPropTypes_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../chainPropTypes/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");


function isClassComponent(elementType) {
  // elementType.prototype?.isReactComponent
  const {
    prototype = {}
  } = elementType;
  return Boolean(prototype.isReactComponent);
}
function acceptingRef(props, propName, componentName, location, propFullName) {
  const element = props[propName];
  const safePropName = propFullName || propName;
  if (element == null ||
  // When server-side rendering React doesn't warn either.
  // This is not an accurate check for SSR.
  // This is only in place for Emotion compat.
  // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
  typeof window === 'undefined') {
    return null;
  }
  let warningHint;
  const elementType = element.type;
  /**
   * Blacklisting instead of whitelisting
   *
   * Blacklisting will miss some components, such as React.Fragment. Those will at least
   * trigger a warning in React.
   * We can't whitelist because there is no safe way to detect React.forwardRef
   * or class components. "Safe" means there's no public API.
   *
   */
  if (typeof elementType === 'function' && !isClassComponent(elementType)) {
    warningHint = 'Did you accidentally use a plain function component for an element instead?';
  }
  if (warningHint !== undefined) {
    return new Error(`Invalid ${location} \`${safePropName}\` supplied to \`${componentName}\`. ` + `Expected an element that can hold a ref. ${warningHint} ` + 'For more information see https://mui.com/r/caveat-with-refs-guide');
  }
  return null;
}
const elementAcceptingRef = (0,_chainPropTypes_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_0__.element, acceptingRef);
elementAcceptingRef.isRequired = (0,_chainPropTypes_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_0__.element.isRequired, acceptingRef);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (elementAcceptingRef);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js"
/*!***************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js ***!
  \***************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _chainPropTypes_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../chainPropTypes/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js");



function isClassComponent(elementType) {
  // elementType.prototype?.isReactComponent
  const {
    prototype = {}
  } = elementType;
  return Boolean(prototype.isReactComponent);
}
function elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {
  const propValue = props[propName];
  const safePropName = propFullName || propName;
  if (propValue == null ||
  // When server-side rendering React doesn't warn either.
  // This is not an accurate check for SSR.
  // This is only in place for emotion compat.
  // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
  typeof window === 'undefined') {
    return null;
  }
  let warningHint;

  /**
   * Blacklisting instead of whitelisting
   *
   * Blacklisting will miss some components, such as React.Fragment. Those will at least
   * trigger a warning in React.
   * We can't whitelist because there is no safe way to detect React.forwardRef
   * or class components. "Safe" means there's no public API.
   *
   */
  if (typeof propValue === 'function' && !isClassComponent(propValue)) {
    warningHint = 'Did you accidentally provide a plain function component instead?';
  }
  if (propValue === react__WEBPACK_IMPORTED_MODULE_1__.Fragment) {
    warningHint = 'Did you accidentally provide a React.Fragment instead?';
  }

  // #host-reference
  if (warningHint !== undefined) {
    return new Error(`Invalid ${location} \`${safePropName}\` supplied to \`${componentName}\`. ` + `Expected an element type that can hold a ref. ${warningHint} ` + 'For more information see https://v7.mui.com/r/caveat-with-refs-guide');
  }
  return null;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,_chainPropTypes_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(prop_types__WEBPACK_IMPORTED_MODULE_0__.elementType, elementTypeAcceptingRef));

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js"
/*!***********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/exactProp/exactProp.js ***!
  \***********************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ exactProp)
/* harmony export */ });
// This module is based on https://github.com/airbnb/prop-types-exact repository.
// However, in order to reduce the number of dependencies and to remove some extra safe checks
// the module was forked.

const specialProperty = 'exact-prop: \u200b';
function exactProp(propTypes) {
  if (false) // removed by dead control flow
{}
  return {
    ...propTypes,
    [specialProperty]: props => {
      const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));
      if (unsupportedProps.length > 0) {
        return new Error(`The following props are not supported: ${unsupportedProps.map(prop => `\`${prop}\``).join(', ')}. Please remove them.`);
      }
      return null;
    }
  };
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js"
/*!*********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js ***!
  \*********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Extracts event handlers from a given object.
 * A prop is considered an event handler if it is a function and its name starts with `on`.
 *
 * @param object An object to extract event handlers from.
 * @param excludeKeys An array of keys to exclude from the returned object.
 */
function extractEventHandlers(object, excludeKeys = []) {
  if (object === undefined) {
    return {};
  }
  const result = {};
  Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
    result[prop] = object[prop];
  });
  return result;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (extractEventHandlers);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js"
/*!*********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js ***!
  \*********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ generateUtilityClass),
/* harmony export */   globalStateClasses: () => (/* binding */ globalStateClasses),
/* harmony export */   isGlobalState: () => (/* binding */ isGlobalState)
/* harmony export */ });
/* harmony import */ var _ClassNameGenerator_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ClassNameGenerator/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js");

const globalStateClasses = {
  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 generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {
  const globalStateClass = globalStateClasses[slot];
  return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${_ClassNameGenerator_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].generate(componentName)}-${slot}`;
}
function isGlobalState(slot) {
  return globalStateClasses[slot] !== undefined;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js"
/*!*************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js ***!
  \*************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ generateUtilityClasses)
/* harmony export */ });
/* harmony import */ var _generateUtilityClass_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../generateUtilityClass/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js");

function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {
  const result = {};
  slots.forEach(slot => {
    result[slot] = (0,_generateUtilityClass_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(componentName, slot, globalStatePrefix);
  });
  return result;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getActiveElement/getActiveElement.js"
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getActiveElement/getActiveElement.js ***!
  \*************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ activeElement)
/* harmony export */ });
/**
 * Gets the actual active element, traversing through shadow roots if necessary.
 *
 * When an element inside a shadow root has focus, `document.activeElement` returns
 * the shadow host element. This function recursively traverses shadow roots to find
 * the actual focused element.
 *
 * @param root - The document or shadow root to start the search from.
 * @returns The actual focused element, or null if no element has focus.
 *
 * @example
 * // In a shadow DOM context
 * const activeElement = getActiveElement(document);
 * // Returns the actual focused element inside the shadow root
 *
 * @example
 * // Starting from a specific document
 * const activeElement = getActiveElement(ownerDocument(element));
 */
function activeElement(doc) {
  let element = doc.activeElement;
  while (element?.shadowRoot?.activeElement != null) {
    element = element.shadowRoot.activeElement;
  }
  return element;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js"
/*!*********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js ***!
  \*********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getDisplayName)
/* harmony export */ });
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-is */ "./node_modules/.pnpm/react-is@19.2.7/node_modules/react-is/cjs/react-is.development.js");

function getFunctionComponentName(Component, fallback = '') {
  return Component.displayName || Component.name || fallback;
}
function getWrappedName(outerType, innerType, wrapperName) {
  const functionName = getFunctionComponentName(innerType);
  return outerType.displayName || (functionName !== '' ? `${wrapperName}(${functionName})` : wrapperName);
}

/**
 * cherry-pick from
 * https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js
 * originally forked from recompose/getDisplayName
 */
function getDisplayName(Component) {
  if (Component == null) {
    return undefined;
  }
  if (typeof Component === 'string') {
    return Component;
  }
  if (typeof Component === 'function') {
    return getFunctionComponentName(Component, 'Component');
  }

  // TypeScript can't have components as objects but they exist in the form of `memo` or `Suspense`
  if (typeof Component === 'object') {
    switch (Component.$$typeof) {
      case react_is__WEBPACK_IMPORTED_MODULE_0__.ForwardRef:
        return getWrappedName(Component, Component.render, 'ForwardRef');
      case react_is__WEBPACK_IMPORTED_MODULE_0__.Memo:
        return getWrappedName(Component, Component.type, 'memo');
      default:
        return undefined;
    }
  }
  return undefined;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js"
/*!*****************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js ***!
  \*****************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getReactElementRef)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


/**
 * Returns the ref of a React element handling differences between React 19 and older versions.
 * It will throw runtime error if the element is not a valid React element.
 *
 * @param element React.ReactElement
 * @returns React.Ref<any> | null
 */
function getReactElementRef(element) {
  // 'ref' is passed as prop in React 19, whereas 'ref' is directly attached to children in older versions
  if (parseInt(react__WEBPACK_IMPORTED_MODULE_0__.version, 10) >= 19) {
    return element?.props?.ref || null;
  }
  // @ts-expect-error element.ref is not included in the ReactElement type
  // https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189
  return element?.ref || null;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js"
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js ***!
  \*************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getScrollbarSize)
/* harmony export */ });
// A change of the browser zoom change the scrollbar size.
// Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18
function getScrollbarSize(win = window) {
  // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes
  const documentWidth = win.document.documentElement.clientWidth;
  return win.innerWidth - documentWidth;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js"
/*!***********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js ***!
  \***********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ getValidReactChildren)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");


/**
 * Gets only the valid children of a component,
 * and ignores any nullish or falsy child.
 *
 * @param children the children
 */
function getValidReactChildren(children) {
  return react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(children).filter(child => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child));
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js"
/*!***********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/integerPropType/integerPropType.js ***!
  \***********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   getTypeByValue: () => (/* binding */ getTypeByValue)
/* harmony export */ });
function getTypeByValue(value) {
  const valueType = typeof value;
  switch (valueType) {
    case 'number':
      if (Number.isNaN(value)) {
        return 'NaN';
      }
      if (!Number.isFinite(value)) {
        return 'Infinity';
      }
      if (value !== Math.floor(value)) {
        return 'float';
      }
      return 'number';
    case 'object':
      if (value === null) {
        return 'null';
      }
      return value.constructor.name;
    default:
      return valueType;
  }
}
function requiredInteger(props, propName, componentName, location) {
  const propValue = props[propName];
  if (propValue == null || !Number.isInteger(propValue)) {
    const propType = getTypeByValue(propValue);
    return new RangeError(`Invalid ${location} \`${propName}\` of type \`${propType}\` supplied to \`${componentName}\`, expected \`integer\`.`);
  }
  return null;
}
function validator(props, propName, componentName, location) {
  const propValue = props[propName];
  if (propValue === undefined) {
    return null;
  }
  return requiredInteger(props, propName, componentName, location);
}
function validatorNoop() {
  return null;
}
validator.isRequired = requiredInteger;
validatorNoop.isRequired = validatorNoop;
const integerPropType =  false ? 0 : validator;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (integerPropType);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js"
/*!*********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js ***!
  \*********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isFocusVisible)
/* harmony export */ });
/**
 * Returns a boolean indicating if the event's target has :focus-visible
 */
function isFocusVisible(element) {
  try {
    return element.matches(':focus-visible');
  } catch (error) {
    // Do not warn on jsdom tests, otherwise all tests that rely on focus have to be skipped
    // Tests that rely on `:focus-visible` will still have to be skipped in jsdom
    if ( true && !window.navigator.userAgent.includes('jsdom')) {
      console.warn(['MUI: The `:focus-visible` pseudo class is not supported in this browser.', 'Some components rely on this feature to work properly.'].join('\n'));
    }
  }
  return false;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js"
/*!***********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js ***!
  \***********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Determines if a given element is a DOM element name (i.e. not a React component).
 */
function isHostComponent(element) {
  return typeof element === 'string';
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isHostComponent);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js"
/*!*****************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js ***!
  \*****************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ isMuiElement)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");

function isMuiElement(element, muiNames) {
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(element) && muiNames.indexOf(
  // For server components `muiName` is available 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
  element.type.muiName ?? element.type?._payload?.value?.muiName) !== -1;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js"
/*!*********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js ***!
  \*********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");
/* harmony import */ var _extractEventHandlers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../extractEventHandlers/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js");
/* harmony import */ var _omitEventHandlers_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../omitEventHandlers/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js");



/**
 * Merges the slot component internal props (usually coming from a hook)
 * with the externally provided ones.
 *
 * The merge order is (the latter overrides the former):
 * 1. The internal props (specified as a getter function to work with get*Props hook result)
 * 2. Additional props (specified internally on a Base UI component)
 * 3. External props specified on the owner component. These should only be used on a root slot.
 * 4. External props specified in the `slotProps.*` prop.
 * 5. The `className` prop - combined from all the above.
 * @param parameters
 * @returns
 */
function mergeSlotProps(parameters) {
  const {
    getSlotProps,
    additionalProps,
    externalSlotProps,
    externalForwardedProps,
    className
  } = parameters;
  if (!getSlotProps) {
    // The simpler case - getSlotProps is not defined, so no internal event handlers are defined,
    // so we can simply merge all the props without having to worry about extracting event handlers.
    const joinedClasses = (0,clsx__WEBPACK_IMPORTED_MODULE_0__["default"])(additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);
    const mergedStyle = {
      ...additionalProps?.style,
      ...externalForwardedProps?.style,
      ...externalSlotProps?.style
    };
    const props = {
      ...additionalProps,
      ...externalForwardedProps,
      ...externalSlotProps
    };
    if (joinedClasses.length > 0) {
      props.className = joinedClasses;
    }
    if (Object.keys(mergedStyle).length > 0) {
      props.style = mergedStyle;
    }
    return {
      props,
      internalRef: undefined
    };
  }

  // In this case, getSlotProps is responsible for calling the external event handlers.
  // We don't need to include them in the merged props because of this.

  const eventHandlers = (0,_extractEventHandlers_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
    ...externalForwardedProps,
    ...externalSlotProps
  });
  const componentsPropsWithoutEventHandlers = (0,_omitEventHandlers_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(externalSlotProps);
  const otherPropsWithoutEventHandlers = (0,_omitEventHandlers_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])(externalForwardedProps);
  const internalSlotProps = getSlotProps(eventHandlers);

  // The order of classes is important here.
  // Emotion (that we use in libraries consuming Base UI) depends on this order
  // to properly override style. It requires the most important classes to be last
  // (see https://github.com/mui/material-ui/pull/33205) for the related discussion.
  const joinedClasses = (0,clsx__WEBPACK_IMPORTED_MODULE_0__["default"])(internalSlotProps?.className, additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);
  const mergedStyle = {
    ...internalSlotProps?.style,
    ...additionalProps?.style,
    ...externalForwardedProps?.style,
    ...externalSlotProps?.style
  };
  const props = {
    ...internalSlotProps,
    ...additionalProps,
    ...otherPropsWithoutEventHandlers,
    ...componentsPropsWithoutEventHandlers
  };
  if (joinedClasses.length > 0) {
    props.className = joinedClasses;
  }
  if (Object.keys(mergedStyle).length > 0) {
    props.style = mergedStyle;
  }
  return {
    props,
    internalRef: internalSlotProps.ref
  };
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeSlotProps);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js"
/*!***************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js ***!
  \***************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Removes event handlers from the given object.
 * A field is considered an event handler if it is a function with a name beginning with `on`.
 *
 * @param object Object to remove event handlers from.
 * @returns Object with event handlers removed.
 */
function omitEventHandlers(object) {
  if (object === undefined) {
    return {};
  }
  const result = {};
  Object.keys(object).filter(prop => !(prop.match(/^on[A-Z]/) && typeof object[prop] === 'function')).forEach(prop => {
    result[prop] = object[prop];
  });
  return result;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (omitEventHandlers);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js"
/*!*******************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js ***!
  \*******************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ownerDocument)
/* harmony export */ });
function ownerDocument(node) {
  return node && node.ownerDocument || document;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js"
/*!***************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js ***!
  \***************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ ownerWindow)
/* harmony export */ });
/* harmony import */ var _ownerDocument_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ownerDocument/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js");

function ownerWindow(node) {
  const doc = (0,_ownerDocument_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node);
  return doc.defaultView || window;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js"
/*!*******************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/refType/refType.js ***!
  \*******************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");

const refType = prop_types__WEBPACK_IMPORTED_MODULE_0__.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0__.func, prop_types__WEBPACK_IMPORTED_MODULE_0__.object]);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (refType);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js"
/*!*****************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js ***!
  \*****************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ requirePropFactory)
/* harmony export */ });
function requirePropFactory(componentNameInError, Component) {
  if (false) // removed by dead control flow
{}

  // eslint-disable-next-line react/forbid-foreign-prop-types
  const prevPropTypes = Component ? {
    ...Component.propTypes
  } : null;
  const requireProp = requiredProp => (props, propName, componentName, location, propFullName, ...args) => {
    const propFullNameSafe = propFullName || propName;
    const defaultTypeChecker = prevPropTypes?.[propFullNameSafe];
    if (defaultTypeChecker) {
      const typeCheckerResult = defaultTypeChecker(props, propName, componentName, location, propFullName, ...args);
      if (typeCheckerResult) {
        return typeCheckerResult;
      }
    }
    if (typeof props[propName] !== 'undefined' && !props[requiredProp]) {
      return new Error(`The prop \`${propFullNameSafe}\` of ` + `\`${componentNameInError}\` can only be used together with the \`${requiredProp}\` prop.`);
    }
    return null;
  };
  return requireProp;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js"
/*!***********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js ***!
  \***********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * If `componentProps` is a function, calls it with the provided `ownerState`.
 * Otherwise, just returns `componentProps`.
 */
function resolveComponentProps(componentProps, ownerState, slotState) {
  if (typeof componentProps === 'function') {
    return componentProps(ownerState, slotState);
  }
  return componentProps;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (resolveComponentProps);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveProps/resolveProps.js"
/*!*****************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveProps/resolveProps.js ***!
  \*****************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ resolveProps)
/* harmony export */ });
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! clsx */ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");


/**
 * Add keys, values of `defaultProps` that does not exist in `props`
 * @param defaultProps
 * @param props
 * @param mergeClassNameAndStyle If `true`, merges `className` and `style` props instead of overriding them.
 *   When `false` (default), props override defaultProps. When `true`, `className` values are concatenated
 *   and `style` objects are merged with props taking precedence.
 * @returns resolved props
 */
function resolveProps(defaultProps, props, mergeClassNameAndStyle = false) {
  const output = {
    ...props
  };
  for (const key in defaultProps) {
    if (Object.prototype.hasOwnProperty.call(defaultProps, key)) {
      const propName = key;
      if (propName === 'components' || propName === 'slots') {
        output[propName] = {
          ...defaultProps[propName],
          ...output[propName]
        };
      } else if (propName === 'componentsProps' || propName === 'slotProps') {
        const defaultSlotProps = defaultProps[propName];
        const slotProps = props[propName];
        if (!slotProps) {
          output[propName] = defaultSlotProps || {};
        } else if (!defaultSlotProps) {
          output[propName] = slotProps;
        } else {
          output[propName] = {
            ...slotProps
          };
          for (const slotKey in defaultSlotProps) {
            if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
              const slotPropName = slotKey;
              output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
            }
          }
        }
      } else if (propName === 'className' && mergeClassNameAndStyle && props.className) {
        output.className = (0,clsx__WEBPACK_IMPORTED_MODULE_0__["default"])(defaultProps?.className, props?.className);
      } else if (propName === 'style' && mergeClassNameAndStyle && props.style) {
        output.style = {
          ...defaultProps?.style,
          ...props?.style
        };
      } else if (output[propName] === undefined) {
        output[propName] = defaultProps[propName];
      }
    }
  }
  return output;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/setRef/setRef.js"
/*!*****************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/setRef/setRef.js ***!
  \*****************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ setRef)
/* harmony export */ });
/**
 * TODO v5: consider making it private
 *
 * passes {value} to {ref}
 *
 * WARNING: Be sure to only call this inside a callback that is passed as a ref.
 * Otherwise, make sure to cleanup the previous {ref} if it changes. See
 * https://github.com/mui/material-ui/issues/13539
 *
 * Useful if you want to expose the ref of an inner component to the public API
 * while still using it inside the component.
 * @param ref A ref callback or ref object. If anything falsy, this is a no-op.
 */
function setRef(ref, value) {
  if (typeof ref === 'function') {
    ref(value);
  } else if (ref) {
    ref.current = value;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js"
/*!***********************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js ***!
  \***********************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ unsupportedProp)
/* harmony export */ });
function unsupportedProp(props, propName, componentName, location, propFullName) {
  if (false) // removed by dead control flow
{}
  const propFullNameSafe = propFullName || propName;
  if (typeof props[propName] !== 'undefined') {
    return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
  }
  return null;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js"
/*!*******************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js ***!
  \*******************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useControlled)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';

// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored
/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */

function useControlled(props) {
  const {
    controlled,
    default: defaultProp,
    name,
    state = 'value'
  } = props;
  // isControlled is ignored in the hook dependency lists as it should never change.
  const {
    current: isControlled
  } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(controlled !== undefined);
  const [valueState, setValue] = react__WEBPACK_IMPORTED_MODULE_0__.useState(defaultProp);
  const value = isControlled ? controlled : valueState;
  if (true) {
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (isControlled !== (controlled !== undefined)) {
        console.error([`MUI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", 'More info: https://fb.me/react-controlled-components'].join('\n'));
      }
    }, [state, name, controlled]);
    const {
      current: defaultValue
    } = react__WEBPACK_IMPORTED_MODULE_0__.useRef(defaultProp);
    react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
      if (!isControlled && JSON.stringify(defaultProp) !== JSON.stringify(defaultValue)) {
        console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\n'));
      }
    }, [JSON.stringify(defaultProp)]);
  }
  const setValueIfUncontrolled = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(newValue => {
    if (!isControlled) {
      setValue(newValue);
    }
  }, []);

  // TODO: provide overloads for the useControlled function to account for the case where either
  // controlled or default is not undefined.
  // In that case the return type should be [T, React.Dispatch<React.SetStateAction<T>>]
  // otherwise it should be [T | undefined, React.Dispatch<React.SetStateAction<T | undefined>>]
  return [value, setValueIfUncontrolled];
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js"
/*!***************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js ***!
  \***************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
 * This is useful for effects that are only needed for client-side rendering but not for SSR.
 *
 * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
 * and confirm it doesn't apply to your use-case.
 */
const useEnhancedEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEnhancedEffect);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js"
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js ***!
  \*************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
/* harmony import */ var _useEnhancedEffect_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useEnhancedEffect/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js");
'use client';




/**
 * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
 * See RFC in https://github.com/reactjs/rfcs/pull/220
 */

function useEventCallback(fn) {
  const ref = react__WEBPACK_IMPORTED_MODULE_0__.useRef(fn);
  (0,_useEnhancedEffect_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(() => {
    ref.current = fn;
  });
  return react__WEBPACK_IMPORTED_MODULE_0__.useRef((...args) =>
  // @ts-expect-error hide `this`
  (0, ref.current)(...args)).current;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEventCallback);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForcedRerendering/useForcedRerendering.js"
/*!*********************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForcedRerendering/useForcedRerendering.js ***!
  \*********************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useForcedRerendering)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * Copied from @base-ui/utils
 *
 * Returns a function that forces a rerender.
 */
function useForcedRerendering() {
  const [, setState] = react__WEBPACK_IMPORTED_MODULE_0__.useState({});
  return react__WEBPACK_IMPORTED_MODULE_0__.useCallback(() => {
    setState({});
  }, []);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js"
/*!*************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useForkRef)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';



/**
 * Merges refs into a single memoized callback ref or `null`.
 *
 * ```tsx
 * const rootRef = React.useRef<Instance>(null);
 * const refFork = useForkRef(rootRef, props.ref);
 *
 * return (
 *   <Root {...props} ref={refFork} />
 * );
 * ```
 *
 * @param {Array<React.Ref<Instance> | undefined>} refs The ref array.
 * @returns {React.RefCallback<Instance> | null} The new ref callback.
 */
function useForkRef(...refs) {
  const cleanupRef = react__WEBPACK_IMPORTED_MODULE_0__.useRef(undefined);
  const refEffect = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(instance => {
    const cleanups = refs.map(ref => {
      if (ref == null) {
        return null;
      }
      if (typeof ref === 'function') {
        const refCallback = ref;
        const refCleanup = refCallback(instance);
        return typeof refCleanup === 'function' ? refCleanup : () => {
          refCallback(null);
        };
      }
      ref.current = instance;
      return () => {
        ref.current = null;
      };
    });
    return () => {
      cleanups.forEach(refCleanup => refCleanup?.());
    };
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, refs);
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => {
    if (refs.every(ref => ref == null)) {
      return null;
    }
    return value => {
      if (cleanupRef.current) {
        cleanupRef.current();
        cleanupRef.current = undefined;
      }
      if (value != null) {
        cleanupRef.current = refEffect(value);
      }
    };
    // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, refs);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js"
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js ***!
  \***************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
var react__WEBPACK_IMPORTED_MODULE_0___namespace_cache;
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useId)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


let globalId = 0;

// TODO React 17: Remove `useGlobalId` once React 17 support is removed
function useGlobalId(idOverride) {
  const [defaultId, setDefaultId] = react__WEBPACK_IMPORTED_MODULE_0__.useState(idOverride);
  const id = idOverride || defaultId;
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    if (defaultId == null) {
      // Fallback to this default id when possible.
      // Use the incrementing value for client-side rendering only.
      // We can't use it server-side.
      // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem
      globalId += 1;
      setDefaultId(`mui-${globalId}`);
    }
  }, [defaultId]);
  return id;
}

// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why
const safeReact = {
  .../*#__PURE__*/ (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (react__WEBPACK_IMPORTED_MODULE_0___namespace_cache = __webpack_require__.t(react__WEBPACK_IMPORTED_MODULE_0__, 2)))
};
const maybeReactUseId = safeReact.useId;

/**
 *
 * @example <div id={useId()} />
 * @param idOverride
 * @returns {string}
 */
function useId(idOverride) {
  // React.useId() is only available from React 17.0.0.
  if (maybeReactUseId !== undefined) {
    const reactId = maybeReactUseId();
    return idOverride ?? reactId;
  }

  // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
  // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.
  return useGlobalId(idOverride);
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js"
/*!*************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useLazyRef)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


const UNINITIALIZED = {};

/**
 * A React.useRef() that is initialized lazily with a function. Note that it accepts an optional
 * initialization argument, so the initialization function doesn't need to be an inline closure.
 *
 * @usage
 *   const ref = useLazyRef(sortColumns, columns)
 */
function useLazyRef(init, initArg) {
  const ref = react__WEBPACK_IMPORTED_MODULE_0__.useRef(UNINITIALIZED);
  if (ref.current === UNINITIALIZED) {
    ref.current = init(initArg);
  }
  return ref;
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useOnMount/useOnMount.js"
/*!*************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useOnMount/useOnMount.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ useOnMount)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


const EMPTY = [];

/**
 * A React.useEffect equivalent that runs once, when the component is mounted.
 */
function useOnMount(fn) {
  // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array
  /* eslint-disable react-hooks/exhaustive-deps */
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(fn, EMPTY);
  /* eslint-enable react-hooks/exhaustive-deps */
}

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js"
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js ***!
  \*************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js");
'use client';


function usePreviousProps(value) {
  const ref = react__WEBPACK_IMPORTED_MODULE_0__.useRef({});
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
    ref.current = value;
  });
  return ref.current;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (usePreviousProps);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js"
/*!*****************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js ***!
  \*****************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _useForkRef_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../useForkRef/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js");
/* harmony import */ var _appendOwnerState_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../appendOwnerState/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js");
/* harmony import */ var _mergeSlotProps_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../mergeSlotProps/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js");
/* harmony import */ var _resolveComponentProps_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../resolveComponentProps/index.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js");
'use client';





/**
 * @ignore - do not document.
 * Builds the props to be passed into the slot of an unstyled component.
 * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.
 * If the slot component is not a host component, it also merges in the `ownerState`.
 *
 * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.
 */
function useSlotProps(parameters) {
  const {
    elementType,
    externalSlotProps,
    ownerState,
    skipResolvingSlotProps = false,
    ...other
  } = parameters;
  const resolvedComponentsProps = skipResolvingSlotProps ? {} : (0,_resolveComponentProps_index_js__WEBPACK_IMPORTED_MODULE_3__["default"])(externalSlotProps, ownerState);
  const {
    props: mergedProps,
    internalRef
  } = (0,_mergeSlotProps_index_js__WEBPACK_IMPORTED_MODULE_2__["default"])({
    ...other,
    externalSlotProps: resolvedComponentsProps
  });
  const ref = (0,_useForkRef_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])(internalRef, resolvedComponentsProps?.ref, parameters.additionalProps?.ref);
  const props = (0,_appendOwnerState_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])(elementType, {
    ...mergedProps,
    ref
  }, ownerState);
  return props;
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSlotProps);

/***/ },

/***/ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js"
/*!*************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js ***!
  \*************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Timeout: () => (/* binding */ Timeout),
/* harmony export */   "default": () => (/* binding */ useTimeout)
/* harmony export */ });
/* harmony import */ var _useLazyRef_useLazyRef_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../useLazyRef/useLazyRef.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js");
/* harmony import */ var _useOnMount_useOnMount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useOnMount/useOnMount.js */ "./node_modules/.pnpm/@mui+utils@7.3.11_@types+react@19.2.17_react@18.3.1/node_modules/@mui/utils/esm/useOnMount/useOnMount.js");
'use client';



class Timeout {
  static create() {
    return new Timeout();
  }
  currentId = null;

  /**
   * Executes `fn` after `delay`, clearing any previously scheduled call.
   */
  start(delay, fn) {
    this.clear();
    this.currentId = setTimeout(() => {
      this.currentId = null;
      fn();
    }, delay);
  }
  clear = () => {
    if (this.currentId !== null) {
      clearTimeout(this.currentId);
      this.currentId = null;
    }
  };
  disposeEffect = () => {
    return this.clear;
  };
}
function useTimeout() {
  const timeout = (0,_useLazyRef_useLazyRef_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Timeout.create).current;
  (0,_useOnMount_useOnMount_js__WEBPACK_IMPORTED_MODULE_1__["default"])(timeout.disposeEffect);
  return timeout;
}

/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/Factory.js"
/*!**********************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/Factory.js ***!
  \**********************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _lib_BlankNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/BlankNode.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/BlankNode.js");
/* harmony import */ var _lib_DefaultGraph_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lib/DefaultGraph.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/DefaultGraph.js");
/* harmony import */ var _lib_fromTerm_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lib/fromTerm.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/fromTerm.js");
/* harmony import */ var _lib_Literal_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./lib/Literal.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Literal.js");
/* harmony import */ var _lib_NamedNode_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./lib/NamedNode.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/NamedNode.js");
/* harmony import */ var _lib_Quad_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./lib/Quad.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Quad.js");
/* harmony import */ var _lib_Variable_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./lib/Variable.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Variable.js");








const dirLangStringDatatype = new _lib_NamedNode_js__WEBPACK_IMPORTED_MODULE_4__["default"]('http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString')
const langStringDatatype = new _lib_NamedNode_js__WEBPACK_IMPORTED_MODULE_4__["default"]('http://www.w3.org/1999/02/22-rdf-syntax-ns#langString')
const stringDatatype = new _lib_NamedNode_js__WEBPACK_IMPORTED_MODULE_4__["default"]('http://www.w3.org/2001/XMLSchema#string')

class DataFactory {
  constructor () {
    this.init()
  }

  init () {
    this._data = {
      blankNodeCounter: 0,
      defaultGraph: new _lib_DefaultGraph_js__WEBPACK_IMPORTED_MODULE_1__["default"]()
    }
  }

  namedNode (value) {
    return new _lib_NamedNode_js__WEBPACK_IMPORTED_MODULE_4__["default"](value)
  }

  blankNode (value) {
    value = value || ('b' + (++this._data.blankNodeCounter))

    return new _lib_BlankNode_js__WEBPACK_IMPORTED_MODULE_0__["default"](value)
  }

  literal (value, languageOrDatatype) {
    if (typeof languageOrDatatype === 'string') {
      return new _lib_Literal_js__WEBPACK_IMPORTED_MODULE_3__["default"](value, languageOrDatatype, langStringDatatype)
    } else if (typeof languageOrDatatype?.language === 'string') {
      return new _lib_Literal_js__WEBPACK_IMPORTED_MODULE_3__["default"](
        value,
        languageOrDatatype.language,
        languageOrDatatype.direction ? dirLangStringDatatype : langStringDatatype,
        languageOrDatatype.direction)
    } else {
      return new _lib_Literal_js__WEBPACK_IMPORTED_MODULE_3__["default"](value, '', languageOrDatatype || stringDatatype)
    }
  }

  variable (value) {
    return new _lib_Variable_js__WEBPACK_IMPORTED_MODULE_6__["default"](value)
  }

  defaultGraph () {
    return this._data.defaultGraph
  }

  quad (subject, predicate, object, graph = this.defaultGraph()) {
    return new _lib_Quad_js__WEBPACK_IMPORTED_MODULE_5__["default"](subject, predicate, object, graph)
  }

  fromTerm (original) {
    return (0,_lib_fromTerm_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this, original)
  }

  fromQuad (original) {
    return (0,_lib_fromTerm_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this, original)
  }
}

DataFactory.exports = [
  'blankNode',
  'defaultGraph',
  'fromQuad',
  'fromTerm',
  'literal',
  'namedNode',
  'quad',
  'variable'
]

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DataFactory);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/index.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/index.js ***!
  \********************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Factory_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Factory.js */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/Factory.js");


const factory = new _Factory_js__WEBPACK_IMPORTED_MODULE_0__["default"]()

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (factory);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/BlankNode.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/BlankNode.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
class BlankNode {
  constructor (id) {
    this.value = id
  }

  equals (other) {
    return !!other && other.termType === this.termType && other.value === this.value
  }
}

BlankNode.prototype.termType = 'BlankNode'

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlankNode);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/DefaultGraph.js"
/*!*******************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/DefaultGraph.js ***!
  \*******************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
class DefaultGraph {
  equals (other) {
    return !!other && other.termType === this.termType
  }
}

DefaultGraph.prototype.termType = 'DefaultGraph'
DefaultGraph.prototype.value = ''

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DefaultGraph);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Literal.js"
/*!**************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Literal.js ***!
  \**************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
class Literal {
  constructor (value, language, datatype, direction = '') {
    this.value = value
    this.language = language
    this.datatype = datatype
    this.direction = direction
  }

  equals (other) {
    return !!other &&
      other.termType === this.termType &&
      other.value === this.value &&
      other.language === this.language &&
      other.datatype.equals(this.datatype) &&
      (other.direction || '') === this.direction
  }
}

Literal.prototype.termType = 'Literal'

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Literal);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/NamedNode.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/NamedNode.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
class NamedNode {
  constructor (iri) {
    this.value = iri
  }

  equals (other) {
    return !!other && other.termType === this.termType && other.value === this.value
  }
}

NamedNode.prototype.termType = 'NamedNode'

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NamedNode);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Quad.js"
/*!***********************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Quad.js ***!
  \***********************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
class Quad {
  constructor (subject, predicate, object, graph) {
    this.subject = subject
    this.predicate = predicate
    this.object = object
    this.graph = graph
  }

  equals (other) {
    // `|| !other.termType` is for backwards-compatibility with old factories without RDF* support.
    return !!other &&
      (other.termType === 'Quad' || !other.termType) &&
      other.subject.equals(this.subject) &&
      other.predicate.equals(this.predicate) &&
      other.object.equals(this.object) &&
      other.graph.equals(this.graph)
  }
}

Quad.prototype.termType = 'Quad'
Quad.prototype.value = ''

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Quad);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Variable.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/Variable.js ***!
  \***************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
class Variable {
  constructor (name) {
    this.value = name
  }

  equals (other) {
    return !!other && other.termType === this.termType && other.value === this.value
  }
}

Variable.prototype.termType = 'Variable'

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Variable);


/***/ },

/***/ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/fromTerm.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/lib/fromTerm.js ***!
  \***************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
function fromTerm (factory, original) {
  if (!original) {
    return null
  }

  if (original.termType === 'BlankNode') {
    return factory.blankNode(original.value)
  }

  if (original.termType === 'DefaultGraph') {
    return factory.defaultGraph()
  }

  if (original.termType === 'Literal') {
    return factory.literal(original.value, original.language || factory.namedNode(original.datatype.value))
  }

  if (original.termType === 'NamedNode') {
    return factory.namedNode(original.value)
  }

  if (original.termType === 'Quad') {
    const subject = factory.fromTerm(original.subject)
    const predicate = factory.fromTerm(original.predicate)
    const object = factory.fromTerm(original.object)
    const graph = factory.fromTerm(original.graph)

    return factory.quad(subject, predicate, object, graph)
  }

  if (original.termType === 'Variable') {
    return factory.variable(original.value)
  }

  throw new Error(`unknown termType ${original.termType}`)
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fromTerm);


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/index.js"
/*!**********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/index.js ***!
  \**********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   accessRights: () => (/* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_4__.accessRights),
/* harmony export */   all: () => (/* binding */ all),
/* harmony export */   formatOnDataset: () => (/* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_4__.formatOnDataset),
/* harmony export */   licenseOnDataset: () => (/* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_4__.licenseOnDataset),
/* harmony export */   publisherAsKeyword: () => (/* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_4__.publisherAsKeyword),
/* harmony export */   removeNonURILicenses: () => (/* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_4__.removeNonURILicenses),
/* harmony export */   spelling: () => (/* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_4__.spelling),
/* harmony export */   to2: () => (/* reexport safe */ _to2_index_js__WEBPACK_IMPORTED_MODULE_2__.to2),
/* harmony export */   to3: () => (/* reexport safe */ _to3_index_js__WEBPACK_IMPORTED_MODULE_3__.to3)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _to2_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./to2/index.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/index.js");
/* harmony import */ var _to3_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./to3/index.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/index.js");
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/index.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/utils/index.js");





const all = (graph, options) => {
  const to2Logs = (0,_to2_index_js__WEBPACK_IMPORTED_MODULE_2__.to2)(graph, options);
  const to3Logs = (0,_to3_index_js__WEBPACK_IMPORTED_MODULE_3__.to3)(graph, options);
  return [...to2Logs, ...to3Logs];
};


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/accessRight.js"
/*!********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/accessRight.js ***!
  \********************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertAccessRightInGraph: () => (/* binding */ convertAccessRightInGraph),
/* harmony export */   convertAccessRightStatement: () => (/* binding */ convertAccessRightStatement)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");

const am = {
  'http://publications.europa.eu/resource/authority/dataset-access/PUBLIC': 'http://publications.europa.eu/resource/authority/access-right/PUBLIC',
  'http://publications.europa.eu/resource/authority/dataset-access/RESTRICTED': 'http://publications.europa.eu/resource/authority/access-right/RESTRICTED',
  'http://publications.europa.eu/resource/authority/dataset-access/NON-PUBLIC': 'http://publications.europa.eu/resource/authority/access-right/NON-PUBLIC'
};

/**
 * Converts the access right (in object position) from base url
 * http://publications.europa.eu/resource/authority/dataset-access/
 * to http://publications.europa.eu/resource/authority/access-right/
 *
 * @param {Statement} stmt
 * @returns {object|undefined}
 */
const convertAccessRightStatement = stmt => {
  const originalValue = stmt.getValue();
  const match = am[originalValue];
  if (match) {
    stmt.setValue(match);
    return {
      subject: stmt.getSubject(),
      change: 'object',
      from: originalValue,
      to: match
    };
  }
};

/**
 * Converts all access rights in the graph appearing for the dcterms:accessRights property.
 *
 * @param {Graph} graph
 * @returns {object[]}
 */
const convertAccessRightInGraph = graph => graph.find(null, 'dcterms:accessRights').map(convertAccessRightStatement).filter(Boolean);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/frequency.js"
/*!******************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/frequency.js ***!
  \******************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertFrequencyInGraph: () => (/* binding */ convertFrequencyInGraph),
/* harmony export */   convertFrequencyStatement: () => (/* binding */ convertFrequencyStatement)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");


const _pm = {
  annual: 'ANNUAL',
  biennial: 'BIENNIAL',
  bimonthly: 'BIMONTHLY',
  biweekly: 'BIWEEKLY',
  continuous: 'CONT',
  daily: 'DAILY',
  irregular: 'IRREG',
  monthly: 'MONTHLY',
  quarterly: 'QUARTERLY',
  semiannual: 'ANNUAL_2',
  semimonthly: 'MONTHLY_2',
  semiweekly: 'WEEKLY_2',
  threeTimesAMonth: 'MONTHLY_3',
  threeTimesAWeek: 'WEEKLY_3',
  threeTimesAYear: 'ANNUAL_3',
  triennial: 'TRIENNIAL',
  weekly: 'WEEKLY'
};
const pm = {};
Object.keys(_pm).forEach(key => {
  pm[`http://purl.org/cld/freq/${key}`] = `http://publications.europa.eu/resource/authority/frequency/${_pm[key]}`;
});

/**
 * Converts the frequency (in object position) from the CLD concept scheme (The Collection
 * Description Frequency Namespace) to the frequency concept scheme maintained by the publication
 * office.
 *
 * @param {Statement} stmt
 * @returns {object|undefined}
 */
const convertFrequencyStatement = stmt => {
  const originalValue = stmt.getValue();
  const match = pm[originalValue];
  if (match) {
    stmt.setValue(match);
    return {
      subject: stmt.getSubject(),
      change: 'object',
      from: originalValue,
      to: match
    };
  }
};

/**
 * Converts all frequencies in the graph appearing for the dcterms:accrualPeriodicity property.
 *
 * @param {Graph} graph
 * @returns {object[]}
 */
const convertFrequencyInGraph = graph => graph.find(null, 'dcterms:accrualPeriodicity').map(convertFrequencyStatement).filter(Boolean);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/index.js"
/*!**************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/index.js ***!
  \**************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   to2: () => (/* binding */ to2)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _frequency_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./frequency.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/frequency.js");
/* harmony import */ var _theme_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./theme.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/theme.js");
/* harmony import */ var _accessRight_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./accessRight.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/accessRight.js");
/* harmony import */ var _misc_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./misc.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/misc.js");






const to2 = (graph, options) => {
  const frequencyLogs = (0,_frequency_js__WEBPACK_IMPORTED_MODULE_2__.convertFrequencyInGraph)(graph);
  const themeLogs = (0,_theme_js__WEBPACK_IMPORTED_MODULE_3__.convertThemeInGraph)(graph);
  const accessRightLogs = (0,_accessRight_js__WEBPACK_IMPORTED_MODULE_4__.convertAccessRightInGraph)(graph);
  const miscLogs = (0,_misc_js__WEBPACK_IMPORTED_MODULE_5__.misc)(graph);
  return [...frequencyLogs, ...themeLogs, ...accessRightLogs, ...miscLogs];
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/misc.js"
/*!*************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/misc.js ***!
  \*************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   misc: () => (/* binding */ misc)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");




const dt = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.expand('xsd:date');
_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_3__.namespaces.add('adms', 'http://www.w3.org/ns/adms#');
const misc = graph => {
  const contactPointLogs = graph.find(null, 'adms:contactPoint').map(stmt => {
    stmt.setPredicate('dcat:contactPoint');
    return {
      subject: stmt.getSubject(),
      change: 'predicate',
      from: 'adms:contactPoint',
      to: 'dcat:contactPoint'
    };
  });
  const versionLogs = graph.find(null, 'adms:version').map(stmt => {
    stmt.setPredicate('owl:versionInfo');
    return {
      subject: stmt.getSubject(),
      change: 'predicate',
      from: 'adms:version',
      to: 'owl:versionInfo'
    };
  });
  const dateLogs = graph.find().map(stmt => {
    const v = stmt.getValue().trim();
    if (stmt.getDatatype() === dt && (v === '' || Number.isNaN(Date.parse(v)) == null)) {
      stmt.setAsserted(false);
      return {
        subject: stmt.getSubject(),
        change: 'removal',
        from: v,
        to: ''
      };
    }
  }).filter(Boolean);
  return [...contactPointLogs, ...versionLogs, ...dateLogs];
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/theme.js"
/*!**************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to2/theme.js ***!
  \**************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertThemeInGraph: () => (/* binding */ convertThemeInGraph),
/* harmony export */   convertThemeStatement: () => (/* binding */ convertThemeStatement)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");


const _tm = {
  100142: 'GOVE',
  // 04 POLITICS
  100143: 'INTR',
  // 08 INTERNATIONAL RELATIONS
  100144: 'GOVE',
  // 10 EUROPEAN UNION
  100145: 'JUST',
  // 12 LAW
  100146: 'ECON',
  // 16 ECONOMICS
  100147: 'ECON',
  // 20 TRADE
  100148: 'ECON',
  // 24 FINANCE
  100149: 'SOCI',
  // 28 SOCIAL QUESTIONS
  100150: 'EDUC',
  // 32 EDUCATION AND COMMUNICATIONS
  100151: 'TECH',
  // 36 SCIENCE
  100152: 'ECON',
  // 40 BUSINESS AND COMPETITION
  100153: 'SOCI',
  // 44 EMPLOYMENT AND WORKING CONDITIONS
  100154: 'TRAN',
  // 48 TRANSPORT
  100155: 'ENVI',
  // 52 ENVIRONMENT
  100156: 'AGRI',
  // 56 AGRICULTURE, FORESTRY AND FISHERIES
  100157: 'AGRI',
  // 60 AGRI-FOODSTUFFS
  100158: 'TECH',
  // 64 PRODUCTION, TECHNOLOGY AND RESEARCH
  100159: 'ENER',
  // 66 ENERGY
  100160: 'ECON',
  // 68 INDUSTRY   -- not a good match
  100161: 'REGI',
  // 72 GEOGRAPHY  -- not a good match
  100162: 'INTR' // 76 INTERNATIONAL ORGANISATIONS
};
const tm = {};
Object.keys(_tm).forEach(key => {
  tm[`http://eurovoc.europa.eu/${key}`] = `http://publications.europa.eu/resource/authority/data-theme/${_tm[key]}`;
});

/**
 * Converts the theme (in object position) from the top level EUROVOC categories to
 * the data theme concept scheme maintained by the publication office.
 *
 * @param {Statement} stmt
 * @returns {object|undefined}
 */
const convertThemeStatement = stmt => {
  const originalValue = stmt.getValue();
  const match = tm[originalValue];
  if (match) {
    stmt.setValue(match);
    return {
      subject: stmt.getSubject(),
      change: 'object',
      from: originalValue,
      to: match
    };
  }
};

/**
 * Converts all themes in the graph appearing for the dcat:theme property.
 *
 * @param {Graph} graph
 * @returns {object[]}
 */
const convertThemeInGraph = graph => graph.find(null, 'dcat:theme').map(convertThemeStatement).filter(Boolean);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/index.js"
/*!**************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/index.js ***!
  \**************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   to3: () => (/* binding */ to3)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _status_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./status.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/status.js");
/* harmony import */ var _misc_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./misc.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/misc.js");




const to3 = (graph, options) => {
  const statusLogs = (0,_status_js__WEBPACK_IMPORTED_MODULE_2__.convertStatusInGraph)(graph);
  const miscLogs = (0,_misc_js__WEBPACK_IMPORTED_MODULE_3__.misc)(graph);
  return [...statusLogs, ...miscLogs];
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/misc.js"
/*!*************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/misc.js ***!
  \*************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   misc: () => (/* binding */ misc)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");


const misc = graph => {
  const hasVersionLogs = graph.find(null, 'dcterms:hasVersion').map(stmt => {
    stmt.setPredicate('dcat:hasVersion');
    return {
      subject: stmt.getSubject(),
      change: 'predicate',
      from: 'dcterms:hasVersion',
      to: 'dcat:hasVersion'
    };
  });
  const isVersionOfLogs = graph.find(null, 'dcterms:isVersionOf').map(stmt => {
    stmt.setPredicate('dcat:isVersionOf');
    return {
      subject: stmt.getSubject(),
      change: 'predicate',
      from: 'dcterms:isVersionOf',
      to: 'dcat:isVersionOf'
    };
  });
  const versionInfoLogs = graph.find(null, 'owl:versionInfo').map(stmt => {
    stmt.setPredicate('dcat:version');
    return {
      subject: stmt.getSubject(),
      change: 'predicate',
      from: 'owl:versionInfo',
      to: 'dcat:version'
    };
  });
  const byteSizeLogs = graph.find(null, 'dcat:byteSize').map(stmt => {
    stmt.setDatatype('http://www.w3.org/2001/XMLSchema#nonNegativeInteger');
    return {
      subject: stmt.getSubject(),
      change: 'datatype',
      from: 'dcat:byteSize',
      to: 'http://www.w3.org/2001/XMLSchema#nonNegativeInteger'
    };
  });
  return [...hasVersionLogs, ...isVersionOfLogs, ...versionInfoLogs, ...byteSizeLogs];
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/status.js"
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/to3/status.js ***!
  \***************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertStatusInGraph: () => (/* binding */ convertStatusInGraph),
/* harmony export */   convertStatusStatement: () => (/* binding */ convertStatusStatement)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");

const status = {
  'http://purl.org/adms/status/Completed': 'http://publications.europa.eu/resource/authority/distribution-status/COMPLETED',
  'http://purl.org/adms/status/Deprecated': 'http://publications.europa.eu/resource/authority/distribution-status/DEPRECATED',
  'http://purl.org/adms/status/UnderDevelopment': 'http://publications.europa.eu/resource/authority/distribution-status/DEVELOP',
  'http://purl.org/adms/status/Withdrawn': 'http://publications.europa.eu/resource/authority/distribution-status/WITHDRAWN'
};
_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.namespaces.add('adms', 'http://www.w3.org/ns/adms#');

/**
 * Converts the status (in object position) from the Publication Office
 * to Named Authority List.
 *
 * @param {Statement} stmt
 * @returns {object|undefined}
 */
const convertStatusStatement = stmt => {
  const originalValue = stmt.getValue();
  const match = status[originalValue];
  if (match) {
    stmt.setValue(match);
    return {
      subject: stmt.getSubject(),
      change: 'object',
      from: originalValue,
      to: match
    };
  }
};

/**
 * Converts every status in the graph appearing for the adms:status property.
 *
 * @param {Graph} graph
 * @returns {object[]}
 */
const convertStatusInGraph = graph => graph.find(null, 'adms:status').map(convertStatusStatement).filter(Boolean);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/utils/index.js"
/*!****************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/utils/index.js ***!
  \****************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   accessRights: () => (/* reexport safe */ _misc_js__WEBPACK_IMPORTED_MODULE_0__.accessRights),
/* harmony export */   formatOnDataset: () => (/* reexport safe */ _misc_js__WEBPACK_IMPORTED_MODULE_0__.formatOnDataset),
/* harmony export */   licenseOnDataset: () => (/* reexport safe */ _misc_js__WEBPACK_IMPORTED_MODULE_0__.licenseOnDataset),
/* harmony export */   publisherAsKeyword: () => (/* reexport safe */ _misc_js__WEBPACK_IMPORTED_MODULE_0__.publisherAsKeyword),
/* harmony export */   removeNonURILicenses: () => (/* reexport safe */ _misc_js__WEBPACK_IMPORTED_MODULE_0__.removeNonURILicenses),
/* harmony export */   spelling: () => (/* reexport safe */ _misc_js__WEBPACK_IMPORTED_MODULE_0__.spelling)
/* harmony export */ });
/* harmony import */ var _misc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./misc.js */ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/utils/misc.js");


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/utils/misc.js"
/*!***************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+dcat-conversions@1.3.0/node_modules/@entryscape/dcat-conversions/src/utils/misc.js ***!
  \***************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   accessRights: () => (/* binding */ accessRights),
/* harmony export */   formatOnDataset: () => (/* binding */ formatOnDataset),
/* harmony export */   licenseOnDataset: () => (/* binding */ licenseOnDataset),
/* harmony export */   publisherAsKeyword: () => (/* binding */ publisherAsKeyword),
/* harmony export */   removeNonURILicenses: () => (/* binding */ removeNonURILicenses),
/* harmony export */   spelling: () => (/* binding */ spelling)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");







const spelling = graph => {
  graph.find(null, 'vcard:Organisation').forEach(stmt => {
    stmt.setPredicate('vcard:Organization');
  });
};
const accessRights = graph => {
  const values = ['PUBLIC', 'RESTRICTED', 'NON_PUBLIC'].map(ln => `http://publications.europa.eu/resource/authority/access-right/${ln}`);
  graph.find(null, 'dcterms:accessRights').forEach(stmt => {
    if (stmt.getType() !== 'uri' || values.indexOf(stmt.getValue()) === -1) {
      stmt.setAsserted(false);
    }
  });
};
const publisherAsKeyword = graph => {
  const pub2name = {};
  graph.find(null, 'rdf:type', 'dcat:Dataset').forEach(stmt => {
    const pub = graph.findFirstValue(stmt.getSubject(), 'dcterms:publisher');
    if (pub) {
      let pubname = pub2name[pub];
      if (!pubname) {
        pubname = graph.findFirstValue(pub, 'foaf:name');
        pub2name[pub] = pubname;
      }
      if (pubname) {
        graph.addL(stmt.getSubject(), 'dcat:keyword', pubname);
      }
    }
  });
};

// export const fiveStars = (graph) =>  {
//     // Todo
// };

const removeNonURILicenses = graph => {
  graph.find(null, 'dcterms:license').forEach(stmt => {
    if (stmt.getType() !== 'uri') {
      graph.remove(stmt);
    }
  });
};
const convertLicense = (license, options) => {
  if (options) {
    const mapped = options.map[license];
    if (mapped) {
      return mapped;
    }
    const accept = Array.isArray(options.accept) ? options.accept : [options.accept];
    if (accept.find(check => {
      if (typeof check === 'string') {
        return check === license;
      } else if (check instanceof RegExp) {
        return check.test(license);
      }
      return false;
    })) {
      return license;
    }
    return undefined;
  }
  return license;
};
const licenseFix = (licenses, options) => {
  let converted = new Set();
  if (options) {
    licenses.forEach(l => {
      const cl = convertLicense(l, options);
      if (cl) {
        converted.add(cl);
      }
    });
    if (converted.size === 0) {
      if (licenses.size > 0) {
        if (options.otherlicense) {
          converted.add(options.otherlicense);
        }
      } else if (options.nolicense) {
        converted.add(options.nolicense);
      }
    }
  }
  return converted;
};
const licenseOnDataset = (uri, datasetGraph, dist2graph, options) => {
  const licenses = new Set();
  datasetGraph.find(uri, 'dcat:distribution').forEach(stmt => {
    const g = dist2graph[stmt.getValue()];
    if (g) {
      g.find(stmt.getValue(), 'dcterms:license').forEach(lStmt => licenses.add(lStmt.getValue()));
    }
  });
  datasetGraph.find(uri, 'dcterms:license').forEach(stmt => {
    if (stmt.getType() === 'uri') {
      licenses.add(stmt.getValue());
    }
    stmt.setAsserted(false);
  });
  licenseFix(licenses, options).forEach(l => datasetGraph.add(uri, 'dcterms:license', l));
};
const formatOnDataset = (uri, datasetGraph, dist2graph) => {
  const formats = new Set();
  datasetGraph.find(uri, 'dcat:distribution').forEach(stmt => {
    const g = dist2graph[stmt.getValue()];
    if (g) {
      const mediatype = g.findFirstValue(stmt.getValue(), 'dcat:mediaType');
      const format = g.findFirstValue(stmt.getValue(), 'dcterms:format');
      if (mediatype) {
        g.find(stmt.getValue(), 'dcat:mediaType').forEach(lStmt => {
          lStmt.setValue((lStmt.getValue() || '').trim()); // trim away blanks on some formats
          formats.add(lStmt.getValue());
        });
      } else if (format) {
        g.find(stmt.getValue(), 'dcterms:format').forEach(lStmt => {
          if (lStmt.getType() === 'literal') {
            lStmt.setValue((lStmt.getValue() || '').trim()); // trim away blanks on some formats
            formats.add(lStmt.getValue());
          }
        });
      }
    }
  });
  formats.forEach(l => datasetGraph.addL(uri, 'dcterms:format', l));
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Auth.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Auth.js ***!
  \****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Auth)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");




/**
 * EntryStore is the main class that is used to connect to a running server-side
 * EntryStore repository.
 *
 * @exports store/Auth
 */
class Auth {
  /**
   * @param {EntryStore} entrystore - a repository instance.
   */
  constructor(entrystore) {
    this._entryStore = entrystore;
    this._listenerCounter = 0;

    /**
     * @type {Map<string, Function>}
     * @private
     */
    this._listeners = new Map();
  }

  /**
   *
   * @param {String} topic
   * @param obj
   */
  messageListeners(topic, obj) {
    this._listeners.forEach(func => func(topic, obj));
  }

  /**
   * Adds an authentication listener, it will be notified of login and logout events.
   * @param {Function} listener
   */
  addAuthListener(listener) {
    if (listener.__alid == null) {
      listener.__alid = `idx_${this._listenerCounter}`;
      this._listenerCounter += 1;
    }
    this._listeners.set(listener.__alid, listener);
  }

  /**
   * Removes an authentication listener
   * @param {Function} listener
   */
  removeAuthListener(listener) {
    if (listener.__alid != null) {
      this._listeners.delete(listener.__alid);
    }
  }

  /**
   * Yields information about who currently is authenticated against the EntryStore repository.
   *
   * @param {boolean} forceLookup
   * @returns {Promise.<EntryInfo>} - upon success an object containing attributes "user" being
   * the username, "id" of the user entry,
   * and "homecontext" being the entry-id of the home context is provided.
   * @see {@link EntryStore#auth auth}
   * @see {@link EntryStore#logout logout}
   */
  async getUserInfo() {
    let forceLookup = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    if (this.userInfo && !forceLookup) {
      return Promise.resolve(this.userInfo);
    }
    this.userInfo = await this._entryStore.handleAsync(this._entryStore.getREST().get(`${this._entryStore._baseURI}auth/user`, null, true), 'getUserInfo');
    return this.userInfo;
  }

  /**
   * @param {boolean} forceLookup
   * @returns {Promise.<Entry>} on success the entry for the currently signed in user is provided.
   */
  async getUserEntry() {
    let forceLookup = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    if (this.userEntry && !forceLookup) {
      return Promise.resolve(this.userEntry);
    }
    const userInfo = await this.getUserInfo(forceLookup);
    this.userEntry = await this._entryStore.getEntry(this._entryStore.getEntryURI('_principals', userInfo.id), {
      asyncContext: 'getUserEntry'
    });
    return this.userEntry;
  }

  /**
   * Authenticate using credentials containing a user, a password and an optional maxAge
   * given in seconds.
   *
   * @param user
   * @param password
   * @param maxAge
   * @returns {Promise}
   */
  async login(user, password, maxAge) {
    if (this.userInfo && this.userInfo.user === user) {
      return this.getUserInfo();
    }
    const credentials = {
      base: this._entryStore.getBaseURI(),
      user,
      password,
      maxAge
    };
    const auth = await this._entryStore.handleAsync(this._entryStore.getREST().auth(credentials), 'login');
    if (typeof auth === 'object' && auth.user) {
      return auth;
    }
    this.userInfo = await this._entryStore.getREST().get(`${this._entryStore._baseURI}auth/user`, null, true);
    delete this.userEntry;
    this._entryStore.getCache().allNeedRefresh();
    this.messageListeners('login', this.userInfo);
    return this.userInfo;
  }

  /**
   * Logout the currently authorized user.
   *
   * @returns {Promise.<{user, id}>} The guest user info
   */
  async logout() {
    if (this.userInfo && this.userInfo.user === 'guest') {
      return this.getUserInfo();
    }

    // handleAsync returns the original promise passed
    await this._entryStore.handleAsync(this._entryStore.getREST().auth({
      base: this._entryStore.getBaseURI(),
      logout: true
    }), 'logout');
    delete this.userEntry;
    this._entryStore.getCache().allNeedRefresh();
    this.userInfo = {
      user: 'guest',
      id: '_guest'
    };
    this.messageListeners('logout', this.userInfo);
    return this.userInfo;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Cache.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Cache.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Cache)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");



/**
 * Caches loaded entries and keeps track of which entries that need to be updated (refreshed).
 * The cache also provides a listener functionality that allows you to be notified of
 * when entries are updated.
 *
 * @exports store/Cache
 */
class Cache {
  constructor() {
    /**
     * @type {Map<string, Function>}
     * @private
     */
    this._listenersIdx = new Map();

    /**
     * @type {Map<string, Entry>}
     * @private
     */
    this._cacheIdx = new Map();

    /**
     * @type {Map<string, Set<Entry>>}
     * @private
     */
    this._cacheIdxResource = new Map();

    /**
     * @type {Map<string, object>}
     * @private
     */
    this._cacheCtrl = new Map();
    this._listenerCounter = 0;
    this._cacheLoadPromise = {};
  }

  /**
   * Add or update the entry to the cache.
   * All listeners will be notified unless silently is specified.
   *
   * @param {Entry} entry
   * @param {boolean=} silently - listeners will be notified unless true is specified.
   */
  cache(entry, silently) {
    const entryURI = entry.getURI();
    const previouslyCached = this._cacheIdx.has(entryURI);
    this._cacheIdx.set(entryURI, entry);
    const entryRURI = entry.getResourceURI();
    const entriesSet = this._cacheIdxResource.has(entryRURI) ? this._cacheIdxResource.get(entryRURI) : new Set();
    if (!entriesSet.has(entry)) {
      entriesSet.add(entry);
    }
    this._cacheIdxResource.set(entryRURI, entriesSet);
    this._cacheCtrl.set(entryURI, {
      date: new Date().getTime()
    });
    if (previouslyCached && silently !== true) {
      this.messageListeners('refreshed', entry);
    }
  }

  /**
   * Removes a single entry from the cache.
   * @param {Entry} entry the entry to remove.
   */
  unCache(entry) {
    const entryURI = entry.getURI();
    const entryRURI = entry.getResourceURI();
    this._cacheIdx.delete(entryURI);
    this._cacheCtrl.delete(entryURI);
    const entriesSet = this._cacheIdxResource.get(entryRURI);
    if (entriesSet.size > 0) {
      entriesSet.delete(entry);
      if (entriesSet.size === 0) {
        this._cacheIdxResource.delete(entryRURI);
      }
    }
  }

  /**
   * Marks an entry as in need of refresh from the store.
   * All listeners are notified of the entry now being in need of refreshing unless
   * silently is set to true.
   *
   * @param {Entry} entry
   * @param {boolean=} silently
   */
  setRefreshNeeded(entry, silently) {
    const entryURI = entry.getURI();
    const ctrl = this._cacheCtrl.get(entryURI);
    if (ctrl == null) {
      throw new Error(`No cache control of existing entry: ${entryURI}`);
    }
    ctrl.stale = true;
    if (silently !== true) {
      this.messageListeners('needRefresh', entry);
    }
  }

  /**
   * A convenience method for caching multiple entries.
   *
   * @param {Entry[]} entryArr
   * @param {Boolean=} silently
   * @see Cache#cache
   */
  cacheAll(entryArr, silently) {
    entryArr.forEach(entry => {
      this.cache(entry, silently);
    });
  }

  /**
   * Retrieve the entry from it's URI.
   *
   * @param {string} entryURI
   * @returns {Entry|undefined}
   */
  get(entryURI) {
    return this._cacheIdx.get(entryURI);
  }

  /**
   * Retrieve all entries that have the specified uri as resource.
   * Note that since several entries (e.g. links) may have the same uri
   * as resource this method returns an array. However, in many situations
   * there will be zero or one entry per uri.
   *
   * @param {string} uri
   * @returns {Set<Entry>} always returns a set, may be empty though.
   */
  getByResourceURI(uri) {
    return new Set(this._cacheIdxResource.get(uri));
  }

  /**
   * Retrieve a load promise.
   *
   * @param {string} loadID
   * @returns {Promise|undefined}
   */
  getPromise(loadID) {
    return this._cacheLoadPromise[loadID];
  }

  /**
   * Store the promise for loading something.
   *
   * @param {string} loadID
   * @param {Promise} loadPromise
   */
  addPromise(loadID, loadPromise) {
    this._cacheLoadPromise[loadID] = loadPromise;
    this._cacheLoadPromise[loadID].catch(() => {});
  }

  /**
   * Remove the promise responsible for loading something.
   *
   * @param {string} loadID
   */
  removePromise(loadID) {
    delete this._cacheLoadPromise[loadID];
  }

  /**
   * Tells whether the entry is in need of a refresh from the repository.
   *
   * @param {Entry} entry
   * @returns {boolean}
   */
  needRefresh(entry) {
    const entryURI = entry.getURI();
    const ctrl = this._cacheCtrl.get(entryURI);
    if (ctrl == null) {
      throw Error(`No cache control of existing entry: ${entryURI}`);
    }
    return ctrl.stale === true;
  }

  /**
   * @param {Function} listener
   */
  addCacheUpdateListener(listener) {
    if (listener.__clid != null) {
      listener.__clid = `idx_${this._listenerCounter}`;
      this._listenerCounter += 1;
    }
    this._listenersIdx.set(listener.__clid, listener);
  }

  /**
   * @param {Function} listener
   */
  removeCacheUpdateListener(listener) {
    if (listener.__clid != null) {
      this._listenersIdx.delete(listener.__clid);
    }
  }

  /**
   * Agreed topics are:
   * allEntriesNeedRefresh - all entries are now in need of refresh,
   * typically happens after a change of user(sign in)
   * needRefresh - the specified entry need to be refreshed.
   * refreshed - the specified entry have been refreshed.
   *
   * @param {string} topic
   * @param {Entry=} affectedEntry
   */
  messageListeners(topic, affectedEntry) {
    this._listenersIdx.forEach(func => {
      func(topic, affectedEntry);
    });
  }

  /**
   * Marks all entries as in need of refresh and consequently messages all listeners
   * with the allEntriesNeedRefresh topic.
   */
  allNeedRefresh() {
    this._cacheIdx.forEach((entry, uri) => {
      // Do not messageListeners for every entry.
      this.setRefreshNeeded(this._cacheIdx.get(uri), true);
    }, this);
    this.messageListeners('allEntriesNeedRefresh');
  }

  /**
   * Clears the cache from all cached entries.
   * Warning: all references to entries needs to be discarded as they will not be
   * kept in sync with changes.
   */
  clear() {
    this._cacheIdx = new Map();
    this._cacheIdxResource = new Map();
    this._cacheCtrl = new Map();
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Context.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Context.js ***!
  \*******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Context)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Graph.js");
/* harmony import */ var _Pipeline_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Pipeline.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Pipeline.js");
/* harmony import */ var _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PrototypeEntry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeEntry.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");
/* harmony import */ var _String_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./String.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/String.js");
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./types.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js");








/**
 * Methods for interacting with the EntryStore repository scoped to a specific context.
 *
 * @exports store/Context
 */
class Context extends _Resource_js__WEBPACK_IMPORTED_MODULE_4__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   */
  // eslint-disable-next-line no-useless-constructor
  constructor(entryURI, resourceURI, entryStore) {
    super(entryURI, resourceURI, entryStore);
  }

  /**
   * Retrieves a list of entries in the context.
   *
   * @param {Object} sort - same sort object as provided in the optionalLoadParams to
   * @link EntryStore#getEntry getEntry method.
   * @param {Object} limit - same limit as provided in the optionalLoadParams to
   * {@see EntryStore#getEntry getEntry} method.
   * @param {integer} page - unless limit is set to -1 (no pagination) we need to specify
   * which page to load, first page is 0.
   * @returns {Promise.<Entry[]>} upon success the promise returns an array of entries.
   * @see EntryStore#getListEntries
   */
  listEntries(sort, limit, page) {
    return this.getEntryStore().getListEntries(`${this._resourceURI}/entry/_all`, sort, limit, page);
  }

  /**
   * Convenience method, to retrieve an entry from this context.
   *
   * @param {string} entryId
   * @param {object} optionalLoadParams same parameter as in {@see EntryStore#getEntry}
   * @returns {Promise.<Entry>}
   * @see EntryStore#getEntry
   */
  getEntryById(entryId) {
    let optionalLoadParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
    return this.getEntryStore().getEntry(this.getEntryURIbyId(entryId), optionalLoadParams);
  }

  /**
   * Expands the given entry id into a full URI.
   *
   * @param {string} entryId
   * @returns {string} the URI for an entry in this context with the given id.
   */
  getEntryURIbyId(entryId) {
    return this.getEntryStore().getEntryURI(this.getId(), entryId);
  }

  /**
   * Factory method to create a PrototypeEntry that has the current context as container.
   * Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to actually create it
   * (returns a promise).
   *
   * @param {string=} id - id for the entry, fails after commit if an entry exists already with
   * this id.
   * @returns {PrototypeEntry}
   */
  newEntry(id) {
    return new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id);
  }

  /**
   * Factory method to create a PrototypeEntry that corresponds to a local named resource that
   * has the current context as container.
   * Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to actually create it
   * (returns a promise).
   *
   * @param {string=} id - id for the entry, fails after commit if an entry exists already
   * with this id.
   * @returns {PrototypeEntry}
   */
  newNamedEntry(id) {
    return new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setResourceType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].RT_NAMEDRESOURCE);
  }

  /**
   * Factory method to create a PrototypeEntry that corresponds to a link that has the
   * current context as container.
   * Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to actually create
   * it (returns a promise).
   *
   * @param {string} link - the URI for the resource we are making a link to, mandatory.
   * @param {string=} id - id for the entry, fails after commit if an entry exists already
   * with this id.
   * @returns {PrototypeEntry}
   */
  newLink(link, id) {
    return new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setResourceURI(link).setEntryType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].ET_LINK);
  }

  /**
   * Factory method to create a PrototypeEntry that is a linkref that has the current context
   * as container. Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to
   * actually create it (returns a promise).
   *
   * @param {string} link - is the URI for the resource we are making a link to, mandatory.
   * @param {string} metadataLink - is the URI for the metadata are referring to, mandatory.
   * @param {string=} id - id for the entry, fails after commit if an entry exists already
   * with this id.
   * @returns {PrototypeEntry}
   */
  newLinkRef(link, metadataLink, id) {
    return new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setResourceURI(link).setExternalMetadataURI(metadataLink).setEntryType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].ET_LINKREF);
  }

  /**
   * Factory method to create a PrototypeEntry that is a reference and has the current
   * context as container. Call {@link PrototypeEntry#commit commit} on the
   * PrototypeEntry to actually create it (returns a promise).
   * The only difference to the newLinkRef method is that the EntryType is Reference instead
   * of LinkReference which implies that there is no local metadata.
   *
   * @param {string} link - the URI for the resource we are making a link to, mandatory.
   * @param {string} metadataLink - the URI for the metadata are referring to, mandatory.
   * @param {string=} id for the entry, fails after commit if an entry exists already with
   * this id.
   * @returns {PrototypeEntry}
   */
  newRef(link, metadataLink, id) {
    return new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setResourceURI(link).setExternalMetadataURI(metadataLink).setEntryType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].ET_REF);
  }

  /**
   * Factory method to create a PrototypeEntry whose resource is a {@link List List)
   * and has the current context as container.
   * Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to actually create
   * it (returns a promise).
   *
   * @param {string} id an optional id for the entry, fails on commit if an entry exists already
   * with this id.
   * @returns {PrototypeEntry}
   */
  newList(id) {
    return new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setGraphType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].GT_LIST);
  }

  /**
   * Factory method to create a PrototypeEntry whose resource is a {@link Graph Graph}
   * and has the current context as container.
   * Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to actually create it
   * (returns a promise).
   *
   * @param {rdfjson/Graph|{}} graph - graph to store as a resource.
   * @param {string=} id - id for the entry, fails upon commit if an entry exists already
   * with this id.
   * @returns {PrototypeEntry}
   */
  newGraph() {
    let graph = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    let id = arguments.length > 1 ? arguments[1] : undefined;
    const prototypeEntry = new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setGraphType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].GT_GRAPH);
    const entryInfo = prototypeEntry.getEntryInfo();
    prototypeEntry._resource = new _Graph_js__WEBPACK_IMPORTED_MODULE_1__["default"](entryInfo.getEntryURI(), entryInfo.getResourceURI(), this.getEntryStore(), graph);
    return prototypeEntry;
  }

  /**
   * Factory method to create a PrototypeEntry whose resource is a {@link String String}
   * that has the current context as container.
   * Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to actually create
   * it (returns a promise).
   *
   * @param {string=} str an optional string for the String Resource.
   * @param {String} id an optional id for the entry, fails upon commit if an entry exists
   * already with this id.
   * @returns {PrototypeEntry}
   */
  newString(str, id) {
    const prototypeEntry = new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setGraphType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].GT_STRING);
    const entryInfo = prototypeEntry.getEntryInfo();
    prototypeEntry._resource = new _String_js__WEBPACK_IMPORTED_MODULE_5__["default"](entryInfo.getEntryURI(), entryInfo.getResourceURI(), this.getEntryStore(), str);
    return prototypeEntry;
  }

  /**
   * Factory method to create a PrototypeEntry whose resource is a
   * {@link Pipeline pipeline} that has the current context as container.
   * Call {@link PrototypeEntry#commit commit} on the PrototypeEntry to actually create it
   * (returns a promise).
   *
   * @param {String} id an optional id for the entry, fails upon commit if an entry exists
   * already with this id.
   * @returns {PrototypeEntry}
   */
  newPipeline(id) {
    const prototypeEntry = new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_3__["default"](this, id).setGraphType(_types_js__WEBPACK_IMPORTED_MODULE_6__["default"].GT_PIPELINE);
    const entryInfo = prototypeEntry.getEntryInfo();
    prototypeEntry._resource = new _Pipeline_js__WEBPACK_IMPORTED_MODULE_2__["default"](entryInfo.getEntryURI(), entryInfo.getResourceURI(), this.getEntryStore(), {});
    return prototypeEntry;
  }

  /**
   * The name for this context.
   *
   * @returns {string}
   */
  getName() {
    return this._name;
  }

  /**
   * Change of context name, succeeds if name is not in use already by another context.
   * @param {string} name
   * @returns {Promise.<string>}
   */
  async setName(name) {
    const oldName = this._name;
    this._name = name;
    try {
      const promise = this.getEntryStore().getREST().put(`${this.getEntryURI()}/name`, JSON.stringify({
        name
      }));
      this.getEntryStore().handleAsync(promise, 'setContextName');
      await promise;
      const entry = this.getEntry(true);
      if (entry) {
        entry.getEntryInfo()._name = name;
      }
      return name;
    } catch (e) {
      this._name = oldName;
      throw e;
    }
  }
  /**
   * Finds the user or group that has this context as homecontext if any.
   *
   * @returns {Promise.<Entry>} if succeeds if context a homecontext of some user or group.
   * @async
   */
  async getHomeContextOf() {
    const contextEntry = await this.getEntry();
    const es = contextEntry.getEntryStore();
    const groupResourceArr = contextEntry.getReferrers('store:homeContext');
    if (groupResourceArr.length > 0) {
      return es.getEntry(es.getEntryURIFromURI(groupResourceArr[0]));
    }
    throw new Error('No user or group that has this context as home context');
  }

  /**
   *
   * @param data
   * @private
   */
  _update(data) {
    this._name = data.alias || data.name; // TODO, change to only name after clean-up
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Entry.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Entry.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Entry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js");





/**
 * Entries are at the center of this API. Entries holds together metadata, external metadata,
 * resources, access control, and provenance. Hence, entries appear in the majority of methods,
 * either directly or in callbacks via promises. Each entry has a simple identifier within a
 * context and a globally unique URI that can be used to load, store and index the entry.
 *
 * Many of the methods in this class are convenience methods that allows the developer to interact
 * with the information retrieved from the repository without digging through the RDF graphs.
 * For instance, all methods starting with _can_ or _is_ are convenience methods for working
 * with access control or the type information available in the associated
 * The same is true for the majority of the get methods,
 * only those that have corresponding set methods are really unique for this class.
 *
 * @link EntryInfo
 * @exports store/Entry
 */
class Entry {
  /**
   * @param {Context} context container for this entry
   * @param {EntryInfo} entryInfo defines the basics of this entry
   */
  constructor(context, entryInfo) {
    this._context = context;
    this._entryInfo = entryInfo;
    this._entryInfo._entry = this;
  }

  /**
   * @returns {EntryStore}
   */
  getEntryStore() {
    return this._context.getEntryStore();
  }

  /**
   * @returns {EntryInfo}
   */
  getEntryInfo() {
    return this._entryInfo;
  }

  /**
   * Convenience method, same as calling entry.getEntryInfo().getEntryURI()
   * @return {string} the entry uri.
   * @see EntryInfo#getEntryURI
   */
  getURI() {
    return this._entryInfo.getEntryURI();
  }

  /**
   * Convenience method, same as calling entry.getEntryInfo().getId()
   * @returns {string} the id of the entry
   * @see EntryInfo#getId
   */
  getId() {
    return this._entryInfo.getId();
  }

  /**
   * Convenience method, same as calling entry.getEntryInfo().getResourceURI()
   * @returns {string} a URI to the resource of this entry.
   */
  getResourceURI() {
    return this._entryInfo.getResourceURI();
  }

  /**
   * @returns {Context}
   */
  getContext() {
    return this._context;
  }

  /**
   * Provides all metadata, different behaviour depending on entry type:
   * * local - local metadata, i.e. getMetadata()
   * * link - local metadata, i.e. getMetadata()
   * * reference - cached external metadata, i.e. getCachedExternalMetadata()
   * * linkReference - new graph which is a combination of cached external metadata and local metadata
   *
   * @return {rdfjson/Graph}
   */
  getAllMetadata() {
    if (this.isReference()) {
      return this.getCachedExternalMetadata();
    } else if (this.isLinkReference()) {
      const graph = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.Graph();
      graph.addAll(this.getMetadata());
      graph.addAll(this.getCachedExternalMetadata(), 'external');
      return graph;
    }
    return this.getMetadata();
  }

  /**
   * Provides an RDF graph as an {@link rdfjson/Graph} instance.
   * @return {rdfjson/Graph} a RDF graph with metadata, typically containing statements about
   * the resourceURI. The returned graph may be empty but never null or undefined.
   */
  getMetadata() {
    if (this._metadata == null) {
      this._metadata = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.Graph();
    }
    return this._metadata;
  }

  /**
   * Sets a new metadata graph for this entry without pushing it to the repository.
   * In many cases this method is not needed since you can get the metadata graph,
   * modify it and then commit the changes directly.
   *
   * However, in some cases you need to set a new metadata graph, e.g.
   * you want to overwrite the metadata with a new graph retrieved from another source or the
   * entry have been refreshed with new information and you want to commit the merged results.
   * In these cases you need to discard the current metadata graph with help of this method.
   *
   * @param {rdfjson/Graph} graph is an RDF graph with metadata, if it is not provided the current
   * metadata graph is saved (there is currently no check whether it has been modified or not).
   * @return Entry - to allow chaining with other methods, e.g. with commitMetadata.
   */
  setMetadata(graph) {
    this._metadata = graph;
    return this;
  }

  /**
   * Will push the metadata for this entry to the repository.
   * If metadata has been set for an entry with EntryType 'reference'
   * the entry type will change to 'linkreference' upon a successful commit.
   * @params {boolean} [ignoreIfUnmodifiedSinceCheck=false] if explicitly set to true no check is done
   * if information is stale, also it will not automatically refresh with the latest date
   * @return {Promise.<Entry>} a promise that on success will contain the current updated entry.
   */
  async commitMetadata() {
    let ignoreIfUnmodifiedSinceCheck = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    const es = this.getEntryStore();
    if (this.isReference()) {
      return Promise.reject(`Entry "${this.getURI()}" is a reference and have no local metadata that can be saved.`);
    } else if (!this.canWriteMetadata()) {
      return Promise.reject(`You do not have sufficient access rights to save metadata on entry "${this.getURI()}".`);
    } else if (this.needRefresh()) {
      return Promise.reject(`The entry "${this.getURI()}" need to be refreshed before its local metadata can be saved.\n` + 'This message indicates that the client is written poorly, this case should have been taken into account.');
    } else if (this._metadata == null) {
      return Promise.reject(`The entry "${this.getURI()}" should allow local metadata to be saved, but there is no local metadata.\nThis message is a bug in the storejs API.`);
    } else {
      const promise = es.getREST().put(this.getEntryInfo().getMetadataURI(), JSON.stringify(this._metadata.exportRDFJSON()), ignoreIfUnmodifiedSinceCheck ? undefined : this.getEntryInfo().getModificationDate());
      es.handleAsync(promise, 'commitMetadata');
      const response = await promise;
      this.getEntryInfo().setModificationDate(response.header['last-modified']);
    }
    return Promise.resolve(this);
  }

  /**
   * Same as entry.getMetadata().add(entry.getResourceURI(), predicate, o)
   * but instead of returning the created statement it returns the entry itself,
   * allowing chained method calls.
   *
   * @param {string} predicate the predicate
   * @param {object} object the object
   * @returns {Entry}
   */
  add(predicate, object) {
    this.getMetadata().add(this.getResourceURI(), predicate, object);
    return this;
  }

  /**
   * Same as entry.getMetadata().addL(entry.getResourceURI(), predicate, literal, lang)
   * but instead of returning the created statement it returns the entry itself,
   * allowing chained method calls.
   *
   * @param {string} predicate the predicate
   * @param {string} literal the literal value
   * @param {string} language an optional language
   * @returns {Entry}
   */
  addL(predicate, literal, language) {
    this.getMetadata().addL(this.getResourceURI(), predicate, literal, language);
    return this;
  }

  /**
   * Same as entry.getMetadata().addD(entry.getResourceURI(), predicate, literal, lang)
   * but instead of returning the created statement it returns the entry itself,
   * allowing chained method calls.
   *
   * @param {string} predicate the predicate
   * @param {string} literal the literal value
   * @param {string} datatype the datatype (should be a string)
   * @returns {Entry}
   */
  addD(predicate, literal, datatype) {
    this.getMetadata().addD(this.getResourceURI(), predicate, literal, datatype);
    return this;
  }

  /**
   * Cached external metadata can only be provided for entries with entry type
   * reference or link reference.
   *
   * @return {rdfjson/Graph} - a RDF graph with cached external metadata, typically containing
   * statements about the resourceURI. The returned graph may be empty but never null
   * or undefined.
   */
  getCachedExternalMetadata() {
    if (this._cachedExternalMetadata == null) {
      this._cachedExternalMetadata = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.Graph();
    }
    return this._cachedExternalMetadata;
  }
  getInferredMetadata() {
    return this._inferredMetadata;
  }

  /**
   * Sets a new cached external metadata graph for this entry without pushing
   * it to the repository.
   *
   * @param {rdfjson/Graph} graph is an RDF graph with metadata.
   * @return Entry - to allow chaining with other methods,
   * e.g. with commitCachedExternalMetadata.
   */
  setCachedExternalMetadata(graph) {
    if (graph) {
      this._cachedExternalMetadata = graph;
    }
    return this;
  }

  /**
   * Pushes the current cached external metadata graph for this entry to the repository.
   *
   * @return {Promise.<Entry>} a promise that on success will contain the current updated entry.
   */
  async commitCachedExternalMetadata(ignoreIfUnmodifiedSinceCheck) {
    const es = this.getEntryStore();
    const promise = es.getREST().put(this.getEntryInfo().getCachedExternalMetadataURI(), JSON.stringify(this._cachedExternalMetadata.exportRDFJSON()), ignoreIfUnmodifiedSinceCheck ? undefined : this.getEntryInfo().getModificationDate());
    es.handleAsync(promise, 'commitCachedExternalMetadata');
    const response = await promise;
    this.getEntryInfo().setModificationDate(response.header['last-modified']);
    return Promise.resolve(this);
  }

  /**
   * @todo remains to be supported in repository
   * @returns {rdfjson/Graph}
   */
  getExtractedMetadata() {
    if (this._extractedMetadata == null) {
      this._extractedMetadata = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.Graph();
    }
    return this._extractedMetadata;
  }

  /**
   * Provides the resource for this entry if it exists in a promise,
   * e.g. if the graph-type is not none.
   * It is also possible to request the resource directly, i.e. get the resource rather
   * than a promise. This is achieved by specifying the "direct" parameter as true.
   * This always work for Lists, Groups, and Context resources.
   * For all other resources it will work if the resource, e.g. a Graph,
   * a String etc. is already loaded. If it is not loaded null will be returned.
   *
   * @returns {Resource | Promise.<Resource>}
   */
  getResource() {
    let direct = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    if (direct) {
      return this._resource;
    }
    const es = this.getEntryStore();
    let promise;
    if (this._resource) {
      promise = Promise.resolve(this._resource);
    } else {
      const format = this.isString() ? 'text' : null;
      promise = es.getREST().get(this.getResourceURI(), format).then(data => {
        _factory_js__WEBPACK_IMPORTED_MODULE_2__["default"].updateOrCreateResource(this, {
          resource: data
        }, true);
        return this._resource;
      });
    }
    return es.handleAsync(promise, 'getResource');
  }

  /**
   * @returns {rdfjson/Graph}
   */
  getReferrersGraph() {
    return this._relation;
  }

  /**
   * a list of URIs that has referred to this Entry using various properties.
   *
   * @param {string} prop
   * @returns {string[]}
   */
  getReferrers(prop) {
    return this._relation.find(null, prop, null).map(stmt => stmt.getSubject());
  }

  /**
   * a list of entry URIs corresponding to list entries where this entry is contained.
   * @returns {string[]}
   */
  getParentLists() {
    const listResourceURIArr = this.getReferrers('http://entrystore.org/terms/hasListMember');
    return listResourceURIArr.map(resURI => _factory_js__WEBPACK_IMPORTED_MODULE_2__["default"].getEntryURIFromURI(this.getEntryStore(), resURI), this);
  }

  /**
   * a list of entry URIs corresponding to groups where this user entry is member.
   * @returns {string[]}
   */
  getParentGroups() {
    const groupResourceURIArr = this.getReferrers('http://entrystore.org/terms/hasGroupMember');
    return groupResourceURIArr.map(resURI => _factory_js__WEBPACK_IMPORTED_MODULE_2__["default"].getEntryURIFromURI(this.getEntryStore(), resURI), this);
  }

  /**
   * Is the resource of this entry of the GraphType list?
   * @returns {boolean}
   */
  isList() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_LIST;
  }

  /**
   * Is the resource of this entry of the Graphtype resultlist?
   * @returns {boolean}
   */
  isResultList() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_RESULTLIST;
  }

  /**
   * Is the resource of this entry of the GraphType context?
   * @returns {boolean}
   */
  isContext() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_CONTEXT;
  }

  /**
   * Is the resource of this entry of the GraphType systemcontext?
   * @returns {boolean}
   */
  isSystemContext() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_SYSTEMCONTEXT;
  }

  /**
   * Is the resource of this entry of the GraphType user?
   * @returns {boolean}
   */
  isUser() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_USER;
  }

  /**
   * Is the resource of this entry of the GraphType group?
   * @returns {boolean}
   */
  isGroup() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_GROUP;
  }

  /**
   * Is the resource of this entry of the GraphType graph?
   * @returns {boolean}
   */
  isGraph() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_GRAPH;
  }

  /**
   * Is the resource of this entry of the GraphType pipeline?
   * @returns {boolean}
   */
  isPipeline() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_PIPELINE;
  }

  /**
   * Is the resource of this entry of the GraphType pipelineresult?
   * @returns {boolean}
   */
  isPipelineResult() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_PIPELINERESULT;
  }

  /**
   * Is the resource of this entry of the GraphType string?
   * @returns {boolean}
   */
  isString() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_STRING;
  }

  /**
   * Is the resource of this entry of the GraphType none?
   * @returns {boolean}
   */
  isNone() {
    return this.getEntryInfo().getGraphType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_NONE;
  }

  /**
   * Is this entry of the EntryType link?
   * @returns {boolean}
   */
  isLink() {
    return this.getEntryInfo().getEntryType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].ET_LINK;
  }

  /**
   * Is this entry of the EntryType reference?
   * @returns {boolean}
   */
  isReference() {
    return this.getEntryInfo().getEntryType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].ET_REF;
  }

  /**
   * Is this entry of the EntryType linkreference?
   * @returns {boolean}
   */
  isLinkReference() {
    return this.getEntryInfo().getEntryType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].ET_LINKREF;
  }

  /**
   * Is the entry of the EntryType link, linkreference or reference?
   * That is, the resource can be controlled via {@link EntryInfo#setResourceURI}.
   *
   * @returns {boolean} true if entrytype is NOT local.
   */
  isExternal() {
    return this.getEntryInfo().getEntryType() !== _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].ET_LOCAL;
  }

  /**
   * Is the EntryType local, i.e. the resources URI is maintained
   * automatically by the repository for this entry.
   * Opposite to {@link Entry#isLinkLike}.
   *
   * @returns {boolean}
   */
  isLocal() {
    return this.getEntryInfo().getEntryType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].ET_LOCAL;
  }

  /**
   * Is the entry a local link/linkreference/reference to another entry in the repository.
   * That is, true if the entry is a link, linkreference or reference AND the resource URI
   * belongs to another entry in the same repository.
   *
   * @returns {boolean}
   */
  isLinkToEntry() {
    const base = this.getEntryStore().getBaseURI();
    return this.isExternal() && this.getResourceURI().substr(0, base.length) === base;
  }

  /**
   * Is the entry is a link to another entry (as either a link, linkreference or reference) the
   * linked to entry is returned in a promise.
   *
   * @returns {Promise.<Entry>|undefined} undefined only if the entry does not link to another entry.
   */
  getLinkedEntry() {
    if (this.isLinkToEntry()) {
      // In case the link is to the resource URI rather than the entry URI, we extract
      // the entry id and context id and rebuild the entry URI.
      const es = this.getEntryStore();
      const resourceURI = this.getResourceURI();
      const entryId = es.getEntryId(resourceURI);
      const contextId = es.getContextId(resourceURI);
      const entryURI = es.getEntryURI(contextId, entryId);
      return es.handleAsync(this.getEntryStore().getEntry(entryURI), 'getLinkedEntry');
    }
    return undefined;
  }

  /**
   * Is the entry an information resource?
   * @returns {boolean}
   */
  isInformationResource() {
    return this.getEntryInfo().getResourceType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].RT_INFORMATIONRESOURCE;
  }

  /**
   * Is the entry a named resource?
   * @returns {boolean}
   */
  isNamedResource() {
    return this.getEntryInfo().getResourceType() === _types_js__WEBPACK_IMPORTED_MODULE_3__["default"].RT_NAMEDRESOURCE;
  }

  /**
   * Is the current user an owner of this entry?
   * @returns {boolean}
   */
  canAdministerEntry() {
    return this._rights.administer || false;
  }

  /**
   * Is the current user authorized to read the resource of this entry?
   * @returns {boolean}
   */
  canReadResource() {
    return this._rights.administer || this._rights.readresource || this._rights.writeresource || false;
  }

  /**
   * Is the current user authorized to write the resource of this entry?
   * @returns {boolean}
   */
  canWriteResource() {
    return this._rights.administer || this._rights.writeresource || false;
  }

  /**
   * Is the current user authorized to read the metadata of this entry?
   * @returns {boolean}
   */
  canReadMetadata() {
    return this._rights.administer || this._rights.readmetadata || this._rights.writemetadata || false;
  }

  /**
   * Is the current user authorized to write the metadata of this entry?
   * @returns {boolean}
   */
  canWriteMetadata() {
    return this._rights.administer || this._rights.writemetadata || false;
  }

  /**
   * Whether this entry is available publically or not.
   * To make sure this method returns a boolean make sure the contexts entry is loaded, e.g. via:
   * entry.getContext().getEntry().then(function() {
   *    if (entry.isPublic()) {...} //Or whatever you need to do with the isPublic method.
   * }
   *
   * @returns {boolean|undefined} undefined only if the entry has no ACL and the contexts entry
   * which specifies the default access is not cached, otherwise a boolean is returned.
   */
  isPublic() {
    const guestPrincipal = this.getEntryStore().getResourceURI('_principals', '_guest');
    let acl = this.getEntryInfo().getACL();
    if (acl.contextOverride) {
      return ['rwrite', 'rread', 'mwrite', 'mread'].some(key => acl[key].indexOf(guestPrincipal) !== -1);
    }
    const ce = this.getContext().getEntry(true);
    if (ce == null) {
      return undefined;
    }
    acl = ce.getEntryInfo().getACL();
    return ['rwrite', 'rread'].some(key => acl[key].indexOf(guestPrincipal) !== -1);
  }

  /**
   * Whether this entry is available to the specified user.
   * To make sure this method returns a boolean and not undefined,
   * make sure that the contexts entry is loaded, e.g. via:
   *
   * entry.getContext().getEntry().then(function() {
   *    //And then do you check, e.g.:
   *    entry.getEntryStore().getUserEntry().then(function(currentUserEntry) {
   *       if (entry.isPrivateTo(currentUserEntry) {...}
   *    })
   * }
   *
   * @returns {boolean|undefined} undefined if the contexts entry which
   * specifies the default access is not cached, otherwise a boolean is returned.
   */
  isPrivateTo(userEntry) {
    const userPrincipal = userEntry.getResourceURI();
    const acl = this.getEntryInfo().getACL();
    const ce = this.getContext().getEntry(true);
    if (ce == null) {
      return undefined;
    }
    const cacl = ce.getEntryInfo().getACL();
    if (cacl.admin.length !== 1 || acl.admin[0] !== userPrincipal) {
      return false;
    }
    if (acl.contextOverride) {
      return acl.admin.length === 1 && acl.admin[0] === userPrincipal;
    }
    return true;
  }

  /**
   * Deletes this entry without any option to recover it.
   * @param {boolean} recursive if true and the entry is a list it will delete the entire tree of
   * lists and all entries that is only contained in the current list or any of its child lists.
   * @return {Promise} which on success indicates that the deletion has succeeded.
   */
  async del() {
    let recursive = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    const es = this.getEntryStore();
    const uri = `${this.getURI()}${recursive ? '?recursive=true' : ''}`;
    await es.handleAsync(es.getREST().del(uri), 'delEntry');
    es.getCache().unCache(this);
  }

  /**
   * That an entry needs to be refreshed typically means that it contains stale data
   * (with respect to what is available in the store).
   * The entry should be refresh before it is further used.
   *
   * @param {boolean=} silently the cache will send out a stale message (to all registered
   * listeners of the cache) for this entry if the value is false or undefined.
   * @see store.Entry#refresh.
   */
  setRefreshNeeded() {
    let silently = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
    this.getEntryStore().getCache().setRefreshNeeded(this, silently);
  }

  /**
   * Tells whether an entry needs to be refreshed.
   *
   * @return {boolean} true if the entry need to be refreshed before used.
   * @see Entry#refresh.
   */
  needRefresh() {
    return this.getEntryStore().getCache().needRefresh(this);
  }

  /**
   * Refreshes an entry if needed, that is, if it has been marked as invalid.
   * @param {boolean=} silently the cache will send out a refresh message for this entry
   * if a refresh was needed AND if the value of silently is false or undefined. If force is true
   * it will send out a refresh message anyhow.
   * @param {boolean=} [force=false] If true the entry will be refreshed independent if it was marked in need
   * of a refresh or not.
   */
  refresh() {
    let silently = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
    let force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    const es = this.getEntryStore();
    let p;
    if (force === true || es.getCache().needRefresh(this)) {
      const entryURI = this.getURI();
      p = es.getREST().get(_factory_js__WEBPACK_IMPORTED_MODULE_2__["default"].getEntryLoadURI(entryURI)).then(data => {
        _factory_js__WEBPACK_IMPORTED_MODULE_2__["default"].update(this, data);
        es.getCache().cache(this, silently);
        return this;
      });
    } else {
      p = Promise.resolve(this);
    }
    return es.handleAsync(p, 'refresh');
  }
  /**
   *
   * Retrieves a projection, a plain object with simple attribute value pairs given mapping.
   * The subject will always be the resource uri of the entry.
   * The mapping is an object where the same attributes appear but with the predicates are values.
   * Hence, each attribute gives rise to a search for all statements with the given subject and
   * the predicate specified by the attribute.
   * The result object will contain the mapping attributes with values from the the first
   * matched statements object value if there are any.
   * To access additional information like multiple statement or the statements
   * (type, language, datatype) a "*" prepended version of each attribute can be provided that
   * contains a list of matching Statements if so indicated by the multipleValueStyle parameter.
   *
   * @param {Object} mappings the mapping configuration
   * @param {String} multipleValueStyle if provided an array is provided for that property
   * prefixed with "*", the array should be indicated to be either
   * "statements", "values" or "objects".
   * @returns {Object}
   * @see rdfjson/Graph
   * @example
   * var proj = entry.projection({
   *     "title":       "http://purl.org/dc/terms/title",
   *     "description": "http://purl.org/dc/terms/description"
   * });
   * // The object proj now has the attributes title, *title, description, and *description.
   *
   * // Accessing the title of http://example.com
   * console.log(proj.title);
   *
   * // To get hold of additional information available in the statement,
   * // for instance the language of a literal:
   * console.log(proj["*title"][0].getLanguage())
   *
   */
  projection() {
    let mappings = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    let multipleValueStyle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'none';
    return this._metadata.projection(this.getResourceURI(), mappings, multipleValueStyle);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryInfo.js"
/*!*********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryInfo.js ***!
  \*********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ EntryInfo)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-int.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! moment */ "./node_modules/.pnpm/moment@2.30.1/node_modules/moment/moment.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");
/* harmony import */ var _terms_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./terms.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/terms.js");









/**
 *
 * @param entry
 * @param vocab
 * @returns {*}
 */
const getResourceTypeHelper = (entry, vocab) => {
  const stmts = entry._graph.find(entry.getResourceURI(), _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].rdf.type);
  for (let i = 0; i < stmts.length; i++) {
    const t = vocab[stmts[i].getValue()];
    if (t != null) {
      return t;
    }
  }
  return vocab.default;
};

/**
 * EntryInfo is a class that contains all the administrative information of an entry.
 * @exports store/EntryInfo
 */
class EntryInfo {
  /**
   * @param {String} entryURI must be provided unless the graph contains a statement with
   * the store:resource property which allows us to infer the entryURI.
   * @param {rdfjson/Graph} graph corresponds to a rdfjson.Graph class with the entryinfo as
   * statements
   * @param {EntryStore} entryStore
   */
  constructor(entryURI, graph, entryStore) {
    this._entryURI = entryURI || graph.find(null, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].resource)[0].getSubject();
    this._graph = graph || new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.Graph();
    this._entryStore = entryStore;
  }

  /**
   * @returns {Entry}
   */
  getEntry() {
    return this._entry;
  }

  /**
   * @param {rdfjson/Graph} graph
   */
  setGraph(graph) {
    this._graph = graph;
  }

  /**
   * @return {rdfjson/Graph}
   */
  getGraph() {
    return this._graph;
  }

  /**
   * Pushes the entry information to the repository, e.g. posts to
   * basepath/{contextId}/entry/{entryId}
   * @params {boolean} ignoreIfUnmodifiedSinceCheck if explicitly set to true no check is done
   * if information is stale, also it will not automatically refresh with the latest date
   * @returns {Promise.<EntryInfo>}
   */
  async commit() {
    let ignoreIfUnmodifiedSinceCheck = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    const es = this._entry.getEntryStore();
    const promise = es.getREST().put(this.getEntryURI(), JSON.stringify(this._graph.exportRDFJSON()), ignoreIfUnmodifiedSinceCheck ? undefined : this.getModificationDate());
    es.handleAsync(promise, 'commitEntryInfo');
    const response = await promise;
    this.setModificationDate(response.header['last-modified']);
    return this;
  }

  /**
   * @returns {String}
   */
  getEntryURI() {
    return this._entryURI;
  }

  /**
   * @returns {String} the id of the entry
   */
  getId() {
    return _factory_js__WEBPACK_IMPORTED_MODULE_6__["default"].getEntryId(this._entryURI);
  }

  /**
   * If the entry is a user, group or context there can be a name.
   * In general the name is accessed on the resource, but in certain
   * situations we do not have the resource yet(not loaded) but we still
   * have the name (from a search where the name is provided but not the resource),
   * in this case we can access this name here.
   *
   * @returns {String} a username, groupname or contextname of the entry
   */
  getName() {
    return this._name;
  }

  /**
   * If the entry is a user there can be a disabled state.
   * In general the disabled state is accessed on the resource, but in certain
   * situations we do not have the resource yet(not loaded) but we still
   * have the disabled state (from a search where the disabled state is provided
   * but not the resource), in this case we can access the disabled state here.
   *
   * @returns {boolean} a disabled state of a user
   */
  isDisabled() {
    return this._disabled;
  }

  /**
   * @returns {String}
   */
  getMetadataURI() {
    return _factory_js__WEBPACK_IMPORTED_MODULE_6__["default"].getMetadataURIFromURI(this._entryStore, this._entryURI);
  }

  /**
   * @returns {String}
   */
  getExternalMetadataURI() {
    // TODO will only exist for LinkReferences and References.
    return this._graph.findFirstValue(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].externalMetadata);
  }

  /**
   * @param {String} uri
   */
  setExternalMetadataURI(uri) {
    this._graph.findAndRemove(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].externalMetadata);
    this._graph.create(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].externalMetadata, {
      type: 'uri',
      value: uri
    });
  }

  /**
   * @returns {String}
   */
  getCachedExternalMetadataURI() {
    return _factory_js__WEBPACK_IMPORTED_MODULE_6__["default"].getCachedExternalMetadataURI(this._entryURI);
  }

  /**
   * @returns {String}
   */
  getResourceURI() {
    return this._graph.findFirstValue(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].resource);
  }

  /**
   * @param {String} uri
   */
  setResourceURI(uri) {
    const oldResourceURI = this.getResourceURI();
    this._graph.findAndRemove(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].resource);
    this._graph.create(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].resource, {
      type: 'uri',
      value: uri
    });
    if (oldResourceURI) {
      const stmts = this._graph.find(oldResourceURI);
      for (let i = 0; i < stmts.length; i++) {
        stmts[i].setSubject(uri);
      }
    }
  }

  /**
   * @returns {String} one of the entryTypes
   * @see terms#entryType
   */
  getEntryType() {
    const et = this._graph.findFirstValue(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].rdf.type);
    return _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].entryType[et || 'default'];
  }

  /**
   * the resource type of the entry, e.g. "Information", "Resolvable" etc.
   * The allowed values are available in types beginning with 'RT_'.
   * E.g. to check if the entry is an information resource:
   * if (ei.getResourceType() === types.RT_INFORMATIONRESOURCE) {...}
   *
   * @returns {String}
   */
  getResourceType() {
    return getResourceTypeHelper(this, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].resourceType);
  }

  /**
   * the graph type of the entry, e.g. "User", "List", "String", etc.
   * The allowed values are available in types beginning with 'GT_'.
   * E.g. to check if the entry is a list:
   * if (ei.getGraphType() === types.GT_LIST) {...}
   *
   * @returns {String}
   */
  getGraphType() {
    return getResourceTypeHelper(this, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].graphType);
  }

  // TODO: change to entryURI instead of resourceURI for principalURIs.
  /**
   * The acl object returned looks like:
   * {
   *   admin:  [principalURI1, principalURI2, ...],
   *   rread:  [principalURI3, ...],
   *   rwrite: [principalURI4, ...],
   *   mread:  [principalURI5, ...],
   *   mwrite: [principalURI6, ...]
   * }
   *
   * There will always be an array for each key, it might be empty though.
   * The principalURI* will always be an URI to the resource of a user or group entry.
   *
   * Please note that a non empty acl overrides any defaults from the surrounding context.
   *
   * @param {boolean} asIds - if true the principalURIs are shortened to entry identifiers.
   * @return {Object} an acl object.
   */
  getACL() {
    let asIds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    const f = stmt => {
      if (asIds) {
        return _factory_js__WEBPACK_IMPORTED_MODULE_6__["default"].getEntryId(stmt.getValue());
      }
      return stmt.getValue();
    }; // Statement > object value.
    const ru = this.getResourceURI();
    const mu = this.getMetadataURI();
    const acl = {
      admin: this._graph.find(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.write).map(f),
      rread: this._graph.find(ru, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.read).map(f),
      rwrite: this._graph.find(ru, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.write).map(f),
      mread: this._graph.find(mu, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.read).map(f),
      mwrite: this._graph.find(mu, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.write).map(f)
    };
    acl.contextOverride = acl.admin.length !== 0 || acl.rread.length !== 0 || acl.rwrite.length !== 0 || acl.mread.length !== 0 || acl.mwrite.length !== 0;
    return acl;
  }

  /**
   * if the entry has an explicit ACL or if the containing contexts ACL is used.
   *
   * @returns {boolean}
   */
  hasACL() {
    return this.getACL().contextOverride;
  }

  /**
   * Replaces the current acl with the provided acl.
   * The acl object is the same as you get from the getACL call.
   * The first difference is that the acl object from this method is allowed to be empty
   * or leave out some keys that are not to be set.
   * The second difference is that it allows entryIds as values in the arrays,
   * not only full resource URIs, both have to refer to principals though.
   *
   * @param {Object} acl same kind of object you get from getACL.
   */
  setACL(acl) {
    const g = this._graph;
    const f = (subj, pred, principals, base) => {
      g.findAndRemove(subj, pred);
      (principals || []).forEach(principal => {
        if (principal.length < base.length || principal.indexOf(base) !== 0) {
          // principal is entry id.
          g.add(subj, pred, {
            type: 'uri',
            value: base + principal
          });
        } else {
          // principal is a full entry resource uri.
          g.add(subj, pred, {
            type: 'uri',
            value: principal
          });
        }
      });
    };
    const _acl = acl || {};
    const ru = this.getResourceURI();
    const mu = this.getMetadataURI();
    const base = _factory_js__WEBPACK_IMPORTED_MODULE_6__["default"].getResourceBase(this._entry.getEntryStore(), '_principals');
    f(this._entryURI, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.write, _acl.admin, base);
    f(ru, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.read, _acl.rread, base);
    f(ru, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.write, _acl.rwrite, base);
    f(mu, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.read, _acl.mread, base);
    f(mu, _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].acl.write, _acl.mwrite, base);
  }

  /**
   * Checks if there are any metadata revisions for this entry,
   * in practise this is always true if provenance is enabled for this entry.
   *
   * @return {boolean} true if there is at least one metadata revision.
   */
  hasMetadataRevisions() {
    // const mdURI = this.getMetadataURI();
    return this._graph.findFirstValue(null, 'owl:sameAs') != null;
  }

  /**
   * Extracts an array of metadata revisions from the graph.
   * Each revision is an object that contains:
   *   * time - when the change was made (Date)
   *   * by   - the user who performed the change (entryURI)
   *   * rev  - the revision number (string)
   *   * uri  - an URI to this revision (string)
   *
   * The uri of the revision can be used by the method getMetadataRevisionGraph
   * to get a hold of the actual new graph that caused the revision.
   *
   * @return {Array.<{time: Date, by: string, rev: string, uri: string}>} a sorted array of revisions, latest revision first.
   */
  getMetadataRevisions() {
    const revs = [];
    const mdURI = this.getMetadataURI();
    const stmts = this._graph.find(null, 'owl:sameAs', mdURI);
    if (stmts.length !== 1) {
      return revs;
    }
    let uri = stmts[0].getSubject();
    const es = this._entryStore;
    while (uri) {
      revs.push({
        uri,
        rev: uri.substr(mdURI.length + 5),
        time: moment__WEBPACK_IMPORTED_MODULE_4__(this._graph.findFirstValue(uri, 'prov:generatedAtTime')).toDate(),
        by: es.getEntryURIFromURI(this._graph.findFirstValue(uri, 'prov:wasAttributedTo'))
      });
      uri = this._graph.findFirstValue(uri, 'prov:wasRevisionOf');
    }
    revs.sort((r1, r2) => {
      if (r1.time > r2.time) {
        return -1;
      } else if (r1.time < r2.time) {
        return 1;
      }
      return 0;
    });
    return revs;
  }

  /**
   * Retrieves the metadata graph of a certain revision from its graph.
   * @param revisionURI
   * @return {Promise.<rdfjson/Graph>}
   */
  async getMetadataRevisionGraph(revisionURI) {
    const data = await this._entryStore.getREST().get(revisionURI);
    return new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.Graph(data);
  }

  /**
   * @returns {string} the label of the resource of this entry,
   * typically set when uploading a file.
   */
  getLabel() {
    return this._graph.findFirstValue(this.getResourceURI(), 'http://www.w3.org/2000/01/rdf-schema#label');
  }

  /**
   * Sets a new label of the resource in the graph, call
   * {@link EntryInfo#commit commit} to push
   * the updated graph to the repository.
   *
   * @param {string} label - a new label for the resource.
   */
  setLabel(label) {
    this._graph.findAndRemove(this.getResourceURI(), 'http://www.w3.org/2000/01/rdf-schema#label');
    if (label != null && label !== '') {
      this._graph.add(this.getResourceURI(), 'http://www.w3.org/2000/01/rdf-schema#label', {
        type: 'literal',
        value: label
      });
    }
  }

  /**
   * @returns {string} the format of the resource of this entry.
   */
  getFormat() {
    return this._graph.findFirstValue(this.getResourceURI(), 'http://purl.org/dc/terms/format');
  }

  /**
   * Sets a new format of the resource in the graph, call {@link EntryInfo#commit commit}
   * to push the updated graph to the repository.
   *
   * @param {string} format - a format in the form application/json or text/plain.
   */
  setFormat(format) {
    this._graph.findAndRemove(this.getResourceURI(), 'http://purl.org/dc/terms/format');
    if (format != null && format !== '') {
      this._graph.addL(this.getResourceURI(), 'http://purl.org/dc/terms/format', format);
    }
  }

  /**
   * @returns {string} the status of this entry, always a URI.
   */
  getStatus() {
    return this._graph.findFirstValue(this.getEntryURI(), _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].status.property);
  }

  /**
   * Sets a new status for this entry
   *
   * @param {string} status
   */
  setStatus(status) {
    this._graph.findAndRemove(this.getEntryURI(), _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].status.property);
    if (status != null && status !== '' && status.indexOf('http') === 0) {
      this._graph.add(this.getEntryURI(), _terms_js__WEBPACK_IMPORTED_MODULE_7__["default"].status.property, status);
    }
  }

  /**
   * @returns {Date} the date when the entry was created.
   */
  getCreationDate() {
    const d = this._graph.findFirstValue(this.getEntryURI(), 'http://purl.org/dc/terms/created');
    return moment__WEBPACK_IMPORTED_MODULE_4__(d).toDate(); // Must always exist.
  }

  /**
   * @returns {Date} the date of last modification (according to the repository,
   * local changes are not reflected).
   */
  getModificationDate() {
    const d = this._graph.findFirstValue(this.getEntryURI(), 'http://purl.org/dc/terms/modified');
    if (d != null) {
      return moment__WEBPACK_IMPORTED_MODULE_4__(d).toDate();
    }
    return this.getCreationDate();
  }

  /**
   * A method to be used internally / within the library after modifying operations return successfull with a new modified date.
   * @param {string} date
   * @protected
   */
  setModificationDate(date) {
    const d = new Date(date);
    // Add a second since the date provided (from http header 'last-modified') does not contain milliseconds.
    d.setSeconds(d.getSeconds() + 1);
    const stmts = this._graph.find(this.getEntryURI(), 'http://purl.org/dc/terms/modified');
    const newModificationDate = moment__WEBPACK_IMPORTED_MODULE_4__(d).toISOString();
    if (stmts.length > 0) {
      stmts[0].setValue(newModificationDate, true);
    } else {
      this._graph.create(this.getEntryURI(), 'http://purl.org/dc/terms/modified', {
        type: 'literal',
        value: newModificationDate,
        datatype: _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.namespaces.expand('xsd:dateTime')
      }, true, true);
    }
  }

  /**
   * @returns {String} a URI to creator, the user Entry resource URI is used, e.g. "http://somerepo/_principals/resource/4", never null.
   */
  getCreator() {
    return this._graph.findFirstValue(this.getEntryURI(), 'http://purl.org/dc/terms/creator');
  }

  /**
   * @returns {number|undefined}
   */
  getSize() {
    const extent = this._graph.findFirstValue(this.getResourceURI(), 'http://purl.org/dc/terms/extent');
    if (parseInt(extent, 10) === parseInt(extent, 10)) {
      return parseInt(extent, 10);
    }
    return undefined;
  }

  /**
   * @returns {Array} an array of URIs to the contributors using their Entry resource URIs,
   * e.g. ["http://somerepo/_principals/resource/4"], never null although the array might be empty.
   */
  getContributors() {
    return this._graph.find(this.getEntryURI(), 'http://purl.org/dc/terms/contributor').map(stmt => stmt.getValue());
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryStore.js"
/*!**********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryStore.js ***!
  \**********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ EntryStore)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.finally.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.finally.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _Auth_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Auth.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Auth.js");
/* harmony import */ var _Cache_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Cache.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Cache.js");
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");
/* harmony import */ var _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./PrototypeEntry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeEntry.js");
/* harmony import */ var _PrototypeContextEntry_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./PrototypeContextEntry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeContextEntry.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");
/* harmony import */ var _Rest_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Rest.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Rest.js");
/* harmony import */ var _SolrQuery_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SolrQuery.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SolrQuery.js");
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./types.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js");
/* harmony import */ var _User_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./User.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/User.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/utils.js");

















/**
 * EntryStore is the main class that is used to connect to a running server-side EntryStore
 * repository.
 * @exports store/EntryStore
 */
class EntryStore {
  /**
   * @param {String=} baseURI - URL to the EntryStore repository we should communicate with,
   * may be left out and
   * guessed if run in a browser environment (appends "/" to the window.location.origin)
   * @param {Object=} credentials - same as provided in the {@link EntryStore#auth auth}
   * method.
   */
  constructor(baseURI, credentials) {
    if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_15__.isBrowser)() && baseURI == null) {
      this._baseURI = `${window.location.origin}/`;
    } else {
      this._baseURI = baseURI;
      if (this._baseURI[this._baseURI.length - 1] !== '/') {
        this._baseURI = `${this._baseURI}/`;
      }
    }
    this._cache = new _Cache_js__WEBPACK_IMPORTED_MODULE_6__["default"]();
    this._auth = new _Auth_js__WEBPACK_IMPORTED_MODULE_5__["default"](this);
    if (credentials) {
      this._auth.login(...credentials);
    }
    this._contexts = {};
    this._rest = new _Rest_js__WEBPACK_IMPORTED_MODULE_11__["default"]();
    this._requestCache = false;
  }

  /**
   * Provides a listener that will be called for every asynchronous call being made.
   * The handler is invoked with the promise from the asynchronous call
   * and a callType parameter indicating which asynchronous call that has been made.
   *
   * The callType parameter can take the following values:
   * - getEntry        - an entry is retrieved (EntryStore.getEntry)
   * - createEntry     - an entry is created   (EntryStore.createEntry)
   * - createGroupAndContext - a group and context pair is created
   * (EntryStore.createGroupAndContext)
   * - loadViaProxy    - data is requested via repository proxy (EntryStore.loadViaProxy)
   * - commitMetadata  - changes to metadata is pushed (Entry.commitMetadata)
   * - commitCachedExternalMetadata - changes to cached external metadata is pushed
   * (Entry.commitCachedExternalMetadata)
   * - getResource     - the entry's resource has been requested (Entry.getResource)
   * - getLinkedEntry  - a linked entry is requested (Entry.getLinkedEntry)
   * - delEntry        - an entry is deleted (Entry.del)
   * - refresh         - an entry is refreshed (Entry.refresh)
   * - setContextName  - the name of a context is changed (Context.setName)
   * - getUserInfo     - the user information is requested (auth.getUserInfo)
   * - getUserEntry    - the user entry is requested (auth.getUserEntry)
   * - login           - logging in (auth.login)
   * - logout          - logging out (auth.logout)
   * - commitEntryInfo - pushing changes in entry information (EntryInfo.commit)
   * - getFile         - the contents of a file resource is requested (File.get*)
   * - putFile         - the contents of a file is pushed (File.put*)
   * - commitGraph     - a graph resource is pushed (Graph.commit)
   * - commitString    - a string resource is pushed (String.commit)
   * - setGroupName    - a new name of a group is pushed (Group.setName)
   * - setUserName     - a new name of a user is pushed (User.setName)
   * - setUserDisabled - a new disabled state of a user is pushed (User.setDisabled)
   * - setUserLanguage - a new preferred language of the user is pushed (User.setLanguage)
   * - setUserPassword - a new password for the user is pushed (User.setPassword)
   * - setUserHomeContext - a new home context for the user is pushed (User.setHomeContext)
   * - setUserCustomProperties - new custom properties for the user (User.setCustomProperties)
   * - loadListEntries - members of a list are requested (List.getEntries)
   * - setList         - the list members are changed via a list
   * - addToList       - See List.addEntry
   * - removeFromList  - See List.removeEntry
   * .removeEntry)
   * - search          - a search is being performed (SearchList.getEntries)
   * - execute         - a pipeline is executed (Pipeline.execute)
   *
   * @param {Promise.<string>} listener
   */
  addAsyncListener(listener) {
    if (this.asyncListeners) {
      this.asyncListeners.push(listener);
    } else {
      this.asyncListeners = [listener];
    }
  }

  /**
   * Removes a previously added listener for asynchronous calls.
   * @param {string} listener
   */
  removeAsyncListener(listener) {
    if (this.asyncListeners) {
      this.asyncListeners.splice(this.asyncListeners.indexOf(listener), 1);
    }
  }

  /**
   *
   * @param {Promise} promise
   * @param {string} context
   * @return {Promise}
   */
  handleAsync(promise, context) {
    if (this.asyncListeners) {
      for (let i = 0; i < this.asyncListeners.length; i++) {
        this.asyncListeners[i](promise, context);
      }
    }
    return promise;
  }

  /**
   * @returns {Auth} where functionality related to authorization are located,
   * including a listener infrastructure.
   */
  getAuth() {
    return this._auth;
  }

  /**
   * Yields information about who currently is authenticated against the EntryStore repository.
   * @returns {Promise.<EntryInfo>} - upon success an object containing attributes "user" being
   * the username, "id" of the user entry, and "homecontext" being the entry-id of the
   * home context is provided.
   * @see {@link EntryStore#auth auth}
   * @see {@link EntryStore#logout logout}
   * @deprecated use corresponding method on auth object instead.
   */
  getUserInfo() {
    return this._auth.getUserInfo();
  }

  /**
   * @returns {Promise.<Entry>} on success the entry for the currently signed in user is provided.
   * @deprecated use corresponding method on auth object instead.
   */
  getUserEntry() {
    return this._auth.getUserEntry();
  }

  /**
   * Authenticate using credentials containing a user, a password and an optional maxAge given
   * in seconds.
   *
   * @param {{user, password, maxAge}} credentials as a parameter object
   * @deprecated use corresponding method on auth object instead.
   */
  auth(credentials) {
    if (credentials == null) {
      return this._auth.logout();
    }
    return this._auth.login(credentials.user, credentials.password, credentials.maxAge);
  }

  /**
   * Logout the currently authorized user.
   * @returns {Promise}
   * @deprecated use corresponding method on auth object instead.
   */
  logout() {
    return this._auth.logout();
  }

  /**
   * Fetches an entry given an entryURI. If the entry is already loaded and available in the
   * cache it will be returned directly, otherwise it will be loaded from the repository.
   * If the entry is already loaded but marked as in need of a refresh it will be refreshed
   * first.
   *
   * The optional load parameters are provided in a single parameter object with six possible
   * attributes. Below we outline these attributes, the first two (forceLoad and direct) applies
   * to all kind of entries while the following three (limit, offset and sort) only applies if
   * the entry is a list:
   *
   * forceLoad - ignores if the entry is already in cache and fetches from the repository
   * loadResource - makes sure that entry.getResource(true) will not return null
   *     (does not work in combination with direct).
   * direct - returns the entry from the cache directly rather than returning a promise,
   *    if the entry is not in the cache an undefined value will be returned.
   * limit - only a limited number of children are loaded, -1 means no limit, 0, undefined
   *    or if the attribute is not provided means that the default limit of 20 is used.
   * offset - only children from offest and forward is returned, must be positive.
   * sort - information on how to sort the children:
   *     * if sort is not provided at all or an empty object is provided the members of the
   *       list will not be sorted, instead the list's natural order will be used
   *     * if sort is given as null the defaults will be used ({sortBy: "title", prio: "List"}).
   *     * if sort is given as a non emtpy object the following attributes are considered:
   *       ** sortBy - the attribute instructs which metadata field to sort the children by,
   *          i.e., title, created, modified, or size.
   *       ** lang - if sort is title and the title is provided in several languages a
   *          prioritized language can be given.
   *       ** prio - allows specific graphtypes to be prioritized
   *          (e.g. show up in the top of the list).
   *       ** descending - if true the children are shown in descending order.
   *
   *
   * **Note** - in the case where the entry is a list it is possible to change the limit,
   * offset and sort later by calling the corresponding methods on the {@link List}
   * resource, e.g. {@link List#setSort}. However, setting the values already in this
   * method call has as a consequence that one less request to the repository is made as you
   * will get members (in the right amount and order) in the same request as you get metadata
   * and other information.
   *
   * A request of a list entry can look like:
   *
   *     var euri = entrystore.getEntryURI("1", "1");
   *     entrystore.getEntry(euri, {
   *          forceLoad: true,
   *          limit: 10,
   *          offset: 20,
   *          sort: {
   *             sortBy: "modified",
   *             prio: types.GT_LIST
   *          }
   *      });
   *
   * The optional params here says that we force a load from the repository, that we want the
   * results to be paginated with a limit of 10 entries per page and that we want page 3.
   * We also indicate that we want the list to be sorted by latest modification date and that
   * if there are member entries that are lists they should be sorted to the top.
   *
   * @param {string} entryURI - the entryURI for the entry to retrieve.
   * @param {{forceLoad, direct, loadResource, limit, offset, sort, asyncContext}} optionalLoadParams - parameters for how to load an entry.
   * @return {Promise.<Entry> | Entry | undefined} - by default a promise is returned,
   * if the direct parameter is specified the entry is returned directly or undefined if the
   * entry is not in cache.
   * @see {@link EntryStore#getEntryURI getEntryURI} for help to construct entry URIs.
   * @see {@link Context#getEntryById} for loading entries relative to a context.
   */
  getEntry(entryURI) {
    let optionalLoadParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
    const forceLoad = optionalLoadParams ? optionalLoadParams.forceLoad === true : false;
    const e = this._cache.get(entryURI);
    let asyncContext = 'getEntry';
    if (optionalLoadParams != null) {
      if (optionalLoadParams.asyncContext) {
        asyncContext = optionalLoadParams.asyncContext;
      }
      if (optionalLoadParams.direct === true) {
        return e;
      }
    }
    const checkResourceLoaded = entry => {
      if (optionalLoadParams != null && optionalLoadParams.loadResource && entry.getResource() == null) {
        return entry.getResource().then(() => entry);
      }
      return entry;
    };
    if (e && !forceLoad) {
      if ((e.isList() || e.isGroup()) && optionalLoadParams != null) {
        const list = e.getResource(true); // Direct access works for lists and groups.
        list.setLimit(optionalLoadParams.limit);
        list.setSort(optionalLoadParams.sort);
      }

      // Will only refresh if needed, a promise is returned in any case
      return this.handleAsync(e.refresh().then(checkResourceLoaded), asyncContext);
    }
    const entryPromise = this._cache.getPromise(entryURI);
    if (entryPromise) {
      return entryPromise;
    }
    const self = this;
    const entryLoadURI = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getEntryLoadURI(entryURI, optionalLoadParams);
    const loadEntryPromise = this.handleAsync(this._rest.get(entryLoadURI).then(data => {
      // The entry, will always be there.
      const entry = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].updateOrCreate(entryURI, data, self);
      return checkResourceLoaded(entry);
    }, err => {
      throw new Error(`Failed fetching entry. ${err}`);
    }), asyncContext).finally(() => {
      this._cache.removePromise(entryURI);
    });
    this._cache.addPromise(entryURI, loadEntryPromise);
    return loadEntryPromise;
  }

  /**
   * Retrieves entries from a list. One way to see it is that this is a convenience method
   * that retrieves a list entry, its member entries and returns those in an array.
   *
   * @param {string} entryURI - URI of the list entry to load entries from.
   * @param {Object} sort - same sort object as provided in the optionalLoadParams to
   * {@see EntryStore#getEntry getEntry} method.
   * @param {Object} limit - same limit as provided in the optionalLoadParams to
   * {@see EntryStore#getEntry getEntry} method.
   * @param {integer} page - unless limit is set to -1 (no pagination) we need to specify which
   * page to load, first page is 0.
   * @returns {Promise.<Entry[]>} upon success the promise returns an array of entries.
   */
  getListEntries(entryURI, sort, limit, page) {
    return new Promise((resolve, reject) => {
      const op = {};
      if (sort != null) {
        op.sort = sort;
      }
      if (limit % 1 === 0) {
        op.limit = limit;
      }
      if (page % 1 === 0) {
        if (limit % 1 === 0) {
          op.offset = limit * page;
        } else {
          op.offset = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getDefaultLimit() * page;
        }
      }
      this.getEntryStore().getEntry(entryURI, op).then(entry => {
        const list = entry.getResource(true);
        list.getEntries(page).then(resolve, reject);
      }, reject);
    });
  }

  /**
   * Retrieves a Context instance via its id. Note that this method returns directly without
   * checking with the EntryStore repository that the context exists. Hence successive
   * operations via this context instance may fail if the context does not exist in the
   * EntryStore
   * repository.
   *
   * Note that in EntryStore everything is connected to entries. Hence a context is nothing else
   * than a special kind of resource maintained by an entry. This entry provides metadata about
   * the context as well as the default ownership and access control that applies to all entries
   * inside of this context.
   *
   * To get a hold of the contexts own entry use the {@link Resource#getEntry}
   * method on the context (inherited from the generic {@link Resource} class.
   *
   * Advanced: Entrys corresponding to contexts are stored in the special _contexts
   * context which, since it is a context, contains its own entry.
   *
   * @param {string} contextId - identifier for the context (not necessarily the same as the
   * alias/name for the context)
   * @return {Context}
   */
  getContextById(contextId) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getContext(this, `${this._baseURI}_contexts/entry/${contextId}`);
  }

  /**
   * Retrieves a Context instance via its entry's URI.
   *
   * @param {String} contextEntryURI - URI to the context's entry, e.g. base/_contexts/entry/1.
   * @returns {Context}
   * @see {@link EntryStore#getContextById getContextById}
   */
  getContext(contextEntryURI) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getContext(this, contextEntryURI);
  }

  /**
   * Retrieves a paginated list of all contexts in the EntryStore repository.
   * @return {List} - the list contains entries which have contexts as resources.
   */
  getContextList() {
    return this.newSolrQuery().graphType(_types_js__WEBPACK_IMPORTED_MODULE_13__["default"].GT_CONTEXT).list();
  }

  /**
   * Retrieves a paginated list of all users and groups in the EntryStore repository
   * @return {List} the list contains entries that have principals as resources.
   * @todo May include folders and other entries as well...
   */
  getPrincipalList() {
    return this.newSolrQuery().graphType([_types_js__WEBPACK_IMPORTED_MODULE_13__["default"].GT_USER, _types_js__WEBPACK_IMPORTED_MODULE_13__["default"].GT_GROUP]).list();
  }

  /**
   * Creates a new entry according to information in the provided {@link PrototypeEntry}.
   * The information specifies the type of entry, which context it should reside in,
   * initial metadata etc. This method is seldom called explicitly, instead it is called
   * indirectly via the {@link PrototypeEntry#commit} method. E.g.:
   *
   *     context.newEntry().commit().then(function(newlyCreatedEntry) {...}
   *
   * @param {PrototypeEntry} prototypeEntry - information about the entry to create.
   * @return {Promise}
   * @see PrototypeEntry#commit
   * @see EntryStore#newContext
   * @see EntryStore#newUser
   * @see EntryStore#newGroup
   * @see Context#newEntry
   * @see Context#newLink
   * @see Context#newLinkRef
   * @see Context#newRef
   * @see Context#newList
   * @see Context#newGraph
   * @see Context#newString
   */
  async createEntry(prototypeEntry) {
    const postURI = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getEntryCreateURI(prototypeEntry, prototypeEntry.getParentList());
    const postParams = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getEntryCreatePostData(prototypeEntry);
    let entryURI;
    try {
      entryURI = await this.handleAsync(this._rest.create(postURI, postParams), 'createEntry');
    } catch (err) {
      return Promise.reject(err);
    }

    // var euri = factory.getURIFromCreated(data, prototypeEntry.getContext());
    const parentList = prototypeEntry.getParentList();
    if (parentList != null) {
      const res = parentList.getResource(true);
      if (res != null && res.needRefresh) {
        parentList.getResource(true).needRefresh();
      }
    }
    return this.getEntry(entryURI);
  }

  /**
   * Provides a PrototypeContextEntry for creating a new context.
   * @param {string=} contextName - optional name for the context, can be changed later,
   * must be unique in the _principals context
   * @param {string=} id - optional requested identifier (entryId) for the context,
   * cannot be changed later, must be unique in the _principals context
   * @returns {PrototypeContextEntry}
   */
  newContext(contextName, id) {
    return new _PrototypeContextEntry_js__WEBPACK_IMPORTED_MODULE_9__["default"](contextName, id, this);
  }

  /**
   *
   * @param name
   * @return {Promise.<Entry>}
   * @async
   */
  async createGroupAndContext(name, contextId) {
    let uri = `${this._baseURI}_principals/groups`;
    const args = [];
    if (name != null) {
      args.push(`name=${encodeURIComponent(name)}`);
    }
    if (contextId) {
      args.push(`contextId=${contextId}`);
    }
    if (args.length > 0) {
      uri += `?${args.join('&')}`;
    }
    const location = await this.handleAsync(this._rest.create(uri), 'createGroupAndContext');
    return this.getEntry(location);
  }

  /**
   * Provides a PrototypeEntry for creating a new user.
   * @param {string=} username - the name the user will use to authenticate himself
   * @param {string=} password - the password the user will use to authenticate himself
   * @param {string=} homeContext - a specific context the user will consider his own home
   * @param {string=} id - requested identifier for the user
   * @returns {PrototypeEntry}
   */
  newUser(username, password, homeContext, id) {
    const _principals = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getContext(this, `${this._baseURI}_contexts/entry/_principals`);
    const prototypeEntry = new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_8__["default"](_principals, id).setGraphType(_types_js__WEBPACK_IMPORTED_MODULE_13__["default"].GT_USER);
    const entryInfo = prototypeEntry.getEntryInfo();
    const data = {};
    if (username != null) {
      data.name = username;
    }
    if (password != null) {
      data.password = password;
    }
    if (homeContext != null) {
      data.homecontext = homeContext;
    }
    prototypeEntry._resource = new _User_js__WEBPACK_IMPORTED_MODULE_14__["default"](entryInfo.getEntryURI(), entryInfo.getResourceURI(), this, data);
    return prototypeEntry;
  }

  /**
   * @param {string=} groupName - optional name for the group, can be changed later,
   * must be unique in the _principals context
   * @param {string=} id - optional requested identifier (entryId) for the group,
   * cannot be changed later, must be unique in the _principals context
   * @returns {PrototypeEntry}
   */
  newGroup(groupName, id) {
    const _principals = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getContext(this, `${this._baseURI}_contexts/entry/_principals`);
    const prototypeEntry = new _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_8__["default"](_principals, id).setGraphType(_types_js__WEBPACK_IMPORTED_MODULE_13__["default"].GT_GROUP);
    if (groupName != null) {
      const ei = prototypeEntry.getEntryInfo();
      const resource = new _Resource_js__WEBPACK_IMPORTED_MODULE_10__["default"](ei.getEntryURI(), ei.getResourceURI(), this);
      resource._update({
        name: groupName
      });
      prototypeEntry._resource = resource;
    }
    return prototypeEntry;
  }

  /**
   * Move an entry from one list to another.
   *
   * @param {Entry} entry - entry to move
   * @param {Entry} fromList - source list where the entry is currently residing.
   * @param {Entry} toList - destination list where the entry is supposed to end up.
   * @returns {Promise}
   */
  moveEntry(entry, fromList, toList) {
    const uri = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getMoveURI(entry, fromList, toList, this._baseURI);
    return this.handleAsync(this.getREST().post(uri, ''), 'moveEntry');
  }

  /**
   * Loads data via the EntryStore repository's own proxy.
   *
   * @param {string} uri indicates the resource to load.
   * @param {string} formatHint indicates that you want data back in the format specified
   * (e.g. by specifiying a suitable accept header).
   * @returns {Promise}
   */
  loadViaProxy(uri, formatHint) {
    const url = _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getProxyURI(this._baseURI, uri);
    return this.handleAsync(this.getREST().get(url, formatHint, true), 'loadViaProxy');
  }

  /**
   * Performing searches against an EntryStore repository is achieved by creating a
   * {@link SearchList} which is similar to a regular {@link List}.
   * From this list it is possible to get paginated results in form of matching entries.
   * For example:
   *
   *     var personType = "http://xmlns.com/foaf/0.1/Person";
   *     var searchList = entrystore.newSolrQuery().rdfType(personType).list();
   *     searchList.setLimit(20).getEntries().then(function(results) {...});
   *
   * @returns {SolrQuery}
   */
  newSolrQuery() {
    return new _SolrQuery_js__WEBPACK_IMPORTED_MODULE_12__["default"](this);
  }

  /**
   * @deprecated use {@link #newSolrQuery} instead.
   */
  createSearchList(query) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].createSearchList(this, query);
  }

  /**
   * Constructs an metadata URI from the id for the context and the specific entry.
   * @param {string} contextId - an identifier for the context the entry belongs to
   * @param {string} entryId - an identifier for the entry
   * @returns {String} - an entry URI
   */
  getMetadataURI(contextId, entryId) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getMetadataURI(this, contextId, entryId);
  }

  /**
   * Constructs an entry URI from the id for the context and the specific entry.
   * @param {string} contextId - an identifier for the context the entry belongs to
   * @param {string} entryId - an identifier for the entry
   * @returns {String} - an entry URI
   */
  getEntryURI(contextId, entryId) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getEntryURI(this, contextId, entryId);
  }

  /**
   * Constructs an entry URI from a normal repository URI, e.g. any URI from which is possible
   * to deduce a contextId and an entryId. Equivalent to calling:
   * es.getEntryURI(es.getContextId(uri), es.getEntryId(uri))
   *
   * @param {string} uri - a URI for the entry, can be a entryURI (obviously), resourceURI
   * (if local), metadataURI, or relationsURI.
   * @returns {String} - an entry URI
   */
  getEntryURIFromURI(uri) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getEntryURIFromURI(this, uri);
  }

  /**
   * Constructs an entry resource URI (local URI, not a link obviously) from the id for the
   * context and the specific entry.
   *
   * @param {string} contextId - an identifier for the context the resource belongs to
   * @param {string} entryId - an identifier for the entry the resource belongs to
   * @returns {String} a resource URI
   */
  getResourceURI(contextId, entryId) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getResourceURI(this, contextId, entryId);
  }

  /**
   * The base URI of the EntryStore repository we have connected to.
   *
   * @returns {String}
   */
  getBaseURI() {
    return this._baseURI;
  }

  /**
   * The entry id of this entry, resource or metadata uri.
   *
   * @param {string} uri
   * @returns {string}
   */
  getEntryId(uri) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getEntryId(uri, this.getBaseURI());
  }

  /**
   * The context id of this entry, resource or metadata uri.
   *
   * @param {string} uri
   * @returns {string}
   */
  getContextId(uri) {
    return _factory_js__WEBPACK_IMPORTED_MODULE_7__["default"].getContextId(uri, this.getBaseURI());
  }

  /**
   *  To get status resource
   *
   * @returns {Promise}
   */
  getStatus() {
    const uri = `${this._baseURI}management/status?extended`;
    return this.handleAsync(this.getREST().get(uri));
  }

  /**
   * The cache where all entries are cached after loading.
   *
   * @returns {Cache}
   */
  getCache() {
    return this._cache;
  }

  /**
   * The loading mechanism are performed via REST calls, this REST module can be
   * used for doing manual lookups outside of the scope of this API.
   *
   * @returns {Rest}
   */
  getREST() {
    return this._rest;
  }

  /**
   * Requests to EntryStore instances may be cached to increase performance, by setting the requestCachePrevention to
   * true that cache is circumvented by appending unique parameters to the URI.
   * By default the requestCachePrevention is disabled.
   *
   * @param {boolean} prevent pass true to enable the prevention.
   */
  setRequestCachePrevention(prevent) {
    this._requestCache = prevent;
  }

  /**
   * Weather the cache of requests made to EntryStore instances are circumvented by appending a random parameter.
   * @return {boolean}
   */
  getRequestCachePrevention() {
    return this._requestCache;
  }
  //= =============Non-public methods==============

  /**
   * @returns {Object}
   */
  getCachedContextsIdx() {
    return this._contexts;
  }

  /**
   * Provides information about version of EntryStore repository, the javascript API,
   * status of services etc.
   * @todo Needs support from EntryStore REST API
   * @todo Document promise
   */
  static info() {
    const packageJSON = require('../package.json');
    return {
      version: packageJSON.version
    };
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryStoreUtil.js"
/*!**************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryStoreUtil.js ***!
  \**************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ EntryStoreUtil)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");




const getContextURI = (es, c) => {
  if (c && c.getResourceURI) {
    return c.getResourceURI();
  } else if (typeof c === 'string' && c !== '') {
    if (c.indexOf('http') === 0) {
      return c;
    } else {
      return es.getContextById(c).getResourceURI();
    }
  }
};
const contextEquals = (es, c1, c2) => getContextURI(es, c1) === getContextURI(es, c2);
const promiseInScope = (es, promise, c2) => getContextURI(es, promise.__context) === getContextURI(es, c2);
const markPromise = (es, promise, context) => {
  const curi = getContextURI(es, context);
  if (curi) {
    promise.__context = curi;
  }
};

/**
 * EntryStoreUtil provides utility functionality for working with entries.
 * @exports store/EntryStoreUtil
 */
class EntryStoreUtil {
  /**
   * @param {EntryStore} entrystore
   */
  constructor(entrystore) {
    this._entrystore = entrystore;
    this._preloadIdx = new Map();
    this._publicRead = false;
    this._debounceQueue = [];
    this._debounceContext;
    this._debounceAsyncCallType;
  }

  /**
   * When loading entries via solr queries restrict to those marked as public.
   * Corresponds to calling publicRead on all solr queries used internally in these help functions.
   * @param {boolean} publicRead
   */
  loadOnlyPublicEntries(publicRead) {
    this._publicRead = publicRead;
  }

  /**
   * @returns {EntryStore}
   */
  getEntryStore() {
    return this._entrystore;
  }

  /**
   * Preload entries of a specific type.
   * Not strictly needed, used for optimization reasons.
   * Up to a maximum of 100 entries are preloaded.
   *
   * @param {string} ofType
   * @param {Context} context if provided limits the preload to a specific context.
   * @returns {Entry}
   */
  preloadEntries(ofType, context) {
    let preloadForType = this._preloadIdx.get(ofType);
    let promise;
    if (preloadForType) {
      if (context) {
        promise = preloadForType[context.getEntryURI()];
        if (promise) {
          return promise;
        }
      } else if (preloadForType.noContext) {
        return preloadForType.noContext;
      }
    } else {
      preloadForType = {};
      this._preloadIdx.set(ofType, preloadForType);
    }
    const searchObj = this._entrystore.newSolrQuery().resourceType(ofType).limit(100);
    if (this._publicRead) {
      searchObj.publicRead(true);
    }
    if (context) {
      searchObj.context(context);
    }
    const list = searchObj.list();
    promise = list.getEntries(0);
    if (context) {
      preloadForType[context.getEntryURI()] = promise;
    } else {
      preloadForType.noContext = promise;
    }
    return promise;
  }
  clearPreloadEntriesDuplicateCheck(ofType, inContext) {
    if (ofType) {
      const preloadForType = this._preloadIdx.get(ofType);
      if (preloadForType && inContext) {
        delete preloadForType[inContext.getEntryURI()];
      } else {
        this._preloadIdx.delete(ofType);
      }
    } else {
      this._preloadIdx = new Map();
    }
  }

  /**
   * Retrieves an entry for a resource URI, note that if there are several entries that all
   * have the same resource URI it is unclear which of these entries that are returned.
   * Hence, only use this function if you expect there to be a single entry per resource URI.
   *
   * @param {string} resourceURI is the URI for the resource.
   * @param {Context=} context only look for entries in this context, may be left out.
   * @param {string} asyncCallType the callType used when making the search.
   * @returns {Promise.<Entry>}
   * @async
   * @throws Error
   */
  async getEntryByResourceURI(resourceURI, context, asyncCallType) {
    return this.loadEntriesByResourceURIs([resourceURI], context, false, asyncCallType).then(arr => arr[0]);
  }
  async _joinedDebouncedRequest() {
    const debounceList = this._debounceQueue;
    const entriesPromise = this.loadEntriesByResourceURIs(debounceList.map(args => args[0]), this._debounceContext, true, this._debounceAsyncCallType);
    this._debounceQueue = [];
    this._debounceContext = undefined;
    this._debounceAsyncCallType = undefined;
    const entries = await entriesPromise;
    for (let i = 0; i < debounceList.length; i++) {
      if (entries[i]) {
        debounceList[i][1](entries[i]);
      } else {
        debounceList[i][2](`Could not find entry with URI ${debounceList[i][0]}`);
      }
    }
  }

  /**
   * Retrieves an entry for a resource URI in a similar manner as the method getEntryByResourceURI,
   * but with the distinction that it delays the request for a few milliseconds to allow collecting
   * multiple requests together into a single request.
   *
   * @param {string} resourceURI is the URI for the resource.
   * @param {Context=} context only look for entries in this context, may be left out.
   * @param {string} asyncCallType the callType used when making the search.
   * @returns {Promise.<Entry>}
   * @async
   * @throws Error
   */
  async getEntryByResourceURIDebounce(resourceURI, context, asyncCallType) {
    // Check first if the entry is already in the cache, then return it directly.
    const cache = this._entrystore.getCache();
    const entriesSet = cache.getByResourceURI(resourceURI);
    if (entriesSet.size > 0) {
      if (context) {
        for (const entry of entriesSet) {
          // eslint-disable-line
          if (entry.getContext().getId() === context.getId()) {
            return Promise.resolve(entry);
          }
        }
      } else {
        return Promise.resolve(entriesSet.values().next().value);
      }
    }
    // If the request is different in the sense that it requires a different context or asyncCallType
    // then we have to request entries in the debounce queue first and then add to the queue again with the new context or callType.
    if (this._debounceQueue.length > 0 && (this._debounceContext !== context || this._debounceAsyncCallType !== asyncCallType)) {
      clearTimeout(this._debounceTimeout);
      this._joinedDebouncedRequest();
    }
    return new Promise((resolve, reject) => {
      // Nothing in the debounce queue, start the timeout
      if (this._debounceQueue.length === 0) {
        this._debounceTimeout = setTimeout(this._joinedDebouncedRequest.bind(this), 20);
      }
      this._debounceQueue.push([resourceURI, resolve, reject]);
      this._debounceContext = context;
      this._debounceAsyncCallType = asyncCallType;
    });
  }

  /**
   * @param {string} resourceURI is the URI for the resource.
   * @returns {Entry}
   */
  getEntryListByResourceURI(resourceURI) {
    const query = this._entrystore.newSolrQuery().resource(resourceURI);
    if (this._publicRead) {
      query.publicRead(true);
    }
    return query.list();
  }

  /**
   * Attempting to find a unique entry for a specific type,
   * if multiple entries exists with the same type the returned promise fails.
   * You may restrict to a specific context.
   *
   * @param {string} typeURI is the rdf:type URI for the entry to match.
   * @param {Context} context restrict to finding the entry in this context
   * @param {string} asyncCallType the callType used when making the search.
   * @returns {Promise.<Entry>}
   * @async
   * @throws Error
   */
  async getEntryByType(typeURI, context, asyncCallType) {
    const query = this._entrystore.newSolrQuery().rdfType(typeURI).limit(2);
    if (this._publicRead) {
      query.publicRead(true);
    }
    if (context) {
      query.context(context);
    }
    const entryArr = await query.list(asyncCallType).getEntries(0);
    if (entryArr.length === 1) {
      return entryArr[0];
    }
    throw new Error('Wrong number of entries in context / repository');
  }

  /**
   * Attempting to find one entry for a specific graph type,
   * if multiple entries exists with the same type the returned promise fails.
   * You may restrict to a specific context.
   *
   * @param {string} graphType is the graph type for the entry to match, e.g. use
   * {@see types#GT_USER}.
   * @param {Context} context restrict to finding the entry in this context
   * @param {string} asyncCallType the callType used when making the search.
   * @returns {Promise.<Entry>}
   * @async
   * @throws Error
   */
  async getEntryByGraphType(graphType, context, asyncCallType) {
    const query = this._entrystore.newSolrQuery().graphType(graphType).limit(2);
    if (this._publicRead) {
      query.publicRead(true);
    }
    if (context) {
      query.context(context);
    }
    const entryArr = await query.list(asyncCallType).getEntries(0);
    if (entryArr.length > 0) {
      return entryArr[0];
    }
    throw new Error(`No entries in ${context ? 'context' : 'repository'} context with graphType ${graphType}`);
  }

  /**
   * Removes all entries matched by a search in a serial manner,
   * also empties the cache from loaded entries so it should not overflow
   * if the searchlist is big.
   *
   * The removal is accomplished by first iterating through the searchlist and collecting
   * uris to all entries that should be removed. After that the entries are removed.
   *
   * @param {SearchList} list
   * @returns {Promise<String[]>} array of uris that where deleted
   */
  async removeAll(list) {
    const uris = [];
    const deleted = [];
    const es = this._entrystore;
    const cache = es.getCache();
    const rest = es.getREST();
    const deleteNext = async () => {
      if (uris.length > 0) {
        const uri = uris.pop();
        try {
          await rest.del(uri);
          deleted.push(uri);
        } catch (err) {
          console.log(`Could not remove entry with uri: ${uri} continuing anyway.`);
        }
        await deleteNext();
      }
      return undefined;
    };
    const result = await list.forEach(entry => {
      uris.push(entry.getURI());
      cache.unCache(entry);
    });
    await deleteNext(result);
    return deleted;
  }

  /**
   * Loads entries by first checking if they are in the cache, second if there are ongoing loading attempts that
   * can be waited on and lastly loads them itself by via a solr query. Note, if too many entries are asked for at
   * once the solr query will be divided into smaller chunks.
   *
   * @param {Array<String>} resourceURIs array of resourceURIs to load.
   * @param {Context=} context only look for entries in this context, may be left out.
   * @param {boolean} acceptMissing if true then the array returned may contain holes
   * @param {string} asyncCallType the callType used when making the search.
   * @returns {Promise<Entry[]>}
   */
  async loadEntriesByResourceURIs(resourceURIs, context) {
    let acceptMissing = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
    let asyncCallType = arguments.length > 3 ? arguments[3] : undefined;
    const es = this._entrystore;
    const cache = es.getCache();
    const id2Entry = {};
    const previouslyLoadingPromises = [];
    const toLoadSet = new Set();
    resourceURIs.forEach(uri => {
      let entries = Array.from(cache.getByResourceURI(uri).values());
      if (context) {
        entries = entries.filter(e => e.getContext().getResourceURI() === getContextURI(es, context));
      }
      if (entries.length > 0) {
        id2Entry[uri] = entries[0];
      } else {
        const loadpromise = cache.getPromise(uri);
        if (loadpromise && promiseInScope(es, loadpromise, context)) {
          previouslyLoadingPromises.push(loadpromise.then(entry => {
            id2Entry[uri] = entry;
          }, e => {
            if (!acceptMissing) {
              throw e;
            }
          }));
        } else {
          toLoadSet.add(uri);
        }
      }
    });
    const chunked = [];
    const chunkLimit = 20;
    const toLoad = Array.from(toLoadSet);
    for (let i = 0; i < toLoad.length; i += chunkLimit) {
      chunked.push(toLoad.slice(i, i + chunkLimit));
    }
    const chunkLoadingPromises = chunked.map(chunk => {
      const uri2resolve = {};
      const uri2reject = {};
      chunk.forEach(ruri => {
        const p = new Promise((resolve, reject) => {
          uri2resolve[ruri] = resolve;
          uri2reject[ruri] = reject;
        });
        markPromise(es, p, context);
        cache.addPromise(ruri, p);
      });
      const loadEntries = new Set(chunk);
      const query = es.newSolrQuery();
      if (this._publicRead) {
        query.publicRead(true);
      }
      return query.resource(chunk).context(context).list(asyncCallType).forEach(entry => {
        const ruri = entry.getResourceURI();
        if (loadEntries.has(ruri)) {
          loadEntries.delete(ruri);
          uri2resolve[ruri](entry);
          id2Entry[ruri] = entry;
          cache.removePromise(ruri);
        }
        return loadEntries.size !== 0;
      }).then(() => {
        if (loadEntries.size > 0) {
          loadEntries.forEach(ruri => {
            uri2reject[ruri](new Error(`No resource found for ${ruri}`));
            cache.removePromise(ruri);
          });
          if (!acceptMissing) {
            throw new Error(`The following resources could not be found ${Array.from(loadEntries).join(', ')}`);
          }
        }
      });
    });
    return Promise.all(previouslyLoadingPromises.concat(chunkLoadingPromises)).then(() => resourceURIs.map(ruri => id2Entry[ruri] || null));
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/File.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/File.js ***!
  \****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ FileResource)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _xmldom_xmldom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @xmldom/xmldom */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/index.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/utils.js");







/**
 * File resources are resources located in the Entrystore repository that have a graph type of
 * none, e.g. none of the special cases for which there are special treatment in EntryStore.
 *
 * @exports store/File
 */
class FileResource extends _Resource_js__WEBPACK_IMPORTED_MODULE_4__["default"] {
  constructor() {
    super(...arguments);
  }

  /**
   * Pushes a file to the server for this resource.
   * In a browser environment a file is represented via an input tag which references
   * the file to be uploaded via its value attribute. E.g.:
   *
   *       <input type="file" name="uploadFile"/>
   *
   * During the uploading process the input tag will be moved temporarily in the DOM tree,
   * it will be restored to its original position afterwards (both upon success and failure).
   *
   * In a nodejs environments the file is leveraged as a stream, i.e.:
   * res.putFile(fs.createReadStream('file.txt'));
   *
   * @param {node|fileHandle} data - input tag or file handle that corresponds to a file.
   * @param {string} format - indicates the mimetype of the data
   * @todo fix-if-modified-since
   * @returns {Promise}
   */
  async putFile(data, format) {
    if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_5__.isBrowser)() && data instanceof Node && (data.name == null || data.name === '')) {
      throw new Error('Failure, cannot upload resource from input element unless a name' + ' attribute is provided.');
    }
    const url = this.getResourceURI();
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const promise = es.getREST().putFile(url, data, format);
    es.handleAsync(promise, 'putFile');
    const response = await promise;
    entry.getEntryInfo().setModificationDate(response.header['last-modified']);
    entry.setRefreshNeeded();
    return response;
  }

  /**
   * Pushes data to the server for this resource.
   *
   * @param {string} data - to be stored as a file.
   * @param {string} format - the format of the data as a mimetype.
   * @returns {Promise}
   */
  async put(data) {
    let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'application/json';
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const promise = es.getREST().put(this.getResourceURI(), data, null, format);
    es.handleAsync(promise, 'putFile');
    const response = await promise;
    entry.getEntryInfo().setModificationDate(response.header['last-modified']);
    entry.setRefreshNeeded();
    return response;
  }

  /**
   * Pushes text content to the server for this resource.
   *
   * @param {string} text - to be stored as a file, format will be set to text/plain.
   * @returns {Promise}
   */
  putText(text) {
    return this.put(text, 'text/plain');
  }

  /**
   * Pushes JSON content to the server for this resource.
   *
   * @param {Object} obj - to be stored as a json object, format will be set to application/json.
   * @returns {Promise}
   */
  putJSON(obj) {
    return this.put(JSON.stringify(obj));
  }

  /**
   * Pushes xml content to the server for this resource.
   *
   * @param {string|Document} xml - to be stored as a xml object, format will be set to
   * application/json.
   * @returns {Promise}
   * @todo not finished or tested
   */
  putXML(xml) {
    let _xml = xml;
    const XMLSerializer = (0,_utils_js__WEBPACK_IMPORTED_MODULE_5__.isBrowser)() ? window.XMLSerializer : _xmldom_xmldom__WEBPACK_IMPORTED_MODULE_3__.XMLSerializer;
    if (!(0,_utils_js__WEBPACK_IMPORTED_MODULE_5__.isBrowser)() || _xml instanceof Document) {
      try {
        // Gecko- and Webkit-based browsers (Firefox, Chrome), Opera.
        _xml = new XMLSerializer().serializeToString(_xml);
      } catch (e) {
        try {
          // Internet Explorer.
          _xml = _xml.xml;
        } catch (ee) {
          throw new Error('Xmlserializer not supported');
        }
      }
    } else if (typeof _xml !== 'string') {
      throw new Error('Unsupported format of parameter xml to method putAsXML');
    }
    return this.put(_xml, 'text/xml');
  }

  /**
   * @returns {Promise} which format the resource is returned in the promise (string, json or
   * xml) depends on what is specified in the mimetype. Xml is only returned in a browser
   * environment, if not in a browser a string is returned.
   * @param writableStream a writable stream, e.g. in nodejs it can be created via fs.createWriteStream('./output');
   */
  get(writableStream) {
    const format = this.getEntry(true).getEntryInfo().getFormat();
    const es = this.getEntryStore();
    return es.handleAsync(es.getREST().get(this.getResourceURI(), format, undefined, writableStream), 'getFile');
  }

  /**
   * @returns {Promise.<String>} ignores what is specified in the mimetype and returns the resource
   * as a string in the promise.
   */
  getText() {
    const es = this.getEntryStore();
    return es.handleAsync(this.getEntryStore().getREST().get(this.getResourceURI(), 'text/plain', true), 'getFile');
  }

  /**
   * @returns {Promise.<Object>} ignores what is specified in the mimetype and returns the resource
   * as a javascript object in the promise.
   */
  getJSON() {
    const es = this.getEntryStore();
    return es.handleAsync(es.getREST().get(this.getResourceURI(), 'application/json'), 'getFile');
  }

  /**
   * @returns {Promise} ignores what is specified in the mimetype and returns the resource
   * in the promise as a XML Document or a string (depending on if you are in browser or not).
   */
  getXML() {
    const es = this.getEntryStore();
    return es.handleAsync(es.getREST().get(this.getResourceURI(), 'text/xml'), 'getFile');
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Graph.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Graph.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ GraphResource)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");




/**
 * Graph is a resource for handling RDF graphs relying on the {@link rdfjson/Graph} API.
 *
 * @exports store/Graph
 */
class GraphResource extends _Resource_js__WEBPACK_IMPORTED_MODULE_2__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   * @param {rdfjson/Graph | Object} data - is an RDF graph of some sort
   */
  constructor(entryURI, resourceURI, entryStore, data) {
    super(entryURI, resourceURI, entryStore); // Call the super constructor.
    this._graph = data && data._graph ? data : new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.Graph(data);
  }

  /**
   * Get the rdf Graph. The returned graph is not a copy, subsequent getGraph calls will return
   * the same instance as long as the entry has not been refreshed or a new instance set via
   * {@link Graph#setGraph setGraph}.
   *
   * @returns {rdfjson/Graph} will never be null or undefined, although the graph may be empty.
   */
  getGraph() {
    return this._graph;
  }

  /**
   * Set the rdf Graph. To update the graph in the repository call the
   * {@link EntryStore#commit commit}.
   *
   * @param {rdfjson/Graph} graph - the new graph, if null or undefined a new empty graph will
   * be set.
   * @returns {Graph} - to allow chaining with commit.
   */
  setGraph(graph) {
    this._graph = graph || new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.Graph();
    return this;
  }

  /**
   * Pushes the current graph back to repository.
   *
   * @param {boolean} ignoreIfUnmodifiedSinceCheck no if-unmodified header is sent if true, default is false.
   * @returns {Promise<GraphResource>}
   */
  async commit() {
    let ignoreIfUnmodifiedSinceCheck = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const entryInfo = entry.getEntryInfo();
    const promise = es.getREST().put(this._resourceURI, JSON.stringify(this._graph.exportRDFJSON()), ignoreIfUnmodifiedSinceCheck ? undefined : entryInfo.getModificationDate());
    es.handleAsync(promise, 'commitGraph');
    const response = await promise;
    entryInfo.setModificationDate(response.header['last-modified']);
    return this;
  }

  /**
   * Provides a JSON representation of the graph as rdf/json.
   *
   * @returns {Object}
   */
  getSource() {
    return this._graph.exportRDFJSON();
  }

  /**
   *
   * @param data
   * @private
   */
  _update(data) {
    this._graph = new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.Graph(data);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Group.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Group.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Group)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _List_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/List.js");
/* harmony import */ var _terms_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./terms.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/terms.js");




/**
 * Group is a subclass of the List resource and contains a list of users.
 * The group resource URI can be referred to from access control lists.
 *
 * @exports store/Group
 */
class Group extends _List_js__WEBPACK_IMPORTED_MODULE_1__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   */
  constructor(entryURI, resourceURI, entryStore) {
    super(entryURI, resourceURI, entryStore);
  }

  /**
   * Get the name of the group, this is a a unique name (username) in the current
   * repository's _principals context.
   * @returns {string}
   */
  getName() {
    return this._name;
  }

  /**
   * Set a new name of the group, it will not succeed if it is already in use, for instance by
   * another user or group.
   * @param {string} name
   * @returns {Promise<Group>}
   */
  async setName(name) {
    const es = this._entry.getEntryStore();
    const entry = await this.getEntry();
    const entryInfo = entry.getEntryInfo();
    const oldName = this._name;
    this._name = name;
    entryInfo._name = name;
    try {
      const promise = es.getREST().put(`${this.getEntryURI()}/name`, JSON.stringify({
        name
      }));
      es.handleAsync(promise, 'setGroupName');
      const response = await promise;
      entryInfo.setModificationDate(response.header['last-modified']);
    } catch (e) {
      this._name = oldName;
      entryInfo._name = oldName;
      throw e;
    }
    return this;
  }

  /**
   * Get the home context for this user.
   *
   * @returns {string} - a context id (not the full resource URI).
   */
  getHomeContext() {
    const es = this.getEntryStore();
    const entry = this.getEntry(true);
    const contextResourceURI = entry.getEntryInfo().getGraph().findFirstValue(entry.getResourceURI(), _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].homeContext);
    if (contextResourceURI != null) {
      return es.getEntryId(contextResourceURI);
    }
    return undefined;
  }

  /**
   * Set a new home context for this group.
   * Note that the home context is stored in the entryinformation, hence, all other changes made
   * to the entryinformation will be saved unless the doNotPushToRepository flag is set to true.
   *
   * @param {string} contextId - a context id (not the full resource URI).
   * @param {boolean} doNotPushToRepository if true the changes will be made in the
   * entryinformation but it will not be pushed to the respository. To do this you need to get
   * a hold of the entryinformation and call commit.
   * @returns {Promise.<EntryInfo>|undefined}
   */
  async setHomeContext(contextId, doNotPushToRepository) {
    const entry = await this.getEntry();
    const es = this.getEntryStore();
    const newContextURI = es.getResourceURI('_contexts', contextId);
    const graph = entry.getEntryInfo().getGraph();
    graph.findAndRemove(entry.getResourceURI(), _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].homeContext);
    graph.add(entry.getResourceURI(), _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].homeContext, {
      type: 'uri',
      value: newContextURI
    });
    if (doNotPushToRepository !== true) {
      return entry.getEntryInfo().commit();
    }
    return undefined;
  }

  /**
   *
   * Data contains allUnsorted array, size, and children.
   * @param data
   * @param children
   * @private
   */
  _update(data, children) {
    super._update(data, children);
    this._name = data.name;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/List.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/List.js ***!
  \****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ List)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");





/**
 * List is a container for other entries in the same context.
 * A single entry may appear in multiple lists (multiple parent lists) unless if it is
 * a list itself. To avoid circular references list entries are only allowed to appear
 * in one parent list.
 *
 * @exports store/List
 */
class List extends _Resource_js__WEBPACK_IMPORTED_MODULE_2__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   */
  constructor(entryURI, resourceURI, entryStore) {
    super(entryURI, resourceURI, entryStore);
    this._cache = entryStore.getCache();
    /**
     * Array of entry URIs
     * @type {Array.<string>}
     * @private
     */
    this._sortedChildren = [];
  }

  /**
   * Set the max amount of entries to include in each page during pagination.
   *
   * @param {integer} limit
   * @returns {List} allows chaining of set-operations.
   */
  setLimit(limit) {
    this._limit = limit;
    return this;
  }

  /**
   * Get the max amount of entries to include in each page during pagination.
   *
   * @returns {integer}
   */
  getLimit() {
    return this._limit || _factory_js__WEBPACK_IMPORTED_MODULE_3__["default"].getDefaultLimit();
  }

  /**
   * Sets the sort order when loading entries contained in this list.
   *
   * @param {Object} sortParams - same object structure as the sort parameter in
   * optionalLoadParameters in {@link EntryStore#getEntry} method.
   * @returns {List} allows chaining of set-operations.
   */
  setSort(sortParams) {
    this._clearSortedEntries();
    this._sortParams = sortParams;
    return this;
  }

  /**
   * Retrieves an array of entries contained in this list according to the current page and
   * pagination settings.
   * @param {number} page - the page to request an array of entries for,
   * first page is numbered 0.
   * @returns {Promise.<Entry[]>} the promise will return an entry-array.
   */
  getEntries() {
    let page = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
    const results = this._getEntries(page);
    if (results != null) {
      return Promise.resolve(results);
    }
    return this._forceLoadEntries(page);
  }

  /**
   * Executes a callback on each list members in the order provided by the list.
   * If the provided function return false for one entry the iteration is stopped and
   * the function is not called for consecutive entries.
   *
   * @param {Function} func
   * @return {Promise} called with two parameters, the first a boolean saying if all entries
   * where passed, the second an index telling how many entries iterated over.
   */
  forEach(func) {
    let page = 0;
    let idx = 0;
    let g;
    let h;
    const limit = this.getLimit();
    const f = entries => {
      const entriesLength = entries.length;
      g = res => {
        if (res === false) {
          return Promise.resolve(false);
        }
        return h();
      };
      h = () => {
        if (entries.length === 0) {
          return Promise.resolve(true);
        }
        const res = func(entries.shift(), idx);
        idx += 1;
        if (typeof res !== 'undefined' && typeof res.then === 'function') {
          return res.then(g);
        }
        return g(res);
      };
      return h().then(cont => {
        if (cont !== false && entriesLength === limit) {
          page += 1;
          return this.getEntries(page).then(f);
        }
        return Promise.resolve(idx);
      });
    };
    return this.getEntries(0).then(f);
  }

  /**
   * Loops through with forEach and accumulates the entries in a single array.
   * Note! this might be memory intensive for large lists
   * @see forEach
   * @returns {Promise.<Entry[]>}
   * @todo add tests
   */
  async getAllEntries() {
    const entries = [];
    await this.forEach(entry => entries.push(entry));
    return entries;
  }

  /**
   * Adds an entry to this list, on success the List entry will be returned (updated with
   * latest modification date). The added entry will be marked as in need of a
   * refresh due to stale inv-rel cache. However,since List entry is loaded it may be refreshed
   * already when method is resolved, it depends if it is in the first page of the list.
   *
   * @param {Entry} entry - entry to add to the list.
   * @returns {Promise.<Entry>}
   */
  async addEntry(entry) {
    const entries = await this.getAllEntryIds();
    entries.push(entry.getId());
    await this.setAllEntryIds(entries, 'addToList');
    return this.getEntry();
  }

  /**
   * Removes an entry from this list, on success the List entry will be returned (updated with
   * latest modification date). The removed entry will not be updated but marked as in need
   * of a refresh due to stale inv-rel cache. However,since List entry is loaded it may be
   * refreshed already when method is resolved, it depends if it is in the first page of the list.
   *
   * @param {Entry} entry - entry to be removed from the list.
   * @returns {Promise}
   */
  async removeEntry(entry) {
    const entries = await this.getAllEntryIds();
    entries.splice(entries.indexOf(entry.getId()), 1);
    await this.setAllEntryIds(entries, 'removeFromList');
    return this.getEntry();
  }

  /**
   * Will unset things since the cache is stale...
   */
  needRefresh() {
    delete this._unsortedChildren;
    this._sortedChildren = [];
    delete this._size;
  }

  /**
   * Get a list of entry ids contained in this list.
   *
   * @returns {Promise.<Array.<string>>} the promise will deliver an array of children entries in this
   * list as ids
   * (strings, not full URIs).
   */
  getAllEntryIds() {
    if (this._unsortedChildren != null) {
      return Promise.resolve(this._unsortedChildren);
    }
    return this.getEntries().then(() => this._unsortedChildren);
  }

  /**
   * Set a list of entry ids to be contained in this list.
   *
   * @param {string[]} entries - array of entry ids (as strings, not full URIs).
   * @param {string} callType
   * @returns {Promise.<Entry>}
   */
  async setAllEntryIds(entries, callType) {
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const entryInfo = entry.getEntryInfo();
    const promise = es.getREST().put(this._resourceURI, JSON.stringify(entries));
    es.handleAsync(promise, callType || 'setList');
    const response = await promise;
    entryInfo.setModificationDate(response.header['last-modified']);
    return entry;
  }

  /**
   * Get size of list.
   *
   * @returns {number} the amount of entries in the list, -1 if unknown.
   */
  getSize() {
    return typeof this._size === 'number' ? this._size : -1;
  }

  //= ========Helper methods===============

  _clearSortedEntries() {
    this._sortedChildren = [];
  }

  /**
   *
   * @param page
   * @param careAboutFresh
   * @return {null|Array}
   * @private
   */
  _getEntries() {
    let page = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
    let careAboutFresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    if (this._size == null) {
      return null;
    }
    const limit = this.getLimit();
    const offset = page * limit;
    let needRefresh = false;
    const results = [];
    let entryURI;
    for (let i = offset; i < offset + limit && i < this._size; i++) {
      entryURI = this._sortedChildren[i];
      if (entryURI) {
        const e = this._entryStore.getCache().get(entryURI);
        if (careAboutFresh === false || e != null && !e.needRefresh()) {
          results.push(e);
        } else {
          needRefresh = true;
          break;
        }
      } else {
        needRefresh = true;
        break;
      }
    }
    if (needRefresh) {
      return null;
    }
    return results;
  }

  /**
   *
   * @param page
   * @return {*|Promise<Array | never>}
   * @private
   */
  _forceLoadEntries() {
    let page = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
    const limit = this.getLimit();
    const offset = page * limit;
    return this._entryStore.getEntry(this._entryURI, {
      forceLoad: true,
      offset,
      limit,
      sort: this._sort,
      asyncContext: 'loadListEntries'
    }).then(() => this._getEntries(page, false));
  }

  /**
   * Data contains allUnsorted array, size, and children.
   *
   * @param data
   * @param children
   * @private
   */
  _update(data, children) {
    const offset = data.offset || 0;
    for (let i = 0; i < children.length; i++) {
      this._sortedChildren[offset + i] = children[i].getURI();
    }
    this._size = data.size || children.length;
    this._unsortedChildren = data.allUnsorted || children.map(entry => entry.getId());
  }
}
;

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Pipeline.js"
/*!********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Pipeline.js ***!
  \********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Pipeline)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Graph.js");
/* harmony import */ var _terms_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./terms.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/terms.js");






/**
 * Pipeline is a Graph that contains an ordered list of transforms, each transform is of a
 * specific type and takes a set of arguments.
 *
 * @exports store/Pipeline
 */
class Pipeline extends _Graph_js__WEBPACK_IMPORTED_MODULE_3__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   * @param {rdfjson/Graph | Object} data - is an RDF graph of some sort
   */
  constructor(entryURI, resourceURI, entryStore, data) {
    super(entryURI, resourceURI, entryStore, data); // Call the super constructor.
  }

  /**
   * The destination where the result (in the form of a single RDF graph) should
   * end up (within the specified entry's graph resource).
   * If empty string, a new entry will be created to store the results.
   * If undefined, the result will not go to a single destination, see getDetectDestination
   * instead. Some transform types does not respect the destination, e.g. currently ROWSTORE
   * which always creates a new entry containing the results.
   *
   * @returns {String|undefined} an entry URI where the result should go, empty string for new
   * entries for every execution or undefined if no destination has been specified.
   */
  getDestination() {
    return this._graph.findFirstValue(null, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformDestination);
  }

  /**
   * @see Pipeline#getDestination
   * @param {String} entryOrEntryURI entry URI, empty string for new entries every time,
   * use undefined to remove destination setting altogether.
   */
  setDestination(entryOrEntryURI) {
    this._graph.findAndRemove(null, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformDestination);
    const uri = typeof entryOrEntryURI === 'object' && entryOrEntryURI.getURI ? entryOrEntryURI.getURI() : entryOrEntryURI;
    this._graph.add(this._resourceURI, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformDestination, uri);
  }

  /**
   * Detect destination means that the result of the last transform (a graph) should be attempted
   * to be split into multiple entries according to markings in the graph.
   *
   * I.e. it detects and adds a set of entries from the graph via the anonymous closure
   * algorithm starting from blank nodes resources
   * with either one of the two following properties that both indicate which entryId to use:<ul>
   * <li>http://entrystore.org/terms/mergeResourceId or the</li>
   * <li>http://entrystore.org/terms/referenceResourceId</li>
   * </ul>
   * The mergeResourceId indicates that the corresponding entry should be merged or created if it
   * does not exist.
   * The referenceResourceId only indicates that another entry (via its resource id) should be
   * referenced from
   * the graph (which might be inside an entry indicated by mergeResourceId).
   *
   *
   * @returns {boolean} true if destination should be detected.
   */
  getDetectDestination() {
    const val = this._graph.findFirstValue(null, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformDetectDestination);
    if (typeof val !== 'undefined') {
      return val.toLowerCase().indexOf('true') === 0;
    }
    return false;
  }

  /**
   *
   * @see Pipeline#getDetectDestination
   * @param {boolean} detect if true detection of entry references in the graph is attempted.
   */
  setDetectDestination(detect) {
    this._graph.findAndRemove(null, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformDetectDestination);
    if (detect === true) {
      this._graph.add(this._resourceURI, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformDetectDestination, {
        type: 'literal',
        value: 'true',
        datatype: _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].xsd.boolean
      });
    }
  }

  /**
   * Generic <key, value, type> arguments to be saved in the pipeline resource
   * Removes existing arguments by argumentType
   *
   * @param args
   * @param argumentType
   */
  setPipelineArguments(args, argumentType) {
    this.removePipelineArguments(argumentType);

    // introduce new arguments (key value pair)
    Object.keys(args).forEach(key => {
      const newArgumentStmt = this._graph.add(this._resourceURI, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argument);
      this._graph.addL(newArgumentStmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argumentKey, key);
      this._graph.addL(newArgumentStmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argumentValue, args[key]);
      if (argumentType) {
        this._graph.addL(newArgumentStmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argumentType, argumentType);
      }
    });
  }

  /**
   * Remove all argument statements
   * @param argumentType
   */
  removePipelineArguments(argumentType) {
    const stmts = this.getPipelineArgumentStatements(argumentType);
    stmts.forEach(stmt => {
      this._graph.findAndRemove(stmt.getValue());
      this._graph.remove(stmt);
    });
  }

  /**
   * Get arguments marked with a specific type or all otherwise
   * @param argumentType
   * @return {Array.<rdfjson/Statement>}
   */
  getPipelineArgumentStatements(argumentType) {
    const stmts = this._graph.find(this._resourceURI, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argument);
    if (!argumentType) {
      return stmts;
    }
    return stmts.filter(stmt => this._graph.findFirstValue(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argumentType) === argumentType);
  }

  /**
   * Get the pipeline generic arguments
   *
   * @param argumentType
   * @return {Object} there's a one to one mapping between object <key, values> and argument <key, value>
   * @todo make Map?
   */
  getPipelineArguments(argumentType) {
    const stmts = this.getPipelineArgumentStatements(argumentType);
    const args = {};
    stmts.forEach(stmt => {
      const key = this._graph.findFirstValue(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argumentKey);
      if (key) {
        args[key] = this._graph.findFirstValue(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].config.argumentValue);
      }
    });
    return args;
  }

  /**
   * @returns {String[]} of transform ids, typically blank node ids, hence, they are not
   * preserved between saves / loads so take care.
   */
  getTransforms() {
    const stmts = this._graph.find(null, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transform);
    const arr = stmts.map(stmt => stmt.getValue());
    const self = this;
    arr.sort((tr1, tr2) => {
      const pr1 = self.getPriority(tr1);
      const pr2 = self.getPriority(tr2);
      return pr1 - pr2;
    });
    return arr;
  }

  /**
   * Finds a transform with the given type and returns its id.
   *
   * @param transformType the transform type to look for
   * @returns {string|undefined} transform id, undefined if no transform was found for the given type
   */
  getTransformForType(transformType) {
    let transformId;
    const trIds = this.getTransforms();
    trIds.forEach(trId => {
      // get transform type and check for fetch and get url
      if (this.getTransformType(trId) === transformType) {
        transformId = trId;
      }
    }, this);
    return transformId;
  }

  /**
   * Adds a new transform.
   *
   * @param {String} type one of the [getTransforms]{@link Pipeline#getTransforms}.
   * @param {Object} args a hash of key value pairs for this transform.
   * @returns {String} the newly transforms id (for this session, may change after save / load
   * so take care).
   */
  addTransform(type, args) {
    const transforms = this.getTransforms();
    const priority = transforms.length > 0 ? this.getPriority(transforms[transforms.length - 1]) : 0;
    const stmt = this._graph.add(this._resourceURI, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transform);
    const id = stmt.getValue();
    this.setTransformType(id, type);
    this.setPriority(id, priority + 1);
    this.setTransformArguments(id, args);
    return id;
  }

  /**
   * Removes a transform.
   *
   * @param {String} transformId the blank node of a specific transform as retrieved by
   * [getTransforms]{@link Pipeline#getTransforms}.
   * @see Pipeline#getTransforms
   */
  removeTransform(transformId) {
    this.setTransformArguments(transformId, {});
    this._graph.findAndRemove(transformId);
    this._graph.findAndRemove(null, null, {
      type: 'bnode',
      value: transformId
    });
  }

  /**
   * Changes the order of the transforms by changing their priority properties.
   *
   * @param {Array} transforms
   * [getTransforms]{@link Pipeline#getTransforms}.
   * @see Pipeline#getTransforms
   */
  setOrderOfTransforms(transforms) {
    for (let i = 0; i < transforms.length; i++) {
      this._graph.findAndRemove(transforms[i], _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformPriority);
      this._graph.add(transforms[i], _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformPriority, {
        type: 'literal',
        value: `${i}`,
        datatype: _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].xsd.integer
      });
    }
  }

  /**
   * @param {String} transformId the blank node of a specific transform as retrieved by
   * [getTransforms]{@link Pipeline#getTransforms}.
   * @returns {number} the priority as a float.
   */
  getPriority(transformId) {
    let prio = this._graph.findFirstValue(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformPriority);
    if (typeof prio === 'string') {
      prio = parseFloat(prio);
      if (!isNaN(prio)) {
        return prio;
      }
    }
    return 0;
  }

  /**
   * It is recommended to use setOrderOfTransforms instead.
   * @param {String} transformId the blank node of a specific transform as retrieved by
   * [getTransforms]{@link Pipeline#getTransforms}.
   * @param {number} prio the priority as a float.
   * @see Pipeline#setOrderOfTransforms
   */
  setPriority(transformId, prio) {
    this._graph.findAndRemove(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformPriority);
    this._graph.add(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformPriority, {
      type: 'literal',
      value: `${prio}`,
      datatype: _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].xsd.integer
    });
  }

  /**
   * @param {String} transformId the blank node of a specific transform as retrieved by
   * [getTransforms]{@link Pipeline#getTransforms}.
   * @returns {String} one of the values specified in {@link Pipeline#transformTypes}.
   */
  getTransformType(transformId) {
    return this._graph.findFirstValue(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformType);
  }

  /**
   *
   * @param {String} transformId the blank node of a specific transform as retrieved by
   * [getTransforms]{@link Pipeline#getTransforms}.
   * @param {String} transformType one of the options in {@link Pipeline#transformTypes}.
   */
  setTransformType(transformId, transformType) {
    this._graph.findAndRemove(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformType);
    this._graph.addL(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformType, transformType);
  }

  /**
   * @param {String} transformId the blank node of a specific transform as retrieved
   * by [getTransforms]{@link Pipeline#getTransforms}.  If no id is provided
   * arguments from all transforms will be returned in a single merged object.
   * @returns {Object|undefined} the arguments for a transform (or all transforms) as an object
   * hash with property value pairs.
   */
  getTransformArguments(transformId) {
    let args;
    const stmts = this._graph.find(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgument);
    stmts.forEach(stmt => {
      const key = this._graph.findFirstValue(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgumentKey);
      const value = this._graph.findFirstValue(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgumentValue);
      args = args || {};
      args[key] = value;
    }, this);
    return args;
  }

  /**
   * @param {String} transformId the blank node of a specific transform as retrieved
   * by [getTransforms]{@link Pipeline#getTransforms}.
   * @returns {Array} of arguments' keys
   */
  getTransformArgumentsKeys() {
    let transformId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
    const args = [];
    if (transformId) {
      const stmts = this._graph.find(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgument);
      stmts.forEach(stmt => {
        const keys = this._graph.find(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgumentKey);
        args.push(keys.map(key => key.getValue()));
      }, this);
    }
    return args;
  }

  /**
   * Replaces the current arguments with those provided.
   * @param {String} transformId the blank node of a specific transform as retrieved by
   * [getTransforms]{@link Pipeline#getTransforms}.
   * @param {Object} args the arguments for the transform as an object hash with property value pairs.
   */
  setTransformArguments(transformId, args) {
    const stmts = this._graph.find(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgument);
    stmts.forEach(stmt => {
      this._graph.findAndRemove(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgumentKey);
      this._graph.findAndRemove(stmt.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgumentValue);
      this._graph.remove(stmt);
    }, this);
    Object.keys(args).forEach(key => {
      const newArg = this._graph.add(transformId, _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgument);
      this._graph.addL(newArg.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgumentKey, key);
      this._graph.addL(newArg.getValue(), _terms_js__WEBPACK_IMPORTED_MODULE_4__["default"].pipeline.transformArgumentValue, args[key]);
    });
  }

  /**
   * Retrieves a transform argument value for a specific transform type and property (key).
   * @param {string} transformType
   * @param {string} property
   * @returns {*|undefined}
   */
  getTransformProperty(transformType, property) {
    const tid = this.getTransformForType(transformType);
    if (tid) {
      const obj = this.getTransformArguments(tid);
      if (obj && property in obj) {
        return obj[property];
      }
    }
    return undefined;
  }

  /**
   * Sets or updates an individual property (key-value pair in arguments) of a transform.
   * The transform is identified either explicitly by an id or via a transformType (assumed
   * unique).
   * @param {string} transformIdOrType corresponds to the transform to change the property for
   * @param {string} key
   * @param {string} value
   */
  setTransformProperty(transformIdOrType, key, value) {
    let obj = this.getTransformArguments(transformIdOrType);
    if (obj != null) {
      obj[key] = value;
      this.setTransformArguments(transformIdOrType, obj);
    } else {
      const tid = this.getTransformForType(transformIdOrType);
      obj = this.getTransformArguments(tid);
      if (obj != null) {
        obj[key] = value;
        this.setTransformArguments(tid, obj);
      }
    }
  }

  /**
   * Executes the pipeline with the given source entry as input, if not provided the pipeline
   * will be used as sourceentry.
   *
   * @param {Entry} sourceEntry an optional entry containing some data that is to be
   * transformed, e.g. can be a CSV file.
   * @param {object} params additional parameters used in the execution of the pipeline, e.g.
   * action (with value create, replace or append) and datasetURL pointing to the existing
   * dataset in rowstore.
   * @returns {entryURIArrayPromise} an array of entry URIs that where created/modified by
   * this execution.
   */
  execute(sourceEntry, params) {
    let executeURI;
    const es = this.getEntryStore();
    const _params = params || {};
    _params.pipeline = this.getEntryURI();
    if (sourceEntry == null) {
      executeURI = `${es.getBaseURI() + es.getContextId(this.getEntryURI())}/execute`;
    } else {
      _params.source = sourceEntry.getURI();
      executeURI = `${sourceEntry.getContext().getResourceURI()}/execute`;
    }
    return es.handleAsync(es.getREST().post(executeURI, JSON.stringify(_params)), 'execute').then(response => response.body.result, err => {
      throw err;
    });
  }
}
/**
 * Available transforms (types).
 *
 * @type {{TABULAR: string, ROWSTORE: string}}
 */
Pipeline.prototype.transformTypes = {
  TABULAR: 'tabular',
  ROWSTORE: 'rowstore',
  EMPTY: 'empty',
  FETCH: 'fetch',
  VALIDATE: 'validate',
  MERGE: 'merge'
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeContext.js"
/*!****************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeContext.js ***!
  \****************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ PrototypeContext)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./PrototypeEntry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeEntry.js");
/* harmony import */ var _Context_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Context.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Context.js");







/**
 * A not yet existing context (on the server). The context is accessible from a PrototypeContextEntry.
 * Allows creating initial prototype entries within the context even before the context is created (before commit).
 * When the context is created (via commit on its entry) all the initial entries are created as well (after the context is created).
 * The initial entries are available via the getInitialEntries method.
 *
 * The main functionality of this class are:
 *  1. to wrap all methods for creating entries so they are created in a later stage after the context has been created
 *  2. to rewrite all references between the entries after the context has been created with the right context id
 *  3. allow access to the initial entries after context creation
 *
 * @exports store/PrototypeContext
 */
class PrototypeContext extends _Context_js__WEBPACK_IMPORTED_MODULE_5__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   */
  // eslint-disable-next-line no-useless-constructor
  constructor(entryURI, resourceURI, entryStore) {
    super(entryURI, resourceURI, entryStore);
    this.entryIdCounter = 0;
    this.id2pe = {};
  }

  /**
   * Creates an identifier if no explicit identifier is provided.
   * Currently the identifiers are created in numerical order.
   *
   * @param id
   * @return {string}
   * @private
   */
  _newId(id) {
    if (this.id2pe.hasOwnProperty(`${id}`)) {
      throw new Error('Id is already taken');
    }
    if (id === undefined) {
      this.entryIdCounter += 1;
      return `${this.entryIdCounter}`;
    } else {
      return `${id}`;
    }
  }

  /**
   * Utility method to simplify overriding of the superclass "new" methods.
   * @param {PrototypeEntry} pe
   * @return {PrototypeEntry}
   * @private
   */
  _register(pe) {
    this.id2pe[pe.getSpecificId()] = pe;
    pe.delayedCommit = pe.commit;
    pe.commit = () => {};
    return pe;
  }
  newEntry(id) {
    return this._register(super.newEntry(this._newId(id)));
  }
  newNamedEntry(id) {
    return this._register(super.newNamedEntry(this._newId(id)));
  }
  newLink(link, id) {
    return this._register(super.newLink(link, this._newId(id)));
  }
  newLinkRef(link, metadataLink, id) {
    return this._register(super.newLinkRef(link, metadataLink, this._newId(id)));
  }
  newRef(link, metadataLink, id) {
    return this._register(super.newRef(link, metadataLink, this._newId(id)));
  }
  newList(id) {
    return this._register(super.newList(this._newId(id)));
  }
  newGraph() {
    let graph = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    let id = arguments.length > 1 ? arguments[1] : undefined;
    return this._register(super.newGraph(graph, this._newId(id)));
  }
  newString(str, id) {
    return this._register(super.newString(str, this._newId(id)));
  }
  newPipeline(id) {
    return this._register(super.newPipeline(this._newId(id)));
  }

  /**
   * Call this after the context has been created to update the initial prototype entries
   * so they can be created with the right context identifier.
   *
   * @param {Context} context
   */
  updateEntriesForCreatedContext(context) {
    const es = this.getEntryStore();
    const cru = context.getResourceURI();
    const oldBase = `${es.getBaseURI()}${_PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_4__.NEW_ID_PLACEHOLDER}/`;
    const newBase = `${es.getBaseURI()}${context.getId()}/`;
    const uri2uri = {};
    Object.keys(this.id2pe).forEach(eid => {
      uri2uri[`${oldBase}resource/${eid}`] = `${newBase}resource/${eid}`;
      uri2uri[`${oldBase}entry/${eid}`] = `${newBase}entry/${eid}`;
      uri2uri[`${oldBase}metadata/${eid}`] = `${newBase}metadata/${eid}`;
      uri2uri[`${oldBase}cached-external-metadata/${eid}`] = `${newBase}cached-external-metadata/${eid}`;
    });
    Object.keys(this.id2pe).forEach(eid => {
      const pe = this.id2pe[eid];
      pe._context = context; // Move over the prototype entry to the newly created context
      const ei = pe.getEntryInfo();
      const eidGraph = ei.getGraph();
      const md = pe.getMetadata();
      const cemd = pe.getCachedExternalMetadata();
      ei._entryURI = `${newBase}entry/${eid}`; // Interal variable that needs to be updated
      Object.keys(uri2uri).forEach(fromURI => {
        const toURI = uri2uri[fromURI];
        md.replaceURI(fromURI, toURI);
        cemd.replaceURI(fromURI, toURI);
        eidGraph.replaceURI(fromURI, toURI);
      });
    });
  }

  /**
   * Creates all the initial prototype entries in the context.
   *
   * @return {Promise<Entry[]>}
   */
  async createInitialEntries() {
    const pes = Object.values(this.id2pe);
    const proms = pes.map(pe => pe.delayedCommit());
    this._initialEntries = await Promise.all(proms);
    return this._initialEntries;
  }

  /**
   * @return {Entry[]}
   */
  getInitialEntries() {
    return this._initialEntries;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeContextEntry.js"
/*!*********************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeContextEntry.js ***!
  \*********************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ PrototypeContextEntry)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PrototypeEntry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeEntry.js");
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js");
/* harmony import */ var _PrototypeContext_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./PrototypeContext.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeContext.js");






/**
 * A PrototypeContextEntry is a special case of a PrototypeEntry.
 *
 * @exports store/PrototypeEntry
 */
class PrototypeContextEntry extends _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_1__["default"] {
  /**
   * @param {string} contextName - name of the context entry
   * @param {string} id - identifier for the context entry
   * @param {string} entrystore - entrystore instance
   */
  constructor(contextName, id, entrystore) {
    const contexts = _factory_js__WEBPACK_IMPORTED_MODULE_2__["default"].getContext(entrystore, `${entrystore.getBaseURI()}_contexts/entry/_contexts`);
    super(contexts, id);
    this.setGraphType(_types_js__WEBPACK_IMPORTED_MODULE_3__["default"].GT_CONTEXT);
    const ei = this.getEntryInfo();
    const resource = new _PrototypeContext_js__WEBPACK_IMPORTED_MODULE_4__["default"](ei.getEntryURI(), ei.getResourceURI(), entrystore);
    this._resource = resource;
    if (contextName != null) {
      resource._update({
        name: contextName
      });
    }
  }

  /**
   * Same as getResource(true) but clarify that what is returned is a PrototypeContext.
   *
   * @return {PrototypeContext}
   */
  getPrototypeContext() {
    return this._resource;
  }

  /**
   * Create a new entry according to the information specified in the prototype entry.
   *
   * @returns {Promise<Entry>}
   * @see EntryStore#createEntry
   */
  async commit() {
    const contextEntry = await this._context.getEntryStore().createEntry(this);
    this._resource.updateEntriesForCreatedContext(contextEntry.getResource(true));
    this._initialEntries = await this._resource.createInitialEntries();
    return contextEntry;
  }

  /**
   * Use this method instead of commit if you want to create a group together with the context.
   *
   * @return {Promise<{contextEntry: Entry, groupEntry: Entry, initialEntries: Entry[]}>}
   * @see EntryStore#createGroupAndContext
   */
  async createGroupAndContext() {
    const entrystore = this._context.getEntryStore();
    const groupEntry = await entrystore.createGroupAndContext(this._resource._name, this.specificId);
    const homeContextId = groupEntry.getResource(true).getHomeContext();
    const homeContext = entrystore.getContextById(homeContextId);
    const contextEntry = await homeContext.getEntry();
    this._resource.updateEntriesForCreatedContext(contextEntry.getResource(true));
    this._initialEntries = await this._resource.createInitialEntries();
    return {
      contextEntry,
      groupEntry,
      initialEntries: this._initialEntries
    };
  }

  /**
   * @return {Entry[]}
   */
  getInitialEntries() {
    return this.getPrototypeContext().getInitialEntries();
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeEntry.js"
/*!**************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeEntry.js ***!
  \**************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   NEW_ID_PLACEHOLDER: () => (/* binding */ NEW_ID_PLACEHOLDER),
/* harmony export */   "default": () => (/* binding */ PrototypeEntry)
/* harmony export */ });
/* harmony import */ var _Entry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Entry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Entry.js");
/* harmony import */ var _EntryInfo_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EntryInfo.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryInfo.js");
/* harmony import */ var _terms_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./terms.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/terms.js");



const NEW_ID_PLACEHOLDER = '_newId';
/**
 * A PrototypeEntry is used to create new entries by collecting information about the initial
 * state of the entry to send along to the repository upon creation.
 *
 * All access and utility methods from Entry is just inherited. Some methods have been moved over
 * from EntryInformation to allow easier method chaining. Finally some information cannot be
 * changed in an entry, e.g. the entry, graph and resource types, but are crucial before creation.
 * Hence, some methods have been introduced to cover for this need.
 *
 * @exports store/PrototypeEntry
 */
class PrototypeEntry extends _Entry_js__WEBPACK_IMPORTED_MODULE_0__["default"] {
  /**
   * @param {Context} context where this prototypeEntry belongs.
   * @param {string} id - entry identifier, if not unique in the context the subsequent commit
   * will fail.
   */
  constructor(context) {
    let id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : NEW_ID_PLACEHOLDER;
    const cru = context.getResourceURI();
    const entryInfo = new _EntryInfo_js__WEBPACK_IMPORTED_MODULE_1__["default"](`${cru}/entry/${id}`, null, context.getEntryStore());
    if (context.getId() === '_contexts') {
      entryInfo._resourceURI = context.getEntryStore().getBaseURI() + id;
    } else {
      entryInfo._resourceURI = `${cru}/resource/${id}`;
    }
    const oldSetResourceURI = entryInfo.setResourceURI.bind(entryInfo);
    entryInfo.setResourceURI = uri => {
      this._resourceURI = uri;
      oldSetResourceURI(uri);
      return this;
    };
    entryInfo.getResourceURI = () => this._resourceURI || entryInfo._resourceURI;
    super(context, entryInfo); // Call the super constructor.
    if (id !== NEW_ID_PLACEHOLDER) {
      this.specificId = id;
    }
  }

  /**
   * Direct access method for the resource instance for prorotypeEntries.
   * @returns {Resource}
   */
  getResource() {
    return this._resource;
  }

  /**
   * Exposes the {@link EntryInfo#setACL setACL} method from {@link EntryInfo}
   * on PrototypeEntry
   * and makes it chainable.
   *
   * @returns {PrototypeEntry} - to allow the method call to be chained.
   */
  setACL() {
    _EntryInfo_js__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.setACL.apply(this._entryInfo, arguments);
    return this;
  }

  /**
   * Exposes the {@link EntryInfo#setResourceURI setResourceURI} method from
   * {@link EntryInfo} on this class
   * and makes it chainable.
   *
   * @returns {PrototypeEntry} - to allow the method call to be chained.
   */
  setResourceURI(uri) {
    this._entryInfo.setResourceURI(uri);
    return this;
  }

  /**
   * Exposes the {@link EntryInfo#setExternalMetadataURI setExternalMetadataURI} method
   * from {@link EntryInfo} on this class
   * and makes it chainable.
   *
   * @returns {PrototypeEntry} - to allow the method call to be chained.
   */
  setExternalMetadataURI(uri) {
    _EntryInfo_js__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.setExternalMetadataURI.apply(this._entryInfo, arguments);
    return this;
  }

  /**
   * Makes it possible to change the EntryType (which is not allowed on existing entries).
   *
   * @returns {PrototypeEntry} - to allow the method call to be chained.
   */
  setEntryType(et) {
    const uri = _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].invEntryType[et];
    if (uri) {
      this._entryInfo.getGraph().create(this._entryInfo.getEntryURI(), _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].rdf.type, {
        type: 'uri',
        value: uri
      });
    }
    return this;
  }

  /**
   * Makes it possible to change the GraphType (which is not allowed on existing entries).
   *
   * @returns {PrototypeEntry} - to allow the method call to be chained.
   */
  setGraphType(gt) {
    this._gt = gt;
    const uri = _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].invGraphType[gt];
    if (uri) {
      this._entryInfo.getGraph().create(this._entryInfo.getResourceURI(), _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].rdf.type, {
        type: 'uri',
        value: uri
      });
    }
    return this;
  }

  /**
   * Makes it possible to change the ResourceType (which is not allowed on existing entries).
   *
   * @returns {PrototypeEntry} - to allow the method call to be chained.
   */
  setResourceType(rt) {
    const uri = _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].invResourceType[rt];
    if (uri) {
      this._entryInfo.getGraph().create(this._entryInfo.getResourceURI(), _terms_js__WEBPACK_IMPORTED_MODULE_2__["default"].rdf.type, {
        type: 'uri',
        value: uri
      });
    }
    return this;
  }

  /**
   * When creating new entries a single parent list can be specified, hence we need a way to set
   * it in PrototypeEntry.
   *
   * @param {Entry} parentListEntry
   * @returns {PrototypeEntry} - to allow the method call to be chained.
   */
  setParentList(parentListEntry) {
    this.parentListEntry = parentListEntry;
    return this;
  }

  /**
   * Get the parent list (as an entry) for this PrototypeEntry.
   * @returns {Entry}
   */
  getParentList() {
    return this.parentListEntry;
  }

  /**
   * Get the suggested entry id for this PrototypeEntry
   * @returns {string}
   */
  getSpecificId() {
    return this.specificId;
  }

  /**
   * Allowed as a way to save metadata for an
   * entry that is assumed to exist with a given entry id.
   * @override
   */
  commitMetadata() {
    if (!this.specificId) {
      throw new Error('The entryId must have been specified for allowing metadata to be saved.');
    }
    const es = this.getEntryStore();
    return es.handleAsync(es.getREST().put(this.getEntryInfo().getMetadataURI(), JSON.stringify(this.getMetadata().exportRDFJSON())), 'commitMetadata');
  }

  /**
   * Allowed as a way to save cached external metadata for an entry that is assumed to
   * exist with a given entry id.
   * @override
   */
  commitCachedExternalMetadata() {
    if (!this.specificId) {
      throw new Error('The entryId must have been specified for allowing cached external metadata to be saved.');
    }
    const es = this.getEntryStore();
    return es.handleAsync(es.getREST().put(this.getEntryInfo().getCachedExternalMetadataURI(), JSON.stringify(this._cachedExternalMetadata.exportRDFJSON())), 'commitCachedExternalMetadata');
  }

  /**
   * @deprecated use {@link PrototypeEntry#commit commit} instead.
   * @returns {Promise.<Entry>}
   */
  create() {
    return this._context.getEntryStore().createEntry(this);
  }

  /**
   * Create a new entry according to the information specified in the prototype entry.
   *
   * @returns {Promise.<Entry>}
   * @see EntryStore#createEntry
   */
  commit() {
    return this._context.getEntryStore().createEntry(this);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/RateLimit.js"
/*!*********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/RateLimit.js ***!
  \*********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ RateLimit)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");




/**
 * The class regulates how often requests are made to avoid overshooting a specified rate limitation.
 * The class supports two approaches, the naive and the burst methods.
 *
 * Naive approach
 * --------------
 * The naive approach for a rate limitation implementation is to evenly distribute the request limit over
 * the entire time period and then whenever requests are made quicker simply delay them. This approach
 * is unfortunately often suboptimal as we often need to make requests in bursts separated by longer
 * periods of inactivity.
 *
 * Burst approach
 * --------------
 * The burst approach divides the time period into buckets and for each bucket a budget of how many
 * requests that can be made is calculated, it is possible to specify that there will be a minimum amount of
 * burst requests reserved per bucket. If the budget is surpassed the class will regulate how often requests
 * are made to keep the number below the specified rate limitation. The minimum amount of requests per second
 * can be specified separately.
 *
 * The burst algorithm has the following characteristics:
 * 1. Over a full time period the amount of requests will never exceed the maximum request limit.
 * 2. Due to the division into buckets and in what frequency we make the requests we often end up being allowed
 *    to make fewer requests in total. For instance with three buckets and 3600 seconds and 3600 requests we end up
 *    with 2850 requests if try to make them one per second, i.e. only around 80% of our total request limit.
 * 3. We will always be allowed to make requests, there will never be a full stop.
 * 4. The guaranteed amount of requests per second is by default requestLimit / (timePeriod * 2)
 *
 * Use the burst approach for webb applications when you know that the pattern for requests are intermittent
 * and you care about responsiveness. Use the naive approach in batch mode when you want to push as many requests
 * through as possible over a longer period of time.
 *
 * @exports store/RateLimit
 */
class RateLimit {
  /**
   *
   * @param {Object} [options] an options object
   * @param {number} [options.timePeriod=3600] - the time period to check, expressed in seconds
   * @param {number} [options.requestLimit=3600] - the amount of allowed requests per time period
   * @param {number} [options.bucketCount=12] - the amount of buckets to divide the time period into
   * @param {number} [options.minimumBurstPerBucket] - the minimum amount of requests per bucket reserved to be sent
   * before rate limitation is applied, by default this is calculated from the requestLimit per bucket divided by 12.
   * @param {number} [options.rateLimitationSpeed] - the amount of requests per second in rate limitation mode,
   * i.e. when the allowed burst is consumed, this value is only used in burst mode.
   * @param {string} [options.mode=burst] - the rate limit approach taken, supports 'naive' and 'burst'
   * @param {boolean} [history=false] - weather the request history per bucket will be saved in an array
   */
  constructor() {
    let {
      timePeriod = 3600,
      requestLimit = 4896,
      bucketCount = 12,
      mode = 'burst',
      minimumBurstPerBucket,
      rateLimitationSpeed
    } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    let history = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    this._timePeriod = timePeriod;
    this._requestLimit = requestLimit;
    this._bucketCount = bucketCount;
    this._bucketMode = mode === 'burst';
    // Weather we are rate limiting right now.
    // We always do rate limiting if we are in naive mode, otherwise we start by not limiting.
    this._limit = !this._bucketMode;

    // Initialize buckets
    this._buckets = [];
    for (let i = 0; i < this._bucketCount; i++) {
      this._buckets[i] = 0;
    }
    // By default rate is half the allowed requests per bucket
    this._rate = Math.floor(rateLimitationSpeed !== undefined ? rateLimitationSpeed * timePeriod / bucketCount : requestLimit / (this._bucketCount * 2));

    // By default burst rate is a sixth of the default rate of the allowed requests per bucket
    this._burst = Math.floor(minimumBurstPerBucket !== undefined ? minimumBurstPerBucket : requestLimit / (this._bucketCount * 12));

    // waitTime is the time to wait between requests in limit mode expressed in milliseconds
    this._waitTime = this._bucketMode ? timePeriod / bucketCount / this._rate * 1000 : timePeriod * 1000 / requestLimit;

    // Start time for last bucket.
    this._bucketStartTime = new Date().getTime();
    this._bucketTimeLength = timePeriod / bucketCount;
    this.calculateBudget();

    // Set a faked last request back in time so we won't delay the first request if we are in naive mode.
    this._lastRequestTime = new Date().getTime() - 2 * this._waitTime;

    // a queue of functions corresponding to requests to make.
    this._queue = [];

    // listeners that will be notified when we are in rate limitation mode and when we leave it.
    this._listeners = [];

    // If required, turn on history
    if (history) {
      this._history = [];
    }
  }

  /**
   * The history is an array of buckets where requests have been made,
   * each past bucket is documented in the history with an object with attributes:
   * * amount - amount of requests made in the bucket.
   * * time - time the bucket started.
   * * limitAt - time when the bucket switched over from burst to rate limitation mode, may not exist.
   *
   * @returns {Object[]}
   */
  history() {
    return this._history;
  }

  /**
   * Calculates the budget for the upcoming bucket.
   * The calculation is assumed to be done before any requests are made for the upcoming bucket.
   * The calculation is made by forecasting the budget per bucket (*) in the coming time period.
   * The current budget is the smallest of these bucket budgets and then subtracting the "rate" (**).
   *
   * (*) The forecast for bucket X is done by subtracting the amount of requests already made during the
   *     previous time period (before X). When subtracting from buckets that lie in the future we assume "rate"
   *     amount of requests as that is something we have to guarantee.
   *
   * (**) This subtraction is done to avoid overshooting the budget by consuming the budget in the first millisecond
   * and then consuming "rate" number of requests in rate limitation mode.
   * @private
   */
  calculateBudget() {
    this._budget = this._requestLimit;
    for (let remainIdx = 1; remainIdx <= this._bucketCount; remainIdx++) {
      let remaining = this._requestLimit - (this._rate + this._burst) * remainIdx;
      for (let bucketIdx = remainIdx - 1; bucketIdx < this._bucketCount; bucketIdx++) {
        remaining -= this._buckets[bucketIdx];
      }
      if (remaining < this._budget) {
        this._budget = remaining;
      }
    }
    this._budget -= this._rate;
    if (this._budget < this._burst) {
      this._budget = this._burst;
    }
  }

  /**
   * Shift buckets a fixed amount of steps, i.e. forget an amount of buckets
   * and prepare an equal amount of new buckets by setting them to zero.
   *
   * @param {number} amount the amount of buckets to forget
   * @private
   */
  forgetBuckets() {
    let amount = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
    if (this._history) {
      for (let a = 0; a < amount; a++) {
        if (this._buckets[a] > 0) {
          this._history.push({
            amount: this._buckets[a],
            time: this._bucketStartTime.getTime() / 1000 + this._bucketTimeLength * a
          });
          if (this._lastLimitPoint) {
            this._history[this._history.length - 1].limitAt = this._lastLimitPoint;
          }
        }
      }
    }
    delete this._lastLimitPoint;
    this._buckets.splice(0, amount);
    const from = amount > this._bucketCount ? 0 : this._bucketCount - amount;
    for (let i = from; i < this._bucketCount; i++) {
      this._buckets[i] = 0;
    }
  }

  /**
   * Every time a request is made we need to tick. It does the following:
   * 1. If neccessary, shift buckets.
   * 2. Keep track of the last request time.
   * 3. Keep track of amount of requests in the bucket list.
   * 4. Notfies listeners if we are starting or stopping rate limitation (not in naive mode).
   *
   * @private
   */
  tick() {
    this._lastRequestTime = new Date().getTime();
    if (this._bucketMode) {
      const diff = (this._lastRequestTime - this._bucketStartTime) / 1000;
      // Check if we need to shift buckets
      if (diff > this._bucketTimeLength) {
        const steps = Math.floor(diff / this._bucketTimeLength);
        this.forgetBuckets(steps);
        this._bucketStartTime += steps * this._bucketTimeLength;
        this.calculateBudget();
      }
      this._buckets[this._bucketCount - 1] += 1;
      const isLimitedNow = this._buckets[this._bucketCount - 1] >= this._budget;
      if (isLimitedNow && !this._limit) {
        // Notify listeners that we are starting to do rate limitation
        this._lastLimitPoint = this._lastRequestTime;
        this._listeners.forEach(listener => listener(true));
      } else if (!isLimitedNow && this._limit) {
        // Notify listeners that we stopped to do rate limitation
        this._listeners.forEach(listener => listener(false));
      }
      this._limit = isLimitedNow;
    }
  }

  /**
   * Handles the queue of requests by either calling them or postponing via timeouts
   * and then calling itself recursivel from that timeout.
   * @private
   */
  process() {
    while (this._queue.length > 0 && !this.timeout) {
      const {
        func,
        resolve,
        reject
      } = this._queue.shift();
      if (this._limit) {
        this.timeout = setTimeout(() => {
          this.tick();
          func.call().then(resolve, reject);
          delete this.timeout;
          this.process();
        }, this.waitTime());
        break;
      } else {
        this.tick();
        func.call().then(resolve, reject);
      }
    }
  }

  /**
   * The time to wait before next request will be sent.
   * The time will be a number in milliseconds between 0 and the maximum wait time.
   * In naive mode the wait time is the quotient between time period and the request limit.
   * In burst mode the wait time is half of the naive mode.
   * The actual time we wait depends on how long time ago the last request was made.
   *
   * @returns {number} The time in milliseconds before next request can be sent.
   */
  waitTime() {
    if (this._limit) {
      const now = new Date().getTime();
      const diff = now - this._lastRequestTime;
      if (diff < this._waitTime) {
        return this._waitTime - diff;
      }
    }
    return 0;
  }

  /**
   * The promise will resolve in a time frame between 0 milliseconds and the maximum wait time calculated
   * by dividing the time period with the request limit in naive mode. In burst mode the wait time is half that.
   * The actual time we wait depends on how long time ago the last request was made.
   *
   * This is a utility function that can be used by applications that wants to behave nice
   * and wait before enqueueing a lot of functions.
   *
   * @returns {Promise} The promise will be resolved when it is time to do the next request.
   */
  wait() {
    const waitTime = this._waitTime();
    if (waitTime > 0) {
      return new Promise(resolve => setTimeout(resolve, waitTime));
    }
    return Promise.resolve();
  }

  /**
   * Enqueue a request in the form of an asynchronous function, i.e. it has to return a promise.
   *
   * @param {function} fn the function to add to the queue
   * @param {object} [context] a context object that will become the "this" of the function, optional.
   * @param {array} [args] an array of arguments, optional.
   * @returns {Promise} a new potentially delayed promise with the same resolve and reject values.
   */
  enqueue(fn, context) {
    let args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
    const func = context || args ? fn.bind(context, ...args) : fn;
    return new Promise((resolve, reject) => {
      this._queue.push({
        func,
        resolve,
        reject
      });
      this.process();
    });
  }

  /**
   * @returns {number} the amount of enqueued requests.
   */
  queueLength() {
    return this.timeout ? this._queue.length + 1 : 0;
  }

  /**
   * Clear the queue of requests.
   */
  clear() {
    this._queue = [];
    clearTimeout(this.timeout);
    delete this.timeout;
  }

  /**
   * Listener that will be notified if rate limitation is turned on (true is sent) or off (false is sent).
   * @param {function} listener
   */
  addListener(listener) {
    this._listeners.push(listener);
  }

  /**
   * Remove the provided rate limitation listener.
   * @param {function} listener
   */
  removeListener(listener) {
    this._listeners.splice(this._listeners.indexOf(listener), 1);
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js"
/*!********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js ***!
  \********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Resource)
/* harmony export */ });
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");

/**
 * This is the base class for resources contained by entries, do not use directly,
 * instead use a subclass.
 *
 * @exports store/Resource
 * @see subclass {@link Context}
 * @see subclass {@link List}
 * @see subclass {@link Graph}
 * @see subclass {@link String}
 * @see subclass {@link File}
 * @see subclass {@link User}
 * @see subclass {@link Group}
 */
class Resource {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   */
  constructor(entryURI, resourceURI, entryStore) {
    this._entryURI = entryURI;
    this._resourceURI = resourceURI;
    this._entryStore = entryStore;
  }

  /**
   * Retrieves the API's repository instance
   *
   * @returns {EntryStore}
   */
  getEntryStore() {
    return this._entryStore;
  }

  /**
   * Retrieves the entry that contains this resource. Asking for the entry directly
   * (direct=true, rather than getting
   * it asynchronously via a promise) should work for all resources except context resources.
   *
   * > _**Advanced explanation:**
   * > Context resources are often created opportunistically by the API without also
   * > loading the context entry along with it, e.g. when loading entries during a search
   * > operation. The reason why the context entries are not loaded along with the context
   * > resource is that such an approach, depending on the use-case, may lead to dramatic
   * > increases in the amount of requests to the repository._
   *
   * @return {Promise.<Entry>|Entry} if direct=true an Entry is returned (or undefined if not
   * in cache, only happens sometimes for Contexts) otherwise a promise is returned that on
   * success provides the entry for this resource.
   */
  getEntry() {
    let direct = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
    return this._entryStore.getEntry(this._entryURI, {
      direct
    });
  }

  /**
   * The resources own URI.
   *
   * @returns {string}
   */
  getResourceURI() {
    return this._resourceURI;
  }

  /**
   * The URI to the entry containing this resource.
   *
   * @returns {string}
   */
  getEntryURI() {
    return this._entryURI;
  }

  /**
   * The id for the entry containing this resource.
   *
   * @returns {string}
   */
  getId() {
    return _factory_js__WEBPACK_IMPORTED_MODULE_0__["default"].getEntryId(this._entryURI);
  }
  _update(data) {
    this._data = data;
  }
  getSource() {
    return this._data;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Rest.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Rest.js ***!
  \****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Rest)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.assign.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var blueimp_md5__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! blueimp-md5 */ "./node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js");
/* harmony import */ var superagent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! superagent */ "./node_modules/.pnpm/superagent@10.3.0/node_modules/superagent/lib/client.js");
/* harmony import */ var _xmldom_xmldom__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @xmldom/xmldom */ "./node_modules/.pnpm/@xmldom+xmldom@0.8.13/node_modules/@xmldom/xmldom/lib/index.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/utils.js");
/* harmony import */ var superagent_jsonp__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! superagent-jsonp */ "./node_modules/.pnpm/superagent-jsonp@0.2.1/node_modules/superagent-jsonp/dist/superagent-jsonp.js");

















/**
 * Check if requests will be to the same domain, i.e. no CORS.
 * Must be used in a browser environment.
 *
 * @param url
 * @returns {boolean}
 */
const sameOrigin = url => {
  const a1 = document.createElement('a');
  const a2 = document.createElement('a');
  a1.href = url;
  a2.href = window.location.href;
  return a1.hostname === a2.hostname && a1.port === a2.port && a1.protocol === a2.protocol && a2.protocol !== 'file:';
};

/**
 * Last 7 digits of milliseconds since 1970 + random number.
 * @returns {number}
 */
const getPreventCacheNumber = () => new Date().getTime() % 10000000 * 1000 + Math.floor((Math.random() * 1000).toString());

/**
 * This class encapsulates functionality for communicating with the repository via Ajax calls.
 * Authentication is done via cookies and accept headers are in general set to
 * application/json behind the scenes.
 *
 * @exports store/Rest
 */
class Rest {
  constructor() {
    var _this = this;
    this.timeout = 30000; // 30 seconds
    this.JSONP = true;
    this.withCredentials = true;
    this.headers = {
      Accept: 'application/json',
      'Content-Type': 'application/json; charset=UTF-8'
    };
    const rest = this;
    if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_14__.isBrowser)()) {
      /**
       *
       * @param uri
       * @param {Object} data
       * @param format
       * @returns {undefined|*}
       */
      rest._putFile = function (uri, data) {
        let format = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'application/json';
        if (!data.value) {
          return undefined;
        }
        const stubForm = new FormData();
        const {
          files
        } = data;
        Array.from(files).forEach((file, idx) => {
          // is the item a File?
          if (file instanceof File) {
            stubForm.append(idx.toString(), file);
          }
        });
        const PUTRequest = superagent__WEBPACK_IMPORTED_MODULE_12__.put(uri).accept(format).send(stubForm);
        if (_this.withCredentials) {
          PUTRequest.withCredentials();
        }
        return PUTRequest;
      };
    }
  }

  /**
   * Set up the rate limitation for read requests.
   * The only required method of the instance is the 'enqueue' function, see it's signature in the default
   * RateLimitation class.
   * @param {Object} rateLimtationInstance
   * @see RateLimit#enqueue
   */
  setRateLimitationForRead(rateLimtationInstance) {
    this.readRateLimit = rateLimtationInstance;
  }

  /**
   * Set up the rate limitation for write requests.
   * The only required method of the instance is the 'enqueue' function, see it's signature in the default
   * RateLimitation class.
   * @param {Object} rateLimtationInstance
   * @see RateLimit#enqueue
   */
  setRateLimitationForWrite(rateLimtationInstance) {
    this.writeRateLimit = rateLimtationInstance;
  }

  /**
   * Disable JSONP for all requests, e.g. when there is a need for performance and there
   * is a need for relable caching which does not work with JSONP.
   */
  disableJSONP() {
    this.JSONP = false;
  }

  /**
   * Enable JSONP for all get requests. JSONP will only be used if EntryStore.js is running in the browser and
   * there are cross-site GET requests.
   * Note that JSONP is enabled in this scenario by default.
   */
  enableJSONP() {
    this.JSONP = true;
  }

  /**
   * Don't allow credentials, i.e. don't send cookies when doing requests.
   */
  disableCredentials() {
    this.withCredentials = false;
  }

  /**
   * Allow credentials, i.e. sending cookies, when doing requests.
   */
  enableCredentials() {
    this.withCredentials = true;
  }

  /**
   * @param {object} credentials should contain attributes "user", "password", and "maxAge".
   * MaxAge is the amount of seconds the authorization should be valid.
   * @returns {Promise} A thenable object
   * @async
   */
  async auth(credentials) {
    const {
      user,
      password,
      base,
      maxAge = 604800,
      logout = false
    } = credentials;
    delete this.headers.cookie;
    if (logout) {
      const logoutRequestResult = superagent__WEBPACK_IMPORTED_MODULE_12__.get(`${base}auth/logout`).accept('application/json').withCredentials().timeout({
        response: this.timeout
      });
      Object.entries(this.headers).map(keyVal => logoutRequestResult.set(keyVal[0], keyVal[1]));
      return logoutRequestResult;
    }
    const data = {
      auth_username: encodeURIComponent(user),
      auth_password: encodeURIComponent(password),
      auth_maxage: maxAge
    };
    if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_14__.isBrowser)()) {
      return this.post(`${base}auth/cookie`, data, null, 'application/x-www-form-urlencoded');
    }
    const queryStringData = Object.entries(data).reduce((accum, prop) => `${accum}${prop.join('=')}&`, '');
    const authCookieResponse = await this.post(`${base}auth/cookie`, queryStringData, null, 'application/x-www-form-urlencoded');
    const cookies = authCookieResponse.headers['set-cookie'];
    for (const cookie of cookies) {
      if (cookie.startsWith('auth_token=')) {
        this.headers.cookie = [cookie];
        break;
      }
    }
    return authCookieResponse;
  }

  /**
   * Fetches data from the provided URI.
   * If a cross-domain call is made and we are in a browser environment a jsonp call is made.
   *
   * @param {string} uri - URI to a resource to fetch.
   * @param {string|null} format - the format to request as a mimetype.
   * @param {boolean} nonJSONP - stop JSONP handling (default false)
   * @param {stream} writableStream - a writable stream to be used in nodejs e.g. for piping data directly to a file
   * @param {boolean} preventCache - if true an extra argument is added to the uri with a random number to prevent caching
   * @returns {Promise} A thenable object
   * @async
   * @throws Error
   */
  async get(uri) {
    let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    let nonJSONP = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
    let writableStream = arguments.length > 3 ? arguments[3] : undefined;
    let preventCache = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
    if (this.readRateLimit) {
      return this.readRateLimit.enqueue(this._get, this, [uri, format, nonJSONP, writableStream, preventCache]);
    }
    return this._get(uri, format, nonJSONP, writableStream, preventCache);
  }

  /**
   * @private
   * @see get
   */
  async _get(uri, format, nonJSONP, writableStream, preventCache) {
    let _format = format;
    const locHeaders = Object.assign({}, this.headers);
    locHeaders['X-Requested-With'] = null;
    delete locHeaders['Content-Type'];
    let _uri = uri;
    let handleAs = 'json';
    if (_format != null) {
      switch (_format) {
        case 'application/json':
          // This is the default in the headers.
          break;
        case 'xml': // backward compatible case
        case 'application/xml':
        case 'text/xml':
          _format = 'text/xml';
          handleAs = 'xml';
          break;
        case 'text': // backward compatible case
        case 'text/plain':
          _format = 'text/plain';
          handleAs = 'text';
          break;
        default:
          // All other situations, including text/plain.
          handleAs = 'text';
      }
      locHeaders.Accept = _format;
    }

    // Use jsonp instead of CORS for GET requests when doing cross-domain calls, it is cheaper
    if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_14__.isBrowser)() && !sameOrigin(_uri) && !nonJSONP && this.JSONP) {
      return new Promise((resolve, reject) => {
        const queryParameter = new RegExp('[?&]format=');
        if (!queryParameter.test(_uri)) {
          _uri += `${_uri.includes('?') ? '&' : '?'}format=application/json`;
        }
        superagent__WEBPACK_IMPORTED_MODULE_12__.get(_uri).use(superagent_jsonp__WEBPACK_IMPORTED_MODULE_15__({
          timeout: 1000000,
          // @scazan: superagent-jsonp's random number generator is weak, so we create our own
          callbackName: `cb${blueimp_md5__WEBPACK_IMPORTED_MODULE_11__(_uri).slice(0, 7)}${getPreventCacheNumber()}`
        })) // Need this timeout to prevent a superagentCallback*** not defined issue with superagent-jsonp: https://github.com/lamp/superagent-jsonp/issues/31
        .then(data => {
          resolve(data.body);
        }, reject);
      });
    }
    const GETRequest = superagent__WEBPACK_IMPORTED_MODULE_12__.get(_uri).timeout({
      response: this.timeout
    });
    if (preventCache) {
      GETRequest.query({
        preventCache: getPreventCacheNumber()
      });
    }
    if (this.withCredentials) {
      GETRequest.withCredentials();
    }
    if (handleAs === 'xml') {
      GETRequest.parse['text/xml'] = (res, callback) => {
        const DOMParser = (0,_utils_js__WEBPACK_IMPORTED_MODULE_14__.isBrowser)() ? window.DOMParser : _xmldom_xmldom__WEBPACK_IMPORTED_MODULE_13__.DOMParser;
        const parser = new DOMParser();
        if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_14__.isBrowser)()) {
          return parser.parseFromString(res, 'application/xml');
        }

        // Node handles the return as a callback
        res.text = parser.parseFromString(res.text, 'application/xml');
        callback(null, res);
        return res.text;
      };
    }
    Object.entries(locHeaders).map(keyVal => GETRequest.set(keyVal[0], keyVal[1]));
    if (writableStream) {
      return new Promise((succ, err) => {
        GETRequest.pipe(writableStream);
        GETRequest.on('end', error => {
          if (error) {
            err(error);
          } else {
            succ();
          }
        });
      });
    }
    const response = await GETRequest;
    if (response.statusCode === 200) {
      if (handleAs === 'text' || handleAs === 'xml') {
        // eslint-disable-next-line no-nested-ternary
        return response.text !== undefined ? response.text : response.body instanceof Buffer ? response.toString() : undefined;
      }
      return response.body;
    }
    throw new Error(`Resource could not be loaded: ${response.text}`);
  }

  /**
   * Posts data to the provided URI.
   *
   * @param {String} uri - an URI to post to.
   * @param {String|Object} data - the data to post. If an object the data is sent as form data.
   * @param {Date=} modDate a date to use for the HTTP if-unmodified-since header.
   * @param {string=} format - indicates the content-type of the data, default is
   * application/json, except if the data is an object in which case the default is
   * multipart/form-data.
   * @returns {Promise} A thenable object
   */
  post(uri, data, modDate, format) {
    if (this.writeRateLimit) {
      return this.writeRateLimit.enqueue(this._post, this, [uri, data, modDate, format]);
    }
    return this._post(uri, data, modDate, format);
  }

  /**
   * @private
   * @see post
   */
  _post(uri, data, modDate, format) {
    const locHeaders = Object.assign({}, this.headers);
    if (modDate) {
      locHeaders['If-Unmodified-Since'] = modDate.toUTCString();
    } // multipart/form-data
    if (format) {
      locHeaders['Content-Type'] = format;
    }
    const POSTRequest = superagent__WEBPACK_IMPORTED_MODULE_12__.post(uri);
    if (this.withCredentials) {
      POSTRequest.withCredentials();
    }
    if (data) {
      POSTRequest.send(data)
      // serialize the object into a format that the backend is used to (no JSON strings)
      .serialize(obj => Object.entries(obj).map(keyVal => `${keyVal[0]}=${keyVal[1]}&`).join(''));
    }
    POSTRequest.timeout({
      response: this.timeout
    });
    Object.entries(locHeaders).map(keyVal => POSTRequest.set(keyVal[0], keyVal[1]));
    return POSTRequest;
  }

  /**
   * Posts data to a factory resource with the intent to create a new resource.
   * That is, it posts data and expects a Location header back with information on the created
   * resource.
   *
   * @param {string} uri - factory resource, may include parameters.
   * @param {string|Object} data - the data that is to be posted as a string,
   * if an object is provided it will be serialized as json.
   * @returns {Promise.<String>}
   */
  async create(uri, data) {
    const response = await this.post(uri, data);
    // let location = response.getHeader('Location');
    let {
      location
    } = response.headers;
    // In some weird cases, like when making requests from file:///
    // we do not have access to headers.
    if (!location && response.body) {
      const idx = uri.indexOf('?');
      if (idx !== -1) {
        location = uri.substring(0, uri.indexOf('?'));
      } else {
        location = uri;
      }
      location += `/entry/${JSON.parse(response.body).entryId}`;
    }
    return location;
  }

  /**
   * Replaces a resource with a new representation.
   *
   * @param {string} uri the address to put to.
   * @param {string|Object} data - the data to put. If an object the data is sent as form data.
   * @param {Date=} modDate a date to use for the HTTP if-unmodified-since header.
   * @param {string=} format - indicates the content-type of the data, default is
   * application/json, except if the data is an object in which case the default is
   * multipart/form-data.
   * @returns {Promise} A thenable object
   */
  put(uri, data, modDate, format) {
    if (this.writeRateLimit) {
      return this.writeRateLimit.enqueue(this._put, this, [uri, data, modDate, format]);
    }
    return this._put(uri, data, modDate, format);
  }

  /**
   * @private
   * @see put
   */
  _put(uri, data, modDate, format) {
    const locHeaders = Object.assign({}, this.headers);
    if (modDate) {
      locHeaders['If-Unmodified-Since'] = modDate.toUTCString();
    }
    if (format) {
      locHeaders['Content-Type'] = format;
    } else if (typeof data === 'object') {
      locHeaders['Content-Type'] = 'application/json'; // @todo perhaps not needed, this is default
    }
    const PUTRequest = superagent__WEBPACK_IMPORTED_MODULE_12__.put(uri).send(data).timeout({
      response: this.timeout
    });
    if (this.withCredentials) {
      PUTRequest.withCredentials();
    }
    Object.entries(locHeaders).map(keyVal => PUTRequest.set(keyVal[0], keyVal[1]));
    return PUTRequest;
  }

  /**
   * Deletes a resource.
   *
   * @param {String} uri of the resource that is to be deleted.
   * @param {Date=} modDate a date to use for the HTTP if-unmodified-since header.
   * @returns {Promise} A thenable object
   */
  del(uri, modDate) {
    if (this.writeRateLimit) {
      return this.writeRateLimit.enqueue(this._del, this, [uri, modDate]);
    }
    return this._del(uri, modDate);
  }

  /**
   * @private
   * @see del
   */
  _del(uri, modDate) {
    const locHeaders = Object.assign({}, this.headers);
    delete locHeaders['Content-Type'];
    if (modDate) {
      locHeaders['If-Unmodified-Since'] = modDate.toUTCString();
    }
    const DELETERequest = superagent__WEBPACK_IMPORTED_MODULE_12__.del(uri).withCredentials().timeout({
      response: this.timeout
    });
    if (this.withCredentials) {
      DELETERequest.withCredentials();
    }
    Object.entries(locHeaders).map(keyVal => DELETERequest.set(keyVal[0], keyVal[1]));
    return DELETERequest;
  }

  /**
   * Put a file to a URI.
   * In a browser environment a file is represented via an input tag; the files are uploaded
   * via FormData using a PUT request.
   * In node environments the file is represented as a stream constructed via
   * fs.createReadStream('file.txt').
   *
   * @param {string} uri the URI to which we will put the file.
   * @param {data} data - input tag or stream that may for instance correspond to a file
   * in a nodejs setting.
   * @param {string} format the format to handle the response as, either text, xml, html or json
   * (json is default).
   * @returns {Promise} A thenable object
   */
  putFile(uri, data, format) {
    if (this.writeRateLimit) {
      return this.writeRateLimit.enqueue(this._putFile, this, [uri, data, format]);
    }
    return this._putFile(uri, data, format);
  }

  /**
   * @private
   * @see putFile
   */
  _putFile(uri, data, format) {
    if (data && data.constructor && data.constructor.pipeline) {
      return new Promise((resolve, reject) => {
        const upload = superagent__WEBPACK_IMPORTED_MODULE_12__.put(uri).timeout({
          response: this.timeout
        });
        const locHeaders = Object.assign({}, this.headers);
        if (format) {
          locHeaders['Content-Type'] = format;
        }
        Object.entries(locHeaders).map(keyVal => upload.set(keyVal[0], keyVal[1]));
        const req = upload.request();
        data.constructor.pipeline(data, req, err => {
          if (err) {
            upload.abort();
            return reject(err);
          }
          upload.end((err2, res) => {
            if (err2) return reject(err2);
            return resolve(res);
          });
        });
      });
    }
    return Promise.reject(new Error('Data parameter must be a readable stream'));
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SearchList.js"
/*!**********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SearchList.js ***!
  \**********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ SearchList)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _EntryStore_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EntryStore.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryStore.js");
/* harmony import */ var _List_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./List.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/List.js");
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");
/* harmony import */ var _Entry_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Entry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Entry.js");








/**
 * @exports store/SearchList
 */
class SearchList {
  /**
   * @param {EntryStore} entryStore
   * @param {Object} query
   * @param {string} callType parameter provided to asyncListeners on query execution,
   * assumed to be 'search' if left out
   */
  constructor(entryStore, query, callType) {
    this._entryStore = entryStore;
    this._query = query;
    this._callType = callType || 'search';
    this._sortedChildren = [];
  }

  /**
   * the query instance, e.g. an instance of SolrQuery, associated with this SearchList.
   * @returns {Object}
   */
  getQuery() {
    return this._query;
  }
  setLimit(limit) {
    this._query.limit(limit);
  }
  getLimit() {
    return this._query.getLimit() || _factory_js__WEBPACK_IMPORTED_MODULE_5__["default"].getDefaultLimit();
  }

  /**
   * Array of facets, each facet is an object which contains the following fields:
   *
   *  name       - the solr search field this facet corresponds to
   *  valueCount - the number of values this facet matches
   *  values     - an array of values matching this facet, with name and count each.
   *
   * In addition, when asking for facets for arbitrary predicates there is two additional fields:
   *
   *  predicate - the full URI of the predicate this facet corresponds to
   *  type - the type of the facet values, currently only literal, uri and integer are supported
   *
   * Note that you can ask for facets for solr fields like "tags", in this case the above two
   * fields will be not be present as the "tags" solr field corresponds to a mix of different
   * predicates and possibly different types.
   *
   * Here is an example of a facet for dcat:keyword:
   * {
   *   name:  "metadata.predicate.literal_s.a6424133",
   *   predicate: "http://www.w3.org/ns/dcat#keyword",
   *   type: "literal",
   *   valueCount: 3,
   *   values: [
   *      {name: "elektrictet", count: 1},
   *      {name: "finans", count: 1},
   *      {name: "skatt", count: 1}
   *   ]
   * }
   *
   * @return {Array} never null or undefined, may be an array of length 0 though.
   */
  getFacets() {
    return this.facets;
  }
  setFacets(facetFields) {
    if (!Array.isArray(facetFields) || facetFields.length === 0) {
      this.facets = [];
    } else {
      this.facets = facetFields;
      const f2p = this._query.facet2predicate;
      facetFields.forEach(ff => {
        if (f2p && f2p[ff.name]) {
          ff.predicate = f2p[ff.name];
        }
        if (ff.name.startsWith('metadata.predicate')) {
          ff.type = ff.name.split('.')[2];
        } else if (ff.name.startsWith('related.metadata.predicate')) {
          ff.type = ff.name.split('.')[3];
        }
      });
    }
  }

  /**
   *
   * Add an entry to the current search (result) list.
   * Utilizes the this._sortedChildren of the {@see List} for the actual entries in memory.
   *
   * @param {Entry} entry
   * @param {boolean} [first=true] add on top of the list
   * @return {SearchList}
   */
  addEntry(entry) {
    let first = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
    if (entry && !(entry instanceof _Entry_js__WEBPACK_IMPORTED_MODULE_6__["default"])) {
      return this;
    }
    const limit = this.getLimit();
    if (first) {
      this._sortedChildren.unshift(entry.getURI());
    } else {
      this._sortedChildren[this._size - 1] = entry.getURI(); // @todo perhaps there's no use case for this
    }
    this._size += 1; // increase list size

    return this;
  }

  /**
   * Remove an entry from the current search (result) list.
   * This can cause a request for the next page load in order to maintain a consistent number
   * of entries in memory (or rather in a front-end view)
   * Utilizes the this._sortedChildren of the {@see List} for the actual entries in memory.
   *
   * @param {Entry} entry
   * @return {Promise<SearchList>}
   */
  async removeEntry(entry) {
    if (!entry || entry && !(entry instanceof _Entry_js__WEBPACK_IMPORTED_MODULE_6__["default"])) {
      return this;
    }
    const limit = this.getLimit();
    if (this._sortedChildren.length === limit && this._sortedChildren.length < this._size) {
      const nextPageToLoad = this._sortedChildren.length / limit;
      try {
        await this.getEntries(nextPageToLoad);
      } catch (err) {
        console.warn(`Failed to load search list's next page ${nextPageToLoad}`);
        console.error(err);
      }
    }
    const sortedIndex = this._sortedChildren.indexOf(entry.getURI());
    if (sortedIndex !== -1) {
      this._sortedChildren.splice(sortedIndex, 1);
    }
    this._size -= 1; // decrease list size

    return this;
  }

  /**
   *
   * @param {number} [page=0]
   * @return {Promise}
   * @private
   */
  _forceLoadEntries() {
    let page = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
    const offset = page * this.getLimit();
    this._query.offset(offset);
    // Only prevent cache if we have turned on prevent request caching and are making a public search query.
    const preventCache = this._entryStore.getRequestCachePrevention() && this._query.params.get('public') === 'true';
    return this._entryStore.handleAsync(this._entryStore.getREST().get(this._query.getQuery(this._entryStore), undefined, undefined, undefined, preventCache).then(data => {
      this.setFacets(data.facetFields);
      return _factory_js__WEBPACK_IMPORTED_MODULE_5__["default"].extractSearchResults(data, this, this._entryStore);
    }), this._callType);
  }
}

/**
 * Get size of list.
 *
 * @returns {number} the amount of entries in the list, -1 if unknown.
 */
SearchList.prototype.getSize = _List_js__WEBPACK_IMPORTED_MODULE_4__["default"].prototype.getSize;

/**
 * Retrieves an array of entries contained in this list according to the current page and
 * pagination settings.
 *
 * @param {integer} page - the page to request an array of entries for, first page is numbered 0.
 * @returns {Promise.<Entry[]>} the promise will return an entry-array.
 * @method
 */
SearchList.prototype.getEntries = _List_js__WEBPACK_IMPORTED_MODULE_4__["default"].prototype.getEntries;

/**
 * Executes a callback on each list members in the order provided by the solr-search.
 * If the provided function return false for one entry the iteration is stopped and
 * the function is not called for consecutive matched entries.
 *
 * @param {Function} func
 * @returns {Promise}
 */
SearchList.prototype.forEach = _List_js__WEBPACK_IMPORTED_MODULE_4__["default"].prototype.forEach;

/**
 * Loops through with forEach and accumulates the entries in a single array.
 * Note! this might be memory intensive for large lists
 * @see forEach
 * @returns {Promise.<Entry[]>}
 */
SearchList.prototype.getAllEntries = _List_js__WEBPACK_IMPORTED_MODULE_4__["default"].prototype.getAllEntries;
SearchList.prototype._getEntries = _List_js__WEBPACK_IMPORTED_MODULE_4__["default"].prototype._getEntries;
SearchList.prototype._update = _List_js__WEBPACK_IMPORTED_MODULE_4__["default"].prototype._update;

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SolrQuery.js"
/*!*********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SolrQuery.js ***!
  \*********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ SolrQuery)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.ends-with.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.search.js");
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.trim.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var blueimp_md5__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! blueimp-md5 */ "./node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _SearchList_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SearchList.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SearchList.js");













const encodeStr = str => encodeURIComponent(str.replace(/:/g, '\\:').replace(/\(/g, '\\(').replace(/\)/g, '\\)'));
const shorten = predicate => blueimp_md5__WEBPACK_IMPORTED_MODULE_10__(_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(predicate)).substr(0, 8);
const ngramMaxLimit = 15;
const ngramMinLimit = 3;
const isNgram = key => key.indexOf('title') === 0 || key.indexOf('description') === 0 || key.indexOf('tag.literal') === 0 || key.indexOf('metadata.predicate.literal') === 0 && key.indexOf('metadata.predicate.literal_') !== 0 || key.indexOf('related.metadata.predicate.literal') === 0 && key.indexOf('related.metadata.predicate.literal_') !== 0;
const isExactMatch = key => key.indexOf('predicate.literal_s') > 0 || key.indexOf('predicate.literal') === -1;
const isDateKey = key => key === 'created' || key === 'modified' || key.indexOf('metadata.predicate.date') >= 0;
const isIntegerKey = key => key.indexOf('metadata.predicate.integer') >= 0;
const isRange = value => Array.isArray(value) ? value.find(v => v.match(/\[.+\sTO\s.+]/) !== null) != null : value.match(/\[.+\sTO\s.+]/) !== null;
const isText = key => key.indexOf('metadata.object.literal') >= 0 || key.indexOf('metadata.predicate.literal_t') >= 0;
const spaceTokenizerRegExp = /(?:\\\s|[^\s])+/g;

/**
 * Empty spaces in search term should be interpreted as AND instead of the default OR.
 * In addition, fields indexed as text_ngram will have to be shortened to the ngram max limit
 * as they will not match otherwise.
 *
 * @param key
 * @param term
 * @param isFacet
 * @return {*}
 */
const solrFriendly = (key, term, isFacet) => {
  let and = term.trim().replace(/\s\s+/g, ' ');
  let boost = '';
  if (and.indexOf('^') >= 0) {
    const andArr = and.split('^');
    and = andArr[0];
    boost = `^${andArr[1]}`;
  }
  if (isText(key) && isFacet !== true) {
    and = and.match(spaceTokenizerRegExp).map(encodeStr);
  } else if (isNgram(key) && isFacet !== true) {
    and = and.match(spaceTokenizerRegExp).map(t => t.length < ngramMaxLimit ? encodeStr(t) : encodeStr(t.substr(0, ngramMaxLimit))).map(t => t.length < ngramMinLimit && !t.endsWith('*') ? `${t}*` : t);
  } else if (isDateKey(key) || isIntegerKey(key) || isRange(and)) {
    and = Array.isArray(and) ? and : [and];
    and = and.map(v => v.replace(/\s+/g, '%20'));
  } else if (isExactMatch(key)) {
    const containsNoSpace = and.search(/\s/) === -1;
    const containsEscapedSpace = and.search(/\\\s/) !== -1;
    if (containsNoSpace || containsEscapedSpace) {
      and = [encodeStr(and)];
    } else {
      and = [`%22${encodeStr(and)}%22`];
    }
  } else {
    and = and.match(spaceTokenizerRegExp).map(t => encodeStr(t));
  }
  return and.length === 1 ? `${and[0]}${boost}` : `(${and.join(`${boost}+AND+`)}${boost})`;
};
const toDateRange = (from, to) => `[${from ? from.toISOString() : '*'} TO ${to ? to.toISOString() : '*'}]`;
const toRange = (from, to) => `[${from || '*'} TO ${to || '*'}]`;

/**
 *
 * @param struct
 * @param isAnd
 * @return {string}
 */
const buildQuery = (struct, isAnd) => {
  const terms = [];
  Object.keys(struct).forEach(key => {
    let val = struct[key];
    const valueIsArray = Array.isArray(val);
    if (valueIsArray || typeof val === 'string') {
      val = valueIsArray ? val.map(v => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(v)) : _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(val);
    }
    switch (key) {
      case 'not':
        terms.push(`NOT(${buildQuery(val, false)})`);
        break;
      case 'or':
        terms.push(buildQuery(val, false));
        break;
      case 'and':
        terms.push(buildQuery(val, true));
        break;
      default:
        if (typeof val === 'string') {
          terms.push(`${key}:${solrFriendly(key, val)}`);
        } else if (Array.isArray(val)) {
          const or = [];
          val.forEach(o => {
            or.push(`${key}:${solrFriendly(key, o)}`);
          });
          if (or.length > 1) {
            terms.push(`(${or.join('+OR+')})`);
          } else {
            terms.push(`${or.join('+OR+')}`);
          }
        } else if (typeof val === 'object') {
          // TODO
        }
    }
  });
  if (terms.length > 1) {
    return `(${terms.join(isAnd ? '+AND+' : '+OR+')})`;
  }
  return terms.join(`${isAnd ? '+AND+' : '+OR+'}`);
};

/**
 * The SolrQuery class provides a way to create a query by chaining method calls according to
 * the builder pattern. For example:
 *
 *     const sq = es.newSolrQuery().title("some title").rdfType("http://example.com/Person")
 *
 * The example yields a search for entries that have a title that contains "some title"
 * and a rdf:type of "http://example.com/Person" expressed in the metadata.
 * To execute the query you can either ask for a {@link SearchList} and then call
 * getEntries (or forEach):
 *
 *     const sl = sq.list();
 *     sl.getEntries().then((entryArr) => {// Do something })
 *
 * Or you use the abbreviated version where you just call getEntries directly (or forEach)
 * on the SolrQuery:
 *
 *     sq.getEntries()
 *
 * The majority of the methods work the same way, that is they take two values, a value and a
 * possible negation flag. The value can be an array corresponding to a disjunction and if the
 * flag is set true the search string will be constructed to search for the negation of the
 * provided value. For example, if a graph type in the form of an array containing List and User
 * is provided together with a negation boolean set to true, the query will search for anything
 * but lists and users:
 *
 *     sq.graphType([types.GT_LIST, types.GT_USER], true)
 *
 * Supported methods on the solr object correspond in large to the available solr fields
 * documented at, some method names are different to avoid dots:
 * {@link https://code.google.com/p/entrywiki/KnowledgeBaseSearch}
 *
 * There is also a special method ({@link SolrQuery#getQuery getQuery}) for getting the
 * query as a string that is used by EntryStore API behind the scenes, you can safely ignore
 * this method.
 *
 * @exports store/SolrQuery
 */
class SolrQuery {
  /**
   * @param {EntryStore} entrystore
   */
  constructor(entrystore) {
    this._entrystore = entrystore;
    this.properties = [];
    this.relatedProperties = [];
    /**
     *
     * @type {Map<string, *>}
     */
    this.params = new Map();
    /**
     *
     * @type {Map<string, any>}
     */
    this.modifiers = new Map();
    /**
     *
     * @type {Set<Object>}
     * @private
     */
    this._and = new Set();
    /**
     *
     * @type {Set<Object>}
     * @private
     */
    this._or = new Set();
    this.facetpredicates = {};
    this.relatedFacetpredicates = {};
    this.facetConfig = {};
  }

  /**
   *
   * @param key
   * @param val
   * @param modifier
   * @returns {SolrQuery}
   * @private
   */
  _q(key, val) {
    let modifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    this.params.set(key, val);
    if (modifier !== null) {
      this.modifiers.set(key, modifier);
    }
    return this;
  }

  /**
   * Matches the profile.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  profile(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('profile', val, modifier);
  }

  /**
   * Matches all titles in all languages, multivalued, cannot be sorted on.
   * Includes dc:title, dcterms:title, skos:prefLabel, skos:altLabel, skos:hiddenLabel,
   * rdfs:label, foaf:name.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  title(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('title', val, modifier);
  }

  /**
   * Matches all descriptions in all languages, multivalued, cannot be sorted on.
   * Includes dc:description, dcterms:description, rdfs:comment
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  description(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('description', val, modifier);
  }

  /**
   * Matches the username.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  username(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('username', val, modifier);
  }

  /**
   * Matches all tags literals in all languages, multivalued, cannot be sorted on.
   * Includes dc:subject, dcterms:subject, dcat:keyword and lom:keyword
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  tagLiteral(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('tag.literal', val, modifier);
  }

  /**
   * Matches all tag URIs, multivalued, cannot be sorted on.
   * Includes dc:subject, dcterms:subject
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  tagURI(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('tag.uri', val, modifier);
  }

  /**
   * Matches the language (as a literal) of the resource, single value, can be used for sorting?
   * Includes dc:language, dcterms:language
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  lang(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('lang', val, modifier);
  }

  /**
   * Matches title, description and tags, multivalue, cannot be sorted on.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  all(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('all', val, modifier);
  }

  /**
   * Matches all URIs in subject position in the metadata, except the resourceURI.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  subject(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('metadata.subject', val, modifier);
  }

  /**
   * Matches all URIs in predicate position in the metadata.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  predicate(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('metadata.predicate', val, modifier);
  }

  /**
   * Matches all literals in object position in the metadata.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  objectLiteral(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('metadata.object.literal', val, modifier);
  }

  /**
   * Matches all URIs in object position in the metadata.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  objectUri(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('metadata.object.uri', val, modifier);
  }

  /**
   * Matches the resourceURI of the entry.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  resource(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('resource', val, modifier);
  }

  /**
   * Matches the entryURI of the entry.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  uri(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('uri', val, modifier);
  }

  /**
   * Matches all types of the resourceURI, i.e.
   * all URIs pointed to via rdf:type from the resourceURI.
   *
   * @param {string|array} rdfType
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  rdfType(rdfType) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    if (Array.isArray(rdfType)) {
      return this._q('rdfType', rdfType.map(t => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(t)), modifier);
    }
    return this._q('rdfType', _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(rdfType), modifier);
  }

  /**
   * Matches all creators (in the entry information graph) expressed via their resourceURIs.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  creator(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('creator', val, modifier);
  }

  /**
   * Matches all contributors (in the entry information graph) expressed via their resourceURIs.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  contributors(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('contributors', val, modifier);
  }

  /**
   * Matches all project types expressed via their URIs.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  projectType(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('projectType', val, modifier);
  }

  /**
   * Matches only entries that are part of the given lists, identified via their resourceURIs.
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  lists(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('lists', val, modifier);
  }

  /**
   * Matches entries that are created at a specific date or in a range.
   * Ranges must be given as strings as [2010-01-01T00:00:00Z TO *].
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  created(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('created', val, modifier);
  }

  /**
   * Utility function to create a range expression for the created function.
   *
   * @param {Date} from - no lower range restriction if undefined or null is passed
   * @param {Date} to - no upper range restriction if undefined or null is passed
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  createdRange(from, to) {
    let modifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    return this._q('created', toDateRange(from, to), modifier);
  }

  /**
   * Matches entries that are modified at a specific date or in a range.
   * Ranges are given as strings as [2010-01-01T00:00:00Z TO *].
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  modified(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('modified', val, modifier);
  }

  /**
   * Utility function to create a range expression for the modified function.
    *
   * @param {Date} from - no lower range restriction if undefined or null is passed
   * @param {Date} to - no upper range restriction if undefined or null is passed
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  modifiedRange(from, to) {
    let modifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    return this._q('modified', toDateRange(from, to), modifier);
  }

  /**
   * Matches entries with the given entry type, use the values in {@link types}, e.g.
   * sq.entryType(types.ET_LINK).
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  entryType(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('entryType', val, modifier);
  }

  /**
   * Matches entries with the given graph type, use the values in {@link types}, e.g.
   * sq.entryType(types.GT_USER).
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  graphType(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('graphType', val, modifier);
  }

  /**
   * Matches entries with the given resource type, use the values in {@link types}, e.g.
   * sq.entryType(types.RT_INFORMATIONRESOURCE).
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  resourceType(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('resourceType', val, modifier);
  }

  /**
   * Matches only public entries. Warning, individual entrys public flag is inherited from
   * surrounding context and if the context ACL is updated the entrys are not reindexed
   * automatically. Hence, this flag may be incorrect.
   *
   * @param {true|false} isPublic
   * @return {SolrQuery}
   */
  publicRead() {
    let isPublic = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
    return this._q('public', isPublic === true ? 'true' : 'false');
  }

  /**
   * Matches only entries with explicitly ACL stating user(s) has admin rights
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  admin(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('acl.admin', val, modifier);
  }

  /**
   * Matches only entries with explicitly ACL stating user(s) has metadata read rights
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  metadataRead(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('acl.metadata.r', val, modifier);
  }

  /**
   * Matches only entries with explicitly ACL stating user(s) has metadata write (and read) rights
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  metadataWrite(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('acl.metadata.rw', val, modifier);
  }

  /**
   * Matches only entries with explicitly ACL stating user(s) has resource read rights
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  resourceRead(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('acl.resource.r', val, modifier);
  }

  /**
   * Matches only entries with explicitly ACL stating user(s) has resource write (and read) rights
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  resourceWrite(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('acl.resource.rw', val, modifier);
  }

  /**
   * Matches entries with with specific status (expressed in entry information graph)
   *
   * @param {string|array} val
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  status(val) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    return this._q('status', val, modifier);
  }

  /**
   * Matches only entries within specified context(s)
   *
   * @param {string|Context} context either a contextId, the resourceURI for a
   +     * context, a Context instance or an array containing any of those. In case of a
   +     * string, either directly or within the array and it starts with 'http' it is assumed it is
   +     * the resourceURI of the context, otherwise the context is assumed to be a contextId.
   * @param {true|false|string} modifier
   * @return {SolrQuery}
   */
  context(context) {
    let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    const f = c => {
      if (c && c.getResourceURI) {
        return c.getResourceURI();
      } else if (typeof c === 'string' && c !== '') {
        if (c.indexOf('http') === 0) {
          return c;
        }
        return this._entrystore.getContextById(c).getResourceURI();
      }
      return null;
    };
    if (Array.isArray(context)) {
      const resourceURIArr = context.map(f).filter(v => v !== null);
      if (resourceURIArr.length > 0) {
        this._q('context', resourceURIArr, modifier);
      }
    } else {
      const resourceURI = f(context);
      if (resourceURI !== null) {
        return this._q('context', resourceURI, modifier);
      }
    }
    return this;
  }

  /**
   * Provide a query in the form of an object structure where the toplevel attributes
   * are disjunctive (OR:ed together). The following example will query for things that
   * are typed as vedgetables AND have the word 'tomato' in either the title OR description:
   * query.rdfType('ex:Vedgetable).or({
   *   title: 'tomato',
   *   description: 'tomato'
   * });
   *
   * Note, the name of the method ('or') does not refers to how the object structure is
   * combined with the rest of the query, only how the inner parts of the object structure
   * is combined. To change the toplevel behaviour of the query from an and to an or,
   * use the disjunctive method.
   *
   * @param {Object} structure
   * @return {SolrQuery}
   */
  or(structure) {
    this._or.add(structure);
    return this;
  }

  /**
   * Provide a query in the form of an object structure where the toplevel attributes
   * are conjunctive (AND:ed together). The following example will query for things that
   * are typed as vedgetables OR typed as fruit AND has a title that contains the word 'orange':
   * query.disjunctive().rdfType('ex:Vedgetable).and({
   *   rdfType: 'ex:Fruit',
   *   title: 'Orange',
   * });
   *
   * Note, the name of the method ('and') does not refers to how the object structure is
   * combined with the rest of the query, only how the inner parts of the object structure
   * is combined. In this example we have change the toplevel behaviour of the query to
   * become disjunctive (being OR:ed together), this is to make the query more representative
   * since there is no need for the grouping of the object structure otherwise.
   *
   * @param {Object} structure
   * @return {SolrQuery}
   */
  and(structure) {
    this._and.add(structure);
    return this;
  }

  /**
   * @deprecated
   */
  //eslint-disable-next-line
  title_lang(title, language) {}

  /**
   * If a title has a language set, a dynamic field is created with the pattern "title.en",
   * without multi value support. This is used in the context of sorting.
   * @param title {String} the title to search for
   * @param language {String} the language of the title for instance "en".
   * @return {SolrQuery}
   */
  titleWithLanguage(title, language) {
    this._title_lang = {
      value: title,
      language
    };
    return this;
  }

  /**
   * Matches specific property value combinations.
   *
   * @param {string} predicate
   * @param {string|array} object
   * @param {true|false|string} modifier
   * @param {text|string} [indexType=ngram] 'ngram' corresponds to partial string
   * matching, 'string' corresponds to exact string matching and 'text' corresponds to word matching.
   * @param {boolean} [related=false] will search in related properties if true, default is false
   * @return {SolrQuery}
   */
  literalProperty(predicate, object, modifier) {
    let indexType = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'ngram';
    let related = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
    const key = shorten(predicate);
    let nodetype;
    switch (indexType) {
      case 'text':
        nodetype = 'literal_t';
        break;
      case 'string':
        nodetype = 'literal_s';
        break;
      case 'ngram':
      default:
        nodetype = 'literal';
    }
    (related ? this.relatedProperties : this.properties).push({
      md5: key,
      pred: predicate,
      object,
      modifier,
      nodetype
    });
    return this;
  }

  /**
   * Utility function for creating a range for literalProperty.
   *
   * @param {string} predicate
   * @param {string} from
   * @param {string} to
   * @param {true|false|string} modifier
   * @param {boolean} [related=false] will search in related properties if true, default is false
   * @return {SolrQuery}
   */
  literalPropertyRange(predicate, from, to, modifier) {
    let related = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
    return this.literalProperty(predicate, toRange(from, to), modifier, 'string', related);
  }

  /**
   * Matches specific property value combinations when the value is an integer.
   * Note that the integer values are single value per property and can be used for sorting.
   * Ranges are allowed as strings, for instance [0 TO 100] or [0 TO *] for all positive integers.
   *
   * @param {string} predicate
   * @param {string|array} object
   * @param {true|false|string} modifier
   * @param {boolean} related - will search in related properties if true, default is false
   * @return {SolrQuery}
   */
  integerProperty(predicate, object, modifier) {
    let related = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    const key = shorten(predicate);
    (related ? this.relatedProperties : this.properties).push({
      md5: key,
      pred: predicate,
      object,
      modifier,
      nodetype: 'integer'
    });
    return this;
  }

  /**
   * Utility function for creating a integer range for integerProperty.
   *
   * @param {string} predicate
   * @param {string|number} from - if undefined no lower bound will be created, corresponds to *
   * @param {string|number} to - if undefined no upper bound will be created, corresponds to *
   * @param {boolean} related - will search in related properties if true, default is false
   * @return {SolrQuery}
   */
  integerPropertyRange(predicate, from, to, modifier) {
    let related = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
    return this.integerProperty(predicate, toRange(from, to), modifier, related);
  }

  /**
   * Matches specific property value combinations when the value is an integer.
   * Note that the integer values are single value per property and can be used for sorting.
   * Ranges are allowed as strings, for instance [* TO 2010-01-01T00:00:00Z].
   *
   * @param {string} predicate
   * @param {string|array} object
   * @param {true|false|string} modifier
   * @param {boolean} related - will search in related properties if true, default is false
   * @return {SolrQuery}
   */
  dateProperty(predicate, object, modifier) {
    let related = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    const key = shorten(predicate);
    (related ? this.relatedProperties : this.properties).push({
      md5: key,
      pred: predicate,
      object,
      modifier,
      nodetype: 'date'
    });
    return this;
  }

  /**
   * Utility function for creating a date range for dateProperty.
   *
   * @param {string} predicate
   * @param {Date} from
   * @param {Date} to
   * @param {true|false|string} modifier
   * @param {boolean} related - will search in related properties if true, default is false
   * @return {SolrQuery}
   */
  datePropertyRange(predicate, from, to, modifier) {
    let related = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
    return this.dateProperty(predicate, toDateRange(from, to), modifier, related);
  }

  /**
   * Matches specific property value combinations when the value is an uri.
   *
   * @param {string} predicate
   * @param {string|array} object
   * @param {true|false|string} modifier
   * @param {boolean} related - will search in related properties if true, default is false
   * @return {SolrQuery}
   */
  uriProperty(predicate, object, modifier) {
    let related = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    const key = shorten(predicate);
    (related ? this.relatedProperties : this.properties).push({
      md5: key,
      pred: predicate,
      object: Array.isArray(object) ? object.map(o => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(o)) : _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(object),
      modifier,
      nodetype: 'uri'
    });
    return this;
  }

  /**
   * Sets the pagination limit.
   *
   * @param {string|number} limit
   * @return {SolrQuery}
   */
  limit(limit) {
    this._limit = limit;
    return this;
  }

  /**
   * Gets the pagination limit if it set.
   *
   * @return {string|number}
   */
  getLimit() {
    return this._limit;
  }

  /**
   * The parameter "sort" can be used for Solr-style sorting, e.g. "sort=title+asc,modified+desc".
   * The default sorting value is to sort after the score (relevancy) and the modification date.
   * All string and non-multi value fields can be used for sorting, this basically excludes title,
   * description and keywords,
   * but allows sorting after e.g. title.en.
   * If no sort is explicitly given the default sort string used is "score+asc".
   * @param sort {String} a list of fields together with '+asc' or '+desc', first field has the
   * highest priority when sorting.
   * @return {SolrQuery}
   */
  sort(sort) {
    this._sort = sort;
    return this;
  }

  /**
   * Set an explicit offset.
   *
   * @param {string|number} offset
   * @return {SolrQuery}
   */
  offset(offset) {
    this._offset = offset;
    return this;
  }

  /**
   * @private
   * @param {string} facet
   * @param {string} predicate
   * @param {boolean} [related=false]
   * @return {SolrQuery}
   */
  facet(facet, predicate) {
    let related = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
    this.facets = this.facets || [];
    if (predicate) {
      this.facet2predicate = this.facet2predicate || {};
      this.facet2predicate[facet] = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_11__.namespaces.expand(predicate);
      if (related) {
        this.relatedFacetpredicates[predicate] = true;
      } else {
        this.facetpredicates[predicate] = true;
      }
    }
    this.facets.push(facet);
    return this;
  }

  /**
   * Request to include literal facets for the given predicate
   * @param {string} predicate
   * @param {boolean} [related=false] whether the facet is on the related predicates, default is false
   * @return {SolrQuery}
   */
  literalFacet(predicate) {
    let related = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    this.facet(`${related ? 'related.' : ''}metadata.predicate.literal_s.${shorten(predicate)}`, predicate, related);
    return this;
  }

  /**
   * Request to include URI facets for the given predicate
   * @param {string} predicate
   * @param {boolean} [related=false] whether the facet is on the related predicates, default is false
   * @return {SolrQuery}
   */
  uriFacet(predicate) {
    let related = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    this.facet(`${related ? 'related.' : ''}metadata.predicate.uri.${shorten(predicate)}`, predicate, related);
    return this;
  }

  /**
   * Request to include integer facets for the given predicate
   * @param {string} predicate
   * @param {boolean} [related=false] whether the facet is on the related predicates, default is false
   * @return {SolrQuery}
   */
  integerFacet(predicate) {
    let related = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    this.facet(`${related ? 'related.' : ''}metadata.predicate.integer.${shorten(predicate)}`, predicate, related);
    return this;
  }

  /**
   * The maximum amount of facet results to be report on. Default is 100, values up to 1000 is allowed.
   * @param {integer} limit maximum number of facet results to return per facet.
   */
  facetLimit(limit) {
    this.facetConfig.facetLimit = limit;
  }

  /**
   * The minimum amount of facet results to be included in the response. Default is 1.
   * @param {integer} limit minumum amount of facet results, facets with fewer results will be omitted in the response.
   */
  facetMinCount(limit) {
    this.facetConfig.facetMinCount = limit;
  }

  /**
   * If matches with no match against a facet should be reported as well.
   * @param {boolean} include true if they should be reported.
   */
  facetMissing(include) {
    this.facetConfig.facetMissing = include;
  }

  /**
   * Tell the query construction to make the fields added via the property methods
   * (uriProperty, literalProperty and integerProperty) to be disjunctive rather than
   * conjunctive. For example:
   *
   *     es.newSolrQuery().disjunctiveProperties().literalProperty("dcterms:title", "banana")
   *          .uriProperty("dcterms:subject", "ex:Banana");
   *
   * Will search for entries that have either a "banana" in the title or a relation to
   * ex:Banana via dcterms:subject. The default, without disjunctiveProperties being called
   * is to create a conjunction, i.e. AND them together.
   *
   * @return {SolrQuery}
   */
  disjunctiveProperties() {
    this._disjunctiveProperties = true;
    return this;
  }

  /**
   * Tell the query construction to make top level fields disjunctive rather than
   * conjunctive. For example
   *
   *     es.newSolrQuery().disjunctive().title("banana").description("tomato")
   *
   * Will search for entries that have either a "banana" in the title or "tomato" in the
   * description rather than entries that have both which is the default.
   *
   * @return {SolrQuery}
   */
  disjunctive() {
    this._disjunctive = true;
    return this;
  }

  /**
   * Construct a SearchList fro this SolrQuery.
   *
   * @param asyncCallType
   * @returns {SearchList}
   */
  list(asyncCallType) {
    return new _SearchList_js__WEBPACK_IMPORTED_MODULE_12__["default"](this._entrystore, this, asyncCallType);
  }

  /**
   * Produces the actual query to the EntryStore API.
   * @return {string}
   * @protected
   */
  getQuery() {
    const and = [];
    if (this._title_lang != null) {
      and.push(`title.${this._title_lang.lang}:${solrFriendly(this._title_lang.lang, this._title_lang.value)}`);
    }
    this.params.forEach((v, key) => {
      const modifier = this.modifiers.get(key);
      if (typeof v === 'string' && v !== '') {
        if (modifier === true || modifier === 'not') {
          and.push(`NOT(${key}:${solrFriendly(key, v)})`);
        } else {
          and.push(`${key}:${solrFriendly(key, v)}`);
        }
      } else if (Array.isArray(v) && v.length > 0) {
        const or = [];
        v.forEach(ov => {
          if (typeof ov === 'string') {
            or.push(`${key}:${solrFriendly(key, ov)}`);
          }
        });
        if (modifier === true || modifier === 'not') {
          and.push(`NOT(${or.join('+OR+')})`);
        } else if (modifier === 'and') {
          and.push(`(${or.join('+AND+')})`);
        } else {
          and.push(`(${or.join('+OR+')})`);
        }
      }
    });
    if (this.relatedProperties.length > 0) {
      const or = [];
      this.relatedProperties.forEach(prop => {
        const obj = prop.object;
        const key = `related.metadata.predicate.${prop.nodetype}.${prop.md5}`;
        if (typeof obj === 'string') {
          or.push(`${key}:${solrFriendly(key, obj, this.relatedFacetpredicates[prop.pred])}`);
        } else if (Array.isArray(obj) && obj.length > 0) {
          obj.forEach(o => {
            or.push(`${key}:${solrFriendly(key, o, this.relatedFacetpredicates[prop.pred])}`);
          });
        }
      });
      and.push(`(${or.join('+OR+')})`);
    }
    if (this._disjunctiveProperties || this._disjunctive) {
      const or = [];
      this.properties.forEach(prop => {
        const obj = prop.object;
        const key = `metadata.predicate.${prop.nodetype}.${prop.md5}`;
        if (typeof obj === 'string') {
          or.push(`${key}:${solrFriendly(key, obj, this.facetpredicates[prop.pred])}`);
        } else if (Array.isArray(obj) && obj.length > 0) {
          obj.forEach(o => {
            or.push(`${key}:${solrFriendly(key, o, this.facetpredicates[prop.pred])}`);
          });
        }
      });
      if (or.length > 0) {
        and.push(`(${or.join('+OR+')})`);
      }
    } else {
      this.properties.forEach(prop => {
        const obj = prop.object;
        const key = `metadata.predicate.${prop.nodetype}.${prop.md5}`;
        if (typeof obj === 'string') {
          if (prop.modifier === true || prop.modifier === 'not') {
            and.push(`NOT(${key}:${solrFriendly(key, obj, this.facetpredicates[prop.pred])})`);
          } else {
            and.push(`${key}:${solrFriendly(key, obj, this.facetpredicates[prop.pred])}`);
          }
        } else if (Array.isArray(obj) && obj.length > 0) {
          const or = [];
          obj.forEach(o => {
            or.push(`${key}:${solrFriendly(key, o, this.facetpredicates[prop.pred])}`);
          }, this);
          if (prop.modifier === true || prop.modifier === 'not') {
            and.push(`NOT(${or.join('+OR+')})`);
          } else if (prop.modifier === 'and') {
            and.push(`(${or.join('+AND+')})`);
          } else {
            and.push(`(${or.join('+OR+')})`);
          }
        }
      }, this);
    }
    this._and.forEach(struct => {
      and.push(buildQuery(struct, true));
    });
    this._or.forEach(struct => {
      and.push(buildQuery(struct, false));
    });
    let trail = '';
    if (this._limit != null) {
      trail = `&limit=${this._limit}`;
    }
    if (this._offset) {
      trail = `${trail}&offset=${this._offset}`;
    }
    if (this._sort) {
      trail = `${trail}&sort=${this._sort || 'score+asc'}`;
    }
    if (this.facets) {
      trail += `&facetFields=${this.facets.join(',')}`;
    }
    if (this.facetConfig.facetLimit !== undefined) {
      trail += `&facetLimit=${this.facetConfig.facetLimit}`;
    }
    if (this.facetConfig.facetMinCount !== undefined) {
      trail += `&facetMinCount=${this.facetConfig.facetMinCount}`;
    }
    if (this.facetConfig.facetMissing === true) {
      trail += `&facetMissing=true`;
    }
    return `${this._entrystore.getBaseURI()}search?type=solr&query=${and.join(this._disjunctive ? '+OR' : '+AND+')}${trail}`;
  }

  /**
   * @param page
   * @returns {Promise.<Array.<Entry>>} the promise will return an entry-array.
   * @see {List.getEntries}
   */
  getEntries(page) {
    return this.list().getEntries(page);
  }

  /**
   * Finds a single entry for the current query (sets the limit to 1).
   * @returns {Promise<Entry>}
   */
  async getEntry() {
    this.limit(1);
    const entries = await this.getEntries(0);
    return entries[0];
  }

  /**
   * @param func
   * @return {promise}
   * @see {List.forEach}
   */
  forEach(func) {
    return this.list().forEach(func);
  }

  /**
   * Executes the query with limit 0 and returns the number of matches for the current query.
   *
   * @returns {Promise<number>}
   */
  async size() {
    this.limit(0);
    const list = this.list();
    await list.getEntries();
    return list.getSize();
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/String.js"
/*!******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/String.js ***!
  \******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ StringResource)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");



/**
 * String is a resource for handling simple strings of data.
 *
 * @exports store/String
 */
class StringResource extends _Resource_js__WEBPACK_IMPORTED_MODULE_1__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   * @param {string} data - the actual string, may the empty string, but not null or undefined.
   */
  constructor(entryURI, resourceURI, entryStore, data) {
    super(entryURI, resourceURI, entryStore); // Call the super constructor.
    this._data = data;
  }

  /**
   * @returns {string} may be an empty string, never null or undefined.
   */
  getString() {
    return this._data;
  }

  /**
   * Set a new string, does not save it to the repository, use commit for that. E.g.
   *
   *     stringresource.setString("New value").commit().then(function() {...});
   *
   * @param {string} string - the new string
   * @returns {StringResource} allows chaining with commit.
   * @see String#commit
   */
  setString(string) {
    this._data = string || '';
    return this;
  }

  /**
   * Pushes the string back to the repository.
   *
   * @returns {Promise}
   * @see String#setString
   */
  async commit() {
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const promise = es.getREST().put(this._resourceURI, this._data);
    es.handleAsync(promise, 'commitString');
    const response = await promise;
    entry.getEntryInfo().setModificationDate(response.header['last-modified']);
    return response;
  }
  getSource() {
    return this._data;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/User.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/User.js ***!
  \****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ User)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");




/**
 * User instances are resources corresponding to users that can be authenticated to access
 * the EntryStore repository. The user resource URI can be referred to from access control lists.
 *
 * @exports store/User
 */
class User extends _Resource_js__WEBPACK_IMPORTED_MODULE_2__["default"] {
  /**
   * @param {string} entryURI - URI to an entry where this resource is contained.
   * @param {string} resourceURI - URI to the resource.
   * @param {EntryStore} entryStore - the API's repository instance.
   * @param {Object} data - information about the user, e.g. object with name and homecontext.
   */
  constructor(entryURI, resourceURI, entryStore, data) {
    super(entryURI, resourceURI, entryStore);
    this._data = data;
  }

  /**
   * Get the name of the user, this is a a unique name (username) in the current repository's
   * _principals context.
   * @returns {string}
   */
  getName() {
    return this._data.name;
  }

  /**
   * Set a new name (username), it will not succeed if it is already in use, for instance by
   * another user or group.
   * @param {string} name
   * @returns {Promise}
   */
  async setName(name) {
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const oldName = this._data.name;
    this._data.name = name;
    const promise = es.getREST().put(this._resourceURI, JSON.stringify({
      name
    }));
    es.handleAsync(promise, 'setUserName');
    try {
      const response = await promise;
      entry.getEntryInfo()._name = name;
      entry.getEntryInfo().setModificationDate(response.header['last-modified']);
      return response;
    } catch (err) {
      this._data.name = oldName;
      throw e;
    }
  }

  /**
   * Get the preferred language of the user.
   * @returns {string}
   */
  getLanguage() {
    return this._data.language;
  }

  /**
   * Sets the preferred language of a user.
   * @param {string} language
   * @returns {Promise}
   */
  async setLanguage(language) {
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const oldLang = this._data.language;
    this._data.language = language;
    const promise = es.getREST().put(this._resourceURI, JSON.stringify({
      language
    }));
    es.handleAsync(promise, 'setUserLanguage');
    try {
      const response = await promise;
      entry.getEntryInfo().setModificationDate(response.header['last-modified']);
      return response;
    } catch (err) {
      this._data.language = oldLang;
      throw e;
    }
  }

  /**
   * Set a new password for the user.
   *
   * @param {string} newPassword - a new password, should be at least 8 characters long.
   * @param {string|undefined} currentPassword - the current password, may be required depending on EntryStore configuration.
   * @returns {Promise}
   */
  async setPassword(newPassword, currentPassword) {
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const obj = {
      password: newPassword
    };
    if (currentPassword) {
      obj.currentPassword = currentPassword;
    }
    const promise = es.getREST().put(this._resourceURI, JSON.stringify(obj));
    es.handleAsync(promise, 'setUserPassword');
    const response = await promise;
    entry.getEntryInfo().setModificationDate(response.header['last-modified']);
    return response;
  }

  /**
   * Check if the user is disabled. Disabled users cannot sign in, although they still exist
   * for lookup, e.g. when presenting creators and contributors.
   * @returns {boolean}
   */
  isDisabled() {
    return this._data.disabled === true;
  }

  /**
   * Set the user to be disabled or not.
   * @param {boolean} disabled
   * @returns {Promise}
   */
  async setDisabled(disabled) {
    if (disabled === this.isDisabled()) {
      return true;
    }
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const oldDisabled = this._data.disabled === true;
    this._data.disabled = disabled;
    const promise = es.getREST().put(this._resourceURI, JSON.stringify({
      disabled
    }));
    es.handleAsync(promise, 'setUserDisabled');
    try {
      const response = await promise;
      entry.getEntryInfo()._disabled = disabled;
      entry.getEntryInfo().setModificationDate(response.header['last-modified']);
      return response;
    } catch (err) {
      this._data.disabled = oldDisabled;
      throw e;
    }
  }

  /**
   * Get the home context for this user.
   *
   * @returns {string} - a context id (not the full resource URI).
   */
  getHomeContext() {
    return this._data.homecontext;
  }

  /**
   * Set a new home context for this user.
   *
   * @param {string} contextId - a context id (not the full resource URI).
   * @returns {Promise}
   */
  async setHomeContext(contextId) {
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const oldHomeContext = this._data.homecontext;
    this._data.homecontext = contextId;
    const promise = es.getREST().put(this._resourceURI, JSON.stringify({
      homecontext: contextId
    }));
    es.handleAsync(promise, 'setUserHomeContext');
    try {
      const response = await promise;
      entry.getEntryInfo().setModificationDate(response.header['last-modified']);
      return response;
    } catch (err) {
      this._data.homecontext = oldHomeContext;
      throw e;
    }
  }

  /**
   * Get custom properties.
   *
   * @returns {object} - key value pairs of custom properties.
   */
  getCustomProperties() {
    return this._data.customProperties || {};
  }

  /**
   * Set a new home context for this user.
   *
   * @param {object} customProperties
   * @returns {Promise}
   */
  async setCustomProperties(customProperties) {
    const es = this.getEntryStore();
    const entry = await this.getEntry();
    const oldCustomProperties = this._data.customProperties;
    // Make a copy of the custom properties to make sure we only send strings as values.
    const cp = {};
    Object.keys(customProperties).forEach(key => cp[key] = `${customProperties[key]}`);
    this._data.customProperties = cp;
    const promise = this._entryStore.getREST().put(this._resourceURI, JSON.stringify({
      customProperties: cp
    }));
    es.handleAsync(promise, 'setUserCustomProperties');
    try {
      const response = await promise;
      entry.getEntryInfo().setModificationDate(response.header['last-modified']);
      return response;
    } catch (err) {
      this._data.customProperties = oldCustomProperties;
      throw e;
    }
  }

  /**
   *
   * @return {Object}
   */
  getSource() {
    return this._data;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js ***!
  \*******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _Context_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Context.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Context.js");
/* harmony import */ var _Entry_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Entry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Entry.js");
/* harmony import */ var _EntryInfo_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./EntryInfo.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryInfo.js");
/* harmony import */ var _File_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./File.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/File.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Graph.js");
/* harmony import */ var _Group_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Group.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Group.js");
/* harmony import */ var _List_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./List.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/List.js");
/* harmony import */ var _Pipeline_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Pipeline.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Pipeline.js");
/* harmony import */ var _SearchList_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./SearchList.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SearchList.js");
/* harmony import */ var _String_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./String.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/String.js");
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./types.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js");
/* harmony import */ var _User_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./User.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/User.js");


















/**
 * This module contains utility methods that encapsulates EntryStores REST layer from the rest
 * of the code. It is intended to be used internally by the EntryStore.js API,
 * not by application developers.
 *
 * Hence, **you should avoid using factory methods directly in application code as there are
 * most probably other ways to achieve the same thing. Most likely by using method in
 * {@link EntryStore}!**
 *
 * The utility methods are currently not visible as they are not documented yet.
 * (The methods cannot be marked as private as they need to be used throughout the API.)
 *
 * @exports store/factory
 * @namespace
 */

let sortObj = {
  sortBy: 'title',
  prio: 'List'
};
let defaultLimit = 50;

/**
 *
 * @param entryURI
 * @param entryStore
 * @returns {*}
 */
const getContextForEntry = (entryURI, entryStore) => {
  const baseURI = entryStore.getBaseURI();
  const contextId = entryURI.substr(baseURI.length, entryURI.indexOf('/', baseURI.length) - baseURI.length);
  const contexts = entryStore.getCachedContextsIdx();
  let context = contexts[contextId];
  if (!context) {
    context = new _Context_js__WEBPACK_IMPORTED_MODULE_5__["default"](`${baseURI}_contexts/entry/${contextId}`, baseURI + contextId, entryStore);
    contexts[contextId] = context;
  }
  return context;
};

/**
 *
 * @param rights
 */
const transformRights = rights => {
  const o = {};
  const r = rights || [];
  for (let n = 0; n < r.length; n++) {
    o[r[n]] = true;
  }
  return o;
};

/**
 *
 * @param resObj
 * @param data
 */
const fixNameAndDisabled = (resObj, data) => {
  const {
    resource
  } = data;
  // Special case of searches and similar when name is provided but not full resource.
  if (resObj != null) {
    if (resource && typeof resource.name === 'string') {
      if (resObj instanceof _User_js__WEBPACK_IMPORTED_MODULE_16__["default"]) {
        resObj._data = resObj._data || {};
        resObj._data.name = resource.name;
      } else {
        // Context and Group
        resObj._name = resource.name;
      }
    }
    if (resObj instanceof _User_js__WEBPACK_IMPORTED_MODULE_16__["default"]) {
      resObj._data = resObj._data || {};
      if (resource && typeof resource.disabled === 'boolean') {
        resObj._data.disabled = resource.disabled;
      }
    }
  }
};

/**
 *
 * @param entry
 * @param data
 * @param force
 * @private
 */
const _updateOrCreateResource = (entry, data, force) => {
  const _data = data || {};
  let resource = entry.getResource(true);
  const uri = entry.getURI();
  const ruri = entry.getResourceURI();
  const cruri = entry.getContext().getResourceURI();
  const es = entry.getEntryStore();
  const ei = entry.getEntryInfo();
  if (!resource && ei.getEntryType() === _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].ET_LOCAL && ei.getResourceType() === _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].RT_INFORMATIONRESOURCE) {
    switch (entry.getEntryInfo().getGraphType()) {
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_CONTEXT:
        // Synchronous resource, asynchronous methods.
        // Dummy URL to find the right context.
        resource = getContextForEntry(`${es.getBaseURI() + entry.getId()}/`, entry.getEntryStore());
        resource._update(_data);
        break;
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_LIST: // Synchronous resource, asynchronous methods.
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_GROUP:
        // Synchronous resource, asynchronous methods.
        if (entry.isGroup()) {
          resource = new _Group_js__WEBPACK_IMPORTED_MODULE_10__["default"](uri, ruri, es);
        } else {
          resource = new _List_js__WEBPACK_IMPORTED_MODULE_11__["default"](uri, ruri, es);
        }
        if (_data.resource && _data.resource.children) {
          resource._update(_data.resource, _data.resource.children.map(child => updateOrCreate(`${cruri}/entry/${child.entryId}`, child, es)));
        }
        break;
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_USER:
        // Asynchronous resource, synchronous getters.
        if (force || _data.resource != null) {
          resource = new _User_js__WEBPACK_IMPORTED_MODULE_16__["default"](uri, ruri, es, _data.resource || {});
        }
        break;
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_STRING:
        if (force || _data.resource != null) {
          resource = new _String_js__WEBPACK_IMPORTED_MODULE_14__["default"](uri, ruri, es, _data.resource || '');
        }
        break;
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_GRAPH:
        // Sync or Async?
        if (force || _data.resource != null) {
          resource = new _Graph_js__WEBPACK_IMPORTED_MODULE_9__["default"](uri, ruri, es, _data.resource || {});
        }
        break;
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_PIPELINE:
        // Sync or Async?
        if (force || _data.resource != null) {
          resource = new _Pipeline_js__WEBPACK_IMPORTED_MODULE_12__["default"](uri, ruri, es, _data.resource || {});
        }
        break;
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_PIPELINERESULT: // If local, Pipelineresult resource is a file.
      case _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_NONE:
        // Uploaded file.
        resource = new _File_js__WEBPACK_IMPORTED_MODULE_8__["default"](uri, ruri, es);
        break;
      default:
    }
    entry._resource = resource;
    fixNameAndDisabled(resource, _data);
    return;
  }
  if (resource == null || _data.resource == null) {
    fixNameAndDisabled(resource, _data);
    return;
  }
  if (resource._update) {
    if (entry.isList() || entry.isGroup()) {
      if (_data.resource && _data.resource.children) {
        resource._update(_data.resource, _data.resource.children.map(child => updateOrCreate(`${cruri}/entry/${child.entryId}`, child, entry.getEntryStore())));
      }
    } else {
      resource._update(_data.resource);
    }
  }
};

/**
 *
 * @param entry
 * @param data
 * @returns {*}
 * @private
 */
const _updateEntry = (entry, data) => {
  entry._metadata = data.metadata ? new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data.metadata) : null;
  entry._cachedExternalMetadata = data['cached-external-metadata'] ? new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data['cached-external-metadata']) : null;
  entry._inferredMetadata = data.inferred ? new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data.inferred) : null;
  entry._extractedMetadata = data['extracted-metadata'] ? new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data['extracted-metadata']) : null;
  entry._relation = data.relations ? new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data.relations) : new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph();
  entry._rights = transformRights(data.rights);
  // Sometimes we get the name that is really part of the resource without getting the full
  // resource, in this case we store this in the entryinfo.
  if (data.name || data.alias || data.resource && data.resource.name) {
    const ei = entry.getEntryInfo();
    // ei._alias = data.alias;
    ei._name = data.name || data.alias || data.resource.name;
  }
  // Sometimes we get the disabled state that is really part of the resource
  // without getting the full resource, in this case we store this in the entryinfo.
  if (data.disabled || data.resource && data.resource.disabled) {
    const ei = entry.getEntryInfo();
    ei._disabled = data.disabled || data.resource.disabled;
  }
  return entry;
};

/**
 *
 * @param entryStore
 * @param contextEntryURI
 * @returns {Context}
 */
const getContext = (entryStore, contextEntryURI) => {
  const baseURI = entryStore.getBaseURI();
  const contextsBaseURI = `${baseURI}_contexts/entry/`;
  const contextId = contextEntryURI.substr(contextsBaseURI.length);
  const contexts = entryStore.getCachedContextsIdx();
  let context = contexts[contextId];
  if (!context) {
    context = new _Context_js__WEBPACK_IMPORTED_MODULE_5__["default"](contextEntryURI, baseURI + contextId, entryStore);
    contexts[contextId] = context;
  }
  return context;
};

/**
 *
 * @param entryStore
 * @param entryURI
 * @returns {List}
 */
const getList = (entryStore, entryURI) => {
  const cache = entryStore.getCache();
  let entry = cache.get(entryURI);
  if (!entry) {
    // If no entry is in cache, create an empty entry
    // Assuming there is an info object... TODO check so not info_stub remains in rest layer.
    const entryInfo = new _EntryInfo_js__WEBPACK_IMPORTED_MODULE_7__["default"](entryURI, new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(), entryStore);
    const context = getContextForEntry(entryURI, entryStore);
    entry = new _Entry_js__WEBPACK_IMPORTED_MODULE_6__["default"](context, entryInfo);
    const resourceURI = entryURI.replace('/entry/', '/resource/');
    entry._resource = new _List_js__WEBPACK_IMPORTED_MODULE_11__["default"](entryURI, resourceURI, entryStore);
    cache.cache(entry, true); // Add to cache silently
    entry.setRefreshNeeded(true); // Make sure it needs to be updated before accessed
  }
  // Returning only the list which has no reference to the entry isolates the entry from
  // being accessed before refreshed.
  return entry._resource;
};

/**
 *
 * @param entryURI
 * @param data
 * @param entryStore
 * @returns {Entry}
 */
const updateOrCreate = (entryURI, data, entryStore) => {
  const cache = entryStore.getCache();
  let entry = cache.get(entryURI);
  if (entry) {
    entry.getEntryInfo().setGraph(new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data.info));
  } else {
    // Assuming there is an info object... TODO check so not info_stub remains in rest layer.
    const entryInfo = new _EntryInfo_js__WEBPACK_IMPORTED_MODULE_7__["default"](entryURI, new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data.info), entryStore);
    const context = getContextForEntry(entryURI, entryStore);
    entry = new _Entry_js__WEBPACK_IMPORTED_MODULE_6__["default"](context, entryInfo);
  }
  _updateEntry(entry, data);
  _updateOrCreateResource(entry, data);
  cache.cache(entry); // Add to or refresh the cache.
  return entry;
};

/**
 *
 * @type {_updateOrCreateResource}
 */
const updateOrCreateResource = _updateOrCreateResource;

/**
 *
 * @param {Entry} entry
 * @param {Object} data
 */
const update = (entry, data) => {
  entry.getEntryInfo().setGraph(new _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_4__.Graph(data.info));
  _updateOrCreateResource(entry, data);
  _updateEntry(entry, data);
  entry.getEntryStore().getCache().cache(entry); // Add to or refresh the cache.
};

/**
 *
 * @param entryStore
 * @param query
 * @returns {SearchList}
 */
const createSearchList = (entryStore, query) => new _SearchList_js__WEBPACK_IMPORTED_MODULE_13__["default"](entryStore, query);

/**
 *
 * @param data
 * @param list
 * @param entryStore
 * @returns {Array.<Entry>}
 */
const extractSearchResults = (data, list, entryStore) => {
  // Update or create all entries received
  // TODO change rest api so offset is inside of resource.
  data.resource.offset = data.resource.offset || data.offset;
  // TODO change rest api so size is inside of resource.
  data.resource.size = data.resource.size || data.results;
  const baseURI = entryStore.getBaseURI();
  const entries = data.resource.children.map(child => updateOrCreate(`${baseURI + child.contextId}/entry/${child.entryId}`, child, entryStore));
  list._update(data.resource, entries);
  return entries;
};

/**
 *
 * @param entryURI
 * @returns {string}
 */
const getCachedExternalMetadataURI = entryURI => entryURI.replace('/entry/', '/cached-external-metadata/');

/**
 * @deprecated in favor of {@link factory#getEntryId}
 */
const getId = uri => uri.substr(uri.lastIndexOf('/') + 1);

/**
 *
 * @param uri
 * @param base
 * @returns {string|undefined}
 */
const getEntryId = (uri, base) => {
  let _uri = uri;
  if (base) {
    _uri = _uri.substr(base.length - 1); // include the / before.
  }
  const res = _uri.match(/\/([^/]+)\/(entry|resource|metadata|relation)\/([^?/]+)(\?.*)?$/);
  if (res) {
    return res[3];
  } else if (_uri.lastIndexOf('/') === 0) {
    return _uri.substr(1);
  } else if (!base) {
    return _uri.substr(_uri.lastIndexOf('/') + 1);
  }
  return undefined;
};

/**
 *
 * @param uri
 * @param base
 * @returns {string|undefined}
 */
const getContextId = (uri, base) => {
  let _uri = uri;
  if (base) {
    _uri = _uri.substr(base.length - 1); // include the / before.
  }
  const res = _uri.match(/\/([^/]+)\/(entry|resource|metadata|relation)\/([^?/]+)(\?.*)?$/);
  if (res) {
    return res[1];
  } else if (_uri.indexOf('/') === -1 || !base) {
    return '_contexts';
  }
  return undefined;
};

/**
 *
 * @param entryStore
 * @param uri
 * @returns {string}
 */
const getEntryURIFromURI = (entryStore, uri) => {
  const base = entryStore.getBaseURI();
  return `${base + getContextId(uri, base)}/entry/${getEntryId(uri, base)}`;
};

/**
 *
 * @param entryStore
 * @param contextId
 * @param entryId
 * @returns {string}
 */
const getEntryURI = (entryStore, contextId, entryId) => `${entryStore.getBaseURI()}${contextId}/entry/${entryId}`;

/**
 *
 * @param entryStore
 * @param uri
 * @returns {string}
 */
const getMetadataURIFromURI = (entryStore, uri) => {
  const base = entryStore.getBaseURI();
  return `${base + getContextId(uri, base)}/metadata/${getEntryId(uri, base)}`;
};

/**
 *
 * @param entryStore
 * @param contextId
 * @param entryId
 * @returns {string}
 */
const getMetadataURI = (entryStore, contextId, entryId) => `${entryStore.getBaseURI()}${contextId}/entry/${entryId}`;

/**
 *
 * @param entryStore
 * @param contextId
 * @returns {string}
 */
const getResourceBase = (entryStore, contextId) => `${entryStore.getBaseURI() + contextId}/resource/`;

/**
 *
 * @param entryStore
 * @param contextId
 * @param entryId
 * @returns {string}
 */
const getResourceURI = (entryStore, contextId, entryId) => {
  if (contextId === '_contexts') {
    return entryStore.getBaseURI() + entryId;
  }
  return `${entryStore.getBaseURI() + contextId}/resource/${entryId}`;
};

/**
 *
 * @param data
 * @param context
 * @returns {string}
 */
const getURIFromCreated = (data, context) => `${context.getResourceURI()}/entry/${data.entryId}`;

/**
 *
 * @param entryURI
 * @param params
 * @returns {string}
 */
const getEntryLoadURI = (entryURI, params) => {
  const _params = params || {};
  let strL = '';
  if (_params.limit > 0 || _params.limit === -1) {
    strL = `&limit=${_params.limit}`;
  } else {
    strL = `&limit=${defaultLimit}`;
  }
  const strO = _params.offset == null || _params.offset === 0 ? '' : `&offset=${_params.offset}`;
  const sort = _params.sort == null ? sortObj : _params.sort;
  let strSort = '';
  let strDesc = '';
  let strPrio = '';
  if (sort != null) {
    strSort = sort.sortBy == null ? '' : `&sort=${sort.sortBy}`;
    strDesc = sort.descending === true ? '&order=desc' : '';
    strPrio = sort.prio == null ? '' : `&prio=${sort.prio}`;
    // TODO lang remains.
  }
  return `${entryURI}?includeAll${strL}${strO}${strSort}${strDesc}${strPrio}`;
};

/**
 *
 * @param prototypeEntry
 * @param parentListEntry
 * @returns {string}
 */
const getEntryCreateURI = (prototypeEntry, parentListEntry) => {
  let uri = `${prototypeEntry.getContext().getResourceURI()}?`;
  if (prototypeEntry) {
    const ei = prototypeEntry.getEntryInfo();
    if (prototypeEntry.getSpecificId() != null) {
      uri = `${uri}id=${prototypeEntry.getSpecificId()}&`;
    }
    if (prototypeEntry.isLink()) {
      uri = `${uri}resource=${encodeURIComponent(prototypeEntry.getResourceURI())}&`;
    }
    if (prototypeEntry.isReference() || prototypeEntry.isLinkReference()) {
      // external metadata
      uri = `${uri}resource=${encodeURIComponent(prototypeEntry.getResourceURI())}&`;
      uri = `${uri}cached-external-metadata=${encodeURIComponent(ei.getExternalMetadataURI())}&`;
    }
    if (ei.getEntryType() !== _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].ET_LOCAL) {
      // local, link, linkreference, reference
      uri = `${uri}entrytype=${ei.getEntryType().toLowerCase()}&`;
    }
    // informationresource, namedresource
    if (ei.getResourceType() !== _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].RT_INFORMATIONRESOURCE) {
      // TODO Bug in REST layer, should be resourcetype, is now informationresource innstead
      uri = `${uri}informationresource=false&`;
    }
    if (ei.getGraphType() !== _types_js__WEBPACK_IMPORTED_MODULE_15__["default"].GT_NONE) {
      uri = `${uri}graphtype=${ei.getGraphType().toLowerCase()}&`;
    }
  }
  if (parentListEntry) {
    uri = `${uri}list=${parentListEntry.getResourceURI()}&`;
  }
  return uri.slice(0, -1);
};

/**
 *
 * @param prototypeEntry
 * @returns {string}
 */
const getEntryCreatePostData = prototypeEntry => {
  const postData = {};
  let empty = true;
  const md = prototypeEntry.getMetadata();
  if (md != null && !md.isEmpty()) {
    postData.metadata = md.exportRDFJSON();
    empty = false;
  }
  const re = prototypeEntry.getResource(true);
  if (re != null && re.getSource != null) {
    postData.resource = re.getSource();
    empty = false;
  }
  const ei = prototypeEntry.getEntryInfo().getGraph();
  if (ei != null && !ei.isEmpty()) {
    postData.info = ei.exportRDFJSON();
    empty = false;
  }
  const cachedExternalMetadata = prototypeEntry.getCachedExternalMetadata();
  if (cachedExternalMetadata != null && !cachedExternalMetadata.isEmpty()) {
    postData['cached-external-metadata'] = cachedExternalMetadata.exportRDFJSON();
    empty = false;
  }
  return empty ? '' : JSON.stringify(postData);
};

/**
 *
 * @param entry
 * @param fromListEntry
 * @param toListEntry
 * @param baseURI
 * @returns {string}
 */
const getMoveURI = (entry, fromListEntry, toListEntry, baseURI) => {
  const entryURI = entry.getURI().substr(baseURI.length); // Only send something like 3/entry/2
  const furi = fromListEntry.getResourceURI().substr(baseURI.length);
  return `${toListEntry.getResourceURI()}?moveEntry=${entryURI}&fromList=${furi}`;
};

/**
 *
 * @param baseURI
 * @param uri
 * @param formatHint
 * @returns {string}
 */
const getProxyURI = (baseURI, uri, formatHint) => {
  let url = `${baseURI}proxy?url=${encodeURIComponent(uri)}`;
  if (formatHint != null) {
    url += `&fromFormat=${formatHint}`;
  }
  return url;
};

/**
 * @param sortObject
 */
const setSort = sortObject => {
  sortObj = sortObject;
};

/**
 * @returns {{sortBy: string, prio: string}}
 */
const getSort = () => sortObj;

/**
 *
 * @returns {number}
 */
const getDefaultLimit = () => defaultLimit;

/**
 *
 * @param limit
 */
const setDefaultLimit = limit => {
  defaultLimit = limit;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  getContext,
  getList,
  updateOrCreate,
  updateOrCreateResource,
  update,
  createSearchList,
  extractSearchResults,
  getCachedExternalMetadataURI,
  getId,
  getEntryId,
  getContextId,
  getEntryURIFromURI,
  getEntryURI,
  getMetadataURIFromURI,
  getMetadataURI,
  getResourceBase,
  getResourceURI,
  getURIFromCreated,
  getEntryLoadURI,
  getEntryCreateURI,
  getEntryCreatePostData,
  getMoveURI,
  getProxyURI,
  setSort,
  getSort,
  getDefaultLimit,
  setDefaultLimit
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/html.js"
/*!****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/html.js ***!
  \****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");


/**
 * A module that contain utility methods for generating html for entries.
 *
 * @exports store/html
 * @namespace
 */
const html = {};
// The above construction seem to be needed because of jsdoc3 issues with not detecting the
// exports variable.

/**
 * Generates a table with columns subject, predicate, and object.
 * @param {Entry} entry to expose metadata for
 * @returns {string} rendered html as a string
 */
html.metadataTable = entry => {
  const delegates = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.print.prettyTree(entry.getMetadata(), entry.getResourceURI());
  const arr = [];
  for (let i = 0; i < delegates.length; i++) {
    const d = delegates[i];
    const st = d.stmt;
    arr.push(`${'<tr>' + "<td class='rdf_subject'>"}${st.isSubjectBlank() ? d.s : `<a href='${st.getSubject()}'>${d.s}</a>`}</td>` + `<td class='rdf_predicate'><a href='${st.getPredicate()}'>${d.p}</a></td>` + `<td class='rdf_object'>${st.getType() === 'uri' ? `<a href='${st.getValue()}'>${d.o}</a>` : d.o}</td></tr>`);
  }
  return arr.join('\n');
};
const _ind = {};
const indenter = function indenter(indent) {
  if (!_ind[indent]) {
    let str = '';
    for (let i = 1; i < indent; i++) {
      str += "<span class='rdf_indent'></span>";
    }
    _ind[indent] = str;
  }
  return _ind[indent];
};

/**
 * Prints one level of triples from a subject where URIs are namespaced.
 *
 * @param {rdfjson/Graph} graph the graph containing the metadata
 * @param {string} subject URI to a resource to start from
 * @returns {string} string with the triples rendered as HTML.
 */
html.metadataIndent = function (graph, subject) {
  const delegates = _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_0__.print.prettyTree(graph, subject);
  const arr = [];
  for (let i = 0; i < delegates.length; i++) {
    const d = delegates[i];
    const st = d.stmt;
    arr.push(`<div class='rdf_statement'>${indenter(d.indent)}<span class='rdf_subject'>${st.isSubjectBlank() ? d.s : `<a href='${st.getSubject()}'>${d.s}</a>`}</span>` + `<span class='rdf_predicate'><a href='${st.getPredicate()}'>${d.p}</a></span>` + `<span class='rdf_object'>${st.getType() === 'uri' ? `<a href='${st.getValue()}'>${d.o}</a>` : d.o}</span></div>`);
  }
  return arr.join('\n');
};

/**
 * Prints the three types of the entry, i.e. entry, resource and graphtype.
 * @param {EntryInfo} entryInfo
 * @returns {string}
 */
html.entryInfo = entryInfo => `<span class='info entrytype'><label>EntryType:</label> ${entryInfo.getEntryType()}</span>` + `<span class='info resourceType'><label>ResourceType:</label> ${entryInfo.getResourceType()}</span>` + `<span class='info graphType'><label>GraphType:</label> ${entryInfo.getGraphType()}</span>`;

/**
 * Prints information about the entry, including entryinfo, metadata, cached external metadata
 * as well as which context the entry belongs to.
 *
 * @param {Entry} entry
 * @returns {string} information about the entry as a HTML string.
 */
html.print = entry => {
  const strs = [`${"<div class='entry'>" + "<h3>Context: <a class='contextURI' href='"}${entry.getContext().getEntryURI()}'>${entry.getContext().getId()}</a> <span></span> ` + `Entry: <a class='entryURI' href='${entry.getURI()}'>${entry.getId()}</a></h3>` + '<div>' + `<div class='entryInfo'>${html.entryInfo(entry.getEntryInfo())}</div>`];
  const md = entry.getMetadata();
  if (md && !md.isEmpty()) {
    strs.push(`<h4>Local metadata:</h4><div class='metadata'>${html.metadataIndent(md, entry.getResourceURI())}</div>`);
  }
  const emd = entry.getCachedExternalMetadata();
  if (emd && !emd.isEmpty()) {
    strs.push(`<h4>Cached external metadata:</h4><div class='metadata'>${html.metadataIndent(emd, entry.getResourceURI())}</div>`);
  }
  strs.push('</div></div>');
  return strs.join('');
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (html);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Auth: () => (/* reexport safe */ _Auth_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
/* harmony export */   Cache: () => (/* reexport safe */ _Cache_js__WEBPACK_IMPORTED_MODULE_7__["default"]),
/* harmony export */   Context: () => (/* reexport safe */ _Context_js__WEBPACK_IMPORTED_MODULE_8__["default"]),
/* harmony export */   Entry: () => (/* reexport safe */ _Entry_js__WEBPACK_IMPORTED_MODULE_9__["default"]),
/* harmony export */   EntryInfo: () => (/* reexport safe */ _EntryInfo_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
/* harmony export */   EntryStore: () => (/* reexport safe */ _EntryStore_js__WEBPACK_IMPORTED_MODULE_11__["default"]),
/* harmony export */   EntryStoreUtil: () => (/* reexport safe */ _EntryStoreUtil_js__WEBPACK_IMPORTED_MODULE_12__["default"]),
/* harmony export */   File: () => (/* reexport safe */ _File_js__WEBPACK_IMPORTED_MODULE_13__["default"]),
/* harmony export */   Graph: () => (/* reexport safe */ _Graph_js__WEBPACK_IMPORTED_MODULE_14__["default"]),
/* harmony export */   Group: () => (/* reexport safe */ _Group_js__WEBPACK_IMPORTED_MODULE_15__["default"]),
/* harmony export */   List: () => (/* reexport safe */ _List_js__WEBPACK_IMPORTED_MODULE_16__["default"]),
/* harmony export */   Pipeline: () => (/* reexport safe */ _Pipeline_js__WEBPACK_IMPORTED_MODULE_17__["default"]),
/* harmony export */   PrototypeEntry: () => (/* reexport safe */ _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_18__["default"]),
/* harmony export */   RateLimit: () => (/* reexport safe */ _RateLimit_js__WEBPACK_IMPORTED_MODULE_25__["default"]),
/* harmony export */   Resource: () => (/* reexport safe */ _Resource_js__WEBPACK_IMPORTED_MODULE_19__["default"]),
/* harmony export */   SearchList: () => (/* reexport safe */ _SearchList_js__WEBPACK_IMPORTED_MODULE_20__["default"]),
/* harmony export */   String: () => (/* reexport safe */ _String_js__WEBPACK_IMPORTED_MODULE_21__["default"]),
/* harmony export */   User: () => (/* reexport safe */ _User_js__WEBPACK_IMPORTED_MODULE_22__["default"]),
/* harmony export */   factory: () => (/* reexport safe */ _factory_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   html: () => (/* reexport safe */ _html_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   namespaces: () => (/* reexport safe */ _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_26__.namespaces),
/* harmony export */   promiseUtil: () => (/* reexport safe */ _promiseUtil_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */   rest: () => (/* reexport safe */ _Rest_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
/* harmony export */   solr: () => (/* reexport safe */ _SolrQuery_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
/* harmony export */   terms: () => (/* reexport safe */ _terms_js__WEBPACK_IMPORTED_MODULE_23__["default"]),
/* harmony export */   types: () => (/* reexport safe */ _types_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   utils: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_24__["default"])
/* harmony export */ });
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./factory.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/factory.js");
/* harmony import */ var _html_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./html.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/html.js");
/* harmony import */ var _promiseUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./promiseUtil.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/promiseUtil.js");
/* harmony import */ var _Rest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Rest.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Rest.js");
/* harmony import */ var _SolrQuery_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SolrQuery.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SolrQuery.js");
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./types.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js");
/* harmony import */ var _Auth_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Auth.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Auth.js");
/* harmony import */ var _Cache_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Cache.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Cache.js");
/* harmony import */ var _Context_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Context.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Context.js");
/* harmony import */ var _Entry_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Entry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Entry.js");
/* harmony import */ var _EntryInfo_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./EntryInfo.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryInfo.js");
/* harmony import */ var _EntryStore_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./EntryStore.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryStore.js");
/* harmony import */ var _EntryStoreUtil_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./EntryStoreUtil.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/EntryStoreUtil.js");
/* harmony import */ var _File_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./File.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/File.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Graph.js");
/* harmony import */ var _Group_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Group.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Group.js");
/* harmony import */ var _List_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./List.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/List.js");
/* harmony import */ var _Pipeline_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Pipeline.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Pipeline.js");
/* harmony import */ var _PrototypeEntry_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./PrototypeEntry.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/PrototypeEntry.js");
/* harmony import */ var _Resource_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Resource.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/Resource.js");
/* harmony import */ var _SearchList_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./SearchList.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/SearchList.js");
/* harmony import */ var _String_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./String.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/String.js");
/* harmony import */ var _User_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./User.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/User.js");
/* harmony import */ var _terms_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./terms.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/terms.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/utils.js");
/* harmony import */ var _RateLimit_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./RateLimit.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/RateLimit.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");




























/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/promiseUtil.js"
/*!***********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/promiseUtil.js ***!
  \***********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");

/**
 * This module contains utility methods for promises.
 *
 * @exports store/promiseUtil
 * @namespace
 */
const promiseUtil = {};

/**
 * Asynchronous forEach relying on promises that works in serial rather than parallell.
 * It invokes a function on each item only after the promise from the previous item
 * in the array has succeeded.
 * If one of the promises fails the forEach promise fails altogheter.
 * The result is provided in an array if the items is an array.
 * In the case where the items is an object the same object is returned
 * but with the values replaced with the result of the promise.
 * (The function is applied to the value of each key in the items object.)
 *
 * @param {array|object} items
 * @param {function} func a function that is applied to each item and must return a promise
 * @returns {Promise}
 */
promiseUtil.forEach = (items, func) => new Promise((resolve, reject) => {
  let arr;
  let cursor;
  const onFailure = err => {
    reject(err);
  };
  if (Array.isArray(items)) {
    const results = [];
    arr = items.slice();
    cursor = result => {
      results.push(result);
      if (arr.length > 0) {
        return promiseUtil.toPromise(func(arr.shift())).then(cursor, onFailure);
      }
      resolve(results);
      return undefined;
    };
    if (arr.length === 0) {
      resolve(results);
    } else {
      promiseUtil.toPromise(func(arr.shift())).then(cursor, onFailure);
    }
  } else if (typeof items === 'object') {
    arr = Object.keys(items);
    let itemKey;
    const onSuccess = result => {
      items[itemKey] = result;
      cursor();
    };
    cursor = () => {
      if (arr.length > 0) {
        itemKey = arr.shift();
        promiseUtil.toPromise(func(items[itemKey])).then(onSuccess, onFailure);
      } else {
        resolve(items);
      }
    };
    cursor();
  }
});

/**
 * Makes sure a value is a promise, if needed wraps it as a promise.
 * If the value the false boolean it is interpreted as a reject.
 *
 * @param {any|Promise} value the value to wrap in a promise, if it already is a promise it is returned.
 * @return {Promise}
 */
promiseUtil.toPromise = value => {
  if (typeof value === 'object' && value !== null && typeof value.then === 'function') {
    return value;
  }
  if (value === false) {
    return Promise.reject(value);
  }
  return Promise.resolve(value);
};

/**
 * Use setTimeout with promise. This is useful when you want to do things like
 * Promise.all(
 *  promise1,
 *  promiseUtil.delay(1000),
 * ]);
 * @param millisecs
 * @returns {Promise<any>}
 */
promiseUtil.delay = millisecs => new Promise(resolve => setTimeout(resolve, millisecs));
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (promiseUtil);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/terms.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/terms.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _types_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./types.js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js");



const inv = obj => {
  const iobj = {};
  Object.keys(obj).forEach(key => {
    iobj[obj[key]] = key;
  });
  return iobj;
};

// Namespaces
const ns = 'http://entrystore.org/terms/';
const rdfns = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
const xsdns = 'http://www.w3.org/2001/XMLSchema#';
_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.add('prov', 'http://www.w3.org/ns/prov#');
_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.add('store', ns);
_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_1__.namespaces.add('storepr', 'http://entrystore.org/terms/pipelineresult#');
const terms = {
  homeContext: `${ns}homeContext`,
  resource: `${ns}resource`,
  metadata: `${ns}metadata`,
  externalMetadata: `${ns}externalMetadata`,
  reasoningFacts: `${ns}reasoningFacts`,
  status: {
    property: `${ns}status`,
    InProgress: `${ns}InProgress`,
    Pending: `${ns}Pending`,
    Succeeded: `${ns}Success`,
    Failed: `${ns}Failed`
  },
  rdf: {
    type: `${rdfns}type`
  },
  config: {
    argument: `${ns}argument`,
    argumentKey: `${ns}argumentKey`,
    argumentValue: `${ns}argumentValue`,
    argumentType: `${ns}argumentType`
  },
  pipeline: {
    pipeline: `${ns}pipeline`,
    pipelineData: `${ns}pipelineData`,
    transform: `${ns}transform`,
    transformPriority: `${ns}transformPriority`,
    transformType: `${ns}transformType`,
    transformArgument: `${ns}transformArgument`,
    transformArgumentKey: `${ns}transformArgumentKey`,
    transformArgumentValue: `${ns}transformArgumentValue`,
    transformDestination: `${ns}transformDestination`,
    transformDetectDestination: `${ns}transformDetectDestination`
  },
  acl: {
    read: `${ns}read`,
    write: `${ns}write`
  },
  xsd: {
    integer: `${xsdns}integer`,
    float: `${xsdns}float`,
    boolean: `${xsdns}boolean`
  }
};

// EntryType
const et = {};
et[`${ns}Local`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].ET_LOCAL;
et[`${ns}Link`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].ET_LINK;
et[`${ns}LinkReference`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].ET_LINKREF;
et[`${ns}Reference`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].ET_REF;
et.default = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].ET_LOCAL; // The default option
terms.entryType = et;
terms.invEntryType = inv(et);

// GraphType
const gt = {};
gt[`${ns}None`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_NONE;
gt[`${ns}Context`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_CONTEXT;
gt[`${ns}SystemContext`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_SYSTEMCONTEXT;
gt[`${ns}User`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_USER;
gt[`${ns}Group`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_GROUP;
gt[`${ns}List`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_LIST;
gt[`${ns}ResultList`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_RESULTLIST;
gt[`${ns}Graph`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_GRAPH;
gt[`${ns}Pipeline`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_PIPELINE;
gt[`${ns}PipelineResult`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_PIPELINERESULT;
gt[`${ns}String`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_STRING;
gt.default = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].GT_NONE; // The default option
terms.graphType = gt;
terms.invGraphType = inv(gt);

// ResourceType
const rt = {};
rt[`${ns}InformationResource`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].RT_INFORMATIONRESOURCE;
rt[`${ns}ResolvableInformationResource`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].RT_RESOLVABLEINFORMATIONRESOURCE;
rt[`${ns}NamedResource`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].RT_NAMEDRESOURCE;
rt[`${ns}Unknown`] = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].RT_UNKNOWN;
rt.default = _types_js__WEBPACK_IMPORTED_MODULE_2__["default"].RT_INFORMATIONRESOURCE; // The default option
terms.resourceType = rt;
terms.invResourceType = inv(rt);

// Argument types
const argTypes = {
  configuration: 'configuration',
  transform: 'transform'
};
terms.argumentTypes = argTypes;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (terms);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/types.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Types is a module containing the three different types: GraphType, EntryType and
 * ResourceType shortened GT, ET and RT.
 *
 * @namespace types
 */
const types = {
  /**
   * Local entrytype implies that the resource is maintained in the repository.
   * It can be an uploaded file, a list, a group, a user etc. The nature of the resource
   * is determined by the graphtype.
   *
   * @const
   * @see Entry#isLocal
   */
  ET_LOCAL: 'Local',
  /**
   * Link EntryType implies that the resource is not maintained in the repository, rather the
   * entry only provides a link to the resource.
   * The metadata is still maintained in the repository though.
   *
   * @const
   * @see Entry#isLink
   */
  ET_LINK: 'Link',
  /**
   * Similar to link, only the metadata is also external to the repository.
   * In many cases it is possible to access a locally cached version of the external
   * metadata though.
   * @see Entry#getCachedExternalMetadata
   * @see Entry#isReference
   */
  ET_REF: 'Reference',
  /**
   * Similar to link and reference, only there is both local metadata and external metadata.
   * @see Entry#isLinkReference
   */
  ET_LINKREF: 'LinkReference',
  /**
   * No graph type specified means that no knowledge of the resources character is known.
   * Hence, no special treatment of the resource is expected.
   * This is common when handling regular files, web resources or abstract entities.
   * @see Entry#isNone
   */
  GT_NONE: 'None',
  /**
   * The resource is a context, i.e. a container for other entries.
   *
   * @see Entry#isContext
   * @see Context
   */
  GT_CONTEXT: 'Context',
  /**
   * The resource is one of the special context of this repository, e.g. _contexts or _principals.
   * @see Entry#isSystemContext
   */
  GT_SYSTEMCONTEXT: 'Systemcontext',
  /**
   * The resource is a user.
   *
   * @see Entry#isUser
   * @see User
   */
  GT_USER: 'User',
  /**
   * The resource is a group.
   *
   * @see Entry#isGroup
   * @see Group
   */
  GT_GROUP: 'Group',
  /**
   * The resource is a list.
   *
   * @see Entry#isList
   * @see List
   */
  GT_LIST: 'List',
  /**
   * @todo remains to be supported in this API
   * @see Entry#isResultList
   */
  GT_RESULTLIST: 'Resultlist',
  /**
   * The resource is a RDF graph.
   * @see Entry#isGraph
   * @see Graph
   */
  GT_GRAPH: 'Graph',
  /**
   * The resource is a string.
   * @see Entry#isString
   * @see String
   */
  GT_STRING: 'String',
  /**
   * The resource is a pipeline, e.g. an entry that can somehow be executed on the server side.
   * @see Entry#isPipeline
   * @see Pipeline
   */
  GT_PIPELINE: 'Pipeline',
  /**
   * The resource is a pipelineresult, e.g. the result of the execution of a pipeline
   * on the server side.
   * @see Entry#isPipelineResult
   * @see Pipeline
   */
  GT_PIPELINERESULT: 'PipelineResult',
  /**
   * The resource is available as a digital representation of some sort.
   * Opposite to resources that have no representation, referred to as
   * {@link types.NAMEDRESOURCE named}.
   */
  RT_INFORMATIONRESOURCE: 'Information',
  /**
   * The resource is resolvable to another address.
   * @todo the API has little support for this type currently.
   */
  RT_RESOLVABLEINFORMATIONRESOURCE: 'Resolvable',
  /**
   * The resource is not available digitally, i.e. it has now digital representation that
   * can be transferred over a network.
   */
  RT_NAMEDRESOURCE: 'Named',
  /**
   * It is unknown if the resource has a representation or not, typically this is the case when
   * large amounts of resources are harvested from another system and it is not feasible to try
   * to load them to check weather they have a digital representation or not. At least the check
   * cannot be done initially and therefore the type is set to unknown.
   */
  RT_UNKNOWN: 'Unknown'
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (types);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/utils.js"
/*!*****************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/utils.js ***!
  \*****************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   isBrowser: () => (/* binding */ isBrowser),
/* harmony export */   isIE: () => (/* binding */ isIE),
/* harmony export */   isNode: () => (/* binding */ isNode),
/* harmony export */   utils: () => (/* binding */ utils)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");






const utils = {};
utils.getRelatedToEntryURIs = fromEntry => {
  const es = fromEntry.getEntryStore();
  const base = fromEntry.getEntryStore().getBaseURI();
  const relatedEntryURIs = [];
  fromEntry.getMetadata().find().forEach(stmt => {
    if (stmt.getType() === 'uri') {
      const obj = stmt.getValue();
      if (obj.indexOf(base) === 0) {
        const uri = es.getEntryURI(es.getContextId(obj), es.getEntryId(obj));
        relatedEntryURIs.push(uri);
      }
    }
  });
  return relatedEntryURIs;
};
utils.getRelatedToEntries = fromEntry => {
  const es = fromEntry.getEntryStore();
  return Promise.all(utils.getRelatedToEntryURIs(fromEntry).map(uri => es.getEntry(uri)));
};
utils.remove = entry => {
  const es = entry.getEntryStore();
  const cache = es.getCache();
  const refStmts = entry.getReferrersGraph().find();
  const entryPromises = refStmts.map(stmt => {
    const subj = stmt.getSubject();
    const euri = es.getEntryURI(es.getContextId(subj), es.getEntryId(subj));
    return es.getEntry(euri);
  });
  return entry.del().then(() => Promise.all(entryPromises).then(arr => {
    const promises = refStmts.map((stmt, idx) => {
      const md = arr[idx].getMetadata();
      md.remove(stmt);
      return arr[idx].commitMetadata();
    });
    const uris = utils.getRelatedToEntryURIs(entry);
    uris.forEach(uri => {
      const e = cache.get(uri);
      if (e != null) {
        e.setRefreshNeeded();
        promises.push(e.refresh());
      }
    });
    return Promise.all(promises);
  }));
};
utils.addRelation = (fromEntry, property, toEntry) => {
  fromEntry.getMetadata().add(fromEntry.getResourceURI(), property, toEntry.getResourceURI());
  return fromEntry.commitMetadata().then(() => {
    toEntry.setRefreshNeeded();
    return toEntry.refresh();
  });
};
utils.removeRelation = (fromEntry, property, toEntry) => {
  fromEntry.getMetadata().remove(fromEntry.getResourceURI(), property, {
    type: 'uri',
    value: toEntry.getResourceURI()
  });
  return fromEntry.commitMetadata().then(() => {
    toEntry.setRefreshNeeded();
    return toEntry.refresh();
  });
};

// Relies on there not being a window.document in Node
// Based off of: https://github.com/flexdinesh/browser-or-node/blob/master/src/index.js
const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
utils.isBrowser = isBrowser;
const isNode = () => typeof module !== 'undefined' && typeof module.exports !== 'undefined';
utils.isNode = isNode;
const isIE = () => window && window.navigator.userAgent.match(/MSIE/) !== null;
utils.isIE = isIE;

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (utils);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js"
/*!************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/index.js ***!
  \************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AGGREGATION: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.AGGREGATION),
/* harmony export */   COMPOSITION: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.COMPOSITION),
/* harmony export */   ENTITY_TYPE_RESOURCE_NAME: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.ENTITY_TYPE_RESOURCE_NAME),
/* harmony export */   EntityType: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.EntityType),
/* harmony export */   LookupStore: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.LookupStore),
/* harmony export */   PROJECT_TYPE_RESOURCE_NAME: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.PROJECT_TYPE_RESOURCE_NAME),
/* harmony export */   ProjectType: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.ProjectType),
/* harmony export */   RDF_PROPERTY_PROJECTTYPE: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.RDF_PROPERTY_PROJECTTYPE),
/* harmony export */   addConfigFromSolutions: () => (/* reexport safe */ _src_solutions_solutions__WEBPACK_IMPORTED_MODULE_2__.addConfigFromSolutions),
/* harmony export */   constructURIFromPattern: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.constructURIFromPattern),
/* harmony export */   convertBytesToMBytes: () => (/* reexport safe */ _src_util_util__WEBPACK_IMPORTED_MODULE_3__.convertBytesToMBytes),
/* harmony export */   createEntryStore: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.createEntryStore),
/* harmony export */   createEntryStoreUtils: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.createEntryStoreUtils),
/* harmony export */   entityTypeNameToURI: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.entityTypeNameToURI),
/* harmony export */   fetchJson: () => (/* reexport safe */ _src_async_async__WEBPACK_IMPORTED_MODULE_1__.fetchJson),
/* harmony export */   filterOnRestrictions: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.filterOnRestrictions),
/* harmony export */   findAggregationEntityTypes: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.findAggregationEntityTypes),
/* harmony export */   findCompositionEntityTypes: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.findCompositionEntityTypes),
/* harmony export */   findEntityTypeByConstraint: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.findEntityTypeByConstraint),
/* harmony export */   findNonCompositionEntityTypes: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.findNonCompositionEntityTypes),
/* harmony export */   hasUserAccess: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.hasUserAccess),
/* harmony export */   isUri: () => (/* reexport safe */ _src_util_util__WEBPACK_IMPORTED_MODULE_3__.isUri),
/* harmony export */   loadSolutions: () => (/* reexport safe */ _src_solutions_solutions__WEBPACK_IMPORTED_MODULE_2__.loadSolutions),
/* harmony export */   matchArrays: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.matchArrays),
/* harmony export */   matchConstraints: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.matchConstraints),
/* harmony export */   merge: () => (/* reexport safe */ _src_merge_merge__WEBPACK_IMPORTED_MODULE_0__.merge),
/* harmony export */   nameToURI: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.nameToURI),
/* harmony export */   normalizeConstraints: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.normalizeConstraints),
/* harmony export */   normalizeEntityTypeUris: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.normalizeEntityTypeUris),
/* harmony export */   normalizeSourceConstraints: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.normalizeSourceConstraints),
/* harmony export */   normalizeUriPattern: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.normalizeUriPattern),
/* harmony export */   projectTypeNameToURI: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.projectTypeNameToURI),
/* harmony export */   runAsyncInSequence: () => (/* reexport safe */ _src_async_async__WEBPACK_IMPORTED_MODULE_1__.runAsyncInSequence),
/* harmony export */   template: () => (/* reexport safe */ _src_types_index__WEBPACK_IMPORTED_MODULE_4__.template),
/* harmony export */   tryCatchAsync: () => (/* reexport safe */ _src_async_async__WEBPACK_IMPORTED_MODULE_1__.tryCatchAsync)
/* harmony export */ });
/* harmony import */ var _src_merge_merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/merge/merge */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/merge/merge.js");
/* harmony import */ var _src_async_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/async/async */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/async/async.js");
/* harmony import */ var _src_solutions_solutions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/solutions/solutions */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/solutions/solutions.js");
/* harmony import */ var _src_util_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/util/util */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/util/util.js");
/* harmony import */ var _src_types_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/types/index */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/index.js");






/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/async/async.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/async/async.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   fetchJson: () => (/* binding */ fetchJson),
/* harmony export */   runAsyncInSequence: () => (/* binding */ runAsyncInSequence),
/* harmony export */   tryCatchAsync: () => (/* binding */ tryCatchAsync)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");




/**
 * Takes an array of callbacks and runs them in sequence.
 * Returns an array of the data from callbacks, like Promise.all
 *
 * @param {(() => Promise<unknown>)[]} asyncCallbacks
 * @returns {Promise<unknown[]>}
 */
const runAsyncInSequence = async asyncCallbacks => {
  const results = [];
  for (const callback of asyncCallbacks) {
    const result = await callback();
    results.push(result);
  }
  return results;
};

/**
 * Wraps try/catch around an async function.
 *
 * @param {(...args: unknown[]) => Promise<unknown>} asyncFunction
 * @param {string} errorMessage
 * @returns {(...args: unknown[]) => Promise<unknown|undefined>}
 */
const tryCatchAsync = (asyncFunction, errorMessage) => {
  return async function () {
    try {
      return await asyncFunction(...arguments);
    } catch (error) {
      console.error(error, errorMessage);
    }
  };
};

/**
 * Validates a fetch response and parses it as JSON.
 *
 * @param {Response} response
 * @param {string} url
 * @param {string} name
 * @returns {Promise<object|undefined>}
 */
const validateAndParseJsonResponse = async (response, url, name) => {
  if (!(response !== null && response !== void 0 && response.ok)) {
    console.error(`Failed fetching ${name} from ${url})`);
    return;
  }
  const contentType = response.headers.get('content-type');
  if (!(contentType !== null && contentType !== void 0 && contentType.includes('application/json'))) {
    console.error(`Failed fetching ${name}. Expected a JSON file and got ${contentType} for ${url})`);
    return;
  }
  const safeParse = tryCatchAsync(() => response.json(), `Failed to parse json response for ${url}`);
  return safeParse();
};

/**
 * Fetches JSON from a URL with error handling.
 *
 * @param {string} url
 * @param {string} name
 * @returns {Promise<object|undefined>}
 */
const fetchJson = async function fetchJson(url) {
  let name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'json';
  const safeFetch = tryCatchAsync(fetch, `A network error ocurred while trying to fetch ${name} from ${url}`);
  const response = await safeFetch(url);
  return validateAndParseJsonResponse(response, url, name);
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/merge/merge.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/merge/merge.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   merge: () => (/* binding */ _merge)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js");







const getConfigType = config => {
  return Array.isArray(config) ? 'array' : typeof config;
};
const setConfigs = configs => {
  const typeOfFirstConfig = getConfigType(configs.at(0));
  return configs.filter(config => {
    const type = getConfigType(config);
    return /^(object|array)$/i.test(type) && type === typeOfFirstConfig;
  });
};

/**
 * Performs a deep merge according to the following rules:
 * 1. Objects are merged
 * 2. Arrays are concatenated, with one important exception. All elements with
 *    the name key and same name value will be merged.
 * 3. Object keys prefixed with '!' will override the original values with
 *    corresponding unprefixed keys.
 *
 * See unit tests for examples of expected behaviour according to above rules.
 *
 * @param {...(object|Array)} configs
 * @returns {object|Array}
 * @see lodash-es/mergeWith
 */
const _merge = function merge() {
  for (var _len = arguments.length, configs = new Array(_len), _key = 0; _key < _len; _key++) {
    configs[_key] = arguments[_key];
  }
  // configs will always be an array, even if no config value is passed in.
  if (configs.length === 0) return [];
  const useConfigs = setConfigs(configs.filter(config => config !== undefined && config !== null));
  if (useConfigs.every(Array.isArray)) {
    // Concatenate top-level arrays directly; .flat(1) unwraps the outer
    // array-of-arrays into a single array (e.g. [[1,2],[3,4]] → [1,2,3,4])
    return useConfigs.flat(1);
  }
  const customizer = (objValue, srcValue, key, object) => {
    // override if key starts with '!'
    if (key.startsWith('!')) {
      const originalKey = key.substring(1);
      object[originalKey] = srcValue; // Update the corresponding unprefixed key

      return;
    }

    // elements in an array are either merged or concatenated
    if (Array.isArray(objValue) && Array.isArray(srcValue)) {
      // merge objects with same name key
      if (srcValue.some(item => typeof item === 'object' && item.name)) {
        const mergeResult = [...objValue];
        const srcValueMap = new Map(srcValue.map(item => [item.name, item]));
        mergeResult.forEach((item, index) => {
          const existingName = item.name;
          if (existingName && srcValueMap.has(existingName)) {
            const overrideValue = srcValueMap.get(existingName);
            mergeResult[index] = _merge(item, overrideValue);
            srcValueMap.delete(existingName);
          }
        });
        // srcValueMap contains the values that are concatenated rather than merged
        return [...mergeResult, ...srcValueMap.values()];
      }

      // the default is to concatenate
      return [...objValue, ...srcValue];
    }

    // returning undefined for other cases, which will trigger default merge
  };
  return (0,lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"])(...useConfigs, customizer);
};


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/solutions/solutions.js"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/solutions/solutions.js ***!
  \******************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   addConfigFromSolutions: () => (/* binding */ addConfigFromSolutions),
/* harmony export */   loadSolutions: () => (/* binding */ loadSolutions)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_flat_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.flat-map.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.flat-map.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_unscopables_flat_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.unscopables.flat-map.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.unscopables.flat-map.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/set.js");
/* harmony import */ var _async_async__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../async/async */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/async/async.js");
/* harmony import */ var _merge_merge__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../merge/merge */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/merge/merge.js");
const _excluded = ["name", "entitytypes", "projecttypes", "bundles"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }











/**
 * Prefixes names starting with underscore
 *
 * @param {string|string[]} nameOrNames
 * @param {string} prefix
 * @returns {string|string[]}
 */
const prefixNames = (nameOrNames, prefix) => {
  if (Array.isArray(nameOrNames)) {
    return nameOrNames.map(name => {
      if (!name.startsWith('_')) return name;
      return `${prefix}${name}`;
    });
  }
  return nameOrNames.startsWith('_') ? `${prefix}${nameOrNames}` : nameOrNames;
};

/**
 * Prefixes names deep, by setting nested properties with paths. Nested paths
 * are expressed with '.' as delimiter.
 * For nested paths with arrays, the paths need to be recalculated to get the
 * correct path including the element index, for example 'relation[0].
 * entityType'.
 *
 * @param {object} type
 * @param {string} path
 * @param {string} solutionName
 * @returns {undefined}
 */
const prefixNamesDeep = (type, path, solutionName) => {
  // handles simple and nested object paths
  const value = (0,lodash_es__WEBPACK_IMPORTED_MODULE_7__["default"])(type, path);
  if (value) {
    (0,lodash_es__WEBPACK_IMPORTED_MODULE_8__["default"])(type, path, prefixNames(value, solutionName));
    return;
  }

  // handles nested paths with arrays.
  const [property, subProperty] = path.split('.');
  if (!(property in type)) return;
  const nestedValues = type[property];
  if (Array.isArray(nestedValues)) {
    nestedValues.forEach((nestedValue, index) => {
      if (typeof nestedValue === 'object' && nestedValue !== null) {
        const nestedPath = `${property}[${index}].${subProperty}`;
        (0,lodash_es__WEBPACK_IMPORTED_MODULE_8__["default"])(type, nestedPath, prefixNames((0,lodash_es__WEBPACK_IMPORTED_MODULE_7__["default"])(type, nestedPath), solutionName));
      }
    });
  }
};

/**
 * Prefixes local entity and project type name references with the solution name
 *
 * @param {object[]} types entity or project types
 * @param {string[]} paths paths that should be checked and prefixed
 * @param {string} solutionName
 * @returns {object[]}
 */
const prefixLocalNameReferences = (types, paths, solutionName) => {
  return types.map(type => {
    paths.forEach(path => {
      prefixNamesDeep(type, path, solutionName);
    });
    return type;
  });
};

/**
 * Normalizes a solution by primarily prefixing local entity and project type
 * name references with the solution name
 *
 * @param {object} solutionJson
 * @returns {object}
 */
const normalizeSolution = solutionJson => {
  const {
      name,
      entitytypes,
      projecttypes,
      bundles
    } = solutionJson,
    solution = _objectWithoutProperties(solutionJson, _excluded);
  if (!name) {
    throw new Error('A solution is missing the mandatory name property. Please provide a unique name.');
  }
  if (entitytypes) {
    solution.entitytypes = prefixLocalNameReferences(entitytypes, ['name', 'useWith', 'refines', 'relations.entityType'], name);
  }
  if (projecttypes) {
    solution.projecttypes = prefixLocalNameReferences(projecttypes, ['name', 'default', 'optional'], name);
  }
  if (bundles) {
    solution.itemstore = {
      bundles
    };
  }
  return solution;
};

/**
 * Fetches solution configurations and merges them into a config object. A
 * solution follows same naming convention for entity types, project types and
 * bundles as is used in local.js.
 * When a solution is loaded, some names are prefixed to avoid naming conflicts
 * for entity and project types. All names that starts with underscore _ are
 * considered to be defined locally in that solution file. It's also possible to
 * reference entity types in other solutions in which case the entity type is
 * expected to be prefixed with the solution name and underscore.
 *
 * @param {string[]} solutionURIs
 * @returns {Promise<object|undefined>}
 */
const loadSolutions = async solutionURIs => {
  if (!solutionURIs) return;

  // load and normalize solutions
  const solutions = [];
  for (const solutionURI of solutionURIs) {
    const solutionJson = await (0,_async_async__WEBPACK_IMPORTED_MODULE_9__.fetchJson)(solutionURI, 'solution');
    if (!solutionJson) return;
    const solution = normalizeSolution(solutionJson);
    solutions.push(solution);
  }
  return (0,_merge_merge__WEBPACK_IMPORTED_MODULE_10__.merge)(...solutions);
};

/**
 * Retrieves window.__entryscape_config, ensuring it is treated as an array.
 * Filters out any falsy values, resulting in
 * a new array containing only the truthy values from window.__entryscape_config.
 * If solutions are given will add config from solutions
 * before other config ensuring same order as in Entryscape
 * (1. base config from blocks library, 2. solutions, 3. specific config)
 *
 * @returns {Promise<void>}
 */
const addConfigFromSolutions = async () => {
  if (!window.__entryscape_config) return;
  const copyOfConfigArray = [].concat(window.__entryscape_config).filter(Boolean);
  const configContainingSolutions = copyOfConfigArray.flatMap(item => item.solutions || []);
  if (configContainingSolutions.length === 0) return;
  const solutions = await loadSolutions(configContainingSolutions);
  copyOfConfigArray.unshift(solutions);
  window.__entryscape_config = copyOfConfigArray;
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/EntityType.js"
/*!***************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/EntityType.js ***!
  \***************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   EntityType: () => (/* binding */ EntityType)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js");
/* harmony import */ var _utils_entryStore__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/entryStore */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/entryStore.js");
/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/index */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/index.js");
/* harmony import */ var _utils_uri__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/uri */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/uri.js");










class EntityType {
  constructor(source, entryStore, itemStore) {
    const entryStoreBaseURI = entryStore.getBaseURI();
    this._itemStore = itemStore;
    this.source = (0,_utils_uri__WEBPACK_IMPORTED_MODULE_9__.normalizeEntityTypeUris)(source, entryStore);
    if (this.source.module) {
      if (!Array.isArray(this.source.module)) {
        this.source.module = [this.source.module];
      }
      if (!this.source.module.includes('search')) {
        this.source.module.push('search');
      }
    }
    this.source.constraints = (0,_utils_index__WEBPACK_IMPORTED_MODULE_8__.normalizeSourceConstraints)(source);
    const {
      storeConfig,
      uriPattern
    } = this.source;
    if (storeConfig) {
      storeConfig.store = (0,_utils_entryStore__WEBPACK_IMPORTED_MODULE_7__.createEntryStore)(storeConfig.endpoint);
      storeConfig.util = (0,_utils_entryStore__WEBPACK_IMPORTED_MODULE_7__.createEntryStoreUtils)(storeConfig.store);
    }
    if (uriPattern) {
      this.source.uriPattern = (0,_utils_uri__WEBPACK_IMPORTED_MODULE_9__.normalizeUriPattern)(uriPattern, entryStoreBaseURI);
    }
  }
  constraints() {
    return this.source.constraints;
  }
  getId() {
    return this.source.id;
  }
  getName() {
    return this.get('name');
  }
  global() {
    return this.source.global !== false;
  }
  label() {
    return this.source.label;
  }
  description() {
    return this.source.description;
  }
  refines() {
    return this.source.refines;
  }
  useWith() {
    return this.source.useWith;
  }

  /**
   * Gets the EntryStore that corresponds to the entitytype's storeConfig.
   *
   * @returns {EntryStore|undefined}
   */
  getStore() {
    var _this$source$storeCon;
    return (_this$source$storeCon = this.source.storeConfig) === null || _this$source$storeCon === void 0 ? void 0 : _this$source$storeCon.store;
  }

  /**
   * Gets the EntryStoreUtil that corresponds to the entitytype's storeConfig.
   *
   * @returns {EntryStoreUtil|undefined}
   */
  getStoreUtil() {
    var _this$source$storeCon2;
    return (_this$source$storeCon2 = this.source.storeConfig) === null || _this$source$storeCon2 === void 0 ? void 0 : _this$source$storeCon2.util;
  }

  /**
   * Gets the store configuration specified for this particular entitytype.
   *
   * @returns {object|undefined}
   */
  getStoreConfig() {
    return this.source.storeConfig;
  }
  getRelations() {
    return this.get('relations');
  }

  /**
   * Gets the normalized entity type definition. Gets a specific property value
   * by providing source path.
   *
   * @param {string} path
   * @returns {unknown}
   */
  get(path) {
    if (!path) return this.source;
    return (0,lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"])(this.source, path);
  }
  set(property, value) {
    this.source[property] = value;
  }

  /**
   * Template id to use for local metadata and external metadata if no external
   * template id is given. Another exception is when a complementary template id
   * has been provided.
   *
   * @returns {string}
   */
  templateId() {
    return this.source.template;
  }
  template() {
    return this._itemStore.getItem(this.source.template);
  }
  templateLevel() {
    return this.source.templateLevel;
  }

  /**
   * Template id to use if external metadata is different from local metadata.
   *
   * @returns {string}
   */
  externalTemplateId() {
    return this.source.externalTemplate || this.source.template;
  }
  externalTemplate() {
    return this._itemStore.getItem(this.source.externalTemplate || this.source.template);
  }

  /**
   * Should be used to complement external metadata. If none is given, the regular
   * template is used. For example we might want to override a specification's title
   * but leave the description be, hence we need a template that has a title but not
   * a description.
   *
   * @returns {string}
   */
  complementaryTemplateId() {
    return this.source.complementaryTemplate || this.source.template;
  }
  complementaryTemplate() {
    return this._itemStore.getItem(this.source.complementaryTemplate || this.source.template);
  }

  /**
   *
   * @returns {boolean}
   */
  get main() {
    return this.source.main;
  }

  /**
   *
   * @returns {boolean|undefined}
   */
  get singleton() {
    return this.source.singleton;
  }

  /**
   *
   * @returns {string}
   */
  get uriPattern() {
    return this.source.uriPattern;
  }

  /**
   *
   * @returns {string[]}
   */
  getRdfType() {
    return this.constraints()[_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_5__.namespaces.expand('rdf:type')];
  }

  /**
   * Get the base URI for this EntityType. Makes various assumptions:
   *  1 - If contextName available, then this is a secondary type and so
   *      the contextName is baked in the base pattern
   *  2 - If contextName is not available it considered to be a primary type,
   *  so return the base URI before the occurrence of contextName.
   *
   * @param {string} contextName
   * @returns {string}
   */
  getUriPatternBase() {
    let contextName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
    const properties = contextName ? {
      contextName
    } : {};
    return (0,_utils_uri__WEBPACK_IMPORTED_MODULE_9__.constructURIFromPattern)(this.uriPattern, properties);
  }
  match(entry, module) {
    const resourceURI = entry.getResourceURI();
    if (module && this.source.module && this.source.module.indexOf(module) === -1) {
      return undefined;
    }
    const graphMatch = this._match(this._getSourceGraph(entry), resourceURI);
    if (graphMatch) return graphMatch;
    return this._match(entry.getCachedExternalMetadata(), resourceURI);
  }
  _match(graph, resourceURI) {
    return Object.entries(this.source.constraints).every(_ref => {
      let [property, val] = _ref;
      if (Array.isArray(val)) {
        return val.some(obj => graph.find(resourceURI, property, obj).length > 0);
      }
      return graph.find(resourceURI, property, val).length > 0;
    });
  }
  _getSourceGraph(entry) {
    if (this.source.matchSource === 'entry') return entry.getEntryInfo().getGraph();
    return entry.getMetadata();
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/LookupStore.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/LookupStore.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   LookupStore: () => (/* binding */ LookupStore)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.match.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var _EntityType__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./EntityType */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/EntityType.js");
/* harmony import */ var _ProjectType__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ProjectType */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/ProjectType.js");
/* harmony import */ var _utils_uri__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/uri */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/uri.js");
/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils/index */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/index.js");
/* harmony import */ var _utils_restrictions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils/restrictions */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/restrictions.js");














class LookupStore {
  constructor(params) {
    this._entityTypeMap = new Map();
    this._projectTypeMap = new Map();
    if (params) {
      this.init(params);
    }
  }
  init(_ref) {
    let {
      entityTypeConfigs,
      entryStore,
      itemStore,
      projectTypeConfigs = [],
      getCurrentModule = () => {}
    } = _ref;
    // init entity types
    entityTypeConfigs.forEach(entityTypeConfig => {
      const entityType = new _EntityType__WEBPACK_IMPORTED_MODULE_9__.EntityType(entityTypeConfig, entryStore, itemStore);
      this._entityTypeMap.set(entityType.getId(), entityType);
    });

    // create project types
    projectTypeConfigs.forEach(projectTypeConfig => {
      const projectType = new _ProjectType__WEBPACK_IMPORTED_MODULE_10__.ProjectType(projectTypeConfig, entryStore);
      this._projectTypeMap.set(projectType.getId(), projectType);
    });
    this._entryStore = entryStore;
    this._getCurrentModule = getCurrentModule;
  }

  /**
   * Get all available entity types
   *
   * @returns {EntityType[]}
   */
  getEntityTypes() {
    return Array.from(this._entityTypeMap.values());
  }

  /**
   * Get all available project types
   *
   * @returns {ProjectType[]}
   */
  getProjectTypes() {
    return Array.from(this._projectTypeMap.values());
  }

  /**
   * Get all available entity types for a context. If not saved in context, get
   * all available entity types fullfilling restrictions.
   *
   * @param {Context} context
   * @param {object} userInfo
   * @param {boolean} restrictToModule
   * @returns {EntityType[]}
   */
  async getEntityTypesInContext(context, userInfo) {
    let restrictToModule = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
    const moduleName = this._getCurrentModule(context);
    const entityTypesInContext = await this.getPrimaryInContext(context);
    const entityTypes = entityTypesInContext.length ? entityTypesInContext : this.getEntityTypes();
    return (0,_utils_restrictions__WEBPACK_IMPORTED_MODULE_13__.filterOnRestrictions)(entityTypes, userInfo, moduleName, restrictToModule);
  }

  /**
   *
   * @param {Entry} entry
   * @param {Entry} parentEntry
   * @returns {object}
   */
  async getTemplate(entry, parentEntry) {
    const entityType = await this.inUse(entry, parentEntry);
    return entityType.template();
  }

  /**
   * Checks for property in EntityType and if missing tries to find it in through
   * refines.
   *
   * @param {EntityType} entityType
   * @param {string} property
   * @returns {string|undefined}
   */
  findValueInRefinesChain(entityType, property) {
    const value = entityType.get(property);
    if (value) return value;
    const refines = entityType.refines();
    if (!refines) return;
    return this.findValueInRefinesChain(this.getByName(refines), property);
  }

  /**
   * Find entity type by using rdf type for entry. Please note that this may
   * not be the best match but is rather used to find the best match by
   * additional steps.
   *
   * @param {Entry} entry
   * @returns {Promise<EntityType|undefined>}
   */
  async findEntityTypeByEntry(entry) {
    const graph = entry.getMetadata();
    const resourceURI = entry.getResourceURI();
    const rdfType = graph.findFirstValue(resourceURI, 'rdf:type');
    const moduleName = await this._getCurrentModule(entry.getContext(), false);
    return this.getEntityTypeByRdfType(rdfType, moduleName);
  }

  /**
   * Find parent entry through the useWith relation. This also requires that a
   * useWithProperty is set on the child entity type, in order to make a
   * reliable match.
   *
   * @param {Entry} entry
   * @returns {Promise<Entry|undefined>}
   */
  async findParentEntry(entry) {
    const entityType = await this.findEntityTypeByEntry(entry);
    if (!entityType) return;
    const parentName = entityType.useWith();
    const property = this.findValueInRefinesChain(entityType, 'useWithProperty');
    if (!parentName || !property) return;
    const parentEntityType = this.getByName(parentName);
    const parentRdfType = parentEntityType.getRdfType();
    const [parentEntry] = await this._entryStore.newSolrQuery().context(entry.getContext()).rdfType(parentRdfType).uriProperty(property, entry.getResourceURI()).getEntries();
    return parentEntry;
  }

  /**
   * Find the entity type in use for the given entry.
   * Check in order:
   * 1. Entity type explicitly specified to be used in conjunction by entity type for parent entry
   * 2. Entity type specified in the entry information.
   * 3. Matching primary entity type specified on the context (if entity types specified there)
   * 4. Matching primary entity type globally
   * 5. Matching entity type that may require parent entry but not provided
   *
   * @param {Entry} entry
   * @param {Entry} parentEntry
   * @returns {Promise<EntityType|undefined>}
   */
  async inUse(entry, parentEntry) {
    if (parentEntry) {
      try {
        const parentEntityType = await this.inUse(parentEntry);
        const use = this.useWith(parentEntityType, entry);
        if (use) {
          return use;
        }
      } catch (_unused) {
        /* inUse may throw (e.g. from getPrimaryInContext) but in this method
          this is not an error state as we have a valid fallback. */
      }
    }
    const graph = entry.getEntryInfo().getGraph();
    const entityTypeId = graph.findFirstValue(entry.getEntryInfo().getMetadataURI(), 'esterms:entityType');
    if (entityTypeId) {
      const entityType = this.get(entityTypeId);
      if (entityType) {
        return entityType;
      }
    }
    const primary = await this.primary(entry);
    if (primary) return primary;
    if (parentEntry) return;
    // try to find a fallback parent entry in case this is an entry depending on
    // a parent
    const fallbackParentEntry = await this.findParentEntry(entry);
    if (fallbackParentEntry) return this.inUse(entry, fallbackParentEntry);
  }

  /**
   * Get project type in context
   *
   * @param {Context} context
   * @param {boolean} direct
   * @returns {Promise<ProjectType|undefined>|ProjectType|undefined}
   */
  getProjectTypeInUse(context) {
    let direct = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    const findProjectType = contextEntry => {
      const projectTypeId = _ProjectType__WEBPACK_IMPORTED_MODULE_10__.ProjectType.findIdInContext(contextEntry);
      return this.getProjectType(projectTypeId);
    };
    if (!direct) return context.getEntry().then(contextEntry => findProjectType(contextEntry));
    return findProjectType(context.getEntry(true));
  }

  /**
   * Find the entity type (if any) that must be used in combination with the given entity type
   * and also matches the given entry.
   *
   * @param {EntityType} entitytype
   * @param {Entry} entry
   * @returns {EntityType|undefined}
   */
  useWith(entitytype, entry) {
    const id = entitytype.getId();
    const moduleName = this._getCurrentModule(entry.getContext());
    return this.getEntityTypes().find(entityType => entityType.useWith() === id && entityType.match(entry, moduleName));
  }

  /**
   * Find the primary and secondary entity types for the given entry.
   * Check in order:
   * 1. Context specific secondary entity types (if configuration on context level)
   * 2. Available matching secondary entity types(otherwise)
   *
   * @param {Entry} entry
   * @param {Entry} parentEntry
   * @returns {Promise<{origin?: string, primary: EntityType|undefined, secondary: EntityType[]}>}
   *  secondary is always an array.
   */
  async options(entry, parentEntry) {
    if (parentEntry) {
      try {
        const parentEntityType = await this.inUse(parentEntry);
        const primary = this.useWith(parentEntityType, entry);
        if (primary) {
          return {
            origin: 'parent',
            primary,
            secondary: []
          };
        }
      } catch (_unused2) {
        /* inUse may throw (e.g. from getPrimaryInContext) but in this method
          this is not an error state as we have a valid fallback. */
      }
    }
    const primary = await this.primary(entry);
    const secondary = await this.secondary(entry, primary);
    return {
      primary,
      secondary
    };
  }

  /**
   * Get project types for current module and if accessible for user
   *
   * @param {object} userInfo
   * @returns {ProjectType[]}
   */
  getProjectTypeOptions(userInfo) {
    const moduleName = this._getCurrentModule();
    return this.getProjectTypes().filter(projectType => projectType.getModule().includes(moduleName) && projectType.isAvailableToUser(userInfo));
  }

  /**
   *
   * @returns {boolean}
   */
  hasProjectTypes() {
    return Boolean(this.getProjectTypes().length);
  }

  /**
   * Get all primary entity types.
   *
   * @returns {EntityType[]}
   */
  availablePrimary() {
    return this.getEntityTypes().filter(entityType => entityType.refines() == null && entityType.useWith() == null);
  }

  /**
   * Find the primary entity types for the given context entry.
   * Check in order:
   * 1. project type in context
   * 2. entity type in context
   *
   * @param {Context} context
   * @returns {Promise<EntityType[]>}
   */
  async getPrimaryInContext(context) {
    const contextEntry = await context.getEntry();
    const graph = contextEntry.getEntryInfo().getGraph();
    const projectTypeId = _ProjectType__WEBPACK_IMPORTED_MODULE_10__.ProjectType.findIdInContext(contextEntry);
    if (projectTypeId && this.hasProjectTypes()) {
      const projectType = this.getProjectType(projectTypeId);
      if (!projectType) {
        throw new Error(`No project type found for id: ${projectTypeId}`);
      }
      const locatedEntityTypes = projectType.getPrimary().map(entityTypeId => this.get(entityTypeId));
      if (locatedEntityTypes.some(type => !type)) {
        throw new Error('Mismatch between the context entity types and configuration. At least one seems to be missing.');
      }
      return locatedEntityTypes;
    }

    // entity types in context
    const entityTypes = graph.find(contextEntry.getResourceURI(), 'esterms:entityType') // TODO define constant
    .map(statement => this.get(statement.getValue()));
    if (entityTypes.some(entityType => !entityType)) {
      throw new Error('Mismatch between the context entity types and configuration. At least one seems to be missing.');
    }
    return entityTypes;
  }

  /**
   * Find the primary entity type for the given entry.
   * Check in order:
   * 1. Matching primary entity type specified on the context (if entity types specified there)
   * 2. Matching primary entity types defined for the current module
   * 3. Matching primary entity types defined globally
   *
   * @param {Entry} entry
   * @returns {Promise<EntityType|undefined>}
   */
  async primary(entry) {
    const context = entry.getContext();
    const moduleName = this._getCurrentModule(context);

    // In context
    const enitytypesInContext = await this.getPrimaryInContext(context);
    if (enitytypesInContext.length) {
      const matchingEntityTypes = enitytypesInContext.find(entityType => entityType.match(entry, moduleName));
      if (matchingEntityTypes) {
        return matchingEntityTypes;
      }
    }

    // In current module or globally
    const availablePrimarylist = this.availablePrimary();
    const entityTypeInModule = availablePrimarylist.find(entityType => entityType.match(entry, moduleName));
    if (entityTypeInModule) return entityTypeInModule;
    const entityTypeInGlobal = availablePrimarylist.find(entityType => entityType.match(entry));

    /**
     * no match may be the case when relying on useWith and there are no primary
     * or secondary, as for distributions
     */
    if (!entityTypeInGlobal) return;
    return entityTypeInGlobal;
  }

  /**
   * Get all secondary entity types.
   *
   * @returns {EntityType[]}
   */
  availableSecondary() {
    return this.getEntityTypes().filter(entityType => entityType.refines() != null && entityType.useWith() == null && entityType.global());
  }

  /**
   * Find the secondary entity types for the given context entry.
   * Check in order:
   * 1. project type in context
   * 2. entity type in context
   *
   * @param {Context} context
   * @param {EntityType} primary
   * @returns {Promise<EntityType[]>}
   */
  async getSecondaryInContext(context, primary) {
    if (!primary) return [];
    const contextEntry = await context.getEntry();
    const graph = contextEntry.getEntryInfo().getGraph();

    // Project type in context
    const projectTypeId = _ProjectType__WEBPACK_IMPORTED_MODULE_10__.ProjectType.findIdInContext(contextEntry);
    if (projectTypeId && this.hasProjectTypes()) {
      const projectType = this.getProjectType(projectTypeId);
      return projectType.getOptional().map(entityTypeId => this.get(entityTypeId));
    }

    // Entity type in context
    return graph.find(contextEntry.getResourceURI(), 'esterms:secondaryEntityType').map(statement => this.get(statement.getValue())).filter(entityType => entityType.refines() === primary.getId());
  }

  /**
   * Find the secondary entity types for the given entry.
   * Check in order:
   * 1. Context specific secondary entity types (if configuration on context level)
   * 2. Available matching secondary entity types(otherwise)
   *
   * @param {Entry} entry
   * @param {EntityType} primary
   * @returns {Promise<EntityType[]>} always returns an array, may be of zero length.
   */
  async secondary(entry, primary) {
    if (!primary) return [];
    const context = entry.getContext();
    const moduleName = this._getCurrentModule(context);

    // In context
    const secondaryInContext = await this.getSecondaryInContext(context, primary);
    if (secondaryInContext.length) {
      const matchingSecondary = secondaryInContext.filter(entityType => entityType.match(entry, moduleName));
      if (matchingSecondary.length) {
        return matchingSecondary;
      }
    }
    const secondaryAvailableList = this.availableSecondary();
    return secondaryAvailableList.filter(entityType => entityType.refines() === primary.getId());
  }

  /**
   * Assumes there's only one main entity
   *
   * @param {string} moduleName
   * @returns {EntityType|undefined}
   */
  getMainEntityType(moduleName) {
    return this.getEntityTypes().find(entityType => {
      var _source$module;
      const {
        source,
        main
      } = entityType;
      return (!source.module || ((_source$module = source.module) === null || _source$module === void 0 ? void 0 : _source$module.includes(moduleName))) && main;
    });
  }

  /**
   *
   * @param {string} rdfType
   * @param {string} moduleName
   * @returns {EntityType|undefined}
   */
  getEntityTypeByRdfType(rdfType) {
    let moduleName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
    return this.getEntityTypes().find(entityType => {
      const {
        source
      } = entityType;
      if (moduleName && (!source.module || source.module.includes(moduleName)) && source.rdfType) {
        // convert all rdfType fields to array and check if given rdfType is contained in it
        const rdfTypes = entityType.getRdfType().map(t => _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_8__.namespaces.expand(t));
        return rdfTypes.some(type => type === rdfType);
      }
      return false;
    });
  }

  /**
   * Get entity type by id.
   *
   * @param {string} id
   * @returns {EntityType|undefined}
   */
  get(id) {
    return this._entityTypeMap.get(id);
  }

  /**
   * Find project type for id.
   *
   * @param {string} id
   * @returns {ProjectType|undefined}
   */
  getProjectType(id) {
    return this.getProjectTypes().find(projectType => projectType.getId() === id);
  }

  /**
   * Find project type by name.
   *
   * @param {string} name
   * @returns {ProjectType|undefined}
   */
  getProjectTypeByName(name) {
    return this.getProjectTypes().find(projectType => projectType.getName() === name);
  }

  /**
   * Find entity types for name.
   *
   * @param {string} name
   * @returns {EntityType|undefined}
   */
  getByName(name) {
    return this._entityTypeMap.get((0,_utils_uri__WEBPACK_IMPORTED_MODULE_11__.entityTypeNameToURI)(name, this._entryStore));
  }

  /**
   * Find best matching entity type in this order:
   * 1. entity type in project type
   * 2. entity type in global
   *
   * @param {object} constraints
   * @param {ProjectType} projectType
   * @param {Context} context
   * @returns {EntityType|undefined}
   */
  getEntityTypeByConstraints(constraints, projectType, context) {
    const moduleName = this._getCurrentModule(context);
    const normalizedConstraints = (0,_utils_index__WEBPACK_IMPORTED_MODULE_12__.normalizeConstraints)(constraints);
    // entity type in project type
    if (projectType) {
      const entityTypes = projectType.getPrimary().map(entityTypeName => this.getByName(entityTypeName));
      const entityType = (0,_utils_index__WEBPACK_IMPORTED_MODULE_12__.findEntityTypeByConstraint)(entityTypes, normalizedConstraints, moduleName);
      if (entityType) return entityType;
    }

    // enity type in global
    return (0,_utils_index__WEBPACK_IMPORTED_MODULE_12__.findEntityTypeByConstraint)(this.getEntityTypes(), normalizedConstraints, moduleName);
  }

  /**
   * Find the primary entity type matching against the provided rdf type.
   *
   * @param {ProjectType} projectType
   * @param {string} rdfType
   * @returns {EntityType|undefined}
   */
  getPrimaryForRdfType(projectType, rdfType) {
    const entityTypes = projectType.getPrimary().map(id => this.get(id));
    return entityTypes.find(entityType => entityType.getRdfType().includes(rdfType));
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/ProjectType.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/ProjectType.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ProjectType: () => (/* binding */ ProjectType)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.symbol.description.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js");
/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/index */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/index.js");
/* harmony import */ var _utils_restrictions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/restrictions */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/restrictions.js");
/* harmony import */ var _utils_uri__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/uri */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/uri.js");





class ProjectType {
  constructor(source, entryStore) {
    var _source$default, _source$optional, _source$includeBuilti, _source$isSingleProje;
    this.source = source;
    this._id = (0,_utils_uri__WEBPACK_IMPORTED_MODULE_4__.projectTypeNameToURI)(source.name, entryStore);
    this._default = ((_source$default = source.default) === null || _source$default === void 0 ? void 0 : _source$default.map(entityTypeName => (0,_utils_uri__WEBPACK_IMPORTED_MODULE_4__.entityTypeNameToURI)(entityTypeName, entryStore))) || [];
    this._optional = ((_source$optional = source.optional) === null || _source$optional === void 0 ? void 0 : _source$optional.map(entityTypeName => (0,_utils_uri__WEBPACK_IMPORTED_MODULE_4__.entityTypeNameToURI)(entityTypeName, entryStore))) || [];
    this._includeBuiltins = (_source$includeBuilti = source.includeBuiltins) !== null && _source$includeBuilti !== void 0 ? _source$includeBuilti : true;
    this._isSingleProject = (_source$isSingleProje = source.isSingleProject) !== null && _source$isSingleProje !== void 0 ? _source$isSingleProje : false;
  }
  static findIdInContext(contextEntry) {
    const graph = contextEntry.getEntryInfo().getGraph();
    return graph.findFirstValue(contextEntry.getResourceURI(), _utils_index__WEBPACK_IMPORTED_MODULE_2__.RDF_PROPERTY_PROJECTTYPE);
  }

  /**
   * Gets the project type configuration. Gets a specific property value by
   * providing source path.
   *
   * @param {string} path
   * @returns {unknown}
   */
  get(path) {
    if (!path) return this.source;
    return (0,lodash_es__WEBPACK_IMPORTED_MODULE_1__["default"])(this.source, path);
  }

  /**
   * @returns {string}
   */
  getId() {
    return this._id;
  }

  /**
   * @returns {string}
   */
  getName() {
    return this.source.name;
  }

  /**
   * @returns {string}
   */
  getLabel() {
    return this.source.label;
  }

  /**
   * @returns {string|undefined}
   */
  getDescription() {
    return this.source.description;
  }

  /**
   * @returns {string|undefined}
   */
  getIcon() {
    return this.source.icon;
  }

  /**
   * @returns {string}
   */
  getModule() {
    return this.source.module;
  }

  /**
   * Get primary entity type names for this project type
   *
   * @returns {string[]}
   */
  getPrimary() {
    return this._default;
  }

  /**
   * Check if user has access to project type,
   *
   * @param {object} userInfo
   * @returns {boolean}
   */
  isAvailableToUser(userInfo) {
    const {
      restrictTo
    } = this.source;
    return (0,_utils_restrictions__WEBPACK_IMPORTED_MODULE_3__.hasUserAccess)(userInfo, restrictTo);
  }

  /**
   * Get optional entity type names for this project type
   *
   * @returns {string[]}
   */
  getOptional() {
    return this._optional;
  }

  /**
   *
   * @returns {boolean}
   */
  getIncludeBuiltins() {
    return this._includeBuiltins;
  }

  /**
   *
   * @returns {boolean}
   */
  getIsSingleProject() {
    return this._isSingleProject;
  }
}

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/index.js"
/*!**********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/index.js ***!
  \**********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AGGREGATION: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.AGGREGATION),
/* harmony export */   COMPOSITION: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.COMPOSITION),
/* harmony export */   ENTITY_TYPE_RESOURCE_NAME: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.ENTITY_TYPE_RESOURCE_NAME),
/* harmony export */   EntityType: () => (/* reexport safe */ _EntityType__WEBPACK_IMPORTED_MODULE_0__.EntityType),
/* harmony export */   LookupStore: () => (/* reexport safe */ _LookupStore__WEBPACK_IMPORTED_MODULE_2__.LookupStore),
/* harmony export */   PROJECT_TYPE_RESOURCE_NAME: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.PROJECT_TYPE_RESOURCE_NAME),
/* harmony export */   ProjectType: () => (/* reexport safe */ _ProjectType__WEBPACK_IMPORTED_MODULE_1__.ProjectType),
/* harmony export */   RDF_PROPERTY_PROJECTTYPE: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.RDF_PROPERTY_PROJECTTYPE),
/* harmony export */   constructURIFromPattern: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.constructURIFromPattern),
/* harmony export */   createEntryStore: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.createEntryStore),
/* harmony export */   createEntryStoreUtils: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.createEntryStoreUtils),
/* harmony export */   entityTypeNameToURI: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.entityTypeNameToURI),
/* harmony export */   filterOnRestrictions: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.filterOnRestrictions),
/* harmony export */   findAggregationEntityTypes: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.findAggregationEntityTypes),
/* harmony export */   findCompositionEntityTypes: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.findCompositionEntityTypes),
/* harmony export */   findEntityTypeByConstraint: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.findEntityTypeByConstraint),
/* harmony export */   findNonCompositionEntityTypes: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.findNonCompositionEntityTypes),
/* harmony export */   hasUserAccess: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.hasUserAccess),
/* harmony export */   matchArrays: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.matchArrays),
/* harmony export */   matchConstraints: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.matchConstraints),
/* harmony export */   nameToURI: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.nameToURI),
/* harmony export */   normalizeConstraints: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.normalizeConstraints),
/* harmony export */   normalizeEntityTypeUris: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.normalizeEntityTypeUris),
/* harmony export */   normalizeSourceConstraints: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.normalizeSourceConstraints),
/* harmony export */   normalizeUriPattern: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.normalizeUriPattern),
/* harmony export */   projectTypeNameToURI: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.projectTypeNameToURI),
/* harmony export */   template: () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_3__.template)
/* harmony export */ });
/* harmony import */ var _EntityType__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EntityType */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/EntityType.js");
/* harmony import */ var _ProjectType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ProjectType */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/ProjectType.js");
/* harmony import */ var _LookupStore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LookupStore */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/LookupStore.js");
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/index.js");





/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/constants.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/constants.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   ENTITY_TYPE_RESOURCE_NAME: () => (/* binding */ ENTITY_TYPE_RESOURCE_NAME),
/* harmony export */   PROJECT_TYPE_RESOURCE_NAME: () => (/* binding */ PROJECT_TYPE_RESOURCE_NAME),
/* harmony export */   RDF_PROPERTY_PROJECTTYPE: () => (/* binding */ RDF_PROPERTY_PROJECTTYPE)
/* harmony export */ });
// entity types
const ENTITY_TYPE_RESOURCE_NAME = 'entitytypes';

// project types
const PROJECT_TYPE_RESOURCE_NAME = 'projecttypes';
const RDF_PROPERTY_PROJECTTYPE = 'esterms:projectType';

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/constraints.js"
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/constraints.js ***!
  \**********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   findEntityTypeByConstraint: () => (/* binding */ findEntityTypeByConstraint),
/* harmony export */   matchArrays: () => (/* binding */ matchArrays),
/* harmony export */   matchConstraints: () => (/* binding */ matchConstraints),
/* harmony export */   normalizeConstraints: () => (/* binding */ normalizeConstraints),
/* harmony export */   normalizeSourceConstraints: () => (/* binding */ normalizeSourceConstraints)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_es_object_from_entries_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.object.from-entries.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.object.from-entries.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @entryscape/rdfjson */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js");
/* harmony import */ var lodash_es__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash-es */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/clone.js");






function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



/**
 * Expands all keys and values in constraints object.
 *
 * @param {object} constraints
 * @returns {object}
 */
const normalizeConstraints = function normalizeConstraints() {
  let constraints = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  const constraintsClone = _objectSpread({}, constraints);
  const expandedConstraints = Object.entries(constraintsClone).map(_ref => {
    let [key, value] = _ref;
    const uris = Array.isArray(value) ? value : [value];
    return [_entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(key), uris.map(uri => uri === null ? null : _entryscape_rdfjson__WEBPACK_IMPORTED_MODULE_6__.namespaces.expand(uri))];
  });
  return Object.fromEntries(expandedConstraints);
};

/**
 * Expands all keys and values in constraints object. If rdfType is provided to
 * source, it's added to the contstraint. Compare normalizeConstraints.
 *
 * @param {object} source
 * @returns {object}
 */
const normalizeSourceConstraints = source => {
  const constraintsClone = (0,lodash_es__WEBPACK_IMPORTED_MODULE_7__["default"])(source.constraints) || {};

  // if rdfType provided, add it to constraints object
  if (source.rdfType) {
    constraintsClone['rdf:type'] = source.rdfType;
  }
  return normalizeConstraints(constraintsClone);
};

/**
 * Matches two arrays. Degree of match reflects the following order and
 * corresponding number:
 * 1 All elements in both arrays match (order neglected) and both have same
 * length.
 * 2 All elements in array1 are included in array2 or array 2 includes null,
 * which matches all.
 * 3 First element in array1 matches first element in array2.
 * 4 Some element in array1 matches some element in array2.
 *
 * @param {string[]} array1
 * @param {string[]} array2
 * @returns {number|undefined}
 */
const matchArrays = function matchArrays(array1) {
  let array2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  if (array2.includes(null)) return 2;
  const includesAll = array1.every(element => array2.includes(element));
  if (includesAll && array1.length === array2.length) return 1;
  if (includesAll) return 2;
  if (array1[0] === array2[0]) return 3;
  if (array1.some(element => array2.includes(element))) return 4;
};

/**
 * Matches two constraint objects and returns degree of match.
 * IMPORTANT: the order of constraints is important!
 *
 * @param {object} constraints1
 * @param {object} constraints2 - entitytype constraints
 * @returns {number|undefined}
 */
const matchConstraints = (constraints1, constraints2) => {
  let totalMatchWeight = 0;
  for (const key of Object.keys(constraints1)) {
    const matchWeight = matchArrays(constraints1[key], constraints2[key]);
    if (!matchWeight) return;
    totalMatchWeight += matchWeight;
  }
  return totalMatchWeight;
};

/**
 *  Find besting matching entity type by constraint. See matchArrays how the
 *  matching weight is calculated.
 *
 * @param {object[]} entityTypes
 * @param {object} constraint
 * @param {string} moduleName
 * @returns {object|undefined}
 */
const findEntityTypeByConstraint = (entityTypes, constraint, moduleName) => {
  // Get matching weight for each entity type. Exclude no match and wrong module.
  const matches = entityTypes.filter(_ref2 => {
    let {
      source
    } = _ref2;
    return moduleName && source.module ? source.module.includes(moduleName) : true;
  }) // exlude if wrong module
  .map(entityType => {
    return {
      // param order is important!
      matchWeight: matchConstraints(constraint, entityType.source.constraints),
      entityType
    };
  }) // map entity type types with matching weight
  .filter(_ref3 => {
    let {
      matchWeight
    } = _ref3;
    return matchWeight;
  }); // exclude if no match

  if (!matches.length) return;

  // Sort matches with the lowest total weight first and return first.
  // Keep order if equal weight.
  const [{
    entityType
  }] = matches.sort((matchA, matchB) => {
    if (matchA.matchWeight === matchB.matchWeight) return 0;
    return matchA.matchWeight > matchB.matchWeight ? 1 : -1;
  });
  return entityType;
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/entryStore.js"
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/entryStore.js ***!
  \*********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   createEntryStore: () => (/* binding */ createEntryStore),
/* harmony export */   createEntryStoreUtils: () => (/* binding */ createEntryStoreUtils)
/* harmony export */ });
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");

const createEntryStore = endpoint => {
  const entryStore = new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__.EntryStore(endpoint);
  entryStore.getREST().disableJSONP();
  entryStore.getREST().disableCredentials();
  return entryStore;
};

/**
 * Initializes a store's utils.
 *
 * @param {EntryStore} entryStore
 * @returns {EntryStoreUtil}
 */
const createEntryStoreUtils = entryStore => {
  return new _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_0__.EntryStoreUtil(entryStore);
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/index.js"
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/index.js ***!
  \****************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AGGREGATION: () => (/* reexport safe */ _relations__WEBPACK_IMPORTED_MODULE_3__.AGGREGATION),
/* harmony export */   COMPOSITION: () => (/* reexport safe */ _relations__WEBPACK_IMPORTED_MODULE_3__.COMPOSITION),
/* harmony export */   ENTITY_TYPE_RESOURCE_NAME: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.ENTITY_TYPE_RESOURCE_NAME),
/* harmony export */   PROJECT_TYPE_RESOURCE_NAME: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.PROJECT_TYPE_RESOURCE_NAME),
/* harmony export */   RDF_PROPERTY_PROJECTTYPE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_0__.RDF_PROPERTY_PROJECTTYPE),
/* harmony export */   constructURIFromPattern: () => (/* reexport safe */ _uri__WEBPACK_IMPORTED_MODULE_2__.constructURIFromPattern),
/* harmony export */   createEntryStore: () => (/* reexport safe */ _entryStore__WEBPACK_IMPORTED_MODULE_5__.createEntryStore),
/* harmony export */   createEntryStoreUtils: () => (/* reexport safe */ _entryStore__WEBPACK_IMPORTED_MODULE_5__.createEntryStoreUtils),
/* harmony export */   entityTypeNameToURI: () => (/* reexport safe */ _uri__WEBPACK_IMPORTED_MODULE_2__.entityTypeNameToURI),
/* harmony export */   filterOnRestrictions: () => (/* reexport safe */ _restrictions__WEBPACK_IMPORTED_MODULE_4__.filterOnRestrictions),
/* harmony export */   findAggregationEntityTypes: () => (/* reexport safe */ _relations__WEBPACK_IMPORTED_MODULE_3__.findAggregationEntityTypes),
/* harmony export */   findCompositionEntityTypes: () => (/* reexport safe */ _relations__WEBPACK_IMPORTED_MODULE_3__.findCompositionEntityTypes),
/* harmony export */   findEntityTypeByConstraint: () => (/* reexport safe */ _constraints__WEBPACK_IMPORTED_MODULE_1__.findEntityTypeByConstraint),
/* harmony export */   findNonCompositionEntityTypes: () => (/* reexport safe */ _relations__WEBPACK_IMPORTED_MODULE_3__.findNonCompositionEntityTypes),
/* harmony export */   hasUserAccess: () => (/* reexport safe */ _restrictions__WEBPACK_IMPORTED_MODULE_4__.hasUserAccess),
/* harmony export */   matchArrays: () => (/* reexport safe */ _constraints__WEBPACK_IMPORTED_MODULE_1__.matchArrays),
/* harmony export */   matchConstraints: () => (/* reexport safe */ _constraints__WEBPACK_IMPORTED_MODULE_1__.matchConstraints),
/* harmony export */   nameToURI: () => (/* reexport safe */ _uri__WEBPACK_IMPORTED_MODULE_2__.nameToURI),
/* harmony export */   normalizeConstraints: () => (/* reexport safe */ _constraints__WEBPACK_IMPORTED_MODULE_1__.normalizeConstraints),
/* harmony export */   normalizeEntityTypeUris: () => (/* reexport safe */ _uri__WEBPACK_IMPORTED_MODULE_2__.normalizeEntityTypeUris),
/* harmony export */   normalizeSourceConstraints: () => (/* reexport safe */ _constraints__WEBPACK_IMPORTED_MODULE_1__.normalizeSourceConstraints),
/* harmony export */   normalizeUriPattern: () => (/* reexport safe */ _uri__WEBPACK_IMPORTED_MODULE_2__.normalizeUriPattern),
/* harmony export */   projectTypeNameToURI: () => (/* reexport safe */ _uri__WEBPACK_IMPORTED_MODULE_2__.projectTypeNameToURI),
/* harmony export */   template: () => (/* reexport safe */ _uri__WEBPACK_IMPORTED_MODULE_2__.template)
/* harmony export */ });
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/constants.js");
/* harmony import */ var _constraints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constraints */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/constraints.js");
/* harmony import */ var _uri__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./uri */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/uri.js");
/* harmony import */ var _relations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./relations */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/relations.js");
/* harmony import */ var _restrictions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./restrictions */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/restrictions.js");
/* harmony import */ var _entryStore__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./entryStore */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/entryStore.js");







/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/relations.js"
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/relations.js ***!
  \********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   AGGREGATION: () => (/* binding */ AGGREGATION),
/* harmony export */   COMPOSITION: () => (/* binding */ COMPOSITION),
/* harmony export */   findAggregationEntityTypes: () => (/* binding */ findAggregationEntityTypes),
/* harmony export */   findCompositionEntityTypes: () => (/* binding */ findCompositionEntityTypes),
/* harmony export */   findNonCompositionEntityTypes: () => (/* binding */ findNonCompositionEntityTypes)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _EntityType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../EntityType */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/EntityType.js");





const AGGREGATION = 'aggregation';
const COMPOSITION = 'composition';

/**
 *
 * @param {EntityType[]} entityTypes
 * @param {string} relationType
 * @returns {object[]}
 */
const getRelations = (entityTypes, relationType) => {
  const allRelations = [];
  entityTypes.forEach(entityType => {
    const relations = entityType.getRelations();
    if (!relations) return;
    const relationsForType = relations.filter(_ref => {
      let {
        type
      } = _ref;
      return type === relationType;
    });
    allRelations.push(...relationsForType);
  });
  return allRelations;
};

/**
 *
 * @param {EntityType[]} entityTypes
 * @param {string} relationType
 * @returns {EntityType[]}
 */
const findEntityTypesByRelation = (entityTypes, relationType) => {
  const relations = getRelations(entityTypes, relationType);
  const relationEntityTypeNames = relations.map(relation => relation.entityType);
  return entityTypes.filter(entityType => relationEntityTypeNames.includes(entityType.getName()));
};

/**
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const findCompositionEntityTypes = entityTypes => {
  return findEntityTypesByRelation(entityTypes, COMPOSITION);
};

/**
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const findAggregationEntityTypes = entityTypes => {
  return findEntityTypesByRelation(entityTypes, AGGREGATION);
};

/**
 *
 * @param {EntityType[]} entityTypes
 * @returns {EntityType[]}
 */
const findNonCompositionEntityTypes = entityTypes => {
  const compositionEntityTypes = findCompositionEntityTypes(entityTypes);
  return entityTypes.filter(entityType => !compositionEntityTypes.includes(entityType));
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/restrictions.js"
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/restrictions.js ***!
  \***********************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   filterOnRestrictions: () => (/* binding */ filterOnRestrictions),
/* harmony export */   hasUserAccess: () => (/* binding */ hasUserAccess)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var _EntityType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../EntityType */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/EntityType.js");



/**
 *
 * @param {object} userInfo
 * @param {string} restrictTo
 * @returns {boolean}
 */
const hasUserAccess = (userInfo, restrictTo) => {
  if (restrictTo) {
    switch (restrictTo) {
      case 'adminUser':
        return Boolean(userInfo.isAdmin);
      case 'adminGroup':
        return Boolean(userInfo.inAdminGroup);
      case 'admin':
        return Boolean(userInfo.hasAdminRights);
      default:
        throw new Error(`Invalid restrictTo group '${restrictTo}' is used`);
    }
  }
  return true;
};

/**
 * Entitytypes can be restricted to one or several modules, if no restriction is given
 * it is interpreted as it is available in all modules.
 *
 * @param {EntityType} entityType
 * @param {string} currentModule
 * @param {boolean} restrictedToModule
 * @returns {boolean}
 */
const availableForModule = (entityType, currentModule, restrictedToModule) => {
  const module = entityType.get('module');
  if (!restrictedToModule && !module) return true;
  return Array.isArray(module) ? module.includes(currentModule) : module === currentModule;
};

/**
 *
 * @param {EntityType[]} entityTypes
 * @param {object} userInfo
 * @param {string} currentModule
 * @param {boolean} restrictedToModule
 * @returns {EntityType[]}
 */
const filterOnRestrictions = (entityTypes, userInfo, currentModule, restrictedToModule) => {
  return entityTypes.filter(entityType => {
    const avFrMod = availableForModule(entityType, currentModule, restrictedToModule);
    const hsUsrAcc = hasUserAccess(userInfo, entityType.get('restrictTo'));
    const isGlobal = entityType.global();
    return entityType && avFrMod && hsUsrAcc && isGlobal;
  });
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/uri.js"
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/uri.js ***!
  \**************************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   constructURIFromPattern: () => (/* binding */ constructURIFromPattern),
/* harmony export */   entityTypeNameToURI: () => (/* binding */ entityTypeNameToURI),
/* harmony export */   nameToURI: () => (/* binding */ nameToURI),
/* harmony export */   normalizeEntityTypeUris: () => (/* binding */ normalizeEntityTypeUris),
/* harmony export */   normalizeUriPattern: () => (/* binding */ normalizeUriPattern),
/* harmony export */   projectTypeNameToURI: () => (/* binding */ projectTypeNameToURI),
/* harmony export */   template: () => (/* binding */ template)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.constructor.js");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/web.url.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.js");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/web.url.to-json.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url.to-json.js");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.url-search-params.js");
/* harmony import */ var _entryscape_entrystore_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @entryscape/entrystore-js */ "./node_modules/.pnpm/@entryscape+entrystore-js@4.16.2/node_modules/@entryscape/entrystore-js/src/index.js");
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./constants */ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/types/utils/constants.js");
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }













const URI_PATTERN_PROPERTIES = {
  contextId: undefined,
  entryId: undefined,
  contextName: undefined,
  entryName: undefined,
  uuid: undefined
};

/**
 * Template replaces values in a string by using same delimeter ${} as for a
 * string literal. Second argument specifies what to replace, as key values.
 *
 * @param {string} replaceString string to replace
 * @param {object} properties data properties to replace
 * @returns {string} replaced string
 */
const template = (replaceString, properties) => {
  if (!properties) return replaceString;
  let replacedString = replaceString;
  Object.entries(properties).forEach(_ref => {
    let [key, value = ''] = _ref;
    replacedString = replacedString.replace(new RegExp(`\\$\\{${key}\\}`, 'g'), value);
  });
  return replacedString;
};

/**
 * @param {string} uriPattern
 * @param {{
 *  entryId: string,
 *  contextId: string
 *  uriPattern: string,
 *  entryName: string,
 *  contextName: string,
 *  uuid: string
 * }} properties
 * @returns {string}
 */
const constructURIFromPattern = function constructURIFromPattern(uriPattern) {
  let properties = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const uri = template(uriPattern, _objectSpread(_objectSpread({}, URI_PATTERN_PROPERTIES), properties));
  try {
    const woot = new URL(uri);
    const {
      protocol,
      hostname,
      pathname
    } = woot;
    const uriPath = pathname.replace(/\/{2,}/g, '/');
    return `${protocol}//${hostname}${uriPath}`;
  } catch (_unused) {
    return uri;
  }
};

/**
 * Constructs a type resource uri.
 *
 * @param {string} typeName
 * @param {string} resourceTypeName
 * @param {EntryStore} entryStore
 * @returns {string}
 */
const nameToURI = (typeName, resourceTypeName, entryStore) => {
  const resourceBaseURI = entryStore.getResourceURI(resourceTypeName, '');
  const id = typeName.includes(resourceBaseURI) ? typeName : `${resourceBaseURI}${typeName}`;
  return id;
};

/**
 * Constructs a type resource uri.
 *
 * @param {string} entityTypeName
 * @param {EntryStore} entryStore
 * @returns {string}
 */
const entityTypeNameToURI = (entityTypeName, entryStore) => nameToURI(entityTypeName, _constants__WEBPACK_IMPORTED_MODULE_12__.ENTITY_TYPE_RESOURCE_NAME, entryStore);

/**
 * Constructs a type resource uri.
 *
 * @param {string} projectTypeName
 * @param {EntryStore} entryStore
 * @returns {string}
 */
const projectTypeNameToURI = (projectTypeName, entryStore) => nameToURI(projectTypeName, _constants__WEBPACK_IMPORTED_MODULE_12__.PROJECT_TYPE_RESOURCE_NAME, entryStore);

/**
 *
 * @param {object} entityTypeConfig
 * @param {object} entryStore
 * @returns {object}
 */
const normalizeEntityTypeUris = (entityTypeConfig, entryStore) => {
  const {
    id,
    name,
    refines,
    useWith
  } = entityTypeConfig;
  const normalizedEntityType = _objectSpread({}, entityTypeConfig);
  if (!id) {
    normalizedEntityType.id = entityTypeNameToURI(name, entryStore);
  }
  if (refines) {
    normalizedEntityType.refines = entityTypeNameToURI(refines, entryStore);
  }
  if (useWith) {
    normalizedEntityType.useWith = entityTypeNameToURI(useWith, entryStore);
  }
  return normalizedEntityType;
};
const normalizeUriPattern = (uriPattern, entryStoreBaseURI) => {
  if (!uriPattern) return uriPattern;
  const urlObject = new URL(entryStoreBaseURI);
  const domain = `${urlObject.protocol}//${urlObject.host}`;
  return uriPattern.replace('${baseURI}', entryStoreBaseURI).replace('${domain}', domain);
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/util/util.js"
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+es-utils@2.1.3_@entryscape+entrystore-js@4.16.2_@entryscape+rdfjson@2.7.8_@_77bdcc4c1fa217dbf592b7ac84eecdbd/node_modules/@entryscape/es-utils/src/util/util.js ***!
  \********************************************************************************************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   convertBytesToMBytes: () => (/* binding */ convertBytesToMBytes),
/* harmony export */   isUri: () => (/* binding */ isUri)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.number.to-fixed.js");
/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.parse-float.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.parse-float.js");
/* harmony import */ var is_url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! is-url */ "./node_modules/.pnpm/is-url@1.2.4/node_modules/is-url/index.js");




/**
 * Checks if the given string is a valid URL.
 *
 * @param {string} stringToCheck - The string to validate as a URI.
 * @returns {boolean} True if the string is a valid URL, false otherwise.
 */
const isUri = stringToCheck => is_url__WEBPACK_IMPORTED_MODULE_2__(stringToCheck);

/**
 * Converts bytes to megabytes.
 * NOTE! there is no sanity check for the given param 'bytes'
 *
 * @param {number} bytes - The number of bytes to convert.
 * @returns {number} The equivalent value in megabytes, rounded to 2 decimal places.
 */
const convertBytesToMBytes = bytes => Number(parseFloat(bytes / 1048576).toFixed(2));

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Graph.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Graph.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Graph)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formats/rdfjson/util.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfjson/util.js");
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var _Statement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Statement.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Statement.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/utils.js");
/* harmony import */ var _formats_rdfjs_rdfjs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./formats/rdfjs/rdfjs.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfjs/rdfjs.js");








/**
 * @param {Array} arr
 * @returns {*}
 * @private
 */
const zeroOrOne = arr => arr.length === 0 ? arr : [arr[0]];

/**
 * @param {rdfjson/Graph} graph
 * @param {rdfjson/Statement[]} statements an array
 * @param {Boolean=} perSubject if true means that all consecutive calls will be focused on
 * all the subjects of the specified statments, otherwise the resource objects of the statements
 * will be the focus. Assumed to be false unless explicitly set to true.
 *
 * @returns {{object: Function, objects: Function, constr: Function, each: Function, nodes:
 * Function, values: Function, firstValue: Function}}
 * @private
 */
const perStatement = (graph, statements, perSubject) => ({
  object(predicate) {
    for (let i = 0; i < statements.length; i++) {
      let subj;
      if (perSubject) {
        subj = statements[i].getSubject();
      } else {
        const t = statements[i].getType();
        if (t === 'uri' || t === 'bnode') {
          // eslint-disable-next-line no-continue
          continue;
        }
        subj = statements[i].getValue();
      }
      const stmts = graph.find(subj, predicate);
      if (stmts.length > 0) {
        perStatement(graph, [stmts[0]]);
      }
    }
    return perStatement(graph, []);
  },
  objects(predicate) {
    let nstats = [];
    let i;
    if (perSubject === true) {
      for (i = 0; i < statements.length; i++) {
        nstats = nstats.concat(graph.find(statements[i].getSubject(), predicate));
      }
    } else {
      for (i = 0; i < statements.length; i++) {
        const t = statements[i].getType();
        if (t === 'uri' || t === 'bnode') {
          nstats = nstats.concat(graph.find(statements[i].getValue(), predicate));
        }
      }
    }
    return perStatement(graph, nstats);
  },
  constr(predicate, object) {
    let _object = object;
    if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isString(_object)) {
      _object = {
        type: 'uri',
        value: _object
      };
    }
    const nstats = [];
    for (let i = 0; i < statements.length; i++) {
      const subj = perSubject ? statements[i].getSubject() : statements[i].getValue();
      if (graph.find(subj, predicate, _object).length > 0) {
        nstats.push(statements[i]);
      }
    }
    return perStatement(graph, nstats, perSubject);
  },
  /**
   * For each match the callback will be called with a focused iterator.
   * @private
   */
  each(callback, type) {
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          callback(perStatement(graph, statements[i], perSubject));
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        callback(perStatement(graph, statements[j], perSubject));
      }
    }
  },
  statements() {
    return statements;
  },
  nodes(type) {
    const res = [];
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          res.push({
            type: t,
            value: statements[i].getSubject()
          });
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        if (type == null || type === statements[j].getType()) {
          res.push(statements[j].getObject());
        }
      }
    }
    return res;
  },
  values(type) {
    const res = [];
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          res.push(statements[i].getSubject());
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        if (type == null || type === statements[j].getType()) {
          res.push(statements[j].getValue());
        }
      }
    }
    return res;
  },
  firstValue(type) {
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          return statements[i].getSubject();
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        if (type == null || type === statements[j].getType()) {
          return statements[j].getValue();
        }
      }
    }
    return undefined;
  }
});

/**
 * Provides an API for accessing and manipulating an RDF Graph.
 *
 * The Graph API wraps a pure RDF JSON object to make it easy to access and manipulate on the
 * level of rdfjson/Statements.
 * Note that for efficiency reasons the RDF JSON object will be extended, hence it will
 * contain attributes that goes beyond the specification.
 *
 * The pure RDF JSON object:
 * <ul><li>can still be inspected independently, it will contain the correct RDF expression.
 *     </li>
 *     <li>cannot be modified directly since it will conflict with manipulations via this
 *     class, the exception is the statement object attributes which can be updated.</li>
 *     <li>is now unsuitable to be communicated for instance back to a server storage
 *      due to the extra attributes. Use the exportRDFJSON function to get a clean RDF
 *      JSON object.</li></ul>
 *
 * @exports rdfjson/Graph
 */
class Graph {
  /**
   * The constructor is sheap, no indexes or additional statements are created until requested
   * or created.
   * @param {Object=} graph a pure RDF JSON object according to the specification that will be
   * manipulated internally.
   * @param {Boolean=} validate indicates wether to validate the graph directly or not.
   */
  constructor() {
    let graph = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
    let validate = arguments.length > 1 ? arguments[1] : undefined;
    this._graph = graph || {};
    /**
     * Internal index of bnodes, will never shrink after creation of this graph instance.
     * New bnodes will be added but bnodes contained in removed statements will be kept
     * in case the statement is only temporarily unasserted.
     */
    this._bnodes = {};
    /**
     * If true the graph has been iterated through and all found bnodes have been added to index.
     */
    this._bnodesIndexed = false;
    if (validate !== false) {
      this.validate();
    }
    this._changed = false;
  }

  /**
   * Adds quads according to RDF/JS Data model to the graph.
   *
   * @param {Array} quads an array of quads according to the RDF/JS Data model Quad interface.
   * @return {Graph} the graph itself.
   */
  addQuads(quads) {
    (0,_formats_rdfjs_rdfjs_js__WEBPACK_IMPORTED_MODULE_6__.toGraph)(quads, this);
    return this;
  }

  /**
   * Exports the graph to Quads according to the RDF/JS Data model.
   * @return {Array} the quads.
   */
  toQuads() {
    return (0,_formats_rdfjs_rdfjs_js__WEBPACK_IMPORTED_MODULE_6__.toQuads)(this);
  }

  /**
   * @return {Boolean} true if the graph contains no asserted statements.
   */
  isEmpty() {
    return !Object.keys(this._graph).find(s => {
      const props = this._graph[s];
      return Object.keys(props).find(p => props[p].find(o => o._statement == null || o._statement.isAsserted()));
    });
  }

  // eslint-disable-next-line class-methods-use-this
  onChange() {}
  setChanged(changed) {
    this._changed = !!(changed === true || changed == null);
    if (this._changed) {
      this.onChange();
    }
  }
  isChanged() {
    return this._changed;
  }

  /**
   * Adds all statements of a graph to the current graph.
   * Will create new blank nodes ids in the source graph to avoid clashes with target graph.
   *
   * @param graph
   */
  addAll(graph, ng) {
    const bnodeIdx = {};
    let bn;
    const stmts = graph.find();
    for (let i = 0; i < stmts.length; i++) {
      const stmt = stmts[i];
      let s = stmt.getSubject();
      let p = stmt.getPredicate();
      const o = stmt.getCleanObject();
      if (ng) {
        o.ng = ng;
      }
      if (s.indexOf('_:') === 0) {
        bn = bnodeIdx[s] || this._newBNode();
        bnodeIdx[s] = bn;
        s = bn;
      }
      if (p.indexOf('_:') === 0) {
        bn = bnodeIdx[p] || this._newBNode();
        bnodeIdx[p] = bn;
        p = bn;
      }
      if (o.type === 'bnode') {
        bn = bnodeIdx[o.value] || this._newBNode();
        bnodeIdx[o.value] = bn;
        o.value = bn;
      }
      this.add(s, p, o);
    }
  }

  /**
   * Adds a statement to the graph, either an existing statement or creates an new one from the
   * triple pattern. If a statement instance is used it may originate from another graph, although
   * potential bnodes are not renamed.
   *
   * @param {rdfjson/Statement|string} s either the subject in a triple pattern or a Statement
   * instance to add,
   * in the latter case the other parameters must be undefined.
   * @param {string|null} p the predicate of the triple to add.
   * @param {Object|string} o the object where the attributes type, value, lang and datatype are
   * used to describe the object.
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @param {boolean} [allowDuplicates=false] if identical statements should be allowed
   * @returns {rdfjson/Statement}
   */
  add(s) {
    let p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    let o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    let silent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    let allowDuplicates = arguments.length > 4 ? arguments[4] : undefined;
    if (s instanceof _Statement_js__WEBPACK_IMPORTED_MODULE_4__["default"]) {
      const _p = s.getPredicate();
      const _o = s.getObject();
      const _s = s.getSubject();
      this._trackBNodes(_s, _p, _o);
      const o1 = this._graphObject(_o);
      const o2 = _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].add(this._graph, _s, _p, o1, allowDuplicates);
      if (silent !== true) {
        this.setChanged();
      }
      return this._get(_s, _p, o2, true);
    }
    return this.create(s, p, o, true, silent, allowDuplicates);
  }
  addL(s, p, value, lang) {
    const o = {
      type: 'literal',
      value
    };
    if (typeof lang === 'string') {
      o.lang = lang;
    }
    return this.create(s, p, o, true);
  }
  addD(s, p, value, datatype) {
    const o = {
      type: 'literal',
      value
    };
    if (typeof datatype === 'string') {
      o.datatype = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(datatype);
    }
    return this.create(s, p, o, true);
  }

  /**
   * Creates a new statement and associates it to the graph, unless assert is explicitly set to
   * false it is also added to the graph.
   *
   * @param {String=} s the subject as a uri, if undefined a new blank node is created.
   * @param {String} p the predicate as a uri, if undefined a new blank node is created.
   * @param {Object} o the object in the form of an object containing the attributes:
   * 'type', 'value', 'lang', and 'datatype'. If undefined a new blank node is created.
   *  If a string is provided it is assumed to be a url, i.e. sending in "the url" is the same as
   *  sending in {type: "uri", value: "the url"}.
   * @param {Boolean} [assert=true] indicated if the statement should be added to the graph directly.
   * If not specified true is assumed.
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @param {boolean} [allowDuplicates=false] if identical statements should be allowed
   * @returns {rdfjson/Statement}
   * @see rdfjson/rdfjson#add
   */
  create() {
    let s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
    let p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    let o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    let assert = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
    let silent = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
    let allowDuplicates = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
    let _s = s;
    let _p = p;
    let _o = o;
    if (_s == null) {
      _s = this._newBNode();
    } else {
      _s = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_s);
    }
    if (_p == null) {
      _p = this._newBNode();
    } else {
      _p = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_p);
    }
    if (_o == null) {
      _o = {
        type: 'bnode',
        value: this._newBNode()
      };
    } else if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isString(_o)) {
      _o = {
        type: 'uri',
        value: _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o)
      };
    } else if (typeof _o === 'object' && !Array.isArray(_o)) {
      // The object is copied to avoid reuse of same object in multiple places of the graph
      // leading to strange updates.
      _o = {
        type: _o.type,
        value: _o.value,
        lang: _o.lang,
        datatype: _o.datatype,
        ng: _o.ng
      };
      if (_o.type === 'uri' && _o.value != null) {
        _o.value = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o.value);
      }
      if (_o.datatype) {
        _o.datatype = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o.datatype);
      }
    } else {
      _o = {
        type: 'uri',
        value: `${_o}`
      };
    }
    if (assert !== false) {
      const o1 = _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].add(this._graph, _s, _p, _o, allowDuplicates);
      if (silent !== true) {
        this.setChanged();
      }
      return this._getOrCreate(_s, _p, o1, true);
    }
    return new _Statement_js__WEBPACK_IMPORTED_MODULE_4__["default"](this, _s, _p, _o, false);
  }

  /**
   * Convenience function that combines the find and remove functions.
   * @param {String=} s the subject
   * @param {String=} p the predicate
   * @param {Object=} o the object
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @see rdfjson/Graph#find
   * @see rdfjson/Graph#remove
   */
  findAndRemove(s, p, o) {
    let silent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    const stmts = this.find(s, p, o);
    for (let i = 0; i < stmts.length; i++) {
      this.remove(stmts[i], silent);
    }
  }

  /**
   * Removes the given statement from the graph.
   * If you plan to keep the statement around and assert it later,
   * it is recommended to only use the rdfjson/Statement#setAsserted method instead.
   *
   * @param {rdfjson/Statement} statement the statement to remove from the graph.
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @see rdfjson/Statement#setAsserted
   */
  remove(statement) {
    let silent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    const s = statement.getSubject();
    const p = statement.getPredicate();
    const o = statement.getObject();
    this._trackBNodes(s, p, o);
    if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].remove(this._graph, s, p, o) != null) {
      if (silent !== true) {
        this.setChanged();
      }
    }
  }

  /**
   * Finds all statements that fulfills the given pattern. Any combination of the arguments may
   * be left out.
   *
   * @param {String=} s the subject in the statements to be returned, undefined indicates that
   * any subject is ok.
   * @param {String=} p the predicate in the statements to be returned, undefined indicates
   * that any predicate is ok.
   * @param {Object=} o the object in the statements to be returned, undefined indicates that
   * any object is ok.
   * Objets of matching statements have to be equal according to the objectEquals method.
   * @return {rdfjson/Statement[]}
   * @see rdfjson/rdfjson#objectEquals
   */
  find(s, p, o) {
    let _s = s;
    let _p = p;
    let _o = o;
    // none, s, p, s&p
    if (typeof _s === 'string') {
      _s = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_s);
    }
    if (typeof _p === 'string') {
      _p = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_p);
    }
    if (typeof _o === 'object' && _o !== null && _o.type === 'uri') {
      _o.value = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o.value);
    } else if (typeof _o === 'string') {
      _o = {
        type: 'uri',
        value: _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o)
      };
    }
    if (_o == null) {
      // none, s
      if (_p == null) {
        if (_s == null) {
          return this._find();
        }
        return this._findS(_s);

        // p, s&p
      }
      // p
      if (_s == null) {
        return this._findP(_p);
        // s&p
      }
      return this._findSP(_s, _p);
    }
    // o, s&o
    if (_p == null) {
      if (_s == null) {
        return this._findO(_o);
      }
      return this._findSO(_s, _o);
    }

    // p&o
    if (_s == null) {
      return this._findPO(_p, _o);
    }

    // s&p&o
    const stmt = this._get(_s, _p, _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].contains(this._graph, _s, _p, _o), true);
    if (stmt == null) {
      return [];
    }
    return [stmt];
  }

  /**
   * Convenience method that returns the value of object of the first matching Statement
   * for the given subject and predicate.
   *
   * @param {String=} s the subject
   * @param {String=} p the predicate
   * @return {String} the value, may be a literal or a URI, if undefined no matching statement
   * (and value) could be found.
   * @see rdfjson/Graph#find
   */
  findFirstValue(s, p) {
    const arr = this.find(s, p);
    if (arr.length > 0) {
      return arr[0].getValue();
    }
    return undefined;
  }

  /**
   * Retrieves a projection, a plain object with simple attribute value pairs given a subject
   * and a mapping.
   * The mapping is an object where the same attributes appear but with the predicates are values.
   * Hence, each attribute gives rise to a search for all statements with the given subject and
   * the predicate specified by the attribute.
   * The result object will contain the mapping attributes with values from the the first
   * matched statements object value if there are any.
   * To access additional information like multiple statement or the statements
   * (type, language, datatype) a "*" prepended version of each attribute can be provided that
   * contains a list of matching Statements if so indicated by the multipleValueStyle parameter.
   *
   * @param {String} s the subject to use for the projection.
   * @param {Object} mapping the mapping configuration
   * @param {String} multipleValueStyle if provided an array is provided for that property
   * prefixed with "*", the array should be indicated to be either
   * "statements", "values" or "objects".
   * @returns {Object}
   * @example
   * var proj = graph.projection("http://example.com", {
   *     "title":       "http://purl.org/dc/terms/title",
   *     "description": "http://purl.org/dc/terms/description"
   * });
   * // The object proj now has the attributes title, *title, description, and *description.
   *
   * // Accessing the title of http://example.com
   * console.log(proj.title);
   *
   * // To get hold of additional information available in the statement,
   * // for instance the language of a literal:
   * console.log(proj["*title"][0].getLanguage())
   *
   */
  projection(s, mapping, multipleValueStyle) {
    const mapped = {};
    Object.keys(mapping).forEach(key => {
      const prop = mapping[key];
      const values = Array.isArray(prop) ? this.findPath(s, prop) : this.find(s, prop);
      if (values.length > 0) {
        if (key[0] === '*') {
          mapped[key.substr(1)] = values.map(val => val.getValue());
        } else {
          mapped[key] = values[0].getValue();
        }
        switch (multipleValueStyle || 'none') {
          case 'statement':
            mapped[`*${key}`] = values;
            break;
          case 'objects':
            mapped[`*${key}`] = values.map(v => v.getCleanObject());
            break;
          case 'values':
            mapped[`*${key}`] = values.map(v => v.getValue());
            break;
          default:
        }
      }
    });
    return mapped;
  }
  subjects(p, o) {
    return perStatement(this, this.find(null, p, o), true);
  }
  subject(p, o) {
    return perStatement(this, zeroOrOne(this.find(null, p, o)), true);
  }
  objects(s, p) {
    return perStatement(this, this.find(s, p, null));
  }
  object(s, p) {
    return perStatement(this, zeroOrOne(this.find(s, p, null)));
  }
  findPath(s, propertyPath) {
    return propertyPath.slice(1).reduce((acc, prop) => acc.objects(prop), this.objects(s, propertyPath[0])).statements();
  }

  /**
   * Constructs a rdf:List for the provided array.
   * @param {array} list an array of objects, same as the object parameter to the add method.
   * @returns {String} the blank node id, or rdf:nil if the list is empty
   */
  addList(list) {
    return this._addList(list, 'add');
  }

  /**
   * Constructs a rdf:List for the provided array of literals with the common language.
   * @param {string[]} an array of literals.
   * @param {string} the language common to all the literals in the array
   * (if this is not what you want you have to use the addList method with objects instead).
   * @returns {String} the blank node id, or rdf:nil if the list is empty
   */
  addListL(list, language) {
    return this._addList(list, 'addL', language);
  }

  /**
   * Constructs a rdf:List for the provided array of literals with the common datatype.
   * @param {string[]} an array of literals.
   * @param {string} the datatype common to all the literals in the array
   * (if this is not what you want you have to use the addList method with objects instead).
   * @returns {String} the blank node id, or rdf:nil if the list is empty
   */
  addListD(list, datatype) {
    return this._addList(list, 'addD', datatype);
  }
  _addList(list, method, langorDatatype) {
    let listnode;
    if (!Array.isArray(list) || list.length === 0) {
      listnode = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand('rdf:nil');
    } else {
      listnode = this._newBNode();
      let cursor = listnode;
      const nilPosition = list.length - 1;
      list.forEach((member, idx) => {
        this[method](cursor, 'rdf:first', member, langorDatatype);
        if (idx !== nilPosition) {
          cursor = this.add(cursor, 'rdf:rest').getValue();
        } else {
          this.add(cursor, 'rdf:rest', 'rdf:nil');
        }
      });
    }
    return listnode;
  }

  /**
   * Removes all tripples that makes up the list starting from the given resource.
   * @param o - the resource from which the list starts.
   * @return {boolean} true if the list was identifed as a valid list and removed.
   */
  removeList(o) {
    let listFound = false;
    let cursor = typeof o === 'object' ? o.value : o;
    try {
      const nil = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand('rdf:nil');
      listFound = cursor === nil;
      while (cursor !== nil && cursor != null) {
        const next = this.findFirstValue(cursor, 'rdf:rest');
        this.findAndRemove(cursor);
        cursor = next;
        listFound = cursor != null;
      }
    } catch (e) {
      console.warn(`Invalid list for object: ${cursor}`);
      return false;
    }
    return listFound;
  }

  /**
   * Extracts the rdf:List instance.
   * @param {String} o - the first resource node of the (linked) list.
   * @returns {Array} of objects (the same as is returned from Statement.getObject())
   */
  getList(o) {
    let cursor = typeof o === 'object' ? o.value : _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(o);
    const list = [];
    try {
      const nil = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand('rdf:nil');
      while (cursor !== nil && cursor != null) {
        list.push(this.find(cursor, 'rdf:first')[0].getObject());
        cursor = this.findFirstValue(cursor, 'rdf:rest');
      }
    } catch (e) {
      console.warn(`Invalid list for object: ${cursor}`);
    }
    return list;
  }

  /**
   * Extracts the first list to be found given a subject and predicate.
   *
   * @param {String} s - the subject
   * @param {String} p - the predicate
   * @returns {String[]} array of strings, assuming the nodetype, datatype or
   * language is either not present or vital.
   */
  findFirstListAsValues(s, p) {
    return this.getList(this.findFirstValue(s, p)).map(obj => obj.value);
  }

  /**
   * Finds and removes all matched lists including the triples pointing to them.
   * @param {string} s - the subject
   * @param {string} p - the predicate
   * @return {boolean} true if at least one list was removed
   */
  findAndRemoveLists(s, p) {
    let removed = false;
    this.find(s, p).forEach(stmt => {
      if (this.removeList(stmt.getValue())) {
        this.remove(stmt);
        removed = true;
      }
    });
    return removed;
  }

  /**
   * This method returns an object that is suitable for serilization to JSON.
   *
   * @param {boolean} duplicateCheck weather the export should check and filter out duplicated statements, default is true.
   * @return {Object} a plain RDF JSON object without the additional artifacts created by this
   * Graph class.
   */
  exportRDFJSON() {
    let duplicateCheck = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
    const graph = this._graph;
    return _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].clone(this._graph, duplicateCheck);
  }

  /**
   * Replaces a URI in subject position with another,
   * assuming the target URI does not exist in the graph already.
   *
   * @param sourceURI
   * @param targetURI
   * @returns {Graph}
   * @deprecated Use replaceURI instead.
   */
  replaceSubject(sourceURI, targetURI) {
    return this.replaceURI(sourceURI, targetURI);
  }

  /**
   * Replaces all occurences of a URI in the graph with another URI.
   * Assumes the target URI does not exist in the graph already.
   *
   * @param sourceURI
   * @param targetURI
   * @returns {Graph}
   */
  replaceURI(sourceURI, targetURI) {
    const graph = this._graph;
    if (graph.hasOwnProperty(sourceURI)) {
      if (!graph.hasOwnProperty(targetURI)) {
        graph[targetURI] = graph[sourceURI];
        delete graph[sourceURI];
      } else {
        throw new Error('Cannot replace subject with target URI since it already exists.');
      }
    }
    this.forEach((s, p, o) => {
      if (o.type === 'uri' && o.value === sourceURI) {
        o.value = targetURI;
      }
      if (s === targetURI && o._statement) {
        o._statement._s = targetURI;
      }
    });
    return this;
  }

  /**
   * Replaces all occurences of a blank node in the graph with another URI.
   * If target URI exists in the graph already, the allowMerge parameter can
   * be utilized to merge existing statements with blank node statements.
   *
   * @param sourceURI
   * @param targetURI
   * @param allowMerge
   * @returns {Graph}
   */
  replaceBlankWithURI(sourceBlank, targetURI, allowMerge) {
    const graph = this._graph;
    if (graph.hasOwnProperty(sourceBlank)) {
      if (!graph.hasOwnProperty(targetURI)) {
        graph[targetURI] = graph[sourceBlank];
        delete graph[sourceBlank];
      } else if (allowMerge) {
        const targetProps = graph[targetURI];
        const sourceProps = graph[sourceBlank];
        Object.keys(sourceProps).forEach(prop => {
          if (targetProps.hasOwnProperty(prop)) {
            const targetObjArr = targetProps[prop];
            const sourceObjArr = sourceProps[prop];
            const sourceObjectsToMerge = sourceObjArr.filter(sourceObject => !targetObjArr.find(targetObject => _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(targetObject, sourceObject)));
            targetProps[prop] = targetObjArr.concat(sourceObjectsToMerge);
          } else {
            targetProps[prop] = sourceProps[prop];
          }
        });
        delete graph[sourceBlank];
      } else {
        throw new Error('Cannot replace subject with target URI since it already exists.');
      }
      this.forEach((s, p, o) => {
        if (o.type === 'bnode' && o.value === sourceBlank) {
          o.value = targetURI;
          o.type = 'uri';
        }
        if (s === targetURI && o._statement) {
          o._statement._s = targetURI;
        }
      });
    }
    delete this._bnodes[sourceBlank];
    return this;
  }

  /**
   * Clones this graph.
   * @returns {rdfjson/Graph}
   */
  clone() {
    return new Graph(this.exportRDFJSON(false));
  }

  /**
   * Finds all properties for a given subject.
   * Note: Optimal.
   * @param {String} s the subject to find properties for
   * @return {String[]} of strings
   */
  findProperties(s) {
    return Object.keys(this._graph[s] || {});
  }

  /**
   * Validates the graph and returns a report.
   * If errors are detected an exception is thrown.
   * The validation report is a object with a valid attribute which is either false or true.
   * If it is false an array of errors are provided where each error is an object containing
   * a message and information regarding which subject,predicate and object index in the
   * rdjson javascript object that caused the error..
   *
   * @returns {undefined} if there where no errors
   * @throws {Object} the validation report.
   */
  validate() {
    this.report = this._validate();
    if (!this.report.valid) {
      throw this.report;
    }
    return this.report;
  }

  /**
   * You should not use this function unless you are VERY certain of what you are doing.
   *
   * @private
   * @param {String} bNodeId
   */
  registerBNode(bNodeId) {
    this._bnodes[bNodeId] = true;
  }

  /**
   * Iterates through all statements of the graph and calls the provided function on them.
   *
   * @param {Function} f are called for each statement with the three arguments
   *  (in order) subject, predicate, and object.
   */
  forEach(f) {
    const graph = this._graph;
    Object.keys(graph).forEach(s => {
      const subj = graph[s];
      Object.keys(subj).forEach(p => {
        subj[p].forEach(o => {
          f(s, p, o);
        });
      });
    });
  }

  /**
   * Iterates through all statements of the graph and calls the provided function on them and
   * returns an array of the results.
   *
   * @param {Function} f are called for each statement with the three arguments
   *  (in order) subject, predicate, and object, f should return a value that is added to the
   *  array
   * @return {array} an array with the value of the function applied for each statement.
   */
  map(f) {
    const arr = [];
    this.forEach(stmt => {
      arr.push(f(stmt));
    });
    return arr;
  }

  /**
   * Compares this graph with another, true if they are isomorphic.
   * Comparision is done using the fingerprint mechanism. Hence, this method is not fullproof.
   *
   * @param {rdfjson/Graph} graph to compare to
   * @param {array} excludeProperties an array of properties to exclude in comparision check
   * @return {boolean} true if the graphs are isomorphic disregarding the excluded properties.
   * @see {rdfjson/utils#fingerprint}
   */
  equals(graph, excludeProperties) {
    return _utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].fingerprint(this, excludeProperties) === _utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].fingerprint(graph, excludeProperties);
  }

  /**
   * Calculates the amounts of triples in the graph.
   * @returns {number}
   */
  size() {
    let size = 0;
    Object.values(this._graph).forEach(subjObj => {
      Object.values(subjObj).forEach(objects => {
        size += objects.length;
      });
    });
    return size;
  }

  // ===================================================
  // Private methods
  // ===================================================

  /**
   * If the object already contains a statement that is returned, otherwise a new is created.
   * If the object is not specified undefined is returned.
   * @return {Statement|undefined} a statement that belongs to this graph.
   * @private
   */
  _get(s, p, o, asserted) {
    if (o == null) {
      return undefined;
    }
    return this._getOrCreate(s, p, o, asserted);
  }

  /**
   * If the object already contains a statement that is returned, otherwise a new is created.
   * @return {rdfjson/Statement} a statement that belongs to this graph.
   * @private
   */
  _getOrCreate(s, p, o, asserted) {
    if (o._statement == null) {
      o._statement = new _Statement_js__WEBPACK_IMPORTED_MODULE_4__["default"](this, s, p, o, asserted);
    }
    return o._statement;
  }

  /**
   * @return {Object} if the object originates from another graph a copy is made.
   * @private
   */
  _graphObject(o) {
    if (o._statement == null || o._statement._graph === this) {
      return o;
    }
    return {
      type: o.type,
      value: o.value,
      lang: o.lang,
      datatype: o.datatype
    };
  }

  /**
   * Finds all statements with a given subject and object.
   * @param {String} s
   * @param {String} p
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findSP(s, p) {
    if (this._graph[s] == null || this._graph[s][p] == null) {
      return [];
    }
    return this._graph[s][p].map(o => this._get(s, p, o, true));
  }

  /**
   * Finds all statements with a given subject.
   * Note: Optimal.
   * @param {String} s
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findS(s) {
    const subj = this._graph[s];
    const spArrs = Object.keys(subj || {}).map(p => this._findSP(s, p));
    return Array.prototype.concat.apply([], spArrs);
  }

  /**
   * Generates statements for the entire graph.
   * Note: Optimal.
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _find() {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      arr.push(this._get(s1, p1, o1, true));
    });
    return arr;
  }

  /**
   * Finds all statements with a given predicate.
   * Note: Close to optimal without further indexing, to many checks due to iteration via _map.
   * @param {String} p
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findP(p) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (p === p1) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * Iterates through all statements to find those with specified object.
   * Note: Optimal without additional indexing.
   * @param {Object} o
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findO(o) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(o, o1)) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * Finds all statements with a given subject and object.
   * Note: Close to optimal without further indexing, to many checks due to iteration via _map.
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findSO(s, o) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (s === s1 && _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(o, o1)) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * Finds all statements with a given predicate and object.
   * Note: Close to optimal without further indexing, to many checks due to iteration via _map.
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findPO(p, o) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (p === p1 && _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(o, o1)) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * @private
   */
  _validate() {
    const graph = this._graph;
    const report = {
      valid: true,
      errors: [],
      nr: 0
    };
    Object.keys(graph).forEach(s => {
      const subj = graph[s];
      if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isObject(subj)) {
        Object.keys(subj).forEach(p => {
          const objArr = subj[p];
          if (Array.isArray(objArr)) {
            objArr.forEach((o, oindex) => {
              if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isObject(o)) {
                if (o.type != null) {
                  if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isString(o.value)) {
                    report.nr += 1;
                  } else {
                    report.errors.push({
                      s,
                      p,
                      oindex: oindex + 1,
                      message: `Object ${oindex + 1} in object array must have the 'value' attribute pointing to a string.`
                    });
                    report.valid = false;
                  }
                } else {
                  report.errors.push({
                    s,
                    p,
                    oindex: oindex + 1,
                    message: `Object ${oindex + 1} in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.`
                  });
                  report.valid = false;
                }
              } else {
                report.errors.push({
                  s,
                  p,
                  oindex: oindex + 1,
                  message: `Element ${oindex + 1} in object array is not an object.`
                });
                report.valid = false;
              }
            });
          } else {
            report.errors.push({
              s,
              p,
              message: 'Predicate must point to an array of objects.'
            });
            report.valid = false;
          }
        });
      } else {
        report.errors.push({
          s,
          message: 'Subject must point to an object.'
        });
        report.valid = false;
      }
    });
    return report;
  }

  /**
   * Creates a new bnode that is unique in the current graph.
   * Bnodes in temporarily unasserted statements (currently removed from the graph)
   * are avoided as well.
   * @returns {String}
   * @private
   */
  _newBNode() {
    this._indexBNodes();
    let p;
    let n;
    let bnode;
    for (p = 1; p < 20; p++) {
      for (n = 1; n <= p; n++) {
        bnode = `_:${Math.floor(Math.random() * (Math.pow(10, p) + 1))}`;
        if (this._bnodes[bnode] !== true) {
          this._bnodes[bnode] = true;
          return bnode;
        }
      }
    }
    throw new Error('Failed creating a new blank node, increadible unprobable...');
  }

  /**
   * Adds the bnodes in the graph to the bnode index.
   * The index can be calculated late, just before the first call to create.
   * (Bnodes in statements that are removed are added in advance to the index as
   * they may be only temporarily unasserted and when they are asserted again
   * they should not overlap with newly created bnodes.)
   * After the index is created all statemnts added update the index.
   * @private
   */
  _indexBNodes() {
    if (this._bnodesIndexed) {
      return;
    }
    const graph = this._graph;
    Object.keys(graph).forEach(s => {
      if (s.indexOf('_:') === 0) {
        this._bnodes[s] = true;
      }
      const subj = graph[s];
      Object.keys(subj).forEach(p => {
        if (p.indexOf('_:') === 0) {
          this._bnodes[p] = true;
        }
        subj[p].forEach(o => {
          if (o.type === 'bnode') {
            this._bnodes[o.value] = true;
          }
        });
      });
    });
    this._bnodesIndexed = true;
  }

  /**
   * Adds any bnodes in the given parameters to the index (the index may still be incomplete).
   * @param {String} s the subject in a statement.
   * @param {String} p the predicate in a statement.
   * @param {Object} o the object in a statement.
   * @private
   */
  _trackBNodes(s, p, o) {
    if (s.indexOf('_:') === 0) {
      this._bnodes[s] = true;
    }
    if (p.indexOf('_:') === 0) {
      this._bnodes[p] = true;
    }
    if (o.type === 'bnode') {
      this._bnodes[o.value] = true;
    }
  }
}
;

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Rdfs.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Rdfs.js ***!
  \***************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Graph.js");

const _ns = {
  rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
  rdfs: 'http://www.w3.org/2000/01/rdf-schema#',
  owl: 'http://www.w3.org/2002/07/owl#'
};
const _terms = {
  rdftype: `${_ns.rdf}type`,
  rdfssco: `${_ns.rdfs}subClassOf`,
  rdfsdomain: `${_ns.rdfs}domain`,
  rdfsrange: `${_ns.rdfs}range`,
  rdfsspo: `${_ns.rdfs}subPropertyOf`,
  rdfsClass: `${_ns.rdfs}Class`,
  owlClass: `${_ns.owl}Class`,
  owlObjectProperty: `${_ns.owl}ObjectProperty`,
  owlDatatypeProperty: `${_ns.owl}DatatypeProperty`,
  rdfProperty: `${_ns.rdf}Property`
};

// noinspection FunctionWithInconsistentReturnsJS
/**
 *
 * @param graph
 * @param subj
 * @param prop
 * @returns {Object|undefined}
 * @private
 */
const extractLiterals = (graph, subj, prop) => {
  const hash = {};
  let foundSomething = false;
  const stmts = graph.find(subj, prop);
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    if (stmt.getType() === 'literal') {
      hash[stmt.getLanguage() || ''] = stmt.getValue() || '';
      foundSomething = true;
    }
  }
  if (foundSomething) {
    if (hash.en == null && hash[''] != null) {
      hash.en = hash[''];
      delete hash[''];
    }
    return hash;
  }
  return undefined;
};
const toSet = arr => {
  const narr = [];
  const idx = {};
  for (let i = 0; i < arr.length; i++) {
    const m = arr[i];
    if (!idx[m]) {
      narr.push(m);
      idx[m] = true;
    }
  }
  return narr;
};

/**
 *
 * @exports rdfjson/Cls
 */
const Cls = class {
  constructor(uri, graph) {
    this._uri = uri;
    this._parents = [];
    this._children = [];
    this._graph = graph;
  }

  /**
   * @return {String}
   */
  getURI() {
    return this._uri;
  }

  /**
   * @returns {String}
   */
  getLabel() {
    const labels = this.getLabels();
    if (labels.en != null) {
      return labels.en;
    }
    const lbls = Object.objects(labels);
    return lbls.length > 0 ? lbls[0] : '';
  }

  /**
   * @returns {Object}
   */
  getLabels() {
    if (this._labels == null) {
      // Checking for only rdfs:label
      this._labels = extractLiterals(this._graph, this._uri, `${_ns.rdfs}label`);
      if (this._labels == null) {
        this._labels = {
          en: this._uri.substr(this._uri.lastIndexOf('/') + 1)
        };
      }
    }
    return this._labels;
  }

  /**
   * @returns {String}
   */
  getComment() {
    const comments = this.getComments();
    if (comments != null) {
      if (comments.en != null) {
        return comments.en;
      }
      return Object.objects(comments)[0];
    }
    return '';
  }

  /**
   * @returns {Object}
   */
  getComments() {
    if (this._comments == null) {
      // Checking for only rdfs:comment
      this._comments = extractLiterals(this._graph, this._uri, `${_ns.rdfs}comment`);
    }
    return this._comments;
  }

  /**
   * @param {Cls} cls
   */
  addParent(cls) {
    this._parents.push(cls);
    cls._children.push(this);
  }

  /**
   * @returns {Cls[]}
   */
  getDirectParents() {
    return this._parents;
  }

  /**
   * @returns {Cls[]}
   */
  getParents() {
    // Avoid infinite recursion if loops.
    if (this._parentLock) {
      return [];
    }
    this._parentLock = true;
    if (this._allParents == null) {
      this._allParents = [];
      for (let i = 0; i < this._parents.length; i++) {
        this._allParents = this._allParents.concat(this._parents[i].getParents());
        this._allParents.push(this._parents[i]);
      }
    }
    delete this._parentLock;
    return this._allParents;
  }

  /**
   * @returns {Cls[]}
   */
  getChildren() {
    // Avoid infinite recursion if loops.
    if (this._childLock) {
      return [];
    }
    this._childLock = true;
    if (this._allChildren == null) {
      this._allChildren = [];
      for (let i = 0; i < this._children.length; i++) {
        this._allChildren = this._allChildren.concat(this._children[i].getChildren());
        this._allChildren.push(this._children[i]);
      }
    }
    delete this._childLock;
    return this._allChildren;
  }

  /**
   * @param {Cls} r
   */
  setRange(r) {
    if (this._range == null) {
      this._range = [];
    }
    this._range.push(r);
  }

  /**
   *
   * @param {Cls} cls
   */
  setDomain(cls) {
    if (this._domain == null) {
      this._domain = [];
    }
    this._domain.push(cls);
    cls.setDomainOf(this);
  }

  /**
   * @returns {Set}
   */
  getRange() {
    if (this._allRange == null) {
      this._allRange = this._range || [];
      for (let i = 0; i < this._parents.length; i++) {
        this._allRange = this._allRange.concat(this._parents[i].getRange());
      }
      this._allRange = toSet(this._allRange);
    }
    return this._allRange;
  }

  /**
   * @returns {Set}
   */
  getDomain() {
    if (this._allDomain == null) {
      this._allDomain = this._domain || [];
      for (let i = 0; i < this._parents.length; i++) {
        this._allDomain = this._allDomain.concat(this._parents[i].getDomain());
      }
      this._allDomain = toSet(this._allDomain);
    }
    return this._allDomain;
  }

  /**
   * @param {Cls} prop
   */
  setDomainOf(prop) {
    if (this._domainOf == null) {
      this._domainOf = [];
    }
    this._domainOf.push(prop);
  }

  /**
   * @returns {Cls[]}
   */
  getDomainOf() {
    return this._domainOf;
  }

  /**
   * @returns {Cls[]}
   */
  getAllDomainOf() {
    // Avoid infinite recursion if loops.
    if (this._domainOfLock) {
      return [];
    }
    this._domainOfLock = true;
    if (this._allDomainOf == null) {
      const childDomainOf = this._domainOf || [];
      this._allDomainOf = this._domainOf || [];
      for (let j = 0; j < childDomainOf.length; j++) {
        this._allDomainOf = this._allDomainOf.concat(childDomainOf[j].getChildren());
      }
      for (let i = 0; i < this._parents.length; i++) {
        this._allDomainOf = this._allDomainOf.concat(this._parents[i].getAllDomainOf());
      }
    }
    delete this._domainOfLock;
    return this._allDomainOf;
  }
};
const indexf = function indexf(idx, arr, stmts, parentObject) {
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    const suri = stmt.getSubject();
    let s = idx[suri];
    if (!s) {
      s = new Cls(suri, stmt.getGraph());
      idx[suri] = s;
      arr.push(s);
    }
    if (parentObject) {
      const ouri = stmt.getValue(); // Assume a resource as object.
      let o = idx[ouri];
      if (!o) {
        o = new Cls(ouri, stmt.getGraph());
        idx[ouri] = o;
        arr.push(o);
      }
      s.addParent(o);
    }
  }
};
const rangeDomain = function rangeDomain(graph, pIdx, cIdx) {
  let subj;
  let obj;
  let stmt;
  let stmts = graph.find(null, _terms.rdfsdomain, null);
  for (let d = 0; d < stmts.length; d++) {
    stmt = stmts[d];
    subj = pIdx[stmt.getSubject()];
    obj = cIdx[stmt.getValue()];
    if (subj != null && obj != null) {
      subj.setDomain(obj);
    }
  }
  stmts = graph.find(null, _terms.rdfsrange, null);
  for (let r = 0; r < stmts.length; r++) {
    stmt = stmts[r];
    subj = pIdx[stmt.getSubject()];
    obj = stmt.getValue();
    if (subj != null && obj != null) {
      subj.setRange(obj);
    }
  }
};

/**
 * @exports rdfjson/Rdfs
 */
const Rdfs = class {
  constructor() {
    this._cidx = {};
    this._carr = [];
    this._pidx = {};
    this._parr = [];
  }

  /**
   * @param {Graph} graph
   */
  addGraph(graph) {
    indexf(this._cidx, this._carr, graph.find(null, _terms.rdftype, _terms.rdfsClass));
    indexf(this._cidx, this._carr, graph.find(null, _terms.rdftype, _terms.owlClass));
    indexf(this._cidx, this._carr, graph.find(null, _terms.rdfssco, null), true);
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdftype, _terms.rdfProperty));
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdfsspo, null), true);
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdftype, _terms.owlDatatypeProperty));
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdftype, _terms.owlObjectProperty));
    rangeDomain(graph, this._pidx, this._cidx);
  }

  /**
   */
  addThing() {
    const turi = 'http://www.w3.org/2002/07/owl#Thing';
    let thing = this._cidx[turi];
    let thingIsNew = false;
    if (!thing) {
      thing = new Cls(turi, new _Graph_js__WEBPACK_IMPORTED_MODULE_0__["default"]());
      this._cidx[turi] = thing;
      this._carr.push(thing);
      thingIsNew = true;
    }
    for (let c = 0; c < this._carr.length; c++) {
      const cls = this._carr[c];
      if (thingIsNew && cls !== thing) {
        cls.addParent(thing);
      } else if (cls.getParents().indexOf(thing) === -1 && cls !== thing) {
        cls.addParent(thing);
      }
    }
  }

  /**
   * @returns {Cls[]}
   */
  getClasses() {
    return this._carr;
  }

  /**
   * @returns {Cls[]}
   */
  getProperties() {
    return this._parr;
  }

  /**
   *
   * @param {String} uri
   * @returns {boolean}
   */
  isClass(uri) {
    return this._cidx[uri] != null;
  }

  /**
   * @param {String} uri
   * @returns {boolean}
   */
  isProperty(uri) {
    return this._pidx[uri] != null;
  }

  /**
   *
   * @param {String} uri
   * @returns {Cls}
   */
  getClass(uri) {
    return this._cidx[uri];
  }

  /**
   * @param {String} uri
   * @returns {Cls}
   */
  getProperty(uri) {
    return this._pidx[uri];
  }

  /**
   * @param {Cls} cls
   * @returns {String[]}
   */
  static getInstances(cls) {
    const instances = [];
    const clss = [cls].concat(cls.getChildren());
    for (let ci = 0; ci < clss.length; ci++) {
      const c = clss[ci];
      const stmts = c.getGraph.find(null, _terms.rdftype, c.getURI());
      for (let s = 0; s < stmts.length; s++) {
        instances.push(stmts[s].getSubject());
      }
    }
    return instances;
  }
};
Rdfs.prototype.ns = _ns;
Rdfs.prototype.terms = _terms;
Rdfs.global = new Rdfs();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Rdfs);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Statement.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Statement.js ***!
  \********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Statement)
/* harmony export */ });
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js");


/**
 * rdfjson.Statement Represents a statement in a graph.
 * Never create directly, use the methods in rdfjson.Graph.
 * Constructs a statement from the provided parts, the object is assumed to be the same
 * actual javascript object as is used in the graph.
 *
 * @exports rdfjson/Statment
 */
class Statement {
  /**
   * @param {rdfjson/Graph} graph the rdfjson.Graph we will manipulate.
   * @param {String} s the subject in the statement
   * @param {String} p the predicate in the statement.
   * @param {Object} o the object in the statement.
   * @param {Boolean} asserted indicates if the statement is asserted in the accompanied graph.
   * @constructor
   */
  constructor(graph, s, p, o, asserted) {
    this._graph = graph;
    this._s = s;
    this._p = p;
    this._o = o;
    this._o._statement = this;
    this._asserted = asserted;
  }

  /**
   * The Graph this Statement is associated with.
   * @returns {rdfjson.Graph}
   */
  getGraph() {
    return this._graph;
  }

  /**
   * An asserted statement is present in its associated Graph
   * @param {Boolean} asserted
   * @param {Boolean} [allowDuplicates = false] if assertment should be done even though it might lead to a
   * duplicated statement or not
   */
  setAsserted(asserted) {
    let allowDuplicates = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    if (asserted !== this._asserted) {
      if (asserted) {
        this._graph.add(this, undefined, undefined, this._silentValue, allowDuplicates);
      } else {
        this._graph.remove(this, this._silentValue);
      }
      this._asserted = asserted;
    }
  }

  /**
   * True if the Statement is asserted in the Graph.
   * @returns {Boolean}
   */
  isAsserted() {
    return this._asserted;
  }

  /**
   * The subject of this statement.
   * @returns {String}
   */
  getSubject() {
    return this._s;
  }
  isSubjectBlank() {
    if (this._sIsBlank !== true && this._sIsBlank !== false) {
      this._sIsBlank = this._s.indexOf('_:') === 0;
      // this._sIsBlank = this._graph._bnodes[this._s] === true;
    }
    return this._sIsBlank;
  }
  isObjectBlank() {
    return this.getType() === 'bnode';
  }

  /**
   * Sets the subject of this statement, other Statements with this resource as subject or object
   * is not affected.
   * @param {String} s must be a valid URI.
   */
  setSubject(s) {
    this._silentValue = false;
    const _s = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].expand(s);
    if (this._asserted) {
      this._graph.remove(this);
      this._s = _s;
      this._graph.add(this);
      delete this._sIsBlank;
    } else {
      this._s = _s;
    }
  }

  /**
   * The predicate of this Statement.
   * @returns {String}
   */
  getPredicate() {
    return this._p;
  }

  /**
   * Sets the predicate of this statement.
   * @param {String} p must be a valid URI.
   */
  setPredicate(p) {
    this._silentValue = false;
    const _p = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].expand(p);
    if (this._asserted) {
      this._graph.remove(this);
      this._p = _p;
      this._graph.add(this);
    } else {
      this._p = _p;
    }
  }

  /**
   * @returns {String|undefined}
   */
  getNamedGraph() {
    return this._o.ng;
  }

  /**
   * @param ng
   */
  setNamedGraph(ng) {
    this._o.ng = ng;
  }

  /**
   * The object of the Statement.
   *
   * @returns {Object}
   */
  getObject() {
    return this._o;
  }

  /**
   * The object of the Statement.
   *
   * @returns {Object}
   */
  getCleanObject() {
    const _o = this._o;
    const o = {
      value: _o.value,
      type: _o.type
    };
    if (this._o.ng) {
      o.ng = _o.ng;
    }
    if (_o.lang) {
      o.lang = _o.lang;
    }
    if (this._o.datatype) {
      o.datatype = _o.datatype;
    }
    return o;
  }

  /**
   * @returns {String} one of uri, bnode and literal
   */
  getType() {
    return this._o.type;
  }

  /**
   * @param {String} type must be one of uri, bnode and literal.
   */
  // eslint-disable-next-line no-unused-vars,class-methods-use-this
  setType(type) {
    throw new Error('Changing the type of an object is not supported, create a new' + ' statement instead.');
  }

  /**
   * If type is uri it is a URI, if type is a literal it is the literal string.
   * If type is a bnode the value is a internal bnode identity, should only be used for
   * references within the current graph.
   * @returns {String}
   */
  getValue() {
    return this._o.value;
  }

  /**
   * Sets the uri, literal or bnode of the current Statement depending on the type.
   * @param {String} value must be a uri if the type so indicates.
   * @param {boolean} [silent=false] the graph is not marked as "changed" if set to true
   */
  setValue(value) {
    let silent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    this._silentValue = silent === true;
    if (value !== this._o.value) {
      this._o.value = value;
      if (this.isAsserted() && silent !== true) {
        this._graph.setChanged();
      }
    }
  }

  /**
   * @returns {String} a language expressed using RFC-3066
   */
  getLanguage() {
    return this._o.lang;
  }

  /**
   * Sets the language of the object, only acceptable if the type is literal.
   * @param {String} lang the language expressed using RFC-30-66
   */
  setLanguage(lang, silent) {
    this._silentValue = silent === true;
    if (this._o.type !== 'literal') {
      throw new Error('Cannot set the language for a resource, has to be a literal');
    }
    if (this._o.lang !== lang) {
      this._o.lang = lang;
      if (this.isAsserted() && silent !== true) {
        this._graph.setChanged();
      }
    }
  }

  /**
   * The datatype of this object, only acceptable if the type is literal.
   * @returns {String} the datatype is always represented via a URI.
   */
  getDatatype() {
    return this._o.datatype;
  }

  /**
   * Set the datatype, only acceptable if the type is literal and no language is set.
   * @param {String} datatype the datatype expressed as a URI.
   */
  setDatatype(datatype, silent) {
    this._silentValue = silent === true;
    if (this._o.type !== 'literal' || this._o.lang != null) {
      throw new Error('Cannot set the datatype for a resource, has to be a literal');
    }
    if (this._o.datatype !== datatype) {
      this._o.datatype = datatype;
      if (this.isAsserted() && silent !== true) {
        this._graph.setChanged();
      }
    }
  }
}
;

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/converters.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/converters.js ***!
  \*********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Graph.js");
/* harmony import */ var _formats_rdfxml_toRDFXML_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formats/rdfxml/toRDFXML.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfxml/toRDFXML.js");
/* harmony import */ var _formats_rdfxml_fromRDFXML_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./formats/rdfxml/fromRDFXML.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfxml/fromRDFXML.js");





/**
 *
 * @module rdfjson/converters
 */

/**
 * Detects RDF from a string expressed in the RDF/XML or RDF/JSON formats. In addition,
 * it also understands instances of Graph or objects following the RDF/JSON structure.
 *
 * @param {string|object} rdf RDF graph in some format.
 * @returns {{graph: Graph, format: string, error: string, errorCode: number}} a report containing the detected graph
 * and format. If the detection fails the report contains a clear text error and an error code.
 */
const detect = async rdf => {
  const report = {};
  if (typeof rdf === 'string') {
    const taste = rdf.substring(0, 200);
    if (taste.toLowerCase().indexOf('<rdf:rdf') !== -1) {
      report.format = 'rdf/xml';
      try {
        report.graph = await (0,_formats_rdfxml_fromRDFXML_js__WEBPACK_IMPORTED_MODULE_3__["default"])(rdf);
      } catch (e) {
        report.error = e.message;
        report.errorCode = e.code;
      }
    } else if (rdf.substring(0, 2) === '{"') {
      report.format = 'rdf/json';
      try {
        const jsonrdf = JSON.parse(undefined.rdfjson);
        report.graph = new _Graph_js__WEBPACK_IMPORTED_MODULE_1__["default"](jsonrdf);
      } catch (e) {
        report.error = 'Invalid json.';
        report.errorCode = 3;
      }
    } else {
      report.error = 'No RDF detected.';
      report.errorCode = 4;
    }
  } else if (rdf instanceof _Graph_js__WEBPACK_IMPORTED_MODULE_1__["default"]) {
    report.format = 'rdf/json';
    report.graph = rdf;
  } else if (typeof rdf === 'object' && rdf !== null) {
    report.format = 'rdf/json';
    report.graph = new _Graph_js__WEBPACK_IMPORTED_MODULE_1__["default"](rdf);
  } else {
    report.error = 'unknown format';
    report.errorCode = 5;
  }
  if (!report.error) {
    const r = report.graph.validate();
    if (!r.valid) {
      report.error = 'RDF/JSON is not valid.';
      report.errorCode = 6;
    }
  }
  return report;
};

/**
 * Imports RDF/XML into a Graph
 *
 * @param {String} xml a string in the RDF/XML format.
 * @param {Graph|undefined} graph triples will be added to this graph, if undefined a new graph
 * will be created.
 * @returns {Graph} graph containing all the triples of the RDF/XML.
 * @function
 */
const rdfjson2rdfxml = _formats_rdfxml_toRDFXML_js__WEBPACK_IMPORTED_MODULE_2__["default"];

/**
 * Imports RDF/XML into a Graph
 *
 * @param {String} xml a string in the RDF/XML format.
 * @param {Graph|undefined} graph triples will be added to this graph, if undefined a new graph
 * will be created.
 * @returns {Graph} graph containing all the triples of the RDF/XML.
 * @function
 */
const rdfxml2graph = _formats_rdfxml_fromRDFXML_js__WEBPACK_IMPORTED_MODULE_3__["default"];
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  rdfxml2graph,
  rdfjson2rdfxml,
  detect
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfjs/rdfjs.js"
/*!******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfjs/rdfjs.js ***!
  \******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   toGraph: () => (/* binding */ toGraph),
/* harmony export */   toQuads: () => (/* binding */ toQuads)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rdfjs/data-model */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/index.js");


const fromBlank = value => {
  if (value.indexOf('_:') === 0) {
    return value.substring(2);
  }
  return value;
};
const fromObject = object => {
  if (!object.value) return undefined;
  switch (object.type) {
    case 'literal':
      if (object.lang) return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].literal(object.value, object.lang);
      if (object.datatype) {
        const datatype = _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(object.datatype);
        return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].literal(object.value, datatype);
      }
      return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].literal(object.value);
    case 'uri':
      return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(object.value);
    case 'blank':
      return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].blankNode(fromBlank(object.value));
  }
};

/**
 * Converts a graph to an array of quads
 * @returns {Array}
 * @private
 */
const toQuads = graph => graph.find().map(statement => {
  const subject = statement.getSubject();
  const predicate = statement.getPredicate();
  const object = fromObject(statement.getObject());
  const ng = statement.getNamedGraph() ? _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(statement.getNamedGraph()) : undefined;
  return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].quad(statement.isSubjectBlank() ? _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].blankNode(fromBlank(subject)) : _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(subject), _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(predicate),
  // TODO check if predicate is blank or not
  object, ng);
});
const toBlank = value => {
  if (value.indexOf('_:') === 0) {
    return value;
  }
  return `_:${value}`;
};

/**
 * Adds
 * @param quads
 * @param graph
 * @private
 */
const toGraph = (quads, graph) => {
  const _graph = graph || new Graph();
  const extractObject = term => {
    switch (term.termType) {
      case 'NamedNode':
        return {
          value: term.value,
          type: 'uri'
        };
      case 'BlankNode':
        return {
          value: toBlank(term.value),
          type: 'bnode'
        };
      case 'Literal':
        if (term.language) {
          return {
            value: term.value,
            type: 'literal',
            lang: term.language
          };
        } else if (term.datatype) {
          return {
            value: term.value,
            type: 'literal',
            datatype: term.datatype.value
          };
        }
        return {
          value: term.value,
          type: 'literal'
        };
      case 'Variable':
      case 'DefaultGraph':
    }
  };
  const extractObjectAndNG = quad => {
    const obj = extractObject(quad.object || quad._object);
    if (quad.graph.termType !== 'DefaultGraph') {
      obj.ng = quad.graph.value;
    }
    return obj;
  };
  quads.forEach(quad => {
    _graph.add(quad.subject.termType === 'BlankNode' ? toBlank(quad.subject.value) : quad.subject.value, quad.predicate.termType === 'BlankNode' ? toBlank(quad.predicate.value) : quad.predicate.value, extractObjectAndNG(quad));
  });
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfjson/util.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfjson/util.js ***!
  \*******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");




// Four helper methods, from dojo.
const isObject = it => it !== undefined && (it === null || typeof it === 'object' || Array.isArray(it) || typeof it === 'function');
const isString = it => typeof it === 'string' || it instanceof String;
const isFunction = it => Object.prototype.toString.call(it) === '[object Function]';
const statementEquals = (s1, s2) => s1.s === s2.s && s1.p === s2.p && objectEquals(s1.o, s2.o);

/**
 * Adds a statement to a graph object according to the rdf/json specification.
 * Duplicates of the same statement are not allowed in a graph,
 * hence they are not allowed to be added.
 *
 * The object in the statement are represented via an javascript object containing:
 * <ul><li>type - one of 'uri', 'literal' or 'bnode' (<b>required</b> and must be lowercase).</li>
 * <li>value - the lexical value of the object (<b>required</b>, full URIs should be used,
 * not namespaced using abbreviations)</li>
 * <li>lang - the language of a literal value (<b>optional</b>
 * but if supplied it must not be empty)</li>
 * <li>datatype - the datatype URI of the literal value (<b>optional</b>)</li>
 * The 'lang' and 'datatype' keys should only be used if the value of the 'type' key is "literal".
 *
 * @param {Object} graph according to the rdf/json specification.
 * @param {String} s a URI representing the subject in a statement.
 * @param {String} p a URI representing the predicate in a statement.
 * @param {Object} o an object representing either a resource or a literal,
 *  see format described above.
 * @param {boolean} allowDuplicates if true there is no check for duplicate statements
 * @return {Object} the javascript object corresponding to the statements object just added,
 *  note that it might be a clone of the object given in the parameter o
 * (for instance when the statement already exists in the graph).
 * @throws {String} an error message if the arguments are not valid.
 * @see The <a href="http://n2.talis.com/wiki/RDF_JSON_Specification">RDF JSON Specification</a>.
 * @private
 */
const add = (graph, s, p, o, allowDuplicates) => {
  checkForWrongArgs([graph, s, p, o]);
  if (graph[s] === undefined) {
    graph[s] = {};
    graph[s][p] = [o];
    return o;
  }
  if (graph[s][p] === undefined) {
    graph[s][p] = [o];
    return o;
  }
  let i;
  const objs = graph[s][p];
  if (!allowDuplicates) {
    for (i = objs.length - 1; i >= 0; i--) {
      if (objectEquals(o, objs[i])) {
        return objs[i];
      }
    }
  }
  objs.push(o);
  return o;
};

/**
 * Tries to remove the specified statement from the given graph.
 * If it is successful it returns the object of the statment removed.
 *
 * @param {Object} graph
 * @param {Object} s
 * @param {Object} p
 * @param {Object} o
 * @return {Object|undefined} the object of the statement removed,
 *  undefined if no matching statement could be removed.
 * @throws {String} an error message if the arguments are not valid.
 * @see exports.add for a longer treatment of the allowed arguments.
 * @private
 */
const remove = (graph, s, p, o) => {
  checkForWrongArgs([graph, s, p, o]);
  if (graph[s] === undefined || graph[s][p] === undefined) {
    return undefined;
  }
  let i;
  const objs = graph[s][p];
  for (i = objs.length - 1; i >= 0; i--) {
    if (objectEquals(o, objs[i])) {
      const _o = objs[i];
      objs.splice(i, 1);
      cleanup(graph, s, p);
      return _o;
    }
  }
  return undefined;
};

/**
 * Checks if the graph contains the specified statement.
 *
 * @param {Object} graph
 * @param {String} s
 * @param {String} p
 * @param {Object} o
 * @return {Object|undefined} the object of the found statement if the graph contains the
 * specified statement, undefined otherwise.
 * @throws {String} an error message if the arguments are not valid.
 * @private
 */
const contains = (graph, s, p, o) => {
  checkForWrongArgs([graph, s, p, o]);
  if (graph[s] === undefined || graph[s][p] === undefined) {
    return undefined;
  }
  let i;
  const objs = graph[s][p];
  for (i = objs.length - 1; i >= 0; i--) {
    if (objectEquals(o, objs[i])) {
      return objs[i];
    }
  }
  return undefined;
};

/**
 * Removes empty structures in the graph for the given subject and predicate.
 * It checks if there are subjects without outgoing properties or
 * if there are properties with no objects.
 *
 * Note that the need for this function is a consequence of the normalized character
 * of the RDF JSON format.
 *
 * @param {Object} graph
 * @param {Object} s
 * @param {Object} p
 * @private
 */
const cleanup = (graph, s, p) => {
  if (graph[s][p].length === 0) {
    delete graph[s][p];
    if (Object.keys(graph[s]).length === 0) {
      delete graph[s];
    }
  }
};

/**
 * Checks the arguments for the add function are valid
 * (and all other functions that have the same signature).
 *
 * @param {Array} args an array of the arguments for the add function.
 * @throws {String} with a message if the arguments are not valid.
 * @see exports.add
 * @private
 */
const checkForWrongArgs = args => {
  if (!isObject(args[0])) {
    throw new Error('Graph is not a object.');
  } else if (!isString(args[1])) {
    throw new Error('Subject is not a string.');
  } else if (!isString(args[2])) {
    throw new Error('Predicate is not a string.');
  } else if (!isObject(args[3])) {
    throw new Error('Object is not a object.');
  } else if (args[3].type === undefined) {
    throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or" + " 'bnode'");
  } else if (args[3].value === undefined) {
    throw new Error('Object has no value attribute corresponding to the lexical value ' + 'of the object.');
  }
  // TODO check that subject, predicate and object.datatype are uris.
  // TODO Also check that object.value is a URI if the type is uri.
};

/**
 * Compares two statement objects according to the RDF JSON Specification.
 * If both o1 and o2 are strings they are simply compared.
 * If one of o1 and o2 are a string and the other is an object the string is compared with the
 * value of the object ignoring any other attributes of the object.
 * If both o1 and o2 are null or undefined they are considered equal.
 *
 * @param {*} o1
 * @param {*} o2
 * @return {Boolean} true if they have the same type, lexical value, language, and datatype.
 * @private
 */
const objectEquals = (o1, o2) => {
  if (o1 === o2 || o1 == null && o1 === o2) {
    return true;
  }
  // Note, using
  if (isString(o1)) {
    if (isString(o2)) {
      return o1 === o2;
    }
    return o1 === o2.value;
  } else if (isString(o2)) {
    return o1.value === o2;
  }
  return o1.type === o2.type && o1.value === o2.value && o1.lang === o2.lang && o1.datatype === o2.datatype;
};
const findDirectOrRDFValue = (graph, subject, predicate) => {
  const arr = graph.find(subject, predicate);
  if (arr.length > 0) {
    if (arr[0].getType() !== 'bnode') {
      return arr[0].getValue();
    }
    return graph.findFirstValue(arr[0].getValue(), 'http://www.w3.org/1999/02/22-rdf-syntax-ns#value');
  }
  return undefined;
};
const copyObj = o => {
  const no = {
    type: o.type,
    value: o.value
  };
  if (o.ng != null) {
    no.ng = o.ng;
  }
  if (o.lang != null) {
    no.lang = o.lang;
  }
  if (o.datatype != null) {
    no.datatype = o.datatype;
  }
  return no;
};
const objAsString = o => `${o.value}${o.type}${o.lang || ''}${o.datatype || ''}${o.ng || ''}`;
const clone = function clone(graph) {
  let duplicateCheck = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  const ngraph = {};
  Object.keys(graph).forEach(s => {
    const subj = graph[s];
    ngraph[s] = {};
    Object.keys(subj).forEach(p => {
      const objArr = subj[p];
      if (objArr.length === 1) {
        ngraph[s][p] = [copyObj(objArr[0])];
      } else if (duplicateCheck) {
        const nObjArr = [];
        const strings = new Set();
        ngraph[s][p] = nObjArr;
        subj[p].forEach(o => {
          const newObj = copyObj(o);
          const stringObj = objAsString(newObj);
          if (!strings.has(stringObj)) {
            strings.add(stringObj);
            nObjArr.push(newObj);
          }
        });
      } else {
        const nObjArr = [];
        ngraph[s][p] = nObjArr;
        subj[p].forEach(o => {
          nObjArr.push(copyObj(o));
        });
      }
    });
  });
  return ngraph;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  isObject,
  isString,
  isFunction,
  statementEquals,
  add,
  remove,
  contains,
  cleanup,
  checkForWrongArgs,
  objectEquals,
  findDirectOrRDFValue,
  clone
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfxml/fromRDFXML.js"
/*!************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfxml/fromRDFXML.js ***!
  \************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var rdfxml_streaming_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rdfxml-streaming-parser */ "./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/index.js");
/* harmony import */ var _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @rdfjs/data-model */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/index.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Graph.js");








class CustomError extends Error {
  constructor() {
    let code = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '1';
    for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      params[_key - 1] = arguments[_key];
    }
    super(...params);
    this.code = code;
  }
}
const rdfXmlVocab = uri => {
  if (uri.startsWith('http://www.w3.org/1999/02/22-rdf-syntax-ns#')) {
    const localname = uri.substring(43);
    const names = ['about', 'nodeID', 'resource', 'parseType', 'datatype', 'li', 'ID', 'Description', 'RDF'];
    return names.includes(localname);
  }
  return false;
};
const xmlVocab = uri => uri === 'http://www.w3.org/2000/xmlns/xmlns';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (async function (xml) {
  let graph = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  return new Promise((success, reject) => {
    /**
     * @type {rdfjson.Graph}
     */
    const g = graph instanceof _Graph_js__WEBPACK_IMPORTED_MODULE_7__["default"] ? graph : new _Graph_js__WEBPACK_IMPORTED_MODULE_7__["default"]();
    const quads = [];
    const myParser = new rdfxml_streaming_parser__WEBPACK_IMPORTED_MODULE_5__.RdfXmlParser({
      dataFactory: _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_6__["default"],
      strict: true
    });
    let errors = false;
    myParser.on('data', q => {
      if (!errors) {
        if (q.subject.termType === 'NamedNode' && rdfXmlVocab(q.subject.value)) {
          reject(new CustomError(2, `RDF/XML Syntax error, ${q.subject.value} in subject position`));
          errors = true;
          return;
        }
        if (q.predicate.termType === 'NamedNode') {
          if (rdfXmlVocab(q.predicate.value)) {
            reject(new CustomError(2, `RDF/XML Syntax error, ${q.subject.value} in predicate position`));
            errors = true;
            return;
          } else if (xmlVocab(q.predicate.value)) {
            return;
          }
        }
        if (q.object.termType === 'NamedNode' && rdfXmlVocab(q.object.value)) {
          reject(new CustomError(2, `RDF/XML Syntax error, ${q.subject.value} in object position`));
          errors = true;
          return;
        }
        quads.push(q);
      }
    }).on('error', err => {
      if (!errors) {
        errors = true;
        if (err.message.includes('Invalid IRI')) {
          reject(new CustomError(1, err.message));
        } else {
          reject(new CustomError(2, err.message));
        }
      }
    }).on('end', () => {
      if (!errors) {
        g.addQuads(quads);
        success(g);
      }
    });
    myParser.write(xml);
    myParser.end();
  });
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfxml/toRDFXML.js"
/*!**********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/formats/rdfxml/toRDFXML.js ***!
  \**********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Graph.js");





const sp = '  ';
const sp2 = '    ';
const xmlEncode = url => encodeURI(decodeURI(url)).replace(/&/g, '&amp;');
const toRDFXML = graph => {
  const g = graph instanceof _Graph_js__WEBPACK_IMPORTED_MODULE_4__["default"] ? graph._graph : graph || {};
  const nsUsed = [];
  const nsAdded = {};
  const nsify = function nsify(prop) {
    const _o = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].nsify(prop);
    if (!nsAdded[_o.abbrev]) {
      nsUsed.push(_o.abbrev);
      nsAdded[_o.abbrev] = _o.ns;
    }
    return _o.pretty;
  };
  const strs = [];
  Object.keys(g).forEach(s => {
    if (s.substring(0, 2) === '_:') {
      strs.push(`${sp}<rdf:Description rdf:nodeID="_${s.substring(2)}">\n`);
    } else {
      strs.push(`${sp}<rdf:Description rdf:about="${xmlEncode(s)}">\n`);
    }
    const props = g[s];
    Object.keys(props).forEach(p => {
      const nsp = nsify(p);
      props[p].forEach(o => {
        let v;
        switch (o.type) {
          case 'literal':
            v = o.value.replace(/&/g, '&amp;').replace(/</g, '&lt;');
            if (o.lang != null) {
              strs.push(`${sp2}<${nsp} xml:lang="${o.lang}">${v}</${nsp}>\n`);
            } else if (o.datatype != null) {
              strs.push(`${sp2}<${nsp} rdf:datatype="${o.datatype}">${v}</${nsp}>\n`);
            } else {
              strs.push(`${sp2}<${nsp}>${v}</${nsp}>\n`);
            }
            break;
          case 'uri':
            strs.push(`${sp2}<${nsp} rdf:resource="${xmlEncode(o.value)}"/>\n`);
            break;
          case 'bnode':
            if (o.value.substr(0, 2) === '_:') {
              strs.push(`${sp2}<${nsp} rdf:nodeID="_${o.value.substring(2)}"/>\n`);
            } else {
              strs.push(`${sp2}<${nsp} rdf:nodeID="${o.value}"/>\n`);
            }
            break;
          default:
        }
      });
    });
    strs.push(`${sp}</rdf:Description>\n`);
  });
  const initialStrs = ['<?xml version="1.0"?>\n<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"'];
  for (let j = 0; j < nsUsed.length; j++) {
    if (nsUsed[j] !== 'rdf') {
      initialStrs.push(`\n\txmlns:${nsUsed[j]}="${nsAdded[nsUsed[j]]}"`);
    }
  }
  initialStrs.push('>\n');
  strs.unshift(initialStrs.join(''));
  strs.push('</rdf:RDF>');
  return strs.join('');
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toRDFXML);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/main.js ***!
  \***************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Graph: () => (/* reexport safe */ _Graph_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */   Rdfs: () => (/* reexport safe */ _Rdfs_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
/* harmony export */   Statement: () => (/* reexport safe */ _Statement_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
/* harmony export */   converters: () => (/* reexport safe */ _converters_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   namespaces: () => (/* reexport safe */ _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   print: () => (/* reexport safe */ _print_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   utils: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_4__["default"])
/* harmony export */ });
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var _converters_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./converters.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/converters.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Graph.js");
/* harmony import */ var _Statement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Statement.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Statement.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/utils.js");
/* harmony import */ var _print_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./print.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/print.js");
/* harmony import */ var _Rdfs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Rdfs.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/Rdfs.js");








/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js ***!
  \*********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/esnext.global-this.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.global-this.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");


/**
 * @module rdfjson/namespaces
 */

/**
 The storage of the namespaces is done in the global context depending on the environment.
 Even though this is not optimal as it pollutes the global context it is a solution
 for ensuring a single source of truth for the namespaces, which is important,
 since this module is imported more than once in an application,
 e.g directly and from 3rd libraries in @entryscape organization).
 If a universal adoption of ECMAScripts modules occurs than this
 will be unnecessary.
 **/

if (!('__rdfjson_namespaces' in globalThis)) {
  globalThis.__rdfjson_namespaces = {
    ical: 'http://www.w3.org/2002/12/cal/ical#',
    vcard: 'http://www.w3.org/2006/vcard/ns#',
    dcterms: 'http://purl.org/dc/terms/',
    skos: 'http://www.w3.org/2004/02/skos/core#',
    rdfs: 'http://www.w3.org/2000/01/rdf-schema#',
    rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
    owl: 'http://www.w3.org/2002/07/owl#',
    vs: 'http://www.w3.org/2003/06/sw-vocab-status/ns#',
    foaf: 'http://xmlns.com/foaf/0.1/',
    wot: 'http://xmlns.com/wot/0.1/',
    dc: 'http://purl.org/dc/elements/1.1/',
    xsd: 'http://www.w3.org/2001/XMLSchema#',
    dcat: 'http://www.w3.org/ns/dcat#',
    org: 'http://www.w3.org/ns/org#',
    gn: 'http://www.geonames.org/ontology#',
    locn: 'http://www.w3.org/ns/locn#',
    schema: 'http://schema.org/',
    ex: 'http://example.com/',
    gsp: 'http://www.opengis.net/ont/geosparql#',
    odrs: 'http://schema.theodi.org/odrs#'
  };
}

// to avoid writing globalThis.__rdfjson_namespaces on every reference
const {
  __rdfjson_namespaces: nss
} = globalThis;
let nscounter = 0;
const _nsify = (ns, expanded, localname) => {
  if (!nss[ns]) {
    nss[ns] = expanded;
  }
  return {
    abbrev: ns,
    ns: expanded,
    localname,
    full: expanded + localname,
    pretty: `${ns}:${localname}`
  };
};

/**
 * Returns an object that contain the following attributes:
 *
 * abbrev - the short namespace
 * ns - what the short namespace abbreviates
 * localname - the localname of the URI, given the current namespace
 * full - the original URI
 * pretty - the shortened version of the URI using the abbreviation, e.g. foaf:name
 *
 * @param uri
 * @return {{abbrev, ns, localname, full, pretty}}
 */
const nsify = uri => {
  const ens = Object.keys(nss).find(ns => uri.indexOf(nss[ns]) === 0);
  if (ens) {
    return _nsify(ens, nss[ens], uri.substring(nss[ens].length));
  }
  let slash = uri.lastIndexOf('/');
  const hash = uri.lastIndexOf('#');
  if (hash > slash) {
    slash = hash;
  }
  nscounter += 1;
  return _nsify(`ns${nscounter}`, uri.substring(0, slash + 1), uri.substring(slash + 1));
};

/**
 * Only abbreviates a URI if it can be matched to one of the already registered namespaces.
 *
 * @param {string} uri for example: http://xmlns.com/foaf/0.1/name
 * @return {string} in the form "foaf:name"
 */
const shortenKnown = uri => {
  const ens = Object.keys(nss).find(ns => uri.indexOf(nss[ns]) === 0);
  if (ens) {
    return _nsify(ens, nss[ens], uri.substring(nss[ens].length)).pretty;
  }
  return uri;
};

/**
 * Abbreviates all uris, if no matching namespace is found a suitable one is generated and
 * registered automatically.
 *
 * @param {string} uri for example: http://xmlns.com/foaf/0.1/name
 * @return {string} in the form "foaf:name" or "ns1:name" if foaf would not be registered already.
 */
const shorten = uri => nsify(uri).pretty;

/**
 * Expands an abbreviated URI from the list of registered namespaces.
 *
 * @param {string} nsuri a namespaced uri like "foaf:name"
 * @return {string} a full URI like "http://xmlns.com/foaf/0.1/name"
 */
const expand = nsuri => {
  const arr = nsuri.split(':');
  if (arr.length === 2 && nss.hasOwnProperty(arr[0])) {
    return nss[arr[0]] + arr[1];
  }
  return nsuri;
};

/**
 * Registers a namespace, both the abbreviation and its expansion.
 *
 * @param {string} ns the abbreviation, e.g. "foaf"
 * @param {string} full the expansion for the abbreviation, e.g. "http://xmlns.com/foaf/0.1/name"
 */
const add = (ns, full) => {
  if (typeof ns === 'string') {
    nss[ns] = full;
  } else if (typeof ns === 'object') {
    Object.keys(ns).forEach(nskey => {
      nss[nskey] = ns[nskey];
    });
  }
};

/**
 * Provides access to the currently registered namespaces as an object with abbreviations as
 * keys and their expansions as the values.
 *
 * @return {object}
 */
const registry = () => nss;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  nsify,
  shortenKnown,
  shorten,
  expand,
  add,
  registry
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/print.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/print.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   pretty: () => (/* binding */ pretty),
/* harmony export */   prettyTree: () => (/* binding */ prettyTree),
/* harmony export */   statementList: () => (/* binding */ statementList),
/* harmony export */   statementTree: () => (/* binding */ statementTree)
/* harmony export */ });
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js");


/**
 * @module rdfjson/print
 */

/**
 * @param {rdfjson.Graph} graph
 * @param {String} subject a URI for the subject to focus on
 */
const pretty = (graph, subject) => {
  const pretty = {};
  const stmts = graph.find(subject);
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    if (stmt.getType() !== 'bnode') {
      pretty[_namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getPredicate())] = stmt.getValue();
    }
  }
  return pretty;
};
const statementTree = (graph, subject, visited) => {
  const _visited = visited || {};
  const stmts = graph ? graph.find(subject) : [];
  const arr = [];
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    if (stmt.getType() === 'literal') {
      arr.push({
        stmt
      });
    } else {
      const row = {
        stmt
      };
      const obj = stmt.getValue();
      if (!_visited[obj]) {
        _visited[obj] = true;
        row.children = statementTree(graph, obj, _visited);
      }
    }
  }
  return arr;
};
const statementList = (graph, subject) => {
  const tree = statementTree(graph, subject);
  const arr = [];
  const f = (stmts, level) => {
    for (let i = 0; i < stmts.length; i++) {
      const stmt = stmts[i];
      stmt.indent = level;
      arr.push(stmt);
      if (stmt.children) {
        f(stmt.children, level + 1);
        delete stmt.children;
      }
    }
  };
  f(tree, 1);
  return arr;
};
const prettyTree = (graph, subject) => {
  const delegates = statementList(graph, subject);
  for (let i = 0; i < delegates.length; i++) {
    const delegate = delegates[i];
    const stmt = delegate.stmt;
    if (stmt.isSubjectBlank()) {
      delegate.s = stmt.getSubject();
    } else {
      delegate.s = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getSubject());
    }
    delegate.p = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getPredicate());
    const t = stmt.getType();
    if (t === 'uri') {
      delegate.o = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getValue());
      const lang = stmt.getLanguage();
      const dt = stmt.getDatatype();
      if (lang != null) {
        delegate.o += `@@${lang}`;
      } else if (dt != null) {
        delegate.o += `^^${dt}`;
      }
    } else if (t === 'literal') {
      delegate.o = `"${stmt.getValue()}"`;
    } else {
      delegate.o = `"${stmt.getValue()}"`;
    }
  }
  return delegates;
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  pretty,
  statementList,
  statementTree,
  prettyTree
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/utils.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/utils.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.4/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5 */ "./node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js");







/**
 * @module rdfjson/utils
 */

/**
 * Copies over a subset of statements from one metadata graph to another.
 * The statements copied are those with the provided uri in subject position, or
 * statements reachable via intermediate blank nodes from that uri.
 * Statements are not copied over if the predicate is listed in the ignore array,
 * unless the excludeAfterIgnore is specified in which case the triple is included
 * but no further triples reachable via the object.
 *
 * @param {rdfjson/Graph} inGraph graph which holds rdf data in graph format
 * @param {string} uri a starting point to find all statements to include
 * @param {object=} ignore is an object with predicates as attributes,
 * which are to be ignored (excluded)
 * @param {rdfjson/Graph=} outGraph graph where statements will be copied over into,
 *  if no outGraph is provided a new will be created.
 * @return {rdfjson/Graph} same as the provided outGraph
 */
const extract = (inGraph, outGraph, uri, ignore, excludeAfterIgnore) => {
  const _ignore = ignore || {};
  inGraph.find(uri, null, null).forEach(stmt => {
    if (!_ignore[stmt.getPredicate()]) {
      outGraph.add(stmt);
      if (stmt.getType() === 'bnode') {
        extract(inGraph, outGraph, stmt.getValue(), _ignore, excludeAfterIgnore);
      }
    } else if (excludeAfterIgnore) {
      outGraph.add(stmt);
    }
  });
  return outGraph;
};

/**
 * Removes an entire subgraph from a given graph.
 * The subgraph is calculated by traversing triples in the forward direction
 * from a starting resource. A triple is included in the subgraph if it can be reached
 * via a path of triples from the starting resource that only passes triples that have
 * blank nodes in object position. The triples in the path may not include predicates
 * in the ignore list except the last triple in the path.
 *
 * @param {rdfjson/Graph} graph the graph to remove triples from
 * @param {string} uri the starting resource to calculate the subgraph from
 * @param {object} ignore an hash of predicates (with the boolean true as value)
 * to ignore when calculating the subgraph to remove, see explanation above.
 */
const remove = (graph, uri, ignore) => {
  const _ignore = ignore || {};
  graph.find(uri, null, null).forEach(stmt => {
    graph.remove(stmt);
    if (!_ignore[stmt.getPredicate()]) {
      if (stmt.getType() === 'bnode') {
        remove(graph, stmt.getValue(), _ignore);
      }
    }
  });
};

/**
 * Creates a fingerprint of a graph by including all statements' subjects, predicates
 * and objects but excluding blank nodes wherever they occur. The result is sorted and a
 * md5-sum is calculated.
 *
 * Two isomorphic graphs will always have the same fingerprint, i.e. graphs that are similar
 * when disregarding names of blank nodes.
 *
 * Unfortunately, there are false positivies, i.e. two graphs may under certain circumstances
 * have the same fingerprint despite the fact that they are not isomorphic.
 * There are two situations when this can occur:
 *
 * Md5 collisions: Due to the way md5 works there are situations when two different
 * inputs can generate the same sum. However, this is very unlikely to happen for regular RDF
 * graphs.
 *
 * Algorithm deficiencies: If the graph has blank nodes that are connected to each other,
 * the fingerprint algorithm may fail.
 *
 * Briefly about the algorithm: Since blank nodes are often renamed upon serialization an
 * de-serialization these cannot be used in the fingerprinting algorithm. To overcome this
 * problem the algorithm gives each blank node an identifier via a deterministic process
 * that takes all incoming and outgoing triples into account. Clearly this approach will give
 * two blank nodes in two different graphs the same identifier if they have the same incoming
 * and outgoing triples. But, they may still correspond to different blank nodes
 * (in the isomorphic sense) if longer blank node traversal path are taken into account.
 *
 * Lets Look at two different graphs that will have the same fingerprint:
 * Graph 1: John indirectly knows Eric and Anna indirectly knows Linda
 * _:b1     foaf:name    'John'
 * _:b1     foaf:knows   _:b2
 * _:b2     foaf:knows   _:b3
 * _:b3     foaf:name    "Eric"
 * _:b4     foaf:name    'Anna'
 * _:b4     foaf:knows   _:b5
 * _:b5     foaf:knows   _:b6
 * _:b6     foaf:name    "Linda"
 *
 * Graph 2: John indirectly knows Linda and Anna indirectly knows Eric
 * _:b1     foaf:name    'John'
 * _:b1     foaf:knows   _:b2
 * _:b2     foaf:knows   _:b3
 * _:b3     foaf:name    "Linda"
 * _:b4     foaf:name    'Anna'
 * _:b4     foaf:knows   _:b5
 * _:b5     foaf:knows   _:b6
 * _:b6     foaf:name    "Eric"
 *
 * In practise this situation only occurs when you have longer paths of blank nodes without
 * additional distinguishing triples. However, from a modeling standpoint these kind of
 * expressions with long chains of nodes are seldom used and if they are used, there are
 * certainly distinguishing triples along the way.
 *
 * The conclusion is that checking if real world graphs are the same or not can be safely
 * determined with the help of this fingerprint method.
 *
 * @param {rdfjson/Graph} graph is the graph to fingerprint.
 * @param {array} excludeProperties a list of properties to exclude when calculating
 * the fingerprint.
 * @return {string} a md5 sum of the graph.
 */
const fingerprint = (graph, excludeProperties) => {
  const fpg = [];
  const exclude = new Set((excludeProperties || []).map(prop => _namespaces_js__WEBPACK_IMPORTED_MODULE_4__["default"].expand(prop)));
  const blankStmts = [];
  const blankIdx = {};
  const serializeObj = stmt => {
    let val = stmt.getValue();
    if (stmt.getLanguage()) {
      val += `@${stmt.getLanguage()}`;
    }
    const dt = stmt.getDatatype();
    if (dt && dt !== 'http://www.w3.org/2001/XMLSchema#string' && dt !== 'http://www.w3.org/1999/02/22-rdf-syntax-ns#langString') {
      val += `^^${dt}`;
    }
    return val;
  };
  const addToBlankRels = (bn, str) => {
    const idx = blankIdx[bn] || {
      rels: []
    };
    blankIdx[bn] = idx;
    idx.rels.push(str);
  };
  graph.find().forEach(stmt => {
    const s = stmt.getSubject();
    const p = stmt.getPredicate();
    if (exclude.has(p)) {
      return;
    }
    const oBlank = stmt.getType() === 'bnode';
    const sBlank = stmt.isSubjectBlank();
    if (sBlank || oBlank) {
      blankStmts.push(stmt);
      if (sBlank) {
        addToBlankRels(stmt.getSubject(), oBlank ? p : p + serializeObj(stmt));
      }
      if (stmt.getType() === 'bnode') {
        addToBlankRels(stmt.getValue(), sBlank ? p : s + p);
      }
      return;
    }
    fpg.push(s + p + serializeObj(stmt));
  });

  // Calculate a stable hash for each blank based on incoming and outgoing tripples.
  Object.values(blankIdx).forEach(blank => {
    blank.rels.sort();
    blank.hash = md5__WEBPACK_IMPORTED_MODULE_5__(blank.rels.join(''));
  });

  // Add all statements with blanks in them
  blankStmts.forEach(stmt => {
    const fps = [];
    fps.push(stmt.isSubjectBlank() ? blankIdx[stmt.getSubject()].hash : stmt.getSubject());
    fps.push(stmt.getPredicate());
    fps.push(stmt.getType() === 'bnode' ? blankIdx[stmt.getValue()].hash : serializeObj(stmt));
    fpg.push(fps.join(''));
  });
  fpg.sort();
  return md5__WEBPACK_IMPORTED_MODULE_5__(fpg.join(''));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  extract,
  remove,
  fingerprint
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Graph.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Graph.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Graph)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.reduce.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formats/rdfjson/util.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfjson/util.js");
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var _Statement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Statement.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Statement.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/utils.js");
/* harmony import */ var _formats_rdfjs_rdfjs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./formats/rdfjs/rdfjs.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfjs/rdfjs.js");








/**
 * @param {Array} arr
 * @returns {*}
 * @private
 */
const zeroOrOne = arr => arr.length === 0 ? arr : [arr[0]];

/**
 * @param {rdfjson/Graph} graph
 * @param {rdfjson/Statement[]} statements an array
 * @param {Boolean=} perSubject if true means that all consecutive calls will be focused on
 * all the subjects of the specified statments, otherwise the resource objects of the statements
 * will be the focus. Assumed to be false unless explicitly set to true.
 *
 * @returns {{object: Function, objects: Function, constr: Function, each: Function, nodes:
 * Function, values: Function, firstValue: Function}}
 * @private
 */
const perStatement = (graph, statements, perSubject) => ({
  object(predicate) {
    for (let i = 0; i < statements.length; i++) {
      let subj;
      if (perSubject) {
        subj = statements[i].getSubject();
      } else {
        const t = statements[i].getType();
        if (t === 'uri' || t === 'bnode') {
          // eslint-disable-next-line no-continue
          continue;
        }
        subj = statements[i].getValue();
      }
      const stmts = graph.find(subj, predicate);
      if (stmts.length > 0) {
        perStatement(graph, [stmts[0]]);
      }
    }
    return perStatement(graph, []);
  },
  objects(predicate) {
    let nstats = [];
    let i;
    if (perSubject === true) {
      for (i = 0; i < statements.length; i++) {
        nstats = nstats.concat(graph.find(statements[i].getSubject(), predicate));
      }
    } else {
      for (i = 0; i < statements.length; i++) {
        const t = statements[i].getType();
        if (t === 'uri' || t === 'bnode') {
          nstats = nstats.concat(graph.find(statements[i].getValue(), predicate));
        }
      }
    }
    return perStatement(graph, nstats);
  },
  constr(predicate, object) {
    let _object = object;
    if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isString(_object)) {
      _object = {
        type: 'uri',
        value: _object
      };
    }
    const nstats = [];
    for (let i = 0; i < statements.length; i++) {
      const subj = perSubject ? statements[i].getSubject() : statements[i].getValue();
      if (graph.find(subj, predicate, _object).length > 0) {
        nstats.push(statements[i]);
      }
    }
    return perStatement(graph, nstats, perSubject);
  },
  /**
   * For each match the callback will be called with a focused iterator.
   * @private
   */
  each(callback, type) {
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          callback(perStatement(graph, statements[i], perSubject));
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        callback(perStatement(graph, statements[j], perSubject));
      }
    }
  },
  statements() {
    return statements;
  },
  nodes(type) {
    const res = [];
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          res.push({
            type: t,
            value: statements[i].getSubject()
          });
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        if (type == null || type === statements[j].getType()) {
          res.push(statements[j].getObject());
        }
      }
    }
    return res;
  },
  values(type) {
    const res = [];
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          res.push(statements[i].getSubject());
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        if (type == null || type === statements[j].getType()) {
          res.push(statements[j].getValue());
        }
      }
    }
    return res;
  },
  firstValue(type) {
    if (perSubject === true) {
      for (let i = 0; i < statements.length; i++) {
        const subj = statements[i].getSubject();
        const t = subj.substring(0, 2) === '_:' ? 'bnode' : 'uri';
        if (type == null || type === t) {
          return statements[i].getSubject();
        }
      }
    } else {
      for (let j = 0; j < statements.length; j++) {
        if (type == null || type === statements[j].getType()) {
          return statements[j].getValue();
        }
      }
    }
    return undefined;
  }
});

/**
 * Provides an API for accessing and manipulating an RDF Graph.
 *
 * The Graph API wraps a pure RDF JSON object to make it easy to access and manipulate on the
 * level of rdfjson/Statements.
 * Note that for efficiency reasons the RDF JSON object will be extended, hence it will
 * contain attributes that goes beyond the specification.
 *
 * The pure RDF JSON object:
 * <ul><li>can still be inspected independently, it will contain the correct RDF expression.
 *     </li>
 *     <li>cannot be modified directly since it will conflict with manipulations via this
 *     class, the exception is the statement object attributes which can be updated.</li>
 *     <li>is now unsuitable to be communicated for instance back to a server storage
 *      due to the extra attributes. Use the exportRDFJSON function to get a clean RDF
 *      JSON object.</li></ul>
 *
 * @exports rdfjson/Graph
 */
class Graph {
  /**
   * The constructor is sheap, no indexes or additional statements are created until requested
   * or created.
   * @param {Object=} graph a pure RDF JSON object according to the specification that will be
   * manipulated internally.
   * @param {Boolean=} validate indicates wether to validate the graph directly or not.
   */
  constructor() {
    let graph = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
    let validate = arguments.length > 1 ? arguments[1] : undefined;
    this._graph = graph || {};
    /**
     * Internal index of bnodes, will never shrink after creation of this graph instance.
     * New bnodes will be added but bnodes contained in removed statements will be kept
     * in case the statement is only temporarily unasserted.
     */
    this._bnodes = {};
    /**
     * If true the graph has been iterated through and all found bnodes have been added to index.
     */
    this._bnodesIndexed = false;
    if (validate !== false) {
      this.validate();
    }
    this._changed = false;
  }

  /**
   * Adds quads according to RDF/JS Data model to the graph.
   *
   * @param {Array} quads an array of quads according to the RDF/JS Data model Quad interface.
   * @return {Graph} the graph itself.
   */
  addQuads(quads) {
    (0,_formats_rdfjs_rdfjs_js__WEBPACK_IMPORTED_MODULE_6__.toGraph)(quads, this);
    return this;
  }

  /**
   * Exports the graph to Quads according to the RDF/JS Data model.
   * @return {Array} the quads.
   */
  toQuads() {
    return (0,_formats_rdfjs_rdfjs_js__WEBPACK_IMPORTED_MODULE_6__.toQuads)(this);
  }

  /**
   * @return {Boolean} true if the graph contains no asserted statements.
   */
  isEmpty() {
    return !Object.keys(this._graph).find(s => {
      const props = this._graph[s];
      return Object.keys(props).find(p => props[p].find(o => o._statement == null || o._statement.isAsserted()));
    });
  }

  // eslint-disable-next-line class-methods-use-this
  onChange() {}
  setChanged(changed) {
    this._changed = !!(changed === true || changed == null);
    if (this._changed) {
      this.onChange();
    }
  }
  isChanged() {
    return this._changed;
  }

  /**
   * Adds all statements of a graph to the current graph.
   * Will create new blank nodes ids in the source graph to avoid clashes with target graph.
   *
   * @param graph
   */
  addAll(graph, ng) {
    const bnodeIdx = {};
    let bn;
    const stmts = graph.find();
    for (let i = 0; i < stmts.length; i++) {
      const stmt = stmts[i];
      let s = stmt.getSubject();
      let p = stmt.getPredicate();
      const o = stmt.getCleanObject();
      if (ng) {
        o.ng = ng;
      }
      if (s.indexOf('_:') === 0) {
        bn = bnodeIdx[s] || this._newBNode();
        bnodeIdx[s] = bn;
        s = bn;
      }
      if (p.indexOf('_:') === 0) {
        bn = bnodeIdx[p] || this._newBNode();
        bnodeIdx[p] = bn;
        p = bn;
      }
      if (o.type === 'bnode') {
        bn = bnodeIdx[o.value] || this._newBNode();
        bnodeIdx[o.value] = bn;
        o.value = bn;
      }
      this.add(s, p, o);
    }
  }

  /**
   * Adds a statement to the graph, either an existing statement or creates an new one from the
   * triple pattern. If a statement instance is used it may originate from another graph, although
   * potential bnodes are not renamed.
   *
   * @param {rdfjson/Statement|string} s either the subject in a triple pattern or a Statement
   * instance to add,
   * in the latter case the other parameters must be undefined.
   * @param {string|null} p the predicate of the triple to add.
   * @param {Object|string} o the object where the attributes type, value, lang and datatype are
   * used to describe the object.
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @param {boolean} [allowDuplicates=false] if identical statements should be allowed
   * @returns {rdfjson/Statement}
   */
  add(s) {
    let p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    let o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    let silent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    let allowDuplicates = arguments.length > 4 ? arguments[4] : undefined;
    if (s instanceof _Statement_js__WEBPACK_IMPORTED_MODULE_4__["default"]) {
      const _p = s.getPredicate();
      const _o = s.getObject();
      const _s = s.getSubject();
      this._trackBNodes(_s, _p, _o);
      const o1 = this._graphObject(_o);
      const o2 = _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].add(this._graph, _s, _p, o1, allowDuplicates);
      if (silent !== true) {
        this.setChanged();
      }
      return this._get(_s, _p, o2, true);
    }
    return this.create(s, p, o, true, silent, allowDuplicates);
  }
  addL(s, p, value, lang) {
    const o = {
      type: 'literal',
      value
    };
    if (typeof lang === 'string') {
      o.lang = lang;
    }
    return this.create(s, p, o, true);
  }
  addD(s, p, value, datatype) {
    const o = {
      type: 'literal',
      value
    };
    if (typeof datatype === 'string') {
      o.datatype = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(datatype);
    }
    return this.create(s, p, o, true);
  }

  /**
   * Creates a new statement and associates it to the graph, unless assert is explicitly set to
   * false it is also added to the graph.
   *
   * @param {String=} s the subject as a uri, if undefined a new blank node is created.
   * @param {String} p the predicate as a uri, if undefined a new blank node is created.
   * @param {Object} o the object in the form of an object containing the attributes:
   * 'type', 'value', 'lang', and 'datatype'. If undefined a new blank node is created.
   *  If a string is provided it is assumed to be a url, i.e. sending in "the url" is the same as
   *  sending in {type: "uri", value: "the url"}.
   * @param {Boolean} [assert=true] indicated if the statement should be added to the graph directly.
   * If not specified true is assumed.
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @param {boolean} [allowDuplicates=false] if identical statements should be allowed
   * @returns {rdfjson/Statement}
   * @see rdfjson/rdfjson#add
   */
  create() {
    let s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
    let p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
    let o = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
    let assert = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
    let silent = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
    let allowDuplicates = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
    let _s = s;
    let _p = p;
    let _o = o;
    if (_s == null) {
      _s = this._newBNode();
    } else {
      _s = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_s);
    }
    if (_p == null) {
      _p = this._newBNode();
    } else {
      _p = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_p);
    }
    if (_o == null) {
      _o = {
        type: 'bnode',
        value: this._newBNode()
      };
    } else if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isString(_o)) {
      _o = {
        type: 'uri',
        value: _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o)
      };
    } else if (typeof _o === 'object' && !Array.isArray(_o)) {
      // The object is copied to avoid reuse of same object in multiple places of the graph
      // leading to strange updates.
      _o = {
        type: _o.type,
        value: _o.value,
        lang: _o.lang,
        datatype: _o.datatype,
        ng: _o.ng
      };
      if (_o.type === 'uri' && _o.value != null) {
        _o.value = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o.value);
      }
      if (_o.datatype) {
        _o.datatype = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o.datatype);
      }
    } else {
      _o = {
        type: 'uri',
        value: `${_o}`
      };
    }
    if (assert !== false) {
      const o1 = _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].add(this._graph, _s, _p, _o, allowDuplicates);
      if (silent !== true) {
        this.setChanged();
      }
      return this._getOrCreate(_s, _p, o1, true);
    }
    return new _Statement_js__WEBPACK_IMPORTED_MODULE_4__["default"](this, _s, _p, _o, false);
  }

  /**
   * Convenience function that combines the find and remove functions.
   * @param {String=} s the subject
   * @param {String=} p the predicate
   * @param {Object=} o the object
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @see rdfjson/Graph#find
   * @see rdfjson/Graph#remove
   */
  findAndRemove(s, p, o) {
    let silent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
    const stmts = this.find(s, p, o);
    for (let i = 0; i < stmts.length; i++) {
      this.remove(stmts[i], silent);
    }
  }

  /**
   * Removes the given statement from the graph.
   * If you plan to keep the statement around and assert it later,
   * it is recommended to only use the rdfjson/Statement#setAsserted method instead.
   *
   * @param {rdfjson/Statement} statement the statement to remove from the graph.
   * @param {boolean} [silent=false] silent if the change should mark the graph as changed
   * @see rdfjson/Statement#setAsserted
   */
  remove(statement) {
    let silent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    const s = statement.getSubject();
    const p = statement.getPredicate();
    const o = statement.getObject();
    this._trackBNodes(s, p, o);
    if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].remove(this._graph, s, p, o) != null) {
      if (silent !== true) {
        this.setChanged();
      }
    }
  }

  /**
   * Finds all statements that fulfills the given pattern. Any combination of the arguments may
   * be left out.
   *
   * @param {String=} s the subject in the statements to be returned, undefined indicates that
   * any subject is ok.
   * @param {String=} p the predicate in the statements to be returned, undefined indicates
   * that any predicate is ok.
   * @param {Object=} o the object in the statements to be returned, undefined indicates that
   * any object is ok.
   * Objets of matching statements have to be equal according to the objectEquals method.
   * @return {rdfjson/Statement[]}
   * @see rdfjson/rdfjson#objectEquals
   */
  find(s, p, o) {
    let _s = s;
    let _p = p;
    let _o = o;
    // none, s, p, s&p
    if (typeof _s === 'string') {
      _s = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_s);
    }
    if (typeof _p === 'string') {
      _p = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_p);
    }
    if (typeof _o === 'object' && _o !== null && _o.type === 'uri') {
      _o.value = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o.value);
    } else if (typeof _o === 'string') {
      _o = {
        type: 'uri',
        value: _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(_o)
      };
    }
    if (_o == null) {
      // none, s
      if (_p == null) {
        if (_s == null) {
          return this._find();
        }
        return this._findS(_s);

        // p, s&p
      }
      // p
      if (_s == null) {
        return this._findP(_p);
        // s&p
      }
      return this._findSP(_s, _p);
    }
    // o, s&o
    if (_p == null) {
      if (_s == null) {
        return this._findO(_o);
      }
      return this._findSO(_s, _o);
    }

    // p&o
    if (_s == null) {
      return this._findPO(_p, _o);
    }

    // s&p&o
    const stmt = this._get(_s, _p, _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].contains(this._graph, _s, _p, _o), true);
    if (stmt == null) {
      return [];
    }
    return [stmt];
  }

  /**
   * Convenience method that returns the value of object of the first matching Statement
   * for the given subject and predicate.
   *
   * @param {String=} s the subject
   * @param {String=} p the predicate
   * @return {String} the value, may be a literal or a URI, if undefined no matching statement
   * (and value) could be found.
   * @see rdfjson/Graph#find
   */
  findFirstValue(s, p) {
    const arr = this.find(s, p);
    if (arr.length > 0) {
      return arr[0].getValue();
    }
    return undefined;
  }

  /**
   * Retrieves a projection, a plain object with simple attribute value pairs given a subject
   * and a mapping.
   * The mapping is an object where the same attributes appear but with the predicates are values.
   * Hence, each attribute gives rise to a search for all statements with the given subject and
   * the predicate specified by the attribute.
   * The result object will contain the mapping attributes with values from the the first
   * matched statements object value if there are any.
   * To access additional information like multiple statement or the statements
   * (type, language, datatype) a "*" prepended version of each attribute can be provided that
   * contains a list of matching Statements if so indicated by the multipleValueStyle parameter.
   *
   * @param {String} s the subject to use for the projection.
   * @param {Object} mapping the mapping configuration
   * @param {String} multipleValueStyle if provided an array is provided for that property
   * prefixed with "*", the array should be indicated to be either
   * "statements", "values" or "objects".
   * @returns {Object}
   * @example
   * var proj = graph.projection("http://example.com", {
   *     "title":       "http://purl.org/dc/terms/title",
   *     "description": "http://purl.org/dc/terms/description"
   * });
   * // The object proj now has the attributes title, *title, description, and *description.
   *
   * // Accessing the title of http://example.com
   * console.log(proj.title);
   *
   * // To get hold of additional information available in the statement,
   * // for instance the language of a literal:
   * console.log(proj["*title"][0].getLanguage())
   *
   */
  projection(s, mapping, multipleValueStyle) {
    const mapped = {};
    Object.keys(mapping).forEach(key => {
      const prop = mapping[key];
      const values = Array.isArray(prop) ? this.findPath(s, prop) : this.find(s, prop);
      if (values.length > 0) {
        if (key[0] === '*') {
          mapped[key.substr(1)] = values.map(val => val.getValue());
        } else {
          mapped[key] = values[0].getValue();
        }
        switch (multipleValueStyle || 'none') {
          case 'statement':
            mapped[`*${key}`] = values;
            break;
          case 'objects':
            mapped[`*${key}`] = values.map(v => v.getCleanObject());
            break;
          case 'values':
            mapped[`*${key}`] = values.map(v => v.getValue());
            break;
          default:
        }
      }
    });
    return mapped;
  }
  subjects(p, o) {
    return perStatement(this, this.find(null, p, o), true);
  }
  subject(p, o) {
    return perStatement(this, zeroOrOne(this.find(null, p, o)), true);
  }
  objects(s, p) {
    return perStatement(this, this.find(s, p, null));
  }
  object(s, p) {
    return perStatement(this, zeroOrOne(this.find(s, p, null)));
  }
  findPath(s, propertyPath) {
    return propertyPath.slice(1).reduce((acc, prop) => acc.objects(prop), this.objects(s, propertyPath[0])).statements();
  }

  /**
   * Constructs a rdf:List for the provided array.
   * @param {array} list an array of objects, same as the object parameter to the add method.
   * @returns {String} the blank node id, or rdf:nil if the list is empty
   */
  addList(list) {
    return this._addList(list, 'add');
  }

  /**
   * Constructs a rdf:List for the provided array of literals with the common language.
   * @param {string[]} an array of literals.
   * @param {string} the language common to all the literals in the array
   * (if this is not what you want you have to use the addList method with objects instead).
   * @returns {String} the blank node id, or rdf:nil if the list is empty
   */
  addListL(list, language) {
    return this._addList(list, 'addL', language);
  }

  /**
   * Constructs a rdf:List for the provided array of literals with the common datatype.
   * @param {string[]} an array of literals.
   * @param {string} the datatype common to all the literals in the array
   * (if this is not what you want you have to use the addList method with objects instead).
   * @returns {String} the blank node id, or rdf:nil if the list is empty
   */
  addListD(list, datatype) {
    return this._addList(list, 'addD', datatype);
  }
  _addList(list, method, langorDatatype) {
    let listnode;
    if (!Array.isArray(list) || list.length === 0) {
      listnode = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand('rdf:nil');
    } else {
      listnode = this._newBNode();
      let cursor = listnode;
      const nilPosition = list.length - 1;
      list.forEach((member, idx) => {
        this[method](cursor, 'rdf:first', member, langorDatatype);
        if (idx !== nilPosition) {
          cursor = this.add(cursor, 'rdf:rest').getValue();
        } else {
          this.add(cursor, 'rdf:rest', 'rdf:nil');
        }
      });
    }
    return listnode;
  }

  /**
   * Removes all tripples that makes up the list starting from the given resource.
   * @param o - the resource from which the list starts.
   * @return {boolean} true if the list was identifed as a valid list and removed.
   */
  removeList(o) {
    let listFound = false;
    let cursor = typeof o === 'object' ? o.value : o;
    try {
      const nil = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand('rdf:nil');
      listFound = cursor === nil;
      while (cursor !== nil && cursor != null) {
        const next = this.findFirstValue(cursor, 'rdf:rest');
        this.findAndRemove(cursor);
        cursor = next;
        listFound = cursor != null;
      }
    } catch (e) {
      console.warn(`Invalid list for object: ${cursor}`);
      return false;
    }
    return listFound;
  }

  /**
   * Extracts the rdf:List instance.
   * @param {String} o - the first resource node of the (linked) list.
   * @returns {Array} of objects (the same as is returned from Statement.getObject())
   */
  getList(o) {
    let cursor = typeof o === 'object' ? o.value : _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand(o);
    const list = [];
    try {
      const nil = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].expand('rdf:nil');
      while (cursor !== nil && cursor != null) {
        list.push(this.find(cursor, 'rdf:first')[0].getObject());
        cursor = this.findFirstValue(cursor, 'rdf:rest');
      }
    } catch (e) {
      console.warn(`Invalid list for object: ${cursor}`);
    }
    return list;
  }

  /**
   * Extracts the first list to be found given a subject and predicate.
   *
   * @param {String} s - the subject
   * @param {String} p - the predicate
   * @returns {String[]} array of strings, assuming the nodetype, datatype or
   * language is either not present or vital.
   */
  findFirstListAsValues(s, p) {
    return this.getList(this.findFirstValue(s, p)).map(obj => obj.value);
  }

  /**
   * Finds and removes all matched lists including the triples pointing to them.
   * @param {string} s - the subject
   * @param {string} p - the predicate
   * @return {boolean} true if at least one list was removed
   */
  findAndRemoveLists(s, p) {
    let removed = false;
    this.find(s, p).forEach(stmt => {
      if (this.removeList(stmt.getValue())) {
        this.remove(stmt);
        removed = true;
      }
    });
    return removed;
  }

  /**
   * This method returns an object that is suitable for serilization to JSON.
   *
   * @param {boolean} duplicateCheck weather the export should check and filter out duplicated statements, default is true.
   * @return {Object} a plain RDF JSON object without the additional artifacts created by this
   * Graph class.
   */
  exportRDFJSON() {
    let duplicateCheck = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
    const graph = this._graph;
    return _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].clone(this._graph, duplicateCheck);
  }

  /**
   * Replaces a URI in subject position with another,
   * assuming the target URI does not exist in the graph already.
   *
   * @param sourceURI
   * @param targetURI
   * @returns {Graph}
   * @deprecated Use replaceURI instead.
   */
  replaceSubject(sourceURI, targetURI) {
    return this.replaceURI(sourceURI, targetURI);
  }

  /**
   * Replaces all occurences of a URI in the graph with another URI.
   * Assumes the target URI does not exist in the graph already.
   *
   * @param sourceURI
   * @param targetURI
   * @returns {Graph}
   */
  replaceURI(sourceURI, targetURI) {
    const graph = this._graph;
    if (graph.hasOwnProperty(sourceURI)) {
      if (!graph.hasOwnProperty(targetURI)) {
        graph[targetURI] = graph[sourceURI];
        delete graph[sourceURI];
      } else {
        throw new Error('Cannot replace subject with target URI since it already exists.');
      }
    }
    this.forEach((s, p, o) => {
      if (o.type === 'uri' && o.value === sourceURI) {
        o.value = targetURI;
      }
      if (s === targetURI && o._statement) {
        o._statement._s = targetURI;
      }
    });
    return this;
  }

  /**
   * Replaces all occurences of a blank node in the graph with another URI.
   * If target URI exists in the graph already, the allowMerge parameter can
   * be utilized to merge existing statements with blank node statements.
   *
   * @param sourceURI
   * @param targetURI
   * @param allowMerge
   * @returns {Graph}
   */
  replaceBlankWithURI(sourceBlank, targetURI, allowMerge) {
    const graph = this._graph;
    if (graph.hasOwnProperty(sourceBlank)) {
      if (!graph.hasOwnProperty(targetURI)) {
        graph[targetURI] = graph[sourceBlank];
        delete graph[sourceBlank];
      } else if (allowMerge) {
        const targetProps = graph[targetURI];
        const sourceProps = graph[sourceBlank];
        Object.keys(sourceProps).forEach(prop => {
          if (targetProps.hasOwnProperty(prop)) {
            const targetObjArr = targetProps[prop];
            const sourceObjArr = sourceProps[prop];
            const sourceObjectsToMerge = sourceObjArr.filter(sourceObject => !targetObjArr.find(targetObject => _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(targetObject, sourceObject)));
            targetProps[prop] = targetObjArr.concat(sourceObjectsToMerge);
          } else {
            targetProps[prop] = sourceProps[prop];
          }
        });
        delete graph[sourceBlank];
      } else {
        throw new Error('Cannot replace subject with target URI since it already exists.');
      }
      this.forEach((s, p, o) => {
        if (o.type === 'bnode' && o.value === sourceBlank) {
          o.value = targetURI;
          o.type = 'uri';
        }
        if (s === targetURI && o._statement) {
          o._statement._s = targetURI;
        }
      });
    }
    delete this._bnodes[sourceBlank];
    return this;
  }

  /**
   * Clones this graph.
   * @returns {rdfjson/Graph}
   */
  clone() {
    return new Graph(this.exportRDFJSON(false));
  }

  /**
   * Finds all properties for a given subject.
   * Note: Optimal.
   * @param {String} s the subject to find properties for
   * @return {String[]} of strings
   */
  findProperties(s) {
    return Object.keys(this._graph[s] || {});
  }

  /**
   * Validates the graph and returns a report.
   * If errors are detected an exception is thrown.
   * The validation report is a object with a valid attribute which is either false or true.
   * If it is false an array of errors are provided where each error is an object containing
   * a message and information regarding which subject,predicate and object index in the
   * rdjson javascript object that caused the error..
   *
   * @returns {undefined} if there where no errors
   * @throws {Object} the validation report.
   */
  validate() {
    this.report = this._validate();
    if (!this.report.valid) {
      throw this.report;
    }
    return this.report;
  }

  /**
   * You should not use this function unless you are VERY certain of what you are doing.
   *
   * @private
   * @param {String} bNodeId
   */
  registerBNode(bNodeId) {
    this._bnodes[bNodeId] = true;
  }

  /**
   * Iterates through all statements of the graph and calls the provided function on them.
   *
   * @param {Function} f are called for each statement with the three arguments
   *  (in order) subject, predicate, and object.
   */
  forEach(f) {
    const graph = this._graph;
    Object.keys(graph).forEach(s => {
      const subj = graph[s];
      Object.keys(subj).forEach(p => {
        subj[p].forEach(o => {
          f(s, p, o);
        });
      });
    });
  }

  /**
   * Iterates through all statements of the graph and calls the provided function on them and
   * returns an array of the results.
   *
   * @param {Function} f are called for each statement with the three arguments
   *  (in order) subject, predicate, and object, f should return a value that is added to the
   *  array
   * @return {array} an array with the value of the function applied for each statement.
   */
  map(f) {
    const arr = [];
    this.forEach(stmt => {
      arr.push(f(stmt));
    });
    return arr;
  }

  /**
   * Compares this graph with another, true if they are isomorphic.
   * Comparision is done using the fingerprint mechanism. Hence, this method is not fullproof.
   *
   * @param {rdfjson/Graph} graph to compare to
   * @param {array} excludeProperties an array of properties to exclude in comparision check
   * @return {boolean} true if the graphs are isomorphic disregarding the excluded properties.
   * @see {rdfjson/utils#fingerprint}
   */
  equals(graph, excludeProperties) {
    return _utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].fingerprint(this, excludeProperties) === _utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].fingerprint(graph, excludeProperties);
  }

  /**
   * Calculates the amounts of triples in the graph.
   * @returns {number}
   */
  size() {
    let size = 0;
    Object.values(this._graph).forEach(subjObj => {
      Object.values(subjObj).forEach(objects => {
        size += objects.length;
      });
    });
    return size;
  }

  // ===================================================
  // Private methods
  // ===================================================

  /**
   * If the object already contains a statement that is returned, otherwise a new is created.
   * If the object is not specified undefined is returned.
   * @return {Statement|undefined} a statement that belongs to this graph.
   * @private
   */
  _get(s, p, o, asserted) {
    if (o == null) {
      return undefined;
    }
    return this._getOrCreate(s, p, o, asserted);
  }

  /**
   * If the object already contains a statement that is returned, otherwise a new is created.
   * @return {rdfjson/Statement} a statement that belongs to this graph.
   * @private
   */
  _getOrCreate(s, p, o, asserted) {
    if (o._statement == null) {
      o._statement = new _Statement_js__WEBPACK_IMPORTED_MODULE_4__["default"](this, s, p, o, asserted);
    }
    return o._statement;
  }

  /**
   * @return {Object} if the object originates from another graph a copy is made.
   * @private
   */
  _graphObject(o) {
    if (o._statement == null || o._statement._graph === this) {
      return o;
    }
    return {
      type: o.type,
      value: o.value,
      lang: o.lang,
      datatype: o.datatype
    };
  }

  /**
   * Finds all statements with a given subject and object.
   * @param {String} s
   * @param {String} p
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findSP(s, p) {
    if (this._graph[s] == null || this._graph[s][p] == null) {
      return [];
    }
    return this._graph[s][p].map(o => this._get(s, p, o, true));
  }

  /**
   * Finds all statements with a given subject.
   * Note: Optimal.
   * @param {String} s
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findS(s) {
    const subj = this._graph[s];
    const spArrs = Object.keys(subj || {}).map(p => this._findSP(s, p));
    return Array.prototype.concat.apply([], spArrs);
  }

  /**
   * Generates statements for the entire graph.
   * Note: Optimal.
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _find() {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      arr.push(this._get(s1, p1, o1, true));
    });
    return arr;
  }

  /**
   * Finds all statements with a given predicate.
   * Note: Close to optimal without further indexing, to many checks due to iteration via _map.
   * @param {String} p
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findP(p) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (p === p1) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * Iterates through all statements to find those with specified object.
   * Note: Optimal without additional indexing.
   * @param {Object} o
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findO(o) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(o, o1)) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * Finds all statements with a given subject and object.
   * Note: Close to optimal without further indexing, to many checks due to iteration via _map.
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findSO(s, o) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (s === s1 && _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(o, o1)) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * Finds all statements with a given predicate and object.
   * Note: Close to optimal without further indexing, to many checks due to iteration via _map.
   * @returns {rdfjson/Statement[]}
   * @private
   */
  _findPO(p, o) {
    const arr = [];
    this.forEach((s1, p1, o1) => {
      if (p === p1 && _formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].objectEquals(o, o1)) {
        arr.push(this._get(s1, p1, o1, true));
      }
    });
    return arr;
  }

  /**
   * @private
   */
  _validate() {
    const graph = this._graph;
    const report = {
      valid: true,
      errors: [],
      nr: 0
    };
    Object.keys(graph).forEach(s => {
      const subj = graph[s];
      if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isObject(subj)) {
        Object.keys(subj).forEach(p => {
          const objArr = subj[p];
          if (Array.isArray(objArr)) {
            objArr.forEach((o, oindex) => {
              if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isObject(o)) {
                if (o.type != null) {
                  if (_formats_rdfjson_util_js__WEBPACK_IMPORTED_MODULE_2__["default"].isString(o.value)) {
                    report.nr += 1;
                  } else {
                    report.errors.push({
                      s,
                      p,
                      oindex: oindex + 1,
                      message: `Object ${oindex + 1} in object array must have the 'value' attribute pointing to a string.`
                    });
                    report.valid = false;
                  }
                } else {
                  report.errors.push({
                    s,
                    p,
                    oindex: oindex + 1,
                    message: `Object ${oindex + 1} in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.`
                  });
                  report.valid = false;
                }
              } else {
                report.errors.push({
                  s,
                  p,
                  oindex: oindex + 1,
                  message: `Element ${oindex + 1} in object array is not an object.`
                });
                report.valid = false;
              }
            });
          } else {
            report.errors.push({
              s,
              p,
              message: 'Predicate must point to an array of objects.'
            });
            report.valid = false;
          }
        });
      } else {
        report.errors.push({
          s,
          message: 'Subject must point to an object.'
        });
        report.valid = false;
      }
    });
    return report;
  }

  /**
   * Creates a new bnode that is unique in the current graph.
   * Bnodes in temporarily unasserted statements (currently removed from the graph)
   * are avoided as well.
   * @returns {String}
   * @private
   */
  _newBNode() {
    this._indexBNodes();
    let p;
    let n;
    let bnode;
    for (p = 1; p < 20; p++) {
      for (n = 1; n <= p; n++) {
        bnode = `_:${Math.floor(Math.random() * (Math.pow(10, p) + 1))}`;
        if (this._bnodes[bnode] !== true) {
          this._bnodes[bnode] = true;
          return bnode;
        }
      }
    }
    throw new Error('Failed creating a new blank node, increadible unprobable...');
  }

  /**
   * Adds the bnodes in the graph to the bnode index.
   * The index can be calculated late, just before the first call to create.
   * (Bnodes in statements that are removed are added in advance to the index as
   * they may be only temporarily unasserted and when they are asserted again
   * they should not overlap with newly created bnodes.)
   * After the index is created all statemnts added update the index.
   * @private
   */
  _indexBNodes() {
    if (this._bnodesIndexed) {
      return;
    }
    const graph = this._graph;
    Object.keys(graph).forEach(s => {
      if (s.indexOf('_:') === 0) {
        this._bnodes[s] = true;
      }
      const subj = graph[s];
      Object.keys(subj).forEach(p => {
        if (p.indexOf('_:') === 0) {
          this._bnodes[p] = true;
        }
        subj[p].forEach(o => {
          if (o.type === 'bnode') {
            this._bnodes[o.value] = true;
          }
        });
      });
    });
    this._bnodesIndexed = true;
  }

  /**
   * Adds any bnodes in the given parameters to the index (the index may still be incomplete).
   * @param {String} s the subject in a statement.
   * @param {String} p the predicate in a statement.
   * @param {Object} o the object in a statement.
   * @private
   */
  _trackBNodes(s, p, o) {
    if (s.indexOf('_:') === 0) {
      this._bnodes[s] = true;
    }
    if (p.indexOf('_:') === 0) {
      this._bnodes[p] = true;
    }
    if (o.type === 'bnode') {
      this._bnodes[o.value] = true;
    }
  }
}
;

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Rdfs.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Rdfs.js ***!
  \***************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Graph.js");

const _ns = {
  rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
  rdfs: 'http://www.w3.org/2000/01/rdf-schema#',
  owl: 'http://www.w3.org/2002/07/owl#'
};
const _terms = {
  rdftype: `${_ns.rdf}type`,
  rdfssco: `${_ns.rdfs}subClassOf`,
  rdfsdomain: `${_ns.rdfs}domain`,
  rdfsrange: `${_ns.rdfs}range`,
  rdfsspo: `${_ns.rdfs}subPropertyOf`,
  rdfsClass: `${_ns.rdfs}Class`,
  owlClass: `${_ns.owl}Class`,
  owlObjectProperty: `${_ns.owl}ObjectProperty`,
  owlDatatypeProperty: `${_ns.owl}DatatypeProperty`,
  rdfProperty: `${_ns.rdf}Property`
};

// noinspection FunctionWithInconsistentReturnsJS
/**
 *
 * @param graph
 * @param subj
 * @param prop
 * @returns {Object|undefined}
 * @private
 */
const extractLiterals = (graph, subj, prop) => {
  const hash = {};
  let foundSomething = false;
  const stmts = graph.find(subj, prop);
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    if (stmt.getType() === 'literal') {
      hash[stmt.getLanguage() || ''] = stmt.getValue() || '';
      foundSomething = true;
    }
  }
  if (foundSomething) {
    if (hash.en == null && hash[''] != null) {
      hash.en = hash[''];
      delete hash[''];
    }
    return hash;
  }
  return undefined;
};
const toSet = arr => {
  const narr = [];
  const idx = {};
  for (let i = 0; i < arr.length; i++) {
    const m = arr[i];
    if (!idx[m]) {
      narr.push(m);
      idx[m] = true;
    }
  }
  return narr;
};

/**
 *
 * @exports rdfjson/Cls
 */
const Cls = class {
  constructor(uri, graph) {
    this._uri = uri;
    this._parents = [];
    this._children = [];
    this._graph = graph;
  }

  /**
   * @return {String}
   */
  getURI() {
    return this._uri;
  }

  /**
   * @returns {String}
   */
  getLabel() {
    const labels = this.getLabels();
    if (labels.en != null) {
      return labels.en;
    }
    const lbls = Object.objects(labels);
    return lbls.length > 0 ? lbls[0] : '';
  }

  /**
   * @returns {Object}
   */
  getLabels() {
    if (this._labels == null) {
      // Checking for only rdfs:label
      this._labels = extractLiterals(this._graph, this._uri, `${_ns.rdfs}label`);
      if (this._labels == null) {
        this._labels = {
          en: this._uri.substr(this._uri.lastIndexOf('/') + 1)
        };
      }
    }
    return this._labels;
  }

  /**
   * @returns {String}
   */
  getComment() {
    const comments = this.getComments();
    if (comments != null) {
      if (comments.en != null) {
        return comments.en;
      }
      return Object.objects(comments)[0];
    }
    return '';
  }

  /**
   * @returns {Object}
   */
  getComments() {
    if (this._comments == null) {
      // Checking for only rdfs:comment
      this._comments = extractLiterals(this._graph, this._uri, `${_ns.rdfs}comment`);
    }
    return this._comments;
  }

  /**
   * @param {Cls} cls
   */
  addParent(cls) {
    this._parents.push(cls);
    cls._children.push(this);
  }

  /**
   * @returns {Cls[]}
   */
  getDirectParents() {
    return this._parents;
  }

  /**
   * @returns {Cls[]}
   */
  getParents() {
    // Avoid infinite recursion if loops.
    if (this._parentLock) {
      return [];
    }
    this._parentLock = true;
    if (this._allParents == null) {
      this._allParents = [];
      for (let i = 0; i < this._parents.length; i++) {
        this._allParents = this._allParents.concat(this._parents[i].getParents());
        this._allParents.push(this._parents[i]);
      }
    }
    delete this._parentLock;
    return this._allParents;
  }

  /**
   * @returns {Cls[]}
   */
  getChildren() {
    // Avoid infinite recursion if loops.
    if (this._childLock) {
      return [];
    }
    this._childLock = true;
    if (this._allChildren == null) {
      this._allChildren = [];
      for (let i = 0; i < this._children.length; i++) {
        this._allChildren = this._allChildren.concat(this._children[i].getChildren());
        this._allChildren.push(this._children[i]);
      }
    }
    delete this._childLock;
    return this._allChildren;
  }

  /**
   * @param {Cls} r
   */
  setRange(r) {
    if (this._range == null) {
      this._range = [];
    }
    this._range.push(r);
  }

  /**
   *
   * @param {Cls} cls
   */
  setDomain(cls) {
    if (this._domain == null) {
      this._domain = [];
    }
    this._domain.push(cls);
    cls.setDomainOf(this);
  }

  /**
   * @returns {Set}
   */
  getRange() {
    if (this._allRange == null) {
      this._allRange = this._range || [];
      for (let i = 0; i < this._parents.length; i++) {
        this._allRange = this._allRange.concat(this._parents[i].getRange());
      }
      this._allRange = toSet(this._allRange);
    }
    return this._allRange;
  }

  /**
   * @returns {Set}
   */
  getDomain() {
    if (this._allDomain == null) {
      this._allDomain = this._domain || [];
      for (let i = 0; i < this._parents.length; i++) {
        this._allDomain = this._allDomain.concat(this._parents[i].getDomain());
      }
      this._allDomain = toSet(this._allDomain);
    }
    return this._allDomain;
  }

  /**
   * @param {Cls} prop
   */
  setDomainOf(prop) {
    if (this._domainOf == null) {
      this._domainOf = [];
    }
    this._domainOf.push(prop);
  }

  /**
   * @returns {Cls[]}
   */
  getDomainOf() {
    return this._domainOf;
  }

  /**
   * @returns {Cls[]}
   */
  getAllDomainOf() {
    // Avoid infinite recursion if loops.
    if (this._domainOfLock) {
      return [];
    }
    this._domainOfLock = true;
    if (this._allDomainOf == null) {
      const childDomainOf = this._domainOf || [];
      this._allDomainOf = this._domainOf || [];
      for (let j = 0; j < childDomainOf.length; j++) {
        this._allDomainOf = this._allDomainOf.concat(childDomainOf[j].getChildren());
      }
      for (let i = 0; i < this._parents.length; i++) {
        this._allDomainOf = this._allDomainOf.concat(this._parents[i].getAllDomainOf());
      }
    }
    delete this._domainOfLock;
    return this._allDomainOf;
  }
};
const indexf = function indexf(idx, arr, stmts, parentObject) {
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    const suri = stmt.getSubject();
    let s = idx[suri];
    if (!s) {
      s = new Cls(suri, stmt.getGraph());
      idx[suri] = s;
      arr.push(s);
    }
    if (parentObject) {
      const ouri = stmt.getValue(); // Assume a resource as object.
      let o = idx[ouri];
      if (!o) {
        o = new Cls(ouri, stmt.getGraph());
        idx[ouri] = o;
        arr.push(o);
      }
      s.addParent(o);
    }
  }
};
const rangeDomain = function rangeDomain(graph, pIdx, cIdx) {
  let subj;
  let obj;
  let stmt;
  let stmts = graph.find(null, _terms.rdfsdomain, null);
  for (let d = 0; d < stmts.length; d++) {
    stmt = stmts[d];
    subj = pIdx[stmt.getSubject()];
    obj = cIdx[stmt.getValue()];
    if (subj != null && obj != null) {
      subj.setDomain(obj);
    }
  }
  stmts = graph.find(null, _terms.rdfsrange, null);
  for (let r = 0; r < stmts.length; r++) {
    stmt = stmts[r];
    subj = pIdx[stmt.getSubject()];
    obj = stmt.getValue();
    if (subj != null && obj != null) {
      subj.setRange(obj);
    }
  }
};

/**
 * @exports rdfjson/Rdfs
 */
const Rdfs = class {
  constructor() {
    this._cidx = {};
    this._carr = [];
    this._pidx = {};
    this._parr = [];
  }

  /**
   * @param {Graph} graph
   */
  addGraph(graph) {
    indexf(this._cidx, this._carr, graph.find(null, _terms.rdftype, _terms.rdfsClass));
    indexf(this._cidx, this._carr, graph.find(null, _terms.rdftype, _terms.owlClass));
    indexf(this._cidx, this._carr, graph.find(null, _terms.rdfssco, null), true);
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdftype, _terms.rdfProperty));
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdfsspo, null), true);
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdftype, _terms.owlDatatypeProperty));
    indexf(this._pidx, this._parr, graph.find(null, _terms.rdftype, _terms.owlObjectProperty));
    rangeDomain(graph, this._pidx, this._cidx);
  }

  /**
   */
  addThing() {
    const turi = 'http://www.w3.org/2002/07/owl#Thing';
    let thing = this._cidx[turi];
    let thingIsNew = false;
    if (!thing) {
      thing = new Cls(turi, new _Graph_js__WEBPACK_IMPORTED_MODULE_0__["default"]());
      this._cidx[turi] = thing;
      this._carr.push(thing);
      thingIsNew = true;
    }
    for (let c = 0; c < this._carr.length; c++) {
      const cls = this._carr[c];
      if (thingIsNew && cls !== thing) {
        cls.addParent(thing);
      } else if (cls.getParents().indexOf(thing) === -1 && cls !== thing) {
        cls.addParent(thing);
      }
    }
  }

  /**
   * @returns {Cls[]}
   */
  getClasses() {
    return this._carr;
  }

  /**
   * @returns {Cls[]}
   */
  getProperties() {
    return this._parr;
  }

  /**
   *
   * @param {String} uri
   * @returns {boolean}
   */
  isClass(uri) {
    return this._cidx[uri] != null;
  }

  /**
   * @param {String} uri
   * @returns {boolean}
   */
  isProperty(uri) {
    return this._pidx[uri] != null;
  }

  /**
   *
   * @param {String} uri
   * @returns {Cls}
   */
  getClass(uri) {
    return this._cidx[uri];
  }

  /**
   * @param {String} uri
   * @returns {Cls}
   */
  getProperty(uri) {
    return this._pidx[uri];
  }

  /**
   * @param {Cls} cls
   * @returns {String[]}
   */
  static getInstances(cls) {
    const instances = [];
    const clss = [cls].concat(cls.getChildren());
    for (let ci = 0; ci < clss.length; ci++) {
      const c = clss[ci];
      const stmts = c.getGraph.find(null, _terms.rdftype, c.getURI());
      for (let s = 0; s < stmts.length; s++) {
        instances.push(stmts[s].getSubject());
      }
    }
    return instances;
  }
};
Rdfs.prototype.ns = _ns;
Rdfs.prototype.terms = _terms;
Rdfs.global = new Rdfs();
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Rdfs);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Statement.js"
/*!********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Statement.js ***!
  \********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ Statement)
/* harmony export */ });
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js");


/**
 * rdfjson.Statement Represents a statement in a graph.
 * Never create directly, use the methods in rdfjson.Graph.
 * Constructs a statement from the provided parts, the object is assumed to be the same
 * actual javascript object as is used in the graph.
 *
 * @exports rdfjson/Statment
 */
class Statement {
  /**
   * @param {rdfjson/Graph} graph the rdfjson.Graph we will manipulate.
   * @param {String} s the subject in the statement
   * @param {String} p the predicate in the statement.
   * @param {Object} o the object in the statement.
   * @param {Boolean} asserted indicates if the statement is asserted in the accompanied graph.
   * @constructor
   */
  constructor(graph, s, p, o, asserted) {
    this._graph = graph;
    this._s = s;
    this._p = p;
    this._o = o;
    this._o._statement = this;
    this._asserted = asserted;
  }

  /**
   * The Graph this Statement is associated with.
   * @returns {rdfjson.Graph}
   */
  getGraph() {
    return this._graph;
  }

  /**
   * An asserted statement is present in its associated Graph
   * @param {Boolean} asserted
   * @param {Boolean} [allowDuplicates = false] if assertment should be done even though it might lead to a
   * duplicated statement or not
   */
  setAsserted(asserted) {
    let allowDuplicates = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    if (asserted !== this._asserted) {
      if (asserted) {
        this._graph.add(this, undefined, undefined, this._silentValue, allowDuplicates);
      } else {
        this._graph.remove(this, this._silentValue);
      }
      this._asserted = asserted;
    }
  }

  /**
   * True if the Statement is asserted in the Graph.
   * @returns {Boolean}
   */
  isAsserted() {
    return this._asserted;
  }

  /**
   * The subject of this statement.
   * @returns {String}
   */
  getSubject() {
    return this._s;
  }
  isSubjectBlank() {
    if (this._sIsBlank !== true && this._sIsBlank !== false) {
      this._sIsBlank = this._s.indexOf('_:') === 0;
      // this._sIsBlank = this._graph._bnodes[this._s] === true;
    }
    return this._sIsBlank;
  }
  isObjectBlank() {
    return this.getType() === 'bnode';
  }

  /**
   * Sets the subject of this statement, other Statements with this resource as subject or object
   * is not affected.
   * @param {String} s must be a valid URI.
   */
  setSubject(s) {
    this._silentValue = false;
    const _s = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].expand(s);
    if (this._asserted) {
      this._graph.remove(this);
      this._s = _s;
      this._graph.add(this);
      delete this._sIsBlank;
    } else {
      this._s = _s;
    }
  }

  /**
   * The predicate of this Statement.
   * @returns {String}
   */
  getPredicate() {
    return this._p;
  }

  /**
   * Sets the predicate of this statement.
   * @param {String} p must be a valid URI.
   */
  setPredicate(p) {
    this._silentValue = false;
    const _p = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].expand(p);
    if (this._asserted) {
      this._graph.remove(this);
      this._p = _p;
      this._graph.add(this);
    } else {
      this._p = _p;
    }
  }

  /**
   * @returns {String|undefined}
   */
  getNamedGraph() {
    return this._o.ng;
  }

  /**
   * @param ng
   */
  setNamedGraph(ng) {
    this._o.ng = ng;
  }

  /**
   * The object of the Statement.
   *
   * @returns {Object}
   */
  getObject() {
    return this._o;
  }

  /**
   * The object of the Statement.
   *
   * @returns {Object}
   */
  getCleanObject() {
    const _o = this._o;
    const o = {
      value: _o.value,
      type: _o.type
    };
    if (this._o.ng) {
      o.ng = _o.ng;
    }
    if (_o.lang) {
      o.lang = _o.lang;
    }
    if (this._o.datatype) {
      o.datatype = _o.datatype;
    }
    return o;
  }

  /**
   * @returns {String} one of uri, bnode and literal
   */
  getType() {
    return this._o.type;
  }

  /**
   * @param {String} type must be one of uri, bnode and literal.
   */
  // eslint-disable-next-line no-unused-vars,class-methods-use-this
  setType(type) {
    throw new Error('Changing the type of an object is not supported, create a new' + ' statement instead.');
  }

  /**
   * If type is uri it is a URI, if type is a literal it is the literal string.
   * If type is a bnode the value is a internal bnode identity, should only be used for
   * references within the current graph.
   * @returns {String}
   */
  getValue() {
    return this._o.value;
  }

  /**
   * Sets the uri, literal or bnode of the current Statement depending on the type.
   * @param {String} value must be a uri if the type so indicates.
   * @param {boolean} [silent=false] the graph is not marked as "changed" if set to true
   */
  setValue(value) {
    let silent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    this._silentValue = silent === true;
    if (value !== this._o.value) {
      this._o.value = value;
      if (this.isAsserted() && silent !== true) {
        this._graph.setChanged();
      }
    }
  }

  /**
   * @returns {String} a language expressed using RFC-3066
   */
  getLanguage() {
    return this._o.lang;
  }

  /**
   * Sets the language of the object, only acceptable if the type is literal.
   * @param {String} lang the language expressed using RFC-30-66
   */
  setLanguage(lang, silent) {
    this._silentValue = silent === true;
    if (this._o.type !== 'literal') {
      throw new Error('Cannot set the language for a resource, has to be a literal');
    }
    if (this._o.lang !== lang) {
      this._o.lang = lang;
      if (this.isAsserted() && silent !== true) {
        this._graph.setChanged();
      }
    }
  }

  /**
   * The datatype of this object, only acceptable if the type is literal.
   * @returns {String} the datatype is always represented via a URI.
   */
  getDatatype() {
    return this._o.datatype;
  }

  /**
   * Set the datatype, only acceptable if the type is literal and no language is set.
   * @param {String} datatype the datatype expressed as a URI.
   */
  setDatatype(datatype, silent) {
    this._silentValue = silent === true;
    if (this._o.type !== 'literal' || this._o.lang != null) {
      throw new Error('Cannot set the datatype for a resource, has to be a literal');
    }
    if (this._o.datatype !== datatype) {
      this._o.datatype = datatype;
      if (this.isAsserted() && silent !== true) {
        this._graph.setChanged();
      }
    }
  }
}
;

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/converters.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/converters.js ***!
  \*********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Graph.js");
/* harmony import */ var _formats_rdfxml_toRDFXML_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formats/rdfxml/toRDFXML.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfxml/toRDFXML.js");
/* harmony import */ var _formats_rdfxml_fromRDFXML_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./formats/rdfxml/fromRDFXML.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfxml/fromRDFXML.js");





/**
 *
 * @module rdfjson/converters
 */

/**
 * Detects RDF from a string expressed in the RDF/XML or RDF/JSON formats. In addition,
 * it also understands instances of Graph or objects following the RDF/JSON structure.
 *
 * @param {string|object} rdf RDF graph in some format.
 * @returns {{graph: Graph, format: string, error: string, errorCode: number}} a report containing the detected graph
 * and format. If the detection fails the report contains a clear text error and an error code.
 */
const detect = async rdf => {
  const report = {};
  if (typeof rdf === 'string') {
    const taste = rdf.substring(0, 200);
    if (taste.toLowerCase().indexOf('<rdf:rdf') !== -1) {
      report.format = 'rdf/xml';
      try {
        report.graph = await (0,_formats_rdfxml_fromRDFXML_js__WEBPACK_IMPORTED_MODULE_3__["default"])(rdf);
      } catch (e) {
        report.error = e.message;
        report.errorCode = e.code;
      }
    } else if (rdf.substring(0, 2) === '{"') {
      report.format = 'rdf/json';
      try {
        const jsonrdf = JSON.parse(undefined.rdfjson);
        report.graph = new _Graph_js__WEBPACK_IMPORTED_MODULE_1__["default"](jsonrdf);
      } catch (e) {
        report.error = 'Invalid json.';
        report.errorCode = 3;
      }
    } else {
      report.error = 'No RDF detected.';
      report.errorCode = 4;
    }
  } else if (rdf instanceof _Graph_js__WEBPACK_IMPORTED_MODULE_1__["default"]) {
    report.format = 'rdf/json';
    report.graph = rdf;
  } else if (typeof rdf === 'object' && rdf !== null) {
    report.format = 'rdf/json';
    report.graph = new _Graph_js__WEBPACK_IMPORTED_MODULE_1__["default"](rdf);
  } else {
    report.error = 'unknown format';
    report.errorCode = 5;
  }
  if (!report.error) {
    const r = report.graph.validate();
    if (!r.valid) {
      report.error = 'RDF/JSON is not valid.';
      report.errorCode = 6;
    }
  }
  return report;
};

/**
 * Imports RDF/XML into a Graph
 *
 * @param {String} xml a string in the RDF/XML format.
 * @param {Graph|undefined} graph triples will be added to this graph, if undefined a new graph
 * will be created.
 * @returns {Graph} graph containing all the triples of the RDF/XML.
 * @function
 */
const rdfjson2rdfxml = _formats_rdfxml_toRDFXML_js__WEBPACK_IMPORTED_MODULE_2__["default"];

/**
 * Imports RDF/XML into a Graph
 *
 * @param {String} xml a string in the RDF/XML format.
 * @param {Graph|undefined} graph triples will be added to this graph, if undefined a new graph
 * will be created.
 * @returns {Graph} graph containing all the triples of the RDF/XML.
 * @function
 */
const rdfxml2graph = _formats_rdfxml_fromRDFXML_js__WEBPACK_IMPORTED_MODULE_3__["default"];
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  rdfxml2graph,
  rdfjson2rdfxml,
  detect
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfjs/rdfjs.js"
/*!******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfjs/rdfjs.js ***!
  \******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   toGraph: () => (/* binding */ toGraph),
/* harmony export */   toQuads: () => (/* binding */ toQuads)
/* harmony export */ });
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rdfjs/data-model */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/index.js");


const fromBlank = value => {
  if (value.indexOf('_:') === 0) {
    return value.substring(2);
  }
  return value;
};
const fromObject = object => {
  if (!object.value) return undefined;
  switch (object.type) {
    case 'literal':
      if (object.lang) return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].literal(object.value, object.lang);
      if (object.datatype) {
        const datatype = _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(object.datatype);
        return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].literal(object.value, datatype);
      }
      return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].literal(object.value);
    case 'uri':
      return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(object.value);
    case 'bnode':
      return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].blankNode(fromBlank(object.value));
  }
};

/**
 * Converts a graph to an array of quads
 * @returns {Array}
 * @private
 */
const toQuads = graph => graph.find().map(statement => {
  const subject = statement.getSubject();
  const predicate = statement.getPredicate();
  const object = fromObject(statement.getObject());
  const ng = statement.getNamedGraph() ? _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(statement.getNamedGraph()) : undefined;
  return _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].quad(statement.isSubjectBlank() ? _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].blankNode(fromBlank(subject)) : _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(subject), _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_1__["default"].namedNode(predicate),
  // TODO check if predicate is blank or not
  object, ng);
});
const toBlank = value => {
  if (value.indexOf('_:') === 0) {
    return value;
  }
  return `_:${value}`;
};

/**
 * Adds
 * @param quads
 * @param graph
 * @private
 */
const toGraph = (quads, graph) => {
  const _graph = graph || new Graph();
  const extractObject = term => {
    switch (term.termType) {
      case 'NamedNode':
        return {
          value: term.value,
          type: 'uri'
        };
      case 'BlankNode':
        return {
          value: toBlank(term.value),
          type: 'bnode'
        };
      case 'Literal':
        if (term.language) {
          return {
            value: term.value,
            type: 'literal',
            lang: term.language
          };
        } else if (term.datatype) {
          return {
            value: term.value,
            type: 'literal',
            datatype: term.datatype.value
          };
        }
        return {
          value: term.value,
          type: 'literal'
        };
      case 'Variable':
      case 'DefaultGraph':
    }
  };
  const extractObjectAndNG = quad => {
    const obj = extractObject(quad.object || quad._object);
    if (quad.graph.termType !== 'DefaultGraph') {
      obj.ng = quad.graph.value;
    }
    return obj;
  };
  quads.forEach(quad => {
    _graph.add(quad.subject.termType === 'BlankNode' ? toBlank(quad.subject.value) : quad.subject.value, quad.predicate.termType === 'BlankNode' ? toBlank(quad.predicate.value) : quad.predicate.value, extractObjectAndNG(quad));
  });
};

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfjson/util.js"
/*!*******************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfjson/util.js ***!
  \*******************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.to-string.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");




// Four helper methods, from dojo.
const isObject = it => it !== undefined && (it === null || typeof it === 'object' || Array.isArray(it) || typeof it === 'function');
const isString = it => typeof it === 'string' || it instanceof String;
const isFunction = it => Object.prototype.toString.call(it) === '[object Function]';
const statementEquals = (s1, s2) => s1.s === s2.s && s1.p === s2.p && objectEquals(s1.o, s2.o);

/**
 * Adds a statement to a graph object according to the rdf/json specification.
 * Duplicates of the same statement are not allowed in a graph,
 * hence they are not allowed to be added.
 *
 * The object in the statement are represented via an javascript object containing:
 * <ul><li>type - one of 'uri', 'literal' or 'bnode' (<b>required</b> and must be lowercase).</li>
 * <li>value - the lexical value of the object (<b>required</b>, full URIs should be used,
 * not namespaced using abbreviations)</li>
 * <li>lang - the language of a literal value (<b>optional</b>
 * but if supplied it must not be empty)</li>
 * <li>datatype - the datatype URI of the literal value (<b>optional</b>)</li>
 * The 'lang' and 'datatype' keys should only be used if the value of the 'type' key is "literal".
 *
 * @param {Object} graph according to the rdf/json specification.
 * @param {String} s a URI representing the subject in a statement.
 * @param {String} p a URI representing the predicate in a statement.
 * @param {Object} o an object representing either a resource or a literal,
 *  see format described above.
 * @param {boolean} allowDuplicates if true there is no check for duplicate statements
 * @return {Object} the javascript object corresponding to the statements object just added,
 *  note that it might be a clone of the object given in the parameter o
 * (for instance when the statement already exists in the graph).
 * @throws {String} an error message if the arguments are not valid.
 * @see The <a href="http://n2.talis.com/wiki/RDF_JSON_Specification">RDF JSON Specification</a>.
 * @private
 */
const add = (graph, s, p, o, allowDuplicates) => {
  checkForWrongArgs([graph, s, p, o]);
  if (graph[s] === undefined) {
    graph[s] = {};
    graph[s][p] = [o];
    return o;
  }
  if (graph[s][p] === undefined) {
    graph[s][p] = [o];
    return o;
  }
  let i;
  const objs = graph[s][p];
  if (!allowDuplicates) {
    for (i = objs.length - 1; i >= 0; i--) {
      if (objectEquals(o, objs[i])) {
        return objs[i];
      }
    }
  }
  objs.push(o);
  return o;
};

/**
 * Tries to remove the specified statement from the given graph.
 * If it is successful it returns the object of the statment removed.
 *
 * @param {Object} graph
 * @param {Object} s
 * @param {Object} p
 * @param {Object} o
 * @return {Object|undefined} the object of the statement removed,
 *  undefined if no matching statement could be removed.
 * @throws {String} an error message if the arguments are not valid.
 * @see exports.add for a longer treatment of the allowed arguments.
 * @private
 */
const remove = (graph, s, p, o) => {
  checkForWrongArgs([graph, s, p, o]);
  if (graph[s] === undefined || graph[s][p] === undefined) {
    return undefined;
  }
  let i;
  const objs = graph[s][p];
  for (i = objs.length - 1; i >= 0; i--) {
    if (objectEquals(o, objs[i])) {
      const _o = objs[i];
      objs.splice(i, 1);
      cleanup(graph, s, p);
      return _o;
    }
  }
  return undefined;
};

/**
 * Checks if the graph contains the specified statement.
 *
 * @param {Object} graph
 * @param {String} s
 * @param {String} p
 * @param {Object} o
 * @return {Object|undefined} the object of the found statement if the graph contains the
 * specified statement, undefined otherwise.
 * @throws {String} an error message if the arguments are not valid.
 * @private
 */
const contains = (graph, s, p, o) => {
  checkForWrongArgs([graph, s, p, o]);
  if (graph[s] === undefined || graph[s][p] === undefined) {
    return undefined;
  }
  let i;
  const objs = graph[s][p];
  for (i = objs.length - 1; i >= 0; i--) {
    if (objectEquals(o, objs[i])) {
      return objs[i];
    }
  }
  return undefined;
};

/**
 * Removes empty structures in the graph for the given subject and predicate.
 * It checks if there are subjects without outgoing properties or
 * if there are properties with no objects.
 *
 * Note that the need for this function is a consequence of the normalized character
 * of the RDF JSON format.
 *
 * @param {Object} graph
 * @param {Object} s
 * @param {Object} p
 * @private
 */
const cleanup = (graph, s, p) => {
  if (graph[s][p].length === 0) {
    delete graph[s][p];
    if (Object.keys(graph[s]).length === 0) {
      delete graph[s];
    }
  }
};

/**
 * Checks the arguments for the add function are valid
 * (and all other functions that have the same signature).
 *
 * @param {Array} args an array of the arguments for the add function.
 * @throws {String} with a message if the arguments are not valid.
 * @see exports.add
 * @private
 */
const checkForWrongArgs = args => {
  if (!isObject(args[0])) {
    throw new Error('Graph is not a object.');
  } else if (!isString(args[1])) {
    throw new Error('Subject is not a string.');
  } else if (!isString(args[2])) {
    throw new Error('Predicate is not a string.');
  } else if (!isObject(args[3])) {
    throw new Error('Object is not a object.');
  } else if (args[3].type === undefined) {
    throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or" + " 'bnode'");
  } else if (args[3].value === undefined) {
    throw new Error('Object has no value attribute corresponding to the lexical value ' + 'of the object.');
  }
  // TODO check that subject, predicate and object.datatype are uris.
  // TODO Also check that object.value is a URI if the type is uri.
};

/**
 * Compares two statement objects according to the RDF JSON Specification.
 * If both o1 and o2 are strings they are simply compared.
 * If one of o1 and o2 are a string and the other is an object the string is compared with the
 * value of the object ignoring any other attributes of the object.
 * If both o1 and o2 are null or undefined they are considered equal.
 *
 * @param {*} o1
 * @param {*} o2
 * @return {Boolean} true if they have the same type, lexical value, language, and datatype.
 * @private
 */
const objectEquals = (o1, o2) => {
  if (o1 === o2 || o1 == null && o1 === o2) {
    return true;
  }
  // Note, using
  if (isString(o1)) {
    if (isString(o2)) {
      return o1 === o2;
    }
    return o1 === o2.value;
  } else if (isString(o2)) {
    return o1.value === o2;
  }
  return o1.type === o2.type && o1.value === o2.value && o1.lang === o2.lang && o1.datatype === o2.datatype;
};
const findDirectOrRDFValue = (graph, subject, predicate) => {
  const arr = graph.find(subject, predicate);
  if (arr.length > 0) {
    if (arr[0].getType() !== 'bnode') {
      return arr[0].getValue();
    }
    return graph.findFirstValue(arr[0].getValue(), 'http://www.w3.org/1999/02/22-rdf-syntax-ns#value');
  }
  return undefined;
};
const copyObj = o => {
  const no = {
    type: o.type,
    value: o.value
  };
  if (o.ng != null) {
    no.ng = o.ng;
  }
  if (o.lang != null) {
    no.lang = o.lang;
  }
  if (o.datatype != null) {
    no.datatype = o.datatype;
  }
  return no;
};
const objAsString = o => `${o.value}${o.type}${o.lang || ''}${o.datatype || ''}${o.ng || ''}`;
const clone = function clone(graph) {
  let duplicateCheck = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  const ngraph = {};
  Object.keys(graph).forEach(s => {
    const subj = graph[s];
    ngraph[s] = {};
    Object.keys(subj).forEach(p => {
      const objArr = subj[p];
      if (objArr.length === 1) {
        ngraph[s][p] = [copyObj(objArr[0])];
      } else if (duplicateCheck) {
        const nObjArr = [];
        const strings = new Set();
        ngraph[s][p] = nObjArr;
        subj[p].forEach(o => {
          const newObj = copyObj(o);
          const stringObj = objAsString(newObj);
          if (!strings.has(stringObj)) {
            strings.add(stringObj);
            nObjArr.push(newObj);
          }
        });
      } else {
        const nObjArr = [];
        ngraph[s][p] = nObjArr;
        subj[p].forEach(o => {
          nObjArr.push(copyObj(o));
        });
      }
    });
  });
  return ngraph;
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  isObject,
  isString,
  isFunction,
  statementEquals,
  add,
  remove,
  contains,
  cleanup,
  checkForWrongArgs,
  objectEquals,
  findDirectOrRDFValue,
  clone
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfxml/fromRDFXML.js"
/*!************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfxml/fromRDFXML.js ***!
  \************************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.promise.js");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.includes.js");
/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.starts-with.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var rdfxml_streaming_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rdfxml-streaming-parser */ "./node_modules/.pnpm/rdfxml-streaming-parser@2.4.0/node_modules/rdfxml-streaming-parser/index.js");
/* harmony import */ var _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @rdfjs/data-model */ "./node_modules/.pnpm/@rdfjs+data-model@2.1.1/node_modules/@rdfjs/data-model/index.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Graph.js");








class CustomError extends Error {
  constructor() {
    let code = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '1';
    for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      params[_key - 1] = arguments[_key];
    }
    super(...params);
    this.code = code;
  }
}
const rdfXmlVocab = uri => {
  if (uri.startsWith('http://www.w3.org/1999/02/22-rdf-syntax-ns#')) {
    const localname = uri.substring(43);
    const names = ['about', 'nodeID', 'resource', 'parseType', 'datatype', 'li', 'ID', 'Description', 'RDF'];
    return names.includes(localname);
  }
  return false;
};
const xmlVocab = uri => uri === 'http://www.w3.org/2000/xmlns/xmlns';
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (async function (xml) {
  let graph = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  return new Promise((success, reject) => {
    /**
     * @type {rdfjson.Graph}
     */
    const g = graph instanceof _Graph_js__WEBPACK_IMPORTED_MODULE_7__["default"] ? graph : new _Graph_js__WEBPACK_IMPORTED_MODULE_7__["default"]();
    const quads = [];
    const myParser = new rdfxml_streaming_parser__WEBPACK_IMPORTED_MODULE_5__.RdfXmlParser({
      dataFactory: _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_6__["default"],
      strict: true
    });
    let errors = false;
    myParser.on('data', q => {
      if (!errors) {
        if (q.subject.termType === 'NamedNode' && rdfXmlVocab(q.subject.value)) {
          reject(new CustomError(2, `RDF/XML Syntax error, ${q.subject.value} in subject position`));
          errors = true;
          return;
        }
        if (q.predicate.termType === 'NamedNode') {
          if (rdfXmlVocab(q.predicate.value)) {
            reject(new CustomError(2, `RDF/XML Syntax error, ${q.subject.value} in predicate position`));
            errors = true;
            return;
          } else if (xmlVocab(q.predicate.value)) {
            return;
          }
        }
        if (q.object.termType === 'NamedNode' && rdfXmlVocab(q.object.value)) {
          reject(new CustomError(2, `RDF/XML Syntax error, ${q.subject.value} in object position`));
          errors = true;
          return;
        }
        quads.push(q);
      }
    }).on('error', err => {
      if (!errors) {
        errors = true;
        if (err.message.includes('Invalid IRI')) {
          reject(new CustomError(1, err.message));
        } else {
          reject(new CustomError(2, err.message));
        }
      }
    }).on('end', () => {
      if (!errors) {
        g.addQuads(quads);
        success(g);
      }
    });
    myParser.write(xml);
    myParser.end();
  });
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfxml/toRDFXML.js"
/*!**********************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/formats/rdfxml/toRDFXML.js ***!
  \**********************************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.regexp.exec.js");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.string.replace.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Graph.js");





const sp = '  ';
const sp2 = '    ';
const xmlEncode = url => encodeURI(decodeURI(url)).replace(/&/g, '&amp;');
const toRDFXML = graph => {
  const g = graph instanceof _Graph_js__WEBPACK_IMPORTED_MODULE_4__["default"] ? graph._graph : graph || {};
  const nsUsed = [];
  const nsAdded = {};
  const nsify = function nsify(prop) {
    const _o = _namespaces_js__WEBPACK_IMPORTED_MODULE_3__["default"].nsify(prop);
    if (!nsAdded[_o.abbrev]) {
      nsUsed.push(_o.abbrev);
      nsAdded[_o.abbrev] = _o.ns;
    }
    return _o.pretty;
  };
  const strs = [];
  Object.keys(g).forEach(s => {
    if (s.substring(0, 2) === '_:') {
      strs.push(`${sp}<rdf:Description rdf:nodeID="_${s.substring(2)}">\n`);
    } else {
      strs.push(`${sp}<rdf:Description rdf:about="${xmlEncode(s)}">\n`);
    }
    const props = g[s];
    Object.keys(props).forEach(p => {
      const nsp = nsify(p);
      props[p].forEach(o => {
        let v;
        switch (o.type) {
          case 'literal':
            v = o.value.replace(/&/g, '&amp;').replace(/</g, '&lt;');
            if (o.lang != null) {
              strs.push(`${sp2}<${nsp} xml:lang="${o.lang}">${v}</${nsp}>\n`);
            } else if (o.datatype != null) {
              strs.push(`${sp2}<${nsp} rdf:datatype="${o.datatype}">${v}</${nsp}>\n`);
            } else {
              strs.push(`${sp2}<${nsp}>${v}</${nsp}>\n`);
            }
            break;
          case 'uri':
            strs.push(`${sp2}<${nsp} rdf:resource="${xmlEncode(o.value)}"/>\n`);
            break;
          case 'bnode':
            if (o.value.substr(0, 2) === '_:') {
              strs.push(`${sp2}<${nsp} rdf:nodeID="_${o.value.substring(2)}"/>\n`);
            } else {
              strs.push(`${sp2}<${nsp} rdf:nodeID="${o.value}"/>\n`);
            }
            break;
          default:
        }
      });
    });
    strs.push(`${sp}</rdf:Description>\n`);
  });
  const initialStrs = ['<?xml version="1.0"?>\n<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"'];
  for (let j = 0; j < nsUsed.length; j++) {
    if (nsUsed[j] !== 'rdf') {
      initialStrs.push(`\n\txmlns:${nsUsed[j]}="${nsAdded[nsUsed[j]]}"`);
    }
  }
  initialStrs.push('>\n');
  strs.unshift(initialStrs.join(''));
  strs.push('</rdf:RDF>');
  return strs.join('');
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toRDFXML);

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js"
/*!***************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/main.js ***!
  \***************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   Graph: () => (/* reexport safe */ _Graph_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */   Rdfs: () => (/* reexport safe */ _Rdfs_js__WEBPACK_IMPORTED_MODULE_6__["default"]),
/* harmony export */   Statement: () => (/* reexport safe */ _Statement_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
/* harmony export */   converters: () => (/* reexport safe */ _converters_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
/* harmony export */   namespaces: () => (/* reexport safe */ _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
/* harmony export */   print: () => (/* reexport safe */ _print_js__WEBPACK_IMPORTED_MODULE_5__["default"]),
/* harmony export */   utils: () => (/* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_4__["default"])
/* harmony export */ });
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var _converters_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./converters.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/converters.js");
/* harmony import */ var _Graph_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Graph.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Graph.js");
/* harmony import */ var _Statement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Statement.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Statement.js");
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/utils.js");
/* harmony import */ var _print_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./print.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/print.js");
/* harmony import */ var _Rdfs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Rdfs.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/Rdfs.js");








/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js"
/*!*********************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js ***!
  \*********************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/esnext.global-this.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/esnext.global-this.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");


/**
 * @module rdfjson/namespaces
 */

/**
 The storage of the namespaces is done in the global context depending on the environment.
 Even though this is not optimal as it pollutes the global context it is a solution
 for ensuring a single source of truth for the namespaces, which is important,
 since this module is imported more than once in an application,
 e.g directly and from 3rd libraries in @entryscape organization).
 If a universal adoption of ECMAScripts modules occurs than this
 will be unnecessary.
 **/

if (!('__rdfjson_namespaces' in globalThis)) {
  globalThis.__rdfjson_namespaces = {
    ical: 'http://www.w3.org/2002/12/cal/ical#',
    vcard: 'http://www.w3.org/2006/vcard/ns#',
    dcterms: 'http://purl.org/dc/terms/',
    skos: 'http://www.w3.org/2004/02/skos/core#',
    rdfs: 'http://www.w3.org/2000/01/rdf-schema#',
    rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
    owl: 'http://www.w3.org/2002/07/owl#',
    vs: 'http://www.w3.org/2003/06/sw-vocab-status/ns#',
    foaf: 'http://xmlns.com/foaf/0.1/',
    wot: 'http://xmlns.com/wot/0.1/',
    dc: 'http://purl.org/dc/elements/1.1/',
    xsd: 'http://www.w3.org/2001/XMLSchema#',
    dcat: 'http://www.w3.org/ns/dcat#',
    org: 'http://www.w3.org/ns/org#',
    gn: 'http://www.geonames.org/ontology#',
    locn: 'http://www.w3.org/ns/locn#',
    schema: 'http://schema.org/',
    ex: 'http://example.com/',
    gsp: 'http://www.opengis.net/ont/geosparql#',
    odrs: 'http://schema.theodi.org/odrs#'
  };
}

// to avoid writing globalThis.__rdfjson_namespaces on every reference
const {
  __rdfjson_namespaces: nss
} = globalThis;
let nscounter = 0;
const _nsify = (ns, expanded, localname) => {
  if (!nss[ns]) {
    nss[ns] = expanded;
  }
  return {
    abbrev: ns,
    ns: expanded,
    localname,
    full: expanded + localname,
    pretty: `${ns}:${localname}`
  };
};

/**
 * Returns an object that contain the following attributes:
 *
 * abbrev - the short namespace
 * ns - what the short namespace abbreviates
 * localname - the localname of the URI, given the current namespace
 * full - the original URI
 * pretty - the shortened version of the URI using the abbreviation, e.g. foaf:name
 *
 * @param uri
 * @return {{abbrev, ns, localname, full, pretty}}
 */
const nsify = uri => {
  const ens = Object.keys(nss).find(ns => uri.indexOf(nss[ns]) === 0);
  if (ens) {
    return _nsify(ens, nss[ens], uri.substring(nss[ens].length));
  }
  let slash = uri.lastIndexOf('/');
  const hash = uri.lastIndexOf('#');
  if (hash > slash) {
    slash = hash;
  }
  nscounter += 1;
  return _nsify(`ns${nscounter}`, uri.substring(0, slash + 1), uri.substring(slash + 1));
};

/**
 * Only abbreviates a URI if it can be matched to one of the already registered namespaces.
 *
 * @param {string} uri for example: http://xmlns.com/foaf/0.1/name
 * @return {string} in the form "foaf:name"
 */
const shortenKnown = uri => {
  const ens = Object.keys(nss).find(ns => uri.indexOf(nss[ns]) === 0);
  if (ens) {
    return _nsify(ens, nss[ens], uri.substring(nss[ens].length)).pretty;
  }
  return uri;
};

/**
 * Abbreviates all uris, if no matching namespace is found a suitable one is generated and
 * registered automatically.
 *
 * @param {string} uri for example: http://xmlns.com/foaf/0.1/name
 * @return {string} in the form "foaf:name" or "ns1:name" if foaf would not be registered already.
 */
const shorten = uri => nsify(uri).pretty;

/**
 * Expands an abbreviated URI from the list of registered namespaces.
 *
 * @param {string} nsuri a namespaced uri like "foaf:name"
 * @return {string} a full URI like "http://xmlns.com/foaf/0.1/name"
 */
const expand = nsuri => {
  const arr = nsuri.split(':');
  if (arr.length === 2 && nss.hasOwnProperty(arr[0])) {
    return nss[arr[0]] + arr[1];
  }
  return nsuri;
};

/**
 * Registers a namespace, both the abbreviation and its expansion.
 *
 * @param {string} ns the abbreviation, e.g. "foaf"
 * @param {string} full the expansion for the abbreviation, e.g. "http://xmlns.com/foaf/0.1/name"
 */
const add = (ns, full) => {
  if (typeof ns === 'string') {
    nss[ns] = full;
  } else if (typeof ns === 'object') {
    Object.keys(ns).forEach(nskey => {
      nss[nskey] = ns[nskey];
    });
  }
};

/**
 * Provides access to the currently registered namespaces as an object with abbreviations as
 * keys and their expansions as the values.
 *
 * @return {object}
 */
const registry = () => nss;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  nsify,
  shortenKnown,
  shorten,
  expand,
  add,
  registry
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/print.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/print.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   pretty: () => (/* binding */ pretty),
/* harmony export */   prettyTree: () => (/* binding */ prettyTree),
/* harmony export */   statementList: () => (/* binding */ statementList),
/* harmony export */   statementTree: () => (/* binding */ statementTree)
/* harmony export */ });
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js");


/**
 * @module rdfjson/print
 */

/**
 * @param {rdfjson.Graph} graph
 * @param {String} subject a URI for the subject to focus on
 */
const pretty = (graph, subject) => {
  const pretty = {};
  const stmts = graph.find(subject);
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    if (stmt.getType() !== 'bnode') {
      pretty[_namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getPredicate())] = stmt.getValue();
    }
  }
  return pretty;
};
const statementTree = (graph, subject, visited) => {
  const _visited = visited || {};
  const stmts = graph ? graph.find(subject) : [];
  const arr = [];
  for (let i = 0; i < stmts.length; i++) {
    const stmt = stmts[i];
    if (stmt.getType() === 'literal') {
      arr.push({
        stmt
      });
    } else {
      const row = {
        stmt
      };
      const obj = stmt.getValue();
      if (!_visited[obj]) {
        _visited[obj] = true;
        row.children = statementTree(graph, obj, _visited);
      }
    }
  }
  return arr;
};
const statementList = (graph, subject) => {
  const tree = statementTree(graph, subject);
  const arr = [];
  const f = (stmts, level) => {
    for (let i = 0; i < stmts.length; i++) {
      const stmt = stmts[i];
      stmt.indent = level;
      arr.push(stmt);
      if (stmt.children) {
        f(stmt.children, level + 1);
        delete stmt.children;
      }
    }
  };
  f(tree, 1);
  return arr;
};
const prettyTree = (graph, subject) => {
  const delegates = statementList(graph, subject);
  for (let i = 0; i < delegates.length; i++) {
    const delegate = delegates[i];
    const stmt = delegate.stmt;
    if (stmt.isSubjectBlank()) {
      delegate.s = stmt.getSubject();
    } else {
      delegate.s = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getSubject());
    }
    delegate.p = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getPredicate());
    const t = stmt.getType();
    if (t === 'uri') {
      delegate.o = _namespaces_js__WEBPACK_IMPORTED_MODULE_0__["default"].shorten(stmt.getValue());
      const lang = stmt.getLanguage();
      const dt = stmt.getDatatype();
      if (lang != null) {
        delegate.o += `@@${lang}`;
      } else if (dt != null) {
        delegate.o += `^^${dt}`;
      }
    } else if (t === 'literal') {
      delegate.o = `"${stmt.getValue()}"`;
    } else {
      delegate.o = `"${stmt.getValue()}"`;
    }
  }
  return delegates;
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  pretty,
  statementList,
  statementTree,
  prettyTree
});

/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/utils.js"
/*!****************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/utils.js ***!
  \****************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.iterator.js");
/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/es.array.sort.js");
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.for-each.js");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "./node_modules/.pnpm/core-js@3.49.0/node_modules/core-js/modules/web.dom-collections.iterator.js");
/* harmony import */ var _namespaces_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./namespaces.js */ "./node_modules/.pnpm/@entryscape+rdfjson@2.7.8/node_modules/@entryscape/rdfjson/src/namespaces.js");
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5 */ "./node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js");







/**
 * @module rdfjson/utils
 */

/**
 * Copies over a subset of statements from one metadata graph to another.
 * The statements copied are those with the provided uri in subject position, or
 * statements reachable via intermediate blank nodes from that uri.
 * Statements are not copied over if the predicate is listed in the ignore array,
 * unless the excludeAfterIgnore is specified in which case the triple is included
 * but no further triples reachable via the object.
 *
 * @param {rdfjson/Graph} inGraph graph which holds rdf data in graph format
 * @param {string} uri a starting point to find all statements to include
 * @param {object=} ignore is an object with predicates as attributes,
 * which are to be ignored (excluded)
 * @param {rdfjson/Graph=} outGraph graph where statements will be copied over into,
 *  if no outGraph is provided a new will be created.
 * @return {rdfjson/Graph} same as the provided outGraph
 */
const extract = (inGraph, outGraph, uri, ignore, excludeAfterIgnore) => {
  const _ignore = ignore || {};
  inGraph.find(uri, null, null).forEach(stmt => {
    if (!_ignore[stmt.getPredicate()]) {
      outGraph.add(stmt);
      if (stmt.getType() === 'bnode') {
        extract(inGraph, outGraph, stmt.getValue(), _ignore, excludeAfterIgnore);
      }
    } else if (excludeAfterIgnore) {
      outGraph.add(stmt);
    }
  });
  return outGraph;
};

/**
 * Removes an entire subgraph from a given graph.
 * The subgraph is calculated by traversing triples in the forward direction
 * from a starting resource. A triple is included in the subgraph if it can be reached
 * via a path of triples from the starting resource that only passes triples that have
 * blank nodes in object position. The triples in the path may not include predicates
 * in the ignore list except the last triple in the path.
 *
 * @param {rdfjson/Graph} graph the graph to remove triples from
 * @param {string} uri the starting resource to calculate the subgraph from
 * @param {object} ignore an hash of predicates (with the boolean true as value)
 * to ignore when calculating the subgraph to remove, see explanation above.
 */
const remove = (graph, uri, ignore) => {
  const _ignore = ignore || {};
  graph.find(uri, null, null).forEach(stmt => {
    graph.remove(stmt);
    if (!_ignore[stmt.getPredicate()]) {
      if (stmt.getType() === 'bnode') {
        remove(graph, stmt.getValue(), _ignore);
      }
    }
  });
};

/**
 * Creates a fingerprint of a graph by including all statements' subjects, predicates
 * and objects but excluding blank nodes wherever they occur. The result is sorted and a
 * md5-sum is calculated.
 *
 * Two isomorphic graphs will always have the same fingerprint, i.e. graphs that are similar
 * when disregarding names of blank nodes.
 *
 * Unfortunately, there are false positivies, i.e. two graphs may under certain circumstances
 * have the same fingerprint despite the fact that they are not isomorphic.
 * There are two situations when this can occur:
 *
 * Md5 collisions: Due to the way md5 works there are situations when two different
 * inputs can generate the same sum. However, this is very unlikely to happen for regular RDF
 * graphs.
 *
 * Algorithm deficiencies: If the graph has blank nodes that are connected to each other,
 * the fingerprint algorithm may fail.
 *
 * Briefly about the algorithm: Since blank nodes are often renamed upon serialization an
 * de-serialization these cannot be used in the fingerprinting algorithm. To overcome this
 * problem the algorithm gives each blank node an identifier via a deterministic process
 * that takes all incoming and outgoing triples into account. Clearly this approach will give
 * two blank nodes in two different graphs the same identifier if they have the same incoming
 * and outgoing triples. But, they may still correspond to different blank nodes
 * (in the isomorphic sense) if longer blank node traversal path are taken into account.
 *
 * Lets Look at two different graphs that will have the same fingerprint:
 * Graph 1: John indirectly knows Eric and Anna indirectly knows Linda
 * _:b1     foaf:name    'John'
 * _:b1     foaf:knows   _:b2
 * _:b2     foaf:knows   _:b3
 * _:b3     foaf:name    "Eric"
 * _:b4     foaf:name    'Anna'
 * _:b4     foaf:knows   _:b5
 * _:b5     foaf:knows   _:b6
 * _:b6     foaf:name    "Linda"
 *
 * Graph 2: John indirectly knows Linda and Anna indirectly knows Eric
 * _:b1     foaf:name    'John'
 * _:b1     foaf:knows   _:b2
 * _:b2     foaf:knows   _:b3
 * _:b3     foaf:name    "Linda"
 * _:b4     foaf:name    'Anna'
 * _:b4     foaf:knows   _:b5
 * _:b5     foaf:knows   _:b6
 * _:b6     foaf:name    "Eric"
 *
 * In practise this situation only occurs when you have longer paths of blank nodes without
 * additional distinguishing triples. However, from a modeling standpoint these kind of
 * expressions with long chains of nodes are seldom used and if they are used, there are
 * certainly distinguishing triples along the way.
 *
 * The conclusion is that checking if real world graphs are the same or not can be safely
 * determined with the help of this fingerprint method.
 *
 * @param {rdfjson/Graph} graph is the graph to fingerprint.
 * @param {array} excludeProperties a list of properties to exclude when calculating
 * the fingerprint.
 * @return {string} a md5 sum of the graph.
 */
const fingerprint = (graph, excludeProperties) => {
  const fpg = [];
  const exclude = new Set((excludeProperties || []).map(prop => _namespaces_js__WEBPACK_IMPORTED_MODULE_4__["default"].expand(prop)));
  const blankStmts = [];
  const blankIdx = {};
  const serializeObj = stmt => {
    let val = stmt.getValue();
    if (stmt.getLanguage()) {
      val += `@${stmt.getLanguage()}`;
    }
    const dt = stmt.getDatatype();
    if (dt && dt !== 'http://www.w3.org/2001/XMLSchema#string' && dt !== 'http://www.w3.org/1999/02/22-rdf-syntax-ns#langString') {
      val += `^^${dt}`;
    }
    return val;
  };
  const addToBlankRels = (bn, str) => {
    const idx = blankIdx[bn] || {
      rels: []
    };
    blankIdx[bn] = idx;
    idx.rels.push(str);
  };
  graph.find().forEach(stmt => {
    const s = stmt.getSubject();
    const p = stmt.getPredicate();
    if (exclude.has(p)) {
      return;
    }
    const oBlank = stmt.getType() === 'bnode';
    const sBlank = stmt.isSubjectBlank();
    if (sBlank || oBlank) {
      blankStmts.push(stmt);
      if (sBlank) {
        addToBlankRels(stmt.getSubject(), oBlank ? p : p + serializeObj(stmt));
      }
      if (stmt.getType() === 'bnode') {
        addToBlankRels(stmt.getValue(), sBlank ? p : s + p);
      }
      return;
    }
    fpg.push(s + p + serializeObj(stmt));
  });

  // Calculate a stable hash for each blank based on incoming and outgoing tripples.
  Object.values(blankIdx).forEach(blank => {
    blank.rels.sort();
    blank.hash = md5__WEBPACK_IMPORTED_MODULE_5__(blank.rels.join(''));
  });

  // Add all statements with blanks in them
  blankStmts.forEach(stmt => {
    const fps = [];
    fps.push(stmt.isSubjectBlank() ? blankIdx[stmt.getSubject()].hash : stmt.getSubject());
    fps.push(stmt.getPredicate());
    fps.push(stmt.getType() === 'bnode' ? blankIdx[stmt.getValue()].hash : serializeObj(stmt));
    fpg.push(fps.join(''));
  });
  fpg.sort();
  return md5__WEBPACK_IMPORTED_MODULE_5__(fpg.join(''));
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
  extract,
  remove,
  fingerprint
});

/***/ },

/***/ "./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"
/*!***********************************************************************!*\
  !*** ./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs ***!
  \***********************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   clsx: () => (/* binding */ clsx),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clsx);

/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js");
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");



/* Built-in method references that are verified to be native. */
var DataView = (0,_getNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_root_js__WEBPACK_IMPORTED_MODULE_1__["default"], 'DataView');

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DataView);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _hashClear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_hashClear.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js");
/* harmony import */ var _hashDelete_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_hashDelete.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js");
/* harmony import */ var _hashGet_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_hashGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js");
/* harmony import */ var _hashHas_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_hashHas.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js");
/* harmony import */ var _hashSet_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_hashSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js");






/**
 * Creates a hash object.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */
function Hash(entries) {
  var index = -1,
      length = entries == null ? 0 : entries.length;

  this.clear();
  while (++index < length) {
    var entry = entries[index];
    this.set(entry[0], entry[1]);
  }
}

// Add methods to `Hash`.
Hash.prototype.clear = _hashClear_js__WEBPACK_IMPORTED_MODULE_0__["default"];
Hash.prototype['delete'] = _hashDelete_js__WEBPACK_IMPORTED_MODULE_1__["default"];
Hash.prototype.get = _hashGet_js__WEBPACK_IMPORTED_MODULE_2__["default"];
Hash.prototype.has = _hashHas_js__WEBPACK_IMPORTED_MODULE_3__["default"];
Hash.prototype.set = _hashSet_js__WEBPACK_IMPORTED_MODULE_4__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Hash);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _listCacheClear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_listCacheClear.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js");
/* harmony import */ var _listCacheDelete_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_listCacheDelete.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js");
/* harmony import */ var _listCacheGet_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_listCacheGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js");
/* harmony import */ var _listCacheHas_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_listCacheHas.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js");
/* harmony import */ var _listCacheSet_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_listCacheSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js");






/**
 * Creates an list cache object.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */
function ListCache(entries) {
  var index = -1,
      length = entries == null ? 0 : entries.length;

  this.clear();
  while (++index < length) {
    var entry = entries[index];
    this.set(entry[0], entry[1]);
  }
}

// Add methods to `ListCache`.
ListCache.prototype.clear = _listCacheClear_js__WEBPACK_IMPORTED_MODULE_0__["default"];
ListCache.prototype['delete'] = _listCacheDelete_js__WEBPACK_IMPORTED_MODULE_1__["default"];
ListCache.prototype.get = _listCacheGet_js__WEBPACK_IMPORTED_MODULE_2__["default"];
ListCache.prototype.has = _listCacheHas_js__WEBPACK_IMPORTED_MODULE_3__["default"];
ListCache.prototype.set = _listCacheSet_js__WEBPACK_IMPORTED_MODULE_4__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListCache);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js ***!
  \****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js");
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");



/* Built-in method references that are verified to be native. */
var Map = (0,_getNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_root_js__WEBPACK_IMPORTED_MODULE_1__["default"], 'Map');

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Map);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _mapCacheClear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_mapCacheClear.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js");
/* harmony import */ var _mapCacheDelete_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_mapCacheDelete.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js");
/* harmony import */ var _mapCacheGet_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_mapCacheGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js");
/* harmony import */ var _mapCacheHas_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_mapCacheHas.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js");
/* harmony import */ var _mapCacheSet_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_mapCacheSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js");






/**
 * Creates a map cache object to store key-value pairs.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */
function MapCache(entries) {
  var index = -1,
      length = entries == null ? 0 : entries.length;

  this.clear();
  while (++index < length) {
    var entry = entries[index];
    this.set(entry[0], entry[1]);
  }
}

// Add methods to `MapCache`.
MapCache.prototype.clear = _mapCacheClear_js__WEBPACK_IMPORTED_MODULE_0__["default"];
MapCache.prototype['delete'] = _mapCacheDelete_js__WEBPACK_IMPORTED_MODULE_1__["default"];
MapCache.prototype.get = _mapCacheGet_js__WEBPACK_IMPORTED_MODULE_2__["default"];
MapCache.prototype.has = _mapCacheHas_js__WEBPACK_IMPORTED_MODULE_3__["default"];
MapCache.prototype.set = _mapCacheSet_js__WEBPACK_IMPORTED_MODULE_4__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MapCache);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js");
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");



/* Built-in method references that are verified to be native. */
var Promise = (0,_getNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_root_js__WEBPACK_IMPORTED_MODULE_1__["default"], 'Promise');

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Promise);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js ***!
  \****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js");
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");



/* Built-in method references that are verified to be native. */
var Set = (0,_getNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_root_js__WEBPACK_IMPORTED_MODULE_1__["default"], 'Set');

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Set);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _MapCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_MapCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js");
/* harmony import */ var _setCacheAdd_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_setCacheAdd.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js");
/* harmony import */ var _setCacheHas_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_setCacheHas.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js");




/**
 *
 * Creates an array cache object to store unique values.
 *
 * @private
 * @constructor
 * @param {Array} [values] The values to cache.
 */
function SetCache(values) {
  var index = -1,
      length = values == null ? 0 : values.length;

  this.__data__ = new _MapCache_js__WEBPACK_IMPORTED_MODULE_0__["default"];
  while (++index < length) {
    this.add(values[index]);
  }
}

// Add methods to `SetCache`.
SetCache.prototype.add = SetCache.prototype.push = _setCacheAdd_js__WEBPACK_IMPORTED_MODULE_1__["default"];
SetCache.prototype.has = _setCacheHas_js__WEBPACK_IMPORTED_MODULE_2__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SetCache);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _ListCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_ListCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js");
/* harmony import */ var _stackClear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_stackClear.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js");
/* harmony import */ var _stackDelete_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_stackDelete.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js");
/* harmony import */ var _stackGet_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_stackGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js");
/* harmony import */ var _stackHas_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_stackHas.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js");
/* harmony import */ var _stackSet_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./_stackSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js");







/**
 * Creates a stack cache object to store key-value pairs.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */
function Stack(entries) {
  var data = this.__data__ = new _ListCache_js__WEBPACK_IMPORTED_MODULE_0__["default"](entries);
  this.size = data.size;
}

// Add methods to `Stack`.
Stack.prototype.clear = _stackClear_js__WEBPACK_IMPORTED_MODULE_1__["default"];
Stack.prototype['delete'] = _stackDelete_js__WEBPACK_IMPORTED_MODULE_2__["default"];
Stack.prototype.get = _stackGet_js__WEBPACK_IMPORTED_MODULE_3__["default"];
Stack.prototype.has = _stackHas_js__WEBPACK_IMPORTED_MODULE_4__["default"];
Stack.prototype.set = _stackSet_js__WEBPACK_IMPORTED_MODULE_5__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Stack);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");


/** Built-in value references. */
var Symbol = _root_js__WEBPACK_IMPORTED_MODULE_0__["default"].Symbol;

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Symbol);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");


/** Built-in value references. */
var Uint8Array = _root_js__WEBPACK_IMPORTED_MODULE_0__["default"].Uint8Array;

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Uint8Array);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js");
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");



/* Built-in method references that are verified to be native. */
var WeakMap = (0,_getNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_root_js__WEBPACK_IMPORTED_MODULE_1__["default"], 'WeakMap');

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (WeakMap);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * A faster alternative to `Function#apply`, this function invokes `func`
 * with the `this` binding of `thisArg` and the arguments of `args`.
 *
 * @private
 * @param {Function} func The function to invoke.
 * @param {*} thisArg The `this` binding of `func`.
 * @param {Array} args The arguments to invoke `func` with.
 * @returns {*} Returns the result of `func`.
 */
function apply(func, thisArg, args) {
  switch (args.length) {
    case 0: return func.call(thisArg);
    case 1: return func.call(thisArg, args[0]);
    case 2: return func.call(thisArg, args[0], args[1]);
    case 3: return func.call(thisArg, args[0], args[1], args[2]);
  }
  return func.apply(thisArg, args);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (apply);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * A specialized version of `_.forEach` for arrays without support for
 * iteratee shorthands.
 *
 * @private
 * @param {Array} [array] The array to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Array} Returns `array`.
 */
function arrayEach(array, iteratee) {
  var index = -1,
      length = array == null ? 0 : array.length;

  while (++index < length) {
    if (iteratee(array[index], index, array) === false) {
      break;
    }
  }
  return array;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrayEach);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * A specialized version of `_.filter` for arrays without support for
 * iteratee shorthands.
 *
 * @private
 * @param {Array} [array] The array to iterate over.
 * @param {Function} predicate The function invoked per iteration.
 * @returns {Array} Returns the new filtered array.
 */
function arrayFilter(array, predicate) {
  var index = -1,
      length = array == null ? 0 : array.length,
      resIndex = 0,
      result = [];

  while (++index < length) {
    var value = array[index];
    if (predicate(value, index, array)) {
      result[resIndex++] = value;
    }
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrayFilter);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIndexOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIndexOf.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js");


/**
 * A specialized version of `_.includes` for arrays without support for
 * specifying an index to search from.
 *
 * @private
 * @param {Array} [array] The array to inspect.
 * @param {*} target The value to search for.
 * @returns {boolean} Returns `true` if `target` is found, else `false`.
 */
function arrayIncludes(array, value) {
  var length = array == null ? 0 : array.length;
  return !!length && (0,_baseIndexOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(array, value, 0) > -1;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrayIncludes);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js"
/*!******************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js ***!
  \******************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * This function is like `arrayIncludes` except that it accepts a comparator.
 *
 * @private
 * @param {Array} [array] The array to inspect.
 * @param {*} target The value to search for.
 * @param {Function} comparator The comparator invoked per element.
 * @returns {boolean} Returns `true` if `target` is found, else `false`.
 */
function arrayIncludesWith(array, value, comparator) {
  var index = -1,
      length = array == null ? 0 : array.length;

  while (++index < length) {
    if (comparator(value, array[index])) {
      return true;
    }
  }
  return false;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrayIncludesWith);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseTimes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseTimes.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js");
/* harmony import */ var _isArguments_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isArguments.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isBuffer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js");
/* harmony import */ var _isIndex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_isIndex.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js");
/* harmony import */ var _isTypedArray_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isTypedArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js");







/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Creates an array of the enumerable property names of the array-like `value`.
 *
 * @private
 * @param {*} value The value to query.
 * @param {boolean} inherited Specify returning inherited property names.
 * @returns {Array} Returns the array of property names.
 */
function arrayLikeKeys(value, inherited) {
  var isArr = (0,_isArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value),
      isArg = !isArr && (0,_isArguments_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value),
      isBuff = !isArr && !isArg && (0,_isBuffer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(value),
      isType = !isArr && !isArg && !isBuff && (0,_isTypedArray_js__WEBPACK_IMPORTED_MODULE_5__["default"])(value),
      skipIndexes = isArr || isArg || isBuff || isType,
      result = skipIndexes ? (0,_baseTimes_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value.length, String) : [],
      length = result.length;

  for (var key in value) {
    if ((inherited || hasOwnProperty.call(value, key)) &&
        !(skipIndexes && (
           // Safari 9 has enumerable `arguments.length` in strict mode.
           key == 'length' ||
           // Node.js 0.10 has enumerable non-index properties on buffers.
           (isBuff && (key == 'offset' || key == 'parent')) ||
           // PhantomJS 2 has enumerable non-index properties on typed arrays.
           (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
           // Skip index properties.
           (0,_isIndex_js__WEBPACK_IMPORTED_MODULE_4__["default"])(key, length)
        ))) {
      result.push(key);
    }
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrayLikeKeys);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * A specialized version of `_.map` for arrays without support for iteratee
 * shorthands.
 *
 * @private
 * @param {Array} [array] The array to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Array} Returns the new mapped array.
 */
function arrayMap(array, iteratee) {
  var index = -1,
      length = array == null ? 0 : array.length,
      result = Array(length);

  while (++index < length) {
    result[index] = iteratee(array[index], index, array);
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrayMap);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Appends the elements of `values` to `array`.
 *
 * @private
 * @param {Array} array The array to modify.
 * @param {Array} values The values to append.
 * @returns {Array} Returns `array`.
 */
function arrayPush(array, values) {
  var index = -1,
      length = values.length,
      offset = array.length;

  while (++index < length) {
    array[offset + index] = values[index];
  }
  return array;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arrayPush);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * A specialized version of `_.some` for arrays without support for iteratee
 * shorthands.
 *
 * @private
 * @param {Array} [array] The array to iterate over.
 * @param {Function} predicate The function invoked per iteration.
 * @returns {boolean} Returns `true` if any element passes the predicate check,
 *  else `false`.
 */
function arraySome(array, predicate) {
  var index = -1,
      length = array == null ? 0 : array.length;

  while (++index < length) {
    if (predicate(array[index], index, array)) {
      return true;
    }
  }
  return false;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (arraySome);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js ***!
  \*****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseAssignValue_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseAssignValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js");
/* harmony import */ var _eq_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./eq.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js");



/**
 * This function is like `assignValue` except that it doesn't assign
 * `undefined` values.
 *
 * @private
 * @param {Object} object The object to modify.
 * @param {string} key The key of the property to assign.
 * @param {*} value The value to assign.
 */
function assignMergeValue(object, key, value) {
  if ((value !== undefined && !(0,_eq_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object[key], value)) ||
      (value === undefined && !(key in object))) {
    (0,_baseAssignValue_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, key, value);
  }
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (assignMergeValue);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseAssignValue_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseAssignValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js");
/* harmony import */ var _eq_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./eq.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js");



/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Assigns `value` to `key` of `object` if the existing value is not equivalent
 * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
 * for equality comparisons.
 *
 * @private
 * @param {Object} object The object to modify.
 * @param {string} key The key of the property to assign.
 * @param {*} value The value to assign.
 */
function assignValue(object, key, value) {
  var objValue = object[key];
  if (!(hasOwnProperty.call(object, key) && (0,_eq_js__WEBPACK_IMPORTED_MODULE_1__["default"])(objValue, value)) ||
      (value === undefined && !(key in object))) {
    (0,_baseAssignValue_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, key, value);
  }
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (assignValue);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _eq_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./eq.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js");


/**
 * Gets the index at which the `key` is found in `array` of key-value pairs.
 *
 * @private
 * @param {Array} array The array to inspect.
 * @param {*} key The key to search for.
 * @returns {number} Returns the index of the matched value, else `-1`.
 */
function assocIndexOf(array, key) {
  var length = array.length;
  while (length--) {
    if ((0,_eq_js__WEBPACK_IMPORTED_MODULE_0__["default"])(array[length][0], key)) {
      return length;
    }
  }
  return -1;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (assocIndexOf);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _copyObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_copyObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js");
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./keys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js");



/**
 * The base implementation of `_.assign` without support for multiple sources
 * or `customizer` functions.
 *
 * @private
 * @param {Object} object The destination object.
 * @param {Object} source The source object.
 * @returns {Object} Returns `object`.
 */
function baseAssign(object, source) {
  return object && (0,_copyObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(source, (0,_keys_js__WEBPACK_IMPORTED_MODULE_1__["default"])(source), object);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseAssign);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _copyObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_copyObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js");
/* harmony import */ var _keysIn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./keysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js");



/**
 * The base implementation of `_.assignIn` without support for multiple sources
 * or `customizer` functions.
 *
 * @private
 * @param {Object} object The destination object.
 * @param {Object} source The source object.
 * @returns {Object} Returns `object`.
 */
function baseAssignIn(object, source) {
  return object && (0,_copyObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(source, (0,_keysIn_js__WEBPACK_IMPORTED_MODULE_1__["default"])(source), object);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseAssignIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_defineProperty.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js");


/**
 * The base implementation of `assignValue` and `assignMergeValue` without
 * value checks.
 *
 * @private
 * @param {Object} object The object to modify.
 * @param {string} key The key of the property to assign.
 * @param {*} value The value to assign.
 */
function baseAssignValue(object, key, value) {
  if (key == '__proto__' && _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"]) {
    (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, key, {
      'configurable': true,
      'enumerable': true,
      'value': value,
      'writable': true
    });
  } else {
    object[key] = value;
  }
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseAssignValue);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Stack_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Stack.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js");
/* harmony import */ var _arrayEach_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_arrayEach.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js");
/* harmony import */ var _assignValue_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_assignValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js");
/* harmony import */ var _baseAssign_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_baseAssign.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js");
/* harmony import */ var _baseAssignIn_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_baseAssignIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js");
/* harmony import */ var _cloneBuffer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./_cloneBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js");
/* harmony import */ var _copyArray_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./_copyArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js");
/* harmony import */ var _copySymbols_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./_copySymbols.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js");
/* harmony import */ var _copySymbolsIn_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./_copySymbolsIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js");
/* harmony import */ var _getAllKeys_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./_getAllKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js");
/* harmony import */ var _getAllKeysIn_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./_getAllKeysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js");
/* harmony import */ var _getTag_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./_getTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js");
/* harmony import */ var _initCloneArray_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./_initCloneArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js");
/* harmony import */ var _initCloneByTag_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./_initCloneByTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js");
/* harmony import */ var _initCloneObject_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./_initCloneObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isBuffer_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./isBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js");
/* harmony import */ var _isMap_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./isMap.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _isSet_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./isSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js");
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./keys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js");
/* harmony import */ var _keysIn_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./keysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js");























/** Used to compose bitmasks for cloning. */
var CLONE_DEEP_FLAG = 1,
    CLONE_FLAT_FLAG = 2,
    CLONE_SYMBOLS_FLAG = 4;

/** `Object#toString` result references. */
var argsTag = '[object Arguments]',
    arrayTag = '[object Array]',
    boolTag = '[object Boolean]',
    dateTag = '[object Date]',
    errorTag = '[object Error]',
    funcTag = '[object Function]',
    genTag = '[object GeneratorFunction]',
    mapTag = '[object Map]',
    numberTag = '[object Number]',
    objectTag = '[object Object]',
    regexpTag = '[object RegExp]',
    setTag = '[object Set]',
    stringTag = '[object String]',
    symbolTag = '[object Symbol]',
    weakMapTag = '[object WeakMap]';

var arrayBufferTag = '[object ArrayBuffer]',
    dataViewTag = '[object DataView]',
    float32Tag = '[object Float32Array]',
    float64Tag = '[object Float64Array]',
    int8Tag = '[object Int8Array]',
    int16Tag = '[object Int16Array]',
    int32Tag = '[object Int32Array]',
    uint8Tag = '[object Uint8Array]',
    uint8ClampedTag = '[object Uint8ClampedArray]',
    uint16Tag = '[object Uint16Array]',
    uint32Tag = '[object Uint32Array]';

/** Used to identify `toStringTag` values supported by `_.clone`. */
var cloneableTags = {};
cloneableTags[argsTag] = cloneableTags[arrayTag] =
cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
cloneableTags[boolTag] = cloneableTags[dateTag] =
cloneableTags[float32Tag] = cloneableTags[float64Tag] =
cloneableTags[int8Tag] = cloneableTags[int16Tag] =
cloneableTags[int32Tag] = cloneableTags[mapTag] =
cloneableTags[numberTag] = cloneableTags[objectTag] =
cloneableTags[regexpTag] = cloneableTags[setTag] =
cloneableTags[stringTag] = cloneableTags[symbolTag] =
cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
cloneableTags[errorTag] = cloneableTags[funcTag] =
cloneableTags[weakMapTag] = false;

/**
 * The base implementation of `_.clone` and `_.cloneDeep` which tracks
 * traversed objects.
 *
 * @private
 * @param {*} value The value to clone.
 * @param {boolean} bitmask The bitmask flags.
 *  1 - Deep clone
 *  2 - Flatten inherited properties
 *  4 - Clone symbols
 * @param {Function} [customizer] The function to customize cloning.
 * @param {string} [key] The key of `value`.
 * @param {Object} [object] The parent object of `value`.
 * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
 * @returns {*} Returns the cloned value.
 */
function baseClone(value, bitmask, customizer, key, object, stack) {
  var result,
      isDeep = bitmask & CLONE_DEEP_FLAG,
      isFlat = bitmask & CLONE_FLAT_FLAG,
      isFull = bitmask & CLONE_SYMBOLS_FLAG;

  if (customizer) {
    result = object ? customizer(value, key, object, stack) : customizer(value);
  }
  if (result !== undefined) {
    return result;
  }
  if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_18__["default"])(value)) {
    return value;
  }
  var isArr = (0,_isArray_js__WEBPACK_IMPORTED_MODULE_15__["default"])(value);
  if (isArr) {
    result = (0,_initCloneArray_js__WEBPACK_IMPORTED_MODULE_12__["default"])(value);
    if (!isDeep) {
      return (0,_copyArray_js__WEBPACK_IMPORTED_MODULE_6__["default"])(value, result);
    }
  } else {
    var tag = (0,_getTag_js__WEBPACK_IMPORTED_MODULE_11__["default"])(value),
        isFunc = tag == funcTag || tag == genTag;

    if ((0,_isBuffer_js__WEBPACK_IMPORTED_MODULE_16__["default"])(value)) {
      return (0,_cloneBuffer_js__WEBPACK_IMPORTED_MODULE_5__["default"])(value, isDeep);
    }
    if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
      result = (isFlat || isFunc) ? {} : (0,_initCloneObject_js__WEBPACK_IMPORTED_MODULE_14__["default"])(value);
      if (!isDeep) {
        return isFlat
          ? (0,_copySymbolsIn_js__WEBPACK_IMPORTED_MODULE_8__["default"])(value, (0,_baseAssignIn_js__WEBPACK_IMPORTED_MODULE_4__["default"])(result, value))
          : (0,_copySymbols_js__WEBPACK_IMPORTED_MODULE_7__["default"])(value, (0,_baseAssign_js__WEBPACK_IMPORTED_MODULE_3__["default"])(result, value));
      }
    } else {
      if (!cloneableTags[tag]) {
        return object ? value : {};
      }
      result = (0,_initCloneByTag_js__WEBPACK_IMPORTED_MODULE_13__["default"])(value, tag, isDeep);
    }
  }
  // Check for circular references and return its corresponding clone.
  stack || (stack = new _Stack_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
  var stacked = stack.get(value);
  if (stacked) {
    return stacked;
  }
  stack.set(value, result);

  if ((0,_isSet_js__WEBPACK_IMPORTED_MODULE_19__["default"])(value)) {
    value.forEach(function(subValue) {
      result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
    });
  } else if ((0,_isMap_js__WEBPACK_IMPORTED_MODULE_17__["default"])(value)) {
    value.forEach(function(subValue, key) {
      result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
    });
  }

  var keysFunc = isFull
    ? (isFlat ? _getAllKeysIn_js__WEBPACK_IMPORTED_MODULE_10__["default"] : _getAllKeys_js__WEBPACK_IMPORTED_MODULE_9__["default"])
    : (isFlat ? _keysIn_js__WEBPACK_IMPORTED_MODULE_21__["default"] : _keys_js__WEBPACK_IMPORTED_MODULE_20__["default"]);

  var props = isArr ? undefined : keysFunc(value);
  (0,_arrayEach_js__WEBPACK_IMPORTED_MODULE_1__["default"])(props || value, function(subValue, key) {
    if (props) {
      key = subValue;
      subValue = value[key];
    }
    // Recursively populate clone (susceptible to call stack limits).
    (0,_assignValue_js__WEBPACK_IMPORTED_MODULE_2__["default"])(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
  });
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseClone);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");


/** Built-in value references. */
var objectCreate = Object.create;

/**
 * The base implementation of `_.create` without support for assigning
 * properties to the created object.
 *
 * @private
 * @param {Object} proto The object to inherit from.
 * @returns {Object} Returns the new object.
 */
var baseCreate = (function() {
  function object() {}
  return function(proto) {
    if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(proto)) {
      return {};
    }
    if (objectCreate) {
      return objectCreate(proto);
    }
    object.prototype = proto;
    var result = new object;
    object.prototype = undefined;
    return result;
  };
}());

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseCreate);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.findIndex` and `_.findLastIndex` without
 * support for iteratee shorthands.
 *
 * @private
 * @param {Array} array The array to inspect.
 * @param {Function} predicate The function invoked per iteration.
 * @param {number} fromIndex The index to search from.
 * @param {boolean} [fromRight] Specify iterating from right to left.
 * @returns {number} Returns the index of the matched value, else `-1`.
 */
function baseFindIndex(array, predicate, fromIndex, fromRight) {
  var length = array.length,
      index = fromIndex + (fromRight ? 1 : -1);

  while ((fromRight ? index-- : ++index < length)) {
    if (predicate(array[index], index, array)) {
      return index;
    }
  }
  return -1;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseFindIndex);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _createBaseFor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_createBaseFor.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js");


/**
 * The base implementation of `baseForOwn` which iterates over `object`
 * properties returned by `keysFunc` and invokes `iteratee` for each property.
 * Iteratee functions may exit iteration early by explicitly returning `false`.
 *
 * @private
 * @param {Object} object The object to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @param {Function} keysFunc The function to get the keys of `object`.
 * @returns {Object} Returns `object`.
 */
var baseFor = (0,_createBaseFor_js__WEBPACK_IMPORTED_MODULE_0__["default"])();

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseFor);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _castPath_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_castPath.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js");
/* harmony import */ var _toKey_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_toKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js");



/**
 * The base implementation of `_.get` without support for default values.
 *
 * @private
 * @param {Object} object The object to query.
 * @param {Array|string} path The path of the property to get.
 * @returns {*} Returns the resolved value.
 */
function baseGet(object, path) {
  path = (0,_castPath_js__WEBPACK_IMPORTED_MODULE_0__["default"])(path, object);

  var index = 0,
      length = path.length;

  while (object != null && index < length) {
    object = object[(0,_toKey_js__WEBPACK_IMPORTED_MODULE_1__["default"])(path[index++])];
  }
  return (index && index == length) ? object : undefined;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseGet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _arrayPush_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_arrayPush.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");



/**
 * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
 * `keysFunc` and `symbolsFunc` to get the enumerable property names and
 * symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @param {Function} keysFunc The function to get the keys of `object`.
 * @param {Function} symbolsFunc The function to get the symbols of `object`.
 * @returns {Array} Returns the array of property names and symbols.
 */
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
  var result = keysFunc(object);
  return (0,_isArray_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object) ? result : (0,_arrayPush_js__WEBPACK_IMPORTED_MODULE_0__["default"])(result, symbolsFunc(object));
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseGetAllKeys);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Symbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js");
/* harmony import */ var _getRawTag_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getRawTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js");
/* harmony import */ var _objectToString_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_objectToString.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js");




/** `Object#toString` result references. */
var nullTag = '[object Null]',
    undefinedTag = '[object Undefined]';

/** Built-in value references. */
var symToStringTag = _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"].toStringTag : undefined;

/**
 * The base implementation of `getTag` without fallbacks for buggy environments.
 *
 * @private
 * @param {*} value The value to query.
 * @returns {string} Returns the `toStringTag`.
 */
function baseGetTag(value) {
  if (value == null) {
    return value === undefined ? undefinedTag : nullTag;
  }
  return (symToStringTag && symToStringTag in Object(value))
    ? (0,_getRawTag_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value)
    : (0,_objectToString_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseGetTag);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.hasIn` without support for deep paths.
 *
 * @private
 * @param {Object} [object] The object to query.
 * @param {Array|string} key The key to check.
 * @returns {boolean} Returns `true` if `key` exists, else `false`.
 */
function baseHasIn(object, key) {
  return object != null && key in Object(object);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseHasIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseFindIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseFindIndex.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js");
/* harmony import */ var _baseIsNaN_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseIsNaN.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js");
/* harmony import */ var _strictIndexOf_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_strictIndexOf.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js");




/**
 * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
 *
 * @private
 * @param {Array} array The array to inspect.
 * @param {*} value The value to search for.
 * @param {number} fromIndex The index to search from.
 * @returns {number} Returns the index of the matched value, else `-1`.
 */
function baseIndexOf(array, value, fromIndex) {
  return value === value
    ? (0,_strictIndexOf_js__WEBPACK_IMPORTED_MODULE_2__["default"])(array, value, fromIndex)
    : (0,_baseFindIndex_js__WEBPACK_IMPORTED_MODULE_0__["default"])(array, _baseIsNaN_js__WEBPACK_IMPORTED_MODULE_1__["default"], fromIndex);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIndexOf);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGetTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");



/** `Object#toString` result references. */
var argsTag = '[object Arguments]';

/**
 * The base implementation of `_.isArguments`.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an `arguments` object,
 */
function baseIsArguments(value) {
  return (0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value) && (0,_baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) == argsTag;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsArguments);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsEqualDeep_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsEqualDeep.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");



/**
 * The base implementation of `_.isEqual` which supports partial comparisons
 * and tracks traversed objects.
 *
 * @private
 * @param {*} value The value to compare.
 * @param {*} other The other value to compare.
 * @param {boolean} bitmask The bitmask flags.
 *  1 - Unordered comparison
 *  2 - Partial comparison
 * @param {Function} [customizer] The function to customize comparisons.
 * @param {Object} [stack] Tracks traversed `value` and `other` objects.
 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
 */
function baseIsEqual(value, other, bitmask, customizer, stack) {
  if (value === other) {
    return true;
  }
  if (value == null || other == null || (!(0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value) && !(0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(other))) {
    return value !== value && other !== other;
  }
  return (0,_baseIsEqualDeep_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, other, bitmask, customizer, baseIsEqual, stack);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsEqual);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Stack_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Stack.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js");
/* harmony import */ var _equalArrays_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_equalArrays.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js");
/* harmony import */ var _equalByTag_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_equalByTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js");
/* harmony import */ var _equalObjects_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_equalObjects.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js");
/* harmony import */ var _getTag_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_getTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isBuffer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js");
/* harmony import */ var _isTypedArray_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./isTypedArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js");









/** Used to compose bitmasks for value comparisons. */
var COMPARE_PARTIAL_FLAG = 1;

/** `Object#toString` result references. */
var argsTag = '[object Arguments]',
    arrayTag = '[object Array]',
    objectTag = '[object Object]';

/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * A specialized version of `baseIsEqual` for arrays and objects which performs
 * deep comparisons and tracks traversed objects enabling objects with circular
 * references to be compared.
 *
 * @private
 * @param {Object} object The object to compare.
 * @param {Object} other The other object to compare.
 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
 * @param {Function} customizer The function to customize comparisons.
 * @param {Function} equalFunc The function to determine equivalents of values.
 * @param {Object} [stack] Tracks traversed `object` and `other` objects.
 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
 */
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
  var objIsArr = (0,_isArray_js__WEBPACK_IMPORTED_MODULE_5__["default"])(object),
      othIsArr = (0,_isArray_js__WEBPACK_IMPORTED_MODULE_5__["default"])(other),
      objTag = objIsArr ? arrayTag : (0,_getTag_js__WEBPACK_IMPORTED_MODULE_4__["default"])(object),
      othTag = othIsArr ? arrayTag : (0,_getTag_js__WEBPACK_IMPORTED_MODULE_4__["default"])(other);

  objTag = objTag == argsTag ? objectTag : objTag;
  othTag = othTag == argsTag ? objectTag : othTag;

  var objIsObj = objTag == objectTag,
      othIsObj = othTag == objectTag,
      isSameTag = objTag == othTag;

  if (isSameTag && (0,_isBuffer_js__WEBPACK_IMPORTED_MODULE_6__["default"])(object)) {
    if (!(0,_isBuffer_js__WEBPACK_IMPORTED_MODULE_6__["default"])(other)) {
      return false;
    }
    objIsArr = true;
    objIsObj = false;
  }
  if (isSameTag && !objIsObj) {
    stack || (stack = new _Stack_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
    return (objIsArr || (0,_isTypedArray_js__WEBPACK_IMPORTED_MODULE_7__["default"])(object))
      ? (0,_equalArrays_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object, other, bitmask, customizer, equalFunc, stack)
      : (0,_equalByTag_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object, other, objTag, bitmask, customizer, equalFunc, stack);
  }
  if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
    var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
        othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');

    if (objIsWrapped || othIsWrapped) {
      var objUnwrapped = objIsWrapped ? object.value() : object,
          othUnwrapped = othIsWrapped ? other.value() : other;

      stack || (stack = new _Stack_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
      return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
    }
  }
  if (!isSameTag) {
    return false;
  }
  stack || (stack = new _Stack_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
  return (0,_equalObjects_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object, other, bitmask, customizer, equalFunc, stack);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsEqualDeep);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");



/** `Object#toString` result references. */
var mapTag = '[object Map]';

/**
 * The base implementation of `_.isMap` without Node.js optimizations.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a map, else `false`.
 */
function baseIsMap(value) {
  return (0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value) && (0,_getTag_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) == mapTag;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsMap);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Stack_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Stack.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js");
/* harmony import */ var _baseIsEqual_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseIsEqual.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js");



/** Used to compose bitmasks for value comparisons. */
var COMPARE_PARTIAL_FLAG = 1,
    COMPARE_UNORDERED_FLAG = 2;

/**
 * The base implementation of `_.isMatch` without support for iteratee shorthands.
 *
 * @private
 * @param {Object} object The object to inspect.
 * @param {Object} source The object of property values to match.
 * @param {Array} matchData The property names, values, and compare flags to match.
 * @param {Function} [customizer] The function to customize comparisons.
 * @returns {boolean} Returns `true` if `object` is a match, else `false`.
 */
function baseIsMatch(object, source, matchData, customizer) {
  var index = matchData.length,
      length = index,
      noCustomizer = !customizer;

  if (object == null) {
    return !length;
  }
  object = Object(object);
  while (index--) {
    var data = matchData[index];
    if ((noCustomizer && data[2])
          ? data[1] !== object[data[0]]
          : !(data[0] in object)
        ) {
      return false;
    }
  }
  while (++index < length) {
    data = matchData[index];
    var key = data[0],
        objValue = object[key],
        srcValue = data[1];

    if (noCustomizer && data[2]) {
      if (objValue === undefined && !(key in object)) {
        return false;
      }
    } else {
      var stack = new _Stack_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      if (customizer) {
        var result = customizer(objValue, srcValue, key, object, source, stack);
      }
      if (!(result === undefined
            ? (0,_baseIsEqual_js__WEBPACK_IMPORTED_MODULE_1__["default"])(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
            : result
          )) {
        return false;
      }
    }
  }
  return true;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsMatch);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.isNaN` without support for number objects.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
 */
function baseIsNaN(value) {
  return value !== value;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsNaN);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js");
/* harmony import */ var _isMasked_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isMasked.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _toSource_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_toSource.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js");





/**
 * Used to match `RegExp`
 * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
 */
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;

/** Used to detect host constructors (Safari). */
var reIsHostCtor = /^\[object .+?Constructor\]$/;

/** Used for built-in method references. */
var funcProto = Function.prototype,
    objectProto = Object.prototype;

/** Used to resolve the decompiled source of functions. */
var funcToString = funcProto.toString;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/** Used to detect if a method is native. */
var reIsNative = RegExp('^' +
  funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
);

/**
 * The base implementation of `_.isNative` without bad shim checks.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a native function,
 *  else `false`.
 */
function baseIsNative(value) {
  if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value) || (0,_isMasked_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value)) {
    return false;
  }
  var pattern = (0,_isFunction_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) ? reIsNative : reIsHostCtor;
  return pattern.test((0,_toSource_js__WEBPACK_IMPORTED_MODULE_3__["default"])(value));
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsNative);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");



/** `Object#toString` result references. */
var setTag = '[object Set]';

/**
 * The base implementation of `_.isSet` without Node.js optimizations.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a set, else `false`.
 */
function baseIsSet(value) {
  return (0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value) && (0,_getTag_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) == setTag;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js ***!
  \*****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGetTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js");
/* harmony import */ var _isLength_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isLength.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");




/** `Object#toString` result references. */
var argsTag = '[object Arguments]',
    arrayTag = '[object Array]',
    boolTag = '[object Boolean]',
    dateTag = '[object Date]',
    errorTag = '[object Error]',
    funcTag = '[object Function]',
    mapTag = '[object Map]',
    numberTag = '[object Number]',
    objectTag = '[object Object]',
    regexpTag = '[object RegExp]',
    setTag = '[object Set]',
    stringTag = '[object String]',
    weakMapTag = '[object WeakMap]';

var arrayBufferTag = '[object ArrayBuffer]',
    dataViewTag = '[object DataView]',
    float32Tag = '[object Float32Array]',
    float64Tag = '[object Float64Array]',
    int8Tag = '[object Int8Array]',
    int16Tag = '[object Int16Array]',
    int32Tag = '[object Int32Array]',
    uint8Tag = '[object Uint8Array]',
    uint8ClampedTag = '[object Uint8ClampedArray]',
    uint16Tag = '[object Uint16Array]',
    uint32Tag = '[object Uint32Array]';

/** Used to identify `toStringTag` values of typed arrays. */
var typedArrayTags = {};
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
typedArrayTags[uint32Tag] = true;
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
typedArrayTags[setTag] = typedArrayTags[stringTag] =
typedArrayTags[weakMapTag] = false;

/**
 * The base implementation of `_.isTypedArray` without Node.js optimizations.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
 */
function baseIsTypedArray(value) {
  return (0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value) &&
    (0,_isLength_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value.length) && !!typedArrayTags[(0,_baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value)];
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIsTypedArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseMatches_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseMatches.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js");
/* harmony import */ var _baseMatchesProperty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseMatchesProperty.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js");
/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./identity.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./property.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js");






/**
 * The base implementation of `_.iteratee`.
 *
 * @private
 * @param {*} [value=_.identity] The value to convert to an iteratee.
 * @returns {Function} Returns the iteratee.
 */
function baseIteratee(value) {
  // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
  // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
  if (typeof value == 'function') {
    return value;
  }
  if (value == null) {
    return _identity_js__WEBPACK_IMPORTED_MODULE_2__["default"];
  }
  if (typeof value == 'object') {
    return (0,_isArray_js__WEBPACK_IMPORTED_MODULE_3__["default"])(value)
      ? (0,_baseMatchesProperty_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value[0], value[1])
      : (0,_baseMatches_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
  }
  return (0,_property_js__WEBPACK_IMPORTED_MODULE_4__["default"])(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseIteratee);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isPrototype_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isPrototype.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js");
/* harmony import */ var _nativeKeys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_nativeKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js");



/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 */
function baseKeys(object) {
  if (!(0,_isPrototype_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object)) {
    return (0,_nativeKeys_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object);
  }
  var result = [];
  for (var key in Object(object)) {
    if (hasOwnProperty.call(object, key) && key != 'constructor') {
      result.push(key);
    }
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseKeys);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _isPrototype_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isPrototype.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js");
/* harmony import */ var _nativeKeysIn_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_nativeKeysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js");




/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 */
function baseKeysIn(object) {
  if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object)) {
    return (0,_nativeKeysIn_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object);
  }
  var isProto = (0,_isPrototype_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object),
      result = [];

  for (var key in object) {
    if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
      result.push(key);
    }
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseKeysIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsMatch_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsMatch.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js");
/* harmony import */ var _getMatchData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getMatchData.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js");
/* harmony import */ var _matchesStrictComparable_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_matchesStrictComparable.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js");




/**
 * The base implementation of `_.matches` which doesn't clone `source`.
 *
 * @private
 * @param {Object} source The object of property values to match.
 * @returns {Function} Returns the new spec function.
 */
function baseMatches(source) {
  var matchData = (0,_getMatchData_js__WEBPACK_IMPORTED_MODULE_1__["default"])(source);
  if (matchData.length == 1 && matchData[0][2]) {
    return (0,_matchesStrictComparable_js__WEBPACK_IMPORTED_MODULE_2__["default"])(matchData[0][0], matchData[0][1]);
  }
  return function(object) {
    return object === source || (0,_baseIsMatch_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, source, matchData);
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseMatches);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js"
/*!********************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js ***!
  \********************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsEqual_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsEqual.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js");
/* harmony import */ var _get_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./get.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js");
/* harmony import */ var _hasIn_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hasIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js");
/* harmony import */ var _isKey_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_isKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js");
/* harmony import */ var _isStrictComparable_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_isStrictComparable.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js");
/* harmony import */ var _matchesStrictComparable_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./_matchesStrictComparable.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js");
/* harmony import */ var _toKey_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./_toKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js");








/** Used to compose bitmasks for value comparisons. */
var COMPARE_PARTIAL_FLAG = 1,
    COMPARE_UNORDERED_FLAG = 2;

/**
 * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
 *
 * @private
 * @param {string} path The path of the property to get.
 * @param {*} srcValue The value to match.
 * @returns {Function} Returns the new spec function.
 */
function baseMatchesProperty(path, srcValue) {
  if ((0,_isKey_js__WEBPACK_IMPORTED_MODULE_3__["default"])(path) && (0,_isStrictComparable_js__WEBPACK_IMPORTED_MODULE_4__["default"])(srcValue)) {
    return (0,_matchesStrictComparable_js__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_toKey_js__WEBPACK_IMPORTED_MODULE_6__["default"])(path), srcValue);
  }
  return function(object) {
    var objValue = (0,_get_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object, path);
    return (objValue === undefined && objValue === srcValue)
      ? (0,_hasIn_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object, path)
      : (0,_baseIsEqual_js__WEBPACK_IMPORTED_MODULE_0__["default"])(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseMatchesProperty);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Stack_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Stack.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js");
/* harmony import */ var _assignMergeValue_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_assignMergeValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js");
/* harmony import */ var _baseFor_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_baseFor.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js");
/* harmony import */ var _baseMergeDeep_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_baseMergeDeep.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _keysIn_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./keysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js");
/* harmony import */ var _safeGet_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./_safeGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js");








/**
 * The base implementation of `_.merge` without support for multiple sources.
 *
 * @private
 * @param {Object} object The destination object.
 * @param {Object} source The source object.
 * @param {number} srcIndex The index of `source`.
 * @param {Function} [customizer] The function to customize merged values.
 * @param {Object} [stack] Tracks traversed source values and their merged
 *  counterparts.
 */
function baseMerge(object, source, srcIndex, customizer, stack) {
  if (object === source) {
    return;
  }
  (0,_baseFor_js__WEBPACK_IMPORTED_MODULE_2__["default"])(source, function(srcValue, key) {
    stack || (stack = new _Stack_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
    if ((0,_isObject_js__WEBPACK_IMPORTED_MODULE_4__["default"])(srcValue)) {
      (0,_baseMergeDeep_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object, source, key, srcIndex, baseMerge, customizer, stack);
    }
    else {
      var newValue = customizer
        ? customizer((0,_safeGet_js__WEBPACK_IMPORTED_MODULE_6__["default"])(object, key), srcValue, (key + ''), object, source, stack)
        : undefined;

      if (newValue === undefined) {
        newValue = srcValue;
      }
      (0,_assignMergeValue_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object, key, newValue);
    }
  }, _keysIn_js__WEBPACK_IMPORTED_MODULE_5__["default"]);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseMerge);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _assignMergeValue_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_assignMergeValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js");
/* harmony import */ var _cloneBuffer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_cloneBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js");
/* harmony import */ var _cloneTypedArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_cloneTypedArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js");
/* harmony import */ var _copyArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_copyArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js");
/* harmony import */ var _initCloneObject_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_initCloneObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js");
/* harmony import */ var _isArguments_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isArguments.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isArrayLikeObject_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./isArrayLikeObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js");
/* harmony import */ var _isBuffer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./isBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js");
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./isFunction.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _isPlainObject_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./isPlainObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js");
/* harmony import */ var _isTypedArray_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./isTypedArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js");
/* harmony import */ var _safeGet_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./_safeGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js");
/* harmony import */ var _toPlainObject_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./toPlainObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js");
















/**
 * A specialized version of `baseMerge` for arrays and objects which performs
 * deep merges and tracks traversed objects enabling objects with circular
 * references to be merged.
 *
 * @private
 * @param {Object} object The destination object.
 * @param {Object} source The source object.
 * @param {string} key The key of the value to merge.
 * @param {number} srcIndex The index of `source`.
 * @param {Function} mergeFunc The function to merge values.
 * @param {Function} [customizer] The function to customize assigned values.
 * @param {Object} [stack] Tracks traversed source values and their merged
 *  counterparts.
 */
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
  var objValue = (0,_safeGet_js__WEBPACK_IMPORTED_MODULE_13__["default"])(object, key),
      srcValue = (0,_safeGet_js__WEBPACK_IMPORTED_MODULE_13__["default"])(source, key),
      stacked = stack.get(srcValue);

  if (stacked) {
    (0,_assignMergeValue_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, key, stacked);
    return;
  }
  var newValue = customizer
    ? customizer(objValue, srcValue, (key + ''), object, source, stack)
    : undefined;

  var isCommon = newValue === undefined;

  if (isCommon) {
    var isArr = (0,_isArray_js__WEBPACK_IMPORTED_MODULE_6__["default"])(srcValue),
        isBuff = !isArr && (0,_isBuffer_js__WEBPACK_IMPORTED_MODULE_8__["default"])(srcValue),
        isTyped = !isArr && !isBuff && (0,_isTypedArray_js__WEBPACK_IMPORTED_MODULE_12__["default"])(srcValue);

    newValue = srcValue;
    if (isArr || isBuff || isTyped) {
      if ((0,_isArray_js__WEBPACK_IMPORTED_MODULE_6__["default"])(objValue)) {
        newValue = objValue;
      }
      else if ((0,_isArrayLikeObject_js__WEBPACK_IMPORTED_MODULE_7__["default"])(objValue)) {
        newValue = (0,_copyArray_js__WEBPACK_IMPORTED_MODULE_3__["default"])(objValue);
      }
      else if (isBuff) {
        isCommon = false;
        newValue = (0,_cloneBuffer_js__WEBPACK_IMPORTED_MODULE_1__["default"])(srcValue, true);
      }
      else if (isTyped) {
        isCommon = false;
        newValue = (0,_cloneTypedArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(srcValue, true);
      }
      else {
        newValue = [];
      }
    }
    else if ((0,_isPlainObject_js__WEBPACK_IMPORTED_MODULE_11__["default"])(srcValue) || (0,_isArguments_js__WEBPACK_IMPORTED_MODULE_5__["default"])(srcValue)) {
      newValue = objValue;
      if ((0,_isArguments_js__WEBPACK_IMPORTED_MODULE_5__["default"])(objValue)) {
        newValue = (0,_toPlainObject_js__WEBPACK_IMPORTED_MODULE_14__["default"])(objValue);
      }
      else if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_10__["default"])(objValue) || (0,_isFunction_js__WEBPACK_IMPORTED_MODULE_9__["default"])(objValue)) {
        newValue = (0,_initCloneObject_js__WEBPACK_IMPORTED_MODULE_4__["default"])(srcValue);
      }
    }
    else {
      isCommon = false;
    }
  }
  if (isCommon) {
    // Recursively merge objects and arrays (susceptible to call stack limits).
    stack.set(srcValue, newValue);
    mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
    stack['delete'](srcValue);
  }
  (0,_assignMergeValue_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, key, newValue);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseMergeDeep);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.property` without support for deep paths.
 *
 * @private
 * @param {string} key The key of the property to get.
 * @returns {Function} Returns the new accessor function.
 */
function baseProperty(key) {
  return function(object) {
    return object == null ? undefined : object[key];
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseProperty);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js ***!
  \*****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGet_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js");


/**
 * A specialized version of `baseProperty` which supports deep paths.
 *
 * @private
 * @param {Array|string} path The path of the property to get.
 * @returns {Function} Returns the new accessor function.
 */
function basePropertyDeep(path) {
  return function(object) {
    return (0,_baseGet_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, path);
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (basePropertyDeep);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.propertyOf` without support for deep paths.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Function} Returns the new accessor function.
 */
function basePropertyOf(object) {
  return function(key) {
    return object == null ? undefined : object[key];
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (basePropertyOf);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js");
/* harmony import */ var _overRest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_overRest.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js");
/* harmony import */ var _setToString_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_setToString.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js");




/**
 * The base implementation of `_.rest` which doesn't validate or coerce arguments.
 *
 * @private
 * @param {Function} func The function to apply a rest parameter to.
 * @param {number} [start=func.length-1] The start position of the rest parameter.
 * @returns {Function} Returns the new function.
 */
function baseRest(func, start) {
  return (0,_setToString_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_overRest_js__WEBPACK_IMPORTED_MODULE_1__["default"])(func, start, _identity_js__WEBPACK_IMPORTED_MODULE_0__["default"]), func + '');
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseRest);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _assignValue_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_assignValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js");
/* harmony import */ var _castPath_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_castPath.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js");
/* harmony import */ var _isIndex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_isIndex.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _toKey_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_toKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js");






/**
 * The base implementation of `_.set`.
 *
 * @private
 * @param {Object} object The object to modify.
 * @param {Array|string} path The path of the property to set.
 * @param {*} value The value to set.
 * @param {Function} [customizer] The function to customize path creation.
 * @returns {Object} Returns `object`.
 */
function baseSet(object, path, value, customizer) {
  if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object)) {
    return object;
  }
  path = (0,_castPath_js__WEBPACK_IMPORTED_MODULE_1__["default"])(path, object);

  var index = -1,
      length = path.length,
      lastIndex = length - 1,
      nested = object;

  while (nested != null && ++index < length) {
    var key = (0,_toKey_js__WEBPACK_IMPORTED_MODULE_4__["default"])(path[index]),
        newValue = value;

    if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
      return object;
    }

    if (index != lastIndex) {
      var objValue = nested[key];
      newValue = customizer ? customizer(objValue, key, nested) : undefined;
      if (newValue === undefined) {
        newValue = (0,_isObject_js__WEBPACK_IMPORTED_MODULE_3__["default"])(objValue)
          ? objValue
          : ((0,_isIndex_js__WEBPACK_IMPORTED_MODULE_2__["default"])(path[index + 1]) ? [] : {});
      }
    }
    (0,_assignValue_js__WEBPACK_IMPORTED_MODULE_0__["default"])(nested, key, newValue);
    nested = nested[key];
  }
  return object;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constant.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js");
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_defineProperty.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js");
/* harmony import */ var _identity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./identity.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js");




/**
 * The base implementation of `setToString` without support for hot loop shorting.
 *
 * @private
 * @param {Function} func The function to modify.
 * @param {Function} string The `toString` result.
 * @returns {Function} Returns `func`.
 */
var baseSetToString = !_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__["default"] ? _identity_js__WEBPACK_IMPORTED_MODULE_2__["default"] : function(func, string) {
  return (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_1__["default"])(func, 'toString', {
    'configurable': true,
    'enumerable': false,
    'value': (0,_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(string),
    'writable': true
  });
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseSetToString);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.slice` without an iteratee call guard.
 *
 * @private
 * @param {Array} array The array to slice.
 * @param {number} [start=0] The start position.
 * @param {number} [end=array.length] The end position.
 * @returns {Array} Returns the slice of `array`.
 */
function baseSlice(array, start, end) {
  var index = -1,
      length = array.length;

  if (start < 0) {
    start = -start > length ? 0 : (length + start);
  }
  end = end > length ? length : end;
  if (end < 0) {
    end += length;
  }
  length = start > end ? 0 : ((end - start) >>> 0);
  start >>>= 0;

  var result = Array(length);
  while (++index < length) {
    result[index] = array[index + start];
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseSlice);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.times` without support for iteratee shorthands
 * or max array length checks.
 *
 * @private
 * @param {number} n The number of times to invoke `iteratee`.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Array} Returns the array of results.
 */
function baseTimes(n, iteratee) {
  var index = -1,
      result = Array(n);

  while (++index < n) {
    result[index] = iteratee(index);
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseTimes);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Symbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js");
/* harmony import */ var _arrayMap_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_arrayMap.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isSymbol_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isSymbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js");





/** Used as references for various `Number` constants. */
var INFINITY = 1 / 0;

/** Used to convert symbols to primitives and strings. */
var symbolProto = _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype : undefined,
    symbolToString = symbolProto ? symbolProto.toString : undefined;

/**
 * The base implementation of `_.toString` which doesn't convert nullish
 * values to empty strings.
 *
 * @private
 * @param {*} value The value to process.
 * @returns {string} Returns the string.
 */
function baseToString(value) {
  // Exit early for strings to avoid a performance hit in some environments.
  if (typeof value == 'string') {
    return value;
  }
  if ((0,_isArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value)) {
    // Recursively convert values (susceptible to call stack limits).
    return (0,_arrayMap_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value, baseToString) + '';
  }
  if ((0,_isSymbol_js__WEBPACK_IMPORTED_MODULE_3__["default"])(value)) {
    return symbolToString ? symbolToString.call(value) : '';
  }
  var result = (value + '');
  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseToString);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _trimmedEndIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_trimmedEndIndex.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js");


/** Used to match leading whitespace. */
var reTrimStart = /^\s+/;

/**
 * The base implementation of `_.trim`.
 *
 * @private
 * @param {string} string The string to trim.
 * @returns {string} Returns the trimmed string.
 */
function baseTrim(string) {
  return string
    ? string.slice(0, (0,_trimmedEndIndex_js__WEBPACK_IMPORTED_MODULE_0__["default"])(string) + 1).replace(reTrimStart, '')
    : string;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseTrim);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * The base implementation of `_.unary` without support for storing metadata.
 *
 * @private
 * @param {Function} func The function to cap arguments for.
 * @returns {Function} Returns the new capped function.
 */
function baseUnary(func) {
  return function(value) {
    return func(value);
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseUnary);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _SetCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_SetCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js");
/* harmony import */ var _arrayIncludes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_arrayIncludes.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js");
/* harmony import */ var _arrayIncludesWith_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_arrayIncludesWith.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js");
/* harmony import */ var _cacheHas_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_cacheHas.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js");
/* harmony import */ var _createSet_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_createSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js");
/* harmony import */ var _setToArray_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./_setToArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js");







/** Used as the size to enable large array optimizations. */
var LARGE_ARRAY_SIZE = 200;

/**
 * The base implementation of `_.uniqBy` without support for iteratee shorthands.
 *
 * @private
 * @param {Array} array The array to inspect.
 * @param {Function} [iteratee] The iteratee invoked per element.
 * @param {Function} [comparator] The comparator invoked per element.
 * @returns {Array} Returns the new duplicate free array.
 */
function baseUniq(array, iteratee, comparator) {
  var index = -1,
      includes = _arrayIncludes_js__WEBPACK_IMPORTED_MODULE_1__["default"],
      length = array.length,
      isCommon = true,
      result = [],
      seen = result;

  if (comparator) {
    isCommon = false;
    includes = _arrayIncludesWith_js__WEBPACK_IMPORTED_MODULE_2__["default"];
  }
  else if (length >= LARGE_ARRAY_SIZE) {
    var set = iteratee ? null : (0,_createSet_js__WEBPACK_IMPORTED_MODULE_4__["default"])(array);
    if (set) {
      return (0,_setToArray_js__WEBPACK_IMPORTED_MODULE_5__["default"])(set);
    }
    isCommon = false;
    includes = _cacheHas_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    seen = new _SetCache_js__WEBPACK_IMPORTED_MODULE_0__["default"];
  }
  else {
    seen = iteratee ? [] : result;
  }
  outer:
  while (++index < length) {
    var value = array[index],
        computed = iteratee ? iteratee(value) : value;

    value = (comparator || value !== 0) ? value : 0;
    if (isCommon && computed === computed) {
      var seenIndex = seen.length;
      while (seenIndex--) {
        if (seen[seenIndex] === computed) {
          continue outer;
        }
      }
      if (iteratee) {
        seen.push(computed);
      }
      result.push(value);
    }
    else if (!includes(seen, computed, comparator)) {
      if (seen !== result) {
        seen.push(computed);
      }
      result.push(value);
    }
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (baseUniq);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Checks if a `cache` value for `key` exists.
 *
 * @private
 * @param {Object} cache The cache to query.
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */
function cacheHas(cache, key) {
  return cache.has(key);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cacheHas);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isKey_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js");
/* harmony import */ var _stringToPath_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_stringToPath.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js");
/* harmony import */ var _toString_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./toString.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js");





/**
 * Casts `value` to a path array if it's not one.
 *
 * @private
 * @param {*} value The value to inspect.
 * @param {Object} [object] The object to query keys on.
 * @returns {Array} Returns the cast property path array.
 */
function castPath(value, object) {
  if ((0,_isArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value)) {
    return value;
  }
  return (0,_isKey_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value, object) ? [value] : (0,_stringToPath_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_toString_js__WEBPACK_IMPORTED_MODULE_3__["default"])(value));
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (castPath);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js ***!
  \*****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Uint8Array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Uint8Array.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js");


/**
 * Creates a clone of `arrayBuffer`.
 *
 * @private
 * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
 * @returns {ArrayBuffer} Returns the cloned array buffer.
 */
function cloneArrayBuffer(arrayBuffer) {
  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
  new _Uint8Array_js__WEBPACK_IMPORTED_MODULE_0__["default"](result).set(new _Uint8Array_js__WEBPACK_IMPORTED_MODULE_0__["default"](arrayBuffer));
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cloneArrayBuffer);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");


/** Detect free variable `exports`. */
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;

/** Detect free variable `module`. */
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;

/** Detect the popular CommonJS extension `module.exports`. */
var moduleExports = freeModule && freeModule.exports === freeExports;

/** Built-in value references. */
var Buffer = moduleExports ? _root_js__WEBPACK_IMPORTED_MODULE_0__["default"].Buffer : undefined,
    allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;

/**
 * Creates a clone of  `buffer`.
 *
 * @private
 * @param {Buffer} buffer The buffer to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Buffer} Returns the cloned buffer.
 */
function cloneBuffer(buffer, isDeep) {
  if (isDeep) {
    return buffer.slice();
  }
  var length = buffer.length,
      result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);

  buffer.copy(result);
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cloneBuffer);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _cloneArrayBuffer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_cloneArrayBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js");


/**
 * Creates a clone of `dataView`.
 *
 * @private
 * @param {Object} dataView The data view to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Object} Returns the cloned data view.
 */
function cloneDataView(dataView, isDeep) {
  var buffer = isDeep ? (0,_cloneArrayBuffer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(dataView.buffer) : dataView.buffer;
  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cloneDataView);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used to match `RegExp` flags from their coerced string values. */
var reFlags = /\w*$/;

/**
 * Creates a clone of `regexp`.
 *
 * @private
 * @param {Object} regexp The regexp to clone.
 * @returns {Object} Returns the cloned regexp.
 */
function cloneRegExp(regexp) {
  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
  result.lastIndex = regexp.lastIndex;
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cloneRegExp);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Symbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js");


/** Used to convert symbols to primitives and strings. */
var symbolProto = _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype : undefined,
    symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;

/**
 * Creates a clone of the `symbol` object.
 *
 * @private
 * @param {Object} symbol The symbol object to clone.
 * @returns {Object} Returns the cloned symbol object.
 */
function cloneSymbol(symbol) {
  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cloneSymbol);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _cloneArrayBuffer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_cloneArrayBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js");


/**
 * Creates a clone of `typedArray`.
 *
 * @private
 * @param {Object} typedArray The typed array to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Object} Returns the cloned typed array.
 */
function cloneTypedArray(typedArray, isDeep) {
  var buffer = isDeep ? (0,_cloneArrayBuffer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(typedArray.buffer) : typedArray.buffer;
  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cloneTypedArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Copies the values of `source` to `array`.
 *
 * @private
 * @param {Array} source The array to copy values from.
 * @param {Array} [array=[]] The array to copy values to.
 * @returns {Array} Returns `array`.
 */
function copyArray(source, array) {
  var index = -1,
      length = source.length;

  array || (array = Array(length));
  while (++index < length) {
    array[index] = source[index];
  }
  return array;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (copyArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _assignValue_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_assignValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js");
/* harmony import */ var _baseAssignValue_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseAssignValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js");



/**
 * Copies properties of `source` to `object`.
 *
 * @private
 * @param {Object} source The object to copy properties from.
 * @param {Array} props The property identifiers to copy.
 * @param {Object} [object={}] The object to copy properties to.
 * @param {Function} [customizer] The function to customize copied values.
 * @returns {Object} Returns `object`.
 */
function copyObject(source, props, object, customizer) {
  var isNew = !object;
  object || (object = {});

  var index = -1,
      length = props.length;

  while (++index < length) {
    var key = props[index];

    var newValue = customizer
      ? customizer(object[key], source[key], key, object, source)
      : undefined;

    if (newValue === undefined) {
      newValue = source[key];
    }
    if (isNew) {
      (0,_baseAssignValue_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object, key, newValue);
    } else {
      (0,_assignValue_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, key, newValue);
    }
  }
  return object;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (copyObject);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _copyObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_copyObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js");
/* harmony import */ var _getSymbols_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getSymbols.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js");



/**
 * Copies own symbols of `source` to `object`.
 *
 * @private
 * @param {Object} source The object to copy symbols from.
 * @param {Object} [object={}] The object to copy symbols to.
 * @returns {Object} Returns `object`.
 */
function copySymbols(source, object) {
  return (0,_copyObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(source, (0,_getSymbols_js__WEBPACK_IMPORTED_MODULE_1__["default"])(source), object);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (copySymbols);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _copyObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_copyObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js");
/* harmony import */ var _getSymbolsIn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getSymbolsIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js");



/**
 * Copies own and inherited symbols of `source` to `object`.
 *
 * @private
 * @param {Object} source The object to copy symbols from.
 * @param {Object} [object={}] The object to copy symbols to.
 * @returns {Object} Returns `object`.
 */
function copySymbolsIn(source, object) {
  return (0,_copyObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(source, (0,_getSymbolsIn_js__WEBPACK_IMPORTED_MODULE_1__["default"])(source), object);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (copySymbolsIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");


/** Used to detect overreaching core-js shims. */
var coreJsData = _root_js__WEBPACK_IMPORTED_MODULE_0__["default"]['__core-js_shared__'];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (coreJsData);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseRest_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseRest.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js");
/* harmony import */ var _isIterateeCall_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isIterateeCall.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js");



/**
 * Creates a function like `_.assign`.
 *
 * @private
 * @param {Function} assigner The function to assign values.
 * @returns {Function} Returns the new assigner function.
 */
function createAssigner(assigner) {
  return (0,_baseRest_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(object, sources) {
    var index = -1,
        length = sources.length,
        customizer = length > 1 ? sources[length - 1] : undefined,
        guard = length > 2 ? sources[2] : undefined;

    customizer = (assigner.length > 3 && typeof customizer == 'function')
      ? (length--, customizer)
      : undefined;

    if (guard && (0,_isIterateeCall_js__WEBPACK_IMPORTED_MODULE_1__["default"])(sources[0], sources[1], guard)) {
      customizer = length < 3 ? undefined : customizer;
      length = 1;
    }
    object = Object(object);
    while (++index < length) {
      var source = sources[index];
      if (source) {
        assigner(object, source, index, customizer);
      }
    }
    return object;
  });
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createAssigner);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Creates a base function for methods like `_.forIn` and `_.forOwn`.
 *
 * @private
 * @param {boolean} [fromRight] Specify iterating from right to left.
 * @returns {Function} Returns the new base function.
 */
function createBaseFor(fromRight) {
  return function(object, iteratee, keysFunc) {
    var index = -1,
        iterable = Object(object),
        props = keysFunc(object),
        length = props.length;

    while (length--) {
      var key = props[fromRight ? length : ++index];
      if (iteratee(iterable[key], key, iterable) === false) {
        break;
      }
    }
    return object;
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createBaseFor);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Set_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Set.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js");
/* harmony import */ var _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./noop.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/noop.js");
/* harmony import */ var _setToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_setToArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js");




/** Used as references for various `Number` constants. */
var INFINITY = 1 / 0;

/**
 * Creates a set object of `values`.
 *
 * @private
 * @param {Array} values The values to add to the set.
 * @returns {Object} Returns the new set.
 */
var createSet = !(_Set_js__WEBPACK_IMPORTED_MODULE_0__["default"] && (1 / (0,_setToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(new _Set_js__WEBPACK_IMPORTED_MODULE_0__["default"]([,-0]))[1]) == INFINITY) ? _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"] : function(values) {
  return new _Set_js__WEBPACK_IMPORTED_MODULE_0__["default"](values);
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js");


var defineProperty = (function() {
  try {
    var func = (0,_getNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Object, 'defineProperty');
    func({}, '', {});
    return func;
  } catch (e) {}
}());

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defineProperty);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _SetCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_SetCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js");
/* harmony import */ var _arraySome_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_arraySome.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js");
/* harmony import */ var _cacheHas_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_cacheHas.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js");




/** Used to compose bitmasks for value comparisons. */
var COMPARE_PARTIAL_FLAG = 1,
    COMPARE_UNORDERED_FLAG = 2;

/**
 * A specialized version of `baseIsEqualDeep` for arrays with support for
 * partial deep comparisons.
 *
 * @private
 * @param {Array} array The array to compare.
 * @param {Array} other The other array to compare.
 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
 * @param {Function} customizer The function to customize comparisons.
 * @param {Function} equalFunc The function to determine equivalents of values.
 * @param {Object} stack Tracks traversed `array` and `other` objects.
 * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
 */
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
      arrLength = array.length,
      othLength = other.length;

  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
    return false;
  }
  // Check that cyclic values are equal.
  var arrStacked = stack.get(array);
  var othStacked = stack.get(other);
  if (arrStacked && othStacked) {
    return arrStacked == other && othStacked == array;
  }
  var index = -1,
      result = true,
      seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new _SetCache_js__WEBPACK_IMPORTED_MODULE_0__["default"] : undefined;

  stack.set(array, other);
  stack.set(other, array);

  // Ignore non-index properties.
  while (++index < arrLength) {
    var arrValue = array[index],
        othValue = other[index];

    if (customizer) {
      var compared = isPartial
        ? customizer(othValue, arrValue, index, other, array, stack)
        : customizer(arrValue, othValue, index, array, other, stack);
    }
    if (compared !== undefined) {
      if (compared) {
        continue;
      }
      result = false;
      break;
    }
    // Recursively compare arrays (susceptible to call stack limits).
    if (seen) {
      if (!(0,_arraySome_js__WEBPACK_IMPORTED_MODULE_1__["default"])(other, function(othValue, othIndex) {
            if (!(0,_cacheHas_js__WEBPACK_IMPORTED_MODULE_2__["default"])(seen, othIndex) &&
                (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
              return seen.push(othIndex);
            }
          })) {
        result = false;
        break;
      }
    } else if (!(
          arrValue === othValue ||
            equalFunc(arrValue, othValue, bitmask, customizer, stack)
        )) {
      result = false;
      break;
    }
  }
  stack['delete'](array);
  stack['delete'](other);
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (equalArrays);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Symbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js");
/* harmony import */ var _Uint8Array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_Uint8Array.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js");
/* harmony import */ var _eq_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./eq.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js");
/* harmony import */ var _equalArrays_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_equalArrays.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js");
/* harmony import */ var _mapToArray_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_mapToArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js");
/* harmony import */ var _setToArray_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./_setToArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js");







/** Used to compose bitmasks for value comparisons. */
var COMPARE_PARTIAL_FLAG = 1,
    COMPARE_UNORDERED_FLAG = 2;

/** `Object#toString` result references. */
var boolTag = '[object Boolean]',
    dateTag = '[object Date]',
    errorTag = '[object Error]',
    mapTag = '[object Map]',
    numberTag = '[object Number]',
    regexpTag = '[object RegExp]',
    setTag = '[object Set]',
    stringTag = '[object String]',
    symbolTag = '[object Symbol]';

var arrayBufferTag = '[object ArrayBuffer]',
    dataViewTag = '[object DataView]';

/** Used to convert symbols to primitives and strings. */
var symbolProto = _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype : undefined,
    symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;

/**
 * A specialized version of `baseIsEqualDeep` for comparing objects of
 * the same `toStringTag`.
 *
 * **Note:** This function only supports comparing values with tags of
 * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
 *
 * @private
 * @param {Object} object The object to compare.
 * @param {Object} other The other object to compare.
 * @param {string} tag The `toStringTag` of the objects to compare.
 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
 * @param {Function} customizer The function to customize comparisons.
 * @param {Function} equalFunc The function to determine equivalents of values.
 * @param {Object} stack Tracks traversed `object` and `other` objects.
 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
 */
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
  switch (tag) {
    case dataViewTag:
      if ((object.byteLength != other.byteLength) ||
          (object.byteOffset != other.byteOffset)) {
        return false;
      }
      object = object.buffer;
      other = other.buffer;

    case arrayBufferTag:
      if ((object.byteLength != other.byteLength) ||
          !equalFunc(new _Uint8Array_js__WEBPACK_IMPORTED_MODULE_1__["default"](object), new _Uint8Array_js__WEBPACK_IMPORTED_MODULE_1__["default"](other))) {
        return false;
      }
      return true;

    case boolTag:
    case dateTag:
    case numberTag:
      // Coerce booleans to `1` or `0` and dates to milliseconds.
      // Invalid dates are coerced to `NaN`.
      return (0,_eq_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+object, +other);

    case errorTag:
      return object.name == other.name && object.message == other.message;

    case regexpTag:
    case stringTag:
      // Coerce regexes to strings and treat strings, primitives and objects,
      // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
      // for more details.
      return object == (other + '');

    case mapTag:
      var convert = _mapToArray_js__WEBPACK_IMPORTED_MODULE_4__["default"];

    case setTag:
      var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
      convert || (convert = _setToArray_js__WEBPACK_IMPORTED_MODULE_5__["default"]);

      if (object.size != other.size && !isPartial) {
        return false;
      }
      // Assume cyclic values are equal.
      var stacked = stack.get(object);
      if (stacked) {
        return stacked == other;
      }
      bitmask |= COMPARE_UNORDERED_FLAG;

      // Recursively compare objects (susceptible to call stack limits).
      stack.set(object, other);
      var result = (0,_equalArrays_js__WEBPACK_IMPORTED_MODULE_3__["default"])(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
      stack['delete'](object);
      return result;

    case symbolTag:
      if (symbolValueOf) {
        return symbolValueOf.call(object) == symbolValueOf.call(other);
      }
  }
  return false;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (equalByTag);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getAllKeys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getAllKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js");


/** Used to compose bitmasks for value comparisons. */
var COMPARE_PARTIAL_FLAG = 1;

/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * A specialized version of `baseIsEqualDeep` for objects with support for
 * partial deep comparisons.
 *
 * @private
 * @param {Object} object The object to compare.
 * @param {Object} other The other object to compare.
 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
 * @param {Function} customizer The function to customize comparisons.
 * @param {Function} equalFunc The function to determine equivalents of values.
 * @param {Object} stack Tracks traversed `object` and `other` objects.
 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
 */
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
      objProps = (0,_getAllKeys_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object),
      objLength = objProps.length,
      othProps = (0,_getAllKeys_js__WEBPACK_IMPORTED_MODULE_0__["default"])(other),
      othLength = othProps.length;

  if (objLength != othLength && !isPartial) {
    return false;
  }
  var index = objLength;
  while (index--) {
    var key = objProps[index];
    if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
      return false;
    }
  }
  // Check that cyclic values are equal.
  var objStacked = stack.get(object);
  var othStacked = stack.get(other);
  if (objStacked && othStacked) {
    return objStacked == other && othStacked == object;
  }
  var result = true;
  stack.set(object, other);
  stack.set(other, object);

  var skipCtor = isPartial;
  while (++index < objLength) {
    key = objProps[index];
    var objValue = object[key],
        othValue = other[key];

    if (customizer) {
      var compared = isPartial
        ? customizer(othValue, objValue, key, other, object, stack)
        : customizer(objValue, othValue, key, object, other, stack);
    }
    // Recursively compare objects (susceptible to call stack limits).
    if (!(compared === undefined
          ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
          : compared
        )) {
      result = false;
      break;
    }
    skipCtor || (skipCtor = key == 'constructor');
  }
  if (result && !skipCtor) {
    var objCtor = object.constructor,
        othCtor = other.constructor;

    // Non `Object` object instances with different constructors are not equal.
    if (objCtor != othCtor &&
        ('constructor' in object && 'constructor' in other) &&
        !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
          typeof othCtor == 'function' && othCtor instanceof othCtor)) {
      result = false;
    }
  }
  stack['delete'](object);
  stack['delete'](other);
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (equalObjects);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _basePropertyOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_basePropertyOf.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js");


/** Used to map characters to HTML entities. */
var htmlEscapes = {
  '&': '&amp;',
  '<': '&lt;',
  '>': '&gt;',
  '"': '&quot;',
  "'": '&#39;'
};

/**
 * Used by `_.escape` to convert characters to HTML entities.
 *
 * @private
 * @param {string} chr The matched character to escape.
 * @returns {string} Returns the escaped character.
 */
var escapeHtmlChar = (0,_basePropertyOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(htmlEscapes);

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (escapeHtmlChar);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Detect free variable `global` from Node.js. */
var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (freeGlobal);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGetAllKeys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGetAllKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js");
/* harmony import */ var _getSymbols_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getSymbols.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js");
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./keys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js");




/**
 * Creates an array of own enumerable property names and symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names and symbols.
 */
function getAllKeys(object) {
  return (0,_baseGetAllKeys_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, _keys_js__WEBPACK_IMPORTED_MODULE_2__["default"], _getSymbols_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getAllKeys);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGetAllKeys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGetAllKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js");
/* harmony import */ var _getSymbolsIn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getSymbolsIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js");
/* harmony import */ var _keysIn_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./keysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js");




/**
 * Creates an array of own and inherited enumerable property names and
 * symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names and symbols.
 */
function getAllKeysIn(object) {
  return (0,_baseGetAllKeys_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, _keysIn_js__WEBPACK_IMPORTED_MODULE_2__["default"], _getSymbolsIn_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getAllKeysIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isKeyable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isKeyable.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js");


/**
 * Gets the data for `map`.
 *
 * @private
 * @param {Object} map The map to query.
 * @param {string} key The reference key.
 * @returns {*} Returns the map data.
 */
function getMapData(map, key) {
  var data = map.__data__;
  return (0,_isKeyable_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key)
    ? data[typeof key == 'string' ? 'string' : 'hash']
    : data.map;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getMapData);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isStrictComparable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_isStrictComparable.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js");
/* harmony import */ var _keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./keys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js");



/**
 * Gets the property names, values, and compare flags of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the match data of `object`.
 */
function getMatchData(object) {
  var result = (0,_keys_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object),
      length = result.length;

  while (length--) {
    var key = result[length],
        value = object[key];

    result[length] = [key, value, (0,_isStrictComparable_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value)];
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getMatchData);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js");
/* harmony import */ var _getValue_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getValue.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js");



/**
 * Gets the native function at `key` of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @param {string} key The key of the method to get.
 * @returns {*} Returns the function if it's native, else `undefined`.
 */
function getNative(object, key) {
  var value = (0,_getValue_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object, key);
  return (0,_baseIsNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) ? value : undefined;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getNative);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _overArg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_overArg.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js");


/** Built-in value references. */
var getPrototype = (0,_overArg_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Object.getPrototypeOf, Object);

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getPrototype);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Symbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js");


/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Used to resolve the
 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
 * of values.
 */
var nativeObjectToString = objectProto.toString;

/** Built-in value references. */
var symToStringTag = _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? _Symbol_js__WEBPACK_IMPORTED_MODULE_0__["default"].toStringTag : undefined;

/**
 * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
 *
 * @private
 * @param {*} value The value to query.
 * @returns {string} Returns the raw `toStringTag`.
 */
function getRawTag(value) {
  var isOwn = hasOwnProperty.call(value, symToStringTag),
      tag = value[symToStringTag];

  try {
    value[symToStringTag] = undefined;
    var unmasked = true;
  } catch (e) {}

  var result = nativeObjectToString.call(value);
  if (unmasked) {
    if (isOwn) {
      value[symToStringTag] = tag;
    } else {
      delete value[symToStringTag];
    }
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getRawTag);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _arrayFilter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_arrayFilter.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js");
/* harmony import */ var _stubArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stubArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js");



/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Built-in value references. */
var propertyIsEnumerable = objectProto.propertyIsEnumerable;

/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeGetSymbols = Object.getOwnPropertySymbols;

/**
 * Creates an array of the own enumerable symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of symbols.
 */
var getSymbols = !nativeGetSymbols ? _stubArray_js__WEBPACK_IMPORTED_MODULE_1__["default"] : function(object) {
  if (object == null) {
    return [];
  }
  object = Object(object);
  return (0,_arrayFilter_js__WEBPACK_IMPORTED_MODULE_0__["default"])(nativeGetSymbols(object), function(symbol) {
    return propertyIsEnumerable.call(object, symbol);
  });
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getSymbols);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _arrayPush_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_arrayPush.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js");
/* harmony import */ var _getPrototype_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getPrototype.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js");
/* harmony import */ var _getSymbols_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_getSymbols.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js");
/* harmony import */ var _stubArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stubArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js");





/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeGetSymbols = Object.getOwnPropertySymbols;

/**
 * Creates an array of the own and inherited enumerable symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of symbols.
 */
var getSymbolsIn = !nativeGetSymbols ? _stubArray_js__WEBPACK_IMPORTED_MODULE_3__["default"] : function(object) {
  var result = [];
  while (object) {
    (0,_arrayPush_js__WEBPACK_IMPORTED_MODULE_0__["default"])(result, (0,_getSymbols_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object));
    object = (0,_getPrototype_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object);
  }
  return result;
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getSymbolsIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _DataView_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_DataView.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js");
/* harmony import */ var _Map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_Map.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js");
/* harmony import */ var _Promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_Promise.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js");
/* harmony import */ var _Set_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_Set.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js");
/* harmony import */ var _WeakMap_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_WeakMap.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js");
/* harmony import */ var _baseGetTag_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./_baseGetTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js");
/* harmony import */ var _toSource_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./_toSource.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js");








/** `Object#toString` result references. */
var mapTag = '[object Map]',
    objectTag = '[object Object]',
    promiseTag = '[object Promise]',
    setTag = '[object Set]',
    weakMapTag = '[object WeakMap]';

var dataViewTag = '[object DataView]';

/** Used to detect maps, sets, and weakmaps. */
var dataViewCtorString = (0,_toSource_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_DataView_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
    mapCtorString = (0,_toSource_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_Map_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
    promiseCtorString = (0,_toSource_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_Promise_js__WEBPACK_IMPORTED_MODULE_2__["default"]),
    setCtorString = (0,_toSource_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_Set_js__WEBPACK_IMPORTED_MODULE_3__["default"]),
    weakMapCtorString = (0,_toSource_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_WeakMap_js__WEBPACK_IMPORTED_MODULE_4__["default"]);

/**
 * Gets the `toStringTag` of `value`.
 *
 * @private
 * @param {*} value The value to query.
 * @returns {string} Returns the `toStringTag`.
 */
var getTag = _baseGetTag_js__WEBPACK_IMPORTED_MODULE_5__["default"];

// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
if ((_DataView_js__WEBPACK_IMPORTED_MODULE_0__["default"] && getTag(new _DataView_js__WEBPACK_IMPORTED_MODULE_0__["default"](new ArrayBuffer(1))) != dataViewTag) ||
    (_Map_js__WEBPACK_IMPORTED_MODULE_1__["default"] && getTag(new _Map_js__WEBPACK_IMPORTED_MODULE_1__["default"]) != mapTag) ||
    (_Promise_js__WEBPACK_IMPORTED_MODULE_2__["default"] && getTag(_Promise_js__WEBPACK_IMPORTED_MODULE_2__["default"].resolve()) != promiseTag) ||
    (_Set_js__WEBPACK_IMPORTED_MODULE_3__["default"] && getTag(new _Set_js__WEBPACK_IMPORTED_MODULE_3__["default"]) != setTag) ||
    (_WeakMap_js__WEBPACK_IMPORTED_MODULE_4__["default"] && getTag(new _WeakMap_js__WEBPACK_IMPORTED_MODULE_4__["default"]) != weakMapTag)) {
  getTag = function(value) {
    var result = (0,_baseGetTag_js__WEBPACK_IMPORTED_MODULE_5__["default"])(value),
        Ctor = result == objectTag ? value.constructor : undefined,
        ctorString = Ctor ? (0,_toSource_js__WEBPACK_IMPORTED_MODULE_6__["default"])(Ctor) : '';

    if (ctorString) {
      switch (ctorString) {
        case dataViewCtorString: return dataViewTag;
        case mapCtorString: return mapTag;
        case promiseCtorString: return promiseTag;
        case setCtorString: return setTag;
        case weakMapCtorString: return weakMapTag;
      }
    }
    return result;
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getTag);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Gets the value at `key` of `object`.
 *
 * @private
 * @param {Object} [object] The object to query.
 * @param {string} key The key of the property to get.
 * @returns {*} Returns the property value.
 */
function getValue(object, key) {
  return object == null ? undefined : object[key];
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getValue);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _castPath_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_castPath.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js");
/* harmony import */ var _isArguments_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isArguments.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isIndex_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_isIndex.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js");
/* harmony import */ var _isLength_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isLength.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js");
/* harmony import */ var _toKey_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./_toKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js");







/**
 * Checks if `path` exists on `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @param {Array|string} path The path to check.
 * @param {Function} hasFunc The function to check properties.
 * @returns {boolean} Returns `true` if `path` exists, else `false`.
 */
function hasPath(object, path, hasFunc) {
  path = (0,_castPath_js__WEBPACK_IMPORTED_MODULE_0__["default"])(path, object);

  var index = -1,
      length = path.length,
      result = false;

  while (++index < length) {
    var key = (0,_toKey_js__WEBPACK_IMPORTED_MODULE_5__["default"])(path[index]);
    if (!(result = object != null && hasFunc(object, key))) {
      break;
    }
    object = object[key];
  }
  if (result || ++index != length) {
    return result;
  }
  length = object == null ? 0 : object.length;
  return !!length && (0,_isLength_js__WEBPACK_IMPORTED_MODULE_4__["default"])(length) && (0,_isIndex_js__WEBPACK_IMPORTED_MODULE_3__["default"])(key, length) &&
    ((0,_isArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object) || (0,_isArguments_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object));
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasPath);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_nativeCreate.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js");


/**
 * Removes all key-value entries from the hash.
 *
 * @private
 * @name clear
 * @memberOf Hash
 */
function hashClear() {
  this.__data__ = _nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? (0,_nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__["default"])(null) : {};
  this.size = 0;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hashClear);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Removes `key` and its value from the hash.
 *
 * @private
 * @name delete
 * @memberOf Hash
 * @param {Object} hash The hash to modify.
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */
function hashDelete(key) {
  var result = this.has(key) && delete this.__data__[key];
  this.size -= result ? 1 : 0;
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hashDelete);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_nativeCreate.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js");


/** Used to stand-in for `undefined` hash values. */
var HASH_UNDEFINED = '__lodash_hash_undefined__';

/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Gets the hash value for `key`.
 *
 * @private
 * @name get
 * @memberOf Hash
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */
function hashGet(key) {
  var data = this.__data__;
  if (_nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__["default"]) {
    var result = data[key];
    return result === HASH_UNDEFINED ? undefined : result;
  }
  return hasOwnProperty.call(data, key) ? data[key] : undefined;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hashGet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_nativeCreate.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js");


/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Checks if a hash value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf Hash
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */
function hashHas(key) {
  var data = this.__data__;
  return _nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hashHas);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_nativeCreate.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js");


/** Used to stand-in for `undefined` hash values. */
var HASH_UNDEFINED = '__lodash_hash_undefined__';

/**
 * Sets the hash `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf Hash
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the hash instance.
 */
function hashSet(key, value) {
  var data = this.__data__;
  this.size += this.has(key) ? 0 : 1;
  data[key] = (_nativeCreate_js__WEBPACK_IMPORTED_MODULE_0__["default"] && value === undefined) ? HASH_UNDEFINED : value;
  return this;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hashSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Initializes an array clone.
 *
 * @private
 * @param {Array} array The array to clone.
 * @returns {Array} Returns the initialized clone.
 */
function initCloneArray(array) {
  var length = array.length,
      result = new array.constructor(length);

  // Add properties assigned by `RegExp#exec`.
  if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
    result.index = array.index;
    result.input = array.input;
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (initCloneArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _cloneArrayBuffer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_cloneArrayBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js");
/* harmony import */ var _cloneDataView_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_cloneDataView.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js");
/* harmony import */ var _cloneRegExp_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_cloneRegExp.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js");
/* harmony import */ var _cloneSymbol_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_cloneSymbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js");
/* harmony import */ var _cloneTypedArray_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./_cloneTypedArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js");






/** `Object#toString` result references. */
var boolTag = '[object Boolean]',
    dateTag = '[object Date]',
    mapTag = '[object Map]',
    numberTag = '[object Number]',
    regexpTag = '[object RegExp]',
    setTag = '[object Set]',
    stringTag = '[object String]',
    symbolTag = '[object Symbol]';

var arrayBufferTag = '[object ArrayBuffer]',
    dataViewTag = '[object DataView]',
    float32Tag = '[object Float32Array]',
    float64Tag = '[object Float64Array]',
    int8Tag = '[object Int8Array]',
    int16Tag = '[object Int16Array]',
    int32Tag = '[object Int32Array]',
    uint8Tag = '[object Uint8Array]',
    uint8ClampedTag = '[object Uint8ClampedArray]',
    uint16Tag = '[object Uint16Array]',
    uint32Tag = '[object Uint32Array]';

/**
 * Initializes an object clone based on its `toStringTag`.
 *
 * **Note:** This function only supports cloning values with tags of
 * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
 *
 * @private
 * @param {Object} object The object to clone.
 * @param {string} tag The `toStringTag` of the object to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Object} Returns the initialized clone.
 */
function initCloneByTag(object, tag, isDeep) {
  var Ctor = object.constructor;
  switch (tag) {
    case arrayBufferTag:
      return (0,_cloneArrayBuffer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object);

    case boolTag:
    case dateTag:
      return new Ctor(+object);

    case dataViewTag:
      return (0,_cloneDataView_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object, isDeep);

    case float32Tag: case float64Tag:
    case int8Tag: case int16Tag: case int32Tag:
    case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
      return (0,_cloneTypedArray_js__WEBPACK_IMPORTED_MODULE_4__["default"])(object, isDeep);

    case mapTag:
      return new Ctor;

    case numberTag:
    case stringTag:
      return new Ctor(object);

    case regexpTag:
      return (0,_cloneRegExp_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object);

    case setTag:
      return new Ctor;

    case symbolTag:
      return (0,_cloneSymbol_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object);
  }
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (initCloneByTag);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseCreate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseCreate.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js");
/* harmony import */ var _getPrototype_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getPrototype.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js");
/* harmony import */ var _isPrototype_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_isPrototype.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js");




/**
 * Initializes an object clone.
 *
 * @private
 * @param {Object} object The object to clone.
 * @returns {Object} Returns the initialized clone.
 */
function initCloneObject(object) {
  return (typeof object.constructor == 'function' && !(0,_isPrototype_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object))
    ? (0,_baseCreate_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_getPrototype_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object))
    : {};
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (initCloneObject);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used as references for various `Number` constants. */
var MAX_SAFE_INTEGER = 9007199254740991;

/** Used to detect unsigned integer values. */
var reIsUint = /^(?:0|[1-9]\d*)$/;

/**
 * Checks if `value` is a valid array-like index.
 *
 * @private
 * @param {*} value The value to check.
 * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
 * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
 */
function isIndex(value, length) {
  var type = typeof value;
  length = length == null ? MAX_SAFE_INTEGER : length;

  return !!length &&
    (type == 'number' ||
      (type != 'symbol' && reIsUint.test(value))) &&
        (value > -1 && value % 1 == 0 && value < length);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isIndex);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _eq_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./eq.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js");
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isArrayLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js");
/* harmony import */ var _isIndex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_isIndex.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");





/**
 * Checks if the given arguments are from an iteratee call.
 *
 * @private
 * @param {*} value The potential iteratee value argument.
 * @param {*} index The potential iteratee index or key argument.
 * @param {*} object The potential iteratee object argument.
 * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
 *  else `false`.
 */
function isIterateeCall(value, index, object) {
  if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_3__["default"])(object)) {
    return false;
  }
  var type = typeof index;
  if (type == 'number'
        ? ((0,_isArrayLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object) && (0,_isIndex_js__WEBPACK_IMPORTED_MODULE_2__["default"])(index, object.length))
        : (type == 'string' && index in object)
      ) {
    return (0,_eq_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object[index], value);
  }
  return false;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isIterateeCall);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isSymbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isSymbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js");



/** Used to match property names within property paths. */
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
    reIsPlainProp = /^\w*$/;

/**
 * Checks if `value` is a property name and not a property path.
 *
 * @private
 * @param {*} value The value to check.
 * @param {Object} [object] The object to query keys on.
 * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
 */
function isKey(value, object) {
  if ((0,_isArray_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value)) {
    return false;
  }
  var type = typeof value;
  if (type == 'number' || type == 'symbol' || type == 'boolean' ||
      value == null || (0,_isSymbol_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value)) {
    return true;
  }
  return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
    (object != null && value in Object(object));
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isKey);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Checks if `value` is suitable for use as unique object key.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
 */
function isKeyable(value) {
  var type = typeof value;
  return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
    ? (value !== '__proto__')
    : (value === null);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isKeyable);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _coreJsData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_coreJsData.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js");


/** Used to detect methods masquerading as native. */
var maskSrcKey = (function() {
  var uid = /[^.]+$/.exec(_coreJsData_js__WEBPACK_IMPORTED_MODULE_0__["default"] && _coreJsData_js__WEBPACK_IMPORTED_MODULE_0__["default"].keys && _coreJsData_js__WEBPACK_IMPORTED_MODULE_0__["default"].keys.IE_PROTO || '');
  return uid ? ('Symbol(src)_1.' + uid) : '';
}());

/**
 * Checks if `func` has its source masked.
 *
 * @private
 * @param {Function} func The function to check.
 * @returns {boolean} Returns `true` if `func` is masked, else `false`.
 */
function isMasked(func) {
  return !!maskSrcKey && (maskSrcKey in func);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isMasked);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used for built-in method references. */
var objectProto = Object.prototype;

/**
 * Checks if `value` is likely a prototype object.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
 */
function isPrototype(value) {
  var Ctor = value && value.constructor,
      proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;

  return value === proto;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isPrototype);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js"
/*!*******************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js ***!
  \*******************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");


/**
 * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` if suitable for strict
 *  equality comparisons, else `false`.
 */
function isStrictComparable(value) {
  return value === value && !(0,_isObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isStrictComparable);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Removes all key-value entries from the list cache.
 *
 * @private
 * @name clear
 * @memberOf ListCache
 */
function listCacheClear() {
  this.__data__ = [];
  this.size = 0;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listCacheClear);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_assocIndexOf.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js");


/** Used for built-in method references. */
var arrayProto = Array.prototype;

/** Built-in value references. */
var splice = arrayProto.splice;

/**
 * Removes `key` and its value from the list cache.
 *
 * @private
 * @name delete
 * @memberOf ListCache
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */
function listCacheDelete(key) {
  var data = this.__data__,
      index = (0,_assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(data, key);

  if (index < 0) {
    return false;
  }
  var lastIndex = data.length - 1;
  if (index == lastIndex) {
    data.pop();
  } else {
    splice.call(data, index, 1);
  }
  --this.size;
  return true;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listCacheDelete);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_assocIndexOf.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js");


/**
 * Gets the list cache value for `key`.
 *
 * @private
 * @name get
 * @memberOf ListCache
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */
function listCacheGet(key) {
  var data = this.__data__,
      index = (0,_assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(data, key);

  return index < 0 ? undefined : data[index][1];
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listCacheGet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_assocIndexOf.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js");


/**
 * Checks if a list cache value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf ListCache
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */
function listCacheHas(key) {
  return (0,_assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this.__data__, key) > -1;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listCacheHas);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_assocIndexOf.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js");


/**
 * Sets the list cache `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf ListCache
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the list cache instance.
 */
function listCacheSet(key, value) {
  var data = this.__data__,
      index = (0,_assocIndexOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(data, key);

  if (index < 0) {
    ++this.size;
    data.push([key, value]);
  } else {
    data[index][1] = value;
  }
  return this;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (listCacheSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _Hash_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_Hash.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js");
/* harmony import */ var _ListCache_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_ListCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js");
/* harmony import */ var _Map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_Map.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js");




/**
 * Removes all key-value entries from the map.
 *
 * @private
 * @name clear
 * @memberOf MapCache
 */
function mapCacheClear() {
  this.size = 0;
  this.__data__ = {
    'hash': new _Hash_js__WEBPACK_IMPORTED_MODULE_0__["default"],
    'map': new (_Map_js__WEBPACK_IMPORTED_MODULE_2__["default"] || _ListCache_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
    'string': new _Hash_js__WEBPACK_IMPORTED_MODULE_0__["default"]
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mapCacheClear);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getMapData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getMapData.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js");


/**
 * Removes `key` and its value from the map.
 *
 * @private
 * @name delete
 * @memberOf MapCache
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */
function mapCacheDelete(key) {
  var result = (0,_getMapData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this, key)['delete'](key);
  this.size -= result ? 1 : 0;
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mapCacheDelete);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getMapData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getMapData.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js");


/**
 * Gets the map value for `key`.
 *
 * @private
 * @name get
 * @memberOf MapCache
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */
function mapCacheGet(key) {
  return (0,_getMapData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this, key).get(key);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mapCacheGet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getMapData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getMapData.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js");


/**
 * Checks if a map value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf MapCache
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */
function mapCacheHas(key) {
  return (0,_getMapData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this, key).has(key);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mapCacheHas);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getMapData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getMapData.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js");


/**
 * Sets the map `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf MapCache
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the map cache instance.
 */
function mapCacheSet(key, value) {
  var data = (0,_getMapData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this, key),
      size = data.size;

  data.set(key, value);
  this.size += data.size == size ? 0 : 1;
  return this;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mapCacheSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Converts `map` to its key-value pairs.
 *
 * @private
 * @param {Object} map The map to convert.
 * @returns {Array} Returns the key-value pairs.
 */
function mapToArray(map) {
  var index = -1,
      result = Array(map.size);

  map.forEach(function(value, key) {
    result[++index] = [key, value];
  });
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mapToArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js"
/*!************************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js ***!
  \************************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * A specialized version of `matchesProperty` for source values suitable
 * for strict equality comparisons, i.e. `===`.
 *
 * @private
 * @param {string} key The key of the property to get.
 * @param {*} srcValue The value to match.
 * @returns {Function} Returns the new spec function.
 */
function matchesStrictComparable(key, srcValue) {
  return function(object) {
    if (object == null) {
      return false;
    }
    return object[key] === srcValue &&
      (srcValue !== undefined || (key in Object(object)));
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (matchesStrictComparable);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _memoize_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./memoize.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js");


/** Used as the maximum memoize cache size. */
var MAX_MEMOIZE_SIZE = 500;

/**
 * A specialized version of `_.memoize` which clears the memoized function's
 * cache when it exceeds `MAX_MEMOIZE_SIZE`.
 *
 * @private
 * @param {Function} func The function to have its output memoized.
 * @returns {Function} Returns the new memoized function.
 */
function memoizeCapped(func) {
  var result = (0,_memoize_js__WEBPACK_IMPORTED_MODULE_0__["default"])(func, function(key) {
    if (cache.size === MAX_MEMOIZE_SIZE) {
      cache.clear();
    }
    return key;
  });

  var cache = result.cache;
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (memoizeCapped);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _getNative_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_getNative.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js");


/* Built-in method references that are verified to be native. */
var nativeCreate = (0,_getNative_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Object, 'create');

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (nativeCreate);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _overArg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_overArg.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js");


/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeKeys = (0,_overArg_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Object.keys, Object);

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (nativeKeys);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * This function is like
 * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
 * except that it includes inherited enumerable properties.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 */
function nativeKeysIn(object) {
  var result = [];
  if (object != null) {
    for (var key in Object(object)) {
      result.push(key);
    }
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (nativeKeysIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_freeGlobal.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js");


/** Detect free variable `exports`. */
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;

/** Detect free variable `module`. */
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;

/** Detect the popular CommonJS extension `module.exports`. */
var moduleExports = freeModule && freeModule.exports === freeExports;

/** Detect free variable `process` from Node.js. */
var freeProcess = moduleExports && _freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__["default"].process;

/** Used to access faster Node.js helpers. */
var nodeUtil = (function() {
  try {
    // Use `util.types` for Node.js 10+.
    var types = freeModule && freeModule.require && freeModule.require('util').types;

    if (types) {
      return types;
    }

    // Legacy `process.binding('util')` for Node.js < 10.
    return freeProcess && freeProcess.binding && freeProcess.binding('util');
  } catch (e) {}
}());

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (nodeUtil);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js"
/*!***************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js ***!
  \***************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used for built-in method references. */
var objectProto = Object.prototype;

/**
 * Used to resolve the
 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
 * of values.
 */
var nativeObjectToString = objectProto.toString;

/**
 * Converts `value` to a string using `Object.prototype.toString`.
 *
 * @private
 * @param {*} value The value to convert.
 * @returns {string} Returns the converted string.
 */
function objectToString(value) {
  return nativeObjectToString.call(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (objectToString);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Creates a unary function that invokes `func` with its argument transformed.
 *
 * @private
 * @param {Function} func The function to wrap.
 * @param {Function} transform The argument transform.
 * @returns {Function} Returns the new function.
 */
function overArg(func, transform) {
  return function(arg) {
    return func(transform(arg));
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (overArg);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _apply_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_apply.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js");


/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max;

/**
 * A specialized version of `baseRest` which transforms the rest array.
 *
 * @private
 * @param {Function} func The function to apply a rest parameter to.
 * @param {number} [start=func.length-1] The start position of the rest parameter.
 * @param {Function} transform The rest array transform.
 * @returns {Function} Returns the new function.
 */
function overRest(func, start, transform) {
  start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
  return function() {
    var args = arguments,
        index = -1,
        length = nativeMax(args.length - start, 0),
        array = Array(length);

    while (++index < length) {
      array[index] = args[start + index];
    }
    index = -1;
    var otherArgs = Array(start + 1);
    while (++index < start) {
      otherArgs[index] = args[index];
    }
    otherArgs[start] = transform(array);
    return (0,_apply_js__WEBPACK_IMPORTED_MODULE_0__["default"])(func, this, otherArgs);
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (overRest);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_freeGlobal.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js");


/** Detect free variable `self`. */
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;

/** Used as a reference to the global object. */
var root = _freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__["default"] || freeSelf || Function('return this')();

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (root);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
 *
 * @private
 * @param {Object} object The object to query.
 * @param {string} key The key of the property to get.
 * @returns {*} Returns the property value.
 */
function safeGet(object, key) {
  if (key === 'constructor' && typeof object[key] === 'function') {
    return;
  }

  if (key == '__proto__') {
    return;
  }

  return object[key];
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (safeGet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used to stand-in for `undefined` hash values. */
var HASH_UNDEFINED = '__lodash_hash_undefined__';

/**
 * Adds `value` to the array cache.
 *
 * @private
 * @name add
 * @memberOf SetCache
 * @alias push
 * @param {*} value The value to cache.
 * @returns {Object} Returns the cache instance.
 */
function setCacheAdd(value) {
  this.__data__.set(value, HASH_UNDEFINED);
  return this;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (setCacheAdd);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Checks if `value` is in the array cache.
 *
 * @private
 * @name has
 * @memberOf SetCache
 * @param {*} value The value to search for.
 * @returns {boolean} Returns `true` if `value` is found, else `false`.
 */
function setCacheHas(value) {
  return this.__data__.has(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (setCacheHas);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Converts `set` to an array of its values.
 *
 * @private
 * @param {Object} set The set to convert.
 * @returns {Array} Returns the values.
 */
function setToArray(set) {
  var index = -1,
      result = Array(set.size);

  set.forEach(function(value) {
    result[++index] = value;
  });
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (setToArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseSetToString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseSetToString.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js");
/* harmony import */ var _shortOut_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_shortOut.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js");



/**
 * Sets the `toString` method of `func` to return `string`.
 *
 * @private
 * @param {Function} func The function to modify.
 * @param {Function} string The `toString` result.
 * @returns {Function} Returns `func`.
 */
var setToString = (0,_shortOut_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_baseSetToString_js__WEBPACK_IMPORTED_MODULE_0__["default"]);

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (setToString);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used to detect hot functions by number of calls within a span of milliseconds. */
var HOT_COUNT = 800,
    HOT_SPAN = 16;

/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeNow = Date.now;

/**
 * Creates a function that'll short out and invoke `identity` instead
 * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
 * milliseconds.
 *
 * @private
 * @param {Function} func The function to restrict.
 * @returns {Function} Returns the new shortable function.
 */
function shortOut(func) {
  var count = 0,
      lastCalled = 0;

  return function() {
    var stamp = nativeNow(),
        remaining = HOT_SPAN - (stamp - lastCalled);

    lastCalled = stamp;
    if (remaining > 0) {
      if (++count >= HOT_COUNT) {
        return arguments[0];
      }
    } else {
      count = 0;
    }
    return func.apply(undefined, arguments);
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (shortOut);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _ListCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_ListCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js");


/**
 * Removes all key-value entries from the stack.
 *
 * @private
 * @name clear
 * @memberOf Stack
 */
function stackClear() {
  this.__data__ = new _ListCache_js__WEBPACK_IMPORTED_MODULE_0__["default"];
  this.size = 0;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stackClear);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Removes `key` and its value from the stack.
 *
 * @private
 * @name delete
 * @memberOf Stack
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */
function stackDelete(key) {
  var data = this.__data__,
      result = data['delete'](key);

  this.size = data.size;
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stackDelete);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Gets the stack value for `key`.
 *
 * @private
 * @name get
 * @memberOf Stack
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */
function stackGet(key) {
  return this.__data__.get(key);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stackGet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Checks if a stack value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf Stack
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */
function stackHas(key) {
  return this.__data__.has(key);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stackHas);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _ListCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_ListCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js");
/* harmony import */ var _Map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_Map.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js");
/* harmony import */ var _MapCache_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_MapCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js");




/** Used as the size to enable large array optimizations. */
var LARGE_ARRAY_SIZE = 200;

/**
 * Sets the stack `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf Stack
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the stack cache instance.
 */
function stackSet(key, value) {
  var data = this.__data__;
  if (data instanceof _ListCache_js__WEBPACK_IMPORTED_MODULE_0__["default"]) {
    var pairs = data.__data__;
    if (!_Map_js__WEBPACK_IMPORTED_MODULE_1__["default"] || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
      pairs.push([key, value]);
      this.size = ++data.size;
      return this;
    }
    data = this.__data__ = new _MapCache_js__WEBPACK_IMPORTED_MODULE_2__["default"](pairs);
  }
  data.set(key, value);
  this.size = data.size;
  return this;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stackSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js"
/*!**************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js ***!
  \**************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * A specialized version of `_.indexOf` which performs strict equality
 * comparisons of values, i.e. `===`.
 *
 * @private
 * @param {Array} array The array to inspect.
 * @param {*} value The value to search for.
 * @param {number} fromIndex The index to search from.
 * @returns {number} Returns the index of the matched value, else `-1`.
 */
function strictIndexOf(array, value, fromIndex) {
  var index = fromIndex - 1,
      length = array.length;

  while (++index < length) {
    if (array[index] === value) {
      return index;
    }
  }
  return -1;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strictIndexOf);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _memoizeCapped_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_memoizeCapped.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js");


/** Used to match property names within property paths. */
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;

/** Used to match backslashes in property paths. */
var reEscapeChar = /\\(\\)?/g;

/**
 * Converts `string` to a property path array.
 *
 * @private
 * @param {string} string The string to convert.
 * @returns {Array} Returns the property path array.
 */
var stringToPath = (0,_memoizeCapped_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function(string) {
  var result = [];
  if (string.charCodeAt(0) === 46 /* . */) {
    result.push('');
  }
  string.replace(rePropName, function(match, number, quote, subString) {
    result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
  });
  return result;
});

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stringToPath);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isSymbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isSymbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js");


/** Used as references for various `Number` constants. */
var INFINITY = 1 / 0;

/**
 * Converts `value` to a string key if it's not a string or symbol.
 *
 * @private
 * @param {*} value The value to inspect.
 * @returns {string|symbol} Returns the key.
 */
function toKey(value) {
  if (typeof value == 'string' || (0,_isSymbol_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value)) {
    return value;
  }
  var result = (value + '');
  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toKey);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used for built-in method references. */
var funcProto = Function.prototype;

/** Used to resolve the decompiled source of functions. */
var funcToString = funcProto.toString;

/**
 * Converts `func` to its source code.
 *
 * @private
 * @param {Function} func The function to convert.
 * @returns {string} Returns the source code.
 */
function toSource(func) {
  if (func != null) {
    try {
      return funcToString.call(func);
    } catch (e) {}
    try {
      return (func + '');
    } catch (e) {}
  }
  return '';
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toSource);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js"
/*!****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js ***!
  \****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used to match a single whitespace character. */
var reWhitespace = /\s/;

/**
 * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
 * character of `string`.
 *
 * @private
 * @param {string} string The string to inspect.
 * @returns {number} Returns the index of the last non-whitespace character.
 */
function trimmedEndIndex(string) {
  var index = string.length;

  while (index-- && reWhitespace.test(string.charAt(index))) {}
  return index;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (trimmedEndIndex);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/chunk.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/chunk.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseSlice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseSlice.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js");
/* harmony import */ var _isIterateeCall_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_isIterateeCall.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js");
/* harmony import */ var _toInteger_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toInteger.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js");




/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeCeil = Math.ceil,
    nativeMax = Math.max;

/**
 * Creates an array of elements split into groups the length of `size`.
 * If `array` can't be split evenly, the final chunk will be the remaining
 * elements.
 *
 * @static
 * @memberOf _
 * @since 3.0.0
 * @category Array
 * @param {Array} array The array to process.
 * @param {number} [size=1] The length of each chunk
 * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
 * @returns {Array} Returns the new array of chunks.
 * @example
 *
 * _.chunk(['a', 'b', 'c', 'd'], 2);
 * // => [['a', 'b'], ['c', 'd']]
 *
 * _.chunk(['a', 'b', 'c', 'd'], 3);
 * // => [['a', 'b', 'c'], ['d']]
 */
function chunk(array, size, guard) {
  if ((guard ? (0,_isIterateeCall_js__WEBPACK_IMPORTED_MODULE_1__["default"])(array, size, guard) : size === undefined)) {
    size = 1;
  } else {
    size = nativeMax((0,_toInteger_js__WEBPACK_IMPORTED_MODULE_2__["default"])(size), 0);
  }
  var length = array == null ? 0 : array.length;
  if (!length || size < 1) {
    return [];
  }
  var index = 0,
      resIndex = 0,
      result = Array(nativeCeil(length / size));

  while (index < length) {
    result[resIndex++] = (0,_baseSlice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(array, index, (index += size));
  }
  return result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (chunk);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/clone.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/clone.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseClone_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseClone.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js");


/** Used to compose bitmasks for cloning. */
var CLONE_SYMBOLS_FLAG = 4;

/**
 * Creates a shallow clone of `value`.
 *
 * **Note:** This method is loosely based on the
 * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
 * and supports cloning arrays, array buffers, booleans, date objects, maps,
 * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
 * arrays. The own enumerable properties of `arguments` objects are cloned
 * as plain objects. An empty object is returned for uncloneable values such
 * as error objects, functions, DOM nodes, and WeakMaps.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to clone.
 * @returns {*} Returns the cloned value.
 * @see _.cloneDeep
 * @example
 *
 * var objects = [{ 'a': 1 }, { 'b': 2 }];
 *
 * var shallow = _.clone(objects);
 * console.log(shallow[0] === objects[0]);
 * // => true
 */
function clone(value) {
  return (0,_baseClone_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, CLONE_SYMBOLS_FLAG);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clone);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseClone_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseClone.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js");


/** Used to compose bitmasks for cloning. */
var CLONE_DEEP_FLAG = 1,
    CLONE_SYMBOLS_FLAG = 4;

/**
 * This method is like `_.clone` except that it recursively clones `value`.
 *
 * @static
 * @memberOf _
 * @since 1.0.0
 * @category Lang
 * @param {*} value The value to recursively clone.
 * @returns {*} Returns the deep cloned value.
 * @see _.clone
 * @example
 *
 * var objects = [{ 'a': 1 }, { 'b': 2 }];
 *
 * var deep = _.cloneDeep(objects);
 * console.log(deep[0] === objects[0]);
 * // => false
 */
function cloneDeep(value) {
  return (0,_baseClone_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cloneDeep);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Creates a function that returns `value`.
 *
 * @static
 * @memberOf _
 * @since 2.4.0
 * @category Util
 * @param {*} value The value to return from the new function.
 * @returns {Function} Returns the new constant function.
 * @example
 *
 * var objects = _.times(2, _.constant({ 'a': 1 }));
 *
 * console.log(objects);
 * // => [{ 'a': 1 }, { 'a': 1 }]
 *
 * console.log(objects[0] === objects[1]);
 * // => true
 */
function constant(value) {
  return function() {
    return value;
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (constant);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _now_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./now.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/now.js");
/* harmony import */ var _toNumber_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toNumber.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js");




/** Error message constants. */
var FUNC_ERROR_TEXT = 'Expected a function';

/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max,
    nativeMin = Math.min;

/**
 * Creates a debounced function that delays invoking `func` until after `wait`
 * milliseconds have elapsed since the last time the debounced function was
 * invoked. The debounced function comes with a `cancel` method to cancel
 * delayed `func` invocations and a `flush` method to immediately invoke them.
 * Provide `options` to indicate whether `func` should be invoked on the
 * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
 * with the last arguments provided to the debounced function. Subsequent
 * calls to the debounced function return the result of the last `func`
 * invocation.
 *
 * **Note:** If `leading` and `trailing` options are `true`, `func` is
 * invoked on the trailing edge of the timeout only if the debounced function
 * is invoked more than once during the `wait` timeout.
 *
 * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
 * until to the next tick, similar to `setTimeout` with a timeout of `0`.
 *
 * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
 * for details over the differences between `_.debounce` and `_.throttle`.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Function
 * @param {Function} func The function to debounce.
 * @param {number} [wait=0] The number of milliseconds to delay.
 * @param {Object} [options={}] The options object.
 * @param {boolean} [options.leading=false]
 *  Specify invoking on the leading edge of the timeout.
 * @param {number} [options.maxWait]
 *  The maximum time `func` is allowed to be delayed before it's invoked.
 * @param {boolean} [options.trailing=true]
 *  Specify invoking on the trailing edge of the timeout.
 * @returns {Function} Returns the new debounced function.
 * @example
 *
 * // Avoid costly calculations while the window size is in flux.
 * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
 *
 * // Invoke `sendMail` when clicked, debouncing subsequent calls.
 * jQuery(element).on('click', _.debounce(sendMail, 300, {
 *   'leading': true,
 *   'trailing': false
 * }));
 *
 * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
 * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
 * var source = new EventSource('/stream');
 * jQuery(source).on('message', debounced);
 *
 * // Cancel the trailing debounced invocation.
 * jQuery(window).on('popstate', debounced.cancel);
 */
function debounce(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 = (0,_toNumber_js__WEBPACK_IMPORTED_MODULE_2__["default"])(wait) || 0;
  if ((0,_isObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(options)) {
    leading = !!options.leading;
    maxing = 'maxWait' in options;
    maxWait = maxing ? nativeMax((0,_toNumber_js__WEBPACK_IMPORTED_MODULE_2__["default"])(options.maxWait) || 0, wait) : maxWait;
    trailing = 'trailing' in options ? !!options.trailing : trailing;
  }

  function invokeFunc(time) {
    var args = lastArgs,
        thisArg = lastThis;

    lastArgs = lastThis = undefined;
    lastInvokeTime = time;
    result = func.apply(thisArg, args);
    return result;
  }

  function leadingEdge(time) {
    // Reset any `maxWait` timer.
    lastInvokeTime = time;
    // Start the timer for the trailing edge.
    timerId = setTimeout(timerExpired, wait);
    // Invoke the leading edge.
    return leading ? invokeFunc(time) : result;
  }

  function remainingWait(time) {
    var timeSinceLastCall = time - lastCallTime,
        timeSinceLastInvoke = time - lastInvokeTime,
        timeWaiting = wait - timeSinceLastCall;

    return maxing
      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
      : timeWaiting;
  }

  function shouldInvoke(time) {
    var timeSinceLastCall = time - lastCallTime,
        timeSinceLastInvoke = time - lastInvokeTime;

    // Either this is the first call, activity has stopped and we're at the
    // trailing edge, the system time has gone backwards and we're treating
    // it as the trailing edge, or we've hit the `maxWait` limit.
    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
  }

  function timerExpired() {
    var time = (0,_now_js__WEBPACK_IMPORTED_MODULE_1__["default"])();
    if (shouldInvoke(time)) {
      return trailingEdge(time);
    }
    // Restart the timer.
    timerId = setTimeout(timerExpired, remainingWait(time));
  }

  function trailingEdge(time) {
    timerId = undefined;

    // Only invoke if we have `lastArgs` which means `func` has been
    // debounced at least once.
    if (trailing && lastArgs) {
      return invokeFunc(time);
    }
    lastArgs = lastThis = undefined;
    return result;
  }

  function cancel() {
    if (timerId !== undefined) {
      clearTimeout(timerId);
    }
    lastInvokeTime = 0;
    lastArgs = lastCallTime = lastThis = timerId = undefined;
  }

  function flush() {
    return timerId === undefined ? result : trailingEdge((0,_now_js__WEBPACK_IMPORTED_MODULE_1__["default"])());
  }

  function debounced() {
    var time = (0,_now_js__WEBPACK_IMPORTED_MODULE_1__["default"])(),
        isInvoking = shouldInvoke(time);

    lastArgs = arguments;
    lastThis = this;
    lastCallTime = time;

    if (isInvoking) {
      if (timerId === undefined) {
        return leadingEdge(lastCallTime);
      }
      if (maxing) {
        // Handle invocations in a tight loop.
        clearTimeout(timerId);
        timerId = setTimeout(timerExpired, wait);
        return invokeFunc(lastCallTime);
      }
    }
    if (timerId === undefined) {
      timerId = setTimeout(timerExpired, wait);
    }
    return result;
  }
  debounced.cancel = cancel;
  debounced.flush = flush;
  return debounced;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (debounce);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js"
/*!**************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js ***!
  \**************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Performs a
 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
 * comparison between two values to determine if they are equivalent.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to compare.
 * @param {*} other The other value to compare.
 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
 * @example
 *
 * var object = { 'a': 1 };
 * var other = { 'a': 1 };
 *
 * _.eq(object, object);
 * // => true
 *
 * _.eq(object, other);
 * // => false
 *
 * _.eq('a', 'a');
 * // => true
 *
 * _.eq('a', Object('a'));
 * // => false
 *
 * _.eq(NaN, NaN);
 * // => true
 */
function eq(value, other) {
  return value === other || (value !== value && other !== other);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (eq);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/escape.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/escape.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _escapeHtmlChar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_escapeHtmlChar.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js");
/* harmony import */ var _toString_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toString.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js");



/** Used to match HTML entities and HTML characters. */
var reUnescapedHtml = /[&<>"']/g,
    reHasUnescapedHtml = RegExp(reUnescapedHtml.source);

/**
 * Converts the characters "&", "<", ">", '"', and "'" in `string` to their
 * corresponding HTML entities.
 *
 * **Note:** No other characters are escaped. To escape additional
 * characters use a third-party library like [_he_](https://mths.be/he).
 *
 * Though the ">" character is escaped for symmetry, characters like
 * ">" and "/" don't need escaping in HTML and have no special meaning
 * unless they're part of a tag or unquoted attribute value. See
 * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
 * (under "semi-related fun fact") for more details.
 *
 * When working with HTML you should always
 * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
 * XSS vectors.
 *
 * @static
 * @since 0.1.0
 * @memberOf _
 * @category String
 * @param {string} [string=''] The string to escape.
 * @returns {string} Returns the escaped string.
 * @example
 *
 * _.escape('fred, barney, & pebbles');
 * // => 'fred, barney, &amp; pebbles'
 */
function escape(string) {
  string = (0,_toString_js__WEBPACK_IMPORTED_MODULE_1__["default"])(string);
  return (string && reHasUnescapedHtml.test(string))
    ? string.replace(reUnescapedHtml, _escapeHtmlChar_js__WEBPACK_IMPORTED_MODULE_0__["default"])
    : string;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (escape);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js ***!
  \***************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGet_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js");


/**
 * Gets the value at `path` of `object`. If the resolved value is
 * `undefined`, the `defaultValue` is returned in its place.
 *
 * @static
 * @memberOf _
 * @since 3.7.0
 * @category Object
 * @param {Object} object The object to query.
 * @param {Array|string} path The path of the property to get.
 * @param {*} [defaultValue] The value returned for `undefined` resolved values.
 * @returns {*} Returns the resolved value.
 * @example
 *
 * var object = { 'a': [{ 'b': { 'c': 3 } }] };
 *
 * _.get(object, 'a[0].b.c');
 * // => 3
 *
 * _.get(object, ['a', '0', 'b', 'c']);
 * // => 3
 *
 * _.get(object, 'a.b.c', 'default');
 * // => 'default'
 */
function get(object, path, defaultValue) {
  var result = object == null ? undefined : (0,_baseGet_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, path);
  return result === undefined ? defaultValue : result;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (get);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseHasIn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseHasIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js");
/* harmony import */ var _hasPath_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_hasPath.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js");



/**
 * Checks if `path` is a direct or inherited property of `object`.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Object
 * @param {Object} object The object to query.
 * @param {Array|string} path The path to check.
 * @returns {boolean} Returns `true` if `path` exists, else `false`.
 * @example
 *
 * var object = _.create({ 'a': _.create({ 'b': 2 }) });
 *
 * _.hasIn(object, 'a');
 * // => true
 *
 * _.hasIn(object, 'a.b');
 * // => true
 *
 * _.hasIn(object, ['a', 'b']);
 * // => true
 *
 * _.hasIn(object, 'b');
 * // => false
 */
function hasIn(object, path) {
  return object != null && (0,_hasPath_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object, path, _baseHasIn_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * This method returns the first argument it receives.
 *
 * @static
 * @since 0.1.0
 * @memberOf _
 * @category Util
 * @param {*} value Any value.
 * @returns {*} Returns `value`.
 * @example
 *
 * var object = { 'a': 1 };
 *
 * console.log(_.identity(object) === object);
 * // => true
 */
function identity(value) {
  return value;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (identity);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsArguments_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsArguments.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");



/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/** Built-in value references. */
var propertyIsEnumerable = objectProto.propertyIsEnumerable;

/**
 * Checks if `value` is likely an `arguments` object.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an `arguments` object,
 *  else `false`.
 * @example
 *
 * _.isArguments(function() { return arguments; }());
 * // => true
 *
 * _.isArguments([1, 2, 3]);
 * // => false
 */
var isArguments = (0,_baseIsArguments_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function() { return arguments; }()) ? _baseIsArguments_js__WEBPACK_IMPORTED_MODULE_0__["default"] : function(value) {
  return (0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value) && hasOwnProperty.call(value, 'callee') &&
    !propertyIsEnumerable.call(value, 'callee');
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isArguments);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Checks if `value` is classified as an `Array` object.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an array, else `false`.
 * @example
 *
 * _.isArray([1, 2, 3]);
 * // => true
 *
 * _.isArray(document.body.children);
 * // => false
 *
 * _.isArray('abc');
 * // => false
 *
 * _.isArray(_.noop);
 * // => false
 */
var isArray = Array.isArray;

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js"
/*!***********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js ***!
  \***********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isFunction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js");
/* harmony import */ var _isLength_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isLength.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js");



/**
 * Checks if `value` is array-like. A value is considered array-like if it's
 * not a function and has a `value.length` that's an integer greater than or
 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
 * @example
 *
 * _.isArrayLike([1, 2, 3]);
 * // => true
 *
 * _.isArrayLike(document.body.children);
 * // => true
 *
 * _.isArrayLike('abc');
 * // => true
 *
 * _.isArrayLike(_.noop);
 * // => false
 */
function isArrayLike(value) {
  return value != null && (0,_isLength_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value.length) && !(0,_isFunction_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isArrayLike);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js"
/*!*****************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js ***!
  \*****************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isArrayLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");



/**
 * This method is like `_.isArrayLike` except that it also checks if `value`
 * is an object.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an array-like object,
 *  else `false`.
 * @example
 *
 * _.isArrayLikeObject([1, 2, 3]);
 * // => true
 *
 * _.isArrayLikeObject(document.body.children);
 * // => true
 *
 * _.isArrayLikeObject('abc');
 * // => false
 *
 * _.isArrayLikeObject(_.noop);
 * // => false
 */
function isArrayLikeObject(value) {
  return (0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value) && (0,_isArrayLike_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isArrayLikeObject);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");
/* harmony import */ var _stubFalse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stubFalse.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js");



/** Detect free variable `exports`. */
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;

/** Detect free variable `module`. */
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;

/** Detect the popular CommonJS extension `module.exports`. */
var moduleExports = freeModule && freeModule.exports === freeExports;

/** Built-in value references. */
var Buffer = moduleExports ? _root_js__WEBPACK_IMPORTED_MODULE_0__["default"].Buffer : undefined;

/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;

/**
 * Checks if `value` is a buffer.
 *
 * @static
 * @memberOf _
 * @since 4.3.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
 * @example
 *
 * _.isBuffer(new Buffer(2));
 * // => true
 *
 * _.isBuffer(new Uint8Array(2));
 * // => false
 */
var isBuffer = nativeIsBuffer || _stubFalse_js__WEBPACK_IMPORTED_MODULE_1__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isBuffer);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseKeys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js");
/* harmony import */ var _getTag_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js");
/* harmony import */ var _isArguments_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArguments.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js");
/* harmony import */ var _isArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js");
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isArrayLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js");
/* harmony import */ var _isBuffer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isBuffer.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js");
/* harmony import */ var _isPrototype_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./_isPrototype.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js");
/* harmony import */ var _isTypedArray_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./isTypedArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js");









/** `Object#toString` result references. */
var mapTag = '[object Map]',
    setTag = '[object Set]';

/** Used for built-in method references. */
var objectProto = Object.prototype;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/**
 * Checks if `value` is an empty object, collection, map, or set.
 *
 * Objects are considered empty if they have no own enumerable string keyed
 * properties.
 *
 * Array-like values such as `arguments` objects, arrays, buffers, strings, or
 * jQuery-like collections are considered empty if they have a `length` of `0`.
 * Similarly, maps and sets are considered empty if they have a `size` of `0`.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is empty, else `false`.
 * @example
 *
 * _.isEmpty(null);
 * // => true
 *
 * _.isEmpty(true);
 * // => true
 *
 * _.isEmpty(1);
 * // => true
 *
 * _.isEmpty([1, 2, 3]);
 * // => false
 *
 * _.isEmpty({ 'a': 1 });
 * // => false
 */
function isEmpty(value) {
  if (value == null) {
    return true;
  }
  if ((0,_isArrayLike_js__WEBPACK_IMPORTED_MODULE_4__["default"])(value) &&
      ((0,_isArray_js__WEBPACK_IMPORTED_MODULE_3__["default"])(value) || typeof value == 'string' || typeof value.splice == 'function' ||
        (0,_isBuffer_js__WEBPACK_IMPORTED_MODULE_5__["default"])(value) || (0,_isTypedArray_js__WEBPACK_IMPORTED_MODULE_7__["default"])(value) || (0,_isArguments_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value))) {
    return !value.length;
  }
  var tag = (0,_getTag_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value);
  if (tag == mapTag || tag == setTag) {
    return !value.size;
  }
  if ((0,_isPrototype_js__WEBPACK_IMPORTED_MODULE_6__["default"])(value)) {
    return !(0,_baseKeys_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value).length;
  }
  for (var key in value) {
    if (hasOwnProperty.call(value, key)) {
      return false;
    }
  }
  return true;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isEmpty);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsEqual_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsEqual.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js");


/**
 * Performs a deep comparison between two values to determine if they are
 * equivalent.
 *
 * **Note:** This method supports comparing arrays, array buffers, booleans,
 * date objects, error objects, maps, numbers, `Object` objects, regexes,
 * sets, strings, symbols, and typed arrays. `Object` objects are compared
 * by their own, not inherited, enumerable properties. Functions and DOM
 * nodes are compared by strict equality, i.e. `===`.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to compare.
 * @param {*} other The other value to compare.
 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
 * @example
 *
 * var object = { 'a': 1 };
 * var other = { 'a': 1 };
 *
 * _.isEqual(object, other);
 * // => true
 *
 * object === other;
 * // => false
 */
function isEqual(value, other) {
  return (0,_baseIsEqual_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, other);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isEqual);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js"
/*!**********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js ***!
  \**********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGetTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");



/** `Object#toString` result references. */
var asyncTag = '[object AsyncFunction]',
    funcTag = '[object Function]',
    genTag = '[object GeneratorFunction]',
    proxyTag = '[object Proxy]';

/**
 * Checks if `value` is classified as a `Function` object.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a function, else `false`.
 * @example
 *
 * _.isFunction(_);
 * // => true
 *
 * _.isFunction(/abc/);
 * // => false
 */
function isFunction(value) {
  if (!(0,_isObject_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value)) {
    return false;
  }
  // The use of `Object#toString` avoids issues with the `typeof` operator
  // in Safari 9 which returns 'object' for typed arrays and other constructors.
  var tag = (0,_baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isFunction);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Used as references for various `Number` constants. */
var MAX_SAFE_INTEGER = 9007199254740991;

/**
 * Checks if `value` is a valid array-like length.
 *
 * **Note:** This method is loosely based on
 * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
 * @example
 *
 * _.isLength(3);
 * // => true
 *
 * _.isLength(Number.MIN_VALUE);
 * // => false
 *
 * _.isLength(Infinity);
 * // => false
 *
 * _.isLength('3');
 * // => false
 */
function isLength(value) {
  return typeof value == 'number' &&
    value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isLength);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsMap_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsMap.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js");
/* harmony import */ var _baseUnary_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseUnary.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js");
/* harmony import */ var _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_nodeUtil.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js");




/* Node.js helper references. */
var nodeIsMap = _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__["default"] && _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__["default"].isMap;

/**
 * Checks if `value` is classified as a `Map` object.
 *
 * @static
 * @memberOf _
 * @since 4.3.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a map, else `false`.
 * @example
 *
 * _.isMap(new Map);
 * // => true
 *
 * _.isMap(new WeakMap);
 * // => false
 */
var isMap = nodeIsMap ? (0,_baseUnary_js__WEBPACK_IMPORTED_MODULE_1__["default"])(nodeIsMap) : _baseIsMap_js__WEBPACK_IMPORTED_MODULE_0__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isMap);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Checks if `value` is the
 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
 * @example
 *
 * _.isObject({});
 * // => true
 *
 * _.isObject([1, 2, 3]);
 * // => true
 *
 * _.isObject(_.noop);
 * // => true
 *
 * _.isObject(null);
 * // => false
 */
function isObject(value) {
  var type = typeof value;
  return value != null && (type == 'object' || type == 'function');
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isObject);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * Checks if `value` is object-like. A value is object-like if it's not `null`
 * and has a `typeof` result of "object".
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
 * @example
 *
 * _.isObjectLike({});
 * // => true
 *
 * _.isObjectLike([1, 2, 3]);
 * // => true
 *
 * _.isObjectLike(_.noop);
 * // => false
 *
 * _.isObjectLike(null);
 * // => false
 */
function isObjectLike(value) {
  return value != null && typeof value == 'object';
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isObjectLike);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGetTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js");
/* harmony import */ var _getPrototype_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_getPrototype.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");




/** `Object#toString` result references. */
var objectTag = '[object Object]';

/** Used for built-in method references. */
var funcProto = Function.prototype,
    objectProto = Object.prototype;

/** Used to resolve the decompiled source of functions. */
var funcToString = funcProto.toString;

/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;

/** Used to infer the `Object` constructor. */
var objectCtorString = funcToString.call(Object);

/**
 * Checks if `value` is a plain object, that is, an object created by the
 * `Object` constructor or one with a `[[Prototype]]` of `null`.
 *
 * @static
 * @memberOf _
 * @since 0.8.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
 * @example
 *
 * function Foo() {
 *   this.a = 1;
 * }
 *
 * _.isPlainObject(new Foo);
 * // => false
 *
 * _.isPlainObject([1, 2, 3]);
 * // => false
 *
 * _.isPlainObject({ 'x': 0, 'y': 0 });
 * // => true
 *
 * _.isPlainObject(Object.create(null));
 * // => true
 */
function isPlainObject(value) {
  if (!(0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value) || (0,_baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) != objectTag) {
    return false;
  }
  var proto = (0,_getPrototype_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value);
  if (proto === null) {
    return true;
  }
  var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
  return typeof Ctor == 'function' && Ctor instanceof Ctor &&
    funcToString.call(Ctor) == objectCtorString;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isPlainObject);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsSet_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js");
/* harmony import */ var _baseUnary_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseUnary.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js");
/* harmony import */ var _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_nodeUtil.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js");




/* Node.js helper references. */
var nodeIsSet = _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__["default"] && _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__["default"].isSet;

/**
 * Checks if `value` is classified as a `Set` object.
 *
 * @static
 * @memberOf _
 * @since 4.3.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a set, else `false`.
 * @example
 *
 * _.isSet(new Set);
 * // => true
 *
 * _.isSet(new WeakSet);
 * // => false
 */
var isSet = nodeIsSet ? (0,_baseUnary_js__WEBPACK_IMPORTED_MODULE_1__["default"])(nodeIsSet) : _baseIsSet_js__WEBPACK_IMPORTED_MODULE_0__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isSet);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseGetTag.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js");
/* harmony import */ var _isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObjectLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js");



/** `Object#toString` result references. */
var symbolTag = '[object Symbol]';

/**
 * Checks if `value` is classified as a `Symbol` primitive or object.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
 * @example
 *
 * _.isSymbol(Symbol.iterator);
 * // => true
 *
 * _.isSymbol('abc');
 * // => false
 */
function isSymbol(value) {
  return typeof value == 'symbol' ||
    ((0,_isObjectLike_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value) && (0,_baseGetTag_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) == symbolTag);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isSymbol);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js"
/*!************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js ***!
  \************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIsTypedArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIsTypedArray.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js");
/* harmony import */ var _baseUnary_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseUnary.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js");
/* harmony import */ var _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_nodeUtil.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js");




/* Node.js helper references. */
var nodeIsTypedArray = _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__["default"] && _nodeUtil_js__WEBPACK_IMPORTED_MODULE_2__["default"].isTypedArray;

/**
 * Checks if `value` is classified as a typed array.
 *
 * @static
 * @memberOf _
 * @since 3.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
 * @example
 *
 * _.isTypedArray(new Uint8Array);
 * // => true
 *
 * _.isTypedArray([]);
 * // => false
 */
var isTypedArray = nodeIsTypedArray ? (0,_baseUnary_js__WEBPACK_IMPORTED_MODULE_1__["default"])(nodeIsTypedArray) : _baseIsTypedArray_js__WEBPACK_IMPORTED_MODULE_0__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isTypedArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js ***!
  \****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _arrayLikeKeys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_arrayLikeKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js");
/* harmony import */ var _baseKeys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js");
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArrayLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js");




/**
 * Creates an array of the own enumerable property names of `object`.
 *
 * **Note:** Non-object values are coerced to objects. See the
 * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
 * for more details.
 *
 * @static
 * @since 0.1.0
 * @memberOf _
 * @category Object
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 * @example
 *
 * function Foo() {
 *   this.a = 1;
 *   this.b = 2;
 * }
 *
 * Foo.prototype.c = 3;
 *
 * _.keys(new Foo);
 * // => ['a', 'b'] (iteration order is not guaranteed)
 *
 * _.keys('hi');
 * // => ['0', '1']
 */
function keys(object) {
  return (0,_isArrayLike_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object) ? (0,_arrayLikeKeys_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object) : (0,_baseKeys_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keys);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _arrayLikeKeys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_arrayLikeKeys.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js");
/* harmony import */ var _baseKeysIn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseKeysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js");
/* harmony import */ var _isArrayLike_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArrayLike.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js");




/**
 * Creates an array of the own and inherited enumerable property names of `object`.
 *
 * **Note:** Non-object values are coerced to objects.
 *
 * @static
 * @memberOf _
 * @since 3.0.0
 * @category Object
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 * @example
 *
 * function Foo() {
 *   this.a = 1;
 *   this.b = 2;
 * }
 *
 * Foo.prototype.c = 3;
 *
 * _.keysIn(new Foo);
 * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
 */
function keysIn(object) {
  return (0,_isArrayLike_js__WEBPACK_IMPORTED_MODULE_2__["default"])(object) ? (0,_arrayLikeKeys_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, true) : (0,_baseKeysIn_js__WEBPACK_IMPORTED_MODULE_1__["default"])(object);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (keysIn);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _MapCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_MapCache.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js");


/** Error message constants. */
var FUNC_ERROR_TEXT = 'Expected a function';

/**
 * Creates a function that memoizes the result of `func`. If `resolver` is
 * provided, it determines the cache key for storing the result based on the
 * arguments provided to the memoized function. By default, the first argument
 * provided to the memoized function is used as the map cache key. The `func`
 * is invoked with the `this` binding of the memoized function.
 *
 * **Note:** The cache is exposed as the `cache` property on the memoized
 * function. Its creation may be customized by replacing the `_.memoize.Cache`
 * constructor with one whose instances implement the
 * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
 * method interface of `clear`, `delete`, `get`, `has`, and `set`.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Function
 * @param {Function} func The function to have its output memoized.
 * @param {Function} [resolver] The function to resolve the cache key.
 * @returns {Function} Returns the new memoized function.
 * @example
 *
 * var object = { 'a': 1, 'b': 2 };
 * var other = { 'c': 3, 'd': 4 };
 *
 * var values = _.memoize(_.values);
 * values(object);
 * // => [1, 2]
 *
 * values(other);
 * // => [3, 4]
 *
 * object.a = 2;
 * values(object);
 * // => [1, 2]
 *
 * // Modify the result cache.
 * values.cache.set(object, ['a', 'b']);
 * values(object);
 * // => ['a', 'b']
 *
 * // Replace `_.memoize.Cache`.
 * _.memoize.Cache = WeakMap;
 */
function memoize(func, resolver) {
  if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
    throw new TypeError(FUNC_ERROR_TEXT);
  }
  var memoized = function() {
    var args = arguments,
        key = resolver ? resolver.apply(this, args) : args[0],
        cache = memoized.cache;

    if (cache.has(key)) {
      return cache.get(key);
    }
    var result = func.apply(this, args);
    memoized.cache = cache.set(key, result) || cache;
    return result;
  };
  memoized.cache = new (memoize.Cache || _MapCache_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
  return memoized;
}

// Expose `MapCache`.
memoize.Cache = _MapCache_js__WEBPACK_IMPORTED_MODULE_0__["default"];

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (memoize);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/merge.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/merge.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseMerge_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseMerge.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js");
/* harmony import */ var _createAssigner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_createAssigner.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js");



/**
 * This method is like `_.assign` except that it recursively merges own and
 * inherited enumerable string keyed properties of source objects into the
 * destination object. Source properties that resolve to `undefined` are
 * skipped if a destination value exists. Array and plain object properties
 * are merged recursively. Other objects and value types are overridden by
 * assignment. Source objects are applied from left to right. Subsequent
 * sources overwrite property assignments of previous sources.
 *
 * **Note:** This method mutates `object`.
 *
 * @static
 * @memberOf _
 * @since 0.5.0
 * @category Object
 * @param {Object} object The destination object.
 * @param {...Object} [sources] The source objects.
 * @returns {Object} Returns `object`.
 * @example
 *
 * var object = {
 *   'a': [{ 'b': 2 }, { 'd': 4 }]
 * };
 *
 * var other = {
 *   'a': [{ 'c': 3 }, { 'e': 5 }]
 * };
 *
 * _.merge(object, other);
 * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
 */
var merge = (0,_createAssigner_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function(object, source, srcIndex) {
  (0,_baseMerge_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, source, srcIndex);
});

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (merge);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseMerge_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseMerge.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js");
/* harmony import */ var _createAssigner_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_createAssigner.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js");



/**
 * This method is like `_.merge` except that it accepts `customizer` which
 * is invoked to produce the merged values of the destination and source
 * properties. If `customizer` returns `undefined`, merging is handled by the
 * method instead. The `customizer` is invoked with six arguments:
 * (objValue, srcValue, key, object, source, stack).
 *
 * **Note:** This method mutates `object`.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Object
 * @param {Object} object The destination object.
 * @param {...Object} sources The source objects.
 * @param {Function} customizer The function to customize assigned values.
 * @returns {Object} Returns `object`.
 * @example
 *
 * function customizer(objValue, srcValue) {
 *   if (_.isArray(objValue)) {
 *     return objValue.concat(srcValue);
 *   }
 * }
 *
 * var object = { 'a': [1], 'b': [2] };
 * var other = { 'a': [3], 'b': [4] };
 *
 * _.mergeWith(object, other, customizer);
 * // => { 'a': [1, 3], 'b': [2, 4] }
 */
var mergeWith = (0,_createAssigner_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function(object, source, srcIndex, customizer) {
  (0,_baseMerge_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, source, srcIndex, customizer);
});

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeWith);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/negate.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/negate.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** Error message constants. */
var FUNC_ERROR_TEXT = 'Expected a function';

/**
 * Creates a function that negates the result of the predicate `func`. The
 * `func` predicate is invoked with the `this` binding and arguments of the
 * created function.
 *
 * @static
 * @memberOf _
 * @since 3.0.0
 * @category Function
 * @param {Function} predicate The predicate to negate.
 * @returns {Function} Returns the new negated function.
 * @example
 *
 * function isEven(n) {
 *   return n % 2 == 0;
 * }
 *
 * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
 * // => [1, 3, 5]
 */
function negate(predicate) {
  if (typeof predicate != 'function') {
    throw new TypeError(FUNC_ERROR_TEXT);
  }
  return function() {
    var args = arguments;
    switch (args.length) {
      case 0: return !predicate.call(this);
      case 1: return !predicate.call(this, args[0]);
      case 2: return !predicate.call(this, args[0], args[1]);
      case 3: return !predicate.call(this, args[0], args[1], args[2]);
    }
    return !predicate.apply(this, args);
  };
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (negate);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/noop.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/noop.js ***!
  \****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * This method returns `undefined`.
 *
 * @static
 * @memberOf _
 * @since 2.3.0
 * @category Util
 * @example
 *
 * _.times(2, _.noop);
 * // => [undefined, undefined]
 */
function noop() {
  // No operation performed.
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (noop);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/now.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/now.js ***!
  \***************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_root.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js");


/**
 * Gets the timestamp of the number of milliseconds that have elapsed since
 * the Unix epoch (1 January 1970 00:00:00 UTC).
 *
 * @static
 * @memberOf _
 * @since 2.4.0
 * @category Date
 * @returns {number} Returns the timestamp.
 * @example
 *
 * _.defer(function(stamp) {
 *   console.log(_.now() - stamp);
 * }, _.now());
 * // => Logs the number of milliseconds it took for the deferred invocation.
 */
var now = function() {
  return _root_js__WEBPACK_IMPORTED_MODULE_0__["default"].Date.now();
};

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (now);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseProperty.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js");
/* harmony import */ var _basePropertyDeep_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_basePropertyDeep.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js");
/* harmony import */ var _isKey_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_isKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js");
/* harmony import */ var _toKey_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./_toKey.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js");





/**
 * Creates a function that returns the value at `path` of a given object.
 *
 * @static
 * @memberOf _
 * @since 2.4.0
 * @category Util
 * @param {Array|string} path The path of the property to get.
 * @returns {Function} Returns the new accessor function.
 * @example
 *
 * var objects = [
 *   { 'a': { 'b': 2 } },
 *   { 'a': { 'b': 1 } }
 * ];
 *
 * _.map(objects, _.property('a.b'));
 * // => [2, 1]
 *
 * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
 * // => [1, 2]
 */
function property(path) {
  return (0,_isKey_js__WEBPACK_IMPORTED_MODULE_2__["default"])(path) ? (0,_baseProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_toKey_js__WEBPACK_IMPORTED_MODULE_3__["default"])(path)) : (0,_basePropertyDeep_js__WEBPACK_IMPORTED_MODULE_1__["default"])(path);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (property);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/set.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/set.js ***!
  \***************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseSet_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseSet.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js");


/**
 * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
 * it's created. Arrays are created for missing index properties while objects
 * are created for all other missing properties. Use `_.setWith` to customize
 * `path` creation.
 *
 * **Note:** This method mutates `object`.
 *
 * @static
 * @memberOf _
 * @since 3.7.0
 * @category Object
 * @param {Object} object The object to modify.
 * @param {Array|string} path The path of the property to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns `object`.
 * @example
 *
 * var object = { 'a': [{ 'b': { 'c': 3 } }] };
 *
 * _.set(object, 'a[0].b.c', 4);
 * console.log(object.a[0].b.c);
 * // => 4
 *
 * _.set(object, ['x', '0', 'y', 'z'], 5);
 * console.log(object.x[0].y.z);
 * // => 5
 */
function set(object, path, value) {
  return object == null ? object : (0,_baseSet_js__WEBPACK_IMPORTED_MODULE_0__["default"])(object, path, value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (set);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * This method returns a new empty array.
 *
 * @static
 * @memberOf _
 * @since 4.13.0
 * @category Util
 * @returns {Array} Returns the new empty array.
 * @example
 *
 * var arrays = _.times(2, _.stubArray);
 *
 * console.log(arrays);
 * // => [[], []]
 *
 * console.log(arrays[0] === arrays[1]);
 * // => false
 */
function stubArray() {
  return [];
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stubArray);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/**
 * This method returns `false`.
 *
 * @static
 * @memberOf _
 * @since 4.13.0
 * @category Util
 * @returns {boolean} Returns `false`.
 * @example
 *
 * _.times(2, _.stubFalse);
 * // => [false, false]
 */
function stubFalse() {
  return false;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stubFalse);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _toNumber_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toNumber.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js");


/** Used as references for various `Number` constants. */
var INFINITY = 1 / 0,
    MAX_INTEGER = 1.7976931348623157e+308;

/**
 * Converts `value` to a finite number.
 *
 * @static
 * @memberOf _
 * @since 4.12.0
 * @category Lang
 * @param {*} value The value to convert.
 * @returns {number} Returns the converted number.
 * @example
 *
 * _.toFinite(3.2);
 * // => 3.2
 *
 * _.toFinite(Number.MIN_VALUE);
 * // => 5e-324
 *
 * _.toFinite(Infinity);
 * // => 1.7976931348623157e+308
 *
 * _.toFinite('3.2');
 * // => 3.2
 */
function toFinite(value) {
  if (!value) {
    return value === 0 ? value : 0;
  }
  value = (0,_toNumber_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
  if (value === INFINITY || value === -INFINITY) {
    var sign = (value < 0 ? -1 : 1);
    return sign * MAX_INTEGER;
  }
  return value === value ? value : 0;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toFinite);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js"
/*!*********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js ***!
  \*********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _toFinite_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFinite.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js");


/**
 * Converts `value` to an integer.
 *
 * **Note:** This method is loosely based on
 * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to convert.
 * @returns {number} Returns the converted integer.
 * @example
 *
 * _.toInteger(3.2);
 * // => 3
 *
 * _.toInteger(Number.MIN_VALUE);
 * // => 0
 *
 * _.toInteger(Infinity);
 * // => 1.7976931348623157e+308
 *
 * _.toInteger('3.2');
 * // => 3
 */
function toInteger(value) {
  var result = (0,_toFinite_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value),
      remainder = result % 1;

  return result === result ? (remainder ? result - remainder : result) : 0;
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toInteger);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseTrim_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseTrim.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js");
/* harmony import */ var _isObject_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js");
/* harmony import */ var _isSymbol_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isSymbol.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js");




/** Used as references for various `Number` constants. */
var NAN = 0 / 0;

/** Used to detect bad signed hexadecimal string values. */
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;

/** Used to detect binary string values. */
var reIsBinary = /^0b[01]+$/i;

/** Used to detect octal string values. */
var reIsOctal = /^0o[0-7]+$/i;

/** Built-in method references without a dependency on `root`. */
var freeParseInt = parseInt;

/**
 * Converts `value` to a number.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to process.
 * @returns {number} Returns the number.
 * @example
 *
 * _.toNumber(3.2);
 * // => 3.2
 *
 * _.toNumber(Number.MIN_VALUE);
 * // => 5e-324
 *
 * _.toNumber(Infinity);
 * // => Infinity
 *
 * _.toNumber('3.2');
 * // => 3.2
 */
function toNumber(value) {
  if (typeof value == 'number') {
    return value;
  }
  if ((0,_isSymbol_js__WEBPACK_IMPORTED_MODULE_2__["default"])(value)) {
    return NAN;
  }
  if ((0,_isObject_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value)) {
    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
    value = (0,_isObject_js__WEBPACK_IMPORTED_MODULE_1__["default"])(other) ? (other + '') : other;
  }
  if (typeof value != 'string') {
    return value === 0 ? value : +value;
  }
  value = (0,_baseTrim_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
  var isBinary = reIsBinary.test(value);
  return (isBinary || reIsOctal.test(value))
    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
    : (reIsBadHex.test(value) ? NAN : +value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toNumber);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js"
/*!*************************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js ***!
  \*************************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _copyObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_copyObject.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js");
/* harmony import */ var _keysIn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./keysIn.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js");



/**
 * Converts `value` to a plain object flattening inherited enumerable string
 * keyed properties of `value` to own properties of the plain object.
 *
 * @static
 * @memberOf _
 * @since 3.0.0
 * @category Lang
 * @param {*} value The value to convert.
 * @returns {Object} Returns the converted plain object.
 * @example
 *
 * function Foo() {
 *   this.b = 2;
 * }
 *
 * Foo.prototype.c = 3;
 *
 * _.assign({ 'a': 1 }, new Foo);
 * // => { 'a': 1, 'b': 2 }
 *
 * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
 * // => { 'a': 1, 'b': 2, 'c': 3 }
 */
function toPlainObject(value) {
  return (0,_copyObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, (0,_keysIn_js__WEBPACK_IMPORTED_MODULE_1__["default"])(value));
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toPlainObject);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js"
/*!********************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js ***!
  \********************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseToString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseToString.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js");


/**
 * Converts `value` to a string. An empty string is returned for `null`
 * and `undefined` values. The sign of `-0` is preserved.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to convert.
 * @returns {string} Returns the converted string.
 * @example
 *
 * _.toString(null);
 * // => ''
 *
 * _.toString(-0);
 * // => '-0'
 *
 * _.toString([1, 2, 3]);
 * // => '1,2,3'
 */
function toString(value) {
  return value == null ? '' : (0,_baseToString_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (toString);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/uniq.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/uniq.js ***!
  \****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseUniq_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseUniq.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js");


/**
 * Creates a duplicate-free version of an array, using
 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
 * for equality comparisons, in which only the first occurrence of each element
 * is kept. The order of result values is determined by the order they occur
 * in the array.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Array
 * @param {Array} array The array to inspect.
 * @returns {Array} Returns the new duplicate free array.
 * @example
 *
 * _.uniq([2, 1, 2]);
 * // => [2, 1]
 */
function uniq(array) {
  return (array && array.length) ? (0,_baseUniq_js__WEBPACK_IMPORTED_MODULE_0__["default"])(array) : [];
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (uniq);


/***/ },

/***/ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/uniqBy.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/uniqBy.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _baseIteratee_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_baseIteratee.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js");
/* harmony import */ var _baseUniq_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_baseUniq.js */ "./node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js");



/**
 * This method is like `_.uniq` except that it accepts `iteratee` which is
 * invoked for each element in `array` to generate the criterion by which
 * uniqueness is computed. The order of result values is determined by the
 * order they occur in the array. The iteratee is invoked with one argument:
 * (value).
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Array
 * @param {Array} array The array to inspect.
 * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
 * @returns {Array} Returns the new duplicate free array.
 * @example
 *
 * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
 * // => [2.1, 1.2]
 *
 * // The `_.property` iteratee shorthand.
 * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
 * // => [{ 'x': 1 }, { 'x': 2 }]
 */
function uniqBy(array, iteratee) {
  return (array && array.length) ? (0,_baseUniq_js__WEBPACK_IMPORTED_MODULE_1__["default"])(array, (0,_baseIteratee_js__WEBPACK_IMPORTED_MODULE_0__["default"])(iteratee, 2)) : [];
}

/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (uniqBy);


/***/ },

/***/ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js"
/*!*************************************************************************!*\
  !*** ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js ***!
  \*************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   CHARSET: () => (/* binding */ CHARSET),
/* harmony export */   COMMENT: () => (/* binding */ COMMENT),
/* harmony export */   COUNTER_STYLE: () => (/* binding */ COUNTER_STYLE),
/* harmony export */   DECLARATION: () => (/* binding */ DECLARATION),
/* harmony export */   DOCUMENT: () => (/* binding */ DOCUMENT),
/* harmony export */   FONT_FACE: () => (/* binding */ FONT_FACE),
/* harmony export */   FONT_FEATURE_VALUES: () => (/* binding */ FONT_FEATURE_VALUES),
/* harmony export */   IMPORT: () => (/* binding */ IMPORT),
/* harmony export */   KEYFRAMES: () => (/* binding */ KEYFRAMES),
/* harmony export */   LAYER: () => (/* binding */ LAYER),
/* harmony export */   MEDIA: () => (/* binding */ MEDIA),
/* harmony export */   MOZ: () => (/* binding */ MOZ),
/* harmony export */   MS: () => (/* binding */ MS),
/* harmony export */   NAMESPACE: () => (/* binding */ NAMESPACE),
/* harmony export */   PAGE: () => (/* binding */ PAGE),
/* harmony export */   RULESET: () => (/* binding */ RULESET),
/* harmony export */   SUPPORTS: () => (/* binding */ SUPPORTS),
/* harmony export */   VIEWPORT: () => (/* binding */ VIEWPORT),
/* harmony export */   WEBKIT: () => (/* binding */ WEBKIT)
/* harmony export */ });
var MS = '-ms-'
var MOZ = '-moz-'
var WEBKIT = '-webkit-'

var COMMENT = 'comm'
var RULESET = 'rule'
var DECLARATION = 'decl'

var PAGE = '@page'
var MEDIA = '@media'
var IMPORT = '@import'
var CHARSET = '@charset'
var VIEWPORT = '@viewport'
var SUPPORTS = '@supports'
var DOCUMENT = '@document'
var NAMESPACE = '@namespace'
var KEYFRAMES = '@keyframes'
var FONT_FACE = '@font-face'
var COUNTER_STYLE = '@counter-style'
var FONT_FEATURE_VALUES = '@font-feature-values'
var LAYER = '@layer'


/***/ },

/***/ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   middleware: () => (/* binding */ middleware),
/* harmony export */   namespace: () => (/* binding */ namespace),
/* harmony export */   prefixer: () => (/* binding */ prefixer),
/* harmony export */   rulesheet: () => (/* binding */ rulesheet)
/* harmony export */ });
/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js");
/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js");
/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tokenizer.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js");
/* harmony import */ var _Serializer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Serializer.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js");
/* harmony import */ var _Prefixer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Prefixer.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Prefixer.js");






/**
 * @param {function[]} collection
 * @return {function}
 */
function middleware (collection) {
	var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(collection)

	return function (element, index, children, callback) {
		var output = ''

		for (var i = 0; i < length; i++)
			output += collection[i](element, index, children, callback) || ''

		return output
	}
}

/**
 * @param {function} callback
 * @return {function}
 */
function rulesheet (callback) {
	return function (element) {
		if (!element.root)
			if (element = element.return)
				callback(element)
	}
}

/**
 * @param {object} element
 * @param {number} index
 * @param {object[]} children
 * @param {function} callback
 */
function prefixer (element, index, children, callback) {
	if (element.length > -1)
		if (!element.return)
			switch (element.type) {
				case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION: element.return = (0,_Prefixer_js__WEBPACK_IMPORTED_MODULE_4__.prefix)(element.value, element.length, children)
					return
				case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.KEYFRAMES:
					return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {value: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(element.value, '@', '@' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT)})], callback)
				case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET:
					if (element.length)
						return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.combine)(element.props, function (value) {
							switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /(::plac\w+|:read-\w+)/)) {
								// :read-(only|write)
								case ':read-only': case ':read-write':
									return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(read-\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + '$1')]})], callback)
								// :placeholder
								case '::placeholder':
									return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([
										(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'input-$1')]}),
										(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + '$1')]}),
										(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /:(plac\w+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'input-$1')]})
									], callback)
							}

							return ''
						})
			}
}

/**
 * @param {object} element
 * @param {number} index
 * @param {object[]} children
 */
function namespace (element) {
	switch (element.type) {
		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET:
			element.props = element.props.map(function (value) {
				return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.combine)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.tokenize)(value), function (value, index, children) {
					switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 0)) {
						// \f
						case 12:
							return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 1, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(value))
						// \0 ( + > ~
						case 0: case 40: case 43: case 62: case 126:
							return value
						// :
						case 58:
							if (children[++index] === 'global')
								children[index] = '', children[++index] = '\f' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(children[index], index = 1, -1)
						// \s
						case 32:
							return index === 1 ? '' : value
						default:
							switch (index) {
								case 0: element = value
									return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children) > 1 ? '' : value
								case index = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children) - 1: case 2:
									return index === 2 ? value + element + element : value + element
								default:
									return value
							}
					}
				})
			})
	}
}


/***/ },

/***/ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js"
/*!***************************************************************************!*\
  !*** ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js ***!
  \***************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   comment: () => (/* binding */ comment),
/* harmony export */   compile: () => (/* binding */ compile),
/* harmony export */   declaration: () => (/* binding */ declaration),
/* harmony export */   parse: () => (/* binding */ parse),
/* harmony export */   ruleset: () => (/* binding */ ruleset)
/* harmony export */ });
/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js");
/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js");
/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Tokenizer.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js");




/**
 * @param {string} value
 * @return {object[]}
 */
function compile (value) {
	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.dealloc)(parse('', null, null, null, [''], value = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.alloc)(value), 0, [0], value))
}

/**
 * @param {string} value
 * @param {object} root
 * @param {object?} parent
 * @param {string[]} rule
 * @param {string[]} rules
 * @param {string[]} rulesets
 * @param {number[]} pseudo
 * @param {number[]} points
 * @param {string[]} declarations
 * @return {object}
 */
function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
	var index = 0
	var offset = 0
	var length = pseudo
	var atrule = 0
	var property = 0
	var previous = 0
	var variable = 1
	var scanning = 1
	var ampersand = 1
	var character = 0
	var type = ''
	var props = rules
	var children = rulesets
	var reference = rule
	var characters = type

	while (scanning)
		switch (previous = character, character = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)()) {
			// (
			case 40:
				if (previous != 108 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, length - 1) == 58) {
					if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)(character), '&', '&\f'), '&\f') != -1)
						ampersand = -1
					break
				}
			// " ' [
			case 34: case 39: case 91:
				characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)(character)
				break
			// \t \n \r \s
			case 9: case 10: case 13: case 32:
				characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.whitespace)(previous)
				break
			// \
			case 92:
				characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.escaping)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)() - 1, 7)
				continue
			// /
			case 47:
				switch ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)()) {
					case 42: case 47:
						;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(comment((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.commenter)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)(), (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)()), root, parent), declarations)
						break
					default:
						characters += '/'
				}
				break
			// {
			case 123 * variable:
				points[index++] = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) * ampersand
			// } ; \0
			case 125 * variable: case 59: case 0:
				switch (character) {
					// \0 }
					case 0: case 125: scanning = 0
					// ;
					case 59 + offset: if (ampersand == -1) characters = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, /\f/g, '')
						if (property > 0 && ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - length))
							(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, ' ', '') + ';', rule, parent, length - 2), declarations)
						break
					// @ ;
					case 59: characters += ';'
					// { rule/at-rule
					default:
						;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)

						if (character === 123)
							if (offset === 0)
								parse(characters, root, reference, reference, props, rulesets, length, points, children)
							else
								switch (atrule === 99 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, 3) === 110 ? 100 : atrule) {
									// d l m s
									case 100: case 108: case 109: case 115:
										parse(value, reference, reference, rule && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)
										break
									default:
										parse(characters, reference, reference, reference, [''], children, 0, points, children)
								}
				}

				index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo
				break
			// :
			case 58:
				length = 1 + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters), property = previous
			default:
				if (variable < 1)
					if (character == 123)
						--variable
					else if (character == 125 && variable++ == 0 && (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.prev)() == 125)
						continue

				switch (characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)(character), character * variable) {
					// &
					case 38:
						ampersand = offset > 0 ? 1 : (characters += '\f', -1)
						break
					// ,
					case 44:
						points[index++] = ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - 1) * ampersand, ampersand = 1
						break
					// @
					case 64:
						// -
						if ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)() === 45)
							characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.delimit)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.next)())

						atrule = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.peek)(), offset = length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(type = characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.identifier)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.caret)())), character++
						break
					// -
					case 45:
						if (previous === 45 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) == 2)
							variable = 0
				}
		}

	return rulesets
}

/**
 * @param {string} value
 * @param {object} root
 * @param {object?} parent
 * @param {number} index
 * @param {number} offset
 * @param {string[]} rules
 * @param {number[]} points
 * @param {string} type
 * @param {string[]} props
 * @param {string[]} children
 * @param {number} length
 * @return {object}
 */
function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {
	var post = offset - 1
	var rule = offset === 0 ? rules : ['']
	var size = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(rule)

	for (var i = 0, j = 0, k = 0; i < index; ++i)
		for (var x = 0, y = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, post + 1, post = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.abs)(j = points[i])), z = value; x < size; ++x)
			if (z = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.trim)(j > 0 ? rule[x] + ' ' + y : (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(y, /&\f/g, rule[x])))
				props[k++] = z

	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, offset === 0 ? _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET : type, props, children, length)
}

/**
 * @param {number} value
 * @param {object} root
 * @param {object?} parent
 * @return {object}
 */
function comment (value, root, parent) {
	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.char)()), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 2, -2), 0)
}

/**
 * @param {string} value
 * @param {object} root
 * @param {object?} parent
 * @param {number} length
 * @return {object}
 */
function declaration (value, root, parent, length) {
	return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_2__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 0, length), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length + 1, -1), length)
}


/***/ },

/***/ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Prefixer.js"
/*!*****************************************************************************!*\
  !*** ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Prefixer.js ***!
  \*****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   prefix: () => (/* binding */ prefix)
/* harmony export */ });
/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js");
/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js");



/**
 * @param {string} value
 * @param {number} length
 * @param {object[]} children
 * @return {string}
 */
function prefix (value, length, children) {
	switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.hash)(value, length)) {
		// color-adjust
		case 5103:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'print-' + value + value
		// 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 _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + value
		// tab-size
		case 4789:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + value + value
		// appearance, user-select, transform, hyphens, text-size-adjust
		case 5349: case 4246: case 4810: case 6968: case 2756:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + value + value
		// writing-mode
		case 5936:
			switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 11)) {
				// vertical-l(r)
				case 114:
					return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value
				// vertical-r(l)
				case 108:
					return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value
				// horizontal(-)tb
				case 45:
					return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value
				// default: fallthrough to below
			}
		// flex, flex-direction, scroll-snap-type, writing-mode
		case 6828: case 4268: case 2903:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + value + value
		// order
		case 6165:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-' + value + value
		// align-items
		case 5187:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(\w+).+(:[^]+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-$1$2' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-$1$2') + value
		// align-self
		case 5443:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-item-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /flex-|-self/g, '') + (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /flex-|baseline/) ? _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-row-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /flex-|-self/g, '') : '') + value
		// align-content
		case 4675:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-line-pack' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /align-content|flex-|-self/g, '') + value
		// flex-shrink
		case 5548:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'shrink', 'negative') + value
		// flex-basis
		case 5292:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'basis', 'preferred-size') + value
		// flex-grow
		case 6060:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-grow', '') + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'grow', 'positive') + value
		// transition
		case 4554:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /([^-])(transform)/g, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2') + value
		// cursor
		case 6187:
			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(zoom-|grab)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1'), /(image-set)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1'), value, '') + value
		// background, background-image
		case 5495: case 3959:
			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(image-set\([^]*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1' + '$`$1')
		// justify-content
		case 4968:
			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)(flex-)?(.*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + 'box-pack:$3' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + value + value
		// justify-self
		case 4200:
			if (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /flex-|baseline/)) return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-column-align' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length) + value
			break
		// grid-template-(columns|rows)
		case 2592: case 3360:
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'template-', '') + value
		// grid-(row|column)-start
		case 4384: case 3616:
			if (children && children.some(function (element, index) { return length = index, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(element.props, /grid-\w+-end/) })) {
				return ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(value + (children = children[length].value), 'span') ? value : (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-start', '') + value + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + 'grid-row-span:' + (~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(children, 'span') ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(children, /\d+/) : +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(children, /\d+/) - +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(value, /\d+/)) + ';')
			}
			return _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-start', '') + value
		// grid-(row|column)-end
		case 4896: case 4128:
			return (children && children.some(function (element) { return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.match)(element.props, /grid-\w+-start/) })) ? value : _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, '-end', '-span'), 'span ', '') + value
		// (margin|padding)-inline-(start|end)
		case 4095: case 3583: case 4068: case 2532:
			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+)-inline(.+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$1$2') + value
		// (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:
			// stretch, max-content, min-content, fill-available
			if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(value) - 1 - length > 6)
				switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 1)) {
					// (m)ax-content, (m)in-content
					case 109:
						// -
						if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 4) !== 45)
							break
					// (f)ill-available, (f)it-content
					case 102:
						return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2-$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MOZ + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value
					// (s)tretch
					case 115:
						return ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(value, 'stretch') ? prefix((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'stretch', 'fill-available'), length, children) + value : value
				}
			break
		// grid-(column|row)
		case 5152: case 5920:
			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + a + ':' + b + f) + (c ? (_Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })
		// position: sticky
		case 4949:
			// stick(y)?
			if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, length + 6) === 121)
				return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT) + value
			break
		// display: (flex|inline-flex|grid|inline-grid)
		case 6444:
			switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 14) === 45 ? 18 : 11)) {
				// (inline-)?fle(x)
				case 120:
					return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.WEBKIT + '$2$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS + '$2box$3') + value
				// (inline-)?gri(d)
				case 100:
					return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_0__.MS) + value
			}
			break
		// scroll-margin, scroll-margin-(top|right|bottom|left)
		case 5719: case 2647: case 2135: case 3927: case 2391:
			return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(value, 'scroll-', 'scroll-snap-') + value
	}

	return value
}


/***/ },

/***/ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js"
/*!*******************************************************************************!*\
  !*** ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js ***!
  \*******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   serialize: () => (/* binding */ serialize),
/* harmony export */   stringify: () => (/* binding */ stringify)
/* harmony export */ });
/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js");
/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js");



/**
 * @param {object[]} children
 * @param {function} callback
 * @return {string}
 */
function serialize (children, callback) {
	var output = ''
	var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(children)

	for (var i = 0; i < length; i++)
		output += callback(children[i], i, children, callback) || ''

	return output
}

/**
 * @param {object} element
 * @param {number} index
 * @param {object[]} children
 * @param {function} callback
 * @return {string}
 */
function stringify (element, index, children, callback) {
	switch (element.type) {
		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.LAYER: if (element.children.length) break
		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.IMPORT: case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION: return element.return = element.return || element.value
		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT: return ''
		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
		case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET: element.value = element.props.join(',')
	}

	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
}


/***/ },

/***/ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js"
/*!******************************************************************************!*\
  !*** ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js ***!
  \******************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   alloc: () => (/* binding */ alloc),
/* harmony export */   caret: () => (/* binding */ caret),
/* harmony export */   char: () => (/* binding */ char),
/* harmony export */   character: () => (/* binding */ character),
/* harmony export */   characters: () => (/* binding */ characters),
/* harmony export */   column: () => (/* binding */ column),
/* harmony export */   commenter: () => (/* binding */ commenter),
/* harmony export */   copy: () => (/* binding */ copy),
/* harmony export */   dealloc: () => (/* binding */ dealloc),
/* harmony export */   delimit: () => (/* binding */ delimit),
/* harmony export */   delimiter: () => (/* binding */ delimiter),
/* harmony export */   escaping: () => (/* binding */ escaping),
/* harmony export */   identifier: () => (/* binding */ identifier),
/* harmony export */   length: () => (/* binding */ length),
/* harmony export */   line: () => (/* binding */ line),
/* harmony export */   next: () => (/* binding */ next),
/* harmony export */   node: () => (/* binding */ node),
/* harmony export */   peek: () => (/* binding */ peek),
/* harmony export */   position: () => (/* binding */ position),
/* harmony export */   prev: () => (/* binding */ prev),
/* harmony export */   slice: () => (/* binding */ slice),
/* harmony export */   token: () => (/* binding */ token),
/* harmony export */   tokenize: () => (/* binding */ tokenize),
/* harmony export */   tokenizer: () => (/* binding */ tokenizer),
/* harmony export */   whitespace: () => (/* binding */ whitespace)
/* harmony export */ });
/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js");


var line = 1
var column = 1
var length = 0
var position = 0
var character = 0
var characters = ''

/**
 * @param {string} value
 * @param {object | null} root
 * @param {object | null} parent
 * @param {string} type
 * @param {string[] | string} props
 * @param {object[] | string} children
 * @param {number} length
 */
function node (value, root, parent, type, props, children, length) {
	return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}
}

/**
 * @param {object} root
 * @param {object} props
 * @return {object}
 */
function copy (root, props) {
	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.assign)(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)
}

/**
 * @return {number}
 */
function char () {
	return character
}

/**
 * @return {number}
 */
function prev () {
	character = position > 0 ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, --position) : 0

	if (column--, character === 10)
		column = 1, line--

	return character
}

/**
 * @return {number}
 */
function next () {
	character = position < length ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position++) : 0

	if (column++, character === 10)
		column = 1, line++

	return character
}

/**
 * @return {number}
 */
function peek () {
	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position)
}

/**
 * @return {number}
 */
function caret () {
	return position
}

/**
 * @param {number} begin
 * @param {number} end
 * @return {string}
 */
function slice (begin, end) {
	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(characters, begin, end)
}

/**
 * @param {number} type
 * @return {number}
 */
function token (type) {
	switch (type) {
		// \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
}

/**
 * @param {string} value
 * @return {any[]}
 */
function alloc (value) {
	return line = column = 1, length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(characters = value), position = 0, []
}

/**
 * @param {any} value
 * @return {any}
 */
function dealloc (value) {
	return characters = '', value
}

/**
 * @param {number} type
 * @return {string}
 */
function delimit (type) {
	return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.trim)(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
}

/**
 * @param {string} value
 * @return {string[]}
 */
function tokenize (value) {
	return dealloc(tokenizer(alloc(value)))
}

/**
 * @param {number} type
 * @return {string}
 */
function whitespace (type) {
	while (character = peek())
		if (character < 33)
			next()
		else
			break

	return token(type) > 2 || token(character) > 3 ? '' : ' '
}

/**
 * @param {string[]} children
 * @return {string[]}
 */
function tokenizer (children) {
	while (next())
		switch (token(character)) {
			case 0: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(identifier(position - 1), children)
				break
			case 2: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(delimit(character), children)
				break
			default: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(character), children)
		}

	return children
}

/**
 * @param {number} index
 * @param {number} count
 * @return {string}
 */
function escaping (index, count) {
	while (--count && next())
		// not 0-9 A-F a-f
		if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))
			break

	return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))
}

/**
 * @param {number} type
 * @return {number}
 */
function delimiter (type) {
	while (next())
		switch (character) {
			// ] ) " '
			case type:
				return position
			// " '
			case 34: case 39:
				if (type !== 34 && type !== 39)
					delimiter(character)
				break
			// (
			case 40:
				if (type === 41)
					delimiter(type)
				break
			// \
			case 92:
				next()
				break
		}

	return position
}

/**
 * @param {number} type
 * @param {number} index
 * @return {number}
 */
function commenter (type, index) {
	while (next())
		// //
		if (type + character === 47 + 10)
			break
		// /*
		else if (type + character === 42 + 42 && peek() === 47)
			break

	return '/*' + slice(index, position - 1) + '*' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(type === 47 ? type : next())
}

/**
 * @param {number} index
 * @return {string}
 */
function identifier (index) {
	while (!token(peek()))
		next()

	return slice(index, position)
}


/***/ },

/***/ "./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js"
/*!****************************************************************************!*\
  !*** ./node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js ***!
  \****************************************************************************/
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   abs: () => (/* binding */ abs),
/* harmony export */   append: () => (/* binding */ append),
/* harmony export */   assign: () => (/* binding */ assign),
/* harmony export */   charat: () => (/* binding */ charat),
/* harmony export */   combine: () => (/* binding */ combine),
/* harmony export */   from: () => (/* binding */ from),
/* harmony export */   hash: () => (/* binding */ hash),
/* harmony export */   indexof: () => (/* binding */ indexof),
/* harmony export */   match: () => (/* binding */ match),
/* harmony export */   replace: () => (/* binding */ replace),
/* harmony export */   sizeof: () => (/* binding */ sizeof),
/* harmony export */   strlen: () => (/* binding */ strlen),
/* harmony export */   substr: () => (/* binding */ substr),
/* harmony export */   trim: () => (/* binding */ trim)
/* harmony export */ });
/**
 * @param {number}
 * @return {number}
 */
var abs = Math.abs

/**
 * @param {number}
 * @return {string}
 */
var from = String.fromCharCode

/**
 * @param {object}
 * @return {object}
 */
var assign = Object.assign

/**
 * @param {string} value
 * @param {number} length
 * @return {number}
 */
function hash (value, length) {
	return charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0
}

/**
 * @param {string} value
 * @return {string}
 */
function trim (value) {
	return value.trim()
}

/**
 * @param {string} value
 * @param {RegExp} pattern
 * @return {string?}
 */
function match (value, pattern) {
	return (value = pattern.exec(value)) ? value[0] : value
}

/**
 * @param {string} value
 * @param {(string|RegExp)} pattern
 * @param {string} replacement
 * @return {string}
 */
function replace (value, pattern, replacement) {
	return value.replace(pattern, replacement)
}

/**
 * @param {string} value
 * @param {string} search
 * @return {number}
 */
function indexof (value, search) {
	return value.indexOf(search)
}

/**
 * @param {string} value
 * @param {number} index
 * @return {number}
 */
function charat (value, index) {
	return value.charCodeAt(index) | 0
}

/**
 * @param {string} value
 * @param {number} begin
 * @param {number} end
 * @return {string}
 */
function substr (value, begin, end) {
	return value.slice(begin, end)
}

/**
 * @param {string} value
 * @return {number}
 */
function strlen (value) {
	return value.length
}

/**
 * @param {any[]} value
 * @return {number}
 */
function sizeof (value) {
	return value.length
}

/**
 * @param {any} value
 * @param {any[]} array
 * @return {any}
 */
function append (value, array) {
	return array.push(value), value
}

/**
 * @param {string[]} array
 * @param {function} callback
 * @return {string}
 */
function combine (array, callback) {
	return array.map(callback).join('')
}


/***/ },

/***/ "./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/resources/nls.json"
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/.pnpm/@entryscape+rdforms@10.17.0_@entryscape+rdfjson@2.7.8_@mui+system@7.3.11_@emotion+react_dcd6afd63a3e31a25da2c59c285c1393/node_modules/@entryscape/rdforms/src/view/resources/nls.json ***!
  \******************************************************************************************************************************************************************************************************************/
(module) {

"use strict";
module.exports = /*#__PURE__*/JSON.parse('{"edit_add":"Add","edit_remove":"Remove","edit_clear":"Clear","edit_browse":"Browse and select","edit_browse_create":"Browse and select or create","edit_expand":"Expand","edit_upgrade":"Provide additional information for this web address","info_label":"Label","info_property":"Property","info_description":"Description","info_missing":"No information","address_label":"Address","validation_min_required_one":"at least one value is required","validation_min_required_more":"a minimum of $1 values is required","validation_min_recommended_one":"at least one value is recommended","validation_min_recommended_more":"a minimum of $1 values is recommended","validation_max_one":"at most one value is allowed","validation_max_more":"a maximum of $1 values are allowed","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_deprecated":"This field is deprecated","validation_nodetype":"Wrong nodetype","validation_value":"Wrong value","validation_datatype":"Wrong datatype","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_time":"Time","date_year":"Year","date_date_and_time":"Date and time","date_year_and_month":"Year and month","date_month_and_day":"Month and day","date_openDatePicker":"Open date picker dialog","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","openLinkExternally":"Open link externally","showMore":"Show more","showLess":"Show less"}');

/***/ }

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			id: moduleId,
/******/ 			loaded: false,
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		if (!(moduleId in __webpack_modules__)) {
/******/ 			delete __webpack_module_cache__[moduleId];
/******/ 			var e = new Error("Cannot find module '" + moduleId + "'");
/******/ 			e.code = 'MODULE_NOT_FOUND';
/******/ 			throw e;
/******/ 		}
/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = __webpack_modules__;
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/amd define */
/******/ 	(() => {
/******/ 		__webpack_require__.amdD = function () {
/******/ 			throw new Error('define cannot be used indirect');
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/amd options */
/******/ 	(() => {
/******/ 		__webpack_require__.amdO = {};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	(() => {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = (module) => {
/******/ 			var getter = module && module.__esModule ?
/******/ 				() => (module['default']) :
/******/ 				() => (module);
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/create fake namespace object */
/******/ 	(() => {
/******/ 		var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
/******/ 		var leafPrototypes;
/******/ 		// create a fake namespace object
/******/ 		// mode & 1: value is a module id, require it
/******/ 		// mode & 2: merge all properties of value into the ns
/******/ 		// mode & 4: return value when already ns object
/******/ 		// mode & 16: return value when it's Promise-like
/******/ 		// mode & 8|1: behave like require
/******/ 		__webpack_require__.t = function(value, mode) {
/******/ 			if(mode & 1) value = this(value);
/******/ 			if(mode & 8) return value;
/******/ 			if(typeof value === 'object' && value) {
/******/ 				if((mode & 4) && value.__esModule) return value;
/******/ 				if((mode & 16) && typeof value.then === 'function') return value;
/******/ 			}
/******/ 			var ns = Object.create(null);
/******/ 			__webpack_require__.r(ns);
/******/ 			var def = {};
/******/ 			leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
/******/ 			for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
/******/ 				Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
/******/ 			}
/******/ 			def['default'] = () => (value);
/******/ 			__webpack_require__.d(ns, def);
/******/ 			return ns;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/ensure chunk */
/******/ 	(() => {
/******/ 		__webpack_require__.f = {};
/******/ 		// This file contains only the entry chunk.
/******/ 		// The chunk loading function for additional chunks
/******/ 		__webpack_require__.e = (chunkId) => {
/******/ 			return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
/******/ 				__webpack_require__.f[key](chunkId, promises);
/******/ 				return promises;
/******/ 			}, []));
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/get javascript chunk filename */
/******/ 	(() => {
/******/ 		// This function allow to reference async chunks
/******/ 		__webpack_require__.u = (chunkId) => {
/******/ 			// return url for filenames based on template
/******/ 			return "" + chunkId + "." + {"faro":"7318aaa0db34a4282fdb","vendors-node_modules_pnpm_proj4_2_20_9_geotiff_2_1_3_node_modules_proj4_lib_index_js-node_mod-909cba":"8d3f909800b6372d89d3","openlayers":"8e809d711f8a9b4acb03","vendors-node_modules_pnpm_chart_js_4_5_1_node_modules_chart_js_dist_chart_js":"a5f3cf7ea2da173224bb","chart-js":"10672b45154f017dd17f","chartjs-adapter-moment":"4958d3242a4933508b1c","mui-lab":"9343dc1412b767fefebb","n3":"852c5d89ecd31341d7ac","jsonld":"3fa9019394734838c90c"}[chunkId] + ".js";
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/global */
/******/ 	(() => {
/******/ 		__webpack_require__.g = (function() {
/******/ 			if (typeof globalThis === 'object') return globalThis;
/******/ 			try {
/******/ 				return this || new Function('return this')();
/******/ 			} catch (e) {
/******/ 				if (typeof window === 'object') return window;
/******/ 			}
/******/ 		})();
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/load script */
/******/ 	(() => {
/******/ 		var inProgress = {};
/******/ 		var dataWebpackPrefix = "EntryScapeRegistry:";
/******/ 		// loadScript function to load a script via script tag
/******/ 		__webpack_require__.l = (url, done, key, chunkId) => {
/******/ 			if(inProgress[url]) { inProgress[url].push(done); return; }
/******/ 			var script, needAttach;
/******/ 			if(key !== undefined) {
/******/ 				var scripts = document.getElementsByTagName("script");
/******/ 				for(var i = 0; i < scripts.length; i++) {
/******/ 					var s = scripts[i];
/******/ 					if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
/******/ 				}
/******/ 			}
/******/ 			if(!script) {
/******/ 				needAttach = true;
/******/ 				script = document.createElement('script');
/******/ 		
/******/ 				script.charset = 'utf-8';
/******/ 				if (__webpack_require__.nc) {
/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
/******/ 				}
/******/ 				script.setAttribute("data-webpack", dataWebpackPrefix + key);
/******/ 		
/******/ 				script.src = url;
/******/ 			}
/******/ 			inProgress[url] = [done];
/******/ 			var onScriptComplete = (prev, event) => {
/******/ 				// avoid mem leaks in IE.
/******/ 				script.onerror = script.onload = null;
/******/ 				clearTimeout(timeout);
/******/ 				var doneFns = inProgress[url];
/******/ 				delete inProgress[url];
/******/ 				script.parentNode && script.parentNode.removeChild(script);
/******/ 				doneFns && doneFns.forEach((fn) => (fn(event)));
/******/ 				if(prev) return prev(event);
/******/ 			}
/******/ 			var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
/******/ 			script.onerror = onScriptComplete.bind(null, script.onerror);
/******/ 			script.onload = onScriptComplete.bind(null, script.onload);
/******/ 			needAttach && document.head.appendChild(script);
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/node module decorator */
/******/ 	(() => {
/******/ 		__webpack_require__.nmd = (module) => {
/******/ 			module.paths = [];
/******/ 			if (!module.children) module.children = [];
/******/ 			return module;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/publicPath */
/******/ 	(() => {
/******/ 		var scriptUrl;
/******/ 		if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
/******/ 		var document = __webpack_require__.g.document;
/******/ 		if (!scriptUrl && document) {
/******/ 			if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
/******/ 				scriptUrl = document.currentScript.src;
/******/ 			if (!scriptUrl) {
/******/ 				var scripts = document.getElementsByTagName("script");
/******/ 				if(scripts.length) {
/******/ 					var i = scripts.length - 1;
/******/ 					while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;
/******/ 				}
/******/ 			}
/******/ 		}
/******/ 		// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
/******/ 		// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
/******/ 		if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
/******/ 		scriptUrl = scriptUrl.replace(/^blob:/, "").replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
/******/ 		__webpack_require__.p = scriptUrl;
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/jsonp chunk loading */
/******/ 	(() => {
/******/ 		__webpack_require__.b = (typeof document !== 'undefined' && document.baseURI) || self.location.href;
/******/ 		
/******/ 		// object to store loaded and loading chunks
/******/ 		// undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ 		// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
/******/ 		var installedChunks = {
/******/ 			"app.debug": 0
/******/ 		};
/******/ 		
/******/ 		__webpack_require__.f.j = (chunkId, promises) => {
/******/ 				// JSONP chunk loading for javascript
/******/ 				var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ 				if(installedChunkData !== 0) { // 0 means "already installed".
/******/ 		
/******/ 					// a Promise means "currently loading".
/******/ 					if(installedChunkData) {
/******/ 						promises.push(installedChunkData[2]);
/******/ 					} else {
/******/ 						if(true) { // all chunks have JS
/******/ 							// setup Promise in chunk cache
/******/ 							var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
/******/ 							promises.push(installedChunkData[2] = promise);
/******/ 		
/******/ 							// start chunk loading
/******/ 							var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ 							// create error before stack unwound to get useful stacktrace later
/******/ 							var error = new Error();
/******/ 							var loadingEnded = (event) => {
/******/ 								if(__webpack_require__.o(installedChunks, chunkId)) {
/******/ 									installedChunkData = installedChunks[chunkId];
/******/ 									if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
/******/ 									if(installedChunkData) {
/******/ 										var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ 										var realSrc = event && event.target && event.target.src;
/******/ 										error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ 										error.name = 'ChunkLoadError';
/******/ 										error.type = errorType;
/******/ 										error.request = realSrc;
/******/ 										installedChunkData[1](error);
/******/ 									}
/******/ 								}
/******/ 							};
/******/ 							__webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
/******/ 						}
/******/ 					}
/******/ 				}
/******/ 		};
/******/ 		
/******/ 		// no prefetching
/******/ 		
/******/ 		// no preloaded
/******/ 		
/******/ 		// no HMR
/******/ 		
/******/ 		// no HMR manifest
/******/ 		
/******/ 		// no on chunks loaded
/******/ 		
/******/ 		// install a JSONP callback for chunk loading
/******/ 		var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
/******/ 			var [chunkIds, moreModules, runtime] = data;
/******/ 			// add "moreModules" to the modules object,
/******/ 			// then flag all "chunkIds" as loaded and fire callback
/******/ 			var moduleId, chunkId, i = 0;
/******/ 			if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
/******/ 				for(moduleId in moreModules) {
/******/ 					if(__webpack_require__.o(moreModules, moduleId)) {
/******/ 						__webpack_require__.m[moduleId] = moreModules[moduleId];
/******/ 					}
/******/ 				}
/******/ 				if(runtime) var result = runtime(__webpack_require__);
/******/ 			}
/******/ 			if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
/******/ 			for(;i < chunkIds.length; i++) {
/******/ 				chunkId = chunkIds[i];
/******/ 				if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ 					installedChunks[chunkId][0]();
/******/ 				}
/******/ 				installedChunks[chunkId] = 0;
/******/ 			}
/******/ 		
/******/ 		}
/******/ 		
/******/ 		var chunkLoadingGlobal = self["webpackChunkEntryScapeRegistry"] = self["webpackChunkEntryScapeRegistry"] || [];
/******/ 		chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
/******/ 		chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/nonce */
/******/ 	(() => {
/******/ 		__webpack_require__.nc = undefined;
/******/ 	})();
/******/ 	
/************************************************************************/
var __webpack_exports__ = {};
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
(() => {
"use strict";
var __webpack_exports__ = {};
/*!********************************************!*\
  !*** ./modules/commons/util/onLoadProd.js ***!
  \********************************************/
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _browserSupportBanner__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./browserSupportBanner */ "./modules/commons/util/browserSupportBanner.js");

window.addEventListener('DOMContentLoaded', _browserSupportBanner__WEBPACK_IMPORTED_MODULE_0__["default"]);
})();

// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
(() => {
"use strict";
/*!*******************************!*\
  !*** ./app/registry/index.js ***!
  \*******************************/
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime/runtime */ "./node_modules/.pnpm/regenerator-runtime@0.13.11/node_modules/regenerator-runtime/runtime.js");
/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var commons_webpack_publicPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! commons/webpack/publicPath */ "./modules/commons/webpack/publicPath.js");
/* harmony import */ var commons_registry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! commons/registry */ "./modules/commons/registry.js");
/* harmony import */ var _defaults__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaults */ "./app/registry/defaults.js");
/* eslint-disable */





(0,_defaults__WEBPACK_IMPORTED_MODULE_3__["default"])(); // init defaults
commons_registry__WEBPACK_IMPORTED_MODULE_2__["default"].setApp('registry');
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (commons_registry__WEBPACK_IMPORTED_MODULE_2__["default"]);
})();

EntryScapeRegistry = __webpack_exports__;
/******/ })()
;
//# sourceMappingURL=data:application/json;charset=utf-8;base64, 